@progress/telerik-react-report-viewer
Version:
Progress® Telerik® Report Viewer for React
17 lines • 1.12 MB
JavaScript
var jQuery = require('jquery');
/*!
* Copyright 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e()}((function(){var e={name:"@progress/kendo-ui",productName:"Kendo UI",productCodes:["KENDOUICOMPLETE","KENDOUI","KENDOUI","KENDOUICOMPLETE"],publishDate:0,version:"2022.3.2112".replace(/^\s+|\s+$/g,""),licensingDocsUrl:"https://docs.telerik.com/kendo-ui/intro/installation/using-license-code"};!function(t,n,i){var a,r=n.kendo=n.kendo||{cultures:{}},o=t.extend,s=t.each,l=Array.isArray,d=t.noop,u=Math,c=n.JSON||{},p={},h=/%/,f=/\{(\d+)(:[^\}]+)?\}/g,m=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,g=/^(\+|-?)\d+(\.?)\d*$/,v="function",_="string",b="number",k="object",w="null",y="boolean",x="undefined",C="aria-labelledby",T="aria-label",S={},I={},D=[].slice,E=["themeColor","fillMode","shape","size","rounded","positionMode"],A=function(){var e,t,n,a,r,o,s=arguments,l=arguments[0]||{},d=1,u=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[d]||{},d++),"object"!=typeof l&&"function"!=typeof l&&(l={}),d===u&&(l=this,d--);d<u;d++)if(null!=(r=s[d]))for(a in r)"filters"!=a&&"concat"!=a&&":"!=a&&(e=l[a],l!==(n=r[a])&&(c&&n&&(jQuery.isPlainObject(n)||(t=Array.isArray(n)))?(t?(t=!1,o=e&&Array.isArray(e)?e:[]):o=e&&jQuery.isPlainObject(e)?e:{},l[a]=A(c,o,n)):n!==i&&(l[a]=n)));return l};function F(){}r.version="2022.3.2112".replace(/^\s+|\s+$/g,""),F.extend=function(e){var t,n,i=function(){},a=this,r=e&&e.init?e.init:function(){a.apply(this,arguments)};for(t in i.prototype=a.prototype,n=r.fn=r.prototype=new i,e)null!=e[t]&&e[t].constructor===Object?n[t]=o(!0,{},i.prototype[t],e[t]):n[t]=e[t];return n.constructor=r,r.extend=a.extend,r},F.prototype._initOptions=function(e){this.options=G({},this.options,e)};var z=r.isFunction=function(e){return"function"==typeof e},P=function(){this._defaultPrevented=!0},H=function(){return!0===this._defaultPrevented},N=F.extend({init:function(){this._events={}},bind:function(e,t,n){var a,r,o,s,l=this,d=typeof e===_?[e]:e,u=typeof t===v;if(t===i){for(a in e)l.bind(a,e[a]);return l}for(a=0,r=d.length;a<r;a++)e=d[a],(s=u?t:t[e])&&(n&&(o=s,s=function(){l.unbind(e,s),o.apply(l,arguments)},s.original=o),(l._events[e]=l._events[e]||[]).push(s));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,i,a,r=this,o=typeof e===_?[e]:e,s=typeof t===v;for(n=0,i=o.length;n<i;n++)e=o[n],(a=s?t:t[e])&&(r._events[e]=r._events[e]||[]).unshift(a);return r},trigger:function(e,t){var n,i,a=this,r=a._events[e];if(r){for((t=t||{}).sender=a,t._defaultPrevented=!1,t.preventDefault=P,t.isDefaultPrevented=H,n=0,i=(r=r.slice()).length;n<i;n++)r[n].call(a,t);return!0===t._defaultPrevented}return!1},unbind:function(e,t){var n,a=this,r=a._events[e];if(e===i)a._events={};else if(r)if(t)for(n=r.length-1;n>=0;n--)r[n]!==t&&r[n].original!==t||r.splice(n,1);else a._events[e]=[];return a}});function R(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),i=e.substring(1);return"="===n?"+("+i+")+":":"===n?"+$kendoHtmlEncode("+i+")+":";"+e+";$kendoOutput+="}var O=/^\w+/,M=/\$\{([^}]*)\}/g,B=/\\\}/g,L=/__CURLY__/g,V=/\\#/g,U=/__SHARP__/g,W=["","0","00","000","0000"];function j(e,t,n){return(n=(t=t||2)-(e+="").length)?W[t].substring(0,n)+e:e}function q(e,t){var n=r._outerWidth,i=r._outerHeight,a=e.parent(".k-animation-container"),o=a[0].style;a.is(":hidden")&&a.css({display:"",position:""}),h.test(o.width)||h.test(o.height)||a.css({width:t?n(e)+1:n(e),height:i(e),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})}function G(e){var t=arguments,n=1,i=arguments.length;for(n=1;n<i;n++)K(e,t[n]);return e}function K(e,t){var i,a,o,s,l,d=r.data.ObservableArray,u=r.data.LazyObservableArray,c=r.data.DataSource,p=r.data.HierarchicalDataSource;for(i in t)!(s=(o=typeof(a=t[i]))===k&&null!==a?a.constructor:null)||s===Array||s===d||s===u||s===c||s===p||s===RegExp||r.isFunction(n.ArrayBuffer)&&s===ArrayBuffer||a instanceof HTMLElement?o!==x&&(e[i]=a):a instanceof Date?e[i]=new Date(a.getTime()):z(a.clone)?e[i]=a.clone():(l=e[i],e[i]=typeof l===k&&l||{},K(e[i],a));return e}function $(e,t,n){for(var a in t)if(t.hasOwnProperty(a)&&t[a].test(e))return a;return n!==i?n:e}function Y(e){return e.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()}))}function Q(e,n){var i,a={};return document.defaultView&&document.defaultView.getComputedStyle?(i=document.defaultView.getComputedStyle(e,""),n&&t.each(n,(function(e,t){a[t]=i.getPropertyValue(t)}))):(i=e.currentStyle,n&&t.each(n,(function(e,t){a[t]=i[Y(t)]}))),r.size(a)||(a=i),a}a={paramName:"data",useWithBlock:!0,render:function(e,t){var n,i,a="";for(n=0,i=t.length;n<i;n++)a+=e(t[n]);return a},compile:function(e,t){var n,i,a,s=o({},this,t),l=s.paramName,d=l.match(O)[0],u=s.useWithBlock,c="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if(z(e))return e;for(c+=u?"with("+l+"){":"",c+="$kendoOutput=",i=e.replace(B,"__CURLY__").replace(M,"#=$kendoHtmlEncode($1)#").replace(L,"}").replace(V,"__SHARP__").split("#"),a=0;a<i.length;a++)c+=R(i[a],a%2==0);c+=u?";}":";",c=(c+="return $kendoOutput;").replace(U,"#");try{return(n=new Function(d,c))._slotCount=Math.floor(i.length/2),n}catch(t){throw new Error(r.format("Invalid template:'{0}' Generated code:'{1}'",e,c))}}},function(){var e,t,n,i=/[\\\"\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",'"':'\\"',"\\":"\\\\"},r={}.toString;function o(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return typeof t===_?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function s(i,a){var l,d,u,c,p,h,f=e,m=a[i];if(m&&typeof m===k&&typeof m.toJSON===v&&(m=m.toJSON(i)),typeof n===v&&(m=n.call(a,i,m)),(h=typeof m)===_)return o(m);if(h===b)return isFinite(m)?String(m):w;if(h===y||h===w)return String(m);if(h===k){if(!m)return w;if(e+=t,p=[],"[object Array]"===r.apply(m)){for(c=m.length,l=0;l<c;l++)p[l]=s(l,m)||w;return u=0===p.length?"[]":e?"[\n"+e+p.join(",\n"+e)+"\n"+f+"]":"["+p.join(",")+"]",e=f,u}if(n&&typeof n===k)for(c=n.length,l=0;l<c;l++)typeof n[l]===_&&(u=s(d=n[l],m))&&p.push(o(d)+(e?": ":":")+u);else for(d in m)Object.hasOwnProperty.call(m,d)&&(u=s(d,m))&&p.push(o(d)+(e?": ":":")+u);return u=0===p.length?"{}":e?"{\n"+e+p.join(",\n"+e)+"\n"+f+"}":"{"+p.join(",")+"}",e=f,u}}typeof Date.prototype.toJSON!==v&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?j(e.getUTCFullYear(),4)+"-"+j(e.getUTCMonth()+1)+"-"+j(e.getUTCDate())+"T"+j(e.getUTCHours())+":"+j(e.getUTCMinutes())+":"+j(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof c.stringify!==v&&(c.stringify=function(i,a,r){var o;if(e="",t="",typeof r===b)for(o=0;o<r;o+=1)t+=" ";else typeof r===_&&(t=r);if(n=a,a&&typeof a!==v&&(typeof a!==k||typeof a.length!==b))throw new Error("JSON.stringify");return s("",{"":i})})}(),function(){var e=/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,n=/^(n|c|p|e)(\d*)$/i,a=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,o=/\,/g,s="",l=".",d="#",c="0",p="en-US",h={}.toString;function m(e){if(e){if(e.numberFormat)return e;if(typeof e===_){var t=r.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function g(e){return e&&(e=m(e)),e||r.cultures.current}r.cultures["en-US"]={name:p,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}}},r.culture=function(e){var t,n=r.cultures;if(e===i)return n.current;(t=m(e)||n[p]).calendar=t.calendars.standard,n.current=t},r.findCulture=m,r.getCulture=g,r.culture(p);var v=function(e,t,n,a){var r,o,s,l,d,u,c=e.indexOf(a["."]),p=a.groupSize.slice(),h=p.shift();if(n=-1!==c?c:n+1,(o=(r=e.substring(t,n)).length)>=h){for(s=o,l=[];s>-1;)if((d=r.substring(s-h,s))&&l.push(d),s-=h,0===(h=(u=p.shift())!==i?u:h)){s>0&&l.push(r.substring(0,s));break}r=l.reverse().join(a[","]),e=e.substring(0,t)+r+e.substring(n)}return e},k=function(e,t,n){return t=t||0,e=e.toString().split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t))),n&&(e=-e),(e=+((e=e.toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(Math.min(t,20))},w=function(t,r,p){if(r){if("[object Date]"===h.call(t))return function(t,n,a){var r=(a=g(a)).calendars.standard,o=r.days,s=r.months;return(n=r.patterns[n]||n).replace(e,(function(e){var n,a,l;return"d"===e?a=t.getDate():"dd"===e?a=j(t.getDate()):"ddd"===e?a=o.namesAbbr[t.getDay()]:"dddd"===e?a=o.names[t.getDay()]:"M"===e?a=t.getMonth()+1:"MM"===e?a=j(t.getMonth()+1):"MMM"===e?a=s.namesAbbr[t.getMonth()]:"MMMM"===e?a=s.names[t.getMonth()]:"yy"===e?a=j(t.getFullYear()%100):"yyyy"===e?a=j(t.getFullYear(),4):"h"===e?a=t.getHours()%12||12:"hh"===e?a=j(t.getHours()%12||12):"H"===e?a=t.getHours():"HH"===e?a=j(t.getHours()):"m"===e?a=t.getMinutes():"mm"===e?a=j(t.getMinutes()):"s"===e?a=t.getSeconds():"ss"===e?a=j(t.getSeconds()):"f"===e?a=u.floor(t.getMilliseconds()/100):"ff"===e?((a=t.getMilliseconds())>99&&(a=u.floor(a/10)),a=j(a)):"fff"===e?a=j(t.getMilliseconds(),3):"tt"===e?a=t.getHours()<12?r.AM[0]:r.PM[0]:"zzz"===e?(l=(n=t.getTimezoneOffset())<0,a=u.abs(n/60).toString().split(".")[0],n=u.abs(n)-60*a,a=(l?"+":"-")+j(a),a+=":"+j(n)):"zz"!==e&&"z"!==e||(l=(a=t.getTimezoneOffset()/60)<0,a=u.abs(a).toString().split(".")[0],a=(l?"+":"-")+("zz"===e?j(a):a)),a!==i?a:e.slice(1,e.length-1)}))}(t,r,p);if(typeof t===b)return function(e,t,r){var u,p,h,f,m,_,b,w,y,x,C,T,S,I,D,E,A,F,z,P,H=(r=g(r)).numberFormat,N=H["."],R=H.decimals,O=H.pattern[0],M=[],B=e<0,L=s,V=s,U=-1;if(e===i)return s;if(!isFinite(e))return e;if(!t)return r.name.length?e.toLocaleString():e.toString();if(m=n.exec(t)){if(h="p"===(t=m[1].toLowerCase()),((p="c"===t)||h)&&(N=(H=p?H.currency:H.percent)["."],R=H.decimals,u=H.symbol,O=H.pattern[B?0:1]),(f=m[2])&&(R=+f),"e"===t)return(f?e.toExponential(R):e.toExponential()).replace(l,H["."]);if(h&&(e*=100),B=(e=k(e,R))<0,_=(e=e.split(l))[0],b=e[1],B&&(_=_.substring(1)),V=v(_,0,_.length,H),b&&(V+=N+b),"n"===t&&!B)return V;for(e=s,y=0,x=O.length;y<x;y++)e+="n"===(C=O.charAt(y))?V:"$"===C||"%"===C?u:C;return e}if((t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1)&&(t=t.replace(a,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return M.push(n),"??"}))),t=t.split(";"),B&&t[1])t=t[1],S=!0;else if(0===e&&t[2]){if(-1==(t=t[2]).indexOf(d)&&-1==t.indexOf(c))return t}else t=t[0];if((h=-1!=t.indexOf("%"))&&(e*=100),(p=-1!=(z=t.indexOf("$")))&&"\\"===t[z-1]&&(t=t.split("\\").join(""),p=!1),(p||h)&&(N=(H=p?H.currency:H.percent)["."],R=H.decimals,u=H.symbol),(T=t.indexOf(",")>-1)&&(t=t.replace(o,s)),I=t.indexOf(l),x=t.length,-1!=I)if(b=(b=(b=e.toString().split("e"))[1]?k(e,Math.abs(b[1])):b[0]).split(l)[1]||s,A=(E=t.lastIndexOf(c)-I)>-1,F=(D=t.lastIndexOf(d)-I)>-1,y=b.length,A||F||(x=(t=t.substring(0,I)+t.substring(I+1)).length,I=-1,y=0),A&&E>D)y=E;else if(D>E)if(F&&y>D){for(var W=k(e,D,B);W.charAt(W.length-1)===c&&D>0&&D>E;)D--,W=k(e,D,B);y=D}else A&&y<E&&(y=E);if(e=k(e,y,B),D=t.indexOf(d),E=t.indexOf(c),U=-1==D&&-1!=E?E:-1!=D&&-1==E?D:D>E?E:D,D=t.lastIndexOf(d),E=t.lastIndexOf(c),P=-1==D&&-1!=E?E:-1!=D&&-1==E||D>E?D:E,U==x&&(P=U),-1!=U){for(_=(V=e.toString().split(l))[0],b=V[1]||s,w=_.length,b.length,B&&-1*e>=0&&(B=!1),e=t.substring(0,U),B&&!S&&(e+="-"),y=U;y<x;y++){if(C=t.charAt(y),-1==I){if(P-y<w){e+=_;break}}else if(-1!=E&&E<y&&(L=s),I-y<=w&&I-y>-1&&(e+=_,y=I),I===y){e+=(b?N:s)+b,y+=P-I+1;continue}C===c?(e+=C,L=C):C===d&&(e+=L)}if(T&&(e=v(e,U+(B&&!S?1:0),Math.max(P,w+U),H)),P>=U&&(e+=t.substring(P+1)),p||h){for(V=s,y=0,x=e.length;y<x;y++)V+="$"===(C=e.charAt(y))||"%"===C?u:C;e=V}if(x=M.length)for(y=0;y<x;y++)e=e.replace("??",M[y])}return e}(t,r,p)}return t!==i?t:""};r.format=function(e){var t=arguments;return e.replace(f,(function(e,n,i){var a=t[parseInt(n,10)+1];return w(a,i?i.substring(1):"")}))},r._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},r._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},r._round=k,r._outerWidth=function(e,n){return t(e).outerWidth(n||!1)||0},r._outerHeight=function(e,n){return t(e).outerHeight(n||!1)||0},r.toString=w}(),function(){var e=/\u00A0/g,n=/\s/g,a=/[eE][\-+]?[0-9]+/,o=/[+|\-]\d{1,2}/,s=/[+|\-]\d{1,2}:?\d{2}/,d=/^\/Date\((.*?)\)\/$/,c=/[+-]\d*/,p=[[],["G","g","F"],["D","d","y","m","T","t"]],h=[["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"]],f={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},m={}.toString;function g(e,t,n){return!(e>=t&&e<=n)}function v(e){return e.charAt(0)}function _(e){return t.map(e,v)}function k(e){for(var t=0,n=e.length,i=[];t<n;t++)i[t]=(e[t]+"").toLowerCase();return i}function w(e){var t,n={};for(t in e)n[t]=k(e[t]);return n}function y(e,t,n,a){if(!e)return null;var l,d,u,c,p,h,m,v,b,k,y,x,C=function(e){for(var n=0;t[R]===e;)n++,R++;return n>0&&(R-=1),n},T=function(t){var n=f[t]||new RegExp("^\\d{1,"+t+"}"),i=e.substr(O,t).match(n);return i?(i=i[0],O+=i.length,parseInt(i,10)):null},S=function(t,n){for(var i,a,r,o=0,s=t.length,l=0,d=0;o<s;o++)a=(i=t[o]).length,r=e.substr(O,a),n&&(r=r.toLowerCase()),r==i&&a>l&&(l=a,d=o);return l?(O+=l,d+1):null},I=function(){var n=!1;return e.charAt(O)===t[R]&&(O++,n=!0),n},D=n.calendars.standard,E=null,A=null,F=null,z=null,P=null,H=null,N=null,R=0,O=0,M=!1,B=new Date,L=D.twoDigitYearMax||2029,V=B.getFullYear();for(t||(t="d"),(c=D.patterns[t])&&(t=c),u=(t=t.split("")).length;R<u;R++)if(l=t[R],M)"'"===l?M=!1:I();else if("d"===l){if(d=C("d"),D._lowerDays||(D._lowerDays=w(D.days)),null!==F&&d>2)continue;if(null===(F=d<3?T(2):S(D._lowerDays[3==d?"namesAbbr":"names"],!0))||g(F,1,31))return null}else if("M"===l){if(d=C("M"),D._lowerMonths||(D._lowerMonths=w(D.months)),null===(A=d<3?T(2):S(D._lowerMonths[3==d?"namesAbbr":"names"],!0))||g(A,1,12))return null;A-=1}else if("y"===l){if(null===(E=T(d=C("y"))))return null;2==d&&("string"==typeof L&&(L=V+parseInt(L,10)),(E=V-V%100+E)>L&&(E-=100))}else if("h"===l){if(C("h"),12==(z=T(2))&&(z=0),null===z||g(z,0,11))return null}else if("H"===l){if(C("H"),null===(z=T(2))||g(z,0,23))return null}else if("m"===l){if(C("m"),null===(P=T(2))||g(P,0,59))return null}else if("s"===l){if(C("s"),null===(H=T(2))||g(H,0,59))return null}else if("f"===l){if(d=C("f"),x=e.substr(O,d).match(f[3]),null!==(N=T(d))&&(N=parseFloat("0."+x[0],10),N=r._round(N,3),N*=1e3),null===N||g(N,0,999))return null}else if("t"===l){if(d=C("t"),v=D.AM,b=D.PM,1===d&&(v=_(v),b=_(b)),!(p=S(b))&&!S(v))return null}else if("z"===l){if(h=!0,d=C("z"),"Z"===e.substr(O,1)){I();continue}if(!(m=e.substr(O,6).match(d>2?s:o)))return null;if(k=(m=m[0].split(":"))[0],!(y=m[1])&&k.length>3&&(O=k.length-2,y=k.substring(O),k=k.substring(0,O)),g(k=parseInt(k,10),-12,13))return null;if(d>2&&(y=m[0][0]+y,y=parseInt(y,10),isNaN(y)||g(y,-59,59)))return null}else if("'"===l)M=!0,I();else if(!I())return null;return a&&!/^\s*$/.test(e.substr(O))?null:(null===E&&null===A&&null===F&&(null!==z||null!==P||H||null)?(E=V,A=B.getMonth(),F=B.getDate()):(null===E&&(E=V),null===F&&(F=1)),p&&z<12&&(z+=12),h?(k&&(z+=-k),y&&(P+=-y),e=new Date(Date.UTC(E,A,F,z,P,H,N))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(e=new Date(E,A,F,z,P,H,N),z),E<100&&e.setFullYear(E),e.getDate()!==F&&h===i?null:e)}function x(e,t,n,i){if("[object Date]"===m.call(e))return e;var a,o,s,f,g=0,v=null;if(e&&0===e.indexOf("/D")&&(v=d.exec(e)))return v=v[1],o=c.exec(v.substring(1)),v=new Date(parseInt(v,10)),o&&(s=o[0],f="-"===s.substr(0,1)?-1:1,s=s.substring(1),o=f*(60*parseInt(s.substr(0,2),10)+parseInt(s.substring(2),10)),v=r.timezone.apply(v,0),v=r.timezone.convert(v,0,-1*o)),v;for(n=r.getCulture(n),t||(t=function(e){var t,n,i,a=u.max(p.length,h.length),r=(e.calendar||e.calendars.standard).patterns,o=[];for(i=0;i<a;i++){for(t=p[i],n=0;n<t.length;n++)o.push(r[t[n]]);o=o.concat(h[i])}return o}(n)),a=(t=l(t)?t:[t]).length;g<a;g++)if(v=y(e,t[g],n,i))return v;return v}r.parseDate=function(e,t,n){return x(e,t,n,!1)},r.parseExactDate=function(e,t,n){return x(e,t,n,!0)},r.parseInt=function(e,t){var n=r.parseFloat(e,t);return n&&(n|=0),n},r.parseFloat=function(t,i,o){if(!t&&0!==t)return null;if(typeof t===b)return t;t=t.toString();var s,l,d=(i=r.getCulture(i)).numberFormat,u=d.percent,c=d.currency,p=c.symbol,h=u.symbol,f=t.indexOf("-");return a.test(t)?(t=parseFloat(t.replace(d["."],".")),isNaN(t)&&(t=null),t):f>0?null:(f=f>-1,t.indexOf(p)>-1||o&&o.toLowerCase().indexOf("c")>-1?(s=(d=c).pattern[0].replace("$",p).split("n"),t.indexOf(s[0])>-1&&t.indexOf(s[1])>-1&&(t=t.replace(s[0],"").replace(s[1],""),f=!0)):t.indexOf(h)>-1&&(l=!0,d=u,p=h),t=t.replace("-","").replace(p,"").replace(e," ").split(d[","].replace(e," ")).join("").replace(n,"").replace(d["."],"."),t=parseFloat(t),isNaN(t)?t=null:f&&(t*=-1),t&&l&&(t/=100),t)}}(),function(){p._scrollbar=i,p.scrollbar=function(e){if(isNaN(p._scrollbar)||e){var t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML=" ",document.body.appendChild(n),p._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return p._scrollbar},p.isRtl=function(e){return t(e).closest(".k-rtl").length>0};var e=document.createElement("table");try{e.innerHTML="<tr><td></td></tr>",p.tbodyInnerHtml=!0}catch(e){p.tbodyInnerHtml=!1}p.touch="ontouchstart"in n;var a=document.documentElement.style,r=p.transitions=!1,o=p.transforms=!1,l="HTMLElement"in n?HTMLElement.prototype:[];p.hasHW3D="WebKitCSSMatrix"in n&&"m11"in new n.WebKitCSSMatrix||"MozPerspective"in a||"msPerspective"in a,p.cssFlexbox="flexWrap"in a||"WebkitFlexWrap"in a||"msFlexWrap"in a,s(["Moz","webkit","O","ms"],(function(){var t=this.toString(),n=typeof e.style[t+"Transition"]===_;if(n||typeof e.style[t+"Transform"]===_){var i=t.toLowerCase();return o={css:"ms"!=i?"-"+i+"-":"",prefix:t,event:"o"===i||"webkit"===i?i:""},n&&((r=o).event=r.event?r.event+"TransitionEnd":"transitionend"),!1}})),e=null,p.transforms=o,p.transitions=r,p.devicePixelRatio=n.devicePixelRatio===i?1:n.devicePixelRatio;try{p.screenWidth=n.outerWidth||n.screen?n.screen.availWidth:n.innerWidth,p.screenHeight=n.outerHeight||n.screen?n.screen.availHeight:n.innerHeight}catch(e){p.screenWidth=n.screen.availWidth,p.screenHeight=n.screen.availHeight}p.detectOS=function(e){var t,i=!1,a=[],r=!/mobile safari/i.test(e),o={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/},s={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},l={tablet:/playbook|ipad|fire/i},d={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(var u in o)if(o.hasOwnProperty(u)&&(a=e.match(o[u]))){if("windows"==u&&"plugins"in navigator)return!1;(i={}).device=u,i.tablet=$(u,l,!1),i.browser=$(e,d,"default"),i.name=$(u,s),i[i.name]=!0,i.majorVersion=a[2],i.minorVersion=(a[3]||"0").replace("_","."),t=i.minorVersion.replace(".","").substr(0,2),i.flatVersion=i.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),i.cordova=typeof n.PhoneGap!==x||typeof n.cordova!==x,i.appMode=n.navigator.standalone||/file|local|wmapp/.test(n.location.protocol)||i.cordova,i.android&&(p.devicePixelRatio<1.5&&i.flatVersion<400||r)&&(p.screenWidth>800||p.screenHeight>800)&&(i.tablet=u);break}return i};var d=p.mobileOS=p.detectOS(navigator.userAgent);p.wpDevicePixelRatio=d.wp?screen.width/320:0,p.hasNativeScrolling=!1,(d.ios||d.android&&d.majorVersion>2||d.wp)&&(p.hasNativeScrolling=d),p.delayedClick=function(){if(p.touch){if(d.ios)return!0;if(d.android)return!p.browser.chrome||!(p.browser.version<32)&&!(t("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},p.mouseAndTouchPresent=p.touch&&!(p.mobileOS.ios||p.mobileOS.android),p.detectBrowser=function(e){var t=!1,n=[],i={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var a in i)if(i.hasOwnProperty(a)&&(n=e.match(i[a]))){(t={})[a]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10),t.chrome&&e.match(/(edg)[ \/]([\w.]+)/i)&&(t.chromiumEdge=!0);break}return t},p.browser=p.detectBrowser(navigator.userAgent),!d&&p.touch&&p.browser.safari&&(d=p.mobileOS={ios:!0,tablet:"tablet",device:"ipad"}),p.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return p.browser.chrome&&(e.paste=!1,p.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},p.clipboard=p.detectClipboardAccess(),p.zoomLevel=function(){try{var e=p.browser,t=0,i=document.documentElement;return e.msie&&11==e.version&&i.scrollHeight>i.clientHeight&&!p.touch&&(t=p.scrollbar()),p.touch?i.clientWidth/n.innerWidth:e.msie&&e.version>=10?((top||n).document.documentElement.offsetWidth+t)/(top||n).innerWidth:1}catch(e){return 1}},function(e){var n="",i=t(document.documentElement),a=parseInt(e.version,10);e.msie?n="ie":e.mozilla?n="ff":e.safari?n="safari":e.webkit?n="webkit":e.opera?n="opera":e.edge&&(n="edge"),n&&(n="k-"+n+" k-"+n+a),p.mobileOS&&(n+=" k-mobile"),p.cssFlexbox||(n+=" k-no-flexbox"),i.addClass(n)}(p.browser),p.eventCapture=document.documentElement.addEventListener;var u=document.createElement("input");p.placeholder="placeholder"in u,p.propertyChangeEvent="onpropertychange"in u,p.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,i="test",a={},r=0;r<n;r++)e=t[r],u.setAttribute("type",e),u.value=i,a[e.replace("-","")]="text"!==u.type&&u.value!==i;return a}(),u.style.cssText="float:left;",p.cssFloat=!!u.style.cssFloat,u=null,p.stableSort=function(){for(var e=[{index:0,field:"b"}],t=1;t<513;t++)e.push({index:t,field:"a"});return e.sort((function(e,t){return e.field>t.field?1:e.field<t.field?-1:0})),1===e[0].index}(),p.matchesSelector=l.webkitMatchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.matchesSelector||l.matches||function(e){for(var n=document.querySelectorAll?(this.parentNode||document).querySelectorAll(e)||[]:t(e),i=n.length;i--;)if(n[i]==this)return!0;return!1},p.matchMedia="matchMedia"in n,p.pushState=n.history&&n.history.pushState,p.hashChange="onhashchange"in n,p.customElements="registerElement"in n.document;var c=p.browser.chrome,h=p.browser.crios,f=p.browser.mozilla,m=p.browser.safari;p.msPointers=!c&&n.MSPointerEvent,p.pointers=!c&&!h&&!f&&!m&&n.PointerEvent,p.kineticScrollNeeded=d&&(p.touch||p.msPointers||p.pointers)}();var X={};function J(e,t,n,i){return typeof e===_&&(z(t)&&(i=t,t=400,n=!1),z(n)&&(i=n,n=!1),typeof t===y&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:i}),o({effects:{},duration:400,reverse:!1,init:d,teardown:d,hide:!1},e,{completeCallback:e.complete,complete:d})}function Z(e,n,i,a,r){for(var o,s=0,l=e.length;s<l;s++)(o=t(e[s])).queue((function(){X.promise(o,J(n,i,a,r))}));return e}t.extend(X,{enabled:!0,Element:function(e){this.element=t(e)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),X.promiseShim=X.promise,"kendoAnimate"in t.fn||o(t.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,i){return Z(this,e,t,n,i)},kendoAddClass:function(e,t){return r.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return r.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return r.toggleClass(this,e,t,n)}});var ee=/&/g,te=/</g,ne=/"/g,ie=/'/g,ae=/>/g;var re=function(e){return e.target};p.touch&&(re=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},s(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],(function(e,n){t.fn[n]=function(e){return this.on(n,e)}}))),p.touch?p.mobileOS?(p.mousedown="touchstart",p.mouseup="touchend",p.mousemove="touchmove",p.mousecancel="touchcancel",p.click="touchend",p.resize="orientationchange"):(p.mousedown="mousedown touchstart",p.mouseup="mouseup touchend",p.mousemove="mousemove touchmove",p.mousecancel="mouseleave touchcancel",p.click="click",p.resize="resize"):p.pointers?(p.mousemove="pointermove",p.mousedown="pointerdown",p.mouseup="pointerup",p.mousecancel="pointercancel",p.click="pointerup",p.resize="orientationchange resize"):p.msPointers?(p.mousemove="MSPointerMove",p.mousedown="MSPointerDown",p.mouseup="MSPointerUp",p.mousecancel="MSPointerCancel",p.click="MSPointerUp",p.resize="orientationchange resize"):(p.mousemove="mousemove",p.mousedown="mousedown",p.mouseup="mouseup",p.mousecancel="mouseleave",p.click="click",p.resize="resize");var oe=/^([a-z]+:)?\/\//i;o(r,{widgets:[],_widgetRegisteredCallbacks:[],ui:r.ui||{},fx:r.fx||function(e){return new r.effects.Element(e)},effects:r.effects||X,mobile:r.mobile||{},data:r.data||{},dataviz:r.dataviz||{},drawing:r.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:r.support||p,animate:r.animate||Z,ns:"",attr:function(e){return"data-"+r.ns+e},getShadows:function(e){var t=e.css(r.support.transitions.css+"box-shadow")||e.css("box-shadow"),n=t&&t.match(m)||[0,0,0,0,0],i=u.max(+n[3],+(n[4]||0));return{left:-n[1]+i,right:+n[1]+i,bottom:+n[2]+i}},wrap:function(e,i){var a,o=r._outerWidth,s=r._outerHeight,l=e.parent(),d=o(n);if(l.removeClass("k-animation-container-sm"),l.hasClass("k-animation-container"))q(e,i);else{var u=e[0].style.width,c=e[0].style.height,p=h.test(u),f=h.test(c),m=e.hasClass("k-tooltip")||e.is(".k-menu-horizontal.k-context-menu");a=p||f,!p&&(!i||i&&u||m)&&(u=i?o(e)+1:o(e)),(!f&&(!i||i&&c)||e.is(".k-menu-horizontal.k-context-menu"))&&(c=s(e)),e.wrap(t("<div/>").addClass("k-animation-container").attr("role","region").css({width:u,height:c})),l=e.parent(),a&&e.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})}return d<o(l)&&(l.addClass("k-animation-container-sm"),q(e,i)),l},deepExtend:G,getComputedStyles:Q,isScrollable:function(e){if("false"===e.dataset[r.ns+"scrollable"])return!1;if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=Q(e,["overflow"]).overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},scrollLeft:function e(n,a){var r,o,s=p.browser.webkit,l=p.browser.mozilla,d=p.browser.version;if(n instanceof t&&a!==i)n.each((function(t,n){e(n,a)}));else if(r=n instanceof t?n[0]:n){if(o=p.isRtl(n),a===i)return o&&s&&(d<85||p.browser.safari)?r.scrollWidth-r.clientWidth-r.scrollLeft:Math.abs(r.scrollLeft);o&&s&&(d<85||p.browser.safari)?r.scrollLeft=r.scrollWidth-r.clientWidth-a:r.scrollLeft=o&&(l||s)&&a>0?-a:a}},size:function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n},toCamelCase:Y,toHyphens:function(e){return e.replace(/([a-z][A-Z])/g,(function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()}))},getOffset:r.getOffset||function(e,t,i){t||(t="offset");var a=e[t](),r={top:a.top,right:a.right,bottom:a.bottom,left:a.left};if(p.browser.msie&&(p.pointers||p.msPointers)&&!i){var o=p.isRtl(e)?1:-1;r.top-=n.pageYOffset-document.documentElement.scrollTop,r.left-=n.pageXOffset+o*document.documentElement.scrollLeft}return r},parseEffects:r.parseEffects||function(e){var t={};return s("string"==typeof e?e.split(" "):e,(function(e){t[e]=this})),t},toggleClass:r.toggleClass||function(e,t,n,i){return t&&(t=t.split(" "),s(t,(function(t,n){e.toggleClass(n,i)}))),e},directions:r.directions||{left:{reverse:"right"},right:{reverse:"left"},down:{reverse:"up"},up:{reverse:"down"},top:{reverse:"bottom"},bottom:{reverse:"top"},in:{reverse:"out"},out:{reverse:"in"}},Observable:N,Class:F,Template:a,template:a.compile.bind(a),render:a.render.bind(a),stringify:c.stringify.bind(c),eventTarget:re,htmlEncode:function(e){return(""+e).replace(ee,"&").replace(te,"<").replace(ae,">").replace(ne,""").replace(ie,"'")},unescape:function(e){var t;try{t=n.decodeURIComponent(e)}catch(n){t=e.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,(function(e,t,n){return String.fromCharCode(parseInt("0x"+(t||n),16))}))}return t},isLocalUrl:function(e){return e&&!oe.test(e)},expr:function(e,t,n){return typeof t==_&&(n=t,t=!1),n=n||"d",(e=e||"")&&"["!==e.charAt(0)&&(e="."+e),t?(e=function(e,t){var n,i,a,r,o=t||"d",s=1;for(i=0,a=e.length;i<a;i++)""!==(r=e[i])&&(0!==(n=r.indexOf("["))&&(-1==n?r="."+r:(s++,r="."+r.substring(0,n)+" || {})"+r.substring(n))),s++,o+=r+(i<a-1?" || {})":")"));return new Array(s).join("(")+o}((e=(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'")).split("."),n),e=e.replace(/_\$DOT\$_/g,".")):e=n+e,e},getter:function(e,t){var n=e+t;return S[n]=S[n]||new Function("d","return "+r.expr(e,t))},setter:function(e){return I[e]=I[e]||new Function("d,value",r.expr(e)+"=value")},accessor:function(e){return{get:r.getter(e),set:r.setter(e)}},guid:function(){var e,t,n="",i="abcdef";for(n+=i[Math.floor(Math.random()*Math.floor(i.length))],e=1;e<32;e++)t=16*u.random()|0,8!=e&&12!=e&&16!=e&&20!=e||(n+="-"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n},roleSelector:function(e){return e.replace(/(\S+)/g,"["+r.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(e){var t=e.split(" ");if(t)for(var n=0;n<t.length;n++)"view"!=t[n]&&(t[n]=t[n].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return t.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},onWidgetRegistered:function(e){for(var t=0,n=r.widgets.length;t<n;t++)e(r.widgets[t]);r._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,t){var i=n.console;!r.suppressLog&&void 0!==i&&i.log&&i[t||"log"](e)}});var se=N.extend({init:function(t,n){var i=this;KendoLicensing.validatePackage(e),i.element=r.jQuery(t).handler(i),i.angular("init",n),N.fn.init.call(i);var a,s=n?n.dataSource:null;n&&(a=(i.componentTypes||{})[(n||{}).componentType]),s&&(n=o({},n,{dataSource:{}})),n=i.options=o(!0,{},i.options,i.defaults,a||{},n),s&&(n.dataSource=s),i.element.attr(r.attr("role"))||i.element.attr(r.attr("role"),(n.name||"").toLowerCase()),i.element.data("kendo"+n.prefix+n.name,i),i.bind(i.events,n)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",i=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(i)?0:i)},setOptions:function(e){this._clearCssClasses(e),this._setEvents(e),t.extend(this.options,e),this._applyCssClasses()},_setEvents:function(e){for(var t,n=this,i=0,a=n.events.length;i<a;i++)t=n.events[i],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)},resize:function(e){var t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))},getSize:function(){return r.dimensions(this.element)},size:function(e){if(!e)return this.getSize();this.setSize(e)},setSize:t.noop,_resize:t.noop,destroy:function(){var e=this;e.element.removeData("kendo"+e.options.prefix+e.options.name),e.element.removeData("handler"),e.unbind()},_destroy:function(){this.destroy()},angular:function(){},_muteAngularRebind:function(e){this._muteRebind=!0,e.call(this),this._muteRebind=!1},_applyCssClasses:function(e){var t,n,i,a,o=this.__proto__.options,s=this.options,l=e||this.wrapper||this.element,d=[];if(r.cssProperties.propertyDictionary[o.name]){for(t=0;t<E.length;t++)n=E[t],a=this.options._altname||o.name,o.hasOwnProperty(n)&&("themeColor"===n?(i=r.cssProperties.getValidClass({widget:a,propName:"fillMode",value:s.fillMode}))&&i.length&&d.push(r.cssProperties.getValidClass({widget:a,propName:n,value:s[n],fill:s.fillMode})):d.push(r.cssProperties.getValidClass({widget:a,propName:n,value:s[n]})));l.addClass(d.join(" "))}},_ariaLabel:function(e){var n,i=this.element,a=i.attr("id"),o=t('label[for="'+a+'"]'),s=i.attr(T),l=i.attr(C);e[0]!==i[0]&&(s?e.attr(T,s):l?e.attr(C,l):o.length&&(n=o.attr("id")||this._generateLabelId(o,a||r.guid()),e.attr(C,n)))},_clearCssClasses:function(e,t){var n,i,a,o=this.__proto__.options,s=this.options,l=t||this.wrapper||this.element;if(r.cssProperties.propertyDictionary[o.name])for(n=0;n<E.length;n++)i=E[n],a=this.options._altname||o.name,o.hasOwnProperty(i)&&e.hasOwnProperty(i)&&("themeColor"===i?l.removeClass(r.cssProperties.getValidClass({widget:a,propName:i,value:s[i],fill:s.fillMode})):("fillMode"===i&&l.removeClass(r.cssProperties.getValidClass({widget:a,propName:"themeColor",value:s.themeColor,fill:s.fillMode})),l.removeClass(r.cssProperties.getValidClass({widget:a,propName:i,value:s[i]}))))},_generateLabelId:function(e,t){var n=t+"_label";return e.attr("id",n),n}}),le=se.extend({dataItems:function(){return this.dataSource.flatView()},_angularItems:function(e){var n=this;n.angular(e,(function(){return{elements:n.items(),data:t.map(n.dataItems(),(function(e){return{dataItem:e}}))}}))}});r.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},r.notify=d;var de=/template$/i,ue=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,ce=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,pe=/([A-Z])/g;function he(e,t){var n;return 0===t.indexOf("data")&&(t=(t=t.substring(4)).charAt(0).toLowerCase()+t.substring(1)),t=t.replace(pe,"-$1"),null===(n=e.getAttribute("data-"+r.ns+t))?n=i:"null"===n?n=null:"true"===n?n=!0:"false"===n?n=!1:g.test(n)&&"mask"!=t&&"format"!=t?n=parseFloat(n):ue.test(n)&&!ce.test(n)&&(n=new Function("return ("+n+")")()),n}function fe(e,n,a){var o,s,l={},d=e.getAttribute("data-"+r.ns+"role");for(o in n)(s=he(e,o))!==i&&(de.test(o)&&"drawer"!=d&&("string"==typeof s?t("#"+s).length?s=r.template(t("#"+s).html()):a&&(s=r.template(a[s])):s=e.getAttribute(o)),l[o]=s);return l}function me(e,n){return t.contains(e,n)?-1:1}function ge(){var e=t(this);return t.inArray(e.attr("data-"+r.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||e.is(":visible")}r.initWidget=function(e,a,o){var s,l,d,u,c,p,h,f,m,g;if(o?o.roles&&(o=o.roles):o=r.ui.roles,p=(e=e.nodeType?e:e[0]).getAttribute("data-"+r.ns+"role")){d=(m=-1===p.indexOf("."))?o[p]:r.getter(p)(n);var v=t(e).data(),b=d?"kendo"+d.fn.options.prefix+d.fn.options.name:"";for(var k in g=m?new RegExp("^kendo.*"+p+"$","i"):new RegExp("^"+b+"$","i"),v)if(k.match(g)){if(k!==b)return v[k];s=v[k]}if(d){for(f=he(e,"dataSource"),a=t.extend({},fe(e,t.extend({},d.fn.options,d.fn.defaults)),a),f&&(a.dataSource=typeof f===_?r.getter(f)(n):f),u=0,c=d.fn.events.length;u<c;u++)(h=he(e,l=d.fn.events[u]))!==i&&(a[l]=r.getter(h)(n));return s?t.isEmptyObject(a)||s.setOptions(a):s=new d(e,a),s}}},r.rolesFromNamespaces=function(e){var t,n,i=[];for(e[0]||(e=[r.ui,r.dataviz.ui]),t=0,n=e.length;t<n;t++)i[t]=e[t].roles;return o.apply(null,[{}].concat(i.reverse()))},r.init=function(e){var n=r.rolesFromNamespaces(D.call(arguments,1));t(e).find("[data-"+r.ns+"role]").addBack().each((function(){r.initWidget(this,{},n)}))},r.destroy=function(e){t(e).find("[data-"+r.ns+"role]").addBack().each((function(){var e=t(this).data();for(var n in e)0===n.indexOf("kendo")&&typeof e[n].destroy===v&&e[n].destroy()}))},r.resize=function(e,n){var i=t(e).find("[data-"+r.ns+"role]").addBack().filter(ge);if(i.length){var a=t.makeArray(i);a.sort(me),t.each(a,(function(){var e=r.widgetInstance(t(this));e&&e.resize(n)}))}},r.parseOptions=fe,o(r.ui,{Widget:se,DataBoundWidget:le,roles:{},progress:function(e,n,i){var a,o,s,l,d,u=e.find(".k-loading-mask"),c=r.support,p=c.browser;d=(i=t.extend({},{width:"100%",height:"100%",top:e.scrollTop(),opacity:!1},i)).opacity?"k-loading-mask k-opaque":"k-loading-mask",n?u.length||(o=(a=c.isRtl(e))?"right":"left",l=r.scrollLeft(e),s=p.webkit&&a?e[0].scrollWidth-e.width()-2*l:0,u=t(r.format("<div class='{0}'><span role='alert' aria-live='polite' class='k-loading-text'>{1}</span><div class='k-loading-image'></div><div class='k-loading-color'></div></div>",d,r.ui.progress.messages.loading)).width(i.width).height(i.height).css("top",i.top).css(o,Math.abs(l)+s).prependTo(e)):u&&u.remove()},plugin:function(e,n,a){var o,s=e.fn.options.name;a=a||"",(n=n||r.ui)[s]=e,n.roles[s.toLowerCase()]=e,o="getKendo"+a+s;var l={name:s="kendo"+a+s,widget:e,prefix:a||""};r.widgets.push(l);for(var d=0,u=r._widgetRegisteredCallbacks.length;d<u;d++)r._widgetRegisteredCallbacks[d](l);t.fn[s]=function(n){var a,o=this;return typeof n===_?(a=D.call(arguments,1),this.each((function(){var e,l,d=t.data(this,s);if(!d)throw new Error(r.format("Cannot call method '{0}' of {1} before it is initialized",n,s));if(typeof(e=d[n])!==v)throw new Error(r.format("Cannot find method '{0}' of {1}",n,s));if((l=e.apply(d,a))!==i)return o=l,!1}))):this.each((function(){return new e(this,n)})),o},t.fn[s].widget=e,t.fn[o]=function(){return this.data(s)}}}),r.ui.progress.messages={loading:"Loading..."};var ve={bind:function(){return this},nullObject:!0,options:{}},_e=se.extend({init:function(e,t){se.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){se.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(r.roleSelector("view splitview modalview drawer"));return r.widgetInstance(e,r.mobile.ui)||ve},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(r.roleSelector("view layout modalview drawer splitview"));return r.widgetInstance(e.eq(0),r.mobile.ui)||ve}});function be(e,n){var i=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(i)?!e.disabled:"a"===i&&e.href||n)&&function(e){return t.expr.pseudos.visible(e)&&!t(e).parents().addBack().filter((function(){return"hidden"===t.css(this,"visibility")})).length}(e)}o(r.mobile,{init:function(e){r.init(e,r.mobile.ui,r.ui,r.dataviz.ui)},appLevelNativeScrolling:function(){return r.mobile.application&&r.mobile.application.options&&r.mobile.application.options.useNativeScrolling},roles:{},ui:{Widget:_e,DataBoundWidget:le.extend(_e.prototype),roles:{},plugin:function(e){r.ui.plugin(e,r.mobile.ui,"Mobile")}}}),G(r.dataviz,{init:function(e){r.init(e,r.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){r.ui.plugin(e,r.dataviz.ui)}},roles:{}}),r.touchScroller=function(e,n){return n||(n={}),n.useNative=!0,t(e).map((function(e,i){return i=t(i),!(!p.kineticScrollNeeded||!r.mobile.ui.Scroller||i.data("kendoMobileScroller"))&&(i.kendoMobileScroller(n),i.data("kendoMobileScroller"))}))[0]},r.preventDefault=function(e){e.preventDefault()},r.widgetInstance=function(e,t){var i,a,o=e.data(r.ns+"role"),s=[],l=e.data("kendoView");if(o){if("content"===o&&(o="scroller"),"editortoolbar"===o){var d=e.data("kendoEditorToolbar");if(d)return d}if("view"===o&&l)return l;if(t)if(t[0])for(i=0,a=t.length;i<a;i++)s.push(t[i].roles[o]);else s.push(t.roles[o]);else s=[r.ui.roles[o],r.dataviz.ui.roles[o],r.mobile.ui.roles[o]];for(o.indexOf(".")>=0&&(s=[r.getter(o)(n)]),i=0,a=s.length;i<a;i++){var u=s[i];if(u){var c=e.data("kendo"+u.fn.options.prefix+u.fn.options.name);if(c)return c}}}},r.onResize=function(e){var i=e;return p.mobileOS.android&&(i=function(){setTimeout(e,600)}),t(n).on(p.resize,i),i},r.unbindResize=function(e){t(n).off(p.resize,e)},r.attrValue=function(e,t){return e.data(r.ns+t)},r.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},t.extend(t.expr.pseudos,{kendoFocusable:function(e){var n=t.attr(e,"tabindex");return be(e,!isNaN(n)&&n>-1)}});var ke=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],we={setupMouseMute:function(){var e=0,n=ke.length,i=document.documentElement;if(!we.mouseTrap&&p.eventCapture){we.mouseTrap=!0,we.bustClick=!1,we.captureMouse=!1;for(var a=function(e){we.captureMouse&&("click"===e.type?we.bustClick&&!t(e.target).is("label, input, [data-rel=external]")&&(e.preventDefault(),e.stopPropagation()):e.stopPropagation())};e<n;e++)i.addEventListener(ke[e],a,!0)}},muteMouse:function(e){we.captureMouse=!0,e.data.bustClick&&(we.bustClick=!0),clearTimeout(we.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(we.mouseTrapTimeoutID),we.mouseTrapTimeoutID=setTimeout((function(){we.captureMouse=!1,we.bustClick=!1}),400)}},ye={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"};p.touch&&(p.mobileOS.ios||p.mobileOS.android)?ye={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:p.pointers?ye={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:p.msPointers&&(ye={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),p.msPointers&&!("onmspointerenter"in n)&&t.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},(function(e,n){t.event.special[e]={delegateType:n,bindType:n,handle:function(e){var i,a=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===a||t.contains(a,r))||(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=n),i}}}));var xe=function(e){return ye[e]||e},Ce=/([^ ]+)/g;r.applyEventMap=function(e,t){return e=e.replace(Ce,xe),t&&(e=e.replace(Ce,"$1."+t)),e},r.keyDownHandler=function(e,t){var n=t._events.kendoKeydown;if(!n)return!0;n=n.slice(),e.sender=t,e.preventKendoKeydown=!1;for(var i=0,a=n.length;i<a;i++)n[i].call(t,e);return!e.preventKendoKeydown};var Te=t.fn.on;function Se(e,t){return new Se.fn.init(e,t)}A(!0,Se,t),Se.fn=Se.prototype=new t,Se.fn.constructor=Se,Se.fn.init=function(e,n){return n&&n instanceof t&&!(n instanceof Se)&&(n=Se(n)),t.fn.init.call(this,e,n,Ie)},Se.fn.init.prototype=Se.fn;var Ie=Se(document);o(Se.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||r.guid()),this},on:function(){var e=this,t=e.data("kendoNS");if(1===arguments.length)return Te.call(e,arguments[0]);var n=e,i=D.call(arguments);typeof i[i.length-1]===x&&i.pop();var a=i[i.length-1],o=r.applyEventMap(i[0],t);if(p.mouseAndTouchPresent&&o.search(/mouse|click/)>-1&&this[0]!==document.documentElement){we.setupMouseMute();var s=2===i.length?null:i[1],l=o.indexOf("click")>-1&&o.indexOf("touchend")>-1;Te.call(this,{touchstart:we.muteMouse,touchend:we.unMuteMouse},s,{bustClick:l})}if(-1!==arguments[0].indexOf("keydown")&&i[1]&&i[1].options){i[0]=o;var d=i[1],u=i[i.length-1];return i[i.length-1]=function(e){if(r.keyDownHandler(e,d))return u.apply(this,[e])},Te.apply(e,i),e}return typeof a===_&&(n=e.data("handler"),a=n[a],i[i.length-1]=function(e){a.call(n,e)}),i[0]=o,Te.apply(e,i),e},kendoDestroy:function(e){return(e=e||this.data("kendoNS"))&&this.off("."+e),this}}),r.jQuery=Se,r.eventMap=ye,r.timezone=function(){var e={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},t={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function n(n,i){var a,r,o,s=i[3],l=i[4],d=i[5],u=i[8];return u||(i[8]=u={}),u[n]?u[n]:(isNaN(l)?0===l.indexOf("last")?(a=new Date(Date.UTC(n,e[s]+1,1,d[0]-24,d[1],d[2],0)),r=t[l.substr(4,3)],o=a.getUTCDay(),a.setUTCDate(a.getUTCDate()+r-o-(r>o?7:0))):l.indexOf(">=")>=0?(a=new Date(Date.UTC(n,e[s],l.substr(5),d[0],d[1],d[2],0)),r=t[l.substr(0,3)],o=a.getUTCDay(),a.setUTCDate(a.getUTCDate()+r-o+(r<o?7:0))):l.indexOf("<=")>=0&&(a=new Date(Date.UTC(n,e[s],l.substr(5),d[0],d[1],d[2],0)),r=t[l.substr(0,3)],o=a.getUTCDay(),a.setUTCDate(a.getUTCDate()+r-o-(r>o?7:0))):a=new Date(Date.UTC(n,e[s],l,d[0],d[1],d[2],0)),u[n]=a)}function i(e,t,i){if(!(t=t[i])){var a=i.split(":"),r=0;return a.length>1&&(r=60*a[0]+Number(a[1])),[-1e6,"max","-","Jan",1,[0,0,0],r,"-"]}var o=new Date(e).getUTCFullYear();t=jQuery.grep(t,(function(e){var t=e[0],n=e[1];return t<=o&&(n>=o||t==o&&"only"==n||"max"==n)})),t.push(e),t.sort((function(e,t){return"number"!=typeof e&&(e=Number(n(o,e))),"number"!=typeof t&&(t=Number(n(o,t))),e-t}));var s=t[jQuery.inArray(e,t)-1]||t[t.length-1];return isNaN(s)?s:null}function a(e,t,n,a){typeof e!=b&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var r=function(e,t,n){var i=t[n];if("string"==typeof i&&(i=t[i]),!i)throw new Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(var a=i.length-1;a>=0;a--){var r=i[a][3];if(r&&e>r)break}var o=i[a+1];if(!o)throw new Error('Timezone "'+n+'" not found on '+e+".");return o}(e,t,a);return{zone:r,rule:i(e,n,r[1])}}return{zones:{},rules:{},offset:function(e,t){if("Etc/UTC"==t||"Etc/GMT"==t)return 0;var n=a(e,this.zones,this.rules,t),i=n.zone,o=n.rule;return r.parseFloat(o?i[0]-o[6]:i[0])},convert:function(e,t,n){var i,a=n;typeof t==_&&(t=this.offset(e,t)),typeof n==_&&(n=this.offset(e,n));var r=e.getTimezoneOffset(),o=(e=new Date(e.getTime()+6e4*(t-n))).getTimezoneOffset();return typeof a==_&&(a=this.offset(e,a)),i=o-r+(n-a),new Date(e.getTime()+6e4*i)},apply:function(e,t){return this.convert(e,e.getTimezoneOffset(),t)},remove:function(e,t){return this.convert(e,t,e.getTimezoneOffset())},abbr:function(e,t){var n=a(e,this.zones,this.rules,t),i=n.zone,r=n.rule,o=i[2];return o.indexOf("/")>=0?o.split("/")[r&&+r[6]?1:0]:o.indexOf("%s")>=0?o.replace("%s",r&&"-"!=r[7]?r[7]:""):o},toLocalDate:function(e){return this.apply(new Date(e),"Etc/UTC")}}}(),r.date=function(){var e=6e4,t=864e5;function n(e,t){return 0===t&&23===e.getHours()&&(e.setHours(e.getHours()+2),!0)}function a(e,t,i){var a=e.getHours();i=i||1,t=(t-e.getDay()+7*i)%7,e.setDate(e.getDate()+t),n(e,a)}function o(e,t,n){return a(e=new Date(e),t,n),e}function s(e){return new Date(e.getFullYear(),e.getMonth(),1)}function l(e,n){var i=new Date(e.getFullYear(),0,1,-6),a=function(e,t){return 1!==t?c(o(e,t,-1),4):c(e,4-(e.getDay()||7))}(e,n),r=a.getTime()-i.getTime(),s=Math.floor(r/t);return 1+Math.floor(s/7)}function d(e){return n(e=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),0),e}function u(e){return f(e).getTime()-d(f(e))}function c(e,i){var a=e.getHours();return p(e=new Date(e),i*t),n(e,a),e}function p(t,n,i){var a,r=t.getTimezoneOffset();t.setTime(t.getTime()+n),i||(a=t.getTimezoneOffset()-r,t.setTime(t.getTime()+a*e))}function h(