PageSourceSearch

https://sealanes.com.au/Themes/BPDTHEME01/Min/js/themeThirdParty.min.js?v=20250109A-1877380961

js sealanes.com.au collected 2026-10-06 08:45:10 UTC 1,237,957 bytes, 1,442 lines download raw bytes

1/*!
2 * jQuery Cookie Plugin v1.4.1
3 * https://github.com/carhartl/jquery-cookie
4 *
5 * Copyright 2013 Klaus Hartl
6 * Released under the MIT license
7 */
8(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?n(require("jquery")):n(jQuery)})(function(n){function i(n){return t.raw?n:encodeURIComponent(n)}function f(n){return t.raw?n:decodeURIComponent(n)}function e(n){return i(t.json?JSON.stringify(n):String(n))}function o(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return n=decodeURIComponent(n.replace(u," ")),t.json?JSON.parse(n):n}catch(i){}}function r(i,r){var u=t.raw?i:o(i);return n.isFunction(r)?r(u):u}var u=/\+/g,t=n.cookie=function(u,o,s){var y,a,h,v,c,p;if(o!==undefined&&!n.isFunction(o))return s=n.extend({},t.defaults,s),typeof s.expires=="number"&&(y=s.expires,a=s.expires=new Date,a.setTime(+a+y*864e5)),document.cookie=[i(u),"=",e(o),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("");for(h=u?undefined:{},v=document.cookie?document.cookie.split("; "):[],c=0,p=v.length;c<p;c++){var w=v[c].split("="),b=f(w.shift()),l=w.join("=");if(u&&u===b){h=r(l,o);break}u||(l=r(l))===undefined||(h[b]=l)}return h};t.defaults={};n.removeCookie=function(t,i){return n.cookie(t)===undefined?!1:(n.cookie(t,"",n.extend({},i,{expires:-1})),!n.cookie(t))}});
9$.migrateMute=$.cookie&&($.cookie("jQueryMigrateMute")===undefined?!0:$.cookie("jQueryMigrateMute").toLowerCase()==="true");
10/*!
11 * jQuery Migrate - v3.3.2 - 2020-11-17T23:22Z
12 * Copyright OpenJS Foundation and other contributors
13 */
14(function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery"],function(t){return n(t,window)}):typeof module=="object"&&module.exports?module.exports=n(require("jquery"),window):n(jQuery,window)})(function(n,t){"use strict";function ot(n,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,u=r.exec(n)||[],f=r.exec(t)||[],i=1;i<=3;i++){if(+u[i]>+f[i])return 1;if(+u[i]<+f[i])return-1}return 0}function u(t){return ot(n.fn.jquery,t)>=0}function i(i){var r=t.console;n.migrateDeduplicateWarnings&&e[i]||(e[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function h(n,t,r,u){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){return i(u),r},set:function(n){i(u);r=n}})}function r(n,t,r,u){n[t]=function(){return i(u),r.apply(this,arguments)}}function l(n){return n.replace(/-([a-z])/g,function(n,t){return t.toUpperCase()})}function bt(n){return pt.test(n)&&wt.test(n[0].toUpperCase()+n.slice(1))}var e,b,c,f,v,y,d,g,rt,ut,ft,p,et;n.migrateVersion="3.3.2",function(){t.console&&t.console.log&&(n&&u("3.0.0")||t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),n.migrateWarnings&&t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),t.console.log("JQMIGRATE: Migrate is installed"+(n.migrateMute?"":" with logging active")+", version "+n.migrateVersion))}();e={};n.migrateDeduplicateWarnings=!0;n.migrateWarnings=[];n.migrateTrace===undefined&&(n.migrateTrace=!0);n.migrateReset=function(){e={};n.migrateWarnings.length=0};t.document.compatMode==="BackCompat"&&i("jQuery is not compatible with Quirks Mode");var o,w={},st=n.fn.init,s=n.find,ht=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,ct=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,lt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;n.fn.init=function(n){var t=Array.prototype.slice.call(arguments);return typeof n=="string"&&n==="#"&&(i("jQuery( '#' ) is not a valid selector"),t[0]=[]),st.apply(this,t)};n.fn.init.prototype=n.fn;n.find=function(n){var r=Array.prototype.slice.call(arguments);if(typeof n=="string"&&ht.test(n))try{t.document.querySelector(n)}catch(u){n=n.replace(ct,function(n,t,i,r){return"["+t+i+'"'+r+'"]'});try{t.document.querySelector(n);i("Attribute selector with '#' must be quoted: "+r[0]);r[0]=n}catch(f){i("Attribute selector with '#' was not fixed: "+r[0])}}return s.apply(this,r)};for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n.find[o]=s[o]);r(n.fn,"size",function(){return this.length},"jQuery.fn.size() is deprecated and removed; use the .length property");r(n,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"jQuery.parseJSON is deprecated; use JSON.parse");r(n,"holdReady",n.holdReady,"jQuery.holdReady is deprecated");r(n,"unique",n.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort");h(n.expr,"filters",n.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos");h(n.expr,":",n.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos");u("3.1.1")&&r(n,"trim",function(n){return n==null?"":(n+"").replace(lt,"")},"jQuery.trim is deprecated; use String.prototype.trim");u("3.2.0")&&(r(n,"nodeName",function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},"jQuery.nodeName is deprecated"),r(n,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray"));u("3.3.0")&&(r(n,"isNumeric",function(n){var t=typeof n;return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},"jQuery.isNumeric() is deprecated"),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){w["[object "+t+"]"]=t.toLowerCase()}),r(n,"type",function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?w[Object.prototype.toString.call(n)]||"object":typeof n},"jQuery.type is deprecated"),r(n,"isFunction",function(n){return typeof n=="function"},"jQuery.isFunction() is deprecated"),r(n,"isWindow",function(n){return n!=null&&n===n.window},"jQuery.isWindow() is deprecated"));
14n.ajax&&(b=n.ajax,c=/(=)\?(?=&|$)|\?\?/,n.ajax=function(){var n=b.apply(this,arguments);return n.promise&&(r(n,"success",n.done,"jQXHR.success is deprecated and removed"),r(n,"error",n.fail,"jQXHR.error is deprecated and removed"),r(n,"complete",n.always,"jQXHR.complete is deprecated and removed")),n},u("4.0.0")||n.ajaxPrefilter("+json",function(n){n.jsonp!==!1&&(c.test(n.url)||typeof n.data=="string"&&(n.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&c.test(n.data))&&i("JSON-to-JSONP auto-promotion is deprecated")}));var at=n.fn.removeAttr,vt=n.fn.toggleClass,yt=/\S+/g;n.fn.removeAttr=function(t){var r=this;return n.each(t.match(yt),function(t,u){n.expr.match.bool.test(u)&&(i("jQuery.fn.removeAttr no longer sets boolean properties: "+u),r.prop(u,!1))}),at.apply(this,arguments)};n.fn.toggleClass=function(t){return t!==undefined&&typeof t!="boolean"?vt.apply(this,arguments):(i("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var i=this.getAttribute&&this.getAttribute("class")||"";i&&n.data(this,"__className__",i);this.setAttribute&&this.setAttribute("class",i||t===!1?"":n.data(this,"__className__")||"")}))};var k,a=!1,pt=/^[a-z]/,wt=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;n.swap&&n.each(["height","width","reliableMarginRight"],function(t,i){var r=n.cssHooks[i]&&n.cssHooks[i].get;r&&(n.cssHooks[i].get=function(){var n;return a=!0,n=r.apply(this,arguments),a=!1,n})});n.swap=function(n,t,r,u){var e,f,o={};a||i("jQuery.swap() is undocumented and deprecated");for(f in t)o[f]=n.style[f],n.style[f]=t[f];e=r.apply(n,u||[]);for(f in t)n.style[f]=o[f];return e};u("3.4.0")&&typeof Proxy!="undefined"&&(n.cssProps=new Proxy(n.cssProps||{},{set:function(){return i("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}}));n.cssNumber||(n.cssNumber={});k=n.fn.css;n.fn.css=function(t,r){var u,f=this;return t&&typeof t=="object"&&!Array.isArray(t)?(n.each(t,function(t,i){n.fn.css.call(f,t,i)}),this):(typeof r=="number"&&(u=l(t),bt(u)||n.cssNumber[u]||i('Number-typed values are deprecated for jQuery.fn.css( "'+t+'", value )')),k.apply(this,arguments))};f=n.data;n.data=function(t,r,u){var o,s,e;if(r&&typeof r=="object"&&arguments.length===2){o=n.hasData(t)&&f.call(this,t);s={};for(e in r)e!==l(e)?(i("jQuery.data() always sets/gets camelCased names: "+e),o[e]=r[e]):s[e]=r[e];return f.call(this,t,s),r}return r&&typeof r=="string"&&r!==l(r)&&(o=n.hasData(t)&&f.call(this,t),o&&r in o)?(i("jQuery.data() always sets/gets camelCased names: "+r),arguments.length>2&&(o[r]=u),o[r]):f.apply(this,arguments)};n.fx&&(d=n.Tween.prototype.run,g=function(n){return n},n.Tween.prototype.run=function(){n.easing[this.easing].length>1&&(i("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),n.easing[this.easing]=g);d.apply(this,arguments)},v=n.fx.interval||13,y="jQuery.fx.interval is deprecated",t.requestAnimationFrame&&Object.defineProperty(n.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden||i(y),v},set:function(n){i(y);v=n}}));var kt=n.fn.load,dt=n.event.add,gt=n.event.fix;n.event.props=[];n.event.fixHooks={};h(n.event.props,"concat",n.event.props.concat,"jQuery.event.props.concat() is deprecated and removed");n.event.fix=function(t){var f,e=t.type,u=this.fixHooks[e],r=n.event.props;if(r.length)for(i("jQuery.event.props are deprecated and removed: "+r.join());r.length;)n.event.addProp(r.pop());if(u&&!u._migrated_&&(u._migrated_=!0,i("jQuery.event.fixHooks are deprecated and removed: "+e),(r=u.props)&&r.length))while(r.length)n.event.addProp(r.pop());return f=gt.call(this,t),u&&u.filter?u.filter(f,t):f};n.event.add=function(n,r){return n===t&&r==="load"&&t.document.readyState==="complete"&&i("jQuery(window).on('load'...) called after load event occurred"),dt.apply(this,arguments)};n.each(["load","unload","error"],function(t,r){n.fn[r]=function(){var n=Array.prototype.slice.call(arguments,0);return r==="load"&&typeof n[0]=="string"?kt.apply(this,n):(i("jQuery.fn."+r+"
14() is deprecated"),n.splice(0,0,r),arguments.length)?this.on.apply(this,n):(this.triggerHandler.apply(this,n),this)}});n.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,r){n.fn[r]=function(n,t){return i("jQuery.fn."+r+"() event shorthand is deprecated"),arguments.length>0?this.on(r,null,n,t):this.trigger(r)}});n(function(){n(t.document).triggerHandler("ready")});n.event.special.ready={setup:function(){this===t.document&&i("'ready' event is deprecated")}};n.fn.extend({bind:function(n,t,r){i("jQuery.fn.bind() is deprecated");return this.on(n,null,t,r)},unbind:function(n,t){return i("jQuery.fn.unbind() is deprecated"),this.off(n,null,t)},delegate:function(n,t,r,u){i("jQuery.fn.delegate() is deprecated");return this.on(t,n,r,u)},undelegate:function(n,t,r){return i("jQuery.fn.undelegate() is deprecated"),arguments.length===1?this.off(n,"**"):this.off(t,n||"**",r)},hover:function(n,t){i("jQuery.fn.hover() is deprecated");return this.on("mouseenter",n).on("mouseleave",t||n)}});var nt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ni=n.htmlPrefilter,tt=function(n){var i=t.document.implementation.createHTMLDocument("");return i.body.innerHTML=n,i.body&&i.body.innerHTML},it=function(n){var t=n.replace(nt,"<$1><\/$2>");t!==n&&tt(n)!==tt(t)&&i("HTML tags must be properly nested and closed: "+n)};return n.UNSAFE_restoreLegacyHtmlPrefilter=function(){n.htmlPrefilter=function(n){return it(n),n.replace(nt,"<$1><\/$2>")}},n.htmlPrefilter=function(n){return it(n),ni(n)},rt=n.fn.offset,n.fn.offset=function(){var n=this[0];return n&&(!n.nodeType||!n.getBoundingClientRect)?(i("jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:undefined):rt.apply(this,arguments)},n.ajax&&(ut=n.param,n.param=function(t,r){var u=n.ajaxSettings&&n.ajaxSettings.traditional;return r===undefined&&u&&(i("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),r=u),ut.call(this,t,r)}),ft=n.fn.andSelf||n.fn.addBack,n.fn.andSelf=function(){return i("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),ft.apply(this,arguments)},n.Deferred&&(p=n.Deferred,et=[["resolve","done",n.Callbacks("once memory"),n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory"),n.Callbacks("memory")]],n.Deferred=function(t){var r=p(),u=r.promise();return r.pipe=u.pipe=function(){var t=arguments;return i("deferred.pipe() is deprecated"),n.Deferred(function(i){n.each(et,function(n,f){var e=typeof t[n]=="function"&&t[n];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&typeof n.promise=="function"?n.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[f[0]+"With"](this===u?i.promise():this,e?[n]:arguments)})});t=null}).promise()},t&&t.call(r,r),r},n.Deferred.exceptionHook=p.exceptionHook),n});
15/*
16 * jQuery.bind-first library v0.2.3
17 * Copyright (c) 2013 Vladimir Zhuravlev
18 *
19 * Released under MIT License
20 * @license
21 *
22 * Date: Thu Feb  6 10:13:59 ICT 2014
23 **/
24(function(n){function o(t){return i?t.data("events"):n._data(t[0]).events}function s(n,t,r){var f=o(n),u=f[t],e;if(!i){e=r?u.splice(u.delegateCount-1,1)[0]:u.pop();u.splice(r?0:u.delegateCount||0,0,e);return}r?f.live.unshift(f.live.pop()):u.unshift(u.pop())}function t(t,i,r){var u=i.split(/\s+/);t.each(function(){for(var i,t=0;t<u.length;++t)i=n.trim(u[t]).match(/[^\.]+/i)[0],s(n(this),i,r)})}function f(i){n.fn[i+"First"]=function(){var u=n.makeArray(arguments),r=u.shift();return r&&(n.fn[i].apply(this,arguments),t(this,r)),this}}var r=n.fn.jquery.split("."),u=parseInt(r[0]),e=parseInt(r[1]),i=u<1||u==1&&e<7;f("bind");f("one");n.fn.delegateFirst=function(){var i=n.makeArray(arguments),r=i[1];return r&&(i.splice(0,2),n.fn.delegate.apply(this,arguments),t(this,r,!0)),this};n.fn.liveFirst=function(){var t=n.makeArray(arguments);return t.unshift(this.selector),n.fn.delegateFirst.apply(n(document),t),this};i||(n.fn.onFirst=function(i,r){var u=n(this),f=typeof r=="string";if(n.fn.on.apply(u,arguments),typeof i=="object")for(type in i)i.hasOwnProperty(type)&&t(u,type,f);else typeof i=="string"&&t(u,i,f);return u})})(jQuery);
25/*! jQuery & Zepto Lazy v1.7.10 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2018 Daniel 'Eisbehr' Kern */
26!function(t,e){"use strict";function r(r,a,i,u,l){function f(){L=t.devicePixelRatio>1,i=c(i),a.delay>=0&&setTimeout(function(){s(!0)},a.delay),(a.delay<0||a.combined)&&(u.e=v(a.throttle,function(t){"resize"===t.type&&(w=B=-1),s(t.all)}),u.a=function(t){t=c(t),i.push.apply(i,t)},u.g=function(){return i=n(i).filter(function(){return!n(this).data(a.loadedName)})},u.f=function(t){for(var e=0;e<t.length;e++){var r=i.filter(function(){return this===t[e]});r.length&&s(!1,r)}},s(),n(a.appendScroll).on("scroll."+l+" resize."+l,u.e))}function c(t){var i=a.defaultImage,o=a.placeholder,u=a.imageBase,l=a.srcsetAttribute,f=a.loaderAttribute,c=a._f||{};t=n(t).filter(function(){var t=n(this),r=m(this);return!t.data(a.handledName)&&(t.attr(a.attribute)||t.attr(l)||t.attr(f)||c[r]!==e)}).data("plugin_"+a.name,r);for(var s=0,d=t.length;s<d;s++){var A=n(t[s]),g=m(t[s]),h=A.attr(a.imageBaseAttribute)||u;g===N&&h&&A.attr(l)&&A.attr(l,b(A.attr(l),h)),c[g]===e||A.attr(f)||A.attr(f,c[g]),g===N&&i&&!A.attr(E)?A.attr(E,i):g===N||!o||A.css(O)&&"none"!==A.css(O)||A.css(O,"url('"+o+"')")}return t}function s(t,e){if(!i.length)return void(a.autoDestroy&&r.destroy());for(var o=e||i,u=!1,l=a.imageBase||"",f=a.srcsetAttribute,c=a.handledName,s=0;s<o.length;s++)if(t||e||A(o[s])){var g=n(o[s]),h=m(o[s]),b=g.attr(a.attribute),v=g.attr(a.imageBaseAttribute)||l,p=g.attr(a.loaderAttribute);g.data(c)||a.visibleOnly&&!g.is(":visible")||!((b||g.attr(f))&&(h===N&&(v+b!==g.attr(E)||g.attr(f)!==g.attr(F))||h!==N&&v+b!==g.css(O))||p)||(u=!0,g.data(c,!0),d(g,h,v,p))}u&&(i=n(i).filter(function(){return!n(this).data(c)}))}function d(t,e,r,i){++z;var o=function(){y("onError",t),p(),o=n.noop};y("beforeLoad",t);var u=a.attribute,l=a.srcsetAttribute,f=a.sizesAttribute,c=a.retinaAttribute,s=a.removeAttribute,d=a.loadedName,A=t.attr(c);if(i){var g=function(){s&&t.removeAttr(a.loaderAttribute),t.data(d,!0),y(T,t),setTimeout(p,1),g=n.noop};t.off(I).one(I,o).one(D,g),y(i,t,function(e){e?(t.off(D),g()):(t.off(I),o())})||t.trigger(I)}else{var h=n(new Image);h.one(I,o).one(D,function(){t.hide(),e===N?t.attr(C,h.attr(C)).attr(F,h.attr(F)).attr(E,h.attr(E)):t.css(O,"url('"+h.attr(E)+"')"),t[a.effect](a.effectTime),s&&(t.removeAttr(u+" "+l+" "+c+" "+a.imageBaseAttribute),f!==C&&t.removeAttr(f)),t.data(d,!0),y(T,t),h.remove(),p()});var m=(L&&A?A:t.attr(u))||"";h.attr(C,t.attr(f)).attr(F,t.attr(l)).attr(E,m?r+m:null),h.complete&&h.trigger(D)}}function A(t){var e=t.getBoundingClientRect(),r=a.scrollDirection,n=a.threshold,i=h()+n>e.top&&-n<e.bottom,o=g()+n>e.left&&-n<e.right;return"vertical"===r?i:"horizontal"===r?o:i&&o}function g(){return w>=0?w:w=n(t).width()}function h(){return B>=0?B:B=n(t).height()}function m(t){return t.tagName.toLowerCase()}function b(t,e){if(e){var r=t.split(",");t="";for(var a=0,n=r.length;a<n;a++)t+=e+r[a].trim()+(a!==n-1?",":"")}return t}function v(t,e){var n,i=0;return function(o,u){function l(){i=+new Date,e.call(r,o)}var f=+new Date-i;n&&clearTimeout(n),f>t||!a.enableThrottle||u?l():n=setTimeout(l,t-f)}}function p(){--z,i.length||z||y("onFinishedAll")}function y(t,e,n){return!!(t=a[t])&&(t.apply(r,[].slice.call(arguments,1
26)),!0)}var z=0,w=-1,B=-1,L=!1,T="afterLoad",D="load",I="error",N="img",E="src",F="srcset",C="sizes",O="background-image";"event"===a.bind||o?f():n(t).on(D+"."+l,f)}function a(a,o){var u=this,l=n.extend({},u.config,o),f={},c=l.name+"-"+ ++i;return u.config=function(t,r){return r===e?l[t]:(l[t]=r,u)},u.addItems=function(t){return f.a&&f.a("string"===n.type(t)?n(t):t),u},u.getItems=function(){return f.g?f.g():{}},u.update=function(t){return f.e&&f.e({},!t),u},u.force=function(t){return f.f&&f.f("string"===n.type(t)?n(t):t),u},u.loadAll=function(){return f.e&&f.e({all:!0},!0),u},u.destroy=function(){return n(l.appendScroll).off("."+c,f.e),n(t).off("."+c),f={},e},r(u,l,a,f,c),l.chainable?a:u}var n=t.jQuery||t.Zepto,i=0,o=!1;n.fn.Lazy=n.fn.lazy=function(t){return new a(this,t)},n.Lazy=n.lazy=function(t,r,i){if(n.isFunction(r)&&(i=r,r=[]),n.isFunction(i)){t=n.isArray(t)?t:[t],r=n.isArray(r)?r:[r];for(var o=a.prototype.config,u=o._f||(o._f={}),l=0,f=t.length;l<f;l++)(o[t[l]]===e||n.isFunction(o[t[l]]))&&(o[t[l]]=i);for(var c=0,s=r.length;c<s;c++)u[r[c]]=t[0]}},a.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},n(t).on("load",function(){o=!0})}(window);
27/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */
28(function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self,n.DOMPurify=t())})(this,function(){"use strict";function o(n){"@babel/helpers - typeof";return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(n)}function p(n,t){return p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n},p(n,t)}function lt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(n){return!1}}function c(){return c=lt()?Reflect.construct:function(n,t,i){var r=[null],f,u;return r.push.apply(r,t),f=Function.bind.apply(n,r),u=new f,i&&p(u,i.prototype),u},c.apply(null,arguments)}function u(n){return at(n)||vt(n)||yt(n)||pt()}function at(n){if(Array.isArray(n))return w(n)}function vt(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function yt(n,t){if(n){if(typeof n=="string")return w(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")?Array.from(n):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(n,t):void 0}}function w(n,t){(t==null||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function pt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function r(n){return function(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];return l(n,t,u)}}function ui(n){return function(){for(var i=arguments.length,r=new Array(i),t=0;t<i;t++)r[t]=arguments[t];return b(n,r)}}function n(n,t,i){var u,r,f;for(i=i?i:a,rt&&rt(n,null),u=t.length;u--;)r=t[u],typeof r=="string"&&(f=i(r),f!==r&&(bt(t)||(t[u]=f),r=f)),n[r]=!0;return n}function s(n){var i=gt(null);for(var t in n)l(wt,n,[t])===!0&&(i[t]=n[t]);return i}function v(n,t){function u(n){return console.warn("fallback value for",n),null}while(n!==null){var i=dt(n,t);if(i){if(i.get)return r(i.get);if(typeof i.value=="function")return r(i.value)}n=kt(n)}return u}function ct(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:wi(),r=function(n){return ct(n)},ir,rt,hr;if(r.version="2.4.3",r.removed=[],!f||!f.document||f.document.nodeType!==9)return r.isSupported=!1,r;var cr=f.document,vt=f.document,hu=f.DocumentFragment,pf=f.HTMLTemplateElement,lr=f.Node,cu=f.Element,ar=f.NodeFilter,lu=f.NamedNodeMap,wf=lu===void 0?f.NamedNodeMap||f.MozNamedAttrMap:lu,bf=f.HTMLFormElement,kf=f.DOMParser,nr=f.trustedTypes,tr=cu.prototype,df=v(tr,"cloneNode"),gf=v(tr,"nextSibling"),ne=v(tr,"childNodes"),vr=v(tr,"parentNode");typeof pf=="function"&&(ir=vt.createElement("template"),ir.content&&ir.content.ownerDocument&&(vt=ir.content.ownerDocument));var b=bi(nr,cr),yr=b?b.createHTML(""):"",rr=vt,pr=rr.implementation,te=rr.createNodeIterator,ie=rr.createDocumentFragment,re=rr.getElementsByTagName,ue=cr.importNode,au={};try{au=s(vt).documentMode?vt.documentMode:{}}catch(we){}rt={};r.isSupported=typeof vr=="function"&&pr&&typeof pr.createHTMLDocument!="undefined"&&au!==9;var wr=oi,br=si,kr=hi,fe=ci,ee=li,oe=vi,vu=yi,dr=ai,l=null,yu=n({},[].concat(u(et),u(g),u(nt),u(tt),u(ot))),w=null,pu=n({}
28,[].concat(u(st),u(it),u(ht),u(y))),c=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ki=null,gr=null,wu=!0,nu=!0,bu=!1,wt=!1,yt=!1,tu=!1,iu=!1,bt=!1,ur=!1,fr=!1,ku=!0,du=!1,se="user-content-",ru=!0,di=!1,kt={},dt=null,gu=n({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),nf=null,tf=n({},["audio","video","img","source","image","track"]),uu=null,rf=n({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),er="http://www.w3.org/1998/Math/MathML",or="http://www.w3.org/2000/svg",ut="http://www.w3.org/1999/xhtml",gt=ut,fu=!1,eu=null,he=n({},[er,or,ut],k),pt,ce=["application/xhtml+xml","text/html"],le="text/html",p,ui=null,ae=vt.createElement("form"),uf=function(n){return n instanceof RegExp||n instanceof Function},ou=function(i){ui&&ui===i||(i&&o(i)==="object"||(i={}),i=s(i),pt=pt=ce.indexOf(i.PARSER_MEDIA_TYPE)===-1?le:i.PARSER_MEDIA_TYPE,p=pt==="application/xhtml+xml"?k:a,l="ALLOWED_TAGS"in i?n({},i.ALLOWED_TAGS,p):yu,w="ALLOWED_ATTR"in i?n({},i.ALLOWED_ATTR,p):pu,eu="ALLOWED_NAMESPACES"in i?n({},i.ALLOWED_NAMESPACES,k):he,uu="ADD_URI_SAFE_ATTR"in i?n(s(rf),i.ADD_URI_SAFE_ATTR,p):rf,nf="ADD_DATA_URI_TAGS"in i?n(s(tf),i.ADD_DATA_URI_TAGS,p):tf,dt="FORBID_CONTENTS"in i?n({},i.FORBID_CONTENTS,p):gu,ki="FORBID_TAGS"in i?n({},i.FORBID_TAGS,p):{},gr="FORBID_ATTR"in i?n({},i.FORBID_ATTR,p):{},kt="USE_PROFILES"in i?i.USE_PROFILES:!1,wu=i.ALLOW_ARIA_ATTR!==!1,nu=i.ALLOW_DATA_ATTR!==!1,bu=i.ALLOW_UNKNOWN_PROTOCOLS||!1,wt=i.SAFE_FOR_TEMPLATES||!1,yt=i.WHOLE_DOCUMENT||!1,bt=i.RETURN_DOM||!1,ur=i.RETURN_DOM_FRAGMENT||!1,fr=i.RETURN_TRUSTED_TYPE||!1,iu=i.FORCE_BODY||!1,ku=i.SANITIZE_DOM!==!1,du=i.SANITIZE_NAMED_PROPS||!1,ru=i.KEEP_CONTENT!==!1,di=i.IN_PLACE||!1,dr=i.ALLOWED_URI_REGEXP||dr,gt=i.NAMESPACE||ut,i.CUSTOM_ELEMENT_HANDLING&&uf(i.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(c.tagNameCheck=i.CUSTOM_ELEMENT_HANDLING.tagNameCheck),i.CUSTOM_ELEMENT_HANDLING&&uf(i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(c.attributeNameCheck=i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(c.allowCustomizedBuiltInElements=i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),wt&&(nu=!1),ur&&(bt=!0),kt&&(l=n({},u(ot)),w=[],kt.html===!0&&(n(l,et),n(w,st)),kt.svg===!0&&(n(l,g),n(w,it),n(w,y)),kt.svgFilters===!0&&(n(l,nt),n(w,it),n(w,y)),kt.mathMl===!0&&(n(l,tt),n(w,ht),n(w,y))),i.ADD_TAGS&&(l===yu&&(l=s(l)),n(l,i.ADD_TAGS,p)),i.ADD_ATTR&&(w===pu&&(w=s(w)),n(w,i.ADD_ATTR,p)),i.ADD_URI_SAFE_ATTR&&n(uu,i.ADD_URI_SAFE_ATTR,p),i.FORBID_CONTENTS&&(dt===gu&&(dt=s(dt)),n(dt,i.FORBID_CONTENTS,p)),ru&&(l["#text"]=!0),yt&&n(l,["html","head","body"]),l.table&&(n(l,["tbody"]),delete ki.tbody),t&&t(i),ui=i)},ff=n({},["mi","mo","mn","ms","mtext"]),ef=n({},["foreignobject","desc","title","annotation-xml"]),ve=n({},["title","style","font","a","script"]),sr=n({},g);n(sr,nt);n(sr,fi);hr=n({},tt);n(hr,ei);var ye=function(n){var t=vr(n),i,r;return(t&&t.tagName||(t={namespaceURI:gt,tagName:"template"}),i=a(n.tagName),r=a(t.tagName),!eu[n.namespaceURI])?!1:n.namespaceURI===or?t.namespaceURI===ut?i==="svg":t.namespaceURI===er?i==="svg"&&(r==="annotation-xml"||ff[r]):Boolean(sr[i]):n.namespaceURI===er?t.namespaceURI===ut?i==="math":t.namespaceURI===or?i==="math"&&ef[r]:Boolean(hr[i]):n.namespaceURI===ut?t.namespaceURI===or&&!ef[r]?!1:t.namespaceURI===er&&!ff[r]?!1:!hr[i]&&(ve[i]||!sr[i]):pt==="application/xhtml+xml"&&eu[n.namespaceURI]?!0:!1},lt=function(n){h(r.removed,{element:n});try{n.parentNode.removeChild(n)}catch(t){try{n.outerHTML=yr}catch(t){n.remove()}}},su=function(n,t){try{h(r.removed,{attribute:t.getAttributeNode(n),from:t})}catch(i){h(r.removed,{attribute:null,from:t})}if(t.removeAttribute(n),n==="is"&&!w[n])if(bt||ur)try{lt(t)}catch(i){}else try{t.setAttribute(n,"")}catch(i){}},sf=function(n){var t,r,u,f,i;if(iu?n="<remove><\/remove>"+n:(u=ti(n,/^[\r\n\t ]+/),r=u&&u[0]),pt==="application/xhtml+xml"&&gt===ut&&(n='<html xmlns="http://www.w3.org/1999/xhtml"><head><\/head><body>'+n+"<\/body><\/html>"),f=b?b.createHTML(n):n,gt===ut)try{t=(new kf).parseFromString(f,pt)}catch(e){}if(!t||!t.documentElement){t=pr.createDocument(gt,"template",null);try{t.documentElement.innerHTML=fu?yr:f}catch(e){}}return(i=t.body||t.documentElement,n&&r&&i.insertBefore(vt.createTextNode(r),i.childNodes[0]||null),gt===ut)?re.call(t,yt?"html":"body")[0]:yt?t.documentElement:i},hf=function(n){return te.call(n.ownerDocument||n,n,ar.SHOW_ELEMENT|ar.SHOW_COMMENT|ar.SHOW_TEXT,null,!1)},pe=function(n){return n instanceof bf&&(typeof n.nodeName!="string"||typeof n.textContent!="string"||typeof n.removeChild!="function"||!(n.attributes instanceof wf)||typeof n.removeAttribute!="function"||typeof n.setAttribute!="function"||typeof n.namespaceURI!="string"||typeof n.insertBefore!="function"||typeof n.hasChildNodes!="function")},gi=function(n){return o(lr)==="object"?n instanceof lr:n&&o(n)==="object"&&typeof n.nodeType=="number"&&typeof n.nodeName=="string"},at=function(n,t,i){rt[n]&&ni(rt[n],function(n){n.call(r,t,i,ui)})},cf=function(n){var u,t,s,f,a,o;if((at("beforeSanitizeElements",n,null),pe(n))||i(/[\u0080-\uFFFF]/,n.nodeName)||(t=p(n.nodeName),at("uponSanitizeElement",n,{tagName:t,allowedTags:l}),n.hasChildNodes()&&!gi(n.firstElementChild)&&(!gi(n.content)||!gi(n.content.firstElementChild))&&i(/<[/\w]/g,n.innerHTML)&&i(/<[/\w]/g,n.textContent))||t==="select"&&i(/<template/i,n.innerHTML))return lt(n),!0;if(!l[t]||ki[t]){if(!ki[t]&&af(t)&&(c.tagNameCheck instanceof RegExp&&i(c.tagNameCheck,t)||c.tagNameCheck instanceof Function&&c.tagNameCheck(t)))return!1;if(ru&&!dt[t]&&(s=vr(n)||n.parentNode,f=ne(n)||n.childNodes,f&&s))for(a=f.length,o=a-1;o>=0;--o)s.insertBefore(df(f[o],!0),gf(n));return lt(n),!0}return n instanceof cu&&!ye(n)?(lt(n),!0):(t==="noscript"||t==="noembed")&&i(/<\/no(script|embed)/i,n.innerHTML)?(lt(n),!0):(wt&&n.nodeType===3&&(u=n.textContent,u=e(u,wr," "),u=e(u,br," "),u=e(u,kr," "),n.textContent!==u&&(h(r.removed,{element:n.cloneNode()}),n.textContent=u)),at("afterSanitizeElements",n,null),!1)},lf=function(n,t,r){if(ku&&(t==="id"||t==="name")&&(r in vt||r in ae))return!1;if((!nu||gr[t]||!i(fe,t))&&(!wu||!i(ee,t)))if(!w[t]||gr[t]){if((!af(n)||!(c.tagNameCheck instanceof RegExp&&i(c.tagNameCheck,n)||c.tagNameCheck instanceof Function&&c.tagNameCheck(n))||!(c.attributeNameCheck instanceof RegExp&&i(c.attributeNameCheck,t)||c.attributeNameCheck instanceof Function&&c.attributeNameCheck(t)))&&(t!=="is"||!c.allowCustomizedBuiltInElements||!(c.tagNameCheck instanceof RegExp&&i(c.tagNameCheck,r)||c.tagNameCheck instanceof Function&&c.tagNameCheck(r))))return!1}else if(!uu[t]&&!i(dr,e(r,vu,""))&&(t!=="src"&&t!=="xlink:href"&&t!=="href"||n==="script"||ii(r,"data:")!==0||!nf[n])&&(!bu||i(oe,e(r,vu,"")))&&r)return!1;return!0},af=function(n){return n.indexOf("-")>0},vf=function(n){var h,t,s,l,c,u,v;
28if(at("beforeSanitizeAttributes",n,null),c=n.attributes,c){for(u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w},l=c.length;l--;){h=c[l];var y=h,f=y.name,a=y.namespaceURI;if((t=f==="value"?h.value:ri(h.value),s=p(f),u.attrName=s,u.attrValue=t,u.keepAttr=!0,u.forceKeepAttr=undefined,at("uponSanitizeAttribute",n,u),t=u.attrValue,!u.forceKeepAttr)&&(su(f,n),u.keepAttr)){if(i(/\/>/i,t)){su(f,n);continue}if(wt&&(t=e(t,wr," "),t=e(t,br," "),t=e(t,kr," ")),v=p(n.nodeName),lf(v,s,t)){if(du&&(s==="id"||s==="name")&&(su(f,n),t=se+t),b&&o(nr)==="object"&&typeof nr.getAttributeType=="function"&&!a)switch(nr.getAttributeType(v,s)){case"TrustedHTML":t=b.createHTML(t);break;case"TrustedScriptURL":t=b.createScriptURL(t)}try{a?n.setAttributeNS(a,f,t):n.setAttribute(f,t);ft(r.removed)}catch(k){}}}}at("afterSanitizeAttributes",n,null)}},yf=function yf(n){var t,i=hf(n);for(at("beforeSanitizeShadowDOM",n,null);t=i.nextNode();)(at("uponSanitizeShadowNode",t,null),cf(t))||(t.content instanceof hu&&yf(t.content),vf(t));at("afterSanitizeShadowDOM",n,null)};return r.sanitize=function(n){var k=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},t,h,s,a,c,v,y,u;if(fu=!n,fu&&(n="<!-->"),typeof n!="string"&&!gi(n))if(typeof n.toString!="function")throw d("toString is not a function");else if(n=n.toString(),typeof n!="string")throw d("dirty is not a string, aborting");if(!r.isSupported){if(o(f.toStaticHTML)==="object"||typeof f.toStaticHTML=="function"){if(typeof n=="string")return f.toStaticHTML(n);if(gi(n))return f.toStaticHTML(n.outerHTML)}return n}if(tu||ou(k),r.removed=[],typeof n=="string"&&(di=!1),di){if(n.nodeName&&(v=p(n.nodeName),!l[v]||ki[v]))throw d("root node is forbidden and cannot be sanitized in-place");}else if(n instanceof lr)t=sf("<!---->"),h=t.ownerDocument.importNode(n,!0),h.nodeType===1&&h.nodeName==="BODY"?t=h:h.nodeName==="HTML"?t=h:t.appendChild(h);else{if(!bt&&!wt&&!yt&&n.indexOf("<")===-1)return b&&fr?b.createHTML(n):n;if(t=sf(n),!t)return bt?null:fr?yr:""}for(t&&iu&&lt(t.firstChild),y=hf(di?n:t);s=y.nextNode();)(s.nodeType!==3||s!==a)&&(cf(s)||(s.content instanceof hu&&yf(s.content),vf(s),a=s));if(a=null,di)return n;if(bt){if(ur)for(c=ie.call(t.ownerDocument);t.firstChild;)c.appendChild(t.firstChild);else c=t;return w.shadowroot&&(c=ue.call(cr,c,!0)),c}return u=yt?t.outerHTML:t.innerHTML,yt&&l["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&i(pi,t.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+u),wt&&(u=e(u,wr," "),u=e(u,br," "),u=e(u,kr," ")),b&&fr?b.createHTML(u):u},r.setConfig=function(n){ou(n);tu=!0},r.clearConfig=function(){ui=null;tu=!1},r.isValidAttribute=function(n,t,i){ui||ou({});var r=p(n),u=p(t);return lf(r,u,i)},r.addHook=function(n,t){typeof t=="function"&&(rt[n]=rt[n]||[],h(rt[n],t))},r.removeHook=function(n){if(rt[n])return ft(rt[n])},r.removeHooks=function(n){rt[n]&&(rt[n]=[])},r.removeAllHooks=function(){rt={}},r}var wt=Object.hasOwnProperty,rt=Object.setPrototypeOf,bt=Object.isFrozen,kt=Object.getPrototypeOf,dt=Object.getOwnPropertyDescriptor,t=Object.freeze,f=Object.seal,gt=Object.create,ut=typeof Reflect!="undefined"&&Reflect,l=ut.apply,b=ut.construct;l||(l=function(n,t,i){return n.apply(t,i)});t||(t=function(n){return n});f||(f=function(n){return n});b||(b=function(n,t){return c(n,u(t))});var ni=r(Array.prototype.forEach),ft=r(Array.prototype.pop),h=r(Array.prototype.push),a=r(String.prototype.toLowerCase),k=r(String.prototype.toString),ti=r(String.prototype.match),e=r(String.prototype.replace),ii=r(String.prototype.indexOf),ri=r(String.prototype.trim),i=r(RegExp.prototype.test),d=ui(TypeError);var et=t(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),g=t(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),nt=t(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fi=t(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),tt=t(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),ei=t(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ot=t(["#text"]),st=t(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
28spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),it=t(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ht=t(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),y=t(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),oi=f(/\{\{[\w\W]*|[\w\W]*\}\}/gm),si=f(/<%[\w\W]*|[\w\W]*%>/gm),hi=f(/\${[\w\W]*}/gm),ci=f(/^data-[\-\w.\u00B7-\uFFFF]/),li=f(/^aria-[\-\w]+$/),ai=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vi=f(/^(?:\w+script|data):/i),yi=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pi=f(/^html$/i),wi=function(){return typeof window=="undefined"?null:window},bi=function(n,t){var i,r,u;if(o(n)!=="object"||typeof n.createPolicy!="function")return null;i=null;r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(i=t.currentScript.getAttribute(r));u="dompurify"+(i?"#"+i:"");try{return n.createPolicy(u,{createHTML:function(n){return n},createScriptURL:function(n){return n}})}catch(s){return console.warn("TrustedTypes policy "+u+" could not be created."),null}};return ct()});
29/** 
30 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
31 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
32 *                                                                                                                                                                                                      
33 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
34 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
35 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
36                                                                                                                                                                                                       
37                                                                                                                                                                                                       
38                                                                                                                                                                                                       
39                                                                                                                                                                                                       
40                                                                                                                                                                                                       
41                                                                                                                                                                                                       
42                                                                                                                                                                                                       
43                                                                                                                                                                                                       
44                                                                                                                                                                                                       
45                                                                                                                                                                                                       
46                                                                                                                                                                                                       
47                                                                                                                                                                                                       
48                                                                                                                                                                                                       
49                                                                                                                                                                                                       
50                                                                                                                                                                                                       
51
52*/
53!function(e,define){define("kendo.core.min",["jquery"],e)}(function(){return function(e,t,n){function r(){}function o(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var n=e.charAt(0),r=e.substring(1);return"="===n?"+("+r+")+":":"===n?"+$kendoHtmlEncode("+r+")+":";"+e+";$kendoOutput+="}function i(e,t,n){return e+="",t=t||2,n=t-e.length,n?B[t].substring(0,n)+e:e}function a(e){var t=e.css(be.support.transitions.css+"box-shadow")||e.css("box-shadow"),n=t?t.match(Ae)||[0,0,0,0,0]:[0,0,0,0,0],r=Te.max(+n[3],+(n[4]||0));return{left:-n[1]+r,right:+n[1]+r,bottom:+n[2]+r}}function s(n,r){var o,i,a,s,l,c,d=ze.browser,f=be._outerWidth,p=be._outerHeight,m=n.parent(),h=f(t);return m.removeClass("k-animation-container-sm"),m.hasClass("k-animation-container")?u(n,r):(i=n[0].style.width,a=n[0].style.height,s=De.test(i),l=De.test(a),c=n.hasClass("k-tooltip")||n.is(".k-menu-horizontal.k-context-menu"),o=s||l,!s&&(!r||r&&i||c)&&(i=r?f(n)+1:f(n)),(!l&&(!r||r&&a)||n.is(".k-menu-horizontal.k-context-menu"))&&(a=p(n)),n.wrap(e("<div/>").addClass("k-animation-container").css({width:i,height:a})),m=n.parent(),o&&n.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})),h<f(m)&&(m.addClass("k-animation-container-sm"),u(n,r)),d.msie&&Te.floor(d.version)<=7&&(n.css({zoom:1}),n.children(".k-menu").width(n.width())),m}function u(e,t){var n,r=be._outerWidth,o=be._outerHeight,i=e.parent(".k-animation-container"),a=i[0].style;i.is(":hidden")&&i.css({display:"",position:""}),n=De.test(a.width)||De.test(a.height),n||i.css({width:t?r(e)+1:r(e),height:o(e),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})}function l(e){var t=1,n=arguments.length;for(t=1;t<n;t++)c(e,arguments[t]);return e}function c(e,n){var r,o,i,a,s,u=be.data.ObservableArray,l=be.data.LazyObservableArray,d=be.data.DataSource,f=be.data.HierarchicalDataSource;for(r in n)o=n[r],i=typeof o,a=i===Ne&&null!==o?o.constructor:null,!a||a===Array||a===u||a===l||a===d||a===f||a===RegExp||be.isFunction(t.ArrayBuffer)&&a===ArrayBuffer?i!==je&&(e[r]=o):o instanceof Date?e[r]=new Date(o.getTime()):F(o.clone)?e[r]=o.clone():(s=e[r],e[r]=typeof s===Ne?s||{}:{},c(e[r],o));return e}function d(e,t,r){for(var o in t)if(t.hasOwnProperty(o)&&t[o].test(e))return o;return r!==n?r:e}function f(e){return e.replace(/([a-z][A-Z])/g,function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()})}function p(e){return e.replace(/\-(\w)/g,function(e,t){return t.toUpperCase()})}function m(t,n){var r,o={};return document.defaultView&&document.defaultView.getComputedStyle?(r=document.defaultView.getComputedStyle(t,""),n&&e.each(n,function(e,t){o[t]=r.getPropertyValue(t)})):(r=t.currentStyle,n&&e.each(n,function(e,t){o[t]=r[p(t)]})),be.size(o)||(o=r),o}function h(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=m(e,["overflow"]).overflow;return"auto"==t||"scroll"==t}function g(t,r){var o,i=ze.browser.webkit,a=ze.browser.mozilla,s=t instanceof e?t[0]:t;if(t)return o=ze.isRtl(t),r===n?o&&i?s.scrollWidth-s.clientWidth-s.scrollLeft:Math.abs(s.scrollLeft):(s.scrollLeft=o&&i?s.scrollWidth-s.clientWidth-r:o&&a?-r:r,n)}function y(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n}function v(e,n,r){var o,i,a;return n||(n="offset"),o=e[n](),i={top:o.top,right:o.right,bottom:o.bottom,left:o.left}
53,ze.browser.msie&&(ze.pointers||ze.msPointers)&&!r&&(a=ze.isRtl(e)?1:-1,i.top-=t.pageYOffset-document.documentElement.scrollTop,i.left-=t.pageXOffset+a*document.documentElement.scrollLeft),i}function b(e){var t={};return Me("string"==typeof e?e.split(" "):e,function(e){t[e]=this}),t}function w(e){return new be.effects.Element(e)}function M(e,t,n,r){return typeof e===He&&(F(t)&&(r=t,t=400,n=!1),F(n)&&(r=n,n=!1),typeof t===Re&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:r}),we({effects:{},duration:400,reverse:!1,init:ke,teardown:ke,hide:!1},e,{completeCallback:e.complete,complete:ke})}function x(t,n,r,o,i){for(var a,s=0,u=t.length;s<u;s++)a=e(t[s]),a.queue(function(){q.promise(a,M(n,r,o,i))});return t}function S(e,t,n,r){return t&&(t=t.split(" "),Me(t,function(t,n){e.toggleClass(n,r)})),e}function k(e){return(""+e).replace(J,"&amp;").replace(V,"&lt;").replace(Q,"&gt;").replace(G,"&quot;").replace(K,"&#39;")}function T(e){var n;try{n=t.decodeURIComponent(e)}catch(r){n=e.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,function(e,t,n){return String.fromCharCode(parseInt("0x"+(t||n),16))})}return n}function O(e,t){var r;
53return 0===t.indexOf("data")&&(t=t.substring(4),t=t.charAt(0).toLowerCase()+t.substring(1)),t=t.replace(ae,"-$1"),r=e.getAttribute("data-"+be.ns+t),null===r?r=n:"null"===r?r=null:"true"===r?r=!0:"false"===r?r=!1:Ee.test(r)&&"mask"!=t?r=parseFloat(r):oe.test(r)&&!ie.test(r)&&(r=Function("return ("+r+")")()),r}function z(t,r,o){var i,a,s={},u=t.getAttribute("data-"+be.ns+"role");for(i in r)a=O(t,i),a!==n&&(re.test(i)&&"drawer"!=u&&("string"==typeof a?e("#"+a).length?a=be.template(e("#"+a).html()):o&&(a=be.template(o[a])):a=t.getAttribute(i)),s[i]=a);return s}function D(t,n){return e.contains(t,n)?-1:1}function C(){var t=e(this);return e.inArray(t.attr("data-"+be.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||t.is(":visible")}function A(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&E(e)}function E(t){return e.expr.pseudos.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}function _(e,t){return new _.fn.init(e,t)}var H,F,N,P,R,j,U,I,W,$,L,B,Y,q,J,V,G,K,Q,Z,X,ee,te,ne,re,oe,ie,ae,se,ue,le,ce,de,fe,pe,me,he,ge,ye,ve,be=t.kendo=t.kendo||{cultures:{}},we=e.extend,Me=e.each,xe=e.isArray,Se=e.proxy,ke=e.noop,Te=Math,Oe=t.JSON||{},ze={},De=/%/,Ce=/\{(\d+)(:[^\}]+)?\}/g,Ae=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,Ee=/^(\+|-?)\d+(\.?)\d*$/,_e="function",He="string",Fe="number",Ne="object",Pe="null",Re="boolean",je="undefined",Ue={},Ie={},We=[].slice,$e=function(){var e,t,r,o,i,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"==typeof s||jQuery.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(i=arguments[u]))for(o in i)"filters"!=o&&"concat"!=o&&":"!=o&&(e=s[o],r=i[o],s!==r&&(c&&r&&(jQuery.isPlainObject(r)||(t=jQuery.isArray(r)))?(t?(t=!1,a=e&&jQuery.isArray(e)?e:[]):a=e&&jQuery.isPlainObject(e)?e:{},s[o]=$e(c,a,r)):r!==n&&(s[o]=r)));return s};be.version="2020.2.513".replace(/^\s+|\s+$/g,""),r.extend=function(e){var t,n,r=function(){},o=this,i=e&&e.init?e.init:function(){o.apply(this,arguments)};r.prototype=o.prototype,n=i.fn=i.prototype=new r;for(t in e)n[t]=null!=e[t]&&e[t].constructor===Object?we(!0,{},r.prototype[t],e[t]):e[t];return n.constructor=i,i.extend=o.extend,i},r.prototype._initOptions=function(e){this.options=l({},this.options,e)},F=be.isFunction=function(e){return"function"==typeof e},N=function(){this._defaultPrevented=!0},P=function(){return this._defaultPrevented===!0},R=r.extend({init:function(){this._events={}},bind:function(e,t,r){var o,i,a,s,u,l=this,c=typeof e===He?[e]:e,d=typeof t===_e;if(t===n){for(o in e)l.bind(o,e[o]);return l}for(o=0,i=c.length;o<i;o++)e=c[o],s=d?t:t[e],s&&(r&&(a=s,s=function(){l.unbind(e,s),a.apply(l,arguments)},s.original=a),u=l._events[e]=l._events[e]||[],u.push(s));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,r,o,i,a=this,s=typeof e===He?[e]:e,u=typeof t===_e;for(n=0,r=s.length;n<r;n++)e=s[n],o=u?t:t[e],o&&(i=a._events[e]=a._events[e]||[],i.unshift(o));return a},trigger:function(e,t){var n,r,o=this,i=o._events[e];if(i){for(t=t||{},t.sender=o,t._defaultPrevented=!1,t.preventDefault=N,t.isDefaultPrevented=P,i=i.slice(),n=0,r=i.length;n<r;n++)i[n].call(o,t);return t._defaultPrevented===!0}return!1},unbind:function(e,t){var r,o=this,i=o._events[e];if(e===n)o._events={};else if(i)if(t)for(r=i.length-1;r>=0;r--)i[r]!==t&&i[r].original!==t||i.splice(r,1);else o._events[e]=[];return o}}),j=/^\w+/,U=/\$\{([^}]*)\}/g,I=/\\\}/g,W=/__CURLY__/g,$=/\\#/g,L=/__SHARP__/g,B=["","0","00","000","0000"],H={paramName:"data",useWithBlock:!0,render:function(e,t){var n,r,o="";for(n=0,r=t.length;n<r;n++)o+=e(t[n]);return o},compile:function(e,t){var n,r,i,a=we({},this,t),s=a.paramName,u=s.match(j)[0],l=a.useWithBlock,c="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if(F(e))return e;for(c+=l?"with("+s+"){":"",c+="$kendoOutput=",r=e.replace(I,"__CURLY__").replace(U,"#=$kendoHtmlEncode($1)#").replace(W,"}").replace($,"__SHARP__").split("#"),i=0;i<r.length;i++)c+=o(r[i],i%2===0);c+=l?";}":";",c+="return $kendoOutput;",c=c.replace(L,"#");try{return n=Function(u,c),n._slotCount=Math.floor(r.length/2),n}catch(d){throw Error(be.format("Invalid template:'{0}' Generated code:'{1}'",e,c))}}},function(){function e(e){return a.lastIndex=0,a.test(e)?'"'+e.replace(a,function(e){var t=s[e];return typeof t===He?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function t(i,a){var s,l,c,d,f,p,m=n,h=a[i];if(h&&typeof h===Ne&&typeof h.toJSON===_e&&(h=h.toJSON(i)),typeof o===_e&&(h=o.call(a,i,h)),p=typeof h,p===He)return e(h);if(p===Fe)return isFinite(h)?h+"":Pe;if(p===Re||p===Pe)return h+"";if(p===Ne){if(!h)return Pe;if(n+=r,f=[],"[object Array]"===u.apply(h)){for(d=h.length,s=0;s<d;s++)f[s]=t(s,h)||Pe;return c=0===f.length?"[]":n?"[\n"+n+f.join(",\n"+n)+"\n"+m+"]":"["+f.join(",")+"]",n=m,c}if(o&&typeof o===Ne)for(d=o.length,s=0;s<d;s++)typeof o[s]===He&&(l=o[s],c=t(l,h),c&&f.push(e(l)+(n?": ":":")+c));else for(l in h)Object.hasOwnProperty.call(h,l)&&(c=t(l,h),c&&f.push(e(l)+(n?": ":":")+c));return c=0===f.length?"{}":n?"{\n"+n+f.join(",\n"+n)+"\n"+m+"}":"{"+f.join(",")+"}",n=m,c}}var n,r,o,a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},u={}.toString;typeof Date.prototype.toJSON!==_e&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?i(e.getUTCFullYear(),4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof Oe.stringify!==_e&&(Oe.stringify=function(e,i,a){var s;if(n="",r="",typeof a===Fe)for(s=0;s<a;s+=1)r+=" ";else typeof a===He&&(r=a);if(o=i,i&&typeof i!==_e&&(typeof i!==Ne||typeof i.length!==Fe))throw Error("JSON.stringify");return t("",{"":e})})}(),function(){function t(e){if(e){if(e.numberFormat)return e;if(typeof e===He){var t=be.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function r(e){return e&&(e=t(e)),e||be.cultures.current}function o(e,t,o){o=r(o);var a=o.calendars.standard,s=a.days,u=a.months;return t=a.patterns[t]||t,t.replace(c,function(t){var r,o,l;return"d"===t?o=e.getDate():"dd"===t?o=i(e.getDate()):"ddd"===t?o=s.namesAbbr[e.getDay()]:"dddd"===t?o=s.names[e.getDay()]:"M"===t?o=e.getMonth()+1:"MM"===t?o=i(e.getMonth()+1):"MMM"===t?o=u.namesAbbr[e.getMonth()]:"MMMM"===t?o=u.names[e.getMonth()]:"yy"===t?o=i(e.getFullYear()%100):"yyyy"===t?o=i(e.getFullYear(),4):"h"===t?o=e.getHours()%12||12:"hh"===t?o=i(e.getHours()%12||12):"H"===t?o=e.getHours():"HH"===t?o=i(e.getHours()):"m"===t?o=e.getMinutes():"mm"===t?o=i(e.getMinutes()):"s"===t?o=e.getSeconds():"ss"===t?o=i(e.getSeconds()):"f"===t?o=Te.floor(e.getMilliseconds()/100):"ff"===t?(o=e.getMilliseconds(),o>99&&(o=Te.floor(o/10)),o=i(o)):"fff"===t?o=i(e.getMilliseconds(),3):"tt"===t?o=e.getHours()<12?a.AM[0]:a.PM[0]:"zzz"===t?(r=e.getTimezoneOffset(),l=r<0,o=(""+Te.abs(r/60)).split(".")[0],r=Te.abs(r)-60*o,o=(l?"+":"-")+i(o),o+=":"+i(r)):"zz"!==t&&"z"!==t||(o=e.getTimezoneOffset()/60,l=o<0,o=(""+Te.abs(o)).split(".")[0],o=(l?"+":"-")+("zz"===t?i(o):o)),o!==n?o:t.slice(1,t.length-1)})}function a(e,t,o){var i,a,l,c,w,M,x,S,k,T,O,z,D,C,A,E,_,H,F,N,P,R,j,U,I,W,$,L,B,Y,q,J,V,G;if(o=r(o),i=o.numberFormat,a=i[h],l=i.decimals,c=i.pattern[0],w=[],O=e<0,E=m,_=m,q=-1,e===n)return m;if(!isFinite(e))return e;
53if(!t)return o.name.length?e.toLocaleString():""+e;if(T=d.exec(t)){if(t=T[1].toLowerCase(),x="c"===t,S="p"===t,(x||S)&&(i=x?i.currency:i.percent,a=i[h],l=i.decimals,M=i.symbol,c=i.pattern[O?0:1]),k=T[2],k&&(l=+k),"e"===t)return V=k?e.toExponential(l):e.toExponential(),V.replace(h,i[h]);if(S&&(e*=100),e=u(e,l),O=e<0,e=e.split(h),z=e[0],D=e[1],O&&(z=z.substring(1)),_=s(z,0,z.length,i),D&&(_+=a+D),"n"===t&&!O)return _;for(e=m,H=0,F=c.length;H<F;H++)N=c.charAt(H),e+="n"===N?_:"$"===N||"%"===N?M:N;return e}if((t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1)&&(t=t.replace(f,function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return w.push(n),b})),t=t.split(";"),O&&t[1])t=t[1],R=!0;else if(0===e&&t[2]){if(t=t[2],t.indexOf(y)==-1&&t.indexOf(v)==-1)return t}else t=t[0];if(L=t.indexOf("%"),B=t.indexOf("$"),S=L!=-1,x=B!=-1,S&&(e*=100),x&&"\\"===t[B-1]&&(t=t.split("\\").join(""),x=!1),(x||S)&&(i=x?i.currency:i.percent,a=i[h],l=i.decimals,M=i.symbol),P=t.indexOf(g)>-1,P&&(t=t.replace(p,m)),j=t.indexOf(h),F=t.length,j!=-1)if(D=(""+e).split("e"),D=D[1]?u(e,Math.abs(D[1])):D[0],D=D.split(h)[1]||m,I=t.lastIndexOf(v)-j,U=t.lastIndexOf(y)-j,W=I>-1,$=U>-1,H=D.length,W||$||(t=t.substring(0,j)+t.substring(j+1),F=t.length,j=-1,H=0),W&&I>U)H=I;else if(U>I)if($&&H>U){for(G=u(e,U,O);G.charAt(G.length-1)===v&&U>0&&U>I;)U--,G=u(e,U,O);H=U}else W&&H<I&&(H=I);if(e=u(e,H,O),U=t.indexOf(y),Y=I=t.indexOf(v),q=U==-1&&I!=-1?I:U!=-1&&I==-1?U:U>I?I:U,U=t.lastIndexOf(y),I=t.lastIndexOf(v),J=U==-1&&I!=-1?I:U!=-1&&I==-1?U:U>I?U:I,q==F&&(J=q),q!=-1){for(_=(""+e).split(h),z=_[0],D=_[1]||m,C=z.length,A=D.length,O&&e*-1>=0&&(O=!1),e=t.substring(0,q),O&&!R&&(e+="-"),H=q;H<F;H++){if(N=t.charAt(H),j==-1){if(J-H<C){e+=z;break}}else if(I!=-1&&I<H&&(E=m),j-H<=C&&j-H>-1&&(e+=z,H=j),j===H){e+=(D?a:m)+D,H+=J-j+1;continue}N===v?(e+=N,E=N):N===y&&(e+=E)}if(P&&(e=s(e,q+(O&&!R?1:0),Math.max(J,C+q),i)),J>=q&&(e+=t.substring(J+1)),x||S){for(_=m,H=0,F=e.length;H<F;H++)N=e.charAt(H),_+="$"===N||"%"===N?M:N;e=_}if(F=w.length)for(H=0;H<F;H++)e=e.replace(b,w[H])}return e}var s,u,l,c=/dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|zzz|zz|z|"[^"]*"|'[^']*'/g,d=/^(n|c|p|e)(\d*)$/i,f=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,p=/\,/g,m="",h=".",g=",",y="#",v="0",b="??",w="en-US",M={}.toString;be.cultures["en-US"]={name:w,numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n %","n %"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{name:"US Dollar",abbr:"USD",pattern:["($n)","$n"],decimals:2,",":",",".":".",groupSize:[3],symbol:"$"}},calendars:{standard:{days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December"],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},AM:["AM","am","AM"],PM:["PM","pm","PM"],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",F:"dddd, MMMM dd, yyyy h:mm:ss tt",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",m:"MMMM dd",M:"MMMM dd",s:"yyyy'-'MM'-'ddTHH':'mm':'ss",t:"h:mm tt",T:"h:mm:ss tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM, yyyy",Y:"MMMM, yyyy"},"/":"/",":":":",firstDay:0,twoDigitYearMax:2029}}},be.culture=function(e){var r,o=be.cultures;return e===n?o.current:(r=t(e)||o[w],r.calendar=r.calendars.standard,o.current=r,n)},be.findCulture=t,be.getCulture=r,be.culture(w),s=function(e,t,r,o){var i,a,s,u,l,c,d=e.indexOf(o[h]),f=o.groupSize.slice(),p=f.shift();if(r=d!==-1?d:r+1,i=e.substring(t,r),a=i.length,a>=p){for(s=a,u=[];s>-1;)if(l=i.substring(s-p,s),l&&u.push(l),s-=p,c=f.shift(),p=c!==n?c:p,0===p){s>0&&u.push(i.substring(0,s));break}i=u.reverse().join(o[g]),e=e.substring(0,t)+i+e.substring(r)}return e},u=function(e,t,n){return t=t||0,e=(""+e).split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t))),n&&(e=-e),e=(""+e).split("e"),e=+(e[0]+"e"+(e[1]?+e[1]-t:-t)),e.toFixed(Math.min(t,20))},l=function(e,t,r){if(t){if("[object Date]"===M.call(e))return o(e,t,r);if(typeof e===Fe)return a(e,t,r)}return e!==n?e:""},be.format=function(e){var t=arguments;return e.replace(Ce,function(e,n,r){var o=t[parseInt(n,10)+1];return l(o,r?r.substring(1):"")})},be._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},be._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},be._round=u,be._outerWidth=function(t,n){return e(t).outerWidth(n||!1)||0},be._outerHeight=function(t,n){return e(t).outerHeight(n||!1)||0},be.toString=l}(),function(){function t(e,t,n){return!(e>=t&&e<=n)}function r(e){return e.charAt(0)}function o(t){return e.map(t,r)}function i(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}function a(e){for(var t=0,n=e.length,r=[];t<n;t++)r[t]=(e[t]+"").toLowerCase();return r}function s(e){var t,n={};for(t in e)n[t]=a(e[t]);return n}function u(e,r,a,u){if(!e)return null;var l,c,d,f,p,g,y,v,b,M,x,S,k,T=function(e){for(var t=0;r[R]===e;)t++,R++;return t>
530&&(R-=1),t},O=function(t){var n=w[t]||RegExp("^\\d{1,"+t+"}"),r=e.substr(j,t).match(n);return r?(r=r[0],j+=r.length,parseInt(r,10)):null},z=function(t,n){for(var r,o,i,a=0,s=t.length,u=0,l=0;a<s;a++)r=t[a],o=r.length,i=e.substr(j,o),n&&(i=i.toLowerCase()),i==r&&o>u&&(u=o,l=a);return u?(j+=u,l+1):null},D=function(){var t=!1;return e.charAt(j)===r[R]&&(j++,t=!0),t},C=a.calendars.standard,A=null,E=null,_=null,H=null,F=null,N=null,P=null,R=0,j=0,U=!1,I=new Date,W=C.twoDigitYearMax||2029,$=I.getFullYear();for(r||(r="d"),f=C.patterns[r],f&&(r=f),r=r.split(""),d=r.length;R<d;R++)if(l=r[R],U)"'"===l?U=!1:D();else if("d"===l){if(c=T("d"),C._lowerDays||(C._lowerDays=s(C.days)),null!==_&&c>2)continue;if(_=c<3?O(2):z(C._lowerDays[3==c?"namesAbbr":"names"],!0),null===_||t(_,1,31))return null}else if("M"===l){if(c=T("M"),C._lowerMonths||(C._lowerMonths=s(C.months)),E=c<3?O(2):z(C._lowerMonths[3==c?"namesAbbr":"names"],!0),null===E||t(E,1,12))return null;E-=1}else if("y"===l){if(c=T("y"),A=O(c),null===A)return null;2==c&&("string"==typeof W&&(W=$+parseInt(W,10)),A=$-$%100+A,A>W&&(A-=100))}else if("h"===l){if(T("h"),H=O(2),12==H&&(H=0),null===H||t(H,0,11))return null}else if("H"===l){if(T("H"),H=O(2),null===H||t(H,0,23))return null}else if("m"===l){if(T("m"),F=O(2),null===F||t(F,0,59))return null}else if("s"===l){if(T("s"),N=O(2),null===N||t(N,0,59))return null}else if("f"===l){if(c=T("f"),k=e.substr(j,c).match(w[3]),P=O(c),null!==P&&(P=parseFloat("0."+k[0],10),P=be._round(P,3),P*=1e3),null===P||t(P,0,999))return null}else if("t"===l){if(c=T("t"),v=C.AM,b=C.PM,1===c&&(v=o(v),b=o(b)),p=z(b),!p&&!z(v))return null}else if("z"===l){if(g=!0,c=T("z"),"Z"===e.substr(j,1)){D();continue}if(y=e.substr(j,6).match(c>2?h:m),!y)return null;if(y=y[0].split(":"),M=y[0],x=y[1],!x&&M.length>3&&(j=M.length-2,x=M.substring(j),M=M.substring(0,j)),M=parseInt(M,10),t(M,-12,13))return null;if(c>2&&(x=y[0][0]+x,x=parseInt(x,10),isNaN(x)||t(x,-59,59)))return null}else if("'"===l)U=!0,D();else if(!D())return null;return u&&!/^\s*$/.test(e.substr(j))?null:(S=null!==H||null!==F||N||null,null===A&&null===E&&null===_&&S?(A=$,E=I.getMonth(),_=I.getDate()):(null===A&&(A=$),null===_&&(_=1)),p&&H<12&&(H+=12),g?(M&&(H+=-M),x&&(F+=-x),e=new Date(Date.UTC(A,E,_,H,F,N,P))):(e=new Date(A,E,_,H,F,N,P),i(e,H)),A<100&&e.setFullYear(A),e.getDate()!==_&&g===n?null:e)}function l(e){var t="-"===e.substr(0,1)?-1:1;return e=e.substring(1),e=60*parseInt(e.substr(0,2),10)+parseInt(e.substring(2),10),t*e}function c(e){var t,n,r,o=Te.max(v.length,b.length),i=e.calendar||e.calendars.standard,a=i.patterns,s=[];for(r=0;r<o;r++){for(t=v[r],n=0;n<t.length;n++)s.push(a[t[n]]);s=s.concat(b[r])}return s}function d(e,t,n,r){var o,i,a,s;if("[object Date]"===M.call(e))return e;if(o=0,i=null,e&&0===e.indexOf("/D")&&(i=g.exec(e)))return i=i[1],s=y.exec(i.substring(1)),i=new Date(parseInt(i,10)),s&&(s=l(s[0]),i=be.timezone.apply(i,0),i=be.timezone.convert(i,0,-1*s)),i;for(n=be.getCulture(n),t||(t=c(n)),t=xe(t)?t:[t],a=t.length;o<a;o++)if(i=u(e,t[o],n,r))return i;return i}var f=/\u00A0/g,p=/[eE][\-+]?[0-9]+/,m=/[+|\-]\d{1,2}/,h=/[+|\-]\d{1,2}:?\d{2}/,g=/^\/Date\((.*?)\)\/$/,y=/[+-]\d*/,v=[[],["G","g","F"],["D","d","y","m","T","t"]],b=[["yyyy-MM-ddTHH:mm:ss.fffffffzzz","yyyy-MM-ddTHH:mm:ss.fffffff","yyyy-MM-ddTHH:mm:ss.fffzzz","yyyy-MM-ddTHH:mm:ss.fff","ddd MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:sszzz","yyyy-MM-ddTHH:mmzzz","yyyy-MM-ddTHH:mmzz","yyyy-MM-ddTHH:mm:ss","yyyy-MM-dd HH:mm:ss","yyyy/MM/dd HH:mm:ss"],["yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm","yyyy/MM/dd HH:mm"],["yyyy/MM/dd","yyyy-MM-dd","HH:mm:ss","HH:mm"]],w={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},M={}.toString;be.parseDate=function(e,t,n){return d(e,t,n,!1)},be.parseExactDate=function(e,t,n){return d(e,t,n,!0)},be.parseInt=function(e,t){var n=be.parseFloat(e,t);return n&&(n=0|n),n},be.parseFloat=function(e,t,n){if(!e&&0!==e)return null;if(typeof e===Fe)return e;e=""+e,t=be.getCulture(t);var r,o,i=t.numberFormat,a=i.percent,s=i.currency,u=s.symbol,l=a.symbol,c=e.indexOf("-");return p.test(e)?(e=parseFloat(e.replace(i["."],".")),isNaN(e)&&(e=null),e):c>0?null:(c=c>-1,e.indexOf(u)>-1||n&&n.toLowerCase().indexOf("c")>-1?(i=s,r=i.pattern[0].replace("$",u).split("n"),e.indexOf(r[0])>-1&&e.indexOf(r[1])>-1&&(e=e.replace(r[0],"").replace(r[1],""),c=!0)):e.indexOf(l)>-1&&(o=!0,i=a,u=l),e=e.replace("-","").replace(u,"").replace(f," ").split(i[","].replace(f," ")).join("").replace(i["."],"."),e=parseFloat(e),isNaN(e)?e=null:c&&(e*=-1),e&&o&&(e/=100),e)}}(),function(){var r,o,i,a,s,u,l,c,f,p,m,h;ze._scrollbar=n,ze.scrollbar=function(e){if(isNaN(ze._scrollbar)||e){var t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",document.body.appendChild(n),ze._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return ze._scrollbar},ze.isRtl=function(t){return e(t).closest(".k-rtl").length>0},r=document.createElement("table");try{r.innerHTML="<tr><td></td></tr>",ze.tbodyInnerHtml=!0}catch(g){ze.tbodyInnerHtml=!1}ze.touch="ontouchstart"in t,o=document.documentElement.style,i=ze.transitions=!1,a=ze.transforms=!1,s="HTMLElement"in t?HTMLElement.prototype:[],ze.hasHW3D="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix||"MozPerspective"in o||"msPerspective"in o,ze.cssFlexbox="flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,Me(["Moz","webkit","O","ms"],function(){var e,t=""+this,n=typeof r.style[t+"Transition"]===He;if(n||typeof r.style[t+"Transform"]===He)return e=t.toLowerCase(),a={css:"ms"!=e?"-"+e+"-":"",prefix:t,event:"o"===e||"webkit"===e?e:""},n&&(i=a,i.event=i.event?i.event+"TransitionEnd":"transitionend"),!1}),r=null,ze.transforms=a,ze.transitions=i,ze.devicePixelRatio=t.devicePixelRatio===n?1:t.devicePixelRatio;
53try{ze.screenWidth=t.outerWidth||t.screen?t.screen.availWidth:t.innerWidth,ze.screenHeight=t.outerHeight||t.screen?t.screen.availHeight:t.innerHeight}catch(g){ze.screenWidth=t.screen.availWidth,ze.screenHeight=t.screen.availHeight}ze.detectOS=function(e){var n,r,o=!1,i=[],a=!/mobile safari/i.test(e),s={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)\.?(\d+(\.\d+)?)?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},u={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},l={tablet:/playbook|ipad|fire/i},c={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(r in s)if(s.hasOwnProperty(r)&&(i=e.match(s[r]))){if("windows"==r&&"plugins"in navigator)return!1;o={},o.device=r,o.tablet=d(r,l,!1),o.browser=d(e,c,"default"),o.name=d(r,u),o[o.name]=!0,o.majorVersion=i[2],o.minorVersion=(i[3]||"0").replace("_","."),n=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+n+Array(3-(n.length<3?n.length:2)).join("0"),o.cordova=typeof t.PhoneGap!==je||typeof t.cordova!==je,o.appMode=t.navigator.standalone||/file|local|wmapp/.test(t.location.protocol)||o.cordova,o.android&&(ze.devicePixelRatio<1.5&&o.flatVersion<400||a)&&(ze.screenWidth>800||ze.screenHeight>800)&&(o.tablet=r);break}return o},u=ze.mobileOS=ze.detectOS(navigator.userAgent),ze.wpDevicePixelRatio=u.wp?screen.width/320:0,ze.hasNativeScrolling=!1,(u.ios||u.android&&u.majorVersion>2||u.wp)&&(ze.hasNativeScrolling=u),ze.delayedClick=function(){if(ze.touch){if(u.ios)return!0;if(u.android)return!ze.browser.chrome||!(ze.browser.version<32)&&!(e("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},ze.mouseAndTouchPresent=ze.touch&&!(ze.mobileOS.ios||ze.mobileOS.android),ze.detectBrowser=function(e){var t,n=!1,r=[],o={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(t in o)if(o.hasOwnProperty(t)&&(r=e.match(o[t]))){n={},n[t]=!0,n[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,n.version=parseInt(document.documentMode||r[2],10);break}return n},ze.browser=ze.detectBrowser(navigator.userAgent),ze.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return ze.browser.chrome&&(e.paste=!1,ze.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},ze.clipboard=ze.detectClipboardAccess(),ze.zoomLevel=function(){var e,n,r;try{return e=ze.browser,n=0,r=document.documentElement,e.msie&&11==e.version&&r.scrollHeight>r.clientHeight&&!ze.touch&&(n=ze.scrollbar()),ze.touch?r.clientWidth/t.innerWidth:e.msie&&e.version>=10?((top||t).document.documentElement.offsetWidth+n)/(top||t).innerWidth:1}catch(o){return 1}},ze.cssBorderSpacing=n!==o.borderSpacing&&!(ze.browser.msie&&ze.browser.version<8),function(t){var n="",r=e(document.documentElement),o=parseInt(t.version,10);t.msie?n="ie":t.mozilla?n="ff":t.safari?n="safari":t.webkit?n="webkit":t.opera?n="opera":t.edge&&(n="edge"),n&&(n="k-"+n+" 
53k-"+n+o),ze.mobileOS&&(n+=" k-mobile"),ze.cssFlexbox||(n+=" k-no-flexbox"),r.addClass(n)}(ze.browser),ze.eventCapture=document.documentElement.addEventListener,l=document.createElement("input"),ze.placeholder="placeholder"in l,ze.propertyChangeEvent="onpropertychange"in l,ze.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,r="test",o={},i=0;i<n;i++)e=t[i],l.setAttribute("type",e),l.value=r,o[e.replace("-","")]="text"!==l.type&&l.value!==r;return o}(),l.style.cssText="float:left;",ze.cssFloat=!!l.style.cssFloat,l=null,ze.stableSort=function(){var e,t=513,n=[{index:0,field:"b"}];for(e=1;e<t;e++)n.push({index:e,field:"a"});return n.sort(function(e,t){return e.field>t.field?1:e.field<t.field?-1:0}),1===n[0].index}(),ze.matchesSelector=s.webkitMatchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.matchesSelector||s.matches||function(t){for(var n=document.querySelectorAll?(this.parentNode||document).querySelectorAll(t)||[]:e(t),r=n.length;r--;)if(n[r]==this)return!0;return!1},ze.matchMedia="matchMedia"in t,ze.pushState=t.history&&t.history.pushState,c=document.documentMode,ze.hashChange="onhashchange"in t&&!(ze.browser.msie&&(!c||c<=8)),ze.customElements="registerElement"in t.document,f=ze.browser.chrome,p=ze.browser.crios,m=ze.browser.mozilla,h=ze.browser.safari,ze.msPointers=!f&&t.MSPointerEvent,ze.pointers=!f&&!p&&!m&&!h&&t.PointerEvent,ze.kineticScrollNeeded=u&&(ze.touch||ze.msPointers||ze.pointers)}(),Y={left:{reverse:"right"},right:{reverse:"left"},down:{reverse:"up"},up:{reverse:"down"},top:{reverse:"bottom"},bottom:{reverse:"top"},"in":{reverse:"out"},out:{reverse:"in"}},q={},e.extend(q,{enabled:!0,Element:function(t){this.element=e(t)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),q.promiseShim=q.promise,"kendoAnimate"in e.fn||we(e.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,r){return x(this,e,t,n,r)},kendoAddClass:function(e,t){return be.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return be.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return be.toggleClass(this,e,t,n)}}),J=/&/g,V=/</g,G=/"/g,K=/'/g,Q=/>/g,Z=function(e){return e.target},ze.touch&&(Z=function(e){var t="originalEvent"in e?e.originalEvent.changedTouches:"changedTouches"in e?e.changedTouches:null;return t?document.elementFromPoint(t[0].clientX,t[0].clientY):e.target},Me(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],function(t,n){e.fn[n]=function(e){return this.bind(n,e)}})),ze.touch?ze.mobileOS?(ze.mousedown="touchstart",ze.mouseup="touchend",ze.mousemove="touchmove",ze.mousecancel="touchcancel",ze.click="touchend",ze.resize="orientationchange"):(ze.mousedown="mousedown touchstart",ze.mouseup="mouseup touchend",ze.mousemove="mousemove touchmove",ze.mousecancel="mou
53seleave touchcancel",ze.click="click",ze.resize="resize"):ze.pointers?(ze.mousemove="pointermove",ze.mousedown="pointerdown",ze.mouseup="pointerup",ze.mousecancel="pointercancel",ze.click="pointerup",ze.resize="orientationchange resize"):ze.msPointers?(ze.mousemove="MSPointerMove",ze.mousedown="MSPointerDown",ze.mouseup="MSPointerUp",ze.mousecancel="MSPointerCancel",ze.click="MSPointerUp",ze.resize="orientationchange resize"):(ze.mousemove="mousemove",ze.mousedown="mousedown",ze.mouseup="mouseup",ze.mousecancel="mouseleave",ze.click="click",ze.resize="resize"),X=function(e,t){var n,r,o,i,a=t||"d",s=1;for(r=0,o=e.length;r<o;r++)i=e[r],""!==i&&(n=i.indexOf("["),0!==n&&(n==-1?i="."+i:(s++,i="."+i.substring(0,n)+" || {})"+i.substring(n))),s++,a+=i+(r<o-1?" || {})":")"));return Array(s).join("(")+a},ee=/^([a-z]+:)?\/\//i,we(be,{widgets:[],_widgetRegisteredCallbacks:[],ui:be.ui||{},fx:be.fx||w,effects:be.effects||q,mobile:be.mobile||{},data:be.data||{},dataviz:be.dataviz||{},drawing:be.drawing||{},spreadsheet:{messages:{}},keys:{INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:be.support||ze,animate:be.animate||x,ns:"",attr:function(e){return"data-"+be.ns+e},getShadows:a,wrap:s,deepExtend:l,getComputedStyles:m,isScrollable:h,scrollLeft:g,size:y,toCamelCase:p,toHyphens:f,getOffset:be.getOffset||v,parseEffects:be.parseEffects||b,toggleClass:be.toggleClass||S,directions:be.directions||Y,
54Observable:R,Class:r,Template:H,template:Se(H.compile,H),render:Se(H.render,H),stringify:Se(Oe.stringify,Oe),eventTarget:Z,htmlEncode:k,unescape:T,isLocalUrl:function(e){return e&&!ee.test(e)},expr:function(e,t,n){return e=e||"",typeof t==He&&(n=t,t=!1),n=n||"d",e&&"["!==e.charAt(0)&&(e="."+e),t?(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"'),e=e.replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'"),e=X(e.split("."),n),e=e.replace(/_\$DOT\$_/g,".")):e=n+e,e},getter:function(e,t){var n=e+t;return Ue[n]=Ue[n]||Function("d","return "+be.expr(e,t))},setter:function(e){return Ie[e]=Ie[e]||Function("d,value",be.expr(e)+"=value")},accessor:function(e){return{get:be.getter(e),set:be.setter(e)}},guid:function(){var e,t,n="";for(e=0;e<32;e++)t=16*Te.random()|0,8!=e&&12!=e&&16!=e&&20!=e||(n+="-"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n},roleSelector:function(e){return e.replace(/(\S+)/g,"["+be.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(e){var t,n=e.split(" ");if(n)for(t=0;t<n.length;t++)"view"!=n[t]&&(n[t]=n[t].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return n.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},onWidgetRegistered:function(e){for(var t=0,n=be.widgets.length;t<n;t++)e(be.widgets[t]);be._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,r){var o=t.console;!be.suppressLog&&n!==o&&o.log&&o[r||"log"](e)}}),te=R.extend({init:function(e,t){var n,r,o=this;o.element=be.jQuery(e).handler(o),o.angular("init",t),R.fn.init.call(o),n=t?t.dataSource:null,t&&(r=(o.componentTypes||{})[(t||{}).componentType]),n&&(t=we({},t,{dataSource:{}})),t=o.options=we(!0,{},o.options,o.defaults,r||{},t),n&&(t.dataSource=n),o.element.attr(be.attr("role"))||o.element.attr(be.attr("role"),(t.name||"").toLowerCase()),o.element.data("kendo"+t.prefix+t.name,o),o.bind(o.events,t)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",r=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(r)?0:r)},setOptions:function(t){this._setEvents(t),e.extend(this.options,t)},_setEvents:function(e){for(var t,n=this,r=0,o=n.events.length;r<o;r++)t=n.events[r],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)},resize:function(e){var t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))},getSize:function(){return be.dimensions(this.element)},size:function(e){return e?(this.setSize(e),n):this.getSize()},setSize:e.noop,_resize:e.noop,destroy:function(){var e=this;e.element.removeData("kendo"+e.options.prefix+e.options.name),e.element.removeData("handler"),e.unbind()},_destroy:function(){this.destroy()},angular:function(){},_muteAngularRebind:function(e){this._muteRebind=!0,e.call(this),this._muteRebind=!1}}),ne=te.extend({dataItems:function(){return this.dataSource.flatView()},_angularItems:function(t){var n=this;n.angular(t,function(){return{elements:n.items(),data:e.map(n.dataItems(),function(e){return{dataItem:e}})}})}}),be.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},be.notify=ke,re=/template$/i,oe=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,ie=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,ae=/([A-Z])/g,be.initWidget=function(r,o,i){var a,s,u,l,c,d,f,p,m,h,g,y,v;if(i?i.roles&&(i=i.roles):i=be.ui.roles,r=r.nodeType?r:r[0],d=r.getAttribute("data-"+be.ns+"role")){m=d.indexOf(".")===-1,u=m?i[d]:be.getter(d)(t),g=e(r).data(),y=u?"kendo"+u.fn.options.prefix+u.fn.options.name:"",h=m?RegExp("^kendo.*"+d+"$","i"):RegExp("^"+y+"$","i");for(v in g)if(v.match(h)){if(v!==y)return g[v];a=g[v]}if(u){for(p=O(r,"dataSource"),o=e.extend({},z(r,e.extend({},u.fn.options,u.fn.defaults)),o),p&&(o.dataSource=typeof p===He?be.getter(p)(t):p),l=0,c=u.fn.events.length;l<c;l++)s=u.fn.events[l],f=O(r,s),f!==n&&(o[s]=be.getter(f)(t));return a?e.isEmptyObject(o)||a.setOptions(o):a=new u(r,o),a}}},be.rolesFromNamespaces=function(e){var t,n,r=[];for(e[0]||(e=[be.ui,be.dataviz.ui]),t=0,n=e.length;t<n;t++)r[t]=e[t].roles;return we.apply(null,[{}].concat(r.reverse()))},be.init=function(t){var n=be.rolesFromNamespaces(We.call(arguments,1
54));e(t).find("[data-"+be.ns+"role]").addBack().each(function(){be.initWidget(this,{},n)})},be.destroy=function(t){e(t).find("[data-"+be.ns+"role]").addBack().each(function(){var t,n=e(this).data();for(t in n)0===t.indexOf("kendo")&&typeof n[t].destroy===_e&&n[t].destroy()})},be.resize=function(t,n){var r,o=e(t).find("[data-"+be.ns+"role]").addBack().filter(C);o.length&&(r=e.makeArray(o),r.sort(D),e.each(r,function(){var t=be.widgetInstance(e(this));t&&t.resize(n)}))},be.parseOptions=z,we(be.ui,{Widget:te,DataBoundWidget:ne,roles:{},progress:function(t,n,r){var o,i,a,s,u,l=t.find(".k-loading-mask"),c=be.support,d=c.browser;r=e.extend({},{width:"100%",height:"100%",top:t.scrollTop(),opacity:!1},r),u=r.opacity?"k-loading-mask k-opaque":"k-loading-mask",n?l.length||(o=c.isRtl(t),i=o?"right":"left",s=t.scrollLeft(),a=d.webkit&&o?t[0].scrollWidth-t.width()-2*s:0,l=e(be.format("<div class='{0}'><span class='k-loading-text'>{1}</span><div class='k-loading-image'></div><div class='k-loading-color'></div></div>",u,be.ui.progress.messages.loading)).width(r.width).height(r.height).css("top",r.top).css(i,Math.abs(s)+a).prependTo(t)):l&&l.remove()},plugin:function(t,r,o){var i,a,s,u,l=t.fn.options.name;for(r=r||be.ui,o=o||"",r[l]=t,r.roles[l.toLowerCase()]=t,i="getKendo"+o+l,l="kendo"+o+l,a={name:l,widget:t,prefix:o||""},be.widgets.push(a),s=0,u=be._widgetRegisteredCallbacks.length;s<u;s++)be._widgetRegisteredCallbacks[s](a);e.fn[l]=function(r){var o,i=this;return typeof r===He?(o=We.call(arguments,1),this.each(function(){var t,a,s=e.data(this,l);if(!s)throw Error(be.format("Cannot call method '{0}' of {1} before it is initialized",r,l));if(t=s[r],typeof t!==_e)throw Error(be.format("Cannot find method '{0}' of {1}",r,l));if(a=t.apply(s,o),a!==n)return i=a,!1})):this.each(function(){return new t(this,r)}),i},e.fn[l].widget=t,e.fn[i]=function(){return this.data(l)}}}),be.ui.progress.messages={loading:"Loading..."},se={bind:function(){return this},nullObject:!0,options:{}},ue=te.extend({init:function(e,t){te.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){te.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(be.roleSelector("view splitview modalview drawer"));return be.widgetInstance(e,be.mobile.ui)||se},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(be.roleSelector("view layout modalview drawer splitview"));return be.widgetInstance(e.eq(0),be.mobile.ui)||se}}),we(be.mobile,{init:function(e){be.init(e,be.mobile.ui,be.ui,be.dataviz.ui)},appLevelNativeScrolling:function(){return be.mobile.application&&be.mobile.application.options&&be.mobile.application.options.useNativeScrolling},roles:{},ui:{Widget:ue,DataBoundWidget:ne.extend(ue.prototype),roles:{},plugin:function(e){be.ui.plugin(e,be.mobile.ui,"Mobile")}}}),l(be.dataviz,{init:function(e){be.init(e,be.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){be.ui.plugin(e,be.dataviz.ui)}},roles:{}}),be.touchScroller=function(t,n){return n||(n={}),n.useNative=!0,e(t).map(function(t,r){return r=e(r),!(!ze.kineticScrollNeeded||!be.mobile.ui.Scroller||r.data("kendoMobileScroller"))&&(r.kendoMobileScroller(n),r.data("kendoMobileScroller"))})[0]},be.preventDefault=function(e){e.preventDefault()},be.widgetInstance=function(e,n){var r,o,i,a,s,u=e.data(be.ns+"role"),l=[],c=e.data("kendoView");if(u){if("content"===u&&(u="scroller"),"editortoolbar"===u&&(i=e.data("kendoEditorToolbar")))return i;if("view"===u&&c)return c;if(n)if(n[0])for(r=0,o=n.length;r<o;r++)l.push(n[r].roles[u]);else l.push(n.roles[u]);else l=[be.ui.roles[u],be.dataviz.ui.roles[u],be.mobile.ui.roles[u]];for(u.indexOf(".")>=0&&(l=[be.getter(u)(t)]),r=0,o=l.length;r<o;r++)if(a=l[r],a&&(s=e.data("kendo"+a.fn.options.prefix+a.fn.options.name)))return s}},be.onResize=function(n){var r=n;return ze.mobileOS.android&&(r=function(){setTimeout(n,600)}),e(t).on(ze.resize,r),r},be.unbindResize=function(n){e(t).off(ze.resize,n)},be.attrValue=function(e,t){return e.data(be.ns+t)},be.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},e.extend(e.expr.pseudos,{kendoFocusable:function(t){var n=e.attr(t,"tabindex");return A(t,!isNaN(n)&&n>-1)}}),le=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],ce="label, input, [data-rel=external]",de={setupMouseMute:function(){var t,n=0,r=le.length,o=document.documentElement;if(!de.mouseTrap&&ze.eventCapture)for(de.mouseTrap=!0,de.bustClick=!1,de.captureMouse=!1,t=function(t){de.captureMouse&&("click"===t.type?de.bustClick&&!e(t.target).is(ce)&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};n<r;n++)o.addEventListener(le[n],t,!0)},muteMouse:function(e){de.captureMouse=!0,e.data.bustClick&&(de.bustClick=!0),clearTimeout(de.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(de.mouseTrapTimeoutID),de.mouseTrapTimeoutID=setTimeout(function(){de.captureMouse=!1,de.bustClick=!1},400)}}
54,fe={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},ze.touch&&(ze.mobileOS.ios||ze.mobileOS.android)?fe={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:ze.pointers?fe={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:ze.msPointers&&(fe={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),!ze.msPointers||"onmspointerenter"in t||e.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var r,o=this,i=t.relatedTarget,a=t.handleObj;return i&&(i===o||e.contains(o,i))||(t.type=a.origType,r=a.handler.apply(this,arguments),t.type=n),r}}}),pe=function(e){return fe[e]||e},me=/([^ ]+)/g,be.applyEventMap=function(e,t){return e=e.replace(me,pe),t&&(e=e.replace(me,"$1."+t)),e},be.keyDownHandler=function(e,t){var n,r,o=t._events.kendoKeydown;if(!o)return!0;for(o=o.slice(),e.sender=t,e.preventKendoKeydown=!1,n=0,r=o.length;n<r;n++)o[n].call(t,e);return!e.preventKendoKeydown},he=e.fn.on,$e(!0,_,e),_.fn=_.prototype=new e,_.fn.constructor=_,_.fn.init=function(t,n){return n&&n instanceof e&&!(n instanceof _)&&(n=_(n)),e.fn.init.call(this,t,n,ge)},_.fn.init.prototype=_.fn,ge=_(document),we(_.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||be.guid()),this},on:function(){var e,t,n,r,o,i,a,s,u=this,l=u.data("kendoNS");return 1===arguments.length?he.call(u,arguments[0]):(e=u,t=We.call(arguments),typeof t[t.length-1]===je&&t.pop(),n=t[t.length-1],r=be.applyEventMap(t[0],l),ze.mouseAndTouchPresent&&r.search(/mouse|click/)>-1&&this[0]!==document.documentElement&&(de.setupMouseMute(),o=2===t.length?null:t[1],i=r.indexOf("click")>-1&&r.indexOf("touchend")>-1,he.call(this,{touchstart:de.muteMouse,touchend:de.unMuteMouse},o,{bustClick:i})),arguments[0].indexOf("keydown")!==-1&&t[1]&&t[1].options?(t[0]=r,a=t[1],s=t[t.length-1],t[t.length-1]=function(e){if(be.keyDownHandler(e,a))return s.apply(this,[e])},he.apply(u,t),u):(typeof n===He&&(e=u.data("handler"),n=e[n],t[t.length-1]=function(t){n.call(e,t)}),t[0]=r,he.apply(u,t),u))},kendoDestroy:function(e){return e=e||this.data("kendoNS"),e&&this.off("."+e),this}}),be.jQuery=_,be.eventMap=fe,be.timezone=function(){function e(e,t){var n,r,o,i=t[3],a=t[4],s=t[5],u=t[8];return u||(t[8]=u={}),u[e]?u[e]:(isNaN(a)?0===a.indexOf("last")?(n=new Date(Date.UTC(e,c[i]+1,1,s[0]-24,s[1],s[2],0)),r=d[a.substr(4,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o-(r>o?7:0))):a.indexOf(">=")>=0?(n=new Date(Date.UTC(e,c[i],a.substr(5),s[0],s[1],s[2],0)),r=d[a.substr(0,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o+(r<o?7:0))):a.indexOf("<=")>=0&&(n=new Date(Date.UTC(e,c[i],a.substr(5),s[0],s[1],s[2],0)),r=d[a.substr(0,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o-(r>o?7:0))):n=new Date(Date.UTC(e,c[i],a,s[0],s[1],s[2],0)),u[e]=n)}function t(t,n,r){var o,i,a,s;return(n=n[r])?(a=new Date(t).getUTCFullYear(),n=jQuery.grep(n,function(e){var t=e[0],n=e[1];return t<=a&&(n>=a||t==a&&"only"==n||"max"==n)}),n.push(t),n.sort(function(t,n){return"number"!=typeof t&&(t=+e(a,t)),"number"!=typeof n&&(n=+e(a,n)),t-n}),s=n[jQuery.inArray(t,n)-1]||n[n.length-1],isNaN(s)?s:null):(o=r.split(":"),i=0,o.length>1&&(i=60*o[0]+ +o[1]),[-1e6,"max","-","Jan",1,[0,0,0],i,"-"])}function n(e,t,n){var r,o,i,a=t[n];if("string"==typeof a&&(a=t[a]),!a)throw Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(r=a.length-1;r>=0&&(o=a[r][3],!(o&&e>o));r--);if(i=a[r+1],!i)throw Error('Timezone "'+n+'" not found on '+e+".");return i}function r(e,r,o,i){typeof e!=Fe&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var a=n(e,r,i);return{zone:a,rule:t(e,o,a[1])}}function o(e,t){var n,o,i;return"Etc/UTC"==t||"Etc/GMT"==t?0:(n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,be.parseFloat(i?o[0]-i[6]:o[0]))}function i(e,t){var n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,a=o[2];return a.indexOf("/")>=0?a.split("/")[i&&+i[6]?1:0]:a.indexOf("%s")>=0?a.replace("%s",i&&"-"!=i[7]?i[7]:""):a}function a(e,t,n){var r,o,i,a=n;return typeof t==He&&(t=this.offset(e,t)),typeof n==He&&(n=this.offset(e,n)),o=e.getTimezoneOffset(),e=new Date(e.getTime()+6e4*(t-n)),i=e.getTimezoneOffset(),typeof a==He&&(a=this.offset(e,a)),r=i-o+(n-a),new Date(e.getTime()+6e4*r)}function s(e,t){return this.convert(e,e.getTimezoneOffset(),t)}function u(e,t){return this.convert(e,t,e.getTimezoneOffset())}function l(e){return this.apply(new Date(e),"Etc/UTC")}
54var c={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},d={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};return{zones:{},rules:{},offset:o,convert:a,apply:s,remove:u,abbr:i,toLocalDate:l}}(),be.date=function(){function e(e,t){return 0===t&&23===e.getHours()&&(e.setHours(e.getHours()+2),!0)}function t(t,n,r){var o=t.getHours();r=r||1,n=(n-t.getDay()+7*r)%7,t.setDate(t.getDate()+n),e(t,o)}function r(e,n,r){return e=new Date(e),t(e,n,r),e}function o(e){return new Date(e.getFullYear(),e.getMonth(),1)}function i(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=o(e),r=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return r&&t.setHours(n.getHours()+r/60),t}function a(e,t){return 1!==t?m(r(e,t,-1),4):m(e,4-(e.getDay()||7))}function s(e,t){var n=new Date(e.getFullYear(),0,1,(-6)),r=a(e,t),o=r.getTime()-n.getTime(),i=Math.floor(o/M);return 1+Math.floor(i/7)}function u(e,t){var r,o,i;return t===n&&(t=be.culture().calendar.firstDay),r=m(e,-7),o=m(e,7),i=s(e,t),0===i?s(r,t)+1:53===i&&s(o,t)>1?1:i}function l(t){return t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),e(t,0),t}function c(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function d(e){return b(e).getTime()-l(b(e))}function f(e,t,n){var r,o=d(t),i=d(n);return!e||o==i||(t>=n&&(n+=M),r=d(e),o>r&&(r+=M),i<o&&(i+=M),r>=o&&r<=i)}function p(e,t,n){var r,o=t.getTime(),i=n.getTime();return o>=i&&(i+=M),r=e.getTime(),r>=o&&r<=i}function m(t,n){var r=t.getHours();return t=new Date(t),h(t,n*M),e(t,r),t}function h(e,t,n){var r,o=e.getTimezoneOffset();e.setTime(e.getTime()+t),n||(r=e.getTimezoneOffset()-o,e.setTime(e.getTime()+r*w))}function g(t,n){return t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e(t,n.getHours()),t}function y(){return l(new Date)}function v(e){return l(e).getTime()==y().getTime()}function b(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}var w=6e4,M=864e5;return{adjustDST:e,dayOfWeek:r,setDayOfWeek:t,getDate:l,isInDateRange:p,isInTimeRange:f,isToday:v,nextDay:function(e){return m(e,1)},previousDay:function(e){return m(e,-1)},toUtcTime:c,MS_PER_DAY:M,MS_PER_HOUR:60*w,MS_PER_MINUTE:w,setTime:h,setHours:g,addDays:m,today:y,toInvariantTime:b,firstDayOfMonth:o,lastDayOfMonth:i,weekInYear:u,getMilliseconds:d}}(),be.stripWhitespace=function(e){var t,n,r;if(document.createNodeIterator)for(t=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,function(t){return t.parentNode==e?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},!1);t.nextNode();)t.referenceNode&&!t.referenceNode.textContent.trim()&&t.referenceNode.parentNode.removeChild(t.referenceNode);else for(n=0;n<e.childNodes.length;n++)r=e.childNodes[n],3!=r.nodeType||/\S/.test(r.nodeValue)||(e.removeChild(r),n--),1==r.nodeType&&be.stripWhitespace(r)},ye=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},be.animationFrame=function(e){ye.call(t,e)},ve=[],be.queueAnimation=function(e){ve[ve.length]=e,1===ve.length&&be.runNextAnimation()},be.runNextAnimation=function(){be.animationFrame(function(){ve[0]&&(ve.shift()(),ve[0]&&be.runNextAnimation())})},be.parseQueryStringParams=function(e){for(var t=e.split("?")[1]||"",n={},r=t.split(/&|=/),o=r.length,i=0;i<o;i+=2)""!==r[i]&&(n[decodeURIComponent(r[i])]=decodeURIComponent(r[i+1]));return n},be.elementUnderCursor=function(e){if(n!==e.x.client)return document.elementFromPoint(e.x.client,e.y.client)},be.wheelDeltaY=function(e){var t,r=e.originalEvent,o=r.wheelDeltaY;return r.wheelDelta?(o===n||o)&&(t=r.wheelDelta):r.detail&&r.axis===r.VERTICAL_AXIS&&(t=10*-r.detail),t},be.throttle=function(e,t){var r,o,i=0;return!t||t<=0?e:(o=function(){function o(){e.apply(a,u),i=+new Date}var a=this,s=+new Date-i,u=arguments;return i?(r&&clearTimeout(r),s>t?o():r=setTimeout(o,t-s),n):o()},o.cancel=function(){clearTimeout(r)},o)},be.caret=function(t,r,o){var i,a,s,u,l,c=r!==n;if(o===n&&(o=r),t[0]&&(t=t[0]),!c||!t.disabled){try{t.selectionStart!==n?c?(t.focus(),a=ze.mobileOS,a.wp||a.android?setTimeout(function(){t.setSelectionRange(r,o)},0):t.setSelectionRange(r,o)):r=[t.selectionStart,t.selectionEnd]:document.selection&&(e(t).is(":visible")&&t.focu
54s(),i=t.createTextRange(),c?(i.collapse(!0),i.moveStart("character",r),i.moveEnd("character",o-r),i.select()):(s=i.duplicate(),i.moveToBookmark(document.selection.createRange().getBookmark()),s.setEndPoint("EndToStart",i),u=s.text.length,l=u+i.text.length,r=[u,l]))}catch(d){r=[]}return r}},be.compileMobileDirective=function(e,n){var r=t.angular;return e.attr("data-"+be.ns+"role",e[0].tagName.toLowerCase().replace("kendo-mobile-","").replace("-","")),r.element(e).injector().invoke(["$compile",function(t){t(e)(n),/^\$(digest|apply)$/.test(n.$$phase)||n.$digest()}]),be.widgetInstance(e,be.mobile.ui)},be.antiForgeryTokens=function(){var t={},r=e("meta[name=csrf-token],meta[name=_csrf]").attr("content"),o=e("meta[name=csrf-param],meta[name=_csrf_header]").attr("content");return e("input[name^='__RequestVerificationToken']").each(function(){t[this.name]=this.value}),o!==n&&r!==n&&(t[o]=r),t},be.cycleForm=function(e){function t(e){var t=be.widgetInstance(e);t&&t.focus?t.focus():e.focus()}var n=e.find("input, .k-widget").first(),r=e.find("button, .k-button").last();r.on("keydown",function(e){e.keyCode!=be.keys.TAB||e.shiftKey||(e.preventDefault(),t(n))}),n.on("keydown",function(e){e.keyCode==be.keys.TAB&&e.shiftKey&&(e.preventDefault(),t(r))})},be.focusElement=function(n){var r=[],o=n.parentsUntil("body").filter(function(e,t){var n=be.getComputedStyles(t,["overflow"]);return"visible"!==n.overflow}).add(t);o.each(function(t,n){r[t]=e(n).scrollTop()});try{n[0].setActive()}catch(i){n[0].focus()}o.each(function(t,n){e(n).scrollTop(r[t])})},be.focusNextElement=function(){var t,n,r;document.activeElement&&(t=e(":kendoFocusable"),n=t.index(document.activeElement),n>-1&&(r=t[n+1]||t[0],r.focus()))},be.trim=function(e){return e?(""+e).trim():""},be.getWidgetFocusableElement=function(t){var n,r=t.closest(":kendoFocusable"),o=be.widgetInstance(t);return n=r.length?r:o?o instanceof be.ui.Editor?e(o.body):o.wrapper.find(":kendoFocusable").first():t},be.addAttribute=function(e,t,n){var r=e.attr(t)||"";r.indexOf(n)<0&&e.attr(t,(r+" "+n).trim())},be.removeAttribute=function(e,t,n){var r=e.attr(t)||"";e.attr(t,r.replace(n,"").trim())},be.toggleAttribute=function(e,t,n){var r=e.attr(t)||"";r.indexOf(n)<0?be.addAttribute(e,t,n):be.removeAttribute(e,t,n)},be.matchesMedia=function(e){var n=be._bootstrapToMedia(e)||e;return ze.matchMedia&&t.matchMedia(n).matches},be._bootstrapToMedia=function(e){return{xs:"(max-width: 576px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"}[e]},be.fileGroupMap={audio:[".aif",".iff",".m3u",".m4a",".mid",".mp3",".mpa",".wav",".wma",".ogg",".wav",".wma",".wpl"],video:[".3g2",".3gp",".avi",".asf",".flv",".m4u",".rm",".h264",".m4v",".mkv",".mov",".mp4",".mpg",".rm",".swf",".vob",".wmv"],image:[".ai",".dds",".heic",".jpe","jfif",".jif",".jp2",".jps",".eps",".bmp",".gif",".jpeg",".jpg",".png",".ps",".psd",".svg",".svgz",".tif",".tiff"],txt:[".doc",".docx",".log",".pages",".tex",".wpd",".wps",".odt",".rtf",".text",".txt",".wks"],presentation:[".key",".odp",".pps",".ppt",".pptx"],data:[".xlr",".xls",".xlsx"],programming:[".tmp",".bak",".msi",".cab",".cpl",".cur",".dll",".dmp",".drv",".icns",".ico",".link",".sys",".cfg",".ini",".asp",".aspx",".cer",".csr",".css",".dcr",".htm",".html",".js",".php",".rss",".xhtml"],pdf:[".pdf"],config:[".apk",".app",".bat",".cgi",".com",".exe",".gadget",".jar",".wsf"],zip:[".7z",".cbr",".gz",".sitx",".arj",".deb",".pkg",".rar",".rpm",".tar.gz",".z",".zip",".zipx"],"disc-image":[".dmg",".iso",".toast",".vcd",".bin",".cue",".mdf"]},be.getFileGroup=function(e,t){var r,o,i=be.fileGroupMap,a=Object.keys(i),s="file";if(e===n||!e.length)return s;for(r=0;r<a.length;r+=1)if(o=i[a[r]],o.indexOf(e.toLowerCase())>-1)return t?"file-"+a[r]:a[r];return s},be.getFileSizeMessage=function(e){var t,n=["Bytes","KB","MB","GB","TB"];return 0===e?"0 Byte":(t=parseInt(Math.floor(Math.log(e)/Math.log(1024)),10),Math.round(e/Math.pow(1024,t),2)+" "+n[t])},be.selectorFromClasses=function(e){return"."+e.split(" ").join(".")},function(){function n(t,n,r,o){var i,a,s=e("<form>").attr({action:r,method:"POST",target:o}),u=be.antiForgeryTokens();u.fileName=n,i=t.split(";base64,"),u.contentType=i[0].replace("data:",""),u.base64=i[1];for(a in u)u.hasOwnProperty(a)&&e("<input>").attr({value:u[a],name:a,type:"hidden"}).appendTo(s);s.appendTo("body").submit().remove()}function r(e,t){var n,r,o,i,a,s=e;if("string"==typeof e){for(n=e.split(";base64,"),r=n[0],o=atob(n[1]),i=new Uint8Array(o.length),a=0;a<o.length;
54a++)i[a]=o.charCodeAt(a);s=new Blob([i.buffer],{type:r})}navigator.msSaveBlob(s,t)}function o(e,n){t.Blob&&e instanceof Blob&&(e=URL.createObjectURL(e)),i.download=n,i.href=e;var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!1,t,0,0,0,0,0,!1,!1,!1,!1,0,null),i.dispatchEvent(r),setTimeout(function(){URL.revokeObjectURL(e)})}var i=document.createElement("a"),a="download"in i&&!be.support.browser.edge;be.saveAs=function(e){var t=n;e.forceProxy||(a?t=o:navigator.msSaveBlob&&(t=r)),t(e.dataURI,e.fileName,e.proxyURL,e.proxyTarget)}}(),be.proxyModelSetters=function(e){var t={};return Object.keys(e||{}).forEach(function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t,e.dirty=!0}})}),t},function(){be.defaults=be.defaults||{},be.setDefaults=function(e,t){var r=e.split("."),o=be.defaults;e=r.pop(),r.forEach(function(e){o[e]===n&&(o[e]={}),o=o[e]}),o[e]=t.constructor===Object?l({},o[e],t):t}}()}(jQuery,window),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
55//# sourceMappingURL=kendo.core.min.js.map
56
57/** 
58 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
59 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
60 *                                                                                                                                                                                                      
61 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
62 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
63 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
64                                                                                                                                                                                                       
65                                                                                                                                                                                                       
66                                                                                                                                                                                                       
67                                                                                                                                                                                                       
68                                                                                                                                                                                                       
69                                                                                                                                                                                                       
70                                                                                                                                                                                                       
71                                                                                                                                                                                                       
72                                                                                                                                                                                                       
73                                                                                                                                                                                                       
74                                                                                                                                                                                                       
75                                                                                                                                                                                                       
76                                                                                                                                                                                                       
77                                                                                                                                                                                                       
78                                                                                                                                                                                                       
79
80*/
81!function(e,define){define("kendo.dom.min",["kendo.core.min"],e)}(function(){return function(e){function t(){this.node=null}function n(){}function o(e,t,n){this.nodeName=e,this.attr=t||{},this.children=n||[]}function r(e){this.nodeValue=e+""}function i(e){this.html=e}function d(e,t){for(f.innerHTML=t;f.firstChild;)e.appendChild(f.firstChild)}function s(e){return new i(e)}function h(e,t,n){return new o(e,t,n)}function l(e){return new r(e)}function a(e){this.root=e,this.children=[]}var u,f;t.prototype={remove:function(){this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.attr={}},attr:{},text:function(){return""}},n.prototype={nodeName:"#null",attr:{style:{}},children:[],remove:function(){}},u=new n,o.prototype=new t,o.prototype.appendTo=function(e){var t,n=document.createElement(this.nodeName),o=this.children;for(t=0;t<o.length;t++)o[t].render(n,u);return e.appendChild(n),n},o.prototype.render=function(e,t){var n,o,r,i,d,s;
81if(t.nodeName!==this.nodeName)t.remove(),n=this.appendTo(e);else{if(n=t.node,r=this.children,i=r.length,d=t.children,s=d.length,Math.abs(s-i)>2)return void this.render({appendChild:function(n){e.replaceChild(n,t.node)}},u);for(o=0;o<i;o++)r[o].render(n,d[o]||u);for(o=i;o<s;o++)d[o].remove()}this.node=n,this.syncAttributes(t.attr),this.removeAttributes(t.attr)},o.prototype.syncAttributes=function(e){var t,n,o,r=this.attr;for(t in r)n=r[t],o=e[t],"style"===t?this.setStyle(n,o):n!==o&&this.setAttribute(t,n,o)},o.prototype.setStyle=function(e,t){var n,o=this.node;if(t)for(n in e)e[n]!==t[n]&&(o.style[n]=e[n]);else for(n in e)o.style[n]=e[n]},o.prototype.removeStyle=function(e){var t,n=this.attr.style||{},o=this.node;for(t in e)void 0===n[t]&&(o.style[t]="")},o.prototype.removeAttributes=function(e){var t,n=this.attr;for(t in e)"style"===t?this.removeStyle(e.style):void 0===n[t]&&this.removeAttribute(t)},o.prototype.removeAttribute=function(e){var t=this.node;"style"===e?t.style.cssText="":"className"===e?t.className="":t.removeAttribute(e)},o.prototype.setAttribute=function(e,t){var n=this.node;void 0!==n[e]?n[e]=t:n.setAttribute(e,t)},o.prototype.text=function(){var e,t="";for(e=0;e<this.children.length;++e)t+=this.children[e].text();return t},r.prototype=new t,r.prototype.nodeName="#text",r.prototype.render=function(e,t){var n;t.nodeName!==this.nodeName?(t.remove(),n=document.createTextNode(this.nodeValue),e.appendChild(n)):(n=t.node,this.nodeValue!==t.nodeValue&&n.parentNode&&(n.nodeValue=this.nodeValue)),this.node=n},r.prototype.text=function(){return this.nodeValue},i.prototype={nodeName:"#html",attr:{},remove:function(){var e,t;for(e=0;e<this.nodes.length;e++)t=this.nodes[e],t.parentNode&&t.parentNode.removeChild(t)},render:function(e,t){var n,o;
81if(t.nodeName!==this.nodeName||t.html!==this.html)for(t.remove(),n=e.lastChild,d(e,this.html),this.nodes=[],o=n?n.nextSibling:e.firstChild;o;o=o.nextSibling)this.nodes.push(o);else this.nodes=t.nodes.slice(0)}},f=document.createElement("div"),a.prototype={html:s,element:h,text:l,render:function(e){var t,n,o,r=this.children;for(t=0,n=e.length;t<n;t++)o=r[t],o?o.node&&o.node.parentNode||(o.remove(),o=u):o=u,e[t].render(this.root,o);for(t=n;t<r.length;t++)r[t].remove();this.children=e}},e.dom={html:s,text:l,element:h,Tree:a,Node:t}}(window.kendo),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
82//# sourceMappingURL=kendo.dom.min.js.map
83
84/** 
85 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
86 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
87 *                                                                                                                                                                                                      
88 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
89 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
90 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
91                                                                                                                                                                                                       
92                                                                                                                                                                                                       
93                                                                                                                                                                                                       
94                                                                                                                                                                                                       
95                                                                                                                                                                                                       
96                                                                                                                                                                                                       
97                                                                                                                                                                                                       
98                                                                                                                                                                                                       
99                                                                                                                                                                                                       
100                                                                                                                                                                                                       
101                                                                                                                                                                                                       
102                                                                                                                                                                                                       
103                                                                                                                                                                                                       
104                                                                                                                                                                                                       
105                                                                                                                                                                                                       
106
107*/
108!function(e,define){define("kendo.data.min",["kendo.core.min","kendo.data.odata.min","kendo.data.xml.min"],e)}
108(function(){return function(e,t){function r(e,t,r,i){return function(n){var a,s={};for(a in n)s[a]=n[a];s.field=i?r+"."+n.field:r,t==Ie&&e._notifyChange&&e._notifyChange(s),e.trigger(t,s)}}function i(t,r){if(t===r)return!0;var n,a=e.type(t),s=e.type(r);if(a!==s)return!1;if("date"===a)return t.getTime()===r.getTime();if("object"!==a&&"array"!==a)return!1;for(n in t)if(!i(t[n],r[n]))return!1;return!0}function n(e,t){var r,i;for(i in e){if(r=e[i],me(r)&&r.field&&r.field===t)return r;if(r===t)return r}return null}function a(e){this.data=e||[]}function s(e,r){if(e){var i=typeof e===Fe?{field:e,dir:r}:e,n=ye(i)?i:i!==t?[i]:[];return Se(n,function(e){return!!e.dir})}}function o(e,r){var i,n,a,s={};if(e)for(i=typeof e===Fe?{field:e,dir:r}:e,n=ye(i)?i:i!==t?[i]:[],a=0;a<n.length;a++)s[n[a].field]={dir:n[a].dir,index:a+1};return s}function u(e){var t,r,i,n,a=e.filters;if(a)for(t=0,r=a.length;t<r;t++)i=a[t],n=i.operator,n&&typeof n===Fe&&(i.operator=ie[n.toLowerCase()]||n),u(i)}function l(e){if(e&&!ve(e))return!ye(e)&&e.filters||(e={logic:"and",filters:ye(e)?e:[e]}),u(e),e}function g(e,t){return!e.logic&&!t.logic&&(e.field===t.field&&e.value===t.value&&e.operator===t.operator)}function d(e){return e=e||{},ve(e)?{logic:"and",filters:[]}:l(e)}function h(e,t){return t.logic||e.field>t.field?1:e.field<t.field?-1:0}function f(e,t){var r,i,n,a,s;if(e=d(e),t=d(t),e.logic!==t.logic)return!1;if(n=(e.filters||[]).slice(),a=(t.filters||[]).slice(),n.length!==a.length)return!1;for(n=n.sort(h),a=a.sort(h),s=0;s<n.length;s++)if(r=n[s],i=a[s],r.logic&&i.logic){if(!f(r,i))return!1}else if(!g(r,i))return!1;return!0}function c(e){return ye(e)?e:[e]}function p(e,r,i,n){var a=typeof e===Fe?{field:e,dir:r,compare:i,skipItemSorting:n}:e,s=ye(a)?a:a!==t?[a]:[];return W(s,function(e){return{field:e.field,dir:e.dir||"asc",aggregates:e.aggregates,compare:e.compare,skipItemSorting:e.skipItemSorting}})}function _(e,t,r){var i,n=p(e,t,r);for(i=0;i<n.length;i++)delete n[i].compare;return n}function m(e){var t,r=ye(e)?e:[e];for(t=0;t<r.length;t++)if(r[t]&&Re(r[t].compare))return!0;return!1}function v(e,t){return e&&e.getTime&&t&&t.getTime?e.getTime()===t.getTime():e===t}function y(e,t,r,i,n,a){var s,o,u,l,g;for(t=t||[],l=t.length,s=0;s<l;s++)o=t[s],u=o.aggregate,g=o.field,e[g]=e[g]||{},a[g]=a[g]||{},a[g][u]=a[g][u]||{},e[g][u]=ne[u.toLowerCase()](e[g][u],r,Pe.accessor(g),i,n,a[g][u])}function S(e){return"number"==typeof e&&!isNaN(e)}function b(e){return e&&e.getTime}function k(e){var t,r=e.length,i=Array(r);for(t=0;t<r;t++)i[t]=e[t].toJSON();return i}function w(e,t,r,i,n){var a,s,o,u,l,g={};for(u=0,l=e.length;u<l;u++){a=e[u];for(s in t)o=n[s],o&&o!==s&&(g[o]||(g[o]=Pe.setter(o)),g[o](a,t[s](a)),delete a[s])}}function P(e,t,r,i,n){var a,s,o,u,l;for(u=0,l=e.length;u<l;u++){a=e[u];for(s in t)a[s]=r._parse(s,t[s](a)),o=n[s],o&&o!==s&&delete a[o]}}function R(e,t,r,i,n){var a,s,o,u;for(s=0,u=e.length;s<u;s++)a=e[s],o=i[a.field],o&&o!=a.field&&(a.field=o),a.value=r._parse(a.field,a.value),a.items&&(a.hasSubgroups?R(a.items,t,r,i,n):P(a.items,t,r,i,n))}function x(e,t,r,i,n,a){return function(s){return s=e(s),G(t,r,i,n,a)(s)}}function G(e,t,r,i,n){return function(a){return a&&!ve(r)&&("[object Array]"===et.call(a)||a instanceof it||(a=[a]),t(a,r,new e,i,n)),a||[]}}function F(e,t){var r,i,n;if(t.items&&t.items.length)for(n=0;n<t.items.length;n++)r=e.items[n],i=t.items[n],r&&i?r.hasSubgroups?F(r,i):r.field&&r.value==i.value?r.items.push.apply(r.items,i.items):e.items.push.apply(e.items,[i]):i&&e.items.push.apply(e.items,[i])}function q(e,t,r,i){for(var n,a,s,o=0;t.length&&i&&(n=t[o],a=n.items,s=a.length,e&&e.field===n.field&&e.value===n.value?(e.hasSubgroups&&e.items.length?q(e.items[e.items.length-1],n.items,r,i):(a=a.slice(r,r+i),e.items=e.items.concat(a)),t.splice(o--,1)):n.hasSubgroups&&a.length?(q(n,a,r,i),n.items.length||t.splice(o--,1)):(a=a.slice(r,r+i),n.items=a,n.items.length||t.splice(o--,1)),0===a.length?r-=s:(r=0,i-=a.length),!(++o>=t.length)););o<t.length&&t.splice(o,t.length-o)}function C(e,t){var r,i,n,a,s=[],o=(e||[]).length,u=Re(t)?t:function(e,t){return e[t]};for(n=0;n<o;n++)if(r=u(e,n),r.hasSubgroups)s=s.concat(C(r.items));else for(i=r.items,a=0;a<i.length;a++)s.push(u(i,a));return s}function D(e){var t,r,i,n,a,s=[];for(t=0,r=e.length;t<r;t++)if(a=e.at(t),a.items)if(a.hasSubgroups)s=s.concat(D(a.items));else for(i=a.items,n=0;n<i.length;n++)s.push(i.at(n));return s}function O(e,t){var r,i,n;if(t)for(r=0,i=e.length;r<i;r++)n=e.at(r),n.items&&(n.hasSubgroups?O(n.items,t):n.items=new $(n.items,t,n.items._events))}function T(e,t){for(var r=0;r<e.length;r++)if(e[r].hasSubgroups){if(T(e[r].items,t))return!0}else if(t(e[r].items,e[r]))return!0}
108function z(e,t,r,i){for(var n=0;n<e.length&&e[n].data!==t&&!I(e[n].data,r,i);n++);}function I(e,t,r){for(var i=0,n=e.length;i<n;i++){if(e[i]&&e[i].hasSubgroups)return I(e[i].items,t,r);if(e[i]===t||e[i]===r)return e[i]=r,!0}}function A(e,r,i,n,a){var s,o,u,l;for(s=0,o=e.length;s<o;s++)if(u=e[s],u&&!(u instanceof n))if(u.hasSubgroups===t||a){for(l=0;l<r.length;l++)if(r[l]===u){e[s]=r.at(l),z(i,r,u,e[s]);break}}else A(u.items,r,i,n,a)}function E(e,t){var r,i,n;if(e)for(r=e.length,n=0;n<r;n++)if(i=e[n],i.uid&&i.uid==t.uid)return e.splice(n,1),i}function N(e,t){return t?L(e,function(e){return e.uid&&e.uid==t.uid||e[t.idField]===t.id&&t.id!==t._defaultId}):-1}function M(e,t){return t?L(e,function(e){return e.uid==t.uid}):-1}function L(e,t){var r,i;if(e){for(r=0,i=e.length;r<i;r++)if(t(e[r]))return r;return-1}}function j(e,t){var r,i;return e&&!ve(e)?(r=e[t],i=me(r)?r.from||r.field||t:e[t]||t,Re(i)?t:i):t}function H(e,t){var r,i,n,a={};for(n in e)"filters"!==n&&(a[n]=e[n]);if(e.filters)for(a.filters=[],r=0,i=e.filters.length;r<i;r++)a.filters[r]=H(e.filters[r],t);else a.field=j(t.fields,a.field);return a}function B(e,t){var r,i,n,a,s,o=[];for(r=0,i=e.length;r<i;r++){n={},a=e[r];for(s in a)n[s]=a[s];n.field=j(t.fields,n.field),n.aggregates&&ye(n.aggregates)&&(n.aggregates=B(n.aggregates,t)),o.push(n)}return o}function U(t,r){var i,n,a,s,o,u,l,g,d,h;for(t=e(t)[0],i=t.options,n=r[0],a=r[1],s=[],o=0,u=i.length;o<u;o++)d={},g=i[o],l=g.parentNode,l===t&&(l=null),g.disabled||l&&l.disabled||(l&&(d.optgroup=l.label),d[n.field]=g.text,h=g.attributes.value,h=h&&h.specified?g.value:g.text,d[a.field]=h,s.push(d));return s}function J(t,r){var i,n,a,s,o,u,l,g=e(t)[0].tBodies[0],d=g?g.rows:[],h=r.length,f=[];for(i=0,n=d.length;i<n;i++){for(o={},l=!0,s=d[i].cells,a=0;a<h;a++)u=s[a],"th"!==u.nodeName.toLowerCase()&&(l=!1,o[r[a].field]=u.innerHTML);l||f.push(o)}return f}function V(e){return function(){var t=this._data,r=le.fn[e].apply(this,Ye.call(arguments));return this._data!=t&&this._attachBubbleHandlers(),r}}function Q(t,r){function i(e,t){return e.filter(t).add(e.find(t))}var n,a,s,o,u,l,g,d,h=e(t).children(),f=[],c=r[0].field,p=r[1]&&r[1].field,_=r[2]&&r[2].field,m=r[3]&&r[3].field;for(n=0,a=h.length;n<a;n++)s={_loaded:!0},o=h.eq(n),l=o[0].firstChild,d=o.children(),t=d.filter("ul"),d=d.filter(":not(ul)"),u=o.attr("data-id"),u&&(s.id=u),l&&(s[c]=3==l.nodeType?l.nodeValue:d.text()),p&&(s[p]=i(d,"a").attr("href")),m&&(s[m]=i(d,"img").attr("src")),_&&(g=i(d,".k-sprite").prop("className"),s[_]=g&&Pe.trim(g.replace("k-sprite",""))),t.length&&(s.items=Q(t.eq(0),r)),"true"==o.attr("data-hasChildren")&&(s.hasChildren=!0),f.push(s);return f}var W,$,K,X,Y,Z,ee,te,re,ie,ne,ae,se,oe,ue,le,ge,de,he,fe,ce,pe=e.extend,_e=e.proxy,me=e.isPlainObject,ve=e.isEmptyObject,ye=e.isArray,Se=e.grep,be=e.ajax,ke=e.each,we=e.noop,Pe=window.kendo,Re=Pe.isFunction,xe=Pe.Observable,Ge=Pe.Class,Fe="string",qe="function",Ce="asc",De="create",Oe="read",Te="update",ze="destroy",Ie="change",Ae="sync",Ee="get",Ne="error",Me="requestStart",Le="progress",je="requestEnd",He=[De,Oe,Te,ze],Be=function(e){return e},Ue=Pe.getter,Je=Pe.stringify,Ve=Math,Qe=[].push,We=[].join,$e=[].pop,Ke=[].splice,Xe=[].shift,Ye=[].slice,Ze=[].unshift,et={}.toString,tt=Pe.support.stableSort,rt=/^\/Date\((.*?)\)\/$/,it=xe.extend({init:function(e,t){var r=this;r.type=t||K,xe.fn.init.call(r),r.length=e.length,r.wrapAll(e,r)},at:function(e){return this[e]},toJSON:function(e){var t,r,i=this.length,n=Array(i);for(t=0;t<i;t++)r=this[t],r instanceof K&&(r=r.toJSON(e)),n[t]=r;return n},parent:we,wrapAll:function(e,t){var r,i,n=this,a=function(){return n};for(t=t||[],r=0,i=e.length;r<i;r++)t[r]=n.wrap(e[r],a);return t},wrap:function(e,t){var r,i=this;return null!==e&&"[object Object]"===et.call(e)&&(r=e instanceof i.type||e instanceof Z,r||(e=e instanceof K?e.toJSON():e,e=new i.type(e)),e.parent=t,e.bind(Ie,function(e){i.trigger(Ie,{field:e.field,node:e.node,index:e.index,items:e.items||[this],action:e.node?e.action||"itemloaded":"itemchange"})})),e},push:function(){var e,t=this.length,r=this.wrapAll(arguments);return e=Qe.apply(this,r),this.omitChangeEvent||this.trigger(Ie,{action:"add",index:t,items:r}),e},slice:Ye,sort:[].sort,join:We,pop:function(){var e=this.length,t=$e.a
108pply(this);return e&&this.trigger(Ie,{action:"remove",index:e-1,items:[t]}),t},splice:function(e,t,r){var i,n,a,s=this.wrapAll(Ye.call(arguments,2));if(i=Ke.apply(this,[e,t].concat(s)),i.length)for(this.trigger(Ie,{action:"remove",index:e,items:i}),n=0,a=i.length;n<a;n++)i[n]&&i[n].children&&i[n].unbind(Ie);return r&&this.trigger(Ie,{action:"add",index:e,items:s}),i},shift:function(){var e=this.length,t=Xe.apply(this);return e&&this.trigger(Ie,{action:"remove",index:0,items:[t]}),t},unshift:function(){var e,t=this.wrapAll(arguments);return e=Ze.apply(this,t),this.trigger(Ie,{action:"add",index:0,items:t}),e},indexOf:function(e){var t,r,i=this;for(t=0,r=i.length;t<r;t++)if(i[t]===e)return t;return-1},forEach:function(e,t){for(var r=0,i=this.length,n=t||window;r<i;r++)e.call(n,this[r],r,this)},map:function(e,t){for(var r=0,i=[],n=this.length,a=t||window;r<n;r++)i[r]=e.call(a,this[r],r,this);return i},reduce:function(e){var t,r=0,i=this.length;for(2==arguments.length?t=arguments[1]:r<i&&(t=this[r++]);r<i;r++)t=e(t,this[r],r,this);return t},reduceRight:function(e){var t,r=this.length-1;for(2==arguments.length?t=arguments[1]:r>0&&(t=this[r--]);r>=0;r--)t=e(t,this[r],r,this);return t},filter:function(e,t){for(var r,i=0,n=[],a=this.length,s=t||window;i<a;i++)r=this[i],e.call(s,r,i,this)&&(n[n.length]=r);return n},find:function(e,t){for(var r,i=0,n=this.length,a=t||window;i<n;i++)if(r=this[i],e.call(a,r,i,this))return r},every:function(e,t){for(var r,i=0,n=this.length,a=t||window;i<n;i++)if(r=this[i],!e.call(a,r,i,this))return!1;return!0},some:function(e,t){for(var r,i=0,n=this.length,a=t||window;i<n;i++)if(r=this[i],e.call(a,r,i,this))return!0;return!1},remove:function(e){var t=this.indexOf(e);t!==-1&&this.splice(t,1)},empty:function(){this.splice(0,this.length)}});"undefined"!=typeof Symbol&&Symbol.iterator&&!it.prototype[Symbol.iterator]&&(it.prototype[Symbol.iterator]=[][Symbol.iterator]),$=it.extend({init:function(e,t,r){xe.fn.init.call(this),this.type=t||K,r&&(this._events=r);for(var i=0;i<e.length;i++)this[i]=e[i];this.length=i,this._parent=_e(function(){return this},this)},at:function(e){var t=this[e];return t instanceof this.type?t.parent=this._parent:t=this[e]=this.wrap(t,this._parent),t}}),K=xe.extend({init:function(e){var t,r,i=this,n=function(){return i};xe.fn.init.call(this),this._handlers={};for(r in e)t=e[r],"object"==typeof t&&t&&!t.getTime&&"_"!=r.charAt(0)&&(t=i.wrap(t,r,n)),i[r]=t;i.uid=Pe.guid()},shouldSerialize:function(e,t){return this.hasOwnProperty(e)&&"_handlers"!==e&&"_events"!==e&&(t&&t[e]||typeof this[e]!==qe)&&"uid"!==e},forEach:function(e){for(var t in this)this.shouldSerialize(t)&&e(this[t],t)},toJSON:function(e){var t,r,i={};for(r in this)this.shouldSerialize(r,e)&&(t=this[r],(t instanceof K||t instanceof it)&&(t=t.toJSON(e)),i[r]=t);return i},get:function(e){var t,r=this;return r.trigger(Ee,{field:e}),t="this"===e?r:Pe.getter(e,!0)(r)},_set:function(e,t){var r,i,n,a=this,s=e.indexOf(".")>=0;if(s)for(r=e.split("."),i="";r.length>1;){if(i+=r.shift(),n=Pe.getter(i,!0)(a),n instanceof K)return n.set(r.join("."),t),s;i+="."}return Pe.setter(e)(a,t),s},set:function(e,t){var r=this,i=!1,n=e.indexOf(".")>=0,a=Pe.getter(e,!0)(r);return a!==t&&(a instanceof xe&&this._handlers[e]&&(this._handlers[e].get&&a.unbind(Ee,this._handlers[e].get),a.unbind(Ie,this._handlers[e].change)),i=r.trigger("set",{field:e,value:t}),i||(n||(t=r.wrap(t,e,function(){return r})),(!r._set(e,t)||e.indexOf("(")>=0||e.indexOf("[")>=0)&&r.trigger(Ie,{field:e}))),i},parent:we,wrap:function(e,t,i){var n,a,s,o,u=this,l=et.call(e);return null==e||"[object Object]"!==l&&"[object Array]"!==l||(s=e instanceof it,o=e instanceof le,"[object Object]"!==l||o||s?("[object Array]"===l||s||o)&&(s||o||(e=new it(e)),a=r(u,Ie,t,!1),e.bind(Ie,a),u._handlers[t]={change:a}):(e instanceof K||(e=new K(e)),n=r(u,Ee,t,!0),e.bind(Ee,n),a=r(u,Ie,t,!0),e.bind(Ie,a),u._handlers[t]={get:n,change:a}),e.parent=i),e}}),X={number:function(e){return typeof e===Fe&&"null"===e.toLowerCase()?null:Pe.parseFloat(e)},date:function(e){return typeof e===Fe&&"null"===e.toLowerCase()?null:Pe.parseDate(e)},"boolean":function(e){return typeof e===Fe?"null"===e.toLowerCase()?null:"true"===e.toLowerCase():null!=e?!!e:e},string:function(e){return typeof e===Fe&&"null"===e.toLowerCase()?null:null!=e?e+"":e},"default":function(e){return e}},Y={string:"",number:0,date:new Date,"boolean":!1,"default":""},Z=K.extend({init:function(r){var i,n,a=this;if((!r||e.isEmptyObject(r))&&(r=e.extend({}
108,a.defaults,r),a._initializers))for(i=0;i<a._initializers.length;i++)n=a._initializers[i],r[n]=a.defaults[n]();K.fn.init.call(a,r),a.dirty=!1,a.dirtyFields={},a.idField&&(a.id=a.get(a.idField),a.id===t&&(a.id=a._defaultId))},shouldSerialize:function(e){return K.fn.shouldSerialize.call(this,e)&&"uid"!==e&&!("id"!==this.idField&&"id"===e)&&"dirty"!==e&&"dirtyFields"!==e&&"_accessors"!==e},_parse:function(e,t){var r,i=this,a=e,s=i.fields||{};return e=s[e],e||(e=n(s,a)),e&&(r=e.parse,!r&&e.type&&(r=X[e.type.toLowerCase()])),r?r(t):t},_notifyChange:function(e){var t=e.action;"add"!=t&&"remove"!=t||(this.dirty=!0,this.dirtyFields[e.field]=!0)},editable:function(e){return e=(this.fields||{})[e],!e||e.editable!==!1},set:function(e,t){var r=this,n=r.dirty;r.editable(e)&&(t=r._parse(e,t),i(t,r.get(e))?r.trigger("equalSet",{field:e,value:t}):(r.dirty=!0,r.dirtyFields[e]=!0,K.fn.set.call(r,e,t)&&!n&&(r.dirty=n,r.dirty||(r.dirtyFields[e]=!1))))},accept:function(e){var t,r,i=this,n=function(){return i};for(t in e)r=e[t],"_"!=t.charAt(0)&&(r=i.wrap(e[t],t,n)),i._set(t,r);i.idField&&(i.id=i.get(i.idField)),i.dirty=!1,i.dirtyFields={}},isNew:function(){return this.id===this._defaultId}}),Z.define=function(e,r){r===t&&(r=e,e=Z);var i,n,a,s,o,u,l,g,d=pe({defaults:{}},r),h={},f=d.id,c=[];if(f&&(d.idField=f),d.id&&delete d.id,f&&(d.defaults[f]=d._defaultId=""),"[object Array]"===et.call(d.fields)){for(u=0,l=d.fields.length;u<l;u++)a=d.fields[u],typeof a===Fe?h[a]={}:a.field&&(h[a.field]=a);d.fields=h}for(n in d.fields)a=d.fields[n],s=a.type||"default",o=null,g=n,n=typeof a.field===Fe?a.field:n,a.nullable||(o=d.defaults[g!==n?g:n]=a.defaultValue!==t?a.defaultValue:Y[s.toLowerCase()],"function"==typeof o&&
108c.push(n)),r.id===n&&(d._defaultId=o),d.defaults[g!==n?g:n]=o,a.parse=a.parse||X[s];return c.length>0&&(d._initializers=c),i=e.extend(d),i.define=function(e){return Z.define(i,e)},d.fields&&(i.fields=d.fields,i.idField=d.idField),i},ee={selector:function(e){return Re(e)?e:Ue(e)},compare:function(e){var t=this.selector(e);return function(e,r){return e=t(e),r=t(r),null==e&&null==r?0:null==e?-1:null==r?1:e.localeCompare?e.localeCompare(r):e>r?1:e<r?-1:0}},create:function(e){var t=e.compare||this.compare(e.field);return"desc"==e.dir?function(e,r){return t(r,e,!0)}:t},combine:function(e){return function(t,r){var i,n,a=e[0](t,r);for(i=1,n=e.length;i<n;i++)a=a||e[i](t,r);return a}}},te=pe({},ee,{asc:function(e){var t=this.selector(e);return function(e,r){var i=t(e),n=t(r);return i&&i.getTime&&n&&n.getTime&&(i=i.getTime(),n=n.getTime()),i===n?e.__position-r.__position:null==i?-1:null==n?1:i.localeCompare?i.localeCompare(n):i>n?1:-1}},desc:function(e){var t=this.selector(e);return function(e,r){var i=t(e),n=t(r);return i&&i.getTime&&n&&n.getTime&&(i=i.getTime(),n=n.getTime()),i===n?e.__position-r.__position:null==i?1:null==n?-1:n.localeCompare?n.localeCompare(i):i<n?1:-1}},create:function(e){return this[e.dir](e.field)}}),W=function(e,t){var r,i=e.length,n=Array(i);for(r=0;r<i;r++)n[r]=t(e[r],r,e);return n},re=function(){function e(e){return"string"==typeof e&&(e=e.replace(/[\r\n]+/g,"")),JSON.stringify(e)}function t(t){return function(r,i,n,a){return i+="",n&&(r="("+r+" + '').toString()"+(a?".toLocaleLowerCase('"+a+"')":".toLowerCase()"),i=a?i.toLocaleLowerCase(a):i.toLowerCase()),t(r,e(i),n)}}function r(t,r,i,n,a){if(null!=i){if(typeof i===Fe){var s=rt.exec(i);s?i=new Date((+s[1])):n?(i=e(a?i.toLocaleLowerCase(a):i.toLowerCase()),r="(("+r+" || '')+'')"+(a?".toLocaleLowerCase('"+a+"')":".toLowerCase()")):i=e(i)}i.getTime&&(r="("+r+"&&"+r+".getTime?"+r+".getTime():"+r+")",i=i.getTime())}return r+" "+t+" "+i}function i(e){var t,r,i,n;for(t="/^",r=!1,i=0;i<e.length;++i){if(n=e.charAt(i),r)t+="\\"+n;else{if("~"==n){r=!0;continue}t+="*"==n?".*":"?"==n?".":".+^$()[]{}|\\/\n\r\u2028\u2029 ".indexOf(n)>=0?"\\"+n:n}r=!1}return t+"$/"}return{quote:function(t){return t&&t.getTime?"new Date("+t.getTime()+")":e(t)},eq:function(e,t,i,n){return r("==",e,t,i,n)},neq:function(e,t,i,n){return r("!=",e,t,i,n)},gt:function(e,t,i){return r(">",e,t,i)},gte:function(e,t,i){return r(">=",e,t,i)},lt:function(e,t,i){return r("<",e,t,i)},lte:function(e,t,i){return r("<=",e,t,i)},startswith:t(function(e,t){return e+".lastIndexOf("+t+", 0) == 0"}),doesnotstartwith:t(function(e,t){return e+".lastIndexOf("+t+", 0) == -1"}),endswith:t(function(e,t){var r=t?t.length-2:0;return e+".indexOf("+t+", "+e+".length - "+r+") >= 0"}),doesnotendwith:t(function(e,t){var r=t?t.length-2:0;return e+".indexOf("+t+", "+e+".length - "+r+") < 0"}),contains:t(function(e,t){return e+".indexOf("+t+") >= 0"}),doesnotcontain:t(function(e,t){return e+".indexOf("+t+") == -1"}),matches:t(function(e,t){return t=t.substring(1,t.length-1),i(t)+".test("+e+")"}),doesnotmatch:t(function(e,t){return t=t.substring(1,t.length-1),"!"+i(t)+".test("+e+")"}),isempty:function(e){return e+" === ''"},isnotempty:function(e){return e+" !== ''"},isnull:function(e){return"("+e+" == null)"},isnotnull:function(e){return"("+e+" != null)"},isnullorempty:function(e){return"("+e+" === null) || ("+e+" === '')"},isnotnullorempty:function(e){return"("+e+" !== null) && ("+e+" !== '')"}}}(),a.filterExpr=function(e){var r,i,n,s,o,u,l=[],g={and:" && ",or:" || "},d=[],h=[],f=e.filters;for(r=0,i=f.length;r<i;r++)n=f[r],o=n.field,u=n.operator,n.filters?(s=a.filterExpr(n),n=s.expression.replace(/__o\[(\d+)\]/g,function(e,t){return t=+t,"__o["+(h.length+t)+"]"}).replace(/__f\[(\d+)\]/g,function(e,t){return t=+t,"__f["+(d.length+t)+"]"}),h.push.apply(h,s.operators),d.push.apply(d,s.fields)):(typeof o===qe?(s="__f["+d.length+"](d)",d.push(o)):s=Pe.expr(o),typeof u===qe?(n="__o["+h.length+"]("+s+", "+re.quote(n.value)+")",h.push(u)):n=re[(u||"eq").toLowerCase()](s,n.value,n.ignoreCase===t||n.ignoreCase,e.accentFoldingFiltering)),l.push(n);return{expression:"("+l.join(g[e.logic])+")",fields:d,operators:h}},ie={"==":"eq",equals:"eq",isequalto:"eq",equalto:"eq",equal:"eq","!=":"neq",ne:"neq",notequals:"neq",isnotequalto:"neq",notequalto:"neq",notequal:"neq","<":"lt",islessthan:"lt",lessthan:"lt",less:"lt","<=":"lte",le:"lte",islessthanorequalto:"lte",lessthanequal:"lte",">":"gt",isgreaterthan:"gt",greaterthan:"gt",greater:"gt",">=":"gte",isgreaterthanorequalto:"gte",greaterthanequal:"gte",ge:"gte",notsubstringof:"doesnotcontain",isnull:"isnull",isempty:"isempty",isnotempty:"isnotempty"},a.normalizeFilter=l,a.compareFilters=f,a.prototype={toArray:function(){return this.data},range:function(e,t){return new a(this.data.slice(e,e+t))},skip:function(e){return new a(this.data.slice(e))},take:function(e){return new a(this.data.slice(0,e))},select:function(e){return new a(W(this.data,e))},order:function(e,t,r){var i={dir:t};return e&&(e.compare?i.compare=e.compare:i.field=e),new a(r?this.data.sort(ee.create(i)):this.data.slice(0).sort(ee.create(i)))},orderBy:function(e,t){return this.order(e,"asc",t)},orderByDescending:function(e,t){return this.order(e,"desc",t)},sort:function(e,t,r,i){var n,a,o=s(e,t),u=[];
108if(r=r||ee,o.length){for(n=0,a=o.length;n<a;n++)u.push(r.create(o[n]));return this.orderBy({compare:r.combine(u)},i)}return this},filter:function(e){var t,r,i,n,s,o,u,g,d=this.data,h=[];if(e=l(e),!e||0===e.filters.length)return this;for(n=a.filterExpr(e),o=n.fields,u=n.operators,s=g=Function("d, __f, __o","return "+n.expression),(o.length||u.length)&&(g=function(e){return s(e,o,u)}),t=0,i=d.length;t<i;t++)r=d[t],g(r)&&h.push(r);return new a(h)},group:function(e,t,r){e=p(e||[]),t=t||this.data;var i,n=this,s=new a(n.data);return e.length>0&&(i=e[0],s=r&&r.groupPaging?new a(t).groupAllData(i,t).select(function(n){var s=new a(t).filter([{field:n.field,operator:"eq",value:n.value,ignoreCase:!1}]),o=e.length>1?new a(n.items).group(e.slice(1),s.toArray(),r).toArray():n.items;return{field:n.field,value:n.value,hasSubgroups:e.length>1,items:o,aggregates:s.aggregate(i.aggregates),uid:Pe.guid(),itemCount:o.length,subgroupCount:o.length}}):s.groupBy(i).select(function(r){var n=new a(t).filter([{field:r.field,operator:"eq",value:r.value,ignoreCase:!1}]);return{field:r.field,value:r.value,items:e.length>1?new a(r.items).group(e.slice(1),n.toArray()).toArray():r.items,hasSubgroups:e.length>1,aggregates:n.aggregate(i.aggregates)}})),s},groupBy:function(e){var t,r,i,n,s,o,u,l,g,d,h=this;if(ve(e)||!this.data.length)return new a([]);for(t=e.field,r=e.skipItemSorting?this.data:this._sortForGrouping(t,e.dir||"asc"),i=Pe.accessor(t),s=i.get(r[0],t),o={field:t,value:s,items:[]},d=[o],l=0,g=r.length;l<g;l++)n=r[l],u=i.get(n,t),v(s,u)||(s=u,o={field:t,value:s,items:[]},d.push(o)),o.items.push(n);return d=h._sortGroups(d,e),new a(d)},groupAllData:function(e,t){if(ve(e)||this.data&&!this.data.length)return new a([]);var r,i,n,s,o=e.field,u=e.skipItemSorting?t:new a(t).sort(o,e.dir||"asc",te).toArray(),l=Pe.accessor(o),g=l.get(u[0],o),d={field:o,value:g,items:[]},h=[d];for(n=0,s=u.length;n<s;n++)r=u[n],i=l.get(r,o),v(g,i)||(g=i,d={field:o,value:g,items:[]},h.push(d)),d.items.push(r);return h=this._sortGroups(h,e),new a(h)},_sortForGrouping:function(e,t){var r,i,n=this.data;if(!tt){for(r=0,i=n.length;r<i;r++)n[r].__position=r;for(n=new a(n).sort(e,t,te).toArray(),r=0,i=n.length;r<i;r++)delete n[r].__position;return n}return this.sort(e,t).toArray()},_sortGroups:function(e,t){var r=e;return t&&Re(t.compare)&&(r=new a(r).order({compare:t.compare},t.dir||Ce).toArray()),r},aggregate:function(e){var t,r,i={},n={};if(e&&e.length)for(t=0,r=this.data.length;t<r;t++)y(i,e,this.data[t],t,r,n);return i}},ne={sum:function(e,t,r){var i=r.get(t);return S(e)?S(i)&&(e+=i):e=i,e},count:function(e){return(e||0)+1},average:function(e,r,i,n,a,s){var o=i.get(r);return s.count===t&&(s.count=0),S(e)?S(o)&&(e+=o):e=o,S(o)&&s.count++,n==a-1&&S(e)&&(e/=s.count),e},max:function(e,t,r){var i=r.get(t);return S(e)||b(e)||(e=i),e<i&&(S(i)||b(i))&&(e=i),e},min:function(e,t,r){var i=r.get(t);return S(e)||b(e)||(e=i),e>i&&(S(i)||b(i))&&(e=i),e}},a.normalizeGroup=p,a.normalizeSort=s,a.process=function(e,r,i){var n,o,u,l,g,d,h,f,c,v,y,S;return r=r||{},n=r.group,o=m(p(n||[])),u=new a(e),l=_(n||[]),g=s(r.sort||[]),d=o?g:l.concat(g),c=r.filterCallback,v=r.filter,y=r.skip,S=r.take,d&&i&&(u=u.sort(d,t,t,i)),v&&(u=u.filter(v),c&&(u=c(u)),f=u.toArray().length),d&&(i||(u=u.sort(d)),n&&(e=u.toArray())),o?(u=u.group(n,e),y!==t&&S!==t&&(u=new a(C(u.toArray())).range(y,S),h=W(l,function(e){return pe({},e,{skipItemSorting:!0})}),u=u.group(h,e))):(y!==t&&S!==t&&(u=u.range(y,S)),n&&(u=u.group(n,e,r))),{total:f,data:u.toArray()}},ae=Ge.extend({init:function(e){this.data=e.data},read:function(e){e.success(this.data)},update:function(e){e.success(e.data)},create:function(e){e.success(e.data)},destroy:function(e){e.success(e.data)}}),se=Ge.extend({init:function(e){var t,r=this;e=r.options=pe({},r.options,e),ke(He,function(t,r){typeof e[r]===Fe&&(e[r]={url:e[r]})}),r.cache=e.cache?oe.create(e.cache):{find:we,add:we},t=e.parameterMap,e.submit&&(r.submit=e.submit),Re(e.push)&&(r.push=e.push),r.push||(r.push=Be),r.parameterMap=Re(t)?t:function(e){var r={};return ke(e,function(e,i){e in t&&(e=t[e],me(e)&&(i=e.value(i),e=e.key)),r[e]=i}),r}},options:{parameterMap:Be},create:function(e){return be(this.setup(e,De))},read:function(r){var i,n,a,s=this,o=s.cache;r=s.setup(r,Oe),i=r.success||we,n=r.error||we,a=o.find(r.data),a!==t?i(a):(r.success=function(e){o.add(r.data,e),i(e)},e.ajax(r))},update:function(e){return be(this.setup(e,Te))},destroy:function(e){return be(this.setup(e,ze))},setup:function(e,t){e=e||{};var r,i=this,n=i.options[t],a=Re(n.data)?n.data(e.data):n.data;return e=pe(!0,{},n,e),r=pe(!0,{},a,e.data),e.data=i.parameterMap(r,t),Re(e.url)&&(e.url=e.url(r)),e}}),oe=Ge.extend({init:function(){this._store={}},add:function(e,r){e!==t&&(this._store[Je(e)]=r)},find:function(e){return this._store[Je(e)]},clear:function(){this._store={}},remove:function(e){delete this._store[Je(e)]}}),oe.create=function(e){var t={inmemory:function(){return new oe}};return me(e)&&Re(e.find)?e:e===!0?new oe:t[e]()},ue=Ge.extend({init:function(e){var t,r,i,n,a,s,o,u,l,g,d,h,f,c,p=this;e=e||{};for(t in e)r=e[t],p[t]=typeof r===Fe?Ue(r):r;n=e.modelBase||Z,me(p.model)&&(p.model=i=n.define(p.model)),a=_e(p.data,p),p._dataAccessFunction=a,p.model&&(s=_e(p.groups,p),o=_e(p.serialize,p),u={},l={},g={},d={},h=!1,i=p.model,i.fields&&(ke(i.fields,function(e,t){var r;f=e,me(t)&&t.field?f=t.field:typeof t===Fe&&(f=t),me(t)&&t.from&&(r=t.from),h=h||r&&r!==e||f!==e,c=r||f,l[e]=c.indexOf(".")!==-1?Ue(c,!0):Ue(c),g[e]=Ue(e),u[r||f]=e,d[e]=r||f}),!e.serialize&&h&&(p.serialize=x(o,i,w,g,u,d))),p._dataAccessFunction=a,p._wrapDataAccessBase=G(i,P,l,u,d),p.data=x(a,i,P,l,u,d),p.groups=x(s,i,R,l,u,d))},errors:function(e){return e?e.errors:null},parse:Be,data:Be,total:function(e){return e.length},groups:Be,aggregates:function(){return{}},serialize:function(e){return e}}),le=xe.extend({init:function(e){var r,i,n,a=this;e&&(i=e.data),e=a.options=pe({},a.options,e),a._map={},a._prefetch={},a._data=[],a._pristineData=[],a._ranges=[],a._view=[],a._pristineTotal=0,a._destroyed=[],a._pageSize=e.pageSize,a._page=e.page||(e.pageSize?1:t),a._sort=s(e.sort),a._filter=l(e.filter),a._group=p(e.group),a._aggregate=e.aggregate,a._total=e.total,a._groupPaging=e.groupPaging,a._groupPaging&&(
108a._groupsState={}),a._shouldDetachObservableParents=!0,xe.fn.init.call(a),a.transport=ge.create(e,i,a),Re(a.transport.push)&&a.transport.push({pushCreate:_e(a._pushCreate,a),pushUpdate:_e(a._pushUpdate,a),pushDestroy:_e(a._pushDestroy,a)}),null!=e.offlineStorage&&("string"==typeof e.offlineStorage?(n=e.offlineStorage,a._storage={getItem:function(){return JSON.parse(localStorage.getItem(n))},setItem:function(e){localStorage.setItem(n,Je(a.reader.serialize(e)))}}):a._storage=e.offlineStorage),a.reader=new Pe.data.readers[e.schema.type||"json"](e.schema),r=a.reader.model||{},a._detachObservableParents(),a._data=a._observe(a._data),a._online=!0,a.bind(["push",Ne,Ie,Me,Ae,je,Le],e)},options:{data:null,schema:{modelBase:Z},offlineStorage:null,serverSorting:!1,serverPaging:!1,serverFiltering:!1,serverGrouping:!1,serverAggregates:!1,batch:!1,inPlaceSort:!1},clone:function(){return this},online:function(r){return r!==t?this._online!=r&&(this._online=r,r)?this.sync():e.Deferred().resolve().promise():this._online},offlineData:function(e){return null==this.options.offlineStorage?null:e!==t?this._storage.setItem(e):this._storage.getItem()||[]},_isServerGrouped:function(){var e=this.group()||[];return this.options.serverGrouping&&e.length},_isServerGroupPaged:function(){return this._isServerGrouped()&&this._groupPaging},_isGroupPaged:function(){var e=this.group()||[];return this._groupPaging&&e.length},_pushCreate:function(e){this._push(e,"pushCreate")},_pushUpdate:function(e){this._push(e,"pushUpdate")},_pushDestroy:function(e){this._push(e,"pushDestroy")},_push:function(e,t){var r=this._readData(e);r||(r=e),this[t](r)},_flatData:function(e,t){if(e){if(this._isServerGrouped())return D(e);if(!t)for(var r=0;r<e.length;r++)e.at(r)}return e},parent:we,get:function(e){var t,r,i=this._flatData(this._data,this.options.useRanges);for(t=0,r=i.length;t<r;t++)if(i[t].id==e)return i[t]},getByUid:function(e){return this._getByUid(e,this._data)},_getByUid:function(e,t){var r,i,n=this._flatData(t,this.options.useRanges);if(n)for(r=0,i=n.length;r<i;r++)if(n[r].uid==e)return n[r]},indexOf:function(e){return M(this._data,e)},at:function(e){return this._data.at(e)},data:function(e){var r,i=this;if(e===t){if(i._data)for(r=0;r<i._data.length;r++)i._data.at(r);return i._data}i._detachObservableParents(),i._data=this._observe(e),i._pristineData=e.slice(0),i._storeData(),i._ranges=[],i.trigger("reset"),i._addRange(i._data),i._total=i._data.length,i._pristineTotal=i._total,i._process(i._data)},view:function(e){return e===t?this._view:(this._view=this._observeView(e),t)},_observeView:function(e){var t,r=this;return A(e,r._data,r._ranges,r.reader.model||K,r._isServerGrouped()),t=new $(e,r.reader.model),t.parent=function(){return r.parent()},t},flatView:function(){var e=this.group()||[];return e.length?D(this._view):this._view},add:function(e){return this.insert(this._data.length,e)},_createNewModel:function(e){return this.reader.model?new this.reader.model(e):e instanceof K?e:new K(e)},insert:function(e,t){return t||(t=e,e=0),t instanceof Z||(t=this._createNewModel(t)),this._isServerGrouped()?this._data.splice(e,0,this._wrapInEmptyGroup(t)):this._data.splice(e,0,t),this._insertModelInRange(e,t),t},pushInsert:function(t,r){var i,n,a,s,o,u,l=this,g=l._getCurrentRangeSpan();r||(r=t,t=0),ye(r)||(r=[r]),i=[],n=this.options.autoSync,this.options.autoSync=!1;try{for(a=0;a<r.length;a++)s=r[a],o=this.insert(t,s),i.push(o),u=o.toJSON(),this._isServerGrouped()&&(u=this._wrapInEmptyGroup(u)),this._pristineData.push(u),g&&g.length&&e(g).last()[0].pristineData.push(u),t++}finally{this.options.autoSync=n}i.length&&this.trigger("push",{type:"create",items:i})},pushCreate:function(e){this.pushInsert(this._data.length,e)},pushUpdate:function(e){var t,r,i,n,a;for(ye(e)||(e=[e]),t=[],r=0;r<e.length;r++)i=e[r],n=this._createNewModel(i),a=this.get(n.id),a?(t.push(a),a.accept(i),a.trigger(Ie),this._updatePristineForModel(a,i)):this.pushCreate(i);t.length&&this.trigger("push",{type:"update",items:t})},pushDestroy:function(e){var t=this._removeItems(e);t.length&&this.trigger("push",{type:"destroy",items:t})},_removeItems:function(e,r){var i,n,a,s,o,u,l;ye(e)||(e=[e]),i=t===r||r,n=[],a=this.options.autoSync,this.options.autoSync=!1;try{for(s=0;s<e.length;s++)o=e[s],u=this._createNewModel(o),l=!1,this._eachItem(this._data,function(e){var t,r;for(t=0;t<e.length;t++)if(r=e.at(t),r.id===u.id){n.push(r),e.splice(t,1),l=!0;break}}),l&&i&&(this._removePristineForModel(u),this._destroyed.pop())}finally{this.options.autoSync=a}return n},remove:function(e){var t,r=this,i=r._isServerGrouped();return this._eachItem(r._data,function(n){if(t=E(n,e),t&&i)return t.isNew&&t.isNew()||r._destroyed.push(t),!0}),this._removeModelFromRanges(e),e},destroyed:function(){return this._destroyed},created:function(){var e,t,r=[],i=this._flatData(this._data,this.options.useRanges);for(e=0,t=i.length;e<t;e++)i[e].isNew&&i[e].isNew()&&r.push(i[e]);return r},updated:function(){var e,t,r=[],i=this._flatData(this._data,this.options.useRanges);for(e=0,t=i.length;e<t;e++)i[e].isNew&&!i[e].isNew()&&i[e].dirty&&r.push(i[e]);return r},sync:function(){var t,r=this,i=[],n=[],a=r._destroyed,s=e.Deferred().resolve().promise();
109if(r.online()){if(!r.reader.model)return s;i=r.created(),n=r.updated(),t=[],r.options.batch&&r.transport.submit?t=r._sendSubmit(i,n,a):(t.push.apply(t,r._send("create",i)),t.push.apply(t,r._send("update",n)),t.push.apply(t,r._send("destroy",a))),s=e.when.apply(null,t).then(function(){var e,t;for(e=0,t=arguments.length;e<t;e++)arguments[e]&&r._accept(arguments[e]);r._storeData(!0),r._syncEnd(),r._change({action:"sync"}),r.trigger(Ae),r._isServerGroupPaged()&&r.read()})}else r._storeData(!0),r._syncEnd(),r._change({action:"sync"});return s},_syncEnd:we,cancelChanges:function(e){var t=this;e instanceof Pe.data.Model?t._cancelModel(e):(t._destroyed=[],t._detachObservableParents(),t._data=t._observe(t._pristineData),t.options.serverPaging&&(t._total=t._pristineTotal),t._ranges=[],t._addRange(t._data,0),t._changesCanceled(),t._change(),t._markOfflineUpdatesAsDirty(),t._isServerGrouped()&&t.read())},_changesCanceled:we,_markOfflineUpdatesAsDirty:function(){var e=this;null!=e.options.offlineStorage&&e._eachItem(e._data,function(e){var t,r;for(t=0;t<e.length;t++)r=e.at(t),"update"!=r.__state__&&"create"!=r.__state__||(r.dirty=!0)})},hasChanges:function(){var e,t,r=this._flatData(this._data,this.options.useRanges);if(this._destroyed.length)return!0;for(e=0,t=r.length;e<t;e++)if(r[e].isNew&&r[e].isNew()||r[e].dirty)return!0;return!1},_accept:function(t){var r,i=this,n=t.models,a=t.response,s=0,o=i._isServerGrouped(),u=i._pristineData,l=t.type;if(i.trigger(je,{response:a,type:l}),a&&!ve(a)){if(a=i.reader.parse(a),i._handleCustomErrors(a))return;
109a=i.reader.data(a),ye(a)||(a=[a])}else a=e.map(n,function(e){return e.toJSON()});for("destroy"===l&&(i._destroyed=[]),s=0,r=n.length;s<r;s++)"destroy"!==l?(n[s].accept(a[s]),"create"===l?u.push(o?i._wrapInEmptyGroup(n[s].toJSON()):a[s]):"update"===l&&i._updatePristineForModel(n[s],a[s])):i._removePristineForModel(n[s])},_updatePristineForModel:function(e,t){this._executeOnPristineForModel(e,function(e,r){Pe.deepExtend(r[e],t)})},_executeOnPristineForModel:function(e,t){this._eachPristineItem(function(r){var i=N(r,e);if(i>-1)return t(i,r),!0})},_removePristineForModel:function(e){this._executeOnPristineForModel(e,function(e,t){t.splice(e,1)})},_readData:function(e){var t=this._isServerGrouped()?this.reader.groups:this.reader.data;return t.call(this.reader,e)},_eachPristineItem:function(e){var t=this,r=t.options,i=t._getCurrentRangeSpan();t._eachItem(t._pristineData,e),r.serverPaging&&r.useRanges&&ke(i,function(r,i){t._eachItem(i.pristineData,e)})},_eachItem:function(e,t){e&&e.length&&(this._isServerGrouped()?T(e,t):t(e))},_pristineForModel:function(e){var t,r,i=function(i){if(r=N(i,e),r>-1)return t=i[r],!0};return this._eachPristineItem(i),t},_cancelModel:function(e){var t=this,r=this._pristineForModel(e);this._eachItem(this._data,function(i){var n=M(i,e);n>=0&&(!r||e.isNew()&&!r.__state__?(t._modelCanceled(e),i.splice(n,1),t._removeModelFromRanges(e)):(i[n].accept(r),"update"==r.__state__&&(i[n].dirty=!0)))})},_modelCanceled:we,_submit:function(t,r){var i=this;i.trigger(Me,{type:"submit"}),i.trigger(Le),i.transport.submit(pe({success:function(r,i){var n=e.grep(t,function(e){return e.type==i})[0];n&&n.resolve({response:r,models:n.models,type:i})},error:function(e,r,n){for(var a=0;a<t.length;a++)t[a].reject(e);i.error(e,r,n)}},r))},_sendSubmit:function(t,r,i){var n=this,a=[];return n.options.batch&&(t.length&&a.push(e.Deferred(function(e){e.type="create",e.models=t})),r.length&&a.push(e.Deferred(function(e){e.type="update",e.models=r})),i.length&&a.push(e.Deferred(function(e){e.type="destroy",e.models=i})),n._submit(a,{data:{created:n.reader.serialize(k(t)),updated:n.reader.serialize(k(r)),destroyed:n.reader.serialize(k(i))}})),a},_promise:function(t,r,i){var n=this;return e.Deferred(function(e){n.trigger(Me,{type:i}),n.trigger(Le),n.transport[i].call(n.transport,pe({success:function(t){e.resolve({response:t,models:r,type:i})},error:function(t,r,i){e.reject(t),n.error(t,r,i)}},t))}).promise()},_send:function(e,t){var r,i,n=this,a=[],s=n.reader.serialize(k(t));if(n.options.batch)t.length&&a.push(n._promise({data:{models:s}},t,e));else for(r=0,i=t.length;r<i;r++)a.push(n._promise({data:s[r]},[t[r]],e));return a},read:function(t){var r=this,i=r._params(t),n=e.Deferred();return r._queueRequest(i,function(){var e=r.trigger(Me,{type:"read"});e?(r._dequeueRequest(),n.resolve(e)):(r.trigger(Le),r._ranges=[],r.trigger("reset"),r.online()?r.transport.read({data:i,success:function(e){r._ranges=[],r.success(e,i),n.resolve()},error:function(){var e=Ye.call(arguments);r.error.apply(r,e),n.reject.apply(n,e)}}):null!=r.options.offlineStorage&&(r.success(r.offlineData(),i),n.resolve()))}),n.promise()},_readAggregates:function(e){return this.reader.aggregates(e)},success:function(e){var r,i,n,a,s,o,u,l,g,d,h,f=this,c=f.options;if(f.trigger(je,{response:e,type:"read"}),f.online()){if(e=f.reader.parse(e),f._handleCustomErrors(e))return f._dequeueRequest(),t;f._total=f.reader.total(e),f._isServerGroupPaged()&&(f._serverGroupsTotal=f._total),f._pageSize>f._total&&(f._pageSize=f._total,f.options.pageSize&&f.options.pageSize>f._pageSize&&(f._pageSize=f.options.pageSize)),f._aggregate&&c.serverAggregates&&(f._aggregateResult=f._readAggregates(e)),e=f._readData(e),f._destroyed=[]}else{for(e=f._readData(e),r=[],n={},a=f.reader.model,s=a?a.idField:"id",o=0;o<this._destroyed.length;o++)u=this._destroyed[o][s],n[u]=u;for(o=0;o<e.length;o++)l=e[o],g=l.__state__,"destroy"==g?n[l[s]]||this._destroyed.push(this._createNewModel(l)):r.push(l);e=r,f._total=e.length}if(f._pristineTotal=f._total,i=f._skip&&f._data.length&&f._skip<f._data.length,f.options.endless)for(i&&f._pristineData.splice(f._skip,f._pristineData.length),r=e.slice(0),d=0;d<r.length;d++)f._pristineData.push(r[d]);else f._pristineData=e.slice(0);if(f._detachObservableParents(),f.options.endless){for(f._data.unbind(Ie,f._changeHandler),f._isServerGrouped()&&f._data[f._data.length-1].value===e[0].value&&(F(f._data[f._data.length-1],e[0]),e.shift()),e=f._observe(e),i&&f._data.splice(f._skip,f._data.length),h=0;h<e.length;h++)f._data.push(e[h]);f._data.bind(Ie,f._changeHandler)}else f._data=f._observe(e);f._markOfflineUpdatesAsDirty(),f._storeData(),f._addRange(f._data),f._process(f._data),f._dequeueRequest()},_detachObservableParents:function(){if(this._data&&this._shouldDetachObservableParents)for(var e=0;e<this._data.length;e++)this._data[e].parent&&(this._data[e].parent=we)},_storeData:function(e){function t(e){var r,i,n,a=[];for(r=0;r<e.length;r++)i=e.at(r),n=i.toJSON(),s&&i.items?n.items=t(i.items):(n.uid=i.uid,o&&(i.isNew()?n.__state__="create":i.dirty&&(n.__state__="update"))),a.push(n);return a}var r,i,n,a,s=this._isServerGrouped(),o=this.reader.model;if(null!=this.options.offlineStorage){for(r=t(this._data),i=[],n=0;n<this._destroyed.length;n++)a=this._destroyed[n].toJSON(),a.__state__="destroy",i.push(a);this.offlineData(r.concat(i)),e&&(this._pristineData=this.reader.reader?this.reader.reader._wrapDataAccessBase(r):this.reader._wrapDataAccessBase(r))}},_addRange:function(e,r){var i,n=this,a=t!==r?r:n._skip||0,s={data:e,pristineData:e.toJSON(),timestamp:n._timeStamp()};this._isGroupPaged()?(i=a+e.length,s.outerStart=a,s.outerEnd=i):i=a+n._flatData(e,!0).length,s.start=a,s.end=i,n._ranges.push(s),n._sortRanges(),n._isGroupPaged()&&(n._groupsFlat||(n._groupsFlat=[]),n._appendToGroupsFlat(s.data),n._updateOuterRangesLength())},_appendToGroupsFlat:function(e){var t,r=e.length;for(t=0;t<r;t++)this._groupsFlat.push(e[t])},_getGroupByUid:function(e){var t,r,i=this._groupsFlat.length;for(r=0;r<i;r++)if(t=this._groupsFlat[r],t.uid===e)return t},_sortRanges:function(){this._ranges.sort(function(e,t){return e.start-t.start})},error:function(e,t,r){this._dequeueRequest(),this.trigger(je,{}),this.trigger(Ne,{xhr:e,status:t,errorThrown:r})},_params:function(e){var t=this,r=pe({take:t.take(),skip:t.skip(),page:t.page(),pageSize:t.pageSize(),sort:t._sort,filter:t._filter,group:t._group,aggregate:t._aggregate,groupPaging:!!t._groupPaging},e);return t.options.serverPaging||(delete r.take,delete r.skip,delete r.page,delete r.pageSize),t.options.serverGrouping?t.reader.model&&r.group&&(r.group=B(r.group,t.reader.model)):delete r.group,t.options.serverFiltering?t.reader.model&&r.filter&&(r.filter=H(r.filter,t.reader.model)):delete r.filter,t.options.serverSorting?t.reader.model&&r.s
109ort&&(r.sort=B(r.sort,t.reader.model)):delete r.sort,t.options.serverAggregates?t.reader.model&&r.aggregate&&(r.aggregate=B(r.aggregate,t.reader.model)):delete r.aggregate,t.options.groupPaging||delete r.groupPaging,r},_queueRequest:function(e,r){var i=this;i._requestInProgress?i._pending={callback:_e(r,i),options:e}:(i._requestInProgress=!0,i._pending=t,r())},_dequeueRequest:function(){var e=this;e._requestInProgress=!1,e._pending&&e._queueRequest(e._pending.options,e._pending.callback)},_handleCustomErrors:function(e){if(this.reader.errors){var t=this.reader.errors(e);if(t)return this.trigger(Ne,{xhr:null,status:"customerror",errorThrown:"custom error",errors:t}),!0}return!1},_shouldWrap:function(e){var t=this.reader.model;return!(!t||!e.length)&&!(e[0]instanceof t)},_observe:function(e){var t,r=this,i=r.reader.model;return r._shouldDetachObservableParents=!0,e instanceof it?(r._shouldDetachObservableParents=!1,r._shouldWrap(e)&&(e.type=r.reader.model,e.wrapAll(e,e))):(t=r.pageSize()&&!r.options.serverPaging?$:it,e=new t(e,r.reader.model),e.parent=function(){return r.parent()}),r._isServerGrouped()&&O(e,i),!(r._changeHandler&&r._data&&r._data instanceof it)||r.options.useRanges&&r.options.serverPaging?r._changeHandler=_e(r._change,r):r._data.unbind(Ie,r._changeHandler),e.bind(Ie,r._changeHandler)},_updateTotalForAction:function(e,t){var r=this,i=parseInt(r._total,10);S(r._total)||(i=parseInt(r._pristineTotal,10)),"add"===e?i+=t.length:"remove"===e?i-=t.length:"itemchange"===e||"sync"===e||r.options.serverPaging?"sync"===e&&(i=r._pristineTotal=parseInt(r._total,10)):i=r._pristineTotal,r._total=i},_change:function(e){var t,r,i,n=this,a=e?e.action:"";if("remove"===a)for(t=0,r=e.items.length;t<r;t++)e.items[t].isNew&&e.items[t].isNew()||n._destroyed.push(e.items[t]);!n.options.autoSync||"add"!==a&&"remove"!==a&&"itemchange"!==a?(n._updateTotalForAction(a,e?e.items:[]),n._process(n._data,e)):(i=function(t){"sync"===t.action&&(n.unbind("change",i),n._updateTotalForAction(a,e.items))},n.first("change",i),n.sync())},_calculateAggregates:function(e,t){t=t||{};var r=new a(e),i=t.aggregate,n=t.filter;return n&&(r=r.filter(n)),r.aggregate(i)},_process:function(e,r){var i,n=this,a={};n.options.serverPaging!==!0&&(a.skip=n._skip,a.take=n._take||n._pageSize,a.skip===t&&n._page!==t&&n._pageSize!==t&&(a.skip=(n._page-1)*n._pageSize),n.options.useRanges&&(a.skip=n.currentRangeStart())),n.options.serverSorting!==!0&&(a.sort=n._sort),n.options.serverFiltering!==!0&&(a.filter=n._filter),n.options.serverGrouping!==!0&&(a.group=n._group),n.options.serverAggregates!==!0&&(a.aggregate=n._aggregate),n.options.serverGrouping&&n._clearEmptyGroups(e),a.groupPaging=n._groupPaging,i=n._isGroupPaged()&&r&&("page"===r.action||"expandGroup"===r.action||"collapseGroup"===r.action)?n._queryProcess(e,{aggregate:n._aggregate}):n._queryProcess(e,a),n.options.serverAggregates!==!0&&(n._aggregateResult=n._calculateAggregates(i.dataToAggregate||e,a)),n._setView(i,a,r),n._setFilterTotal(i.total,!1),r=r||{},r.items=r.items||n._view,n.trigger(Ie,r)},_setView:function(e,t,r){var i,n=this;n._isGroupPaged()&&!n._isServerGrouped()?!r||"page"!==r.action&&"expandGroup"!==r.action&&"collapseGroup"!==r.action?(n._ranges=[],i=new a(e.data),n._addRange(n._observe(e.data)),t.skip>e.data.length/t.take+1&&(t.skip=0),n.view(i.range(t.skip,t.take).toArray())):(n.view(e.data),n._updateOuterRangesLength()):n.view(e.data)},_clearEmptyGroups:function(e){var t,r;for(t=e.length-1;t>=0;t--)r=e[t],r.hasSubgroups?this._clearEmptyGroups(r.items):r.items&&!r.items.length&&Ke.apply(r.parent(),[t,1])},_queryProcess:function(e,t){return this.options.inPlaceSort?a.process(e,t,this.options.inPlaceSort):a.process(e,t)},_mergeState:function(r){var i=this;return r!==t&&(i._pageSize=r.pageSize,i._page=r.page,i._sort=r.sort,i._filter=r.filter,i._group=r.group,i._aggregate=r.aggregate,i._skip=i._currentRangeStart=r.skip,i._take=r.take,i._skip===t&&(i._skip=i._currentRangeStart=i.skip(),r.skip=i.skip()),i._take===t&&i._pageSize!==t&&(i._take=i._pageSize,r.take=i._take),r.sort&&(i._sort=r.sort=s(r.sort),i._sortFields=o(r.sort)),r.filter&&(i._filter=r.filter=i.options.accentFoldingFiltering&&!e.isEmptyObject(r.filter)?e.extend({},l(r.filter),{accentFoldingFiltering:i.options.accentFoldingFiltering}):l(r.filter)),r.group&&(i._group=r.group=p(r.group)),r.aggregate&&(i._aggregate=r.aggregate=c(r.aggregate))),r},query:function(r){var i,n,a,s=this.options.serverSorting||this.options.serverPaging||this.options.serverFiltering||this.options.serverGrouping||this.options.serverAggregates;return s||(this._data===t||0===this._data.length)&&!this._destroyed.length?(this.options.endless&&(n=r.pageSize-this.pageSize(),n>0?(n=this.pageSize(),r.page=r.pageSize/n,r.pageSize=n):(r.page=1,this.options.endless=!1)),this.read(this._mergeState(r))):(a=this.trigger(Me,{type:"read"}),a||(this.trigger(Le),r&&(r.groupPaging=this._groupPaging),i=this._queryProcess(this._data,this._mergeState(r)),this._setFilterTotal(i.total,!0),this._aggregateResult=this._calculateAggregates(i.dataToAggregate||this._data,r),this._setVie
109w(i,r),this.trigger(je,{type:"read"}),this.trigger(Ie,{items:i.data,action:r?r.action:""})),e.Deferred().resolve(a).promise())},_hasExpandedSubGroups:function(e){var t,r=!1,i=e.items?e.items.length:0;if(!e.hasSubgroups)return!1;for(t=0;t<i;t++)if(this._groupsState[e.items[t].uid]){r=!0;break}return r},_findGroupedRange:function(e,r,i,n,a){var s,o,u,l,g,d,h,f,c=this,p=e.length;for(h=0;h<p&&(s=e[h],!(i.taken>=i.take));h++)if(c._getGroupByUid(s.uid)||c._groupsFlat.push(s),c._groupsState[s.uid]){if(c._isServerGroupPaged()){if(s.hasSubgroups&&!s.subgroupCount)return c.getGroupSubGroupCount(s,i,n,a),c._fetchingGroupItems=!0,t;if(g=(s.subgroupCount||s.itemCount)+1,d=i.skip-i.skipped,l=!s.items||s.items.length-d<i.take-i.taken,!c._hasExpandedSubGroups(s)&&d>g){i.skipped+=g;continue}if(s.hasSubgroups&&(!s.items||l&&s.items.length<s.subgroupCount)||!s.hasSubgroups&&(!s.items||l&&s.items.length<s.itemCount))return c.getGroupItems(s,i,n,a),c._fetchingGroupItems=!0,t}if(i.includeParents&&i.skipped<i.skip?(i.skipped++,s.excludeHeader=!0):i.includeParents&&i.taken++,s.hasSubgroups&&s.items&&s.items.length)s.currentItems=[],n||(n=[]),n.push(s),c._findGroupedRange(s.items,s.currentItems,i,n,a),n.pop(),s.currentItems.length||i.taken>0?r.push(s):s.excludeHeader=!1;else{for(o=[],u=s.items.length,f=0;f<u;f++)if(i.skipped<i.skip)i.skipped++;else{if(i.taken>=i.take)break;o.push(s.items[f]),i.taken++}o.length||i.taken>0?(s.currentItems=o,r.push(s)):s.excludeHeader=!1}}else{if(i.skipped<i.skip){i.skipped++;continue}r.push(s),i.taken++}},getGroupItems:function(e,t,r,i){var n,a,s,o,u,l=this;e.items||(e.items=[]),n=e.items.length,a=l.take(),s=this._composeItemsFilter(e,r),o={page:Ve.floor((n||0)/(a||1))||1,pageSize:a,skip:n,take:a,filter:s,aggregate:l._aggregate,sort:l._sort},u=l.findSubgroups(e),u&&u.length&&(o.group=u,o.groupPaging=!0),clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._queueRequest(o,function(){l.trigger(Me,{type:"read"})?l._dequeueRequest():l.transport.read({data:o,success:l._groupItemsSuccessHandler(e,t.skip,l.take(),i),error:function(){var e=Ye.call(arguments);l.error.apply(l,e)}})})},100)},getGroupSubGroupCount:function(e,t,r,i){var n,a,s,o=this;e.items||(e.items=[]),n=this._composeItemsFilter(e,r),a=this._group.map(function(e){return e.field}).indexOf(e.field),s={filter:n,group:[o._group[a+1]],groupPaging:!0,includeSubGroupCount:!0},clearTimeout(o._timeout),o._timeout=setTimeout(function(){o._queueRequest(s,function(){o.trigger(Me,{type:"read"})?o._dequeueRequest():o.transport.read({data:s,success:o._subGroupCountSuccessHandler(e,t.skip,o.take(),i),error:function(){var e=Ye.call(arguments);o.error.apply(o,e)}})})},100)},_subGroupCountSuccessHandler:function(e,t,r,i){var n,a=this;return i=Re(i)?i:we,n=a.options.schema&&a.options.schema.total?a.options.schema.total:"Total",function(s){a._dequeueRequest(),a.trigger(je,{response:s,type:"read"}),a._fetchingGroupItems=!1,e.subgroupCount=s[n],a.range(t,r,i,"expandGroup")}},_groupItemsSuccessHandler:function(e,t,r,i){var n=this,a=n._timeStamp();return i=Re(i)?i:we,function(s){var o,u,l=Z.define(n.options.schema.model);for(n._dequeueRequest(),n.trigger(je,{response:s,type:"read"}),s=n.reader.parse(s),e.hasSubgroups?o=n.reader.groups(s):(o=n.reader.data(s),o=o.map(function(e){return new l(e)})),e.items.omitChangeEvent=!0,u=0;u<o.length;u++)e.items.push(o[u]);e.items.omitChangeEvent=!1,n._updateRangePristineData(e),n._fetchingGroupItems=!1,n._serverGroupsTotal+=o.length,n.range(t,r,i,"expandGroup"),(a>=n._currentRequestTimeStamp||!n._skipRequestsInProgress)&&n.trigger(Ie,{})}},findSubgroups:function(e){var t=this._group.map(function(e){return e.field}).indexOf(e.field);return this._group.slice(t+1,this._group.length)},_composeItemsFilter:function(e,t){var r,i=this.filter()||{logic:"and",filters:[]};if(i=pe(!0,{},i),i.filters.push({field:e.field,operator:"eq",value:e.value}),t)for(r=0;r<t.length;r++)i.filters.push({field:t[r].field,operator:"eq",value:t[r].value});return i},_updateRangePristineData:function(e){var t,r,i,n,a,s,o,u=this,l=u._ranges,g=l.length;for(s=0;s<g;s++){for(i=l[s],n=i.data.length,a=[],o=0;o<n&&(r=i.data[o],a.push(o),!(r.uid===e.uid||r.hasSubgroups&&r.items.length&&u._containsSubGroup(r,e,a)));o++)a.pop();if(a.length){for(t=l[s].pristineData;a.length>1;)t=t[a.splice(0,1)[0]].items;t[a[0]]=u._cloneGroup(e);break}}},_containsSubGroup:function(e,t,r){var i,n,a=this,s=e.items.length;if(e.hasSubgroups&&s)for(n=0;n<s;n++){if(i=e.items[n],r.push(n),i.uid===t.uid)return!0;
109if(i.hasSubgroups&&i.items.length)return a._containsSubGroup(i,t,r);r.pop()}},_cloneGroup:function(e){var t=this;return e="function"==typeof e.toJSON?e.toJSON():e,e.items&&e.items.length&&(e.items=e.items.map(function(e){return t._cloneGroup(e)})),e},_setFilterTotal:function(e,r){var i=this;i.options.serverFiltering||(e!==t?i._total=e:r&&(i._total=i._data.length))},fetch:function(e){var t=this,r=function(r){r!==!0&&Re(e)&&e.call(t)};return this._query().done(r)},_query:function(e){var t=this;return t.query(pe({},{page:t.page(),pageSize:t.pageSize(),sort:t.sort(),filter:t.filter(),group:t.group(),aggregate:t.aggregate()},e))},next:function(e){var t=this,r=t.page(),i=t.total();if(e=e||{},r&&!(i&&r+1>t.totalPages()))return t._skip=t._currentRangeStart=r*t.take(),r+=1,e.page=r,t._query(e),r},prev:function(e){var t=this,r=t.page();if(e=e||{},r&&1!==r)return t._skip=t._currentRangeStart=t._skip-t.take(),r-=1,e.page=r,t._query(e),r},page:function(e){var r,i,n=this;return e!==t?(e=Ve.max(Ve.min(Ve.max(e,1),n.totalPages()),1),i=n.take(),n._isGroupPaged()?(e-=1,n.range(e*i,i,null,"page"),t):(n._query(n._pageableQueryOptions({page:e})),t)):(r=n.skip(),r!==t?Ve.round((r||0)/(n.take()||1))+1:t)},pageSize:function(e){var r=this;return e!==t?(r._query(r._pageableQueryOptions({pageSize:e,page:1})),t):r.take()},sort:function(e){var r=this;return e!==t?(r.trigger("sort"),r._query({sort:e}),t):r._sort},filter:function(e){var r=this;return e===t?r._filter:(r.trigger("reset"),r._query({filter:e,page:1}),t)},group:function(e){var r=this;return e!==t?(r._query({group:e}),t):r._group},getGroupsFlat:function(e){var t,r,i,n=[];for(t=0,r=e.length;t<r;t++)i=e[t],i.hasSubgroups&&(n=n.concat(this.getGroupsFlat(i.items))),n.push(i);return n},total:function(){return parseInt(this._total||0,10)},groupsTotal:function(e){var t=this;return t._group.length?t._isServerGrouped()?t._serverGroupsTotal?t._serverGroupsTotal:t._serverGroupsTotal=t.total():t._calculateGroupsTotal(t._ranges.length?t._ranges[0].data:[],e):t.total()},_calculateGroupsTotal:function(e,t,r,i){var n,a,s,o=this;if(r=r||"items",o._group.length&&e){for(n=0,a=e.length,s=0;s<a;s++)n+=o.groupCount(e[s],t,r,i);return o._groupsTotal=n,n}return o._groupsTotal=o._data.length},groupCount:function(e,t,r,i){var n=this,a=0;return e.hasSubgroups&&n._groupsState[e.uid]?((t&&!e.excludeHeader||i)&&(a+=1),e[r].forEach(function(e){a+=n.groupCount(e,t,r,i
109)})):n._groupsState[e.uid]?((t&&!e.excludeHeader||i)&&a++,a+=e[r]?e[r].length:0):a++,a},countGroupRange:function(e){var t,r=0,i=e.length;for(t=0;t<i;t++)r+=this.groupCount(e[t],!0);return r},aggregate:function(e){var r=this;return e!==t?(r._query({aggregate:e}),t):r._aggregate},aggregates:function(){var e=this._aggregateResult;return ve(e)&&(e=this._emptyAggregates(this.aggregate())),e},_emptyAggregates:function(e){var t,r,i={};if(!ve(e))for(t={},ye(e)||(e=[e]),r=0;r<e.length;r++)t[e[r].aggregate]=0,i[e[r].field]=t;return i},_pageableQueryOptions:function(e){return e},_wrapInEmptyGroup:function(e){var t,r,i,n,a=this.group();for(i=a.length-1,n=0;i>=n;i--)r=a[i],t={value:e.get?e.get(r.field):e[r.field],field:r.field,items:t?[t]:[e],hasSubgroups:!!t,aggregates:this._emptyAggregates(r.aggregates)};return t},totalPages:function(){var e=this,t=e.pageSize()||e.total(),r=e._isGroupPaged()?e.groupsTotal(!0):e.total();return Ve.ceil((r||0)/t)},inRange:function(e,t){var r=this,i=Ve.min(e+t,r.total());return!r.options.serverPaging&&r._data.length>0||r._findRange(e,i).length>0},lastRange:function(){var e=this._ranges;return e[e.length-1]||{start:0,end:0,data:[]}},firstItemUid:function(){var e=this._ranges;return e.length&&e[0].data.length&&e[0].data[0].uid},enableRequestsInProgress:function(){this._skipRequestsInProgress=!1},_timeStamp:function(){return(new Date).getTime()},range:function(e,r,i,n){var a,s,o,u,l;return this._currentRequestTimeStamp=this._timeStamp(),this._skipRequestsInProgress=!0,a=this._isGroupPaged()?this.groupsTotal(!0):this.total(),"expandGroup"!==n&&"collapseGroup"!==n||this._updateOuterRangesLength(),e=Ve.min(e||0,a),i=Re(i)?i:we,s=this,o=Ve.max(Ve.floor(e/r),0)*r,u=Ve.min(o+r,a),l=s._findRange(e,Ve.min(e+r,a),i),!l.length&&0!==a||s._fetchingGroupItems?(s._isGroupPaged()&&(s._originalPageSkip=o,s._originalSize=u,o=Ve.max(Ve.floor(s._adjustPageSkip(e,r)/r),0)*r,u=Ve.min(o+r,a)),r===t||s._fetchingGroupItems||(s._isGroupPaged()&&!s._groupRangeExists(o,r)||!s._rangeExists(o,u)?s.prefetch(o,r,function(){e>o&&u<s.total()&&!s._rangeExists(u,Ve.min(u+r,s.total()))?s.prefetch(u,r,function(){s.range(e,r,i)}):s.range(e,r,i)}):o<e&&s.prefetch(u,r,function(){s.range(e,r,i)})),t):(s._processRangeData(l,e,r,s._originalPageSkip||o,s._originalSize||u,{action:n}),s._originalPageSkip=null,s._originalSize=null,i(),t)},_findRange:function(e,r,i){var n,a,o,u,l,g,d,h,f,c,p,m,v,y,S=this,b=S._ranges,k=[],w=S.options,P=w.serverSorting||w.serverPaging||w.serverFiltering||w.serverGrouping||w.serverAggregates,R={take:r-e,skip:e,skipped:0,taken:0,includeParents:!0},x=S._isGroupPaged(),G=x?"outerStart":"start",F=x?"outerEnd":"end";for(a=0,p=b.length;a<p;a++){if(n=b[a],x){if(n.outerStart>=r)return[];if(e>n.outerEnd){R.skipped+=n.outerEnd-(m||0),m=n.outerEnd;continue}if(t!==m&&m!=n.outerStart&&(R.skipped+=n.outerStart-m),R.skipped>R.skip)return[];for(t===m&&e>0&&n.start>0&&(R.skipped=n.outerStart),o=a;;){if(this._findGroupedRange(n.data,k,R,null,i),v=S._calculateGroupsTotal(k,!0,"currentItems"),v>=R.take)return k;if(S._fetchingGroupItems)return[];if(o++,!b[o]||b[o].outerStart!==n.outerEnd)break;n=b[o]}}else if(e>=n[G]&&e<=n[F]){for(c=0,o=a;o<p;o++)if(n=b[o],f=S._flatData(n.data,!0),f.length&&e+c>=n.start&&(g=n.data,d=n.end,P||(w.inPlaceSort?h=S._queryProcess(n.data,{filter:S.filter()}):(y=_(S.group()||[]).concat(s(S.sort()||[])),h=S._queryProcess(n.data,{sort:y,filter:S.filter()})),f=g=h.data,h.total!==t&&(d=h.total)),u=0,e+c>n.start&&(u=e+c-n.start),l=f.length,d>r&&(l-=d-r),c+=l-u,k=S._mergeGroups(k,g,u,l),r<=n.end&&c==r-e))return k;break}m=n.outerEnd}return[]},_getRangesMismatch:function(e){for(var t,r=this,i=r._ranges,n=0,a=0;;){if(t=i[a],!t||t.outerStart>e)break;t.outerEnd!=t.end&&(n=t.outerEnd-t.end),a++}return n},_mergeGroups:function(e,t,r,i){if(this._isServerGrouped()){var n,a=t.toJSON();return e.length&&(n=e[e.length-1]),q(n,a,r,i),e.concat(a)}return e.concat(t.slice(r,i))},_processRangeData:function(e,r,i,n,a,s){var o,u,l,g,d=this;d._pending=t,d._skip=r>d.skip()&&!d._omitPrefetch?Ve.min(a,(d.totalPages()-1)*d.take()):n,d._currentRangeStart=r,d._take=i,o=d.options.serverPaging,u=d.options.serverSorting,l=d.options.serverFiltering,g=d.options.serverAggregates;try{d.options.serverPaging=!0,d._isServerGrouped()||d.group()&&d.group().length||(d.options.serverSorting=!0),d.options.serverFiltering=!0,d.options.serverPaging=!0,d.options.serverAggregates=!0,o&&(d._detachObservableParents(),d._data=e=d._observe(e)),d._process(e,s)}finally{d.options.serverPaging=o,d.options.serverSorting=u,d.options.serverFiltering=l,d.options.serverAggregates=g}},skip:function(){var e=this;return e._skip===t?e._page!==t?(e._page-1)*(e.take()||1):t:e._skip},currentRangeStart:function(){return this._currentRangeStart||0},take:function(){return this._take||this._pageSize},_prefetchSuccessHandler:function(e,t,r,i){var n=this,a=n._timeStamp();return function(s){var o,u,l,g=!1,d={start:e,end:t,data:[],timestamp:n._timeStamp()};if(n._dequeueRequest(),n.trigger(je,{response:s,type:"read"}),s=n.reader.parse(s),l=n._readData(s),l.length){for(o=0,u=n._ranges.length;o<u;o++)if(n._ranges[o].start===e){g=!0,d=n._ranges[o],n._isGroupPaged()||(d.pristineData=l,d.data=n._observe(l),d.end=d.start+n._flatData(d.data,!0).length,n._sortRanges());break}g||n._addRange(n._observe(l),e)}n._total=n.reader.total(s),(i||a>=n._currentRequestTimeStamp||!n._skipRequestsInProgress)&&(r&&l.length?r():n.trigger(Ie,{}))}},prefetch:function(e,r,i){var n=this,a=Ve.min(e+r,n.total()),s={take:r,skip:e,page:e/r+1,pageSize:r,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};return n._isGroupPaged()&&!n._isServerGrouped()&&n._groupRangeExists(e,a)?(i&&i(),t):(n._isServerGroupPaged()&&!n._groupRangeExists(e,a)||
109!n._rangeExists(e,a)?(clearTimeout(n._timeout),n._timeout=setTimeout(function(){n._queueRequest(s,function(){n.trigger(Me,{type:"read"})?n._dequeueRequest():(n._omitPrefetch&&n.trigger(Le),n.transport.read({data:n._params(s),success:n._prefetchSuccessHandler(e,a,i),error:function(){var e=Ye.call(arguments);n.error.apply(n,e)}}))})},100)):i&&i(),t)},_multiplePrefetch:function(e,t,r){var i=this,n=Ve.min(e+t,i.total()),a={take:t,skip:e,page:e/t+1,pageSize:t,sort:i._sort,filter:i._filter,group:i._group,aggregate:i._aggregate};i._rangeExists(e,n)?r&&r():i.trigger(Me,{type:"read"})||i.transport.read({data:i._params(a),success:i._prefetchSuccessHandler(e,n,r,!0)})},_adjustPageSkip:function(e,t){var r,i,n=this,a=n._getPrevRange(e),s=n.total();if(a){if(i=n._getRangesMismatch(e),!i)return e;e-=i}if(r=Ve.max(Ve.floor(e/t),0)*t,r>s)for(;;)if(r-=t,r<s)break;return r},_getNextRange:function(e){var t,r,i=this,n=i._ranges;for(t=0,r=n.length;t<r;t++)if(n[t].start<=e&&n[t].end>=e)return n[t]},_getPrevRange:function(e){var t,r,i=this,n=i._ranges,a=n.length;for(t=a-1;t>=0;t--)if(n[t].outerStart<=e){r=n[t];break}return r},_rangeExists:function(e,t){var r,i,n=this,a=n._ranges;for(r=0,i=a.length;r<i;r++)if(a[r].start<=e&&a[r].end>=t)return!0;return!1},_groupRangeExists:function(e,t){var r,i,n,a=this,s=a._ranges,o=0,u=a.groupsTotal(!0);for(t>u&&!a._isServerGrouped()&&(t=u),r=0,i=s.length;r<i;r++)n=s[r],n.outerStart<=e&&n.outerEnd>=e?o+=n.outerEnd-e:n.outerStart<=t&&n.outerEnd>=t&&(o+=t-n.outerStart);return o>=t-e},_getCurrentRangeSpan:function(){var e,t,r=this,i=r._ranges,n=r.currentRangeStart(),a=n+(r.take()||0),s=[],o=i.length;for(t=0;t<o;t++)e=i[t],(e.start<=n&&e.end>=n||e.start>=n&&e.start<=a)&&s.push(e);return s},_removeModelFromRanges:function(e){var t,r,i,n=this;for(r=0,i=this._ranges.length;r<i;r++)t=this._ranges[r],n._removeModelFromRange(t,e);n._updateRangesLength()},_removeModelFromRange:function(e,t){this._eachItem(e.data,function(e){var r,i;if(e)for(r=0;r<e.length;r++)if(i=e[r],i.uid&&i.uid==t.uid){[].splice.call(e,r,1);break}})},_insertModelInRange:function(e,t){var r,i,n=this,a=n._ranges||[],s=a.length;for(i=0;i<s;i++)if(r=a[i],r.start<=e&&r.end>=e){n._getByUid(t.uid,r.data)||(n._isServerGrouped()?r.data.splice(e,0,n._wrapInEmptyGroup(t)):r.data.splice(e,0,t));break}n._updateRangesLength()},_updateRangesLength:function(){var e,t,r,i=this,n=i._ranges||[],a=n.length,s=!1,o=0,u=0;for(r=0;r<a;r++)t=n[r],e=i._isGroupPaged()?t.data.length:i._flatData(t.data,!0).length,u=e-Ve.abs(t.end-t.start),s||0===u?s&&(t.start+=o,t.end+=o):(s=!0,o=u,t.end+=o)},_updateOuterRangesLength:function(){var e,t,r,i,n=this,a=n._ranges||[],s=a.length,o=0;for(t=0;t<s;t++)e=a[t],i=n._isGroupPaged()?n._calculateGroupsTotal(e.data,!0,"items",!0):n._flatData(e.data,!0).length,r?(r.end!=e.start&&(o=e.start-r.end),e.outerStart=r.outerEnd+o,o=0):e.outerStart=e.start,e.outerEnd=e.outerStart+i,r=e}}),ge={},ge.create=function(t,r,i){var n,a=t.transport?e.extend({},t.transport):null;return a?(a.read=typeof a.read===Fe?{url:a.read}:a.read,"jsdo"===t.type&&(a.dataSource=i),t.type&&(Pe.data.transports=Pe.data.transports||{},Pe.data.schemas=Pe.data.schemas||{},Pe.data.transports[t.type]?me(Pe.data.transports[t.type])?a=pe(!0,{},Pe.data.transports[t.type],a):n=new Pe.data.transports[t.type](pe(a,{data:r})):Pe.logToConsole("Unknown DataSource transport type '"+t.type+"'.\nVerify that registration scripts for this type are included after Kendo UI on the page.","warn"),t.schema=pe(!0,{},Pe.data.schemas[t.type],t.schema)),n||(n=Re(a.read)?a:new se(a))):n=new ae({data:t.data||[]}),n},le.create=function(e){(ye(e)||e instanceof it)&&(e={data:e});var r,i,n,a=e||{},s=a.data,o=a.fields,u=a.table,l=a.select,g={};if(s||!o||a.transport||(u?s=J(u,o):l&&(s=U(l,o),a.group===t&&s[0]&&s[0].optgroup!==t&&(a.group="optgroup"))),Pe.data.Model&&o&&(!a.schema||!a.schema.model)){for(r=0,i=o.length;r<i;r++)n=o[r],n.type&&(g[n.field]=n);ve(g)||(a.schema=pe(!0,a.schema,{model:{fields:g}}))}return a.data=s,l=null,a.select=null,u=null,a.table=null,a instanceof le?a:new le(a)},de=Z.define({idField:"id",init:function(e){var t,r=this,i=r.hasChildren||e&&e.hasChildren,n="items",a={};Pe.data.Model.fn.init.call(r,e),typeof r.children===Fe&&(n=r.children),a={sc
109hema:{data:n,model:{hasChildren:i,id:r.idField,fields:r.fields}}},typeof r.children!==Fe&&pe(a,r.children),a.data=e,i||(i=a.schema.data),typeof i===Fe&&(i=Pe.getter(i)),Re(i)&&(t=i.call(r,r),r.hasChildren=(!t||0!==t.length)&&!!t),r._childrenOptions=a,r.hasChildren&&r._initChildren(),r._loaded=!(!e||!e._loaded)},_initChildren:function(){var e,t,r,i=this;i.children instanceof he||(e=i.children=new he(i._childrenOptions),t=e.transport,r=t.parameterMap,t.parameterMap=function(e,t){return e[i.idField||"id"]=i.id,r&&(e=r(e,t)),e},e.parent=function(){return i},e.bind(Ie,function(e){e.node=e.node||i,i.trigger(Ie,e)}),e.bind(Ne,function(e){var t=i.parent();t&&(e.node=e.node||i,t.trigger(Ne,e))}),i._updateChildrenField())},append:function(e){this._initChildren(),this.loaded(!0),this.children.add(e)},hasChildren:!1,level:function(){for(var e=this.parentNode(),t=0;e&&e.parentNode;)t++,e=e.parentNode?e.parentNode():null;return t},_updateChildrenField:function(){var e=this._childrenOptions.schema.data;this[e||"items"]=this.children.data()},_childrenLoaded:function(){this._loaded=!0,this._updateChildrenField()},load:function(){var r,i,n={},a="_query";return this.hasChildren?(this._initChildren(),r=this.children,n[this.idField||"id"]=this.id,this._loaded||(r._data=t,a="read"),r.one(Ie,_e(this._childrenLoaded,this)),this._matchFilter&&(n.filter={field:"_matchFilter",operator:"eq",value:!0}),i=r[a](n)):this.loaded(!0),i||e.Deferred().resolve().promise()},parentNode:function(){var e=this.parent();return e.parent()},loaded:function(e){return e===t?this._loaded:(this._loaded=e,
110t)},shouldSerialize:function(e){return Z.fn.shouldSerialize.call(this,e)&&"children"!==e&&"_loaded"!==e&&"hasChildren"!==e&&"_childrenOptions"!==e}}),he=le.extend({init:function(e){var t=de.define({children:e});e.filter&&!e.serverFiltering&&(this._hierarchicalFilter=e.filter,e.filter=null),le.fn.init.call(this,pe(!0,{},{schema:{modelBase:t,model:t}},e)),this._attachBubbleHandlers()},_attachBubbleHandlers:function(){var e=this;e._data.bind(Ne,function(t){e.trigger(Ne,t)})},read:function(e){var t=le.fn.read.call(this,e);return this._hierarchicalFilter&&(this._data&&this._data.length>0?this.filter(this._hierarchicalFilter):(this.options.filter=this._hierarchicalFilter,this._filter=l(this.options.filter),this._hierarchicalFilter=null)),t},remove:function(e){var t,r=e.parentNode(),i=this;return r&&r._initChildren&&(i=r.children),t=le.fn.remove.call(i,e),r&&!i.data().length&&(r.hasChildren=!1),t},success:V("success"),data:V("data"),insert:function(e,t){var r=this.parent();return r&&r._initChildren&&(r.hasChildren=!0,r._initChildren()),le.fn.insert.call(this,e,t)},filter:function(e){return e===t?this._filter:(!this.options.serverFiltering&&this._markHierarchicalQuery(e)&&(e={logic:"or",filters:[e,{field:"_matchFilter",operator:"equals",value:!0}]}),this.trigger("reset"),this._query({filter:e,page:1}),t)},_markHierarchicalQuery:function(t){var r,i,n,s,o,u=this.options.accentFoldingFiltering;return t=u?e.extend({},l(t),{accentFoldingFiltering:u}):l(t),t&&0!==t.filters.length?(r=a.filterExpr(t),n=r.fields,s=r.operators,i=o=Function("d, __f, __o","return "+r.expression),(n.length||s.length)&&(o=function(e){return i(e,n,s)}),this._updateHierarchicalFilter(o),!0):(this._updateHierarchicalFilter(function(){return!0}),!1)},_updateHierarchicalFilter:function(e){var t,r,i=this._data,n=!1;for(r=0;r<i.length;r++)t=i[r],t.hasChildren?(t._matchFilter=t.children._updateHierarchicalFilter(e),t._matchFilter||(t._matchFilter=e(t))):t._matchFilter=e(t),t._matchFilter&&(n=!0);return n},_find:function(e,t){var r,i,n,a,s=this._data;if(s){if(n=le.fn[e].call(this,t))return n;for(s=this._flatData(this._data),r=0,i=s.length;r<i;r++)if(a=s[r].children,a instanceof he&&(n=a[e](t)))return n}},get:function(e){return this._find("get",e)},getByUid:function(e){return this._find("getByUid",e)}}),he.create=function(e){e=e&&e.push?{data:e}:e;var t=e||{},r=t.data,i=t.fields,n=t.list;return r&&r._dataSource?r._dataSource:(r||!i||t.transport||n&&(r=Q(n,i)),t.data=r,t instanceof he?t:new he(t))},fe=Pe.Observable.extend({init:function(e,t,r){Pe.Observable.fn.init.call(this),this._prefetching=!1,this.dataSource=e,this.prefetch=!r;var i=this;e.bind("change",function(){i._change()}),e.bind("reset",function(){i._reset()}),this._syncWithDataSource(),this.setViewSize(t)}
vendor: 9,745 bytes, lines 110-137
110,setViewSize:function(e){this.viewSize=e,this._recalculate()},at:function(e){var r=this.pageSize,i=!0;return e>=this.total()?(this.trigger("endreached",{index:e}),null):this.useRanges?this.useRanges?((e<this.dataOffset||e>=this.skip+r)&&(i=this.range(Math.floor(e/r)*r)),e===this.prefetchThreshold&&this._prefetch(),e===this.midPageThreshold?this.range(this.nextMidRange,!0):e===this.nextPageThreshold?this.range(this.nextFullRange):e===this.pullBackThreshold&&this.range(this.offset===this.skip?this.previousMidRange:this.previousFullRange),i?this.dataSource.at(e-this.dataOffset):(this.trigger("endreached",{index:e}),null)):t:this.dataSource.view()[e]},indexOf:function(e){return this.dataSource.data().indexOf(e)+this.dataOffset},total:function(){return parseInt(this.dataSource.total(),10)},next:function(){var e=this,t=e.pageSize,r=e.skip-e.viewSize+t,i=Ve.max(Ve.floor(r/t),0)*t;this.offset=r,this.dataSource.prefetch(i,t,function(){e._goToRange(r,!0)})},range:function(e,t){if(this.offset===e)return!0;var r=this,i=this.pageSize,n=Ve.max(Ve.floor(e/i),0)*i,a=this.dataSource;return t&&(n+=i),a.inRange(e,i)?(this.offset=e,this._recalculate(),this._goToRange(e),!0):!this.prefetch||(a.prefetch(n,i,function(){r.offset=e,r._recalculate(),r._goToRange(e,!0)}),!1)},syncDataSource:function(){var e=this.offset;this.offset=null,this.range(e)},destroy:function(){this.unbind()},_prefetch:function(){var e=this,t=this.pageSize,r=this.skip+t,i=this.dataSource;i.inRange(r,t)||this._prefetching||!this.prefetch||(this._prefetching=!0,this.trigger("prefetching",{skip:r,take:t}),i.prefetch(r,t,function(){e._prefetching=!1,e.trigger("prefetched",{skip:r,take:t})}))},_goToRange:function(e,t){this.offset===e&&(this.dataOffset=e,this._expanding=t,this.dataSource.range(e,this.pageSize),this.dataSource.enableRequestsInProgress())},_reset:function(){this._syncPending=!0},_change:function(){var e=this.dataSource;this.length=this.useRanges?e.lastRange().end:e.view().length,this._syncPending&&(this._syncWithDataSource(),this._recalculate(),this._syncPending=!1,this.trigger("reset",{offset:this.offset})),this.trigger("resize"),this._expanding&&this.trigger("expand"),delete this._expanding},_syncWithDataSource:function(){var e=this.dataSource;this._firstItemUid=e.firstItemUid(),this.dataOffset=this.offset=e.skip()||0,this.pageSize=e.pageSize(),this.useRanges=e.options.serverPaging},_recalculate:function(){var e=this.pageSize,t=this.offset,r=this.viewSize,i=Math.ceil(t/e)*e;this.skip=i,this.midPageThreshold=i+e-1,this.nextPageThreshold=i+r-1,this.prefetchThreshold=i+Math.floor(e/3*2),this.pullBackThreshold=this.offset-1,this.nextMidRange=i+e-r,this.nextFullRange=i,this.previousMidRange=t-r,this.previousFullRange=i-e}}),ce=Pe.Observable.extend({init:function(e,t){var r=this;Pe.Observable.fn.init.call(r),this.dataSource=e,this.batchSize=t,this._total=0,this.buffer=new fe(e,3*t),this.buffer.bind({endreached:function(e){r.trigger("endreached",{index:e.index})},prefetching:function(e){r.trigger("prefetching",{skip:e.skip,take:e.take})},prefetched:function(e){r.trigger("prefetched",{skip:e.skip,take:e.take})},reset:function(){r._total=0,r.trigger("reset")},resize:function(){r._total=Math.ceil(this.length/r.batchSize),r.trigger("resize",{total:r.total(),offset:this.offset})}})},syncDataSource:function(){this.buffer.syncDataSource()},at:function(e){var t,r,i=this.buffer,n=e*this.batchSize,a=this.batchSize,s=[];for(i.offset>n&&i.at(i.offset-1),r=0;r<a&&(t=i.at(n+r),null!==t);r++)s.push(t);return s},total:function(){return this._total},destroy:function(){this.buffer.destroy(),this.unbind()}}),pe(!0,Pe.data,{readers:{json:ue},Query:a,DataSource:le,HierarchicalDataSource:he,Node:de,ObservableObject:K,ObservableArray:it,LazyObservableArray:$,LocalTransport:ae,RemoteTransport:se,Cache:oe,DataReader:ue,Model:Z,Buffer:fe,BatchBuffer:ce})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,r){(r||t)()});
111//# sourceMappingURL=kendo.data.min.js.map
112
113/** 
114 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
115 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
116 *                                                                                                                                                                                                      
117 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
118 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
119 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
120                                                                                                                                                                                                       
121                                                                                                                                                                                                       
122                                                                                                                                                                                                       
123                                                                                                                                                                                                       
124                                                                                                                                                                                                       
125                                                                                                                                                                                                       
126                                                                                                                                                                                                       
127                                                                                                                                                                                                       
128                                                                                                                                                                                                       
129                                                                                                                                                                                                       
130                                                                                                                                                                                                       
131                                                                                                                                                                                                       
132                                                                                                                                                                                                       
133                                                                                                                                                                                                       
134                                                                                                                                                                                                       
135
136*/
137!function(e,define){define("kendo.binder.min",["kendo.core.min","kendo.data.min"],e)}(function(){return function(e,t){function i(t,i,n){return p.extend({init:function(e,t,i){var n=this;p.fn.init.call(n,e.element[0],t,i),n.widget=e,n._dataBinding=M(n.dataBinding,n),n._dataBound=M(n.dataBound,n),n._itemChange=M(n.itemChange,n)},itemChange:function(e){r(e.item[0],e.data,this._ns(e.ns),[e.data].concat(this.bindings[t]._parents()))},dataBinding:function(e){var t,i,n=this.widget,s=e.removedItems||n.items();for(t=0,i=s.length;t<i;t++)h(s[t],!1)},_ns:function(t){t=t||C.ui;var i=[C.ui,C.dataviz.ui,C.mobile.ui];return i.splice(e.inArray(t,i),1),i.unshift(t),C.rolesFromNamespaces(i)},dataBound:function(e){var n,s,a,d,o=this.widget,h=e.addedItems||o.items(),l=o[i],c=C.data.HierarchicalDataSource;if(!(c&&l instanceof c)&&h.length)for(a=e.addedDataItems||l.flatView(),d=this.bindings[t]._parents(),n=0,s=a.length;n<s;n++)h[n]&&r(h[n],a[n],this._ns(e.ns),[a[n]].concat(d))},refresh:function(e){var s,a,r,d,o=this,h=o.widget;e=e||{},e.action||(o.destroy(),h.bind("dataBinding",o._dataBinding),h.bind("dataBound",o._dataBound),h.bind("itemChange",o._itemChange),s=o.bindings[t].get(),h[i]instanceof C.data.DataSource&&h[i]!=s&&(s instanceof C.data.DataSource?h[n](s):s&&s._dataSource?h[n](s._dataSource):(a=C.ui.Select&&h instanceof C.ui.Select,r=C.ui.MultiSelect&&h instanceof C.ui.MultiSelect,d=C.ui.DropDownTree&&h instanceof C.ui.DropDownTree,d?h.treeview[i].data(s):h[i].data(s),o.bindings.value&&(
137a||r)&&h.value(u(o.bindings.value.get(),h.options.dataValueField)))))},destroy:function(){var e=this.widget;e.unbind("dataBinding",this._dataBinding),e.unbind("dataBound",this._dataBound),e.unbind("itemChange",this._itemChange)}})}function n(e,t){var i=C.initWidget(e,{},t);if(i)return new _(i)}function s(e){var t,i,n,a,r,d,o,h={};for(o=e.match(x),t=0,i=o.length;t<i;t++)n=o[t],a=n.indexOf(":"),r=n.substring(0,a),d=n.substring(a+1),"{"==d.charAt(0)&&(d=s(d)),h[r]=d;return h}function a(e,t,i){var n,s={};for(n in e)s[n]=new i(t,e[n]);return s}function r(e,t,i,d){var h,l,c,g,u,p,m,y,_;if(e&&!e.getAttribute("data-"+C.ns+"stop")&&(h=e.getAttribute("data-"+C.ns+"role"),c=e.getAttribute("data-"+C.ns+"bind"),g=[],u=!0,m={},d=d||[t],(h||c)&&o(e,!1),h&&(y=n(e,i)),c&&(c=s(c.replace(B,"")),y||(m=C.parseOptions(e,{textField:"",valueField:"",template:"",valueUpdate:j,valuePrimitive:!1,autoBind:!0},t),m.roles=i,y=new w(e,m)),y.source=t,p=a(c,d,f),m.template&&(p.template=new v(d,"",m.template)),p.click&&(c.events=c.events||{},c.events.click=c.click,p.click.destroy(),delete p.click),p.source&&(u=!1),c.attr&&(p.attr=a(c.attr,d,f)),c.style&&(p.style=a(c.style,d,f)),c.events&&(p.events=a(c.events,d,b)),c.css&&(p.css=a(c.css,d,f)),y.bind(p)),y&&(e.kendoBindingTarget=y),_=e.children,u&&_&&!e.getAttribute("data-"+C.ns+"stop"))){for(l=0;l<_.length;l++)g[l]=_[l];for(l=0;l<g.length;l++)r(g[l],t,i,d)}}function d(t,i){var n,s,a,d=C.rolesFromNamespaces([].slice.call(arguments,2));for(i=C.observable(i),t=e(t),n=0,s=t.length;n<s;n++)a=t[n],1===a.nodeType&&r(a,i,d)}function o(t,i){var n,s=t.kendoBindingTarget;s&&(s.destroy(),L?delete t.kendoBindingTarget:t.removeAttribute?t.removeAttribute("kendoBindingTarget"):t.kendoBindingTarget=null),i&&(n=C.widgetInstance(e(t)),n&&typeof n.destroy===P&&n.destroy())}function h(e,t){o(e,t),l(e,t)}function l(e,t){var i,n,s=e.children;if(s)for(i=0,n=s.length;i<n;i++)h(s[i],t)}function c(t){var i,n;for(t=e(t),i=0,n=t.length;i<n;i++)h(t[i],!1)}function g(e,t){var i=e.element,n=i[0].kendoBindingTarget;n&&d(i,n.source,t)}function u(e,t){var i,n,s=[],a=0;if(!t)return e;if(e instanceof D){for(i=e.length;a<i;a++)n=e[a],s[a]=n.get?n.get(t):n[t];e=s}else e instanceof S&&(e=e.get(t));return e}var f,b,v,p,m,y,w,_,x,B,C=window.kendo,k=C.Observable,S=C.data.ObservableObject,D=C.data.ObservableArray,F={}.toString,T={},A=C.Class,M=e.proxy,I="value",V="source",O="events",H="checked",N="css",L=!0,P="function",j="change";!function(){var e=document.createElement("a");try{delete e.test}catch(t){L=!1}}(),f=k.extend({init:function(e,t){var i=this;k.fn.init.call(i),i.source=e[0],i.parents=e,i.path=t,i.dependencies={},i.dependencies[t]=!0,i.observable=i.source instanceof k,i._access=function(e){i.dependencies[e.field]=!0},i.observable&&(i._change=function(e){i.change(e)},i.source.bind(j,i._change))},_parents:function(){var t,i=this.parents,n=this.get();return n&&"function"==typeof n.parent&&(t=n.parent(),e.inArray(t,i)<0&&(i=[t].concat(i))),i},change:function(e){var t,i,n=e.field,s=this;if("this"===s.path)s.trigger(j,e);else for(t in s.dependencies)if(0===t.indexOf(n)&&(i=t.charAt(n.length),!i||"."===i||"["===i)){s.trigger(j,e);break}},start:function(e){e.bind("get",this._access)},stop:function(e){e.unbind("get",this._access)},get:function(){var e=this,i=e.source,n=0,s=e.path,a=i;if(!e.observable)return a;for(e.start(e.source),a=i.get(s);a===t&&i;)i=e.parents[++n],i instanceof S&&(a=i.get(s));if(a===t)for(i=e.source;a===t&&i;)i=i.parent(),i instanceof S&&(a=i.get(s));return"function"==typeof a&&(n=s.lastIndexOf("."),n>0&&(i=i.get(s.substring(0,n))),e.start(i),a=i!==e.source?a.call(i,e.source):a.call(i),e.stop(i)),i&&i!==e.source&&(e.currentSource=i,i.unbind(j,e._change).bind(j,e._change)),e.stop(e.source),a},set:function(e){var t=this.currentSource||this.source,i=C.getter(this.path)(t);"function"==typeof i?t!==this.source?i.call(t,this.source,e):i.call(t,e):t.set(this.path,e)},destroy:function(){this.observable&&(this.source.unbind(j,this._change),this.currentSource&&this.currentSource.unbind(j,this._change)),this.unbind()}}),b=f.extend({get:function(){var e,t=this.source,i=this.path,n=0;for(e=t.get(i);!e&&t;)t=this.parents[++n],t instanceof S&&(e=t.get(i));return M(e,t)}}),v=f.extend({init:function(e,t,i){var n=this;f.fn.init.call(n,e,t),n.template=i},render:function(e){var t;return this.start(this.source),t=C.render(this.template,e),this.stop(this.source),t}}),p=A.extend({init:function(e,t,i){this.element=e,this.bindings=t,this.options=i},bind:function(e,t){var i=this;e=t?e[t]:e,e.bind(j,function(e){i.refresh(t||e)}),i.refresh(t)},destroy:function(){}}),m=p.extend({dataType:function(){var e=this.element.getAttribute("data-type")||this.element.type||"text";return e.toLowerCase()},parsedValue:function(){return this._parseValue(this.element.value,this.dataType())},_parseValue:function(e,t){return"date"==t?e=C.parseDate(e,"yyyy-MM-dd"):"datetime-local"==t?e=C.parseDate(e,["yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm"]):"number"==t?e=C.parseFloat(e):"boolean"==t&&(e=e.toLowerCase(),e=null!==C.parseFloat(e)?!!C.parseFloat(e):"true"===e.toLowerCase()),e}}
137),T.attr=p.extend({refresh:function(e){this.element.setAttribute(e,this.bindings.attr[e].get())}}),T.css=p.extend({init:function(e,t,i){p.fn.init.call(this,e,t,i),this.classes={}},refresh:function(t){var i=e(this.element),n=this.bindings.css[t],s=this.classes[t]=n.get();s?i.addClass(t):i.removeClass(t)}}),T.style=p.extend({refresh:function(e){this.element.style[e]=this.bindings.style[e].get()||""}}),T.enabled=p.extend({refresh:function(){this.bindings.enabled.get()?this.element.removeAttribute("disabled"):this.element.setAttribute("disabled","disabled")}}),T.readonly=p.extend({refresh:function(){this.bindings.readonly.get()?this.element.setAttribute("readonly","readonly"):this.element.removeAttribute("readonly")}}),T.disabled=p.extend({refresh:function(){this.bindings.disabled.get()?this.element.setAttribute("disabled","disabled"):this.element.removeAttribute("disabled")}}),T.events=p.extend({init:function(e,t,i){p.fn.init.call(this,e,t,i),this.handlers={}},refresh:function(t){var i=e(this.element),n=this.bindings.events[t],s=this.handlers[t];s&&i.off(t,s),s=this.handlers[t]=n.get(),i.on(t,n.source,s)},destroy:function(){var t,i=e(this.element);for(t in this.handlers)i.off(t,this.handlers[t])}}),T.text=p.extend({refresh:function(){var t=this.bindings.text.get(),i=this.element.getAttribute("data-format")||"";null==t&&(t=""),e(this.element).text(C.toString(t,i))}}),T.visible=p.extend({refresh:function(){this.element.style.display=this.bindings.visible.get()?"":"none"}}),T.invisible=p.extend({refresh:function(){this.element.style.display=this.bindings.invisible.get()?"none":""}}),T.html=p.extend({refresh:function(){this.element.innerHTML=this.bindings.html.get()}}),T.value=m.extend({init:function(t,i,n){m.fn.init.call(this,t,i,n),this._change=M(this.change,this),this.eventName=n.valueUpdate||j,e(this.element).on(this.eventName,this._change),this._initChange=!1},change:function(){this._initChange=this.eventName!=j,this.bindings[I].set(this.parsedValue()),this._initChange=!1},refresh:function(){var e,t;this._initChange||(e=this.bindings[I].get(),null==e&&(e=""),t=this.dataType(),"date"==t?e=C.toString(e,"yyyy-MM-dd"):"datetime-local"==t&&(e=C.toString(e,"yyyy-MM-ddTHH:mm:ss")),this.element.value=e),this._initChange=!1},destroy:function(){e(this.element).off(this.eventName,this._change)}}),T.source=p.extend({init:function(e,t,i){p.fn.init.call(this,e,t,i);var n=this.bindings.source.get();n instanceof C.data.DataSource&&i.autoBind!==!1&&n.fetch()},refresh:function(e){var t=this,i=t.bindings.source.get();i instanceof D||i instanceof C.data.DataSource?(e=e||{},"add"==e.action?t.add(e.index,e.items):"remove"==e.action?t.remove(e.index,e.items):"itemchange"!=e.action&&t.render()):t.render()},container:function(){var e=this.element;return"table"==e.nodeName.toLowerCase()&&(e.tBodies[0]||e.appendChild(document.createElement("tbody")),e=e.tBodies[0]),e},template:function(){var e=this.options,t=e.template,i=this.container().nodeName.toLowerCase();return t||(t="select"==i?e.valueField||e.textField?C.format('<option value="#:{0}#">#:{1}#</option>',e.valueField||e.textField,e.textField||e.valueField):"<option>#:data#</option>":"tbody"==i?"<tr><td>#:data#</td></tr>":"ul"==i||"ol"==i?"<li>#:data#</li>":"#:data#",t=C.template(t)),t},add:function(t,i){var n,s,a,d,o=this.container(),h=o.cloneNode(!1),l=o.children[t];if(e(h).html(C.render(this.template(),i)),h.children.length)for(n=this.bindings.source._parents(),s=0,a=i.length;s<a;s++)d=h.children[0],o.insertBefore(d,l||null),r(d,i[s],this.options.roles,[i[s]].concat(n))},remove:function(e,t){var i,n,s=this.container();for(i=0;i<t.length;i++)n=s.children[e],h(n,!0),n.parentNode==s&&s.removeChild(n)},render:function(){var t,i,n,s=this.bindings.source.get(),a=this.container(),d=this.template();if(null!=s)if(s instanceof C.data.DataSource&&(s=s.view()),s instanceof D||"[object Array]"===F.call(s)||(s=[s]),this.bindings.template){if(l(a,!0),e(a).html(this.bindings.template.render(s)),a.children.length)for(t=this.bindings.source._parents(),i=0,n=s.length;i<n;i++)r(a.children[i],s[i],this.options.roles,[s[i]].concat(t))}else e(a).html(C.render(d,s))}}),T.input={checked:m.extend({init:function(t,i,n){m.fn.init.call(this,t,i,n),this._change=M(this.change,this),e(this.element).change(this._change)},change:function(){var e,t,i,n=this.element,s=this.value();if("radio"==n.type)s=this.parsedValue(),this.bindings[H].set(s);else if("checkbox"==n.type)if(e=this.bindings[H].get(),e instanceof D){if(s=this.parsedValue(),s instanceof Date){for(i=0;i<e.length;i++)if(e[i]instanceof Date&&+e[i]===+s){t=i;break}}else t=e.indexOf(s);t>-1?e.splice(t,1):e.push(s)}else this.bindings[H].set(s)},refresh:function(){var e,i,n=this.bindings[H].get(),s=n,a=this.dataType(),r
137=this.element;if("checkbox"==r.type)if(s instanceof D){if(e=-1,n=this.parsedValue(),n instanceof Date){for(i=0;i<s.length;i++)if(s[i]instanceof Date&&+s[i]===+n){e=i;break}}else e=s.indexOf(n);r.checked=e>=0}else r.checked=s;else"radio"==r.type&&("date"==a?n=C.toString(n,"yyyy-MM-dd"):"datetime-local"==a&&(n=C.toString(n,"yyyy-MM-ddTHH:mm:ss")),r.checked=null!==n&&t!==n&&r.value===""+n)},value:function(){var e=this.element,t=e.value;return"checkbox"==e.type&&(t=e.checked),t},destroy:function(){e(this.element).off(j,this._change)}})},T.select={source:T.source.extend({refresh:function(i){var n,s=this,a=s.bindings.source.get();a instanceof D||a instanceof C.data.DataSource?(i=i||{},"add"==i.action?s.add(i.index,i.items):"remove"==i.action?s.remove(i.index,i.items):"itemchange"!=i.action&&i.action!==t||(s.render(),s.bindings.value&&s.bindings.value&&(n=u(s.bindings.value.get(),e(s.element).data("valueField")),null===n?s.element.selectedIndex=-1:s.element.value=n))):s.render()}}),value:m.extend({init:function(t,i,n){m.fn.init.call(this,t,i,n),this._change=M(this.change,this),e(this.element).change(this._change)},parsedValue:function(){var e,t,i,n,s=this.dataType(),a=[];for(i=0,n=this.element.options.length;i<n;i++)t=this.element.options[i],t.selected&&(e=t.attributes.value,e=e&&e.specified?t.value:t.text,a.push(this._parseValue(e,s)));return a},change:function(){var e,i,n,s,a,r,d,o,h=[],l=this.element,c=this.options.valueField||this.options.textField,g=this.options.valuePrimitive;for(a=0,r=l.options.length;a<r;a++)i=l.options[a],i.selected&&(s=i.attributes.value,s=s&&s.specified?i.value:i.text,h.push(c?s:this._parseValue(s,this.dataType())));if(c)for(e=this.bindings.source.get(),e instanceof C.data.DataSource&&(e=e.view()),n=0;n<h.length;n++)for(a=0,r=e.length;a<r;a++)if(d=e[a].get(c),o=d+""===h[n]){h[n]=e[a];break}s=this.bindings[I].get(),s instanceof D?s.splice.apply(s,[0,s.length].concat(h)):this.bindings[I].set(g||!(s instanceof S||null===s||s===t)&&c?h[0].get(c):h[0])},refresh:function(){var e,t,i,n=this.element,s=n.options,a=this.bindings[I].get(),r=a,d=this.options.valueField||this.options.textField,o=!1,h=this.dataType();for(r instanceof D||(r=new D([a])),n.selectedIndex=-1,i=0;i<r.length;i++)for(a=r[i],d&&a instanceof S&&(a=a.get(d)),"date"==h?a=C.toString(r[i],"yyyy-MM-dd"):"datetime-local"==h&&(a=C.toString(r[i],"yyyy-MM-ddTHH:mm:ss")),e=0;e<s.length;e++)t=s[e].value,""===t&&""!==a&&(t=s[e].text),null!=a&&t==""+a&&(s[e].selected=!0,o=!0)},destroy:function(){e(this.element).off(j,this._change)}})},T.widget={events:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this.widget=e,this.handlers={}},refresh:function(e){var t=this.bindings.events[e],i=this.handlers[e];i&&this.widget.unbind(e,i),i=t.get(),this.handlers[e]=function(e){e.data=t.source,i(e),e.data===t.source&&delete e.data},this.widget.bind(e,this.handlers[e])},destroy:function(){var e;for(e in this.handlers)this.widget.unbind(e,this.handlers[e])}}),checked:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this.widget=e,this._change=M(this.change,this),this.widget.bind(j,this._change)},change:function(){this.bindings[H].set(this.value())},refresh:function(){this.widget.check(this.bindings[H].get()===!0)},value:function(){var e=this.element,t=e.value;return"on"!=t&&"off"!=t&&"checkbox"!=this.element.type||(t=e.checked),t},destroy:function(){this.widget.unbind(j,this._change)}}),start:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this._change=M(this.change,this),this.widget=e,this.widget.bind(j,this._change)},change:function(){this.bindings.start.set(this.widget.range().start)},refresh:function(){var e=this,t=this.bindings.start.get(),i=e.widget._range?e.widget._range.end:null;this.widget.range({start:t,end:i})},destroy:function(){this.widget.unbind(j,this._change)}}),end:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this._change=M(this.change,this),this.widget=e,this.widget.bind(j,this._change)},change:function(){this.bindings.end.set(this.widget.range().end)},refresh:function(){var e=this,t=this.bindings.end.get(),i=e.widget._range?e.widget._range.start:null;this.widget.range({start:i,end:t})},destroy:function(){this.widget.unbind(j,this._change)}}),visible:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){var e=this.bindings.visible.get();this.widget.wrapper[0].style.display=e?"":"none"}}),invisible:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){var e=this.bindings.invisible.get();this.widget.wrapper[0].style.display=e?"none":""}}),enabled:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){this.widget.enable&&this.widget.enable(this.bindings.enabled.get())}}),disabled:p.extend({init:function(e,t,i){p.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){this.widget.enable&&this.widget.enable(!this.bindings.disabled.get())}}),source:i("source","dataSource","setDataSource"),value:p.extend({init:function(t,i,n){p.fn.init.call(this,t.element[0],i,n),this.widget=t,this._change=e.proxy(this.change,this),this.widget.first(j,this._change);var s=this.bindings.value.get();this._valueIsObservableObject=!n.valuePrimitive&&(null==s||s instanceof S),this._valueIsObservableArray=s instanceof D,this._initChange=!1},_source:function(){var e;return this.widget.dataItem&&(e=this.widget.dataItem(),e&&e instanceof S)?[e]:(this.bindings.source&&(e=this.bindings.source.get()),(!e||e instanceof C.data.DataSource)&&(e=this.widget.dataSource.flatView()),e)},change:function(){var e,t,i,n,s,a,r,d=this.widget.value(),o=this.options.dataValueField||this.options.dataTextField,h="[object Array]"===F.call(d),l=this._valueIsObservableObject,c=[];if(this._initChange=!0,o)if(""===d&&(l||this.options.valuePrimitive))d=null;else{for(r=this._source(),h&&(t=d.length,c=d.slice(0)),s=0,a=r.length;s<a;s++)if(i=r[s],n=i.get(o),h){for(e=0;e<t;e++)if(n==c[e]){c[e]=i;break}}else if(n==d){d=l?i:n;break}c[0]&&(d=this._valueIsObservableArray?c:l||!o?c[0]:c[0].get(o))}this.bindings.value.set(d),this._initChange=!1},refresh:function(){var e,i,n,s,a,r,d,o,h;
137if(!this._initChange){if(e=this.widget,i=e.options,n=i.dataTextField,s=i.dataValueField||n,a=this.bindings.value.get(),r=i.text||"",d=0,h=[],a===t&&(a=null),s)if(a instanceof D){for(o=a.length;d<o;d++)h[d]=a[d].get(s);a=h}else a instanceof S&&(r=a.get(n),a=a.get(s));i.autoBind!==!1||i.cascadeFrom||!e.listView||e.listView.bound()?e.value(a):(n!==s||r||(r=a),r||!a&&0!==a||!i.valuePrimitive?e._preselect(a,r):e.value(a))}this._initChange=!1},destroy:function(){this.widget.unbind(j,this._change)}}),dropdowntree:{value:p.extend({init:function(t,i,n){p.fn.init.call(this,t.element[0],i,n),this.widget=t,this._change=e.proxy(this.change,this),this.widget.first(j,this._change),this._initChange=!1},change:function(){var e,i,n,s,a,r,d,o,h,l=this,c=l.bindings[I].get(),g=l.options.valuePrimitive,u=l.widget.treeview.select(),f=l.widget._isMultipleSelection()?l.widget._getAllChecked():l.widget.treeview.dataItem(u)||l.widget.value(),b=g||l.widget.options.autoBind===!1?l.widget.value():f,v=this.options.dataValueField||this.options.dataTextField;if(b=b.slice?b.slice(0):b,l._initChange=!0,c instanceof D){for(e=[],i=b.length,n=0,s=0,a=c[n],r=!1;a!==t;){for(h=!1,s=0;s<i;s++)if(g?r=b[s]==a:(o=b[s],o=o.get?o.get(v):o,r=o==(a.get?a.get(v):a)),r){b.splice(s,1),i-=1,h=!0;break}h?n+=1:(e.push(a),y(c,n,1),d=n),a=c[n]}y(c,c.length,0,b),e.length&&c.trigger("change",{action:"remove",items:e,index:d}),b.length&&c.trigger("change",{action:"add",items:b,index:c.length-1})}else l.bindings[I].set(b);l._initChange=!1},refresh:function(){if(!this._initChange){var e,t,i=this.options,n=this.widget,s=i.dataValueField||i.dataTextField,a=this.bindings.value.get(),r=a,d=0,o=[];if(s)if(a instanceof D){for(e=a.length;d<e;d++)t=a[d],o[d]=t.get?t.get(s):t;a=o}else a instanceof S&&(a=a.get(s));i.autoBind===!1&&i.valuePrimitive!==!0?n._preselect(r,a):n.value(a)}},destroy:function(){this.widget.unbind(j,this._change)}})},gantt:{dependencies:i("dependencies","dependencies","setDependenciesDataSource")},multiselect:{value:p.extend({init:function(t,i,n){p.fn.init.call(this,t.element[0],i,n),this.widget=t,this._change=e.proxy(this.change,this),this.widget.first(j,this._change),this._initChange=!1},change:function(){var e,i,n,s,a,r,d,o,h,l=this,c=l.bindings[I].get(),g=l.options.valuePrimitive,u=g?l.widget.value():l.widget.dataItems(),f=this.options.dataValueField||this.options.dataTextField;if(u=u.slice(0),l._initChange=!0,c instanceof D){for(e=[],i=u.length,n=0,s=0,a=c[n],r=!1;a!==t;){for(h=!1,s=0;s<i;s++)if(g?r=u[s]==a:(o=u[s],o=o.get?o.get(f):o,r=o==(a.get?a.get(f):a)),r){u.splice(s,1),i-=1,h=!0;break}h?n+=1:(e.push(a),y(c,n,1),d=n),a=c[n]}y(c,c.length,0,u),e.length&&c.trigger("change",{action:"remove",items:e,index:d}),u.length&&c.trigger("change",{action:"add",items:u,index:c.length-1})}else l.bindings[I].set(u);l._initChange=!1},refresh:function(){if(!this._initChange){var e,i,n=this.options,s=this.widget,a=n.dataValueField||n.dataTextField,r=this.bindings.value.get(),d=r,o=0,h=[];if(r===t&&(r=null),a)if(r instanceof D){for(e=r.length;o<e;o++)i=r[o],h[o]=i.get?i.get(a):i;r=h}else r instanceof S&&(r=r.get(a));n.autoBind!==!1||n.valuePrimitive===!0||s._isBound()?s.value(r):s._preselect(d,r)}},destroy:function(){this.widget.unbind(j,this._change)}})},scheduler:{source:i("source","dataSource","setDataSource").extend({dataBound:function(e){var t,i,n,s,a=this.widget,d=e.addedItems||a.items();if(d.length)for(n=e.addedDataItems||a.dataItems(),s=this.bindings.source._parents(),t=0,i=n.length;t<i;t++)r(d[t],n[t],this._ns(e.ns),[n[t]].concat(s))}})},grid:{source:i("source","dataSource","setDataSource").extend({dataBound:function(e){var t,i,n,s,a=this.widget,d=e.addedItems||a.items();if(d.length)for(s=e.addedDataItems||a.dataItems(),n=this.bindings.source._parents(),t=0,i=s.length;t<i;t++)r(d[t],s[t],this._ns(e.ns),[s[t]].concat(n))}})}},y=function(e,t,i,n){var s,a,r,d,o;if(n=n||[],i=i||0,s=n.length,a=e.length,r=[].slice.call(e,t+i),d=r.length,s){for(s=t+s,o=0;t<s;t++)e[t]=n[o],o++;e.length=s}else if(i)for(e.length=t,i+=t;t<i;)delete e[--i];if(d){for(d=t+d,o=0;t<d;t++)e[t]=r[o],o++;e.length=d}for(t=e.length;t<a;)delete e[t],t++},w=A.extend({init:function(e,t){this.target=e,this.options=t,this.toDestroy=[]},bind:function(e){var t,i,n,s,a,r,d=this instanceof _,o=this.binders();for(t in e)t==I?i=!0:t==V?n=!0:t!=O||d?t==H?a=!0:t==N?r=!0:this.applyBinding(t,e,o):s=!0;n&&this.applyBinding(V,e,o),i&&this.applyBinding(I,e,o),a&&this.applyBinding(H,e,o),s&&!d&&this.applyBinding(O,e,o),r&&!d&&this.applyBinding(N,e,o)},binders:function(){return T[this.target.nodeName.toLowerCase()]||{}},applyBinding:function(e,t,i){var n,s=i[e]||T[e],a=this.toDestroy,r=t[e];if(s)if(s=new s(this.target,t,this.options),a.push(s),r instanceof f)s.bind(r),a.push(r);else for(n in r)s.bind(r,n),a.push(r[n]);else if("template"!==e)throw Error("The "+e+" binding is not supported by the "+this.target.nodeName.toLowerCase()+" element")},destroy:function(){var e,t,i=this.toDestroy;for(e=0,t=i.length;e<t;e++)i[e].destroy()}}),_=w.extend({binders:function(){return T.widget[this.target.options.name.toLowerCase()]||{}},applyBinding:function(e,t,i){var n,s=i[e]||T.widget[e],a=this.toDestroy,r=t[e];if(!s)throw Error("The "+e+" binding is not supported by the "+this.target.options.name+" widget");if(s=new s(this.target,t,this.target.options),a.push(s),r instanceof f)s.bind(r),a.push(r);else for(n in r)s.bind(r,n),a.push(r[n])}}),x=/[A-Za-z0-9_\-]+:(\{([^}]*)\}|[^,}]+)/g,B=/\s/g,C.unbind=c,C.bind=d,C.data.binders=T,C.data.Binder=p,C.notify=g,C.observable=function(e){return e instanceof S||(e=new S(e)),e},C.observableHierarchy=function(e){function t(e){var i,n;for(i=0;i<e.length;
137i++)e[i]._initChildren(),n=e[i].children,n.fetch(),e[i].items=n.data(),t(e[i].items)}var i=C.data.HierarchicalDataSource.create(e);return i.fetch(),t(i.data()),i._data._dataSource=i,i._data}}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
138//# sourceMappingURL=kendo.binder.min.js.map
139
140/** 
141 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
142 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
143 *                                                                                                                                                                                                      
144 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
145 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
146 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
147                                                                                                                                                                                                       
148                                                                                                                                                                                                       
149                                                                                                                                                                                                       
150                                                                                                                                                                                                       
151                                                                                                                                                                                                       
152                                                                                                                                                                                                       
153                                                                                                                                                                                                       
154                                                                                                                                                                                                       
155                                                                                                                                                                                                       
156                                                                                                                                                                                                       
157                                                                                                                                                                                                       
158                                                                                                                                                                                                       
159                                                                                                                                                                                                       
160                                                                                                                                                                                                       
161                                                                                                                                                                                                       
162
163*/
164!function(e,define){define("kendo.popup.min",["kendo.core.min"],e)}(function(){return function(e,t){function o(t,o){return!(!t||!o)&&(t===o||e.contains(t,o))}var n,i,s,r,a=window.kendo,l=a.ui,d=l.Widget,p=a.Class,c=a.support,f=a.getOffset,u=a._outerWidth,h=a._outerHeight,m="open",g="close",w="deactivate",v="activate",_="center",b="left",y="right",k="top",x="bottom",T="absolute",z="hidden",C="body",P="location",S="position",E="visible",I="effects",R="k-state-active",A="k-state-border",D=/k-state-border-(\w+)/,O=".k-picker-wrap, .k-dropdown-wrap, .k-link",F="down",H=e(document.documentElement),N=e.proxy,W=e(window),L="scroll",j=c.transitions.css,M=j+"transform",K=e.extend,U=".kendoPopup",Y=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],Q=d.extend({init:function(t,o){var n,i=this;o=o||{},o.isRtl&&(o.origin=o.origin||x+" "+y,o.position=o.position||k+" "+y),d.fn.init.call(i,t,o),t=i.element,o=i.options,i.collisions=o.collision?o.collision.split(" "):[],i.downEvent=a.applyEventMap(F,a.guid()),1===i.collisions.length&&i.collisions.push(i.collisions[0]),n=e(i.options.anchor).closest(".k-popup,.k-group").filter(":not([class^=km-])"),o.appendTo=e(e(o.appendTo)[0]||n[0]||document.body),i.element.hide().addClass("k-popup k-group k-reset").toggleClass("k-rtl",!!o.isRtl).css({position:T}).appendTo(o.appendTo).attr("aria-hidden",!0).on("mouseenter"+U,function(){i._hovered=!0}).on("wheel"+U,function(t){var o=e(t.target).find(".k-list"),n=o.parent();o.length&&o.is(":visible")&&(0===n.scrollTop()&&t.originalEvent.deltaY<0||n.scrollTop()===n.prop("scrollHeight")-n.prop("offsetHeight")&&t.originalEvent.deltaY>0)&&t.preventDefault()}).on("mouseleave"+U,function(){i._hovered=!1}),i.wrapper=e(),o.animation===!1&&(o.animation={open:{effects:{}},close:{hide:!0,effects:{}}}),K(o.animation.open,{complete:function(){i.wrapper.css({overflow:E}),i._activated=!0,i._trigger(v)}}),K(o.animation.close,{complete:function(){i._animationClose()}}),i._mousedownProxy=function(e){i._mousedown(e)},i._resizeProxy=c.mobileOS.android?function(e){setTimeout(function(){i._resize(e)},600)}:function(e){i._resize(e)}
164,o.toggleTarget&&e(o.toggleTarget).on(o.toggleEvent+U,e.proxy(i.toggle,i))},events:[m,v,g,w],options:{name:"Popup",toggleEvent:"click",origin:x+" "+b,position:k+" "+b,anchor:C,appendTo:null,collision:"flip fit",viewport:window,copyAnchorStyles:!0,autosize:!1,modal:!1,adjustSize:{width:0,height:0},animation:{open:{effects:"slideIn:down",transition:!0,duration:200},close:{duration:100,hide:!0}}},_animationClose:function(){var e=this,t=e.wrapper.data(P);e.wrapper.hide(),t&&e.wrapper.css(t),e.options.anchor!=C&&e._hideDirClass(),e._closing=!1,e._trigger(w)},destroy:function(){var t,o=this,n=o.options,i=o.element.off(U);d.fn.destroy.call(o),n.toggleTarget&&e(n.toggleTarget).off(U),n.modal||(H.off(o.downEvent,o._mousedownProxy),o._toggleResize(!1)),a.destroy(o.element.children()),i.removeData(),n.appendTo[0]===document.body&&(t=i.parent(".k-animation-container"),t[0]?t.remove():i.remove())},open:function(o,n){var i,s,r=this,l={isFixed:!isNaN(parseInt(n,10)),x:o,y:n},d=r.element,p=r.options,f=e(p.anchor),u=d[0]&&d.hasClass("km-widget");if(!r.visible()){if(p.copyAnchorStyles&&(u&&"font-size"==Y[0]&&Y.shift(),d.css(a.getComputedStyles(f[0],Y))),d.data("animating")||r._trigger(m))return;r._activated=!1,p.modal||(H.off(r.downEvent,r._mousedownProxy).on(r.downEvent,r._mousedownProxy),r._toggleResize(!1),r._toggleResize(!0)),r.wrapper=s=a.wrap(d,p.autosize).css({overflow:z,display:"block",position:T}).attr("aria-hidden",!1),c.mobileOS.android&&s.css(M,"translatez(0)"),s.css(S),e(p.appendTo)[0]==document.body&&s.css(k,"-10000px"),r.flipped=r._position(l),i=r._openAnimation(),p.anchor!=C&&r._showDirClass(i),d.is(":visible")||d.data("olddisplay")!==t||(d.show(),d.data("olddisplay",d.css("display")),d.hide()),d.data(I,i.effects).kendoStop(!0).kendoAnimate(i).attr("aria-hidden",!1)}},_location:function(t){var o,n,i=this,s=i.element,r=i.options,l=e(r.anchor),d=s[0]&&s.hasClass("km-widget");return r.copyAnchorStyles&&(d&&"font-size"==Y[0]&&Y.shift(),s.css(a.getComputedStyles(l[0],Y))),i.wrapper=o=a.wrap(s,r.autosize).css({overflow:z,display:"block",position:T}),c.mobileOS.android&&o.css(M,"translatez(0)"),o.css(S),e(r.appendTo)[0]==document.body&&o.css(k,"-10000px"),i._position(t||{}),n=o.offset(),{width:a._outerWidth(o),height:a._outerHeight(o),left:n.left,top:n.top}},_openAnimation:function(){var e=K(!0,{},this.options.animation.open);return e.effects=a.parseEffects(e.effects,this.flipped),e},_hideDirClass:function(){var t=e(this.options.anchor),o=((t.attr("class")||"").match(D)||["","down"])[1],n=A+"-"+o;t.removeClass(n).children(O).removeClass(R).removeClass(n),this.element.removeClass(A+"-"+a.directions[o].reverse)},_showDirClass:function(t){var o=t.effects.slideIn?t.effects.slideIn.direction:"down",n=A+"-"+o;e(this.options.anchor).addClass(n).children(O).addClass(R).addClass(n),this.element.addClass(A+"-"+a.directions[o].reverse)},position:function(){this.visible()&&(this.flipped=this._position())},toggle:function(){var e=this;e[e.visible()?g:m]()},visible:function(){return this.element.is(":"+E)},close:function(o){var n,i,s,r,l=this,d=l.options;if(l.visible()){if(n=l.wrapper[0]?l.wrapper:a.wrap(l.element).hide(),l._toggleResize(!1),l._closing||l._trigger(g))return l._toggleResize(!0),t;l.element.find(".k-popup").each(function(){var t=e(this),n=t.data("kendoPopup");n&&n.close(o)}),H.off(l.downEvent,l._mousedownProxy),o?i={hide:!0,effects:{}}:(i=K(!0,{},d.animation.close),s=l.element.data(I),r=i.effects,!r&&!a.size(r)&&s&&a.size(s)&&(i.effects=s,i.reverse=!0),l._closing=!0),l.element.kendoStop(!0).attr("aria-hidden",!0),n.css({overflow:z}).attr("aria-hidden",!0),l.element.kendoAnimate(i),o&&l._animationClose()}},_trigger:function(e){return this.trigger(e,{type:e})},_resize:function(e){var t=this;c.resize.indexOf(e.type)!==-1?(clearTimeout(t._resizeTimeout),t._resizeTimeout=setTimeout(function(){t._position(),t._resizeTimeout=null},50)):(!t._hovered||t._activated&&t.element.hasClass("k-list-container"))&&t.close()},_toggleResize:function(e){var t=e?"on":"off",o=c.resize;c.mobileOS.ios||c.mobileOS.android||c.browser.safari||(o+=" "+L),e&&!this.scrollableParents&&(this.scrollableParents=this._scrollableParents()),this.scrollableParents&&this.scrollableParents.length&&this.scrollableParents[t](L,this._resizeProxy),W[t](o,this._resizeProxy)},_mousedown:function(t){var n=this,i=n.element[0],s=n.options,r=e(s.anch
164or)[0],l=s.toggleTarget,d=a.eventTarget(t),p=e(d).closest(".k-popup"),c=p.parent().parent(".km-shim").length;p=p[0],!c&&p&&p!==n.element[0]||"popover"!==e(t.target).closest("a").data("rel")&&(o(i,d)||o(r,d)||l&&o(e(l)[0],d)||n.close())},_fit:function(e,t,o){var n=0;return e+t>o&&(n=o-(e+t)),e<0&&(n=-e),n},_flip:function(e,t,o,n,i,s,r){var a=0;return r=r||t,s!==i&&s!==_&&i!==_&&(e+r>n&&(a+=-(o+t)),e+a<0&&(a+=o+t)),a},_scrollableParents:function(){return e(this.options.anchor).parentsUntil("body").filter(function(e,t){return a.isScrollable(t)})},_position:function(t){var o,n,i,s,r,l,d,p,m,g,w,v,_,b,y,k,x,z=this,C=z.element,E=z.wrapper,I=z.options,R=e(I.viewport),A=c.zoomLevel(),D=!!(R[0]==window&&window.innerWidth&&A<=1.02),O=e(I.anchor),F=I.origin.toLowerCase().split(" "),H=I.position.toLowerCase().split(" "),N=z.collisions,W=10002,L=0,j=document.documentElement;if(r=I.viewport===window?{top:window.pageYOffset||document.documentElement.scrollTop||0,left:window.pageXOffset||document.documentElement.scrollLeft||0}:R.offset(),D?(l=window.innerWidth,d=window.innerHeight):(l=R.width(),d=R.height()),D&&j.scrollHeight-j.clientHeight>0&&(p=I.isRtl?-1:1,l-=p*a.support.scrollbar()),o=O.parents().filter(E.siblings()),o[0])if(i=Math.max(+o.css("zIndex"),0))W=i+10;else for(n=O.parentsUntil(o),s=n.length;L<s;L++)i=+e(n[L]).css("zIndex"),i&&W<i&&(W=i+10);return E.css("zIndex",W),E.css(t&&t.isFixed?{left:t.x,top:t.y}:z._align(F,H)),m=f(E,S,O[0]===E.offsetParent()[0]),g=f(E),w=O.offsetParent().parent(".k-animation-container,.k-popup,.k-group"),w.length&&(m=f(E,S,!0),g=f(E)),g.top-=r.top,g.left-=r.left,z.wrapper.data(P)||E.data(P,K({},m)),v=K({},g),_=K({},m),b=I.adjustSize,"fit"===N[0]&&(_.top+=z._fit(v.top,h(E)+b.height,d/A)),"fit"===N[1]&&(_.left+=z._fit(v.left,u(E)+b.width,l/A)),y=K({},_),k=h(C),x=h(E),!E.height()&&k&&(x+=k),"flip"===N[0]&&(_.top+=z._flip(v.top,k,h(O),d/A,F[0],H[0],x)),"flip"===N[1]&&(_.left+=z._flip(v.left,u(C),u(O),l/A,F[1],H[1],u(E))),C.css(S,T),E.css(_),_.left!=y.left||_.top!=y.top},_align:function(t,o){var n,i=this,s=i.wrapper,r=e(i.options.anchor),a=t[0],l=t[1],d=o[0],p=o[1],c=f(r),m=e(i.options.appendTo),g=u(s),w=h(s)||h(s.children().first()),v=u(r),b=h(r),k=c.top,T=c.left,z=Math.round;return m[0]!=document.body&&(n=f(m),k-=n.top,T-=n.left),a===x&&(k+=b),a===_&&(k+=z(b/2)),d===x&&(k-=w),d===_&&(k-=z(w/2)),l===y&&(T+=v),l===_&&(T+=z(v/2)),p===y&&(T-=g),p===_&&(T-=z(g/2)),{top:k,left:T}}});l.plugin(Q),n=a.support.stableSort,i="kendoTabKeyTrap",s="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], *[contenteditable]",r=p.extend({init:function(t){this.element=e(t),this.element.autoApplyNS(i)},trap:function(){this.element.on("keydown",N(this._keepInTrap,this))},removeTrap:function(){this.element.kendoDestroy(i)},destroy:function(){this.element.kendoDestroy(i),this.element=t},shouldTrap:function(){return!0},_keepInTrap:function(e){var t,o,n;9===e.which&&this.shouldTrap()&&!e.isDefaultPrevented()&&(t=this._focusableElements(),o=this._sortFocusableElements(t),n=this._nextFocusable(e,o),this._focus(n),e.preventDefault())},_focusableElements:function(){var t=this.element.find(s).filter(function(t,o){return o.tabIndex>=0&&e(o).is(":visible")&&!e(o).is("[disabled]")});return this.element.is("[tabindex]")&&t.push(this.element[0]),t},_sortFocusableElements:function(e){var t,o;return n?t=e.sort(function(e,t){return e.tabIndex-t.tabIndex}):(o="__k_index",e.each(function(e,t){t.setAttribute(o,e)}),t=e.sort(function(e,t){return e.tabIndex===t.tabIndex?parseInt(e.getAttribute(o),10)-parseInt(t.getAttribute(o),10):e.tabIndex-t.tabIndex}),e.removeAttr(o)),t},_nextFocusable:function(e,t){var o=t.length,n=t.index(e.target);return t.get((n+(e.shiftKey?-1:1))%o)},_focus:function(e){return"IFRAME"==e.nodeName?(e.contentWindow.document.body.focus(),t):(e.focus(),"INPUT"==e.nodeName&&e.setSelectionRange&&this._haveSelectionRange(e)&&e.setSelectionRange(0,e.value.length),t)},_haveSelectionRange:function(e){var t=e.type.toLowerCase();return"text"===t||"search"===t||"url"===t||"tel"===t||"password"===t}}),l.Popup.TabKeyTrap=r}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,o){(o||t)()});
165//# sourceMappingURL=kendo.popup.min.js.map
166
167/** 
168 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
169 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
170 *                                                                                                                                                                                                      
171 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
172 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
173 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
174                                                                                                                                                                                                       
175                                                                                                                                                                                                       
176                                                                                                                                                                                                       
177                                                                                                                                                                                                       
178                                                                                                                                                                                                       
179                                                                                                                                                                                                       
180                                                                                                                                                                                                       
181                                                                                                                                                                                                       
182                                                                                                                                                                                                       
183                                                                                                                                                                                                       
184                                                                                                                                                                                                       
185                                                                                                                                                                                                       
186                                                                                                                                                                                                       
187                                                                                                                                                                                                       
188                                                                                                                                                                                                       
189
190*/
191!function(e,define){define("kendo.list.min",["kendo.data.min","kendo.popup.min"],e)}(function(){return function(e,t){function i(e,i){return e!==t&&""!==e&&null!==e&&("boolean"===i?("boolean"!=typeof e&&(e="true"===e.toLowerCase()),e=!!e):"number"===i?e=+e:"string"===i&&(e=""+e)),e}function n(e){return e[e.length-1]}function a(e){var t=e.selectedIndex;return t>-1?e.options[t]:{}}function s(e,t){var i,n,a,s,r=t.length,l=e.length,o=[],u=[];
191if(l)for(a=0;a<l;a++){for(i=e[a],n=!1,s=0;s<r;s++)if(i===t[s]){n=!0,o.push({index:a,item:i});break}n||u.push(i)}return{changed:o,unchanged:u}}function r(t){return!(!t||e.isEmptyObject(t))&&!(t.filters&&!t.filters.length)}function l(t,i){var n,a=!1;return t.filters&&(n=e.grep(t.filters,function(e){return a=l(e,i),e.filters?e.filters.length:e.field!=i}),a||t.filters.length===n.length||(a=!0),t.filters=n),a}var o,u,c=window.kendo,d=c.ui,h=c._outerHeight,f=/^\d+(\.\d+)?%$/i,p=d.Widget,_=c.keys,g=c.support,m=c.htmlEncode,v=c._activeElement,b=c._outerWidth,x=c.data.ObservableArray,I="id",w="change",S="k-state-focused",y="k-state-hover",T="k-i-loading",F=".k-group-header",k=".k-item",V="_label",C="open",D="close",H="cascade",B="select",E="selected",L="requestStart",P="requestEnd",G="blur",W="focus",A="focusout",q=e.extend,N=e.proxy,O=e.isArray,M=g.browser,z="k-hidden",R="width",U=M.msie,j=U&&M.version<9,$=/"/g,Q={ComboBox:["DropDownList","MultiColumnComboBox"],DropDownList:["ComboBox","MultiColumnComboBox"],MultiColumnComboBox:["ComboBox","DropDownList"]},Y=c.ui.DataBoundWidget.extend({init:function(t,i){var n,a=this,s=a.ns;p.fn.init.call(a,t,i),t=a.element,i=a.options,a._isSelect=t.is(B),a._isSelect&&a.element[0].length&&(i.dataSource||(i.dataTextField=i.dataTextField||"text",i.dataValueField=i.dataValueField||"value")),a.ul=e('<ul unselectable="on" class="k-list k-reset"/>').attr({tabIndex:-1,"aria-hidden":!0}),a.list=e("<div class='k-list-container'/>").append(a.ul).on("mousedown"+s,N(a._listMousedown,a)),n=t.attr(I),n||(n=c.guid()),a.list.attr(I,n+"-list"),a.ul.attr(I,n+"_listbox"),i.columns&&i.columns.length&&(a.ul.removeClass("k-list").addClass("k-grid-list"),a._columnsHeader()),a._header(),a._noData(),a._footer(),a._accessors(),a._initValue()},options:{valuePrimitive:!1,footerTemplate:"",headerTemplate:"",noDataTemplate:!0,messages:{noData:"No data found.",clear:"clear"}},setOptions:function(e){p.fn.setOptions.call(this,e),e&&e.enable!==t&&(e.enabled=e.enable),e.columns&&e.columns.length&&this._columnsHeader(),this._header(),this._noData(),this._footer(),this._renderFooter(),this._renderNoData()},focus:function(){this._focused.focus()},readonly:function(e){this._editable({readonly:e===t||e,disable:!1})},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)})},_header:function(){var i,n=this,a=e(n.header),s=n.options.headerTemplate;return this._angularElement(a,"cleanup"),c.destroy(a),a.remove(),s?(i="function"!=typeof s?c.template(s):s,a=e(i({})),n.header=a[0]?a:null,n.list.prepend(a),this._angularElement(n.header,"compile"),t):(n.header=null,t)},_columnsHeader:function(){var t,i,n,a,s,r,l,o,u,d,h,p=this,_=e(p.columnsHeader);for(this._angularElement(_,"cleanup"),c.destroy(_),_.remove(),t="<div class='k-grid-header'><div class='k-grid-header-wrap'><table role='presentation'>",i="<colgroup>",n="<tr>",a=0;a<this.options.columns.length;a++)s=this.options.columns[a],r=s.title||s.field||"",l=s.headerTemplate||r,o="function"!=typeof l?c.template(l):l,u=s.width,d=parseInt(u,10),h="",u&&!isNaN(d)&&(h+="style='width:",h+=d,h+=f.test(u)?"%":"px",h+=";'"),i+="<col "+h+"/>",n+="<th class='k-header'>",n+=o(s),n+="</th>";i+="</colgroup>",n+="</tr>",t+=i,t+=n,t+="</table></div></div>",p.columnsHeader=_=e(t),p.list.prepend(_),this._angularElement(p.columnsHeader,"compile")},_noData:function(){var i=this,n=e(i.noData),a=i.options.noDataTemplate===!0?i.options.messages.noD
191ata:i.options.noDataTemplate;return i.angular("cleanup",function(){return{elements:n}}),c.destroy(n),n.remove(),a?(i.noData=e('<div class="k-nodata" style="display:none"><div></div></div>').appendTo(i.list),i.noDataTemplate="function"!=typeof a?c.template(a):a,t):(i.noData=null,t)},_footer:function(){var i=this,n=e(i.footer),a=i.options.footerTemplate;return this._angularElement(n,"cleanup"),c.destroy(n),n.remove(),a?(i.footer=e('<div class="k-footer"></div>').appendTo(i.list),i.footerTemplate="function"!=typeof a?c.template(a):a,t):(i.footer=null,t)},_listOptions:function(t){var i=this,n=i.options,a=n.virtual,s={change:N(i._listChange,i)},r=N(i._listBound,i);return a="object"==typeof a?a:{},t=e.extend({autoBind:!1,selectable:!0,dataSource:i.dataSource,click:N(i._click,i),activate:N(i._activateItem,i),columns:n.columns,deactivate:N(i._deactivateItem,i),dataBinding:function(){i.trigger("dataBinding")},dataBound:r,height:n.height,dataValueField:n.dataValueField,dataTextField:n.dataTextField,groupTemplate:n.groupTemplate,fixedGroupTemplate:n.fixedGroupTemplate,template:n.template},t,a,s),t.template||(t.template="#:"+c.expr(t.dataTextField,"data")+"#"),n.$angular&&(t.$angular=n.$angular),t},_initList:function(){var e=this,t=e._listOptions({selectedItemChange:N(e._listChange,e)});e.listView=e.options.virtual?new c.ui.VirtualList(e.ul,t):new c.ui.StaticList(e.ul,t),e.listView.bind("listBound",N(e._listBound,e)),e._setListValue()},_setListValue:function(e){e=e||this.options.value,e!==t&&this.listView.value(e).done(N(this._updateSelectionState,this))},_updateSelectionState:e.noop,_listMousedown:function(e){this.filterInput&&this.filterInput[0]===e.target||e.preventDefault()},_isFilterEnabled:function(){var e=this.options.filter;return e&&"none"!==e},_hideClear:function(){var e=this;e._clear&&e._clear.addClass(z)},_showClear:function(){this._clear&&this._clear.removeClass(z)},_clearValue:function(){this._clearText(),this._accessor(""),this.listView.value([]),this._isSelect&&(this._customOption=t),this._isFilterEnabled()&&!this.options.enforceMinLength&&(this._filter({word:"",open:!1}),this.options.highlightFirst&&this.listView.focus(0)),this._change()},_clearText:function(){this.text("")},_clearFilter:function(){this.options.virtual||this.listView.bound(!1),this._filterSource()},_filterSource:function(e,t){var i,n,a=this,s=a.options,o=s.filterFields&&e&&e.logic&&e.filters&&e.filters.length,u=a.dataSource,c=q({},u.filter()||{}),d=e||c.filters&&c.filters.length&&!e,h=l(c,s.dataTextField);if(this._clearFilterExpressions(c),!e&&!h||!a.trigger("filtering",{filter:e}))return i={filters:[],logic:"and"},o?i.filters.push(e):this._pushFilterExpression(i,e),r(c)&&(i.logic===c.logic?i.filters=i.filters.concat(c.filters):i.filters.push(c)),a._cascading&&this.listView.setDSFilter(i),n=q({},{page:d?1:u.page(),pageSize:d?u.options.pageSize:u.pageSize(),sort:u.sort(),filter:u.filter(),group:u.group(),aggregate:u.aggregate()},{filter:i}),u[t?"read":"query"](u._mergeState(n))},_pushFilterExpression:function(e,t){r(t)&&""!==t.value&&e.filters.push(t)},_clearFilterExpressions:function(e){var t,i;if(e.filters){for(i=0;i<e.filters.length;i++)"fromFilter"in e.filters[i]&&(t=i);isNaN(t)||e.filters.splice(t,1)}},_angularElement:function(e,t){e&&this.angular(t,function(){return{elements:e}})},_renderNoData:function(){var e=this,t=e.noData;t&&(this._angularElement(t,"cleanup"),t.children(":first").html(e.noDataTemplate({instance:e})),this._angularElement(t,"compile"))},_toggleNoData:function(t){e(this.noData).toggle(t)},_toggleHeader:function(e){var t=this.listView.content.prev(F);t.toggle(e)},_renderFooter:function(){var e=this,t=e.footer;t&&(this._angularElement(t,"cleanup"),t.html(e.footerTemplate({instance:e})),this._angularElement(t,"compile"))},_allowOpening:function(){return this.options.noDataTemplate||this.dataSource.flatView().length},_initValue:function(){var e=this,t=e.options.value;null!==t?e.element.val(t):(t=e._accessor(),e.options.value=t),e._old=t},_ignoreCase:function(){var e,t=this,i=t.dataSource.reader.model;i&&i.fields&&(e=i.fields[t.options.dataTextField],e&&e.type&&"string"!==e.type&&(t.options.ignoreCase=!1))},_focus:function(e){return this.listView.focus(e)},_filter:function(e){var t,i,n=this,a=n.options,s=e.word,r=a.filterFields,l=a.dataTextField;if(r&&r.length)for(t={logic:"or",filters:[],fromFilter:!0},i=0;i<r.length;i++)this._pushFilterExpression(t,n._buildExpression(s,r[i]));else t=n._buildExpression(s,l);
191n._open=e.open,n._filterSource(t)},_buildExpression:function(e,t){var i=this,n=i.options,a=n.ignoreCase,s=i.dataSource.options.accentFoldingFiltering;return{value:a?s?e.toLocaleLowerCase(s):e.toLowerCase():e,field:t,operator:n.filter,ignoreCase:a}},_clearButton:function(){var t=this,i=t.options.messages.clear;t._clear||(t._clear=e('<span unselectable="on" class="k-icon k-clear-value k-i-close" title="'+i+'"></span>').attr({role:"button",tabIndex:-1})),t.options.clearButton||t._clear.remove(),this._hideClear()},search:function(e){var t=this.options;e="string"==typeof e?e:this._inputValue(),clearTimeout(this._typingTimeout),(!t.enforceMinLength&&!e.length||e.length>=t.minLength)&&(this._state="filter",this.listView&&(this.listView._emptySearch=!c.trim(e).length),this._isFilterEnabled()?this._filter({word:e,open:!0}):this._searchByWord(e))},current:function(e){return this._focus(e)},items:function(){return this.ul[0].children},destroy:function(){var e=this,t=e.ns;p.fn.destroy.call(e),e._unbindDataSource(),e.listView.destroy(),e.list.off(t),e.popup.destroy(),e._form&&e._form.off("reset",e._resetHandler)},dataItem:function(i){var n=this;if(i===t)return n.listView.selectedDataItems()[0];if("number"!=typeof i){if(n.options.virtual)return n.dataSource.getByUid(e(i).data("uid"));i=e(n.items()).index(i)}return n.dataSource.flatView()[i]},_activateItem:function(){var e=this.listView.focus();e&&this._focused.add(this.filterInput).attr("aria-activedescendant",e.attr("id"))},_deactivateItem:function(){this._focused.add(this.filterInput).removeAttr("aria-activedescendant")},_accessors:function(){var e=this,t=e.element,i=e.options,n=c.getter,a=t.attr(c.attr("text-field")),s=t.attr(c.attr("value-field"));!i.dataTextField&&a&&(i.dataTextField=a),!i.dataValueField&&s&&(i.dataValueField=s),e._text=n(i.dataTextField),e._value=n(i.dataValueField)},_aria:function(e){var i=this,n=i.options,a=i._focused.add(i.filterInput);n.suggest!==t&&a.attr("aria-autocomplete",n.suggest?"both":"list"),e=e?e+" "+i.ul[0].id:i.ul[0].id,a.attr("aria-owns",e),i.ul.attr("aria-live",i._isFilterEnabled()?"polite":"off"),i._ariaLabel()},_ariaLabel:function(){var t,i=this,n=i._focused,a=i.element,s=a.attr("id"),r=e('label[for="'+s+'"]'),l=a.attr("aria-label"),o=a.attr("aria-labelledby");n!==a&&(l?n.attr("aria-label",l):o?n.attr("aria-labelledby",o):r.length&&(t=r.attr("id")||i._generateLabelId(r,s||c.guid()),n.attr("aria-labelledby",t)))},_generateLabelId:function(e,t){var i=t+V;return e.attr("id",i),i},_blur:function(){var e=this;e._change(),e.close(),e._userTriggered=!1},_change:function(){var e,n=this,a=n.selectedIndex,s=n.options.value,r=n.value();n._isSelect&&!n.listView.bound()&&s&&(r=s),r!==i(n._old,typeof r)&&r!==i(n._oldText,typeof r)?e=!0:n._valueBeforeCascade!==t&&n._valueBeforeCascade!==i(n._old,typeof n._valueBeforeCascade)&&n._userTriggered?e=!0:a===t||a===n._oldIndex||n.listView.isFiltered()||(e=!0),e&&(n._valueBeforeCascade=n._old=null===n._old||""===n._old||""===r?r:n.dataItem()?n.options.dataValueField?n.dataItem()[n.options.dataValueField]:n.dataItem():null,n._oldIndex=a,n._oldText=n.text&&n.text(),n._typing||n.element.trigger(w),n.trigger(w)),n.typing=!1},_data:function(){return this.dataSource.view()},_enable:function(){var e=this,i=e.options,n=e.element.is("[disabled]");i.enable!==t&&(i.enabled=i.enable),!i.enabled||n?e.enable(!1):e.readonly(e.element.is("[readonly]"))},_dataValue:function(e){var i=this._value(e);return i===t&&(i=this._text(e)),i},_offsetHeight:function(){var t=0,i=this.listView.content.prevAll(":visible");return i.each(function(){var i=e(this);t+=h(i,!0)}),t},_height:function(i){var n,a,s,r=this,l=r.list,o=r.options.height,u=r.popup.visible();if(i||r.options.noDataTemplate){if(a=l.add(l.parent(".k-animation-container")).show(),!l.is(":visible"))return a.hide(),t;o=r.listView.content[0].scrollHeight>o?o:"auto",a.height(o),"auto"!==o&&(n=r._offsetHeight(),s=h(e(r.footer))||0,o=o-n-s),r.listView.content.height(o),u||a.hide()}return o},_openHandler:function(e){this._adjustListWidth(),this.trigger(C)?e.preventDefault():(this._focused.attr("aria-expanded",!0),this.ul.attr("aria-hidden",!1))},_adjustListWidth:function(){var e,t,i=this,n=i.list,a=n[0].style.width,s=i.wrapper;if(n.data(R)||!a)return e=window.getComputedStyle?window.getComputedStyle(s[0],null):0,t=parseFloat(e&&e.width)||b(s),e&&M.msie&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),a="border-box"!==n.css("box-sizing")?t-(b(n)-n.width()):t,n.css({fontFamily:s.css("font-family"),width:i.options.autoWidth?"auto":a,minWidth:a,whiteSpace:i.options.autoWidth?"nowrap":"normal"}).data(R,a),!0},_closeHandler:function(e){this.trigger(D)?e.preventDefault():(this._focused.attr("aria-expanded",!1),this.ul.attr("aria-hidden",!0))},_focusItem:function(){var e=this.listView,i=!e.focus(),a=n(e.select());a===t&&this.options.highlightFirst&&i&&(a=0),a!==t?e.focus(a):i&&e.scrollToIndex(0)},_calculateGroupPadding:function(e){var t=this.ul.children(".k-first:first"),i=this.listView.content.prev(F),n=0,a="right";i[0]&&"none"!==i[0].style.display&&("auto"!==e&&(n=c.support.scrollbar()),this.element.parents(".k-rtl").length&&(a="left"),n+=parseFloat(t.css("border-"+a+"-width"),10)+parseFloat(t.children(".k-group").css("padding-"+a),10),i.css("padding-"+a,n))},_calculatePopupHeight:function(e){var t=this._height(this.dataSource.flatView().length||e);this._calculateGroupPadding(t),this._calculateColumnsHeaderPadding(t)}
191,_calculateColumnsHeaderPadding:function(e){var t,i,n;this.options.columns&&this.options.columns.length&&(t=this,i=g.isRtl(t.wrapper),n=c.support.scrollbar(),t.columnsHeader.css(i?"padding-left":"padding-right","auto"!==e?n:0))},_refreshScroll:function(){var e=this.listView,t=e.element.height()>e.content.height();this.options.autoWidth&&e.content.css({overflowX:"hidden",overflowY:t?"scroll":"auto"})},_resizePopup:function(e){this.options.virtual||(this.popup.element.is(":visible")?this._calculatePopupHeight(e):(this.popup.one("open",function(e){return N(function(){this._calculatePopupHeight(e)},this)}.call(this,e)),this.popup.one("activate",N(this._refreshScroll,this))))},_popup:function(){var e=this;e.popup=new d.Popup(e.list,q({},e.options.popup,{anchor:e.wrapper,open:N(e._openHandler,e),close:N(e._closeHandler,e),animation:e.options.animation,isRtl:g.isRtl(e.wrapper),autosize:e.options.autoWidth}))},_makeUnselectable:function(){j&&this.list.find("*").not(".k-textbox").attr("unselectable","on")},_toggleHover:function(t){e(t.currentTarget).toggleClass(y,"mouseenter"===t.type)},_toggle:function(e,i){var n=this,a=g.mobileOS&&(g.touch||g.MSPointers||g.pointers);e=e!==t?e:!n.popup.visible(),i||a||n._focused[0]===v()||(n._prevent=!0,n._focused.focus(),n._prevent=!1),n[e?C:D]()},_triggerCascade:function(){var e=this;e._cascadeTriggered&&e.value()===i(e._cascadedValue,typeof e.value())||(e._cascadedValue=e.value(),e._cascadeTriggered=!0,e.trigger(H,{userTriggered:e._userTriggered}))},_triggerChange:function(){this._valueBeforeCascade!==this.value()&&this.trigger(w)},_unbindDataSource:function(){var e=this;e.dataSource.unbind(L,e._requestStartHandler).unbind(P,e._requestEndHandler).unbind("error",e._errorHandler)},requireValueMapper:function(e,t){var i=(e.value instanceof Array?e.value.length:e.value)||(t instanceof Array?t.length:t);if(i&&e.virtual&&"function"!=typeof e.virtual.valueMapper)throw Error("ValueMapper is not provided while the value is being set. See http://docs.telerik.com/kendo-ui/controls/editors/combobox/virtualization#the-valuemapper-function")}});q(Y,{inArray:function(e,t){var i,n,a=t.children;if(!e||e.parentNode!==t)return-1;for(i=0,n=a.length;i<n;i++)if(e===a[i])return i;return-1},unifyType:i}),c.ui.List=Y,d.Select=Y.extend({init:function(e,t){Y.fn.init.call(this,e,t),this._initial=this.element.val()},setDataSource:function(e){var t,i=this;i.options.dataSource=e,i._dataSource(),i.listView.bound()&&(i._initialIndex=null,i.listView._current=null),i.listView.setDataSource(i.dataSource),i.options.autoBind&&i.dataSource.fetch(),t=i._parentWidget(),t&&i._cascadeSelect(t)},close:function(){this.popup.close()},select:function(e){var i=this;return e===t?i.selectedIndex:i._select(e).done(function(){i._cascadeValue=i._old=i._accessor(),i._oldIndex=i.selectedIndex})},_accessor:function(e,t){return this[this._isSelect?"_accessorSelect":"_accessorInput"](e,t)},_accessorInput:function(e){var i=this.element[0];return e===t?i.value:(null===e&&(e=""),i.value=e,t)},_accessorSelect:function(e,i){var n,s=this.element[0];return e===t?a(s).value||"":(a(s).selected=!1,i===t&&(i=-1),n=null!==e&&""!==e,n&&i==-1?this._custom(e):e?s.value=e:s.selectedIndex=i,t)},_syncValueAndText:function(){return!0},_custom:function(t){var i=this,n=i.element,a=i._customOption;a||(a=e("<option/>"),i._customOption=a,n.append(a)),a.text(t),a[0].selected=!0},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._arrowIcon.removeClass(T),e._focused.attr("aria-busy",!1),e._busy=null,e._showClear()},_showBusy:function(e){var t=this;e.isDefaultPrevented()||(t._request=!0,t._busy||(t._busy=setTimeout(function(){t._arrowIcon&&(t._focused.attr("aria-busy",!0),t._arrowIcon.addClass(T),t._hideClear())},100)))},_requestEnd:function(){this._request=!1,this._hideBusy()},_dataSource:function(){var t,i=this,n=i.element,a=i.options,s=a.dataSource||{};s=e.isArray(s)?{data:s}:s,i._isSelect&&(t=n[0].selectedIndex,t>-1&&(a.index=t),s.select=n,s.fields=[{field:a.dataTextField}
191,{field:a.dataValueField}]),i.dataSource?i._unbindDataSource():(i._requestStartHandler=N(i._showBusy,i),i._requestEndHandler=N(i._requestEnd,i),i._errorHandler=N(i._hideBusy,i)),i.dataSource=c.data.DataSource.create(s).bind(L,i._requestStartHandler).bind(P,i._requestEndHandler).bind("error",i._errorHandler)},_firstItem:function(){this.listView.focusFirst()},_lastItem:function(){this.listView.focusLast()},_nextItem:function(){return this.listView.focusNext()},_prevItem:function(){return this.listView.focusPrev()},_getNormalizedDataItem:function(e){var t,i=this,n=i.listView,a="number"==typeof e,s=i.optionLabel&&i.optionLabel.length;return t=a?s?--e:e:n.getElementIndex(e),n.dataItemByIndex(t)},_getNormalizedSelectCandidate:function(e){var t=this,i=t.optionLabel&&t.optionLabel.length,n="number"==typeof e,a=e;return i&&n&&a++,a},_move:function(e){var t,i,n,a,s,r,l,o,u,c=this,d=c.listView,h=e.keyCode,f=h===_.DOWN,p=c.options.virtual;if(h===_.UP||f){if(e.altKey)c.toggle(f);else{if(!d.bound()&&!c.ul[0].firstChild)return c._fetch||(c.dataSource.one(w,function(){c._fetch=!1,c._move(e)}),c._fetch=!0,c._filterSource()),e.preventDefault(),!0;n=c._focus(),c._fetch||n&&!n.hasClass("k-state-selected")||(f?(a=c._nextItem(),(p&&a<=0||!c._focus()&&!a)&&c._lastItem()):(a=c._prevItem(),(p&&a>=d.dataSource.total()-1||!c._focus()&&!a)&&c._firstItem())),s=c._getNormalizedSelectCandidate(c._get(c._focus())||a||0),c._select(s,!0).done(function(){var e=function(){c.popup.visible()||c._blur(),c._cascadedValue=null===c._cascadedValue?c.value():c.dataItem()?c.dataItem()[c.options.dataValueField]||c.dataItem():null};c.trigger(B,{dataItem:c._getNormalizedDataItem(s),item:c._focus()})?c._select(n).done(e):e()})}e.preventDefault(),i=!0}else if(h===_.ENTER||h===_.TAB){if(c.popup.visible()&&e.preventDefault(),n=c._focus(),t=c.dataItem(),c.popup.visible()||t&&c.text()===c._text(t)||(n=null),r=c.filterInput&&c.filterInput[0]===v(),n){if(t=d.dataItemByIndex(d.getElementIndex(n)),o=!0,t&&(o=c._value(t)!==Y.unifyType(c.value(),typeof c._value(t))),o&&c.trigger(B,{dataItem:t,item:n}))return;l=c._select(n)}else c.input&&((c._syncValueAndText()||c._isSelect)&&c._accessor(c.input.val()),c.listView.value(c.input.val()));c._focusElement&&c._focusElement(c.wrapper),r&&h===_.TAB?c.wrapper.focusout():l&&"function"==typeof l.done?l.done(function(){c._blur()}):c._blur(),c.close(),i=!0}else h===_.ESC?(c.popup.visible()&&e.preventDefault(),c.close(),i=!0):!c.popup.visible()||h!==_.PAGEDOWN&&h!==_.PAGEUP||(e.preventDefault(),u=h===_.PAGEDOWN?1:-1,d.scrollWith(u*d.screenHeight()),i=!0);return i},_fetchData:function(){var e=this,t=!!e.dataSource.view().length;e._request||e.options.cascadeFrom||e.listView.bound()||e._fetch||t||(e._fetch=!0,e.dataSource.fetch().done(function(){e._fetch=!1}))},_options:function(e,i,n){var s,r,l,o,u=this,c=u.element,d=c[0],h=e.length,f="",p=0;for(i&&(f=i);p<h;p++)s="<option",r=e[p],l=u._text(r),o=u._value(r),o!==t&&(o+="",o.indexOf('"')!==-1&&(o=o.replace($,"&quot;")),s+=' value="'+o+'"'),s+=">",l!==t&&(s+=m(l)),s+="</option>",f+=s;c.html(f),n!==t&&(d.value=n,d.value&&!n&&(d.selectedIndex=-1)),d.selectedIndex!==-1&&(s=a(d),s&&s.setAttribute(E,E))},_reset:function(){var t=this,i=t.element,n=i.attr("form"),a=n?e("#"+n):i.closest("form");a[0]&&(t._resetHandler=function(){setTimeout(function(){t.value(t._initial)})},t._form=a.on("reset",t._resetHandler))},_parentWidget:function(){var t,i,n,a=this.options.name;if(this.options.cascadeFrom){if(t=e("#"+this.options.cascadeFrom),i=t.data("kendo"+a),!i)for(n=0;n<Q[a].length&&!(i=t.data("kendo"+Q[a][n]));n+=1);return i}},_cascade:function(){var e,t=this,i=t.options,n=i.cascadeFrom;if(n){if(e=t._parentWidget(),!e)return;
191t._cascadeHandlerProxy=N(t._cascadeHandler,t),t._cascadeFilterRequests=[],i.autoBind=!1,e.bind("set",function(){t.one("set",function(e){t._selectedValue=e.value||t._accessor()})}),e.first(H,t._cascadeHandlerProxy),e.listView.bound()?(t._toggleCascadeOnFocus(),t._cascadeSelect(e)):(e.one("dataBound",function(){t._toggleCascadeOnFocus(),e.popup.visible()&&e._focused.focus()}),e.value()||t.enable(!1))}},_toggleCascadeOnFocus:function(){var e=this,t=e._parentWidget(),i=U&&t instanceof d.DropDownList?G:A;t._focused.add(t.filterInput).bind(W,function(){t.unbind(H,e._cascadeHandlerProxy),t.first(w,e._cascadeHandlerProxy)}),t._focused.add(t.filterInput).bind(i,function(){t.unbind(w,e._cascadeHandlerProxy),t.first(H,e._cascadeHandlerProxy)})},_cascadeHandler:function(e){var t=this._parentWidget(),i=this.value();this._userTriggered=e.userTriggered||t._userTriggered,this.listView.bound()&&this._clearSelection(t,!0),this._cascadeSelect(t,i)},_cascadeChange:function(e){var t=this,n=t._accessor()||t._selectedValue;t._cascadeFilterRequests.length||(t._selectedValue=null),t._userTriggered?t._clearSelection(e,!0):n?(n!==i(t.listView.value()[0],typeof n)&&t.value(n),t.dataSource.view()[0]&&t.selectedIndex!==-1||t._clearSelection(e,!0)):t.dataSource.flatView().length&&t.select(t.options.index),t.enable(),t._triggerCascade(),t._triggerChange(),t._userTriggered=!1},_cascadeSelect:function(e,i){var n,a,s=this,r=e.dataItem(),o=r?r[s.options.cascadeFromParentField]||e._value(r):null,u=s.options.cascadeFromField||e.options.dataValueField;s._valueBeforeCascade=i!==t?i:s.value(),o||0===o?(n=s.dataSource.filter()||{},l(n,u),a=function(){var t=s._cascadeFilterRequests.shift();t&&s.unbind("dataBound",t),t=s._cascadeFilterRequests[0],t&&s.first("dataBound",t),s._cascadeChange(e)},s._cascadeFilterRequests.push(a),1===s._cascadeFilterRequests.length&&s.first("dataBound",a),s._cascading=!0,s._filterSource({field:u,operator:"eq",value:o}),s._cascading=!1):(s.enable(!1),s._clearSelection(e),s._triggerCascade(),s._triggerChange(),s._userTriggered=!1)}}),o=".StaticList",u=c.ui.DataBoundWidget.extend({init:function(t,i){p.fn.init.call(this,t,i),this.element.attr("role","listbox").on("click"+o,"li",N(this._click,this)).on("mouseenter"+o,"li",function(){e(this).addClass(y)}).on("mouseleave"+o,"li",function(){e(this).removeClass(y)}),g.touch&&this._touchHandlers(),"multiple"===this.options.selectable&&this.element.attr("aria-multiselectable",!0),this.content=this.element.wrap("<div class='k-list-scroller' unselectable='on'></div>").parent(),this.header=this.content.before('<div class="k-group-header" style="display:none"></div>').prev(),this.bound(!1),this._optionID=c.guid(),this._selectedIndices=[],this._view=[],this._dataItems=[],this._values=[];var n=this.options.value;n&&(this._values=e.isArray(n)?n.slice(0):[n]),this._getter(),this._templates(),this.setDataSource(this.options.dataSource),this._onScroll=N(function(){var e=this;clearTimeout(e._scrollId),e._scrollId=setTimeout(function(){e._renderHeader()},50)},this)},options:{name:"StaticList",dataValueField:null,valuePrimitive:!1,selectable:!0,template:null,groupTemplate:null,fixedGroupTemplate:null},events:["click",w,"activate","deactivate","dataBinding","dataBound","selectedItemChange"],setDataSource:function(t){var i,n=this,a=t||{};a=e.isArray(a)?{data:a}:a,a=c.data.DataSource.create(a),n.dataSource?(n.dataSource.unbind(w,n._refreshHandler),i=n.value(),n.value([]),n.bound(!1),n.value(i)):n._refreshHandler=N(n.refresh,n),n.setDSFilter(a.filter()),n.dataSource=a.bind(w,n._refreshHandler),n._fixedHeader()},_touchHandlers:function(){var t,i,n=this,a=function(e){return(e.originalEvent||e).changedTouches[0].pageY};n.element.on("touchstart"+o,function(e){t=a(e)}),n.element.on("touchend"+o,function(s){s.isDefaultPrevented()||(i=a(s),Math.abs(i-t)<10&&(n._touchTriggered=!0,n._triggerClick(e(s.target).closest(k).get(0))))})},skip:function(){return this.dataSource.skip()},setOptions:function(e){p.fn.setOptions.call(this,e),this._getter(),this._templates(),this._render()},destroy:function(){this.element.off(o),this._refreshHandler&&this.dataSource.unbind(w,this._refreshHandler),clearTimeout(this._scrollId),p.fn.destroy.call(this)},dataItemByIndex:function(e){return this.dataSource.flatView()[e]},screenHeight:function(){return this.content[0].clientHeight},scrollToIndex:function(e){var t=this.element[0].children[e];t&&this.scroll(t)},scrollWith:function(e){this.content.scrollTop(this.content.scrollTop()+e)},scroll:function(e){if(e){e[0]&&(e=e[0]);var t=this.content[0],i=e.offsetTop,n=e.offsetHeight,a=t.scrollTop,s=t.clientHeight,r=i+n;a>i?a=i:r>a+s&&(a=r-s),t.scrollTop=a}},selectedDataItems:function(e){return e===t?this._dataItems.slice():(this._dataItems=e,this._values=this._getValues(e),t)},_getValues:function(t){var i=this._valueGetter;return e.map(t,function(e){return i(e)})},focusNext:function(){var e=this.focus();e=e?e.next():0,this.focus(e)},focusPrev:function(){var e=this.focus();e=e?e.prev():this.element[0].children.length-1,this.focus(e)},focusFirst:function(){this.focus(this.element[0].children[0])},focusLast:function(){this.focus(n(this.element[0].children))},focus:function(i){var a,s=this,r=s._optionID;return i===t?s._current:(i=n(s._get(i)),i=e(this.element[0].children[i]),s._current&&(s._current.removeClass(S).removeAttr(I),s.trigger("deactivate")),a=!!i[0],a&&(i.addClass(S),s.scroll(i),i.attr("id",r)),s._current=a?i:null,
191s.trigger("activate"),t)},focusIndex:function(){return this.focus()?this.focus().index():t},skipUpdate:function(e){this._skipUpdate=e},select:function(i){var a,s,r,l=this,o=l.options.selectable,u="multiple"!==o&&o!==!1,c=l._selectedIndices,d=[this.element.find(".k-state-selected").index()],h=[],f=[];return i===t?c.slice():(i=l._get(i),1===i.length&&i[0]===-1&&(i=[]),s=e.Deferred().resolve(),r=l.isFiltered(),r&&!u&&l._deselectFiltered(i)?s:u&&!r&&e.inArray(n(i),c)!==-1&&e.inArray(n(i),d)!==-1?(l._dataItems.length&&l._view.length&&(l._dataItems=[l._view[c[0]].item]),s):(a=l._deselect(i),f=a.removed,i=a.indices,i.length&&(u&&(i=[n(i)]),h=l._select(i)),(h.length||f.length)&&(l._valueComparer=null,l.trigger(w,{added:h,removed:f})),s))},removeAt:function(e){return this._selectedIndices.splice(e,1),this._values.splice(e,1),this._valueComparer=null,{position:e,dataItem:this._dataItems.splice(e,1)[0]}},setValue:function(t){t=e.isArray(t)||t instanceof x?t.slice(0):[t],this._values=t,this._valueComparer=null},value:function(i){var n,a=this,s=a._valueDeferred;return i===t?a._values.slice():(a.setValue(i),s&&"resolved"!==s.state()||(a._valueDeferred=s=e.Deferred()),a.bound()&&(n=a._valueIndices(a._values),"multiple"===a.options.selectable&&a.select(-1),a.select(n),s.resolve()),a._skipUpdate=!1,s)},items:function(){return this.element.children(k)},_click:function(e){return this._touchTriggered?(this._touchTriggered=!1,t):(e.isDefaultPrevented()||this._triggerClick(e.currentTarget),t)},_triggerClick:function(t){this.trigger("click",{item:e(t)})||this.select(t)},_valueExpr:function(e,t){var n,a,s=this,r=0,l=[];if(!s._valueComparer||s._valueType!==e){for(s._valueType=e;r<t.length;r++)l.push(i(t[r],e));n="for (var idx = 0; idx < "+l.length+"; idx++) { if (current === values[idx]) {   return idx; }} return -1;",a=Function("current","values",n),s._valueComparer=function(e){return a(e,l)}}return s._valueComparer},_dataItemPosition:function(e,t){var i=this._valueGetter(e),n=this._valueExpr(typeof i,t);return n(i)},_getter:function(){this._valueGetter=c.getter(this.options.dataValueField)},_deselect:function(t){var i,n,a,s=this,r=s.element[0].children,l=s.options.selectable,o=s._selectedIndices,u=s._dataItems,c=s._values,d=[],h=0,f=0;if(t=t.slice(),l!==!0&&t.length){if("multiple"===l)for(;h<t.length;h++)if(n=t[h],e(r[n]).hasClass("k-state-selected"))for(i=0;i<o.length;i++)if(a=o[i],a===n){e(r[a]).removeClass("k-state-selected").attr("aria-selected",!1),d.push({position:i+f,dataItem:u.splice(i,1)[0]}),o.splice(i,1),t.splice(h,1),c.splice(i,1),f+=1,h-=1,i-=1;break}}else{for(;h<o.length;h++)e(r[o[h]]).removeClass("k-state-selected").attr("aria-selected",!1),d.push({position:h,dataItem:u[h]});s._values=[],s._dataItems=[],s._selectedIndices=[]}return{indices:t,removed:d}},_deselectFiltered:function(t){for(var i,n,a,s=this.element[0].children,r=[],l=0;l<t.length;l++)n=t[l],i=this._view[n].item,a=this._dataItemPosition(i,this._values),a>-1&&(r.push(this.removeAt(a)),e(s[n]).removeClass("k-state-selected"));return!!r.length&&(this.trigger(w,{added:[],removed:r}),!0)},_select:function(t){var i,a,s=this,r=s.element[0].children,l=s._view,o=[],u=0;for(n(t)!==-1&&s.focus(t);u<t.length;u++)a=t[u],i=l[a],a!==-1&&i&&(i=i.item,s._selectedIndices.push(a),s._dataItems.push(i),s._values.push(s._valueGetter(i)),e(r[a]).addClass("k-state-selected").attr("aria-selected",!0),o.push({dataItem:i}));return o},getElementIndex:function(t){return e(t).data("offset-index")},_get:function(e){return"number"==typeof e?e=[e]:O(e)||(e=this.getElementIndex(e),e=[e!==t?e:-1]),e},_template:function(){var e=this,t=e.options,i=t.template;return i?(i=c.template(i),i=function(e){return'<li tabindex="-1" role="option" unselectable="on" class="k-item">'+i(e)+"</li>"}):i=c.template('<li tabindex="-1" role="option" unselectable="on" class="k-item">${'+c.expr(t.dataTextField,"data")+"}</li>",{useWithBlock:!1}),i},_templates:function(){var e,t,i,n,a,s=this.options,r={template:s.template,groupTemplate:s.groupTemplate,fixedGroupTemplate:s.fixedGroupTemplate};if(s.columns)for(t=0;t<s.columns.length;t++)i=s.columns[t],n=i.field?""+i.field:"text",r["column"+t]=i.template||"#: "+n+"#";for(a in r)e=r[a],e&&"function"!=typeof e&&(r[a]=c.template(e));this.templates=r},_normalizeIndices:function(e){for(var i=[],n=0;n<e.length;n++)e[n]!==t&&i.push(e[n]);return i},_valueIndices:function(e,t){var i,n=this._view,a=0;if(t=t?t.slice():[],!e.length)return[];for(;a<n.length;a++)i=this._dataItemPosition(n[a].item,e),i!==-1&&(t[i]=a);return this._normalizeIndices(t)},_firstVisibleItem:function(){for(var t=this.element[0],i=this.content[0],n=i.scrollTop,a=e(t.children[0]).height(),s=Math.floor(n/a)||0,r=t.children[s]||t.lastChild,l=r.offsetTop<n;r;)if(l){if(r.offsetTop+a>n||!r.nextSibling)break;r=r.nextSibling}else{if(r.offsetTop<=n||!r.previousSibling)break;r=r.previousSibling}return this._view[e(r).data("offset-index")]},_fixedHeader:function(){this.isGrouped()&&this.templates.fixedGroupTemplate?(this.header.show(),
192this.content.scroll(this._onScroll)):(this.header.hide(),this.content.off("scroll",this._onScroll))},_renderHeader:function(){var e,t=this.templates.fixedGroupTemplate;t&&(e=this._firstVisibleItem(),e&&(""+e.group).length&&this.header.html(t(e.group)))},_renderItem:function(e){var t='<li tabindex="-1" role="option" unselectable="on" class="k-item',i=e.item,n=0!==e.index,a=e.selected,s=this.isGrouped(),r=this.options.columns&&this.options.columns.length;return n&&e.newGroup&&(t+=" k-first"),e.isLastGroupedItem&&r&&(t+=" k-last"),a&&(t+=" k-state-selected"),t+='" aria-selected="'+(a?"true":"false")+'" data-offset-index="'+e.index+'">',t+=r?this._renderColumns(i):this.templates.template(i),n&&e.newGroup?t+=r?'<div class="k-cell k-group-cell"><span>'+this.templates.groupTemplate(e.group)+"</span></div>":'<div class="k-group">'+this.templates.groupTemplate(e.group)+"</div>":s&&r&&(t+="<div class='k-cell k-spacer-cell'></div>"),t+"</li>"},_renderColumns:function(e){var t,i,n,a,s="";for(t=0;t<this.options.columns.length;t++)i=this.options.columns[t].width,n=parseInt(i,10),a="",i&&!isNaN(n)&&(a+="style='width:",a+=n,a+=f.test(i)?"%":"px",a+=";'"),s+="<span class='k-cell' "+a+">",s+=this.templates["column"+t](e),s+="</span>";return s},_render:function(){var e,t,i,n,a="",s=0,r=0,l=[],o=this.dataSource.view(),u=this.value(),c=this.isGrouped();if(c)for(s=0;s<o.length;s++)for(t=o[s],i=!0,n=0;n<t.items.length;n++)e={selected:this._selected(t.items[n],u),item:t.items[n],group:t.value,newGroup:i,isLastGroupedItem:n===t.items.length-1,index:r},l[r]=e,r+=1,a+=this._renderItem(e),i=!1;else for(s=0;s<o.length;s++)e={selected:this._selected(o[s],u),item:o[s],index:s},l[s]=e,a+=this._renderItem(e);this._view=l,this.element[0].innerHTML=a,c&&l.length&&this._renderHeader()},_selected:function(e,t){var i=!this.isFiltered()||"multiple"===this.options.selectable;return i&&this._dataItemPosition(e,t)!==-1},setDSFilter:function(e){this._lastDSFilter=q({},e)},isFiltered:function(){return this._lastDSFilter||this.setDSFilter(this.dataSource.filter()),!c.data.Query.compareFilters(this.dataSource.filter(),this._lastDSFilter)},refresh:function(e){var t,i=this,n=e&&e.action,a=i.options.skipUpdateOnBind,r="itemchange"===n;i.trigger("dataBinding"),i._angularItems("cleanup"),i._fixedHeader(),i._render(),i.bound(!0),r||"remove"===n?(t=s(i._dataItems,e.items),t.changed.length&&(r?i.trigger("selectedItemChange",{items:t.changed}):i.value(i._getValues(t.unchanged)))):i.isFiltered()||i._skipUpdate||i._emptySearch?(i.focus(0),i._skipUpdate&&(i._skipUpdate=!1,i._selectedIndices=i._valueIndices(i._values,i._selectedIndices))):a||n&&"add"!==n||i.value(i._values),i._valueDeferred&&i._valueDeferred.resolve(),i._angularItems("compile"),i.trigger("dataBound")},bound:function(e){return e===t?this._bound:(this._bound=e,t)},isGrouped:function(){return(this.dataSource.group()||[]).length}}),d.plugin(u)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
193//# sourceMappingURL=kendo.list.min.js.map
194
195/** 
196 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
197 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
198 *                                                                                                                                                                                                      
199 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
200 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
201 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
202                                                                                                                                                                                                       
203                                                                                                                                                                                                       
204                                                                                                                                                                                                       
205                                                                                                                                                                                                       
206                                                                                                                                                                                                       
207                                                                                                                                                                                                       
208                                                                                                                                                                                                       
209                                                                                                                                                                                                       
210                                                                                                                                                                                                       
211                                                                                                                                                                                                       
212                                                                                                                                                                                                       
213                                                                                                                                                                                                       
214                                                                                                                                                                                                       
215                                                                                                                                                                                                       
216                                                                                                                                                                                                       
217
218*/
219!function(t,define){define("kendo.fx.min",["kendo.core.min"],t)}(function(){return function(t,e){function i(t){return parseInt(t,10)}function r(t,e){return i(t.css(e))}function n(t){var e,i=[];for(e in t)i.push(e);return i}function s(t){for(var e in t)L.indexOf(e)!=-1&&Q.indexOf(e)==-1&&delete t[e];return t}function o(t,e){var i,r,n,s,o=[],a={};for(r in e)i=r.toLowerCase(),s=H&&L.indexOf(i)!=-1,!E.hasHW3D&&s&&Q.indexOf(i)==-1?delete e[r]:(n=e[r],s?o.push(r+"("+n+")"):a[r]=n);return o.length&&(a[at]=o.join(" ")),a}function a(t,e){var r,n,s;return H?(r=t.css(at),r==J?"scale"==e?1:0:(n=r.match(RegExp(e+"\\s*\\(([\\d\\w\\.]+)")),s=0,n?s=i(n[1]):(n=r.match(I)||[0,0,0,0,0],e=e.toLowerCase(),A.test(e)?s=parseFloat(n[3]/n[2]):"translatey"==e?s=parseFloat(n[4]/n[2]):"scale"==e?s=parseFloat(n[2]):"rotate"==e&&(s=parseFloat(Math.atan2(n[2],n[1])))),s)):parseFloat(t.css(e))}function c(t){return t.charAt(0).toUpperCase()+t.substring(1)}function l(t,e){var i=h.extend(e),r=i.prototype.directions;P[c(t)]=i,P.Element.prototype[t]=function(t,e,r,n){return new i(this.element,t,e,r,n)},T(r,function(e,r){P.Element.prototype[t+c(r)]=function(t,e,n){return new i(this.element,r,t,e,n)}})}function d(t,i,r,n){l(t,{directions:v,startValue:function(t){return this._startValue=t,this},endValue:function(t){return this._endValue=t,this},shouldHide:function(){return this._shouldHide},prepare:function(t,s){var o,a,c=this,l="out"===this._direction,d=c.element.data(i),u=!(isNaN(d)||d==r);o=u?d:e!==this._startValue?this._startValue:l?r:n,a=e!==this._endValue?this._endValue:l?n:r,this._reverse?(t[i]=a,s[i]=o):(t[i]=o,s[i]=a),c._shouldHide=s[i]===n}})}function u(t,e){var i=C.directions[e].vertical,r=t[i?Y:X]()/2+"px";return _[e].replace("$size",r)}var f,p,h,m,v,x,_,g,y,k,b,w,C=window.kendo,P=C.effects,T=t.each,N=t.extend,z=t.proxy,E=C.support,R=E.browser,H=E.transforms,D=E.transitions,O={scale:0,scalex:0,scaley:0,scale3d:0},F={translate:0,translatex:0,translatey:0,translate3d:0},S=e!==document.documentElement.style.zoom&&!H,I=/matrix3?d?\s*\(.*,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?/i,q=/^(-?[\d\.\-]+)?[\w\s]*,?\s*(-?[\d\.\-]+)?[\w\s]*/i,A=/translatex?$/i,V=/(zoom|fade|expand)(\w+)/,M=/(zoom|fade|expand)/,$=/[xy]$/i,L=["perspective","rotate","rotatex","rotatey","rotatez","rotate3d","scale","scalex","scaley","scalez","scale3d","skew","skewx","skewy","translate","translatex","translatey","translatez","translate3d","matrix","matrix3d"],Q=["rotate","scale","scalex","scaley","skew","skewx","skewy","translate","translatex","translatey","matrix"],W={rotate:"deg",scale:"",skew:"px",translate:"px"},j=H.css,B=Math.round,U="",G="px",J="none",K="auto",X="width",Y="height",Z="hidden",tt="origin",et="abortId",it="overflow",rt="translate",nt="position",st="completeCallback",ot=j+"transition",at=j+"transform",ct=j+"backface-visibility",lt=j+"perspective",dt="1500px",ut="perspective("+dt+")",ft={left:{reverse:"right",property:"left",transition:"translatex",vertical:!1,modifier:-1},right:{reverse:"left",property:"left",transition:"translatex",vertical:!1,modifier:1},down:{reverse:"up",property:"top",transition:"translatey",vertical:!0,modifier:1},up:{reverse:"down",property:"top",transition:"translatey",vertical:!0,modifier:-1},top:{reverse:"bottom"},bottom:{reverse:"top"},"in":{reverse:"out",modifier:-1},out:{reverse:"in",modifier:1},vertical:{reverse:"vertical"},horizontal:{reverse:"horizontal"}};C.directions=ft,N(t.fn,{kendoStop:function(t,e){return D?P.stopQueue(this,t||!1,e||!1):this.stop(t,e)}}),H&&!D&&(T(Q,function(i,r){t.fn[r]=function(i){if(e===i)return a(this,r);var n=t(this)[0],s=r+"("+i+W[r.replace($,"")]+")";return n.style.cssText.indexOf(at)==-1?t(this).css(at,s):n.style.cssText=n.style.cssText.replace(RegExp(r+"\\(.*?\\)","i"),s),this},t.fx.step[r]=function(e){t(e.elem)[r](e.now)}}),f=t.fx.prototype.cur,t.fx.prototype.cur=function(){return Q.indexOf(this.prop)!=-1?parseFloat(t(this.elem)[this.prop]()):f.apply(this,arguments)}
219),C.toggleClass=function(t,e,i,r){return e&&(e=e.split(" "),D&&(i=N({exclusive:"all",duration:400,ease:"ease-out"},i),t.css(ot,i.exclusive+" "+i.duration+"ms "+i.ease),setTimeout(function(){t.css(ot,"").css(Y)},i.duration)),T(e,function(e,i){t.toggleClass(i,r)})),t},C.parseEffects=function(t,e){var i={};return"string"==typeof t?T(t.split(" "),function(t,r){var n=!M.test(r),s=r.replace(V,function(t,e,i){return e+":"+i.toLowerCase()}),o=s.split(":"),a=o[1],c={};o.length>1&&(c.direction=e&&n?ft[a].reverse:a),i[o[0]]=c}):T(t,function(t){var r=this.direction;r&&e&&!M.test(t)&&(this.direction=ft[r].reverse),i[t]=this}),i},D&&N(P,{transition:function(e,i,r){var s,a,c,l,d=0,u=e.data("keys")||[];r=N({duration:200,ease:"ease-out",complete:null,exclusive:"all"},r),c=!1,l=function(){c||(c=!0,a&&(clearTimeout(a),a=null),e.removeData(et).dequeue().css(ot,"").css(ot),r.complete.call(e))},r.duration=t.fx?t.fx.speeds[r.duration]||r.duration:r.duration,s=o(e,i),t.merge(u,n(s)),t.hasOwnProperty("uniqueSort")?e.data("keys",t.uniqueSort(u)).height():e.data("keys",t.unique(u)).height(),e.css(ot,r.exclusive+" "+r.duration+"ms "+r.ease).css(ot),e.css(s).css(at),D.event&&(e.one(D.event,l),0!==r.duration&&(d=500)),a=setTimeout(l,r.duration+d),e.data(et,a),e.data(st,l)},stopQueue:function(t,e,i){var r,n=t.data("keys"),s=!i&&n,o=t.data(st);return s&&(r=C.getComputedStyles(t[0],n)),o&&o(),s&&t.css(r),t.removeData("keys").stop(e)}}),p=C.Class.extend({init:function(t,e){var i=this;i.element=t,i.effects=[],i.options=e,i.restore=[]},run:function(e){var i,r,n,a,c,l,d,u=this,f=e.length,p=u.element,h=u.options,m=t.Deferred(),v={},x={};for(u.effects=e,m.done(t.proxy(u,"complete")),p.data("animating",!0),r=0;r<f;r++)for(i=e[r],i.setReverse(h.reverse),i.setOptions(h),u.addRestoreProperties(i.restore),i.prepare(v,x),c=i.children(),n=0,l=c.length;n<l;n++)c[n].duration(h.duration).run();for(d in h.effects)N(x,h.effects[d].properties);for(p.is(":visible")||N(v,{display:p.data("olddisplay")||"block"}),H&&!h.reset&&(a=p.data("targetTransform"),a&&(v=N(a,v))),v=o(p,v),H&&!D&&(v=s(v)),p.css(v).css(at),r=0;r<f;r++)e[r].setup();return h.init&&h.init(),p.data("targetTransform",x),P.animate(p,x,N({},h,{complete:m.resolve})),m.promise()},stop:function(){t(this.element).kendoStop(!0,!0)},addRestoreProperties:function(t){for(var e,i=this.element,r=0,n=t.length;r<n;r++)e=t[r],this.restore.push(e),i.data(e)||i.data(e,i.css(e))},restoreCallback:function(){var t,e,i,r=this.element;for(t=0,e=this.restore.length;t<e;t++)i=this.restore[t],r.css(i,r.data(i))},complete:function(){var e=this,i=0,r=e.element,n=e.options,s=e.effects,o=s.length;for(r.removeData("animating").dequeue(),n.hide&&r.data("olddisplay",r.css("display")).hide(),this.restoreCallback(),S&&!H&&setTimeout(t.proxy(this,"restoreCallback"),0);i<o;i++)s[i].teardown();n.completeCallback&&n.completeCallback(r)}}),P.promise=function(t,e){var i,r,n,s=[],o=new p(t,e),a=C.parseEffects(e.effects);e.effects=a;for(n in a)i=P[c(n)],i&&(r=new i(t,a[n].direction),s.push(r));s[0]?o.run(s):(t.is(":visible")||t.css({display:t.data("olddisplay")||"block"}).css("display"),e.init&&e.init(),t.dequeue(),o.complete())},N(P,{animate:function(i,n,o){var a=o.transition!==!1;delete o.transition,D&&"transition"in P&&a?P.transition(i,n,o):H?i.animate(s(n),{queue:!1,show:!1,hide:!1,duration:o.duration,complete:o.complete}):i.each(function(){var i=t(this),s={};T(L,function(t,o){var a,c,l,d,u,f,p,h=n?n[o]+" ":null;h&&(c=n,o in O&&n[o]!==e?(a=h.match(q),H&&N(c,{scale:+a[0]})):o in F&&n[o]!==e&&(l=i.css(nt),d="absolute"==l||"fixed"==l,i.data(rt)||(d?i.data(rt,{top:r(i,"top")||0,left:r(i,"left")||0,bottom:r(i,"bottom"),right:r(i,"right")}):i.data(rt,{top:r(i,"marginTop")||0,left:r(i,"marginLeft")||0})),u=i.data(rt),a=h.match(q),a&&(f=o==rt+"y"?0:+a[1],p=o==rt+"y"?+a[1]:+a[2],d?(isNaN(u.right)?isNaN(f)||N(c,{left:u.left+f}):isNaN(f)||N(c,{right:u.right-f}),isNaN(u.bottom)?isNaN(p)||N(c,{top:u.top+p}):isNaN(p)||N(c,{bottom:u.bottom-p})):(isNaN(f)||N(c,{marginLeft:u.left+f}),isNaN(p)||N(c,{marginTop:u.top+p})))),!H&&"scale"!=o&&o in c&&delete c[o],c&&N(s,c))}),R.msie&&delete s.scale,i.animate(s,{queue:!1,show:!1,hide:!1,duration:o.duration,complete:o.complete})})}}),P.animatedPromise=P.promise,h=C.Class.extend({init:function(t,e){var i=this;i.element=t,i._direction=e,i.options={},i._additionalEffects=[],i.restore||(i.restore=[])},reverse:function(){return this._reverse=!0,this.run()},play:function(){return this._reverse=!1,this.run()},add:function(t){return this._additionalEffects.push(t),this},direction:function(t){return this._direction=t,this},duration:function(t){return this._duration=t,this},compositeRun:function(){var t=this,e=new p(t.element,{reverse:t._reverse,duration:t._duration}),i=t._additionalEffects.concat([t]);return e.run(i)},run:function(){if(this._additionalEffects&&this._additionalEffects[0])return this.compositeRun();var e,i,r=this,n=r.element,a=0,c=r.restore,l=c.length,d=t.Deferred(),u={},f={},p=r.children(),h=p.length;for(d.done(t.proxy(r,"_complete")),n.data("animating",!0),a=0;a<l;a++)e=c[a],n.data(e)||n.data(e,n.css(e));for(a=0;a<h;a++)p[a].duration(r._duration).run();return r.prepare(u,f),n.is(":visible")||N(u,{display:n.data("olddisplay")||"block"}),H&&(i=n.data("targetTransform"),i&&(u=N(i,u))),u=o(n,u),H&&!D&&(u=s(u)),n.css(u).css(at),r.setup(),n.data("targetTransform",f),P.animate(n,f,{duration:r._duration,complete:d.resolve}),d.promise()},stop:function(){var e=0,i=this.children(),r=i.length;for(e=0;e<r;e++)i[e].stop();return t(this.element).kendoStop(!0,!0),this},restoreCallback:function(){var t,e,i,r=this.element;for(t=0,e=this.restore.length;t<e;t++)i=this.restore[t],r.css(i,r.data(i))},_complete:function(){var e=this,i=e.element;i.removeData("animating").dequeue(),e.restoreCallback(),e.shouldHide()&&i.data("olddisplay",i.css("display")).hide(),S&&!H&&setTimeout(t.proxy(e,"restoreCallback"),0),e.teardown()},setOptions:function(t){N(!0,this.options,t)},children:function(){return[]},shouldHide:t.noop,setup:t.noop,prepare:t.noop,teardown:t.noop,directions:[],setReverse:function(t){return this._reverse=t,this}}),m=["left","right","up","down"],v=["in","out"],l("slideIn",{directions:m,divisor:function(t){return this.options.divisor=t,this},prepare:function(t,e){var i,r=this,n=r.element,s=C._outerWidth,o=C._outerHeight,a=ft[r._direction],c=-a.modifier*(a.vertical?o(n):s(n)),l=c/(r.options&&r.options.divisor||1)+G,d="0px";r._reverse&&(i=t,t=e,e=i),H?(t[a.transition]=l,e[a.transition]=d):(t[a.property]=l,e[a.property]=d)}}
219),l("tile",{directions:m,init:function(t,e,i){h.prototype.init.call(this,t,e),this.options={previous:i}},previousDivisor:function(t){return this.options.previousDivisor=t,this},children:function(){var t=this,e=t._reverse,i=t.options.previous,r=t.options.previousDivisor||1,n=t._direction,s=[C.fx(t.element).slideIn(n).setReverse(e)];return i&&s.push(C.fx(i).slideIn(ft[n].reverse).divisor(r).setReverse(!e)),s}}),d("fade","opacity",1,0),d("zoom","scale",1,.01),l("slideMargin",{prepare:function(t,e){var i,r=this,n=r.element,s=r.options,o=n.data(tt),a=s.offset,c=r._reverse;c||null!==o||n.data(tt,parseFloat(n.css("margin-"+s.axis))),i=n.data(tt)||0,e["margin-"+s.axis]=c?i:i+a}}),l("slideTo",{prepare:function(t,e){var i=this,r=i.element,n=i.options,s=n.offset.split(","),o=i._reverse;H?(e.translatex=o?0:s[0],e.translatey=o?0:s[1]):(e.left=o?0:s[0],e.top=o?0:s[1]),r.css("left")}}),l("expand",{directions:["horizontal","vertical"],restore:[it],prepare:function(t,i){var r=this,n=r.element,s=r.options,o=r._reverse,a="vertical"===r._direction?Y:X,c=n[0].style[a],l=n.data(a),d=parseFloat(l||c),u=B(n.css(a,K)[a]());t.overflow=Z,d=s&&s.reset?u||d:d||u,i[a]=(o?0:d)+G,t[a]=(o?d:0)+G,l===e&&n.data(a,c)},shouldHide:function(){return this._reverse},teardown:function(){var t=this,e=t.element,i="vertical"===t._direction?Y:X,r=e.data(i);r!=K&&r!==U||setTimeout(function(){e.css(i,K).css(i)},0)}}),x={position:"absolute",marginLeft:0,marginTop:0,scale:1},l("transfer",{init:function(t,e){this.element=t,this.options={target:e},this.restore=[]},setup:function(){this.element.appendTo(document.body)},prepare:function(t,e){var i=this,r=i.element,n=P.box(r),s=P.box(i.options.target),o=a(r,"scale"),c=P.fillScale(s,n),l=P.transformOrigin(s,n);N(t,x),e.scale=1,r.css(at,"scale(1)").css(at),r.css(at,"scale("+o+")"),t.top=n.top,t.left=n.left,t.transformOrigin=l.x+G+" "+l.y+G,i._reverse?t.scale=c:e.scale=c}}),_={top:"rect(auto auto $size auto)",bottom:"rect($size auto auto auto)",left:"rect(auto $size auto auto)",right:"rect(auto auto auto $size)"},g={top:{start:"rotatex(0deg)",end:"rotatex(180deg)"},bottom:{start:"rotatex(-180deg)",end:"rotatex(0deg)"},left:{start:"rotatey(0deg)",end:"rotatey(-180deg)"},right:{start:"rotatey(180deg)",end:"rotatey(0deg)"}},l("turningPage",{directions:m,init:function(t,e,i){h.prototype.init.call(this,t,e),this._container=i},prepare:function(t,e){var i=this,r=i._reverse,n=r?ft[i._direction].reverse:i._direction,s=g[n];t.zIndex=1,i._clipInHalf&&(t.clip=u(i._container,C.directions[n].reverse)),t[ct]=Z,e[at]=ut+(r?s.start:s.end),t[at]=ut+(r?s.end:s.start)},setup:function(){this._container.append(this.element)},face:function(t){return this._face=t,this},shouldHide:function(){var t=this,e=t._reverse,i=t._face;return e&&!i||!e&&i},clipInHalf:function(t){return this._clipInHalf=t,this},temporary:function(){return this.element.addClass("temp-page"),this}}),l("staticPage",{directions:m,init:function(t,e,i){h.prototype.init.call(this,t,e),this._container=i},restore:["clip"],prepare:function(t,e){var i=this,r=i._reverse?ft[i._direction].reverse:i._direction;t.clip=u(i._container,r),t.opacity=.999,e.opacity=1},shouldHide:function(){var t=this,e=t._reverse,i=t._face;return e&&!i||!e&&i},face:function(t){return this._face=t,this}}),l("pageturn",{directions:["horizontal","vertical"],init:function(t,e,i,r){h.prototype.init.call(this,t,e),this.options={},this.options.face=i,this.options.back=r},children:function(){var t,e=this,i=e.options,r="horizontal"===e._direction?"left":"top",n=C.directions[r].reverse,s=e._reverse,o=i.face.clone(!0).removeAttr("id"),a=i.back.clone(!0).removeAttr("id"),c=e.element;return s&&(t=r,r=n,n=t),[C.fx(i.face).staticPage(r,c).face(!0).setReverse(s),C.fx(i.back).staticPage(n,c).setReverse(s),C.fx(o).turningPage(r,c).face(!0).clipInHalf(!0).temporary().setReverse(s),C.fx(a).turningPage(n,c).clipInHalf(!0).temporary().setReverse(s)]},prepare:function(t,e){t[lt]=dt,t.transformStyle="preserve-3d",t.opacity=.999,e.opacity=1},teardown:function(){this.element.find(".temp-page").remove()}}),l("flip",{directions:["horizontal","vertical"],init:function(t,e,
219i,r){h.prototype.init.call(this,t,e),this.options={},this.options.face=i,this.options.back=r},children:function(){var t,e=this,i=e.options,r="horizontal"===e._direction?"left":"top",n=C.directions[r].reverse,s=e._reverse,o=e.element;return s&&(t=r,r=n,n=t),[C.fx(i.face).turningPage(r,o).face(!0).setReverse(s),C.fx(i.back).turningPage(n,o).setReverse(s)]},prepare:function(t){t[lt]=dt,t.transformStyle="preserve-3d"}}),y=!E.mobileOS.android,k=".km-touch-scrollbar, .km-actionsheet-wrapper",l("replace",{_before:t.noop,_after:t.noop,init:function(e,i,r){h.prototype.init.call(this,e),this._previous=t(i),this._transitionClass=r},duration:function(){throw Error("The replace effect does not support duration setting; the effect duration may be customized through the transition class rule")},beforeTransition:function(t){return this._before=t,this},afterTransition:function(t){return this._after=t,this},_both:function(){return t().add(this._element).add(this._previous)},_containerClass:function(){var t=this._direction,e="k-fx k-fx-start k-fx-"+this._transitionClass;return t&&(e+=" k-fx-"+t),this._reverse&&(e+=" k-fx-reverse"),e},complete:function(e){if(!(!this.deferred||e&&t(e.target).is(k))){var i=this.container;i.removeClass("k-fx-end").removeClass(this._containerClass()).off(D.event,this.completeProxy),this._previous.hide().removeClass("k-fx-current"),this.element.removeClass("k-fx-next"),y&&i.css(it,""),this.isAbsolute||this._both().css(nt,""),this.deferred.resolve(),delete this.deferred}},run:function(){if(this._additionalEffects&&this._additionalEffects[0])return this.compositeRun();var e,i=this,r=i.element,n=i._previous,s=r.parents().filter(n.parents()).first(),o=i._both(),a=t.Deferred(),c=r.css(nt);return s.length||(s=r.parent()),this.container=s,this.deferred=a,this.isAbsolute="absolute"==c,this.isAbsolute||o.css(nt,"absolute"),y&&(e=s.css(it),s.css(it,"hidden")),D?(r.addClass("k-fx-hidden"),s.addClass(this._containerClass()),this.completeProxy=t.proxy(this,"complete"),s.on(D.event,this.completeProxy),C.animationFrame(function(){r.removeClass("k-fx-hidden").addClass("k-fx-next"),n.css("display","").addClass("k-fx-current"),i._before(n,r),C.animationFrame(function(){s.removeClass("k-fx-start").addClass("k-fx-end"),i._after(n,r)})})):this.complete(),a.promise()},stop:function(){this.complete()}}),b=C.Class.extend({init:function(){var t=this;t._tickProxy=z(t._tick,t),t._started=!1},tick:t.noop,done:t.noop,onEnd:t.noop,onCancel:t.noop,start:function(){this.enabled()&&(this.done()?this.onEnd():(this._started=!0,C.animationFrame(this._tickProxy)))},enabled:function(){return!0},cancel:function(){this._started=!1,this.onCancel()},_tick:function(){var t=this;t._started&&(t.tick(),t.done()?(t._started=!1,t.onEnd()):C.animationFrame(t._tickProxy))}}),w=b.extend({init:function(t){var e=this;N(e,t),b.fn.init.call(e)},done:function(){return this.timePassed()>=this.duration},timePassed:function(){return Math.min(this.duration,new Date-this.startDate)},moveTo:function(t){var e=this,i=e.movable;e.initial=i[e.axis],e.delta=t.location-e.initial,e.duration="number"==typeof t.duration?t.duration:300,e.tick=e._easeProxy(t.ease),e.startDate=new Date,e.start()},_easeProxy:function(t){var e=this;return function(){e.movable.moveAxis(e.axis,t(e.timePassed(),e.initial,e.delta,e.duration))}}}),N(w,{easeOutExpo:function(t,e,i,r){return t==r?e+i:i*(-Math.pow(2,-10*t/r)+1)+e},easeOutBack:function(t,e,i,r,n){return n=1.70158,i*((t=t/r-1)*t*((n+1)*t+n)+1)+e}}),P.Animation=b,P.Transition=w,P.createEffect=l,P.box=function(e){e=t(e);var i=e.offset();return i.width=C._outerWidth(e),i.height=C._outerHeight(e),i},P.transformOrigin=function(t,e){var i=(t.left-e.left)*e.width/(e.width-t.width),r=(t.top-e.top)*e.height/(e.height-t.height);return{x:isNaN(i)?0:i,y:isNaN(r)?0:r}},P.fillScale=function(t,e){return Math.min(t.width/e.width,t.height/e.height)},P.fitScale=function(t,e){return Math.max(t.width/e.width,t.height/e.height)}}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()});
220//# sourceMappingURL=kendo.fx.min.js.map
221
222/** 
223 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
224 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
225 *                                                                                                                                                                                                      
226 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
227 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
228 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
229                                                                                                                                                                                                       
230                                                                                                                                                                                                       
231                                                                                                                                                                                                       
232                                                                                                                                                                                                       
233                                                                                                                                                                                                       
234                                                                                                                                                                                                       
235                                                                                                                                                                                                       
236                                                                                                                                                                                                       
237                                                                                                                                                                                                       
238                                                                                                                                                                                                       
239                                                                                                                                                                                                       
240                                                                                                                                                                                                       
241                                                                                                                                                                                                       
242                                                                                                                                                                                                       
243                                                                                                                                                                                                       
244
245*/
246!function(e,define){define("kendo.userevents.min",["kendo.core.min"],e)}(function(){return function(e,t){function n(e,t){var n=e.x.location,i=e.y.location,o=t.x.location,r=t.y.location,s=n-o,a=i-r;return{center:{x:(n+o)/2,y:(i+r)/2},distance:Math.sqrt(s*s+a*a)}}function i(e){var t,n,i,o=[],r=e.originalEvent,a=e.currentTarget,c=0;if(e.api)o.push({id:2,event:e,target:e.target,currentTarget:e.target,location:e,type:"api"});else if(e.type.match(/touch/))for(n=r?r.changedTouches:[],t=n.length;c<t;c++)i=n[c],o.push({location:i,event:e,target:i.target,currentTarget:a,id:i.identifier,type:"touch"});else o.push(s.pointers||s.msPointers?{location:r,event:e,target:e.target,currentTarget:a,id:r.pointerId,type:"pointer"}:{id:1,event:e,target:e.target,currentTarget:a,location:e,type:"mouse"});return o}function o(e){for(var t=r.eventMap.up.split(" "),n=0,i=t.length;n<i;n++)e(t[n])}
vendor: 20,401 bytes, lines 246-273
246var r=window.kendo,s=r.support,a=r.Class,c=r.Observable,u=e.now,l=e.extend,h=s.mobileOS,p=h&&h.android,d=800,f=300,v=s.browser.msie?5:0,g="press",_="hold",m="select",T="start",y="move",k="end",E="cancel",x="tap",D="doubleTap",M="release",w="gesturestart",b="gesturechange",A="gestureend",C="gesturetap",I={api:0,touch:0,mouse:9,pointer:9},S=!s.touch||s.mouseAndTouchPresent,P=a.extend({init:function(e,t){var n=this;n.axis=e,n._updateLocationData(t),n.startLocation=n.location,n.velocity=n.delta=0,n.timeStamp=u()},move:function(e){var t=this,n=e["page"+t.axis],i=u(),o=i-t.timeStamp||1;!n&&p||(t.delta=n-t.location,t._updateLocationData(e),t.initialDelta=n-t.startLocation,t.velocity=t.delta/o,t.timeStamp=i)},_updateLocationData:function(e){var t=this,n=t.axis;t.location=e["page"+n],t.client=e["client"+n],t.screen=e["screen"+n]}}),L=a.extend({init:function(e,t,n){l(this,{x:new P("X",n.location),y:new P("Y",n.location),type:n.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||I[n.type],userEvents:e,target:t,currentTarget:n.currentTarget,initialTouch:n.target,id:n.id,pressEvent:n,_clicks:e._clicks,supportDoubleTap:e.supportDoubleTap,_moved:!1,_finished:!1})},press:function(){this._holdTimeout=setTimeout(e.proxy(this,"_hold"),this.userEvents.minHold),this._trigger(g,this.pressEvent)},_tap:function(e){var t=this;t.userEvents._clicks++,1==t.userEvents._clicks&&(t._clickTimeout=setTimeout(function(){1==t.userEvents._clicks?t._trigger(x,e):t._trigger(D,e),t.userEvents._clicks=0},f))},_hold:function(){this._trigger(_,this.pressEvent)},move:function(e){var t=this,n="api"!==e.type&&t.userEvents._shouldNotMove;if(!t._finished&&!n){if(t.x.move(e.location),t.y.move(e.location),!t._moved){if(t._withinIgnoreThreshold())return;if(X.current&&X.current!==t.userEvents)return t.dispose();t._start(e)}t._finished||t._trigger(y,e)}},end:function(e){this.endTime=u(),this._finished||(this._finished=!0,this._trigger(M,e),this._moved?this._trigger(k,e):this.useClickAsTap||(this.supportDoubleTap?this._tap(e):this._trigger(x,e)),clearTimeout(this._holdTimeout),this.dispose())},dispose:function(){var t=this.userEvents,n=t.touches;this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout),n.splice(e.inArray(this,n),1)},skip:function(){this.dispose()},cancel:function(){this.dispose()},isMoved:function(){return this._moved},_start:function(e){clearTimeout(this._holdTimeout),this.startTime=u(),this._moved=!0,this._trigger(T,e)},_trigger:function(e,t){var n=this,i=t.event,o={touch:n,x:n.x,y:n.y,target:n.target,event:i};n.userEvents.notify(e,o)&&i.preventDefault()},_withinIgnoreThreshold:function(){var e=this.x.initialDelta,t=this.y.initialDelta;return Math.sqrt(e*e+t*t)<=this.threshold}}),X=c.extend({init:function(t,n){var i,a,u,h,p=this,f=r.guid();n=n||{},i=p.filter=n.filter,p.threshold=n.threshold||v,p.minHold=n.minHold||d,p.touches=[],p._maxTouches=n.multiTouch?2:1,p.allowSelection=n.allowSelection,p.captureUpIfMoved=n.captureUpIfMoved,p.useClickAsTap=!n.fastTap&&!s.delayedClick(),p.eventNS=f,p._clicks=0,p.supportDoubleTap=n.supportDoubleTap,t=e(t).handler(p),c.fn.init.call(p),l(p,{element:t,surface:e(n.global&&S?t[0].ownerDocument.documentElement:n.surface||t),stopPropagation:n.stopPropagation,pressed:!1}),p.surface.handler(p).on(r.applyEventMap("move",f),"_move").on(r.applyEventMap("up cancel",f),"_end"),t.on(r.applyEventMap("down",f),i,"_start"),p.useClickAsTap&&t.on(r.applyEventMap("click",f),i,"_click"),(s.pointers||s.msPointers)&&(s.browser.version<11?(a="pinch-zoom double-tap-zoom",t.css("-ms-touch-action",n.touchAction&&"none"!=n.touchAction?a+" "+n.touchAction:a)):t.css("touch-action",n.touchAction||"none")),n.preventDragEvent&&t.on(r.applyEventMap("dragstart",f),r.preventDefault),t.on(r.applyEventMap("mousedown",f),i,{root:t},"_select"),p.captureUpIfMoved&&s.eventCapture&&(u=p.surface[0],h=e.proxy(p.preventIfMoving,p),o(function(e){u.addEventListener(e,h,!0)})),p.bind([g,_,x,D,T,y,k,M,E,w,b,A,C,m],n)},preventIfMoving:function(e){this._isMoved()&&e.preventDefault()},destroy:function(){var e,t=this;t._destroyed||(t._destroyed=!0,t.captureUpIfMoved&&s.eventCapture&&(e=t.surface[0],o(function(n){e.removeEventListener(n,t.preventIfMoving)})),t.element.kendoDestroy(t.eventNS),t.surface.kendoDestroy(t.eventNS),t.element.removeData("handler"),t.surface.removeData("handler"),t._disposeAll(),t.unbind(),delete t.surface,delete t.element,delete t.currentTarget)},capture:function(){X.current=this},cancel:function(){this._disposeAll(),this.trigger(E)},notify:function(e,t){var i=this,o=i.touches;if(this._isMultiTouch()){switch(e){case y:e=b;break;case k:e=A;break;case x:e=C}l(t,{touches:o},n(o[0],o[1]))}return this.trigger(e,l(t,{type:e}))},press:function(e,t,n){this._apiCall("_start",e,t,n)},move:function(e,t){this._apiCall("_move",e,t)},end:function(e,t){this._apiCall("_end",e,t)},_isMultiTouch:function(){return this.touches.length>1},_maxTouchesReached:function(){return this.touches.length>=this._maxTouches},_disposeAll:function(){for(var e=this.touches;e.length>0;)e.pop().dispose()},_isMoved:function(){return e.grep(this.touches,function(e){return e.isMoved()}).length},_select:function(e){this.allowSelection&&!this.trigger(m,{event:e})||e.preventDefault()},_start:function(t){var n,o,r=this,s=0,a=r.filter,c=i(t),u=c.length,l=t.which;if(!(l&&l>1||r._maxTouchesReached()))for(X.current=null,r.currentTarget=t.currentTarget,r.stopPropagation&&t.stopPropagation();s<u&&!r._maxTouchesReached();s++)o=c[s],n=a?e(o.currentTarget):r.element,n.length&&(o=new L(r,n,o),r.touches.push(o),o.press(),r._isMultiTouch()&&r.notify("gesturestart",{}))},_move:function(e){this._eachTouch("move",e)},_end:function(e){this._eachTouch("end",e)},_click:function(t){var n={touch:{initialTouch:t.target,target:e(t.currentTarget),endTime:u(),x:{location:t.pageX,client:t.clientX},y:{location:t.pageY,client:t.clientY}},x:t.pageX,y:t.pageY,target:e(t.currentTarget),event:t,type:"tap"};this.trigger("tap",n)&&t.preventDefault()},_eachTouch:function(e,t){var n,o,r,s,a=this,c={},u=i(t),l=a.touches;for(n=0;n<l.length;n++)o=l[n],c[o.id]=o;for(n=0;n<u.length;n++)r=u[n],s=c[r.id],s&&s[e](r)},_apiCall:function(t,n,i,o){this[t]({api:!0,pageX:n,pageY:i,clientX:n,clientY:i,target:e(o||this.element)[0],stopPropagation:e.noop,preventDefault:e.noop})}});X.defaultThreshold=function(e){v=e},X.minHold=function(e){d=e},r.getTouches=i,r.touchDelta=n,r.UserEvents=X}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
247//# sourceMappingURL=kendo.userevents.min.js.map
248
249/** 
250 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
251 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
252 *                                                                                                                                                                                                      
253 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
254 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
255 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
256                                                                                                                                                                                                       
257                                                                                                                                                                                                       
258                                                                                                                                                                                                       
259                                                                                                                                                                                                       
260                                                                                                                                                                                                       
261                                                                                                                                                                                                       
262                                                                                                                                                                                                       
263                                                                                                                                                                                                       
264                                                                                                                                                                                                       
265                                                                                                                                                                                                       
266                                                                                                                                                                                                       
267                                                                                                                                                                                                       
268                                                                                                                                                                                                       
269                                                                                                                                                                                                       
270                                                                                                                                                                                                       
271
272*/
273!function(t,define){define("kendo.draganddrop.min",["kendo.core.min","kendo.userevents.min"],t)}(function(){return function(t,e){function n(e,n){try{return t.contains(e,n)||e==n}catch(r){return!1}}function r(t,e){return parseInt(t.css(e),10)||0}function i(t,e){return Math.min(Math.max(t,e.min),e.max)}function o(t,e){var n=D(t),i=_._outerWidth,o=_._outerHeight,a=n.left+r(t,"borderLeftWidth")+r(t,"paddingLeft"),s=n.top+r(t,"borderTopWidth")+r(t,"paddingTop"),l=a+t.width()-i(e,!0),c=s+t.height()-o(e,!0);return{x:{min:a,max:l},y:{min:s,max:c}}}function a(n,r,i){for(var o,a,s=0,l=r&&r.length,c=i&&i.length;n&&n.parentNode;){for(s=0;s<l;s++)if(o=r[s],o.element[0]===n)return{target:o,targetElement:n};for(s=0;s<c;s++)if(a=i[s],t.contains(a.element[0],n)&&x.matchesSelector.call(n,a.options.filter))return{target:a,targetElement:n};n=n.parentNode}return e}function s(t,e){var n,r=e.options.group,i=t[r];if(T.fn.destroy.call(e),i.length>1){for(n=0;n<i.length;n++)if(i[n]==e){i.splice(n,1);break}}else i.length=0,delete t[r]}function l(t){var e,n,r,i=c()[0];return t[0]===i?(n=i.scrollTop,r=i.scrollLeft,{top:n,left:r,bottom:n+b.height(),right:r+b.width()}):(e=t.offset(),e.bottom=e.top+t.height(),e.right=e.left+t.width(),e)}function c(){return t(_.support.browser.edge||_.support.browser.safari?y.body:y.documentElement)}function u(e){var n,r=c();if(!e||e===y.body||e===y.documentElement)return r;for(n=t(e)[0];n&&!_.isScrollable(n)&&n!==y.body;)n=n.parentNode;return n===y.body?r:t(n)}function h(t,e,n){var r={x:0,y:0},i=50;return t-n.left<i?r.x=-(i-(t-n.left)):n.right-t<i&&(r.x=i-(n.right-t)),e-n.top<i?r.y=-(i-(e-n.top)):n.bottom-e<i&&(r.y=i-(n.bottom-e)),r}var d,f,p,g,v,m,_=window.kendo,x=_.support,y=window.document,b=t(window),E=_.Class,T=_.ui.Widget,S=_.Observable,w=_.UserEvents,M=t.proxy,C=t.extend,D=_.getOffset,O={},k={},I={},H=_.elementUnderCursor,W="keyup",z="change",P="dragstart",U="hold",L="drag",A="dragend",N="dragcancel",V="hintDestroyed",B="dragenter",$="dragleave",F="drop",j=S.extend({init:function(e,n){var r=this,i=e[0];r.capture=!1,i.addEventListener?(t.each(_.eventMap.down.split(" "),function(){i.addEventListener(this,M(r._press,r),!0)}),t.each(_.eventMap.up.split(" "),function(){i.addEventListener(this,M(r._release,r),!0)})):(t.each(_.eventMap.down.split(" "),function(){i.attachEvent(this,M(r._press,r))}),t.each(_.eventMap.up.split(" "),function(){i.attachEvent(this,M(r._release,r))})),S.fn.init.call(r),r.bind(["press","release"],n||{})},captureNext:function(){this.capture=!0},cancelCapture:function(){this.capture=!1},_press:function(t){var e=this;e.trigger("press"),e.capture&&t.preventDefault()},_release:function(t){var e=this;e.trigger("release"),e.capture&&(t.preventDefault(),e.cancelCapture())}}),G=S.extend({init:function(e){var n=this;S.fn.init.call(n),n.forcedEnabled=!1,t.extend(n,e),n.scale=1,n.horizontal?(n.measure="offsetWidth",n.scrollSize="scrollWidth",n.axis="x"):(n.measure="offsetHeight",n.scrollSize="scrollHeight",n.axis="y")},makeVirtual:function(){t.extend(this,{virtual:!0,forcedEnabled:!0,_virtualMin:0,_virtualMax:0})},virtualSize:function(t,e){this._virtualMin===t&&this._virtualMax===e||(this._virtualMin=t,this._virtualMax=e,this.update())},outOfBounds:function(t){return t>this.max||t<this.min},forceEnabled:function(){this.forcedEnabled=!0},getSize:function(){return this.container[0][this.measure]},getTotal:function(){return this.element[0][this.scrollSize]},rescale:function(t){this.scale=t},update:function(t){var e=this,n=e.virtual?e._virtualMax:e.getTotal(),r=n*e.scale,i=e.getSize();(0!==n||e.forcedEnabled)&&(e.max=e.virtual?-e._virtualMin:0,e.size=i,e.total=r,e.min=Math.min(e.max,i-r),e.minScale=i/n,e.centerOffset=(r-i)/2,e.enabled=e.forcedEnabled||r>i,t||e.trigger(z,e))}}),Q=S.extend({init:function(t){var e=this;S.fn.init.call(e),e.x=new G(C({horizontal:!0},t)),e.y=new G(C({horizontal:!1},t)),e.container=t.container,e.forcedMinScale=t.minScale,e.maxScale=t.maxScale||100,e.bind(z,t)},rescale:function(t){this.x.rescale(t),this.y.rescale(t),this.refresh()},centerCoordinates:function(){return{x:Math.min(0,-this.x.centerOffset),y:Math.min(0,-this.y.centerOffset)}},refresh:function(){var t=this;t.x.update(),t.y.update(),t.enabled=t.x.enabled||t.y.enabled,t.minScale=t.forcedMinScale||Math.min(t.x.minScale,t.y.minScale),t.fitScale=Math.max(t.x.minScale,t.y.minScale),t.trigger(z)}}),q=S.extend({init:function(t){var e=this;C(e,t),S.fn.init.call(e)},outOfBounds:function(){return this.dimension.outOfBounds(this.movable[this.axis])},dragMove:function(t){var e=this,n=e.dimension,r=e.axis,i=e.movable,o=i[r]+t;n.enabled&&((o<n.min&&t<0||o>n.max&&t>0)&&(t*=e.resistance),i.translateAxis(r,t),e.trigger(z,e))}}),J=E.extend({init:function(e){var n,r,i,o,a=this;C(a,{elastic:!0},e),i=a.elastic?.5:0,o=a.movable,a.x=n=new q({axis:"x",dimension:a.dimensions.x,resistance:i,movable:o}),a.y=r=new q({axis:"y",dimension:a.dimensions.y,resistance:i,movable:o}),a.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(t){a.gesture=t,a.offset=a.dimensions.container.offset()},press:function(e){t(e.event.target).closest("a").is("[data-navigate-on-press=true]")&&e.sender.cancel()},gesturechange:function(t){var e,i,s,l=a.gesture,c=l.center,u=t.center,h=t.distance/l.distance,d=a.dimensions.minScale,f=a.dimensions.maxScale;o.scale<=d&&h<1&&(h+=.8*(1-h)),o.scale*h>=f&&(h=f/o.scale),i=o.x+a.offset.left,s=o.y+a.offset.top,e={x:(i-c.x)*h+u.x-i,y:(s-c.y)*h+u.y-s},o.scaleWith(h),n.dragMove(e.x),r.dragMove(e.y),a.dimensions.rescale(o.scale),a.gesture=t,t.preventDefault()},move:function(t){t.event.target.tagName.match(/textarea|input/i)||(n.dimension.enabled||r.dimension.enabled?(n.dragMove(t.x.delta),r.dragMove(t.y.delta),t.preventDefault()):t.touch.skip())},end:function(t){t.preventDefault()}})}}),K=x.transitions.prefix+"Transform";f=x.hasHW3D?function(t,e,n){return"translate3d("+t+"px,"+e+"px,0) scale("+n+")"}:function(t,e,n){return"translate("+t+"px,"+e+"px) scale("+n+")"},p=S.extend({init:function(e){var n=this;S.fn.init.call(n),n.element=t(e),n.element[0].style.webkitTransformOrigin="left top",n.x=0,n.y=0,n.scale=1,n._saveCoordinates(f(n.x,n.y,n.scale))},translateAxis:function(t,e){this[t]+=e,this.refresh()},scaleTo:function(t){this.scale=t,this.refresh()},scaleWith:function(t){this.scale*=t,this.refresh()},translate:function(t){this.x+=t.x,this.y+=t.y,this.refresh()},moveAxis:function(t,e){this[t]=e,this.refresh()},moveTo:function(t){C(this,t),this.refresh()},refresh:function(){var t,e=this,n=e.x,r=e.y;e.round&&(n=Math.round(n),r=Math.round(r)),t=f(n,r,e.scale),t!=e.coordinates&&(_.support.browser.msie&&_.support.browser.version<10?(e.element[0].style.position="absolute",e.element[0].style.left=e.x+"px",e.element[0].style.top=e.y+"px"):e.element[0].style[K]=t,e._saveCoordinates(t),e.trigger(z))},_saveCoordinates:function(t){this.coordinates=t}}),g=T.extend({init:function(t,e){var n,r=this;T.fn.init.call(r,t,e),n=r.options.group,n in k?k[n].push(r):k[n]=[r]},events:[B,$,F],options:{name:"DropTarget",group:"default"},destroy:function(){s(k,this)},_trigger:function(t,e){var n=this,r=O[n.options.group];if(r)return n.trigger(t,C({},e.event,{draggable:r,dropTarget:e.dropTarget}))},_over:function(t){this._trigger(B,t)},_out:function(t){this._trigger($,t)},_drop:function(t){var e=this,n=O[e.options.group];n&&(n.dropped=!e._trigger(F,t))}}),g.destroyGroup=function(t){var e,n=k[t]||I[t];if(n){for(e=0;e<n.length;e++)T.fn.destroy.call(n[e]);n.length=0,delete k[t],delete I[t]}},g._cache=k,v=g.extend({init:function(t,e){var n,r=this;T.fn.init.call(r,t,e),n=r.options.group,n in I?I[n].push(r):I[n]=[r]},destroy:function(){s(I,this)},options:{name:"DropTargetArea",group:"default",filter:null}}),m=T.extend({init:function(t,e){var n=this;T.fn.init.call(n,t,e),n._activated=!1,n.userEvents=new w(n.element,{global:!0,allowSelection:!0,filter:n.options.filter,threshold:n.options.distance,start:M(n._start,n),hold:M(n._hold,n),move:M(n._drag,n),end:M(n._end,n),cancel:M(n._cancel,n),select:M(n._select,n)}),_.support.touch&&n.element.find(n.options.filter).css("touch-action","none"),n._afterEndHandler=M(n._afterEnd,n),n._captureEscape=M(n._captureEscape,n)},events:[U,P,L,A,N,V],options:{name:"Draggable",distance:_.support.touch?0:5,group:"default",cursorOffset:null,axis:null,container:null,filter:null,ignore:null,holdToDrag:!1,autoScroll:!1,dropped:!1},cancelHold:function(){this._activated=!1},_captureEscape:function(t){var e=this;t.keyCode===_.keys.ESC&&(e._trigger(N,{event:t}),e.userEvents.cancel())},_updateHint:function(e){var n,r=this,o=r.options,a=r.boundaries,s=o.axis,l=r.options.cursorOffset;l?n={left:e.x.location+l.left,top:e.y.location+l.top}:(r.hintOffset.left+=e.x.delta,r.hintOffset.top+=e.y.delta,n=t.extend({},r.hintOffset)),a&&(n.top=i(n.top,a.y),n.left=i(n.left,a.x)),"x"===s?delete n.top:"y"===s&&delete n.left,r.hint.css(n)},_shouldIgnoreTarget:function(e){var n=this.options.ignore;return n&&t(e).is(n)},_select:function(t){this._shouldIgnoreTarget(t.event.target)||t.preventDefault()},_start:function(n){var r,i=this,a=i.options,s=a.container?t(a.container):null,l=a.hint;return this._shouldIgnoreTarget(n.touch.initialTouch)||a.holdToDrag&&!i._activated?(i.userEvents.cancel(),e):(i.currentTarget=n.target,i.currentTargetOffset=D(i.currentTarget),l&&(i.hint&&i.hint.stop(!0,!0).remove(),i.hint=_.isFunction(l)?t(l.call(i,i.currentTarget)):l,r=D(i.currentTarget),i.hintOffset=r,i.hint.css({position:"absolute",zIndex:2e4,left:r.left,top:r.top}).appendTo(y.body),i.angular("compile",function(){i.hint.removeAttr("ng-repeat");
273for(var e=t(n.target);!e.data("$$kendoScope")&&e.length;)e=e.parent();return{elements:i.hint.get(),scopeFrom:e.data("$$kendoScope")}})),O[a.group]=i,i.dropped=!1,s&&(i.boundaries=o(s,i.hint)),t(y).on(W,i._captureEscape),i._trigger(P,n)&&(i.userEvents.cancel(),i._afterEnd()),i.userEvents.capture(),e)},_hold:function(t){this.currentTarget=t.target,this._trigger(U,t)?this.userEvents.cancel():this._activated=!0},_drag:function(e){var n,r;e.preventDefault(),n=this._elementUnderCursor(e),this.options.autoScroll&&this._cursorElement!==n&&(this._scrollableParent=u(n),this._cursorElement=n),this._lastEvent=e,this._processMovement(e,n),this.options.autoScroll&&this._scrollableParent[0]&&(r=h(e.x.location,e.y.location,l(this._scrollableParent)),this._scrollCompenstation=t.extend({},this.hintOffset),this._scrollVelocity=r,0===r.y&&0===r.x?(clearInterval(this._scrollInterval),this._scrollInterval=null):this._scrollInterval||(this._scrollInterval=setInterval(t.proxy(this,"_autoScroll"),50))),this.hint&&this._updateHint(e)},_processMovement:function(n,r){this._withDropTarget(r,function(r,i){if(!r)return d&&(d._trigger($,C(n,{dropTarget:t(d.targetElement)})),d=null),e;if(d){if(i===d.targetElement)return;d._trigger($,C(n,{dropTarget:t(d.targetElement)}))}r._trigger(B,C(n,{dropTarget:t(i)})),d=C(r,{targetElement:i})}),this._trigger(L,C(n,{dropTarget:d,elementUnderCursor:r}))},_autoScroll:function(){var t,e,n,r,i,o,a,s,l=this._scrollableParent[0],u=this._scrollVelocity,h=this._scrollCompenstation;l&&(t=this._elementUnderCursor(this._lastEvent),this._processMovement(this._lastEvent,t),r=l===c()[0],r?(e=y.body.scrollHeight>b.height(),n=y.body.scrollWidth>b.width()):(e=l.offsetHeight<=l.scrollHeight,n=l.offsetWidth<=l.scrollWidth),i=l.scrollTop+u.y,o=e&&i>0&&i<l.scrollHeight,a=l.scrollLeft+u.x,s=n&&a>0&&a<l.scrollWidth,o&&(l.scrollTop+=u.y),s&&(l.scrollLeft+=u.x),this.hint&&r&&(s||o)&&(o&&(h.top+=u.y),s&&(h.left+=u.x),this.hint.css(h)))},_end:function(e){this._withDropTarget(this._elementUnderCursor(e),function(n,r){n&&(n._drop(C({},e,{dropTarget:t(r)})),d=null)}),this._cancel(this._trigger(A,e))},_cancel:function(t){var e=this;e._scrollableParent=null,this._cursorElement=null,clearInterval(this._scrollInterval),e._activated=!1,e.hint&&!e.dropped?setTimeout(function(){e.hint.stop(!0,!0),t?e._afterEndHandler():e.hint.animate(e.currentTargetOffset,"fast",e._afterEndHandler)},0):e._afterEnd()},_trigger:function(t,e){var n=this;return n.trigger(t,C({},e.event,{x:e.x,y:e.y,currentTarget:n.currentTarget,initialTarget:e.touch?e.touch.initialTouch:null,dropTarget:e.dropTarget,elementUnderCursor:e.elementUnderCursor}))},_elementUnderCursor:function(t){var e=H(t),r=this.hint;return r&&n(r[0],e)&&(r.hide(),e=H(t),e||(e=H(t)),r.show()),e},_withDropTarget:function(t,e){var n,r=this.options.group,i=k[r],o=I[r];(i&&i.length||o&&o.length)&&(n=a(t,i,o),n?e(n.target,n.targetElement):e())},destroy:function(){var t=this;T.fn.destroy.call(t),t._afterEnd(),t.userEvents.destroy(),this._scrollableParent=null,this._cursorElement=null,clearInterval(this._scrollInterval),t.currentTarget=null},_afterEnd:function(){var e=this;e.hint&&e.hint.remove(),delete O[e.options.group],e.trigger("destroy"),e.trigger(V),t(y).off(W,e._captureEscape)}}),_.ui.plugin(g),_.ui.plugin(v),_.ui.plugin(m),_.TapCapture=j,_.containerBoundaries=o,C(_.ui,{Pane:J,PaneDimensions:Q,Movable:p}),_.ui.Draggable.utils={autoScrollVelocity:h,scrollableViewPort:l,findScrollableParent:u}}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,n){(n||e)()});
274//# sourceMappingURL=kendo.draganddrop.min.js.map
275
276/** 
277 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
278 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
279 *                                                                                                                                                                                                      
280 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
281 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
282 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
283                                                                                                                                                                                                       
284                                                                                                                                                                                                       
285                                                                                                                                                                                                       
286                                                                                                                                                                                                       
287                                                                                                                                                                                                       
288                                                                                                                                                                                                       
289                                                                                                                                                                                                       
290                                                                                                                                                                                                       
291                                                                                                                                                                                                       
292                                                                                                                                                                                                       
293                                                                                                                                                                                                       
294                                                                                                                                                                                                       
295                                                                                                                                                                                                       
296                                                                                                                                                                                                       
297                                                                                                                                                                                                       
298
299*/
300!function(e,define){define("kendo.color.min",["kendo.core.min"],e)}(function(){function e(e,t,r){void 0===r&&(r="0");for(var n=e.toString(16);t>n.length;)n=r+n;return n}function t(e,t,r){var n=r;return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t){var n,a,s;
300if(null==e||"none"===e)return null;if(e instanceof o)return e;if(s=e.toLowerCase(),n=f(s))return s="transparent"===n[1]?new l(1,1,1,0):r(i[n[1]],t),s.match=[n[1]],s;if((n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(s))?a=new u(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16),1):(n=/^#?([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(s))?a=new u(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16),1):(n=/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/.exec(s))?a=new u(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),1):(n=/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)/.exec(s))?a=new u(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4])):(n=/^rgb\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*\)/.exec(s))?a=new l(parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3])/100,1):(n=/^rgba\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9.]+)\s*\)/.exec(s))&&(a=new l(parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3])/100,parseFloat(n[4]))),a)a.match=n;else if(!t)throw Error("Cannot parse color: "+s);return a}var n,a,i,s,f,o,l,u,h,d,c;window.kendo=window.kendo||{},n=kendo.Class,a=kendo.support,i={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee9
3000",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},s=a.browser,f=function(e){var t,r=Object.keys(i);return r.push("transparent"),t=RegExp("^("+r.join("|")+")(\\W|$)","i"),f=function(e){return t.exec(e)},t.exec(e)},o=n.extend({init:function(){},toHSV:function(){return this},toRGB:function(){return this},toHex:function(){return this.toBytes().toHex()},toBytes:function(){return this},toCss:function(){return"#"+this.toHex()},toCssRgba:function(){var e=this.toBytes();return"rgba("+e.r+", "+e.g+", "+e.b+", "+parseFloat((+this.a).toFixed(3))+")"},toDisplay:function(){return s.msie&&s.version<9?this.toCss():this.toCssRgba()},equals:function(e){return e===this||null!==e&&this.toCssRgba()===r(e).toCssRgba()},diff:function(e){var t,r;return null===e?NaN:(t=this.toBytes(),r=e.toBytes(),Math.sqrt(Math.pow(.3*(t.r-r.r),2)+Math.pow(.59*(t.g-r.g),2)+Math.pow(.11*(t.b-r.b),2)))},clone:function(){var e=this.toBytes();return e===this&&(e=new u(e.r,e.g,e.b,e.a)),e}}),l=o.extend({init:function(e,t,r,n){o.fn.init.call(this),this.r=e,this.g=t,this.b=r,this.a=n},toHSV:function(){var e,t,r=this,n=r.r,a=r.g,i=r.b,s=Math.min(n,a,i),f=Math.max(n,a,i),o=f-s,l=f;return 0===o?new h(0,0,l,this.a):(0!==f?(t=o/f,e=n===f?(a-i)/o:a===f?2+(i-n)/o:4+(n-a)/o,e*=60,e<0&&(e+=360)):(t=0,e=-1),new h(e,t,l,this.a))},toHSL:function(){var e,t,r,n=this,a=n.r,i=n.g,s=n.b,f=Math.max(a,i,s),o=Math.min(a,i,s),l=(f+o)/2;if(f===o)e=t=0;else switch(r=f-o,t=l>.5?r/(2-f-o):r/(f+o),f){case a:e=(i-s)/r+(i<s?6:0);break;case i:e=(s-a)/r+2;break;case s:e=(a-i)/r+4}return new d(60*e,100*t,100*l,this.a)},toBytes:function(){return new u(255*this.r,255*this.g,255*this.b,this.a)}}),u=l.extend({init:function(e,t,r,n){l.fn.init.call(this,Math.round(e),Math.round(t),Math.round(r),n)},toRGB:function(){return new l(this.r/255,this.g/255,this.b/255,this.a)},toHSV:function(){return this.toRGB().toHSV()},toHSL:function(){return this.toRGB().toHSL()},toHex:function(){return e(this.r,2)+e(this.g,2)+e(this.b,2)},toBytes:function(){return this}}),h=o.extend({init:function(e,t,r,n){o.fn.init.call(this),this.h=e,this.s=t,this.v=r,this.a=n},toRGB:function(){var e,t,r,n,a,i,s,f,o=this,u=o.h,h=o.s,d=o.v;if(0===h)e=t=r=d;else switch(u/=60,n=Math.floor(u),a=u-n,i=d*(1-h),s=d*(1-h*a),f=d*(1-h*(1-a)),n){case 0:e=d,t=f,r=i;break;case 1:e=s,t=d,r=i;break;case 2:e=i,t=d,r=f;break;case 3:e=i,t=s,r=d;break;case 4:e=f,t=i,r=d;break;default:e=d,t=i,r=s}return new l(e,t,r,this.a)},toHSL:function(){return this.toRGB().toHSL()},toBytes:function(){return this.toRGB().toBytes()}}),d=o.extend({init:function(e,t,r,n){o.fn.init.call(this),this.h=e,this.s=t,this.l=r,this.a=n},toRGB:function(){var e,r,n,a,i,s=this.h/360,f=this.s/100,o=this.l/100;return 0===f?e=r=n=o:(a=o<.5?o*(1+f):o+f-o*f,i=2*o-a,e=t(i,a,s+1/3),r=t(i,a,s),n=t(i,a,s-1/3)),new l(e,r,n,this.a)},toHSV:function(){return this.toRGB().toHSV()},toBytes:function(){return this.toRGB().toBytes()}}),c=n.extend({init:function(e){var t,r,n,a,i,s,f,o=this;if(1===arguments.length)for(t=c.formats,r=this.resolveColor(e),n=0;n<t.length;n++)a=t[n].re,i=t[n].process,s=a.exec(r),s&&(f=i(s),o.r=f[0],o.g=f[1],o.b=f[2]);else this.r=arguments[0],this.g=arguments[1],this.b=arguments[2];this.r=this.normalizeByte(this.r),this.g=this.normalizeByte(this.g),this.b=this.normalizeByte(this.b)},toHex:function(){var e=this.padDigit,t=this.r.toString(16),r=this.g.toString(16),n=this.b.toString(16);return"#"+e(t)+e(r)+e(n)},resolveColor:function(e){var t=e||"black";return"#"===t.charAt(0)&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase(),t=c.namedColors[t]||t},normalizeByte:function(e){return e<0||isNaN(e)?0:e>255?255:e},padDigit:function(e){return 1===e.length?"0"+e:e},brightness:function(e){var t=Math.round;return this.r=t(this.normalizeByte(this.r*e)),this.g=t(this.normalizeByte(this.g*e)),this.b=t(this.normalizeByte(this.b*e)),this},percBrightness:function(){return Math.sqrt(.241*this.r*this.r+.691*this.g*this.g+.068*this.b*this.b)}}),c.fromBytes=function(e,t,r,n){return new u(e,t,r,null!=n?n:1)},c.fromRGB=function(e,t,r,n){return new l(e,t,r,null!=n?n:1)},c.fromHSV=function(e,t,r,n){return new h(e,t,r,null!=n?n:1)},c.fromHSL=function(e,t,r,n){return new d(e,t,r,null!=n?n:1)},c.formats=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]}},{re:/^(\w{2})(\w{2})(\w{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],c.namedColors=i,kendo.deepExtend(kendo,{parseColor:r,Color:c})},"function"==typeof define&&define.amd?define:function(e,t,r){(r||t)()});
301//# sourceMappingURL=kendo.color.min.js.map
302
303/** 
304 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
305 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
306 *                                                                                                                                                                                                      
307 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
308 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
309 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
310                                                                                                                                                                                                       
311                                                                                                                                                                                                       
312                                                                                                                                                                                                       
313                                                                                                                                                                                                       
314                                                                                                                                                                                                       
315                                                                                                                                                                                                       
316                                                                                                                                                                                                       
317                                                                                                                                                                                                       
318                                                                                                                                                                                                       
319                                                                                                                                                                                                       
320                                                                                                                                                                                                       
321                                                                                                                                                                                                       
322                                                                                                                                                                                                       
323                                                                                                                                                                                                       
324                                                                                                                                                                                                       
325
326*/
327!function(e,define){define("kendo.autocomplete.min",["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min"],e)}(function(){return function(e,t){function s(e,t,s){return s?t.substring(0,e).split(s).length-1:0}function i(e,t,i){return t.split(i)[s(e,t,i)]}function o(e,t,i,o,a){var n=t.split(o);return n.splice(s(e,t,o),1,i),o&&""!==n[n.length-1]&&n.push(""),n.join(a)}var a=window.kendo,n=a.support,r=a.caret,l=a._activeElement,c=n.placeholder,u=a.ui,p=u.List,d=a.keys,_=a.data.DataSource,h="aria-disabled",f="aria-readonly",g="change",v="k-state-default",m="disabled",y="readonly",w="k-state-focused",C="k-state-selected",b="k-state-disabled",x="off",k="k-state-hover",V=".kendoAutoComplete",T="mou
327seenter"+V+" mouseleave"+V,S=e.proxy,L=p.extend({init:function(t,s){var i,o,n=this;n.ns=V,s=e.isArray(s)?{dataSource:s}:s,p.fn.init.call(n,t,s),t=n.element,s=n.options,s.placeholder=s.placeholder||t.attr("placeholder"),c&&t.attr("placeholder",s.placeholder),n._wrapper(),n._loader(),n._clearButton(),n._dataSource(),n._ignoreCase(),t[0].type="text",i=n.wrapper,n._popup(),t.addClass("k-input").on("keydown"+V,S(n._keydown,n)).on("keypress"+V,S(n._keypress,n)).on("input"+V,S(n._search,n)).on("paste"+V,S(n._search,n)).on("focus"+V,function(){n._prev=n._accessor(),n._oldText=n._prev,n._placeholder(!1),i.addClass(w)}).on("focusout"+V,function(){n._change(),n._placeholder(),n.close(),i.removeClass(w)}).attr({autocomplete:x,role:"textbox","aria-haspopup":!0}),n._clear.on("click"+V+" touchend"+V,S(n._clearValue,n)),n._enable(),n._old=n._accessor(),t[0].id&&t.attr("aria-owns",n.ul[0].id),n._aria(),n._placeholder(),n._initList(),o=e(n.element).parents("fieldset").is(":disabled"),o&&n.enable(!1),n.listView.bind("click",function(e){e.preventDefault()}),n._resetFocusItemHandler=e.proxy(n._resetFocusItem,n),a.notify(n),n._toggleCloseVisibility()},options:{name:"AutoComplete",enabled:!0,suggest:!1,template:"",groupTemplate:"#:data#",fixedGroupTemplate:"#:data#",dataTextField:"",minLength:1,enforceMinLength:!1,delay:200,height:200,filter:"startswith",ignoreCase:!0,highlightFirst:!1,separator:null,placeholder:"",animation:{},virtual:!1,value:null,clearButton:!0,autoWidth:!1,popup:null},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._progressHandler=S(e._showBusy,e),e._errorHandler=S(e._hideBusy,e)),e.dataSource=_.create(e.options.dataSource).bind("progress",e._progressHandler).bind("error",e._errorHandler)},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this.listView.setDataSource(this.dataSource)},events:["open","close",g,"select","filtering","dataBinding","dataBound"],setOptions:function(e){var t=this._listOptions(e);p.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(),this._clearButton()},_listOptions:function(t){var s=p.fn._listOptions.call(this,e.extend(t,{skipUpdateOnBind:!0}));return s.dataValueField=s.dataTextField,s.selectedItemChange=null,s},_editable:function(e){var t=this,s=t.element,i=t.wrapper.off(V),o=e.readonly,a=e.disable;o||a?(i.addClass(a?b:v).removeClass(a?v:b),s.attr(m,a).attr(y,o).attr(h,a).attr(f,o)):(i.addClass(v).removeClass(b).on(T,t._toggleHover),s.removeAttr(m).removeAttr(y).attr(h,!1).attr(f,!1))},close:function(){var e=this,t=e.listView.focus();t&&t.removeClass(C),e.popup.close()},destroy:function(){var e=this;e.element.off(V),e._clear.off(V),e.wrapper.off(V),p.fn.destroy.call(e)},refresh:function(){this.listView.refresh()},select:function(e){this._select(e)},search:function(t){var s,o=this,a=o.options,n=a.ignoreCase,l=o._separator(),c=o.dataSource.options.accentFoldingFiltering;t=t||o._accessor(),clearTimeout(o._typingTimeout),l&&(t=i(r(o.element)[0],t,l)),s=t.length,(!a.enforceMinLength&&!s||s>=a.minLength)&&(o._open=!0,o._mute(function(){this.listView.value([])}),o._filterSource({value:n?c?t.toLocaleLowerCase(c):t.toLowerCase():t,operator:a.filter,field:a.dataTextField,ignoreCase:n}),o.one("close",e.proxy(o._unifySeparators,o))),o._toggleCloseVisibility()},suggest:function(e){var i,o=this,a=o._last,n=o._accessor(),c=o.element[0],u=r(c)[0],_=o._separator(),h=n.split(_),f=s(u,n,_),g=u,v=o.dataSource.options.accentFoldingFiltering;return a==d.BACKSPACE||a==d.DELETE?(o._last=t,t):(e=e||"","string"!=typeof e&&(e[0]&&(e=o.dataSource.view()[p.inArray(e[0],o.ul[0])]),e=e?o._text(e):""),u<=0&&(u=(v?n.toLocaleLowerCase(v):n.toLowerCase()).indexOf(v?e.toLocaleLowerCase(v):e.toLowerCase())+1),i=n.substring(0,u).lastIndexOf(_),i=i>-1?u-(i+_.length):u,n=h[f].substring(0,i),e&&(e=""+e,i=(v?e.toLocaleLowerCase(v):e.toLowerCase()).indexOf(v?n.toLocaleLowerCase(v):n.toLowerCase()),i>-1&&(e=e.substring(i+n.length),g=u+e.length,n+=e),_&&""!==h[h.length-1]&&h.push("")),h[f]=n,o._accessor(h.join(_||"")),c===l()&&r(c,u,g),t)},value:function(e){return e===t?this._accessor():(this.listView.value(e),this._accessor(e),this._old=this._accessor(),this._oldText=this._accessor(),this._toggleCloseVisibility(),t)},_click:function(e){var s=e.item,i=this,o=i.element,a=i.listView.dataItemByIndex(i.listView.getElementIndex(s));return e.preventDefault(),i._active=!0,i.trigger("select",{dataItem:a,item:s})?(i.close(),t):(i._oldText=o.val(),i._select(s).done(function(){i._blur(),r(o,o.val().length)}),t)},_clearText:e.noop,_resetFocusItem:function(){var e=this.options.highlightFirst?0:-1;this.options.virtual&&this.listView.scrollTo(0),this.listView.focus(e)},_listBound:function(){var e,s=this,i=s.popup,o=s.options,a=s.dataSource.flatView(),n=a.length,r=s.dataSource._group.length,c=s.element[0]===l();s._renderFooter(),s._renderNoData(),s._toggleNoData(!n),s._toggleHeader(!!r&&!!n),s._resizePopup(),i.position(),n&&o.suggest&&c&&s._inputValue()&&s.suggest(a[0]),s._open&&(s._open=!1,e=s._allowOpening()?"open":"close",s._typingTimeout&&!c&&(e="close"),n&&(s._resetFocusItem(),o.virtual&&s.popup.unbind("activate",s._resetFocusItemHandler).one("activate",s._resetFocusItemHandler)),i[e](),s._typingTimeout=t),s._touchScroller&&s._touchScroller.reset(),s._hideBusy(),s._makeUnselectable(),s.trigger("dataBound")},_mute:function(e){this._muted=!0,e.call(this),this._muted=!1},_listChange:function(){var e=this._active||this.element[0]===l();e&&!this._muted&&this._selectValue(this.listView.selectedDataItems()[0])},_selectValue:function(e){var t=this._separator(),s="";e&&(s=this._text(e)),null===s&&(s=""),t&&(s=o(r(this.element)[0],this._accessor(),s,t,this._defaultSeparator())),this._prev=s,this._accessor(s),this._placeholder()},_unifySeparators:function(){return this._accessor(this.value().split(this._separator()).join(this._defaultSeparator())),this},_preselect:function(e,t){this._inputValue(t),this._accessor(e),this._old=this.oldText=this._accessor(),this.listView.setValue(e),this._placeholder()}
327,_change:function(){var e=this,t=e._unifySeparators().value(),s=t!==p.unifyType(e._old,typeof t),i=s&&!e._typing,o=e._oldText!==t;e._old=t,e._oldText=t,(i||o)&&e.element.trigger(g),s&&e.trigger(g),e.typing=!1,e._toggleCloseVisibility()},_accessor:function(e){var s=this,i=s.element[0];return e===t?(e=i.value,i.className.indexOf("k-readonly")>-1&&e===s.options.placeholder?"":e):(i.value=null===e?"":e,s._placeholder(),t)},_keydown:function(e){var t,s,i=this,o=e.keyCode,a=i.listView,n=i.popup.visible(),r=a.focus();if(i._last=o,o===d.DOWN)n?this._move(r?"focusNext":"focusFirst"):i.value()&&i._filterSource({value:i.ignoreCase?i.value().toLowerCase():i.value(),operator:i.options.filter,field:i.options.dataTextField,ignoreCase:i.ignoreCase}).done(function(){i._allowOpening()&&(i._resetFocusItem(),i.popup.open())}),e.preventDefault();else if(o===d.UP)n&&this._move(r?"focusPrev":"focusLast"),e.preventDefault();else if(o===d.HOME)this._move("focusFirst");else if(o===d.END)this._move("focusLast");else if(o===d.ENTER||o===d.TAB){if(o===d.ENTER&&n&&e.preventDefault(),n&&r){if(t=a.dataItemByIndex(a.getElementIndex(r)),i.trigger("select",{dataItem:t,item:r}))return;this._select(r)}this._blur()}else o===d.ESC?(n?e.preventDefault():i._clearValue(),i.close()):!i.popup.visible()||o!==d.PAGEDOWN&&o!==d.PAGEUP?(i.popup._hovered=!0,i._search()):(e.preventDefault(),s=o===d.PAGEDOWN?1:-1,a.scrollWith(s*a.screenHeight()))},_keypress:function(){this._oldText=this.element.val(),this._typing=!0},_move:function(e){this.listView[e](),this.options.suggest&&this.suggest(this.listView.focus())},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._loading.hide(),e.element.attr("aria-busy",!1),e._busy=null,e._showClear()},_showBusy:function(){var e=this;e._busy||(e._busy=setTimeout(function(){e.element.attr("aria-busy",!0),e._loading.show(),e._hideClear()},100))},_placeholder:function(e){if(!c){var s,i=this,o=i.element,a=i.options.placeholder;if(a){if(s=o.val(),e===t&&(e=!s),e||(a=s!==a?s:""),s===i._old&&!e)return;o.toggleClass("k-readonly",e).val(a),a||o[0]!==document.activeElement||r(o[0],0,0)}}},_separator:function(){var e=this.options.separator;return e instanceof Array?RegExp(e.join("|"),"gi"):e},_defaultSeparator:function(){var e=this.options.separator;return e instanceof Array?e[0]:e},_inputValue:function(){return this.element.val()},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout(function(){e._prev!==e._accessor()&&(e._prev=e._accessor(),e.search())},e.options.delay)},_select:function(e){var t=this;return t._active=!0,t.listView.select(e).done(function(){t._active=!1})},_loader:function(){this._loading=e('<span class="k-icon k-i-loading" style="display:none"></span>').insertAfter(this.element)},_clearButton:function(){p.fn._clearButton.call(this),this.options.clearButton&&(this._clear.insertAfter(this.element),this.wrapper.addClass("k-autocomplete-clearable"))},_toggleHover:function(t){e(t.currentTarget).toggleClass(k,"mouseenter"===t.type)},_toggleCloseVisibility:function(){this.value()?this._showClear():this._hideClear()},_wrapper:function(){var t,s=this,i=s.element,o=i[0];t=i.parent(),t.is("span.k-widget")||(t=i.wrap("<span />").parent()),t.attr("tabindex",-1),t.attr("role","presentation"),t[0].style.cssText=o.style.cssText,i.css({width:"",height:o.style.height}),s._focused=s.element,s.wrapper=t.addClass("k-widget k-autocomplete").addClass(o.className).removeClass("input-validation-error"),s._inputWrapper=e(t[0])},_clearValue:function(){p.fn._clearValue.call(this),this.element.focus()}});u.plugin(L)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,s){(s||t)()});
328//# sourceMappingURL=kendo.autocomplete.min.js.map
329
330/** 
331 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
332 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
333 *                                                                                                                                                                                                      
334 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
335 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
336 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
337                                                                                                                                                                                                       
338                                                                                                                                                                                                       
339                                                                                                                                                                                                       
340                                                                                                                                                                                                       
341                                                                                                                                                                                                       
342                                                                                                                                                                                                       
343                                                                                                                                                                                                       
344                                                                                                                                                                                                       
345                                                                                                                                                                                                       
346                                                                                                                                                                                                       
347                                                                                                                                                                                                       
348                                                                                                                                                                                                       
349                                                                                                                                                                                                       
350                                                                                                                                                                                                       
351                                                                                                                                                                                                       
352
353*/
354!function(t,define){define("kendo.editable.min",["kendo.dropdownlist.min","kendo.datepicker.min","kendo.numerictextbox.min","kendo.validator.min","kendo.binder.min"],t)}(function(){return function(t,e){function n(e){return e=null!=e?e:"",e.type||t.type(e)||"string"}function a(e){e.find(":input:not(:button, .k-combobox .k-input, ["+d.attr("role")+"=listbox], ["+d.attr("role")+"=upload], ["+d.attr("skip")+"], [type=file])").each(function(){var e=d.attr("bind"),n=this.getAttribute(e)||"",a="checkbox"===this.type||"radio"===this.type?"checked:":"value:",i=this.name;n.indexOf(a)===-1&&i&&(n+=(n.length?",":"")+a+i,t(this).attr(e,n))})}function i(t){var e,a,i,o,r,l,s=(t.model.fields||t.model)[t.field],u=n(s),p=s?s.validation:{},f=s?s.attributes:{},g=d.attr("type"),x=d.attr("bind"),y={id:t.id||t.field,name:t.field,title:t.title?t.title:t.field};for(e in p)a=p[e],m(e,T)>=0?y[g]=e:c(a)||(i=d.getCulture(),"number"==typeof a&&i.name.length?(o=i.numberFormat,r=(""+a).replace(b,o[b]),y[e]=r):y[e]=v(a)?a.value||e:a),y[d.attr(e+"-msg")]=a.message,y.autocomplete=k;for(l in f)y[l]=f[l];return m(u,T)>=0&&(y[g]=u),y[x]="value:"+t.field,y}function o(t,e){var n=t.attr("id");return n&&(e.id=n,t.removeAttr("id")),e}function r(t){var e,n,a,i,o,r;if(t&&t.length)for(r=[],e=0,n=t.length;e<n;e++)a=t[e],o=a.text||a.value||a,i=null==a.value?a.text||a:a.value,r[e]={text:o,value:i};return r}function l(t,e){var n,a,i=t?t.validation||{}:{};
354for(n in i)a=i[n],v(a)&&a.value&&(a=a.value),c(a)&&(e[n]=a)}var d=window.kendo,s=d.ui,u=s.Widget,p=t.extend,f=d.support.browser.msie&&d.support.browser.version<9,c=d.isFunction,v=t.isPlainObject,m=t.inArray,b=".",k="off",g=/("|\%|'|\[|\]|\$|\.|\,|\:|\;|\+|\*|\&|\!|\#|\(|\)|<|>|\=|\?|\@|\^|\{|\}|\~|\/|\||`)/g,x='<div class="k-tooltip k-tooltip-error k-validator-tooltip"><span class="k-tooltip-icon k-icon k-i-warning"></span><span class="k-tooltip-content">#= message #</span><span class="k-callout k-callout-n"></span></div>',y="change",h="equalSet",T=["url","email","number","date","boolean"],P=["AutoComplete","ColorPicker","ComboBox","DateInput","DatePicker","DateTimePicker","DropDownTree","Editor","MaskedTextBox","MultiColumnComboBox","MultiSelect","NumericTextBox","Rating","Slider","Switch","TimePicker","DropDownList"],w={number:function(e,n){var a=i(n);t('<input type="text"/>').attr(a).appendTo(e).kendoNumericTextBox({format:n.format}),t("<span "+d.attr("for")+'="'+n.field+'" class="k-invalid-msg k-hidden"/>').appendTo(e)},date:function(e,n){var a=i(n),o=n.format;o&&(o=d._extractFormat(o)),a[d.attr("format")]=o,t('<input type="text"/>').attr(a).appendTo(e).kendoDatePicker({format:n.format}),t("<span "+d.attr("for")+'="'+n.field+'" class="k-invalid-msg k-hidden"/>').appendTo(e)},string:function(e,n){var a=i(n);t('<input type="text" class="k-textbox"/>').attr(a).appendTo(e)},"boolean":function(e,n){var a=i(n);t('<input type="checkbox" class="k-checkbox" />').attr(a).appendTo(e)},values:function(e,n){var a=i(n),o=d.stringify(r(n.values));t("<select "+d.attr("text-field")+'="text"'+d.attr("value-field")+'="value"'+d.attr("source")+"='"+(o?o.replace(/\'/g,"&apos;"):o)+"'"+d.attr("role")+'="dropdownlist"/>').attr(a).appendTo(e),t("<span "+d.attr("for")+'="'+n.field+'" class="k-invalid-msg  k-hidden"/>').appendTo(e)},kendoEditor:function(e,n){var a=i(n),o=n.editor,r="Editor"===o?"<textarea />":"<input />",l="kendo"+o,d=n.editorOptions;t(r).attr(a).appendTo(e)[l](d)}},_={number:function(e,n){var a=i(n);a=o(e,a),t('<input type="number"/>').attr(a).appendTo(e)},date:function(e,n){var a=i(n);a=o(e,a),t('<input type="date"/>').attr(a).appendTo(e)},string:function(e,n){var a=i(n);a=o(e,a),t('<input type="text" />').attr(a).appendTo(e)},"boolean":function(e,n){var a=i(n);a=o(e,a),t('<input type="checkbox" />').attr(a).appendTo(e)},values:function(e,n){var a,r=i(n),l=n.values,d=t("<select />");r=o(e,r);for(a in l)t('<option value="'+l[a].value+'">'+l[a].text+"</option>").appendTo(d);d.attr(r).appendTo(e)}},D=u.extend({init:function(e,n){var a=this;n.target&&(n.$angular=n.target.options.$angular,n.target.pane&&(a._isMobile=!0)),u.fn.init.call(a,e,n),a._validateProxy=t.proxy(a._validate,a),a.refresh()},events:[y],options:{name:"Editable",editors:w,mobileEditors:_,clearContainer:!0,validateOnBlur:!0,validationSummary:!1,errorTemplate:x,skipFocus:!1},editor:function(e,a){var i=this,o=i._isMobile?_:i.options.editors,r=v(e),l=r?e.field:e,s=i.options.model||{},u=r&&e.values,f=u?"values":n(a),c=r&&e.editor,m=r&&t.inArray(e.editor,P)!==-1,b=c?e.editor:o[f],k=i.element.find("["+d.attr("container-for")+"="+l.replace(g,"\\$1")+"]");b=b?b:o.string,m?b=o.kendoEditor:c&&"string"==typeof e.editor&&(b=function(t){t.append(e.editor)}),k=k.length?k:i.element,b(k,p(!0,{},r?e:{field:l},{model:s}))},_validate:function(e){var n,a=this,i=e.value,o=a._validationEventInProgress,r={},l=d.attr("bind"),s=e.field.replace(g,"\\$1"),u=RegExp("(value|checked)\\s*:\\s*"+s+"\\s*(,|$)");r[e.field]=e.value,n=t(":input["+l+'*="'+s+'"]',a.element).filter("["+d.attr("validate")+"!='false']").filter(function(){return u.test(t(this).attr(l))}),n.length>1&&(n=n.filter(function(){var e=t(this);return!e.is(":radio")||e.val()==i}));try{a._validationEventInProgress=!0,(!a.validatable.validateInput(n)||!o&&a.trigger(y,{values:r}))&&e.preventDefault()}finally{a._validationEventInProgress=!1}},end:function(){return this.validatable.validate()},destroy:function(){var t=this;t.angular("cleanup",function(){return{elements:t.element}}),u.fn.destroy.call(t),t.options.model.unbind("set",t._validateProxy),t.options.model.unbind(h,t._validateProxy),d.unbind(t.element),t.validatable&&t.validatable.destroy(),d.destroy(t.element),t.element.removeData("kendoValidator"),t.element.is("["+d.attr("role")+"=editable]")&&t.element.removeAttr(d.attr("role"))},refresh:function(){var n,i,o,r,s,u,p,c,m=this,b=m.options.fields||[],k=m.options.clearContainer?m.element.empty():m.element,g=m.options.model||{},x={};for(t.isArray(b)||(b=[b]),n=0,i=b.length;n<i;n++)o=b[n],r=v(o),s=r?o.field:o,u=(g.fields||g)[s],l(u,x),m.editor(o,u);if(m.options.target&&m.angular("compile",function(){return{elements:k,data:k.map(function(){return{dataItem:g}})}}),!i){p=g.fields||g;for(s in p)l(p[s],x)}a(k),m.validatable&&m.validatable.destroy(),d.bind(k,m.options.model),m.options.validateOnBlur&&(m.options.model.unbind("set",m._validateProxy).bind("set",m._validateProxy),m.options.model.unbind(h,m._validateProxy).bind(h,m._validateProxy)),m.validatable=new d.ui.V
354alidator(k,{validateOnBlur:m.options.validateOnBlur,validationSummary:m.options.validationSummary,errorTemplate:m.options.errorTemplate||e,rules:x}),m.options.skipFocus||(c=k.find(":kendoFocusable").eq(0).focus(),f&&c.focus())}});s.plugin(D)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,n){(n||e)()});
355//# sourceMappingURL=kendo.editable.min.js.map
356
357/** 
358 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
359 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
360 *                                                                                                                                                                                                      
361 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
362 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
363 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
364                                                                                                                                                                                                       
365                                                                                                                                                                                                       
366                                                                                                                                                                                                       
367                                                                                                                                                                                                       
368                                                                                                                                                                                                       
369                                                                                                                                                                                                       
370                                                                                                                                                                                                       
371                                                                                                                                                                                                       
372                                                                                                                                                                                                       
373                                                                                                                                                                                                       
374                                                                                                                                                                                                       
375                                                                                                                                                                                                       
376                                                                                                                                                                                                       
377                                                                                                                                                                                                       
378                                                                                                                                                                                                       
379
380*/
381!function(e,define){define("kendo.sortable.min",["kendo.draganddrop.min"],e)}(function(){return function(e,t){function n(t,n){try{return e.contains(t,n)||t==n}catch(r){return!1}}function r(e){return e.clone()}function i(e){return e.clone().removeAttr("id").css("visibility","hidden")}var o=window.kendo,s=o.ui.Widget,l=o._outerWidth,a=o._outerHeight,d="start",h="beforeMove",c="move",u="end",g="change",f="cancel",p="sort",m="remove",_="receive",v=">*",x=-1,y=s.extend({init:function(e,t){var n=this;s.fn.init.call(n,e,t),n.options.placeholder||(n.options.placeholder=i),n.options.hint||(n.options.hint=r),n.draggable=n._createDraggable()},events:[d,h,c,u,g,f],options:{name:"Sortable",hint:null,placeholder:null,filter:v,holdToDrag:!1,disabled:null,container:null,connectWith:null,handler:null,cursorOffset:null,axis:null,ignore:null,autoScroll:!1,cursor:"auto",moveOnDragEnter:!1},destroy:function(){this.draggable.destroy(),s.fn.destroy.call(this)},_createDraggable:function(){var t=this,n=t.element,r=t.options;return new o.ui.Draggable(n,{filter:r.filter,hint:o.isFunction(r.hint)?r.hint:e(r.hint),holdToDrag:r.holdToDrag,container:r.container?e(r.container):null,cursorOffset:r.cursorOffset,axis:r.axis,ignore:r.ignore,autoScroll:r.autoScroll,dragstart:e.proxy(t._dragstart,t),dragcancel:e.proxy(t._dragcancel,t),drag:e.proxy(t._drag,t),dragend:e.proxy(t._dragend,t)})},_dragstart:function(t){var n=this.draggedElement=t.currentTarget,r=this.options.disabled,i=this.options.handler,s=this.options.placeholder,l=this.placeholder=e(o.isFunction(s)?s.call(this,n):s);r&&n.is(r)?t.preventDefault():i&&!e(t.initialTarget).is(i)?t.preventDefault():this.trigger(d,{item:n,draggableEvent:t}
381)?t.preventDefault():(n.css("display","none"),n.before(l),this._setCursor())},_dragcancel:function(){this._cancel(),this.trigger(f,{item:this.draggedElement}),this._resetCursor()},_drag:function(n){var r,i,o,s,l,a=this.draggedElement,d=this._findTarget(n),h={left:n.x.location,top:n.y.location},c={x:n.x.delta,y:n.y.delta},u=this.options.axis,g=this.options.moveOnDragEnter,f={item:a,list:this,draggableEvent:n};if("x"===u||"y"===u)return this._movementByAxis(u,h,c[u],f),t;if(d){if(r=this._getElementCenter(d.element),i={left:Math.round(h.left-r.left),top:Math.round(h.top-r.top)},e.extend(f,{target:d.element}),d.appendToBottom)return this._movePlaceholder(d,null,f),t;if(d.appendAfterHidden&&this._movePlaceholder(d,"next",f),this._isFloating(d.element)?c.x<0&&g||!g&&i.left<0?o="prev":(c.x>0&&g||!g&&i.left>0)&&(o="next"):c.y<0&&g||!g&&i.top<0?o="prev":(c.y>0&&g||!g&&i.top>0)&&(o="next"),o){for(l="prev"===o?jQuery.fn.prev:jQuery.fn.next,s=l.call(d.element);s.length&&!s.is(":visible");)s=l.call(s);s[0]!=this.placeholder[0]&&this._movePlaceholder(d,o,f)}}},_dragend:function(n){var r,i,o,s,l=this.placeholder,a=this.draggedElement,d=this.indexOf(a),h=this.indexOf(l),c=this.options.connectWith;return this._resetCursor(),o={action:p,item:a,oldIndex:d,newIndex:h,draggableEvent:n},h>=0?i=this.trigger(u,o):(r=l.parents(c).getKendoSortable(),o.action=m,s=e.extend({},o,{action:_,oldIndex:x,newIndex:r.indexOf(l)}),i=!(!this.trigger(u,o)&&!r.trigger(u,s))),i||h===d?(this._cancel(),t):(l.replaceWith(a),a.show(),this.draggable.dropped=!0,o={action:this.indexOf(a)!=x?p:m,item:a,oldIndex:d,newIndex:this.indexOf(a),draggableEvent:n},this.trigger(g,o),r&&(s=e.extend({},o,{action:_,oldIndex:x,newIndex:r.indexOf(a)}),r.trigger(g,s)),t)},_findTarget:function(n){var r,i,o=this._findElementUnderCursor(n),s=this.options.connectWith;return e.contains(this.element[0],o)?(r=this.items(),i=r.filter(o)[0]||r.has(o)[0],i?{element:e(i),sortable:this}:null):this.element[0]==o&&this._isEmpty()?{element:this.element,sortable:this,appendToBottom:!0}:this.element[0]==o&&this._isLastHidden()?(i=this.items().eq(0),{element:i,sortable:this,appendAfterHidden:!0}):s?this._searchConnectedTargets(o,n):t},_findElementUnderCursor:function(e){var t=o.elementUnderCursor(e),r=e.sender;return n(r.hint[0],t)&&(r.hint.hide(),t=o.elementUnderCursor(e),t||(t=o.elementUnderCursor(e)),r.hint.show()),t},_searchConnectedTargets:function(t,n){var r,i,o,s,l=e(this.options.connectWith);for(s=0;s<l.length;s++)if(r=l.eq(s).getKendoSortable(),e.contains(l[s],t)){if(r)return i=r.items(),o=i.filter(t)[0]||i.has(t)[0],o?(r.placeholder=this.placeholder,{element:e(o),sortable:r}):null}else if(l[s]==t){if(r&&r._isEmpty())return{element:l.eq(s),sortable:r,appendToBottom:!0};if(this._isCursorAfterLast(r,n))return o=r.items().last(),{element:o,sortable:r}}},_isCursorAfterLast:function(e,t){var n,r,i=e.items().last(),s={left:t.x.location,top:t.y.location};return n=o.getOffset(i),n.top+=a(i),n.left+=l(i),r=this._isFloating(i)?n.left-s.left:n.top-s.top,r<0},_movementByAxis:function(t,n,r,i){var o,s="x"===t?n.left:n.top,l=r<0?this.placeholder.prev():this.placeholder.next(),a=this.items();l.length&&!l.is(":visible")&&(l=r<0?l.prev():l.next()),a.filter(l).length&&(e.extend(i,{target:l}),o=this._getElementCenter(l),o&&(o="x"===t?o.left:o.top),l.length&&r<0&&s-o<0?this._movePlaceholder({element:l,sortable:this},"prev",i):l.length&&r>0&&s-o>0&&this._movePlaceholder({element:l,sortable:this},"next",i))},_movePlaceholder:function(e,t,n){var r=this.placeholder;e.sortable.trigger(h,n)||(t?"prev"===t?e.element.before(r):"next"===t&&e.element.after(r):e.element.append(r),e.sortable.trigger(c,n))},_setCursor:function(){var t,n=this.options.cursor;n&&"auto"!==n&&(t=e(document.body),this._originalCursorType=t.css("cursor"),t.css({cursor:n}),this._cursorStylesheet||(this._cursorStylesheet=e("<style>* { cursor: "+n+" !important; }</style>")),this._cursorStylesheet.appendTo(t))},_resetCursor:function(){this._originalCursorType&&(e(document.body).css("cursor",this._originalCursorType),this._originalCursorType=null,this._cursorStylesheet.remove())},_getElementCenter:function(e){var t=e.length?o.getOffset(e):null;return t&&(t.top+=a(e)/2,t.left+=l(e)/2),t},_isFloating:function(e){var t=/left|right/.test(e.css("float")),n=/inline|table-cell/.test(e.css("display")),r=/flex/.test(e.parent().css("display"))&&(/row|row-reverse/.test(e.parent().css("flex-direction"))||!e.parent().css("flex-direction"));return t||n||r},_cancel:function(){this.draggedElement.show(),this.placeholder.remove(),this.draggable.dropped=!0},_items:function(){var e,t=this.options.filter;return e=t?this.element.find(t):this.element.children()},indexOf:function(e){var t=this._items(),n=this.placeholder,r=this.draggedElement;return n&&e[0]==n[0]?t.not(r).index(e):t.not(n).index(e)},items:function(){var e=this.placeholder,t=this._items();return e&&(t=t.not(e)),t},_isEmpty:function(){return!this.items().length},_isLastHidden:function(){return 1===this.items().length&&this.items().is(":hidden")}});o.ui.plugin(y)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
382//# sourceMappingURL=kendo.sortable.min.js.map
383
384/** 
385 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
386 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
387 *                                                                                                                                                                                                      
388 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
389 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
390 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
391                                                                                                                                                                                                       
392                                                                                                                                                                                                       
393                                                                                                                                                                                                       
394                                                                                                                                                                                                       
395                                                                                                                                                                                                       
396                                                                                                                                                                                                       
397                                                                                                                                                                                                       
398                                                                                                                                                                                                       
399                                                                                                                                                                                                       
400                                                                                                                                                                                                       
401                                                                                                                                                                                                       
402                                                                                                                                                                                                       
403                                                                                                                                                                                                       
404                                                                                                                                                                                                       
405                                                                                                                                                                                                       
406
407*/
408!function(e,define){define("kendo.selectable.min",["kendo.core.min","kendo.userevents.min"],e)}(function(){return function(e,t){function n(e,t){if(!e.is(":visible"))return!1;var n=s.getOffset(e),i=t.left+t.width,l=t.top+t.height;return n.right=n.left+s._outerWidth(e),n.bottom=n.top+s._outerHeight(e),!(n.left>i||n.right<t.left||n.top>l||n.bottom<t.top)}var i,s=window.kendo,l=s.ui.Widget,a=e.proxy,o=Math.abs,r="aria-selected",c="k-state-selected",u="k-state-selecting",d="k-selectable",f="change",v=".kendoSelectable",m="unselect",p="k-state-unselecting",h="input,a,textarea,.k-multiselect-wrap,select,button,.k-button>
408span,.k-button>img,span.k-icon.k-i-arrow-60-down,span.k-icon.k-i-arrow-60-up,label.k-checkbox-label.k-no-text,.k-icon.k-i-collapse,.k-icon.k-i-expand,span.k-numeric-wrap,.k-focusable",_=s.support.browser.msie,g=!1;!function(e){!function(){e('<div class="parent"><span></span></div>').on("click",">*",function(){g=!0}).find("span").trigger("click").end().off()}()}(e),i=l.extend({init:function(t,n){var i,o=this;l.fn.init.call(o,t,n),o._marquee=e("<div class='k-marquee'><div class='k-marquee-color'></div></div>"),o._lastActive=null,o.element.addClass(d),o.relatedTarget=o.options.relatedTarget,i=o.options.multiple,this.options.aria&&i&&o.element.attr("aria-multiselectable",!0),o.userEvents=new s.UserEvents(o.element,{global:!0,allowSelection:!0,filter:(g?"":"."+d+" ")+o.options.filter,tap:a(o._tap,o),touchAction:i?"none":"pan-x pan-y"}),i&&o.userEvents.bind("start",a(o._start,o)).bind("move",a(o._move,o)).bind("end",a(o._end,o)).bind("select",a(o._select,o))},events:[f,m],options:{name:"Selectable",filter:">*",inputSelectors:h,multiple:!1,relatedTarget:e.noop},_isElement:function(e){var t,n=this.element,i=n.length,s=!1;for(e=e[0],t=0;t<i;t++)if(n[t]===e){s=!0;break}return s},_tap:function(t){var n,i=e(t.target),s=this,l=t.event.ctrlKey||t.event.metaKey,a=s.options.multiple,o=a&&t.event.shiftKey,r=t.event.which,u=t.event.button;!s._isElement(i.closest("."+d))||r&&3==r||u&&2==u||this._allowSelection(t.event.target)&&(n=i.hasClass(c),a&&l||s.clear(),i=i.add(s.relatedTarget(i)),o?s.selectRange(s._firstSelectee(),i,t):(n&&l?(s._unselect(i),s._notify(f,t)):s.value(i,t),s._lastActive=s._downTarget=i))},_start:function(n){var i,s=this,l=e(n.target),a=l.hasClass(c),o=n.event.ctrlKey||n.event.metaKey;if(this._allowSelection(n.event.target)){if(s._downTarget=l,!s._isElement(l.closest("."+d)))return s.userEvents.cancel(),t;s.options.useAllItems?s._items=s.element.find(s.options.filter):(i=l.closest(s.element),s._items=i.find(s.options.filter)),n.sender.capture(),s._marquee.appendTo(document.body).css({left:n.x.client+1,top:n.y.client+1,width:0,height:0}),o||s.clear(),l=l.add(s.relatedTarget(l)),a&&(s._selectElement(l,!0),o&&l.addClass(p))}},_move:function(e){var t=this,n={left:e.x.startLocation>e.x.location?e.x.location:e.x.startLocation,top:e.y.startLocation>e.y.location?e.y.location:e.y.startLocation,width:o(e.x.initialDelta),height:o(e.y.initialDelta)};t._marquee.css(n),t._invalidateSelectables(n,e.event.ctrlKey||e.event.metaKey),e.preventDefault()},_end:function(e){var t,n=this;n._marquee.remove(),n._unselect(n.element.find(n.options.filter+"."+p)).removeClass(p),t=n.element.find(n.options.filter+"."+u),t=t.add(n.relatedTarget(t)),n.value(t,e),n._lastActive=n._downTarget,n._items=null},_invalidateSelectables:function(e,t){var i,s,l,a,o=this._downTarget[0],r=this._items;for(i=0,s=r.length;i<s;i++)a=r.eq(i),l=a.add(this.relatedTarget(a)),n(a,e)?a.hasClass(c)?t&&o!==a[0]&&l.removeClass(c).addClass(p):a.hasClass(u)||a.hasClass(p)||l.addClass(u):a.hasClass(u)?l.removeClass(u):t&&a.hasClass(p)&&l.removeClass(p).addClass(c)},value:function(e,n){var i=this,s=a(i._selectElement,i);return e?(e.each(function(){s(this)}),i._notify(f,n),t):i.element.find(i.options.filter+"."+c)},_firstSelectee:function(){var e,t=this;return null!==t._lastActive?t._lastActive:(e=t.value(),e.length>0?e[0]:t.element.find(t.options.filter)[0])},_selectElement:function(t,n){var i=e(t),s=!n&&this._notify("select",{element:t});i.removeClass(u),s||(i.addClass(c),this.options.aria&&i.attr(r,!0))},_notify:function(e,t){return t=t||{},this.trigger(e,t)},_unselect:function(e){if(!this.trigger(m,{element:e}))return e.removeClass(c),this.options.aria&&e.attr(r,!1),e},_select:function(t){this._allowSelection(t.event.target)&&(!_||_&&!e(s._activeElement()).is(this.options.inputSelectors))&&t.preventDefault()},_allowSelection:function(t){return!e(t).is(this.options.inputSelectors)||(this.userEvents.cancel(),this._downTarget=null,!1)},resetTouchEvents:function(){this.userEvents.cancel()},clear:function(){var e=this.element.find(this.options.filter+"."+c);this._unselect(e)},selectRange:function(t,n,i){var s,l,a,o=this;for(o.clear(),o.element.length>1&&(a=o.options.continuousItems()),a&&a.length||(a=o.element.find(o.options.filter)),t=e.inArray(e(t)[0],a),n=e.inArray(e(n)[0],a),t>n&&(l=t,t=n,n=l),o.options.useAllItems||(n+=o.element.length-1),s=t;s<=n;s++)o._selectElement(a[s]);o._notify(f,i)},destroy:function(){var e=this;l.fn.destroy.call(e),e.element.off(v),e.userEvents.destroy(),e._marquee=e._lastActive=e.element=e.userEvents=null}}),i.parseOptions=function(e){var t="string"==typeof e&&e.toLowerCase();return{multiple:t&&t.indexOf("multiple")>-1,cell:t&&t.indexOf("cell")>-1}},s.ui.plugin(i)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
409//# sourceMappingURL=kendo.selectable.min.js.map
410
411/** 
412 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
413 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
414 *                                                                                                                                                                                                      
415 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
416 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
417 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
418                                                                                                                                                                                                       
419                                                                                                                                                                                                       
420                                                                                                                                                                                                       
421                                                                                                                                                                                                       
422                                                                                                                                                                                                       
423                                                                                                                                                                                                       
424                                                                                                                                                                                                       
425                                                                                                                                                                                                       
426                                                                                                                                                                                                       
427                                                                                                                                                                                                       
428                                                                                                                                                                                                       
429                                                                                                                                                                                                       
430                                                                                                                                                                                                       
431                                                                                                                                                                                                       
432                                                                                                                                                                                                       
433
434*/
435!function(e,define){define("kendo.slider.min",["kendo.draganddrop.min"],e)}(function(){return function(e,t){function n(e,t,n){var i=n?" k-slider-horizontal":" k-slider-vertical",a=e.style?e.style:t.attr("style"),o=t.attr("class")?" "+t.attr("class"):"",r="";return"bottomRight"==e.tickPlacement?r=" k-slider-bottomright":"topLeft"==e.tickPlacement&&(r=" k-slider-topleft"),a=a?" style='"+a+"'":"","<div class='k-widget k-slider"+i+o+"'"+a+"><div class='k-slider-wrap"+(e.showButtons?" k-slider-buttons":"")+r+"'></div></div>"}function i(e,t,n,i){var a="";return a=n?!i&&"increase"==t||i&&"increase"!=t?"k-i-arrow-60-right":"k-i-arrow-60-left":"increase"==t?"k-i-arrow-60-up":"k-i-arrow-60-down","<a class='k-button k-button-"+t+"' title='"+e[t+"ButtonTitle"]+"' aria-label='"+e[t+"ButtonTitle"]+"'><span class='k-icon "+a+"'></span></a>"}function a(e,t){var n,i="<ul class='k-reset k-slider-items'>",a=H.floor(u(t/e.smallStep))+1;for(n=0;n<a;n++)i+="<li class='k-tick' role='presentation'>&nbsp;</li>";return i+="</ul>"}function o(e,t){var n=t.is("input")?1:2,i=2==n?e.leftDragHandleTitle:e.dragHandleTitle;return"<div class='k-slider-track'><div class='k-slider-selection'><!-- --></div><a href='#' class='k-draghandle' title='"+i+"' role='slider' aria-valuemin='"+e.min+"' aria-valuemax='"+e.max+"' aria-valuenow='"+(n>1?e.selectionStart||e.min:e.value||e.min)+"'></a>"+(n>1?"<a href='#' class='k-draghandle' title='"+e.rightDragHandleTitle+"'role='slider' aria-valuemin='"+e.min+"' aria-valuemax='"+e.max+"' aria-valuenow='"+(e.selectionEnd||e.max)+"'></a>":"")+"</div>"}function r(e){return function(t){return t+e}}function l(e){return function(){return e}}function s(e){return(e+"").replace(".",m.cultures.current.numberFormat["."])}function d(e){var t=""+e,n=0;return t=t.split("."),t[1]&&(n=t[1].length),n=n>10?10:n}function u(e){var t,n;
435return e=parseFloat(e,10),t=d(e),n=H.pow(10,t||0),H.round(e*n)/n}function p(e,n){var i=x(e.getAttribute(n));return null===i&&(i=t),i}function c(e){return typeof e!==Q}function f(e){return 1e4*e}var _,m=window.kendo,v=m.ui.Widget,h=m.ui.Draggable,g=m._outerWidth,w=m._outerHeight,k=e.extend,S=m.format,x=m.parseFloat,D=e.proxy,b=e.isArray,H=Math,T=m.support,y=T.pointers,z=T.msPointers,I="change",E="slide",C=".slider",F="touchstart"+C+" mousedown"+C,R=y?"pointerdown"+C:z?"MSPointerDown"+C:F,A="touchend"+C+" mouseup"+C,V=y?"pointerup":z?"MSPointerUp"+C:A,q="moveSelection",M="keydown"+C,P="click"+C,W="mouseover"+C,N="focus"+C,O="blur"+C,B=".k-draghandle",L=".k-slider-track",Z=".k-tick",U="k-state-selected",X="k-state-focused",Y="k-state-default",j="k-state-disabled",K="disabled",Q="undefined",G="tabindex",J=m.getTouches,$=v.extend({init:function(e,t){var n,i=this;if(v.fn.init.call(i,e,t),t=i.options,i._isHorizontal="horizontal"==t.orientation,i._isRtl=i._isHorizontal&&m.support.isRtl(e),i._position=i._isHorizontal?"left":"bottom",i._sizeFn=i._isHorizontal?"width":"height",i._outerSize=i._isHorizontal?g:w,t.tooltip.format=t.tooltip.enabled?t.tooltip.format||"{0}":"{0}",t.smallStep<=0)throw Error("Kendo UI Slider smallStep must be a positive number.");i._createHtml(),i.wrapper=i.element.closest(".k-slider"),i._trackDiv=i.wrapper.find(L),i._setTrackDivWidth(),i._maxSelection=i._trackDiv[i._sizeFn](),i._sliderItemsInit(),i._reset(),i._tabindex(i.wrapper.find(B)),i[t.enabled?"enable":"disable"](),n=m.support.isRtl(i.wrapper)?-1:1,i._keyMap={37:r(-1*n*t.smallStep),40:r(-t.smallStep),39:r(1*n*t.smallStep),38:r(+t.smallStep),35:l(t.max),36:l(t.min),33:r(+t.largeStep),34:r(-t.largeStep)},m.notify(i)},events:[I,E],options:{enabled:!0,min:0,max:10,smallStep:1,largeStep:5,orientation:"horizontal",tickPlacement:"both",tooltip:{enabled:!0,format:"{0}"}},_distance:function(){return u(this.options.max-this.options.min)},_resize:function(){this._setTrackDivWidth(),this.wrapper.find(".k-slider-items").remove(),this._maxSelection=this._trackDiv[this._sizeFn](),this._sliderItemsInit(),this._refresh(),this.options.enabled&&this.enable(!0)},_sliderItemsInit:function(){var t=this,n=t.options,i=t._maxSelection/((n.max-n.min)/n.smallStep),o=t._calculateItemsWidth(H.floor(f(t._distance())/f(n.smallStep)));"none"!=n.tickPlacement&&i>=2&&(e(this.element).parent().find(".k-slider-items").remove(),t._trackDiv.before(a(n,t._distance())),t._setItemsWidth(o),t._setItemsTitle()),t._calculateSteps(o),"none"!=n.tickPlacement&&i>=2&&n.largeStep>=n.smallStep&&t._setItemsLargeTick()},getSize:function(){return m.dimensions(this.wrapper)},_setTrackDivWidth:function(){var e=this,t=2*parseFloat(e._trackDiv.css(e._isRtl?"right":e._position),10);e._trackDiv[e._sizeFn](e.wrapper[e._sizeFn]()-2-t)},_setItemsWidth:function(t){var n,i=this,a=i.options,o=0,r=t.length-1,l=i.wrapper.find(Z),s=0,d=2,u=l.length,p=0;for(n=0;n<u-2;n++)e(l[n+1])[i._sizeFn](t[n]);if(i._isHorizontal?(e(l[o]).addClass("k-first")[i._sizeFn](t[r-1]),e(l[r]).addClass("k-last")[i._sizeFn](t[r])):(e(l[r]).addClass("k-first")[i._sizeFn](t[r]),e(l[o]).addClass("k-last")[i._sizeFn](t[r-1])),i._distance()%a.smallStep!==0&&!i._isHorizontal){for(n=0;n<t.length;n++)p+=t[n];s=i._maxSelection-p,s+=parseFloat(i._trackDiv.css(i._position),10)+d,i.wrapper.find(".k-slider-items").css("padding-top",s)}},_setItemsTitle:function(){for(var t=this,n=t.options,i=t.wrapper.find(Z),a=n.min,o=i.length,r=t._isHorizontal&&!t._isRtl?0:o-1,l=t._isHorizontal&&!t._isRtl?o:-1,s=t._isHorizontal&&!t._isRtl?1:-1;r-l!==0;r+=s)e(i[r]).attr("title",S(n.tooltip.format,u(a))),a+=n.smallStep},_setItemsLargeTick:function(){var t,n,i,a=this,o=a.options,r=a.wrapper.find(Z),l=0;if(f(o.largeStep)%f(o.smallStep)===0||a._distance()/o.largeStep>=3)for(a._isHorizontal||a._isRtl||(r=e.makeArray(r).reverse()),l=0;l<r.length;l++)t=e(r[l]),n=a._values[l],i=u(f(n-this.options.min)),i%f(o.smallStep)===0&&i%f(o.largeStep)===0&&(t.addClass("k-tick-large").html("<span class='k-label'>"+t.attr("title")+"</span>"),0!==l&&l!==r.length-1&&t.css("line-height",t[a._sizeFn]()+"px"))},_calculateItemsWidth:function(e){var t,n,i,a=this,o=a.options,r=parseFloat(a._trackDiv.css(a._sizeFn))+1,l=a._distance(),s=f(l)/f(o.smallStep),d=r/f(l);for(s-e>0&&(r-=f(l)%f(o.smallStep)*d),t=r/e,n=[],i=0;i<e-1;i++)n[i]=t;return n[e-1]=n[e]=t/2,a._roundWidths(n)},_roundWidths:function(e){var t,n=0,i=e.length;for(t=0;t<i;t++)n+=e[t]-H.floor(e[t]),e[t]=H.floor(e[t]);return n=H.round(n),this._addAdditionalSize(n,e)},_addAdditionalSize:function(e,t){if(0===e)return t;var n,i=parseFloat(t.length-1)/parseFloat(1==e?e:e-1);for(n=0;n<e;
435n++)t[parseInt(H.round(i*n),10)]+=1;return t},_calculateSteps:function(e){var t,n=this,i=n.options,a=i.min,o=0,r=n._distance(),l=H.ceil(f(r)/f(i.smallStep)),s=1;if(l+=f(r)/f(i.smallStep)%1===0?1:0,e.splice(0,0,2*e[l-2]),e.splice(l-1,1,2*e.pop()),n._pixelSteps=[o],n._values=[a],0!==l){for(;s<l;)o+=(e[s-1]+e[s])/2,n._pixelSteps[s]=o,a+=i.smallStep,n._values[s]=u(a),s++;t=f(r)%f(i.smallStep)===0?l-1:l,n._pixelSteps[t]=n._maxSelection,n._values[t]=i.max,n._isRtl&&(n._pixelSteps.reverse(),n._values.reverse())}},_getValueFromPosition:function(e,t){var n,i=this,a=i.options,o=H.max(a.smallStep*(i._maxSelection/i._distance()),0),r=0,l=o/2;if(i._isHorizontal?(r=e-t.startPoint,i._isRtl&&(r=i._maxSelection-r)):r=t.startPoint-e,i._maxSelection-(parseInt(i._maxSelection%o,10)-3)/2<r)return a.max;for(n=0;n<i._pixelSteps.length;n++)if(H.abs(i._pixelSteps[n]-r)-1<=l)return u(i._values[n])},_getFormattedValue:function(e,t){var n,i,a,o=this,r="",l=o.options.tooltip;return b(e)?(i=e[0],a=e[1]):t&&t.type&&(i=t.selectionStart,a=t.selectionEnd),t&&(n=t.tooltipTemplate),!n&&l.template&&(n=m.template(l.template)),b(e)||t&&t.type?n?r=n({selectionStart:i,selectionEnd:a}):(i=S(l.format,i),a=S(l.format,a),r=i+" - "+a):(t&&(t.val=e),r=n?n({value:e}):S(l.format,e)),r},_getDraggableArea:function(){var e=this,t=m.getOffset(e._trackDiv);return{startPoint:e._isHorizontal?t.left:t.top+e._maxSelection,endPoint:e._isHorizontal?t.left+e._maxSelection:t.top}},_createHtml:function(){var e=this,t=e.element,a=e.options,r=t.find("input");2==r.length?(r.eq(0).prop("value",s(a.selectionStart)),r.eq(1).prop("value",s(a.selectionEnd))):t.prop("value",s(a.value)),t.wrap(n(a,t,e._isHorizontal)).hide(),a.showButtons&&t.before(i(a,"increase",e._isHorizontal,e._isRtl)).before(i(a,"decrease",e._isHorizontal,e._isRtl)),t.before(o(a,t))},_focus:function(t){var n=this,i=t.target,a=n.value(),o=n._drag;o||(i==n.wrapper.find(B).eq(0)[0]?(o=n._firstHandleDrag,n._activeHandle=0):(o=n._lastHandleDrag,n._activeHandle=1),a=a[n._activeHandle]),e(i).addClass(X+" "+U),o&&(n._activeHandleDrag=o,o.selectionStart=n.options.selectionStart,o.selectionEnd=n.options.selectionEnd,o._updateTooltip(a))},_focusWithMouse:function(t){t=e(t);var n=this,i=t.is(B)?t.index():0;window.setTimeout(function(){n.wrapper.find(B)[2==i?1:0].focus()},1),n._setTooltipTimeout()},_blur:function(t){var n=this,i=n._activeHandleDrag;e(t.target).removeClass(X+" "+U),i&&(i._removeTooltip(),delete n._activeHandleDrag,delete n._activeHandle)},_setTooltipTimeout:function(){var e=this;e._tooltipTimeout=window.setTimeout(function(){var t=e._drag||e._activeHandleDrag;t&&t._removeTooltip()},300)},_clearTooltipTimeout:function(){var e,t=this;window.clearTimeout(this._tooltipTimeout),e=t._drag||t._activeHandleDrag,e&&e.tooltipDiv&&e.tooltipDiv.stop(!0,!1).css("opacity",1)},_reset:function(){var t=this,n=t.element,i=n.attr("form"),a=i?e("#"+i):n.closest("form");a[0]&&(t._form=a.on("reset",D(t._formResetHandler,t)))},min:function(e){return e?(this.setOptions({min:e}),t):this.options.min},max:function(e){return e?(this.setOptions({max:e}),t):this.options.max},setOptions:function(e){v.fn.setOptions.call(this,e),this._sliderItemsInit(),this._refresh()},destroy:function(){this._form&&this._form.off("reset",this._formResetHandler),v.fn.destroy.call(this)}}),ee=$.extend({init:function(n,i){var a,o=this;n.type="text",i=k({},{value:p(n,"value"),min:p(n,"min"),max:p(n,"max"),smallStep:p(n,"step")},i),n=e(n),i&&i.enabled===t&&(i.enabled=!n.is("[disabled]")),$.fn.init.call(o,n,i),i=o.options,c(i.value)&&null!==i.value||(i.value=i.min,n.prop("value",s(i.min))),i.value=H.max(H.min(i.value,i.max),i.min),a=o.wrapper.find(B),this._selection=new ee.Selection(a,o,i),o._drag=new ee.Drag(a,"",o,i)},options:{name:"Slider",showButtons:!0,increaseButtonTitle:"Increase",decreaseButtonTitle:"Decrease",dragHandleTitle:"drag",tooltip:{format:"{0:#,#.##}"},value:null},enable:function(n){var i,a,o,r=this,l=r.options;r.disable(),n!==!1&&(r.wrapper.removeClass(j).addClass(Y),r.wrapper.find("input").removeAttr(K),i=function(n){var i,a,o,l=J(n)[0];if(l){if(i=r._isHorizontal?l.location.pageX:l.location.pageY,a=r._getDraggableArea(),o=e(n.target),o.hasClass("k-draghandle"))return o.addClass(X+" "+U),t;r._update(r._getValueFromPosition(i,a)),r._focusWithMouse(n.target),r._drag.dragstart(n),n.preventDefault()}},r.wrapper.find(Z+", "+L).on(R,i).end().on(R,function(){e(document.documentElement).one("selectstart",m.preventDefault)}).on(V,function(){r._drag._end()}),r.wrapper.find(B).attr(G,0).on(A,function(){r._setTooltipTimeout()}).on(P,function(e){r._focusWithMouse(e.target),e.preventDefault()}).on(N,D(r._focus,r)).on(O,D(r._blur,r)),a=D(function(e){var t=r._nextValueByIndex(r._valueIndex+1*e);r._setValueInRange(t),r._drag._updateTooltip(t)},r),l.showButtons&&(o=D(function(e,t){this._clearTooltipTimeout(),(1===e.which||T.touch&&0===e.which)&&(a(t),this.timeout=setTimeout(D(function(){this.timer=setInterval(function(){a(t)},60)},this),200))},r),r.wrapper.find(".k-button").on(A,D(function(e){this._clearTimer(),r._focusWithMouse(e.target)},r)).on(W,function(t){e(t.currentTarget).addClass("k-state-hover")}).on("mouseout"+C,D(function(t){e(t.currentTarget).removeClass("k-state-hover"),this._clearTimer()},r)).eq(0).on(F,D(function(e){o(e,1)},r)).click(!1).end().eq(1).on(F,D(function(e){o(e,-1)},r)).click(m.preventDefault)),r.wrapper.find(B).off(M,!1).on(M,D(this._key
435down,r)),l.enabled=!0)},disable:function(){var t=this;t.wrapper.removeClass(Y).addClass(j),e(t.element).prop(K,K),t.wrapper.find(".k-button").off(F).on(F,function(t){t.preventDefault(),e(this).addClass("k-state-active")}).off(A).on(A,function(t){t.preventDefault(),e(this).removeClass("k-state-active")}).off("mouseleave"+C).on("mouseleave"+C,m.preventDefault).off(W).on(W,m.preventDefault),t.wrapper.find(Z+", "+L).off(R).off(V),t.wrapper.find(B).attr(G,-1).off(A).off(M).off(P).off(N).off(O),t.options.enabled=!1},_update:function(e){var t=this,n=t.value()!=e;t.value(e),n&&t.trigger(I,{value:t.options.value})},value:function(e){var n=this,i=n.options;return e=u(e),isNaN(e)?i.value:(e>=i.min&&e<=i.max&&i.value!=e&&(n.element.prop("value",s(e)),i.value=e,n._refreshAriaAttr(e),n._refresh()),t)},_refresh:function(){this.trigger(q,{value:this.options.value})},_refreshAriaAttr:function(e){var t,n=this,i=n._drag;t=i&&i._tooltipDiv?i._tooltipDiv.text():n._getFormattedValue(e,null),this.wrapper.find(B).attr("aria-valuenow",e).attr("aria-valuetext",t)},_clearTimer:function(){clearTimeout(this.timeout),clearInterval(this.timer)},_keydown:function(e){var t=this;e.keyCode in t._keyMap&&(t._clearTooltipTimeout(),t._setValueInRange(t._keyMap[e.keyCode](t.options.value)),t._drag._updateTooltip(t.value()),e.preventDefault())},_setValueInRange:function(e){var n=this,i=n.options;return e=u(e),isNaN(e)?(n._update(i.min),t):(e=H.max(H.min(e,i.max),i.min),n._update(e),t)},_nextValueByIndex:function(e){var t=this._values.length;return this._isRtl&&(e=t-1-e),this._values[H.max(0,H.min(e,t-1))]},_formResetHandler:function(){var e=this,t=e.options.min;setTimeout(function(){var n=e.element[0].value;e.value(""===n||isNaN(n)?t:n)})},destroy:function(){var e=this;$.fn.destroy.call(e),e.wrapper.off(C).find(".k-button").off(C).end().find(B).off(C).end().find(Z+", "+L).off(C).end(),e._drag.draggable.destroy(),e._drag._removeTooltip(!0)}});ee.Selection=function(e,t,n){function i(i){var a=i-n.min,o=t._valueIndex=H.ceil(u(a/n.smallStep)),r=parseInt(t._pixelSteps[o],10),l=t._trackDiv.find(".k-slider-selection"),s=parseInt(t._outerSize(e)/2,10),d=t._isRtl?2:0;l[t._sizeFn](t._isRtl?t._maxSelection-r:r),e.css(t._position,r-s-d)}i(n.value),t.bind([E,q],function(e){i(parseFloat(e.value,10))}),t.bind(I,function(e){i(parseFloat(e.sender.value(),10))})},ee.Drag=function(e,t,n,i){var a=this;a.owner=n,a.options=i,a.element=e,a.type=t,a.draggable=new h(e,{distance:0,dragstart:D(a._dragstart,a),drag:D(a.drag,a),dragend:D(a.dragend,a),dragcancel:D(a.dragcancel,a)}),e.click(!1),e.on("dragstart",function(e){e.preventDefault()})},ee.Drag.prototype={dragstart:function(e){this.owner._activeDragHandle=this,this.draggable.userEvents.cancel(),this._dragstart(e),this.dragend()},_dragstart:function(n){var i=this,a=i.owner,o=i.options;return o.enabled?(this.owner._activeDragHandle=this,a.element.off(W),a.wrapper.find("."+X).removeClass(X+" "+U),i.element.addClass(X+" "+U),e(document.documentElement).css("cursor","pointer"),i.dragableArea=a._getDraggableArea(),i.step=H.max(o.smallStep*(a._maxSelection/a._distance()),0),i.type?(i.selectionStart=o.selectionStart,i.selectionEnd=o.selectionEnd,a._setZIndex(i.type)):i.oldVal=i.val=o.value,i._removeTooltip(!0),i._createTooltip(),t):(n.preventDefault(),t)},_createTooltip:function(){var t,n,i=this,a=i.owner,o=i.options.tooltip,r="",l=e(window);o.enabled&&(o.template&&(t=i.tooltipTemplate=m.template(o.template)),e(".k-slider-tooltip").remove(),i.tooltipDiv=e("<div class='k-tooltip k-slider-tooltip'><!-- --></div>").appendTo(document.body),r=a._getFormattedValue(i.val||a.value(),i),i.type||(n="k-callout-"+(a._isHorizontal?"s":"e"),i.tooltipInnerDiv="<div class='k-callout "+n+"'><!-- --></div>",r+=i.tooltipInnerDiv),i.tooltipDiv.html(r),i._scrollOffset={top:l.scrollTop(),left:l.scrollLeft()},i.moveTooltip())},drag:function(e){var t,n=this,i=n.owner,a=e.x.location,o=e.y.location,r=n.dragableArea.startPoint,l=n.dragableArea.endPoint;e.preventDefault(),n.val=i._isHorizontal?i._isRtl?n.constrainValue(a,r,l,a<l):n.constrainValue(a,r,l,a>=l):n.constrainValue(o,l,r,o<=l),n.oldVal!=n.val&&(n.oldVal=n.val,n.type?("firstHandle"==n.type?n.selectionStart=n.val<n.selectionEnd?n.val:n.selectionEnd=n.val:n.val>n.selectionStart?n.selectionEnd=n.val:n.selectionStart=n.selectionEnd=n.val,t={values:[n.selectionStart,n.selectionEnd],value:[n.selectionStart,n.selectionEnd]}):t={value:n.val},i.trigger(E,t)),n._updateTooltip(n.val)},_updateTooltip:function(e){var t=this,n=t.options,i=n.tooltip,a="";i.enabled&&(t.tooltipDiv||t._createTooltip(),a=t.owner._getFormattedValue(u(e),t),t.type||(a+=t.tooltipInnerDiv),t.tooltipDiv.html(a),t.moveTooltip())},dragcancel:function(){return this.owner._refresh(),e(document.documentElement).css("cursor",""),this._end()},dragend:function(){var t=this,n=t.owner;return e(document.documentElement).css("cursor",""),t.type?n._update(t.selectionStart,t.selectionEnd):(n._update(t.val),t.draggable.userEvents._disposeAll()),t.draggable.userEvents.cancel(),t._end()},_end:function(){var e=this,t=e.owner;return t._focusWithMouse(e.element),t.element.on(W),!1},_removeTooltip:function(t){var n=this,i=n.owner;n.tooltipDiv&&i.options.tooltip.enabled&&i.options.enabled&&(t?(n.tooltipDiv.remove(),n.tooltipDiv=null):n.tooltipDiv.fadeOut("slow",function(){e(this).remove(),n.tooltipDiv=null}))},moveTooltip:function(){var t,n,i,a,o=this,r=o.owner,l=0,s=0,d=o.element,u=m.getOffset(d),p=8,c=e(window),f=
435o.tooltipDiv.find(".k-callout"),_=g(o.tooltipDiv),v=w(o.tooltipDiv);o.type?(t=r.wrapper.find(B),u=m.getOffset(t.eq(0)),n=m.getOffset(t.eq(1)),r._isHorizontal?(l=n.top,s=u.left+(n.left-u.left)/2):(l=u.top+(n.top-u.top)/2,s=n.left),a=g(t.eq(0))+2*p):(l=u.top,s=u.left,a=g(d)+2*p),r._isHorizontal?(s-=parseInt((_-r._outerSize(d))/2,10),l-=v+p+(f.length?f.height():0)):(l-=parseInt((v-r._outerSize(d))/2,10),s-=_+p+(f.length?f.width():0)),r._isHorizontal?(i=o._flip(l,v,a,w(c)+o._scrollOffset.top),l+=i,s+=o._fit(s,_,g(c)+o._scrollOffset.left)):(i=o._flip(s,_,a,g(c)+o._scrollOffset.left),l+=o._fit(l,v,w(c)+o._scrollOffset.top),s+=i),i>0&&f&&(f.removeClass(),f.addClass("k-callout k-callout-"+(r._isHorizontal?"n":"w"))),o.tooltipDiv.css({top:l,left:s})},_fit:function(e,t,n){var i=0;return e+t>n&&(i=n-(e+t)),e<0&&(i=-e),i},_flip:function(e,t,n,i){var a=0;return e+t>i&&(a+=-(n+t)),e+a<0&&(a+=n+t),a},constrainValue:function(e,t,n,i){var a=this,o=0;return o=t<e&&e<n?a.owner._getValueFromPosition(e,a.dragableArea):i?a.options.max:a.options.min}},m.ui.plugin(ee),_=$.extend({init:function(n,i){var a,o=this,r=e(n).find("input"),l=r.eq(0)[0],d=r.eq(1)[0];l.type="text",d.type="text",i&&i.showButtons&&(window.console&&window.console.warn("showbuttons option is not supported for the range slider, ignoring"),i.showButtons=!1),i=k({},{selectionStart:p(l,"value"),min:p(l,"min"),max:p(l,"max"),smallStep:p(l,"step")},{selectionEnd:p(d,"value"),min:p(d,"min"),max:p(d,"max"),smallStep:p(d,"step")},i),i&&i.enabled===t&&(i.enabled=!r.is("[disabled]")),$.fn.init.call(o,n,i),i=o.options,c(i.selectionStart)&&null!==i.selectionStart||(i.selectionStart=i.min,r.eq(0).prop("value",s(i.min))),c(i.selectionEnd)&&null!==i.selectionEnd||(i.selectionEnd=i.max,r.eq(1).prop("value",s(i.max))),a=o.wrapper.find(B),this._selection=new _.Selection(a,o,i),o._firstHandleDrag=new ee.Drag(a.eq(0),"firstHandle",o,i),o._lastHandleDrag=new ee.Drag(a.eq(1),"lastHandle",o,i)},options:{name:"RangeSlider",leftDragHandleTitle:"drag",rightDragHandleTitle:"drag",tooltip:{format:"{0:#,#.##}"},selectionStart:null,selectionEnd:null},enable:function(n){var i,a=this,o=a.options;a.disable(),n!==!1&&(a.wrapper.removeClass(j).addClass(Y),a.wrapper.find("input").removeAttr(K),i=function(n){var i,r,l,s,d,u,p,c=J(n)[0];if(c){if(i=a._isHorizontal?c.location.pageX:c.location.pageY,r=a._getDraggableArea(),l=a._getValueFromPosition(i,r),s=e(n.target),s.hasClass("k-draghandle"))return a.wrapper.find("."+X).removeClass(X+" "+U),s.addClass(X+" "+U),t;l<o.selectionStart?(d=l,u=o.selectionEnd,p=a._firstHandleDrag):l>a.selectionEnd?(d=o.selectionStart,u=l,p=a._lastHandleDrag):l-o.selectionStart<=o.selectionEnd-l?(d=l,u=o.selectionEnd,p=a._firstHandleDrag):(d=o.selectionStart,u=l,p=a._lastHandleDrag),p.dragstart(n),a._setValueInRange(d,u),a._focusWithMouse(p.element)}},a.wrapper.find(Z+", "+L).on(R,i).end().on(R,function(){e(document.documentElement).one("selectstart",m.preventDefault)}).on(V,function(){a._activeDragHandle&&a._activeDragHandle._end()}),a.wrapper.find(B).attr(G,0).on(A,function(){a._setTooltipTimeout()}).on(P,function(e){a._focusWithMouse(e.target),e.preventDefault()}).on(N,D(a._focus,a)).on(O,D(a._blur,a)),a.wrapper.find(B).off(M,m.preventDefault).eq(0).on(M,D(function(e){this._keydown(e,"firstHandle")},a)).end().eq(1).on(M,D(function(e){this._keydown(e,"lastHandle")},a)),a.options.enabled=!0)},disable:function(){var e=this;e.wrapper.removeClass(Y).addClass(j),e.wrapper.find("input").prop(K,K),e.wrapper.find(Z+", "+L).off(R).off(V),e.wrapper.find(B).attr(G,-1).off(A).off(M).off(P).off(N).off(O),e.options.enabled=!1},_keydown:function(e,t){var n,i,a,o=this,r=o.options.selectionStart,l=o.options.selectionEnd;e.keyCode in o._keyMap&&(o._clearTooltipTimeout(),"firstHandle"==t?(a=o._activeHandleDrag=o._firstHandleDrag,r=o._keyMap[e.keyCode](r),r>l&&(l=r)):(a=o._activeHandleDrag=o._lastHandleDrag,l=o._keyMap[e.keyCode](l),r>l&&(r=l)),o._setValueInRange(u(r),u(l)),n=Math.max(r,o.options.selectionStart),i=Math.min(l,o.options.selectionEnd),a.selectionEnd=Math.max(i,o.options.selectionStart),a.selectionStart=Math.min(n,o.options.selectionEnd),a._updateTooltip(o.value(
435)[o._activeHandle]),e.preventDefault())},_update:function(e,t){var n=this,i=n.value(),a=i[0]!=e||i[1]!=t;n.value([e,t]),a&&n.trigger(I,{values:[e,t],value:[e,t]})},value:function(e){return e&&e.length?this._value(e[0],e[1]):this._value()},_value:function(e,n){var i=this,a=i.options,o=a.selectionStart,r=a.selectionEnd;return isNaN(e)&&isNaN(n)?[o,r]:(e=u(e),n=u(n),e>=a.min&&e<=a.max&&n>=a.min&&n<=a.max&&e<=n&&(o==e&&r==n||(i.element.find("input").eq(0).prop("value",s(e)).end().eq(1).prop("value",s(n)),a.selectionStart=e,a.selectionEnd=n,i._refresh(),i._refreshAriaAttr(e,n))),t)},values:function(e,t){return b(e)?this._value(e[0],e[1]):this._value(e,t)},_refresh:function(){var e=this,t=e.options;e.trigger(q,{values:[t.selectionStart,t.selectionEnd],value:[t.selectionStart,t.selectionEnd]}),t.selectionStart==t.max&&t.selectionEnd==t.max&&e._setZIndex("firstHandle")},_refreshAriaAttr:function(e,t){var n,i=this,a=i.wrapper.find(B),o=i._activeHandleDrag;n=i._getFormattedValue([e,t],o),a.eq(0).attr("aria-valuenow",e),a.eq(1).attr("aria-valuenow",t),a.attr("aria-valuetext",n)},_setValueInRange:function(e,t){var n=this.options;e=H.max(H.min(e,n.max),n.min),t=H.max(H.min(t,n.max),n.min),e==n.max&&t==n.max&&this._setZIndex("firstHandle"),this._update(H.min(e,t),H.max(e,t))},_setZIndex:function(t){this.wrapper.find(B).each(function(n){e(this).css("z-index","firstHandle"==t?1-n:n)})},_formResetHandler:function(){var e=this,t=e.options;setTimeout(function(){var n=e.element.find("input"),i=n[0].value,a=n[1].value;e.values(""===i||isNaN(i)?t.min:i,""===a||isNaN(a)?t.max:a)})},destroy:function(){var e=this;$.fn.destroy.call(e),e.wrapper.off(C).find(Z+", "+L).off(C).end().find(B).off(C),e._firstHandleDrag.draggable.destroy(),e._lastHandleDrag.draggable.destroy()}}),_.Selection=function(e,t,n){function i(i){i=i||[];var o=i[0]-n.min,r=i[1]-n.min,l=H.ceil(u(o/n.smallStep)),s=H.ceil(u(r/n.smallStep)),d=t._pixelSteps[l],p=t._pixelSteps[s],c=parseInt(t._outerSize(e.eq(0))/2,10),f=t._isRtl?2:0;e.eq(0).css(t._position,d-c-f).end().eq(1).css(t._position,p-c-f),a(d,p)}function a(e,n){var i,a,o=t._trackDiv.find(".k-slider-selection");i=H.abs(e-n),o[t._sizeFn](i),t._isRtl?(a=H.max(e,n),o.css("right",t._maxSelection-a-1)):(a=H.min(e,n),o.css(t._position,a-1))}i(t.value()),t.bind([I,E,q],function(e){i(e.values)})},m.ui.plugin(_)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
436//# sourceMappingURL=kendo.slider.min.js.map
437
438/** 
439 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
440 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
441 *                                                                                                                                                                                                      
442 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
443 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
444 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
445                                                                                                                                                                                                       
446                                                                                                                                                                                                       
447                                                                                                                                                                                                       
448                                                                                                                                                                                                       
449                                                                                                                                                                                                       
450                                                                                                                                                                                                       
451                                                                                                                                                                                                       
452                                                                                                                                                                                                       
453                                                                                                                                                                                                       
454                                                                                                                                                                                                       
455                                                                                                                                                                                                       
456                                                                                                                                                                                                       
457                                                                                                                                                                                                       
458                                                                                                                                                                                                       
459                                                                                                                                                                                                       
460
461*/
462!function(t,define){define("kendo.window.min",["kendo.draganddrop.min","kendo.popup.min"],t)}(function(){return function(t,i){function e(t){return i!==t}function n(t,i){return parseInt(t.css(i),10)||0}function o(t,i,e){var n;return n=t&&isNaN(t)&&(""+t).indexOf("px")<0?t:Math.max(Math.min(parseInt(t,10),e===1/0?e:parseInt(e,10)),i===-(1/0)?i:parseInt(i,10))}function s(){return!this.type||this.type.toLowerCase().indexOf("script")>=0}function r(i){for(var e,n,o={top:i.offsetTop,left:i.offsetLeft},s=i.offsetParent;s;)o.top+=s.offsetTop,o.left+=s.offsetLeft,e=t(s).css("overflowX"),n=t(s).css("overflowY"),"auto"!==n&&"scroll"!==n||(o.top-=s.scrollTop),"auto"!==e&&"scroll"!==e||(o.left-=s.scrollLeft),s=s.offsetParent;return o}function a(t){var i=this;i.owner=t,i._preventDragging=!1,i._draggable=new h(t.wrapper,{filter:">"+O,group:t.wrapper.id+"-resizing",dragstart:w(i.dragstart,i),drag:w(i.drag,i),dragend:w(i.dragend,i)}),i._draggable.userEvents.bind("press",w(i.addOverlay,i)),i._draggable.userEvents.bind("release",w(i.removeOverlay,i))}function l(t,i){var e=this;e.owner=t,e._preventDragging=!1,e._draggable=new h(t.wrapper,{filter:i,group:t.wrapper.id+"-moving",dragstart:w(e.dragstart,e),drag:w(e.drag,e),dragend:w(e.dragend,e),dragcancel:w(e.dragcancel,e)}),e._draggable.userEvents.stopPropagation=!1}var d=window.kendo,p=d.ui.Widget,c=d.ui.Popup.TabKeyTrap,h=d.ui.Draggable,f=t.isPlainObject,m=d._activeElement,g=d._outerWidth,u=d._outerHeight,w=t.proxy,_=t.extend,v=t.each,x=d.template,b="body",z=".kendoWindow",k=".kendoWindowModal",T=".k-window",y=".k-window-title",L=y+"bar",M=".k-window-content",P=".k-dialog-content",O=".k-resize-handle",W=".k-overlay",S="k-content-frame",H="k-i-loading",D="k-state-hover",I="k-state-focused",C="k-window-maximized",E=":visible",F="hidden",R="cursor",j="open",A="activate",N="deactivate",K="close",B="refresh",q="minimize",U="maximize",G="resizeStart",J="resize",V="resizeEnd",Q="dragstart",X="dragend",Y="error",$="overflow",Z="original-overflow-rule",tt="zIndex",it=".k-window-actions .k-i-window-minimize,.k-window-actions .k-i-window-maximize",et=".k-i-pin",nt=".k-i-unpin",ot=et+","+nt,st=".k-window-titlebar .k-window-action",rt=".k-window-titlebar .k-i-refresh",at="WindowEventsHandled",lt=/^0[a-z]*$/i,dt=d.isLocalUrl,pt={small:"k-window-sm",medium:"k-window-md",large:"k-window-lg"},ct=p.extend({init:function(n,o){var r,a,l,h,m,g,u,_,v,x=this,b={},k=!1,O=o&&o.actions&&!o.actions.length;p.fn.init.call(x,n,o),o=x.options,h=o.position,n=x.element,m=o.content,_=t(window),O&&(o.actions=[]),x.appendTo=t(o.appendTo),x.containment=o.draggable.containment?t(o.draggable.containment).first():null,m&&!f(m)&&(m=o.content={url:m}),n.find("script").filter(s).remove(),n.parent().is(x.appendTo)||x.containment||h.top!==i&&h.left!==i||(n.is(E)?(b=n.offset(),k=!0):(a=n.css("visibility"),l=n.css("display"),n.css({visibility:F,display:""}),b=n.offset(),n.css({visibility:a,display:l})),h.top===i&&(h.top=b.top),h.left===i&&(h.left=b.left)),e(o.visible)&&null!==o.visible||(o.visible=n.is(E)),r=x.wrapper=n.closest(T),n.is(".k-window-content")&&r[0]||(n.addClass("k-window-content"),x._createWindow(n,o),r=x.wrapper=n.closest(T),x.title(x.options.title),x._dimensions()),x.minTop=x.minLeft=-(1/0),x.maxTop=x.maxLeft=1/0,x._position(),m&&x.refresh(m),o.visible&&x.toFront(),g=r.children(M),x._tabindex(g),o.visible&&o.modal&&x._overlay(r.is(E)).css({opacity:.5}),r.on("mouseenter"+z,st,w(x._buttonEnter,x)).on("mouseleave"+z,st,w(x._buttonLeave,x)).on("click"+z,"> "+st,w(x._windowActionHandler,x)).on("keydown"+z,w(x._keydown,x)).on("focus"+z,w(x._focus,x)).on("blur"+z,w(x._blur,x)),g.on("key
462down"+z,w(x._keydown,x)).on("focus"+z,w(x._focus,x)).on("blur"+z,w(x._blur,x)),u=g.find("."+S)[0],u&&!_.data(at)&&(_.on("blur"+z,function(){var i,e=t(document.activeElement).parent(M);e.length&&(i=d.widgetInstance(e),i._focus())}),_.on("focus"+z,function(){t(M).not(P).each(function(i,e){d.widgetInstance(t(e))._blur()})}),_.data(at,!0)),this._resizable(),this._draggable(),o.pinned&&this.wrapper.is(":visible")&&x.pin(),v=n.attr("id"),v&&(v+="_wnd_title",r.children(L).children(y).attr("id",v),g.attr({role:"dialog","aria-labelledby":v})),r.add(r.children(".k-resize-handle,"+L)).on("mousedown"+z,w(x.toFront,x)),x.touchScroller=d.touchScroller(n),x._resizeHandler=w(x._onDocumentResize,x),x._marker=d.guid().substring(0,8),t(window).on("resize"+z+x._marker,x._resizeHandler),o.visible&&(x.trigger(j),x.trigger(A)),d.notify(x),this.options.modal&&(this._tabKeyTrap=new c(r),this._tabKeyTrap.trap(),this._tabKeyTrap.shouldTrap=function(){return g.data("isFront")})},_buttonEnter:function(i){t(i.currentTarget).addClass(D)},_buttonLeave:function(i){t(i.currentTarget).removeClass(D)},_focus:function(){this.wrapper.addClass(I)},_blur:function(){this.wrapper.removeClass(I)},_dimensions:function(){var t,i,e=this.wrapper,s=this.options,r=s.width,a=s.height,l=s.maxHeight,d=s.size,p=["minWidth","minHeight","maxWidth","maxHeight"],c="content-box"==e.css("box-sizing"),h=c?n(e,"border-left-width")+n(e,"border-right-width"):0,f=c?n(e,"border-top-width")+n(e,"border-bottom-width"):0,m=c?n(e,"padding-top"):0;for(this.containment&&!this._isPinned&&(this._updateBoundaries(),s.maxHeight=Math.min(this.containment.height-(f+m),l),s.maxWidth=Math.min(this.containment.width-h,s.maxWidth)),t=0;t<p.length;t++)i=s[p[t]]||"",i!=1/0&&e.css(p[t],i);l!=1/0&&this.element.css("maxHeight",l),e.width(r?o(r,s.minWidth,s.maxWidth):""),e.height(a?o(a,s.minHeight,s.maxHeight):""),s.visible||e.hide(),d&&pt[d]&&e.addClass(pt[d])},_position:function(){var t=this.wrapper,i=this.options.position;this._updateBoundaries(),this.containment&&(i.top=Math.min(this.minTop+(i.top||0),this.maxTop),i.left=Math.min(this.minLeft+(i.left||0),this.maxLeft)),0===i.top&&(i.top=""+i.top),0===i.left&&(i.left=""+i.left),t.css({top:i.top||"",left:i.left||""})},_updateBoundaries:function(){var t=this.containment;return t?(t.width=t.innerWidth(),t.height=t.innerHeight(),parseInt(t.width,10)>t[0].clientWidth&&(t.width-=d.support.scrollbar()),parseInt(t.height,10)>t[0].clientHeight&&(t.height-=d.support.scrollbar()),t.position=r(t[0]),this._isPinned?(this.minTop=this.minLeft=-(1/0),this.maxTop=this.maxLeft=1/0):(this.minTop=t.scrollTop(),this.minLeft=t.scrollLeft(),this.maxLeft=this.minLeft+t.width-g(this.wrapper,!0),this.maxTop=this.minTop+t.height-u(this.wrapper,!0)),i):null},_animationOptions:function(t){var i=this.options.animation,e={open:{effects:{}},close:{hide:!0,effects:{}}};return i&&i[t]||e[t]},_resize:function(){d.resize(this.element.children())},_resizable:function(){var i=this.options.resizable,e=this.wrapper;this.resizing&&(e.off("dblclick"+z).children(O).remove(),this.resizing.destroy(),this.resizing=null),i&&(e.on("dblclick"+z,L,w(function(i){t(i.target).closest(".k-window-action").length||this.toggleMaximization()},this)),v("n e s w se sw ne nw".split(" "),function(t,i){e.append(ht.resizeHandle(i))}),this.resizing=new a(this)),e=null},_draggable:function(){var t=this.options.draggable;this.dragging&&(this.dragging.destroy(),this.dragging=null),t&&(this.dragging=new l(this,t.dragHandle||L))},_actions:function(){var i=this.options,e=i.actions,n=i.pinned,o=this.wrapper.children(L),s=o.find(".k-window-actions"),r=["maximize","minimize"];e=t.map(e,function(t){return t=n&&"pin"===t.toLowerCase()?"unpin":t,{name:r.indexOf(t.toLowerCase())>-1?"window-"+t:t}}),s.html(d.render(ht.action,e))},setOptions:function(t){var e,n,o=this,s=o.options.size,r=JSON.parse(JSON.stringify(t));_(t.position,o.options.position),_(t.position,r.position),p.fn.setOptions.call(o,t),e=o.options.scrollable!==!1,o.restore(),i!==t.title&&o.title(t.title),o.wrapper.removeClass(pt[s]),o._dimensions(),o._position(),o._resizable(),o._draggable(),o._actions(),i!==t.modal&&(n=o.options.visible!==!1,o._enableDocumentScrolling(),o._overlay(t.modal&&n)
462),o.element.css($,e?"":"hidden")},events:[j,A,N,K,q,U,B,G,J,V,Q,X,Y],options:{name:"Window",animation:{open:{effects:{zoom:{direction:"in"},fade:{direction:"in"}},duration:350},close:{effects:{zoom:{direction:"out",properties:{scale:.7}},fade:{direction:"out"}},duration:350,hide:!0}},title:"",actions:["Close"],autoFocus:!0,modal:!1,size:"auto",resizable:!0,draggable:!0,minWidth:90,minHeight:50,maxWidth:1/0,maxHeight:1/0,pinned:!1,scrollable:!0,position:{},content:null,visible:null,height:null,width:null,appendTo:"body",isMaximized:!1,isMinimized:!1},_closable:function(){return t.inArray("close",t.map(this.options.actions,function(t){return t.toLowerCase()}))>-1},_keydown:function(t){var i,e,s,r,a,l,p=this,c=p.options,h=d.keys,f=t.keyCode,m=p.wrapper,g=10,u=c.isMaximized,w=c.isMinimized;f==h.ESC&&p._closable()&&(t.stopPropagation(),p._close(!1)),t.target!=t.currentTarget||p._closing||(t.altKey&&82==f&&p.refresh(),t.altKey&&80==f&&(p.options.pinned?p.unpin():p.pin()),t.altKey&&f==h.UP?w?(p.restore(),p.element.focus()):u||(p.maximize(),p.element.focus()):t.altKey&&f==h.DOWN&&(w||u?u&&(p.restore(),p.element.focus()):(p.minimize(),p.wrapper.focus())),i=d.getOffset(m),p.containment&&!p._isPinned&&(i=p.options.position),!c.draggable||t.ctrlKey||t.altKey||u||(p._updateBoundaries(),f==h.UP?(i.top=o(i.top-g,p.minTop,p.maxTop),e=m.css("top",i.top)):f==h.DOWN?(i.top=o(i.top+g,p.minTop,p.maxTop),e=m.css("top",i.top)):f==h.LEFT?(i.left=o(i.left-g,p.minLeft,p.maxLeft),e=m.css("left",i.left)):f==h.RIGHT&&(i.left=o(i.left+g,p.minLeft,p.maxLeft),e=m.css("left",i.left))),c.resizable&&t.ctrlKey&&!u&&!w&&(f==h.UP?(e=!0,r=m.height()-g):f==h.DOWN&&(e=!0,r=p.containment&&!p._isPinned?Math.min(m.height()+g,p.containment.height-i.top-n(m,"padding-top")-n(m,"borderBottomWidth")-n(m,"borderTopWidth")):m.height()+g),f==h.LEFT?(e=!0,s=m.width()-g):f==h.RIGHT&&(e=!0,s=p.containment&&!p._isPinned?Math.min(m.width()+g,p.containment.width-i.left-n(m,"borderLeftWidth")-n(m,"borderRightWidth")):m.width()+g),e&&(a=o(s,c.minWidth,c.maxWidth),l=o(r,c.minHeight,c.maxHeight),isNaN(a)||(m.width(a),p.options.width=a+"px"),isNaN(l)||(m.height(l),p.options.height=l+"px"),p.resize())),e&&t.preventDefault())},_overlay:function(i){var e=this.containment?this.containment.children(W):this.appendTo.children(W),n=this.wrapper;return e.length||(e=t("<div class='k-overlay' />")),e.insertBefore(n[0]).toggle(i).css(tt,parseInt(n.css(tt),10)-1),this.options.modal.preventScroll&&!this.containment&&this._stopDocumentScrolling(),e},_actionForIcon:function(t){var i=/\bk-i(-\w+)+\b/.exec(t[0].className)[0];return{"k-i-close":"_close","k-i-window-maximize":"maximize","k-i-window-minimize":"minimize","k-i-window-restore":"restore","k-i-refresh":"refresh","k-i-pin":"pin","k-i-unpin":"unpin"}[i]},_windowActionHandler:function(e){var n,o;if(!this._closing)return n=t(e.target).closest(".k-window-action").find(".k-icon"),o=this._actionForIcon(n),o?(e.preventDefault(),this[o](),!1):i},_modals:function(){var i=this,e=t(T).filter(function(){var e=t(this),n=i._object(e),o=n&&n.options;return o&&o.modal&&o.visible&&o.appendTo===i.options.appendTo&&e.is(E)}).sort(function(i,e){return+t(i).css("zIndex")-+t(e).css("zIndex")});return i=null,e},_object:function(t){var e=t.children(M),n=d.widgetInstance(e);return n?n:i},center:function(){var i,e,o=this,s=o.options.position,r=o.wrapper,a=t(window),l=0,d=0;return o.options.isMaximized?o:(o.options.pinned&&!o._isPinned&&o.pin(),o.options.pinned||(l=a.scrollTop(),d=a.scrollLeft()),this.containment&&!o.options.pinned?(i=this.minTop+(this.maxTop-this.minTop)/2,e=this.minLeft+(this.maxLeft-this.minLeft)/2):(o._scrollIsAppended=!0,e=d+Math.max(0,(a.width()-r.width())/2),i=l+Math.max(0,(a.height()-r.height()-n(r,"paddingTop"))/2)),r.css({left:e,top:i}),s.top=i,s.left=e,o)},title:function(e){var n,o,s,r,a=this,l=!0,p=a.wrapper,c=p.children(L),h=c.children(y);return arguments.length?(t.isPlainObject(e)?(n=i!==e.text?e.text:"",l=e.encoded!==!1):n=e,n===!1?(p.addClass("k-window-titleless"),p.css("padding-top",0),c.remove()):(c.length?h.html(l?d.htmlEncode(n):n):(p.prepend(ht.titlebar({title:l?d.htmlEncode(n):n})),a._actions(),c=p.children(L)),r=p.css("visibility"),s=p.css("display"),r===F?(p.css({display:""}),o=parseInt(u(c),10),p.css({display:s})):(p.css({visibility:F,display:""}),o=parseInt(u(c),10),p.css({visibility:r,display:s})),p.css("padding-top",o),c.css("margin-top",-o)),a.options.title=n,a):h.html()},content:function(t,i){var n=this.wrapper.children(M),o=n.children(".km-scroll-container");return n=o[0]?o:n,e(t)?(this.angular("cleanup",function(){return{elements:n.children()}}),d.destroy(this.element.children()),n.empty().html(t),this.angular("compile",function(){var t,e=[];for(t=n.length;--t>=0;)e.push({dataItem:i});return{elements:n.children(),data:e}}),this):n.html()},open:function(){var i,e,n,o=this,s=o.wrapper,r=o.options,a=this._animationOptions("open"),l=s.children(M),p=this.containment&&!o._isPinned,c=p?this.containment:t(document);return o.trigger(j)||(o._closing&&s.kendoStop(!0,!0),o._closing=!1,o.toFront(),r.autoFocus&&o.element.focus(),r.visible=!0,r.modal&&(e=!!o._modals().length,i=o._overlay(e),i.kendoStop(!0,!0),a.duration&&d.effects.Fade&&!e?(n=d.fx(i).fadeIn(),n.duration(a.duration||0),n.endValue(.5),n.play()):i.css("opacity",.5),i.show(),t(window).on("focus"+k,function(){l.data("isFront")&&!t(document.activeElement).closest(l).length&&o.element.focus()})),s.is(E)||(l.css($,F),o.wrapper.find(st).addClass("k-flat"),s.show().kendoStop().kendoAnimate({effects:a.effects,duration:a.duration,complete:w(this._activate,this)}))),r.isMaximized&&(o._containerScrollTop=c.scrollTop(),o._containerScrollLeft=c.scrollLeft(),o._stopDocumentScrolling()),this.options.pinned&&!this._isPinned&&this.pin(),o},_activate:function(){var t=this.options.scrollable!==!1;this.options.autoFocus&&this.element.focus(),this.element.css($,t?"":"hidden"),d.resize(this.element.children()),this.trigger(A)},_removeOverlay:function(e){var n,o=this._modals(),s=this.options,r=s.modal&&!o.length,a=s.modal?this._overlay(!0):t(i),l=this._animationOptions("close");r?(!e&&l.duration&&d.effects.Fade?(n=d.fx(a).fadeOut(),n.duration(l.duration||0),n.startValue(.5),n.play()):this._overlay(!1).remove(),s.modal.preventScroll&&this._enableDocumentScrolling()):o.length&&(this._object(o.last())._overlay(!0),s.modal.preventScroll&&this._stopDocumentScrolling())},_close:function(i){var e,n=this,o=n.wrapper,s=n.options,r=this._animationOptions("open"),a=this._animationOptions("close"),l=this.containment&&!n._isPinned,d=l?this.containment:t(document);n._closing||(e=n.trigger(K,{userTriggered:!i}),n._closing=!e,o.is(E)&&!e&&(s.visible=!1,t(T).each(function(i,e){var n=t(e).children(M);e!=o&&n.find("> ."+S).length>0&&n.children(W).remove()}),this._removeOverlay(),n.wrapper.find(st).removeClass("k-flat"),o.kendoStop().kendoAnimate({effects:a.effects||r.effects,reverse:a.reverse===!0,duration:a.duration,complete:w(this._deactivate,this)}),t(window).off(k)),n.options.isMaximized&&(n._enableDocumentScrolling(),n._containerScrollTop&&n._containerScrollTop>0&&d.scrollTop(n._containerScrollTop),n._containerScrollLeft&&n._containerScrollLeft>0&&d.scrollLeft(n._containerScrollLeft)))},_deactivate:function(){var t,i=this;i.wrapper.hide().css("opacity",""),i.trigger(N),i.options.modal&&(t=i._object(i._modals().last(
462)),t&&t.toFront())},close:function(){return this._close(!0),this},_actionable:function(i){return t(i).is(st+","+st+" .k-icon,:input,a")},_shouldFocus:function(i){var e=m(),n=this.element;return this.options.autoFocus&&!t(e).is(n)&&!this._actionable(i)&&(!n.find(e).length||!n.find(i).length)},toFront:function(i){var e,n,o=this,s=o.wrapper,r=s[0],a=o.containment&&!o._isPinned,l=+s.css(tt),d=l,p=i&&i.target||null;return t(T).each(function(i,e){var n=t(e),o=n.css(tt),s=n.children(M);isNaN(o)||(l=Math.max(+o,l)),s.data("isFront",e==r),e!=r&&s.find("> ."+S).length>0&&s.append(ht.overlay)}),(!s[0].style.zIndex||d<l)&&s.css(tt,l+2),o.element.find("> .k-overlay").remove(),o._shouldFocus(p)&&(o.isMinimized()?o.wrapper.focus():t(p).is(W)?setTimeout(function(){o.element.focus()}):o.element.focus(),e=a?o.containment.scrollTop():t(window).scrollTop(),n=parseInt(s.position().top,10),!o.options.pinned&&n>0&&n<e&&(e>0?t(window).scrollTop(n):s.css("top",e))),s=null,o},toggleMaximization:function(){return this._closing?this:this[this.options.isMaximized?"restore":"maximize"]()},restore:function(){var i,e=this,n=e.options,s=n.minHeight,r=e.restoreOptions,a=e.containment&&!e._isPinned?e.containment:t(document);return n.isMaximized||n.isMinimized?(s&&s!=1/0&&e.wrapper.css("min-height",s),r&&!n.isMaximized&&(r.height=o(r.height,e.options.minHeight,e.options.maxHeight),i=n.position.top+parseInt(r.height,10)>e.maxTop,i&&(n.position.top=o(n.position.top,e.minTop,e.maxTop-parseInt(r.height,10)),_(r,{left:n.position.left,top:n.position.top}))),e.wrapper.css({position:n.pinned?"fixed":"absolute",left:r.left,top:r.top,width:r.width,height:r.height}).removeClass(C).find(".k-window-content,.k-resize-handle").show().end().find(".k-window-titlebar .k-i-window-restore").parent().remove().end().end().find(it).parent().show().end().end().find(ot).parent().show(),n.isMaximized?e.wrapper.find(".k-i-window-maximize").parent().focus():n.isMinimized&&e.wrapper.find(".k-i-window-minimize").parent().focus(),e.options.width=r.width,e.options.height=r.height,e.options.modal.preventScroll||e._enableDocumentScrolling(),e._containerScrollTop&&e._containerScrollTop>0&&a.scrollTop(e._containerScrollTop),e._containerScrollLeft&&e._containerScrollLeft>0&&a.scrollLeft(e._containerScrollLeft),n.isMaximized=n.isMinimized=!1,e.wrapper.removeAttr("tabindex"),e.wrapper.removeAttr("aria-labelled-by"),e.resize(),e):e},_sizingAction:function(t,i){var e=this,n=e.wrapper,o=n[0].style,s=e.options;return s.isMaximized||s.isMinimized?e:(e.restoreOptions={width:o.width,height:o.height},n.children(O).hide().end().children(L).find(it).parent().hide().eq(0).before(ht.action({name:"window-restore"})),i.call(e),e.wrapper.children(L).find(ot).parent().toggle("maximize"!==t),e.trigger(t),n.find(".k-i-window-restore").parent().focus(),e)},maximize:function(){return this._sizingAction("maximize",function(){var i=this,e=i.wrapper,n=this.containment&&!i._isPinned,o=e.position(),s=t(document);_(i.restoreOptions,{left:o.left+(n?this.containment.scrollLeft():0),top:o.top+(n?this.containment.scrollTop():0)}),this._containerScrollTop=n?this.containment.scrollTop():s.scrollTop(),this._containerScrollLeft=n?this.containment.scrollLeft():s.scrollLeft(),i._stopDocumentScrolling(),e.css({top:n?this.containment.scrollTop():0,left:n?this.containment.scrollLeft():0,position:n?"absolute":"fixed"}).addClass(C),i.options.isMaximized=!0,i._onDocumentResize()}),this},_stopDocumentScrolling:function(){var e,n,o=this,s=o.containment;return s&&!o._isPinned?(o._storeOverflowRule(s),s.css($,F),o.wrapper.css({maxWidth:s.innerWidth(),maxHeight:s.innerHeight()}),i):(e=t("body"),o._storeOverflowRule(e),e.css($,F),n=t("html"),o._storeOverflowRule(n),n.css($,F),i)},_enableDocumentScrolling:function(){var e=this,n=e.containment;return n&&!e._isPinned?(e._restoreOverflowRule(n),e.wrapper.css({maxWidth:n.width,maxHeight:n.height}),i):(e._restoreOverflowRule(t(document.body)),e._restoreOverflowRule(t("html")),i)},_storeOverflowRule:function(t){if(!this._isOverflowStored(t)){var i=t.get(0).style.overflow;"string"==typeof i&&t.data(Z,i)}},_isOverflowStored:function(t){return"string"==typeof t.data(Z)},_restoreOverflowRule:function(t){var e=t.data(Z);null!==e&&e!==i?(t.css($,e),t.removeData(Z)):t.css($,"")},isMaximized:function(){return this.options.isMaximized},minimize:function(){return this._sizingAction("minimize",function(){var t=this;t.wrapper.css({height:"",minHeight:""}),t.element.hide(),t.options.isMinimized=!0}),this.wrapper.attr("tabindex",0),this.wrapper.attr("aria-labelled-by",this.element.attr("aria-labelled-by")),this._updateBoundaries(),this},isMinimized:function(){return this.options.isMinimized},pin:function(){var i=this,e=t(window),o=i.wrapper,s=i.options,a=s.position,l=this.containment?r(o[0]).top+n(this.containment,"borderTopWidth"):n(o,"top"),d=this.containment?r(o[0]).left+n(this.containment,"borderLeftWidth"):n(o,"left");i.options.isMaximized||(a.top=l,a.left=d,!i._scrollIsAppended||this.containment&&"fixed"===this.containment.css("position")||(a.top-=e.scrollTop(),a.left-=e.scrollLeft(),i._scrollIsAppended=!1),o.css(_(a,{position:"fixed"})),o.children(L).find(et).addClass("k-i-unpin").removeClass("k-i-pin"),i._isPinned=!0,i.options.pinned=!0,this.containment&&(s.maxWidth=s.maxHeight=1/0,o.css({maxWidth:"",maxHeight:""})))},unpin:function(){var i=this,e=t(window),s=i.wrapper,r=i.options,a=i.options.position,l=i.containment,d=parseInt(s.css("top"),10)+e.scrollTop(),p=parseInt(s.css("left"),10)+e.scrollLeft();i.options.isMaximized||(i._isPinned=!1,i._scrollIsAppended=!0,i.options.pinned=!1,l&&(i._updateBoundaries(),r.maxWidth=Math.min(l.width,r.maxWidth),r.maxHeight=Math.min(l.height-n(s,"padding-top"),r.maxHeight),s.css({maxWidth:r.maxWidth,maxHeight:r.maxHeight}),d=d<l.position.top?i.minTop:d>l.position.top+l.height?i.maxTop:d+l.scrollTop()-(l.position.top+n(l,"border-top-width")),p=p<l.position.left?i.minLeft:p>l.position.left+l.width?i.maxLeft:p+l.scrollLeft()-(l.position.left+n(l,"border-left-width"))),a.top=o(d,i.minTop,i.maxTop),a.left=o(p,i.minLeft,i.maxLeft),s.css(_(a,{position:""})),s.children(L).find(nt).addClass("k-i-pin").removeClass("k-i-unpin"))},_onDocumentResize:function(){var i,e,o,s,r,a=this,l=a.wrapper,p=t(window),c=d.support.zoomLevel(),h="content-box"==l.css("box-sizing");a.options.isMaximized&&(o=h?n(l,"border-left-width")+n(l,"border-right-width"):0,s=h?n(l,"border-top-width")+n(l,"border-bottom-width"):0,r=h?n(l,"padding-top"):0,a.containment&&!a._isPinned?(i=a.containment.innerWidth()-o,e=a.containment.innerHe
462ight()-(s+r)):(i=p.width()/c-o,e=p.height()/c-(s+r)),l.css({width:i,height:e}),a.options.width=i,a.options.height=e,a.resize())},refresh:function(i){var n,o,s,r=this,a=r.options,l=t(r.element);return f(i)||(i={url:i}),i=_({},a.content,i),o=e(a.iframe)?a.iframe:i.iframe,s=i.url,s?(e(o)||(o=!dt(s)),o?(n=l.find("."+S)[0],n?n.src=s||n.src:l.html(ht.contentFrame(_({},a,{content:i}))),l.find("."+S).unbind("load"+z).on("load"+z,w(this._triggerRefresh,this))):r._ajaxRequest(i)):(i.template&&r.content(x(i.template)({})),r.trigger(B)),l.toggleClass("k-window-iframecontent",!!o),r},_triggerRefresh:function(){this.trigger(B)},_ajaxComplete:function(){clearTimeout(this._loadingIconTimeout),this.wrapper.find(rt).removeClass(H)},_ajaxError:function(t,i){this.trigger(Y,{status:i,xhr:t})},_ajaxSuccess:function(t){return function(i){var e=i;t&&(e=x(t)(i||{})),this.content(e,i),this.element.prop("scrollTop",0),this.trigger(B)}},_showLoading:function(){this.wrapper.find(rt).addClass(H)},_ajaxRequest:function(i){this._loadingIconTimeout=setTimeout(w(this._showLoading,this),100),t.ajax(_({type:"GET",dataType:"html",cache:!1,error:w(this._ajaxError,this),complete:w(this._ajaxComplete,this),success:w(this._ajaxSuccess(i.template),this)},i))},_destroy:function(){this.resizing&&this.resizing.destroy(),this.dragging&&this.dragging.destroy(),this.wrapper.off(z).children(M).off(z).end().find(".k-resize-handle,.k-window-titlebar").off(z),t(window).off("resize"+z+this._marker),t(window).off(k),t(window).off(z),clearTimeout(this._loadingIconTimeout),p.fn.destroy.call(this),this.unbind(i),d.destroy(this.wrapper),this._removeOverlay(!0)},destroy:function(){this._destroy(),this.wrapper.empty().remove(),this.wrapper=this.appendTo=this.element=t()},_createWindow:function(){var i,e,n=this.element,o=this.options,s=d.support.isRtl(n);o.scrollable===!1&&n.css("overflow","hidden"),e=t(ht.wrapper(o)),i=n.find("iframe:not(.k-content-frame)").map(function(){var t=this.getAttribute("src");return this.src="",t}),e.toggleClass("k-rtl",s).append(n).find("iframe:not(.k-content-frame)").each(function(t){this.src=i[t]}),this.containment?this.containment.prepend(e):this.appendTo&&e.appendTo(this.appendTo),e.find(".k-window-title").css(s?"left":"right",g(e.find(".k-window-actions"))+10),n.css("visibility","").show(),n.find("[data-role=editor]").each(function(){var i=t(this).data("kendoEditor");i&&i.refresh()}),e=n=null}}),ht={wrapper:x("<div class='k-widget k-window'></div>"),action:x("<a role='button' href='\\#' class='k-button k-flat k-button-icon k-window-action' aria-label='#= name #'><span class='k-icon k-i-#= name.toLowerCase() #'></span></a>"),titlebar:x("<div class='k-window-titlebar'><span class='k-window-title'>#= title #</span><div class='k-window-actions'></div></div>"),overlay:"<div class='k-overlay'></div>",contentFrame:x("<iframe frameborder='0' title='#= title #' class='"+S+"' src='#= content.url #'>This page requires frames in order to show content</iframe>"),resizeHandle:x("<div class='k-resize-handle k-resize-#= data #'></div>")};a.prototype={addOverlay:function(){this.owner.wrapper.append(ht.overlay)},removeOverlay:function(){this.owner.wrapper.find(W).remove()},dragstart:function(i){var e,n,o,s,a,l,p,c=this,h=c.owner,f=h.wrapper;c._preventDragging=h.trigger(G),c._preventDragging||(c.elementPadding=parseInt(f.css("padding-top"),10),c.initialPosition=d.getOffset(f,"position"),c.resizeDirection=i.currentTarget.prop("className").replace("k-resize-handle k-resize-",""),c.initialSize={width:f.width(),height:f.height()},h._updateBoundaries(),c.containerOffset=h.containment?h.containment.position:d.getOffset(h.appendTo,"position"),e=f.offsetParent(),e.is("html")?c.containerOffset.top=c.containerOffset.left=0:(n=e.css("margin-top"),o=e.css("margin-left"),s=!lt.test(n)||!lt.test(o),s&&(a=r(f[0]),l=a.left-c.containerOffset.left-c.initialPosition.left,p=a.top-c.containerOffset.top-c.initialPosition.top,c._relativeElMarginLeft=l>1?l:0,c._relativeElMarginTop=p>1?p:0,c.initialPosition.left+=c._relativeElMarginLeft,c.initialPosition.top+=c._relativeElMarginTop)),f.children(O).not(i.currentTarget).hide(),t(b).css(R,i.currentTarget.css(R)))},drag:function(i){var e,n,s,r,a,l,p,c,h,f,m,g,u,w,_,v,x,b,z,k;this._preventDragging||(e=this,n=e.owner,s=n.wrapper,r=n.options,a=r.position,l=e.resizeDirection,p=e.containerOffset,c=e.initialPosition,h=e.initialSize,f
462=n.containment&&!n._isPinned,m=d.support.isRtl(n.containment),g=f&&m&&n.containment.innerWidth()>n.containment.width?d.support.scrollbar():0,u=f?{top:n.containment.scrollTop(),left:n.containment.scrollLeft()}:{top:0,left:0},b=Math.max(i.x.location,0),z=Math.max(i.y.location,0),l.indexOf("e")>=0?(w=n.containment&&b-h.width>=n.maxLeft-u.left+p.left+g?n.maxLeft+g-c.left+h.width-u.left:b-c.left-p.left,s.width(o(w,r.minWidth,r.maxWidth))):l.indexOf("w")>=0&&(x=c.left+h.width+p.left,w=o(x-b,r.minWidth,r.maxWidth),a.left=x-w-p.left-g-(e._relativeElMarginLeft||0)+u.left,n.containment&&a.left<=n.minLeft&&(a.left=n.minLeft,w=o(x-g-a.left-p.left+u.left,r.minWidth,r.maxWidth)),s.css({left:a.left,width:w})),k=z,n.options.pinned&&(k-=t(window).scrollTop()),l.indexOf("s")>=0?(_=k-c.top-e.elementPadding-p.top,k-h.height-e.elementPadding>=n.maxTop+p.top-u.top&&(_=n.maxTop-c.top+h.height-u.top),s.height(o(_,r.minHeight,r.maxHeight))):l.indexOf("n")>=0&&(v=c.top+h.height+p.top,_=o(v-k,r.minHeight,r.maxHeight),a.top=v-_-p.top-(e._relativeElMarginTop||0)+u.top,a.top<=n.minTop&&n.containment&&(a.top=n.minTop,_=o(v-a.top-p.top+u.top,r.minHeight,r.maxHeight)),s.css({top:a.top,height:_})),w&&(n.options.width=w+"px"),_&&(n.options.height=_+"px"),n.resize())},dragend:function(i){if(!this._preventDragging){var e=this,n=e.owner,o=n.wrapper;return o.children(O).not(i.currentTarget).show(),t(b).css(R,""),n.touchScroller&&n.touchScroller.reset(),27==i.keyCode&&o.css(e.initialPosition).css(e.initialSize),n.trigger(V),!1}},destroy:function(){this._draggable&&this._draggable.destroy(),this._draggable=this.owner=null}},l.prototype={dragstart:function(i){var e=this.owner,n=e.options.draggable,o=e.element,s=o.find(".k-window-actions"),r=d.getOffset(e.appendTo);this._preventDragging=e.trigger(Q)||!n,this._preventDragging||e.isMaximized()||(e.initialWindowPosition=d.getOffset(e.wrapper,"position"),e.initialPointerPosition={left:e.options.position.left,top:e.options.position.top},e.startPosition={left:i.x.client-e.initialWindowPosition.left,top:i.y.client-e.initialWindowPosition.top},e._updateBoundaries(),e.containment||(e.minLeft=s.length>0?g(s)+parseInt(s.css("right"),10)-g(o):20-g(o),e.minLeft-=r.left,e.minTop=-r.top),e.wrapper.append(ht.overlay).children(O).hide(),t(b).css(R,i.currentTarget.css(R)))},drag:function(i){var e,n,s=this.owner,r=s.options.position,a=s.options.draggable.axis;this._preventDragging||s.isMaximized()||(a&&"x"!==a.toLowerCase()||(e=i.x.client-s.startPosition.left,s.containment&&!s._isPinned&&(e+=s.containment.scrollLeft()),r.left=o(e,s.minLeft,s.maxLeft)),a&&"y"!==a.toLowerCase()||(n=i.y.client-s.startPosition.top,s.containment&&!s._isPinned&&(n+=s.containment.scrollTop()),r.top=o(n,s.minTop,s.maxTop)),d.support.transforms?t(s.wrapper).css("transform","translate("+(r.left-s.initialPointerPosition.left)+"px, "+(r.top-s.initialPointerPosition.top)+"px)"):t(s.wrapper).css(r))},_finishDrag:function(){var i=this.owner;i.wrapper.children(O).toggle(!i.options.isMinimized).end().find(W).remove(),t(b).css(R,"")},dragcancel:function(t){this._preventDragging||(this._finishDrag(),t.currentTarget.closest(T).css(this.owner.initialWindowPosition))},dragend:function(){var i=this.owner;if(!this._preventDragging&&!i.isMaximized())return t(i.wrapper).css(i.options.position).css("transform",""),this._finishDrag(),i.trigger(X),!1},destroy:function(){this._draggable&&this._draggable.destroy(),this._draggable=this.owner=null}},d.ui.plugin(ct)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,i,e){(e||i)()});
463//# sourceMappingURL=kendo.window.min.js.map
464
465/** 
466 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
467 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
468 *                                                                                                                                                                                                      
469 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
470 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
471 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
472                                                                                                                                                                                                       
473                                                                                                                                                                                                       
474                                                                                                                                                                                                       
475                                                                                                                                                                                                       
476                                                                                                                                                                                                       
477                                                                                                                                                                                                       
478                                                                                                                                                                                                       
479                                                                                                                                                                                                       
480                                                                                                                                                                                                       
481                                                                                                                                                                                                       
482                                                                                                                                                                                                       
483                                                                                                                                                                                                       
484                                                                                                                                                                                                       
485                                                                                                                                                                                                       
486                                                                                                                                                                                                       
487
488*/
489!function(e,define){define("kendo.calendar.min",["kendo.core.min","kendo.selectable.min"],e)}(function(){return function(e,t){function a(e,t,a,n){var l,r=e.getFullYear(),i=t.getFullYear(),s=a.getFullYear();return r-=r%n,l=r+(n-1),r<i&&(r=i),l>s&&(l=s),r+"-"+l}function n(e){var t,a=0,n=e.min,l=e.max,r=e.start,i=e.setter,o=e.build,c=e.weekNumberBuild,u=e.cells||12,d=e.isWeekColumnVisible,f=e.perRow||4,g=e.otherMonth,_=e.lastDayOfMonth,h=e.weekNumber||j,m=e.content||z,p=e.empty||U,k=e.otherMonthCellTemplate||q,b=e.html||'<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><tbody><tr role="row">';for(d&&(b+=h(c(r)));a<u;a++)a>0&&a%f===0&&(b+='</tr><tr role="row">',d&&(b+=h(g||+r<=+_?c(r):{weekNumber:"&nbsp;"}))),r=v(r.getFullYear(),r.getMonth(),r.getDate()),V(r,0),t=o(r,a,e.disableDates),b+=t.cssClass.indexOf(ue)===-1||g?s(r,n,l)?m(t):p(t):k(t),i(r,1);return b+"</tr></tbody></table>"}function l(e,t,a){var n=e.getFullYear(),l=t.getFullYear(),r=l,i=0;
489return a&&(l-=l%a,r=l-l%a+a-1),n>r?i=1:n<l&&(i=-1),i}function r(){var e=new Oe;return new Oe(e.getFullYear(),e.getMonth(),e.getDate())}function i(e,t,a){var n=r();return e&&(n=new Oe((+e))),t>n?n=new Oe((+t)):a<n&&(n=new Oe((+a))),n}function s(e,t,a){return+e>=+t&&+e<=+a}function o(e,t){return e.slice(t).concat(e.slice(0,t))}function c(e,t,a){t=t instanceof Oe?t.getFullYear():e.getFullYear()+a*t,e.setFullYear(t)}function u(e,t){var a,n,l;return+t<+e&&(a=+e,T.views[0].setDate(e,t),T.views[0].setDate(t,new Date(a))),n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),l=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()),Math.ceil((+l-+n)/x.date.MS_PER_DAY)}function d(e,t,a,n){var l,r;for(l=0;l<=t;l++)r=new Date(a.getTime()),r=new Date(r.setDate(r.getDate()+l)),n(r)||e.push(r)}function f(t){var a=e(this).hasClass("k-state-disabled");a||e(this).toggleClass(se,we.indexOf(t.type)>-1||t.type==ke)}function g(e){e.preventDefault()}function v(e,t,a){var n=new Oe(e,t,a);return n.setFullYear(e,t,a),n}function _(e){return I(e).calendars.standard}function h(e){var a=Ve[e.start],n=Ve[e.depth],l=I(e.culture);e.format=E(e.format||l.calendars.standard.patterns.d),isNaN(a)&&(a=0,e.start=ae),(n===t||n>a)&&(e.depth=ae),null===e.dates&&(e.dates=[])}function m(e){K&&e.find("*").attr("unselectable","on")}function p(e,t){e.addClass("k-"+t)}function k(e,t){for(var a=0,n=t.length;a<n;a++)if(e===+t[a])return!0;return!1}function b(e,t){return!!e&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}function w(e,t){return!!e&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth())}function D(t){return x.isFunction(t)?t:e.isArray(t)?S(t):e.noop}function y(e){var t,a=[];for(t=0;t<e.length;t++)a.push(e[t].setHours(0,0,0,0));return a}function S(t){var a,n,l,r,i,s=[],o=["su","mo","tu","we","th","fr","sa"],c="if (found) { return true } else {return false}";if(t[0]instanceof Oe)s=y(t),a="var found = date && window.kendo.jQuery.inArray(date.setHours(0, 0, 0, 0),["+s+"]) > -1;"+c;else{for(l=0;l<t.length;l++)r=t[l].slice(0,2).toLowerCase(),i=e.inArray(r,o),i>-1&&s.push(i);a="var found = date && window.kendo.jQuery.inArray(date.getDay(),["+s+"]) > -1;"+c}return n=Function("date",a)}function C(e,t){return e instanceof Date&&t instanceof Date&&(e=e.getTime(),t=t.getTime()),e===t}function F(t){var a=e(t).attr(x.attr(ie)).split("/");return a=v(a[0],a[1],a[2])}var T,x=window.kendo,M=x.support,Y=x.ui,A=Y.Widget,N=x.keys,O=x.parseDate,V=x.date.adjustDST,B=x.date.weekInYear,H=x.ui.Selectable,E=x._extractFormat,W=x.template,I=x.getCulture,P=x.support.transitions,R=P?P.css+"transform-origin":"",z=W('<td#=data.cssClass# role="gridcell"><a tabindex="-1" class="k-link" href="\\#" data-#=data.ns#value="#=data.dateString#">#=data.value#</a></td>',{useWithBlock:!1}),U=W('<td role="gridcell" class="k-out-of-range"><a class="k-link"></a></td>',{useWithBlock:!1}),q=W('<td role="gridcell" class="k-out-of-range">&nbsp;</td>',{useWithBlock:!1}),j=W('<td class="k-alt">#= data.weekNumber #</td>',{useWithBlock:!1}),G=x.support.browser,K=G.msie&&G.version<9,L=x._outerWidth,Q=".kendoCalendar",J="click"+Q,X="keydown"+Q,Z="id",$="min",ee="left",te="slideIn",ae="month",ne="century",le="change",re="navigate",ie="value",se="k-state-hover",oe="k-state-disabled",ce="k-state-focused",ue="k-other-month",de=' class="'+ue+'"',fe="k-out-of-range",ge="k-nav-today",ve="td:has(.k-link)",_e="td:has(.k-link):not(."+oe+"):not(."+fe+")",he="td:not(:has(.k-link))",me="k-state-selected",pe="blur"+Q,ke="focus",be=ke+Q,we=M.touch?"touchstart":"mouseenter",De=M.touch?"touchstart"+Q:"mouseenter"+Q,ye=M.touch?"touchend"+Q+" touchmove"+Q:"mouseleave"+Q,Se=6e4,Ce=864e5,Fe="_prevArrow",Te="_nextArrow",xe="aria-disabled",Me="aria-selected",Ye="aria-label",Ae=e.proxy,Ne=e.extend,Oe=Date,Ve={month:0,year:1,decade:2,century:3},Be=".k-header, .k-calendar-header",He='<div class="k-header"><a href="#" '+x.attr("action")+'="prev" role="button" class="k-link k-nav-prev" '+Ye+'="Previous"><span class="k-icon k-i-arrow-60-left"></span></a>
489<a href="#" '+x.attr("action")+'="nav-up" role="button" aria-live="assertive" aria-atomic="true" class="k-link k-nav-fast"></a><a href="#" '+x.attr("action")+'="next" role="button" class="k-link k-nav-next" '+Ye+'="Next"><span class="k-icon k-i-arrow-60-right"></span></a></div>',Ee='<div class="k-calendar-header"><a href="#" '+x.attr("action")+'="nav-up" role="button" aria-live="assertive" aria-atomic="true" class="k-button k-title"></a><span class="k-calendar-nav"><a '+x.attr("action")+'="prev" class="k-button k-button-icon k-prev-view"><span class="k-icon k-i-arrow-60-left"></span></a><a '+x.attr("action")+'="today" class="k-today">Today</a><a '+x.attr("action")+'="next" class="k-button k-button-icon k-next-view"><span class="k-icon k-i-arrow-60-right"></span></a></span></div>',We=A.extend({init:function(t,a){var n,l,s=this;a=a||{},a.componentType=a.componentType||"classic",A.fn.init.call(s,t,a),t=s.wrapper=s.element,a=s.options,a.url=x.unescape(a.url),s.options.disableDates=D(s.options.disableDates),s._templates(),s._selectable(),s._header(),s._viewWrapper(),s.options.hasFooter&&s._footer(s.footer),l=t.addClass("k-widget k-calendar "+(a.weekNumber?" k-week-number":"")).on(De+" "+ye,ve,f).on(X,"table.k-content",Ae(s._move,s)).on(J+" touchend",ve,function(t){var n=t.currentTarget.firstChild,l=F(n);n.href.indexOf("#")!=-1&&t.preventDefault(),"month"==s._view.name&&s.options.disableDates(l)||"month"==s._view.name&&"single"!=a.selectable||s._click(e(n))}).on("mouseup"+Q,"table.k-content, .k-footer",function(){s._focusView(s.options.focusOnNav!==!1)}).attr(Z),l&&(s._cellID=l+"_cell_selected"),s._isMultipleSelection()&&s.options.weekNumber&&t.on(J,he,function(t){var a=e(t.currentTarget).closest("tr").find(_e).first(),n=s.selectable._lastActive=e(t.currentTarget).closest("tr").find(_e).last();s.selectable.selectRange(a,n,{event:t}),s._current=s._value=F(n.find("a")),s._class(ce,s._current)}),h(a),n=O(a.value,a.format,a.culture),s._selectDates=[],s._index=Ve[a.start],s._current=new Oe((+i(n,a.min,a.max))),s._addClassProxy=function(){if(s._active=!0,s._cell.hasClass(oe)){var e=s._view.toDateString(r());s._cell=s._cellByDate(e)}s._cell.addClass(ce)},s._removeClassProxy=function(){s._active=!1,s._cell.removeClass(ce)},s.value(n),s._isMultipleSelection()&&a.selectDates.length>0&&s.selectDates(a.selectDates),x.notify(s)},options:{name:"Calendar",value:null,min:new Oe(1900,0,1),max:new Oe(2099,11,31),dates:[],disableDates:null,url:"",culture:"",footer:"",format:"",month:{},weekNumber:!1,selectable:"single",selectDates:[],start:ae,depth:ae,animation:{horizontal:{effects:te,reverse:!0,duration:500,divisor:2},vertical:{effects:"zoomIn",duration:400}},messages:{weekColumnHeader:""}},events:[le,re],componentTypes:{classic:{header:{template:He},hasFooter:!0,linksSelector:".k-link",contentClasses:"k-content"},modern:{header:{template:Ee},hasFooter:!1,linksSelector:".k-button",contentClasses:"k-content k-calendar-content"}},setOptions:function(e){var t=this;h(e),e.disableDates=D(e.disableDates),t._destroySelectable(),A.fn.setOptions.call(t,e),t._templates(),t._selectable(),t._viewWrapper(),t.options.hasFooter?t._footer(t.footer):t.element.find(".k-footer").hide(),t._index=Ve[t.options.start],t.navigate(),e.weekNumber&&t.element.addClass("k-week-number")},destroy:function(){var e=this,t=e._today;e.element.off(Q),e._title.off(Q),e[Fe].off(Q),e[Te].off(Q),e._destroySelectable(),x.destroy(e._table),t&&x.destroy(t.off(Q)),A.fn.destroy.call(e)},current:function(){return this._current},view:function(){return this._view},focus:function(e){e=e||this._table,this._bindTable(e),e.trigger("focus")},min:function(e){return this._option($,e)},max:function(e){return this._option("max",e)},navigateToPast:function(){this._navigate(Fe,-1)},navigateToFuture:function(){this._navigate(Te,1)},navigateUp:function(){var e=this,t=e._index;e._title.hasClass(oe)||e.navigate(e._current,++t)},navigateDown:function(e){var a=this,n=a._index,l=a.options.depth;if(e)return n===Ve[l]?(C(a._value,a._current)&&C(a._value,e)||(a.value(e),a.trigger(le)),t):(a.navigate(e,--n),t)},navigate:function(a,n){var l,r,s,o,c,u,d,f,g,v,_,h,k,b,w,D,y;n=isNaN(n)?Ve[n]:n,l=this,r=l.options,s=r.culture,o=r.min,c=r.max,u=l._title,d=l._table,f=l._oldTable,g=l._current,v=a&&+a>+g,_=n!==t&&n!==l._index,D=l.element.children(".k-calendar-view"),a||(a=g),l._current=a=new Oe((+i(a,o,c))),n===t?n=l._index:l._index=n,l._view=k=T.views[n],b=k.compare,w=n===Ve[ne],u.toggleClass(oe,w).attr(xe,w),w=b(a,o)<1,l[Fe].toggleClass(oe,w).attr(xe,w),l[Fe].hasClass(oe)&&l[Fe].removeClass(se),w=b(a,c)>-1,l[Te].toggleClass(oe,w).attr(xe,w),l[Te].hasClass(oe)&&l[Te].removeClass(se),d&&f&&f.data("animating")&&(f.kendoStop(!0,!0),d.kendoStop(!0,!0)),l._oldTable=d,d&&!l._changeView||(u.html(k.title(a,o,c,s)),l._table=h=e(k.content(Ne({min:o,max:c,date:a,url:r.url,dates:r.dates,format:r.format,otherMonth:!0,culture:s,disableDates:r.disableDates,isWeekColumnVisible:r.weekNumber,messages:r.messages,contentClasses:l.options.contentClasses},l[k.name]))),p(h,k.name),m(h),y=d&&d.data("start")===h.data("start"),l._animate({from:d,to:h,vertical:_,future:v,replace:y}),"modern"===l.options.componentType&&(D.removeClass("k-calendar-monthview k-calendar-yearview k-calendar-decadeview k-calendar-centuryview"),D.addClass("k-calendar-"+k.name+"view")),l.trigger(re),l._focus(a)),n===Ve[r.depth]&&l._selectDates.length>0&&l._visualizeSelectedDatesInView(),"single"===l.options.selectable&&n===Ve[r.depth]&&l._value&&!l.options.disableDates(l._value)&&l._class("k-state-selected",l._value),l._class(ce,a),!d&&l._cell&&l._cell.removeClass(ce),l._changeView=!0},selectDates:function(a){var n,l,r=this;return a===t?r._selectDates:(l=a.map(function(e){return e.getTime()}).filter(function(e,t,a){return a.indexOf(e)===t}).map(function(e){return new Date(e)}),n=e.grep(l,function(e){if(e)return+r._validateValue(new Date(e.setHours(0,0,0,0)))===+e}),r._selectDates=n.length>0?n:0===l.length?l:r._selectDates,r._visualizeSelectedDatesInView(),t)},value:function(e){var a,n=this,l=n._view,r=n._view;return e===t?n._value:(e=n._validateValue(e),e&&n._isMultipleSelection()&&(a=new Date((+e)),a.setHours(0,0,0,0),n._selectDates=[a],n.selectable._lastActive=null),l&&null===e&&n._cell?n._cell.removeClass(me):(n._changeView=!e||r&&0!==r.compare(e,n._current),n.navigate(e)),t)},_validateValue:function(e){var a=this,n=a.options,l=n.min,r=n.max;return null===e&&(a._current=v(a._current.getFullYear(),a._current.getMonth(),a._current.getDate())),e=O(e,n.format,n.culture),null!==e&&(e=new Oe((+e)),s(e,l,r)||(e=null)),null!==e&&a.options.disableDates(new Date((+e)))?a._value===t&&(
489a._value=null):a._value=e,a._value},_visualizeSelectedDatesInView:function(){var t,a=this,n={};e.each(a._selectDates,function(e,t){n[x.calendar.views[0].toDateString(t)]=t}),a.selectable.clear(),t=a._table.find(ve).filter(function(t,a){return n[e(a.firstChild).attr(x.attr(ie))]}),t.length>0&&a.selectable._selectElement(t,!0)},_isMultipleSelection:function(){var e=this;return"multiple"===e.options.selectable},_selectable:function(){var e,t,a=this;a._isMultipleSelection()&&(e=a.options.selectable,t=H.parseOptions(e),t.multiple&&a.element.attr("aria-multiselectable","true"),a.selectable=new H(a.wrapper,{aria:!0,inputSelectors:"input,textarea,.k-multiselect-wrap,select,button,.k-button>span,.k-button>img,span.k-icon.k-i-arrow-60-down,span.k-icon.k-i-arrow-60-up",multiple:t.multiple,filter:"table.k-month:eq(0) "+_e,change:Ae(a._onSelect,a),relatedTarget:Ae(a._onRelatedTarget,a)}))},_onRelatedTarget:function(e){var t=this;t.selectable.options.multiple&&e.is(_e)&&(t._current=F(e.find("a")),t._class(ce,F(e.find("a"))))},_onSelect:function(a){var n=this,l=a,r=H.parseOptions(n.options.selectable);return r.multiple?(l.event.ctrlKey||l.event.metaKey?e(l.event.currentTarget).is(_e)?n._toggleSelection(e(l.event.currentTarget)):(n._cellsBySelector(_e).each(function(t,a){var l=F(e(a).find("a"));n._deselect(l)}),n._addSelectedCellsToArray()):l.event.shiftKey?n._rangeSelection(n._cell):e(l.event.currentTarget).is(ve)?n.value(F(e(l.event.currentTarget).find("a"))):(n._selectDates=[],n._addSelectedCellsToArray()),n.trigger(le),t):(e(l.event.currentTarget).is("td")&&!e(l.event.currentTarget).hasClass("k-state-selected")?e(l.event.currentTarget).addClass("k-state-selected"):n._click(e(l.event.currentTarget).find("a")),t)},_destroySelectable:function(){var e=this;e.selectable&&(e.selectable.destroy(),e.selectable=null)},_toggleSelection:function(e){var t=this,a=F(e.find("a"));e.hasClass("k-state-selected")?t._selectDates.push(a):t._deselect(a)},_rangeSelection:function(e,t){var a,n=this,l=t||F(n.selectable.value().first().find("a")),r=F(e.find("a"));n.selectable._lastActive||n._value?l=n.selectable._lastActive?F(n.selectable._lastActive.find("a")):new Date((+n._value)):n.selectable._lastActive=t?n._cellByDate(n._view.toDateString(t),_e):n.selectable.value().first(),n._selectDates=[],a=u(l,r),d(n._selectDates,a,l,n.options.disableDates),n._visualizeSelectedDatesInView()},_cellsBySelector:function(e){var t=this;return t._table.find(e)},_addSelectedCellsToArray:function(){var t=this;t.selectable.value().each(function(a,n){var l=F(e(n.firstChild));t.options.disableDates(l)||t._selectDates.push(l)})},_deselect:function(e){var t=this,a=t._selectDates.map(Number).indexOf(+e);a!=-1&&t._selectDates.splice(a,1)},_dateInView:function(e){var t=this,a=F(t._cellsBySelector(_e+":first").find("a")),n=F(t._cellsBySelector(_e+":last").find("a"));return+e<=+n&&+e>=+a},_isNavigatable:function(e,t){var a,n,l=this,r=l.options.disableDates;return"month"==l._view.name?!r(e):(n=l.wrapper.find("."+ce).index(),a=l.wrapper.find(".k-content td:eq("+(n+t)+")"),a.is(_e)||!r(e))},_move:function(a){var n,l,r,o,c,u=this,d=u.options,f=a.keyCode,g=u._view,_=u._index,h=u.options.min,m=u.options.max,p=new Oe((+u._current)),k=x.support.isRtl(u.wrapper),b=u.options.disableDates;return a.target===u._table[0]&&(u._active=!0),f==N.RIGHT&&!k||f==N.LEFT&&k?(n=1,l=!0):f==N.LEFT&&!k||f==N.RIGHT&&k?(n=-1,l=!0):f==N.UP?(n=0===_?-7:-4,l=!0):f==N.DOWN?(n=0===_?7:4,l=!0):f==N.SPACEBAR?(n=0,l=!0):f!=N.HOME&&f!=N.END||(r=f==N.HOME?"first":"last",o=g[r](p),p=new Oe(o.getFullYear(),o.getMonth(),o.getDate(),p.getHours(),p.getMinutes(),p.getSeconds(),p.getMilliseconds()),p.setFullYear(o.getFullYear()),l=!0),a.ctrlKey||a.metaKey?f==N.RIGHT&&!k||f==N.LEFT&&k?(u.navigateToFuture(),l=!0):f==N.LEFT&&!k||f==N.RIGHT&&k?(u.navigateToPast(),l=!0):f==N.UP?(u.navigateUp(),l=!0):f==N.DOWN?(u._click(e(u._cell[0].firstChild)),l=!0):f!=N.ENTER&&f!=N.SPACEBAR||!u._isMultipleSelection()||(u._keyboardToggleSelection(a),c=F(e(u._cell[0]).find("a")),u._class(ce,c)):a.shiftKey?(n!==t||r)&&(r||g.setDate(p,n),s(p,h,m)||(p=i(p,d.min,d.max)
489),b(p)&&(p=u._nextNavigatable(p,n)),h=v(h.getFullYear(),h.getMonth(),h.getDate()),u._isMultipleSelection()?u._keyboardRangeSelection(a,p):u._focus(p)):(f==N.ENTER||f==N.SPACEBAR?("month"==g.name&&u._isMultipleSelection()?(u.value(F(e(u._cell.find("a")))),u.selectable._lastActive=e(u._cell[0]),u.trigger(le)):u._click(e(u._cell[0].firstChild)),l=!0):f==N.PAGEUP?(l=!0,u.navigateToPast()):f==N.PAGEDOWN&&(l=!0,u.navigateToFuture()),(n||r)&&(r||g.setDate(p,n),h=v(h.getFullYear(),h.getMonth(),h.getDate()),s(p,h,m)||(p=i(p,d.min,d.max)),u._isNavigatable(p,n)||(p=u._nextNavigatable(p,n)),u._isMultipleSelection()?u._dateInView(p)?(u._current=p,u._class(ce,p)):u.navigate(p):u._focus(p))),l&&a.preventDefault(),u._current},_keyboardRangeSelection:function(e,a){var n,l,r=this;return r._dateInView(a)?(r.selectable.options.filter=r.wrapper.find("table").length>1&&+a>+r._current?"table.k-month:eq(1) "+_e:"table.k-month:eq(0) "+_e,r._class(ce,a),r._current=a,r._rangeSelection(r._cellByDate(r._view.toDateString(a),_e),a),r.trigger(le),r.selectable.options.filter="table.k-month:eq(0) "+_e,t):(r._selectDates=[],n=r.selectable._lastActive?F(r.selectable._lastActive.find("a")):a,l=u(n,new Date((+a))),d(r._selectDates,l,n,r.options.disableDates),r.navigate(a),r._current=a,r.selectable._lastActive=r.selectable._lastActive||r._cellByDate(r._view.toDateString(a),_e),r.trigger(le),t)},_keyboardToggleSelection:function(t){var a=this;t.currentTarget=a._cell[0],a.selectable._lastActive=e(a._cell[0]),e(a._cell[0]).hasClass(me)?(a.selectable._unselect(e(a._cell[0])),a.selectable.trigger(le,{event:t})):a.selectable.value(e(a._cell[0]),{event:t})},_nextNavigatable:function(e,t){var a=this,n=!0,l=a._view,r=a.options.min,i=a.options.max,o=a.options.disableDates,c=new Date(e.getTime());for(l.setDate(c,-t);n;){if(l.setDate(e,t),!s(e,r,i)){e=c;break}n=o(e)}return e},_animate:function(e){var t=this,a=e.from,n=e.to,l=t._active,r=t.element.children(".k-calendar-view");a?a.parent().data("animating")?(a.off(Q),a.parent().kendoStop(!0,!0).remove(),a.remove(),r.append(n),t._focusView(l)):!a.is(":visible")||t.options.animation===!1||e.replace?(n.insertAfter(a),a.off(Q).remove(),t._focusView(l)):t[e.vertical?"_vertical":"_horizontal"](a,n,e.future):(r.append(n),t._bindTable(n))},_horizontal:function(e,t,a){var n=this,l=n._active,r=n.options.animation.horizontal,i=r.effects,s=L(e);i&&i.indexOf(te)!=-1&&(e.add(t).css({width:s}),e.wrap("<div/>"),n._focusView(l,e),e.parent().css({position:"relative",width:2*s,"float":ee,"margin-left":a?0:-s}),t[a?"insertAfter":"insertBefore"](e),Ne(r,{effects:te+":"+(a?"right":ee),complete:function(){e.off(Q).remove(),n._oldTable=null,t.unwrap(),n._focusView(l)}}),e.parent().kendoStop(!0,!0).kendoAnimate(r))},_vertical:function(e,t){var a,n,l=this,r=l.options.animation.vertical,i=r.effects,s=l._active;i&&i.indexOf("zoom")!=-1&&(t.insertBefore(e),e.css({position:"absolute",width:t.width()}),R&&(a=l._cellByDate(l._view.toDateString(l._current)),n=a.position(),n=n.left+parseInt(a.width()/2,10)+"px "+(n.top+parseInt(a.height()/2,10)+"px"),t.css(R,n)),e.kendoStop(!0,!0).kendoAnimate({effects:"fadeOut",duration:600,complete:function(){e.off(Q).remove(),l._oldTable=null,l._focusView(s)}}),t.kendoStop(!0,!0).kendoAnimate(r))},_cellByDate:function(t,a){return this._table.find(a?a:"td:not(."+ue+")").filter(function(){return e(this.firstChild).attr(x.attr(ie))===t})},_class:function(e,t){var a,n=this,l=n._cellID,r=n._cell,i=n._view.toDateString(t);r&&r.length&&(r[0].removeAttribute(Me),r[0].removeAttribute(Ye),r[0].removeAttribute(Z)),t&&"month"==n._view.name&&(a=n.options.disableDates(t)),n._cellsBySelector(n._isMultipleSelection()?ve:"td:not(."+ue+")").removeClass(e),r=n._cellByDate(i,"multiple"==n.options.selectable?ve:"td:not(."+ue+")").attr(Me,!0),(e===ce&&!n._active&&n.options.focusOnNav!==!1||a)&&(e=""),r.addClass(e),r[0]&&(n._cell=r),l&&(r.attr(Z,l),n._table[0].removeAttribute("aria-activedescendant"),n._table.attr("aria-activedescendant",l))},_bindTable:function(e){e.on(be,this._addClassProxy).on(pe,this._removeClassProxy)},_click:function(e){var t=this,a=t.options,n=new Date((+t._current)),l=F(e);V(l,0),"month"==t._view.name&&t.options.disableDates(l)&&(l=t._value),t._view.setDate(n,l),t.navigateDown(i(n,a.min,a.max)
489)},_focus:function(e){var t=this,a=t._view;0!==a.compare(e,t._current)?t.navigate(e):(t._current=e,t._class(ce,e))},_focusView:function(e,t){e&&this.focus(t)},_viewWrapper:function(){var t=this,a=t.element,n=a.children(".k-calendar-view");n[0]||(n=e("<div class='k-calendar-view' />").insertAfter(a.find(Be)))},_footer:function(a){var n=this,l=r(),i=n.element,s=i.find(".k-footer");return a?(s[0]||(s=e('<div class="k-footer"><a href="#" class="k-link k-nav-today"></a></div>').appendTo(i)),n._today=s.show().find(".k-link").html(a(l)).attr("title",x.toString(l,"D",n.options.culture)),n._toggle(),t):(n._toggle(!1),s.hide(),t)},_header:function(){var e=this,t=e.element,a=e.options.linksSelector;t.find(Be)[0]||t.html(e.options.header.template),t.find(a).on(De+" "+ye+" "+be+" "+pe,f).on(J+" touchend"+Q,function(){return!1}),e._title=t.find("["+x.attr("action")+'="nav-up"]').on(J+" touchend"+Q,function(){e._active=e.options.focusOnNav!==!1,e.navigateUp()}),e[Fe]=t.find("["+x.attr("action")+'="prev"]').on(J+" touchend"+Q,function(){e._active=e.options.focusOnNav!==!1,e.navigateToPast()}),e[Te]=t.find("["+x.attr("action")+'="next"]').on(J+" touchend"+Q,function(){e._active=e.options.focusOnNav!==!1,e.navigateToFuture()}),t.find("["+x.attr("action")+'="today"]').on(J+" touchend"+Q,Ae(e._todayClick,e))},_navigate:function(e,t){var a,n=this,l=n._index+1,r=new Oe((+n._current));n._isMultipleSelection()&&(a=n._table.find("td:not(.k-other-month):not(.k-out-of-range)").has(".k-link").first(),r=F(a.find("a")),n._current=new Date((+r))),e=n[e],e.hasClass(oe)||(l>3?r.setFullYear(r.getFullYear()+100*t):T.views[l].setDate(r,t),n.navigate(r))},_option:function(e,a){var n,l=this,r=l.options,i=l._value||l._current;return a===t?r[e]:(a=O(a,r.format,r.culture),a&&(r[e]=new Oe((+a)),n=e===$?a>i:i>a,(n||w(i,a))&&(n&&(l._value=null),l._changeView=!0),l._changeView||(l._changeView=!(!r.month.content&&!r.month.empty)),l.navigate(l._value),l._toggle()),t)},_toggle:function(e){var a=this,n=a.options,l=a.options.disableDates(r()),i=a._today;e===t&&(e=s(r(),n.min,n.max)),i&&(i.off(J),e&&!l?i.addClass(ge).removeClass(oe).on(J,Ae(a._todayClick,a)):i.removeClass(ge).addClass(oe).on(J,g))},_todayClick:function(e){var t=this,a=Ve[t.options.depth],n=t.options.disableDates,l=r();e.preventDefault(),n(l)||(0===t._view.compare(t._current,l)&&t._index==a&&(t._changeView=!1),t._isMultipleSelection()&&(t._selectDates=[l],t.selectable._lastActive=null),t._value=l,t.navigate(l,a),t.trigger(le))},_templates:function(){var e=this,t=e.options,a=t.footer,n=t.month,l=n.content,r=n.weekNumber,i=n.empty,s='#= kendo.toString(data,"D","'+t.culture+'") #';e.month={content:W('<td#=data.cssClass# role="gridcell"><a tabindex="-1" class="k-link#=data.linkClass#" href="#=data.url#" '+x.attr(ie)+'="#=data.dateString#" title="#=data.title#">'+(l||"#=data.value#")+"</a></td>",{useWithBlock:!!l}),empty:W('<td role="gridcell">'+(i||"&nbsp;")+"</td>",{useWithBlock:!!i}),weekNumber:W('<td class="k-alt">'+(r||"#= data.weekNumber #")+"</td>",{useWithBlock:!!r})},a&&a!==!0&&(s=a),e.footer=a!==!1?W(s,{useWithBlock:!1}):null}});Y.plugin(We),T={firstDayOfMonth:function(e){return v(e.getFullYear(),e.getMonth(),1)},firstVisibleDay:function(e,t){t=t||x.culture().calendar;var a=t.firstDay,n=new Oe(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());for(n.setFullYear(e.getFullYear());n.getDay()!=a;)T.setTime(n,-1*Ce);return n},setTime:function(e,t){var a=e.getTimezoneOffset(),n=new Oe(e.getTime()+t),l=n.getTimezoneOffset()-a;e.setTime(n.getTime()+l*Se)},views:[{name:ae,title:function(e,t,a,n){return _(n).months.names[e.getMonth()]+" "+e.getFullYear()},content:function(e){var t=this,a=0,l=e.min,i=e.max,s=e.date,c=e.dates,u=e.format,d=e.culture,f=e.url,g=e.showHeader,h=e.otherMonth,m=e.isWeekColumnVisible,p=f&&c[0],b=_(d),w=b.firstDay,D=b.days,y=o(D.names,w),S=o(D.namesShort,w),C=T.firstVisibleDay(s,b),F=t.first(s),M=t.last(s),Y=t.toDateString,A=r(),N=e.contentClasses,O='<table tabindex="0" role="grid" class="'+N+'" cellspacing="0" data-start="'+Y(C)+'">';
489for(O+=g?'<caption class="k-month-header">'+this.title(s,l,i,d)+'</caption><thead><tr role="row">':'<thead><tr role="row">',m&&(O+='<th scope="col" class="k-alt">'+e.messages.weekColumnHeader+"</th>");a<7;a++)O+='<th scope="col" title="'+y[a]+'">'+S[a]+"</th>";return V(A,0),A=+A,n({cells:42,perRow:7,html:O+='</tr></thead><tbody><tr role="row">',start:C,isWeekColumnVisible:m,weekNumber:e.weekNumber,min:v(l.getFullYear(),l.getMonth(),l.getDate()),max:v(i.getFullYear(),i.getMonth(),i.getDate()),otherMonth:h,content:e.content,lastDayOfMonth:M,empty:e.empty,setter:t.setDate,disableDates:e.disableDates,build:function(e,t,a){var n=[],l=e.getDay(),r="",i="#";return(e<F||e>M)&&n.push(ue),a(e)&&n.push(oe),+e===A&&n.push("k-today"),0!==l&&6!==l||n.push("k-weekend"),p&&k(+e,c)&&(i=f.replace("{0}",x.toString(e,u,d)),r=" k-action-link"),{date:e,dates:c,ns:x.ns,title:x.toString(e,"D",d),value:e.getDate(),dateString:Y(e),cssClass:n[0]?' class="'+n.join(" ")+'"':"",linkClass:r,url:i}},weekNumberBuild:function(e){return{weekNumber:B(e,x.culture().calendar.firstDay),currentDate:e}}})},first:function(e){return T.firstDayOfMonth(e)},last:function(e){var t=v(e.getFullYear(),e.getMonth()+1,0),a=T.firstDayOfMonth(e),n=Math.abs(t.getTimezoneOffset()-a.getTimezoneOffset());return n&&t.setHours(a.getHours()+n/60),t},compare:function(e,t){var a,n=e.getMonth(),l=e.getFullYear(),r=t.getMonth(),i=t.getFullYear();return a=l>i?1:l<i?-1:n==r?0:n>r?1:-1},setDate:function(e,t){var a=e.getHours();t instanceof Oe?e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):T.setTime(e,t*Ce),V(e,a)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/"+e.getDate()}},{name:"year",title:function(e){return e.getFullYear()},content:function(e){var t=_(e.culture).months.namesAbbr,a=this.toDateString,l=e.min,r=e.max,i="";return e.showHeader&&(i+='<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><caption class="k-meta-header">',i+=this.title(e.date),i+='</caption><tbody><tr role="row">'),n({min:v(l.getFullYear(),l.getMonth(),1),max:v(r.getFullYear(),r.getMonth(),1),start:v(e.date.getFullYear(),0,1),html:i,setter:this.setDate,build:function(e){return{value:t[e.getMonth()],ns:x.ns,dateString:a(e),cssClass:""}}})},first:function(e){return v(e.getFullYear(),0,e.getDate())},last:function(e){return v(e.getFullYear(),11,e.getDate())},compare:function(e,t){return l(e,t)},setDate:function(e,t){var a,n=e.getHours();t instanceof Oe?(a=t.getMonth(),e.setFullYear(t.getFullYear(),a,e.getDate()),a!==e.getMonth()&&e.setDate(0)):(a=e.getMonth()+t,e.setMonth(a),a>11&&(a-=12),a>0&&e.getMonth()!=a&&e.setDate(0)),V(e,n)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/1"}},{name:"decade",title:function(e,t,n){return a(e,t,n,10)},content:function(e){var t=e.date.getFullYear(),a=this.toDateString,l="";return e.showHeader&&(l+='<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><caption class="k-meta-header">',l+=this.title(e.date,e.min,e.max),l+='</caption><tbody><tr role="row">'),n({start:v(t-t%10-1,0,1),min:v(e.min.getFullYear(),0,1),max:v(e.max.getFullYear(),0,1),otherMonth:e.otherMonth,html:l,setter:this.setDate,build:function(e,t){return{value:e.getFullYear(),ns:x.ns,dateString:a(e),cssClass:0===t||11==t?de:""}}})},first:function(e){var t=e.getFullYear();return v(t-t%10,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return v(t-t%10+9,e.getMonth(),e.getDate())},compare:function(e,t){return l(e,t,10)},setDate:function(e,t){c(e,t,1)},toDateString:function(e){return e.getFullYear()+"/0/1"}},{name:ne,title:function(e,t,n){return a(e,t,n,100)},content:function(e){var t=e.date.getFullYear(),a=e.min.getFullYear(),l=e.max.getFullYear(),r=this.toDateString,i=a,s=l,o="";return i-=i%10,s-=s%10,s-i<10&&(s=i+9),e.showHeader&&(o+='<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><caption class="k-meta-header">',o+=this.title(e.date,e.min,e.max),o+='</caption><tbody><tr role="row">'),n({start:v(t-t%100-10,0,1),min:v(i,0,1),max:v(s,0,1),otherMonth:e.otherMonth,html:o,setter:this.setDate,build:function(e,t){var n=e.getFullYear(),i=n+9;return n<a&&(n=a),i>l&&(i=l),{ns:x.ns,value:n+" - "+i,dateString:r(e),cssClass:0===t||11==t?de:""}}})},first:function(e){var t=e.getFullYear();return v(t-t%100,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return v(t-t%100+99,e.getMonth(),e.getDate())},compare:function(e,t){return l(e,t,100)},setDate:function(e,t){c(e,t,10)},toDateString:function(e){var t=e.getFullYear();return t-t%10+"/0/1"}}]},T.isEqualDatePart=b,T.isEqualDate=C,T.makeUnselectable=m,T.restrictValue=i,T.isInRange=s,T.addClassToViewContainer=p,T.normalize=h,T.viewsEnum=Ve,T.disabled=D,T.toDateObject=F,T.getToday=r,T.createDate=v,x.calendar=T}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
490//# sourceMappingURL=kendo.calendar.min.js.map
491
492/** 
493 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
494 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
495 *                                                                                                                                                                                                      
496 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
497 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
498 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
499                                                                                                                                                                                                       
500                                                                                                                                                                                                       
501                                                                                                                                                                                                       
502                                                                                                                                                                                                       
503                                                                                                                                                                                                       
504                                                                                                                                                                                                       
505                                                                                                                                                                                                       
506                                                                                                                                                                                                       
507                                                                                                                                                                                                       
508                                                                                                                                                                                                       
509                                                                                                                                                                                                       
510                                                                                                                                                                                                       
511                                                                                                                                                                                                       
512                                                                                                                                                                                                       
513                                                                                                                                                                                                       
514
515*/
516!function(e,define){define("kendo.combobox.min",["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min"],e)}(function(){return function(e,t){var i=window.kendo,s=i.ui,n=s.List,o=s.Select,a=i.caret,l=i.support,r=l.placeholder,u=i._activeElement,c=i.keys,d=".kendoComboBox",p=d+"FocusEvent",_="click"+
516d,h="mousedown"+d,f="disabled",g="readonly",v="change",m="k-i-loading",x="k-state-default",w="k-state-focused",y="k-state-disabled",V="aria-disabled",b="off",C="filter",I="accept",T="rebind",k="mouseenter"+d+" mouseleave"+d,F=e.proxy,B=/(\r\n|\n|\r)/gm,S=o.extend({init:function(t,s){var n,a,l=this;l.ns=d,s=e.isArray(s)?{dataSource:s}:s,o.fn.init.call(l,t,s),s=l.options,t=l.element.on("focus"+d,F(l._focusHandler,l)),s.placeholder=s.placeholder||t.attr("placeholder"),l._reset(),l._wrapper(),l._input(),l._clearButton(),l._tabindex(l.input),l._popup(),l._dataSource(),l._ignoreCase(),l._enable(),l._attachFocusEvents(),l._oldIndex=l.selectedIndex=-1,l._aria(),l._initialIndex=s.index,l.requireValueMapper(l.options),l._initList(),l._cascade(),s.autoBind?l._filterSource():(n=s.text,!n&&l._isSelect&&(n=t.children(":selected").text()),n&&l._setText(n)),n||l._placeholder(),a=e(l.element).parents("fieldset").is(":disabled"),a&&l.enable(!1),i.notify(l),l._toggleCloseVisibility()},options:{name:"ComboBox",enabled:!0,index:-1,text:null,value:null,autoBind:!0,delay:200,dataTextField:"",dataValueField:"",minLength:1,enforceMinLength:!1,height:200,highlightFirst:!0,filter:"none",placeholder:"",suggest:!1,cascadeFrom:"",cascadeFromField:"",cascadeFromParentField:"",ignoreCase:!0,animation:{},virtual:!1,template:null,groupTemplate:"#:data#",fixedGroupTemplate:"#:data#",clearButton:!0,syncValueAndText:!0,autoWidth:!1,popup:null},events:["open","close",v,"select","filtering","dataBinding","dataBound","cascade","set"],setOptions:function(e){var t=this._listOptions(e);o.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(),this._clearButton()},destroy:function(){var e=this;e.input.off(d),e.input.off(p),e.element.off(d),e.wrapper.off(d),e._inputWrapper.off(d),clearTimeout(e._pasteTimeout),e._arrow.off(_+" "+h),e._clear.off(_+" "+h),o.fn.destroy.call(e)},_change:function(){var e=this,i=e.text(),s=i&&i!==e._oldText&&i!==e.options.placeholder,n=e.selectedIndex,a=n===-1;return!e.options.syncValueAndText&&!e.value()&&a&&s?(e._old="",e._oldIndex=n,e._oldText=i,e._typing||e.element.trigger(v),e.trigger(v),e._typing=!1,t):(o.fn._change.call(e),e._toggleCloseVisibility(),t)},_attachFocusEvents:function(){var e=this;e.input.on("focus"+p,F(e._inputFocus,e)).on("focusout"+p,F(e._inputFocusout,e))},_focusHandler:function(e){e.target===this.element[0]&&this.input.focus()},_arrowClick:function(){this._toggle()},_inputFocus:function(){this._inputWrapper.addClass(w),this._placeholder(!1)},_inputFocusout:function(){var e,i,s=this,n=s.value();return s._userTriggered=!0,s._inputWrapper.removeClass(w),clearTimeout(s._typingTimeout),s._typingTimeout=null,s.text(s.text()),e=s._focus(),i=this.listView.dataItemByIndex(this.listView.getElementIndex(e)),n!==s.value()&&s.trigger("select",{dataItem:i,item:e})?(s.value(n),t):(s._placeholder(),s._valueBeforeCascade=s._old,s._blur(),s.element.blur(),t)},_inputPaste:function(){var e=this;clearTimeout(e._pasteTimeout),e._pasteTimeout=null,e._pasteTimeout=setTimeout(function(){e.search()})},_editable:function(e){var t=this,i=e.disable,s=e.readonly,n=t._inputWrapper.off(d),o=t.element.add(t.input.off(d)),a=t._arrow.off(_+" "+h),l=t._clear;s||i?(n.addClass(i?y:x).removeClass(i?x:y),o.attr(f,i).attr(g,s).attr(V,i)):(n.addClass(x).removeClass(y).on(k,t._toggleHover),o.removeAttr(f).removeAttr(g).attr(V,!1),a.on(_,F(t._arrowClick,t)).on(h,function(e){e.preventDefault()}),l.on(_+" touchend"+d,F(t._clearValue,t)),t.input.on("keydown"+d,F(t._keydown,t)).on("input"+d,F(t._search,t)).on("paste"+d,F(t._inputPaste,t)),t.wrapper.on(_+d,F(t._focusHandler,t))),t._toggleCloseVisibility()},open:function(){var e=this,t=e._state,i=!!e.dataSource.filter()&&e.dataSource.filter().filters.length>0,s=!e.ul.find(e.listView.focus()).length;e.popup.visible()||(!e.listView.bound()&&t!==C||t===I?(e._open=!0,e._state=T,1!==e.options.minLength&&!i||i&&e.value()&&e.selectedIndex===-1?(e.refresh(),e._openPopup(),this.options.virtual||e.listView.bound(!1)):e._filterSource()):e._allowOpening()&&(e.popup._hovered=!0,e._openPopup(),e.options.virtual?e._focusItem():s&&e.options.highlightFirst&&e.listView.focus(0)))},_scrollToFocusedItem:function(){var e=this.listView;e.scrollToIndex(e.getElementIndex(e.focus()))},_openPopup:function(){this.popup.one("activate",F(this._scrollToFocusedItem,this)),this.popup.open()},_updateSelectionState:function(){var e=this,i=e.options.text,s=e.options.value;e.listView.isFiltered()||(e.selectedIndex===-1?(i!==t&&null!==i||(i=s),e._accessor(s),e.input.val(i||e.input.val()),e._placeholder()):e._oldIndex===-1&&(e._oldIndex=e.selectedIndex))},_buildOptions:function(e){var i,s=this;s._isSelect&&(i=s._customOption,s._state===T&&(s._state=""),s._customOption=t,s._options(e,"",s.value(
516)),i&&i[0].selected&&!s.listView._emptySearch&&s._custom(i.val()))},_updateSelection:function(){var i,s=this,n=s.listView,o=s._initialIndex,a=null!==o&&o>-1,l=s._state===C;return l?(e(n.focus()).removeClass("k-state-selected"),t):(s._fetch||(n.value().length||(a?s.select(o):s._accessor()&&n.value(s._accessor())),s._initialIndex=null,i=n.selectedDataItems()[0],i&&(s._value(i)!==s.value()?s._custom(s._value(i)):s._value(i)!==s.element[0].value&&s._accessor(s._value(i)),s.text()&&s.text()!==s._text(i)&&s._selectValue(i))),t)},_updateItemFocus:function(){var e=this.listView;this.options.highlightFirst?e.focus()||e.focusIndex()||e.focus(0):e.focus(-1)},_listBound:function(){var e=this,i=e.input[0]===u(),s=e.dataSource.flatView(),n=e.listView.skip(),o=s.length,a=e.dataSource._group?e.dataSource._group.length:0,l=n===t||0===n;e._presetValue=!1,e._renderFooter(),e._renderNoData(),e._toggleNoData(!o),e._toggleHeader(!!a&&!!o),e._resizePopup(),e.popup.position(),e._buildOptions(s),e._makeUnselectable(),e._updateSelection(),s.length&&l&&(e._updateItemFocus(),e.options.suggest&&i&&e.input.val()&&e.suggest(s[0])),e._open&&(e._open=!1,e._typingTimeout&&!i?e.popup.close():e.toggle(e._allowOpening()),e._typingTimeout=null),e._hideBusy(),e.trigger("dataBound")},_listChange:function(){this._selectValue(this.listView.selectedDataItems()[0]),this._presetValue&&(this._oldIndex=this.selectedIndex)},_get:function(e){var t,i,s;if("function"==typeof e){for(t=this.dataSource.flatView(),s=0;s<t.length;s++)if(e(t[s])){e=s,i=!0;break}i||(e=-1)}return e},_select:function(e,t){var i=this;return e=i._get(e),e===-1&&(i.input[0].value="",i._accessor("")),i.listView.select(e).done(function(){t||i._state!==C||(i._state=I),i._toggleCloseVisibility()})},_selectValue:function(e){var i=this.listView.select(),s="",n="";i=i[i.length-1],i===t&&(i=-1),this.selectedIndex=i,this.listView.isFiltered()&&i!==-1&&(this._valueBeforeCascade=this._old),i!==-1||e?((e||0===e)&&(s=this._dataValue(e),n=this._text(e)),null===s&&(s="")):(this.options.syncValueAndText?(n=this.options.dataTextField===this.options.dataValueField?this._accessor():this.input[0].value,s=n):n=this.text(),this.listView.focus(-1)),this._setDomInputValue(n),this._accessor(s!==t?s:n,i),this._placeholder(),this._triggerCascade()},_setDomInputValue:function(e){var t,i,s=this,n=a(this.input);n&&n.length&&(t=n[0]),this._prev=this.input[0].value=e,t&&this.selectedIndex===-1&&(i=l.mobileOS,i.wp||i.android?setTimeout(function(){s.input[0].setSelectionRange(t,t)},0):this.input[0].setSelectionRange(t,t))},refresh:function(){this.listView.refresh()},_toggleCloseVisibility:function(){var e=this.element.is(":disabled")||this.element.is("[readonly]");this.text()&&!e?this._showClear():this._hideClear()},suggest:function(e){var i,s=this,o=s.input[0],l=s.text(),r=a(o)[0],d=s._last,p=s.dataSource.options.accentFoldingFiltering;return d==c.BACKSPACE||d==c.DELETE?(s._last=t,t):(e=e||"","string"!=typeof e&&(e[0]&&(e=s.dataSource.view()[n.inArray(e[0],s.ul[0])]),e=e?s._text(e):""),r<=0&&(r=(p?l.toLocaleLowerCase(p):l.toLowerCase()).indexOf(p?e.toLocaleLowerCase(p):e.toLowerCase())+1),e?(e=""+e,i=(p?e.toLocaleLowerCase(p):e.toLowerCase()).indexOf(p?l.toLocaleLowerCase(p):l.toLowerCase()),i>-1&&(l+=e.substring(i+l.length))):l=l.substring(0,r),l.length===r&&e||(o.value=l,o===u()&&a(o,r,l.length)),t)},text:function(e){var i,s,o,a,l,r;return e=null===e?"":e,i=this,s=i.input[0],o=i.options.ignoreCase,a=e,e===t?s.value:i.options.autoBind!==!1||i.listView.bound()?(l=i.dataItem(),l&&i._text(l).replace&&i._text(l).replace(B,"")===e&&(r=i._value(l),r===n.unifyType(i._old,typeof r))?(i._triggerCascade(),t):(o&&(a=a.toLowerCase()),i.dataItem()&&i._text(i.dataItem())===e||(i._select(function(e){return e=i._text(e),o&&(e=(e+"").toLowerCase()),e===a}).done(function(){i.selectedIndex<0&&(s.value=e,i.options.syncValueAndText&&i._accessor(e),i._cascadeTriggered=!0,i._triggerCascade()),i._prev=s.value}),i._toggleCloseVisibility()),t)):(i._setText(e),t)},toggle:function(e){this._toggle(e,!0)},value:function(e){var i=this,s=i.options,n=i.listView;
516return e===t?(e=i._accessor()||i.listView.value()[0],e===t||null===e?"":e):(i.requireValueMapper(i.options,e),i.trigger("set",{value:e}),(e!==s.value||i.input.val()!==s.text||i.options.cascadeFrom)&&(i._accessor(e),i._isFilterEnabled()&&n.bound()&&n.isFiltered()?i._clearFilter():i._fetchData(),n.value(e).done(function(){i.selectedIndex!==-1||n._selectedDataItems&&n._selectedDataItems.length||(i._accessor(e),i.input.val(e),i._placeholder(!0)),i._old=i._userTriggered?i._accessor():i._valueBeforeCascade=i._accessor(),i._oldIndex=i.selectedIndex,i._prev=i._oldText=i.input.val(),i._state===C&&(i._state=I),i._toggleCloseVisibility()})),t)},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._arrowIcon.removeClass(m),e._focused.attr("aria-busy",!1),e._busy=null,e._toggleCloseVisibility()},_click:function(e){var i=this,s=e.item,o=i.listView.dataItemByIndex(i.listView.getElementIndex(s)),a=!0;return e.preventDefault(),o&&(a=i._value(o)!==n.unifyType(i.value(),typeof i._value(o)),a||i.input.val(i._text(o))),a&&i.trigger("select",{dataItem:o,item:s})?(i.close(),t):(i._userTriggered=!0,i._select(s).done(function(){i._blur()}),t)},_syncValueAndText:function(){return this.options.syncValueAndText},_inputValue:function(){return this.text()},_searchByWord:function(e){var i,s=this,n=s.options,o=s.dataSource,a=n.ignoreCase,l=function(i){var n=s._text(i);if(n!==t)return n+="",(""===n||""!==e)&&(a&&(n=n.toLowerCase()),0===n.indexOf(e))};return a&&(e=e.toLowerCase()),s.ul[0].firstChild?(this.listView.focus(this._get(l)),i=this.listView.focus(),i&&(n.suggest&&s.suggest(i),this.open()),this.options.highlightFirst&&!e&&this.listView.focusFirst(),t):(o.one(v,function(){o.view()[0]&&s.search(e)}).fetch(),t)},_input:function(){var t,i,s=this,n=s.element.removeClass("k-input")[0],o=n.accessKey,a=s.wrapper,l="input.k-input",u=n.name||"";u&&(u='name="'+u+'_input" '),t=a.find(l),t[0]||(a.append('<span tabindex="-1" unselectable="on" class="k-dropdown-wrap k-state-default"><input '+u+'class="k-input" type="text" autocomplete="'+b+'"/><span unselectable="on" class="k-select" aria-label="select"><span class="k-icon k-i-arrow-60-down"></span></span></span>').append(s.element),t=a.find(l)),t[0].style.cssText=n.style.cssText,t[0].title=n.title,i=parseInt(this.element.prop("maxlength")||this.element.attr("maxlength"),10),i>-1&&(t[0].maxLength=i),t.addClass(n.className).css({width:"",height:n.style.height}).attr({role:"combobox","aria-expanded":!1}).show(),r&&t.attr("placeholder",s.options.placeholder),o&&(n.accessKey="",t[0].accessKey=o),s._focused=s.input=t,s._inputWrapper=e(a[0].firstChild),s._arrow=a.find(".k-select").attr({role:"button",tabIndex:-1}),s._arrowIcon=s._arrow.find(".k-icon"),n.id&&s._arrow.attr("aria-controls",s.ul[0].id)},_clearButton:function(){n.fn._clearButton.call(this),this.options.clearButton&&(this._clear.insertAfter(this.input),this.wrapper.addClass("k-combobox-clearable"))},_keydown:function(e){var t,i,s,o=this,a=e.keyCode;if(o._last=a,clearTimeout(o._typingTimeout),o._typingTimeout=null,a===c.HOME)o._firstItem();else if(a===c.END)o._lastItem();else if(a===c.ENTER||a===c.TAB&&o.popup.visible())if(t=o.listView.focus(),i=o.dataItem(),s=!0,o.popup.visible()||i&&o.text()===o._text(i)||(t=null),t){if(o.popup.visible()&&e.preventDefault(),i=o.listView.dataItemByIndex(o.listView.getElementIndex(t)),i&&(s=o._value(i)!==n.unifyType(o.value(),typeof o._value(i))),s&&o.trigger("select",{dataItem:i,item:t}))return;o._userTriggered=!0,o._select(t).done(function(){o._blur(),o._valueBeforeCascade=o._old=o.value()})}else(o._syncValueAndText()||o._isSelect)&&o._accessor(o.input.val()),o.options.highlightFirst?(o.listView.value(o.input.val()),o._blur()):o._oldText=o.text();else a==c.TAB||o._move(e)?a===c.ESC&&!o.popup.visible()&&o.text()&&o._clearValue():o._search()},_placeholder:function(e){if(!r){var i,s=this,n=s.input,o=s.options.placeholder;if(o){if(i=s.value(),e===t&&(e=!i),n.toggleClass("k-readonly",e),!e){if(i)return;o=""}n.val(o),o||n[0]!==u()||a(n[0],0,0)}}},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout(function(){var t=e.text();""!==t&&e._prev!==t?(e._prev=t,"none"===e.options.filter&&e.options.virtual&&e.listView.select(-1),e.search(t),e._toggleCloseVisibility()):""===t&&""!==e._prev&&(e._clearValue(),e.search("")),e._typingTimeout=null},e.options.delay)},_setText:function(e){this.input.val(e),this._prev=e},_wrapper:function(){var e=this,t=e.element,i=t.parent();
516i.is("span.k-widget")||(i=t.hide().wrap("<span />").parent(),i[0].style.cssText=t[0].style.cssText),e.wrapper=i.addClass("k-widget k-combobox").addClass(t[0].className).removeClass("input-validation-error").css("display","")},_clearSelection:function(e,t){var i=this,s=e.value(),n=s&&e.selectedIndex===-1;this.selectedIndex==-1&&this.value()||(t||!s||n)&&(i.options.value="",i.value(""))},_preselect:function(e,t){this.input.val(t),this._accessor(e),this._old=this._accessor(),this._oldIndex=this.selectedIndex,this.listView.setValue(e),this._placeholder(),this._initialIndex=null,this._presetValue=!0,this._toggleCloseVisibility()},_clearText:function(){this._old=this.value(),this.text("")},_clearValue:function(){o.fn._clearValue.call(this),this.input.focus()}});s.plugin(S)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
517//# sourceMappingURL=kendo.combobox.min.js.map
518
519/** 
520 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
521 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
522 *                                                                                                                                                                                                      
523 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
524 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
525 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
526                                                                                                                                                                                                       
527                                                                                                                                                                                                       
528                                                                                                                                                                                                       
529                                                                                                                                                                                                       
530                                                                                                                                                                                                       
531                                                                                                                                                                                                       
532                                                                                                                                                                                                       
533                                                                                                                                                                                                       
534                                                                                                                                                                                                       
535                                                                                                                                                                                                       
536                                                                                                                                                                                                       
537                                                                                                                                                                                                       
538                                                                                                                                                                                                       
539                                                                                                                                                                                                       
540                                                                                                                                                                                                       
541
542*/
543!function(e,define){define("kendo.colorpicker.min",["kendo.core.min","kendo.color.min","kendo.popup.min","kendo.slider.min","kendo.userevents.min","kendo.button.min"],e)}(function(){return function(e,t,a){function s(e,t,a){a=d(a),a&&!a.equals(e.color())&&("change"==t&&(e._value=a),a=1!=a.a?a.toCssRgba():a.toCss(),e.trigger(t,{value:a}))}function l(e,t,a){var s,l;return e=Array.prototype.slice.call(e),s=e.length,l=e.indexOf(t),l<0?a<0?e[s-1]:e[0]:(l+=a,l<0?l+=s:l%=s,e[l])}function o(e){e.preventDefault()}function n(e,t){return function(){return e.apply(t,arguments)}}var i=window.kendo,r=i.ui,c=r.Widget,d=i.parseColor,p=i.Color,u=i.keys,C="background-color",h="k-state-selected",F="000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7",f
543="FFFFFF,FFCCFF,FF99FF,FF66FF,FF33FF,FF00FF,CCFFFF,CCCCFF,CC99FF,CC66FF,CC33FF,CC00FF,99FFFF,99CCFF,9999FF,9966FF,9933FF,9900FF,FFFFCC,FFCCCC,FF99CC,FF66CC,FF33CC,FF00CC,CCFFCC,CCCCCC,CC99CC,CC66CC,CC33CC,CC00CC,99FFCC,99CCCC,9999CC,9966CC,9933CC,9900CC,FFFF99,FFCC99,FF9999,FF6699,FF3399,FF0099,CCFF99,CCCC99,CC9999,CC6699,CC3399,CC0099,99FF99,99CC99,999999,996699,993399,990099,FFFF66,FFCC66,FF9966,FF6666,FF3366,FF0066,CCFF66,CCCC66,CC9966,CC6666,CC3366,CC0066,99FF66,99CC66,999966,996666,993366,990066,FFFF33,FFCC33,FF9933,FF6633,FF3333,FF0033,CCFF33,CCCC33,CC9933,CC6633,CC3333,CC0033,99FF33,99CC33,999933,996633,993333,990033,FFFF00,FFCC00,FF9900,FF6600,FF3300,FF0000,CCFF00,CCCC00,CC9900,CC6600,CC3300,CC0000,99FF00,99CC00,999900,996600,993300,990000,66FFFF,66CCFF,6699FF,6666FF,6633FF,6600FF,33FFFF,33CCFF,3399FF,3366FF,3333FF,3300FF,00FFFF,00CCFF,0099FF,0066FF,0033FF,0000FF,66FFCC,66CCCC,6699CC,6666CC,6633CC,6600CC,33FFCC,33CCCC,3399CC,3366CC,3333CC,3300CC,00FFCC,00CCCC,0099CC,0066CC,0033CC,0000CC,66FF99,66CC99,669999,666699,663399,660099,33FF99,33CC99,339999,336699,333399,330099,00FF99,00CC99,009999,006699,003399,000099,66FF66,66CC66,669966,666666,663366,660066,33FF66,33CC66,339966,336666,333366,330066,00FF66,00CC66,009966,006666,003366,000066,66FF33,66CC33,669933,666633,663333,660033,33FF33,33CC33,339933,336633,333333,330033,00FF33,00CC33,009933,006633,003333,000033,66FF00,66CC00,669900,666600,663300,660000,33FF00,33CC00,339900,336600,333300,330000,00FF00,00CC00,009900,006600,003300,000000",_="#ffffff",v={apply:"Apply",cancel:"Cancel",noColor:"no color",clearColor:"Clear color",previewInput:"Color Hexadecimal Code"},k=".kendoColorTools",g="click"+k,m="keydown"+k,b="k-state-disabled",y=i.support.browser,w=y.msie&&y.version<9,I=c.extend({init:function(e,t){var a,s=this;c.fn.init.call(s,e,t),e=s.element,t=s.options,s._value=t.value=d(t.value),s._tabIndex=e.attr("tabIndex")||0,a=s._ariaId=t.ariaId,a&&e.attr("aria-labelledby",a),t._standalone&&(s._triggerSelect=s._triggerChange)},options:{name:"ColorSelector",value:null,_standalone:!0},events:["change","select","cancel"],color:function(e){return e!==a&&(this._value=d(e),this._updateUI(this._value)),this._value},value:function(e){return e=this.color(e),e&&(e=this.options.opacity?e.toCssRgba():e.toCss()),e||null},enable:function(e){0===arguments.length&&(e=!0),this.wrapper.toggleClass(b,!e),this._onEnable(e)},_select:function(e,t){var a=this._value;e=this.color(e),t||(this.element.trigger("change"),e.equals(a)?this._standalone||this.trigger("cancel"):this.trigger("change",{value:this.value()}))},_triggerSelect:function(e){s(this,"select",e)},_triggerChange:function(e){s(this,"change",e)},destroy:function(){this.element&&this.element.off(k),this.wrapper&&this.wrapper.off(k).find("*").off(k),this.wrapper=null,c.fn.destroy.call(this)},_updateUI:e.noop,_selectOnHide:function(){return null},_cancel:function(){this.trigger("cancel")}}),S=I.extend({init:function(t,a){var s,l,o,r,c=this;if(I.fn.init.call(c,t,a),t=c.wrapper=c.element,a=c.options,s=a.palette,"websafe"==s?(s=f,a.columns=18):"basic"==s&&(s=F),"string"==typeof s&&(s=s.split(",")),e.isArray(s)&&(s=e.map(s,function(e){return d(e)})),c._selectedID=(a.ariaId||i.guid())+"_selected",t.addClass("k-widget k-colorpalette").attr("role","grid").attr("aria-readonly","true").append(e(c._template({colors:s,columns:a.columns,tileSize:a.tileSize,value:c._value,id:a.ariaId}))).on(g,".k-item",function(t){c._select(e(t.currentTarget).css(C))}).attr("tabIndex",c._tabIndex).on(m,n(c._keydown,c)),l=a.tileSize){if(/number|string/.test(typeof l))o=r=parseFloat(l);else{if("object"!=typeof l)throw Error("Unsupported value for the 'tileSize' argument");o=parseFloat(l.width),r=parseFloat(l.height)}t.find(".k-item").css({width:o,height:r})}},focus:function(){this.wrapper&&!this.wrapper.is("[unselectable='on']")&&this.wrapper.focus()},options:{name:"ColorPalette",columns:10,tileSize:null,palette:"basic"},_onEnable:function(e){e?this.wrapper.attr("tabIndex",this._tabIndex):this.wrapper.removeAttr("tabIndex")},_keydown:function(t){var a,s,n=this.wrapper,i=n.find(".k-item"),r=i.filter("."+h).get(0),c=t.keyCode;
543if(c==u.LEFT?a=l(i,r,-1):c==u.RIGHT?a=l(i,r,1):c==u.DOWN?a=l(i,r,this.options.columns):c==u.UP?a=l(i,r,-this.options.columns):c==u.ENTER?(o(t),r&&this._select(e(r).css(C))):c==u.ESC&&this._cancel(),a){o(t),this._current(a);try{s=d(a.css(C)),this._triggerSelect(s)}catch(p){}}},_current:function(t){this.wrapper.find("."+h).removeClass(h).attr("aria-selected",!1).removeAttr("id"),e(t).addClass(h).attr("aria-selected",!0).attr("id",this._selectedID),this.element.removeAttr("aria-activedescendant").attr("aria-activedescendant",this._selectedID)},_updateUI:function(t){var a=null;this.wrapper.find(".k-item").each(function(){var s=d(e(this).css(C));if(s&&s.equals(t))return a=this,!1}),this._current(a)},_template:i.template('<table class="k-palette k-reset" role="presentation"><tr role="row"># for (var i = 0; i < colors.length; ++i) { ## var selected = colors[i].equals(value); ## if (i && i % columns == 0) { # </tr><tr role="row"> # } #<td role="gridcell" unselectable="on" style="background-color:#= colors[i].toCss() #"#= selected ? " aria-selected=true" : "" # #=(id && i === 0) ? "id=\\""+id+"\\" " : "" # class="k-item#= selected ? " '+h+'" : "" #" aria-label="#= colors[i].toCss() #"></td># } #</tr></table>')}),x=I.extend({init:function(t,a){var s=this;I.fn.init.call(s,t,a),a=s.options,a.messages=a.options?e.extend(s.options.messages,a.options.messages):s.options.messages,t=s.element,s.wrapper=t.addClass("k-widget k-flatcolorpicker").append(s._template(a)),s._hueElements=e(".k-hsv-rectangle, .k-alpha-slider .k-slider-track",t),s._selectedColor=e(".k-selected-color-display",t),s._colorAsText=e("input.k-color-value",t),s._sliders(),s._hsvArea(),s._updateUI(s._value||d("#f00")),t.find("input.k-color-value").on(m,function(t){var a,l,o=this;if(t.keyCode==u.ENTER)try{a=d(o.value),l=s.color(),s._select(a,a.equals(l))}catch(n){e(o).addClass("k-state-error")}else s.options.autoupdate&&setTimeout(function(){var e=d(o.value,!0);e&&s._updateUI(e,!0)},10)}).end().on(g,".k-controls button.apply",function(){s.options._clearedColor?s.trigger("change"):s._select(s._getHSV())}).on(g,".k-controls button.cancel",function(){s._updateUI(s.color()),s._cancel()}),w&&s._applyIEFilter()},destroy:function(){this._hsvEvents.destroy(),this._hueSlider.destroy(),this._opacitySlider&&this._opacitySlider.destroy(),this._hueSlider=this._opacitySlider=this._hsvRect=this._hsvHandle=this._hueElements=this._selectedColor=this._colorAsText=null,I.fn.destroy.call(this)},options:{name:"FlatColorPicker",opacity:!1,buttons:!1,input:!0,preview:!0,clearButton:!1,autoupdate:!0,messages:v},_applyIEFilter:function(){var e=this.element.find(".k-hue-slider .k-slider-track")[0],t=e.currentStyle.backgroundImage;t=t.replace(/^url\([\'\"]?|[\'\"]?\)$/g,""),e.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+t+"', sizingMethod='scale')"},_sliders:function(){function e(e){a._updateUI(a._getHSV(e.value,null,null,null))}function t(e){a._updateUI(a._getHSV(null,null,null,e.value/100))}var a=this,s=a.element,l=s.find(".k-hue-slider"),o=s.find(".k-alpha-slider");l.attr("aria-label","hue saturation"),a._hueSlider=l.kendoSlider({min:0,max:360,tickPlacement:"none",showButtons:!1,slide:e,change:e}).data("kendoSlider"),o.attr("aria-label","opacity"),a._opacitySlider=o.kendoSlider({min:0,max:100,tickPlacement:"none",showButtons:!1,slide:t,change:t}).data("kendoSlider")},_hsvArea:function(){function e(e,a){var s=this.offset,l=e-s.left,o=a-s.top,n=this.width,i=this.height;l=l<0?0:l>n?n:l,o=o<0?0:o>i?i:o,t._svChange(l/n,1-o/i)}var t=this,a=t.element,s=a.find(".k-hsv-rectangle"),l=s.find(".k-draghandle").attr("tabIndex",0).on(m,n(t._keydown,t));t._hsvEvents=new i.UserEvents(s,{global:!0,press:function(t){this.offset=i.getOffset(s),this.width=s.width(),this.height=s.height(),l.focus(),e.call(this,t.x.location,t.y.location)},start:function(){s.addClass("k-dragging"),l.focus()},move:function(t){t.preventDefault(),e.call(this,t.x.location,t.y.location)},end:function(){s.removeClass("k-dragging")}}),t._hsvRect=s,t._hsvHandle=l},_onEnable:function(e){this._hueSlider.enable(e),this._opacitySlider&&this._opacitySlider.enable(e),this.wrapper.find("input").attr("disabled",!e);var t=this._hsvRect.find(".k-draghandle");e?t.attr("tabIndex",this._tabIndex):t.removeAttr("tabIndex")},_keydown:function(e){function t(t,a){var l=s._getHSV();l[t]+=a*(e.shiftKey?.01:.05),l[t]<0&&(l[t]=0),l[t]>1&&(l[t]=1),s._updateUI(l),o(e)}function a(t){var a=s._getHSV();a.h+=t*(e.shiftKey?1:5),a.h<0&&(a.h=0),a.h>359&&(a.h=359),s._updateUI(a),o(e)}var s=this;switch(e.keyCode){case u.LEFT:e.ctrlKey?a(-1):t("s",-1);break;case u.RIGHT:e.ctrlKey?a(1):t("s",1);break;case u.UP:t(e.ctrlKey&&s._opacitySlider?"a":"v",1);break;case u.DOWN:t(e.ctrlKey&&s._opacitySlider?"a":"v",-1);break;case u.ENTER:s._select(s._getHSV());break;case u.F2:s.wrapper.find("input.k-color-value").focus().select();break;case u.ESC:s._cancel()}},focus:function(){this._hsvHandle.focus()},_getHSV:function(e,t,a,s){var l=this._hsvRect,o=l.width(),n=l.he
543ight(),i=this._hsvHandle.position();return null==e&&(e=this._hueSlider.value()),null==t&&(t=i.left/o),null==a&&(a=1-i.top/n),null==s&&(s=this._opacitySlider?this._opacitySlider.value()/100:1),p.fromHSV(e,t,a,s)},_svChange:function(e,t){var a=this._getHSV(null,e,t,null);this._updateUI(a)},_updateUI:function(e,t){var a=this,s=a._hsvRect;e&&(this._colorAsText.attr("title",a.options.messages.previewInput),this._colorAsText.removeClass("k-state-error"),a._selectedColor.css(C,e.toDisplay()),t||a._colorAsText.val(a._opacitySlider?e.toCssRgba():e.toCss()),a._triggerSelect(e),e=e.toHSV(),a._hsvHandle.css({left:e.s*s.width()+"px",top:(1-e.v)*s.height()+"px"}),a._hueElements.css(C,p.fromHSV(e.h,1,1,1).toCss()),a._hueSlider.value(e.h),a._opacitySlider&&a._opacitySlider.value(100*e.a))},_selectOnHide:function(){return this.options.buttons?null:this._getHSV()},_template:i.template('# if (preview) { #<div class="k-selected-color"><div class="k-selected-color-display"><div class="k-color-input"><input class="k-color-value" # if (clearButton && !_standalone) { #placeholder="#: messages.noColor #" # } ##= !data.input ? \'style="visibility: hidden;"\' : "" #># if (clearButton && !_standalone) { #<span class="k-clear-color k-button k-flat" title="#: messages.clearColor #"></span># } #</div></div></div># } ## if (clearButton && !_standalone && !preview) { #<div class="k-clear-color-container"><span class="k-clear-color k-button k-flat">#: messages.clearColor #</span></div># } #<div class="k-hsv-rectangle"><div class="k-hsv-gradient"></div><div class="k-draghandle"></div></div><div class="k-sliders-wrap k-vbox"><input class="k-hue-slider" />
543# if (opacity) { #<input class="k-alpha-slider k-transparency-slider" /># } #</div># if (buttons) { #<div unselectable="on" class="k-controls"><button class="k-button k-primary apply">#: messages.apply #</button> <button class="k-button cancel">#: messages.cancel #</button></div># } #')}),T=c.extend({init:function(t,a){var s,l,o,n,i,r=this;c.fn.init.call(r,t,a),a=r.options,t=r.element,s=t.attr("value")||t.val(),s=s?d(s,!0):d(a.value,!0),r._value=a.value=s,l=r.wrapper=e(r._template(a)),t.hide().after(l),t.is("input")&&(t.appendTo(l),o=t.closest("label"),n=t.attr("id"),n&&(o=o.add('label[for="'+n+'"]')),o.click(function(e){r.open(),e.preventDefault()})),r._tabIndex=t.attr("tabIndex")||0,r.enable(!t.attr("disabled")),i=t.attr("accesskey"),i&&(t.attr("accesskey",null),l.attr("accesskey",i)),r.bind("activate",function(e){e.isDefaultPrevented()||r.toggle()}),r._updateUI(s)},destroy:function(){this.wrapper.off(k).find("*").off(k),this._popup&&(this._selector.destroy(),this._popup.destroy()),this._selector=this._popup=this.wrapper=null,c.fn.destroy.call(this)},enable:function(e){var t=this,a=t.wrapper,s=a.children(".k-picker-wrap"),l=s.find(".k-select");0===arguments.length&&(e=!0),t.element.attr("disabled",!e),a.attr("aria-disabled",!e),l.off(k).on("mousedown"+k,o),a.addClass("k-state-disabled").removeAttr("tabIndex").add("*",a).off(k),e?a.removeClass("k-state-disabled").attr("tabIndex",t._tabIndex).on("mouseenter"+k,function(){s.addClass("k-state-hover")}).on("mouseleave"+k,function(){s.removeClass("k-state-hover")}).on("focus"+k,function(){s.addClass("k-state-focused")}).on("blur"+k,function(){s.removeClass("k-state-focused")}).on(m,n(t._keydown,t)).on(g,".k-select",n(t.toggle,t)).on(g,t.options.toolIcon?".k-tool-icon":".k-selected-color",function(){t.trigger("activate")}):t.close()},_template:i.template('<span role="textbox" aria-haspopup="true" class="k-widget k-colorpicker"><span class="k-picker-wrap k-state-default"># if (toolIcon) { #<span class="k-icon k-tool-icon #= toolIcon #"><span class="k-selected-color"></span></span># } else { #<span class="k-selected-color"><span class="k-icon k-i-line" style="display: none;"></span></span># } #<span class="k-select" unselectable="on" aria-label="select"><span class="k-icon k-i-arrow-60-down"></span></span></span></span>'),options:{name:"ColorPicker",palette:null,columns:10,toolIcon:null,value:null,messages:v,opacity:!1,buttons:!0,preview:!0,clearButton:!1,ARIATemplate:'Current selected color is #=data || ""#'},events:["activate","change","select","open","close"],open:function(){this.element.prop("disabled")||this._getPopup().open()},close:function(){var e=this._selector&&this._selector.options||{};e._closing=!0,this._getPopup().close(),delete e._closing},toggle:function(){this.element.prop("disabled")||this._getPopup().toggle()},_noColorIcon:function(){return this.wrapper.find(".k-picker-wrap > .k-selected-color > .k-icon.k-i-line")},color:I.fn.color,value:I.fn.value,_select:I.fn._select,_triggerSelect:I.fn._triggerSelect,_isInputTypeColor:function(){var e=this.element[0];return/^input$/i.test(e.tagName)&&/^color$/i.test(e.type)},_updateUI:function(e){var t="";e&&(t=this._isInputTypeColor()||1==e.a?e.toCss():e.toCssRgba(),this.element.val(t)),this._ariaTemplate||(this._ariaTemplate=i.template(this.options.ARIATemplate)),this.wrapper.attr("aria-label",this._ariaTemplate(t)),this._triggerSelect(e),this.wrapper.find(".k-selected-color").css(C,e?e.toDisplay():_),this._noColorIcon()[t?"hide":"show"]()},_keydown:function(e){var t=e.keyCode;this._getPopup().visible()?(t==u.ESC?this._selector._cancel():this._selector._keydown(e),o(e)):t!=u.ENTER&&t!=u.DOWN||(this.open(),o(e))},_getPopup:function(){var t,s,l,o,n=this,r=n._popup;return r||(t=n.options,s=t.palette?S:x,t._standalone=!1,delete t.select,delete t.change,delete t.cancel,l=i.guid(),o=n._selector=new s(e('<
543div id="'+l+'"></div>').appendTo(document.body),t),n.wrapper.attr("aria-owns",l),n._popup=r=o.wrapper.kendoPopup({anchor:n.wrapper,adjustSize:{width:5,height:0}}).data("kendoPopup"),o.element.find(".k-clear-color").kendoButton({icon:"reset-color",click:function(e){o.options._clearedColor=!0,n.value(null),n.element.val(null),n._updateUI(null),o._colorAsText.val(""),o._hsvHandle.css({top:"0px",left:"0px"}),o._selectedColor.css(C,_),n.trigger("change",{value:n.value()}),e.preventDefault()}}),o.bind({select:function(e){n._updateUI(d(e.value)),delete o.options._clearedColor},change:function(){o.options._clearedColor||n._select(o.color()),n.close()},cancel:function(){o.options._clearedColor&&!n.value()&&o.value()&&n._select(o.color(),!0),n.close()}}),r.bind({close:function(e){var t,s,l,i;return n.trigger("close")?(e.preventDefault(),a):(n.wrapper.children(".k-picker-wrap").removeClass("k-state-focused"),t=o._selectOnHide(),s=o.value(),l=n.value(),i=o.options,t?i._clearedColor&&!l||n._select(t):(setTimeout(function(){n.wrapper&&!n.wrapper.is("[unselectable='on']")&&n.wrapper.focus()}),!i._closing&&i._clearedColor&&!l&&s?n._select(s,!0):n._updateUI(n.color())),a)},open:function(e){n.trigger("open")?e.preventDefault():n.wrapper.children(".k-picker-wrap").addClass("k-state-focused")},activate:function(){o._select(n.color(),!0),o.focus(),n.wrapper.children(".k-picker-wrap").addClass("k-state-focused")}})),r}});r.plugin(S),r.plugin(x),r.plugin(T)}(jQuery,parseInt),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
544//# sourceMappingURL=kendo.colorpicker.min.js.map
545
546/** 
547 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
548 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
549 *                                                                                                                                                                                                      
550 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
551 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
552 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
553                                                                                                                                                                                                       
554                                                                                                                                                                                                       
555                                                                                                                                                                                                       
556                                                                                                                                                                                                       
557                                                                                                                                                                                                       
558                                                                                                                                                                                                       
559                                                                                                                                                                                                       
560                                                                                                                                                                                                       
561                                                                                                                                                                                                       
562                                                                                                                                                                                                       
563                                                                                                                                                                                                       
564                                                                                                                                                                                                       
565                                                                                                                                                                                                       
566                                                                                                                                                                                                       
567                                                                                                                                                                                                       
568
569*/
570!function(e,define){define("kendo.columnsorter.min",["kendo.core.min"],e)}(function(){return function(e,t){function n(n){var r=n.find("tr:not(.k-filter-row)"),o=i.attr("index"),a=r.find("th["+o+"]:visible");return a.sort(function(n,r){var i,a;return n=e(n),r=e(r),i=n.attr(o),a=r.attr(o),i===t&&(i=e(n).index()),a===t&&(a=e(r).index()),i=parseInt(i,10),a=parseInt(a,10),i>a?1:i<a?-1:0}),a}function r(e){var t=null;return e.is("th")&&(t=e.closest("table"),t.parent().hasClass("k-gri
570d-header-wrap")?t=t.closest(".k-grid").find(".k-grid-content > table"):t.parent().hasClass("k-grid-header-locked")&&(t=t.closest(".k-grid").find(".k-grid-content-locked > table"))),t}var i=window.kendo,o=i.ui,a=o.Widget,s="dir",d="asc",l="single",c="field",f="desc",u=".kendoColumnSorter",p=".k-link",h="aria-sort",k=e.proxy,g=a.extend({init:function(e,t){var n,r=this;a.fn.init.call(r,e,t),r._refreshHandler=k(r.refresh,r),r.dataSource=r.options.dataSource.bind("change",r._refreshHandler),r.directions=r.options.initialDirection===d?[d,f]:[f,d],n=r.element.find(p),n[0]||(n=r.element.wrapInner('<a class="k-link" href="#"/>').find(p)),r.link=n,r.element.on("click"+u,k(r._click,r))},options:{name:"ColumnSorter",mode:l,allowUnsort:!0,compare:null,filter:"",initialDirection:d,showIndexes:!1},events:["change"],destroy:function(){var e=this;a.fn.destroy.call(e),e.element.off(u),e.dataSource.unbind("change",e._refreshHandler),e._refreshHandler=e.element=e.link=e.dataSource=null},refresh:function(o){if(!o||"itemchange"!==o.action&&"sync"!==o.action){var a,l,u,p,k,g=this,m=g.dataSource.sort()||[],S=g.element,v=S.attr(i.attr(c)),w=(g.dataSource._sortFields||{})[v];S.removeAttr(i.attr(s)),S.removeAttr(h),w&&(a=w.dir,S.attr(i.attr(s),a),k=w.index),S.is("th")&&w&&(l=r(S),l&&(S.attr(i.attr("index"))?(u=n(S.closest("table")),p=u.index(S)):p=S.parent().children(":visible").index(S),l.find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(p).toggleClass("k-sorted",a!==t))),S.toggleClass("k-sorted",a!==t),S.find(".k-i-sort-asc-sm,.k-i-sort-desc-sm,.k-sort-order").remove(),a===d?(e('<span class="k-icon k-i-sort-asc-sm" />').appendTo(g.link),S.attr(h,"ascending")):a===f&&(e('<span class="k-icon k-i-sort-desc-sm" />').appendTo(g.link),S.attr(h,"descending")),g.options.showIndexes&&m.length>1&&k&&e('<span class="k-sort-order" />').html(k).appendTo(g.link)}},_toggleSortDirection:function(e){var n=this.directions;return e===n[n.length-1]&&this.options.allowUnsort?t:n[0]===e?n[1]:n[0]},_click:function(e){var n,r,o=this,a=o.element,d=a.attr(i.attr(c)),f=a.attr(i.attr(s)),u=o.options,p=null===o.options.compare?t:o.options.compare,h=o.dataSource.sort()||[];if(e.preventDefault(),(!u.filter||a.is(u.filter))&&(f=this._toggleSortDirection(f),!this.trigger("change",{sort:{field:d,dir:f,compare:p}}))){if(u.mode===l)h=[{field:d,dir:f,compare:p}];else if("multiple"===u.mode){for(n=0,r=h.length;n<r;n++)if(h[n].field===d){h.splice(n,1);break}h.push({field:d,dir:f,compare:p})}this.dataSource.options.endless&&(this.dataSource.options.endless=null,a.closest(".k-grid").getKendoGrid()._endlessPageSize=o.dataSource.options.pageSize,this.dataSource.pageSize(o.dataSource.options.pageSize)),this.dataSource.sort(h)}}});o.plugin(g)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
571//# sourceMappingURL=kendo.columnsorter.min.js.map
572
573/** 
574 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
575 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
576 *                                                                                                                                                                                                      
577 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
578 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
579 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
580                                                                                                                                                                                                       
581                                                                                                                                                                                                       
582                                                                                                                                                                                                       
583                                                                                                                                                                                                       
584                                                                                                                                                                                                       
585                                                                                                                                                                                                       
586                                                                                                                                                                                                       
587                                                                                                                                                                                                       
588                                                                                                                                                                                                       
589                                                                                                                                                                                                       
590                                                                                                                                                                                                       
591                                                                                                                                                                                                       
592                                                                                                                                                                                                       
593                                                                                                                                                                                                       
594                                                                                                                                                                                                       
595
596*/
597!function(e,define){define("kendo.datepicker.min",["kendo.calendar.min","kendo.popup.min","kendo.dateinput.min"],e)}(function(){return function(e,t){function a(t){var a=t.parseFormats,n=t.format;S.normalize(t),a=e.isArray(a)?a:[a],a.length||a.push("yyyy-MM-dd"),e.inArray(n,a)===-1&&a.splice(0,0,t.format),t.parseFormats=a}function n(e){e.preventDefault()}var i,o=window.kendo,r=o.ui,l=r.Widget,s=o.parseDate,u=o.keys,d=o.support,p=o.template,c=o._activeElement,m="<div />",f="<span />
597",_=".kendoDatePicker",v="click"+_,h=d.mouseAndTouchPresent?o.applyEventMap("up",_.slice(1)):v,g="open",w="close",y="change",b="disabled",k="readonly",D="k-state-default",x="k-state-focused",I="k-state-selected",A="k-state-disabled",T="k-state-hover",V="mouseenter"+_+" mouseleave"+_,C="mousedown"+_,O="id",P="min",R="max",E="month",N="aria-disabled",F="aria-expanded",W="aria-hidden",S=o.calendar,H=S.isInRange,M=S.restrictValue,q=S.isEqualDatePart,z=e.extend,K=e.proxy,U=Date,j=function(t){var a,n=this,i=document.body,l=e(m).attr(W,"true").addClass("k-calendar-container");n.options=t=t||{},a=t.id,t.omitPopup?l=t.dateDiv:(l.appendTo(i),n.popup=new r.Popup(l,z(t.popup,t,{name:"Popup",isRtl:o.support.isRtl(t.anchor)}))),a&&(a+="_dateview",l.attr(O,a),n._dateViewID=a),n.div=l,n.value(t.value)};j.prototype={_calendar:function(){var t,a=this,i=a.calendar,l=a.options;i||(t=e(m).attr(O,o.guid()).appendTo(l.omitPopup?l.dateDiv:a.popup.element).on(C,n).on(v,"td:has(.k-link)",K(a._click,a)),a.calendar=i=new r.Calendar(t,{componentType:l.componentType}),a._setOptions(l),o.calendar.makeUnselectable(i.element),i.navigate(a._value||a._current,l.start),a.value(a._value))},_setOptions:function(e){this.calendar.setOptions({focusOnNav:!1,change:e.change,culture:e.culture,dates:e.dates,depth:e.depth,footer:e.footer,format:e.format,max:e.max,min:e.min,month:e.month,weekNumber:e.weekNumber,start:e.start,disableDates:e.disableDates})},setOptions:function(e){var t=this.options,a=e.disableDates;a&&(e.disableDates=S.disabled(a)),this.options=z(t,e,{change:t.change,close:t.close,open:t.open}),this.calendar&&this._setOptions(this.options)},destroy:function(){this.popup&&this.popup.destroy()},open:function(){var e,t=this;t._calendar(),e=t.popup._hovered,t.popup._hovered=!0,t.popup.open(),setTimeout(function(){t.popup._hovered=e},1)},close:function(){this.popup.close()},min:function(e){this._option(P,e)},max:function(e){this._option(R,e)},toggle:function(){var e=this;e[e.popup.visible()?w:g]()},move:function(e){var t=this,a=e.keyCode,n=t.calendar,i=e.ctrlKey&&a==u.DOWN||a==u.ENTER,o=!1;if(e.altKey)a==u.DOWN?(t.open(),e.preventDefault(),o=!0):a==u.UP&&(t.close(),e.preventDefault(),o=!0);else if(t.popup&&t.popup.visible()){if(a==u.ESC||i&&n._cell.hasClass(I))return t.close(),e.preventDefault(),!0;a!=u.SPACEBAR&&(t._current=n._move(e)),o=!0}return o},current:function(e){this._current=e,this.calendar&&this.calendar._focus(e)},value:function(e){var t=this,a=t.calendar,n=t.options,i=n.disableDates;i&&i(e)&&(e=null),t._value=e,t._current=new U((+M(e,n.min,n.max))),a&&a.value(e)},_click:function(e){e.currentTarget.className.indexOf(I)!==-1&&(this.calendar.trigger("change"),this.close())},_option:function(e,t){var a=this,n=a.calendar;a.options[e]=t,n&&n[e](t)}},j.normalize=a,o.DateView=j,i=l.extend({init:function(t,n){var i,r,u=this;l.fn.init.call(u,t,n),t=u.element,n=u.options,n.disableDates=o.calendar.disabled(n.disableDates),n.min=s(t.attr("min"))||s(n.min),n.max=s(t.attr("max"))||s(n.max),a(n),u._initialOptions=z({},n),u._wrapper(),u.dateView=new j(z({},n,{id:t.attr(O),anchor:u.wrapper,change:function(){u._change(this.value()),u.close()},close:function(e){u.trigger(w)?e.preventDefault():(t.attr(F,!1),r.attr(W,!0))},open:function(e){var a,n=u.options;u.trigger(g)?e.preventDefault():(u.element.val()!==u._oldText&&(a=s(t.val(),n.parseFormats,n.culture),u.dateView[a?"current":"value"](a)),t.attr(F,!0),r.attr(W,!1),u._updateARIA(a))}})),r=u.dateView.div,u._icon();try{t[0].setAttribute("type","text")}catch(d){t[0].type="text"}t.addClass("k-input").attr({role:"combobox","aria-expanded":!1,"aria-owns":u.dateView._dateViewID,autocomplete:"off"}),u._reset(),u._template(),i=t.is("[disabled]")||e(u.element).parents("fieldset").is(":disabled"),i?u.enable(!1):u.readonly(t.is("[readonly]")),u._createDateInput(n),u._old=u._update(n.value||u.element.val()),u._oldText=t.val(),o.notify(u)},events:[g,w,y],options:{name:"DatePicker",value:null,footer:"",format:"",culture:"",parseFormats:[],min:new Date(1900,0,1),max:new Date(2099,11,31),start:E,depth:E,animation:{},month:{},dates:[],disableDates:null,ARIATemplate:'Current focused date is #=kendo.toString(data.current, "D")#',dateInput:!1,weekNumber:!1},setOptions:function(e){var t=this,n=t._value;l.fn.setOptions.call(t,e),e=t.options,e.min=s(e.min),e.max=s(e.max),a(e),t.dateView.setOptions(e),t._createDateInput(e),t._dateInput||t.element.val(o.toString(n,e.format,e.culture)),n&&t._updateARIA(n)},_editable:function(e){var t=this,a=t._dateIcon.off(_),i=t.element.off(_),o=t._inputWrapper.off(_),r=e.readonly,l=e.disable;r||l?(o.addClass(l?A:D).removeClass(l?D:A),i.attr(b,l).attr(k,r).attr(N,l)):(o.addClass(D).removeClass(A).on(V,t._toggleHover),i&&i.length&&(i[0].removeAttribute(b),i[0].removeAttribute(k)),i.attr(N,!1).on("keydown"+_,K(t._keydown,t)).on("focusout"+_,K(t._blur,t)).on("focus"+_,function(){t._inputWrapper.addClass(x)}),a.on(h,K(t._click,t)).on(C,n))},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this._dateInput&&this._dateInput._editable({readonly:e===t||e,disable:!1})},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this._dateInput&&this._dateInput._editable({readonly:!1,disable:!(e=e===t||e)})},destroy:function(){var e=this;l.fn.destroy.call(e),e.dateView.destroy(),e.element.off(_),e._dateIcon.off(_),e._inputWrapper.off(_),e._form&&e._form.off("reset",e._resetHandler)},open:function(){this.dateView.open()},close:function(){this.dateView.close()},min:function(e){return this._option(P,e)},max:function(e){return this._option(R,e)},value:function(e){var a=this;return e===t?a._value:(a._old=a._update(e),null===a._old&&a.element.val(""),a._oldText=a.element.val(),t)},_toggleHover:function(t){e(t.currentTarget).toggleClass(T,"mouseenter"
597===t.type)},_blur:function(){var e=this,t=e.element.val();e.close(),t!==e._oldText&&(e._change(t),t||e.dateView.current(o.calendar.getToday())),e._inputWrapper.removeClass(x)},_click:function(e){var t=this;t.dateView.toggle(),t._focusElement(e.type)},_focusElement:function(e){var t=this.element;d.touch&&(!d.mouseAndTouchPresent||(e||"").match(/touch/i))||t[0]===c()||t.trigger("focus")},_change:function(e){var t,a,n,i=this,r=i.element.val();e=i._update(e),t=!o.calendar.isEqualDate(i._old,e),a=t&&!i._typing,n=r!==i.element.val(),(a||n)&&i.element.trigger(y),t&&(i._old=e,i._oldText=i.element.val(),i.trigger(y)),i._typing=!1},_keydown:function(e){var t=this,a=t.dateView,n=t.element.val(),i=!1;a.popup.visible()||e.keyCode!=u.ENTER||n===t._oldText?(i=a.move(e),t._updateARIA(a._current),i?t._dateInput&&e.stopImmediatePropagation&&e.stopImmediatePropagation():t._typing=!0):t._change(n)},_icon:function(){var t,a=this,n=a.element;t=n.next("span.k-select"),t[0]||(t=e('<span unselectable="on" class="k-select" aria-label="select"><span class="k-icon k-i-calendar"></span></span>').insertAfter(n)),a._dateIcon=t.attr({role:"button","aria-controls":a.dateView._dateViewID})},_option:function(e,a){var n=this,i=n.options;return a===t?i[e]:(a=s(a,i.parseFormats,i.culture),a&&(i[e]=new U((+a)),n.dateView[e](a)),t)},_update:function(e){var t,a=this,n=a.options,i=n.min,r=n.max,l=a._value,u=s(e,n.parseFormats,n.culture),d=null===u&&null===l||u instanceof Date&&l instanceof Date;return n.disableDates(u)&&(u=null,a._old||a.element.val()||(e=null)),+u===+l&&d?(t=o.toString(u,n.format,n.culture),t!==e&&a.element.val(null===u?e:t),u):(null!==u&&q(u,i)?u=M(u,i,r):H(u,i,r)||(u=null),a._value=u,a.dateView.value(u),a._dateInput&&u?a._dateInput.value(u||e):a.element.val(o.toString(u||e,n.format,n.culture)),a._updateARIA(u),u)},_wrapper:function(){var t,a=this,n=a.element;t=n.parents(".k-datepicker"),t[0]||(t=n.wrap(f).parent().addClass("k-picker-wrap k-state-default"),t=t.wrap(f).parent()),t[0].style.cssText=n[0].style.cssText,n.css({width:"100%",height:n[0].style.height}),a.wrapper=t.addClass("k-widget k-datepicker").addClass(n[0].className).removeClass("input-validation-error"),a._inputWrapper=e(t[0].firstChild)},_reset:function(){var t=this,a=t.element,n=a.attr("form"),i=t.options,r=i.disableDates,l=i.parseFormats.length?i.parseFormats:null,s=t._initialOptions.value,u=n?e("#"+n):a.closest("form"),d=a[0].defaultValue;s&&r&&r(s)&&(s=null),d&&o.parseDate(d,l,i.culture)||!s||a.attr("value",o.toString(s,i.format,i.culture)),u[0]&&(t._resetHandler=function(){t.value(s||a[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=u.on("reset",t._resetHandler))},_template:function(){this._ariaTemplate=p(this.options.ARIATemplate)},_createDateInput:function(e){this._dateInput&&(this._dateInput.destroy(),this._dateInput=null),e.dateInput&&(this._dateInput=new r.DateInput(this.element,{culture:e.culture,format:e.format,min:e.min,max:e.max}))},_updateARIA:function(e){var t,a=this,n=a.dateView.calendar;a.element&&a.element.length&&a.element[0].removeAttribute("aria-activedescendant"),n&&(t=n._cell,t.attr("aria-label",a._ariaTemplate({current:e||n.current()})),a.element.attr("aria-activedescendant",t.attr("id")))}}),r.plugin(i)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
598//# sourceMappingURL=kendo.datepicker.min.js.map
599
600/** 
601 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
602 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
603 *                                                                                                                                                                                                      
604 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
605 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
606 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
607                                                                                                                                                                                                       
608                                                                                                                                                                                                       
609                                                                                                                                                                                                       
610                                                                                                                                                                                                       
611                                                                                                                                                                                                       
612                                                                                                                                                                                                       
613                                                                                                                                                                                                       
614                                                                                                                                                                                                       
615                                                                                                                                                                                                       
616                                                                                                                                                                                                       
617                                                                                                                                                                                                       
618                                                                                                                                                                                                       
619                                                                                                                                                                                                       
620                                                                                                                                                                                                       
621                                                                                                                                                                                                       
622
623*/
624!function(t,define){define("kendo.timepicker.min",["kendo.popup.min","kendo.dateinput.min"],t)}(function(){return function(t,e){function i(){var t=new it,e=new it(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),i=new it(t.getFullYear(),t.getMonth(),t.getDate(),12,0,0);return-1*(e.getTimezoneOffset()-i.getTimezoneOffset())}function n(t){return 60*t.getHours()*N+t.getMinutes()*N+1e3*t.getSeconds()+t.getMilliseconds()}function a(t){var e=new Date(2100,0,1);return e.setMinutes(-t),e}function s(t,e,i){var a,s=n(e),o=n(i);return!t||s==o||(a=n(t),s>a&&(a+=K),o<s&&(o+=K),a>=s&&a<=o)}function o(t){var e=t.parseFormats;t.format=T(t.format||w.getCulture(t.culture).calendars.standard.patterns.t),e=$(e)?e:[e],e.splice(0,0,t.format),t.parseFormats=e}function l(t){t.preventDefault()}function r(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function u(t,e){var i,n=e.calendar;return"string"==typeof t&&(i=n.patterns[t]?n.patterns[t]:t),i||(i=n.patterns.d),i}function c(t,e){var i=t[t.length-1];i&&"LITERAL"===i.type?i.pattern+=e:t.push({type:at,pattern:e})}function d(t){return"h"===t||"K"===t}function h(t){var e;return t<=3?e="abbreviated":4===t?e="wide":5===t?e="narrow":6===t&&(e="short"),e}
624function p(t,e,i){return i=i||0,t.indexOf(e,i)===i}function m(t,e){var i=!1;return t.indexOf(e)!==-1&&(i=!0),i}function f(t){for(var e,i,n,a,s,o,l,r=w.culture(),m=u(t,r),f=[],_=nt.lastIndex=0,g=nt.exec(m);g;)l=g[0],_<g.index&&c(f,m.substring(_,g.index)),p(l,'"')||p(l,"'")?c(f,l):(e=l[0],i=ct[e],n={type:i,pattern:l},"hour"===i&&(n.hour12=d(l)),a=dt[i],a&&(s="number"==typeof a.minLength?a.minLength:a.minLength[e],o=l.length,o>=s&&(n.names={type:a.type,nameType:h(o),standAlone:a.standAlone===e})),f.push(n)),_=nt.lastIndex,g=nt.exec(m);return _<m.length&&c(f,m.substring(_)),f}function _(t,e){for(var i=t+"";i.length<(e||2);)i="0"+i;return i}function g(t,e){return Math.max(Math.floor(t/e),0)}var v,k,w=window.kendo,b=w.keys,x=w.parseDate,y=w._activeElement,T=w._extractFormat,M=w.support,H=M.browser,D=w.ui,C=D.Widget,S="open",V="close",L="change",R=".kendoTimePicker",q="click"+R,I="k-state-default",F="disabled",A="readonly",O="li",E="<span></span>",P="k-state-focused",W="k-state-hover",Y="mouseenter"+R+" mouseleave"+R,B="mousedown"+R,N=6e4,K=864e5,z="k-state-selected",G="k-state-disabled",j="aria-selected",Q="aria-expanded",U="aria-hidden",X="aria-disabled",Z="aria-activedescendant",J="id",$=t.isArray,tt=t.extend,et=t.proxy,it=Date,nt=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g,at="literal",st="month",ot="hour",lt="zone",rt="weekday",ut="quarter",ct={G:"era",y:"year",q:ut,Q:ut,M:st,L:st,d:"day",E:rt,c:rt,e:rt,h:ot,H:ot,k:ot,K:ot,m:"minute",s:"second",a:"dayperiod",x:lt,X:lt,z:lt,Z:lt},dt={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},ht=new it,pt='<div tabindex="0" class="k-timeselector"><div class="k-time-header"><span class="k-title"></span><button class="k-button k-flat k-time-now" title="Select now" aria-label="Select now">Now</button></div><div class="k-time-list-container"><span class="k-time-highlight"></span></div></div>',mt='<div class="k-time-footer k-action-buttons"><button class="k-button k-time-cancel" title="Cancel changes" aria-label="Cancel changes">Cancel</button><button class="k-time-accept k-button k-primary" title="Set time" aria-label="Set time">Set</button></div>',ft='<span class="k-time-highlight"></span>';ht=new Date(ht.getFullYear(),ht.getMonth(),ht.getDate(),0,0,0),v=function(t){var e=this,i=t.id;e.options=t,e._dates=[],e._createList(t.timeView&&"scroll"===t.timeView.list),i&&(e._timeViewID=i+"_timeview",e._optionID=i+"_option_selected",e.ul.attr(J,e._timeViewID)),e._heightHandler=et(e._height,e),e._popup()},v.prototype={_createList:function(t){t?this._createScrollList():this._createClassicRenderingList()},_createScrollList:function(){this.list=t(pt).on(B,l),this.options.omitPopup||this.list.append(mt),this.ul=this.list.find(".k-time-list-container"),this.list.on("click"+R,".k-time-header button.k-time-now",et(this._nowClickHandler,this)),this.list.on("click"+R,".k-time-footer button.k-time-cancel",et(this._cancelClickHandler,this)),this.list.on("click"+R,".k-time-footer button.k-time-accept",et(this._setClickHandler,this)),this.list.on("mouseover"+R,".k-time-list-wrapper",et(this._mouseOverHandler,this)),this.list.on("keydown"+R,et(this._scrollerKeyDownHandler,this))},_scrollerKeyDownHandler:function(e){var i=this,n=e.keyCode,a=t(e.currentTarget).find(".k-time-list-wrapper.k-state-focused"),s=i.list.find(".k-time-list-wrapper"),o=s.length,l=s.index(a),r=w.support.isRtl(i.wrapper),u=a.find(".k-item:visible:eq(0)").outerHeight(),c=a.find(".k-time-container.k-content.k-scrollable");a.length&&(n==b.RIGHT&&!r||n==b.LEFT&&r?l+1<o&&i._focusList(s.eq(l+1)):n==b.LEFT&&!r||n==b.RIGHT&&r?l-1>=0&&i._focusList(s.eq(l-1)):n==b.UP?(c.scrollTop(c.scrollTop()-u),e.preventDefault()):n==b.DOWN?(c.scrollTop(c.scrollTop()+u),e.preventDefault()):n===b.ENTER?i._setClickHandler():n===b.ESC&&i._cancelClickHandler())},_mouseOverHandler:function(e){this._focusList(t(e.currentTarget))},_focusList:function(t){this.list.find(".k-time-list-wrapper").removeClass(P),t.addClass(P),this.list.focus(),this._scrollTop=t.find(".k-scrollable").scrollTop()},_createClassicRenderingList:function(){var e=this;e.ul=t('<ul tabindex="-1" role="listbox" aria-hidden="true" unselectable="on" class="k-list k-reset"/>').css({overflow:M.kineticScrollNeeded?"":"auto"}).on(q,O,et(e._click,e)).on("mouseenter"+R,O,function(){t(this).addClass(W)}).on("mouseleave"+R,O,function(){t(this).removeClass(W)}
624),e.list=t("<div class='k-list-container k-list-scroller' unselectable='on'/>").append(e.ul).on(B,l),e.template=w.template('<li tabindex="-1" role="option" class="k-item" unselectable="on">#=data#</li>',{useWithBlock:!1})},current:function(i){var n=this,a=n.options.active;return i===e?n._current:(n._current&&(n._current.removeClass(z),n._current&&n._current.length&&(n._current[0].removeAttribute(J),n._current[0].removeAttribute(j))),i&&(i=t(i).addClass(z).attr(J,n._optionID).attr(j,!0),n.scroll(i[0])),n._current=i,a&&a(i),e)},_updateTitle:function(){this.list.find(".k-time-header > .k-title").html(w.toString(this._value,this.options.format,this.options.culture))},applyValue:function(t){var e,i,n,a,s,o,l,r,u,c;t&&(e=m(this.options.format.toLowerCase(),"t"),i=t.getHours(),n=t.getMinutes(),a=t.getSeconds(),o=this.ul.find('[data-index="1"]'),l=this.ul.find('[data-index="2"]'),r=this.ul.find('[data-index="3"]'),u=this.ul.find('[data-index="4"]'),e&&(i>12?(s="PM",i-=12):s="AM"),o.length&&(c=o.find('.k-item[data-value="'+_(i)+'"]'),o.scrollTop(o.find(".k-item:visible").index(c)*c.outerHeight())),l.length&&(c=l.find('.k-item[data-value="'+_(n)+'"]'),l.scrollTop(l.find(".k-item:visible").index(c)*c.outerHeight())),r.length&&(c=r.find('.k-item[data-value="'+_(a)+'"]'),r.scrollTop(r.find(".k-item:visible").index(c)*c.outerHeight())),u.length&&(c=u.find('.k-item[data-value="'+_(s)+'"]'),u.scrollTop(u.find(".k-item:visible").index(c)*c.outerHeight())))},close:function(){this.popup.close()},destroy:function(){var t=this;t.ul.off(R),t.list.off(R),this.popup&&t.popup.destroy()},open:function(){var t,e=this;(!e.ul[0].firstChild||e.ul.find("li").length<1)&&e.bind(),t=e.popup._hovered,e.popup._hovered=!0,e.popup.open(),setTimeout(function(){e.popup._hovered=t},1),e._current&&e.scroll(e._current[0])},dataBind:function(t){for(var e,i=this,n=i.options,a=n.format,o=w.toString,l=i.template,r=t.length,u=0,c="";u<r;u++)e=t[u],s(e,n.min,n.max)&&(c+=l(o(e,a,n.culture)));i._html(c)},refresh:function(){var t,e,s=this,o=s.options,l=o.format,u=i(),c=u<0,d=w.parseDate(s._value),h=d?r(d,o.min):r(new Date,o.min),p=o.min,m=o.max,_=n(p),g=n(m),v=n(a(o.interval)),k=o.interval*N,b=w.toString,x=s.template,y=o.useValueToRender?h:new Date((+o.min)),T=new it(y),M="";e=c?(K+u*N)/k:K/k,_==g&&v!==g||(_>g&&(g+=K),e=(g-_)/k+1),o.timeView&&"scroll"===o.timeView.list?M=s._createListContent(f(l)):s.getDatesInRange(t,g,T,m,k,y).forEach(function(t){M+=x(b(t,l,o.culture))}),s._html(M)},_updateListBottomOffset:function(t){var e=t.find(".k-item:visible:eq(0)").outerHeight(),i=t.outerHeight(),n=i-e;t.find(".k-scrollable-placeholder").css({height:t.find("ul").height()+n})},_updateHoursRange:function(){var e,i,n,a=this,s=this.ul.find('[data-index="1"]'),o=this._minHours,l=this._maxHours,r=m(this.options.format.toLowerCase(),"t");s.length&&(n=g(s.scrollTop(),s.find(".k-item:visible:eq(0)").outerHeight()),this._selectedHour=+s.find(".k-item:visible").eq(n).attr("data-value"),r&&this._selectedDesignator?("AM"===this._selectedDesignator?(o<12&&(i=!0),l<12&&(e=!0)):"PM"===this._selectedDesignator&&(o>12&&(i=!0,o-=12),l>12&&(e=!0,l-=12)),s.find(".k-item").each(function(n,s){s=t(s);var r=+s.attr("data-value");a._validateMin&&i&&r<o||a._validateMax&&e&&r>l?s.hide():s.show()})):s.find(".k-item").each(function(e,i){i=t(i);var n=+i.attr("data-value");a._validateMin&&n<o||a._validateMax&&n>l?i.hide():i.show()}),this._updateListBottomOffset(s))},_updateMinutesRange:function(){var e,i=this,n=this.ul.find('[data-index="2"]'),a=this._minHours,s=this._maxHours,o=this._minMinutes,l=this._maxMinutes,r=this._selectedHour;n.length&&(e=g(n.scrollTop(),n.find(".k-item:visible:eq(0)").outerHeight()),this._selectedMinutes=+n.find(".k-item:visible").eq(e).attr("data-value"),n.find(".k-item").each(function(e,n){
624n=t(n);var u=+n.attr("data-value");i._validateMin&&u<o&&a&&r===a||i._validateMax&&u>l&&s&&r===s?n.hide():n.show()}),this._updateListBottomOffset(n))},_updateSecondsRange:function(){var e=this,i=this.ul.find('[data-index="3"]'),n=this._minSeconds,a=this._minSeconds,s=this._minMinutes,o=this._maxMinutes,l=this._selectedMinutes;i.length&&(i.find(".k-item").each(function(i,r){r=t(r);var u=+r.attr("data-value");e._validateMin&&u<n&&s&&l===s||e._validateMax&&u>a&&o&&l===o?r.hide():r.show()}),this._updateListBottomOffset(i))},_updateDesignatorRange:function(){var t,e=this._minHours,i=this._maxHours,n=this.ul.find('[data-index="4"]');n.length&&(t=g(n.scrollTop(),n.find(".k-item:visible:eq(0)").outerHeight()),this._selectedDesignator=n.find(".k-item:visible").eq(t).attr("data-value"),this._validateMin&&e>=12?n.find('.k-item[data-value="AM"]').hide():n.find('.k-item[data-value="AM"]').show(),this._validateMax&&i<12?n.find('.k-item[data-value="PM"]').hide():n.find('.k-item[data-value="PM"]').show())},_updateRanges:function(){var t,e;if(this.options.specifiedRange){if(this._value||(this._value=new Date),t=this.options.max,e=this.options.min,this._selectedDesignator=this._selectedHour=this._selectedMinutes=this._selectedSeconds=null,this.options.validateDate){if(this._validateMax=t.getFullYear()===this._value.getFullYear()&&t.getMonth()===this._value.getMonth()&&t.getDate()===this._value.getDate(),e.getFullYear()===this._value.getFullYear()&&e.getMonth()===this._value.getMonth()&&e.getDate()===this._value.getDate()?this._validateMin=!0:this._validateMax=!0,!this._validateMax&&!this._validateMin)return}else this._validateMax=!0,this._validateMin=!0;this._minMinutes=e.getMinutes(),this._maxMinutes=t.getMinutes(),this._minHours=e.getHours(),this._maxHours=t.getHours(),this._minSeconds=e.getSeconds(),this._maxSeconds=t.getSeconds(),this._updateDesignatorRange(),this._updateHoursRange(),this._updateMinutesRange(),this._updateSecondsRange()}},addTranslate:function(){var t,e,i,n,a,s,o,l=this.ul.find(".k-time-container.k-content.k-scrollable"),r=l.length;for(o=0;o<r;o++)t=l.eq(o),e=t.find(".k-item:visible:eq(0)").outerHeight(),i=t.outerHeight(),n=(i-e)/2,a="translateY("+n+"px)",s=i-e,t.find("ul").css({transform:a,"-ms-transform":a}),t.find(".k-scrollable-placeholder").css({height:t.find("ul").height()+s}),t.off(R).on("click"+R,".k-item",et(this._itemClickHandler,this)).on("scroll"+R,et(this._listScrollHandler,this))},_nowClickHandler:function(){var t=new Date;this.value(t),this.options.change(w.toString(t,this.options.format,this.options.culture))},_cancelClickHandler:function(){this.value(this._value),this.popup.close()},_setClickHandler:function(){this._value=new Date(this._currentlySelected),this._updateCurrentlySelected(),this.options.change(w.toString(this._value,this.options.format,this.options.culture),!0),this.popup.close()},_listScrollHandler:function(e){var i=Math.floor(t(e.currentTarget).find(".k-item:visible:eq(0)").outerHeight());e.currentTarget.scrollTop%i!==0&&(e.currentTarget.scrollTop=e.currentTarget.scrollTop>this._scrollTop?Math.ceil(e.currentTarget.scrollTop/i)*i:Math.floor(e.currentTarget.scrollTop/i)*i),this._scrollTop=e.currentTarget.scrollTop,this._updateRanges(),this._updateCurrentlySelected()},_updateCurrentlySelected:function(){var t,i,n,a,s,o=m(this.options.format.toLowerCase(),"t"),l=this.ul.find('[data-index="1"]'),r=this.ul.find('[data-index="2"]'),u=this.ul.find('[data-index="3"]'),c=this.ul.find('[data-index="4"]');this._currentlySelected||(this._currentlySelected=this._value?new Date(this._value):new Date),l.length&&(n=g(l.scrollTop(),Math.floor(l.find(".k-item:visible:eq(0)").outerHeight())),t=+l.find(".k-item:visible").eq(n).attr("data-value")),r.length&&(n=g(r.scrollTop(),Math.floor(r.find(".k-item:visible:eq(0)").outerHeight())),i=+r.find(".k-item:visible").eq(n).attr("data-value")),u.length&&(n=g(u.scrollTop(),Math.floor(u.find(".k-item:visible:eq(0)").outerHeight())),a=+u.find(".k-item:visible").eq(n).attr("data-value")),c.length&&(n=g(c.scrollTop(),Math.floor(c.find(".k-item:visible:eq(0)").outerHeight())),s=c.find(".k-item:visible").eq(n).attr("data-value")),o&&("PM"==s&&(t+=12),"AM"===s&&12===t&&(t=0)),t!==e&&this._currentlySelected.setHours(t),i!==e&&this._currentlySelected.setMinutes(i),a!==e&&this._currentlySelected.setSeconds(a)},_itemClickHandler:function(e){var i=t(e.originalEvent.currentTarget),n=i.find(".k-item:visible").index(t(e.currentTarget)),a=i.find(".k-item:visible:eq(0)").outerHeight();i.scrollTop(n*a)}
624,getDatesInRange:function(t,e,i,a,s,o){for(var l=[];;){if(e&&(n(o)>=e||i.getDate()!=o.getDate())){t=n(o),i<o&&(t+=K),t>e&&(o=new it((+a))),n(o)>0&&l.push(new Date(o));break}if(i.getDate()!=o.getDate())break;l.push(new Date(o)),o.setTime(o.getTime()+s)}return l},_createListContent:function(t){var e,i,n,a=t.length,s="";for(n=0;n<a;n++)e=t[n],"literal"===e.type?s+=this._literalTemplate(e):(i=this._getValues(e,!0),s+=this._itemTemplate(i.values,e,e.type,i.index));return s},_itemTemplate:function(t,e,i,n){var a,s="",o=t.length;for(s+='<div class="k-time-list-wrapper" role="presentation"><span class="k-title">'+(i||e.type)+'</span><div class="k-time-list"><div class="k-time-container k-content k-scrollable" role="presentation" data-index="'+n+'"><ul class="k-reset">',a=0;a<o;a++)s+='<li class="k-item" data-value="'+t[a]+'"><span>'+t[a]+"</span></li>";return s+='</ul><div class="k-scrollable-placeholder"></div></div></div></div>'},_getValues:function(t,e){var i,n,a=[],s=0;for("hour"===t.type?(i=1,n=t.hour12?12:23):"minute"===t.type?(i=2,n=59):"second"===t.type&&(i=3,n=59);s<=n;s++)a.push(e?_(s):s);return{values:a,index:i}},_literalTemplate:function(t){var e='<div class="k-time-separator">'+(" tt"===t.pattern?":":t.pattern)+"</div>";return" tt"===t.pattern&&(e+=this._itemTemplate(["AM","PM"],t,"AM/PM",4)),e},bind:function(){var t=this,e=t.options.dates;e&&e[0]?t.dataBind(e):t.refresh()},_html:function(t){var e=this;e.options.timeView&&"scroll"===e.options.timeView.list?(t=ft+t,e.ul.html(t)):(e.ul[0].innerHTML=t,e.popup.unbind(S,e._heightHandler),e.popup.one(S,e._heightHandler),e.current(null),e.select(e._value))},scroll:function(t){if(t){var e=this.list[0],i=t.offsetTop,n=t.offsetHeight,a=e.scrollTop,s=e.clientHeight,o=i+n;a>i?a=i:o>a+s&&(a=o-s),e.scrollTop=a}},select:function(e){var i,n=this,a=n.options,s=n._current;e instanceof Date&&(e=w.toString(e,a.format,a.culture)),"string"==typeof e&&(s&&s.text()===e?e=s:(e=t.grep(n.ul[0].childNodes,function(t){return(t.textContent||t.innerText)==e}),e=e[0]?e:null)),i=n._distinctSelection(e),n.current(i)},_distinctSelection:function(e){var i,a,s=this;return e&&e.length>1&&(i=n(s._value),a=t.inArray(i,s._dates),e=s.ul.children()[a]),e},setOptions:function(t){var e=this.options;t.min=x(t.min),t.max=x(t.max),this.options=tt(e,t,{active:e.active,change:e.change,close:e.close,open:e.open}),this.bind()},toggle:function(){var t=this;t.popup.visible()?t.close():t.open()},value:function(t){var e=this;e._value=t,e.ul[0].firstChild&&(e.options.timeView&&"scroll"===e.options.timeView.list?e.applyValue(t):e.select(t))},_click:function(e){var i=this,n=t(e.currentTarget),a=n.text(),s=i.options.dates;s&&s.length>0&&(a=s[n.index()]),e.isDefaultPrevented()||(i.select(n),i.options.change(a,!0),i.close())},_height:function(){var t=this,e=t.list,i=e.parent(".k-animation-container"),n=t.options.height;t.ul[0].children.length&&e.add(i).show().height(t.ul[0].scrollHeight>n?n:"auto").hide()},_parse:function(t){var e=this,i=e.options,a=n(i.min)!=n(ht)?i.min:null,s=n(i.max)!=n(ht)?i.max:null,o=e._value||a||s||ht;return t instanceof it?t:(t=x(t,i.parseFormats,i.culture),t&&(t=new it(o.getFullYear(),o.getMonth(),o.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())),t)},_adjustListWidth:function(){var t,e,i=this.list,n=i[0].style.width,a=this.options.anchor,s=w._outerWidth;!i.data("width")&&n||(t=window.getComputedStyle?window.getComputedStyle(a[0],null):0,e=t?parseFloat(t.width):s(a),t&&(H.mozilla||H.msie)&&(e+=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth)),n=e-(s(i)-i.width()),i.css({fontFamily:a.css("font-family"),width:n}).data("width",n))},_popup:function(){var t=this,e=t.list,i=t.options,n=i.anchor;this.options.omitPopup?e.appendTo(i.timeDiv):t.popup=new D.Popup(e,tt(i.popup,{anchor:n,open:i.open,close:i.close,animation:i.animation,isRtl:M.isRtl(i.anchor),activate:function(){t.options.timeView&&"scroll"===t.options.timeView.list&&(t.addTranslate(),t.applyValue(t._value),t._updateRanges(),t._focusList(t.list.find(".k-time-list-wrapper:eq(0)")))}}))},move:function(t){var i=this,n=t.keyCode,a=i.ul[0],s=i._current,o=n===b.DOWN;if(n===b.UP||o){if(t.altKey)return i.toggle(o),e;s=o?s?s[0].nextSibling:a.firstChild:s?s[0].previousSibling:a.lastChild,s&&i.select(s),i.options.change(i._current.text()),t.preventDefault()}else n!==b.ENTER&&n!==b.TAB&&n!==b.ESC||(t.preventDefault(),s&&i.options.change(s.text(),!0),i.close())}},v.getMilliseconds=n,w.TimeView=v,k=C.extend({init:function(e,i){var a,s,l,r,u,c,d=this;i=i||{},i.componentType=i.componentType||"classic",C.fn.init.call(d,e,i),e=d.element,i=d.options,i.min=x(e.attr("min"))||x(i.min),i.max=x(e.attr("max"))||x(i.max),+i.max==+ht&&+i.min==+ht||(this._specifiedRange=!0),o(i),d._initialOptions=tt({},i),d._wrapper(),d.options.timeView&&"scroll"===d.options.timeView.list&&(d.options.height=null),d.timeView=s=new v(tt({},i,{id:e.attr(J),anchor:d.wrapper,format:i.format,change:function(t,i){i?d._change(t):e.val(t)},open:function(t){d.options.timeView&&"scroll"!==d.options.timeView.list?d.timeView._adjustListWidth():d.timeView._updateTitle(),d.trigger(S)?t.preventDefault():(e.attr(Q,!0),a.attr(U,!1))},close:function(t){d.trigger(V)?t.preventDefault():(e.attr(Q,!1),a.attr(U,!0))},active:function(t){e&&e.length&&e[0].removeAttribute(Z),t&&e.attr(Z,s._optionID)},specifiedRange:d._specifiedRange})),a=s.ul,d._icon(),d._reset();try{e[0].setAttribute("type","text")}catch(h){e[0].type="text"}e.addClass("k-input").attr({role:"combobox","aria-expanded":!1,"aria-owns":s._timeViewID,autocomplete:"off"}),l=e.is("[disabled]")||t(d.element).parents("fieldset").is(":disabled"),l?d.enable(!1):d.readonly(e.is("[readonly]")),i.dateInput&&(r=i.min,u=i.max,c=new it,n(r)==n(u)&&(r=new it(c.getFullYear(),c.getMonth(),c.getDate(),0,0,0),u=new it(c.getFullYear(),c.getMonth(),c.getDate(),24,0,0)),d._dateInput=new D.DateInput(e,{culture:i.culture,format:i.format,min:r,max:u,value:i.value,interval:i.interval})),d._old=d._update(i.value||d.element.val()),d._oldText=e.val(),w.notify(d)},options:{name:"TimePicker",min:ht,max:ht,format:"",dates:[],parseFormats:[],value:null,interval:30,height:200,animation:{},dateInput:!1},events:[S,V,L],componentTypes:{classic:{timeView:{list:"list"}},modern:{timeView:{list:"scroll"}}},setOptions:function(t){var e=this,i=e._value;C.fn.setOptions.call(e,t),t=e.options,o(t),e.timeView.setOptions(t),i&&e.element.val(w.toString(i,t.format,t.culture))},dataBind:function(t){$(t)&&this.timeView.dataBind(t)},_editable:function(t){var e=this,i=t.disable,n=t.readonly,a=e._arrow.off(R),s=e.element.off(R),o=e._inputWrapper.off(R);e._dateInput&&e._dateInput._unbindInput(),n||i?(o.addClass(i?G:I).removeClass(i?I:G),s.attr(F,i).attr(A,n).attr(X,i)):(o.addClass(I).removeClass(G).on(Y,e._toggleHover),s&&s.length&&(s[0].removeAttribute(F),s[0].removeAttribute(A)),s.attr(X,!1).on("keydown"+R,et(e._keydown,e)).on("focusout"+R,et(e._blur,e)).on("focus"+R,function(){e._inputWrapper.addClass(P)}),e._dateInput&&e._dateInput._bindInput(),a.on(q,et(e._click,e)).on(B,l))},readonly:function(t){this._editable({readonly:t===e||t,disable:!1})},enable:function(t){this._editable({readonly:!1,disable:!(t=t===e||t)})},destroy:function(){var t=this;C.fn.destroy.call(t),t.timeView.destroy(),t.element.off(R),t._arrow.off(R),t._inputWrapper.off(R),t._form&&t._form.off("reset",t._resetHandler)},close:function(){this.timeView.close()},open:function(){this.timeView.open()},min:function(t){return this._option("min",t)},max:function(t){return this._option("max",t)},value:function(t){var i=this;return t===e?i._value:(i._old=i._update(t),null===i._old&&i.element.val(""),i._oldText=i.element.val(),e)},_blur:function(){var t=this,e=t.element.val();t.options.timeView&&"scroll"===t.options.timeView.list||t.close(),e!==t._oldText&&t._change(e),t._inputWrapper.removeClass(P)},_click:function(){var t=this,e=t.element;t.timeView.toggle(),M.touch||e[0]===y()||e.trigger("focus")},_change:function(t){var e,i,n,a=this,s=a.element.val();t=a._update(t),e=!w.calendar.isEqualDate(a._old,t),i=e&&!a._typing,n=s!==a.element.val(),(i||n)&&a.element.trigger(L),e&&(a._old=t,a._oldText=a.element.val(),a.trigger(L)),a._typing=!1},_icon:function(){var e,i=this,n=i.element;e=n.next("span.k-select"),e[0]||(e=t('<span unselectable="on" class="k-select" aria-label="select"><span class="k-icon k-i-clock"></span></span>').insertAfter(n)),i._arrow=e.attr({role:"button","aria-controls":i.timeView._timeViewID})},_keydown:function(t){var e=this,i=t.keyCode,n=e.timeView,a=e.element.val();n.popup.visible()||t.altKey?(n.move(t),e._dateInput&&t.stopImmediatePropagation&&t.stopImmediatePropagation()):i===b.ENTER&&a!==e._oldText?e._change(a):e._typing=!0},_option:function(t,i){var n=this,a=n.options;return i===e?a[t]:(i=n.timeView._parse(i),i&&(i=new it((+i)),a[t]=i,n.timeView.options[t]=i,n.timeView.bind()),e)},_toggleHover:function(e){t(e.currentTarget).toggleClass(W,"mouseenter"
624===e.type)},_update:function(t){var e=this,i=e.options,n=e.timeView,a=n._parse(t);return s(a,i.min,i.max)||(a=null),e._value=a,e._currentlySelected=a,e._dateInput&&a?e._dateInput.value(a||t):e.element.val(w.toString(a||t,i.format,i.culture)),n.value(a),a},_wrapper:function(){var e,i=this,n=i.element;e=n.parents(".k-timepicker"),e[0]||(e=n.wrap(E).parent().addClass("k-picker-wrap k-state-default"),e=e.wrap(E).parent()),e[0].style.cssText=n[0].style.cssText,i.wrapper=e.addClass("k-widget k-timepicker").addClass(n[0].className),n.css({width:"100%",height:n[0].style.height}),i._inputWrapper=t(e[0].firstChild)},_reset:function(){var e=this,i=e.element,n=i.attr("form"),a=n?t("#"+n):i.closest("form");a[0]&&(e._resetHandler=function(){e.value(i[0].defaultValue),e.max(e._initialOptions.max),e.min(e._initialOptions.min)},e._form=a.on("reset",e._resetHandler))}}),D.plugin(k)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()});
625//# sourceMappingURL=kendo.timepicker.min.js.map
626
627/** 
628 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
629 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
630 *                                                                                                                                                                                                      
631 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
632 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
633 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
634                                                                                                                                                                                                       
635                                                                                                                                                                                                       
636                                                                                                                                                                                                       
637                                                                                                                                                                                                       
638                                                                                                                                                                                                       
639                                                                                                                                                                                                       
640                                                                                                                                                                                                       
641                                                                                                                                                                                                       
642                                                                                                                                                                                                       
643                                                                                                                                                                                                       
644                                                                                                                                                                                                       
645                                                                                                                                                                                                       
646                                                                                                                                                                                                       
647                                                                                                                                                                                                       
648                                                                                                                                                                                                       
649
650*/
651!function(e,define){define("kendo.datetimepicker.min",["kendo.datepicker.min","kendo.timepicker.min"],e)}(function(){return function(e,t){function i(e){var t=new Date(2100,0,1);return t.setMinutes(-e),t}function a(e){e.preventDefault()}function n(t){var i,a=o.getCulture(t.culture).calendars.standard.patterns,n=!t.parseFormats.length;t.format=u(t.format||a.g),t.timeFormat=i=u(t.timeFormat||a.t),o.DateView.normalize(t),n&&t.parseFormats.unshift("yyyy-MM-ddTHH:mm:ss"),e.inArray(i,t.parseFormats)===-1&&t.parseFormats.push(i)}var o=window.kendo,l=o.TimeView,s=o.parseDate,r=o.support,p=o._activeElement,u=o._extractFormat,d=o.calendar,m=d.isInRange,c=d.restrictValue,_=d.isEqualDatePart,v=l.getMilliseconds,f=o.ui,g=f.Wi
651dget,h="open",w="close",k="change",b=".kendoDateTimePicker",V="click"+b,y=r.mouseAndTouchPresent?o.applyEventMap("up",b.slice(1)):V,T="disabled",x="readonly",D="k-state-default",I="k-state-focused",C="k-state-hover",A="k-state-disabled",P="mouseenter"+b+" mouseleave"+b,F="mousedown"+b,S="month",R="<span/>",H="aria-activedescendant",M="aria-expanded",O="aria-hidden",E="aria-owns",W="aria-disabled",B=Date,q=new B(1800,0,1),N=new B(2099,11,31),Y={view:"date"},j={view:"time"},z=e.extend,K='<div class="k-date-tab k-datetime-wrap"><div class="k-datetime-buttongroup"><div class="k-button-group k-button-group-stretched"><button class="k-button k-state-active k-group-start">Date</button><button class="k-button k-group-end">Time</button></div></div><div class="k-datetime-selector"><div class="k-datetime-calendar-wrap"></div><div class="k-datetime-time-wrap"></div></div><div class="k-datetime-footer k-action-buttons"><button class="k-button k-time-cancel" title="Cancel" aria-label="Cancel">Cancel</button><button class="k-time-accept k-button k-primary" title="Set" aria-label="Set">Set</button></div></div>',L="k-state-active",Q=g.extend({init:function(t,i){var a,l=this;i=i||{},i.componentType=i.componentType||"classic",g.fn.init.call(l,t,i),t=l.element,i=l.options,i.disableDates=o.calendar.disabled(i.disableDates),i.min=s(t.attr("min"))||s(i.min),i.max=s(t.attr("max"))||s(i.max),+i.max==+N&&+i.min==+q||(this._specifiedRange=!0),n(i),l._initialOptions=z({},i),l._wrapper(),i.singlePopup&&l._popup(),l._views(),l._icons(),l._reset(),l._template();try{t[0].setAttribute("type","text")}catch(r){t[0].type="text"}t.addClass("k-input").attr({role:"combobox","aria-expanded":!1,autocomplete:"off"}),l._midnight=l._calculateMidnight(i.min,i.max),a=t.is("[disabled]")||e(l.element).parents("fieldset").is(":disabled"),a?l.enable(!1):l.readonly(t.is("[readonly]")),l._createDateInput(i),l._old=l._update(i.value||l.element.val()),l._oldText=t.val(),o.notify(l)},options:{name:"DateTimePicker",value:null,format:"",timeFormat:"",culture:"",parseFormats:[],dates:[],disableDates:null,min:new B(q),max:new B(N),interval:30,height:200,footer:"",start:S,depth:S,animation:{},month:{},ARIATemplate:'Current focused date is #=kendo.toString(data.current, "d")#',dateButtonText:"Open the date view",timeButtonText:"Open the time view",dateInput:!1,weekNumber:!1},events:[h,w,k],componentTypes:{classic:{singlePopup:!1,timeView:{list:"list"}},modern:{singlePopup:!0,timeView:{list:"scroll"}}},setOptions:function(e){var t,i,a,l=this,r=l._value;g.fn.setOptions.call(l,e),e=l.options,e.min=t=s(e.min),e.max=i=s(e.max),n(e),l._midnight=l._calculateMidnight(e.min,e.max),a=e.value||l._value||l.dateView._current,t&&!_(t,a)&&(t=new B(q)),i&&!_(i,a)&&(i=new B(N)),l.dateView.setOptions(e),l.timeView.setOptions(z({},e,{format:e.timeFormat,min:t,max:i})),l._createDateInput(e),l._dateInput||l.element.val(o.toString(r,e.format,e.culture)),r&&l._updateARIA(r)},_editable:function(t){var i=this,n=i.element.off(b),l=i._dateIcon.off(b),s=i._timeIcon.off(b),r=i._inputWrapper.off(b),p=t.readonly,u=t.disable;p||u?(r.addClass(u?A:D).removeClass(u?D:A),n.attr(T,u).attr(x,p).attr(W,u)):(r.addClass(D).removeClass(A).on(P,i._toggleHover),n&&n.length&&(n[0].removeAttribute(T),n[0].removeAttribute(x,!1),n[0].removeAttribute(W,!1)),n.on("keydown"+b,e.proxy(i._keydown,i)).on("focus"+b,function(){i._inputWrapper.addClass(I)}).on("focusout"+b,function(){i._inputWrapper.removeClass(I),n.val()!==i._oldText&&(i._change(n.val()),n.val()||i.dateView.current(o.calendar.getToday())),i.options.singlePopup||(i.close("date"),i.close("time"))}),l.on(F,a).on(y,function(e){i.toggle("date"),i._focusElement(e.type)}),s.on(F,a).on(y,function(e){i.toggle("time"),i._focusElement(e.type)}))},_focusElement:function(e){var t=this.element;r.touch&&(!r.mouseAndTouchPresent||(e||"").match(/touch/i))||t[0]===p()||t.trigger("focus")},readonly:function(e){this._editable({readonly:e===t||e,disable:!1})},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)})},destroy:function(){var e=this;g.fn.destroy.call(e),e.dateView.destroy(),e.timeView.destroy(),e.o
651ptions.singlePopup&&(e.popup.element.off(b),e.popup.destroy()),e.element.off(b),e._dateIcon.off(b),e._timeIcon.off(b),e._inputWrapper.off(b),e._form&&e._form.off("reset",e._resetHandler)},close:function(e){this.options.singlePopup?this.popup.close():("time"!==e&&(e="date"),this[e+"View"].close())},open:function(e){var t,i=this;i.options.singlePopup?(i.dateView._calendar(),i.timeView.ul.find("li").length<1&&i.timeView.bind(),t=i.popup._hovered,i.popup._hovered=!0,i.popup.open(),"time"===e?i._switchToTimeView():i._switchToDateView(),this._dateIcon.toggle("time"!==e),this._timeIcon.toggle("time"===e),setTimeout(function(){i.popup._hovered=t},1)):("time"!==e&&(e="date"),this[e+"View"].open())},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},toggle:function(e){if(this.options.singlePopup)this.popup.visible()?this.close():this.open(e);else{var t="timeView";"time"!==e?e="date":t="dateView",this[e+"View"].toggle(),this[t].close()}},value:function(e){var i=this;return e===t?i._value:(i._old=i._update(e),null===i._old&&i.element.val(""),i._oldText=i.element.val(),t)},_change:function(e){var t,i,a,n=this,o=n.element.val();e=n._update(e),t=+n._old!=+e,i=t&&!n._typing,a=o!==n.element.val(),(i||a)&&n.element.trigger(k),t&&(n._old=e,n._oldText=n.element.val(),n.trigger(k)),n._typing=!1},_option:function(e,a){var n,o,l=this,r=l.options,p=l.timeView,u=p.options,d=l._value||l._old;if(a===t)return r[e];if(a=s(a,r.parseFormats,r.culture)){if(r.min.getTime()===r.max.getTime()&&(u.dates=[]),r[e]=new B(a.getTime()),l.dateView[e](a),l._midnight=l._calculateMidnight(r.min,r.max),d&&(n=_(r.min,d),o=_(r.max,d)),n||o){if(u[e]=a,n&&!o&&(u.max=i(r.interval)),o){if(l._midnight)return p.dataBind([N]),t;n||(u.min=q)}}else u.max=N,u.min=q;p.bind()}},_toggleHover:function(t){e(t.currentTarget).toggleClass(C,"mouseenter"===t.type)},_update:function(t){var a,n,l,r,p,u=this,d=u.options,v=d.min,f=d.max,g=d.dates,h=u.timeView,w=u._value,b=s(t,d.parseFormats,d.culture),V=null===b&&null===w||b instanceof Date&&w instanceof Date;return d.disableDates&&d.disableDates(b)&&(b=null,u._old||u.element.val()||(t=null)),+b===+w&&V?(p=o.toString(b,d.format,d.culture),p!==t&&(u.element.val(null===b?t:p),t instanceof String&&u.element.trigger(k)),b):(null!==b&&_(b,v)?b=c(b,v,f):m(b,v,f)||(b=null),u._value=b,h.value(b),u.dateView.value(b),b&&(l=u._old,n=h.options,g[0]&&(g=e.grep(g,function(e){return _(b,e)}),g[0]&&(h.dataBind(g),r=!0)),r||(_(b,v)&&(n.min=v,n.max=i(d.interval),a=!0),_(b,f)&&(u._midnight?(h.dataBind([N]),r=!0):(n.max=f,a||(n.min=q),a=!0))),!r&&(!l&&a||l&&!_(l,b))&&(a||(n.max=N,n.min=q),h.bind())),u._dateInput&&b?u._dateInput.value(b||t):u.element.val(o.toString(b||t,d.format,d.culture)),u._updateARIA(b),b)},_keydown:function(e){var t=this,i=t.dateView,a=t.timeView,n=t.element.val(),l=t.options.singlePopup?t.popup.visible():i.popup.visible(),s=t._dateInput&&e.stopImmediatePropagation;e.altKey&&e.keyCode===o.keys.DOWN?t.toggle(l?"time":"date"):l?(i.move(e),t._updateARIA(i._current)):!t.options.singlePopup&&a.popup.visible()?a.move(e):e.keyCode===o.keys.ENTER&&n!==t._oldText?t._change(n):(t._typing=!0,s=!1),s&&e.stopImmediatePropagation()},_views:function(){var e,t,i,a,n,r,p,u,d,m=this,c=m.element,_=m.options,v=c.attr("id");_.singlePopup&&(_.dateDiv=m.popup.element.find(".k-datetime-calendar-wrap"),p=m.popup.element.find(".k-datetime-time-wrap"),_.omitPopup=u=!0,d=_.timeView),m.dateView=e=new o.DateView(z({},_,{id:v,anchor:m.wrapper,change:function(){var e=m._applyDateValue();_.singlePopup?(m.timeView._currentlySelected||(m.timeView._currentlySelected=new Date),m.timeView._currentlySelected.setFullYear(e.getFullYear()),m.timeView._currentlySelected.setMonth(e.getMonth()),m.timeView._currentlySelected.setDate(e.getDate()),m._switchToTimeView(),m._toggleIcons()):(m._change(e),m.close("date"))},close:function(e){m.trigger(w,Y)?e.preventDefault():(c.attr(M,!1),i.attr(O,!0),m.options.singlePopup||t.popup.visible()||c&&c.length&&c[0].removeAttribute(E))},open:function(t){m.trigger(h,Y)?t.preventDefault():(c.val()!==m._oldText&&(r=s(c.val(),_.parseFormats,_.culture),m.dateView[r?"current":"value"](r)),i.attr(O,!1),c.attr(M,!0).attr(E,e._dateViewID),m._updateARIA(r))}})),i=e.div,n=_.min.getTime(),m.timeView=t=new l({id:v,value:_.value,anchor:m.wrapper,animation:_.animation,format:_.timeFormat,culture:_.culture,height:"modern"===_.componentType?null:_.height,interval:_.interval,min:"modern"===_.componentType?_.min:new B(q),max:"modern"===_.componentType?_.max:new B(N),dates:n===_.max.getTime()?[new Date(n)]:[],parseFormats:_.parseFormats,validateDate:!0,change:function(t,i){t=m._applyTimeValue(t),i?(m._timeSelected=!0,m._change(t)):(c.val(o.toString(t,_.format,_.culture)),e.value(t),m._updateARIA(t))},close:function(t){m.trigger(w,j)?t.preventDefault():(a.attr(O,!0),c.attr(M,!1),e.popup.visible()||c&&c.length&&c[0].removeAttribute(E))},open:function(e){"modern"!==m.options.componentType?t._adjustListWidth():m.timeView._updateTitle(),m.trigger(h,j)?e.preventDefault():(c.val()!==m._oldText&&(r=s(c.val(),_.parseFormats,_.culture),m.timeView.value(r)),a.attr(O,!1),c.attr(M,!0).attr(E,t._timeViewID),t.options.active(t.current()))},active:function(e){c&&c.length&&c[0].removeAttribute(H),e&&c.attr(H,t._optionID)},popup:_.popup,useValueToRender:!0,specifiedRange:m._specifiedRange,omitPopup:u,timeDiv:p,timeView:d}),a=t.ul},_applyDateValue:function(){var e,t,i=this,a=i.options,n=i.dateView,l=n.calendar.value(),s=+l,r=+a.min,p=+a.max;return s!==r&&s!==p||(e=s===r?r:p,e=new B(i._value||e),e.setFullYear(l.getFullYear(),l.getMonth(),l.getDate()),m(e,r,p)&&(l=e)),i._value&&(t=o.date.setHours(new Date(l),i._value),m(t,r,p)&&(l=t)),l},_applyTimeValue:function(e){var t=this.timeView,i=this.options;return e=t._parse(e),e<i.min?(e=new B((+i.min)),t.options.min=e):e>i.max&&(e=new B((+i.max)),t.options.max=e),e},_icons:function(){var t=this,i=t.element,a=t.options,n=i.next("span.k-select");n[0]||(n=e('<span unselectable="on" class="k-select"><span class="k-link k-link-date" aria-label="'+a.dateButtonText+'"><span unselectable="on" class="k-icon k-i-calendar"></span></span><span class="k-link k-link-time" aria-label="'+a.timeButtonText+'"><span unselectable="on" class="k-icon k-i-clock"></span></span></span>').insertAfter(i)),n=n.children(),t._dateIcon=n.eq(0).attr("aria-controls",t.dateView._dateViewID),t._timeIcon=n.eq(1).attr("aria-controls",t.timeView._timeViewID),a.singlePopup&&t._timeIcon.hide()},_wrapper:function(){var t,i=this,a=i.element;t=a.parents(".k-datetimepicker"),t[0]||(t=a.wrap(R).parent().addClass("k-picker-wrap k-state-default"),t=t.wrap(R).parent()),t[0].style.cssText=a[0].style.cssText,a.css({width:"100%",height:a[0].style.height}),i.wrapper=t.addClass("k-widget k-datetimepicker").addClass(a[0].className).removeClass("input-validation-error"),i._inputWrapper=e(t[0].firstChild)},_reset:function(){var t=this,i=t.element,a=i.attr("form"),n=a?e("#"+a):i.closest("form"),l=t.options,s=l.disableDates,r=l.parseFormats.length?l.parseFormats:null,p=t._initialOptions.value,u=i[0].defaultValue;p&&s&&s(p)&&(p=null),u&&o.parseDate(u,r,l.culture)||!p||i.attr("value",o.toString(p,l.format,l.culture)),n[0]&&(t._resetHandler=function(){t.value(p||i[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=n.on("reset",t._resetHandler))},_template:function(){this._ariaTemplate=o.template(this.options.ARIATemplate)},_createDateInput:function(e){this._dateInput&&(this._dateInput.destroy(),this._dateInput=null),e.dateInput&&(this._dateInput=new f.DateInput(this.element,{culture:e.culture,format:e.format,min:e.min,max:e.max,interval:e.interval}))},_calculateMidnight:function(e,t){return v(e)+v(t)===0},_updateARIA:function(e){var t,i=this,a=i.dateView.calendar;i.element&&i.element.length&&i.element[0].removeAttribute(H),a&&(t=a._cell,t.attr("aria-label",i._ariaTemplate({current:e||a.current()})),i.element.attr(H,t.attr("id")))},_popup:function(){var t=this,i=t.options,a=e("<div></div>").attr(O,"true").addClass("k-datetime-container k-group k-reset").appendTo(document.body);a.append(K),t.popup=new f.Popup(a,z(i.popup,i,{name:"Popup",isRtl:o.support.isRtl(t.wrapper),anchor:t.wrapper,activate:function(){t.options.timeView&&"scroll"===t.options.timeView.list&&(t.timeView.addTranslate(),t.timeView.applyValue(t._value),t.timeView._updateRanges())},open:function(){t.timeView._updateTitle()}})),a.on(V+b,".k-datetime-buttongroup .k-button",e.proxy(t._groupChangeClick,t)),a.on(V+b,".k-datetime-footer button.k-time-cancel",e.proxy(t._cancelClickHandler,t)),a.on(V+b,".k-datetime-footer button.k-time-accept",e.proxy(t._setClickHandler,t))},_groupChangeClick:function(t){var i,n;a(t),i=e(t.currentTarget),n=i.index(),n?this._switchToTimeView():this._switchToDateView(),this._toggleIcons()},_switchToDateView:function(){this.popup.element.find(".k-group-start, .k-group-end").removeClass(L).eq(0).addClass(L),this.popup.element.find(".k-datetime-wrap").removeClass("k-time-tab").addClass("k-date-tab")},_switchToTimeView:function(){this.timeView._updateRanges(),this.popup.element.find(".k-group-start, .k-group-end").removeClass(L).eq(1).addClass(L),this.popup.element.find(".k-datetime-wrap").removeClass("k-date-tab").addClass("k-time-tab")},_toggleIcons:function(){this._dateIcon.toggle(),this._timeIcon.toggle()},_cancelClickHandler:function(){this._value&&(this.value(this._value),this.dateView.value(this._value)),this.popup.close()},_setClickHandler:function(){var e=this._applyDateValue(),t=this.timeView._currentlySelected||new Date;e=e||new Date,this.timeView._updateCurrentlySelected(),e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds()),e=this._applyTimeValue(e),this._change(e),this.popup.close()}});f.plugin(Q)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
652//# sourceMappingURL=kendo.datetimepicker.min.js.map
653
654/** 
655 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
656 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
657 *                                                                                                                                                                                                      
658 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
659 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
660 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
661                                                                                                                                                                                                       
662                                                                                                                                                                                                       
663                                                                                                                                                                                                       
664                                                                                                                                                                                                       
665                                                                                                                                                                                                       
666                                                                                                                                                                                                       
667                                                                                                                                                                                                       
668                                                                                                                                                                                                       
669                                                                                                                                                                                                       
670                                                                                                                                                                                                       
671                                                                                                                                                                                                       
672                                                                                                                                                                                                       
673                                                                                                                                                                                                       
674                                                                                                                                                                                                       
675                                                                                                                                                                                                       
676
677*/
678!function(e,define){define("kendo.dropdownlist.min",["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min"],e)}(function(){return function(e,t){function i(e,t,i){for(var n,o=0,s=t.length-1;o<s;
678++o)n=t[o],n in e||(e[n]={}),e=e[n];e[t[s]]=i}function n(e,t){return e>=t&&(e-=t),e}function o(e,t){for(var i=0;i<e.length;i++)if(e.charAt(i)!==t)return!1;return!0}var s=window.kendo,a=s.ui,l=a.List,r=a.Select,p=s.support,u=s._activeElement,c=s.data.ObservableObject,d=s.keys,f=".kendoDropDownList",_=f+"FocusEvent",h="disabled",m="readonly",v="change",b="k-state-focused",w="k-state-default",I="k-state-disabled",g="aria-disabled",x="click"+f+" touchend"+f,L="mouseenter"+f+" mouseleave"+f,k="tabindex",y="filter",T="accept",V="The `optionLabel` option is not valid due to missing fields. Define a custom optionLabel as shown here http://docs.telerik.com/kendo-ui/api/javascript/ui/dropdownlist#configuration-optionLabel",C=e.proxy,O=r.extend({init:function(i,n){var o,a,l,p=this,u=n&&n.index;p.ns=f,n=e.isArray(n)?{dataSource:n}:n,r.fn.init.call(p,i,n),n=p.options,i=p.element.on("focus"+f,C(p._focusHandler,p)),p._focusInputHandler=e.proxy(p._focusInput,p),p.optionLabel=e(),p._optionLabel(),p._inputTemplate(),p._reset(),p._prev="",p._word="",p._wrapper(),p._tabindex(),p.wrapper.data(k,p.wrapper.attr(k)),p._span(),p._popup(),p._mobile(),p._dataSource(),p._ignoreCase(),p._filterHeader(),p._aria(),p.wrapper.attr("aria-live","polite"),p._enable(),p._attachFocusHandlers(),p._oldIndex=p.selectedIndex=-1,u!==t&&(n.index=u),p._initialIndex=n.index,p.requireValueMapper(p.options),p._initList(),p._cascade(),p.one("set",function(e){!e.sender.listView.bound()&&p.hasOptionLabel()&&p._textAccessor(p._optionLabelText())}),n.autoBind?p.dataSource.fetch():p.selectedIndex===-1&&(a=n.text||"",a||(o=n.optionLabel,o&&0===n.index?a=o:p._isSelect&&(a=i.children(":selected").text())),p._textAccessor(a)),l=e(p.element).parents("fieldset").is(":disabled"),l&&p.enable(!1),p.listView.bind("click",function(e){e.preventDefault()}),s.notify(p)},options:{name:"DropDownList",enabled:!0,autoBind:!0,index:0,text:null,value:null,delay:500,height:200,dataTextField:"",dataValueField:"",optionLabel:"",cascadeFrom:"",cascadeFromField:"",cascadeFromParentField:"",ignoreCase:!0,animation:{},filter:"none",minLength:1,enforceMinLength:!1,virtual:!1,template:null,valueTemplate:null,optionLabelTemplate:null,groupTemplate:"#:data#",fixedGroupTemplate:"#:data#",autoWidth:!1,popup:null},events:["open","close",v,"select","filtering","dataBinding","dataBound","cascade","set","kendoKeydown"],setOptions:function(e){r.fn.setOptions.call(this,e),this.listView.setOptions(this._listOptions(e)),this._optionLabel(),this._inputTemplate(),this._accessors(),this._filterHeader(),this._enable(),this._aria(),!this.value()&&this.hasOptionLabel()&&this.select(0)},destroy:function(){var e=this;r.fn.destroy.call(e),e.wrapper.off(f),e.wrapper.off(_),e.element.off(f),e._inputWrapper.off(f),e._arrow.off(),e._arrow=null,e._arrowIcon=null,e.optionLabel.off(),e.filterInput&&e.filterInput.off(_)},open:function(){var e=this,t=!!e.dataSource.filter()&&e.dataSource.filter().filters.length>0;e.popup.visible()||(e.listView.bound()&&e._state!==T?e._allowOpening()&&(e._focusFilter=!0,e.popup.one("activate",e._focusInputHandler),e.popup._hovered=!0,e.popup.open(),e._resizeFilterInput(),e._focusItem()):(e._open=!0,e._state="rebind",e.filterInput&&(e.filterInput.val(""),e._prev=""),e.filterInput&&1!==e.options.minLength&&!t?(e.refresh(),e.popup.one("activate",e._focusInputHandler),e.popup.open(),e._resizeFilterInput()):e._filterSource()))},_focusInput:function(){this._focusElement(this.filterInput)},_resizeFilterInput:function(){var e,t,i=this.filterInput,n=this._prevent;i&&(e=this.filterInput[0]===u(),t=s.caret(this.filterInput[0])[0],this._prevent=!0,i.css("display","none").css("width",this.popup.element.css("width")).css("display","inline-block"),e&&(i.focus(),s.caret(i[0],t)),this._prevent=n)},_allowOpening:function(){return this.hasOptionLabel()||this.filterInput||r.fn._allowOpening.call(this)},toggle:function(e){this._toggle(e,!0)},current:function(e){var i;return e===t?(i=this.listView.focus(),!i&&0===this.selectedIndex&&this.hasOptionLabel()?this.optionLabel:i):(this._focus(e),t)},dataItem:function(i){var n=this,o=null;if(null===i)return i;if(i===t)o=n.listView.selectedDataItems()[0];else{if("number"!=typeof i){if(n.options.virtual)return n.dataSource.getByUid(e(i).data("uid"));i=i.hasClass("k-list-optionlabel")?-1:e(n.items()).index(i)}else n.hasOptionLabel()&&(i-=1);o=n.dataSource.flatView()[i]}return o||(o=n._optionLabelDataItem()),o},refresh:function(){this.listView.refresh()},text:function(e){var i,n=this,o=n.options.ignoreCase;return e=null===e?"":e,e===t?n._textAccessor():"string"!=typeof e?(n._textAccessor(e),t):(i=o?e.toLowerCase():e,n._select(function(e){return e=n._text(e),o&&(e=(e+"").toLowerCase()),e===i}).done(function(){n._textAccessor(n.dataItem()||e)}),t)},_clearFilter:function(){e(this.filterInput).val(""),r.fn._clearFilter.call(this)},value:function(e){var i=this,n=i.listView,o=i.dataSource;
678return e===t?(e=i._accessor()||i.listView.value()[0],e===t||null===e?"":e):(i.requireValueMapper(i.options,e),!e&&i.hasOptionLabel()||(i._initialIndex=null),this.trigger("set",{value:e}),i._request&&i.options.cascadeFrom&&i.listView.bound()?(i._valueSetter&&o.unbind(v,i._valueSetter),i._valueSetter=C(function(){i.value(e)},i),o.one(v,i._valueSetter),t):(i._isFilterEnabled()&&n.bound()&&n.isFiltered()?i._clearFilter():i._fetchData(),n.value(e).done(function(){i._old=i._valueBeforeCascade=i._accessor(),i._oldIndex=i.selectedIndex}),t))},hasOptionLabel:function(){return this.optionLabel&&!!this.optionLabel[0]},_optionLabel:function(){var i=this,n=i.options,o=n.optionLabel,a=n.optionLabelTemplate;return o?(a||(a="#:",a+="string"==typeof o?"data":s.expr(n.dataTextField,"data"),a+="#"),"function"!=typeof a&&(a=s.template(a)),i.optionLabelTemplate=a,i.hasOptionLabel()||(i.optionLabel=e('<div class="k-list-optionlabel"></div>').prependTo(i.list)),i.optionLabel.html(a(o)).off().on(x,C(i._click,i)).on(L,i._toggleHover),i.angular("compile",function(){return{elements:i.optionLabel,data:[{dataItem:i._optionLabelDataItem()}]}}),t):(i.optionLabel.off().remove(),i.optionLabel=e(),t)},_optionLabelText:function(){var e=this.options.optionLabel;return"string"==typeof e?e:this._text(e)},_optionLabelDataItem:function(){var i=this,n=i.options.optionLabel;return i.hasOptionLabel()?e.isPlainObject(n)?new c(n):i._assignInstance(i._optionLabelText(),""):t},_buildOptions:function(e){var i,n,o,s=this;s._isSelect&&(i=s.listView.value()[0],n=s._optionLabelDataItem(),o=n&&s._value(n),i!==t&&null!==i||(i=""),n&&(o!==t&&null!==o||(o=""),n='<option value="'+o+'">'+s._text(n)+"</option>"),s._options(e,n,i),i!==l.unifyType(s._accessor(),typeof i)&&(s._customOption=null,s._custom(i)))},_listBound:function(){var e,t=this,i=t._initialIndex,n=t._state===y,o=t.dataSource.flatView();t._presetValue=!1,t._renderFooter(),t._renderNoData(),t._toggleNoData(!o.length),t._resizePopup(!0),t.popup.position(),t._buildOptions(o),t._makeUnselectable(),n||(t._open&&t.toggle(t._allowOpening()),t._open=!1,t._fetch||(o.length?(!t.listView.value().length&&i>-1&&null!==i&&t.select(i),t._initialIndex=null,e=t.listView.selectedDataItems()[0],e&&t.text()!==t._text(e)&&t._selectValue(e)):t._textAccessor()!==t._optionLabelText()&&(t.listView.value(""),t._selectValue(null),t._oldIndex=t.selectedIndex))),t._hideBusy(),t.trigger("dataBound")},_listChange:function(){this._selectValue(this.listView.selectedDataItems()[0]),(this._presetValue||this._old&&this._oldIndex===-1)&&(this._oldIndex=this.selectedIndex)},_filterPaste:function(){this._search()},_attachFocusHandlers:function(){var e=this,t=e.wrapper;t.on("focusin"+_,C(e._focusinHandler,e)).on("focusout"+_,C(e._focusoutHandler,e)),e.filterInput&&e.filterInput.on("focusin"+_,C(e._focusinHandler,e)).on("focusout"+_,C(e._focusoutHandler,e))},_focusHandler:function(){this.wrapper.focus()},_focusinHandler:function(){this._inputWrapper.addClass(b),this._prevent=!1},_focusoutHandler:function(){var e=this,t=window.self!==window.top;e._prevent||(clearTimeout(e._typingTimeout),p.mobileOS.ios&&t?e._change():e._blur(),e._inputWrapper.removeClass(b),e._prevent=!0,e._open=!1,e.element.blur())},_wrapperMousedown:function(){this._prevent=!!this.filterInput},_wrapperClick:function(e){e.preventDefault(),this.popup.unbind("activate",this._focusInputHandler),this._focused=this.wrapper,this._prevent=!1,this._toggle()},_editable:function(e){var t=this,i=t.element,n=e.disable,o=e.readonly,a=t.wrapper.add(t.filterInput).off(f),l=t._inputWrapper.off(L);o||n?n?(a.removeAttr(k),l.addClass(I).removeClass(w)):l.addClass(w).removeClass(I):(i.removeAttr(h).removeAttr(m),l.addClass(w).removeClass(I).on(L,t._toggleHover),a.attr(k,a.data(k)).attr(g,!1).on("keydown"+f,t,C(t._keydown,t)).on(s.support.mousedown+f,C(t._wrapperMousedown,t)).on("paste"+f,C(t._filterPaste,t)),t.wrapper.on("click"+f,C(t._wrapperClick,t)),t.filterInput?a.on("input"+f,C(t._search,t)):a.on("keypress"+f,C(t._keypress,t))),i.attr(h,n).attr(m,o),a.attr(g,n)},_keydown:function(e){var i,n,o,s=this,a=e.keyCode,l=e.altKey,r=s.popup.visible();if(s.filterInput&&(i=s.filterInput[0]===u()),a===d.LEFT?(a=d.UP,n=!0):a===d.RIGHT&&(a=d.DOWN,n=!0),!n||!i){if(e.keyCode=a,(l&&a===d.UP||a===d.ESC)&&s._focusElement(s.wrapper),s._state===y&&a===d.ESC&&(s._clearFilter(),s._open=!1,s._state=T),a===d.ENTER&&s._typingTimeout&&s.filterInput&&r)return e.preventDefault(),t;if(a!==d.SPACEBAR||i||(s.toggle(!r),e.preventDefault()),n=s._move(e),!n){if((!r||!s.filterInput)&&(o=s._focus(),a===d.HOME?(n=!0,s._firstItem()):a===d.END&&(n=!0,s._lastItem()),n)){if(s.trigger("select",{dataItem:s._getElementDataItem(s._focus()),item:s._focus()}))return s._focus(o),t;s._select(s._focus(),!0).done(function(){r||s._blur()}),e.preventDefault()}
678l||n||!s.filterInput||s._search()}}},_matchText:function(e,i){var n=this.options.ignoreCase;return e!==t&&null!==e&&(e+="",n&&(e=e.toLowerCase()),0===e.indexOf(i))},_shuffleData:function(e,t){var i=this._optionLabelDataItem();return i&&(e=[i].concat(e)),e.slice(t).concat(e.slice(0,t))},_selectNext:function(){var e,t,i,s=this,a=s.dataSource.flatView(),l=a.length+(s.hasOptionLabel()?1:0),r=o(s._word,s._last),p=s.selectedIndex;for(p===-1?p=0:(p+=r?1:0,p=n(p,l)),a=a.toJSON?a.toJSON():a.slice(),a=s._shuffleData(a,p),i=0;i<l&&(t=s._text(a[i]),!r||!s._matchText(t,s._last))&&!s._matchText(t,s._word);i++);i!==l&&(e=s._focus(),s._select(n(p+i,l)).done(function(){var t=function(){s.popup.visible()||s._change()};s.trigger("select",{dataItem:s._getElementDataItem(s._focus()),item:s._focus()})?s._select(e).done(t):t()}))},_keypress:function(e){var t,i=this;0!==e.which&&e.keyCode!==s.keys.ENTER&&(t=String.fromCharCode(e.charCode||e.keyCode),i.options.ignoreCase&&(t=t.toLowerCase())," "===t&&e.preventDefault(),i._word+=t,i._last=t,i._search())},_popupOpen:function(){var e=this.popup;e.wrapper=s.wrap(e.element),e.element.closest(".km-root")[0]&&(e.wrapper.addClass("km-popup km-widget"),this.wrapper.addClass("km-widget"))},_popup:function(){r.fn._popup.call(this),this.popup.one("open",C(this._popupOpen,this))},_getElementDataItem:function(e){return e&&e[0]?e[0]===this.optionLabel[0]?this._optionLabelDataItem():this.listView.dataItemByIndex(this.listView.getElementIndex(e)):null},_click:function(i){var n=this,o=i.item||e(i.currentTarget);return i.preventDefault(),n.trigger("select",{dataItem:n._getElementDataItem(o),item:o})?(n.close(),t):(n._userTriggered=!0,n._select(o).done(function(){n._blur(),n._focusElement(n.wrapper)}),t)},_focusElement:function(e){var t=u(),i=this.wrapper,n=this.filterInput,o=e===n?i:n,s=p.mobileOS&&(p.touch||p.MSPointers||p.pointers);n&&n[0]===e[0]&&s||n&&(o[0]===t||this._focusFilter)&&(this._focusFilter=!1,this._prevent=!0,this._focused=e.focus())},_searchByWord:function(e){var t,i;e&&(t=this,i=t.options.ignoreCase,i&&(e=e.toLowerCase()),t._select(function(i){return t._matchText(t._text(i),e)}))},_inputValue:function(){return this.text()},_search:function(){var e=this,i=e.dataSource;if(clearTimeout(e._typingTimeout),e._isFilterEnabled())e._typingTimeout=setTimeout(function(){var t=e.filterInput.val();e._prev!==t&&(e._prev=t,e.search(t),e._resizeFilterInput()),e._typingTimeout=null},e.options.delay);else{if(e._typingTimeout=setTimeout(function(){e._word=""},e.options.delay),!e.listView.bound())return i.fetch().done(function(){e._selectNext()}),t;e._selectNext()}},_get:function(t){var i,n,o,s="function"==typeof t,a=s?e():e(t);if(this.hasOptionLabel()&&("number"==typeof t?t>-1&&(t-=1):a.hasClass("k-list-optionlabel")&&(t=-1)),s){for(i=this.dataSource.flatView(),o=0;o<i.length;o++)if(t(i[o])){t=o,n=!0;break}n||(t=-1)}return t},_firstItem:function(){this.hasOptionLabel()?this._focus(this.optionLabel):this.listView.focusFirst()},_lastItem:function(){this._resetOptionLabel(),this.listView.focusLast()},_nextItem:function(){var e;return this.optionLabel.hasClass("k-state-focused")?(this._resetOptionLabel(),this.listView.focusFirst(),e=1):e=this.listView.focusNext(),e},_prevItem:function(){var e;if(!this.optionLabel.hasClass("k-state-focused"))return e=this.listView.focusPrev(),this.listView.focus()||this.options.virtual||this._focus(this.optionLabel),e},_focusItem:function(){var e=this.options,i=this.listView,n=i.focus(),o=i.select();o=o[o.length-1],o===t&&e.highlightFirst&&!n&&(o=0),o!==t?i.focus(o):!e.optionLabel||e.virtual&&"dataItem"===e.virtual.mapValueTo?i.scrollToIndex(0):(this._focus(this.optionLabel),this._select(this.optionLabel),this.listView.content.scrollTop(0))},_resetOptionLabel:function(e){this.optionLabel.removeClass("k-state-focused"+(e||"")).removeAttr("id")},_focus:function(e){var i=this.listView,n=this.optionLabel;return e===t?(e=i.focus(),!e&&n.hasClass("k-state-focused")&&(e=n),e):(this._resetOptionLabel(),e=this._get(e),i.focus(e),e===-1&&(n.addClass("k-state-focused").attr("id",i._optionID),this._focused.add(this.filterInput).removeAttr("aria-activedescendant").attr("aria-activedescendant",i._optionID)),t)},_select:function(e,t){var i=this;return e=i._get(e),i.listView.select(e).done(function(){t||i._state!==y||(i._state=T),e===-1&&i._selectValue(null)})},_selectValue:function(e){var i=this,n=i.options.optionLabel,o=i.listView.select(),s="",a="";o=o[o.length-1],o===t&&(o=-1),this._resetOptionLabel(" k-state-selected"),e||0===e?(a=e,s=i._dataValue(e),n&&(o+=1)):n&&(i._focus(i.optionLabel.addClass("k-state-selected")),a=i._optionLabelText(),s="string"==typeof n?"":i._value(n),o=0),i.selectedIndex=o,null===s&&(s=""),i._textAccessor(a),i._accessor(s,o),i._triggerCascade()},_mobile:function(){var e=this,t=e.popup,i=p.mobileOS,n=t.element.parents(".km-root").eq(0);n.length&&i&&(t.options.animation.open.effects=i.android||i.meego?"fadeIn":i.ios||i.wp?"slideIn:up":t.options.animation.open.effects)},_filterHeader:function(){var t;this.filterInput&&(this.filterInput.off(f).parent().remove(),this.filterInput=null),this._isFilterEnabled()&&(t='<span class="k-icon k-i-zoom"></span>',this.filterInput=e('<input class="k-textbox"/>').attr({placeholder:this.element.attr("placeholder"),title:this.element.attr("title"),role:"listbox","aria-haspopup":!0,"aria-expanded":!1}),this.list.prepend(e('<span class="k-list-filter" />').append(this.filterInput.add(t))))},_span:function(){var t,i=this,n=i.wrapper,o="span.k-input";t=n.find(o),t[0]||(n.append('<span unselectable="on" class="k-dropdown-wrap k-state-default"><span unselectable="on" class="k-input">&nbsp;</span><span unselectable="on" class="k-select" aria-label="select"><span class="k-icon k-i-arrow-60-down"></span></span></span>').append(i.element),t=n.find(o)),i.span=t,i._inputWrapper=e(n[0].firstChild),i._arrow=n.find(".k-select"),i._arrowIcon=i._arrow.find(".k-icon")},_wrapper:function(){var e,t=this,i=t.element,n=i[0];
678e=i.parent(),e.is("span.k-widget")||(e=i.wrap("<span />").parent(),e[0].style.cssText=n.style.cssText,e[0].title=n.title),t._focused=t.wrapper=e.addClass("k-widget k-dropdown").addClass(n.className).removeClass("input-validation-error").css("display","").attr({accesskey:i.attr("accesskey"),unselectable:"on",role:"listbox","aria-haspopup":!0,"aria-expanded":!1}),i.hide().removeAttr("accesskey")},_clearSelection:function(e){this.select(e.value()?0:-1)},_inputTemplate:function(){var t=this,i=t.options.valueTemplate;if(i=i?s.template(i):e.proxy(s.template("#:this._text(data)#",{useWithBlock:!1}),t),t.valueTemplate=i,t.hasOptionLabel()&&!t.options.optionLabelTemplate)try{t.valueTemplate(t._optionLabelDataItem())}catch(n){throw Error(V)}},_textAccessor:function(i){var n,o=null,s=this.valueTemplate,a=this._optionLabelText(),l=this.span;if(i===t)return l.text();e.isPlainObject(i)||i instanceof c?o=i:a&&a===i&&(o=this.options.optionLabel),o||(o=this._assignInstance(i,this._accessor())),this.hasOptionLabel()&&(o!==a&&this._text(o)!==a||(s=this.optionLabelTemplate,"string"!=typeof this.options.optionLabel||this.options.optionLabelTemplate||(o=a))),n=function(){return{elements:l.get(),data:[{dataItem:o}]}},this.angular("cleanup",n);try{l.html(s(o))}catch(r){l.html("")}this.angular("compile",n)},_preselect:function(e,t){e||t||(t=this._optionLabelText()),this._accessor(e),this._textAccessor(t),this._old=this._accessor(),this._oldIndex=this.selectedIndex,this.listView.setValue(e),this._initialIndex=null,this._presetValue=!0},_assignInstance:function(e,t){var n=this.options.dataTextField,o={};return n?(i(o,n.split("."),e),i(o,this.options.dataValueField.split("."),t),o=new c(o)):o=e,o}});a.plugin(O)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
679//# sourceMappingURL=kendo.dropdownlist.min.js.map
680
681/** 
682 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
683 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
684 *                                                                                                                                                                                                      
685 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
686 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
687 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
688                                                                                                                                                                                                       
689                                                                                                                                                                                                       
690                                                                                                                                                                                                       
691                                                                                                                                                                                                       
692                                                                                                                                                                                                       
693                                                                                                                                                                                                       
694                                                                                                                                                                                                       
695                                                                                                                                                                                                       
696                                                                                                                                                                                                       
697                                                                                                                                                                                                       
698                                                                                                                                                                                                       
699                                                                                                                                                                                                       
700                                                                                                                                                                                                       
701                                                                                                                                                                                                       
702                                                                                                                                                                                                       
703
704*/
705!function(e,define){define("kendo.filebrowser.min",["kendo.listview.min","kendo.dropdownlist.min","kendo.upload.min","kendo.breadcrumb.min"],e)}(function(){return function(e,t){function a(e,t,a){var i,o;e.on("dragenter"+y,function(){t(),o=new Date,i||(i=setInterval(function(){var e=new Date-o;e>100&&(a(),clearInterval(i),i=null)},100))}).on("dragover"+y,function(){o=new Date})}function i(e,a){return e!==t&&e.match(/\/$/)||(e=(e||"")+"/"),e+a}function o(e){if(!e)return"";var t=" bytes";return e>=1073741824?(t=" GB",e/=1073741824):e>=1048576?(t=" MB",e/=1048576):e>=1024&&(t=" KB",e/=1024),Math.round(100*e)/100+t}function n(e,t){var a=e[t];return u(a)?a.from||a.field||t:a}var r,s,l,d=window.kendo,c=d.ui.Widget,u=e.isPlainObject,p=e.proxy,f=e.extend,h=d.support.placeholder,m=d.support.browser,v=d.isFunction,k=/(^\/|\/$)/g,w="change",g="apply",_="error",b="click",y=".kendoFileBrowser",S=".kendoSearchBox",x="name",F="size",T="type",B={field:T,dir:"asc"},D=d.template('<div class="k-listview-item k-listview-item-empty"><span class="k-file-preview"><span class="k-file-icon k-icon k-i-none"></span></span><span class="k-file-name">${text}</span></div>'),C='<div class="k-widget k-filebrowser-toolbar k-toolbar k-floatwrap"># if (showCreate) { #<button type="button" class="k-button k-icon-button"><span class="k-icon k-i-folder-add"></span></button># } ## if (showUpload) { # <div class="k-widget k-upload"><div class="k-button k-button-icontext k-upload-button"><span class="k-icon k-i-plus"></span>#=messages.uploadFile#<input type="file" name="file" /></div></div># } ## if (showDelete) { #<button type="button" class="k-button k-button-icon k-state-disabled"><span class="k-icon k-i-close"></span></button># } #<div class="k-tiles-arrange"><label>#=messages.orderBy#: <select></select></label></div><span class="k-toolbar-spacer" /><input data-role="searchbox" /></div>';f(!0,d.data,{schemas:{filebrowser:{data:function(e){return e.items||e||[]},model:{id:"name",fields:{name:"name",size:"size",type:"type"}}}}}),f(!0,d.data,{transports:{filebrowser:d.data.RemoteTransport.extend({init:function(t){d.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,a){a.data=e.extend({},a.data,{path:this.options.path()}),v(this.options[t])?this.options[t].call(this,a):d.data.RemoteTransport.fn[t].call(this,a)},read:function(e){this._call("read",e)},create:function(e){this._call("create",e)},destroy:function(e){this._call("destroy",e)},update:function(){},options:{read:{type:"POST"},update:{type:"POST"},create:{type:"POST"},destroy:{type:"POST"}}})}}
705),r=m.msie&&m.version<8?function(e){return e.offsetTop}:function(t){return t.offsetTop-e(t).height()},s=c.extend({init:function(e,t){var a=this;t=t||{},c.fn.init.call(a,e,t),a.element.addClass("k-filebrowser"),a.element.on(b+y,".k-filebrowser-toolbar button:not(.k-state-disabled):has(.k-i-close)",p(a._deleteClick,a)).on(b+y,".k-filebrowser-toolbar button:not(.k-state-disabled):has(.k-i-folder-add)",p(a._addClick,a)).on("keydown"+y,".k-listview-item.k-state-selected input",p(a._directoryKeyDown,a)).on("blur"+y,".k-listview-item.k-state-selected input",p(a._directoryBlur,a)),a._dataSource(),a.refresh(),a.path(a.options.path)},options:{name:"FileBrowser",messages:{uploadFile:"Upload",orderBy:"Arrange by",orderByName:"Name",orderBySize:"Size",directoryNotFound:"A directory with this name was not found.",emptyFolder:"Empty Folder",deleteFile:'Are you sure you want to delete "{0}"?',invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',dropFilesHere:"drop file here to upload",search:"Search"},transport:{},path:"/",fileTypes:"*.*"},events:[_,w,g],destroy:function(){var e=this;c.fn.destroy.call(e),e.dataSource.unbind(_,e._errorHandler),e.element.add(e.list).add(e.toolbar).off(y),d.destroy(e.element)},value:function(){var e,t=this,a=t._selectedItem(),o=t.options.transport.fileUrl;if(a&&"f"===a.get(T))return e=i(t.path(),a.get(x)).replace(k,""),o&&(e=v(o)?o(e):d.format(o,encodeURIComponent(e))),e},_selectedItem:function(){var e=this.listView,t=e.select();if(t.length)return this.dataSource.getByUid(t.attr(d.attr("uid")))},_toolbar:function(){var t=this,a=d.template(C),i=t.options.messages,o=[{text:i.orderByName,value:"name"},{text:i.orderBySize,value:"size"}];t.toolbar=e(a({messages:i,showUpload:t.options.transport.uploadUrl,showCreate:t.options.transport.create,showDelete:t.options.transport.destroy})).appendTo(t.element).find(".k-upload input").kendoUpload({multiple:!1,localization:{dropFilesHere:i.dropFilesHere},async:{saveUrl:t.options.transport.uploadUrl,autoUpload:!0},upload:p(t._fileUpload,t),error:function(e){t._error({xhr:e.XMLHttpRequest,status:"error"})}}).end(),t.upload=t.toolbar.find(".k-upload input").data("kendoUpload"),t.arrangeBy=t.toolbar.find(".k-tiles-arrange select").kendoDropDownList({dataSource:o,dataTextField:"text",dataValueField:"value",change:function(){t.orderBy(this.value())}}).data("kendoDropDownList"),t.searchBox=t.toolbar.find("input[data-role='searchbox']").kendoSearchBox({label:t.options.messages.search,change:function(){t.search(this.value())}}).data("kendoSearchBox"),t._attachDropzoneEvents()},_attachDropzoneEvents:function(){var t=this;t.options.transport.uploadUrl&&(a(e(document.documentElement),e.proxy(t._dropEnter,t),e.proxy(t._dropLeave,t)),t._scrollHandler=p(t._positionDropzone,t))},_dropEnter:function(){this._positionDropzone(),e(document).on("scroll"+y,this._scrollHandler)},_dropLeave:function(){this._removeDropzone(),e(document).off("scroll"+y,this._scrollHandler)},_positionDropzone:function(){var e=this,t=e.element,a=t.offset();e.toolbar.find(".k-dropzone").addClass("k-filebrowser-dropzone").offset(a).css({width:t[0].clientWidth,height:t[0].clientHeight,lineHeight:t[0].clientHeight+"px"})},_removeDropzone:function(){this.toolbar.find(".k-dropzone").removeClass("k-filebrowser-dropzone").css({width:"",height:"",lineHeight:"",top:"",left:""})},_deleteClick:function(){var e=this,t=e.listView.select(),a=d.format(e.options.messages.deleteFile,t.find(".k-file-name").text());t.length&&e._showMessage(a,"confirm")&&e.listView.remove(t)},_addClick:function(){this.createDirectory()},_getFieldName:function(e){return n(this.dataSource.reader.model.fields,e)},_fileUpload:function(e){var t,a=this,i=a.options,o=i.fileTypes,n=RegExp(("("+o.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i"),r=e.files[0].name,s=e.files[0].size,l=x,c=F;n.test(r)?(e.data={path:a.path()},t=a._createFile(r,s),t?a.upload.one("success",function(e){var i=a._insertFileToList(t);
705i._override&&(i.set(l,e.response[a._getFieldName(l)]),i.set(c,e.response[a._getFieldName(c)]),a.listView.dataSource.pushUpdate(i)),a._tiles=a.listView.items().filter("["+d.attr("type")+"=f]")}):e.preventDefault()):(e.preventDefault(),a._showMessage(d.format(i.messages.invalidFileType,r,o)))},_findFile:function(e){var t,a,i,o=this.dataSource.data(),n=T,r=x;for(e=e.toLowerCase(),t=0,i=o.length;t<i;t++)if("f"===o[t].get(n)&&o[t].get(r).toLowerCase()===e){a=o[t];break}return a},_createFile:function(e,t){var a=this,i={},o=T,n=a._findFile(e);return n?a._showMessage(d.format(a.options.messages.overwriteFile,e),"confirm")?(n._override=!0,n):null:(i[o]="f",i[x]=e,i[F]=t,i)},_insertFileToList:function(e){var t,a,i,o,n;if(e._override)return e;for(a=this.dataSource,i=a.view(),o=0,n=i.length;o<n;o++)if("f"===i[o].get(T)){t=o;break}return a.insert(++t,e)},createDirectory:function(){var e,t,a=this,i=0,o=T,n=x,r=a.dataSource.data(),s=a._nameDirectory(),l=new a.dataSource.reader.model;for(e=0,t=r.length;e<t;e++)"d"===r[e].get(o)&&(i=e);l.set(o,"d"),l.set(n,s),a.listView.one("dataBound",function(){var e=a.listView.items().filter("["+d.attr("uid")+"="+l.uid+"]");e.length&&this.edit(e),this.element.scrollTop(e.attr("offsetTop")-this.element[0].offsetHeight),setTimeout(function(){a.listView.element.find(".k-edit-item input").select()})}).one("save",function(e){var t=e.model.get(n);t?e.model.set(n,a._nameExists(t,l.uid)?a._nameDirectory():t):e.model.set(n,s)}),a.dataSource.insert(++i,l)},_directoryKeyDown:function(e){13==e.keyCode&&e.currentTarget.blur()},_directoryBlur:function(){this.listView.save()},_nameExists:function(e,t){var a,i,o=this.dataSource.data(),n=T,r=x;for(a=0,i=o.length;a<i;a++)if("d"===o[a].get(n)&&o[a].get(r).toLowerCase()===e.toLowerCase()&&o[a].uid!==t)return!0;return!1},_nameDirectory:function(){var t,a,i,o="New folder",n=this.dataSource.data(),r=[],s=T,l=x;for(a=0,i=n.length;a<i;a++)"d"===n[a].get(s)&&n[a].get(l).toLowerCase().indexOf(o.toLowerCase())>-1&&r.push(n[a].get(l));if(e.inArray(o,r)>-1){a=2;do t=o+" ("+a+")",a++;while(e.inArray(t,r)>-1);o=t}return o},orderBy:function(e){this.dataSource.sort([{field:T,dir:"asc"},{field:e,dir:"asc"}])},search:function(e){this.dataSource.filter({field:x,operator:"contains",value:e})},_content:function(){var t=this;t.list=e('<div class="k-filemanager-listview" />').appendTo(t.element).on("dblclick"+y,".k-listview-item",p(t._dblClick,t)),t.listView=new d.ui.ListView(t.list,{layout:"flex",flex:{direction:"row",wrap:"wrap"},dataSource:t.dataSource,template:t._itemTmpl(),editTemplate:t._editTmpl(),selectable:!0,autoBind:!1,dataBinding:function(e){t.toolbar.find(".k-i-close").parent().addClass("k-state-disabled"),"remove"!==e.action&&"sync"!==e.action||(e.preventDefault(),d.ui.progress(t.listView.content,!1))},dataBound:function(){t.dataSource.view().length?t._tiles=this.items().filter("["+d.attr("type")+"=f]"):this.content.append(D({text:t.options.messages.emptyFolder}))},change:p(t._listViewChange,t)})},_dblClick:function(t){var a,o=this,n=e(t.currentTarget);n.hasClass("k-edit-item")&&o._directoryBlur(),n.filter("["+d.attr("type")+"=d]").length?(a=o.dataSource.getByUid(n.attr(d.attr("uid"))),a&&(o.path(i(o.path(),a.get(x))),o.breadcrumbs.value("/"+o.path()))):n.filter("["+d.attr("type")+"=f]").length&&o.trigger(g)},_listViewChange:function(){var e=this._selectedItem();e&&(this.toolbar.find(".k-i-close").parent().removeClass("k-state-disabled"),this.trigger(w,{selected:e}))},_dataSource:function(){var e,t=this,a=t.options,i=a.transport,o=f({},B),n={field:x,dir:"asc"},r={type:i.type||"filebrowser",sort:[o,n]};u(i)&&(i.path=p(t.path,t),r.transport=i),u(a.schema)?r.schema=a.schema:i.type&&u(d.data.schemas[i.type])&&(e=d.data.schemas[i.type]),t.dataSource&&t._errorHandler?t.dataSource.unbind(_,t._errorHandler):t._errorHandler=p(t._error,t),t.dataSource=d.data.DataSource.create(r).bind(_,t._errorHandler)},_navigation:function(){var t=this,a=e('<div class="k-floatwrap"><nav></nav></div>').appendTo(this.element);t.breadcrumbs=a.find("nav:first").kendoBreadcrumb({editable:!0,gap:50,value:t.options.path||"/",change:function(){t.path(this.value())}}).data("kendoBreadcrumb")},_error:function(e){var t,a,i=this;i.trigger(_,e)||(t=e.xhr.status,"error"==e.status?"404"==t?i._showMessage(i.options.messages.directoryNotFound):"0"!=t&&i._showMessage("Error! The requested URL returned "+t+" - "+e.xhr.statusText):"timeout"==t&&i._showMessage("Error! Server timeout."),a=i.dataSource,a.hasChanges()&&a.cancelChanges())},_showMessage:function(e,t){return window[t||"alert"](e)},refresh:function(){var e=this;e._navigation(),e._toolbar(),e._content()}
705,_editTmpl:function(){var e='<div class="k-listview-item k-state-selected" '+d.attr("uid")+'="#=uid#" ';return e+=d.attr("type")+'="${'+T+'}">',e+="#if("+T+' == "d") { #',e+='<div class="k-file-preview"><span class="k-file-icon k-icon k-i-folder"></span></div>',e+="#}else{#",e+='<div class="k-file-preview"><span class="k-file-icon k-icon k-i-loading"></span></div>',e+="#}#",e+="#if("+T+' == "d") { #',e+='<span class="k-file-name"><input class="k-textbox" '+d.attr("bind")+'="value:'+x+'"/></span>',e+="#}#",e+="</div>",p(d.template(e),{sizeFormatter:o})},_itemTmpl:function(){var e='<div class="k-listview-item" '+d.attr("uid")+'="#=uid#" ';return e+=d.attr("type")+'="${'+T+'}">',e+="#if("+T+' == "d") { #',e+='<div class="k-file-preview"><span class="k-file-icon k-icon k-i-folder"></span></div>',e+="#}else{#",e+='<div class="k-file-preview"><span class="k-file-icon k-icon k-i-file"></span></div>',e+="#}#",e+='<span class="k-file-name">${'+x+"}</span>",e+="#if("+T+' == "f") { # <span class="k-file-size">${this.sizeFormatter('+F+")}</span> #}#",e+="</div>",p(d.template(e),{sizeFormatter:o})},path:function(e){var a=this,i=a._path||"";return e!==t?(a._path=e.replace(k,"")+"/",a.dataSource.read({path:a._path}),t):(i&&(i=i.replace(k,"")),"/"===i||""===i?"":i+"/")}}),l=c.extend({init:function(e,t){var a=this;t=t||{},c.fn.init.call(a,e,t),h&&a.element.attr("placeholder",a.options.label),a._wrapper(),a.element.on("keydown"+S,p(a._keydown,a)).on("change"+S,p(a._updateValue,a)),a.wrapper.on(b+S,"a",p(a._click,a)),h||a.element.on("focus"+S,p(a._focus,a)).on("blur"+S,p(a._blur,a))},options:{name:"SearchBox",label:"Search",value:""},events:[w],destroy:function(){var e=this;e.wrapper.add(e.element).add(e.label).off(S),c.fn.destroy.call(e)},_keydown:function(e){13===e.keyCode&&this._updateValue()},_click:function(e){e.preventDefault(),this._updateValue()},_updateValue:function(){var e=this,t=e.element.val();t!==e.value()&&(e.value(t),e.trigger(w))},_blur:function(){this._updateValue(),this._toggleLabel()},_toggleLabel:function(){h||this.label.toggle(!this.element.val())},_focus:function(){this.label.hide()},_wrapper:function(){var t=this.element,a=t.parents(".k-search-wrap");t[0].style.width="",t.addClass("k-input"),a.length||(a=t.wrap(e('<div class="k-widget k-search-wrap k-textbox"/>')).parent(),h||e('<label style="display:block">'+this.options.label+"</label>").insertBefore(t),e('<a href="#" class="k-icon k-i-zoom k-search"/>').appendTo(a)),this.wrapper=a,this.label=a.find(">label")},value:function(e){var a=this;return e!==t?(a.options.value=e,a.element.val(e),a._toggleLabel(),t):a.options.value}}),d.ui.plugin(s),d.ui.plugin(l)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
706//# sourceMappingURL=kendo.filebrowser.min.js.map
707
708/** 
709 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
710 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
711 *                                                                                                                                                                                                      
712 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
713 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
714 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
715                                                                                                                                                                                                       
716                                                                                                                                                                                                       
717                                                                                                                                                                                                       
718                                                                                                                                                                                                       
719                                                                                                                                                                                                       
720                                                                                                                                                                                                       
721                                                                                                                                                                                                       
722                                                                                                                                                                                                       
723                                                                                                                                                                                                       
724                                                                                                                                                                                                       
725                                                                                                                                                                                                       
726                                                                                                                                                                                                       
727                                                                                                                                                                                                       
728                                                                                                                                                                                                       
729                                                                                                                                                                                                       
730
731*/
732!function(e,define){define("kendo.imagebrowser.min",["kendo.filebrowser.min"],e)}(function(){return function(e,t){function i(e,i){return e!==t&&e.match(/\/$/)||(e=(e||"")+"/"),e+i}function a(e){if(!e)return"";var t=" bytes";return e>=1073741824?(t=" GB",e/=1073741824):e>=1048576?(t=" MB",e/=1048576):e>=1024&&(t=" KB",e/=1024),Math.round(100*e)/100+t}var n,s,o=window.kendo,r=o.ui.FileBrowser,l=e.isPlainObject,d=e.proxy,p=e.extend,c=o.support.browser,f=o.isFunction,u=/(^\/|\/$)/g,m="error",h=".kendoImageBrowser",v="name",g="size",_="type",k={field:_,dir:"asc"},w=o.template('<div class="k-listview-item k-listview-item-empty"><span class="k-file-preview"><span class="k-file-icon k-icon k-i-none"></span></span><span class="k-file-name">${text}</span></div>');p(!0,o.data,{schemas:{imagebrowser:{data:function(e){return e.items||e||[]},model:{id:"name",fields:{name:"name",size:"size",type:"type"}}}}}),p(!0,o.data,{transports:{imagebrowser:o.data.RemoteTransport.extend({init:function(t){o.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,i){i.data=e.extend({},i.data,{path:this.options.path()}),f(this.options[t])?this.options[t].call(this,i):o.data.RemoteTransport.fn[t].call(this,i)},read:function(e){this._call("read",e)},create:function(e){this._call("create",e)},destroy:function(e){this._call("destroy",e)},update:function(){},options:{read:{type:"POST"},update:{type:"POST"},create:{type:"POST"},destroy:{type:"POST"}}})}}),n=c.msie&&c.version<8?function(e){return e.offsetTop}:function(t){return t.offsetTop-e(t).height()},s=r.extend({init:function(e,t){var i=this;t=t||{},r.fn.init.call(i,e,t),i.element.addClass("k-imagebrowser")},options:{name:"ImageBrowser",fileTypes:"*.png,*.gif,*.jpg,*.jpeg"},value:function(){var e,t=this,a=t._selectedItem(),n=t.options.transport.imageUrl;if(a&&"f"===a.get(_))return e=i(t.path(),a.get(v)).replace(u,""),n&&(e=f(n)?n(e):o.format(n,encodeURIComponent(e))),e},_fileUpload:function(e){var i,a=this,n=a.options,s=n.fileTypes,r=RegExp(("("+s.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i"),l=e.files[0].name,d=e.files[0].size,p=v,c=g;r.test(l)?(e.data={path:a.path()},i=a._createFile(l,d),i?(i._uploading=!0,a.upload.one("error",function(){i=t}),a.upload.one("success",function(e){if(i){delete i._uploading;var t=a._insertFileToList(i);t._override&&(t.set(p,e.response[a._getFieldName(p)]),t.set(c,e.response[a._getFieldName(c)]),a.listView.dataSource.pu
732shUpdate(t)),a._tiles=a.listView.items().filter("["+o.attr("type")+"=f]"),a._scroll()}})):e.preventDefault()):(e.preventDefault(),a._showMessage(o.format(n.messages.invalidFileType,l,s)))},_content:function(){var t=this;t.list=e('<div class="k-filemanager-listview" />').appendTo(t.element).on("scroll"+h,d(t._scroll,t)).on("dblclick"+h,".k-listview-item",d(t._dblClick,t)),t.listView=new o.ui.ListView(t.list,{layout:"flex",flex:{direction:"row",wrap:"wrap"},dataSource:t.dataSource,template:t._itemTmpl(),editTemplate:t._editTmpl(),selectable:!0,autoBind:!1,dataBinding:function(e){t.toolbar.find(".k-i-close").parent().addClass("k-state-disabled"),"remove"!==e.action&&"sync"!==e.action||(e.preventDefault(),o.ui.progress(t.listView.content,!1))},dataBound:function(){t.dataSource.view().length?(t._tiles=this.items().filter("["+o.attr("type")+"=f]"),t._scroll()):this.content.append(w({text:t.options.messages.emptyFolder}))},change:d(t._listViewChange,t)})},_dataSource:function(){var e,t=this,i=t.options,a=i.transport,n=p({},k),s={field:v,dir:"asc"},r={type:a.type||"imagebrowser",sort:[n,s]};l(a)&&(a.path=d(t.path,t),r.transport=a),l(i.schema)?r.schema=i.schema:a.type&&l(o.data.schemas[a.type])&&(e=o.data.schemas[a.type]),t.dataSource&&t._errorHandler?t.dataSource.unbind(m,t._errorHandler):t._errorHandler=d(t._error,t),t.dataSource=o.data.DataSource.create(r).bind(m,t._errorHandler)},_loadImage:function(t){var i=this,a=e(t),n=i.dataSource.getByUid(a.attr(o.attr("uid"))),s=n.get(v),r=i.options.transport.thumbnailUrl,l=e("<img />",{alt:s}),d="?";n._uploading||(l.hide().on("load"+h,function(){e(this).prev().remove().end().addClass("k-image k-file-image").fadeIn()}),a.find(".k-i-loading").after(l),f(r)?r=r(i.path(),encodeURIComponent(s)):(r.indexOf("?")>=0&&(d="&"),r=r+d+"path="+encodeURIComponent(i.path()+s),n._override&&(r+="&_="+(new Date).getTime(),delete n._override)),l.attr("src",r),t.loaded=!0)},_scroll:function(){var e=this;e.options.transport&&e.options.transport.thumbnailUrl&&(clearTimeout(e._timeout),e._timeout=setTimeout(function(){var t=o._outerHeight(e.list),i=e.list.scrollTop(),a=i+t;e._tiles.each(function(){var t=n(this),s=t+this.offsetHeight;if((t>=i&&t<a||s>=i&&s<a)&&e._loadImage(this),t>a)return!1}),e._tiles=e._tiles.filter(function(){return!this.loaded})},250))},_itemTmpl:function(){var e=this,t='<div class="k-listview-item" '+o.attr("uid")+'="#=uid#" ';return t+=o.attr("type")+'="${'+_+'}">',t+="#if("+_+' == "d") { #',t+='<div class="k-file-preview"><span class="k-file-icon k-icon k-i-folder"></span></div>',t+="#}else{#",t+=e.options.transport&&e.options.transport.thumbnailUrl?'<div class="k-file-preview"><span class="k-file-icon k-icon k-i-loading"></span></div>':'<div class="k-file-preview"><span class="k-file-icon k-icon k-i-file"></span></div>',t+="#}#",t+='<span class="k-file-name">${'+v+"}</span>",t+="#if("+_+' == "f") { # <span class="k-file-size">${this.sizeFormatter('+g+")}</span> #}#",t+="</div>",d(o.template(t),{sizeFormatter:a})}}),o.ui.plugin(s)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
733//# sourceMappingURL=kendo.imagebrowser.min.js.map
734
735/** 
736 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
737 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
738 *                                                                                                                                                                                                      
739 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
740 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
741 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
742                                                                                                                                                                                                       
743                                                                                                                                                                                                       
744                                                                                                                                                                                                       
745                                                                                                                                                                                                       
746                                                                                                                                                                                                       
747                                                                                                                                                                                                       
748                                                                                                                                                                                                       
749                                                                                                                                                                                                       
750                                                                                                                                                                                                       
751                                                                                                                                                                                                       
752                                                                                                                                                                                                       
753                                                                                                                                                                                                       
754                                                                                                                                                                                                       
755                                                                                                                                                                                                       
756                                                                                                                                                                                                       
757
758*/
759!function(i,define){define("kendo.resizable.min",["kendo.core.min","kendo.draganddrop.min"],i)}(function(){return function(i,t){var n=window.kendo,o=n.ui,e=o.Widget,s=i.proxy,r=n.isFunction,a=i.extend,l="horizontal",c="vertical",d="start",u="resize",p="resizeend",g=e.extend({init:function(i,t){var n=this;e.fn.init.call(n,i,t),n.orientation=n.options.orientation.toLowerCase()!=c?l:c,n._positionMouse=n.orientation==l?"x":"y",n._position=n.orientation==l?"left"
759:"top",n._sizingDom=n.orientation==l?"outerWidth":"outerHeight",n.draggable=new o.Draggable(t.draggableElement||i,{distance:1,filter:t.handle,drag:s(n._resize,n),dragcancel:s(n._cancel,n),dragstart:s(n._start,n),dragend:s(n._stop,n)}),n.userEvents=n.draggable.userEvents},events:[u,p,d],options:{name:"Resizable",orientation:l},resize:function(){},_max:function(i){var n=this,o=n.hint?n.hint[n._sizingDom]():0,e=n.options.max;return r(e)?e(i):e!==t?n._initialElementPosition+e-o:e},_min:function(i){var n=this,o=n.options.min;return r(o)?o(i):o!==t?n._initialElementPosition+o:o},_start:function(t){var n=this,o=n.options.hint,e=i(t.currentTarget);n._initialElementPosition=e.position()[n._position],n._initialMousePosition=t[n._positionMouse].startLocation,o&&(n.hint=r(o)?i(o(e)):o,n.hint.css({position:"absolute"}).css(n._position,n._initialElementPosition).appendTo(n.element)),n.trigger(d,t),n._maxPosition=n._max(t),n._minPosition=n._min(t),i(document.body).css("cursor",e.css("cursor"))},_resize:function(i){var n,o=this,e=o._maxPosition,s=o._minPosition,r=o._initialElementPosition+(i[o._positionMouse].location-o._initialMousePosition);n=s!==t?Math.max(s,r):r,o.position=n=e!==t?Math.min(e,n):n,o.hint&&o.hint.toggleClass(o.options.invalidClass||"",n==e||n==s).css(o._position,n),o.resizing=!0,o.trigger(u,a(i,{position:n}))},_stop:function(t){var n=this;n.hint&&n.hint.remove(),n.resizing=!1,n.trigger(p,a(t,{position:n.position})),i(document.body).css("cursor","")},_cancel:function(i){var n=this;n.hint&&(n.position=t,n.hint.css(n._position,n._initialElementPosition),n._stop(i))},destroy:function(){var i=this;e.fn.destroy.call(i),i.draggable&&i.draggable.destroy()},press:function(i){if(i){var t=i.position(),n=this;n.userEvents.press(t.left,t.top,i[0]),n.targetPosition=t,n.target=i}},move:function(i){var n=this,o=n._position,e=n.targetPosition,s=n.position;s===t&&(s=e[o]),e[o]=s+i,n.userEvents.move(e.left,e.top)},end:function(){this.userEvents.end(),this.target=this.position=t}});n.ui.plugin(g)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(i,t,n){(n||t)()});
760//# sourceMappingURL=kendo.resizable.min.js.map
761
762/** 
763 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
764 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
765 *                                                                                                                                                                                                      
766 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
767 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
768 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
769                                                                                                                                                                                                       
770                                                                                                                                                                                                       
771                                                                                                                                                                                                       
772                                                                                                                                                                                                       
773                                                                                                                                                                                                       
774                                                                                                                                                                                                       
775                                                                                                                                                                                                       
776                                                                                                                                                                                                       
777                                                                                                                                                                                                       
778                                                                                                                                                                                                       
779                                                                                                                                                                                                       
780                                                                                                                                                                                                       
781                                                                                                                                                                                                       
782                                                                                                                                                                                                       
783                                                                                                                                                                                                       
784
785*/
786!function(e,define){define("kendo.reorderable.min",["kendo.core.min","kendo.draganddrop.min"],e)}(function(){return function(e,r){function n(r,n){r=e(r),n?r.find(".k-drag-status").removeClass("k-i-plus").addClass("k-i-cancel"):r.find(".k-drag-status").removeClass("k-i-cancel").addClass("k-i-plus")}var t=window.kendo,a=t._outerWidth,d=t._outerHeight,o=t.getOffset,i=t.ui.Widget,g="change",l="k-reorderable",s=i.extend({init:function(r,s){var u,f=this,c=t.guid()+"-reorderable";i.fn.init.call(f,r,s),r=f.element.addClass(l),s=f.options,f.draggable=u=s.draggable||new t.ui.Draggable(r,{group:c,autoScroll:!0,filter:s.filter,hint:s.hint}),f.reorderDropCue=e('<div class="k-reorder-cue"></div></div>'),r.find(u.options.filter).kendoDropTarget({group:u.options.group,dragenter:function(e){var r,t,i,g;f._draggable&&(r=this.element,i=!f._dropTargetAllowed(r)||f._isLastDraggable(),n(e.draggable.hint,i),i||(t=o(r),g=t.left,s.inSameContainer&&!s.inSameContainer({source:r,target:f._draggable,sourceIndex:f._index(r),targetIndex:f._index(f._draggable)})?f._dropTarget=r:f._index(r)>f._index(f._draggable)&&(g+=a(r)),f.reorderDropCue.css({height:d(r),top:t.top,left
786:g}).appendTo(document.body)))},dragleave:function(e){n(e.draggable.hint,!0),f.reorderDropCue.remove(),f._dropTarget=null},drop:function(){var e,r;f._dropTarget=null,f._draggable&&(e=this.element,r=f._draggable,f._dropTargetAllowed(e)&&!f._isLastDraggable()&&f.trigger(g,{element:f._draggable,target:e,oldIndex:f._index(r),newIndex:f._index(e),position:o(f.reorderDropCue).left>o(e).left?"after":"before"}))}}),u.bind(["dragcancel","dragend","dragstart","drag"],{dragcancel:function(){f.reorderDropCue.remove(),f._draggable=null,f._elements=null},dragend:function(){f.reorderDropCue.remove(),f._draggable=null,f._elements=null},dragstart:function(e){f._draggable=e.currentTarget,f._elements=f.element.find(f.draggable.options.filter)},drag:function(e){var r,n;f._dropTarget&&!this.hint.find(".k-drag-status").hasClass("k-i-cancel")&&(r=o(f._dropTarget).left,n=a(f._dropTarget),f.reorderDropCue.css(e.pageX>r+n/2?{left:r+n}:{left:r}))}})},options:{name:"Reorderable",filter:"*"},events:[g],_isLastDraggable:function(){var e,r=this.options.inSameContainer,n=this._draggable[0],t=this._elements.get(),a=!1;if(!r)return!1;for(;!a&&t.length>0;)e=t.pop(),a=n!==e&&r({source:n,target:e,sourceIndex:this._index(n),targetIndex:this._index(e)});return!a},_dropTargetAllowed:function(e){var r=this.options.inSameContainer,n=this.options.dragOverContainers,t=this._draggable;return t[0]!==e[0]&&(!r||!n||(!!r({source:t,target:e,sourceIndex:this._index(t),targetIndex:this._index(e)})||n(this._index(t),this._index(e))))},_index:function(e){return this._elements.index(e)},destroy:function(){var r=this;i.fn.destroy.call(r),r.element.find(r.draggable.options.filter).each(function(){var r=e(this);r.data("kendoDropTarget")&&r.data("kendoDropTarget").destroy()}),r.draggable&&(r.draggable.destroy(),r.draggable.element=r.draggable=null),r.elements=r.reorderDropCue=r._elements=r._draggable=null}});t.ui.plugin(s)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,r,n){(n||r)()});
787//# sourceMappingURL=kendo.reorderable.min.js.map
788
789/** 
790 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
791 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
792 *                                                                                                                                                                                                      
793 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
794 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
795 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
796                                                                                                                                                                                                       
797                                                                                                                                                                                                       
798                                                                                                                                                                                                       
799                                                                                                                                                                                                       
800                                                                                                                                                                                                       
801                                                                                                                                                                                                       
802                                                                                                                                                                                                       
803                                                                                                                                                                                                       
804                                                                                                                                                                                                       
805                                                                                                                                                                                                       
806                                                                                                                                                                                                       
807                                                                                                                                                                                                       
808                                                                                                                                                                                                       
809                                                                                                                                                                                                       
810                                                                                                                                                                                                       
811
812*/
813!function(e,define){define("kendo.multiselect.min",["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min"],e)}(function(){return function(e,t){function i(e,t){var i;if(null===e&&null!==t||null!==e&&null===t)return!1;if(i=e.length,i!==t.length)return!1;for(;i--;)if(e[i]!==t[i])return!1;return!0}var a=window.kendo,s=a.ui,n=s.List,l=e.extend({A:65},a.keys),o=a._activeElement,r=a.data.ObservableArray,u=e.proxy,c="id",d="li",p="accept",h="filter",_="rebind",f="open",g="close",m="change",v="progress",T="select",w="deselect",I="aria-disabled",b="k-state-focused",y="k-state-selected",S="k-hidden",V="k-state-hover",k="k-state-disabled",L="k-no-click",x="disabled",C="readonly",D="off",O=".kendoMultiSelect",E="click"+O,A="keydown"+O,B="mouseenter"+O,F="mouseleave"+O,M=B+" "+F,H=/"/g,P=e.isArray,K=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","text-transform","line-height"],R=n.extend({init:function(t,i){var s,l,o=this;o.ns=O,n.fn.init.call(o,t,i),o._optionsMap={},o._customOptions={}
813,o._wrapper(),o._tagList(),o._input(),o._textContainer(),o._loader(),o._clearButton(),o._tabindex(o.input),t=o.element.attr("multiple","multiple").hide(),i=o.options,i.placeholder||(i.placeholder=t.data("placeholder")),s=t.attr(c),s&&(o._tagID=s+"_tag_active",s+="_taglist",o.tagList.attr(c,s),o.input.attr("aria-describedby",s)),o._initialOpen=!0,o._ariaLabel(),o._ariaSetLive(),o._dataSource(),o._ignoreCase(),o._popup(),o._tagTemplate(),o.requireValueMapper(o.options),o._initList(),o._reset(),o._enable(),o._placeholder(),i.autoBind?o.dataSource.fetch():i.value&&o._preselect(i.value),l=e(o.element).parents("fieldset").is(":disabled"),l&&o.enable(!1),o._ariaSetSize(o.value().length),a.notify(o),o._toggleCloseVisibility()},options:{name:"MultiSelect",tagMode:"multiple",enabled:!0,autoBind:!0,autoClose:!0,highlightFirst:!0,dataTextField:"",dataValueField:"",filter:"startswith",ignoreCase:!0,minLength:1,messages:{singleTag:"item(s) selected",clear:"clear",deleteTag:"delete",noData:"No data found."},enforceMinLength:!1,delay:100,value:null,maxSelectedItems:null,placeholder:"",height:200,animation:{},virtual:!1,itemTemplate:"",tagTemplate:"",groupTemplate:"#:data#",fixedGroupTemplate:"#:data#",clearButton:!0,autoWidth:!1,popup:null},events:[f,g,m,T,w,"filtering","dataBinding","dataBound"],setDataSource:function(e){this.options.dataSource=e,this._state="",this._dataSource(),this.persistTagList=!1,this.listView.setDataSource(this.dataSource),this.options.autoBind&&this.dataSource.fetch()},setOptions:function(e){var t=this._listOptions(e);n.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(this.tagList.attr(c)),this._tagTemplate(),this._placeholder(),this._clearButton()},currentTag:function(e){var i=this;return e===t?i._currentTag:(i._currentTag&&(i._currentTag.removeClass(b).removeAttr(c),i._currentTag.find(".k-select").attr("aria-hidden",!0),i.input.removeAttr("aria-activedescendant")),e&&(e.addClass(b).attr(c,i._tagID),e.find(".k-select").removeAttr("aria-hidden"),i.input.attr("aria-activedescendant",i._tagID)),i._currentTag=e,t)},dataItems:function(){return this.listView.selectedDataItems()},destroy:function(){var e=this,t=e.ns;clearTimeout(e._busy),clearTimeout(e._typingTimeout),e.wrapper.off(t),e.tagList.off(t),e.input.off(t),e._clear.off(t),n.fn.destroy.call(e)},_activateItem:function(){this.popup.visible()&&n.fn._activateItem.call(this),this.currentTag(null)},_listOptions:function(t){var i=this,s=n.fn._listOptions.call(i,e.extend(t,{selectedItemChange:u(i._selectedItemChange,i),selectable:"multiple"})),l=this.options.itemTemplate||this.options.template,o=s.itemTemplate||l||s.template;return o||(o="#:"+a.expr(s.dataTextField,"data")+"#"),s.template=o,s},_setListValue:function(){n.fn._setListValue.call(this,this._initialValues.slice(0))},_listChange:function(e){var i,a=this.dataSource.flatView(),s=this._optionsMap,n=this._value;for(this._state===_&&(this._state=""),i=0;i<e.added.length;i++)if(s[n(e.added[i].dataItem)]===t){this._render(a);break}this._selectValue(e.added,e.removed)},_selectedItemChange:function(e){var t,i,a=e.items;for(i=0;i<a.length;i++)t=a[i],this.tagList.children().eq(t.index).children("span:first").html(this.tagTextTemplate(t.item))},_wrapperMousedown:function(t){var i=this,s="input"!==t.target.nodeName.toLowerCase(),n=e(t.target),l=n.hasClass("k-select")||n.hasClass("k-icon");l&&(l=!n.closest(".k-select").children(".k-i-arrow-60-down").length),!s||l&&a.support.mobileOS||!t.cancelable||t.preventDefault(),l||(i.input[0]!==o()&&s&&i.input.focus(),1===i.options.minLength&&i.open())},_inputFocus:function(){this._placeholder(!1),this.wrapper.addClass(b)},_inputFocusout:function(){var e=this;clearTimeout(e._typingTimeout),e.wrapper.removeClass(b),e._placeholder(!e.listView.selectedDataItems()[0],!0),e.close(),e._state===h&&(e._state=p,e.listView.skipUpdate(!0)),e.listView.bound()&&e.listView.isFiltered()&&(e.persistTagList=!0,e._clearFilter()),e.element.blur()},_removeTag:function(e,i){var a,s,n,l=this,o=l._state,r=e.index(),u=l.listView,c=u.value()[r],d=l.listView.selectedDataItems()[r],_=l._customOptions[c],f=u.element[0].children;return l.trigger(w,{dataItem:d,item:e})?(l._close(),t):(_!==t||o!==p&&o!==h||(_=l._optionsMap[c]),n=function(){l.currentTag(null),i&&l._change(),l._close()},_===t&&u.select().length?(l.persistTagList=!1,u.select(u.select()[r]).done(n)):(a=l.element[0].children[_],a&&(a.selected=!1),u.removeAt(r),s=f[_],s&&f[_].classList.remove("k-state-selected"),"single"!==l.options.tagMode?e.remove():l._updateTagListHTML(),n()),t)},_tagListClick:function(t){t.preventDefault(),t.stopPropagation();var i=e(t.currentTarget);i.children(".k-i-arrow-60-down").length||this._removeTag(i.closest(d),!0)},_clearValue:function(){var t=this;
813"single"===t.options.tagMode?t._clearSingleTagValue():t.tagList.children().each(function(i,a){t._removeTag(e(a),!1)}),t.input.val(""),t._search(),t._change(),t.focus(),t._hideClear(),t._state===h&&(t._state=p)},_clearSingleTagValue:function(){var e,i=this,a=i.dataItems(),s=i.tagList.children(),n=i.persistTagList;for(e=0;e<a.length;e+=1)if(i.trigger(w,{dataItem:a[e],item:s.first()}))return i._close(),t;n&&(i.persistTagList=!1),i.listView.value([]),i.persistTagList=n},_focusHandler:function(){this.input.focus()},_editable:function(t){var i=this,a=t.disable,s=t.readonly,n=i.wrapper.off(O),l=i.tagList.off(O),o=i.element.add(i.input.off(O));s||a?(n.toggleClass(k,a).toggleClass(L,s),o.attr(x,a).attr(C,s).attr(I,a)):(n.removeClass(k).removeClass(L).on(M,i._toggleHover).on("mousedown"+O+" touchend"+O,u(i._wrapperMousedown,i)).on(E,u(i._focusHandler,i)),i.input.on(A,u(i._keydown,i)).on("paste"+O,u(i._search,i)).on("input"+O,u(i._search,i)).on("focus"+O,u(i._inputFocus,i)).on("focusout"+O,u(i._inputFocusout,i)),i._clear.on(E+" touchend"+O,u(i._clearValue,i)),o.removeAttr(x).removeAttr(C).attr(I,!1),l.on(B,d,function(){e(this).addClass(V)}).on(F,d,function(){e(this).removeClass(V)}).on(E+" touchend"+O,"li.k-button .k-select",u(i._tagListClick,i)))},_close:function(){var e=this;e.options.autoClose?e.close():e.popup.position()},_filterSource:function(e,t){t||(t=this._retrieveData),this._retrieveData=!1,n.fn._filterSource.call(this,e,t)},close:function(){this._activeItem=null,this.input.removeAttr("aria-activedescendant"),this.popup.close()},open:function(){var t=this;t._request&&(t._retrieveData=!1),t._retrieveData||!t.listView.bound()||t._state===p?(t._open=!0,t._state=_,t.listView.skipUpdate(!0),t.persistTagList=!(t._initialOpen&&!t.listView.bound()),t._filterS
813ource(),t._focusItem()):t._allowOpening()&&(!t._initialOpen||t.options.autoBind||t.options.virtual||!t.options.value||e.isPlainObject(t.options.value[0])||t.value(t.value()||t._initialValues),t.popup._hovered=!0,t._initialOpen=!1,t.popup.open(),t._focusItem())},toggle:function(e){e=e!==t?e:!this.popup.visible(),this[e?f:g]()},refresh:function(){this.listView.refresh()},_listBound:function(){var e=this,i=e.dataSource.flatView(),a=e.listView.skip();e._render(i),e._renderFooter(),e._renderNoData(),e._toggleNoData(!i.length),e._resizePopup(),e._open&&(e._open=!1,e.toggle(e._allowOpening())),e.popup.position(),!e.options.highlightFirst||a!==t&&0!==a||e.listView.focusFirst(),e._touchScroller&&e._touchScroller.reset(),e._hideBusy(),e._makeUnselectable(),e.trigger("dataBound")},_inputValue:function(){var e=this,t=e.input.val();return e.options.placeholder===t&&(t=""),t},value:function(e){var i=this,a=i.listView,s=a.value().slice(),n=i.options.maxSelectedItems,l=a.bound()&&a.isFiltered();return e===t?s:(i.persistTagList=!1,i.requireValueMapper(i.options,e),e=i._normalizeValues(e),null!==n&&e.length>n&&(e=e.slice(0,n)),l&&i._clearFilter(),a.value(e),i._old=i._valueBeforeCascade=e.slice(),l||i._fetchData(),i._ariaSetSize(i.value().length),i._toggleCloseVisibility(),t)},_preselect:function(t,i){var s=this;P(t)||t instanceof a.data.ObservableArray||(t=[t]),(e.isPlainObject(t[0])||t[0]instanceof a.data.ObservableObject||!s.options.dataValueField)&&(s.dataSource.data(t),s.value(i||s._initialValues),s._retrieveData=!0)},_setOption:function(e,t){var i=this.element[0].children[this._optionsMap[e]];i&&(i.selected=t)},_fetchData:function(){var e=this,t=!!e.dataSource.view().length,i=0===e.listView.value().length;i||e._request||(e._retrieveData||!e._fetch&&!t)&&(e._fetch=!0,e._retrieveData=!1,e.dataSource.read().done(function(){e._fetch=!1}))},_isBound:function(){return this.listView.bound()&&!this._retrieveData},_dataSource:function(){var e=this,t=e.element,i=e.options,s=i.dataSource||{};s=P(s)?{data:s}:s,s.select=t,s.fields=[{field:i.dataTextField}
813,{field:i.dataValueField}],e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._progressHandler=u(e._showBusy,e),e._errorHandler=u(e._hideBusy,e)),e.dataSource=a.data.DataSource.create(s).bind(v,e._progressHandler).bind("error",e._errorHandler)},_reset:function(){var t=this,i=t.element,a=i.attr("form"),s=a?e("#"+a):i.closest("form");s[0]&&(t._resetHandler=function(){setTimeout(function(){t.value(t._initialValues),t._placeholder()})},t._form=s.on("reset",t._resetHandler))},_initValue:function(){var e=this.options.value||this.element.val();this._old=this._initialValues=this._normalizeValues(e)},_normalizeValues:function(t){var i=this;return null===t?t=[]:t&&e.isPlainObject(t)?t=[i._value(t)]:t&&e.isPlainObject(t[0])?t=e.map(t,function(e){return i._value(e)}):P(t)||t instanceof r?P(t)&&(t=t.slice()):t=[t],t},_change:function(){var e=this,t=e.value();i(t,e._old)||(e._old=t.slice(),e.trigger(m),e.element.trigger(m)),e.popup.position(),e._ariaSetSize(t.length),e._toggleCloseVisibility()},_click:function(e){var t=this,i=e.item;e.preventDefault(),t._select(i).done(function(){t._activeItem=i,t._change(),t._close()})},_getActiveItem:function(){return this._activeItem||e(this.listView.items()[this._getSelectedIndices().length-1])||this.listView.focus()},_getSelectedIndices:function(){return this.listView._selectedIndices||this.listView._selectedIndexes},_keydown:function(i){var s,n,o,r,u=this,c=i.keyCode,d=u._currentTag,h=u.listView,_=u.input.val(),f=a.support.isRtl(u.wrapper),g=u.popup.visible(),m=0;if(c!==l.ENTER&&(this._multipleSelection=!1),c===l.DOWN){if(i.preventDefault(),!g)return u.open(),h.focus()||h.focusFirst(),t;h.focus()?(!u._activeItem&&i.shiftKey&&(u._activeItem=h.focus(),m=-1),s=h.getElementIndex(u._getActiveItem().first()),h.focusNext(),h.focus()?i.shiftKey&&(this._multipleSelection=!0,u._selectRange(s,h.getElementIndex(h.focus().first())+m)):h.focusLast()):h.focusFirst()}else if(c===l.UP)g&&(!u._activeItem&&i.shiftKey&&(u._activeItem=h.focus(),m=1),s=h.getElementIndex(u._getActiveItem().first()),h.focusPrev(),h.focus()?i.shiftKey&&(this._multipleSelection=!0,u._selectRange(s,h.getElementIndex(h.focus().first())+m)):u.close()),i.preventDefault();else if(c===l.LEFT&&!f||c===l.RIGHT&&f)_||(d=d?d.prev():e(u.tagList[0].lastChild),d[0]&&u.currentTag(d));else if(c===l.RIGHT&&!f||c===l.LEFT&&f)!_&&d&&(d=d.next(),u.currentTag(d[0]?d:null));else if(i.ctrlKey&&!i.altKey&&c===l.A&&g&&!u.options.virtual)this._multipleSelection=!0,this._getSelectedIndices().length===h.items().length&&(u._activeItem=null),h.items().length&&u._selectRange(0,h.items().length-1);else if(c===l.ENTER&&g){if(!h.focus())return;if(i.preventDefault(),this._multipleSelection&&(this._multipleSelection=!1,h.focus().hasClass(y)))return u._close(),t;u._select(h.focus()).done(function(){u._change(),u._close()})}else if(c===l.SPACEBAR&&i.ctrlKey&&g)u._activeItem&&h.focus()&&h.focus()[0]===u._activeItem[0]&&(u._activeItem=null),e(h.focus()).hasClass(y)||(u._activeItem=h.focus()),u._select(h.focus()).done(function(){u._change()}),i.preventDefault();else if(c===l.SPACEBAR&&i.shiftKey&&g)n=h.getElementIndex(u._getActiveItem()),o=h.getElementIndex(h.focus()),n!==t&&o!==t&&u._selectRange(n,o),i.preventDefault();else if(c===l.ESC)g?i.preventDefault():(u.tagList.children().each(function(t,i){u._removeTag(e(i),!1)}),u._change()),u.close();else if(c===l.HOME)g?h.focus()?(i.ctrlKey&&i.shiftKey&&!u.options.virtual&&u._selectRange(h.getElementIndex(h.focus()[0]),0),h.focusFirst()):u.close():_||(d=u.tagList[0].firstChild,d&&u.currentTag(e(d)));else if(c===l.END)g?h.focus()?(i.ctrlKey&&i.shiftKey&&!u.options.virtual&&u._selectRange(h.getElementIndex(h.focus()[0]),h.element.children().length-1),h.focusLast()):u.close():_||(d=u.tagList[0].lastChild,d&&u.currentTag(e(d)));else if(c!==l.DELETE&&c!==l.BACKSPACE||_)!u.popup.visible()||c!==l.PAGEDOWN&&c!==l.PAGEUP?(clearTimeout(u._typingTimeout),setTimeout(function(){u._scale()}),u._search()):(i.preventDefault(),r=c===l.PAGEDOWN?1:-1,h.scrollWith(r*h.screenHeight()));else{if(u._state=p,"single"===u.options.tagMode)return u._clearSingleTagV
813alue(),u._change(),u._close(),t;c!==l.BACKSPACE||d||(d=e(u.tagList[0].lastChild)),d&&d[0]&&u._removeTag(d,!0)}},_hideBusy:function(){var e=this;clearTimeout(e._busy),e.input.attr("aria-busy",!1),e._loading.addClass(S),e._request=!1,e._busy=null,e._toggleCloseVisibility()},_showBusyHandler:function(){this.input.attr("aria-busy",!0),this._loading.removeClass(S),this._hideClear()},_showBusy:function(){var e=this;e._request=!0,e._busy||(e._busy=setTimeout(u(e._showBusyHandler,e),100))},_placeholder:function(e,i){var s=this,n=s.input,l=o(),r=s.options.placeholder,u=n.val(),c=n[0]===l,d=u.length;c&&!s.options.autoClose&&u!==r||(d=0,u=""),e===t&&(e=!1,n[0]!==l&&(e=!s.listView.selectedDataItems()[0])),s._prev=u,n.toggleClass("k-readonly",e).val(e?r:u),c&&!i&&a.caret(n[0],d,d),s._scale()},_scale:function(){var e,t=this,i=t.wrapper.find(".k-multiselect-wrap"),a=i.width(),s=t._span.text(t.input.val());i.is(":visible")?e=s.width()+25:(s.appendTo(document.documentElement),a=e=s.width()+25,s.appendTo(i)),t.input.width(e>a?a:e)},_option:function(e,i,s){var n="<option";return e!==t&&(e+="",e.indexOf('"')!==-1&&(e=e.replace(H,"&quot;")),n+=' value="'+e+'"'),s&&(n+=" selected"),n+=">",i!==t&&(n+=a.htmlEncode(i)),n+="</option>"},_render:function(e){var t,i,a,s,n,l,o=this.listView.selectedDataItems(),r=this.listView.value(),u=e.length,c="";for(r.length!==o.length&&(o=this._buildSelectedItems(r)),n={},l={},s=0;s<u;s++)i=e[s],a=this._value(i),t=this._selectedItemIndex(a,o),t!==-1&&o.splice(t,1),l[a]=s,c+=this._option(a,this._text(i),t!==-1);if(o.length)for(s=0;s<o.length;s++)i=o[s],a=this._value(i),n[a]=u,l[a]=u,u+=1,c+=this._option(a,this._text(i),!0);this._customOptions=n,this._optionsMap=l,this.element.html(c)},_buildSelectedItems:function(e){var t,i,a=this.options.dataValueField,s=this.options.dataTextField,n=[];for(i=0;i<e.length;i++)t={},t[a]=e[i],t[s]=e[i],n.push(t);return n},_selectedItemIndex:function(e,t){for(var i=this._value,a=0;a<t.length;a++)if(e===i(t[a]))return a;return-1},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout(function(){var t=e._inputValue();e._prev!==t&&(e._prev=t,e.search(t),e._toggleCloseVisibility())},e.options.delay)},_toggleCloseVisibility:function(){this.value().length||this.input.val()&&this.input.val()!==this.options.placeholder?this._showClear():this._hideClear()},_allowOpening:function(){return this._allowSelection()&&n.fn._allowOpening.call(this)},_allowSelection:function(){var e=this.options.maxSelectedItems;return null===e||e>this.listView.value().length},_angularTagItems:function(t){var i=this;i.angular(t,function(){return{elements:i.tagList[0].children,data:e.map(i.dataItems(),function(e){return{dataItem:e}})}})},updatePersistTagList:function(e,t){this.persistTagList.added&&this.persistTagList.added.length===t.length&&this.persistTagList.removed&&this.persistTagList.removed.length===e.length?this.persistTagList=!1:(this.listView._removedAddedIndexes=this._old.slice(),this.persistTagList={added:e,removed:t})},_selectValue:function(e,i){var a,s,n,l=this,o=l.dataSource.total(),r=l.tagList,u=l._value;if(this.persistTagList)return this.updatePersistTagList(e,i),t;if(l._angularTagItems("cleanup"),"multiple"===l.options.tagMode){for(n=i.length-1;n>-1;n--)a=i[n],r.children().length&&(r[0].removeChild(r[0].children[a.position]),l._setOption(u(a.dataItem),!1));for(n=0;n<e.length;n++)s=e[n],r.append(l.tagTemplate(s.dataItem)),l._setOption(u(s.dataItem),!0)}else{for((!l._maxTotal||l._maxTotal<o)&&(l._maxTotal=o),this._updateTagListHTML(),n=i.length-1;n>-1;n--)l._setOption(u(i[n].dataItem),!1);for(n=0;n<e.length;n++)l._setOption(u(e[n].dataItem),!0)}l._angularTagItems("compile"),l._placeholder()},_updateTagListHTML:function(){var e=this,t=e.value(),i=e.dataSource.total(),a=e.tagList;a.html(""),t.length&&a.append(e.tagTemplate({values:t,dataItems:e.dataItems(),maxTotal:e._maxTotal,currentTotal:i}))},_select:function(t){var i,a,s,n,l=e.Deferred().resolve();return t?(i=this,a=i.listView,s=a.dataItemByIndex(a.getElementIndex(t)),n=t.hasClass("k-state-selected"),i._state===_&&(i._state=""),i._allowSelection()||n?i.trigger(n?w:T,{dataItem:s,item:t})?(i._close(),l):(i.persistTagList=!1,a.select(t).done(function(){i._placeholder(),i._state===h&&
813(i._state=p,a.skipUpdate(!0))})):l):l},_selectRange:function(i,a){var s,n,l=this,o=this.listView,r=this.options.maxSelectedItems,u=this._getSelectedIndices().slice(),c=[],d=function(t){o.select(t).done(function(){t.forEach(function(t){var i=o.dataItemByIndex(t),a=o.element.children()[t],s=e(a).hasClass("k-state-selected");l.trigger(s?T:w,{dataItem:i,item:e(a)})}),l._change()})};if(u.length-1===a-i)return d(u);if(i<a)for(s=i;s<=a;s++)c.push(s);else for(s=i;s>=a;s--)c.push(s);for(null!==r&&c.length>r&&(c=c.slice(0,r)),s=0;s<c.length;s++)n=c[s],this._getSelectedIndices().indexOf(n)==-1?u.push(n):u.splice(u.indexOf(n),1);return u.length?(l.persistTagList=!1,d(u)):t},_input:function(){var t=this,i=t.element,a=i[0].accessKey,s=t._inputWrapper.children("input.k-input");s[0]||(s=e('<input class="k-input" style="width: 25px" />').appendTo(t._inputWrapper)),i.removeAttr("accesskey"),t._focused=t.input=s.attr({accesskey:a,autocomplete:D,role:"listbox",title:i[0].title,"aria-expanded":!1,"aria-haspopup":"listbox","aria-autocomplete":"list"})},_tagList:function(){var t=this,i=t._inputWrapper.children("ul");i[0]||(i=e('<ul unselectable="on" class="k-reset"/>').appendTo(t._inputWrapper)),t.tagList=i},_tagTemplate:function(){var e,t=this,i=t.options,s=i.tagTemplate,n=i.dataSource,l="multiple"===i.tagMode,o=i.messages.singleTag;t.element[0].length&&!n&&(i.dataTextField=i.dataTextField||"text",i.dataValueField=i.dataValueField||"value"),e=l?a.template("#:"+a.expr(i.dataTextField,"data")+"#",{useWithBlock:!1}):a.template("#:values.length# "+o),t.tagTextTemplate=s=s?a.template(s):e,t.tagTemplate=function(e){return'<li role="option" aria-selected="true" class="k-button" unselectable="on"><span unselectable="on">'+s(e)+'</span><span aria-hidden="true" unselectable="on" aria-label="'+(l?'delete" title="'+t.options.messages.deleteTag+'" aria-label="'+t.options.messages.deleteTag:"open")+'" class="k-select"><span class="k-icon '+(l?"k-i-close":"k-i-arrow-60-down")+'"></span></span></li>'}},_loader:function(){this._loading=e('<span class="k-icon k-i-loading '+S+'"></span>').insertAfter(this.input)},_clearButton:function(){n.fn._clearButton.call(this),this.options.clearButton&&(this._clear.insertAfter(this.input),this.wrapper.addClass("k-multiselect-clearable"))},_textContainer:function(){var t=a.getComputedStyles(this.input[0],K);t.position="absolute",t.visibility="hidden",t.top=-3333,t.left=-3333,this._span=e("<span/>").css(t).appendTo(this.wrapper)},_wrapper:function(){var t=this,i=t.element,a=i.parent("span.k-multiselect");a[0]||(a=i.wrap('<div class="k-widget k-multiselect" unselectable="on" />').parent(),a[0].style.cssText=i[0].style.cssText,a[0].title=i[0].title,e('<div class="k-multiselect-wrap k-floatwrap" role="listbox" unselectable="on" />').insertBefore(i)),t.wrapper=a.addClass(i[0].className).removeClass("input-validation-error").css("display",""),t._inputWrapper=e(a[0].firstChild)},_ariaSetSize:function(e){var t=this,i=t.tagList.children();e&&i.length&&i.attr("aria-setsize",e)},_ariaSetLive:function(){var e=this;e.ul.attr("aria-live",e._isFilterEnabled()?"polite":"off")}});s.plugin(R)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});
814//# sourceMappingURL=kendo.multiselect.min.js.map
815
816/** 
817 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
818 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
819 *                                                                                                                                                                                                      
820 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
821 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
822 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
823                                                                                                                                                                                                       
824                                                                                                                                                                                                       
825                                                                                                                                                                                                       
826                                                                                                                                                                                                       
827                                                                                                                                                                                                       
828                                                                                                                                                                                                       
829                                                                                                                                                                                                       
830                                                                                                                                                                                                       
831                                                                                                                                                                                                       
832                                                                                                                                                                                                       
833                                                                                                                                                                                                       
834                                                                                                                                                                                                       
835                                                                                                                                                                                                       
836                                                                                                                                                                                                       
837                                                                                                                                                                                                       
838
839*/
840!function(e,define){define("kendo.view.min",["kendo.core.min","kendo.binder.min","kendo.fx.min"],e)}(function(){return function(e,t){function n(e){if(!e)return{};var t=e.match(R)||[];return{type:t[1],direction:t[3],reverse:"reverse"===t[5]}}var i=window.kendo,r=i.attr,o=i.ui,a=i.attrValue,s=i.directiveSelector,d=i.Observable,c=i.ui.Widget,h=i.roleSelector,l="SCRIPT",f="init",w="transitionStart",u="transitionEnd",p="show",v="hide",g="attach",m="detach",_=/unrecognized expression/,y=/<body[^>]*>(([\u000a\u000d\u2028\u2029]|.)*)<\/body>
840/i,V="loadStart",C="loadComplete",S="showStart",b="sameViewRequested",x="viewShow",E="viewTypeDetermined",T="after",I={content:"k-content",view:"k-view",stretchedView:"k-stretched-view",widget:"k-widget",header:"k-header",footer:"k-footer"},O=i.ui.Widget.extend({init:function(t,n){var r=this;n=n||{},r.id=i.guid(),d.fn.init.call(r),this.options=e.extend({},this.options,n),r.content=t,r.options.renderOnInit&&c.fn.init.call(r,r._createElement(),n),r.options.wrapInSections&&r._renderSections(),r.tagName=n.tagName||"div",r.model=n.model,r._wrap=n.wrap!==!1,this._evalTemplate=n.evalTemplate||!1,r._fragments={},r.bind([f,p,v,w,u],n)},options:{name:"View",renderOnInit:!1,wrapInSections:!1,detachOnHide:!0,detachOnDestroy:!0},render:function(t){var n=this,r=!n.element;return r&&(n.element=n._createElement()),t&&e(t).append(n.element),r&&(i.bind(n.element,n.model),n.trigger(f)),t&&(n._eachFragment(g),n.trigger(p)),n.element},clone:function(){return new k(this)},triggerBeforeShow:function(){return!0},triggerBeforeHide:function(){return!0},showStart:function(){var e=this,t=e.render();t&&t.css("display",""),this.trigger(S,{view:this})},showEnd:function(){},hideEnd:function(){this.hide()},beforeTransition:function(e){this.trigger(w,{type:e})},afterTransition:function(e){this.trigger(u,{type:e})},hide:function(){this.options.detachOnHide&&(this._eachFragment(m),e(this.element).detach()),this.trigger(v)},destroy:function(){var e=this,t=e.element;t&&(c.fn.destroy.call(e),i.unbind(t),i.destroy(t),e.options.detachOnDestroy&&t.remove())},purge:function(){var t=this;t.destroy(),e(t.element).add(t.content).add(t.wrapper).off().remove()},fragments:function(t){e.extend(this._fragments,t)},_eachFragment:function(e){for(var t in this._fragments)this._fragments[t][e](this,t)},_createElement:function(){var t,n,r,o=this,a="<"+o.tagName+">";try{n=e(document.getElementById(o.content)||o.content),n[0].tagName===l&&(n=n.html())}catch(s){_.test(s.message)&&(n=o.content)}return"string"==typeof n?(n=n.replace(/^\s+|\s+$/g,""),o._evalTemplate&&(n=i.template(n)(o.model||{})),t=e(a).append(n),o._wrap||(t=t.contents())):(t=n,o._evalTemplate&&(r=e(i.template(e("<div />").append(t.clone(!0)).html())(o.model||{})),e.contains(document,t[0])&&t.replaceWith(r),t=r),o._wrap&&(t=t.wrapAll(a).parent())),t},_renderSections:function(){var e=this;e.options.wrapInSections&&(e._wrapper(),e._createContent(),e._createHeader(),e._createFooter())},_wrapper:function(){var e,t=this,n=t.content;t.wrapper=n.is(h("view"))?t.content:n.wrap("<div data-"+i.ns+'stretch="true" data-'+i.ns+'role="view" data-'+i.ns+'init-widgets="false"></div>').parent(),e=t.wrapper,e.attr("id",t.id),e.addClass(I.view),e.addClass(I.widget),e.attr("role","view")},_createContent:function(){var t,n=this,i=e(n.wrapper),o=h("content");i.children(o)[0]||(t=i.children().filter(function(){var t=e(this);if(!t.is(h("header"))&&!t.is(h("footer")))return t}),t.wrap("<div "+r("role")+'="content"></div>')),this.contentElement=i.children(h("content")),this.contentElement.addClass(I.stretchedView).addClass(I.content)},_createHeader:function(){var e=this,t=e.wrapper;this.header=t.children(h("header")).addClass(I.header)},_createFooter:function(){var e=this,t=e.wrapper;this.footer=t.children(h("footer")).addClass(I.footer)}}),k=i.Class.extend({init:function(t){e.extend(this,{element:t.element.clone(!0),transition:t.transition,id:t.id}),t.element.parent().append(this.element)},hideEnd:function(){this.element.remove()},beforeTransition:e.noop,afterTransition:e.noop}),H=O.extend({init:function(e,t){O.fn.init.call(this,e,t),this.containers={}},container:function(e){var t=this.containers[e];return t||(t=this._createContainer(e),this.containers[e]=t),t},showIn:function(e,t,n){this.container(e).show(t,n)},_createContainer:function(e){var t,n=this.render(),i=n.find(e);if(!i.length&&n.is(e)){if(!n.is(e))throw Error("can't find a container with the specified "+e+" selector");i=n}return t=new F(i),t.bind("accepted",function(e){e.view.render(i)}),t}}),B=O.extend({attach:function(e,t){e.element.find(t).replaceWith(this.render())},detach:function(){}}),R=/^(\w+)(:(\w+))?( (\w+))?$/,F=d.extend({init:function(e){d.fn.init.call(this),this.container=e,this.history=[],this.view=null,this.running=!1},after:function(){this.running=!1,this.trigger("complete",{view:this.view}),this.trigger("after")},end:function(){this.view.showEnd(),this.previous.hideEnd(),this.after()},show:function(e,t,r){if(!e.triggerBeforeShow()||this.view&&!this.view.triggerBeforeHide())return this.trigger("after"),!1;r=r||e.id;var o=this,a=e===o.view?e.clone():o.view,s=o.history,d=s[s.length-2]||{},c=d.id===r,h=t||(c?s[s.length-1].transition:e.transition),l=n(h);return o.running&&o.effect.stop(),"none"===h&&(h=null),o.trigger("accepted",{view:e}),o.view=e,o.previous=a,o.running=!0,c?s.pop():s.push({id:r,transition:h}),a?(h&&i.effects.enabled?(e.element.addClass("k-fx-hidden"),e.showStart(),c&&!t&&(l.reverse=!l.reverse),o.effect=i.fx(e.element).replace(a.element,l.type).beforeTransition(function(){e.beforeTransition("show"),a.beforeTransition("hide")}).afterTransition(function(){e.afterTransition("show"),a.afterTransition("hide")}).direction(l.direction).setReverse(l.reverse),o.effect.run().then(function(){o.end()})):(e.showStart(),o.end()),!0):(e.showStart(),e.showEnd(),o.after(),!0)},destroy:function(){var e=this,t=e.view;t&&t.destroy&&t.destroy()}}),L=d.extend({init:function(t){var n,r,o=this;d.fn.init.call(o),o.options=t,e.extend(o,t),o.sandbox=e("<div />"),r=o.container,n=o._hideViews(r),o.rootView=n.first(),o.layouts={},o.viewContainer=new i.ViewContainer(o.container),o.viewContainer.bind("accepted",function(e){e.view.params=o.params}),o.viewContainer.bind("complete",function(e){o.trigger(x,{view:e.view})}),o.viewContainer.bind(T,function(){o.trigger(T)}),this.bind(this.events,t)},events:[S,T,x,V,C,b,E],destroy:function(){var e,t=this,n=t.viewContainer;i.destroy(t.container);for(e in t.layouts)this.layouts[e].destroy();n&&n.destroy()},view:function(){return this.viewContainer.view},showView:function(e,t,n){if(e=e.replace(RegExp("^"+this.remoteViewURLPrefix),""),""===e&&this.remoteViewURLPrefix&&(e="/"),e.replace(/^#/,"")===this.url)return this.trigger(b),!1;this.trigger(S);var r=this,o=r._findViewElement(e),a=i.widgetInstance(o);return r.url=e.replace(/^#/,""),r.params=n,a&&a.reload&&(a.purge(),o=[]),this.trigger(E,{remote:0===o.length,url:e}),!o[0]||(a||(a=r._createView(o)),r.viewContainer.show(a,t,e))},append:function(e,t){var n,i,o=this.sandbox,a=(t||"").split("?")[0],s=this.container;return y.test(e)&&(e=RegExp.$1),o[0].innerHTML=e,s.append(o.children("script, style")),n=this._hideViews(o),i=n.first(),i.length||(n=i=o.wrapInner("<div data-role=view />").children()),a&&i.hide().attr(r("url"),a),s.append(n),this._createView(i)},_locate:function(e){return this.$angular?s(e):h(e)},_findViewElement:function(e){var t,n=e.split("?")[0];return n?(t=this.container.children("["+r("url")+"='"+n+"']"),t[0]||n.indexOf("/")!==-1||(t=this.container.children("#"===n.charAt(0)?n:"#"+n)),t[0]||(t=this._findViewElementById(e)),t):this.root
840View},_findViewElementById:function(e){var t=this.container.children("[id='"+e+"']");return t},_createView:function(e){return this._createSpaView(e)},_createMobileView:function(e){return i.initWidget(e,{defaultTransition:this.transition,loader:this.loader,container:this.container,getLayout:this.getLayoutProxy,modelScope:this.modelScope,reload:a(e,"reload")},o.roles)},_createSpaView:function(e){var t=(this.options||{}).viewOptions||{};return new i.View(e,{renderOnInit:t.renderOnInit,wrap:t.wrap||!1,wrapInSections:t.wrapInSections,detachOnHide:t.detachOnHide,detachOnDestroy:t.detachOnDestroy})},_hideViews:function(e){return e.children(this._locate("view")).hide()}});i.ViewEngine=L,i.ViewContainer=F,i.Fragment=B,i.Layout=H,i.View=O,i.ViewClone=k}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
841//# sourceMappingURL=kendo.view.min.js.map
842
843/** 
844 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
845 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
846 *                                                                                                                                                                                                      
847 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
848 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
849 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
850                                                                                                                                                                                                       
851                                                                                                                                                                                                       
852                                                                                                                                                                                                       
853                                                                                                                                                                                                       
854                                                                                                                                                                                                       
855                                                                                                                                                                                                       
856                                                                                                                                                                                                       
857                                                                                                                                                                                                       
858                                                                                                                                                                                                       
859                                                                                                                                                                                                       
860                                                                                                                                                                                                       
861                                                                                                                                                                                                       
862                                                                                                                                                                                                       
863                                                                                                                                                                                                       
864                                                                                                                                                                                                       
865
866*/
867!function(e,define){define("kendo.numerictextbox.min",["kendo.core.min","kendo.userevents.min","kendo.floatinglabel.min"],e)}(function(){return function(e,t){function n(e,t){var n="k-i-arrow-"+("increase"===e?"60-up":"60-down");return'<span unselectable="on" class="k-link k-link-'+e+'" aria-label="'+t+'" title="'+t+'"><span unselectable="on" class="'+E+" "+n+'"></span></span>'}function a(e,t){var n=(""+parseFloat(e,10)).split(L);return n[1]&&(n[1]=n[1].substring(0,t)),n.join(L)}
867var o=window.kendo,r=o.caret,i=o.keys,s=o.ui,l=s.Widget,u=o._activeElement,p=o._extractFormat,d=o.parseFloat,c=o.support.placeholder,_=o.getCulture,f="change",m="disabled",v="readonly",h="k-input",g="spin",x=".kendoNumericTextBox",b="touchend",w="mouseleave"+x,k="mouseenter"+x+" "+w,y="k-state-default",T="k-state-focused",C="k-state-hover",A="focus",L=".",E="k-icon",H="k-label k-input-label",I="k-state-selected",S="k-state-disabled",W="k-state-invalid",O="aria-disabled",F=/^(-)?(\d*)$/,R=null,j=e.proxy,D=e.isPlainObject,N=e.extend,B=l.extend({init:function(n,a){var r,i,s,u,d,c,_=this,f=a&&a.step!==t;l.fn.init.call(_,n,a),a=_.options,n=_.element.on("focusout"+x,j(_._focusout,_)).attr("role","spinbutton"),a.placeholder=a.placeholder||n.attr("placeholder"),r=_.min(n.attr("min")),i=_.max(n.attr("max")),s=_._parse(n.attr("step")),a.min===R&&r!==R&&(a.min=r),a.max===R&&i!==R&&(a.max=i),f||s===R||(a.step=s),_._initialOptions=N({},a),c=n.attr("type"),_._reset(),_._wrapper(),_._arrows(),_._validation(),_._input(),o.support.mobileOS?_._text.on(b+x+" "+A+x,function(){o.support.browser.edge?_._text.one(A+x,function(){_._toggleText(!1),n.focus()}):(_._toggleText(!1),n.focus())}):_._text.on(A+x,j(_._click,_)),n.attr("aria-valuemin",a.min!==R?a.min*a.factor:a.min).attr("aria-valuemax",a.max!==R?a.max*a.factor:a.max),a.format=p(a.format),u=a.value,u==R&&(u="number"==c?parseFloat(n.val()):n.val()),_.value(u),d=n.is("[disabled]")||e(_.element).parents("fieldset").is(":disabled"),d?_.enable(!1):_.readonly(n.is("[readonly]")),_.angular("compile",function(){return{elements:_._text.get()}}),_._label(),o.notify(_)},options:{name:"NumericTextBox",decimals:R,restrictDecimals:!1,min:R,max:R,value:R,step:1,round:!0,culture:"",format:"n",spinners:!0,placeholder:"",factor:1,upArrowText:"Increase value",downArrowText:"Decrease value",label:null},events:[f,g],_editable:function(e){var t=this,n=t.element,a=e.disable,o=e.readonly,r=t._text.add(n),i=t._inputWrapper.off(k);t._toggleText(!0),t._upArrowEventHandler.unbind("press"),t._downArrowEventHandler.unbind("press"),n.off("keydown"+x).off("keyup"+x).off("input"+x).off("paste"+x),t._inputLabel&&t._inputLabel.off(x),o||a?(i.addClass(a?S:y).removeClass(a?y:S),r.attr(m,a).attr(v,o).attr(O,a)):(i.addClass(y).removeClass(S).on(k,t._toggleHover),r.removeAttr(m).removeAttr(v).attr(O,!1),t._upArrowEventHandler.bind("press",function(e){e.preventDefault(),t._spin(1),t._upArrow.addClass(I)}),t._downArrowEventHandler.bind("press",function(e){e.preventDefault(),t._spin(-1),t._downArrow.addClass(I)}),t.element.on("keydown"+x,j(t._keydown,t)).on("keyup"+x,j(t._keyup,t)).on("paste"+x,j(t._paste,t)).on("input"+x,j(t._inputHandler,t)),t._inputLabel&&t._inputLabel.on("click"+x,j(t.focus,t)))},readonly:function(e){var n=this;this._editable({readonly:e===t||e,disable:!1}),n.floatingLabel&&n.floatingLabel.readonly(e===t||e)},enable:function(e){var n=this;this._editable({readonly:!1,disable:!(e=e===t||e)}),n.floatingLabel&&n.floatingLabel.enable(e=e===t||e)},setOptions:function(e){var n=this;l.fn.setOptions.call(n,e),n._arrowsWrap.toggle(n.options.spinners),n._inputWrapper.toggleClass("k-expand-padding",!n.options.spinners),n._text.prop("placeholder",n.options.placeholder),n._placeholder(n.options.placeholder),n.element.attr({"aria-valuemin":n.options.min!==R?n.options.min*n.options.factor:n.options.min,"aria-valuemax":n.options.max!==R?n.options.max*n.options.factor:n.options.max}),n.options.format=p(n.options.format),e.value!==t&&n.value(e.value)},destroy:function(){var e=this;e._inputLabel&&(e._inputLabel.off(x),e.floatingLabel&&e.floatingLabel.destroy()),e.element.add(e._text).add(e._upArrow).add(e._downArrow).add(e._inputWrapper).off(x),e._upArrowEventHandler.destroy(),e._downArrowEventHandler.destroy(),e._form&&e._form.off("reset",e._resetHandler),l.fn.destroy.call(e)},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},step:function(e){return this._option("step",e)},value:function(e){var n,a=this;return e===t?a._value:(e=a._parse(e),n=a._adjust(e),e===n&&(a._update(e),a._old=a._value),t)},focus:function(){this._focusin()},_adjust:function(e){var t=this,n=t.options,a=n.min,o=n.max;return e===R?e:(a!==R&&e<a?e=a:o!==R&&e>o&&(e=o),e)},_arrows:function(){var t,a=this,r=function(){clearTimeout(a._spinning),t.removeClass(I)},i=a.options,s=i.spinners,l=a.element;t=l.siblings("."+E),t[0]||(t=e(n("increase",i.upArrowText)+n("decrease",i.downArrowText)).insertAfter(l),a._arrowsWrap=t.wrapAll('<span class="k-select"/>').parent()),s||(t.parent().toggle(s),a._inputWrapper.addClass("k-expand-padding")),a._upArrow=t.eq(0),a._upArrowEventHandler=new o.UserEvents(a._upArrow,{release:r}),a._downArrow=t.eq(1),a._downArrowEventHandler=new o.UserEvents(a._downArrow,{release:r})},_validation:function(){var t=this,n=t.element;t._validationIcon=e("<span class='"+E+" k-i-warning'></span>").hide().insertAfter(n)},_blur:function(){var e=this;e._toggleText(!0),e._change(e.element.val())},_click:function(e){var t=this;clearTimeout(t._focusing),t._focusing=setTimeout(function(){var n,a,o,i=e.target,s=r(i)[0],l=i.value.substring(0,s),u=t._format(t.options.format),p=u[","],d=0;p&&(a=RegExp("\\"+p,"g"),o=RegExp("(^(-)$)|(^(-)?([\\d\\"+p+"]+)(\\"+u[L]+")?(\\d+)?)")),o&&(n=o.exec(l)),n&&(d=n[0].replace(a,"").length,l.indexOf("(")!=-1&&t._value<0&&d++),t._focusin(),r(t.element[0],d)})},_change:function(e){var t=this,n=t.options.factor;n&&1!==n&&(e=o.parseFloat(e),null!==e&&(e/=n)),t._update(e),e=t._value,t._old!=e&&(t._old=e,t._typing||t.element.trigger(f),t.trigger(f)),t._typing=!1},_culture:function(e){return e||_(this.options.culture)},_focusin:function(){var e=this;e._inputWrapper.addClass(T),e._toggleText(!1),e.element[0].focus()},_focusout:function(){var e=this;clearTimeout(e._focusing),e._inputWrapper.removeClass(T).removeClass(C),e._blur(),e._removeInvalidState()},_format:function(e,t){var n=this._culture(t).numberFormat;return e=e.toLowerCase(),e.indexOf("c")>-1?n=n.currency:e.indexOf("p")>-1&&(n=n.percent),n},_input:function(){var t,n=this,a=n.options,o="k-formatted-value",r=n.element.addClass(h).show()[0],i=r.accessKey,s=n.wrapper;t=s.find(L+o),t[0]||(t=e('<input type="text"/>').insertBefore(r).addClass(o).attr("aria-hidden","true"));try{r.setAttribute("type","text")}catch(l){r.type="text"}t[0].title=r.title,t[0].tabIndex=r.tabIndex,t[0].style.cssText=r.style.cssText,t.prop("placeholder",a.placeholder),i&&(t.attr("accesskey",i),r.accessKey=""),n._text=t.addClass(r.className).attr({role:"spinbutton","aria-valuemin":a.min!==R?a.min*a.factor:a.min,"aria-valuemax":a.max!==R?a.max*a.factor:a.max,autocomplete:"off"})},_keydown:function(e){var n=this,a=e.keyCode;return a==i.DOWN?(n._step(-1),t):a==i.UP?(n._step(1),t):a==i.ENTER?(n._change(n.element.val()),t):(a!=i.TAB&&(n._typing=!0),n._cachedCaret=r(n.element),t)},_keyup:function(){this._removeInvalidState()},_inputHandler:function(){var e=this.element,t=e.val(),n=this._format(this.options.format),a=this._numericRegex(n).test(t);a?this._oldText=t:(this._blinkInvalidState(),this.element.val(this._oldText),this._cachedCaret&&(r(e,this._cachedCaret[0]),this._cachedCaret=null))},_blinkInvalidState:function(){var e=this;e._addInvalidState(),clearTimeout(e._invalidStateTimeout),e._invalidStateTimeout=setTimeout(j(e._removeInvalidState,e),100)},_addInvalidState:function(){var e=this;e._inputWrapper.addClass(W),e._validationIcon.show()},_removeInvalidState:function(){var e=this;e._inputWrapper.removeClass(W),e._validationIcon.hide(),e._invalidStateTimeout=null},_numericRegex:function(e){var t=this,n=e[L],a=t.options.decimals,o="*";return n===L&&(n="\\"+n),a===R&&(a=e.decimals),0===a&&t.options.restrictDecimals?F:(t.options.restrictDecimals&&(o="{0,"+a+"}"),t._separator!==n&&(t._separator=n,t._floatRegExp=RegExp("^(-)?(((\\d+("+n+"\\d"+o+")?)|("+n+"\\d"+o+")))?$")),t._floatRegExp)},_paste:function(e){var t=this,n=e.target,a=n.value,o=t._format(t.options.format);setTimeout(function(){var e=t._parse(n.value);e===R?t._update(a):(n.value=(""+e).replace(L,o[L]),t._adjust(e)===e&&t._numericRegex(o).test(n.value)||t._update(a))})},_option:function(e,n){var a=this,o=a.element,r=a.options;return n===t?r[e]:(n=a._parse(n),(n||"step"!==e)&&(r[e]=n,o.add(a._text).attr("aria-value"+e,n),o.attr(e,n)),t)},_spin:function(e,t){var n=this;t=t||500,clearTimeout(n._spinning),n._spinning=setTimeout(function(){n._spin(e,50)},t),n._step(e)},_step:function(e){var t=this,n=t.element,a=t._value,o=t._parse(n.val())||0,r=t.options.decimals||2;u()!=n[0]&&t._focusin(),t.options.factor&&o&&(o/=t.options.factor),o=+(o+t.options.step*e).toFixed(r),o=t._adjust(o),t._update(o),t._typing=!1,a!==o&&t.trigger(g)},_toggleHover:function(t){e(t.currentTarget).toggleClass(C,"mouseenter"
867===t.type)},_toggleText:function(e){var t=this;t._text.toggle(e),t.element.toggle(!e)},_parse:function(e,t){return d(e,this._culture(t),this.options.format)},_round:function(e,t){var n=this.options.round?o._round:a;return n(e,t)},_update:function(e){var t,n=this,a=n.options,r=a.factor,i=a.format,s=a.decimals,l=n._culture(),u=n._format(i,l);s===R&&(s=u.decimals),e=n._parse(e,l),t=e!==R,t&&(e=parseFloat(n._round(e,s),10)),n._value=e=n._adjust(e),n._placeholder(o.toString(e,i,l)),t?(r&&(e=parseFloat(n._round(e*r,s),10)),e=""+e,e.indexOf("e")!==-1&&(e=n._round(+e,s)),e=e.replace(L,u[L])):e=null,n.element.val(e),n._oldText=e,n.element.add(n._text).attr("aria-valuenow",e)},_placeholder:function(e){var t=this._text;t.val(e),c||e||t.val(this.options.placeholder),t.attr("title",this.element.attr("title")||t.val())},_label:function(){var n,a,r=this,i=r.element,s=r.options,l=i.attr("id");null!==s.label&&(n=!!D(s.label)&&s.label.floating,a=D(s.label)?s.label.content:s.label,n&&(r._floatingLabelContainer=r.wrapper.wrap("<span></span>").parent(),r.floatingLabel=new o.ui.FloatingLabel(r._floatingLabelContainer,{widget:r})),o.isFunction(a)&&(a=a.call(r)),a||(a=""),l||(l=s.name+"_"+o.guid(),i.attr("id",l)),r._inputLabel=e("<label class='"+H+"' for='"+l+"'>"+a+"</label>'").insertBefore(r.wrapper),r.element.attr("disabled")===t&&r.element.attr("readonly")===t&&r._inputLabel.on("click"+x,j(r.focus,r)))},_wrapper:function(){var t,n=this,a=n.element,o=a[0];t=a.parents(".k-numerictextbox"),t.is("span.k-numerictextbox")||(t=a.hide().wrap('<span class="k-numeric-wrap k-state-default" />').parent(),t=t.wrap("<span/>").parent()),t[0].style.cssText=o.style.cssText,o.style.width="",n.wrapper=t.addClass("k-widget k-numerictextbox").addClass(o.className).removeClass("input-validation-error").css("display",""),n._inputWrapper=e(t[0].firstChild)},_reset:function(){var t=this,n=t.element,a=n.attr("form"),o=a?e("#"+a):n.closest("form");o[0]&&(t._resetHandler=function(){setTimeout(function(){t.value(n[0].value),t.max(t._initialOptions.max),t.min(t._initialOptions.min)})},t._form=o.on("reset",t._resetHandler))}});s.plugin(B)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
868//# sourceMappingURL=kendo.numerictextbox.min.js.map
869
870/** 
871 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
872 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
873 *                                                                                                                                                                                                      
874 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
875 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
876 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
877                                                                                                                                                                                                       
878                                                                                                                                                                                                       
879                                                                                                                                                                                                       
880                                                                                                                                                                                                       
881                                                                                                                                                                                                       
882                                                                                                                                                                                                       
883                                                                                                                                                                                                       
884                                                                                                                                                                                                       
885                                                                                                                                                                                                       
886                                                                                                                                                                                                       
887                                                                                                                                                                                                       
888                                                                                                                                                                                                       
889                                                                                                                                                                                                       
890                                                                                                                                                                                                       
891                                                                                                                                                                                                       
892
893*/
894!function(e,define){define("kendo.maskedtextbox.min",["kendo.core.min","kendo.floatinglabel.min"],e)}(function(){return function(e,t){function n(e){return e+d}function a(e,t){for(var n=0;n<t.length&&e[n]===t[n];)n++;return n}function i(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}
894var s=window,l=s.Math.min,o=s.kendo,r=o.caret,u=o.keys,_=o.ui,p=_.Widget,d=".kendoMaskedTextBox",m=e.isPlainObject,h=e.proxy,f=window.setTimeout,c="k-label k-input-label",g="k-state-disabled",v="k-state-invalid",k="disabled",b="readonly",y="change",w="mouseup",C="drop",x="keydown",L="paste",I="input",E=n(o.support.propertyChangeEvent?"propertychange":I),P=p.extend({init:function(t,n){var a,i,s=this;p.fn.init.call(s,t,n),s._rules=e.extend({},s.rules,s.options.rules),t=s.element,a=t[0],s._wrapper(),s._tokenize(),s._form(),s.element.addClass("k-textbox").attr("autocomplete","off").on("focus"+d,function(){var e=a.value;e?s._togglePrompt(!0):a.value=s._old=s._emptyMask,s._oldValue=e,s._timeoutId=f(function(){r(t,0,e?s._maskLength:0)})}).on("focusout"+d,function(){var e=t.val();clearTimeout(s._timeoutId),a.value=s._old="",e!==s._emptyMask&&(a.value=s._old=e),s._change(),s._togglePrompt()}),i=t.is("[disabled]")||e(s.element).parents("fieldset").is(":disabled"),i?s.enable(!1):s.readonly(t.is("[readonly]")),s.value(s.options.value||t.val()),s._validationIcon=e("<span class='k-icon k-i-warning'></span>").insertAfter(t),s._label(),o.notify(s)},options:{name:"MaskedTextBox",clearPromptChar:!1,unmaskOnPost:!1,promptChar:"_",culture:"",rules:{},value:"",mask:"",label:null},events:[y],rules:{0:/\d/,9:/\d|\s/,"#":/\d|\s|\+|\-/,L:/[a-zA-Z]/,"?":/[a-zA-Z]|\s/,"&":/\S/,C:/./,A:/[a-zA-Z0-9]/,a:/[a-zA-Z0-9]|\s/},setOptions:function(t){var n=this;p.fn.setOptions.call(n,t),n._rules=e.extend({},n.rules,n.options.rules),n._tokenize(),this._unbindInput(),this._bindInput(),n.value(n.element.val())},destroy:function(){var e=this;e.floatingLabel&&e.floatingLabel.destroy(),e.element.off(d),e._formElement&&(e._formElement.off("reset",e._resetHandler),e._formElement.off("submit",e._submitHandler)),p.fn.destroy.call(e)},raw:function(){var e=this._unmask(this.element.val(),0);return e.replace(RegExp(i(this.options.promptChar),"g"),"")},value:function(e){var n=this.element,a=this._emptyMask;return e===t?this.element.val():(null===e&&(e=""),a?(e=this._unmask(e+""),n.val(e?a:""),this._mask(0,this._maskLength,e),this._unmaskedValue=null,e=n.val(),this._oldValue=e,o._activeElement()!==n&&(e===a?n.val(""):this._togglePrompt()),t):(this._oldValue=e,n.val(e),t))},_togglePrompt:function(e){var t=this.element[0],n=t.value;this.options.clearPromptChar&&(n=e?this._oldValue:n.replace(RegExp(i(this.options.promptChar),"g")," "),t.value=this._old=n)},readonly:function(e){var n=this;this._editable({readonly:e===t||e,disable:!1}),n.floatingLabel&&n.floatingLabel.readonly(e===t||e)},enable:function(e){var n=this;this._editable({readonly:!1,disable:!(e=e===t||e)}),n.floatingLabel&&n.floatingLabel.enable(e=e===t||e)},_bindInput:function(){var e,t,a=this;a._maskLength&&(a.options.$angular&&a.element.off(I),a.element.on(n(x),h(a._keydown,a)).on(n(C),h(a._drop,a)).on(n(y),h(a._trackChange,a)).on(E,h(a._inputHandler,a)),o.support.browser.msie&&(e=o.support.browser.version,e>8&&e<11&&(t=[n(w),n(C),n(x),n(L)].join(" "),a.element.on(t,h(a._legacyIEInputHandler,a)))))},_unbindInput:function(){var e=[E,n(x),n(w),n(C),n(L)].join(" ");this.element.off(e)},_editable:function(e){var t=this,n=t.element,a=t.wrapper,i=e.disable,s=e.readonly;t._unbindInput(),s||i?(n.attr(k,i).attr(b,s),a.toggleClass(g,i)):(n.removeAttr(k).removeAttr(b),a.removeClass(g),t._bindInput())},_change:function(){var e=this,t=e.value();t!==e._oldValue?(e._oldValue=t,e.trigger(y),e.element.trigger(y)):""===t&&e.__changing&&e.element.trigger(y)},inputChange:function(e){var t,n,i,s,u,_=this,p=_._old,d=_.element[0],m=d.value,h=r(d),f=h[1],c=m.length-p.length,g=o.support.mobileOS;_.__dropping&&c<0||(c===-1&&g.android&&"chrome"===g.browser&&(e=!0),t=l(f,a(m,p)),n=m.substring(t,f),d.value=m.substring(0,t)+_._emptyMask.substring(t),i=_._mask(t,f,n),s=_._trimStartPromptChars(m.substring(f),l(c,i-t)),u=_._unmask(s,p.length-s.length),_._mask(i,i,u),e&&(i=_._findCaretPosBackwards(t)),r(d,i),_.__dropping=!1)},_trimStartPromptChars:function(e,t){for(var n=this.options.promptChar;t-- >0&&0===e.indexOf(n);)e=e.substring(1);return e},_findCaretPosBackwards:function(e){var t=this._find(e,!0);return t<e&&(t+=1),t},_inputHandler:function(){o._activeElement()===this.element[0]&&this.inputChange(this.__backward)},_legacyIEInputHandler:function(e){var t=this,n=t.element[0],a=n.value,i=e.type;t.__pasting="paste"===i,f(function(){"mouseup"===i&&t.__pasting||n.value&&n.value!==a&&t.inputChange(t.__backward)})},_trackChange:function(){var e=this;e.__changing=!0,f(function(){e.__changing=!1})},_form:function(){var t=this,n=t.element,a=n.attr("form"),i=a?e("#"+a):n.closest("form");i[0]&&(t._resetHandler=function(){f(function(){t.value(n[0].value)})},t._submitHandler=function(){t.element[0].value=t._old=t.raw()},t.options.unmaskOnPost&&i.on("submit",t._submitHandler),t._formElement=i.on("reset",t._resetHandler))},_keydown:function(e){var t=e.keyCode;this.__backward=t===u.BACKSPACE,t===u.ENTER&&this._change()},_drop:function(){this.__dropping=!0},_find:function(e,t){var n=this.element.val()||this._emptyMask,a=1;for(t===!0&&(a=-1);e>-1||e<=this._maskLength;){if(n.charAt(e)!==this.tokens[e])return e;e+=a}return-1},_mask:function(e,n,a,i){var s,l,u,_,p=this.element[0],d=p.value||this._emptyMask,m=this.options.promptChar,h=0;for(e=this._find(e,i),e>n&&(n=e),l=this._unmask(d.substring(n),n),a=this._unmask(a,e),s=a.length,a&&(l=l.replace(RegExp("^_{0,"+s+"}"),"")),a+=l,d=d.split(""),u=a.charAt(h);e<this._maskLength;)d[e]=u||m,u=a.charAt(++h),_===t&&h>s&&(_=e),e=this._find(e+1);return p.value=this._old=d.join(""),o._activeElement()===p&&(_===t&&(_=this._maskLength),r(p,_)),_},_unmask:function(t,n){var a,i,s,l,o,r,u,_;if(!t)return"";if(this._unmaskedValue===t)return this._unmaskedValue;for(t=(t+"").split(""),s=0,l=n||0,o=this.options.promptChar,r=t.length,u=this.tokens.length,_="";l<u&&(a=t[s],i=this.tokens[l],a===i||a===o?(_+=a===o?o:"",s+=1,l+=1):"string"!=typeof i?(i&&i.test&&i.test(a)||e.isFunction(i)&&i(a)?(_+=a,l+=1):1===r&&this._blinkInvalidState(),s+=1):l+=1,!(s>=r)););return this._unmaskedValue=_,_},_label:function(){var t,n,a=this,i=a.element,s=a.options,l=i.attr("id");null!==s.label&&(t=!!m(s.label)&&s.label.floating,n=m(s.label)?s.label.content:s.label,t&&(a._floatingLabelContainer=a.wrapper.wrap("<sp
894an></span>").parent(),a.floatingLabel=new o.ui.FloatingLabel(a._floatingLabelContainer,{widget:a})),o.isFunction(n)&&(n=n.call(a)),n||(n=""),l||(l=s.name+"_"+o.guid(),i.attr("id",l)),a._inputLabel=e("<label class='"+c+"' for='"+l+"'>"+n+"</label>'").insertBefore(a.wrapper))},_wrapper:function(){var e=this,t=e.element,n=t[0],a=t.wrap("<span class='k-widget k-maskedtextbox'></span>").parent();a[0].style.cssText=n.style.cssText,n.style.width="100%",e.wrapper=a.addClass(n.className).removeClass("input-validation-error")},_blinkInvalidState:function(){var e=this;e.wrapper.addClass(v),clearTimeout(e._invalidStateTimeout),e._invalidStateTimeout=f(h(e._removeInvalidState,e),100)},_removeInvalidState:function(){var e=this;e.wrapper.removeClass(v),e._invalidStateTimeout=null},_tokenize:function(){for(var e,t,n,a,i=[],s=0,l=this.options.mask||"",r=l.split(""),u=r.length,_=0,p="",d=this.options.promptChar,m=o.getCulture(this.options.culture).numberFormat,h=this._rules;_<u;_++)if(e=r[_],t=h[e])i[s]=t,p+=d,s+=1;else for("."===e||","===e?e=m[e]:"$"===e?e=m.currency.symbol:"\\"===e&&(_+=1,e=r[_]),e=e.split(""),n=0,a=e.length;n<a;n++)i[s]=e[n],p+=e[n],s+=1;this.tokens=i,this._emptyMask=p,this._maskLength=p.length}});_.plugin(P)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
895//# sourceMappingURL=kendo.maskedtextbox.min.js.map
896
897/** 
898 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
899 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
900 *                                                                                                                                                                                                      
901 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
902 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
903 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
904                                                                                                                                                                                                       
905                                                                                                                                                                                                       
906                                                                                                                                                                                                       
907                                                                                                                                                                                                       
908                                                                                                                                                                                                       
909                                                                                                                                                                                                       
910                                                                                                                                                                                                       
911                                                                                                                                                                                                       
912                                                                                                                                                                                                       
913                                                                                                                                                                                                       
914                                                                                                                                                                                                       
915                                                                                                                                                                                                       
916                                                                                                                                                                                                       
917                                                                                                                                                                                                       
918                                                                                                                                                                                                       
919
920*/
921!function(e,define){define("kendo.pager.min",["kendo.data.min"],e)}(function(){return function(e,t){function a(e,t,a,n,s){return e({idx:t,text:a,ns:d.ns,numeric:n,title:s||""})}function n(e,t,a,n){return e({idx:t,text:a||t,selected:n||!1})}function s(e,t,a){return C({className:e.substring(1),text:t,wrapClassName:a||""})}function i(e,t,a,n){e.find(t).parent().attr(d.attr("page"),a).attr("tabindex",-1).toggleClass("k-state-disabled",n)}function l(e,t){i(e,g,1,t<=1)}function r(e,t){i(e,h,Math.max(1,t-1),t<=1)}function o(e,t,a){i(e,k,Math.min(a,t+1),t>=a)}function p(e,t,a){i(e,f,a,t>=a)}var d=window.kendo,c=d.ui,m=c.Widget,u=e.proxy,g=".k-i-arrow-end-left",f=".k-i-arrow-end-right",h=".k-i-arrow-60-left",k=".k-i-arrow-60-right",S="k-pager-md k-pager-sm",_="
921change",v=".kendoPager",w="click",x="keydown",z="disabled",T="down",b=Number.MAX_VALUE,C=d.template('<a href="\\#" aria-label="#=text#" title="#=text#" class="k-link k-pager-nav #= wrapClassName #"><span class="k-icon #= className #"></span></a>'),P=m.extend({init:function(t,a){var n,i,c,S,z=this,b=null;m.fn.init.call(z,t,a),a=z.options,z._createDataSource(a),z.linkTemplate=d.template(z.options.linkTemplate),z.selectTemplate=d.template(z.options.selectTemplate),z.currentPageTemplate=d.template(z.options.currentPageTemplate),z.numericSelectItemTemplate=d.template(z.options.numericSelectItemTemplate),n=z.page(),i=z.totalPages(),z._refreshHandler=u(z.refresh,z),z.dataSource.bind(_,z._refreshHandler),z.downEvent=d.applyEventMap(T,d.guid()),a.previousNext&&(z.element.find(g).length||(z.element.append(s(g,a.messages.first,"k-pager-first")),l(z.element,n,i)),z.element.find(h).length||(z.element.append(s(h,a.messages.previous)),r(z.element,n,i))),a.numeric&&(z._numericWrap||(z._numericWrap=z.element.find(".k-pager-numbers-wrap"),0===z._numericWrap.length&&(z._numericWrap=e("<div class='k-pager-numbers-wrap' />").appendTo(z.element))),z._numericSelect||(z._numericSelect=z._numericWrap.find(".k-dropdown"),0===z._numericSelect.length&&(z._numericSelect=e("<select class='k-dropdown' />").appendTo(z._numericWrap))),z.list||(z.list=z._numericWrap.find(".k-pager-numbers"),0===z.list.length&&(z.list=e('<ul class="k-pager-numbers" />').appendTo(z._numericWrap))),a.dataSource&&!a.dataSource.total()&&(z._numericSelect.empty().append("<option value='0' />"),z.list.empty().append(z.selectTemplate({text:0})))),a.input&&(z.element.find(".k-pager-input").length||z.element.append('<span class="k-pager-input k-label">'+a.messages.page+'<input class="k-textbox">'+d.format(a.messages.of,i)+"</span>"),z.element.on(x+v,".k-pager-input input",u(z._keydown,z))),a.previousNext&&(z.element.find(k).length||(z.element.append(s(k,a.messages.next)),o(z.element,n,i)),z.element.find(f).length||(z.element.append(s(f,a.messages.last,"k-pager-last")),p(z.element,n,i))),a.pageSizes&&(z.element.find(".k-pager-sizes").length||(c=a.pageSizes.length?a.pageSizes:["all",5,10,20],S=e.map(c,function(e){return e.toLowerCase&&"all"===e.toLowerCase()?"<option value='all'>"+a.messages.allPages+"</option>":"<option>"+e+"</option>"}),e('<span class="k-pager-sizes k-label"><select></select>'+a.messages.itemsPerPage+"</span>").appendTo(z.element).find("select").html(S.join("")).end().appendTo(z.element)),z.element.find(".k-pager-sizes select").val(z.pageSize()),d.ui.DropDownList&&z.element.find(".k-pager-sizes select").show().kendoDropDownList(),z.element.on(_+v,".k-pager-sizes select",u(z._change,z))),a.refresh&&(z.element.find(".k-pager-refresh").length||z.element.append('<a href="#" class="k-pager-refresh k-link" title="'+a.messages.refresh+'" aria-label="'+a.messages.refresh+'"><span class="k-icon k-i-reload"></span></a>'),z.element.on(w+v,".k-pager-refresh",u(z._refreshClick,z))),a.info&&(z.element.find(".k-pager-info").length||z.element.append('<span class="k-pager-info k-label" />')),z.element.on(w+v,"a",u(z._click,z)).on(_+v,"select.k-dropdown",u(z._numericSelectChange,z)).addClass("k-pager-wrap k-widget k-floatwrap"),a.autoBind&&z.refresh(),z._resizeHandler=u(z.resize,z,!0),e(window).on("resize"+v,z._resizeHandler),b=z._getWidthSizeClass(z.element.width()),b&&z.element.addClass(b),d.notify(z)},destroy:function(){var t=this;m.fn.destroy.call(t),t.element.off(v),t.dataSource.unbind(_,t._refreshHandler),t._refreshHandler=null,e(window).off("resize"+v,this._resizeHandler),d.destroy(t.element),t.element=t.list=null},events:[_],options:{name:"Pager",selectTemplate:'<li><span class="k-link k-state-selected">#=text#</span></li>',currentPageTemplate:'<li class="k-current-page"><span class="k-link k-pager-nav">#=text#</span></li>',linkTemplate:'<li><a tabindex="-1" href="\\#" class="k-link" data-#=ns#page="#=idx#" #if (title !== "") {# title="#=title#" #}#>#=text#</a></li>',numericItemTemplate:'<li><a tabindex="-1" href="\\#" class="k-link" data-#=ns#page="#=idx#" #if (title !== "") {# title="#=title#" #}#>#=text#</a></li>',numericSelectItemTemplate:'<option value="#= idx #" #if (selected) {# selected="selected" #}#>#= text #</option>',buttonCount:10,autoBind:!0,numeric:!0,info:!0,input:!1,previousNext:!0,pageSizes:!1,refresh:!1,responsive:!0,messages:{allPages:"All",display:"{0} - {1} of {2} items",empty:"No items to display",page:"Page",of:"of {0}",itemsPerPage:"items per page",first:"Go to the first page",previous:"Go to the previous page",next:"Go to the next page",last:"Go to the last page",refresh:"Refresh",morePages:"More pages"}},setDataSource:function(e){var t=this;t.dataSource.unbind(_,t._refreshHandler),t.dataSource=t.options.dataSource=e,e.bind(_,t._refreshHandler),t.options.autoBind&&e.fetch()},_resize:function(e){var t,a;e.width&&(t=this._getWidthSizeClass(e.width),a=this.element,t?a.hasClass(t)||(a.removeClass(S),a.addClass(t)):a.removeClass(S))},_createDataSource:function(e){this.dataSource=d.data.DataSource.create(e.dataSource)},refresh:function(t){var s,i,c,m,u,g,f=this,h=1,k=f.page(),S="",_="",v=f.options,w=f.pageSize(),x=f._collapsedTotal(),T=f.dataSource._isGroupPaged()?f.dataSource.groupsTotal():f.dataSource.total(),C=f.totalPages(),P=f.linkTemplate,y=f.numericSelectItemTemplate,N=v.buttonCount;if(!t||"itemchange"!=t.action){if(v.numeric){for(k>N&&(c=k%N,h=0===c?k-N+1:k-c+1),i=Math.min(h+N-1,C),h>1&&(S+=a(P,h-1,"...",!1,v.messages.morePages),_+=n(y,h-1,v.messages.morePages)),s=h;s<=i;s++)S+=a(s==k?f.selectTemplate:P,s,s,!0),_+=n(y,s,s,s==k);i<C&&(S+=a(P,s,"...",!1,v.messages.morePages),_+=n(y,s,v.messages.morePages)),""===S&&(S=f.selectTemplate({text:0}),_=e("<option value='0' />")),f.list.html(S),f._numericSelect.html(_)}v.info&&(S=T>0?d.format(v.messages.display,f.dataSource.options.endless?1:Math.min((k-1)*(f.dataSource.pageSize()||0)+1,x),Math.min(k*w,x),T):v.messages.empty,f.element.find(".k-pager-info").html(S)),v.input&&f.element.find(".k-pager-input").html(f.options.messages.page+'<input class="k-textbox" aria-label="'+k+'">'+d.format(v.messages.of,C)).find("input").val(k).attr(z,T<1).toggleClass("k-state-disabled",T
921<1),v.previousNext&&(l(f.element,k,C),r(f.element,k,C),o(f.element,k,C),p(f.element,k,C)),v.pageSizes&&(m=f.element.find(".k-pager-sizes option[value='all']").length>0,u=m&&(w===this.dataSource.total()||w==b),g=w,u&&(w="all",g=v.messages.allPages),f.element.find(".k-pager-sizes select").val(w).attr("aria-label",w).filter("["+d.attr("role")+"=dropdownlist]").kendoDropDownList("value",w).kendoDropDownList("text",g))}},_collapsedTotal:function(){return this.dataSource.total()},_keydown:function(e){if(e.keyCode===d.keys.ENTER){var t=this.element.find(".k-pager-input").find("input"),a=parseInt(t.val(),10);(isNaN(a)||a<1||a>this.totalPages())&&(a=this.page()),t.val(a),this.page(a)}},_refreshClick:function(e){e.preventDefault(),this.dataSource.read()},_change:function(e){var a=e.currentTarget.value,n=parseInt(a,10),s=this.dataSource;isNaN(n)?"all"==(a+"").toLowerCase()&&(s._pageSize=t,s._take=t,s._skip=0,s.fetch()):s.pageSize(n)},_numericSelectChange:function(e){var t=e.currentTarget,a=t.value,n=parseInt(a,10);t.blur(),this.page(n)},_click:function(t){var a=e(t.currentTarget);t.preventDefault(),a.is(".k-state-disabled")||this.page(parseInt(a.attr(d.attr("page")),10))},totalPages:function(){return Math.ceil((this.dataSource.total()||0)/(this.pageSize()||1))},pageSize:function(){return this.dataSource.pageSize()||this.dataSource.total()},page:function(e){return e?(this.trigger("pageChange",{index:e})||(this.dataSource.page(e),this.trigger(_,{index:e})),t):this.dataSource.total()>0?this.dataSource.page():0},_getWidthSizeClass:function(e){var t=this,a=S.split(" ");return t.options.responsive?e<=480?a[1]:e<=600?a[0]:null:null}});c.plugin(P)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
922//# sourceMappingURL=kendo.pager.min.js.map
923
924/** 
925 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
926 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
927 *                                                                                                                                                                                                      
928 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
929 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
930 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
931                                                                                                                                                                                                       
932                                                                                                                                                                                                       
933                                                                                                                                                                                                       
934                                                                                                                                                                                                       
935                                                                                                                                                                                                       
936                                                                                                                                                                                                       
937                                                                                                                                                                                                       
938                                                                                                                                                                                                       
939                                                                                                                                                                                                       
940                                                                                                                                                                                                       
941                                                                                                                                                                                                       
942                                                                                                                                                                                                       
943                                                                                                                                                                                                       
944                                                                                                                                                                                                       
945                                                                                                                                                                                                       
946
947*/
948!function(e,define){define("kendo.panelbar.min",["kendo.data.min"],e)}(function(){return function(e,t){function n(t){t=e(t),t.filter(".k-first:not(:first-child)").removeClass(U),t.filter(".k-last:not(:last-child)").removeClass(_),t.filter(":first-child").addClass(U),t.filter(":last-child").addClass(_)}function a(t){var n=t,a=t.children("ul"),i=n.children(".k-link").children(".k-icon");t.hasClass("k-panelbar")||(!i.length&&a.length?i=e("<span class='k-icon' />").appendTo(n):a.length&&a.children().length||(i.remove(),a.remove()))}var i=window.kendo,r=i.ui,s=i.keys,l=e.extend,o=e.proxy,d=e.each,u=e.isArray,c=i.template,p=r.Widget,h=i.data.HierarchicalDataSource,m=/^(ul|a|div)$/i,f=".kendoPanelBar",g="img",v="href",_="k-last",k="k-link",C="."+k,x="error",b=".k-item",y=".k-group",I=y+":visible",w="k-image",U="k-first",S="change",A="expand",D="select",E="click",B="k-content",G="activate",T="collapse",q="dataBound",H="mouseenter",O="mouseleave",R="contentLoad",F="undefined",L="k-state-active",W="> .k-panel",j="> .k-content",M="string",N="k-state-focused",P="k-state-disabled",$="k-state-selected",Q="."+$,V="k-state-highlight",z=b+":not(.k-state-disabled)",J="> "+z+" > "+C+", .k-panel > "+z+" > "+C,K=b+".k-state-disabled > .k-link",X="> li > "+Q+", .k-panel > li > "+Q,Y="k-state-default",Z="aria-disabled",ee="aria-expanded",te="aria-hidden",ne="aria-selected",ae=":visible",ie=":empty",re="single",se={text:"dataTextField",url:"dataUrlField",
948spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField"},le={aria:function(e){var t="";return(e.items||e.content||e.contentUrl||e.expanded)&&(t+=ee+"='"+(e.expanded?"true":"false")+"' "),e.enabled===!1&&(t+=Z+"='true'"),t},wrapperCssClass:function(e,t){var n="k-item",a=t.index;return n+=t.enabled===!1?" "+P:t.expanded===!0?" "+L:" k-state-default",0===a&&(n+=" k-first"),a==e.length-1&&(n+=" k-last"),t.cssClass&&(n+=" "+t.cssClass),n},textClass:function(e,t){var n=k;return t.firstLevel&&(n+=" k-header"),e.selected&&(n+=" "+$),n},textAttributes:function(e){return e?" href='"+e+"'":""},arrowClass:function(e){var t="k-icon";return t+=e.expanded?" k-panelbar-collapse k-i-arrow-60-up":" k-panelbar-expand k-i-arrow-60-down"},text:function(e){return e.encoded===!1?e.text:i.htmlEncode(e.text)},groupAttributes:function(e){return e.expanded!==!0?" style='display:none'":""},ariaHidden:function(e){return e.expanded!==!0},groupCssClass:function(){return"k-group k-panel"},contentAttributes:function(e){return e.item.expanded!==!0?" style='display:none'":""},content:function(e){return e.content?e.content:e.contentUrl?"":"&nbsp;"},contentUrl:function(e){return e.contentUrl?'href="'+e.contentUrl+'"':""}},oe=function(e){return e.children("span").children(".k-icon")},de=i.ui.DataBoundWidget.extend({init:function(e,t){var n,a,r=this;u(t)&&(t={dataSource:t}),a=t&&!!t.dataSource,p.fn.init.call(r,e,t),e=r.wrapper=r.element.addClass("k-widget k-reset k-header k-panelbar"),t=r.options,e[0].id&&(r._itemId=e[0].id+"_pb_active"),r._tabindex(),r._accessors(),r._dataSource(),r._templates(),r._initData(a),r._updateClasses(),r._animations(t),e.on(E+f,J,o(r._click,r)).on(H+f+" "+O+f,J,r._toggleHover).on(E+f,K,!1).on(E+f,".k-request-retry",o(r._retryRequest,r)).on("keydown"+f,o(r._keydown,r)).on("focus"+f,function(){var e=r.select();r._current(e[0]?e:r._first())}).on("blur"+f,function(){r._current(null)}).attr("role","menu"),n=e.find("li."+L+" > ."+B),n[0]&&r.expand(n.parent(),!1),t.dataSource||r._angularCompile(),i.notify(r)},events:[A,T,D,G,S,x,q,R],options:{name:"PanelBar",dataSource:{},animation:{expand:{effects:"expand:vertical",duration:200},collapse:{duration:200}},messages:{loading:"Loading...",requestFailed:"Request failed.",retry:"Retry"},autoBind:!0,loadOnDemand:!0,expandMode:"multiple",template:"",dataTextField:null},_angularCompile:function(){var e=this;e.angular("compile",function(){return{elements:e.element.children("li"),data:[{dataItem:e.options.$angular}]}})},_angularCompileElements:function(t,n){var a=this;a.angular("compile",function(){return{elements:t,data:e.map(n,function(e){return[{dataItem:e}]})}})},_angularCleanup:function(){var e=this;e.angular("cleanup",function(){return{elements:e.element.children("li")}})},destroy:function(){p.fn.destroy.call(this),this.element.off(f),this._angularCleanup(),i.destroy(this.element)},_initData:function(e){var t=this;e&&(t.element.empty(),t.options.autoBind&&(t._progress(!0),t.dataSource.fetch()))},_templates:function(){var e=this,t=e.options,n=o(e._fieldAccessor,e);t.template&&typeof t.template==M?t.template=c(t.template):t.template||(t.template=c("# var text = "+n("text")+"(data.item); ## if (typeof data.item.encoded != 'undefined' && data.item.encoded === false) {##= text ## } else { ##: text ## } #")),e.templates={content:c("<div role='region' class='k-content'#= contentAttributes(data) #>#= content(item) #</div>"),group:c("<ul role='group' aria-hidden='#= ariaHidden(group) #' class='#= groupCssClass(group) #'#= groupAttributes(group) #>#= renderItems(data) #</ul>"),itemWrapper:c("# var url = "+n("url")+"(item); ## var imageUrl = "+n("imageUrl")+"(item); ## var spriteCssClass = "+n("spriteCssClass")+"(item); ## var contentUrl = contentUrl(item); ## var tag = url||contentUrl ? 'a' : 'span'; #<#= tag # class='#= textClass(item, group) #' #= contentUrl ##= textAttributes(url) #># if (imageUrl) { #<img class='k-image' alt='' src='#= imageUrl #' /># } ## if (spriteCssClass) { #<span class='k-sprite #= spriteCssClass #'></span># } ##= data.panelBar.options.template(data) ##= arrow(data) #</#= tag #>"),item:c("<li role='menuitem' #=aria(item)#class='#= wrapperCssClass(group, item) #'"+i.attr("uid")+"='#= item.uid #'>#= itemWrapper(data) ## if (item.items && item.items.length > 0) { ##= subGroup({ items: item.items, panelBar: panelBar, group: { expanded: item.expanded } }) ## } else if (item.content || item.contentUrl) { ##= renderContent(data) ## } #</li>"),loading:c("<div class='k-item'><span class='k-icon k-i-loading'></span> #: data.messages.loading #</div>"),retry:c("#: data.messages.requestFailed # <button class='k-button k-request-retry'>#: data.messages.retry #</button>"),arrow:c("<span class='#= arrowClass(item) #'></span>"),empty:c("")}},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=l(!0,t,e.animation),"dataSource"in e&&this.setDataSource(e.dataSource),p.fn.setOptions.call(this,e)},expand:function(n,a){var i=this,r={};return n=this.element.find(n),i._animating&&n.find("ul").is(":visible")?(i.one("complete",function(){setTimeout(function(){i.expand(n)})}),t):(i._animating=!0,a=a!==!1,n.each(function(t,s){var l,o;if(s=e(s),l=n.children(".k-group,.k-content"),l.length||(l=i._addGroupElement(n)),o=l.add(s.find(j)),!s.hasClass(P)&&o.length>0){if(i.options.expandMode==re&&i._collapseAllExpanded(s))return i;n.find("."+V).removeClass(V),s.addClass(V),a||(r=i.options.animation,i.options.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),i._triggerEvent(A,s)||i._toggleItem(s,!1,!1),a||(i.options.animation=r)}}),i)},collapse:function(t,n){var a=this,i={};return a._animating=!0,n=n!==!1,t=a.element.find(t),t.each(function(t,r){r=e(r);var s=r.find(W).add(r.find(j));!r.hasClass(P)&&s.is(ae)&&(r.removeClass(V),n||(i=a.options.animation,a.options.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),a._triggerEvent(T,r)||a._toggleItem(r,!0),n||(a.options.animation=i))}),a},updateArrow:function(t){var n=this;t=e(t),t.children(C).children(".k-panelbar-collapse, .k-panelbar-expand").remove(),t.filter(function(){var t=n.dataItem(this);return t?t.hasChildren||t.content||t.contentUrl:e(this).find(".k-panel").length>0||e(this).find(".k-content").length>0}).children(".k-link:not(:has([class*=k-i-arrow]))").each(function(){var t=e(this),n=t.parent();t.append("<span class='k-icon "+(n.hasClass(L)?" k-panelbar-collapse k-i-arrow-60-up":" k-panelbar-expand k-i-arrow-60-down")+"'/>")})},_accessors:function(){var e,t,n,a=this,r=a.options,s=a.element;for(e in se)t=r[se[e]],n=s.attr(i.attr(e+"-field")),!t&&n&&(t=n),t||(t=e),u(t)||(t=[t]),r[se[e]]=t},_progress:function(e,t){var n=this.element,a=this.templates.loading({messages:this.options.messages});1==arguments.length?(t=e,t?n.html(a):n.empty()):oe(e).toggleClass("k-i-loading",t).removeClass("k-i-refresh")},_refreshRoot:function(t){var n,a,i,s=this,o=s.element,d={firstLevel:!0,expanded:!0,length:o.children().length};for(this.element.empty(),n=e.map(t,function(t,n){return"string"==typeof t?e(t):(t.items=[],e(s.renderItem({group:d,item:l(t,{index:n})})))}),this.element.append(n),a=this.element.children(".k-item"),i=0;i<t.length;i++)this.trigger("itemChange",{item:a.eq(i).find(".k-link").first(),data:t[i],ns:r});this._angularCompileElements(n,t)},_refreshChildren:function(e,t){var n,i,s,l;if(t.children(".k-group").empty(),l=e.children.data(),l.length)for(this.append(e.children,t),this.options.loadOnDemand&&this._toggleGroup(t.children(".k-group"),!1),i=t.children(".k-group").children("li"),n=0;n<i.length;n++)s=i.eq(n),this.trigger("itemChange",{item:s.find(".k-link").first(),data:this.dataItem(s),ns:r});else a(t),i=t.children(".k-group").children("li"),this._angularCompileElements(i,l)},findByUid:function(t){var n,a,r=this.element.find(".k-item"),s=i.attr("uid");for(a=0;a<r.length;a++)if(r[a].getAttribute(s)==t){n=r[a];break}return e(n)},refresh:function(e){var n,a,i=this.options,r=e.node,s=e.action,l=e.items,o=this.wrapper,d=i.loadOnDemand;if(e.field){if(!l[0]||!l[0].level)return;return this._updateItems(l,e.field)}if(r&&(o=this.findByUid(r.uid),this._progress(o,!1)),"add"==s?this._appendItems(e.index,l,o):"remove"==s?this.remove(this.findByUid(l[0].uid)):"itemchange"==s?this._updateItems(l):"itemloaded"==s?this._refreshChildren(r,o):this._refreshRoot(l),"remove"!=s)for(n=0;n<l.length;n++)d&&!l[n].expanded||(a=l[n],this._hasChildItems(a)&&a.load());this.trigger(q,{node:r?o:t})}
948,_error:function(e){var t=e.node&&this.findByUid(e.node.uid),n=this.templates.retry({messages:this.options.messages});t?(this._progress(t,!1),this._expanded(t,!1),oe(t).addClass("k-i-refresh"),e.node.loaded(!1)):(this._progress(!1),this.element.html(n))},_retryRequest:function(e){e.preventDefault(),this.dataSource.fetch()},items:function(){return this.element.find(".k-item > span:first-child")},setDataSource:function(e){var t=this.options;t.dataSource=e,this._dataSource(),this.options.autoBind&&(this._progress(!0),this.dataSource.fetch())},_bindDataSource:function(){this._refreshHandler=o(this.refresh,this),this._errorHandler=o(this._error,this),this.dataSource.bind(S,this._refreshHandler),this.dataSource.bind(x,this._errorHandler)},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(S,this._refreshHandler),e.unbind(x,this._errorHandler))},_fieldAccessor:function(t){var n=this.options[se[t]]||[],a=n.length,r="(function(item) {";return 0===a?r+="return item['"+t+"'];":(r+="var levels = ["+e.map(n,function(e){return"function(d){ return "+i.expr(e)+"}"}).join(",")+"];",r+="if(item.level){return levels[Math.min(item.level(), "+a+"-1)](item);}else",r+="{return levels["+a+"-1](item)}"),r+="})"},_dataSource:function(){var e=this,t=e.options,n=t.dataSource;n&&(n=u(n)?{data:n}:n,e._unbindDataSource(),n.fields||(n.fields=[{field:"text"},{field:"url"},{field:"spriteCssClass"},{field:"imageUrl"}]),e.dataSource=h.create(n),e._bindDataSource())},_appendItems:function(t,n,a){var i,r,s,o,d,u=this;for(a.hasClass("k-panelbar")?(i=a.children("li"),r=a):(r=a.children(".k-group"),r.length||(r=u._addGroupElement(a)),i=r.children("li")),s={firstLevel:a.hasClass("k-panelbar"),expanded:!0,length:i.length},o=e.map(n,function(t,n){return e("string"==typeof t?t:u.renderItem({group:s,item:l(t,{index:n})}))}),typeof t==F&&(t=i.length),d=0;d<o.length;d++)0===i.length||0===t?r.append(o[d]):o[d].insertAfter(i[t-1]);u._angularCompileElements(o,n),u.dataItem(a)&&(u.dataItem(a).hasChildren=!0,u.updateArrow(a))},_updateItems:function(t,n){var a,i,s,o,d,u,c=this,p={panelBar:c.options,item:o,group:{}},h="expanded"!=n;if("selected"==n)t[0][n]?(d=c.findByUid(t[0].uid),d.hasClass(P)||c.select(d,!0)):c.clearSelection();else{for(u=e.map(t,function(e){return c.findByUid(e.uid)}),h&&c.angular("cleanup",function(){return{elements:u}}),a=0;a<t.length;a++)p.item=o=t[a],p.panelBar=c,s=u[a],i=s.parent(),h&&(p.group={firstLevel:i.hasClass("k-panelbar"),expanded:s.parent().hasClass(L),length:s.children().length},s.children(".k-link").remove(),s.prepend(c.templates.itemWrapper(l(p,{arrow:o.hasChildren||o.content||o.contentUrl?c.templates.arrow:c.templates.empty},le)))),"expanded"==n?c._toggleItem(s,!o[n],!o[n]||"true"):"enabled"==n&&(c.enable(s,o[n]),o[n]||o.selected&&o.set("selected",!1)),s.length&&this.trigger("itemChange",{item:s.find(".k-link").first(),data:o,ns:r});h&&c.angular("compile",function(){return{elements:u,data:e.map(t,function(e){return[{dataItem:e}]})}})}},_toggleDisabled:function(e,t){e=this.element.find(e),e.toggleClass(Y,t).toggleClass(P,!t).attr(Z,!t)},dataItem:function(t){var n=e(t).closest(b).attr(i.attr("uid")),a=this.dataSource;return a&&a.getByUid(n)},select:function(n,a){var i=this;return n===t?i.element.find(X).parent():(n=i.element.find(n),n.length?n.each(function(){var n=e(this),r=n.children(C);return n.hasClass(P)?i:(i._updateSelected(r,a),t)}):this._updateSelected(n),i)},clearSelection:function(){this.select(e())},enable:function(e,t){return this._toggleDisabled(e,t!==!1),this},disable:function(e){return this._toggleDisabled(e,!1),this},append:function(e,t){t=this.element.find(t);var a=this._insert(e,t,t.length?t.find(W):null);return d(a.items,function(){a.group.append(this),n(this)}),this.updateArrow(t),n(a.group.find(".k-first, .k-last")),a.group.height("auto"),this},insertBefore:function(e,t){t=this.element.find(t);var a=this._insert(e,t,t.parent());return d(a.items,function(){t.before(this),n(this)}),n(t),a.group.height("auto"),this},insertAfter:function(e,t){t=this.element.find(t);var a=this._insert(e,t,t.parent());return d(a.items,function(){t.after(this),n(this)}),n(t),a.group.height("auto"),this},remove:function(e){e=this.element.find(e);var t=this,a=e.parentsUntil(t.element,b),i=e.parent("ul");return e.remove(),!i||i.hasClass("k-panelbar")||i.children(b).length||i.remove(),a.length&&(a=a.eq(0),t.updateArrow(a),n(a)
948),t},reload:function(t){var n=this;t=n.element.find(t),t.each(function(){var t=e(this);n._ajaxRequest(t,t.children("."+B),!t.is(ae))})},_first:function(){return this.element.children(z).first()},_last:function(){var e=this.element.children(z).last(),t=e.children(I);return t[0]?t.children(z).last():e},_current:function(n){var a=this,i=a._focused,r=a._itemId;return n===t?i:(a.element.removeAttr("aria-activedescendant"),i&&i.length&&(i[0].id===r&&i.removeAttr("id"),i.children(C).removeClass(N)),e(n).length&&(r=n[0].id||r,n.attr("id",r).children(C).addClass(N),a.element.attr("aria-activedescendant",r)),a._focused=n,t)},_keydown:function(e){var t=this,n=e.keyCode,a=t._current();e.target==e.currentTarget&&(n==s.DOWN||n==s.RIGHT?(t._current(t._nextItem(a)),e.preventDefault()):n==s.UP||n==s.LEFT?(t._current(t._prevItem(a)),e.preventDefault()):n==s.ENTER||n==s.SPACEBAR?(t._click(e),e.preventDefault()):n==s.HOME?(t._current(t._first()),e.preventDefault()):n==s.END&&(t._current(t._last()),e.preventDefault()))},_nextItem:function(e){if(!e)return this._first();var t=e.children(I),n=e.nextAll(":visible").first();return t[0]&&(n=t.children("."+U)),n[0]||(n=e.parent(I).parent(b).next()),n[0]||(n=this._first()),n.hasClass(P)&&(n=this._nextItem(n)),n},_prevItem:function(e){if(!e)return this._last();var t,n=e.prevAll(":visible").first();if(n[0])for(t=n;t[0];)t=t.children(I).children("."+_),t[0]&&(n=t);else n=e.parent(I).parent(b),n[0]||(n=this._last());return n.hasClass(P)&&(n=this._prevItem(n)),n},_insert:function(t,n,a){var i,r,s,o=this,d=e.isPlainObject(t),u=n&&n[0];return u||(a=o.element),r={firstLevel:a.hasClass("k-panelbar"),expanded:e(n).hasClass(L),length:a.children().length},u&&!a.length&&(a=e(o.renderGroup({group:r,options:o.options})).appendTo(n)),d||e.isArray(t)||t instanceof h?(t instanceof h&&(t=t.data()),i=e.map(d?[t]:t,function(t,n){return e("string"==typeof t?t:o.renderItem({group:r,item:l(t,{index:n})}))}),u&&(s=o.dataItem(n),s?(s.hasChildren=!0,n.attr(ee,s.expanded).not("."+L).children("ul").attr(te,!s.expanded)):n.attr(ee,!1))):(i="string"==typeof t&&"<"!=t.charAt(0)?o.element.find(t):e(t),o._updateItemsClasses(i)),t.length||(t=[t]),o._angularCompileElements(i,t),{items:i,group:a}},_toggleHover:function(t){var n=e(t.currentTarget);n.parents("li."+P).length||n.toggleClass("k-state-hover",t.type==H)},_updateClasses:function(){var t,a,i,r,s,l=this;t=l.element.find("li > ul").not(function(){return e(this).parentsUntil(".k-panelbar","div").length}).addClass("k-group k-panel").attr("role","group"),r=t.parent(),s=l.dataItem(r),i=s&&s.expanded||!1,t.parent().attr(ee,i).not("."+L).children("ul").attr(te,!i).hide(),a=l.element.add(t).children(),l._updateItemsClasses(a),l.updateArrow(a),n(a)},_updateItemsClasses:function(e){for(var t=e.length,n=0;n<t;n++)this._updateItemClasses(e[n],n)},_updateItemClasses:function(t,n){var a,r,s=this._selected,l=this.options.contentUrls,o=l&&l[n],d=this.element[0];t=e(t).addClass("k-item").attr("role","menuitem"),i.support.browser.msie&&t.css("list-style-position","inside").css("list-style-position",""),t.children(g).addClass(w),r=t.children("a").addClass(k),r[0]&&(r.attr("href",o),r.children(g).addClass(w)),t.filter(":not([disabled]):not([class*=k-state])").addClass("k-state-default"),t.filter("li[disabled]").addClass("k-state-disabled").attr(Z,!0).removeAttr("disabled"),t.children("div").addClass(B).attr("role","region").attr(te,!0).hide().parent().attr(ee,!1),r=t.children(Q),r[0]&&(s&&s.removeAttr(ne).children(Q).removeClass($),r.addClass($),this._selected=t.attr(ne,!0)),t.children(C)[0]||(a="<span class='"+k+"'></span>",l&&l[n]&&t[0].parentNode==d&&(a='<a class="k-link k-header" href="'+l[n]+'"></a>'),t.contents().filter(function(){return!(this.nodeName.match(m)||3==this.nodeType&&!i.trim(this.nodeValue.trim))}).wrapAll(a)),t.parent(".k-panelbar")[0]&&t.children(C).addClass("k-header")},_click:function(n){var a,i,r,s,l,o,d,u,c,p=this,h=n.type==E?e(n.target):p._current().children(C),m=p.element;if(!h.parents("li."+P).length&&h.closest(".k-widget")[0]==m[0]&&(!h.is(":kendoFocusable")||h.hasClass(k))){if(l=h.closest(C),o=l.closest(b),p._updateSelected(l),d=o.children(".k-group,.k-content"),u=this.dataItem(o),!d.length&&(p.options.loadOnDemand&&u&&u.hasChildren||this._hasChildItems(o)||o.content||o.contentUrl)&&(d=p._addGroupElement(o)),i=o.find(W).add(o.find(j)),r=l.attr(v),s=r&&("#"==r.charAt(r.length-1)||r.indexOf("#"+p.element[0].id+"-")!=-1),a=!(!s&&!i.length),i.data("animating")&&a)return n.preventDefault(),t;if(p._triggerEvent(D,o)&&(a=!0),a!==!1){if(p.options.expandMode==re&&p._collapseAllExpanded(o)&&a)return n.preventDefault(),t;i.length&&(c=i.is(ae),p._triggerEvent(c?T:A,o)||(a=p._toggleItem(o,c))),a&&n.preventDefault()}}},_hasChildItems:function(e){return e.items&&e.items.length>0||e.hasChildren},_toggleItem:function(e,n,a){var i,r,s=this,l=e.find(W),o=e.find(C),d=o.attr(v),u=s.dataItem(e),c=!n,p=u&&u.loaded();return u&&!a&&u.expanded!==c?(u.set("expanded",c),i=u.hasChildren||!!u.content||!!u.contentUrl):(!u||a&&"true"!==a||p||u.content||u.contentUrl?l.length?(this._toggleGroup(l,n),i=!0):(r=e.children("."+B),r.length&&(i=!0,r.is(ie)&&d!==t?s._ajaxRequest(e,r,n):s._toggleGroup(r,n))):(s.options.loadOnDemand&&this._progress(e,!0),e.children(".k-group,.k-content").remove(),i=u.hasChildren,u.load()),i)},_toggleGroup:function(e,n){var a=this,i=a.options.animation,r=i.expand,s=i.collapse&&"effects"in i.collapse,o=l({},i.expand,i.collapse);return s||(o=l(o,{reverse:!0})),e.is(ae)!=n?(a._animating=!1,t):(e.attr(te,!!n),e.parent().attr(ee,!n).toggleClass(L,!n).find("> .k-link > .k-panelbar-collapse,> .k-link > .k-panelbar-expand").toggleClass("k-i-arrow-60-up",!n).toggleClass("k-panelbar-collapse",!n).toggleClass("k-i-arrow-60-down",n).toggleClass("k-panelbar-expand",n),n?(r=l(o,{hide:!0}),r.complete=function(){a._animationCallback()}):r=l({complete:function(e){a._triggerEvent(G,e.closest(b)),a._animationCallback()}},r),e.kendoStop(!0,!0).kendoAnimate(r),t)},_animationCallback:function(){var e=this;e.trigger("complete"),e._animating=!1},_addGroupElement:function(t){var n=e('<ul role="group" aria-hidden="true" class="k-group k-panel" style="display:none"></ul>');return t.append(n),n},_collapseAllExpanded:function(t){var n,a=this,i=!1,r=t.find(W).add(t.find(j));return r.is(ae)&&(i=!0),r.is(ae)||0===r.length||(n=t.siblings(),n.find(W).add(n.find(j)).filter(function(){return e(this).is(ae)}).each(function(t,n){n=e(n),i=a._triggerEvent(T,n.closest(b)),i||a._toggleGroup(n,!0)}),a.one("complete",function(){setTimeout(function(){n.each(function(e,t){var n=a.dataItem(t);n&&n.set("expanded",!1)})})})),i},_ajaxRequest:function(t,n,a){var i=this,r=t.find(".k-panelbar-collapse, .k-panelbar-expand"),s=t.find(C),l=setTimeout(function(){r.addClass("k-i-loading")},100),o={},d=s.attr(v);
948e.ajax({type:"GET",cache:!1,url:d,dataType:"html",data:o,error:function(e,t){r.removeClass("k-i-loading"),i.trigger(x,{xhr:e,status:t})&&this.complete()},complete:function(){clearTimeout(l),r.removeClass("k-i-loading")},success:function(e){function r(){return{elements:n.get()}}try{i.angular("cleanup",r),n.html(e),i.angular("compile",r)}catch(s){var l=window.console;l&&l.error&&l.error(s.name+": "+s.message+" in "+d),this.error(this.xhr,"error")}i._toggleGroup(n,a),i.trigger(R,{item:t[0],contentElement:n[0]})}})},_triggerEvent:function(e,t){var n=this;return n.trigger(e,{item:t[0]})},_updateSelected:function(e,t){var n=this,a=n.element,i=e.parent(b),r=n._selected,s=n.dataItem(i);r&&r.removeAttr(ne),n._selected=i.attr(ne,!0),a.find(X).removeClass($),a.find("> ."+V+", .k-panel > ."+V).removeClass(V),e.addClass($),e.parentsUntil(a,b).filter(":has(.k-header)").addClass(V),n._current(i[0]?i:null),s&&s.set("selected",!0),t||n.trigger(S)},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}})},renderItem:function(e){var t,n,a=this;return e=l({panelBar:a,group:{}},e),t=a.templates.empty,n=e.item,a.templates.item(l(e,{itemWrapper:a.templates.itemWrapper,renderContent:a.renderContent,arrow:a._hasChildItems(n)||n.content||n.contentUrl?a.templates.arrow:t,subGroup:!e.loadOnDemand||n.expanded?a.renderGroup:t},le))},renderGroup:function(e){var t=this,n=t.templates||e.panelBar.templates;return n.group(l({renderItems:function(e){for(var t="",n=0,a=e.items,i=a?a.length:0,r=l({length:i},e.group);n<i;n++)t+=e.panelBar.renderItem(l(e,{group:r,item:l({index:n},a[n])}));return t}},e,le))},renderContent:function(e){return e.panelBar.templates.content(l(e,le))}});i.ui.plugin(de)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
949//# sourceMappingURL=kendo.panelbar.min.js.map
950
951/** 
952 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
953 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
954 *                                                                                                                                                                                                      
955 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
956 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
957 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
958                                                                                                                                                                                                       
959                                                                                                                                                                                                       
960                                                                                                                                                                                                       
961                                                                                                                                                                                                       
962                                                                                                                                                                                                       
963                                                                                                                                                                                                       
964                                                                                                                                                                                                       
965                                                                                                                                                                                                       
966                                                                                                                                                                                                       
967                                                                                                                                                                                                       
968                                                                                                                                                                                                       
969                                                                                                                                                                                                       
970                                                                                                                                                                                                       
971                                                                                                                                                                                                       
972                                                                                                                                                                                                       
973
974*/
975!function(e,define){define("kendo.progressbar.min",["kendo.core.min"],e)}(function(){return function(e,r){var s=window.kendo,t=s.ui,a=t.Widget,n="horizontal",o="vertical",p=0,i=100,u=0,l=5,d="k-progressbar",g="k-progressbar-reverse",c="k-progressbar-indeterminate",v="k-complete",_="k-state-selected",f="k-progress-status",h="k-progress-end",m="k-state-selected",k="k-state-default",P="k-state-disabled",C={VALUE:"value",PERCENT:"percent",CHUNK:"chunk"}
975,w="change",y="complete",S="boolean",W=Math,b=e.extend,A=e.proxy,x=100,U=400,N=3,V={progressStatus:"<span class='k-progress-status-wrap "+h+"'><span class='k-progress-status'></span></span>"},E=a.extend({init:function(e,r){var s=this;a.fn.init.call(this,e,r),r=s.options,s._progressProperty=r.orientation===n?"width":"height",s._fields(),r.value=s._validateValue(r.value),s._validateType(r.type),s._wrapper(),s._progressAnimation(),r.value!==r.min&&r.value!==!1&&s._updateProgress()},setOptions:function(e){var r=this;a.fn.setOptions.call(r,e),e.hasOwnProperty("reverse")&&r.wrapper.toggleClass("k-progressbar-reverse",e.reverse),e.hasOwnProperty("enable")&&r.enable(e.enable),r._progressAnimation(),r._validateValue(),r._updateProgress()},events:[w,y],options:{name:"ProgressBar",orientation:n,reverse:!1,min:p,max:i,value:u,enable:!0,type:C.VALUE,chunkCount:l,showStatus:!0,animation:{}},_fields:function(){var r=this;r._isStarted=!1,r.progressWrapper=r.progressStatus=e()},_validateType:function(r){var t=!1;if(e.each(C,function(e,s){if(s===r)return t=!0,!1}),!t)throw Error(s.format("Invalid ProgressBar type '{0}'",r))},_wrapper:function(){var e,r=this,s=r.wrapper=r.element,t=r.options,a=t.orientation;s.addClass("k-widget "+d),s.addClass(d+"-"+(a===n?n:o)),t.enable===!1&&s.addClass(P),t.reverse&&s.addClass(g),t.value===!1&&s.addClass(c),t.type===C.CHUNK?r._addChunkProgressWrapper():t.showStatus&&(r.progressStatus=r.wrapper.prepend(V.progressStatus).find("."+f),e=t.value!==!1?t.value:t.min,r.progressStatus.text(t.type===C.VALUE?e:r._calculatePercentage(e).toFixed()+"%"))},value:function(e){return this._value(e)},_value:function(e){var s,t=this,a=t.options;return e===r?a.value:(typeof e!==S?(e=t._roundValue(e),isNaN(e)||(s=t._validateValue(e),s!==a.value&&(t.wrapper.removeClass(c),a.value=s,t._isStarted=!0,t._updateProgress()))):e||(t.wrapper.addClass(c),a.value=!1),r)},_roundValue:function(e){e=parseFloat(e);var r=W.pow(10,N);return s._round(e*r)/r},_validateValue:function(e){var r=this,s=r.options;if(e!==!1){if(e<=s.min||e===!0)return s.min;if(e>=s.max)return s.max}else if(e===!1)return!1;return isNaN(r._roundValue(e))?s.min:e},_updateProgress:function(){var e=this,r=e.options,s=e._calculatePercentage();r.type===C.CHUNK?(e._updateChunks(s),e._onProgressUpdateAlways(r.value)):e._updateProgressWrapper(s)},_updateChunks:function(e){var r,s=this,t=s.options,a=t.chunkCount,p=parseInt(x/a*100,10)/100,i=parseInt(100*e,10)/100,u=W.floor(i/p);r=s.wrapper.find(t.orientation===n&&!t.reverse||t.orientation===o&&t.reverse?"li.k-item:lt("+u+")":"li.k-item:gt(-"+(u+1)+")"),s.wrapper.find("."+m).removeClass(m).addClass(k),r.removeClass(k).addClass(m)},_updateProgressWrapper:function(e){var r=this,s=r.options,t=r.wrapper.find("."+_),a=r._isStarted?r._animation.duration:0,n={};0===t.length&&r._addRegularProgressWrapper(),n[r._progressProperty]=e+"%",r.progressWrapper.animate(n,{duration:a,start:A(r._onProgressAnimateStart,r),progress:A(r._onProgressAnimate,r),complete:A(r._onProgressAnimateComplete,r,s.value),always:A(r._onProgressUpdateAlways,r,s.value)})},_onProgressAnimateStart:function(){this.progressWrapper.show()},_onProgressAnimate:function(e){var r,s=this,t=s.options,a=parseFloat(e.elem.style[s._progressProperty],10);t.showStatus&&(r=1e4/parseFloat(s.progressWrapper[0].style[s._progressProperty]),s.progressWrapper.find(".k-progress-status-wrap").css(s._progressProperty,r+"%")),t.type!==C.CHUNK&&a<=98&&s.progressWrapper.removeClass(v)},_onProgressAnimateComplete:function(e){var r,s=this,t=s.options,a=parseFloat(s.progressWrapper[0].style[s._progressProperty]);t.type!==C.CHUNK&&a>98&&s.progressWrapper.addClass(v),t.showStatus&&(r=t.type===C.VALUE?e:t.type==C.PERCENT?s._calculatePercentage(e).toFixed()+"%":W.floor(s._calculatePercentage(e))+"%",s.progressStatus.text(r)),e===t.min&&s.progressWrapper.hide()},_onProgressUpdateAlways:function(e){var r=this,s=r.options;r._isStarted&&r.trigger(w,{value:e}),e===s.max&&r._isStarted&&r.trigger(y,{value:s.max})},enable:function(e){var s=this,t=s.options;t.enable=r===e||e,s.wrapper.toggleClass(P,!t.enable)},destroy:function(){var e=this;a.fn.destroy.call(e)},_addChunkProgressWrapper:function(){var e,r=this,s=r.options,t=r.wrapper,a=x/s.chunkCount,n="";for(s.chunkCount<=1&&(s.chunkCount=1),n+="<ul class='k-reset'>",e=s.chunkCount-1;e>=0;e--)n+="<li class='k-item k-state-default'></li>";n+="</ul>
975",t.append(n).find(".k-item").css(r._progressProperty,a+"%").first().addClass("k-first").end().last().addClass("k-last"),r._normalizeChunkSize()},_normalizeChunkSize:function(){var e=this,r=e.options,s=e.wrapper.find(".k-item:last"),t=parseFloat(s[0].style[e._progressProperty]),a=x-r.chunkCount*t;a>0&&s.css(e._progressProperty,t+a+"%")},_addRegularProgressWrapper:function(){var r=this;r.progressWrapper=e("<div class='"+_+"'></div>").appendTo(r.wrapper),r.options.showStatus&&(r.progressWrapper.append(V.progressStatus),r.progressStatus=r.wrapper.find("."+f))},_calculateChunkSize:function(){var e=this,r=e.options.chunkCount,s=e.wrapper.find("ul.k-reset");return(parseInt(s.css(e._progressProperty),10)-(r-1))/r},_calculatePercentage:function(e){var s=this,t=s.options,a=e!==r?e:t.value,n=t.min,o=t.max;return s._onePercent=W.abs((o-n)/100),W.abs((a-n)/s._onePercent)},_progressAnimation:function(){var e=this,r=e.options,s=r.animation;e._animation=s===!1?{duration:0}:b({duration:U},r.animation)}});s.ui.plugin(E)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,r,s){(s||r)()});
976//# sourceMappingURL=kendo.progressbar.min.js.map
977
978/** 
979 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
980 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
981 *                                                                                                                                                                                                      
982 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
983 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
984 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
985                                                                                                                                                                                                       
986                                                                                                                                                                                                       
987                                                                                                                                                                                                       
988                                                                                                                                                                                                       
989                                                                                                                                                                                                       
990                                                                                                                                                                                                       
991                                                                                                                                                                                                       
992                                                                                                                                                                                                       
993                                                                                                                                                                                                       
994                                                                                                                                                                                                       
995                                                                                                                                                                                                       
996                                                                                                                                                                                                       
997                                                                                                                                                                                                       
998                                                                                                                                                                                                       
999                                                                                                                                                                                                       
1000
1001*/
1002!function(t,define){define("kendo.tabstrip.min",["kendo.data.min"],t)}(function(){return function(t,e){function n(e){e.children(_).addClass(S),e.children("a").addClass(y).children(_).addClass(S),e.filter(":not([disabled]):not([class*=k-state-disabled])").addClass(W),e.filter("li[disabled]").addClass(N).attr("aria-disabled","true").removeAttr("disabled"),e.filter(":not([class*=k-state])").children("a").filter(":focus").parent().addClass(L+" "+z),e.attr("role","tab"),e.filter("."+L).attr("aria-selected",!0),e.each(function(){var e=t(this);e.children("."+y).length||e.contents().filter(function(){return!(this.nodeName.match(g)||3==this.nodeType&&!d(this.nodeValue))}).wrapAll("<span UNSELECTABLE='on' class='"+y+"'/>")})}function r(t){var e=t.children(".k-item");e.filter(".k-first:not(:first-child)").removeClass(E),e.filter(".k-last:not(:last-child)").removeClass(G),e.filter(":first-child").addClass(E),e.filter(":last-child").addClass(G)}function a(t,e){return"<span class='k-button k-button-icon k-flat k-tabstrip-"+t+"' unselectable='on'><span class='k-icon "+e+"'></span></span>"}var i=window.kendo,s=i.ui,o=i.keys,l=t.map,c=t.each,d=i.trim,p=t.extend,u=i.isFunction,f=i.template,h=i._outerWidth,m=i._outerHeight,b=s.Widget,g=/^(a|div)$/i,v=".kendoTabStrip",_="img",k="href",w="prev",C="next",x="show",y="k-link",G="k-last",U="click",T="error",A=":empty",S="k-image",E="k-first",I="select",P="activate",B="k-content",R="contentUrl",D="mouseenter",F="mouseleave",H="contentLoad",N="k-state-disabled",W="k-state-default",L="k-state-active",q="k-state-focused",M="k-state-hover",z="k-tab-on-top",O=".k-item:not(."+N+")",
1002j=".k-item",Q=".k-tabstrip-items > "+O+":not(."+L+")",V=200,X={content:f("<div class='k-content'#= contentAttributes(data) # role='tabpanel'>#= content(item) #</div>"),itemWrapper:f("<#= tag(item) # class='k-link'#= contentUrl(item) ##= textAttributes(item) #>#= image(item) ##= sprite(item) ##= text(item) #</#= tag(item) #>"),item:f("<li class='#= wrapperCssClass(group, item) #' role='tab' #=item.active ? \"aria-selected='true'\" : ''#>#= itemWrapper(data) #</li>"),image:f("<img class='k-image' alt='' src='#= imageUrl #' />"),sprite:f("<span class='k-sprite #= spriteCssClass #'></span>"),empty:f("")},J={wrapperCssClass:function(t,e){var n="k-item",r=e.index;return n+=e.enabled===!1?" k-state-disabled":" k-state-default",0===r&&(n+=" k-first"),r==t.length-1&&(n+=" k-last"),n},textAttributes:function(t){return t.url?" href='"+t.url+"'":""},text:function(t){return t.encoded===!1?t.text:i.htmlEncode(t.text)},tag:function(t){return t.url?"a":"span"},contentAttributes:function(t){return t.active!==!0?" style='display:none' aria-hidden='true' aria-expanded='false'":""},content:function(t){return t.content?t.content:t.contentUrl?"":"&nbsp;"},contentUrl:function(t){return t.contentUrl?i.attr("content-url")+'="'+t.contentUrl+'"':""}},$=b.extend({init:function(e,n){var r,a,s,o=this;b.fn.init.call(o,e,n),o._animations(o.options),n=o.options,o._contentUrls=n.contentUrls||[],o._wrapper(),o._isRtl=i.support.isRtl(o.wrapper),o._tabindex(),o._updateClasses(),o._dataSource(),n.dataSource&&o.dataSource.fetch(),o._tabPosition(),o._scrollable(),o._contentUrls.length?o.wrapper.find(".k-tabstrip-items > .k-item").each(function(e,n){var r=o._contentUrls[e];"string"==typeof r&&t(n).find(">."+y).data(R,r)}):o._contentUrls.length=o.tabGroup.find("li.k-item").length,o.wrapper.on(D+v+" "+F+v,Q,o._toggleHover).on("focus"+v,t.proxy(o._active,o)).on("blur"+v,function(){o._current(null)}),o._keyDownProxy=t.proxy(o._keydown,o),n.navigatable&&o.wrapper.on("keydown"+v,o._keyDownProxy),o.options.value&&(r=o.options.value),o.wrapper.children(".k-tabstrip-items").on(U+v,".k-state-disabled .k-link",!1).on(U+v," > "+O,function(e){var n,r=o.wrapper[0];if(r!==document.activeElement)if(n=i.support.browser.msie)try{r.setActive()}catch(a){r.focus()}else r.focus();o._click(t(e.currentTarget))&&e.preventDefault()}),a=o.tabGroup.children("li."+L),s=o.contentHolder(a.index()),a[0]&&s.length>0&&0===s[0].childNodes.length&&o.activateTab(a.eq(0)),o.element.attr("role","tablist"),o.element[0].id&&(o._ariaId=o.element[0].id+"_ts_active"),o.value(r),i.notify(o)},_active:function(){var t=this.tabGroup.children().filter("."+L);t=t[0]?t:this._endItem("first"),t[0]&&this._current(t)},_endItem:function(t){return this.tabGroup.children(O)[t]()},_getItem:function(t){return this.tabGroup.children(j)[t]()},_item:function(t,e){var n;return n=e===w?"last":"first",t?(t=t[e](),t[0]||(t=this.tabGroup.children(j)[n]()),t.hasClass(N)&&t.addClass(q),(t.hasClass(N)||t.hasClass(L))&&(this._focused=t),t):this._endItem(n)},_current:function(t){var n=this,r=n._focused,a=n._ariaId;return t===e?r:(r&&(n.tabGroup.children("#"+a).removeAttr("id"),r.removeClass(q)),t&&(t.hasClass(L)||t.addClass(q),n.element.removeAttr("aria-activedescendant"),a=t[0].id||a,a&&(t.attr("id",a),n.element.attr("aria-activedescendant",a))),n._focused=t,e)},_keydown:function(t){var n,r=this,a=t.keyCode,i=r._current(),s=r._isRtl,l=/top|bottom/.test(r.options.tabPosition);if(t.target==t.currentTarget&&i){if(a!==o.DOWN||l)if(a!==o.UP||l)if(a===o.RIGHT&&l)n=s?w:C;else if(a===o.LEFT&&l)n=s?C:w;else if(a==o.ENTER||a==o.SPACEBAR)r._click(i),t.preventDefault();else{if(a==o.HOME)return r._click(r._getItem("first")),t.preventDefault(),e;if(a==o.END)return r._click(r._getItem("last")),t.preventDefault(),e}else n=w;else n=C;n&&(r._click(r._item(i,n)),t.preventDefault())}},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e.dataSource.unbind("change",e._refreshHandler):e._refreshHandler=t.proxy(e.refresh,e),e.dataSource=i.data.DataSource.create(e.options.dataSource).bind("change",e._refreshHandler)},setDataSource:function(t){var e=this;e.options.dataSource=t,e._dataSource(),e.dataSource.fetch()},_animations:function(t){t&&"animation"in t&&!t.animation&&(t.animation={open:{effects:{}},close:{effects:{}}})},refresh:function(t){var e,n,r,a,s=this,o=s.options,l=i.getter(o.dataEncodedField),c=i.getter(o.dataTextField),d=i.getter(o.dataContentField),p=i.getter(o.dataContentUrlField),u=i.getter(o.dataImageUrlField),f=i.getter(o.dataUrlField),h=i.getter(o.dataSpriteCssClass),m=[],b=s.dataSource.view();for(t=t||{},r=t.action,r&&(b=t.items),e=0,a=b.length;e<a;e++)n={text:c(b[e])},o.dataEncodedField&&(n.encoded=l(b[e])),o.dataContentField&&(n.content=d(b[e])),o.dataContentUrlField&&(n.contentUrl=p(b[e])),o.dataUrlField&&(n.url=f(b[e])),o.dataImageUrlField&&(n.imageUrl=u(b[e])),o.dataSpriteCssClass&&(n.spriteCssClass=h(b[e])),m[e]=n;if("add"==t.action)t.index<s.tabGroup.children().length?s.insertBefore(m,s.tabGroup.children().eq(t.index)):s.append(m);else if("remove"==t.action)for(e=0;e<b.length;e++)s.remove(t.index);else"itemchange"==t.action?(e=s.dataSource.view().indexOf(b[0]),t.field===o.dataTextField&&s.tabGroup.children().eq(e).find(".k-link").text(b[0].get(t.field)),t.field===o.dataUrlField&&(s._contentUrls[e]=b[0].get(t.field))):(s.trigger("dataBinding"),s.remove("li"),s._contentUrls=[],s.append(m),s.trigger("dataBound"))},value:function(n){var r=this;return n===e?r.select().text():(n!=r.value()&&r.tabGroup.children().each(function(){i.trim(t(this).text())==n&&r.select(this)}),e)},items:function(){return this.tabGroup[0].children},setOptions:function(t){var e=this,n=e.options.animation;e._animations(t),t.contentUrls&&(e._contentUrls=t.contentUrls),t.animation=p(!0,n,t.animation),t.navigatable?e.wrapper.on("key
1002down"+v,e._keyDownProxy):e.wrapper.off("keydown"+v,e._keyDownProxy),b.fn.setOptions.call(e,t)},events:[I,P,x,T,H,"change","dataBinding","dataBound"],options:{name:"TabStrip",dataEncodedField:"",dataTextField:"",dataContentField:"",dataImageUrlField:"",dataUrlField:"",dataSpriteCssClass:"",dataContentUrlField:"",tabPosition:"top",animation:{open:{effects:"expand:vertical fadeIn",duration:200},close:{duration:200}},collapsible:!1,navigatable:!0,contentUrls:!1,scrollable:{distance:V}},destroy:function(){var t=this,e=t.scrollWrap;b.fn.destroy.call(t),t._refreshHandler&&t.dataSource.unbind("change",t._refreshHandler),t.wrapper.off(v),t.wrapper.children(".k-tabstrip-items").off(v),t._scrollableModeActive&&(t._scrollPrevButton.off().remove(),t._scrollNextButton.off().remove()),i.destroy(t.wrapper),e.children(".k-tabstrip").unwrap()},select:function(e){var n=this;return 0===arguments.length?n.tabGroup.children("li."+L):(isNaN(e)||(e=n.tabGroup.children().get(e)),e=n.tabGroup.find(e),t(e).each(function(e,r){r=t(r),r.hasClass(L)||n.trigger(I,{item:r[0],contentElement:n.contentHolder(r.index())[0]})||n.activateTab(r)}),n)},enable:function(t,e){return this._toggleDisabled(t,e!==!1),this},disable:function(t){return this._toggleDisabled(t,!1),this},reload:function(e){var n,r;return e=this.tabGroup.find(e),n=this,r=n._contentUrls,e.each(function(){var e=t(this),a=e.find("."+y).data(R)||r[e.index()],i=n.contentHolder(e.index());a&&n.ajaxRequest(e,i,null,a)}),n},append:function(t){var e=this,n=e._create(t);return c(n.tabs,function(t){var r=n.contents[t];e.tabGroup.append(this),"bottom"==e.options.tabPosition?e.tabGroup.before(r):e._scrollableModeActive?e._scrollPrevButton.before(r):e.wrapper.append(r),e.angular("compile",function(){return{elements:[r]}})}),r(e.tabGroup),e._updateContentElements(),e.resize(!0),e},_appendUrlItem:function(t){this._contentUrls.push(t)},_moveUrlItem:function(t,e){this._contentUrls.splice(e,0,this._contentUrls.splice(t,1)[0])},_removeUrlItem:function(t){this._contentUrls.splice(t,1)}
1002,insertBefore:function(e,n){n=t(e).is(t(n))?this.tabGroup.find(n).next():this.tabGroup.find(n);var a=this,i=a._create(e),s=a.element.find("[id='"+n.attr("aria-controls")+"']");return c(i.tabs,function(e){var r=i.contents[e],o=i.newTabsCreated?a._contentUrls.length-(i.tabs.length-e):t(r).index()-1;n.before(this),s.before(r),a._moveUrlItem(o,t(this).index()),a.angular("compile",function(){return{elements:[r]}})}),r(a.tabGroup),a._updateContentElements(i.newTabsCreated),a.resize(!0),a},insertAfter:function(e,n){n=t(e).is(t(n))?this.tabGroup.find(n).prev():this.tabGroup.find(n);var a=this,i=a._create(e),s=a.element.find("[id='"+n.attr("aria-controls")+"']");return c(i.tabs,function(e){var r=i.contents[e],o=i.newTabsCreated?a._contentUrls.length-(i.tabs.length-e):t(r).index()-1;n.after(this),s.after(r),a._moveUrlItem(o,t(this).index()),a.angular("compile",function(){return{elements:[r]}})}),r(a.tabGroup),a._updateContentElements(i.newTabsCreated),a.resize(!0),a},remove:function(e){var n,r=this,a=typeof e;return"string"===a?e=r.tabGroup.find(e):"number"===a&&(e=r.tabGroup.children().eq(e)),n=e.map(function(){var e=t(this).index(),n=r.contentElement(e);return i.destroy(n),r._removeUrlItem(e),n}),e.remove(),n.empty(),n.remove(),r._updateContentElements(),r.resize(!0),r},_create:function(e){var r,a,s,o=this,c=!1;return e=e instanceof i.data.ObservableArray?e.toJSON():e,t.isPlainObject(e)||t.isArray(e)?(e=t.isArray(e)?e:[e],c=!0,r=l(e,function(n,r){return o._appendUrlItem(e[r].contentUrl||null),t($.renderItem({group:o.tabGroup,item:p(n,{index:r})}))}),a=l(e,function(e,n){if("string"==typeof e.content||e.contentUrl)return t($.renderContent({item:p(e,{index:n})}))})):(r="string"==typeof e&&"<"!=e[0]?o.element.find(e):t(e),a=t(),r.each(function(){if(/k-tabstrip-items/.test(this.parentNode.className)){var e=o.element.find("[id='"+this.getAttribute("aria-controls")+"']");s=e}else s=t("<div class='"+B+"'/>");a=a.add(s)}),n(r)),{tabs:r,contents:a,newTabsCreated:c}},_toggleDisabled:function(e,n){e=this.tabGroup.find(e),e.each(function(){t(this).toggleClass(W,n).toggleClass(N,!n).attr("aria-disabled",!n)})},_updateClasses:function(){var a,i,s,o=this;o.wrapper.addClass("k-widget k-header k-tabstrip"),o.tabGroup=o.wrapper.children("ul").addClass("k-tabstrip-items k-reset"),o.tabGroup[0]||(o.tabGroup=t("<ul class='k-tabstrip-items k-reset'/>").appendTo(o.wrapper)),a=o.tabGroup.find("li").addClass("k-item"),a.length&&(i=a.filter("."+L).index(),s=i>=0?i:e,o.tabGroup.contents().filter(function(){return 3==this.nodeType&&!d(this.nodeValue)}).remove()),i>=0&&a.eq(i).addClass(z),o.contentElements=o.wrapper.children("div"),o.contentElements.addClass(B).eq(s).addClass(L).css({display:"block"}),a.length&&(n(a),r(o.tabGroup),o._updateContentElements(!0))},_elementId:function(t,e){var n,r=t.attr("id"),a=this.element.attr("id");return!r||r.indexOf(a+"-")>-1?(n=(a||i.guid())+"-",n+(e+1)):r},_updateContentElements:function(e){var n=this,r=n._contentUrls,a=n.tabGroup.children(".k-item"),s=n.wrapper.children("div"),o=n._elementId.bind(n);s.length&&a.length>s.length?s.each(function(n){var r=o(t(this),n),i=a.filter("[aria-controls="+(this.id||0)+"]")[0];!i&&e&&(i=a[n]),i&&i.setAttribute("aria-controls",r),this.setAttribute("id",r)}):a.each(function(e){var a=s.eq(e),i=o(a,e);this.setAttribute("aria-controls",i),!a.length&&r[e]?t("<div class='"+B+"'/>").appendTo(n.wrapper).attr("id",i):(a.attr("id",i),t(this).children(".k-loading")[0]||r[e]||t("<span class='k-loading k-complete'/>").prependTo(this)),a.attr("role","tabpanel"),a.filter(":not(."+L+")").attr("aria-hidden",!0).attr("aria-expanded",!1),a.filter("."+L).attr("aria-expanded",!0)}),n.contentElements=n.contentAnimators=n.wrapper.children("div"),n.tabsHeight=m(n.tabGroup)+parseInt(n.wrapper.css("border-top-width"),10)+parseInt(n.wrapper.css("border-bottom-width"),10),i.kineticScrollNeeded&&i.mobile.ui.Scroller&&(i.touchScroller(n.contentElements),n.contentElements=n.contentElements.children(".km-scroll-container"))},_wrapper:function(){var t=this;t.wrapper=t.element.is("ul")?t.element.wrapAll("<div />").parent():t.element,t.scrollWrap=t.wrapper.parent(".k-tabstrip-wrapper"),t.scrollWrap[0]||(t.scrollWrap=t.wrapper.wrapAll("<div class='k-tabstrip-wrapper' />").parent())},_tabPosition:function(){var t=this,e=t.options.tabPosition;t.wrapper.addClass("k-floatwrap k-tabstrip-"+e),"bottom"==e&&t.tabGroup.appendTo(t.wrapper),t.resize(!0)},_setContentElementsDimensions:function(){var t,e,n,r,a,i,s=this,o=s.options.tabPosition;"left"!=o&&"right"!=o||(t=s.wrapper.children(".k-content"),e=t.filter(":visible"),n="margin-"+o,r=s.tabGroup,a=h(r),i=Math.ceil(r.height())-parseInt(e.css("padding-top"),10)-parseInt(e.css("padding-bottom"),10)-parseInt(e.css("border-top-width"),10)-parseInt(e.css("border-bottom-width"),10),setTimeout(function(){t.css(n,a).css("min-height",i)}))},_resize:function(){this._setContentElementsDimensions(),this._scrollable()},_sizeScrollWrap:function(t){var e,n;t.is(":visible")&&(e=this.options.tabPosition,n=Math.floor(m(t,!0))+("left"===e||"right"===e?2:this.tabsHeight),this.scrollWrap.css("height",n).css("height"))},_toggleHover:function(e){t(e.currentTarget).toggleClass(M,e.type==D)},_click:function(t){var e,n,r=this,a=t.find("."+y),i=a.attr(k),s=r.options.collapsible,o=t.index(),l=r.contentHolder(o),c=t.parent().children(),d=c.filter("."+q);
1002if(t.closest(".k-widget")[0]==r.wrapper[0]){if(t.is("."+N+(s?"":",."+L)))return d.removeClass(q),r._focused=t,t.addClass(q),r._current(t),r._scrollableModeActive&&r._scrollTabsToItem(t),!0;if(n=a.data(R)||r._contentUrls[o]||i&&("#"==i.charAt(i.length-1)||i.indexOf("#"+r.element[0].id+"-")!=-1),e=!i||n,r.tabGroup.children("[data-animating]").length)return e;if(r.trigger(I,{item:t[0],contentElement:l[0]}))return!0;if(e!==!1)return s&&t.is("."+L)?(r.deactivateTab(t),!0):(r.activateTab(t)&&(e=!0),e)}},_scrollable:function(){var t,e,n,r,s,o,l,c,d=this,p=d.options;d._scrollableAllowed()&&(d.wrapper.addClass("k-tabstrip-scrollable"),t=d.wrapper[0].offsetWidth,e=d.tabGroup[0].scrollWidth,e>t&&!d._scrollableModeActive?(d._nowScrollingTabs=!1,d._isRtl=i.support.isRtl(d.element),s=i.support.touch?"touchstart":"mousedown",o=i.support.touch?"touchend":"mouseup",l=i.support.browser,c=d._isRtl&&!l.msie&&!l.edge,d.wrapper.append(a("prev","k-i-arrow-60-left")+a("next","k-i-arrow-60-right")),n=d._scrollPrevButton=d.wrapper.children(".k-tabstrip-prev"),r=d._scrollNextButton=d.wrapper.children(".k-tabstrip-next"),d.tabGroup.css({marginLeft:h(n)+9,marginRight:h(r)+12}),n.on(s+v,function(){d._nowScrollingTabs=!0,d._scrollTabsByDelta(p.scrollable.distance*(c?1:-1))}),r.on(s+v,function(){d._nowScrollingTabs=!0,d._scrollTabsByDelta(p.scrollable.distance*(c?-1:1))}),n.add(r).on(o+v,function(){d._nowScrollingTabs=!1}),d._scrollableModeActive=!0,d._toggleScrollButtons()):d._scrollableModeActive&&e<=t?(d._scrollableModeActive=!1,d.wrapper.removeClass("k-tabstrip-scrollable"),d._scrollPrevButton.off().remove(),d._scrollNextButton.off().remove(),d.tabGroup.css({marginLeft:"",marginRight:""})):d._scrollableModeActive?d._toggleScrollButtons():d.wrapper.removeClass("k-tabstrip-scrollable"))},_scrollableAllowed:function(){var t=this.options;return t.scrollable&&!t.scrollable.distance&&(t.scrollable={distance:V}),t.scrollable&&!isNaN(t.scrollable.distance)&&("top"==t.tabPosition||"bottom"==t.tabPosition)},_scrollTabsToItem:function(t){var e,n=this,r=n.tabGroup,a=r.scrollLeft(),i=h(t),s=n._isRtl?t.position().left:t.position().left-r.children().first().position().left,o=r[0].offsetWidth,l=Math.ceil(parseFloat(r.css("padding-left")));n._isRtl?s<0?e=a+s-(o-a)-l:s+i>o&&(e=a+s-i+2*l):a+o<s+i?e=s+i-o+2*l:a>s&&(e=s-l),r.finish().animate({scrollLeft:e},"fast","linear",function(){n._toggleScrollButtons()})},_scrollTabsByDelta:function(t){var e=this,n=e.tabGroup,r=n.scrollLeft();n.finish().animate({scrollLeft:r+t},"fast","linear",function(){e._nowScrollingTabs&&!jQuery.fx.off?e._scrollTabsByDelta(t):e._toggleScrollButtons()})},_toggleScrollButtons:function(){var t=this,e=t.tabGroup,n=i.scrollLeft(e);t._scrollPrevButton.toggle(0!==n),t._scrollNextButton.toggle(n<e[0].scrollWidth-e[0].offsetWidth-1)},deactivateTab:function(t){var e=this,n=e.options.animation,r=n.open,a=p({},n.close),s=a&&"effects"in a;t=e.tabGroup.find(t),a=p(s?a:p({reverse:!0},r),{hide:!0}),i.size(r.effects)?(t.kendoAddClass(W,{duration:r.duration}),t.kendoRemoveClass(L,{duration:r.duration})):(t.addClass(W),t.removeClass(L)),t.removeAttr("aria-selected"),e.contentAnimators.filter("."+L).kendoStop(!0,!0).kendoAnimate(a).removeClass(L).attr("aria-hidden",!0)},activateTab:function(t){var e,n,r,a,s,o,l,c,d,u,f,h,b,g,v,_;if(!this.tabGroup.children("[data-animating]").length)return t=this.tabGroup.find(t),e=this,n=e.options.animation,r=n.open,a=p({},n.close),s=a&&"effects"in a,o=t.parent().children(),l=o.filter("."+L),c=o.index(t),d=r&&"duration"in r&&"effects"in r,a=p(s?a:p({reverse:!0},r),{hide:!0}),i.size(r.effects)?(l.kendoRemoveClass(L,{duration:a.duration}),t.kendoRemoveClass(M,{duration:a.duration})):(l.removeClass(L),t.removeClass(M)),u=e.contentAnimators,e.inRequest&&(e.xhr.abort(),e.inRequest=!1),0===u.length?(e.tabGroup.find("."+z).removeClass(z),t.addClass(z).css("z-index"),t.addClass(L),e._current(t),e.trigger("change"),e._scrollableModeActive&&e._scrollTabsToItem(t),!1):(f=u.filter("."+L),h=e.contentHolder(c),b=h.closest(".k-content"),e.tabsHeight=m(e.tabGroup)+parseInt(e.wrapper.css("border-top-width"),10)+parseInt(e.wrapper.css("border-bottom-width"),10),e._sizeScrollWrap(f),0===h.length?(f.removeClass(L).attr("aria-hidden",!0).kendoStop(!0,!0).kendoAnimate(a),!1):(t.attr("data-animating",!0),g=(t.children("."+y).data(R)||e._contentUrls[c]||!1)&&h.is(A),v=function(){l.removeAttr("aria-selected"),t.attr("aria-selected",!0),e._current(t),e._sizeScrollWrap(b),b.addClass(L).removeAttr("aria-hidden").kendoStop(!0,!0).attr("aria-expanded",!0).kendoAnimate(p({init:function(){e.trigger(x,{item:t[0],contentElement:h[0]}),i.resize(h)}},r,{complete:function(){t.removeAttr("data-animating"),e.trigger(P,{item:t[0],contentElement:h[0]}),i.resize(h),e.scrollWrap.css("height","").css("height"),d&&(i.support.browser.msie||i.support.browser.edge)&&h.finish().animate({opacity:.9},"fast","linear",function(){h.finish().animate({opacity:1},"fast","linear")})}}))},_=function(){g?(t.removeAttr("data-animating"),e.ajaxRequest(t,h,function(){t.attr("data-animating",!0),v(),e.trigger("change")})):(v(),e.trigger("change")),e._scrollableModeActive&&e._scrollTabsToItem(t)},f.removeClass(L),e.tabGroup.find("."+z).removeClass(z),t.addClass(z).css("z-index"),i.size(r.effects)?(l.kendoAddClass(W,{duration:r.duration}),t.kendoAddClass(L,{duration:r.duration})):(l.addClass(W),t.addClass(L)),f.attr("aria-hidden",!0),f.attr("aria-expanded",!1),f.length?f.kendoStop(!0,!0).kendoAnimate(p({complete:_},a)):_(),!0))},contentElement:function(n){var r,a,s,o;if(isNaN(n-0))return e;if(r=this.contentElements&&this.contentElements[0]&&!i.kineticScrollNeeded?this.contentElements:this.contentAnimators,a=t(this.tabGroup.children()[n]).attr("aria-controls"),r)for(s=0,o=r.length;s<o;s++)if(r.eq(s).closest(".k-content")[0].id==a)return r[s];return e},contentHolder:function(e){var n=t(this.contentElement(e)),r=n.children(".km-scroll-container");return i.support.touch&&r[0]?r:n},ajaxRequest:function(e,n,r,a){var s,o,l,c,d,p,f,h,m,b;e=this.tabGroup.find(e),s=this,o=t.ajaxSettings.xhr,l=e.find("."+y),c={},d=e.width()/2,p=!1,f=e.find(".k-loading").removeClass("k-complete"),f[0]||(f=t("<span class='k-loading'/>").prependTo(e)),h=2*d-f.width(),m=function(){f.animate({marginLeft:(parseInt(f.css("marginLeft"),10)||0)<d?h:0},500,m)},i.support.browser.msie&&i.support.browser.version<10&&setTimeout(m,40),a=a||l.data(R)||s._contentUrls[e.index()]||l.attr(k),s.inRequest=!0,b={type:"GET",cac
1002he:!1,url:a,dataType:"html",data:c,xhr:function(){var e=this,n=o(),r=e.progressUpload?"progressUpload":!!e.progress&&"progress";return n&&t.each([n,n.upload],function(){this.addEventListener&&this.addEventListener("progress",function(t){r&&e[r](t)},!1)}),e.noProgress=!(window.XMLHttpRequest&&"upload"in new XMLHttpRequest),n},progress:function(t){if(t.lengthComputable){var e=parseInt(t.loaded/t.total*100,10)+"%";f.stop(!0).addClass("k-progress").css({width:e,marginLeft:0})}},error:function(t,e){s.trigger("error",{xhr:t,status:e})&&this.complete()},stopProgress:function(){clearInterval(p),f.stop(!0).addClass("k-progress")[0].style.cssText=""},complete:function(t){s.inRequest=!1,this.noProgress?setTimeout(this.stopProgress,500):this.stopProgress(),"abort"==t.statusText&&f.remove()},success:function(t){var o,l,c;f.addClass("k-complete");try{o=this,l=10,o.noProgress&&(f.width(l+"%"),p=setInterval(function(){o.progress({lengthComputable:!0,loaded:Math.min(l,100),total:100}),l+=10},40)),s.angular("cleanup",function(){return{elements:n.get()}}),i.destroy(n),n.html(t)}catch(d){c=window.console,c&&c.error&&c.error(d.name+": "+d.message+" in "+a),this.error(this.xhr,"error")}r&&r.call(s,n),s.angular("compile",function(){return{elements:n.get()}}),s.trigger(H,{item:e[0],contentElement:n[0]})}},"object"==typeof a&&(b=t.extend(!0,{},b,a),u(b.url)&&(b.url=b.url())),s.xhr=t.ajax(b)}});p($,{renderItem:function(t){t=p({tabStrip:{},group:{}},t);var e=X.empty,n=t.item;return X.item(p(t,{image:n.imageUrl?X.image:e,sprite:n.spriteCssClass?X.sprite:e,itemWrapper:X.itemWrapper},J))},renderContent:function(t){return X.content(p(t,J))}}),i.ui.plugin($)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,n){(n||e)()});
1003//# sourceMappingURL=kendo.tabstrip.min.js.map
1004
1005/** 
1006 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1007 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1008 *                                                                                                                                                                                                      
1009 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1010 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1011 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1012                                                                                                                                                                                                       
1013                                                                                                                                                                                                       
1014                                                                                                                                                                                                       
1015                                                                                                                                                                                                       
1016                                                                                                                                                                                                       
1017                                                                                                                                                                                                       
1018                                                                                                                                                                                                       
1019                                                                                                                                                                                                       
1020                                                                                                                                                                                                       
1021                                                                                                                                                                                                       
1022                                                                                                                                                                                                       
1023                                                                                                                                                                                                       
1024                                                                                                                                                                                                       
1025                                                                                                                                                                                                       
1026                                                                                                                                                                                                       
1027
1028*/
1029!function(t,define){define("kendo.toolbar.min",["kendo.core.min","kendo.userevents.min","kendo.popup.min"],t)}(function(){return function(t,e){function o(t){t.target.is(".k-toggle-button")||t.target.toggleClass(S,"press"==t.type)}function i(e){return e=t(e),e.hasClass("km-actionsheet")?e.closest(".km-popup-wrapper"):e.addClass("km-widget km-actionsheet").wrap('<div class="km-actionsheet-wrapper km-actionsheet-tablet km-widget km-popup"></div>').parent().wrap('<div class="km-popup-wrapper k-popup"></div>').parent()}function n(e){t(e.target).closest("a.k-button").length&&e.preventDefault()}function s(e,o){var i="next"===o?t.fn.next:t.fn.prev,n="next"===o?t.fn.first:t.fn.last,l=i.call(e);return!l.length&&e.is("."+it)?e:l.is(":kendoFocusable")||!l.length?l:l.find(":kendoFocusable").length?n.call(l.find(":kendoFocusable")):s(l,o)}var l,r,a,d,h,p,u,c,f,m,v,b,g,w,k,C,y,A=window.kendo,_=A.Class,x=A.ui.Widget,B=t.proxy,E=A.isFunction,T=A.keys,O=A._outerWidth,I=".kendoToolBar",F="k-toolbar",P="k-button",U="k-overflow-button",D="k-toggle-button",z="k-button-group",G="k-split-button",H="k-separator",N="k-spacer",R="spacer",M="k-popup",W="k-toolbar-resizable",S="k-state-active",K="k-state-disabled",j="k-state-hidden",q="k-hidden",Q="k-group-start",V="k-group-end",L="k-primary",J="aria-disabled",X="aria-pressed",Y="k-icon",Z="k-i-",$="k-button-icon",tt="k-button-icontext",et="k-list-container k-split-container",ot="k-split-button-arrow",it="k-overflow-anchor",nt="k-overflow-container",st="k-toolbar-first-visible",lt="k-toolbar-last-visible",rt="click",at="toggle",dt="open",ht="close",pt="overflowOpen",ut="overflowClose",ct="never",ft="auto",mt="always",vt="k-overflow-hidden",bt="_optionlist",gt=A.attr("uid");A.toolbar={},l={overflowAnchor:'<div tabindex="0" class="k-overflow-anchor k-button"></div>
1029',overflowContainer:'<ul class="k-overflow-container k-list-container"></ul>'},A.toolbar.registerComponent=function(t,e,o){l[t]={toolbar:e,overflow:o}},r=A.Class.extend({addOverflowAttr:function(){this.element.attr(A.attr("overflow"),this.options.overflow||ft)},addUidAttr:function(){this.element.attr(gt,this.options.uid)},addIdAttr:function(){this.options.id&&this.element.attr("id",this.options.id)},addOverflowIdAttr:function(){this.options.id&&this.element.attr("id",this.options.id+"_overflow")},attributes:function(){this.options.attributes&&this.element.attr(this.options.attributes)},show:function(){this.element.removeClass(j),this.element.removeClass(q),this.options.hidden=!1},hide:function(){this.element.addClass(j),this.element.addClass(q),this.overflow&&this.overflowHidden&&this.overflowHidden(),this.options.hidden=!0},remove:function(){this.element.remove()},enable:function(t){t===e&&(t=!0),this.element.toggleClass(K,!t),this.element.attr(J,!t),this.options.enable=t},twin:function(){var o=this.element.attr(gt);return this.overflow&&this.options.splitContainerId?t("#"+this.options.splitContainerId).find("["+gt+"='"+o+"']").data(this.options.type):this.overflow?this.toolbar.element.find("["+gt+"='"+o+"']").data(this.options.type):this.toolbar.options.resizable?this.toolbar.popup.element.find("["+gt+"='"+o+"']").data(this.options.type):e}}),A.toolbar.Item=r,a=r.extend({init:function(o,i){var n=t(o.useButtonTag?'<button tabindex="0"></button>':'<a role="button" href tabindex="0"></a>');this.element=n,this.options=o,this.toolbar=i,this.attributes(),o.primary&&n.addClass(L),o.togglable&&(n.addClass(D),this.toggle(o.selected)),o.url===e||o.useButtonTag||(n.attr("href",o.url),o.mobile&&n.attr(A.attr("role"),"button")),o.group&&(n.attr(A.attr("group"),o.group),this.group=this.toolbar.addToGroup(this,o.group)),!o.togglable&&o.click&&E(o.click)&&(this.clickHandler=o.click),o.togglable&&o.toggle&&E(o.toggle)&&(this.toggleHandler=o.toggle)},toggle:function(t,e){t=!!t,this.group&&t?this.group.select(this):this.group||this.select(t),e&&this.twin()&&this.twin().toggle(t)},getParentGroup:function(){if(this.options.isChild)return this.element.closest("."+z).data("buttonGroup")},_addGraphics:function(){var e,o,i,n=this.element,s=this.options.icon,l=this.options.spriteCssClass,r=this.options.imageUrl;(l||r||s)&&(e=!0,n.contents().filter(function(){return!t(this).hasClass("k-sprite")&&!t(this).hasClass(Y)&&!t(this).hasClass("k-image")}).each(function(t,o){(1==o.nodeType||3==o.nodeType&&A.trim(o.nodeValue).length>0)&&(e=!1)}),n.addClass(e?$:tt)),s?(o=n.children("span."+Y).first(),o[0]||(o=t('<span class="'+Y+'"></span>').prependTo(n)),o.addClass(Z+s)):l?(o=n.children("span.k-sprite").first(),o[0]||(o=t('<span class="k-sprite '+Y+'"></span>').prependTo(n)),o.addClass(l)):r&&(i=n.children("img.k-image").first(),i[0]||(i=t('<img alt="icon" class="k-image" />').prependTo(n)),i.attr("src",r))}}),A.toolbar.Button=a,d=a.extend({init:function(t,e){a.fn.init.call(this,t,e);var o=this.element;o.addClass(P),this.addIdAttr(),t.align&&o.addClass("k-align-"+t.align),"overflow"!=t.showText&&t.text&&o.html(t.mobile?'<span class="km-text">'+t.text+"</span>":t.text),t.hasIcon="overflow"!=t.showIcon&&(t.icon||t.spriteCssClass||t.imageUrl),t.hasIcon&&this._addGraphics(),this.addUidAttr(),this.addOverflowAttr(),this.enable(t.enable),t.hidden&&this.hide(),this.element.data({type:"button",button:this})},select:function(t){t===e&&(t=!1),this.options.togglable&&this.element.attr(X,t),this.element.toggleClass(S,t),this.options.selected=t}}),A.toolbar.ToolBarButton=d,h=a.extend({init:function(e,o){this.overflow=!0,a.fn.init.call(this,t.extend({},e),o);var i=this.element;"toolbar"!=e.showText&&e.text&&i.html(e.mobile?'<span class="km-text">'+e.text+"</span>":'<span class="k-text">'+e.text+"</span>"),e.hasIcon="toolbar"!=e.showIcon&&(e.icon||e.spriteCssClass||e.imageUrl),e.hasIcon&&this._addGraphics(),e.isChild||this._wrap(),this.addOverflowIdAttr(),this.attributes(),this.addUidAttr(),this.addOverflowAttr(),this.enable(e.enable),i.addClass(U+" "+P),e.hidden&&this.hide(),e.togglable&&this.toggle(e.selected),this.element.data({type:"button",button:this})},_wrap:function(){this.element=this.element.wrap("<li></li>").parent()},overflowHidden:function(){this.element.addClass(vt)},select:function(t){t===e&&(t=!1),this.options.isChild?this.element.toggleClass(S,t):this.element.find(".k-button").toggleClass(S,t),this.options.selected=t}}),A.toolbar.OverflowButton=h,A.toolbar.registerComponent("button",d,h),p=r.extend({createButtons:function(e){var o,i,n=this.options,s=n.buttons||[];for(i=0;i<s.length;i++)s[i].uid||(s[i].uid=A.guid()),o=new e(t.extend({mobile:n.mobile,isChild:!0,type:"button"},s[i]),this.toolbar),o.element.appendTo(this.element)},refresh:function(){this.element.children().filter(":not('."+j+"'):first").addClass(Q),this.element.children().filter(":not('."+j+"'):last").addClass(V)}}),A.toolbar.ButtonGroup=p,u=p.extend({init:function(e,o){var i=this.element=t("<div></div>");this.options=e,this.toolbar=o,this.addIdAttr(),e.align&&i.addClass("k-align-"+e.align),this.createButtons(d),this.attributes(),this.addUidAttr(),this.addOverflowAttr(),this.refresh(),i.addClass(z),this.element.data({type:"buttonGroup",buttonGroup:this})}}),A.toolbar.ToolBarButtonGroup=u,c=p.extend({init:function(e,o){var i=this.element=t("<li></li>");this.options=e,this.toolbar=o,this.overflow=!0,this.addOverflowIdAttr(),this.createButtons(h),this.attributes(),this.addUidAttr(),this.addOverflowAttr(),this.refresh(),i.addClass((e.mobile?"":z)+" k-overflow-group"),this.element.data({type:"buttonGroup",buttonGroup:this})},overflowHidden:function(){this.element.addClass(vt)}}),A.toolbar.OverflowButtonGroup=c,A.toolbar.registerComponent("buttonGroup",u,c),f=r.extend({init:function(e,o){var i=this.element=t('<div class="'+G+'" tabindex="0"></div>');this.options=e,this.toolbar=o,this.mainButton=new d(t.extend({},e,{hidden:!1}
1029),o),this.arrowButton=t('<a class="'+P+" "+ot+'"><span class="'+(e.mobile?"km-icon km-arrowdown":"k-icon k-i-arrow-60-down")+'"></span></a>'),this.popupElement=t('<ul class="'+et+'"></ul>'),this.mainButton.element.removeAttr("href tabindex").appendTo(i),this.arrowButton.appendTo(i),this.popupElement.appendTo(i),e.align&&i.addClass("k-align-"+e.align),e.id||(e.id=e.uid),i.attr("id",e.id+"_wrapper"),this.addOverflowAttr(),this.addUidAttr(),this.createMenuButtons(),this.createPopup(),this._navigatable(),this.mainButton.main=!0,this.enable(e.enable),e.hidden&&this.hide(),i.data({type:"splitButton",splitButton:this,kendoPopup:this.popup})},_navigatable:function(){var e=this;e.popupElement.on("keydown"+I,"."+P,function(o){var i=t(o.target).parent();o.preventDefault(),o.keyCode===T.ESC||o.keyCode===T.TAB||o.altKey&&o.keyCode===T.UP?(e.toggle(),e.focus()):o.keyCode===T.DOWN?s(i,"next").focus():o.keyCode===T.UP?s(i,"prev").focus():o.keyCode===T.SPACEBAR||o.keyCode===T.ENTER?e.toolbar.userEvents.trigger("tap",{target:t(o.target)}):o.keyCode===T.HOME?i.parent().find(":kendoFocusable").first().focus():o.keyCode===T.END&&i.parent().find(":kendoFocusable").last().focus()})},createMenuButtons:function(){var e,o,i=this.options,n=i.menuButtons;for(o=0;o<n.length;o++)e=new d(t.extend({mobile:i.mobile,type:"button",click:i.click},n[o]),this.toolbar),e.element.wrap("<li></li>").parent().appendTo(this.popupElement)},createPopup:function(){var o=this,s=this.options,l=this.element;this.popupElement.attr("id",s.id+bt).attr(gt,s.rootUid),s.mobile&&(this.popupElement=i(this.popupElement)),this.popup=this.popupElement.kendoPopup({appendTo:s.mobile?t(s.mobile).children(".km-pane"):null,anchor:l,isRtl:this.toolbar._isRtl,copyAnchorStyles:!1,animation:s.animation,open:function(t){var i=o.toolbar.trigger(dt,{target:l});return i?(t.preventDefault(),e):(o.adjustPopupWidth(t.sender),e)},activate:function(){this.element.find(":kendoFocusable").first().focus()},close:function(t){var e=o.toolbar.trigger(ht,{target:l});e&&t.preventDefault(),l.focus()}}).data("kendoPopup"),this.popup.element.on(rt+I,"a.k-button",n)},adjustPopupWidth:function(t){var e,o=t.options.anchor,i=O(o);A.wrap(t.element).addClass("k-split-wrapper"),e="border-box"!==t.element.css("box-sizing")?i-(O(t.element)-t.element.width()):i,t.element.css({fontFamily:o.css("font-family"),"min-width":e})},remove:function(){this.popup.element.off(rt+I,"a.k-button"),this.popup.destroy(),this.element.remove()},toggle:function(){(this.options.enable||this.popup.visible())&&this.popup.toggle()},enable:function(t){t===e&&(t=!0),this.mainButton.enable(t),this.element.toggleClass(K,!t),this.element.attr(J,!t),this.options.enable=t},focus:function(){this.element.focus()},hide:function(){this.popup&&this.popup.close(),this.element.addClass(j),this.element.addClass(q),this.options.hidden=!0},show:function(){this.element.removeClass(j),this.element.removeClass(q),this.options.hidden=!1}}),A.toolbar.ToolBarSplitButton=f,m=r.extend({init:function(e,o){var i,n,s,l=this.element=t('<li class="'+G+'"></li>'),r=e.menuButtons;for(this.options=e,this.toolbar=o,this.overflow=!0,n=(e.id||e.uid)+bt,this.mainButton=new h(t.extend({isChild:!0},e)),this.mainButton.element.appendTo(l),s=0;s<r.length;s++)i=new h(t.extend({mobile:e.mobile,type:"button",splitContainerId:n,isChild:!0},r[s]),this.toolbar),i.element.appendTo(l);this.addUidAttr(),this.addOverflowAttr(),this.mainButton.main=!0,l.data({type:"splitButton",splitButton:this})},overflowHidden:function(){this.element.addClass(vt)}}),A.toolbar.OverflowSplitButton=m,A.toolbar.registerComponent("splitButton",f,m),v=r.extend({init:function(e,o){var i=this.element=t("<div>&nbsp;</div>");this.element=i,this.options=e,this.toolbar=o,this.attributes(),this.addIdAttr(),this.addUidAttr(),this.addOverflowAttr(),i.addClass(H),i.data({type:"separator",separator:this})}}),b=r.extend({init:function(e,o){var i=this.element=t("<li>&nbsp;</li>");this.element=i,this.options=e,this.toolbar=o,this.overflow=!0,this.attributes(),this.addUidAttr(),this.addOverflowIdAttr(),i.addClass(H),i.data({type:"separator",separator:this})},overflowHidden:function(){this.element.addClass(vt)}}),A.toolbar.registerComponent("separator",v,b),g=r.extend({init:function(e,o){var i=this.element=t("<div>&nbsp;</div>");this.element=i,this.options=e,this.toolbar=o,i.addClass(N),i.data({type:R})}}),A.toolbar.registerComponent(R,g),w=r.extend({init:function(e,o,i){var n=E(e)?e(o):e;n=n instanceof jQuery?n.wrap("<div></div>").parent():t("<div></div>").html(n),this.element=n,this.options=o,this.options.type="template",this.toolbar=i,this.attributes(),this.addUidAttr(),this.addIdAttr(),this.addOverflowAttr(),n.data({type:"template",template:this})}}),A.toolbar.TemplateItem=w,k=r.extend({init:function(e,o,i){var n=t(E(e)?e(o):e);n=n instanceof jQuery?n.wrap("<li></li>").parent():t("<li></li>").html(n),this.element=n,this.options=o,this.options.type="template",this.toolbar=i,this.overflow=!0,this.attributes(),this.addUidAttr(),this.addOverflowIdAttr(),this.addOverflowAttr(),n.data({type:"template",template:this})},overflowHidden:function(){this.element.addClass(vt)}}),A.toolbar.OverflowTemplateItem=k,C=_.extend({init:function(t){this.name=t,this.buttons=[]},add:function(t){this.buttons[this.buttons.length]=t},remove:function(e){var o=t.inArray(e,this.buttons);this.buttons.splice(o,1)},select:function(t){var e,o;for(o=0;o<this.buttons.length;o++)e=this.buttons[o],e.select(!1);t.select(!0),t.twin()&&t.twin().select(!0)}}),y=x.extend({init:function(e,i){var s,l=this;if(x.fn.init.call(l,e,i),i=l.options,e=l.wrapper=l.element,e.addClass(F+" k-widget"),this.uid=A.guid(),this._isRtl=A.support.isRtl(e),this._groups={}
1029,e.attr(gt,this.uid),l.isMobile="boolean"==typeof i.mobile?i.mobile:l.element.closest(".km-root")[0],l.animation=l.isMobile?{open:{effects:"fade"}}:{},l.isMobile&&(e.addClass("km-widget"),Y="km-icon",Z="km-",P="km-button",z="km-buttongroup",S="km-state-active",K="km-state-disabled"),i.resizable?(l._renderOverflow(),e.addClass(W),l.overflowUserEvents=new A.UserEvents(l.element,{threshold:5,allowSelection:!0,filter:"."+it,tap:B(l._toggleOverflow,l)}),l._resizeHandler=A.onResize(function(){l.resize()})):l.popup={element:t([])},i.items&&i.items.length){for(s=0;s<i.items.length;s++)l.add(i.items[s]);i.resizable&&l._shrink(l.element.innerWidth())}l.userEvents=new A.UserEvents(document,{threshold:5,allowSelection:!0,filter:"["+gt+"="+this.uid+"] a."+P+", ["+gt+"="+this.uid+"] ."+U,tap:B(l._buttonClick,l),press:o,release:o}),l.element.on(rt+I,"a.k-button",n),l._navigatable(),i.resizable&&l.popup.element.on(rt+I,NaN,n),i.resizable&&this._toggleOverflowAnchor(),A.notify(l)},events:[rt,at,dt,ht,pt,ut],options:{name:"ToolBar",items:[],resizable:!0,mobile:null},addToGroup:function(t,e){var o;return o=this._groups[e]?this._groups[e]:this._groups[e]=new C,o.add(t),o},destroy:function(){var e=this;e.element.find("."+G).each(function(e,o){t(o).data("kendoPopup").destroy()}),e.element.off(I,"a.k-button"),e.userEvents.destroy(),e.options.resizable&&(A.unbindResize(e._resizeHandler),e.overflowUserEvents.destroy(),e.popup.element.off(I,"a.k-button"),e.popup.destroy()),x.fn.destroy.call(e)},add:function(e){var o,i,n,s=l[e.type],r=e.template,a=this,d=a.isMobile?"":"k-item k-state-default",h=e.overflowTemplate;if(t.extend(e,{uid:A.guid(),animation:a.animation,mobile:a.isMobile,rootUid:a.uid}),e.menuButtons)for(n=0;n<e.menuButtons.length;n++)t.extend(e.menuButtons[n],{uid:A.guid()});r&&!h||e.type===R?e.overflow=ct:e.overflow||(e.overflow=ft),e.overflow!==ct&&a.options.resizable&&(h?i=new k(h,e,a):s&&(i=new s.overflow(e,a),i.element.addClass(d)),i&&(e.overflow===ft&&i.overflowHidden(),i.element.appendTo(a.popup.container),a.angular("compile",function(){return{elements:i.element.get()}}))),e.overflow!==mt&&(r?o=new w(r,e,a):s&&(o=new s.toolbar(e,a)),o&&(o.element.appendTo(a.element),a.angular("compile",function(){return{elements:o.element.get()}})))},_getItem:function(e){var o,i,n,s,l=this.options.resizable;return o=this.element.find(e),o.length||(o=t(".k-split-container[data-uid="+this.uid+"]").find(e)),s=o.length?o.data("type"):"",i=o.data(s),i?(i.main&&(o=o.parent("."+G),s="splitButton",i=o.data(s)),l&&(n=i.twin())):l&&(o=this.popup.element.find(e),s=o.length?o.data("type"):"",n=o.data(s),n&&n.main&&(o=o.parent("."+G),s="splitButton",n=o.data(s))),{type:s,toolbar:i,overflow:n}},remove:function(t){var e=this._getItem(t);e.toolbar&&e.toolbar.remove(),e.overflow&&e.overflow.remove(),this.resize(!0)},hide:function(t){var e,o=this._getItem(t);o.toolbar&&("button"===o.toolbar.options.type&&o.toolbar.options.isChild?(e=o.toolbar.getParentGroup(),o.toolbar.hide(),e&&e.refresh()):o.toolbar.options.hidden||o.toolbar.hide()),o.overflow&&("button"===o.overflow.options.type&&o.overflow.options.isChild?(e=o.overflow.getParentGroup(),o.overflow.hide(),e&&e.refresh()):o.overflow.options.hidden||o.overflow.hide()),this.resize(!0)},show:function(t){var e=this._getItem(t);e.toolbar&&("button"===e.toolbar.options.type&&e.toolbar.options.isChild?(e.toolbar.show(),e.toolbar.getParentGroup().refresh()):e.toolbar.options.hidden&&e.toolbar.show()),e.overflow&&("button"===e.overflow.options.type&&e.overflow.options.isChild?(e.toolbar.show(),e.overflow.getParentGroup().refresh()):e.overflow.options.hidden&&e.overflow.show()),this.resize(!0)},enable:function(t,o){var i=this._getItem(t);e===o&&(o=!0),i.toolbar&&i.toolbar.enable(o),i.overflow&&i.overflow.enable(o)},getSelectedFromGroup:function(t){return this.element.find("."+D+"[data-group='"+t+"']").filter("."+S)},toggle:function(o,i){var n=t(o),s=n.data("button");s.options.togglable&&(i===e&&(i=!0),s.toggle(i,!0))},_renderOverflow:function(){var e=this,o=l.overflowContainer,n=e._isRtl,r=n?"left":"right";e.overflowAnchor=t(l.overflowAnchor).addClass(P),e.element.append(e.overflowAnchor),e.isMobile?(e.overflowAnchor.append('<span class="km-icon km-more"></span>'),o=i(o)):e.overflowAnchor.append('<span class="k-icon k-i-more-vertical"></span>'),e.popup=new A.ui.Popup(o,{origin:"bottom "+r,position:"top "+r,anchor:e.overflowAnchor,isRtl:n,animation:e.animation,appendTo:e.isMobile?t(e.isMobile).children(".km-pane"):null,copyAnchorStyles:!1,open:function(o){var i=A.wrap(e.popup.element).addClass("k-overflow-wrapper");e.isMobile?e.popup.container.css("max-height",parseFloat(t(".km-content:visible").innerHeight())-15+"px"):i.css("margin-left",(n?-1:1)*((O(i)-i.width())/2+1)),e.trigger(pt)&&o.preventDefault()},activate:function(){this.element.find(":kendoFocusable").first().focus()},close:function(t){e.trigger(ut)&&t.preventDefault(),this.element.focus()}}
1029),e.popup.element.on("keydown"+I,"."+P,function(o){var i,n=t(o.target),l=n.parent(),r=l.is("."+z)||l.is("."+G);o.preventDefault(),o.keyCode===T.ESC||o.keyCode===T.TAB||o.altKey&&o.keyCode===T.UP?(e._toggleOverflow(),e.overflowAnchor.focus()):o.keyCode===T.DOWN?(i=!r||r&&n.is(":last-child")?l:n,s(i,"next").focus()):o.keyCode===T.UP?(i=!r||r&&n.is(":first-child")?l:n,s(i,"prev").focus()):o.keyCode===T.SPACEBAR||o.keyCode===T.ENTER?(e.userEvents.trigger("tap",{target:t(o.target)}),e.overflowAnchor.focus()):o.keyCode===T.HOME?l.parent().find(":kendoFocusable").first().focus():o.keyCode===T.END&&l.parent().find(":kendoFocusable").last().focus()}),e.popup.container=e.isMobile?e.popup.element.find("."+nt):e.popup.element,e.popup.container.attr(gt,this.uid)},_toggleOverflowAnchor:function(){var t=!1,e=this._isRtl?"padding-left":"padding-right";t=this.options.mobile?this.popup.element.find("."+nt).children(":not(."+vt+", ."+M+")").length>0:this.popup.element.children(":not(."+vt+", ."+M+")").length>0,t?(this.overflowAnchor.css({visibility:"visible",width:""}),this.wrapper.css(e,this.overflowAnchor.outerWidth(!0))):(this.overflowAnchor.css({visibility:"hidden",width:"1px"}),this.wrapper.css(e,""))},_buttonClick:function(o){var i,n,s,l,r,a,d,h=this,p=o.target.closest("."+ot).length;return o.preventDefault(),p?(h._toggle(o),e):(n=t(o.target).closest("."+P,h.element),n.hasClass(it)||(s=n.data("button"),!s&&h.popup&&(n=t(o.target).closest("."+U,h.popup.container),s=n.parent("li").data("button")),s&&s.options.enable&&(s.options.togglable?(r=E(s.toggleHandler)?s.toggleHandler:null,s.toggle(!s.options.selected,!0),a={target:n,group:s.options.group,checked:s.options.selected,id:s.options.id,item:s},r&&r.call(h,a),h.trigger(at,a)):(r=E(s.clickHandler)?s.clickHandler:null,a={sender:h,target:n,id:s.options.id,item:s},r&&r.call(h,a),h.trigger(rt,a)),s.options.url&&(s.options.attributes&&s.options.attributes.target&&(d=s.options.attributes.target),window.open(s.options.url,d||"_self")),n.hasClass(U)&&h.popup.close(),l=n.closest(".k-split-container"),l[0]&&(i=l.data("kendoPopup"),(i?i:l.parents(".km-popup-wrapper").data("kendoPopup")).close()))),e)},_navigatable:function(){var e=this;e.element.attr("tabindex",0).on("focusin"+I,function(e){var o=t(e.target),i=t(this).find(":kendoFocusable:first");o.is("."+F)&&0!==i.length&&(i.is("."+it)&&(i=s(i,"next")),i.length&&i[0].focus())}).on("keydown"+I,B(e._keydown,e))},_keydown:function(o){var i,n,s,l,r,a,d,h,p,u=t(o.target),c=o.keyCode,f=this.element.children(":not(.k-separator):visible"),m=this._isRtl?-1:1;if(c===T.TAB&&(i=u.parentsUntil(this.element).last(),n=!1,s=!1,l=!1,f.not("."+it).length||(l=!0),i.length||(i=u),i.is("."+it)&&!l&&(r=f.last(),o.shiftKey&&o.preventDefault(),r.is(":kendoFocusable")?f.last().focus():f.last().find(":kendoFocusable").last().focus()),o.shiftKey||f.index(i)!==f.length-1||(n=!i.is("."+z)||u.is(":last-child")),a=f.index(i)===f.not(".k-overflow-anchor").first().index(),o.shiftKey&&a&&(s=!i.is("."+z)||u.is(":first-child")),n&&this.overflowAnchor&&"hidden"!==this.overflowAnchor.css("visibility")&&!l&&(o.preventDefault(),this.overflowAnchor.focus()),(s||l&&o.shiftKey)&&(o.preventDefault(),d=this._getPrevFocusable(this.wrapper),d&&d.focus()),this._preventNextFocus=!1),o.altKey&&c===T.DOWN)return h=t(document.activeElement).data("splitButton"),p=t(document.activeElement).is("."+it),h?h.toggle():p&&this._toggleOverflow(),e;if((c===T.SPACEBAR||c===T.ENTER)&&!u.is("input, checkbox"))return c===T.SPACEBAR&&o.preventDefault(),u.is("."+G)?(u=u.children().first(),this.userEvents.trigger("tap",{target:u})):c===T.SPACEBAR&&this.userEvents.trigger("tap",{target:u}),e;if(c===T.HOME){if(u.is(".k-dropdown")||u.is("input"))return;this.overflowAnchor?f.eq(1).focus():f.first().focus(),o.preventDefault()}else if(c===T.END){if(u.is(".k-dropdown")||u.is("input"))return;this.overflowAnchor&&"hidden"!=t(this.overflowAnchor).css("visibility")?this.overflowAnchor.focus():f.last().focus(),o.preventDefault()}else c!==T.RIGHT||this._preventNextFocus||u.is("input, select, .k-dropdown, .k-colorpicker")||!this._getNextElement(o.target,1*m)?c!==T.LE
1029FT||this._preventNextFocus||u.is("input, select, .k-dropdown, .k-colorpicker")||!this._getNextElement(o.target,-1*m)||(this._getNextElement(o.target,-1*m).focus(),o.preventDefault()):(this._getNextElement(o.target,1*m).focus(),o.preventDefault())},_getNextElement:function(e,o){var i=this.element.children(":not(.k-separator):visible"),n=i.index(i.index(e)===-1?e.parentElement:e),s=this.overflowAnchor?1:0,l=o,r=1===o?i.length-1:s,a=1===o?s:i.length-1,d=i[n+o];if(this._preventNextFocus=!1,t(e).closest("."+z).length&&!t(e).is(1===o?":last-child":":first-child"))return t(e).closest("."+z).children()[t(e).closest("."+z).children().index(e)+o];for(this.overflowAnchor&&e===this.overflowAnchor[0]&&o===-1&&(d=i[i.length-1]),n===r&&(d=!this.overflowAnchor||this.overflowAnchor&&"hidden"===t(this.overflowAnchor).css("visibility")?i[a]:this.overflowAnchor);!t(d).is(":kendoFocusable");){if(d=o===-1&&t(d).closest("."+z).length?t(d).children(":not(label, div)").last():t(d).children(":not(label, div)").first(),!d.length&&(l+=o,d=i[n+l],!d))return this.overflowAnchor;this._preventNextFocus=!t(d).closest("."+z).length}return d},_getPrevFocusable:function(o){if(o.is("html"))return o;var i,n,s=o.prevAll();return s.each(function(){return n=t(this),n.is(":kendoFocusable")?(i=n,!1):n.find(":kendoFocusable").length>0?(i=n.find(":kendoFocusable").last(),!1):e}),i?i:this._getPrevFocusable(o.parent())},_toggle:function(e){var o=t(e.target).closest("."+G).data("splitButton");e.preventDefault(),o.options.enable&&o.toggle()},_toggleOverflow:function(){this.popup.toggle()},_resize:function(t){var e=t.width;this.options.resizable&&(this.popup.close(),this._shrink(e),this._stretch(e),this._markVisibles(),this._toggleOverflowAnchor())},_childrenWidth:function(){var e=0;return this.element.children(":visible:not(."+j+", ."+N+")").each(function(){e+=O(t(this),!0)}),Math.ceil(e)},_shrink:function(t){var e,o,i;if(t<this._childrenWidth())for(o=this.element.children(":visible:not([data-overflow='never'], ."+it+")"),i=o.length-1;i>=0&&(e=o.eq(i),!(t>this._childrenWidth()));i--)this._hideItem(e)},_stretch:function(t){var e,o,i;if(t>this._childrenWidth())for(o=this.element.children(":hidden:not('."+j+"')"),i=0;i<o.length&&(e=o.eq(i),!(t<this._childrenWidth())&&this._showItem(e,t));i++);},_hideItem:function(t){t.addClass(q),this.popup&&this.popup.container.find(">li[data-uid='"+t.data("uid")+"']").removeClass(vt)},_showItem:function(t,e){t.removeClass(q);var o=O(t,!0);return t.addClass(q),!!(t.length&&e>this._childrenWidth()+o)&&(t.removeClass(q),this.popup&&this.popup.container.find(">li[data-uid='"+t.data("uid")+"']").addClass(vt),!0)},_markVisibles:function(){var t=this.popup.container.children(),e=this.element.children(":not(.k-overflow-anchor)"),o=t.filter(":not(.k-overflow-hidden)"),i=e.filter(":visible");t.add(e).removeClass(st+" "+lt),o.first().add(i.first()).addClass(st),o.last().add(i.last()).addClass(lt)}}),A.ui.plugin(y)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,o){(o||e)()});
1030//# sourceMappingURL=kendo.toolbar.min.js.map
1031
1032/** 
1033 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1034 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1035 *                                                                                                                                                                                                      
1036 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1037 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1038 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1039                                                                                                                                                                                                       
1040                                                                                                                                                                                                       
1041                                                                                                                                                                                                       
1042                                                                                                                                                                                                       
1043                                                                                                                                                                                                       
1044                                                                                                                                                                                                       
1045                                                                                                                                                                                                       
1046                                                                                                                                                                                                       
1047                                                                                                                                                                                                       
1048                                                                                                                                                                                                       
1049                                                                                                                                                                                                       
1050                                                                                                                                                                                                       
1051                                                                                                                                                                                                       
1052                                                                                                                                                                                                       
1053                                                                                                                                                                                                       
1054
1055*/
1056!function(t,define){define("kendo.tooltip.min",["kendo.core.min","kendo.popup.min","kendo.fx.min"],t)}(function(){return function(t,o){function e(t){for(;t.length&&!n(t);)t=t.parent()}function n(t){var o=t.data(r.ns+"title");if(o)return t.attr("title",o),t.removeData(r.ns+"title"),!0}function i(t){var o=t.attr("title");if(o)return t.data(r.ns+"title",o),t.attr("title",""),!0}function s(t){for(;t.length&&!t.is("body")&&!i(t);)t=t.parent()}
1056var r=window.kendo,u=r.ui.Widget,p=r.ui.Popup,c=r.isFunction,l=t.isPlainObject,a=t.extend,h=t.proxy,f=t(document),d=r.isLocalUrl,m="_tt_active",w="aria-describedby",_="show",g="hide",v="error",k="contentLoad",y="requestStart",O="k-content-frame",b='<div role="tooltip" class="k-widget k-tooltip#if (!autoHide) {# k-tooltip-closable#}#"><div class="k-tooltip-content"></div>#if (!autoHide) {# <div class="k-tooltip-button"><a href="\\#" class="k-icon k-i-close" title="Close"></a></div> #}##if (callout){ #<div class="k-callout k-callout-#=dir#"></div>#}#</div>',S=r.template("<iframe frameborder='0' class='"+O+"' src='#= content.url #'>This page requires frames in order to show content</iframe>"),C=".kendoTooltip",T={bottom:{origin:"bottom center",position:"top center"},top:{origin:"top center",position:"bottom center"},left:{origin:"center left",position:"center right",collision:"fit flip"},right:{origin:"center right",position:"center left",collision:"fit flip"},center:{position:"center center",origin:"center center"}},H={top:"bottom",bottom:"top",left:"right",right:"left",center:"center"},x={bottom:"n",top:"s",left:"e",right:"w",center:"n"},A={horizontal:{offset:"top",size:"outerHeight"},vertical:{offset:"left",size:"outerWidth"}},D=function(t){return t.target.data(r.ns+"title")},E=u.extend({init:function(t,o){var e,n=this;u.fn.init.call(n,t,o),e=n.options.position.match(/left|right/)?"horizontal":"vertical",n.dimensions=A[e],n._documentKeyDownHandler=h(n._documentKeyDown,n),r.support.touch&&this._isShownOnMouseEnter()&&n.element.on(r.support.mousedown+C,n.options.filter,h(n._showOn,n)),n.element.on(n.options.showOn+C,n.options.filter,h(n._showOn,n)),(this._isShownOnMouseEnter()||this._isShownOnClick())&&n.element.on("mouseenter"+C,n.options.filter,h(n._mouseenter,n)),this.options.autoHide&&this._isShownOnMouseEnter()&&n.element.on("mouseleave"+C,n.options.filter,h(n._mouseleave,n)),this.options.autoHide&&this._isShownOnFocus()&&n.element.on("blur"+C,n.options.filter,h(n._blur,n)),r.support.touch&&n.element.on(r.support.mousedown+C,n.options.filter,h(n._mouseenter,n))},options:{name:"Tooltip",filter:"",content:D,showAfter:100,hideAfter:100,callout:!0,offset:0,position:"bottom",showOn:"mouseenter",autoHide:!0,width:null,height:null,animation:{open:{effects:"fade:in",duration:0},close:{duration:40,hide:!0}}},events:[_,g,k,v,y],_isShownOnFocus:function(){return this.options.showOn&&this.options.showOn.match(/focus/)},_isShownOnMouseEnter:function(){return this.options.showOn&&this.options.showOn.match(/mouseenter/)},_isShownOnClick:function(){return this.options.showOn&&this.options.showOn.match(/click/)},_mouseenter:function(o){s(t(o.currentTarget))},_showOn:function(o){var e=this,n=t(o.currentTarget);e._isShownOnClick()&&!e._isShownOnMouseEnter()?e._show(n):e._isShownOnFocus()?(s(n),e._show(n)):(clearTimeout(e.timeout),e.timeout=setTimeout(function(){e._show(n)},e.options.showAfter))},_appendContent:function(t){var o,e=this,n=e.options.content,i=e.content,s=e.options.iframe;l(n)&&n.url?("iframe"in e.options||(s=!d(n.url)),e.trigger(y,{options:n,target:t}),s?(i.hide(),o=i.find("."+O)[0],o?o.src=n.url||o.src:i.html(S({content:n})),i.find("."+O).off("load"+C).on("load"+C,function(){e.trigger(k),i.show()}
1056)):(i.empty(),r.ui.progress(i,!0),e._ajaxRequest(n))):n&&c(n)?(n=n({sender:this,target:t}),i.html(n||"")):i.html(n),e.angular("compile",function(){return{elements:i}})},_ajaxRequest:function(t){var o=this;jQuery.ajax(a({type:"GET",dataType:"html",cache:!1,error:function(t,e){r.ui.progress(o.content,!1),o.trigger(v,{status:e,xhr:t})},success:h(function(t){r.ui.progress(o.content,!1),o.content.html(t),o.trigger(k)},o)},t))},_documentKeyDown:function(t){t.keyCode===r.keys.ESC&&this.hide()},refresh:function(){var t=this,o=t.popup;o&&o.options.anchor&&t._appendContent(o.options.anchor)},hide:function(){this.popup&&this.popup.close()},show:function(t){t=t||this.element,s(t),this._show(t)},_show:function(t){var o=this,n=o.target();o.popup||o._initPopup(),n&&n[0]!=t[0]&&(o.popup.close(),o.popup.element.kendoStop(!0,!0)),n&&n[0]==t[0]||(o._appendContent(t),o.popup.options.anchor=t),o.popup.one("deactivate",function(){e(t),t.removeAttr(w),this.element.removeAttr("id").attr("aria-hidden",!0),f.off("keydown"+C,o._documentKeyDownHandler)}),o.popup._hovered=!0,o.popup.open()},_initPopup:function(){var e=this,n=e.options,i=t(r.template(b)({callout:n.callout&&"center"!==n.position,dir:x[n.position],autoHide:n.autoHide}));e.popup=new p(i,a({autosize:!0,activate:function(){var t=this.options.anchor,i=t[0].id||e.element[0].id;i&&(t.attr(w,i+m),this.element.attr("id",i+m)),n.callout?e._positionCallout():e._offset(e.options.position,e.options.offset),this.element.removeAttr("aria-hidden"),f.on("keydown"+C,e._documentKeyDownHandler),e.trigger(_),e.popup._hovered=o},close:function(){e.trigger(g)},copyAnchorStyles:!1,animation:n.animation},T[n.position])),i.css({width:n.width,height:n.height}),e.content=i.find(".k-tooltip-content"),e.arrow=i.find(".k-callout"),n.autoHide&&this._isShownOnMouseEnter()?i.on("mouseleave"+C,h(e._mouseleave,e)):i.on("click"+C,".k-tooltip-button",h(e._closeButtonClick,e))},_closeButtonClick:function(t){t.preventDefault(),this.hide()},_mouseleave:function(t){var o=this;clearTimeout(o.timeout),o.timeout=setTimeout(function(){o._closePopup(t.currentTarget)},o.options.hideAfter)},_blur:function(t){this._closePopup(t.currentTarget)},_closePopup:function(o){this.popup&&!this.popup._hovered?this.popup.close():e(t(o))},target:function(){return this.popup?this.popup.options.anchor:null},_positionCallout:function(){var o=this,e=o.options.position,n=o.dimensions,i=n.offset,s=o.popup,r=s.options.anchor,u=t(r).offset(),p=t(s.element).offset(),c=x[s.flipped?H[e]:e],l=u[i]-p[i]+t(r)[n.size]()/2;o._offset(e,o.options.offset),o.arrow.removeClass("k-callout-n k-callout-s k-callout-w k-callout-e").addClass("k-callout-"+c).css(i,l)},destroy:function(){var t=this.popup;t&&(t.element.off(C),t.destroy()),clearTimeout(this.timeout),this.element.off(C),f.off("keydown"+C,this._documentKeyDownHandler),u.fn.destroy.call(this)},_offset:function(t,o){var e=this,n="top"==t||"left"==t,i=e.popup.flipped,s=n&&i||!n&&!i?1:-1,u=n?"margin-"+t:"margin-"+H[t],p=r._outerWidth(e.arrow)/2+o;e.popup.wrapper.css(u,p*s+"px")}});r.ui.plugin(E)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,o,e){(e||o)()});
1057//# sourceMappingURL=kendo.tooltip.min.js.map
1058
1059/** 
1060 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1061 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1062 *                                                                                                                                                                                                      
1063 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1064 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1065 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1066                                                                                                                                                                                                       
1067                                                                                                                                                                                                       
1068                                                                                                                                                                                                       
1069                                                                                                                                                                                                       
1070                                                                                                                                                                                                       
1071                                                                                                                                                                                                       
1072                                                                                                                                                                                                       
1073                                                                                                                                                                                                       
1074                                                                                                                                                                                                       
1075                                                                                                                                                                                                       
1076                                                                                                                                                                                                       
1077                                                                                                                                                                                                       
1078                                                                                                                                                                                                       
1079                                                                                                                                                                                                       
1080                                                                                                                                                                                                       
1081
1082*/
1083!function(e,define){define("kendo.upload.min",["kendo.core.min"],e)}(function(){return function(e,t){function a(t){return e.map(n(t),function(e){return e.name}).join(", ")}function n(e){var t=e[0];return t.files?i(t.files):[{name:r(t.value),extension:s(t.value),size:null}]}function i(t){return e.map(t,function(e){return o(e)})}function o(e){var t=e.name||e.fileName;return{name:z.htmlEncode(t),extension:s(t),size:"number"==typeof e.size?e.size:e.fileSize,rawFile:e}}function s(e){var t=e.match(x);return t?t[0]:""}function r(e){var t=e.lastIndexOf("\\");
1083return t!=-1?e.substr(t+1):e}function l(t,a){var n=z.guid();return e.map(t,function(e){return e.uid=a?z.guid():n,e})}function p(e,t){var a,n=d(t.allowedExtensions),i=t.maxFileSize,o=t.minFileSize;for(a=0;a<e.length;a++)u(e[a],n),c(e[a],o,i)}function d(t){var a=e.map(t,function(e){var t="."===e.substring(0,1)?e:"."+e;return t.toLowerCase()});return a}function u(t,a){a.length>0&&a.indexOf(t.extension.toLowerCase())<0&&(t.validationErrors=t.validationErrors||[],e.inArray(V,t.validationErrors)===-1&&t.validationErrors.push(V))}function c(t,a,n){0!==a&&t.size<a&&(t.validationErrors=t.validationErrors||[],e.inArray(Z,t.validationErrors)===-1&&t.validationErrors.push(Z)),0!==n&&t.size>n&&(t.validationErrors=t.validationErrors||[],e.inArray(O,t.validationErrors)===-1&&t.validationErrors.push(O))}function f(e){var t,a=0;if("number"!=typeof e[0].size)return"";for(t=0;t<e.length;t++)e[t].size&&(a+=e[t].size);return a/=1024,a<1024?a.toFixed(2)+" KB":(a/1024).toFixed(2)+" MB"}function h(t){return!t.multiple&&e(".k-file",t.wrapper).length>1}function m(a,n,i,o){var s,r;return n._supportsRemove()?(s=a.data("fileNames"),r=e.map(s,function(e){return e.name}),o===!1?(n._removeFileEntry(a),t):(n._submitRemove(r,i,function(e,t,i){var o=n.trigger(R,{operation:"remove",files:s,response:e,XMLHttpRequest:i});o||n._removeFileEntry(a)},function(e){h(n)&&n._removeFileEntry(a),n.trigger(I,{operation:"remove",files:s,XMLHttpRequest:e}),b("Server response: "+e.responseText)}),t)):(!h(n)&&o||n._removeFileEntry(a),t)}function k(t,a,n){var i=!1,o="";try{o=e.parseJSON(v(t)),i=!0}catch(s){n()}i&&a(o)}function v(e){return t!==e&&""!==e||(e="{}"),e}function g(e){e.stopPropagation(),e.preventDefault()}function _(e,t,a,n){var i,o;e.on("dragenter"+t,function(e){a(e),o=new Date,i||(i=setInterval(function(){var e=new Date-o;e>100&&(n(),clearInterval(i),i=null)},100))}).on("dragover"+t,function(){o=new Date})}function y(e){return e.is(".k-file-progress, .k-file-success, .k-file-error")}function F(t){return e(t.target).closest(".k-file")}var w,C,z=window.kendo,S=z.ui.Widget,U=z.antiForgeryTokens,b=z.logToConsole,x=/\.([^\.]+)$/,A=".kendoUpload",D="select",E="upload",R="success",I="error",P="complete",N="cancel",T="clear",B="pause",H="resume",q="progress",M="remove",L="validationErrors",O="invalidMaxFileSize",Z="invalidMinFileSize",V="invalidFileExtension",j=1e3,X=2e3,W={loading:"k-i-upload",warning:"k-i-warning",success:"k-i-check"},K=S.extend({init:function(t,a){var n,i,o,s=this;S.fn.init.call(s,t,a),s.name=t.name,s.multiple=s.options.multiple,s.directory=s.options.directory,s.localization=s.options.localization,n=s.element,s.wrapper=n.closest(".k-upload"),0===s.wrapper.length&&(s.wrapper=s._wrapInput(n)),s._activeInput(n),s.toggle(s.options.enabled),i=s._ns=A+"-"+z.guid(),n.closest("form").on("submit"+i,e.proxy(s._onParentFormSubmit,s)).on("reset"+i,e.proxy(s._onParentFormReset,s)),s.options.async.saveUrl?(s._module=s._supportsFormData()?new C(s):new w(s),s._async=!0,o=s.options.files,o.length>0&&s._renderInitialFiles(o)):s._module=new G(s),s._toggleDropZone(),s.wrapper.on("click",".k-upload-action",e.proxy(s._onFileAction,s)).on("click",".k-clear-selected",e.proxy(s._onClearSelected,s)).on("click",".k-upload-selected",e.proxy(s._onUploadSelected,s)),s.element.val()&&s._onInputChange({target:s.element})},events:[D,E,R,I,P,N,T,q,M,B,H],options:{name:"Upload",enabled:!0,multiple:!0,directory:!1,show
1083FileList:!0,template:"",files:[],async:{autoRetryAfter:0,bufferChunkSize:1e7,maxAutoRetries:1,removeVerb:"POST",autoUpload:!0,withCredentials:!0,accept:"*/*; q=0.5, application/json",useArrayBuffer:!1},localization:{select:"Select files...",cancel:"Cancel",retry:"Retry",remove:"Remove",pause:"Pause",resume:"Resume",clearSelectedFiles:"Clear",uploadSelectedFiles:"Upload",dropFilesHere:"Drop files here to upload",invalidFiles:"Invalid file(s). Please check file upload requirements.",statusUploading:"uploading",statusUploaded:"uploaded",statusWarning:"warning",statusFailed:"failed",headerStatusUploading:"Uploading...",headerStatusPaused:"Paused",headerStatusUploaded:"Done",uploadSuccess:"File(s) uploaded successfully.",uploadFail:"File(s) failed to upload.",invalidMaxFileSize:"File size too large.",invalidMinFileSize:"File size too small.",invalidFileExtension:"File type not allowed."},validation:{allowedExtensions:[],maxFileSize:0,minFileSize:0},dropZone:""},setOptions:function(t){var a=this,n=a.element;e(a.options.dropZone).off(a._ns),S.fn.setOptions.call(a,t),a.multiple=a.options.multiple,a.directory=a.options.directory,n.attr("multiple",!!a._supportsMultiple()&&a.multiple),a.directory&&(n.attr("webkitdirectory",a.directory),n.attr("directory",a.directory)),a.toggle(a.options.enabled),a._toggleDropZone()},enable:function(e){e=t===e||e,this.toggle(e)},disable:function(){this.toggle(!1)},toggle:function(e){e=t===e?e:!e,this.wrapper.toggleClass("k-state-disabled",e),this.element.prop("disabled",e)},focus:function(){this.element.focus()},destroy:function(){var t=this,a=e(t.options.dropZone);e(document).add(e(".k-dropzone",t.wrapper)).add(t.wrapper.closest("form")).off(t._ns),a.length>0&&a.off(t._ns),e(t.element).off(A),S.fn.destroy.call(t)},pause:function(t){this._module.onPause({target:e(t,this.wrapper)});var a=t.find(".k-i-pause-sm");a.removeClass("k-i-pause-sm").addClass("k-i-play-sm").attr("title",this.localization.resume),e(a).parent().attr("aria-label",this.localization.resume)},resume:function(t){this._module.onResume({target:e(t,this.wrapper)});var a=t.find(".k-i-play-sm");a.removeClass("k-i-play-sm").addClass("k-i-pause-sm").attr("title",this.localization.pause),e(a).parent().attr("aria-label",this.localization.pause)},upload:function(){var e=this;e._module.onSaveSelected()},getFiles:function(){var t,a,n,i=this,o=[],s=i.wrapper.find(".k-file");for(a=0;a<s.length;a++)if(t=e(s[a]).data("fileNames"))for(n=0;n<t.length;n++)o.push(t[n]);return o},clearAllFiles:function(){var e=this,t=e.wrapper.find(".k-file");t.each(function(t,a){e._removeFileByDomElement(a,!1)})},removeAllFiles:function(){var e=this,t=e.wrapper.find(".k-file");t.each(function(t,a){e._removeFileByDomElement(a,!0)})},removeFileByUid:function(e){this._removeFileByUid(e,!0)},clearFileByUid:function(e){this._removeFileByUid(e,!1)},_removeFileByUid:function(t,a){var n,i=this;"string"==typeof t&&(n=e(".k-file["+z.attr("uid")+'="'+t+'"]',i.wrapper),n.length>0&&i._removeFileByDomElement(n,a))},clearFile:function(e){this._removeFile(e,!1)},removeFile:function(e){this._removeFile(e,!0)},_removeFile:function(t,a){var n,i=this,o=i.wrapper.find(".k-file");"function"==typeof t&&o.each(function(o,s){n=e(s).data("fileNames"),t(n)&&i._removeFileByDomElement(s,a)})},_removeFileByDomElement:function(t,a){var n,i=this,o={target:e(t,i.wrapper)};i.options.async.saveUrl?(e(t).hasClass("k-file-progress")?i._module.onCancel(o):i._module.onRemove(o,{},a),n=e(".k-file",i.wrapper),0===n.length?i._hideHeaderUploadstatus():i._updateHeaderUploadStatus()):i._module.onRemove(o,{},a)},_addInput:function(t){if(t[0].nodeType){var a=this,n=t.clone().val("");n.insertAfter(a.element).data("kendo"+a.options.prefix+a.options.name,a),e(a.element).hide().attr("tabindex","-1").removeAttr("id").off(A),a._activeInput(n),a.element.focus()}},_activeInput:function(t){var a=this,n=a.wrapper;a.element=t,a.directory&&(t.attr("webkitdirectory",a.directory),t.attr("directory",a.directory)),t.attr("multiple",!!a._supportsMultiple()&&a.multiple).attr("autocomplete","off").on("click"+A,function(e){n.hasClass("k-state-disabled")&&e.preventDefault()}).on("focus"+A,function(){e(this).parent().addClass("k-state-focused")}).on("blur"+A,function(){e(this).parent().removeClass("k-state-focused")}).on("change"+A,e.proxy(a._onInputChange,a)).on("keydown"+A,e.proxy(a._onInputKeyDown,a))},_onInputKeyDown:function(e){var t=this,a=t.wrapper.find(".k-upload-action:visible:first");e.keyCode===z.keys.TAB&&a.length>0&&!e.shiftKey&&(e.preventDefault(),a.focus())},_onInputChange:function(t){var a,n=this,i=e(t.target),o=l(n._inputFiles(i),n._isAsyncNonBatch());p(o,n.options.validation),a=n.trigger(D,{files:o}),a?(n._addInput(i),i.remove()):n._module.onSelect({target:i},o)},_readDirectory:function(t){var a=new e.Deferred,n=t.createReader(),i=[],o=function(){n.readEntries(function(e){e.length?(i=i.concat(e),o()):a.resolve(i)},a.reject)};return o(),a.promise()},_readFile:function(e){var t=this,a=e.fullPath;e.file(function(e){e.relativePath=a.slice(1),t.droppedFolderFiles.push(e),t.droppedFolderCounter--,0===t.droppedFolderCounter&&setTimeout(function(){0===t.droppedFolderCounter&&t.droppedFolderFiles.length&&(t._proceedDroppedItems(t.droppedFolderFiles),t.droppedFolderFiles=[])},0)},function(){b("File error.")})},_traverseFileTree:function(e,t){var a=this;t||a.droppedFolderCounter--,this._readDirectory(e).then(function(e){a.droppedFolderCounter+=e.length;for(var t=0;t<e.length;t++)e[t].isFile?a._readFile(e[t]):e[t].isDirectory&&a._traverseFileTree(e[t])})},_onDrop:function(e){var t,a,n,i=e.originalEvent.dataTransfer,o=this,s=i.files;if(g(e),o.options.directoryDrop&&i.items)for(t=i.items.length,o.droppedFolderCounter=0,o.droppedFolderFiles=[],a=0;a<t;a++)i.items[a].webkitGetAsEntry?(n=i.items[a].webkitGetAsEntry(),n.isDirectory?o._traverseFileTree(n,!0):n.isFile&&o.droppedFolderFiles.push(i.files[a])):o._proceedDroppedItems(s);else o._proceedDroppedItems(s)},_proceedDroppedItems:function(t){var a,n=this,o=l(i(t),n._isAsyncNonBatch());t.length>0&&!n.wrapper.hasClass("k-state-disabled")&&(!n.multiple&&o.length>1&&o.splice(1,o.length-1),p(o,n.options.validation),a=n.trigger(D,{files:o}),a||n._module.onSelect({target:e(".k-dropzone",n.wrapper)},o))},_filesContainValidationErrors:function(t){var a=!1;return e(t).each(function(e,t){if(t[L]&&t[L].length>0)return a=!0,!1}),a},_isAsyncNonBatch:function(){return this._async&&!this.options.async.batch||!1},_renderInitialFiles:function(e){var t,a,n=this,i=0;for(e=l(e,!0),i=0;i<e.length;
1083i++)t=e[i],a=n._enqueueFile(t.name,{fileNames:[t]}),a.addClass("k-file-success").data("files",[e[i]]),n._supportsRemove()&&n._fileAction(a,M)},_prepareTemplateData:function(e,t){var a=t.fileNames,n={},i=0,o=0;for(o=0;o<a.length;o++)i+=a[o].size;return n.name=e,n.size=i,n.files=t.fileNames,n},_prepareDefaultSingleFileEntryTemplate:function(t){var a=this,n=t.fileNames[0],i=f(t.fileNames),o=z.getFileGroup(n.extension,!0),s=n[L],r="";return r+=s&&s.length>0?"<li class='k-file k-file-invalid'><div class='k-progressbar k-hidden'><span class='k-progress'></span></div><span class='k-file-invalid-group-wrapper'><span class='k-file-group k-icon k-i-"+o+"'></span><span class='k-file-state'></span></span><span class='k-file-name-size-wrapper'><span class='k-file-name k-file-name-invalid' title='"+n.name+"'>"+n.name+"</span><span class='k-file-validation-message k-text-error'>"+a.localization[s[0]]+"</span></span>":"<li class='k-file'><div class='k-progressbar k-hidden'><span class='k-progress'></span></div><span class='k-file-group-wrapper'><span class='k-file-group k-icon k-i-"+o+"'></span><span class='k-file-state'></span></span><span class='k-file-name-size-wrapper'><span class='k-file-name' title='"+n.name+"'>"+n.name+"</span><span class='k-file-size'>"+i+"</span></span>",r+="<strong class='k-upload-status'></strong>",e(r)},_prepareDefaultMultipleFileEntriesTemplate:function(t){var a,n,i,o=this,s=t.fileNames,r=o._filesContainValidationErrors(s),l=f(s),p="";for(p+=r?"<li class='k-file k-file-invalid'><div class='k-progressbar k-hidden'><span class='k-progress'></span></div><span class='k-multiple-files-invalid-group-wrapper'><span class='k-file-group k-icon k-i-files'></span>":"<li class='k-file'><div class='k-progressbar k-hidden'><span class='k-progress'></span></div><span class='k-multiple-files-group-wrapper'><span class='k-file-group k-icon k-i-files'></span>",p+="<span class='k-file-state'></span></span>",s.sort(function(e,t){return e[L]?-1:t[L]?1:0}),p+="<span class='k-multiple-files-wrapper'>",a=0;a<s.length;a++)n=s[a],i=f([n]),p+="<span class='k-file-name-size-wrapper'>",p+=n[L]&&n[L].length>0?"<span class='k-file-name k-file-name-invalid' title='"+n.name+"'>"+n.name+"</span>":"<span class='k-file-name' title='"+n.name+"'>"+n.name+"</span>",p+="<span class='k-file-size'>"+i+"</span></span>";return p+=r?"<span class='k-file-validation-message k-text-error'>"+o.localization.invalidFiles+"</span>":"<span class='k-file-information'>Total: "+s.length+" files, "+l+"</span>",p+="</span><strong class='k-upload-status'></strong>",e(p)},_enqueueFile:function(t,a){var n,i,o,s,r=this,l=a.fileNames[0].uid,p=e(".k-upload-files",r.wrapper),d=r.options,u=d.template;return 0===p.length&&(p=e("<ul class='k-upload-files k-reset'></ul>").appendTo(r.wrapper),r.options.showFileList||p.hide(),r.wrapper.removeClass("k-upload-empty")),n=e(".k-file",p),u?(o=r._prepareTemplateData(t,a),u=z.template(u),i=e("<li class='k-file'>"+u(o)+"</li>"),i.find(".k-upload-action").addClass("k-button k-button-icon k-flat"),r.angular("compile",function(){return{elements:i,data:[o]}})):i=1===a.fileNames.length?r._prepareDefaultSingleFileEntryTemplate(a):r._prepareDefaultMultipleFileEntriesTemplate(a),i.attr(z.attr("uid"),l).appendTo(p).data(a),r._async||e(".k-progress",i).width("100%"),!r.multiple&&n.length>0&&(s={files:n.data("fileNames"),headers:{}},r.trigger(M,s)||r._module.onRemove({target:e(n,r.wrapper)},s)),i},_removeFileEntry:function(t){var a,n,i,o=this,s=t.closest(".k-upload-files");t.remove(),a=e(".k-file",s),n=e(".k-file-success, .k-file-error",s),i=e(".k-file-invalid",s),n.length!==a.length&&i.length!==a.length||this._hideActionButtons(),0===a.length?(s.remove(),o.wrapper.addClass("k-upload-empty"),o._hideHeaderUploadstatus()):o._updateHeaderUploadStatus()},_fileAction:function(e,t,a){var n,i={remove:"k-i-x",cancel:"k-i-cancel",retry:"k-i-retry",pause:"k-i-pause-sm"},o={remove:"k-i-close",cancel:"k-i-cancel",retry:"k-i-reload-sm",pause:"k-i-pause-sm"};i.hasOwnProperty(t)&&(a||this._clearFileAction(e),this.options.template?(n=e.find(".k-upload-action").first(),n.find(".k-icon").length?n.next(".k-upload-action").length&&n.next(".k-upload-action").addClass("k-button").append("<span class='k-icon "+o[t]+" "+i[t]+"' title='"+this.localization[t]+"'aria-label='"+this.localization[t]+"'></span>").show():n.addClass("k-button").append("<span class='k-icon "+o[t]+" "+i[t]+"' title='"+this.localization[t]+"'aria-label='"+this.localization[t]+"'></span>").show()):(a||e.find(".k-upload-status .k-upload-action").remove(),e.find(".k-upload-status").append(this._renderAction(i[t],this.localization[t],o[t]))))},_fileState:function(t,a){var n=this.localization,i={uploading:{text:n.statusUploading},uploaded:{text:n.statusUploaded},failed:{text:n.statusFailed}},o=i[a];o&&e("span.k-file-state",t).text(o.text)},_renderAction:function(t,a,n){return""!==t?e("<button type='button' class='k-button k-button-icon k-flat k-upload-action' aria-label='"+a+"'><span class='k-icon "+n+" "+t+"' title='"+a+"'></span></button>").on("focus",function(){e(this).addClass("k-state-focused")}).on("blur",function(){e(this).removeClass("k-state-focused")}):e("<button type='button' class='k-button'>
1083"+a+"</button>")},_clearFileAction:function(t){e(".k-upload-action",t).empty().hide()},_onFileAction:function(t){var a,n,i,o,s,r,l=this;return l.wrapper.hasClass("k-state-disabled")||(a=e(t.target).closest(".k-upload-action"),n=a.find(".k-icon"),i=a.closest(".k-file"),o=i.data("fileNames"),s=l._filesContainValidationErrors(o),r={files:o,headers:{}},l._retryClicked=!1,n.hasClass("k-i-x")?l.trigger(M,r)||l._module.onRemove({target:e(i,l.wrapper)},r,!s):n.hasClass("k-i-cancel")?(l.trigger(N,r),l._module.onCancel({target:e(i,l.wrapper)}),l._checkAllComplete(),l._updateHeaderUploadStatus()):n.hasClass("k-i-pause-sm")?(l.trigger(B,r),l.pause(i),l._updateHeaderUploadStatus()):n.hasClass("k-i-play-sm")?(l.trigger(H,r),l.resume(i)):n.hasClass("k-i-retry")&&(e(".k-i-warning",i).remove(),e(".k-progressbar",i).finish().show(),l._module.onRetry({target:e(i,l.wrapper)}),l._retryClicked=!0)),!1},_onUploadSelected:function(){var e=this,t=e.wrapper;return t.hasClass("k-state-disabled")||this._module.onSaveSelected(),!1},_onClearSelected:function(){var e=this,t=e.wrapper,a={};return t.hasClass("k-state-disabled")||e.trigger(T,a)||e.clearAllFiles(),!1},_onFileProgress:function(t,a){var n;a>100&&(a=100),e(".k-progressbar",t.target).removeClass("k-hidden"),this.options.template?e(".k-progress",t.target).width(a+"%"):(n=e(".k-upload-pct",t.target),0===n.length&&e(".k-upload-status",t.target).prepend("<span class='k-upload-pct'></span>"),100!==a?e(".k-upload-pct",t.target).text(a+"%"):e(".k-upload-pct",t.target).remove(),e(".k-progress",t.target).width(a+"%")),this.trigger(q,{files:F(t).data("fileNames"),percentComplete:a})},_onUploadSuccess:function(e,t,a){var n=this,i=F(e),o=i.data("fileNames"),s=i.find(".k-file-information"),r=i.find(".k-file-size"),l=n.trigger(R,{files:i.data("fileNames"),response:t,operation:"upload",XMLHttpRequest:a});l?n._setUploadErrorState(i):(n._fileState(i,"uploaded"),i.removeClass("k-file-progress").addClass("k-file-success"),s.length>0?s.addClass("k-hidden").after('<span class="k-file-validation-message k-text-success">'+o.length+" "+n.localization.uploadSuccess+"</span>"):r.length>0&&r.addClass("k-hidden").after('<span class="k-file-validation-message k-text-success">'+n.localization.uploadSuccess+"</span>"),n._updateHeaderUploadStatus(),n._supportsRemove()?n._fileAction(i,M):n._clearFileAction(i)),n._hideUploadProgress(i),n._checkAllComplete()},_onUploadError:function(e,t){var a=this,n=a._module,i=F(e),o=i.data("uid");a._setUploadErrorState(i),a.trigger(I,{operation:"upload",files:i.data("fileNames"),XMLHttpRequest:t}),b("Server response: "+t.responseText),a.options.async.chunkSize?n._decreasePosition&&n._decreasePosition(o):a._hideUploadProgress(i),a._checkAllComplete(),this.options.async.autoRetryAfter&&this._autoRetryAfter(i)},_autoRetryAfter:function(e){var t=this,a=this._module.retries;a&&(a[e.data("uid")]||(a[e.data("uid")]=1),a[e.data("uid")]<=this.options.async.maxAutoRetries&&(a[e.data("uid")]++,setTimeout(function(){t._module.performUpload(e)},this.options.async.autoRetryAfter)))},_setUploadErrorState:function(t){var a,n=this,i=t.data("fileNames"),o=t.find(".k-file-information"),s=t.find(".k-file-size");n._fileState(t,"failed"),t.removeClass("k-file-progress").addClass("k-file-error"),o.length>0?o.addClass("k-hidden").after('<span class="k-file-validation-message k-text-error">'+i.length+" "+n.localization.uploadFail+"</span>"):s.length>0&&s.addClass("k-hidden").after('<span class="k-file-validation-message k-text-error">'+n.localization.uploadFail+"</span>"),n._updateUploadProgress(t),a=e(".k-upload-pct",t),a.length>0&&a.remove(),this._updateHeaderUploadStatus(),this._fileAction(t,"retry"),this._fileAction(t,M,!0),n._retryClicked&&t.find(".k-i-retry").parent().focus()},_updateUploadProgress:function(t){var a,n,i,o=this;o.options.async.chunkSize?(a=t.data("uid"),o._module.metaData&&(n=o._module.metaData[a],n&&(i=n.totalChunks?Math.round(n.chunkIndex/n.totalChunks*100):100,o._onFileProgress({target:e(t,o.wrapper)},i)))):e(".k-progress",t).width("100%")},_hideUploadProgress:function(t){e(".k-progressbar",t).delay(j).fadeOut(X,function(){e(this).find(".k-progress").css("width","0%")})},_showActionButtons:function(){var t=this,a=e(".k-action-buttons",t.wrapper),n=e(".k-upload-selected",t.wrapper),i=e(".k-clear-selected",t.wrapper);0===n.length&&(n=t._renderAction("",this.localization.uploadSelectedFiles).addClass("k-upload-selected").addClass("k-primary"),i=t._renderAction("",this.localization.clearSelectedFiles).addClass("k-clear-selected")),a.length||(a=e("<div />").addClass("k-action-buttons").append(i,n)),this.wrapper.append(a)},_hideActionButtons:function(){e(".k-action-buttons",this.wrapper).remove()},_showHeaderUploadStatus:function(t){var a=this,n=a.localization,i=e(".k-dropzone",a.wrapper),o=e(".k-upload-status-total",a.wrapper);0!==o.length&&o.remove(),e(".k-dropzone-hint",a.wrapper).addClass("k-hidden"),o='<strong class="k-upload-status k-upload-status-total"><span class="k-icon"></span></strong>',t?(o=e(o).append(n.headerStatusUploading),o.find(".k-icon").addClass(W.loading)):(o=e(o
1083).append(n.headerStatusUploaded),o.find(".k-icon").addClass(W.warning)),i.length>0?i.append(o):e(".k-upload-button",a.wrapper).after(o)},_updateHeaderUploadStatus:function(){var t,a,n=this,i=e(".k-upload-status-total",this.wrapper),o=e(".k-file",n.wrapper).not(".k-file-success, .k-file-error, .k-file-invalid"),s=e(".k-file-invalid",n.wrapper),r=e(".k-file-error",n.wrapper),l=e(".k-file",n.wrapper).find(".k-i-play-sm");!l.length||l.length!==o.length&&n.options.async.concurrent?(0===o.length||s.length>0||r.length>0)&&(t=e(".k-file.k-file-error, .k-file.k-file-invalid",n.wrapper),i=e(".k-upload-status-total",n.wrapper),a=e(".k-icon",i).removeClass().addClass("k-icon").addClass(0!==t.length?W.warning:W.success),i.html(a).append(n.localization.headerStatusUploaded)):(a=e(".k-icon",i).removeClass().addClass("k-icon").addClass("k-i-pause-sm"),i.html(a).append(n.localization.headerStatusPaused))},_hideHeaderUploadstatus:function(){var t=this,a=t.options.dropZone;e(".k-upload-status-total",this.wrapper).remove(),""===a&&e(".k-dropzone-hint",t.wrapper).removeClass("k-hidden")},_onParentFormSubmit:function(){var a,n=this,i=n.element;t!==this._module.onAbort&&this._module.onAbort(),i.value||(a=e(i),a.attr("disabled","disabled"),window.setTimeout(function(){a.removeAttr("disabled")},0))},_onParentFormReset:function(){e(".k-upload-files",this.wrapper).remove()},_supportsFormData:function(){return"undefined"!=typeof FormData},_supportsMultiple:function(){var e=this._userAgent().indexOf("Windows")>-1;return!(z.support.browser.opera||z.support.browser.safari&&e)},_supportsDrop:function(){var e=this._userAgent().toLowerCase(),t=/chrome/.test(e),a=!t&&/safari/.test(e),n=a&&/windows/.test(e);return!n&&this._supportsFormData()&&this.options.async.saveUrl},_userAgent:function(){return navigator.userAgent},_setupDropZone:function(){var t=this,a=t._ns,n=e(".k-dropzone",t.wrapper).on("dragenter"+a,g).on("dragover"+a,function(e){e.preventDefault()}).on("drop"+a,e.proxy(t._onDrop,t));n.find(".k-dropzone-hint").length||n.append(e("<em class='k-dropzone-hint'>"+t.localization.dropFilesHere+"</em>")),_(n,a,function(){n.closest(".k-upload").hasClass("k-state-disabled")||n.addClass("k-dropzone-hovered")},function(){n.removeClass("k-dropzone-hovered")}),t._bindDocumentDragEventWrappers(n)},_setupCustomDropZone:function(){var t,a=this,n=e(a.options.dropZone);a.wrapper.find(".k-dropzone-hint").length?e(".k-dropzone-hint",a.wrapper).addClass("k-hidden"):e(".k-dropzone",a.wrapper).append(e("<em class='k-dropzone-hint k-hidden'>"+a.localization.dropFilesHere+"</em>")),t=a._ns,n.on("dragenter"+t,g).on("dragover"+t,function(e){e.preventDefault()}).on("drop"+t,e.proxy(a._onDrop,a)),_(n,t,function(t){a.wrapper.hasClass("k-state-disabled")||(n.removeClass("k-dropzone-hovered"),n.addClass("k-dropzone-hovered"),e(t.target).addClass("k-dropzone-hovered"))},function(){n.removeClass("k-dropzone-hovered"),n.find(".k-dropzone-hovered").removeClass("k-dropzone-hovered")}),a._bindDocumentDragEventWrappers(n)},_bindDocumentDragEventWrappers:function(t){var a=this,n=a._ns;_(e(document),n,function(){a.wrapper.hasClass("k-state-disabled")||(t.addClass("k-dropzone-active"),t.closest(".k-upload").removeClass("k-upload-empty"),t.find(".k-dropzone-hint").removeClass("k-hidden"))},function(){t.removeClass("k-dropzone-active"),t.find(".k-dropzone-hint").addClass("k-hidden"),0===e("li.k-file",t.closest(".k-upload")).length&&t.closest(".k-upload").addClass("k-upload-empty")})},_toggleDropZone:function(){var t=this,a=t.options.dropZone;t._supportsDrop()&&(e(a).off(t._ns),e(".k-dropzone",t.wrapper).off(t._ns),""!==a?t._setupCustomDropZone():t._setupDropZone())},_supportsRemove:function(){return!!this.options.async.removeUrl},_submitRemove:function(t,a,n,i){var o=this,s=o.options.async.removeField||"fileNames",r=e.extend(a.data,U());r[s]=t,jQuery.ajax({type:this.options.async.removeVerb,dataType:"json",dataFilter:v,url:this.options.async.removeUrl,traditional:!0,data:r,headers:a.headers,success:n,error:i,xhrFields:{withCredentials:this.options.async.withCredentials}})},_wrapInput:function(e){var t=this,a=t.options;return e.wrap("<div class='k-widget k-upload'><div class='k-dropzone'><div class='k-button k-upload-button' aria-label='"+this.localization.select+"'></div></div></div>"),a.async.saveUrl?e.closest(".k-upload").addClass("k-upload-async"):e.closest(".k-upload").addClass("k-upload-sync"),e.closest(".k-upload").addClass("k-upload-empty"),e.closest(".k-button").append("<span>"+this.localization.select+"</span>"),e.closest(".k-upload")},_checkAllComplete:function(){0===e(".k-file.k-file-progress",this.wrapper).length&&this.trigger(P)},_inputFiles:function(e){return n(e)}}),G=function(e){this.name="syncUploadModule",this.element=e.wrapper,this.upload=e,this.element.closest("form").attr("enctype","multipart/form-data").attr("encoding","multipart/form-data")};G.prototype={onSelect:function(t,n){var i,o,s=this.upload,r=e(t.target),l=s._filesContainValidationErrors(n);s._addInput(r),i={fileNames:n}
1083,l?r.remove():i.relatedInput=r,o=s._enqueueFile(a(r),i),l&&s._hideUploadProgress(o),s._fileAction(o,M)},onRemove:function(e){var t=F(e),a=t.data("relatedInput");a&&a.remove(),this.upload._removeFileEntry(t)}},w=function(e){this.name="iframeUploadModule",this.element=e.wrapper,this.upload=e,this.iframes=[]},K._frameId=0,w.prototype={onSelect:function(t,a){var n=this.upload,i=e(t.target),o=n._filesContainValidationErrors(a),s=this.prepareUpload(i,a,o);n.options.async.autoUpload?o?(n._fileAction(s,M),n._showHeaderUploadStatus(!1)):this.performUpload(s):(n._fileAction(s,M),o?n._updateHeaderUploadStatus():n._showActionButtons()),o&&n._hideUploadProgress(s)},prepareUpload:function(t,n,i){var o,s,r,l,p=this.upload,d=e(p.element),u=p.options.async.saveField||t.attr("name");return p._addInput(t),t.attr("name",u),i?(t.remove(),s={fileNames:n}):(r=this.createFrame(p.name+"_"+K._frameId++),this.registerFrame(r),l=this.createForm(p.options.async.saveUrl,r.attr("name")).append(d),s={frame:r,relatedInput:d,fileNames:n}),o=p._enqueueFile(a(t),s),r&&r.data({form:l,file:o}),o},performUpload:function(t){var a,n,i,o={files:t.data("fileNames")},s=t.data("frame"),r=this.upload,l=t.find(".k-file-validation-message"),p=t.find(".k-file-information"),d=t.find(".k-file-size");if(r.trigger(E,o))r._removeFileEntry(s.data("file")),this.cleanupFrame(s),this.unregisterFrame(s);else{r._hideActionButtons(),r._showHeaderUploadStatus(!0),s.appendTo(document.body),a=s.data("form").attr("action",r.options.async.saveUrl).appendTo(document.body),o.data=e.extend({},o.data,U());for(n in o.data)i=a.find("input[name='"+n+"']"),0===i.length&&(i=e("<input>",{type:"hidden",name:n}).prependTo(a)),i.val(o.data[n]);r._fileAction(t,N),r._fileState(t,"uploading"),e(t).removeClass("k-file-error").addClass("k-file-progress"),l.length>0&&l.remove(),p.length>0?p.removeClass("k-hidden"):d.length>0&&d.removeClass("k-hidden"),s.one("load",e.proxy(this.onIframeLoad,this)),a[0].submit()}},onSaveSelected:function(){var t=this,a=t.upload;e(".k-file",this.element).each(function(){var n=e(this),i=y(n),o=a._filesContainValidationErrors(n.data("fileNames"));i||o||t.performUpload(n)})},onIframeLoad:function(t){var a,n=e(t.target);try{a=n.contents().text()}catch(i){a="Error trying to get server response: "+i}this.processResponse(n,a)},processResponse:function(t,a){var n=t.data("file"),i=this,o={responseText:a};k(a,function(a){e.extend(o,{statusText:"OK",status:"200"}),i.upload._onFileProgress({target:e(n,i.upload.wrapper)},100),i.upload._onUploadSuccess({target:e(n,i.upload.wrapper)},a,o),i.cleanupFrame(t),i.unregisterFrame(t)},function(){e.extend(o,{statusText:"error",status:"500"}),i.upload._onUploadError({target:e(n,i.upload.wrapper)},o)})},onCancel:function(t){var a=e(t.target).data("frame");this.stopFrameSubmit(a),this.cleanupFrame(a),this.unregisterFrame(a),this.upload._removeFileEntry(a.data("file"))},onRetry:function(e){var t=F(e);this.performUpload(t)},onRemove:function(e,t,a){var n=this,i=n.upload,o=F(e),s=o.data("frame");s?(n.unregisterFrame(s),i._removeFileEntry(o),n.cleanupFrame(s)):o.hasClass("k-file-success")?m(o,i,t,a):i._removeFileEntry(o)},onAbort:function(){var t=this.element,a=this;e.each(this.iframes,function(){e("input",this.data("form")).appendTo(t),a.stopFrameSubmit(this[0]),this.data("form").remove(),this.remove()}),this.iframes=[]},createFrame:function(t){return e("<iframe name='"+t+"' id='"+t+"' style='display:none;' />")},createForm:function(t,a){return e("<form enctype='multipart/form-data' method='POST' action='"+t+"' target='"+a+"'/>")},stopFrameSubmit:function(e){t!==e.stop?e.stop():e.document&&e.document.execCommand("Stop")},registerFrame:function(e){this.iframes.push(e)},unregisterFrame:function(t){this.iframes=e.grep(this.iframes,function(e){return e.attr("name")!=t.attr("name")})},cleanupFrame:function(e){var t=e.data("form");e.data("file").data("frame",null),setTimeout(function(){t.remove(),e.remove()},1)}},C=function(e){this.name="formDataUploadModule",this.element=e.wrapper,this.upload=e,this.position={},this.metaData={},this.cancelled={},this.resume={},this.paused={},this.retries={}},C.prototype={onSelect:function(t,a){var n,i,o=this.upload,s=this,r=e(t.target),l=this.prepareUpload(r,a);e.each(l,function(t){n=o._filesContainValidationErrors(e(this.data("fileNames"))),o.options.async.autoUpload?n?(o._fileAction(this,M),o._showHeaderUploadStatus(!1)):o.options.async.chunkSize?(s.prepareChunk(this),i=this.prev(),(o.options.async.concurrent||0===t&&!i.length||0===t&&i.hasClass("k-file-success"))&&s.performUpload(this)):s.performUpload(this):(o._fileAction(this,M),n?o._updateHeaderUploadStatus():(o._showActionButtons(),this.addClass("k-toupload"))),n&&o._hideUploadProgress(this)})},prepareUpload:function(t,a){var n=this.enqueueFiles(a);return t.is("input")&&(e.each(n,function(){e(this).data("relatedInput",t)}),t.data("relatedFileEntries",n),this.upload._addInput(t)),n},enqueueFiles:function(t){var a,n,i,o,s=this.upload,r=t.length,l=[];
vendor: 4,138 bytes, lines 1083-1084
1083if(s.options.async.batch===!0)a=e.map(t,function(e){return e.name}).join(", "),(s.directory||s.options.directoryDrop)&&e(t).each(function(){(this.rawFile.webkitRelativePath||this.rawFile.relativePath)&&(this.name=this.rawFile.webkitRelativePath||this.rawFile.relativePath)}),o=s._enqueueFile(a,{fileNames:t}),o.data("files",t),l.push(o);else for(n=0;n<r;n++)i=t[n],a=i.name,(s.directory||s.options.directoryDrop)&&(i.rawFile.webkitRelativePath||i.rawFile.relativePath)&&(i.name=i.rawFile.webkitRelativePath||i.rawFile.relativePath),o=s._enqueueFile(a,{fileNames:[i]}),o.data("files",[i]),l.push(o);return l},performUpload:function(t){var a,n,i=this.upload,o=this.createFormData(),s=this.createXHR(),r={files:t.data("fileNames"),XMLHttpRequest:s},l=t.find(".k-file-validation-message"),p=t.find(".k-file-information"),d=t.find(".k-file-size");if(i.trigger(E,r))this.removeFileEntry(t);else{if(0===t.find(".k-i-cancel").length&&(i.options.async.chunkSize&&i._fileAction(t,B),i._fileAction(t,N,i.options.async.chunkSize)),i.wrapper.find(".k-toupload").length||i._hideActionButtons(),i._showHeaderUploadStatus(!0),r.formData)o=r.formData;else{r.data=e.extend({},r.data,U());
1084for(n in r.data)o.append(n,r.data[n]);a=t.data("files"),a&&this.populateFormData(o,a)}i._fileState(t,"uploading"),e(t).removeClass("k-file-error").addClass("k-file-progress"),l.length>0&&l.remove(),p.length>0?p.removeClass("k-hidden"):d.length>0&&d.removeClass("k-hidden"),i.options.async.useArrayBuffer&&window.FileReader?this._readFile(i.options.async.saveUrl,o,t,s):this.postFormData(i.options.async.saveUrl,o,t,s)}},_readFile:function(a,n,i,o){var s=this,r=s.upload,l=i.data("files")[0],p=new FileReader;p.onload=function(p){try{s.fileArrayBuffer=s.fileArrayBuffer?s._appendBuffer(s.fileArrayBuffer,p.target.result):p.target.result}catch(d){return r._onUploadError({target:e(i,r.wrapper)},o),t}s.position[l.uid]>l.size?(s.postFormData(r.options.async.saveUrl,s.fileArrayBuffer,i,o),s.fileArrayBuffer=null):s._readFile(a,n,i,o)},p.onerror=function(){r._onUploadError({target:e(i,r.wrapper)},o)},p.readAsArrayBuffer(s._getCurrentChunk(l.rawFile,l.uid))},_appendBuffer:function(e,t){var a=new Uint8Array(e.byteLength+t.byteLength);return a.set(new Uint8Array(e),0),a.set(new Uint8Array(t),e.byteLength),a.buffer},onSaveSelected:function(){var t=this,a=t.upload;e(".k-toupload",this.element).filter(function(){var t=e(this),n=y(t),i=a._filesContainValidationErrors(t.data("fileNames"));return!n&&!i}).each(function(n){var i=e(this),o=i.prev();i.removeClass("k-toupload"),a.options.async.chunkSize?(t.prepareChunk(i),(a.options.async.concurrent||0===n&&!o.length||0===n&&o.hasClass("k-file-success")||o.hasClass("k-file-error"))&&t.performUpload(i)):t.performUpload(i)})},onCancel:function(e){var t=F(e);this.upload.options.async.chunkSize&&(this.cancelled[t.data("uid")]=!0),this.stopUploadRequest(t),this.removeFileEntry(t)},onPause:function(e){var t=F(e),a=t.data("uid"),n=this.upload.options.async;n.chunkSize&&(this.retries[a]=n.maxAutoRetries+1,this.paused[a]=!0,this.resume[a]=!1)},onResume:function(e){var t=F(e),a=t.data("uid");this.upload.options.async.chunkSize&&(delete this.paused[a],this.resume[a]=!0,this.retries[t.data("uid")]=1,this._increaseChunkIndex(a),this.performUpload(t))},onRetry:function(e){var t=F(e),a=this.upload.options.async;a.chunkSize&&(this.retries[t.data("uid")]=a.maxAutoRetries+1,delete this.paused[t.data("uid")]),this.performUpload(t)},onRemove:function(e,t,a){var n=this,i=n.upload,o=F(e),s=this.upload.options.async;s.chunkSize&&(this.retries[o.data("uid")]=s.maxAutoRetries+1),o.hasClass("k-file-success")?m(o,i,t,a):n.removeFileEntry(o)},createXHR:function(){return new XMLHttpRequest},postFormData:function(e,t,a,n){var i,o=this;a.data("request",n),n.addEventListener("load",function(e){o.onRequestSuccess.call(o,e,a)},!1),n.addEventListener(I,function(e){o.onRequestError.call(o,e,a)},!1),n.upload.addEventListener("progress",function(e){o.onRequestProgress.call(o,e,a)},!1),n.open("POST",e,!0),n.withCredentials=this.upload.options.async.withCredentials,i=this.upload.options.async.accept,i&&n.setRequestHeader("Accept",i
1084),n.send(t)},createFormData:function(){return new FormData},populateFormData:function(e,t){var a,n,i,o,s=t.length,r=this.upload;if(r.options.async.chunkSize)i=t[0].uid,a=this._getCurrentChunk(t[0].rawFile,i),e.append(r.options.async.saveField||r.name,a),o=JSON.stringify(this.metaData[i]),e.append("metadata",o);else for(n=0;n<s;n++)e.append(r.options.async.saveField||r.name,t[n].rawFile);return e},onRequestSuccess:function(t,a){function n(){s.upload._onUploadError({target:e(a,s.upload.wrapper)},o)}function i(t){var n=s.upload.options.async.batch,i=s.upload.options.async.chunkSize,r=s.upload.options.async.concurrent,l=t.fileUid;s.paused[l]||s.cancelled[l]||(delete s.retries[l],!i||n||t.uploaded?!i||n||r||!a.next().length||a.next().hasClass("k-toupload")?(s.upload._onFileProgress({target:e(a,s.upload.wrapper)},100),s.upload._onUploadSuccess({target:e(a,s.upload.wrapper)},t,o),s.cleanupFileEntry(a)):(s.upload._onFileProgress({target:e(a,s.upload.wrapper)},100),s._resetChunkIndex(l),s.upload._onUploadSuccess({target:e(a,s.upload.wrapper)},t,o),s.performUpload(a.next())):(s._increaseChunkIndex(l),s.performUpload(a)))}var o=t.target,s=this;o.status>=200&&o.status<=299?k(o.responseText,i,n):n()},onRequestError:function(t,a){var n=t.target;this.upload._onUploadError({target:e(a,this.upload.wrapper)},n)},cleanupFileEntry:function(t){var a=t.data("relatedInput"),n=!0;a&&(e.each(a.data("relatedFileEntries")||[],function(){this.parent().length>0&&this[0]!=t[0]&&(n=n&&this.hasClass("k-file-success"))}),n&&a.remove())},removeFileEntry:function(e){var t=this.upload.options.async.chunkSize,a=this.upload.options.async.concurrent,n=this.upload.wrapper.find(".k-upload-selected").length>0;this.cleanupFileEntry(e),!t||a||n||e.next().length&&this.performUpload(e.next()),this.upload._removeFileEntry(e)},onRequestProgress:function(t,a){var n,i=Math.round(100*t.loaded/t.total),o=a.data("uid");this.upload.options.async.chunkSize&&(n=this.metaData[o],i=n&&n.totalChunks?Math.round(n.chunkIndex/n.totalChunks*100):100),this.upload._onFileProgress({target:e(a,this.upload.wrapper)},i)},stopUploadRequest:function(e){e.data("request").abort()},prepareChunk:function(e){var t=e.data("files")[0],a=t.rawFile,n=t.uid,i=this.upload.options.async.chunkSize;this.position[n]=0,this.metaData[n]={chunkIndex:0,contentType:a.type,fileName:a.name,relativePath:t.name,totalFileSize:a.size,totalChunks:Math.ceil(a.size/i),uploadUid:n}},_decreaseChunkIndex:function(e){this.metaData[e].chunkIndex--},_increaseChunkIndex:function(e){this.metaData[e].chunkIndex++},_resetChunkIndex:function(e){this.metaData[e].chunkIndex=0},_decreasePosition:function(e){this.position[e]-=this.upload.options.async.chunkSize},_getCurrentChunk:function(e,t){var a,n=this.position[t],i=this.upload.options.async,o=i.chunkSize||i.bufferChunkSize;return this.position[t]||(this.position[t]=0),this.position[t]+=o,(a=this._getChunker(e))?e[a](n,this.position[t]):e},_getChunker:function(e){return e.slice?"slice":e.mozSlice?"mozSlice":e.webkitSlice?"webkitSlice":null}},z.ui.plugin(K)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
1085//# sourceMappingURL=kendo.upload.min.js.map
1086
1087/** 
1088 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1089 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1090 *                                                                                                                                                                                                      
1091 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1092 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1093 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1094                                                                                                                                                                                                       
1095                                                                                                                                                                                                       
1096                                                                                                                                                                                                       
1097                                                                                                                                                                                                       
1098                                                                                                                                                                                                       
1099                                                                                                                                                                                                       
1100                                                                                                                                                                                                       
1101                                                                                                                                                                                                       
1102                                                                                                                                                                                                       
1103                                                                                                                                                                                                       
1104                                                                                                                                                                                                       
1105                                                                                                                                                                                                       
1106                                                                                                                                                                                                       
1107                                                                                                                                                                                                       
1108                                                                                                                                                                                                       
1109
1110*/
1111!function(t,define){define("kendo.validator.min",["kendo.core.min"],t)}(function(){return function(t,e){function a(e){var a,r=u.ui.validator.ruleResolvers||{},i={};for(a in r)t.extend(!0,i,r[a].resolve(e));return i}function r(t){return t.replace(/&amp/g,"&amp;").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")}function i(t){return t=(t+"").split("."),t.length>1?t[1].length:0}function n(e){return t(t.parseHTML?t.parseHTML(e):e)}function s(e,a){var r,i,n,s,l=t();for(n=0,s=e.length;n<s;n++)r=e[n],h.test(r.className)&&(i=r.getAttribute(u.attr("for")),i===a&&(l=l.add(r)));return l}var l,o,u=window.kendo,d=u.ui.Widget,m=".kendoValidator",F="k-invalid-msg",h=RegExp(F,"i"),c="k-invalid",f="k-valid",p="k-validation-summary",v="k-text-error",g="k-messagebox k-messagebox-error",_="aria-invalid",y="aria-describedby",D=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/i,C=/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,k=":input:not(:button,[type=submit],[type=reset],[disabled],[readonly])",b=":checkbox:not([disabled],[readonly])",E="[type=number],[type=range]",S="blur",A="name",x="form",w="novalidate",z="validate",M="change",I="validateInput",V=t.proxy,B=function(t,e){return"string"==typeof e&&(e=RegExp("^(?:"+e+")$")),e.test(t)},L=function(t,e,a){var r=t.val();return!t.filter(e).length||""===r||B(r,a)},q=function(t,e){return!!t.length&&null!=t[0].attributes[e]};u.ui.validator||(u.ui.validator={rules:{},messages:{},allowSubmit:t.noop,validateOnInit:t.noop}),l='<ul>#for(var i = 0; i < errors.length; i += 1){#<li><a data-field="#=errors[i].field#" href="\\#">#= errors[i].message #</a></li># } #</ul>',o=d.extend({init:function(e,r){var i=this,n=a(e),s="["+u.attr("validate")+"!=false]";r=r||{},r.rules=t.extend({},u.ui.validator.rules,n.rules,r.rules),r.messages=t.extend({},u.ui.validator.messages,n.messages,r.messages),d.fn.init.call(i,e,r),i._errorTemplate=u.template(i.options.errorTemplate),i._summaryTemplate=u.template(i.options.validationSummary.template||l),i.element.is(x)&&i.element.attr(w,w),i._inputSelector=k+s,i._checkboxSelector=b+s,i._errors={},i._attachEvents(),i._isValidated=!1,i._validateOnInit()&&i.validate()},events:[z,M,I],options:{name:"Validator",errorTemplate:'<span class="k-form-error">#= message #</span>',messages:{required:"{0} is required",pattern:"{0}
1111 is not valid",min:"{0} should be greater than or equal to {1}",max:"{0} should be smaller than or equal to {1}",step:"{0} is not valid",email:"{0} is not valid email",url:"{0} is not valid URL",date:"{0} is not valid date",dateCompare:"End date should be greater than or equal to the start date"},rules:{required:function(t){var e=t.filter("[type=checkbox]").length&&!t.is(":checked"),a=t.val();return!(q(t,"required")&&(!a||""===a||0===a.length||e))},pattern:function(t){return!t.filter("[type=text],[type=email],[type=url],[type=tel],[type=search],[type=password]").filter("[pattern]").length||""===t.val()||B(t.val(),t.attr("pattern"))},min:function(t){if(t.filter(E+",["+u.attr("type")+"=number]").filter("[min]").length&&""!==t.val()){var e=parseFloat(t.attr("min"))||0,a=u.parseFloat(t.val());return e<=a}return!0},max:function(t){if(t.filter(E+",["+u.attr("type")+"=number]").filter("[max]").length&&""!==t.val()){var e=parseFloat(t.attr("max"))||0,a=u.parseFloat(t.val());return e>=a}return!0},step:function(t){if(t.filter(E+",["+u.attr("type")+"=number]").filter("[step]").length&&""!==t.val()){var e,a=parseFloat(t.attr("min"))||0,r=parseFloat(t.attr("step"))||1,n=parseFloat(t.val()),s=i(r);return s?(e=Math.pow(10,s),Math.floor((n-a)*e)%(r*e)/Math.pow(100,s)===0):(n-a)%r===0}return!0},email:function(t){return L(t,"[type=email],["+u.attr("type")+"=email]",D)},url:function(t){return L(t,"[type=url],["+u.attr("type")+"=url]",C)},date:function(t){return!t.filter("[type^=date],["+u.attr("type")+"=date]").length||""===t.val()||null!==u.parseDate(t.val(),t.attr(u.attr("format")))}},validateOnBlur:!0,validationSummary:!1},_allowSubmit:function(){return u.ui.validator.allowSubmit(this.element,this.errors())},_validateOnInit:function(){return u.ui.validator.validateOnInit(this.element)},destroy:function(){d.fn.destroy.call(this),this.element.off(m),this.validationSummary&&(this.validationSummary.off(m),this.validationSummary=null)},value:function(){return!!this._isValidated&&0===this.errors().length},_submit:function(t){return!(!this.validate()&&!this._allowSubmit())||(t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault(),!1)},_checkElement:function(t){var e=this.value();this.validateInput(t),this.value()!==e&&this.trigger(M)},_attachEvents:function(){var e=this;e.element.is(x)&&e.element.on("submit"+m,V(e._submit,e)),e.options.validateOnBlur&&(e.element.is(k)?(e.element.on(S+m,function(){e._checkElement(e.element)}),e.element.is(b)&&e.element.on("click"+m,function(){e._checkElement(e.element)})):(e.element.on(S+m,e._inputSelector,function(){e._checkElement(t(this))}),e.element.on("click"+m,e._checkboxSelector,function(){e._checkElement(t(this))})))},validate:function(){var t,e,a,r,i=!1,n=this.value();if(this._errors={},this.element.is(k))i=this.validateInput(this.element);else{for(r=!1,t=this.element.find(this._inputSelector),e=0,a=t.length;e<a;e++)this.validateInput(t.eq(e))||(r=!0);i=!r}return this.options.validationSummary&&!n&&this.showValidationSummary(),this.trigger(z,{valid:i,errors:this.errors()}),n!==i&&this.trigger(M),i},validateInput:function(e){var a,i,s,l,o,d,m,h,p,g,y,D,C,k,b,E,S;return e=t(e),this._isValidated=!0,a=this,i=a._errorTemplate,s=a._checkValidity(e),l=s.valid,o="."+F,d=e.attr(A)||"",m=a._findMessageContainer(d).add(e.next(o).filter(function(){var e=t(this);return!e.filter("["+u.attr("for")+"]").length||e.attr(u.attr("for"))===d})).addClass("k-hidden"),h=l?"":a._extractMessage(e,s.key),p=l?"":n(i({message:r(h),field:d})),g=!e.attr(_),e.removeAttr(_),l?delete a._errors[d]:(a._errors[d]=h,y=m.attr("id"),a._decorateMessageContainer(p,d),y&&p.attr("id",y),0!==m.length?m.replaceWith(p):(D=u.widgetInstance(e),C=e.parent().get(0),k=e.next().get(0),p.insertAfter(C&&"LABEL"===C.nodeName?C:k&&"LABEL"===k.nodeName?k:D&&D.wrapper?D.wrapper:e)),p.removeClass("k-hidden"),e.attr(_,!0)),g!==l&&this.trigger(I,{valid:l,input:e,error:h,field:d}),e.toggleClass(c,!l),e.toggleClass(f,l),u.widgetInstance(e)&&(b=u.widgetInstance(e)._inputWrapper,E=u.widgetInstance(e)._inputLabel,b&&(b.toggleClass(c,!l),b.toggleClass(f,l)),E&&E.toggleClass(v,!l)),g!==l&&(S=p?p.attr("id"):m.attr("id"),a._associateMessageContainer(e,S),this.options.validationSummary&&this.options.validateOnBlur&&this.showValidationSummary()),l},hideMessages:function(){var t=this,e="."+F,a=t.element;t._disassociateMessageContainers(),a.is(k)?a.next(e).addClass("k-hidden"):a.find(e).addClass("k-hidden")},reset:function(){var t=this,e=t.element.find("."+c);t._errors=[],t.hideMessages(),t.hideValidationSummary(),e.removeAttr(_),e.removeClass(c)},_findMessageContainer:function(e){var a,r,i,n=u.ui.validator.messageLocators,l=t();for(r=0,i=this.element.length;r<i;r++)l=l.add(s(this.element[r].getElementsByTagName("*"),e));for(a in n)l=l.add(n[a].locate(this.element,e));return l},_decorateMessageContainer:function(t,e){var a,r=u.ui.validator.messageLocators;t.addClass(F).attr(u.attr("for"),e||""),t.attr("id")||t.attr("id",e+"-error");for(a in r)r[a].decorate(t,e)},_extractMessage:function(t,e){var a,r=this,i=r.options.messages[e],n=t.attr(A);return u.ui.Validator.prototype.options.messages[e]||(a=u.isFunction(i)?i(t):i),i=u.isFunction(i)?i(t):i,u.format(t.attr(u.attr(e+"-msg"))||t.attr("validationMessage")||a||i||t.attr("title")||"",n,t.attr(e)||t.attr(u.attr(e)))},_checkValidity:function(t){var e,a=this.options.rules;for(e in a)if(!a[e].call(this,t))return{valid:!1,key:e};return{valid:!0}},errors:function(){var t,e=[],a=this._errors;for(t in a)e.push(a[t]);return e},setOptions:function(t){t.validationSummary&&this.hideValidationSummary(),u.deepExtend(this.options,t),this.destroy(),this.init(this.element,this.options),this._setEvents(this.options)},_getInputNames:function(){var e,a,r,i=this,n=i.element.find(i._inputSelector),s=[];for(e=0,a=n.length;e<a;e++)r=t(n[e]),q(r,A)&&s.push(r.attr(A));return s},_associateMessageContainer:function(t,e){var a=u.getWidgetFocusableElement(t);a&&e&&u.toggleAttribute(a,y,e)},_disassociateMessageContainers:function(){var e,a,r,i=this,n=i.element.find("."+c).addBack();for(r=0;r<n.length;r+=1)e=t(n[r]),e.is("input")&&(a=i._findMessageContainer(e.attr(A)).add(e.next("."+F)).attr("id"),i._associateMessageContainer(e,a))},_errorsByName:function(){var t,e,a=this,r=a._getInputNames(),i=[];for(t=0;t<r.length;
1111t+=1)e=r[t],a._errors[e]&&i.push({field:e,message:a._errors[e]});return i},_renderSummary:function(){var e,a=this,r=this.options.validationSummary,i=this.element,n=i.prev();return e=r.container?t(r.container):n&&n.hasClass(p)?n:t("<div />").insertBefore(a.element),e.addClass([p,g].join(" ")),e.attr("role","alert"),e.on("click"+m,V(a._summaryClick,a)),e},_summaryClick:function(e){e.preventDefault();var a,r=this,i=t(e.target),n=r.element.find("[name='"+i.data("field")+"']");n.length&&(a=u.getWidgetFocusableElement(n),a&&a.focus())},showValidationSummary:function(){var t,e=this,a=e.validationSummary,r=e._errorsByName();a||(a=e.validationSummary=e._renderSummary()),t=n(e._summaryTemplate({errors:r})),a.html(t),a.toggleClass("k-hidden",!r.length)},hideValidationSummary:function(){var t=this,e=t.validationSummary;e&&e.addClass("k-hidden")}}),u.ui.plugin(o)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,a){(a||e)()});
1112//# sourceMappingURL=kendo.validator.min.js.map
1113
1114/** 
1115 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1116 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1117 *                                                                                                                                                                                                      
1118 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1119 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1120 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1121                                                                                                                                                                                                       
1122                                                                                                                                                                                                       
1123                                                                                                                                                                                                       
1124                                                                                                                                                                                                       
1125                                                                                                                                                                                                       
1126                                                                                                                                                                                                       
1127                                                                                                                                                                                                       
1128                                                                                                                                                                                                       
1129                                                                                                                                                                                                       
1130                                                                                                                                                                                                       
1131                                                                                                                                                                                                       
1132                                                                                                                                                                                                       
1133                                                                                                                                                                                                       
1134                                                                                                                                                                                                       
1135                                                                                                                                                                                                       
1136
1137*/
1138!function(e,define){define("kendo.listview.min",["kendo.data.min","kendo.editable.min","kendo.selectable.min"],e)}(function(){return function(e,t){var n=window.kendo,r="change",i="kendoKeydown",a="cancel",o="dataBound",s="dataBinding",l=n.ui.Widget,c=n.keys,d="",u=".k-listview-content > *:not(.k-loading-mask)",m="progress",f="error",p="k-state-focused",g="k-state-selected",h="k-edit-item",_="edit",b="remove",v="save",w="mousedown",y="click",k="touchstart",S=".kendoListView",x=e.proxy,E=n._activeElement,T=n.ui.progress,C=n.data.DataSource,P=n.ui.DataBoundWidget.extend({init:function(t,r){var i=this;r=e.isArray(r)?{dataSource:r}:r,l.fn.init.call(i,t,r),r=i.options,i.wrapper=t=i.element,t[0].id&&(i._itemId=t[0].id+"_lv_active"),i._element
1138(),i._layout(),i._dataSource(),i._templates(),i._navigatable(),i._selectable(),i._pageable(),i._crudHandlers(),i._scrollable(),i.options.autoBind&&i.dataSource.fetch(),n.notify(i)},events:[r,a,s,o,_,b,v,i],options:{name:"ListView",autoBind:!0,selectable:!1,navigatable:!1,height:null,template:d,altTemplate:d,editTemplate:d,contentTemplate:"<div data-content='true' />",bordered:!0,borders:"",layout:"",flex:{direction:"row",wrap:"nowrap"},grid:{}},setOptions:function(e){l.fn.setOptions.call(this,e),this._layout(),this._templates(),this.selectable&&(this.selectable.destroy(),this.selectable=null),this._selectable()},_templates:function(){var e=this.options;this.template=n.template(e.template||d),this.altTemplate=n.template(e.altTemplate||e.template),this.editTemplate=n.template(e.editTemplate||d)},_item:function(e){return this.content.children()[e]()},items:function(){return this.content.children()},dataItem:function(t){var r=n.attr("uid"),i=e(t).closest("["+r+"]").attr(r);return this.dataSource.getByUid(i)},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this.options.autoBind&&e.fetch()},_unbindDataSource:function(){var e=this;e.dataSource.unbind(r,e._refreshHandler).unbind(m,e._progressHandler).unbind(f,e._errorHandler)},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._refreshHandler=x(e.refresh,e),e._progressHandler=x(e._progress,e),e._errorHandler=x(e._error,e)),e.dataSource=C.create(e.options.dataSource).bind(r,e._refreshHandler).bind(m,e._progressHandler).bind(f,e._errorHandler)},_progress:function(e){var t=this.content;T(t,e,{opacity:!0})},_error:function(){T(this.content,!1)},_element:function(){var t=this.options,n=t.height;this.element.addClass("k-widget k-listview").attr("role","listbox"),this.content=e("<div />").appendTo(this.element),n&&this.element.css("height",n)},_layout:function(){var e=this,n=e.options,r=n.flex,i=n.grid,a=e.element,o=["k-widget","k-listview"],s=e.content,l=["k-listview-content"];a.add(s).removeClass(function(e,t){if(t.indexOf("k-")>=0)return!0}),n.bordered===!0&&o.push("k-listview-bordered"),"string"==typeof n.borders&&n.borders!==d&&o.push("k-listview-borders-"+n.borders),"string"==typeof n.contentPadding&&n.contentPadding!==d&&l.push("k-listview-content-padding-"+n.contentPadding),"string"==typeof n.layout&&n.layout!==d&&l.push("k-d-"+n.layout),"flex"===n.layout&&"object"==typeof r&&("string"==typeof r.direction&&""!==r.direction&&l.push("k-flex-"+r.direction),"string"==typeof r.wrap&&""!==r.wrap&&l.push("k-flex-"+r.wrap)),"grid"===n.layout&&"object"==typeof i&&("number"==typeof i.cols?s.css("grid-template-columns","repeat("+i.cols+", 1fr)"):"string"==typeof i.cols&&s.css("grid-template-columns",i.cols),"number"==typeof i.rows?s.css("grid-template-rows","repeat("+i.rows+", "+(i.rowHeight!==t?i.rowHeight:"1fr")+")"):"string"==typeof i.rows&&s.css("grid-template-rows",i.rows),"number"==typeof i.gutter?s.css("grid-gap",i.gutter):"string"==typeof i.gutter&&s.css("grid-gap",i.gutter)),e.element.addClass(o.join(" ")),e.content.addClass(l.join(" "))},refresh:function(e){var r,i,a,l,c,d=this,u=d.dataSource.view(),m="",f=d.template,p=d.altTemplate,g=E(),h=d._endlessFetchInProgress,_=h?d._skipRerenderItemsCount:0,b=d.options.scrollable;if(e=e||{},"itemchange"===e.action)return d._hasBindingTarget()||d.editable||(r=e.items[0],a=d.items().filter("["+n.attr("uid")+"="+r.uid+"]"),a.length>0&&(l=a.index(),d.angular("cleanup",function(){return{elements:[a]}}),a.replaceWith(f(r)),a=d.items().eq(l),a.attr(n.attr("uid"),r.uid),d.angular("compile",function(){return{elements:[a],data:[{dataItem:r}]}}),d.trigger("itemChange",{item:a,data:r}))),t;if(!d.trigger(s,{action:e.action||"rebind",items:e.items,index:e.index})){for(d._angularItems("cleanup"),h||d._destroyEditable(),l=_,c=u.length;l<c;l++)m+=l%2?p(u[l]):f(u[l]);for(h?d.content.append(m):d.content.html(m),i=d.items().not(".k-loading-mask"),l=_,c=u.length;l<c;l++)i.eq(l).attr(n.attr("uid"),u[l].uid).attr("role","option").attr("aria-selected","false");d.content[0]===g&&d.options.navigatable&&(d._focusNext?d.current(d.current().next()):b||d.current(i.eq(0))),d._angularItems("compile"),d._progress(!1),d._endlessFetchInProgress=null,d.trigger(o,{action:e.action||"rebind",items:e.items,index:e.index})}},_pageable:function(){var t,r,i=this,a=i.options.pageable;e.isPlainObject(a)&&(r=a.pagerId,t=e.extend({},a,{dataSource:i.dataSource,pagerId:null}),i.pager=new n.ui.Pager(e("#"+r),t))},_selectable:function(){var e,i,a=this,o=a.options.selectable,s=a.options.navigatable;o&&(e=n.ui.Selectable.parseOptions(o).multiple,a.selectable=new n.ui.Selectable(a.element,{aria:!0,multiple:e,filter:u,change:function(){a.trigger(r)}}
1138),s&&a.element.on("keydown"+S,function(n){if(n.keyCode===c.SPACEBAR){if(i=a.current(),n.target==n.currentTarget&&n.preventDefault(),e)if(n.ctrlKey){if(i&&i.hasClass(g))return i.removeClass(g),t}else a.selectable.clear();else a.selectable.clear();a.selectable.value(i)}}))},_scrollable:function(){var e,t=this,n=t.options.scrollable;n&&(t.content.css({"overflow-y":"scroll",position:"relative","-webkit-overflow-scrolling":"touch"}),"endless"===n&&(e=t._endlessPageSize=t.dataSource.options.pageSize,t.content.off("scroll"+S).on("scroll"+S,function(){this.scrollTop+this.clientHeight-this.scrollHeight>=-15&&!t._endlessFetchInProgress&&t._endlessPageSize<t.dataSource.total()&&(t._skipRerenderItemsCount=t._endlessPageSize,t._endlessPageSize=t._skipRerenderItemsCount+e,t.dataSource.options.endless=!0,t._endlessFetchInProgress=!0,t.dataSource.pageSize(t._endlessPageSize))})))},current:function(e){var n=this,r=n.element,i=n._current,a=n._itemId;return e===t?i:(i&&i[0]&&(i[0].id===a&&i.removeAttr("id"),i.removeClass(p),r.removeAttr("aria-activedescendant")),e&&e[0]&&(a=e[0].id||a,n._scrollTo(e[0]),r.attr("aria-activedescendant",a),e.addClass(p).attr("id",a)),n._current=e,t)},_scrollTo:function(t){var n,r,i=this,a=i.content,o=!1,s="scroll";"auto"===a.css("overflow")||a.css("overflow")===s||a.css("overflow-y")===s?n=a[0]:(n=window,o=!0),r=function(r,i){var a=o?e(t).offset()[r.toLowerCase()]:t["offset"+r],l=t["client"+i],c=e(n)[s+r](),d=e(n)[i.toLowerCase()]();a+l>c+d?e(n)[s+r](a+l-d):a<c&&e(n)[s+r](a)},r("Top","Height"),r("Left","Width")},_navigatable:function(){var t=this,r=t.options.navigatable,i=t.element,a=t.content,o=function(r){t.current(e(r.currentTarget)),e(r.target).is(":button, a, :input, a > .k-icon, textarea")||n.focusElement(i)};r&&(t._tabindex(),i.on("focus"+S,function(){var e=t._current;e&&e.is(":visible")||(e=t._item("first")),t.current(e)}).on("focusout"+S,function(){t._current&&t._current.removeClass(p)}).on("keydown"+S,t,function(r){var i,o,s=r.keyCode,l=t.current(),d=e(r.target),u=!d.is(":button, textarea, a, a > .t-icon, input"),m=d.is(":text, :password"),f=n.preventDefault,p=a.find("."+h),g=E(),_=t.options.scrollable;if(!(!u&&!m&&s!==c.ESC||m&&s!==c.ESC&&s!==c.ENTER)&&(s!==c.UP&&s!==c.LEFT||(l&&l[0]&&(l=l.prev()),l&&l[0]?t.current(l):_||t.current(t._item("last")),f(r)),s!==c.DOWN&&s!==c.RIGHT||(_?"endless"!==t.options.scrollable||l.next().length?(l=l.next(),l&&l[0]&&t.current(l)):(t.content[0].scrollTop=t.content[0].scrollHeight,t._focusNext=!0):(l=l.next(),t.current(l&&l[0]?l:t._item("first"))),f(r)),s===c.PAGEUP&&(t.current(null),t.dataSource.page(t.dataSource.page()-1),f(r)),s===c.PAGEDOWN&&(t.current(null),t.dataSource.page(t.dataSource.page()+1),f(r)),s===c.HOME&&(t.current(t._item("first")),f(r)),s===c.END&&(t.current(t._item("last")),f(r)),s===c.ENTER&&(0!==p.length&&(u||m)?(i=t.items().index(p),g&&g.blur(),t.save(),o=function(){t.element.trigger("focus"),t.current(t.items().eq(i))},t.one("dataBound",o)):""!==t.options.editTemplate&&t.edit(l)),s===c.ESC)){if(p=a.find("."+h),0===p.length)return;i=t.items().index(p),t.cancel(),t.element.trigger("focus"),t.current(t.items().eq(i))}}),i.on(w+S+" "+k+S,u,x(o,t)))},clearSelection:function(){var e=this;e.selectable.clear(),e.trigger(r)},select:function(n){var r=this,i=r.selectable;return n=e(n),n.length?(i.options.multiple||(i.clear(),n=n.first()),i.value(n),t):i.value()},_destroyEditable:function(){var e=this;e.editable&&(e.editable.destroy(),delete e.editable)},_modelFromElement:function(e){var t=e.attr(n.attr("uid"));return this.dataSource.getByUid(t)},_closeEditable:function(){var e,t,r,i=this,a=i.editable,o=i.template;return a&&(a.element.index()%2&&(o=i.altTemplate),i.angular("cleanup",function(){return{elements:[a.element]}}),e=i._modelFromElement(a.element),i._destroyEditable(),r=a.element.index(),a.element.replaceWith(o(e)),t=i.items().eq(r),t.attr(n.attr("uid"),e.uid),t.attr("role","option"),i._hasBindingTarget()&&n.bind(t,e),i.angular("compile",function(){return{elements:[t],data:[{dataItem:e}]}})),!0},edit:function(e){var t,r,i=this,a=i._modelFromElement(e),o=a.uid;i.cancel(),e=i.items().filter("["+n.attr("uid")+"="+o+"]"),r=e.index(),e.replaceWith(i.editTemplate(a)),t=i.items().eq(r).addClass(h).attr(n.attr("uid"),a.uid),i.editable=t.kendoEditable({model:a,clearContainer:!1,errorTemplate:!1,target:i}).data("kendoEditable"),i.trigger(_,{model:a,item:t})},save:function(){var e,t,n=this,r=n.editable;r&&(t=r.element,e=n._modelFromElement(t),r.end()&&!n.trigger(v,{model:e,item:t})&&(n._closeEditable(),n.dataSource.sync()))},remove:function(e){var t=this,n=t.dataSource,r=t._modelFromElement(e);t.editable&&(n.cancelChanges(t._modelFromElement(t.editable.element)),t._closeEditable()),t.trigger(b,{model:r,item:e})||(e.hide(),n.remove(r),n.sync())},add:function(){var e,t=this,n=t.dataSource,r=n.indexOf((n.view()||[])[0]);r<0&&(r=0),t.cancel(),e=n.insert(r,{}),t.edit(t.element.find("[data-uid='"+e.uid+"']"))},cancel:function(){var e,t,n=this,r=n.dataSource;n.editable&&(e=n.editable.element,t=n._modelFromElement(e),n.trigger(a,{model:t,container:e})||(r.cancelChanges(t),n._closeEditable()))},_crudHandlers:function(){var t=this,r=w+S,i=k+S,a=y+S;t.content.on(r+" "+i,".k-edit-button",function(r){r.preventDefault();var i=e(this).closest("["+n.attr("uid")+"]");setTimeout(function(){t.edit(i)})}),t.content.on(r+" "+i,".k-delete-button",function(r){r.preventDefault();var i=e(this).closest("["+n.attr("uid")+"]");setTimeout(function(){t.remove(i)})}),t.content.on(a,".k-update-button",function(e){t.save(),e.preventDefault()}),t.content.on(a,".k-cancel-button",function(e){t.cancel(),e.preventDefault()})},destroy:function(){var e=this;l.fn.destroy.call(e),e._unbindDataSource(),e._destroyEditable(),e.element.off(S),e.content.off(S),e._endlessFetchInProgress=e._endlessPageSize=e._skipRerenderItemsCount=e._focusNext=null,e.pager&&e.pager.destroy(),n.destroy(e.element)}});n.ui.plugin(P)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
1139//# sourceMappingURL=kendo.listview.min.js.map
1140
1141/** 
1142 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1143 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1144 *                                                                                                                                                                                                      
1145 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1146 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1147 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1148                                                                                                                                                                                                       
1149                                                                                                                                                                                                       
1150                                                                                                                                                                                                       
1151                                                                                                                                                                                                       
1152                                                                                                                                                                                                       
1153                                                                                                                                                                                                       
1154                                                                                                                                                                                                       
1155                                                                                                                                                                                                       
1156                                                                                                                                                                                                       
1157                                                                                                                                                                                                       
1158                                                                                                                                                                                                       
1159                                                                                                                                                                                                       
1160                                                                                                                                                                                                       
1161                                                                                                                                                                                                       
1162                                                                                                                                                                                                       
1163
1164*/
1165!function(e,define){define("kendo.treeview.min",["kendo.data.min","kendo.treeview.draganddrop.min"],e)}(function(){return function(e,t){function n(e){return function(t){var n=t.children(".k-animation-container");return n.length||(n=t),n.children(e)}}function a(e){return p.template(e,{useWithBlock:!1})}function i(e){return e.find(".k-checkbox-wrapper:first input[type=checkbox]")}function r(e){return function(t,n){n=n.closest(G);var a,i=n.parent();return i.parent().is("li")&&(a=i.parent()),this._dataSourceMove(t,i,a,function(t,a){var i=this.dataItem(n),r=i?i.parent().indexOf(i):n.index();return this._insert(t.data(),a,r+e)})}}function s(e,t){for(var n;e&&"ul"!=e.nodeName.toLowerCase();)n=e,e=e.nextSibling,3==n.nodeType&&(n.nodeValue=p.trim(n.nodeValue)),u.test(n.className)?t.insertBefore(n,t.firstChild):t.appendChild(n)}function o(t){var n=t.children("div"),a=t.children("ul"),i=n.children(".k-icon"),r=t.children("input[type=checkbox]"),o=n.children(".k-in");t.hasClass("k-treeview")||(n.length||(n=e("<div />").prependTo(t)),!i.length&&a.length?i=e("<span class='k-icon' />").prependTo(n):a.length&&a.children().length||(i.remove(),a.remove()),r.length&&e("<span class='k-checkbox-wrapper' />").appendTo(n).append(r),o.length||(o=t.children("a").eq(0).addClass("k-in k-link"),o.length||(o=e("<span class='k-in' />")),o.appendTo(n),n.length&&s(n[0].nextSibling,o[0])))}var d,l,c,h,u,p=window.kendo,f=p.ui,g=p.data,m=e.extend,k=p.template,v=e.isArray,_=f.Widget,x=g.HierarchicalDataSource,b=e.proxy,C=p.keys,w=".kendoTreeView",y=".kendoTreeViewTemp",S="select",N="check",T="navigate",I="expand",D="change",B="error",A="checked",O="indeterminate",U="c
1165ollapse",E="dragstart",L="drag",H="drop",V="dragend",q="dataBound",F="click",j="undefined",R="k-state-hover",P="k-treeview",M=":visible",G=".k-item",Q="string",W="aria-checked",J="aria-selected",X="aria-disabled",Y="aria-expanded",$="k-state-disabled",z={text:"dataTextField",url:"dataUrlField",spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField"},K=function(e){return e instanceof p.jQuery||window.jQuery&&e instanceof window.jQuery},Z=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&typeof e.nodeName===Q};l=n(".k-group"),c=n(".k-group,.k-content"),h=function(e){return e.children("div").children(".k-icon")},u=/k-sprite/,d=p.ui.DataBoundWidget.extend({init:function(e,t){var n,a=this,i=!1,r=t&&!!t.dataSource;v(t)&&(t={dataSource:t}),t&&typeof t.loadOnDemand==j&&v(t.dataSource)&&(t.loadOnDemand=!1),_.prototype.init.call(a,e,t),e=a.element,t=a.options,a._dataSourceUids={},n=e.is("ul")&&e||e.hasClass(P)&&e.children("ul"),i=!r&&n.length,i&&(t.dataSource.list=n),a._animation(),a._accessors(),a._templates(),e.hasClass(P)?(a.wrapper=e,a.root=e.children("ul").eq(0)):(a._wrapper(),n&&(a.root=e,a._group(a.wrapper))),a._tabindex(),a.wrapper.attr("role","tree"),a._dataSource(i),a._attachEvents(),a._dragging(),i?a._syncHtmlAndDataSource():t.autoBind&&(a._progress(!0),a.dataSource.fetch()),t.checkboxes&&t.checkboxes.checkChildren&&a.updateIndeterminate(),a.element[0].id&&(a._ariaId=p.format("{0}_tv_active",a.element[0].id)),p.notify(a)},_attachEvents:function(){var t=this,n=".k-in:not(.k-state-selected,.k-state-disabled)",a="mouseenter";t.wrapper.on(a+w,".k-in.k-state-selected",function(e){e.preventDefault()}).on(a+w,n,function(){e(this).addClass(R)}).on("mouseleave"+w,n,function(){e(this).removeClass(R)}).on(F+w,n,b(t._click,t)).on("dblclick"+w,".k-in:not(.k-state-disabled)",b(t._toggleButtonClick,t)).on(F+w,".k-i-expand,.k-i-collapse",b(t._toggleButtonClick,t)).on("keydown"+w,b(t._keydown,t)).on("keypress"+w,b(t._keypress,t)).on("focus"+w,b(t._focus,t)).on("blur"+w,b(t._blur,t)).on("mousedown"+w,".k-in,.k-checkbox-wrapper :checkbox,.k-i-expand,.k-i-collapse",b(t._mousedown,t)).on("change"+w,".k-checkbox-wrapper :checkbox",b(t._checkboxChange,t)).on("click"+w,".checkbox-span",b(t._checkboxLabelClick,t)).on("click"+w,".k-request-retry",b(t._retryRequest,t)).on("click"+w,".k-link.k-state-disabled",function(e){e.preventDefault()}).on("click"+w,function(n){var a=e(n.target);a.is(":kendoFocusable")||a.find("input,select,textarea,button,object").is(":kendoFocusable")||t.focus()})},_checkboxLabelClick:function(t){var n=e(t.target.previousSibling);n.is("[disabled]")||(n.prop("checked",!n.prop("checked")),n.trigger("change"))},_syncHtmlAndDataSource:function(e,t){e=e||this.root,t=t||this.dataSource;var n,a,r,s,o,d=t.view(),l=p.attr("uid"),c=p.attr("expanded"),h=this.options.checkboxes,u=e.children("li");for(n=0;n<u.length;n++)r=d[n],s=r.uid,a=u.eq(n),a.attr("role","treeitem").attr(l,s).attr(J,a.hasClass("k-state-selected")),r.expanded="true"===a.attr(c),h&&(o=i(a),r.checked=o.prop(A),o.attr("id","_"+s),o.next(".k-checkbox-label").attr("for","_"+s)),this._syncHtmlAndDataSource(a.children("ul"),r.children)},_animation:function(){var e=this.options,t=e.animation,n=t.collapse&&"effects"in t.collapse,a=m({},t.expand,t.collapse);n||(a=m(a,{reverse:!0})),t===!1&&(t={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),t.collapse=m(a,{hide:!0}),e.animation=t},_dragging:function(){var t,n=this.options.dragAndDrop,a=this.dragging;n&&!a?(t=this,this.dragging=new f.HierarchicalDragAndDrop(this.element,{reorderable:!0,$angular:this.options.$angular,autoScroll:this.options.autoScroll,filter:"div:not(.k-state-disabled) .k-in",allowedContainers:".k-treeview",itemSelector:".k-treeview .k-item",hintText:b(this._hintText,this),contains:function(t,n){return e.contains(t,n)},dropHintContainer:function(e){return e},itemFromTarget:function(e){var t=e.closest(".k-top,.k-mid,.k-bot");return{item:t,content:e.closest(".k-in"),first:t.hasClass("k-top"),last:t.hasClass("k-bot")}},dropPositionFrom:function(e){return e.prevAll(".k-in").length>0?"after":"before"},dragstart:function(e){return t.trigger(E,{sourceNode:e[0]})},drag:function(e){t.trigger(L,{originalEvent:e.originalEvent,sourceNode:e.source[0],dropTarget:e.target[0],pageY:e.pageY,pageX:e.pageX,statusClass:e.status,setStatusClass:e.setStatus})},drop:function(n){var a=e(n.dropTarget),i=a.closest("a");return i&&i.attr("href")&&t._tempPreventNavigation(i),t.trigger(H,{originalEvent:n.originalEvent,sourceNode:n.source,destinationNode:n.destination,valid:n.valid,setValid:function(e){this.valid=e,n.setValid(e)},dropTarget:n.dropTarget,dropPosition:n.position})},dragend:function(e){function n(n){t.options.checkboxes&&t.options.checkboxes.checkChildren&&t.updateIndeterminate(),t.trigger(V,{originalEvent:e.originalEvent,sourceNode:n&&n[0],destinationNode:i[0],dropPosition:r})}var a=e.source,i=e.destination,r=e.position;"over"==r?t.append(a,i,n):("before"==r?a=t.insertBefore(a,i):"after"==r&&(a=t.insertAfter(a,i)),n(a))}})):!n&&a&&(a.destroy(),this.dragging=null)},_tempPreventNavigation:function(e){e.on(F+w+y,function(t){t.preventDefault(),e.off(F+w+y)})},_hintText:function(e){return this.templates.dragClue({item:this.dataItem(e),treeview:this.options})},_templates:function(){var e=this,t=e.options,n=b(e._fieldAccessor,e);t.template&&typeof t.template==Q?t.template=k(t.template):t.template||(t.template=a("# var text = "+n("text")+"(data.item); ## if (typeof data.item.encoded != 'undefined' && data.item.encoded === false) {##= text ## } else { ##: text ## } #")),e._checkboxes(),e.templates={setAttributes:function(e){var t,n="",a=e.attr||{};for(t in a)a.hasOwnProperty(t)&&"class"!==t&&(n+=t+'="'+a[t]+'" ');return n},wrapperCssClass:function(e,t){var n="k-item",a=t.index;return e.firstLevel&&0===a&&(n+=" k-first"),a==e.length-1&&(n+=" k-last"),n},cssClass:function(e,t){var n="",a=t.index,i=e.length-1;return e.firstLevel&&0===a&&(n+="k-top "),n+=0===a&&a!=i?"k-top":a==i?"k-bot":"k-mid"},textClass:function(e,t){var n="k-in";return t&&(n+=" k-link"),e.enabled===!1&&(n+=" k-state-disabled"),e.selected===!0&&(n+=" k-state-selected"),n},toggleButtonClass:function(e){var t="k-icon";return t+=e.expanded!==!0?" k-i-expand":" k-i-collapse"},groupAttributes:function(e){var t="";return e.firstLevel||(t="role='group'"),t+(e.expanded!==!0?" style='display:none'":"")},groupCssClass:function(e){var t="k-group";return e.firstLevel&&(t+=" k-treeview-lines"),t},dragClue:a("#= data.treeview.template(data) #"),group:a("<ul class='#= data.r.groupCssClass(data.group) #'#= data.r.groupAttributes(data.group) #>#= data.renderItems(data) #</ul>"),itemContent:a("# var imageUrl = "+n("imageUrl")+"(data.item); ## var spriteCssClass = "+n("spriteCssClass")+"(data.item); ## if (imageUrl) { #<img class='k-image' alt='' src='#= imageUrl #'># } ## if (spriteCssClass) { #<span class='k-sprite #= spriteCssClass #'></span># } ##= data.treeview.template(data) #"),itemElement:a("# var item = data.item, r = data.r; ## var url = "+n("url")+"(item); #<div class='#= r.cssClass(data.group, item) #'># if (item.hasChildren) { #<span class='#= r.toggleButtonClass(item) #'></span># } ## if (data.treeview.checkboxes) { #<span class='k-checkbox-wrapper' role='presentation'>#= data.treeview.checkboxes.template(data) #</span># } ## var tag = url ? 'a' : 'span'; ## var textAttr = url ? ' href=\\'' + url + '\\'' : ''; #<#=tag# class='#= r.textClass(item, !!url) #'#= textAttr #>#= r.itemContent(data) #</#=tag#></div>"),item:a("# var item = data.item, r = data.r; #<li role='treeitem' class='#= r.wrapperCssClass(data.group, item) #'"+p.attr("uid")+'=\'#= item.uid #\' #= r.setAttributes(item.toJSON ? item.toJSON() : item) # # if (data.treeview.checkboxes) { #aria-checked=\'#= item.checked ? "true" : "false" #\' # } #aria-selected=\'#= item.selected ? "true" : "false" #\' #=item.enabled === false ? "aria-disabled=\'true\'" : \'\'#aria-expanded=\'#= item.expanded ? "true" : "false" #\' data-expanded=\'#= item.expanded ? "true" : "false" #\' >#= r.itemElement(data) #</li>'),loading:a("<div class='k-icon k-i-loading'></div> #: data.messages.loading #"),retry:a("#: data.messages.requestFailed # <button class='k-button k-request-retry'>#: data.messages.retry #</button>")}},items:function(){return this.element.find(".k-item >
1165 div:first-child")},setDataSource:function(t){var n=this.options;n.dataSource=t,this._dataSourceUids={},this._dataSource(),n.checkboxes&&n.checkboxes.checkChildren&&this.dataSource.one("change",e.proxy(this.updateIndeterminate,this,null)),this.options.autoBind&&this.dataSource.fetch()},_bindDataSource:function(){this._refreshHandler=b(this.refresh,this),this._errorHandler=b(this._error,this),this.dataSource.bind(D,this._refreshHandler),this.dataSource.bind(B,this._errorHandler)},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(D,this._refreshHandler),e.unbind(B,this._errorHandler))},_dataSource:function(e){function t(e){for(var n=0;n<e.length;n++)e[n]._initChildren(),e[n].children.fetch(),t(e[n].children.view())}var n=this,a=n.options,i=a.dataSource;i=v(i)?{data:i}:i,n._unbindDataSource(),i.fields||(i.fields=[{field:"text"},{field:"url"},{field:"spriteCssClass"},{field:"imageUrl"}]),n.dataSource=i=x.create(i),e&&(i.fetch(),t(i.view())),n._bindDataSource()},events:[E,L,H,V,q,I,U,S,D,T,N],options:{name:"TreeView",dataSource:{},animation:{expand:{effects:"expand:vertical",duration:200},collapse:{duration:100}},messages:{loading:"Loading...",requestFailed:"Request failed.",retry:"Retry"},dragAndDrop:!1,checkboxes:!1,autoBind:!0,autoScroll:!1,loadOnDemand:!0,template:"",dataTextField:null},_accessors:function(){var e,t,n,a=this,i=a.options,r=a.element;for(e in z)t=i[z[e]],n=r.attr(p.attr(e+"-field")),!t&&n&&(t=n),t||(t=e),v(t)||(t=[t]),i[z[e]]=t},_fieldAccessor:function(t){var n=this.options[z[t]],a=n.length,i="(function(item) {";return 0===a?i+="return item['"+t+"'];":(i+="var levels = ["+e.map(n,function(e){return"function(d){ return "+p.expr(e)+"}"}).join(",")+"];",i+="return levels[Math.min(item.level(), "+a+"-1)](item)"),i+="})"},setOptions:function(e){_.fn.setOptions.call(this,e),this._animation(),this._dragging(),this._templates()},_trigger:function(e,t){return this.trigger(e,{node:t.closest(G)[0]})},_setChecked:function(t,n){if(t&&e.isFunction(t.view))for(var a=0,i=t.view();a<i.length;a++)i[a].enabled!==!1&&this._setCheckedValue(i[a],n),i[a].children&&this._setChecked(i[a].children,n)},_setCheckedValue:function(e,t){e[A]=t},_setIndeterminate:function(e){var t,n,a,r=l(e),s=!0;if(r.length&&(t=i(r.children()),n=t.length)){if(n>1){for(a=1;a<n;a++)if(t[a].checked!=t[a-1].checked||t[a].indeterminate||t[a-1].indeterminate){s=!1;break}}else s=!t[0].indeterminate;return e.attr(W,s?t[0].checked:"mixed"),i(e).data(O,!s).prop(O,!s).prop(A,s&&t[0].checked)}},updateIndeterminate:function(e){var t,n,a,i;if(e=e||this.wrapper,t=l(e).children(),t.length){for(n=0;n<t.length;n++)this.updateIndeterminate(t.eq(n));if(e.is(".k-treeview"))return;a=this._setIndeterminate(e),i=this.dataItem(e),a&&a.prop(A)?i.checked=!0:i&&delete i.checked}},_bubbleIndeterminate:function(e,t){if(e.length){t||this.updateIndeterminate(e);var n,a=this.parent(e);a.length&&(this._setIndeterminate(a),n=a.children("div").find(".k-checkbox-wrapper input[type=checkbox]"),this._skip=!0,n.prop(O)===!1?this.dataItem(a).set(A,n.prop(A)):this.dataItem(a).set(A,!1),this._skip=!1,this._bubbleIndeterminate(a,!0))}},_checkboxChange:function(t){var n=this,a=e(t.target),i=a.prop(A),r=a.closest(G),s=this.dataItem(r);this._preventChange||(s.checked!=i&&(s.set(A,i),r.attr(W,i),this._trigger(N,r)),a.is(":focus")&&(n._trigger(T,r),n.focus()))},_toggleButtonClick:function(t){var n=e(t.currentTarget).closest(G);n.is("[aria-disabled='true']")||this.toggle(n)},_mousedown:function(t){var n=this,a=e(t.currentTarget),i=e(t.currentTarget).closest(G),r=p.support.browser;i.is("[aria-disabled='true']")||((r.msie||r.edge)&&a.is(":checkbox")&&(a.prop(O)?(n._preventChange=!1,a.prop(A,!a.prop(A)),a.trigger(D),a.on(F+w,function(e){e.preventDefault()}),n._preventChange=!0):(a.off(F+w),n._preventChange=!1)),n._clickTarget=i,n.current(i))},_focusable:function(e){return e&&e.length&&e.is(":visible")&&!e.find(".k-in:first").hasClass($)},_focus:function(){var t=this.select(),n=this._clickTarget;p.support.touch||(n&&n.length&&(t=n),this._focusable(t)||(t=this.current()),this._focusable(t)||(t=this._nextVisible(e())),this.current(t))},focus:function(){var e,t=this.wrapper,n=t[0],a=[],i=[],r=document.documentElement;do n=n.parentNode,n.scrollHeight>n.clientHeight&&(a.push(n),i.push(n.scrollTop));while(n!=r);for(p.focusElement(t),e=0;e<a.length;e++)a[e].scrollTop=i[e]},_blur:function(){this.current().find(".k-in:first").removeClass("k-state-focused")},_enabled:function(e){return!e.children("div").children(".k-in").hasClass($)},parent:function(t){var n,a,i=/\bk-treeview\b/,r=/\bk-item\b/;typeof t==Q&&(t=this.element.find(t)),Z(t)||(t=t[0]),a=r.test(t.className);
1165do t=t.parentNode,r.test(t.className)&&(a?n=t:a=!0);while(!i.test(t.className)&&!n);return e(n)},_nextVisible:function(e){function t(e){for(;e.length&&!e.next().length;)e=a.parent(e);return e.next().length?e.next():e}var n,a=this,i=a._expanded(e);return e.length&&e.is(":visible")?i?(n=l(e).children().first(),n.length||(n=t(e))):n=t(e):n=a.root.children().eq(0),n},_previousVisible:function(e){var t,n,a=this;if(!e.length||e.prev().length)for(n=e.length?e.prev():a.root.children().last();a._expanded(n)&&(t=l(n).children().last(),t.length);)n=t;else n=a.parent(e)||e;return n},_keydown:function(n){var a,i=this,r=n.keyCode,s=i.current(),o=i._expanded(s),d=s.find(".k-checkbox-wrapper:first :checkbox"),l=p.support.isRtl(i.element);n.target==n.currentTarget&&(!l&&r==C.RIGHT||l&&r==C.LEFT?o?a=i._nextVisible(s):s.find(".k-in:first").hasClass($)||i.expand(s):!l&&r==C.LEFT||l&&r==C.RIGHT?o&&!s.find(".k-in:first").hasClass($)?i.collapse(s):(a=i.parent(s),i._enabled(a)||(a=t)):r==C.DOWN?a=i._nextVisible(s):r==C.UP?a=i._previousVisible(s):r==C.HOME?a=i._nextVisible(e()):r==C.END?a=i._previousVisible(e()):r!=C.ENTER||s.find(".k-in:first").hasClass($)?r==C.SPACEBAR&&d.length&&(s.find(".k-in:first").hasClass($)||(d.prop(A,!d.prop(A)).data(O,!1).prop(O,!1),i._checkboxChange({target:d})),a=s):s.find(".k-in:first").hasClass("k-state-selected")||i._trigger(S,s)||i.select(s),a&&(n.preventDefault(),s[0]!=a[0]&&(i._trigger(T,a),i.current(a))))},_keypress:function(e){var t,n=this,a=300,i=n.current().get(0),r=e.key,s=1===r.length;s&&(n._match||(n._match=""),n._match+=r,clearTimeout(n._matchTimer),n._matchTimer=setTimeout(function(){n._match=""},a),t=i&&n._matchNextByText(Array.prototype.indexOf.call(n.element.find(".k-item"),i),n._match),t.length||(t=n._matchNextByText(-1,n._match)),t.get(0)&&t.get(0)!==i&&(n._trigger(T,t),n.current(t)))},_matchNextByText:function(t,n){var a=this.element,i=a.find(".k-in").filter(function(a,i){return a>t&&e(i).is(":visible")&&0===e(i).text().toLowerCase().indexOf(n)});return i.eq(0).closest(G)},_click:function(t){var n,a=this,i=e(t.currentTarget),r=c(i.closest(G)),s=i.attr("href");n=s?"#"==s||s.indexOf("#"+this.element.id+"-")>=0:r.length&&!r.children().length,n&&t.preventDefault(),i.hasClass(".k-state-selected")||a._trigger(S,i)||a.select(i)},_wrapper:function(){var e,t,n=this,a=n.element,i="k-widget k-treeview";a.is("ul")?(e=a.wrap("<div />").parent(),t=a):(e=a,t=e.children("ul").eq(0)),n.wrapper=e.addClass(i),n.root=t},_getSelectedNode:function(){return this.element.find(".k-state-selected").closest(G)},_group:function(e){var t=this,n=e.hasClass(P),a={firstLevel:n,expanded:n||t._expanded(e)},i=e.children("ul");i.addClass(t.templates.groupCssClass(a)).css("display",a.expanded?"":"none"),n||i.attr("role","group"),t._nodes(i,a)},_nodes:function(t,n){var a,i=this,r=t.children("li");n=m({length:r.length},n),r.each(function(t,r){r=e(r),a={index:t,expanded:i._expanded(r)},o(r),i._updateNodeClasses(r,n,a),i._group(r)})},_checkboxes:function(){var e,t=this.options,n=t.checkboxes;n&&(e="<input type='checkbox' tabindex='-1' #= (item.enabled === false) ? 'disabled' : '' # #= item.checked ? 'checked' : '' #",n.name&&(e+=" name='"+n.name+"'"),e+=" id='_#= item.uid #' class='k-checkbox' /><span class='k-checkbox-label checkbox-span'></span>",n=m({template:e},t.checkboxes),typeof n.template==Q&&(n.template=k(n.template)),t.checkboxes=n)},_updateNodeClasses:function(e,t,n){var a,i,r=e.children("div"),s=e.children("ul"),o=this.templates;e.hasClass("k-treeview")||(n=n||{},n.expanded=typeof n.expanded!=j?n.expanded:this._expanded(e),n.index=typeof n.index!=j?n.index:e.index(),n.enabled=typeof n.enabled!=j?n.enabled:!r.children(".k-in").hasClass("k-state-disabled"),t=t||{},t.firstLevel=typeof t.firstLevel!=j?t.firstLevel:e.parent().parent().hasClass(P),t.length=typeof t.length!=j?t.length:e.parent().children().length,e.removeClass("k-first k-last").addClass(o.wrapperCssClass(t,n)),r.removeClass("k-top k-mid k-bot").addClass(o.cssClass(t,n)),a=r.children(".k-in"),i=a[0]&&"a"==a[0].nodeName.toLowerCase(),a.removeClass("k-in k-link k-state-default k-state-disabled").addClass(o.textClass(n,i)),(s.length||"true"==e.attr("data-hasChildren"))&&(r.children(".k-icon").removeClass("k-i-expand k-i-collapse").addClass(o.toggleButtonClass(n)),s.addClass("k-group")))},_processNodes:function(t,n){var a,i=this,r=i.element.find(t);for(a=0;a<r.length;a++)n.call(i,a,e(r[a]).closest(G))},dataItem:function(t){var n=e(t).closest(G).attr(p.attr("uid")),a=this.dataSource;return a&&a.getByUid(n)},_dataItem:function(t){var n=e(t).closest(G).attr(p.attr("uid")),a=this.dataSource;return a&&this._dataSourceUids[n]},_insertNode:function(t,n,a,i,r){var s,d,c,h,u,f,g=this,m=l(a),k=m.children().length+1,v={firstLevel:a.hasClass(P),expanded:!r,length:k},_="",x=function(e,t){e.appendTo(t)};for(c=0;c<t.length;c++)h=t[c],h.index=n+c,_+=g._renderItem({group:v,item:h});if(d=e(_),d.length){for(g.angular("compile",function(){return{elements:d.get(),data:t.map(function(e){return{dataItem:e}})}}),m.length||(m=e(g._renderGroup({group:v})).appendTo(a)),i(d,m),a.hasClass("k-item")&&(o(a),g._updateNodeClasses(a,v,{expanded:!r})),u=d.prev().first(),f=d.next().last(),g._updateNodeClasses(u,{},{expanded:"true"==u.attr(p.attr("expanded"))}),g._updateNodeClasses(f,{},{expanded:"true"==f.attr(p.attr("expanded"))}),c=0;c<t.length;c++)h=t[c],h.hasChildren&&(s=h.children.data(),s.length&&g._insertNode(s,h.index,d.eq(c),x,!h.expanded));return d}},_updateNodes:function(t,n){function a(e,t){e.is(".k-group")&&e.find(".k-item:not([aria-disabled])").attr(W,t),e.find(".k-checkbox-wrapper input[type=checkbox]:not([disabled])").prop(A,t).data(O,!1).prop(O,!1)}var i,r,s,o,d,l,h,u=this,p={treeview:u.options,item:o}
1165,g="expanded"!=n&&"checked"!=n;if("selected"==n)o=t[0],r=u.findByUid(o.uid).find(".k-in:first").removeClass("k-state-hover").toggleClass("k-state-selected",o[n]).end(),o[n]&&u.current(r),r.attr(J,!!o[n]);else{for(h=e.map(t,function(e){return u.findByUid(e.uid).children("div")}),g&&u.angular("cleanup",function(){return{elements:h}}),i=0;i<t.length;i++)p.item=o=t[i],s=h[i],r=s.parent(),g&&s.children(".k-in").html(u.templates.itemContent(p)),n==A?(d=o[n],a(s,d),r.attr(W,d),u.options.checkboxes.checkChildren&&(a(r.children(".k-group"),d),u._setChecked(o.children,d),u._bubbleIndeterminate(r))):"expanded"==n?u._toggle(r,o,o[n]):"enabled"==n&&(r.find(".k-checkbox-wrapper input[type=checkbox]").prop("disabled",!o[n]),l=!c(r).is(M),r.removeAttr(X),o[n]||(o.selected&&o.set("selected",!1),o.expanded&&o.set("expanded",!1),l=!0,r.attr(J,!1).attr(X,!0)),u._updateNodeClasses(r,{},{enabled:o[n],expanded:!l})),s.length&&(o._events&&o._events.change&&o._events.change.splice(1),this.trigger("itemChange",{item:s,data:o,ns:f}));g&&u.angular("compile",function(){return{elements:h,data:e.map(t,function(e){return[{dataItem:e}]})}})}},_appendItems:function(e,t,n){var a,i,r,s=l(n),o=s.children(),d=!this._expanded(n);this.element===n?(a=this.dataSource.data(),i=this.dataSource.view(),r=i.length<a.length?i:a,e=r.indexOf(t[0])):t.length&&(e=t[0].parent().indexOf(t[0])),typeof e==j&&(e=o.length),this._insertNode(t,e,n,function(t,n){e>=o.length?t.appendTo(n):t.insertBefore(o.eq(e))},d),d||(this._updateNodeClasses(n,{},{expanded:!d}),l(n).css("display","block"))},_refreshChildren:function(e,t,n){var a,i,r,s=this.options,d=s.loadOnDemand,c=s.checkboxes&&s.checkboxes.checkChildren;if(l(e).empty(),t.length)for(this._appendItems(n,t,e),i=l(e).children(),d&&c&&this._bubbleIndeterminate(i.last()),a=0;a<i.length;a++)r=i.eq(a),this.trigger("itemChange",{item:r.children("div"),data:t[a],ns:f});else o(e)},_refreshRoot:function(t){var n,a,i,r=this._renderGroup({items:t,group:{firstLevel:!0,expanded:!0}});for(this.root.length?(this._angularItems("cleanup"),n=e(r),this.root.attr("class",n.attr("class")).html(n.html())):this.root=this.wrapper.html(r).children("ul"),a=this.root.children(".k-item"),i=0;i<t.length;i++)this.trigger("itemChange",{item:a.eq(i),data:t[i],ns:f});this._angularItems("compile")},refresh:function(e){var n,a,i=e.node,r=e.action,s=e.items,o=this.wrapper,d=this.options,l=d.loadOnDemand,c=d.checkboxes&&d.checkboxes.checkChildren;if(!this._skip){for(n=0;n<s.length;n++)this._dataSourceUids[s[n].uid]=s[n];if(e.field){if(!s[0]||!s[0].level)return;return this._updateNodes(s,e.field)}if(i&&(o=this.findByUid(i.uid),this._progress(o,!1)),c&&"remove"!=r){for(a=!1,n=0;n<s.length;n++)if("checked"in s[n]){a=!0;break}if(!a&&i&&i.checked)for(n=0;n<s.length;n++)s[n].checked=!0}if("add"==r?this._appendItems(e.index,s,o):"remove"==r?this._remove(this.findByUid(s[0].uid),!1):"itemchange"==r?this._updateNodes(s):"itemloaded"==r?this._refreshChildren(o,s,e.index):this._refreshRoot(s),"remove"!=r)for(n=0;n<s.length;n++)(!l||s[n].expanded||s[n]._loaded)&&s[n].load();this.trigger(q,{node:i?o:t}),this.dataSource.filter()&&this.options.checkboxes.checkChildren&&this.updateIndeterminate(o)}},_error:function(e){var t=e.node&&this.findByUid(e.node.uid),n=this.templates.retry({messages:this.options.messages});t?(this._progress(t,!1),this._expanded(t,!1),h(t).addClass("k-i-reload"),e.node.loaded(!1)):(this._progress(!1),this.element.html(n))},_retryRequest:function(e){e.preventDefault(),this.dataSource.fetch()},expand:function(e){this._processNodes(e,function(e,t){this.toggle(t,!0)})},collapse:function(e){this._processNodes(e,function(e,t){this.toggle(t,!1)})},enable:function(e,t){"boolean"==typeof e?(t=e,e=this.items()):t=2!=arguments.length||!!t,this._processNodes(e,function(e,n){this.dataItem(n).set("enabled",t)})},current:function(n){var a=this,i=a._current,r=a.element,s=a._ariaId;return arguments.length>0&&n&&n.length?(i&&(i[0].id===s&&i.removeAttr("id"),i.find(".k-in:first").removeClass("k-state-focused")),i=a._current=e(n,r).closest(G),i.find(".k-in:first").addClass("k-state-focused"),s=i[0].id||s,s&&(a.wrapper.removeAttr("aria-activedescendant"),i.attr("id",s),a.wrapper.attr("aria-activedescendant",s)),t):(i||(i=a._nextVisible(e())),i)},select:function(n){var a=this,i=a.element;return arguments.length?(n=e(n,i).closest(G),i.find(".k-state-selected").each(function(){var t=a.dataItem(this);t?(t.set("selected",!1),delete t.selected):e(this).removeClass("k-state-selected")}),n.length&&(a.dataItem(n).set("selected",!0),a._clickTarget=n),a.trigger(D),t):i.find(".k-state-selected").closest(G)},_toggle:function(e,t,n){var a,i=this.options,r=c(e),s=n?"expand":"collapse";r.data("animating")||(a=t&&t.loaded(),n&&!a?(i.loadOnDemand&&this._progress(e,!0),r.remove(),t.load()):(this._updateNodeClasses(e,{},{expanded:n}),n||r.css("height",r.height()).css("height"),r.kendoStop(!0,!0).kendoAnimate(m({reset:!0},i.animation[s],{complete:function(){n&&r.css("height","")}}))))},toggle:function(t,n){t=e(t),h(t).is(".k-i-expand, .k-i-collapse")&&(1==arguments.length&&(n=!this._expanded(t)),this._expanded(t,n))},destroy:function(){var e=this;_.fn.destroy.call(e),e.wrapper.off(w),e.wrapper.find(".k-checkbox-wrapper :checkbox").off(w),e._unbindDataSource(),e.dragging&&e.dragging.destroy(),e._dataSourceUids={},p.destroy(e.element),e.root=e.wrapper=e.element=null},_expanded:function(e,n,a){var i,r=p.attr("expanded"),s=n,o=s?"expand":"collapse";return 1==arguments.length?(i=this._dataItem(e),"true"===e.attr(r)||i&&i.expanded):(i=this.dataItem(e),c(e).data("animating")||!a&&this._trigger(o,e)||(s?(e.attr(r,"true"),e.attr(Y,"true")):(e.removeAttr(r),e.attr(Y,"false")),i&&(i.set("expanded",s),s=i.expanded)),t)},_progress:function(e,t){var n=this.element,a=this.templates.loading({messages:this.options.messages});1==arguments.length?(t=e,t?n.html(a):n.empty()):h(e).toggleClass("k-i-loading",t).removeClass("k-i-reload")},text:function(e,n){var a=this.dataItem(e),i=this.options[z.text],r=a.level(),s=i.length,o=i[Math.min(r,s-1)];return n?(a.set(o,n),t):a[o]},_objectOrSelf:function(t){return e(t).closest("[data-role=treeview]").data("kendoTreeView")||this},_dataSourceMove:function(t,n,a,i){var r,s=this._objectOrSelf(a||n),o=s.dataSource,d=e.Deferred().resolve().promise();return a&&a[0]!=s.element[0]&&(r=s.dataItem(a),r.loaded()||(s._progress(a,!0),d=r.load()),a!=this.root&&(o=r.children,o&&o instanceof x||(r._initChildren(),r.loaded(!0),o=r.children))),t=this._toObservableData(t),i.call(s,o,t,d)},_toObservableData:function(t){var n,a,i=t;return(K(t)||Z(t))&&(n=this._objectOrSelf(t).dataSource,a=e(t).attr(p.attr("uid")),i=n.getByUid(a),i&&(i=n.remove(i))),i},_insert:function(e,t,n){t instanceof p.data.ObservableArray?t=t.toJSON():v(t)||(t=[t]);var a=e.parent();return a&&a._initChildren&&(a.hasChildren=!0,a._initChildren()),e.splice.apply(e,[n,0].concat(t)),this.findByUid(e[n].uid)},insertAfter:r(1),insertBefore:r(0),append:function(t,n,a){var i=this.root;if(!(n&&t instanceof jQuery&&n[0]===t[0]))return n=n&&n.length?n:null,n&&(i=l(n)),this._dataSourceMove(t,i,n,function(t,i,r){function s(){n&&d._expanded(n,!0,!0);var e=t.data(),a=Math.max(e.length,0);return d._insert(e,i,a)}var o,d=this;return r.done(function(){o=s(),(a=a||e.noop)(o)}),o||null})},_remove:function(t,n){var a,i,r,s=this;return t=e(t,s.element),this.angular("cleanup",function(){return{elements:t.get()}}),a=t.parent().parent(),i=t.prev(),r=t.next(),t[n?"detach":"remove"](),a.hasClass("k-item")&&(o(a),s._updateNodeClasses(a)),s._updateNodeClasses(i),s._updateNodeClasses(r),t},remove:function(e){var t=this.dataItem(e);t&&this.dataSource.remove(t)},detach:function(e){return this._remove(e,!0)},findByText:function(t){return e(this.element).find(".k-in").filter(function(n,a){return e(a).text()==t}).closest(G)},findByUid:function(t){var n,a,i=this.element.find(".k-item"),r=p.attr("uid");for(a=0;a<i.length;a++)if(i[a].getAttribute(r)==t){n=i[a];break}return e(n)},expandPath:function(t,n){function a(){s.shift(),s.length?i(s[0]).then(a):o.call(r)}function i(t){var n,a=e.Deferred(),i=r.dataSource.get(t),s=p.attr("expanded");return i?(n=r.findByUid(i.uid),i.loaded()?(i.set("expanded",!0),n.attr(s,!0),n.attr(Y,!0),a.resolve()):(r._progress(n,!0),i.load().then(function(){i.set("expanded",!0),n.attr(s,!0),n.attr(Y,!0),a.resolve()}))):a.resolve(),a.promise()}var r=this,s=t.slice(0),o=n||e.noop;i(s[0]).then(a)},_parentIds:function(e){for(var t=e&&e.parentNode(),n=[];t&&t.parentNode;)n.unshift(t.id),t=t.parentNode();return n},expandTo:function(e){e instanceof p.data.Node||(e=this.dataSource.get(e));var t=this._parentIds(e);this.expandPath(t)},_renderItem:function(e){return e.group||(e.group={}),e.treeview=this.options,e.r=this.templates,this.templates.item(e)},_renderGroup:function(e){var t=this;return e.renderItems=function(e){var n="",a=0,i=e.items,r=i?i.length:0,s=e.group;for(s.length=r;a<r;
1165a++)e.group=s,e.item=i[a],e.item.index=a,n+=t._renderItem(e);return n},e.r=t.templates,t.templates.group(e)}}),f.plugin(d)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
1166//# sourceMappingURL=kendo.treeview.min.js.map
1167
1168/** 
1169 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1170 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1171 *                                                                                                                                                                                                      
1172 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1173 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1174 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1175                                                                                                                                                                                                       
1176                                                                                                                                                                                                       
1177                                                                                                                                                                                                       
1178                                                                                                                                                                                                       
1179                                                                                                                                                                                                       
1180                                                                                                                                                                                                       
1181                                                                                                                                                                                                       
1182                                                                                                                                                                                                       
1183                                                                                                                                                                                                       
1184                                                                                                                                                                                                       
1185                                                                                                                                                                                                       
1186                                                                                                                                                                                                       
1187                                                                                                                                                                                                       
1188                                                                                                                                                                                                       
1189                                                                                                                                                                                                       
1190
1191*/
1192!function(t,define){define("kendo.treeview.draganddrop.min",["kendo.data.min","kendo.draganddrop.min"],t)}(function(){return function(t,i){var e=window.kendo,o=e.ui,s=t.proxy,n=t.extend,r
1192="visibility",a="k-state-hover",d="input,a:not(.k-in),textarea,.k-multiselect-wrap,select,button,a.k-button>.k-icon,button.k-button>.k-icon,span.k-icon.k-i-arrow-60-right,span.k-icon.k-i-arrow-45-down-right";o.HierarchicalDragAndDrop=e.Class.extend({init:function(i,r){this.element=i,this.hovered=i,this.options=n({dragstart:t.noop,drag:t.noop,drop:t.noop,dragend:t.noop},r),this._draggable=new o.Draggable(i,{ignore:d,filter:r.filter,autoScroll:r.autoScroll,cursorOffset:{left:10,top:e.support.mobileOS?-40/e.support.zoomLevel():10},hint:s(this._hint,this),dragstart:s(this.dragstart,this),dragcancel:s(this.dragcancel,this),drag:s(this.drag,this),dragend:s(this.dragend,this),$angular:r.$angular})},_hint:function(t){return"<div class='k-header k-drag-clue'><span class='k-icon k-drag-status'></span>"+this.options.hintText(t)+"</div>"},_removeTouchHover:function(){e.support.touch&&this.hovered&&(this.hovered.find("."+a).removeClass(a),this.hovered=!1)},_hintStatus:function(t){var o=this._draggable.hint.find(".k-drag-status")[0];return t?(o.className="k-icon k-drag-status "+t,i):e.trim(o.className.replace(/(p|k)-(icon|drag-status)/g,""))},dragstart:function(i){this.source=i.currentTarget.closest(this.options.itemSelector),this.options.dragstart(this.source)&&i.preventDefault(),this.dropHint=this.options.reorderable?t("<div class='k-icon k-i-drag-and-drop' />").css(r,"hidden").appendTo(this.element):t()},drag:function(i){var o,s,n,d,h,l,c,p,g,u,v,k=this.options,f=this.source,m=this.dropTarget=t(e.eventTarget(i)),_=m.closest(k.allowedContainers);_.length?f[0]==m[0]||k.contains(f[0],m[0])?v="k-i-cancel":(v="k-i-insert-middle",g=k.itemFromTarget(m),o=g.item,o.length?(this._removeTouchHover(),s=e._outerHeight(o),d=g.content,k.reorderable?(h=s/(d.length>0?4:2),n=e.getOffset(o).top,l=i.y.location<n+h,c=n+s-h<i.y.location,p=d.length&&!l&&!c):(p=!0,l=!1,c=!1),this.hovered=!!p&&_,this.dropHint.css(r,p?"hidden":"visible"),this._lastHover&&this._lastHover[0]!=d[0]&&this._lastHover.removeClass(a),this._lastHover=d.toggleClass(a,p),p?v="k-i-plus":(u=o.position(),u.top+=l?0:s,this.dropHint.css(u)[l?"prependTo":"appendTo"](k.dropHintContainer(o)),l&&g.first&&(v="k-i-insert-up"),c&&g.last&&(v="k-i-insert-down"))):m[0]!=this.dropHint[0]&&(this._lastHover&&this._lastHover.removeClass(a),v=t.contains(this.element[0],_[0])?"k-i-cancel":"k-i-plus")):(v="k-i-cancel",this._removeTouchHover()),this.options.drag({originalEvent:i.originalEvent,source:f,target:m,pageY:i.y.location,pageX:i.x.location,status:v.substring(2),setStatus:function(t){v=t}}),0!==v.indexOf("k-i-insert")&&this.dropHint.css(r,"hidden"),this._hintStatus(v)},dragcancel:function(){this.dropHint.remove()},dragend:function(t){var e,o,s,n="over",d=this.source,h=this.dropHint,l=this.dropTarget;return"visible"==h.css(r)?(n=this.options.dropPositionFrom(h),e=h.closest(this.options.itemSelector)):l&&(e=l.closest(this.options.itemSelector),e.length||(e=l.closest(this.options.allowedContainers))),o={originalEvent:t.originalEvent,source:d[0],destination:e[0],valid:"k-i-cancel"!=this._hintStatus(),setValid:function(t){this.valid=t},dropTarget:l[0],position:n},s=this.options.drop(o),h.remove(),this._removeTouchHover(),this._lastHover&&this._lastHover.removeClass(a),!o.valid||s?(this._draggable.dropped=o.valid,i):(this._draggable.dropped=!0,this.options.dragend({originalEvent:t.originalEvent,source:d,destination:e,position:n}),i)},destroy:function(){this._lastHover=this.hovered=null,this._draggable.destroy()}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,i,e){(e||i)()});
1193//# sourceMappingURL=kendo.treeview.draganddrop.min.js.map
1194
1195/** 
1196 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1197 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1198 *                                                                                                                                                                                                      
1199 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1200 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1201 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1202                                                                                                                                                                                                       
1203                                                                                                                                                                                                       
1204                                                                                                                                                                                                       
1205                                                                                                                                                                                                       
1206                                                                                                                                                                                                       
1207                                                                                                                                                                                                       
1208                                                                                                                                                                                                       
1209                                                                                                                                                                                                       
1210                                                                                                                                                                                                       
1211                                                                                                                                                                                                       
1212                                                                                                                                                                                                       
1213                                                                                                                                                                                                       
1214                                                                                                                                                                                                       
1215                                                                                                                                                                                                       
1216                                                                                                                                                                                                       
1217
1218*/
1219!function(e,define){define("kendo.treelist.min",["kendo.dom.min","kendo.data.min","kendo.columnsorter.min","kendo.editable.min","kendo.window.min","kendo.filtermenu.min","kendo.selectable.min","kendo.resizable.min","kendo.treeview.draganddrop.min","kendo.pager.min"],e)}(function(){return function(e,t){function n(e){return function(t){return t[e]}}function i(e){return function(t){return!e(t)}}function r(){return"none"!==this.style.display}function a(n){var i=kendo.attr("index");return n.sort(function(n,r){var a,s;return n=e(n),r=e(r),a=n.attr(i),s=r.attr(i),a===t&&(a=e(n).index()),s===t&&(s=e(r).index()),a=parseInt(a,10),s=parseInt(s,10),a>s?1:a<s?-1:0})}function s(t){var n=t.find(">
1219tr:not(.k-filter-row)"),i=function(){var t=e(this);return!t.hasClass("k-group-cell")&&!t.hasClass("k-hierarchy-cell")},r=e();return n.length>1&&(r=n.find("th[data-index]").filter(i)),r=r.add(n.last().find("th").filter(i)),a(r)}function l(e){var t,n,i=[],r=e.className;for(t=0,n=e.level;t<n;t++)i.push($("span",{className:r}));return i}function o(e){var t,n,i,r=0;for(n=0,i=e.length;n<i;n++)t=e[n].style.width,t&&t.indexOf("%")==-1&&(r+=parseInt(t,10));return r}function d(e,t){var n,i,r,a;e=e[0],t=t[0],e.rows.length&&t.rows.length&&e.rows.length!==t.rows.length&&(n=e.offsetHeight,i=t.offsetHeight,n>i?(r=t.rows[t.rows.length-1],a=n-i):(r=e.rows[e.rows.length-1],a=i-n),r.style.height=r.offsetHeight+a+"px")}function h(t){return e(t).is(":button,a,:input,a>.k-icon,textarea,span.k-select,span.k-icon,span.k-link,.k-input,.k-multiselect-wrap,.k-tool-icon")}function c(e){return e.parentColumn?!!c(e.parentColumn):!!e.locked}function u(e,t,n,i){var r,a,s=!!n.locked;do r=e[t],t+=i?1:-1,a=!!r.locked;while(r&&t>-1&&t<e.length&&r!=n&&!r.columns&&a===s);return r}function p(e,t,n,i,r){var a,s,l,o,d;return t.columns?(t=t.columns,t[i?0:t.length-1]):(a=I(t,e),s=a?a.columns:e,l=ge(t,s),0===l&&i&&1!==s.length?l++:l!=s.length-1||i||0===l?(l>0||0===l&&!i&&0!==l)&&(l+=i?-1:1):l--,o=ge(n,s),t=u(s,l,n,o>l),d=ge(t,r),(!t.columns||d&&d!==s.length-1)&&t&&t!=n&&t.columns?p(e,t,n,i,r):null)}function f(e){var t,n=[];for(t=0;t<e.length;t++)e[t].columns?n=n.concat(f(e[t].columns)):n.push(e[t]);return n}function g(e){var t,n=[];for(e=f(e),t=0;t<e.length;t++)"string"==typeof e[t]?n.push(e[t]):e[t].field&&n.push(e[t].field);return n}function _(e){return fe(e,function(e){return!e.hidden})}function m(e){return b([e]).length>0}function b(e){return fe(e,function(e){var t=!e.hidden;return t&&e.columns&&(t=b(e.columns).length>0),t})}function v(e,t,n){return pe(e,function(e){var i,r;return e.parentIds=n,m(e)&&!t||(i=!0),r=kendo.guid(),e.headerAttributes=ce({headers:n},e.headerAttributes),e.headerAttributes&&e.headerAttributes.id?r=e.headerAttributes.id:e.headerAttributes=ce({id:r},e.headerAttributes),e.columns&&(e.columns=v(e.columns,i,n?n+" "+r:r)),ce({hidden:i},e)})}function k(e){var t=x(H(e));return t.concat(x(F(e)))}function C(e,t,n,i){var r=e[n],a=e[i],s=I(r,t);return t=s?s.columns:t,ge(a,t)}function w(t){var n,i,r,a,s,l,o,d=t.closest("table"),h=e().add(t),c=t.closest("tr"),u=d.find("tr"),p=u.index(c);if(p>0){for(n=u.eq(p-1),i=n.find("th").filter(function(){return!e(this).attr("rowspan")}),r=0,a=c.find("th").index(t),s=t.prevAll().filter(function(){return this.colSpan>1}),l=0;l<s.length;l++)r+=s[l].colSpan||1;for(a+=Math.max(r-1,0),r=0,l=0;l<i.length;l++)if(o=i.eq(l),r+=o.attr("data-colspan")?o[0].getAttribute("data-colspan"):1,a>=l&&a<r){h=w(o).add(h);break}}return h}function y(t){var n,i,r,a,s,l,o,d=t.closest("thead"),h=e().add(t),c=t.closest("tr"),u=d.find("tr"),p=u.index(c)+t[0].rowSpan,f=kendo.attr("colspan");if(p<=u.length-1){for(n=c.next(),i=t.prevAll(),i=i.filter(function(){return!this.rowSpan||1===this.rowSpan}),a=0,r=0;r<i.length;r++)a+=parseInt(i.eq(r).attr(f),10)||1;for(s=n.find("th"),l=parseInt(t.attr(f),10)||1,r=0;r<l;)n=s.eq(r+a),h=h.add(y(n)),o=parseInt(n.attr(f),10),o>1&&(l-=o-1),r++}return h}function I(e,t){var n=[];return T(e,t,n),n[n.length-1]}function T(e,t,n){var i,r;for(n=n||[],i=0;i<t.length;i++){if(e===t[i])return!0;if(t[i].columns){if(r=n.length,n.push(t[i]),T(e,t[i].columns,n))return!0;n.splice(r,n.length-r)}}return!1}function x(e){var t,n=[],i=[];for(t=0;t<e.length;t++)n.push(e[t]),e[t].columns&&(i=i.concat(e[t].columns));return i.length&&(n=n.concat(x(i))),n}function S(e,t,n,i){var r,a;for(n=n||0,i=i||{},i[n]=i[n]||0,a=0;a<t.length;a++){if(t[a]==e){r={cell:i[n],row:n};break}if(t[a].columns&&(r=S(e,t[a].columns,n+1,i)))break;i[n]++}return r}function M(t,n,i){var r,a,s,l,o,d,h,c;for(i=i||0,s=n,n=f(n),l={},o=t.find(">tr:not(.k-filter-row)"),d=function(){var t=e(this);return!t.hasClass("k-group-cell")&&!t.hasClass("k-hierarchy-cell")},h=0,c=n.length;h<c;h++)r=S(n[h],s),l[r.row]||(l[r.row]=o.eq(r.row).find(".k-header").filter(d)),a=l[r.row].eq(r.cell),a.attr(kendo.attr("index"),i+h);return n.length}function P(e){var t,n,i=1,r=0;for(t=0;t<e.length;t++)e[t].columns&&(n=P(e[t].columns),n>r&&(r=n));return i+r}function H(e){return fe(e,n("locked"))}function F(e){return fe(e,i(n("locked")))}function D(e,t){var n=e.find("tr"),i=n.length;n.each(function(e){var n,r=this.cells;for(n=0;n<r.length;n++)r[n].colSpan<=1&&r[n].attributes.rowspan&&(t.children[e].children[n].attr.rowSpan=i-e,r[n].rowSpan=i-e)})}function A(t,n){var i,r=t.find("tr"),a=[];for(r.filter(function(t){var n=!e(this).children().length;return n&&a.push(t),n}).remove(),i=a.length-1;i>=0;i--)n.children.splice(a[i],1);D(t,n)}function N(t,n){if(n===!0){t=e(t);var i,r;i=t.parent().scrollTop(),r=t.parent().scrollLeft(),kendo.focusElement(t),t.parent().scrollTop(i).scrollLeft(r)}else e(t).one("focusin",function(e){e.preventDefault()}).focus()}function E(e,t){var n,i=e.offsetHeight,r=t.offsetHeight;i>r?n=i+"px":i<r&&(n=r+"px"),n&&(e.style.height=t.style.height=n)}function R(e,t){return!(!(e&&t&&e.field)||e.selectable||e.command||e.editable&&!e.editable(t))&&(e.field&&t.editable&&t.editable(e.field))}function z(e,t){var n=(e||{}).field||"";return t.dirty&&t.dirtyFields&&t.dirtyFields[n]&&R(e,t)}function L(e){return t===e}function q(e){return"number"==typeof e&&!isNaN(e)}var O,W,B,V,j,K,Q,U=kendo.data,G=kendo.dom,$=G.element,J=G.text,Y=G.html,X=kendo._outerWidth,Z=kendo.keys,ee=kendo._outerHeight,te=kendo.ui,ne=te.DataBoundWidget,ie=U.DataSource,re=U.ObservableArray,ae=U.Query,se=U.Model,le=kendo.support.browser,oe=kendo.template,de
1219=kendo._activeElement,he=e.isArray,ce=e.extend,ue=e.proxy,pe=e.map,fe=e.grep,ge=e.inArray,_e=e.isPlainObject,me=Array.prototype.push,be="string",ve="change",ke="itemChange",Ce="error",we="progress",ye=".",Ie=".kendoTreeList",Te="click",xe="input",Se="beforeEdit",Me="edit",Pe="page",He="pageChange",Fe="save",De="saveChanges",Ae="sort",Ne="expand",Ee="collapse",Re="cellClose",ze="remove",Le="td:not(.k-group-cell):not(.k-hierarchy-cell):visible",qe="dataBinding",Oe="dataBound",We="cancel",Be="tabIndex",Ve="filterMenuInit",je="filterMenuOpen",Ke="columnHide",Qe="columnShow",Ue="th.k-header",Ge="columnReorder",$e="columnResize",Je="columnMenuInit",Ye="columnMenuOpen",Xe="columnLock",Ze="columnUnlock",et="parentId",tt="dragstart",nt="drag",it="drop",rt="dragend",at="tr:visible",st="td:visible",lt="th:visible",ot="k-grid-norecords",dt="tr:not(.k-footer-template):visible",ht=at+" > td:first:visible",ct=dt+":last",ut=!1,pt="height",ft="incell",gt="inline",_t="popup",mt="table",bt={wrapper:"k-treelist k-grid k-widget k-grid-display-block",header:"k-header",button:"k-button",alt:"k-alt",editCell:"k-edit-cell",editRow:"k-grid-edit-row",dirtyCell:"k-dirty-cell",group:"k-treelist-group",gridToolbar:"k-grid-toolbar",gridHeader:"k-grid-header",gridHeaderWrap:"k-grid-header-wrap",gridContent:"k-grid-content",gridContentWrap:"k-grid-content",gridFilter:"k-grid-filter",footerTemplate:"k-footer-template",focused:"k-state-focused",loading:"k-i-loading",refresh:"k-i-reload",retry:"k-request-retry",selected:"k-state-selected",status:"k-status",link:"k-link",withIcon:"k-with-icon",filterable:"k-filterable",icon:"k-icon",iconFilter:"k-i-filter",iconCollapse:"k-i-collapse",iconExpand:"k-i-expand",iconHidden:"k-i-none",iconPlaceHolder:"k-icon k-i-none",input:"k-input",dropPositions:"k-i-insert-up k-i-insert-down k-i-plus k-i-insert-middle",dropTop:"k-i-insert-up",dropBottom:"k-i-insert-down",dropAdd:"k-i-plus",dropMiddle:"k-i-insert-middle",dropDenied:"k-i-cancel",dragStatus:"k-drag-status",dragClue:"k-drag-clue",dragClueText:"k-clue-text"},vt={create:{imageClass:"k-i-plus",className:"k-grid-add",methodName:"addRow"},createchild:{imageClass:"k-i-plus",className:"k-grid-add",methodName:"addRow"},destroy:{imageClass:"k-i-close",className:"k-grid-delete",methodName:"removeRow"},edit:{imageClass:"k-i-edit",className:"k-grid-edit",methodName:"editRow"},update:{imageClass:"k-i-check",className:"k-primary k-grid-update",methodName:"saveRow"},canceledit:{imageClass:"k-i-cancel",className:"k-grid-cancel",methodName:"_cancelEdit"},cancel:{imageClass:"k-icon k-i-cancel",text:"Cancel changes",className:"k-grid-cancel-changes",methodName:"cancelChanges"},save:{imageClass:"k-icon k-i-check",text:"Save changes",className:"k-grid-save-changes",methodName:"saveChanges"},excel:{imageClass:"k-i-file-excel",className:"k-grid-excel",methodName:"saveAsExcel"},pdf:{imageClass:"k-i-file-pdf",className:"k-grid-pdf",methodName:"saveAsPDF"},search:{template:"<span class='k-textbox k-grid-search k-display-flex'><input autocomplete='off' placeholder='#= message #' title='#= message #' class='k-input' /><span class='k-input-icon'><span class='k-icon k-i-search'></span></span></span>"}},kt=kendo.Class.extend({init:function(e,t){var n=this;n.data=e||[],n.options=ce(n.options,t)},options:{defaultParentId:null,idField:"id",parentIdField:et},childrenMap:function(){var e,t,n,i,r=this,a={},s=r.data.length,l=r.options.idField,o=r.options.parentIdField;if(r._childrenMap)return r._childrenMap;for(i=0;i<s;i++)e=this.data[i],t=e[l],n=e[o],a[t]=a[t]||[],a[n]=a[n]||[],a[n].push(e);return r._childrenMap=a,a},idsMap:function(){var e,t,n=this,i={},r=n.data,a=r.length,s=n.options.idField;if(n._idMap)return n._idMap;for(t=0;t<a;t++)e=r[t],i[e[s]]=e;return n.idsMap=i,i},dataMaps:function(){var e,t,n,i,r=this,a={},s=r.data,l=s.length,o={},d=r.options.idField,h=r.options.parentIdField;if(r._dataMaps)return r._dataMaps;for(i=0;i<l;i++)e=s[i],t=e[d],n=e[h],o[t]=e,a[t]=a[t]||[],a[n]=a[n]||[],a[n].push(e);return r._dataMaps={children:a,ids:o}},rootNodes:function(){var e,t,n=this,i=n.data,r=n.options.defaultParentId,a=i.length,s=[],l=n.options.parentIdField;for(t=0;t<a;t++)e=i[t],e[l]===r&&s.push(e);return s},removeCollapsedSubtreesFromRootNodes:function(e){var t,n,i,r,a;for(e=e||{}
1219,t=this,n=t.rootNodes(),i=[],t._childrenMap=e.childrenMap=e.childrenMap||t.childrenMap(),e.maxDepth=e.maxDepth||1/0,a=0;a<n.length;a++)r=t.removeCollapsedSubtrees(n[a],e),i=i.concat(r);return i},removeCollapsedSubtrees:function(e,t){var n,i,r,a,s,l,o,d,h;if(t=t||{},n=this,i=[],s=t.childrenMap||{},l=t.maxDepth||1/0,o=n.options.idField,d=s[e[o]]||[],h=L(e.expanded)?t.expanded:e.expanded,i.push(e),d&&h)for(r=0;r<d.length&&!(i.length>=l);r++)a=n.removeCollapsedSubtrees(d[r],t),i=i.concat(a);return i}}),Ct=function(e){this.data=e||[]};Ct.prototype=new ae,Ct.prototype.constructor=Ct,Ct.process=function(e,n,i){var r,a,s,l,o,d,h,c,u,p,f,g;return n=n||{},r=new Ct(e),a=n.group,s=ae.normalizeGroup(a||[]).concat(ae.normalizeSort(n.sort||[])),l=n.filterCallback,o=n.filter,d=n.skip,h=n.take,s&&i&&(r=r.sort(s,t,t,i)),o&&(r=r.filter(o),l&&(r=l(r)),c=r.toArray().length),s&&!i&&(r=r.sort(s),a&&(e=r.toArray())),n.processFromRootNodes&&(f=new kt(r.toArray(),n),o&&(p=f.childrenMap()),g=f.removeCollapsedSubtreesFromRootNodes({childrenMap:o||s&&s.length?t:n.childrenMap,expanded:n.expanded,maxDepth:d+h||1/0}),u=f.childrenMap(),r=new Ct(g)),d!==t&&h!==t&&(r=r.range(d,h)),a&&(r=r.group(a,e)),{total:c,data:r.toArray(),childrenMap:u,filteredChildrenMap:p}},O=se.define({id:"id",parentId:et,fields:{id:{type:"number"},parentId:{type:"number",nullable:!0}},init:function(e){se.fn.init.call(this,e),this._loaded=!1,this.parentIdField||(this.parentIdField=et),this.parentId=this.get(this.parentIdField)},accept:function(e){se.fn.accept.call(this,e),this.parentId=this.get(this.parentIdField)},set:function(e,t,n){e==et&&this.parentIdField!=et&&(this[this.parentIdField]=t),se.fn.set.call(this,e,t,n),e==this.parentIdField&&(this.parentId=this.get(this.parentIdField))},loaded:function(e){return e===t?this._loaded:(this._loaded=e,t)},shouldSerialize:function(e){return se.fn.shouldSerialize.call(this,e)&&"_loaded"!==e&&"_error"!=e&&"_edit"!=e&&!("parentId"!==this.parentIdField&&"parentId"===e)}}),O.parentIdField=et,O.define=function(e,n){var i,r;return n===t&&(n=e,e=O),i=n.parentId||et,n.parentIdField=i,r=se.define(e,n),i&&(r.parentIdField=i),r},W=ie.extend({init:function(e){e=e||{};var t=this;t._dataMaps=t._getDataMaps(),e.schema=ce(!0,{},{modelBase:O,model:O},e.schema),ie.fn.init.call(this,e)},_addRange:function(){},_createNewModel:function(e){var t=this,n={},i=e instanceof se,r=this._modelParentIdField();return i&&(n=e),n=ie.fn._createNewModel.call(this,n),i||(e.parentId?e[n.parentIdField]=e.parentId:t._isPageable()&&e[r]&&(e[n.parentIdField]=e[r]),n.accept(e)),n},_shouldWrap:function(){return!0},_push:function(e,t){var n=ie.fn._readData.call(this,e);n||(n=e),this[t](n)},_getData:function(){return this._data||[]},_readData:function(e){var t=this,n=t._isPageable()?t._getData().toJSON():t.data();return e=ie.fn._readData.call(this,e),this._replaceData((n.toJSON?n.toJSON():n).concat(e),n),e instanceof re?e:n},_replaceData:function(e,t){var n,i=e.length;for(n=0;n<i;n++)t[n]=e[n];t.length=i},_readAggregates:function(e){var t=ce(this._aggregateResult,this.reader.aggregates(e));return""in t&&(t[this._defaultParentId()]=t[""],delete t[""]),t},read:function(e){var n=this;return n._isPageable()&&(n._dataMaps={},n._modelOptions().expanded||(n._skip=0,n._page=1,n._collapsedTotal=t)),ie.fn.read.call(n,e)},remove:function(e){this._removeChildData(e),this._removeFromDataMaps(e),ie.fn.remove.call(this,e)},_removeChildData:function(e,t){var n=this,i=n._isPageable(),r=i?this._getData():this.data(),a=i?n._getChildrenMap()||n.childrenMap(r):n._childrenMap(r),s=this._subtree(a,e.id),l=!L(t)&&t,o=this._removeItems(s,l);n._removeFromDataMaps(o)},pushDestroy:function(e){var t,n=this;for(he(e)||(e=[e]),t=0;t<e.length;t++)n._removeChildData(e[t],!0),n._removeFromDataMaps(e[t]);ie.fn.pushDestroy.call(n,e)},insert:function(e,t){var n=this,i=n._createNewModel(t);return n._insertInDataMaps(i),ie.fn.insert.call(n,e,i)},_filterCallback:function(e){var t,n,i,r=this,a={},s=[],l=e.toArray(),o=r._modelIdField(),d=r._modelParentIdField(),h=r._isPageable(),c=[];for(t=0;t<l.length;t++)if(n=l[t],h){for(c=[],a[n[o]]||(a[n[o]]=!0,c.push(n)),i=r._parentNode(n);i&&!a[i[o]];)a[i[o]]=!0,c.unshift(i),i=r._parentNode(i);c.length&&(s=s.concat(c))}else for(;n&&(a[n[o]]||(a[n[o]]=!0,s.push(n)),!a[n[d]]);)a[n[d]]=!0,n=this.parentNode(n),n&&s.push(n);return new ae(s)},_subtree:function(e,t){var n,i,r=this,a=e[t]||[],s=r._defaultParentId(),l=r._modelIdField();for(n=0,i=a.length;n<i;n++)a[n][l]!==s&&(a=a.concat(r._subtree(e,a[n][l])));return a},_childrenMap:function(e){var t,n,i,r,a={};for(e=this._observeView(e),t=0;t<e.length;t++)n=e[t],i=n.id,r=n.parentId,a[i]=a[i]||[],a[r]=a[r]||[],a[r].push(n);return a},childrenMap:function(e){var t=this._createTreeView(e),n=t.childrenMap();return n},_getChildrenMap:function(){var e=this,t=e._getDataMaps();return t.children},_initIdsMap:function(e){var t=this,n=t._getDataMaps();return L(n.ids)&&(n.ids=t._idsMap(e)),n.ids},_idsMap:function(e){var t=this._createTreeView(e),n=t.idsMap();return n},_getIdsMap:function(){var e=this,t=e._getDataMaps();return t.ids||{}},_getFilteredChildrenMap:function(){var e=this,t=e._getDataMaps();return t.filteredChildren},_setFilteredChildrenMap:function(e){var t=this,n=t._getDataMaps();n.filteredChildren=e},_initDataMaps:function(e){var t=this,n=t._createTreeView(e);return t._dataMaps=n.dataMaps()},_initChildrenMapForParent:function(e){var t,n=this,i=n._getData(),r=n._getChildrenMap(),a=n._modelIdField(),s=n._modelParentIdField(),l=(e||{})[a];if(r&&e)for(r[l]=[],t=0;t<i.length;t++)i[t][s]===l&&r[l].push(i[t])},_getDataMaps:function(){var e=this;return e._dataMaps=e._dataMaps||{}},_createTreeView:function(e,t){var n=new kt(e,ce(t,this._defaultTreeModelOptions()));return n},_defaultTreeModelOptions:function(){var e=this,t=e._modelOptions();return{defaultParentId:e._defaultParentId(),idField:e._modelIdField(),parentIdField:e._modelParentIdField(),expanded:t.expanded}},_defaultDataItemType:function(){return this.reader.model||kendo.data.ObservableObject},_calculateAggregates:function(e,t){var n,i,r,a,s,l,o,d,h,c,u,p,f,g;if(t=t||{},n=this,i={},l=t.filter,o=t.skip,d=t.take,h=L(o)||L(d)?1/0:o+d,c=n._isPageable(),u=t.filteredChildrenMap,p=t.childrenMap,c){if(L(t.aggregate))return i;f=u?u:p?p:n.childrenMap(n._getData())}for(!c&&l&&(e=ae.process(e,{filter:l,filterCallback:ue(this._filterCallback,this)}).data),g=c?f:n._childrenMap(e),i[this._defaultParentId()]=new ae(this._subtree(g,this._defaultParentId())).aggregate(t.aggregate),s=0;s<e.length&&!(s>=h);s++)r=e[s],a=this._subtree(g,r.id),i[r.id]=new ae(a).aggregate(t.aggregate);return i},_queryProcess:function(e,t){var n,i,r,a,s,l,o=this,d={};if(t=t||{},t.filterCallback=ue(this._filterCallback,this),o._isPageable())return o._processPageableQuery(e,t);for(n=this._defaultParentId(),d=ae.process(e,t),i=this._childrenMap(d.data),e=i[n]||[],a=0;a<e.length;a++)s=e[a],s.id!==n&&(l=i[s.id],r=!(!l||!l.length),s.loaded()||s.loaded(r||!s.hasChildren),(s.loaded()||s.hasChildren!==!0)&&(s.hasChildren=r),r&&(e=e.slice(0,a+1).concat(l,e.slice(a+1))));return d.data=e,d},_processPageableQuery:function(e,t){var n,i,r=this,a=r._getDataMaps();return r._getData()===e&&a.children&&a.ids||(a=r._initDataMaps(r._getData())),t.childrenMap=a.children||{},t.idsMap=a.ids||{},n=r._processTreeQuery(e,t),r._replaceWithObservedData(n.data,e),r._processDataItemsState(n.data,n.childrenMap),r._replaceItems
1219InDataMaps(n.data),n.dataToAggregate=r._dataToAggregate(n.data,t),(t.filter||r.filter())&&(i=n.filteredChildrenMap,r._replaceInMapWithObservedData(i,e),r._setFilteredChildrenMap(i),t.filteredChildrenMap=i,r._calculateCollapsedTotal(n.data)),n},_dataToAggregate:function(e){var t=this,n=e[0]||{},i=t._parentNodes(n),r=i.concat(e);return r},_replaceItemsInDataMaps:function(e){var n,i,r,a,s=this,l=he(e)?e:[e],o=s._defaultDataItemType(),d=s._defaultParentId(),h=s._modelIdField(),c=s._modelParentIdField(),u=s._getDataMaps();for(a=0;a<l.length;a++)n=l[a],n instanceof o&&(s._insertInIdsMap(n),i=s._parentNodes(n),r=i&&i.length?i[i.length-1]:t,n[c]===d?s._replaceInMap(u.children,d,n,o):r&&s._replaceInMap(u.children,r[h],n,o))},_replaceInMap:function(e,t,n,i){var r,a,s=this._modelIdField();e[t]=e[t]||[],i=i||this._defaultDataItemType(),r=e[t].filter(function(e){return n[s]===e[s]})[0],a=r?e[t].indexOf(r):-1,a===-1||r instanceof i||(e[t][a]=n)},_replaceWithObservedData:function(e,t){var n,i,r,a,s,l,o=this,d=o._getDataMaps().ids||{},h=o._modelIdField(),c=o._defaultDataItemType();for(l=0;l<e.length;l++)n=e[l],i=n[h],n instanceof c||(d[i]instanceof c?e[l]=d[i]:(r=o._getById(i),a=t.indexOf(r),r&&a!==-1&&(s=t.at(a),e[l]=s)))},_replaceInMapWithObservedData:function(e,t){var n,i=this;for(n in e)i._replaceWithObservedData(e[n],t)},_insertInDataMaps:function(e){var t=this;t._isPageable()&&(t._insertInIdsMap(e),t._insertInChildrenMap(e))},_insertInIdsMap:function(e){var t=this,n=t._getIdsMap(),i=t._modelIdField();L(e[i])||(n[e[i]]=e)},_insertInChildrenMap:function(e,t){var n=this,i=n._getChildrenMap()||{},r=n._modelIdField(),a=n._modelParentIdField(),s=e[r],l=e[a];t=t||0,i[s]=i[s]||[],i[l]=i[l]||[],i[l].splice(t,0,e)},_removeFromDataMaps:function(e){var t,n=this;if(e=he(e)?e:[e],n._isPageable())for(t=0;t<e.length;t++)n._removeFromIdsMap(e[t]),n._removeFromChildrenMap(e[t])},_removeFromIdsMap:function(e){var n=this,i=n._getIdsMap(),r=n._modelIdField();L(e[r])||(i[e[r]]=t)},_removeFromChildrenMap:function(e){var t,n=this,i=n._getChildrenMap()||{},r=n._modelParentIdField(),a=e[r];i[a]=i[a]||[],t=n._indexInChildrenMap(e),t!==-1&&i[a].splice(t,1)},_indexInChildrenMap:function(e){var t=this;return t._itemIndexInMap(e,t._getChildrenMap())},_itemIndexInMap:function(e,t){var n,i,r=this,a=t||{},s=r._modelParentIdField(),l=e[s];return a[l]=a[l]||[],n=a[l].filter(function(t){return e.uid===t.uid})[0],i=n?a[l].indexOf(n):-1},_getById:function(e){var t,n=this,i=n._modelIdField(),r=n._getData();for(t=0;t<r.length;t++)if(r[t][i]===e)return r[t]},_isLastItemInView:function(e){var t=this.view();return t.length&&t[t.length-1]===e},_defaultPageableQueryOptions:function(){var e=this,t=e._getDataMaps(),n={skip:e.skip(),take:e.take(),page:e.page(),pageSize:e.pageSize(),sort:e.sort(),filter:e.filter(),group:e.group(),aggregate:e.aggregate(),filterCallback:ue(e._filterCallback,e),childrenMap:t.children,idsMap:t.ids};return n},_isPageable:function(){var e=this.pageSize();return!L(e)&&e>0&&!this.options.serverPaging},_updateTotalForAction:function(e,t){var n=this;ie.fn._updateTotalForAction.call(n,e,t),n._isPageable()&&n._updateCollapsedTotalForAction(e,t)},_updateCollapsedTotalForAction:function(e,n){var i=this,r=parseInt(i._collapsedTotal,10);return q(i._collapsedTotal)?("add"===e?r+=n.length:"remove"===e?r-=n.length:"itemchange"===e||"sync"===e||i.options.serverPaging?"sync"===e&&(r=i._calculateCollapsedTotal()):r=i._calculateCollapsedTotal(),i._collapsedTotal=r,t):(i._calculateCollapsedTotal(),t)},_setFilterTotal:function(e,t){var n=this;ie.fn._setFilterTotal.call(n,e,t)},collapsedTotal:function(){var e=this;return L(e._collapsedTotal)?e._calculateCollapsedTotal():e._collapsedTotal},_calculateCollapsedTotal:function(e){var t=this,n=t._dataWithoutCollapsedSubtrees(e);return n.length&&(t._collapsedTotal=n.length),t._collapsedTotal},_dataWithoutCollapsedSubtrees:function(e){return this._removeCollapsedSubtrees(e||this._getData())},_removeCollapsedSubtrees:function(e){var t=this,n=t._createTreeView(e),i=n.removeCollapsedSubtreesFromRootNodes({expanded:t._modelOptions().expanded,childrenMap:t.filter()?t._getFilteredChildrenMap():t._getChildrenMap()});return i},_processTreeQuery:function(e,t){var n=Ct.process(e,ce(t,this._defaultTreeModelOptions(),{processFromRootNodes:!0}));return n},_processDataItemsState:function(e,t){var n,i=e.length;for(n=0;n<i;n++)this._processDataItemState(e[n],t)},_processDataItemState:function(e,t){var n,i,r=this._defaultParentId();e.id!==r&&(n=t[e.id]||[],i=!(!n||!n.length),e.loaded&&(e.loaded()||e.loaded(i||!e.hasChildren),(e.loaded()||e.hasChildren!==!0)&&(e.hasChildren=i)))},_queueRequest:function(e,t){t.call(this)},_modelLoaded:function(e){var t=this.get(e);t.loaded(!0),t.hasChildren=this.childNodes(t).length>0},_modelError:function(e,t){this.get(e)._error=t}
1219,success:function(e,n){n&&t!==n.id||(this._data=this._observe([])),ie.fn.success.call(this,e,n),this._total=this._data.length},load:function(t){var n="_query",i=this.options.serverSorting||this.options.serverPaging||this.options.serverFiltering||this.options.serverGrouping||this.options.serverAggregates,r=e.Deferred().resolve().promise();if(t.loaded()){if(i)return r}else t.hasChildren&&(n="read",this._removeChildData(t));return this[n]({id:t.id}).done(ue(this._modelLoaded,this,t.id)).fail(ue(this._modelError,this,t.id))},contains:function(e,t){for(var n=this,i=n._modelIdField(),r=n._modelParentIdField(),a=e[i],s=n._isPageable();t;){if(t[r]===a)return!0;t=s?n._parentNode(t):n.parentNode(t)}return!1},_byParentId:function(e,t){var n,i,r=[],a=this.view();if(e===t)return[];for(i=0;i<a.length;i++)n=a.at(i),n.parentId==e&&r.push(n);return r},_defaultParentId:function(){return this.reader.model.fn.defaults[this.reader.model.parentIdField]},_modelOptions:function(){var e=(this.options.schema||{}).model||{};return e},_modelIdField:function(){var e=this._modelOptions();return e.id||"id"},_modelParentIdField:function(){var e=this._modelOptions();return e.parentId||et},childNodes:function(e){return this._byParentId(e.id,this._defaultParentId())},rootNodes:function(){return this._byParentId(this._defaultParentId())},_rootNode:function(e){return this._parentNodes(e)[0]},_pageableRootNodes:function(e){var t,n,i,r,a,s,l,o;for(e=e||{},t=this,n=t._defaultParentId(),i=t._modelParentIdField(),r=[],a=t._nodesWithoutParentInView(e),o=0;o<a.length;o++)s=a[o],s[i]===n?r.push(s):(l=t._rootNode(s),l&&r.indexOf(l)===-1&&r.push(l));return r},parentNode:function(e){return this.get(e.parentId)},_parentNode:function(e){var t=this,n=t._modelParentIdField(),i=t._initIdsMap(t._getData()),r=e[n],a=i[r]||t._getById(r);return a},_parentNodes:function(e){for(var t=this,n=t._parentNode(e),i=[];n;)i.unshift(n),n=t._parentNode(n);return i},_parentNodesNotInView:function(){var e,t,n,i,r,a,s=this,l=s.view(),o=[],d=s._defaultParentId(),h=s._modelIdField(),c=s._modelParentIdField(),u=[];for(a=0;a<l.length;a++)n=l[a],i=n[h],r=n[c],e=s._parentInView(r),e||r===d||(u=s._parentNodes(n),t=u&&u.length?u[u.length-1]:s._getById(r),t&&o.indexOf(t)===-1&&o.push(t));return o},_nodesWithoutParentInView:function(e){var t,n,i,r,a,s,l,o,d,h;for(e=e||{},t=this,n=t.view(),i=e.childrenMap||t.childrenMap(t._getData()),r=t._modelIdField(),a=t._modelParentIdField(),o=[],d=[],h=0;h<n.length;h++)s=n[h],o=i[s[r]],l=t._parentInView(s[a]),l||d.push(s);return d},_parentInView:function(e){var t,n=this.view();for(t=0;t<n.length;t++)if(n[t].id===e)return n[t]},level:function(e){var t=-1;e instanceof O||(e=this.get(e));do e=this.parentNode(e),t++;while(e);return t},_pageableModelLevel:function(e){var t,n=this;return e&&n._isPageable()?(t=n._parentNodes(e),t.length):0},filter:function(e){var n=ie.fn.filter;return e===t?n.call(this,e):(n.call(this,e),t)},_pageableQueryOptions:function(e){var t=this._getDataMaps();return e.childrenMap=t.children,e.idsMap=t.ids,e},_flatData:function(e,t){return t=!!this._isPageable()||t,ie.fn._flatData.call(this,e,t)},data:function(e){var t=this,n=ie.fn.data.call(t,e);return t._isPageable()&&(t._initDataMaps(t._getData()),t._calculateCollapsedTotal()),n},cancelChanges:function(e){var t=this;ie.fn.cancelChanges.call(t,e),t._restorePageSizeAfterAddChild()},_modelCanceled:function(e){var t=this;t._isPageable()&&t._removeFromDataMaps(e)},_changesCanceled:function(){var e=this;e._isPageable()&&e._initDataMaps(e._getData())},_setAddChildPageSize:function(){var e=this,t={};e._isPageable()&&(e._addChildPageSize=e.pageSize()+1,t=e._defaultPageableQueryOptions(),t.take=e._addChildPageSize,t.pageSize=e._addChildPageSize,e._query(t))},_restorePageSizeAfterAddChild:function(){var e=this,n={};e._isPageable()&&(L(e._addChildPageSize)||(n=e._defaultPageableQueryOptions(),n.take=e._addChildPageSize-1,n.pageSize=e._addChildPageSize-1,e._query(n))),e._addChildPageSize=t},sync:function(){var e=this;return ie.fn.sync.call(e).then(function(){e._restorePageSizeAfterAddChild()})},_syncEnd:function(){var e=this;e._isPageable()&&e._initDataMaps(e._getData())}}),W.create=function(t){return e.isArray(t)?t={data:t}:t instanceof re&&(t={data:t.toJSON()}),t instanceof W?t:new W(t)},B=te.Pager.extend({options:{name:"TreeListPager"},totalPages:function(){var e=this,t=e.dataSource;return t&&t._filter?te.Pager.fn.totalPages.call(e):Math.ceil((e._collapsedTotal()||0)/(e.pageSize()||1))},_createDataSource:function(e){this.dataSource=kendo.data.TreeListDataSource.create(e.dataSource)},_collapsedTotal:function(){var e=this.dataSource;return e?e.collapsedTotal()||0:0}}),V=kendo.Observable.extend({init:function(e,t){kendo.Observable.fn.init.call(this),t=this.options=ce(!0,{},this.options,t),this.element=e,this.bind(this.events,t),this.model=this.options.model,this.fields=this._fields(this.options.columns),this._initContainer(),this.createEditable()},events:[],_initContainer:function(){this.wrapper=this.element},createEditable:function(){var e=this.options;this.editable=new te.Editable(this.wrapper,{fields:this.fields,target:e.target,clearContainer:e.clearContainer,model:this.model,change:e.change})},_isEditable:function(e){return R(e,this.model)},_fields:function(e){var t,n,i,r=[];for(t=0,n=e.length;t<n;t++)i=e[t],this._isEditable(i)&&r.push({field:i.field,format:i.format,editor:i.editor});return r},end:function(){return this.editable.end()},close:function(){this.destroy()},destroy:function(){this.editable.destroy(),this.editable.element.find("["+kendo.attr("container-for")+"]").empty().end().removeAttr(kendo.attr("role")),this.model=this.wrapper=this.element=this.columns=this.editable=null}}),j=V.extend({init:function(e,t){V.fn.init.call(this,e,t),this._attachHandlers(),kendo.cycleForm(this.wrapper),this.open()},events:[We,Fe],options:{window:{modal:!0,resizable:!1,draggable:!0,title:"Edit",visible:!1}},_initContainer:function(){var t=this.options,n=[];this.wrapper=e('<div class="k-popup-edit-form"/>').attr(kendo.attr("uid"),this.model.uid).append('<div class="k-edit-form-container"/>'),t.template?(this._appendTemplate(n),this.fields=[]):this._appendFields(n),this._appendButtons(n),new G.Tree(this.wrapper.children()[0]).render(n),this.wrapper.appendTo(t.appendTo),this.window=new te.Window(this.wrapper,t.window)},_appendTemplate:function(e){var t=this.options.template;typeof t===be&&(t=kendo.unescape(t)),t=kendo.template(t)(this.model),e.push(Y(t))},_appendFields:function(e){var t,n,i,r=this.options.columns;for(t=0,n=r.length;t<n;t++)i=r[t],i.command||(e.push(Y('<div class="k-edit-label"><label for="'+i.field+'">'+(i.title||i.field||"")+"</label></div>")),e.push(this._isEditable(i)?Y("<div "+kendo.attr("container-for")+'="'+i.field+'" class="k-edit-field"></div>'):$("div",{"class":"k-edit-field"},[this.options.fieldRenderer(i,this.model)])))},_appendButtons:function(e){e.push($("div",{"class":"k-edit-buttons k-state-default"},this.options.commandRenderer()))},_attachHandlers:function(){var e=this._cancelProxy=ue(this._cancel,this);this.wrapper.on(Te+Ie,".k-grid-cancel",this._cancelProxy),this._saveProxy=ue(this._save,this),this.wrapper.on(Te+Ie,".k-grid-update",this._saveProxy),this.window.bind("close",function(t){t.userTriggered&&e(t)})},_detachHandlers:function(){this._cancelProxy=null,this._saveProxy=null,this.wrapper.off(Ie)},_cancel:function(e){this.trigger(We,e)},_save:function(){this.trigger(Fe)},open:function(){this.window.center().open()},close:function(){this.window.bind("deactivate",ue(this.destroy,this)).close()},destroy:function(){this.window.destroy(),this.window=null,this._detachHandlers(),V.fn.destroy.call(this)}}),K=V.extend({destroy:function(){var e=this;e.editable.destroy(),e.editable.element.off().empty().removeAttr(kendo.attr("role")),e.model=e.wrapper=e.element=e.columns=e.editable=null}}),Q=ne.extend({init:function(t,n){if(ne.fn.init.call(this,t,n),ut=kendo.support.isRtl(t),this._dataSource(this.options.dataSource),this._aria(),this._columns(),this._layout(),this._navigatable(),this._selectable(),this._sortable(),this._resizable(),this._filterable(),this._attachEvents(),this._toolbar(),this._scrollable(),this._reorderable(),this._columnMenu(),this._minScreenSupport(),this._draggable(),this._pageable(),this.options.autoBind&&this.dataSource.fetch(),this._hasLockedColumns){var i=this;
1219this.wrapper.addClass("k-grid-lockedcolumns"),this._resizeHandler=function(){i.resize()},e(window).on("resize"+Ie,this._resizeHandler)}kendo.notify(this)},_draggable:function(){var t=this,n=this.options.editable,i=t.dataSource,r=i._modelIdField(),a=i._modelParentIdField(),s=t._isPageable();n&&n.move&&(kendo.support.touch&&n.move&&t.element.find(ye+bt.gridContentWrap).css("touch-action","none"),this._dragging=new kendo.ui.HierarchicalDragAndDrop(this.wrapper,{$angular:this.$angular,autoScroll:!0,filter:"tbody>tr",itemSelector:"tr",allowedContainers:this.wrapper,hintText:function(t){var n=function(){return e(this).text()},i="<span class='k-header k-drag-separator'></span>";return t.children("td").map(n).toArray().join(i)},contains:ue(function(e,t){var n=this.dataItem(t),i=this.dataItem(e);
1220return i==n||this.dataSource.contains(i,n)},this),itemFromTarget:function(e){var t=e.closest("tr");return{item:t,content:t}},dragstart:ue(function(e){this.wrapper.addClass("k-treelist-dragging");var t=this.dataItem(e);return this.trigger(tt,{source:t})},this),drag:ue(function(e){e.source=this.dataItem(e.source),this.trigger(nt,e)},this),drop:ue(function(e){return e.source=this.dataItem(e.source),e.destination=this.dataItem(e.destination),this.wrapper.removeClass("k-treelist-dragging"),this.trigger(it,e)},this),dragend:ue(function(e){var t,n=this.dataItem(e.destination),l=this.dataItem(e.source),o=l[a],d=i._indexInChildrenMap(l);s&&(i._removeFromChildrenMap(l),l[a]=n?n[r]:null,i._initChildrenMapForParent(n),l[a]=o),t=l.set("parentId",n?n.id:null),s&&t&&(i._removeFromChildrenMap(l),l[a]=o,i._removeFromChildrenMap(l),i._insertInChildrenMap(l,d)),e.source=l,e.destination=n,this.trigger(rt,e)},this),reorderable:!1,dropHintContainer:function(e){return e.children("td:eq(1)")},dropPositionFrom:function(e){return e.prevAll(".k-i-none").length>0?"after":"before"}}))},itemFor:function(e){return"number"==typeof e&&(e=this.dataSource.get(e)),this.tbody.find("["+kendo.attr("uid")+"="+e.uid+"]")},_itemFor:function(e){var t=this,n=t.lockedContent?t.lockedTable:t.table;return"number"==typeof e&&(e=this.dataSource.get(e)),n.find("["+kendo.attr("uid")+"="+e.uid+"]")},_scrollable:function(){var t,n,i;this.options.scrollable&&(t=this.thead.closest(".k-grid-header-wrap"),n=e(this.lockedContent).bind("DOMMouseScroll"+Ie+" mousewheel"+Ie,ue(this._wheelScroll,this)),this.content.bind("scroll"+Ie,function(){t.scrollLeft(this.scrollLeft),n.scrollTop(this.scrollTop)}),i=kendo.touchScroller(this.content),i&&i.movable&&(this._touchScroller=i,i.movable.bind("change",function(e){t.scrollLeft(-e.sender.x),n&&n.scrollTop(-e.sender.y)})))},_wheelScroll:function(t){var n,i;t.ctrlKey||(n=kendo.wheelDeltaY(t),i=e(t.currentTarget),n&&(i[0].scrollHeight>i[0].clientHeight&&(i[0].scrollTop<i[0].scrollHeight-i[0].clientHeight&&n<0||i[0].scrollTop>0&&n>0)&&t.preventDefault(),i.one("wheel"+Ie,!1),this.content.scrollTop(this.content.scrollTop()+-n)))},_progress:function(){var e=this.options.messages;this.tbody.find("tr").length||this._showStatus(kendo.template("<span class='#= className #'></span> #: messages.loading #")({className:bt.icon+" "+bt.loading,messages:e}))},_error:function(e){this.dataSource.rootNodes().length||this._render({error:e})},refresh:function(t){var n,i,r;t=t||{},"itemchange"==t.action&&this.editor||this.trigger(qe)||(n=e(this.current()),i=!1,this._cancelEditor(),this._render(),this._adjustHeight(),this.options.navigatable&&((this._isActiveInTable()||this.editor)&&(i=n.is("th"),r=Math.max(this.cellIndex(n),0)),this._restoreCurrent(r,i)),this.trigger(Oe))},_angularFooters:function(e){var t,n,i,r=this.dataSource.aggregates(),a=this._footerItems();for(t=0;t<a.length;t++)n=a.eq(t),i=r[n.attr("data-parentId")],this._angularFooter(e,n.find("td").get(),i)},_angularFooter:function(e,t,n){var i=this.columns;this.angular(e,function(){return{elements:t,data:pe(i,function(e){return{column:e,aggregate:n&&n[e.field]}})}})},items:function(){return this._hasLockedColumns?this._items(this.tbody).add(this._items(this.lockedTable)):this._items(this.tbody)},_items:function(t){return t.find("tr[data-uid]").filter(function(){return!e(this).hasClass(bt.footerTemplate)})},_footerItems:function(){var t=this.tbody;return this._hasLockedColumns&&(t=t.add(this.lockedTable)),t.find("tr").filter(function(){return e(this).hasClass(bt.footerTemplate)})},dataItems:function(){var e,t,n,i=kendo.ui.DataBoundWidget.fn.dataItems.call(this);if(this._hasLockedColumns){for(e=i.length,t=Array(2*e),n=e;--n>=0;)t[n]=t[n+e]=i[n];i=t}return i},_showNoRecordsTemplate:function(){var t,n='<div class="{0}">{1}</div>',i='<div class="k-grid-norecords-template"{1}>{0}</div>',r=this.options.scrollable&&!this.wrapper[0].style.height?' style="margin:0 auto;position:static;"':"";this._contentTree.render([]),this._hasLockedColumns&&this._lockedContentTree.render([]),t=kendo.format(i,this.options.messages.noRows,r),e(kendo.template(kendo.format(n,ot,t))({})).insertAfter(this.table)},_showStatus:function(t){var n=this.element.find(".k-status"),i=e(this.content).add(this.lockedContent);n.length||(n=e("<div class='k-status' />").appendTo(this.element)),this._contentTree.render([]),this._hasLockedColumns&&this._lockedContentTree.render([]),i.hide(),n.html(t)},_hideStatus:function(){this.element.find(".k-status").remove(),this._hideNoRecordsTempalte(),e(this.content).add(this.lockedContent).show()},_hideNoRecordsTempalte:function(){this.element.find("."+ot).remove()},_adjustHeight:function(){var e,t,n=this,i=this.element,r=i.find(ye+bt.gridContentWrap),a=i.find(ye+bt.gridHeader),s=i.find(ye+bt.gridToolbar),l=i.find(ye+bt.status),o=n._isPageable()&&n.pager&&n.pager.element.is(":visible")?ee(n.pager.element):0,d=kendo.support.scrollbar();i.css(pt,this.options.height),t=function(e){var t,n;return!!e[0].style.height||(t=e.height(),e.height("auto"),n=e.he
1220ight(),e.height(""),t!=n)},t(i)&&(e=i.height()-ee(a)-ee(s)-ee(l)-o,r.height(e),this._hasLockedColumns&&(d=this.table[0].offsetWidth>this.table.parent()[0].clientWidth?d:0,this.lockedContent.height(e-d)))},_resize:function(e,t){this._applyLockedContainersWidth(),this._adjustHeight(),this.pager&&this.pager.element&&this.pager.resize(t)},_minScreenSupport:function(){var t=this.hideMinScreenCols();t&&(this.minScreenResizeHandler=ue(this.hideMinScreenCols,this),e(window).on("resize",this.minScreenResizeHandler))},_iterateMinScreenCols:function(e,n){var i,r,a,s=!1;for(i=0;i<e.length;i++)r=e[i],a=r.minScreenWidth,a!==t&&null!==a&&(s=!0,a>n?this.hideColumn(r):this.showColumn(r)),!r.hidden&&r.columns&&(s=this._iterateMinScreenCols(r.columns,n)||s);return s},hideMinScreenCols:function(){var e=this.columns,t=window.innerWidth>0?window.innerWidth:screen.width;return this._iterateMinScreenCols(e,t)},destroy:function(){ne.fn.destroy.call(this);var t=this.dataSource;t.unbind(ve,this._refreshHandler),t.unbind(Ce,this._errorHandler),t.unbind(we,this._progressHandler),this._navigatableTables=null,this._current=null,this._resizeHandler&&e(window).off("resize"+Ie,this._resizeHandler),this._dragging&&(this._dragging.destroy(),this._dragging=null),this.resizable&&(this.resizable.destroy(),this.resizable=null),this.reorderable&&(this.reorderable.destroy(),this.reorderable=null),this._draggableInstance&&this._draggableInstance.element&&(this._draggableInstance.destroy(),this._draggableInstance=null),this._userEvents&&(this._userEvents.destroy(),this._userEvents=null),this.minScreenResizeHandler&&e(window).off("resize",this.minScreenResizeHandler),this._destroyEditor(),this.element.off(Ie),this.wrapper.off(Ie),this._touchScroller&&this._touchScroller.destroy(),this._destroyPager(),t&&(t._dataMaps=null),this._autoExpandable=null,this._refreshHandler=this._errorHandler=this._progressHandler=this._dataSourceFetchProxy=null,this.thead=this.content=this.tbody=this.table=this.element=this.lockedHeader=this.lockedContent=null,this._statusTree=this._headerTree=this._contentTree=this._lockedHeaderColsTree=this._lockedContentColsTree=this._lockedHeaderTree=this._lockedContentTree=null},options:{name:"TreeList",columns:[],autoBind:!0,scrollable:!0,selectable:!1,sortable:!1,toolbar:null,height:null,columnMenu:!1,messages:{noRows:"No records to display",loading:"Loading...",requestFailed:"Request failed.",retry:"Retry",commands:{edit:"Edit",update:"Update",canceledit:"Cancel",create:"Add new record",createchild:"Add child record",destroy:"Delete",excel:"Export to Excel",pdf:"Export to PDF",search:"Search..."}},excel:{hierarchy:!0},resizable:!1,search:!1,filterable:!1,editable:!1,reorderable:!1,pageable:!1},events:[ve,Se,Me,Pe,Fe,De,ze,Ne,Ee,qe,Oe,We,tt,nt,it,rt,Ve,ke,Re,je,Ke,Qe,Ge,$e,Je,Ye,Xe,Ze],_toggle:function(n,i){function r(){a._toggleData(),a._isPageable()?a.refresh():a._render(),a._syncLockedContentHeight()}var a=this,s=e.Deferred().resolve().promise(),l=n.loaded();return a._isIncellEditable()&&a.editor&&(e(de()).change(),a.closeCell()),n._error&&(n.expanded=!1,n._error=t),!l&&n.expanded?s:(t===i&&(i=!n.expanded),n.expanded=i,l||(s=this.dataSource.load(n).always(ue(function(){r()},this))),r(),s)},_toggleData:function(){var e=this;e._isPageable()&&e._togglePageableData()},_togglePageableData:function(){var e,t,n=this,i=n.dataSource,r=i._getData(),a=i._defaultPageableQueryOptions();n._renderProgress(!0),t=i._getChildrenMap()||i.childrenMap(i._getData()),i._processDataItemsState(r,t),e=i._processPageableQuery(r,a),a.childrenMap=e.childrenMap,a.filteredChildrenMap=e.filteredChildrenMap,i._aggregateResult=i._calculateAggregates(e.dataToAggregate,a),i.view(e.data),i.filter()||i._calculateCollapsedTotal(),n._refreshPager(),n._renderProgress(!1)},_refreshPager:function(){var e=this.pager;e&&e.refresh()},expand:function(e){return this._toggle(this.dataItem(e),!0)},collapse:function(e){return this._toggle(this.dataItem(e),!1)},_toggleChildren:function(t){var n,i=e(t.target),r=this.dataItem(i);r&&(n=r.expanded?Ee:Ne,this.trigger(n,{model:r})||this._toggle(r),t.preventDefault())},_navigatable:function(){var t,n,i=this;i.options.navigatable&&(t=i.table.add(i.lockedTable),n=i.thead.parent().add(e(">table",i.lockedHeader)),i.options.scrollable&&(t=t.add(n),n.attr(Be,-1)),this._navigatableTables=t,t.on(kendo.support.touch?"touchstart"+Ie:"mousedown"+Ie,at+">:visible",ue(i._tableClick,i)).on("focus"+Ie,ue(i._tableFocus,i)).on("focusout"+Ie,ue(i._tableBlur,i)).on("keydown"+Ie,ue(i._tableKeyDown,i)))},cellIndex:function(t){var n=0;return this.lockedTable&&!e.contains(this.lockedTable[0],t[0])&&(n=f(H(this.columns)).length),e(t).parent().children().index(t)+n},_isActiveInTable:function(){var t=kendo._activeElement();return!!t&&(this.table[0]===t||e.contains(this.table[0],t)||this.lockedTable&&(this.lockedTable[0]===t||e.contains(this.lockedTable[0],t)))},_restoreCurrent:function(n,i){var r,a,s;n===t||n<0||(this._current&&this._current.removeClass("k-state-focused"),i?this.current(this.thead.find("th").eq(n)):(r=0,n=0,a=e(),this.lockedTable&&(a=this.lockedTable.find(">tbody>tr:visible").eq(r)),a=a.add(this.tbody.children().eq(r)),s=a.find(">td:visible").eq(n),this.current(s)),this._current&&N(this._current.closest("table")[0],!0))},current:function(t){var n=this._current;return t=e(t),!t.length||n&&n[0]===t[0]||(this._updateCurrentAttr(n,t),this._scrollCurrent()),t&&t.length&&(this._lastCellIndex=t.parent().children(Le).index(t)),this._current},_setCurrent:function(t){var n=this;return t=e(t),t[0]&&(n._current=t,n._updateCurrentAttr(n._current,t),n._scrollCurrent()),n._current},_scrollCurrent:function(){var t,n,i,r,a,s=this._current,l=this.options.scrollable;s&&l&&(t=s.parent(),n=t.closest("table").parent(),i=n.is(".k-grid-content-locked,.k-grid-header-locked"),r=n.is(".k-grid-content-locked,.k-grid-content"),a=e(this.content)[0],r&&this._scrollTo(this._relatedRow(t)[0],a),this.lockedContent&&(this.lockedContent[0].scrollTop=a.scrollTop),i||this._scrollTo(s[0],a))},_findCurrentCell:function(){var t=this,n=t.current(),i=e(t.table).add(t.header).add(t.lockedTable).add(t.lockedHeader);return n&&i.find(n).length>
12200?n:i.find(ye+bt.focused)},_scrollTo:function(t,n){var i=t.tagName.toLowerCase(),r="td"===i||"th"===i,a=e(t).closest("table")[0],s=t[r?"offsetWidth":"offsetHeight"],l=n[r?"scrollLeft":"scrollTop"],o=n[r?"clientWidth":"clientHeight"],d="relative"===e(t).css("position")&&ut&&r?Math.abs(a.offsetLeft-t.offsetLeft):t[r?"offsetLeft":"offsetTop"],h=d+s,c=0,u=0,p=0;ut&&r&&(le.msie||le.edge?u=a.offsetLeft:le.mozilla&&(p=a.offsetLeft-kendo.support.scrollbar())),l=Math.abs(l+u-p),c=l>d?d:h>l+o?s<=o?h-o:d:l,c=Math.abs(c+u)+p,n[r?"scrollLeft":"scrollTop"]=c},_aria:function(){var e=this.element.attr("id")||"aria";e&&(this._elementId=e+"_active_element")},_currentDataIndex:function(e,n){var i,r=n.attr("data-index");return r?(i=H(this.columns).length,i&&!e.closest("div").hasClass("k-grid-content-locked")[0]?r-i:r):t},_prevVerticalCell:function(t,n){var i,a=n.parent(),l=t.children(at),o=l.index(a),d=this._currentDataIndex(t,n);if(d||n.hasClass("k-header"))return i=w(n),i.eq(i.length-2);if(d=Math.max(a.children(Le).index(n),this._lastCellIndex||0),a.hasClass("k-filter-row"))return s(t).filter(r).eq(d);if(o==-1){if(a=t.find("tr.k-filter-row:visible"),!a[0])return s(t).filter(r).eq(d)}else a=0===o?e():l.eq(o-1);return i=a.children(Le),i.eq(i.length>d?d:0)},_nextVerticalCell:function(e,n){var i,r,a,s,l,o,d=n.parent(),h=e.children(at),c=h.index(d),u=this._currentDataIndex(e,n);if(c!=-1&&u===t&&n.hasClass("k-header"))return y(n).eq(1);if(u=u?parseInt(u,10):d.children(Le).index(n),u=Math.max(u,this._lastCellIndex||0),d=h.eq(c==-1?0:c+n[0].rowSpan),r=u,this._currentDataIndex(e,n)!==t)for(a=d.children(":not(.k-group-cell):not(.k-hierarchy-cell)"),s=a.filter(":hidden"),l=0,o=s.length;l<o;l++)a.index(s[l])<u&&r--;return u=r,i=d.children(Le),i.eq(i.length>u?u:0)},_verticalContainer:function(e,t){var n=e.parent(),i=this._navigatableTables.length,r=Math.floor(i/2),a=ge(n[0],this._navigatableTables);return t&&(r*=-1),a+=r,(a>=0||a<i)&&(n=this._navigatableTables.eq(a)),n.find(t?"thead":"tbody")},_updateCurrentAttr:function(t,n){var i=e(t).data("headerId");e(t).removeClass(bt.focused).closest("table").removeAttr("aria-activedescendant"),i?(i=i.replace(this._elementId,""),e(t).attr("id",i)):e(t).removeAttr("id"),n.data("headerId",n.attr("id")).attr("id",this._elementId).addClass(bt.focused).closest("table").attr("aria-activedescendant",this._elementId),this._current=n},_tableKeyDown:function(t){var n=!1,i=this.current(),r=e(t.target),a=!t.isDefaultPrevented()&&!r.is(":button,a,:input,a>.k-icon");i=i?i:e(this.lockedTable).add(this.table).find(ht),a&&t.keyCode==Z.UP&&(n=this._moveUp(i,t.shiftKey)),a&&t.keyCode==Z.DOWN&&(n=this._moveDown(i,t.shiftKey)),a&&t.keyCode==(ut?Z.LEFT:Z.RIGHT)&&(n=t.altKey?this._handleExpand(i):this._moveRight(i)),a&&t.keyCode==(ut?Z.RIGHT:Z.LEFT)&&(n=t.altKey?this._handleCollapse(i):this._moveLeft(i)),a&&t.keyCode==Z.PAGEDOWN&&(n=this._handlePageDown()),a&&t.keyCode==Z.PAGEUP&&(n=this._handlePageUp()),t.keyCode!=Z.ENTE
1220R&&t.keyCode!=Z.F2||(n=this._handleEnterKey(i,t.currentTarget,r)),t.keyCode==Z.ESC&&(n=this._handleEscKey(i,t.currentTarget)),a&&t.keyCode==Z.HOME&&(n=this._handleHome(i,t.ctrlKey)),a&&t.keyCode==Z.END&&(n=this._handleEnd(i,t.ctrlKey)),t.keyCode==Z.TAB&&(n=this._handleTabKey(i,t.currentTarget,t.shiftKey)),n&&(t.preventDefault(),t.stopPropagation())},_handleExpand:function(e){var t=this,n=e.parent(),i=t.dataItem(n);return!e.hasClass("k-header")&&(!(!i||!i.hasChildren||i.expanded||t.trigger(Ne,{model:i}))&&(this.expand(n),!0))},_handleCollapse:function(e){var t=this,n=e.parent(),i=t.dataItem(n);return!e.hasClass("k-header")&&(!(!(i&&i.hasChildren&&i.expanded)||t.trigger(Ee,{model:i}))&&(t.collapse(n),!0))},_handleHome:function(e,t){var n,i=e.parent(),r=i.parent(),a=this.lockedTable&&this.lockedTable.children("tbody")[0]===r[0],s=r[0]===this.tbody[0];if(t?n=this.lockedTable?this.lockedTable.find(ht):this.table.find(ht):(s||a)&&(s&&this.lockedTable&&(i=this._relatedRow(i)),n=i.children(st+":first")),n&&n.length)return this.current(n),!0},_handleEnd:function(e,t){var n,i=e.parent(),r=i.parent(),a=this.lockedTable&&this.lockedTable.children("tbody")[0]===r[0],s=r[0]===this.tbody[0];if(t?n=this.table.find(ct+">"+st+":last"):(s||a)&&(!s&&this.lockedTable&&(i=this._relatedRow(i)),n=i.children(st+":last")),n&&n.length)return this.current(n),!0},_handlePageDown:function(){var e=this;return!!e._isPageable()&&(e.dataSource._restorePageSizeAfterAddChild(),e.dataSource.page(e.dataSource.page()+1),!0)},_handlePageUp:function(){var e=this;return!!e._isPageable()&&(e.dataSource._restorePageSizeAfterAddChild(),e.dataSource.page(e.dataSource.page()-1),!0)},_handleEscKey:function(t,n){var i,r,a,s,l,o=kendo._activeElement(),d=this;return t&&t.parent().hasClass("k-grid-edit-row")?(d._isIncellEditable()?(r=t.parent(),s=t.index(),a=r.index(),l=r.closest("tbody"),d.closeCell(!0),d._setCurrent(l.children().eq(a).children().eq(s))):(i=e(t).parent().index(),o&&o.blur(),this.cancelRow(),i>=0&&this.current(this.items().eq(i).children(st).first())),le.msie&&le.version<9&&document.body.focus(),N(n,!0),!0):!!t.has(o).length&&(N(n,!0),!0)},_handleEnterKey:function(t,n,i){var r,a=this.options.editable,s=i.closest("[role=gridcell]");return i.is("table")||e.contains(t[0],i[0])||(t=s),t.is("th")?(t.find(".k-link").click(),!0):(r=t.find(":kendoFocusable:first"),r[0]&&t.hasClass("k-state-focused")?(r.focus(),!0):!(!a||i.is(":button,.k-button,textarea"))&&(s[0]||(s=t),this._handleEditing(s,!1,n),!0))},_handleTabKey:function(t,n,i){var r,a=this,s=a.options.editable&&a._isIncellEditable();return!(!s||t.is("th"))&&(r=e(de()).closest(ye+bt.editCell),r[0]&&r[0]!==t[0]&&(t=r),r=a._tabNext(t,n,i),r.length?(a._handleEditing(t,r,r.closest(mt)),!0):(a._preventPageSizeRestore=!1,!1))},_tabNext:function(e,t,n){var i=this,r=!0,a=n?e.prevAll(Le+":first"):e.nextAll(":visible:first");return a.length||(a=e.parent(),i.lockedTable&&(r=n&&t==i.lockedTable[0]||!n&&t==i.table[0],a=i._relatedRow(a)),r&&(a=a[n?"prevAll":"nextAll"]("tr:not(.k-grouping-row):not(.k-detail-row):visible:first")),a=a.children(Le+(n?":last":":first")),i.dataSource._restorePageSizeAfterAddChild()),a},_handleEditing:function(n,i,r){var a,s,l,o,d,h=this,c=e(kendo._activeElement()),u=le.msie,p=h.options.editable&&h.options.editable.update!==!1,f=h._isIncellEditable(),g=e(i).parents("tr").index(),_=e(i).index(),m=e(n).parents("tr").index(),b=n.index();if(r=e(r),l=f?n.hasClass(bt.editCell):n.parent().hasClass("k-grid-edit-row"),h.editor){if(a=h.editor.wrapper,a&&e.contains(a[0],c[0])&&(le.opera?c.blur().change().triggerHandler("blur"):(c.blur(),u&&c.blur())),!h.editor)return N(r),t;if(!h.editor.end())return h.current(f?a:a.children().filter(st).first()),s=a.find(":kendoFocusable:first")[0],s&&s.focus(),t;f?(h._preventPageSizeRestore=!0,h.closeCell(),h._preventPageSizeRestore=!1,0===e(h.table).add(h.lockedTable).find(ye+bt.editCell).length&&h.current(r.find("tbody").children().eq(m).children().eq(b))):(h.saveRow(),l=!0)}i=e(i).length&&0===r.find(i).length?r.find("tbody").children().eq(g).children().eq(_):i,i&&h.current(i),N(r,!0),p&&(!l&&!i||i?(d=h.current().index(),f?(h.editCell(h.current()),o=e(h.table).add(h.lockedTable).find(ye+bt.editCell)[0],o?h._current=e(o):h.current(h._findCurrentCell(
1220))):(h.editRow(h.current().parent()),h.current(h.editor.wrapper.children().eq(d)),h.current().removeClass("k-state-focused"))):h.dataSource._restorePageSizeAfterAddChild())},_moveRight:function(e){var t=e.nextAll(st).first(),n=e.parent();return e.hasClass("k-header")&&(t=e.nextAll(lt).first(),!t[0]&&this.lockedTable&&e.closest("table")[0]===this.lockedHeader.find("table")[0]&&(t=this.thead.find(lt+":first"))),!t[0]&&this.lockedTable&&e.closest("table")[0]===this.lockedTable[0]&&(t=this._relatedRow(n).children(st).first()),t[0]&&t[0]!==e[0]&&N(t.closest("table"),!0),this.current(t),!0},_moveLeft:function(e){var t=e.prevAll(st).first(),n=e.parent();return e.hasClass("k-header")&&(t=e.prevAll(lt).first(),!t[0]&&this.lockedTable&&e.closest("table")[0]===this.thead.parent()[0]&&(t=this.lockedHeader.find(">table>thead>tr>"+lt+":last"))),!t[0]&&this.lockedTable&&e.closest("table")[0]===this.table[0]&&(t=this._relatedRow(n).children(st).last()),t[0]&&t[0]!==e[0]&&N(t.closest("table"),!0),this.current(t),!0},_moveUp:function(e,t){var n,i,r=e.parent().parent();return t?(n=e.parent(),n=n.prevAll(dt+":first"),n=e.parent().is(dt)?n.children().eq(e.index()):n.children(Le+":last")):(n=this._prevVerticalCell(r,e),n[0]||(this._lastCellIndex=0,r=this._verticalContainer(r,!0),n=this._prevVerticalCell(r,e),n[0]&&N(r.parent(),!0))),i=this._lastCellIndex||0,this.current(n),this._lastCellIndex=i,!0},_moveDown:function(e,t){var n,i,r=e.parent().parent();return t?(n=e.parent(),n=n.nextAll(dt+":first"),n=e.parent().is(dt)?n.children().eq(e.index()):n.children(Le+":first")):(n=this._nextVerticalCell(r,e),n[0]||(this._lastCellIndex=0,r=this._verticalContainer(r),n=this._nextVerticalCell(r,e),n[0]&&N(r.parent(),!0))),i=this._lastCellIndex||0,this.current(n),this._lastCellIndex=i,!0},_tableClick:function(t){var n=e(t.currentTarget),i=n.is("th"),r=this.table.add(this.lockedTable),a=this.thead.parent().add(e(">table",this.lockedHeader)),s=h(t.target),l=n.closest("table")[0];kendo.support.touch||l!==r[0]&&l!==r[1]&&l!==a[0]&&l!==a[1]||(this.options.navigatable&&this.current(n),!i&&s||setTimeout(function(){h(kendo._activeElement())&&e.contains(l,kendo._activeElement())||N(l,!0)}),i&&t.preventDefault())},_setTabIndex:function(e){this._navigatableTables.attr(Be,-1),e.attr(Be,0)},_tableFocus:function(t){var n=this.current(),i=e(t.currentTarget);n&&n.is(":visible")?n.addClass(bt.focused):this.current(i.find(ht)),this._setTabIndex(i)},_tableBlur:function(){var e=this.current();e&&e.removeClass(bt.focused)},_attachEvents:function(){var e=this,t=ye+bt.retry;e._userEvents=new kendo.UserEvents(e.element,{press:ue(e._onPress,e),allowSelection:!0}),this.element.on(Te+Ie,t,this._dataSourceFetchProxy).on(Te+Ie,".k-button[data-command]",ue(this._commandClick,this)).on(xe+Ie,".k-grid-search input",ue(this._search,this)),this._attachCellEditingEventHandlers()},_onPress:function(t){var n=this,i=ye+bt.iconCollapse+", ."+bt.iconExpand+", ."+bt.refresh;e(t.event.target).is(i)&&n._toggleChildren.call(n,t.event)},_attachCellEditingEventHandlers:function(){var n=this,i=n.options.editable,r=n.selectable&&n.selectable.options.multiple,a=function(t){var i=de(),r=n.editor||{},a=r.element;!a||e.contains(a[0],i)||a[0]===i||e(i).closest(".k-animation-container").length||r.end()&&(t.relatedTarget||!n._isPageable()||L(n.dataSource._addChildPageSize)||(n._preventPageSizeRestore=!1),n.closeCell()),n._preventPageSizeRestore=!1};n._isIncellEditable()&&i.update!==!1&&n.wrapper.on(Te+Ie,"tr:not(.k-grouping-row) > td",function(i){var a=e(this),s=n.lockedTable&&a.closest("table")[0]===n.lockedTable[0];return a.hasClass(bt.editCell)||a.has("a.k-grid-delete").length||a.has("button.k-grid-delete").length||a.closest("tbody")[0]!==n.tbody[0]&&!s||e(i.target).is(":input")||e(i.target).hasClass(bt.iconExpand)||e(i.target).hasClass(bt.iconCollapse)?(n.editor||n.dataSource._restorePageSizeAfterAddChild(),n._preventPageSizeRestore=!1,t):(n.editor?n.editor.end()&&(r&&e(de()).blur(),n.closeCell(),n.editCell(a)):n.editCell(a),t)}).on("mousedown"+Ie,"tr:not(.k-grouping-row) > td",function(t){n._preventPageSizeRestore=!(!n.editor||!n._isPageable()||L(n.dataSource._addChildPageSize))&&e(t.target).parents(ye+bt.editRow).length>0}).on("focusin"+Ie,function(){e.contains(this,de())||(clearTimeout(n._closeCellTimeout),n._closeCellTimeout=null)}).on("focusout"+Ie,function(e){n._closeCellTimeout=setTimeout(function(){a(e)},1)})},_commandByName:function(t){var n,i,r,a,s=this.columns,l=e.isArray(this.options.toolbar)?this.options.toolbar:[];if(t=t.toLowerCase(),vt[t])return vt[t];for(n=0;n<s.length;n++)if(r=s[n].command)for(i=0;i<r.length;
1220i++)if(a=r[i].name,a&&a.toLowerCase()==t)return r[i];for(n=0;n<l.length;n++)if(a=l[n].name,a&&a.toLowerCase()==t)return l[n]},_commandClick:function(n){var i=e(n.currentTarget),r=i.attr("data-command"),a=this._commandByName(r),s=i.parentsUntil(this.wrapper,"tr");s=s.length?s:t,a&&(a.methodName?this[a.methodName](s):a.click&&a.click.call(this,n),n.preventDefault())},_search:function(e){var t=this,n=e.currentTarget;clearTimeout(t._searchTimeOut),t._searchTimeOut=setTimeout(function(){var e,i,r,a,s;if(t._searchTimeOut=null,e=t.options,i=e.search?e.search.fields:null,r={filters:[],logic:"or"},a=n.value,i||(i=g(e.columns)),a)for(s=0;s<i.length;s++)r.filters.push({field:i[s],operator:"contains",value:a});else r={};t.dataSource.filter(r)},300)},_ensureExpandableColumn:function(){var e,t;this._autoExpandable&&delete this._autoExpandable.expandable,e=fe(this.columns,i(n("hidden"))),e=fe(e,i(n("command"))),t=fe(e,n("expandable")),this.columns.length&&!t.length&&(this._autoExpandable=e[0],e[0].expandable=!0)},_columns:function(){var e,t=this.options.columns||[];this.columns=pe(t,function(e){return e="string"==typeof e?{field:e}:e,ce({encoded:!0},e)}),e=H(t),e.length>0&&(this._hasLockedColumns=!0,this.columns=e.concat(F(this.columns))),this.columns=v(this.columns),this._ensureExpandableColumn(),this._columnTemplates(),this._columnAttributes()},_columnTemplates:function(){var e,t,n,i=f(this.columns);for(e=0,t=i.length;e<t;e++)n=i[e],n.template&&(n.template=kendo.template(n.template)),n.headerTemplate&&(n.headerTemplate=kendo.template(n.headerTemplate)),n.footerTemplate&&(n.footerTemplate=kendo.template(n.footerTemplate))},_columnAttributes:function(){function t(t){var n,i,r,a;if(t&&t.style)for(n=t.style.split(";"),t.style={},i=0;i<n.length;i++)r=n[i].split(":"),a=kendo.trim(r[0]),a&&(t.style[e.camelCase(a)]=kendo.trim(r[1]))}var n,i,r=this.columns;for(n=0,i=r.length;n<i;n++)t(r[n].attributes),t(r[n].headerAttributes)},_clearSortClasses:function(){var e=this;e.content&&e.content.find("col:not(.k-group-col):not(.k-hierarchy-col)").removeClass("k-sorted"),e.lockedContent&&e.lockedContent.find("col:not(.k-group-col):not(.k-hierarchy-col)").removeClass("k-sorted")},_layout:function(){var e,t,n,i=this.columns,r=this.element,a="";this.wrapper=r.addClass(bt.wrapper),a="<div class='#= gridHeader #'>",this._hasLockedColumns&&(a+="<div class='k-grid-header-locked'><table role='grid'><colgroup></colgroup><thead role='rowgroup'></thead></table></div>"),a+="<div class='#= gridHeaderWrap #'><table role='grid'><colgroup></colgroup><thead role='rowgroup'></thead></table></div></div>",this._hasLockedColumns&&(a+="<div class='k-grid-content-locked'><table role='treegrid' tabindex='0'><colgroup></colgroup><tbody></tbody></table></div>"),a+="<div class='#= gridContentWrap # k-auto-scrollable'><table role='treegrid' tabindex='0'><colgroup></colgroup><tbody></tbody></table></div>",this.options.scrollable||(a="<table role='treegrid' tabindex='0'><colgroup></colgroup><thead class='#= gridHeader #' role='rowgroup'></thead><tbody></tbody></table>"),this.options.toolbar&&(a="<div class='#= header # #= gridToolbar #'></div>"+a),r.append(kendo.template(a)(bt)+"<div class='k-status'></div>"),this.toolbar=r.find(ye+bt.gridToolbar),e=r.find(ye+bt.gridHeader).find("thead").addBack().filter("thead"),this.thead=e.last(),this.options.scrollable&&(t=kendo.support.isRtl(r),r.find("div."+bt.gridHeader).
1220css(t?"padding-left":"padding-right",kendo.support.scrollbar())),n=r.find(ye+bt.gridContentWrap),n.length?this.content=n:n=r,this.table=n.find(">table"),this.tbody=this.table.find(">tbody"),this._hasLockedColumns&&(this.lockedHeader=e.first().closest(".k-grid-header-locked"),this.lockedContent=r.find(".k-grid-content-locked"),this.lockedTable=this.lockedContent.children()),this._initVirtualTrees(),this._renderCols(),this._renderHeader(),this.angular("compile",function(){return{elements:e.find("th.k-header").get(),data:pe(i,function(e){return{column:e}})}})},_initVirtualTrees:function(){this._headerColsTree=new G.Tree(this.thead.prev()[0]),this._contentColsTree=new G.Tree(this.tbody.prev()[0]),this._headerTree=new G.Tree(this.thead[0]),this._contentTree=new G.Tree(this.tbody[0]),this._statusTree=new G.Tree(this.element.children(".k-status")[0]),this.lockedHeader&&(this._lockedHeaderColsTree=new G.Tree(this.lockedHeader.find("colgroup")[0]),this._lockedContentColsTree=new G.Tree(this.lockedTable.find(">colgroup")[0]),this._lockedHeaderTree=new G.Tree(this.lockedHeader.find("thead")[0]),this._lockedContentTree=new G.Tree(this.lockedTable.find(">tbody")[0]))},_toolbar:function(){var t,n=this.options.toolbar,i=this.toolbar;n&&(e.isArray(n)?(t=this._buildCommands(n),new G.Tree(i[0]).render(t)):i.append(kendo.template(n)({})),this.angular("compile",function(){return{elements:i.get()}}))},_lockedColumns:function(){return fe(this.columns,n("locked"))},_nonLockedColumns:function(){return fe(this.columns,i(n("locked")))},_templateColumns:function(){return fe(this.columns,n("template"))},_flushCache:function(){this.options.$angular&&this._templateColumns().length&&(this._contentTree.render([]),this._hasLockedColumns&&this._lockedContentTree.render([]))},_render:function(t){var n,i,r,a,s,l,o,d,h,c,u,p,g,_=this;t=t||{},t=_._renderOptions(t),n=this.options.messages,i=_._isPageable(),r=_.dataSource,a={children:t.filteredChildrenMap||t.childrenMap,ids:t.idsMap},s=i?a&&a.children&&a.ids?a:r._initDataMaps(r._getData()):{},l=s.children,o=s.ids,t.childrenMap=l,t.idsMap=o,d=_._dataToRender(t),h=_._renderedModelLevel(d[0],t),c=kendo.attr("uid"),p=this.select().removeClass("k-state-selected").map(function(t,n){return e(n).attr(c)}),this._absoluteIndex=0,this._angularItems("cleanup"),this._angularFooters("cleanup"),this._flushCache(),_._clearRenderMap(),t.error?this._showStatus(kendo.template("#: messages.requestFailed # <button class='#= buttonClass #'>#: messages.retry #</button>")({buttonClass:[bt.button,bt.retry].join(" "),messages:n})):d.length?(i&&(g=_._viewChildrenMap(t)),this._hideStatus(),u=this._hasFooterTemplate(),this._contentTree.render(this._trs({columns:f(F(this.columns)),editedColumn:t.editedColumn,editedColumnIndex:t.editedColumnIndex,aggregates:t.aggregates,selected:p,data:d,childrenMap:l,viewChildrenMap:g,hasFooterTemplate:u,visible:!0,level:0})),this._hasLockedColumns&&(this._absoluteIndex=0,this._lockedContentTree.render(this._trs({columns:f(H(this.columns)),editedColumn:t.editedColumn,editedColumnIndex:t.editedColumnIndex,aggregates:t.aggregates,selected:p,data:d,childrenMap:l,viewChildrenMap:g,hasFooterTemplate:u,visible:!0,level:h})))):(this._hideStatus(),this._showNoRecordsTemplate()),this._touchScroller&&this._touchScroller.contentResized(),this._muteAngularRebind(function(){this._angularItems("compile"),this._angularFooters("compile")}),this.items().filter(function(){return e.inArray(e(this).attr(c),p)>=0}).addClass("k-state-selected"),this._syncLockedContentHeight(),_._togglePagerVisibility(),_._setExpanderElement()},_setExpanderElement:function(){var t,n=this,i="k-grid-content-expander",r='<div class="'+i+'"></div>';n.options.scrollable&&n.wrapper.is(":visible")&&(t=n.table.parent().children("."+i),n.dataSource&&n.dataSource.view().length?t[0]&&t.remove():(t[0]||(t=e(r).appendTo(n.table.parent())),n.thead&&t.width(n.thead.width())))},_renderProgress:function(e){kendo.ui.progress(this.wrapper,e)},_renderOptions:function(e){var t,n,i;return e=e||{},t=this,n=t.dataSource._getDataMaps(),i=t.dataSource.filter(),t._isPageable()&&(e.childrenMap=n.children,e.idsMap=n.ids,i&&(e.filteredChildrenMap=n.filteredChildren)),e},_renderedModelLevel:function(e,t){return this._isPageable()?this.dataSource._pageableModelLevel(e,t):0},_viewChildrenMap:function(e){var t,n,i,r,a,s,l,o,d,h,c,u,p,f,g;for(e=e||{},t=this,n=t.dataSource,i=n.childrenMap(n.view()),r=n._modelIdField(),a=n._parentNodesNotInView(),t._clearRenderMap(),f=0;f<a.length;f++)for(s=a[f],l=s[r],t._markNodeAsNonRenderable(l),i[l]=i[l]||[],o=n._parentNodes(s),p=o.slice(),p.push(s),g=0;g<p.length-1;g++)d=p[g],h=d[r],t._markNodeAsNonRenderable(h),i[h]=i[h]||[],c=p[g+1],u=c[r],t._markNodeAsNonRenderable(u),i[u]=i[u]||[],i[h].indexOf(c)===-1&&i[h].unshift(c);return i},_clearRenderMap:function(){this._skipRenderingMap={}},_dataToRender:function(e){var t=this;return t._isPageable()?t.dataSource._pageableRootNodes(e):t.dataSource.rootNodes()},_markNodeAsNonRenderable:function(e){this._skipRenderingMap[e]=!0},_adjustRowsHeight:function(e,t){var n,i,r,a,s,l,o,d,h,c;if(this._hasLockedColumns){for(n=e[0].rows,i=n.length,a=t[0].rows,s=e.add(t),l=s.length,o=[],r=0;r<i&&a[r];r++)n[r].style.height&&(n[r].style.height=a[r].style.height="");for(r=0;r<i&&a[r];r++)d=n[r].offsetHeight,h=a[r].offsetHeight,c=0,d>h?c=d:d<h&&(c=h),o.push(c);for(r=0;r<l;r++)s[r].style.display="none";for(r=0;r<i;r++)o[r]&&(n[r].style.height=a[r].style.height=o[r]+1+"px");for(r=0;r<l;r++)s[r].style.display="";
1221}},_ths:function(e,t){var n,i,r,a,s,l,o,d,h=[];for(o=0,d=e.length;o<d;o++)n=e[o],r=[],a=[bt.header],i=n.headerTemplate?n.headerTemplate({}):n.title||n.field||"",l=n.headerTemplate?Y(i):J(i),r.push(n.sortable?$("a",{href:"#",className:bt.link},[l]):l),s={"data-field":n.field,"data-title":n.title,style:n.hidden===!0?{display:"none"}:{},className:a.join(" "),role:"columnheader"}
1221,n.columns||(s.rowSpan=t?t:1),n.headerAttributes&&(1===n.headerAttributes.colSpan&&delete n.headerAttributes.colSpan,n.headerAttributes["class"]&&(s.className+=" "+n.headerAttributes["class"],delete n.headerAttributes["class"])),n["data-index"]>-1&&(s["data-index"]=n["data-index"]),s=ce(!0,{},s,n.headerAttributes),h.push($("th",s,r));return h},_cols:function(e){var t,n,i,r=[];for(i=0;i<e.length;i++)e[i].hidden!==!0&&(t=e[i].width,n={},t&&0!==parseInt(t,10)&&(n.style={width:"string"==typeof t?t:t+"px"}),r.push($("col",n)));return r},_clearColsCache:function(){this._headerColsTree.render([]),this.options.scrollable&&this._contentColsTree.render([]),this._hasLockedColumns&&(this._lockedHeaderColsTree.render([]),this._lockedContentColsTree.render([]))},_renderCols:function(){var e=F(this.columns);this._headerColsTree.render(this._cols(f(e))),this.options.scrollable&&this._contentColsTree.render(this._cols(f(e))),this._hasLockedColumns&&(e=H(this.columns),this._lockedHeaderColsTree.render(this._cols(f(e))),this._lockedContentColsTree.render(this._cols(f(e))))},_retrieveFirstColumn:function(t,n){var i,r=e();if(n.length&&t[0]){for(i=t[0];i.columns&&i.columns.length;)i=i.columns[0],n=n.filter(":not(:first())");r=r.add(n)}return r},_updateFirstColumnClass:function(){var t,n=this,i=n.columns||[],r=n.thead.find(">tr:not(:first)");i=F(i),t=n._retrieveFirstColumn(i,r),n.lockedHeader&&(r=n.lockedHeader.find("thead>tr:not(.k-filter-row):not(:first)"),i=H(n.columns),t=t.add(n._retrieveFirstColumn(i,r))),t.each(function(){var t=e(this).find("th");t.removeClass("k-first"),t.eq(0).addClass("k-first")})},_updateRowSpans:function(e){var t,n;for(t=e.length-1;t>=0;t--)n=_(e[t].cells).length>0,n&&(e[t].rowSpan=e.length-t)},_setColumnDataIndexes:function(e){for(var t=0;t<e.length;t++)e[t]["data-index"]=t},_updateColumnCellIndex:function(){var e,t=0;this.lockedHeader&&(e=this.lockedHeader.find("thead"),t=M(e,H(this.columns))),M(this.thead,F(this.columns),t)},_setParentsVisibility:function(e,t){var n,i,r=this.columns,a=[],s=t?function(e){return b(e.columns).length&&e.hidden}:function(e){return!b(e.columns).length&&!e.hidden};if(T(e,r,a)&&a.length)for(n=a.length-1;n>=0;n--)i=a[n],s(i)&&(i.hidden=!t)},_prepareColumns:function(t,n,i,r,a){var s,l,o=r||t[t.length-1],d=t[o.index+1],h=0;for(s=0;s<n.length;s++)l=e.extend({},n[s],{headerAttributes:n[s].headerAttributes||{}}),o.cells.push(l),n[s].columns&&n[s].columns.length&&(d||(d={rowSpan:0,cells:[],index:t.length},t.push(d)),n[s].columns.length&&(l.headerAttributes.colSpan=_(n[s].columns).length||1,l.headerAttributes["data-colspan"]=f(n[s].columns).length),this._prepareColumns(t,n[s].columns,l,d,n[s]),l.hidden||(h+=l.headerAttributes.colSpan-1),o.rowSpan=t.length-o.index),n[s].rowIndex=o.index,a&&(n[s].parentColumn=a),n[s].cellIndex=o.cells.length-1;i&&(i.headerAttributes.colSpan+=h)},_renderHeaderTree:function(e,t,n){var i,r=[],a=[];if(n){for(r=[{rowSpan:1,cells:[],index:0}],this._prepareColumns(r,t),this._updateRowSpans(r),i=0;i<r.length;i++)a.push($("tr",{role:"row"},this._ths(r[i].cells,r[i].rowSpan)));e.render(a)}else e.render([$("tr",{role:"row"},this._ths(t))])},_renderHeader:function(){var e=F(this.columns),n=fe(this.columns,function(e){return e.columns!==t}).length>0;this._setColumnDataIndexes(f(this.columns)),this._renderHeaderTree(this._headerTree,e,n),this._hasLockedColumns&&(e=H(this.columns),this._renderHeaderTree(this._lockedHeaderTree,e,n),this._applyLockedContainersWidth(),this._syncLockedHeaderHeight()),this._updateFirstColumnClass()},_applyLockedContainersWidth:function(){var e,t,n,i,r,a;this._hasLockedColumns&&(e=o(this.lockedHeader.find(">table>colgroup>col")),t=this.thead.parent(),n=o(t.find(">colgroup>col")),i=this.wrapper[0].clientWidth,r=kendo.support.scrollbar(),e>=i&&(e=i-3*r),this.lockedHeader.add(this.lockedContent).width(e),t.add(this.table).width(n),a=i-e,this.content.width(a-1),t.parent().width(a-r-2))},_trs:function(t){var n,i,r,a,s,l,o,d,h,c=this,u=[],p=t.level,f=t.data,g=this.dataSource,_=g.aggregates()||{},m=g._modelIdField(),b=g._modelParentIdField(),v=t.columns,k=c._isPageable(),C=t.childrenMap||g.childrenMap(g._getData());for(l=0,o=f.length;l<o;l++)if(r=[],n=f[l],d=n[m],s=k?C[d]:n.loaded()?g.childNodes(n):[],a=s&&s.length,i={role:"row"},i[kendo.attr("uid")]=n.uid,a&&(i["aria-expanded"]=!!n.expanded),t.visible?(!k||k&&!c._skipRenderingMap[d])&&(this._absoluteIndex%2!==0&&r.push(bt.alt),this._absoluteIndex++):i.style={display:"none"},e.inArray(n.uid,t.selected)>=0&&r.push(bt.selected),a&&r.push(bt.group),n._edit&&r.push("k-grid-edit-row"),i.className=r.join(" "),c._skipRenderingMap[d]||
1221(h=this._tds({model:n,attr:i,level:k?c._renderedModelLevel(n,t):p,editedColumn:t.editedColumn,editedColumnIndex:t.editedColumnIndex},v,ue(this._td,this)),u.push(h)),a){if(k&&(s=(t.viewChildrenMap||{})[d]||[]),0===s.length)continue;u=u.concat(this._trs({columns:v,editedColumn:t.editedColumn,editedColumnIndex:t.editedColumnIndex,aggregates:_,selected:t.selected,visible:k?t.visible:t.visible&&!!n.expanded,data:s,childrenMap:t.childrenMap||C,hasFooterTemplate:t.hasFooterTemplate,viewChildrenMap:t.viewChildrenMap,level:p+1}))}return t.hasFooterTemplate&&n&&(i={className:bt.footerTemplate,"data-parentId":n[b]},t.visible||(i.style={display:"none"}),u.push(this._tds({model:_[n[b]],attr:i,level:p,editedColumn:t.editedColumn,editedColumnIndex:t.editedColumnIndex},v,this._footerId))),u},_footerId:function(t){var n=[],i=t.column,r=t.column.footerTemplate||e.noop,a=t.model[i.field]||{},s={role:"gridcell",style:i.hidden===!0?{display:"none"}:{}};return i.expandable&&(n=n.concat(l({level:t.level+1,className:bt.iconPlaceHolder}))),i.attributes&&ce(!0,s,i.attributes,{style:i.hidden===!0?{display:"none"}:{}}),n.push(Y(r(a)||"")),$("td",s,n)},_hasFooterTemplate:function(){return!!fe(f(this.columns),function(e){return e.footerTemplate}).length},_tds:function(e,t,n){var i,r,a,s=[],l=(e.editedColumn||{}).field,o=this._isIncellEditable(),d=t.length;for(r=0;r<d;r++)i=t[r],a=n({model:e.model,column:i,editColumn:!o||o&&i.field===l&&e.editedColumnIndex===r,level:e.level}),s.push(a);return $("tr",e.attr,s)},_td:function(e){var t,n=[],i=e.model,r=e.column,a={role:"gridcell",style:r.hidden===!0?{display:"none"}:{}},s=this._isIncellEditable(),o=!1;return r.attributes&&ce(!0,a,r.attributes),this.options.navigatable&&(a["aria-describedby"]=r.headerAttributes.id),i._edit&&r.field&&e.editColumn&&(s||!s&&R(r,i))?(a[kendo.attr("container-for")]=r.field,s&&(a.className&&a.className.indexOf(bt.editCell)!==-1?a.className+=" "+bt.editCell:a.className||(a.className=bt.editCell))):(r.expandable&&(n=l({level:e.level,className:bt.iconPlaceHolder}),t=[bt.icon],t.push(i.hasChildren?i.expanded?bt.iconCollapse:bt.iconExpand:bt.iconHidden),i._error?t.push(bt.refresh):!i.loaded()&&i.expanded&&t.push(bt.loading),n.push($("span",{className:t.join(" ")})),a.style["white-space"]="nowrap"),z(r,i)&&(a.className?a.className+=bt.dirtyCell:a.className||(a.className=bt.dirtyCell)),r.command?(a.className&&a.className.indexOf("k-command-cell")!==-1?a.className+=" k-command-cell":a.className||(a.className="k-command-cell"),o=fe(r.command,function(e){return e===Me||e.name===Me}).length>0,n=this._buildCommands(i._edit&&!this._isIncellEditable()&&o?["update","canceledit"]:r.command)):n.push(this._cellContent(r,i)),a["class"]&&(a.className=a["class"]+" "+a.className)),$("td",a,n)},_cellContent:function(e,t){var n,i=this,r=i._isIncellEditable(),a=r?i._evalDirtyIndicatorTemplate(e,t):"";return e.template?n=i._evalColumnTemplate(e,t):e.field?(n=t.get(e.field),null===n||L(n)?n=a:(e.format&&(n=kendo.format(e.format,n)),n=a+n)):(null===n||L(n))&&(n=""),e.template||!e.encoded?Y(n):r?Y(n):J(n)},_evalColumnTemplate:function(e,t){return this._isIncellEditable()?this._evalCustomColumnTemplate(e,t):e.template(t)},_evalCustomColumnTemplate:function(e,t){var n=this,i=n._customTemplateSettings(),r="#=this.columnTemplate("+i.paramName+")#",a=n._dirtyIndicatorTemplate(e.field)+r,s=ue(oe(a,i),{columnTemplate:e.template});return s(t)},_evalDirtyIndicatorTemplate:function(e,t){var n=this._dirtyIndicatorTemplate(e.field);return oe(n)(t)},_dirtyIndicatorTemplate:function(e){var t,n=this,i=n._customTemplateSettings(),r=i.paramName;return e&&r?(t="["===e.charAt(0)?kendo.expr(e,r+".dirtyFields"):r+".dirtyFields['"+e+"']","#= "+r+" && "+r+".dirty && "+r+".dirtyFields && "+t+" ? '<span class=\"k-dirty\"></span>' : '' #"):""},_customTemplateSettings:function(){return ce({},kendo.Template,this.options.templateSettings)},_buildCommands:function(e){var t,n=[];for(t=0;t<e.length;t++)n.push(this._handleCommand(e[t]));return n},_handleCommand:function(e){var t=(e.name||e).toLowerCase(),n=this.options.messages.commands[t],i=[];return e=ce({},vt[t],{text:n},e),e.imageClass&&i.push($("span",{className:["k-icon",e.imageClass].join(" ")})),e.template?Y(kendo.template(e.template)({message:e.text||this.options.messages.commands.search})):this._button(e,t,i)},_button:function(e,t,n){return $("button",{type:"button","data-command":t,className:["k-button k-button-icontext",e.className].join(" ")},n.concat([J(e.text||e.name)]))},_positionResizeHandle:function(n){var i,r,a,l=e(n.currentTarget),o=this.resizeHandle,d=l.position(),h=X(l),c=l.closest("div"),u=t!==n.buttons?n.buttons:n.which||n.button,p=this.options.columnResizeHandleWidth||3,f=h;if(t===u||0===u){if(o||(o=this.resizeHandle=e('<div class="k-resize-handle"><div class="k-resize-handle-inner"></div></div>')),i=s(l.closest("thead")).filter(":visible"),ut)f=l.position().left;else for(r=0;r<i.length&&i[r]!=l[0];r++)f+=i[r].offsetWidth;
1221c.append(o),o.show().css({top:d.top,left:f-3*p/2,height:ee(l),width:3*p}).data("th",l),a=this,o.off("dblclick"+Ie).on("dblclick"+Ie,function(){var t=l.index();e.contains(a.thead[0],l[0])&&(t+=fe(a.columns,function(e){return e.locked&&!e.hidden}).length),a.autoFitColumn(t)})}},autoFitColumn:function(t){var n,i,a,l,o,d,h,c,u,p,f,g,_,m,b,v,k,C=this,w=C.options,y=C.columns,I=kendo.support.browser,T=C.lockedHeader?s(C.lockedHeader.find(">table>thead")).filter(r).length:0;if(t="number"==typeof t?y[t]:_e(t)?fe(y,function(e){return e===t})[0]:fe(y,function(e){return e.field===t})[0],t&&!t.hidden){for(n=ge(t,y),l=t.locked,a=l?C.lockedHeader.children("table"):C.thead.parent(),i=a.find("[data-index='"+n+"']"),d=l?C.lockedTable:C.table,h=C.footer||e(),C.footer&&C.lockedContent&&(h=C.footer.children(l?".k-grid-footer-locked":".k-grid-footer-wrap")),c=h.find("table").first(),C.lockedHeader&&T>=n&&!l&&(n-=T),u=0;u<y.length&&y[u]!==t;u++)y[u].hidden&&n--;if(o=w.scrollable?a.find("col:not(.k-group-col):not(.k-hierarchy-col):eq("+n+")").add(d.children("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col):eq("+n+")")).add(c.find("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col):eq("+n+")")):d.children("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col):eq("+n+")"),p=a.add(d).add(c),f=X(i),o.width(""),p.css("table-layout","fixed"),o.width("auto"),p.addClass("k-autofitting"),p.css("table-layout",""),g=Math.ceil(Math.max(X(i),X(d.find("tr").eq(0).children("td:visible").eq(n)),X(c.find("tr").eq(0).children("td:visible").eq(n)))),o.width(g),t.width=g,w.scrollable){for(_=a.find("col"),b=0,v=0,k=_.length;v<k;v+=1){if(m=_[v].style.width,!m||m.indexOf("%")!=-1){b=0;break}b+=parseInt(m,10)}b&&p.each(function(){this.style.width=b+"px"})}I.msie&&8==I.version&&(p.css("display","inline-table"),setTimeout(function(){p.css("display","table")},1)),p.removeClass("k-autofitting"),C.trigger($e,{column:t,oldWidth:f,newWidth:g}),C._applyLockedContainersWidth(),C._syncLockedContentHeight(),C._syncLockedHeaderHeight()}},_adjustLockedHorizontalScrollBar:function(){var e=this.table,t=e.parent(),n=e[0].offsetWidth>t[0].clientWidth?kendo.support.scrollbar():0;this.lockedContent.height(ee(t)-n)},_syncLockedContentHeight:function(){this.lockedTable&&(this._touchScroller||this._adjustLockedHorizontalScrollBar(),this._adjustRowsHeight(this.table,this.lockedTable),this._syncLockedScroll())},_syncLockedHeaderHeight:function(){var e,t;this.lockedHeader&&(e=this.lockedHeader.children("table"),t=this.thead.parent(),this._adjustRowsHeight(e,t),d(e,t))},_syncLockedScroll:function(){this.options.scrollable&&(this.lockedContent[0].scrollTop=this.content[0].scrollTop)},_resizable:function(){if(this.options.resizable){this.resizable&&this.resizable.destroy();var t=this;e(this.lockedHeader).find("thead").add(this.thead).on("mousemove"+Ie,"th",e.proxy(this._positionResizeHandle,this)),this.resizable=new kendo.ui.Resizable(this.wrapper,{handle:".k-resize-handle",start:function(n){var i,r,a=e(n.currentTarget).data("th"),l=e.inArray(a[0],s(a.closest("thead")).filter(":visible")),o="col:eq("+l+")";t.wrapper.addClass("k-grid-column-resizing"),t.lockedHeader&&e.contains(t.lockedHeader[0],a[0])?(i=t.lockedHeader,r=t.lockedTable):(i=t.thead.parent(),r=t.table),this.col=r.children("colgroup").find(o).add(i.find(o)),this.th=a,this.startLocation=n.x.location,this.columnWidth=X(a),this.table=this.col.closest("table"),this.totalWidth=this.table.width()},resize:function(e){var t=ut?-1:1,n=11,i=e.x.location*t-this.startLocation*t;this.columnWidth+i<n&&(i=n-this.columnWidth),this.table.width(this.totalWidth+i),this.col.width(this.columnWidth+i)},resizeend:function(){var e,n,i;t.wrapper.removeClass("k-grid-column-resizing"),e=this.th.attr("data-field"),n=fe(f(t.columns),function(t){return t.field==e}),i=Math.floor(X(this.th)),n[0].width=i,t._resize(),t._syncLockedContentHeight(),t._syncLockedHeaderHeight(),t.trigger($e,{column:n,oldWidth:this.columnWidth,newWidth:i}),this.table=this.col=this.th=null}})}},_sortable:function(){var n,i,r,l,o,d,h,c=this.options.sortable,u=fe(this.columns,function(e){return e.columns!==t}).length>0;if(c)for(l=u?this.lockedHeader?a(s(this.lockedHeader.find(">table>thead")).add(s(this.thead))):s(this.thead):e(this.lockedHeader).add(this.thead).find("th"),n=f(this.columns),d=0,h=l.length;d<h;d++)i=n[d],i.sortable!==!1&&!i.command&&i.field&&(o=l.eq(d),r=o.data("kendoColumnSorter"),r&&r.destroy(),o.kendoColumnSorter(ce({},c,i.sortable,{dataSource:this.dataSource})))},_filterable:function(){var n,i,r,a,l,o,d,h,c,u=this.options.filterable,p=fe(this.columns,function(e){return e.columns!==t}).length>0;if(u&&!this.options.columnMenu)for(h=ue(function(e){this.trigger(Ve,{field:e.field,container:e.container})},this),c=ue(function(e){this.trigger(je,{field:e.field,container:e.container})},this),n=p?s(this.lockedHeader?this.lockedHeader.find(">table>thead").add(this.thead):this.thead):e(this.lockedHeader).add(this.thead).find("th"),a=f(this.columns),i=0,r=n.length;i<r;i++)l=a[i],o=n.eq(i),d=o.data("kendoFilterMenu"),d&&d.destroy(),l.command||l.filterable===!1||o.kendoFilterMenu(ce(!0,{},u,l.filterable,{dataSource:this.dataSource,init:h,open:c}))},_change:function(){this.trigger(ve)},_isLocked:function(){return null!==this.lockedHeader},_selectable:function(){var n,i,r,a,s=this,l=this.options.selectable,o=this.table,d=s._isLocked();l&&(l=kendo.ui.Selectable.parseOptions(l),this._hasLockedColumns&&(o=o.add(this.lockedTable),i=l.multiple&&l.cell),n=">tbody>tr:not(.k-footer-template)",l.cell&&(n+=">
1221td"),this.selectable=new kendo.ui.Selectable(o,{filter:n,aria:!0,multiple:l.multiple,change:ue(this._change,this),useAllItems:i,continuousItems:ue(this._continuousItems,this,n,l.cell),relatedTarget:!l.cell&&this._hasLockedColumns?ue(this._selectableTarget,this):t}),s.options.navigatable&&(r=l.multiple,a=l.cell,o.on("keydown"+Ie,function(n){var i=s.current(),l=n.target;if(n.keyCode===Z.SPACEBAR&&!n.shiftKey&&e.inArray(l,o)>-1&&!i.is(".k-header")){if(n.preventDefault(),n.stopPropagation(),i=a?i:i.parent(),d&&!a&&(i=i.add(s._relatedRow(i))),r)if(n.ctrlKey){if(i.hasClass(bt.selected))return i.removeClass(bt.selected),s.trigger(ve),t}else s.selectable.clear();else s.selectable.clear();a||(s.selectable._lastActive=i),s.selectable.value(i)}else!a&&(n.shiftKey&&n.keyCode==Z.LEFT||n.shiftKey&&n.keyCode==Z.RIGHT||n.shiftKey&&n.keyCode==Z.UP||n.shiftKey&&n.keyCode==Z.DOWN||n.keyCode===Z.SPACEBAR&&n.shiftKey)&&(n.preventDefault(),n.stopPropagation(),i=i.parent(),d&&(i=i.add(s._relatedRow(i))),r?(s.selectable._lastActive||(s.selectable._lastActive=i),s.selectable.selectRange(s.selectable._firstSelectee(),i)):(s.selectable.clear(),s.selectable.value(i)))})))},_continuousItems:function(t,n){var i,r,a,s,l,o;if(this.lockedContent){for(i=e(t,this.lockedTable),r=e(t,this.table),a=n?H(this.columns).length:1,s=n?this.columns.length-a:1,l=[],o=0;o<i.length;o+=a)me.apply(l,i.slice(o,o+a)),me.apply(l,r.splice(0,s));return l}},_selectableTarget:function(t){var n,i,r,a=e();for(i=0,r=t.length;i<r;i++)n=this._relatedRow(t[i]),ge(n[0],t)<0&&(a=a.add(n));return a},_relatedRow:function(t){var n,i,r=this.lockedTable;return t=e(t),r?(n=t.closest(this.table.add(this.lockedTable)),i=n.find(">tbody>tr").index(t),n=n[0]===this.table[0]?r:this.table,n.find(">tbody>tr").eq(i)):t},select:function(n){var i=this.selectable;return i?(t!==n&&(i.options.multiple||(i.clear(),n=n.first()),this._hasLockedColumns&&(n=n.add(e.map(n,ue(this._relatedRow,this))))),i.value(n)):e()},clearSelection:function(){var e=this.select();e.length&&(this.selectable.clear(),this.trigger(ve))},_dataSource:function(e){var n=this,i=this.dataSource,r=n.options.pageable;i&&(i.unbind(ve,this._refreshHandler),i.unbind(Ce,this._errorHandler),i.unbind(Ae,this._sortHandler),i.unbind(we,this._progressHandler)),this._refreshHandler=ue(this.refresh,this),this._errorHandler=ue(this._error,this),this._sortHandler=ue(this._clearSortClasses,this),this._progressHandler=ue(this._progress,this),_e(e)&&(ce(e,{table:n.table,fields:n.columns}),_e(r)&&r.pageSize!==t&&(e.pageSize=r.pageSize)),i=this.dataSource=W.create(e),r&&(i._collapsedTotal=t),i.bind(ve,this._refreshHandler),i.bind(Ce,this._errorHandler),i.bind(Ae,this._sortHandler),i.bind(we,this._progressHandler),this._dataSourceFetchProxy=ue(function(){this.dataSource.fetch()},this)},setDataSource:function(e){this._dataSource(e),this._sortable(),this._filterable(),this._columnMenu(),this._pageable(),this._contentTree.render([]),this.options.autoBind&&this.dataSource.fetch()},dataItem:function(t){var n,i,r;return t instanceof O?t:(n=e(t).closest("tr"),i=n.attr(kendo.attr("uid")),r=L(i)?null:this.dataSource.getByUid(i))},editRow:function(e){var n,i=this;if(!this._isIncellEditable()&&this.options.editable&&(typeof e===be&&(e=this.tbody.find(e)),n=i._isPageable()&&i._isPopupEditable()&&e instanceof O?e:this.dataItem(e))){if(i.editor?(n._edit=!0,this._render(),this._cancelEditor()):i._preventPageSizeRestore=!1,"popup"!=this._editMode()&&(n._edit=!0),this.trigger(Se,{model:n}))return i.dataSource._restorePageSizeAfterAddChild(),t;this._render(),this._createEditor(n),this.trigger(Me,{container:this.editor.wrapper,model:n})}},_cancelEdit:function(t){if(this.editor){var n;t=ce(t,{container:this.editor.wrapper,model:this.editor.model}),this.trigger(We,t)||(this.options.navigatable&&(n=this.items().index(e(this.current()).parent())),this.cancelRow(),this.options.navigatable&&(this.current(this.items().eq(n).children().filter(st).first()),N(this.table,!0)))}},cancelRow:function(){this._isIncellEditable()||(this._cancelEditor(),this._render())},saveRow:function(){var e,t=this.editor;this._isIncellEditable()||t&&(e={model:t.model,container:t.wrapper},t.end()&&!this.trigger(Fe,e)&&this.dataSource.sync())},addRow:function(e){var n=this,i=n.dataSource,r=n._isPageable(),a=n._isIncellEditable(),s=n._isInlineEditable(),l=this.editor,o=0,d={};if((!l||l.end())&&this.options.editable)return e?(e instanceof O||(e=this.dataItem(e)),d[e.parentIdField]=e.id,o=this.dataSource.indexOf(e)+1,this.expand(e).then(function(){var t=r&&i._isLastItemInView(e)&&(a||s);n._insertAt(d,o,t)}),t):(this._insertAt(d,o),t)},_insertAt:function(e,t,n){var i,r,a=this,s=a.dataSource;e=a.dataSource.insert(t,e),n&&s._setAddChildPageSize(),i=this._itemFor(e),a._isIncellEditable()?(r=i.children("td").eq(a._firstEditableColumnIndex(i)),a.editCell(r)):i&&i[0]?a.editRow(i):a._isPageable()&&a._isPopupEditable()&&a.editRow(e)},_firstEditableColumnIndex:function(e){var t,n,i=this,r=i.dataItem(e),a=f(i.columns),s=a.length;for(n=0;n<s;n++)if(t=a[n],r&&(!r.editable||r.editable(t.field))&&!t.command&&t.field&&t.hidden!==!0)return n;return-1},removeRow:function(t){var n=this.dataItem(t),i={model:n,row:t};this.options.editable&&n&&!this.trigger(ze,i)&&(document.activeElement===e(t).find(".k-grid-delete")[0]&&e(t).find(".k-grid-delete").blur(),this.dataSource.remove(n),this._isIncellEditable()||this.dataSource.sync())},_cancelEditor:function(){var e,t=this,n=t.editor;n&&(e=n.model,t._destroyEditor(),t._isIncellEditable()?t._shouldRestorePageSize()&&t.dataSource._restorePageSizeAfterAddC
1221hild():t.dataSource.cancelChanges(e),e._edit=!1),t._preventPageSizeRestore=!1},_shouldRestorePageSize:function(){var e=this;return e._isPageable()&&e._isIncellEditable()&&!e._preventPageSizeRestore},_destroyEditor:function(){this.editor&&(this.editor.close(),this.editor=null)},_createEditor:function(e){var t,n,i,r=this.itemFor(e),a=f(this.columns),s=[];for(t=0;t<a.length;t++)s.push(ce({},a[t])),delete s[t].parentColumn;r=r.add(this._relatedRow(r)),n=this._editMode(),i={columns:s,model:e,target:this,clearContainer:!1,template:this.options.editable.template},"inline"==n?this.editor=new V(r,i):(ce(i,{window:this.options.editable.window,commandRenderer:ue(function(){return this._buildCommands(["update","canceledit"])},this),fieldRenderer:ue(this._cellContent,this),save:ue(this.saveRow,this),cancel:ue(this._cancelEdit,this),appendTo:this.wrapper}),this.editor=new j(r,i))},_createIncellEditor:function(e,t){var n=this,i=ce({},t.columns[0]);return delete i.parentColumn,new K(e,ce({},{fieldRenderer:ue(n._cellContent,n),appendTo:n.wrapper,clearContainer:!1,target:n,columns:[i],model:t.model,change:t.change}))},editCell:function(t){var n,i,r=this;t=e(t),n=f(r.columns)[r.cellIndex(t)],i=r.dataItem(t),r._isIncellEditable()&&i&&R(n,i)&&r._editCell(t,n,i)},_editCell:function(e,n,i){var r,a=this;return a.trigger(Se,{model:i})?(a.dataSource._restorePageSizeAfterAddChild(),t):(a.closeCell(),i._edit=!0,a._cancelEditor(),a._render({editedColumn:n,editedColumnIndex:e.index()}),r=a.table.add(a.lockedTable).find(ye+bt.editCell).first(),a.editor=a._createIncellEditor(r,{columns:[n],model:i,change:function(t){a.trigger(Fe,{values:t.values,container:e,model:i})&&t.preventDefault()}}),a._current=r,a.trigger(Me,{container:e,model:i}),t)},closeCell:function(e){var t,n,i=this,r=(i.editor||{}).element;r&&r[0]&&i._isIncellEditable()&&(n=i.dataItem(r),e&&i.trigger(We,{container:r,model:n})||(i.trigger(Re,{type:e?We:Fe,model:n,container:r}),i._cancelEditor(),r.removeClass(bt.editCell),t=r.parent().removeClass(bt.editRow),i.lockedContent&&i._relatedRow(t).removeClass(bt.editRow),i._render(),i.trigger(ke,{item:t,data:n,ns:te}),i.lockedContent&&E(t.css("height","")[0],i._relatedRow(t).css("height","")[0])))},cancelChanges:function(){this.dataSource.cancelChanges()},saveChanges:function(){var e=this,t=(e.editor||{}).editable,n=t&&t.end();!n&&t||e.trigger(De)||e.dataSource.sync()},_editMode:function(){var e="inline",t=this.options.editable;return t!==!0&&(e="string"==typeof t?t:t.mode||e),e.toLowerCase()},_isIncellEditable:function(){return this._editMode()===ft},_isInlineEditable:function(){return this._editMode()===gt},_isPopupEditable:function(){return this._editMode()===_t},hideColumn:function(e){this._toggleColumnVisibility(e,!0)},showColumn:function(e){this._toggleColumnVisibility(e,!1)},_toggleColumnVisibility:function(e,t){e=this._findColumn(e),e&&e.hidden!==t&&(e.hidden=t,this._setParentsVisibility(e,!t),this._ensureExpandableColumn(),this._clearColsCache(),this._renderCols(),this._renderHeader(),this._render(),this._adjustTablesWidth(),this.trigger(t?Ke:Qe,{column:e}),t||e.width||this.table.add(this.thead.closest("table")).width(""),this._updateFirstColumnClass())},_findColumn:function(e){return e="number"==typeof e?this.columns[e]:_e(e)?fe(f(this.columns),function(t){return t===e})[0]:fe(f(this.columns),function(t){return t.field===e})[0]},_adjustTablesWidth:function(){var e,t,n,i=this.thead.prev().children(),r=0;for(e=0,t=i.length;e<t;e++){if(n=i[e].style.width,!n||n.indexOf("%")!=-1){r=0;break}r+=parseInt(n,10)}r&&this.table.add(this.thead.closest("table")).width(r)},_reorderable:function(){var t,n,i;this.options.reorderable&&(t=this.options.scrollable===!0,n=(t?".k-grid-header:first ":"table:first>.k-grid-header ")+Ue,i=this,this._draggableInstance=new te.Draggable(this.wrapper,{group:kendo.guid(),filter:n,hint:function(t){return e('<div class="k-header k-reorder-clue k-drag-clue" />').html(t.attr(kendo.attr("title"))||t.attr(kendo.attr("field"))||t.text()).prepend('<span class="k-icon k-drag-status k-i-cancel" />')}}),this.reorderable=new te.Reorderable(this.wrapper,{draggable:this._draggableInstance,dragOverContainers:ue(this._allowDragOverContainers,this),inSameContainer:function(t){return e(t.source).parent()[0]===e(t.target).parent()[0]&&C(k(i.columns),i.columns,t.sourceIndex,t.targetIndex)>-1},change:function(e){var t=k(i.columns),n=t[e.oldIndex],r=C(t,i.columns,e.oldIndex,e.newIndex);i.trigger(Ge,{newIndex:r,oldIndex:ge(n,t),column:n}),i.reorderColumn(r,n,"before"===e.position)}}))},_allowDragOverContainers:function(e,t){var n=k(this.columns);return n[e].lockable!==!1&&C(n,this.columns,e,t)>-1},_reorderTrees:function(n,i,r,a,s,l,o,d){var h,c,u,f,g,_,m,b,v=e(),k=s.find("tr:eq("+a[0].rowIndex+")"),C=l.children[a[0].rowIndex],w=k.children(),y=o?n[0]:n[n.length-1];for(b=0;b<a.length;b++)c=a[b].cellIndex,v=v.add(w.eq(c)),h=r.children[y.rowIndex].children,r===l&&o&&(c+=b),h.splice(o?y.cellIndex+b:y.cellIndex+1+b,0,C.children[c]);if(r===l&&o?C.children.splice(a[0].cellIndex+a.length,a.length):C.children.splice(a[0].cellIndex,a.length),u=i.find("tr:eq("+y.rowIndex+")"),m=u.find(">th.k-header:eq("+y.cellIndex+")"),m.length&&v[0]!==m[0]&&v[o?"insertBefore":"insertAfter"](m),d>=a[0].rowIndex+1&&1!=d){for(f=[],b=0;b<a.length;b++)a[b].columns&&(f=f.concat(a[b].columns));if(!f.length)return;for(g=[],b=0;b<n.length;b++)n[b].columns&&(g=g.concat(n[b].columns));if(!g.length&&(i!==s||y.cellIndex-a[0].cellIndex>1||a[0].cellIndex-y.cellIndex>1)&&(_=p(this.columns,y,a[0],o,this.columns),g=[_],!_&&f.length&&i.find("tr").length>a[0].rowIndex+1))return this._insertTree(f,s,l,i,r),t;if(!g.length)return;this._reorderTrees(g,i,r,f,s,l,o,d)}},_insertTree:function(t,n,i,r,a){var s,l=[],o=e(),d=n.find("tr:eq("+t[0].rowIndex+")"),h=i.children[t[0].rowIndex];for(s=0;s<t.length;s++)t[s].columns&&(l=l.concat(t[s].columns)),a.children[t[0].rowIndex].children.splice(s,0,h.children[t[s].rowIndex]),o=o.add(d.find(">th.k-header:eq("+t[s].cellIndex+")"));i.children[t[0].rowIndex].children.splice(t[0].cellIndex,t.length),r.find("tr:eq("+t[0].rowIndex+")").append(o),l.length&&this._insertTree(l,n,i,r,a)},_reorderHeader:function(e,t,n){var i,r,a=t.columns?P([t]):1,s=e.columns?P([e]):1,l=c(t),o=c(e),d=o?this.lockedHeader:this.thead,h=l?this.lockedHeader:this.thead,u=o?this._lockedHeaderTree:this._headerTree,p=l?this._lockedHeaderTree:this._headerTree,f=d.find("tr");if(a===s||a<f.length)this._reorderTrees([e],d,u,[t],h,p,n,a),D(d,u),A(h,p);else{if(d!==h)for(i=a-f.length,f.each(function(e){var t,n=this.cells;for(t=0;t<n.length;t++)n[t].colSpan<=1&&n[t].attributes.rowspan&&(u.children[e].children[t].attr.rowSpan+=i,n[t].rowSpan+=i)}
1221),r=0;r<i;r++)u.children.push($("tr",{role:"row"})),d.is("thead")?d.append("<tr role='row'></tr>"):d.find("thead").append("<tr role='row'></tr>");this._reorderTrees([e],d,u,[t],h,p,n,a),A(h,p)}},reorderColumn:function(n,i,r){var a,s,l,o=i.parentColumn,d=o?o.columns:this.columns,h=ge(i,d),c=d[n],u=!!c.locked,p=fe(this.columns,function(e){return e.columns!==t}).length>0,g=F(d).length;h!==n&&(u&&!i.locked&&1==g||!u&&i.locked&&d.length-g==1||(r===t&&(r=n<h),p&&this._reorderHeader(c,i,r),a=!!i.locked,a=a!=u,i.locked=u,d.splice(r?n:n+1,0,i),d.splice(h<n?h:h+1,1),this._setColumnDataIndexes(f(this.columns)),this._clearColsCache(),this._renderCols(),p?this.lockedHeader?(d=F(this.columns),this._prepareColumns([{rowSpan:1,cells:[],index:0}],d),d=H(this.columns),this._prepareColumns([{rowSpan:1,cells:[],index:0}],d)):this._prepareColumns([{rowSpan:1,cells:[],index:0}],this.columns):(s=e(this.lockedHeader).add(this.thead).find("th"),s.eq(h)[r?"insertBefore":"insertAfter"](s.eq(n)),l=this._headerTree.children[0].children,this._hasLockedColumns&&(l=this._lockedHeaderTree.children[0].children.concat(l)),l.splice(r?n:n+1,0,l[h]),l.splice(h<n?h:h+1,1),this._hasLockedColumns&&(this._lockedHeaderTree.children[0].children=l.splice(0,H(d).length),this._headerTree.children[0].children=l)),this._updateColumnCellIndex(),this._applyLockedContainersWidth(),this._syncLockedHeaderHeight(),this._updateFirstColumnClass(),this.refresh(),a&&(u?this.trigger(Xe,{column:i}):this.trigger(Ze,{column:i}))))},lockColumn:function(e){var t,n=this.columns;e="number"==typeof e?n[e]:fe(n,function(t){return t.field===e})[0],e&&!e.hidden&&(t=H(n).length-1,this.reorderColumn(t,e,!1))},unlockColumn:function(e){var t,n=this.columns;e="number"==typeof e?n[e]:fe(n,function(t){return t.field===e})[0],e&&!e.hidden&&(t=H(n).length,this.reorderColumn(t,e,!0))},_columnMenu:function(){var n,i,r,l,o,d,h=e(this.lockedHeader).add(this.thead).find("th"),c=this.columns,u=this.options,p=u.columnMenu,g=ue(this._columnMenuInit,this),_=ue(this._columnMenuOpen,this),m=H(c).length,b=fe(this.columns,function(e){return e.columns!==t}).length>0;if(b?(c=f(c),h=this.lockedHeader?a(s(this.lockedHeader.find(">table>thead")).add(s(this.thead))):s(this.thead)):h=e(this.lockedHeader).add(this.thead).find("th"),p)for("boolean"==typeof p&&(p={}),d=0;d<h.length;d++)n=c[d],n.field&&(i=h.eq(d).data("kendoColumnMenu"),i&&i.destroy(),l=!1,n.sortable!==!1&&p.sortable!==!1&&u.sortable!==!1&&(l=ce({},u.sortable,{compare:(n.sortable||{}).compare})),o=!1,u.filterable&&n.filterable!==!1&&p.filterable!==!1&&(o=ce({pane:this.pane},n.filterable,u.filterable)),r={dataSource:this.dataSource,values:n.values,columns:p.columns,sortable:l,filterable:o,messages:p.messages,owner:this,closeCallback:e.n
1221oop,init:g,open:_,pane:this.pane,lockedColumns:!b&&n.lockable!==!1&&m>0},u.$angular&&(r.$angular=u.$angular),h.eq(d).kendoColumnMenu(r))},_columnMenuInit:function(e){this.trigger(Je,{field:e.field,container:e.container})},_pageable:function(){var t,n=this,i=n.options.pageable;i&&(t=n.wrapper.children("div.k-grid-pager"),t.length||(t=e('<div class="k-pager-wrap k-grid-pager"/>').appendTo(n.wrapper)),n._destroyPager(),"object"==typeof i&&i instanceof kendo.ui.TreeListPager?n.pager=i:n.dataSource&&!n.dataSource.options.serverPaging&&n._createPager(t),n.pager&&n.pager.bind(He,function(e){n.trigger(Pe,{page:e.index})&&e.preventDefault()}))},_createPager:function(e,t){var n=this;n.pager=new B(e,ce({},n.options.pageable,{dataSource:n.dataSource},t))},_destroyPager:function(){this.pager&&this.pager.destroy()},_isPageable:function(){var e=this;return e.options.pageable&&(!e.dataSource||e.dataSource&&e.dataSource._isPageable())},_togglePagerVisibility:function(){var e=this,t=e.options.pageable;t&&(_e(t)||t instanceof B)&&t.alwaysVisible===!1&&e.wrapper.find(".k-grid-pager").toggle((e.dataSource.collapsedTotal()||0)>=e.dataSource.pageSize())}}),kendo.ExcelMixin&&kendo.ExcelMixin.extend(Q.prototype),kendo.PDFMixin&&(kendo.PDFMixin.extend(Q.prototype),Q.prototype._drawPDF=function(n){function i(){l&&d!==t?(s.unbind("change",r),s.one("change",function(){a.resolve(o)}),s.page(d)):a.resolve(o)}function r(){h._drawPDFShadow({
1222width:h.wrapper.width()},{avoidLinks:h.options.pdf.avoidLinks}).done(function(e){var t=s.page(),r=l?s.totalPages():1,a={page:e,pageNumber:t,progress:t/r,totalPages:r};n.notify(a),o.append(a.page),t<r?s.page(t+1):i()}).fail(function(e){a.reject(e)})}var a,s,l,o,d,h=this;return h.options.pdf.paperSize&&"auto"!=h.options.pdf.paperSize?h._drawPDF_autoPageBreak(n):(a=new e.Deferred,s=h.dataSource,l=h.options.pdf.allPages,this._initPDFProgress(n),o=new kendo.drawing.Group,d=s.page(),l?(s.bind("change",r),s.page(1)):r(),a.promise())},Q.prototype._initPDFProgress=function(t){var n,i=e("<div class='k-loading-pdf-mask'><div class='k-loading-color'></div></div>");i.prepend(this.wrapper.clone().css({position:"absolute",top:0,left:0})),this.wrapper.append(i),n=e("<div class='k-loading-pdf-progress'>").appendTo(i).kendoProgressBar({type:"chunk",chunkCount:10,min:0,max:1,value:0}).data("kendoProgressBar"),t.progress(function(e){n.value(e.progress)}).always(function(){kendo.destroy(i),i.remove()})},Q.prototype._drawPDF_autoPageBreak=function(n){function i(){c&&l!==t?(h.one("change",r),h.page(l)):(o.refresh(),r())}function r(){p.appendTo(document.body);var t=e.extend({},o.options.pdf,{_destructive:!0,progress:function(e){n.notify({page:e.page,pageNumber:e.pageNum,progress:.5+e.pageNum/e.totalPages/2,totalPages:e.totalPages})}});kendo.drawing.drawDOM(f,t).always(function(){p.remove()}).then(function(e){d.resolve(e)}).fail(function(e){d.reject(e)})}function a(){var e=h.page(),t=c?h.totalPages():1;s.append(u.find("tr")),e<t?h.page(e+1):(h.unbind("change",a),i())}var s,l,o=this,d=new e.Deferred,h=o.dataSource,c=o.options.pdf.allPages,u=o.wrapper.find('table[role="treeList"] > tbody'),p=e("<div>").css({position:"absolute",left:-1e4,top:-1e4}),f=o.wrapper.clone().css({height:"auto",width:"auto"}).appendTo(p);return f.find(".k-grid-content").css({height:"auto",width:"auto",overflow:"visible"}),f.find('table[role="treeList"], .k-grid-footer table').css({height:"auto",width:"100%",overflow:"visible"}),f.find(".k-grid-pager, .k-grid-toolbar, .k-grouping-header").remove(),f.find(".k-grid-header, .k-grid-footer").css({paddingRight:0}),this._initPDFProgress(n),s=f.find('table[role="treeList"] > tbody').empty(),l=h.page(),c?(h.bind("change",a),h.page(1)):a(),d.promise()}),ce(!0,kendo.data,{TreeListDataSource:W,TreeListModel:O}),te.plugin(Q),te.plugin(B)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
1223//# sourceMappingURL=kendo.treelist.min.js.map
1224
1225/** 
1226 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1227 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1228 *                                                                                                                                                                                                      
1229 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1230 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1231 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1232                                                                                                                                                                                                       
1233                                                                                                                                                                                                       
1234                                                                                                                                                                                                       
1235                                                                                                                                                                                                       
1236                                                                                                                                                                                                       
1237                                                                                                                                                                                                       
1238                                                                                                                                                                                                       
1239                                                                                                                                                                                                       
1240                                                                                                                                                                                                       
1241                                                                                                                                                                                                       
1242                                                                                                                                                                                                       
1243                                                                                                                                                                                                       
1244                                                                                                                                                                                                       
1245                                                                                                                                                                                                       
1246                                                                                                                                                                                                       
1247
1248*/
1249!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min"],e):e()}(function(){!function(e,y){kendo.cultures["en-AU"]={name:"en-AU",numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n%","n%"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{name:"Australian Dollar",abbr:"AUD",pattern:["-$n","$n"],decimals:2,",":",",".":".",groupSize:[3],symbol:"$"}},calendars:{standard:{days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1249ay","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December"],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},AM:["AM","am","AM"],PM:["PM","pm","PM"],patterns:{d:"d/MM/yyyy",D:"dddd, d MMMM yyyy",F:"dddd, d MMMM yyyy h:mm:ss tt",g:"d/MM/yyyy h:mm tt",G:"d/MM/yyyy h:mm:ss tt",m:"d MMMM",M:"d MMMM",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"h:mm tt",T:"h:mm:ss tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM yyyy",Y:"MMMM yyyy"},"/":"/",":":":",firstDay:1}}}}(this)});
1250//# sourceMappingURL=kendo.culture.en-AU.min.js.map
1251
1252/** 
1253 * Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)                                                                                                                                               
1254 * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
1255 *                                                                                                                                                                                                      
1256 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
1257 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
1258 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
1259                                                                                                                                                                                                       
1260                                                                                                                                                                                                       
1261                                                                                                                                                                                                       
1262                                                                                                                                                                                                       
1263                                                                                                                                                                                                       
1264                                                                                                                                                                                                       
1265                                                                                                                                                                                                       
1266                                                                                                                                                                                                       
1267                                                                                                                                                                                                       
1268                                                                                                                                                                                                       
1269                                                                                                                                                                                                       
1270                                                                                                                                                                                                       
1271                                                                                                                                                                                                       
1272                                                                                                                                                                                                       
1273                                                                                                                                                                                                       
1274
1275*/
1276!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min"],e):e()}(function(){!function(e,t){kendo.ui.FlatColorPicker&&(kendo.ui.FlatColorPicker.prototype.options.messages=e.extend(!0,kendo.ui.FlatColorPicker.prototype.options.messages,{apply:"Apply",cancel:"Cancel",noColor:"no color",clearColor:"Clear color"})),kendo.ui.ColorPicker&&(kendo.ui.ColorPicker.prototype.options.messages=e.extend(!0,kendo.ui.ColorPicker.prototype.options.messages,{apply:"Apply",cancel:"Cancel",noColor:"no color",clearColor:"Clear color"})),kendo.ui.ColumnMenu&&(kendo.ui.ColumnMenu.prototype.options.messages=e.extend(!0,kendo.ui.ColumnMenu.prototype.options.messages,{sortAscending:"Sort Ascending",sortDescending:"Sort Descending",filter:"Filter",columns:"Columns",columnVisibility:"Column Visibility",done:"Done",settings:"Column Settings",lock:"Lock",unlock:"Unlock"})),kendo.ui.Editor&&(kendo.ui.Editor.prototype.options.messages=e.extend(!0,kendo.ui.Editor.prototype.options.messages,{bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",superscript:"Superscript",subscript:"Subscript",justifyCenter:"Center text",justifyLeft:"Align text left",justifyRight:"Align text right",justifyFull:"Justify",insertUnorderedList:"Insert unordered list",insertOrderedList:"Insert ordered list",indent:"Indent",outdent:"Outdent",createLink:"Insert hyperlink",unlink:"Remove hyperlink",insertImage:"Insert image",insertFile:"Insert file",insertHtml:"Insert HTML",viewHtml:"View HTML",fontName:"Select font family",fontNameInherit:"(inherited font)",fontSize:"Select font size",fontSizeInherit:"(inherited size)",formatBlock:"Format",formatting:"Format",foreColor:"Color",backColor:"Backgroun
1276d color",style:"Styles",emptyFolder:"Empty Folder",uploadFile:"Upload",overflowAnchor:"More tools",orderBy:"Arrange by:",orderBySize:"Size",orderByName:"Name",invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',deleteFile:'Are you sure you want to delete "{0}"?',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',directoryNotFound:"A directory with this name was not found.",imageWebAddress:"Web address",imageAltText:"Alternate text",imageWidth:"Width (px)",imageHeight:"Height (px)",fileWebAddress:"Web address",fileTitle:"Title",linkWebAddress:"Web address",linkText:"Text",linkToolTip:"ToolTip",linkOpenInNewWindow:"Open link in new window",dialogUpdate:"Update",dialogInsert:"Insert",dialogButtonSeparator:"or",dialogCancel:"Cancel",cleanFormatting:"Clean formatting",createTable:"Create table",addColumnLeft:"Add column on the left",addColumnRight:"Add column on the right",addRowAbove:"Add row above",addRowBelow:"Add row below",deleteRow:"Delete row",deleteColumn:"Delete column",dialogOk:"Ok",tableWizard:"Table Wizard",tableTab:"Table",cellTab:"Cell",accessibilityTab:"Accessibility",caption:"Caption",summary:"Summary",width:"Width",height:"Height",units:"Units",cellSpacing:"Cell Spacing",cellPadding:"Cell Padding",cellMargin:"Cell Margin",alignment:"Alignment",background:"Backgroun
1276d",cssClass:"CSS Class",id:"ID",border:"Border",borderStyle:"Border Style",collapseBorders:"Collapse borders",wrapText:"Wrap text",associateCellsWithHeaders:"Associate headers",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignLeftTop:"Align Left Top",alignCenterTop:"Align Center Top",alignRightTop:"Align Right Top",alignLeftMiddle:"Align Left Middle",alignCenterMiddle:"Align Center Middle",alignRightMiddle:"Align Right Middle",alignLeftBottom:"Align Left Bottom",alignCenterBottom:"Align Center Bottom",alignRightBottom:"Align Right Bottom",alignRemove:"Remove Alignment",columns:"Columns",rows:"Rows",selectAllCells:"Select All Cells",headerRows:"Header Rows",headerColumns:"Header Columns",tableSummaryPlaceholder:"Summary attribute is not HTML5 compatible.",associateNone:"None",associateScope:"Associate using 'scope' attribute",associateIds:"Associate using Ids",copyFormat:"Copy format",applyFormat:"Apply format"})),kendo.ui.FileBrowser&&(kendo.ui.FileBrowser.prototype.options.messages=e.extend(!0,kendo.ui.FileBrowser.prototype.options.messages,{uploadFile:"Upload",orderBy:"Arrange by",orderByName:"Name",orderBySize:"Size",directoryNotFound:"A directory with this name was not found.",emptyFolder:"Empty Folder",deleteFile:'Are you sure you want to delete "{0}"?',invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',dropFilesHere:"drop file here to upload",search:"Search"})),kendo.ui.FilterCell&&(kendo.ui.FilterCell.prototype.options.messages=e.extend(!0,kendo.ui.FilterCell.prototype.options.messages,{isTrue:"is true",isFalse:"is false",filter:"Filter",clear:"Clear",operator:"Operator"})),kendo.ui.FilterCell&&(kendo.ui.FilterCell.prototype.options.operators=e.extend(!0,kendo.ui.FilterCell.prototype.options.operators,{string:{eq:"Is equal to",neq:"Is not equal to",startswith:"Starts with",contains:"Contains",doesnotcontain:"Does not contain",endswith:"Ends with"},number:{eq:"Is equal to",neq:"Is not equal to",gte:"Is greater than or equal to",gt:"Is greater than",lte:"Is less than or equal to",lt:"Is less than"},date:{eq:"Is equal to",neq:"Is not equal to",gte:"Is after or equal to",gt:"Is after",lte:"Is before or equal to",lt:"Is before"},enums:{eq:"Is equal to",neq:"Is not equal to"}})),kendo.ui.FilterMenu&&(kendo.ui.FilterMenu.prototype.options.messages=e.extend(!0,kendo.ui.FilterMenu.prototype.options.messages,{info:"Show items with value that:",title:"Show items with value that",isTrue:"is true",isFalse:"is false",filter:"Filter",clear:"Clear",and:"And",or:"Or",selectValue:"-Select value-",operator:"Operator",value:"Value",cancel:"Cancel"})),kendo.ui.FilterMenu&&(kendo.ui.FilterMenu.prototype.options.operators=e.extend(!0,kendo.ui.FilterMenu.prototype.options.operators,{string:{eq:"Is equal to",neq:"Is not equal to",startswith:"Starts with",contains:"Contains",doesnotcontain:"Does not contain",endswith:"Ends with",isnull:"Is null",isnotnull:"Is not null",isempty:"Is empty",isnotempty:"Is not empty"},number:{eq:"Is equal to",neq:"Is not equal to",gte:"Is greater than or equal to",gt:"Is greater than",lte:"Is less than or equal to",lt:"Is less than",isnull:"Is null",isnotnull:"Is not null"},date:{eq:"Is equal to",neq:"Is not equal to",gte:"Is after or equal to",gt:"Is after",lte:"Is before or equal to",lt:"Is before",isnull:"Is null",isnotnull:"Is not null"},enums:{eq:"Is equal to",neq:"Is not equal to",isnull:"Is null",isnotnull:"Is not null"}})),kendo.ui.FilterMultiCheck&&(kendo.ui.FilterMultiCheck.prototype.options.messages=e.extend(!0,kendo.ui.FilterMultiCheck.prototype.options.messages,{checkAll:"Select All",clear:"Clear",filter:"Filter",search:"Search"})),kendo.ui.Gantt&&(kendo.ui.Gantt.prototype.options.messages=e.extend(!0,kendo.ui.Gantt.prototype.options.messages,{actions:{addChild:"Add Child",append:"Add Task",insertAfter:"Add Below",insertBefore:"Add Above",pdf:"Export to PDF"},cancel:"Cancel",deleteDependencyWindowTitle:"Delete dependency",deleteTaskWindowTitle:"Delete task",destroy:"Delete",editor:{assingButton:"Assign",editorTitle:"Task",end:"End",percentComplete:"Complete",resources:"Resources",resourcesEditorTitle:"Resources",resourcesHeader:"Resources",start:"Start",title:"Title",unitsHeader:"Units"},save:"Save",views:{day:"Day",end:"End",month:"Month",start:"Start",week:"Week",year:"Year"}})),kendo.ui.Grid&&(kendo.ui.Grid.prototype.options.messages=e.extend(!0,kendo.ui.Grid.prototype.options.messages,{commands:{cancel:"Cancel changes",canceledit:"Cancel",create:"Add new record",destroy:"Delete",edit:"Edit",excel:"Export to Excel",pdf:"Export to PDF",save:"Save changes",select:"Select",update:"Update"}
vendor: 7,505 bytes, line 1276
1276,editable:{cancelDelete:"Cancel",confirmation:"Are you sure you want to delete this record?",confirmDelete:"Delete"},noRecords:"No records available."})),kendo.ui.Groupable&&(kendo.ui.Groupable.prototype.options.messages=e.extend(!0,kendo.ui.Groupable.prototype.options.messages,{empty:"Drag a column header and drop it here to group by that column"})),kendo.ui.NumericTextBox&&(kendo.ui.NumericTextBox.prototype.options=e.extend(!0,kendo.ui.NumericTextBox.prototype.options,{upArrowText:"Increase value",downArrowText:"Decrease value"})),kendo.ui.Pager&&(kendo.ui.Pager.prototype.options.messages=e.extend(!0,kendo.ui.Pager.prototype.options.messages,{allPages:"All",display:"{0} - {1} of {2} items",empty:"No items to display",page:"Page",of:"of {0}",itemsPerPage:"items per page",first:"Go to the first page",previous:"Go to the previous page",next:"Go to the next page",last:"Go to the last page",refresh:"Refresh",morePages:"More pages"})),kendo.ui.TreeListPager&&(kendo.ui.TreeListPager.prototype.options.messages=e.extend(!0,kendo.ui.TreeListPager.prototype.options.messages,{allPages:"All",display:"{0} - {1} of {2} items",empty:"No items to display",page:"Page",of:"of {0}",itemsPerPage:"items per page",first:"Go to the first page",previous:"Go to the previous page",next:"Go to the next page",last:"Go to the last page",refresh:"Refresh",morePages:"More pages"})),kendo.ui.PivotGrid&&(kendo.ui.PivotGrid.prototype.options.messages=e.extend(!0,kendo.ui.PivotGrid.prototype.options.messages,{measureFields:"Drop Data Fields Here",columnFields:"Drop Column Fields Here",rowFields:"Drop Rows Fields Here"})),kendo.ui.PivotFieldMenu&&(kendo.ui.PivotFieldMenu.prototype.options.messages=e.extend(!0,kendo.ui.PivotFieldMenu.prototype.options.messages,{info:"Show items with value that:",filterFields:"Fields Filter",filter:"Filter",include:"Include Fields...",title:"Fields to include",clear:"Clear",ok:"Ok",cancel:"Cancel",operators:{contains:"Contains",doesnotcontain:"Does not contain",startswith:"Starts with",endswith:"Ends with",eq:"Is equal to",neq:"Is not equal to"}})),kendo.ui.RecurrenceEditor&&(kendo.ui.RecurrenceEditor.prototype.options.messages=e.extend(!0,kendo.ui.RecurrenceEditor.prototype.options.messages,{frequencies:{never:"Never",hourly:"Hourly",daily:"Daily",weekly:"Weekly",monthly:"Monthly",yearly:"Yearly"},hourly:{repeatEvery:"Repeat every: ",interval:" hour(s)"},daily:{repeatEvery:"Repeat every: ",interval:" day(s)"},weekly:{interval:" week(s)",repeatEvery:"Repeat every: ",repeatOn:"Repeat on: "},monthly:{repeatEvery:"Repeat every: ",repeatOn:"Repeat on: ",interval:" month(s)",day:"Day "},yearly:{repeatEvery:"Repeat every: ",repeatOn:"Repeat on: ",interval:" year(s)",of:" of "},end:{label:"End:",mobileLabel:"Ends",never:"Never",after:"After ",occurrence:" occurrence(s)",on:"On "},offsetPositions:{first:"first",second:"second",third:"third",fourth:"fourth",last:"last"},weekdays:{day:"day",weekday:"weekday",weekend:"weekend day"}})),kendo.ui.Scheduler&&(kendo.ui.Scheduler.prototype.options.messages=e.extend(!0,kendo.ui.Scheduler.prototype.options.messages,{allDay:"all day",date:"Date",event:"Event",time:"Time",showFullDay:"Show full day",showWorkDay:"Show business hours",today:"Today",save:"Save",cancel:"Cancel",destroy:"Delete",resetSeries:"Reset Series",deleteWindowTitle:"Delete event",ariaSlotLabel:"Selected from {0:t} to {1:t}",ariaEventLabel:"{0} on {1:D} at {2:t}",editable:{confirmation:"Are you sure you want to delete this event?"},views:{day:"Day",week:"Week",workWeek:"Work Week",agenda:"Agenda",month:"Month"},recurrenceMessages:{deleteWindowTitle:"Delete Recurring Item",resetSeriesWindowTitle:"Reset Series",deleteWindowOccurrence:"Delete current occurrence",deleteWindowSeries:"Delete the series",editWindowTitle:"Edit Recurring Item",editWindowOccurrence:"Edit current occurrence",editWindowSeries:"Edit the series",deleteRecurring:"Do you want to delete only this event occurrence or the whole series?",editRecurring:"Do you want to edit only this event occurrence or the whole series?"},editor:{title:"Title",start:"Start",end:"End",allDayEvent:"All day event",description:"Description",repeat:"Repeat",timezone:" ",startTimezone:"Start timezone",endTimezone:"End timezone",separateTimezones:"Use separate start and end time zones",timezoneEditorTitle:"Timezones",timezoneEditorButton:"Time zone",timezoneTitle:"Time zones",noTimezone:"No timezone",editorTitle:"Event"}})),kendo.spreadsheet&&kendo.spreadsheet.messages.borderPalette&&(kendo.spreadsheet.messages.borderPalette=e.extend(!0,kendo.spreadsheet.messages.borderPalette,{allBorders:"All borders",insideBorders:"Inside borders",insideHorizontalBorders:"Inside horizontal borders",insideVerticalBorders:"Inside vertical borders",outsideBorders:"Outside borders",leftBorder:"Left border",topBorder:"Top border",rightBorder:"Right border",bottomBorder:"Bottom border",noBorders:"No border",reset:"Reset color",customColor:"Custom color...",apply:"Apply",cancel:"Cancel"})),kendo.spreadsheet&&kendo.spreadsheet.messages.dialogs&&(kendo.spreadsheet.messages.dialogs=e.extend(!0,kendo.spreadsheet.messages.dialogs,{apply:"Apply",save:"Save",cancel:"Cancel",remove:"Remove",okText:"OK",formatCellsDialog:{title:"Format",categories:{number:"Number",currency:"Currency",date:"Date"}},fontFamilyDialog:{title:"Font"},fontSizeDialog:{title:"Font size"},bordersDialog:{title:"Borders"},alignmentDialog:{title:"Alignment",buttons:{justtifyLeft:"Align left",justifyCenter:"Center",justifyRight:"Align right",justifyFull:"Justify",alignTop:"Align top",alignMiddle:"Align middle",alignBottom:"Align bottom"}},mergeDialog:{title:"Merge cells",buttons:{mergeCells:"Merge all",mergeHorizontally:"Merge horizontally",mergeVertically:"Merge vertically",unmerge:"Unmerge"}},freezeDialog:{title:"Freeze panes",buttons:{freezePanes:"Freeze panes",freezeRows:"Freeze rows",freezeColumns:"Freeze columns",unfreeze:"Unfreeze panes"}},validationDialog:{title:"Data Validation",hintMessage:"Please enter a valid {0} value {1}.",hintTitle:"Validation {0}",criteria:{any:"Any value",number:"Number",text:"Text",date:"Date",custom:"Custom Formula",list:"List"},comparers:{greaterThan:"greater than",lessThan:"less than",between:"between",notBetween:"not between",equalTo:"equal to",notEqualTo:"not equal to",greaterThanOrEqualTo:"greater than or equal to",lessThanOrEqualTo:"less than or equal to"},comparerMessages:{greaterThan:"greater than {0}",lessThan:"less than {0}",between:"between {0} and {1}",notBetween:"not between {0} and {1}",equalTo:"equal to {0}",notEqualTo:"not equal to {0}",greaterThanOrEqualTo:"greater than or equal to {0}",lessThanOrEqualTo:"less than or equal to {0}",custom:"that satisfies the formula: {0}"},labels:{criteria:"Criteria",comparer:"Comparer",min:"Min",max:"Max",value:"Value",start:"Start",end:"End",onInvalidData:"On invalid data",rejectInput:"Reject input",showWarning:"Show warning",showHint:"Show hint",hintTitle:"Hint title",hintMessage:"Hint message",ignoreBlank:"Ignore blank"},placeholders:{typeTitle:"Type title",typeMessage:"Type message"}},exportAsDialog:{title:"Export...",labels:{fileName:"File name",saveAsType:"Save as type",exportArea:"Export",paperSize:"Paper size",margins:"Margins",orientation:"Orientation",print:"Print",guidelines:"Guidelines",center:"Center",horizontally:"Horizontally",vertically:"Vertically"}},modifyMergedDialog:{errorMessage:"Cannot change part of a merged cell."},useKeyboardDialog:{title:"Copying and pasting",errorMessage:"The
1276se actions cannot be invoked through the menu. Please use the keyboard shortcuts instead:",labels:{forCopy:"for copy",forCut:"for cut",forPaste:"for paste"}},unsupportedSelectionDialog:{errorMessage:"That action cannot be performed on multiple selection."}})),kendo.spreadsheet&&kendo.spreadsheet.messages.filterMenu&&(kendo.spreadsheet.messages.filterMenu=e.extend(!0,kendo.spreadsheet.messages.filterMenu,{sortAscending:"Sort range A to Z",sortDescending:"Sort range Z to A",filterByValue:"Filter by value",filterByCondition:"Filter by condition",apply:"Apply",search:"Search",addToCurrent:"Add to current selection",clear:"Clear",blanks:"(Blanks)",operatorNone:"None",and:"AND",or:"OR",operators:{string:{contains:"Text contains",doesnotcontain:"Text does not contain",startswith:"Text starts with",endswith:"Text ends with"},date:{eq:"Date is",neq:"Date is not",lt:"Date is before",gt:"Date is after"},number:{eq:"Is equal to",neq:"Is not equal to",gte:"Is greater than or equal to",gt:"Is greater than",lte:"Is less than or equal to",lt:"Is less than"}}})),kendo.spreadsheet&&kendo.spreadsheet.messages.toolbar&&(kendo.spreadsheet.messages.toolbar=e.extend(!0,kendo.spreadsheet.messages.toolbar,{addColumnLeft:"Add column left",addColumnRight:"Add column right",addRowAbove:"Add row above",addRowBelow:"Add row below",alignment:"Alignment",alignmentButtons:{justtifyLeft:"Align left",justifyCenter:"Center",justifyRight:"Align right",justifyFull:"Justify",alignTop:"Align top",alignMiddle:"Align middle",alignBottom:"Align bottom"},backgroundColor:"Background",bold:"Bold",borders:"Borders",colorPicker:{reset:"Reset color",customColor:"Custom color..."},copy:"Copy",cut:"Cut",deleteColumn:"Delete column",deleteRow:"Delete row",excelImport:"Import from Excel...",filter:"Filter",fontFamily:"Font",fontSize:"Font size",format:"Custom format...",formatTypes:{automatic:"Automatic",number:"Number",percent:"Percent",financial:"Financial",currency:"Currency",date:"Date",time:"Time",dateTime:"Date time",duration:"Duration",moreFormats:"More formats..."},formatDecreaseDecimal:"Decrease decimal",formatIncreaseDecimal:"Increase decimal",freeze:"Freeze panes",freezeButtons:{freezePanes:"Freeze panes",freezeRows:"Freeze rows",freezeColumns:"Freeze columns",unfreeze:"Unfreeze panes"},italic:"Italic",merge:"Merge cells",mergeButtons:{mergeCells:"Merge all",mergeHorizontally:"Merge horizontally",mergeVertically:"Merge vertically",unmerge:"Unmerge"},open:"Open...",paste:"Paste",quickAccess:{redo:"Redo",undo:"Undo"},saveAs:"Save As...",sortAsc:"Sort ascending",sortDesc:"Sort descending",sortButtons:{sortSheetAsc:"Sort sheet A to Z",sortSheetDesc:"Sort sheet Z to A",sortRangeAsc:"Sort range A to Z",sortRangeDesc:"Sort range Z to A"},textColor:"Text Color",textWrap:"Wrap text",underline:"Underline",validation:"Data validation..."})),kendo.spreadsheet&&kendo.spreadsheet.messages.view&&(kendo.spreadsheet.messages.view=e.extend(!0,kendo.spreadsheet.messages.view,{errors:{shiftingNonblankCells:"Cannot insert cells due to data loss possibility. Select another insert location or delete the data from the end of your worksheet.",filterRangeContainingMerges:"Cannot create a filter within a range containing merges",validationError:"The value that you entered violates the validation rules set on the cell."},tabs:{home:"Home",insert:"Insert",data:"Data"}})),kendo.ui.Slider&&(kendo.ui.Slider.prototype.options=e.extend(!0,kendo.ui.Slider.prototype.options,{increaseButtonTitle:"Increase",decreaseButtonTitle:"Decrease"})),kendo.ui.TreeList&&(kendo.ui.TreeList.prototype.options.messages=e.extend(!0,kendo.ui.TreeList.prototype.options.messages,{noRows:"No records to display",loading:"Loading...",requestFailed:"Request failed.",retry:"Retry",commands:{edit:"Edit",update:"Update",canceledit:"Cancel",create:"Add new record",createchild:"Add child record",destroy:"Delete",excel:"Export to Excel",pdf:"Export to PDF"}})),kendo.ui.TreeView&&(kendo.ui.TreeView.prototype.options.messages=e.extend(!0,kendo.ui.TreeView.prototype.options.messages,{loading:"Loading...",requestFailed:"Request failed.",retry:"Retry"})),kendo.ui.Upload&&(kendo.ui.Upload.prototype.options.localization=e.extend(!0,kendo.ui.Upload.prototype.options.localization,{select:"Select files...",cancel:"Cancel",retry:"Retry",remove:"Remove",uploadSelectedFiles:"Upload files",dropFilesHere:"drop files here to upload",statusUploading:"uploading",statusUploaded:"uploaded",statusWarning:"warning",statusFailed:"failed",headerStatusUploading:"Uploading...",headerStatusUploaded:"Done"})),kendo.ui.Validator&&(kendo.ui.Validator.prototype.options.messages=e.extend(!0,kendo.ui.Validator.prototype.options.messages,{required:"{0} is required",pattern:"{0}
1276 is not valid",min:"{0} should be greater than or equal to {1}",max:"{0} should be smaller than or equal to {1}",step:"{0} is not valid",email:"{0} is not valid email",url:"{0} is not valid URL",date:"{0} is not valid date",dateCompare:"End date should be greater than or equal to the start date"})),kendo.ui.Dialog&&(kendo.ui.Dialog.prototype.options.messages=e.extend(!0,kendo.ui.Dialog.prototype.options.localization,{close:"Close"})),kendo.ui.Alert&&(kendo.ui.Alert.prototype.options.messages=e.extend(!0,kendo.ui.Alert.prototype.options.localization,{okText:"OK"})),kendo.ui.Confirm&&(kendo.ui.Confirm.prototype.options.messages=e.extend(!0,kendo.ui.Confirm.prototype.options.localization,{okText:"OK",cancel:"Cancel"})),kendo.ui.Prompt&&(kendo.ui.Prompt.prototype.options.messages=e.extend(!0,kendo.ui.Prompt.prototype.options.localization,{okText:"OK",cancel:"Cancel"})),kendo.ui.List&&(kendo.ui.List.prototype.options.messages=e.extend(!0,kendo.ui.List.prototype.options.messages,{clear:"clear",noData:"No data found."})),kendo.ui.DropDownList&&(kendo.ui.DropDownList.prototype.options.messages=e.extend(!0,kendo.ui.DropDownList.prototype.options.messages,kendo.ui.List.prototype.options.messages)),kendo.ui.ComboBox&&(kendo.ui.ComboBox.prototype.options.messages=e.extend(!0,kendo.ui.ComboBox.prototype.options.messages,kendo.ui.List.prototype.options.messages)),kendo.ui.AutoComplete&&(kendo.ui.AutoComplete.prototype.options.messages=e.extend(!0,kendo.ui.AutoComplete.prototype.options.messages,kendo.ui.List.prototype.options.messages)),kendo.ui.MultiColumnComboBox&&(kendo.ui.MultiColumnComboBox.prototype.options.messages=e.extend(!0,kendo.ui.MultiColumnComboBox.prototype.options.messages,kendo.ui.List.prototype.options.messages)),kendo.ui.DropDownTree&&(kendo.ui.DropDownTree.prototype.options.messages=e.extend(!0,kendo.ui.DropDownTree.prototype.options.messages,{singleTag:"item(s) selected",clear:"clear",deleteTag:"delete",noData:"No data found."})),kendo.ui.MultiSelect&&(kendo.ui.MultiSelect.prototype.options.messages=e.extend(!0,kendo.ui.MultiSelect.prototype.options.messages,{singleTag:"item(s) selected",clear:"clear",deleteTag:"delete",noData:"No data found."})),kendo.ui.Chat&&(kendo.ui.Chat.prototype.options.messages=e.extend(!0,kendo.ui.Chat.prototype.options.messages,{placeholder:"Type a message...",toggleButton:"Toggle toolbar",sendButton:"Send message"}))}(window.kendo.jQuery)});
1277//# sourceMappingURL=kendo.messages.en-AU.min.js.map
1278
1279/**
1280 * Owl carousel
1281 * @version 2.1.6
1282 * @author Bartosz Wojciechowski
1283 * @author David Deutsch
1284 * @license The MIT License (MIT)
1285 * @todo Lazy Load Icon
1286 * @todo prevent animationend bubling
1287 * @todo itemsScaleUp
1288 * @todo Test Zepto
1289 * @todo stagePadding calculate wrong active classes
1290 */
1291(function(n,t,i,r){function u(t,i){this.settings=null;this.options=n.extend({},u.Defaults,i);this.$element=n(t);this._handlers={};this._plugins={};this._supress={};this._current=null;this._speed=null;this._coordinates=[];this._breakpoint=null;this._width=null;this._items=[];this._clones=[];this._mergers=[];this._widths=[];this._invalidated={};this._pipe=[];this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null};this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};n.each(["onResize","onThrottledResize"],n.proxy(function(t,i){this._handlers[i]=n.proxy(this[i],this)},this));n.each(u.Plugins,n.proxy(function(n,t){this._plugins[n.charAt(0).toLowerCase()+n.slice(1)]=new t(this)},this));n.each(u.Workers,n.proxy(function(t,i){this._pipe.push({filter:i.filter,run:n.proxy(i.run,this)})},this));this.setup();this.initialize()}u.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"};u.Width={Default:"default",Inner:"inner",Outer:"outer"};u.Type={Event:"event",State:"state"};u.Plugins={};u.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(n){n.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(n){var t=this.settings.margin||"",u=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?t:"","margin-right":i?"":t};u||this.$stage.children().css(r);n.css=r}},{filter:["width","items","settings"],run:function(n){var r=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,t=null,i=this._items.length,f=!this.settings.autoWidth,u=[];for(n.items={merge:!1,width:r};i--;)t=this._mergers[i],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,n.items.merge=t>1||n.items.merge,u[i]=f?r*t:this._items[i].width();this._widths=u}},{filter:["items","settings"],run:function(){var t=[],i=this._items,r=this.settings,e=Math.max(r.items*2,4),s=Math.ceil(i.length/2)*2,o=r.loop&&i.length?r.rewind?e:Math.max(e,s):0,u="",f="";for(o/=2;o--;)t.push(this.normalize(t.length/2,!0)),u=u+i[t[t.length-1]][0].outerHTML,t.push(this.normalize(i.length-1-(t.length-1)/2,!0)),f=i[t[t.length-1]][0].outerHTML+f;this._clones=t;n(u).addClass("cloned").appendTo(this.$stage);n(f).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var u=this.settings.rtl?1:-1,f=this._clones.length+this._items.length,n=-1,i=0,r=0,t=[];++n<f;)i=t[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,t.push(i+r*u);this._coordinates=t}},{filter:["width","items","settings"],run:function(){var n=this.settings.stagePadding,t=this._coordinates,i={width:Math.ceil(Math.abs(t[t.length-1]))+n*2,"padding-left":n||"","padding-right":n||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(n){var t=this._coordinates.length,i=!this.settings.autoWidth,r=this.$stage.children();if(i&&n.items.merge)while(t--)n.css.width=this._widths[this.relative(t)],r.eq(t).css(n.css);else i&&(n.css.width=n.items.width,r.css(n.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(n){n.current=n.current?this.$stage.children().index(n.current):0;n.current=Math.max(this.minimum(),Math.min(this.maximum(),n.current));this.reset(n.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var u=this.settings.rtl?1:-1,f=this.settings.stagePadding*2,t=this.coordinates(this.current())+f,e=t+this.width()*u,i,r,o=[],n=0,s=this._coordinates.length;n<s;n++)i=this._coordinates[n-1]||0,r=Math.abs(this._coordinates[n])+f*u,(this.op(i,"<=",t)&&this.op(i,">",e)||this.op(r,"<",t)&&this.op(r,">",e))&&o.push(n);this.$stage.children(".active").removeClass("active");this.$stage.children(":eq("+o.join("), :eq(")+")").addClass("active");this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}];u.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,i,u;t=this.$element.find("img");i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r;u=this.$element.children(i).width();t.length&&u<=0&&this.preloadAutoWidthImages(t)}this.$element.addClass(this.options.loadingClass);this.$stage=n("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>');this.$element.append(this.$stage.parent());this.replace(this.$element.children().not(this.$stage.parent()));this.$element.is(":visible")?this.refresh():this.invalidate("width");this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass);this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};u.prototype.setup=function(){var u=this.viewport(),r=this.options.responsive,i=-1,t=null;r?(n.each(r,function(n){n<=u&&n>i&&(i=Number(n))}),t=n.extend({},this.options,r[i]),typeof t.stagePadding=="function"&&(t.stagePadding=t.stagePadding()),delete t.responsive,t.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):t=n.extend({},this.options);this.trigger("change",{property:{name:"settings",value:t}});this._breakpoint=i;this.settings=t;this.invalidate("settings");this.trigger("changed",{property:{name:"settings",value:this.settings}})};u.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)};u.prototype.prepare=function(t){var i=this.trigger("prepare",{content:t});return i.data||(i.data=n("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:i.data}),i.data};u.prototype.update=function(){for(var t=0,i=this._pipe.length,r=n.proxy(function(n){return this[n]},this._invalidated),u={};t<i;)(this._invalidated.all||n.grep(this._pipe[t].filter,r).length>0)&&this._pipe[t].run(u),t++;this._invalidated={};this.is("valid")||this.enter("valid")};u.prototype.width=function(n){n=n||u.Width.Default;switch(n){case u.Width.Inner:case u.Width.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}};u.prototype.refresh=function(){this.enter("refreshing");this.trigger("refresh");this.setup();this.optionsLogic();this.$element.addClass(this.options.refreshClass);this.update();this.$element.removeClass(this.options.refreshClass);this.leave("refreshing");this.trigger("refreshed")};u.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer);this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)};u.prototype.onResize=function(){if(!this._items.length||this._width===this.$element.width()||!this.$element.is(":visible"))return!1;if(this.enter("resizing"),this.trigger("resize").isDefaultPrevented())return this.leave("resizing"),!1;this.invalidate("width");this.refresh();this.leave("resizing");this.trigger("resized")};u.prototype.registerEventHandlers=function(){if(n.support.transition)this.$stage.on(n.support.transition.end+".owl.core",n.proxy(this.onTransitionEnd,this));if(this.settings.responsive!==!1)this.on(t,"resize",this._handlers.onThrottledResize);
1291if(this.settings.mouseDrag){this.$element.addClass(this.options.dragClass);this.$stage.on("mousedown.owl.core",n.proxy(this.onDragStart,this));this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})}if(this.settings.touchDrag){this.$stage.on("touchstart.owl.core",n.proxy(this.onDragStart,this));this.$stage.on("touchcancel.owl.core",n.proxy(this.onDragEnd,this))}};u.prototype.onDragStart=function(t){var r=null;if(t.which!==3){n.support.transform?(r=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),r={x:r[r.length===16?12:4],y:r[r.length===16?13:5]}):(r=this.$stage.position(),r={x:this.settings.rtl?r.left+this.$stage.width()-this.width()+this.settings.margin:r.left,y:r.top});this.is("animating")&&(n.support.transform?this.animate(r.x):this.$stage.stop(),this.invalidate("position"));this.$element.toggleClass(this.options.grabClass,t.type==="mousedown");this.speed(0);this._drag.time=(new Date).getTime();this._drag.target=n(t.target);this._drag.stage.start=r;this._drag.stage.current=r;this._drag.pointer=this.pointer(t);n(i).on("mouseup.owl.core touchend.owl.core",n.proxy(this.onDragEnd,this));n(i).one("mousemove.owl.core touchmove.owl.core",n.proxy(function(t){var r=this.difference(this._drag.pointer,this.pointer(t));n(i).on("mousemove.owl.core touchmove.owl.core",n.proxy(this.onDragMove,this));Math.abs(r.x)<Math.abs(r.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this))}};u.prototype.onDragMove=function(n){var t=null,i=null,u=null,f=this.difference(this._drag.pointer,this.pointer(n)),r=this.difference(this._drag.stage.start,f);this.is("dragging")&&(n.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-t,r.x=((r.x-t)%i+i)%i+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),u=this.settings.pullDrag?f.x/-5:0,r.x=Math.max(Math.min(r.x,t+u),i+u)),this._drag.stage.current=r,this.animate(r.x))};u.prototype.onDragEnd=function(t){var r=this.difference(this._drag.pointer,this.pointer(t)),f=this._drag.stage.current,u=r.x>0^this.settings.rtl?"left":"right";if(n(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(r.x!==0&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(f.x,r.x!==0?u:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=u,Math.abs(r.x)>3||(new Date).getTime()-this._drag.time>300))this._drag.target.one("click.owl.core",function(){return!1});this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))};u.prototype.closest=function(t,i){var r=-1,u=30,e=this.width(),f=this.coordinates();return this.settings.freeDrag||n.each(f,n.proxy(function(n,o){return i==="left"&&t>o-u&&t<o+u?r=n:i==="right"&&t>o-e-u&&t<o-e+u?r=n+1:this.op(t,"<",o)&&this.op(t,">",f[n+1]||o-e)&&(r=i==="left"?n+1:n),r===-1},this)),this.settings.loop||(this.op(t,">",f[this.minimum()])?r=t=this.minimum():this.op(t,"<",f[this.maximum()])&&(r=t=this.maximum())),r};u.prototype.animate=function(t){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd();i&&(this.enter("animating"),this.trigger("translate"));n.support.transform3d&&n.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,n.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})};u.prototype.is=function(n){return this._states.current[n]&&this._states.current[n]>0};u.prototype.current=function(n){if(n===r)return this._current;if(this._items.length===0)return r;if(n=this.normalize(n),this._current!==n){var t=this.trigger("change",{property:{name:"position",value:n}});t.data!==r&&(n=this.normalize(t.data));this._current=n;this.invalidate("position");this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current};u.prototype.invalidate=function(t){return n.type(t)==="string"&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),n.map(this._invalidated,function(n,t){return t})};u.prototype.reset=function(n){(n=this.normalize(n),n!==r)&&(this._speed=0,this._current=n,this.suppress(["translate","translated"]),this.animate(this.coordinates(n)),this.release(["translate","translated"]))};u.prototype.normalize=function(n,t){var i=this._items.length,u=t?0:this._clones.length;return!this.isNumeric(n)||i<1?n=r:(n<0||n>=i+u)&&(n=((n-u/2)%i+i)%i+u/2),n};u.prototype.relative=function(n){return n-=this._clones.length/2,this.normalize(n,!0)};u.prototype.maximum=function(n){var t=this.settings,i=this._coordinates.length,r,u,f;if(t.loop)i=this._clones.length/2+this._items.length-1;else if(t.autoWidth||t.merge){for(r=this._items.length,u=this._items[--r].width(),f=this.$element.width();r--;)if(u+=this._items[r].width()+this.settings.margin,u>f)break;
1291i=r+1}else i=t.center?this._items.length-1:this._items.length-t.items;return n&&(i-=this._clones.length/2),Math.max(i,0)};u.prototype.minimum=function(n){return n?0:this._clones.length/2};u.prototype.items=function(n){return n===r?this._items.slice():(n=this.normalize(n,!0),this._items[n])};u.prototype.mergers=function(n){return n===r?this._mergers.slice():(n=this.normalize(n,!0),this._mergers[n])};u.prototype.clones=function(t){var i=this._clones.length/2,f=i+this._items.length,u=function(n){return n%2==0?f+n/2:i-(n+1)/2};return t===r?n.map(this._clones,function(n,t){return u(t)}):n.map(this._clones,function(n,i){return n===t?u(i):null})};u.prototype.speed=function(n){return n!==r&&(this._speed=n),this._speed};u.prototype.coordinates=function(t){var f=1,u=t-1,i;return t===r?n.map(this._coordinates,n.proxy(function(n,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(f=-1,u=t+1),i=this._coordinates[t],i+=(this.width()-i+(this._coordinates[u]||0))/2*f):i=this._coordinates[u]||0,Math.ceil(i))};u.prototype.duration=function(n,t,i){return i===0?0:Math.min(Math.max(Math.abs(t-n),1),6)*Math.abs(i||this.settings.smartSpeed)};u.prototype.to=function(n,t){var f=this.current(),r=null,i=n-this.relative(f),s=(i>0)-(i<0),e=this._items.length,o=this.minimum(),u=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>e/2&&(i+=s*-1*e),n=f+i,r=((n-o)%e+e)%e+o,r!==n&&r-i<=u&&r-i>0&&(f=r-i,n=r,this.reset(f))):this.settings.rewind?(u+=1,n=(n%u+u)%u):n=Math.max(o,Math.min(u,n));this.speed(this.duration(f,n,t));this.current(n);this.$element.is(":visible")&&this.update()};u.prototype.next=function(n){n=n||!1;this.to(this.relative(this.current())+1,n)};u.prototype.prev=function(n){n=n||!1;this.to(this.relative(this.current())-1,n)};u.prototype.onTransitionEnd=function(n){if(n!==r&&(n.stopPropagation(),(n.target||n.srcElement||n.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating");this.trigger("translated")};u.prototype.viewport=function(){var r;return this.options.responsiveBaseElement!==t?r=n(this.options.responsiveBaseElement).width():t.innerWidth?r=t.innerWidth:i.documentElement&&i.documentElement.clientWidth?r=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),r};u.prototype.replace=function(t){this.$stage.empty();this._items=[];t&&(t=t instanceof jQuery?t:n(t));this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector));t.filter(function(){return this.nodeType===1}).each(n.proxy(function(n,t){t=this.prepare(t);this.$stage.append(t);this._items.push(t);this._mergers.push(t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)},this));this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate("items")};u.prototype.add=function(t,i){var u=this.relative(this._current);i=i===r?this._items.length:this.normalize(i,!0);t=t instanceof jQuery?t:n(t);this.trigger("add",{content:t,position:i});t=this.prepare(t);this._items.length===0||i===this._items.length?(this._items.length===0&&this.$stage.append(t),this._items.length!==0&&this._items[i-1].after(t),this._items.push(t),this._mergers.push(t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)):(this._items[i].before(t),this._items.splice(i,0,t),this._mergers.splice(i,0,t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1));this._items[u]&&this.reset(this._items[u].index());this.invalidate("items");this.trigger("added",{content:t,position:i})};u.prototype.remove=function(n){(n=this.normalize(n,!0),n!==r)&&(this.trigger("remove",{content:this._items[n],position:n}),this._items[n].remove(),this._items.splice(n,1),this._mergers.splice(n,1),this.invalidate("items"),this.trigger("removed",{content:null,position:n}))};u.prototype.preloadAutoWidthImages=function(t){t.each(n.proxy(function(t,i){this.enter("pre-loading");i=n(i);n(new Image).one("load",n.proxy(function(n){i.attr("src",n.target.src);i.css("opacity",1);this.leave("pre-loading");this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))};u.prototype.destroy=function(){this.$element.off(".owl.core");this.$stage.off(".owl.core");n(i).off(".owl.core");this.settings.responsive!==!1&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize));for(var r in this._plugins)this._plugins[r].destroy();this.$stage.children(".cloned").remove();this.$stage.unwrap();this.$stage.children().contents().unwrap();this.$stage.children().unwrap();this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")};u.prototype.op=function(n,t,i){var r=this.settings.rtl;switch(t){case"<":return r?n>i:n<i;case">":return r?n<i:n>i;case">=":return r?n<=i:n>=i;case"<=":return r?n>=i:n<=i}};u.prototype.on=function(n,t,i,r){n.addEventListener?n.addEventListener(t,i,r):n.attachEvent&&n.attachEvent("on"+t,i)};u.prototype.off=function(n,t,i,r){n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent&&n.detachEvent("on"+t,i)};u.prototype.trigger=function(t,i,r){var o={item:{count:this._items.length,index:this.current()}},e=n.camelCase(n.grep(["on",t,r],function(n){return n}).join("-").toLowerCase()),f=n.Event([t,"owl",r||"carousel"].join(".").toLowerCase(),n.extend({relatedTarget:this},o,i));return this._supress[t]||(n.each(this._plugins,function(n,t){if(t.onTrigger)t.onTrigger(f)}),this.register({type:u.Type.Event,name:t}),this.$element.trigger(f),this.settings&&typeof this.settings[e]=="function"&&this.settings[e].call(this,f)),f};u.prototype.enter=function(t){n.each([t].concat(this._states.tags[t]||[]),n.proxy(function(n,t){this._states.current[t]===r&&(this._states.current[t]=0);this._states.current[t]++},this))};u.prototype.leave=function(t){n.each([t].concat(this._states.tags[t]||[]),n.proxy(function(n,t){this._states.current[t]--},this))};u.prototype.register=function(t){if(t.type===u.Type.Event){if(n.event.special[t.name]||(n.event.special[t.name]={}),!n.event.special[t.name].owl){var i=n.event.special[t.name]._default;n.event.special[t.name]._default=function(n){return i&&i.apply&&(!n.namespace||n.namespace.indexOf("owl")===-1)?i.apply(this,arguments):n.namespace&&n.namespace.indexOf("owl")>-1};n.event.special[t.name].owl=!0}}else t.type===u.Type.State&&(this._states.tags[t.name]=this._states.tags[t.name]?this._states.tags[t.name].
1291concat(t.tags):t.tags,this._states.tags[t.name]=n.grep(this._states.tags[t.name],n.proxy(function(i,r){return n.inArray(i,this._states.tags[t.name])===r},this)))};u.prototype.suppress=function(t){n.each(t,n.proxy(function(n,t){this._supress[t]=!0},this))};u.prototype.release=function(t){n.each(t,n.proxy(function(n,t){delete this._supress[t]},this))};u.prototype.pointer=function(n){var i={x:null,y:null};return n=n.originalEvent||n||t.event,n=n.touches&&n.touches.length?n.touches[0]:n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,n.pageX?(i.x=n.pageX,i.y=n.pageY):(i.x=n.clientX,i.y=n.clientY),i};u.prototype.isNumeric=function(n){return!isNaN(parseFloat(n))};u.prototype.difference=function(n,t){return{x:n.x-t.x,y:n.y-t.y}};n.fn.owlCarousel=function(t){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var f=n(this),r=f.data("owl.carousel");r||(r=new u(this,typeof t=="object"&&t),f.data("owl.carousel",r),n.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,i){r.register({type:u.Type.Event,name:i});r.$element.on(i+".owl.carousel.core",n.proxy(function(n){n.namespace&&n.relatedTarget!==this&&(this.suppress([i]),r[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},r))}));typeof t=="string"&&t.charAt(0)!=="_"&&r[t].apply(r,i)})};n.fn.owlCarousel.Constructor=u})(window.Zepto||window.jQuery,window,document);
1292/**
1293 * AutoRefresh Plugin
1294 * @version 2.1.0
1295 * @author Artus Kolanowski
1296 * @author David Deutsch
1297 * @license The MIT License (MIT)
1298 */
1299(function(n,t){var i=function(t){this._core=t;this._interval=null;this._visible=null;this._handlers={"initialized.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoRefresh&&this.watch()},this)};this._core.options=n.extend({},i.Defaults,this._core.options);this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500};i.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=t.setInterval(n.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))};i.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())};i.prototype.destroy=function(){var n,i;t.clearInterval(this._interval);for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))typeof this[i]!="function"&&(this[i]=null)};n.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i})(window.Zepto||window.jQuery,window,document);
1300/**
1301 * Lazy Plugin
1302 * @version 2.1.0
1303 * @author Bartosz Wojciechowski
1304 * @author David Deutsch
1305 * @license The MIT License (MIT)
1306 */
1307(function(n,t,i,r){var u=function(t){this._core=t;this._loaded=[];this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":n.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&t.property.name=="position"||t.type=="initialized"))for(var i=this._core.settings,f=i.center&&Math.ceil(i.items/2)||i.items,e=i.center&&f*-1||0,u=(t.property&&t.property.value!==r?t.property.value:this._core.current())+e,o=this._core.clones().length,s=n.proxy(function(n,t){this.load(t)},this);e++<f;)this.load(o/2+this._core.relative(u)),o&&n.each(this._core.clones(this._core.relative(u)),s),u++},this)};this._core.options=n.extend({},u.Defaults,this._core.options);this._core.$element.on(this._handlers)};u.Defaults={lazyLoad:!1};u.prototype.load=function(i){var r=this._core.$stage.children().eq(i),u=r&&r.find(".owl-lazy");!u||n.inArray(r.get(0),this._loaded)>-1||(u.each(n.proxy(function(i,r){var u=n(r),e,f=t.devicePixelRatio>1&&u.attr("data-src-retina")||u.attr("data-src");this._core.trigger("load",{element:u,url:f},"lazy");u.is("img")?u.one("load.owl.lazy",n.proxy(function(){u.css("opacity",1);this._core.trigger("loaded",{element:u,url:f},"lazy")},this)).attr("src",f):(e=new Image,e.onload=n.proxy(function(){u.css({"background-image":'url("'+f+'")',opacity:"1"});this._core.trigger("loaded",{element:u,url:f},"lazy")},this),e.src=f)},this)),this._loaded.push(r.get(0)))};u.prototype.destroy=function(){var n,t;for(n in this.handlers)this._core.$element.off(n,this.handlers[n]);for(t in Object.getOwnPropertyNames(this))typeof this[t]!="function"&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.Lazy=u})(window.Zepto||window.jQuery,window,document);
1308/**
1309 * AutoHeight Plugin
1310 * @version 2.1.0
1311 * @author Bartosz Wojciechowski
1312 * @author David Deutsch
1313 * @license The MIT License (MIT)
1314 */
1315(function(n){var t=function(i){this._core=i;this._handlers={"initialized.owl.carousel refreshed.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoHeight&&n.property.name=="position"&&this.update()},this),"loaded.owl.lazy":n.proxy(function(n){n.namespace&&this._core.settings.autoHeight&&n.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)};this._core.options=n.extend({},t.Defaults,this._core.options);this._core.$element.on(this._handlers)};t.Defaults={autoHeight:!1,autoHeightClass:"owl-height"};t.prototype.update=function(){var t=this._core._current,u=t+this._core.settings.items,f=this._core.$stage.children().toArray().slice(t,u),i=[],r=0;n.each(f,function(t,r){i.push(n(r).height())});r=Math.max.apply(null,i);this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)};t.prototype.destroy=function(){var n,t;for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(t in Object.getOwnPropertyNames(this))typeof this[t]!="function"&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.AutoHeight=t})(window.Zepto||window.jQuery,window,document);
1316/**
1317 * Video Plugin
1318 * @version 2.1.0
1319 * @author Bartosz Wojciechowski
1320 * @author David Deutsch
1321 * @license The MIT License (MIT)
1322 */
1323(function(n,t,i){var r=function(t){this._core=t;this._videos={};this._playing=null;this._handlers={"initialized.owl.carousel":n.proxy(function(n){n.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.video&&this.isInFullScreen()&&n.preventDefault()},this),"refreshed.owl.carousel":n.proxy(function(n){n.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":n.proxy(function(n){n.namespace&&n.property.name==="position"&&this._playing&&this.stop()},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var i=n(t.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,n(t.content)))}},this)};this._core.options=n.extend({},r.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on("click.owl.video",".owl-video-play-icon",n.proxy(function(n){this.play(n)},this))};r.Defaults={video:!1,videoHeight:!1,videoWidth:!1};r.prototype.fetch=function(n,t){var u=function(){return n.attr("data-vimeo-id")?"vimeo":n.attr("data-vzaar-id")?"vzaar":"youtube"}(),i=n.attr("data-vimeo-id")||n.attr("data-youtube-id")||n.attr("data-vzaar-id"),f=n.attr("data-width")||this._core.settings.videoWidth,e=n.attr("data-height")||this._core.settings.videoHeight,r=n.attr("href");if(r){if(i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),i[3].indexOf("youtu")>-1)u="youtube";else if(i[3].indexOf("vimeo")>-1)u="vimeo";else if(i[3].indexOf("vzaar")>-1)u="vzaar";else throw new Error("Video URL not supported.");i=i[6]}else throw new Error("Missing video URL.");this._videos[r]={type:u,id:i,width:f,height:e};t.attr("data-video",r);this.thumbnail(n,this._videos[r])};r.prototype.thumbnail=function(t,i){var f,s,r,c=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",e=t.find("img"),o="src",h="",l=this._core.settings,u=function(n){s='<div class="owl-video-play-icon"><\/div>';f=l.lazyLoad?'<div class="owl-video-tn '+h+'" '+o+'="'+n+'"><\/div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+n+')"><\/div>';t.after(f);t.after(s)};if(t.wrap('<div class="owl-video-wrapper"'+c+"><\/div>"),this._core.settings.lazyLoad&&(o="data-src",h="owl-lazy"),e.length)return u(e.attr(o)),e.remove(),!1;i.type==="youtube"?(r="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(r)):i.type==="vimeo"?n.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(n){r=n[0].thumbnail_large;u(r)}}):i.type==="vzaar"&&n.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(n){r=n.framegrab_url;u(r)}})};r.prototype.stop=function(){this._core.trigger("stop",null,"video");this._playing.find(".owl-video-frame").remove();this._playing.removeClass("owl-video-playing");this._playing=null;this._core.leave("playing");this._core.trigger("stopped",null,"video")};r.prototype.play=function(t){var o=n(t.target),r=o.closest("."+this._core.settings.itemClass),i=this._videos[r.attr("data-video")],f=i.width||"100%",e=i.height||this._core.$stage.height(),u;this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),r=this._core.items(this._core.relative(r.index())),this._core.reset(r.index()),i.type==="youtube"?u='<iframe width="'+f+'" height="'+e+'" src="//www.youtube.com/embed/'+i.id+"?autoplay=1&rel=0&v="+i.id+'" frameborder="0" allowfullscreen><\/iframe>':i.type==="vimeo"?u='<iframe src="//player.vimeo.com/video/'+i.id+'?autoplay=1" width="'+f+'" height="'+e+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe>':i.type==="vzaar"&&(u='<iframe frameborder="0"height="'+e+'"width="'+f+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+i.id+'/player?autoplay=true"><\/iframe>'),n('<div class="owl-video-frame">'+u+"<\/div>").insertAfter(r.find(".owl-video")),this._playing=r.addClass("owl-video-playing"))};r.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&n(t).parent().hasClass("owl-video-frame")};r.prototype.destroy=function(){var n,t;this._core.$element.off("click.owl.video");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(t in Object.getOwnPropertyNames(this))typeof this[t]!="function"&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.Video=r})(window.Zepto||window.jQuery,window,document);
1324/**
1325 * Animate Plugin
1326 * @version 2.1.0
1327 * @author Bartosz Wojciechowski
1328 * @author David Deutsch
1329 * @license The MIT License (MIT)
1330 */
1331(function(n,t,i,r){var u=function(t){this.core=t;this.core.options=n.extend({},u.Defaults,this.core.options);this.swapping=!0;this.previous=r;this.next=r;this.handlers={"change.owl.carousel":n.proxy(function(n){n.namespace&&n.property.name=="position"&&(this.previous=this.core.current(),this.next=n.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":n.proxy(function(n){n.namespace&&(this.swapping=n.type=="translated")},this),"translate.owl.carousel":n.proxy(function(n){n.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)};this.core.$element.on(this.handlers)};u.Defaults={animateOut:!1,animateIn:!1};u.prototype.swap=function(){if(this.core.settings.items===1&&n.support.animation&&n.support.transition){this.core.speed(0);var t,i=n.proxy(this.clear,this),f=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,u=this.core.settings.animateOut;this.core.current()!==this.previous&&(u&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),f.one(n.support.animation.end,i).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(u)),r&&e.one(n.support.animation.end,i).addClass("animated owl-animated-in").addClass(r))}};u.prototype.clear=function(t){n(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);this.core.onTransitionEnd()};u.prototype.destroy=function(){var n,t;for(n in this.handlers)this.core.$element.off(n,this.handlers[n]);for(t in Object.getOwnPropertyNames(this))typeof this[t]!="function"&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.Animate=u})(window.Zepto||window.jQuery,window,document);
1332/**
1333 * Autoplay Plugin
1334 * @version 2.1.0
1335 * @author Bartosz Wojciechowski
1336 * @author Artus Kolanowski
1337 * @author David Deutsch
1338 * @license The MIT License (MIT)
1339 */
1340(function(n,t,i){var r=function(t){this._core=t;this._timeout=null;this._paused=!1;this._handlers={"changed.owl.carousel":n.proxy(function(n){n.namespace&&n.property.name==="settings"?this._core.settings.autoplay?this.play():this.stop():n.namespace&&n.property.name==="position"&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(n,t,i){n.namespace&&this.play(t,i)},this),"stop.owl.autoplay":n.proxy(function(n){n.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)};this._core.$element.on(this._handlers);this._core.options=n.extend({},r.Defaults,this._core.options)};r.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1};r.prototype.play=function(){(this._paused=!1,this._core.is("rotating"))||(this._core.enter("rotating"),this._setAutoPlayInterval())};r.prototype._getNextTimeout=function(r,u){return this._timeout&&t.clearTimeout(this._timeout),t.setTimeout(n.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(u||this._core.settings.autoplaySpeed)},this),r||this._core.settings.autoplayTimeout)};r.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()};r.prototype.stop=function(){this._core.is("rotating")&&(t.clearTimeout(this._timeout),this._core.leave("rotating"))};r.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)};r.prototype.destroy=function(){var n,t;this.stop();for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(t in Object.getOwnPropertyNames(this))typeof this[t]!="function"&&(this[t]=null)};n.fn.owlCarousel.Constructor.Plugins.autoplay=r})(window.Zepto||window.jQuery,window,document);
1341/**
1342 * Navigation Plugin
1343 * @version 2.1.0
1344 * @author Artus Kolanowski
1345 * @author David Deutsch
1346 * @license The MIT License (MIT)
1347 */
1348(function(n){"use strict";var t=function(i){this._core=i;this._initialized=!1;this._pages=[];this._controls={};this._templates=[];this.$element=this._core.$element;this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to};this._handlers={"prepared.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+n(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"<\/div>")},this),"added.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.dotsData&&this._templates.splice(n.position,0,this._templates.pop())},this),"remove.owl.carousel":n.proxy(function(n){n.namespace&&this._core.settings.dotsData&&this._templates.splice(n.position,1)},this),"changed.owl.carousel":n.proxy(function(n){n.namespace&&n.property.name=="position"&&this.draw()},this),"initialized.owl.carousel":n.proxy(function(n){n.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.
1348update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":n.proxy(function(n){n.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)};this._core.options=n.extend({},t.Defaults,this._core.options);this.$element.on(this._handlers)};t.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1};t.prototype.initialize=function(){var i,t=this._core.settings;this._controls.$relative=(t.navContainer?n(t.navContainer):n("<div>").addClass(t.navContainerClass).appendTo(this.$element)).addClass("disabled");this._controls.$previous=n("<"+t.navElement+">").addClass(t.navClass[0]).html(t.navText[0]).prependTo(this._controls.$relative).on("click",n.proxy(function(){this.prev(t.navSpeed)},this));this._controls.$next=n("<"+t.navElement+">").addClass(t.navClass[1]).html(t.navText[1]).appendTo(this._controls.$relative).on("click",n.proxy(function(){this.next(t.navSpeed)},this));t.dotsData||(this._templates=[n("<div>").addClass(t.dotClass).append(n("<span>")).prop("outerHTML")]);this._controls.$absolute=(t.dotsContainer?n(t.dotsContainer):n("<div>").addClass(t.dotsClass).appendTo(this.$element)).addClass("disabled");this._controls.$absolute.on("click","div",n.proxy(function(i){var r=n(i.target).parent().is(this._controls.$absolute)?n(i.target).index():n(i.target).parent().index();i.preventDefault();this.to(r,t.dotsSpeed)},this));for(i in this._overrides)this._core[i]=n.proxy(this[i],this)};t.prototype.destroy=function(){var n,r,t,i;for(n in this._handlers)this.$element.off(n,this._handlers[n]);for(r in this._controls)this._controls[r].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(t in Object.getOwnPropertyNames(this))typeof this[t]!="function"&&(this[t]=null)};t.prototype.update=function(){var t,i,f,r=this._core.clones().length/2,o=r+this._core.items().length,u=this._core.maximum(!0),n=this._core.settings,e=n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items;if(n.slideBy!=="page"&&(n.slideBy=Math.min(n.slideBy,n.items)),n.dots||n.slideBy=="page")for(this._pages=[],t=r,i=0,f=0;t<o;t++){if(i>=e||i===0){if(this._pages.push({start:Math.min(u,t-r),end:t-r+e-1}),Math.min(u,t-r)===u)break;i=0;++f}i+=this._core.mergers(this._core.relative(t))}};t.prototype.draw=function(){var i,t=this._core.settings,r=this._core.items().length<=t.items,u=this._core.relative(this._core.current()),f=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||r);t.nav&&(this._controls.$previous.toggleClass("disabled",!f&&u<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&u>=this._core.maximum(!0)));this._controls.$absolute.toggleClass("disabled",!t.dots||r);t.dots&&(i=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&i!==0?this._controls.$absolute.html(this._templates.join("")):i>0?this._controls.$absolute.append(new Array(i+1).join(this._templates[0])):i<0&&this._controls.$absolute.children().slice(i).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(n.inArray(this.current(),this._pages)).addClass("active"))};t.prototype.onTrigger=function(t){var i=this._core.settings;t.page={index:n.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}};t.prototype.current=function(){var t=this._core.relative(this._core.current());return n.grep(this._pages,n.proxy(function(n){return n.start<=t&&n.end>=t},this)).pop()};t.prototype.getPosition=function(t){var i,r,u=this._core.settings;return u.slideBy=="page"?(i=n.inArray(this.current(),this._pages),r=this._pages.length,t?++i:--i,i=this._pages[(i%r+r)%r].start):(i=this._core.relative(this._core.current()),r=this._core.items().length,t?i+=u.slideBy:i-=u.slideBy),i};t.prototype.next=function(t){n.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)};t.prototype.prev=function(t){n.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)};t.prototype.to=function(t,i,r){var u;!r&&this._pages.length?(u=this._pages.length,n.proxy(this._overrides.to,this._core)(this._pages[(t%u+u)%u].start,i)):n.proxy(this._overrides.to,this._core)(t,i)};n.fn.owlCarousel.Constructor.Plugins.Navigation=t})(window.Zepto||window.jQuery,window,document);
1349/**
1350 * Hash Plugin
1351 * @version 2.1.0
1352 * @author Artus Kolanowski
1353 * @author David Deutsch
1354 * @license The MIT License (MIT)
1355 */
1356(function(n,t,i,r){"use strict";var u=function(i){this._core=i;this._hashes={};this.$element=this._core.$element;this._handlers={"initialized.owl.carousel":n.proxy(function(i){i.namespace&&this._core.settings.startPosition==="URLHash"&&n(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var i=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=t.content}},this),"changed.owl.carousel":n.proxy(function(i){if(i.namespace&&i.property.name==="position"){var u=this._core.items(this._core.relative(this._core.current())),r=n.map(this._hashes,function(n,t){return n===u?t:null}).join();if(!r||t.location.hash.slice(1)===r)return;t.location.hash=r}},this)};this._core.options=n.extend({},u.Defaults,this._core.options);this.$element.on(this._handlers);n(t).on("hashchange.owl.navigation",n.proxy(function(){var i=t.location.hash.substring(1),u=this._core.$stage.children(),n=this._hashes[i]&&u.index(this._hashes[i]);n!==r&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};u.Defaults={URLhashListener:!1};u.prototype.destroy=function(){var i,r;n(t).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(r in Object.getOwnPropertyNames(this))typeof this[r]!="function"&&(this[r]=null)};n.fn.owlCarousel.Constructor.Plugins.Hash=u})(window.Zepto||window.jQuery,window,document);
1357/**
1358 * Support Plugin
1359 *
1360 * @version 2.1.0
1361 * @author Vivid Planet Software GmbH
1362 * @author Artus Kolanowski
1363 * @author David Deutsch
1364 * @license The MIT License (MIT)
1365 */
1366(function(n,t,i,r){function u(t,i){var u=!1,f=t.charAt(0).toUpperCase()+t.slice(1);return n.each((t+" "+h.join(f+" ")+f).split(" "),function(n,t){if(s[t]!==r)return u=i?t:!0,!1}),u}function e(n){return u(n,!0)}var s=n("<support>").get(0).style,h="Webkit Moz O ms".split(" "),o={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},f={csstransforms:function(){return!!u("transform")},csstransforms3d:function(){return!!u("perspective")},csstransitions:function(){return!!u("transition")},cssanimations:function(){return!!u("animation")}};f.csstransitions()&&(n.support.transition=new String(e("transition")),n.support.transition.end=o.transition.end[n.support.transition]);f.cssanimations()&&(n.support.animation=new String(e("animation")),n.support.animation.end=o.animation.end[n.support.animation]);f.csstransforms()&&(n.support.transform=new String(e("transform")),n.support.transform3d=f.csstransforms3d())})(window.Zepto||window.jQuery,window,document);
1367/*!
1368 * fancyBox - jQuery Plugin
1369 * version: 2.1.5 (Fri, 14 Jun 2013)
1370 * @requires jQuery v1.6 or later
1371 *
1372 * Examples at http://fancyapps.com/fancybox/
1373 * License: www.fancyapps.com/fancybox/#license
1374 *
1375 * Copyright 2012 Janis Skarnelis - [email protected]
1376 *
1377 */
1378(function(n,t,i,r){"use strict";var p=i("html"),e=i(n),o=i(t),u=i.fancybox=function(){u.open.apply(this,arguments)},y=navigator.userAgent.match(/msie/i),v=null,s=t.createTouch!==r,a=function(n){return n&&n.hasOwnProperty&&n instanceof i},c=function(n){return n&&i.type(n)==="string"},l=function(n){return c(n)&&n.indexOf("%")>0},w=function(n){return n&&!(n.style.overflow&&n.style.overflow==="hidden")&&(n.clientWidth&&n.scrollWidth>n.clientWidth||n.clientHeight&&n.scrollHeight>n.clientHeight)},f=function(n,t){var i=parseInt(n,10)||0;return t&&l(n)&&(i=u.getViewport()[t]/100*i),Math.ceil(i)},h=function(n,t){return f(n,t)+"px"};i.extend(u,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"><\/div><\/div><\/div><\/div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(y?' allowtransparency="true"':"")+"><\/iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.<\/p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"><\/a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span><\/span><\/a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span><\/span><\/a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(n,t){if(n)return(i.isPlainObject(t)||(t={}),!1===u.close(!0))?void 0:(i.isArray(n)||(n=a(n)?i(n).get():[n]),i.each(n,function(f,e){var h={},s,p,l,o,v,y,w;i.type(e)==="object"&&(e.nodeType&&(e=i(e)),a(e)?(h={href:e.data("fancybox-href")||e.attr("href"),title:e.data("fancybox-title")||e.attr("title"),isDom:!0,element:e},i.metadata&&i.extend(!0,h,e.metadata())):h=e);s=t.href||h.href||(c(e)?e:null);p=t.title!==r?t.title:h.title||"";l=t.content||h.content;o=l?"html":t.type||h.type;!o&&h.isDom&&(o=e.data("fancybox-type"),o||(v=e.prop("class").match(/fancybox\.(\w+)/),o=v?v[1]:null));c(s)&&(o||(u.isImage(s)?o="image":u.isSWF(s)?o="swf":s.charAt(0)==="#"?o="inline":c(e)&&(o="html",l=e)),o==="ajax"&&(y=s.split(/\s+/,2),s=y.shift(),w=y.shift()));l||(o==="inline"?s?l=i(c(s)?s.replace(/.*(?=#[^\s]+$)/,""):s):h.isDom&&(l=e):o==="html"?l=s:o||s||!h.isDom||(o="inline",l=e));i.extend(h,{href:s,type:o,content:l,title:p,selector:w});n[f]=h}),u.opts=i.extend(!0,{},u.defaults,t),t.keys!==r&&(u.opts.keys=t.keys?i.extend({},u.defaults.keys,t.keys):!1),u.group=n,u._start(u.opts.index))},cancel:function(){var n=u.coming;n&&!1!==u.trigger("onCancel")&&(u.hideLoading(),u.ajaxLoad&&u.ajaxLoad.abort(),u.ajaxLoad=null,u.imgPreload&&(u.imgPreload.onload=u.imgPreload.onerror=null),n.wrap&&n.wrap.stop(!0,!0).trigger("onReset").remove(),u.coming=null,u.current||u._afterZoomOut(n))},close:function(n){(u.cancel(),!1!==u.trigger("beforeClose"))&&(u.unbindEvents(),u.isActive)&&(u.isOpen&&n!==!0?(u.isOpen=u.isOpened=!1,u.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),u.wrap.stop(!0,!0).removeClass("fancybox-opened"),u.transitions[u.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),u._afterZoomOut()))},play:function(n){var t=function(){clearTimeout(u.player.timer)},i=function(){t();u.current&&u.player.isActive&&(u.player.timer=setTimeout(u.next,u.current.playSpeed))},r=function(){t();o.unbind(".player");u.player.isActive=!1;u.trigger("onPlayEnd")}
1378,f=function(){u.current&&(u.current.loop||u.current.index<u.group.length-1)&&(u.player.isActive=!0,o.bind({"onCancel.player beforeClose.player":r,"onUpdate.player":i,"beforeLoad.player":t}),i(),u.trigger("onPlayStart"))};n!==!0&&(u.player.isActive||n===!1)?r():f()},next:function(n){var t=u.current;t&&(c(n)||(n=t.direction.next),u.jumpto(t.index+1,n,"next"))},prev:function(n){var t=u.current;t&&(c(n)||(n=t.direction.prev),u.jumpto(t.index-1,n,"prev"))},jumpto:function(n,t,i){var e=u.current;e&&(n=f(n),u.direction=t||e.direction[n>=e.index?"next":"prev"],u.router=i||"jumpto",e.loop&&(n<0&&(n=e.group.length+n%e.group.length),n=n%e.group.length),e.group[n]!==r&&(u.cancel(),u._start(n)))},reposition:function(n,t){var f=u.current,e=f?f.wrap:null,r;e&&(r=u._getPosition(t),n&&n.type==="scroll"?(delete r.position,e.stop(!0,!0).animate(r,200)):(e.css(r),f.pos=i.extend({},f.dim,r)))},update:function(n){var t=n&&n.type,i=!t||t==="orientationchange";(i&&(clearTimeout(v),v=null),u.isOpen&&!v)&&(v=setTimeout(function(){var r=u.current;r&&!u.isClosing&&(u.wrap.removeClass("fancybox-tmp"),(i||t==="load"||t==="resize"&&r.autoResize)&&u._setDimension(),t==="scroll"&&r.canShrink||u.reposition(n),u.trigger("onUpdate"),v=null)},i&&!s?0:300))},toggle:function(n){u.isOpen&&(u.current.fitToView=i.type(n)==="boolean"?n:!u.current.fitToView,s&&(u.wrap.removeAttr("style").addClass("fancybox-tmp"),u.trigger("onUpdate")),u.update())},hideLoading:function(){o.unbind(".loading");i("#fancybox-loading").remove()},showLoading:function(){var t,n;u.hideLoading();t=i('<div id="fancybox-loading"><div><\/div><\/div>').click(u.cancel).appendTo("body");o.bind("keydown.loading",function(n){(n.which||n.keyCode)===27&&(n.preventDefault(),u.cancel())});u.defaults.fixed||(n=u.getViewport(),t.css({position:"absolute",top:n.h*.5+n.y,left:n.w*.5+n.x}))},getViewport:function(){var i=u.current&&u.current.locked||!1,t={x:e.scrollLeft(),y:e.scrollTop()};return i?(t.w=i[0].clientWidth,t.h=i[0].clientHeight):(t.w=s&&n.innerWidth?n.innerWidth:e.width(),t.h=s&&n.innerHeight?n.innerHeight:e.height()),t},unbindEvents:function(){u.wrap&&a(u.wrap)&&u.wrap.unbind(".fb");o.unbind(".fb");e.unbind(".fb")},bindEvents:function(){var n=u.current,t;n&&(e.bind("orientationchange.fb"+(s?"":" resize.fb")+(n.autoCenter&&!n.locked?" scroll.fb":""),u.update),t=n.keys,t&&o.bind("keydown.fb",function(f){var e=f.which||f.keyCode,o=f.target||f.srcElement;if(e===27&&u.coming)return!1;f.ctrlKey||f.altKey||f.shiftKey||f.metaKey||o&&(o.type||i(o).is("[contenteditable]"))||i.each(t,function(t,o){return n.group.length>1&&o[e]!==r?(u[t](o[e]),f.preventDefault(),!1):i.inArray(e,o)>-1?(u[t](),f.preventDefault(),!1):void 0})}),i.fn.mousewheel&&n.mouseWheel&&u.wrap.bind("mousewheel.fb",function(t,r,f,e){for(var h=t.target||null,o=i(h),s=!1;o.length;){if(s||o.is(".fancybox-skin")||o.is(".fancybox-wrap"))break;s=w(o[0]);o=i(o).parent()}r===0||s||u.group.length>1&&!n.canShrink&&(e>0||f>0?u.prev(e>0?"down":"left"):(e<0||f<0)&&u.next(e<0?"up":"right"),t.preventDefault())}))},trigger:function(n,t){var f,r=t||u.coming||u.current;if(r){if(i.isFunction(r[n])&&(f=r[n].apply(r,Array.prototype.slice.call(arguments,1))),f===!1)return!1;r.helpers&&i.each(r.helpers,function(t,f){f&&u.helpers[t]&&i.isFunction(u.helpers[t][n])&&u.helpers[t][n](i.extend(!0,{},u.helpers[t].defaults,f),r)});o.trigger(n)}},isImage:function(n){return c(n)&&n.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(n){return c(n)&&n.match(/\.(swf)((\?|#).*)?$/i)},_start:function(n){var t={},c,l,r,e,o;if(n=f(n),c=u.group[n]||null,!c)return!1;if(t=i.extend(!0,{},u.opts,c),e=t.margin,o=t.padding,i.type(e)==="number"&&(t.margin=[e,e,e,e]),i.type(o)==="number"&&(t.padding=[o,o,o,o]),t.modal&&i.extend(!0,t,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),t.autoSize&&(t.autoWidth=t.autoHeight=!0),t.width==="auto"&&(t.autoWidth=!0),t.height==="auto"&&(t.autoHeight=!0),t.group=u.group,t.index=n,u.coming=t,!1===u.trigger("beforeLoad")){u.coming=null;return}if(r=t.type,l=t.href,!r)return(u.coming=null,u.current&&u.router&&u.router!=="jumpto")?(u.current.index=n,u[u.router](u.direction)):!1;if(u.isActive=!0,(r==="image"||r==="swf")&&(t.autoHeight=t.autoWidth=!1,t.scrolling="visible"),r==="image"&&(t.aspectRatio=!0),r==="iframe"&&s&&(t.scrolling="scroll"),t.wrap=i(t.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+r+" fancybox-tmp "+t.wrapCSS).appendTo(t.parent||"body"),i.extend(t,{skin:i(".fancybox-skin",t.wrap),outer:i(".fancybox-outer",t.wrap),inner:i(".fancybox-inner",t.wrap)}),i.each(["Top","Right","Bottom","Left"],function(n,i){t.skin.css("padding"+i,h(t.padding[n]))}),u.trigger("onReady"),r==="inline"||r==="html"){if(!t.content||!t.content.length)return u._error("content")}else if(!l)return u._error("href");r==="image"?u._loadImage():r==="ajax"?u._loadAjax():r==="iframe"?u._loadIframe():u._afterLoad()},_error:function(n){i.extend(u.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:n,content:u.coming.tpl.error});u._afterLoad()},_loadImage:function(){var n=u.imgPreload=new Image;n.onload=function(){this.onload=this.onerror=null;u.coming.width=this.width/u.opts.pixelRatio;u.coming.height=this.height/u.opts.pixelRatio;u._afterLoad()};n.onerror=function(){this.onload=this.onerror=null;u._error("image")};n.src=u.coming.href;n.complete!==!0&&u.showLoading()},_loadAjax:function(){var n=u.coming;u.showLoading();u.ajaxLoad=i.ajax(i.extend({},n.ajax,{url:n.href,error:function(n,t){u.coming&&t!=="abort"?u._error("ajax",n):u.hideLoading()},success:function(t,i){i==="success"&&(n.content=t,u._afterLoad())}}))},_loadIframe:function(){var n=u.coming,t=i(n.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":n.iframe.scrolling).attr("src",n.href);if(i(n.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(n){}}),n.iframe.preload){u.showLoading();t.one("load",function(){i(this).data("ready",1);s||i(this).bind("load.fb",u.update);i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();u._afterLoad()})}n.content=t.appendTo(n.inner);n.iframe.preload||u._afterLoad()},_preloadImages:function(){for(var r=u.group,i=u.current,f=r.length,e=i.preload?Math.min(i.preload,f-1):0,n,t=1;t<=e;t+=1)n=r[(i.index+t)%f],n.type==="image"&&n.href&&((new Image).src=n.href)},_afterLoad:function(){var r=u.coming,f=u.current,e="fancybox-placeholder",t,n,c,o,s,h;if(u.hideLoading(),r&&u.isActive!==!1){if(!1===u.trigger("afterLoad",r,f)){r.wrap.stop(!0).trigger("onReset").remove();u.coming=null;return}f&&(u.trigger("beforeChange",f),f.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());u.unbindEvents();t=r;n=r.content;c=r.type;o=r.scrolling;i.extend(u,{wrap:t.wrap,skin:t.skin,outer:t.outer,inner:t.inner,current:t,previous:f});s=t.href;switch(c){case"inline":case"ajax":case"html":t.selector?n=i("<div>").html(n).find(t.selector):a(n)&&(n.data(e)||n.data(e,i('<div class="'+e+'"><\/div>').insertAfter(n).hide()),n=n.show().detach(),t.wrap.bind("onReset",function(){i(this).find(n).length&&n.hide().replaceAll(n.data(e)).data(e,!1)}));break;case"image":n=t.tpl.image.replace("{href}",s);break;case"swf":n='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+s+'"><\/param>';h="";i.each(t.swf,function(t,i){n+='<param name="'+t+'" value="'+i+'"><\/param>';h+=" "+t+'="'+i+'"'});n+='<embed src="'+s+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"><\/embed><\/object>"}a(n)&&n.parent().is(t.inner)||t.inner.append(n);u.trigger("beforeShow");t.inner.css("overflow",o==="yes"?"scroll":o==="no"?"hidden":o);u._setDimension();u.reposition();u.isOpen=!1;u.coming=null;u.bindEvents();u.isOpened?f.prevMethod&&u.transitions[f.prevMethod]():i(".fancybox-wrap").not(t.wrap).stop(!0).trigger("onReset").remove();u.transitions[u.isOpened?t.nextMethod:t.openMethod]();u._preloadImages()}},_setDimension:function(){var nt=u.getViewport(),wt=0,vt=!1,st=!1,v=u.wrap,k=u.skin,e=u.inner,r=u.current,n=r.width,t=r.height,o=r.minWidth,s=r.minHeight,c=r.maxWidth,a=r.maxHeight,bt=r.scrolling,ft=r.scrollOutside?r.scrollbarWidth:0,et=r.margin,yt=f(et[1]+et[3]),pt=f(et[0]+et[2]),d,ht,tt,it,p,y,ct,lt,w,g,b,rt,ot,ut,at;if(v.add(k).add(e).width("auto").height("auto").removeClass("fancybox-tmp"),d=f(k.outerWidth(!0)-k.width()),ht=f(k.outerHeight(!0)-k.height()),tt=yt+d,it=pt+ht,p=l(n)?(nt.w-tt)*f(n)/100:n,y=l(t)?(nt.h-it)*f(t)/100:t,r.type==="iframe"){if(ut=r.content,r.autoHeight&&ut.data("ready")===1)try{ut[0].contentWindow.document.location&&(e.width(p).height(9999),at=ut.contents().find("body"),ft&&at.css("overflow-x","hidden"),y=at.outerHeight(!0))}catch(kt){}}else(r.autoWidth||r.autoHeight)&&(e.addClass("fancybox-tmp"),r.autoWidth||e.width(p),r.autoHeight||e.height(y),r.autoWidth&&(p=e.width()),r.autoHeight&&(y=e.height()),e.removeClass("fancybox-tmp"));if(n=f(p),t=f(y),w=p/y,o=f(l(o)?f(o,"w")-tt:o),c=f(l(c)?f(c,"w")-tt:c),s=f(l(s)?f(s,"h")-it:s),a=f(l(a)?f(a,"h")-it:a),ct=c,lt=a,r.fitToView&&
1378(c=Math.min(nt.w-tt,c),a=Math.min(nt.h-it,a)),rt=nt.w-yt,ot=nt.h-pt,r.aspectRatio?(n>c&&(n=c,t=f(n/w)),t>a&&(t=a,n=f(t*w)),n<o&&(n=o,t=f(n/w)),t<s&&(t=s,n=f(t*w))):(n=Math.max(o,Math.min(n,c)),r.autoHeight&&r.type!=="iframe"&&(e.width(n),t=e.height()),t=Math.max(s,Math.min(t,a))),r.fitToView)if(e.width(n).height(t),v.width(n+d),g=v.width(),b=v.height(),r.aspectRatio)while((g>rt||b>ot)&&n>o&&t>s){if(wt++>19)break;t=Math.max(s,Math.min(a,t-10));n=f(t*w);n<o&&(n=o,t=f(n/w));n>c&&(n=c,t=f(n/w));e.width(n).height(t);v.width(n+d);g=v.width();b=v.height()}else n=Math.max(o,Math.min(n,n-(g-rt))),t=Math.max(s,Math.min(t,t-(b-ot)));ft&&bt==="auto"&&t<y&&n+d+ft<rt&&(n+=ft);e.width(n).height(t);v.width(n+d);g=v.width();b=v.height();vt=(g>rt||b>ot)&&n>o&&t>s;st=r.aspectRatio?n<ct&&t<lt&&n<p&&t<y:(n<ct||t<lt)&&(n<p||t<y);i.extend(r,{dim:{width:h(g),height:h(b)},origWidth:p,origHeight:y,canShrink:vt,canExpand:st,wPadding:d,hPadding:ht,wrapSpace:b-k.outerHeight(!0),skinSpace:k.height()-t});!ut&&r.autoHeight&&t>s&&t<a&&!st&&e.height("auto")},_getPosition:function(n){var i=u.current,r=u.getViewport(),f=i.margin,e=u.wrap.width()+f[1]+f[3],o=u.wrap.height()+f[0]+f[2],t={position:"absolute",top:f[0],left:f[3]};return i.autoCenter&&i.fixed&&!n&&o<=r.h&&e<=r.w?t.position="fixed":i.locked||(t.top+=r.y,t.left+=r.x),t.top=h(Math.max(t.top,t.top+(r.h-o)*i.topRatio)),t.left=h(Math.max(t.left,t.left+(r.w-e)*i.leftRatio)),t},_afterZoomIn:function(){var n=u.current;n&&(u.isOpen=u.isOpened=!0,u.wrap.css("overflow","visible").addClass("fancybox-opened"),u.update(),(n.closeClick||n.nextClick&&u.group.length>1)&&u.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||(t.preventDefault(),u[n.closeClick?"close":"next"]())}),n.closeBtn&&i(n.tpl.closeBtn).appendTo(u.skin).bind("click.fb",function(n){n.preventDefault();u.close()}),n.arrows&&u.group.length>1&&((n.loop||n.index>0)&&i(n.tpl.prev).appendTo(u.outer).bind("click.fb",u.prev),(n.loop||n.index<u.group.length-1)&&i(n.tpl.next).appendTo(u.outer).bind("click.fb",u.next)),u.trigger("afterShow"),n.loop||n.index!==n.group.length-1?u.opts.autoPlay&&!u.player.isActive&&(u.opts.autoPlay=!1,u.play()):u.play(!1))},_afterZoomOut:function(n){n=n||u.current;i(".fancybox-wrap").trigger("onReset").remove();i.extend(u,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});u.trigger("afterClose",n)}});u.transitions={getOrigPosition:function(){var n=u.current,f=n.element,t=n.orig,i={},e=50,o=50,s=n.hPadding,c=n.wPadding,r=u.getViewport();return!t&&n.isDom&&f.is(":visible")&&(t=f.find("img:first"),t.length||(t=f)),a(t)?(i=t.offset(),t.is("img")&&(e=t.outerWidth(),o=t.outerHeight())):(i.top=r.y+(r.h-o)*n.topRatio,i.left=r.x+(r.w-e)*n.leftRatio),(u.wrap.css("position")==="fixed"||n.locked)&&(i.top-=r.y,i.left-=r.x),{top:h(i.top-s*n.topRatio),left:h(i.left-c*n.leftRatio),width:h(e+c),height:h(o+s)}},step:function(n,t){var r,s,e,i=t.prop,o=u.current,h=o.wrapSpace,c=o.skinSpace;(i==="width"||i==="height")&&(r=t.end===t.start?1:(n-t.start)/(t.end-t.start),u.isClosing&&(r=1-r),s=i==="width"?o.wPadding:o.hPadding,e=n-s,u.skin[i](f(i==="width"?e:e-h*r)),u.inner[i](f(i==="width"?e:e-h*r-c*r)))},zoomIn:function(){var n=u.current,t=n.pos,r=n.openEffect,f=r==="elastic",e=i.extend({opacity:1},t);delete e.position;f?(t=this.getOrigPosition(),n.openOpacity&&(t.opacity=.1)):r==="fade"&&(t.opacity=.1);u.wrap.css(t).animate(e,{duration:r==="none"?0:n.openSpeed,easing:n.openEasing,step:f?this.step:null,complete:u._afterZoomIn})},zoomOut:function(){var n=u.current,i=n.closeEffect,r=i==="elastic",t={opacity:.1};r&&(t=this.getOrigPosition(),n.closeOpacity&&(t.opacity=.1));u.wrap.animate(t,{duration:i==="none"?0:n.closeSpeed,easing:n.closeEasing,step:r?this.step:null,complete:u._afterZoomOut})},changeIn:function(){var i=u.current,s=i.nextEffect,t=i.pos,o={opacity:1},r=u.direction,e=200,n;t.opacity=.1;s==="elastic"&&(n=r==="down"||r==="up"?"top":"left",r==="down"||r==="right"?(t[n]=h(f(t[n])-e),o[n]="+="+e+"px"):(t[n]=h(f(t[n])+e),o[n]="-="+e+"px"));s==="none"?u._afterZoomIn():u.wrap.css(t).animate(o,{duration:i.nextSpeed,easing:i.nextEasing,complete:u._afterZoomIn})},changeOut:function(){var n=u.previous,r=n.prevEffect,f={opacity:.1},t=u.direction;r==="elastic"&&(f[t==="down"||t==="up"?"top":"left"]=(t==="up"||t==="left"?"-":"+")+"=200px");n.wrap.animate(f,{duration:r==="none"?0:n.prevSpeed,easing:n.prevEasing,complete:function(){i(this).trigger("onReset").remove()}})}};u.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,el:i("html"),create:function(n){n=i.extend({},this.defaults,n);this.overlay&&this.close();this.overlay=i('<div class="fancybox-overlay"><\/div>').appendTo(u.coming?u.coming.parent:n.parent);this.fixed=!1;n.fixed&&u.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(n){var t=this;n=i.extend({},this.defaults,n);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(n);this.fixed||(e.bind("resize.overlay",i.proxy(this.update,this)),this.update());n.closeClick&&this.overlay.bind("mousedown.overlay",function(n){if(i(n.target).hasClass("fancybox-overlay"))return u.isActive?u.close():t.close(),!1});this.overlay.css(n.css).show()},close:function(){var n,t;e.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(i(".fancybox-margin").removeClass("fancybox-margin"),n=e.scrollTop(),t=e.scrollLeft(),this.el.removeClass("fancybox-lock"),e.scrollTop(n).scrollLeft(t));i(".fancybox-overlay").remove().hide();i.extend(this,{overlay:null,fixed:!1})},update:function(){var n="100%",i;this.overlay.width(n).height("100%");y?(i=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),o.width()>i&&(n=o.width())):o.width()>e.width()&&(n=o.width());this.overlay.width(n).height(o.height())},onReady:function(n,t){var r=this.overlay;i(".fancybox-overlay").stop(!0,!0);r||this.create(n);n.locked&&this.fixed&&t.fixed&&(r||(this.margin=o.height()>e.height()?i("html").css("margin-right").replace("px",""):!1),t.locked=this.overlay.append(t.wrap),t.fixed=!1);n.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(n,t){var r,u;t.locked&&(this.margin!==!1&&(i("*").filter(function(){return i(this).css("position")==="fixed"&&!i(this).hasClass("fancybox-overlay")&&!i(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),r=e.scrollTop(),u=e.scrollLeft(),this.el.addClass("fancybox-lock"),e.scrollTop(r).scrollLeft(u));this.open(n)},onUpdate:function(){this.fixed||this.update()},afterClose:function(n){this.overlay&&!u.coming&&this.overlay.fadeOut(n.speedOut,i.proxy(this.close,this))}};u.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(n){var o=u.current,r=o.title,s=n.type,t,e;if(i.isFunction(r)&&(r=r.call(o.element,o)),c(r)&&i.trim(r)!==""){t=i('<div class="fancybox-title fancybox-title-'+s+'-wrap">'+r+"<\/div>");switch(s){case"inside":e=u.skin;break;case"outside":e=u.wrap;break;case"over":e=u.inner;break;default:e=u.skin;t.appendTo("body");y&&t.width(t.width());t.wrapInner('<span class="child"><\/span>');u.current.margin[2]+=Math.abs(f(t.css("margin-bottom")))}t[n.position==="top"?"prependTo":"appendTo"](e)}}};i.fn.fancybox=function(n,t){var f,e=i(this),r=this.selector||t||"",s=function(t){var o=i(this).blur(),c=f,h,s;t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||o.is(".fancybox-wrap")||(h=n.groupAttr||"data-fancybox-group",s=o.attr(h),s||(h="rel",s=o.get(0)[h]),s&&s!==""&&s!=="nofollow"&&(o=r.length?
1378i(r):e,o=o.filter("["+h+'="'+s+'"]'),c=o.index(this)),n.index=c,u.open(o,n)!==!1&&t.preventDefault())};return n=n||{},f=n.index||0,r&&n.live!==!1?o.undelegate(r,"click.fb-start").delegate(r+":not('.fancybox-item, .fancybox-nav')","click.fb-start",s):e.unbind("click.fb-start").bind("click.fb-start",s),this.filter("[data-fancybox-start=1]").trigger("click"),this};o.ready(function(){var t,f;i.scrollbarWidth===r&&(i.scrollbarWidth=function(){var n=i('<div style="width:50px;height:50px;overflow:auto"><div/><\/div>').appendTo("body"),t=n.children(),r=t.innerWidth()-t.height(99).innerWidth();return n.remove(),r});i.support.fixedPosition===r&&(i.support.fixedPosition=function(){var n=i('<div style="position:fixed;top:20px;"><\/div>').appendTo("body"),t=n[0].offsetTop===20||n[0].offsetTop===15;return n.remove(),t}());i.extend(u.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")});t=i(n).width();p.addClass("fancybox-lock-test");f=i(n).width();p.removeClass("fancybox-lock-test");i("<style type='text/css'>.fancybox-margin{margin-right:"+(f-t)+"px;}<\/style>").appendTo("head")})})(window,document,jQuery);
1379(function(n){var o={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:""},i=n(window),s=n(document),r=[],f=i.height(),t=function(){for(var u,e=i.scrollTop(),h=s.height(),c=h-f,l=e>c?c-e:0,o=0;o<r.length;o++){var t=r[o],a=t.stickyWrapper.offset().top,v=a-t.topSpacing-l;e<=v?t.currentTop!==null&&(t.stickyElement.css("position","").css("top",""),t.stickyElement.parent().removeClass(t.className),t.currentTop=null):(u=h-t.stickyElement.outerHeight()-t.topSpacing-t.bottomSpacing-e-l,u=u<0?u+t.topSpacing:t.topSpacing,t.currentTop!=u&&(t.stickyElement.css("position","fixed").css("top",u),typeof t.getWidthFrom!="undefined"&&t.stickyElement.css("width",n(t.getWidthFrom).width()),t.stickyElement.parent().addClass(t.className),t.currentTop=u))}},e=function(){f=i.height()},u={init:function(t){var i=n.extend(o,t);return this.each(function(){var t=n(this),f=t.attr("id"),e=n("<div><\/div>").attr("id",f+"-sticky-wrapper").addClass(i.wrapperClassName),u;t.wrapAll(e);i.center&&t.parent().css({width:t.outerWidth(),marginLeft:"auto",marginRight:"auto"});t.css("float")=="right"&&t.css({float:"none"}).parent().css({float:"right"});u=t.parent();u.css("height",t.outerHeight());r.push({topSpacing:i.topSpacing,bottomSpacing:i.bottomSpacing,stickyElement:t,currentTop:null,stickyWrapper:u,className:i.className,getWidthFrom:i.getWidthFrom})})},update:t};window.addEventListener?(window.addEventListener("scroll",t,!1),window.addEventListener("resize",e,!1)):window.attachEvent&&(window.attachEvent("onscroll",t),window.attachEvent("onresize",e));n.fn.sticky=function(t){if(u[t])return u[t].apply(this,Array.prototype.slice.call(arguments,1));if(typeof t!="object"&&t)n.error("Method "+t+" does not exist on jQuery.sticky");else return u.init.apply(this,arguments)};n(function(){setTimeout(t,0)})})(jQuery);
1380/*!
1381* FitVids 1.0
1382*
1383* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
1384* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
1385* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
1386*
1387* Date: Thu Sept 01 18:00:00 2011 -0500
1388*/
1389(function(n){"use strict";n.fn.fitVids=function(t){var r={customSelector:null},i,u;return document.getElementById("fit-vids-style")||(i=document.createElement("div"),u=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0],i.className="fit-vids-style",i.id="fit-vids-style",i.style.display="none",i.innerHTML="&shy;<style>                 .fluid-width-video-wrapper {                   width: 100%;                                position: relative;                         padding: 0;                              }                                                                                       .fluid-width-video-wrapper iframe,          .fluid-width-video-wrapper object,          .fluid-width-video-wrapper embed {             position: absolute;                         top: 0;                                     left: 0;                                    width: 100%;                                height: 100%;                            }                                         <\/style>",u.parentNode.insertBefore(i,u)),t&&n.extend(r,t),this.each(function(){var i=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"],t;r.customSelector&&i.push(r.customSelector);t=n(this).find(i.join(","));t=t.not("object object");t.each(function(){var t=n(this),i;if((this.tagName.toLowerCase()!=="embed"||!t.parent("object").length)&&!t.parent(".fluid-width-video-wrapper").length){var r=this.tagName.toLowerCase()==="object"||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),u=isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10),f=r/u;t.attr("id")||(i="fitvid"+Math.floor(Math.random()*999999),t.attr("id",i));t.wrap('<div class="fluid-width-video-wrapper"><\/div>').parent(".fluid-width-video-wrapper").css("padding-top",f*100+"%");t.removeAttr("height").removeAttr("width")}})})}})(jQuery);
1390!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){
1391//     Underscore.js 1.13.2
1392//     https://underscorejs.org
vendor: 4,889 bytes, lines 1393-1395
1393//     (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
1394//     Underscore may be freely distributed under the MIT license.
1395var n="1.13.2",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u<t;u++)e[u]=arguments[u+r];switch(r){case 0:return n.call(this,e);case 1:return n.call(this,arguments[0],e);case 2:return n.call(this,arguments[0],arguments[1],e)}var o=Array(r+1);for(u=0;u<r;u++)o[u]=arguments[u];return o[r]=e,n.apply(this,o)}}function _(n){var r=typeof n;return"function"===r||"object"===r&&!!n}function w(n){return void 0===n}function A(n){return!0===n||!1===n||"[object Boolean]"===a.call(n)}function x(n){var r="[object "+n+"]";return function(n){return a.call(n)===r}}var S=x("String"),O=x("Number"),M=x("Date"),E=x("RegExp"),B=x("Error"),N=x("Symbol"),I=x("ArrayBuffer"),T=x("Function"),k=r.document&&r.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof k&&(T=function(n){return"function"==typeof n||!1});var D=T,R=x("Object"),F=l&&R(new DataView(new ArrayBuffer(8))),V="undefined"!=typeof Map&&R(new Map),P=x("DataView");var q=F?function(n){return null!=n&&D(n.getInt8)&&I(n.buffer)}:P,U=s||x("Array");function W(n,r){return null!=n&&f.call(n,r)}var z=x("Arguments");!function(){z(arguments)||(z=function(n){return W(n,"callee")})}();var L=z;function $(n){return O(n)&&y(n)}function C(n){return function(){return n}}function K(n){return function(r){var t=n(r);return"number"==typeof t&&t>=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J("byteLength"),H=K(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e<t;++e)r[n[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(t){return r[t]=!0,n.push(t)}}}(r);var t=b.length,u=n.constructor,o=D(u)&&u.prototype||e,i="constructor";for(W(n,i)&&!r.contains(i)&&r.push(i);t--;)(i=b[t])in n&&n[i]!==o[i]&&!r.contains(i)&&r.push(i)}function nn(n){if(!_(n))return[];if(p)return p(n);var r=[];for(var t in n)W(n,t)&&r.push(t);return g&&Z(n,r),r}function rn(n,r){var t=nn(r),e=t.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=t[o];if(r[i]!==u[i]||!(i in u))return!1}return!0}function tn(n){return n instanceof tn?n:this instanceof tn?void(this._wrapped=n):new tn(n)}function en(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,G(n))}tn.VERSION=n,tn.prototype.value=function(){return this._wrapped},tn.prototype.valueOf=tn.prototype.toJSON=tn.prototype.value,tn.prototype.toString=function(){return String(this._wrapped)};var un="[object DataView]";function on(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;if(null==n||null==r)return!1;if(n!=n)return r!=r;var o=typeof n;return("function"===o||"object"===o||"object"==typeof r)&&function n(r,t,e,o){r instanceof tn&&(r=r._wrapped);t instanceof tn&&(t=t._wrapped);var i=a.call(r);if(i!==a.call(t))return!1;if(F&&"[object Object]"==i&&q(r)){if(!q(t))return!1;i=un}switch(i){case"[object RegExp]":case"[object String]":return""+r==""+t;case"[object Number]":return+r!=+r?+t!=+t:0==+r?1/+r==1/t:+r==+t;case"[object Date]":case"[object Boolean]":return+r==+t;case"[object Symbol]":return u.valueOf.call(r)===u.valueOf.call(t);case"[object ArrayBuffer]":case un:return n(en(r),en(t),e,o)}var f="[object Array]"===i;if(!f&&X(r)){if(G(r)!==G(t))return!1;if(r.buffer===t.buffer&&r.byteOffset===t.byteOffset)return!0;f=!0}if(!f){if("object"!=typeof r||"object"!=typeof t)return!1;var c=r.constructor,l=t.constructor;if(c!==l&&!(D(c)&&c instanceof c&&D(l)&&l instanceof l)&&"constructor"in r&&"constructor"in t)return!1}o=o||[];var s=(e=e||[]).length;for(;s--;)if(e[s]===r)return o[s]===t;if(e.push(r),o.push(t),f){if((s=r.length)!==t.length)return!1;for(;s--;)if(!on(r[s],t[s],e,o))return!1}else{var p,v=nn(r);if(s=v.length,nn(t).length!==s)return!1;for(;s--;)if(p=v[s],!W(t,p)||!on(r[p],t[p],e,o))return!1}return e.pop(),o.pop(),!0}(n,r,t,e)}function an(n){if(!_(n))return[];var r=[];for(var t in n)r.push(t);return g&&Z(n,r),r}function fn(n){var r=Y(n);return function(t){if(null==t)return!1;var e=an(t);
vendor: 12,180 bytes, line 1395
1395if(Y(e))return!1;for(var u=0;u<r;u++)if(!D(t[n[u]]))return!1;return n!==hn||!D(t[cn])}}var cn="forEach",ln="has",sn=["clear","delete"],pn=["get",ln,"set"],vn=sn.concat(cn,pn),hn=sn.concat(pn),yn=["add"].concat(sn,cn,ln),dn=V?fn(vn):x("Map"),gn=V?fn(hn):x("WeakMap"),bn=V?fn(yn):x("Set"),mn=x("WeakSet");function jn(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=n[r[u]];return e}function _n(n){for(var r={},t=nn(n),e=0,u=t.length;e<u;e++)r[n[t[e]]]=t[e];return r}function wn(n){var r=[];for(var t in n)D(n[t])&&r.push(t);return r.sort()}function An(n,r){return function(t){var e=arguments.length;if(r&&(t=Object(t)),e<2||null==t)return t;for(var u=1;u<e;u++)for(var o=arguments[u],i=n(o),a=i.length,f=0;f<a;f++){var c=i[f];r&&void 0!==t[c]||(t[c]=o[c])}return t}}var xn=An(an),Sn=An(nn),On=An(an,!0);function Mn(n){if(!_(n))return{};if(v)return v(n);var r=function(){};r.prototype=n;var t=new r;return r.prototype=null,t}function En(n){return U(n)?n:[n]}function Bn(n){return tn.toPath(n)}function Nn(n,r){for(var t=r.length,e=0;e<t;e++){if(null==n)return;n=n[r[e]]}return t?n:void 0}function In(n,r,t){var e=Nn(n,Bn(r));return w(e)?t:e}function Tn(n){return n}function kn(n){return n=Sn({},n),function(r){return rn(r,n)}}function Dn(n){return n=Bn(n),function(r){return Nn(r,n)}}function Rn(n,r,t){if(void 0===r)return n;switch(null==t?3:t){case 1:return function(t){return n.call(r,t)};case 3:return function(t,e,u){return n.call(r,t,e,u)};case 4:return function(t,e,u,o){return n.call(r,t,e,u,o)}}return function(){return n.apply(r,arguments)}}function Fn(n,r,t){return null==n?Tn:D(n)?Rn(n,r,t):_(n)&&!U(n)?kn(n):Dn(n)}function Vn(n,r){return Fn(n,r,1/0)}function Pn(n,r,t){return tn.iteratee!==Vn?tn.iteratee(n,r):Fn(n,r,t)}function qn(){}function Un(n,r){return null==r&&(r=n,n=0),n+Math.floor(Math.random()*(r-n+1))}tn.toPath=En,tn.iteratee=Vn;var Wn=Date.now||function(){return(new Date).getTime()};function zn(n){var r=function(r){return n[r]},t="(?:"+nn(n).join("|")+")",e=RegExp(t),u=RegExp(t,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,r):n}}var Ln={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},$n=zn(Ln),Cn=zn(_n(Ln)),Kn=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Jn=/(.)^/,Gn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Hn=/\\|'|\r|\n|\u2028|\u2029/g;function Qn(n){return"\\"+Gn[n]}var Xn=/^\s*(\w|\$)+\s*$/;var Yn=0;function Zn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var nr=j((function(n,r){var t=nr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a<o;a++)i[a]=r[a]===t?arguments[u++]:r[a];for(;u<arguments.length;)i.push(arguments[u++]);return Zn(n,e,this,this,i)};return e}));nr.placeholder=tn;var rr=j((function(n,r,t){if(!D(n))throw new TypeError("Bind must be called on a function");var e=j((function(u){return Zn(n,e,r,this,t.concat(u))}));return e})),tr=K(Y);function er(n,r,t,e){if(e=e||[],r||0===r){if(r<=0)return e.concat(n)}else r=1/0;for(var u=e.length,o=0,i=Y(n);o<i;o++){var a=n[o];if(tr(a)&&(U(a)||L(a)))if(r>1)er(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else t||(e[u++]=a)}return e}var ur=j((function(n,r){var t=(r=er(r,!1,!1)).length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var e=r[t];n[e]=rr(n[e],n)}return n}));var or=j((function(n,r,t){return setTimeout((function(){return n.apply(null,t)}),r)})),ir=nr(or,tn,1);function ar(n){return function(){return!n.apply(this,arguments)}}function fr(n,r){var t;return function(){return--n>0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var cr=nr(fr,2);function lr(n,r,t){r=Pn(r,t);for(var e,u=nn(n),o=0,i=u.length;o<i;o++)if(r(n[e=u[o]],e,n))return e}function sr(n){return function(r,t,e){t=Pn(t,e);for(var u=Y(r),o=n>0?0:u-1;o>=0&&o<u;o+=n)if(t(r[o],o,r))return o;return-1}}var pr=sr(1),vr=sr(-1);function hr(n,r,t,e){for(var u=(t=Pn(t,e,1))(r),o=0,i=Y(n);o<i;){var a=Math.floor((o+i)/2);t(n[a])<u?o=a+1:i=a}return o}function yr(n,r,t){return function(e,u,o){var a=0,f=Y(e);if("number"==typeof o)n>0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o<f;o+=n)if(e[o]===u)return o;return-1}}var dr=yr(1,pr,hr),gr=yr(-1,vr);function br(n,r,t){var e=(tr(n)?pr:lr)(n,r,t);if(void 0!==e&&-1!==e)return n[e]}function mr(n,r,t){var e,u;if(r=Rn(r,t),tr(n))for(e=0,u=n.length;e<u;e++)r(n[e],e,n);else{var o=nn(n);for(e=0,u=o.length;e<u;e++)r(n[o[e]],o[e],n)}return n}function jr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=r(n[a],a,n)}return o}function _r(n){var r=function(r,t,e,u){var o=!tr(r)&&nn(r),i=(o||r).length,a=n>0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a<i;a+=n){var f=o?o[a]:a;e=t(e,r[f],f,r)}return e};return function(n,t,e,u){var o=arguments.length>=3;return r(n,Rn(t,u,4),e,o)}}var wr=_r(1),Ar=_r(-1);function xr(n,r,t){var e=[];return r=Pn(r,t),mr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Sr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!r(n[i],i,n))return!1}return!0}function Or(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(r(n[i],i,n))return!0}return!1}function Mr(n,r,t,e){return tr(n)||(n=jn(n)),("number"!=typeof t||e)&&(t=0),dr(n,r,t)>=0}var Er=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Bn(r),e=r.slice(0,-1),r=r[r.length-1]),jr(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=Nn(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Br(n,r){return jr(n,Dn(r))}function Nr(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;a<f;a++)null!=(e=n[a])&&e>o&&(o=e);else r=Pn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}var Ir=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Tr(n){return n?U(n)?i.call(n):S(n)?n.match(Ir):tr(n)?jr(n,Tn):jn(n):[]}function kr(n,r,t){if(null==r||t)return tr(n)||(n=jn(n)),n[Un(n.length-1)];var e=Tr(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i<r;i++){var a=Un(i,o),f=e[i];e[i]=e[a],e[a]=f}return e.slice(0,r)}function Dr(n,r){return function(t,e,u){var o=r?[[],[]]:{};return e=Pn(e,u),mr(t,(function(r,u){var i=e(r,u,t);n(o,r,i)})),o}}var Rr=Dr((function(n,r,t){W(n,t)?n[t].push(r):n[t]=[r]})),Fr=Dr((function(n,r,t){n[t]=r})),Vr=Dr((function(n,r,t){W(n,t)?n[t]++:n[t]=1})),Pr=Dr((function(n,r,t){n[t?0:1].push(r)}),!0);function qr(n,r,t){return r in t}var Ur=j((function(n,r){var t={},e=r[0];if(null==n)return t;D(e)?(r.length>1&&(e=Rn(e,r[1])),r=an(n)):(e=qr,r=er(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u<o;u++){var i=r[u],a=n[i];e(a,i,n)&&(t[i]=a)}return t})),Wr=j((function(n,r){var t,e=r[0];return D(e)?(e=ar(e),r.length>1&&(t=r[1])):(r=jr(er(r,!1,!1),String),e=function(n,t){return!Mr(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=er(r,!0,!0),xr(n,(function(n){return!Mr(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Pn(t,e));for(var u=[],o=[],i=0,a=Y(n);i<a;i++){var f=n[i],c=t?t(f,i,n):f;r&&!t?(i&&o===c||u.push(f),o=c):t?Mr(o,c)||(o.push(c),u.push(f)):Mr(u,f)||u.push(f)}return u}var Gr=j((function(n){return Jr(er(n,!0,!0))}));function Hr(n){for(var r=n&&Nr(n,Y).length||0,t=Array(r),e=0;e<r;e++)t[e]=Br(n,e);return t}var Qr=j(Hr);function Xr(n,r){return n._chain?tn(r).chain():r}function Yr(n){return mr(wn(n),(function(r){var t=tn[r]=n[r];tn.prototype[r]=function(){var n=[this._wrapped];return o.apply(n,arguments),Xr(this,t.apply(tn,n))}})),tn}mr(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var r=t[n];tn.prototype[n]=function(){var t=this._wrapped;return null!=t&&(r.apply(t,arguments),"shift"!==n&&"splice"!==n||0!==t.length||delete t[0]),Xr(this,t)}})),mr(["concat","join","slice"],(function(n){var r=t[n];tn.prototype[n]=function(){var n=this._wrapped;return null!=n&&(n=r.apply(n,arguments)),Xr(this,n)}}));var Zr=Yr({__proto__:null,VERSION:n,restArguments:j,isObject:_,isNull:function(n){return null===n},isUndefined:w,isBoolean:A,isElement:function(n){return!(!n||1!==n.nodeType)},isString:S,isNumber:O,isDate:M,isRegExp:E,isError:B,isSymbol:N,isArrayBuffer:I,isDataView:q,isArray:U,isFunction:D,isArguments:L,isFinite:function(n){return!N(n)&&d(n)&&!isNaN(parseFloat(n))},isNaN:$,isTypedArray:X,isEmpty:function(n){if(null==n)return!0;var r=Y(n);return"number"==typeof r&&(U(n)||S(n)||L(n))?0===r:0===Y(nn(n))},isMatch:rn,isEqual:function(n,r){return on(n,r)},isMap:dn,isWeakMap:gn,isSet:bn,isWeakSet:mn,keys:nn,allKeys:an,values:jn,pairs:function(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=[r[u],n[r[u]]];return e},invert:_n,functions:wn,methods:wn,extend:xn,extendOwn:Sn,assign:Sn,defaults:On,create:function(n,r){var t=Mn(n);return r&&Sn(t,r),t},clone:function(n){return _(n)?U(n)?n.slice():xn({},n):n},tap:function(n,r){return r(n),n},get:In,has:function(n,r){for(var t=(r=Bn(r)).length,e=0;e<t;e++){var u=r[e];if(!W(n,u))return!1;n=n[u]}return!!t},mapObject:function(n,r,t){r=Pn(r,t);for(var e=nn(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=r(n[a],a,n)}return o},identity:Tn,constant:C,noop:qn,toPath:En,property:Dn,propertyOf:function(n){return null==n?qn:function(r){return In(n,r)}},matcher:kn,matches:kn,times:function(n,r,t){var e=Array(Math.max(0,n));r=Rn(r,t,1);for(var u=0;u<n;u++)e[u]=r(u);return e},random:Un,now:Wn,escape:$n,unescape:Cn,templateSettings:Kn,template:function(n,r,t){!r&&t&&(r=t),r=On({},r,tn.templateSettings);var e=RegExp([(r.escape||Jn).source,(r.interpolate||Jn).source,(r.evaluate||Jn).source].join("|")+"|$","g"),u=0,o="__p+='";n.replace(e,(function(r,t,e,i,a){return o+=n.slice(u,a).replace(Hn,Qn),u=a+r.length,t?o+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":e?o+="'+\n((__t=("+e+"))==null?'':__t)+\n'":i&&(o+="';\n"+i+"\n__p+='"),r})),o+="';\n";var i,a=r.variable;if(a){if(!Xn.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{i=new Function(a,"_",o)}catch(n){throw n.source=o,n}var f=function(n){return i.call(this,n,tn)};return f.source="function("+a+"){\n"+o+"}",f},result:function(n,r,t){var e=(r=Bn(r)).length;if(!e)return D(t)?t.call(n):t;for(var u=0;u<e;u++){var o=null==n?void 0:n[r[u]];void 0===o&&(o=t,u=e),n=D(o)?o.call(n):o}return n},uniqueId:function(n){var r=++Yn+"";return n?n+r:r},chain:function(n){var r=tn(n);return r._chain=!0,r},iteratee:Vn,partial:nr,bind:rr,bindAll:ur,memoize:function(n,r){var t=function(e){var u=t.cache,o=""+(r?r.apply(this,arguments):e);return W(u,o)||(u[o]=n.apply(this,arguments)),u[o]};return t.cache={},t},delay:or,defer:ir,throttle:function(n,r,t){var e,u,o,i,a=0;t||(t={});var f=function(){a=!1===t.leading?0:Wn(),e=null,i=n.apply(u,o),e||(u=o=null)},c=function(){var c=Wn();a||!1!==t.leading||(a=c);var l=r-(c-a);return u=this,o=arguments,l<=0||l>r?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=Wn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=Wn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return nr(r,n)},negate:ar,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}}
1395,before:fr,once:cr,findKey:lr,findIndex:pr,findLastIndex:vr,sortedIndex:hr,indexOf:dr,lastIndexOf:gr,find:br,detect:br,findWhere:function(n,r){return br(n,kn(r))},each:mr,forEach:mr,map:jr,collect:jr,reduce:wr,foldl:wr,inject:wr,reduceRight:Ar,foldr:Ar,filter:xr,select:xr,reject:function(n,r,t){return xr(n,ar(Pn(r)),t)},every:Sr,all:Sr,some:Or,any:Or,contains:Mr,includes:Mr,include:Mr,invoke:Er,pluck:Br,where:function(n,r){return xr(n,kn(r))},max:Nr,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;a<f;a++)null!=(e=n[a])&&e<o&&(o=e);else r=Pn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))<i||u===1/0&&o===1/0)&&(o=n,i=u)}));return o},shuffle:function(n){return kr(n,1/0)},sample:kr,sortBy:function(n,r,t){var e=0;return r=Pn(r,t),Br(jr(n,(function(n,t,u){return{value:n,index:e++,criteria:r(n,t,u)}})).sort((function(n,r){var t=n.criteria,e=r.criteria;if(t!==e){if(t>e||void 0===t)return 1;if(t<e||void 0===e)return-1}return n.index-r.index})),"value")},groupBy:Rr,indexBy:Fr,countBy:Vr,partition:Pr,toArray:Tr,size:function(n){return null==n?0:tr(n)?n.length:nn(n).length},pick:Ur,omit:Wr,first:Lr,head:Lr,take:Lr,initial:zr,last:function(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[n.length-1]:$r(n,Math.max(0,n.length-r))},rest:$r,tail:$r,drop:$r,compact:function(n){return xr(n,Boolean)},flatten:function(n,r){return er(n,r,!1)},without:Kr,uniq:Jr,unique:Jr,union:Gr,intersection:function(n){for(var r=[],t=arguments.length,e=0,u=Y(n);e<u;e++){var o=n[e];if(!Mr(r,o)){var i;for(i=1;i<t&&Mr(arguments[i],o);i++);i===t&&r.push(o)}}return r},difference:Cr,unzip:Hr,transpose:Hr,zip:Qr,object:function(n,r){for(var t={},e=0,u=Y(n);e<u;e++)r?t[n[e]]=r[e]:t[n[e][0]]=n[e][1];return t},range:function(n,r,t){null==r&&(r=n||0,n=0),t||(t=r<n?-1:1);for(var e=Math.max(Math.ceil((r-n)/t),0),u=Array(e),o=0;o<e;o++,n+=t)u[o]=n;return u},chunk:function(n,r){if(null==r||r<1)return[];for(var t=[],e=0,u=n.length;e<u;)t.push(i.call(n,e,e+=r));return t},mixin:Yr,default:tn});return Zr._=Zr,Zr}));
1396/*!
1397 * ASP.NET SignalR JavaScript Library 2.4.1
1398 * http://signalr.net/
1399 *
1400 * Copyright (c) .NET Foundation. All rights reserved.
1401 * Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
1402 *
1403 */
1404(function(n,t,i){function w(t,i){var u,f;if(n.isArray(t)){for(u=t.length-1;u>=0;u--)f=t[u],n.type(f)==="string"&&r.transports[f]||(i.log("Invalid transport: "+f+", removing it from the transports list."),t.splice(u,1));t.length===0&&(i.log("No transports remain within the specified transport array."),t=null)}else if(r.transports[t]||t==="auto"){if(t==="auto"&&r._.ieVersion<=8)return["longPolling"]}else i.log("Invalid transport: "+t.toString()+"."),t=null;return t}function b(n){return n==="http:"?80:n==="https:"?443:void 0}function a(n,t){return t.match(/:\d+$/)?t:t+":"+b(n)}function k(t,i){var u=this,r=[];u.tryBuffer=function(i){return t.state===n.signalR.connectionState.connecting?(r.push(i),!0):!1};u.drain=function(){if(t.state===n.signalR.connectionState.connected)while(r.length>0)i(r.shift())};u.clear=function(){r=[]}}var f={nojQuery:"jQuery was not found. Please ensure jQuery is referenced before the SignalR client JavaScript file.",noTransportOnInit:"No transport could be initialized successfully. Try specifying a different transport or none at all for auto initialization.",errorOnNegotiate:"Error during negotiation request.",stoppedWhileLoading:"The connection was stopped during page load.",stoppedWhileNegotiating:"The connection was stopped during the negotiate request.",errorParsingNegotiateResponse:"Error parsing negotiate response.",errorRedirectionExceedsLimit:"Negotiate redirection limit exceeded.",errorDuringStartRequest:"Error during start request. Stopping the connection.",errorFromServer:"Error message received from the server: '{0}'.",stoppedDuringStartRequest:"The connection was stopped during the start request.",errorParsingStartResponse:"Error parsing start response: '{0}'. Stopping the connection.",invalidStartResponse:"Invalid start response: '{0}'. Stopping the connection.",protocolIncompatible:"You are using a version of the client that isn't compatible with the server. Client version {0}, server version {1}.",aspnetCoreSignalrServer:"Detected a connection attempt to an ASP.NET Core SignalR Server. This client only supports connecting to an ASP.NET SignalR Server. See https://aka.ms/signalr-core-differences for details.",sendFailed:"Send failed.",parseFailed:"Failed at parsing response: {0}",longPollFailed:"Long polling request failed.",eventSourceFailedToConnect:"EventSource failed to connect.",eventSourceError:"Error raised by EventSource",webSocketClosed:"WebSocket closed.",pingServerFailedInvalidResponse:"Invalid ping response when pinging server: '{0}'.",pingServerFailed:"Failed to ping server.",pingServerFailedStatusCode:"Failed to ping server.  Server responded with status code {0}, stopping the connection.",pingServerFailedParse:"Failed to parse ping server response, stopping the connection.",n
vendor: 13,063 bytes, line 1404
1404oConnectionTransport:"Connection is in an invalid state, there is no transport active.",webSocketsInvalidState:"The Web Socket transport is in an invalid state, transitioning into reconnecting.",reconnectTimeout:"Couldn't reconnect within the configured timeout of {0} ms, disconnecting.",reconnectWindowTimeout:"The client has been inactive since {0} and it has exceeded the inactivity timeout of {1} ms. Stopping the connection.",jsonpNotSupportedWithAccessToken:"The JSONP protocol does not support connections that require a Bearer token to connect, such as the Azure SignalR Service."};if(typeof n!="function")throw new Error(f.nojQuery);var r,h,o=t.document.readyState==="complete",e=n(t),c="__Negotiate Aborted__",u={onStart:"onStart",onStarting:"onStarting",onReceived:"onReceived",onError:"onError",onConnectionSlow:"onConnectionSlow",onReconnecting:"onReconnecting",onReconnect:"onReconnect",onStateChanged:"onStateChanged",onDisconnect:"onDisconnect"},v=function(n,i){if(i!==!1){var r;typeof t.console!="undefined"&&(r="["+(new Date).toTimeString()+"] SignalR: "+n,t.console.debug?t.console.debug(r):t.console.log&&t.console.log(r))}},s=function(t,i,r){return i===t.state?(t.state=r,n(t).triggerHandler(u.onStateChanged,[{oldState:i,newState:r}]),!0):!1},y=function(n){return n.state===r.connectionState.disconnected},l=function(n){return n._.keepAliveData.activated&&n.transport.supportsKeepAlive(n)},p=function(i){var f,e;i._.configuredStopReconnectingTimeout||(e=function(t){var i=r._.format(r.resources.reconnectTimeout,t.disconnectTimeout);t.log(i);n(t).triggerHandler(u.onError,[r._.error(i,"TimeoutException")]);t.stop(!1,!1)},i.reconnecting(function(){var n=this;n.state===r.connectionState.reconnecting&&(f=t.setTimeout(function(){e(n)},n.disconnectTimeout))}),i.stateChanged(function(n){n.oldState===r.connectionState.reconnecting&&t.clearTimeout(f)}),i._.configuredStopReconnectingTimeout=!0)};if(r=function(n,t,i){return new r.fn.init(n,t,i)},r._={defaultContentType:"application/x-www-form-urlencoded; charset=UTF-8",ieVersion:function(){var i,n;return t.navigator.appName==="Microsoft Internet Explorer"&&(n=/MSIE ([0-9]+\.[0-9]+)/.exec(t.navigator.userAgent),n&&(i=t.parseFloat(n[1]))),i}(),error:function(n,t,i){var r=new Error(n);return r.source=t,typeof i!="undefined"&&(r.context=i),r},transportError:function(n,t,r,u){var f=this.error(n,r,u);return f.transport=t?t.name:i,f},format:function(){for(var t=arguments[0],n=0;n<arguments.length-1;n++)t=t.replace("{"+n+"}",arguments[n+1]);return t},firefoxMajorVersion:function(n){var t=n.match(/Firefox\/(\d+)/);return!t||!t.length||t.length<2?0:parseInt(t[1],10)},configurePingInterval:function(i){var f=i._.config,e=function(t){n(i).triggerHandler(u.onError,[t])};f&&!i._.pingIntervalId&&f.pingInterval&&(i._.pingIntervalId=t.setInterval(function(){r.transports._logic.pingServer(i).fail(e)},f.pingInterval))}},r.events=u,r.resources=f,r.ajaxDefaults={processData:!0,timeout:null,async:!0,global:!1,cache:!1},r.changeState=s,r.isDisconnecting=y,r.connectionState={connecting:0,connected:1,reconnecting:2,disconnected:4},r.hub={start:function(){throw new Error("SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. <script src='/signalr/js'><\/script>.");}},typeof e.on=="function")e.on("load",function(){o=!0});else e.load(function(){o=!0});r.fn=r.prototype={init:function(t,i,r){var f=n(this);this.url=t;this.qs=i;this.lastError=null;this._={keepAliveData:{},connectingMessageBuffer:new k(this,function(n){f.triggerHandler(u.onReceived,[n])}),lastMessageAt:(new Date).getTime(),lastActiveAt:(new Date).getTime(),beatInterval:5e3,beatHandle:null,totalTransportConnectTimeout:0,redirectQs:null};typeof r=="boolean"&&(this.logging=r)},_parseResponse:function(n){var t=this;return n?typeof n=="string"?t.json.parse(n):n:n},_originalJson:t.JSON,json:t.JSON,isCrossDomain:function(i,r){var u;return(i=n.trim(i),r=r||t.location,i.indexOf("http")!==0)?!1:(u=t.document.createElement("a"),u.href=i,u.protocol+a(u.protocol,u.host)!==r.protocol+a(r.protocol,r.host))},ajaxDataType:"text",contentType:"application/json; charset=UTF-8",logging:!1,state:r.connectionState.disconnected,clientProtocol:"2.1",supportedProtocols:["1.5","2.0","2.1"],negotiateRedirectSupportedProtocols:["2.0","2.1"],reconnectDelay:2e3,transportConnectTimeout:0,disconnectTimeout:3e4,reconnectWindow:3e4,keepAliveWarnAt:2/3,start:function(i,h){var a=this,v={pingInterval:3e5,waitForPageLoad:!0,transport:"auto",jsonp:!1},g,y=a._deferral||n.Deferred(),b=t.document.createElement("a"),nt=function(i,u){i.url===u&&i.baseUrl||(i.url=u,b.href=i.url,b.protocol&&b.protocol!==":"?(i.protocol=b.protocol,i.host=b.host):(i.protocol=t.document.location.protocol,i.host=b.host||t.document.location.host),i.baseUrl=i.protocol+"//"+i.host,i.wsProtocol=i.protocol==="https:"?"wss://":"ws://",i.url.indexOf("//")===0&&(i.url=t.location.protocol+i.url,i.log("Protocol relative URL detected, normalizing it to '"+i.url+"'.")),i.isCrossDomain(i.url)&&(i.log("Auto detected cross domain url."),v.transport==="auto"&&(v.transport=["webSockets","serverSentEvents","longPolling"]),typeof i.withCredentials=="undefined"&&(i.withCredentials=!0),n.support.cors||(i.ajaxDataType="jsonp",i.log("Using jsonp because this browser doesn't support CORS.")),i.contentType=r._.defaultContentType))},d,k;if(a.lastError=null,a._deferral=y,!a.json)throw new Error("SignalR: No JSON parser found. Please ensure json2.js is referenced before the SignalR.js file if you need to support clients without native JSON parsing support, e.g. IE<8.");if(n.type(i)==="function"?h=i:n.type(i)==="object"&&(n.extend(v,i),n.type(v.callback)==="function"&&(h=v.callback)),v.transport=w(v.transport,a),!v.transport)throw new Error("SignalR: Invalid transport(s) specified, aborting start.");return(a._.config=v,!o&&v.waitForPageLoad===!0)?(a._.deferredStartHandler=function(){a.start(i,h)},e.bind("load",a._.deferredStartHandler),y.promise()):a.state===r.connectionState.connecting?y.promise():s(a,r.connectionState.disconnected,r.connectionState.connecting)===!1?(y.resolve(a),y.promise()):(p(a),v.transport==="auto"&&v.jsonp===!0&&(v.transport="longPolling"),a.withCredentials=v.withCredentials,a._originalUrl=a.url,a.ajaxDataType=v.jsonp?"jsonp":"text",nt(a,a.url),n(a).bind(u.onStart,function(){n.type(h)==="function"&&h.call(a);y.resolve(a)}),a._.initHandler=r.transports._logic.initHandler(a),g=function(i,o){var c=r._.error(f.noTransportOnInit);if(o=o||0,o>=i.length){o===0?a.log("No transports supported by the server were selected."):o===1?a.log("No fallback transports were selected."):a.log("Fallback transports exhausted.");n(a).triggerHandler(u.onError,[c]);y.reject(c);a.stop();return}if(a.state!==r.connectionState.disconnected){var p=i[o],h=r.transports[p],v=function(){g(i,o+1)};a.transport=h;try{a._.initHandler.start(h,function(){var f=r._.firefoxMajorVersion(t.navigator.userAgent)>=11,i=!0;a.log("The start request succeeded. Transitioning to the connected state.");l(a)&&r.transports._logic.monitorKeepAlive(a);r.transports._logic.startHeartbeat(a);r._.configurePingInterval(a);s(a,r.connectionState.connecting,r.connectionState.connected)||a.log("WARNING! The connection was not in the connecting state.");a._.connectingMessageBuffer.drain();n(a).triggerHandler(u.onStart);e.bind("unload",function(){a.log("Window unloading, stopping the connection.");a.stop(i)});f&&e.bind("beforeunload",function(){t.setTimeout(function(){a.stop(i)},0)})},v)}catch(w){a.log(h.name+" transport threw '"+w.message+"' when attempting to start.");v()}}},d=a.url+"/negotiate",k=function(t,i){var e=r._.error(f.errorOnNegotiate,t,i._.negotiateRequest);n(i).triggerHandler(u.onError,e);y.reject(e);i.stop()},n(a).triggerHandler(u.onStarting),d=r.transports._logic.prepareQueryString(a,d),a.log("Negotiating with '"+d+"'."),a._.negotiateRequest=function(){var t,h=0,w=100,i,e,o=[],s=[],l=function(n,t){var u=r.transports._logic.prepareQueryString(n,n.url+"/negotiate"),i;return n.log("Negotiating with '"+u+"'."),i={url:u,error:function(t,i){i!==c?k(t,n):y.reject(r._.error(f.stoppedWhileNegotiating,null,n._.negotiateRequest))},success:t},n.accessToken&&(i.headers={Authorization:"Bearer "+n.accessToken}),r.transports._logic.ajax(n,i)},p=function(c){try{t=a._parseResponse(c)}catch(d){k(r._.error(f.errorParsingNegotiateResponse,d),a);return}if(t.availableTransports){e=r._.error(f.aspnetCoreSignalrServer);n(a).triggerHandler(u.onError,[e]);y.reject(e);return}if(!t.ProtocolVersion||a.supportedProtocols.indexOf(t.ProtocolVersion)===-1){e=r._.error(r._.format(f.protocolIncompatible,a.clientProtocol,t.ProtocolVersion));n(a).triggerHandler(u.onError,[e]);y.reject(e);return}if(a.negotiateRedirectSupportedProtocols.indexOf(t.ProtocolVersion)!==-1){if(t.Error){e=r._.error(r._.format(f.errorFromServer,t.Error));n(a).triggerHandler(u.onError,[e]);y.reject(e);return}if(t.RedirectUrl){if(h===w){k(r._.error(f.errorRedirectionExceedsLimit),a);return}v.transport==="auto"&&(v.transport=["webSockets","serverSentEvents","longPolling"]);a.log("Received redirect to: "+t.RedirectUrl);a.accessToken=t.AccessToken;var b=t.RedirectUrl.split("?",2);if(nt(a,b[0]),a._.redirectQs=b.length===2?b[1]:null,a.ajaxDataType==="jsonp"&&a.accessToken){k(r._.error(f.jsonpNotSupportedWithAccessToken),a);return}h++;l(a,p);return}}i=a._.keepAliveData;a.appRelativeUrl=t.Url;a.id=t.ConnectionId;a.token=t.ConnectionToken;a.webSocketServerUrl=t.WebSocketServerUrl;a._.pollTimeout=t.ConnectionTimeout*1e3+1e4;a.disconnectTimeout=t.DisconnectTimeout*1e3;a._.totalTransportConnectTimeout=a.transportConnectTimeout+t.TransportConnectTimeout*1e3;t.KeepAliveTimeout?(i.activated=!0,i.timeout=t.KeepAliveTimeout*1e3,i.timeoutWarning=i.timeout*a.keepAliveWarnAt,a._.beatInterval=(i.timeout-i.timeoutWarning)/3):i.activated=!1;a.reconnectWindow=a.disconnectTimeout+(i.timeout||0);n.each(r.transports,function(n){if(n.indexOf("_")===0||n==="webSockets"&&!t.TryWebSockets)return!0;s.push(n)});n.isArray(v.transport)?n.each(v.transport,function(t,i){n.inArray(i,s)>=0&&o.push(i)}):v.transport==="auto"?o=s:n.inArray(v.transport,s)>=0&&o.push(v.transport);g(o)};return l(a,p)}(),y.promise())},starting:function(t){var i=this;return n(i).bind(u.onStarting,function(){t.call(i)}),i},send:function(n){var t=this;if(t.state===r.connectionState.disconnected)throw new Error("SignalR: Connection must be started before data can be sent. Call .start() before .send()");if(t.state===r.connectionState.connecting)throw new Error("SignalR: Connection has not been fully initialized. Use .start().done() or .start().fail() to run logic after the connection has started.");return t.transport.send(t,n),t},received:function(t){var i=this;return n(i).bind(u.onReceived,function(n,r){t.call(i,r)}),i},stateChanged:function(t){var i=this;return n(i).bind(u.onStateChanged,function(n,r){t.call(i,r)}),i},error:function(t){var i=this;return n(i).bind(u.onError,function(n,r,u){i.lastError=r;t.call(i,r,u)}),i},disconnected:function(t){var i=this;return n(i).bind(u.onDisconnect,function(){t.call(i)}),i},connectionSlow:function(t){var i=this;return n(i).bind(u.onConnectionSlow,function(){t.call(i)}),i},reconnecting:function(t){var i=this;return n(i).bind(u.onReconnecting,function(){t.call(i)}),i},reconnected:function(t){var i=this;return n(i).bind(u.onReconnect,function(){t.call(i)}),i},stop:function(i,h){var a=this,v=a._deferral;if(a._.deferredStartHandler&&e.unbind("load",a._.deferredStartHandler),delete a._.config,delete a._.deferredStartHandler,!o&&(!a._.config||a._.config.waitForPageLoad===!0)){a.log("Stopping connection prior to negotiate.");v&&v.reject(r._.error(f.stoppedWhileLoading));return}if(a.state!==r.connectionState.disconnected)return a.log("Stopping connection."),t.clearTimeout(a._.beatHandle),t.clearInterval(a._.pingIntervalId),a.transport&&(a.transport.stop(a),h!==!1&&a.transport.abort(a,i),l(a)&&r.transports._logic.stopMonitoringKeepAlive(a),a.transport=null),a._.negotiateRequest&&(a._.negotiateRequest.abort(c),delete a._.negotiateRequest),a._.initHandler&&a._.initHandler.stop(),delete a._deferral,delete a.messageId,delete a.groupsToken,delete a.id,delete a._.pingIntervalId,delete a._.lastMessageAt,delete a._.lastActiveAt,a._.connectingMessageBuffer.clear(),n(a).unbind(u.onStart),delete a.accessToken,delete a.protocol,delete a.host,delete a.baseUrl,delete a.wsProtocol,delete a.contentType,a.url=a._originalUrl,a._.redirectQs=null,s(a,a.state,r.connectionState.disconnected),n(a).triggerHandler(u.onDisconnect),a},log:function(n){v(n,this.logging)}};r.fn.init.prototype=r.fn;r.noConflict=function(){return n.connection===r&&(n.connection=h),r};n.connection&&(h=n.connection);n.connection=n.signalR=r})(window.jQuery,window),function(n,t,i){function s(n){n._.keepAliveData.monitoring&&l(n);u.markActive(n)&&(n._.beatHandle=t.setTimeout(function(){s(n)},n._.beatInterval))}function l(t){var i=t._.keepAliveData,u;t.state===r.connectionState.connected&&(u=(new Date).getTime()-t._.lastMessageAt,u>=i.timeout?(t.log("Keep alive timed out.  Notifying transport that c
1404onnection has been lost."),t.transport.lostConnection(t)):u>=i.timeoutWarning?i.userNotified||(t.log("Keep alive has been missed, connection may be dead/slow."),n(t).triggerHandler(f.onConnectionSlow),i.userNotified=!0):i.userNotified=!1)}function e(n,t){var i=n.url+t;return n.transport&&(i+="?transport="+n.transport.name),u.prepareQueryString(n,i)}function h(n){this.connection=n;this.startRequested=!1;this.startCompleted=!1;this.connectionStopped=!1}var r=n.signalR,f=n.signalR.events,c=n.signalR.changeState,o="__Start Aborted__",u;r.transports={};h.prototype={start:function(n,r,u){var f=this,e=f.connection,o=!1;if(f.startRequested||f.connectionStopped){e.log("WARNING! "+n.name+" transport cannot be started. Initialization ongoing or completed.");return}e.log(n.name+" transport starting.");n.start(e,function(){o||f.initReceived(n,r)},function(t){return o||(o=!0,f.transportFailed(n,t,u)),!f.startCompleted||f.connectionStopped});f.transportTimeoutHandle=t.setTimeout(function(){o||(o=!0,e.log(n.name+" transport timed out when trying to connect."),f.transportFailed(n,i,u))},e._.totalTransportConnectTimeout)},stop:function(){this.connectionStopped=!0;t.clearTimeout(this.transportTimeoutHandle);r.transports._logic.tryAbortStartRequest(this.connection)},initReceived:function(n,i){var u=this,f=u.connection;if(u.startRequested){f.log("WARNING! The client received multiple init messages.");return}u.connectionStopped||(u.startRequested=!0,t.clearTimeout(u.transportTimeoutHandle),f.log(n.name+" transport connected. Initiating start request."),r.transports._logic.ajaxStart(f,function(){u.startCompleted=!0;i()}))},transportFailed:function(i,u,e){var o=this.connection,h=o._deferral,s;this.connectionStopped||(t.clearTimeout(this.transportTimeoutHandle),this.startRequested?this.startCompleted||(s=r._.error(r.resources.errorDuringStartRequest,u),o.log(i.name+" transport failed during the start request. Stopping the connection."),n(o).triggerHandler(f.onError,[s]),h&&h.reject(s),o.stop()):(i.stop(o),o.log(i.name+" transport failed to connect. Attempting to fall back."),e()))}};u=r.transports._logic={ajax:function(t,i){return n.ajax(n.extend(!0,{},n.signalR.ajaxDefaults,{type:"GET",data:{},xhrFields:{withCredentials:t.withCredentials},contentType:t.contentType,dataType:t.ajaxDataType},i))},pingServer:function(t){var e,f,i=n.Deferred();return t.transport?(e=t.url+"/ping",e=u.addQs(e,t.qs),f=u.ajax(t,{url:e,headers:t.accessToken?{Authorization:"Bearer "+t.accessToken}:{},success:function(n){var u;try{u=t._parseResponse(n)}catch(e){i.reject(r._.transportError(r.resources.pingServerFailedParse,t.transport,e,f));t.stop();return}u.Response==="pong"?i.resolve():i.reject(r._.transportError(r._.format(r.resources.pingServerFailedInvalidResponse,n),t.transport,null,f))},error:function(n){n.status===401||n.status===403?(i.reject(r._.transportError(r._.format(r.resources.pingServerFailedStatusCode,n.status),t.transport,n,f)),t.stop()):i.reject(r._.transportError(r.resources.pingServerFailed,t.transport,n,f))}})):i.reject(r._.transportError(r.resources.noConnectionTransport,t.transport)),i.promise()},prepareQueryString:function(n,i){var r;return r=u.addQs(i,"clientProtocol="+n.clientProtocol),r=typeof n._.redirectQs=="string"?u.addQs(r,n._.redirectQs):u.addQs(r,n.qs),n.token&&(r+="&connectionToken="+t.encodeURIComponent(n.token)),n.data&&(r+="&connectionData="+t.encodeURIComponent(n.data)),r},addQs:function(t,i){var r=t.indexOf("?")!==-1?"&":"?",u;if(!i)return t;if(typeof i=="object")return t+r+n.param(i);if(typeof i=="string")return u=i.charAt(0),(u==="?"||u==="&")&&(r=""),t+r+i;throw new Error("Query string property must be either a string or object.");},getUrl:function(n,i,r,f,e){var h=i==="webSockets"?"":n.baseUrl,o=h+n.appRelativeUrl,s="transport="+i;return!e&&n.groupsToken&&(s+="&groupsToken="+t.encodeURIComponent(n.groupsToken)),r?(o+=f?"/poll":"/reconnect",!e&&n.messageId&&(s+="&messageId="+t.encodeURIComponent(n.messageId))):o+="/connect",o+="?"+s,o=u.prepareQueryString(n,o),n.transport&&n.accessToken&&(n.transport.name==="serverSentEvents"||n.transport.name==="webSockets")&&(o+="&access_token="+t.encodeURIComponent(n.accessToken)),e||(o+="&tid="+Math.floor(Math.random()*11)),o},maximizePersistentResponse:function(n){return{MessageId:n.C,Messages:n.M,Initialized:typeof n.S!="undefined"?!0:!1,ShouldReconnect:typeof n.T!="undefined"?!0:!1,LongPollDelay:n.L,GroupsToken:n.G,Error:n.E}},updateGroups:function(n,t){t&&(n.groupsToken=t)},stringifySend:function(n,t){return typeof t=="string"||typeof t=="undefined"||t===null?t:n.json.stringify(t)},ajaxSend:function(t,i){var h=u.stringifySend(t,i),c=e(t,"/send"),o,s=function(t,u){n(u).triggerHandler(f.onError,[r._.transportError(r.resources.sendFailed,u.transport,t,o),i])};return o=u.ajax(t,{url:c,type:t.ajaxDataType==="jsonp"?"GET":"POST",contentType:r._.defaultContentType,headers:t.accessToken?{Authorization:"Bearer "+t.accessToken}:{},data:{data:h},success:function(n){var i;if(n){try{i=t._parseResponse(n)}catch(r){s(r,t);t.stop();return}u.triggerReceived(t,i)}},error:function(n,i){i!=="abort"&&i!=="parsererror"&&s(n,t)}})},ajaxAbort:function(n,t){if(typeof n.transport!="undefined"){t=typeof t=="undefined"?!0:t;var i=e(n,"/abort");u.ajax(n,{url:i,async:t,timeout:1e3,type:"POST",headers:n.accessToken?{Authorization:"Bearer "+n.accessToken}:{},dataType:"text"});n.log("Fired ajax abort async = "+t+".")}},ajaxStart:function(t,i){var h=function(n){var i=t._deferral;i&&i.reject(n)},s=function(i){t.log("The start request failed. Stopping the connection.");n(t).triggerHandler(f.onError,[i]);h(i);t.stop()};t._.startRequest=u.ajax(t,{url:e(t,"/start"),headers:t.accessToken?{Authorization:"Bearer "+t.accessToken}:{},success:function(n,u,f){var e;try{e=t._parseResponse(n)}catch(o){s(r._.error(r._.format(r.resources.errorParsingStartResponse,n),o,f));return}e.Response==="started"?i():s(r._.error(r._.format(r.resources.invalidStartResponse,n),null,f))},error:function(n,i,u){i!==o?s(r._.error(r.resources.errorDuringStartRequest,u,n)):(t.log("The start request aborted because connection.stop() was called."),h(r._.error(r.resources.stoppedDuringStartRequest,null,n)))}})},tryAbortStartRequest:function(n){n._.startRequest&&(n._.startRequest.abort(o),delete n._.startRequest)},tryInitialize:function(n,t,i){t.Initialized&&i?i():t.Initialized&&n.log("WARNING! The client received an init message after reconnecting.")},triggerReceived:function(t,i){t._.connectingMessageBuffer.tryBuffer(i)||n(t).triggerHandler(f.onReceived,[i])},processMessages:function(t,i,f){var e;if(i&&typeof i.I!="undefined"){u.triggerReceived(t,i);return}if(u.markLastMessage(t),i){if(e=u.maximizePersistentResponse(i),e.Error){t.log("Received an error message from the server: "+i.E);n(t).triggerHandler(r.events.onError,[r._.error(i.E,"ServerError")]);t.stop(!1,!1);return}u.updateGroups(t,e.GroupsToken);
vendor: 1,839 bytes, line 1404
1404e.MessageId&&(t.messageId=e.MessageId);e.Messages&&(n.each(e.Messages,function(n,i){u.triggerReceived(t,i)}),u.tryInitialize(t,e,f))}},monitorKeepAlive:function(t){var i=t._.keepAliveData;i.monitoring?t.log("Tried to monitor keep alive but it's already being monitored."):(i.monitoring=!0,u.markLastMessage(t),t._.keepAliveData.reconnectKeepAliveUpdate=function(){u.markLastMessage(t)},n(t).bind(f.onReconnect,t._.keepAliveData.reconnectKeepAliveUpdate),t.log("Now monitoring keep alive with a warning timeout of "+i.timeoutWarning+", keep alive timeout of "+i.timeout+" and disconnecting timeout of "+t.disconnectTimeout))},stopMonitoringKeepAlive:function(t){var i=t._.keepAliveData;i.monitoring&&(i.monitoring=!1,n(t).unbind(f.onReconnect,t._.keepAliveData.reconnectKeepAliveUpdate),t._.keepAliveData={},t.log("Stopping the monitoring of the keep alive."))},startHeartbeat:function(n){n._.lastActiveAt=(new Date).getTime();s(n)},markLastMessage:function(n){n._.lastMessageAt=(new Date).getTime()},markActive:function(n){return u.verifyLastActive(n)?(n._.lastActiveAt=(new Date).getTime(),!0):!1},isConnectedOrReconnecting:function(n){return n.state===r.connectionState.connected||n.state===r.connectionState.reconnecting},ensureReconnectingState:function(t){return c(t,r.connectionState.connected,r.connectionState.reconnecting)===!0&&n(t).triggerHandler(f.onReconnecting),t.state===r.connectionState.reconnecting},clearReconnectTimeout:function(n){n&&n._.reconnectTimeout&&(t.clearTimeout(n._.reconnectTimeout),delete n._.reconnectTimeout)},verifyLastActive:function(t){if((new Date).getTime()-t._.lastActiveAt>=t.reconnectWindow){var i=r._.format(r.resources.reconnectWindowTimeout,new Date(t._.lastActiveAt),t.reconnectWindow);return t.log(i),n(t).triggerHandler(f.onError,[r._.error(i,"TimeoutException")]),t.stop(!1,!1),!1}return!0
vendor: 15,789 bytes, line 1404
1404},reconnect:function(n,i){var f=r.transports[i];if(u.isConnectedOrReconnecting(n)&&!n._.reconnectTimeout){if(!u.verifyLastActive(n))return;n._.reconnectTimeout=t.setTimeout(function(){u.verifyLastActive(n)&&(f.stop(n),u.ensureReconnectingState(n)&&(n.log(i+" reconnecting."),f.start(n)))},n.reconnectDelay)}},handleParseFailure:function(t,i,u,e,o){var s=r._.transportError(r._.format(r.resources.parseFailed,i),t.transport,u,o);e&&e(s)?t.log("Failed to parse server response while attempting to connect."):(n(t).triggerHandler(f.onError,[s]),t.stop())},initHandler:function(n){return new h(n)},foreverFrame:{count:0,connections:{}}}}(window.jQuery,window),function(n,t){var i=n.signalR,u=n.signalR.events,f=n.signalR.changeState,r=i.transports._logic;i.transports.webSockets={name:"webSockets",supportsKeepAlive:function(){return!0},send:function(t,f){var e=r.stringifySend(t,f);try{t.socket.send(e)}catch(o){n(t).triggerHandler(u.onError,[i._.transportError(i.resources.webSocketsInvalidState,t.transport,o,t.socket),f])}},start:function(e,o,s){var h,c=!1,l=this,a=!o,v=n(e);if(!t.WebSocket){s();return}e.socket||(h=e.webSocketServerUrl?e.webSocketServerUrl:e.wsProtocol+e.host,h+=r.getUrl(e,this.name,a),e.log("Connecting to websocket endpoint '"+h+"'."),e.socket=new t.WebSocket(h),e.socket.onopen=function(){c=!0;e.log("Websocket opened.");r.clearReconnectTimeout(e);f(e,i.connectionState.reconnecting,i.connectionState.connected)===!0&&v.triggerHandler(u.onReconnect)},e.socket.onclose=function(t){var r;this===e.socket&&(c&&typeof t.wasClean!="undefined"&&t.wasClean===!1?(r=i._.transportError(i.resources.webSocketClosed,e.transport,t),e.log("Unclean disconnect from websocket: "+(t.reason||"[no reason given]."))):e.log("Websocket closed."),s&&s(r)||(r&&n(e).triggerHandler(u.onError,[r]),l.reconnect(e)))},e.socket.onmessage=function(n){var t;try{t=e._parseResponse(n.data)}catch(i){r.handleParseFailure(e,n.data,i,s,n);return}t&&r.processMessages(e,t,o)})},reconnect:function(n){r.reconnect(n,this.name)},lostConnection:function(n){this.reconnect(n)},stop:function(n){r.clearReconnectTimeout(n);n.socket&&(n.log("Closing the Websocket."),n.socket.close(),n.socket=null)},abort:function(n,t){r.ajaxAbort(n,t)}}}(window.jQuery,window),function(n,t){var i=n.signalR,u=n.signalR.events,e=n.signalR.changeState,r=i.transports._logic,f=function(n){t.clearTimeout(n._.reconnectAttemptTimeoutHandle);delete n._.reconnectAttemptTimeoutHandle};i.transports.serverSentEvents={name:"serverSentEvents",supportsKeepAlive:function(){return!0},timeOut:3e3,start:function(o,s,h){var c=this,l=!1,a=n(o),v=!s,y;if(o.eventSource&&(o.log("The connection already has an event source. Stopping it."),o.stop()),!t.EventSource){h&&(o.log("This browser doesn't support SSE."),h());return}y=r.getUrl(o,this.name,v);try{o.log("Attempting to connect to SSE endpoint '"+y+"'.");o.eventSource=new t.EventSource(y,{withCredentials:o.withCredentials})}catch(p){o.log("EventSource failed trying to connect with error "+p.Message+".");h?h():(a.triggerHandler(u.onError,[i._.transportError(i.resources.eventSourceFailedToConnect,o.transport,p)]),v&&c.reconnect(o));return}v&&(o._.reconnectAttemptTimeoutHandle=t.setTimeout(function(){l===!1&&o.eventSource.readyState!==t.EventSource.OPEN&&c.reconnect(o)},c.timeOut));o.eventSource.addEventListener("open",function(){o.log("EventSource connected.");f(o);r.clearReconnectTimeout(o);l===!1&&(l=!0,e(o,i.connectionState.reconnecting,i.connectionState.connected)===!0&&a.triggerHandler(u.onReconnect))},!1);o.eventSource.addEventListener("message",function(n){var t;if(n.data!=="initialized"){try{t=o._parseResponse(n.data)}catch(i){r.handleParseFailure(o,n.data,i,h,n);return}r.processMessages(o,t,s)}},!1);o.eventSource.addEventListener("error",function(n){var r=i._.transportError(i.resources.eventSourceError,o.transport,n);this===o.eventSource&&(h&&h(r)||(o.log("EventSource readyState: "+o.eventSource.readyState+"."),n.eventPhase===t.EventSource.CLOSED?(o.log("EventSource reconnecting due to the server connection ending."),c.reconnect(o)):(o.log("EventSource error."),a.triggerHandler(u.onError,[r]))))},!1)},reconnect:function(n){r.reconnect(n,this.name)},lostConnection:function(n){this.reconnect(n)},send:function(n,t){r.ajaxSend(n,t)},stop:function(n){f(n);r.clearReconnectTimeout(n);n&&n.eventSource&&(n.log("EventSource calling close()."),n.eventSource.close(),n.eventSource=null,delete n.eventSource)},abort:function(n,t){r.ajaxAbort(n,t)}}}(window.jQuery,window),function(n,t){var r=n.signalR,e=n.signalR.events,o=n.signalR.changeState,i=r.transports._logic,u=function(){var n=t.document.createElement("iframe");return n.setAttribute("style","position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;"),n},f=function(){var i=null,f=1e3,n=0;return{prevent:function(){r._.ieVersion<=8&&(n===0&&(i=t.setInterval(function(){var n=u();t.document.body.appendChild(n);t.document.body.removeChild(n);n=null},f)),n++)},cancel:function(){n===1&&t.clearInterval(i);n>0&&n--}}}();r.transports.foreverFrame={name:"foreverFrame",supportsKeepAlive:function(){return!0},iframeClearThreshold:50,start:function(n,r,e){if(n.accessToken){e&&(n.log("Forever Frame does not support connections that require a Bearer token to connect, such as the Azure SignalR Service."),e());return}var l=this,s=i.foreverFrame.count+=1,h,o=u(),c=function(){n.log("Forever frame iframe finished loading and is no longer receiving messages.");e&&e()||l.reconnect(n)};if(t.EventSource){e&&(n.log("Forever Frame is not supported by SignalR on browsers with SSE support."),e());return}o.setAttribute("data-signalr-connection-id",n.id);f.prevent();h=i.getUrl(n,this.name);h+="&frameId="+s;t.document.documentElement.appendChild(o);n.log("Binding to iframe's load event.");o.addEventListener?o.addEventListener("load",c,!1):o.attachEvent&&o.attachEvent("onload",c);o.src=h;i.foreverFrame.connections[s]=n;n.frame=o;n.frameId=s;r&&(n.onSuccess=function(){n.log("Iframe transport started.");r()})},reconnect:function(n){var r=this;i.isConnectedOrReconnecting(n)&&i.verifyLastActive(n)&&t.setTimeout(function(){if(i.verifyLastActive(n)&&n.frame&&i.ensureReconnectingState(n)){var u=n.frame,t=i.getUrl(n,r.name,!0)+"&frameId="+n.frameId;n.log("Updating iframe src to '"+t+"'.");u.src=t}},n.reconnectDelay)},lostConnection:function(n){this.reconnect(n)},send:function(n,t){i.ajaxSend(n,t)},receive:function(t,u){var f,e,o;if(t.json!==t._originalJson&&(u=t._originalJson.stringify(u)),o=t._parseResponse(u),i.processMessages(t,o,t.onSuccess),t.state===n.signalR.connectionState.connected&&(t.frameMessageCount=(t.frameMessageCount||0)+1,t.frameMessageCount>r.transports.foreverFrame.iframeClearThreshold&&(t.frameMessageCount=0,f=t.frame.contentWindow||t.frame.contentDocument,f&&f.document&&f.document.body)))for(e=f.document.body;e.firstChild;)e.removeChild(e.firstChild)},stop:function(n){var r=null;if(f.cancel(),n.frame){if(n.frame.stop)n.frame.stop();else try{r=n.frame.contentWindow||n.frame.contentDocument;r.document&&r.document.execCommand&&r.document.execCommand("Stop")}catch(u){n.log("Error occurred when stopping foreverFrame transport. Message = "+u.message+".")}n.frame.parentNode===t.document.documentElement&&t.document.documentElement.removeChild(n.frame);delete i.foreverFrame.connections[n.frameId];n.frame=null;n.frameId=null;delete n.frame;delete n.frameId;delete n.onSuccess;delete n.frameMessageCount;n.log("Stopping forever frame.")}},abort:function(n,t){i.ajaxAbort(n,t)},getConnection:function(n){return i.foreverFrame.connections[n]},started:function(t){o(t,r.connectionState.reconnecting,r.connectionState.connected)===!0&&n(t).triggerHandler(e.onReconnect)}}}(window.jQuery,window),function(n,t){var r=n.signalR,u=n.signalR.events,e=n.signalR.changeState,f=n.signalR.isDisconnecting,i=r.transports._logic;r.transports.longPolling={name:"longPolling",supportsKeepAlive:function(){return!1},reconnectDelay:3e3,start:function(o,s,h){var a=this,v=function(){v=n.noop;o.log("LongPolling connected.");s?s():o.log("WARNING! The client received an init message after reconnecting.")},y=function(n){return h(n)?(o.log("LongPolling failed to connect."),!0):!1},c=o._,l=0,p=function(i){t.clearTimeout(c.reconnectTimeoutId);c.reconnectTimeoutId=null;e(i,r.connectionState.reconnecting,r.connectionState.connected)===!0&&(i.log("Raising the reconnect event"),n(i).triggerHandler(u.onReconnect))},w=36e5;o.pollXhr&&(o.log("Polling xhr requests already exists, aborting."),o.stop());o.messageId=null;c.reconnectTimeoutId=null;c.pollTimeoutId=t.setTimeout(function(){(function e(s,h){var g=s.messageId,nt=g===null,k=!nt,tt=!h,d=i.getUrl(s,a.name,k,tt,!0),b={};(s.messageId&&(b.messageId=s.messageId),s.groupsToken&&(b.groupsToken=s.groupsToken),f(s)!==!0)&&(o.log("Opening long polling request to '"+d+"'."),s.pollXhr=i.ajax(o,{xhrFields:{onprogress:function(){i.markLastMessage(o)}},url:d,type:"POST",contentType:r._.defaultContentType,data:b,timeout:o._.pollTimeout,headers:o.accessToken?{Authorization:"Bearer "+o.accessToken}:{},success:function(r){var h,w=0,u,a;o.log("Long poll complete.");l=0;try{h=o._parseResponse(r)}catch(b){i.handleParseFailure(s,r,b,y,s.pollXhr);return}(c.reconnectTimeoutId!==null&&p(s),h&&(u=i.maximizePersistentResponse(h)),i.processMessages(s,h,v),u&&n.type(u.LongPollDelay)==="number"&&(w=u.LongPollDelay),f(s)!==!0)&&(a=u&&u.ShouldReconnect,!a||i.ensureReconnectingState(s))&&(w>0?c.pollTimeoutId=t.setTimeout(function(){e(s,a)},w):e(s,a))},error:function(f,h){var v=r._.transportError(r.resources.longPollFailed,o.transport,f,s.pollXhr);if(t.clearTimeout(c.reconnectTimeoutId),c.reconnectTimeoutId=null,h==="abort"){o.log("Aborted xhr request.");return}if(!y(v)){if(l++,o.state!==r.connectionState.reconnecting&&(o.log("An error occurred using longPolling. Status = "+h+".  Response = "+f.responseText+"."),n(s).triggerHandler(u.onError,[v])),(o.state===r.connectionState.connected||o.state===r.connectionState.reconnecting)&&!i.verifyLastActive(o))return;if(!i.ensureReconnectingState(s))return;c.pollTimeoutId=t.setTimeout(function(){e(s,!0)},a.reconnectDelay)}}}),k&&h===!0&&(c.reconnectTimeoutId=t.setTimeout(function(){p(s)},Math.min(1e3*(Math.pow(2,l)-1),w))))})(o)},250)},lostConnection:function(n){n.pollXhr&&n.pollXhr.abort("lostConnection")},send:function(n,t){i.ajaxSend(n,t)},stop:function(n){t.clearTimeout(n._.pollTimeoutId);t.clearTimeout(n._.reconnectTimeoutId);delete n._.pollTimeoutId;delete n._.reconnectTimeoutId;n.pollXhr&&(n.pollXhr.abort(),n.pollXhr=null,delete n.pollXhr)},abort:function(n,t){i.ajaxAbort(n,t)}}}(window.jQuery,window),function(n){function r(n){return n+s}function c(n,t,i){for(var f=n.length,u=[],r=0;r<f;r+=1)n.hasOwnProperty(r)&&(u[r]=t.call(i,n[r],r,n));return u}function l(t){return n.isFunction(t)?null:n.type(t)==="undefined"?null:t}function u(n){for(var t in n)if(n.hasOwnProperty(t))return!0;return!1}function f(n,t){var i=n._.invocationCallbacks,r,f;u(i)&&n.log("Clearing hub invocation callbacks with error: "+t+".");n._.invocationCallbackId=0;delete n._.invocationCallbacks;n._.invocationCallbacks={};for(f in i)r=i[f],r.method.call(r.scope,{E:t})}function e(t){return n.isFunction(t)&&t.toString().slice(0,256).indexOf("// Call the client hub method")>=0}function i(n,t){return new i.fn.init(n,t)}function t(i,r){var u={qs:null,logging:!1,useDefaultPath:!0};return n.extend(u,r),(!i||u.useDefaultPath)&&(i=(i||"")+"/signalr"),new t.fn.init(i,u)}var o=0,s=".hubProxy",h=n.signalR;i.fn=i.prototype={init:function(n,t){this.state={};this.connection=n;this.hubName=t;this._={callbackMap:{}}},constructor:i,hasSubscriptions:function(){return u(this._.callbackMap)},on:function(t,i,u){var c=this,l=c._.callbackMap,v=!u&&e(i),f,h,s,a;for(u=u||i,u._signalRGuid||(u._signalRGuid=o++),t=t.toLowerCase(),f=l[t],f||(f=[],l[t]=f),s=0;s<f.length;s++)(f[s].guid===u._signalRGuid||v&&f[s].isFromOldGeneratedHubProxy)&&(h=f[s]);return h||(h={guid:u._signalRGuid,eventHandlers:[],isFromOldGeneratedHubProxy:v},l[t].push(h)),a=function(n,t){i.apply(c,t)},h.eventHandlers.push(a),n(c).bind(r(t),a),c},off:function(t,i,u){var s=this,l=s._.callbackMap,f,a=!u&&e(i),h,v,o,c;if(u=u||i,t=t.toLowerCase(),f=l[t],f)if(i){for(o=0;o<f.length;o++)(f[o].guid===u._signalRGuid||a&&f[o].isFromOldGeneratedHubProxy)&&(v=o,h=f[o]);if(h){for(c=0;c<h.eventHandlers.length;c++)n(s).unbind(r(t),h.eventHandlers[c]);f.splice(o,1);f.length===0&&delete l[t]}}else i||(n(s).unbind(r(t)),delete l[t]);return s},invoke:function(t){var i=this,r=i.connection,e=n.makeArray(arguments).slice(1),o=c(e,l),f={H:i.hubName,M:t,A:o,I:r._.invocationCallbackId},u=n.Deferred(),s=function(f){var e=i._maximizeHubResponse(f),s,o;n.extend(i.state,e.State);e.Progress?u.notifyWith?u.notifyWith(i,[e.Progress.Data]):r._.progressjQueryVersionLogged||(r.log("A hub method invocation progress update was received but the version of jQuery in use ("+n.prototype.jquery+") does not support progress updates. Upgrade to jQuery 1.7+ to receive progress notifications."),r._.progressjQueryVersionLogged=!0):e.Error?(e.StackTrace&&r.log(e.Error+"\n"+e.StackTrace+"."),s=e.IsHubException?"HubException":"Exception",o=h._.error(e.Error,s),o.data=e.ErrorData,r.log(i.hubName+"."+t+" failed to execute. Error: "+o.message),u.rejectWith(i,[o])):(r.log("Invoked "+i.hubName+"."+t),u.resolveWith(i,[e.Result]))};return r._.invocationCallbacks[r._.invocationCallbackId.toString()]={scope:i,method:s},r._.invocationCallbackId+=1,n.isEmptyObject(i.state)||(f.S=i.state),r.log("Invoking "+i.hubName+"."+t),r.send(f),u.promise()},_maximizeHubResponse:function(n){return{State:n.S,Result:n.R,Progress:n.P?{Id:n.P.I,Data:n.P.D}:null,Id:n.I,IsHubException:n.H,Error:n.E,StackTrace:n.T,ErrorData:n.D}}};i.fn.init.prototype=i.fn;t.fn=t.prototype=n.connection();t.fn.init=function(t,i){var e={qs:null,logging:!1,useDefaultPath:!0},u=this;n.extend(e,i);n.signalR.fn.init.call(u,t,e.qs,e.logging);u.proxies={};u._.invocationCallbackId=0;u._.invocationCallbacks={};u.received(function(t){var f,o,e,i,s,h;t&&(typeof t.P!="undefined"?(e=t.P.I.toString(),i=u._.invocationCallbacks[e],i&&i.method.call(i.scope,t)):typeof t.I!="undefined"?(e=t.I.toString(),i=u._.invocationCallbacks[e],i&&(u._.invocationCallbacks[e]=null,delete u._.invocationCallbacks[e],i.method.call(i.scope,t))):(f=this._maximizeClientHubInvocation(t),u.log("Triggering client hub event '"+f.Method+"' on hub '"+f.Hub+"'."),s=f.Hub.toLowerCase(),h=f.Method.toLowerCase(),o=this.proxies[s],n.extend(o.state,f.State),n(o).triggerHandler(r(h),[f.Args])))});u.error(function(n,t){var i,r;t&&(i=t.I,r=u._.invocationCallbacks[i],r&&(u._.invocationCallbacks[i]=null,delete u._.invocationCallbacks[i],r.method.call(r.scope,{E:n})))});u.reconnecting(function(){u.transport&&u.transport.name==="webSockets"&&f(u,"Connection started reconnecting before invocation result was received.")});u.disconnected(function(){f(u,"Connection was disconnected before invocation result was received.")})};t.fn._maximizeClientHubInvocation=function(n){return{Hub:n.H,Method:n.M,Args:n.A,State:n.S}};t.fn._registerSubscribedHubs=function(){var t=this;t._subscribedToHubs||(t._subscribedToHubs=!0,t.starting(function(){var i=[];n.each(t.proxies,function(n){this.hasSubscriptions()&&(i.push({name:n}),t.log("Client subscribed to hub '"+n+"'."))});i.length===0&&t.log("No hubs have been subscribed to.  The client will not receive data from hubs.  To fix, declare at least one client side function prior to connection start for each hub you wish to subscribe to.");t.data=t.json.stringify(i)}))};t.fn.createHubProxy=function(n){n=n.toLowerCase();var t=this.proxies[n];return t||(t=i(this,n),this.proxies[n]=t),this._registerSubscribedHubs(),t};t.fn.init.prototype=t.fn;n.hubConnection=t}(window.jQuery,window),function(n){n.signalR.version="2.4.
14041"}(window.jQuery);
1405/** @preserve
1406jSignature v2 "${buildDate}" "${commitID}"
1407Copyright (c) 2012 Willow Systems Corp http://willow-systems.com
1408Copyright (c) 2010 Brinley Ang http://www.unbolt.net
1409MIT License <http://www.opensource.org/licenses/mit-license.php>
1410*/
1411(function(){function h(n){for(var t,y,h=n.css("color"),f,o=n[0],p=!1,c,l,i,r,a,s,e,u,w,v;o&&!f&&!p;){try{t=$(o).css("background-color")}catch(b){t="transparent"}t!=="transparent"&&t!=="rgba(0, 0, 0, 0)"&&(f=t);p=o.body;o=o.parentNode}return c=/rgb[a]*\((\d+),\s*(\d+),\s*(\d+)/,l=/#([AaBbCcDdEeFf\d]{2})([AaBbCcDdEeFf\d]{2})([AaBbCcDdEeFf\d]{2})/,t=y,t=h.match(c),t?i={r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}:(t=h.match(l),t&&(i={r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)})),f?(t=y,t=f.match(c),t?r={r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}:(t=f.match(l),t&&(r={r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}))):r=i?Math.max.apply(null,[i.r,i.g,i.b])>127?{r:0,g:0,b:0}:{r:255,g:255,b:255}:{r:255,g:255,b:255},a=function(n){return"rgb("+[n.r,n.g,n.b].join(", ")+")"},i&&r?(w=Math.max.apply(null,[i.r,i.g,i.b]),e=Math.max.apply(null,[r.r,r.g,r.b]),u=Math.round(e+-1*(e-w)*.75),s={r:u,g:u,b:u}):i?(e=Math.max.apply(null,[i.r,i.g,i.b]),v=1,e>127&&(v=-1),u=Math.round(e+v*96),s={r:u,g:u,b:u}):s={r:191,g:191,b:191},{color:h,"background-color":r?a(r):f,"decor-color":a(s)}}function i(n,t){this.x=n;this.y=t;this.reverse=function(){return new this.constructor(this.x*-1,this.y*-1)};this._length=null;this.getLength=function(){return this._length||(this._length=Math.sqrt(Math.pow(this.x,2)+Math.pow(this.y,2))),this._length};var i=function(n){return Math.round(n/Math.abs(n))};this.resizeTo=function(n){if(this.x===0&&this.y===0)this._length=0;else if(this.x===0)this._length=n,this.y=n*i(this.y);else if(this.y===0)this._length=n,this.x=n*i(this.x);else{var t=Math.abs(this.y/this.x),r=Math.sqrt(Math.pow(n,2)/(1+Math.pow(t,2))),u=t*r;this._length=n;this.x=r*i(this.x);this.y=u*i(this.y)}return this};this.angleTo=function(n){var t=this.getLength()*n.getLength();return t===0?0:Math.acos(Math.min(Math.max((this.x*n.x+this.y*n.y)/t,-1),1))/Math.PI}}function t(n,t){this.x=n;this.y=t;this.getVectorToCoordinates=function(n,t){return new i(n-this.x,t-this.y)};this.getVectorFromCoordinates=function(n,t){return this.getVectorToCoordinates(n,t).reverse()};this.getVectorToPoint=function(n){return new i(n.x-this.x,n.y-this.y)};this.getVectorFromPoint=function(n){return this.getVectorToPoint(n).reverse()}}function c(n,t,i,r,u){var s,f,h,e,o;if(this.data=n,this.context=t,n.length)for(s=n.length,e=0;e<s;e++){for(f=n[e],h=f.x.length,i.call(t,f),o=1;o<h;o++)r.call(t,f,o);u.call(t,f)}this.changed=function(){};this.startStrokeFn=i;this.addToStrokeFn=r;this.endStrokeFn=u;this.inStroke=!1;this._lastPoint=null;this._stroke=null;this.startStroke=function(n){if(n&&typeof n.x=="number"&&typeof n.y=="number"){this._stroke={x:[n.x],y:[n.y]};this.data.push(this._stroke);this._lastPoint=n;this.inStroke=!0;var t=this._stroke,i=this.startStrokeFn,r=this.context;return setTimeout(function(){i.call(r,t)},3),n}return null};this.addToStroke=function(n){var t;if(this.inStroke&&typeof n.x=="number"&&typeof n.y=="number"&&Math.abs(n.x-this._lastPoint.x)+Math.abs(n.y-this._lastPoint.y)>4){t=this._stroke.x.length;this._stroke.x.push(n.x);this._stroke.y.push(n.y);this._lastPoint=n;var i=this._stroke,r=this.addToStrokeFn,u=this.context;return setTimeout(function(){r.call(u,i,t)},3),n}return null};this.endStroke=function(){var t=this.inStroke;if(this.inStroke=!1,this._lastPoint=null,t){var i=this._stroke,r=this.endStrokeFn,n=this.context,u=this.changed;return setTimeout(function(){r.call(n,i);u.call(n)},3),!0}return null}}function p(n,t,i,r){"use strict";(t==="ratio"||t.split("")[t.length-1]==="%")&&(this.eventTokens[i+".parentresized"]=r.subscribe(i+".parentresized",function(t,u,f){return function(){var s=u.width(),o,e;if(s!==f){for(e in t)t.hasOwnProperty(e)&&(r.unsubscribe(t[e]),delete t[e]);o=n.settings;n.$parent.children().remove();for(e in n)n.hasOwnProperty(e)&&delete n[e];o.data=function(n,t){for(var e=[],r,i,s,f,u=0,o=n.length;u<o;u++){for(f=n[u],r={x:[],y:[]},i=0,s=f.x.length;i<s;i++)r.x.push(f.x[i]*t),r.y.push(f.y[i]*t);e.push(r)}return e}(o.data,s*1/f);u[i](o)}}}(this.eventTokens,this.$parent,this.$parent.width(),this.canvas.width*1/this.canvas.height)))}function u(i,r,u){var a=this.$parent=$(i),w=this.eventTokens={},b=this.events=new f(this),y=$.fn[n]("globalEvents"),e={width:"ratio",height:"ratio",sizeRatio:4,color:"#000","background-color":"#fff","decor-color":"#eee",lineWidth:0,minFatFingerCompensation:-10,showUndoButton:!1,readOnly:!1,data:[],signatureLine:!1},c,l,v,o;$.extend(e,h(a));r&&$.extend(e,r);this.settings=e;for(c in u)u.hasOwnProperty(c)&&u[c].call(this,c);return this.events.publish(n+".initializing"),this.$controlbarUpper=function(){return $('<div style="padding:0 !important; margin:0 !important;width: 100% !important; height: 0 !important; -ms-touch-action: none; touch-action: none;margin-top:-1em !important; margin-bottom:1em !important;"><\/div>').appendTo(a)}(),this.isCanvasEmulator=!1,l=this.canvas=this.initializeCanvas(e),v=$(l),this.$controlbarLower=function(){return $('<div style="padding:0 !important; margin:0 !important;width: 100% !important; height: 0 !important; -ms-touch-action: none; touch-action: none;margin-top:-1.5em !important; margin-bottom:1.5em !important; position: relative;"><\/div>').appendTo(a)}(),this.canvasContext=l.getContext("2d"),v.data(n+".this",this),e.lineWidth=function(n,t){return n?n:Math.max(Math.round(t/400),2)}(e.lineWidth,l.width),this.lineCurveThreshold=e.lineWidth*3,e.cssclass&&$.trim(e.cssclass)!=""&&v.addClass(e.cssclass),this.fatFingerCompensation=0,o=function(n){var r,u,e=function(){var t=$(n.canvas).offset();r=t.left*-1;u=t.top*-1},f=function(i){var f=i.changedTouches&&i.changedTouches.length>0?i.changedTouches[0]:i;return new t(Math.round(f.pageX+r),Math.round(f.pageY+u)+n.fatFingerCompensation)},i=new s(750,function(){n.dataEngine.endStroke()});return this.drawEndHandler=function(t){if(!n.settings.readOnly){try{t.preventDefault()}catch(r){}i.clear();n.dataEngine.endStroke()}},this.drawStartHandler=function(t){n.settings.readOnly||(t.preventDefault(),e(),n.dataEngine.startStroke(f(t)),i.kick())},this.drawMoveHandler=function(t){if(!n.settings.readOnly){if(t.preventDefault(),!n.dataEngine.inStroke)return;n.dataEngine.addToStroke(f(t));i.kick()}},this}.call({},this),function(t,i,r){var u=this.canvas,f=$(u),o;this.isCanvasEmulator?(f.bind("mousemove."+n,r),f.bind("mouseup."+n,t),f.bind("mousedown."+n,i)):(u.ontouchstart=function(n){u.onmousedown=u.onmouseup=u.onmousemove=o;this.fatFingerCompensation=e.minFatFingerCompensation&&e.lineWidth*-3>e.minFatFingerCompensation?e.lineWidth*-3:e.minFatFingerCompensation;i(n);u.ontouchend=t;u.ontouchstart=i;u.ontouchmove=r},u.onmousedown=function(n){u.ontouchstart=u.ontouchend=u.ontouchmove=o;i(n);u.onmousedown=i;u.onmouseup=t;u.onmousemove=r},window.navigator.msPointerEnabled&&(u.onmspointerdown=i,u.onmspointerup=t,u.onmspointermove=r))}.call(this,o.drawEndHandler,o.drawStartHandler,o.drawMoveHandler),w[n+".windowmouseup"]=y.subscribe(n+".windowmouseup",o.drawEndHandler),this.events.publish(n+".attachingEventHandlers"),p.call(this,this,e.width.toString(10),n,y),this.resetCanvas(e.data),this.events.publish(n+".initialized"),this}function w(n){var t,r,i;if(n.getContext)return!1;if(t=n.ownerDocument.parentWindow,r=t.FlashCanvas?n.ownerDocument.parentWindow.Flas
1411hCanvas:typeof FlashCanvas=="undefined"?undefined:FlashCanvas,r){if(n=r.initElement(n),i=1,t&&t.screen&&t.screen.deviceXDPI&&t.screen.logicalXDPI&&(i=t.screen.deviceXDPI*1/t.screen.logicalXDPI),i!==1)try{$(n).children("object").get(0).resize(Math.ceil(n.width*i),Math.ceil(n.height*i));n.getContext("2d").scale(i,i)}catch(u){}return!0}throw new Error("Canvas element does not support 2d context. jSignature cannot proceed.");}var n="jSignature",s=function(n,t){var i;return this.kick=function(){clearTimeout(i);i=setTimeout(t,n)},this.clear=function(){clearTimeout(i)},this},f=function(n){"use strict";
1412/*  @preserve
1413	-----------------------------------------------------------------------------------------------
1414	JavaScript PubSub library
1415	2012 (c) Willow Systems Corp (www.willow-systems.com)
1416	based on Peter Higgins ([email protected])
1417	Loosely based on Dojo publish/subscribe API, limited in scope. Rewritten blindly.
1418	Original is (c) Dojo Foundation 2004-2010. Released under either AFL or new BSD, see:
1419	http://dojofoundation.org/license for more information.
1420	-----------------------------------------------------------------------------------------------
1421	*/
1422this.topics={};this.context=n?n:this;this.publish=function(n){if(this.topics[n]){for(var u=this.topics[n],s=Array.prototype.slice.call(arguments,1),f=[],e=[],o,r,t=0,i=u.length;t<i;t++)r=u[t],o=r[0],r[1]&&(r[0]=function(){},f.push(t)),e.push(o);for(t=0,i=f.length;t<i;t++)u.splice(f[t],1);for(t=0,i=e.length;t<i;t++)e[t].apply(this.context,s)}};this.subscribe=function(n,t,i){return this.topics[n]?this.topics[n].push([t,i]):this.topics[n]=[[t,i]],{topic:n,callback:t}};this.unsubscribe=function(n){var i,t,r;if(this.topics[n.topic])for(i=this.topics[n.topic],t=0,r=i.length;t<r;t++)i[t]&&i[t][0]===n.callback&&i.splice(t,1)}},l=function(n,t,i,r){var u=n.fillStyle;n.fillStyle=n.strokeStyle;n.fillRect(t+r/-2,i+r/-2,r,r);n.fillStyle=u},r=function(n,t,i,r,u){n.beginPath();n.moveTo(t,i);n.lineTo(r,u);n.closePath();n.stroke()},e=function(n,t,i,r,u,f,e,o,s){n.beginPath();n.moveTo(t,i);n.bezierCurveTo(f,e,o,s,r,u);n.closePath();n.stroke()},a=function(n){l(this.canvasContext,n.x[0],n.y[0],this.settings.lineWidth)},v=function(n,u){var o=new t(n.x[u-1],n.y[u-1]),l=new t(n.x[u],n.y[u]),h=o.getVectorToPoint(l),s,f,c;if(u>1&&(s=new t(n.x[u-2],n.y[u-2]),f=s.getVectorToPoint(o),f.getLength()>this.lineCurveThreshold)){c=u>2?new t(n.x[u-3],n.y[u-3]).getVectorToPoint(s):new i(0,0);var a=.05,v=f.getLength()*.35,w=f.angleTo(c.reverse()),b=h.angleTo(f.reverse()),y=new i(c.x+f.x,c.y+f.y).resizeTo(Math.max(a,w)*v),p=new i(f.x+h.x,f.y+h.y).reverse().resizeTo(Math.max(a,b)*v);e(this.canvasContext,s.x,s.y,o.x,o.y,s.x+y.x,s.y+y.y,o.x+p.x,o.y+p.y)}h.getLength()<=this.lineCurveThreshold&&r(this.canvasContext,o.x,o.y,l.x,l.y)},y=function(n){var u=n.x.length-1,c;if(u>0){var o=new t(n.x[u],n.y[u]),f=new t(n.x[u-1],n.y[u-1]),s=f.getVectorToPoint(o),h;s.getLength()>this.lineCurveThreshold&&(u>1?(h=new t(n.x[u-2],n.y[u-2]).getVectorToPoint(f),c=new i(h.x+s.x,h.y+s.y).resizeTo(s.getLength()/2),e(this.canvasContext,f.x,f.y,o.x,o.y,f.x+c.x,f.y+c.y,o.x,o.y)):r(this.canvasContext,f.x,f.y,o.x,o.y))}},o;u.prototype.resetCanvas=function(t,i){var s=this.canvas,f=this.settings,u=this.canvasContext,p=this.isCanvasEmulator,h=s.width,e=s.height,o,l;return i||u.clearRect(0,0,h+30,e+30),u.shadowColor=u.fillStyle=f["background-color"],p&&u.fillRect(0,0,h+30,e+30),u.lineWidth=Math.ceil(parseInt(f.lineWidth,10)),u.lineCap=u.lineJoin="round",f.signatureLine&&(null!=f["decor-color"]&&(u.strokeStyle=f["decor-color"],u.shadowOffsetX=0,u.shadowOffsetY=0,o=Math.round(e/5),r(u,o*1.5,e-o,h-o*1.5,e-o)),p||(u.shadowColor=u.strokeStyle,u.shadowOffsetX=u.lineWidth*.5,u.shadowOffsetY=u.lineWidth*-.6,u.shadowBlur=0)),u.strokeStyle=f.color,t||(t=[]),l=this.dataEngine=new c(t,this,a,v,y),f.data=t,$(s).data(n+".data",t).data(n+".settings",f),l.changed=function(n,t,i){"use strict";return function(){t.publish(i+".change");n.trigger("change")}}(this.$parent,this.events,n),l.changed(),!0};u.prototype.initializeCanvas=function(t){var r=document.createElement("canvas"),i=$(r);return t.width===t.height&&t.height==="ratio"&&(t.width="100%"),i.css({margin:0,padding:0,border:"none",height:t.height==="ratio"||!t.height?1:t.height.toString(10),width:t.width==="ratio"||!t.width?1:t.width.toString(10),"-ms-touch-action":"none","touch-action":"none","background-color":t["background-color"]}),i.appendTo(this.$parent),t.height==="ratio"?i.css("height",Math.round(i.width()/t.sizeRatio)):t.width==="ratio"&&i.css("width",Math.round(i.height()*t.sizeRatio)),i.addClass(n),r.width=i.width(),r.height=i.height(),this.isCanvasEmulator=w(r),r.onselectstart=function(n){return n&&n.preventDefault&&n.preventDefault(),n&&n.stopPropagation&&n.stopPropagation(),!1},r};o=function(t){function r(n,t){"use strict";var i=new Image,r=this;i.onload=function(){var n=r.getContext("2d"),t=n.shadowColor;n.shadowColor="transparent";n.drawImage(i,0,0,i.width<r.width?i.width:r.width,i.height<r.height?i.height:r.height);n.shadowColor=t};i.src="data:"+t+","+n}function l(t,i){return this.find("canvas."+n).add(this.filter("canvas."+n)).data(n+".this").resetCanvas(t,i),this}function a(t,i){var u,r;if(i!==u||typeof t!="string"||t.substr(0,5)!=="data:"||(i=t.slice(5).split(",")[0],t=t.slice(6+i.length),i!==t)){if(r=this.find("canvas."+n).add(this.filter("canvas."+n)),e.hasOwnProperty(i))r.length!==0&&e[i].call(r[0],t,i,function(n){return function(){return n.resetCanvas.apply(n,arguments)}}(r.data(n+".this")));else throw new Error(n+" is unable to find import plugin with for format '"+String(i)+"'");return this}}var c=new f,s,i,e;(function(n,t,i,r){"use strict";var u,f=function(){n.publish(t+".parentresized")};i(r).bind("resize."+t,function(){u&&clearTimeout(u);u=setTimeout(f,500)}).bind("mouseup."+t,function(){n.publish(t+".windowmouseup")})})(c,n,$,t);s={};i={"default":function(){return this.toDataURL()},"native":function(n){return n},image:function(){var n=this.toDataURL(),t;return typeof n=="string"&&n.length>4&&n.slice(0,5)==="data:"&&n.indexOf(",")!==-1?(t=n.indexOf(","),[n.slice(5,t),n.substr(t+1)]):[]}};e={"native":function(n,t,i){i(n)},image:r,"image/png;base64":r,"image/jpeg;base64":r,"image/jpg;base64":r};var v=function(n){var t=!1;for(n=n.parentNode;n&&!t;)t=n.body,n=n.parentNode;return!t},o={"export":i,"import":e,instance:s},h={init:function(n){return this.each(function(){v(this)||new u(this,n,s)})},destroy:function(){return this.each(function(){if(!v(this)){var t=$(this).find("canvas").data(n+".this");t&&(t.$controlbarLower.remove(),t.$controlbarUpper.remove(),$(t.canvas).remove())}})},getSettings:function(){return this.find("canvas."+n).add(this.filter("canvas."+n)).data(n+".this").settings},isModified:function(){return this.find("canvas."+n).add(this.filter("canvas."+n)).data(n+".this").dataEngine._stroke!==null},updateSetting:function(t,i,r){var u=this.find("canvas."+n).add(this.filter("canvas."+n)).data(n+".this");return u.settings[t]=i,u.resetCanvas(r?null:u.settings.data,!0),u.settings[t]},clear:l,reset:l,addPlugin:function(n,t,i){return o.hasOwnProperty(n)&&(o[n][t]=i),this},listPlugins:function(n){var r=[],t,i;if(o.hasOwnProperty(n)){t=o[n];for(i in t)t.hasOwnProperty(i)&&r.push(i)}return r},getData:function(t){var u,r=this.find("canvas."+n).add(this.filter("canvas."+n));return t===u&&(t="default"),r.length!==0&&i.hasOwnProperty(t)?i[t].call(r.get(0),r.data(n+".data"),r.data(n+".settings")):void 0},importData:a,setData:a,globalEvents:function(){return c},disable:function(){this.find("input").attr("disabled",1);this.find("canvas."+n).addClass("disabled").data(n+".this").settings.readOnly=!0},enable:function(){this.find("input").removeAttr("disabled");this.find("canvas."+n).removeClass("disabled").data(n+".this").settings.readOnly=!1},events:function(){return this.find("canvas."+n).add(this.filter("canvas."+n)).data(n+".this").events}};$.fn[n]=function(t){"use strict";if(t&&typeof t!="object"){if(typeof t=="string"&&h[t])return h[t].apply(this,Array.prototype.slice.call(arguments,1
1422));$.error("Method "+String(t)+" does not exist on jQuery."+n)}else return h.init.apply(this,arguments)}};o(window)})();
1423/** @license
1424jSignature v2 SVG export plugin.
1425*/
1426(function(){"use strict";function t(n,t){this.x=n;this.y=t;this.reverse=function(){return new this.constructor(this.x*-1,this.y*-1)};this._length=null;this.getLength=function(){return this._length||(this._length=Math.sqrt(Math.pow(this.x,2)+Math.pow(this.y,2))),this._length};var i=function(n){return Math.round(n/Math.abs(n))};this.resizeTo=function(n){if(this.x===0&&this.y===0)this._length=0;else if(this.x===0)this._length=n,this.y=n*i(this.y);else if(this.y===0)this._length=n,this.x=n*i(this.x);else{var t=Math.abs(this.y/this.x),r=Math.sqrt(Math.pow(n,2)/(1+Math.pow(t,2))),u=t*r;this._length=n;this.x=r*i(this.x);this.y=u*i(this.y)}return this};this.angleTo=function(n){var t=this.getLength()*n.getLength();return t===0?0:Math.acos(Math.min(Math.max((this.x*n.x+this.y*n.y)/t,-1),1))/Math.PI}}function i(n,i){this.x=n;this.y=i;this.getVectorToCoordinates=function(n,i){return new t(n-this.x,i-this.y)};this.getVectorFromCoordinates=function(n,t){return this.getVectorToCoordinates(n,t).reverse()};this.getVectorToPoint=function(n){return new t(n.x-this.x,n.y-this.y)};this.getVectorFromPoint=function(n){return this.getVectorToPoint(n).reverse()}}function n(n,t){var i=Math.pow(10,t);return Math.round(n*i)/i}function h(r,u,f){u+=1;var c=new i(r.x[u-1],r.y[u-1]),b=new i(r.x[u],r.y[u]),h=c.getVectorToPoint(b),l=new i(r.x[u-2],r.y[u-2]),e=l.getVectorToPoint(c),s,o=2;if(e.getLength()>f){s=u>2?new i(r.x[u-3],r.y[u-3]).getVectorToPoint(l):new t(0,0);var a=.05,v=e.getLength()*.35,k=e.angleTo(s.reverse()),d=h.angleTo(e.reverse()),y=new t(s.x+e.x,s.y+e.y).resizeTo(Math.max(a,k)*v),p=new t(e.x+h.x,e.y+h.y).reverse().resizeTo(Math.max(a,d)*v),w=new t(e.x+p.x,e.y+p.y);return["c",n(y.x,o),n(y.y,o),n(w.x,o),n(w.y,o),n(e.x,o),n(e.y,o)]}return["l",n(e.x,o),n(e.y,o)]}function c(r,u){var o=r.x.length-1,l=new i(r.x[o],r.y[o]),h=new i(r.x[o-1],r.y[o-1]),f=h.getVectorToPoint(l),e=2;if(o>1&&f.getLength()>u){var s=new i(r.x[o-2],r.y[o-2]).getVectorToPoint(h),a=f.angleTo(s.reverse()),v=f.getLength()*.35,c=new t(s.x+f.x,s.y+f.y).resizeTo(Math.max(.05,a)*v);return["c",n(c.x,e),n(c.y,e),n(f.x,e),n(f.y,e),n(f.x,e),n(f.y,e)]}return["l",n(f.x,e),n(f.y,e)]}function l(t,i,r){for(var u=["M",n(t.x[0]-i,2),n(t.y[0]-r,2)],f=1,e=t.x.length-1,o=1;f<e;f++)u.push.apply(u,h(t,f,o));return e>0?u.push.apply(u,c(t,f,o)):e===0&&u.push.apply(u,["l",1,1]),u.join(" ")}function a(n){for(var i=[],u={x:[],y:[]},t=0,r=n.x.length;t<r;t++)i.push({x:n.x[t],y:n.y[t]});for(i=simplify(i,.7,!0),t=0,r=i.length;t<r;t++)u.x.push(i[t].x),u.y.push(i[t].y);return u}function v(n){for(var u=[],i=[["fill",undefined,"none"],["stroke","color","#000000"],["stroke-width","lineWidth",2],["stroke-linecap",undefined,"round"],["stroke-linejoin",undefined,"round"]],t=i.length-1;t>=0;t--){var f=i[t][0],r=i[t][1],e=i[t][2];u.push(f+'="'+(r in n&&n[r]?n[r]:e)+'"')}return u.join(" ")}function e(n,t){var u=['<?xml version="1.0" encoding="UTF-8" standalone="no"?>','<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'],i,f=n.length,r,e=[],o=[],p=0,w=0,b=0,k=0,s,d,h,g,c=1,y=[];if(f!==0){for(i=0;i<f;i++)r=a(n[i]),y.push(r),e=e.concat(r.x),o=o.concat(r.y);s=Math.min.apply(null,e)-c;d=Math.max.apply(null,e)+c;h=Math.min.apply(null,o)-c;g=Math.max.apply(null,o)+c;b=s<0?0:s;k=h<0?0:h;p=d-s;w=g-h}for(u.push('<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+p.toString()+'" height="'+w.toString()+'">'),i=0,f=y.length;i<f;i++)r=y[i],u.push("<path "+v(t)+' d="'+l(r,b,k)+'"/>');return u.push("<\/svg>"),u.join("")}function o(n,t){return[u,e(n,t)]}function s(n,t){return[f,r(e(n,t))]}function y(n){var t=n.fn.jSignature;t("addPlugin","export","svg",o);t("addPlugin","export",u,o);t("addPlugin","export","svgbase64",s);t("addPlugin","export",f,s)}var r,u,f;if(function(n,t){function i(n,t){var i=n.x-t.x,r=n.y-t.y;return i*i+r*r}function r(n,t,i){var f=t.x,e=t.y,r=i.x-f,u=i.y-e,o;return(r!==0||u!==0)&&(o=((n.x-f)*r+(n.y-e)*u)/(r*r+u*u),o>1?(f=i.x,e=i.y):o>0&&(f+=r*o,e+=u*o)),r=n.x-f,u=n.y-e,r*r+u*u}function u(n,t){for(var o=n.length,r,f=n[0],e=[f],u=1;u<o;u++)r=n[u],i(r,f)>t&&(e.push(r),f=r);return f!==r&&e.push(r),e}function f(n,i){var c=n.length,p=typeof Uint8Array!=t+""?Uint8Array:Array,o=new p(c),e=0,f=c-1,u,s,l,h,a=[],v=[],y=[];for(o[e]=o[f]=1;f;){for(s=0,u=e+1;u<f;u++)l=r(n[u],n[e],n[f]),l>s&&(h=u,s=l);s>i&&(o[h]=1,a.push(e),v.push(h),a.push(h),v.push(f));e=a.pop();f=v.pop()}for(u=0;
1426u<c;u++)o[u]&&y.push(n[u]);return y}"use strict";var e=typeof exports!=t+""?exports:n;e.simplify=function(n,i,r){var e=i!==t?i*i:1;return r||(n=u(n,e)),n=f(n,e),n}}(window),typeof r!="function"&&(r=function(n){
1427/** @preserve
1428base64 encoder
1429MIT, GPL
1430http://phpjs.org/functions/base64_encode
1431+   original by: Tyler Akins (http://rumkin.com)
1432+   improved by: Bayron Guevara
1433+   improved by: Thunder.m
1434+   improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
1435+   bugfixed by: Pellentesque Malesuada
1436+   improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
1437+   improved by: Rafal Kukawski (http://kukawski.pl)
1438*/
1439var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),e,o,s,h,c,l,a,t,r=0,y=0,f="",v=[],u;do e=n.charCodeAt(r++),o=n.charCodeAt(r++),s=n.charCodeAt(r++),t=e<<16|o<<8|s,h=t>>18&63,c=t>>12&63,l=t>>6&63,a=t&63,v[y++]=i[h]+i[c]+i[l]+i[a];while(r<n.length);return f=v.join(""),u=n.length%3,(u?f.slice(0,u-3):f)+"===".slice(u||3)}),u="image/svg+xml",f="image/svg+xml;base64",typeof $=="undefined")throw new Error("We need jQuery for some of the functionality. jQuery is not detected. Failing to initialize...");y($)})();
1440
1441
1442// Processed by cv-bundle

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.