@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
2 lines • 135 kB
JavaScript
module.exports=function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=t,e.c=o,e.p="",e(0)}({0:function(t,e,o){o(952),t.exports=o(952)},3:function(t,e){t.exports=function(){throw Error("define cannot be used indirect")}},952:function(t,e,o){var n,r,i;!function(s,define){r=[o(953),o(954),o(955)],n=s,i="function"==typeof n?n.apply(e,r):n,!(void 0!==i&&(t.exports=i))}(function(){!function(t){function e(t,e){return t.push.apply(t,e),t}function o(t){for(var e=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],o="";t>0;)t<e[0]?e.shift():(o+=no[e[0]],t-=e[0]);return o}function n(t){return typeof t!==ro}function r(){return"kdef"+io++}function i(t){return t/so}function s(t){var e,o,n,r,i="";for(e=0;e<t.length;e++)o=t.charCodeAt(e),55296<=o&&o<=56319&&(n=o,r=t.charCodeAt(++e),isNaN(r)||(o=1024*(n-55296)+(r-56320)+65536)),o<128?i+=co(o):o<2048?(i+=co(192|o>>>6),i+=co(128|63&o)):o<65536?(i+=co(224|o>>>12),i+=co(128|o>>>6&63),i+=co(128|63&o)):o<1114111&&(i+=co(240|o>>>18),i+=co(128|o>>>12&63),i+=co(128|o>>>6&63),i+=co(128|63&o));return i}function a(t){for(var e,o,n,r,i,a,p,c="",h=0,u=s(t);h<u.length;)e=u.charCodeAt(h++),o=u.charCodeAt(h++),n=u.charCodeAt(h++),r=e>>2,i=(3&e)<<4|o>>4,a=(15&o)<<2|n>>6,p=63&n,isNaN(o)?a=p=64:isNaN(n)&&(p=64),c=c+ho.charAt(r)+ho.charAt(i)+ho.charAt(a)+ho.charAt(p);return c}function p(t){return n((t.x||{}).location)?{x:t.x.location,y:t.y.location}:{x:t.pageX||t.clientX||0,y:t.pageY||t.clientY||0}}function c(t){return void 0===t&&(t={}),t.touch?t.touch.initialTouch:t.target}function h(t){return""===t||null===t||"none"===t||"transparent"===t||!n(t)}function u(t){if(t)return t[t.length-1]}function l(t,e,o){return Math.max(Math.min(t,o),e)}function f(t,e){function o(t,o){for(var n=[],r=0,i=0,s=0;r<t.length&&i<o.length;)e(t[r],o[i])<=0?n[s++]=t[r++]:n[s++]=o[i++];return r<t.length&&n.push.apply(n,t.slice(r)),i<o.length&&n.push.apply(n,o.slice(i)),n}return t.length<2?t.slice():function n(t){var e,r,i;return t.length<=1?t:(e=Math.floor(t.length/2),r=t.slice(0,e),i=t.slice(e),r=n(r),i=n(i),o(r,i))}(t)}function d(t){return t*so}function y(t){return t?Math.pow(10,t):1}function g(t,e){var o=y(e);return Math.round(t*o)/o}function m(t,e){return n(t)?t:e}function v(t,e){var o,n,r;for(o in e)for(n=o.trim().split(" "),r=0;r<n.length;r++)t.addEventListener(n[r],e[o],!1)}function x(t){var e=t.getBoundingClientRect(),o=document.documentElement;return{top:e.top+(window.pageYOffset||o.scrollTop)-(o.clientTop||0),left:e.left+(window.pageXOffset||o.scrollLeft)-(o.clientLeft||0)}}function b(t,e){var o,n,r={},i=window.getComputedStyle(t)||{},s=Array.isArray(e)?e:[e];for(o=0;o<s.length;o++)n=s[o],r[n]=i[n];return r}function w(t){return isNaN(t)?t:t+"px"}function _(t,e){var o,r,i;return e?(o=e.width,r=e.height,n(o)&&(t.style.width=w(o)),n(r)&&(t.style.height=w(r)),void 0):(i=b(t,["width","height"]),{width:parseInt(i.width,10),height:parseInt(i.height,10)})}function C(t,e){var o,n,r;void 0===e&&(e={});for(o in e)for(n=o.trim().split(" "),r=0;r<n.length;r++)t.removeEventListener(n[r],e[o],!1)}function T(t){var e=b(t,["paddingLeft","paddingTop"]),o=e.paddingLeft,n=e.paddingTop;return{top:parseFloat(n),left:parseFloat(o)}}function k(t){var e,o=t.match(fo);return null===o||2!==o.length?lo.unit():(e=o[1].split(",").map(function(t){return parseFloat(t)}),new(Function.prototype.bind.apply(lo,[null].concat(e))))}function O(t){var e=getComputedStyle(t).transform;return"none"===e?lo.unit():k(e)}function M(t){var e,o,n;if(!t)return lo.unit();for(e=O(t),o=t.parentElement;o;)n=O(o),e=e.multiplyCopy(n),o=o.parentElement;return e.b=e.c=e.e=e.f=0,e}function S(t){return function(e){return this[t]!==e&&(this[t]=e,this.geometryChange()),this}}function E(t){return function(){return this[t]}}function A(t,e){var o,n,r;for(o=0;o<e.length;o++)n=e[o],r=n.charAt(0).toUpperCase()+n.substring(1,n.length),t["set"+r]=S(n),t["get"+r]=E(n)}function P(t){return t&&"function"==typeof t.matrix?t.matrix():t}function N(t){return null===t?null:t instanceof _o?t:new _o(t)}function z(t,e,o,n){var r=0,i=0;return n&&(r=Math.atan2(n.c*o,n.a*e),0!==n.b&&(i=Math.atan2(n.d*o,n.b*e))),{x:r,y:i}}function j(t){var e="_"+t;return function(t){return n(t)?(this._observerField(e,t),this.geometryChange(),this):this[e]}}function R(t,e){for(var o=0;o<e.length;o++)t[e[o]]=j(e[o])}function B(t,e,o){return void 0===o&&(o=zo),0===g(Math.abs(t-e),o)}function F(t,e,o){return t<e||B(t,e,o)}function L(t,e,o,n){var r=e.x-t.x,i=n.x-o.x,s=e.y-t.y,a=n.y-o.y,p=t.x-o.x,c=t.y-o.y,h=r*a-i*s,u=(r*c-s*p)/h,l=(i*c-a*p)/h;if(u>=0&&u<=1&&l>=0&&l<=1)return new xo(t.x+l*r,t.y+l*s)}function I(t,e,o,n,r,s){var a=g((r-t)/o,3),p=g((s-e)/n,3);return g(i(Math.atan2(p,a)))}function D(t){var e,o,n,r,s,a,p,c,h,u,l,f,y,m,v,x,b,w,_,C,T,k,O,M,S,E=t.x1,A=t.y1,P=t.x2,N=t.y2,z=t.rx,j=t.ry,R=t.largeArc,B=t.swipe,F=t.rotation;return void 0===F&&(F=0),e=d(F),o=Math.cos(e),n=Math.sin(e),r=o*(E-P)/2+n*(A-N)/2,s=-n*(E-P)/2+o*(A-N)/2,a=R!==B?1:-1,p=Math.pow(r,2),c=Math.pow(s,2),h=Math.pow(z,2),u=Math.pow(j,2),l=p/h+c/u,l>1&&(l=Math.sqrt(p/h+c/u),z=l*z,h=Math.pow(z,2),j=l*j,u=Math.pow(j,2)),f=a*Math.sqrt((h*u-h*c-u*p)/(h*c+u*p)),isNaN(f)&&(f=0),y=f*(z*s)/j,m=-f*(j*r)/z,v=o*y-n*m+(E+P)/2,x=n*y+o*m+(A+N)/2,b=(r-y)/z,w=(s-m)/j,_=-(r+y)/z,C=-(s+m)/j,T=(w>=0?1:-1)*i(Math.acos(b/Math.sqrt(b*b+w*w))),k=g((b*_+w*C)/(Math.sqrt(b*b+w*w)*Math.sqrt(_*_+C*C)),10),O=(b*C-w*_>=0?1:-1)*i(Math.acos(k)),!B&&O>0&&(O-=360),B&&O<0&&(O+=360),M=T+O,S=M>=0?1:-1,M=Math.abs(M)%360*S,{center:new xo(v,x),startAngle:T,endAngle:M,radiusX:z,radiusY:j,xRotation:F}}function q(t,e){for(var o=t;o<e;)o+=90;return o}function G(t,e,o){var n=i(Math.atan2(e.y-t.y,e.x-t.x)),r=o.transformCopy(N().rotate(-n,t));return r.x<t.x}function $(t,e,o){var n=1-t;return Math.pow(n,3)*o[0][e]+3*Math.pow(n,2)*t*o[1][e]+3*Math.pow(t,2)*n*o[2][e]+Math.pow(t,3)*o[3][e]}function H(t,e){return[-t[0][e]+3*t[1][e]-3*t[2][e]+t[3][e],3*(t[0][e]-2*t[1][e]+t[2][e]),3*(-t[0][e]+t[1][e]),t[0][e]]}function U(t){return t<0?-1:1}function X(t,e,o){var n=Math.sqrt(Math.pow(e,2)-4*t*o);return[(-e+n)/(2*t),(-e-n)/(2*t)]}function V(t,e,o,n){var r,i,s,a,p,c,h,u,l,f,d,y,m;return 0===t?X(e,o,n):(r=(3*t*o-Math.pow(e,2))/(3*Math.pow(t,2)),i=(2*Math.pow(e,3)-9*t*e*o+27*Math.pow(t,2)*n)/(27*Math.pow(t,3)),s=Math.pow(r/3,3)+Math.pow(i/2,2),a=new Xo(0,1),p=-e/(3*t),s<0?(c=new Xo(-i/2,Math.sqrt(-s)).nthRoot(3),h=new Xo(-i/2,(-Math.sqrt(-s))).nthRoot(3)):(c=-i/2+Math.sqrt(s),c=new Xo(U(c)*Math.pow(Math.abs(c),1/3)),h=-i/2-Math.sqrt(s),h=new Xo(U(h)*Math.pow(Math.abs(h),1/3))),u=c.add(h),d=c.add(h).multiplyConstant(-.5),y=c.add(h.negate()).multiplyConstant(Math.sqrt(3)/2),l=d.add(a.multiply(y)),f=d.add(a.negate().multiply(y)),m=[],u.isReal()&&m.push(g(u.real+p,zo)),l.isReal()&&m.push(g(l.real+p,zo)),f.isReal()&&m.push(g(f.real+p,zo)),m)}function Y(t,e,o,n,r){var i,s,a=H(t,n),p=V(a[0],a[1],a[2],a[3]-e[n]);for(s=0;s<p.length;s++)if(0<=p[s]&&p[s]<=1&&(i=$(p[s],o,t),Math.abs(i-e[o])<=r))return!0}function W(t,e,o){var n,r,i,s=H(t,"x"),a=V(s[0],s[1],s[2],s[3]-e.x),p=0;for(i=0;i<a.length;i++)n=$(a[i],"y",t),r=B(n,e.y)||n>e.y,r&&((0===a[i]||1===a[i])&&o.bottomRight().x>e.x||0<a[i]&&a[i]<1)&&p++;return p}function Z(t,e,o){var n,r,i,s,a,p;return t.x!==e.x&&(r=Math.min(t.x,e.x),i=Math.max(t.x,e.x),s=Math.min(t.y,e.y),a=Math.max(t.y,e.y),p=r<=o.x&&o.x<i,n=s===a?o.y<=s&&p:p&&(a-s)*((t.x-e.x)*(t.y-e.y)>0?o.x-r:i-o.x)/(i-r)+s-o.y>=0),n?1:0}function J(t){var e="_"+t;return function(t){return n(t)?(this._observerField(e,xo.create(t)),this.geometryChange(),this):this[e]}}function K(t,e){for(var o=0;o<e.length;o++)t[e[o]]=J(e[o])}function Q(t){var e,o=t.length,n=ao,r=po;for(e=0;e<o;e++)r=Math.max(r,t[e]),n=Math.min(n,t[e]);return{min:n,max:r}}function tt(t,e,o){var n,r=e?0:1;for(n=0;n<t.length;n+=2)t.splice(n+r,0,o)}function et(t,e){if(t&&e)return e.scaleCopy(2).translate(-t.x,-t.y)}function ot(t,e,o){var n=e.clone().scale(2/3);return{controlOut:n.clone().translateWith(t.scaleCopy(Jo)),controlIn:n.translateWith(o.scaleCopy(Jo))}}function nt(t){var e=[];return t.replace(Qo,function(t,o){e.push(parseFloat(o))}),e}function rt(t,e){var o,n=new xo;return e.replace(Ko,function(e,r,i,s){var a=r.toLowerCase(),p=a===r,c=nt(i.trim());if(a===tn&&(p?(n.x+=c[0],n.y+=c[1]):(n.x=c[0],n.y=c[1]),t.moveTo(n.x,n.y),c.length>2&&(a="l",c.splice(0,2))),Zo[a])Zo[a](t,{parameters:c,position:n,isRelative:p,previousCommand:o}),s&&s.toLowerCase()===en&&t.close();else if(a!==tn)throw Error("Error while parsing SVG path. Unsupported command: "+a);o=a}),t}function it(t,e,o){var n,r,i,s;for(r=0;r<t.length;r++)i=t[r],i.visible()&&(s=e?i.bbox(o):i.rawBBox(),s&&(n=n?wo.union(n,s):s));return n}function st(t,e){var o,n,r,i;for(n=0;n<t.length;n++)r=t[n],r.visible()&&(i=r.clippedBBox(e),i&&(o=o?wo.union(o,i):i));return o}function at(t,e,o){var n=o.transform()||N(),r=n.matrix();r.e+=t.x-e.origin.x,r.f+=t.y-e.origin.y,n.matrix(r),o.transform(n)}function pt(t,e,o,n,r){var i;return i="start"===o?e.origin[n]:"end"===o?e.origin[n]+e.size[r]-t:e.origin[n]+(e.size[r]-t)/2}function ct(t,e,o,n,r){var i;return i="start"===o?e.origin[n]+e.size[r]-t:"end"===o?e.origin[n]:e.origin[n]+(e.size[r]-t)/2}function ht(t,e,o,n,r){var i,s,a;for(i=0;i<t.length;i++)s=t[i].clippedBBox(),s&&(a=s.origin.clone(),a[n]=pt(s.size[r],e,o||"start",n,r),at(a,s,t[i]))}function ut(t,e,o){ht(t,e,o,"x","width")}function lt(t,e,o){ht(t,e,o,"y","height")}function ft(t,e,o,n){var r,i,s,a,p;if(t.length>1)for(r=new xo,i=t[0].bbox,s=1;s<t.length;s++)a=t[s].element,p=t[s].bbox,r[e]=i.origin[e]+i.size[n],r[o]=p.origin[o],at(r,p,a),p.origin[e]=r[e],i=p}function dt(t){var e,o,n,r=[];for(e=0;e<t.length;e++)o=t[e],n=o.clippedBBox(),n&&r.push({element:o,bbox:n});return r}function yt(t){ft(dt(t),"x","y","width")}function gt(t){ft(dt(t),"y","x","height")}function mt(t,e,o){var n,r,i,s,a=e.size[o],p=[],c=[],h=0,u=function(){c.push({element:n,bbox:r})};for(i=0;i<t.length;i++)n=t[i],r=n.clippedBBox(),r&&(s=r.size[o],h+s>a?c.length?(p.push(c),c=[],u(),h=s):(u(),p.push(c),c=[],h=0):(u(),h+=s));return c.length&&p.push(c),p}function vt(t,e,o,n,r){var i,s,a,p,c=mt(t,e,r),h=e.origin.clone(),u=[];for(i=0;i<c.length;i++)for(s=c[i],a=s[0],h[n]=a.bbox.origin[n],at(h,a.bbox,a.element),a.bbox.origin[o]=h[o],ft(s,o,n,r),u.push([]),p=0;p<s.length;p++)u[i].push(s[p].element);return u}function xt(t,e){return vt(t,e,"x","y","width")}function bt(t,e){return vt(t,e,"y","x","height")}function wt(t,e){var o,n,r,i,s=t.clippedBBox();s&&(o=s.size,n=e.size,(n.width<o.width||n.height<o.height)&&(r=Math.min(n.width/o.width,n.height/o.height),i=t.transform()||N(),i.scale(r,r),t.transform(i)))}function _t(t){return function(e){return n(e)?(this.options.set(t,e),this):this.options.get(t)}}function Ct(t,e){for(var o=0;o<e.length;o++)t[e[o]]=_t(e[o])}function Tt(t){return.5-Math.cos(t*Math.PI)/2}function kt(t){return t}function Ot(t,e,o,n){var r=1.70158,i=0,s=n;return 0===t?o:1===t?o+n:(i||(i=.5),s<Math.abs(n)?(s=n,r=i/4):r=i/(2*Math.PI)*Math.asin(n/s),s*Math.pow(2,-10*t)*Math.sin((+t-r)*(1.1*Math.PI)/i)+n+o)}function Mt(t,e){return n(e)&&null!==e?" "+t+'="'+e+'" ':""}function St(t){var e,o="";for(e=0;e<t.length;e++)o+=Mt(t[e][0],t[e][1]);return o}function Et(t){var e,o,r="";for(e=0;e<t.length;e++)o=t[e][1],n(o)&&(r+=t[e][0]+":"+o+";");if(""!==r)return r}function At(t,e){return"clip"===t||"fill"===t&&(!e||"Gradient"===e.nodeType)}function Pt(){var t,e=document.getElementsByTagName("base")[0],o=document.location.href,n="";return e&&!(Qe||{}).msie&&(t=o.indexOf("#"),t!==-1&&(o=o.substring(0,t)),n=o),n}function Nt(t){if(!t||"string"!=typeof t||!ur.test(t))return t;var e=Nt._element;return ur.lastIndex=0,t.replace(ur,function(t){return e.innerHTML=t,e.textContent||e.innerText})}function zt(t){var e,o,n,r;try{e=t.getScreenCTM?t.getScreenCTM():null}catch(i){}e&&(o=-e.e%1,n=-e.f%1,r=t.style,0===o&&0===n||(r.left=o+"px",r.top=n+"px"))}function jt(t,e){var o,n,r,i,s,a,p=e.segments;if(0!==p.length){for(o=p[0],n=o.anchor(),t.moveTo(n.x,n.y),r=1;r<p.length;r++)o=p[r],n=o.anchor(),i=p[r-1],s=i.controlOut(),a=o.controlIn(),s&&a?t.bezierCurveTo(s.x,s.y,a.x,a.y,n.x,n.y):t.lineTo(n.x,n.y);e.options.closed&&t.closePath()}}function Rt(t,e){return t._zIndex<e._zIndex?1:t._zIndex>e._zIndex?-1:0}function Bt(t,e){var o,n,r;for(o=0;o<e.length;o++)n=e[o],r=kendo.parseColor(n.color()),r.a*=n.opacity(),t.addColorStop(n.offset(),r.toCssRgba())}function Ft(t){var e,o,n,r=new Kn({skipBaseHref:!0}),i=t.clippedBBox(),s=t;return i&&(e=i.getOrigin(),o=new ln,o.transform(N().translate(-e.x,-e.y)),o.children.push(t),s=o),r.load([s]),n="<?xml version='1.0' ?><svg xmlns='"+Bn+"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>"+r.render()+"</svg>",r.destroy(),n}function Lt(e,o){var n,r,i,s,a,p,c,h,u={width:"800px",height:"600px",cors:"Anonymous"},l=e,f=e.clippedBBox();return f&&(n=f.getOrigin(),l=new ln,l.transform(N().translate(-n.x,-n.y)),l.children.push(e),r=f.getSize(),u.width=r.width+"px",u.height=r.height+"px"),i=t.extend(u,o),s=document.createElement("div"),a=s.style,a.display="none",a.width=i.width,a.height=i.height,document.body.appendChild(s),p=new Rr(s,i),p.suspendTracking(),p.draw(l),c=p.image(),h=function(){p.destroy(),document.body.removeChild(s)},c.then(h,h),c}function It(t,e){var o=Ft(t);return e&&e.raw||(o="data:image/svg+xml;base64,"+a(o)),to().resolve(o)}function Dt(t){return Array.prototype.slice.call(t)}function qt(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function Gt(t,e){t.classList?t.classList.remove(e):t.className=t.className.split(/\s+/).reduce(function(t,o){return o!=e&&t.push(o),t},[]).join(" ")}function $t(t,e){Object.keys(e).forEach(function(o){t.style[o]=e[o]})}function Ht(t,e){if(t.closest)return t.closest(e);for(;t&&!/^\[object (?:HTML)?Document\]$/.test(t+"");){if(1==t.nodeType&&Kr(t,e))return t;t=t.parentNode}}function Ut(t){return"number"==typeof t?{x:t,y:t}:Array.isArray(t)?{x:t[0],y:t[1]}:{x:t.x,y:t.y}}function Xt(t,e){function o(t){var o=new ln,n=t.getBoundingClientRect();return _e(o,[s.x,0,0,s.y,-n.left*s.x,-n.top*s.y]),Yr._clipbox=!1,Yr._matrix=lo.unit(),Yr._stackingContext={element:t,group:o},Yr._avoidLinks=e.avoidLinks===!0?"a":e.avoidLinks,qt(t,"k-pdf-export"),Ue(t,o),Gt(t,"k-pdf-export"),o}function n(t){if(null!=t)return"string"==typeof t&&(t=kendo.template(t.replace(/^\s+|\s+$/g,""))),"function"==typeof t?function(e){var o,n=t(e);return n&&"string"==typeof n&&(o=document.createElement("div"),o.innerHTML=n,n=o.firstElementChild),n}:function(){return t.cloneNode(!0)}}function r(t,e,o,r,i,s,a){function p(){("-"!=o||i)&&h(b);var e=f();b.parentNode.insertBefore(e,b),e.appendChild(b),m&&x.forEach(function(t,e){var o=m({element:t,pageNum:e+1,totalPages:x.length});o&&t.appendChild(o)}),re(x,t.bind(null,{pages:x,container:w}))}function c(t){if(a.keepTogether&&Kr(t,a.keepTogether)&&t.offsetHeight<=i-_)return!0;var e=t.tagName;return!(/^h[1-6]$/i.test(e)&&t.offsetHeight>=i-_)&&(t.getAttribute("data-kendo-chart")||/^(?:img|tr|thead|th|tfoot|iframe|svg|object|canvas|input|textarea|select|video|h[1-6])/i.test(t.tagName))}function h(t){var e,n,r,s,a,p,u;if("TABLE"==t.tagName&&$t(t,{tableLayout:"fixed"}),!c(t)){for(e=ue(t),n=parseFloat(le(e,"padding-bottom")),r=parseFloat(le(e,"border-bottom-width")),s=_,_+=n+r,a=!0,p=t.firstChild;p;p=p.nextSibling)if(1==p.nodeType){if(a=!1,Kr(p,o)){l(p);continue}if(!i){h(p);continue}if(!/^(?:static|relative)$/.test(le(ue(p),"position")))continue;u=d(p),1==u?l(p):u&&c(p)?l(p):h(p)}else 3==p.nodeType&&i&&(y(p,a),a=!1);_=s}}function u(t){var e=t.parentNode,o=e.firstChild;if(t===o)return!0;if(t===e.children[0]){if(7==o.nodeType||8==o.nodeType)return!0;if(3==o.nodeType)return!/\S/.test(o.data)}return!1}function l(t){var e,o,n,r,i,s,p;return 1==t.nodeType&&t!==b&&u(t)?l(t.parentNode):(e=Ht(t,"table"),o=e&&e.querySelector("colgroup"),a.repeatHeaders&&(n=e&&e.querySelector("thead"),r=Ht(t,".k-grid.k-widget"),r&&r.querySelector(".k-auto-scrollable")&&(i=r.querySelector(".k-grid-header"))),s=f(),p=v.createRange(),p.setStartBefore(b),p.setEndBefore(t),s.appendChild(p.extractContents()),b.parentNode.insertBefore(s,b),g(t.parentNode),e&&(e=Ht(t,"table"),a.repeatHeaders&&n&&e.insertBefore(n.cloneNode(!0),e.firstChild),o&&e.insertBefore(o.cloneNode(!0),e.firstChild)),void(a.repeatHeaders&&i&&(r=Ht(t,".k-grid.k-widget"),r.insertBefore(i.cloneNode(!0),r.firstChild))))}function f(){var t=v.createElement("KENDO-PDF-PAGE");return $t(t,{display:"block",boxSizing:"content-box",width:r?r+"px":"auto",padding:s.top+"px "+s.right+"px "+s.bottom+"px "+s.left+"px",position:"relative",height:i?i+"px":"auto",overflow:i||r?"hidden":"visible",clear:"both"}),a&&a.pageClassName&&(t.className=a.pageClassName),x.push(t),t}function d(t){var e,o,n=t.getBoundingClientRect();return 0===n.width||0===n.height?0:(e=b.getBoundingClientRect().top,o=i-_,n.height>o?3:n.top-e>o?1:n.bottom-e>o?2:0)}function y(t,e){var o,n,r,i,s;/\S/.test(t.data)&&(o=t.data.length,n=v.createRange(),n.selectNodeContents(t),r=d(n),r&&(i=t,1==r?l(e?t.parentNode:t):(!function a(e,o,r){return n.setEnd(t,o),e==o||o==r?o:d(n)?a(e,e+o>>1,o):a(o,o+r>>1,r)}(0,o>>1,o),!/\S/.test(""+n)&&e?l(t.parentNode):(i=t.splitText(n.endOffset),s=f(),n.setStartBefore(b),s.appendChild(n.extractContents()),b.parentNode.insertBefore(s,b),g(i.parentNode))),y(i)))}function g(t){var e=Ht(t,"li");e&&(e.setAttribute("kendo-no-bullet","1"),g(e.parentNode))}var m=n(a.template),v=e.ownerDocument,x=[],b=a._destructive?e:Qr(e),w=v.createElement("KENDO-PDF-DOCUMENT"),_=0;Dt(b.querySelectorAll("tfoot")).forEach(function(t){t.parentNode.appendChild(t)}),Dt(b.querySelectorAll("ol")).forEach(function(t){Dt(t.children).forEach(function(t,e){t.setAttribute("kendo-split-index",e)})}),$t(w,{display:"block",position:"absolute",boxSizing:"content-box",left:"-10000px",top:"-10000px"}),r&&($t(w,{width:r+"px",paddingLeft:s.left+"px",paddingRight:s.right+"px"}),$t(b,{overflow:"hidden"})),e.parentNode.insertBefore(w,e),w.appendChild(b),a.beforePageBreak?ne([w],function(){a.beforePageBreak(w,p)}):ne([w],p)}var i,s;if(e||(e={}),i=to(),!t)return i.reject("No element to export");if("function"!=typeof window.getComputedStyle)throw Error("window.getComputedStyle is missing. You are using an unsupported browser, or running in IE8 compatibility mode. Drawing HTML is supported in Chrome, Firefox, Safari and IE9+.");return kendo.pdf.defineFont(Yt(t.ownerDocument)),s=Ut(e.scale||1),re([t],function(){var n,a=e&&e.forcePageBreak,p=e&&e.paperSize&&"auto"!=e.paperSize,c=kendo.pdf.getPaperOptions(function(t,o){return"paperSize"==t?p?e[t]:"A4":t in e?e[t]:o}),h=p&&c.paperSize[0],u=p&&c.paperSize[1],l=e.margin&&c.margin,f=!!l;a||u?(l||(l={left:0,top:0,right:0,bottom:0}),h&&(h/=s.x),u&&(u/=s.y),l.left/=s.x,l.right/=s.x,l.top/=s.y,l.bottom/=s.y,n=new ln({pdf:{multiPage:!0,paperSize:p?c.paperSize:"auto",_ignoreMargin:f}}),r(function(t){if(e.progress){var r=!1,s=0;!function a(){if(s<t.pages.length){var p=o(t.pages[s]);n.append(p),e.progress({page:p,pageNum:++s,totalPages:t.pages.length,cancel:function(){r=!0}}),r?t.container.parentNode.removeChild(t.container):setTimeout(a)}else t.container.parentNode.removeChild(t.container),i.resolve(n)}()}else t.pages.forEach(function(t){n.append(o(t))}),t.container.parentNode.removeChild(t.container),i.resolve(n)},t,a,h?h-l.left-l.right:null,u?u-l.top-l.bottom:null,l,e)):i.resolve(o(t))}),i}function Vt(t){var e=new ln;return Yr._clipbox=!1,Yr._matrix=lo.unit(),Yr._stackingContext={element:t,group:e},se(t,ue(t),e),3==t.firstChild.nodeType?$e(t,t.firstChild,e):ze(t,e),ae(),e}function Yt(t){function e(t){if(t){var e=null;try{e=t.cssRules}catch(o){}e&&n(t,e)}}function o(t){var e,o=le(t.style,"src");return o?ei(o).reduce(function(t,e){var o=oi(e);return o&&t.push(o),t},[]):(e=oi(t.cssText),e?[e]:[])}function n(t,n){var i,s,a,p,c,h,u;for(i=0;i<n.length;++i)switch(s=n[i],s.type){case 3:e(s.styleSheet);break;case 5:a=s.style,p=ei(le(a,"font-family")),c=/^([56789]00|bold)$/i.test(le(a,"font-weight")),h="italic"==le(a,"font-style"),u=o(s),u.length>0&&r(t,p,c,h,u[0])}}function r(t,e,o,n,r){/^data:/i.test(r)||/^[^\/:]+:\/\//.test(r)||/^\//.test(r)||(r=(t.href+"").replace(/[^\/]*$/,"")+r),e.forEach(function(t){t=t.replace(/^(['"]?)(.*?)\1$/,"$2"),o&&(t+="|bold"),n&&(t+="|italic"),i[t]=r})}var i,s;for(null==t&&(t=document),i={},s=0;s<t.styleSheets.length;++s)e(t.styleSheets[s]);return i}function Wt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Zt(t){return t="_counter_"+t,Yr[t]}function Jt(t){var e=[],o=Yr;for(t="_counter_"+t;o;)Wt(o,t)&&e.push(o[t]),o=Object.getPrototypeOf(o);return e.reverse()}function Kt(t,e){var o=Yr;for(t="_counter_"+t;o&&!Wt(o,t);)o=Object.getPrototypeOf(o);o||(o=Yr._root),o[t]=(o[t]||0)+(null==e?1:e)}function Qt(t,e){t="_counter_"+t,Yr[t]=null==e?0:e}function te(t,e,o){var n,r,i;for(n=0;n<t.length;)r=t[n++],i=parseFloat(t[n]),isNaN(i)?e(r,o):(e(r,i),++n)}function ee(t){var e,o=le(t,"counter-reset");o&&te(ei(o,/^\s+/),Qt,0),e=le(t,"counter-increment"),e&&te(ei(e,/^\s+/),Kt,1)}function oe(t,e){var o=kendo.parseColor(t,!0);return o&&(o=o.toRGB(),e?o=o.toCssRgba():0===o.a&&(o=null)),o}function ne(t,e){function o(){--n<=0&&e()}var n=0;t.forEach(function(t){var e,r,i=t.querySelectorAll("img");for(e=0;e<i.length;++e)r=i[e],r.complete||(n++,r.onload=r.onerror=o)}),n||o()}function re(t,e){function o(t){Vr[t]||(Vr[t]=!0,i.push(t))}function n(){--r<=0&&ne(t,e)}var r,i=[];t.forEach(function s(t){/^img$/i.test(t.tagName)&&o(t.src),ti(le(ue(t),"background-image")).forEach(function(t){"url"==t.type&&o(t.url)}),t.children&&Dt(t.children).forEach(s)}),r=i.length,0===r&&n(),i.forEach(function(t){var e=Vr[t]=new window.Image;/^data:/i.test(t)||(e.crossOrigin="Anonymous"),e.src=t,e.complete?n():(e.onload=n,e.onerror=function(){Vr[t]=null,n()})})}function ie(t){var e,o="";do e=t%26,o=String.fromCharCode(97+e)+o,t=Math.floor(t/26);while(t>0);return o}function se(t,e,o){var n,r;Yr=Object.create(Yr),Yr[t.tagName.toLowerCase()]={element:t,style:e},n=le(e,"text-decoration"),n&&"none"!=n&&(r=le(e,"color"),n.split(/\s+/g).forEach(function(t){Yr[t]||(Yr[t]=r)})),he(e)&&(Yr._stackingContext={element:t,group:o})}function ae(){Yr=Object.getPrototypeOf(Yr)}function pe(t){if(null!=Yr._clipbox){var e=t.bbox(Yr._matrix);Yr._clipbox=Yr._clipbox?wo.intersect(Yr._clipbox,e):e}}function ce(){var t=Yr._clipbox;return null==t||(t?0===t.width()||0===t.height():void 0)}function he(t){function e(e){return le(t,e)}if("none"!=e("transform")||"static"!=e("position")||"auto"!=e("z-index")||e("opacity")<1)return!0}function ue(t,e){return window.getComputedStyle(t,e||null)}function le(t,e,o){var n=t.getPropertyValue(e);return null!=n&&""!==n||(Ur.webkit?n=t.getPropertyValue("-webkit-"+e):Ur.mozilla?n=t.getPropertyValue("-moz-"+e):Ur.opera?n=t.getPropertyValue("-o-"+e):Zr&&(n=t.getPropertyValue("-ms-"+e))),arguments.length>2&&(null==n||""===n)?o:n}function fe(t,e,o,n){t.setProperty(e,o,n),Ur.webkit?t.setProperty("-webkit-"+e,o,n):Ur.mozilla?t.setProperty("-moz-"+e,o,n):Ur.opera?t.setProperty("-o-"+e,o,n):Zr&&(t.setProperty("-ms-"+e,o,n),e="ms"+e.replace(/(^|-)([a-z])/g,function(t,e,o){return e+o.toUpperCase()}),t[e]=o)}function de(t,e){return e="border-"+e,{width:parseFloat(le(t,e+"-width")),style:le(t,e+"-style"),color:oe(le(t,e+"-color"),!0)}}function ye(t,e){var o=t.style.cssText,n=e();return t.style.cssText=o,n}function ge(t,e){var o=le(t,"border-"+e+"-radius").split(/\s+/g).map(parseFloat);return 1==o.length&&o.push(o[0]),ke({x:o[0],y:o[1]})}function me(t){var e=t.getBoundingClientRect();return e=ve(e,"border-*-width",t),e=ve(e,"padding-*",t)}function ve(t,e,o){var n,r,i,s,a;return"string"==typeof e?(n=ue(o),r=parseFloat(le(n,e.replace("*","top"))),i=parseFloat(le(n,e.replace("*","right"))),s=parseFloat(le(n,e.replace("*","bottom"))),a=parseFloat(le(n,e.replace("*","left")))):"number"==typeof e&&(r=i=s=a=e),{top:t.top+r,right:t.right-i,bottom:t.bottom-s,left:t.left+a,width:t.right-t.left-i-a,height:t.bottom-t.top-s-r}}function xe(t){var e,o,n=le(t,"transform");return"none"==n?null:(e=/^\s*matrix\(\s*(.*?)\s*\)\s*$/.exec(n),e?(o=le(t,"transform-origin"),e=e[1].split(/\s*,\s*/g).map(parseFloat),o=o.split(/\s+/g).map(parseFloat),{matrix:e,origin:o}):void 0)}function be(t){return 180*t/Math.PI%360}function we(t){var e=parseFloat(t);return/grad$/.test(t)?Math.PI*e/200:/rad$/.test(t)?e:/turn$/.test(t)?Math.PI*e*2:/deg$/.test(t)?Math.PI*e/180:void 0}function _e(t,e){return e=new lo(e[0],e[1],e[2],e[3],e[4],e[5]),t.transform(e),e}function Ce(t,e){t.clip(e)}function Te(t,e,o,n){for(var r=new Fo([e,o],n).curvePoints(),i=1;i<r.length;)t.curveTo(r[i++],r[i++],r[i++])}function ke(t){return(t.x<=0||t.y<=0)&&(t.x=t.y=0),t}function Oe(t,e,o,n,r){var i=Math.max(0,e.x),s=Math.max(0,e.y),a=Math.max(0,o.x),p=Math.max(0,o.y),c=Math.max(0,n.x),h=Math.max(0,n.y),u=Math.max(0,r.x),l=Math.max(0,r.y),f=Math.min(t.width/(i+a),t.height/(p+h),t.width/(c+u),t.height/(l+s));return f<1&&(i*=f,s*=f,a*=f,p*=f,c*=f,h*=f,u*=f,l*=f),{tl:{x:i,y:s},tr:{x:a,y:p},br:{x:c,y:h},bl:{x:u,y:l}}}function Me(t,e,o){var n,r,i,s,a,p,c,h,u=ue(t),l=ge(u,"top-left"),f=ge(u,"top-right"),d=ge(u,"bottom-left"),y=ge(u,"bottom-right");return"padding"!=o&&"content"!=o||(n=de(u,"top"),r=de(u,"right"),i=de(u,"bottom"),s=de(u,"left"),l.x-=s.width,l.y-=n.width,f.x-=r.width,f.y-=n.width,y.x-=r.width,y.y-=i.width,d.x-=s.width,d.y-=i.width,"content"==o&&(a=parseFloat(le(u,"padding-top")),p=parseFloat(le(u,"padding-right")),c=parseFloat(le(u,"padding-bottom")),h=parseFloat(le(u,"padding-left")),l.x-=h,l.y-=a,f.x-=p,f.y-=a,y.x-=p,y.y-=c,d.x-=h,d.y-=c)),"number"==typeof o&&(l.x-=o,l.y-=o,f.x-=o,f.y-=o,y.x-=o,y.y-=o,d.x-=o,d.y-=o),Se(e,l,f,y,d)}function Se(t,e,o,n,r){var i=Oe(t,e,o,n,r),s=i.tl,a=i.tr,p=i.br,c=i.bl,h=new on({fill:null,stroke:null});return h.moveTo(t.left,t.top+s.y),s.x&&Te(h,t.left+s.x,t.top+s.y,{startAngle:-180,endAngle:-90,radiusX:s.x,radiusY:s.y}),h.lineTo(t.right-a.x,t.top),a.x&&Te(h,t.right-a.x,t.top+a.y,{startAngle:-90,endAngle:0,radiusX:a.x,radiusY:a.y}),h.lineTo(t.right,t.bottom-p.y),p.x&&Te(h,t.right-p.x,t.bottom-p.y,{startAngle:0,endAngle:90,radiusX:p.x,radiusY:p.y}),h.lineTo(t.left+c.x,t.bottom),c.x&&Te(h,t.left+c.x,t.bottom-c.y,{startAngle:90,endAngle:180,radiusX:c.x,radiusY:c.y}),h.close()}function Ee(t,e){var n=parseFloat(t)+"";switch(e){case"decimal-leading-zero":return n.length<2&&(n="0"+n),n;case"lower-roman":return o(t).toLowerCase();case"upper-roman":return o(t).toUpperCase();case"lower-latin":case"lower-alpha":return ie(t-1);case"upper-latin":case"upper-alpha":return ie(t-1).toUpperCase();default:return n}}function Ae(t,e){function o(t,e,o){return o?(o=o.replace(/^\s*(["'])(.*)\1\s*$/,"$2"),Jt(t).map(function(t){return Ee(t,e)}).join(o)):Ee(Zt(t)||0,e)}var n,r=ei(e,/^\s+/),i=[];return r.forEach(function(e){var r;(n=/^\s*(["'])(.*)\1\s*$/.exec(e))?i.push(n[2].replace(/\\([0-9a-f]{4})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))})):(n=/^\s*counter\((.*?)\)\s*$/.exec(e))?(r=ei(n[1]),i.push(o(r[0],r[1]))):(n=/^\s*counters\((.*?)\)\s*$/.exec(e))?(r=ei(n[1]),i.push(o(r[0],r[2],r[1]))):i.push((n=/^\s*attr\((.*?)\)\s*$/.exec(e))?t.getAttribute(n[1])||"":e)}),i.join("")}function Pe(t){var e,o;if(t.cssText)return t.cssText;for(e=[],o=0;o<t.length;++o)e.push(t[o]+": "+le(t,t[o]));return e.join(";\n")}function Ne(t,e){function o(e,o){var r,i=ue(t,e),s=i.content;ee(i),s&&"normal"!=s&&"none"!=s&&"0px"!=i.width&&(r=t.ownerDocument.createElement(Xr),r.style.cssText=Pe(i),r.textContent=Ae(t,s),t.insertBefore(r,o),n.push(r))}var n,r;return t.tagName==Xr?void ze(t,e):(n=[],o(":before",t.firstChild),o(":after",null),void(n.length>0?(r=t.className,t.className+=" kendo-pdf-hide-pseudo-elements",ze(t,e),t.className=r,n.forEach(function(e){t.removeChild(e)})):ze(t,e)))}function ze(t,e){function n(e){var o,n,r,i,s,a;if(/^td$/i.test(t.tagName)&&(o=Yr.table,o&&"collapse"==le(o.style,"border-collapse"))){if(n=de(o.style,"left").width,r=de(o.style,"top").width,0===n&&0===r)return e;if(i=o.element.getBoundingClientRect(),s=o.element.rows[0].cells[0],a=s.getBoundingClientRect(),a.top==i.top||a.left==i.left)return Dt(e).map(function(t){return{left:t.left+n,top:t.top+r,right:t.right+n,bottom:t.bottom+r,height:t.height,width:t.width}})}return e}function r(t,o,n,r,i,s,a,p){function c(e,o,r){var i=Math.PI/2*e/(e+n),s={x:o.x-e,y:o.y-n},a=new on({fill:{color:t},stroke:null}).moveTo(0,0);_e(a,r),Te(a,0,o.y,{startAngle:-90,endAngle:-be(i),radiusX:o.x,radiusY:o.y}),s.x>0&&s.y>0?(a.lineTo(s.x*Math.cos(i),o.y-s.y*Math.sin(i)),Te(a,0,o.y,{startAngle:-be(i),endAngle:-90,radiusX:s.x,radiusY:s.y,anticlockwise:!0})):s.x>0?a.lineTo(s.x,n).lineTo(0,n):a.lineTo(s.x,n).lineTo(s.x,0),u.append(a.close())}if(!(n<=0)){var h,u=new ln;_e(u,p),e.append(u),ke(s),ke(a),h=new on({fill:{color:t},stroke:null}),u.append(h),h.moveTo(s.x?Math.max(s.x,r):0,0).lineTo(o-(a.x?Math.max(a.x,i):0),0).lineTo(o-Math.max(a.x,i),n).lineTo(Math.max(s.x,r),n).close(),s.x&&c(r,s,[-1,0,0,1,s.x,0]),a.x&&c(i,a,[1,0,0,1,o-a.x,0])}}function i(t){var o,n,r=new ln;for(Ce(r,Se(t,M,S,A,E)),e.append(r),N&&(o=new on({fill:{color:N.toCssRgba()},stroke:null}),o.moveTo(t.left,t.top).lineTo(t.right,t.top).lineTo(t.right,t.bottom).lineTo(t.left,t.bottom).close(),r.append(o)),n=c.length;--n>=0;)s(r,t,c[n],h[n%h.length],u[n%u.length],l[n%l.length],f[n%f.length])}function s(e,o,n,r,i,s,a){function p(e,o,n,p,c){function h(){for(;g.origin.x>o.left;)g.origin.x-=n}function u(){for(;g.origin.y>o.top;)g.origin.y-=p}function l(){for(;g.origin.x<o.right;)c(e,g.clone()),g.origin.x+=n}var f,d,y,g,m,v=n/p,x=o;switch("content-box"==s?(x=ve(x,"border-*-width",t),x=ve(x,"padding-*",t)):"padding-box"==s&&(x=ve(x,"border-*-width",t)),/^\s*auto(\s+auto)?\s*$/.test(a)||("contain"==a?(f=Math.min(x.width/n,x.height/p),n*=f,p*=f):"cover"==a?(f=Math.max(x.width/n,x.height/p),n*=f,p*=f):(d=a.split(/\s+/g),n=/%$/.test(d[0])?x.width*parseFloat(d[0])/100:parseFloat(d[0]),p=1==d.length||"auto"==d[1]?n/v:/%$/.test(d[1])?x.height*parseFloat(d[1])/100:parseFloat(d[1]))),y=i+""){case"bottom":y="50% 100%";break;case"top":y="50% 0";break;case"left":y="0 50%";break;case"right":y="100% 50%";break;case"center":y="50% 50%"}if(y=y.split(/\s+/),1==y.length&&(y[1]="50%"),y[0]=/%$/.test(y[0])?parseFloat(y[0])/100*(x.width-n):parseFloat(y[0]),y[1]=/%$/.test(y[1])?parseFloat(y[1])/100*(x.height-p):parseFloat(y[1]),g=new wo([x.left+y[0],x.top+y[1]],[n,p]),"no-repeat"==r)c(e,g);else if("repeat-x"==r)h(),l();else if("repeat-y"==r)for(u();g.origin.y<o.bottom;)c(e,g.clone()),g.origin.y+=p;else if("repeat"==r)for(h(),u(),m=g.origin.clone();g.origin.y<o.bottom;)g.origin.x=m.x,l(),g.origin.y+=p}if(n&&"none"!=n)if("url"==n.type){var c=Vr[n.url];c&&c.width>0&&c.height>0&&p(e,o,c.width,c.height,function(t,e){t.append(new hn(n.url,e))})}else{if("linear"!=n.type)return;p(e,o,o.width,o.height,je(n))}}function a(){function n(o){ye(t,function(){t.style.position="relative";var n=t.ownerDocument.createElement(Xr);n.style.position="absolute",n.style.boxSizing="border-box","outside"==i?(n.style.width="6em",n.style.left="-6.8em",n.style.textAlign="right"):n.style.left="0px",o(n),t.insertBefore(n,t.firstChild),Ue(n,e),t.removeChild(n)})}function r(e){var o,n=t.parentNode.children,r=t.getAttribute("kendo-split-index");if(null!=r)return e(0|r,n.length);for(o=0;o<n.length;++o)if(n[o]===t)return e(o,n.length)}var i,s=le(_,"list-style-type");if("none"!=s)switch(i=le(_,"list-style-position"),s){case"circle":case"disc":case"square":n(function(t){t.style.fontSize="60%",t.style.lineHeight="200%",t.style.paddingRight="0.5em",t.style.fontFamily="DejaVu Serif",t.innerHTML={disc:"●",circle:"◯",square:"■"}[s]});break;case"decimal":case"decimal-leading-zero":n(function(t){r(function(e){++e,"decimal-leading-zero"==s&&e<10&&(e="0"+e),t.innerHTML=e+"."})});break;case"lower-roman":case"upper-roman":n(function(t){r(function(e){e=o(e+1),"upper-roman"==s&&(e=e.toUpperCase()),t.innerHTML=e+"."})});break;case"lower-latin":case"lower-alpha":case"upper-latin":
case"upper-alpha":n(function(t){r(function(e){e=ie(e),/^upper/i.test(s)&&(e=e.toUpperCase()),t.innerHTML=e+"."})})}}function p(o,n,s){function a(t){return{x:t.y,y:t.x}}var p,c,h,u,l,f,d,y;if(0!==o.width&&0!==o.height&&(i(o),p=O.width>0&&(n&&"ltr"==P||s&&"rtl"==P),c=T.width>0&&(s&&"ltr"==P||n&&"rtl"==P),0!==C.width||0!==O.width||0!==T.width||0!==k.width)){if(C.color==T.color&&C.color==k.color&&C.color==O.color&&C.width==T.width&&C.width==k.width&&C.width==O.width&&p&&c)return o=ve(o,C.width/2),h=Me(t,o,C.width/2),h.options.stroke={color:C.color,width:C.width},void e.append(h);if(0===M.x&&0===S.x&&0===A.x&&0===E.x&&C.width<2&&O.width<2&&T.width<2&&k.width<2)return C.width>0&&e.append(new on({stroke:{width:C.width,color:C.color}}).moveTo(o.left,o.top+C.width/2).lineTo(o.right,o.top+C.width/2)),k.width>0&&e.append(new on({stroke:{width:k.width,color:k.color}}).moveTo(o.left,o.bottom-k.width/2).lineTo(o.right,o.bottom-k.width/2)),p&&e.append(new on({stroke:{width:O.width,color:O.color}}).moveTo(o.left+O.width/2,o.top).lineTo(o.left+O.width/2,o.bottom)),void(c&&e.append(new on({stroke:{width:T.width,color:T.color}}).moveTo(o.right-T.width/2,o.top).lineTo(o.right-T.width/2,o.bottom)));u=Oe(o,M,S,A,E),l=u.tl,f=u.tr,d=u.br,y=u.bl,r(C.color,o.width,C.width,O.width,T.width,l,f,[1,0,0,1,o.left,o.top]),r(k.color,o.width,k.width,T.width,O.width,d,y,[-1,0,0,-1,o.right,o.bottom]),r(O.color,o.height,O.width,k.width,C.width,a(y),a(l),[0,-1,1,0,o.left,o.bottom]),r(T.color,o.height,T.width,C.width,k.width,a(f),a(d),[0,1,-1,0,o.right,o.top])}}var c,h,u,l,f,d,y,g,m,v,x,b,w,_=ue(t),C=de(_,"top"),T=de(_,"right"),k=de(_,"bottom"),O=de(_,"left"),M=ge(_,"top-left"),S=ge(_,"top-right"),E=ge(_,"bottom-left"),A=ge(_,"bottom-right"),P=le(_,"direction"),N=le(_,"background-color");if(N=oe(N),c=ti(le(_,"background-image")),h=ei(le(_,"background-repeat")),u=ei(le(_,"background-position")),l=ei(le(_,"background-origin")),f=ei(le(_,"background-size")),Zr&&(d=_.textOverflow,"ellipsis"==d&&(y=t.style.textOverflow,t.style.textOverflow="clip")),Ur.msie&&Ur.version<10&&(u=ei(t.currentStyle.backgroundPosition)),g=ve(t.getBoundingClientRect(),"border-*-width",t),function(){var t,o,n,r,i,s,a,p=le(_,"clip"),c=/^\s*rect\((.*)\)\s*$/.exec(p);c&&(t=c[1].split(/[ ,]+/g),o="auto"==t[0]?g.top:parseFloat(t[0])+g.top,n="auto"==t[1]?g.right:parseFloat(t[1])+g.left,r="auto"==t[2]?g.bottom:parseFloat(t[2])+g.top,i="auto"==t[3]?g.left:parseFloat(t[3])+g.left,s=new ln,a=(new on).moveTo(i,o).lineTo(n,o).lineTo(n,r).lineTo(i,r).close(),Ce(s,a),e.append(s),e=s,pe(a))}(),b=le(_,"display"),"table-row"==b)for(m=[],v=0,x=t.children;v<x.length;++v)m.push(x[v].getBoundingClientRect());else m=t.getClientRects(),1==m.length&&(m=[t.getBoundingClientRect()]);for(m=n(m),v=0;v<m.length;++v)p(m[v],0===v,v==m.length-1);return"A"==t.tagName&&t.href&&!/^#?$/.test(t.getAttribute("href"))&&(Yr._avoidLinks&&Kr(t,Yr._avoidLinks)||(w=document.createRange(),w.selectNodeContents(t),Dt(w.getClientRects()).forEach(function(o){var n=new ln;n._pdfLink={url:t.href,top:o.top,right:o.right,bottom:o.bottom,left:o.left},e.append(n)}))),m.length>0&&"list-item"==b&&!t.getAttribute("kendo-no-bullet")&&a(m[0]),function(){function o(){var o=Me(t,g,"padding"),n=new ln;Ce(n,o),e.append(n),e=n,pe(o)}Le(t)?o():/^(hidden|auto|scroll)/.test(le(_,"overflow"))?o():/^(hidden|auto|scroll)/.test(le(_,"overflow-x"))?o():/^(hidden|auto|scroll)/.test(le(_,"overflow-y"))&&o()}(),Re(t,e)||Ge(t,e),Zr&&"ellipsis"==d&&(t.style.textOverflow=y),e}function je(t){return function(e,o){var n,r,i,s,a,p,c,h,u,l,f,d,y,g=o.width(),m=o.height();switch(t.type){case"linear":switch(n=null!=t.angle?t.angle:Math.PI,t.to){case"top":n=0;break;case"left":n=-Math.PI/2;break;case"bottom":n=Math.PI;break;case"right":n=Math.PI/2;break;case"top left":case"left top":n=-Math.atan2(m,g);break;case"top right":case"right top":n=Math.atan2(m,g);break;case"bottom left":case"left bottom":n=Math.PI+Math.atan2(m,g);break;case"bottom right":case"right bottom":n=Math.PI-Math.atan2(m,g)}t.reverse&&(n-=Math.PI),n%=2*Math.PI,n<0&&(n+=2*Math.PI),r=Math.abs(g*Math.sin(n))+Math.abs(m*Math.cos(n)),i=Math.atan(g*Math.tan(n)/m),s=Math.sin(i),a=Math.cos(i),p=Math.abs(s)+Math.abs(a),c=p/2*s,h=p/2*a,n>Math.PI/2&&n<=3*Math.PI/2&&(c=-c,h=-h),u=[],l=0,f=t.stops.map(function(e,o){var n,i=e.percent;return i?i=parseFloat(i)/100:e.length?i=parseFloat(e.length)/r:0===o?i=0:o==t.stops.length-1&&(i=1),n={color:e.color.toCssRgba(),offset:i},null!=i?(l=i,u.forEach(function(t,e){var o=t.stop;o.offset=t.left+(l-t.left)*(e+1)/(u.length+1)}),u=[]):u.push({left:l,stop:n}),n}),d=[.5-c,.5+h],y=[.5+c,.5-h],e.append(on.fromRect(o).stroke(null).fill(new Tn({start:d,end:y,stops:f,userSpace:!1})));break;case"radial":window.console&&window.console.log&&window.console.log("Radial gradients are not yet supported in HTML renderer")}}}function Re(t,e){var o,n,r,i;return t._kendoExportVisual?o=t._kendoExportVisual():window.kendo&&window.kendo.jQuery&&t.getAttribute(window.kendo.attr("role"))&&(n=window.kendo.widgetInstance(window.kendo.jQuery(t)),n&&(n.exportDOMVisual||n.exportVisual)&&(o=n.exportDOMVisual?n.exportDOMVisual():n.exportVisual())),!!o&&(r=new ln,r.children.push(o),i=t.getBoundingClientRect(),r.transform(N().translate(i.left,i.top)),e.append(r),!0)}function Be(t,e,o){var n=me(t),r=new wo([n.left,n.top],[n.width,n.height]),i=new hn(e,r);Ce(i,Me(t,n,"content")),o.append(i)}function Fe(t,e){var o=ue(t),n=ue(e),r=parseFloat(le(o,"z-index")),i=parseFloat(le(n,"z-index")),s=le(o,"position"),a=le(n,"position");return isNaN(r)&&isNaN(i)?/static|absolute/.test(s)&&/static|absolute/.test(a)?0:"static"==s?-1:"static"==a?1:0:isNaN(r)?0===i?0:i>0?-1:1:isNaN(i)?0===r?0:r>0?1:-1:parseFloat(r)-parseFloat(i)}function Le(t){return/^(?:textarea|select|input)$/i.test(t.tagName)}function Ie(t){return t.selectedOptions&&t.selectedOptions.length>0?t.selectedOptions[0]:t.options[t.selectedIndex]}function De(t,e){var o=ue(t),n=le(o,"color"),r=t.getBoundingClientRect();"checkbox"==t.type?(e.append(on.fromRect(new wo([r.left+1,r.top+1],[r.width-2,r.height-2])).stroke(n,1)),t.checked&&e.append((new on).stroke(n,1.2).moveTo(r.left+.22*r.width,r.top+.55*r.height).lineTo(r.left+.45*r.width,r.top+.75*r.height).lineTo(r.left+.78*r.width,r.top+.22*r.width))):(e.append(new No(new ko([(r.left+r.right)/2,(r.top+r.bottom)/2],Math.min(r.width-2,r.height-2)/2)).stroke(n,1)),t.checked&&e.append(new No(new ko([(r.left+r.right)/2,(r.top+r.bottom)/2],Math.min(r.width-8,r.height-8)/2)).fill(n).stroke(null)))}function qe(t,e){var o,n,r,i,s,a=t.tagName.toLowerCase();if("input"==a&&("checkbox"==t.type||"radio"==t.type))return De(t,e);if(o=t.parentNode,n=t.ownerDocument,r=n.createElement(Xr),r.style.cssText=Pe(ue(t)),"input"==a&&(r.style.whiteSpace="pre"),"select"!=a&&"textarea"!=a||(r.style.overflow="auto"),"select"==a)if(t.multiple)for(s=0;s<t.options.length;++s)i=n.createElement(Xr),i.style.cssText=Pe(ue(t.options[s])),i.style.display="block",i.textContent=t.options[s].textContent,r.appendChild(i);else i=Ie(t),i&&(r.textContent=i.textContent);else r.textContent=t.value;o.insertBefore(r,t),r.scrollLeft=t.scrollLeft,r.scrollTop=t.scrollTop,t.style.display="none",Ge(r,e),t.style.display="",o.removeChild(r)}function Ge(t,e){var o,n,r,i,s,p,c,h,u;switch(Yr._stackingContext.element===t&&(Yr._stackingContext.group=e),t.tagName.toLowerCase()){case"img":Be(t,t.src,e);break;case"svg":o=(new window.XMLSerializer).serializeToString(t),n="data:image/svg+xml;base64,"+a(o),Be(t,n,e);break;case"canvas":try{Be(t,t.toDataURL("image/png"),e)}catch(l){}break;case"textarea":case"input":case"select":qe(t,e);break;default:for(r=[],i=[],s=[],p=t.firstChild;p;p=p.nextSibling)switch(p.nodeType){case 3:/\S/.test(p.data)&&$e(t,p,e);break;case 1:c=ue(p),h=le(c,"float"),u=le(c,"position"),"static"!=u?s.push(p):"none"!=h?i.push(p):r.push(p)}f(r,Fe).forEach(function(t){Ue(t,e)}),f(i,Fe).forEach(function(t){Ue(t,e)}),f(s,Fe).forEach(function(t){Ue(t,e)})}}function $e(t,e,o){function n(t){var e,o,n,r,i;if(Zr||Ur.chrome){for(e=t.getClientRects(),o={top:1/0,right:-(1/0),bottom:-(1/0),left:1/0},n=!1,r=0;r<e.length;++r)i=e[r],i.width<=1||i.bottom===_||(o.left=Math.min(i.left,o.left),o.top=Math.min(i.top,o.top),o.right=Math.max(i.right,o.right),o.bottom=Math.max(i.bottom,o.bottom),n=!0);return n?(o.width=o.right-o.left,o.height=o.bottom-o.top,o):t.getBoundingClientRect()}return t.getBoundingClientRect()}function r(){var t,o,r,s,a,u,l,f=c,d=p.substr(c).search(/\S/);if(c+=d,d<0||c>=h)return!0;if(y.setStart(e,c),y.setEnd(e,c+1),t=n(y),o=!1,(m||v>1)&&(d=p.substr(c).search(/\s/),d>=0&&(y.setEnd(e,c+d),r=n(y),r.bottom==t.bottom&&(t=r,o=!0,c+=d))),!o){if(d=function g(o,r,i){y.setEnd(e,r);var s=n(y);return s.bottom!=t.bottom&&o<r?g(o,o+r>>1,r):s.right!=t.right?(t=s,r<i?g(r,r+i>>1,i):r):r}(c,Math.min(h,c+w),h),d==c)return!0;if(c=d,d=(""+y).search(/\s+$/),0===d)return!1;d>0&&(y.setEnd(e,y.startOffset+d),t=n(y))}if(Zr&&(t=y.getClientRects()[0]),s=""+y,/^(?:pre|pre-wrap)$/i.test(x)){if(/\t/.test(s)){for(a=0,d=f;d<y.startOffset;++d)u=p.charCodeAt(d),9==u?a+=8-a%8:10==u||13==u?a=0:a++;for(;(d=s.search("\t"))>=0;)l=" ".substr(0,8-(a+d)%8),s=s.substr(0,d)+l+s.substr(d+1)}}else s=s.replace(/\s+/g," ");o||(_=t.bottom),i(s,t)}function i(t,e){var n,r,i;switch(Zr&&!isNaN(l)&&(n=ni(f),r=(e.top+e.bottom-n)/2,e={top:r,right:e.right,bottom:r+n,left:e.left,height:n,width:e.right-e.left}),b){case"uppercase":t=t.toUpperCase();break;case"lowercase":t=t.toLowerCase();break;case"capitalize":t=t.replace(/(?:^|\s)\S/g,function(t){return t.toUpperCase()})}i=new Jr(t,new wo([e.left,e.top],[e.width,e.height]),{font:f,fill:{color:d}}),o.append(i)}function s(t){function e(e,n){var r,i;e&&(r=u/12,i=new on({stroke:{width:r,color:e}}),n-=r,i.moveTo(t.left,n).lineTo(t.right,n),o.append(i))}e(C,t.bottom),e(T,t.bottom-t.height/2.7),e(k,t.top)}var a,p,c,h,u,l,f,d,y,g,m,v,x,b,w,_,C,T,k,O;if(!ce()&&(a=ue(t),!(parseFloat(le(a,"text-indent"))<-500)&&(p=e.data,c=0,h=p.search(/\S\s*$/)+1,h&&(u=le(a,"font-size"),l=le(a,"line-height"),f=[le(a,"font-style"),le(a,"font-variant"),le(a,"font-weight"),u,le(a,"font-family")].join(" "),u=parseFloat(u),l=parseFloat(l),0!==u)))){for(d=le(a,"color"),y=t.ownerDocument.createRange(),g=le(a,"text-align"),m="justify"==g,v=le(a,"column-count",1),x=le(a,"white-space"),b=le(a,"text-transform"),w=t.getBoundingClientRect().width/u*5,0===w&&(w=500),_=null,C=Yr.underline,T=Yr["line-through"],k=Yr.overline,O=C||T||k;!r(););O&&(y.selectNode(e),Dt(y.getClientRects()).forEach(s))}}function He(t,e,o){var n,r,i,s,a,p;for("auto"!=o?(n=Yr._stackingContext.group,o=parseFloat(o)):(n=e,o=0),r=n.children,i=0;i<r.length&&!(null!=r[i]._dom_zIndex&&r[i]._dom_zIndex>o);++i);return s=new ln,n.insert(i,s),s._dom_zIndex=o,n!==e&&Yr._clipbox&&(a=Yr._matrix.invert(),p=Yr._clipbox.transformCopy(a),Ce(s,on.fromRect(p))),s}function Ue(t,e){var o,n,r,i,s,a,p=ue(t);ee(p),/^(style|script|link|meta|iframe|col|colgroup)$/i.test(t.tagName)||null!=Yr._clipbox&&(o=parseFloat(le(p,"opacity")),n=le(p,"visibility"),r=le(p,"display"),0!==o&&"hidden"!=n&&"none"!=r&&(i=xe(p),a=le(p,"z-index"),(i||o<1)&&"auto"==a&&(a=0),s=He(t,e,a),o<1&&s.opacity(o*s.opacity()),se(t,p,s),i?ye(t,function(){var e,o,n,r;fe(t.style,"transform","none","important"),fe(t.style,"transition","none","important"),"static"==le(p,"position")&&fe(t.style,"position","relative","important"),e=t.getBoundingClientRect(),o=e.left+i.origin[0],n=e.top+i.origin[1],r=[1,0,0,1,-o,-n],r=Xe(r,i.matrix),r=Xe(r,[1,0,0,1,o,n]),r=_e(s,r),Yr._matrix=Yr._matrix.multiplyCopy(r),Ne(t,s)}):Ne(t,s),ae()))}function Xe(t,e){var o=t[0],n=t[1],r=t[2],i=t[3],s=t[4],a=t[5],p=e[0],c=e[1],h=e[2],u=e[3],l=e[4],f=e[5];return[o*p+n*h,o*c+n*u,r*p+i*h,r*c+i*u,s*p+a*h+l,s*c+a*u+f]}var Ve,Ye,We,Ze,Je,Ke,Qe,to,eo,oo,no,ro,io,so,ao,po,co,ho,uo,lo,fo,yo,go,mo,vo,xo,bo,wo,_o,Co,To,ko,Oo,Mo,So,Eo,Ao,Po,No,zo,jo,Ro,Bo,Fo,Lo,Io,Do,qo,Go,$o,Ho,Uo,Xo,Vo,Yo,Wo,Zo,Jo,Ko,Qo,tn,en,on,nn,rn,sn,an,pn,cn,hn,un,ln,fn,dn,yn,gn,mn,vn,xn,bn,wn,_n,Cn,Tn,kn,On,Mn,Sn,En,An,Pn,Nn,zn,jn,Rn,Bn,Fn,Ln,In,Dn,qn,Gn,$n,Hn,Un,Xn,Vn,Yn,Wn,Zn,Jn,Kn,Qn,tr,er,or,nr,rr,ir,sr,ar,pr,cr,hr,ur,lr,fr,dr,yr,gr,mr,vr,xr,br,wr,_r,Cr,Tr,kr,Or,Mr,Sr,Er,Ar,Pr,Nr,zr,jr,Rr,Br,Fr,Lr,Ir,Dr,qr,Gr,$r,Hr,Ur,Xr,Vr,Yr,Wr,Zr,Jr,Kr,Qr,ti,ei,oi,ni,ri;window.kendo=window.kendo||{},Ve=kendo.drawing,Ye=Ve.util,We=Ye.extendStatic,Ze=kendo.Class,Je=kendo.util,Ke=kendo.support,Qe=Ke.browser,to=Ye.createPromise,eo=Ye.promiseAll,oo=function(t){function e(){t.apply(this,arguments)}return We(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.observers=function(){return this._observers=this._observers||[]},e.prototype.addObserver=function(t){return this._observers?this._observers.push(t):this._observers=[t],this},e.prototype.removeObserver=function(t){var e=this.observers(),o=e.indexOf(t);return o!==-1&&e.splice(o,1),this},e.prototype.trigger=function(t,e){var o,n,r=this._observers;if(r&&!this._suspended)for(o=0;o<r.length;o++)n=r[o],n[t]&&n[t](e);return this},e.prototype.optionsChange=function(t){void 0===t&&(t={}),t.element=this,this.trigger("optionsChange",t)},e.prototype.geometryChange=function(){this.trigger("geometryChange",{element:this})},e.prototype.suspend=function(){return this._suspended=(this._suspended||0)+1,this},e.prototype.resume=function(){return this._suspended=Math.max((this._suspended||0)-1,0),this},e.prototype._observerField=function(t,e){this[t]&&this[t].removeObserver(this),this[t]=e,e.addObserver(this)},e}(Ze),no={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"},ro="undefined",io=1,so=Math.PI/180,ao=Number.MAX_VALUE,po=-Number.MAX_VALUE,co=String.fromCharCode,ho="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",uo=Date.now||function(){return(new Date).getTime()},lo=function(t){function e(e,o,n,r,i,s){void 0===e&&(e=0),void 0===o&&(o=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===s&&(s=0),t.call(this),this.a=e,this.b=o,this.c=n,this.d=r,this.e=i,this.f=s}return We(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.multiplyCopy=function(t){return new e(this.a*t.a+this.c*t.b,this.b*t.a+this.d*t.b,this.a*t.c+this.c*t.d,this.b*t.c+this.d*t.d,this.a*t.e+this.c*t.f+this.e,this.b*t.e+this.d*t.f+this.f)},e.prototype.invert=function(){var t=this,o=t.a,n=t.b,r=t.c,i=t.d,s=t.e,a=t.f,p=o*i-n*r;return 0===p?null:new e(i/p,-n/p,-r/p,o/p,(r*a-i*s)/p,(n*s-o*a)/p)},e.prototype.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},e.prototype.equals=function(t){return!!t&&(this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d&&this.e===t.e&&this.f===t.f)},e.prototype.round=function(t){return this.a=g(this.a,t),this.b=g(this.b,t),this.c=g(this.c,t),this.d=g(this.d,t),this.e=g(this.e,t),this.f=g(this.f,t),this},e.prototype.toArray=function(t){var e,o=[this.a,this.b,this.c,this.d,this.e,this.f];if(n(t))for(e=0;e<o.length;e++)o[e]=g(o[e],t);return o},e.prototype.toString=function(t,e){return void 0===e&&(e=","),this.toArray(t).join(e)},e.translate=function(t,o){return new e(1,0,0,1,t,o)},e.unit=function(){return new e(1,0,0,1,0,0)},e.rotate=function(t,o,n){var r=new e;return r.a=Math.cos(d(t)),r.b=Math.sin(d(t)),r.c=-r.b,r.d=r.a,r.e=o-o*r.a+n*r.b||0,r.f=n-n*r.a-o*r.b||0,r},e.scale=function(t,o){return new e(t,0,0,o,0,0)},e}(Ze),lo.IDENTITY=lo.unit(),fo=/matrix\((.*)\)/,yo={append:e,arabicToRoman:o,createPromise:to,defined:n,definitionId:r,deg:i,encodeBase64:a,eventCoordinates:p,eventElement:c,isTransparent:h,last:u,limitValue:l,mergeSort:f,now:uo,promiseAll:eo,rad:d,round:g,valueOrDefault:m,bindEvents:v,elementOffset:x,elementSize:_,elementStyles:b,unbindEvents:C,elementPadding:T,elementScale:M,DEG_TO_RAD:so,MAX_NUM:ao,MIN_NUM:po},go={}.toString,mo=function(t){function e(e,o){var n,r,i=this;void 0===o&&(o=""),t.call(this),this.prefix=o;for(n in e)r=e[n],r=i._wrap(r,n),i[n]=r}return We(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.get=function(t){for(var e,o=t.split("."),n=this;o.length&&n;)e=o.shift(),n=n[e];return n},e.prototype.set=function(t,e){var o=this.get(t);o!==e&&(this._set(t,this._wrap(e,t)),this.optionsChange({field:this.prefix+t,value:e}))},e.prototype._set=function(t,o){var n,r,i,s=this,a=t.indexOf(".")>=0,p=this,c=t;if(a){for(n=c.split("."),r=this.prefix;n.length>1;)c=n.shift(),r+=c+".",i=p[c],i||(i=new e({},r),i.addObserver(s),p[c]=i),p=i;c=n[0]}p._clear(c),p[c]=o},e.prototype._clear=function(t){var e=this[t];e&&e.removeObserver&&e.removeObserver(this)},e.prototype._wrap=function(t,o){var r=go.call(t),i=t;return null!==i&&n(i)&&"[object Object]"===r&&(t instanceof e||t instanceof Ze||(i=new e(i,this.prefix+o+".")),i.addObserver(this)),i},e}(oo),vo=function(t,e){var o=function(t){function e(){t.apply(this,arguments)}return We(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e}(t);return A(o.prototype,e),o},xo=function(t){function e(e,o){t.call(this),this.x=e||0,this.y=o||0}We(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={ZERO:{}};return e.prototype.equals=function(t){return t&&t.x===this.x&&t.y===this.y},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.rotate=function(t,o){var n=e.create(o)||e.ZERO;return this.transform(lo.rotate(t,n.x,n.y))},e.prototype.translate=function(t,e){return this.x+=t,this.y+=e,this.geometryChange(),this},e.prototype.translateWith=function(t){return this.translate(t.x,t.y)},e.prototype.move=function(t,e){return this.x=this.y=0,this.translate(t,e)},e.prototype.scale=function(t,e){return void 0===e&&(e=t),this.x*=t