/*
* Kendo UI Web v2014.1.318 (http://kendoui.com)
* Copyright 2014 Telerik AD. All rights reserved.
*
* Kendo UI Web commercial licenses may be obtained at
* http://www.telerik.com/purchase/license-agreement/kendo-ui-web
* If you do not own a commercial license, this file shall be governed by the
* GNU General Public License (GPL) version 3.
* For GPL requirements, please review: http://www.gnu.org/copyleft/gpl.html
*/
!function(e,define){define([],e)}(function(){return function(e,t){function n(){}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),r=e.substring(1);return"="===n?"+("+r+")+":":"===n?"+e("+r+")+":";"+e+";o+="}function o(e,t,n){return e+="",t=t||2,n=t-e.length,n?R[t].substring(0,n)+e:e}function i(e){var t=e.css(gt.support.transitions.css+"box-shadow")||e.css("box-shadow"),n=t?t.match(zt)||[0,0,0,0,0]:[0,0,0,0,0],r=St.max(+n[3],+(n[4]||0));return{left:-n[1]+r,right:+n[1]+r,bottom:+n[2]+r}}function a(t,n){var r,o,a,s,u,l,c,d,f=xt.browser,m="rtl"==t.css("direction");return t.parent().hasClass("k-animation-container")?(c=t.parent(".k-animation-container"),d=c[0].style,c.is(":hidden")&&c.show(),r=Dt.test(d.width)||Dt.test(d.height),r||c.css({width:t.outerWidth(),height:t.outerHeight(),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})):(o=i(t),a=t[0].style.width,s=t[0].style.height,u=Dt.test(a),l=Dt.test(s),f.opera&&(o.left=o.right=o.bottom=5),r=u||l,!u&&(!n||n&&a)&&(a=t.outerWidth()),!l&&(!n||n&&s)&&(s=t.outerHeight()),t.wrap(e("<div/>").addClass("k-animation-container").css({width:a,height:s,marginLeft:o.left*(m?1:-1),paddingLeft:o.left,paddingRight:o.right,paddingBottom:o.bottom})),r&&t.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})),f.msie&&St.floor(f.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=gt.data.ObservableArray,s=gt.data.DataSource,l=gt.data.HierarchicalDataSource;for(n in t)r=t[n],o=typeof r,o===Ht&&null!==r&&r.constructor!==Array&&r.constructor!==a&&r.constructor!==s&&r.constructor!==l?r instanceof Date?e[n]=new Date(r.getTime()):C(r.clone)?e[n]=r.clone():(i=e[n],e[n]=typeof i===Ht?i||{}:{},u(e[n],r)):o!==Ft&&(e[n]=r);return e}function l(e,n,r){for(var o in n)if(n.hasOwnProperty(o)&&n[o].test(e))return o;return r!==t?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)]})),gt.size(o)||(o=r),o}function m(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n}function p(e,t,n){t||(t="offset");var r=e[t]();return xt.browser.msie&&(xt.pointers||xt.msPointers)&&!n&&(r.top-=window.pageYOffset-document.documentElement.scrollTop,r.left-=window.pageXOffset-document.documentElement.scrollLeft),r}function h(e){var t={};return vt("string"==typeof e?e.split(" "):e,function(e){t[e]=this}),t}function g(e){return new gt.effects.Element(e)}function y(e,t,n,r){return typeof e===Et&&(C(t)&&(r=t,t=400,n=!1),C(n)&&(r=n,n=!1),typeof t===Nt&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:r}),yt({effects:{},duration:400,reverse:!1,init:Mt,teardown:Mt,hide:!1},e,{completeCallback:e.complete,complete:Mt})}function v(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 w(e,t,n,r){return t&&(t=t.split(" "),vt(t,function(t,n){e.toggleClass(n,r)})),e}function b(e){return(""+e).replace(j,"&amp;").replace(B,"&lt;").replace(Y,"&gt;").replace($,"&quot;").replace(J,"&#39;")}function M(e,n){var r;return 0===n.indexOf("data")&&(n=n.substring(4),n=n.charAt(0).toLowerCase()+n.substring(1)),n=n.replace(et,"-$1"),r=e.getAttribute("data-"+gt.ns+n),null===r?r=t:"null"===r?r=null:"true"===r?r=!0:"false"===r?r=!1:kt.test(r)?r=parseFloat(r):K.test(r)&&!X.test(r)&&(r=Function("return ("+r+")")()),r}function S(n,r){var o,i,a={};for(o in r)i=M(n,o),i!==t&&(Z.test(o)&&(i=gt.template(e("#"+i).html())),a[o]=i);return a}function T(t,n){return e.contains(t,n)?-1:1}function x(){var t=e(this);return e.inArray(t.attr("data-role"),["slider","rangeslider"])>0||t.is(":visible")}function D(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&O(e)}function O(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 k,C,E,A,H,P,N,F,_,I,U,R,W,L,j,B,$,J,Y,V,q,G,Q,Z,K,X,et,tt,nt,rt,ot,it,at,st,ut,lt,ct,dt,ft,mt,pt,ht,gt=window.kendo=window.kendo||{cultures:{}},yt=e.extend,vt=e.each,wt=e.isArray,bt=e.proxy,Mt=e.noop,St=Math,Tt=window.JSON||{},xt={},Dt=/%/,Ot=/\{(\d+)(:[^\}]+)?\}/g,zt=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,kt=/^(\+|-?)\d+(\.?)\d*$/,Ct="function",Et="string",At="number",Ht="object",Pt="null",Nt="boolean",Ft="undefined",_t={},It={},Ut=[].slice,Rt=window.Globalize;gt.version="2014.1.318",n.extend=function(e){var t,n,r=function(){},o=this,i=e&&e.init?e.init:function(){o.apply(this,arguments)};r.prototype=o.prototype,n=i.fn=i.prototype=new r;for(t in e)n[t]=null!=e[t]&&e[t].constructor===Object?yt(!0,{},r.prototype[t],e[t]):e[t];return n.constructor=i,i.extend=o.extend,i},n.prototype._initOptions=function(e){this.options=s({},this.options,e)},C=gt.isFunction=function(e){return"function"==typeof e},E=function(){this._defaultPrevented=!0},A=function(){return this._defaultPrevented===!0},H=n.extend({init:function(){this._events={}},bind:function(e,n,r){var o,i,a,s,u,l=this,c=typeof e===Et?[e]:e,d=typeof n===Ct;if(n===t){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?n:n[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===Et?[e]:e,u=typeof t===Ct;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=E,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,n){var r,o=this,i=o._events[e];if(e===t)o._events={};else if(i)if(n)for(r=i.length-1;r>=0;r--)i[r]===n&&i.splice(r,1);else o._events[e]=[];return o}}),P=/^\w+/,N=/\$\{([^}]*)\}/g,F=/\\\}/g,_=/__CURLY__/g,I=/\\#/g,U=/__SHARP__/g,R=["","0","00","000","0000"],k={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 o,i,a,s=yt({},this,n),u=s.paramName,l=u.match(P)[0],c=s.useWithBlock,d="var o,e=kendo.htmlEncode;";if(C(t))return 2===t.length?function(n){return t(e,{data:n}).join("")}:t;for(d+=c?"with("+u+"){":"",d+="o=",i=t.replace(F,"__CURLY__").replace(N,"#=e($1)#").replace(_,"}").replace(I,"__SHARP__").split("#"),a=0;i.length>a;a++)d+=r(i[a],a%2===0);d+=c?";}":";",d+="return o;",d=d.replace(U,"#");try{return o=Function(l,d),o._slotCount=Math.floor(i.length/2),o}catch(f){throw Error(gt.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===Et?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function t(o,a){var s,l,c,d,f,m,p=n,h=a[o];if(h&&typeof h===Ht&&typeof h.toJSON===Ct&&(h=h.toJSON(o)),typeof i===Ct&&(h=i.call(a,o,h)),m=typeof h,m===Et)return e(h);if(m===At)return isFinite(h)?h+"":Pt;if(m===Nt||m===Pt)return h+"";if(m===Ht){if(!h)return Pt;if(n+=r,f=[],"[object Array]"===u.apply(h)){for(d=h.length,s=0;d>s;s++)f[s]=t(s,h)||Pt;return c=0===f.length?"[]":n?"[\n"+n+f.join(",\n"+n)+"\n"+p+"]":"["+f.join(",")+"]",n=p,c}if(i&&typeof i===Ht)for(d=i.length,s=0;d>s;s++)typeof i[s]===Et&&(l=i[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"+p+"}":"{"+f.join(",")+"}",n=p,c}}var n,r,i,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!==Ct&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?o(e.getUTCFullYear(),4)+"-"+o(e.getUTCMonth()+1)+"-"+o(e.getUTCDate())+"T"+o(e.getUTCHours())+":"+o(e.getUTCMinutes())+":"+o(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof Tt.stringify!==Ct&&(Tt.stringify=function(e,o,a){var s;if(n="",r="",typeof a===At)for(s=0;a>s;s+=1)r+=" ";else typeof a===Et&&(r=a);if(i=o,o&&typeof o!==Ct&&(typeof o!==Ht||typeof o.length!==At))throw Error("JSON.stringify");return t("",{"":e})})}(),function(){function n(e){if(e){if(e.numberFormat)return e;if(typeof e===Et){var t=gt.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function r(e){return e&&(e=n(e)),e||gt.cultures.current}function i(e){e.groupSizes=e.groupSize,e.percent.groupSizes=e.percent.groupSize,e.currency.groupSizes=e.currency.groupSize}function a(e,n,i){i=r(i);var a=i.calendars.standard,s=a.days,u=a.months;return n=a.patterns[n]||n,n.replace(c,function(n){var r;return"d"===n?r=e.getDate():"dd"===n?r=o(e.getDate()):"ddd"===n?r=s.namesAbbr[e.getDay()]:"dddd"===n?r=s.names[e.getDay()]:"M"===n?r=e.getMonth()+1:"MM"===n?r=o(e.getMonth()+1):"MMM"===n?r=u.namesAbbr[e.getMonth()]:"MMMM"===n?r=u.names[e.getMonth()]:"yy"===n?r=o(e.getFullYear()%100):"yyyy"===n?r=o(e.getFullYear(),4):"h"===n?r=e.getHours()%12||12:"hh"===n?r=o(e.getHours()%12||12):"H"===n?r=e.getHours():"HH"===n?r=o(e.getHours()):"m"===n?r=e.getMinutes():"mm"===n?r=o(e.getMinutes()):"s"===n?r=e.getSeconds():"ss"===n?r=o(e.getSeconds()):"f"===n?r=St.floor(e.getMilliseconds()/100):"ff"===n?r=St.floor(e.getMilliseconds()/10):"fff"===n?r=e.getMilliseconds():"tt"===n&&(r=e.getHours()<12?a.AM[0]:a.PM[0]),r!==t?r:n.slice(1,n.length-1)})}function s(e,n,o){o=r(o);var i,a,s,l,c,b,M,S,T,x,D,O,z,k,C,E,A,H,P,N,F,_,I,U=o.numberFormat,R=U.groupSize[0],W=U[g],L=U[h],j=U.decimals,B=U.pattern[0],$=[],J=0>e,Y=p,V=p,q=-1;if(e===t)return p;if(!isFinite(e))return e;if(!n)return o.name.length?e.toLocaleString():""+e;if(c=d.exec(n)){if(n=c[1].toLowerCase(),a="c"===n,s="p"===n,(a||s)&&(U=a?U.currency:U.percent,R=U.groupSize[0],W=U[g],L=U[h],j=U.decimals,i=U.symbol,B=U.pattern[J?0:1]),l=c[2],l&&(j=+l),"e"===n)return l?e.toExponential(j):e.toExponential();if(s&&(e*=100),e=u(e,j),J=0>e,e=e.split(h),b=e[0],M=e[1],J&&(b=b.substring(1)),V=b,S=b.length,S>=R)for(V=p,x=0;S>x;x++)x>0&&(S-x)%R===0&&(V+=W),V+=b.charAt(x);if(M&&(V+=L+M),"n"===n&&!J)return V;for(e=p,x=0,D=B.length;D>x;x++)O=B.charAt(x),e+="n"===O?V:"$"===O||"%"===O?i:O;return e}if(J&&(e=-e),(n.indexOf("'")>-1||n.indexOf('"')>-1||n.indexOf("\\")>-1)&&(n=n.replace(f,function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return $.push(n),w})),n=n.split(";"),J&&n[1])n=n[1],k=!0;else if(0===e){if(n=n[2]||n[0],-1==n.indexOf(y)&&-1==n.indexOf(v))return n}else n=n[0];if(N=n.indexOf("%"),F=n.indexOf("$"),s=-1!=N,a=-1!=F,s&&(e*=100),a&&"\\"===n[F-1]&&(n=n.split("\\").join(""),a=!1),(a||s)&&(U=a?U.currency:U.percent,R=U.groupSize[0],W=U[g],L=U[h],j=U.decimals,i=U.symbol),z=n.indexOf(g)>-1,z&&(n=n.replace(m,p)),C=n.indexOf(h),D=n.length,-1!=C?(M=(""+e).split("e"),M=M[1]?u(e,Math.abs(M[1])):M[0],M=M.split(h)[1]||p,A=n.lastIndexOf(v)-C,E=n.lastIndexOf(y)-C,H=A>-1,P=E>-1,x=M.length,H||P||(n=n.substring(0,C)+n.substring(C+1),D=n.length,C=-1,x=0),H&&A>E?x=A:E>A&&(P&&x>E?x=E:H&&A>x&&(x=A)),x>-1&&(e=u(e,x))):e=u(e),E=n.indexOf(y),_=A=n.indexOf(v),q=-1==E&&-1!=A?A:-1!=E&&-1==A?E:E>A?A:E,E=n.lastIndexOf(y),A=n.lastIndexOf(v),I=-1==E&&-1!=A?A:-1!=E&&-1==A?E:E>A?E:A,q==D&&(I=q),-1!=q){if(V=(""+e).split(h),b=V[0],M=V[1]||p,S=b.length,T=M.length,J&&-1*e>=0&&(J=!1),z)if(S===R&&C-_>S)b=W+b;else if(S>R){for(V=p,x=0;S>x;x++)x>0&&(S-x)%R===0&&(V+=W),V+=b.charAt(x);b=V}for(e=n.substring(0,q),J&&!k&&(e+="-"),x=q;D>x;x++){if(O=n.charAt(x),-1==C){if(S>I-x){e+=b;break}}else if(-1!=A&&x>A&&(Y=p),S>=C-x&&C-x>-1&&(e+=b,x=C),C===x){e+=(M?L:p)+M,x+=I-C+1;continue}O===v?(e+=O,Y=O):O===y&&(e+=Y)}if(I>=q&&(e+=n.substring(I+1)),a||s){for(V=p,x=0,D=e.length;D>x;x++)O=e.charAt(x),V+="$"===O||"%"===O?i:O;e=V}if(D=$.length)for(x=0;D>x;x++)e=e.replace(w,$[x])}return e}var u,l,c=/dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|"[^"]*"|'[^']*'/g,d=/^(n|c|p|e)(\d*)$/i,f=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,m=/\,/g,p="",h=".",g=",",y="#",v="0",w="??",b="en-US",M={}.toString;gt.cultures["en-US"]={name:b,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}}},gt.culture=function(e){var r,o=gt.cultures;return e===t?o.current:(r=n(e)||o[b],r.calendar=r.calendars.standard,o.current=r,Rt&&i(r.numberFormat),t)},gt.findCulture=n,gt.getCulture=r,gt.culture(b),u=function(e,t){return t=t||0,e=(""+e).split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t))),e=(""+e).split("e"),e=+(e[0]+"e"+(e[1]?+e[1]-t:-t)),e.toFixed(t)},l=function(e,n,r){if(n){if("[object Date]"===M.call(e))return a(e,n,r);if(typeof e===At)return s(e,n,r)}return e!==t?e:""},Rt&&(l=function(t,n,r){return e.isPlainObject(r)&&(r=r.name),Rt.format(t,n,r)}),gt.format=function(e){var t=arguments;return e.replace(Ot,function(e,n,r){var o=t[parseInt(n,10)+1];return l(o,r?r.substring(1):"")})},gt._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},gt._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},gt._round=u,gt.toString=l}(),function(){function n(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,m,p,h,y,v,w,b,M,S,T,x,D=function(e){for(var t=0;r[I]===e;)t++,I++;return t>0&&(I-=1),t},O=function(t){var n=g[t]||RegExp("^\\d{1,"+t+"}"),r=e.substr(U,t).match(n);return r?(r=r[0],U+=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(U,o),n&&(i=i.toLowerCase()),i==r)return U+=o,a+1;return null},k=function(){var t=!1;return e.charAt(U)===r[I]&&(U++,t=!0),t},C=a.calendars.standard,E=null,A=null,H=null,P=null,N=null,F=null,_=null,I=0,U=0,R=!1,W=new Date,L=C.twoDigitYearMax||2029,j=W.getFullYear();for(r||(r="d"),m=C.patterns[r],m&&(r=m),r=r.split(""),c=r.length;c>I;I++)if(u=r[I],R)"'"===u?R=!1:k();else if("d"===u){if(l=D("d"),C._lowerDays||(C._lowerDays=s(C.days)),H=3>l?O(2):z(C._lowerDays[3==l?"namesAbbr":"names"],!0),null===H||n(H,1,31))return null}else if("M"===u){if(l=D("M"),C._lowerMonths||(C._lowerMonths=s(C.months)),A=3>l?O(2):z(C._lowerMonths[3==l?"namesAbbr":"names"],!0),null===A||n(A,1,12))return null;A-=1}else if("y"===u){if(l=D("y"),E=O(l),null===E)return null;2==l&&("string"==typeof L&&(L=j+parseInt(L,10)),E=j-j%100+E,E>L&&(E-=100))}else if("h"===u){if(D("h"),P=O(2),12==P&&(P=0),null===P||n(P,0,11))return null}else if("H"===u){if(D("H"),P=O(2),null===P||n(P,0,23))return null}else if("m"===u){if(D("m"),N=O(2),null===N||n(N,0,59))return null}else if("s"===u){if(D("s"),F=O(2),null===F||n(F,0,59))return null}else if("f"===u){if(l=D("f"),x=e.substr(U,l).match(g[3]),_=O(l),null!==_&&(x=x[0].length,3>x&&(_*=Math.pow(10,3-x)),l>3&&(_=parseInt((""+_).substring(0,3),10))),null===_||n(_,0,999))return null}else if("t"===u){if(l=D("t"),w=C.AM,b=C.PM,1===l&&(w=o(w),b=o(b)),p=z(b),!p&&!z(w))return null}else if("z"===u){if(h=!0,l=D("z"),"Z"===e.substr(U,1)){if(!y)return null;k();continue}if(v=e.substr(U,6).match(l>2?f:d),!v)return null;if(v=v[0],U=v.length,v=v.split(":"),M=parseInt(v[0],10),n(M,-12,13))return null;if(l>2&&(S=parseInt(v[1],10),isNaN(S)||n(S,0,59)))return null}else if("T"===u)y=k();else if("'"===u)R=!0,k();else if(!k())return null;return T=null!==P||null!==N||F||null,null===E&&null===A&&null===H&&T?(E=j,A=W.getMonth(),H=W.getDate()):(null===E&&(E=j),null===H&&(H=1)),p&&12>P&&(P+=12),h?(M&&(P+=-M),S&&(N+=-S),e=new Date(Date.UTC(E,A,H,P,N,F,_))):(e=new Date(E,A,H,P,N,F,_),i(e,P)),100>E&&e.setFullYear(E),e.getDate()!==H&&h===t?null:e}var l=/\u00A0/g,c=/[eE][\-+]?[0-9]+/,d=/[+|\-]\d{1,2}/,f=/[+|\-]\d{1,2}:\d{2}/,m=/^\/Date\((.*?)\)\/$/,p=/[+-]/,h=["G","g","d","F","D","y","m","T","t"],g={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},y={}.toString;gt.parseDate=function(e,t,n){var r,o,i,a,s;if("[object Date]"===y.call(e))return e;if(r=0,o=null,e&&0===e.indexOf("/D")&&(o=m.exec(e)))return s=o=o[1],o=parseInt(o,10),s=s.substring(1).split(p)[1],s&&(o-=parseInt(s,10)*gt.date.MS_PER_MINUTE),new Date(o);if(n=gt.getCulture(n),!t){for(t=[],a=n.calendar.patterns,i=h.length;i>r;r++)t[r]=a[h[r]];r=0,t=["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","HH:mm:ss","HH:mm"].concat(t)}for(t=wt(t)?t:[t],i=t.length;i>r;r++)if(o=u(e,t[r],n))return o;return o},gt.parseInt=function(e,t){var n=gt.parseFloat(e,t);return n&&(n=0|n),n},gt.parseFloat=function(e,t,n){if(!e&&0!==e)return null;if(typeof e===At)return e;e=""+e,t=gt.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)},Rt&&(gt.parseDate=function(e,t,n){return"[object Date]"===y.call(e)?e:Rt.parseDate(e,t,n)},gt.parseFloat=function(n,r){return typeof n===At?n:n===t||null===n?null:(e.isPlainObject(r)&&(r=r.name),n=Rt.parseFloat(n,r),isNaN(n)?null:n)})}(),function(){var n,r,o,i,a,s,u;xt.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},xt.isRtl=function(t){return e(t).closest(".k-rtl").length>0},n=document.createElement("table");try{n.innerHTML="<tr><td></td></tr>",xt.tbodyInnerHtml=!0}catch(c){xt.tbodyInnerHtml=!1}xt.touch="ontouchstart"in window,xt.msPointers=window.MSPointerEvent,xt.pointers=window.PointerEvent,r=xt.transitions=!1,o=xt.transforms=!1,i="HTMLElement"in window?HTMLElement.prototype:[],xt.hasHW3D="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix||"MozPerspective"in document.documentElement.style||"msPerspective"in document.documentElement.style,vt(["Moz","webkit","O","ms"],function(){var e,i=""+this,a=typeof n.style[i+"Transition"]===Et;return a||typeof n.style[i+"Transform"]===Et?(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):t}),n=null,xt.transforms=o,xt.transitions=r,xt.devicePixelRatio=window.devicePixelRatio===t?1:window.devicePixelRatio;try{xt.screenWidth=window.outerWidth||window.screen?window.screen.availWidth:window.innerWidth,xt.screenHeight=window.outerHeight||window.screen?window.screen.availHeight:window.innerHeight}catch(c){xt.screenWidth=window.screen.availWidth,xt.screenHeight=window.screen.availHeight}xt.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+)?)/,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/},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|crios/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-(3>t.length?t.length:2)).join("0"),r.cordova=typeof window.PhoneGap!==Ft||typeof window.cordova!==Ft,r.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||r.cordova,r.android&&(1.5>xt.devicePixelRatio&&400>r.flatVersion||i)&&(xt.screenWidth>800||xt.screenHeight>800)&&(r.tablet=n);break}return r},a=xt.mobileOS=xt.detectOS(navigator.userAgent),xt.wpDevicePixelRatio=a.wp?screen.width/320:0,xt.kineticScrollNeeded=a&&(xt.touch||xt.msPointers||xt.pointers),xt.hasNativeScrolling=!1,(a.ios||a.android&&a.majorVersion>2||a.wp)&&(xt.hasNativeScrolling=a),xt.mouseAndTouchPresent=xt.touch&&!(xt.mobileOS.ios||xt.mobileOS.android),xt.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},xt.browser=xt.detectBrowser(navigator.userAgent),xt.zoomLevel=function(){try{return xt.touch?document.documentElement.clientWidth/window.innerWidth:xt.browser.msie&&xt.browser.version>=10?(top||window).document.documentElement.offsetWidth/(top||window).innerWidth:1}catch(e){return 1}},xt.cssBorderSpacing=t!==document.documentElement.style.borderSpacing&&!(xt.browser.msie&&8>xt.browser.version),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)}(xt.browser),xt.eventCapture=document.documentElement.addEventListener,s=document.createElement("input"),xt.placeholder="placeholder"in s,xt.propertyChangeEvent="onpropertychange"in s,xt.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}(),s.style.cssText="float:left;",xt.cssFloat=!!s.style.cssFloat,s=null,xt.stableSort=function(){var e,t=513,n=[{index:0,field:"b"}];for(e=1;t>e;e++)n.push({index:e,field:"a"});return n.sort(function(e,t){return e.field>t.field?1:t.field>e.field?-1:0}),1===n[0].index}(),xt.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},xt.pushState=window.history&&window.history.pushState,u=document.documentMode,xt.hashChange="onhashchange"in window&&!(xt.browser.msie&&(!u||8>=u))}(),W={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,{enabled:!0,Element:function(t){this.element=e(t)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),L.promiseShim=L.promise,"kendoAnimate"in e.fn||yt(e.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,r){return v(this,e,t,n,r)},kendoAddClass:function(e,t){return gt.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return gt.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return gt.toggleClass(this,e,t,n)}}),j=/&/g,B=/</g,$=/"/g,J=/'/g,Y=/>/g,V=function(e){return e.target},xt.touch&&(V=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},vt(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],function(t,n){e.fn[n]=function(e){return this.bind(n,e)}})),xt.touch?xt.mobileOS?(xt.mousedown="touchstart",xt.mouseup="touchend",xt.mousemove="touchmove",xt.mousecancel="touchcancel",xt.click="touchend",xt.resize="orientationchange"):(xt.mousedown="mousedown touchstart",xt.mouseup="mouseup touchend",xt.mousemove="mousemove touchmove",xt.mousecancel="mouseleave touchcancel",xt.click="click",xt.resize="resize"):xt.pointers?(xt.mousemove="pointermove",xt.mousedown="pointerdown",xt.mouseup="pointerup",xt.mousecancel="pointercancel",xt.click="pointerup",xt.resize="orientationchange resize"):xt.msPointers?(xt.mousemove="MSPointerMove",xt.mousedown="MSPointerDown",xt.mouseup="MSPointerUp",xt.mousecancel="MSPointerCancel",xt.click="MSPointerUp",xt.resize="orientationchange resize"):(xt.mousemove="mousemove",xt.mousedown="mousedown",xt.mouseup="mouseup",xt.mousecancel="mouseleave",xt.click="click",xt.resize="resize"),q=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},G=/^([a-z]+:)?\/\//i,yt(gt,{ui:gt.ui||{},fx:gt.fx||g,effects:gt.effects||L,mobile:gt.mobile||{},data:gt.data||{},dataviz:gt.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,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:gt.support||xt,animate:gt.animate||v,ns:"",attr:function(e){return"data-"+gt.ns+e},getShadows:i,wrap:a,deepExtend:s,getComputedStyles:f,size:m,toCamelCase:d,toHyphens:c,getOffset:gt.getOffset||p,parseEffects:gt.parseEffects||h,toggleClass:gt.toggleClass||w,directions:gt.directions||W,Observable:H,Class:n,Template:k,template:bt(k.compile,k),render:bt(k.render,k),stringify:bt(Tt.stringify,Tt),eventTarget:V,htmlEncode:b,isLocalUrl:function(e){return e&&!G.test(e)},expr:function(e,t,n){return e=e||"",typeof t==Et&&(n=t,t=!1),n=n||"d",e&&"["!==e.charAt(0)&&(e="."+e),e=t?q(e.split("."),n):n+e},getter:function(e,t){return _t[e]=_t[e]||Function("d","return "+gt.expr(e,t))},setter:function(e){return It[e]=It[e]||Function("d,value",gt.expr(e)+"=value")},accessor:function(e){return{get:gt.getter(e),set:gt.setter(e)}},guid:function(){var e,t,n="";for(e=0;32>e;e++)t=16*St.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,"["+gt.attr("role")+"=$1],").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},logToConsole:function(e){var n=window.console;t!==n&&n.log&&n.log(e)}}),Q=H.extend({init:function(e,t){var n=this;n.element=gt.jQuery(e).handler(n),H.fn.init.call(n),t=n.options=yt(!0,{},n.options,t),n.element.attr(gt.attr("role"))||n.element.attr(gt.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){this._setEvents(t),e.extend(this.options,t)},_setEvents:function(e){for(var t,n=this,r=0,o=n.events.length;o>r;r++)t=n.events[r],n.options[t]&&e[t]&&n.unbind(t,n.options[t]);n.bind(n.events,e)},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 gt.dimensions(this.element)},size:function(e){return e?(this.setSize(e),t):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()}}),gt.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},gt.notify=Mt,Z=/template$/i,K=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,X=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]*\]$/,et=/([A-Z])/g,gt.initWidget=function(n,r,o){var i,a,s,u,l,c,d,f;if(o?o.roles&&(o=o.roles):o=gt.ui.roles,n=n.nodeType?n:n[0],c=n.getAttribute("data-"+gt.ns+"role"),c&&(s=-1===c.indexOf(".")?o[c]:gt.getter(c)(window))){for(f=M(n,"dataSource"),r=e.extend({},S(n,s.fn.options),r),f&&(r.dataSource=typeof f===Et?gt.getter(f)(window):f),u=0,l=s.fn.events.length;l>u;u++)a=s.fn.events[u],d=M(n,a),d!==t&&(r[a]=gt.getter(d)(window));return i=e(n).data("kendo"+s.fn.options.prefix+s.fn.options.name),i?i.setOptions(r):i=new s(n,r),i}},gt.rolesFromNamespaces=function(e){var t,n,r=[];for(e[0]||(e=[gt.ui,gt.dataviz.ui]),t=0,n=e.length;n>t;t++)r[t]=e[t].roles;return yt.apply(null,[{}].concat(r.reverse()))},gt.init=function(t){var n=gt.rolesFromNamespaces(Ut.call(arguments,1));e(t).find("[data-"+gt.ns+"role]").addBack().each(function(){gt.initWidget(this,{},n)})},gt.destroy=function(t){e(t).find("[data-"+gt.ns+"role]").addBack().each(function(){var t=gt.widgetInstance(e(this));t&&t.destroy()})},gt.resize=function(t){var n,r=e(t).find("[data-"+gt.ns+"role]").addBack().filter(x);r.length&&(n=e.makeArray(r),n.sort(T),e.each(n,function(){var t=gt.widgetInstance(e(this));t&&t.resize()}))},gt.parseOptions=S,yt(gt.ui,{Widget:Q,roles:{},progress:function(t,n){var r,o,i,a,s=t.find(".k-loading-mask"),u=gt.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(n,r,o){var i,a=n.fn.options.name;r=r||gt.ui,o=o||"",r[a]=n,r.roles[a.toLowerCase()]=n,i="getKendo"+o+a,a="kendo"+o+a,e.fn[a]=function(r){var o,i=this;return typeof r===Et?(o=Ut.call(arguments,1),this.each(function(){var n,s,u=e.data(this,a);if(!u)throw Error(gt.format("Cannot call method '{0}' of {1} before it is initialized",r,a));if(n=u[r],typeof n!==Ct)throw Error(gt.format("Cannot find method '{0}' of {1}",r,a));return s=n.apply(u,o),s!==t?(i=s,!1):t})):this.each(function(){new n(this,r)}),i},e.fn[i]=function(){return this.data(a)}}}),tt={bind:function(){return this},nullObject:!0},nt=Q.extend({init:function(e,t){Q.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){Q.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(gt.roleSelector("view splitview modalview drawer"));return gt.widgetInstance(e,gt.mobile.ui)},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(gt.roleSelector("view layout modalview drawer"));return gt.widgetInstance(e,gt.mobile.ui)||tt}}),yt(gt.mobile,{init:function(e){gt.init(e,gt.mobile.ui,gt.ui,gt.dataviz.ui)},appLevelNativeScrolling:function(){return gt.mobile.application&&gt.mobile.application.options&&gt.mobile.application.options.useNativeScrolling},ui:{Widget:nt,roles:{},plugin:function(e){gt.ui.plugin(e,gt.mobile.ui,"Mobile")}}}),gt.touchScroller=function(t,n){return e(t).map(function(t,r){return r=e(r),xt.kineticScrollNeeded&&gt.mobile.ui.Scroller&&!r.data("kendoMobileScroller")?(r.kendoMobileScroller(n),r.data("kendoMobileScroller")):!1})[0]},gt.preventDefault=function(e){e.preventDefault()},gt.widgetInstance=function(e,t){var n,r,o,i,a=e.data(gt.ns+"role"),s=[];if(a){if("content"===a&&(a="scroller"),t)if(t[0])for(n=0,r=t.length;r>n;n++)s.push(t[n].roles[a]);else s.push(t.roles[a]);else s=[gt.ui.roles[a],gt.dataviz.ui.roles[a],gt.mobile.ui.roles[a]];for(a.indexOf(".")>=0&&(s=[gt.getter(a)(window)]),n=0,r=s.length;r>n;n++)if(o=s[n],o&&(i=e.data("kendo"+o.fn.options.prefix+o.fn.options.name)))return i}},gt.onResize=function(t){var n=t;return xt.mobileOS.android&&(n=function(){setTimeout(t,600)}),e(window).on(xt.resize,n),n},gt.unbindResize=function(t){e(window).off(xt.resize,t)},gt.attrValue=function(e,t){return e.data(gt.ns+t)},gt.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 D(t,!isNaN(n)&&n>-1)}}),rt=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],ot="label, input, [data-rel=external]",it={setupMouseMute:function(){var t,n=0,r=rt.length,o=document.documentElement;if(!it.mouseTrap&&xt.eventCapture)for(it.mouseTrap=!0,it.bustClick=!1,it.captureMouse=!1,t=function(t){it.captureMouse&&("click"===t.type?it.bustClick&&!e(t.target).is(ot)&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};r>n;n++)o.addEventListener(rt[n],t,!0)},muteMouse:function(e){it.captureMouse=!0,e.data.bustClick&&(it.bustClick=!0),clearTimeout(it.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(it.mouseTrapTimeoutID),it.mouseTrapTimeoutID=setTimeout(function(){it.captureMouse=!1,it.bustClick=!1},400)}},at={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},xt.touch&&(xt.mobileOS.ios||xt.mobileOS.android)?at={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:xt.pointers?at={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:xt.msPointers&&(at={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),!xt.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}}}),st=function(e){return at[e]||e},ut=/([^ ]+)/g,gt.applyEventMap=function(e,t){return e=e.replace(ut,st),t&&(e=e.replace(ut,"$1."+t)),e},lt=e.fn.on,yt(!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,ct)},z.fn.init.prototype=z.fn,ct=z(document),yt(z.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||gt.guid()),this},on:function(){var e,t,n,r,o,i,a=this,s=a.data("kendoNS");return 1===arguments.length?lt.call(a,arguments[0]):(e=a,t=Ut.call(arguments),typeof t[t.length-1]===Ft&&t.pop(),n=t[t.length-1],r=gt.applyEventMap(t[0],s),xt.mouseAndTouchPresent&&r.search(/mouse|click/)>-1&&this[0]!==document.documentElement&&(it.setupMouseMute(),o=2===t.length?null:t[1],i=r.indexOf("click")>-1&&r.indexOf("touchend")>-1,lt.call(this,{touchstart:it.muteMouse,touchend:it.unMuteMouse},o,{bustClick:i})),typeof n===Et&&(e=a.data("handler"),n=e[n],t[t.length-1]=function(t){n.call(e,t)}),t[0]=r,lt.apply(a,t),a)},kendoDestroy:function(e){return e=e||this.data("kendoNS"),e&&this.off("."+e),this}}),gt.jQuery=z,gt.eventMap=at,gt.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,s;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=+e(a,t)),"number"!=typeof n&&(n=+e(a,n)),t-n}),s=n[jQuery.inArray(t,n)-1]||n[n.length-1],isNaN(s)?s:null):(o=r.split(":"),i=0,o.length>1&&(i=60*o[0]+ +o[1]),[-1e6,"max","-","Jan",1,[0,0,0],i,"-"])}function n(e,t,n){var r,o,i,a=t[n];if("string"==typeof a&&(a=t[a]),!a)throw Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(r=a.length-1;r>=0&&(o=a[r][3],!(o&&e>o));r--);if(i=a[r+1],!i)throw Error('Timezone "'+n+'" not found on '+e+".");return i}function r(e,r,o,i){typeof e!=At&&(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==Et&&(t=this.offset(e,t)),typeof n==Et&&(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}}(),gt.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 m(e){return i(e).getTime()==f().getTime()}function p(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:m,nextDay:function(e){return c(e,1)},previousDay:function(e){return c(e,-1)},toUtcTime:a,MS_PER_DAY:g,MS_PER_HOUR:60*h,MS_PER_MINUTE:h,setTime:d,addDays:c,today:f,toInvariantTime:p,firstDayOfMonth:r,lastDayOfMonth:o,getMilliseconds:s}}(),gt.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)},dt=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},gt.animationFrame=function(e){dt.call(window,e)},ft=[],gt.queueAnimation=function(e){ft[ft.length]=e,1===ft.length&&gt.runNextAnimation()},gt.runNextAnimation=function(){gt.animationFrame(function(){ft[0]&&(ft.shift()(),ft[0]&&gt.runNextAnimation())})},gt.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},mt=gt.support.mobileOS,pt=mt&&mt.android,ht=pt&&"chrome"==mt.browser,gt.elementUnderCursor=function(e){return ht?document.elementFromPoint(e.x.screen,e.y.screen):document.elementFromPoint(e.x.client,e.y.client)},gt.wheelDeltaY=function(e){var n,r=e.originalEvent,o=r.wheelDeltaY;return r.wheelDelta?(o===t||o)&&(n=r.wheelDelta):r.detail&&r.axis===r.VERTICAL_AXIS&&(n=10*-r.detail),n},gt.caret=function(n,r,o){var i,a,s,u,l=r!==t;if(o===t&&(o=r),n[0]&&(n=n[0]),!l||!n.disabled){try{n.selectionStart!==t?l?(n.focus(),n.setSelectionRange(r,o)):r=[n.selectionStart,n.selectionEnd]:document.selection&&(e(n).is(":visible")&&n.focus(),i=n.createTextRange(),l?(i.collapse(!0),i.moveStart("character",r),i.moveEnd("character",o-r),i.select()):(a=i.duplicate(),i.moveToBookmark(document.selection.createRange().getBookmark()),a.setEndPoint("EndToStart",i),s=a.text.length,u=s+i.text.length,r=[s,u]))}catch(c){r=[]}return r}}}(jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t){t()});