{"version":3,"sources":["kendo.aspnetmvc.js"],"names":["f","define","$","undefined","parameterMap","options","operation","serializationOptions","serializer","result","sort","this","prefix","map","field","dir","join","page","pageSize","group","aggregate","filter","serializeFilter","encode","groupPaging","take","skip","Serializer","serialize","filters","hasChildren","length","logic","operator","encodeFilterValue","value","indexOf","replace","escapeQuoteRegExp","encodeURIComponent","Date","parseInt","getTime","kendo","format","valueOrDefault","defaultValue","translateGroup","hasSubgroups","HasSubgroups","items","Items","itemCount","ItemCount","subgroupCount","SubgroupCount","Key","key","Member","member","aggregates","translateAggregate","Aggregates","uid","guid","translateAggregateResults","obj","AggregateMethodName","toLowerCase","Value","functionName","functionResult","convertAggregates","idx","extend","window","isArray","Array","isPlainObject","POINT","culture","stringifyDates","decimalSeparator","numberFormat","prototype","fn","data","valuePrefix","serializeField","serializeArray","serializeValue","sourceIndex","destinationIndex","stringify","toString","name","schemas","aspnetmvc-ajax","groups","_dataAccessFunction","d","AggregateResults","transports","RemoteTransport","init","that","call","read","url","Data","success","type","update","create","destroy","webapi","updateUrl","destroyUrl","cultures","idField","aspnetmvc-server","query","params","regExp","RegExp","location","search","test","setup","match","substr","href","jQuery","amd","a1","a2","a3","ui","ComboBox","requestData","selector","combobox","dataSource","input","val","text","MultiColumnComboBox","multicolumncombobox","DropDownList","filterInput","dropdownlist","DropDownTree","dropdowntree","MultiSelect","multiselect","placeholder","isFunction","imagebrowser-aspnetmvc","model","id","fields","size","parse","filebrowser-aspnetmvc","_call","path","EntryType","generateMessages","messages","validationRules","createMessage","generateRules","rules","createRule","extractParams","ruleName","index","rule","start","substring","rulesFromData","metadata","Fields","rulesForField","validationType","validationParams","fieldName","FieldName","fieldRules","ValidationRules","ValidationType","ValidationParameters","createMetaRule","createMetaMessage","ErrorMessage","attr","message","patternMatcher","pattern","nameSpecialCharRegExp","SWITCHSELECTOR","required","hiddenSelector","checkboxGroupMembers","hidden","checkbox","radio","closest","find","next","prop","is","number","parseFloat","regex","range","min","max","date","parseDate","len","trim","server","validator","messageLocators","mvcLocator","locate","element","decorate","addClass","mvcMetadataLocator","ruleResolvers","mvcMetaDataResolver","resolve","mvcClientValidationMetadata","FormId","validateOnInit","allowSubmit","errors","filemanager","editable","extension","isDirectory","hasDirectories","created","createdUtc","modified","modifiedUtc","syncReady","cb","__documentIsReady"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,kCACH,aACA,iBACA,oBACA,mBACDD,IACL,YACG,SAAUE,EAAGC,GAEV,QAASC,GAAaC,EAASC,EAAWC,GAA1C,GA2CQC,GA1CAC,IA4CJ,OA3CIJ,GAAQK,MACRD,EAAOE,KAAKN,QAAQO,OAAS,QAAUV,EAAEW,IAAIR,EAAQK,KAAM,SAAUA,GACjE,MAAOA,GAAKI,MAAQ,IAAMJ,EAAKK,MAChCC,KAAK,WACDX,GAAQK,MAEfD,EAAOE,KAAKN,QAAQO,OAAS,QAAU,GAEvCP,EAAQY,OACRR,EAAOE,KAAKN,QAAQO,OAAS,QAAUP,EAAQY,WACxCZ,GAAQY,MAEfZ,EAAQa,WACRT,EAAOE,KAAKN,QAAQO,OAAS,YAAcP,EAAQa,eAC5Cb,GAAQa,UAEfb,EAAQc,OACRV,EAAOE,KAAKN,QAAQO,OAAS,SAAWV,EAAEW,IAAIR,EAAQc,MAAO,SAAUA,GACnE,MAAOA,GAAML,MAAQ,IAAMK,EAAMJ,MAClCC,KAAK,WACDX,GAAQc,OAEfV,EAAOE,KAAKN,QAAQO,OAAS,SAAW,GAExCP,EAAQe,YACRX,EAAOE,KAAKN,QAAQO,OAAS,aAAeV,EAAEW,IAAIR,EAAQe,UAAW,SAAUA,GAC3E,MAAOA,GAAUN,MAAQ,IAAMM,EAAUA,YAC1CJ,KAAK,WACDX,GAAQe,WAEff,EAAQgB,QACRZ,EAAOE,KAAKN,QAAQO,OAAS,UAAYU,EAAgBjB,EAAQgB,OAAQd,EAAqBgB,cACvFlB,GAAQgB,SAEfZ,EAAOE,KA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AAS6M,UAAWA,KAC7B7K,OAAOhC,MAAMyF,SACC,kBAAVnI,SAAwBA,OAAOoI,IAAMpI,OAAS,SAAUqI,EAAIC,EAAIC,IACrEA,GAAMD","file":"kendo.aspnetmvc.min.js","sourcesContent":["/*!\n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n                                                                                                                                                                                                       \n\n*/\n(function (f, define) {\n    define('aspnetmvc/kendo.data.aspnetmvc', [\n        'kendo.data',\n        'kendo.combobox',\n        'kendo.multiselect',\n        'kendo.validator'\n    ], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, escapeQuoteRegExp = /'/gi, extend = $.extend, isArray = Array.isArray, isPlainObject = $.isPlainObject, POINT = '.';\n        function parameterMap(options, operation, serializationOptions) {\n            var result = {};\n            if (options.sort) {\n                result[this.options.prefix + 'sort'] = $.map(options.sort, function (sort) {\n                    return sort.field + '-' + sort.dir;\n                }).join('~');\n                delete options.sort;\n            } else {\n                result[this.options.prefix + 'sort'] = '';\n            }\n            if (options.page) {\n                result[this.options.prefix + 'page'] = options.page;\n                delete options.page;\n            }\n            if (options.pageSize) {\n                result[this.options.prefix + 'pageSize'] = options.pageSize;\n                delete options.pageSize;\n            }\n            if (options.group) {\n                result[this.options.prefix + 'group'] = $.map(options.group, function (group) {\n                    return group.field + '-' + group.dir;\n                }).join('~');\n                delete options.group;\n            } else {\n                result[this.options.prefix + 'group'] = '';\n            }\n            if (options.aggregate) {\n                result[this.options.prefix + 'aggregate'] = $.map(options.aggregate, function (aggregate) {\n                    return aggregate.field + '-' + aggregate.aggregate;\n                }).join('~');\n                delete options.aggregate;\n            }\n            if (options.filter) {\n                result[this.options.prefix + 'filter'] = serializeFilter(options.filter, serializationOptions.encode);\n                delete options.filter;\n            } else {\n                result[this.options.prefix + 'filter'] = '';\n                delete options.filter;\n            }\n            if (!options.groupPaging) {\n                delete options.take;\n                delete options.skip;\n            }\n            var serializer = new Serializer(serializationOptions);\n            serializer.serialize(result, options, '');\n            return result;\n        }\n        var Serializer = function (options) {\n            options = options || {};\n            this.culture = options.culture || kendo.culture();\n            this.stringifyDates = options.stringifyDates;\n            this.decimalSeparator = this.culture.numberFormat[POINT];\n        };\n        Serializer.prototype = Serializer.fn = {\n            serialize: function (result, data, prefix) {\n                var valuePrefix;\n                for (var key in data) {\n                    valuePrefix = prefix ? prefix + '.' + key : key;\n                    this.serializeField(result, data[key], data, key, valuePrefix);\n                }\n            },\n            serializeField: function (result, value, data, key, prefix) {\n                if (isArray(value)) {\n                    this.serializeArray(result, value, prefix);\n                } else if (isPlainObject(value)) {\n                    this.serialize(result, value, prefix);\n                } else {\n                    if (result[prefix] === undefined) {\n                        result[prefix] = data[key] = this.serializeValue(value);\n                    }\n                }\n            },\n            serializeArray: function (result, data, prefix) {\n                var value, key, valuePrefix;\n                for (var sourceIndex = 0, destinationIndex = 0; sourceIndex < data.length; sourceIndex++) {\n                    value = data[sourceIndex];\n                    key = '[' + destinationIndex + ']';\n                    valuePrefix = prefix + key;\n                    this.serializeField(result, value, data, key, valuePrefix);\n                    destinationIndex++;\n                }\n            },\n            serializeValue: function (value) {\n                if (value instanceof Date) {\n                    if (this.stringifyDates) {\n                        value = kendo.stringify(value).replace(/\"/g, '');\n                    } else {\n                        value = kendo.toString(value, 'G', this.culture.name);\n                    }\n                } else if (typeof value === 'number') {\n                    value = value.toString().replace(POINT, this.decimalSeparator);\n                }\n                return value;\n            }\n        };\n        function serializeFilter(filter, encode) {\n            if (filter.filters) {\n                return $.map(filter.filters, function (f) {\n                    var hasChildren = f.filters && f.filters.length > 1, result = serializeFilter(f, encode);\n                    if (result && hasChildren) {\n                        result = '(' + result + ')';\n                    }\n                    return result;\n                }).join('~' + filter.logic + '~');\n            }\n            if (filter.field) {\n                return filter.field + '~' + filter.operator + '~' + encodeFilterValue(filter.value, encode);\n            } else {\n                return undefined;\n            }\n        }\n        function encodeFilterValue(value, encode) {\n            if (typeof value === 'string') {\n                if (value.indexOf('Date(') > -1) {\n                    value = new Date(parseInt(value.replace(/^\\/Date\\((.*?)\\)\\/$/, '$1'), 10));\n                } else {\n                    value = value.replace(escapeQuoteRegExp, '\\'\\'');\n                    if (encode) {\n                        value = encodeURIComponent(value);\n                    }\n                    return '\\'' + value + '\\'';\n                }\n            }\n            if (value && value.getTime) {\n                return 'datetime\\'' + kendo.format('{0:yyyy-MM-ddTHH-mm-ss}', value) + '\\'';\n            }\n            return value;\n        }\n        function valueOrDefault(value, defaultValue) {\n            return typeof value !== 'undefined' ? value : defaultValue;\n        }\n        function translateGroup(group) {\n            var hasSubgroups = group.HasSubgroups || group.hasSubgroups || false;\n            var items = group.Items || group.items;\n            var itemCount = group.ItemCount || group.itemCount;\n            var subgroupCount = group.SubgroupCount || group.subgroupCount;\n            return {\n                value: valueOrDefault(group.Key, valueOrDefault(group.key, group.value)),\n                field: group.Member || group.member || group.field,\n                hasSubgroups: hasSubgroups,\n                aggregates: translateAggregate(group.Aggregates || group.aggregates),\n                items: hasSubgroups ? $.map(items, translateGroup) : items,\n                itemCount: itemCount,\n                subgroupCount: subgroupCount,\n                uid: kendo.guid()\n            };\n        }\n        function translateAggregateResults(aggregate) {\n            var obj = {};\n            obj[aggregate.AggregateMethodName.toLowerCase()] = aggregate.Value;\n            return obj;\n        }\n        function translateAggregate(aggregates) {\n            var functionResult = {}, key, functionName, aggregate;\n            for (key in aggregates) {\n                functionResult = {};\n                aggregate = aggregates[key];\n                for (functionName in aggregate) {\n                    functionResult[functionName.toLowerCase()] = aggregate[functionName];\n                }\n                aggregates[key] = functionResult;\n            }\n            return aggregates;\n        }\n        function convertAggregates(aggregates) {\n            var idx, length, aggregate;\n            var result = {};\n            for (idx = 0, length = aggregates.length; idx < length; idx++) {\n                aggregate = aggregates[idx];\n                result[aggregate.Member] = extend(true, result[aggregate.Member], translateAggregateResults(aggregate));\n            }\n            return result;\n        }\n        extend(true, kendo.data, {\n            schemas: {\n                'aspnetmvc-ajax': {\n                    groups: function (data) {\n                        return $.map(this._dataAccessFunction(data), translateGroup);\n                    },\n                    aggregates: function (data) {\n                        data = data.d || data;\n                        var aggregates = data.AggregateResults || [];\n                        if (!Array.isArray(aggregates)) {\n                            for (var key in aggregates) {\n                                aggregates[key] = convertAggregates(aggregates[key]);\n                            }\n                            return aggregates;\n                        }\n                        return convertAggregates(aggregates);\n                    }\n                }\n            }\n        });\n        extend(true, kendo.data, {\n            transports: {\n                'aspnetmvc-ajax': kendo.data.RemoteTransport.extend({\n                    init: function (options) {\n                        var that = this, stringifyDates = (options || {}).stringifyDates;\n                        kendo.data.RemoteTransport.fn.init.call(this, extend(true, {}, this.options, options, {\n                            parameterMap: function (options, operation) {\n                                return parameterMap.call(that, options, operation, {\n                                    encode: false,\n                                    stringifyDates: stringifyDates\n                                });\n                            }\n                        }));\n                    },\n                    read: function (options) {\n                        var data = this.options.data, url = this.options.read.url;\n                        if (isPlainObject(data)) {\n                            if (url) {\n                                this.options.data = null;\n                            }\n                            if (!data.Data.length && url) {\n                                kendo.data.RemoteTransport.fn.read.call(this, options);\n                            } else {\n                                options.success(data);\n                            }\n                        } else {\n                            kendo.data.RemoteTransport.fn.read.call(this, options);\n                        }\n                    },\n                    options: {\n                        read: { type: 'POST' },\n                        update: { type: 'POST' },\n                        create: { type: 'POST' },\n                        destroy: { type: 'POST' },\n                        parameterMap: parameterMap,\n                        prefix: ''\n                    }\n                })\n            }\n        });\n        extend(true, kendo.data, { schemas: { 'webapi': kendo.data.schemas['aspnetmvc-ajax'] } });\n        extend(true, kendo.data, {\n            transports: {\n                'webapi': kendo.data.RemoteTransport.extend({\n                    init: function (options) {\n                        var that = this;\n                        var stringifyDates = (options || {}).stringifyDates;\n                        var culture = kendo.cultures[options.culture] || kendo.cultures['en-US'];\n                        if (options.update) {\n                            var updateUrl = typeof options.update === 'string' ? options.update : options.update.url;\n                            options.update = extend(options.update, {\n                                url: function (data) {\n                                    return kendo.format(updateUrl, data[options.idField]);\n                                }\n                            });\n                        }\n                        if (options.destroy) {\n                            var destroyUrl = typeof options.destroy === 'string' ? options.destroy : options.destroy.url;\n                            options.destroy = extend(options.destroy, {\n                                url: function (data) {\n                                    return kendo.format(destroyUrl, data[options.idField]);\n                                }\n                            });\n                        }\n                        if (options.create && typeof options.create === 'string') {\n                            options.create = { url: options.create };\n                        }\n                        kendo.data.RemoteTransport.fn.init.call(this, extend(true, {}, this.options, options, {\n                            parameterMap: function (options, operation) {\n                                return parameterMap.call(that, options, operation, {\n                                    encode: false,\n                                    stringifyDates: stringifyDates,\n                                    culture: culture\n                                });\n                            }\n                        }));\n                    },\n                    read: function (options) {\n                        var data = this.options.data, url = this.options.read.url;\n                        if (isPlainObject(data)) {\n                            if (url) {\n                                this.options.data = null;\n                            }\n                            if (!data.Data.length && url) {\n                                kendo.data.RemoteTransport.fn.read.call(this, options);\n                            } else {\n                                options.success(data);\n                            }\n                        } else {\n                            kendo.data.RemoteTransport.fn.read.call(this, options);\n                        }\n                    },\n                    options: {\n                        read: { type: 'GET' },\n                        update: { type: 'PUT' },\n                        create: { type: 'POST' },\n                        destroy: { type: 'DELETE' },\n                        parameterMap: parameterMap,\n                        prefix: ''\n                    }\n                })\n            }\n        });\n        extend(true, kendo.data, {\n            transports: {\n                'aspnetmvc-server': kendo.data.RemoteTransport.extend({\n                    init: function (options) {\n                        var that = this;\n                        kendo.data.RemoteTransport.fn.init.call(this, extend(options, {\n                            parameterMap: function (options, operation) {\n                                return parameterMap.call(that, options, operation, { encode: true });\n                            }\n                        }));\n                    },\n                    read: function (options) {\n                        var url, prefix = this.options.prefix, params = [\n                                prefix + 'sort',\n                                prefix + 'page',\n                                prefix + 'pageSize',\n                                prefix + 'group',\n                                prefix + 'aggregate',\n                                prefix + 'filter'\n                            ], regExp = new RegExp('(' + params.join('|') + ')=[^&]*&?', 'g'), query;\n                        query = location.search.replace(regExp, '').replace('?', '');\n                        if (query.length && !/&$/.test(query)) {\n                            query += '&';\n                        }\n                        options = this.setup(options, 'read');\n                        url = options.url;\n                        if (url.indexOf('?') >= 0) {\n                            query = query.replace(/(.*?=.*?)&/g, function (match) {\n                                if (url.indexOf(match.substr(0, match.indexOf('='))) >= 0) {\n                                    return '';\n                                }\n                                return match;\n                            });\n                            url += '&' + query;\n                        } else {\n                            url += '?' + query;\n                        }\n                        url += $.map(options.data, function (value, key) {\n                            return key + '=' + value;\n                        }).join('&');\n                        location.href = url;\n                    }\n                })\n            }\n        });\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.combobox.aspnetmvc', ['aspnetmvc/kendo.data.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, ui = kendo.ui;\n        if (ui && ui.ComboBox) {\n            ui.ComboBox.requestData = function (selector) {\n                var combobox = $(selector).data('kendoComboBox');\n                if (!combobox) {\n                    return;\n                }\n                var filter = combobox.dataSource.filter();\n                var value = combobox.input.val();\n                if (!filter || !filter.filters.length) {\n                    value = '';\n                }\n                return { text: value };\n            };\n        }\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.multicolumncombobox.aspnetmvc', ['aspnetmvc/kendo.data.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, ui = kendo.ui;\n        if (ui && ui.MultiColumnComboBox) {\n            ui.MultiColumnComboBox.requestData = function (selector) {\n                var multicolumncombobox = $(selector).data('kendoMultiColumnComboBox');\n                if (!multicolumncombobox) {\n                    return;\n                }\n                var filter = multicolumncombobox.dataSource.filter();\n                var value = multicolumncombobox.input.val();\n                if (!filter || !filter.filters.length) {\n                    value = '';\n                }\n                return { text: value };\n            };\n        }\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.dropdownlist.aspnetmvc', ['aspnetmvc/kendo.data.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, ui = kendo.ui;\n        if (ui && ui.DropDownList) {\n            ui.DropDownList.requestData = function (selector) {\n                var dropdownlist = $(selector).data('kendoDropDownList');\n                if (!dropdownlist) {\n                    return;\n                }\n                var filter = dropdownlist.dataSource.filter();\n                var filterInput = dropdownlist.filterInput;\n                var value = filterInput ? filterInput.val() : '';\n                if (!filter || !filter.filters.length) {\n                    value = '';\n                }\n                return { text: value };\n            };\n        }\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.dropdowntree.aspnetmvc', ['aspnetmvc/kendo.data.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, ui = kendo.ui;\n        if (ui && ui.DropDownTree) {\n            ui.DropDownTree.requestData = function (selector) {\n                var dropdowntree = $(selector).data('kendoDropDownTree');\n                if (!dropdowntree) {\n                    return;\n                }\n                var filter = dropdowntree.dataSource.filter();\n                var filterInput = dropdowntree.filterInput;\n                var value = filterInput ? filterInput.val() : '';\n                if (!filter || !filter.filters.length) {\n                    value = '';\n                }\n                return { text: value };\n            };\n        }\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.multiselect.aspnetmvc', ['aspnetmvc/kendo.combobox.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, ui = kendo.ui;\n        if (ui && ui.MultiSelect) {\n            ui.MultiSelect.requestData = function (selector) {\n                var multiselect = $(selector).data('kendoMultiSelect');\n                if (!multiselect) {\n                    return;\n                }\n                var text = multiselect.input.val();\n                return { text: text !== multiselect.options.placeholder ? text : '' };\n            };\n        }\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.imagebrowser.aspnetmvc', ['aspnetmvc/kendo.multiselect.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, extend = $.extend, isFunction = kendo.isFunction;\n        extend(true, kendo.data, {\n            schemas: {\n                'imagebrowser-aspnetmvc': {\n                    data: function (data) {\n                        return data || [];\n                    },\n                    model: {\n                        id: 'name',\n                        fields: {\n                            name: { field: 'Name' },\n                            size: { field: 'Size' },\n                            type: {\n                                field: 'EntryType',\n                                parse: function (value) {\n                                    return value == 0 ? 'f' : 'd';\n                                }\n                            }\n                        }\n                    }\n                }\n            }\n        });\n        extend(true, kendo.data, { schemas: { 'filebrowser-aspnetmvc': kendo.data.schemas['imagebrowser-aspnetmvc'] } });\n        extend(true, kendo.data, {\n            transports: {\n                'imagebrowser-aspnetmvc': kendo.data.RemoteTransport.extend({\n                    init: function (options) {\n                        kendo.data.RemoteTransport.fn.init.call(this, $.extend(true, {}, this.options, options));\n                    },\n                    _call: function (type, options) {\n                        options.data = $.extend({}, options.data, { path: this.options.path() });\n                        if (isFunction(this.options[type])) {\n                            this.options[type].call(this, options);\n                        } else {\n                            kendo.data.RemoteTransport.fn[type].call(this, options);\n                        }\n                    },\n                    read: function (options) {\n                        this._call('read', options);\n                    },\n                    create: function (options) {\n                        this._call('create', options);\n                    },\n                    destroy: function (options) {\n                        this._call('destroy', options);\n                    },\n                    update: function () {\n                    },\n                    options: {\n                        read: { type: 'POST' },\n                        update: { type: 'POST' },\n                        create: { type: 'POST' },\n                        destroy: { type: 'POST' },\n                        parameterMap: function (options, type) {\n                            if (type != 'read') {\n                                options.EntryType = options.EntryType === 'f' ? 0 : 1;\n                            }\n                            return options;\n                        }\n                    }\n                })\n            }\n        });\n        extend(true, kendo.data, { transports: { 'filebrowser-aspnetmvc': kendo.data.transports['imagebrowser-aspnetmvc'] } });\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.validator.aspnetmvc', ['aspnetmvc/kendo.imagebrowser.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var nameSpecialCharRegExp = /(\"|\\%|'|\\[|\\]|\\$|\\.|\\,|\\:|\\;|\\+|\\*|\\&|\\!|\\#|\\(|\\)|<|>|\\=|\\?|\\@|\\^|\\{|\\}|\\~|\\/|\\||`)/g;\n        var SWITCHSELECTOR = '.k-switch';\n        function generateMessages() {\n            var name, messages = {};\n            for (name in validationRules) {\n                messages['mvc' + name] = createMessage(name);\n            }\n            return messages;\n        }\n        function generateRules() {\n            var name, rules = {};\n            for (name in validationRules) {\n                rules['mvc' + name] = createRule(name);\n            }\n            return rules;\n        }\n        function extractParams(input, ruleName) {\n            var params = {}, index, data = input.data(), length = ruleName.length, rule, key, start;\n            for (key in data) {\n                rule = key.toLowerCase();\n                index = rule.indexOf(ruleName);\n                if (index > -1) {\n                    start = rule === 'valserver' ? index : index + length;\n                    rule = rule.substring(start, key.length);\n                    if (rule) {\n                        params[rule] = data[key];\n                    }\n                }\n            }\n            return params;\n        }\n        function rulesFromData(metadata) {\n            var idx, length, fields = metadata.Fields || [], rules = {};\n            for (idx = 0, length = fields.length; idx < length; idx++) {\n                $.extend(true, rules, rulesForField(fields[idx]));\n            }\n            return rules;\n        }\n        function rulesForField(field) {\n            var rules = {}, messages = {}, fieldName = field.FieldName, fieldRules = field.ValidationRules, validationType, validationParams, idx, length;\n            for (idx = 0, length = fieldRules.length; idx < length; idx++) {\n                validationType = fieldRules[idx].ValidationType;\n                validationParams = fieldRules[idx].ValidationParameters;\n                rules[fieldName + validationType] = createMetaRule(fieldName, validationType, validationParams);\n                messages[fieldName + validationType] = createMetaMessage(fieldRules[idx].ErrorMessage);\n            }\n            return {\n                rules: rules,\n                messages: messages\n            };\n        }\n        function createMessage(rule) {\n            return function (input) {\n                if (input.filter('[data-rule-' + rule + ']').length) {\n                    return input.attr('data-msg-' + rule);\n                } else {\n                    return input.attr('data-val-' + rule);\n                }\n            };\n        }\n        function createRule(ruleName) {\n            return function (input) {\n                if (input.filter('[data-val-' + ruleName + ']').length) {\n                    return validationRules[ruleName](input, extractParams(input, ruleName));\n                } else if (input.filter('[data-rule-' + ruleName + ']').length) {\n                    return validationRules[ruleName](input, extractParams(input, ruleName));\n                }\n                return true;\n            };\n        }\n        function createMetaMessage(message) {\n            return function () {\n                return message;\n            };\n        }\n        function createMetaRule(fieldName, type, params) {\n            return function (input) {\n                if (input.filter('[name=' + fieldName + ']').length) {\n                    return validationRules[type](input, params);\n                }\n                return true;\n            };\n        }\n        function patternMatcher(value, pattern) {\n            if (typeof pattern === 'string') {\n                pattern = new RegExp('^(?:' + pattern + ')$');\n            }\n            return pattern.test(value);\n        }\n        var validationRules = {\n            required: function (input) {\n                var value = input.val(), checkbox = input.filter('[type=checkbox]'), radio = input.filter('[type=radio]'), name;\n                if (checkbox.length) {\n                    name = checkbox[0].name.replace(nameSpecialCharRegExp, '\\\\$1');\n                    var hiddenSelector = 'input:hidden[name=\\'' + name + '\\']';\n                    var checkboxGroupMembers = input.closest('.k-checkbox-list').find('input[name=\\'' + name + '\\']');\n                    if (checkbox.closest(SWITCHSELECTOR).length) {\n                        checkbox = checkbox.closest(SWITCHSELECTOR);\n                    }\n                    var hidden = checkbox.next(hiddenSelector);\n                    if (!hidden.length) {\n                        hidden = checkbox.next('label.k-checkbox-label').next(hiddenSelector);\n                    }\n                    if (hidden.length) {\n                        value = hidden.val();\n                    } else {\n                        value = input.prop('checked') === true;\n                    }\n                    if (checkboxGroupMembers.length) {\n                        value = checkboxGroupMembers.is(':checked');\n                    }\n                } else if (radio.length) {\n                    value = kendo.jQuery.find('input[name=\\'' + input.attr('name') + '\\']:checked').length > 0;\n                }\n                return !(value === '' || !value || value.length === 0);\n            },\n            number: function (input) {\n                return input.val() === '' || input.val() == null || kendo.parseFloat(input.val()) !== null;\n            },\n            regex: function (input, params) {\n                if (input.val() !== '') {\n                    return patternMatcher(input.val(), params.pattern);\n                }\n                return true;\n            },\n            range: function (input, params) {\n                if (input.val() !== '') {\n                    return this.min(input, params) && this.max(input, params);\n                }\n                return true;\n            },\n            min: function (input, params) {\n                var min = parseFloat(params.min) || 0, val = kendo.parseFloat(input.val());\n                return min <= val;\n            },\n            max: function (input, params) {\n                var max = parseFloat(params.max) || 0, val = kendo.parseFloat(input.val());\n                return val <= max;\n            },\n            date: function (input) {\n                return input.val() === '' || kendo.parseDate(input.val()) !== null;\n            },\n            length: function (input, params) {\n                if (input.val() !== '') {\n                    var len = kendo.trim(input.val()).length;\n                    return (!params.min || len >= (params.min || 0)) && (!params.max || len <= (params.max || 0));\n                }\n                return true;\n            },\n            server: function (input, params) {\n                if (params.server) {\n                    return false;\n                }\n                return true;\n            }\n        };\n        $.extend(true, kendo.ui.validator, {\n            rules: generateRules(),\n            messages: generateMessages(),\n            messageLocators: {\n                mvcLocator: {\n                    locate: function (element, fieldName) {\n                        fieldName = fieldName.replace(nameSpecialCharRegExp, '\\\\$1');\n                        return element.find('.field-validation-valid[data-valmsg-for=\\'' + fieldName + '\\'], .field-validation-error[data-valmsg-for=\\'' + fieldName + '\\']');\n                    },\n                    decorate: function (message, fieldName) {\n                        message.addClass('field-validation-error').attr('data-valmsg-for', fieldName || '');\n                    }\n                },\n                mvcMetadataLocator: {\n                    locate: function (element, fieldName) {\n                        fieldName = fieldName.replace(nameSpecialCharRegExp, '\\\\$1');\n                        return element.find('#' + fieldName + '_validationMessage.field-validation-valid');\n                    },\n                    decorate: function (message, fieldName) {\n                        message.addClass('field-validation-error').attr('id', fieldName + '_validationMessage');\n                    }\n                }\n            },\n            ruleResolvers: {\n                mvcMetaDataResolver: {\n                    resolve: function (element) {\n                        var metadata = window.mvcClientValidationMetadata || [];\n                        if (metadata.length) {\n                            element = $(element);\n                            for (var idx = 0; idx < metadata.length; idx++) {\n                                if (metadata[idx].FormId == element.attr('id')) {\n                                    return rulesFromData(metadata[idx]);\n                                }\n                            }\n                        }\n                        return {};\n                    }\n                }\n            },\n            validateOnInit: function (element) {\n                return !!element.find('input[data-val-server]').length;\n            },\n            allowSubmit: function (element, errors) {\n                return !!errors && errors.length === element.find('input[data-val-server]').length;\n            }\n        });\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('aspnetmvc/kendo.filemanager.aspnetmvc', ['aspnetmvc/kendo.data.aspnetmvc'], f);\n}(function () {\n    (function ($, undefined) {\n        var kendo = window.kendo, extend = $.extend;\n        extend(true, kendo.data, {\n            schemas: {\n                'filemanager': {\n                    data: function (data) {\n                        return data || [];\n                    },\n                    model: {\n                        id: 'path',\n                        hasChildren: 'hasDirectories',\n                        fields: {\n                            name: {\n                                field: 'Name',\n                                editable: true,\n                                type: 'string',\n                                defaultValue: 'New Folder'\n                            },\n                            size: {\n                                field: 'Size',\n                                editable: false,\n                                type: 'number'\n                            },\n                            path: {\n                                field: 'Path',\n                                editable: false,\n                                type: 'string'\n                            },\n                            extension: {\n                                field: 'Extension',\n                                editable: false,\n                                type: 'string'\n                            },\n                            isDirectory: {\n                                field: 'IsDirectory',\n                                editable: false,\n                                defaultValue: true,\n                                type: 'boolean'\n                            },\n                            hasDirectories: {\n                                field: 'HasDirectories',\n                                editable: false,\n                                defaultValue: false,\n                                type: 'boolean'\n                            },\n                            created: {\n                                field: 'Created',\n                                type: 'date',\n                                editable: false\n                            },\n                            createdUtc: {\n                                field: 'CreatedUtc',\n                                type: 'date',\n                                editable: false\n                            },\n                            modified: {\n                                field: 'Modified',\n                                type: 'date',\n                                editable: false\n                            },\n                            modifiedUtc: {\n                                field: 'ModifiedUtc',\n                                type: 'date',\n                                editable: false\n                            }\n                        }\n                    }\n                }\n            }\n        });\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));\n(function (f, define) {\n    define('kendo.aspnetmvc', [\n        'kendo.data',\n        'kendo.combobox',\n        'kendo.dropdownlist',\n        'kendo.dropdowntree',\n        'kendo.multiselect',\n        'kendo.validator',\n        'aspnetmvc/kendo.data.aspnetmvc',\n        'aspnetmvc/kendo.combobox.aspnetmvc',\n        'aspnetmvc/kendo.multicolumncombobox.aspnetmvc',\n        'aspnetmvc/kendo.dropdownlist.aspnetmvc',\n        'aspnetmvc/kendo.dropdowntree.aspnetmvc',\n        'aspnetmvc/kendo.multiselect.aspnetmvc',\n        'aspnetmvc/kendo.imagebrowser.aspnetmvc',\n        'aspnetmvc/kendo.validator.aspnetmvc',\n        'aspnetmvc/kendo.filemanager.aspnetmvc'\n    ], f);\n}(function () {\n    var __meta__ = {\n        id: 'aspnetmvc',\n        name: 'ASP.NET MVC',\n        category: 'wrappers',\n        description: 'Scripts required by Telerik UI for ASP.NET MVC and Telerik UI for ASP.NET Core',\n        depends: [\n            'data',\n            'combobox',\n            'multicolumncombobox',\n            'dropdownlist',\n            'multiselect',\n            'validator'\n        ]\n    };\n    (function ($, undefined) {\n        var extend = $.extend;\n        $(function () {\n            kendo.__documentIsReady = true;\n        });\n        function syncReady(cb) {\n            if (kendo.__documentIsReady) {\n                cb();\n            } else {\n                $(cb);\n            }\n        }\n        extend(kendo, { syncReady: syncReady });\n    }(window.kendo.jQuery));\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n    (a3 || a2)();\n}));"]}