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

*/
!function(t,define){define("util/main.min",["kendo.core.min"],t)}(function(){return function(){function t(t){return typeof t!==O}function i(t,i){var e=n(i);return L.round(t*e)/e}function n(t){return t?L.pow(10,t):1}function e(t,i,n){return L.max(L.min(t,n),i)}function o(t){return t*j}function r(t){return t/j}function a(t){return"number"==typeof t&&!isNaN(t)}function s(i,n){return t(i)?i:n}function l(t){return t*t}function u(t){var i,n=[];for(i in t)n.push(i+t[i]);return n.sort().join("")}function c(t){var i,n=2166136261;for(i=0;t.length>i;++i)n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24),n^=t.charCodeAt(i);return n>>>0}function h(t){return c(u(t))}function p(t){var i,n=t.length,e=E,o=U;for(i=0;n>i;i++)o=L.max(o,t[i]),e=L.min(e,t[i]);return{min:e,max:o}}function f(t){return p(t).min}function d(t){return p(t).max}function x(t){return g(t).min}function m(t){return g(t).max}function g(t){var i,n,e,o=E,r=U;for(i=0,n=t.length;n>i;i++)e=t[i],null!==e&&isFinite(e)&&(o=L.min(o,e),r=L.max(r,e));return{min:o===E?void 0:o,max:r===U?void 0:r}}function v(t){return t?t[t.length-1]:void 0}function y(t,i){return t.push.apply(t,i),t}function b(t){return B.template(t,{useWithBlock:!1,paramName:"d"})}function w(i,n){return t(n)&&null!==n?" "+i+"='"+n+"' ":""}function T(t){var i,n="";for(i=0;t.length>i;i++)n+=w(t[i][0],t[i][1]);return n}function k(i){var n,e,o="";for(n=0;i.length>n;n++)e=i[n][1],t(e)&&(o+=i[n][0]+":"+e+";");return""!==o?o:void 0}function M(t){return"string"!=typeof t&&(t+="px"),t}function _(t){var i,n,e=[];if(t)for(i=B.toHyphens(t).split("-"),n=0;i.length>n;n++)e.push("k-pos-"+i[n]);return e.join(" ")}function S(i){return""===i||null===i||"none"===i||"transparent"===i||!t(i)}function A(t){for(var i={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"},n=[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],e="";t>0;)n[0]>t?n.shift():(e+=i[n[0]],t-=n[0]);return e}function V(t){var i,n,e,o,r;for(t=t.toLowerCase(),i={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},n=0,e=0,o=0;t.length>o;++o){if(r=i[t.charAt(o)],!r)return null;n+=r,r>e&&(n-=2*e),e=r}return n}function R(t){var i=Object.create(null);return function(){var n,e="";for(n=arguments.length;--n>=0;)e+=":"+arguments[n];return e in i?i[e]:i[e]=t.apply(this,arguments)}}function P(t){for(var i,n,e=[],o=0,r=t.length;r>o;)i=t.charCodeAt(o++),i>=55296&&56319>=i&&r>o?(n=t.charCodeAt(o++),56320==(64512&n)?e.push(((1023&i)<<10)+(1023&n)+65536):(e.push(i),o--)):e.push(i);return e}function z(t){return t.map(function(t){var i="";return t>65535&&(t-=65536,i+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),i+=String.fromCharCode(t)}).join("")}function C(t,i){function n(t,n){for(var e=[],o=0,r=0,a=0;t.length>o&&n.length>r;)i(t[o],n[r])<=0?e[a++]=t[o++]:e[a++]=n[r++];return t.length>o&&e.push.apply(e,t.slice(o)),n.length>r&&e.push.apply(e,n.slice(r)),e}return 2>t.length?t.slice():function e(t){var i,o,r;return 1>=t.length?t:(i=Math.floor(t.length/2),o=t.slice(0,i),r=t.slice(i),o=e(o),r=e(r),n(o,r))}(t)}var L=Math,B=window.kendo,I=B.deepExtend,j=L.PI/180,E=Number.MAX_VALUE,U=-Number.MAX_VALUE,O="undefined",D=Date.now;D||(D=function(){return(new Date).getTime()}),I(B,{util:{MAX_NUM:E,MIN_NUM:U,append:y,arrayLimits:p,arrayMin:f,arrayMax:d,defined:t,deg:r,hashKey:c,hashObject:h,isNumber:a,isTransparent:S,last:v,limitValue:e,now:D,objectKey:u,round:i,rad:o,renderAttr:w,renderAllAttr:T,renderPos:_,renderSize:M,renderStyle:k,renderTemplate:b,sparseArrayLimits:g,sparseArrayMin:x,sparseArrayMax:m,sqr:l,valueOrDefault:s,romanToArabic:V,arabicToRoman:A,memoize:R,ucs2encode:z,ucs2decode:P,mergeSort:C}}),B.drawing.util=B.util,B.dataviz.util=B.util}(),window.kendo},"function"==typeof define&&define.amd?define:function(t,i,n){(n||i)()}),function(t,define){define("util/text-metrics.min",["kendo.core.min","util/main.min"],t)}(function(){!function(t){function i(){return{width:0,height:0,baseline:0}}function n(t,i,n){return h.current.measure(t,i,n)}function e(t,i){var n=[];if(t.length>0&&document.fonts){try{n=t.map(function(t){return document.fonts.load(t)})}catch(e){r.logToConsole(e)}Promise.all(n).then(i,i)}else i()}var o=document,r=window.kendo,a=r.Class,s=r.util,l=s.defined,u=a.extend({init:function(t){this._size=t,this._length=0,this._map={}},put:function(t,i){var n=this,e=n._map,o={key:t,value:i};e[t]=o,n._head?(n._tail.newer=o,o.older=n._tail,n._tail=o):n._head=n._tail=o,n._length>=n._size?(e[n._head.key]=null,n._head=n._head.newer,n._head.older=null):n._length++},get:function(t){var i=this,n=i._map[t];return n?(n===i._head&&n!==i._tail&&(i._head=n.newer,i._head.older=null),n!==i._tail&&(n.older&&(n.older.newer=n.newer,n.newer.older=n.older),n.older=i._tail,n.newer=null,i._tail.newer=n,i._tail=n),n.value):void 0}}),c=t("<div style='position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: nowrap!important;' />")[0],h=a.extend({init:function(t){this._cache=new u(1e3),this._initOptions(t)},options:{baselineMarkerSize:1},measure:function(n,e,r){var a,u,h,p,f,d,x,m;if(!n)return i();if(a=s.objectKey(e),u=s.hashKey(n+a),h=this._cache.get(u),h)return h;p=i(),f=r?r:c,d=this._baselineMarker().cloneNode(!1);for(x in e)m=e[x],l(m)&&(f.style[x]=m);return t(f).text(n),f.appendChild(d),o.body.appendChild(f),(n+"").length&&(p.width=f.offsetWidth-this.options.baselineMarkerSize,p.height=f.offsetHeight,p.baseline=d.offsetTop+this.options.baselineMarkerSize),p.width>0&&p.height>0&&this._cache.put(u,p),f.parentNode.removeChild(f),p},_baselineMarker:function(){return t("<div class='k-baseline-marker' style='display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;' />")[0]}});h.current=new h,r.util.TextMetrics=h,r.util.LRUCache=u,r.util.loadFonts=e,r.util.measureText=n}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(t,i,n){(n||i)()}),function(t,define){define("util/base64.min",["util/main.min"],t)}(function(){return function(){function t(t){var n,e,o,a,s,l,u,c="",h=0;for(t=i(t);t.length>h;)n=t.charCodeAt(h++),e=t.charCodeAt(h++),o=t.charCodeAt(h++),a=n>>2,s=(3&n)<<4|e>>4,l=(15&e)<<2|o>>6,u=63&o,isNaN(e)?l=u=64:isNaN(o)&&(u=64),c=c+r.charAt(a)+r.charAt(s)+r.charAt(l)+r.charAt(u);return c}function i(t){var i,n,e="";for(i=0;t.length>i;i++)n=t.charCodeAt(i),128>n?e+=o(n):2048>n?(e+=o(192|n>>>6),e+=o(128|63&n)):65536>n&&(e+=o(224|n>>>12),e+=o(128|n>>>6&63),e+=o(128|63&n));return e}var n=window.kendo,e=n.deepExtend,o=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e(n.util,{encodeBase64:t,encodeUTF8:i})}(),window.kendo},"function"==typeof define&&define.amd?define:function(t,i,n){(n||i)()}),function(t,define){define("mixins/observers.min",["kendo.core.min"],t)}(function(){return function(t){var i=Math,n=window.kendo,e=n.deepExtend,o=t.inArray,r={observers:function(){return this._observers=this._observers||[]},addObserver:function(t){return this._observers?this._observers.push(t):this._observers=[t],this},removeObserver:function(t){var i=this.observers(),n=o(t,i);return-1!=n&&i.splice(n,1),this},trigger:function(t,i){var n,e,o=this._observers;if(o&&!this._suspended)for(e=0;o.length>e;e++)n=o[e],n[t]&&n[t](i);return this},optionsChange:function(t){t=t||{},t.element=this,this.trigger("optionsChange",t)},geometryChange:function(){this.trigger("geometryChange",{element:this})},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=i.max((this._suspended||0)-1,0),this},_observerField:function(t,i){this[t]&&this[t].removeObserver(this),this[t]=i,i.addObserver(this)}};e(n,{mixins:{ObserversMixin:r}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,i,n){(n||i)()}),function(t,define){define("kendo.dataviz.core.min",["kendo.core.min","kendo.drawing.min"],t)}(function(){return function(t,i){function n(t,i){var n={top:0,right:0,bottom:0,left:0};return i=i||0,"number"==typeof t?n[Ut]=n[Et]=n[ht]=n[Vt]=t:(n[Ut]=t[Ut]||i,n[Et]=t[Et]||i,n[ht]=t[ht]||i,n[Vt]=t[Vt]||i),n}function e(t,i){var n=t.tickX,e=t.tickY,o=t.position,r=new $.Path({stroke:{width:i.width,color:i.color}});return t.vertical?r.moveTo(n,o).lineTo(n+i.size,o):r.moveTo(o,e).lineTo(o,e+i.size),w(r),r}function o(t,i){var n=t.lineStart,e=t.lineEnd,o=t.position,r=new $.Path({stroke:{width:i.width,color:i.color,dashType:i.dashType}});return t.vertical?r.moveTo(n,o).lineTo(e,o):r.moveTo(o,n).lineTo(o,e),w(r),r}function r(t,i){var n,e,o,r=h(i-t,bt-1);if(0===r){if(0===i)return.1;r=st.abs(i)}return n=st.pow(10,st.floor(st.log(r)/st.log(10))),e=h(r/n,bt),o=1,o=1.904762>e?.2:4.761904>e?.5:9.523809>e?1:2,h(n*o,bt)}function a(t,i,n,e,o){var r=o*Tt;return new Xt(n+(t-n)*st.cos(r)+(i-e)*st.sin(r),e-(t-n)*st.sin(r)+(i-e)*st.cos(r))}function s(i,n){if(i.x1==n.x1&&i.y1==n.y1&&i.x2==n.x2&&i.y2==n.y2)return n;var e=st.min(i.x1,n.x1),o=st.max(i.x1,n.x1),r=st.min(i.x2,n.x2),a=st.max(i.x2,n.x2),s=st.min(i.y1,n.y1),l=st.max(i.y1,n.y1),u=st.min(i.y2,n.y2),c=st.max(i.y2,n.y2),h=[];return h[0]=S(o,s,r,l),h[1]=S(e,l,o,u),h[2]=S(r,l,a,u),h[3]=S(o,u,r,c),i.x1==e&&i.y1==s||n.x1==e&&n.y1==s?(h[4]=S(e,s,o,l),h[5]=S(r,u,a,c)):(h[4]=S(r,s,a,l),h[5]=S(e,u,o,c)),t.grep(h,function(t){return t.height()>0&&t.width()>0})[0]}function l(t,i){return-1!=ot(t,i)}function u(t,i){return h(st.ceil(t/i)*i,bt)}function c(t,i){return h(st.floor(t/i)*i,bt)}function h(t,i){var n=st.pow(10,i||0);return st.round(t*n)/n}function p(t,i){return st.log(t)/st.log(i)}function f(t,i,n){var e=h(st.abs(t%i),bt),o=i*(1-n);return 0===e||e>o}function d(t,i,n){return h(t+(i-t)*n,ft)}function x(t,i){return t-i}function m(t,i){return t.match(kt)?X.format.apply(this,arguments):X.toString(i,t)}function g(t,i){return 0>-t.x*i.y+t.y*i.x}function v(t,i){return t&&i?t.getTime()-i.getTime():-1}function y(t){var i=t.originalEvent,n=0;return i.wheelDelta&&(n=-i.wheelDelta/120,n=n>0?st.ceil(n):st.floor(n)),i.detail&&(n=h(i.detail/3)),n}function b(t){if(!t||!t.indexOf||t.indexOf("&")<0)return t;var i=b._element;return i.innerHTML=t,i.textContent||i.innerText}function w(t){var i,n;if(!X.support.vml)for(i=.5,t.options.stroke&&K(t.options.stroke.width)&&t.options.stroke.width%2===0&&(i=0),n=0;t.segments.length>n;n++)t.segments[n].anchor().round(0).translate(i,i);return t}function T(t){var i,n,e=t.stops,o=t.innerRadius/t.radius*100,r=e.length,a=[];for(i=0;r>i;i++)n=lt({},e[i]),n.offset=(n.offset*(100-o)+o)/100,a.push(n);return a}function k(t){var i=t.origin,n=t.bottomRight();return new S(i.x,i.y,n.x,n.y)}function M(i){i=i||{};var n=t(i.touch?i.touch.initialTouch:i.target);return n}function _(t){return X.support.vml&&(t=st.max(st.min(t,_t),-_t)),t}var S,A,V,R,P,z,C,L,B,I,j,E,U,O,D,G,N,F,H,X=window.kendo,W=X.util,q=W.append,K=W.defined,Y=W.last,Q=W.valueOrDefault,J=X.dataviz,Z=J.geometry,$=J.drawing,tt=$.util.measureText,it=X.Class,nt=X.template,et=t.noop,ot=t.inArray,rt=t.isPlainObject,at=t.trim,st=Math,lt=X.deepExtend,ut="axisLabelClick",ct="#000",ht="bottom",pt="center",ft=3,dt="clip",xt="circle",mt="cross",gt="12px sans-serif",vt=400,yt=7,bt=10,wt=600,Tt=st.PI/180,kt=/\{\d+:?/,Mt="height",_t=1e5,St=600,At="inside",Vt="left",Rt="linear",Pt=Number.MAX_VALUE,zt=-Number.MAX_VALUE,Ct="none",Lt="noteClick",Bt="noteHover",It="outside",jt="radial",Et="right",Ut="top",Ot="triangle",Dt="width",Gt="#fff",Nt="x",Ft="y",Ht=.2,Xt=function(t,n){var e=this;return e instanceof Xt?(e.x=t||0,e.y=n||0,i):new Xt(t,n)};Xt.fn=Xt.prototype={clone:function(){var t=this;return new Xt(t.x,t.y)},equals:function(t){return t&&t.x===this.x&&t.y===this.y},rotate:function(t,i){var n=this,e=i*Tt,o=st.cos(e),r=st.sin(e),a=t.x,s=t.y,l=n.x,u=n.y;return n.x=h(a+(l-a)*o+(u-s)*r,ft),n.y=h(s+(u-s)*o-(l-a)*r,ft),n},multiply:function(t){var i=this;return i.x*=t,i.y*=t,i},distanceTo:function(t){var i=this.x-t.x,n=this.y-t.y;return st.sqrt(i*i+n*n)}},Xt.onCircle=function(t,i,n){return i*=Tt,new Xt(t.x-n*st.cos(i),t.y-n*st.sin(i))},S=function(t,n,e,o){var r=this;return r instanceof S?(r.x1=t||0,r.x2=e||0,r.y1=n||0,r.y2=o||0,i):new S(t,n,e,o)},S.fn=S.prototype={width:function(){return this.x2-this.x1},height:function(){return this.y2-this.y1},translate:function(t,i){var n=this;return n.x1+=t,n.x2+=t,n.y1+=i,n.y2+=i,n},move:function(t,i){var n=this,e=n.height(),o=n.width();return K(t)&&(n.x1=t,n.x2=n.x1+o),K(i)&&(n.y1=i,n.y2=n.y1+e),n},wrap:function(t){var i=this;return i.x1=st.min(i.x1,t.x1),i.y1=st.min(i.y1,t.y1),i.x2=st.max(i.x2,t.x2),i.y2=st.max(i.y2,t.y2),i},wrapPoint:function(t){return this.wrap(new S(t.x,t.y,t.x,t.y)),this},snapTo:function(t,i){var n=this;return i!=Nt&&i||(n.x1=t.x1,n.x2=t.x2),i!=Ft&&i||(n.y1=t.y1,n.y2=t.y2),n},alignTo:function(t,i){var n,e,o=this,r=o.height(),a=o.width(),s=i==Ut||i==ht?Ft:Nt,l=s==Ft?r:a;return i===pt?(n=t.center(),e=o.center(),o.x1+=n.x-e.x,o.y1+=n.y-e.y):o[s+1]=i===Ut||i===Vt?t[s+1]-l:t[s+2],o.x2=o.x1+a,o.y2=o.y1+r,o},shrink:function(t,i){var n=this;return n.x2-=t,n.y2-=i,n},expand:function(t,i){return this.shrink(-t,-i),this},pad:function(t){var i=this,e=n(t);return i.x1-=e.left,i.x2+=e.right,i.y1-=e.top,i.y2+=e.bottom,i},unpad:function(t){var i=this,e=n(t);return e.left=-e.left,e.top=-e.top,e.right=-e.right,e.bottom=-e.bottom,i.pad(e)},clone:function(){var t=this;return new S(t.x1,t.y1,t.x2,t.y2)},center:function(){var t=this;return new Xt(t.x1+t.width()/2,t.y1+t.height()/2)},containsPoint:function(t){var i=this;return t.x>=i.x1&&i.x2>=t.x&&t.y>=i.y1&&i.y2>=t.y},points:function(){var t=this;return[new Xt(t.x1,t.y1),new Xt(t.x2,t.y1),new Xt(t.x2,t.y2),new Xt(t.x1,t.y2)]},getHash:function(){var t=this;return[t.x1,t.y1,t.x2,t.y2].join(",")},overlaps:function(t){return!(this.y1>t.y2||t.y1>this.y2||this.x1>t.x2||t.x1>this.x2)},rotate:function(t){var i=this,n=i.width(),e=i.height(),o=i.center(),r=o.x,s=o.y,l=a(0,0,r,s,t),u=a(n,0,r,s,t),c=a(n,e,r,s,t),h=a(0,e,r,s,t);return n=st.max(l.x,u.x,c.x,h.x)-st.min(l.x,u.x,c.x,h.x),e=st.max(l.y,u.y,c.y,h.y)-st.min(l.y,u.y,c.y,h.y),i.x2=i.x1+n,i.y2=i.y1+e,i},toRect:function(){return new Z.Rect([this.x1,this.y1],[this.width(),this.height()])},hasSize:function(){return 0!==this.width()&&0!==this.height()},align:function(t,i,n){var e=this,o=i+1,r=i+2,a=i===Nt?Dt:Mt,s=e[a]();l(n,[Vt,Ut])?(e[o]=t[o],e[r]=e[o]+s):l(n,[Et,ht])?(e[r]=t[r],e[o]=e[r]-s):n==pt&&(e[o]=t[o]+(t[a]()-s)/2,e[r]=e[o]+s)}},A=it.extend({init:function(t,i,n,e,o){var r=this;r.c=t,r.ir=i,r.r=n,r.startAngle=e,r.angle=o},clone:function(){var t=this;return new A(t.c,t.ir,t.r,t.startAngle,t.angle)},middle:function(){return this.startAngle+this.angle/2},radius:function(t,i){var n=this;return i?n.ir=t:n.r=t,n},point:function(t,i){var n=this,e=t*Tt,o=st.cos(e),r=st.sin(e),a=i?n.ir:n.r,s=h(n.c.x-o*a,ft),l=h(n.c.y-r*a,ft);return new Xt(s,l)},adjacentBox:function(t,i,n){var e=this.clone().expand(t),o=e.middle(),r=e.point(o),a=i/2,s=n/2,l=r.x-a,u=r.y-s,c=st.sin(o*Tt),h=st.cos(o*Tt);return st.abs(c)<.9&&(l+=a*-h/st.abs(h)),st.abs(h)<.9&&(u+=s*-c/st.abs(c)),new S(l,u,l+i,u+n)},containsPoint:function(t){var i=this,n=i.c,e=i.ir,o=i.r,r=i.startAngle,a=i.startAngle+i.angle,s=t.x-n.x,l=t.y-n.y,u=new Xt(s,l),c=i.point(r),p=new Xt(c.x-n.x,c.y-n.y),f=i.point(a),d=new Xt(f.x-n.x,f.y-n.y),x=h(s*s+l*l,ft);return(p.equals(u)||g(p,u))&&!g(d,u)&&x>=e*e&&o*o>=x},getBBox:function(){var t,i,n,e=this,o=new S(Pt,Pt,zt,zt),r=h(e.startAngle%360),a=h((r+e.angle)%360),s=e.ir,l=[0,90,180,270,r,a].sort(x),u=ot(r,l),c=ot(a,l);for(t=r==a?l:c>u?l.slice(u,c+1):[].concat(l.slice(0,c+1),l.slice(u,l.length)),i=0;t.length>i;i++)n=e.point(t[i]),o.wrapPoint(n),o.wrapPoint(n,s);return s||o.wrapPoint(e.c),o},expand:function(t){return this.r+=t,this}}),V=A.extend({init:function(t,i,n,e){A.fn.init.call(this,t,0,i,n,e)},expand:function(t){return A.fn.expand.call(this,t)},clone:function(){var t=this;return new V(t.c,t.r,t.startAngle,t.angle)},radius:function(t){return A.fn.radius.call(this,t)},point:function(t){return A.fn.point.call(this,t)}}),R=function(){},R.fn=R.prototype={createRing:function(t,i){var n,e=t.startAngle+180,o=t.angle+e,r=new Z.Point(t.c.x,t.c.y),a=st.max(t.r,0),s=st.max(t.ir,0),l=new Z.Arc(r,{startAngle:e,endAngle:o,radiusX:a,radiusY:a}),u=$.Path.fromArc(l,i).close();return s?(l.radiusX=l.radiusY=s,n=l.pointAt(o),u.lineTo(n.x,n.y),u.arc(o,e,s,s,!0)):u.lineTo(r.x,r.y),u}},R.current=new R,P=it.extend({init:function(t){var i=this;i.children=[],i.options=lt({},i.options,t)},reflow:function(t){var i,n,e,o=this,r=o.children;for(n=0;r.length>n;n++)e=r[n],e.reflow(t),i=i?i.wrap(e.box):e.box.clone();o.box=i||t},destroy:function(){var t,i=this,n=i.children;for(this.animation&&this.animation.destroy(),t=0;n.length>t;t++)n[t].destroy()},getRoot:function(){var t=this.parent;return t?t.getRoot():null},getChart:function(){var t=this.getRoot();return t?t.chart:i},translateChildren:function(t,i){var n,e=this,o=e.children,r=o.length;for(n=0;r>n;n++)o[n].box.translate(t,i)},append:function(){q(this.children,arguments);for(var t=0;arguments.length>t;t++)arguments[t].parent=this},renderVisual:function(){this.options.visible!==!1&&(this.createVisual(),this.addVisual(),this.renderChildren(),this.createAnimation(),this.renderComplete())},addVisual:function(){this.visual&&(this.visual.chartElement=this,this.parent&&this.parent.appendVisual(this.visual))},renderChildren:function(){var t,i=this.children;for(t=0;i.length>t;t++)i[t].renderVisual()},createVisual:function(){this.visual=new J.drawing.Group({zIndex:this.options.zIndex,visible:Q(this.options.visible,!0)})},createAnimation:function(){this.visual&&(this.animation=$.Animation.create(this.visual,this.options.animation))},appendVisual:function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):K(t.options.zIndex)?this.stackRoot().stackVisual(t):this.visual?this.visual.append(t):this.parent.appendVisual(t)},clipRoot:function(){return this.parent?this.parent.clipRoot():this},stackRoot:function(){return this.parent?this.parent.stackRoot():this},stackVisual:function(t){var i,n,e,o=t.options.zIndex||0,r=this.visual.children;for(i=0;r.length>i&&(n=r[i],e=Q(n.options.zIndex,0),!(e>o));i++);this.visual.insertAt(t,i)},traverse:function(t){var i,n,e=this.children;for(i=0;e.length>i;i++)n=e[i],t(n),n.traverse&&n.traverse(t)},closest:function(t){for(var n=this,e=!1;n&&!e;)e=t(n),e||(n=n.parent);return e?n:i},renderComplete:t.noop,hasHighlight:function(){var t=(this.options||{}).highlight;return!(!this.createHighlight||t&&t.visible===!1)},toggleHighlight:function(i){var n,e=this,o=e._highlight,r=(e.options||{}).highlight,a=(r||{}).visual;if(!o){if(n={fill:{color:Gt,opacity:.2},stroke:{color:Gt,width:1,opacity:.2}},a){if(o=e._highlight=a(t.extend(e.highlightVisualArgs(),{createVisual:function(){return e.createHighlight(n)},sender:e.getChart(),series:e.series,dataItem:e.dataItem,category:e.category,value:e.value,stackValue:e.stackValue,percentage:e.percentage,runningTotal:e.runningTotal,total:e.total})),!o)return}else o=e._highlight=e.createHighlight(n);o.options.zIndex=e.options.zIndex,e.appendVisual(o)}o.visible(i)},createGradientOverlay:function(t,i,n){var e=new $.Path(lt({stroke:{color:Ct},fill:this.createGradient(n),closed:t.options.closed},i));return e.segments.elements(t.segments.elements()),e},createGradient:function(t){return this.parent?this.parent.createGradient(t):i}}),z=P.extend({init:function(t){var i=this;i.gradients={},P.fn.init.call(i,t)},options:{width:wt,height:vt,background:Gt,border:{color:ct,width:0},margin:n(5),zIndex:-2},reflow:function(){var t,i=this,n=i.options,e=i.children,o=new S(0,0,n.width,n.height);for(i.box=o.unpad(n.margin),t=0;e.length>t;t++)e[t].reflow(o),o=s(o,e[t].box)||S()},createVisual:function(){this.visual=new $.Group,this.createBackground()},createBackground:function(){var t=this.options,i=t.border||{},n=this.box.clone().pad(t.margin).unpad(i.width),e=$.Path.fromRect(n.toRect(),{stroke:{color:i.width?i.color:"",width:i.width,dashType:i.dashType},fill:{color:t.background,opacity:t.opacity},zIndex:-10});this.visual.append(e)},getRoot:function(){return this},createGradient:function(t){var i,n,e=this.gradients,o=W.objectKey(t),r=J.Gradients[t.gradient];return e[o]?i=e[o]:(n=lt({},r,t),"linear"==r.type?i=new $.LinearGradient(n):(t.innerRadius&&(n.stops=T(n)),i=new $.RadialGradient(n),i.supportVML=r.supportVML!==!1),e[o]=i),i}}),C=P.extend({options:{align:Vt,vAlign:Ut,margin:{},padding:{},border:{color:ct,width:0},background:"",shrinkToFit:!1,width:0,height:0,visible:!0},reflow:function(t){function i(){s.align(t,Nt,l.align),s.align(t,Ft,l.vAlign),s.paddingBox=e.clone().unpad(f).unpad(x)}var e,o,r,a,s=this,l=s.options,u=l.width,c=l.height,h=u&&c,p=l.shrinkToFit,f=n(l.margin),d=n(l.padding),x=l.border.width,m=s.children;for(o=t.clone(),h&&(o.x2=o.x1+u,o.y2=o.y1+c),p&&o.unpad(f).unpad(x).unpad(d),P.fn.reflow.call(s,o),e=h?s.box=S(0,0,u,c):s.box,p&&h?(i(),o=s.contentBox=s.paddingBox.clone().unpad(d)):(o=s.contentBox=e.clone(),e.pad(d).pad(x).pad(f),i()),s.translateChildren(e.x1-o.x1+f.left+x+d.left,e.y1-o.y1+f.top+x+d.top),r=0;m.length>r;r++)a=m[r],a.reflow(a.box)},align:function(t,i,n){this.box.align(t,i,n)},hasBox:function(){var t=this.options;return t.border.width||t.background},createVisual:function(){P.fn.createVisual.call(this);var t=this.options;t.visible&&this.hasBox()&&this.visual.append($.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()))},visualStyle:function(){var t=this,i=t.options,n=i.border||{};return{stroke:{width:n.width,color:n.color,opacity:Q(n.opacity,i.opacity),dashType:n.dashType},fill:{color:i.background,opacity:i.opacity},cursor:i.cursor}}}),L=P.extend({init:function(t,i){var n=this;P.fn.init.call(n,i),n.content=t,n.reflow(S())},options:{font:gt,color:ct,align:Vt,vAlign:""},reflow:function(t){var i,n=this,e=n.options;i=e.size=tt(n.content,{font:e.font}),n.baseline=i.baseline,n.box=S(t.x1,t.y1,t.x1+i.width,t.y1+i.height)},createVisual:function(){var t=this.options;this.visual=new $.Text(this.content,this.box.toRect().topLeft(),{font:t.font,fill:{color:t.color,opacity:t.opacity},cursor:t.cursor})}}),B=P.extend({init:function(t){P.fn.init.call(this,t),this._initDirection()},_initDirection:function(){var t=this.options;t.vertical?(this.groupAxis=Nt,this.elementAxis=Ft,this.groupSizeField=Dt,this.elementSizeField=Mt,this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=Ft,this.elementAxis=Nt,this.groupSizeField=Mt,this.elementSizeField=Dt,this.groupSpacing=t.vSpacing,this.elementSpacing=t.spacing)},options:{vertical:!0,wrap:!0,vSpacing:0,spacing:0},reflow:function(t){this.box=t.clone(),this.reflowChildren()},reflowChildren:function(){var t,i,n,e,o,r,a,s,l,u,c=this,h=c.box,p=c.elementAxis,f=c.groupAxis,d=c.elementSizeField,x=c.groupSizeField,m=c.groupOptions(),g=m.groups,v=g.length,y=h[f+1]+c.alignStart(m.groupsSize,h[x]()),b=y;if(v){for(a=0;v>a;a++){for(n=g[a],e=n.groupElements,o=e.length,t=h[p+1],r=0;o>r;r++)s=e[r],u=c.elementSize(s),i=b+c.alignStart(u[x],n.groupSize),l=S(),l[f+1]=i,l[f+2]=i+u[x],l[p+1]=t,l[p+2]=t+u[d],s.reflow(l),t+=u[d]+c.elementSpacing;b+=n.groupSize+c.groupSpacing}h[f+1]=y,h[f+2]=y+m.groupsSize,h[p+2]=h[p+1]+m.maxGroupElementsSize}},alignStart:function(t,i){var n=0,e=this.options.align;return e==Et||e==ht?n=i-t:e==pt&&(n=(i-t)/2),n},groupOptions:function(){var t,i,n=this,e=n.box,o=n.children,r=o.length,a=this.elementSizeField,s=this.groupSizeField,l=this.elementSpacing,u=this.groupSpacing,c=h(e[a]()),p=0,f=0,d=0,x=0,m=[],g=[],v=0;for(p=0;r>p;p++)i=o[p],i.box||i.reflow(e),t=this.elementSize(i),n.options.wrap&&h(d+l+t[a])>c&&(m.push({groupElements:g,groupSize:f,groupElementsSize:d}),v=st.max(v,d),x+=u+f,f=0,d=0,g=[]),f=st.max(f,t[s]),d>0&&(d+=l),d+=t[a],g.push(i);return m.push({groupElements:g,groupSize:f,groupElementsSize:d}),v=st.max(v,d),x+=f,{groups:m,groupsSize:x,maxGroupElementsSize:v}},elementSize:function(t){return{width:t.box.width(),height:t.box.height()}},createVisual:et}),I=C.extend({ROWS_SPLIT_REGEX:/\n|\\n/m,init:function(t,i){var n=this;n.content=t,C.fn.init.call(n,i),n._initContainer(),n.reflow(S())},_initContainer:function(){var t,i,n=this,e=n.options,o=(n.content+"").split(n.ROWS_SPLIT_REGEX),r=new B({vertical:!0,align:e.align,wrap:!1}),a=lt({},e,{opacity:1,animation:null});for(n.container=r,n.append(r),i=0;o.length>i;i++)t=new L(at(o[i]),a),r.append(t)},reflow:function(t){var i,e,o,r=this.options,a=r.visual;this.container.options.align=r.align,a&&!this._boxReflow?(t.hasSize()||(this._boxReflow=!0,this.reflow(t),this._boxReflow=!1,t=this.box),this.visual=a(this.visualContext(t)),i=t,this.visual&&(i=k(this.visual.clippedBBox()||new Z.Rect),this.visual.options.zIndex=r.zIndex,this.visual.options.noclip=r.noclip),this.box=this.contentBox=this.paddingBox=i):(C.fn.reflow.call(this,t),r.rotation&&(e=n(r.margin),o=this.box.unpad(e),this.targetBox=t,this.normalBox=o.clone(),o=this.rotate(),o.translate(e.left-e.right,e.top-e.bottom),this.rotatedBox=o.clone(),o.pad(e)))},createVisual:function(){var t,i=this.options;i.visible&&(this.visual=new J.drawing.Group({transform:this.rotationTransform(),zIndex:i.zIndex,noclip:i.noclip}),this.hasBox()&&(t=$.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()),this.visual.append(t)))},renderVisual:function(){this.options.visual?(this.addVisual(),this.createAnimation()):C.fn.renderVisual.call(this)},visualOptions:function(){var t=this.options;return{background:t.background,border:t.border,color:t.color,font:t.font,margin:t.margin,padding:t.padding,visible:t.visible}},visualContext:function(t){var i=this;return{text:i.content,rect:t.toRect(),sender:this.getChart(),options:i.visualOptions(),createVisual:function(){return i._boxReflow=!0,i.reflow(t),i._boxReflow=!1,i.getDefaultVisual()}}},getDefaultVisual:function(){this.createVisual(),this.renderChildren();var t=this.visual;return delete this.visual,t},rotate:function(){var t=this.options;return this.box.rotate(t.rotation),this.align(this.targetBox,Nt,t.align),this.align(this.targetBox,Ft,t.vAlign),this.box},rotationTransform:function(){var t,i,n,e,o=this.options.rotation;return o?(t=this.normalBox.center(),i=t.x,n=t.y,e=this.rotatedBox.center(),Z.transform().translate(e.x-i,e.y-n).rotate(o,[i,n])):null}}),j=P.extend({init:function(t){var i=this;P.fn.init.call(i,t),t=i.options,i.append(new I(t.text,lt({},t,{vAlign:t.position})))},options:{color:ct,position:Ut,align:pt,margin:n(5),padding:n(5)},reflow:function(t){var i=this;P.fn.reflow.call(i,t),i.box.snapTo(t,Nt)}}),j.buildTitle=function(t,i,n){var e;return"string"==typeof t&&(t={text:t}),t=lt({visible:!0},n,t),t&&t.visible&&t.text&&(e=new j(t),i.append(e)),e},E=I.extend({init:function(t,i,n,e,o){var r=this;r.text=i,r.value=t,r.index=n,r.dataItem=e,I.fn.init.call(r,i,o)},visualContext:function(t){var i=I.fn.visualContext.call(this,t);return i.value=this.value,i.dataItem=this.dataItem,i.format=this.options.format,i.culture=this.options.culture,i},click:function(t,i){var n=this;t.trigger(ut,{element:M(i),value:n.value,text:n.text,index:n.index,dataItem:n.dataItem,axis:n.parent.options})},rotate:function(){var t,i;return this.options.alignRotation!=pt?(t=this.normalBox.toRect(),i=this.rotationTransform(),this.box=k(t.bbox(i.matrix()))):I.fn.rotate.call(this),this.box},rotationTransform:function(){var t,i,n,e,o,r,a,s,l,u,c,p,f,d,x,m,g,v,y=this.options,b=y.rotation;return b?y.alignRotation==pt?I.fn.rotationTransform.call(this):(t=Z.transform().rotate(b).matrix(),i=this.normalBox.toRect(),n=this.targetBox.toRect(),e=y.rotationOrigin||Ut,o=e==Ut||e==ht?Nt:Ft,r=e==Ut||e==ht?Ft:Nt,a=e==Ut||e==Vt?n.origin:n.bottomRight(),s=i.topLeft().transformCopy(t),l=i.topRight().transformCopy(t),u=i.bottomRight().transformCopy(t),c=i.bottomLeft().transformCopy(t),p=Z.Rect.fromPoints(s,l,u,c),f={},f[r]=n.origin[r]-p.origin[r],d=st.abs(s[r]+f[r]-a[r]),x=st.abs(l[r]+f[r]-a[r]),h(d,bt)===h(x,bt)?(m=s,g=l):d>x?(m=l,g=u):(m=s,g=c),v=m[o]+(g[o]-m[o])/2,f[o]=n.center()[o]-v,Z.transform().translate(f.x,f.y).rotate(b)):null}}),U=P.extend({init:function(t){var i=this;P.fn.init.call(i,t),i.options.visible||(i.options=lt({},i.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),i.options.minorTicks=lt({},{color:i.options.line.color,width:i.options.line.width,visible:i.options.minorTickType!=Ct},i.options.minorTicks,{size:i.options.minorTickSize,align:i.options.minorTickType}),i.options.majorTicks=lt({},{color:i.options.line.color,width:i.options.line.width,visible:i.options.majorTickType!=Ct},i.options.majorTicks,{size:i.options.majorTickSize,align:i.options.majorTickType}),this.options._deferLabels||i.createLabels(),i.createTitle(),i.createNotes()},options:{labels:{visible:!0,rotation:0,mirror:!1,step:1,skip:0},line:{width:1,color:ct,visible:!0},title:{visible:!0,position:pt},majorTicks:{align:It,size:4,skip:0,step:1},minorTicks:{align:It,size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:It,minorTickType:Ct,majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:ct,skip:0,step:1},margin:5,visible:!0,reverse:!1,justified:!0,notes:{label:{text:""}},_alignLines:!0,_deferLabels:!1},labelsRange:function(){return{min:this.options.labels.skip,max:this.labelsCount()}},createLabels:function(){var i,n,e,o,r=this,a=r.options,s=a.vertical?Et:pt,l=lt({},a.labels,{align:s,zIndex:a.zIndex}),u=st.max(1,l.step);if(r.children=t.grep(r.children,function(t){return!(t instanceof E)}),r.labels=[],l.visible)for(i=r.labelsRange(),n=l.rotation,rt(n)&&(l.alignRotation=n.align,l.rotation=n.angle),"auto"==l.rotation&&(l.rotation=0,a.autoRotateLabels=!0),o=i.min;i.max>o;o+=u)e=r.createAxisLabel(o,l),e&&(r.append(e),r.labels.push(e))},lineBox:function(){var t=this,i=t.options,n=t.box,e=i.vertical,o=i.labels.mirror,r=o?n.x1:n.x2,a=o?n.y2:n.y1,s=i.line.width||0;return e?S(r,n.y1,r,n.y2-s):S(n.x1,a,n.x2-s,a)},createTitle:function(){var t,i=this,n=i.options,e=lt({rotation:n.vertical?-90:0,text:"",zIndex:1,visualSize:!0},n.title);e.visible&&e.text&&(t=new I(e.text,e),i.append(t),i.title=t)},createNotes:function(){var t,i,n,e=this,o=e.options,r=o.notes,a=r.data||[];for(e.notes=[],t=0;a.length>t;t++)i=lt({},r,a[t]),i.value=e.parseNoteValue(i.value),n=new O(i.value,i.label.text,i,null,null,i),n.options.visible&&(K(n.options.position)?o.vertical&&!l(n.options.position,[Vt,Et])?n.options.position=o.reverse?Vt:Et:o.vertical||l(n.options.position,[Ut,ht])||(n.options.position=o.reverse?ht:Ut):n.options.position=o.vertical?o.reverse?Vt:Et:o.reverse?ht:Ut,e.append(n),e.notes.push(n))},parseNoteValue:function(t){return t},renderVisual:function(){P.fn.renderVisual.call(this),this.createPlotBands()},createVisual:function(){P.fn.createVisual.call(this),this.createBackground(),this.createLine()},gridLinesVisual:function(){var t=this._gridLines;return t||(t=this._gridLines=new $.Group({zIndex:-2}),this.appendVisual(this._gridLines)),t},createTicks:function(t){function i(i,n,o){var s,u=i.length,c=st.max(1,n.step);if(n.visible)for(s=n.skip;u>s;s+=c)K(o)&&s%o===0||(l.tickX=a?r.x2:r.x2-n.size,l.tickY=a?r.y1-n.size:r.y1,l.position=i[s],t.append(e(l,n)))}var n=this,o=n.options,r=n.lineBox(),a=o.labels.mirror,s=o.majorTicks.visible?o.majorUnit:0,l={vertical:o.vertical};i(n.getMajorTickPositions(),o.majorTicks),i(n.getMinorTickPositions(),o.minorTicks,s/o.minorUnit)},createLine:function(){var t,i,n=this,e=n.options,o=e.line,r=n.lineBox();o.width>0&&o.visible&&(t=new $.Path({stroke:{width:o.width,color:o.color,dashType:o.dashType}}),t.moveTo(r.x1,r.y1).lineTo(r.x2,r.y2),e._alignLines&&w(t),i=this._lineGroup=new $.Group,i.append(t),this.visual.append(i),this.createTicks(i))},getActualTickSize:function(){var t=this,i=t.options,n=0;return i.majorTicks.visible&&i.minorTicks.visible?n=st.max(i.majorTicks.size,i.minorTicks.size):i.majorTicks.visible?n=i.majorTicks.size:i.minorTicks.visible&&(n=i.minorTicks.size),
n},createBackground:function(){var t=this,i=t.options,n=i.background,e=t.box;n&&(t._backgroundPath=$.Path.fromRect(e.toRect(),{fill:{color:n},stroke:null}),this.visual.append(t._backgroundPath))},createPlotBands:function(){var i,n,e,o,r,a,s=this,l=s.options,u=l.plotBands||[],c=l.vertical,h=s.plotArea;0!==u.length&&(r=this._plotbandGroup=new $.Group({zIndex:-1}),a=t.grep(s.pane.axes,function(t){return t.options.vertical!==s.options.vertical})[0],t.each(u,function(t,l){var u,p;e=Q(l.from,zt),o=Q(l.to,Pt),c?(i=(a||h.axisX).lineBox(),n=s.getSlot(l.from,l.to,!0)):(i=s.getSlot(l.from,l.to,!0),n=(a||h.axisY).lineBox()),0!==i.width()&&0!==n.height()&&(u=new Z.Rect([i.x1,n.y1],[i.width(),n.height()]),p=$.Path.fromRect(u,{fill:{color:l.color,opacity:l.opacity},stroke:null}),r.append(p))}),s.appendVisual(r))},createGridLines:function(t){function i(t,i,e){var r,s=t.length,u=st.max(1,i.step);if(i.visible)for(r=i.skip;s>r;r+=u)n=h(t[r]),l(n,x)||r%e===0||a&&f===n||(d.position=n,m.append(o(d,i)),x.push(n))}var n,e=this,r=e.options,a=t.options.line.visible,s=r.majorGridLines,u=s.visible?r.majorUnit:0,c=r.vertical,p=t.lineBox(),f=p[c?"y1":"x1"],d={lineStart:p[c?"x1":"y1"],lineEnd:p[c?"x2":"y2"],vertical:c},x=[],m=this.gridLinesVisual();return i(e.getMajorTickPositions(),r.majorGridLines),i(e.getMinorTickPositions(),r.minorGridLines,u/r.minorUnit),m.children},reflow:function(t){var i,n,e=this,o=e.options,r=o.vertical,a=e.labels,s=a.length,l=e.title,u=r?Dt:Mt,c=l?l.box[u]():0,h=e.getActualTickSize()+o.margin+c,p=0,f=(this.getRoot()||{}).box||t,d=f[u]();for(n=0;s>n;n++)i=a[n].box[u](),d>=i+h&&(p=st.max(p,i));e.box=r?S(t.x1,t.y1,t.x1+p+h,t.y2):S(t.x1,t.y1,t.x2,t.y1+p+h),e.arrangeTitle(),e.arrangeLabels(),e.arrangeNotes()},getLabelsTickPositions:function(){return this.getMajorTickPositions()},labelTickIndex:function(t){return t.index},arrangeLabels:function(){var t,i,n,e,o,r,a,s,l,u,c,h=this,p=h.options,f=h.labels,d=!p.justified,x=p.vertical,m=h.lineBox(),g=p.labels.mirror,v=h.getLabelsTickPositions(),y=h.getActualTickSize()+p.margin;for(n=0;f.length>n;n++)e=f[n],o=h.labelTickIndex(e),r=x?e.box.height():e.box.width(),a=v[o]-r/2,x?(d&&(s=v[o],l=v[o+1],u=s+(l-s)/2,a=u-r/2),c=m.x2,g?(c+=y,e.options.rotationOrigin=Vt):(c-=y+e.box.width(),e.options.rotationOrigin=Et),t=e.box.move(c,a)):(d?(s=v[o],l=v[o+1]):(s=a,l=a+r),i=m.y1,g?(i-=y+e.box.height(),e.options.rotationOrigin=ht):(i+=y,e.options.rotationOrigin=Ut),t=S(s,i,l,i+e.box.height())),e.reflow(t)},autoRotateLabels:function(){var t,i,n,e,o,r;if(this.options.autoRotateLabels&&!this.options.vertical){for(t=this.getMajorTickPositions(),i=this.labels,r=0;i.length>r;r++)if(o=t[r+1]-t[r],n=i[r].box,n.width()>o){if(n.height()>o){e=-90;break}e=-45}if(e){for(r=0;i.length>r;r++)i[r].options.rotation=e,i[r].reflow(S());return!0}}},arrangeTitle:function(){var t=this,i=t.options,n=i.labels.mirror,e=i.vertical,o=t.title;o&&(e?(o.options.align=n?Et:Vt,o.options.vAlign=o.options.position):(o.options.align=o.options.position,o.options.vAlign=n?Ut:ht),o.reflow(t.box))},arrangeNotes:function(){var t,i,n,e,o=this;for(t=0;o.notes.length>t;t++)i=o.notes[t],e=i.options.value,K(e)?(o.shouldRenderNote(e)?i.show():i.hide(),n=o.getSlot(e)):i.hide(),i.reflow(n||o.lineBox())},alignTo:function(t){var i=this,n=t.lineBox(),e=i.options.vertical,o=e?Ft:Nt;i.box.snapTo(n,o),e?i.box.shrink(0,i.lineBox().height()-n.height()):i.box.shrink(i.lineBox().width()-n.width(),0),i.box[o+1]-=i.lineBox()[o+1]-n[o+1],i.box[o+2]-=i.lineBox()[o+2]-n[o+2]},axisLabelText:function(t,i,n){var e,o=t;return n.template?(e=nt(n.template),o=e({value:t,dataItem:i,format:n.format,culture:n.culture})):n.format&&(o=n.format.match(kt)?X.format(n.format,t):X.toString(t,n.format,n.culture)),o},slot:function(t,n,e){var o=this.getSlot(t,n,e);return o?o.toRect():i},contentBox:function(){var t=this.box.clone(),i=this.labels;return i.length&&(i[0].options.visible&&t.wrap(i[0].box),Y(i).options.visible&&t.wrap(Y(i).box)),t},limitRange:function(t,i,n,e,o){var r,a=this.options;if(!(n>t&&0>o&&(!K(a.min)||n>=a.min)||i>e&&o>0&&(!K(a.max)||a.max>=e)))return n>i&&o>0||t>e&&0>o?{min:t,max:i}:(r=i-t,n>t?(t=W.limitValue(t,n,e),i=W.limitValue(t+r,n+r,e)):i>e&&(i=W.limitValue(i,n,e),t=W.limitValue(i-r,n,e-r)),{min:t,max:i})},valueRange:function(){return{min:this.seriesMin,max:this.seriesMax}}}),O=C.extend({init:function(t,i,n,e,o,r){var a=this;C.fn.init.call(a,r),a.value=t,a.text=i,a.dataItem=n,a.category=e,a.series=o,a.render()},options:{icon:{visible:!0,type:xt},label:{position:At,visible:!0,align:pt,vAlign:pt},line:{visible:!0},visible:!0,position:Ut,zIndex:2},hide:function(){this.options.visible=!1},show:function(){this.options.visible=!0},render:function(){var t,i,n,e,o=this,r=o.options,a=r.label,s=o.text,l=r.icon,u=l.size,c=S();r.visible&&(K(a)&&a.visible&&(a.template?(e=nt(a.template),s=e({dataItem:o.dataItem,category:o.category,value:o.value,text:s,series:o.series})):a.format&&(s=m(a.format,s)),o.label=new I(s,lt({},a)),a.position!==At||K(u)||(l.type===xt?u=st.max(o.label.box.width(),o.label.box.height()):(i=o.label.box.width(),n=o.label.box.height()),c.wrap(o.label.box))),l.width=i||u||yt,l.height=n||u||yt,t=new D(lt({},l)),o.marker=t,o.append(t),o.label&&o.append(o.label),t.reflow(S()),o.wrapperBox=c.wrap(t.box))},reflow:function(t){var i,n,e,o=this,r=o.options,a=t.center(),s=o.wrapperBox,u=r.line.length,c=r.position,h=o.label,p=o.marker;r.visible&&(l(c,[Vt,Et])?c===Vt?(e=s.alignTo(t,c).translate(-u,t.center().y-s.center().y),r.line.visible&&(i=[t.x1,a.y],o.linePoints=[i,[e.x2,a.y]],n=e.clone().wrapPoint(i))):(e=s.alignTo(t,c).translate(u,t.center().y-s.center().y),r.line.visible&&(i=[t.x2,a.y],o.linePoints=[i,[e.x1,a.y]],n=e.clone().wrapPoint(i))):c===ht?(e=s.alignTo(t,c).translate(t.center().x-s.center().x,u),r.line.visible&&(i=[a.x,t.y2],o.linePoints=[i,[a.x,e.y1]],n=e.clone().wrapPoint(i))):(e=s.alignTo(t,c).translate(t.center().x-s.center().x,-u),r.line.visible&&(i=[a.x,t.y1],o.linePoints=[i,[a.x,e.y2]],n=e.clone().wrapPoint(i))),p&&p.reflow(e),h&&(h.reflow(e),p&&(r.label.position===It&&h.box.alignTo(p.box,c),h.reflow(h.box))),o.contentBox=e,o.targetBox=t,o.box=n||e)},createVisual:function(){C.fn.createVisual.call(this),this.visual.options.noclip=this.options.noclip,this.options.visible&&this.createLine()},renderVisual:function(){var t=this,i=t.options,n=i.visual;i.visible&&n?(t.visual=n({dataItem:t.dataItem,category:t.category,value:t.value,text:t.text,sender:t.getChart(),series:t.series,rect:t.targetBox.toRect(),options:{background:i.background,border:i.background,icon:i.icon,label:i.label,line:i.line,position:i.position,visible:i.visible},createVisual:function(){t.createVisual(),t.renderChildren();var i=t.visual;return delete t.visual,i}}),t.addVisual()):C.fn.renderVisual.call(t)},createLine:function(){var t,i=this.options.line;this.linePoints&&(t=$.Path.fromPoints(this.linePoints,{stroke:{color:i.color,width:i.width,dashType:i.dashType}}),w(t),this.visual.append(t))},click:function(t,i){var n=this.eventArgs(i);t.trigger(Lt,n)||i.preventDefault()},hover:function(t,i){var n=this.eventArgs(i);t.trigger(Bt,n)||i.preventDefault()},leave:function(t){t._unsetActivePoint()},eventArgs:function(t){var i=this,n=i.options;return{element:M(t),text:K(n.label)?n.label.text:"",dataItem:i.dataItem,series:i.series,value:i.value,category:i.category,visual:i.visual}}}),D=C.extend({init:function(t,i){this.pointData=i,C.fn.init.call(this,t)},options:{type:xt,align:pt,vAlign:pt},getElement:function(){var t,i,n=this,e=n.options,o=e.type,r=e.rotation,a=n.paddingBox,s=a.center(),l=a.width()/2;if(e.visible&&n.hasBox())return i=n.visualStyle(),o===xt?t=new $.Circle(new Z.Circle([h(a.x1+l,ft),h(a.y1+a.height()/2,ft)],l),i):o===Ot?t=$.Path.fromPoints([[a.x1+l,a.y1],[a.x1,a.y2],[a.x2,a.y2]],i).close():o===mt?(t=new $.MultiPath(i),t.moveTo(a.x1,a.y1).lineTo(a.x2,a.y2),t.moveTo(a.x1,a.y2).lineTo(a.x2,a.y1)):t=$.Path.fromRect(a.toRect(),i),r&&t.transform(Z.transform().rotate(-r,[s.x,s.y])),t.options.zIndex=this.options.zIndex,t},createElement:function(){var t,i=this,n=i.options.visual,e=i.pointData||{};return t=n?n({value:e.value,dataItem:e.dataItem,sender:i.getChart(),series:e.series,category:e.category,rect:i.paddingBox.toRect(),options:i.visualOptions(),createVisual:function(){return i.getElement()}}):i.getElement()},visualOptions:function(){var t=this.options;return{background:t.background,border:t.border,margin:t.margin,padding:t.padding,type:t.type,size:t.width,visible:t.visible}},createVisual:function(){this.visual=this.createElement()}}),G=U.extend({init:function(t,i,n){var e=this,o=e.initDefaults(t,i,n);this.seriesMin=t,this.seriesMax=i,U.fn.init.call(e,o)},startValue:function(){return 0},options:{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:ct},labels:{format:"#.####################"},zIndex:1},initDefaults:function(t,i,n){var e,o=this,a=n.narrowRange,s=o.autoAxisMin(t,i,a),l=o.autoAxisMax(t,i,a),h=r(s,l),p={majorUnit:h};return n.roundToMajorUnit!==!1&&(0>s&&f(s,h,1/3)&&(s-=h),l>0&&f(l,h,1/3)&&(l+=h)),p.min=c(s,h),p.max=u(l,h),this.totalMin=K(n.min)?st.min(p.min,n.min):p.min,this.totalMax=K(n.max)?st.max(p.max,n.max):p.max,this.totalMajorUnit=h,n&&(e=K(n.min)||K(n.max),e&&n.min===n.max&&(n.min>0?n.min=0:n.max=1),n.majorUnit?(p.min=c(p.min,n.majorUnit),p.max=u(p.max,n.majorUnit)):e&&(n=lt(p,n),p.majorUnit=r(n.min,n.max))),p.minorUnit=(n.majorUnit||p.majorUnit)/5,lt(p,n)},range:function(){var t=this.options;return{min:t.min,max:t.max}},autoAxisMax:function(t,i,n){var e,o;if(!t&&!i)return 1;if(0>=t&&0>=i){if(i=t==i?0:i,o=st.abs((i-t)/i),n===!1||!n&&o>Ht)return 0;e=st.min(0,i-(t-i)/2)}else t=t==i?0:t,e=i;return e},autoAxisMin:function(t,i,n){var e,o;if(!t&&!i)return 0;if(t>=0&&i>=0){if(t=t==i?0:t,o=(i-t)/i,n===!1||!n&&o>Ht)return 0;e=st.max(0,t-(i-t)/2)}else i=t==i?0:i,e=t;return e},getDivisions:function(t){if(0===t)return 1;var i=this.options,n=i.max-i.min;return st.floor(h(n/t,ft))+1},getTickPositions:function(t,i){var n,e=this,o=e.options,r=o.vertical,a=o.reverse,s=e.lineBox(),l=r?s.height():s.width(),u=o.max-o.min,c=l/u,p=t*c,f=0,d=e.getDivisions(t),x=(r?-1:1)*(a?-1:1),m=1===x?1:2,g=s[(r?Ft:Nt)+m],v=[];for(i&&(f=i/t),n=0;d>n;n++)n%f!==0&&v.push(h(g,ft)),g+=p*x;return v},getMajorTickPositions:function(){var t=this;return t.getTickPositions(t.options.majorUnit)},getMinorTickPositions:function(){var t=this;return t.getTickPositions(t.options.minorUnit)},getSlot:function(t,i,n){var e,o,r=this,a=r.options,s=a.reverse,l=a.vertical,u=l?Ft:Nt,c=r.lineBox(),h=c[u+(s?2:1)],p=l?c.height():c.width(),f=s?-1:1,d=f*(p/(a.max-a.min)),x=new S(c.x1,c.y1,c.x1,c.y1);return K(t)||(t=i||0),K(i)||(i=t||0),n&&(t=st.max(st.min(t,a.max),a.min),i=st.max(st.min(i,a.max),a.min)),l?(e=a.max-st.max(t,i),o=a.max-st.min(t,i)):(e=st.min(t,i)-a.min,o=st.max(t,i)-a.min),x[u+1]=_(h+d*(s?o:e)),x[u+2]=_(h+d*(s?e:o)),x},getValue:function(t){var i,n=this,e=n.options,o=e.reverse,r=e.vertical,a=1*e.max,s=1*e.min,l=r?Ft:Nt,u=n.lineBox(),c=u[l+(o?2:1)],p=r?u.height():u.width(),f=o?-1:1,d=f*(t[l]-c),x=(a-s)/p,m=d*x;return 0>d||d>p?null:(i=r?a-m:s+m,h(i,bt))},translateRange:function(t){var i=this,n=i.options,e=i.lineBox(),o=n.vertical,r=n.reverse,a=o?e.height():e.width(),s=n.max-n.min,l=a/s,u=h(t/l,bt);return!o&&!r||o&&r||(u=-u),{min:n.min+u,max:n.max+u}},scaleRange:function(t){var i=this,n=i.options,e=-t*n.majorUnit;return{min:n.min-e,max:n.max+e}},labelsCount:function(){return this.getDivisions(this.options.majorUnit)},createAxisLabel:function(t,i){var n=this,e=n.options,o=h(e.min+t*e.majorUnit,bt),r=n.axisLabelText(o,null,i);return new E(o,r,t,null,i)},shouldRenderNote:function(t){var i=this.range();return t>=i.min&&i.max>=t},pan:function(t){var i=this.translateRange(t);return this.limitRange(i.min,i.max,this.totalMin,this.totalMax)},pointsRange:function(t,i){var n=this.getValue(t),e=this.getValue(i),o=st.min(n,e),r=st.max(n,e);return{min:o,max:r}},zoomRange:function(t){var n=this.scaleRange(t),e=this.totalMax,o=this.totalMin,r=W.limitValue(n.min,o,e),a=W.limitValue(n.max,o,e),s=this.options.max-this.options.min;return this.totalMajorUnit>s||a-r>=this.totalMajorUnit?{min:r,max:a}:i}}),N=U.extend({init:function(t,i,n){this.options=this._initOptions(t,i,n),this.seriesMin=t,this.seriesMax=i,U.fn.init.call(this,n)},startValue:function(){return this.options.min},options:{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:ct},zIndex:1},getSlot:function(t,n,e){var o,r,a=this,s=a.options,l=s.reverse,u=s.vertical,c=u?Ft:Nt,h=a.lineBox(),f=h[c+(l?2:1)],d=u?h.height():h.width(),x=l?-1:1,m=s.majorUnit,g=a.logMin,v=a.logMax,y=x*(d/(v-g)),b=new S(h.x1,h.y1,h.x1,h.y1);return K(t)||(t=n||1),K(n)||(n=t||1),0>=t||0>=n?i:(e&&(t=st.max(st.min(t,s.max),s.min),n=st.max(st.min(n,s.max),s.min)),t=p(t,m),n=p(n,m),u?(o=v-st.max(t,n),r=v-st.min(t,n)):(o=st.min(t,n)-g,r=st.max(t,n)-g),b[c+1]=f+y*(l?r:o),b[c+2]=f+y*(l?o:r),b)},getValue:function(t){var i,n=this,e=n.options,o=e.reverse,r=e.vertical,a=n.lineBox(),s=e.majorUnit,l=n.logMin,u=n.logMax,c=r===o?1:-1,p=1===c?1:2,f=r?a.height():a.width(),d=(u-l)/f,x=r?Ft:Nt,m=a[x+p],g=c*(t[x]-m),v=g*d;return 0>g||g>f?null:(i=l+v,h(st.pow(s,i),bt))},range:function(){var t=this.options;return{min:t.min,max:t.max}},scaleRange:function(t){var i=this,n=i.options,e=n.majorUnit,o=-t;return{min:st.pow(e,i.logMin-o),max:st.pow(e,i.logMax+o)}},translateRange:function(t){var i=this,n=i.options,e=n.majorUnit,o=i.lineBox(),r=n.vertical,a=n.reverse,s=r?o.height():o.width(),l=s/(i.logMax-i.logMin),u=h(t/l,bt);return!r&&!a||r&&a||(u=-u),{min:st.pow(e,i.logMin+u),max:st.pow(e,i.logMax+u)}},labelsCount:function(){var t=this,i=st.floor(t.logMax),n=st.floor(i-t.logMin)+1;return n},getMajorTickPositions:function(){var t=this,i=[];return t.traverseMajorTicksPositions(function(t){i.push(t)},{step:1,skip:0}),i},createTicks:function(t){function i(i,n){c.tickX=s?a.x2:a.x2-n.size,c.tickY=s?a.y1-n.size:a.y1,c.position=i,t.append(e(c,n))}var n=this,o=[],r=n.options,a=n.lineBox(),s=r.labels.mirror,l=r.majorTicks,u=r.minorTicks,c={vertical:r.vertical};return l.visible&&n.traverseMajorTicksPositions(i,l),u.visible&&n.traverseMinorTicksPositions(i,u),o},createGridLines:function(t){function i(t,i){l(t,h)||(c.position=t,p.append(o(c,i)),h.push(t))}var n=this,e=n.options,r=e.majorGridLines,a=e.minorGridLines,s=e.vertical,u=t.lineBox(),c={lineStart:u[s?"x1":"y1"],lineEnd:u[s?"x2":"y2"],vertical:s},h=[],p=this.gridLinesVisual();return r.visible&&n.traverseMajorTicksPositions(i,r),a.visible&&n.traverseMinorTicksPositions(i,a),p.children},traverseMajorTicksPositions:function(t,i){var n,e,o=this,r=o._lineOptions(),a=r.lineStart,s=r.step,l=o.logMin,u=o.logMax;for(n=st.ceil(l)+i.skip;u>=n;n+=i.step)e=h(a+s*(n-l),bt),t(e,i)},traverseMinorTicksPositions:function(t,i){var n,e,o,r,a,s=this,l=s.options,u=s._lineOptions(),c=u.lineStart,f=u.step,d=l.majorUnit,x=s.logMin,m=s.logMax,g=st.floor(x),v=l.max,y=l.min,b=l.minorUnit;for(n=g;m>n;n++)for(r=s._minorIntervalOptions(n),a=i.skip;b>a&&(e=r.value+a*r.minorStep,!(e>v));a+=i.step)e>=y&&(o=h(c+f*(p(e,d)-x),bt),t(o,i))},createAxisLabel:function(t,i){var n=this,e=n.options,o=st.ceil(n.logMin+t),r=Math.pow(e.majorUnit,o),a=n.axisLabelText(r,null,i);return new E(r,a,t,null,i)},shouldRenderNote:function(t){var i=this.range();return t>=i.min&&i.max>=t},_throwNegativeValuesError:function(){throw Error("Non positive values cannot be used for a logarithmic axis")},_initOptions:function(t,i,n){var e=this,o=lt({},e.options,{min:t,max:i},n),r=o.min,a=o.max,s=o.majorUnit,l=this._autoMax(i,s),u=this._autoMin(t,i,o);return 0>=o.axisCrossingValue&&e._throwNegativeValuesError(),K(n.max)?0>=n.max&&e._throwNegativeValuesError():a=l,K(n.min)?0>=n.min&&e._throwNegativeValuesError():r=u,this.totalMin=K(n.min)?st.min(u,n.min):u,this.totalMax=K(n.max)?st.max(l,n.max):l,e.logMin=h(p(r,s),bt),e.logMax=h(p(a,s),bt),o.max=a,o.min=r,o.minorUnit=n.minorUnit||h(s-1,bt),o},_autoMin:function(t,i,n){var e=t,o=n.majorUnit;return 0>=t?e=1>=i?st.pow(o,-2):1:n.narrowRange||(e=st.pow(o,st.floor(p(t,o)))),e},_autoMax:function(t,i){var n,e=h(p(t,i),bt)%1;return n=0>=t?i:0!==e&&(.3>e||e>.9)?st.pow(i,p(t,i)+.2):st.pow(i,st.ceil(p(t,i)))},pan:function(t){var i=this.translateRange(t);return this.limitRange(i.min,i.max,this.totalMin,this.totalMax,-t)},pointsRange:function(t,i){var n=this.getValue(t),e=this.getValue(i),o=st.min(n,e),r=st.max(n,e);return{min:o,max:r}},zoomRange:function(t){var n=this.options,e=this.scaleRange(t),o=this.totalMax,r=this.totalMin,a=W.limitValue(e.min,r,o),s=W.limitValue(e.max,r,o),l=n.majorUnit,u=s>a&&n.min&&n.max&&h(p(n.max,l)-p(n.min,l),bt)<1,c=!(n.min===r&&n.max===o)&&h(p(s,l)-p(a,l),bt)>=1;return u||c?{min:a,max:s}:i},_minorIntervalOptions:function(t){var i=this.options.majorUnit,n=st.pow(i,t),e=st.pow(i,t+1),o=e-n,r=o/this.options.minorUnit;return{value:n,minorStep:r}},_lineOptions:function(){var t=this,i=t.options,n=i.reverse,e=i.vertical,o=e?Ft:Nt,r=t.lineBox(),a=e===n?1:-1,s=1===a?1:2,l=e?r.height():r.width(),u=a*(l/(t.logMax-t.logMin)),c=r[o+s];return{step:u,lineStart:c,lineBox:r}}}),J.Gradients={glass:{type:Rt,rotation:0,stops:[{offset:0,color:Gt,opacity:0},{offset:.25,color:Gt,opacity:.3},{offset:1,color:Gt,opacity:0}]},sharpBevel:{type:jt,stops:[{offset:0,color:Gt,opacity:.55},{offset:.65,color:Gt,opacity:0},{offset:.95,color:Gt,opacity:.25}]},roundedBevel:{type:jt,stops:[{offset:.33,color:Gt,opacity:.06},{offset:.83,color:Gt,opacity:.2},{offset:.95,color:Gt,opacity:0}]},roundedGlass:{type:jt,supportVML:!1,stops:[{offset:0,color:Gt,opacity:0},{offset:.5,color:Gt,opacity:.3},{offset:.99,color:Gt,opacity:0}]},sharpGlass:{type:jt,supportVML:!1,stops:[{offset:0,color:Gt,opacity:.2},{offset:.15,color:Gt,opacity:.15},{offset:.17,color:Gt,opacity:.35},{offset:.85,color:Gt,opacity:.05},{offset:.87,color:Gt,opacity:.15},{offset:.99,color:Gt,opacity:0}]}},F={extend:function(t,i){if(!t.exportVisual)throw Error("Mixin target has no exportVisual method defined.");t.exportSVG=this.exportSVG,t.exportImage=this.exportImage,t.exportPDF=this.exportPDF,i||(t.svg=this.svg,t.imageDataURL=this.imageDataURL)},exportSVG:function(t){return $.exportSVG(this.exportVisual(),t)},exportImage:function(t){return $.exportImage(this.exportVisual(t),t)},exportPDF:function(t){return $.exportPDF(this.exportVisual(),t)},svg:function(){if($.svg.Surface)return $.svg._exportGroup(this.exportVisual());throw Error("SVG Export failed. Unable to export instantiate kendo.drawing.svg.Surface")},imageDataURL:function(){var i,n,e;if(!X.support.canvas)return null;if($.canvas.Surface)return i=t("<div />").css({display:"none",width:this.element.width(),height:this.element.height()}).appendTo(document.body),n=new $.canvas.Surface(i),n.draw(this.exportVisual()),e=n._rootElement.toDataURL(),n.destroy(),i.remove(),e;throw Error("Image Export failed. Unable to export instantiate kendo.drawing.canvas.Surface")}},H=function(t){this.closed=t},H.prototype=H.fn={WEIGHT:.333,EXTREMUM_ALLOWED_DEVIATION:.01,process:function(t){var i,n,e,o,r,a,s,l,u,c,h=this,p=h.closed,f=t.slice(0),d=f.length,x=[];if(d>2&&(h.removeDuplicates(0,f),d=f.length),2>d||2==d&&f[0].equals(f[1]))return x;for(i=f[0],n=f[1],e=f[2],x.push(new $.Segment(i));i.equals(f[d-1]);)p=!0,f.pop(),d--;if(2==d)return s=h.tangent(i,n,Nt,Ft),Y(x).controlOut(h.firstControlPoint(s,i,n,Nt,Ft)),x.push(new $.Segment(n,h.secondControlPoint(s,i,n,Nt,Ft))),x;for(p?(i=f[d-1],n=f[0],e=f[1],o=h.controlPoints(i,n,e),r=o[1],a=o[0]):(s=h.tangent(i,n,Nt,Ft),r=h.firstControlPoint(s,i,n,Nt,Ft)),l=r,u=0;d-3>=u;u++)h.removeDuplicates(u,f),d=f.length,d>=u+3&&(i=f[u],n=f[u+1],e=f[u+2],o=h.controlPoints(i,n,e),Y(x).controlOut(l),l=o[1],c=o[0],x.push(new $.Segment(n,c)));return p?(i=f[d-2],n=f[d-1],e=f[0],o=h.controlPoints(i,n,e),Y(x).controlOut(l),x.push(new $.Segment(n,o[0])),Y(x).controlOut(o[1]),x.push(new $.Segment(e,a))):(s=h.tangent(n,e,Nt,Ft),Y(x).controlOut(l),x.push(new $.Segment(e,h.secondControlPoint(s,n,e,Nt,Ft)))),x},removeDuplicates:function(t,i){for(;i[t+1]&&(i[t].equals(i[t+1])||i[t+1].equals(i[t+2]));)i.splice(t+1,1)},invertAxis:function(t,i,n){var e,o,r=this,a=!1;return t.x===i.x?a=!0:i.x===n.x?(n.y>i.y&&i.y>=t.y||i.y>n.y&&t.y>=i.y)&&(a=!0):(e=r.lineFunction(t,i),o=r.calculateFunction(e,n.x),i.y>=t.y&&o>=n.y||t.y>=i.y&&n.y>=o||(a=!0)),a},isLine:function(t,i,n){var e=this,o=e.lineFunction(t,i),r=e.calculateFunction(o,n.x);return t.x==i.x&&i.x==n.x||h(r,1)===h(n.y,1)},lineFunction:function(t,i){var n=(i.y-t.y)/(i.x-t.x),e=t.y-n*t.x;return[e,n]},controlPoints:function(t,i,n){var e,o,r,a,s,l,u=this,c=Nt,h=Ft,p=!1,f=!1,d=u.EXTREMUM_ALLOWED_DEVIATION;return u.isLine(t,i,n)?e=u.tangent(t,i,Nt,Ft):(o={x:u.isMonotonicByField(t,i,n,Nt),y:u.isMonotonicByField(t,i,n,Ft)},o.x&&o.y?(e=u.tangent(t,n,Nt,Ft),p=!0):(u.invertAxis(t,i,n)&&(c=Ft,h=Nt),o[c]?e=0:(s=t[h]>n[h]&&i[h]>=t[h]||n[h]>t[h]&&t[h]>=i[h]?u.sign((n[h]-t[h])*(i[c]-t[c])):-u.sign((n[c]-t[c])*(i[h]-t[h])),e=d*s,f=!0))),a=u.secondControlPoint(e,t,i,c,h),f&&(l=c,c=h,h=l),r=u.firstControlPoint(e,i,n,c,h),p&&(u.restrictControlPoint(t,i,a,e),u.restrictControlPoint(i,n,r,e)),[a,r]},sign:function(t){return 0>=t?-1:1},restrictControlPoint:function(t,i,n,e){i.y>t.y?n.y>i.y?(n.x=t.x+(i.y-t.y)/e,n.y=i.y):t.y>n.y&&(n.x=i.x-(i.y-t.y)/e,n.y=t.y):i.y>n.y?(n.x=t.x-(t.y-i.y)/e,n.y=i.y):n.y>t.y&&(n.x=i.x+(t.y-i.y)/e,n.y=t.y)},tangent:function(t,i,n,e){var o,r=i[n]-t[n],a=i[e]-t[e];return o=0===r?0:a/r},isMonotonicByField:function(t,i,n,e){return n[e]>i[e]&&i[e]>t[e]||i[e]>n[e]&&t[e]>i[e]},firstControlPoint:function(t,i,n,e,o){var r=this,a=i[e],s=n[e],l=(s-a)*r.WEIGHT;return r.point(a+l,i[o]+l*t,e,o)},secondControlPoint:function(t,i,n,e,o){var r=this,a=i[e],s=n[e],l=(s-a)*r.WEIGHT;return r.point(s-l,n[o]-l*t,e,o)},point:function(t,i,n,e){var o=new Z.Point;return o[n]=t,o[e]=i,o},calculateFunction:function(t,i){var n,e=0,o=t.length;for(n=0;o>n;n++)e+=Math.pow(i,n)*t[n];return e}},b._element=document.createElement("span"),lt(X.dataviz,{AXIS_LABEL_CLICK:ut,COORD_PRECISION:ft,DEFAULT_PRECISION:bt,DEFAULT_WIDTH:wt,DEFAULT_HEIGHT:vt,DEFAULT_FONT:gt,INITIAL_ANIMATION_DURATION:St,NOTE_CLICK:Lt,NOTE_HOVER:Bt,CLIP:dt,Axis:U,AxisLabel:E,Box2D:S,BoxElement:C,ChartElement:P,CurveProcessor:H,ExportMixin:F,FloatElement:B,LogarithmicAxis:N,Note:O,NumericAxis:G,Point2D:Xt,Ring:A,RootElement:z,Sector:V,ShapeBuilder:R,ShapeElement:D,Text:L,TextBox:I,Title:j,alignPathToPixel:w,autoFormat:m,autoMajorUnit:r,boxDiff:s,dateComparer:v,decodeEntities:b,eventTargetElement:M,getSpacing:n,inArray:l,interpolateValue:d,mwDelta:y,rectToBox:k,rotatePoint:a,round:h,ceil:u,floor:c})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,i,n){(n||i)()});
//# sourceMappingURL=kendo.dataviz.core.min.js.map
