Jonathan Ouellette 580e90f6a2 initial add
2022-09-27 14:10:30 -07:00

11 lines
41 KiB
JavaScript

/*
* Kendo UI Complete v2013.3.1119 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Complete commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx
* If you do not own a commercial license, this file shall be governed by the trial license terms.
*/
!function(define){return define([],function(){!function(e,t,n){function r(){}function o(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var n=e.charAt(0),r=e.substring(1);return"="===n?"+("+r+")+":":"===n?"+e("+r+")+":";"+e+";o+="}function i(e,t,n){return e+="",t=t||2,n=t-e.length,n?W[t].substring(0,n)+e:e}function a(t,n){var r,o,i,a,s,u,l,c,d,f,p,m,h,g=wt.browser,y="rtl"==t.css("direction");return t.parent().hasClass("k-animation-container")?(m=t.parent(".k-animation-container"),h=m[0].style,m.is(":hidden")&&m.show(),r=vt.test(h.width)||vt.test(h.height),r||m.css({width:t.outerWidth(),height:t.outerHeight(),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})):(o=t.css(ct.support.transitions.css+"box-shadow")||t.css("box-shadow"),i=o?o.match(Mt)||[0,0,0,0,0]:[0,0,0,0,0],a=gt.max(+i[3],+(i[4]||0)),s=-i[1]+a,u=+i[1]+a,l=+i[2]+a,c=t[0].style.width,d=t[0].style.height,f=vt.test(c),p=vt.test(d),g.opera&&(s=u=l=5),r=f||p,!f&&(!n||n&&c)&&(c=t.outerWidth()),!p&&(!n||n&&d)&&(d=t.outerHeight()),t.wrap(e("<div/>").addClass("k-animation-container").css({width:c,height:d,marginLeft:s*(y?1:-1),paddingLeft:s,paddingRight:u,paddingBottom:l})),r&&t.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})),g.msie&&gt.floor(g.version)<=7&&(t.css({zoom:1}),t.children(".k-menu").width(t.width())),t.parent()}function s(e){var t=1,n=arguments.length;for(t=1;n>t;t++)u(e,arguments[t]);return e}function u(e,t){var n,r,o,i,a=ct.data.ObservableArray,s=ct.data.DataSource;for(n in t)r=t[n],o=typeof r,o===zt&&null!==r&&r.constructor!==Array&&r.constructor!==a&&r.constructor!==s?r instanceof Date?e[n]=new Date(r.getTime()):(i=e[n],e[n]=typeof i===zt?i||{}:{},u(e[n],r)):o!==Ct&&(e[n]=r);return e}function l(e,t,r){for(var o in t)if(t.hasOwnProperty(o)&&t[o].test(e))return o;return r!==n?r:e}function c(e){return e.replace(/([a-z][A-Z])/g,function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()})}function d(e){return e.replace(/\-(\w)/g,function(e,t){return t.toUpperCase()})}function f(t,n){var r,o={};return document.defaultView&&document.defaultView.getComputedStyle?(r=document.defaultView.getComputedStyle(t,""),n&&e.each(n,function(e,t){o[t]=r.getPropertyValue(t)})):(r=t.currentStyle,n&&e.each(n,function(e,t){o[t]=r[d(t)]})),ct.size(o)||(o=r),o}function p(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n}function m(e,t,n){var r,o,i,a;return t||(t="offset"),r=e[t](),o=wt.mobileOS,wt.touch&&o.ios&&o.flatVersion<410&&(i="offset"==t?r:e.offset(),a=r.left==i.left&&r.top==i.top)?{top:r.top-window.scrollY,left:r.left-window.scrollX}:(!ct.support.pointers&&!ct.support.msPointers||n||(r.top-=window.pageYOffset-document.documentElement.scrollTop,r.left-=window.pageXOffset-document.documentElement.scrollLeft),r)}function h(e){var t={};return ft("string"==typeof e?e.split(" "):e,function(e){t[e]=this}),t}function g(e){return new ct.effects.Element(e)}function y(e,t,n,r){return typeof e===xt&&(D(t)&&(r=t,t=400,n=!1),D(n)&&(r=n,n=!1),typeof t===Dt&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:r}),dt({effects:{},duration:400,reverse:!1,init:ht,teardown:ht,hide:!1},e,{completeCallback:e.complete,complete:ht})}function w(t,n,r,o,i){for(var a,s=0,u=t.length;u>s;s++)a=e(t[s]),a.queue(function(){L.promise(a,y(n,r,o,i))});return t}function v(e,t,n,r,o,i){return L.transitionPromise(e,t,y(n,r,o,i))}function b(e,t,n,r){return t&&(t=t.split(" "),ft(t,function(t,n){e.toggleClass(n,r)})),e}function M(e){return(""+e).replace(R,"&amp;").replace(j,"&lt;").replace(B,"&gt;")}function S(e,r){var o;return 0===r.indexOf("data")&&(r=r.substring(4),r=r.charAt(0).toLowerCase()+r.substring(1)),r=r.replace(K,"-$1"),o=e.getAttribute("data-"+ct.ns+r),null===o?o=n:"null"===o?o=null:"true"===o?o=!0:"false"===o?o=!1:St.test(o)?o=parseFloat(o):G.test(o)&&!Q.test(o)&&(o=t("("+o+")")),o}function T(t,r){var o,i,a={};for(o in r)i=S(t,o),i!==n&&(q.test(o)&&(i=ct.template(e("#"+i).html())),a[o]=i);return a}function x(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&k(e)}function k(t){return!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")||e.expr.filters.hidden(this)}).length}function z(e,t){return new z.fn.init(e,t)}var O,D,C,A,H,E,N,P,F,_,I,W,U,L,R,j,B,J,$,Y,V,q,G,Q,K,Z,X,et,tt,nt,rt,ot,it,at,st,ut,lt,ct=window.kendo=window.kendo||{cultures:{}},dt=e.extend,ft=e.each,pt=e.isArray,mt=e.proxy,ht=e.noop,gt=Math,yt=window.JSON||{},wt={},vt=/%/,bt=/\{(\d+)(:[^\}]+)?\}/g,Mt=/(\d+?)px\s*(\d+?)px\s*(\d+?)px\s*(\d+?)?/i,St=/^(\+|-?)\d+(\.?)\d*$/,Tt="function",xt="string",kt="number",zt="object",Ot="null",Dt="boolean",Ct="undefined",At={},Ht={},Et=[].slice,Nt=window.Globalize;ct.version="2013.3.1119",r.extend=function(e){var t,n,r=function(){},o=this,i=e&&e.init?e.init:function(){o.apply(this,arguments)};r.prototype=o.prototype,n=i.fn=i.prototype=new r;for(t in e)n[t]=typeof e[t]!==zt||e[t]instanceof Array||null===e[t]?e[t]:dt(!0,{},r.prototype[t],e[t]);return n.constructor=i,i.extend=o.extend,i},r.prototype._initOptions=function(e){this.options=s({},this.options,e)},D=ct.isFunction=function(e){return"function"==typeof e},C=function(){this._defaultPrevented=!0},A=function(){return this._defaultPrevented===!0},H=r.extend({init:function(){this._events={}},bind:function(e,t,r){var o,i,a,s,u,l=this,c=typeof e===xt?[e]:e,d=typeof t===Tt;if(t===n){for(o in e)l.bind(o,e[o]);return l}for(o=0,i=c.length;i>o;o++)e=c[o],s=d?t:t[e],s&&(r&&(a=s,s=function(){l.unbind(e,s),a.apply(l,arguments)}),u=l._events[e]=l._events[e]||[],u.push(s));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,r,o,i,a=this,s=typeof e===xt?[e]:e,u=typeof t===Tt;for(n=0,r=s.length;r>n;n++)e=s[n],o=u?t:t[e],o&&(i=a._events[e]=a._events[e]||[],i.unshift(o));return a},trigger:function(e,t){var n,r,o=this,i=o._events[e];if(i){for(t=t||{},t.sender=o,t._defaultPrevented=!1,t.preventDefault=C,t.isDefaultPrevented=A,i=i.slice(),n=0,r=i.length;r>n;n++)i[n].call(o,t);return t._defaultPrevented===!0}return!1},unbind:function(e,t){var r,o=this,i=o._events[e];if(e===n)o._events={};else if(i)if(t)for(r=i.length-1;r>=0;r--)i[r]===t&&i.splice(r,1);else o._events[e]=[];return o}}),E=/^\w+/,N=/\$\{([^}]*)\}/g,P=/\\\}/g,F=/__CURLY__/g,_=/\\#/g,I=/__SHARP__/g,W=["","0","00","000","0000"],O={paramName:"data",useWithBlock:!0,render:function(e,t){var n,r,o="";for(n=0,r=t.length;r>n;n++)o+=e(t[n]);return o},compile:function(t,n){var r,i,a,s=dt({},this,n),u=s.paramName,l=u.match(E)[0],c=s.useWithBlock,d="var o,e=kendo.htmlEncode;";if(D(t))return 2===t.length?function(n){return t(e,{data:n}).join("")}:t;for(d+=c?"with("+u+"){":"",d+="o=",i=t.replace(P,"__CURLY__").replace(N,"#=e($1)#").replace(F,"}").replace(_,"__SHARP__").split("#"),a=0;a<i.length;a++)d+=o(i[a],0===a%2);d+=c?";}":";",d+="return o;",d=d.replace(I,"#");try{return r=Function(l,d),r._slotCount=Math.floor(i.length/2),r}catch(f){throw Error(ct.format("Invalid template:'{0}' Generated code:'{1}'",t,d))}}},function(){function e(e){return a.lastIndex=0,a.test(e)?'"'+e.replace(a,function(e){var t=s[e];return typeof t===xt?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function t(i,a){var s,l,c,d,f,p,m=n,h=a[i];if(h&&typeof h===zt&&typeof h.toJSON===Tt&&(h=h.toJSON(i)),typeof o===Tt&&(h=o.call(a,i,h)),p=typeof h,p===xt)return e(h);if(p===kt)return isFinite(h)?h+"":Ot;if(p===Dt||p===Ot)return h+"";if(p===zt){if(!h)return Ot;if(n+=r,f=[],"[object Array]"===u.apply(h)){for(d=h.length,s=0;d>s;s++)f[s]=t(s,h)||Ot;return c=0===f.length?"[]":n?"[\n"+n+f.join(",\n"+n)+"\n"+m+"]":"["+f.join(",")+"]",n=m,c}if(o&&typeof o===zt)for(d=o.length,s=0;d>s;s++)typeof o[s]===xt&&(l=o[s],c=t(l,h),c&&f.push(e(l)+(n?": ":":")+c));else for(l in h)Object.hasOwnProperty.call(h,l)&&(c=t(l,h),c&&f.push(e(l)+(n?": ":":")+c));return c=0===f.length?"{}":n?"{\n"+n+f.join(",\n"+n)+"\n"+m+"}":"{"+f.join(",")+"}",n=m,c}}var n,r,o,a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},u={}.toString;typeof Date.prototype.toJSON!==Tt&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?i(e.getUTCFullYear(),4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof yt.stringify!==Tt&&(yt.stringify=function(e,i,a){var s;if(n="",r="",typeof a===kt)for(s=0;a>s;s+=1)r+=" ";else typeof a===xt&&(r=a);if(o=i,i&&typeof i!==Tt&&(typeof i!==zt||typeof i.length!==kt))throw Error("JSON.stringify");return t("",{"":e})})}(),function(){function e(e){if(e){if(e.numberFormat)return e;if(typeof e===xt){var t=ct.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function t(t){return t&&(t=e(t)),t||ct.cultures.current}function r(e){e.groupSizes=e.groupSize,e.percent.groupSizes=e.percent.groupSize,e.currency.groupSizes=e.currency.groupSize}function o(e,r,o){o=t(o);var a=o.calendars.standard,s=a.days,u=a.months;return r=a.patterns[r]||r,r.replace(l,function(t){var r;return"d"===t?r=e.getDate():"dd"===t?r=i(e.getDate()):"ddd"===t?r=s.namesAbbr[e.getDay()]:"dddd"===t?r=s.names[e.getDay()]:"M"===t?r=e.getMonth()+1:"MM"===t?r=i(e.getMonth()+1):"MMM"===t?r=u.namesAbbr[e.getMonth()]:"MMMM"===t?r=u.names[e.getMonth()]:"yy"===t?r=i(e.getFullYear()%100):"yyyy"===t?r=i(e.getFullYear(),4):"h"===t?r=e.getHours()%12||12:"hh"===t?r=i(e.getHours()%12||12):"H"===t?r=e.getHours():"HH"===t?r=i(e.getHours()):"m"===t?r=e.getMinutes():"mm"===t?r=i(e.getMinutes()):"s"===t?r=e.getSeconds():"ss"===t?r=i(e.getSeconds()):"f"===t?r=gt.floor(e.getMilliseconds()/100):"ff"===t?r=gt.floor(e.getMilliseconds()/10):"fff"===t?r=e.getMilliseconds():"tt"===t&&(r=e.getHours()<12?a.AM[0]:a.PM[0]),r!==n?r:t.slice(1,t.length-1)})}function a(e,r,o){o=t(o);var i,a,u,l,v,b,M,S,T,x,k,z,O,D,C,A,H,E,N,P,F,_,I,W=o.numberFormat,U=W.groupSize[0],L=W[h],R=W[m],j=W.decimals,B=W.pattern[0],J=[],$=0>e,Y=p,V=p,q=-1;if(e===n)return p;if(!isFinite(e))return e;if(!r)return o.name.length?e.toLocaleString():""+e;if(v=c.exec(r)){if(r=v[1].toLowerCase(),a="c"===r,u="p"===r,(a||u)&&(W=a?W.currency:W.percent,U=W.groupSize[0],L=W[h],R=W[m],j=W.decimals,i=W.symbol,B=W.pattern[$?0:1]),l=v[2],l&&(j=+l),"e"===r)return l?e.toExponential(j):e.toExponential();if(u&&(e*=100),e=s(e,j),e=e.split(m),b=e[0],M=e[1],$&&(b=b.substring(1)),V=b,S=b.length,S>=U)for(V=p,x=0;S>x;x++)x>0&&0===(S-x)%U&&(V+=L),V+=b.charAt(x);if(M&&(V+=R+M),"n"===r&&!$)return V;for(e=p,x=0,k=B.length;k>x;x++)z=B.charAt(x),e+="n"===z?V:"$"===z||"%"===z?i:z;return e}if($&&(e=-e),(r.indexOf("'")>-1||r.indexOf('"')>-1||r.indexOf("\\")>-1)&&(r=r.replace(d,function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return J.push(n),w})),r=r.split(";"),$&&r[1])r=r[1],D=!0;else if(0===e){if(r=r[2]||r[0],-1==r.indexOf(g)&&-1==r.indexOf(y))return r}else r=r[0];if(P=r.indexOf("%"),F=r.indexOf("$"),u=-1!=P,a=-1!=F,u&&(e*=100),a&&"\\"===r[F-1]&&(r=r.split("\\").join(""),a=!1),(a||u)&&(W=a?W.currency:W.percent,U=W.groupSize[0],L=W[h],R=W[m],j=W.decimals,i=W.symbol),O=r.indexOf(h)>-1,O&&(r=r.replace(f,p)),C=r.indexOf(m),k=r.length,-1!=C?(M=(""+e).split("e"),M=M[1]?s(e,Math.abs(M[1])):M[0],M=M.split(m)[1]||p,H=r.lastIndexOf(y)-C,A=r.lastIndexOf(g)-C,E=H>-1,N=A>-1,x=M.length,E||N||(r=r.substring(0,C)+r.substring(C+1),k=r.length,C=-1,x=0),E&&H>A?x=H:A>H&&(N&&x>A?x=A:E&&H>x&&(x=H)),x>-1&&(e=s(e,x))):e=s(e),A=r.indexOf(g),_=H=r.indexOf(y),q=-1==A&&-1!=H?H:-1!=A&&-1==H?A:A>H?H:A,A=r.lastIndexOf(g),H=r.lastIndexOf(y),I=-1==A&&-1!=H?H:-1!=A&&-1==H?A:A>H?A:H,q==k&&(I=q),-1!=q){if(V=(""+e).split(m),b=V[0],M=V[1]||p,S=b.length,T=M.length,O)if(S===U&&C-_>S)b=L+b;else if(S>U){for(V=p,x=0;S>x;x++)x>0&&0===(S-x)%U&&(V+=L),V+=b.charAt(x);b=V}for(e=r.substring(0,q),$&&!D&&(e+="-"),x=q;k>x;x++){if(z=r.charAt(x),-1==C){if(S>I-x){e+=b;break}}else if(-1!=H&&x>H&&(Y=p),S>=C-x&&C-x>-1&&(e+=b,x=C),C===x){e+=(M?R:p)+M,x+=I-C+1;continue}z===y?(e+=z,Y=z):z===g&&(e+=Y)}if(I>=q&&(e+=r.substring(I+1)),a||u){for(V=p,x=0,k=e.length;k>x;x++)z=e.charAt(x),V+="$"===z||"%"===z?i:z;e=V}if(k=J.length)for(x=0;k>x;x++)e=e.replace(w,J[x])}return e}var s,u,l=/dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|"[^"]*"|'[^']*'/g,c=/^(n|c|p|e)(\d*)$/i,d=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,f=/\,/g,p="",m=".",h=",",g="#",y="0",w="??",v="en-US",b={}.toString;ct.cultures["en-US"]={name:v,numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n %","n %"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{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}}},ct.culture=function(t){var o,i=ct.cultures;return t===n?i.current:(o=e(t)||i[v],o.calendar=o.calendars.standard,i.current=o,Nt&&r(o.numberFormat),n)},ct.findCulture=e,ct.getCulture=t,ct.culture(v),s=function(e,t){var n=Math.pow(10,t||0);return(Math.round(e*n)/n).toFixed(t)},u=function(e,t,r){if(t){if("[object Date]"===b.call(e))return o(e,t,r);if(typeof e===kt)return a(e,t,r)}return e!==n?e:""},Nt&&(u=mt(Nt.format,Nt)),ct.format=function(e){var t=arguments;return e.replace(bt,function(e,n,r){var o=t[parseInt(n,10)+1];return u(o,r?r.substring(1):"")})},ct._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},ct._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},ct._round=s,ct.toString=u}(),function(){function t(e,t,n){return!(e>=t&&n>=e)}function r(e){return e.charAt(0)}function o(t){return e.map(t,r)}function i(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}function a(e){for(var t=0,n=e.length,r=[];n>t;t++)r[t]=(e[t]+"").toLowerCase();return r}function s(e){var t,n={};for(t in e)n[t]=a(e[t]);return n}function u(e,r,a){if(!e)return null;var u,l,c,p,m,g,y,w,v,b,M,S,T,x=function(e){for(var t=0;r[_]===e;)t++,_++;return t>0&&(_-=1),t},k=function(t){var n=h[t]||RegExp("^\\d{1,"+t+"}"),r=e.substr(I,t).match(n);return r?(r=r[0],I+=r.length,parseInt(r,10)):null},z=function(t,n){for(var r,o,i,a=0,s=t.length;s>a;a++)if(r=t[a],o=r.length,i=e.substr(I,o),n&&(i=i.toLowerCase()),i==r)return I+=o,a+1;return null},O=function(){var t=!1;return e.charAt(I)===r[_]&&(I++,t=!0),t},D=a.calendars.standard,C=null,A=null,H=null,E=null,N=null,P=null,F=null,_=0,I=0,W=!1,U=new Date,L=D.twoDigitYearMax||2029,R=U.getFullYear();for(r||(r="d"),p=D.patterns[r],p&&(r=p),r=r.split(""),c=r.length;c>_;_++)if(u=r[_],W)"'"===u?W=!1:O();else if("d"===u){if(l=x("d"),D._lowerDays||(D._lowerDays=s(D.days)),H=3>l?k(2):z(D._lowerDays[3==l?"namesAbbr":"names"],!0),null===H||t(H,1,31))return null}else if("M"===u){if(l=x("M"),D._lowerMonths||(D._lowerMonths=s(D.months)),A=3>l?k(2):z(D._lowerMonths[3==l?"namesAbbr":"names"],!0),null===A||t(A,1,12))return null;A-=1}else if("y"===u){if(l=x("y"),C=k(l),null===C)return null;2==l&&("string"==typeof L&&(L=R+parseInt(L,10)),C=R-R%100+C,C>L&&(C-=100))}else if("h"===u){if(x("h"),E=k(2),12==E&&(E=0),null===E||t(E,0,11))return null}else if("H"===u){if(x("H"),E=k(2),null===E||t(E,0,23))return null}else if("m"===u){if(x("m"),N=k(2),null===N||t(N,0,59))return null}else if("s"===u){if(x("s"),P=k(2),null===P||t(P,0,59))return null}else if("f"===u){if(l=x("f"),F=k(l),null!==F&&l>3&&(F=parseInt((""+F).substring(0,3),10)),null===F||t(F,0,999))return null}else if("t"===u){if(l=x("t"),v=D.AM,b=D.PM,1===l&&(v=o(v),b=o(b)),m=z(b),!m&&!z(v))return null}else if("z"===u){if(g=!0,l=x("z"),"Z"===e.substr(I,1)){if(!y)return null;O();continue}if(w=e.substr(I,6).match(l>2?f:d),!w)return null;if(w=w[0],I=w.length,w=w.split(":"),M=parseInt(w[0],10),t(M,-12,13))return null;if(l>2&&(S=parseInt(w[1],10),isNaN(S)||t(S,0,59)))return null}else if("T"===u)y=O();else if("'"===u)W=!0,O();else if(!O())return null;return T=null!==E||null!==N||P||null,null===C&&null===A&&null===H&&T?(C=R,A=U.getMonth(),H=U.getDate()):(null===C&&(C=R),null===H&&(H=1)),m&&12>E&&(E+=12),g?(M&&(E+=-M),S&&(N+=-S),e=new Date(Date.UTC(C,A,H,E,N,P,F))):(e=new Date(C,A,H,E,N,P,F),i(e,E)),100>C&&e.setFullYear(C),e.getDate()!==H&&g===n?null:e}var l=/\u00A0/g,c=/[eE][\-+]?[0-9]+/,d=/[+|\-]\d{1,2}/,f=/[+|\-]\d{1,2}:\d{2}/,p=/^\/Date\((.*?)\)\/$/,m=["G","g","d","F","D","y","m","T","t"],h={2:/^\d{1,2}/,4:/^\d{4}/},g={}.toString;ct.parseDate=function(e,t,n){if("[object Date]"===g.call(e))return e;var r,o,i=0,a=null;if(e&&0===e.indexOf("/D")&&(a=p.exec(e)))return new Date(parseInt(a[1],10));if(n=ct.getCulture(n),!t){for(t=[],o=n.calendar.patterns,r=m.length;r>i;i++)t[i]=o[m[i]];i=0,t.push("yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","ddd MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.fffffffzzz","yyyy-MM-ddTHH:mm:ss.fffzzz","yyyy-MM-ddTHH:mm:sszzz","yyyy-MM-ddTHH:mmzzz","yyyy-MM-ddTHH:mmzz","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd")}for(t=pt(t)?t:[t],r=t.length;r>i;i++)if(a=u(e,t[i],n))return a;return a},ct.parseInt=function(e,t){var n=ct.parseFloat(e,t);return n&&(n=0|n),n},ct.parseFloat=function(e,t,n){if(!e&&0!==e)return null;if(typeof e===kt)return e;e=""+e,t=ct.getCulture(t);var r,o,i=t.numberFormat,a=i.percent,s=i.currency,u=s.symbol,d=a.symbol,f=e.indexOf("-");return c.test(e)?(e=parseFloat(e.replace(i["."],".")),isNaN(e)&&(e=null),e):f>0?null:(f=f>-1,e.indexOf(u)>-1||n&&n.toLowerCase().indexOf("c")>-1?(i=s,r=i.pattern[0].replace("$",u).split("n"),e.indexOf(r[0])>-1&&e.indexOf(r[1])>-1&&(e=e.replace(r[0],"").replace(r[1],""),f=!0)):e.indexOf(d)>-1&&(o=!0,i=a,u=d),e=e.replace("-","").replace(u,"").replace(l," ").split(i[","].replace(l," ")).join("").replace(i["."],"."),e=parseFloat(e),isNaN(e)?e=null:f&&(e*=-1),e&&o&&(e/=100),e)},Nt&&(ct.parseDate=function(e,t,n){return"[object Date]"===g.call(e)?e:Nt.parseDate(e,t,n)},ct.parseFloat=function(e,t){return typeof e===kt?e:e===n||null===e?null:(e=Nt.parseFloat(e,t),isNaN(e)?null:e)})}(),function(){var t,r,o,i,a,s,u;wt.scrollbar=function(){var e,t=document.createElement("div");return t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both",t.innerHTML="&nbsp;",document.body.appendChild(t),e=t.offsetWidth-t.scrollWidth,document.body.removeChild(t),e},wt.isRtl=function(t){return e(t).closest(".k-rtl").length>0},t=document.createElement("table");try{t.innerHTML="<tr><td></td></tr>",wt.tbodyInnerHtml=!0}catch(c){wt.tbodyInnerHtml=!1}wt.touch="ontouchstart"in window,wt.msPointers=navigator.msPointerEnabled,wt.pointers=navigator.pointerEnabled,r=wt.transitions=!1,o=wt.transforms=!1,i="HTMLElement"in window?HTMLElement.prototype:[],wt.hasHW3D="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix||"MozPerspective"in document.documentElement.style||"msPerspective"in document.documentElement.style,ft(["Moz","webkit","O","ms"],function(){var e,i=""+this,a=typeof t.style[i+"Transition"]===xt;return a||typeof t.style[i+"Transform"]===xt?(e=i.toLowerCase(),o={css:"ms"!=e?"-"+e+"-":"",prefix:i,event:"o"===e||"webkit"===e?e:""},a&&(r=o,r.event=r.event?r.event+"TransitionEnd":"transitionend"),!1):n}),wt.transforms=o,wt.transitions=r,wt.devicePixelRatio=window.devicePixelRatio===n?1:window.devicePixelRatio;try{wt.screenWidth=window.outerWidth||window.screen?window.screen.availWidth:window.innerWidth,wt.screenHeight=window.outerHeight||window.screen?window.screen.availHeight:window.innerHeight}catch(c){wt.screenWidth=window.screen.availWidth,wt.screenHeight=window.screen.availHeight}wt.detectOS=function(e){var t,n,r=!1,o=[],i=!/mobile safari/i.test(e),a={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+)?)/,wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},s={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,meego:/meego|ffos/},u={tablet:/playbook|ipad|fire/i},c={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,chrome:/chrome/i,webkit:/webkit/i,ie:/MSIE|Windows\sPhone/i};for(n in a)if(a.hasOwnProperty(n)&&(o=e.match(a[n]))){if("windows"==n&&"plugins"in navigator)return!1;r={},r.device=n,r.tablet=l(n,u,!1),r.browser=l(e,c,"default"),r.name=l(n,s),r[r.name]=!0,r.majorVersion=o[2],r.minorVersion=o[3].replace("_","."),t=r.minorVersion.replace(".","").substr(0,2),r.flatVersion=r.majorVersion+t+Array(3-(t.length<3?t.length:2)).join("0"),r.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||typeof window.PhoneGap!==Ct||typeof window.cordova!==Ct,r.android&&(wt.devicePixelRatio<1.5&&r.flatVersion<400||i)&&(wt.screenWidth>800||wt.screenHeight>800)&&(r.tablet=n);break}return r},a=wt.mobileOS=wt.detectOS(navigator.userAgent),wt.wpDevicePixelRatio=a.wp?screen.width/320:0,wt.kineticScrollNeeded=a&&(wt.touch||wt.msPointers||wt.pointers),wt.hasNativeScrolling=!1,(a.ios&&a.majorVersion>4||a.android&&a.majorVersion>2||a.wp)&&(wt.hasNativeScrolling=a),wt.mouseAndTouchPresent=wt.touch&&!(wt.mobileOS.ios||wt.mobileOS.android),wt.detectBrowser=function(e){var t,n=!1,r=[],o={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(t in o)if(o.hasOwnProperty(t)&&(r=e.match(o[t]))){n={},n[t]=!0,n[r[1].toLowerCase()]=!0,n.version=parseInt(document.documentMode||r[2],10);break}return n},wt.browser=wt.detectBrowser(navigator.userAgent),wt.zoomLevel=function(){try{return wt.touch?document.documentElement.clientWidth/window.innerWidth:wt.browser.msie&&wt.browser.version>=10?(top||window).outerWidth/(top||window).innerWidth:1}catch(e){return 1}},wt.cssBorderSpacing=n!==document.documentElement.style.borderSpacing&&!(wt.browser.msie&&wt.browser.version<8),function(t){var n,r=parseInt(t.version,10);t.msie?n="ie":t.mozilla?n="ff":t.safari?n="safari":t.webkit?n="webkit":t.opera&&(n="opera"),n&&e(document.documentElement).addClass("k-"+n+" k-"+n+r)}(wt.browser),wt.eventCapture=document.documentElement.addEventListener,s=document.createElement("input"),wt.placeholder="placeholder"in s,wt.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,r="test",o={},i=0;n>i;i++)e=t[i],s.setAttribute("type",e),s.value=r,o[e.replace("-","")]="text"!==s.type&&s.value!==r;return o}(),wt.stableSort=function(){var e=[0,1,2,3,4,5,6,7,8,9,10,11,12].sort(function(){return 0});return 0===e[0]&&1===e[1]&&2===e[2]&&3===e[3]&&4===e[4]&&5===e[5]&&6===e[6]&&7===e[7]&&8===e[8]&&9===e[9]&&10===e[10]&&11===e[11]&&12===e[12]}(),wt.matchesSelector=i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.matchesSelector||function(t){for(var n=document.querySelectorAll?(this.parentNode||document).querySelectorAll(t)||[]:e(t),r=n.length;r--;)if(n[r]==this)return!0;return!1},wt.pushState=window.history&&window.history.pushState,u=document.documentMode,wt.hashChange="onhashchange"in window&&!(wt.browser.msie&&(!u||8>=u))}(),U={left:{reverse:"right"},right:{reverse:"left"},down:{reverse:"up"},up:{reverse:"down"},top:{reverse:"bottom"},bottom:{reverse:"top"},"in":{reverse:"out"},out:{reverse:"in"}},L={},e.extend(L,{Element:function(t){this.element=e(t)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},transitionPromise:function(e,t,n){var r=ct.wrap(e);return r.append(t),e.hide(),t.show(),n.completeCallback&&n.completeCallback(e),e}}),"kendoAnimate"in e.fn||dt(e.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,r){return w(this,e,t,n,r)},kendoAnimateTo:function(e,t,n,r,o){return v(this,e,t,n,r,o)},kendoAddClass:function(e,t){return ct.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return ct.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return ct.toggleClass(this,e,t,n)}}),R=/&/g,j=/</g,B=/>/g,J=function(e){return e.target},wt.touch&&(J=function(e){var t="originalEvent"in e?e.originalEvent.changedTouches:"changedTouches"in e?e.changedTouches:null;return t?document.elementFromPoint(t[0].clientX,t[0].clientY):e.target},ft(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],function(t,n){e.fn[n]=function(e){return this.bind(n,e)}})),wt.touch?wt.mobileOS?(wt.mousedown="touchstart",wt.mouseup="touchend",wt.mousemove="touchmove",wt.mousecancel="touchcancel",wt.click="touchend",wt.resize="orientationchange"):(wt.mousedown="mousedown touchstart",wt.mouseup="mouseup touchend",wt.mousemove="mousemove touchmove",wt.mousecancel="mouseleave touchcancel",wt.click="click",wt.resize="resize"):wt.pointers?(wt.mousemove="pointermove",wt.mousedown="pointerdown",wt.mouseup="pointerup",wt.mousecancel="pointercancel",wt.click="pointerup",wt.resize="orientationchange resize"):wt.msPointers?(wt.mousemove="MSPointerMove",wt.mousedown="MSPointerDown",wt.mouseup="MSPointerUp",wt.mousecancel="MSPointerCancel",wt.click="MSPointerUp",wt.resize="orientationchange resize"):(wt.mousemove="mousemove",wt.mousedown="mousedown",wt.mouseup="mouseup",wt.mousecancel="mouseleave",wt.click="click",wt.resize="resize"),$=function(e,t){var n,r,o,i,a=t||"d",s=1;for(r=0,o=e.length;o>r;r++)i=e[r],""!==i&&(n=i.indexOf("["),0!==n&&(-1==n?i="."+i:(s++,i="."+i.substring(0,n)+" || {})"+i.substring(n))),s++,a+=i+(o-1>r?" || {})":")"));return Array(s).join("(")+a},Y=/^([a-z]+:)?\/\//i,dt(ct,{ui:ct.ui||{},fx:ct.fx||g,effects:ct.effects||L,mobile:ct.mobile||{},data:ct.data||{},dataviz:ct.dataviz||{ui:{roles:{}}},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},support:ct.support||wt,animate:ct.animate||w,ns:"",attr:function(e){return"data-"+ct.ns+e},wrap:a,deepExtend:s,getComputedStyles:f,size:p,toCamelCase:d,toHyphens:c,getOffset:ct.getOffset||m,parseEffects:ct.parseEffects||h,toggleClass:ct.toggleClass||b,directions:ct.directions||U,Observable:H,Class:r,Template:O,template:mt(O.compile,O),render:mt(O.render,O),stringify:mt(yt.stringify,yt),eventTarget:J,htmlEncode:M,isLocalUrl:function(e){return e&&!Y.test(e)},expr:function(e,t,n){return e=e||"",typeof t==xt&&(n=t,t=!1),n=n||"d",e&&"["!==e.charAt(0)&&(e="."+e),e=t?$(e.split("."),n):n+e},getter:function(e,t){return At[e]=At[e]||Function("d","return "+ct.expr(e,t))},setter:function(e){return Ht[e]=Ht[e]||Function("d,value",ct.expr(e)+"=value")},accessor:function(e){return{get:ct.getter(e),set:ct.setter(e)}},guid:function(){var e,t,n="";for(e=0;32>e;e++)t=0|16*gt.random(),(8==e||12==e||16==e||20==e)&&(n+="-"),n+=(12==e?4:16==e?8|3&t:t).toString(16);return n},roleSelector:function(e){return e.replace(/(\S+)/g,"["+ct.attr("role")+"=$1],").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},logToConsole:function(e){var t=window.console;n!==t&&t.log&&t.log(e)}}),V=H.extend({init:function(e,t){var n=this;n.element=ct.jQuery(e).handler(n),H.fn.init.call(n),t=n.options=dt(!0,{},n.options,t),n.element.attr(ct.attr("role"))||n.element.attr(ct.attr("role"),(t.name||"").toLowerCase()),n.element.data("kendo"+t.prefix+t.name,n),n.bind(n.events,t)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",r=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(r)?0:r)},setOptions:function(t){for(var n,r=this,o=0,i=r.events.length;i>o;o++)n=r.events[o],r.options[n]&&t[n]&&r.unbind(n,r.options[n]);e.extend(r.options,t),r.bind(r.events,t)},resize:function(e){var t=this.getSize(),n=this._size;(e||!n||t.width!==n.width||t.height!==n.height)&&(this._resize(t),this.trigger("resize",t),this._size=t)},getSize:function(){return ct.dimensions(this.element)},size:function(e){return e?(this.setSize(e),n):this.getSize()},setSize:e.noop,_resize:e.noop,destroy:function(){var e=this;e.element.removeData("kendo"+e.options.prefix+e.options.name),e.element.removeData("handler"),e.unbind()}}),ct.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},ct.notify=ht,q=/template$/i,G=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,Q=/^\{(\d+)(:[^\}]+)?\}/,K=/([A-Z])/g,ct.initWidget=function(t,r,o){var i,a,s,u,l,c,d,f;if(o?o.roles&&(o=o.roles):o=ct.ui.roles,t=t.nodeType?t:t[0],c=t.getAttribute("data-"+ct.ns+"role"),c&&(s=-1===c.indexOf(".")?o[c]:ct.getter(c)(window))){for(f=S(t,"dataSource"),r=e.extend({},T(t,s.fn.options),r),f&&(r.dataSource=typeof f===xt?ct.getter(f)(window):f),u=0,l=s.fn.events.length;l>u;u++)a=s.fn.events[u],d=S(t,a),d!==n&&(r[a]=ct.getter(d)(window));return i=e(t).data("kendo"+s.fn.options.prefix+s.fn.options.name),i?i.setOptions(r):i=new s(t,r),i}},ct.rolesFromNamespaces=function(e){var t,n,r=[];for(e[0]||(e=[ct.ui,ct.dataviz.ui]),t=0,n=e.length;n>t;t++)r[t]=e[t].roles;return dt.apply(null,[{}].concat(r.reverse()))},ct.init=function(t){var n=ct.rolesFromNamespaces(Et.call(arguments,1));e(t).find("[data-"+ct.ns+"role]").addBack().each(function(){ct.initWidget(this,{},n)})},ct.destroy=function(t){e(t).find("[data-"+ct.ns+"role]").addBack().each(function(){var t=ct.widgetInstance(e(this));t&&t.destroy()})},ct.resize=function(t){e(t).each(function(){var t,n=e(this);(n.is(":visible")||-1!==e.inArray(n.attr("data-role"),["slider","rangeslider"]))&&(n.is("[data-"+ct.ns+"role]")&&(t=ct.widgetInstance(n),t&&t.resize()),ct.resize(n.children()))})},ct.parseOptions=T,dt(ct.ui,{Widget:V,roles:{},progress:function(t,n){var r,o,i,a,s=t.find(".k-loading-mask"),u=ct.support,l=u.browser;n?s.length||(r=u.isRtl(t),o=r?"right":"left",a=t.scrollLeft(),i=l.webkit?r?t[0].scrollWidth-t.width()-2*a:0:0,s=e("<div class='k-loading-mask'><span class='k-loading-text'>Loading...</span><div class='k-loading-image'/><div class='k-loading-color'/></div>").width("100%").height("100%").css("top",t.scrollTop()).css(o,Math.abs(a)+i).prependTo(t)):s&&s.remove()},plugin:function(t,r,o){var i,a=t.fn.options.name;r=r||ct.ui,o=o||"",r[a]=t,r.roles[a.toLowerCase()]=t,i="getKendo"+o+a,a="kendo"+o+a,e.fn[a]=function(r){var o,i=this;return typeof r===xt?(o=Et.call(arguments,1),this.each(function(){var t,s,u=e.data(this,a);if(!u)throw Error(ct.format("Cannot call method '{0}' of {1} before it is initialized",r,a));if(t=u[r],typeof t!==Tt)throw Error(ct.format("Cannot find method '{0}' of {1}",r,a));
return s=t.apply(u,o),s!==n?(i=s,!1):n})):this.each(function(){new t(this,r)}),i},e.fn[i]=function(){return this.data(a)}}}),Z={bind:function(){return this}},X=V.extend({init:function(e,t){V.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){V.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(ct.roleSelector("view splitview modalview drawer"));return ct.widgetInstance(e,ct.mobile.ui)},container:function(){var e=this.element.closest(ct.roleSelector("view layout modalview drawer"));return ct.widgetInstance(e,ct.mobile.ui)||Z}}),dt(ct.mobile,{init:function(e){ct.init(e,ct.mobile.ui,ct.ui,ct.dataviz.ui)},ui:{Widget:X,roles:{},plugin:function(e){ct.ui.plugin(e,ct.mobile.ui,"Mobile")}}}),ct.touchScroller=function(t,n){return e(t).map(function(t,r){return r=e(r),wt.kineticScrollNeeded&&ct.mobile.ui.Scroller&&!r.data("kendoMobileScroller")?(r.kendoMobileScroller(n),r.data("kendoMobileScroller")):!1})[0]},ct.preventDefault=function(e){e.preventDefault()},ct.widgetInstance=function(t,r){var o,i=t.data(ct.ns+"role");return"content"===i&&(i="scroller"),r||(r={roles:e.extend({},ct.mobile.ui.roles,ct.dataviz.ui.roles,ct.ui.roles)}),o=r.roles[i],o?t.data("kendo"+o.fn.options.prefix+o.fn.options.name):n},ct.onResize=function(t){var n=t;return wt.mobileOS.android&&(n=function(){setTimeout(t,600)}),e(window).on(wt.resize,n),n},ct.unbindResize=function(t){e(window).off(wt.resize,t)},ct.attrValue=function(e,t){return e.data(ct.ns+t)},ct.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},e.extend(e.expr[":"],{kendoFocusable:function(t){var n=e.attr(t,"tabindex");return x(t,!isNaN(n)&&n>-1)}}),et=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],tt="label, input, [data-rel=external]",nt={setupMouseMute:function(){var t,n=0,r=et.length,o=document.documentElement;if(!nt.mouseTrap&&wt.eventCapture)for(nt.mouseTrap=!0,nt.bustClick=!1,nt.captureMouse=!1,t=function(t){nt.captureMouse&&("click"===t.type?nt.bustClick&&!e(t.target).is(tt)&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};r>n;n++)o.addEventListener(et[n],t,!0)},muteMouse:function(e){nt.captureMouse=!0,e.data.bustClick&&(nt.bustClick=!0),clearTimeout(nt.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(nt.mouseTrapTimeoutID),nt.mouseTrapTimeoutID=setTimeout(function(){nt.captureMouse=!1,nt.bustClick=!1},400)}},rt={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},wt.touch&&(wt.mobileOS.ios||wt.mobileOS.android)?rt={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:wt.pointers?rt={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:wt.msPointers&&(rt={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),!wt.msPointers||"onmspointerenter"in window||e.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var r,o=this,i=t.relatedTarget,a=t.handleObj;return(!i||i!==o&&!e.contains(o,i))&&(t.type=a.origType,r=a.handler.apply(this,arguments),t.type=n),r}}}),ot=function(e){return rt[e]||e},it=/([^ ]+)/g,ct.applyEventMap=function(e,t){return e=e.replace(it,ot),t&&(e=e.replace(it,"$1."+t)),e},at=e.fn.on,dt(!0,z,e),z.fn=z.prototype=new e,z.fn.constructor=z,z.fn.init=function(t,n){return n&&n instanceof e&&!(n instanceof z)&&(n=z(n)),e.fn.init.call(this,t,n,st)},z.fn.init.prototype=z.fn,st=z(document),dt(z.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||ct.guid()),this},on:function(){var e,t,n,r,o,i,a=this,s=a.data("kendoNS");return 1===arguments.length?at.call(a,arguments[0]):(e=a,t=Et.call(arguments),typeof t[t.length-1]===Ct&&t.pop(),n=t[t.length-1],r=ct.applyEventMap(t[0],s),wt.mouseAndTouchPresent&&r.search(/mouse|click/)>-1&&this[0]!==document.documentElement&&(nt.setupMouseMute(),o=2===t.length?null:t[1],i=r.indexOf("click")>-1&&r.indexOf("touchend")>-1,at.call(this,{touchstart:nt.muteMouse,touchend:nt.unMuteMouse},o,{bustClick:i})),typeof n===xt&&(e=a.data("handler"),n=e[n],t[t.length-1]=function(t){n.call(e,t)}),t[0]=r,at.apply(a,t),a)},kendoDestroy:function(e){return e=e||this.data("kendoNS"),e&&this.off("."+e),this}}),ct.jQuery=z,ct.eventMap=rt,ct.timezone=function(){function e(e,t){var n,r,o,i=t[3],a=t[4],s=t[5],u=t[8];return u||(t[8]=u={}),u[e]?u[e]:(isNaN(a)?0===a.indexOf("last")?(n=new Date(Date.UTC(e,c[i]+1,1,s[0]-24,s[1],s[2],0)),r=d[a.substr(4,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o-(r>o?7:0))):a.indexOf(">=")>=0&&(n=new Date(Date.UTC(e,c[i],a.substr(5),s[0],s[1],s[2],0)),r=d[a.substr(0,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o+(o>r?7:0))):n=new Date(Date.UTC(e,c[i],a,s[0],s[1],s[2],0)),u[e]=n)}function t(t,n,r){var o,i,a;return(n=n[r])?(a=new Date(t).getUTCFullYear(),n=jQuery.grep(n,function(e){var t=e[0],n=e[1];return a>=t&&(n>=a||t==a&&"only"==n||"max"==n)}),n.push(t),n.sort(function(t,n){return"number"!=typeof t&&(t=Number(e(a,t))),"number"!=typeof n&&(n=Number(e(a,n))),t-n}),n[jQuery.inArray(t,n)-1]):(o=r.split(":"),i=0,o.length>1&&(i=60*o[0]+Number(o[1])),[-1e6,"max","-","Jan",1,[0,0,0],i,"-"])}function n(e,t,n){var r,o,i,a=t[n];if("string"==typeof a&&(a=t[a]),!a)throw Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(r=a.length-1;r>=0&&(o=a[r][3],!(o&&e>o));r--);if(i=a[r+1],!i)throw Error('Timezone "'+n+'" not found on '+e+".");return i}function r(e,r,o,i){typeof e!=kt&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var a=n(e,r,i);return{zone:a,rule:t(e,o,a[1])}}function o(e,t){var n,o,i;return"Etc/UTC"==t||"Etc/GMT"==t?0:(n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,i?o[0]-i[6]:o[0])}function i(e,t){var n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,a=o[2];return a.indexOf("/")>=0?a.split("/")[i&&i[6]?1:0]:a.indexOf("%s")>=0?a.replace("%s",i&&"-"!=i[7]?i[7]:""):a}function a(e,t,n){var r,o;return typeof t==xt&&(t=this.offset(e,t)),typeof n==xt&&(n=this.offset(e,n)),r=e.getTimezoneOffset(),e=new Date(e.getTime()+6e4*(t-n)),o=e.getTimezoneOffset(),new Date(e.getTime()+6e4*(o-r))}function s(e,t){return this.convert(e,e.getTimezoneOffset(),t)}function u(e,t){return this.convert(e,t,e.getTimezoneOffset())}function l(e){return this.apply(new Date(e),"Etc/UTC")}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},d={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};return{zones:{},rules:{},offset:o,convert:a,apply:s,remove:u,abbr:i,toLocalDate:l}}(),ct.date=function(){function e(e,t){return 0===t&&23===e.getHours()?(e.setHours(e.getHours()+2),!0):!1}function t(t,n,r){var o=t.getHours();r=r||1,n=(n-t.getDay()+7*r)%7,t.setDate(t.getDate()+n),e(t,o)}function n(e,n,r){return e=new Date(e),t(e,n,r),e}function r(e){return new Date(e.getFullYear(),e.getMonth(),1)}function o(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=r(e),o=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return o&&t.setHours(n.getHours()+o/60),t}function i(t){return t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),e(t,0),t}function a(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function s(e){return e.getTime()-i(e)}function u(e,t,n){var r,o=s(t),i=s(n);return e&&o!=i?(t>=n&&(n+=g),r=s(e),o>r&&(r+=g),o>i&&(i+=g),r>=o&&i>=r):!0}function l(e,t,n){var r,o=t.getTime(),i=n.getTime();return o>=i&&(i+=g),r=e.getTime(),r>=o&&i>=r}function c(t,n){var r=t.getHours();return t=new Date(t),d(t,n*g),e(t,r),t}function d(e,t,n){var r,o=e.getTimezoneOffset();e.setTime(e.getTime()+t),n||(r=e.getTimezoneOffset()-o,e.setTime(e.getTime()+r*h))}function f(){return i(new Date)}function p(e){return i(e).getTime()==f().getTime()}function m(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}var h=6e4,g=864e5;return{adjustDST:e,dayOfWeek:n,setDayOfWeek:t,getDate:i,isInDateRange:l,isInTimeRange:u,isToday:p,nextDay:function(e){return c(e,1)},previousDay:function(e){return c(e,-1)},toUtcTime:a,MS_PER_DAY:g,MS_PER_MINUTE:h,setTime:d,addDays:c,today:f,toInvariantTime:m,firstDayOfMonth:r,lastDayOfMonth:o,getMilliseconds:s}}(),ct.stripWhitespace=function(e){for(var t=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,function(t){return t.parentNode==e?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},!1);t.nextNode();)t.referenceNode&&!t.referenceNode.textContent.trim()&&t.referenceNode.parentNode.removeChild(t.referenceNode)},ut=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},ct.animationFrame=function(e){ut.call(window,e)},lt=[],ct.queueAnimation=function(e){lt[lt.length]=e,1===lt.length&&ct.runNextAnimation()},ct.runNextAnimation=function(){var e=lt.shift();ct.animationFrame(function(){e(),ut[0]&&ct.runNextAnimation()})},ct.parseQueryStringParams=function(e){for(var t=e.split("?")[1]||"",n={},r=t.split(/&|=/),o=r.length,i=0;o>i;i+=2)""!==r[i]&&(n[decodeURIComponent(r[i])]=decodeURIComponent(r[i+1]));return n}}(jQuery,eval),"undefined"==typeof kendo_module&&(kendo_module=function(){})})}("function"==typeof define&&define.amd?define:function(e,t){return t()});
//@ sourceMappingURL=kendo.core.min.js.map