src/main/resources/static/assets/lib/kendo/js/kendo.dataviz.mobile.min.js

(开头部分) 1.19MB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/** 
 * Kendo UI v2017.2.621 (http://www.telerik.com/kendo-ui)                                                                                                                                               
 * Copyright 2017 Telerik AD. All rights reserved.                                                                                                                                                      
 *                                                                                                                                                                                                      
 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       

*/
!function(t,define){define("kendo.core.min",["jquery"],t)}(function(){return function(t,e,i){function n(){}function o(t,e){if(e)return"'"+t.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var i=t.charAt(0),n=t.substring(1);return"="===i?"+("+n+")+":":"===i?"+$kendoHtmlEncode("+n+")+":";"+t+";$kendoOutput+="}function r(t,e,i){return t+="",e=e||2,i=e-t.length,i?U[e].substring(0,i)+t:t}function s(t){var e=t.css(vt.support.transitions.css+"box-shadow")||t.css("box-shadow"),i=e?e.match(Mt)||[0,0,0,0,0]:[0,0,0,0,0],n=kt.max(+i[3],+(i[4]||0));return{left:-i[1]+n,right:+i[1]+n,bottom:+i[2]+n}}function a(e,i){var n,o,r,s,a,l,h,c=St.browser,u=vt._outerWidth,d=vt._outerHeight;return e.parent().hasClass("k-animation-container")?(l=e.parent(".k-animation-container"),h=l[0].style,l.is(":hidden")&&l.show(),n=Tt.test(h.width)||Tt.test(h.height),n||l.css({width:i?u(e)+1:u(e),height:d(e),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})):(o=e[0].style.width,r=e[0].style.height,s=Tt.test(o),a=Tt.test(r),n=s||a,!s&&(!i||i&&o)&&(o=i?u(e)+1:u(e)),!a&&(!i||i&&r)&&(r=d(e)),e.wrap(t("<div/>").addClass("k-animation-container").css({width:o,height:r})),n&&e.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})),c.msie&&kt.floor(c.version)<=7&&(e.css({zoom:1}),e.children(".k-menu").width(e.width())),e.parent()}function l(t){var e=1,i=arguments.length;for(e=1;e<i;e++)h(t,arguments[e]);return t}function h(t,e){var i,n,o,r,s,a=vt.data.ObservableArray,l=vt.data.LazyObservableArray,c=vt.data.DataSource,u=vt.data.HierarchicalDataSource;for(i in e)n=e[i],o=typeof n,r=o===It&&null!==n?n.constructor:null,r&&r!==Array&&r!==a&&r!==l&&r!==c&&r!==u&&r!==RegExp?n instanceof Date?t[i]=new Date(n.getTime()):B(n.clone)?t[i]=n.clone():(s=t[i],t[i]=typeof s===It?s||{}:{},h(t[i],n)):o!==Ot&&(t[i]=n);return t}function c(t,e,n){for(var o in e)if(e.hasOwnProperty(o)&&e[o].test(t))return o;return n!==i?n:t}function u(t){return t.replace(/([a-z][A-Z])/g,function(t){return t.charAt(0)+"-"+t.charAt(1).toLowerCase()})}function d(t){return t.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})}function f(e,i){var n,o={};return document.defaultView&&document.defaultView.getComputedStyle?(n=document.defaultView.getComputedStyle(e,""),i&&t.each(i,function(t,e){o[e]=n.getPropertyValue(e)})):(n=e.currentStyle,i&&t.each(i,function(t,e){o[e]=n[d(e)]})),vt.size(o)||(o=n),o}function p(t){if(t&&t.className&&"string"==typeof t.className&&t.className.indexOf("k-auto-scrollable")>-1)return!0;var e=f(t,["overflow"]).overflow;return"auto"==e||"scroll"==e}function g(e,n){var o,r=St.browser.webkit,s=St.browser.mozilla,a=e instanceof t?e[0]:e;if(e)return o=St.isRtl(e),n===i?o&&r?a.scrollWidth-a.clientWidth-a.scrollLeft:Math.abs(a.scrollLeft):(a.scrollLeft=o&&r?a.scrollWidth-a.clientWidth-n:o&&s?-n:n,i)}function m(t){var e,i=0;for(e in t)t.hasOwnProperty(e)&&"toJSON"!=e&&i++;return i}function v(t,i,n){var o,r,s;return i||(i="offset"),o=t[i](),r={top:o.top,right:o.right,bottom:o.bottom,left:o.left},St.browser.msie&&(St.pointers||St.msPointers)&&!n&&(s=St.isRtl(t)?1:-1,r.top-=e.pageYOffset-document.documentElement.scrollTop,r.left-=e.pageXOffset+s*document.documentElement.scrollLeft),r}function _(t){var e={};return wt("string"==typeof t?t.split(" "):t,function(t){e[t]=this}),e}function w(t){return new vt.effects.Element(t)}function y(t,e,i,n){return typeof t===Pt&&(B(e)&&(n=e,e=400,i=!1),B(i)&&(n=i,i=!1),typeof e===Lt&&(i=e,e=400),t={effects:t,duration:e,reverse:i,complete:n}),_t({effects:{},duration:400,reverse:!1,init:bt,teardown:bt,hide:!1},t,{completeCallback:t.complete,complete:bt})}function x(e,i,n,o,r){for(var s,a=0,l=e.length;a<l;a++)s=t(e[a]),s.queue(function(){W.promise(s,y(i,n,o,r))});return e}function b(t,e,i,n){return e&&(e=e.split(" "),wt(e,function(e,i){t.toggleClass(i,n)})),t}function k(t){return(""+t).replace(G,"&amp;").replace(q,"&lt;").replace(X,"&gt;").replace($,"&quot;").replace(Y,"&#39;")}function C(t,e){var n;return 0===e.indexOf("data")&&(e=e.substring(4),e=e.charAt(0).toLowerCase()+e.substring(1)),e=e.replace(ot,"-$1"),n=t.getAttribute("data-"+vt.ns+e),null===n?n=i:"null"===n?n=null:"true"===n?n=!0:"false"===n?n=!1:Dt.test(n)?n=parseFloat(n):it.test(n)&&!nt.test(n)&&(n=Function("return ("+n+")")()),n}function S(e,n){var o,r,s={};for(o in n)r=C(e,o),r!==i&&(et.test(o)&&(r="string"==typeof r?vt.template(t("#"+r).html()):e.getAttribute(o)),s[o]=r);return s}function T(e,i){return t.contains(e,i)?-1:1}function A(){var e=t(this);return t.inArray(e.attr("data-"+vt.ns+"role"),["slider","rangeslider"])>-1||e.is(":visible")}function M(t,e){var i=t.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(i)?!t.disabled:"a"===i?t.href||e:e)&&D(t)}function D(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}function E(t,e){return new E.fn.init(t,e)}var P,B,I,z,L,O,R,F,V,N,H,U,j,W,G,q,$,Y,X,Q,K,Z,J,tt,et,it,nt,ot,rt,st,at,lt,ht,ct,ut,dt,ft,pt,gt,mt,vt=e.kendo=e.kendo||{cultures:{}},_t=t.extend,wt=t.each,yt=t.isArray,xt=t.proxy,bt=t.noop,kt=Math,Ct=e.JSON||{},St={},Tt=/%/,At=/\{(\d+)(:[^\}]+)?\}/g,Mt=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,Dt=/^(\+|-?)\d+(\.?)\d*$/,Et="function",Pt="string",Bt="number",It="object",zt="null",Lt="boolean",Ot="undefined",Rt={},Ft={},Vt=[].slice;vt.version="2017.2.621".replace(/^\s+|\s+$/g,""),n.extend=function(t){var e,i,n=function(){},o=this,r=t&&t.init?t.init:function(){o.apply(this,arguments)};n.prototype=o.prototype,i=r.fn=r.prototype=new n;for(e in t)i[e]=null!=t[e]&&t[e].constructor===Object?_t(!0,{},n.prototype[e],t[e]):t[e];return i.constructor=r,r.extend=o.extend,r},n.prototype._initOptions=function(t){this.options=l({},this.options,t)},B=vt.isFunction=function(t){return"function"==typeof t},I=function(){this._defaultPrevented=!0},z=function(){return this._defaultPrevented===!0},L=n.extend({init:function(){this._events={}},bind:function(t,e,n){var o,r,s,a,l,h=this,c=typeof t===Pt?[t]:t,u=typeof e===Et;if(e===i){for(o in t)h.bind(o,t[o]);return h}for(o=0,r=c.length;o<r;o++)t=c[o],a=u?e:e[t],a&&(n&&(s=a,a=function(){h.unbind(t,a),s.apply(h,arguments)},a.original=s),l=h._events[t]=h._events[t]||[],l.push(a));return h},one:function(t,e){return this.bind(t,e,!0)},first:function(t,e){var i,n,o,r,s=this,a=typeof t===Pt?[t]:t,l=typeof e===Et;for(i=0,n=a.length;i<n;i++)t=a[i],o=l?e:e[t],o&&(r=s._events[t]=s._events[t]||[],r.unshift(o));return s},trigger:function(t,e){var i,n,o=this,r=o._events[t];if(r){for(e=e||{},e.sender=o,e._defaultPrevented=!1,e.preventDefault=I,e.isDefaultPrevented=z,r=r.slice(),i=0,n=r.length;i<n;i++)r[i].call(o,e);return e._defaultPrevented===!0}return!1},unbind:function(t,e){var n,o=this,r=o._events[t];if(t===i)o._events={};else if(r)if(e)for(n=r.length-1;n>=0;n--)r[n]!==e&&r[n].original!==e||r.splice(n,1);else o._events[t]=[];return o}}),O=/^\w+/,R=/\$\{([^}]*)\}/g,F=/\\\}/g,V=/__CURLY__/g,N=/\\#/g,H=/__SHARP__/g,U=["","0","00","000","0000"],P={paramName:"data",useWithBlock:!0,render:function(t,e){var i,n,o="";for(i=0,n=e.length;i<n;i++)o+=t(e[i]);return o},compile:function(t,e){var i,n,r,s=_t({},this,e),a=s.paramName,l=a.match(O)[0],h=s.useWithBlock,c="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if(B(t))return t;for(c+=h?"with("+a+"){":"",c+="$kendoOutput=",n=t.replace(F,"__CURLY__").replace(R,"#=$kendoHtmlEncode($1)#").replace(V,"}").replace(N,"__SHARP__").split("#"),r=0;r<n.length;r++)c+=o(n[r],r%2===0);c+=h?";}":";",c+="return $kendoOutput;",c=c.replace(H,"#");try{return i=Function(l,c),i._slotCount=Math.floor(n.length/2),i}catch(u){throw Error(vt.format("Invalid template:'{0}' Generated code:'{1}'",t,c))}}},function(){function t(t){return s.lastIndex=0,s.test(t)?'"'+t.replace(s,function(t){var e=a[t];return typeof e===Pt?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function e(r,s){var a,h,c,u,d,f,p=i,g=s[r];if(g&&typeof g===It&&typeof g.toJSON===Et&&(g=g.toJSON(r)),typeof o===Et&&(g=o.call(s,r,g)),f=typeof g,f===Pt)return t(g);if(f===Bt)return isFinite(g)?g+"":zt;if(f===Lt||f===zt)return g+"";if(f===It){if(!g)return zt;if(i+=n,d=[],"[object Array]"===l.apply(g)){for(u=g.length,a=0;a<u;a++)d[a]=e(a,g)||zt;return c=0===d.length?"[]":i?"[\n"+i+d.join(",\n"+i)+"\n"+p+"]":"["+d.join(",")+"]",i=p,c}if(o&&typeof o===It)for(u=o.length,a=0;a<u;a++)typeof o[a]===Pt&&(h=o[a],c=e(h,g),c&&d.push(t(h)+(i?": ":":")+c));else for(h in g)Object.hasOwnProperty.call(g,h)&&(c=e(h,g),c&&d.push(t(h)+(i?": ":":")+c));return c=0===d.length?"{}":i?"{\n"+i+d.join(",\n"+i)+"\n"+p+"}":"{"+d.join(",")+"}",i=p,c}}var i,n,o,s=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l={}.toString;typeof Date.prototype.toJSON!==Et&&(Date.prototype.toJSON=function(){var t=this;return isFinite(t.valueOf())?r(t.getUTCFullYear(),4)+"-"+r(t.getUTCMonth()+1)+"-"+r(t.getUTCDate())+"T"+r(t.getUTCHours())+":"+r(t.getUTCMinutes())+":"+r(t.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof Ct.stringify!==Et&&(Ct.stringify=function(t,r,s){var a;if(i="",n="",typeof s===Bt)for(a=0;a<s;a+=1)n+=" ";else typeof s===Pt&&(n=s);if(o=r,r&&typeof r!==Et&&(typeof r!==It||typeof r.length!==Bt))throw Error("JSON.stringify");return e("",{"":t})})}(),function(){function e(t){if(t){if(t.numberFormat)return t;if(typeof t===Pt){var e=vt.cultures;return e[t]||e[t.split("-")[0]]||null}return null}return null}function n(t){return t&&(t=e(t)),t||vt.cultures.current}function o(t,e,o){o=n(o);var s=o.calendars.standard,a=s.days,l=s.months;return e=s.patterns[e]||e,e.replace(c,function(e){var n,o,h;return"d"===e?o=t.getDate():"dd"===e?o=r(t.getDate()):"ddd"===e?o=a.namesAbbr[t.getDay()]:"dddd"===e?o=a.names[t.getDay()]:"M"===e?o=t.getMonth()+1:"MM"===e?o=r(t.getMonth()+1):"MMM"===e?o=l.namesAbbr[t.getMonth()]:"MMMM"===e?o=l.names[t.getMonth()]:"yy"===e?o=r(t.getFullYear()%100):"yyyy"===e?o=r(t.getFullYear(),4):"h"===e?o=t.getHours()%12||12:"hh"===e?o=r(t.getHours()%12||12):"H"===e?o=t.getHours():"HH"===e?o=r(t.getHours()):"m"===e?o=t.getMinutes():"mm"===e?o=r(t.getMinutes()):"s"===e?o=t.getSeconds():"ss"===e?o=r(t.getSeconds()):"f"===e?o=kt.floor(t.getMilliseconds()/100):"ff"===e?(o=t.getMilliseconds(),o>99&&(o=kt.floor(o/10)),o=r(o)):"fff"===e?o=r(t.getMilliseconds(),3):"tt"===e?o=t.getHours()<12?s.AM[0]:s.PM[0]:"zzz"===e?(n=t.getTimezoneOffset(),h=n<0,o=(""+kt.abs(n/60)).split(".")[0],n=kt.abs(n)-60*o,o=(h?"+":"-")+r(o),o+=":"+r(n)):"zz"!==e&&"z"!==e||(o=t.getTimezoneOffset()/60,h=o<0,o=(""+kt.abs(o)).split(".")[0],o=(h?"+":"-")+("zz"===e?r(o):o)),o!==i?o:e.slice(1,e.length-1)})}function s(t,e,o){o=n(o);var r,s,h,c,y,x,b,k,C,S,T,A,M,D,E,P,B,I,z,L,O,R,F,V=o.numberFormat,N=V[g],H=V.decimals,U=V.pattern[0],j=[],W=t<0,G=p,q=p,$=-1;if(t===i)return p;if(!isFinite(t))return t;if(!e)return o.name.length?t.toLocaleString():""+t;if(y=u.exec(e)){if(e=y[1].toLowerCase(),s="c"===e,h="p"===e,(s||h)&&(V=s?V.currency:V.percent,N=V[g],H=V.decimals,r=V.symbol,U=V.pattern[W?0:1]),c=y[2],c&&(H=+c),"e"===e)return c?t.toExponential(H):t.toExponential();if(h&&(t*=100),t=l(t,H),W=t<0,t=t.split(g),x=t[0],b=t[1],W&&(x=x.substring(1)),q=a(x,0,x.length,V),b&&(q+=N+b),"n"===e&&!W)return q;for(t=p,S=0,T=U.length;S<T;S++)A=U.charAt(S),t+="n"===A?q:"$"===A||"%"===A?r:A;return t}if(W&&(t=-t),(e.indexOf("'")>-1||e.indexOf('"')>-1||e.indexOf("\\")>-1)&&(e=e.replace(d,function(t){var e=t.charAt(0).replace("\\",""),i=t.slice(1).replace(e,"");return j.push(i),w})),e=e.split(";"),W&&e[1])e=e[1],D=!0;else if(0===t){if(e=e[2]||e[0],e.indexOf(v)==-1&&e.indexOf(_)==-1)return e}else e=e[0];if(L=e.indexOf("%"),O=e.indexOf("$"),h=L!=-1,s=O!=-1,h&&(t*=100),s&&"\\"===e[O-1]&&(e=e.split("\\").join(""),s=!1),(s||h)&&(V=s?V.currency:V.percent,N=V[g],H=V.decimals,r=V.symbol),M=e.indexOf(m)>-1,M&&(e=e.replace(f,p)),E=e.indexOf(g),T=e.length,E!=-1?(b=(""+t).split("e"),b=b[1]?l(t,Math.abs(b[1])):b[0],b=b.split(g)[1]||p,B=e.lastIndexOf(_)-E,P=e.lastIndexOf(v)-E,I=B>-1,z=P>-1,S=b.length,I||z||(e=e.substring(0,E)+e.substring(E+1),T=e.length,E=-1,S=0),I&&B>P?S=B:P>B&&(z&&S>P?S=P:I&&S<B&&(S=B)),S>-1&&(t=l(t,S))):t=l(t),P=e.indexOf(v),R=B=e.indexOf(_),$=P==-1&&B!=-1?B:P!=-1&&B==-1?P:P>B?B:P,P=e.lastIndexOf(v),B=e.lastIndexOf(_),F=P==-1&&B!=-1?B:P!=-1&&B==-1?P:P>B?P:B,$==T&&(F=$),$!=-1){for(q=(""+t).split(g),x=q[0],b=q[1]||p,k=x.length,C=b.length,W&&t*-1>=0&&(W=!1),t=e.substring(0,$),W&&!D&&(t+="-"),S=$;S<T;S++){if(A=e.charAt(S),E==-1){if(F-S<k){t+=x;break}}else if(B!=-1&&B<S&&(G=p),E-S<=k&&E-S>-1&&(t+=x,S=E),E===S){t+=(b?N:p)+b,S+=F-E+1;continue}A===_?(t+=A,G=A):A===v&&(t+=G)}if(M&&(t=a(t,$+(W&&!D?1:0),Math.max(F,k+$),V)),F>=$&&(t+=e.substring(F+1)),s||h){for(q=p,S=0,T=t.length;S<T;S++)A=t.charAt(S),q+="$"===A||"%"===A?r:A;t=q}if(T=j.length)for(S=0;S<T;S++)t=t.replace(w,j[S])}return t}var a,l,h,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,u=/^(n|c|p|e)(\d*)$/i,d=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,f=/\,/g,p="",g=".",m=",",v="#",_="0",w="??",y="en-US",x={}.toString;vt.cultures["en-US"]={name:y,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}}},vt.culture=function(t){var n,o=vt.cultures;return t===i?o.current:(n=e(t)||o[y],n.calendar=n.calendars.standard,o.current=n,i)},vt.findCulture=e,vt.getCulture=n,vt.culture(y),a=function(t,e,n,o){var r,s,a,l,h,c,u=t.indexOf(o[g]),d=o.groupSize.slice(),f=d.shift();if(n=u!==-1?u:n+1,r=t.substring(e,n),s=r.length,s>=f){for(a=s,l=[];a>-1;)if(h=r.substring(a-f,a),h&&l.push(h),a-=f,c=d.shift(),f=c!==i?c:f,0===f){l.push(r.substring(0,a));break}r=l.reverse().join(o[m]),t=t.substring(0,e)+r+t.substring(n)}return t},l=function(t,e){return e=e||0,t=(""+t).split("e"),t=Math.round(+(t[0]+"e"+(t[1]?+t[1]+e:e))),t=(""+t).split("e"),t=+(t[0]+"e"+(t[1]?+t[1]-e:-e)),t.toFixed(Math.min(e,20))},h=function(t,e,n){if(e){if("[object Date]"===x.call(t))return o(t,e,n);if(typeof t===Bt)return s(t,e,n)}return t!==i?t:""},vt.format=function(t){var e=arguments;return t.replace(At,function(t,i,n){var o=e[parseInt(i,10)+1];return h(o,n?n.substring(1):"")})},vt._extractFormat=function(t){return"{0:"===t.slice(0,3)&&(t=t.slice(3,t.length-1)),t},vt._activeElement=function(){try{return document.activeElement}catch(t){return document.documentElement.activeElement}},vt._round=l,vt._outerWidth=function(e,i){return t(e).outerWidth(i||!1)||0},vt._outerHeight=function(e,i){return t(e).outerHeight(i||!1)||0},vt.toString=h}(),function(){function e(t,e,i){return!(t>=e&&t<=i)}function n(t){return t.charAt(0)}function o(e){return t.map(e,n)}function r(t,e){e||23!==t.getHours()||t.setHours(t.getHours()+2)}function s(t){for(var e=0,i=t.length,n=[];e<i;e++)n[e]=(t[e]+"").toLowerCase();return n}function a(t){var e,i={};for(e in t)i[e]=s(t[e]);return i}function l(t,n,s){if(!t)return null;var l,h,c,u,d,g,m,v,_,y,x,b,k,C=function(t){for(var e=0;n[O]===t;)e++,O++;return e>0&&(O-=1),e},S=function(e){var i=w[e]||RegExp("^\\d{1,"+e+"}"),n=t.substr(R,e).match(i);return n?(n=n[0],R+=n.length,parseInt(n,10)):null},T=function(e,i){for(var n,o,r,s=0,a=e.length,l=0,h=0;s<a;s++)n=e[s],o=n.length,r=t.substr(R,o),i&&(r=r.toLowerCase()),r==n&&o>l&&(l=o,h=s);return l?(R+=l,h+1):null},A=function(){var e=!1;return t.charAt(R)===n[O]&&(R++,e=!0),e},M=s.calendars.standard,D=null,E=null,P=null,B=null,I=null,z=null,L=null,O=0,R=0,F=!1,V=new Date,N=M.twoDigitYearMax||2029,H=V.getFullYear();for(n||(n="d"),u=M.patterns[n],u&&(n=u),n=n.split(""),c=n.length;O<c;O++)if(l=n[O],F)"'"===l?F=!1:A();else if("d"===l){if(h=C("d"),M._lowerDays||(M._lowerDays=a(M.days)),null!==P&&h>2)continue;if(P=h<3?S(2):T(M._lowerDays[3==h?"namesAbbr":"names"],!0),null===P||e(P,1,31))return null}else if("M"===l){if(h=C("M"),M._lowerMonths||(M._lowerMonths=a(M.months)),E=h<3?S(2):T(M._lowerMonths[3==h?"namesAbbr":"names"],!0),null===E||e(E,1,12))return null;E-=1}else if("y"===l){if(h=C("y"),D=S(h),null===D)return null;2==h&&("string"==typeof N&&(N=H+parseInt(N,10)),D=H-H%100+D,D>N&&(D-=100))}else if("h"===l){if(C("h"),B=S(2),12==B&&(B=0),null===B||e(B,0,11))return null}else if("H"===l){if(C("H"),B=S(2),null===B||e(B,0,23))return null}else if("m"===l){if(C("m"),I=S(2),null===I||e(I,0,59))return null}else if("s"===l){if(C("s"),z=S(2),null===z||e(z,0,59))return null}else if("f"===l){if(h=C("f"),k=t.substr(R,h).match(w[3]),L=S(h),null!==L&&(L=parseFloat("0."+k[0],10),L=vt._round(L,3),L*=1e3),null===L||e(L,0,999))return null}else if("t"===l){if(h=C("t"),v=M.AM,_=M.PM,1===h&&(v=o(v),_=o(_)),d=T(_),!d&&!T(v))return null}else if("z"===l){if(g=!0,h=C("z"),"Z"===t.substr(R,1)){A();continue}if(m=t.substr(R,6).match(h>2?p:f),!m)return null;if(m=m[0].split(":"),y=m[0],x=m[1],!x&&y.length>3&&(R=y.length-2,x=y.substring(R),y=y.substring(0,R)),y=parseInt(y,10),e(y,-12,13))return null;if(h>2&&(x=parseInt(x,10),isNaN(x)||e(x,0,59)))return null}else if("'"===l)F=!0,A();else if(!A())return null;return b=null!==B||null!==I||z||null,null===D&&null===E&&null===P&&b?(D=H,E=V.getMonth(),P=V.getDate()):(null===D&&(D=H),null===P&&(P=1)),d&&B<12&&(B+=12),g?(y&&(B+=-y),x&&(I+=-x),t=new Date(Date.UTC(D,E,P,B,I,z,L))):(t=new Date(D,E,P,B,I,z,L),r(t,B)),D<100&&t.setFullYear(D),t.getDate()!==P&&g===i?null:t}function h(t){var e="-"===t.substr(0,1)?-1:1;return t=t.substring(1),t=60*parseInt(t.substr(0,2),10)+parseInt(t.substring(2),10),e*t}function c(t){var e,i,n,o=kt.max(v.length,_.length),r=t.calendar.patterns,s=[];for(n=0;n<o;n++){for(e=v[n],i=0;i<e.length;i++)s.push(r[e[i]]);s=s.concat(_[n])}return s}var u=/\u00A0/g,d=/[eE][\-+]?[0-9]+/,f=/[+|\-]\d{1,2}/,p=/[+|\-]\d{1,2}:?\d{2}/,g=/^\/Date\((.*?)\)\/$/,m=/[+-]\d*/,v=[[],["G","g","F"],["D","d","y","m","T","t"]],_=[["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}/},y={}.toString;vt.parseDate=function(t,e,i){var n,o,r,s;if("[object Date]"===y.call(t))return t;if(n=0,o=null,t&&0===t.indexOf("/D")&&(o=g.exec(t)))return o=o[1],s=m.exec(o.substring(1)),o=new Date(parseInt(o,10)),s&&(s=h(s[0]),o=vt.timezone.apply(o,0),o=vt.timezone.convert(o,0,-1*s)),o;for(i=vt.getCulture(i),e||(e=c(i)),e=yt(e)?e:[e],r=e.length;n<r;n++)if(o=l(t,e[n],i))return o;return o},vt.parseInt=function(t,e){var i=vt.parseFloat(t,e);return i&&(i=0|i),i},vt.parseFloat=function(t,e,i){if(!t&&0!==t)return null;if(typeof t===Bt)return t;t=""+t,e=vt.getCulture(e);var n,o,r=e.numberFormat,s=r.percent,a=r.currency,l=a.symbol,h=s.symbol,c=t.indexOf("-");return d.test(t)?(t=parseFloat(t.replace(r["."],".")),isNaN(t)&&(t=null),t):c>0?null:(c=c>-1,t.indexOf(l)>-1||i&&i.toLowerCase().indexOf("c")>-1?(r=a,n=r.pattern[0].replace("$",l).split("n"),t.indexOf(n[0])>-1&&t.indexOf(n[1])>-1&&(t=t.replace(n[0],"").replace(n[1],""),c=!0)):t.indexOf(h)>-1&&(o=!0,r=s,l=h),t=t.replace("-","").replace(l,"").replace(u," ").split(r[","].replace(u," ")).join("").replace(r["."],"."),t=parseFloat(t),isNaN(t)?t=null:c&&(t*=-1),t&&o&&(t/=100),t)}}(),function(){var n,o,r,s,a,l,h,u,d;St._scrollbar=i,St.scrollbar=function(t){if(isNaN(St._scrollbar)||t){var e,i=document.createElement("div");return i.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",i.innerHTML="&nbsp;",document.body.appendChild(i),St._scrollbar=e=i.offsetWidth-i.scrollWidth,document.body.removeChild(i),e}return St._scrollbar},St.isRtl=function(e){return t(e).closest(".k-rtl").length>0},n=document.createElement("table");try{n.innerHTML="<tr><td></td></tr>",St.tbodyInnerHtml=!0}catch(f){St.tbodyInnerHtml=!1}St.touch="ontouchstart"in e,o=document.documentElement.style,r=St.transitions=!1,s=St.transforms=!1,a="HTMLElement"in e?HTMLElement.prototype:[],St.hasHW3D="WebKitCSSMatrix"in e&&"m11"in new e.WebKitCSSMatrix||"MozPerspective"in o||"msPerspective"in o,St.cssFlexbox="flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,wt(["Moz","webkit","O","ms"],function(){var t,e=""+this,i=typeof n.style[e+"Transition"]===Pt;if(i||typeof n.style[e+"Transform"]===Pt)return t=e.toLowerCase(),s={css:"ms"!=t?"-"+t+"-":"",prefix:e,event:"o"===t||"webkit"===t?t:""},i&&(r=s,r.event=r.event?r.event+"TransitionEnd":"transitionend"),!1}),n=null,St.transforms=s,St.transitions=r,St.devicePixelRatio=e.devicePixelRatio===i?1:e.devicePixelRatio;try{St.screenWidth=e.outerWidth||e.screen?e.screen.availWidth:e.innerWidth,St.screenHeight=e.outerHeight||e.screen?e.screen.availHeight:e.innerHeight}catch(f){St.screenWidth=e.screen.availWidth,St.screenHeight=e.screen.availHeight}St.detectOS=function(t){var i,n,o=!1,r=[],s=!/mobile safari/i.test(t),a={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/},l={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/},h={tablet:/playbook|ipad|fire/i},u={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(n in a)if(a.hasOwnProperty(n)&&(r=t.match(a[n]))){if("windows"==n&&"plugins"in navigator)return!1;o={},o.device=n,o.tablet=c(n,h,!1),o.browser=c(t,u,"default"),o.name=c(n,l),o[o.name]=!0,o.majorVersion=r[2],o.minorVersion=r[3].replace("_","."),i=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+i+Array(3-(i.length<3?i.length:2)).join("0"),o.cordova=typeof e.PhoneGap!==Ot||typeof e.cordova!==Ot,o.appMode=e.navigator.standalone||/file|local|wmapp/.test(e.location.protocol)||o.cordova,o.android&&(St.devicePixelRatio<1.5&&o.flatVersion<400||s)&&(St.screenWidth>800||St.screenHeight>800)&&(o.tablet=n);break}return o},l=St.mobileOS=St.detectOS(navigator.userAgent),St.wpDevicePixelRatio=l.wp?screen.width/320:0,St.hasNativeScrolling=!1,(l.ios||l.android&&l.majorVersion>2||l.wp)&&(St.hasNativeScrolling=l),St.delayedClick=function(){if(St.touch){if(l.ios)return!0;if(l.android)return!St.browser.chrome||!(St.browser.version<32)&&!(t("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},St.mouseAndTouchPresent=St.touch&&!(St.mobileOS.ios||St.mobileOS.android),St.detectBrowser=function(t){var e,i=!1,n=[],o={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(e in o)if(o.hasOwnProperty(e)&&(n=t.match(o[e]))){i={},i[e]=!0,i[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,i.version=parseInt(document.documentMode||n[2],10);break}return i},St.browser=St.detectBrowser(navigator.userAgent),St.detectClipboardAccess=function(){var t={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return St.browser.chrome&&(t.paste=!1,St.browser.version>=43&&(t.copy=!0,t.cut=!0)),t},St.clipboard=St.detectClipboardAccess(),St.zoomLevel=function(){var t,i,n;try{return t=St.browser,i=0,n=document.documentElement,t.msie&&11==t.version&&n.scrollHeight>n.clientHeight&&!St.touch&&(i=St.scrollbar()),St.touch?n.clientWidth/e.innerWidth:t.msie&&t.version>=10?((top||e).document.documentElement.offsetWidth+i)/(top||e).innerWidth:1}catch(o){return 1}},St.cssBorderSpacing=i!==o.borderSpacing&&!(St.browser.msie&&St.browser.version<8),function(e){var i="",n=t(document.documentElement),o=parseInt(e.version,10);e.msie?i="ie":e.mozilla?i="ff":e.safari?i="safari":e.webkit?i="webkit":e.opera?i="opera":e.edge&&(i="edge"),i&&(i="k-"+i+" k-"+i+o),St.mobileOS&&(i+=" k-mobile"),St.cssFlexbox||(i+=" k-no-flexbox"),n.addClass(i)}(St.browser),St.eventCapture=document.documentElement.addEventListener,h=document.createElement("input"),St.placeholder="placeholder"in h,St.propertyChangeEvent="onpropertychange"in h,St.input=function(){for(var t,e=["number","date","time","month","week","datetime","datetime-local"],i=e.length,n="test",o={},r=0;r<i;r++)t=e[r],h.setAttribute("type",t),h.value=n,o[t.replace("-","")]="text"!==h.type&&h.value!==n;return o}(),h.style.cssText="float:left;",St.cssFloat=!!h.style.cssFloat,h=null,St.stableSort=function(){var t,e=513,i=[{index:0,field:"b"}];for(t=1;t<e;t++)i.push({index:t,field:"a"});return i.sort(function(t,e){return t.field>e.field?1:t.field<e.field?-1:0}),1===i[0].index}(),St.matchesSelector=a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.matchesSelector||a.matches||function(e){for(var i=document.querySelectorAll?(this.parentNode||document).querySelectorAll(e)||[]:t(e),n=i.length;n--;)if(i[n]==this)return!0;return!1},St.pushState=e.history&&e.history.pushState,u=document.documentMode,St.hashChange="onhashchange"in e&&!(St.browser.msie&&(!u||u<=8)),St.customElements="registerElement"in e.document,d=St.browser.chrome,St.msPointers=!d&&e.MSPointerEvent,St.pointers=!d&&e.PointerEvent,St.kineticScrollNeeded=l&&(St.touch||St.msPointers||St.pointers)}(),j={left:{reverse:"right"},right:{reverse:"left"},down:{reverse:"up"},up:{reverse:"down"},top:{reverse:"bottom"},bottom:{reverse:"top"},"in":{reverse:"out"},out:{reverse:"in"}},W={},t.extend(W,{enabled:!0,Element:function(e){this.element=t(e)},promise:function(t,e){t.is(":visible")||t.css({display:t.data("olddisplay")||"block"}).css("display"),e.hide&&t.data("olddisplay",t.css("display")).hide(),e.init&&e.init(),e.completeCallback&&e.completeCallback(t),t.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),W.promiseShim=W.promise,"kendoAnimate"in t.fn||_t(t.fn,{kendoStop:function(t,e){return this.stop(t,e)},kendoAnimate:function(t,e,i,n){return x(this,t,e,i,n)},kendoAddClass:function(t,e){return vt.toggleClass(this,t,e,!0)},kendoRemoveClass:function(t,e){return vt.toggleClass(this,t,e,!1)},kendoToggleClass:function(t,e,i){return vt.toggleClass(this,t,e,i)}}),G=/&/g,q=/</g,$=/"/g,Y=/'/g,X=/>/g,Q=function(t){return t.target},St.touch&&(Q=function(t){var e="originalEvent"in t?t.originalEvent.changedTouches:"changedTouches"in t?t.changedTouches:null;return e?document.elementFromPoint(e[0].clientX,e[0].clientY):t.target},wt(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],function(e,i){t.fn[i]=function(t){return this.bind(i,t)}})),St.touch?St.mobileOS?(St.mousedown="touchstart",St.mouseup="touchend",St.mousemove="touchmove",St.mousecancel="touchcancel",St.click="touchend",St.resize="orientationchange"):(St.mousedown="mousedown touchstart",St.mouseup="mouseup touchend",St.mousemove="mousemove touchmove",St.mousecancel="mouseleave touchcancel",St.click="click",St.resize="resize"):St.pointers?(St.mousemove="pointermove",St.mousedown="pointerdown",St.mouseup="pointerup",St.mousecancel="pointercancel",St.click="pointerup",St.resize="orientationchange resize"):St.msPointers?(St.mousemove="MSPointerMove",St.mousedown="MSPointerDown",St.mouseup="MSPointerUp",St.mousecancel="MSPointerCancel",St.click="MSPointerUp",St.resize="orientationchange resize"):(St.mousemove="mousemove",St.mousedown="mousedown",St.mouseup="mouseup",St.mousecancel="mouseleave",St.click="click",St.resize="resize"),K=function(t,e){var i,n,o,r,s=e||"d",a=1;for(n=0,o=t.length;n<o;n++)r=t[n],""!==r&&(i=r.indexOf("["),0!==i&&(i==-1?r="."+r:(a++,r="."+r.substring(0,i)+" || {})"+r.substring(i))),a++,s+=r+(n<o-1?" || {})":")"));return Array(a).join("(")+s},Z=/^([a-z]+:)?\/\//i,_t(vt,{widgets:[],_widgetRegisteredCallbacks:[],ui:vt.ui||{},fx:vt.fx||w,effects:vt.effects||W,mobile:vt.mobile||{},data:vt.data||{},dataviz:vt.dataviz||{},drawing:vt.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:vt.support||St,animate:vt.animate||x,ns:"",attr:function(t){return"data-"+vt.ns+t},getShadows:s,wrap:a,deepExtend:l,getComputedStyles:f,webComponents:vt.webComponents||[],isScrollable:p,scrollLeft:g,size:m,toCamelCase:d,toHyphens:u,getOffset:vt.getOffset||v,parseEffects:vt.parseEffects||_,toggleClass:vt.toggleClass||b,directions:vt.directions||j,Observable:L,Class:n,Template:P,template:xt(P.compile,P),render:xt(P.render,P),stringify:xt(Ct.stringify,Ct),eventTarget:Q,htmlEncode:k,isLocalUrl:function(t){return t&&!Z.test(t)},expr:function(t,e,i){return t=t||"",typeof e==Pt&&(i=e,e=!1),i=i||"d",t&&"["!==t.charAt(0)&&(t="."+t),e?(t=t.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"'),t=t.replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'"),t=K(t.split("."),i),t=t.replace(/_\$DOT\$_/g,".")):t=i+t,t},getter:function(t,e){var i=t+e;return Rt[i]=Rt[i]||Function("d","return "+vt.expr(t,e))},setter:function(t){return Ft[t]=Ft[t]||Function("d,value",vt.expr(t)+"=value")},accessor:function(t){return{get:vt.getter(t),set:vt.setter(t)}},guid:function(){var t,e,i="";for(t=0;t<32;t++)e=16*kt.random()|0,8!=t&&12!=t&&16!=t&&20!=t||(i+="-"),i+=(12==t?4:16==t?3&e|8:e).toString(16);return i},roleSelector:function(t){return t.replace(/(\S+)/g,"["+vt.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(t){var e,i=t.split(" ");if(i)for(e=0;e<i.length;e++)"view"!=i[e]&&(i[e]=i[e].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return i.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(t){return/^(label|input|textarea|select)$/i.test(t.target.tagName)},onWidgetRegistered:function(t){for(var e=0,i=vt.widgets.length;e<i;e++)t(vt.widgets[e]);vt._widgetRegisteredCallbacks.push(t)},logToConsole:function(t,n){var o=e.console;!vt.suppressLog&&i!==o&&o.log&&o[n||"log"](t)}}),J=L.extend({init:function(t,e){var i,n=this;n.element=vt.jQuery(t).handler(n),
n.angular("init",e),L.fn.init.call(n),i=e?e.dataSource:null,i&&(e=_t({},e,{dataSource:{}})),e=n.options=_t(!0,{},n.options,e),i&&(e.dataSource=i),n.element.attr(vt.attr("role"))||n.element.attr(vt.attr("role"),(e.name||"").toLowerCase()),n.element.data("kendo"+e.prefix+e.name,n),n.bind(n.events,e)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(t){t=t||this.wrapper;var e=this.element,i="tabindex",n=t.attr(i)||e.attr(i);e.removeAttr(i),t.attr(i,isNaN(n)?0:n)},setOptions:function(e){this._setEvents(e),t.extend(this.options,e)},_setEvents:function(t){for(var e,i=this,n=0,o=i.events.length;n<o;n++)e=i.events[n],i.options[e]&&t[e]&&i.unbind(e,i.options[e]);i.bind(i.events,t)},resize:function(t){var e=this.getSize(),i=this._size;(t||(e.width>0||e.height>0)&&(!i||e.width!==i.width||e.height!==i.height))&&(this._size=e,this._resize(e,t),this.trigger("resize",e))},getSize:function(){return vt.dimensions(this.element)},size:function(t){return t?(this.setSize(t),i):this.getSize()},setSize:t.noop,_resize:t.noop,destroy:function(){var t=this;t.element.removeData("kendo"+t.options.prefix+t.options.name),t.element.removeData("handler"),t.unbind()},_destroy:function(){this.destroy()},angular:function(){},_muteAngularRebind:function(t){this._muteRebind=!0,t.call(this),this._muteRebind=!1}}),tt=J.extend({dataItems:function(){return this.dataSource.flatView()},_angularItems:function(e){var i=this;i.angular(e,function(){return{elements:i.items(),data:t.map(i.dataItems(),function(t){return{dataItem:t}})}})}}),vt.dimensions=function(t,e){var i=t[0];return e&&t.css(e),{width:i.offsetWidth,height:i.offsetHeight}},vt.notify=bt,et=/template$/i,it=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,nt=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,ot=/([A-Z])/g,vt.initWidget=function(n,o,r){var s,a,l,h,c,u,d,f,p,g,m,v,_;if(r?r.roles&&(r=r.roles):r=vt.ui.roles,n=n.nodeType?n:n[0],u=n.getAttribute("data-"+vt.ns+"role")){p=u.indexOf(".")===-1,l=p?r[u]:vt.getter(u)(e),m=t(n).data(),v=l?"kendo"+l.fn.options.prefix+l.fn.options.name:"",g=p?RegExp("^kendo.*"+u+"$","i"):RegExp("^"+v+"$","i");for(_ in m)if(_.match(g)){if(_!==v)return m[_];s=m[_]}if(l){for(f=C(n,"dataSource"),o=t.extend({},S(n,l.fn.options),o),f&&(o.dataSource=typeof f===Pt?vt.getter(f)(e):f),h=0,c=l.fn.events.length;h<c;h++)a=l.fn.events[h],d=C(n,a),d!==i&&(o[a]=vt.getter(d)(e));return s?t.isEmptyObject(o)||s.setOptions(o):s=new l(n,o),s}}},vt.rolesFromNamespaces=function(t){var e,i,n=[];for(t[0]||(t=[vt.ui,vt.dataviz.ui]),e=0,i=t.length;e<i;e++)n[e]=t[e].roles;return _t.apply(null,[{}].concat(n.reverse()))},vt.init=function(e){var i=vt.rolesFromNamespaces(Vt.call(arguments,1));t(e).find("[data-"+vt.ns+"role]").addBack().each(function(){vt.initWidget(this,{},i)})},vt.destroy=function(e){t(e).find("[data-"+vt.ns+"role]").addBack().each(function(){var e,i=t(this).data();for(e in i)0===e.indexOf("kendo")&&typeof i[e].destroy===Et&&i[e].destroy()})},vt.resize=function(e,i){var n,o=t(e).find("[data-"+vt.ns+"role]").addBack().filter(A);o.length&&(n=t.makeArray(o),n.sort(T),t.each(n,function(){var e=vt.widgetInstance(t(this));e&&e.resize(i)}))},vt.parseOptions=S,_t(vt.ui,{Widget:J,DataBoundWidget:tt,roles:{},progress:function(e,i){var n,o,r,s,a=e.find(".k-loading-mask"),l=vt.support,h=l.browser;i?a.length||(n=l.isRtl(e),o=n?"right":"left",s=e.scrollLeft(),r=h.webkit&&n?e[0].scrollWidth-e.width()-2*s:0,a=t("<div class='k-loading-mask'><span class='k-loading-text'>"+vt.ui.progress.messages.loading+"</span><div class='k-loading-image'/><div class='k-loading-color'/></div>").width("100%").height("100%").css("top",e.scrollTop()).css(o,Math.abs(s)+r).prependTo(e)):a&&a.remove()},plugin:function(e,n,o){var r,s,a,l,h=e.fn.options.name;for(n=n||vt.ui,o=o||"",n[h]=e,n.roles[h.toLowerCase()]=e,r="getKendo"+o+h,h="kendo"+o+h,s={name:h,widget:e,prefix:o||""},vt.widgets.push(s),a=0,l=vt._widgetRegisteredCallbacks.length;a<l;a++)vt._widgetRegisteredCallbacks[a](s);t.fn[h]=function(n){var o,r=this;return typeof n===Pt?(o=Vt.call(arguments,1),this.each(function(){var e,s,a=t.data(this,h);if(!a)throw Error(vt.format("Cannot call method '{0}' of {1} before it is initialized",n,h));if(e=a[n],typeof e!==Et)throw Error(vt.format("Cannot find method '{0}' of {1}",n,h));if(s=e.apply(a,o),s!==i)return r=s,!1})):this.each(function(){return new e(this,n)}),r},t.fn[h].widget=e,t.fn[r]=function(){return this.data(h)}}}),vt.ui.progress.messages={loading:"Loading..."},rt={bind:function(){return this},nullObject:!0,options:{}},st=J.extend({init:function(t,e){J.fn.init.call(this,t,e),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){J.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var t=this.element.closest(vt.roleSelector("view splitview modalview drawer"));return vt.widgetInstance(t,vt.mobile.ui)||rt},viewHasNativeScrolling:function(){var t=this.view();return t&&t.options.useNativeScrolling},container:function(){var t=this.element.closest(vt.roleSelector("view layout modalview drawer splitview"));return vt.widgetInstance(t.eq(0),vt.mobile.ui)||rt}}),_t(vt.mobile,{init:function(t){vt.init(t,vt.mobile.ui,vt.ui,vt.dataviz.ui)},appLevelNativeScrolling:function(){return vt.mobile.application&&vt.mobile.application.options&&vt.mobile.application.options.useNativeScrolling},roles:{},ui:{Widget:st,DataBoundWidget:tt.extend(st.prototype),roles:{},plugin:function(t){vt.ui.plugin(t,vt.mobile.ui,"Mobile")}}}),l(vt.dataviz,{init:function(t){vt.init(t,vt.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(t){vt.ui.plugin(t,vt.dataviz.ui)}},roles:{}}),vt.touchScroller=function(e,i){return i||(i={}),i.useNative=!0,t(e).map(function(e,n){return n=t(n),!(!St.kineticScrollNeeded||!vt.mobile.ui.Scroller||n.data("kendoMobileScroller"))&&(n.kendoMobileScroller(i),n.data("kendoMobileScroller"))})[0]},vt.preventDefault=function(t){t.preventDefault()},vt.widgetInstance=function(t,i){var n,o,r,s,a=t.data(vt.ns+"role"),l=[];if(a){if("content"===a&&(a="scroller"),i)if(i[0])for(n=0,o=i.length;n<o;n++)l.push(i[n].roles[a]);else l.push(i.roles[a]);else l=[vt.ui.roles[a],vt.dataviz.ui.roles[a],vt.mobile.ui.roles[a]];for(a.indexOf(".")>=0&&(l=[vt.getter(a)(e)]),n=0,o=l.length;n<o;n++)if(r=l[n],r&&(s=t.data("kendo"+r.fn.options.prefix+r.fn.options.name)))return s}},vt.onResize=function(i){var n=i;return St.mobileOS.android&&(n=function(){setTimeout(i,600)}),t(e).on(St.resize,n),n},vt.unbindResize=function(i){t(e).off(St.resize,i)},vt.attrValue=function(t,e){return t.data(vt.ns+e)},vt.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},t.extend(t.expr[":"],{kendoFocusable:function(e){var i=t.attr(e,"tabindex");return M(e,!isNaN(i)&&i>-1)}}),at=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],lt="label, input, [data-rel=external]",ht={setupMouseMute:function(){var e,i=0,n=at.length,o=document.documentElement;if(!ht.mouseTrap&&St.eventCapture)for(ht.mouseTrap=!0,ht.bustClick=!1,ht.captureMouse=!1,e=function(e){ht.captureMouse&&("click"===e.type?ht.bustClick&&!t(e.target).is(lt)&&(e.preventDefault(),e.stopPropagation()):e.stopPropagation())};i<n;i++)o.addEventListener(at[i],e,!0)},muteMouse:function(t){ht.captureMouse=!0,t.data.bustClick&&(ht.bustClick=!0),clearTimeout(ht.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(ht.mouseTrapTimeoutID),ht.mouseTrapTimeoutID=setTimeout(function(){ht.captureMouse=!1,ht.bustClick=!1},400)}},ct={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},St.touch&&(St.mobileOS.ios||St.mobileOS.android)?ct={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:St.pointers?ct={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:St.msPointers&&(ct={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),!St.msPointers||"onmspointerenter"in e||t.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},function(e,i){t.event.special[e]={delegateType:i,bindType:i,handle:function(e){var n,o=this,r=e.relatedTarget,s=e.handleObj;return r&&(r===o||t.contains(o,r))||(e.type=s.origType,n=s.handler.apply(this,arguments),e.type=i),n}}}),ut=function(t){return ct[t]||t},dt=/([^ ]+)/g,vt.applyEventMap=function(t,e){return t=t.replace(dt,ut),e&&(t=t.replace(dt,"$1."+e)),t},ft=t.fn.on,_t(!0,E,t),E.fn=E.prototype=new t,E.fn.constructor=E,E.fn.init=function(e,i){return i&&i instanceof t&&!(i instanceof E)&&(i=E(i)),t.fn.init.call(this,e,i,pt)},E.fn.init.prototype=E.fn,pt=E(document),_t(E.fn,{handler:function(t){return this.data("handler",t),this},autoApplyNS:function(t){return this.data("kendoNS",t||vt.guid()),this},on:function(){var t,e,i,n,o,r,s=this,a=s.data("kendoNS");return 1===arguments.length?ft.call(s,arguments[0]):(t=s,e=Vt.call(arguments),typeof e[e.length-1]===Ot&&e.pop(),i=e[e.length-1],n=vt.applyEventMap(e[0],a),St.mouseAndTouchPresent&&n.search(/mouse|click/)>-1&&this[0]!==document.documentElement&&(ht.setupMouseMute(),o=2===e.length?null:e[1],r=n.indexOf("click")>-1&&n.indexOf("touchend")>-1,ft.call(this,{touchstart:ht.muteMouse,touchend:ht.unMuteMouse},o,{bustClick:r})),typeof i===Pt&&(t=s.data("handler"),i=t[i],e[e.length-1]=function(e){i.call(t,e)}),e[0]=n,ft.apply(s,e),s)},kendoDestroy:function(t){return t=t||this.data("kendoNS"),t&&this.off("."+t),this}}),vt.jQuery=E,vt.eventMap=ct,vt.timezone=function(){function t(t,e){var i,n,o,r=e[3],s=e[4],a=e[5],l=e[8];return l||(e[8]=l={}),l[t]?l[t]:(isNaN(s)?0===s.indexOf("last")?(i=new Date(Date.UTC(t,c[r]+1,1,a[0]-24,a[1],a[2],0)),n=u[s.substr(4,3)],o=i.getUTCDay(),i.setUTCDate(i.getUTCDate()+n-o-(n>o?7:0))):s.indexOf(">=")>=0&&(i=new Date(Date.UTC(t,c[r],s.substr(5),a[0],a[1],a[2],0)),n=u[s.substr(0,3)],o=i.getUTCDay(),i.setUTCDate(i.getUTCDate()+n-o+(n<o?7:0))):i=new Date(Date.UTC(t,c[r],s,a[0],a[1],a[2],0)),l[t]=i)}function e(e,i,n){var o,r,s,a;return(i=i[n])?(s=new Date(e).getUTCFullYear(),i=jQuery.grep(i,function(t){var e=t[0],i=t[1];return e<=s&&(i>=s||e==s&&"only"==i||"max"==i)}),i.push(e),i.sort(function(e,i){return"number"!=typeof e&&(e=+t(s,e)),"number"!=typeof i&&(i=+t(s,i)),e-i}),a=i[jQuery.inArray(e,i)-1]||i[i.length-1],isNaN(a)?a:null):(o=n.split(":"),r=0,o.length>1&&(r=60*o[0]+ +o[1]),[-1e6,"max","-","Jan",1,[0,0,0],r,"-"])}function i(t,e,i){var n,o,r,s=e[i];if("string"==typeof s&&(s=e[s]),!s)throw Error('Timezone "'+i+'" is either incorrect, or kendo.timezones.min.js is not included.');for(n=s.length-1;n>=0&&(o=s[n][3],!(o&&t>o));n--);if(r=s[n+1],!r)throw Error('Timezone "'+i+'" not found on '+t+".");return r}function n(t,n,o,r){typeof t!=Bt&&(t=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));var s=i(t,n,r);return{zone:s,rule:e(t,o,s[1])}}function o(t,e){var i,o,r;return"Etc/UTC"==e||"Etc/GMT"==e?0:(i=n(t,this.zones,this.rules,e),o=i.zone,r=i.rule,vt.parseFloat(r?o[0]-r[6]:o[0]))}function r(t,e){var i=n(t,this.zones,this.rules,e),o=i.zone,r=i.rule,s=o[2];return s.indexOf("/")>=0?s.split("/")[r&&+r[6]?1:0]:s.indexOf("%s")>=0?s.replace("%s",r&&"-"!=r[7]?r[7]:""):s}function s(t,e,i){var n,o;return typeof e==Pt&&(e=this.offset(t,e)),typeof i==Pt&&(i=this.offset(t,i)),n=t.getTimezoneOffset(),t=new Date(t.getTime()+6e4*(e-i)),o=t.getTimezoneOffset(),new Date(t.getTime()+6e4*(o-n))}function a(t,e){return this.convert(t,t.getTimezoneOffset(),e)}function l(t,e){return this.convert(t,e,t.getTimezoneOffset())}function h(t){return this.apply(new Date(t),"Etc/UTC")}var 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},u={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};return{zones:{},rules:{},offset:o,convert:s,apply:a,remove:l,abbr:r,toLocalDate:h}}(),vt.date=function(){function t(t,e){return 0===e&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function e(e,i,n){var o=e.getHours();n=n||1,i=(i-e.getDay()+7*n)%7,e.setDate(e.getDate()+i),t(e,o)}function i(t,i,n){return t=new Date(t),e(t,i,n),t}function n(t){return new Date(t.getFullYear(),t.getMonth(),1)}function o(t){var e=new Date(t.getFullYear(),t.getMonth()+1,0),i=n(t),o=Math.abs(e.getTimezoneOffset()-i.getTimezoneOffset());return o&&e.setHours(i.getHours()+o/60),e}function r(t,e){return 1!==e?f(i(t,e,-1),4):f(t,4-(t.getDay()||7))}function s(t,e){var i=new Date(t.getFullYear(),0,1,(-6)),n=r(t,e),o=n.getTime()-i.getTime(),s=Math.floor(o/y);return 1+Math.floor(s/7)}function a(t,e){var i=f(t,-7),n=f(t,7),o=s(t,e);return 0===o?s(i,e)+1:53===o&&s(n,e)>1?1:o}function l(e){return e=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),t(e,0),e}function h(t){return Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function c(t){return t.getTime()-l(t)}function u(t,e,i){var n,o=c(e),r=c(i);return!t||o==r||(e>=i&&(i+=y),n=c(t),o>n&&(n+=y),r<o&&(r+=y),n>=o&&n<=r)}function d(t,e,i){var n,o=e.getTime(),r=i.getTime();return o>=r&&(r+=y),n=t.getTime(),n>=o&&n<=r}function f(e,i){var n=e.getHours();return e=new Date(e),p(e,i*y),t(e,n),e}function p(t,e,i){var n,o=t.getTimezoneOffset();t.setTime(t.getTime()+e),i||(n=t.getTimezoneOffset()-o,t.setTime(t.getTime()+n*w))}function g(e,i){return e=new Date(vt.date.getDate(e).getTime()+vt.date.getMilliseconds(i)),t(e,i.getHours()),e}function m(){return l(new Date)}function v(t){return l(t).getTime()==m().getTime()}function _(t){var e=new Date(1980,1,1,0,0,0);return t&&e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}var w=6e4,y=864e5;return{adjustDST:t,dayOfWeek:i,setDayOfWeek:e,getDate:l,isInDateRange:d,isInTimeRange:u,isToday:v,nextDay:function(t){return f(t,1)},previousDay:function(t){return f(t,-1)},toUtcTime:h,MS_PER_DAY:y,MS_PER_HOUR:60*w,MS_PER_MINUTE:w,setTime:p,setHours:g,addDays:f,today:m,toInvariantTime:_,firstDayOfMonth:n,lastDayOfMonth:o,weekInYear:a,getMilliseconds:c}}(),vt.stripWhitespace=function(t){var e,i,n;if(document.createNodeIterator)for(e=document.createNodeIterator(t,NodeFilter.SHOW_TEXT,function(e){return e.parentNode==t?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},!1);e.nextNode();)e.referenceNode&&!e.referenceNode.textContent.trim()&&e.referenceNode.parentNode.removeChild(e.referenceNode);else for(i=0;i<t.childNodes.length;i++)n=t.childNodes[i],3!=n.nodeType||/\S/.test(n.nodeValue)||(t.removeChild(n),i--),1==n.nodeType&&vt.stripWhitespace(n)},gt=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)},vt.animationFrame=function(t){gt.call(e,t)},mt=[],vt.queueAnimation=function(t){mt[mt.length]=t,1===mt.length&&vt.runNextAnimation()},vt.runNextAnimation=function(){vt.animationFrame(function(){mt[0]&&(mt.shift()(),mt[0]&&vt.runNextAnimation())})},vt.parseQueryStringParams=function(t){for(var e=t.split("?")[1]||"",i={},n=e.split(/&|=/),o=n.length,r=0;r<o;r+=2)""!==n[r]&&(i[decodeURIComponent(n[r])]=decodeURIComponent(n[r+1]));return i},vt.elementUnderCursor=function(t){if(i!==t.x.client)return document.elementFromPoint(t.x.client,t.y.client)},vt.wheelDeltaY=function(t){var e,n=t.originalEvent,o=n.wheelDeltaY;return n.wheelDelta?(o===i||o)&&(e=n.wheelDelta):n.detail&&n.axis===n.VERTICAL_AXIS&&(e=10*-n.detail),e},vt.throttle=function(t,e){var n,o,r=0;return!e||e<=0?t:(o=function(){function o(){t.apply(s,l),r=+new Date}var s=this,a=+new Date-r,l=arguments;return r?(n&&clearTimeout(n),a>e?o():n=setTimeout(o,e-a),i):o()},o.cancel=function(){clearTimeout(n)},o)},vt.caret=function(e,n,o){var r,s,a,l,h,c=n!==i;if(o===i&&(o=n),e[0]&&(e=e[0]),!c||!e.disabled){try{e.selectionStart!==i?c?(e.focus(),s=St.mobileOS,s.wp||s.android?setTimeout(function(){e.setSelectionRange(n,o)},0):e.setSelectionRange(n,o)):n=[e.selectionStart,e.selectionEnd]:document.selection&&(t(e).is(":visible")&&e.focus(),r=e.createTextRange(),c?(r.collapse(!0),r.moveStart("character",n),r.moveEnd("character",o-n),r.select()):(a=r.duplicate(),r.moveToBookmark(document.selection.createRange().getBookmark()),a.setEndPoint("EndToStart",r),l=a.text.length,h=l+r.text.length,n=[l,h]))}catch(u){n=[]}return n}},vt.compileMobileDirective=function(t,i){var n=e.angular;return t.attr("data-"+vt.ns+"role",t[0].tagName.toLowerCase().replace("kendo-mobile-","").replace("-","")),n.element(t).injector().invoke(["$compile",function(e){e(t)(i),/^\$(digest|apply)$/.test(i.$$phase)||i.$digest()}]),vt.widgetInstance(t,vt.mobile.ui)},vt.antiForgeryTokens=function(){var e={},n=t("meta[name=csrf-token],meta[name=_csrf]").attr("content"),o=t("meta[name=csrf-param],meta[name=_csrf_header]").attr("content");return t("input[name^='__RequestVerificationToken']").each(function(){e[this.name]=this.value}),o!==i&&n!==i&&(e[o]=n),e},vt.cycleForm=function(t){function e(t){var e=vt.widgetInstance(t);e&&e.focus?e.focus():t.focus()}var i=t.find("input, .k-widget").first(),n=t.find("button, .k-button").last();n.on("keydown",function(t){t.keyCode!=vt.keys.TAB||t.shiftKey||(t.preventDefault(),e(i))}),i.on("keydown",function(t){t.keyCode==vt.keys.TAB&&t.shiftKey&&(t.preventDefault(),e(n))})},function(){function i(e,i,n,o){var r,s,a=t("<form>").attr({action:n,method:"POST",target:o}),l=vt.antiForgeryTokens();l.fileName=i,r=e.split(";base64,"),l.contentType=r[0].replace("data:",""),l.base64=r[1];for(s in l)l.hasOwnProperty(s)&&t("<input>").attr({value:l[s],name:s,type:"hidden"}).appendTo(a);a.appendTo("body").submit().remove()}function n(t,e){var i,n,o,r,s,a=t;if("string"==typeof t){for(i=t.split(";base64,"),n=i[0],o=atob(i[1]),r=new Uint8Array(o.length),s=0;s<o.length;s++)r[s]=o.charCodeAt(s);a=new Blob([r.buffer],{type:n})}navigator.msSaveBlob(a,e)}function o(t,i){e.Blob&&t instanceof Blob&&(t=URL.createObjectURL(t)),r.download=i,r.href=t;var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!1,e,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(n),setTimeout(function(){URL.revokeObjectURL(t)})}var r=document.createElement("a"),s="download"in r&&!vt.support.browser.edge;vt.saveAs=function(t){var e=i;t.forceProxy||(s?e=o:navigator.msSaveBlob&&(e=n)),e(t.dataURI,t.fileName,t.proxyURL,t.proxyTarget)}}(),vt.proxyModelSetters=function(t){var e={};return Object.keys(t||{}).forEach(function(i){Object.defineProperty(e,i,{get:function(){return t[i]},set:function(e){t[i]=e,t.dirty=!0}})}),e}}(jQuery,window),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.fx.min",["kendo.core.min"],t)}(function(){return function(t,e){function i(t){return parseInt(t,10)}function n(t,e){return i(t.css(e))}function o(t){var e,i=[];for(e in t)i.push(e);return i}function r(t){for(var e in t)U.indexOf(e)!=-1&&j.indexOf(e)==-1&&delete t[e];return t}function s(t,e){var i,n,o,r,s=[],a={};for(n in e)i=n.toLowerCase(),r=P&&U.indexOf(i)!=-1,!D.hasHW3D&&r&&j.indexOf(i)==-1?delete e[n]:(o=e[n],r?s.push(n+"("+o+")"):a[n]=o);return s.length&&(a[at]=s.join(" ")),a}function a(t,e){var n,o,r;return P?(n=t.css(at),n==X?"scale"==e?1:0:(o=n.match(RegExp(e+"\\s*\\(([\\d\\w\\.]+)")),r=0,o?r=i(o[1]):(o=n.match(O)||[0,0,0,0,0],e=e.toLowerCase(),F.test(e)?r=parseFloat(o[3]/o[2]):"translatey"==e?r=parseFloat(o[4]/o[2]):"scale"==e?r=parseFloat(o[2]):"rotate"==e&&(r=parseFloat(Math.atan2(o[2],o[1])))),r)):parseFloat(t.css(e))}function l(t){return t.charAt(0).toUpperCase()+t.substring(1)}function h(t,e){var i=p.extend(e),n=i.prototype.directions;S[l(t)]=i,S.Element.prototype[t]=function(t,e,n,o){return new i(this.element,t,e,n,o)},T(n,function(e,n){S.Element.prototype[t+l(n)]=function(t,e,o){return new i(this.element,n,t,e,o)}})}function c(t,i,n,o){h(t,{directions:m,startValue:function(t){return this._startValue=t,this},endValue:function(t){return this._endValue=t,this},shouldHide:function(){return this._shouldHide},prepare:function(t,r){var s,a,l=this,h="out"===this._direction,c=l.element.data(i),u=!(isNaN(c)||c==n);s=u?c:e!==this._startValue?this._startValue:h?n:o,a=e!==this._endValue?this._endValue:h?o:n,this._reverse?(t[i]=a,r[i]=s):(t[i]=s,r[i]=a),l._shouldHide=r[i]===o}})}function u(t,e){var i=C.directions[e].vertical,n=t[i?Z:K]()/2+"px";return _[e].replace("$size",n)}var d,f,p,g,m,v,_,w,y,x,b,k,C=window.kendo,S=C.effects,T=t.each,A=t.extend,M=t.proxy,D=C.support,E=D.browser,P=D.transforms,B=D.transitions,I={scale:0,scalex:0,scaley:0,scale3d:0},z={translate:0,translatex:0,translatey:0,translate3d:0},L=e!==document.documentElement.style.zoom&&!P,O=/matrix3?d?\s*\(.*,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?/i,R=/^(-?[\d\.\-]+)?[\w\s]*,?\s*(-?[\d\.\-]+)?[\w\s]*/i,F=/translatex?$/i,V=/(zoom|fade|expand)(\w+)/,N=/(zoom|fade|expand)/,H=/[xy]$/i,U=["perspective","rotate","rotatex","rotatey","rotatez","rotate3d","scale","scalex","scaley","scalez","scale3d","skew","skewx","skewy","translate","translatex","translatey","translatez","translate3d","matrix","matrix3d"],j=["rotate","scale","scalex","scaley","skew","skewx","skewy","translate","translatex","translatey","matrix"],W={rotate:"deg",scale:"",skew:"px",translate:"px"},G=P.css,q=Math.round,$="",Y="px",X="none",Q="auto",K="width",Z="height",J="hidden",tt="origin",et="abortId",it="overflow",nt="translate",ot="position",rt="completeCallback",st=G+"transition",at=G+"transform",lt=G+"backface-visibility",ht=G+"perspective",ct="1500px",ut="perspective("+ct+")",dt={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=dt,A(t.fn,{kendoStop:function(t,e){return B?S.stopQueue(this,t||!1,e||!1):this.stop(t,e)}}),P&&!B&&(T(j,function(i,n){t.fn[n]=function(i){if(e===i)return a(this,n);var o=t(this)[0],r=n+"("+i+W[n.replace(H,"")]+")";return o.style.cssText.indexOf(at)==-1?t(this).css(at,r):o.style.cssText=o.style.cssText.replace(RegExp(n+"\\(.*?\\)","i"),r),this},t.fx.step[n]=function(e){t(e.elem)[n](e.now)}}),d=t.fx.prototype.cur,t.fx.prototype.cur=function(){return j.indexOf(this.prop)!=-1?parseFloat(t(this.elem)[this.prop]()):d.apply(this,arguments)}),C.toggleClass=function(t,e,i,n){return e&&(e=e.split(" "),B&&(i=A({exclusive:"all",duration:400,ease:"ease-out"},i),t.css(st,i.exclusive+" "+i.duration+"ms "+i.ease),setTimeout(function(){t.css(st,"").css(Z)},i.duration)),T(e,function(e,i){t.toggleClass(i,n)})),t},C.parseEffects=function(t,e){var i={};return"string"==typeof t?T(t.split(" "),function(t,n){var o=!N.test(n),r=n.replace(V,function(t,e,i){return e+":"+i.toLowerCase()}),s=r.split(":"),a=s[1],l={};s.length>1&&(l.direction=e&&o?dt[a].reverse:a),i[s[0]]=l}):T(t,function(t){var n=this.direction;n&&e&&!N.test(t)&&(this.direction=dt[n].reverse),i[t]=this}),i},B&&A(S,{transition:function(e,i,n){var r,a,l,h,c=0,u=e.data("keys")||[];n=A({duration:200,ease:"ease-out",complete:null,exclusive:"all"},n),l=!1,h=function(){l||(l=!0,a&&(clearTimeout(a),a=null),e.removeData(et).dequeue().css(st,"").css(st),n.complete.call(e))},n.duration=t.fx?t.fx.speeds[n.duration]||n.duration:n.duration,r=s(e,i),t.merge(u,o(r)),e.data("keys",t.unique(u)).height(),e.css(st,n.exclusive+" "+n.duration+"ms "+n.ease).css(st),e.css(r).css(at),B.event&&(e.one(B.event,h),0!==n.duration&&(c=500)),a=setTimeout(h,n.duration+c),e.data(et,a),e.data(rt,h)},stopQueue:function(t,e,i){var n,o=t.data("keys"),r=!i&&o,s=t.data(rt);return r&&(n=C.getComputedStyles(t[0],o)),s&&s(),r&&t.css(n),t.removeData("keys").stop(e)}}),f=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,n,o,a,l,h,c,u=this,d=e.length,f=u.element,p=u.options,g=t.Deferred(),m={},v={};for(u.effects=e,g.then(t.proxy(u,"complete")),f.data("animating",!0),n=0;n<d;n++)for(i=e[n],i.setReverse(p.reverse),i.setOptions(p),u.addRestoreProperties(i.restore),i.prepare(m,v),l=i.children(),o=0,h=l.length;o<h;o++)l[o].duration(p.duration).run();for(c in p.effects)A(v,p.effects[c].properties);for(f.is(":visible")||A(m,{display:f.data("olddisplay")||"block"}),P&&!p.reset&&(a=f.data("targetTransform"),a&&(m=A(a,m))),m=s(f,m),P&&!B&&(m=r(m)),f.css(m).css(at),n=0;n<d;n++)e[n].setup();return p.init&&p.init(),f.data("targetTransform",v),S.animate(f,v,A({},p,{complete:g.resolve})),g.promise()},stop:function(){t(this.element).kendoStop(!0,!0)},addRestoreProperties:function(t){for(var e,i=this.element,n=0,o=t.length;n<o;n++)e=t[n],this.restore.push(e),i.data(e)||i.data(e,i.css(e))},restoreCallback:function(){var t,e,i,n=this.element;for(t=0,e=this.restore.length;t<e;t++)i=this.restore[t],n.css(i,n.data(i))},complete:function(){var e=this,i=0,n=e.element,o=e.options,r=e.effects,s=r.length;for(n.removeData("animating").dequeue(),o.hide&&n.data("olddisplay",n.css("display")).hide(),this.restoreCallback(),L&&!P&&setTimeout(t.proxy(this,"restoreCallback"),0);i<s;i++)r[i].teardown();o.completeCallback&&o.completeCallback(n)}}),S.promise=function(t,e){var i,n,o,r=[],s=new f(t,e),a=C.parseEffects(e.effects);e.effects=a;for(o in a)i=S[l(o)],i&&(n=new i(t,a[o].direction),r.push(n));r[0]?s.run(r):(t.is(":visible")||t.css({display:t.data("olddisplay")||"block"}).css("display"),e.init&&e.init(),t.dequeue(),s.complete())},A(S,{animate:function(i,o,s){var a=s.transition!==!1;delete s.transition,B&&"transition"in S&&a?S.transition(i,o,s):P?i.animate(r(o),{queue:!1,show:!1,hide:!1,duration:s.duration,complete:s.complete}):i.each(function(){var i=t(this),r={};T(U,function(t,s){var a,l,h,c,u,d,f,p=o?o[s]+" ":null;p&&(l=o,s in I&&o[s]!==e?(a=p.match(R),P&&A(l,{scale:+a[0]})):s in z&&o[s]!==e&&(h=i.css(ot),c="absolute"==h||"fixed"==h,i.data(nt)||(c?i.data(nt,{top:n(i,"top")||0,left:n(i,"left")||0,bottom:n(i,"bottom"),right:n(i,"right")}):i.data(nt,{top:n(i,"marginTop")||0,left:n(i,"marginLeft")||0})),u=i.data(nt),a=p.match(R),a&&(d=s==nt+"y"?0:+a[1],f=s==nt+"y"?+a[1]:+a[2],c?(isNaN(u.right)?isNaN(d)||A(l,{left:u.left+d}):isNaN(d)||A(l,{right:u.right-d}),isNaN(u.bottom)?isNaN(f)||A(l,{top:u.top+f}):isNaN(f)||A(l,{bottom:u.bottom-f})):(isNaN(d)||A(l,{marginLeft:u.left+d}),isNaN(f)||A(l,{marginTop:u.top+f})))),!P&&"scale"!=s&&s in l&&delete l[s],l&&A(r,l))}),E.msie&&delete r.scale,i.animate(r,{queue:!1,show:!1,hide:!1,duration:s.duration,complete:s.complete})})}}),S.animatedPromise=S.promise,p=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 f(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,n=this,o=n.element,a=0,l=n.restore,h=l.length,c=t.Deferred(),u={},d={},f=n.children(),p=f.length;for(c.then(t.proxy(n,"_complete")),o.data("animating",!0),a=0;a<h;a++)e=l[a],o.data(e)||o.data(e,o.css(e));for(a=0;a<p;a++)f[a].duration(n._duration).run();return n.prepare(u,d),o.is(":visible")||A(u,{display:o.data("olddisplay")||"block"}),P&&(i=o.data("targetTransform"),i&&(u=A(i,u))),u=s(o,u),P&&!B&&(u=r(u)),o.css(u).css(at),n.setup(),o.data("targetTransform",d),S.animate(o,d,{duration:n._duration,complete:c.resolve}),c.promise()},stop:function(){var e=0,i=this.children(),n=i.length;for(e=0;e<n;e++)i[e].stop();return t(this.element).kendoStop(!0,!0),this},restoreCallback:function(){var t,e,i,n=this.element;for(t=0,e=this.restore.length;t<e;t++)i=this.restore[t],n.css(i,n.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(),L&&!P&&setTimeout(t.proxy(e,"restoreCallback"),0),e.teardown()},setOptions:function(t){A(!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}}),g=["left","right","up","down"],m=["in","out"],h("slideIn",{directions:g,divisor:function(t){return this.options.divisor=t,this},prepare:function(t,e){var i,n=this,o=n.element,r=C._outerWidth,s=C._outerHeight,a=dt[n._direction],l=-a.modifier*(a.vertical?s(o):r(o)),h=l/(n.options&&n.options.divisor||1)+Y,c="0px";n._reverse&&(i=t,t=e,e=i),P?(t[a.transition]=h,e[a.transition]=c):(t[a.property]=h,e[a.property]=c)}}),h("tile",{directions:g,init:function(t,e,i){p.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,n=t.options.previousDivisor||1,o=t._direction,r=[C.fx(t.element).slideIn(o).setReverse(e)];return i&&r.push(C.fx(i).slideIn(dt[o].reverse).divisor(n).setReverse(!e)),r}}),c("fade","opacity",1,0),c("zoom","scale",1,.01),h("slideMargin",{prepare:function(t,e){var i,n=this,o=n.element,r=n.options,s=o.data(tt),a=r.offset,l=n._reverse;l||null!==s||o.data(tt,parseFloat(o.css("margin-"+r.axis))),i=o.data(tt)||0,e["margin-"+r.axis]=l?i:i+a}}),h("slideTo",{prepare:function(t,e){var i=this,n=i.element,o=i.options,r=o.offset.split(","),s=i._reverse;P?(e.translatex=s?0:r[0],e.translatey=s?0:r[1]):(e.left=s?0:r[0],e.top=s?0:r[1]),n.css("left")}}),h("expand",{directions:["horizontal","vertical"],restore:[it],prepare:function(t,i){var n=this,o=n.element,r=n.options,s=n._reverse,a="vertical"===n._direction?Z:K,l=o[0].style[a],h=o.data(a),c=parseFloat(h||l),u=q(o.css(a,Q)[a]());t.overflow=J,c=r&&r.reset?u||c:c||u,i[a]=(s?0:c)+Y,t[a]=(s?c:0)+Y,h===e&&o.data(a,l)},shouldHide:function(){return this._reverse},teardown:function(){var t=this,e=t.element,i="vertical"===t._direction?Z:K,n=e.data(i);n!=Q&&n!==$||setTimeout(function(){e.css(i,Q).css(i)},0)}}),v={position:"absolute",marginLeft:0,marginTop:0,scale:1},h("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,n=i.element,o=S.box(n),r=S.box(i.options.target),s=a(n,"scale"),l=S.fillScale(r,o),h=S.transformOrigin(r,o);A(t,v),e.scale=1,n.css(at,"scale(1)").css(at),n.css(at,"scale("+s+")"),t.top=o.top,t.left=o.left,t.transformOrigin=h.x+Y+" "+h.y+Y,i._reverse?t.scale=l:e.scale=l}}),_={top:"rect(auto auto $size auto)",bottom:"rect($size auto auto auto)",left:"rect(auto $size auto auto)",right:"rect(auto auto auto $size)"},w={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)"}},h("turningPage",{directions:g,init:function(t,e,i){p.prototype.init.call(this,t,e),this._container=i},prepare:function(t,e){var i=this,n=i._reverse,o=n?dt[i._direction].reverse:i._direction,r=w[o];t.zIndex=1,i._clipInHalf&&(t.clip=u(i._container,C.directions[o].reverse)),t[lt]=J,e[at]=ut+(n?r.start:r.end),t[at]=ut+(n?r.end:r.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}}),h("staticPage",{
directions:g,init:function(t,e,i){p.prototype.init.call(this,t,e),this._container=i},restore:["clip"],prepare:function(t,e){var i=this,n=i._reverse?dt[i._direction].reverse:i._direction;t.clip=u(i._container,n),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}}),h("pageturn",{directions:["horizontal","vertical"],init:function(t,e,i,n){p.prototype.init.call(this,t,e),this.options={},this.options.face=i,this.options.back=n},children:function(){var t,e=this,i=e.options,n="horizontal"===e._direction?"left":"top",o=C.directions[n].reverse,r=e._reverse,s=i.face.clone(!0).removeAttr("id"),a=i.back.clone(!0).removeAttr("id"),l=e.element;return r&&(t=n,n=o,o=t),[C.fx(i.face).staticPage(n,l).face(!0).setReverse(r),C.fx(i.back).staticPage(o,l).setReverse(r),C.fx(s).turningPage(n,l).face(!0).clipInHalf(!0).temporary().setReverse(r),C.fx(a).turningPage(o,l).clipInHalf(!0).temporary().setReverse(r)]},prepare:function(t,e){t[ht]=ct,t.transformStyle="preserve-3d",t.opacity=.999,e.opacity=1},teardown:function(){this.element.find(".temp-page").remove()}}),h("flip",{directions:["horizontal","vertical"],init:function(t,e,i,n){p.prototype.init.call(this,t,e),this.options={},this.options.face=i,this.options.back=n},children:function(){var t,e=this,i=e.options,n="horizontal"===e._direction?"left":"top",o=C.directions[n].reverse,r=e._reverse,s=e.element;return r&&(t=n,n=o,o=t),[C.fx(i.face).turningPage(n,s).face(!0).setReverse(r),C.fx(i.back).turningPage(o,s).setReverse(r)]},prepare:function(t){t[ht]=ct,t.transformStyle="preserve-3d"}}),y=!D.mobileOS.android,x=".km-touch-scrollbar, .km-actionsheet-wrapper",h("replace",{_before:t.noop,_after:t.noop,init:function(e,i,n){p.prototype.init.call(this,e),this._previous=t(i),this._transitionClass=n},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(x))){var i=this.container;i.removeClass("k-fx-end").removeClass(this._containerClass()).off(B.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(ot,""),this.deferred.resolve(),delete this.deferred}},run:function(){if(this._additionalEffects&&this._additionalEffects[0])return this.compositeRun();var e,i=this,n=i.element,o=i._previous,r=n.parents().filter(o.parents()).first(),s=i._both(),a=t.Deferred(),l=n.css(ot);return r.length||(r=n.parent()),this.container=r,this.deferred=a,this.isAbsolute="absolute"==l,this.isAbsolute||s.css(ot,"absolute"),y&&(e=r.css(it),r.css(it,"hidden")),B?(n.addClass("k-fx-hidden"),r.addClass(this._containerClass()),this.completeProxy=t.proxy(this,"complete"),r.on(B.event,this.completeProxy),C.animationFrame(function(){n.removeClass("k-fx-hidden").addClass("k-fx-next"),o.css("display","").addClass("k-fx-current"),i._before(o,n),C.animationFrame(function(){r.removeClass("k-fx-start").addClass("k-fx-end"),i._after(o,n)})})):this.complete(),a.promise()},stop:function(){this.complete()}}),b=C.Class.extend({init:function(){var t=this;t._tickProxy=M(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))}}),k=b.extend({init:function(t){var e=this;A(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))}}}),A(k,{easeOutExpo:function(t,e,i,n){return t==n?e+i:i*(-Math.pow(2,-10*t/n)+1)+e},easeOutBack:function(t,e,i,n,o){return o=1.70158,i*((t=t/n-1)*t*((o+1)*t+o)+1)+e}}),S.Animation=b,S.Transition=k,S.createEffect=h,S.box=function(e){e=t(e);var i=e.offset();return i.width=C._outerWidth(e),i.height=C._outerHeight(e),i},S.transformOrigin=function(t,e){var i=(t.left-e.left)*e.width/(e.width-t.width),n=(t.top-e.top)*e.height/(e.height-t.height);return{x:isNaN(i)?0:i,y:isNaN(n)?0:n}},S.fillScale=function(t,e){return Math.min(t.width/e.width,t.height/e.height)},S.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)()}),function(t,define){define("kendo.router.min",["kendo.core.min"],t)}(function(){return function(t,e){function i(t,e){if(!e)return t;t+"/"===e&&(t=e);var i=RegExp("^"+e,"i");return i.test(t)||(t=e+"/"+t),f.protocol+"//"+(f.host+"/"+t).replace(/\/\/+/g,"/")}function n(t){return t?"#!":"#"}function o(t){var e=f.href;return"#!"===t&&e.indexOf("#")>-1&&e.indexOf("#!")<0?null:e.split(t)[1]||""}function r(t,e){return 0===e.indexOf(t)?e.substr(t.length).replace(/\/\//g,"/"):e}function s(t){return t.replace(/^(#)?/,"#")}function a(t){return t.replace(/^(#(!)?)?/,"#!")}var l=window.kendo,h="change",c="back",u="same",d=l.support,f=window.location,p=window.history,g=50,m=l.support.browser.msie,v=/^#*/,_=window.document,w=l.Class.extend({back:function(){m?setTimeout(function(){p.back()}):p.back()},forward:function(){m?setTimeout(function(){p.forward()}):p.forward()},length:function(){return p.length},replaceLocation:function(t){f.replace(t)}}),y=w.extend({init:function(t){this.root=t},navigate:function(t){p.pushState({},_.title,i(t,this.root))},replace:function(t){p.replaceState({},_.title,i(t,this.root))},normalize:function(t){return r(this.root,t)},current:function(){var t=f.pathname;return f.search&&(t+=f.search),r(this.root,t)},change:function(e){t(window).bind("popstate.kendo",e)},stop:function(){t(window).unbind("popstate.kendo")},normalizeCurrent:function(t){var e,r=t.root,s=f.pathname,a=o(n(t.hashBang));r===s+"/"&&(e=r),r===s&&a&&(e=i(a.replace(v,""),r)),e&&p.pushState({},_.title,e)}}),x=w.extend({init:function(t){this._id=l.guid(),this.prefix=n(t),this.fix=t?a:s},navigate:function(t){f.hash=this.fix(t)},replace:function(t){this.replaceLocation(this.fix(t))},normalize:function(t){return t.indexOf(this.prefix)<0?t:t.split(this.prefix)[1]},change:function(e){d.hashChange?t(window).on("hashchange."+this._id,e):this._interval=setInterval(e,g)},stop:function(){t(window).off("hashchange."+this._id),clearInterval(this._interval)},current:function(){return o(this.prefix)},normalizeCurrent:function(t){var e=f.pathname,i=t.root;return!(!t.pushState||i===e)&&(this.replaceLocation(i+this.prefix+r(i,e)),!0)}}),b=l.Observable.extend({start:function(e){if(e=e||{},this.bind([h,c,u],e),!this._started){this._started=!0,e.root=e.root||"/";var i,n=this.createAdapter(e);n.normalizeCurrent(e)||(i=n.current(),t.extend(this,{adapter:n,root:e.root,historyLength:n.length(),current:i,locations:[i]}),n.change(t.proxy(this,"_checkUrl")))}},createAdapter:function(t){return d.pushState&&t.pushState?new y(t.root):new x(t.hashBang)},stop:function(){this._started&&(this.adapter.stop(),this.unbind(h),this._started=!1)},change:function(t){this.bind(h,t)},replace:function(t,e){this._navigate(t,e,function(e){e.replace(t),this.locations[this.locations.length-1]=this.current})},navigate:function(t,i){return"#:back"===t?(this.backCalled=!0,this.adapter.back(),e):(this._navigate(t,i,function(e){e.navigate(t),this.locations.push(this.current)}),e)},_navigate:function(t,i,n){var o=this.adapter;return t=o.normalize(t),this.current===t||this.current===decodeURIComponent(t)?(this.trigger(u),e):(!i&&this.trigger(h,{url:t,decode:!1})||(this.current=t,n.call(this,o),this.historyLength=o.length()),e)},_checkUrl:function(){var t=this.adapter,i=t.current(),n=t.length(),o=this.historyLength===n,r=i===this.locations[this.locations.length-2]&&o,s=this.backCalled,a=this.current;return null===i||this.current===i||this.current===decodeURIComponent(i)||(this.historyLength=n,this.backCalled=!1,this.current=i,r&&this.trigger("back",{url:a,to:i})?(t.forward(),this.current=a,e):this.trigger(h,{url:i,backButtonPressed:!s})?(r?t.forward():(t.back(),this.historyLength--),this.current=a,e):(r?this.locations.pop():this.locations.push(i),e))}});l.History=b,l.History.HistoryAdapter=w,l.History.HashAdapter=x,l.History.PushStateAdapter=y,l.absoluteURL=i,l.history=new b}(window.kendo.jQuery),function(){function t(t,e){return e?t:"([^/]+)"}function e(e,i){return RegExp("^"+e.replace(p,"\\$&").replace(u,"(?:$1)?").replace(d,t).replace(f,"(.*?)")+"$",i?"i":"")}function i(t){return t.replace(/(\?.*)|(#.*)/g,"")}var n=window.kendo,o=n.history,r=n.Observable,s="init",a="routeMissing",l="change",h="back",c="same",u=/\((.*?)\)/g,d=/(\(\?)?:\w+/g,f=/\*\w+/g,p=/[\-{}\[\]+?.,\\\^$|#\s]/g,g=n.Class.extend({init:function(t,i,n){t instanceof RegExp||(t=e(t,n)),this.route=t,this._callback=i},callback:function(t,e,o){var r,s,a=0,l=n.parseQueryStringParams(t);if(l._back=e,t=i(t),r=this.route.exec(t).slice(1),s=r.length,o)for(;a<s;a++)void 0!==r[a]&&(r[a]=decodeURIComponent(r[a]));r.push(l),this._callback.apply(null,r)},worksWith:function(t,e,n){return!!this.route.test(i(t))&&(this.callback(t,e,n),!0)}}),m=r.extend({init:function(t){t||(t={}),r.fn.init.call(this),this.routes=[],this.pushState=t.pushState,this.hashBang=t.hashBang,this.root=t.root,this.ignoreCase=t.ignoreCase!==!1,this.bind([s,a,l,c],t)},destroy:function(){o.unbind(l,this._urlChangedProxy),o.unbind(c,this._sameProxy),o.unbind(h,this._backProxy),this.unbind()},start:function(){var t,e=this,i=function(){e._same()},n=function(t){e._back(t)},r=function(t){e._urlChanged(t)};o.start({same:i,change:r,back:n,pushState:e.pushState,hashBang:e.hashBang,root:e.root}),t={url:o.current||"/",preventDefault:$.noop},e.trigger(s,t)||e._urlChanged(t),this._urlChangedProxy=r,this._backProxy=n},route:function(t,e){this.routes.push(new g(t,e,this.ignoreCase))},navigate:function(t,e){n.history.navigate(t,e)},replace:function(t,e){n.history.replace(t,e)},_back:function(t){this.trigger(h,{url:t.url,to:t.to})&&t.preventDefault()},_same:function(){this.trigger(c)},_urlChanged:function(t){var e,i,o,r,s=t.url,h=void 0===t.decode,c=t.backButtonPressed;if(s||(s="/"),this.trigger(l,{url:t.url,params:n.parseQueryStringParams(t.url),backButtonPressed:c}))return void t.preventDefault();for(e=0,i=this.routes,r=i.length;e<r;e++)if(o=i[e],o.worksWith(s,c,h))return;this.trigger(a,{url:s,params:n.parseQueryStringParams(s),backButtonPressed:c})&&t.preventDefault()}});n.Router=m}(),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.data.odata.min",["kendo.core.min"],t)}(function(){return function(t,e){function i(n,r){var l,h,c,u,d,f,p,g,m=[],v=n.logic||"and",_=n.filters;for(l=0,h=_.length;l<h;l++)n=_[l],c=n.field,p=n.value,f=n.operator,n.filters?n=i(n,r):(g=n.ignoreCase,c=c.replace(/\./g,"/"),n=s[f],r&&(n=a[f]),"isnull"===f||"isnotnull"===f?n=o.format("{0} {1} null",c,n):"isempty"===f||"isnotempty"===f?n=o.format("{0} {1} ''",c,n):n&&p!==e&&(u=t.type(p),"string"===u?(d="'{1}'",p=p.replace(/'/g,"''"),g===!0&&(c="tolower("+c+")")):"date"===u?r?(d="{1:yyyy-MM-ddTHH:mm:ss+00:00}",p=o.timezone.apply(p,"Etc/UTC")):d="datetime'{1:yyyy-MM-ddTHH:mm:ss}'":d="{1}",n.length>3?"substringof"!==n?d="{0}({2},"+d+")":(d="{0}("+d+",{2})","doesnotcontain"===f&&(r?(d="{0}({2},'{1}') eq -1",n="indexof"):d+=" eq false")):d="{2} {0} "+d,n=o.format(d,n,p,c))),m.push(n);return n=m.join(" "+v+" "),m.length>1&&(n="("+n+")"),n}function n(t){for(var e in t)0===e.indexOf("@odata")&&delete t[e]}var o=window.kendo,r=t.extend,s={eq:"eq",neq:"ne",gt:"gt",gte:"ge",lt:"lt",lte:"le",contains:"substringof",doesnotcontain:"substringof",endswith:"endswith",startswith:"startswith",isnull:"eq",isnotnull:"ne",isempty:"eq",isnotempty:"ne"},a=r({},s,{contains:"contains"}),l={pageSize:t.noop,page:t.noop,filter:function(t,e,n){e&&(e=i(e,n),e&&(t.$filter=e))},sort:function(e,i){var n=t.map(i,function(t){var e=t.field.replace(/\./g,"/");return"desc"===t.dir&&(e+=" desc"),e}).join(",");n&&(e.$orderby=n)},skip:function(t,e){e&&(t.$skip=e)},take:function(t,e){e&&(t.$top=e)}},h={read:{dataType:"jsonp"}};r(!0,o.data,{schemas:{odata:{type:"json",data:function(t){return t.d.results||[t.d]},total:"d.__count"}},transports:{odata:{read:{cache:!0,dataType:"jsonp",jsonp:"$callback"},update:{cache:!0,dataType:"json",contentType:"application/json",type:"PUT"},create:{cache:!0,dataType:"json",contentType:"application/json",type:"POST"},destroy:{cache:!0,dataType:"json",type:"DELETE"},parameterMap:function(t,e,i){var n,r,s,a;if(t=t||{},e=e||"read",a=(this.options||h)[e],a=a?a.dataType:"json","read"===e){n={$inlinecount:"allpages"},"json"!=a&&(n.$format="json");for(s in t)l[s]?l[s](n,t[s],i):n[s]=t[s]}else{if("json"!==a)throw Error("Only json dataType can be used for "+e+" operation.");if("destroy"!==e){for(s in t)r=t[s],"number"==typeof r&&(t[s]=r+"");n=o.stringify(t)}}return n}}}}),r(!0,o.data,{schemas:{"odata-v4":{type:"json",data:function(e){return e=t.extend({},e),n(e),e.value?e.value:[e]},total:function(t){return t["@odata.count"]}}},transports:{"odata-v4":{read:{cache:!0,dataType:"json"},update:{cache:!0,dataType:"json",contentType:"application/json;IEEE754Compatible=true",type:"PUT"},create:{cache:!0,dataType:"json",contentType:"application/json;IEEE754Compatible=true",type:"POST"},destroy:{cache:!0,dataType:"json",type:"DELETE"},parameterMap:function(t,e){var i=o.data.transports.odata.parameterMap(t,e,!0);return"read"==e&&(i.$count=!0,delete i.$inlinecount),i}}}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.data.xml.min",["kendo.core.min"],t)}(function(){return function(t,e){var i=window.kendo,n=t.isArray,o=t.isPlainObject,r=t.map,s=t.each,a=t.extend,l=i.getter,h=i.Class,c=h.extend({init:function(e){var l,h,c,u,d=this,f=e.total,p=e.model,g=e.parse,m=e.errors,v=e.serialize,_=e.data;p&&(o(p)&&(l=e.modelBase||i.data.Model,p.fields&&s(p.fields,function(e,i){o(i)&&i.field?t.isFunction(i.field)||(i=a(i,{field:d.getter(i.field)})):i={field:d.getter(i)},p.fields[e]=i}),h=p.id,h&&(c={},c[d.xpathToMember(h,!0)]={field:d.getter(h)},p.fields=a(c,p.fields),p.id=d.xpathToMember(h)),p=l.define(p)),d.model=p),f&&("string"==typeof f?(f=d.getter(f),d.total=function(t){return parseInt(f(t),10)}):"function"==typeof f&&(d.total=f)),m&&("string"==typeof m?(m=d.getter(m),d.errors=function(t){return m(t)||null}):"function"==typeof m&&(d.errors=m)),_&&("string"==typeof _?(_=d.xpathToMember(_),d.data=function(t){var e,i=d.evaluate(t,_);return i=n(i)?i:[i],d.model&&p.fields?(e=new d.model,r(i,function(t){if(t){var i,n={};for(i in p.fields)n[i]=e._parse(i,p.fields[i].field(t));return n}})):i}):"function"==typeof _&&(d.data=_)),"function"==typeof g&&(u=d.parse,d.parse=function(t){var e=g.call(d,t);return u.call(d,e)}),"function"==typeof v&&(d.serialize=v)},total:function(t){return this.data(t).length},errors:function(t){return t?t.errors:null},serialize:function(t){return t},parseDOM:function(t){var i,o,r,s,a,l,h,c={},u=t.attributes,d=u.length;for(h=0;h<d;h++)l=u[h],c["@"+l.nodeName]=l.nodeValue;for(o=t.firstChild;o;o=o.nextSibling)r=o.nodeType,3===r||4===r?c["#text"]=o.nodeValue:1===r&&(i=this.parseDOM(o),s=o.nodeName,a=c[s],n(a)?a.push(i):a=a!==e?[a,i]:i,c[s]=a);return c},evaluate:function(t,e){for(var i,o,r,s,a,l=e.split(".");i=l.shift();)if(t=t[i],n(t)){for(o=[],e=l.join("."),a=0,r=t.length;a<r;a++)s=this.evaluate(t[a],e),s=n(s)?s:[s],o.push.apply(o,s);return o}return t},parse:function(e){var i,n,o={};return i=e.documentElement||t.parseXML(e).documentElement,n=this.parseDOM(i),o[i.nodeName]=n,o},xpathToMember:function(t,e){return t?(t=t.replace(/^\//,"").replace(/\//g,"."),t.indexOf("@")>=0?t.replace(/\.?(@.*)/,e?"$1":'["$1"]'):t.indexOf("text()")>=0?t.replace(/(\.?text\(\))/,e?"#text":'["#text"]'):t):""},getter:function(t){return l(this.xpathToMember(t),!0)}});t.extend(!0,i.data,{XmlDataReader:c,readers:{xml:c}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.data.min",["kendo.core.min","kendo.data.odata.min","kendo.data.xml.min"],t)}(function(){return function(t,e){function i(t,e,i,n){return function(o){var r,s={};for(r in o)s[r]=o[r];s.field=n?i+"."+o.field:i,e==Mt&&t._notifyChange&&t._notifyChange(s),t.trigger(e,s)}}function n(e,i){if(e===i)return!0;var o,r=t.type(e),s=t.type(i);if(r!==s)return!1;if("date"===r)return e.getTime()===i.getTime();if("object"!==r&&"array"!==r)return!1;for(o in e)if(!n(e[o],i[o]))return!1;return!0}function o(t,e){var i,n;for(n in t){if(i=t[n],ut(i)&&i.field&&i.field===e)return i;if(i===e)return i}return null}function r(t){this.data=t||[]}function s(t,i){if(t){var n=typeof t===bt?{field:t,dir:i}:t,o=ft(n)?n:n!==e?[n]:[];return pt(o,function(t){return!!t.dir})}}function a(t){var e,i,n,o,r=t.filters;if(r)for(e=0,i=r.length;e<i;e++)n=r[e],o=n.operator,o&&typeof o===bt&&(n.operator=K[o.toLowerCase()]||o),a(n)}function l(t){if(t&&!dt(t))return!ft(t)&&t.filters||(t={logic:"and",filters:ft(t)?t:[t]}),a(t),t}function h(t,e){return!t.logic&&!e.logic&&(t.field===e.field&&t.value===e.value&&t.operator===e.operator)}function c(t){return t=t||{},dt(t)?{logic:"and",filters:[]}:l(t)}function u(t,e){return e.logic||t.field>e.field?1:t.field<e.field?-1:0}function d(t,e){var i,n,o,r,s;if(t=c(t),e=c(e),t.logic!==e.logic)return!1;if(o=(t.filters||[]).slice(),r=(e.filters||[]).slice(),o.length!==r.length)return!1;for(o=o.sort(u),r=r.sort(u),s=0;s<o.length;s++)if(i=o[s],n=r[s],i.logic&&n.logic){if(!d(i,n))return!1}else if(!h(i,n))return!1;return!0}function f(t){return ft(t)?t:[t]}function p(t,i){var n=typeof t===bt?{field:t,dir:i}:t,o=ft(n)?n:n!==e?[n]:[];return U(o,function(t){return{field:t.field,dir:t.dir||"asc",aggregates:t.aggregates}})}function g(t,e){return t&&t.getTime&&e&&e.getTime?t.getTime()===e.getTime():t===e}function m(t,e,i,n,o,r){var s,a,l,h,c;for(e=e||[],h=e.length,s=0;s<h;s++)a=e[s],l=a.aggregate,c=a.field,t[c]=t[c]||{},r[c]=r[c]||{},r[c][l]=r[c][l]||{},t[c][l]=Z[l.toLowerCase()](t[c][l],i,_t.accessor(c),n,o,r[c][l])}function v(t){return"number"==typeof t&&!isNaN(t)}function _(t){return t&&t.getTime}function w(t){var e,i=t.length,n=Array(i);for(e=0;e<i;e++)n[e]=t[e].toJSON();return n}function y(t,e,i,n,o){var r,s,a,l,h,c={};for(l=0,h=t.length;l<h;l++){r=t[l];for(s in e)a=o[s],a&&a!==s&&(c[a]||(c[a]=_t.setter(a)),c[a](r,e[s](r)),delete r[s])}}function x(t,e,i,n,o){var r,s,a,l,h;for(l=0,h=t.length;l<h;l++){r=t[l];for(s in e)r[s]=i._parse(s,e[s](r)),a=o[s],a&&a!==s&&delete r[a]}}function b(t,e,i,n,o){var r,s,a,l;for(s=0,l=t.length;s<l;s++)r=t[s],a=n[r.field],a&&a!=r.field&&(r.field=a),r.value=i._parse(r.field,r.value),r.hasSubgroups?b(r.items,e,i,n,o):x(r.items,e,i,n,o)}function k(t,e,i,n,o,r){return function(s){return s=t(s),s&&!dt(n)&&("[object Array]"===$t.call(s)||s instanceof Qt||(s=[s]),i(s,n,new e,o,r)),s||[]}}function C(t,e,i,n){for(var o,r,s,a=0;e.length&&n&&(o=e[a],r=o.items,s=r.length,t&&t.field===o.field&&t.value===o.value?(t.hasSubgroups&&t.items.length?C(t.items[t.items.length-1],o.items,i,n):(r=r.slice(i,i+n),t.items=t.items.concat(r)),e.splice(a--,1)):o.hasSubgroups&&r.length?(C(o,r,i,n),o.items.length||e.splice(a--,1)):(r=r.slice(i,i+n),o.items=r,o.items.length||e.splice(a--,1)),0===r.length?i-=s:(i=0,n-=r.length),!(++a>=e.length)););a<e.length&&e.splice(a,e.length-a)}function S(t){var e,i,n,o,r,s=[];for(e=0,i=t.length;e<i;e++)if(r=t.at(e),r.hasSubgroups)s=s.concat(S(r.items));else for(n=r.items,o=0;o<n.length;o++)s.push(n.at(o));return s}function T(t,e){var i,n,o;if(e)for(i=0,n=t.length;i<n;i++)o=t.at(i),o.hasSubgroups?T(o.items,e):o.items=new j(o.items,e)}function A(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i].hasSubgroups){if(A(t[i].items,e))return!0}else if(e(t[i].items,t[i]))return!0}function M(t,e,i,n){for(var o=0;o<t.length&&t[o].data!==e&&!D(t[o].data,i,n);o++);}function D(t,e,i){for(var n=0,o=t.length;n<o;n++){if(t[n]&&t[n].hasSubgroups)return D(t[n].items,e,i);if(t[n]===e||t[n]===i)return t[n]=i,!0}}function E(t,i,n,o,r){var s,a,l,h;for(s=0,a=t.length;s<a;s++)if(l=t[s],l&&!(l instanceof o))if(l.hasSubgroups===e||r){for(h=0;h<i.length;h++)if(i[h]===l){t[s]=i.at(h),M(n,i,l,t[s]);break}}else E(l.items,i,n,o,r)}function P(t,e){var i,n,o;for(i=0,n=t.length;i<n;i++)if(o=t.at(i),o.uid==e.uid)return t.splice(i,1),o}function B(t,e){return e?z(t,function(t){return t.uid&&t.uid==e.uid||t[e.idField]===e.id&&e.id!==e._defaultId}):-1}function I(t,e){return e?z(t,function(t){return t.uid==e.uid}):-1}function z(t,e){var i,n;for(i=0,n=t.length;i<n;i++)if(e(t[i]))return i;return-1}function L(t,e){var i,n;return t&&!dt(t)?(i=t[e],n=ut(i)?i.from||i.field||e:t[e]||e,wt(n)?e:n):e}function O(t,e){var i,n,o,r={};for(o in t)"filters"!==o&&(r[o]=t[o]);if(t.filters)for(r.filters=[],i=0,n=t.filters.length;i<n;i++)r.filters[i]=O(t.filters[i],e);else r.field=L(e.fields,r.field);return r}function R(t,e){var i,n,o,r,s,a=[];for(i=0,n=t.length;i<n;i++){o={},r=t[i];for(s in r)o[s]=r[s];o.field=L(e.fields,o.field),o.aggregates&&ft(o.aggregates)&&(o.aggregates=R(o.aggregates,e)),a.push(o)}return a}function F(e,i){var n,o,r,s,a,l,h,c,u,d;for(e=t(e)[0],n=e.options,o=i[0],r=i[1],s=[],a=0,l=n.length;a<l;a++)u={},c=n[a],h=c.parentNode,h===e&&(h=null),c.disabled||h&&h.disabled||(h&&(u.optgroup=h.label),u[o.field]=c.text,d=c.attributes.value,d=d&&d.specified?c.value:c.text,u[r.field]=d,s.push(u));return s}function V(e,i){var n,o,r,s,a,l,h,c=t(e)[0].tBodies[0],u=c?c.rows:[],d=i.length,f=[];for(n=0,o=u.length;n<o;n++){for(a={},h=!0,s=u[n].cells,r=0;r<d;r++)l=s[r],"th"!==l.nodeName.toLowerCase()&&(h=!1,a[i[r].field]=l.innerHTML);h||f.push(a)}return f}function N(t){return function(){var e=this._data,i=nt.fn[t].apply(this,Gt.call(arguments));return this._data!=e&&this._attachBubbleHandlers(),i}}function H(e,i){function n(t,e){return t.filter(e).add(t.find(e))}var o,r,s,a,l,h,c,u,d=t(e).children(),f=[],p=i[0].field,g=i[1]&&i[1].field,m=i[2]&&i[2].field,v=i[3]&&i[3].field;for(o=0,r=d.length;o<r;o++)s={_loaded:!0},a=d.eq(o),h=a[0].firstChild,u=a.children(),e=u.filter("ul"),u=u.filter(":not(ul)"),l=a.attr("data-id"),l&&(s.id=l),h&&(s[p]=3==h.nodeType?h.nodeValue:u.text()),g&&(s[g]=n(u,"a").attr("href")),v&&(s[v]=n(u,"img").attr("src")),m&&(c=n(u,".k-sprite").prop("className"),s[m]=c&&t.trim(c.replace("k-sprite",""))),e.length&&(s.items=H(e.eq(0),i)),"true"==a.attr("data-hasChildren")&&(s.hasChildren=!0),f.push(s);return f}var U,j,W,G,q,$,Y,X,Q,K,Z,J,tt,et,it,nt,ot,rt,st,at,lt,ht=t.extend,ct=t.proxy,ut=t.isPlainObject,dt=t.isEmptyObject,ft=t.isArray,pt=t.grep,gt=t.ajax,mt=t.each,vt=t.noop,_t=window.kendo,wt=_t.isFunction,yt=_t.Observable,xt=_t.Class,bt="string",kt="function",Ct="create",St="read",Tt="update",At="destroy",Mt="change",Dt="sync",Et="get",Pt="error",Bt="requestStart",It="progress",zt="requestEnd",Lt=[Ct,St,Tt,At],Ot=function(t){return t},Rt=_t.getter,Ft=_t.stringify,Vt=Math,Nt=[].push,Ht=[].join,Ut=[].pop,jt=[].splice,Wt=[].shift,Gt=[].slice,qt=[].unshift,$t={}.toString,Yt=_t.support.stableSort,Xt=/^\/Date\((.*?)\)\/$/,Qt=yt.extend({init:function(t,e){var i=this;i.type=e||W,yt.fn.init.call(i),i.length=t.length,i.wrapAll(t,i)},at:function(t){return this[t]},toJSON:function(){var t,e,i=this.length,n=Array(i);for(t=0;t<i;t++)e=this[t],e instanceof W&&(e=e.toJSON()),n[t]=e;return n},parent:vt,wrapAll:function(t,e){var i,n,o=this,r=function(){return o};for(e=e||[],i=0,n=t.length;i<n;i++)e[i]=o.wrap(t[i],r);return e},wrap:function(t,e){var i,n=this;return null!==t&&"[object Object]"===$t.call(t)&&(i=t instanceof n.type||t instanceof $,i||(t=t instanceof W?t.toJSON():t,t=new n.type(t)),t.parent=e,t.bind(Mt,function(t){n.trigger(Mt,{field:t.field,node:t.node,index:t.index,items:t.items||[this],action:t.node?t.action||"itemloaded":"itemchange"})})),t},push:function(){var t,e=this.length,i=this.wrapAll(arguments);return t=Nt.apply(this,i),this.trigger(Mt,{action:"add",index:e,items:i}),t},slice:Gt,sort:[].sort,join:Ht,pop:function(){var t=this.length,e=Ut.apply(this);return t&&this.trigger(Mt,{action:"remove",index:t-1,items:[e]}),e},splice:function(t,e,i){var n,o,r,s=this.wrapAll(Gt.call(arguments,2));if(n=jt.apply(this,[t,e].concat(s)),n.length)for(this.trigger(Mt,{action:"remove",index:t,items:n}),o=0,r=n.length;o<r;o++)n[o]&&n[o].children&&n[o].unbind(Mt);return i&&this.trigger(Mt,{action:"add",index:t,items:s}),n},shift:function(){var t=this.length,e=Wt.apply(this);return t&&this.trigger(Mt,{action:"remove",index:0,items:[e]}),e},unshift:function(){var t,e=this.wrapAll(arguments);return t=qt.apply(this,e),this.trigger(Mt,{action:"add",index:0,items:e}),t},indexOf:function(t){var e,i,n=this;for(e=0,i=n.length;e<i;e++)if(n[e]===t)return e;return-1},forEach:function(t){for(var e=0,i=this.length;e<i;e++)t(this[e],e,this)},map:function(t){for(var e=0,i=[],n=this.length;e<n;e++)i[e]=t(this[e],e,this);return i},reduce:function(t){var e,i=0,n=this.length;for(2==arguments.length?e=arguments[1]:i<n&&(e=this[i++]);i<n;i++)e=t(e,this[i],i,this);return e},reduceRight:function(t){var e,i=this.length-1;for(2==arguments.length?e=arguments[1]:i>0&&(e=this[i--]);i>=0;i--)e=t(e,this[i],i,this);return e},filter:function(t){for(var e,i=0,n=[],o=this.length;i<o;i++)e=this[i],t(e,i,this)&&(n[n.length]=e);return n},find:function(t){for(var e,i=0,n=this.length;i<n;i++)if(e=this[i],t(e,i,this))return e},every:function(t){for(var e,i=0,n=this.length;i<n;i++)if(e=this[i],!t(e,i,this))return!1;return!0},some:function(t){for(var e,i=0,n=this.length;i<n;i++)if(e=this[i],t(e,i,this))return!0;return!1},remove:function(t){var e=this.indexOf(t);e!==-1&&this.splice(e,1)},empty:function(){this.splice(0,this.length)}});"undefined"!=typeof Symbol&&Symbol.iterator&&!Qt.prototype[Symbol.iterator]&&(Qt.prototype[Symbol.iterator]=[][Symbol.iterator]),j=Qt.extend({init:function(t,e){yt.fn.init.call(this),this.type=e||W;for(var i=0;i<t.length;i++)this[i]=t[i];this.length=i,this._parent=ct(function(){return this},this)},at:function(t){var e=this[t];return e instanceof this.type?e.parent=this._parent:e=this[t]=this.wrap(e,this._parent),e}}),W=yt.extend({init:function(t){var e,i,n=this,o=function(){return n};yt.fn.init.call(this),this._handlers={};for(i in t)e=t[i],"object"==typeof e&&e&&!e.getTime&&"_"!=i.charAt(0)&&(e=n.wrap(e,i,o)),n[i]=e;n.uid=_t.guid()},shouldSerialize:function(t){return this.hasOwnProperty(t)&&"_handlers"!==t&&"_events"!==t&&typeof this[t]!==kt&&"uid"!==t},forEach:function(t){for(var e in this)this.shouldSerialize(e)&&t(this[e],e)},toJSON:function(){var t,e,i={};for(e in this)this.shouldSerialize(e)&&(t=this[e],(t instanceof W||t instanceof Qt)&&(t=t.toJSON()),i[e]=t);return i},get:function(t){var e,i=this;return i.trigger(Et,{field:t}),e="this"===t?i:_t.getter(t,!0)(i)},_set:function(t,e){var i,n,o,r=this,s=t.indexOf(".")>=0;if(s)for(i=t.split("."),n="";i.length>1;){if(n+=i.shift(),o=_t.getter(n,!0)(r),o instanceof W)return o.set(i.join("."),e),s;n+="."}return _t.setter(t)(r,e),s},set:function(t,e){var i=this,n=!1,o=t.indexOf(".")>=0,r=_t.getter(t,!0)(i);return r!==e&&(r instanceof yt&&this._handlers[t]&&(this._handlers[t].get&&r.unbind(Et,this._handlers[t].get),r.unbind(Mt,this._handlers[t].change)),n=i.trigger("set",{field:t,value:e}),n||(o||(e=i.wrap(e,t,function(){return i})),(!i._set(t,e)||t.indexOf("(")>=0||t.indexOf("[")>=0)&&i.trigger(Mt,{field:t}))),n},parent:vt,wrap:function(t,e,n){var o,r,s,a,l=this,h=$t.call(t);return null==t||"[object Object]"!==h&&"[object Array]"!==h||(s=t instanceof Qt,a=t instanceof nt,"[object Object]"!==h||a||s?("[object Array]"===h||s||a)&&(s||a||(t=new Qt(t)),r=i(l,Mt,e,!1),t.bind(Mt,r),l._handlers[e]={change:r}):(t instanceof W||(t=new W(t)),o=i(l,Et,e,!0),t.bind(Et,o),r=i(l,Mt,e,!0),t.bind(Mt,r),l._handlers[e]={get:o,change:r}),t.parent=n),t}}),G={number:function(t){return _t.parseFloat(t)},date:function(t){return _t.parseDate(t)},"boolean":function(t){return typeof t===bt?"true"===t.toLowerCase():null!=t?!!t:t},string:function(t){return null!=t?t+"":t},"default":function(t){return t}},q={string:"",number:0,date:new Date,"boolean":!1,"default":""},$=W.extend({init:function(i){var n,o,r=this;if((!i||t.isEmptyObject(i))&&(i=t.extend({},r.defaults,i),r._initializers))for(n=0;n<r._initializers.length;n++)o=r._initializers[n],i[o]=r.defaults[o]();W.fn.init.call(r,i),r.dirty=!1,r.idField&&(r.id=r.get(r.idField),r.id===e&&(r.id=r._defaultId))},shouldSerialize:function(t){return W.fn.shouldSerialize.call(this,t)&&"uid"!==t&&!("id"!==this.idField&&"id"===t)&&"dirty"!==t&&"_accessors"!==t},_parse:function(t,e){var i,n=this,r=t,s=n.fields||{};return t=s[t],t||(t=o(s,r)),t&&(i=t.parse,!i&&t.type&&(i=G[t.type.toLowerCase()])),i?i(e):e},_notifyChange:function(t){var e=t.action;"add"!=e&&"remove"!=e||(this.dirty=!0)},editable:function(t){return t=(this.fields||{})[t],!t||t.editable!==!1},set:function(t,e,i){var o=this,r=o.dirty;o.editable(t)&&(e=o._parse(t,e),n(e,o.get(t))||(o.dirty=!0,W.fn.set.call(o,t,e,i)&&!r&&(o.dirty=r)))},accept:function(t){var e,i,n=this,o=function(){return n};for(e in t)i=t[e],"_"!=e.charAt(0)&&(i=n.wrap(t[e],e,o)),n._set(e,i);n.idField&&(n.id=n.get(n.idField)),n.dirty=!1},isNew:function(){return this.id===this._defaultId}}),$.define=function(t,i){i===e&&(i=t,t=$);var n,o,r,s,a,l,h,c,u=ht({defaults:{}},i),d={},f=u.id,p=[];if(f&&(u.idField=f),u.id&&delete u.id,f&&(u.defaults[f]=u._defaultId=""),"[object Array]"===$t.call(u.fields)){for(l=0,h=u.fields.length;l<h;l++)r=u.fields[l],typeof r===bt?d[r]={}:r.field&&(d[r.field]=r);u.fields=d}for(o in u.fields)r=u.fields[o],s=r.type||"default",a=null,c=o,o=typeof r.field===bt?r.field:o,r.nullable||(a=u.defaults[c!==o?c:o]=r.defaultValue!==e?r.defaultValue:q[s.toLowerCase()],"function"==typeof a&&p.push(o)),i.id===o&&(u._defaultId=a),u.defaults[c!==o?c:o]=a,r.parse=r.parse||G[s];return p.length>0&&(u._initializers=p),n=t.extend(u),n.define=function(t){return $.define(n,t)},u.fields&&(n.fields=u.fields,n.idField=u.idField),n},Y={selector:function(t){return wt(t)?t:Rt(t)},compare:function(t){var e=this.selector(t);return function(t,i){return t=e(t),i=e(i),null==t&&null==i?0:null==t?-1:null==i?1:t.localeCompare?t.localeCompare(i):t>i?1:t<i?-1:0}},create:function(t){var e=t.compare||this.compare(t.field);return"desc"==t.dir?function(t,i){return e(i,t,!0)}:e},combine:function(t){return function(e,i){var n,o,r=t[0](e,i);for(n=1,o=t.length;n<o;n++)r=r||t[n](e,i);return r}}},X=ht({},Y,{asc:function(t){var e=this.selector(t);return function(t,i){var n=e(t),o=e(i);return n&&n.getTime&&o&&o.getTime&&(n=n.getTime(),o=o.getTime()),n===o?t.__position-i.__position:null==n?-1:null==o?1:n.localeCompare?n.localeCompare(o):n>o?1:-1}},desc:function(t){var e=this.selector(t);return function(t,i){var n=e(t),o=e(i);return n&&n.getTime&&o&&o.getTime&&(n=n.getTime(),o=o.getTime()),n===o?t.__position-i.__position:null==n?1:null==o?-1:o.localeCompare?o.localeCompare(n):n<o?1:-1}},create:function(t){return this[t.dir](t.field)}}),U=function(t,e){var i,n=t.length,o=Array(n);for(i=0;i<n;i++)o[i]=e(t[i],i,t);return o},Q=function(){function t(t){return"string"==typeof t&&(t=t.replace(/[\r\n]+/g,"")),JSON.stringify(t);
}function e(e){return function(i,n,o){return n+="",o&&(i="("+i+" || '').toLowerCase()",n=n.toLowerCase()),e(i,t(n),o)}}function i(e,i,n,o){if(null!=n){if(typeof n===bt){var r=Xt.exec(n);r?n=new Date((+r[1])):o?(n=t(n.toLowerCase()),i="(("+i+" || '')+'').toLowerCase()"):n=t(n)}n.getTime&&(i="("+i+"&&"+i+".getTime?"+i+".getTime():"+i+")",n=n.getTime())}return i+" "+e+" "+n}function n(t){var e,i,n,o;for(e="/^",i=!1,n=0;n<t.length;++n){if(o=t.charAt(n),i)e+="\\"+o;else{if("~"==o){i=!0;continue}e+="*"==o?".*":"?"==o?".":".+^$()[]{}|\\/\n\r\u2028\u2029 ".indexOf(o)>=0?"\\"+o:o}i=!1}return e+"$/"}return{quote:function(e){return e&&e.getTime?"new Date("+e.getTime()+")":t(e)},eq:function(t,e,n){return i("==",t,e,n)},neq:function(t,e,n){return i("!=",t,e,n)},gt:function(t,e,n){return i(">",t,e,n)},gte:function(t,e,n){return i(">=",t,e,n)},lt:function(t,e,n){return i("<",t,e,n)},lte:function(t,e,n){return i("<=",t,e,n)},startswith:e(function(t,e){return t+".lastIndexOf("+e+", 0) == 0"}),doesnotstartwith:e(function(t,e){return t+".lastIndexOf("+e+", 0) == -1"}),endswith:e(function(t,e){var i=e?e.length-2:0;return t+".indexOf("+e+", "+t+".length - "+i+") >= 0"}),doesnotendwith:e(function(t,e){var i=e?e.length-2:0;return t+".indexOf("+e+", "+t+".length - "+i+") < 0"}),contains:e(function(t,e){return t+".indexOf("+e+") >= 0"}),doesnotcontain:e(function(t,e){return t+".indexOf("+e+") == -1"}),matches:e(function(t,e){return e=e.substring(1,e.length-1),n(e)+".test("+t+")"}),doesnotmatch:e(function(t,e){return e=e.substring(1,e.length-1),"!"+n(e)+".test("+t+")"}),isempty:function(t){return t+" === ''"},isnotempty:function(t){return t+" !== ''"},isnull:function(t){return"("+t+" == null)"},isnotnull:function(t){return"("+t+" != null)"}}}(),r.filterExpr=function(t){var i,n,o,s,a,l,h=[],c={and:" && ",or:" || "},u=[],d=[],f=t.filters;for(i=0,n=f.length;i<n;i++)o=f[i],a=o.field,l=o.operator,o.filters?(s=r.filterExpr(o),o=s.expression.replace(/__o\[(\d+)\]/g,function(t,e){return e=+e,"__o["+(d.length+e)+"]"}).replace(/__f\[(\d+)\]/g,function(t,e){return e=+e,"__f["+(u.length+e)+"]"}),d.push.apply(d,s.operators),u.push.apply(u,s.fields)):(typeof a===kt?(s="__f["+u.length+"](d)",u.push(a)):s=_t.expr(a),typeof l===kt?(o="__o["+d.length+"]("+s+", "+Q.quote(o.value)+")",d.push(l)):o=Q[(l||"eq").toLowerCase()](s,o.value,o.ignoreCase===e||o.ignoreCase)),h.push(o);return{expression:"("+h.join(c[t.logic])+")",fields:u,operators:d}},K={"==":"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"},r.normalizeFilter=l,r.compareFilters=d,r.prototype={toArray:function(){return this.data},range:function(t,e){return new r(this.data.slice(t,t+e))},skip:function(t){return new r(this.data.slice(t))},take:function(t){return new r(this.data.slice(0,t))},select:function(t){return new r(U(this.data,t))},order:function(t,e){var i={dir:e};return t&&(t.compare?i.compare=t.compare:i.field=t),new r(this.data.slice(0).sort(Y.create(i)))},orderBy:function(t){return this.order(t,"asc")},orderByDescending:function(t){return this.order(t,"desc")},sort:function(t,e,i){var n,o,r=s(t,e),a=[];if(i=i||Y,r.length){for(n=0,o=r.length;n<o;n++)a.push(i.create(r[n]));return this.orderBy({compare:i.combine(a)})}return this},filter:function(t){var e,i,n,o,s,a,h,c,u=this.data,d=[];if(t=l(t),!t||0===t.filters.length)return this;for(o=r.filterExpr(t),a=o.fields,h=o.operators,s=c=Function("d, __f, __o","return "+o.expression),(a.length||h.length)&&(c=function(t){return s(t,a,h)}),e=0,n=u.length;e<n;e++)i=u[e],c(i)&&d.push(i);return new r(d)},group:function(t,e){t=p(t||[]),e=e||this.data;var i,n=this,o=new r(n.data);return t.length>0&&(i=t[0],o=o.groupBy(i).select(function(n){var o=new r(e).filter([{field:n.field,operator:"eq",value:n.value,ignoreCase:!1}]);return{field:n.field,value:n.value,items:t.length>1?new r(n.items).group(t.slice(1),o.toArray()).toArray():n.items,hasSubgroups:t.length>1,aggregates:o.aggregate(i.aggregates)}})),o},groupBy:function(t){if(dt(t)||!this.data.length)return new r([]);var e,i,n,o,s=t.field,a=this._sortForGrouping(s,t.dir||"asc"),l=_t.accessor(s),h=l.get(a[0],s),c={field:s,value:h,items:[]},u=[c];for(n=0,o=a.length;n<o;n++)e=a[n],i=l.get(e,s),g(h,i)||(h=i,c={field:s,value:h,items:[]},u.push(c)),c.items.push(e);return new r(u)},_sortForGrouping:function(t,e){var i,n,o=this.data;if(!Yt){for(i=0,n=o.length;i<n;i++)o[i].__position=i;for(o=new r(o).sort(t,e,X).toArray(),i=0,n=o.length;i<n;i++)delete o[i].__position;return o}return this.sort(t,e).toArray()},aggregate:function(t){var e,i,n={},o={};if(t&&t.length)for(e=0,i=this.data.length;e<i;e++)m(n,t,this.data[e],e,i,o);return n}},Z={sum:function(t,e,i){var n=i.get(e);return v(t)?v(n)&&(t+=n):t=n,t},count:function(t){return(t||0)+1},average:function(t,i,n,o,r,s){var a=n.get(i);return s.count===e&&(s.count=0),v(t)?v(a)&&(t+=a):t=a,v(a)&&s.count++,o==r-1&&v(t)&&(t/=s.count),t},max:function(t,e,i){var n=i.get(e);return v(t)||_(t)||(t=n),t<n&&(v(n)||_(n))&&(t=n),t},min:function(t,e,i){var n=i.get(e);return v(t)||_(t)||(t=n),t>n&&(v(n)||_(n))&&(t=n),t}},r.process=function(t,i){i=i||{};var n,o=new r(t),a=i.group,l=p(a||[]).concat(s(i.sort||[])),h=i.filterCallback,c=i.filter,u=i.skip,d=i.take;return c&&(o=o.filter(c),h&&(o=h(o)),n=o.toArray().length),l&&(o=o.sort(l),a&&(t=o.toArray())),u!==e&&d!==e&&(o=o.range(u,d)),a&&(o=o.group(a,t)),{total:n,data:o.toArray()}},J=xt.extend({init:function(t){this.data=t.data},read:function(t){t.success(this.data)},update:function(t){t.success(t.data)},create:function(t){t.success(t.data)},destroy:function(t){t.success(t.data)}}),tt=xt.extend({init:function(t){var e,i=this;t=i.options=ht({},i.options,t),mt(Lt,function(e,i){typeof t[i]===bt&&(t[i]={url:t[i]})}),i.cache=t.cache?et.create(t.cache):{find:vt,add:vt},e=t.parameterMap,wt(t.push)&&(i.push=t.push),i.push||(i.push=Ot),i.parameterMap=wt(e)?e:function(t){var i={};return mt(t,function(t,n){t in e&&(t=e[t],ut(t)&&(n=t.value(n),t=t.key)),i[t]=n}),i}},options:{parameterMap:Ot},create:function(t){return gt(this.setup(t,Ct))},read:function(i){var n,o,r,s=this,a=s.cache;i=s.setup(i,St),n=i.success||vt,o=i.error||vt,r=a.find(i.data),r!==e?n(r):(i.success=function(t){a.add(i.data,t),n(t)},t.ajax(i))},update:function(t){return gt(this.setup(t,Tt))},destroy:function(t){return gt(this.setup(t,At))},setup:function(t,e){t=t||{};var i,n=this,o=n.options[e],r=wt(o.data)?o.data(t.data):o.data;return t=ht(!0,{},o,t),i=ht(!0,{},r,t.data),t.data=n.parameterMap(i,e),wt(t.url)&&(t.url=t.url(i)),t}}),et=xt.extend({init:function(){this._store={}},add:function(t,i){t!==e&&(this._store[Ft(t)]=i)},find:function(t){return this._store[Ft(t)]},clear:function(){this._store={}},remove:function(t){delete this._store[Ft(t)]}}),et.create=function(t){var e={inmemory:function(){return new et}};return ut(t)&&wt(t.find)?t:t===!0?new et:e[t]()},it=xt.extend({init:function(t){var e,i,n,o,r,s,a,l,h,c,u,d,f,p=this;t=t||{};for(e in t)i=t[e],p[e]=typeof i===bt?Rt(i):i;o=t.modelBase||$,ut(p.model)&&(p.model=n=o.define(p.model)),r=ct(p.data,p),p._dataAccessFunction=r,p.model&&(s=ct(p.groups,p),a=ct(p.serialize,p),l={},h={},c={},u={},d=!1,n=p.model,n.fields&&(mt(n.fields,function(t,e){var i;f=t,ut(e)&&e.field?f=e.field:typeof e===bt&&(f=e),ut(e)&&e.from&&(i=e.from),d=d||i&&i!==t||f!==t,h[t]=Rt(i||f),c[t]=Rt(t),l[i||f]=t,u[t]=i||f}),!t.serialize&&d&&(p.serialize=k(a,n,y,c,l,u))),p._dataAccessFunction=r,p.data=k(r,n,x,h,l,u),p.groups=k(s,n,b,h,l,u))},errors:function(t){return t?t.errors:null},parse:Ot,data:Ot,total:function(t){return t.length},groups:Ot,aggregates:function(){return{}},serialize:function(t){return t}}),nt=yt.extend({init:function(t){var i,n,o,r=this;t&&(n=t.data),t=r.options=ht({},r.options,t),r._map={},r._prefetch={},r._data=[],r._pristineData=[],r._ranges=[],r._view=[],r._pristineTotal=0,r._destroyed=[],r._pageSize=t.pageSize,r._page=t.page||(t.pageSize?1:e),r._sort=s(t.sort),r._filter=l(t.filter),r._group=p(t.group),r._aggregate=t.aggregate,r._total=t.total,r._shouldDetachObservableParents=!0,yt.fn.init.call(r),r.transport=ot.create(t,n,r),wt(r.transport.push)&&r.transport.push({pushCreate:ct(r._pushCreate,r),pushUpdate:ct(r._pushUpdate,r),pushDestroy:ct(r._pushDestroy,r)}),null!=t.offlineStorage&&("string"==typeof t.offlineStorage?(o=t.offlineStorage,r._storage={getItem:function(){return JSON.parse(localStorage.getItem(o))},setItem:function(t){localStorage.setItem(o,Ft(r.reader.serialize(t)))}}):r._storage=t.offlineStorage),r.reader=new _t.data.readers[t.schema.type||"json"](t.schema),i=r.reader.model||{},r._detachObservableParents(),r._data=r._observe(r._data),r._online=!0,r.bind(["push",Pt,Mt,Bt,Dt,zt,It],t)},options:{data:null,schema:{modelBase:$},offlineStorage:null,serverSorting:!1,serverPaging:!1,serverFiltering:!1,serverGrouping:!1,serverAggregates:!1,batch:!1},clone:function(){return this},online:function(i){return i!==e?this._online!=i&&(this._online=i,i)?this.sync():t.Deferred().resolve().promise():this._online},offlineData:function(t){return null==this.options.offlineStorage?null:t!==e?this._storage.setItem(t):this._storage.getItem()||[]},_isServerGrouped:function(){var t=this.group()||[];return this.options.serverGrouping&&t.length},_pushCreate:function(t){this._push(t,"pushCreate")},_pushUpdate:function(t){this._push(t,"pushUpdate")},_pushDestroy:function(t){this._push(t,"pushDestroy")},_push:function(t,e){var i=this._readData(t);i||(i=t),this[e](i)},_flatData:function(t,e){if(t){if(this._isServerGrouped())return S(t);if(!e)for(var i=0;i<t.length;i++)t.at(i)}return t},parent:vt,get:function(t){var e,i,n=this._flatData(this._data);for(e=0,i=n.length;e<i;e++)if(n[e].id==t)return n[e]},getByUid:function(t){var e,i,n=this._flatData(this._data);if(n)for(e=0,i=n.length;e<i;e++)if(n[e].uid==t)return n[e]},indexOf:function(t){return I(this._data,t)},at:function(t){return this._data.at(t)},data:function(t){var i,n=this;if(t===e){if(n._data)for(i=0;i<n._data.length;i++)n._data.at(i);return n._data}n._detachObservableParents(),n._data=this._observe(t),n._pristineData=t.slice(0),n._storeData(),n._ranges=[],n.trigger("reset"),n._addRange(n._data),n._total=n._data.length,n._pristineTotal=n._total,n._process(n._data)},view:function(t){return t===e?this._view:(this._view=this._observeView(t),e)},_observeView:function(t){var e,i=this;return E(t,i._data,i._ranges,i.reader.model||W,i._isServerGrouped()),e=new j(t,i.reader.model),e.parent=function(){return i.parent()},e},flatView:function(){var t=this.group()||[];return t.length?S(this._view):this._view},add:function(t){return this.insert(this._data.length,t)},_createNewModel:function(t){return this.reader.model?new this.reader.model(t):t instanceof W?t:new W(t)},insert:function(t,e){return e||(e=t,t=0),e instanceof $||(e=this._createNewModel(e)),this._isServerGrouped()?this._data.splice(t,0,this._wrapInEmptyGroup(e)):this._data.splice(t,0,e),e},pushInsert:function(t,e){var i,n,o,r,s,a;e||(e=t,t=0),ft(e)||(e=[e]),i=[],n=this.options.autoSync,this.options.autoSync=!1;try{for(o=0;o<e.length;o++)r=e[o],s=this.insert(t,r),i.push(s),a=s.toJSON(),this._isServerGrouped()&&(a=this._wrapInEmptyGroup(a)),this._pristineData.push(a),t++}finally{this.options.autoSync=n}i.length&&this.trigger("push",{type:"create",items:i})},pushCreate:function(t){this.pushInsert(this._data.length,t)},pushUpdate:function(t){var e,i,n,o,r;for(ft(t)||(t=[t]),e=[],i=0;i<t.length;i++)n=t[i],o=this._createNewModel(n),r=this.get(o.id),r?(e.push(r),r.accept(n),r.trigger(Mt),this._updatePristineForModel(r,n)):this.pushCreate(n);e.length&&this.trigger("push",{type:"update",items:e})},pushDestroy:function(t){var e=this._removeItems(t);e.length&&this.trigger("push",{type:"destroy",items:e})},_removeItems:function(t){var e,i,n,o,r,s;ft(t)||(t=[t]),e=[],i=this.options.autoSync,this.options.autoSync=!1;try{for(n=0;n<t.length;n++)o=t[n],r=this._createNewModel(o),s=!1,this._eachItem(this._data,function(t){var i,n;for(i=0;i<t.length;i++)if(n=t.at(i),n.id===r.id){e.push(n),t.splice(i,1),s=!0;break}}),s&&(this._removePristineForModel(r),this._destroyed.pop())}finally{this.options.autoSync=i}return e},remove:function(t){var e,i=this,n=i._isServerGrouped();return this._eachItem(i._data,function(o){if(e=P(o,t),e&&n)return e.isNew&&e.isNew()||i._destroyed.push(e),!0}),this._removeModelFromRanges(t),this._updateRangesLength(),t},destroyed:function(){return this._destroyed},created:function(){var t,e,i=[],n=this._flatData(this._data);for(t=0,e=n.length;t<e;t++)n[t].isNew&&n[t].isNew()&&i.push(n[t]);return i},updated:function(){var t,e,i=[],n=this._flatData(this._data);for(t=0,e=n.length;t<e;t++)n[t].isNew&&!n[t].isNew()&&n[t].dirty&&i.push(n[t]);return i},sync:function(){var e,i=this,n=[],o=[],r=i._destroyed,s=t.Deferred().resolve().promise();if(i.online()){if(!i.reader.model)return s;n=i.created(),o=i.updated(),e=[],i.options.batch&&i.transport.submit?e=i._sendSubmit(n,o,r):(e.push.apply(e,i._send("create",n)),e.push.apply(e,i._send("update",o)),e.push.apply(e,i._send("destroy",r))),s=t.when.apply(null,e).then(function(){var t,e;for(t=0,e=arguments.length;t<e;t++)arguments[t]&&i._accept(arguments[t]);i._storeData(!0),i._change({action:"sync"}),i.trigger(Dt)})}else i._storeData(!0),i._change({action:"sync"});return s},cancelChanges:function(t){var e=this;t instanceof _t.data.Model?e._cancelModel(t):(e._destroyed=[],e._detachObservableParents(),e._data=e._observe(e._pristineData),e.options.serverPaging&&(e._total=e._pristineTotal),e._ranges=[],e._addRange(e._data),e._change(),e._markOfflineUpdatesAsDirty())},_markOfflineUpdatesAsDirty:function(){var t=this;null!=t.options.offlineStorage&&t._eachItem(t._data,function(t){var e,i;for(e=0;e<t.length;e++)i=t.at(e),"update"!=i.__state__&&"create"!=i.__state__||(i.dirty=!0)})},hasChanges:function(){var t,e,i=this._flatData(this._data);if(this._destroyed.length)return!0;for(t=0,e=i.length;t<e;t++)if(i[t].isNew&&i[t].isNew()||i[t].dirty)return!0;return!1},_accept:function(e){var i,n=this,o=e.models,r=e.response,s=0,a=n._isServerGrouped(),l=n._pristineData,h=e.type;if(n.trigger(zt,{response:r,type:h}),r&&!dt(r)){if(r=n.reader.parse(r),n._handleCustomErrors(r))return;r=n.reader.data(r),ft(r)||(r=[r])}else r=t.map(o,function(t){return t.toJSON()});for("destroy"===h&&(n._destroyed=[]),s=0,i=o.length;s<i;s++)"destroy"!==h?(o[s].accept(r[s]),"create"===h?l.push(a?n._wrapInEmptyGroup(o[s]):r[s]):"update"===h&&n._updatePristineForModel(o[s],r[s])):n._removePristineForModel(o[s])},_updatePristineForModel:function(t,e){this._executeOnPristineForModel(t,function(t,i){_t.deepExtend(i[t],e)})},_executeOnPristineForModel:function(t,e){this._eachPristineItem(function(i){var n=B(i,t);if(n>-1)return e(n,i),!0})},_removePristineForModel:function(t){this._executeOnPristineForModel(t,function(t,e){e.splice(t,1)})},_readData:function(t){var e=this._isServerGrouped()?this.reader.groups:this.reader.data;return e.call(this.reader,t)},_eachPristineItem:function(t){this._eachItem(this._pristineData,t)},_eachItem:function(t,e){t&&t.length&&(this._isServerGrouped()?A(t,e):e(t))},_pristineForModel:function(t){var e,i,n=function(n){if(i=B(n,t),i>-1)return e=n[i],!0};return this._eachPristineItem(n),e},_cancelModel:function(t){var e=this._pristineForModel(t);this._eachItem(this._data,function(i){var n=I(i,t);n>=0&&(!e||t.isNew()&&!e.__state__?i.splice(n,1):(i[n].accept(e),"update"==e.__state__&&(i[n].dirty=!0)))})},_submit:function(e,i){var n=this;n.trigger(Bt,{type:"submit"}),n.trigger(It),n.transport.submit(ht({success:function(i,n){var o=t.grep(e,function(t){return t.type==n})[0];o&&o.resolve({response:i,models:o.models,type:n})},error:function(t,i,o){for(var r=0;r<e.length;r++)e[r].reject(t);n.error(t,i,o)}},i))},_sendSubmit:function(e,i,n){var o=this,r=[];return o.options.batch&&(e.length&&r.push(t.Deferred(function(t){t.type="create",t.models=e})),i.length&&r.push(t.Deferred(function(t){t.type="update",t.models=i})),n.length&&r.push(t.Deferred(function(t){t.type="destroy",t.models=n})),o._submit(r,{data:{created:o.reader.serialize(w(e)),updated:o.reader.serialize(w(i)),destroyed:o.reader.serialize(w(n))}})),r},_promise:function(e,i,n){var o=this;return t.Deferred(function(t){o.trigger(Bt,{type:n}),o.trigger(It),o.transport[n].call(o.transport,ht({success:function(e){t.resolve({response:e,models:i,type:n})},error:function(e,i,n){t.reject(e),o.error(e,i,n)}},e))}).promise()},_send:function(t,e){var i,n,o=this,r=[],s=o.reader.serialize(w(e));if(o.options.batch)e.length&&r.push(o._promise({data:{models:s}},e,t));else for(i=0,n=e.length;i<n;i++)r.push(o._promise({data:s[i]},[e[i]],t));return r},read:function(e){var i=this,n=i._params(e),o=t.Deferred();return i._queueRequest(n,function(){var t=i.trigger(Bt,{type:"read"});t?(i._dequeueRequest(),o.resolve(t)):(i.trigger(It),i._ranges=[],i.trigger("reset"),i.online()?i.transport.read({data:n,success:function(t){i._ranges=[],i.success(t,n),o.resolve()},error:function(){var t=Gt.call(arguments);i.error.apply(i,t),o.reject.apply(o,t)}}):null!=i.options.offlineStorage&&(i.success(i.offlineData(),n),o.resolve()))}),o.promise()},_readAggregates:function(t){return this.reader.aggregates(t)},success:function(t){var i,n,o,r,s,a,l,h,c=this,u=c.options;if(c.trigger(zt,{response:t,type:"read"}),c.online()){if(t=c.reader.parse(t),c._handleCustomErrors(t))return c._dequeueRequest(),e;c._total=c.reader.total(t),c._aggregate&&u.serverAggregates&&(c._aggregateResult=c._readAggregates(t)),t=c._readData(t),c._destroyed=[]}else{for(t=c._readData(t),i=[],n={},o=c.reader.model,r=o?o.idField:"id",s=0;s<this._destroyed.length;s++)a=this._destroyed[s][r],n[a]=a;for(s=0;s<t.length;s++)l=t[s],h=l.__state__,"destroy"==h?n[l[r]]||this._destroyed.push(this._createNewModel(l)):i.push(l);t=i,c._total=t.length}c._pristineTotal=c._total,c._pristineData=t.slice(0),c._detachObservableParents(),c._data=c._observe(t),c._markOfflineUpdatesAsDirty(),c._storeData(),c._addRange(c._data),c._process(c._data),c._dequeueRequest()},_detachObservableParents:function(){if(this._data&&this._shouldDetachObservableParents)for(var t=0;t<this._data.length;t++)this._data[t].parent&&(this._data[t].parent=vt)},_storeData:function(t){function e(t){var i,n,o,r=[];for(i=0;i<t.length;i++)n=t.at(i),o=n.toJSON(),s&&n.items?o.items=e(n.items):(o.uid=n.uid,a&&(n.isNew()?o.__state__="create":n.dirty&&(o.__state__="update"))),r.push(o);return r}var i,n,o,r,s=this._isServerGrouped(),a=this.reader.model;if(null!=this.options.offlineStorage){for(i=e(this._data),n=[],o=0;o<this._destroyed.length;o++)r=this._destroyed[o].toJSON(),r.__state__="destroy",n.push(r);this.offlineData(i.concat(n)),t&&(this._pristineData=this._readData(i))}},_addRange:function(t){var e=this,i=e._skip||0,n=i+e._flatData(t,!0).length;e._ranges.push({start:i,end:n,data:t,timestamp:(new Date).getTime()}),e._ranges.sort(function(t,e){return t.start-e.start})},error:function(t,e,i){this._dequeueRequest(),this.trigger(zt,{}),this.trigger(Pt,{xhr:t,status:e,errorThrown:i})},_params:function(t){var e=this,i=ht({take:e.take(),skip:e.skip(),page:e.page(),pageSize:e.pageSize(),sort:e._sort,filter:e._filter,group:e._group,aggregate:e._aggregate},t);return e.options.serverPaging||(delete i.take,delete i.skip,delete i.page,delete i.pageSize),e.options.serverGrouping?e.reader.model&&i.group&&(i.group=R(i.group,e.reader.model)):delete i.group,e.options.serverFiltering?e.reader.model&&i.filter&&(i.filter=O(i.filter,e.reader.model)):delete i.filter,e.options.serverSorting?e.reader.model&&i.sort&&(i.sort=R(i.sort,e.reader.model)):delete i.sort,e.options.serverAggregates?e.reader.model&&i.aggregate&&(i.aggregate=R(i.aggregate,e.reader.model)):delete i.aggregate,i},_queueRequest:function(t,i){var n=this;n._requestInProgress?n._pending={callback:ct(i,n),options:t}:(n._requestInProgress=!0,n._pending=e,i())},_dequeueRequest:function(){var t=this;t._requestInProgress=!1,t._pending&&t._queueRequest(t._pending.options,t._pending.callback)},_handleCustomErrors:function(t){if(this.reader.errors){var e=this.reader.errors(t);if(e)return this.trigger(Pt,{xhr:null,status:"customerror",errorThrown:"custom error",errors:e}),!0}return!1},_shouldWrap:function(t){var e=this.reader.model;return!(!e||!t.length)&&!(t[0]instanceof e)},_observe:function(t){var e,i=this,n=i.reader.model;return i._shouldDetachObservableParents=!0,t instanceof Qt?(i._shouldDetachObservableParents=!1,i._shouldWrap(t)&&(t.type=i.reader.model,t.wrapAll(t,t))):(e=i.pageSize()&&!i.options.serverPaging?j:Qt,t=new e(t,i.reader.model),t.parent=function(){return i.parent()}),i._isServerGrouped()&&T(t,n),i._changeHandler&&i._data&&i._data instanceof Qt?i._data.unbind(Mt,i._changeHandler):i._changeHandler=ct(i._change,i),t.bind(Mt,i._changeHandler)},_updateTotalForAction:function(t,e){var i=this,n=parseInt(i._total,10);v(i._total)||(n=parseInt(i._pristineTotal,10)),"add"===t?n+=e.length:"remove"===t?n-=e.length:"itemchange"===t||"sync"===t||i.options.serverPaging?"sync"===t&&(n=i._pristineTotal=parseInt(i._total,10)):n=i._pristineTotal,i._total=n},_change:function(t){var e,i,n,o=this,r=t?t.action:"";if("remove"===r)for(e=0,i=t.items.length;e<i;e++)t.items[e].isNew&&t.items[e].isNew()||o._destroyed.push(t.items[e]);!o.options.autoSync||"add"!==r&&"remove"!==r&&"itemchange"!==r?(o._updateTotalForAction(r,t?t.items:[]),o._process(o._data,t)):(n=function(e){"sync"===e.action&&(o.unbind("change",n),o._updateTotalForAction(r,t.items))},o.first("change",n),o.sync())},_calculateAggregates:function(t,e){e=e||{};var i=new r(t),n=e.aggregate,o=e.filter;return o&&(i=i.filter(o)),i.aggregate(n)},_process:function(t,i){var n,o=this,r={};o.options.serverPaging!==!0&&(r.skip=o._skip,r.take=o._take||o._pageSize,r.skip===e&&o._page!==e&&o._pageSize!==e&&(r.skip=(o._page-1)*o._pageSize)),o.options.serverSorting!==!0&&(r.sort=o._sort),o.options.serverFiltering!==!0&&(r.filter=o._filter),o.options.serverGrouping!==!0&&(r.group=o._group),o.options.serverAggregates!==!0&&(r.aggregate=o._aggregate,o._aggregateResult=o._calculateAggregates(t,r)),n=o._queryProcess(t,r),o.view(n.data),n.total===e||o.options.serverFiltering||(o._total=n.total),i=i||{},i.items=i.items||o._view,o.trigger(Mt,i)},_queryProcess:function(t,e){return r.process(t,e)},_mergeState:function(t){var i=this;return t!==e&&(i._pageSize=t.pageSize,i._page=t.page,i._sort=t.sort,i._filter=t.filter,i._group=t.group,i._aggregate=t.aggregate,i._skip=i._currentRangeStart=t.skip,i._take=t.take,i._skip===e&&(i._skip=i._currentRangeStart=i.skip(),t.skip=i.skip()),i._take===e&&i._pageSize!==e&&(i._take=i._pageSize,t.take=i._take),t.sort&&(i._sort=t.sort=s(t.sort)),t.filter&&(i._filter=t.filter=l(t.filter)),t.group&&(i._group=t.group=p(t.group)),t.aggregate&&(i._aggregate=t.aggregate=f(t.aggregate))),t},query:function(i){var n,o,r=this.options.serverSorting||this.options.serverPaging||this.options.serverFiltering||this.options.serverGrouping||this.options.serverAggregates;return r||(this._data===e||0===this._data.length)&&!this._destroyed.length?this.read(this._mergeState(i)):(o=this.trigger(Bt,{type:"read"}),o||(this.trigger(It),n=this._queryProcess(this._data,this._mergeState(i)),this.options.serverFiltering||(this._total=n.total!==e?n.total:this._data.length),this._aggregateResult=this._calculateAggregates(this._data,i),this.view(n.data),this.trigger(zt,{type:"read"}),this.trigger(Mt,{items:n.data})),t.Deferred().resolve(o).promise())},fetch:function(t){var e=this,i=function(i){i!==!0&&wt(t)&&t.call(e)};return this._query().then(i)},_query:function(t){var e=this;return e.query(ht({},{page:e.page(),pageSize:e.pageSize(),sort:e.sort(),filter:e.filter(),group:e.group(),aggregate:e.aggregate()},t))},next:function(t){var e=this,i=e.page(),n=e.total();if(t=t||{},i&&!(n&&i+1>e.totalPages()))return e._skip=e._currentRangeStart=i*e.take(),i+=1,t.page=i,e._query(t),i},prev:function(t){var e=this,i=e.page();if(t=t||{},i&&1!==i)return e._skip=e._currentRangeStart=e._skip-e.take(),i-=1,t.page=i,e._query(t),i},page:function(t){var i,n=this;return t!==e?(t=Vt.max(Vt.min(Vt.max(t,1),n.totalPages()),1),n._query({page:t}),e):(i=n.skip(),i!==e?Vt.round((i||0)/(n.take()||1))+1:e)},pageSize:function(t){var i=this;return t!==e?(i._query({pageSize:t,page:1}),e):i.take()},sort:function(t){var i=this;return t!==e?(i._query({sort:t}),e):i._sort},filter:function(t){var i=this;return t===e?i._filter:(i.trigger("reset"),i._query({filter:t,page:1}),e)},group:function(t){var i=this;return t!==e?(i._query({group:t}),e):i._group},total:function(){return parseInt(this._total||0,10)},aggregate:function(t){var i=this;return t!==e?(i._query({aggregate:t}),e):i._aggregate},aggregates:function(){var t=this._aggregateResult;return dt(t)&&(t=this._emptyAggregates(this.aggregate())),t},_emptyAggregates:function(t){var e,i,n={};if(!dt(t))for(e={},ft(t)||(t=[t]),i=0;i<t.length;i++)e[t[i].aggregate]=0,n[t[i].field]=e;return n},_wrapInEmptyGroup:function(t){var e,i,n,o,r=this.group();for(n=r.length-1,o=0;n>=o;n--)i=r[n],e={value:t.get(i.field),field:i.field,items:e?[e]:[t],hasSubgroups:!!e,aggregates:this._emptyAggregates(i.aggregates)};return e},totalPages:function(){var t=this,e=t.pageSize()||t.total();return Vt.ceil((t.total()||0)/e)},inRange:function(t,e){var i=this,n=Vt.min(t+e,i.total());return!i.options.serverPaging&&i._data.length>0||i._findRange(t,n).length>0},lastRange:function(){var t=this._ranges;return t[t.length-1]||{start:0,end:0,data:[]}},firstItemUid:function(){var t=this._ranges;return t.length&&t[0].data.length&&t[0].data[0].uid},enableRequestsInProgress:function(){this._skipRequestsInProgress=!1},_timeStamp:function(){return(new Date).getTime()},range:function(t,i){var n,o,r,s,a,l,h,c;if(this._currentRequestTimeStamp=this._timeStamp(),this._skipRequestsInProgress=!0,t=Vt.min(t||0,this.total()),n=this,o=Vt.max(Vt.floor(t/i),0)*i,r=Vt.min(o+i,n.total()),s=n._findRange(t,Vt.min(t+i,n.total())),s.length){n._pending=e,n._skip=t>n.skip()?Vt.min(r,(n.totalPages()-1)*n.take()):o,n._currentRangeStart=t,n._take=i,a=n.options.serverPaging,l=n.options.serverSorting,h=n.options.serverFiltering,c=n.options.serverAggregates;try{n.options.serverPaging=!0,n._isServerGrouped()||n.group()&&n.group().length||(n.options.serverSorting=!0),n.options.serverFiltering=!0,n.options.serverPaging=!0,n.options.serverAggregates=!0,a&&(n._detachObservableParents(),n._data=s=n._observe(s)),n._process(s)}finally{n.options.serverPaging=a,n.options.serverSorting=l,n.options.serverFiltering=h,n.options.serverAggregates=c}}else i!==e&&(n._rangeExists(o,r)?o<t&&n.prefetch(r,i,function(){n.range(t,i)}):n.prefetch(o,i,function(){t>o&&r<n.total()&&!n._rangeExists(r,Vt.min(r+i,n.total()))?n.prefetch(r,i,function(){n.range(t,i)}):n.range(t,i)}))},_findRange:function(t,i){var n,o,r,a,l,h,c,u,d,f,g,m,v=this,_=v._ranges,w=[],y=v.options,x=y.serverSorting||y.serverPaging||y.serverFiltering||y.serverGrouping||y.serverAggregates;for(o=0,g=_.length;o<g;o++)if(n=_[o],t>=n.start&&t<=n.end){for(f=0,r=o;r<g;r++)if(n=_[r],d=v._flatData(n.data,!0),d.length&&t+f>=n.start&&(h=n.data,c=n.end,x||(m=p(v.group()||[]).concat(s(v.sort()||[])),u=v._queryProcess(n.data,{sort:m,filter:v.filter()}),d=h=u.data,u.total!==e&&(c=u.total)),a=0,t+f>n.start&&(a=t+f-n.start),l=d.length,c>i&&(l-=c-i),f+=l-a,w=v._mergeGroups(w,h,a,l),i<=n.end&&f==i-t))return w;break}return[]},_mergeGroups:function(t,e,i,n){if(this._isServerGrouped()){var o,r=e.toJSON();return t.length&&(o=t[t.length-1]),C(o,r,i,n),t.concat(r)}return t.concat(e.slice(i,n))},skip:function(){var t=this;return t._skip===e?t._page!==e?(t._page-1)*(t.take()||1):e:t._skip},currentRangeStart:function(){return this._currentRangeStart||0},take:function(){return this._take||this._pageSize},_prefetchSuccessHandler:function(t,e,i,n){var o=this,r=o._timeStamp();return function(s){var a,l,h,c=!1,u={start:t,end:e,data:[],timestamp:o._timeStamp()};if(o._dequeueRequest(),o.trigger(zt,{response:s,type:"read"}),s=o.reader.parse(s),h=o._readData(s),h.length){for(a=0,l=o._ranges.length;a<l;a++)if(o._ranges[a].start===t){c=!0,u=o._ranges[a];break}c||o._ranges.push(u)}u.data=o._observe(h),u.end=u.start+o._flatData(u.data,!0).length,o._ranges.sort(function(t,e){return t.start-e.start}),o._total=o.reader.total(s),(n||r>=o._currentRequestTimeStamp||!o._skipRequestsInProgress)&&(i&&h.length?i():o.trigger(Mt,{}))}},prefetch:function(t,e,i){var n=this,o=Vt.min(t+e,n.total()),r={take:e,skip:t,page:t/e+1,pageSize:e,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};n._rangeExists(t,o)?i&&i():(clearTimeout(n._timeout),n._timeout=setTimeout(function(){n._queueRequest(r,function(){n.trigger(Bt,{type:"read"})?n._dequeueRequest():n.transport.read({data:n._params(r),success:n._prefetchSuccessHandler(t,o,i),error:function(){var t=Gt.call(arguments);n.error.apply(n,t)}})})},100))},_multiplePrefetch:function(t,e,i){var n=this,o=Vt.min(t+e,n.total()),r={take:e,skip:t,page:t/e+1,pageSize:e,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};n._rangeExists(t,o)?i&&i():n.trigger(Bt,{type:"read"})||n.transport.read({data:n._params(r),success:n._prefetchSuccessHandler(t,o,i,!0)})},_rangeExists:function(t,e){var i,n,o=this,r=o._ranges;for(i=0,n=r.length;i<n;i++)if(r[i].start<=t&&r[i].end>=e)return!0;return!1},_removeModelFromRanges:function(t){var e,i,n,o,r;for(o=0,r=this._ranges.length;o<r&&(n=this._ranges[o],this._eachItem(n.data,function(n){e=P(n,t),e&&(i=!0)}),!i);o++);},_updateRangesLength:function(){var t,e,i,n,o=0;for(i=0,n=this._ranges.length;i<n;i++)t=this._ranges[i],t.start=t.start-o,e=this._flatData(t.data,!0).length,o=t.end-e,t.end=t.start+e}}),ot={},ot.create=function(e,i,n){var o,r=e.transport?t.extend({},e.transport):null;return r?(r.read=typeof r.read===bt?{url:r.read}:r.read,"jsdo"===e.type&&(r.dataSource=n),e.type&&(_t.data.transports=_t.data.transports||{},_t.data.schemas=_t.data.schemas||{},_t.data.transports[e.type]?ut(_t.data.transports[e.type])?r=ht(!0,{},_t.data.transports[e.type],r):o=new _t.data.transports[e.type](ht(r,{data:i})):_t.logToConsole("Unknown DataSource transport type '"+e.type+"'.\nVerify that registration scripts for this type are included after Kendo UI on the page.","warn"),e.schema=ht(!0,{},_t.data.schemas[e.type],e.schema)),o||(o=wt(r.read)?r:new tt(r))):o=new J({data:e.data||[]}),o},nt.create=function(t){(ft(t)||t instanceof Qt)&&(t={data:t});var i,n,o,r=t||{},s=r.data,a=r.fields,l=r.table,h=r.select,c={};if(s||!a||r.transport||(l?s=V(l,a):h&&(s=F(h,a),r.group===e&&s[0]&&s[0].optgroup!==e&&(r.group="optgroup"))),_t.data.Model&&a&&(!r.schema||!r.schema.model)){for(i=0,n=a.length;i<n;i++)o=a[i],o.type&&(c[o.field]=o);dt(c)||(r.schema=ht(!0,r.schema,{model:{fields:c}}))}return r.data=s,h=null,r.select=null,l=null,r.table=null,r instanceof nt?r:new nt(r)},rt=$.define({idField:"id",init:function(t){var e,i=this,n=i.hasChildren||t&&t.hasChildren,o="items",r={};_t.data.Model.fn.init.call(i,t),typeof i.children===bt&&(o=i.children),r={schema:{data:o,model:{hasChildren:n,id:i.idField,fields:i.fields}}},typeof i.children!==bt&&ht(r,i.children),r.data=t,n||(n=r.schema.data),typeof n===bt&&(n=_t.getter(n)),wt(n)&&(e=n.call(i,i),i.hasChildren=(!e||0!==e.length)&&!!e),i._childrenOptions=r,i.hasChildren&&i._initChildren(),i._loaded=!(!t||!t._loaded)},_initChildren:function(){var t,e,i,n=this;n.children instanceof st||(t=n.children=new st(n._childrenOptions),e=t.transport,i=e.parameterMap,e.parameterMap=function(t,e){return t[n.idField||"id"]=n.id,i&&(t=i(t,e)),t},t.parent=function(){return n},t.bind(Mt,function(t){t.node=t.node||n,n.trigger(Mt,t)}),t.bind(Pt,function(t){var e=n.parent();e&&(t.node=t.node||n,e.trigger(Pt,t));
}),n._updateChildrenField())},append:function(t){this._initChildren(),this.loaded(!0),this.children.add(t)},hasChildren:!1,level:function(){for(var t=this.parentNode(),e=0;t&&t.parentNode;)e++,t=t.parentNode?t.parentNode():null;return e},_updateChildrenField:function(){var t=this._childrenOptions.schema.data;this[t||"items"]=this.children.data()},_childrenLoaded:function(){this._loaded=!0,this._updateChildrenField()},load:function(){var i,n,o={},r="_query";return this.hasChildren?(this._initChildren(),i=this.children,o[this.idField||"id"]=this.id,this._loaded||(i._data=e,r="read"),i.one(Mt,ct(this._childrenLoaded,this)),this._matchFilter&&(o.filter={field:"_matchFilter",operator:"eq",value:!0}),n=i[r](o)):this.loaded(!0),n||t.Deferred().resolve().promise()},parentNode:function(){var t=this.parent();return t.parent()},loaded:function(t){return t===e?this._loaded:(this._loaded=t,e)},shouldSerialize:function(t){return $.fn.shouldSerialize.call(this,t)&&"children"!==t&&"_loaded"!==t&&"hasChildren"!==t&&"_childrenOptions"!==t}}),st=nt.extend({init:function(t){var e=rt.define({children:t});t.filter&&!t.serverFiltering&&(this._hierarchicalFilter=t.filter,t.filter=null),nt.fn.init.call(this,ht(!0,{},{schema:{modelBase:e,model:e}},t)),this._attachBubbleHandlers()},_attachBubbleHandlers:function(){var t=this;t._data.bind(Pt,function(e){t.trigger(Pt,e)})},read:function(t){var e=nt.fn.read.call(this,t);return this._hierarchicalFilter&&this.filter(this._hierarchicalFilter),e},remove:function(t){var e,i=t.parentNode(),n=this;return i&&i._initChildren&&(n=i.children),e=nt.fn.remove.call(n,t),i&&!n.data().length&&(i.hasChildren=!1),e},success:N("success"),data:N("data"),insert:function(t,e){var i=this.parent();return i&&i._initChildren&&(i.hasChildren=!0,i._initChildren()),nt.fn.insert.call(this,t,e)},filter:function(t){return t===e?this._filter:(this.options.serverFiltering||(this._markHierarchicalQuery(t),t={logic:"or",filters:[t,{field:"_matchFilter",operator:"equals",value:!0}]}),this.trigger("reset"),this._query({filter:t,page:1}),e)},_markHierarchicalQuery:function(t){var i,n,o,s,a;return t=l(t),t&&0!==t.filters.length?(i=r.filterExpr(t),o=i.fields,s=i.operators,n=a=Function("d, __f, __o","return "+i.expression),(o.length||s.length)&&(a=function(t){return n(t,o,s)}),this._updateHierarchicalFilter(a),e):this},_updateHierarchicalFilter:function(t){var e,i,n=this._data,o=!1;for(i=0;i<n.length;i++)e=n[i],e.hasChildren?(e._matchFilter=e.children._updateHierarchicalFilter(t),e._matchFilter||(e._matchFilter=t(e))):e._matchFilter=t(e),e._matchFilter&&(o=!0);return o},_find:function(t,e){var i,n,o,r,s=this._data;if(s){if(o=nt.fn[t].call(this,e))return o;for(s=this._flatData(this._data),i=0,n=s.length;i<n;i++)if(r=s[i].children,r instanceof st&&(o=r[t](e)))return o}},get:function(t){return this._find("get",t)},getByUid:function(t){return this._find("getByUid",t)}}),st.create=function(t){t=t&&t.push?{data:t}:t;var e=t||{},i=e.data,n=e.fields,o=e.list;return i&&i._dataSource?i._dataSource:(i||!n||e.transport||o&&(i=H(o,n)),e.data=i,e instanceof st?e:new st(e))},at=_t.Observable.extend({init:function(t,e,i){_t.Observable.fn.init.call(this),this._prefetching=!1,this.dataSource=t,this.prefetch=!i;var n=this;t.bind("change",function(){n._change()}),t.bind("reset",function(){n._reset()}),this._syncWithDataSource(),this.setViewSize(e)},setViewSize:function(t){this.viewSize=t,this._recalculate()},at:function(t){var i=this.pageSize,n=!0;return t>=this.total()?(this.trigger("endreached",{index:t}),null):this.useRanges?this.useRanges?((t<this.dataOffset||t>=this.skip+i)&&(n=this.range(Math.floor(t/i)*i)),t===this.prefetchThreshold&&this._prefetch(),t===this.midPageThreshold?this.range(this.nextMidRange,!0):t===this.nextPageThreshold?this.range(this.nextFullRange):t===this.pullBackThreshold&&this.range(this.offset===this.skip?this.previousMidRange:this.previousFullRange),n?this.dataSource.at(t-this.dataOffset):(this.trigger("endreached",{index:t}),null)):e:this.dataSource.view()[t]},indexOf:function(t){return this.dataSource.data().indexOf(t)+this.dataOffset},total:function(){return parseInt(this.dataSource.total(),10)},next:function(){var t=this,e=t.pageSize,i=t.skip-t.viewSize+e,n=Vt.max(Vt.floor(i/e),0)*e;this.offset=i,this.dataSource.prefetch(n,e,function(){t._goToRange(i,!0)})},range:function(t,e){if(this.offset===t)return!0;var i=this,n=this.pageSize,o=Vt.max(Vt.floor(t/n),0)*n,r=this.dataSource;return e&&(o+=n),r.inRange(t,n)?(this.offset=t,this._recalculate(),this._goToRange(t),!0):!this.prefetch||(r.prefetch(o,n,function(){i.offset=t,i._recalculate(),i._goToRange(t,!0)}),!1)},syncDataSource:function(){var t=this.offset;this.offset=null,this.range(t)},destroy:function(){this.unbind()},_prefetch:function(){var t=this,e=this.pageSize,i=this.skip+e,n=this.dataSource;n.inRange(i,e)||this._prefetching||!this.prefetch||(this._prefetching=!0,this.trigger("prefetching",{skip:i,take:e}),n.prefetch(i,e,function(){t._prefetching=!1,t.trigger("prefetched",{skip:i,take:e})}))},_goToRange:function(t,e){this.offset===t&&(this.dataOffset=t,this._expanding=e,this.dataSource.range(t,this.pageSize),this.dataSource.enableRequestsInProgress())},_reset:function(){this._syncPending=!0},_change:function(){var t=this.dataSource;this.length=this.useRanges?t.lastRange().end:t.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 t=this.dataSource;this._firstItemUid=t.firstItemUid(),this.dataOffset=this.offset=t.skip()||0,this.pageSize=t.pageSize(),this.useRanges=t.options.serverPaging},_recalculate:function(){var t=this.pageSize,e=this.offset,i=this.viewSize,n=Math.ceil(e/t)*t;this.skip=n,this.midPageThreshold=n+t-1,this.nextPageThreshold=n+i-1,this.prefetchThreshold=n+Math.floor(t/3*2),this.pullBackThreshold=this.offset-1,this.nextMidRange=n+t-i,this.nextFullRange=n,this.previousMidRange=e-i,this.previousFullRange=n-t}}),lt=_t.Observable.extend({init:function(t,e){var i=this;_t.Observable.fn.init.call(i),this.dataSource=t,this.batchSize=e,this._total=0,this.buffer=new at(t,3*e),this.buffer.bind({endreached:function(t){i.trigger("endreached",{index:t.index})},prefetching:function(t){i.trigger("prefetching",{skip:t.skip,take:t.take})},prefetched:function(t){i.trigger("prefetched",{skip:t.skip,take:t.take})},reset:function(){i._total=0,i.trigger("reset")},resize:function(){i._total=Math.ceil(this.length/i.batchSize),i.trigger("resize",{total:i.total(),offset:this.offset})}})},syncDataSource:function(){this.buffer.syncDataSource()},at:function(t){var e,i,n=this.buffer,o=t*this.batchSize,r=this.batchSize,s=[];for(n.offset>o&&n.at(n.offset-1),i=0;i<r&&(e=n.at(o+i),null!==e);i++)s.push(e);return s},total:function(){return this._total},destroy:function(){this.buffer.destroy(),this.unbind()}}),ht(!0,_t.data,{readers:{json:it},Query:r,DataSource:nt,HierarchicalDataSource:st,Node:rt,ObservableObject:W,ObservableArray:Qt,LazyObservableArray:j,LocalTransport:J,RemoteTransport:tt,Cache:et,DataReader:it,Model:$,Buffer:at,BatchBuffer:lt})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.binder.min",["kendo.core.min","kendo.data.min"],t)}(function(){return function(t,e){function i(e,i,n){return v.extend({init:function(t,e,i){var n=this;v.fn.init.call(n,t.element[0],e,i),n.widget=t,n._dataBinding=P(n.dataBinding,n),n._dataBound=P(n.dataBound,n),n._itemChange=P(n.itemChange,n)},itemChange:function(t){s(t.item[0],t.data,this._ns(t.ns),[t.data].concat(this.bindings[e]._parents()))},dataBinding:function(t){var e,i,n=this.widget,o=t.removedItems||n.items();for(e=0,i=o.length;e<i;e++)h(o[e],!1)},_ns:function(e){e=e||C.ui;var i=[C.ui,C.dataviz.ui,C.mobile.ui];return i.splice(t.inArray(e,i),1),i.unshift(e),C.rolesFromNamespaces(i)},dataBound:function(t){var n,o,r,a,l=this.widget,h=t.addedItems||l.items(),c=l[i],u=C.data.HierarchicalDataSource;if(!(u&&c instanceof u)&&h.length)for(r=t.addedDataItems||c.flatView(),a=this.bindings[e]._parents(),n=0,o=r.length;n<o;n++)s(h[n],r[n],this._ns(t.ns),[r[n]].concat(a))},refresh:function(t){var o,r,s,a=this,l=a.widget;t=t||{},t.action||(a.destroy(),l.bind("dataBinding",a._dataBinding),l.bind("dataBound",a._dataBound),l.bind("itemChange",a._itemChange),o=a.bindings[e].get(),l[i]instanceof C.data.DataSource&&l[i]!=o&&(o instanceof C.data.DataSource?l[n](o):o&&o._dataSource?l[n](o._dataSource):(l[i].data(o),r=C.ui.Select&&l instanceof C.ui.Select,s=C.ui.MultiSelect&&l instanceof C.ui.MultiSelect,a.bindings.value&&(r||s)&&l.value(f(a.bindings.value.get(),l.options.dataValueField)))))},destroy:function(){var t=this.widget;t.unbind("dataBinding",this._dataBinding),t.unbind("dataBound",this._dataBound),t.unbind("itemChange",this._itemChange)}})}function n(t,e){var i=C.initWidget(t,{},e);if(i)return new x(i)}function o(t){var e,i,n,r,s,a,l,h={};for(l=t.match(b),e=0,i=l.length;e<i;e++)n=l[e],r=n.indexOf(":"),s=n.substring(0,r),a=n.substring(r+1),"{"==a.charAt(0)&&(a=o(a)),h[s]=a;return h}function r(t,e,i){var n,o={};for(n in t)o[n]=new i(e,t[n]);return o}function s(t,e,i,a){var h,c,u,d,f=t.getAttribute("data-"+C.ns+"role"),v=t.getAttribute("data-"+C.ns+"bind"),_=[],w=!0,x={};if(a=a||[e],(f||v)&&l(t,!1),f&&(u=n(t,i)),v&&(v=o(v.replace(k,"")),u||(x=C.parseOptions(t,{textField:"",valueField:"",template:"",valueUpdate:V,valuePrimitive:!1,autoBind:!0}),x.roles=i,u=new y(t,x)),u.source=e,c=r(v,a,p),x.template&&(c.template=new m(a,"",x.template)),c.click&&(v.events=v.events||{},v.events.click=v.click,c.click.destroy(),delete c.click),c.source&&(w=!1),v.attr&&(c.attr=r(v.attr,a,p)),v.style&&(c.style=r(v.style,a,p)),v.events&&(c.events=r(v.events,a,g)),v.css&&(c.css=r(v.css,a,p)),u.bind(c)),u&&(t.kendoBindingTarget=u),d=t.children,w&&d){for(h=0;h<d.length;h++)_[h]=d[h];for(h=0;h<_.length;h++)s(_[h],e,i,a)}}function a(e,i){var n,o,r,a=C.rolesFromNamespaces([].slice.call(arguments,2));for(i=C.observable(i),e=t(e),n=0,o=e.length;n<o;n++)r=e[n],1===r.nodeType&&s(r,i,a)}function l(e,i){var n,o=e.kendoBindingTarget;o&&(o.destroy(),R?delete e.kendoBindingTarget:e.removeAttribute?e.removeAttribute("kendoBindingTarget"):e.kendoBindingTarget=null),i&&(n=C.widgetInstance(t(e)),n&&typeof n.destroy===F&&n.destroy())}function h(t,e){l(t,e),c(t,e)}function c(t,e){var i,n,o=t.children;if(o)for(i=0,n=o.length;i<n;i++)h(o[i],e)}function u(e){var i,n;for(e=t(e),i=0,n=e.length;i<n;i++)h(e[i],!1)}function d(t,e){var i=t.element,n=i[0].kendoBindingTarget;n&&a(i,n.source,e)}function f(t,e){var i,n,o=[],r=0;if(!e)return t;if(t instanceof A){for(i=t.length;r<i;r++)n=t[r],o[r]=n.get?n.get(e):n[e];t=o}else t instanceof T&&(t=t.get(e));return t}var p,g,m,v,_,w,y,x,b,k,C=window.kendo,S=C.Observable,T=C.data.ObservableObject,A=C.data.ObservableArray,M={}.toString,D={},E=C.Class,P=t.proxy,B="value",I="source",z="events",L="checked",O="css",R=!0,F="function",V="change";!function(){var t=document.createElement("a");try{delete t.test}catch(e){R=!1}}(),p=S.extend({init:function(t,e){var i=this;S.fn.init.call(i),i.source=t[0],i.parents=t,i.path=e,i.dependencies={},i.dependencies[e]=!0,i.observable=i.source instanceof S,i._access=function(t){i.dependencies[t.field]=!0},i.observable&&(i._change=function(t){i.change(t)},i.source.bind(V,i._change))},_parents:function(){var e,i=this.parents,n=this.get();return n&&"function"==typeof n.parent&&(e=n.parent(),t.inArray(e,i)<0&&(i=[e].concat(i))),i},change:function(t){var e,i,n=t.field,o=this;if("this"===o.path)o.trigger(V,t);else for(e in o.dependencies)if(0===e.indexOf(n)&&(i=e.charAt(n.length),!i||"."===i||"["===i)){o.trigger(V,t);break}},start:function(t){t.bind("get",this._access)},stop:function(t){t.unbind("get",this._access)},get:function(){var t=this,i=t.source,n=0,o=t.path,r=i;if(!t.observable)return r;for(t.start(t.source),r=i.get(o);r===e&&i;)i=t.parents[++n],i instanceof T&&(r=i.get(o));if(r===e)for(i=t.source;r===e&&i;)i=i.parent(),i instanceof T&&(r=i.get(o));return"function"==typeof r&&(n=o.lastIndexOf("."),n>0&&(i=i.get(o.substring(0,n))),t.start(i),r=i!==t.source?r.call(i,t.source):r.call(i),t.stop(i)),i&&i!==t.source&&(t.currentSource=i,i.unbind(V,t._change).bind(V,t._change)),t.stop(t.source),r},set:function(t){var e=this.currentSource||this.source,i=C.getter(this.path)(e);"function"==typeof i?e!==this.source?i.call(e,this.source,t):i.call(e,t):e.set(this.path,t)},destroy:function(){this.observable&&(this.source.unbind(V,this._change),this.currentSource&&this.currentSource.unbind(V,this._change)),this.unbind()}}),g=p.extend({get:function(){var t,e=this.source,i=this.path,n=0;for(t=e.get(i);!t&&e;)e=this.parents[++n],e instanceof T&&(t=e.get(i));return P(t,e)}}),m=p.extend({init:function(t,e,i){var n=this;p.fn.init.call(n,t,e),n.template=i},render:function(t){var e;return this.start(this.source),e=C.render(this.template,t),this.stop(this.source),e}}),v=E.extend({init:function(t,e,i){this.element=t,this.bindings=e,this.options=i},bind:function(t,e){var i=this;t=e?t[e]:t,t.bind(V,function(t){i.refresh(e||t)}),i.refresh(e)},destroy:function(){}}),_=v.extend({dataType:function(){var t=this.element.getAttribute("data-type")||this.element.type||"text";return t.toLowerCase()},parsedValue:function(){return this._parseValue(this.element.value,this.dataType())},_parseValue:function(t,e){return"date"==e?t=C.parseDate(t,"yyyy-MM-dd"):"datetime-local"==e?t=C.parseDate(t,["yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm"]):"number"==e?t=C.parseFloat(t):"boolean"==e&&(t=t.toLowerCase(),t=null!==C.parseFloat(t)?!!C.parseFloat(t):"true"===t.toLowerCase()),t}}),D.attr=v.extend({refresh:function(t){this.element.setAttribute(t,this.bindings.attr[t].get())}}),D.css=v.extend({init:function(t,e,i){v.fn.init.call(this,t,e,i),this.classes={}},refresh:function(e){var i=t(this.element),n=this.bindings.css[e],o=this.classes[e]=n.get();o?i.addClass(e):i.removeClass(e)}}),D.style=v.extend({refresh:function(t){this.element.style[t]=this.bindings.style[t].get()||""}}),D.enabled=v.extend({refresh:function(){this.bindings.enabled.get()?this.element.removeAttribute("disabled"):this.element.setAttribute("disabled","disabled")}}),D.readonly=v.extend({refresh:function(){this.bindings.readonly.get()?this.element.setAttribute("readonly","readonly"):this.element.removeAttribute("readonly")}}),D.disabled=v.extend({refresh:function(){this.bindings.disabled.get()?this.element.setAttribute("disabled","disabled"):this.element.removeAttribute("disabled")}}),D.events=v.extend({init:function(t,e,i){v.fn.init.call(this,t,e,i),this.handlers={}},refresh:function(e){var i=t(this.element),n=this.bindings.events[e],o=this.handlers[e];o&&i.off(e,o),o=this.handlers[e]=n.get(),i.on(e,n.source,o)},destroy:function(){var e,i=t(this.element);for(e in this.handlers)i.off(e,this.handlers[e])}}),D.text=v.extend({refresh:function(){var e=this.bindings.text.get(),i=this.element.getAttribute("data-format")||"";null==e&&(e=""),t(this.element).text(C.toString(e,i))}}),D.visible=v.extend({refresh:function(){this.element.style.display=this.bindings.visible.get()?"":"none"}}),D.invisible=v.extend({refresh:function(){this.element.style.display=this.bindings.invisible.get()?"none":""}}),D.html=v.extend({refresh:function(){this.element.innerHTML=this.bindings.html.get()}}),D.value=_.extend({init:function(e,i,n){_.fn.init.call(this,e,i,n),this._change=P(this.change,this),this.eventName=n.valueUpdate||V,t(this.element).on(this.eventName,this._change),this._initChange=!1},change:function(){this._initChange=this.eventName!=V,this.bindings[B].set(this.parsedValue()),this._initChange=!1},refresh:function(){var t,e;this._initChange||(t=this.bindings[B].get(),null==t&&(t=""),e=this.dataType(),"date"==e?t=C.toString(t,"yyyy-MM-dd"):"datetime-local"==e&&(t=C.toString(t,"yyyy-MM-ddTHH:mm:ss")),this.element.value=t),this._initChange=!1},destroy:function(){t(this.element).off(this.eventName,this._change)}}),D.source=v.extend({init:function(t,e,i){v.fn.init.call(this,t,e,i);var n=this.bindings.source.get();n instanceof C.data.DataSource&&i.autoBind!==!1&&n.fetch()},refresh:function(t){var e=this,i=e.bindings.source.get();i instanceof A||i instanceof C.data.DataSource?(t=t||{},"add"==t.action?e.add(t.index,t.items):"remove"==t.action?e.remove(t.index,t.items):"itemchange"!=t.action&&e.render()):e.render()},container:function(){var t=this.element;return"table"==t.nodeName.toLowerCase()&&(t.tBodies[0]||t.appendChild(document.createElement("tbody")),t=t.tBodies[0]),t},template:function(){var t=this.options,e=t.template,i=this.container().nodeName.toLowerCase();return e||(e="select"==i?t.valueField||t.textField?C.format('<option value="#:{0}#">#:{1}#</option>',t.valueField||t.textField,t.textField||t.valueField):"<option>#:data#</option>":"tbody"==i?"<tr><td>#:data#</td></tr>":"ul"==i||"ol"==i?"<li>#:data#</li>":"#:data#",e=C.template(e)),e},add:function(e,i){var n,o,r,a,l=this.container(),h=l.cloneNode(!1),c=l.children[e];if(t(h).html(C.render(this.template(),i)),h.children.length)for(n=this.bindings.source._parents(),o=0,r=i.length;o<r;o++)a=h.children[0],l.insertBefore(a,c||null),s(a,i[o],this.options.roles,[i[o]].concat(n))},remove:function(t,e){var i,n,o=this.container();for(i=0;i<e.length;i++)n=o.children[t],h(n,!0),n.parentNode==o&&o.removeChild(n)},render:function(){var e,i,n,o=this.bindings.source.get(),r=this.container(),a=this.template();if(null!=o)if(o instanceof C.data.DataSource&&(o=o.view()),o instanceof A||"[object Array]"===M.call(o)||(o=[o]),this.bindings.template){if(c(r,!0),t(r).html(this.bindings.template.render(o)),r.children.length)for(e=this.bindings.source._parents(),i=0,n=o.length;i<n;i++)s(r.children[i],o[i],this.options.roles,[o[i]].concat(e))}else t(r).html(C.render(a,o))}}),D.input={checked:_.extend({init:function(e,i,n){_.fn.init.call(this,e,i,n),this._change=P(this.change,this),t(this.element).change(this._change)},change:function(){var t,e,i,n=this.element,o=this.value();if("radio"==n.type)o=this.parsedValue(),this.bindings[L].set(o);else if("checkbox"==n.type)if(t=this.bindings[L].get(),t instanceof A){if(o=this.parsedValue(),o instanceof Date){for(i=0;i<t.length;i++)if(t[i]instanceof Date&&+t[i]===+o){e=i;break}}else e=t.indexOf(o);e>-1?t.splice(e,1):t.push(o)}else this.bindings[L].set(o)},refresh:function(){var t,e,i=this.bindings[L].get(),n=i,o=this.dataType(),r=this.element;if("checkbox"==r.type)if(n instanceof A){if(t=-1,i=this.parsedValue(),i instanceof Date){for(e=0;e<n.length;e++)if(n[e]instanceof Date&&+n[e]===+i){t=e;break}}else t=n.indexOf(i);r.checked=t>=0}else r.checked=n;else"radio"==r.type&&null!=i&&("date"==o?i=C.toString(i,"yyyy-MM-dd"):"datetime-local"==o&&(i=C.toString(i,"yyyy-MM-ddTHH:mm:ss")),r.checked=r.value===""+i)},value:function(){var t=this.element,e=t.value;return"checkbox"==t.type&&(e=t.checked),e},destroy:function(){t(this.element).off(V,this._change)}})},D.select={source:D.source.extend({refresh:function(i){var n,o=this,r=o.bindings.source.get();r instanceof A||r instanceof C.data.DataSource?(i=i||{},"add"==i.action?o.add(i.index,i.items):"remove"==i.action?o.remove(i.index,i.items):"itemchange"!=i.action&&i.action!==e||(o.render(),o.bindings.value&&o.bindings.value&&(n=f(o.bindings.value.get(),t(o.element).data("valueField")),null===n?o.element.selectedIndex=-1:o.element.value=n))):o.render()}}),value:_.extend({init:function(e,i,n){_.fn.init.call(this,e,i,n),this._change=P(this.change,this),t(this.element).change(this._change)},parsedValue:function(){var t,e,i,n,o=this.dataType(),r=[];for(i=0,n=this.element.options.length;i<n;i++)e=this.element.options[i],e.selected&&(t=e.attributes.value,t=t&&t.specified?e.value:e.text,r.push(this._parseValue(t,o)));return r},change:function(){var t,i,n,o,r,s,a,l,h=[],c=this.element,u=this.options.valueField||this.options.textField,d=this.options.valuePrimitive;for(r=0,s=c.options.length;r<s;r++)i=c.options[r],i.selected&&(o=i.attributes.value,o=o&&o.specified?i.value:i.text,h.push(u?o:this._parseValue(o,this.dataType())));if(u)for(t=this.bindings.source.get(),t instanceof C.data.DataSource&&(t=t.view()),n=0;n<h.length;n++)for(r=0,s=t.length;r<s;r++)if(a=t[r].get(u),l=a+""===h[n]){h[n]=t[r];break}o=this.bindings[B].get(),o instanceof A?o.splice.apply(o,[0,o.length].concat(h)):this.bindings[B].set(d||!(o instanceof T||null===o||o===e)&&u?h[0].get(u):h[0])},refresh:function(){var t,e,i,n=this.element,o=n.options,r=this.bindings[B].get(),s=r,a=this.options.valueField||this.options.textField,l=!1,h=this.dataType();for(s instanceof A||(s=new A([r])),n.selectedIndex=-1,i=0;i<s.length;i++)for(r=s[i],a&&r instanceof T&&(r=r.get(a)),"date"==h?r=C.toString(s[i],"yyyy-MM-dd"):"datetime-local"==h&&(r=C.toString(s[i],"yyyy-MM-ddTHH:mm:ss")),t=0;t<o.length;t++)e=o[t].value,""===e&&""!==r&&(e=o[t].text),null!=r&&e==""+r&&(o[t].selected=!0,l=!0)},destroy:function(){t(this.element).off(V,this._change)}})},D.widget={events:v.extend({init:function(t,e,i){v.fn.init.call(this,t.element[0],e,i),this.widget=t,this.handlers={}},refresh:function(t){var e=this.bindings.events[t],i=this.handlers[t];i&&this.widget.unbind(t,i),i=e.get(),this.handlers[t]=function(t){t.data=e.source,i(t),t.data===e.source&&delete t.data},this.widget.bind(t,this.handlers[t])},destroy:function(){var t;for(t in this.handlers)this.widget.unbind(t,this.handlers[t])}}),checked:v.extend({init:function(t,e,i){v.fn.init.call(this,t.element[0],e,i),this.widget=t,this._change=P(this.change,this),this.widget.bind(V,this._change)},change:function(){this.bindings[L].set(this.value())},refresh:function(){this.widget.check(this.bindings[L].get()===!0)},value:function(){var t=this.element,e=t.value;return"on"!=e&&"off"!=e||(e=t.checked),e},destroy:function(){this.widget.unbind(V,this._change)}}),visible:v.extend({init:function(t,e,i){v.fn.init.call(this,t.element[0],e,i),this.widget=t},refresh:function(){var t=this.bindings.visible.get();this.widget.wrapper[0].style.display=t?"":"none"}}),invisible:v.extend({init:function(t,e,i){v.fn.init.call(this,t.element[0],e,i),this.widget=t},refresh:function(){var t=this.bindings.invisible.get();this.widget.wrapper[0].style.display=t?"none":""}}),enabled:v.extend({init:function(t,e,i){v.fn.init.call(this,t.element[0],e,i),this.widget=t},refresh:function(){this.widget.enable&&this.widget.enable(this.bindings.enabled.get())}}),disabled:v.extend({init:function(t,e,i){v.fn.init.call(this,t.element[0],e,i),this.widget=t},refresh:function(){this.widget.enable&&this.widget.enable(!this.bindings.disabled.get())}}),source:i("source","dataSource","setDataSource"),value:v.extend({init:function(e,i,n){v.fn.init.call(this,e.element[0],i,n),this.widget=e,this._change=t.proxy(this.change,this),this.widget.first(V,this._change);var o=this.bindings.value.get();this._valueIsObservableObject=!n.valuePrimitive&&(null==o||o instanceof T),this._valueIsObservableArray=o instanceof A,this._initChange=!1},_source:function(){var t;return this.widget.dataItem&&(t=this.widget.dataItem(),t&&t instanceof T)?[t]:(this.bindings.source&&(t=this.bindings.source.get()),(!t||t instanceof C.data.DataSource)&&(t=this.widget.dataSource.flatView()),t)},change:function(){var t,e,i,n,o,r,s,a=this.widget.value(),l=this.options.dataValueField||this.options.dataTextField,h="[object Array]"===M.call(a),c=this._valueIsObservableObject,u=[];if(this._initChange=!0,l)if(""===a&&(c||this.options.valuePrimitive))a=null;else{for(s=this._source(),h&&(e=a.length,u=a.slice(0)),o=0,r=s.length;o<r;o++)if(i=s[o],n=i.get(l),h){for(t=0;t<e;t++)if(n==u[t]){u[t]=i;break}}else if(n==a){a=c?i:n;break}u[0]&&(a=this._valueIsObservableArray?u:c||!l?u[0]:u[0].get(l))}this.bindings.value.set(a),this._initChange=!1},refresh:function(){var t,i,n,o,r,s,a,l,h;if(!this._initChange){if(t=this.widget,i=t.options,n=i.dataTextField,o=i.dataValueField||n,r=this.bindings.value.get(),s=i.text||"",a=0,h=[],r===e&&(r=null),o)if(r instanceof A){for(l=r.length;a<l;a++)h[a]=r[a].get(o);r=h}else r instanceof T&&(s=r.get(n),r=r.get(o));i.autoBind!==!1||i.cascadeFrom||!t.listView||t.listView.bound()?t.value(r):(n!==o||s||(s=r),s||!r&&0!==r||!i.valuePrimitive?t._preselect(r,s):t.value(r))}this._initChange=!1},destroy:function(){this.widget.unbind(V,this._change)}}),gantt:{dependencies:i("dependencies","dependencies","setDependenciesDataSource")},multiselect:{value:v.extend({init:function(e,i,n){v.fn.init.call(this,e.element[0],i,n),this.widget=e,this._change=t.proxy(this.change,this),this.widget.first(V,this._change),this._initChange=!1},change:function(){var t,i,n,o,r,s,a,l,h,c=this,u=c.bindings[B].get(),d=c.options.valuePrimitive,f=d?c.widget.value():c.widget.dataItems(),p=this.options.dataValueField||this.options.dataTextField;if(f=f.slice(0),c._initChange=!0,u instanceof A){for(t=[],i=f.length,n=0,o=0,r=u[n],s=!1;r!==e;){for(h=!1,o=0;o<i;o++)if(d?s=f[o]==r:(l=f[o],l=l.get?l.get(p):l,s=l==(r.get?r.get(p):r)),s){f.splice(o,1),i-=1,h=!0;break}h?n+=1:(t.push(r),w(u,n,1),a=n),r=u[n]}w(u,u.length,0,f),t.length&&u.trigger("change",{action:"remove",items:t,index:a}),f.length&&u.trigger("change",{action:"add",items:f,index:u.length-1})}else c.bindings[B].set(f);c._initChange=!1},refresh:function(){if(!this._initChange){var t,i,n=this.options,o=this.widget,r=n.dataValueField||n.dataTextField,s=this.bindings.value.get(),a=s,l=0,h=[];if(s===e&&(s=null),r)if(s instanceof A){for(t=s.length;l<t;l++)i=s[l],h[l]=i.get?i.get(r):i;s=h}else s instanceof T&&(s=s.get(r));n.autoBind!==!1||n.valuePrimitive===!0||o._isBound()?o.value(s):o._preselect(a,s)}},destroy:function(){this.widget.unbind(V,this._change)}})},scheduler:{source:i("source","dataSource","setDataSource").extend({dataBound:function(t){var e,i,n,o,r=this.widget,a=t.addedItems||r.items();if(a.length)for(n=t.addedDataItems||r.dataItems(),o=this.bindings.source._parents(),e=0,i=n.length;e<i;e++)s(a[e],n[e],this._ns(t.ns),[n[e]].concat(o))}})}},w=function(t,e,i,n){var o,r,s,a,l;if(n=n||[],i=i||0,o=n.length,r=t.length,s=[].slice.call(t,e+i),a=s.length,o){for(o=e+o,l=0;e<o;e++)t[e]=n[l],l++;t.length=o}else if(i)for(t.length=e,i+=e;e<i;)delete t[--i];if(a){for(a=e+a,l=0;e<a;e++)t[e]=s[l],l++;t.length=a}for(e=t.length;e<r;)delete t[e],e++},y=E.extend({init:function(t,e){this.target=t,this.options=e,this.toDestroy=[]},bind:function(t){var e,i,n,o,r,s,a=this instanceof x,l=this.binders();for(e in t)e==B?i=!0:e==I?n=!0:e!=z||a?e==L?r=!0:e==O?s=!0:this.applyBinding(e,t,l):o=!0;n&&this.applyBinding(I,t,l),i&&this.applyBinding(B,t,l),r&&this.applyBinding(L,t,l),o&&!a&&this.applyBinding(z,t,l),s&&!a&&this.applyBinding(O,t,l)},binders:function(){return D[this.target.nodeName.toLowerCase()]||{}},applyBinding:function(t,e,i){var n,o=i[t]||D[t],r=this.toDestroy,s=e[t];if(o)if(o=new o(this.target,e,this.options),r.push(o),s instanceof p)o.bind(s),r.push(s);else for(n in s)o.bind(s,n),r.push(s[n]);else if("template"!==t)throw Error("The "+t+" binding is not supported by the "+this.target.nodeName.toLowerCase()+" element")},destroy:function(){var t,e,i=this.toDestroy;for(t=0,e=i.length;t<e;t++)i[t].destroy()}}),x=y.extend({binders:function(){return D.widget[this.target.options.name.toLowerCase()]||{}},applyBinding:function(t,e,i){var n,o=i[t]||D.widget[t],r=this.toDestroy,s=e[t];if(!o)throw Error("The "+t+" binding is not supported by the "+this.target.options.name+" widget");if(o=new o(this.target,e,this.target.options),r.push(o),s instanceof p)o.bind(s),r.push(s);else for(n in s)o.bind(s,n),r.push(s[n])}}),b=/[A-Za-z0-9_\-]+:(\{([^}]*)\}|[^,}]+)/g,k=/\s/g,C.unbind=u,C.bind=a,C.data.binders=D,C.data.Binder=v,C.notify=d,C.observable=function(t){return t instanceof T||(t=new T(t)),t},C.observableHierarchy=function(t){function e(t){var i,n;for(i=0;i<t.length;i++)t[i]._initChildren(),n=t[i].children,n.fetch(),t[i].items=n.data(),e(t[i].items)}var i=C.data.HierarchicalDataSource.create(t);return i.fetch(),e(i.data()),i._data._dataSource=i,i._data}}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.view.min",["kendo.core.min","kendo.binder.min","kendo.fx.min"],t)}(function(){return function(t,e){function i(t){if(!t)return{};var e=t.match(_)||[];return{type:e[1],direction:e[3],reverse:"reverse"===e[5]}}var n=window.kendo,o=n.Observable,r="SCRIPT",s="init",a="show",l="hide",h="transitionStart",c="transitionEnd",u="attach",d="detach",f=/unrecognized expression/,p=o.extend({init:function(t,e){var i=this;e=e||{},o.fn.init.call(i),i.content=t,i.id=n.guid(),i.tagName=e.tagName||"div",i.model=e.model,i._wrap=e.wrap!==!1,this._evalTemplate=e.evalTemplate||!1,i._fragments={},i.bind([s,a,l,h,c],e)},render:function(e){var i=this,o=!i.element;return o&&(i.element=i._createElement()),e&&t(e).append(i.element),o&&(n.bind(i.element,i.model),i.trigger(s)),e&&(i._eachFragment(u),i.trigger(a)),i.element},clone:function(){return new g(this)},triggerBeforeShow:function(){return!0},triggerBeforeHide:function(){return!0},showStart:function(){this.element.css("display","")},showEnd:function(){},hideEnd:function(){this.hide()},beforeTransition:function(t){this.trigger(h,{type:t})},afterTransition:function(t){this.trigger(c,{type:t})},hide:function(){this._eachFragment(d),this.element.detach(),this.trigger(l)},destroy:function(){var t=this.element;t&&(n.unbind(t),n.destroy(t),t.remove())},fragments:function(e){t.extend(this._fragments,e)},_eachFragment:function(t){for(var e in this._fragments)this._fragments[e][t](this,e)},_createElement:function(){var e,i,o,s=this,a="<"+s.tagName+" />";try{i=t(document.getElementById(s.content)||s.content),i[0].tagName===r&&(i=i.html())}catch(l){f.test(l.message)&&(i=s.content)}return"string"==typeof i?(i=i.replace(/^\s+|\s+$/g,""),s._evalTemplate&&(i=n.template(i)(s.model||{})),e=t(a).append(i),s._wrap||(e=e.contents())):(e=i,s._evalTemplate&&(o=t(n.template(t("<div />").append(e.clone(!0)).html())(s.model||{})),t.contains(document,e[0])&&e.replaceWith(o),e=o),s._wrap&&(e=e.wrapAll(a).parent())),e}}),g=n.Class.extend({init:function(e){t.extend(this,{element:e.element.clone(!0),transition:e.transition,id:e.id}),e.element.parent().append(this.element)},hideEnd:function(){this.element.remove()},beforeTransition:t.noop,afterTransition:t.noop}),m=p.extend({init:function(t,e){p.fn.init.call(this,t,e),this.containers={}},container:function(t){var e=this.containers[t];return e||(e=this._createContainer(t),this.containers[t]=e),e},showIn:function(t,e,i){this.container(t).show(e,i)},_createContainer:function(t){var e,i=this.render(),n=i.find(t);if(!n.length&&i.is(t)){if(!i.is(t))throw Error("can't find a container with the specified "+t+" selector");n=i}return e=new w(n),e.bind("accepted",function(t){t.view.render(n)}),e}}),v=p.extend({attach:function(t,e){t.element.find(e).replaceWith(this.render())},detach:function(){}}),_=/^(\w+)(:(\w+))?( (\w+))?$/,w=o.extend({init:function(t){o.fn.init.call(this),this.container=t,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(t,e,o){if(!t.triggerBeforeShow()||this.view&&!this.view.triggerBeforeHide())return this.trigger("after"),!1;o=o||t.id;var r=this,s=t===r.view?t.clone():r.view,a=r.history,l=a[a.length-2]||{},h=l.id===o,c=e||(h?a[a.length-1].transition:t.transition),u=i(c);return r.running&&r.effect.stop(),"none"===c&&(c=null),r.trigger("accepted",{view:t}),r.view=t,r.previous=s,r.running=!0,h?a.pop():a.push({id:o,transition:c}),s?(c&&n.effects.enabled?(t.element.addClass("k-fx-hidden"),t.showStart(),h&&!e&&(u.reverse=!u.reverse),r.effect=n.fx(t.element).replace(s.element,u.type).beforeTransition(function(){t.beforeTransition("show"),s.beforeTransition("hide")}).afterTransition(function(){t.afterTransition("show"),s.afterTransition("hide");
}).direction(u.direction).setReverse(u.reverse),r.effect.run().then(function(){r.end()})):(t.showStart(),r.end()),!0):(t.showStart(),t.showEnd(),r.after(),!0)}});n.ViewContainer=w,n.Fragment=v,n.Layout=m,n.View=p,n.ViewClone=g}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.data.signalr.min",["kendo.data.min"],t)}(function(){return function(t){var e=kendo.data.RemoteTransport.extend({init:function(t){var e,i=t&&t.signalr?t.signalr:{},n=i.promise;if(!n)throw Error('The "promise" option must be set.');if("function"!=typeof n.done||"function"!=typeof n.fail)throw Error('The "promise" option must be a Promise.');if(this.promise=n,e=i.hub,!e)throw Error('The "hub" option must be set.');if("function"!=typeof e.on||"function"!=typeof e.invoke)throw Error('The "hub" option is not a valid SignalR hub proxy.');this.hub=e,kendo.data.RemoteTransport.fn.init.call(this,t)},push:function(t){var e=this.options.signalr.client||{};e.create&&this.hub.on(e.create,t.pushCreate),e.update&&this.hub.on(e.update,t.pushUpdate),e.destroy&&this.hub.on(e.destroy,t.pushDestroy)},_crud:function(e,i){var n,o,r=this.hub,s=this.options.signalr.server;if(!s||!s[i])throw Error(kendo.format('The "server.{0}" option must be set.',i));n=[s[i]],o=this.parameterMap(e.data,i),t.isEmptyObject(o)||n.push(o),this.promise.done(function(){r.invoke.apply(r,n).done(e.success).fail(e.error)})},read:function(t){this._crud(t,"read")},create:function(t){this._crud(t,"create")},update:function(t){this._crud(t,"update")},destroy:function(t){this._crud(t,"destroy")}});t.extend(!0,kendo.data,{transports:{signalr:e}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.userevents.min",["kendo.core.min"],t)}(function(){return function(t,e){function i(t,e){var i=t.x.location,n=t.y.location,o=e.x.location,r=e.y.location,s=i-o,a=n-r;return{center:{x:(i+o)/2,y:(n+r)/2},distance:Math.sqrt(s*s+a*a)}}function n(t){var e,i,n,o=[],r=t.originalEvent,a=t.currentTarget,l=0;if(t.api)o.push({id:2,event:t,target:t.target,currentTarget:t.target,location:t,type:"api"});else if(t.type.match(/touch/))for(i=r?r.changedTouches:[],e=i.length;l<e;l++)n=i[l],o.push({location:n,event:t,target:n.target,currentTarget:a,id:n.identifier,type:"touch"});else o.push(s.pointers||s.msPointers?{location:r,event:t,target:t.target,currentTarget:a,id:r.pointerId,type:"pointer"}:{id:1,event:t,target:t.target,currentTarget:a,location:t,type:"mouse"});return o}function o(t){for(var e=r.eventMap.up.split(" "),i=0,n=e.length;i<n;i++)t(e[i])}var r=window.kendo,s=r.support,a=r.Class,l=r.Observable,h=t.now,c=t.extend,u=s.mobileOS,d=u&&u.android,f=800,p=s.browser.msie?5:0,g="press",m="hold",v="select",_="start",w="move",y="end",x="cancel",b="tap",k="release",C="gesturestart",S="gesturechange",T="gestureend",A="gesturetap",M={api:0,touch:0,mouse:9,pointer:9},D=!s.touch||s.mouseAndTouchPresent,E=a.extend({init:function(t,e){var i=this;i.axis=t,i._updateLocationData(e),i.startLocation=i.location,i.velocity=i.delta=0,i.timeStamp=h()},move:function(t){var e=this,i=t["page"+e.axis],n=h(),o=n-e.timeStamp||1;!i&&d||(e.delta=i-e.location,e._updateLocationData(t),e.initialDelta=i-e.startLocation,e.velocity=e.delta/o,e.timeStamp=n)},_updateLocationData:function(t){var e=this,i=e.axis;e.location=t["page"+i],e.client=t["client"+i],e.screen=t["screen"+i]}}),P=a.extend({init:function(t,e,i){c(this,{x:new E("X",i.location),y:new E("Y",i.location),type:i.type,useClickAsTap:t.useClickAsTap,threshold:t.threshold||M[i.type],userEvents:t,target:e,currentTarget:i.currentTarget,initialTouch:i.target,id:i.id,pressEvent:i,_moved:!1,_finished:!1})},press:function(){this._holdTimeout=setTimeout(t.proxy(this,"_hold"),this.userEvents.minHold),this._trigger(g,this.pressEvent)},_hold:function(){this._trigger(m,this.pressEvent)},move:function(t){var e=this;if(!e._finished){if(e.x.move(t.location),e.y.move(t.location),!e._moved){if(e._withinIgnoreThreshold())return;if(B.current&&B.current!==e.userEvents)return e.dispose();e._start(t)}e._finished||e._trigger(w,t)}},end:function(t){this.endTime=h(),this._finished||(this._finished=!0,this._trigger(k,t),this._moved?this._trigger(y,t):this.useClickAsTap||this._trigger(b,t),clearTimeout(this._holdTimeout),this.dispose())},dispose:function(){var e=this.userEvents,i=e.touches;this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout),i.splice(t.inArray(this,i),1)},skip:function(){this.dispose()},cancel:function(){this.dispose()},isMoved:function(){return this._moved},_start:function(t){clearTimeout(this._holdTimeout),this.startTime=h(),this._moved=!0,this._trigger(_,t)},_trigger:function(t,e){var i=this,n=e.event,o={touch:i,x:i.x,y:i.y,target:i.target,event:n};i.userEvents.notify(t,o)&&n.preventDefault()},_withinIgnoreThreshold:function(){var t=this.x.initialDelta,e=this.y.initialDelta;return Math.sqrt(t*t+e*e)<=this.threshold}}),B=l.extend({init:function(e,i){var n,a,h,u=this,d=r.guid();i=i||{},n=u.filter=i.filter,u.threshold=i.threshold||p,u.minHold=i.minHold||f,u.touches=[],u._maxTouches=i.multiTouch?2:1,u.allowSelection=i.allowSelection,u.captureUpIfMoved=i.captureUpIfMoved,u.useClickAsTap=!i.fastTap&&!s.delayedClick(),u.eventNS=d,e=t(e).handler(u),l.fn.init.call(u),c(u,{element:e,surface:t(i.global&&D?e[0].ownerDocument.documentElement:i.surface||e),stopPropagation:i.stopPropagation,pressed:!1}),u.surface.handler(u).on(r.applyEventMap("move",d),"_move").on(r.applyEventMap("up cancel",d),"_end"),e.on(r.applyEventMap("down",d),n,"_start"),u.useClickAsTap&&e.on(r.applyEventMap("click",d),n,"_click"),(s.pointers||s.msPointers)&&(s.browser.version<11?e.css("-ms-touch-action","pinch-zoom double-tap-zoom"):e.css("touch-action",i.touchAction||"none")),i.preventDragEvent&&e.on(r.applyEventMap("dragstart",d),r.preventDefault),e.on(r.applyEventMap("mousedown",d),n,{root:e},"_select"),u.captureUpIfMoved&&s.eventCapture&&(a=u.surface[0],h=t.proxy(u.preventIfMoving,u),o(function(t){a.addEventListener(t,h,!0)})),u.bind([g,m,b,_,w,y,k,x,C,S,T,A,v],i)},preventIfMoving:function(t){this._isMoved()&&t.preventDefault()},destroy:function(){var t,e=this;e._destroyed||(e._destroyed=!0,e.captureUpIfMoved&&s.eventCapture&&(t=e.surface[0],o(function(i){t.removeEventListener(i,e.preventIfMoving)})),e.element.kendoDestroy(e.eventNS),e.surface.kendoDestroy(e.eventNS),e.element.removeData("handler"),e.surface.removeData("handler"),e._disposeAll(),e.unbind(),delete e.surface,delete e.element,delete e.currentTarget)},capture:function(){B.current=this},cancel:function(){this._disposeAll(),this.trigger(x)},notify:function(t,e){var n=this,o=n.touches;if(this._isMultiTouch()){switch(t){case w:t=S;break;case y:t=T;break;case b:t=A}c(e,{touches:o},i(o[0],o[1]))}return this.trigger(t,c(e,{type:t}))},press:function(t,e,i){this._apiCall("_start",t,e,i)},move:function(t,e){this._apiCall("_move",t,e)},end:function(t,e){this._apiCall("_end",t,e)},_isMultiTouch:function(){return this.touches.length>1},_maxTouchesReached:function(){return this.touches.length>=this._maxTouches},_disposeAll:function(){for(var t=this.touches;t.length>0;)t.pop().dispose()},_isMoved:function(){return t.grep(this.touches,function(t){return t.isMoved()}).length},_select:function(t){this.allowSelection&&!this.trigger(v,{event:t})||t.preventDefault()},_start:function(e){var i,o,r=this,s=0,a=r.filter,l=n(e),h=l.length,c=e.which;if(!(c&&c>1||r._maxTouchesReached()))for(B.current=null,r.currentTarget=e.currentTarget,r.stopPropagation&&e.stopPropagation();s<h&&!r._maxTouchesReached();s++)o=l[s],i=a?t(o.currentTarget):r.element,i.length&&(o=new P(r,i,o),r.touches.push(o),o.press(),r._isMultiTouch()&&r.notify("gesturestart",{}))},_move:function(t){this._eachTouch("move",t)},_end:function(t){this._eachTouch("end",t)},_click:function(e){var i={touch:{initialTouch:e.target,target:t(e.currentTarget),endTime:h(),x:{location:e.pageX,client:e.clientX},y:{location:e.pageY,client:e.clientY}},x:e.pageX,y:e.pageY,target:t(e.currentTarget),event:e,type:"tap"};this.trigger("tap",i)&&e.preventDefault()},_eachTouch:function(t,e){var i,o,r,s,a=this,l={},h=n(e),c=a.touches;for(i=0;i<c.length;i++)o=c[i],l[o.id]=o;for(i=0;i<h.length;i++)r=h[i],s=l[r.id],s&&s[t](r)},_apiCall:function(e,i,n,o){this[e]({api:!0,pageX:i,pageY:n,clientX:i,clientY:n,target:t(o||this.element)[0],stopPropagation:t.noop,preventDefault:t.noop})}});B.defaultThreshold=function(t){p=t},B.minHold=function(t){f=t},r.getTouches=n,r.touchDelta=i,r.UserEvents=B}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.draganddrop.min",["kendo.core.min","kendo.userevents.min"],t)}(function(){return function(t,e){function i(e,i){try{return t.contains(e,i)||e==i}catch(n){return!1}}function n(t,e){return parseInt(t.css(e),10)||0}function o(t,e){return Math.min(Math.max(t,e.min),e.max)}function r(t,e){var i=M(t),o=_._outerWidth,r=_._outerHeight,s=i.left+n(t,"borderLeftWidth")+n(t,"paddingLeft"),a=i.top+n(t,"borderTopWidth")+n(t,"paddingTop"),l=s+t.width()-o(e,!0),h=a+t.height()-r(e,!0);return{x:{min:s,max:l},y:{min:a,max:h}}}function s(i,n,o){for(var r,s,a=0,l=n&&n.length,h=o&&o.length;i&&i.parentNode;){for(a=0;a<l;a++)if(r=n[a],r.element[0]===i)return{target:r,targetElement:i};for(a=0;a<h;a++)if(s=o[a],t.contains(s.element[0],i)&&w.matchesSelector.call(i,s.options.filter))return{target:s,targetElement:i};i=i.parentNode}return e}function a(t,e){var i,n=e.options.group,o=t[n];if(k.fn.destroy.call(e),o.length>1){for(i=0;i<o.length;i++)if(o[i]==e){o.splice(i,1);break}}else o.length=0,delete t[n]}function l(t){var e,i,n,o=h()[0];return t[0]===o?(i=o.scrollTop,n=o.scrollLeft,{top:i,left:n,bottom:i+x.height(),right:n+x.width()}):(e=t.offset(),e.bottom=e.top+t.height(),e.right=e.left+t.width(),e)}function h(){return t(_.support.browser.chrome?y.body:y.documentElement)}function c(e){var i,n=h();if(!e||e===y.body||e===y.documentElement)return n;for(i=t(e)[0];i&&!_.isScrollable(i)&&i!==y.body;)i=i.parentNode;return i===y.body?n:t(i)}function u(t,e,i){var n={x:0,y:0},o=50;return t-i.left<o?n.x=-(o-(t-i.left)):i.right-t<o&&(n.x=o-(i.right-t)),e-i.top<o?n.y=-(o-(e-i.top)):i.bottom-e<o&&(n.y=o-(i.bottom-e)),n}var d,f,p,g,m,v,_=window.kendo,w=_.support,y=window.document,x=t(window),b=_.Class,k=_.ui.Widget,C=_.Observable,S=_.UserEvents,T=t.proxy,A=t.extend,M=_.getOffset,D={},E={},P={},B=_.elementUnderCursor,I="keyup",z="change",L="dragstart",O="hold",R="drag",F="dragend",V="dragcancel",N="hintDestroyed",H="dragenter",U="dragleave",j="drop",W=C.extend({init:function(e,i){var n=this,o=e[0];n.capture=!1,o.addEventListener?(t.each(_.eventMap.down.split(" "),function(){o.addEventListener(this,T(n._press,n),!0)}),t.each(_.eventMap.up.split(" "),function(){o.addEventListener(this,T(n._release,n),!0)})):(t.each(_.eventMap.down.split(" "),function(){o.attachEvent(this,T(n._press,n))}),t.each(_.eventMap.up.split(" "),function(){o.attachEvent(this,T(n._release,n))})),C.fn.init.call(n),n.bind(["press","release"],i||{})},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=C.extend({init:function(e){var i=this;C.fn.init.call(i),i.forcedEnabled=!1,t.extend(i,e),i.scale=1,i.horizontal?(i.measure="offsetWidth",i.scrollSize="scrollWidth",i.axis="x"):(i.measure="offsetHeight",i.scrollSize="scrollHeight",i.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,i=e.virtual?e._virtualMax:e.getTotal(),n=i*e.scale,o=e.getSize();(0!==i||e.forcedEnabled)&&(e.max=e.virtual?-e._virtualMin:0,e.size=o,e.total=n,e.min=Math.min(e.max,o-n),e.minScale=o/i,e.centerOffset=(n-o)/2,e.enabled=e.forcedEnabled||n>o,t||e.trigger(z,e))}}),q=C.extend({init:function(t){var e=this;C.fn.init.call(e),e.x=new G(A({horizontal:!0},t)),e.y=new G(A({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)}}),$=C.extend({init:function(t){var e=this;A(e,t),C.fn.init.call(e)},outOfBounds:function(){return this.dimension.outOfBounds(this.movable[this.axis])},dragMove:function(t){var e=this,i=e.dimension,n=e.axis,o=e.movable,r=o[n]+t;i.enabled&&((r<i.min&&t<0||r>i.max&&t>0)&&(t*=e.resistance),o.translateAxis(n,t),e.trigger(z,e))}}),Y=b.extend({init:function(e){var i,n,o,r,s=this;A(s,{elastic:!0},e),o=s.elastic?.5:0,r=s.movable,s.x=i=new $({axis:"x",dimension:s.dimensions.x,resistance:o,movable:r}),s.y=n=new $({axis:"y",dimension:s.dimensions.y,resistance:o,movable:r}),s.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(t){s.gesture=t,s.offset=s.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,o,a,l=s.gesture,h=l.center,c=t.center,u=t.distance/l.distance,d=s.dimensions.minScale,f=s.dimensions.maxScale;r.scale<=d&&u<1&&(u+=.8*(1-u)),r.scale*u>=f&&(u=f/r.scale),o=r.x+s.offset.left,a=r.y+s.offset.top,e={x:(o-h.x)*u+c.x-o,y:(a-h.y)*u+c.y-a},r.scaleWith(u),i.dragMove(e.x),n.dragMove(e.y),s.dimensions.rescale(r.scale),s.gesture=t,t.preventDefault()},move:function(t){t.event.target.tagName.match(/textarea|input/i)||(i.dimension.enabled||n.dimension.enabled?(i.dragMove(t.x.delta),n.dragMove(t.y.delta),t.preventDefault()):t.touch.skip())},end:function(t){t.preventDefault()}})}}),X=w.transitions.prefix+"Transform";f=w.hasHW3D?function(t,e,i){return"translate3d("+t+"px,"+e+"px,0) scale("+i+")"}:function(t,e,i){return"translate("+t+"px,"+e+"px) scale("+i+")"},p=C.extend({init:function(e){var i=this;C.fn.init.call(i),i.element=t(e),i.element[0].style.webkitTransformOrigin="left top",i.x=0,i.y=0,i.scale=1,i._saveCoordinates(f(i.x,i.y,i.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){A(this,t),this.refresh()},refresh:function(){var t,e=this,i=e.x,n=e.y;e.round&&(i=Math.round(i),n=Math.round(n)),t=f(i,n,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[X]=t,e._saveCoordinates(t),e.trigger(z))},_saveCoordinates:function(t){this.coordinates=t}}),g=k.extend({init:function(t,e){var i,n=this;k.fn.init.call(n,t,e),i=n.options.group,i in E?E[i].push(n):E[i]=[n]},events:[H,U,j],options:{name:"DropTarget",group:"default"},destroy:function(){a(E,this)},_trigger:function(t,e){var i=this,n=D[i.options.group];if(n)return i.trigger(t,A({},e.event,{draggable:n,dropTarget:e.dropTarget}))},_over:function(t){this._trigger(H,t)},_out:function(t){this._trigger(U,t)},_drop:function(t){var e=this,i=D[e.options.group];i&&(i.dropped=!e._trigger(j,t))}}),g.destroyGroup=function(t){var e,i=E[t]||P[t];if(i){for(e=0;e<i.length;e++)k.fn.destroy.call(i[e]);i.length=0,delete E[t],delete P[t]}},g._cache=E,m=g.extend({init:function(t,e){var i,n=this;k.fn.init.call(n,t,e),i=n.options.group,i in P?P[i].push(n):P[i]=[n]},destroy:function(){a(P,this)},options:{name:"DropTargetArea",group:"default",filter:null}}),v=k.extend({init:function(t,e){var i=this;k.fn.init.call(i,t,e),i._activated=!1,i.userEvents=new S(i.element,{global:!0,allowSelection:!0,filter:i.options.filter,threshold:i.options.distance,start:T(i._start,i),hold:T(i._hold,i),move:T(i._drag,i),end:T(i._end,i),cancel:T(i._cancel,i),select:T(i._select,i)}),i._afterEndHandler=T(i._afterEnd,i),i._captureEscape=T(i._captureEscape,i)},events:[O,L,R,F,V,N],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(V,{event:t}),e.userEvents.cancel())},_updateHint:function(e){var i,n=this,r=n.options,s=n.boundaries,a=r.axis,l=n.options.cursorOffset;l?i={left:e.x.location+l.left,top:e.y.location+l.top}:(n.hintOffset.left+=e.x.delta,n.hintOffset.top+=e.y.delta,i=t.extend({},n.hintOffset)),s&&(i.top=o(i.top,s.y),i.left=o(i.left,s.x)),"x"===a?delete i.top:"y"===a&&delete i.left,n.hint.css(i)},_shouldIgnoreTarget:function(e){var i=this.options.ignore;return i&&t(e).is(i)},_select:function(t){this._shouldIgnoreTarget(t.event.target)||t.preventDefault()},_start:function(i){var n,o=this,s=o.options,a=s.container,l=s.hint;return this._shouldIgnoreTarget(i.touch.initialTouch)||s.holdToDrag&&!o._activated?(o.userEvents.cancel(),e):(o.currentTarget=i.target,o.currentTargetOffset=M(o.currentTarget),l&&(o.hint&&o.hint.stop(!0,!0).remove(),o.hint=_.isFunction(l)?t(l.call(o,o.currentTarget)):l,n=M(o.currentTarget),o.hintOffset=n,o.hint.css({position:"absolute",zIndex:2e4,left:n.left,top:n.top}).appendTo(y.body),o.angular("compile",function(){o.hint.removeAttr("ng-repeat");for(var e=t(i.target);!e.data("$$kendoScope")&&e.length;)e=e.parent();return{elements:o.hint.get(),scopeFrom:e.data("$$kendoScope")}})),D[s.group]=o,o.dropped=!1,a&&(o.boundaries=r(a,o.hint)),t(y).on(I,o._captureEscape),o._trigger(L,i)&&(o.userEvents.cancel(),o._afterEnd()),o.userEvents.capture(),e)},_hold:function(t){this.currentTarget=t.target,this._trigger(O,t)?this.userEvents.cancel():this._activated=!0},_drag:function(e){var i,n;e.preventDefault(),i=this._elementUnderCursor(e),this.options.autoScroll&&this._cursorElement!==i&&(this._scrollableParent=c(i),this._cursorElement=i),this._lastEvent=e,this._processMovement(e,i),this.options.autoScroll&&this._scrollableParent[0]&&(n=u(e.x.location,e.y.location,l(this._scrollableParent)),this._scrollCompenstation=t.extend({},this.hintOffset),this._scrollVelocity=n,0===n.y&&0===n.x?(clearInterval(this._scrollInterval),this._scrollInterval=null):this._scrollInterval||(this._scrollInterval=setInterval(t.proxy(this,"_autoScroll"),50))),this.hint&&this._updateHint(e)},_processMovement:function(i,n){this._withDropTarget(n,function(n,o){if(!n)return d&&(d._trigger(U,A(i,{dropTarget:t(d.targetElement)})),d=null),e;if(d){if(o===d.targetElement)return;d._trigger(U,A(i,{dropTarget:t(d.targetElement)}))}n._trigger(H,A(i,{dropTarget:t(o)})),d=A(n,{targetElement:o})}),this._trigger(R,A(i,{dropTarget:d,elementUnderCursor:n}))},_autoScroll:function(){var t,e,i,n,o,r,s,a,l=this._scrollableParent[0],c=this._scrollVelocity,u=this._scrollCompenstation;l&&(t=this._elementUnderCursor(this._lastEvent),this._processMovement(this._lastEvent,t),n=l===h()[0],n?(e=y.body.scrollHeight>x.height(),i=y.body.scrollWidth>x.width()):(e=l.offsetHeight<=l.scrollHeight,i=l.offsetWidth<=l.scrollWidth),o=l.scrollTop+c.y,r=e&&o>0&&o<l.scrollHeight,s=l.scrollLeft+c.x,a=i&&s>0&&s<l.scrollWidth,r&&(l.scrollTop+=c.y),a&&(l.scrollLeft+=c.x),this.hint&&n&&(a||r)&&(r&&(u.top+=c.y),a&&(u.left+=c.x),this.hint.css(u)))},_end:function(e){this._withDropTarget(this._elementUnderCursor(e),function(i,n){i&&(i._drop(A({},e,{dropTarget:t(n)})),d=null)}),this._cancel(this._trigger(F,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 i=this;return i.trigger(t,A({},e.event,{x:e.x,y:e.y,currentTarget:i.currentTarget,initialTarget:e.touch?e.touch.initialTouch:null,dropTarget:e.dropTarget,elementUnderCursor:e.elementUnderCursor}))},_elementUnderCursor:function(t){var e=B(t),n=this.hint;return n&&i(n[0],e)&&(n.hide(),e=B(t),e||(e=B(t)),n.show()),e},_withDropTarget:function(t,e){var i,n=this.options.group,o=E[n],r=P[n];(o&&o.length||r&&r.length)&&(i=s(t,o,r),i?e(i.target,i.targetElement):e())},destroy:function(){var t=this;k.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 D[e.options.group],e.trigger("destroy"),e.trigger(N),t(y).off(I,e._captureEscape)}}),_.ui.plugin(g),_.ui.plugin(m),_.ui.plugin(v),_.TapCapture=W,_.containerBoundaries=r,A(_.ui,{Pane:Y,PaneDimensions:q,Movable:p}),_.ui.Draggable.utils={autoScrollVelocity:u,scrollableViewPort:l,findScrollableParent:c}}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.mobile.scroller.min",["kendo.fx.min","kendo.draganddrop.min"],t)}(function(){return function(t,e){var i=window.kendo,n=i.mobile,o=i.effects,r=n.ui,s=t.proxy,a=t.extend,l=r.Widget,h=i.Class,c=i.ui.Movable,u=i.ui.Pane,d=i.ui.PaneDimensions,f=o.Transition,p=o.Animation,g=Math.abs,m=500,v=.7,_=.96,w=10,y=55,x=.5,b=5,k="km-scroller-release",C="km-scroller-refresh",S="pull",T="change",A="resize",M="scroll",D=2,E=p.extend({init:function(t){var e=this;p.fn.init.call(e),a(e,t),e.userEvents.bind("gestureend",s(e.start,e)),e.tapCapture.bind("press",s(e.cancel,e))},enabled:function(){return this.movable.scale<this.dimensions.minScale},done:function(){return this.dimensions.minScale-this.movable.scale<.01},tick:function(){var t=this.movable;t.scaleWith(1.1),this.dimensions.rescale(t.scale)},onEnd:function(){var t=this.movable;t.scaleTo(this.dimensions.minScale),this.dimensions.rescale(t.scale)}}),P=p.extend({init:function(t){var e=this;p.fn.init.call(e),a(e,t,{transition:new f({axis:t.axis,movable:t.movable,onEnd:function(){e._end()}})}),e.tapCapture.bind("press",function(){e.cancel()}),e.userEvents.bind("end",s(e.start,e)),e.userEvents.bind("gestureend",s(e.start,e)),e.userEvents.bind("tap",s(e.onEnd,e))},onCancel:function(){this.transition.cancel()},freeze:function(t){var e=this;e.cancel(),e._moveTo(t)},onEnd:function(){var t=this;t.paneAxis.outOfBounds()?t._snapBack():t._end()},done:function(){return g(this.velocity)<1},start:function(t){var e,i=this;i.dimension.enabled&&(i.paneAxis.outOfBounds()?i._snapBack():(e=t.touch.id===D?0:t.touch[i.axis].velocity,i.velocity=Math.max(Math.min(e*i.velocityMultiplier,y),-y),i.tapCapture.captureNext(),p.fn.start.call(i)))},tick:function(){var t=this,e=t.dimension,i=t.paneAxis.outOfBounds()?x:t.friction,n=t.velocity*=i,o=t.movable[t.axis]+n;!t.elastic&&e.outOfBounds(o)&&(o=Math.max(Math.min(o,e.max),e.min),t.velocity=0),t.movable.moveAxis(t.axis,o)},_end:function(){this.tapCapture.cancelCapture(),this.end()},_snapBack:function(){var t=this,e=t.dimension,i=t.movable[t.axis]>e.max?e.max:e.min;t._moveTo(i)},_moveTo:function(t){this.transition.moveTo({location:t,duration:m,ease:f.easeOutExpo})}}),B=p.extend({init:function(t){var e=this;i.effects.Animation.fn.init.call(this),a(e,t,{origin:{},destination:{},offset:{}})},tick:function(){this._updateCoordinates(),this.moveTo(this.origin)},done:function(){return g(this.offset.y)<b&&g(this.offset.x)<b},onEnd:function(){this.moveTo(this.destination),this.callback&&this.callback.call()},setCoordinates:function(t,e){this.offset={},this.origin=t,this.destination=e},setCallback:function(t){t&&i.isFunction(t)?this.callback=t:t=e},_updateCoordinates:function(){this.offset={x:(this.destination.x-this.origin.x)/4,y:(this.destination.y-this.origin.y)/4},this.origin={y:this.origin.y+this.offset.y,x:this.origin.x+this.offset.x}}}),I=h.extend({init:function(e){var i=this,n="x"===e.axis,o=t('<div class="km-touch-scrollbar km-'+(n?"horizontal":"vertical")+'-scrollbar" />');a(i,e,{element:o,elementSize:0,movable:new c(o),scrollMovable:e.movable,alwaysVisible:e.alwaysVisible,size:n?"width":"height"}),i.scrollMovable.bind(T,s(i.refresh,i)),i.container.append(o),e.alwaysVisible&&i.show()},refresh:function(){var t=this,e=t.axis,i=t.dimension,n=i.size,o=t.scrollMovable,r=n/i.total,s=Math.round(-o[e]*r),a=Math.round(n*r);r>=1?this.element.css("display","none"):this.element.css("display",""),s+a>n?a=n-s:s<0&&(a+=s,s=0),t.elementSize!=a&&(t.element.css(t.size,a+"px"),t.elementSize=a),t.movable.moveAxis(e,s)},show:function(){this.element.css({opacity:v,visibility:"visible"})},hide:function(){this.alwaysVisible||this.element.css({opacity:0})}}),z=l.extend({init:function(n,o){var r,h,f,p,m,v,_,w,y,x=this;return l.fn.init.call(x,n,o),n=x.element,(x._native=x.options.useNative&&i.support.hasNativeScrolling)?(n.addClass("km-native-scroller").prepend('<div class="km-scroll-header"/>'),a(x,{scrollElement:n,fixedContainer:n.children().first()}),e):(n.css("overflow","hidden").addClass("km-scroll-wrapper").wrapInner('<div class="km-scroll-container"/>').prepend('<div class="km-scroll-header"/>'),r=n.children().eq(1),h=new i.TapCapture(n),f=new c(r),p=new d({element:r,container:n,forcedEnabled:x.options.zoom}),m=this.options.avoidScrolling,v=new i.UserEvents(n,{touchAction:"pan-y",fastTap:!0,allowSelection:!0,preventDragEvent:!0,captureUpIfMoved:!0,multiTouch:x.options.zoom,start:function(e){p.refresh();var i=g(e.x.velocity),n=g(e.y.velocity),o=2*i>=n,r=t.contains(x.fixedContainer[0],e.event.target),s=2*n>=i;!r&&!m(e)&&x.enabled&&(p.x.enabled&&o||p.y.enabled&&s)?v.capture():v.cancel()}}),_=new u({movable:f,dimensions:p,userEvents:v,elastic:x.options.elastic}),w=new E({movable:f,dimensions:p,userEvents:v,tapCapture:h}),y=new B({moveTo:function(t){x.scrollTo(t.x,t.y)}}),f.bind(T,function(){x.scrollTop=-f.y,x.scrollLeft=-f.x,x.trigger(M,{scrollTop:x.scrollTop,scrollLeft:x.scrollLeft})}),x.options.mousewheelScrolling&&n.on("DOMMouseScroll mousewheel",s(this,"_wheelScroll")),a(x,{movable:f,dimensions:p,zoomSnapBack:w,animatedScroller:y,userEvents:v,pane:_,tapCapture:h,pulled:!1,enabled:!0,scrollElement:r,scrollTop:0,scrollLeft:0,fixedContainer:n.children().first()}),x._initAxis("x"),x._initAxis("y"),x._wheelEnd=function(){x._wheel=!1,x.userEvents.end(0,x._wheelY)},p.refresh(),x.options.pullToRefresh&&x._initPullToRefresh(),e)},_wheelScroll:function(t){this._wheel||(this._wheel=!0,this._wheelY=0,this.userEvents.press(0,this._wheelY)),clearTimeout(this._wheelTimeout),this._wheelTimeout=setTimeout(this._wheelEnd,50);var e=i.wheelDeltaY(t);e&&(this._wheelY+=e,this.userEvents.move(0,this._wheelY)),t.preventDefault()},makeVirtual:function(){this.dimensions.y.makeVirtual()},virtualSize:function(t,e){this.dimensions.y.virtualSize(t,e)},height:function(){return this.dimensions.y.size},scrollHeight:function(){return this.scrollElement[0].scrollHeight},scrollWidth:function(){return this.scrollElement[0].scrollWidth},options:{name:"Scroller",zoom:!1,pullOffset:140,visibleScrollHints:!1,elastic:!0,useNative:!1,mousewheelScrolling:!0,avoidScrolling:function(){return!1},pullToRefresh:!1,messages:{pullTemplate:"Pull to refresh",releaseTemplate:"Release to refresh",refreshTemplate:"Refreshing"}},events:[S,M,A],_resize:function(){this._native||this.contentResized()},setOptions:function(t){var e=this;l.fn.setOptions.call(e,t),t.pullToRefresh&&e._initPullToRefresh()},reset:function(){this._native?this.scrollElement.scrollTop(0):(this.movable.moveTo({x:0,y:0}),this._scale(1))},contentResized:function(){this.dimensions.refresh(),this.pane.x.outOfBounds()&&this.movable.moveAxis("x",this.dimensions.x.min),this.pane.y.outOfBounds()&&this.movable.moveAxis("y",this.dimensions.y.min)},zoomOut:function(){var t=this.dimensions;t.refresh(),this._scale(t.fitScale),this.movable.moveTo(t.centerCoordinates())},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},scrollTo:function(t,e){this._native?(this.scrollElement.scrollLeft(g(t)),this.scrollElement.scrollTop(g(e))):(this.dimensions.refresh(),this.movable.moveTo({x:t,y:e}))},animatedScrollTo:function(t,e,i){var n,o;this._native?this.scrollTo(t,e):(n={x:this.movable.x,y:this.movable.y},o={x:t,y:e},this.animatedScroller.setCoordinates(n,o),this.animatedScroller.setCallback(i),this.animatedScroller.start())},pullHandled:function(){var t=this;t.refreshHint.removeClass(C),t.hintContainer.html(t.pullTemplate({})),t.yinertia.onEnd(),t.xinertia.onEnd(),t.userEvents.cancel()},destroy:function(){l.fn.destroy.call(this),this.userEvents&&this.userEvents.destroy()},_scale:function(t){this.dimensions.rescale(t),this.movable.scaleTo(t)},_initPullToRefresh:function(){var t=this;t.dimensions.y.forceEnabled(),t.pullTemplate=i.template(t.options.messages.pullTemplate),t.releaseTemplate=i.template(t.options.messages.releaseTemplate),t.refreshTemplate=i.template(t.options.messages.refreshTemplate),t.scrollElement.prepend('<span class="km-scroller-pull"><span class="km-icon"></span><span class="km-loading-left"></span><span class="km-loading-right"></span><span class="km-template">'+t.pullTemplate({})+"</span></span>"),t.refreshHint=t.scrollElement.children().first(),t.hintContainer=t.refreshHint.children(".km-template"),t.pane.y.bind("change",s(t._paneChange,t)),t.userEvents.bind("end",s(t._dragEnd,t))},_dragEnd:function(){var t=this;t.pulled&&(t.pulled=!1,t.refreshHint.removeClass(k).addClass(C),t.hintContainer.html(t.refreshTemplate({})),t.yinertia.freeze(t.options.pullOffset/2),t.trigger("pull"))},_paneChange:function(){var t=this;t.movable.y/x>t.options.pullOffset?t.pulled||(t.pulled=!0,t.refreshHint.removeClass(C).addClass(k),t.hintContainer.html(t.releaseTemplate({}))):t.pulled&&(t.pulled=!1,t.refreshHint.removeClass(k),t.hintContainer.html(t.pullTemplate({})))},_initAxis:function(t){var e=this,i=e.movable,n=e.dimensions[t],o=e.tapCapture,r=e.pane[t],s=new I({axis:t,movable:i,dimension:n,container:e.element,alwaysVisible:e.options.visibleScrollHints});n.bind(T,function(){s.refresh()}),r.bind(T,function(){s.show()}),e[t+"inertia"]=new P({axis:t,paneAxis:r,movable:i,tapCapture:o,userEvents:e.userEvents,dimension:n,elastic:e.options.elastic,friction:e.options.friction||_,velocityMultiplier:e.options.velocityMultiplier||w,end:function(){s.hide(),e.trigger("scrollEnd",{axis:t,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft})}})}});r.plugin(z)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.popup.min",["kendo.core.min"],t)}(function(){return function(t,e){function i(e,i){return!(!e||!i)&&(e===i||t.contains(e,i))}var n,o,r,s=window.kendo,a=s.ui,l=a.Widget,h=s.Class,c=s.support,u=s.getOffset,d=s._outerWidth,f=s._outerHeight,p="open",g="close",m="deactivate",v="activate",_="center",w="left",y="right",x="top",b="bottom",k="absolute",C="hidden",S="body",T="location",A="position",M="visible",D="effects",E="k-state-active",P="k-state-border",B=/k-state-border-(\w+)/,I=".k-picker-wrap, .k-dropdown-wrap, .k-link",z="down",L=t(document.documentElement),O=t.proxy,R=t(window),F="scroll",V=c.transitions.css,N=V+"transform",H=t.extend,U=".kendoPopup",j=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],W=l.extend({init:function(e,i){
var n,o=this;i=i||{},i.isRtl&&(i.origin=i.origin||b+" "+y,i.position=i.position||x+" "+y),l.fn.init.call(o,e,i),e=o.element,i=o.options,o.collisions=i.collision?i.collision.split(" "):[],o.downEvent=s.applyEventMap(z,s.guid()),1===o.collisions.length&&o.collisions.push(o.collisions[0]),n=t(o.options.anchor).closest(".k-popup,.k-group").filter(":not([class^=km-])"),i.appendTo=t(t(i.appendTo)[0]||n[0]||document.body),o.element.hide().addClass("k-popup k-group k-reset").toggleClass("k-rtl",!!i.isRtl).css({position:k}).appendTo(i.appendTo).on("mouseenter"+U,function(){o._hovered=!0}).on("mouseleave"+U,function(){o._hovered=!1}),o.wrapper=t(),i.animation===!1&&(i.animation={open:{effects:{}},close:{hide:!0,effects:{}}}),H(i.animation.open,{complete:function(){o.wrapper.css({overflow:M}),o._activated=!0,o._trigger(v)}}),H(i.animation.close,{complete:function(){o._animationClose()}}),o._mousedownProxy=function(t){o._mousedown(t)},o._resizeProxy=c.mobileOS.android?function(t){setTimeout(function(){o._resize(t)},600)}:function(t){o._resize(t)},i.toggleTarget&&t(i.toggleTarget).on(i.toggleEvent+U,t.proxy(o.toggle,o))},events:[p,v,g,m],options:{name:"Popup",toggleEvent:"click",origin:b+" "+w,position:x+" "+w,anchor:S,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 t=this,e=t.wrapper.data(T);t.wrapper.hide(),e&&t.wrapper.css(e),t.options.anchor!=S&&t._hideDirClass(),t._closing=!1,t._trigger(m)},destroy:function(){var e,i=this,n=i.options,o=i.element.off(U);l.fn.destroy.call(i),n.toggleTarget&&t(n.toggleTarget).off(U),n.modal||(L.unbind(i.downEvent,i._mousedownProxy),i._toggleResize(!1)),s.destroy(i.element.children()),o.removeData(),n.appendTo[0]===document.body&&(e=o.parent(".k-animation-container"),e[0]?e.remove():o.remove())},open:function(e,i){var n,o,r=this,a={isFixed:!isNaN(parseInt(i,10)),x:e,y:i},l=r.element,h=r.options,u=t(h.anchor),d=l[0]&&l.hasClass("km-widget");if(!r.visible()){if(h.copyAnchorStyles&&(d&&"font-size"==j[0]&&j.shift(),l.css(s.getComputedStyles(u[0],j))),l.data("animating")||r._trigger(p))return;r._activated=!1,h.modal||(L.unbind(r.downEvent,r._mousedownProxy).bind(r.downEvent,r._mousedownProxy),r._toggleResize(!1),r._toggleResize(!0)),r.wrapper=o=s.wrap(l,h.autosize).css({overflow:C,display:"block",position:k}),c.mobileOS.android&&o.css(N,"translatez(0)"),o.css(A),t(h.appendTo)[0]==document.body&&o.css(x,"-10000px"),r.flipped=r._position(a),n=r._openAnimation(),h.anchor!=S&&r._showDirClass(n),l.data(D,n.effects).kendoStop(!0).kendoAnimate(n)}},_location:function(e){var i,n,o=this,r=o.element,a=o.options,l=t(a.anchor),h=r[0]&&r.hasClass("km-widget");return a.copyAnchorStyles&&(h&&"font-size"==j[0]&&j.shift(),r.css(s.getComputedStyles(l[0],j))),o.wrapper=i=s.wrap(r,a.autosize).css({overflow:C,display:"block",position:k}),c.mobileOS.android&&i.css(N,"translatez(0)"),i.css(A),t(a.appendTo)[0]==document.body&&i.css(x,"-10000px"),o._position(e||{}),n=i.offset(),{width:s._outerWidth(i),height:s._outerHeight(i),left:n.left,top:n.top}},_openAnimation:function(){var t=H(!0,{},this.options.animation.open);return t.effects=s.parseEffects(t.effects,this.flipped),t},_hideDirClass:function(){var e=t(this.options.anchor),i=((e.attr("class")||"").match(B)||["","down"])[1],n=P+"-"+i;e.removeClass(n).children(I).removeClass(E).removeClass(n),this.element.removeClass(P+"-"+s.directions[i].reverse)},_showDirClass:function(e){var i=e.effects.slideIn?e.effects.slideIn.direction:"down",n=P+"-"+i;t(this.options.anchor).addClass(n).children(I).addClass(E).addClass(n),this.element.addClass(P+"-"+s.directions[i].reverse)},position:function(){this.visible()&&(this.flipped=this._position())},toggle:function(){var t=this;t[t.visible()?g:p]()},visible:function(){return this.element.is(":"+M)},close:function(i){var n,o,r,a,l=this,h=l.options;if(l.visible()){if(n=l.wrapper[0]?l.wrapper:s.wrap(l.element).hide(),l._toggleResize(!1),l._closing||l._trigger(g))return l._toggleResize(!0),e;l.element.find(".k-popup").each(function(){var e=t(this),n=e.data("kendoPopup");n&&n.close(i)}),L.unbind(l.downEvent,l._mousedownProxy),i?o={hide:!0,effects:{}}:(o=H(!0,{},h.animation.close),r=l.element.data(D),a=o.effects,!a&&!s.size(a)&&r&&s.size(r)&&(o.effects=r,o.reverse=!0),l._closing=!0),l.element.kendoStop(!0),n.css({overflow:C}),l.element.kendoAnimate(o),i&&l._animationClose()}},_trigger:function(t){return this.trigger(t,{type:t})},_resize:function(t){var e=this;c.resize.indexOf(t.type)!==-1?(clearTimeout(e._resizeTimeout),e._resizeTimeout=setTimeout(function(){e._position(),e._resizeTimeout=null},50)):(!e._hovered||e._activated&&e.element.hasClass("k-list-container"))&&e.close()},_toggleResize:function(t){var e=t?"on":"off",i=c.resize;c.mobileOS.ios||c.mobileOS.android||(i+=" "+F),this._scrollableParents()[e](F,this._resizeProxy),R[e](i,this._resizeProxy)},_mousedown:function(e){var n=this,o=n.element[0],r=n.options,a=t(r.anchor)[0],l=r.toggleTarget,h=s.eventTarget(e),c=t(h).closest(".k-popup"),u=c.parent().parent(".km-shim").length;c=c[0],!u&&c&&c!==n.element[0]||"popover"!==t(e.target).closest("a").data("rel")&&(i(o,h)||i(a,h)||l&&i(t(l)[0],h)||n.close())},_fit:function(t,e,i){var n=0;return t+e>i&&(n=i-(t+e)),t<0&&(n=-t),n},_flip:function(t,e,i,n,o,r,s){var a=0;return s=s||e,r!==o&&r!==_&&o!==_&&(t+s>n&&(a+=-(i+e)),t+a<0&&(a+=i+e)),a},_scrollableParents:function(){return t(this.options.anchor).parentsUntil("body").filter(function(t,e){return s.isScrollable(e)})},_position:function(e){var i,n,o,r,a,l,h,p,g,m,v,_,w,y,x,b,C,S=this,M=S.element,D=S.wrapper,E=S.options,P=t(E.viewport),B=c.zoomLevel(),I=!!(P[0]==window&&window.innerWidth&&B<=1.02),z=t(E.anchor),L=E.origin.toLowerCase().split(" "),O=E.position.toLowerCase().split(" "),R=S.collisions,F=10002,V=0,N=document.documentElement;if(a=E.viewport===window?{top:window.pageYOffset||document.documentElement.scrollTop||0,left:window.pageXOffset||document.documentElement.scrollLeft||0}:P.offset(),I?(l=window.innerWidth,h=window.innerHeight):(l=P.width(),h=P.height()),I&&N.scrollHeight-N.clientHeight>0&&(p=E.isRtl?-1:1,l-=p*s.support.scrollbar()),i=z.parents().filter(D.siblings()),i[0])if(o=Math.max(+i.css("zIndex"),0))F=o+10;else for(n=z.parentsUntil(i),r=n.length;V<r;V++)o=+t(n[V]).css("zIndex"),o&&F<o&&(F=o+10);return D.css("zIndex",F),D.css(e&&e.isFixed?{left:e.x,top:e.y}:S._align(L,O)),g=u(D,A,z[0]===D.offsetParent()[0]),m=u(D),v=z.offsetParent().parent(".k-animation-container,.k-popup,.k-group"),v.length&&(g=u(D,A,!0),m=u(D)),m.top-=a.top,m.left-=a.left,S.wrapper.data(T)||D.data(T,H({},g)),_=H({},m),w=H({},g),y=E.adjustSize,"fit"===R[0]&&(w.top+=S._fit(_.top,f(D)+y.height,h/B)),"fit"===R[1]&&(w.left+=S._fit(_.left,d(D)+y.width,l/B)),x=H({},w),b=f(M),C=f(D),!D.height()&&b&&(C+=b),"flip"===R[0]&&(w.top+=S._flip(_.top,b,f(z),h/B,L[0],O[0],C)),"flip"===R[1]&&(w.left+=S._flip(_.left,d(M),d(z),l/B,L[1],O[1],d(D))),M.css(A,k),D.css(w),w.left!=x.left||w.top!=x.top},_align:function(e,i){var n,o=this,r=o.wrapper,s=t(o.options.anchor),a=e[0],l=e[1],h=i[0],c=i[1],p=u(s),g=t(o.options.appendTo),m=d(r),v=f(r),w=d(s),x=f(s),k=p.top,C=p.left,S=Math.round;return g[0]!=document.body&&(n=u(g),k-=n.top,C-=n.left),a===b&&(k+=x),a===_&&(k+=S(x/2)),h===b&&(k-=v),h===_&&(k-=S(v/2)),l===y&&(C+=w),l===_&&(C+=S(w/2)),c===y&&(C-=m),c===_&&(C-=S(m/2)),{top:k,left:C}}});a.plugin(W),n="kendoTabKeyTrap",o="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], *[contenteditable]",r=h.extend({init:function(e){this.element=t(e),this.element.autoApplyNS(n)},trap:function(){this.element.on("keydown",O(this._keepInTrap,this))},removeTrap:function(){this.element.kendoDestroy(n)},destroy:function(){this.element.kendoDestroy(n),this.element=e},shouldTrap:function(){return!0},_keepInTrap:function(t){var e,i,n,r,s,a;9===t.which&&this.shouldTrap()&&(e=t.target,i=this.element.find(o).filter(":visible[tabindex!=-1]"),n=i.sort(function(t,e){return t.tabIndex-e.tabIndex}),r=n.length,s=r-1,a=n.index(e),t.shiftKey?0===a?n.get(s).focus():n.get(a-1).focus():a===s?n.get(0).focus():n.get(a+1).focus(),t.preventDefault())}}),a.Popup.TabKeyTrap=r}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.tooltip.min",["kendo.core.min","kendo.popup.min"],t)}(function(){return function(t,e){function i(t){for(;t.length;)n(t),t=t.parent()}function n(t){var e=t.data(s.ns+"title");e&&(t.attr("title",e),t.removeData(s.ns+"title"))}function o(t){var e=t.attr("title");e&&(t.data(s.ns+"title",e),t.attr("title",""))}function r(t){for(;t.length&&!t.is("body");)o(t),t=t.parent()}var s=window.kendo,a=s.ui.Widget,l=s.ui.Popup,h=s.isFunction,c=t.isPlainObject,u=t.extend,d=t.proxy,f=t(document),p=s.isLocalUrl,g="_tt_active",m="aria-describedby",v="show",_="hide",w="error",y="contentLoad",x="requestStart",b="k-content-frame",k='<div role="tooltip" class="k-widget k-tooltip#if (!autoHide) {# k-tooltip-closable#}#">#if (!autoHide) {# <div class="k-tooltip-button"><a href="\\#" class="k-icon k-i-close" title="Close"></a></div> #}#<div class="k-tooltip-content"></div>#if (callout){ #<div class="k-callout k-callout-#=dir#"></div>#}#</div>',C=s.template("<iframe frameborder='0' class='"+b+"' src='#= content.url #'>This page requires frames in order to show content</iframe>"),S=".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"}},A={top:"bottom",bottom:"top",left:"right",right:"left",center:"center"},M={bottom:"n",top:"s",left:"e",right:"w",center:"n"},D={horizontal:{offset:"top",size:"outerHeight"},vertical:{offset:"left",size:"outerWidth"}},E=function(t){return t.target.data(s.ns+"title")},P=a.extend({init:function(t,e){var i,n=this;a.fn.init.call(n,t,e),i=n.options.position.match(/left|right/)?"horizontal":"vertical",n.dimensions=D[i],n._documentKeyDownHandler=d(n._documentKeyDown,n),n.element.on(n.options.showOn+S,n.options.filter,d(n._showOn,n)).on("mouseenter"+S,n.options.filter,d(n._mouseenter,n)),this.options.autoHide&&n.element.on("mouseleave"+S,n.options.filter,d(n._mouseleave,n))},options:{name:"Tooltip",filter:"",content:E,showAfter:100,callout:!0,position:"bottom",showOn:"mouseenter",autoHide:!0,width:null,height:null,animation:{open:{effects:"fade:in",duration:0},close:{effects:"fade:out",duration:40,hide:!0}}},events:[v,_,y,w,x],_mouseenter:function(e){r(t(e.currentTarget))},_showOn:function(e){var i=this,n=t(e.currentTarget);i.options.showOn&&i.options.showOn.match(/click|focus/)?i._show(n):(clearTimeout(i.timeout),i.timeout=setTimeout(function(){i._show(n)},i.options.showAfter))},_appendContent:function(t){var e,i=this,n=i.options.content,o=i.content,r=i.options.iframe;c(n)&&n.url?("iframe"in i.options||(r=!p(n.url)),i.trigger(x,{options:n,target:t}),r?(o.hide(),e=o.find("."+b)[0],e?e.src=n.url||e.src:o.html(C({content:n})),o.find("."+b).off("load"+S).on("load"+S,function(){i.trigger(y),o.show()})):(o.empty(),s.ui.progress(o,!0),i._ajaxRequest(n))):n&&h(n)?(n=n({sender:this,target:t}),o.html(n||"")):o.html(n),i.angular("compile",function(){return{elements:o}})},_ajaxRequest:function(t){var e=this;jQuery.ajax(u({type:"GET",dataType:"html",cache:!1,error:function(t,i){s.ui.progress(e.content,!1),e.trigger(w,{status:i,xhr:t})},success:d(function(t){s.ui.progress(e.content,!1),e.content.html(t),e.trigger(y)},e)},t))},_documentKeyDown:function(t){t.keyCode===s.keys.ESC&&this.hide()},refresh:function(){var t=this,e=t.popup;e&&e.options.anchor&&t._appendContent(e.options.anchor)},hide:function(){this.popup&&this.popup.close()},show:function(t){t=t||this.element,r(t),this._show(t)},_show:function(t){var e=this,n=e.target();e.popup||e._initPopup(),n&&n[0]!=t[0]&&(e.popup.close(),e.popup.element.kendoStop(!0,!0)),n&&n[0]==t[0]||(e._appendContent(t),e.popup.options.anchor=t),e.popup.one("deactivate",function(){i(t),t.removeAttr(m),this.element.removeAttr("id").attr("aria-hidden",!0),f.off("keydown"+S,e._documentKeyDownHandler)}),e.popup.open()},_initPopup:function(){var e=this,i=e.options,n=t(s.template(k)({callout:i.callout&&"center"!==i.position,dir:M[i.position],autoHide:i.autoHide}));e.popup=new l(n,u({activate:function(){var t=this.options.anchor,n=t[0].id||e.element[0].id;n&&(t.attr(m,n+g),this.element.attr("id",n+g)),i.callout&&e._positionCallout(),this.element.removeAttr("aria-hidden"),f.on("keydown"+S,e._documentKeyDownHandler),e.trigger(v)},close:function(){e.trigger(_)},copyAnchorStyles:!1,animation:i.animation},T[i.position])),n.css({width:i.width,height:i.height}),e.content=n.find(".k-tooltip-content"),e.arrow=n.find(".k-callout"),i.autoHide?n.on("mouseleave"+S,d(e._mouseleave,e)):n.on("click"+S,".k-tooltip-button",d(e._closeButtonClick,e))},_closeButtonClick:function(t){t.preventDefault(),this.hide()},_mouseleave:function(e){if(this.popup){var n=t(e.currentTarget),o=n.offset(),r=e.pageX,a=e.pageY;if(o.right=o.left+s._outerWidth(n),o.bottom=o.top+s._outerHeight(n),r>o.left&&r<o.right&&a>o.top&&a<o.bottom)return;this.popup.close()}else i(t(e.currentTarget));clearTimeout(this.timeout)},_positionCallout:function(){var e=this,i=e.options.position,n=e.dimensions,o=n.offset,r=e.popup,s=r.options.anchor,a=t(s).offset(),l=parseInt(e.arrow.css("border-top-width"),10),h=t(r.element).offset(),c=M[r.flipped?A[i]:i],u=a[o]-h[o]+t(s)[n.size]()/2-l;e.arrow.removeClass("k-callout-n k-callout-s k-callout-w k-callout-e").addClass("k-callout-"+c).css(o,u)},target:function(){return this.popup?this.popup.options.anchor:null},destroy:function(){var t=this.popup;t&&(t.element.off(S),t.destroy()),clearTimeout(this.timeout),this.element.off(S),f.off("keydown"+S,this._documentKeyDownHandler),a.fn.destroy.call(this)}});s.ui.plugin(P)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("drawing/util.min",["kendo.core.min"],t)}(function(){return function(t){function e(){return t.Deferred()}function i(e){return t.when.apply(t,e)}kendo.drawing.util=kendo.drawing.util||{},kendo.deepExtend(kendo.drawing.util,{createPromise:e,promiseAll:i})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.color.min",["kendo.core.min"],t)}(function(){function t(t,e,i){void 0===i&&(i="0");for(var n=t.toString(16);e>n.length;)n=i+n;return n}function e(t,e,i){var n=i;return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function i(t,e){var n,o,s;if(null==t||"none"===t)return null;if(t instanceof h)return t;if(s=t.toLowerCase(),n=a.exec(s))return s="transparent"===n[1]?new c(1,1,1,0):i(r[n[1]],e),s.match=[n[1]],s;if((n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(s))?o=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))?o=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))?o=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))?o=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))?o=new c(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))&&(o=new c(parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3])/100,parseFloat(n[4]))),o)o.match=n;else if(!e)throw Error("Cannot parse color: "+s);return o}var n,o,r,s,a,l,h,c,u,d,f,p;window.kendo=window.kendo||{},n=kendo.Class,o=kendo.support,r={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:"90ee90",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=o.browser,a=["transparent"];for(l in r)r.hasOwnProperty(l)&&a.push(l);a=RegExp("^("+a.join("|")+")(\\W|$)","i"),h=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 t=this.toBytes();return"rgba("+t.r+", "+t.g+", "+t.b+", "+parseFloat((+this.a).toFixed(3))+")"},toDisplay:function(){return s.msie&&s.version<9?this.toCss():this.toCssRgba()},equals:function(t){return t===this||null!==t&&this.toCssRgba()===i(t).toCssRgba()},diff:function(t){var e,i;return null===t?NaN:(e=this.toBytes(),i=t.toBytes(),Math.sqrt(Math.pow(.3*(e.r-i.r),2)+Math.pow(.59*(e.g-i.g),2)+Math.pow(.11*(e.b-i.b),2)))},clone:function(){var t=this.toBytes();return t===this&&(t=new u(t.r,t.g,t.b,t.a)),t}}),c=h.extend({init:function(t,e,i,n){h.fn.init.call(this),this.r=t,this.g=e,this.b=i,this.a=n},toHSV:function(){var t,e,i=this,n=i.r,o=i.g,r=i.b,s=Math.min(n,o,r),a=Math.max(n,o,r),l=a-s,h=a;return 0===l?new d(0,0,h,this.a):(0!==a?(e=l/a,t=n===a?(o-r)/l:o===a?2+(r-n)/l:4+(n-o)/l,t*=60,t<0&&(t+=360)):(e=0,t=-1),new d(t,e,h,this.a))},toHSL:function(){var t,e,i,n=this,o=n.r,r=n.g,s=n.b,a=Math.max(o,r,s),l=Math.min(o,r,s),h=(a+l)/2;if(a===l)t=e=0;else{switch(i=a-l,e=h>.5?i/(2-a-l):i/(a+l),a){case o:t=(r-s)/i+(r<s?6:0);break;case r:t=(s-o)/i+2;break;case s:t=(o-r)/i+4}t*=60,e*=100,h*=100}return new f(t,e,h,this.a)},toBytes:function(){return new u(255*this.r,255*this.g,255*this.b,this.a)}}),u=c.extend({init:function(t,e,i,n){c.fn.init.call(this,Math.round(t),Math.round(e),Math.round(i),n)},toRGB:function(){return new c(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 t(this.r,2)+t(this.g,2)+t(this.b,2)},toBytes:function(){return this}}),d=h.extend({init:function(t,e,i,n){h.fn.init.call(this),this.h=t,this.s=e,this.v=i,this.a=n},toRGB:function(){var t,e,i,n,o,r,s,a,l=this,h=l.h,u=l.s,d=l.v;if(0===u)t=e=i=d;else switch(h/=60,n=Math.floor(h),o=h-n,r=d*(1-u),s=d*(1-u*o),a=d*(1-u*(1-o)),n){case 0:t=d,e=a,i=r;break;case 1:t=s,e=d,i=r;break;case 2:t=r,e=d,i=a;break;case 3:t=r,e=s,i=d;break;case 4:t=a,e=r,i=d;break;default:t=d,e=r,i=s}return new c(t,e,i,this.a)},toHSL:function(){return this.toRGB().toHSL()},toBytes:function(){return this.toRGB().toBytes()}}),f=h.extend({init:function(t,e,i,n){h.fn.init.call(this),this.h=t,this.s=e,this.l=i,this.a=n},toRGB:function(){var t,i,n,o,r,s=this,a=s.h,l=s.s,h=s.l;return 0===l?t=i=n=h:(a/=360,l/=100,h/=100,o=h<.5?h*(1+l):h+l-h*l,r=2*h-o,t=e(r,o,a+1/3),i=e(r,o,a),n=e(r,o,a-1/3)),new c(t,i,n,this.a)},toHSV:function(){return this.toRGB().toHSV()},toBytes:function(){return this.toRGB().toBytes()}}),p=n.extend({init:function(t){var e,i,n,o,r,s,a,l=this;if(1===arguments.length)for(e=p.formats,i=this.resolveColor(t),n=0;n<e.length;n++)o=e[n].re,r=e[n].process,s=o.exec(i),s&&(a=r(s),l.r=a[0],l.g=a[1],l.b=a[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 t=this.padDigit,e=this.r.toString(16),i=this.g.toString(16),n=this.b.toString(16);return"#"+t(e)+t(i)+t(n)},resolveColor:function(t){var e=t||"black";return"#"===e.charAt(0)&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase(),e=p.namedColors[e]||e},normalizeByte:function(t){return t<0||isNaN(t)?0:t>255?255:t},padDigit:function(t){return 1===t.length?"0"+t:t},brightness:function(t){var e=Math.round;return this.r=e(this.normalizeByte(this.r*t)),this.g=e(this.normalizeByte(this.g*t)),this.b=e(this.normalizeByte(this.b*t)),this},percBrightness:function(){return Math.sqrt(.241*this.r*this.r+.691*this.g*this.g+.068*this.b*this.b)}}),p.fromBytes=function(t,e,i,n){return new u(t,e,i,null!=n?n:1)},p.fromRGB=function(t,e,i,n){return new c(t,e,i,null!=n?n:1)},p.fromHSV=function(t,e,i,n){return new d(t,e,i,null!=n?n:1)},p.fromHSL=function(t,e,i,n){return new f(t,e,i,null!=n?n:1)},p.formats=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(t){return[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10)]}},{re:/^(\w{2})(\w{2})(\w{2})$/,process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],p.namedColors=r,kendo.deepExtend(kendo,{parseColor:i,Color:p})},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("util/text-metrics.min",["kendo.core.min"],t)}(function(){!function(t){function e(t){var e,i=[];for(e in t)i.push(e+t[e]);return i.sort().join("")}function i(t){var e,i=2166136261;for(e=0;e<t.length;++e)i+=(i<<1)+(i<<4)+(i<<7)+(i<<8)+(i<<24),i^=t.charCodeAt(e);return i>>>0}function n(){return{width:0,height:0,baseline:0}}function o(t,e,i){return l.current.measure(t,e,i)}var r,s,a,l;window.kendo.util=window.kendo.util||{},r=kendo.Class.extend({init:function(t){this._size=t,this._length=0,this._map={}},put:function(t,e){var i=this._map,n={key:t,value:e};i[t]=n,this._head?(this._tail.newer=n,n.older=this._tail,this._tail=n):this._head=this._tail=n,this._length>=this._size?(i[this._head.key]=null,this._head=this._head.newer,this._head.older=null):this._length++},get:function(t){var e=this._map[t];if(e)return e===this._head&&e!==this._tail&&(this._head=e.newer,this._head.older=null),e!==this._tail&&(e.older&&(e.older.newer=e.newer,e.newer.older=e.older),e.older=this._tail,e.newer=null,this._tail.newer=e,this._tail=e),e.value}}),s={baselineMarkerSize:1},"undefined"!=typeof document&&(a=document.createElement("div"),a.style.cssText="position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: nowrap!important;"),l=kendo.Class.extend({init:function(e){this._cache=new r(1e3),this.options=t.extend({},s,e)},measure:function(t,o,r){var s,l,h,c,u,d,f,p;if(!t)return n();if(s=e(o),l=i(t+s),h=this._cache.get(l))return h;c=n(),u=r||a,d=this._baselineMarker().cloneNode(!1);for(f in o)p=o[f],void 0!==p&&(u.style[f]=p);return u.textContent=t,u.appendChild(d),document.body.appendChild(u),(t+"").length&&(c.width=u.offsetWidth-this.options.baselineMarkerSize,c.height=u.offsetHeight,c.baseline=d.offsetTop+this.options.baselineMarkerSize),c.width>0&&c.height>0&&this._cache.put(l,c),u.parentNode.removeChild(u),c},_baselineMarker:function(){var t=document.createElement("div");return t.style.cssText="display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;",t}}),l.current=new l,kendo.deepExtend(kendo.util,{LRUCache:r,TextMetrics:l,measureText:o,objectKey:e,hashKey:i})}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("drawing/kendo-drawing.min",["drawing/util.min","kendo.color.min","util/text-metrics.min"],t)}(function(){!function(t){function e(t,e){return t.push.apply(t,e),t}function i(t){for(var e=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],i="";t>0;)t<e[0]?e.shift():(i+=Xe[e[0]],t-=e[0]);return i}function n(t){return typeof t!==Qe}function o(){return"kdef"+Ke++}function r(t){return t/Ze}function s(t){var e,i,n="";for(e=0;e<t.length;e++)i=t.charCodeAt(e),i<128?n+=ii(i):i<2048?(n+=ii(192|i>>>6),n+=ii(128|63&i)):i<65536&&(n+=ii(224|i>>>12),n+=ii(128|i>>>6&63),n+=ii(128|63&i));return n}function a(t){for(var e,i,n,o,r,a,l,h="",c=0,u=s(t);c<u.length;)e=u.charCodeAt(c++),i=u.charCodeAt(c++),n=u.charCodeAt(c++),o=e>>2,r=(3&e)<<4|i>>4,a=(15&i)<<2|n>>6,l=63&n,isNaN(i)?a=l=64:isNaN(n)&&(l=64),h=h+ei.charAt(o)+ei.charAt(r)+ei.charAt(a)+ei.charAt(l);return h}function l(t){return n((t.x||{}).location)?{x:t.x.location,y:t.y.location}:{x:t.pageX||t.clientX||0,y:t.pageY||t.clientY||0}}function h(t){return void 0===t&&(t={}),t.touch?t.touch.initialTouch:t.target}function c(t){return""===t||null===t||"none"===t||"transparent"===t||!n(t)}function u(t){if(t)return t[t.length-1]}function d(t,e,i){return Math.max(Math.min(t,i),e)}function f(t,e){function i(t,i){for(var n=[],o=0,r=0,s=0;o<t.length&&r<i.length;)e(t[o],i[r])<=0?n[s++]=t[o++]:n[s++]=i[r++];return o<t.length&&n.push.apply(n,t.slice(o)),r<i.length&&n.push.apply(n,i.slice(r)),n}return t.length<2?t.slice():function n(t){var e,o,r;return t.length<=1?t:(e=Math.floor(t.length/2),o=t.slice(0,e),r=t.slice(e),o=n(o),r=n(r),i(o,r))}(t)}function p(t){return t*Ze}function g(t){return t?Math.pow(10,t):1}function m(t,e){var i=g(e);return Math.round(t*i)/i}function v(t,e){return n(t)?t:e}function _(t,e){var i,n,o;for(i in e)for(n=i.trim().split(" "),o=0;o<n.length;o++)t.addEventListener(n[o],e[i],!1)}function w(t){var e=t.getBoundingClientRect(),i=document.documentElement;return{top:e.top+(window.pageYOffset||i.scrollTop)-(i.clientTop||0),left:e.left+(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}}function y(t,e){var i,n,o={},r=window.getComputedStyle(t),s=Array.isArray(e)?e:[e];for(i=0;i<s.length;i++)n=s[i],o[n]=r[n];return o}function x(t){return isNaN(t)?t:t+"px"}function b(t,e){var i,o,r;return e?(i=e.width,o=e.height,n(i)&&(t.style.width=x(i)),n(o)&&(t.style.height=x(o)),void 0):(r=y(t,["width","height"]),{width:parseInt(r.width,10),height:parseInt(r.height,10)})}function k(t,e){var i,n,o;void 0===e&&(e={});for(i in e)for(n=i.trim().split(" "),o=0;o<n.length;o++)t.removeEventListener(n[o],e[i],!1)}function C(t){return function(e){return this[t]!==e&&(this[t]=e,this.geometryChange()),this}}function S(t){return function(){return this[t]}}function T(t,e){var i,n,o;for(i=0;i<e.length;i++)n=e[i],o=n.charAt(0).toUpperCase()+n.substring(1,n.length),t["set"+o]=C(n),t["get"+o]=S(n)}function A(t){return t&&"function"==typeof t.matrix?t.matrix():t}function M(t){return null===t?null:t instanceof ci?t:new ci(t)}function D(t,e,i,n){var o=0,r=0;return n&&(o=Math.atan2(n.c*i,n.a*e),0!==n.b&&(r=Math.atan2(n.d*i,n.b*e))),{x:o,y:r}}function E(t){var e="_"+t;return function(t){return n(t)?(this._observerField(e,t),this.geometryChange(),this):this[e]}}function P(t,e){for(var i=0;i<e.length;i++)t[e[i]]=E(e[i])}function B(t,e,i){return void 0===i&&(i=yi),0===m(Math.abs(t-e),i)}function I(t,e,i){return t<e||B(t,e,i)}function z(t,e,i,n){var o=e.x-t.x,r=n.x-i.x,s=e.y-t.y,a=n.y-i.y,l=t.x-i.x,h=t.y-i.y,c=o*a-r*s,u=(o*h-s*l)/c,d=(r*h-a*l)/c;if(u>=0&&u<=1&&d>=0&&d<=1)return new ai(t.x+d*o,t.y+d*s)}function L(t,e,i,n,o,s){var a=m((o-t)/i,3),l=m((s-e)/n,3);return m(r(Math.atan2(l,a)))}function O(t){var e,i,n,o,s,a,l,h,c,u,d,f,g,v,_,w,y,x,b,k,C,S,T,A,M,D=t.x1,E=t.y1,P=t.x2,B=t.y2,I=t.rx,z=t.ry,L=t.largeArc,O=t.swipe,R=t.rotation;return void 0===R&&(R=0),e=p(R),i=Math.cos(e),n=Math.sin(e),o=i*(D-P)/2+n*(E-B)/2,s=-n*(D-P)/2+i*(E-B)/2,a=L!==O?1:-1,l=Math.pow(o,2),h=Math.pow(s,2),c=Math.pow(I,2),u=Math.pow(z,2),d=l/c+h/u,d>1&&(d=Math.sqrt(l/c+h/u),I=d*I,c=Math.pow(I,2),z=d*z,u=Math.pow(z,2)),f=a*Math.sqrt((c*u-c*h-u*l)/(c*h+u*l)),isNaN(f)&&(f=0),g=f*(I*s)/z,v=-f*(z*o)/I,_=i*g-n*v+(D+P)/2,w=n*g+i*v+(E+B)/2,y=(o-g)/I,x=(s-v)/z,b=-(o+g)/I,k=-(s+v)/z,C=(x>=0?1:-1)*r(Math.acos(y/Math.sqrt(y*y+x*x))),S=m((y*b+x*k)/(Math.sqrt(y*y+x*x)*Math.sqrt(b*b+k*k)),10),T=(y*k-x*b>=0?1:-1)*r(Math.acos(S)),!O&&T>0&&(T-=360),O&&T<0&&(T+=360),A=C+T,M=A>=0?1:-1,A=Math.abs(A)%360*M,{center:new ai(_,w),startAngle:C,endAngle:A,radiusX:I,radiusY:z,xRotation:R}}function R(t,e){for(var i=t;i<e;)i+=90;return i}function F(t){var e="_"+t;return function(t){return n(t)?(this._observerField(e,ai.create(t)),this.geometryChange(),this):this[e]}}function V(t,e){for(var i=0;i<e.length;i++)t[e[i]]=F(e[i])}function N(t,e,i){var n=r(Math.atan2(e.y-t.y,e.x-t.x)),o=i.transformCopy(M().rotate(-n,t));return o.x<t.x}function H(t,e,i){var n=1-t;return Math.pow(n,3)*i[0][e]+3*Math.pow(n,2)*t*i[1][e]+3*Math.pow(t,2)*n*i[2][e]+Math.pow(t,3)*i[3][e]}function U(t,e){return[-t[0][e]+3*t[1][e]-3*t[2][e]+t[3][e],3*(t[0][e]-2*t[1][e]+t[2][e]),3*(-t[0][e]+t[1][e]),t[0][e]]}function j(t){return t<0?-1:1}function W(t,e,i){var n=Math.sqrt(Math.pow(e,2)-4*t*i);return[(-e+n)/(2*t),(-e-n)/(2*t)]}function G(t,e,i,n){var o,r,s,a,l,h,c,u,d,f,p,g,v;return 0===t?W(e,i,n):(o=(3*t*i-Math.pow(e,2))/(3*Math.pow(t,2)),r=(2*Math.pow(e,3)-9*t*e*i+27*Math.pow(t,2)*n)/(27*Math.pow(t,3)),s=Math.pow(o/3,3)+Math.pow(r/2,2),a=new Bi(0,1),l=-e/(3*t),s<0?(h=new Bi(-r/2,Math.sqrt(-s)).nthRoot(3),c=new Bi(-r/2,(-Math.sqrt(-s))).nthRoot(3)):(h=-r/2+Math.sqrt(s),h=new Bi(j(h)*Math.pow(Math.abs(h),1/3)),c=-r/2-Math.sqrt(s),c=new Bi(j(c)*Math.pow(Math.abs(c),1/3))),u=h.add(c),p=h.add(c).multiplyConstant(-.5),g=h.add(c.negate()).multiplyConstant(Math.sqrt(3)/2),d=p.add(a.multiply(g)),f=p.add(a.negate().multiply(g)),v=[],u.isReal()&&v.push(m(u.real+l,yi)),
d.isReal()&&v.push(m(d.real+l,yi)),f.isReal()&&v.push(m(f.real+l,yi)),v)}function q(t,e,i,n,o){var r,s,a=U(t,n),l=G(a[0],a[1],a[2],a[3]-e[n]);for(s=0;s<l.length;s++)if(0<=l[s]&&l[s]<=1&&(r=H(l[s],i,t),Math.abs(r-e[i])<=o))return!0}function $(t,e,i){var n,o,r,s=U(t,"x"),a=G(s[0],s[1],s[2],s[3]-e.x),l=0;for(r=0;r<a.length;r++)n=H(a[r],"y",t),o=B(n,e.y)||n>e.y,o&&((0===a[r]||1===a[r])&&i.bottomRight().x>e.x||0<a[r]&&a[r]<1)&&l++;return l}function Y(t,e,i){var n,o,r,s,a,l;return t.x!==e.x&&(o=Math.min(t.x,e.x),r=Math.max(t.x,e.x),s=Math.min(t.y,e.y),a=Math.max(t.y,e.y),l=o<=i.x&&i.x<r,n=s===a?i.y<=s&&l:l&&(a-s)*((t.x-e.x)*(t.y-e.y)>0?i.x-o:r-i.x)/(r-o)+s-i.y>=0),n?1:0}function X(t){var e,i=t.length,n=Je,o=ti;for(e=0;e<i;e++)o=Math.max(o,t[e]),n=Math.min(n,t[e]);return{min:n,max:o}}function Q(t,e,i){var n,o,r,s;for(o=0;o<t.length;o++)r=t[o],r.visible()&&(s=e?r.bbox(i):r.rawBBox(),s&&(n=n?hi.union(n,s):s));return n}function K(t,e){var i,n,o,r;for(n=0;n<t.length;n++)o=t[n],o.visible()&&(r=o.clippedBBox(e),r&&(i=i?hi.union(i,r):r));return i}function Z(t,e,i){var n=i.transform()||M(),o=n.matrix();o.e+=t.x-e.origin.x,o.f+=t.y-e.origin.y,n.matrix(o),i.transform(n)}function J(t,e,i,n,o){var r;return r="start"===i?e.origin[n]:"end"===i?e.origin[n]+e.size[o]-t:e.origin[n]+(e.size[o]-t)/2}function tt(t,e,i,n,o){var r,s,a;for(r=0;r<t.length;r++)s=t[r].clippedBBox(),s&&(a=s.origin.clone(),a[n]=J(s.size[o],e,i||"start",n,o),Z(a,s,t[r]))}function et(t,e,i){tt(t,e,i,"x","width")}function it(t,e,i){tt(t,e,i,"y","height")}function nt(t,e,i,n){var o,r,s,a,l;if(t.length>1)for(o=new ai,r=t[0].bbox,s=1;s<t.length;s++)a=t[s].element,l=t[s].bbox,o[e]=r.origin[e]+r.size[n],o[i]=l.origin[i],Z(o,l,a),l.origin[e]=o[e],r=l}function ot(t){var e,i,n,o=[];for(e=0;e<t.length;e++)i=t[e],n=i.clippedBBox(),n&&o.push({element:i,bbox:n});return o}function rt(t){nt(ot(t),"x","y","width")}function st(t){nt(ot(t),"y","x","height")}function at(t,e,i){var n,o,r,s,a=e.size[i],l=[],h=[],c=0,u=function(){h.push({element:n,bbox:o})};for(r=0;r<t.length;r++)n=t[r],o=n.clippedBBox(),o&&(s=o.size[i],c+s>a?h.length?(l.push(h),h=[],u(),c=s):(u(),l.push(h),h=[],c=0):(u(),c+=s));return h.length&&l.push(h),l}function lt(t,e,i,n,o){var r,s,a,l,h=at(t,e,o),c=e.origin.clone(),u=[];for(r=0;r<h.length;r++)for(s=h[r],a=s[0],c[n]=a.bbox.origin[n],Z(c,a.bbox,a.element),a.bbox.origin[i]=c[i],nt(s,i,n,o),u.push([]),l=0;l<s.length;l++)u[r].push(s[l].element);return u}function ht(t,e){return lt(t,e,"x","y","width")}function ct(t,e){return lt(t,e,"y","x","height")}function ut(t,e){var i,n,o,r,s=t.clippedBBox();s&&(i=s.size,n=e.size,(n.width<i.width||n.height<i.height)&&(o=Math.min(n.width/i.width,n.height/i.height),r=t.transform()||M(),r.scale(o,o),t.transform(r)))}function dt(t){return function(e){return n(e)?(this.options.set(t,e),this):this.options.get(t)}}function ft(t,e){for(var i=0;i<e.length;i++)t[e[i]]=dt(e[i])}function pt(t){return.5-Math.cos(t*Math.PI)/2}function gt(t){return t}function mt(t,e,i,n){var o=1.70158,r=0,s=n;return 0===t?i:1===t?i+n:(r||(r=.5),s<Math.abs(n)?(s=n,o=r/4):o=r/(2*Math.PI)*Math.asin(n/s),s*Math.pow(2,-10*t)*Math.sin((+t-o)*(1.1*Math.PI)/r)+n+i)}function vt(t,e,i){var n,o=e?0:1;for(n=0;n<t.length;n+=2)t.splice(n+o,0,i)}function _t(t,e){if(t&&e)return e.scaleCopy(2).translate(-t.x,-t.y)}function wt(t,e,i){var n=e.clone().scale(2/3);return{controlOut:n.clone().translateWith(t.scaleCopy(on)),controlIn:n.translateWith(i.scaleCopy(on))}}function yt(t){var e=[];return t.replace(sn,function(t,i){e.push(parseFloat(i))}),e}function xt(t,e){return n(e)&&null!==e?" "+t+"='"+e+"' ":""}function bt(t){var e,i="";for(e=0;e<t.length;e++)i+=xt(t[e][0],t[e][1]);return i}function kt(t){var e,i,o="";for(e=0;e<t.length;e++)i=t[e][1],n(i)&&(o+=t[e][0]+":"+i+";");if(""!==o)return o}function Ct(t,e){return"clip"===t||"fill"===t&&(!e||"Gradient"===e.nodeType)}function St(){var t=document.getElementsByTagName("base")[0],e=document.location.href,i=e.indexOf("#"),n="";return t&&!Ge.browser.msie&&(i!==-1&&(e=e.substring(0,i)),n=e),n}function Tt(t,e){var i=e?"":St();return"url("+i+"#"+t+")"}function At(t){var e,i,n,o;try{e=t.getScreenCTM?t.getScreenCTM():null}catch(r){}e&&(i=-e.e%1,n=-e.f%1,o=t.style,0===i&&0===n||(o.left=i+"px",o.top=n+"px"))}function Mt(t){if(!t||!t.indexOf||t.indexOf("&")<0)return t;var e=Mt._element;return e.innerHTML=t,e.textContent||e.innerText}function Dt(t){var e,i,n,o=new Pn({skipBaseHref:!0}),r=t.clippedBBox(),s=t;return r&&(e=r.getOrigin(),i=new ji,i.transform(M().translate(-e.x,-e.y)),i.children.push(t),s=i),o.load([s]),n="<?xml version='1.0' ?><svg xmlns='"+gn+"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>"+o.render()+"</svg>",o.destroy(),n}function Et(t,e){var i,n,o,r,s,a,l=e.segments;if(0!==l.length){for(i=l[0],n=i.anchor(),t.moveTo(n.x,n.y),o=1;o<l.length;o++)i=l[o],n=i.anchor(),r=l[o-1],s=r.controlOut(),a=i.controlIn(),s&&a?t.bezierCurveTo(s.x,s.y,a.x,a.y,n.x,n.y):t.lineTo(n.x,n.y);e.options.closed&&t.closePath()}}function Pt(t,e){return t._zIndex<e._zIndex?1:t._zIndex>e._zIndex?-1:0}function Bt(t,e){var i,n,o;for(i=0;i<e.length;i++)n=e[i],o=kendo.parseColor(n.color()),o.a*=n.opacity(),t.addColorStop(n.offset(),o.toCssRgba())}function It(e,i){var n,o,r,s,a,l,h,c,u={width:"800px",height:"600px",cors:"Anonymous"},d=e,f=e.clippedBBox();return f&&(n=f.getOrigin(),d=new ji,d.transform(M().translate(-n.x,-n.y)),d.children.push(e),o=f.getSize(),u.width=o.width+"px",u.height=o.height+"px"),r=t.extend(u,i),s=document.createElement("div"),a=s.style,a.display="none",a.width=r.width,a.height=r.height,document.body.appendChild(s),l=new ao(s,r),l.suspendTracking(),l.draw(d),h=l.image(),c=function(){l.destroy(),document.body.removeChild(s)},h.then(c,c),h}function zt(t,e){var i=Dt(t);return e&&e.raw||(i="data:image/svg+xml;base64,"+a(i)),qe().resolve(i)}function Lt(t){return Array.prototype.slice.call(t)}function Ot(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function Rt(t,e){t.classList?t.classList.remove(e):t.className=t.className.split(/\s+/).reduce(function(t,i){return i!=e&&t.push(i),t},[]).join(" ")}function Ft(t,e){Object.keys(e).forEach(function(i){t.style[i]=e[i]})}function Vt(t,e){if(t.closest)return t.closest(e);for(;t&&!/^\[object (?:HTML)?Document\]$/.test(t+"");){if(bo(t,e))return t;t=t.parentNode}}function Nt(t){return"number"==typeof t?{x:t,y:t}:Array.isArray(t)?{x:t[0],y:t[1]}:{x:t.x,y:t.y}}function Ht(t,e){function i(t){var i=new ji,n=t.getBoundingClientRect();return me(i,[s.x,0,0,s.y,-n.left*s.x,-n.top*s.y]),yo._clipbox=!1,yo._matrix=si.unit(),yo._stackingContext={element:t,group:i},yo._avoidLinks=e.avoidLinks===!0?"a":e.avoidLinks,Ot(t,"k-pdf-export"),Ve(t,i),Rt(t,"k-pdf-export"),i}function n(t){if(null!=t)return"string"==typeof t&&(t=kendo.template(t.replace(/^\s+|\s+$/g,""))),"function"==typeof t?function(e){var i,n=t(e);return n&&"string"==typeof n&&(i=document.createElement("div"),i.innerHTML=n,n=i.firstElementChild),n}:function(){return t.cloneNode(!0)}}function o(t,e,i,o,r,s,a){function l(){function e(){Kt(w,function(){t({pages:w,container:x})})}var n,o;("-"!=i||r)&&c(y),n=f(),y.parentNode.insertBefore(n,y),n.appendChild(y),v?(o=w.length,w.forEach(function(t,i){var n=v({element:t,pageNum:i+1,totalPages:w.length});n&&(t.appendChild(n),Zt(n,function(){0===--o&&e()}))})):e()}function h(t){if(a.keepTogether&&bo(t,a.keepTogether)&&t.offsetHeight<=r-b)return!0;var e=t.tagName;return!(/^h[1-6]$/i.test(e)&&t.offsetHeight>=r-b)&&(t.getAttribute("data-kendo-chart")||/^(?:img|tr|thead|th|tfoot|iframe|svg|object|canvas|input|textarea|select|video|h[1-6])/i.test(t.tagName))}function c(t){var e,n,o,s,a,l,u;for("TABLE"==t.tagName&&Ft(t,{tableLayout:"fixed"}),e=re(t),n=parseFloat(se(e,"padding-bottom")),o=parseFloat(se(e,"border-bottom-width")),s=b,b+=n+o,a=!0,l=t.firstChild;l;l=l.nextSibling)if(1==l.nodeType){if(a=!1,bo(l,i)){d(l);continue}if(!r){c(l);continue}if(!/^(?:static|relative)$/.test(se(re(l),"position")))continue;u=p(l),1==u?d(l):u&&h(l)?d(l):c(l)}else 3==l.nodeType&&r&&(g(l,a),a=!1);b=s}function u(t){var e=t.parentNode,i=e.firstChild;if(t===i)return!0;if(t===e.children[0]){if(7==i.nodeType||8==i.nodeType)return!0;if(3==i.nodeType)return!/\S/.test(i.data)}return!1}function d(t){var e,i,n,o,r,s,l;return 1==t.nodeType&&t!==y&&u(t)?d(t.parentNode):(e=Vt(t,"table"),i=e&&e.querySelector("colgroup"),a.repeatHeaders&&(n=e&&e.querySelector("thead"),o=Vt(t,".k-grid.k-widget"),o&&o.querySelector(".k-auto-scrollable")&&(r=o.querySelector(".k-grid-header"))),s=f(),l=_.createRange(),l.setStartBefore(y),l.setEndBefore(t),s.appendChild(l.extractContents()),y.parentNode.insertBefore(s,y),m(t.parentNode),e&&(e=Vt(t,"table"),a.repeatHeaders&&n&&e.insertBefore(n.cloneNode(!0),e.firstChild),i&&e.insertBefore(i.cloneNode(!0),e.firstChild)),void(a.repeatHeaders&&r&&(o=Vt(t,".k-grid.k-widget"),o.insertBefore(r.cloneNode(!0),o.firstChild))))}function f(){var t=_.createElement("KENDO-PDF-PAGE");return Ft(t,{display:"block",boxSizing:"content-box",width:o?o+"px":"auto",padding:s.top+"px "+s.right+"px "+s.bottom+"px "+s.left+"px",position:"relative",height:r?r+"px":"auto",overflow:r||o?"hidden":"visible",clear:"both"}),a&&a.pageClassName&&(t.className=a.pageClassName),w.push(t),t}function p(t){var e,i,n=t.getBoundingClientRect();return 0===n.width||0===n.height?0:(e=y.getBoundingClientRect().top,i=r-b,n.height>i?3:n.top-e>i?1:n.bottom-e>i?2:0)}function g(t,e){var i,n,o,r,s;/\S/.test(t.data)&&(i=t.data.length,n=_.createRange(),n.selectNodeContents(t),o=p(n),o&&(r=t,1==o?d(e?t.parentNode:t):(!function a(e,i,o){return n.setEnd(t,i),e==i||i==o?i:p(n)?a(e,e+i>>1,i):a(i,i+o>>1,o)}(0,i>>1,i),!/\S/.test(""+n)&&e?d(t.parentNode):(r=t.splitText(n.endOffset),s=f(),n.setStartBefore(y),s.appendChild(n.extractContents()),y.parentNode.insertBefore(s,y),m(r.parentNode))),g(r)))}function m(t){var e=Vt(t,"li");e&&(e.setAttribute("kendo-no-bullet","1"),m(e.parentNode))}var v=n(a.template),_=e.ownerDocument,w=[],y=a._destructive?e:ko(e),x=_.createElement("KENDO-PDF-DOCUMENT"),b=0;Lt(y.querySelectorAll("tfoot")).forEach(function(t){t.parentNode.appendChild(t)}),Lt(y.querySelectorAll("ol")).forEach(function(t){Lt(t.children).forEach(function(t,e){t.setAttribute("kendo-split-index",e)})}),Ft(x,{display:"block",position:"absolute",boxSizing:"content-box",left:"-10000px",top:"-10000px"}),o&&(Ft(x,{width:o+"px",paddingLeft:s.left+"px",paddingRight:s.right+"px"}),Ft(y,{overflow:"hidden"})),e.parentNode.insertBefore(x,e),x.appendChild(y),a.beforePageBreak?setTimeout(function(){a.beforePageBreak(x,l)},15):setTimeout(l,15)}var r,s;if(e||(e={}),r=qe(),!t)return r.reject("No element to export");if("function"!=typeof window.getComputedStyle)throw Error("window.getComputedStyle is missing.  You are using an unsupported browser, or running in IE8 compatibility mode.  Drawing HTML is supported in Chrome, Firefox, Safari and IE9+.");return kendo.pdf.defineFont(Ut(t.ownerDocument)),s=Nt(e.scale||1),Zt(t,function(){var n,a=e&&e.forcePageBreak,l=e&&e.paperSize&&"auto"!=e.paperSize,h=kendo.pdf.getPaperOptions(function(t,i){return"paperSize"==t?l?e[t]:"A4":t in e?e[t]:i}),c=l&&h.paperSize[0],u=l&&h.paperSize[1],d=e.margin&&h.margin,f=!!d;a||u?(d||(d={left:0,top:0,right:0,bottom:0}),c&&(c/=s.x),u&&(u/=s.y),d.left/=s.x,d.right/=s.x,d.top/=s.y,d.bottom/=s.y,n=new ji({pdf:{multiPage:!0,paperSize:l?h.paperSize:"auto",_ignoreMargin:f}}),o(function(t){if(e.progress){var o=!1,s=0;!function a(){if(s<t.pages.length){var l=i(t.pages[s]);n.append(l),e.progress({page:l,pageNum:++s,totalPages:t.pages.length,cancel:function(){o=!0}}),o?t.container.parentNode.removeChild(t.container):setTimeout(a)}else t.container.parentNode.removeChild(t.container),r.resolve(n)}()}else t.pages.forEach(function(t){n.append(i(t))}),t.container.parentNode.removeChild(t.container),r.resolve(n)},t,a,c?c-d.left-d.right:null,u?u-d.top-d.bottom:null,d,e)):r.resolve(i(t))}),r}function Ut(t){function e(t){if(t){var e=null;try{e=t.cssRules}catch(i){}e&&n(t,e)}}function i(t){var e,i=se(t.style,"src");return i?So(i).reduce(function(t,e){var i=To(e);return i&&t.push(i),t},[]):(e=To(t.cssText),e?[e]:[])}function n(t,n){var r,s,a,l,h,c,u;for(r=0;r<n.length;++r)switch(s=n[r],s.type){case 3:e(s.styleSheet);break;case 5:a=s.style,l=So(se(a,"font-family")),h=/^([56789]00|bold)$/i.test(se(a,"font-weight")),c="italic"==se(a,"font-style"),u=i(s),u.length>0&&o(t,l,h,c,u[0])}}function o(t,e,i,n,o){/^data:/i.test(o)||/^[^\/:]+:\/\//.test(o)||/^\//.test(o)||(o=(t.href+"").replace(/[^\/]*$/,"")+o),e.forEach(function(t){t=t.replace(/^(['"]?)(.*?)\1$/,"$2"),i&&(t+="|bold"),n&&(t+="|italic"),r[t]=o})}var r,s;for(null==t&&(t=document),r={},s=0;s<t.styleSheets.length;++s)e(t.styleSheets[s]);return r}function jt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Wt(t){return t="_counter_"+t,yo[t]}function Gt(t){var e=[],i=yo;for(t="_counter_"+t;i;)jt(i,t)&&e.push(i[t]),i=Object.getPrototypeOf(i);return e.reverse()}function qt(t,e){var i=yo;for(t="_counter_"+t;i&&!jt(i,t);)i=Object.getPrototypeOf(i);i||(i=yo._root),i[t]=(i[t]||0)+(null==e?1:e)}function $t(t,e){t="_counter_"+t,yo[t]=null==e?0:e}function Yt(t,e,i){var n,o,r;for(n=0;n<t.length;)o=t[n++],r=parseFloat(t[n]),isNaN(r)?e(o,i):(e(o,r),++n)}function Xt(t){var e,i=se(t,"counter-reset");i&&Yt(So(i,/^\s+/),$t,0),e=se(t,"counter-increment"),e&&Yt(So(e,/^\s+/),qt,1)}function Qt(t,e){var i=kendo.parseColor(t,!0);return i&&(i=i.toRGB(),e?i=i.toCssRgba():0===i.a&&(i=null)),i}function Kt(t,e){function i(){--n<=0&&e()}var n=0;t.forEach(function(t){var e,o,r=t.querySelectorAll("img");for(e=0;e<r.length;++e)o=r[e],o.complete||(n++,o.onload=o.onerror=i)}),n||i()}function Zt(t,e){function i(t){wo[t]||(wo[t]=!0,r.push(t))}function n(){--o<=0&&e()}var o,r=[];!function s(t){/^img$/i.test(t.tagName)&&i(t.src),Co(se(re(t),"background-image")).forEach(function(t){"url"==t.type&&i(t.url)}),t.children&&Lt(t.children).forEach(s)}(t),o=r.length,0===o&&n(),r.forEach(function(t){var e=wo[t]=new window.Image;/^data:/i.test(t)||(e.crossOrigin="Anonymous"),e.src=t,e.complete?n():(e.onload=n,e.onerror=function(){wo[t]=null,n()})})}function Jt(t){var e,i="";do e=t%26,i=String.fromCharCode(97+e)+i,t=Math.floor(t/26);while(t>0);return i}function te(t,e,i){var n,o;yo=Object.create(yo),yo[t.tagName.toLowerCase()]={element:t,style:e},n=se(e,"text-decoration"),n&&"none"!=n&&(o=se(e,"color"),n.split(/\s+/g).forEach(function(t){yo[t]||(yo[t]=o)})),oe(e)&&(yo._stackingContext={element:t,group:i})}function ee(){yo=Object.getPrototypeOf(yo)}function ie(t){if(null!=yo._clipbox){var e=t.bbox(yo._matrix);yo._clipbox=yo._clipbox?hi.intersect(yo._clipbox,e):e}}function ne(){var t=yo._clipbox;return null==t||(t?0===t.width()||0===t.height():void 0)}function oe(t){function e(e){return se(t,e)}if("none"!=e("transform")||"static"!=e("position")||"auto"!=e("z-index")||e("opacity")<1)return!0}function re(t,e){return window.getComputedStyle(t,e||null)}function se(t,e,i){var n=t.getPropertyValue(e);return null!=n&&""!==n||(vo.webkit?n=t.getPropertyValue("-webkit-"+e):vo.mozilla?n=t.getPropertyValue("-moz-"+e):vo.opera?n=t.getPropertyValue("-o-"+e):vo.msie&&(n=t.getPropertyValue("-ms-"+e))),arguments.length>2&&(null==n||""===n)?i:n}function ae(t,e,i,n){t.setProperty(e,i,n),vo.webkit?t.setProperty("-webkit-"+e,i,n):vo.mozilla?t.setProperty("-moz-"+e,i,n):vo.opera?t.setProperty("-o-"+e,i,n):vo.msie&&(t.setProperty("-ms-"+e,i,n),e="ms"+e.replace(/(^|-)([a-z])/g,function(t,e,i){return e+i.toUpperCase()}),t[e]=i)}function le(t,e){return e="border-"+e,{width:parseFloat(se(t,e+"-width")),style:se(t,e+"-style"),color:Qt(se(t,e+"-color"),!0)}}function he(t,e){var i=t.style.cssText,n=e();return t.style.cssText=i,n}function ce(t,e){var i=se(t,"border-"+e+"-radius").split(/\s+/g).map(parseFloat);return 1==i.length&&i.push(i[0]),we({x:i[0],y:i[1]})}function ue(t){var e=t.getBoundingClientRect();return e=de(e,"border-*-width",t),e=de(e,"padding-*",t)}function de(t,e,i){var n,o,r,s,a;return"string"==typeof e?(n=re(i),o=parseFloat(se(n,e.replace("*","top"))),r=parseFloat(se(n,e.replace("*","right"))),s=parseFloat(se(n,e.replace("*","bottom"))),a=parseFloat(se(n,e.replace("*","left")))):"number"==typeof e&&(o=r=s=a=e),{top:t.top+o,right:t.right-r,bottom:t.bottom-s,left:t.left+a,width:t.right-t.left-r-a,height:t.bottom-t.top-s-o}}function fe(t){var e,i,n=se(t,"transform");return"none"==n?null:(e=/^\s*matrix\(\s*(.*?)\s*\)\s*$/.exec(n),e?(i=se(t,"transform-origin"),e=e[1].split(/\s*,\s*/g).map(parseFloat),i=i.split(/\s+/g).map(parseFloat),{matrix:e,origin:i}):void 0)}function pe(t){return 180*t/Math.PI%360}function ge(t){var e=parseFloat(t);return/grad$/.test(t)?Math.PI*e/200:/rad$/.test(t)?e:/turn$/.test(t)?Math.PI*e*2:/deg$/.test(t)?Math.PI*e/180:void 0}function me(t,e){return e=new si(e[0],e[1],e[2],e[3],e[4],e[5]),t.transform(e),e}function ve(t,e){t.clip(e)}function _e(t,e,i,n){for(var o=new ki([e,i],n).curvePoints(),r=1;r<o.length;)t.curveTo(o[r++],o[r++],o[r++])}function we(t){return(t.x<=0||t.y<=0)&&(t.x=t.y=0),t}function ye(t,e,i,n,o){var r=Math.max(0,e.x),s=Math.max(0,e.y),a=Math.max(0,i.x),l=Math.max(0,i.y),h=Math.max(0,n.x),c=Math.max(0,n.y),u=Math.max(0,o.x),d=Math.max(0,o.y),f=Math.min(t.width/(r+a),t.height/(l+c),t.width/(h+u),t.height/(d+s));return f<1&&(r*=f,s*=f,a*=f,l*=f,h*=f,c*=f,u*=f,d*=f),{tl:{x:r,y:s},tr:{x:a,y:l},br:{x:h,y:c},bl:{x:u,y:d}}}function xe(t,e,i){var n,o,r,s,a,l,h,c,u=re(t),d=ce(u,"top-left"),f=ce(u,"top-right"),p=ce(u,"bottom-left"),g=ce(u,"bottom-right");return"padding"!=i&&"content"!=i||(n=le(u,"top"),o=le(u,"right"),r=le(u,"bottom"),s=le(u,"left"),d.x-=s.width,d.y-=n.width,f.x-=o.width,f.y-=n.width,g.x-=o.width,g.y-=r.width,p.x-=s.width,p.y-=r.width,"content"==i&&(a=parseFloat(se(u,"padding-top")),l=parseFloat(se(u,"padding-right")),h=parseFloat(se(u,"padding-bottom")),c=parseFloat(se(u,"padding-left")),d.x-=c,d.y-=a,f.x-=l,f.y-=a,g.x-=l,g.y-=h,p.x-=c,p.y-=h)),"number"==typeof i&&(d.x-=i,d.y-=i,f.x-=i,f.y-=i,g.x-=i,g.y-=i,p.x-=i,p.y-=i),be(e,d,f,g,p)}function be(t,e,i,n,o){var r=ye(t,e,i,n,o),s=r.tl,a=r.tr,l=r.br,h=r.bl,c=new zi({fill:null,stroke:null});return c.moveTo(t.left,t.top+s.y),s.x&&_e(c,t.left+s.x,t.top+s.y,{startAngle:-180,endAngle:-90,radiusX:s.x,radiusY:s.y}),c.lineTo(t.right-a.x,t.top),a.x&&_e(c,t.right-a.x,t.top+a.y,{startAngle:-90,endAngle:0,radiusX:a.x,radiusY:a.y}),c.lineTo(t.right,t.bottom-l.y),l.x&&_e(c,t.right-l.x,t.bottom-l.y,{startAngle:0,endAngle:90,radiusX:l.x,radiusY:l.y}),c.lineTo(t.left+h.x,t.bottom),h.x&&_e(c,t.left+h.x,t.bottom-h.y,{startAngle:90,endAngle:180,radiusX:h.x,radiusY:h.y}),c.close()}function ke(t,e){var n=parseFloat(t)+"";switch(e){case"decimal-leading-zero":return n.length<2&&(n="0"+n),n;case"lower-roman":return i(t).toLowerCase();case"upper-roman":return i(t).toUpperCase();case"lower-latin":case"lower-alpha":return Jt(t-1);case"upper-latin":case"upper-alpha":return Jt(t-1).toUpperCase();default:return n}}function Ce(t,e){function i(t,e,i){return i?(i=i.replace(/^\s*(["'])(.*)\1\s*$/,"$2"),Gt(t).map(function(t){return ke(t,e)}).join(i)):ke(Wt(t)||0,e)}var n,o=So(e,/^\s+/),r=[];return o.forEach(function(e){var o;(n=/^\s*(["'])(.*)\1\s*$/.exec(e))?r.push(n[2].replace(/\\([0-9a-f]{4})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))})):(n=/^\s*counter\((.*?)\)\s*$/.exec(e))?(o=So(n[1]),r.push(i(o[0],o[1]))):(n=/^\s*counters\((.*?)\)\s*$/.exec(e))?(o=So(n[1]),r.push(i(o[0],o[2],o[1]))):r.push((n=/^\s*attr\((.*?)\)\s*$/.exec(e))?t.getAttribute(n[1])||"":e)}),r.join("")}function Se(t){var e,i;if(t.cssText)return t.cssText;for(e=[],i=0;i<t.length;++i)e.push(t[i]+": "+se(t,t[i]));return e.join(";\n")}function Te(t,e){function i(e,i){var o,r=re(t,e);Xt(r),r.content&&"normal"!=r.content&&"none"!=r.content&&"0px"!=r.width&&(o=t.ownerDocument.createElement(_o),o.style.cssText=Se(r),o.textContent=Ce(t,r.content),t.insertBefore(o,i),n.push(o))}var n,o;return t.tagName==_o?void Ae(t,e):(n=[],i(":before",t.firstChild),i(":after",null),o=t.className,t.className+=" kendo-pdf-hide-pseudo-elements",Ae(t,e),t.className=o,void n.forEach(function(e){t.removeChild(e)}))}function Ae(t,e){function n(e){var i,n,o,r,s,a;if(/^td$/i.test(t.tagName)&&(i=yo.table,i&&"collapse"==se(i.style,"border-collapse"))){if(n=le(i.style,"left").width,o=le(i.style,"top").width,0===n&&0===o)return e;if(r=i.element.getBoundingClientRect(),s=i.element.rows[0].cells[0],a=s.getBoundingClientRect(),a.top==r.top||a.left==r.left)return Lt(e).map(function(t){return{left:t.left+n,top:t.top+o,right:t.right+n,bottom:t.bottom+o,height:t.height,width:t.width}})}return e}function o(t,i,n,o,r,s,a,l){function h(e,i,o){var r=Math.PI/2*e/(e+n),s={x:i.x-e,y:i.y-n},a=new zi({fill:{color:t},stroke:null}).moveTo(0,0);me(a,o),_e(a,0,i.y,{startAngle:-90,endAngle:-pe(r),radiusX:i.x,radiusY:i.y}),s.x>0&&s.y>0?(a.lineTo(s.x*Math.cos(r),i.y-s.y*Math.sin(r)),_e(a,0,i.y,{startAngle:-pe(r),endAngle:-90,radiusX:s.x,radiusY:s.y,anticlockwise:!0})):s.x>0?a.lineTo(s.x,n).lineTo(0,n):a.lineTo(s.x,n).lineTo(s.x,0),u.append(a.close())}if(!(n<=0)){var c,u=new ji;me(u,l),e.append(u),we(s),we(a),c=new zi({fill:{color:t},stroke:null}),u.append(c),c.moveTo(s.x?Math.max(s.x,o):0,0).lineTo(i-(a.x?Math.max(a.x,r):0),0).lineTo(i-Math.max(a.x,r),n).lineTo(Math.max(s.x,o),n).close(),s.x&&h(o,s,[-1,0,0,1,s.x,0]),a.x&&h(r,a,[1,0,0,1,i-a.x,0])}}function r(i){var n,o,r=new ji;for(ve(r,be(i,C,S,A,T)),e.append(r),"A"==t.tagName&&t.href&&!/^#?$/.test(t.getAttribute("href"))&&(yo._avoidLinks&&bo(t,yo._avoidLinks)||(r._pdfLink={url:t.href,top:i.top,right:i.right,bottom:i.bottom,left:i.left})),D&&(n=new zi({fill:{color:D.toCssRgba()},stroke:null}),n.moveTo(i.left,i.top).lineTo(i.right,i.top).lineTo(i.right,i.bottom).lineTo(i.left,i.bottom).close(),r.append(n)),o=h.length;--o>=0;)s(r,i,h[o],c[o%c.length],u[o%u.length],d[o%d.length],f[o%f.length])}function s(e,i,n,o,r,s,a){function l(e,i,n,l,h){function c(){for(;m.origin.x>i.left;)m.origin.x-=n}function u(){for(;m.origin.y>i.top;)m.origin.y-=l}function d(){for(;m.origin.x<i.right;)h(e,m.clone()),m.origin.x+=n}var f,p,g,m,v,_=n/l,w=i;switch("content-box"==s?(w=de(w,"border-*-width",t),w=de(w,"padding-*",t)):"padding-box"==s&&(w=de(w,"border-*-width",t)),/^\s*auto(\s+auto)?\s*$/.test(a)||("contain"==a?(f=Math.min(w.width/n,w.height/l),n*=f,l*=f):"cover"==a?(f=Math.max(w.width/n,w.height/l),n*=f,l*=f):(p=a.split(/\s+/g),n=/%$/.test(p[0])?w.width*parseFloat(p[0])/100:parseFloat(p[0]),l=1==p.length||"auto"==p[1]?n/_:/%$/.test(p[1])?w.height*parseFloat(p[1])/100:parseFloat(p[1]))),g=r+""){case"bottom":g="50% 100%";break;case"top":g="50% 0";break;case"left":g="0 50%";break;case"right":g="100% 50%";break;case"center":g="50% 50%"}if(g=g.split(/\s+/),1==g.length&&(g[1]="50%"),g[0]=/%$/.test(g[0])?parseFloat(g[0])/100*(w.width-n):parseFloat(g[0]),g[1]=/%$/.test(g[1])?parseFloat(g[1])/100*(w.height-l):parseFloat(g[1]),m=new hi([w.left+g[0],w.top+g[1]],[n,l]),"no-repeat"==o)h(e,m);else if("repeat-x"==o)c(),d();else if("repeat-y"==o)for(u();m.origin.y<i.bottom;)h(e,m.clone()),m.origin.y+=l;else if("repeat"==o)for(c(),u(),v=m.origin.clone();m.origin.y<i.bottom;)m.origin.x=v.x,d(),m.origin.y+=l}if(n&&"none"!=n)if("url"==n.type){if(/^url\(\"data:image\/svg/i.test(n.url))return;var h=wo[n.url];h&&h.width>0&&h.height>0&&l(e,i,h.width,h.height,function(t,e){t.append(new Hi(n.url,e))})}else{if("linear"!=n.type)return;l(e,i,i.width,i.height,Me(n))}}function a(){function n(i){he(t,function(){t.style.position="relative";var n=t.ownerDocument.createElement(_o);n.style.position="absolute",n.style.boxSizing="border-box","outside"==r?(n.style.width="6em",n.style.left="-6.8em",n.style.textAlign="right"):n.style.left="0px",i(n),t.insertBefore(n,t.firstChild),Ve(n,e),t.removeChild(n)})}function o(e){var i,n=t.parentNode.children,o=t.getAttribute("kendo-split-index");if(null!=o)return e(0|o,n.length);for(i=0;i<n.length;++i)if(n[i]===t)return e(i,n.length)}var r,s=se(w,"list-style-type");if("none"!=s)switch(r=se(w,"list-style-position"),s){case"circle":case"disc":case"square":n(function(t){t.style.fontSize="60%",t.style.lineHeight="200%",t.style.paddingRight="0.5em",t.style.fontFamily="DejaVu Serif",t.innerHTML={disc:"●",circle:"◯",square:"■"}[s]});break;case"decimal":case"decimal-leading-zero":n(function(t){o(function(e){++e,"decimal-leading-zero"==s&&e<10&&(e="0"+e),t.innerHTML=e+"."})});break;case"lower-roman":case"upper-roman":n(function(t){o(function(e){e=i(e+1),"upper-roman"==s&&(e=e.toUpperCase()),t.innerHTML=e+"."})});break;case"lower-latin":case"lower-alpha":case"upper-latin":case"upper-alpha":n(function(t){o(function(e){e=Jt(e),/^upper/i.test(s)&&(e=e.toUpperCase()),t.innerHTML=e+"."})})}}function l(i,n,s){function a(t){return{x:t.y,y:t.x}}var l,h,c,u,d,f,p,g;if(0!==i.width&&0!==i.height&&(r(i),l=k.width>0&&(n&&"ltr"==M||s&&"rtl"==M),h=x.width>0&&(s&&"ltr"==M||n&&"rtl"==M),0!==y.width||0!==k.width||0!==x.width||0!==b.width)){if(y.color==x.color&&y.color==b.color&&y.color==k.color&&y.width==x.width&&y.width==b.width&&y.width==k.width&&l&&h)return i=de(i,y.width/2),c=xe(t,i,y.width/2),c.options.stroke={color:y.color,width:y.width},void e.append(c);if(0===C.x&&0===S.x&&0===A.x&&0===T.x&&y.width<2&&k.width<2&&x.width<2&&b.width<2)return y.width>0&&e.append(new zi({stroke:{width:y.width,color:y.color}}).moveTo(i.left,i.top+y.width/2).lineTo(i.right,i.top+y.width/2)),b.width>0&&e.append(new zi({stroke:{width:b.width,color:b.color}}).moveTo(i.left,i.bottom-b.width/2).lineTo(i.right,i.bottom-b.width/2)),l&&e.append(new zi({stroke:{width:k.width,color:k.color}}).moveTo(i.left+k.width/2,i.top).lineTo(i.left+k.width/2,i.bottom)),void(h&&e.append(new zi({stroke:{width:x.width,color:x.color}}).moveTo(i.right-x.width/2,i.top).lineTo(i.right-x.width/2,i.bottom)));u=ye(i,C,S,A,T),d=u.tl,f=u.tr,p=u.br,g=u.bl,o(y.color,i.width,y.width,k.width,x.width,d,f,[1,0,0,1,i.left,i.top]),o(b.color,i.width,b.width,x.width,k.width,p,g,[-1,0,0,-1,i.right,i.bottom]),o(k.color,i.height,k.width,b.width,y.width,a(g),a(d),[0,-1,1,0,i.left,i.bottom]),o(x.color,i.height,x.width,y.width,b.width,a(f),a(p),[0,1,-1,0,i.right,i.top])}}var h,c,u,d,f,p,g,m,v,_,w=re(t),y=le(w,"top"),x=le(w,"right"),b=le(w,"bottom"),k=le(w,"left"),C=ce(w,"top-left"),S=ce(w,"top-right"),T=ce(w,"bottom-left"),A=ce(w,"bottom-right"),M=se(w,"direction"),D=se(w,"background-color");if(D=Qt(D),h=Co(se(w,"background-image")),c=So(se(w,"background-repeat")),u=So(se(w,"background-position")),d=So(se(w,"background-origin")),f=So(se(w,"background-size")),vo.msie&&vo.version<10&&(u=So(t.currentStyle.backgroundPosition)),p=de(t.getBoundingClientRect(),"border-*-width",t),function(){var t,i,n,o,r,s,a,l=se(w,"clip"),h=/^\s*rect\((.*)\)\s*$/.exec(l);h&&(t=h[1].split(/[ ,]+/g),i="auto"==t[0]?p.top:parseFloat(t[0])+p.top,n="auto"==t[1]?p.right:parseFloat(t[1])+p.left,o="auto"==t[2]?p.bottom:parseFloat(t[2])+p.top,r="auto"==t[3]?p.left:parseFloat(t[3])+p.left,s=new ji,a=(new zi).moveTo(r,i).lineTo(n,i).lineTo(n,o).lineTo(r,o).close(),ve(s,a),e.append(s),e=s,ie(a))}(),_=se(w,"display"),"table-row"==_)for(g=[],m=0,v=t.children;m<v.length;++m)g.push(v[m].getBoundingClientRect());else g=t.getClientRects(),1==g.length&&(g=[t.getBoundingClientRect()]);for(g=n(g),m=0;m<g.length;++m)l(g[m],0===m,m==g.length-1);return g.length>0&&"list-item"==_&&!t.getAttribute("kendo-no-bullet")&&a(g[0]),function(){function i(){var i=xe(t,p,"padding"),n=new ji;ve(n,i),e.append(n),e=n,ie(i)}Be(t)?i():/^(hidden|auto|scroll)/.test(se(w,"overflow"))?i():/^(hidden|auto|scroll)/.test(se(w,"overflow-x"))?i():/^(hidden|auto|scroll)/.test(se(w,"overflow-y"))&&i()}(),De(t,e)||Oe(t,e),e}function Me(t){return function(e,i){var n,o,r,s,a,l,h,c,u,d,f,p,g,m=i.width(),v=i.height();switch(t.type){case"linear":switch(n=null!=t.angle?t.angle:Math.PI,t.to){case"top":n=0;break;case"left":n=-Math.PI/2;break;case"bottom":n=Math.PI;break;case"right":n=Math.PI/2;break;case"top left":case"left top":n=-Math.atan2(v,m);break;case"top right":case"right top":n=Math.atan2(v,m);break;case"bottom left":case"left bottom":n=Math.PI+Math.atan2(v,m);break;case"bottom right":case"right bottom":n=Math.PI-Math.atan2(v,m)}t.reverse&&(n-=Math.PI),n%=2*Math.PI,n<0&&(n+=2*Math.PI),o=Math.abs(m*Math.sin(n))+Math.abs(v*Math.cos(n)),r=Math.atan(m*Math.tan(n)/v),s=Math.sin(r),a=Math.cos(r),l=Math.abs(s)+Math.abs(a),h=l/2*s,c=l/2*a,n>Math.PI/2&&n<=3*Math.PI/2&&(h=-h,c=-c),u=[],d=0,f=t.stops.map(function(e,i){var n,r=e.percent;return r?r=parseFloat(r)/100:e.length?r=parseFloat(e.length)/o:0===i?r=0:i==t.stops.length-1&&(r=1),n={color:e.color.toCssRgba(),offset:r},null!=r?(d=r,u.forEach(function(t,e){var i=t.stop;i.offset=t.left+(d-t.left)*(e+1)/(u.length+1)}),u=[]):u.push({left:d,stop:n}),n}),p=[.5-h,.5+c],g=[.5+h,.5-c],e.append(zi.fromRect(i).stroke(null).fill(new Qi({start:p,end:g,stops:f,userSpace:!1})));break;case"radial":window.console&&window.console.log&&window.console.log("Radial gradients are not yet supported in HTML renderer")}}}function De(t,e){var i,n,o,r;if(window.kendo&&window.kendo.jQuery&&t.getAttribute(window.kendo.attr("role"))&&(i=window.kendo.widgetInstance(window.kendo.jQuery(t)),i&&(i.exportDOMVisual||i.exportVisual)))return!!(n=i.exportDOMVisual?i.exportDOMVisual():i.exportVisual())&&(o=new ji,o.children.push(n),r=t.getBoundingClientRect(),o.transform(M().translate(r.left,r.top)),e.append(o),!0)}function Ee(t,e,i){var n=ue(t),o=new hi([n.left,n.top],[n.width,n.height]),r=new Hi(e,o);ve(r,xe(t,n,"content")),i.append(r)}function Pe(t,e){var i=re(t),n=re(e),o=parseFloat(se(i,"z-index")),r=parseFloat(se(n,"z-index")),s=se(i,"position"),a=se(n,"position");return isNaN(o)&&isNaN(r)?/static|absolute/.test(s)&&/static|absolute/.test(a)?0:"static"==s?-1:"static"==a?1:0:isNaN(o)?0===r?0:r>0?-1:1:isNaN(r)?0===o?0:o>0?1:-1:parseFloat(o)-parseFloat(r)}function Be(t){return/^(?:textarea|select|input)$/i.test(t.tagName)}function Ie(t){return t.selectedOptions&&t.selectedOptions.length>0?t.selectedOptions[0]:t.options[t.selectedIndex]}function ze(t,e){var i=re(t),n=se(i,"color"),o=t.getBoundingClientRect();"checkbox"==t.type?(e.append(zi.fromRect(new hi([o.left+1,o.top+1],[o.width-2,o.height-2])).stroke(n,1)),t.checked&&e.append((new zi).stroke(n,1.2).moveTo(o.left+.22*o.width,o.top+.55*o.height).lineTo(o.left+.45*o.width,o.top+.75*o.height).lineTo(o.left+.78*o.width,o.top+.22*o.width))):(e.append(new wi(new fi([(o.left+o.right)/2,(o.top+o.bottom)/2],Math.min(o.width-2,o.height-2)/2)).stroke(n,1)),t.checked&&e.append(new wi(new fi([(o.left+o.right)/2,(o.top+o.bottom)/2],Math.min(o.width-8,o.height-8)/2)).fill(n).stroke(null)))}function Le(t,e){var i,n,o,r,s,a=t.tagName.toLowerCase();if("input"==a&&("checkbox"==t.type||"radio"==t.type))return ze(t,e);if(i=t.parentNode,n=t.ownerDocument,o=n.createElement(_o),o.style.cssText=Se(re(t)),"input"==a&&(o.style.whiteSpace="pre"),"select"!=a&&"textarea"!=a||(o.style.overflow="auto"),"select"==a)if(t.multiple)for(s=0;s<t.options.length;++s)r=n.createElement(_o),r.style.cssText=Se(re(t.options[s])),r.style.display="block",r.textContent=t.options[s].textContent,o.appendChild(r);else r=Ie(t),r&&(o.textContent=r.textContent);else o.textContent=t.value;i.insertBefore(o,t),o.scrollLeft=t.scrollLeft,o.scrollTop=t.scrollTop,t.style.display="none",Oe(o,e),t.style.display="",i.removeChild(o)}function Oe(t,e){var i,n,o,r,s,a,l;switch(yo._stackingContext.element===t&&(yo._stackingContext.group=e),t.tagName.toLowerCase()){case"img":Ee(t,t.src,e);break;case"canvas":try{Ee(t,t.toDataURL("image/png"),e)}catch(h){}break;case"textarea":case"input":case"select":Le(t,e);break;default:for(i=[],n=[],o=[],r=t.firstChild;r;r=r.nextSibling)switch(r.nodeType){case 3:/\S/.test(r.data)&&Re(t,r,e);break;case 1:s=re(r),a=se(s,"float"),l=se(s,"position"),"static"!=l?o.push(r):"none"!=a?n.push(r):i.push(r)}f(i,Pe).forEach(function(t){Ve(t,e)}),f(n,Pe).forEach(function(t){Ve(t,e)}),f(o,Pe).forEach(function(t){Ve(t,e)})}}function Re(t,e,i){function n(t){var e,i,n,o;if(vo.msie||vo.chrome){for(e=t.getClientRects(),i={top:1/0,right:-(1/0),bottom:-(1/0),left:1/0
},n=0;n<e.length;++n)o=e[n],o.width<=1||o.bottom===k||(i.left=Math.min(o.left,i.left),i.top=Math.min(o.top,i.top),i.right=Math.max(o.right,i.right),i.bottom=Math.max(o.bottom,i.bottom));return i.width=i.right-i.left,i.height=i.bottom-i.top,i}return t.getBoundingClientRect()}function o(){var t,i,o,s,a,u,d,f=h,p=l.substr(h).search(/\S/);if(h+=p,p<0||h>=c)return!0;if(g.setStart(e,h),g.setEnd(e,h+1),t=n(g),i=!1,(v||_>1)&&(p=l.substr(h).search(/\s/),p>=0&&(g.setEnd(e,h+p),o=n(g),o.bottom==t.bottom&&(t=o,i=!0,h+=p))),!i){if(p=function m(i,o,r){g.setEnd(e,o);var s=n(g);return s.bottom!=t.bottom&&i<o?m(i,i+o>>1,o):s.right!=t.right?(t=s,o<r?m(o,o+r>>1,r):o):o}(h,Math.min(c,h+b),c),p==h)return!0;if(h=p,p=(""+g).search(/\s+$/),0===p)return!1;p>0&&(g.setEnd(e,g.startOffset+p),t=n(g))}if(vo.msie&&(t=g.getClientRects()[0]),s=""+g,/^(?:pre|pre-wrap)$/i.test(w)){if(/\t/.test(s)){for(a=0,p=f;p<g.startOffset;++p)u=l.charCodeAt(p),9==u?a+=8-a%8:10==u||13==u?a=0:a++;for(;(p=s.search("\t"))>=0;)d="        ".substr(0,8-(a+p)%8),s=s.substr(0,p)+d+s.substr(p+1)}}else s=s.replace(/\s+/g," ");i||(k=t.bottom),r(s,t)}function r(t,e){var n,o,r;vo.msie&&!isNaN(d)&&(n=Ao(f),o=(e.top+e.bottom-n)/2,e={top:o,right:e.right,bottom:o+n,left:e.left,height:n,width:e.right-e.left}),r=new xo(t,new hi([e.left,e.top],[e.width,e.height]),{font:f,fill:{color:p}}),i.append(r)}function s(t){function e(e,n){var o,r;e&&(o=u/12,r=new zi({stroke:{width:o,color:e}}),n-=o,r.moveTo(t.left,n).lineTo(t.right,n),i.append(r))}e(C,t.bottom),e(S,t.bottom-t.height/2.7),e(T,t.top)}var a,l,h,c,u,d,f,p,g,m,v,_,w,y,x,b,k,C,S,T,A;if(!ne()&&(a=re(t),!(par

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。