{"version":3,"sources":["kendo.core.min.js","kendo.data.min.js","kendo.popup.min.js","kendo.userevents.min.js","kendo.color.min.js","kendo.drawing.min.js","kendo.dataviz.core.min.js","kendo.dataviz.themes.min.js","kendo.dataviz.chart.min.js","kendo.aspnetmvc.min.js","kendo.culture.sl.min.js","kendo.culture.sl-SI.min.js","kendo.culture.en.min.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"JsKendoChartBundle.js","sourcesContent":["/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"kendo.core.min\",[\"jquery\"],e)}(function(){return function(e,t,n){function r(){}function o(e,t){if(t)return\"'\"+e.split(\"'\").join(\"\\\\'\").split('\\\\\"').join('\\\\\\\\\\\\\"').replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\").replace(/\\t/g,\"\\\\t\")+\"'\";var n=e.charAt(0),r=e.substring(1);return\"=\"===n?\"+(\"+r+\")+\":\":\"===n?\"+$kendoHtmlEncode(\"+r+\")+\":\";\"+e+\";$kendoOutput+=\"}function i(e,t,n){return e+=\"\",t=t||2,n=t-e.length,n?W[t].substring(0,n)+e:e}function a(e){var t=e.css(ye.support.transitions.css+\"box-shadow\")||e.css(\"box-shadow\"),n=t?t.match(De)||[0,0,0,0,0]:[0,0,0,0,0],r=Te.max(+n[3],+(n[4]||0));return{left:-n[1]+r,right:+n[1]+r,bottom:+n[2]+r}}function s(t,n){var r,o,i,s,u,l,c,d,f=ke.browser,m=\"rtl\"==t.css(\"direction\");return t.parent().hasClass(\"k-animation-container\")?(c=t.parent(\".k-animation-container\"),d=c[0].style,c.is(\":hidden\")&&c.show(),r=Oe.test(d.width)||Oe.test(d.height),r||c.css({width:t.outerWidth(),height:t.outerHeight(),boxSizing:\"content-box\",mozBoxSizing:\"content-box\",webkitBoxSizing:\"content-box\"})):(o=a(t),i=t[0].style.width,s=t[0].style.height,u=Oe.test(i),l=Oe.test(s),f.opera&&(o.left=o.right=o.bottom=5),r=u||l,!u&&(!n||n&&i)&&(i=t.outerWidth()),!l&&(!n||n&&s)&&(s=t.outerHeight()),t.wrap(e(\"<div/>\").addClass(\"k-animation-container\").css({width:i,height:s,marginLeft:o.left*(m?1:-1),paddingLeft:o.left,paddingRight:o.right,paddingBottom:o.bottom})),r&&t.css({width:\"100%\",height:\"100%\",boxSizing:\"border-box\",mozBoxSizing:\"border-box\",webkitBoxSizing:\"border-box\"})),f.msie&&Te.floor(f.version)<=7&&(t.css({zoom:1}),t.children(\".k-menu\").width(t.width())),t.parent()}function u(e){var t=1,n=arguments.length;for(t=1;n>t;t++)l(e,arguments[t]);return e}function l(e,t){var n,r,o,i,a,s=ye.data.ObservableArray,u=ye.data.LazyObservableArray,c=ye.data.DataSource,d=ye.data.HierarchicalDataSource;for(n in t)r=t[n],o=typeof r,i=o===_e&&null!==r?r.constructor:null,i&&i!==Array&&i!==s&&i!==u&&i!==c&&i!==d?r instanceof Date?e[n]=new Date(r.getTime()):A(r.clone)?e[n]=r.clone():(a=e[n],e[n]=typeof a===_e?a||{}:{},l(e[n],r)):o!==Fe&&(e[n]=r);return e}function c(e,t,r){for(var o in t)if(t.hasOwnProperty(o)&&t[o].test(e))return o;return r!==n?r:e}function d(e){return e.replace(/([a-z][A-Z])/g,function(e){return e.charAt(0)+\"-\"+e.charAt(1).toLowerCase()})}function f(e){return e.replace(/\\-(\\w)/g,function(e,t){return t.toUpperCase()})}function m(t,n){var r,o={};return document.defaultView&&document.defaultView.getComputedStyle?(r=document.defaultView.getComputedStyle(t,\"\"),n&&e.each(n,function(e,t){o[t]=r.getPropertyValue(t)})):(r=t.currentStyle,n&&e.each(n,function(e,t){o[t]=r[f(t)]})),ye.size(o)||(o=r),o}function p(e){if(e&&e.className&&\"string\"==typeof e.className&&e.className.indexOf(\"k-auto-scrollable\")>-1)return!0;var t=m(e,[\"overflow\"]).overflow;return\"auto\"==t||\"scroll\"==t}function h(t,r){var o,i=ke.browser.webkit,a=ke.browser.mozilla,s=t instanceof e?t[0]:t;if(t)return o=ke.isRtl(t),r===n?o&&i?s.scrollWidth-s.clientWidth-s.scrollLeft:Math.abs(s.scrollLeft):(s.scrollLeft=o&&i?s.scrollWidth-s.clientWidth-r:o&&a?-r:r,n)}function g(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&\"toJSON\"!=t&&n++;return n}function y(e,n,r){n||(n=\"offset\");var o=e[n]();return ke.browser.msie&&(ke.pointers||ke.msPointers)&&!r&&(o.top-=t.pageYOffset-document.documentElement.scrollTop,o.left-=t.pageXOffset-document.documentElement.scrollLeft),o}function v(e){var t={};return be(\"string\"==typeof e?e.split(\" \"):e,function(e){t[e]=this}),t}function b(e){return new ye.effects.Element(e)}function w(e,t,n,r){return typeof e===He&&(A(t)&&(r=t,t=400,n=!1),A(n)&&(r=n,n=!1),typeof t===Pe&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:r}),ve({effects:{},duration:400,reverse:!1,init:Se,teardown:Se,hide:!1},e,{completeCallback:e.complete,complete:Se})}function M(t,n,r,o,i){for(var a,s=0,u=t.length;u>s;s++)a=e(t[s]),a.queue(function(){B.promise(a,w(n,r,o,i))});return t}function S(e,t,n,r){return t&&(t=t.split(\" \"),be(t,function(t,n){e.toggleClass(n,r)})),e}function T(e){return(\"\"+e).replace(J,\"&\").replace(Y,\"<\").replace(G,\">\").replace(q,\""\").replace(V,\"'\")}function x(e,t){var r;return 0===t.indexOf(\"data\")&&(t=t.substring(4),t=t.charAt(0).toLowerCase()+t.substring(1)),t=t.replace(oe,\"-$1\"),r=e.getAttribute(\"data-\"+ye.ns+t),null===r?r=n:\"null\"===r?r=null:\"true\"===r?r=!0:\"false\"===r?r=!1:Ce.test(r)?r=parseFloat(r):ne.test(r)&&!re.test(r)&&(r=Function(\"return (\"+r+\")\")()),r}function k(t,r){var o,i,a={};for(o in r)i=x(t,o),i!==n&&(te.test(o)&&(i=ye.template(e(\"#\"+i).html())),a[o]=i);return a}function O(t,n){return e.contains(t,n)?-1:1}function z(){var t=e(this);return e.inArray(t.attr(\"data-\"+ye.ns+\"role\"),[\"slider\",\"rangeslider\"])>-1||t.is(\":visible\")}function D(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:\"a\"===n?e.href||t:t)&&C(e)}function C(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return\"hidden\"===e.css(this,\"visibility\")}).length}function E(e,t){return new E.fn.init(e,t)}var H,A,_,N,P,F,R,U,I,$,L,W,j,B,J,Y,q,V,G,K,Q,Z,X,ee,te,ne,re,oe,ie,ae,se,ue,le,ce,de,fe,me,pe,he,ge,ye=t.kendo=t.kendo||{cultures:{}},ve=e.extend,be=e.each,we=e.isArray,Me=e.proxy,Se=e.noop,Te=Math,xe=t.JSON||{},ke={},Oe=/%/,ze=/\\{(\\d+)(:[^\\}]+)?\\}/g,De=/(\\d+(?:\\.?)\\d*)px\\s*(\\d+(?:\\.?)\\d*)px\\s*(\\d+(?:\\.?)\\d*)px\\s*(\\d+)?/i,Ce=/^(\\+|-?)\\d+(\\.?)\\d*$/,Ee=\"function\",He=\"string\",Ae=\"number\",_e=\"object\",Ne=\"null\",Pe=\"boolean\",Fe=\"undefined\",Re={},Ue={},Ie=[].slice;ye.version=\"2016.2.504\".replace(/^\\s+|\\s+$/g,\"\"),r.extend=function(e){var t,n,r=function(){},o=this,i=e&&e.init?e.init:function(){o.apply(this,arguments)};r.prototype=o.prototype,n=i.fn=i.prototype=new r;for(t in e)n[t]=null!=e[t]&&e[t].constructor===Object?ve(!0,{},r.prototype[t],e[t]):e[t];return n.constructor=i,i.extend=o.extend,i},r.prototype._initOptions=function(e){this.options=u({},this.options,e)},A=ye.isFunction=function(e){return\"function\"==typeof e},_=function(){this._defaultPrevented=!0},N=function(){return this._defaultPrevented===!0},P=r.extend({init:function(){this._events={}},bind:function(e,t,r){var o,i,a,s,u,l=this,c=typeof e===He?[e]:e,d=typeof t===Ee;if(t===n){for(o in e)l.bind(o,e[o]);return l}for(o=0,i=c.length;i>o;o++)e=c[o],s=d?t:t[e],s&&(r&&(a=s,s=function(){l.unbind(e,s),a.apply(l,arguments)},s.original=a),u=l._events[e]=l._events[e]||[],u.push(s));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,r,o,i,a=this,s=typeof e===He?[e]:e,u=typeof t===Ee;for(n=0,r=s.length;r>n;n++)e=s[n],o=u?t:t[e],o&&(i=a._events[e]=a._events[e]||[],i.unshift(o));return a},trigger:function(e,t){var n,r,o=this,i=o._events[e];if(i){for(t=t||{},t.sender=o,t._defaultPrevented=!1,t.preventDefault=_,t.isDefaultPrevented=N,i=i.slice(),n=0,r=i.length;r>n;n++)i[n].call(o,t);return t._defaultPrevented===!0}return!1},unbind:function(e,t){var r,o=this,i=o._events[e];if(e===n)o._events={};else if(i)if(t)for(r=i.length-1;r>=0;r--)(i[r]===t||i[r].original===t)&&i.splice(r,1);else o._events[e]=[];return o}}),F=/^\\w+/,R=/\\$\\{([^}]*)\\}/g,U=/\\\\\\}/g,I=/__CURLY__/g,$=/\\\\#/g,L=/__SHARP__/g,W=[\"\",\"0\",\"00\",\"000\",\"0000\"],H={paramName:\"data\",useWithBlock:!0,render:function(e,t){var n,r,o=\"\";for(n=0,r=t.length;r>n;n++)o+=e(t[n]);return o},compile:function(e,t){var n,r,i,a=ve({},this,t),s=a.paramName,u=s.match(F)[0],l=a.useWithBlock,c=\"var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;\";if(A(e))return e;for(c+=l?\"with(\"+s+\"){\":\"\",c+=\"$kendoOutput=\",r=e.replace(U,\"__CURLY__\").replace(R,\"#=$kendoHtmlEncode($1)#\").replace(I,\"}\").replace($,\"__SHARP__\").split(\"#\"),i=0;r.length>i;i++)c+=o(r[i],i%2===0);c+=l?\";}\":\";\",c+=\"return $kendoOutput;\",c=c.replace(L,\"#\");try{return n=Function(u,c),n._slotCount=Math.floor(r.length/2),n}catch(d){throw Error(ye.format(\"Invalid template:'{0}' Generated code:'{1}'\",e,c))}}},function(){function e(e){return a.lastIndex=0,a.test(e)?'\"'+e.replace(a,function(e){var t=s[e];return typeof t===He?t:\"\\\\u\"+(\"0000\"+e.charCodeAt(0).toString(16)).slice(-4)})+'\"':'\"'+e+'\"'}function t(i,a){var s,l,c,d,f,m,p=n,h=a[i];if(h&&typeof h===_e&&typeof h.toJSON===Ee&&(h=h.toJSON(i)),typeof o===Ee&&(h=o.call(a,i,h)),m=typeof h,m===He)return e(h);if(m===Ae)return isFinite(h)?h+\"\":Ne;if(m===Pe||m===Ne)return h+\"\";if(m===_e){if(!h)return Ne;if(n+=r,f=[],\"[object Array]\"===u.apply(h)){for(d=h.length,s=0;d>s;s++)f[s]=t(s,h)||Ne;return c=0===f.length?\"[]\":n?\"[\\n\"+n+f.join(\",\\n\"+n)+\"\\n\"+p+\"]\":\"[\"+f.join(\",\")+\"]\",n=p,c}if(o&&typeof o===_e)for(d=o.length,s=0;d>s;s++)typeof o[s]===He&&(l=o[s],c=t(l,h),c&&f.push(e(l)+(n?\": \":\":\")+c));else for(l in h)Object.hasOwnProperty.call(h,l)&&(c=t(l,h),c&&f.push(e(l)+(n?\": \":\":\")+c));return c=0===f.length?\"{}\":n?\"{\\n\"+n+f.join(\",\\n\"+n)+\"\\n\"+p+\"}\":\"{\"+f.join(\",\")+\"}\",n=p,c}}var n,r,o,a=/[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,s={\"\\b\":\"\\\\b\",\"\t\":\"\\\\t\",\"\\n\":\"\\\\n\",\"\\f\":\"\\\\f\",\"\\r\":\"\\\\r\",'\"':'\\\\\"',\"\\\\\":\"\\\\\\\\\"},u={}.toString;typeof Date.prototype.toJSON!==Ee&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?i(e.getUTCFullYear(),4)+\"-\"+i(e.getUTCMonth()+1)+\"-\"+i(e.getUTCDate())+\"T\"+i(e.getUTCHours())+\":\"+i(e.getUTCMinutes())+\":\"+i(e.getUTCSeconds())+\"Z\":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof xe.stringify!==Ee&&(xe.stringify=function(e,i,a){var s;if(n=\"\",r=\"\",typeof a===Ae)for(s=0;a>s;s+=1)r+=\" \";else typeof a===He&&(r=a);if(o=i,i&&typeof i!==Ee&&(typeof i!==_e||typeof i.length!==Ae))throw Error(\"JSON.stringify\");return t(\"\",{\"\":e})})}(),function(){function e(e){if(e){if(e.numberFormat)return e;if(typeof e===He){var t=ye.cultures;return t[e]||t[e.split(\"-\")[0]]||null}return null}return null}function t(t){return t&&(t=e(t)),t||ye.cultures.current}function r(e,r,o){o=t(o);var a=o.calendars.standard,s=a.days,u=a.months;return r=a.patterns[r]||r,r.replace(l,function(t){var r,o,l;return\"d\"===t?o=e.getDate():\"dd\"===t?o=i(e.getDate()):\"ddd\"===t?o=s.namesAbbr[e.getDay()]:\"dddd\"===t?o=s.names[e.getDay()]:\"M\"===t?o=e.getMonth()+1:\"MM\"===t?o=i(e.getMonth()+1):\"MMM\"===t?o=u.namesAbbr[e.getMonth()]:\"MMMM\"===t?o=u.names[e.getMonth()]:\"yy\"===t?o=i(e.getFullYear()%100):\"yyyy\"===t?o=i(e.getFullYear(),4):\"h\"===t?o=e.getHours()%12||12:\"hh\"===t?o=i(e.getHours()%12||12):\"H\"===t?o=e.getHours():\"HH\"===t?o=i(e.getHours()):\"m\"===t?o=e.getMinutes():\"mm\"===t?o=i(e.getMinutes()):\"s\"===t?o=e.getSeconds():\"ss\"===t?o=i(e.getSeconds()):\"f\"===t?o=Te.floor(e.getMilliseconds()/100):\"ff\"===t?(o=e.getMilliseconds(),o>99&&(o=Te.floor(o/10)),o=i(o)):\"fff\"===t?o=i(e.getMilliseconds(),3):\"tt\"===t?o=e.getHours()<12?a.AM[0]:a.PM[0]:\"zzz\"===t?(r=e.getTimezoneOffset(),l=0>r,o=(\"\"+Te.abs(r/60)).split(\".\")[0],r=Te.abs(r)-60*o,o=(l?\"+\":\"-\")+i(o),o+=\":\"+i(r)):(\"zz\"===t||\"z\"===t)&&(o=e.getTimezoneOffset()/60,l=0>o,o=(\"\"+Te.abs(o)).split(\".\")[0],o=(l?\"+\":\"-\")+(\"zz\"===t?i(o):o)),o!==n?o:t.slice(1,t.length-1)})}function o(e,r,o){o=t(o);var i,u,l,b,w,M,S,T,x,k,O,z,D,C,E,H,A,_,N,P,F,R,U,I=o.numberFormat,$=I[p],L=I.decimals,W=I.pattern[0],j=[],B=0>e,J=m,Y=m,q=-1;if(e===n)return m;if(!isFinite(e))return e;if(!r)return o.name.length?e.toLocaleString():\"\"+e;if(w=c.exec(r)){if(r=w[1].toLowerCase(),u=\"c\"===r,l=\"p\"===r,(u||l)&&(I=u?I.currency:I.percent,$=I[p],L=I.decimals,i=I.symbol,W=I.pattern[B?0:1]),b=w[2],b&&(L=+b),\"e\"===r)return b?e.toExponential(L):e.toExponential();if(l&&(e*=100),e=s(e,L),B=0>e,e=e.split(p),M=e[0],S=e[1],B&&(M=M.substring(1)),Y=a(M,0,M.length,I),S&&(Y+=$+S),\"n\"===r&&!B)return Y;for(e=m,k=0,O=W.length;O>k;k++)z=W.charAt(k),e+=\"n\"===z?Y:\"$\"===z||\"%\"===z?i:z;return e}if(B&&(e=-e),(r.indexOf(\"'\")>-1||r.indexOf('\"')>-1||r.indexOf(\"\\\\\")>-1)&&(r=r.replace(d,function(e){var t=e.charAt(0).replace(\"\\\\\",\"\"),n=e.slice(1).replace(t,\"\");return j.push(n),v})),r=r.split(\";\"),B&&r[1])r=r[1],C=!0;else if(0===e){if(r=r[2]||r[0],-1==r.indexOf(g)&&-1==r.indexOf(y))return r}else r=r[0];if(P=r.indexOf(\"%\"),F=r.indexOf(\"$\"),l=-1!=P,u=-1!=F,l&&(e*=100),u&&\"\\\\\"===r[F-1]&&(r=r.split(\"\\\\\").join(\"\"),u=!1),(u||l)&&(I=u?I.currency:I.percent,$=I[p],L=I.decimals,i=I.symbol),D=r.indexOf(h)>-1,D&&(r=r.replace(f,m)),E=r.indexOf(p),O=r.length,-1!=E?(S=(\"\"+e).split(\"e\"),S=S[1]?s(e,Math.abs(S[1])):S[0],S=S.split(p)[1]||m,A=r.lastIndexOf(y)-E,H=r.lastIndexOf(g)-E,_=A>-1,N=H>-1,k=S.length,_||N||(r=r.substring(0,E)+r.substring(E+1),O=r.length,E=-1,k=0),_&&A>H?k=A:H>A&&(N&&k>H?k=H:_&&A>k&&(k=A)),k>-1&&(e=s(e,k))):e=s(e),H=r.indexOf(g),R=A=r.indexOf(y),q=-1==H&&-1!=A?A:-1!=H&&-1==A?H:H>A?A:H,H=r.lastIndexOf(g),A=r.lastIndexOf(y),U=-1==H&&-1!=A?A:-1!=H&&-1==A?H:H>A?H:A,q==O&&(U=q),-1!=q){for(Y=(\"\"+e).split(p),M=Y[0],S=Y[1]||m,T=M.length,x=S.length,B&&-1*e>=0&&(B=!1),e=r.substring(0,q),B&&!C&&(e+=\"-\"),k=q;O>k;k++){if(z=r.charAt(k),-1==E){if(T>U-k){e+=M;break}}else if(-1!=A&&k>A&&(J=m),T>=E-k&&E-k>-1&&(e+=M,k=E),E===k){e+=(S?$:m)+S,k+=U-E+1;continue}z===y?(e+=z,J=z):z===g&&(e+=J)}if(D&&(e=a(e,q,Math.max(U,T+q-1),I)),U>=q&&(e+=r.substring(U+1)),u||l){for(Y=m,k=0,O=e.length;O>k;k++)z=e.charAt(k),Y+=\"$\"===z||\"%\"===z?i:z;e=Y}if(O=j.length)for(k=0;O>k;k++)e=e.replace(v,j[k])}return e}var a,s,u,l=/dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|zzz|zz|z|\"[^\"]*\"|'[^']*'/g,c=/^(n|c|p|e)(\\d*)$/i,d=/(\\\\.)|(['][^']*[']?)|([\"][^\"]*[\"]?)/g,f=/\\,/g,m=\"\",p=\".\",h=\",\",g=\"#\",y=\"0\",v=\"??\",b=\"en-US\",w={}.toString;ye.cultures[\"en-US\"]={name:b,numberFormat:{pattern:[\"-n\"],decimals:2,\",\":\",\",\".\":\".\",groupSize:[3],percent:{pattern:[\"-n %\",\"n %\"],decimals:2,\",\":\",\",\".\":\".\",groupSize:[3],symbol:\"%\"},currency:{name:\"US Dollar\",abbr:\"USD\",pattern:[\"($n)\",\"$n\"],decimals:2,\",\":\",\",\".\":\".\",groupSize:[3],symbol:\"$\"}},calendars:{standard:{days:{names:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],namesAbbr:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],namesShort:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]},months:{names:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],namesAbbr:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]},AM:[\"AM\",\"am\",\"AM\"],PM:[\"PM\",\"pm\",\"PM\"],patterns:{d:\"M/d/yyyy\",D:\"dddd, MMMM dd, yyyy\",F:\"dddd, MMMM dd, yyyy h:mm:ss tt\",g:\"M/d/yyyy h:mm tt\",G:\"M/d/yyyy h:mm:ss tt\",m:\"MMMM dd\",M:\"MMMM dd\",s:\"yyyy'-'MM'-'ddTHH':'mm':'ss\",t:\"h:mm tt\",T:\"h:mm:ss tt\",u:\"yyyy'-'MM'-'dd HH':'mm':'ss'Z'\",y:\"MMMM, yyyy\",Y:\"MMMM, yyyy\"},\"/\":\"/\",\":\":\":\",firstDay:0,twoDigitYearMax:2029}}},ye.culture=function(t){var r,o=ye.cultures;return t===n?o.current:(r=e(t)||o[b],r.calendar=r.calendars.standard,o.current=r,n)},ye.findCulture=e,ye.getCulture=t,ye.culture(b),a=function(e,t,r,o){var i,a,s,u,l,c,d=e.indexOf(o[p]),f=o.groupSize.slice(),m=f.shift();if(r=-1!==d?d:r+1,i=e.substring(t,r),a=i.length,a>=m){for(s=a,u=[];s>-1;)if(l=i.substring(s-m,s),l&&u.push(l),s-=m,c=f.shift(),m=c!==n?c:m,0===m){u.push(i.substring(0,s));break}i=u.reverse().join(o[h]),e=e.substring(0,t)+i+e.substring(r)}return e},s=function(e,t){return t=t||0,e=(\"\"+e).split(\"e\"),e=Math.round(+(e[0]+\"e\"+(e[1]?+e[1]+t:t))),e=(\"\"+e).split(\"e\"),e=+(e[0]+\"e\"+(e[1]?+e[1]-t:-t)),e.toFixed(t)},u=function(e,t,i){if(t){if(\"[object Date]\"===w.call(e))return r(e,t,i);if(typeof e===Ae)return o(e,t,i)}return e!==n?e:\"\"},ye.format=function(e){var t=arguments;return e.replace(ze,function(e,n,r){var o=t[parseInt(n,10)+1];return u(o,r?r.substring(1):\"\")})},ye._extractFormat=function(e){return\"{0:\"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},ye._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},ye._round=s,ye.toString=u}(),function(){function t(e,t,n){return!(e>=t&&n>=e)}function r(e){return e.charAt(0)}function o(t){return e.map(t,r)}function i(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}function a(e){for(var t=0,n=e.length,r=[];n>t;t++)r[t]=(e[t]+\"\").toLowerCase();return r}function s(e){var t,n={};for(t in e)n[t]=a(e[t]);return n}function u(e,r,a){if(!e)return null;var u,l,c,d,p,h,g,v,b,w,M,S,T,x=function(e){for(var t=0;r[F]===e;)t++,F++;return t>0&&(F-=1),t},k=function(t){var n=y[t]||RegExp(\"^\\\\d{1,\"+t+\"}\"),r=e.substr(R,t).match(n);return r?(r=r[0],R+=r.length,parseInt(r,10)):null},O=function(t,n){for(var r,o,i,a=0,s=t.length,u=0,l=0;s>a;a++)r=t[a],o=r.length,i=e.substr(R,o),n&&(i=i.toLowerCase()),i==r&&o>u&&(u=o,l=a);return u?(R+=u,l+1):null},z=function(){var t=!1;return e.charAt(R)===r[F]&&(R++,t=!0),t},D=a.calendars.standard,C=null,E=null,H=null,A=null,_=null,N=null,P=null,F=0,R=0,U=!1,I=new Date,$=D.twoDigitYearMax||2029,L=I.getFullYear();for(r||(r=\"d\"),d=D.patterns[r],d&&(r=d),r=r.split(\"\"),c=r.length;c>F;F++)if(u=r[F],U)\"'\"===u?U=!1:z();else if(\"d\"===u){if(l=x(\"d\"),D._lowerDays||(D._lowerDays=s(D.days)),null!==H&&l>2)continue;if(H=3>l?k(2):O(D._lowerDays[3==l?\"namesAbbr\":\"names\"],!0),null===H||t(H,1,31))return null}else if(\"M\"===u){if(l=x(\"M\"),D._lowerMonths||(D._lowerMonths=s(D.months)),E=3>l?k(2):O(D._lowerMonths[3==l?\"namesAbbr\":\"names\"],!0),null===E||t(E,1,12))return null;E-=1}else if(\"y\"===u){if(l=x(\"y\"),C=k(l),null===C)return null;2==l&&(\"string\"==typeof $&&($=L+parseInt($,10)),C=L-L%100+C,C>$&&(C-=100))}else if(\"h\"===u){if(x(\"h\"),A=k(2),12==A&&(A=0),null===A||t(A,0,11))return null}else if(\"H\"===u){if(x(\"H\"),A=k(2),null===A||t(A,0,23))return null}else if(\"m\"===u){if(x(\"m\"),_=k(2),null===_||t(_,0,59))return null}else if(\"s\"===u){if(x(\"s\"),N=k(2),null===N||t(N,0,59))return null}else if(\"f\"===u){if(l=x(\"f\"),T=e.substr(R,l).match(y[3]),P=k(l),null!==P&&(P=parseFloat(\"0.\"+T[0],10),P=ye._round(P,3),P*=1e3),null===P||t(P,0,999))return null}else if(\"t\"===u){if(l=x(\"t\"),v=D.AM,b=D.PM,1===l&&(v=o(v),b=o(b)),p=O(b),!p&&!O(v))return null}else if(\"z\"===u){if(h=!0,l=x(\"z\"),\"Z\"===e.substr(R,1)){z();continue}if(g=e.substr(R,6).match(l>2?m:f),!g)return null;if(g=g[0].split(\":\"),w=g[0],M=g[1],!M&&w.length>3&&(R=w.length-2,M=w.substring(R),w=w.substring(0,R)),w=parseInt(w,10),t(w,-12,13))return null;if(l>2&&(M=parseInt(M,10),isNaN(M)||t(M,0,59)))return null}else if(\"'\"===u)U=!0,z();else if(!z())return null;return S=null!==A||null!==_||N||null,null===C&&null===E&&null===H&&S?(C=L,E=I.getMonth(),H=I.getDate()):(null===C&&(C=L),null===H&&(H=1)),p&&12>A&&(A+=12),h?(w&&(A+=-w),M&&(_+=-M),e=new Date(Date.UTC(C,E,H,A,_,N,P))):(e=new Date(C,E,H,A,_,N,P),i(e,A)),100>C&&e.setFullYear(C),e.getDate()!==H&&h===n?null:e}function l(e){var t=\"-\"===e.substr(0,1)?-1:1;return e=e.substring(1),e=60*parseInt(e.substr(0,2),10)+parseInt(e.substring(2),10),t*e}var c=/\\u00A0/g,d=/[eE][\\-+]?[0-9]+/,f=/[+|\\-]\\d{1,2}/,m=/[+|\\-]\\d{1,2}:?\\d{2}/,p=/^\\/Date\\((.*?)\\)\\/$/,h=/[+-]\\d*/,g=[\"G\",\"g\",\"d\",\"F\",\"D\",\"y\",\"m\",\"T\",\"t\"],y={2:/^\\d{1,2}/,3:/^\\d{1,3}/,4:/^\\d{4}/},v={}.toString;ye.parseDate=function(e,t,n){var r,o,i,a,s;if(\"[object Date]\"===v.call(e))return e;if(r=0,o=null,e&&0===e.indexOf(\"/D\")&&(o=p.exec(e)))return o=o[1],s=h.exec(o.substring(1)),o=new Date(parseInt(o,10)),s&&(s=l(s[0]),o=ye.timezone.apply(o,0),o=ye.timezone.convert(o,0,-1*s)),o;if(n=ye.getCulture(n),!t){for(t=[],a=n.calendar.patterns,i=g.length;i>r;r++)t[r]=a[g[r]];r=0,t=[\"yyyy/MM/dd HH:mm:ss\",\"yyyy/MM/dd HH:mm\",\"yyyy/MM/dd\",\"ddd MMM dd yyyy HH:mm:ss\",\"yyyy-MM-ddTHH:mm:ss.fffffffzzz\",\"yyyy-MM-ddTHH:mm:ss.fffzzz\",\"yyyy-MM-ddTHH:mm:sszzz\",\"yyyy-MM-ddTHH:mm:ss.fffffff\",\"yyyy-MM-ddTHH:mm:ss.fff\",\"yyyy-MM-ddTHH:mmzzz\",\"yyyy-MM-ddTHH:mmzz\",\"yyyy-MM-ddTHH:mm:ss\",\"yyyy-MM-ddTHH:mm\",\"yyyy-MM-dd HH:mm:ss\",\"yyyy-MM-dd HH:mm\",\"yyyy-MM-dd\",\"HH:mm:ss\",\"HH:mm\"].concat(t)}for(t=we(t)?t:[t],i=t.length;i>r;r++)if(o=u(e,t[r],n))return o;return o},ye.parseInt=function(e,t){var n=ye.parseFloat(e,t);return n&&(n=0|n),n},ye.parseFloat=function(e,t,n){if(!e&&0!==e)return null;if(typeof e===Ae)return e;e=\"\"+e,t=ye.getCulture(t);var r,o,i=t.numberFormat,a=i.percent,s=i.currency,u=s.symbol,l=a.symbol,f=e.indexOf(\"-\");return d.test(e)?(e=parseFloat(e.replace(i[\".\"],\".\")),isNaN(e)&&(e=null),e):f>0?null:(f=f>-1,e.indexOf(u)>-1||n&&n.toLowerCase().indexOf(\"c\")>-1?(i=s,r=i.pattern[0].replace(\"$\",u).split(\"n\"),e.indexOf(r[0])>-1&&e.indexOf(r[1])>-1&&(e=e.replace(r[0],\"\").replace(r[1],\"\"),f=!0)):e.indexOf(l)>-1&&(o=!0,i=a,u=l),e=e.replace(\"-\",\"\").replace(u,\"\").replace(c,\" \").split(i[\",\"].replace(c,\" \")).join(\"\").replace(i[\".\"],\".\"),e=parseFloat(e),isNaN(e)?e=null:f&&(e*=-1),e&&o&&(e/=100),e)}}(),function(){var r,o,i,a,s,u,l;ke._scrollbar=n,ke.scrollbar=function(e){if(isNaN(ke._scrollbar)||e){var t,n=document.createElement(\"div\");return n.style.cssText=\"overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block\",n.innerHTML=\" \",document.body.appendChild(n),ke._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return ke._scrollbar},ke.isRtl=function(t){return e(t).closest(\".k-rtl\").length>0},r=document.createElement(\"table\");try{r.innerHTML=\"<tr><td></td></tr>\",ke.tbodyInnerHtml=!0}catch(d){ke.tbodyInnerHtml=!1}ke.touch=\"ontouchstart\"in t,ke.msPointers=t.MSPointerEvent,ke.pointers=t.PointerEvent,o=ke.transitions=!1,i=ke.transforms=!1,a=\"HTMLElement\"in t?HTMLElement.prototype:[],ke.hasHW3D=\"WebKitCSSMatrix\"in t&&\"m11\"in new t.WebKitCSSMatrix||\"MozPerspective\"in document.documentElement.style||\"msPerspective\"in document.documentElement.style,be([\"Moz\",\"webkit\",\"O\",\"ms\"],function(){var e,t=\"\"+this,a=typeof r.style[t+\"Transition\"]===He;return a||typeof r.style[t+\"Transform\"]===He?(e=t.toLowerCase(),i={css:\"ms\"!=e?\"-\"+e+\"-\":\"\",prefix:t,event:\"o\"===e||\"webkit\"===e?e:\"\"},a&&(o=i,o.event=o.event?o.event+\"TransitionEnd\":\"transitionend\"),!1):n}),r=null,ke.transforms=i,ke.transitions=o,ke.devicePixelRatio=t.devicePixelRatio===n?1:t.devicePixelRatio;try{ke.screenWidth=t.outerWidth||t.screen?t.screen.availWidth:t.innerWidth,ke.screenHeight=t.outerHeight||t.screen?t.screen.availHeight:t.innerHeight}catch(d){ke.screenWidth=t.screen.availWidth,ke.screenHeight=t.screen.availHeight}ke.detectOS=function(e){var n,r,o=!1,i=[],a=!/mobile safari/i.test(e),s={wp:/(Windows Phone(?: OS)?)\\s(\\d+)\\.(\\d+(\\.\\d+)?)/,fire:/(Silk)\\/(\\d+)\\.(\\d+(\\.\\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\\/)\\s*(\\d+)\\.(\\d+(\\.\\d+)?)/,iphone:/(iPhone|iPod).*OS\\s+(\\d+)[\\._]([\\d\\._]+)/,ipad:/(iPad).*OS\\s+(\\d+)[\\._]([\\d_]+)/,meego:/(MeeGo).+NokiaBrowser\\/(\\d+)\\.([\\d\\._]+)/,webos:/(webOS)\\/(\\d+)\\.(\\d+(\\.\\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\\/(\\d+)\\.(\\d+(\\.\\d+)?)/,playbook:/(PlayBook).*?Tablet\\s*OS\\s*(\\d+)\\.(\\d+(\\.\\d+)?)/,windows:/(MSIE)\\s+(\\d+)\\.(\\d+(\\.\\d+)?)/,tizen:/(tizen).*?Version\\/(\\d+)\\.(\\d+(\\.\\d+)?)/i,sailfish:/(sailfish).*rv:(\\d+)\\.(\\d+(\\.\\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\\d+)\\.(\\d+(\\.\\d+)?).*Firefox/},u={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},l={tablet:/playbook|ipad|fire/i},d={omini:/Opera\\sMini/i,omobile:/Opera\\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\\/.*safari/i,ie:/MSIE|Windows\\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(r in s)if(s.hasOwnProperty(r)&&(i=e.match(s[r]))){if(\"windows\"==r&&\"plugins\"in navigator)return!1;o={},o.device=r,o.tablet=c(r,l,!1),o.browser=c(e,d,\"default\"),o.name=c(r,u),o[o.name]=!0,o.majorVersion=i[2],o.minorVersion=i[3].replace(\"_\",\".\"),n=o.minorVersion.replace(\".\",\"\").substr(0,2),o.flatVersion=o.majorVersion+n+Array(3-(3>n.length?n.length:2)).join(\"0\"),o.cordova=typeof t.PhoneGap!==Fe||typeof t.cordova!==Fe,o.appMode=t.navigator.standalone||/file|local|wmapp/.test(t.location.protocol)||o.cordova,o.android&&(1.5>ke.devicePixelRatio&&400>o.flatVersion||a)&&(ke.screenWidth>800||ke.screenHeight>800)&&(o.tablet=r);break}return o},s=ke.mobileOS=ke.detectOS(navigator.userAgent),ke.wpDevicePixelRatio=s.wp?screen.width/320:0,ke.kineticScrollNeeded=s&&(ke.touch||ke.msPointers||ke.pointers),ke.hasNativeScrolling=!1,(s.ios||s.android&&s.majorVersion>2||s.wp)&&(ke.hasNativeScrolling=s),ke.delayedClick=function(){if(ke.touch){if(s.ios)return!0;if(s.android)return ke.browser.chrome?32>ke.browser.version?!1:!(e(\"meta[name=viewport]\").attr(\"content\")||\"\").match(/user-scalable=no/i):!0}return!1},ke.mouseAndTouchPresent=ke.touch&&!(ke.mobileOS.ios||ke.mobileOS.android),ke.detectBrowser=function(e){var t,n=!1,r=[],o={edge:/(edge)[ \\/]([\\w.]+)/i,webkit:/(chrome)[ \\/]([\\w.]+)/i,safari:/(webkit)[ \\/]([\\w.]+)/i,opera:/(opera)(?:.*version|)[ \\/]([\\w.]+)/i,msie:/(msie\\s|trident.*? rv:)([\\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\\w.]+)|)/i};for(t in o)if(o.hasOwnProperty(t)&&(r=e.match(o[t]))){n={},n[t]=!0,n[r[1].toLowerCase().split(\" \")[0].split(\"/\")[0]]=!0,n.version=parseInt(document.documentMode||r[2],10);break}return n},ke.browser=ke.detectBrowser(navigator.userAgent),ke.detectClipboardAccess=function(){var e={copy:document.queryCommandSupported?document.queryCommandSupported(\"copy\"):!1,cut:document.queryCommandSupported?document.queryCommandSupported(\"cut\"):!1,paste:document.queryCommandSupported?document.queryCommandSupported(\"paste\"):!1};return ke.browser.chrome&&(e.paste=!1,ke.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},ke.clipboard=ke.detectClipboardAccess(),ke.zoomLevel=function(){var e,n,r;try{return e=ke.browser,n=0,r=document.documentElement,e.msie&&11==e.version&&r.scrollHeight>r.clientHeight&&!ke.touch&&(n=ke.scrollbar()),ke.touch?r.clientWidth/t.innerWidth:e.msie&&e.version>=10?((top||t).document.documentElement.offsetWidth+n)/(top||t).innerWidth:1}catch(o){return 1}},ke.cssBorderSpacing=n!==document.documentElement.style.borderSpacing&&!(ke.browser.msie&&8>ke.browser.version),function(t){var n=\"\",r=e(document.documentElement),o=parseInt(t.version,10);t.msie?n=\"ie\":t.mozilla?n=\"ff\":t.safari?n=\"safari\":t.webkit?n=\"webkit\":t.opera?n=\"opera\":t.edge&&(n=\"edge\"),n&&(n=\"k-\"+n+\" k-\"+n+o),ke.mobileOS&&(n+=\" k-mobile\"),r.addClass(n)}(ke.browser),ke.eventCapture=document.documentElement.addEventListener,u=document.createElement(\"input\"),ke.placeholder=\"placeholder\"in u,ke.propertyChangeEvent=\"onpropertychange\"in u,ke.input=function(){for(var e,t=[\"number\",\"date\",\"time\",\"month\",\"week\",\"datetime\",\"datetime-local\"],n=t.length,r=\"test\",o={},i=0;n>i;i++)e=t[i],u.setAttribute(\"type\",e),u.value=r,o[e.replace(\"-\",\"\")]=\"text\"!==u.type&&u.value!==r;return o}(),u.style.cssText=\"float:left;\",ke.cssFloat=!!u.style.cssFloat,u=null,ke.stableSort=function(){var e,t=513,n=[{index:0,field:\"b\"}];for(e=1;t>e;e++)n.push({index:e,field:\"a\"});return n.sort(function(e,t){return e.field>t.field?1:t.field>e.field?-1:0}),1===n[0].index}(),ke.matchesSelector=a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.matchesSelector||a.matches||function(t){for(var n=document.querySelectorAll?(this.parentNode||document).querySelectorAll(t)||[]:e(t),r=n.length;r--;)if(n[r]==this)return!0;return!1},ke.pushState=t.history&&t.history.pushState,l=document.documentMode,ke.hashChange=\"onhashchange\"in t&&!(ke.browser.msie&&(!l||8>=l)),ke.customElements=\"registerElement\"in t.document}(),j={left:{reverse:\"right\"},right:{reverse:\"left\"},down:{reverse:\"up\"},up:{reverse:\"down\"},top:{reverse:\"bottom\"},bottom:{reverse:\"top\"},\"in\":{reverse:\"out\"},out:{reverse:\"in\"}},B={},e.extend(B,{enabled:!0,Element:function(t){this.element=e(t)},promise:function(e,t){e.is(\":visible\")||e.css({display:e.data(\"olddisplay\")||\"block\"}).css(\"display\"),t.hide&&e.data(\"olddisplay\",e.css(\"display\")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),B.promiseShim=B.promise,\"kendoAnimate\"in e.fn||ve(e.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,r){return M(this,e,t,n,r)},kendoAddClass:function(e,t){return ye.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return ye.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return ye.toggleClass(this,e,t,n)}}),J=/&/g,Y=/</g,q=/\"/g,V=/'/g,G=/>/g,K=function(e){return e.target},ke.touch&&(K=function(e){var t=\"originalEvent\"in e?e.originalEvent.changedTouches:\"changedTouches\"in e?e.changedTouches:null;return t?document.elementFromPoint(t[0].clientX,t[0].clientY):e.target},be([\"swipe\",\"swipeLeft\",\"swipeRight\",\"swipeUp\",\"swipeDown\",\"doubleTap\",\"tap\"],function(t,n){e.fn[n]=function(e){return this.bind(n,e)}})),ke.touch?ke.mobileOS?(ke.mousedown=\"touchstart\",ke.mouseup=\"touchend\",ke.mousemove=\"touchmove\",ke.mousecancel=\"touchcancel\",ke.click=\"touchend\",ke.resize=\"orientationchange\"):(ke.mousedown=\"mousedown touchstart\",ke.mouseup=\"mouseup touchend\",ke.mousemove=\"mousemove touchmove\",ke.mousecancel=\"mouseleave touchcancel\",ke.click=\"click\",ke.resize=\"resize\"):ke.pointers?(ke.mousemove=\"pointermove\",ke.mousedown=\"pointerdown\",ke.mouseup=\"pointerup\",ke.mousecancel=\"pointercancel\",ke.click=\"pointerup\",ke.resize=\"orientationchange resize\"):ke.msPointers?(ke.mousemove=\"MSPointerMove\",ke.mousedown=\"MSPointerDown\",ke.mouseup=\"MSPointerUp\",ke.mousecancel=\"MSPointerCancel\",ke.click=\"MSPointerUp\",ke.resize=\"orientationchange resize\"):(ke.mousemove=\"mousemove\",ke.mousedown=\"mousedown\",ke.mouseup=\"mouseup\",ke.mousecancel=\"mouseleave\",ke.click=\"click\",ke.resize=\"resize\"),Q=function(e,t){var n,r,o,i,a=t||\"d\",s=1;for(r=0,o=e.length;o>r;r++)i=e[r],\"\"!==i&&(n=i.indexOf(\"[\"),0!==n&&(-1==n?i=\".\"+i:(s++,i=\".\"+i.substring(0,n)+\" || {})\"+i.substring(n))),s++,a+=i+(o-1>r?\" || {})\":\")\"));return Array(s).join(\"(\")+a},Z=/^([a-z]+:)?\\/\\//i,ve(ye,{widgets:[],_widgetRegisteredCallbacks:[],ui:ye.ui||{},fx:ye.fx||b,effects:ye.effects||B,mobile:ye.mobile||{},data:ye.data||{},dataviz:ye.dataviz||{},drawing:ye.drawing||{},spreadsheet:{messages:{}},keys:{INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:ye.support||ke,animate:ye.animate||M,ns:\"\",attr:function(e){return\"data-\"+ye.ns+e},getShadows:a,wrap:s,deepExtend:u,getComputedStyles:m,webComponents:ye.webComponents||[],isScrollable:p,scrollLeft:h,size:g,toCamelCase:f,toHyphens:d,getOffset:ye.getOffset||y,parseEffects:ye.parseEffects||v,toggleClass:ye.toggleClass||S,directions:ye.directions||j,Observable:P,Class:r,Template:H,template:Me(H.compile,H),render:Me(H.render,H),stringify:Me(xe.stringify,xe),eventTarget:K,htmlEncode:T,isLocalUrl:function(e){return e&&!Z.test(e)},expr:function(e,t,n){return e=e||\"\",typeof t==He&&(n=t,t=!1),n=n||\"d\",e&&\"[\"!==e.charAt(0)&&(e=\".\"+e),t?(e=e.replace(/\"([^.]*)\\.([^\"]*)\"/g,'\"$1_$DOT$_$2\"'),e=e.replace(/'([^.]*)\\.([^']*)'/g,\"'$1_$DOT$_$2'\"),e=Q(e.split(\".\"),n),e=e.replace(/_\\$DOT\\$_/g,\".\")):e=n+e,e},getter:function(e,t){var n=e+t;return Re[n]=Re[n]||Function(\"d\",\"return \"+ye.expr(e,t))},setter:function(e){return Ue[e]=Ue[e]||Function(\"d,value\",ye.expr(e)+\"=value\")},accessor:function(e){return{get:ye.getter(e),set:ye.setter(e)}},guid:function(){var e,t,n=\"\";for(e=0;32>e;e++)t=16*Te.random()|0,(8==e||12==e||16==e||20==e)&&(n+=\"-\"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n},roleSelector:function(e){return e.replace(/(\\S+)/g,\"[\"+ye.attr(\"role\")+\"=$1],\").slice(0,-1)},directiveSelector:function(e){var t,n=e.split(\" \");if(n)for(t=0;n.length>t;t++)\"view\"!=n[t]&&(n[t]=n[t].replace(/(\\w*)(view|bar|strip|over)$/,\"$1-$2\"));return n.join(\" \").replace(/(\\S+)/g,\"kendo-mobile-$1,\").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},onWidgetRegistered:function(e){for(var t=0,n=ye.widgets.length;n>t;t++)e(ye.widgets[t]);ye._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,r){var o=t.console;!ye.suppressLog&&n!==o&&o.log&&o[r||\"log\"](e)}}),X=P.extend({init:function(e,t){var n,r=this;r.element=ye.jQuery(e).handler(r),r.angular(\"init\",t),P.fn.init.call(r),n=t?t.dataSource:null,n&&(t=ve({},t,{dataSource:{}})),t=r.options=ve(!0,{},r.options,t),n&&(t.dataSource=n),r.element.attr(ye.attr(\"role\"))||r.element.attr(ye.attr(\"role\"),(t.name||\"\").toLowerCase()),r.element.data(\"kendo\"+t.prefix+t.name,r),r.bind(r.events,t);\r\n},events:[],options:{prefix:\"\"},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n=\"tabindex\",r=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(r)?0:r)},setOptions:function(t){this._setEvents(t),e.extend(this.options,t)},_setEvents:function(e){for(var t,n=this,r=0,o=n.events.length;o>r;r++)t=n.events[r],n.options[t]&&e[t]&&n.unbind(t,n.options[t]);n.bind(n.events,e)},resize:function(e){var t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger(\"resize\",t))},getSize:function(){return ye.dimensions(this.element)},size:function(e){return e?(this.setSize(e),n):this.getSize()},setSize:e.noop,_resize:e.noop,destroy:function(){var e=this;e.element.removeData(\"kendo\"+e.options.prefix+e.options.name),e.element.removeData(\"handler\"),e.unbind()},_destroy:function(){this.destroy()},angular:function(){},_muteAngularRebind:function(e){this._muteRebind=!0,e.call(this),this._muteRebind=!1}}),ee=X.extend({dataItems:function(){return this.dataSource.flatView()},_angularItems:function(t){var n=this;n.angular(t,function(){return{elements:n.items(),data:e.map(n.dataItems(),function(e){return{dataItem:e}})}})}}),ye.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},ye.notify=Se,te=/template$/i,ne=/^\\s*(?:\\{(?:.|\\r\\n|\\n)*\\}|\\[(?:.|\\r\\n|\\n)*\\])\\s*$/,re=/^\\{(\\d+)(:[^\\}]+)?\\}|^\\[[A-Za-z_]*\\]$/,oe=/([A-Z])/g,ye.initWidget=function(r,o,i){var a,s,u,l,c,d,f,m,p,h,g,y,v;if(i?i.roles&&(i=i.roles):i=ye.ui.roles,r=r.nodeType?r:r[0],d=r.getAttribute(\"data-\"+ye.ns+\"role\")){p=-1===d.indexOf(\".\"),u=p?i[d]:ye.getter(d)(t),g=e(r).data(),y=u?\"kendo\"+u.fn.options.prefix+u.fn.options.name:\"\",h=p?RegExp(\"^kendo.*\"+d+\"$\",\"i\"):RegExp(\"^\"+y+\"$\",\"i\");for(v in g)if(v.match(h)){if(v!==y)return g[v];a=g[v]}if(u){for(m=x(r,\"dataSource\"),o=e.extend({},k(r,u.fn.options),o),m&&(o.dataSource=typeof m===He?ye.getter(m)(t):m),l=0,c=u.fn.events.length;c>l;l++)s=u.fn.events[l],f=x(r,s),f!==n&&(o[s]=ye.getter(f)(t));return a?e.isEmptyObject(o)||a.setOptions(o):a=new u(r,o),a}}},ye.rolesFromNamespaces=function(e){var t,n,r=[];for(e[0]||(e=[ye.ui,ye.dataviz.ui]),t=0,n=e.length;n>t;t++)r[t]=e[t].roles;return ve.apply(null,[{}].concat(r.reverse()))},ye.init=function(t){var n=ye.rolesFromNamespaces(Ie.call(arguments,1));e(t).find(\"[data-\"+ye.ns+\"role]\").addBack().each(function(){ye.initWidget(this,{},n)})},ye.destroy=function(t){e(t).find(\"[data-\"+ye.ns+\"role]\").addBack().each(function(){var t,n=e(this).data();for(t in n)0===t.indexOf(\"kendo\")&&typeof n[t].destroy===Ee&&n[t].destroy()})},ye.resize=function(t,n){var r,o=e(t).find(\"[data-\"+ye.ns+\"role]\").addBack().filter(z);o.length&&(r=e.makeArray(o),r.sort(O),e.each(r,function(){var t=ye.widgetInstance(e(this));t&&t.resize(n)}))},ye.parseOptions=k,ve(ye.ui,{Widget:X,DataBoundWidget:ee,roles:{},progress:function(t,n){var r,o,i,a,s=t.find(\".k-loading-mask\"),u=ye.support,l=u.browser;n?s.length||(r=u.isRtl(t),o=r?\"right\":\"left\",a=t.scrollLeft(),i=l.webkit&&r?t[0].scrollWidth-t.width()-2*a:0,s=e(\"<div class='k-loading-mask'><span class='k-loading-text'>Loading...</span><div class='k-loading-image'/><div class='k-loading-color'/></div>\").width(\"100%\").height(\"100%\").css(\"top\",t.scrollTop()).css(o,Math.abs(a)+i).prependTo(t)):s&&s.remove()},plugin:function(t,r,o){var i,a,s,u,l=t.fn.options.name;for(r=r||ye.ui,o=o||\"\",r[l]=t,r.roles[l.toLowerCase()]=t,i=\"getKendo\"+o+l,l=\"kendo\"+o+l,a={name:l,widget:t,prefix:o||\"\"},ye.widgets.push(a),s=0,u=ye._widgetRegisteredCallbacks.length;u>s;s++)ye._widgetRegisteredCallbacks[s](a);e.fn[l]=function(r){var o,i=this;return typeof r===He?(o=Ie.call(arguments,1),this.each(function(){var t,a,s=e.data(this,l);if(!s)throw Error(ye.format(\"Cannot call method '{0}' of {1} before it is initialized\",r,l));if(t=s[r],typeof t!==Ee)throw Error(ye.format(\"Cannot find method '{0}' of {1}\",r,l));return a=t.apply(s,o),a!==n?(i=a,!1):n})):this.each(function(){return new t(this,r)}),i},e.fn[l].widget=t,e.fn[i]=function(){return this.data(l)}}}),ie={bind:function(){return this},nullObject:!0,options:{}},ae=X.extend({init:function(e,t){X.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass(\"km-widget\")},destroy:function(){X.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:\"Mobile\"},events:[],view:function(){var e=this.element.closest(ye.roleSelector(\"view splitview modalview drawer\"));return ye.widgetInstance(e,ye.mobile.ui)||ie},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(ye.roleSelector(\"view layout modalview drawer splitview\"));return ye.widgetInstance(e.eq(0),ye.mobile.ui)||ie}}),ve(ye.mobile,{init:function(e){ye.init(e,ye.mobile.ui,ye.ui,ye.dataviz.ui)},appLevelNativeScrolling:function(){return ye.mobile.application&&ye.mobile.application.options&&ye.mobile.application.options.useNativeScrolling},roles:{},ui:{Widget:ae,DataBoundWidget:ee.extend(ae.prototype),roles:{},plugin:function(e){ye.ui.plugin(e,ye.mobile.ui,\"Mobile\")}}}),u(ye.dataviz,{init:function(e){ye.init(e,ye.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){ye.ui.plugin(e,ye.dataviz.ui)}},roles:{}}),ye.touchScroller=function(t,n){return n||(n={}),n.useNative=!0,e(t).map(function(t,r){return r=e(r),ke.kineticScrollNeeded&&ye.mobile.ui.Scroller&&!r.data(\"kendoMobileScroller\")?(r.kendoMobileScroller(n),r.data(\"kendoMobileScroller\")):!1})[0]},ye.preventDefault=function(e){e.preventDefault()},ye.widgetInstance=function(e,n){var r,o,i,a,s=e.data(ye.ns+\"role\"),u=[];if(s){if(\"content\"===s&&(s=\"scroller\"),n)if(n[0])for(r=0,o=n.length;o>r;r++)u.push(n[r].roles[s]);else u.push(n.roles[s]);else u=[ye.ui.roles[s],ye.dataviz.ui.roles[s],ye.mobile.ui.roles[s]];for(s.indexOf(\".\")>=0&&(u=[ye.getter(s)(t)]),r=0,o=u.length;o>r;r++)if(i=u[r],i&&(a=e.data(\"kendo\"+i.fn.options.prefix+i.fn.options.name)))return a}},ye.onResize=function(n){var r=n;return ke.mobileOS.android&&(r=function(){setTimeout(n,600)}),e(t).on(ke.resize,r),r},ye.unbindResize=function(n){e(t).off(ke.resize,n)},ye.attrValue=function(e,t){return e.data(ye.ns+t)},ye.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},e.extend(e.expr[\":\"],{kendoFocusable:function(t){var n=e.attr(t,\"tabindex\");return D(t,!isNaN(n)&&n>-1)}}),se=[\"mousedown\",\"mousemove\",\"mouseenter\",\"mouseleave\",\"mouseover\",\"mouseout\",\"mouseup\",\"click\"],ue=\"label, input, [data-rel=external]\",le={setupMouseMute:function(){var t,n=0,r=se.length,o=document.documentElement;if(!le.mouseTrap&&ke.eventCapture)for(le.mouseTrap=!0,le.bustClick=!1,le.captureMouse=!1,t=function(t){le.captureMouse&&(\"click\"===t.type?le.bustClick&&!e(t.target).is(ue)&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};r>n;n++)o.addEventListener(se[n],t,!0)},muteMouse:function(e){le.captureMouse=!0,e.data.bustClick&&(le.bustClick=!0),clearTimeout(le.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(le.mouseTrapTimeoutID),le.mouseTrapTimeoutID=setTimeout(function(){le.captureMouse=!1,le.bustClick=!1},400)}},ce={down:\"touchstart mousedown\",move:\"mousemove touchmove\",up:\"mouseup touchend touchcancel\",cancel:\"mouseleave touchcancel\"},ke.touch&&(ke.mobileOS.ios||ke.mobileOS.android)?ce={down:\"touchstart\",move:\"touchmove\",up:\"touchend touchcancel\",cancel:\"touchcancel\"}:ke.pointers?ce={down:\"pointerdown\",move:\"pointermove\",up:\"pointerup\",cancel:\"pointercancel pointerleave\"}:ke.msPointers&&(ce={down:\"MSPointerDown\",move:\"MSPointerMove\",up:\"MSPointerUp\",cancel:\"MSPointerCancel MSPointerLeave\"}),!ke.msPointers||\"onmspointerenter\"in t||e.each({MSPointerEnter:\"MSPointerOver\",MSPointerLeave:\"MSPointerOut\"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var r,o=this,i=t.relatedTarget,a=t.handleObj;return(!i||i!==o&&!e.contains(o,i))&&(t.type=a.origType,r=a.handler.apply(this,arguments),t.type=n),r}}}),de=function(e){return ce[e]||e},fe=/([^ ]+)/g,ye.applyEventMap=function(e,t){return e=e.replace(fe,de),t&&(e=e.replace(fe,\"$1.\"+t)),e},me=e.fn.on,ve(!0,E,e),E.fn=E.prototype=new e,E.fn.constructor=E,E.fn.init=function(t,n){return n&&n instanceof e&&!(n instanceof E)&&(n=E(n)),e.fn.init.call(this,t,n,pe)},E.fn.init.prototype=E.fn,pe=E(document),ve(E.fn,{handler:function(e){return this.data(\"handler\",e),this},autoApplyNS:function(e){return this.data(\"kendoNS\",e||ye.guid()),this},on:function(){var e,t,n,r,o,i,a=this,s=a.data(\"kendoNS\");return 1===arguments.length?me.call(a,arguments[0]):(e=a,t=Ie.call(arguments),typeof t[t.length-1]===Fe&&t.pop(),n=t[t.length-1],r=ye.applyEventMap(t[0],s),ke.mouseAndTouchPresent&&r.search(/mouse|click/)>-1&&this[0]!==document.documentElement&&(le.setupMouseMute(),o=2===t.length?null:t[1],i=r.indexOf(\"click\")>-1&&r.indexOf(\"touchend\")>-1,me.call(this,{touchstart:le.muteMouse,touchend:le.unMuteMouse},o,{bustClick:i})),typeof n===He&&(e=a.data(\"handler\"),n=e[n],t[t.length-1]=function(t){n.call(e,t)}),t[0]=r,me.apply(a,t),a)},kendoDestroy:function(e){return e=e||this.data(\"kendoNS\"),e&&this.off(\".\"+e),this}}),ye.jQuery=E,ye.eventMap=ce,ye.timezone=function(){function e(e,t){var n,r,o,i=t[3],a=t[4],s=t[5],u=t[8];return u||(t[8]=u={}),u[e]?u[e]:(isNaN(a)?0===a.indexOf(\"last\")?(n=new Date(Date.UTC(e,c[i]+1,1,s[0]-24,s[1],s[2],0)),r=d[a.substr(4,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o-(r>o?7:0))):a.indexOf(\">=\")>=0&&(n=new Date(Date.UTC(e,c[i],a.substr(5),s[0],s[1],s[2],0)),r=d[a.substr(0,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o+(o>r?7:0))):n=new Date(Date.UTC(e,c[i],a,s[0],s[1],s[2],0)),u[e]=n)}function t(t,n,r){var o,i,a,s;return(n=n[r])?(a=new Date(t).getUTCFullYear(),n=jQuery.grep(n,function(e){var t=e[0],n=e[1];return a>=t&&(n>=a||t==a&&\"only\"==n||\"max\"==n)}),n.push(t),n.sort(function(t,n){return\"number\"!=typeof t&&(t=+e(a,t)),\"number\"!=typeof n&&(n=+e(a,n)),t-n}),s=n[jQuery.inArray(t,n)-1]||n[n.length-1],isNaN(s)?s:null):(o=r.split(\":\"),i=0,o.length>1&&(i=60*o[0]+ +o[1]),[-1e6,\"max\",\"-\",\"Jan\",1,[0,0,0],i,\"-\"])}function n(e,t,n){var r,o,i,a=t[n];if(\"string\"==typeof a&&(a=t[a]),!a)throw Error('Timezone \"'+n+'\" is either incorrect, or kendo.timezones.min.js is not included.');for(r=a.length-1;r>=0&&(o=a[r][3],!(o&&e>o));r--);if(i=a[r+1],!i)throw Error('Timezone \"'+n+'\" not found on '+e+\".\");return i}function r(e,r,o,i){typeof e!=Ae&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var a=n(e,r,i);return{zone:a,rule:t(e,o,a[1])}}function o(e,t){var n,o,i;return\"Etc/UTC\"==t||\"Etc/GMT\"==t?0:(n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,ye.parseFloat(i?o[0]-i[6]:o[0]))}function i(e,t){var n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,a=o[2];return a.indexOf(\"/\")>=0?a.split(\"/\")[i&&+i[6]?1:0]:a.indexOf(\"%s\")>=0?a.replace(\"%s\",i&&\"-\"!=i[7]?i[7]:\"\"):a}function a(e,t,n){var r,o;return typeof t==He&&(t=this.offset(e,t)),typeof n==He&&(n=this.offset(e,n)),r=e.getTimezoneOffset(),e=new Date(e.getTime()+6e4*(t-n)),o=e.getTimezoneOffset(),new Date(e.getTime()+6e4*(o-r))}function s(e,t){return this.convert(e,e.getTimezoneOffset(),t)}function u(e,t){return this.convert(e,t,e.getTimezoneOffset())}function l(e){return this.apply(new Date(e),\"Etc/UTC\")}var c={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},d={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};return{zones:{},rules:{},offset:o,convert:a,apply:s,remove:u,abbr:i,toLocalDate:l}}(),ye.date=function(){function e(e,t){return 0===t&&23===e.getHours()?(e.setHours(e.getHours()+2),!0):!1}function t(t,n,r){var o=t.getHours();r=r||1,n=(n-t.getDay()+7*r)%7,t.setDate(t.getDate()+n),e(t,o)}function n(e,n,r){return e=new Date(e),t(e,n,r),e}function r(e){return new Date(e.getFullYear(),e.getMonth(),1)}function o(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=r(e),o=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return o&&t.setHours(n.getHours()+o/60),t}function i(t){return t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),e(t,0),t}function a(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function s(e){return e.getTime()-i(e)}function u(e,t,n){var r,o=s(t),i=s(n);return e&&o!=i?(t>=n&&(n+=y),r=s(e),o>r&&(r+=y),o>i&&(i+=y),r>=o&&i>=r):!0}function l(e,t,n){var r,o=t.getTime(),i=n.getTime();return o>=i&&(i+=y),r=e.getTime(),r>=o&&i>=r}function c(t,n){var r=t.getHours();return t=new Date(t),d(t,n*y),e(t,r),t}function d(e,t,n){var r,o=e.getTimezoneOffset();e.setTime(e.getTime()+t),n||(r=e.getTimezoneOffset()-o,e.setTime(e.getTime()+r*g))}function f(t,n){return t=new Date(ye.date.getDate(t).getTime()+ye.date.getMilliseconds(n)),e(t,n.getHours()),t}function m(){return i(new Date)}function p(e){return i(e).getTime()==m().getTime()}function h(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}var g=6e4,y=864e5;return{adjustDST:e,dayOfWeek:n,setDayOfWeek:t,getDate:i,isInDateRange:l,isInTimeRange:u,isToday:p,nextDay:function(e){return c(e,1)},previousDay:function(e){return c(e,-1)},toUtcTime:a,MS_PER_DAY:y,MS_PER_HOUR:60*g,MS_PER_MINUTE:g,setTime:d,setHours:f,addDays:c,today:m,toInvariantTime:h,firstDayOfMonth:r,lastDayOfMonth:o,getMilliseconds:s}}(),ye.stripWhitespace=function(e){var t,n,r;if(document.createNodeIterator)for(t=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,function(t){return t.parentNode==e?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},!1);t.nextNode();)t.referenceNode&&!t.referenceNode.textContent.trim()&&t.referenceNode.parentNode.removeChild(t.referenceNode);else for(n=0;e.childNodes.length>n;n++)r=e.childNodes[n],3!=r.nodeType||/\\S/.test(r.nodeValue)||(e.removeChild(r),n--),1==r.nodeType&&ye.stripWhitespace(r)},he=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},ye.animationFrame=function(e){he.call(t,e)},ge=[],ye.queueAnimation=function(e){ge[ge.length]=e,1===ge.length&&ye.runNextAnimation()},ye.runNextAnimation=function(){ye.animationFrame(function(){ge[0]&&(ge.shift()(),ge[0]&&ye.runNextAnimation())})},ye.parseQueryStringParams=function(e){for(var t=e.split(\"?\")[1]||\"\",n={},r=t.split(/&|=/),o=r.length,i=0;o>i;i+=2)\"\"!==r[i]&&(n[decodeURIComponent(r[i])]=decodeURIComponent(r[i+1]));return n},ye.elementUnderCursor=function(e){return n!==e.x.client?document.elementFromPoint(e.x.client,e.y.client):n},ye.wheelDeltaY=function(e){var t,r=e.originalEvent,o=r.wheelDeltaY;return r.wheelDelta?(o===n||o)&&(t=r.wheelDelta):r.detail&&r.axis===r.VERTICAL_AXIS&&(t=10*-r.detail),t},ye.throttle=function(e,t){var r,o,i=0;return!t||0>=t?e:(o=function(){function o(){e.apply(a,u),i=+new Date}var a=this,s=+new Date-i,u=arguments;return i?(r&&clearTimeout(r),s>t?o():r=setTimeout(o,t-s),n):o()},o.cancel=function(){clearTimeout(r)},o)},ye.caret=function(t,r,o){var i,a,s,u,l=r!==n;if(o===n&&(o=r),t[0]&&(t=t[0]),!l||!t.disabled){try{t.selectionStart!==n?l?(t.focus(),t.setSelectionRange(r,o)):r=[t.selectionStart,t.selectionEnd]:document.selection&&(e(t).is(\":visible\")&&t.focus(),i=t.createTextRange(),l?(i.collapse(!0),i.moveStart(\"character\",r),i.moveEnd(\"character\",o-r),i.select()):(a=i.duplicate(),i.moveToBookmark(document.selection.createRange().getBookmark()),a.setEndPoint(\"EndToStart\",i),s=a.text.length,u=s+i.text.length,r=[s,u]))}catch(c){r=[]}return r}},ye.compileMobileDirective=function(e,n){var r=t.angular;return e.attr(\"data-\"+ye.ns+\"role\",e[0].tagName.toLowerCase().replace(\"kendo-mobile-\",\"\").replace(\"-\",\"\")),r.element(e).injector().invoke([\"$compile\",function(t){t(e)(n),/^\\$(digest|apply)$/.test(n.$$phase)||n.$digest()}]),ye.widgetInstance(e,ye.mobile.ui)},ye.antiForgeryTokens=function(){var t={},r=e(\"meta[name=csrf-token],meta[name=_csrf]\").attr(\"content\"),o=e(\"meta[name=csrf-param],meta[name=_csrf_header]\").attr(\"content\");return e(\"input[name^='__RequestVerificationToken']\").each(function(){t[this.name]=this.value}),o!==n&&r!==n&&(t[o]=r),t},ye.cycleForm=function(e){function t(e){var t=ye.widgetInstance(e);t&&t.focus?t.focus():e.focus()}var n=e.find(\"input, .k-widget\").first(),r=e.find(\"button, .k-button\").last();r.on(\"keydown\",function(e){e.keyCode!=ye.keys.TAB||e.shiftKey||(e.preventDefault(),t(n))}),n.on(\"keydown\",function(e){e.keyCode==ye.keys.TAB&&e.shiftKey&&(e.preventDefault(),t(r))})},function(){function n(t,n,r,o){var i,a,s=e(\"<form>\").attr({action:r,method:\"POST\",target:o}),u=ye.antiForgeryTokens();u.fileName=n,i=t.split(\";base64,\"),u.contentType=i[0].replace(\"data:\",\"\"),u.base64=i[1];for(a in u)u.hasOwnProperty(a)&&e(\"<input>\").attr({value:u[a],name:a,type:\"hidden\"}).appendTo(s);s.appendTo(\"body\").submit().remove()}function r(e,t){var n,r,o,i,a,s=e;if(\"string\"==typeof e){for(n=e.split(\";base64,\"),r=n[0],o=atob(n[1]),i=new Uint8Array(o.length),a=0;o.length>a;a++)i[a]=o.charCodeAt(a);s=new Blob([i.buffer],{type:r})}navigator.msSaveBlob(s,t)}function o(e,n){t.Blob&&e instanceof Blob&&(e=URL.createObjectURL(e)),i.download=n,i.href=e;var r=document.createEvent(\"MouseEvents\");r.initMouseEvent(\"click\",!0,!1,t,0,0,0,0,0,!1,!1,!1,!1,0,null),i.dispatchEvent(r),URL.revokeObjectURL(e)}var i=document.createElement(\"a\"),a=\"download\"in i&&!ye.support.browser.edge;ye.saveAs=function(e){var t=n;e.forceProxy||(a?t=o:navigator.msSaveBlob&&(t=r)),t(e.dataURI,e.fileName,e.proxyURL,e.proxyTarget)}}(),ye.proxyModelSetters=function(e){var t={};return Object.keys(e||{}).forEach(function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t,e.dirty=!0}})}),t}}(jQuery,window),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});\r\n//# sourceMappingURL=kendo.core.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"kendo.data.min\",[\"kendo.core.min\",\"kendo.data.odata.min\",\"kendo.data.xml.min\"],e)}(function(){return function(e,t){function r(e,t,r,n){return function(i){var a,s={};for(a in i)s[a]=i[a];s.field=n?r+\".\"+i.field:r,t==ke&&e._notifyChange&&e._notifyChange(s),e.trigger(t,s)}}function n(t,r){if(t===r)return!0;var i,a=e.type(t),s=e.type(r);if(a!==s)return!1;if(\"date\"===a)return t.getTime()===r.getTime();if(\"object\"!==a&&\"array\"!==a)return!1;for(i in t)if(!n(t[i],r[i]))return!1;return!0}function i(e,t){var r,n;for(n in e){if(r=e[n],se(r)&&r.field&&r.field===t)return r;if(r===t)return r}return null}function a(e){this.data=e||[]}function s(e,r){if(e){var n=typeof e===ve?{field:e,dir:r}:e,i=ue(n)?n:n!==t?[n]:[];return le(i,function(e){return!!e.dir})}}function o(e){var t,r,n,i,a=e.filters;if(a)for(t=0,r=a.length;r>t;t++)n=a[t],i=n.operator,i&&typeof i===ve&&(n.operator=V[i.toLowerCase()]||i),o(n)}function u(e){return e&&!oe(e)?((ue(e)||!e.filters)&&(e={logic:\"and\",filters:ue(e)?e:[e]}),o(e),e):t}function l(e,t){return e.logic||t.logic?!1:e.field===t.field&&e.value===t.value&&e.operator===t.operator}function d(e){return e=e||{},oe(e)?{logic:\"and\",filters:[]}:u(e)}function h(e,t){return t.logic||e.field>t.field?1:t.field>e.field?-1:0}function f(e,t){var r,n,i,a,s;if(e=d(e),t=d(t),e.logic!==t.logic)return!1;if(i=(e.filters||[]).slice(),a=(t.filters||[]).slice(),i.length!==a.length)return!1;for(i=i.sort(h),a=a.sort(h),s=0;i.length>s;s++)if(r=i[s],n=a[s],r.logic&&n.logic){if(!f(r,n))return!1}else if(!l(r,n))return!1;return!0}function c(e){return ue(e)?e:[e]}function g(e,r){var n=typeof e===ve?{field:e,dir:r}:e,i=ue(n)?n:n!==t?[n]:[];return B(i,function(e){return{field:e.field,dir:e.dir||\"asc\",aggregates:e.aggregates}})}function p(e,t){return e&&e.getTime&&t&&t.getTime?e.getTime()===t.getTime():e===t}function _(e,t,r,n,i,a){var s,o,u,l,d;for(t=t||[],l=t.length,s=0;l>s;s++)o=t[s],u=o.aggregate,d=o.field,e[d]=e[d]||{},a[d]=a[d]||{},a[d][u]=a[d][u]||{},e[d][u]=W[u.toLowerCase()](e[d][u],r,ce.accessor(d),n,i,a[d][u])}function v(e){return\"number\"==typeof e&&!isNaN(e)}function m(e){return e&&e.getTime}function y(e){var t,r=e.length,n=Array(r);for(t=0;r>t;t++)n[t]=e[t].toJSON();return n}function S(e,t,r,n,i){var a,s,o,u,l,d={};for(u=0,l=e.length;l>u;u++){a=e[u];for(s in t)o=i[s],o&&o!==s&&(d[o]||(d[o]=ce.setter(o)),d[o](a,t[s](a)),delete a[s])}}function b(e,t,r,n,i){var a,s,o,u,l;for(u=0,l=e.length;l>u;u++){a=e[u];for(s in t)a[s]=r._parse(s,t[s](a)),o=i[s],o&&o!==s&&delete a[o]}}function w(e,t,r,n,i){var a,s,o,u;for(s=0,u=e.length;u>s;s++)a=e[s],o=n[a.field],o&&o!=a.field&&(a.field=o),a.value=r._parse(a.field,a.value),a.hasSubgroups?w(a.items,t,r,n,i):b(a.items,t,r,n,i)}function k(e,t,r,n,i,a){return function(s){return s=e(s),s&&!oe(n)&&(\"[object Array]\"===Be.call(s)||s instanceof We||(s=[s]),r(s,n,new t,i,a)),s||[]}}function x(e,t,r,n){for(var i,a,s,o=0;t.length&&n&&(i=t[o],a=i.items,s=a.length,e&&e.field===i.field&&e.value===i.value?(e.hasSubgroups&&e.items.length?x(e.items[e.items.length-1],i.items,r,n):(a=a.slice(r,r+n),e.items=e.items.concat(a)),t.splice(o--,1)):i.hasSubgroups&&a.length?(x(i,a,r,n),i.items.length||t.splice(o--,1)):(a=a.slice(r,r+n),i.items=a,i.items.length||t.splice(o--,1)),0===a.length?r-=s:(r=0,n-=a.length),!(++o>=t.length)););t.length>o&&t.splice(o,t.length-o)}function q(e){var t,r,n,i,a,s=[];for(t=0,r=e.length;r>t;t++)if(a=e.at(t),a.hasSubgroups)s=s.concat(q(a.items));else for(n=a.items,i=0;n.length>i;i++)s.push(n.at(i));return s}function D(e,t){var r,n,i;if(t)for(r=0,n=e.length;n>r;r++)i=e.at(r),i.hasSubgroups?D(i.items,t):i.items=new Qe(i.items,t)}function C(e,t){for(var r=0,n=e.length;n>r;r++)if(e[r].hasSubgroups){if(C(e[r].items,t))return!0}else if(t(e[r].items,e[r]))return!0}function O(e,t,r,n){for(var i=0;e.length>i&&e[i].data!==t&&!z(e[i].data,r,n);i++);}function z(e,t,r){for(var n=0,i=e.length;i>n;n++){if(e[n]&&e[n].hasSubgroups)return z(e[n].items,t,r);if(e[n]===t||e[n]===r)return e[n]=r,!0}}function R(e,r,n,i,a){var s,o,u,l;for(s=0,o=e.length;o>s;s++)if(u=e[s],u&&!(u instanceof i))if(u.hasSubgroups===t||a){for(l=0;r.length>l;l++)if(r[l]===u){e[s]=r.at(l),O(n,r,u,e[s]);break}}else R(u.items,r,n,i,a)}function P(e,t){var r,n,i;for(r=0,n=e.length;n>r;r++)if(i=e.at(r),i.uid==t.uid)return e.splice(r,1),i}function T(e,t){return t?A(e,function(e){return e.uid&&e.uid==t.uid||e[t.idField]===t.id&&t.id!==t._defaultId}):-1}function F(e,t){return t?A(e,function(e){return e.uid==t.uid}):-1}function A(e,t){var r,n;for(r=0,n=e.length;n>r;r++)if(t(e[r]))return r;return-1}function I(e,t){var r,n;return e&&!oe(e)?(r=e[t],n=se(r)?r.from||r.field||t:e[t]||t,ge(n)?t:n):t}function N(e,t){var r,n,i,a={};for(i in e)\"filters\"!==i&&(a[i]=e[i]);if(e.filters)for(a.filters=[],r=0,n=e.filters.length;n>r;r++)a.filters[r]=N(e.filters[r],t);else a.field=I(t.fields,a.field);return a}function M(e,t){var r,n,i,a,s,o=[];for(r=0,n=e.length;n>r;r++){i={},a=e[r];for(s in a)i[s]=a[s];i.field=I(t.fields,i.field),i.aggregates&&ue(i.aggregates)&&(i.aggregates=M(i.aggregates,t)),o.push(i)}return o}function j(t,r){var n,i,a,s,o,u,l,d,h,f;for(t=e(t)[0],n=t.options,i=r[0],a=r[1],s=[],o=0,u=n.length;u>o;o++)h={},d=n[o],l=d.parentNode,l===t&&(l=null),d.disabled||l&&l.disabled||(l&&(h.optgroup=l.label),h[i.field]=d.text,f=d.attributes.value,f=f&&f.specified?d.value:d.text,h[a.field]=f,s.push(h));return s}function L(t,r){var n,i,a,s,o,u,l,d=e(t)[0].tBodies[0],h=d?d.rows:[],f=r.length,c=[];for(n=0,i=h.length;i>n;n++){for(o={},l=!0,s=h[n].cells,a=0;f>a;a++)u=s[a],\"th\"!==u.nodeName.toLowerCase()&&(l=!1,o[r[a].field]=u.innerHTML);l||c.push(o)}return c}function G(e){return function(){var t=this._data,r=Y.fn[e].apply(this,Ge.call(arguments));return this._data!=t&&this._attachBubbleHandlers(),r}}function E(t,r){function n(e,t){return e.filter(t).add(e.find(t))}var i,a,s,o,u,l,d,h,f=e(t).children(),c=[],g=r[0].field,p=r[1]&&r[1].field,_=r[2]&&r[2].field,v=r[3]&&r[3].field;for(i=0,a=f.length;a>i;i++)s={_loaded:!0},o=f.eq(i),l=o[0].firstChild,h=o.children(),t=h.filter(\"ul\"),h=h.filter(\":not(ul)\"),u=o.attr(\"data-id\"),u&&(s.id=u),l&&(s[g]=3==l.nodeType?l.nodeValue:h.text()),p&&(s[p]=n(h,\"a\").attr(\"href\")),v&&(s[v]=n(h,\"img\").attr(\"src\")),_&&(d=n(h,\".k-sprite\").prop(\"className\"),s[_]=d&&e.trim(d.replace(\"k-sprite\",\"\"))),t.length&&(s.items=E(t.eq(0),r)),\"true\"==o.attr(\"data-hasChildren\")&&(s.hasChildren=!0),c.push(s);return c}var B,U,H,J,V,W,Q,K,$,X,Y,Z,ee,te,re,ne,ie=e.extend,ae=e.proxy,se=e.isPlainObject,oe=e.isEmptyObject,ue=e.isArray,le=e.grep,de=e.ajax,he=e.each,fe=e.noop,ce=window.kendo,ge=ce.isFunction,pe=ce.Observable,_e=ce.Class,ve=\"string\",me=\"function\",ye=\"create\",Se=\"read\",be=\"update\",we=\"destroy\",ke=\"change\",xe=\"sync\",qe=\"get\",De=\"error\",Ce=\"requestStart\",Oe=\"progress\",ze=\"requestEnd\",Re=[ye,Se,be,we],Pe=function(e){return e},Te=ce.getter,Fe=ce.stringify,Ae=Math,Ie=[].push,Ne=[].join,Me=[].pop,je=[].splice,Le=[].shift,Ge=[].slice,Ee=[].unshift,Be={}.toString,Ue=ce.support.stableSort,He=/^\\/Date\\((.*?)\\)\\/$/,Je=/(\\r+|\\n+)/g,Ve=/(?=['\\\\])/g,We=pe.extend({init:function(e,t){var r=this;r.type=t||Ke,pe.fn.init.call(r),r.length=e.length,r.wrapAll(e,r)},at:function(e){return this[e]},toJSON:function(){var e,t,r=this.length,n=Array(r);for(e=0;r>e;e++)t=this[e],t instanceof Ke&&(t=t.toJSON()),n[e]=t;return n},parent:fe,wrapAll:function(e,t){var r,n,i=this,a=function(){return i};for(t=t||[],r=0,n=e.length;n>r;r++)t[r]=i.wrap(e[r],a);return t},wrap:function(e,t){var r,n=this;return null!==e&&\"[object Object]\"===Be.call(e)&&(r=e instanceof n.type||e instanceof Ye,r||(e=e instanceof Ke?e.toJSON():e,e=new n.type(e)),e.parent=t,e.bind(ke,function(e){n.trigger(ke,{field:e.field,node:e.node,index:e.index,items:e.items||[this],action:e.node?e.action||\"itemloaded\":\"itemchange\"})})),e},push:function(){var e,t=this.length,r=this.wrapAll(arguments);return e=Ie.apply(this,r),this.trigger(ke,{action:\"add\",index:t,items:r}),e},slice:Ge,sort:[].sort,join:Ne,pop:function(){var e=this.length,t=Me.apply(this);return e&&this.trigger(ke,{action:\"remove\",index:e-1,items:[t]}),t},splice:function(e,t,r){var n,i,a,s=this.wrapAll(Ge.call(arguments,2));if(n=je.apply(this,[e,t].concat(s)),n.length)for(this.trigger(ke,{action:\"remove\",index:e,items:n}),i=0,a=n.length;a>i;i++)n[i]&&n[i].children&&n[i].unbind(ke);return r&&this.trigger(ke,{action:\"add\",index:e,items:s}),n},shift:function(){var e=this.length,t=Le.apply(this);return e&&this.trigger(ke,{action:\"remove\",index:0,items:[t]}),t},unshift:function(){var e,t=this.wrapAll(arguments);return e=Ee.apply(this,t),this.trigger(ke,{action:\"add\",index:0,items:t}),e},indexOf:function(e){var t,r,n=this;for(t=0,r=n.length;r>t;t++)if(n[t]===e)return t;return-1},forEach:function(e){for(var t=0,r=this.length;r>t;t++)e(this[t],t,this)},map:function(e){for(var t=0,r=[],n=this.length;n>t;t++)r[t]=e(this[t],t,this);return r},reduce:function(e){var t,r=0,n=this.length;for(2==arguments.length?t=arguments[1]:n>r&&(t=this[r++]);n>r;r++)t=e(t,this[r],r,this);return t},reduceRight:function(e){var t,r=this.length-1;for(2==arguments.length?t=arguments[1]:r>0&&(t=this[r--]);r>=0;r--)t=e(t,this[r],r,this);return t},filter:function(e){for(var t,r=0,n=[],i=this.length;i>r;r++)t=this[r],e(t,r,this)&&(n[n.length]=t);return n},find:function(e){for(var t,r=0,n=this.length;n>r;r++)if(t=this[r],e(t,r,this))return t},every:function(e){for(var t,r=0,n=this.length;n>r;r++)if(t=this[r],!e(t,r,this))return!1;return!0},some:function(e){for(var t,r=0,n=this.length;n>r;r++)if(t=this[r],e(t,r,this))return!0;return!1},remove:function(e){var t=this.indexOf(e);-1!==t&&this.splice(t,1)},empty:function(){this.splice(0,this.length)}}),Qe=We.extend({init:function(e,t){pe.fn.init.call(this),this.type=t||Ke;for(var r=0;e.length>r;r++)this[r]=e[r];this.length=r,this._parent=ae(function(){return this},this)},at:function(e){var t=this[e];return t instanceof this.type?t.parent=this._parent:t=this[e]=this.wrap(t,this._parent),t}}),Ke=pe.extend({init:function(e){var t,r,n=this,i=function(){return n};pe.fn.init.call(this),this._handlers={};for(r in e)t=e[r],\"object\"==typeof t&&t&&!t.getTime&&\"_\"!=r.charAt(0)&&(t=n.wrap(t,r,i)),n[r]=t;n.uid=ce.guid()},shouldSerialize:function(e){return this.hasOwnProperty(e)&&\"_handlers\"!==e&&\"_events\"!==e&&typeof this[e]!==me&&\"uid\"!==e},forEach:function(e){for(var t in this)this.shouldSerialize(t)&&e(this[t],t)},toJSON:function(){var e,t,r={};for(t in this)this.shouldSerialize(t)&&(e=this[t],(e instanceof Ke||e instanceof We)&&(e=e.toJSON()),r[t]=e);return r},get:function(e){var t,r=this;return r.trigger(qe,{field:e}),t=\"this\"===e?r:ce.getter(e,!0)(r)},_set:function(e,t){var r,n,i,a=this,s=e.indexOf(\".\")>=0;if(s)for(r=e.split(\".\"),n=\"\";r.length>1;){if(n+=r.shift(),i=ce.getter(n,!0)(a),i instanceof Ke)return i.set(r.join(\".\"),t),s;n+=\".\"}return ce.setter(e)(a,t),s},set:function(e,t){var r=this,n=!1,i=e.indexOf(\".\")>=0,a=ce.getter(e,!0)(r);return a!==t&&(a instanceof pe&&this._handlers[e]&&(this._handlers[e].get&&a.unbind(qe,this._handlers[e].get),a.unbind(ke,this._handlers[e].change)),n=r.trigger(\"set\",{field:e,value:t}),n||(i||(t=r.wrap(t,e,function(){return r})),(!r._set(e,t)||e.indexOf(\"(\")>=0||e.indexOf(\"[\")>=0)&&r.trigger(ke,{field:e}))),n},parent:fe,wrap:function(e,t,n){var i,a,s,o,u=this,l=Be.call(e);return null==e||\"[object Object]\"!==l&&\"[object Array]\"!==l||(s=e instanceof We,o=e instanceof Y,\"[object Object]\"!==l||o||s?(\"[object Array]\"===l||s||o)&&(s||o||(e=new We(e)),a=r(u,ke,t,!1),e.bind(ke,a),u._handlers[t]={change:a}):(e instanceof Ke||(e=new Ke(e)),i=r(u,qe,t,!0),e.bind(qe,i),a=r(u,ke,t,!0),e.bind(ke,a),u._handlers[t]={get:i,change:a}),e.parent=n),e}}),$e={number:function(e){return ce.parseFloat(e)},date:function(e){return ce.parseDate(e)},\"boolean\":function(e){return typeof e===ve?\"true\"===e.toLowerCase():null!=e?!!e:e},string:function(e){return null!=e?e+\"\":e},\"default\":function(e){return e}},Xe={string:\"\",number:0,date:new Date,\"boolean\":!1,\"default\":\"\"},Ye=Ke.extend({init:function(r){var n,i,a=this;if((!r||e.isEmptyObject(r))&&(r=e.extend({},a.defaults,r),a._initializers))for(n=0;a._initializers.length>n;n++)i=a._initializers[n],r[i]=a.defaults[i]();Ke.fn.init.call(a,r),a.dirty=!1,a.idField&&(a.id=a.get(a.idField),a.id===t&&(a.id=a._defaultId))},shouldSerialize:function(e){return Ke.fn.shouldSerialize.call(this,e)&&\"uid\"!==e&&!(\"id\"!==this.idField&&\"id\"===e)&&\"dirty\"!==e&&\"_accessors\"!==e},_parse:function(e,t){var r,n=this,a=e,s=n.fields||{};return e=s[e],e||(e=i(s,a)),e&&(r=e.parse,!r&&e.type&&(r=$e[e.type.toLowerCase()])),r?r(t):t},_notifyChange:function(e){var t=e.action;(\"add\"==t||\"remove\"==t)&&(this.dirty=!0)},editable:function(e){return e=(this.fields||{})[e],e?e.editable!==!1:!0},set:function(e,t,r){var i=this,a=i.dirty;i.editable(e)&&(t=i._parse(e,t),n(t,i.get(e))||(i.dirty=!0,Ke.fn.set.call(i,e,t,r)&&!a&&(i.dirty=a)))},accept:function(e){var t,r,n=this,i=function(){return n};for(t in e)r=e[t],\"_\"!=t.charAt(0)&&(r=n.wrap(e[t],t,i)),n._set(t,r);n.idField&&(n.id=n.get(n.idField)),n.dirty=!1},isNew:function(){return this.id===this._defaultId}});Ye.define=function(e,r){r===t&&(r=e,e=Ye);var n,i,a,s,o,u,l,d,h=ie({defaults:{}},r),f={},c=h.id,g=[];if(c&&(h.idField=c),h.id&&delete h.id,c&&(h.defaults[c]=h._defaultId=\"\"),\"[object Array]\"===Be.call(h.fields)){for(u=0,l=h.fields.length;l>u;u++)a=h.fields[u],typeof a===ve?f[a]={}:a.field&&(f[a.field]=a);h.fields=f}for(i in h.fields)a=h.fields[i],s=a.type||\"default\",o=null,d=i,i=typeof a.field===ve?a.field:i,a.nullable||(o=h.defaults[d!==i?d:i]=a.defaultValue!==t?a.defaultValue:Xe[s.toLowerCase()],\"function\"==typeof o&&g.push(i)),r.id===i&&(h._defaultId=o),h.defaults[d!==i?d:i]=o,a.parse=a.parse||$e[s];return g.length>0&&(h._initializers=g),n=e.extend(h),n.define=function(e){return Ye.define(n,e)},h.fields&&(n.fields=h.fields,n.idField=h.idField),n},U={selector:function(e){return ge(e)?e:Te(e)},compare:function(e){var t=this.selector(e);return function(e,r){return e=t(e),r=t(r),null==e&&null==r?0:null==e?-1:null==r?1:e.localeCompare?e.localeCompare(r):e>r?1:r>e?-1:0}},create:function(e){var t=e.compare||this.compare(e.field);return\"desc\"==e.dir?function(e,r){return t(r,e,!0)}:t},combine:function(e){return function(t,r){var n,i,a=e[0](t,r);for(n=1,i=e.length;i>n;n++)a=a||e[n](t,r);return a}}},H=ie({},U,{asc:function(e){var t=this.selector(e);return function(e,r){var n=t(e),i=t(r);return n&&n.getTime&&i&&i.getTime&&(n=n.getTime(),i=i.getTime()),n===i?e.__position-r.__position:null==n?-1:null==i?1:n.localeCompare?n.localeCompare(i):n>i?1:-1}},desc:function(e){var t=this.selector(e);return function(e,r){var n=t(e),i=t(r);return n&&n.getTime&&i&&i.getTime&&(n=n.getTime(),i=i.getTime()),n===i?e.__position-r.__position:null==n?1:null==i?-1:i.localeCompare?i.localeCompare(n):i>n?1:-1}},create:function(e){return this[e.dir](e.field)}}),B=function(e,t){var r,n=e.length,i=Array(n);for(r=0;n>r;r++)i[r]=t(e[r],r,e);return i},J=function(){function e(e){return e.replace(Ve,\"\\\\\").replace(Je,\"\")}function t(t,r,n,i){var a;return null!=n&&(typeof n===ve&&(n=e(n),a=He.exec(n),a?n=new Date(+a[1]):i?(n=\"'\"+n.toLowerCase()+\"'\",r=\"((\"+r+\" || '')+'').toLowerCase()\"):n=\"'\"+n+\"'\"),n.getTime&&(r=\"(\"+r+\"&&\"+r+\".getTime?\"+r+\".getTime():\"+r+\")\",n=n.getTime())),r+\" \"+t+\" \"+n}return{quote:function(t){return t&&t.getTime?\"new Date(\"+t.getTime()+\")\":\"string\"==typeof t?\"'\"+e(t)+\"'\":\"\"+t},eq:function(e,r,n){return t(\"==\",e,r,n)},neq:function(e,r,n){return t(\"!=\",e,r,n)},gt:function(e,r,n){return t(\">\",e,r,n)},gte:function(e,r,n){return t(\">=\",e,r,n)},lt:function(e,r,n){return t(\"<\",e,r,n)},lte:function(e,r,n){return t(\"<=\",e,r,n)},startswith:function(t,r,n){return n&&(t=\"(\"+t+\" || '').toLowerCase()\",r&&(r=r.toLowerCase())),r&&(r=e(r)),t+\".lastIndexOf('\"+r+\"', 0) == 0\"},doesnotstartwith:function(t,r,n){return n&&(t=\"(\"+t+\" || '').toLowerCase()\",r&&(r=r.toLowerCase())),r&&(r=e(r)),t+\".lastIndexOf('\"+r+\"', 0) == -1\"},endswith:function(t,r,n){return n&&(t=\"(\"+t+\" || '').toLowerCase()\",r&&(r=r.toLowerCase())),r&&(r=e(r)),t+\".indexOf('\"+r+\"', \"+t+\".length - \"+(r||\"\").length+\") >= 0\"},doesnotendwith:function(t,r,n){return n&&(t=\"(\"+t+\" || '').toLowerCase()\",r&&(r=r.toLowerCase())),r&&(r=e(r)),t+\".indexOf('\"+r+\"', \"+t+\".length - \"+(r||\"\").length+\") < 0\"},contains:function(t,r,n){return n&&(t=\"(\"+t+\" || '').toLowerCase()\",r&&(r=r.toLowerCase())),r&&(r=e(r)),t+\".indexOf('\"+r+\"') >= 0\"},doesnotcontain:function(t,r,n){return n&&(t=\"(\"+t+\" || '').toLowerCase()\",r&&(r=r.toLowerCase())),r&&(r=e(r)),t+\".indexOf('\"+r+\"') == -1\"},isempty:function(e){return e+\" === ''\"},isnotempty:function(e){return e+\" !== ''\"},isnull:function(e){return\"(\"+e+\" === null || \"+e+\" === undefined)\"},isnotnull:function(e){return\"(\"+e+\" !== null && \"+e+\" !== undefined)\"}}}(),a.filterExpr=function(e){var r,n,i,s,o,u,l=[],d={and:\" && \",or:\" || \"},h=[],f=[],c=e.filters;for(r=0,n=c.length;n>r;r++)i=c[r],o=i.field,u=i.operator,i.filters?(s=a.filterExpr(i),i=s.expression.replace(/__o\\[(\\d+)\\]/g,function(e,t){return t=+t,\"__o[\"+(f.length+t)+\"]\"}).replace(/__f\\[(\\d+)\\]/g,function(e,t){return t=+t,\"__f[\"+(h.length+t)+\"]\"}),f.push.apply(f,s.operators),h.push.apply(h,s.fields)):(typeof o===me?(s=\"__f[\"+h.length+\"](d)\",h.push(o)):s=ce.expr(o),typeof u===me?(i=\"__o[\"+f.length+\"](\"+s+\", \"+J.quote(i.value)+\")\",f.push(u)):i=J[(u||\"eq\").toLowerCase()](s,i.value,i.ignoreCase!==t?i.ignoreCase:!0)),l.push(i);return{expression:\"(\"+l.join(d[e.logic])+\")\",fields:h,operators:f}},V={\"==\":\"eq\",equals:\"eq\",isequalto:\"eq\",equalto:\"eq\",equal:\"eq\",\"!=\":\"neq\",ne:\"neq\",notequals:\"neq\",isnotequalto:\"neq\",notequalto:\"neq\",notequal:\"neq\",\"<\":\"lt\",islessthan:\"lt\",lessthan:\"lt\",less:\"lt\",\"<=\":\"lte\",le:\"lte\",islessthanorequalto:\"lte\",lessthanequal:\"lte\",\">\":\"gt\",isgreaterthan:\"gt\",greaterthan:\"gt\",greater:\"gt\",\">=\":\"gte\",isgreaterthanorequalto:\"gte\",greaterthanequal:\"gte\",ge:\"gte\",notsubstringof:\"doesnotcontain\",isnull:\"isnull\",isempty:\"isempty\",isnotempty:\"isnotempty\"},a.normalizeFilter=u,a.compareFilters=f,a.prototype={toArray:function(){return this.data},range:function(e,t){return new a(this.data.slice(e,e+t))},skip:function(e){return new a(this.data.slice(e))},take:function(e){return new a(this.data.slice(0,e))},select:function(e){return new a(B(this.data,e))},order:function(e,t){var r={dir:t};return e&&(e.compare?r.compare=e.compare:r.field=e),new a(this.data.slice(0).sort(U.create(r)))},orderBy:function(e){return this.order(e,\"asc\")},orderByDescending:function(e){return this.order(e,\"desc\")},sort:function(e,t,r){var n,i,a=s(e,t),o=[];if(r=r||U,a.length){for(n=0,i=a.length;i>n;n++)o.push(r.create(a[n]));return this.orderBy({compare:r.combine(o)})}return this},filter:function(e){var t,r,n,i,s,o,l,d,h=this.data,f=[];if(e=u(e),!e||0===e.filters.length)return this;for(i=a.filterExpr(e),o=i.fields,l=i.operators,s=d=Function(\"d, __f, __o\",\"return \"+i.expression),(o.length||l.length)&&(d=function(e){return s(e,o,l)}),t=0,n=h.length;n>t;t++)r=h[t],d(r)&&f.push(r);return new a(f)},group:function(e,t){e=g(e||[]),t=t||this.data;var r,n=this,i=new a(n.data);return e.length>0&&(r=e[0],i=i.groupBy(r).select(function(n){var i=new a(t).filter([{field:n.field,operator:\"eq\",value:n.value,ignoreCase:!1}]);return{field:n.field,value:n.value,items:e.length>1?new a(n.items).group(e.slice(1),i.toArray()).toArray():n.items,hasSubgroups:e.length>1,aggregates:i.aggregate(r.aggregates)}})),i},groupBy:function(e){if(oe(e)||!this.data.length)return new a([]);var t,r,n,i,s=e.field,o=this._sortForGrouping(s,e.dir||\"asc\"),u=ce.accessor(s),l=u.get(o[0],s),d={field:s,value:l,items:[]},h=[d];for(n=0,i=o.length;i>n;n++)t=o[n],r=u.get(t,s),p(l,r)||(l=r,d={field:s,value:l,items:[]},h.push(d)),d.items.push(t);return new a(h)},_sortForGrouping:function(e,t){var r,n,i=this.data;if(!Ue){for(r=0,n=i.length;n>r;r++)i[r].__position=r;for(i=new a(i).sort(e,t,H).toArray(),r=0,n=i.length;n>r;r++)delete i[r].__position;return i}return this.sort(e,t).toArray()},aggregate:function(e){var t,r,n={},i={};if(e&&e.length)for(t=0,r=this.data.length;r>t;t++)_(n,e,this.data[t],t,r,i);return n}},W={sum:function(e,t,r){var n=r.get(t);return v(e)?v(n)&&(e+=n):e=n,e},count:function(e){return(e||0)+1},average:function(e,r,n,i,a,s){var o=n.get(r);return s.count===t&&(s.count=0),v(e)?v(o)&&(e+=o):e=o,v(o)&&s.count++,i==a-1&&v(e)&&(e/=s.count),e},max:function(e,t,r){var n=r.get(t);return v(e)||m(e)||(e=n),n>e&&(v(n)||m(n))&&(e=n),e},min:function(e,t,r){var n=r.get(t);return v(e)||m(e)||(e=n),e>n&&(v(n)||m(n))&&(e=n),e}},a.process=function(e,r){r=r||{};var n,i=new a(e),o=r.group,u=g(o||[]).concat(s(r.sort||[])),l=r.filterCallback,d=r.filter,h=r.skip,f=r.take;return d&&(i=i.filter(d),l&&(i=l(i)),n=i.toArray().length),u&&(i=i.sort(u),o&&(e=i.toArray())),h!==t&&f!==t&&(i=i.range(h,f)),o&&(i=i.group(o,e)),{total:n,data:i.toArray()}},Q=_e.extend({init:function(e){this.data=e.data},read:function(e){e.success(this.data)},update:function(e){e.success(e.data)},create:function(e){e.success(e.data)},destroy:function(e){e.success(e.data)}}),K=_e.extend({init:function(e){var t,r=this;e=r.options=ie({},r.options,e),he(Re,function(t,r){typeof e[r]===ve&&(e[r]={url:e[r]})}),r.cache=e.cache?$.create(e.cache):{find:fe,add:fe},t=e.parameterMap,ge(e.push)&&(r.push=e.push),r.push||(r.push=Pe),r.parameterMap=ge(t)?t:function(e){var r={};return he(e,function(e,n){e in t&&(e=t[e],se(e)&&(n=e.value(n),e=e.key)),r[e]=n}),r}},options:{parameterMap:Pe},create:function(e){return de(this.setup(e,ye))},read:function(r){var n,i,a,s=this,o=s.cache;r=s.setup(r,Se),n=r.success||fe,i=r.error||fe,a=o.find(r.data),a!==t?n(a):(r.success=function(e){o.add(r.data,e),n(e)},e.ajax(r))},update:function(e){return de(this.setup(e,be))},destroy:function(e){return de(this.setup(e,we))},setup:function(e,t){e=e||{};var r,n=this,i=n.options[t],a=ge(i.data)?i.data(e.data):i.data;return e=ie(!0,{},i,e),r=ie(!0,{},a,e.data),e.data=n.parameterMap(r,t),ge(e.url)&&(e.url=e.url(r)),e}}),$=_e.extend({init:function(){this._store={}},add:function(e,r){e!==t&&(this._store[Fe(e)]=r)},find:function(e){return this._store[Fe(e)]},clear:function(){this._store={}},remove:function(e){delete this._store[Fe(e)]}}),$.create=function(e){var t={inmemory:function(){return new $}};return se(e)&&ge(e.find)?e:e===!0?new $:t[e]()},X=_e.extend({init:function(e){var t,r,n,i,a,s,o,u,l,d,h,f,c,g=this;e=e||{};for(t in e)r=e[t],g[t]=typeof r===ve?Te(r):r;i=e.modelBase||Ye,se(g.model)&&(g.model=n=i.define(g.model)),a=ae(g.data,g),g._dataAccessFunction=a,g.model&&(s=ae(g.groups,g),o=ae(g.serialize,g),u={},l={},d={},h={},f=!1,n=g.model,n.fields&&(he(n.fields,function(e,t){var r;c=e,se(t)&&t.field?c=t.field:typeof t===ve&&(c=t),se(t)&&t.from&&(r=t.from),f=f||r&&r!==e||c!==e,l[e]=Te(r||c),d[e]=Te(e),u[r||c]=e,h[e]=r||c}),!e.serialize&&f&&(g.serialize=k(o,n,S,d,u,h))),g._dataAccessFunction=a,g.data=k(a,n,b,l,u,h),g.groups=k(s,n,w,l,u,h))},errors:function(e){return e?e.errors:null},parse:Pe,data:Pe,total:function(e){return e.length},groups:Pe,aggregates:function(){return{}},serialize:function(e){return e}}),Y=pe.extend({init:function(e){var r,n,i,a=this;e&&(n=e.data),e=a.options=ie({},a.options,e),a._map={},a._prefetch={},a._data=[],a._pristineData=[],a._ranges=[],a._view=[],a._pristineTotal=0,a._destroyed=[],a._pageSize=e.pageSize,a._page=e.page||(e.pageSize?1:t),a._sort=s(e.sort),a._filter=u(e.filter),a._group=g(e.group),a._aggregate=e.aggregate,a._total=e.total,a._shouldDetachObservableParents=!0,pe.fn.init.call(a),a.transport=Z.create(e,n,a),ge(a.transport.push)&&a.transport.push({pushCreate:ae(a._pushCreate,a),pushUpdate:ae(a._pushUpdate,a),pushDestroy:ae(a._pushDestroy,a)}),null!=e.offlineStorage&&(\"string\"==typeof e.offlineStorage?(i=e.offlineStorage,a._storage={getItem:function(){return JSON.parse(localStorage.getItem(i))},setItem:function(e){localStorage.setItem(i,Fe(a.reader.serialize(e)))}}):a._storage=e.offlineStorage),a.reader=new ce.data.readers[e.schema.type||\"json\"](e.schema),r=a.reader.model||{},a._detachObservableParents(),a._data=a._observe(a._data),a._online=!0,a.bind([\"push\",De,ke,Ce,xe,ze,Oe],e)},options:{data:null,schema:{modelBase:Ye},offlineStorage:null,serverSorting:!1,serverPaging:!1,serverFiltering:!1,serverGrouping:!1,serverAggregates:!1,batch:!1},clone:function(){return this},online:function(r){return r!==t?this._online!=r&&(this._online=r,r)?this.sync():e.Deferred().resolve().promise():this._online},offlineData:function(e){return null==this.options.offlineStorage?null:e!==t?this._storage.setItem(e):this._storage.getItem()||[]},_isServerGrouped:function(){var e=this.group()||[];return this.options.serverGrouping&&e.length},_pushCreate:function(e){this._push(e,\"pushCreate\")},_pushUpdate:function(e){this._push(e,\"pushUpdate\")},_pushDestroy:function(e){this._push(e,\"pushDestroy\")},_push:function(e,t){var r=this._readData(e);r||(r=e),this[t](r)},_flatData:function(e,t){if(e){if(this._isServerGrouped())return q(e);if(!t)for(var r=0;e.length>r;r++)e.at(r)}return e},parent:fe,get:function(e){var t,r,n=this._flatData(this._data);for(t=0,r=n.length;r>t;t++)if(n[t].id==e)return n[t]},getByUid:function(e){var t,r,n=this._flatData(this._data);if(n)for(t=0,r=n.length;r>t;t++)if(n[t].uid==e)return n[t]},indexOf:function(e){return F(this._data,e)},at:function(e){return this._data.at(e)},data:function(e){var r,n=this;if(e===t){if(n._data)for(r=0;n._data.length>r;r++)n._data.at(r);return n._data}n._detachObservableParents(),n._data=this._observe(e),n._pristineData=e.slice(0),n._storeData(),n._ranges=[],n.trigger(\"reset\"),n._addRange(n._data),n._total=n._data.length,n._pristineTotal=n._total,n._process(n._data)},view:function(e){return e===t?this._view:(this._view=this._observeView(e),t)},_observeView:function(e){var t,r=this;return R(e,r._data,r._ranges,r.reader.model||Ke,r._isServerGrouped()),t=new Qe(e,r.reader.model),t.parent=function(){return r.parent()},t},flatView:function(){var e=this.group()||[];return e.length?q(this._view):this._view},add:function(e){return this.insert(this._data.length,e)},_createNewModel:function(e){return this.reader.model?new this.reader.model(e):e instanceof Ke?e:new Ke(e)},insert:function(e,t){return t||(t=e,e=0),t instanceof Ye||(t=this._createNewModel(t)),this._isServerGrouped()?this._data.splice(e,0,this._wrapInEmptyGroup(t)):this._data.splice(e,0,t),t},pushCreate:function(e){var t,r,n,i,a,s;ue(e)||(e=[e]),t=[],r=this.options.autoSync,this.options.autoSync=!1;try{for(n=0;e.length>n;n++)i=e[n],a=this.add(i),t.push(a),s=a.toJSON(),this._isServerGrouped()&&(s=this._wrapInEmptyGroup(s)),this._pristineData.push(s)}finally{this.options.autoSync=r}t.length&&this.trigger(\"push\",{type:\"create\",items:t})},pushUpdate:function(e){var t,r,n,i,a;for(ue(e)||(e=[e]),t=[],r=0;e.length>r;r++)n=e[r],i=this._createNewModel(n),a=this.get(i.id),a?(t.push(a),a.accept(n),a.trigger(ke),this._updatePristineForModel(a,n)):this.pushCreate(n);t.length&&this.trigger(\"push\",{type:\"update\",items:t})},pushDestroy:function(e){var t=this._removeItems(e);t.length&&this.trigger(\"push\",{type:\"destroy\",items:t})},_removeItems:function(e){var t,r,n,i,a,s;ue(e)||(e=[e]),t=[],r=this.options.autoSync,this.options.autoSync=!1;try{for(n=0;e.length>n;n++)i=e[n],a=this._createNewModel(i),s=!1,this._eachItem(this._data,function(e){var r,n;for(r=0;e.length>r;r++)if(n=e.at(r),n.id===a.id){t.push(n),e.splice(r,1),s=!0;break}}),s&&(this._removePristineForModel(a),this._destroyed.pop())}finally{this.options.autoSync=r}return t},remove:function(e){var r,n=this,i=n._isServerGrouped();return this._eachItem(n._data,function(a){return r=P(a,e),r&&i?(r.isNew&&r.isNew()||n._destroyed.push(r),!0):t}),this._removeModelFromRanges(e),this._updateRangesLength(),e},destroyed:function(){return this._destroyed},created:function(){var e,t,r=[],n=this._flatData(this._data);for(e=0,t=n.length;t>e;e++)n[e].isNew&&n[e].isNew()&&r.push(n[e]);return r},updated:function(){var e,t,r=[],n=this._flatData(this._data);for(e=0,t=n.length;t>e;e++)n[e].isNew&&!n[e].isNew()&&n[e].dirty&&r.push(n[e]);return r},sync:function(){var t,r=this,n=[],i=[],a=r._destroyed,s=e.Deferred().resolve().promise();if(r.online()){if(!r.reader.model)return s;n=r.created(),i=r.updated(),t=[],r.options.batch&&r.transport.submit?t=r._sendSubmit(n,i,a):(t.push.apply(t,r._send(\"create\",n)),t.push.apply(t,r._send(\"update\",i)),t.push.apply(t,r._send(\"destroy\",a))),s=e.when.apply(null,t).then(function(){var e,t;for(e=0,t=arguments.length;t>e;e++)r._accept(arguments[e]);r._storeData(!0),r._change({action:\"sync\"}),r.trigger(xe)})}else r._storeData(!0),r._change({action:\"sync\"});return s},cancelChanges:function(e){var t=this;e instanceof ce.data.Model?t._cancelModel(e):(t._destroyed=[],t._detachObservableParents(),t._data=t._observe(t._pristineData),t.options.serverPaging&&(t._total=t._pristineTotal),t._ranges=[],t._addRange(t._data),t._change(),t._markOfflineUpdatesAsDirty())},_markOfflineUpdatesAsDirty:function(){var e=this;null!=e.options.offlineStorage&&e._eachItem(e._data,function(e){var t,r;for(t=0;e.length>t;t++)r=e.at(t),\"update\"==r.__state__&&(r.dirty=!0)})},hasChanges:function(){var e,t,r=this._flatData(this._data);if(this._destroyed.length)return!0;for(e=0,t=r.length;t>e;e++)if(r[e].isNew&&r[e].isNew()||r[e].dirty)return!0;return!1},_accept:function(t){var r,n=this,i=t.models,a=t.response,s=0,o=n._isServerGrouped(),u=n._pristineData,l=t.type;if(n.trigger(ze,{response:a,type:l}),a&&!oe(a)){if(a=n.reader.parse(a),n._handleCustomErrors(a))return;a=n.reader.data(a),ue(a)||(a=[a])}else a=e.map(i,function(e){return e.toJSON()});for(\"destroy\"===l&&(n._destroyed=[]),s=0,r=i.length;r>s;s++)\"destroy\"!==l?(i[s].accept(a[s]),\"create\"===l?u.push(o?n._wrapInEmptyGroup(i[s]):a[s]):\"update\"===l&&n._updatePristineForModel(i[s],a[s])):n._removePristineForModel(i[s])},_updatePristineForModel:function(e,t){this._executeOnPristineForModel(e,function(e,r){ce.deepExtend(r[e],t)})},_executeOnPristineForModel:function(e,r){this._eachPristineItem(function(n){var i=T(n,e);return i>-1?(r(i,n),!0):t})},_removePristineForModel:function(e){this._executeOnPristineForModel(e,function(e,t){t.splice(e,1)})},_readData:function(e){var t=this._isServerGrouped()?this.reader.groups:this.reader.data;return t.call(this.reader,e)},_eachPristineItem:function(e){this._eachItem(this._pristineData,e)},_eachItem:function(e,t){e&&e.length&&(this._isServerGrouped()?C(e,t):t(e))},_pristineForModel:function(e){var r,n,i=function(i){return n=T(i,e),n>-1?(r=i[n],!0):t};return this._eachPristineItem(i),r},_cancelModel:function(e){var t=this._pristineForModel(e);this._eachItem(this._data,function(r){var n=F(r,e);n>=0&&(!t||e.isNew()&&!t.__state__?r.splice(n,1):(r[n].accept(t),\"update\"==t.__state__&&(r[n].dirty=!0)))})},_submit:function(t,r){var n=this;n.trigger(Ce,{type:\"submit\"}),n.transport.submit(ie({success:function(r,n){var i=e.grep(t,function(e){return e.type==n})[0];i&&i.resolve({response:r,models:i.models,type:n})},error:function(e,r,i){for(var a=0;t.length>a;a++)t[a].reject(e);n.error(e,r,i)}},r))},_sendSubmit:function(t,r,n){var i=this,a=[];return i.options.batch&&(t.length&&a.push(e.Deferred(function(e){e.type=\"create\",e.models=t})),r.length&&a.push(e.Deferred(function(e){e.type=\"update\",e.models=r})),n.length&&a.push(e.Deferred(function(e){e.type=\"destroy\",e.models=n})),i._submit(a,{data:{created:i.reader.serialize(y(t)),updated:i.reader.serialize(y(r)),destroyed:i.reader.serialize(y(n))}})),a},_promise:function(t,r,n){var i=this;return e.Deferred(function(e){i.trigger(Ce,{type:n}),i.transport[n].call(i.transport,ie({success:function(t){e.resolve({response:t,models:r,type:n})},error:function(t,r,n){e.reject(t),i.error(t,r,n)}},t))}).promise()},_send:function(e,t){var r,n,i=this,a=[],s=i.reader.serialize(y(t));if(i.options.batch)t.length&&a.push(i._promise({data:{models:s}},t,e));else for(r=0,n=t.length;n>r;r++)a.push(i._promise({data:s[r]},[t[r]],e));return a},read:function(t){var r=this,n=r._params(t),i=e.Deferred();return r._queueRequest(n,function(){var e=r.trigger(Ce,{type:\"read\"});e?(r._dequeueRequest(),i.resolve(e)):(r.trigger(Oe),\r\nr._ranges=[],r.trigger(\"reset\"),r.online()?r.transport.read({data:n,success:function(e){r.success(e,n),i.resolve()},error:function(){var e=Ge.call(arguments);r.error.apply(r,e),i.reject.apply(i,e)}}):null!=r.options.offlineStorage&&(r.success(r.offlineData(),n),i.resolve()))}),i.promise()},_readAggregates:function(e){return this.reader.aggregates(e)},success:function(e){var r,n,i,a,s,o,u,l,d=this,h=d.options;if(d.trigger(ze,{response:e,type:\"read\"}),d.online()){if(e=d.reader.parse(e),d._handleCustomErrors(e))return d._dequeueRequest(),t;d._total=d.reader.total(e),d._aggregate&&h.serverAggregates&&(d._aggregateResult=d._readAggregates(e)),e=d._readData(e)}else{for(e=d._readData(e),r=[],n={},i=d.reader.model,a=i?i.idField:\"id\",s=0;this._destroyed.length>s;s++)o=this._destroyed[s][a],n[o]=o;for(s=0;e.length>s;s++)u=e[s],l=u.__state__,\"destroy\"==l?n[u[a]]||this._destroyed.push(this._createNewModel(u)):r.push(u);e=r,d._total=e.length}d._pristineTotal=d._total,d._pristineData=e.slice(0),d._detachObservableParents(),d._data=d._observe(e),d._markOfflineUpdatesAsDirty(),d._storeData(),d._addRange(d._data),d._process(d._data),d._dequeueRequest()},_detachObservableParents:function(){if(this._data&&this._shouldDetachObservableParents)for(var e=0;this._data.length>e;e++)this._data[e].parent&&(this._data[e].parent=fe)},_storeData:function(e){function t(e){var r,n,i,a=[];for(r=0;e.length>r;r++)n=e.at(r),i=n.toJSON(),s&&n.items?i.items=t(n.items):(i.uid=n.uid,o&&(n.isNew()?i.__state__=\"create\":n.dirty&&(i.__state__=\"update\"))),a.push(i);return a}var r,n,i,a,s=this._isServerGrouped(),o=this.reader.model;if(null!=this.options.offlineStorage){for(r=t(this._data),n=[],i=0;this._destroyed.length>i;i++)a=this._destroyed[i].toJSON(),a.__state__=\"destroy\",n.push(a);this.offlineData(r.concat(n)),e&&(this._pristineData=this._readData(r))}},_addRange:function(e){var t=this,r=t._skip||0,n=r+t._flatData(e,!0).length;t._ranges.push({start:r,end:n,data:e,timestamp:(new Date).getTime()}),t._ranges.sort(function(e,t){return e.start-t.start})},error:function(e,t,r){this._dequeueRequest(),this.trigger(ze,{}),this.trigger(De,{xhr:e,status:t,errorThrown:r})},_params:function(e){var t=this,r=ie({take:t.take(),skip:t.skip(),page:t.page(),pageSize:t.pageSize(),sort:t._sort,filter:t._filter,group:t._group,aggregate:t._aggregate},e);return t.options.serverPaging||(delete r.take,delete r.skip,delete r.page,delete r.pageSize),t.options.serverGrouping?t.reader.model&&r.group&&(r.group=M(r.group,t.reader.model)):delete r.group,t.options.serverFiltering?t.reader.model&&r.filter&&(r.filter=N(r.filter,t.reader.model)):delete r.filter,t.options.serverSorting?t.reader.model&&r.sort&&(r.sort=M(r.sort,t.reader.model)):delete r.sort,t.options.serverAggregates?t.reader.model&&r.aggregate&&(r.aggregate=M(r.aggregate,t.reader.model)):delete r.aggregate,r},_queueRequest:function(e,r){var n=this;n._requestInProgress?n._pending={callback:ae(r,n),options:e}:(n._requestInProgress=!0,n._pending=t,r())},_dequeueRequest:function(){var e=this;e._requestInProgress=!1,e._pending&&e._queueRequest(e._pending.options,e._pending.callback)},_handleCustomErrors:function(e){if(this.reader.errors){var t=this.reader.errors(e);if(t)return this.trigger(De,{xhr:null,status:\"customerror\",errorThrown:\"custom error\",errors:t}),!0}return!1},_shouldWrap:function(e){var t=this.reader.model;return t&&e.length?!(e[0]instanceof t):!1},_observe:function(e){var t,r=this,n=r.reader.model;return r._shouldDetachObservableParents=!0,e instanceof We?(r._shouldDetachObservableParents=!1,r._shouldWrap(e)&&(e.type=r.reader.model,e.wrapAll(e,e))):(t=r.pageSize()&&!r.options.serverPaging?Qe:We,e=new t(e,r.reader.model),e.parent=function(){return r.parent()}),r._isServerGrouped()&&D(e,n),r._changeHandler&&r._data&&r._data instanceof We?r._data.unbind(ke,r._changeHandler):r._changeHandler=ae(r._change,r),e.bind(ke,r._changeHandler)},_updateTotalForAction:function(e,t){var r=this,n=parseInt(r._total,10);v(r._total)||(n=parseInt(r._pristineTotal,10)),\"add\"===e?n+=t.length:\"remove\"===e?n-=t.length:\"itemchange\"===e||\"sync\"===e||r.options.serverPaging?\"sync\"===e&&(n=r._pristineTotal=parseInt(r._total,10)):n=r._pristineTotal,r._total=n},_change:function(e){var t,r,n,i=this,a=e?e.action:\"\";if(\"remove\"===a)for(t=0,r=e.items.length;r>t;t++)e.items[t].isNew&&e.items[t].isNew()||i._destroyed.push(e.items[t]);!i.options.autoSync||\"add\"!==a&&\"remove\"!==a&&\"itemchange\"!==a?(i._updateTotalForAction(a,e?e.items:[]),i._process(i._data,e)):(n=function(t){\"sync\"===t.action&&(i.unbind(\"change\",n),i._updateTotalForAction(a,e.items))},i.first(\"change\",n),i.sync())},_calculateAggregates:function(e,t){t=t||{};var r=new a(e),n=t.aggregate,i=t.filter;return i&&(r=r.filter(i)),r.aggregate(n)},_process:function(e,r){var n,i=this,a={};i.options.serverPaging!==!0&&(a.skip=i._skip,a.take=i._take||i._pageSize,a.skip===t&&i._page!==t&&i._pageSize!==t&&(a.skip=(i._page-1)*i._pageSize)),i.options.serverSorting!==!0&&(a.sort=i._sort),i.options.serverFiltering!==!0&&(a.filter=i._filter),i.options.serverGrouping!==!0&&(a.group=i._group),i.options.serverAggregates!==!0&&(a.aggregate=i._aggregate,i._aggregateResult=i._calculateAggregates(e,a)),n=i._queryProcess(e,a),i.view(n.data),n.total===t||i.options.serverFiltering||(i._total=n.total),r=r||{},r.items=r.items||i._view,i.trigger(ke,r)},_queryProcess:function(e,t){return a.process(e,t)},_mergeState:function(e){var r=this;return e!==t&&(r._pageSize=e.pageSize,r._page=e.page,r._sort=e.sort,r._filter=e.filter,r._group=e.group,r._aggregate=e.aggregate,r._skip=r._currentRangeStart=e.skip,r._take=e.take,r._skip===t&&(r._skip=r._currentRangeStart=r.skip(),e.skip=r.skip()),r._take===t&&r._pageSize!==t&&(r._take=r._pageSize,e.take=r._take),e.sort&&(r._sort=e.sort=s(e.sort)),e.filter&&(r._filter=e.filter=u(e.filter)),e.group&&(r._group=e.group=g(e.group)),e.aggregate&&(r._aggregate=e.aggregate=c(e.aggregate))),e},query:function(r){var n,i,a=this.options.serverSorting||this.options.serverPaging||this.options.serverFiltering||this.options.serverGrouping||this.options.serverAggregates;return a||(this._data===t||0===this._data.length)&&!this._destroyed.length?this.read(this._mergeState(r)):(i=this.trigger(Ce,{type:\"read\"}),i||(this.trigger(Oe),n=this._queryProcess(this._data,this._mergeState(r)),this.options.serverFiltering||(this._total=n.total!==t?n.total:this._data.length),this._aggregateResult=this._calculateAggregates(this._data,r),this.view(n.data),this.trigger(ze,{type:\"read\"}),this.trigger(ke,{items:n.data})),e.Deferred().resolve(i).promise())},fetch:function(e){var t=this,r=function(r){r!==!0&&ge(e)&&e.call(t)};return this._query().then(r)},_query:function(e){var t=this;return t.query(ie({},{page:t.page(),pageSize:t.pageSize(),sort:t.sort(),filter:t.filter(),group:t.group(),aggregate:t.aggregate()},e))},next:function(e){var r=this,n=r.page(),i=r.total();return e=e||{},!n||i&&n+1>r.totalPages()?t:(r._skip=r._currentRangeStart=n*r.take(),n+=1,e.page=n,r._query(e),n)},prev:function(e){var r=this,n=r.page();return e=e||{},n&&1!==n?(r._skip=r._currentRangeStart=r._skip-r.take(),n-=1,e.page=n,r._query(e),n):t},page:function(e){var r,n=this;return e!==t?(e=Ae.max(Ae.min(Ae.max(e,1),n.totalPages()),1),n._query({page:e}),t):(r=n.skip(),r!==t?Ae.round((r||0)/(n.take()||1))+1:t)},pageSize:function(e){var r=this;return e!==t?(r._query({pageSize:e,page:1}),t):r.take()},sort:function(e){var r=this;return e!==t?(r._query({sort:e}),t):r._sort},filter:function(e){var r=this;return e===t?r._filter:(r.trigger(\"reset\"),r._query({filter:e,page:1}),t)},group:function(e){var r=this;return e!==t?(r._query({group:e}),t):r._group},total:function(){return parseInt(this._total||0,10)},aggregate:function(e){var r=this;return e!==t?(r._query({aggregate:e}),t):r._aggregate},aggregates:function(){var e=this._aggregateResult;return oe(e)&&(e=this._emptyAggregates(this.aggregate())),e},_emptyAggregates:function(e){var t,r,n={};if(!oe(e))for(t={},ue(e)||(e=[e]),r=0;e.length>r;r++)t[e[r].aggregate]=0,n[e[r].field]=t;return n},_wrapInEmptyGroup:function(e){var t,r,n,i,a=this.group();for(n=a.length-1,i=0;n>=i;n--)r=a[n],t={value:e.get(r.field),field:r.field,items:t?[t]:[e],hasSubgroups:!!t,aggregates:this._emptyAggregates(r.aggregates)};return t},totalPages:function(){var e=this,t=e.pageSize()||e.total();return Ae.ceil((e.total()||0)/t)},inRange:function(e,t){var r=this,n=Ae.min(e+t,r.total());return!r.options.serverPaging&&r._data.length>0?!0:r._findRange(e,n).length>0},lastRange:function(){var e=this._ranges;return e[e.length-1]||{start:0,end:0,data:[]}},firstItemUid:function(){var e=this._ranges;return e.length&&e[0].data.length&&e[0].data[0].uid},enableRequestsInProgress:function(){this._skipRequestsInProgress=!1},_timeStamp:function(){return(new Date).getTime()},range:function(e,r){var n,i,a,s,o,u,l,d;if(this._currentRequestTimeStamp=this._timeStamp(),this._skipRequestsInProgress=!0,e=Ae.min(e||0,this.total()),n=this,i=Ae.max(Ae.floor(e/r),0)*r,a=Ae.min(i+r,n.total()),s=n._findRange(e,Ae.min(e+r,n.total())),s.length){n._pending=t,n._skip=e>n.skip()?Ae.min(a,(n.totalPages()-1)*n.take()):i,n._currentRangeStart=e,n._take=r,o=n.options.serverPaging,u=n.options.serverSorting,l=n.options.serverFiltering,d=n.options.serverAggregates;try{n.options.serverPaging=!0,n._isServerGrouped()||n.group()&&n.group().length||(n.options.serverSorting=!0),n.options.serverFiltering=!0,n.options.serverPaging=!0,n.options.serverAggregates=!0,o&&(n._detachObservableParents(),n._data=s=n._observe(s)),n._process(s)}finally{n.options.serverPaging=o,n.options.serverSorting=u,n.options.serverFiltering=l,n.options.serverAggregates=d}}else r!==t&&(n._rangeExists(i,a)?e>i&&n.prefetch(a,r,function(){n.range(e,r)}):n.prefetch(i,r,function(){e>i&&a<n.total()&&!n._rangeExists(a,Ae.min(a+r,n.total()))?n.prefetch(a,r,function(){n.range(e,r)}):n.range(e,r)}))},_findRange:function(e,r){var n,i,a,o,u,l,d,h,f,c,p,_,v=this,m=v._ranges,y=[],S=v.options,b=S.serverSorting||S.serverPaging||S.serverFiltering||S.serverGrouping||S.serverAggregates;for(i=0,p=m.length;p>i;i++)if(n=m[i],e>=n.start&&n.end>=e){for(c=0,a=i;p>a;a++)if(n=m[a],f=v._flatData(n.data,!0),f.length&&e+c>=n.start&&(l=n.data,d=n.end,b||(_=g(v.group()||[]).concat(s(v.sort()||[])),h=v._queryProcess(n.data,{sort:_,filter:v.filter()}),f=l=h.data,h.total!==t&&(d=h.total)),o=0,e+c>n.start&&(o=e+c-n.start),u=f.length,d>r&&(u-=d-r),c+=u-o,y=v._mergeGroups(y,l,o,u),n.end>=r&&c==r-e))return y;break}return[]},_mergeGroups:function(e,t,r,n){if(this._isServerGrouped()){var i,a=t.toJSON();return e.length&&(i=e[e.length-1]),x(i,a,r,n),e.concat(a)}return e.concat(t.slice(r,n))},skip:function(){var e=this;return e._skip===t?e._page!==t?(e._page-1)*(e.take()||1):t:e._skip},currentRangeStart:function(){return this._currentRangeStart||0},take:function(){return this._take||this._pageSize},_prefetchSuccessHandler:function(e,t,r,n){var i=this,a=i._timeStamp();return function(s){var o,u,l,d=!1,h={start:e,end:t,data:[],timestamp:i._timeStamp()};if(i._dequeueRequest(),i.trigger(ze,{response:s,type:\"read\"}),s=i.reader.parse(s),l=i._readData(s),l.length){for(o=0,u=i._ranges.length;u>o;o++)if(i._ranges[o].start===e){d=!0,h=i._ranges[o];break}d||i._ranges.push(h)}h.data=i._observe(l),h.end=h.start+i._flatData(h.data,!0).length,i._ranges.sort(function(e,t){return e.start-t.start}),i._total=i.reader.total(s),(n||a>=i._currentRequestTimeStamp||!i._skipRequestsInProgress)&&(r&&l.length?r():i.trigger(ke,{}))}},prefetch:function(e,t,r){var n=this,i=Ae.min(e+t,n.total()),a={take:t,skip:e,page:e/t+1,pageSize:t,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};n._rangeExists(e,i)?r&&r():(clearTimeout(n._timeout),n._timeout=setTimeout(function(){n._queueRequest(a,function(){n.trigger(Ce,{type:\"read\"})?n._dequeueRequest():n.transport.read({data:n._params(a),success:n._prefetchSuccessHandler(e,i,r),error:function(){var e=Ge.call(arguments);n.error.apply(n,e)}})})},100))},_multiplePrefetch:function(e,t,r){var n=this,i=Ae.min(e+t,n.total()),a={take:t,skip:e,page:e/t+1,pageSize:t,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};n._rangeExists(e,i)?r&&r():n.trigger(Ce,{type:\"read\"})||n.transport.read({data:n._params(a),success:n._prefetchSuccessHandler(e,i,r,!0)})},_rangeExists:function(e,t){var r,n,i=this,a=i._ranges;for(r=0,n=a.length;n>r;r++)if(e>=a[r].start&&a[r].end>=t)return!0;return!1},_removeModelFromRanges:function(e){var t,r,n,i,a;for(i=0,a=this._ranges.length;a>i&&(n=this._ranges[i],this._eachItem(n.data,function(n){t=P(n,e),t&&(r=!0)}),!r);i++);},_updateRangesLength:function(){var e,t,r,n,i=0;for(r=0,n=this._ranges.length;n>r;r++)e=this._ranges[r],e.start=e.start-i,t=this._flatData(e.data,!0).length,i=e.end-t,e.end=e.start+t}}),Z={},Z.create=function(t,r,n){var i,a=t.transport?e.extend({},t.transport):null;return a?(a.read=typeof a.read===ve?{url:a.read}:a.read,\"jsdo\"===t.type&&(a.dataSource=n),t.type&&(ce.data.transports=ce.data.transports||{},ce.data.schemas=ce.data.schemas||{},ce.data.transports[t.type]?se(ce.data.transports[t.type])?a=ie(!0,{},ce.data.transports[t.type],a):i=new ce.data.transports[t.type](ie(a,{data:r})):ce.logToConsole(\"Unknown DataSource transport type '\"+t.type+\"'.\\nVerify that registration scripts for this type are included after Kendo UI on the page.\",\"warn\"),t.schema=ie(!0,{},ce.data.schemas[t.type],t.schema)),i||(i=ge(a.read)?a:new K(a))):i=new Q({data:t.data||[]}),i},Y.create=function(e){(ue(e)||e instanceof We)&&(e={data:e});var r,n,i,a=e||{},s=a.data,o=a.fields,u=a.table,l=a.select,d={};if(s||!o||a.transport||(u?s=L(u,o):l&&(s=j(l,o),a.group===t&&s[0]&&s[0].optgroup!==t&&(a.group=\"optgroup\"))),ce.data.Model&&o&&(!a.schema||!a.schema.model)){for(r=0,n=o.length;n>r;r++)i=o[r],i.type&&(d[i.field]=i);oe(d)||(a.schema=ie(!0,a.schema,{model:{fields:d}}))}return a.data=s,l=null,a.select=null,u=null,a.table=null,a instanceof Y?a:new Y(a)},ee=Ye.define({idField:\"id\",init:function(e){var t=this,r=t.hasChildren||e&&e.hasChildren,n=\"items\",i={};ce.data.Model.fn.init.call(t,e),typeof t.children===ve&&(n=t.children),i={schema:{data:n,model:{hasChildren:r,id:t.idField,fields:t.fields}}},typeof t.children!==ve&&ie(i,t.children),i.data=e,r||(r=i.schema.data),typeof r===ve&&(r=ce.getter(r)),ge(r)&&(t.hasChildren=!!r.call(t,t)),t._childrenOptions=i,t.hasChildren&&t._initChildren(),t._loaded=!(!e||!e._loaded)},_initChildren:function(){var e,t,r,n=this;n.children instanceof te||(e=n.children=new te(n._childrenOptions),t=e.transport,r=t.parameterMap,t.parameterMap=function(e,t){return e[n.idField||\"id\"]=n.id,r&&(e=r(e,t)),e},e.parent=function(){return n},e.bind(ke,function(e){e.node=e.node||n,n.trigger(ke,e)}),e.bind(De,function(e){var t=n.parent();t&&(e.node=e.node||n,t.trigger(De,e))}),n._updateChildrenField())},append:function(e){this._initChildren(),this.loaded(!0),this.children.add(e)},hasChildren:!1,level:function(){for(var e=this.parentNode(),t=0;e&&e.parentNode;)t++,e=e.parentNode?e.parentNode():null;return t},_updateChildrenField:function(){var e=this._childrenOptions.schema.data;this[e||\"items\"]=this.children.data()},_childrenLoaded:function(){this._loaded=!0,this._updateChildrenField()},load:function(){var r,n,i={},a=\"_query\";return this.hasChildren?(this._initChildren(),r=this.children,i[this.idField||\"id\"]=this.id,this._loaded||(r._data=t,a=\"read\"),r.one(ke,ae(this._childrenLoaded,this)),n=r[a](i)):this.loaded(!0),n||e.Deferred().resolve().promise()},parentNode:function(){var e=this.parent();return e.parent()},loaded:function(e){return e===t?this._loaded:(this._loaded=e,t)},shouldSerialize:function(e){return Ye.fn.shouldSerialize.call(this,e)&&\"children\"!==e&&\"_loaded\"!==e&&\"hasChildren\"!==e&&\"_childrenOptions\"!==e}}),te=Y.extend({init:function(e){var t=ee.define({children:e});Y.fn.init.call(this,ie(!0,{},{schema:{modelBase:t,model:t}},e)),this._attachBubbleHandlers()},_attachBubbleHandlers:function(){var e=this;e._data.bind(De,function(t){e.trigger(De,t)})},remove:function(e){var t,r=e.parentNode(),n=this;return r&&r._initChildren&&(n=r.children),t=Y.fn.remove.call(n,e),r&&!n.data().length&&(r.hasChildren=!1),t},success:G(\"success\"),data:G(\"data\"),insert:function(e,t){var r=this.parent();return r&&r._initChildren&&(r.hasChildren=!0,r._initChildren()),Y.fn.insert.call(this,e,t)},_find:function(e,t){var r,n,i,a,s=this._data;if(s){if(i=Y.fn[e].call(this,t))return i;for(s=this._flatData(this._data),r=0,n=s.length;n>r;r++)if(a=s[r].children,a instanceof te&&(i=a[e](t)))return i}},get:function(e){return this._find(\"get\",e)},getByUid:function(e){return this._find(\"getByUid\",e)}}),te.create=function(e){e=e&&e.push?{data:e}:e;var t=e||{},r=t.data,n=t.fields,i=t.list;return r&&r._dataSource?r._dataSource:(r||!n||t.transport||i&&(r=E(i,n)),t.data=r,t instanceof te?t:new te(t))},re=ce.Observable.extend({init:function(e,t,r){ce.Observable.fn.init.call(this),this._prefetching=!1,this.dataSource=e,this.prefetch=!r;var n=this;e.bind(\"change\",function(){n._change()}),e.bind(\"reset\",function(){n._reset()}),this._syncWithDataSource(),this.setViewSize(t)},setViewSize:function(e){this.viewSize=e,this._recalculate()},at:function(e){var r=this.pageSize,n=!0;return e>=this.total()?(this.trigger(\"endreached\",{index:e}),null):this.useRanges?this.useRanges?((this.dataOffset>e||e>=this.skip+r)&&(n=this.range(Math.floor(e/r)*r)),e===this.prefetchThreshold&&this._prefetch(),e===this.midPageThreshold?this.range(this.nextMidRange,!0):e===this.nextPageThreshold?this.range(this.nextFullRange):e===this.pullBackThreshold&&this.range(this.offset===this.skip?this.previousMidRange:this.previousFullRange),n?this.dataSource.at(e-this.dataOffset):(this.trigger(\"endreached\",{index:e}),null)):t:this.dataSource.view()[e]},indexOf:function(e){return this.dataSource.data().indexOf(e)+this.dataOffset},total:function(){return parseInt(this.dataSource.total(),10)},next:function(){var e=this,t=e.pageSize,r=e.skip-e.viewSize+t,n=Ae.max(Ae.floor(r/t),0)*t;this.offset=r,this.dataSource.prefetch(n,t,function(){e._goToRange(r,!0)})},range:function(e,t){if(this.offset===e)return!0;var r=this,n=this.pageSize,i=Ae.max(Ae.floor(e/n),0)*n,a=this.dataSource;return t&&(i+=n),a.inRange(e,n)?(this.offset=e,this._recalculate(),this._goToRange(e),!0):this.prefetch?(a.prefetch(i,n,function(){r.offset=e,r._recalculate(),r._goToRange(e,!0)}),!1):!0},syncDataSource:function(){var e=this.offset;this.offset=null,this.range(e)},destroy:function(){this.unbind()},_prefetch:function(){var e=this,t=this.pageSize,r=this.skip+t,n=this.dataSource;n.inRange(r,t)||this._prefetching||!this.prefetch||(this._prefetching=!0,this.trigger(\"prefetching\",{skip:r,take:t}),n.prefetch(r,t,function(){e._prefetching=!1,e.trigger(\"prefetched\",{skip:r,take:t})}))},_goToRange:function(e,t){this.offset===e&&(this.dataOffset=e,this._expanding=t,this.dataSource.range(e,this.pageSize),this.dataSource.enableRequestsInProgress())},_reset:function(){this._syncPending=!0},_change:function(){var e=this.dataSource;this.length=this.useRanges?e.lastRange().end:e.view().length,this._syncPending&&(this._syncWithDataSource(),this._recalculate(),this._syncPending=!1,this.trigger(\"reset\",{offset:this.offset})),this.trigger(\"resize\"),this._expanding&&this.trigger(\"expand\"),delete this._expanding},_syncWithDataSource:function(){var e=this.dataSource;this._firstItemUid=e.firstItemUid(),this.dataOffset=this.offset=e.skip()||0,this.pageSize=e.pageSize(),this.useRanges=e.options.serverPaging},_recalculate:function(){var e=this.pageSize,t=this.offset,r=this.viewSize,n=Math.ceil(t/e)*e;this.skip=n,this.midPageThreshold=n+e-1,this.nextPageThreshold=n+r-1,this.prefetchThreshold=n+Math.floor(e/3*2),this.pullBackThreshold=this.offset-1,this.nextMidRange=n+e-r,this.nextFullRange=n,this.previousMidRange=t-r,this.previousFullRange=n-e}}),ne=ce.Observable.extend({init:function(e,t){var r=this;ce.Observable.fn.init.call(r),this.dataSource=e,this.batchSize=t,this._total=0,this.buffer=new re(e,3*t),this.buffer.bind({endreached:function(e){r.trigger(\"endreached\",{index:e.index})},prefetching:function(e){r.trigger(\"prefetching\",{skip:e.skip,take:e.take})},prefetched:function(e){r.trigger(\"prefetched\",{skip:e.skip,take:e.take})},reset:function(){r._total=0,r.trigger(\"reset\")},resize:function(){r._total=Math.ceil(this.length/r.batchSize),r.trigger(\"resize\",{total:r.total(),offset:this.offset})}})},syncDataSource:function(){this.buffer.syncDataSource()},at:function(e){var t,r,n=this.buffer,i=e*this.batchSize,a=this.batchSize,s=[];for(n.offset>i&&n.at(n.offset-1),r=0;a>r&&(t=n.at(i+r),null!==t);r++)s.push(t);return s},total:function(){return this._total},destroy:function(){this.buffer.destroy(),this.unbind()}}),ie(!0,ce.data,{readers:{json:X},Query:a,DataSource:Y,HierarchicalDataSource:te,Node:ee,ObservableObject:Ke,ObservableArray:We,LazyObservableArray:Qe,LocalTransport:Q,RemoteTransport:K,Cache:$,DataReader:X,Model:Ye,Buffer:re,BatchBuffer:ne})}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,r){(r||t)()});\r\n//# sourceMappingURL=kendo.data.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"kendo.popup.min\",[\"kendo.core.min\"],e)}(function(){return function(e,t){function o(t,o){return t===o||e.contains(t,o)}var i=window.kendo,n=i.ui,s=n.Widget,r=i.support,a=i.getOffset,l=\"open\",p=\"close\",d=\"deactivate\",c=\"activate\",f=\"center\",u=\"left\",h=\"right\",g=\"top\",m=\"bottom\",w=\"absolute\",v=\"hidden\",_=\"body\",k=\"location\",y=\"position\",z=\"visible\",b=\"effects\",x=\"k-state-active\",C=\"k-state-border\",T=/k-state-border-(\\w+)/,P=\".k-picker-wrap, .k-dropdown-wrap, .k-link\",E=\"down\",S=e(document.documentElement),H=e(window),W=\"scroll\",O=r.transitions.css,R=O+\"transform\",I=e.extend,A=\".kendoPopup\",D=[\"font-size\",\"font-family\",\"font-stretch\",\"font-style\",\"font-weight\",\"line-height\"],L=s.extend({init:function(t,o){var n,a=this;o=o||{},o.isRtl&&(o.origin=o.origin||m+\" \"+h,o.position=o.position||g+\" \"+h),s.fn.init.call(a,t,o),t=a.element,o=a.options,a.collisions=o.collision?o.collision.split(\" \"):[],a.downEvent=i.applyEventMap(E,i.guid()),1===a.collisions.length&&a.collisions.push(a.collisions[0]),n=e(a.options.anchor).closest(\".k-popup,.k-group\").filter(\":not([class^=km-])\"),o.appendTo=e(e(o.appendTo)[0]||n[0]||_),a.element.hide().addClass(\"k-popup k-group k-reset\").toggleClass(\"k-rtl\",!!o.isRtl).css({position:w}).appendTo(o.appendTo).on(\"mouseenter\"+A,function(){a._hovered=!0}).on(\"mouseleave\"+A,function(){a._hovered=!1}),a.wrapper=e(),o.animation===!1&&(o.animation={open:{effects:{}},close:{hide:!0,effects:{}}}),I(o.animation.open,{complete:function(){a.wrapper.css({overflow:z}),a._activated=!0,a._trigger(c)}}),I(o.animation.close,{complete:function(){a._animationClose()}}),a._mousedownProxy=function(e){a._mousedown(e)},a._resizeProxy=r.mobileOS.android?function(e){setTimeout(function(){a._resize(e)},600)}:function(e){a._resize(e)},o.toggleTarget&&e(o.toggleTarget).on(o.toggleEvent+A,e.proxy(a.toggle,a))},events:[l,c,p,d],options:{name:\"Popup\",toggleEvent:\"click\",origin:m+\" \"+u,position:g+\" \"+u,anchor:_,appendTo:null,collision:\"flip fit\",viewport:window,copyAnchorStyles:!0,autosize:!1,modal:!1,adjustSize:{width:0,height:0},animation:{open:{effects:\"slideIn:down\",transition:!0,duration:200},close:{duration:100,hide:!0}}},_animationClose:function(){var e=this,t=e.wrapper.data(k);e.wrapper.hide(),t&&e.wrapper.css(t),e.options.anchor!=_&&e._hideDirClass(),e._closing=!1,e._trigger(d)},destroy:function(){var t,o=this,n=o.options,r=o.element.off(A);s.fn.destroy.call(o),n.toggleTarget&&e(n.toggleTarget).off(A),n.modal||(S.unbind(o.downEvent,o._mousedownProxy),o._toggleResize(!1)),i.destroy(o.element.children()),r.removeData(),n.appendTo[0]===document.body&&(t=r.parent(\".k-animation-container\"),t[0]?t.remove():r.remove())},open:function(t,o){var n,s,a=this,p={isFixed:!isNaN(parseInt(o,10)),x:t,y:o},d=a.element,c=a.options,f=e(c.anchor),u=d[0]&&d.hasClass(\"km-widget\");if(!a.visible()){if(c.copyAnchorStyles&&(u&&\"font-size\"==D[0]&&D.shift(),d.css(i.getComputedStyles(f[0],D))),d.data(\"animating\")||a._trigger(l))return;a._activated=!1,c.modal||(S.unbind(a.downEvent,a._mousedownProxy).bind(a.downEvent,a._mousedownProxy),a._toggleResize(!1),a._toggleResize(!0)),a.wrapper=s=i.wrap(d,c.autosize).css({overflow:v,display:\"block\",position:w}),r.mobileOS.android&&s.css(R,\"translatez(0)\"),s.css(y),e(c.appendTo)[0]==document.body&&s.css(g,\"-10000px\"),a.flipped=a._position(p),n=a._openAnimation(),c.anchor!=_&&a._showDirClass(n),d.data(b,n.effects).kendoStop(!0).kendoAnimate(n)}},_openAnimation:function(){var e=I(!0,{},this.options.animation.open);return e.effects=i.parseEffects(e.effects,this.flipped),e},_hideDirClass:function(){var t=e(this.options.anchor),o=((t.attr(\"class\")||\"\").match(T)||[\"\",\"down\"])[1],n=C+\"-\"+o;t.removeClass(n).children(P).removeClass(x).removeClass(n),this.element.removeClass(C+\"-\"+i.directions[o].reverse)},_showDirClass:function(t){var o=t.effects.slideIn?t.effects.slideIn.direction:\"down\",n=C+\"-\"+o;e(this.options.anchor).addClass(n).children(P).addClass(x).addClass(n),this.element.addClass(C+\"-\"+i.directions[o].reverse)},position:function(){this.visible()&&(this.flipped=this._position())},toggle:function(){var e=this;e[e.visible()?p:l]()},visible:function(){return this.element.is(\":\"+z)},close:function(o){var n,s,r,a,l=this,d=l.options;if(l.visible()){if(n=l.wrapper[0]?l.wrapper:i.wrap(l.element).hide(),l._toggleResize(!1),l._closing||l._trigger(p))return l._toggleResize(!0),t;l.element.find(\".k-popup\").each(function(){var t=e(this),i=t.data(\"kendoPopup\");i&&i.close(o)}),S.unbind(l.downEvent,l._mousedownProxy),o?s={hide:!0,effects:{}}:(s=I(!0,{},d.animation.close),r=l.element.data(b),a=s.effects,!a&&!i.size(a)&&r&&i.size(r)&&(s.effects=r,s.reverse=!0),l._closing=!0),l.element.kendoStop(!0),n.css({overflow:v}),l.element.kendoAnimate(s)}},_trigger:function(e){return this.trigger(e,{type:e})},_resize:function(e){var t=this;-1!==r.resize.indexOf(e.type)?(clearTimeout(t._resizeTimeout),t._resizeTimeout=setTimeout(function(){t._position(),t._resizeTimeout=null},50)):(!t._hovered||t._activated&&t.element.hasClass(\"k-list-container\"))&&t.close()},_toggleResize:function(e){var t=e?\"on\":\"off\",o=r.resize;r.mobileOS.ios||r.mobileOS.android||(o+=\" \"+W),this._scrollableParents()[t](W,this._resizeProxy),H[t](o,this._resizeProxy)},_mousedown:function(t){var n=this,s=n.element[0],r=n.options,a=e(r.anchor)[0],l=r.toggleTarget,p=i.eventTarget(t),d=e(p).closest(\".k-popup\"),c=d.parent().parent(\".km-shim\").length;d=d[0],(c||!d||d===n.element[0])&&\"popover\"!==e(t.target).closest(\"a\").data(\"rel\")&&(o(s,p)||o(a,p)||l&&o(e(l)[0],p)||n.close())},_fit:function(e,t,o){var i=0;return e+t>o&&(i=o-(e+t)),0>e&&(i=-e),i},_flip:function(e,t,o,i,n,s,r){var a=0;return r=r||t,s!==n&&s!==f&&n!==f&&(e+r>i&&(a+=-(o+t)),0>e+a&&(a+=o+t)),a},_scrollableParents:function(){return e(this.options.anchor).parentsUntil(\"body\").filter(function(e,t){return i.isScrollable(t)})},_position:function(t){var o,n,s,l,p,d,c,f,u,h,g,m,v,_=this,z=_.element,b=_.wrapper,x=_.options,C=e(x.viewport),T=C.offset(),P=e(x.anchor),E=x.origin.toLowerCase().split(\" \"),S=x.position.toLowerCase().split(\" \"),H=_.collisions,W=r.zoomLevel(),O=10002,R=!!(C[0]==window&&window.innerWidth&&1.02>=W),A=0,D=document.documentElement,L=R?window.innerWidth:C.width(),j=R?window.innerHeight:C.height();if(R&&D.scrollHeight-D.clientHeight>0&&(L-=i.support.scrollbar()),o=P.parents().filter(b.siblings()),o[0])if(s=Math.max(+o.css(\"zIndex\"),0))O=s+10;else for(n=P.parentsUntil(o),l=n.length;l>A;A++)s=+e(n[A]).css(\"zIndex\"),s&&s>O&&(O=s+10);return b.css(\"zIndex\",O),b.css(t&&t.isFixed?{left:t.x,top:t.y}:_._align(E,S)),p=a(b,y,P[0]===b.offsetParent()[0]),d=a(b),c=P.offsetParent().parent(\".k-animation-container,.k-popup,.k-group\"),c.length&&(p=a(b,y,!0),d=a(b)),C[0]===window?(d.top-=window.pageYOffset||document.documentElement.scrollTop||0,d.left-=window.pageXOffset||document.documentElement.scrollLeft||0):(d.top-=T.top,d.left-=T.left),_.wrapper.data(k)||b.data(k,I({},p)),f=I({},d),u=I({},p),h=x.adjustSize,\"fit\"===H[0]&&(u.top+=_._fit(f.top,b.outerHeight()+h.height,j/W)),\"fit\"===H[1]&&(u.left+=_._fit(f.left,b.outerWidth()+h.width,L/W)),g=I({},u),m=z.outerHeight(),v=b.outerHeight(),!b.height()&&m&&(v+=m),\"flip\"===H[0]&&(u.top+=_._flip(f.top,m,P.outerHeight(),j/W,E[0],S[0],v)),\"flip\"===H[1]&&(u.left+=_._flip(f.left,z.outerWidth(),P.outerWidth(),L/W,E[1],S[1],b.outerWidth())),z.css(y,w),b.css(u),u.left!=g.left||u.top!=g.top},_align:function(t,o){var i,n=this,s=n.wrapper,r=e(n.options.anchor),l=t[0],p=t[1],d=o[0],c=o[1],u=a(r),g=e(n.options.appendTo),w=s.outerWidth(),v=s.outerHeight(),_=r.outerWidth(),k=r.outerHeight(),y=u.top,z=u.left,b=Math.round;return g[0]!=document.body&&(i=a(g),y-=i.top,z-=i.left),l===m&&(y+=k),l===f&&(y+=b(k/2)),d===m&&(y-=v),d===f&&(y-=b(v/2)),p===h&&(z+=_),p===f&&(z+=b(_/2)),c===h&&(z-=w),c===f&&(z-=b(w/2)),{top:y,left:z}}});n.plugin(L)}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,o){(o||t)()});\r\n//# sourceMappingURL=kendo.popup.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"kendo.userevents.min\",[\"kendo.core.min\"],e)}(function(){return function(e,t){function n(e,t){var n=e.x.location,i=e.y.location,o=t.x.location,r=t.y.location,s=n-o,a=i-r;return{center:{x:(n+o)/2,y:(i+r)/2},distance:Math.sqrt(s*s+a*a)}}function i(e){var t,n,i,o=[],r=e.originalEvent,a=e.currentTarget,c=0;if(e.api)o.push({id:2,event:e,target:e.target,currentTarget:e.target,location:e,type:\"api\"});else if(e.type.match(/touch/))for(n=r?r.changedTouches:[],t=n.length;t>c;c++)i=n[c],o.push({location:i,event:e,target:i.target,currentTarget:a,id:i.identifier,type:\"touch\"});else o.push(s.pointers||s.msPointers?{location:r,event:e,target:e.target,currentTarget:a,id:r.pointerId,type:\"pointer\"}:{id:1,event:e,target:e.target,currentTarget:a,location:e,type:\"mouse\"});return o}function o(e){for(var t=r.eventMap.up.split(\" \"),n=0,i=t.length;i>n;n++)e(t[n])}var r=window.kendo,s=r.support,a=window.document,c=r.Class,u=r.Observable,h=e.now,l=e.extend,p=s.mobileOS,d=p&&p.android,f=800,v=s.browser.msie?5:0,g=\"press\",m=\"hold\",_=\"select\",T=\"start\",y=\"move\",x=\"end\",w=\"cancel\",M=\"tap\",E=\"release\",k=\"gesturestart\",D=\"gesturechange\",C=\"gestureend\",b=\"gesturetap\",A={api:0,touch:0,mouse:9,pointer:9},I=!s.touch||s.mouseAndTouchPresent,S=c.extend({init:function(e,t){var n=this;n.axis=e,n._updateLocationData(t),n.startLocation=n.location,n.velocity=n.delta=0,n.timeStamp=h()},move:function(e){var t=this,n=e[\"page\"+t.axis],i=h(),o=i-t.timeStamp||1;(n||!d)&&(t.delta=n-t.location,t._updateLocationData(e),t.initialDelta=n-t.startLocation,t.velocity=t.delta/o,t.timeStamp=i)},_updateLocationData:function(e){var t=this,n=t.axis;t.location=e[\"page\"+n],t.client=e[\"client\"+n],t.screen=e[\"screen\"+n]}}),P=c.extend({init:function(e,t,n){l(this,{x:new S(\"X\",n.location),y:new S(\"Y\",n.location),type:n.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||A[n.type],userEvents:e,target:t,currentTarget:n.currentTarget,initialTouch:n.target,id:n.id,pressEvent:n,_moved:!1,_finished:!1})},press:function(){this._holdTimeout=setTimeout(e.proxy(this,\"_hold\"),this.userEvents.minHold),this._trigger(g,this.pressEvent)},_hold:function(){this._trigger(m,this.pressEvent)},move:function(e){var t=this;if(!t._finished){if(t.x.move(e.location),t.y.move(e.location),!t._moved){if(t._withinIgnoreThreshold())return;if(L.current&&L.current!==t.userEvents)return t.dispose();t._start(e)}t._finished||t._trigger(y,e)}},end:function(e){this.endTime=h(),this._finished||(this._finished=!0,this._trigger(E,e),this._moved?this._trigger(x,e):this.useClickAsTap||this._trigger(M,e),clearTimeout(this._holdTimeout),this.dispose())},dispose:function(){var t=this.userEvents,n=t.touches;this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout),n.splice(e.inArray(this,n),1)},skip:function(){this.dispose()},cancel:function(){this.dispose()},isMoved:function(){return this._moved},_start:function(e){clearTimeout(this._holdTimeout),this.startTime=h(),this._moved=!0,this._trigger(T,e)},_trigger:function(e,t){var n=this,i=t.event,o={touch:n,x:n.x,y:n.y,target:n.target,event:i};n.userEvents.notify(e,o)&&i.preventDefault()},_withinIgnoreThreshold:function(){var e=this.x.initialDelta,t=this.y.initialDelta;return Math.sqrt(e*e+t*t)<=this.threshold}}),L=u.extend({init:function(t,n){var i,c,h,p=this,d=r.guid();n=n||{},i=p.filter=n.filter,p.threshold=n.threshold||v,p.minHold=n.minHold||f,p.touches=[],p._maxTouches=n.multiTouch?2:1,p.allowSelection=n.allowSelection,p.captureUpIfMoved=n.captureUpIfMoved,p.useClickAsTap=!n.fastTap&&!s.delayedClick(),p.eventNS=d,t=e(t).handler(p),u.fn.init.call(p),l(p,{element:t,surface:e(n.global&&I?a.documentElement:n.surface||t),stopPropagation:n.stopPropagation,pressed:!1}),p.surface.handler(p).on(r.applyEventMap(\"move\",d),\"_move\").on(r.applyEventMap(\"up cancel\",d),\"_end\"),t.on(r.applyEventMap(\"down\",d),i,\"_start\"),p.useClickAsTap&&t.on(r.applyEventMap(\"click\",d),i,\"_click\"),(s.pointers||s.msPointers)&&(11>s.browser.version?t.css(\"-ms-touch-action\",\"pinch-zoom double-tap-zoom\"):t.css(\"touch-action\",\"pan-y\")),n.preventDragEvent&&t.on(r.applyEventMap(\"dragstart\",d),r.preventDefault),t.on(r.applyEventMap(\"mousedown\",d),i,{root:t},\"_select\"),p.captureUpIfMoved&&s.eventCapture&&(c=p.surface[0],h=e.proxy(p.preventIfMoving,p),o(function(e){c.addEventListener(e,h,!0)})),p.bind([g,m,M,T,y,x,E,w,k,D,C,b,_],n)},preventIfMoving:function(e){this._isMoved()&&e.preventDefault()},destroy:function(){var e,t=this;t._destroyed||(t._destroyed=!0,t.captureUpIfMoved&&s.eventCapture&&(e=t.surface[0],o(function(n){e.removeEventListener(n,t.preventIfMoving)})),t.element.kendoDestroy(t.eventNS),t.surface.kendoDestroy(t.eventNS),t.element.removeData(\"handler\"),t.surface.removeData(\"handler\"),t._disposeAll(),t.unbind(),delete t.surface,delete t.element,delete t.currentTarget)},capture:function(){L.current=this},cancel:function(){this._disposeAll(),this.trigger(w)},notify:function(e,t){var i=this,o=i.touches;if(this._isMultiTouch()){switch(e){case y:e=D;break;case x:e=C;break;case M:e=b}l(t,{touches:o},n(o[0],o[1]))}return this.trigger(e,l(t,{type:e}))},press:function(e,t,n){this._apiCall(\"_start\",e,t,n)},move:function(e,t){this._apiCall(\"_move\",e,t)},end:function(e,t){this._apiCall(\"_end\",e,t)},_isMultiTouch:function(){return this.touches.length>1},_maxTouchesReached:function(){return this.touches.length>=this._maxTouches},_disposeAll:function(){for(var e=this.touches;e.length>0;)e.pop().dispose()},_isMoved:function(){return e.grep(this.touches,function(e){return e.isMoved()}).length},_select:function(e){(!this.allowSelection||this.trigger(_,{event:e}))&&e.preventDefault()},_start:function(t){var n,o,r=this,s=0,a=r.filter,c=i(t),u=c.length,h=t.which;if(!(h&&h>1||r._maxTouchesReached()))for(L.current=null,r.currentTarget=t.currentTarget,r.stopPropagation&&t.stopPropagation();u>s&&!r._maxTouchesReached();s++)o=c[s],n=a?e(o.currentTarget):r.element,n.length&&(o=new P(r,n,o),r.touches.push(o),o.press(),r._isMultiTouch()&&r.notify(\"gesturestart\",{}))},_move:function(e){this._eachTouch(\"move\",e)},_end:function(e){this._eachTouch(\"end\",e)},_click:function(t){var n={touch:{initialTouch:t.target,target:e(t.currentTarget),endTime:h(),x:{location:t.pageX,client:t.clientX},y:{location:t.pageY,client:t.clientY}},x:t.pageX,y:t.pageY,target:e(t.currentTarget),event:t,type:\"tap\"};this.trigger(\"tap\",n)&&t.preventDefault()},_eachTouch:function(e,t){var n,o,r,s,a=this,c={},u=i(t),h=a.touches;for(n=0;h.length>n;n++)o=h[n],c[o.id]=o;for(n=0;u.length>n;n++)r=u[n],s=c[r.id],s&&s[e](r)},_apiCall:function(t,n,i,o){this[t]({api:!0,pageX:n,pageY:i,clientX:n,clientY:i,target:e(o||this.element)[0],stopPropagation:e.noop,preventDefault:e.noop})}});L.defaultThreshold=function(e){v=e},L.minHold=function(e){f=e},r.getTouches=i,r.touchDelta=n,r.UserEvents=L}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});\r\n//# sourceMappingURL=kendo.userevents.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"kendo.color.min\",[\"kendo.core.min\"],e)}(function(){!function(e,t,r){function n(e,a){var f,i;if(null==e||\"none\"==e)return null;if(e instanceof s)return e;if(e=e.toLowerCase(),f=o.exec(e))return e=\"transparent\"==f[1]?new u(1,1,1,0):n(h.namedColors[f[1]],a),e.match=[f[1]],e;if((f=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\\b/i.exec(e))?i=new l(r(f[1],16),r(f[2],16),r(f[3],16),1):(f=/^#?([0-9a-f])([0-9a-f])([0-9a-f])\\b/i.exec(e))?i=new l(r(f[1]+f[1],16),r(f[2]+f[2],16),r(f[3]+f[3],16),1):(f=/^rgb\\(\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*\\)/.exec(e))?i=new l(r(f[1],10),r(f[2],10),r(f[3],10),1):(f=/^rgba\\(\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*,\\s*([0-9]+)\\s*,\\s*([0-9.]+)\\s*\\)/.exec(e))?i=new l(r(f[1],10),r(f[2],10),r(f[3],10),t(f[4])):(f=/^rgb\\(\\s*([0-9]*\\.?[0-9]+)%\\s*,\\s*([0-9]*\\.?[0-9]+)%\\s*,\\s*([0-9]*\\.?[0-9]+)%\\s*\\)/.exec(e))?i=new u(t(f[1])/100,t(f[2])/100,t(f[3])/100,1):(f=/^rgba\\(\\s*([0-9]*\\.?[0-9]+)%\\s*,\\s*([0-9]*\\.?[0-9]+)%\\s*,\\s*([0-9]*\\.?[0-9]+)%\\s*,\\s*([0-9.]+)\\s*\\)/.exec(e))&&(i=new u(t(f[1])/100,t(f[2])/100,t(f[3])/100,t(f[4]))),i)i.match=f;else if(!a)throw Error(\"Cannot parse color: \"+e);return i}function a(e,t,r){for(r||(r=\"0\"),e=e.toString(16);t>e.length;)e=\"0\"+e;return e}function f(e,t,r){return 0>r&&(r+=1),r>1&&(r-=1),1/6>r?e+6*(t-e)*r:.5>r?t:2/3>r?e+(t-e)*(2/3-r)*6:e}var o,i,s,u,l,d,c,h=function(e){var t,r,n,a,f,o=this,i=h.formats;if(1===arguments.length)for(e=o.resolveColor(e),a=0;i.length>a;a++)t=i[a].re,r=i[a].process,n=t.exec(e),n&&(f=r(n),o.r=f[0],o.g=f[1],o.b=f[2]);else o.r=arguments[0],o.g=arguments[1],o.b=arguments[2];o.r=o.normalizeByte(o.r),o.g=o.normalizeByte(o.g),o.b=o.normalizeByte(o.b)};h.prototype={toHex:function(){var e=this,t=e.padDigit,r=e.r.toString(16),n=e.g.toString(16),a=e.b.toString(16);return\"#\"+t(r)+t(n)+t(a)},resolveColor:function(e){return e=e||\"black\",\"#\"==e.charAt(0)&&(e=e.substr(1,6)),e=e.replace(/ /g,\"\"),e=e.toLowerCase(),e=h.namedColors[e]||e},normalizeByte:function(e){return 0>e||isNaN(e)?0:e>255?255:e},padDigit:function(e){return 1===e.length?\"0\"+e:e},brightness:function(e){var t=this,r=Math.round;return t.r=r(t.normalizeByte(t.r*e)),t.g=r(t.normalizeByte(t.g*e)),t.b=r(t.normalizeByte(t.b*e)),t},percBrightness:function(){var e=this;return Math.sqrt(.241*e.r*e.r+.691*e.g*e.g+.068*e.b*e.b)}},h.formats=[{re:/^rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/,process:function(e){return[r(e[1],10),r(e[2],10),r(e[3],10)]}},{re:/^(\\w{2})(\\w{2})(\\w{2})$/,process:function(e){return[r(e[1],16),r(e[2],16),r(e[3],16)]}},{re:/^(\\w{1})(\\w{1})(\\w{1})$/,process:function(e){return[r(e[1]+e[1],16),r(e[2]+e[2],16),r(e[3]+e[3],16)]}}],h.namedColors={aliceblue:\"f0f8ff\",antiquewhite:\"faebd7\",aqua:\"00ffff\",aquamarine:\"7fffd4\",azure:\"f0ffff\",beige:\"f5f5dc\",bisque:\"ffe4c4\",black:\"000000\",blanchedalmond:\"ffebcd\",blue:\"0000ff\",blueviolet:\"8a2be2\",brown:\"a52a2a\",burlywood:\"deb887\",cadetblue:\"5f9ea0\",chartreuse:\"7fff00\",chocolate:\"d2691e\",coral:\"ff7f50\",cornflowerblue:\"6495ed\",cornsilk:\"fff8dc\",crimson:\"dc143c\",cyan:\"00ffff\",darkblue:\"00008b\",darkcyan:\"008b8b\",darkgoldenrod:\"b8860b\",darkgray:\"a9a9a9\",darkgrey:\"a9a9a9\",darkgreen:\"006400\",darkkhaki:\"bdb76b\",darkmagenta:\"8b008b\",darkolivegreen:\"556b2f\",darkorange:\"ff8c00\",darkorchid:\"9932cc\",darkred:\"8b0000\",darksalmon:\"e9967a\",darkseagreen:\"8fbc8f\",darkslateblue:\"483d8b\",darkslategray:\"2f4f4f\",darkslategrey:\"2f4f4f\",darkturquoise:\"00ced1\",darkviolet:\"9400d3\",deeppink:\"ff1493\",deepskyblue:\"00bfff\",dimgray:\"696969\",dimgrey:\"696969\",dodgerblue:\"1e90ff\",firebrick:\"b22222\",floralwhite:\"fffaf0\",forestgreen:\"228b22\",fuchsia:\"ff00ff\",gainsboro:\"dcdcdc\",ghostwhite:\"f8f8ff\",gold:\"ffd700\",goldenrod:\"daa520\",gray:\"808080\",grey:\"808080\",green:\"008000\",greenyellow:\"adff2f\",honeydew:\"f0fff0\",hotpink:\"ff69b4\",indianred:\"cd5c5c\",indigo:\"4b0082\",ivory:\"fffff0\",khaki:\"f0e68c\",lavender:\"e6e6fa\",lavenderblush:\"fff0f5\",lawngreen:\"7cfc00\",lemonchiffon:\"fffacd\",lightblue:\"add8e6\",lightcoral:\"f08080\",lightcyan:\"e0ffff\",lightgoldenrodyellow:\"fafad2\",lightgray:\"d3d3d3\",lightgrey:\"d3d3d3\",lightgreen:\"90ee90\",lightpink:\"ffb6c1\",lightsalmon:\"ffa07a\",lightseagreen:\"20b2aa\",lightskyblue:\"87cefa\",lightslategray:\"778899\",lightslategrey:\"778899\",lightsteelblue:\"b0c4de\",lightyellow:\"ffffe0\",lime:\"00ff00\",limegreen:\"32cd32\",linen:\"faf0e6\",magenta:\"ff00ff\",maroon:\"800000\",mediumaquamarine:\"66cdaa\",mediumblue:\"0000cd\",mediumorchid:\"ba55d3\",mediumpurple:\"9370d8\",mediumseagreen:\"3cb371\",mediumslateblue:\"7b68ee\",mediumspringgreen:\"00fa9a\",mediumturquoise:\"48d1cc\",mediumvioletred:\"c71585\",midnightblue:\"191970\",mintcream:\"f5fffa\",mistyrose:\"ffe4e1\",moccasin:\"ffe4b5\",navajowhite:\"ffdead\",navy:\"000080\",oldlace:\"fdf5e6\",olive:\"808000\",olivedrab:\"6b8e23\",orange:\"ffa500\",orangered:\"ff4500\",orchid:\"da70d6\",palegoldenrod:\"eee8aa\",palegreen:\"98fb98\",paleturquoise:\"afeeee\",palevioletred:\"d87093\",papayawhip:\"ffefd5\",peachpuff:\"ffdab9\",peru:\"cd853f\",pink:\"ffc0cb\",plum:\"dda0dd\",powderblue:\"b0e0e6\",purple:\"800080\",red:\"ff0000\",rosybrown:\"bc8f8f\",royalblue:\"4169e1\",saddlebrown:\"8b4513\",salmon:\"fa8072\",sandybrown:\"f4a460\",seagreen:\"2e8b57\",seashell:\"fff5ee\",sienna:\"a0522d\",silver:\"c0c0c0\",skyblue:\"87ceeb\",slateblue:\"6a5acd\",slategray:\"708090\",slategrey:\"708090\",snow:\"fffafa\",springgreen:\"00ff7f\",steelblue:\"4682b4\",tan:\"d2b48c\",teal:\"008080\",thistle:\"d8bfd8\",tomato:\"ff6347\",turquoise:\"40e0d0\",violet:\"ee82ee\",wheat:\"f5deb3\",white:\"ffffff\",whitesmoke:\"f5f5f5\",yellow:\"ffff00\",yellowgreen:\"9acd32\"},o=[\"transparent\"];for(i in h.namedColors)h.namedColors.hasOwnProperty(i)&&o.push(i);o=RegExp(\"^(\"+o.join(\"|\")+\")(\\\\W|$)\",\"i\"),s=kendo.Class.extend({toHSV:function(){return this},toRGB:function(){return this},toHex:function(){return this.toBytes().toHex()},toBytes:function(){return this},toCss:function(){return\"#\"+this.toHex()},toCssRgba:function(){var e=this.toBytes();return\"rgba(\"+e.r+\", \"+e.g+\", \"+e.b+\", \"+t((+this.a).toFixed(3))+\")\"},toDisplay:function(){return kendo.support.browser.msie&&kendo.support.browser.version<9?this.toCss():this.toCssRgba()},equals:function(e){return e===this||null!==e&&this.toCssRgba()==n(e).toCssRgba()},diff:function(e){if(null==e)return NaN;var t=this.toBytes();return e=e.toBytes(),Math.sqrt(Math.pow(.3*(t.r-e.r),2)+Math.pow(.59*(t.g-e.g),2)+Math.pow(.11*(t.b-e.b),2))},clone:function(){var e=this.toBytes();return e===this&&(e=new l(e.r,e.g,e.b,e.a)),e}}),u=s.extend({init:function(e,t,r,n){this.r=e,this.g=t,this.b=r,this.a=n},toHSV:function(){var e,t,r=this.r,n=this.g,a=this.b,f=Math.min(r,n,a),o=Math.max(r,n,a),i=o,s=o-f;return 0===s?new d(0,0,i,this.a):(0!==o?(t=s/o,e=r==o?(n-a)/s:n==o?2+(a-r)/s:4+(r-n)/s,e*=60,0>e&&(e+=360)):(t=0,e=-1),new d(e,t,i,this.a))},toHSL:function(){var e,t,r,n=this.r,a=this.g,f=this.b,o=Math.max(n,a,f),i=Math.min(n,a,f),s=(o+i)/2;if(o==i)e=t=0;else{switch(r=o-i,t=s>.5?r/(2-o-i):r/(o+i),o){case n:e=(a-f)/r+(f>a?6:0);break;case a:e=(f-n)/r+2;break;case f:e=(n-a)/r+4}e*=60,t*=100,s*=100}return new c(e,t,s,this.a)},toBytes:function(){return new l(255*this.r,255*this.g,255*this.b,this.a)}}),l=u.extend({init:function(e,t,r,n){this.r=Math.round(e),this.g=Math.round(t),this.b=Math.round(r),this.a=n},toRGB:function(){return new u(this.r/255,this.g/255,this.b/255,this.a)},toHSV:function(){return this.toRGB().toHSV()},toHSL:function(){return this.toRGB().toHSL()},toHex:function(){return a(this.r,2)+a(this.g,2)+a(this.b,2)},toBytes:function(){return this}}),d=s.extend({init:function(e,t,r,n){this.h=e,this.s=t,this.v=r,this.a=n},toRGB:function(){var e,t,r,n,a,f,o,i,s=this.h,l=this.s,d=this.v;if(0===l)t=r=n=d;else switch(s/=60,e=Math.floor(s),a=s-e,f=d*(1-l),o=d*(1-l*a),i=d*(1-l*(1-a)),e){case 0:t=d,r=i,n=f;break;case 1:t=o,r=d,n=f;break;case 2:t=f,r=d,n=i;break;case 3:t=f,r=o,n=d;break;case 4:t=i,r=f,n=d;break;default:t=d,r=f,n=o}return new u(t,r,n,this.a)},toHSL:function(){return this.toRGB().toHSL()},toBytes:function(){return this.toRGB().toBytes()}}),c=s.extend({init:function(e,t,r,n){this.h=e,this.s=t,this.l=r,this.a=n},toRGB:function(){var e,t,r,n,a,o=this.h,i=this.s,s=this.l;return 0===i?e=t=r=s:(o/=360,i/=100,s/=100,n=.5>s?s*(1+i):s+i-s*i,a=2*s-n,e=f(a,n,o+1/3),t=f(a,n,o),r=f(a,n,o-1/3)),new u(e,t,r,this.a)},toHSV:function(){return this.toRGB().toHSV()},toBytes:function(){return this.toRGB().toBytes()}}),h.fromBytes=function(e,t,r,n){return new l(e,t,r,null!=n?n:1)},h.fromRGB=function(e,t,r,n){return new u(e,t,r,null!=n?n:1)},h.fromHSV=function(e,t,r,n){return new d(e,t,r,null!=n?n:1)},h.fromHSL=function(e,t,r,n){return new c(e,t,r,null!=n?n:1)},kendo.Color=h,kendo.parseColor=n}(window.kendo.jQuery,parseFloat,parseInt)},\"function\"==typeof define&&define.amd?define:function(e,t,r){(r||t)()});\r\n//# sourceMappingURL=kendo.color.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(t,define){define(\"util/main.min\",[\"kendo.core.min\"],t)}(function(){return function(){function t(t){return typeof t!==I}function e(t,e){var i=n(e);return R.round(t*i)/i}function n(t){return t?R.pow(10,t):1}function i(t,e,n){return R.max(R.min(t,n),e)}function r(t){return t*M}function o(t){return t/M}function s(t){return\"number\"==typeof t&&!isNaN(t)}function a(e,n){return t(e)?e:n}function h(t){return t*t}function l(t){var e,n=[];for(e in t)n.push(e+t[e]);return n.sort().join(\"\")}function c(t){var e,n=2166136261;for(e=0;t.length>e;++e)n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24),n^=t.charCodeAt(e);return n>>>0}function u(t){return c(l(t))}function f(t){var e,n=t.length,i=D,r=L;for(e=0;n>e;e++)r=R.max(r,t[e]),i=R.min(i,t[e]);return{min:i,max:r}}function d(t){return f(t).min}function p(t){return f(t).max}function m(t){return v(t).min}function g(t){return v(t).max}function v(t){var e,n,i,r=D,o=L;for(e=0,n=t.length;n>e;e++)i=t[e],null!==i&&isFinite(i)&&(r=R.min(r,i),o=R.max(o,i));return{min:r===D?void 0:r,max:o===L?void 0:o}}function x(t){return t?t[t.length-1]:void 0}function y(t,e){return t.push.apply(t,e),t}function w(t){return z.template(t,{useWithBlock:!1,paramName:\"d\"})}function b(e,n){return t(n)&&null!==n?\" \"+e+\"='\"+n+\"' \":\"\"}function _(t){var e,n=\"\";for(e=0;t.length>e;e++)n+=b(t[e][0],t[e][1]);return n}function C(e){var n,i,r=\"\";for(n=0;e.length>n;n++)i=e[n][1],t(i)&&(r+=e[n][0]+\":\"+i+\";\");return\"\"!==r?r:void 0}function T(t){return\"string\"!=typeof t&&(t+=\"px\"),t}function k(t){var e,n,i=[];if(t)for(e=z.toHyphens(t).split(\"-\"),n=0;e.length>n;n++)i.push(\"k-pos-\"+e[n]);return i.join(\" \")}function S(e){return\"\"===e||null===e||\"none\"===e||\"transparent\"===e||!t(e)}function E(t){for(var e={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],i=\"\";t>0;)n[0]>t?n.shift():(i+=e[n[0]],t-=n[0]);return i}function P(t){var e,n,i,r,o;for(t=t.toLowerCase(),e={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},n=0,i=0,r=0;t.length>r;++r){if(o=e[t.charAt(r)],!o)return null;n+=o,o>i&&(n-=2*i),i=o}return n}function A(t){var e=Object.create(null);return function(){var n,i=\"\";for(n=arguments.length;--n>=0;)i+=\":\"+arguments[n];return i in e?e[i]:t.apply(this,arguments)}}function O(t){for(var e,n,i=[],r=0,o=t.length;o>r;)e=t.charCodeAt(r++),e>=55296&&56319>=e&&o>r?(n=t.charCodeAt(r++),56320==(64512&n)?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--)):i.push(e);return i}function N(t){return t.map(function(t){var e=\"\";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)}).join(\"\")}var R=Math,z=window.kendo,B=z.deepExtend,M=R.PI/180,D=Number.MAX_VALUE,L=-Number.MAX_VALUE,I=\"undefined\",F=Date.now;F||(F=function(){return(new Date).getTime()}),B(z,{util:{MAX_NUM:D,MIN_NUM:L,append:y,arrayLimits:f,arrayMin:d,arrayMax:p,defined:t,deg:o,hashKey:c,hashObject:u,isNumber:s,isTransparent:S,last:x,limitValue:i,now:F,objectKey:l,round:e,rad:r,renderAttr:b,renderAllAttr:_,renderPos:k,renderSize:T,renderStyle:C,renderTemplate:w,sparseArrayLimits:v,sparseArrayMin:m,sparseArrayMax:g,sqr:h,valueOrDefault:a,romanToArabic:P,arabicToRoman:E,memoize:A,ucs2encode:N,ucs2decode:O}}),z.drawing.util=z.util,z.dataviz.util=z.util}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"util/text-metrics.min\",[\"kendo.core.min\",\"util/main.min\"],t)}(function(){!function(t){function e(){return{width:0,height:0,baseline:0}}function n(t,e,n){return u.current.measure(t,e,n)}function i(t,e){var n=[];if(t.length>0&&document.fonts){try{n=t.map(function(t){return document.fonts.load(t)})}catch(i){o.logToConsole(i)}Promise.all(n).then(e,e)}else e()}var r=document,o=window.kendo,s=o.Class,a=o.util,h=a.defined,l=s.extend({init:function(t){this._size=t,this._length=0,this._map={}},put:function(t,e){var n=this,i=n._map,r={key:t,value:e};i[t]=r,n._head?(n._tail.newer=r,r.older=n._tail,n._tail=r):n._head=n._tail=r,n._length>=n._size?(i[n._head.key]=null,n._head=n._head.newer,n._head.older=null):n._length++},get:function(t){var e=this,n=e._map[t];return n?(n===e._head&&n!==e._tail&&(e._head=n.newer,e._head.older=null),n!==e._tail&&(n.older&&(n.older.newer=n.newer,n.newer.older=n.older),n.older=e._tail,n.newer=null,e._tail.newer=n,e._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],u=s.extend({init:function(t){this._cache=new l(1e3),this._initOptions(t)},options:{baselineMarkerSize:1},measure:function(n,i,o){var s,l,u,f,d,p,m,g;if(!n)return e();if(s=a.objectKey(i),l=a.hashKey(n+s),u=this._cache.get(l),u)return u;f=e(),d=o?o:c,p=this._baselineMarker().cloneNode(!1);for(m in i)g=i[m],h(g)&&(d.style[m]=g);return t(d).text(n),d.appendChild(p),r.body.appendChild(d),(n+\"\").length&&(f.width=d.offsetWidth-this.options.baselineMarkerSize,f.height=d.offsetHeight,f.baseline=p.offsetTop+this.options.baselineMarkerSize),f.width>0&&f.height>0&&this._cache.put(l,f),d.parentNode.removeChild(d),f},_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]}});u.current=new u,o.util.TextMetrics=u,o.util.LRUCache=l,o.util.loadFonts=i,o.util.measureText=n}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"util/base64.min\",[\"util/main.min\"],t)}(function(){return function(){function t(t){var n,i,r,s,a,h,l,c=\"\",u=0;for(t=e(t);t.length>u;)n=t.charCodeAt(u++),i=t.charCodeAt(u++),r=t.charCodeAt(u++),s=n>>2,a=(3&n)<<4|i>>4,h=(15&i)<<2|r>>6,l=63&r,isNaN(i)?h=l=64:isNaN(r)&&(l=64),c=c+o.charAt(s)+o.charAt(a)+o.charAt(h)+o.charAt(l);return c}function e(t){var e,n,i=\"\";for(e=0;t.length>e;e++)n=t.charCodeAt(e),128>n?i+=r(n):2048>n?(i+=r(192|n>>>6),i+=r(128|63&n)):65536>n&&(i+=r(224|n>>>12),i+=r(128|n>>>6&63),i+=r(128|63&n));return i}var n=window.kendo,i=n.deepExtend,r=String.fromCharCode,o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";i(n.util,{encodeBase64:t,encodeUTF8:e})}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"mixins/observers.min\",[\"kendo.core.min\"],t)}(function(){return function(t){var e=Math,n=window.kendo,i=n.deepExtend,r=t.inArray,o={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 e=this.observers(),n=r(t,e);return-1!=n&&e.splice(n,1),this},trigger:function(t,e){var n,i,r=this._observers;if(r&&!this._suspended)for(i=0;r.length>i;i++)n=r[i],n[t]&&n[t](e);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=e.max((this._suspended||0)-1,0),this},_observerField:function(t,e){this[t]&&this[t].removeObserver(this),this[t]=e,e.addObserver(this)}};i(n,{mixins:{ObserversMixin:o}})}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/geometry.min\",[\"util/main.min\",\"mixins/observers.min\"],t)}(function(){return function(){function t(t){return null===t?null:t instanceof E?t:new E(t)}function e(t){return t&&N.isFunction(t.matrix)?t.matrix():t}function n(t,e,n,i){var r=0,o=0;return i&&(r=A.atan2(i.c*n,i.a*e),0!==i.b&&(o=A.atan2(i.d*n,i.b*e))),{x:r,y:o}}function i(t,e){for(;e>t;)t+=90;return t}function r(t,e){var n,i,r;for(n=0;e.length>n;n++)i=e[n],r=i.charAt(0).toUpperCase()+i.substring(1,i.length),t[\"set\"+r]=o(i),t[\"get\"+r]=s(i)}function o(t){return function(e){return this[t]!==e&&(this[t]=e,this.geometryChange()),this}}function s(t){return function(){return this[t]}}function a(t,e,n){t>e&&(e+=360);var i=A.abs(e-t);return n||(i=360-i),i}function h(t,e,n,i,r,o){var s=F((r-t)/n,3),a=F((o-e)/i,3);return F(I(A.atan2(a,s)))}function l(t,e,n,i,r,o,s,l){var c,u,f,d,p,m,g,v,x,y,w,b,_,C,T,k,S,E;if(e!==i)x=n-t,y=i-e,w=O(r,2),b=O(o,2),_=(b*x*(t+n)+w*y*(e+i))/(2*w*y),C=_-i,T=-(x*b)/(w*y),p=1/w+O(T,2)/b,m=2*(T*C/b-n/w),g=O(n,2)/w+O(C,2)/b-1,v=A.sqrt(O(m,2)-4*p*g),c=(-m-v)/(2*p),u=_+T*c,f=(-m+v)/(2*p),d=_+T*f;else{if(t===n)return!1;m=-2*i,g=O((n-t)*o/(2*r),2)+O(i,2)-O(o,2),v=A.sqrt(O(m,2)-4*g),c=f=(t+n)/2,u=(-m-v)/2,d=(-m+v)/2}return k=h(c,u,r,o,t,e),S=h(c,u,r,o,n,i),E=a(k,S,l),(s&&180>=E||!s&&E>180)&&(c=f,u=d,k=h(c,u,r,o,t,e),S=h(c,u,r,o,n,i)),{center:new $(c,u),startAngle:k,endAngle:S}}function c(t,e,n,i){if(0===t)return b(e,n,i);var r,o,s,a,h,l,c,u=(3*t*n-A.pow(e,2))/(3*A.pow(t,2)),f=(2*A.pow(e,3)-9*t*e*n+27*A.pow(t,2)*i)/(27*A.pow(t,3)),d=A.pow(u/3,3)+A.pow(f/2,2),p=new P(0,1),m=-e/(3*t),g=[];return 0>d?(r=new P(-f/2,A.sqrt(-d)).nthRoot(3),o=new P(-f/2,-A.sqrt(-d)).nthRoot(3)):(r=-f/2+A.sqrt(d),r=new P(x(r)*A.pow(A.abs(r),1/3)),o=-f/2-A.sqrt(d),o=new P(x(o)*A.pow(A.abs(o),1/3))),s=r.add(o),l=r.add(o).multiplyConstant(-0.5),c=r.add(o.negate()).multiplyConstant(A.sqrt(3)/2),a=l.add(p.multiply(c)),h=l.add(p.negate().multiply(c)),s.isReal()&&g.push(F(s.real+m,q)),a.isReal()&&g.push(F(a.real+m,q)),h.isReal()&&g.push(F(h.real+m,q)),g}function u(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 f(t,e,n){var i=1-t;return A.pow(i,3)*n[0][e]+3*A.pow(i,2)*t*n[1][e]+3*A.pow(t,2)*i*n[2][e]+A.pow(t,3)*n[3][e]}function d(t,e,n){var i,r,o,s=u(t,\"x\"),a=c(s[0],s[1],s[2],s[3]-e.x),h=0;for(o=0;a.length>o;o++)i=f(a[o],\"y\",t),r=g(i,e.y)||i>e.y,r&&((0===a[o]||1===a[o])&&n.bottomRight().x>e.x||a[o]>0&&1>a[o])&&h++;return h}function p(t,e,n){var i,r,o,s,a,h;return t.x!=e.x&&(r=A.min(t.x,e.x),o=A.max(t.x,e.x),s=A.min(t.y,e.y),a=A.max(t.y,e.y),h=n.x>=r&&o>n.x,i=s==a?s>=n.y&&h:h&&(a-s)*((t.x-e.x)*(t.y-e.y)>0?n.x-r:o-n.x)/(o-r)+s-n.y>=0),i?1:0}function m(t,e,n,i){var r=e.x-t.x,o=i.x-n.x,s=e.y-t.y,a=i.y-n.y,h=t.x-n.x,l=t.y-n.y,c=r*a-o*s,u=(r*l-s*h)/c,f=(o*l-a*h)/c;return u>=0&&1>=u&&f>=0&&1>=f?new $(t.x+f*r,t.y+f*s):void 0}function g(t,e,n){return 0===F(A.abs(t-e),n||q)}function v(t,e,n){return e>t||g(t,e,n)}function x(t){return 0>t?-1:1}function y(e,n,i){var r=M.deg(A.atan2(n.y-e.y,n.x-e.x)),o=i.transformCopy(t().rotate(-r,e));return e.x>o.x}function w(t,e,n,i,r){var o,s,a=u(t,i),h=c(a[0],a[1],a[2],a[3]-e[i]);for(s=0;h.length>s;s++)if(h[s]>=0&&1>=h[s]&&(o=f(h[s],n,t),A.abs(o-e[n])<=r))return!0}function b(t,e,n){var i=A.sqrt(A.pow(e,2)-4*t*n);return[(-e+i)/(2*t),(-e-i)/(2*t)]}var _,C,T,k,S,E,P,A=Math,O=A.pow,N=window.kendo,R=N.Class,z=N.deepExtend,B=N.mixins.ObserversMixin,M=N.util,D=M.defined,L=M.rad,I=M.deg,F=M.round,G=A.PI/2,j=M.MIN_NUM,H=M.MAX_NUM,q=10,$=R.extend({init:function(t,e){this.x=t||0,this.y=e||0},equals:function(t){return t&&t.x===this.x&&t.y===this.y},clone:function(){return new $(this.x,this.y)},rotate:function(e,n){return this.transform(t().rotate(e,n))},translate:function(t,e){return this.x+=t,this.y+=e,this.geometryChange(),this},translateWith:function(t){return this.translate(t.x,t.y)},move:function(t,e){return this.x=this.y=0,this.translate(t,e)},scale:function(t,e){return D(e)||(e=t),this.x*=t,this.y*=e,this.geometryChange(),this},scaleCopy:function(t,e){return this.clone().scale(t,e)},transform:function(t){var n=e(t),i=this.x,r=this.y;return this.x=n.a*i+n.c*r+n.e,this.y=n.b*i+n.d*r+n.f,this.geometryChange(),this},transformCopy:function(t){var e=this.clone();return t&&e.transform(t),e},distanceTo:function(t){var e=this.x-t.x,n=this.y-t.y;return A.sqrt(e*e+n*n)},round:function(t){return this.x=F(this.x,t),this.y=F(this.y,t),this.geometryChange(),this},toArray:function(t){var e=D(t),n=e?F(this.x,t):this.x,i=e?F(this.y,t):this.y;return[n,i]}});r($.fn,[\"x\",\"y\"]),z($.fn,B),$.fn.toString=function(t,e){var n=this.x,i=this.y;return D(t)&&(n=F(n,t),i=F(i,t)),e=e||\" \",n+e+i},$.create=function(t,e){return D(t)?t instanceof $?t:1===arguments.length&&2===t.length?new $(t[0],t[1]):new $(t,e):void 0},$.min=function(){var t,e,n=M.MAX_NUM,i=M.MAX_NUM;for(t=0;t<arguments.length;t++)e=arguments[t],n=A.min(e.x,n),i=A.min(e.y,i);return new $(n,i)},$.max=function(){var t,e,n=M.MIN_NUM,i=M.MIN_NUM;for(t=0;t<arguments.length;t++)e=arguments[t],n=A.max(e.x,n),i=A.max(e.y,i);return new $(n,i)},$.minPoint=function(){return new $(j,j)},$.maxPoint=function(){return new $(H,H)},$.ZERO=new $(0,0),_=R.extend({init:function(t,e){this.width=t||0,this.height=e||0},equals:function(t){return t&&t.width===this.width&&t.height===this.height},clone:function(){return new _(this.width,this.height)},toArray:function(t){var e=D(t),n=e?F(this.width,t):this.width,i=e?F(this.height,t):this.height;return[n,i]}}),r(_.fn,[\"width\",\"height\"]),z(_.fn,B),_.create=function(t,e){return D(t)?t instanceof _?t:1===arguments.length&&2===t.length?new _(t[0],t[1]):new _(t,e):void 0},_.ZERO=new _(0,0),C=R.extend({init:function(t,e){this.setOrigin(t||new $),this.setSize(e||new _)},clone:function(){return new C(this.origin.clone(),this.size.clone())},equals:function(t){return t&&t.origin.equals(this.origin)&&t.size.equals(this.size)},setOrigin:function(t){return this._observerField(\"origin\",$.create(t)),this.geometryChange(),this},getOrigin:function(){return this.origin},setSize:function(t){return this._observerField(\"size\",_.create(t)),this.geometryChange(),this},getSize:function(){return this.size},width:function(){return this.size.width},height:function(){return this.size.height},topLeft:function(){return this.origin.clone()},bottomRight:function(){return this.origin.clone().translate(this.width(),this.height())},topRight:function(){return this.origin.clone().translate(this.width(),0)},bottomLeft:function(){return this.origin.clone().translate(0,this.height())},center:function(){return this.origin.clone().translate(this.width()/2,this.height()/2)},bbox:function(t){var e=this.topLeft().transformCopy(t),n=this.topRight().transformCopy(t),i=this.bottomRight().transformCopy(t),r=this.bottomLeft().transformCopy(t);return C.fromPoints(e,n,i,r)},transformCopy:function(t){return C.fromPoints(this.topLeft().transform(t),this.bottomRight().transform(t))},expand:function(t,e){return D(e)||(e=t),this.size.width+=2*t,this.size.height+=2*e,this.origin.translate(-t,-e),this},expandCopy:function(t,e){return this.clone().expand(t,e)},containsPoint:function(t){var e=this.origin,n=this.bottomRight();return!(e.x>t.x||e.y>t.y||t.x>n.x||t.y>n.y)},_isOnPath:function(t,e){var n=this.expandCopy(e,e),i=this.expandCopy(-e,-e);return n.containsPoint(t)&&!i.containsPoint(t)}}),z(C.fn,B),C.fromPoints=function(){var t=$.min.apply(this,arguments),e=$.max.apply(this,arguments),n=new _(e.x-t.x,e.y-t.y);return new C(t,n)},C.union=function(t,e){return C.fromPoints($.min(t.topLeft(),e.topLeft()),$.max(t.bottomRight(),e.bottomRight()))},C.intersect=function(t,e){return t={left:t.topLeft().x,top:t.topLeft().y,right:t.bottomRight().x,bottom:t.bottomRight().y},e={left:e.topLeft().x,top:e.topLeft().y,right:e.bottomRight().x,bottom:e.bottomRight().y},e.right>=t.left&&t.right>=e.left&&e.bottom>=t.top&&t.bottom>=e.top?C.fromPoints(new $(A.max(t.left,e.left),A.max(t.top,e.top)),new $(A.min(t.right,e.right),A.min(t.bottom,e.bottom))):void 0},T=R.extend({init:function(t,e){this.setCenter(t||new $),this.setRadius(e||0)},setCenter:function(t){return this._observerField(\"center\",$.create(t)),this.geometryChange(),this},getCenter:function(){return this.center},equals:function(t){return t&&t.center.equals(this.center)&&t.radius===this.radius},clone:function(){return new T(this.center.clone(),this.radius)},pointAt:function(t){return this._pointAt(L(t))},bbox:function(t){var e,i,r,o,s=$.maxPoint(),a=$.minPoint(),h=n(this.center,this.radius,this.radius,t);for(e=0;4>e;e++)i=this._pointAt(h.x+e*G).transformCopy(t),r=this._pointAt(h.y+e*G).transformCopy(t),o=new $(i.x,r.y),s=$.min(s,o),a=$.max(a,o);return C.fromPoints(s,a)},_pointAt:function(t){var e=this.center,n=this.radius;return new $(e.x-n*A.cos(t),e.y-n*A.sin(t))},containsPoint:function(t){var e=this.center,n=A.pow(t.x-e.x,2)+A.pow(t.y-e.y,2)<=A.pow(this.radius,2);return n},_isOnPath:function(t,e){var n=this.center,i=this.radius,r=n.distanceTo(t);return r>=i-e&&i+e>=r}}),r(T.fn,[\"radius\"]),z(T.fn,B),k=R.extend({init:function(t,e){this.setCenter(t||new $),e=e||{},this.radiusX=e.radiusX,this.radiusY=e.radiusY||e.radiusX,this.startAngle=e.startAngle,this.endAngle=e.endAngle,this.anticlockwise=e.anticlockwise||!1},clone:function(){return new k(this.center,{radiusX:this.radiusX,radiusY:this.radiusY,startAngle:this.startAngle,endAngle:this.endAngle,anticlockwise:this.anticlockwise})},setCenter:function(t){return this._observerField(\"center\",$.create(t)),this.geometryChange(),this},getCenter:function(){return this.center},MAX_INTERVAL:45,pointAt:function(t){var e=this.center,n=L(t);return new $(e.x+this.radiusX*A.cos(n),e.y+this.radiusY*A.sin(n))},curvePoints:function(){var t,e,n,i=this.startAngle,r=this.anticlockwise?-1:1,o=[this.pointAt(i)],s=i,a=this._arcInterval(),h=a.endAngle-a.startAngle,l=A.ceil(h/this.MAX_INTERVAL),c=h/l;for(t=1;l>=t;t++)e=s+r*c,n=this._intervalCurvePoints(s,e),o.push(n.cp1,n.cp2,n.p2),s=e;return o},bbox:function(t){for(var e,r,o=this,s=o._arcInterval(),a=s.startAngle,h=s.endAngle,l=n(this.center,this.radiusX,this.radiusY,t),c=I(l.x),u=I(l.y),f=o.pointAt(a).transformCopy(t),d=o.pointAt(h).transformCopy(t),p=$.min(f,d),m=$.max(f,d),g=i(c,a),v=i(u,a);h>g||h>v;)h>g&&(e=o.pointAt(g).transformCopy(t),g+=90),h>v&&(r=o.pointAt(v).transformCopy(t),v+=90),f=new $(e.x,r.y),p=$.min(p,f),m=$.max(m,f);return C.fromPoints(p,m)},_arcInterval:function(){var t,e=this.startAngle,n=this.endAngle,i=this.anticlockwise;return i&&(t=e,e=n,n=t),(e>n||i&&e===n)&&(n+=360),{startAngle:e,endAngle:n}},_intervalCurvePoints:function(t,e){var n=this,i=n.pointAt(t),r=n.pointAt(e),o=n._derivativeAt(t),s=n._derivativeAt(e),a=(L(e)-L(t))/3,h=new $(i.x+a*o.x,i.y+a*o.y),l=new $(r.x-a*s.x,r.y-a*s.y);return{p1:i,cp1:h,cp2:l,p2:r}},_derivativeAt:function(t){var e=this,n=L(t);return new $(-e.radiusX*A.sin(n),e.radiusY*A.cos(n))},containsPoint:function(t){var e,n,i,r=this._arcInterval(),o=r.endAngle-r.startAngle,s=this.center,a=s.distanceTo(t),l=A.atan2(t.y-s.y,t.x-s.x),c=this.radiusX*this.radiusY/A.sqrt(A.pow(this.radiusX,2)*A.pow(A.sin(l),2)+A.pow(this.radiusY,2)*A.pow(A.cos(l),2)),u=this.pointAt(this.startAngle).round(q),f=this.pointAt(this.endAngle).round(q),d=m(s,t.round(q),u,f);return 180>o?e=d&&v(s.distanceTo(d),a)&&v(a,c):(n=h(s.x,s.y,this.radiusX,this.radiusY,t.x,t.y),360!=n&&(n=(360+n)%360),i=n>=r.startAngle&&r.endAngle>=n,e=i&&v(a,c)||!i&&(!d||d.equals(t))),e},_isOnPath:function(t,e){var n,i=this._arcInterval(),r=this.center,o=h(r.x,r.y,this.radiusX,this.radiusY,t.x,t.y);return 360!=o&&(o=(360+o)%360),n=o>=i.startAngle&&i.endAngle>=o,n&&this.pointAt(o).distanceTo(t)<=e}}),r(k.fn,[\"radiusX\",\"radiusY\",\"startAngle\",\"endAngle\",\"anticlockwise\"]),z(k.fn,B),k.fromPoints=function(t,e,n,i,r,o){var s=l(t.x,t.y,e.x,e.y,n,i,r,o);return new k(s.center,{startAngle:s.startAngle,endAngle:s.endAngle,radiusX:n,radiusY:i,anticlockwise:0===o})},S=R.extend({init:function(t,e,n,i,r,o){this.a=t||0,this.b=e||0,this.c=n||0,this.d=i||0,this.e=r||0,this.f=o||0},multiplyCopy:function(t){return new S(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)},invert:function(){var t=this.a,e=this.b,n=this.c,i=this.d,r=this.e,o=this.f,s=t*i-e*n;return 0===s?null:new S(i/s,-e/s,-n/s,t/s,(n*o-i*r)/s,(e*r-t*o)/s)},clone:function(){return new S(this.a,this.b,this.c,this.d,this.e,this.f)},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:!1},round:function(t){return this.a=F(this.a,t),this.b=F(this.b,t),this.c=F(this.c,t),this.d=F(this.d,t),this.e=F(this.e,t),this.f=F(this.f,t),this},toArray:function(t){var e,n=[this.a,this.b,this.c,this.d,this.e,this.f];if(D(t))for(e=0;n.length>e;e++)n[e]=F(n[e],t);return n}}),S.fn.toString=function(t,e){return this.toArray(t).join(e||\",\")},S.translate=function(t,e){return new S(1,0,0,1,t,e)},S.unit=function(){return new S(1,0,0,1,0,0)},S.rotate=function(t,e,n){var i=new S;return i.a=A.cos(L(t)),i.b=A.sin(L(t)),i.c=-i.b,i.d=i.a,i.e=e-e*i.a+n*i.b||0,i.f=n-n*i.a-e*i.b||0,i},S.scale=function(t,e){return new S(t,0,0,e,0,0)},S.IDENTITY=S.unit(),E=R.extend({init:function(t){this._matrix=t||S.unit()},clone:function(){return new E(this._matrix.clone())},equals:function(t){return t&&t._matrix.equals(this._matrix)},_optionsChange:function(){this.optionsChange({field:\"transform\",value:this})},translate:function(t,e){return this._matrix=this._matrix.multiplyCopy(S.translate(t,e)),this._optionsChange(),this},scale:function(t,e,n){return D(e)||(e=t),n&&(n=$.create(n),this._matrix=this._matrix.multiplyCopy(S.translate(n.x,n.y))),this._matrix=this._matrix.multiplyCopy(S.scale(t,e)),n&&(this._matrix=this._matrix.multiplyCopy(S.translate(-n.x,-n.y))),this._optionsChange(),this},rotate:function(t,e){return e=$.create(e)||$.ZERO,this._matrix=this._matrix.multiplyCopy(S.rotate(t,e.x,e.y)),this._optionsChange(),this},multiply:function(t){var n=e(t);return this._matrix=this._matrix.multiplyCopy(n),this._optionsChange(),this},matrix:function(t){return t?(this._matrix=t,this._optionsChange(),this):this._matrix}}),z(E.fn,B),P=function(t,e){this.real=t||0,this.img=e||0},P.fn=P.prototype={add:function(t){return new P(F(this.real+t.real,q),F(this.img+t.img,q))},addConstant:function(t){return new P(this.real+t,this.img)},negate:function(){return new P(-this.real,-this.img)},multiply:function(t){return new P(this.real*t.real-this.img*t.img,this.real*t.img+this.img*t.real)},multiplyConstant:function(t){return new P(this.real*t,this.img*t)},nthRoot:function(t){var e=A.atan2(this.img,this.real),n=A.sqrt(A.pow(this.img,2)+A.pow(this.real,2)),i=A.pow(n,1/t);return new P(i*A.cos(e/t),i*A.sin(e/t))},equals:function(t){return this.real===t.real&&this.img===t.img},isReal:function(){return 0===this.img}},z(N,{geometry:{Arc:k,Circle:T,curveIntersectionsCount:d,lineIntersectionsCount:p,Matrix:S,Point:$,Rect:C,Size:_,Transformation:E,transform:t,toMatrix:e,isOutOfEndPoint:y,hasRootsInRange:w}}),N.dataviz.geometry=N.geometry}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/core.min\",[\"drawing/geometry.min\",\"kendo.popup.min\"],t)}(function(){!function(t){function e(t){var e,n;return t.touch?(e=t.x.location,n=t.y.location):(e=t.pageX||t.clientX||0,n=t.pageY||t.clientY||0),{x:e,y:n}}var n,i,r,o,s=t.noop,a=Object.prototype.toString,h=window.kendo,l=h.Class,c=h.ui.Widget,u=h.deepExtend,f=h.util,d=f.defined,p=f.limitValue,m=h.geometry,g=t.proxy,v=\".kendo\",x='<div class=\"k-tooltip\"><div class=\"k-tooltip-content\"></div></div>',y='<div class=\"k-tooltip-button\"><a href=\"\\\\#\" class=\"k-icon k-i-close\">close</a></div>',w=c.extend({init:function(t,e){this.options=u({},this.options,e),c.fn.init.call(this,t,this.options),this._click=this._handler(\"click\"),this._mouseenter=this._handler(\"mouseenter\"),this._mouseleave=this._handler(\"mouseleave\"),this._mousemove=this._handler(\"mousemove\"),this._visual=new h.drawing.Group,this.options.width&&this.element.css(\"width\",this.options.width),this.options.height&&this.element.css(\"height\",this.options.height),this._enableTracking()},options:{name:\"Surface\",tooltip:{}},events:[\"click\",\"mouseenter\",\"mouseleave\",\"mousemove\",\"resize\",\"tooltipOpen\",\"tooltipClose\"],draw:function(t){this._visual.children.push(t)},clear:function(){this._visual.children=[],this.hideTooltip()},destroy:function(){this._visual=null,this._tooltip&&(this._tooltip.destroy(),delete this._tooltip),c.fn.destroy.call(this)},exportVisual:function(){return this._visual},getSize:function(){return{width:this.element.width(),height:this.element.height()}},setSize:function(t){this.element.css({width:t.width,height:t.height}),this._size=t,this._resize()},eventTarget:function(e){for(var n,i=t(e.touch?e.touch.initialTouch:e.target);!n&&i.length>0&&(n=i[0]._kendoNode,!i.is(this.element)&&0!==i.length);)i=i.parent();return n?n.srcElement:void 0},showTooltip:function(t,e){this._tooltip&&this._tooltip.show(t,e)},hideTooltip:function(){this._tooltip&&this._tooltip.hide()},suspendTracking:function(){this._suspendedTracking=!0,this.hideTooltip()},resumeTracking:function(){this._suspendedTracking=!1},_resize:s,_handler:function(t){var e=this;return function(n){var i=e.eventTarget(n);i&&!e._suspendedTracking&&e.trigger(t,{element:i,originalEvent:n,type:t})}},_enableTracking:function(){this._tooltip=new o(this,this.options.tooltip||{})},_elementOffset:function(){var t=this.element,e=t.offset(),n=parseInt(t.css(\"paddingLeft\"),10),i=parseInt(t.css(\"paddingTop\"),10);return{left:e.left+n,top:e.top+i}},_surfacePoint:function(t){var n=this._elementOffset(),i=e(t),r=i.x-n.left,o=i.y-n.top;return new m.Point(r,o)}});h.ui.plugin(w),w.create=function(t,e){return r.current.create(t,e)},n=l.extend({init:function(t){this.childNodes=[],this.parent=null,t&&(this.srcElement=t,this.observe())},destroy:function(){var t,e;for(this.srcElement&&this.srcElement.removeObserver(this),t=this.childNodes,e=0;t.length>e;e++)this.childNodes[e].destroy();this.parent=null},load:s,observe:function(){this.srcElement&&this.srcElement.addObserver(this)},append:function(t){this.childNodes.push(t),t.parent=this},insertAt:function(t,e){this.childNodes.splice(e,0,t),t.parent=this},remove:function(t,e){var n,i=t+e;for(n=t;i>n;n++)this.childNodes[n].removeSelf();this.childNodes.splice(t,e)},removeSelf:function(){this.clear(),this.destroy()},clear:function(){this.remove(0,this.childNodes.length)},invalidate:function(){this.parent&&this.parent.invalidate()},geometryChange:function(){this.invalidate()},optionsChange:function(){this.invalidate()},childrenChange:function(t){\"add\"===t.action?this.load(t.items,t.index):\"remove\"===t.action&&this.remove(t.index,t.items.length),this.invalidate()}}),i=l.extend({init:function(t,e){var n,i;this.prefix=e||\"\";for(n in t)i=t[n],i=this._wrap(i,n),this[n]=i},get:function(t){return h.getter(t,!0)(this)},set:function(t,e){var n,i=h.getter(t,!0)(this);i!==e&&(n=this._set(t,this._wrap(e,t)),n||this.optionsChange({field:this.prefix+t,value:e}))},_set:function(t,e){var n,r,o,s=t.indexOf(\".\")>=0;if(s)for(n=t.split(\".\"),r=\"\";n.length>1;){if(r+=n.shift(),o=h.getter(r,!0)(this),o||(o=new i({},r+\".\"),o.addObserver(this),this[r]=o),o instanceof i)return o.set(n.join(\".\"),e),s;r+=\".\"}return this._clear(t),h.setter(t)(this,e),s},_clear:function(t){var e=h.getter(t,!0)(this);e&&e.removeObserver&&e.removeObserver(this)},_wrap:function(t,e){var n=a.call(t);return null!==t&&d(t)&&\"[object Object]\"===n&&(t instanceof i||t instanceof l||(t=new i(t,this.prefix+e+\".\")),t.addObserver(this)),t}}),u(i.fn,h.mixins.ObserversMixin),r=function(){this._items=[]},r.prototype={register:function(t,e,n){var i=this._items,r=i[0],o={name:t,type:e,order:n};!r||r.order>n?i.unshift(o):i.push(o)},create:function(t,e){var n,i,r=this._items,o=r[0];if(e&&e.type)for(n=e.type.toLowerCase(),i=0;r.length>i;i++)if(r[i].name===n){o=r[i];break}return o?new o.type(t,e):void h.logToConsole(\"Warning: Unable to create Kendo UI Drawing Surface. Possible causes:\\n- The browser does not support SVG, VML and Canvas. User agent: \"+navigator.userAgent+\"\\n- The Kendo UI scripts are not fully loaded\")}},r.current=new r,o=l.extend({init:function(e,n){this.element=t(x),this.content=this.element.children(\".k-tooltip-content\"),n=n||{},this.options=u({},this.options,this._tooltipOptions(n)),this.popup=new h.ui.Popup(this.element,{appendTo:n.appendTo,animation:n.animation,copyAnchorStyles:!1,collision:\"fit fit\"}),this._openPopupHandler=t.proxy(this._openPopup,this),this.surface=e,this._bindEvents()},options:{position:\"top\",showOn:\"mouseenter\",offset:7,autoHide:!0,hideDelay:0,showAfter:100},_bindEvents:function(){this._showHandler=g(this._showEvent,this),this._surfaceLeaveHandler=g(this._surfaceLeave,this),this._mouseleaveHandler=g(this._mouseleave,this),this._mousemoveHandler=g(this._mousemove,this),this.surface.bind(\"click\",this._showHandler),this.surface.bind(\"mouseenter\",this._showHandler),this.surface.bind(\"mouseleave\",this._mouseleaveHandler),this.surface.bind(\"mousemove\",this._mousemoveHandler),this.surface.element.on(\"mouseleave\"+v,this._surfaceLeaveHandler),this.element.on(\"click\"+v,\".k-tooltip-button\",g(this._hideClick,this))},destroy:function(){var t=this.popup;this.surface.unbind(\"click\",this._showHandler),this.surface.unbind(\"mouseenter\",this._showHandler),this.surface.unbind(\"mouseleave\",this._mouseleaveHandler),this.surface.unbind(\"mousemove\",this._mousemoveHandler),this.surface.element.off(\"mouseleave\"+v,this._surfaceLeaveHandler),this.element.off(\"click\"+v),t&&(t.destroy(),delete this.popup),clearTimeout(this._timeout),delete this.popup,delete this.element,delete this.content,delete this.surface},_tooltipOptions:function(t){return t=t||{},{position:t.position,showOn:t.showOn,offset:t.offset,autoHide:t.autoHide,width:t.width,height:t.height,content:t.content,shared:t.shared,hideDelay:t.hideDelay,showAfter:t.showAfter}},_tooltipShape:function(t){for(;t&&!t.options.tooltip;)t=t.parent;return t},_updateContent:function(t,e,n){var i=n.content;return h.isFunction(i)&&(i=i({element:e,target:t})),i?(this.content.html(i),!0):void 0},_position:function(t,n,i,r){var o,s=n.position,a=n.offset||0,h=this.surface,l=h._elementOffset(),c=h.getSize(),u=h._offset,f=t.bbox(),d=i.width,m=i.height,g=0,v=0;return f.origin.translate(l.left,l.top),u&&f.origin.translate(-u.x,-u.y),\"cursor\"==s&&r?(o=e(r),g=o.x-d/2,v=o.y-m-a):\"left\"==s?(g=f.origin.x-d-a,v=f.center().y-m/2):\"right\"==s?(g=f.bottomRight().x+a,v=f.center().y-m/2):\"bottom\"==s?(g=f.center().x-d/2,v=f.bottomRight().y+a):(g=f.center().x-d/2,v=f.origin.y-m-a),{left:p(g,l.left,l.left+c.width),top:p(v,l.top,l.top+c.height)}},show:function(t,e){this._show(t,t,u({},this.options,this._tooltipOptions(t.options.tooltip),e))},hide:function(){var t=this._current;delete this._current,clearTimeout(this._showTimeout),this.popup.visible()&&t&&!this.surface.trigger(\"tooltipClose\",{element:t.shape,target:t.target,popup:this.popup})&&this.popup.close()},_hideClick:function(t){t.preventDefault(),this.hide()},_show:function(t,e,n,i,r){var o,s,a=this._current;clearTimeout(this._timeout),a&&(a.shape===e&&n.shared||a.target===t)||(clearTimeout(this._showTimeout),!this.surface.trigger(\"tooltipOpen\",{element:e,target:t,popup:this.popup})&&this._updateContent(t,e,n)&&(this._autoHide(n),o=this._measure(n),s=this.popup,s.visible()&&s.close(!0),this._current={options:n,elementSize:o,shape:e,target:t,position:this._position(n.shared?e:t,n,o,i)},r?this._showTimeout=setTimeout(this._openPopupHandler,n.showAfter||0):this._openPopup()))},_openPopup:function(){var t=this._current,e=t.position;this.popup.open(e.left,e.top)},_autoHide:function(e){e.autoHide&&this._closeButton&&(this.element.removeClass(\"k-tooltip-closable\"),this._closeButton.remove(),delete this._closeButton),e.autoHide||this._closeButton||(this.element.addClass(\"k-tooltip-closable\"),this._closeButton=t(y).prependTo(this.element))},_showEvent:function(t){var e,n=this._tooltipShape(t.element);n&&(e=u({},this.options,this._tooltipOptions(n.options.tooltip)),e&&e.showOn==t.type&&this._show(t.element,n,e,t.originalEvent,!0))},_measure:function(t){var e,n,i;return this.element.css({width:\"auto\",height:\"auto\"\r\n}),i=this.popup.visible(),i||this.popup.wrapper.show(),this.element.css({width:d(t.width)?t.width:\"auto\",height:d(t.height)?t.height:\"auto\"}),e=this.element.outerWidth(),n=this.element.outerHeight(),i||this.popup.wrapper.hide(),{width:e,height:n}},_mouseleave:function(t){var e,n;this._popupRelatedTarget(t.originalEvent)||(e=this,n=e._current,n&&n.options.autoHide&&(e._timeout=setTimeout(function(){clearTimeout(e._showTimeout),e.hide()},n.options.hideDelay||0)))},_mousemove:function(t){var e,n,i=this._current;i&&t.element&&(e=i.options,\"cursor\"==e.position&&(n=this._position(t.element,e,i.elementSize,t.originalEvent),i.position=n,this.popup.wrapper.css({left:n.left,top:n.top})))},_surfaceLeave:function(t){this._popupRelatedTarget(t)||(clearTimeout(this._showTimeout),this.hide())},_popupRelatedTarget:function(e){return e.relatedTarget&&t(e.relatedTarget).closest(this.popup.wrapper).length}}),u(h,{drawing:{DASH_ARRAYS:{dot:[1.5,3.5],dash:[4,3.5],longdash:[8,3.5],dashdot:[3.5,3.5,1.5,3.5],longdashdot:[8,3.5,1.5,3.5],longdashdotdot:[8,3.5,1.5,3.5,1.5,3.5]},Color:h.Color,BaseNode:n,OptionsStore:i,Surface:w,SurfaceFactory:r,SurfaceTooltip:o}}),h.dataviz.drawing=h.drawing}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/mixins.min\",[\"drawing/core.min\"],t)}(function(){!function(){var t=window.kendo,e=t.deepExtend,n=t.util.defined,i=t.geometry,r=\"gradient\",o=\"\"+i.Matrix.IDENTITY,s={extend:function(t){t.fill=this.fill,t.stroke=this.stroke},fill:function(t,e){var i,o=this.options;return n(t)?(t&&t.nodeType!=r?(i={color:t},n(e)&&(i.opacity=e),o.set(\"fill\",i)):o.set(\"fill\",t),this):o.get(\"fill\")},stroke:function(t,e,i){return n(t)?(this.options.set(\"stroke.color\",t),n(e)&&this.options.set(\"stroke.width\",e),n(i)&&this.options.set(\"stroke.opacity\",i),this):this.options.get(\"stroke\")}},a={extend:function(t,e){t.traverse=function(t){var n,i,r=this[e];for(n=0;r.length>n;n++)i=r[n],i.traverse?i.traverse(t):t(i);return this}}},h={extend:function(t){t.bbox=this.bbox,t.geometryChange=this.geometryChange},bbox:function(t){var e,n,r=i.toMatrix(this.currentTransform(t)),s=r?\"\"+r:o;return this._bboxCache&&this._matrixHash==s?e=this._bboxCache.clone():(e=this._bbox(r),this._bboxCache=e?e.clone():null,this._matrixHash=s),n=this.options.get(\"stroke.width\"),n&&e&&e.expand(n/2),e},geometryChange:function(){delete this._bboxCache,this.trigger(\"geometryChange\",{element:this})}};e(t.drawing,{mixins:{Paintable:s,Traversable:a,Measurable:h}})}()},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/shapes.min\",[\"drawing/core.min\",\"drawing/mixins.min\",\"util/text-metrics.min\",\"mixins/observers.min\"],t)}(function(){!function(t){function e(t,e,n){var i,r,o,s;for(r=0;t.length>r;r++)o=t[r],o.visible()&&(s=e?o.bbox(n):o.rawBBox(),s&&(i=i?X.Rect.union(i,s):s));return i}function n(t,e){var n,i,r,o;for(i=0;t.length>i;i++)r=t[i],r.visible()&&(o=r.clippedBBox(e),o&&(n=n?X.Rect.union(n,o):o));return n}function i(t,e){for(var n=0;e.length>n;n++)t[e[n]]=r(e[n])}function r(t){var e=\"_\"+t;return function(t){return it(t)?(this._observerField(e,t),this.geometryChange(),this):this[e]}}function o(t,e){for(var n=0;e.length>n;n++)t[e[n]]=s(e[n])}function s(t){var e=\"_\"+t;return function(t){return it(t)?(this._observerField(e,U.create(t)),this.geometryChange(),this):this[e]}}function a(t,e){for(var n=0;e.length>n;n++)t[e[n]]=h(e[n])}function h(t){return function(e){return it(e)?(this.options.set(t,e),this):this.options.get(t)}}function l(){return\"kdef\"+pt++}function c(t,e,n){b(t,e,n,\"x\",\"width\")}function u(t,e,n){b(t,e,n,\"y\",\"height\")}function f(t){w(y(t),\"x\",\"y\",\"width\")}function d(t){w(y(t),\"y\",\"x\",\"height\")}function p(t,e){return g(t,e,\"x\",\"y\",\"width\")}function m(t,e){return g(t,e,\"y\",\"x\",\"height\")}function g(t,e,n,i,r){var o,s,a,h,l=[],c=x(t,e,r),u=e.origin.clone();for(h=0;c.length>h;h++)for(a=c[h],o=a[0],u[i]=o.bbox.origin[i],T(u,o.bbox,o.element),o.bbox.origin[n]=u[n],w(a,n,i,r),l.push([]),s=0;a.length>s;s++)l[h].push(a[s].element);return l}function v(t,e){var n,i,r=t.clippedBBox(),o=r.size,s=e.size;(o.width>s.width||o.height>s.height)&&(n=J.min(s.width/o.width,s.height/o.height),i=t.transform()||X.transform(),i.scale(n,n),t.transform(i))}function x(t,e,n){var i,r,o,s,a=e.size[n],h=0,l=[],c=[],u=function(){c.push({element:i,bbox:o})};for(s=0;t.length>s;s++)i=t[s],o=i.clippedBBox(),o&&(r=o.size[n],h+r>a?c.length?(l.push(c),c=[],u(),h=r):(u(),l.push(c),c=[],h=0):(u(),h+=r));return c.length&&l.push(c),l}function y(t){var e,n,i,r=[];for(i=0;t.length>i;i++)e=t[i],n=e.clippedBBox(),n&&r.push({element:e,bbox:n});return r}function w(t,e,n,i){var r,o,s,a,h;if(t.length>1)for(r=t[0].bbox,o=new U,h=1;t.length>h;h++)s=t[h].element,a=t[h].bbox,o[e]=r.origin[e]+r.size[i],o[n]=a.origin[n],T(o,a,s),a.origin[e]=o[e],r=a}function b(t,e,n,i,r){var o,s,a;for(n=n||\"start\",a=0;t.length>a;a++)o=t[a].clippedBBox(),o&&(s=o.origin.clone(),s[i]=_(o.size[r],e,n,i,r),T(s,o,t[a]))}function _(t,e,n,i,r){var o;return o=n==mt?e.origin[i]:n==gt?e.origin[i]+e.size[r]-t:e.origin[i]+(e.size[r]-t)/2}function C(t,e,n){var i=n.transform()||X.transform(),r=i.matrix();r.e+=t,r.f+=e,i.matrix(r),n.transform(i)}function T(t,e,n){C(t.x-e.origin.x,t.y-e.origin.y,n)}var k,S,E,P,A,O,N,R,z,B,M,D,L,I,F,G,j,H=window.kendo,q=H.Class,$=H.deepExtend,X=H.geometry,U=X.Point,Y=X.Size,V=X.Matrix,W=X.toMatrix,Q=H.drawing,Z=Q.OptionsStore,J=Math,K=J.pow,tt=H.util,et=tt.append,nt=tt.arrayLimits,it=tt.defined,rt=tt.last,ot=tt.valueOrDefault,st=H.mixins.ObserversMixin,at=t.inArray,ht=[].push,lt=[].pop,ct=[].splice,ut=[].shift,ft=[].slice,dt=[].unshift,pt=1,mt=\"start\",gt=\"end\",vt=\"horizontal\",xt=q.extend({nodeType:\"Element\",init:function(t){this._initOptions(t)},_initOptions:function(t){var e,n;t=t||{},e=t.transform,n=t.clip,e&&(t.transform=X.transform(e)),n&&!n.id&&(n.id=l()),this.options=new Z(t),this.options.addObserver(this)},transform:function(t){return it(t)?void this.options.set(\"transform\",X.transform(t)):this.options.get(\"transform\")},parentTransform:function(){for(var t,e,n=this;n.parent;)n=n.parent,t=n.transform(),t&&(e=t.matrix().multiplyCopy(e||V.unit()));return e?X.transform(e):void 0},currentTransform:function(t){var e,n,i=this.transform(),r=W(i);return it(t)||(t=this.parentTransform()),e=W(t),n=r&&e?e.multiplyCopy(r):r||e,n?X.transform(n):void 0},visible:function(t){return it(t)?(this.options.set(\"visible\",t),this):this.options.get(\"visible\")!==!1},clip:function(t){var e=this.options;return it(t)?(t&&!t.id&&(t.id=l()),e.set(\"clip\",t),this):e.get(\"clip\")},opacity:function(t){return it(t)?(this.options.set(\"opacity\",t),this):ot(this.options.get(\"opacity\"),1)},clippedBBox:function(t){var e,n=this._clippedBBox(t);return n?(e=this.clip(),e?X.Rect.intersect(n,e.bbox(t)):n):void 0},containsPoint:function(t,e){if(this.visible()){var n=this.currentTransform(e);return n&&(t=t.transformCopy(n.matrix().invert())),this._hasFill()&&this._containsPoint(t)||this._isOnPath&&this._hasStroke()&&this._isOnPath(t)}return!1},_hasFill:function(){var t=this.options.fill;return t&&!tt.isTransparent(t.color)},_hasStroke:function(){var t=this.options.stroke;return t&&t.width>0&&!tt.isTransparent(t.color)},_clippedBBox:function(t){return this.bbox(t)}});$(xt.fn,st),k=q.extend({init:function(t){t=t||[],this.length=0,this._splice(0,t.length,t)},elements:function(t){return t?(this._splice(0,this.length,t),this._change(),this):this.slice(0)},push:function(){var t=arguments,e=ht.apply(this,t);return this._add(t),e},slice:ft,pop:function(){var t=this.length,e=lt.apply(this);return t&&this._remove([e]),e},splice:function(t,e){var n=ft.call(arguments,2),i=this._splice(t,e,n);return this._change(),i},shift:function(){var t=this.length,e=ut.apply(this);return t&&this._remove([e]),e},unshift:function(){var t=arguments,e=dt.apply(this,t);return this._add(t),e},indexOf:function(t){var e,n,i=this;for(e=0,n=i.length;n>e;e++)if(i[e]===t)return e;return-1},_splice:function(t,e,n){var i=ct.apply(this,[t,e].concat(n));return this._clearObserver(i),this._setObserver(n),i},_add:function(t){this._setObserver(t),this._change()},_remove:function(t){this._clearObserver(t),this._change()},_setObserver:function(t){for(var e=0;t.length>e;e++)t[e].addObserver(this)},_clearObserver:function(t){for(var e=0;t.length>e;e++)t[e].removeObserver(this)},_change:function(){}}),$(k.fn,st),S=xt.extend({nodeType:\"Group\",init:function(t){xt.fn.init.call(this,t),this.children=[]},childrenChange:function(t,e,n){this.trigger(\"childrenChange\",{action:t,items:e,index:n})},append:function(){return et(this.children,arguments),this._reparent(arguments,this),this.childrenChange(\"add\",arguments),this},insert:function(t,e){return this.children.splice(t,0,e),e.parent=this,this.childrenChange(\"add\",[e],t),this},insertAt:function(t,e){return this.insert(e,t)},remove:function(t){var e=at(t,this.children);return e>=0&&(this.children.splice(e,1),t.parent=null,this.childrenChange(\"remove\",[t],e)),this},removeAt:function(t){if(t>=0&&this.children.length>t){var e=this.children[t];this.children.splice(t,1),e.parent=null,this.childrenChange(\"remove\",[e],t)}return this},clear:function(){var t=this.children;return this.children=[],this._reparent(t,null),this.childrenChange(\"remove\",t,0),this},bbox:function(t){return e(this.children,!0,this.currentTransform(t))},rawBBox:function(){return e(this.children,!1)},_clippedBBox:function(t){return n(this.children,this.currentTransform(t))},currentTransform:function(t){return xt.fn.currentTransform.call(this,t)||null},containsPoint:function(t,e){var n,i,r;if(this.visible())for(n=this.children,i=this.currentTransform(e),r=0;n.length>r;r++)if(n[r].containsPoint(t,i))return!0;return!1},_reparent:function(t,e){var n,i,r;for(n=0;t.length>n;n++)i=t[n],r=i.parent,r&&r!=this&&r.remove&&r.remove(i),i.parent=e}}),Q.mixins.Traversable.extend(S.fn,\"children\"),E=xt.extend({nodeType:\"Text\",init:function(t,e,n){xt.fn.init.call(this,n),this.content(t),this.position(e||new X.Point),this.options.font||(this.options.font=\"12px sans-serif\"),it(this.options.fill)||this.fill(\"#000\")},content:function(t){return it(t)?(this.options.set(\"content\",t),this):this.options.get(\"content\")},measure:function(){var t=tt.measureText(this.content(),{font:this.options.get(\"font\")});return t},rect:function(){var t=this.measure(),e=this.position().clone();return new X.Rect(e,[t.width,t.height])},bbox:function(t){var e=W(this.currentTransform(t));return this.rect().bbox(e)},rawBBox:function(){return this.rect().bbox()},_containsPoint:function(t){return this.rect().containsPoint(t)}}),Q.mixins.Paintable.extend(E.fn),o(E.fn,[\"position\"]),P=xt.extend({nodeType:\"Circle\",init:function(t,e){xt.fn.init.call(this,e),this.geometry(t||new X.Circle),it(this.options.stroke)||this.stroke(\"#000\")},_bbox:function(t){return this._geometry.bbox(t)},rawBBox:function(){return this._geometry.bbox()},_containsPoint:function(t){return this.geometry().containsPoint(t)},_isOnPath:function(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)}}),Q.mixins.Paintable.extend(P.fn),Q.mixins.Measurable.extend(P.fn),i(P.fn,[\"geometry\"]),A=xt.extend({nodeType:\"Arc\",init:function(t,e){xt.fn.init.call(this,e),this.geometry(t||new X.Arc),it(this.options.stroke)||this.stroke(\"#000\")},_bbox:function(t){return this._geometry.bbox(t)},rawBBox:function(){return this.geometry().bbox()},toPath:function(){var t,e=new R,n=this.geometry().curvePoints();if(n.length>0)for(e.moveTo(n[0].x,n[0].y),t=1;n.length>t;t+=3)e.curveTo(n[t],n[t+1],n[t+2]);return e},_containsPoint:function(t){return this.geometry().containsPoint(t)},_isOnPath:function(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)}}),Q.mixins.Paintable.extend(A.fn),Q.mixins.Measurable.extend(A.fn),i(A.fn,[\"geometry\"]),O=k.extend({_change:function(){this.geometryChange()}}),N=q.extend({init:function(t,e,n){this.anchor(t||new U),this.controlIn(e),this.controlOut(n)},bboxTo:function(t,e){var n,i=this.anchor().transformCopy(e),r=t.anchor().transformCopy(e);return n=this.controlOut()&&t.controlIn()?this._curveBoundingBox(i,this.controlOut().transformCopy(e),t.controlIn().transformCopy(e),r):this._lineBoundingBox(i,r)},_lineBoundingBox:function(t,e){return X.Rect.fromPoints(t,e)},_curveBoundingBox:function(t,e,n,i){var r=[t,e,n,i],o=this._curveExtremesFor(r,\"x\"),s=this._curveExtremesFor(r,\"y\"),a=nt([o.min,o.max,t.x,i.x]),h=nt([s.min,s.max,t.y,i.y]);return X.Rect.fromPoints(new U(a.min,h.min),new U(a.max,h.max))},_curveExtremesFor:function(t,e){var n=this._curveExtremes(t[0][e],t[1][e],t[2][e],t[3][e]);return{min:this._calculateCurveAt(n.min,e,t),max:this._calculateCurveAt(n.max,e,t)}},_calculateCurveAt:function(t,e,n){var i=1-t;return K(i,3)*n[0][e]+3*K(i,2)*t*n[1][e]+3*K(t,2)*i*n[2][e]+K(t,3)*n[3][e]},_curveExtremes:function(t,e,n,i){var r,o,s=t-3*e+3*n-i,a=-2*(t-2*e+n),h=t-e,l=J.sqrt(a*a-4*s*h),c=0,u=1;return 0===s?0!==a&&(c=u=-h/a):isNaN(l)||(c=(-a+l)/(2*s),u=(-a-l)/(2*s)),r=J.max(J.min(c,u),0),(0>r||r>1)&&(r=0),o=J.min(J.max(c,u),1),(o>1||0>o)&&(o=1),{min:r,max:o}},_intersectionsTo:function(t,e){var n;return n=this.controlOut()&&t.controlIn()?X.curveIntersectionsCount([this.anchor(),this.controlOut(),t.controlIn(),t.anchor()],e,this.bboxTo(t)):X.lineIntersectionsCount(this.anchor(),t.anchor(),e)},_isOnCurveTo:function(t,e,n,i){var r,o,s,a,h,l,c,u,f=this.bboxTo(t).expand(n,n);return f.containsPoint(e)?(r=this.anchor(),o=this.controlOut(),s=t.controlIn(),a=t.anchor(),\"start\"==i&&r.distanceTo(e)<=n?!X.isOutOfEndPoint(r,o,e):\"end\"==i&&a.distanceTo(e)<=n?!X.isOutOfEndPoint(a,s,e):(h=X.hasRootsInRange,l=[r,o,s,a],h(l,e,\"x\",\"y\",n)||h(l,e,\"y\",\"x\",n)?!0:(c=X.transform().rotate(45,e),u=[r.transformCopy(c),o.transformCopy(c),s.transformCopy(c),a.transformCopy(c)],h(u,e,\"x\",\"y\",n)||h(u,e,\"y\",\"x\",n)))):void 0},_isOnLineTo:function(t,e,n){var i=this.anchor(),r=t.anchor(),o=tt.deg(J.atan2(r.y-i.y,r.x-i.x)),s=new X.Rect([i.x,i.y-n/2],[i.distanceTo(r),n]);return s.containsPoint(e.transformCopy(X.transform().rotate(-o,i)))},_isOnPathTo:function(t,e,n,i){var r;return r=this.controlOut()&&t.controlIn()?this._isOnCurveTo(t,e,n/2,i):this._isOnLineTo(t,e,n)}}),o(N.fn,[\"anchor\",\"controlIn\",\"controlOut\"]),$(N.fn,st),R=xt.extend({nodeType:\"Path\",init:function(t){xt.fn.init.call(this,t),this.segments=new O,this.segments.addObserver(this),it(this.options.stroke)||(this.stroke(\"#000\"),it(this.options.stroke.lineJoin)||this.options.set(\"stroke.lineJoin\",\"miter\"))},moveTo:function(t,e){return this.suspend(),this.segments.elements([]),this.resume(),this.lineTo(t,e),this},lineTo:function(t,e){var n=it(e)?new U(t,e):t,i=new N(n);return this.segments.push(i),this},curveTo:function(t,e,n){var i,r;return this.segments.length>0&&(i=rt(this.segments),r=new N(n,e),this.suspend(),i.controlOut(t),this.resume(),this.segments.push(r)),this},arc:function(t,e,n,i,r){var o,s,a,h,l;return this.segments.length>0&&(o=rt(this.segments),s=o.anchor(),a=tt.rad(t),h=new U(s.x-n*J.cos(a),s.y-i*J.sin(a)),l=new X.Arc(h,{startAngle:t,endAngle:e,radiusX:n,radiusY:i,anticlockwise:r}),this._addArcSegments(l)),this},arcTo:function(t,e,n,i,r){var o,s,a;return this.segments.length>0&&(o=rt(this.segments),s=o.anchor(),a=X.Arc.fromPoints(s,t,e,n,i,r),this._addArcSegments(a)),this},_addArcSegments:function(t){var e,n;for(this.suspend(),e=t.curvePoints(),n=1;e.length>n;n+=3)this.curveTo(e[n],e[n+1],e[n+2]);this.resume(),this.geometryChange()},close:function(){return this.options.closed=!0,this.geometryChange(),this},rawBBox:function(){return this._bbox()},_containsPoint:function(t){var e,n,i,r=this.segments,o=r.length,s=0;for(i=1;o>i;i++)e=r[i-1],n=r[i],s+=e._intersectionsTo(n,t);return(this.options.closed||!r[0].anchor().equals(r[o-1].anchor()))&&(s+=X.lineIntersectionsCount(r[0].anchor(),r[o-1].anchor(),t)),s%2!==0},_isOnPath:function(t,e){var n,i=this.segments,r=i.length;if(e=e||this.options.stroke.width,r>1){if(i[0]._isOnPathTo(i[1],t,e,\"start\"))return!0;for(n=2;r-2>=n;n++)if(i[n-1]._isOnPathTo(i[n],t,e))return!0;if(i[r-2]._isOnPathTo(i[r-1],t,e,\"end\"))return!0}return!1},_bbox:function(t){var e,n,i,r,o=this.segments,s=o.length;if(1===s)n=o[0].anchor().transformCopy(t),e=new X.Rect(n,Y.ZERO);else if(s>0)for(i=1;s>i;i++)r=o[i-1].bboxTo(o[i],t),e=e?X.Rect.union(e,r):r;return e}}),Q.mixins.Paintable.extend(R.fn),Q.mixins.Measurable.extend(R.fn),R.fromRect=function(t,e){return new R(e).moveTo(t.topLeft()).lineTo(t.topRight()).lineTo(t.bottomRight()).lineTo(t.bottomLeft()).close()},R.fromPoints=function(t,e){var n,i,r;if(t){for(n=new R(e),i=0;t.length>i;i++)r=U.create(t[i]),r&&(0===i?n.moveTo(r):n.lineTo(r));return n}},R.fromArc=function(t,e){var n=new R(e),i=t.startAngle,r=t.pointAt(i);return n.moveTo(r.x,r.y),n.arc(i,t.endAngle,t.radiusX,t.radiusY,t.anticlockwise),n},z=xt.extend({nodeType:\"MultiPath\",init:function(t){xt.fn.init.call(this,t),this.paths=new O,this.paths.addObserver(this),it(this.options.stroke)||this.stroke(\"#000\")},moveTo:function(t,e){var n=new R;return n.moveTo(t,e),this.paths.push(n),this},lineTo:function(t,e){return this.paths.length>0&&rt(this.paths).lineTo(t,e),this},curveTo:function(t,e,n){return this.paths.length>0&&rt(this.paths).curveTo(t,e,n),this},arc:function(t,e,n,i,r){return this.paths.length>0&&rt(this.paths).arc(t,e,n,i,r),this},arcTo:function(t,e,n,i,r){return this.paths.length>0&&rt(this.paths).arcTo(t,e,n,i,r),this},close:function(){return this.paths.length>0&&rt(this.paths).close(),this},_bbox:function(t){return e(this.paths,!0,t)},rawBBox:function(){return e(this.paths,!1)},_containsPoint:function(t){var e,n=this.paths;for(e=0;n.length>e;e++)if(n[e]._containsPoint(t))return!0;return!1},_isOnPath:function(t){var e,n=this.paths,i=this.options.stroke.width;for(e=0;n.length>e;e++)if(n[e]._isOnPath(t,i))return!0;return!1},_clippedBBox:function(t){return n(this.paths,this.currentTransform(t))}}),Q.mixins.Paintable.extend(z.fn),Q.mixins.Measurable.extend(z.fn),B=xt.extend({nodeType:\"Image\",init:function(t,e,n){xt.fn.init.call(this,n),this.src(t),this.rect(e||new X.Rect)},src:function(t){return it(t)?(this.options.set(\"src\",t),this):this.options.get(\"src\")},bbox:function(t){var e=W(this.currentTransform(t));return this._rect.bbox(e)},rawBBox:function(){return this._rect.bbox()},_containsPoint:function(t){return this._rect.containsPoint(t)},_hasFill:function(){return this.src()}}),i(B.fn,[\"rect\"]),M=q.extend({init:function(t,e,n){this.options=new Z({offset:t,color:e,opacity:it(n)?n:1}),this.options.addObserver(this)}}),a(M.fn,[\"offset\",\"color\",\"opacity\"]),$(M.fn,st),M.create=function(t){if(it(t)){var e;return e=t instanceof M?t:t.length>1?new M(t[0],t[1],t[2]):new M(t.offset,t.color,t.opacity)}},D=k.extend({_change:function(){this.optionsChange({field:\"stops\"})}}),L=q.extend({nodeType:\"gradient\",init:function(t){this.stops=new D(this._createStops(t.stops)),this.stops.addObserver(this),this._userSpace=t.userSpace,this.id=l()},userSpace:function(t){return it(t)?(this._userSpace=t,this.optionsChange(),this):this._userSpace},_createStops:function(t){var e,n=[];for(t=t||[],e=0;t.length>e;e++)n.push(M.create(t[e]));return n},addStop:function(t,e,n){this.stops.push(new M(t,e,n))},removeStop:function(t){var e=this.stops.indexOf(t);e>=0&&this.stops.splice(e,1)}}),$(L.fn,st,{optionsChange:function(t){this.trigger(\"optionsChange\",{field:\"gradient\"+(t?\".\"+t.field:\"\"),value:this})},geometryChange:function(){this.optionsChange()}}),I=L.extend({init:function(t){t=t||{},L.fn.init.call(this,t),this.start(t.start||new U),this.end(t.end||new U(1,0))}}),o(I.fn,[\"start\",\"end\"]),F=L.extend({init:function(t){t=t||{},L.fn.init.call(this,t),this.center(t.center||new U),this._radius=it(t.radius)?t.radius:1,this._fallbackFill=t.fallbackFill},radius:function(t){return it(t)?(this._radius=t,this.geometryChange(),this):this._radius},fallbackFill:function(t){return it(t)?(this._fallbackFill=t,this.optionsChange(),this):this._fallbackFill}}),o(F.fn,[\"center\"]),G=xt.extend({nodeType:\"Rect\",init:function(t,e){xt.fn.init.call(this,e),this.geometry(t||new X.Rect),it(this.options.stroke)||this.stroke(\"#000\")},_bbox:function(t){return this._geometry.bbox(t)},rawBBox:function(){return this._geometry.bbox()},_containsPoint:function(t){return this._geometry.containsPoint(t)},_isOnPath:function(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)}}),Q.mixins.Paintable.extend(G.fn),Q.mixins.Measurable.extend(G.fn),i(G.fn,[\"geometry\"]),j=S.extend({init:function(t,e){S.fn.init.call(this,H.deepExtend({},this._defaults,e)),this._rect=t,this._fieldMap={}},_defaults:{alignContent:mt,justifyContent:mt,alignItems:mt,spacing:0,orientation:vt,lineSpacing:0,wrap:!0},rect:function(t){return t?(this._rect=t,this):this._rect},_initMap:function(){var t=this.options,e=this._fieldMap;t.orientation==vt?(e.sizeField=\"width\",e.groupsSizeField=\"height\",e.groupAxis=\"x\",e.groupsAxis=\"y\"):(e.sizeField=\"height\",e.groupsSizeField=\"width\",e.groupAxis=\"y\",e.groupsAxis=\"x\")},reflow:function(){var t,e,n,i,r,o,s,a,h,l,c,u,f,d,p,m,g,v,x,y,w,b,C,k,S,E;if(this._rect&&0!==this.children.length){for(this._initMap(),this.options.transform&&this.transform(null),t=this.options,e=this._fieldMap,n=this._rect,i=this._initGroups(),r=i.groups,o=i.groupsSize,s=e.sizeField,a=e.groupsSizeField,h=e.groupAxis,l=e.groupsAxis,c=_(o,n,t.alignContent,l,a),u=new U,f=new U,d=new X.Size,y=0;r.length>y;y++){for(v=r[y],u[h]=p=_(v.size,n,t.justifyContent,h,s),u[l]=c,d[s]=v.size,d[a]=v.lineSize,x=new X.Rect(u,d),w=0;v.bboxes.length>w;w++)g=v.elements[w],m=v.bboxes[w],f[h]=p,f[l]=_(m.size[a],x,t.alignItems,l,a),T(f,m,g),p+=m.size[s]+t.spacing;c+=v.lineSize+t.lineSpacing}!t.wrap&&v.size>n.size[s]&&(b=n.size[s]/x.size[s],C=x.topLeft().scale(b,b),k=x.size[a]*b,S=_(k,n,t.alignContent,l,a),E=X.transform(),\"x\"===h?E.translate(n.origin.x-C.x,S-C.y):E.translate(S-C.x,n.origin.y-C.y),E.scale(b,b),this.transform(E))}},_initGroups:function(){var t,e,n,i=this.options,r=this.children,o=i.lineSpacing,s=this._fieldMap.sizeField,a=-o,h=[],l=this._newGroup(),c=function(){h.push(l),a+=l.lineSize+o};for(n=0;r.length>n;n++)e=r[n],t=r[n].clippedBBox(),e.visible()&&t&&(i.wrap&&l.size+t.size[s]+i.spacing>this._rect.size[s]?0===l.bboxes.length?(this._addToGroup(l,t,e),c(),l=this._newGroup()):(c(),l=this._newGroup(),this._addToGroup(l,t,e)):this._addToGroup(l,t,e));return l.bboxes.length&&c(),{groups:h,groupsSize:a}},_addToGroup:function(t,e,n){t.size+=e.size[this._fieldMap.sizeField]+this.options.spacing,t.lineSize=Math.max(e.size[this._fieldMap.groupsSizeField],t.lineSize),t.bboxes.push(e),t.elements.push(n)},_newGroup:function(){return{lineSize:0,size:-this.options.spacing,bboxes:[],elements:[]}}}),$(Q,{align:c,Arc:A,Circle:P,Element:xt,ElementsArray:k,fit:v,Gradient:L,GradientStop:M,Group:S,Image:B,Layout:j,LinearGradient:I,MultiPath:z,Path:R,RadialGradient:F,Rect:G,Segment:N,stack:f,Text:E,vAlign:u,vStack:d,vWrap:m,wrap:p})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/parser.min\",[\"drawing/shapes.min\"],t)}(function(){!function(t){function e(t){var e=[];return t.replace(m,function(t,n){e.push(parseFloat(n))}),e}function n(t,e,n){var i,r=e?0:1;for(i=0;t.length>i;i+=2)t.splice(i+r,0,n)}function i(t,e){return t&&e?e.scaleCopy(2).translate(-t.x,-t.y):void 0}function r(t,e,n){var i=1/3;return e=e.clone().scale(2/3),{controlOut:e.clone().translateWith(t.scaleCopy(i)),controlIn:e.translateWith(n.scaleCopy(i))}}var o=window.kendo,s=o.drawing,a=o.geometry,h=o.Class,l=a.Point,c=o.deepExtend,u=t.trim,f=o.util,d=f.last,p=/([a-df-z]{1})([^a-df-z]*)(z)?/gi,m=/[,\\s]?([+\\-]?(?:\\d*\\.\\d+|\\d+)(?:[eE][+\\-]?\\d+)?)/g,g=\"m\",v=\"z\",x=h.extend({parse:function(t,n){var i,r=new s.MultiPath(n),o=new l;return t.replace(p,function(t,n,s,a){var h=n.toLowerCase(),l=h===n,c=e(u(s));if(h===g&&(l?(o.x+=c[0],o.y+=c[1]):(o.x=c[0],o.y=c[1]),r.moveTo(o.x,o.y),c.length>2&&(h=\"l\",c.splice(0,2))),y[h])y[h](r,{parameters:c,position:o,isRelative:l,previousCommand:i}),a&&a.toLowerCase()===v&&r.close();else if(h!==g)throw Error(\"Error while parsing SVG path. Unsupported command: \"+h);i=h}),r}}),y={l:function(t,e){var n,i,r=e.parameters,o=e.position;for(n=0;r.length>n;n+=2)i=new l(r[n],r[n+1]),e.isRelative&&i.translateWith(o),t.lineTo(i.x,i.y),o.x=i.x,o.y=i.y},c:function(t,e){var n,i,r,o,s=e.parameters,a=e.position;for(o=0;s.length>o;o+=6)n=new l(s[o],s[o+1]),i=new l(s[o+2],s[o+3]),r=new l(s[o+4],s[o+5]),e.isRelative&&(i.translateWith(a),n.translateWith(a),r.translateWith(a)),t.curveTo(n,i,r),a.x=r.x,a.y=r.y},v:function(t,e){var i=e.isRelative?0:e.position.x;n(e.parameters,!0,i),this.l(t,e)},h:function(t,e){var i=e.isRelative?0:e.position.y;n(e.parameters,!1,i),this.l(t,e)},a:function(t,e){var n,i,r,o,s,a,h=e.parameters,c=e.position;for(n=0;h.length>n;n+=7)i=h[n],r=h[n+1],o=h[n+3],s=h[n+4],a=new l(h[n+5],h[n+6]),e.isRelative&&a.translateWith(c),t.arcTo(a,i,r,o,s),c.x=a.x,c.y=a.y},s:function(t,e){var n,r,o,s,a,h=e.parameters,c=e.position,u=e.previousCommand;for((\"s\"==u||\"c\"==u)&&(s=d(d(t.paths).segments).controlIn()),a=0;h.length>a;a+=4)o=new l(h[a],h[a+1]),r=new l(h[a+2],h[a+3]),e.isRelative&&(o.translateWith(c),r.translateWith(c)),n=s?i(s,c):c.clone(),s=o,t.curveTo(n,o,r),c.x=r.x,c.y=r.y},q:function(t,e){var n,i,o,s,a=e.parameters,h=e.position;for(s=0;a.length>s;s+=4)o=new l(a[s],a[s+1]),i=new l(a[s+2],a[s+3]),e.isRelative&&(o.translateWith(h),i.translateWith(h)),n=r(h,o,i),t.curveTo(n.controlOut,n.controlIn,i),h.x=i.x,h.y=i.y},t:function(t,e){var n,o,s,a,h,c=e.parameters,u=e.position,f=e.previousCommand;for((\"q\"==f||\"t\"==f)&&(a=d(d(t.paths).segments),o=a.controlIn().clone().translateWith(u.scaleCopy(-1/3)).scale(1.5)),h=0;c.length>h;h+=2)s=new l(c[h],c[h+1]),e.isRelative&&s.translateWith(u),o=o?i(o,u):u.clone(),n=r(u,o,s),t.curveTo(n.controlOut,n.controlIn,s),u.x=s.x,u.y=s.y}};x.current=new x,s.Path.parse=function(t,e){return x.current.parse(t,e)},c(s,{PathParser:x})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/search.min\",[\"drawing/shapes.min\"],t)}(function(){!function(t){function e(t,e){return e._zIndex>t._zIndex?1:t._zIndex>e._zIndex?-1:0}var n=window.kendo,i=n.drawing,r=n.geometry,o=n.Class,s=r.Rect,a=n.deepExtend,h=t.isArray,l=t.inArray,c=Math,u=1e4,f=75,d=o.extend({init:function(){this.shapes=[]},_add:function(t,e){this.shapes.push({bbox:e,shape:t}),t._quadNode=this},pointShapes:function(t){var e,n=this.shapes,i=n.length,r=[];for(e=0;i>e;e++)n[e].bbox.containsPoint(t)&&r.push(n[e].shape);return r},insert:function(t,e){this._add(t,e)},remove:function(t){var e,n=this.shapes,i=n.length;for(e=0;i>e;e++)if(n[e].shape===t){n.splice(e,1);break}}}),p=d.extend({init:function(t){d.fn.init.call(this),this.children=[],this.rect=t},inBounds:function(t){var e=this.rect,n=e.bottomRight(),i=t.bottomRight(),r=t.origin.x>=e.origin.x&&t.origin.y>=e.origin.y&&n.x>=i.x&&n.y>=i.y;return r},pointShapes:function(t){var e,n=this.children,i=n.length,r=d.fn.pointShapes.call(this,t);for(e=0;i>e;e++)r=r.concat(n[e].pointShapes(t));return r},insert:function(t,e){var n,i=!1,r=this.children,o=r.length;if(this.inBounds(e)){if(!o&&4>this.shapes.length)this._add(t,e);else{for(o||this._initChildren(),n=0;r.length>n;n++)if(r[n].insert(t,e)){i=!0;break}i||this._add(t,e)}i=!0}return i},_initChildren:function(){var t,e,n=this.rect,i=this.children,r=this.shapes,o=n.center(),a=n.width()/2,h=n.height()/2;for(i.push(new p(new s(n.origin.x,n.origin.y,a,h)),new p(new s(o.x,n.origin.y,a,h)),new p(new s(n.origin.x,o.y,a,h)),new p(new s(o.x,o.y,a,h))),e=r.length-1;e>=0;e--)for(t=0;i.length>t;t++)if(i[t].insert(r[e].shape,r[e].bbox)){r.splice(e,1);break}}}),m=o.extend({ROOT_SIZE:1e3,init:function(){this.initRoots()},initRoots:function(){this.rootMap={},this.root=new d,this.rootElements=[]},clear:function(){var t,e=this,n=e.rootElements;for(t=0;n.length>t;t++)this.remove(n[t]);this.initRoots()},pointShape:function(t){var n,i=this.ROOT_SIZE,r=this.root.pointShapes(t),o=(this.rootMap[c.floor(t.x/i)]||{})[c.floor(t.y/i)];for(o&&(r=r.concat(o.pointShapes(t))),this.assignZindex(r),r.sort(e),n=0;r.length>n;n++)if(r[n].containsPoint(t))return r[n]},assignZindex:function(t){var e,n,i,r,o;for(o=0;t.length>o;o++){for(e=t[o],i=0,n=c.pow(u,f),r=[];e;)r.push(e),e=e.parent;for(;r.length;)e=r.pop(),i+=(l(e,e.parent?e.parent.children:this.rootElements)+1)*n,n/=u;t[o]._zIndex=i}},optionsChange:function(t){(\"transform\"==t.field||\"stroke.width\"==t.field)&&this.bboxChange(t.element)},geometryChange:function(t){this.bboxChange(t.element)},bboxChange:function(t){if(\"Group\"===t.nodeType)for(var e=0;t.children.length>e;e++)this.bboxChange(t.children[e]);else t._quadNode&&(t._quadNode.remove(t),this._insertShape(t))},add:function(t){var e=h(t)?t.slice(0):[t];this.rootElements.push.apply(this.rootElements,e),this._insert(e)},childrenChange:function(t){if(\"remove\"==t.action)for(var e=0;t.items.length>e;e++)this.remove(t.items[e]);else this._insert(Array.prototype.slice.call(t.items,0))},_insert:function(t){for(var e;t.length>0;)e=t.pop(),e.addObserver(this),\"Group\"==e.nodeType?t.push.apply(t,e.children):this._insertShape(e)},_insertShape:function(t){var e=t.bbox(),n=this.ROOT_SIZE,i=this.getSectors(e),r=i[0][0],o=i[1][0];this.inRoot(i)?this.root.insert(t,e):(this.rootMap[r]||(this.rootMap[r]={}),this.rootMap[r][o]||(this.rootMap[r][o]=new p(new s([r*n,o*n],[n,n]))),this.rootMap[r][o].insert(t,e))},remove:function(t){var e,n;if(t.removeObserver(this),\"Group\"==t.nodeType)for(e=t.children,n=0;e.length>n;n++)this.remove(e[n]);else t._quadNode&&(t._quadNode.remove(t),delete t._quadNode)},inRoot:function(t){return t[0].length>1||t[1].length>1},getSectors:function(t){var e,n,i=this.ROOT_SIZE,r=t.bottomRight(),o=c.floor(r.x/i),s=c.floor(r.y/i),a=[[],[]];for(e=c.floor(t.origin.x/i);o>=e;e++)a[0].push(e);for(n=c.floor(t.origin.y/i);s>=n;n++)a[1].push(n);return a}});a(i,{ShapesQuadTree:m})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/svg.min\",[\"drawing/shapes.min\",\"util/main.min\"],t)}(function(){!function(t){function e(t){var e,n,i,r;try{e=t.getScreenCTM?t.getScreenCTM():null}catch(o){}e&&(n=-e.e%1,i=-e.f%1,r=t.style,(0!==n||0!==i)&&(r.left=n+\"px\",r.top=i+\"px\"))}function n(){var t=document.getElementsByTagName(\"base\")[0],e=\"\",n=document.location.href,i=n.indexOf(\"#\");return t&&!c.support.browser.msie&&(-1!==i&&(n=n.substring(0,i)),e=n),e}function i(t){return\"url(\"+n()+\"#\"+t+\")\"}function r(t){var e,n,i,r=new B,o=t.clippedBBox();return o&&(e=o.getOrigin(),n=new d.Group,n.transform(f.transform().translate(-e.x,-e.y)),n.children.push(t),t=n),r.load([t]),i=\"<?xml version='1.0' ?><svg xmlns='\"+A+\"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>\"+r.render()+\"</svg>\",r.destroy(),i}function o(e,n){var i=r(e);return n&&n.raw||(i=\"data:image/svg+xml;base64,\"+m.encodeBase64(i)),t.Deferred().resolve(i).promise()}function s(t,e){return\"clip\"==t||\"fill\"==t&&(!e||e.nodeType==T)}function a(t){if(!t||!t.indexOf||t.indexOf(\"&\")<0)return t;var e=a._element;return e.innerHTML=t,e.textContent||e.innerText}var h,l=document,c=window.kendo,u=c.deepExtend,f=c.geometry,d=c.drawing,p=d.BaseNode,m=c.util,g=m.defined,v=m.isTransparent,x=m.renderAttr,y=m.renderAllAttr,w=m.renderTemplate,b=t.inArray,_=\"butt\",C=d.DASH_ARRAYS,T=\"gradient\",k=\"none\",S=\".kendo\",E=\"solid\",P=\" \",A=\"http://www.w3.org/2000/svg\",O=\"transform\",N=\"undefined\",R=d.Surface.extend({init:function(t,n){d.Surface.fn.init.call(this,t,n),this._root=new B(this.options),Q(this.element[0],this._template(this)),this._rootElement=this.element[0].firstElementChild,e(this._rootElement),this._root.attachTo(this._rootElement),this.element.on(\"click\"+S,this._click),this.element.on(\"mouseover\"+S,this._mouseenter),this.element.on(\"mouseout\"+S,this._mouseleave),this.element.on(\"mousemove\"+S,this._mousemove),this.resize()},type:\"svg\",destroy:function(){this._root&&(this._root.destroy(),this._root=null,this._rootElement=null,this.element.off(S)),d.Surface.fn.destroy.call(this);\r\n},translate:function(t){var e=c.format(\"{0} {1} {2} {3}\",Math.round(t.x),Math.round(t.y),this._size.width,this._size.height);this._offset=t,this._rootElement.setAttribute(\"viewBox\",e)},draw:function(t){d.Surface.fn.draw.call(this,t),this._root.load([t])},clear:function(){d.Surface.fn.clear.call(this),this._root.clear()},svg:function(){return\"<?xml version='1.0' ?>\"+this._template(this)},exportVisual:function(){var t,e=this._visual,n=this._offset;return n&&(t=new d.Group,t.children.push(e),t.transform(f.transform().translate(-n.x,-n.y)),e=t),e},_resize:function(){this._offset&&this.translate(this._offset)},_template:w(\"<svg style='width: 100%; height: 100%; overflow: hidden;' xmlns='\"+A+\"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>#= d._root.render() #</svg>\")}),z=p.extend({init:function(t){p.fn.init.call(this,t),this.definitions={}},destroy:function(){this.element&&(this.element._kendoNode=null,this.element=null),this.clearDefinitions(),p.fn.destroy.call(this)},load:function(t,e){var n,i,r,o,s=this,a=s.element;for(o=0;t.length>o;o++)i=t[o],r=i.children,n=new W[i.nodeType](i),g(e)?s.insertAt(n,e):s.append(n),n.createDefinitions(),r&&r.length>0&&n.load(r),a&&n.attachTo(a,e)},root:function(){for(var t=this;t.parent;)t=t.parent;return t},attachTo:function(t,e){var n,i=l.createElement(\"div\");Q(i,\"<svg xmlns='\"+A+\"' version='1.1'>\"+this.render()+\"</svg>\"),n=i.firstChild.firstChild,n&&(g(e)?t.insertBefore(n,t.childNodes[e]||null):t.appendChild(n),this.setElement(n))},setElement:function(t){var e,n,i=this.childNodes;for(this.element&&(this.element._kendoNode=null),this.element=t,this.element._kendoNode=this,n=0;i.length>n;n++)e=t.childNodes[n],i[n].setElement(e)},clear:function(){var t,e;for(this.clearDefinitions(),this.element&&(this.element.innerHTML=\"\"),t=this.childNodes,e=0;t.length>e;e++)t[e].destroy();this.childNodes=[]},removeSelf:function(){if(this.element){var t=this.element.parentNode;t&&t.removeChild(this.element),this.element=null}p.fn.removeSelf.call(this)},template:w(\"#= d.renderChildren() #\"),render:function(){return this.template(this)},renderChildren:function(){var t,e=this.childNodes,n=\"\";for(t=0;e.length>t;t++)n+=e[t].render();return n},optionsChange:function(t){var e=t.field,n=t.value;\"visible\"===e?this.css(\"display\",n?\"\":k):h[e]&&s(e,n)?this.updateDefinition(e,n):\"opacity\"===e&&this.attr(\"opacity\",n),p.fn.optionsChange.call(this,t)},attr:function(t,e){this.element&&this.element.setAttribute(t,e)},allAttr:function(t){for(var e=0;t.length>e;e++)this.attr(t[e][0],t[e][1])},css:function(t,e){this.element&&(this.element.style[t]=e)},allCss:function(t){for(var e=0;t.length>e;e++)this.css(t[e][0],t[e][1])},removeAttr:function(t){this.element&&this.element.removeAttribute(t)},mapTransform:function(t){var e=[];return t&&e.push([O,\"matrix(\"+t.matrix().toString(6)+\")\"]),e},renderTransform:function(){return y(this.mapTransform(this.srcElement.transform()))},transformChange:function(t){t?this.allAttr(this.mapTransform(t)):this.removeAttr(O)},mapStyle:function(){var t=this.srcElement.options,e=[[\"cursor\",t.cursor]];return t.visible===!1&&e.push([\"display\",k]),e},renderStyle:function(){return x(\"style\",m.renderStyle(this.mapStyle(!0)))},renderOpacity:function(){return x(\"opacity\",this.srcElement.options.opacity)},createDefinitions:function(){var t,e,n,i,r=this.srcElement,o=this.definitions;if(r){n=r.options;for(e in h)t=n.get(e),t&&s(e,t)&&(o[e]=t,i=!0);i&&this.definitionChange({action:\"add\",definitions:o})}},definitionChange:function(t){this.parent&&this.parent.definitionChange(t)},updateDefinition:function(t,e){var n=this.definitions,r=n[t],o=h[t],s={};r&&(s[t]=r,this.definitionChange({action:\"remove\",definitions:s}),delete n[t]),e?(s[t]=e,this.definitionChange({action:\"add\",definitions:s}),n[t]=e,this.attr(o,i(e.id))):r&&this.removeAttr(o)},clearDefinitions:function(){var t,e=this.definitions;for(t in e){this.definitionChange({action:\"remove\",definitions:e}),this.definitions={};break}},renderDefinitions:function(){return y(this.mapDefinitions())},mapDefinitions:function(){var t,e=this.definitions,n=[];for(t in e)n.push([h[t],i(e[t].id)]);return n}}),B=z.extend({init:function(t){z.fn.init.call(this),this.options=t,this.defs=new M},attachTo:function(t){this.element=t,this.defs.attachTo(t.firstElementChild)},clear:function(){p.fn.clear.call(this)},template:w(\"#=d.defs.render()##= d.renderChildren() #\"),definitionChange:function(t){this.defs.definitionChange(t)}}),M=z.extend({init:function(){z.fn.init.call(this),this.definitionMap={}},attachTo:function(t){this.element=t},template:w(\"<defs>#= d.renderChildren()#</defs>\"),definitionChange:function(t){var e=t.definitions,n=t.action;\"add\"==n?this.addDefinitions(e):\"remove\"==n&&this.removeDefinitions(e)},createDefinition:function(t,e){var n;return\"clip\"==t?n=D:\"fill\"==t&&(e instanceof d.LinearGradient?n=U:e instanceof d.RadialGradient&&(n=Y)),new n(e)},addDefinitions:function(t){for(var e in t)this.addDefinition(e,t[e])},addDefinition:function(t,e){var n,i=this.definitionMap,r=e.id,o=this.element,s=i[r];s?s.count++:(n=this.createDefinition(t,e),i[r]={element:n,count:1},this.append(n),o&&n.attachTo(this.element))},removeDefinitions:function(t){for(var e in t)this.removeDefinition(t[e])},removeDefinition:function(t){var e=this.definitionMap,n=t.id,i=e[n];i&&(i.count--,0===i.count&&(this.remove(b(i.element,this.childNodes),1),delete e[n]))}}),D=z.extend({init:function(t){z.fn.init.call(this),this.srcElement=t,this.id=t.id,this.load([t])},template:w(\"<clipPath id='#=d.id#'>#= d.renderChildren()#</clipPath>\")}),L=z.extend({template:w(\"<g#= d.renderTransform() + d.renderStyle() + d.renderOpacity() + d.renderDefinitions()#>#= d.renderChildren() #</g>\"),optionsChange:function(t){t.field==O&&this.transformChange(t.value),z.fn.optionsChange.call(this,t)}}),I=z.extend({geometryChange:function(){this.attr(\"d\",this.renderData()),this.invalidate()},optionsChange:function(t){switch(t.field){case\"fill\":t.value?this.allAttr(this.mapFill(t.value)):this.removeAttr(\"fill\");break;case\"fill.color\":this.allAttr(this.mapFill({color:t.value}));break;case\"stroke\":t.value?this.allAttr(this.mapStroke(t.value)):this.removeAttr(\"stroke\");break;case O:this.transformChange(t.value);break;default:var e=this.attributeMap[t.field];e&&this.attr(e,t.value)}z.fn.optionsChange.call(this,t)},attributeMap:{\"fill.opacity\":\"fill-opacity\",\"stroke.color\":\"stroke\",\"stroke.width\":\"stroke-width\",\"stroke.opacity\":\"stroke-opacity\"},content:function(){this.element&&(this.element.textContent=this.srcElement.content())},renderData:function(){return this.printPath(this.srcElement)},printPath:function(t){var e,n,i,r,o,s=t.segments,a=s.length;if(a>0){for(e=[],o=1;a>o;o++)i=this.segmentType(s[o-1],s[o]),i!==r&&(r=i,e.push(i)),e.push(\"L\"===i?this.printPoints(s[o].anchor()):this.printPoints(s[o-1].controlOut(),s[o].controlIn(),s[o].anchor()));return n=\"M\"+this.printPoints(s[0].anchor())+P+e.join(P),t.options.closed&&(n+=\"Z\"),n}},printPoints:function(){var t,e=arguments,n=e.length,i=[];for(t=0;n>t;t++)i.push(e[t].toString(3));return i.join(P)},segmentType:function(t,e){return t.controlOut()&&e.controlIn()?\"C\":\"L\"},mapStroke:function(t){var e=[];return t&&!v(t.color)?(e.push([\"stroke\",t.color]),e.push([\"stroke-width\",t.width]),e.push([\"stroke-linecap\",this.renderLinecap(t)]),e.push([\"stroke-linejoin\",t.lineJoin]),g(t.opacity)&&e.push([\"stroke-opacity\",t.opacity]),g(t.dashType)&&e.push([\"stroke-dasharray\",this.renderDashType(t)])):e.push([\"stroke\",k]),e},renderStroke:function(){return y(this.mapStroke(this.srcElement.options.stroke))},renderDashType:function(t){var e,n,i,r=t.width||1,o=t.dashType;if(o&&o!=E){for(e=C[o.toLowerCase()],n=[],i=0;e.length>i;i++)n.push(e[i]*r);return n.join(\" \")}},renderLinecap:function(t){var e=t.dashType,n=t.lineCap;return e&&e!=E?_:n},mapFill:function(t){var e=[];return t&&t.nodeType==T||(t&&!v(t.color)?(e.push([\"fill\",t.color]),g(t.opacity)&&e.push([\"fill-opacity\",t.opacity])):e.push([\"fill\",k])),e},renderFill:function(){return y(this.mapFill(this.srcElement.options.fill))},template:w(\"<path #= d.renderStyle() # #= d.renderOpacity() # #= kendo.util.renderAttr('d', d.renderData()) # #= d.renderStroke() # #= d.renderFill() # #= d.renderDefinitions() # #= d.renderTransform() #></path>\")}),F=I.extend({renderData:function(){return this.printPath(this.srcElement.toPath())}}),G=I.extend({renderData:function(){var t,e,n=this.srcElement.paths;if(n.length>0){for(t=[],e=0;n.length>e;e++)t.push(this.printPath(n[e]));return t.join(\" \")}}}),j=I.extend({geometryChange:function(){var t=this.center();this.attr(\"cx\",t.x),this.attr(\"cy\",t.y),this.attr(\"r\",this.radius()),this.invalidate()},center:function(){return this.srcElement.geometry().center},radius:function(){return this.srcElement.geometry().radius},template:w(\"<circle #= d.renderStyle() # #= d.renderOpacity() # cx='#= d.center().x #' cy='#= d.center().y #' r='#= d.radius() #' #= d.renderStroke() # #= d.renderFill() # #= d.renderDefinitions() # #= d.renderTransform() # ></circle>\")}),H=I.extend({geometryChange:function(){var t=this.pos();this.attr(\"x\",t.x),this.attr(\"y\",t.y),this.invalidate()},optionsChange:function(t){\"font\"===t.field?(this.attr(\"style\",m.renderStyle(this.mapStyle())),this.geometryChange()):\"content\"===t.field&&I.fn.content.call(this,this.srcElement.content()),I.fn.optionsChange.call(this,t)},mapStyle:function(t){var e=I.fn.mapStyle.call(this,t),n=this.srcElement.options.font;return t&&(n=c.htmlEncode(n)),e.push([\"font\",n]),e},pos:function(){var t=this.srcElement.position(),e=this.srcElement.measure();return t.clone().setY(t.y+e.baseline)},renderContent:function(){var t=this.srcElement.content();return t=a(t),t=c.htmlEncode(t)},template:w(\"<text #= d.renderStyle() # #= d.renderOpacity() # x='#= this.pos().x #' y='#= this.pos().y #' #= d.renderStroke() # #= d.renderTransform() # #= d.renderDefinitions() # #= d.renderFill() #>#= d.renderContent() #</text>\")}),q=I.extend({geometryChange:function(){this.allAttr(this.mapPosition()),this.invalidate()},optionsChange:function(t){\"src\"===t.field&&this.allAttr(this.mapSource()),I.fn.optionsChange.call(this,t)},mapPosition:function(){var t=this.srcElement.rect(),e=t.topLeft();return[[\"x\",e.x],[\"y\",e.y],[\"width\",t.width()+\"px\"],[\"height\",t.height()+\"px\"]]},renderPosition:function(){return y(this.mapPosition())},mapSource:function(t){var e=this.srcElement.src();return t&&(e=c.htmlEncode(e)),[[\"xlink:href\",e]]},renderSource:function(){return y(this.mapSource(!0))},template:w(\"<image preserveAspectRatio='none' #= d.renderStyle() # #= d.renderTransform()# #= d.renderOpacity() # #= d.renderPosition() # #= d.renderSource() # #= d.renderDefinitions()#></image>\")}),$=z.extend({template:w(\"<stop #=d.renderOffset()# #=d.renderStyle()# />\"),renderOffset:function(){return x(\"offset\",this.srcElement.offset())},mapStyle:function(){var t=this.srcElement;return[[\"stop-color\",t.color()],[\"stop-opacity\",t.opacity()]]},optionsChange:function(t){\"offset\"==t.field?this.attr(t.field,t.value):(\"color\"==t.field||\"opacity\"==t.field)&&this.css(\"stop-\"+t.field,t.value)}}),X=z.extend({init:function(t){z.fn.init.call(this,t),this.id=t.id,this.loadStops()},loadStops:function(){var t,e,n=this.srcElement,i=n.stops,r=this.element;for(e=0;i.length>e;e++)t=new $(i[e]),this.append(t),r&&t.attachTo(r)},optionsChange:function(t){\"gradient.stops\"==t.field?(p.fn.clear.call(this),this.loadStops()):t.field==T&&this.allAttr(this.mapCoordinates())},renderCoordinates:function(){return y(this.mapCoordinates())},mapSpace:function(){return[\"gradientUnits\",this.srcElement.userSpace()?\"userSpaceOnUse\":\"objectBoundingBox\"]}}),U=X.extend({template:w(\"<linearGradient id='#=d.id#' #=d.renderCoordinates()#>#= d.renderChildren()#</linearGradient>\"),mapCoordinates:function(){var t=this.srcElement,e=t.start(),n=t.end(),i=[[\"x1\",e.x],[\"y1\",e.y],[\"x2\",n.x],[\"y2\",n.y],this.mapSpace()];return i}}),Y=X.extend({template:w(\"<radialGradient id='#=d.id#' #=d.renderCoordinates()#>#= d.renderChildren()#</radialGradient>\"),mapCoordinates:function(){var t=this.srcElement,e=t.center(),n=t.radius(),i=[[\"cx\",e.x],[\"cy\",e.y],[\"r\",n],this.mapSpace()];return i}}),V=I.extend({geometryChange:function(){var t=this.srcElement.geometry();this.attr(\"x\",t.origin.x),this.attr(\"y\",t.origin.y),this.attr(\"width\",t.size.width),this.attr(\"height\",t.size.height),this.invalidate()},size:function(){return this.srcElement.geometry().size},origin:function(){return this.srcElement.geometry().origin},template:w(\"<rect #= d.renderStyle() # #= d.renderOpacity() # x='#= d.origin().x #' y='#= d.origin().y #' width='#= d.size().width #' height='#= d.size().height #'#= d.renderStroke() # #= d.renderFill() # #= d.renderDefinitions() # #= d.renderTransform() # />\")}),W={Group:L,Text:H,Path:I,MultiPath:G,Circle:j,Arc:F,Image:q,Rect:V},Q=function(t,e){t.innerHTML=e};!function(){var t=\"<svg xmlns='\"+A+\"'></svg>\",e=l.createElement(\"div\"),n=typeof DOMParser!=N;e.innerHTML=t,n&&e.firstChild.namespaceURI!=A&&(Q=function(t,e){var n=new DOMParser,i=n.parseFromString(e,\"text/xml\"),r=l.adoptNode(i.documentElement);t.innerHTML=\"\",t.appendChild(r)})}(),a._element=document.createElement(\"span\"),h={clip:\"clip-path\",fill:\"fill\"},c.support.svg=function(){return l.implementation.hasFeature(\"http://www.w3.org/TR/SVG11/feature#BasicStructure\",\"1.1\")}(),c.support.svg&&d.SurfaceFactory.current.register(\"svg\",R,10),u(d,{exportSVG:o,svg:{ArcNode:F,CircleNode:j,ClipNode:D,DefinitionNode:M,GradientStopNode:$,GroupNode:L,ImageNode:q,LinearGradientNode:U,MultiPathNode:G,Node:z,PathNode:I,RadialGradientNode:Y,RectNode:V,RootNode:B,Surface:R,TextNode:H,_exportGroup:r}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/canvas.min\",[\"drawing/search.min\",\"kendo.color.min\"],t)}(function(){!function(t){function e(e,n){var i,r,o,s,a,h,l={width:\"800px\",height:\"600px\",cors:\"Anonymous\"},c=e.clippedBBox();return c&&(i=c.getOrigin(),r=new b.Group,r.transform(w.transform().translate(-i.x,-i.y)),r.children.push(e),e=r,o=c.getSize(),l.width=o.width+\"px\",l.height=o.height+\"px\"),n=p(l,n),s=t(\"<div />\").css({display:\"none\",width:n.width,height:n.height}).appendTo(document.body),a=new A(s,n),a.draw(e),h=a.image(),h.always(function(){a.destroy(),s.remove()}),h}function n(t,e){var n,i,r;for(r=0;e.length>r;r++)i=e[r],n=d.parseColor(i.color()),n.a*=i.opacity(),t.addColorStop(i.offset(),n.toCssRgba())}var i,r,o,s,a,h,l,c,u,f=document,d=window.kendo,p=d.deepExtend,m=d.util,g=m.defined,v=m.isTransparent,x=m.renderTemplate,y=m.valueOrDefault,w=d.geometry,b=d.drawing,_=b.BaseNode,C=t.proxy,T=\"butt\",k=b.DASH_ARRAYS,S=1e3/60,E=\"solid\",P=\".kendo\",A=b.Surface.extend({init:function(e,n){b.Surface.fn.init.call(this,e,n),this.element[0].innerHTML=this._template(this);var r=this.element[0].firstElementChild;r.width=t(e).width(),r.height=t(e).height(),this._rootElement=r,this._root=new i(r)},destroy:function(){b.Surface.fn.destroy.call(this),this._root&&(this._root.destroy(),this._root=null),this._searchTree&&(this._searchTree.clear(),delete this._searchTree),this.element.off(P)},type:\"canvas\",draw:function(t){b.Surface.fn.draw.call(this,t),this._root.load([t],void 0,this.options.cors),this._searchTree&&this._searchTree.add([t])},clear:function(){b.Surface.fn.clear.call(this),this._root.clear(),this._searchTree&&this._searchTree.clear()},eventTarget:function(t){var e,n;return this._searchTree?(e=this._surfacePoint(t),n=this._searchTree.pointShape(e)):void 0},image:function(){var e,n=this._root,i=this._rootElement,r=[];return n.traverse(function(t){t.loading&&r.push(t.loading)}),e=t.Deferred(),t.when.apply(t,r).done(function(){n._invalidate();try{var t=i.toDataURL();e.resolve(t)}catch(r){e.reject(r)}}).fail(function(t){e.reject(t)}),e.promise()},suspendTracking:function(){b.Surface.fn.suspendTracking.call(this),this._searchTree&&(this._searchTree.clear(),delete this._searchTree)},resumeTracking:function(){var t,e,n;if(b.Surface.fn.resumeTracking.call(this),!this._searchTree){for(this._searchTree=new b.ShapesQuadTree,t=this._root.childNodes,e=[],n=0;t.length>n;n++)e.push(t[n].srcElement);this._searchTree.add(e)}},_resize:function(){this._rootElement.width=this._size.width,this._rootElement.height=this._size.height,this._root.invalidate()},_template:x(\"<canvas style='width: 100%; height: 100%;'></canvas>\"),_enableTracking:function(){this._searchTree=new b.ShapesQuadTree,this._mouseTrackHandler=C(this._trackMouse,this),this.element.on(\"click\"+P,this._mouseTrackHandler),this.element.on(\"mousemove\"+P,this._mouseTrackHandler),b.Surface.fn._enableTracking.call(this)},_trackMouse:function(t){var e,n;this._suspendedTracking||(e=this.eventTarget(t),\"click\"!=t.type?(n=this._currentShape,n&&n!==e&&this.trigger(\"mouseleave\",{element:n,originalEvent:t,type:\"mouseleave\"}),e&&n!==e&&this.trigger(\"mouseenter\",{element:e,originalEvent:t,type:\"mouseenter\"}),this.trigger(\"mousemove\",{element:e,originalEvent:t,type:\"mousemove\"}),this._currentShape=e):e&&this.trigger(\"click\",{element:e,originalEvent:t,type:\"click\"}))}}),O=_.extend({init:function(t){_.fn.init.call(this,t),t&&this.initClip()},initClip:function(){var t=this.srcElement.clip();t&&(this.clip=t,t.addObserver(this))},clear:function(){this.srcElement&&this.srcElement.removeObserver(this),this.clearClip(),_.fn.clear.call(this)},clearClip:function(){this.clip&&(this.clip.removeObserver(this),delete this.clip)},setClip:function(t){this.clip&&(t.beginPath(),r.fn.renderPoints(t,this.clip),t.clip())},optionsChange:function(t){\"clip\"==t.field&&(this.clearClip(),this.initClip()),_.fn.optionsChange.call(this,t)},setTransform:function(t){if(this.srcElement){var e=this.srcElement.transform();e&&t.transform.apply(t,e.matrix().toArray(6))}},loadElements:function(t,e,n){var i,r,o,s,a=this;for(s=0;t.length>s;s++)r=t[s],o=r.children,i=new u[r.nodeType](r,n),o&&o.length>0&&i.load(o,e,n),g(e)?a.insertAt(i,e):a.append(i)},load:function(t,e,n){this.loadElements(t,e,n),this.invalidate()},setOpacity:function(t){if(this.srcElement){var e=this.srcElement.opacity();g(e)&&this.globalAlpha(t,e)}},globalAlpha:function(t,e){e&&t.globalAlpha&&(e*=t.globalAlpha),t.globalAlpha=e},visible:function(){var t=this.srcElement;return!t||t&&t.options.visible!==!1}}),N=O.extend({renderTo:function(t){var e,n,i;if(this.visible()){for(t.save(),this.setTransform(t),this.setClip(t),this.setOpacity(t),e=this.childNodes,n=0;e.length>n;n++)i=e[n],i.visible()&&i.renderTo(t);t.restore()}}});b.mixins.Traversable.extend(N.fn,\"childNodes\"),i=N.extend({init:function(t){N.fn.init.call(this),this.canvas=t,this.ctx=t.getContext(\"2d\");var e=C(this._invalidate,this);this.invalidate=d.throttle(function(){d.animationFrame(e)},S)},destroy:function(){N.fn.destroy.call(this),this.canvas=null,this.ctx=null},load:function(t,e,n){this.loadElements(t,e,n),this._invalidate()},_invalidate:function(){this.ctx&&(this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.renderTo(this.ctx))}}),b.mixins.Traversable.extend(i.fn,\"childNodes\"),r=O.extend({renderTo:function(t){t.save(),this.setTransform(t),this.setClip(t),this.setOpacity(t),t.beginPath(),this.renderPoints(t,this.srcElement),this.setLineDash(t),this.setLineCap(t),this.setLineJoin(t),this.setFill(t),this.setStroke(t),t.restore()},setFill:function(t){var e=this.srcElement.options.fill,n=!1;return e&&(\"gradient\"==e.nodeType?(this.setGradientFill(t,e),n=!0):v(e.color)||(t.fillStyle=e.color,t.save(),this.globalAlpha(t,e.opacity),t.fill(),t.restore(),n=!0)),n},setGradientFill:function(t,e){var i,r,o,s,a=this.srcElement.rawBBox();e instanceof b.LinearGradient?(r=e.start(),o=e.end(),i=t.createLinearGradient(r.x,r.y,o.x,o.y)):e instanceof b.RadialGradient&&(s=e.center(),i=t.createRadialGradient(s.x,s.y,0,s.x,s.y,e.radius())),n(i,e.stops),t.save(),e.userSpace()||t.transform(a.width(),0,0,a.height(),a.origin.x,a.origin.y),t.fillStyle=i,t.fill(),t.restore()},setStroke:function(t){var e=this.srcElement.options.stroke;return e&&!v(e.color)&&e.width>0?(t.strokeStyle=e.color,t.lineWidth=y(e.width,1),t.save(),this.globalAlpha(t,e.opacity),t.stroke(),t.restore(),!0):void 0},dashType:function(){var t=this.srcElement.options.stroke;return t&&t.dashType?t.dashType.toLowerCase():void 0},setLineDash:function(t){var e,n=this.dashType();n&&n!=E&&(e=k[n],t.setLineDash?t.setLineDash(e):(t.mozDash=e,t.webkitLineDash=e))},setLineCap:function(t){var e=this.dashType(),n=this.srcElement.options.stroke;e&&e!==E?t.lineCap=T:n&&n.lineCap&&(t.lineCap=n.lineCap)},setLineJoin:function(t){var e=this.srcElement.options.stroke;e&&e.lineJoin&&(t.lineJoin=e.lineJoin)},renderPoints:function(t,e){var n,i,r,o,s,a,h=e.segments;if(0!==h.length){for(n=h[0],i=n.anchor(),t.moveTo(i.x,i.y),r=1;h.length>r;r++)n=h[r],i=n.anchor(),o=h[r-1],s=o.controlOut(),a=n.controlIn(),s&&a?t.bezierCurveTo(s.x,s.y,a.x,a.y,i.x,i.y):t.lineTo(i.x,i.y);e.options.closed&&t.closePath()}}}),o=r.extend({renderPoints:function(t){var e,n=this.srcElement.paths;for(e=0;n.length>e;e++)r.fn.renderPoints(t,n[e])}}),s=r.extend({renderPoints:function(t){var e=this.srcElement.geometry(),n=e.center,i=e.radius;t.arc(n.x,n.y,i,0,2*Math.PI)}}),a=r.extend({renderPoints:function(t){var e=this.srcElement.toPath();r.fn.renderPoints.call(this,t,e)}}),h=r.extend({renderTo:function(t){var e=this.srcElement,n=e.position(),i=e.measure();t.save(),this.setTransform(t),this.setClip(t),this.setOpacity(t),t.beginPath(),t.font=e.options.font,this.setFill(t)&&t.fillText(e.content(),n.x,n.y+i.baseline),this.setStroke(t)&&(this.setLineDash(t),t.strokeText(e.content(),n.x,n.y+i.baseline)),t.restore()}}),l=r.extend({init:function(e,n){r.fn.init.call(this,e),this.onLoad=C(this.onLoad,this),this.onError=C(this.onError,this),this.loading=t.Deferred();var i=this.img=new Image;n&&!/^data:/i.test(e.src())&&(i.crossOrigin=n),i.src=e.src(),i.complete?this.onLoad():(i.onload=this.onLoad,i.onerror=this.onError)},renderTo:function(t){\"resolved\"===this.loading.state()&&(t.save(),this.setTransform(t),this.setClip(t),this.drawImage(t),t.restore())},optionsChange:function(e){\"src\"===e.field?(this.loading=t.Deferred(),this.img.src=this.srcElement.src()):r.fn.optionsChange.call(this,e)},onLoad:function(){this.loading.resolve(),this.invalidate()},onError:function(){this.loading.reject(Error(\"Unable to load image '\"+this.img.src+\"'. Check for connectivity and verify CORS headers.\"))},drawImage:function(t){var e=this.srcElement.rect(),n=e.topLeft();t.drawImage(this.img,n.x,n.y,e.width(),e.height())}}),c=r.extend({renderPoints:function(t){var e=this.srcElement.geometry(),n=e.origin,i=e.size;t.rect(n.x,n.y,i.width,i.height)}}),u={Group:N,Text:h,Path:r,MultiPath:o,Circle:s,Arc:a,Image:l,Rect:c},d.support.canvas=function(){return!!f.createElement(\"canvas\").getContext}(),d.support.canvas&&b.SurfaceFactory.current.register(\"canvas\",A,20),p(d.drawing,{exportImage:e,canvas:{ArcNode:a,CircleNode:s,GroupNode:N,ImageNode:l,MultiPathNode:o,Node:O,PathNode:r,RectNode:c,RootNode:i,Surface:A,TextNode:h}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/vml.min\",[\"drawing/shapes.min\",\"kendo.color.min\"],t)}(function(){!function(t){function e(){if(u.namespaces&&!u.namespaces.kvml){u.namespaces.add(\"kvml\",\"urn:schemas-microsoft-com:vml\");var t=u.styleSheets.length>30?u.styleSheets[0]:u.createStyleSheet();t.addRule(\".kvml\",\"behavior:url(#default#VML)\")}}function n(t){var e=u.createElement(\"kvml:\"+t);return e.className=\"kvml\",e}function i(t){var e,n=t.length,i=[];for(e=0;n>e;e++)i.push(t[e].scaleCopy(R).toString(0,\",\"));return i.join(\" \")}function r(t,e){var n,r,s,a,h,l=t.segments,c=l.length;if(c>0){for(n=[],h=1;c>h;h++)s=o(l[h-1],l[h]),s!==a&&(a=s,n.push(s)),n.push(\"l\"===s?i([l[h].anchor()]):i([l[h-1].controlOut(),l[h].controlIn(),l[h].anchor()]));return r=\"m \"+i([l[0].anchor()])+\" \"+n.join(\" \"),t.options.closed&&(r+=\" x\"),e!==!0&&(r+=\" e\"),r}}function o(t,e){return t.controlOut()&&e.controlIn()?\"c\":\"l\"}function s(t){return 0===t.indexOf(\"fill\")||0===t.indexOf(B)}function a(t,e,n){var i,r=n*A(e.opacity(),1);return i=t?h(t,e.color(),r):h(e.color(),\"#fff\",1-r)}function h(t,e,n){var i=new C(t),r=new C(e),o=l(i.r,r.r,n),s=l(i.g,r.g,n),a=l(i.b,r.b,n);return new C(o,s,a).toHex()}function l(t,e,n){return f.round(n*e+(1-n)*t)}var c,u=document,f=Math,d=f.atan2,p=f.ceil,m=f.sqrt,g=window.kendo,v=g.deepExtend,x=t.noop,y=g.drawing,w=y.BaseNode,b=g.geometry,_=b.toMatrix,C=g.Color,T=g.util,k=T.isTransparent,S=T.defined,E=T.deg,P=T.round,A=T.valueOrDefault,O=\"none\",N=\".kendo\",R=100,z=R*R,B=\"gradient\",M=4,D=y.Surface.extend({init:function(t,n){y.Surface.fn.init.call(this,t,n),e(),this.element.empty(),this._root=new I,this._root.attachTo(this.element[0]),this.element.on(\"click\"+N,this._click),this.element.on(\"mouseover\"+N,this._mouseenter),this.element.on(\"mouseout\"+N,this._mouseleave),this.element.on(\"mousemove\"+N,this._mousemove)},type:\"vml\",destroy:function(){this._root&&(this._root.destroy(),this._root=null,this.element.off(N)),y.Surface.fn.destroy.call(this)},draw:function(t){y.Surface.fn.draw.call(this,t),this._root.load([t],void 0,null)},clear:function(){y.Surface.fn.clear.call(this),this._root.clear()}}),L=w.extend({init:function(t){w.fn.init.call(this,t),this.createElement(),this.attachReference()},observe:x,destroy:function(){this.element&&(this.element._kendoNode=null,this.element=null),w.fn.destroy.call(this)},clear:function(){var t,e;for(this.element&&(this.element.innerHTML=\"\"),t=this.childNodes,e=0;t.length>e;e++)t[e].destroy();this.childNodes=[]},removeSelf:function(){this.element&&(this.element.parentNode.removeChild(this.element),this.element=null),w.fn.removeSelf.call(this)},createElement:function(){this.element=u.createElement(\"div\")},attachReference:function(){this.element._kendoNode=this},load:function(t,e,n,i){var r,o,s,a,h,l;for(i=A(i,1),this.srcElement&&(i*=A(this.srcElement.options.opacity,1)),r=0;t.length>r;r++)o=t[r],s=o.children,a=o.currentTransform(n),h=i*A(o.options.opacity,1),l=new ht[o.nodeType](o,a,h),s&&s.length>0&&l.load(s,e,a,i),S(e)?this.insertAt(l,e):this.append(l),l.attachTo(this.element,e)},attachTo:function(t,e){S(e)?t.insertBefore(this.element,t.children[e]||null):t.appendChild(this.element)},optionsChange:function(t){\"visible\"==t.field&&this.css(\"display\",t.value!==!1?\"\":O)},setStyle:function(){this.allCss(this.mapStyle())},mapStyle:function(){var t=[];return this.srcElement&&this.srcElement.options.visible===!1&&t.push([\"display\",O]),t},mapOpacityTo:function(t,e){var n=A(this.opacity,1);n*=A(e,1),t.push([\"opacity\",n])},attr:function(t,e){this.element&&(this.element[t]=e)},allAttr:function(t){for(var e=0;t.length>e;e++)this.attr(t[e][0],t[e][1])},css:function(t,e){this.element&&(this.element.style[t]=e)},allCss:function(t){for(var e=0;t.length>e;e++)this.css(t[e][0],t[e][1])}}),I=L.extend({createElement:function(){L.fn.createElement.call(this),this.allCss([[\"width\",\"100%\"],[\"height\",\"100%\"],[\"position\",\"relative\"],[\"visibility\",\"visible\"]])},attachReference:x}),F=g.Class.extend({init:function(t,e){this.srcElement=t,this.observer=e,t.addObserver(this)},geometryChange:function(){this.observer.optionsChange({field:\"clip\",value:this.srcElement})},clear:function(){this.srcElement.removeObserver(this)}}),G=L.extend({init:function(t){L.fn.init.call(this,t),t&&this.initClip()},observe:function(){w.fn.observe.call(this)},mapStyle:function(){var t=L.fn.mapStyle.call(this);return this.srcElement&&this.srcElement.clip()&&t.push([\"clip\",this.clipRect()]),t},optionsChange:function(t){\"clip\"==t.field&&(this.clearClip(),this.initClip(),this.setClip()),L.fn.optionsChange.call(this,t)},clear:function(){this.clearClip(),L.fn.clear.call(this)},initClip:function(){this.srcElement.clip()&&(this.clip=new F(this.srcElement.clip(),this),this.clip.observer=this)},clearClip:function(){this.clip&&(this.clip.clear(),this.clip=null,this.css(\"clip\",this.clipRect()))},setClip:function(){this.clip&&this.css(\"clip\",this.clipRect())},clipRect:function(){var t,e,n,i=c,r=this.srcElement.clip();return r&&(t=this.clipBBox(r),e=t.topLeft(),n=t.bottomRight(),i=g.format(\"rect({0}px {1}px {2}px {3}px)\",e.y,n.x,n.y,e.x)),i},clipBBox:function(t){var e=this.srcElement.rawBBox().topLeft(),n=t.rawBBox();return n.origin.translate(-e.x,-e.y),n}}),j=G.extend({createElement:function(){L.fn.createElement.call(this),this.setStyle()},attachTo:function(t,e){this.css(\"display\",O),L.fn.attachTo.call(this,t,e),this.srcElement.options.visible!==!1&&this.css(\"display\",\"\")},_attachTo:function(t){var e=document.createDocumentFragment();e.appendChild(this.element),t.appendChild(e)},mapStyle:function(){var t=G.fn.mapStyle.call(this);return t.push([\"position\",\"absolute\"]),t.push([\"white-space\",\"nowrap\"]),t},optionsChange:function(t){\"transform\"===t.field&&this.refreshTransform(),\"opacity\"===t.field&&this.refreshOpacity(),G.fn.optionsChange.call(this,t)},refreshTransform:function(t){var e,n=this.srcElement.currentTransform(t),i=this.childNodes,r=i.length;for(this.setClip(),e=0;r>e;e++)i[e].refreshTransform(n)},currentOpacity:function(){var t=A(this.srcElement.options.opacity,1);return this.parent&&this.parent.currentOpacity&&(t*=this.parent.currentOpacity()),t},refreshOpacity:function(){var t,e=this.childNodes,n=e.length,i=this.currentOpacity();for(t=0;n>t;t++)e[t].refreshOpacity(i)},initClip:function(){if(G.fn.initClip.call(this),this.clip){var t=this.clip.srcElement.bbox(this.srcElement.currentTransform());t&&(this.css(\"width\",t.width()+t.origin.x),this.css(\"height\",t.height()+t.origin.y))}},clipBBox:function(t){return t.bbox(this.srcElement.currentTransform())},clearClip:function(){G.fn.clearClip.call(this)}}),H=L.extend({init:function(t,e){this.opacity=e,L.fn.init.call(this,t)},createElement:function(){this.element=n(\"stroke\"),this.setOpacity()},optionsChange:function(t){0===t.field.indexOf(\"stroke\")&&this.setStroke()},refreshOpacity:function(t){this.opacity=t,this.setStroke()},setStroke:function(){this.allAttr(this.mapStroke())},setOpacity:function(){this.setStroke()},mapStroke:function(){var t,e=this.srcElement.options.stroke,n=[];return e&&!k(e.color)&&0!==e.width?(n.push([\"on\",\"true\"]),n.push([\"color\",e.color]),n.push([\"weight\",(e.width||1)+\"px\"]),this.mapOpacityTo(n,e.opacity),S(e.dashType)&&n.push([\"dashstyle\",e.dashType]),S(e.lineJoin)&&n.push([\"joinstyle\",e.lineJoin]),S(e.lineCap)&&(t=e.lineCap.toLowerCase(),\"butt\"===t&&(t=\"butt\"===t?\"flat\":t),n.push([\"endcap\",t]))):n.push([\"on\",\"false\"]),n}}),q=L.extend({init:function(t,e,n){this.opacity=n,L.fn.init.call(this,t)},createElement:function(){this.element=n(\"fill\"),this.setFill()},optionsChange:function(t){s(t.field)&&this.setFill()},refreshOpacity:function(t){this.opacity=t,this.setOpacity()},setFill:function(){this.allAttr(this.mapFill())},setOpacity:function(){this.setFill()},attr:function(t,e){var n,i=this.element;if(i){for(n=t.split(\".\");n.length>1;)i=i[n.shift()];i[n[0]]=e}},mapFill:function(){var t=this.srcElement.fill(),e=[[\"on\",\"false\"]];return t&&(t.nodeType==B?e=this.mapGradient(t):k(t.color)||(e=this.mapFillColor(t))),e},mapFillColor:function(t){var e=[[\"on\",\"true\"],[\"color\",t.color]];return this.mapOpacityTo(e,t.opacity),e},mapGradient:function(t){var e,n=this.srcElement.options,i=n.fallbackFill||t.fallbackFill&&t.fallbackFill();return e=t instanceof y.LinearGradient?this.mapLinearGradient(t):t instanceof y.RadialGradient&&t.supportVML?this.mapRadialGradient(t):i?this.mapFillColor(i):[[\"on\",\"false\"]]},mapLinearGradient:function(t){var e=t.start(),n=t.end(),i=T.deg(d(n.y-e.y,n.x-e.x)),r=[[\"on\",\"true\"],[\"type\",B],[\"focus\",0],[\"method\",\"none\"],[\"angle\",270-i]];return this.addColors(r),r},mapRadialGradient:function(t){var e=this.srcElement.rawBBox(),n=t.center(),i=(n.x-e.origin.x)/e.width(),r=(n.y-e.origin.y)/e.height(),o=[[\"on\",\"true\"],[\"type\",\"gradienttitle\"],[\"focus\",\"100%\"],[\"focusposition\",i+\" \"+r],[\"method\",\"none\"]];return this.addColors(o),o},addColors:function(t){var e,n,i=this.srcElement.options,r=A(this.opacity,1),o=[],s=i.fill.stops,h=i.baseColor,l=this.element.colors?\"colors.value\":\"colors\",c=a(h,s[0],r),u=a(h,s[s.length-1],r);\r\nfor(n=0;s.length>n;n++)e=s[n],o.push(f.round(100*e.offset())+\"% \"+a(h,e,r));t.push([l,o.join(\",\")],[\"color\",c],[\"color2\",u])}}),$=L.extend({init:function(t,e){this.transform=e,L.fn.init.call(this,t)},createElement:function(){this.element=n(\"skew\"),this.setTransform()},optionsChange:function(t){\"transform\"===t.field&&this.refresh(this.srcElement.currentTransform())},refresh:function(t){this.transform=t,this.setTransform()},transformOrigin:function(){return\"-0.5,-0.5\"},setTransform:function(){this.allAttr(this.mapTransform())},mapTransform:function(){var t=this.transform,e=[],n=_(t);return n?(n.round(M),e.push([\"on\",\"true\"],[\"matrix\",[n.a,n.c,n.b,n.d,0,0].join(\",\")],[\"offset\",n.e+\"px,\"+n.f+\"px\"],[\"origin\",this.transformOrigin()])):e.push([\"on\",\"false\"]),e}}),X=G.extend({init:function(t,e,n){this.fill=this.createFillNode(t,e,n),this.stroke=new H(t,n),this.transform=this.createTransformNode(t,e),G.fn.init.call(this,t)},attachTo:function(t,e){this.fill.attachTo(this.element),this.stroke.attachTo(this.element),this.transform.attachTo(this.element),L.fn.attachTo.call(this,t,e)},createFillNode:function(t,e,n){return new q(t,e,n)},createTransformNode:function(t,e){return new $(t,e)},createElement:function(){this.element=n(\"shape\"),this.setCoordsize(),this.setStyle()},optionsChange:function(t){s(t.field)?this.fill.optionsChange(t):0===t.field.indexOf(\"stroke\")?this.stroke.optionsChange(t):\"transform\"===t.field?this.transform.optionsChange(t):\"opacity\"===t.field&&(this.fill.setOpacity(),this.stroke.setOpacity()),G.fn.optionsChange.call(this,t)},refreshTransform:function(t){this.transform.refresh(this.srcElement.currentTransform(t))},refreshOpacity:function(t){t*=A(this.srcElement.options.opacity,1),this.fill.refreshOpacity(t),this.stroke.refreshOpacity(t)},mapStyle:function(t,e){var n,i=G.fn.mapStyle.call(this);return t&&e||(t=e=R),i.push([\"position\",\"absolute\"],[\"width\",t+\"px\"],[\"height\",e+\"px\"]),n=this.srcElement.options.cursor,n&&i.push([\"cursor\",n]),i},setCoordsize:function(){this.allAttr([[\"coordorigin\",\"0 0\"],[\"coordsize\",z+\" \"+z]])}}),U=L.extend({createElement:function(){this.element=n(\"path\"),this.setPathData()},geometryChange:function(){this.setPathData()},setPathData:function(){this.attr(\"v\",this.renderData())},renderData:function(){return r(this.srcElement)}}),Y=X.extend({init:function(t,e,n){this.pathData=this.createDataNode(t),X.fn.init.call(this,t,e,n)},attachTo:function(t,e){this.pathData.attachTo(this.element),X.fn.attachTo.call(this,t,e)},createDataNode:function(t){return new U(t)},geometryChange:function(){this.pathData.geometryChange(),X.fn.geometryChange.call(this)}}),V=U.extend({renderData:function(){var t,e,n,i=this.srcElement.paths;if(i.length>0){for(t=[],e=0;i.length>e;e++)n=i.length-1>e,t.push(r(i[e],n));return t.join(\" \")}}}),W=Y.extend({createDataNode:function(t){return new V(t)}}),Q=$.extend({transformOrigin:function(){var t=this.srcElement.geometry().bbox(),e=t.center(),n=-p(e.x)/p(t.width()),i=-p(e.y)/p(t.height());return n+\",\"+i}}),Z=X.extend({createElement:function(){this.element=n(\"oval\"),this.setStyle()},createTransformNode:function(t,e){return new Q(t,e)},geometryChange:function(){X.fn.geometryChange.call(this),this.setStyle(),this.refreshTransform()},mapStyle:function(){var t=this.srcElement.geometry(),e=t.radius,n=t.center,i=p(2*e),r=X.fn.mapStyle.call(this,i,i);return r.push([\"left\",p(n.x-e)+\"px\"],[\"top\",p(n.y-e)+\"px\"]),r}}),J=U.extend({renderData:function(){return r(this.srcElement.toPath())}}),K=Y.extend({createDataNode:function(t){return new J(t)}}),tt=U.extend({createElement:function(){U.fn.createElement.call(this),this.attr(\"textpathok\",!0)},renderData:function(){var t=this.srcElement.rect(),e=t.center();return\"m \"+i([new b.Point(t.topLeft().x,e.y)])+\" l \"+i([new b.Point(t.bottomRight().x,e.y)])}}),et=L.extend({createElement:function(){this.element=n(\"textpath\"),this.attr(\"on\",!0),this.attr(\"fitpath\",!1),this.setStyle(),this.setString()},optionsChange:function(t){\"content\"===t.field?this.setString():this.setStyle(),L.fn.optionsChange.call(this,t)},mapStyle:function(){return[[\"font\",this.srcElement.options.font]]},setString:function(){this.attr(\"string\",this.srcElement.content())}}),nt=Y.extend({init:function(t,e,n){this.path=new et(t),Y.fn.init.call(this,t,e,n)},createDataNode:function(t){return new tt(t)},attachTo:function(t,e){this.path.attachTo(this.element),Y.fn.attachTo.call(this,t,e)},optionsChange:function(t){(\"font\"===t.field||\"content\"===t.field)&&(this.path.optionsChange(t),this.pathData.geometryChange(t)),Y.fn.optionsChange.call(this,t)}}),it=U.extend({renderData:function(){var t=this.srcElement.rect(),e=(new y.Path).moveTo(t.topLeft()).lineTo(t.topRight()).lineTo(t.bottomRight()).lineTo(t.bottomLeft()).close();return r(e)}}),rt=$.extend({init:function(t,e,n){this.opacity=n,$.fn.init.call(this,t,e)},createElement:function(){this.element=n(\"fill\"),this.attr(\"type\",\"frame\"),this.attr(\"rotate\",!0),this.setOpacity(),this.setSrc(),this.setTransform()},optionsChange:function(t){\"src\"===t.field&&this.setSrc(),$.fn.optionsChange.call(this,t)},geometryChange:function(){this.refresh()},refreshOpacity:function(t){this.opacity=t,this.setOpacity()},setOpacity:function(){var t=[];this.mapOpacityTo(t,this.srcElement.options.opacity),this.allAttr(t)},setSrc:function(){this.attr(\"src\",this.srcElement.src())},mapTransform:function(){var t,e,n,i,r,o,s,a,h=this.srcElement,l=h.rawBBox(),c=l.center(),u=R/2,f=R,p=l.width()/f,g=l.height()/f,v=0,x=this.transform;return x?(n=_(x),i=m(n.a*n.a+n.b*n.b),r=m(n.c*n.c+n.d*n.d),p*=i,g*=r,o=E(d(n.b,n.d)),s=E(d(-n.c,n.a)),v=(o+s)/2,0!==v?(a=h.bbox().center(),t=(a.x-u)/f,e=(a.y-u)/f):(t=(c.x*i+n.e-u)/f,e=(c.y*r+n.f-u)/f)):(t=(c.x-u)/f,e=(c.y-u)/f),p=P(p,M),g=P(g,M),t=P(t,M),e=P(e,M),v=P(v,M),[[\"size\",p+\",\"+g],[\"position\",t+\",\"+e],[\"angle\",v]]}}),ot=Y.extend({createFillNode:function(t,e,n){return new rt(t,e,n)},createDataNode:function(t){return new it(t)},optionsChange:function(t){(\"src\"===t.field||\"transform\"===t.field)&&this.fill.optionsChange(t),Y.fn.optionsChange.call(this,t)},geometryChange:function(){this.fill.geometryChange(),Y.fn.geometryChange.call(this)},refreshTransform:function(t){Y.fn.refreshTransform.call(this,t),this.fill.refresh(this.srcElement.currentTransform(t))}}),st=U.extend({renderData:function(){var t=this.srcElement.geometry(),e=[\"m\",i([t.topLeft()]),\"l\",i([t.topRight(),t.bottomRight(),t.bottomLeft()]),\"x e\"];return e.join(\" \")}}),at=Y.extend({createDataNode:function(t){return new st(t)}}),ht={Group:j,Text:nt,Path:Y,MultiPath:W,Circle:Z,Arc:K,Image:ot,Rect:at};g.support.vml=function(){var t=g.support.browser;return t.msie&&9>t.version}(),c=\"inherit\",g.support.browser.msie&&8>g.support.browser.version&&(c=\"rect(auto auto auto auto)\"),g.support.vml&&y.SurfaceFactory.current.register(\"vml\",D,30),v(y,{vml:{ArcDataNode:J,ArcNode:K,CircleTransformNode:Q,CircleNode:Z,FillNode:q,GroupNode:j,ImageNode:ot,ImageFillNode:rt,ImagePathDataNode:it,MultiPathDataNode:V,MultiPathNode:W,Node:L,PathDataNode:U,PathNode:Y,RectDataNode:st,RectNode:at,RootNode:I,StrokeNode:H,Surface:D,TextNode:nt,TextPathNode:et,TextPathDataNode:tt,TransformNode:$}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/html.min\",[\"kendo.color.min\",\"drawing/shapes.min\",\"util/main.min\",\"util/text-metrics.min\"],t)}(function(){!function(t,e,n){\"use strict\";function i(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 r(n,r){function s(e){var n=new ht.Group,i=e.getBoundingClientRect();return z(n,[u.x,0,0,u.y,-i.left*u.x,-i.top*u.y]),mt._clipbox=!1,mt._matrix=lt.Matrix.unit(),mt._stackingContext={element:e,group:n},mt._avoidLinks=r.avoidLinks===!0?\"a\":r.avoidLinks,t(e).addClass(\"k-pdf-export\"),nt(e,n),t(e).removeClass(\"k-pdf-export\"),n}function a(e){return null!=e?(\"string\"==typeof e&&(e=kendo.template(e.replace(/^\\s+|\\s+$/g,\"\"))),\"function\"==typeof e?function(n){var i=e(n);return i?(\"string\"==typeof i&&(i=i.replace(/^\\s+|\\s+$/g,\"\")),t(i)[0]):void 0}:function(){return t(e).clone()[0]}):void 0}function h(e){var n,i,r,o,s=e.cloneNode(!1);if(1==e.nodeType){n=t(e),i=t(s),o=n.data();for(r in o)i.data(r,o[r]);if(/^canvas$/i.test(e.tagName))s.getContext(\"2d\").drawImage(e,0,0);else if(/^input$/i.test(e.tagName))e.removeAttribute(\"name\");else for(r=e.firstChild;r;r=r.nextSibling)s.appendChild(h(r))}return s}function l(n,i,r,o,s,l,c){function u(){function t(){d(k,function(){n({pages:k,container:E})})}var e,i;(\"-\"!=r||s)&&m(S),e=x(),S.parentNode.insertBefore(e,S),e.appendChild(S),C?(i=k.length,k.forEach(function(e,n){var r=C({element:e,pageNum:n+1,totalPages:k.length});r&&(e.appendChild(r),p(r,function(){0===--i&&t()}))})):t()}function f(t){return c.keepTogether&&t.is(c.keepTogether)&&t.height()<=s-P?!0:t.data(\"kendoChart\")||/^(?:img|tr|thead|th|tfoot|iframe|svg|object|canvas|input|textarea|select|video|h[1-6])/i.test(t[0].tagName)}function m(n){var i,o,a,h,l=b(n),c=e(_(l,\"padding-bottom\")),u=e(_(l,\"border-bottom-width\")),d=P;for(P+=c+u,i=!0,o=n.firstChild;o;o=o.nextSibling)if(1==o.nodeType){if(i=!1,a=t(o),a.is(r)){v(o);continue}if(!s){m(o);continue}if(!/^(?:static|relative)$/.test(_(b(o),\"position\")))continue;h=y(o),1==h?v(o):h&&f(a)?v(o):m(o)}else 3==o.nodeType&&s&&(w(o,i),i=!1);P=d}function g(t){var e=t.parentNode,n=e.firstChild;if(t===n)return!0;if(t===e.children[0]){if(7==n.nodeType||8==n.nodeType)return!0;if(3==n.nodeType)return!/\\S/.test(n.data)}return!1}function v(e){var n,i,r,o,s,a,h;return 1==e.nodeType&&e!==S&&g(e)?v(e.parentNode):(n=t(e).closest(\"table\"),i=n.find(\"colgroup:first\"),c.repeatHeaders&&(r=n.find(\"thead:first\"),o=t(e).closest('.k-grid[data-role=\"grid\"]'),s=o.find(\".k-grid-header:first\")),a=x(),h=T.createRange(),h.setStartBefore(S),h.setEndBefore(e),a.appendChild(h.extractContents()),S.parentNode.insertBefore(a,S),n[0]&&(n=t(e).closest(\"table\"),c.repeatHeaders&&r[0]&&r.clone().prependTo(n),i[0]&&i.clone().prependTo(n)),void(c.repeatHeaders&&o[0]&&(o=t(e).closest('.k-grid[data-role=\"grid\"]'),s[0]&&s.clone().prependTo(o))))}function x(){var e=T.createElement(\"KENDO-PDF-PAGE\");return t(e).css({display:\"block\",boxSizing:\"content-box\",width:o||\"auto\",padding:l.top+\"px \"+l.right+\"px \"+l.bottom+\"px \"+l.left+\"px\",position:\"relative\",height:s||\"auto\",overflow:s||o?\"hidden\":\"visible\",clear:\"both\"}),c&&c.pageClassName&&(e.className=c.pageClassName),k.push(e),e}function y(t){var e,n,i=t.getBoundingClientRect();return 0===i.width||0===i.height?0:(e=S.getBoundingClientRect().top,n=s-P,i.height>n?3:i.top-e>n?1:i.bottom-e>n?2:0)}function w(t,e){var n,i,r,o,s;/\\S/.test(t.data)&&(n=t.data.length,i=T.createRange(),i.selectNodeContents(t),r=y(i),r&&(o=t,1==r?v(e?t.parentNode:t):(!function a(e,n,r){return i.setEnd(t,n),e==n||n==r?n:y(i)?a(e,e+n>>1,n):a(n,n+r>>1,r)}(0,n>>1,n),!/\\S/.test(\"\"+i)&&e?v(t.parentNode):(o=t.splitText(i.endOffset),s=x(),i.setStartBefore(S),s.appendChild(i.extractContents()),S.parentNode.insertBefore(s,S))),w(o)))}var C=a(c.template),T=i.ownerDocument,k=[],S=c._destructive?i:h(i),E=T.createElement(\"KENDO-PDF-DOCUMENT\"),P=0;t(S).find(\"tfoot\").each(function(){this.parentNode.appendChild(this)}),t(S).find(\"ol\").each(function(){t(this).children().each(function(t){this.setAttribute(\"kendo-split-index\",t)})}),t(E).css({display:\"block\",position:\"absolute\",boxSizing:\"content-box\",left:\"-10000px\",top:\"-10000px\"}),o&&(t(E).css({width:o,paddingLeft:l.left,paddingRight:l.right}),t(S).css({overflow:\"hidden\"})),i.parentNode.insertBefore(E,i),E.appendChild(S),c.beforePageBreak?setTimeout(function(){c.beforePageBreak(E,u)},15):setTimeout(u,15)}var c,u;if(r||(r={}),c=t.Deferred(),n=t(n)[0],!n)return c.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&&kendo.pdf.defineFont(o(n.ownerDocument)),u=i(r.scale||1),p(n,function(){var t,e=r&&r.forcePageBreak,i=r&&r.paperSize&&\"auto\"!=r.paperSize,o=i&&kendo.pdf.getPaperOptions(function(t,e){return t in r?r[t]:e}),a=i&&o.paperSize[0],h=i&&o.paperSize[1],f=r.margin&&o.margin;e||h?(f||(f={left:0,top:0,right:0,bottom:0}),a&&(a/=u.x),h&&(h/=u.y),f.left/=u.x,f.right/=u.x,f.top/=u.y,f.bottom/=u.y,t=new ht.Group({pdf:{multiPage:!0,paperSize:i?o.paperSize:\"auto\",_ignoreMargin:!0}}),l(function(e){if(r.progress){var n=!1,i=0;!function o(){e.pages.length>i?(t.append(s(e.pages[i])),r.progress({pageNum:++i,totalPages:e.pages.length,cancel:function(){n=!0}}),n?e.container.parentNode.removeChild(e.container):setTimeout(o)):(e.container.parentNode.removeChild(e.container),c.resolve(t))}()}else e.pages.forEach(function(e){t.append(s(e))}),e.container.parentNode.removeChild(e.container),c.resolve(t)},n,e,a?a-f.left-f.right:null,h?h-f.top-f.bottom:null,f,r)):c.resolve(s(n))}),c.promise()}function o(t){function e(t){if(t){var e=null;try{e=t.cssRules}catch(n){}e&&i(t,e)}}function n(t){var e,n=_(t.style,\"src\");return n?st(n).reduce(function(t,e){var n=at(e);return n&&t.push(n),t},[]):(e=at(t.cssText),e?[e]:[])}function i(t,i){var o,s,a,h,l,c,u;for(o=0;i.length>o;++o)switch(s=i[o],s.type){case 3:e(s.styleSheet);break;case 5:a=s.style,h=st(_(a,\"font-family\")),l=/^([56789]00|bold)$/i.test(_(a,\"font-weight\")),c=\"italic\"==_(a,\"font-style\"),u=n(s),u.length>0&&r(t,h,l,c,u[0])}}function r(t,e,n,i,r){/^data:/i.test(r)||/^[^\\/:]+:\\/\\//.test(r)||/^\\//.test(r)||(r=(t.href+\"\").replace(/[^\\/]*$/,\"\")+r),e.forEach(function(t){t=t.replace(/^(['\"]?)(.*?)\\1$/,\"$2\"),n&&(t+=\"|bold\"),i&&(t+=\"|italic\"),o[t]=r})}var o,s;for(null==t&&(t=document),o={},s=0;t.styleSheets.length>s;++s)e(t.styleSheets[s]);return o}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t){return t=\"_counter_\"+t,mt[t]}function h(t){var e=[],n=mt;for(t=\"_counter_\"+t;n;)s(n,t)&&e.push(n[t]),n=Object.getPrototypeOf(n);return e.reverse()}function l(t,e){var n=mt;for(t=\"_counter_\"+t;n&&!s(n,t);)n=Object.getPrototypeOf(n);n||(n=mt._root),n[t]=(n[t]||0)+(null==e?1:e)}function c(t,e){t=\"_counter_\"+t,mt[t]=null==e?0:e}function u(t,n,i){var r,o,s;for(r=0;t.length>r;)o=t[r++],s=e(t[r]),isNaN(s)?n(o,i):(n(o,s),++r)}function f(t,e){var n=kendo.parseColor(t);return n&&(n=n.toRGB(),e?n=n.toCssRgba():0===n.a&&(n=null)),n}function d(t,e){function n(){--i<=0&&e()}var i=0;t.forEach(function(t){var e,r,o=t.querySelectorAll(\"img\");for(e=0;o.length>e;++e)r=o[e],r.complete||(i++,r.onload=r.onerror=n)}),i||n()}function p(t,e){function n(t){pt[t]||(pt[t]=!0,o.push(t))}function i(){--r<=0&&e()}var r,o=[];!function s(t){/^img$/i.test(t.tagName)&&n(t.src),ot(_(b(t),\"background-image\")).forEach(function(t){\"url\"==t.type&&n(t.url)}),t.children&&ct.call(t.children).forEach(s)}(t),r=o.length,0===r&&i(),o.forEach(function(t){var e=pt[t]=new Image;/^data:/i.test(t)||(e.crossOrigin=\"Anonymous\"),e.src=t,e.complete?i():(e.onload=i,e.onerror=function(){pt[t]=null,i()})})}function m(t){var e,i=\"\";do e=t%26,i=String.fromCharCode(97+e)+i,t=n.floor(t/26);while(t>0);return i}function g(t,e,n){var i,r;mt=Object.create(mt),mt[t.tagName.toLowerCase()]={element:t,style:e},i=_(e,\"text-decoration\"),i&&\"none\"!=i&&(r=_(e,\"color\"),i.split(/\\s+/g).forEach(function(t){mt[t]||(mt[t]=r)})),w(e)&&(mt._stackingContext={element:t,group:n})}function v(){mt=Object.getPrototypeOf(mt)}function x(t){if(null!=mt._clipbox){var e=t.bbox(mt._matrix);mt._clipbox=mt._clipbox?lt.Rect.intersect(mt._clipbox,e):e}}function y(){var t=mt._clipbox;return null==t?!0:t?0===t.width()||0===t.height():void 0}function w(t){function e(e){return _(t,e)}return\"none\"!=e(\"transform\")||\"static\"!=e(\"position\")&&\"auto\"!=e(\"z-index\")||e(\"opacity\")<1?!0:void 0}function b(t,e){return window.getComputedStyle(t,e||null)}function _(t,e){return t.getPropertyValue(e)||ut.webkit&&t.getPropertyValue(\"-webkit-\"+e)||ut.mozilla&&t.getPropertyValue(\"-moz-\"+e)||ut.opera&&t.getPropertyValue(\"-o-\"+e)||ut.msie&&t.getPropertyValue(\"-ms-\"+e)}function C(t,e,n,i){t.setProperty(e,n,i),ut.webkit?t.setProperty(\"-webkit-\"+e,n,i):ut.mozilla?t.setProperty(\"-moz-\"+e,n,i):ut.opera?t.setProperty(\"-o-\"+e,n,i):ut.msie&&(t.setProperty(\"-ms-\"+e,n,i),e=\"ms\"+e.replace(/(^|-)([a-z])/g,function(t,e,n){return e+n.toUpperCase()}),t[e]=n)}function T(t){var e,n,i,r;if((ut.msie||ut.chrome)&&(e=t.getClientRects(),i=0,3>=e.length)){for(r=0;e.length>r;++r)1>=e[r].width?i++:n=e[r];if(i==e.length-1)return n}return t.getBoundingClientRect()}function k(t,n){return n=\"border-\"+n,{width:e(_(t,n+\"-width\")),style:_(t,n+\"-style\"),color:f(_(t,n+\"-color\"),!0)}}function S(t,e){var n=t.style.cssText,i=e();return t.style.cssText=n,i}function E(t,n){var i=_(t,\"border-\"+n+\"-radius\").split(/\\s+/g).map(e);return 1==i.length&&i.push(i[0]),D({x:i[0],y:i[1]})}function P(t){var e=t.getBoundingClientRect();return e=A(e,\"border-*-width\",t),e=A(e,\"padding-*\",t)}function A(t,n,i){var r,o,s,a,h;return\"string\"==typeof n?(r=b(i),o=e(_(r,n.replace(\"*\",\"top\"))),s=e(_(r,n.replace(\"*\",\"right\"))),a=e(_(r,n.replace(\"*\",\"bottom\"))),h=e(_(r,n.replace(\"*\",\"left\")))):\"number\"==typeof n&&(o=s=a=h=n),{top:t.top+o,right:t.right-s,bottom:t.bottom-a,left:t.left+h,width:t.right-t.left-s-h,height:t.bottom-t.top-a-o}}function O(t){var n,i,r=_(t,\"transform\");return\"none\"==r?null:(n=/^\\s*matrix\\(\\s*(.*?)\\s*\\)\\s*$/.exec(r),n?(i=_(t,\"transform-origin\"),n=n[1].split(/\\s*,\\s*/g).map(e),i=i.split(/\\s+/g).map(e),{matrix:n,origin:i}):void 0)}function N(t){return 180*t/n.PI%360}function R(t){var i=e(t);return/grad$/.test(t)?n.PI*i/200:/rad$/.test(t)?i:/turn$/.test(t)?n.PI*i*2:/deg$/.test(t)?n.PI*i/180:void 0}function z(t,e){return e=new lt.Matrix(e[0],e[1],e[2],e[3],e[4],e[5]),t.transform(e),e}function B(t,e){t.clip(e)}function M(t,e,n,i){for(var r=new lt.Arc([e,n],i).curvePoints(),o=1;r.length>o;)t.curveTo(r[o++],r[o++],r[o++])}function D(t){return(0>=t.x||0>=t.y)&&(t.x=t.y=0),t}function L(t,e,i,r,o){var s=n.max(0,e.x),a=n.max(0,e.y),h=n.max(0,i.x),l=n.max(0,i.y),c=n.max(0,r.x),u=n.max(0,r.y),f=n.max(0,o.x),d=n.max(0,o.y),p=n.min(t.width/(s+h),t.height/(l+u),t.width/(c+f),t.height/(d+a));return 1>p&&(s*=p,a*=p,h*=p,l*=p,c*=p,u*=p,f*=p,d*=p),{tl:{x:s,y:a},tr:{x:h,y:l},br:{x:c,y:u},bl:{x:f,y:d}}}function I(t,n,i){var r,o,s,a,h,l,c,u,f=b(t),d=E(f,\"top-left\"),p=E(f,\"top-right\"),m=E(f,\"bottom-left\"),g=E(f,\"bottom-right\");return(\"padding\"==i||\"content\"==i)&&(r=k(f,\"top\"),o=k(f,\"right\"),s=k(f,\"bottom\"),a=k(f,\"left\"),d.x-=a.width,d.y-=r.width,p.x-=o.width,p.y-=r.width,g.x-=o.width,g.y-=s.width,m.x-=a.width,m.y-=s.width,\"content\"==i&&(h=e(_(f,\"padding-top\")),l=e(_(f,\"padding-right\")),c=e(_(f,\"padding-bottom\")),u=e(_(f,\"padding-left\")),d.x-=u,d.y-=h,p.x-=l,p.y-=h,g.x-=l,g.y-=c,m.x-=u,m.y-=c)),\"number\"==typeof i&&(d.x-=i,d.y-=i,p.x-=i,p.y-=i,g.x-=i,g.y-=i,m.x-=i,m.y-=i),F(n,d,p,g,m)}function F(t,e,n,i,r){var o=L(t,e,n,i,r),s=o.tl,a=o.tr,h=o.br,l=o.bl,c=new ht.Path({fill:null,stroke:null});return c.moveTo(t.left,t.top+s.y),s.x&&M(c,t.left+s.x,t.top+s.y,{startAngle:-180,endAngle:-90,radiusX:s.x,radiusY:s.y}),c.lineTo(t.right-a.x,t.top),a.x&&M(c,t.right-a.x,t.top+a.y,{startAngle:-90,endAngle:0,radiusX:a.x,radiusY:a.y}),c.lineTo(t.right,t.bottom-h.y),h.x&&M(c,t.right-h.x,t.bottom-h.y,{startAngle:0,endAngle:90,radiusX:h.x,radiusY:h.y}),c.lineTo(t.left+l.x,t.bottom),l.x&&M(c,t.left+l.x,t.bottom-l.y,{startAngle:90,endAngle:180,radiusX:l.x,radiusY:l.y}),c.close()}function G(t,n){var i=e(t)+\"\";switch(n){case\"decimal-leading-zero\":return 2>i.length&&(i=\"0\"+i),i;case\"lower-roman\":return ft(t).toLowerCase();case\"upper-roman\":return ft(t).toUpperCase();case\"lower-latin\":case\"lower-alpha\":return m(t-1);case\"upper-latin\":case\"upper-alpha\":return m(t-1).toUpperCase();default:return i}}function j(t,e){function n(t,e,n){return n?(n=n.replace(/^\\s*([\"'])(.*)\\1\\s*$/,\"$2\"),h(t).map(function(t){return G(t,e)}).join(n)):G(a(t)||0,e)}var i,r=st(e,/^\\s+/),o=[];return r.forEach(function(e){var r;(i=/^\\s*([\"'])(.*)\\1\\s*$/.exec(e))?o.push(i[2].replace(/\\\\([0-9a-f]{4})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))})):(i=/^\\s*counter\\((.*?)\\)\\s*$/.exec(e))?(r=st(i[1]),o.push(n(r[0],r[1]))):(i=/^\\s*counters\\((.*?)\\)\\s*$/.exec(e))?(r=st(i[1]),o.push(n(r[0],r[2],r[1]))):o.push((i=/^\\s*attr\\((.*?)\\)\\s*$/.exec(e))?t.getAttribute(i[1])||\"\":e)}),o.join(\"\")}function H(t){var e,n;if(t.cssText)return t.cssText;for(e=[],n=0;t.length>n;++n)e.push(t[n]+\": \"+_(t,t[n]));return e.join(\";\\n\")}function q(t,e){function n(e,n){var r,o=b(t,e);o.content&&\"normal\"!=o.content&&\"none\"!=o.content&&\"0px\"!=o.width&&(r=t.ownerDocument.createElement(dt),r.style.cssText=H(o),r.textContent=j(t,o.content),t.insertBefore(r,n),i.push(r))}var i,r;return t.tagName==dt?void $(t,e):(i=[],n(\":before\",t.firstChild),n(\":after\",null),r=t.className,t.className+=\" kendo-pdf-hide-pseudo-elements\",$(t,e),t.className=r,void i.forEach(function(e){t.removeChild(e)}))}function $(i,r){function o(t){var e,n,r,o,s,a;if(/^td$/i.test(i.tagName)&&(e=mt.table,e&&\"collapse\"==_(e.style,\"border-collapse\"))){if(n=k(e.style,\"left\").width,r=k(e.style,\"top\").width,0===n&&0===r)return t;if(o=e.element.getBoundingClientRect(),s=e.element.rows[0].cells[0],a=s.getBoundingClientRect(),a.top==o.top||a.left==o.left)return ct.call(t).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 t}function s(t,e,i,o,s,a,h,l){function c(e,r,o){var s=n.PI/2*e/(e+i),a={x:r.x-e,y:r.y-i},h=new ht.Path({fill:{color:t},stroke:null}).moveTo(0,0);z(h,o),M(h,0,r.y,{startAngle:-90,endAngle:-N(s),radiusX:r.x,radiusY:r.y}),a.x>0&&a.y>0?(h.lineTo(a.x*n.cos(s),r.y-a.y*n.sin(s)),M(h,0,r.y,{startAngle:-N(s),endAngle:-90,radiusX:a.x,radiusY:a.y,anticlockwise:!0})):a.x>0?h.lineTo(a.x,i).lineTo(0,i):h.lineTo(a.x,i).lineTo(a.x,0),f.append(h.close())}if(!(0>=i)){var u,f=new ht.Group;z(f,l),r.append(f),D(a),D(h),u=new ht.Path({fill:{color:t},stroke:null}),f.append(u),u.moveTo(a.x?n.max(a.x,o):0,0).lineTo(e-(h.x?n.max(h.x,s):0),0).lineTo(e-n.max(h.x,s),i).lineTo(n.max(a.x,o),i).close(),a.x&&c(o,a,[-1,0,0,1,a.x,0]),h.x&&c(s,h,[1,0,0,1,e-h.x,0])}}function a(e){var n,o,s=new ht.Group;for(B(s,F(e,q,$,V,Y)),r.append(s),\"A\"==i.tagName&&i.href&&!/^#?$/.test(t(i).attr(\"href\"))&&(mt._avoidLinks&&t(i).is(mt._avoidLinks)||(s._pdfLink={url:i.href,top:e.top,right:e.right,bottom:e.bottom,left:e.left})),Z&&(n=new ht.Path({fill:{color:Z.toCssRgba()},stroke:null}),n.moveTo(e.left,e.top).lineTo(e.right,e.top).lineTo(e.right,e.bottom).lineTo(e.left,e.bottom).close(),s.append(n)),o=u.length;--o>=0;)h(s,e,u[o],d[o%d.length],p[o%p.length],g[o%g.length],v[o%v.length])}function h(t,r,o,s,a,h,l){function c(t,r,o,c,u){function f(){for(;x.origin.x>r.left;)x.origin.x-=o}function d(){for(;x.origin.y>r.top;)x.origin.y-=c}function p(){for(;r.right>x.origin.x;)u(t,x.clone()),x.origin.x+=o}var m,g,v,x,y,w=o/c,b=r;if(\"content-box\"==h?(b=A(b,\"border-*-width\",i),b=A(b,\"padding-*\",i)):\"padding-box\"==h&&(b=A(b,\"border-*-width\",i)),/^\\s*auto(\\s+auto)?\\s*$/.test(l)||(\"contain\"==l?(m=n.min(b.width/o,b.height/c),o*=m,c*=m):\"cover\"==l?(m=n.max(b.width/o,b.height/c),o*=m,c*=m):(g=l.split(/\\s+/g),o=/%$/.test(g[0])?b.width*e(g[0])/100:e(g[0]),c=1==g.length||\"auto\"==g[1]?o/w:/%$/.test(g[1])?b.height*e(g[1])/100:e(g[1]))),v=(a+\"\").split(/\\s+/),1==v.length&&(v[1]=\"50%\"),v[0]=/%$/.test(v[0])?e(v[0])/100*(b.width-o):e(v[0]),v[1]=/%$/.test(v[1])?e(v[1])/100*(b.height-c):e(v[1]),x=new lt.Rect([b.left+v[0],b.top+v[1]],[o,c]),\"no-repeat\"==s)u(t,x);else if(\"repeat-x\"==s)f(),p();else if(\"repeat-y\"==s)for(d();r.bottom>x.origin.y;)u(t,x.clone()),x.origin.y+=c;else if(\"repeat\"==s)for(f(),d(),y=x.origin.clone();r.bottom>x.origin.y;)x.origin.x=y.x,p(),x.origin.y+=c}if(o&&\"none\"!=o)if(\"url\"==o.type){if(/^url\\(\\\"data:image\\/svg/i.test(o.url))return;var u=pt[o.url];u&&u.width>0&&u.height>0&&c(t,r,u.width,u.height,function(t,e){t.append(new ht.Image(o.url,e))})}else{if(\"linear\"!=o.type)return;c(t,r,r.width,r.height,X(o))}}function l(){function t(t){S(i,function(){i.style.position=\"relative\";var e=i.ownerDocument.createElement(dt);e.style.position=\"absolute\",e.style.boxSizing=\"border-box\",\"outside\"==n?(e.style.width=\"6em\",e.style.left=\"-6.8em\",e.style.textAlign=\"right\"):e.style.left=\"0px\",t(e),i.insertBefore(e,i.firstChild),nt(e,r),i.removeChild(e)})}function e(t){var e,n=i.parentNode.children,r=i.getAttribute(\"kendo-split-index\");if(null!=r)return t(0|r,n.length);for(e=0;n.length>e;++e)if(n[e]===i)return t(e,n.length)}var n,o=_(O,\"list-style-type\");if(\"none\"!=o)switch(n=_(O,\"list-style-position\"),o){case\"circle\":case\"disc\":case\"square\":t(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:\"â– \"}[o]});break;case\"decimal\":case\"decimal-leading-zero\":t(function(t){e(function(e){++e,\"decimal-leading-zero\"==o&&2>(e+\"\").length&&(e=\"0\"+e),t.innerHTML=e+\".\"})});break;case\"lower-roman\":case\"upper-roman\":t(function(t){e(function(e){e=ft(e+1),\"upper-roman\"==o&&(e=e.toUpperCase()),t.innerHTML=e+\".\"})});break;case\"lower-latin\":case\"lower-alpha\":case\"upper-latin\":case\"upper-alpha\":t(function(t){e(function(e){e=m(e),/^upper/i.test(o)&&(e=e.toUpperCase()),t.innerHTML=e+\".\"})})}}function c(t,e,n){function o(t){return{x:t.y,y:t.x}}var h,l,c,u,f,d,p,m;if(0!==t.width&&0!==t.height&&(a(t),h=H.width>0&&(e&&\"ltr\"==Q||n&&\"rtl\"==Q),l=G.width>0&&(n&&\"ltr\"==Q||e&&\"rtl\"==Q),0!==R.width||0!==H.width||0!==G.width||0!==j.width)){if(R.color==G.color&&R.color==j.color&&R.color==H.color&&R.width==G.width&&R.width==j.width&&R.width==H.width&&h&&l)return t=A(t,R.width/2),c=I(i,t,R.width/2),c.options.stroke={color:R.color,width:R.width},void r.append(c);if(0===q.x&&0===$.x&&0===V.x&&0===Y.x&&2>R.width&&2>H.width&&2>G.width&&2>j.width)return R.width>0&&r.append(new ht.Path({stroke:{width:R.width,color:R.color}}).moveTo(t.left,t.top+R.width/2).lineTo(t.right,t.top+R.width/2)),j.width>0&&r.append(new ht.Path({stroke:{width:j.width,color:j.color}}).moveTo(t.left,t.bottom-j.width/2).lineTo(t.right,t.bottom-j.width/2)),h&&r.append(new ht.Path({stroke:{width:H.width,color:H.color}}).moveTo(t.left+H.width/2,t.top).lineTo(t.left+H.width/2,t.bottom)),void(l&&r.append(new ht.Path({stroke:{width:G.width,color:G.color}}).moveTo(t.right-G.width/2,t.top).lineTo(t.right-G.width/2,t.bottom)));u=L(t,q,$,V,Y),f=u.tl,d=u.tr,p=u.br,m=u.bl,s(R.color,t.width,R.width,H.width,G.width,f,d,[1,0,0,1,t.left,t.top]),s(j.color,t.width,j.width,G.width,H.width,p,m,[-1,0,0,-1,t.right,t.bottom]),s(H.color,t.height,H.width,j.width,R.width,o(m),o(f),[0,-1,1,0,t.left,t.bottom]),s(G.color,t.height,G.width,R.width,j.width,o(d),o(p),[0,1,-1,0,t.right,t.top])}}var u,d,p,g,v,y,w,C,T,P,O=b(i),R=k(O,\"top\"),G=k(O,\"right\"),j=k(O,\"bottom\"),H=k(O,\"left\"),q=E(O,\"top-left\"),$=E(O,\"top-right\"),Y=E(O,\"bottom-left\"),V=E(O,\"bottom-right\"),Q=_(O,\"direction\"),Z=_(O,\"background-color\");if(Z=f(Z),u=ot(_(O,\"background-image\")),d=st(_(O,\"background-repeat\")),p=st(_(O,\"background-position\")),g=st(_(O,\"background-origin\")),v=st(_(O,\"background-size\")),ut.msie&&10>ut.version&&(p=st(i.currentStyle.backgroundPosition)),y=A(i.getBoundingClientRect(),\"border-*-width\",i),function(){var t,n,i,o,s,a,h,l=_(O,\"clip\"),c=/^\\s*rect\\((.*)\\)\\s*$/.exec(l);c&&(t=c[1].split(/[ ,]+/g),n=\"auto\"==t[0]?y.top:e(t[0])+y.top,i=\"auto\"==t[1]?y.right:e(t[1])+y.left,o=\"auto\"==t[2]?y.bottom:e(t[2])+y.top,s=\"auto\"==t[3]?y.left:e(t[3])+y.left,a=new ht.Group,h=(new ht.Path).moveTo(s,n).lineTo(i,n).lineTo(i,o).lineTo(s,o).close(),B(a,h),r.append(a),r=a,x(h))}(),P=_(O,\"display\"),\"table-row\"==P)for(w=[],C=0,T=i.children;T.length>C;++C)w.push(T[C].getBoundingClientRect());else w=i.getClientRects(),1==w.length&&(w=[i.getBoundingClientRect()]);for(w=o(w),C=0;w.length>C;++C)c(w[C],0===C,C==w.length-1);return w.length>0&&\"list-item\"==P&&l(w[0]),function(){function t(){var t=I(i,y,\"padding\"),e=new ht.Group;B(e,t),r.append(e),r=e,x(t)}W(i)?t():/^(hidden|auto|scroll)/.test(_(O,\"overflow\"))?t():/^(hidden|auto|scroll)/.test(_(O,\"overflow-x\"))?t():/^(hidden|auto|scroll)/.test(_(O,\"overflow-y\"))&&t()}(),U(i,r)||K(i,r),r}function X(t){return function(i,r){var o,s,a,h,l,c,u,f,d,p,m,g,v,x=r.width(),y=r.height();switch(t.type){case\"linear\":switch(o=null!=t.angle?t.angle:n.PI,t.to){case\"top\":o=0;break;case\"left\":o=-n.PI/2;break;case\"bottom\":o=n.PI;break;case\"right\":o=n.PI/2;break;case\"top left\":case\"left top\":o=-n.atan2(y,x);break;case\"top right\":case\"right top\":o=n.atan2(y,x);break;case\"bottom left\":case\"left bottom\":o=n.PI+n.atan2(y,x);break;case\"bottom right\":case\"right bottom\":o=n.PI-n.atan2(y,x)}t.reverse&&(o-=n.PI),o%=2*n.PI,0>o&&(o+=2*n.PI),s=n.abs(x*n.sin(o))+n.abs(y*n.cos(o)),a=n.atan(x*n.tan(o)/y),h=n.sin(a),l=n.cos(a),c=n.abs(h)+n.abs(l),u=c/2*h,f=c/2*l,o>n.PI/2&&3*n.PI/2>=o&&(u=-u,f=-f),d=[],p=0,m=t.stops.map(function(n,i){var r,o=n.percent;return o?o=e(o)/100:n.length?o=e(n.length)/s:0===i?o=0:i==t.stops.length-1&&(o=1),r={color:n.color.toCssRgba(),offset:o},null!=o?(p=o,d.forEach(function(t,e){var n=t.stop;n.offset=t.left+(p-t.left)*(e+1)/(d.length+1)}),d=[]):d.push({left:p,stop:r}),r}),g=[.5-u,.5+f],v=[.5+u,.5-f],i.append(ht.Path.fromRect(r).stroke(null).fill(new ht.LinearGradient({start:g,end:v,stops:m,userSpace:!1})));break;case\"radial\":window.console&&window.console.log&&window.console.log(\"Radial gradients are not yet supported in HTML renderer\")}}}function U(e,n){var i,r,o,s;return e.getAttribute(kendo.attr(\"role\"))&&(i=kendo.widgetInstance(t(e)),i&&(i.exportDOMVisual||i.exportVisual))?(r=i.exportDOMVisual?i.exportDOMVisual():i.exportVisual())?(o=new ht.Group,o.children.push(r),s=e.getBoundingClientRect(),o.transform(lt.transform().translate(s.left,s.top)),n.append(o),!0):!1:void 0}function Y(t,e,n){var i=P(t),r=new lt.Rect([i.left,i.top],[i.width,i.height]),o=new ht.Image(e,r);B(o,I(t,i,\"content\")),n.append(o)}function V(t,n){var i=b(t),r=b(n),o=e(_(i,\"z-index\")),s=e(_(r,\"z-index\")),a=_(i,\"position\"),h=_(r,\"position\");return isNaN(o)&&isNaN(s)?/static|absolute/.test(a)&&/static|absolute/.test(h)?0:\"static\"==a?-1:\"static\"==h?1:0:isNaN(o)?0===s?0:s>0?-1:1:isNaN(s)?0===o?0:o>0?1:-1:e(o)-e(s)}function W(t){return/^(?:textarea|select|input)$/i.test(t.tagName)}function Q(t){return t.selectedOptions&&t.selectedOptions.length>0?t.selectedOptions[0]:t.options[t.selectedIndex]}function Z(t,e){var i=b(t),r=_(i,\"color\"),o=t.getBoundingClientRect();\"checkbox\"==t.type?(e.append(ht.Path.fromRect(new lt.Rect([o.left+1,o.top+1],[o.width-2,o.height-2])).stroke(r,1)),t.checked&&e.append((new ht.Path).stroke(r,1.2).moveTo(o.left+.22*o.width,o.top+.55*o.height).lineTo(o.left+.45*o.width,o.top+.75*o.height).lineTo(o.left+.78*o.width,o.top+.22*o.width))):(e.append(new ht.Circle(new lt.Circle([(o.left+o.right)/2,(o.top+o.bottom)/2],n.min(o.width-2,o.height-2)/2)).stroke(r,1)),t.checked&&e.append(new ht.Circle(new lt.Circle([(o.left+o.right)/2,(o.top+o.bottom)/2],n.min(o.width-8,o.height-8)/2)).fill(r).stroke(null)))}function J(t,e){var n,i,r,o,s,a=t.tagName.toLowerCase();if(\"input\"==a&&(\"checkbox\"==t.type||\"radio\"==t.type))return Z(t,e);if(n=t.parentNode,i=t.ownerDocument,r=i.createElement(dt),r.style.cssText=H(b(t)),\"input\"==a&&(r.style.whiteSpace=\"pre\"),(\"select\"==a||\"textarea\"==a)&&(r.style.overflow=\"auto\"),\"select\"==a)if(t.multiple)for(s=0;t.options.length>s;++s)o=i.createElement(dt),o.style.cssText=H(b(t.options[s])),o.style.display=\"block\",o.textContent=t.options[s].textContent,r.appendChild(o);else o=Q(t),o&&(r.textContent=o.textContent);else r.textContent=t.value;n.insertBefore(r,t),r.scrollLeft=t.scrollLeft,r.scrollTop=t.scrollTop,t.style.display=\"none\",K(r,e),t.style.display=\"\",n.removeChild(r)}function K(t,e){var n,i,r,o,s,a,h,l,c;switch(mt._stackingContext.element===t&&(mt._stackingContext.group=e),t.tagName.toLowerCase()){case\"img\":Y(t,t.src,e);break;case\"canvas\":try{Y(t,t.toDataURL(\"image/png\"),e)}catch(u){}break;case\"textarea\":case\"input\":case\"select\":J(t,e);break;default:for(n=[],i=[],r=[],o=[],s=t.firstChild;s;s=s.nextSibling)switch(s.nodeType){case 3:/\\S/.test(s.data)&&tt(t,s,e);\r\nbreak;case 1:a=b(s),h=_(a,\"display\"),l=_(a,\"float\"),c=_(a,\"position\"),\"static\"!=c?o.push(s):\"inline\"!=h?\"none\"!=l?i.push(s):n.push(s):r.push(s)}n.sort(V).forEach(function(t){nt(t,e)}),i.sort(V).forEach(function(t){nt(t,e)}),r.sort(V).forEach(function(t){nt(t,e)}),o.sort(V).forEach(function(t){nt(t,e)})}}function tt(t,i,r){function o(){var t,e,r,o,a,h,f,d=c,p=l.substr(c).search(/\\S/);if(c+=p,0>p||c>=u)return!0;if(g.setStart(i,c),g.setEnd(i,c+1),t=T(g),e=!1,x&&(p=l.substr(c).search(/\\s/),p>=0&&(g.setEnd(i,c+p),r=g.getBoundingClientRect(),r.bottom==t.bottom&&(t=r,e=!0,c+=p))),!e){if(p=function m(e,n,r){g.setEnd(i,n);var o=T(g);return o.bottom!=t.bottom&&n>e?m(e,e+n>>1,n):o.right!=t.right?(t=o,r>n?m(n,n+r>>1,r):n):n}(c,n.min(u,c+S),u),p==c)return!0;if(c=p,p=(\"\"+g).search(/\\s+$/),0===p)return;p>0&&(g.setEnd(i,g.startOffset+p),t=g.getBoundingClientRect())}if(ut.msie&&(t=g.getClientRects()[0]),o=\"\"+g,/^(?:pre|pre-wrap)$/i.test(w)){if(/\\t/.test(o)){for(a=0,p=d;g.startOffset>p;++p)h=l.charCodeAt(p),9==h?a+=8-a%8:10==h||13==h?a=0:a++;for(;(p=o.search(\"\t\"))>=0;)f=\" \".substr(0,8-(a+p)%8),o=o.substr(0,p)+f+o.substr(p+1)}}else o=o.replace(/\\s+/g,\" \");s(o,t)}function s(t,e){var n,i,o;ut.msie&&!isNaN(d)&&(n=kendo.util.measureText(t,{font:p}),i=(e.top+e.bottom-n.height)/2,e={top:i,right:e.right,bottom:i+n.height,left:e.left,height:n.height,width:e.right-e.left}),o=new rt(t,new lt.Rect([e.left,e.top],[e.width,e.height]),{font:p,fill:{color:m}}),r.append(o),a(e)}function a(t){function e(e,n){var i,o;e&&(i=f/12,o=new ht.Path({stroke:{width:i,color:e}}),n-=i,o.moveTo(t.left,n).lineTo(t.right,n),r.append(o))}e(mt.underline,t.bottom),e(mt[\"line-through\"],t.bottom-t.height/2.7),e(mt.overline,t.top)}var h,l,c,u,f,d,p,m,g,v,x,w,C,k,S;if(!y()&&(h=b(t),!(e(_(h,\"text-indent\"))<-500)&&(l=i.data,c=0,u=l.search(/\\S\\s*$/)+1,u&&(f=_(h,\"font-size\"),d=_(h,\"line-height\"),p=[_(h,\"font-style\"),_(h,\"font-variant\"),_(h,\"font-weight\"),f,_(h,\"font-family\")].join(\" \"),f=e(f),d=e(d),0!==f)))){for(m=_(h,\"color\"),g=t.ownerDocument.createRange(),v=_(h,\"text-align\"),x=\"justify\"==v,w=_(h,\"white-space\"),ut.msie&&(C=h.textOverflow,\"ellipsis\"==C&&(k=t.style.textOverflow,t.style.textOverflow=\"clip\")),S=t.getBoundingClientRect().width/f*5,0===S&&(S=500);!o(););ut.msie&&\"ellipsis\"==C&&(t.style.textOverflow=k)}}function et(t,n,i){var r,o,s,a,h,l;for(\"auto\"!=i?(r=mt._stackingContext.group,i=e(i)):(r=n,i=0),o=r.children,s=0;o.length>s&&!(null!=o[s]._dom_zIndex&&o[s]._dom_zIndex>i);++s);return a=new ht.Group,r.insertAt(a,s),a._dom_zIndex=i,r!==n&&mt._clipbox&&(h=mt._matrix.invert(),l=mt._clipbox.transformCopy(h),B(a,ht.Path.fromRect(l))),a}function nt(t,n){var i,r,o,s,a,h,f,d=b(t),p=_(d,\"counter-reset\");p&&u(st(p,/^\\s+/),c,0),i=_(d,\"counter-increment\"),i&&u(st(i,/^\\s+/),l,1),/^(style|script|link|meta|iframe|svg|col|colgroup)$/i.test(t.tagName)||null!=mt._clipbox&&(r=e(_(d,\"opacity\")),o=_(d,\"visibility\"),s=_(d,\"display\"),0!==r&&\"hidden\"!=o&&\"none\"!=s&&(a=O(d),f=_(d,\"z-index\"),(a||1>r)&&\"auto\"==f&&(f=0),h=et(t,n,f),1>r&&h.opacity(r*h.opacity()),g(t,d,h),a?S(t,function(){var e,n,i,r;C(t.style,\"transform\",\"none\",\"important\"),C(t.style,\"transition\",\"none\",\"important\"),\"static\"==_(d,\"position\")&&C(t.style,\"position\",\"relative\",\"important\"),e=t.getBoundingClientRect(),n=e.left+a.origin[0],i=e.top+a.origin[1],r=[1,0,0,1,-n,-i],r=it(r,a.matrix),r=it(r,[1,0,0,1,n,i]),r=z(h,r),mt._matrix=mt._matrix.multiplyCopy(r),q(t,h)}):q(t,h),v()))}function it(t,e){var n=t[0],i=t[1],r=t[2],o=t[3],s=t[4],a=t[5],h=e[0],l=e[1],c=e[2],u=e[3],f=e[4],d=e[5];return[n*h+i*c,n*l+i*u,r*h+o*c,r*l+o*u,s*h+a*c+f,s*l+a*u+d]}var rt,ot,st,at,ht=kendo.drawing,lt=kendo.geometry,ct=Array.prototype.slice,ut=kendo.support.browser,ft=kendo.util.arabicToRoman,dt=\"KENDO-PSEUDO-ELEMENT\",pt={},mt={};mt._root=mt,rt=ht.Text.extend({nodeType:\"Text\",init:function(t,e,n){ht.Text.fn.init.call(this,t,e.getOrigin(),n),this._pdfRect=e},rect:function(){return this._pdfRect},rawBBox:function(){return this._pdfRect}}),ht.drawDOM=r,r.getFontFaces=o,ot=function(){function t(t){function p(){var e=a.exec(t);e&&(t=t.substr(e[1].length))}function m(e){p();var n=e.exec(t);return n?(t=t.substr(n[1].length),n[1]):void 0}function g(){var e,r,o=kendo.parseColor(t,!0);return o?(t=t.substr(o.match[0].length),o=o.toRGB(),(e=m(i))||(r=m(n)),{color:o,length:e,percent:r}):void 0}function v(e){var i,s,a,u,f,d,p=[],v=!1;if(m(h)){for(i=m(o),i?(i=R(i),m(c)):(s=m(r),\"to\"==s?s=m(r):s&&/^-/.test(e)&&(v=!0),a=m(r),m(c)),/-moz-/.test(e)&&null==i&&null==s&&(u=m(n),f=m(n),v=!0,\"0%\"==u?s=\"left\":\"100%\"==u&&(s=\"right\"),\"0%\"==f?a=\"top\":\"100%\"==f&&(a=\"bottom\"),m(c));t&&!m(l)&&(d=g());)p.push(d),m(c);return{type:\"linear\",angle:i,to:s&&a?s+\" \"+a:s?s:a?a:null,stops:p,reverse:v}}}function x(){if(m(h)){var t=m(f);return t=t.replace(/^['\"]+|[\"']+$/g,\"\"),m(l),{type:\"url\",url:t}}}var y,w=t;return s(d,w)?d[w]:((y=m(e))?y=v(y):(y=m(u))&&(y=x()),d[w]=y||{type:\"none\"})}var e=/^((-webkit-|-moz-|-o-|-ms-)?linear-gradient\\s*)\\(/,n=/^([-0-9.]+%)/,i=/^([-0-9.]+px)/,r=/^(left|right|top|bottom|to|center)\\W/,o=/^([-0-9.]+(deg|grad|rad|turn))/,a=/^(\\s+)/,h=/^(\\()/,l=/^(\\))/,c=/^(,)/,u=/^(url)\\(/,f=/^(.*?)\\)/,d={},p={};return function(e){return s(p,e)?p[e]:p[e]=st(e).map(t)}}(),st=function(){var t={};return function(e,n){function i(t){return f=t.exec(e.substr(l))}function r(t){return t.replace(/^\\s+|\\s+$/g,\"\")}var o,a,h,l,c,u,f;if(n||(n=/^\\s*,\\s*/),o=e+n,s(t,o))return t[o];for(a=[],h=0,l=0,c=0,u=!1;e.length>l;)!u&&i(/^[\\(\\[\\{]/)?(c++,l++):!u&&i(/^[\\)\\]\\}]/)?(c--,l++):!u&&i(/^[\\\"\\']/)?(u=f[0],l++):\"'\"==u&&i(/^\\\\\\'/)?l+=2:'\"'==u&&i(/^\\\\\\\"/)?l+=2:\"'\"==u&&i(/^\\'/)?(u=!1,l++):'\"'==u&&i(/^\\\"/)?(u=!1,l++):i(n)?(!u&&!c&&l>h&&(a.push(r(e.substring(h,l))),h=l+f[0].length),l+=f[0].length):l++;return l>h&&a.push(r(e.substring(h,l))),t[o]=a}}(),at=function(){var t={};return function(e){var n,i=t[e];return i||((n=/url\\((['\"]?)([^'\")]*?)\\1\\)\\s+format\\((['\"]?)truetype\\3\\)/.exec(e))?i=t[e]=n[2]:(n=/url\\((['\"]?)([^'\")]*?\\.ttf)\\1\\)/.exec(e))&&(i=t[e]=n[2])),i}}()}(window.kendo.jQuery,parseFloat,Math)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"drawing/animation.min\",[\"drawing/geometry.min\",\"drawing/core.min\"],t)}(function(){!function(t){var e=t.noop,n=window.kendo,i=n.Class,r=n.util,o=n.animationFrame,s=n.deepExtend,a=i.extend({init:function(t,e){var n=this;n.options=s({},n.options,e),n.element=t},options:{duration:500,easing:\"swing\"},setup:e,step:e,play:function(){var e=this,n=e.options,i=t.easing[n.easing],s=n.duration,a=n.delay||0,h=r.now()+a,l=h+s;0===s?(e.step(1),e.abort()):setTimeout(function(){var t=function(){var n,a,c,u;e._stopped||(n=r.now(),a=r.limitValue(n-h,0,s),c=a/s,u=i(c,a,0,1,s),e.step(u),l>n?o(t):e.abort())};t()},a)},abort:function(){this._stopped=!0},destroy:function(){this.abort()}}),h=function(){this._items=[]};h.prototype={register:function(t,e){this._items.push({name:t,type:e})},create:function(t,e){var n,i,r,o=this._items;if(e&&e.type)for(i=e.type.toLowerCase(),r=0;o.length>r;r++)if(o[r].name.toLowerCase()===i){n=o[r];break}return n?new n.type(t,e):void 0}},h.current=new h,a.create=function(t,e,n){return h.current.create(t,e,n)},s(n.drawing,{Animation:a,AnimationFactory:h})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()}),function(t,define){define(\"kendo.drawing.min\",[\"kendo.color.min\",\"util/main.min\",\"util/text-metrics.min\",\"util/base64.min\",\"mixins/observers.min\",\"drawing/geometry.min\",\"drawing/core.min\",\"drawing/mixins.min\",\"drawing/shapes.min\",\"drawing/parser.min\",\"drawing/search.min\",\"drawing/svg.min\",\"drawing/canvas.min\",\"drawing/vml.min\",\"drawing/html.min\",\"drawing/animation.min\"],t)}(function(){},\"function\"==typeof define&&define.amd?define:function(t,e,n){(n||e)()});\r\n//# sourceMappingURL=kendo.drawing.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(t,define){define(\"util/main.min\",[\"kendo.core.min\"],t)}(function(){return function(){function t(t){return typeof t!==U}function i(t,i){var e=n(i);return C.round(t*e)/e}function n(t){return t?C.pow(10,t):1}function e(t,i,n){return C.max(C.min(t,n),i)}function o(t){return t*I}function r(t){return t/I}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=j,o=E;for(i=0;n>i;i++)o=C.max(o,t[i]),e=C.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=j,r=E;for(i=0,n=t.length;n>i;i++)e=t[i],null!==e&&isFinite(e)&&(o=C.min(o,e),r=C.max(r,e));return{min:o===j?void 0:o,max:r===E?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 L.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 _(t){return\"string\"!=typeof t&&(t+=\"px\"),t}function M(t){var i,n,e=[];if(t)for(i=L.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 P(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]:t.apply(this,arguments)}}function V(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(\"\")}var C=Math,L=window.kendo,B=L.deepExtend,I=C.PI/180,j=Number.MAX_VALUE,E=-Number.MAX_VALUE,U=\"undefined\",O=Date.now;O||(O=function(){return(new Date).getTime()}),B(L,{util:{MAX_NUM:j,MIN_NUM:E,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:O,objectKey:u,round:i,rad:o,renderAttr:w,renderAllAttr:T,renderPos:M,renderSize:_,renderStyle:k,renderTemplate:b,sparseArrayLimits:g,sparseArrayMin:x,sparseArrayMax:m,sqr:l,valueOrDefault:s,romanToArabic:P,arabicToRoman:A,memoize:R,ucs2encode:z,ucs2decode:V}}),L.drawing.util=L.util,L.dataviz.util=L.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[Et]=n[jt]=n[ct]=n[At]=t:(n[Et]=t[Et]||i,n[jt]=t[jt]||i,n[ct]=t[ct]||i,n[At]=t[At]||i),n}function e(t,i){var n=t.tickX,e=t.tickY,o=t.position,r=new Z.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 Z.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,yt-1);if(0===r){if(0===i)return.1;r=at.abs(i)}return n=at.pow(10,at.floor(at.log(r)/at.log(10))),e=h(r/n,yt),o=1,o=1.904762>e?.2:4.761904>e?.5:9.523809>e?1:2,h(n*o,yt)}function a(t,i,n,e,o){var r=o*wt;return new Ht(n+(t-n)*at.cos(r)+(i-e)*at.sin(r),e-(t-n)*at.sin(r)+(i-e)*at.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=at.min(i.x1,n.x1),o=at.max(i.x1,n.x1),r=at.min(i.x2,n.x2),a=at.max(i.x2,n.x2),s=at.min(i.y1,n.y1),l=at.max(i.y1,n.y1),u=at.min(i.y2,n.y2),c=at.max(i.y2,n.y2),h=[];return h[0]=M(o,s,r,l),h[1]=M(e,l,o,u),h[2]=M(r,l,a,u),h[3]=M(o,u,r,c),i.x1==e&&i.y1==s||n.x1==e&&n.y1==s?(h[4]=M(e,s,o,l),h[5]=M(r,u,a,c)):(h[4]=M(r,s,a,l),h[5]=M(e,u,o,c)),t.grep(h,function(t){return t.height()>0&&t.width()>0})[0]}function l(t,i){return-1!=et(t,i)}function u(t,i){return h(at.ceil(t/i)*i,yt)}function c(t,i){return h(at.floor(t/i)*i,yt)}function h(t,i){var n=at.pow(10,i||0);return at.round(t*n)/n}function p(t,i){return at.log(t)/at.log(i)}function f(t,i,n){var e=h(at.abs(t%i),yt),o=i*(1-n);return 0===e||e>o}function d(t,i,n){return h(t+(i-t)*n,pt)}function x(t,i){return t-i}function m(t,i){return t.match(Tt)?H.format.apply(this,arguments):H.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?at.ceil(n):at.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(!H.support.vml)for(i=.5,t.options.stroke&&q(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=st({},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 M(i.x,i.y,n.x,n.y)}function _(i){i=i||{};var n=t(i.touch?i.touch.initialTouch:i.target);return n}var M,S,A,P,R,V,z,C,L,B,I,j,E,U,O,D,G,N,F,H=window.kendo,X=H.util,W=X.append,q=X.defined,K=X.last,Y=X.valueOrDefault,Q=H.dataviz,J=Q.geometry,Z=Q.drawing,$=Z.util.measureText,tt=H.Class,it=H.template,nt=t.noop,et=t.inArray,ot=t.isPlainObject,rt=t.trim,at=Math,st=H.deepExtend,lt=\"axisLabelClick\",ut=\"#000\",ct=\"bottom\",ht=\"center\",pt=3,ft=\"clip\",dt=\"circle\",xt=\"cross\",mt=\"12px sans-serif\",gt=400,vt=7,yt=10,bt=600,wt=at.PI/180,Tt=/\\{\\d+:?/,kt=\"height\",_t=1e5,Mt=600,St=\"inside\",At=\"left\",Pt=\"linear\",Rt=Number.MAX_VALUE,Vt=-Number.MAX_VALUE,zt=\"none\",Ct=\"noteClick\",Lt=\"noteHover\",Bt=\"outside\",It=\"radial\",jt=\"right\",Et=\"top\",Ut=\"triangle\",Ot=\"width\",Dt=\"#fff\",Gt=\"x\",Nt=\"y\",Ft=.2,Ht=function(t,n){var e=this;return e instanceof Ht?(e.x=t||0,e.y=n||0,i):new Ht(t,n)};Ht.fn=Ht.prototype={clone:function(){var t=this;return new Ht(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*wt,o=at.cos(e),r=at.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,pt),n.y=h(s+(u-s)*o-(l-a)*r,pt),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 at.sqrt(i*i+n*n)}},Ht.onCircle=function(t,i,n){return i*=wt,new Ht(t.x-n*at.cos(i),t.y-n*at.sin(i))},M=function(t,n,e,o){var r=this;return r instanceof M?(r.x1=t||0,r.x2=e||0,r.y1=n||0,r.y2=o||0,i):new M(t,n,e,o)},M.fn=M.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 q(t)&&(n.x1=t,n.x2=n.x1+o),q(i)&&(n.y1=i,n.y2=n.y1+e),n},wrap:function(t){var i=this;return i.x1=at.min(i.x1,t.x1),i.y1=at.min(i.y1,t.y1),i.x2=at.max(i.x2,t.x2),i.y2=at.max(i.y2,t.y2),i},wrapPoint:function(t){return this.wrap(new M(t.x,t.y,t.x,t.y)),this},snapTo:function(t,i){var n=this;return i!=Gt&&i||(n.x1=t.x1,n.x2=t.x2),i!=Nt&&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==Et||i==ct?Nt:Gt,l=s==Nt?r:a;return i===ht?(n=t.center(),e=o.center(),o.x1+=n.x-e.x,o.y1+=n.y-e.y):o[s+1]=i===Et||i===At?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 M(t.x1,t.y1,t.x2,t.y2)},center:function(){var t=this;return new Ht(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 Ht(t.x1,t.y1),new Ht(t.x2,t.y1),new Ht(t.x2,t.y2),new Ht(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=at.max(l.x,u.x,c.x,h.x)-at.min(l.x,u.x,c.x,h.x),e=at.max(l.y,u.y,c.y,h.y)-at.min(l.y,u.y,c.y,h.y),i.x2=i.x1+n,i.y2=i.y1+e,i},toRect:function(){return new J.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===Gt?Ot:kt,s=e[a]();l(n,[At,Et])?(e[o]=t[o],e[r]=e[o]+s):l(n,[jt,ct])?(e[r]=t[r],e[o]=e[r]-s):n==ht&&(e[o]=t[o]+(t[a]()-s)/2,e[r]=e[o]+s)}},S=tt.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 S(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*wt,o=at.cos(e),r=at.sin(e),a=i?n.ir:n.r,s=h(n.c.x-o*a,pt),l=h(n.c.y-r*a,pt);return new Ht(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=at.sin(o*wt),h=at.cos(o*wt);return at.abs(c)<.9&&(l+=a*-h/at.abs(h)),at.abs(h)<.9&&(u+=s*-c/at.abs(c)),new M(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 Ht(s,l),c=i.point(r),p=new Ht(c.x-n.x,c.y-n.y),f=i.point(a),d=new Ht(f.x-n.x,f.y-n.y),x=h(s*s+l*l,pt);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 M(Rt,Rt,Vt,Vt),r=h(e.startAngle%360),a=h((r+e.angle)%360),s=e.ir,l=[0,90,180,270,r,a].sort(x),u=et(r,l),c=et(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}}),A=S.extend({init:function(t,i,n,e){S.fn.init.call(this,t,0,i,n,e)},expand:function(t){return S.fn.expand.call(this,t)},clone:function(){var t=this;return new A(t.c,t.r,t.startAngle,t.angle)},radius:function(t){return S.fn.radius.call(this,t)},point:function(t){return S.fn.point.call(this,t)}}),P=function(){},P.fn=P.prototype={createRing:function(t,i){var n,e=t.startAngle+180,o=t.angle+e,r=new J.Point(t.c.x,t.c.y),a=at.max(t.r,0),s=at.max(t.ir,0),l=new J.Arc(r,{startAngle:e,endAngle:o,radiusX:a,radiusY:a}),u=Z.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}},P.current=new P,R=tt.extend({init:function(t){var i=this;i.children=[],i.options=st({},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(){W(this.children,arguments);for(var t=0;t<arguments.length;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 Q.drawing.Group({zIndex:this.options.zIndex,visible:Y(this.options.visible,!0)})},createAnimation:function(){this.visual&&(this.animation=Z.Animation.create(this.visual,this.options.animation))},appendVisual:function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):q(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=Y(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:Dt,opacity:.2},stroke:{color:Dt,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,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 Z.Path(st({stroke:{color:zt},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}}),V=R.extend({init:function(t){var i=this;i.gradients={},R.fn.init.call(i,t)},options:{width:bt,height:gt,background:Dt,border:{color:ut,width:0},margin:n(5),zIndex:-2},reflow:function(){var t,i=this,n=i.options,e=i.children,o=new M(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)||M()},createVisual:function(){this.visual=new Z.Group,this.createBackground()},createBackground:function(){var t=this.options,i=t.border||{},n=this.box.clone().pad(t.margin).unpad(i.width),e=Z.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=X.objectKey(t),r=Q.Gradients[t.gradient];return e[o]?i=e[o]:(n=st({},r,t),\"linear\"==r.type?i=new Z.LinearGradient(n):(t.innerRadius&&(n.stops=T(n)),i=new Z.RadialGradient(n),i.supportVML=r.supportVML!==!1),e[o]=i),i}}),z=R.extend({options:{align:At,vAlign:Et,margin:{},padding:{},border:{color:ut,width:0},background:\"\",shrinkToFit:!1,width:0,height:0,visible:!0},reflow:function(t){function i(){s.align(t,Gt,l.align),s.align(t,Nt,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),R.fn.reflow.call(s,o),e=h?s.box=M(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(){R.fn.createVisual.call(this);var t=this.options;t.visible&&this.hasBox()&&this.visual.append(Z.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:Y(n.opacity,i.opacity),dashType:n.dashType},fill:{color:i.background,opacity:i.opacity},cursor:i.cursor}}}),C=R.extend({init:function(t,i){var n=this;R.fn.init.call(n,i),n.content=t,n.reflow(M())},options:{font:mt,color:ut,align:At,vAlign:\"\"},reflow:function(t){var i,n=this,e=n.options;i=e.size=$(n.content,{font:e.font}),n.baseline=i.baseline,n.box=M(t.x1,t.y1,t.x1+i.width,t.y1+i.height)},createVisual:function(){var t=this.options;this.visual=new Z.Text(this.content,this.box.toRect().topLeft(),{font:t.font,fill:{color:t.color,opacity:t.opacity},cursor:t.cursor})}}),L=R.extend({init:function(t){R.fn.init.call(this,t),this._initDirection()},_initDirection:function(){var t=this.options;t.vertical?(this.groupAxis=Gt,this.elementAxis=Nt,this.groupSizeField=Ot,this.elementSizeField=kt,this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=Nt,this.elementAxis=Gt,this.groupSizeField=kt,this.elementSizeField=Ot,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=M(),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==jt||e==ct?n=i-t:e==ht&&(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=at.max(v,d),x+=u+f,f=0,d=0,g=[]),f=at.max(f,t[s]),d>0&&(d+=l),d+=t[a],g.push(i);return m.push({groupElements:g,groupSize:f,groupElementsSize:d}),v=at.max(v,d),x+=f,{groups:m,groupsSize:x,maxGroupElementsSize:v}},elementSize:function(t){return{width:t.box.width(),height:t.box.height()}},createVisual:nt}),B=z.extend({ROWS_SPLIT_REGEX:/\\n|\\\\n/m,init:function(t,i){var n=this;n.content=t,z.fn.init.call(n,i),n._initContainer(),n.reflow(M())},_initContainer:function(){var t,i,n=this,e=n.options,o=(n.content+\"\").split(n.ROWS_SPLIT_REGEX),r=new L({vertical:!0,align:e.align,wrap:!1}),a=st({},e,{opacity:1,animation:null});for(n.container=r,n.append(r),i=0;o.length>i;i++)t=new C(rt(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 J.Rect),this.visual.options.zIndex=r.zIndex,this.visual.options.noclip=r.noclip),this.box=this.contentBox=this.paddingBox=i):(z.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 Q.drawing.Group({transform:this.rotationTransform(),zIndex:i.zIndex,noclip:i.noclip}),this.hasBox()&&(t=Z.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()),this.visual.append(t)))},renderVisual:function(){this.options.visual?(this.addVisual(),this.createAnimation()):z.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,Gt,t.align),this.align(this.targetBox,Nt,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(),J.transform().translate(e.x-i,e.y-n).rotate(o,[i,n])):null}}),I=R.extend({init:function(t){var i=this;R.fn.init.call(i,t),t=i.options,i.append(new B(t.text,st({},t,{vAlign:t.position})))},options:{color:ut,position:Et,align:ht,margin:n(5),padding:n(5)},reflow:function(t){var i=this;R.fn.reflow.call(i,t),i.box.snapTo(t,Gt)}}),I.buildTitle=function(t,i,n){var e;return\"string\"==typeof t&&(t={text:t}),t=st({visible:!0},n,t),t&&t.visible&&t.text&&(e=new I(t),i.append(e)),e},j=B.extend({init:function(t,i,n,e,o){var r=this;r.text=i,r.value=t,r.index=n,r.dataItem=e,B.fn.init.call(r,i,o)},visualContext:function(t){var i=B.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(lt,{element:_(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!=ht?(t=this.normalBox.toRect(),i=this.rotationTransform(),this.box=k(t.bbox(i.matrix()))):B.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==ht?B.fn.rotationTransform.call(this):(t=J.transform().rotate(b).matrix(),i=this.normalBox.toRect(),n=this.targetBox.toRect(),e=y.rotationOrigin||Et,o=e==Et||e==ct?Gt:Nt,r=e==Et||e==ct?Nt:Gt,a=e==Et||e==At?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=J.Rect.fromPoints(s,l,u,c),f={},f[r]=n.origin[r]-p.origin[r],d=at.abs(s[r]+f[r]-a[r]),x=at.abs(l[r]+f[r]-a[r]),h(d,yt)===h(x,yt)?(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,J.transform().translate(f.x,f.y).rotate(b)):null}}),E=R.extend({init:function(t){var i=this;R.fn.init.call(i,t),i.options.visible||(i.options=st({},i.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),i.options.minorTicks=st({},{color:i.options.line.color,width:i.options.line.width,visible:i.options.minorTickType!=zt},i.options.minorTicks,{size:i.options.minorTickSize,align:i.options.minorTickType}),i.options.majorTicks=st({},{color:i.options.line.color,width:i.options.line.width,visible:i.options.majorTickType!=zt},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:ut,visible:!0},title:{visible:!0,position:ht},majorTicks:{align:Bt,size:4,skip:0,step:1},minorTicks:{align:Bt,size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:Bt,minorTickType:zt,majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:ut,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?jt:ht,l=st({},a.labels,{align:s,zIndex:a.zIndex}),u=at.max(1,l.step);if(r.children=t.grep(r.children,function(t){return!(t instanceof j)}),r.labels=[],l.visible)for(i=r.labelsRange(),n=l.rotation,ot(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?M(r,n.y1,r,n.y2-s):M(n.x1,a,n.x2-s,a)},createTitle:function(){var t,i=this,n=i.options,e=st({rotation:n.vertical?-90:0,text:\"\",zIndex:1,visualSize:!0},n.title);e.visible&&e.text&&(t=new B(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=st({},r,a[t]),i.value=e.parseNoteValue(i.value),n=new U(i.value,i.label.text,i,null,null,i),n.options.visible&&(q(n.options.position)?o.vertical&&!l(n.options.position,[At,jt])?n.options.position=o.reverse?At:jt:o.vertical||l(n.options.position,[Et,ct])||(n.options.position=o.reverse?ct:Et):n.options.position=o.vertical?o.reverse?At:jt:o.reverse?ct:Et,e.append(n),e.notes.push(n))},parseNoteValue:function(t){return t},renderVisual:function(){R.fn.renderVisual.call(this),this.createPlotBands()},createVisual:function(){R.fn.createVisual.call(this),this.createBackground(),this.createLine()},gridLinesVisual:function(){var t=this._gridLines;return t||(t=this._gridLines=new Z.Group({zIndex:-2}),this.appendVisual(this._gridLines)),t},createTicks:function(t){function i(i,n,o){var s,u=i.length,c=at.max(1,n.step);if(n.visible)for(s=n.skip;u>s;s+=c)q(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 Z.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 Z.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=at.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=Z.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 Z.Group({zIndex:-1\r\n}),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=Y(l.from,Vt),o=Y(l.to,Rt),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 J.Rect([i.x1,n.y1],[i.width(),n.height()]),p=Z.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=at.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?Ot:kt,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=at.max(p,i));e.box=r?M(t.x1,t.y1,t.x1+p+h,t.y2):M(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=At):(c-=y+e.box.width(),e.options.rotationOrigin=jt),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=ct):(i+=y,e.options.rotationOrigin=Et),t=M(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(M());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?jt:At,o.options.vAlign=o.options.position):(o.options.align=o.options.position,o.options.vAlign=n?Et:ct),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,q(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?Nt:Gt;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=it(n.template),o=e({value:t,dataItem:i,format:n.format,culture:n.culture})):n.format&&(o=n.format.match(Tt)?H.format(n.format,t):H.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),K(i).options.visible&&t.wrap(K(i).box)),t},limitRange:function(t,i,n,e,o){var r,a=this.options;if(!(n>t&&0>o&&(!q(a.min)||n>=a.min)||i>e&&o>0&&(!q(a.max)||a.max>=e)))return n>i&&o>0||t>e&&0>o?{min:t,max:i}:(r=i-t,n>t?(t=X.limitValue(t,n,e),i=X.limitValue(t+r,n+r,e)):i>e&&(i=X.limitValue(i,n,e),t=X.limitValue(i-r,n,e-r)),{min:t,max:i})}}),U=z.extend({init:function(t,i,n,e,o,r){var a=this;z.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:dt},label:{position:St,visible:!0,align:ht,vAlign:ht},line:{visible:!0},visible:!0,position:Et,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=M();r.visible&&(q(a)&&a.visible&&(a.template?(e=it(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 B(s,st({},a)),a.position!==St||q(u)||(l.type===dt?u=at.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||vt,l.height=n||u||vt,t=new O(st({},l)),o.marker=t,o.append(t),o.label&&o.append(o.label),t.reflow(M()),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,[At,jt])?c===At?(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===ct?(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===Bt&&h.box.alignTo(p.box,c),h.reflow(h.box))),o.contentBox=e,o.targetBox=t,o.box=n||e)},createVisual:function(){z.fn.createVisual.call(this),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()):z.fn.renderVisual.call(t)},createLine:function(){var t,i=this.options.line;this.linePoints&&(t=Z.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(Ct,n)||i.preventDefault()},hover:function(t,i){var n=this.eventArgs(i);t.trigger(Lt,n)||i.preventDefault()},leave:function(t){t._unsetActivePoint()},eventArgs:function(t){var i=this,n=i.options;return{element:_(t),text:q(n.label)?n.label.text:\"\",dataItem:i.dataItem,series:i.series,value:i.value,category:i.category,visual:i.visual}}}),O=z.extend({init:function(t,i){this.pointData=i,z.fn.init.call(this,t)},options:{type:dt,align:ht,vAlign:ht},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===dt?t=new Z.Circle(new J.Circle([h(a.x1+l,pt),h(a.y1+a.height()/2,pt)],l),i):o===Ut?t=Z.Path.fromPoints([[a.x1+l,a.y1],[a.x1,a.y2],[a.x2,a.y2]],i).close():o===xt?(t=new Z.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=Z.Path.fromRect(a.toRect(),i),r&&t.transform(J.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()}}),D=E.extend({init:function(t,i,n){var e=this,o=e.initDefaults(t,i,n);E.fn.init.call(e,o)},startValue:function(){return 0},options:{type:\"numeric\",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:ut},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=q(n.min)?at.min(p.min,n.min):p.min,this.totalMax=q(n.max)?at.max(p.max,n.max):p.max,this.totalMajorUnit=h,n&&(e=q(n.min)||q(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=st(p,n),p.majorUnit=r(n.min,n.max))),p.minorUnit=(n.majorUnit||p.majorUnit)/5,st(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=at.abs((i-t)/i),n===!1||!n&&o>Ft)return 0;e=at.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>Ft)return 0;e=at.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 at.floor(h(n/t,pt))+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?Nt:Gt)+m],v=[];for(i&&(f=i/t),n=0;d>n;n++)n%f!==0&&v.push(h(g,pt)),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?Nt:Gt,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 M(c.x1,c.y1,c.x1,c.y1);return q(t)||(t=i||0),q(i)||(i=t||0),n&&(t=at.max(at.min(t,a.max),a.min),i=at.max(at.min(i,a.max),a.min)),l?(e=a.max-at.max(t,i),o=a.max-at.min(t,i)):(e=at.min(t,i)-a.min,o=at.max(t,i)-a.min),x[u+1]=at.max(at.min(h+d*(s?o:e),_t),-_t),x[u+2]=at.max(at.min(h+d*(s?e:o),_t),-_t),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?Nt:Gt,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,yt))},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,yt);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,yt),r=n.axisLabelText(o,null,i);return new j(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=at.min(n,e),r=at.max(n,e);return{min:o,max:r}},zoomRange:function(t){var n=this.scaleRange(t),e=this.totalMax,o=this.totalMin,r=X.limitValue(n.min,o,e),a=X.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}}),G=E.extend({init:function(t,i,n){this.options=this._initOptions(t,i,n),E.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:ut},zIndex:1},getSlot:function(t,n,e){var o,r,a=this,s=a.options,l=s.reverse,u=s.vertical,c=u?Nt:Gt,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 M(h.x1,h.y1,h.x1,h.y1);return q(t)||(t=n||1),q(n)||(n=t||1),0>=t||0>=n?i:(e&&(t=at.max(at.min(t,s.max),s.min),n=at.max(at.min(n,s.max),s.min)),t=p(t,m),n=p(n,m),u?(o=v-at.max(t,n),r=v-at.min(t,n)):(o=at.min(t,n)-g,r=at.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?Nt:Gt,m=a[x+p],g=c*(t[x]-m),v=g*d;return 0>g||g>f?null:(i=l+v,h(at.pow(s,i),yt))},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:at.pow(e,i.logMin-o),max:at.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,yt);return!r&&!a||r&&a||(u=-u),{min:at.pow(e,i.logMin+u),max:at.pow(e,i.logMax+u)}},labelsCount:function(){var t=this,i=at.floor(t.logMax),n=at.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=at.ceil(l)+i.skip;u>=n;n+=i.step)e=h(a+s*(n-l),yt),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=at.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),yt),t(o,i))},createAxisLabel:function(t,i){var n=this,e=n.options,o=at.ceil(n.logMin+t),r=Math.pow(e.majorUnit,o),a=n.axisLabelText(r,null,i);return new j(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=st({},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(),q(n.max)?0>=n.max&&e._throwNegativeValuesError():a=l,q(n.min)?0>=n.min&&e._throwNegativeValuesError():r=u,this.totalMin=q(n.min)?at.min(u,n.min):u,this.totalMax=q(n.max)?at.max(l,n.max):l,e.logMin=h(p(r,s),yt),e.logMax=h(p(a,s),yt),o.max=a,o.min=r,o.minorUnit=n.minorUnit||h(s-1,yt),o},_autoMin:function(t,i,n){var e=t,o=n.majorUnit;return 0>=t?e=1>=i?at.pow(o,-2):1:n.narrowRange||(e=at.pow(o,at.floor(p(t,o)))),e},_autoMax:function(t,i){var n,e=h(p(t,i),yt)%1;return n=0>=t?i:0!==e&&(.3>e||e>.9)?at.pow(i,p(t,i)+.2):at.pow(i,at.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=at.min(n,e),r=at.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=X.limitValue(e.min,r,o),s=X.limitValue(e.max,r,o),l=n.majorUnit,u=s>a&&n.min&&n.max&&h(p(n.max,l)-p(n.min,l),yt)<1,c=!(n.min===r&&n.max===o)&&h(p(s,l)-p(a,l),yt)>=1;return u||c?{min:a,max:s}:i},_minorIntervalOptions:function(t){var i=this.options.majorUnit,n=at.pow(i,t),e=at.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?Nt:Gt,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}}}),Q.Gradients={glass:{type:Pt,rotation:0,stops:[{offset:0,color:Dt,opacity:0},{offset:.25,color:Dt,opacity:.3},{offset:1,color:Dt,opacity:0}]},sharpBevel:{type:It,stops:[{offset:0,color:Dt,opacity:.55},{offset:.65,color:Dt,opacity:0},{offset:.95,color:Dt,opacity:.25}]},roundedBevel:{type:It,stops:[{offset:.33,color:Dt,opacity:.06},{offset:.83,color:Dt,opacity:.2},{offset:.95,color:Dt,opacity:0}]},roundedGlass:{type:It,supportVML:!1,stops:[{offset:0,color:Dt,opacity:0},{offset:.5,color:Dt,opacity:.3},{offset:.99,color:Dt,opacity:0}]},sharpGlass:{type:It,supportVML:!1,stops:[{offset:0,color:Dt,opacity:.2},{offset:.15,color:Dt,opacity:.15},{offset:.17,color:Dt,opacity:.35},{offset:.85,color:Dt,opacity:.05},{offset:.87,color:Dt,opacity:.15},{offset:.99,color:Dt,opacity:0}]}},N={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 Z.exportSVG(this.exportVisual(),t)},exportImage:function(t){return Z.exportImage(this.exportVisual(t),t)},exportPDF:function(t){return Z.exportPDF(this.exportVisual(),t)},svg:function(){if(Z.svg.Surface)return Z.svg._exportGroup(this.exportVisual());throw Error(\"SVG Export failed. Unable to export instantiate kendo.drawing.svg.Surface\")},imageDataURL:function(){var i,n,e;if(!H.support.canvas)return null;if(Z.canvas.Surface)return i=t(\"<div />\").css({display:\"none\",width:this.element.width(),height:this.element.height()}).appendTo(document.body),n=new Z.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\")}},F=function(t){this.closed=t},F.prototype=F.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 Z.Segment(i));i.equals(f[d-1]);)p=!0,f.pop(),d--;if(2==d)return s=h.tangent(i,n,Gt,Nt),K(x).controlOut(h.firstControlPoint(s,i,n,Gt,Nt)),x.push(new Z.Segment(n,h.secondControlPoint(s,i,n,Gt,Nt))),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,Gt,Nt),r=h.firstControlPoint(s,i,n,Gt,Nt)),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),K(x).controlOut(l),l=o[1],c=o[0],x.push(new Z.Segment(n,c)));return p?(i=f[d-2],n=f[d-1],e=f[0],o=h.controlPoints(i,n,e),K(x).controlOut(l),x.push(new Z.Segment(n,o[0])),K(x).controlOut(o[1]),x.push(new Z.Segment(e,a))):(s=h.tangent(n,e,Gt,Nt),K(x).controlOut(l),x.push(new Z.Segment(e,h.secondControlPoint(s,n,e,Gt,Nt)))),x},removeDuplicates:function(t,i){for(;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=Gt,h=Nt,p=!1,f=!1,d=u.EXTREMUM_ALLOWED_DEVIATION;return u.isLine(t,i,n)?e=u.tangent(t,i,Gt,Nt):(o={x:u.isMonotonicByField(t,i,n,Gt),y:u.isMonotonicByField(t,i,n,Nt)},o.x&&o.y?(e=u.tangent(t,n,Gt,Nt),p=!0):(u.invertAxis(t,i,n)&&(c=Nt,h=Gt),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 J.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\"),st(H.dataviz,{AXIS_LABEL_CLICK:lt,COORD_PRECISION:pt,DEFAULT_PRECISION:yt,DEFAULT_WIDTH:bt,DEFAULT_HEIGHT:gt,DEFAULT_FONT:mt,INITIAL_ANIMATION_DURATION:Mt,NOTE_CLICK:Ct,NOTE_HOVER:Lt,CLIP:ft,Axis:E,AxisLabel:j,Box2D:M,BoxElement:z,ChartElement:R,CurveProcessor:F,ExportMixin:N,FloatElement:L,LogarithmicAxis:G,Note:U,NumericAxis:D,Point2D:Ht,Ring:S,RootElement:V,Sector:A,ShapeBuilder:P,ShapeElement:O,Text:C,TextBox:B,Title:I,alignPathToPixel:w,autoFormat:m,autoMajorUnit:r,boxDiff:s,dateComparer:v,decodeEntities:b,eventTargetElement:_,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)()});\r\n//# sourceMappingURL=kendo.dataviz.core.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(o,define){define(\"util/main.min\",[\"kendo.core.min\"],o)}(function(){return function(){function o(o){return typeof o!==S}function e(o,e){var l=r(e);return M.round(o*l)/l}function r(o){return o?M.pow(10,o):1}function l(o,e,r){return M.max(M.min(o,r),e)}function c(o){return o*W}function a(o){return o/W}function t(o){return\"number\"==typeof o&&!isNaN(o)}function n(e,r){return o(e)?e:r}function i(o){return o*o}function f(o){var e,r=[];for(e in o)r.push(e+o[e]);return r.sort().join(\"\")}function s(o){var e,r=2166136261;for(e=0;o.length>e;++e)r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24),r^=o.charCodeAt(e);return r>>>0}function d(o){return s(f(o))}function b(o){var e,r=o.length,l=I,c=N;for(e=0;r>e;e++)c=M.max(c,o[e]),l=M.min(l,o[e]);return{min:l,max:c}}function u(o){return b(o).min}function h(o){return b(o).max}function k(o){return m(o).min}function g(o){return m(o).max}function m(o){var e,r,l,c=I,a=N;for(e=0,r=o.length;r>e;e++)l=o[e],null!==l&&isFinite(l)&&(c=M.min(c,l),a=M.max(a,l));return{min:c===I?void 0:c,max:a===N?void 0:a}}function p(o){return o?o[o.length-1]:void 0}function v(o,e){return o.push.apply(o,e),o}function w(o){return G.template(o,{useWithBlock:!1,paramName:\"d\"})}function C(e,r){return o(r)&&null!==r?\" \"+e+\"='\"+r+\"' \":\"\"}function y(o){var e,r=\"\";for(e=0;o.length>e;e++)r+=C(o[e][0],o[e][1]);return r}function D(e){var r,l,c=\"\";for(r=0;e.length>r;r++)l=e[r][1],o(l)&&(c+=e[r][0]+\":\"+l+\";\");return\"\"!==c?c:void 0}function x(o){return\"string\"!=typeof o&&(o+=\"px\"),o}function B(o){var e,r,l=[];if(o)for(e=G.toHyphens(o).split(\"-\"),r=0;e.length>r;r++)l.push(\"k-pos-\"+e[r]);return l.join(\" \")}function _(e){return\"\"===e||null===e||\"none\"===e||\"transparent\"===e||!o(e)}function A(o){for(var e={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\"},r=[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],l=\"\";o>0;)r[0]>o?r.shift():(l+=e[r[0]],o-=r[0]);return l}function L(o){var e,r,l,c,a;for(o=o.toLowerCase(),e={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},r=0,l=0,c=0;o.length>c;++c){if(a=e[o.charAt(c)],!a)return null;r+=a,a>l&&(r-=2*l),l=a}return r}function z(o){var e=Object.create(null);return function(){var r,l=\"\";for(r=arguments.length;--r>=0;)l+=\":\"+arguments[r];return l in e?e[l]:o.apply(this,arguments)}}function T(o){for(var e,r,l=[],c=0,a=o.length;a>c;)e=o.charCodeAt(c++),e>=55296&&56319>=e&&a>c?(r=o.charCodeAt(c++),56320==(64512&r)?l.push(((1023&e)<<10)+(1023&r)+65536):(l.push(e),c--)):l.push(e);return l}function j(o){return o.map(function(o){var e=\"\";return o>65535&&(o-=65536,e+=String.fromCharCode(o>>>10&1023|55296),o=56320|1023&o),e+=String.fromCharCode(o)}).join(\"\")}var M=Math,G=window.kendo,P=G.deepExtend,W=M.PI/180,I=Number.MAX_VALUE,N=-Number.MAX_VALUE,S=\"undefined\",O=Date.now;O||(O=function(){return(new Date).getTime()}),P(G,{util:{MAX_NUM:I,MIN_NUM:N,append:v,arrayLimits:b,arrayMin:u,arrayMax:h,defined:o,deg:a,hashKey:s,hashObject:d,isNumber:t,isTransparent:_,last:p,limitValue:l,now:O,objectKey:f,round:e,rad:c,renderAttr:C,renderAllAttr:y,renderPos:B,renderSize:x,renderStyle:D,renderTemplate:w,sparseArrayLimits:m,sparseArrayMin:k,sparseArrayMax:g,sqr:i,valueOrDefault:n,romanToArabic:L,arabicToRoman:A,memoize:z,ucs2encode:j,ucs2decode:T}}),G.drawing.util=G.util,G.dataviz.util=G.util}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(o,e,r){(r||e)()}),function(o,define){define(\"util/text-metrics.min\",[\"kendo.core.min\",\"util/main.min\"],o)}(function(){!function(o){function e(){return{width:0,height:0,baseline:0}}function r(o,e,r){return d.current.measure(o,e,r)}function l(o,e){var r=[];if(o.length>0&&document.fonts){try{r=o.map(function(o){return document.fonts.load(o)})}catch(l){a.logToConsole(l)}Promise.all(r).then(e,e)}else e()}var c=document,a=window.kendo,t=a.Class,n=a.util,i=n.defined,f=t.extend({init:function(o){this._size=o,this._length=0,this._map={}},put:function(o,e){var r=this,l=r._map,c={key:o,value:e};l[o]=c,r._head?(r._tail.newer=c,c.older=r._tail,r._tail=c):r._head=r._tail=c,r._length>=r._size?(l[r._head.key]=null,r._head=r._head.newer,r._head.older=null):r._length++},get:function(o){var e=this,r=e._map[o];return r?(r===e._head&&r!==e._tail&&(e._head=r.newer,e._head.older=null),r!==e._tail&&(r.older&&(r.older.newer=r.newer,r.newer.older=r.older),r.older=e._tail,r.newer=null,e._tail.newer=r,e._tail=r),r.value):void 0}}),s=o(\"<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],d=t.extend({init:function(o){this._cache=new f(1e3),this._initOptions(o)},options:{baselineMarkerSize:1},measure:function(r,l,a){var t,f,d,b,u,h,k,g;if(!r)return e();if(t=n.objectKey(l),f=n.hashKey(r+t),d=this._cache.get(f),d)return d;b=e(),u=a?a:s,h=this._baselineMarker().cloneNode(!1);for(k in l)g=l[k],i(g)&&(u.style[k]=g);return o(u).text(r),u.appendChild(h),c.body.appendChild(u),(r+\"\").length&&(b.width=u.offsetWidth-this.options.baselineMarkerSize,b.height=u.offsetHeight,b.baseline=h.offsetTop+this.options.baselineMarkerSize),b.width>0&&b.height>0&&this._cache.put(f,b),u.parentNode.removeChild(u),b},_baselineMarker:function(){return o(\"<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]}});d.current=new d,a.util.TextMetrics=d,a.util.LRUCache=f,a.util.loadFonts=l,a.util.measureText=r}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(o,e,r){(r||e)()}),function(o,define){define(\"util/base64.min\",[\"util/main.min\"],o)}(function(){return function(){function o(o){var r,l,c,t,n,i,f,s=\"\",d=0;for(o=e(o);o.length>d;)r=o.charCodeAt(d++),l=o.charCodeAt(d++),c=o.charCodeAt(d++),t=r>>2,n=(3&r)<<4|l>>4,i=(15&l)<<2|c>>6,f=63&c,isNaN(l)?i=f=64:isNaN(c)&&(f=64),s=s+a.charAt(t)+a.charAt(n)+a.charAt(i)+a.charAt(f);return s}function e(o){var e,r,l=\"\";for(e=0;o.length>e;e++)r=o.charCodeAt(e),128>r?l+=c(r):2048>r?(l+=c(192|r>>>6),l+=c(128|63&r)):65536>r&&(l+=c(224|r>>>12),l+=c(128|r>>>6&63),l+=c(128|63&r));return l}var r=window.kendo,l=r.deepExtend,c=String.fromCharCode,a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";l(r.util,{encodeBase64:o,encodeUTF8:e})}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(o,e,r){(r||e)()}),function(o,define){define(\"mixins/observers.min\",[\"kendo.core.min\"],o)}(function(){return function(o){var e=Math,r=window.kendo,l=r.deepExtend,c=o.inArray,a={observers:function(){return this._observers=this._observers||[]},addObserver:function(o){return this._observers?this._observers.push(o):this._observers=[o],this},removeObserver:function(o){var e=this.observers(),r=c(o,e);return-1!=r&&e.splice(r,1),this},trigger:function(o,e){var r,l,c=this._observers;if(c&&!this._suspended)for(l=0;c.length>l;l++)r=c[l],r[o]&&r[o](e);return this},optionsChange:function(o){o=o||{},o.element=this,this.trigger(\"optionsChange\",o)},geometryChange:function(){this.trigger(\"geometryChange\",{element:this})},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=e.max((this._suspended||0)-1,0),this},_observerField:function(o,e){this[o]&&this[o].removeObserver(this),this[o]=e,e.addObserver(this)}};l(r,{mixins:{ObserversMixin:a}})}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(o,e,r){(r||e)()}),function(o,define){define(\"kendo.dataviz.themes.min\",[\"kendo.dataviz.core.min\"],o)}(function(){return function(o){function e(e,r){return o.map(e,function(o,e){return[[o,r[e]]]})}var r=window.kendo,l=r.dataviz.ui,c=r.deepExtend,a=1.5,t=.4,n=\"#000\",i=\"Arial,Helvetica,sans-serif\",f=\"11px \"+i,s=\"12px \"+i,d=\"16px \"+i,b=\"#fff\",u={title:{font:d},legend:{labels:{font:s}},seriesDefaults:{visible:!0,labels:{font:f},donut:{margin:1},line:{width:2},vericalLine:{width:2},scatterLine:{width:1},area:{opacity:.4,markers:{visible:!1,size:6},highlight:{markers:{border:{color:\"#fff\",opacity:1,width:1}}},line:{opacity:1,width:0}},verticalArea:{opacity:.4,markers:{visible:!1,size:6},line:{opacity:1,width:0}},radarLine:{width:2,markers:{visible:!1}},radarArea:{opacity:.5,markers:{visible:!1,size:6},line:{opacity:1,width:0}},candlestick:{line:{width:1,color:n},border:{width:1,_brightness:.8},gap:1,spacing:.3,downColor:b,highlight:{line:{width:2},border:{width:2,opacity:1}}},ohlc:{line:{width:1},gap:1,spacing:.3,highlight:{line:{width:3,opacity:1}}},bubble:{opacity:.6,border:{width:0},labels:{background:\"transparent\"}},bar:{gap:a,spacing:t},column:{gap:a,spacing:t},rangeColumn:{gap:a,spacing:t},rangeBar:{gap:a,spacing:t},waterfall:{gap:.5,spacing:t,line:{width:1,color:n}},horizontalWaterfall:{gap:.5,spacing:t,line:{width:1,color:n}},bullet:{gap:a,spacing:t,target:{color:\"#ff0000\"}},verticalBullet:{gap:a,spacing:t,target:{color:\"#ff0000\"}},boxPlot:{outliersField:\"\",meanField:\"\",whiskers:{width:1,color:n},mean:{width:1,color:n},median:{width:1,color:n},border:{width:1,_brightness:.8},gap:1,spacing:.3,downColor:b,highlight:{whiskers:{width:2},border:{width:2,opacity:1}}},funnel:{labels:{color:\"\",background:\"\"}},notes:{icon:{border:{width:1}},label:{padding:3,font:s},line:{length:10,width:1},visible:!0}},categoryAxis:{majorGridLines:{visible:!0}},axisDefaults:{labels:{font:s},title:{font:d,margin:5},crosshair:{tooltip:{font:s}},notes:{icon:{size:7,border:{width:1}},label:{padding:3,font:s},line:{length:10,width:1},visible:!0}},tooltip:{font:s},navigator:{pane:{height:90,margin:{top:10}}}},h={scale:{labels:{font:s}}},k={shapeDefaults:{hover:{opacity:.2},stroke:{width:0}},editable:{resize:{handles:{width:7,height:7}}},selectable:{stroke:{width:1,dashType:\"dot\"}},connectionDefaults:{stroke:{width:2},selection:{handles:{width:8,height:8}},editable:{tools:[\"edit\",\"delete\"]}}},g=l.themes,m=l.registerTheme=function(o,e){var r,l={};l.chart=c({},u,e.chart),l.gauge=c({},h,e.gauge),l.diagram=c({},k,e.diagram),l.treeMap=c({},e.treeMap),r=l.chart.seriesDefaults,r.verticalLine=c({},r.line),r.verticalArea=c({},r.area),r.verticalBoxPlot=c({},r.boxPlot),r.polarArea=c({},r.radarArea),r.polarLine=c({},r.radarLine),g[o]=l};m(\"black\",{chart:{title:{color:b},legend:{labels:{color:b},inactiveItems:{labels:{color:\"#919191\"},markers:{color:\"#919191\"}}},seriesDefaults:{labels:{color:b},errorBars:{color:b},notes:{icon:{background:\"#3b3b3b\",border:{color:\"#8e8e8e\"}},label:{color:b},line:{color:\"#8e8e8e\"}},pie:{overlay:{gradient:\"sharpBevel\"}},donut:{overlay:{gradient:\"sharpGlass\"}},line:{markers:{background:\"#3d3d3d\"}},scatter:{markers:{background:\"#3d3d3d\"}},scatterLine:{markers:{background:\"#3d3d3d\"}},waterfall:{line:{color:\"#8e8e8e\"}},horizontalWaterfall:{line:{color:\"#8e8e8e\"}},candlestick:{downColor:\"#555\",line:{color:b},border:{_brightness:1.5,opacity:1},highlight:{border:{color:b,opacity:.2}}},ohlc:{line:{color:b}}},chartArea:{background:\"#3d3d3d\"},seriesColors:[\"#0081da\",\"#3aafff\",\"#99c900\",\"#ffeb3d\",\"#b20753\",\"#ff4195\"],axisDefaults:{line:{color:\"#8e8e8e\"},labels:{color:b},majorGridLines:{color:\"#545454\"},minorGridLines:{color:\"#454545\"},title:{color:b},crosshair:{color:\"#8e8e8e\"},notes:{icon:{background:\"#3b3b3b\",border:{color:\"#8e8e8e\"}},label:{color:b},line:{color:\"#8e8e8e\"}}}},gauge:{pointer:{color:\"#0070e4\"},scale:{rangePlaceholderColor:\"#1d1d1d\",labels:{color:b},minorTicks:{color:b},majorTicks:{color:b},line:{color:b}}},diagram:{shapeDefaults:{fill:{color:\"#0066cc\"},connectorDefaults:{fill:{color:b},stroke:{color:\"#384049\"},hover:{fill:{color:\"#3d3d3d\"},stroke:{color:\"#efefef\"}}},content:{color:b}},editable:{resize:{handles:{fill:{color:\"#3d3d3d\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:b}}}},rotate:{thumb:{stroke:{color:b},fill:{color:b}}}},selectable:{stroke:{color:b}},connectionDefaults:{stroke:{color:b},content:{color:b},selection:{handles:{fill:{color:\"#3d3d3d\"},stroke:{color:\"#efefef\"}}}}},treeMap:{colors:[[\"#0081da\",\"#314b5c\"],[\"#3aafff\",\"#3c5464\"],[\"#99c900\",\"#4f5931\"],[\"#ffeb3d\",\"#64603d\"],[\"#b20753\",\"#543241\"],[\"#ff4195\",\"#643e4f\"]]}}),m(\"blueopal\",{chart:{title:{color:\"#293135\"},legend:{labels:{color:\"#293135\"},inactiveItems:{labels:{color:\"#27A5BA\"},markers:{color:\"#27A5BA\"}}},seriesDefaults:{labels:{color:n,background:b,opacity:.5},errorBars:{color:\"#293135\"},candlestick:{downColor:\"#c4d0d5\",line:{color:\"#9aabb2\"}},waterfall:{line:{color:\"#9aabb2\"}},horizontalWaterfall:{line:{color:\"#9aabb2\"}},notes:{icon:{background:\"transparent\",border:{color:\"#9aabb2\"}},label:{color:\"#293135\"},line:{color:\"#9aabb2\"}}},seriesColors:[\"#0069a5\",\"#0098ee\",\"#7bd2f6\",\"#ffb800\",\"#ff8517\",\"#e34a00\"],axisDefaults:{line:{color:\"#9aabb2\"},labels:{color:\"#293135\"},majorGridLines:{color:\"#c4d0d5\"},minorGridLines:{color:\"#edf1f2\"},title:{color:\"#293135\"},crosshair:{color:\"#9aabb2\"},notes:{icon:{background:\"transparent\",border:{color:\"#9aabb2\"}},label:{color:\"#293135\"},line:{color:\"#9aabb2\"}}}},gauge:{pointer:{color:\"#005c83\"},scale:{rangePlaceholderColor:\"#daecf4\",labels:{color:\"#293135\"},minorTicks:{color:\"#293135\"},majorTicks:{color:\"#293135\"},line:{color:\"#293135\"}}},diagram:{shapeDefaults:{fill:{color:\"#7ec6e3\"},connectorDefaults:{fill:{color:\"#003f59\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#003f59\"}}},content:{color:\"#293135\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#003f59\"},hover:{fill:{color:\"#003f59\"},stroke:{color:\"#003f59\"}}}},rotate:{thumb:{stroke:{color:\"#003f59\"},fill:{color:\"#003f59\"}}}},selectable:{stroke:{color:\"#003f59\"}},connectionDefaults:{stroke:{color:\"#003f59\"},content:{color:\"#293135\"},selection:{handles:{fill:{color:\"#3d3d3d\"},stroke:{color:\"#efefef\"}}}}},treeMap:{colors:[[\"#0069a5\",\"#bad7e7\"],[\"#0098ee\",\"#b9e0f5\"],[\"#7bd2f6\",\"#ceeaf6\"],[\"#ffb800\",\"#e6e3c4\"],[\"#ff8517\",\"#e4d8c8\"],[\"#e34a00\",\"#ddccc2\"]]}}),m(\"highcontrast\",{chart:{title:{color:\"#ffffff\"},legend:{labels:{color:\"#ffffff\"},inactiveItems:{labels:{color:\"#66465B\"},markers:{color:\"#66465B\"}}},seriesDefaults:{labels:{color:\"#ffffff\"},errorBars:{color:\"#ffffff\"},notes:{icon:{background:\"transparent\",border:{color:\"#ffffff\"}},label:{color:\"#ffffff\"},line:{color:\"#ffffff\"}},pie:{overlay:{gradient:\"sharpGlass\"}},donut:{overlay:{gradient:\"sharpGlass\"}},line:{markers:{background:\"#2c232b\"}},scatter:{markers:{background:\"#2c232b\"}},scatterLine:{markers:{background:\"#2c232b\"}},area:{opacity:.5},waterfall:{line:{color:\"#ffffff\"}},horizontalWaterfall:{line:{color:\"#ffffff\"}},candlestick:{downColor:\"#664e62\",line:{color:\"#ffffff\"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:\"#ffffff\",opacity:1}}},ohlc:{line:{color:\"#ffffff\"}}},chartArea:{background:\"#2c232b\"},seriesColors:[\"#a7008f\",\"#ffb800\",\"#3aafff\",\"#99c900\",\"#b20753\",\"#ff4195\"],axisDefaults:{line:{color:\"#ffffff\"},labels:{color:\"#ffffff\"},majorGridLines:{color:\"#664e62\"},minorGridLines:{color:\"#4f394b\"},title:{color:\"#ffffff\"},crosshair:{color:\"#ffffff\"},notes:{icon:{background:\"transparent\",border:{color:\"#ffffff\"}},label:{color:\"#ffffff\"},line:{color:\"#ffffff\"}}}},gauge:{pointer:{color:\"#a7008f\"},scale:{rangePlaceholderColor:\"#2c232b\",labels:{color:\"#ffffff\"},minorTicks:{color:\"#2c232b\"},majorTicks:{color:\"#664e62\"},line:{color:\"#ffffff\"}}},diagram:{shapeDefaults:{fill:{color:\"#a7018f\"},connectorDefaults:{fill:{color:b},stroke:{color:\"#2c232b\"},hover:{fill:{color:\"#2c232b\"},stroke:{color:b}}},content:{color:b}},editable:{resize:{handles:{fill:{color:\"#2c232b\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:b}}}},rotate:{thumb:{stroke:{color:b},fill:{color:b}}}},selectable:{stroke:{color:b}},connectionDefaults:{stroke:{color:b},content:{color:b},selection:{handles:{fill:{color:\"#2c232b\"},stroke:{color:b}}}}},treeMap:{colors:[[\"#a7008f\",\"#451c3f\"],[\"#ffb800\",\"#564122\"],[\"#3aafff\",\"#2f3f55\"],[\"#99c900\",\"#424422\"],[\"#b20753\",\"#471d33\"],[\"#ff4195\",\"#562940\"]]}}),m(\"default\",{chart:{title:{color:\"#8e8e8e\"},legend:{labels:{color:\"#232323\"},inactiveItems:{labels:{color:\"#919191\"},markers:{color:\"#919191\"}}},seriesDefaults:{labels:{color:n,background:b,opacity:.5},errorBars:{color:\"#232323\"},candlestick:{downColor:\"#dedede\",line:{color:\"#8d8d8d\"}},waterfall:{line:{color:\"#8e8e8e\"}},horizontalWaterfall:{line:{color:\"#8e8e8e\"}},notes:{icon:{background:\"transparent\",border:{color:\"#8e8e8e\"}},label:{color:\"#232323\"},line:{color:\"#8e8e8e\"}}},seriesColors:[\"#ff6800\",\"#a0a700\",\"#ff8d00\",\"#678900\",\"#ffb53c\",\"#396000\"],axisDefaults:{line:{color:\"#8e8e8e\"},labels:{color:\"#232323\"},minorGridLines:{color:\"#f0f0f0\"},majorGridLines:{color:\"#dfdfdf\"},title:{color:\"#232323\"},crosshair:{color:\"#8e8e8e\"},notes:{icon:{background:\"transparent\",border:{color:\"#8e8e8e\"}},label:{color:\"#232323\"},line:{color:\"#8e8e8e\"}}}},gauge:{pointer:{color:\"#ea7001\"},scale:{rangePlaceholderColor:\"#dedede\",labels:{color:\"#2e2e2e\"},minorTicks:{color:\"#2e2e2e\"},majorTicks:{color:\"#2e2e2e\"},line:{color:\"#2e2e2e\"}}},diagram:{shapeDefaults:{fill:{color:\"#e15613\"},connectorDefaults:{fill:{color:\"#282828\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#282828\"}}},content:{color:\"#2e2e2e\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#282828\"},hover:{fill:{color:\"#282828\"},stroke:{color:\"#282828\"}}}},rotate:{thumb:{stroke:{color:\"#282828\"},fill:{color:\"#282828\"}}}},selectable:{stroke:{color:\"#a7018f\"}},connectionDefaults:{stroke:{color:\"#282828\"},content:{color:\"#2e2e2e\"},selection:{handles:{fill:{color:b},stroke:{color:\"#282828\"}}}}},treeMap:{colors:[[\"#ff6800\",\"#edcfba\"],[\"#a0a700\",\"#dadcba\"],[\"#ff8d00\",\"#edd7ba\"],[\"#678900\",\"#cfd6ba\"],[\"#ffb53c\",\"#eddfc6\"],[\"#396000\",\"#c6ceba\"]]}}),m(\"silver\",{chart:{title:{color:\"#4e5968\"},legend:{labels:{color:\"#4e5968\"},inactiveItems:{labels:{color:\"#B1BCC8\"},markers:{color:\"#B1BCC8\"}}},seriesDefaults:{labels:{color:\"#293135\",background:\"#eaeaec\",opacity:.5},errorBars:{color:\"#4e5968\"},notes:{icon:{background:\"transparent\",border:{color:\"#4e5968\"}},label:{color:\"#4e5968\"},line:{color:\"#4e5968\"}},line:{markers:{background:\"#eaeaec\"}},scatter:{markers:{background:\"#eaeaec\"}},scatterLine:{markers:{background:\"#eaeaec\"}},pie:{connectors:{color:\"#A6B1C0\"}},donut:{connectors:{color:\"#A6B1C0\"}},waterfall:{line:{color:\"#a6b1c0\"}},horizontalWaterfall:{line:{color:\"#a6b1c0\"}},candlestick:{downColor:\"#a6afbe\"}},chartArea:{background:\"#eaeaec\"},seriesColors:[\"#007bc3\",\"#76b800\",\"#ffae00\",\"#ef4c00\",\"#a419b7\",\"#430B62\"],axisDefaults:{line:{color:\"#a6b1c0\"},labels:{color:\"#4e5968\"},majorGridLines:{color:\"#dcdcdf\"},minorGridLines:{color:\"#eeeeef\"},title:{color:\"#4e5968\"},crosshair:{color:\"#a6b1c0\"},notes:{icon:{background:\"transparent\",border:{color:\"#4e5968\"}},label:{color:\"#4e5968\"},line:{color:\"#4e5968\"}}}},gauge:{pointer:{color:\"#0879c0\"},scale:{rangePlaceholderColor:\"#f3f3f4\",labels:{color:\"#515967\"},minorTicks:{color:\"#515967\"},majorTicks:{color:\"#515967\"},line:{color:\"#515967\"}}},diagram:{shapeDefaults:{fill:{color:\"#1c82c2\"},connectorDefaults:{fill:{color:\"#515967\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#282828\"}}},content:{color:\"#515967\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#515967\"},hover:{fill:{color:\"#515967\"},stroke:{color:\"#515967\"}}}},rotate:{thumb:{stroke:{color:\"#515967\"},fill:{color:\"#515967\"}}}},selectable:{stroke:{color:\"#515967\"}},connectionDefaults:{stroke:{color:\"#515967\"},content:{color:\"#515967\"},selection:{handles:{fill:{color:b},stroke:{color:\"#515967\"}}}}},treeMap:{colors:[[\"#007bc3\",\"#c2dbea\"],[\"#76b800\",\"#dae7c3\"],[\"#ffae00\",\"#f5e5c3\"],[\"#ef4c00\",\"#f2d2c3\"],[\"#a419b7\",\"#e3c7e8\"],[\"#430b62\",\"#d0c5d7\"]]}}),m(\"metro\",{chart:{title:{color:\"#777777\"},legend:{labels:{color:\"#777777\"},inactiveItems:{labels:{color:\"#CBCBCB\"},markers:{color:\"#CBCBCB\"}}},seriesDefaults:{labels:{color:n},errorBars:{color:\"#777777\"},notes:{icon:{background:\"transparent\",border:{color:\"#777777\"}},label:{color:\"#777777\"},line:{color:\"#777777\"}},candlestick:{downColor:\"#c7c7c7\",line:{color:\"#787878\"}},waterfall:{line:{color:\"#c7c7c7\"}},horizontalWaterfall:{line:{color:\"#c7c7c7\"}},overlay:{gradient:\"none\"},border:{_brightness:1}},seriesColors:[\"#8ebc00\",\"#309b46\",\"#25a0da\",\"#ff6900\",\"#e61e26\",\"#d8e404\",\"#16aba9\",\"#7e51a1\",\"#313131\",\"#ed1691\"],axisDefaults:{line:{color:\"#c7c7c7\"},labels:{color:\"#777777\"},minorGridLines:{color:\"#c7c7c7\"},majorGridLines:{color:\"#c7c7c7\"},title:{color:\"#777777\"},crosshair:{color:\"#c7c7c7\"},notes:{icon:{background:\"transparent\",border:{color:\"#777777\"}},label:{color:\"#777777\"},line:{color:\"#777777\"}}}},gauge:{pointer:{color:\"#8ebc00\"},scale:{rangePlaceholderColor:\"#e6e6e6\",labels:{color:\"#777\"},minorTicks:{color:\"#777\"},majorTicks:{color:\"#777\"},line:{color:\"#777\"}}},diagram:{shapeDefaults:{fill:{color:\"#8ebc00\"},connectorDefaults:{fill:{color:n},stroke:{color:b},hover:{fill:{color:b},stroke:{color:n}}},content:{color:\"#777\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#787878\"},hover:{fill:{color:\"#787878\"},stroke:{color:\"#787878\"}}}},rotate:{thumb:{stroke:{color:\"#787878\"},fill:{color:\"#787878\"}}}},selectable:{stroke:{color:\"#515967\"}},connectionDefaults:{stroke:{color:\"#787878\"},content:{color:\"#777\"},selection:{handles:{fill:{color:b},stroke:{color:\"#787878\"}}}}},treeMap:{colors:[[\"#8ebc00\",\"#e8f2cc\"],[\"#309b46\",\"#d6ebda\"],[\"#25a0da\",\"#d3ecf8\"],[\"#ff6900\",\"#ffe1cc\"],[\"#e61e26\",\"#fad2d4\"],[\"#d8e404\",\"#f7facd\"],[\"#16aba9\",\"#d0eeee\"],[\"#7e51a1\",\"#e5dcec\"],[\"#313131\",\"#d6d6d6\"],[\"#ed1691\",\"#fbd0e9\"]]}}),m(\"metroblack\",{chart:{title:{color:\"#ffffff\"},legend:{labels:{color:\"#ffffff\"},inactiveItems:{labels:{color:\"#797979\"},markers:{color:\"#797979\"}}},seriesDefaults:{border:{_brightness:1},labels:{color:\"#ffffff\"},errorBars:{color:\"#ffffff\"},notes:{icon:{background:\"transparent\",border:{color:\"#cecece\"}},label:{color:\"#ffffff\"},line:{color:\"#cecece\"}},line:{markers:{background:\"#0e0e0e\"}},bubble:{opacity:.6},scatter:{markers:{background:\"#0e0e0e\"}},scatterLine:{markers:{background:\"#0e0e0e\"}},candlestick:{downColor:\"#828282\",line:{color:\"#ffffff\"}},waterfall:{line:{color:\"#cecece\"}},horizontalWaterfall:{line:{color:\"#cecece\"}},overlay:{gradient:\"none\"}},chartArea:{background:\"#0e0e0e\"},seriesColors:[\"#00aba9\",\"#309b46\",\"#8ebc00\",\"#ff6900\",\"#e61e26\",\"#d8e404\",\"#25a0da\",\"#7e51a1\",\"#313131\",\"#ed1691\"],axisDefaults:{line:{color:\"#cecece\"},labels:{color:\"#ffffff\"},minorGridLines:{color:\"#2d2d2d\"},majorGridLines:{color:\"#333333\"},title:{color:\"#ffffff\"},crosshair:{color:\"#cecece\"},notes:{icon:{background:\"transparent\",border:{color:\"#cecece\"}},label:{color:\"#ffffff\"},line:{color:\"#cecece\"}}}},gauge:{pointer:{color:\"#00aba9\"},scale:{rangePlaceholderColor:\"#2d2d2d\",labels:{color:\"#ffffff\"},minorTicks:{color:\"#333333\"},majorTicks:{color:\"#cecece\"},line:{color:\"#cecece\"}}},diagram:{shapeDefaults:{fill:{color:\"#00aba9\"},connectorDefaults:{fill:{color:b},stroke:{color:\"#0e0e0e\"},hover:{fill:{color:\"#0e0e0e\"},stroke:{color:b}}},content:{color:b}},editable:{resize:{handles:{fill:{color:\"#0e0e0e\"},stroke:{color:\"#787878\"},hover:{fill:{color:\"#787878\"},stroke:{color:\"#787878\"}}}},rotate:{thumb:{stroke:{color:b},fill:{color:b}}}},selectable:{stroke:{color:\"#787878\"}},connectionDefaults:{stroke:{color:b},content:{color:b},selection:{handles:{fill:{color:\"#0e0e0e\"},stroke:{color:b}}}}},treeMap:{colors:[[\"#00aba9\",\"#0b2d2d\"],[\"#309b46\",\"#152a19\"],[\"#8ebc00\",\"#28310b\"],[\"#ff6900\",\"#3e200b\"],[\"#e61e26\",\"#391113\"],[\"#d8e404\",\"#36390c\"],[\"#25a0da\",\"#132b37\"],[\"#7e51a1\",\"#241b2b\"],[\"#313131\",\"#151515\"],[\"#ed1691\",\"#3b1028\"]]}}),m(\"moonlight\",{chart:{title:{color:\"#ffffff\"},legend:{labels:{color:\"#ffffff\"},inactiveItems:{labels:{color:\"#A1A7AB\"},markers:{color:\"#A1A7AB\"}}},seriesDefaults:{labels:{color:\"#ffffff\"},errorBars:{color:\"#ffffff\"},notes:{icon:{background:\"transparent\",border:{color:\"#8c909e\"}},label:{color:\"#ffffff\"},line:{color:\"#8c909e\"}},pie:{overlay:{gradient:\"sharpBevel\"}},donut:{overlay:{gradient:\"sharpGlass\"}},line:{markers:{background:\"#212a33\"}},bubble:{opacity:.6},scatter:{markers:{background:\"#212a33\"}},scatterLine:{markers:{background:\"#212a33\"}},area:{opacity:.3},candlestick:{downColor:\"#757d87\",line:{color:\"#ea9d06\"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:b,opacity:.2}}},waterfall:{line:{color:\"#8c909e\"}},horizontalWaterfall:{line:{color:\"#8c909e\"}},ohlc:{line:{color:\"#ea9d06\"}}},chartArea:{background:\"#212a33\"},seriesColors:[\"#ffca08\",\"#ff710f\",\"#ed2e24\",\"#ff9f03\",\"#e13c02\",\"#a00201\"],axisDefaults:{line:{color:\"#8c909e\"},minorTicks:{color:\"#8c909e\"},majorTicks:{color:\"#8c909e\"},labels:{color:\"#ffffff\"},majorGridLines:{color:\"#3e424d\"},minorGridLines:{color:\"#2f3640\"},title:{color:\"#ffffff\"},crosshair:{color:\"#8c909e\"},notes:{icon:{background:\"transparent\",border:{color:\"#8c909e\"}},label:{color:\"#ffffff\"},line:{color:\"#8c909e\"}}}},gauge:{pointer:{color:\"#f4af03\"},scale:{rangePlaceholderColor:\"#2f3640\",labels:{color:b},minorTicks:{color:\"#8c909e\"},majorTicks:{color:\"#8c909e\"},line:{color:\"#8c909e\"}}},diagram:{shapeDefaults:{fill:{color:\"#f3ae03\"},connectorDefaults:{fill:{color:b},stroke:{color:\"#414550\"},hover:{fill:{color:\"#414550\"},stroke:{color:b}}},content:{color:b}},editable:{resize:{handles:{fill:{color:\"#414550\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:b}}}},rotate:{thumb:{stroke:{color:b},fill:{color:b}}}},selectable:{stroke:{color:b}},connectionDefaults:{stroke:{color:b},content:{color:b},selection:{handles:{fill:{color:\"#414550\"},stroke:{color:b}}}}},treeMap:{colors:[[\"#ffca08\",\"#4e4b2b\"],[\"#ff710f\",\"#4e392d\"],[\"#ed2e24\",\"#4b2c31\"],[\"#ff9f03\",\"#4e422a\"],[\"#e13c02\",\"#482e2a\"],[\"#a00201\",\"#3b232a\"]]}}),m(\"uniform\",{chart:{title:{color:\"#686868\"},legend:{labels:{color:\"#686868\"},inactiveItems:{labels:{color:\"#B6B6B6\"},markers:{color:\"#B6B6B6\"}}},seriesDefaults:{labels:{color:\"#686868\"},errorBars:{color:\"#686868\"},notes:{icon:{background:\"transparent\",border:{color:\"#9e9e9e\"}},label:{color:\"#686868\"},line:{color:\"#9e9e9e\"}},pie:{overlay:{gradient:\"sharpBevel\"}},donut:{overlay:{gradient:\"sharpGlass\"}},line:{markers:{background:\"#ffffff\"}},bubble:{opacity:.6},scatter:{markers:{background:\"#ffffff\"}},scatterLine:{markers:{background:\"#ffffff\"}},area:{opacity:.3},candlestick:{downColor:\"#cccccc\",line:{color:\"#cccccc\"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:\"#cccccc\",opacity:.2}}},waterfall:{line:{color:\"#9e9e9e\"}},horizontalWaterfall:{line:{color:\"#9e9e9e\"}},ohlc:{line:{color:\"#cccccc\"}}},chartArea:{background:\"#ffffff\"},seriesColors:[\"#527aa3\",\"#6f91b3\",\"#8ca7c2\",\"#a8bdd1\",\"#c5d3e0\",\"#e2e9f0\"],axisDefaults:{line:{color:\"#9e9e9e\"},minorTicks:{color:\"#aaaaaa\"},majorTicks:{color:\"#888888\"},labels:{color:\"#686868\"},majorGridLines:{color:\"#dadada\"},minorGridLines:{color:\"#e7e7e7\"},title:{color:\"#686868\"},crosshair:{color:\"#9e9e9e\"},notes:{icon:{background:\"transparent\",border:{color:\"#9e9e9e\"}},label:{color:\"#686868\"},line:{color:\"#9e9e9e\"}}}},gauge:{pointer:{color:\"#527aa3\"},scale:{rangePlaceholderColor:\"#e7e7e7\",labels:{color:\"#686868\"},minorTicks:{color:\"#aaaaaa\"},majorTicks:{color:\"#888888\"},line:{color:\"#9e9e9e\"}}},diagram:{shapeDefaults:{fill:{color:\"#d1d1d1\"},connectorDefaults:{fill:{color:\"#686868\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#686868\"}}},content:{color:\"#686868\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#686868\"},hover:{fill:{color:\"#686868\"},stroke:{color:\"#686868\"}}}},rotate:{thumb:{stroke:{color:\"#686868\"},fill:{color:\"#686868\"}}}},selectable:{stroke:{color:\"#686868\"}},connectionDefaults:{stroke:{color:\"#686868\"},content:{color:\"#686868\"},selection:{handles:{fill:{color:b},stroke:{color:\"#686868\"}}}}},treeMap:{colors:[[\"#527aa3\",\"#d0d8e1\"],[\"#6f91b3\",\"#d6dde4\"],[\"#8ca7c2\",\"#dce1e7\"],[\"#a8bdd1\",\"#e2e6ea\"],[\"#c5d3e0\",\"#e7eaed\"],[\"#e2e9f0\",\"#edeff0\"]]}}),m(\"bootstrap\",{chart:{title:{color:\"#333333\"},legend:{labels:{color:\"#333333\"},inactiveItems:{labels:{color:\"#999999\"},markers:{color:\"#9A9A9A\"}}},seriesDefaults:{labels:{color:\"#333333\"},overlay:{gradient:\"none\"},errorBars:{color:\"#343434\"},notes:{icon:{background:\"#000000\",border:{color:\"#000000\"}},label:{color:\"#333333\"},line:{color:\"#000000\"}},pie:{overlay:{gradient:\"none\"}},donut:{overlay:{gradient:\"none\"}},line:{markers:{background:\"#ffffff\"}},bubble:{opacity:.6},scatter:{markers:{background:\"#ffffff\"}},scatterLine:{markers:{background:\"#ffffff\"}},area:{opacity:.8},candlestick:{downColor:\"#d0d0d0\",line:{color:\"#333333\"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:\"#b8b8b8\",opacity:.2}}},waterfall:{line:{color:\"#cccccc\"}},horizontalWaterfall:{line:{color:\"#cccccc\"}},ohlc:{line:{color:\"#333333\"}}},chartArea:{background:\"#ffffff\"},seriesColors:[\"#428bca\",\"#5bc0de\",\"#5cb85c\",\"#f2b661\",\"#e67d4a\",\"#da3b36\"],axisDefaults:{line:{color:\"#cccccc\"},minorTicks:{color:\"#ebebeb\"},majorTicks:{color:\"#cccccc\"},labels:{color:\"#333333\"},majorGridLines:{color:\"#cccccc\"},minorGridLines:{color:\"#ebebeb\"},title:{color:\"#333333\"},crosshair:{color:\"#000000\"},notes:{icon:{background:\"#000000\",border:{color:\"#000000\"}},label:{color:\"#ffffff\"},line:{color:\"#000000\"}}}},gauge:{pointer:{color:\"#428bca\"},scale:{rangePlaceholderColor:\"#cccccc\",labels:{color:\"#333333\"},minorTicks:{color:\"#ebebeb\"},majorTicks:{color:\"#cccccc\"},line:{color:\"#cccccc\"}}},diagram:{shapeDefaults:{fill:{color:\"#428bca\"},connectorDefaults:{fill:{color:\"#333333\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#333333\"}}},content:{color:\"#333333\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#333333\"},hover:{fill:{color:\"#333333\"},stroke:{color:\"#333333\"}}}},rotate:{thumb:{stroke:{color:\"#333333\"},fill:{color:\"#333333\"}}}},selectable:{stroke:{color:\"#333333\"}},connectionDefaults:{stroke:{color:\"#c4c4c4\"},content:{color:\"#333333\"},selection:{handles:{fill:{color:b},stroke:{color:\"#333333\"}},stroke:{color:\"#333333\"}}}},treeMap:{colors:[[\"#428bca\",\"#d1e0ec\"],[\"#5bc0de\",\"#d6eaf0\"],[\"#5cb85c\",\"#d6e9d6\"],[\"#5cb85c\",\"#f4e8d7\"],[\"#e67d4a\",\"#f2ddd3\"],[\"#da3b36\",\"#f0d0cf\"]]}}),m(\"flat\",{chart:{title:{color:\"#4c5356\"},legend:{labels:{color:\"#4c5356\"},inactiveItems:{labels:{color:\"#CBCBCB\"},markers:{color:\"#CBCBCB\"}}},seriesDefaults:{labels:{color:\"#4c5356\"},errorBars:{color:\"#4c5356\"},notes:{icon:{background:\"transparent\",border:{color:\"#cdcdcd\"}},label:{color:\"#4c5356\"},line:{color:\"#cdcdcd\"}},candlestick:{downColor:\"#c7c7c7\",line:{color:\"#787878\"}},area:{opacity:.9},waterfall:{line:{color:\"#cdcdcd\"}},horizontalWaterfall:{line:{color:\"#cdcdcd\"}},overlay:{gradient:\"none\"},border:{_brightness:1}},seriesColors:[\"#10c4b2\",\"#ff7663\",\"#ffb74f\",\"#a2df53\",\"#1c9ec4\",\"#ff63a5\",\"#1cc47b\"],axisDefaults:{line:{color:\"#cdcdcd\"},labels:{color:\"#4c5356\"},minorGridLines:{color:\"#cdcdcd\"},majorGridLines:{color:\"#cdcdcd\"},title:{color:\"#4c5356\"},crosshair:{color:\"#cdcdcd\"},notes:{icon:{background:\"transparent\",border:{color:\"#cdcdcd\"}},label:{color:\"#4c5356\"},line:{color:\"#cdcdcd\"}}}},gauge:{pointer:{color:\"#10c4b2\"},scale:{rangePlaceholderColor:\"#cdcdcd\",labels:{color:\"#4c5356\"},minorTicks:{color:\"#4c5356\"},majorTicks:{color:\"#4c5356\"},line:{color:\"#4c5356\"}}},diagram:{shapeDefaults:{fill:{color:\"#10c4b2\"},connectorDefaults:{fill:{color:\"#363940\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#363940\"}}},content:{color:\"#4c5356\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#363940\"},hover:{fill:{color:\"#363940\"},stroke:{color:\"#363940\"}}}},rotate:{thumb:{stroke:{color:\"#363940\"},fill:{color:\"#363940\"}}}},selectable:{stroke:{color:\"#363940\"}},connectionDefaults:{stroke:{color:\"#cdcdcd\"},content:{color:\"#4c5356\"},selection:{handles:{fill:{color:b},stroke:{color:\"#363940\"}},stroke:{color:\"#363940\"}}}},treeMap:{colors:[[\"#10c4b2\",\"#cff3f0\"],[\"#ff7663\",\"#ffe4e0\"],[\"#ffb74f\",\"#fff1dc\"],[\"#a2df53\",\"#ecf9dd\"],[\"#1c9ec4\",\"#d2ecf3\"],[\"#ff63a5\",\"#ffe0ed\"],[\"#1cc47b\",\"#d2f3e5\"]]}}),m(\"material\",{chart:{title:{color:\"#444444\"},legend:{labels:{color:\"#444444\"},inactiveItems:{labels:{\r\ncolor:\"#CBCBCB\"},markers:{color:\"#CBCBCB\"}}},seriesDefaults:{labels:{color:\"#444444\"},errorBars:{color:\"#444444\"},notes:{icon:{background:\"transparent\",border:{color:\"#e5e5e5\"}},label:{color:\"#444444\"},line:{color:\"#e5e5e5\"}},candlestick:{downColor:\"#c7c7c7\",line:{color:\"#787878\"}},area:{opacity:.9},waterfall:{line:{color:\"#e5e5e5\"}},horizontalWaterfall:{line:{color:\"#e5e5e5\"}},overlay:{gradient:\"none\"},border:{_brightness:1}},seriesColors:[\"#3f51b5\",\"#03a9f4\",\"#4caf50\",\"#f9ce1d\",\"#ff9800\",\"#ff5722\"],axisDefaults:{line:{color:\"#e5e5e5\"},labels:{color:\"#444444\"},minorGridLines:{color:\"#e5e5e5\"},majorGridLines:{color:\"#e5e5e5\"},title:{color:\"#444444\"},crosshair:{color:\"#7f7f7f\"},notes:{icon:{background:\"transparent\",border:{color:\"#e5e5e5\"}},label:{color:\"#444444\"},line:{color:\"#e5e5e5\"}}}},gauge:{pointer:{color:\"#3f51b5\"},scale:{rangePlaceholderColor:\"#e5e5e5\",labels:{color:\"#444444\"},minorTicks:{color:\"#444444\"},majorTicks:{color:\"#444444\"},line:{color:\"#444444\"}}},diagram:{shapeDefaults:{fill:{color:\"#3f51b5\"},connectorDefaults:{fill:{color:\"#7f7f7f\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#7f7f7f\"}}},content:{color:\"#444444\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#444444\"},hover:{fill:{color:\"#444444\"},stroke:{color:\"#444444\"}}}},rotate:{thumb:{stroke:{color:\"#444444\"},fill:{color:\"#444444\"}}}},selectable:{stroke:{color:\"#444444\"}},connectionDefaults:{stroke:{color:\"#7f7f7f\"},content:{color:\"#444444\"},selection:{handles:{fill:{color:b},stroke:{color:\"#444444\"}},stroke:{color:\"#444444\"}}}},treeMap:{colors:[[\"#3f51b5\",\"#cff3f0\"],[\"#03a9f4\",\"#e5f6fe\"],[\"#4caf50\",\"#edf7ed\"],[\"#f9ce1d\",\"#fefae8\"],[\"#ff9800\",\"#fff4e5\"],[\"#ff5722\",\"#ffeee8\"]]}}),m(\"materialblack\",{chart:{title:{color:\"#fff\"},legend:{labels:{color:\"#fff\"},inactiveItems:{labels:{color:\"#CBCBCB\"},markers:{color:\"#CBCBCB\"}}},seriesDefaults:{labels:{color:\"#fff\"},errorBars:{color:\"#fff\"},notes:{icon:{background:\"transparent\",border:{color:\"#e5e5e5\"}},label:{color:\"#fff\"},line:{color:\"#e5e5e5\"}},candlestick:{downColor:\"#c7c7c7\",line:{color:\"#787878\"}},area:{opacity:.9},waterfall:{line:{color:\"#4d4d4d\"}},horizontalWaterfall:{line:{color:\"#4d4d4d\"}},overlay:{gradient:\"none\"},border:{_brightness:1}},chartArea:{background:\"#1c1c1c\"},seriesColors:[\"#3f51b5\",\"#03a9f4\",\"#4caf50\",\"#f9ce1d\",\"#ff9800\",\"#ff5722\"],axisDefaults:{line:{color:\"#4d4d4d\"},labels:{color:\"#fff\"},minorGridLines:{color:\"#4d4d4d\"},majorGridLines:{color:\"#4d4d4d\"},title:{color:\"#fff\"},crosshair:{color:\"#7f7f7f\"},notes:{icon:{background:\"transparent\",border:{color:\"#4d4d4d\"}},label:{color:\"#fff\"},line:{color:\"#4d4d4d\"}}}},gauge:{pointer:{color:\"#3f51b5\"},scale:{rangePlaceholderColor:\"#4d4d4d\",labels:{color:\"#fff\"},minorTicks:{color:\"#fff\"},majorTicks:{color:\"#fff\"},line:{color:\"#fff\"}}},diagram:{shapeDefaults:{fill:{color:\"#3f51b5\"},connectorDefaults:{fill:{color:\"#7f7f7f\"},stroke:{color:b},hover:{fill:{color:b},stroke:{color:\"#7f7f7f\"}}},content:{color:\"#fff\"}},editable:{resize:{handles:{fill:{color:b},stroke:{color:\"#fff\"},hover:{fill:{color:\"#fff\"},stroke:{color:\"#fff\"}}}},rotate:{thumb:{stroke:{color:\"#fff\"},fill:{color:\"#fff\"}}}},selectable:{stroke:{color:\"#fff\"}},connectionDefaults:{stroke:{color:\"#7f7f7f\"},content:{color:\"#fff\"},selection:{handles:{fill:{color:b},stroke:{color:\"#fff\"}},stroke:{color:\"#fff\"}}}},treeMap:{colors:[[\"#3f51b5\",\"#cff3f0\"],[\"#03a9f4\",\"#e5f6fe\"],[\"#4caf50\",\"#edf7ed\"],[\"#f9ce1d\",\"#fefae8\"],[\"#ff9800\",\"#fff4e5\"],[\"#ff5722\",\"#ffeee8\"]]}}),function(){function o(){return{icon:{background:\"#007cc0\",border:{color:\"#007cc0\"}},label:{color:\"#ffffff\"},line:{color:a}}}var r=\"#333333\",l=\"#7f7f7f\",c=\"#bdbdbd\",a=\"#c8c8c8\",t=\"#dddddd\",n=[\"#008fd3\",\"#99d101\",\"#f39b02\",\"#f05662\",\"#c03c53\",\"#acacac\"],i=[\"#cbe8f5\",\"#eaf5cb\",\"#fceacc\",\"#fbdcdf\",\"#f2d7dc\",\"#eeeeee\"],f=n[0],s=b;m(\"fiori\",{chart:{title:{color:r},legend:{labels:{color:r},inactiveItems:{labels:{color:l},markers:{color:l}}},seriesDefaults:{labels:{color:r},errorBars:{color:r},notes:o(),candlestick:{downColor:a,line:{color:c}},area:{opacity:.8},waterfall:{line:{color:a}},horizontalWaterfall:{line:{color:a}},overlay:{gradient:\"none\"},border:{_brightness:1}},seriesColors:n,axisDefaults:{line:{color:a},labels:{color:r},minorGridLines:{color:t},majorGridLines:{color:a},title:{color:r},crosshair:{color:l},notes:o()}},gauge:{pointer:{color:f},scale:{rangePlaceholderColor:a,labels:{color:r},minorTicks:{color:r},majorTicks:{color:r},line:{color:r}}},diagram:{shapeDefaults:{fill:{color:f},connectorDefaults:{fill:{color:r},stroke:{color:s},hover:{fill:{color:s},stroke:{color:r}}},content:{color:r}},editable:{resize:{handles:{fill:{color:s},stroke:{color:c},hover:{fill:{color:c},stroke:{color:c}}}},rotate:{thumb:{stroke:{color:c},fill:{color:c}}}},selectable:{stroke:{color:c}},connectionDefaults:{stroke:{color:c},content:{color:c},selection:{handles:{fill:{color:s},stroke:{color:c}},stroke:{color:c}}}},treeMap:{colors:e(n,i)}})}(),function(){function o(){return{icon:{background:\"#00b0ff\",border:{color:\"#00b0ff\"}},label:{color:\"#ffffff\"},line:{color:a}}}var r=\"#4e4e4e\",l=\"#7f7f7f\",c=\"#bdbdbd\",a=\"#c8c8c8\",t=\"#e5e5e5\",n=[\"#0072c6\",\"#5db2ff\",\"#008a17\",\"#82ba00\",\"#ff8f32\",\"#ac193d\"],i=[\"#cbe2f3\",\"#deeffe\",\"#cbe7d0\",\"#e5f0cb\",\"#fee8d5\",\"#eed0d7\"],f=n[0],s=b;m(\"office365\",{chart:{title:{color:r},legend:{labels:{color:r},inactiveItems:{labels:{color:l},markers:{color:l}}},seriesDefaults:{labels:{color:r},errorBars:{color:r},notes:o(),candlestick:{downColor:a,line:{color:c}},area:{opacity:.8},waterfall:{line:{color:a}},horizontalWaterfall:{line:{color:a}},overlay:{gradient:\"none\"},border:{_brightness:1}},seriesColors:n,axisDefaults:{line:{color:a},labels:{color:r},minorGridLines:{color:t},majorGridLines:{color:a},title:{color:r},crosshair:{color:l},notes:o()}},gauge:{pointer:{color:f},scale:{rangePlaceholderColor:a,labels:{color:r},minorTicks:{color:r},majorTicks:{color:r},line:{color:r}}},diagram:{shapeDefaults:{fill:{color:f},connectorDefaults:{fill:{color:r},stroke:{color:s},hover:{fill:{color:s},stroke:{color:r}}},content:{color:r}},editable:{resize:{handles:{fill:{color:s},stroke:{color:c},hover:{fill:{color:c},stroke:{color:c}}}},rotate:{thumb:{stroke:{color:c},fill:{color:c}}}},selectable:{stroke:{color:c}},connectionDefaults:{stroke:{color:c},content:{color:c},selection:{handles:{fill:{color:s},stroke:{color:c}},stroke:{color:c}}}},treeMap:{colors:e(n,i)}})}(),function(){function o(){return{icon:{background:\"#007cc0\",border:{color:\"#007cc0\"}},label:{color:\"#ffffff\"},line:{color:a}}}var r=\"#32364c\",l=\"#7f7f7f\",c=\"#bdbdbd\",a=\"#dfe0e1\",t=\"#dfe0e1\",n=[\"#ff4350\",\"#ff9ea5\",\"#00acc1\",\"#80deea\",\"#ffbf46\",\"#ffd78c\"],i=[\"#ffd9dc\",\"#ffeced\",\"#cceef3\",\"#e6f8fb\",\"#fff2da\",\"#fff7e8\"],f=n[0],s=b;m(\"nova\",{chart:{title:{color:r},legend:{labels:{color:r},inactiveItems:{labels:{color:l},markers:{color:l}}},seriesDefaults:{labels:{color:r},errorBars:{color:r},notes:o(),candlestick:{downColor:a,line:{color:c}},area:{opacity:.8},waterfall:{line:{color:a}},horizontalWaterfall:{line:{color:a}},overlay:{gradient:\"none\"},border:{_brightness:1}},seriesColors:n,axisDefaults:{line:{color:a},labels:{color:r},minorGridLines:{color:t},majorGridLines:{color:a},title:{color:r},crosshair:{color:r},notes:o()}},gauge:{pointer:{color:f},scale:{rangePlaceholderColor:a,labels:{color:r},minorTicks:{color:r},majorTicks:{color:r},line:{color:r}}},diagram:{shapeDefaults:{fill:{color:f},connectorDefaults:{fill:{color:r},stroke:{color:s},hover:{fill:{color:s},stroke:{color:r}}},content:{color:r}},editable:{resize:{handles:{fill:{color:s},stroke:{color:c},hover:{fill:{color:c},stroke:{color:c}}}},rotate:{thumb:{stroke:{color:c},fill:{color:c}}}},selectable:{stroke:{color:c}},connectionDefaults:{stroke:{color:c},content:{color:c},selection:{handles:{fill:{color:s},stroke:{color:c}},stroke:{color:c}}}},treeMap:{colors:e(n,i)}})}()}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(o,e,r){(r||e)()});\r\n//# sourceMappingURL=kendo.dataviz.themes.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"util/main.min\",[\"kendo.core.min\"],e)}(function(){return function(){function e(e){return typeof e!==M}function t(e,t){var n=i(t);return B.round(e*n)/n}function i(e){return e?B.pow(10,e):1}function n(e,t,i){return B.max(B.min(e,i),t)}function o(e){return e*D}function r(e){return e/D}function a(e){return\"number\"==typeof e&&!isNaN(e)}function s(t,i){return e(t)?t:i}function l(e){return e*e}function c(e){var t,i=[];for(t in e)i.push(t+e[t]);return i.sort().join(\"\")}function u(e){var t,i=2166136261;for(t=0;e.length>t;++t)i+=(i<<1)+(i<<4)+(i<<7)+(i<<8)+(i<<24),i^=e.charCodeAt(t);return i>>>0}function h(e){return u(c(e))}function p(e){var t,i=e.length,n=z,o=O;for(t=0;i>t;t++)o=B.max(o,e[t]),n=B.min(n,e[t]);return{min:n,max:o}}function d(e){return p(e).min}function g(e){return p(e).max}function f(e){return x(e).min}function m(e){return x(e).max}function x(e){var t,i,n,o=z,r=O;for(t=0,i=e.length;i>t;t++)n=e[t],null!==n&&isFinite(n)&&(o=B.min(o,n),r=B.max(r,n));return{min:o===z?void 0:o,max:r===O?void 0:r}}function v(e){return e?e[e.length-1]:void 0}function y(e,t){return e.push.apply(e,t),e}function b(e){return L.template(e,{useWithBlock:!1,paramName:\"d\"})}function w(t,i){return e(i)&&null!==i?\" \"+t+\"='\"+i+\"' \":\"\"}function _(e){var t,i=\"\";for(t=0;e.length>t;t++)i+=w(e[t][0],e[t][1]);return i}function A(t){var i,n,o=\"\";for(i=0;t.length>i;i++)n=t[i][1],e(n)&&(o+=t[i][0]+\":\"+n+\";\");return\"\"!==o?o:void 0}function k(e){return\"string\"!=typeof e&&(e+=\"px\"),e}function C(e){var t,i,n=[];if(e)for(t=L.toHyphens(e).split(\"-\"),i=0;t.length>i;i++)n.push(\"k-pos-\"+t[i]);return n.join(\" \")}function S(t){return\"\"===t||null===t||\"none\"===t||\"transparent\"===t||!e(t)}function P(e){for(var t={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\"},i=[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],n=\"\";e>0;)i[0]>e?i.shift():(n+=t[i[0]],e-=i[0]);return n}function T(e){var t,i,n,o,r;for(e=e.toLowerCase(),t={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},i=0,n=0,o=0;e.length>o;++o){if(r=t[e.charAt(o)],!r)return null;i+=r,r>n&&(i-=2*n),n=r}return i}function R(e){var t=Object.create(null);return function(){var i,n=\"\";for(i=arguments.length;--i>=0;)n+=\":\"+arguments[i];return n in t?t[n]:e.apply(this,arguments)}}function I(e){for(var t,i,n=[],o=0,r=e.length;r>o;)t=e.charCodeAt(o++),t>=55296&&56319>=t&&r>o?(i=e.charCodeAt(o++),56320==(64512&i)?n.push(((1023&t)<<10)+(1023&i)+65536):(n.push(t),o--)):n.push(t);return n}function V(e){return e.map(function(e){var t=\"\";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}).join(\"\")}var B=Math,L=window.kendo,E=L.deepExtend,D=B.PI/180,z=Number.MAX_VALUE,O=-Number.MAX_VALUE,M=\"undefined\",F=Date.now;F||(F=function(){return(new Date).getTime()}),E(L,{util:{MAX_NUM:z,MIN_NUM:O,append:y,arrayLimits:p,arrayMin:d,arrayMax:g,defined:e,deg:r,hashKey:u,hashObject:h,isNumber:a,isTransparent:S,last:v,limitValue:n,now:F,objectKey:c,round:t,rad:o,renderAttr:w,renderAllAttr:_,renderPos:C,renderSize:k,renderStyle:A,renderTemplate:b,sparseArrayLimits:x,sparseArrayMin:f,sparseArrayMax:m,sqr:l,valueOrDefault:s,romanToArabic:T,arabicToRoman:P,memoize:R,ucs2encode:V,ucs2decode:I}}),L.drawing.util=L.util,L.dataviz.util=L.util}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,i){(i||t)()}),function(e,define){define(\"util/text-metrics.min\",[\"kendo.core.min\",\"util/main.min\"],e)}(function(){!function(e){function t(){return{width:0,height:0,baseline:0}}function i(e,t,i){return h.current.measure(e,t,i)}function n(e,t){var i=[];if(e.length>0&&document.fonts){try{i=e.map(function(e){return document.fonts.load(e)})}catch(n){r.logToConsole(n)}Promise.all(i).then(t,t)}else t()}var o=document,r=window.kendo,a=r.Class,s=r.util,l=s.defined,c=a.extend({init:function(e){this._size=e,this._length=0,this._map={}},put:function(e,t){var i=this,n=i._map,o={key:e,value:t};n[e]=o,i._head?(i._tail.newer=o,o.older=i._tail,i._tail=o):i._head=i._tail=o,i._length>=i._size?(n[i._head.key]=null,i._head=i._head.newer,i._head.older=null):i._length++},get:function(e){var t=this,i=t._map[e];return i?(i===t._head&&i!==t._tail&&(t._head=i.newer,t._head.older=null),i!==t._tail&&(i.older&&(i.older.newer=i.newer,i.newer.older=i.older),i.older=t._tail,i.newer=null,t._tail.newer=i,t._tail=i),i.value):void 0}}),u=e(\"<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(e){this._cache=new c(1e3),this._initOptions(e)},options:{baselineMarkerSize:1},measure:function(i,n,r){var a,c,h,p,d,g,f,m;if(!i)return t();if(a=s.objectKey(n),c=s.hashKey(i+a),h=this._cache.get(c),h)return h;p=t(),d=r?r:u,g=this._baselineMarker().cloneNode(!1);for(f in n)m=n[f],l(m)&&(d.style[f]=m);return e(d).text(i),d.appendChild(g),o.body.appendChild(d),(i+\"\").length&&(p.width=d.offsetWidth-this.options.baselineMarkerSize,p.height=d.offsetHeight,p.baseline=g.offsetTop+this.options.baselineMarkerSize),p.width>0&&p.height>0&&this._cache.put(c,p),d.parentNode.removeChild(d),p},_baselineMarker:function(){return e(\"<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=c,r.util.loadFonts=n,r.util.measureText=i}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,i){(i||t)()}),function(e,define){define(\"util/base64.min\",[\"util/main.min\"],e)}(function(){return function(){function e(e){var i,n,o,a,s,l,c,u=\"\",h=0;for(e=t(e);e.length>h;)i=e.charCodeAt(h++),n=e.charCodeAt(h++),o=e.charCodeAt(h++),a=i>>2,s=(3&i)<<4|n>>4,l=(15&n)<<2|o>>6,c=63&o,isNaN(n)?l=c=64:isNaN(o)&&(c=64),u=u+r.charAt(a)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u}function t(e){var t,i,n=\"\";for(t=0;e.length>t;t++)i=e.charCodeAt(t),128>i?n+=o(i):2048>i?(n+=o(192|i>>>6),n+=o(128|63&i)):65536>i&&(n+=o(224|i>>>12),n+=o(128|i>>>6&63),n+=o(128|63&i));return n}var i=window.kendo,n=i.deepExtend,o=String.fromCharCode,r=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";n(i.util,{encodeBase64:e,encodeUTF8:t})}(),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,i){(i||t)()}),function(e,define){define(\"mixins/observers.min\",[\"kendo.core.min\"],e)}(function(){return function(e){var t=Math,i=window.kendo,n=i.deepExtend,o=e.inArray,r={observers:function(){return this._observers=this._observers||[]},addObserver:function(e){return this._observers?this._observers.push(e):this._observers=[e],this},removeObserver:function(e){var t=this.observers(),i=o(e,t);return-1!=i&&t.splice(i,1),this},trigger:function(e,t){var i,n,o=this._observers;if(o&&!this._suspended)for(n=0;o.length>n;n++)i=o[n],i[e]&&i[e](t);return this},optionsChange:function(e){e=e||{},e.element=this,this.trigger(\"optionsChange\",e)},geometryChange:function(){this.trigger(\"geometryChange\",{element:this})},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=t.max((this._suspended||0)-1,0),this},_observerField:function(e,t){this[e]&&this[e].removeObserver(this),this[e]=t,t.addObserver(this)}};n(i,{mixins:{ObserversMixin:r}})}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,i){(i||t)()}),function(e,define){define(\"kendo.dataviz.chart.min\",[\"kendo.color.min\",\"kendo.data.min\",\"kendo.dataviz.core.min\",\"kendo.dataviz.themes.min\",\"kendo.drawing.min\",\"kendo.userevents.min\"],e)}(function(){return function(e,t){function i(){return this}function n(){this._defaults={}}function o(e,t,i,n){var o,r,a=(n.x-i.x)*(e.y-i.y)-(n.y-i.y)*(e.x-i.x),s=(n.y-i.y)*(t.x-e.x)-(n.x-i.x)*(t.y-e.y);return 0!==s&&(r=a/s,o=new ni(e.x+r*(t.x-e.x),e.y+r*(t.y-e.y))),o}function r(e,t){var i,n,o,r=e.series,s=r.length,l=e.seriesDefaults,c=Ht({},e.seriesDefaults),u=t?Ht({},t.seriesDefaults):{},h=Ht({},u);for(a(c),a(h),i=0;s>i;i++)n=r[i].type||e.seriesDefaults.type,o=Ht({data:[]},h,u[n],{tooltip:e.tooltip},c,l[n]),r[i]._defaults=o,r[i]=Ht({},o,r[i])}function a(e){delete e.bar,delete e.column,delete e.rangeColumn,delete e.line,delete e.verticalLine,delete e.pie,delete e.donut,delete e.area,delete e.verticalArea,delete e.scatter,delete e.scatterLine,delete e.bubble,delete e.candlestick,delete e.ohlc,delete e.boxPlot,delete e.bullet,delete e.verticalBullet,delete e.polarArea,delete e.polarLine,delete e.radarArea,delete e.radarLine,delete e.waterfall}function s(e){var t,i,n,o,r=e.series,a=e.seriesColors||[];for(t=0;r.length>t;t++)i=r[t],n=a[t%a.length],i.color=i.color||n,o=i._defaults,o&&(o.color=o.color||n)}function l(e){var t;Tt([Wi,Jo,sr,lr],function(){t=this+\"Axes\",e[t]&&(e[this+\"Axis\"]=e[t],delete e[t])})}function c(t,i){var n=(i||{}).axisDefaults||{};Tt([Wi,Jo,sr,lr],function(){var i=this+\"Axis\",o=[].concat(t[i]),r=t.axisDefaults||{};o=e.map(o,function(e){var t=(e||{}).color,o=Ht({},n,n[i],r,r[i],{line:{color:t},labels:{color:t},title:{color:t}},e);return delete o[i],o}),t[i]=o.length>1?o:o[0]})}function u(e){var t,i=e.length,n=0;for(t=0;i>t;t++)n=Bt.max(n,e[t].data.length);return n}function h(e){return e*e}function p(e,t){if(null===t)return t;var i=Nt(e,!0);return i(t)}function d(e,t){if(null===t)return t;var i=\"_date_\"+e,n=t[i];return n||(n=g(Nt(e,!0)(t)),t[i]=n),n}function g(e){var t,i;if(e instanceof Date)t=e;else if(typeof e===zo)t=zt.parseDate(e)||new Date(e);else if(e)if(Rt(e))for(t=[],i=0;e.length>i;i++)t.push(g(e[i]));else t=new Date(e);return t}function f(e){return Rt(e)?Vt(e,f):e?g(e).getTime():t}function m(e,t,i,n){var o,r=e;return e&&(e=g(e),o=e.getHours(),i===cr?(r=new Date(e.getFullYear()+t,0,1),zt.date.adjustDST(r,0)):i===$n?(r=new Date(e.getFullYear(),e.getMonth()+t,1),zt.date.adjustDST(r,o)):i===rr?(r=m(x(e,n),7*t,cn),zt.date.adjustDST(r,o)):i===cn?(r=new Date(e.getFullYear(),e.getMonth(),e.getDate()+t),zt.date.adjustDST(r,o)):i===Ln?r=_(new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),t*Uo):i===Qn?(r=_(e,t*Fo),r.getSeconds()>0&&r.setSeconds(0)):i===Co&&(r=_(e,t*Mo)),r.getMilliseconds()>0&&r.setMilliseconds(0)),r}function x(e,t){var i=e.getDay(),n=0;if(!isNaN(i))for(t=t||0;i!==t;)0===i?i=6:i--,n++;return _(e,-n*Ho)}function v(e,t,i){return e=g(e),m(e,0,t,i)}function y(e,t,i){return e=g(e),e&&v(e,t,i).getTime()===e.getTime()?e:m(e,1,t,i)}function b(e,t){var i=e.getTime()-t,n=e.getTimezoneOffset()-t.getTimezoneOffset();return i-(n*i>0?n*Fo:0)}function w(e,t){var i=e.getTime()-t,n=e.getTimezoneOffset()-t.getTimezoneOffset();return i-n*Fo}function _(e,t){var i=e.getTimezoneOffset(),n=new Date(e.getTime()+t),o=n.getTimezoneOffset()-i;return new Date(n.getTime()+(t*o>0?o*Fo:0))}function A(e,t,i){var n;return n=i===cr?t.getFullYear()-e.getFullYear():i===$n?12*A(e,t,cr)+t.getMonth()-e.getMonth():Bt.floor(i===cn?b(t,e)/Ho:b(t,e)/qo[i])}function k(e,t,i,n){var o,r=g(e),a=g(t);return o=i==$n?r.getMonth()-a.getMonth()+12*(r.getFullYear()-a.getFullYear())+C(r,new Date(r.getFullYear(),r.getMonth()),cn)/new Date(r.getFullYear(),r.getMonth()+1,0).getDate():i==cr?r.getFullYear()-a.getFullYear()+k(r,new Date(r.getFullYear(),0),$n,1)/12:i==cn||i==rr?C(r,a,i):b(r,t)/qo[i],o/n}function C(e,t,i){return w(e,t)/qo[i]}function S(e){return 1===e.length?e[0]:e}function P(e){var t,i,n,o=e.length;if(o>0)for(i=0;o>i;i++)n=e[i].contentBox(),t?t.wrap(n):t=n.clone();return t||Wt()}function T(e,t){return e&&t?e.toLowerCase()===t.toLowerCase():e===t}function R(e,t){return e&&t?f(e)===f(t):e===t}function I(e,t){null!==t&&e.push(t)}function V(e,t){for(var i,n,o=0,r=t.length-1;r>=o;)if(i=Bt.floor((o+r)/2),n=t[i],e>n)o=i+1;else{if(!(n>e)){for(;R(t[i-1],e);)i--;return i}r=i-1}return e>=t[i]?i:i-1}function B(e){return\"number\"==typeof e&&!isNaN(e)}function L(e){var t,i,n=e.length,o=0;for(t=0;n>t;t++)i=e[t],B(i)&&o++;return o}function E(e){return L(e)===e.length}function D(e){var t,i,n,o={};for(t=0;e.length>t;t++)i=e[t],n=i.options.name,n&&(o[n]=i.range());return o}function z(e,t,i,n){var o,r,a,s,l,c=!1;if(i=i||{},a=i.excluded=i.excluded||[],s=i.defaults=i.defaults||{},l=i.depth=i.depth||0,!(l>Xn)){for(o in e)!fi(o,i.excluded)&&e.hasOwnProperty(o)&&(r=e[o],jt(r)?(c=!0,n||(e[o]=Ti(r(t),s[o]))):typeof r===lo&&(n||(i.defaults=s[o]),i.depth++,c=z(r,t,i,n)||c,i.depth--));return c}}function O(e,i){var n,o,r,a=[],s=e.groupNameTemplate,l=i.length;if(0===l)return r=Ht({},e),r.visibleInLegend=!1,[r];for(wi(s)?(zt.logToConsole(\"'groupNameTemplate' is obsolete and will be removed in future versions. Specify the group name template as 'series.name'\"),s&&(n=Gt(s))):(n=Gt(e.name||\"\"),0===n._slotCount&&(n=Gt(wi(e.name)?\"#= group.value #: #= series.name #\":\"#= group.value #\"))),o=0;l>o;o++)r=Ht({},e),jt(r.color)||(r.color=t),r._groupIx=o,a.push(r),n&&(r.name=n({series:r,group:i[o]}));return a}function M(e,t){var i,n,o=[];for(t=[].concat(t),i=0;e.length>i;i++)n=e[i],fi(n.type,t)&&o.push(n);return o}function F(t,i){if(t instanceof Date){for(var n=0,o=i.length;o>n;n++)if(R(i[n],t))return n;return-1}return e.inArray(t,i)}function U(e,t){t=t||pi;for(var i=1,n=e.length;n>i;i++)if(t(e[i],e[i-1])<0){e.sort(t);break}return e}function H(e,t){var i,n=U(e,t),o=n.length,r=o>0?[n[0]]:[];for(t=t||pi,i=1;o>i;i++)0!==t(n[i],_i(r))&&r.push(n[i]);return r}function N(e,t){var i=e.type,n=t instanceof Date;return!i&&n||T(i,ln)}function j(e){var t,i,n,o,r=[],a=e.length;for(t=0;a>t;t++)for(i=e[t],o=i.length,n=0;o>n;n++)r[n]=r[n]||[],r[n].push(i[n]);return r}function G(e,t){if(e.indexOf(\".\")>-1)for(var i,n=e.split(\".\"),o=\"\";n.length>1;)o+=n.shift(),i=zt.getter(o)(t)||{},zt.setter(o)(t,i),o+=\".\"}function q(e){var t,i,n,o=e.data,r=0;for(t=0;o.length>t;t++)i=ie.current.bindPoint(e,t),n=i.valueFields.value,typeof n===zo&&(n=parseFloat(n)),B(n)&&i.fields.visible!==!1&&(r+=Bt.abs(n));return r}function Y(e){var t=e.overlay;return t&&t.gradient&&\"none\"!=t.gradient}function X(e){for(var t=0;e.length>t;t++)if(wi(e[t].zIndex))return!0}function W(){this._defaultPrevented=!0}function K(e,t){if(e)for(var i=0;e.length>i;i++)if(e[i].category===t)return[e[i]]}function Z(e){return wi(e)&&null!==e}function Q(e){var t,i,n={};for(i=0;e.length>i;i++)t=e[i],t.axis.options.name&&(n[t.axis.options.name]={min:t.range.min,max:t.range.max});return n}function $(e,t){var i=(t||\"\").toLowerCase(),n=\"none\"==i&&!(e.ctrlKey||e.shiftKey||e.altKey)||e[i+\"Key\"];return n}function J(e,t){var i=[];ee(e,i),zt.util.loadFonts(i,t)}function ee(e,t,i){var n=5;i=i||{depth:0},!e||i.depth>n||!document.fonts||Object.keys(e).forEach(function(n){var o=e[n];\"dataSource\"!==n&&\"$\"!==n[0]&&o&&(\"font\"===n?t.push(o):\"object\"==typeof o&&(i.depth++,ee(o,t,i),i.depth--))})}var te,ie,ne,oe,re,ae,se,le,ce,ue,he,pe,de,ge,fe,me,xe,ve,ye,be,we,_e,Ae,ke,Ce,Se,Pe,Te,Re,Ie,Ve,Be,Le,Ee,De,ze,Oe,Me,Fe,Ue,He,Ne,je,Ge,qe,Ye,Xe,We,Ke,Ze,Qe,$e,Je,et,tt,it,nt,ot,rt,at,st,lt,ct,ut,ht,pt,dt,gt,ft,mt,xt,vt,yt,bt,wt,_t,At,kt,Ct,St,Pt,Tt=e.each,Rt=e.isArray,It=e.isPlainObject,Vt=e.map,Bt=Math,Lt=e.noop,Et=e.extend,Dt=e.proxy,zt=window.kendo,Ot=zt.Class,Mt=zt.Observable,Ft=zt.data.DataSource,Ut=zt.ui.Widget,Ht=zt.deepExtend,Nt=zt.getter,jt=zt.isFunction,Gt=zt.template,qt=zt.dataviz,Yt=qt.Axis,Xt=qt.AxisLabel,Wt=qt.Box2D,Kt=qt.BoxElement,Zt=qt.ChartElement,Qt=zt.drawing.Color,$t=qt.CurveProcessor,Jt=qt.FloatElement,ei=qt.Note,ti=qt.LogarithmicAxis,ii=qt.NumericAxis,ni=qt.Point2D,oi=qt.RootElement,ri=qt.Ring,ai=qt.ShapeElement,si=qt.ShapeBuilder,li=qt.TextBox,ci=qt.Title,ui=qt.alignPathToPixel,hi=qt.autoFormat,pi=qt.dateComparer,di=qt.eventTargetElement,gi=qt.getSpacing,fi=qt.inArray,mi=qt.interpolateValue,xi=qt.mwDelta,vi=qt.round,yi=zt.util,bi=yi.append,wi=yi.defined,_i=yi.last,Ai=yi.limitValue,ki=yi.sparseArrayLimits,Ci=yi.sparseArrayMin,Si=yi.sparseArrayMax,Pi=yi.renderTemplate,Ti=yi.valueOrDefault,Ri=qt.geometry,Ii=qt.drawing,Vi=\".kendoChart\",Bi=\"above\",Li=\"area\",Ei=\"auto\",Di=\"fit\",zi=qt.AXIS_LABEL_CLICK,Oi=\"bar\",Mi=6,Fi=.8,Ui=\"below\",Hi=\"#000\",Ni=\"both\",ji=\"bottom\",Gi=\"boxPlot\",qi=\"bubble\",Yi=\"bullet\",Xi=\"candlestick\",Wi=\"category\",Ki=\"center\",Zi=\"change\",Qi=\"circle\",$i=\"contextmenu\"+Vi,Ji=qt.CLIP,en=\"color\",tn=\"column\",nn=qt.COORD_PRECISION,on=\"cross\",rn=\"k-\",an=\"custom\",sn=\"dataBound\",ln=\"date\",cn=\"days\",un=qt.DEFAULT_FONT,hn=qt.DEFAULT_HEIGHT,pn=qt.DEFAULT_PRECISION,dn=qt.DEFAULT_WIDTH,gn=4,fn=\"donut\",mn=50,xn=\"drag\",vn=\"dragEnd\",yn=\"dragStart\",bn=\"errorLow\",wn=\"errorHigh\",_n=\"xErrorLow\",An=\"xErrorHigh\",kn=\"yErrorLow\",Cn=\"yErrorHigh\",Sn=\"fadeIn\",Pn=\"first\",Tn=\"from\",Rn=\"funnel\",In=\"glass\",Vn=\"horizontal\",Bn=\"horizontalWaterfall\",Ln=\"hours\",En=qt.INITIAL_ANIMATION_DURATION,Dn=\"insideBase\",zn=\"insideEnd\",On=\"interpolate\",Mn=\"leave\",Fn=\"left\",Un=\"legendItemClick\",Hn=\"legendItemHover\",Nn=\"line\",jn=8,Gn=\"linear\",qn=\"log\",Yn=\"max\",Xn=5,Wn=Number.MAX_VALUE,Kn=\"min\",Zn=-Number.MAX_VALUE,Qn=\"minutes\",$n=\"months\",Jn=\"mouseleave\"+Vi,eo=\"mousemove.tracking\",to=\"mousemove\"+Vi,io=20,no=150,oo=\"DOMMouseScroll\"+Vi+\" mousewheel\"+Vi,ro=qt.NOTE_CLICK,ao=qt.NOTE_HOVER,so=\"noteText\",lo=\"object\",co=\"ohlc\",uo=\"outsideEnd\",ho=\"pie\",po=70,go=\"plotAreaClick\",fo=\"plotAreaHover\",mo=\"pointer\",xo=\"rangeBar\",vo=\"rangeColumn\",yo=\"render\",bo=\"right\",wo=\"roundedBevel\",_o=\"roundedGlass\",Ao=\"scatter\",ko=\"scatterLine\",Co=\"seconds\",So=\"selectStart\",Po=\"select\",To=\"selectEnd\",Ro=\"seriesClick\",Io=\"seriesHover\",Vo=.001,Bo=\"step\",Lo=\"smooth\",Eo=\"stderr\",Do=\"stddev\",zo=\"string\",Oo=\"summary\",Mo=1e3,Fo=60*Mo,Uo=60*Fo,Ho=24*Uo,No=7*Ho,jo=31*Ho,Go=365*Ho,qo={years:Go,months:jo,weeks:No,days:Ho,hours:Uo,minutes:Fo,seconds:Mo},Yo=\"to\",Xo=\"top\",Wo=150,Ko=5,Zo=100,Qo=100,$o=\"chart-tooltip-inverse\",Jo=\"value\",er=\"verticalArea\",tr=\"verticalBoxPlot\",ir=\"verticalBullet\",nr=\"verticalLine\",or=\"waterfall\",rr=\"weeks\",ar=\"#fff\",sr=\"x\",lr=\"y\",cr=\"years\",ur=\"zero\",hr=3,pr=\"zoomStart\",dr=\"zoom\",gr=\"zoomEnd\",fr=[Co,Qn,Ln,cn,rr,$n,cr],mr=[Oi,tn,co,Xi,Gi,tr,Yi,vo,xo,or,Bn],xr={seconds:\"HH:mm:ss\",minutes:\"HH:mm\",hours:\"HH:mm\",days:\"M/d\",weeks:\"M/d\",months:\"MMM 'yy\",years:\"yyyy\"},vr=Ut.extend({init:function(e,i){var n,o,r=this;zt.destroy(e),Ut.fn.init.call(r,e),r.element.addClass(rn+this.options.name.toLowerCase()).css(\"position\",\"relative\"),i&&(o=i.dataSource,i.dataSource=t),n=Ht({},r.options,i),r._originalOptions=Ht({},n),r._initTheme(n),r._initSurface(),r.bind(r.events,r.options),r.wrapper=r.element,i&&(i.dataSource=o),r._initDataSource(i),zt.notify(r,qt.ui)},_initTheme:function(i){var n,o=this,r=qt.ui.themes||{},a=i.theme,c=r[a]||r[a.toLowerCase()],u=a&&c?c.chart:{},h=[],p=i.series||[];for(n=0;p.length>n;n++)h.push(e.extend({},p[n]));i.series=h,l(i),o._applyDefaults(i,u),null===i.seriesColors&&(i.seriesColors=t),o.options=Ht({},u,i),s(o.options)},_initDataSource:function(e){var t=this,i=(e||{}).dataSource;t._dataChangeHandler=Dt(t._onDataChanged,t),t.dataSource=Ft.create(i).bind(Zi,t._dataChangeHandler),t._bindCategories(),i&&(t._hasDataSource=!0),J(e,function(){t._redraw(),t._attachEvents()}),i&&t.options.autoBind&&t.dataSource.fetch()},setDataSource:function(e){var t=this;t.dataSource.unbind(Zi,t._dataChangeHandler),t.dataSource=e=Ft.create(e),t._hasDataSource=!0,t._hasData=!1,e.bind(Zi,t._dataChangeHandler),t.options.autoBind&&e.fetch()},events:[sn,Ro,Io,zi,Un,Hn,go,fo,yn,xn,vn,pr,dr,gr,So,Po,To,ro,ao,yo],items:function(){return e()},options:{name:\"Chart\",renderAs:\"\",theme:\"default\",chartArea:{},legend:{visible:!0,labels:{}},categoryAxis:{},autoBind:!0,seriesDefaults:{type:tn,data:[],highlight:{visible:!0},labels:{},negativeValues:{visible:!1}},series:[],seriesColors:null,tooltip:{visible:!1},transitions:!0,valueAxis:{},plotArea:{},title:{},xAxis:{},yAxis:{},panes:[{}],pannable:!1,zoomable:!1},refresh:function(){var e=this;e._applyDefaults(e.options),s(e.options),e._bindSeries(),e._bindCategories(),e.trigger(sn),e._redraw()},getSize:function(){return zt.dimensions(this.element)},_resize:function(){var e=this.options.transitions;this.options.transitions=!1,this._redraw(),this.options.transitions=e},redraw:function(e){var t,i,n=this;n._applyDefaults(n.options),s(n.options),e?(i=n._model._plotArea,t=i.findPane(e),i.redraw(t)):n._redraw()},getAxis:function(e){var t,i=this._plotArea.axes;for(t=0;i.length>t;t++)if(i[t].options.name===e)return new Pt(i[t])},toggleHighlight:function(e,t){var i,n,o,r,a=this._plotArea,s=this._highlight,l=(a.srcSeries||a.series||[])[0];if(zt.isFunction(t)?o=a.filterPoints(t):(It(t)?(i=t.series,n=t.category):i=n=t,o=l.type===fn?K(a.pointsBySeriesName(i),n):l.type===ho||l.type===Rn?K((a.charts[0]||{}).points,n):a.pointsBySeriesName(i)),o)for(r=0;o.length>r;r++)s.togglePointHighlight(o[r],e)},_initSurface:function(){var e=this.surface,t=this._surfaceWrap(),i=this.options.chartArea;i.width&&t.css(\"width\",i.width),i.height&&t.css(\"height\",i.height),e&&e.options.type===this.options.renderAs?(this.surface.clear(),this.surface.resize()):(e&&e.destroy(),this.surface=Ii.Surface.create(t,{type:this.options.renderAs}))},_surfaceWrap:function(){return this.element},_redraw:function(){var e,t=this,i=t._getModel();t._destroyView(),t._model=i,t._plotArea=i._plotArea,i.renderVisual(),this.options.transitions!==!1&&i.traverse(function(e){e.animation&&e.animation.setup()}),t._initSurface(),t.surface.draw(i.visual),this.options.transitions!==!1&&i.traverse(function(e){e.animation&&e.animation.play()}),t._tooltip=t._createTooltip(),t._highlight=new ft(e),t._setupSelection(),t._createPannable(),t._createZoomSelection(),t._createMousewheelZoom(),t._hasDataSource&&!t._hasData&&t.options.autoBind||t.trigger(yo)},exportVisual:function(e){var t,i,n,o;return e&&(e.width||e.height)?(i=this.options.chartArea,n=this._originalOptions.chartArea,Ht(i,e),o=this._getModel(),i.width=n.width,i.height=n.height,o.renderVisual(),t=o.visual):t=this.surface.exportVisual(),t},_sharedTooltip:function(){var e=this,t=e.options;return e._plotArea instanceof lt&&t.tooltip.shared},_createPannable:function(){var e=this.options;e.pannable!==!1&&(this._pannable=new At(this._plotArea,e.pannable))},_createZoomSelection:function(){var e=this.options.zoomable,t=(e||{}).selection;e!==!1&&t!==!1&&(this._zoomSelection=new kt(this,t))},_createMousewheelZoom:function(){var e=this.options.zoomable,t=(e||{}).mousewheel;e!==!1&&t!==!1&&(this._mousewheelZoom=new Ct(this,t))},_createTooltip:function(){var e,t=this,i=t.options,n=t.element;return e=t._sharedTooltip()?new vt(n,t._plotArea,i.tooltip):new xt(n,i.tooltip),e.bind(Mn,Dt(t._tooltipleave,t)),e},_tooltipleave:function(){var e=this,t=e._plotArea,i=e._highlight;t.hideCrosshairs(),i.hide()},_applyDefaults:function(e,t){c(e,t),r(e,t)},_getModel:function(){var e,t=this,i=t.options,n=new oi(t._modelOptions());return n.chart=t,ci.buildTitle(i.title,n),e=n._plotArea=t._createPlotArea(),i.legend.visible&&n.append(new ae(e.options.legend)),n.append(e),n.reflow(),n},_modelOptions:function(){var e=this,t=e.options,i=e.element,n=Bt.floor(i.height()),o=Bt.floor(i.width());return e._size=null,Ht({width:o||dn,height:n||hn,transitions:t.transitions},t.chartArea)},_createPlotArea:function(e){var t=this,i=t.options;return te.current.create(e?[]:i.series,i)},_setupSelection:function(){var e,t,i,n,o,r,a=this,s=a._plotArea,l=s.axes,c=a._selections=[];for(a._selectStartHandler||(a._selectStartHandler=Dt(a._selectStart,a),a._selectHandler=Dt(a._select,a),a._selectEndHandler=Dt(a._selectEnd,a)),t=0;l.length>t;t++)i=l[t],r=i.options,i instanceof se&&r.select&&!r.vertical&&(n=0,o=r.categories.length-1,i instanceof le&&(n=r.categories[n],o=r.categories[o]),r.justified||(i instanceof le?o=m(o,1,r.baseUnit,r.weekStartDay):o++),e=new _t(a,i,Ht({min:n,max:o},r.select)),e.bind(So,a._selectStartHandler),e.bind(Po,a._selectHandler),e.bind(To,a._selectEndHandler),c.push(e))},_selectStart:function(e){return this.trigger(So,e)},_select:function(e){return this.trigger(Po,e)},_selectEnd:function(e){return this.trigger(To,e)},_attachEvents:function(){var e=this,t=e.element,i=e.surface;i.bind(\"mouseenter\",Dt(e._mouseover,e)),i.bind(\"mouseleave\",Dt(e._mouseout,e)),t.on($i,Dt(e._click,e)),t.on(oo,Dt(e._mousewheel,e)),t.on(Jn,Dt(e._mouseleave,e)),e._mousemove=zt.throttle(Dt(e._mousemove,e),io),e._shouldAttachMouseMove()&&t.on(to,e._mousemove),zt.UserEvents&&(e._userEvents=new zt.UserEvents(t,{global:!0,multiTouch:!0,fastTap:!0,tap:Dt(e._tap,e),start:Dt(e._start,e),move:Dt(e._move,e),end:Dt(e._end,e),gesturestart:Dt(e._gesturestart,e),gesturechange:Dt(e._gesturechange,e),gestureend:Dt(e._gestureend,e)}))},_gesturestart:function(e){this._mousewheelZoom&&(this._gestureDistance=e.distance,this._unsetActivePoint(),this.surface.suspendTracking())},_gestureend:function(){this._zooming&&(this.surface&&this.surface.resumeTracking(),this._zooming=!1,this.trigger(gr,{}))},_gesturechange:function(e){var t,i,n,o,r=this,a=r._mousewheelZoom;a&&(e.preventDefault(),t=r._gestureDistance,i=-e.distance/t+1,Bt.abs(i)>=.1&&(i=Bt.round(10*i),r._gestureDistance=e.distance,n={delta:i,axisRanges:D(r._plotArea.axes),originalEvent:e},(r._zooming||!r.trigger(pr,n))&&(r._zooming||(r._zooming=!0),o=n.axisRanges=a.updateRanges(i),o&&!r.trigger(dr,n)&&a.zoom())))},_mouseout:function(e){if(e.element){var t=this._drawingChartElement(e.element,e);t&&t.leave&&t.leave(this,e.originalEvent)}},_start:function(e){var t=this,i=t._events;wi(i[yn]||i[xn]||i[vn])&&t._startNavigation(e,yn),t._pannable&&t._pannable.start(e)&&(this.surface.suspendTracking(),this._unsetActivePoint()),t._zoomSelection&&t._zoomSelection.start(e)&&this.trigger(pr,{axisRanges:D(this._plotArea.axes),originalEvent:e})},_move:function(e){var t,i,n,o,r,a,s=this,l=s._navState,c=s._pannable,u={};if(c)e.preventDefault(),u=c.move(e),u&&!s.trigger(xn,{axisRanges:u,originalEvent:e})&&c.pan();else if(l){for(e.preventDefault(),t=l.axes,i=0;t.length>i;i++)n=t[i],o=n.options.name,o&&(r=n.options.vertical?e.y:e.x,a=r.startLocation-r.location,0!==a&&(u[n.options.name]=n.translateRange(a)));l.axisRanges=u,s.trigger(xn,{axisRanges:u,originalEvent:e})}s._zoomSelection&&s._zoomSelection.move(e)},_end:function(e){if(this._endNavigation(e,vn),this._zoomSelection){var t=this._zoomSelection.end(e);t&&!this.trigger(dr,{axisRanges:t,originalEvent:e})&&(this._zoomSelection.zoom(),this.trigger(gr,{axisRanges:t,originalEvent:e}))}this._pannable&&this._pannable.end(e)&&this.surface.resumeTracking()},_mousewheel:function(e){var t,i,n,o,r,a,s,l=this,c=e.originalEvent,u=xi(e),h=l._navState,p={},d=l._mousewheelZoom;if(d)s={delta:u,axisRanges:D(this._plotArea.axes),originalEvent:e},(l._zooming||!l.trigger(pr,s))&&(e.preventDefault(),l._zooming||(l._unsetActivePoint(),l.surface.suspendTracking(),l._zooming=!0),l._mwTimeout&&clearTimeout(l._mwTimeout),s.axisRanges=p=d.updateRanges(u),p&&!l.trigger(dr,s)&&d.zoom(),l._mwTimeout=setTimeout(function(){l.trigger(gr,s),l._zooming=!1,l.surface&&l.surface.resumeTracking()},no));else if(h||(t=l._startNavigation(c,pr),t||(h=l._navState)),h){for(i=h.totalDelta||u,h.totalDelta=i+u,n=l._navState.axes,o=0;n.length>o;o++)r=n[o],a=r.options.name,a&&(p[a]=r.scaleRange(-i));l.trigger(dr,{delta:u,axisRanges:p,originalEvent:e}),l._mwTimeout&&clearTimeout(l._mwTimeout),l._mwTimeout=setTimeout(function(){l._endNavigation(e,gr)},no)}},_startNavigation:function(e,t){var i,n,o,r=this,a=r._eventCoordinates(e),s=r._model._plotArea,l=s.findPointPane(a),c=s.axes.slice(0),u=!1;if(l){for(i=0;c.length>i;i++)if(n=c[i],n.box.containsPoint(a)){u=!0;break}!u&&s.backgroundBox().containsPoint(a)&&(o=r.trigger(t,{axisRanges:D(c),originalEvent:e}),o?r._userEvents.cancel():(r._suppressHover=!0,r._unsetActivePoint(),r._navState={pane:l,axes:c}))}},_endNavigation:function(e,t){var i=this;i._navState&&(i.trigger(t,{axisRanges:i._navState.axisRanges,originalEvent:e}),i._suppressHover=!1,i._navState=null)},_getChartElement:function(e,i){var n=this.surface.eventTarget(e);return n?this._drawingChartElement(n,e,i):t},_drawingChartElement:function(e,i,n){for(var o;e&&!o;)o=e.chartElement,e=e.parent;return o?(o.aliasFor&&(o=o.aliasFor(i,this._eventCoordinates(i))),n&&(o=o.closest(n)),o):t},_eventCoordinates:function(e){var t=this,i=wi((e.x||{}).client),n=i?e.x.client:e.clientX,o=i?e.y.client:e.clientY;return t._toModelCoordinates(n,o)},_toModelCoordinates:function(t,i){var n=this.element,o=n.offset(),r=parseInt(n.css(\"paddingLeft\"),10),a=parseInt(n.css(\"paddingTop\"),10),s=e(window);return new ni(t-o.left-r+s.scrollLeft(),i-o.top-a+s.scrollTop())},_tap:function(e){var t=this,i=t.surface.eventTarget(e),n=t._drawingChartElement(i,e);t._activePoint===n?t._propagateClick(n,e):(t._startHover(i,e)||t._unsetActivePoint(),t._propagateClick(n,e))},_click:function(e){var t=this,i=t._getChartElement(e);t._propagateClick(i,e)},_propagateClick:function(e,t){for(;e;)e.click&&e.click(this,t),e=e.parent},_startHover:function(e,i){var n,o=this,r=o._drawingChartElement(e,i),a=o._tooltip,s=o._highlight,l=o.options.tooltip;if(!o._suppressHover&&s&&!s.isHighlighted(r)&&!o._sharedTooltip())return n=o._drawingChartElement(e,i,function(e){return e.hover}),n&&!n.hover(o,i)?(o._activePoint=n,l=Ht({},l,n.options.tooltip),l.visible&&a.show(n),s.show(n),n.tooltipTracking):t},_mouseover:function(t){var i=this;i._startHover(t.element,t.originalEvent)&&e(document).on(eo,Dt(i._mouseMoveTracking,i))},_mouseMoveTracking:function(t){var i,n,o=this,r=o.options,a=o._tooltip,s=o._highlight,l=o._eventCoordinates(t),c=o._activePoint;o._plotArea.box.containsPoint(l)?c&&c.tooltipTracking&&c.series&&c.parent.getNearestPoint&&(n=c.parent.getNearestPoint(l.x,l.y,c.seriesIx),n&&n!=c&&(n.hover(o,t),o._activePoint=n,i=Ht({},r.tooltip,c.options.tooltip),i.visible&&a.show(n),s.show(n))):(e(document).off(eo),o._unsetActivePoint())},_mousemove:function(e){var t=this._eventCoordinates(e);this._trackCrosshairs(t),this._plotArea.hover(this,e),this._sharedTooltip()&&this._trackSharedTooltip(t,e)},_trackCrosshairs:function(e){var t,i,n=this._plotArea.crosshairs;for(t=0;n.length>t;t++)i=n[t],i.box.containsPoint(e)?i.showAt(e):i.hide()},_trackSharedTooltip:function(t,i){var n,o,r,a,s=this,l=s.options,c=s._plotArea,u=c.categoryAxis,h=s._tooltip,p=l.tooltip,d=s._highlight;c.box.containsPoint(t)&&(n=u.pointCategoryIndex(t),n!==s._tooltipCategoryIx&&(o=c.pointsByCategoryIndex(n),r=e.map(o,function(e){return e.eventArgs(i)}),a=r[0]||{},a.categoryPoints=r,o.length>0&&!this.trigger(Io,a)?(p.visible&&h.showAt(o,t),d.show(o)):h.hide(),s._tooltipCategoryIx=n))},_mouseleave:function(t){var i=this,n=i._plotArea,o=i._tooltip,r=i._highlight,a=t.relatedTarget;a&&e(a).closest(o.element).length||(i._mousemove.cancel(),n.hideCrosshairs(),r.hide(),setTimeout(Dt(o.hide,o),Qo),i._tooltipCategoryIx=null)},_unsetActivePoint:function(){var e=this,t=e._tooltip,i=e._highlight;e._activePoint=null,t&&t.hide(),i&&i.hide()},_onDataChanged:function(){var e,t,i=this,n=i.options,o=i._sourceSeries||n.series,r=o.length,a=i.dataSource.view(),l=(i.dataSource.group()||[]).length>0,c=[];for(e=0;r>e;e++)t=o[e],i._isBindable(t)&&l?bi(c,O(t,a)):c.push(t||[]);i._sourceSeries=o,n.series=c,s(i.options),i._bindSeries(),i._bindCategories(),i._hasData=!0,i._deferRedraw()},_deferRedraw:function(){var e=this;zt.support.vml?(e._clearRedrawTimeout(),e._redrawTimeout=setTimeout(function(){e.surface&&(e.trigger(sn),e._redraw())},0)):(e.trigger(sn),e._redraw())},_clearRedrawTimeout:function(){this._redrawTimeout&&(clearInterval(this._redrawTimeout),this._redrawTimeout=null)},_bindSeries:function(){var e,t,i,n,o=this,r=o.dataSource.view(),a=o.options.series,s=a.length;for(e=0;s>e;e++)t=a[e],o._isBindable(t)&&(i=t._groupIx,n=wi(i)?(r[i]||{}).items:r,t.autoBind!==!1&&(t.data=n))},_bindCategories:function(){var e,t,i=this,n=i.dataSource.view()||[],o=(i.dataSource.group()||[]).length>0,r=n,a=i.options,s=[].concat(a.categoryAxis);for(o&&n.length&&(r=n[0].items),e=0;s.length>e;e++)t=s[e],\r\nt.autoBind!==!1&&i._bindCategoryAxis(t,r,e)},_bindCategoryAxis:function(e,t,i){var n,o,r,a=(t||[]).length;if(e.field)for(e.categories=[],n=0;a>n;n++)r=t[n],o=p(e.field,r),0===n?(e.categories=[o],e.dataItems=[r]):(e.categories.push(o),e.dataItems.push(r));else this._bindCategoryAxisFromSeries(e,i)},_bindCategoryAxisFromSeries:function(e,t){var i,n,o,r,a,s,l,c,u,h,g,f=this,m=[],x=f.options.series,v=x.length,y={};for(n=0;v>n;n++)if(o=x[n],r=o.categoryAxis===e.name||!o.categoryAxis&&0===t,a=o.data,l=a.length,o.categoryField&&r&&l>0)for(g=N(e,p(o.categoryField,a[0])),h=g?d:p,s=0;l>s;s++)c=a[s],u=h(o.categoryField,c),(g||!y[u])&&(m.push([u,c]),g||(y[u]=!0));m.length>0&&(g&&(m=H(m,function(e,t){return pi(e[0],t[0])})),i=j(m),e.categories=i[0],e.dataItems=i[1])},_isBindable:function(e){var t,i,n=ie.current.valueFields(e),o=!0;for(i=0;n.length>i;i++)if(t=n[i],t===Jo?t=\"field\":t+=\"Field\",!wi(e[t])){o=!1;break}return o},_legendItemClick:function(e,t){var i,n,o,r=this,a=r._plotArea,s=(a.srcSeries||a.series)[e],l=(r._sourceSeries||[])[e]||s;fi(s.type,[ho,fn,Rn])?(o=l.data[t],n=wi(o.visible)?!o.visible:!1,o.visible=n):(n=!l.visible,l.visible=n,s.visible=n),r.options.transitions&&(r.options.transitions=!1,i=!0),r.redraw(),i&&(r.options.transitions=!0)},_legendItemHover:function(e,t){var i,n,o=this,r=o._plotArea,a=o._highlight,s=(r.srcSeries||r.series)[e];i=fi(s.type,[ho,fn,Rn])?t:e,n=r.pointsBySeriesIndex(i),a.show(n)},_shouldAttachMouseMove:function(){var e=this,t=e._events;return e._plotArea.crosshairs.length||e._tooltip&&e._sharedTooltip()||wi(t[fo])},setOptions:function(i){var n=this,o=i.dataSource;i.dataSource=t,n._originalOptions=Ht(n._originalOptions,i),n.options=Ht({},n._originalOptions),n._sourceSeries=null,e(document).off(to),Ut.fn._setEvents.call(n,i),n._initTheme(n.options),o&&n.setDataSource(o),n._hasDataSource?n._onDataChanged():(n._bindCategories(),n.redraw()),n._shouldAttachMouseMove()&&n.element.on(to,n._mousemove)},destroy:function(){var t=this,i=t.dataSource;t.element.off(Vi),i&&i.unbind(Zi,t._dataChangeHandler),e(document).off(eo),t._userEvents&&t._userEvents.destroy(),t._destroyView(),t.surface.destroy(),t.surface=null,t._clearRedrawTimeout(),Ut.fn.destroy.call(t)},_destroyView:function(){var e=this,t=e._model,i=e._selections;if(t&&(t.destroy(),e._model=null),i)for(;i.length>0;)i.shift().destroy();e._unsetActivePoint(),e._tooltip&&e._tooltip.destroy(),e._highlight&&e._highlight.destroy(),e._zoomSelection&&e._zoomSelection.destroy()}});qt.ExportMixin.extend(vr.fn),zt.PDFMixin&&zt.PDFMixin.extend(vr.fn),te=Ot.extend({init:function(){this._registry=[]},register:function(e,t){this._registry.push({type:e,seriesTypes:t})},create:function(e,t){var i,n,o,r=this._registry,a=r[0];for(i=0;r.length>i;i++)if(n=r[i],o=M(e,n.seriesTypes),o.length>0){a=n;break}return new a.type(o,t)}}),te.current=new te,ie=Ot.extend({init:function(){this._valueFields={},this._otherFields={},this._nullValue={},this._undefinedValue={}},register:function(e,i,n){var o,r,a=this;for(i=i||[Jo],o=0;e.length>o;o++)r=e[o],a._valueFields[r]=i,a._otherFields[r]=n,a._nullValue[r]=a._makeValue(i,null),a._undefinedValue[r]=a._makeValue(i,t)},canonicalFields:function(e){return this.valueFields(e).concat(this.otherFields(e))},valueFields:function(e){return this._valueFields[e.type]||[Jo]},otherFields:function(e){return this._otherFields[e.type]||[Jo]},bindPoint:function(e,t,i){var n,o,r,a,s,l=this,c=e.data,u=wi(i)?i:c[t],h={valueFields:{value:u}},p=l.valueFields(e),d=l._otherFields[e.type];return null===u?s=l._nullValue[e.type]:wi(u)?Rt(u)?(o=u.slice(p.length),s=l._bindFromArray(u,p),n=l._bindFromArray(o,d)):typeof u===lo&&(r=l.sourceFields(e,p),a=l.sourceFields(e,d),s=l._bindFromObject(u,p,r),n=l._bindFromObject(u,d,a)):s=l._undefinedValue[e.type],wi(s)&&(1===p.length?h.valueFields.value=s[p[0]]:h.valueFields=s),h.fields=n||{},h},_makeValue:function(e,t){var i,n,o={},r=e.length;for(i=0;r>i;i++)n=e[i],o[n]=t;return o},_bindFromArray:function(e,t){var i,n,o={};if(t)for(n=Bt.min(t.length,e.length),i=0;n>i;i++)o[t[i]]=e[i];return o},_bindFromObject:function(e,t,i){var n,o,r,a,s={};if(t)for(o=t.length,i=i||t,n=0;o>n;n++)r=t[n],a=i[n],s[r]=p(a,e);return s},sourceFields:function(e,t){var i,n,o,r,a;if(t)for(n=t.length,r=[],i=0;n>i;i++)o=t[i],a=o===Jo?\"field\":o+\"Field\",r.push(e[a]||o);return r}}),ie.current=new ie,ne=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),this.textBox=new li(e,i.options),i.append(this.textBox)},options:{position:uo,margin:gi(3),padding:gi(4),color:Hi,background:\"\",border:{width:1,color:\"\"},aboveAxis:!0,vertical:!1,animation:{type:Sn,delay:En},zIndex:2},createVisual:function(){this.textBox.options.noclip=this.options.noclip},reflow:function(e){var t=this,i=t.options,n=i.vertical,o=i.aboveAxis,r=t.children[0],a=r.box,s=r.options.padding;r.options.align=n?Ki:Fn,r.options.vAlign=n?Xo:Ki,i.position==zn?n?(r.options.vAlign=Xo,!o&&a.height()<e.height()&&(r.options.vAlign=ji)):r.options.align=o?bo:Fn:i.position==Ki?(r.options.vAlign=Ki,r.options.align=Ki):i.position==Dn?n?r.options.vAlign=o?ji:Xo:r.options.align=o?Fn:bo:i.position==uo&&(n?e=o?new Wt(e.x1,e.y1-a.height(),e.x2,e.y1):new Wt(e.x1,e.y2,e.x2,e.y2+a.height()):(r.options.align=Ki,e=o?new Wt(e.x2,e.y1,e.x2+a.width(),e.y2):new Wt(e.x1-a.width(),e.y1,e.x1,e.y2))),i.rotation||(n?s.left=s.right=(e.width()-r.contentBox.width())/2:s.top=s.bottom=(e.height()-r.contentBox.height())/2),r.reflow(e)},alignToClipBox:function(e){var t,i=this,n=i.options.vertical,o=n?lr:sr,r=o+\"1\",a=o+\"2\",s=i.children[0],l=i.parent.box;(e[r]>l[r]||l[a]>e[a])&&(t=s.paddingBox.clone(),t[r]=Bt.max(l[r],e[r]),t[a]=Bt.min(l[a],e[a]),this.reflow(t))}}),oe=Kt.extend({init:function(e){var t=this;Kt.fn.init.call(t,e),t.createContainer(),t.createMarker(),t.createLabel()},createContainer:function(){var e=this;e.container=new Jt({vertical:!1,wrap:!1,align:Ki}),e.append(e.container)},createMarker:function(){this.container.append(new ai(this.markerOptions()))},markerOptions:function(){var e=this.options,t=e.markerColor;return Ht({},e.markers,{background:t,border:{color:t}})},createLabel:function(){var e=this,t=e.options,i=Ht({},t.labels);e.container.append(new li(t.text,i))},renderComplete:function(){var e,t;Zt.fn.renderComplete.call(this),e=this.options.cursor||{},t=this._itemOverlay=Ii.Path.fromRect(this.container.box.toRect(),{fill:{color:ar,opacity:0},stroke:null,cursor:e.style||e}),this.appendVisual(t)},click:function(e,t){var i=this.eventArgs(t);e.trigger(Un,i)||(t.preventDefault(),e._legendItemClick(i.seriesIndex,i.pointIndex))},hover:function(e,t){var i=this.eventArgs(t);return e.trigger(Hn,i)||(t.preventDefault(),e._legendItemHover(i.seriesIndex,i.pointIndex)),!0},leave:function(e){e._unsetActivePoint()},eventArgs:function(e){var t=this.options;return{element:di(e),text:t.text,series:t.series,seriesIndex:t.series.index,pointIndex:t.pointIndex}},renderVisual:function(){var e=this,t=e.options,i=t.visual;i?(e.visual=i({active:t.active,series:t.series,pointIndex:t.pointIndex,options:{markers:e.markerOptions(),labels:t.labels},createVisual:function(){e.createVisual(),e.renderChildren(),e.renderComplete();var t=e.visual;return delete e.visual,t}}),this.addVisual()):Zt.fn.renderVisual.call(e)}}),re=Zt.extend({render:function(){var e,t,i=this.children,n=this.options,o=n.vertical;for(this.visual=new Ii.Layout(null,{spacing:o?0:n.spacing,lineSpacing:o?n.spacing:0,orientation:o?\"vertical\":\"horizontal\"}),t=0;i.length>t;t++)e=i[t],e.reflow(new Wt),e.renderVisual()},reflow:function(e){this.visual.rect(e.toRect()),this.visual.reflow();var t=this.visual.clippedBBox();this.box=t?qt.rectToBox(t):new Wt},renderVisual:function(){this.addVisual()},createVisual:Lt}),ae=Zt.extend({init:function(e){var t=this;Zt.fn.init.call(t,e),fi(t.options.position,[Xo,bo,ji,Fn,an])||(t.options.position=bo),t.createContainer(),t.createItems()},options:{position:bo,items:[],labels:{margin:{left:6}},offsetX:0,offsetY:0,margin:gi(5),padding:gi(5),border:{color:Hi,width:0},item:{cursor:mo},spacing:6,background:\"\",zIndex:1,markers:{border:{width:1},width:7,height:7,type:\"rect\",align:Fn,vAlign:Ki}},createContainer:function(){var e=this,t=e.options,i=t.align,n=t.position,o=n,r=Ki;n==an?o=Fn:fi(n,[Xo,ji])?(o=\"start\"==i?Fn:\"end\"==i?bo:Ki,r=n):i&&(\"start\"==i?r=Xo:\"end\"==i&&(r=ji)),e.container=new Kt({margin:t.margin,padding:t.padding,background:t.background,border:t.border,vAlign:r,align:o,zIndex:t.zIndex,shrinkToFit:!0}),e.append(e.container)},createItems:function(){var e,t,i,n=this,o=n.options,r=o.items,a=r.length,s=n.isVertical();for(e=new re({vertical:s,spacing:o.spacing}),o.reverse&&(r=r.slice(0).reverse()),t=0;a>t;t++)i=r[t],e.append(new oe(Ht({},{markers:o.markers,labels:o.labels},o.item,i)));e.render(),n.container.append(e)},isVertical:function(){var e=this,t=e.options,i=t.orientation,n=t.position,o=n==an&&i!=Vn||(wi(i)?i!=Vn:fi(n,[Fn,bo]));return o},hasItems:function(){return this.container.children[0].children.length>0},reflow:function(e){var i=this,n=i.options;return e=e.clone(),i.hasItems()?(n.position===an?(i.containerCustomReflow(e),i.box=e):i.containerReflow(e),t):(i.box=e,t)},containerReflow:function(e){var t,i=this,n=i.options,o=n.position,r=o==Xo||o==ji?sr:lr,a=e.clone(),s=i.container,l=n.width,c=n.height,u=i.isVertical(),h=e.clone();(o==Fn||o==bo)&&(a.y1=h.y1=0),u&&c?(a.y2=a.y1+c,a.align(h,lr,s.options.vAlign)):!u&&l&&(a.x2=a.x1+l,a.align(h,sr,s.options.align)),s.reflow(a),a=s.box,t=a.clone(),(n.offsetX||n.offsetY)&&(a.translate(n.offsetX,n.offsetY),i.container.reflow(a)),t[r+1]=e[r+1],t[r+2]=e[r+2],i.box=t},containerCustomReflow:function(e){var t=this,i=t.options,n=i.offsetX,o=i.offsetY,r=t.container,a=i.width,s=i.height,l=t.isVertical(),c=e.clone();l&&s?c.y2=c.y1+s:!l&&a&&(c.x2=c.x1+a),r.reflow(c),c=r.box,r.reflow(Wt(n,o,n+c.width(),o+c.height()))},renderVisual:function(){this.hasItems()&&Zt.fn.renderVisual.call(this)}}),se=Yt.extend({init:function(e){var t=this;e=e||{},this._initFields(),this._initCategories(e),Yt.fn.init.call(t,e)},_initFields:function(){this._ticks={},this.outOfRangeMin=0,this.outOfRangeMax=0},_initCategories:function(e){var t,i,n=(e.categories||[]).slice(0),o=wi(e.min),r=wi(e.max);e.categories=n,(o||r)&&n.length&&(e.srcCategories=e.categories,t=o?Bt.floor(e.min):0,i=r?e.justified?Bt.floor(e.max)+1:Bt.ceil(e.max):n.length,e.categories=e.categories.slice(t,i))},options:{type:Wi,categories:[],vertical:!1,majorGridLines:{visible:!1,width:1,color:Hi},labels:{zIndex:1},justified:!1},rangeIndices:function(){var e,t=this.options,i=t.categories.length||1,n=B(t.min)?t.min%1:0;return e=B(t.max)&&t.max%1!==0&&t.max<this.totalRange().max?i-(1-t.max%1):i-(t.justified?1:0),{min:n,max:e}},totalRangeIndices:function(e){var t,i,n=this.options,o=B(n.min)?n.min:0;return t=B(n.max)?n.max:B(n.min)?o+n.categories.length:(n.srcCategories||n.categories).length-(n.justified?1:0)||1,e&&(i=this.totalRange(),o=Ai(o,0,i.max),t=Ai(t,0,i.max)),{min:o,max:t}},range:function(){var e=this.options;return{min:B(e.min)?e.min:0,max:B(e.max)?e.max:e.categories.length}},totalRange:function(){var e=this.options;return{min:0,max:Bt.max(this._seriesMax||0,(e.srcCategories||e.categories).length)-(e.justified?1:0)}},getScale:function(){var e=this.rangeIndices(),t=e.min,i=e.max,n=this.lineBox(),o=this.options.vertical?n.height():n.width(),r=o/(i-t||1);return r*(this.options.reverse?-1:1)},getTickPositions:function(e){for(var t=this,i=t.options,n=i.vertical,o=t.lineBox(),r=i.reverse,a=t.getScale(),s=t.rangeIndices(),l=s.min,c=s.max,u=l%1!==0?Bt.floor(l/1)+e:l,h=o[(n?lr:sr)+(r?2:1)],p=[];c>=u;)p.push(h+vi(a*(u-l),nn)),u+=e;return p},getLabelsTickPositions:function(){var e=this.getMajorTickPositions().slice(0),t=this.rangeIndices(),i=this.getScale(),n=this.lineBox(),o=this.options,r=o.vertical?lr:sr,a=o.reverse?2:1,s=o.reverse?1:2;return t.min%1!==0&&e.unshift(n[r+a]-i*(t.min%1)),t.max%1!==0&&e.push(n[r+s]+i*(1-t.max%1)),e},labelTickIndex:function(e){var t=e.index,i=this.rangeIndices();return i.min>0&&(t-=Bt.floor(i.min)),t},arrangeLabels:function(){Yt.fn.arrangeLabels.call(this),this.hideOutOfRangeLabels()},hideOutOfRangeLabels:function(){var e=this.box,t=this.labels,i=this.options.vertical?lr:sr,n=e[i+1],o=e[i+2],r=t[0],a=_i(t);t.length&&((r.box[i+1]>o||n>r.box[i+2])&&(r.options.visible=!1),(a.box[i+1]>o||n>a.box[i+2])&&(a.options.visible=!1))},getMajorTickPositions:function(){return this.getTicks().majorTicks},getMinorTickPositions:function(){return this.getTicks().minorTicks},getTicks:function(){var e,t=this,i=t._ticks,n=t.options,o=t.rangeIndices(),r=n.reverse,a=n.justified,s=t.lineBox();return e=s.getHash()+o.min+\",\"+o.max+r+a,i._hash!==e&&(i._hash=e,i.majorTicks=t.getTickPositions(1),i.minorTicks=t.getTickPositions(.5)),i},getSlot:function(e,t,i){var n,o,r=this,a=r.options,s=a.reverse,l=a.justified,c=a.vertical?lr:sr,u=r.lineBox(),h=r.rangeIndices(),p=h.min,d=this.getScale(),g=u[c+(s?2:1)],f=u.clone(),m=!wi(t);return e=Ti(e,0),t=Ti(t,e),t=Bt.max(t-1,e),t=Bt.max(e,t),n=g+(e-p)*d,o=g+(t+1-p)*d,m&&l&&(o=n),i&&(n=Ai(n,u[c+1],u[c+2]),o=Ai(o,u[c+1],u[c+2])),f[c+1]=s?o:n,f[c+2]=s?n:o,f},pointCategoryIndex:function(e){var t,i,n,o=this,r=o.options,a=r.reverse,s=r.justified,l=r.vertical?lr:sr,c=o.lineBox(),u=o.rangeIndices(),h=a?u.max:u.min,p=this.getScale(),d=c[l+1],g=c[l+2],f=e[l];return d>f||f>g?null:(t=f-d,i=t/p,i=h+i,n=i%1,s?i=Bt.round(i):0===n&&i>0&&i--,Bt.floor(i))},getCategory:function(e){var t=this.pointCategoryIndex(e);return null===t?null:this.options.categories[t]},categoryIndex:function(e){var t=this.options,i=F(e,t.srcCategories||t.categories);return i-Bt.floor(t.min||0)},translateRange:function(e){var t=this,i=t.options,n=t.lineBox(),o=i.vertical?n.height():n.width(),r=i.categories.length,a=o/r,s=vi(e/a,pn);return{min:s,max:r+s}},zoomRange:function(e){var i=this.totalRangeIndices(),n=this.totalRange(),o=n.max,r=n.min,a=Ai(i.min+e,r,o),s=Ai(i.max-e,r,o);return s-a>0?{min:a,max:s}:t},scaleRange:function(e){var t=this,i=t.options,n=i.categories.length,o=e*n;return{min:-o,max:n+o}},labelsCount:function(){var e=this.labelsRange();return e.max-e.min},labelsRange:function(){var e,t=this.options,i=t.labels,n=t.justified,o=this.totalRangeIndices(!0),r=o.min,a=o.max,s=Bt.floor(r);return n?(r=Bt.ceil(r),a=Bt.floor(a)):(r=Bt.floor(r),a=Bt.ceil(a)),e=r>i.skip?i.skip+i.step*Bt.ceil((r-i.skip)/i.step):i.skip,{min:e-s,max:(t.categories.length?a+(n?1:0):0)-s}},createAxisLabel:function(e,t){var i=this,n=i.options,o=n.dataItems?n.dataItems[e]:null,r=Ti(n.categories[e],\"\"),a=i.axisLabelText(r,o,t);return new Xt(r,a,e,o,t)},shouldRenderNote:function(e){var t=this.options.categories;return t.length&&t.length>e&&e>=0},pan:function(e){var t=this.totalRangeIndices(!0),i=this.getScale(),n=vi(e/i,pn),o=this.totalRange(),r=t.min+n,a=t.max+n;return this.limitRange(r,a,0,o.max,n)},pointsRange:function(e,t){var i=this,n=i.options,o=n.reverse,r=n.vertical?lr:sr,a=i.lineBox(),s=i.totalRangeIndices(!0),l=this.getScale(),c=a[r+(o?2:1)],u=e[r]-c,h=t[r]-c,p=s.min+u/l,d=s.min+h/l;return{min:Bt.min(p,d),max:Bt.max(p,d)}}}),le=se.extend({init:function(e){var t,i,n=this;e=e||{},e=Ht({roundToBaseUnit:!0},e,{categories:g(e.categories),min:g(e.min),max:g(e.max)}),e.userSetBaseUnit=e.userSetBaseUnit||e.baseUnit,e.userSetBaseUnitStep=e.userSetBaseUnitStep||e.baseUnitStep,e.categories&&e.categories.length>0?(t=(e.baseUnit||\"\").toLowerCase(),i=t!==Di&&!fi(t,fr),i&&(e.baseUnit=n.defaultBaseUnit(e)),(t===Di||e.baseUnitStep===Ei)&&n.autoBaseUnit(e),this._groupsStart=m(e.categories[0],0,e.baseUnit,e.weekStartDay),n.groupCategories(e)):e.baseUnit=e.baseUnit||cn,this._initFields(),Yt.fn.init.call(n,e)},options:{type:ln,labels:{dateFormats:xr},autoBaseUnitSteps:{seconds:[1,2,5,15,30],minutes:[1,2,5,15,30],hours:[1,2,3],days:[1,2,3],weeks:[1,2],months:[1,2,3,6],years:[1,2,3,5,10,25,50]},maxDateGroups:10},shouldRenderNote:function(e){var t=this,i=t.range(),n=t.options.categories||[];return pi(e,i.min)>=0&&pi(e,i.max)<=0&&n.length},parseNoteValue:function(e){return g(e)},translateRange:function(e){var t,i,n=this,o=n.options,r=o.baseUnit,a=o.weekStartDay,s=n.lineBox(),l=o.vertical?s.height():s.width(),c=n.range(),u=l/(c.max-c.min),h=vi(e/u,pn);return c.min&&c.max&&(t=_(o.min||c.min,h),i=_(o.max||c.max,h),c={min:m(t,0,r,a),max:m(i,0,r,a)}),c},scaleRange:function(e){var t,i=this,n=Bt.abs(e),o=i.range(),r=o.min,a=o.max;if(o.min&&o.max){for(;n--;)o=b(r,a),t=Bt.round(.1*o),0>e?(r=_(r,t),a=_(a,-t)):(r=_(r,-t),a=_(a,t));o={min:r,max:a}}return o},defaultBaseUnit:function(e){var t,i,n,o,r,a=e.categories,s=wi(a)?a.length:0,l=Wn;for(t=0;s>t;t++)i=a[t],i&&o&&(n=w(i,o),n>0&&(l=Bt.min(l,n),r=l>=Go?cr:l>=jo-3*Ho?$n:l>=No?rr:l>=Ho?cn:l>=Uo?Ln:l>=Fo?Qn:Co)),o=i;return r||cn},_categoryRange:function(e){var t=e._range;return t||(t=e._range=ki(e)),t},totalRange:function(){return{min:0,max:this.options.categories.length}},rangeIndices:function(){var e=this.options,t=e.baseUnit,i=e.baseUnitStep||1,n=e.categories,o=this.categoriesRange(),r=g(e.min||o.min),a=g(e.max||o.max),s=0,l=0;return n.length&&(s=k(r,n[0],t,i),l=k(a,n[0],t,i),e.roundToBaseUnit&&(s=Bt.floor(s),l=e.justified?Bt.floor(l):Bt.ceil(l))),{min:s,max:l}},labelsRange:function(){var e=this.options,t=e.labels,i=this.rangeIndices(),n=Bt.floor(i.min),o=Bt.ceil(i.max);return{min:n+t.skip,max:e.categories.length?o+(e.justified?1:0):0}},categoriesRange:function(){var e=this.options,t=this._categoryRange(e.srcCategories||e.categories),i=g(t.max);return!e.justified&&R(i,this._roundToTotalStep(i,e,!1))&&(i=this._roundToTotalStep(i,e,!0,!0)),{min:g(t.min),max:i}},currentRange:function(){var e=this.options,t=e.roundToBaseUnit!==!1,i=this.categoriesRange(),n=e.min,o=e.max;return n||(n=t?this._roundToTotalStep(i.min,e,!1):i.min),o||(o=t?this._roundToTotalStep(i.max,e,!e.justified):i.max),{min:n,max:o}},datesRange:function(){var e=this._categoryRange(this.options.srcCategories||this.options.categories);return{min:g(e.min),max:g(e.max)}},pan:function(e){var i,n,o,r=this,a=r.options,s=a.baseUnit,l=r.lineBox(),c=a.vertical?l.height():l.width(),u=this.currentRange(),h=this.totalLimits(),p=u.min,d=u.max,m=c/(d-p),x=vi(e/m,pn);return n=_(p,x),o=_(d,x),i=this.limitRange(f(n),f(o),f(h.min),f(h.max),x),i?(i.min=g(i.min),i.max=g(i.max),i.baseUnit=s,i.baseUnitStep=a.baseUnitStep||1,i.userSetBaseUnit=a.userSetBaseUnit,i.userSetBaseUnitStep=a.userSetBaseUnitStep,i):t},pointsRange:function(e,t){var i=se.fn.pointsRange.call(this,e,t),n=this.currentRange(),o=this.rangeIndices(),r=b(n.max,n.min)/(o.max-o.min),a=this.options,s=_(n.min,i.min*r),l=_(n.min,i.max*r);return{min:s,max:l,baseUnit:a.userSetBaseUnit,baseUnitStep:a.userSetBaseUnitStep}},zoomRange:function(e){var i,n,o,r,a,s,l,c,u,h=this.options,p=this.totalLimits(),d=this.currentRange(),f=h.baseUnit,x=h.baseUnitStep||1,v=h.weekStartDay,y=d.max,w=d.min,A=m(w,e*x,f,v),k=m(y,-e*x,f,v);if(h.userSetBaseUnit==Di)if(i=h.autoBaseUnitSteps,n=h.maxDateGroups,o=F(f,fr),a=b(k,A),s=_i(i[f])*n*qo[f],l=b(y,w),qo[f]>a&&f!==Co)f=fr[o-1],r=_i(i[f]),c=(l-(n-1)*r*qo[f])/2,A=_(w,c),k=_(y,-c);else if(a>s&&f!==cr){u=0;do{o++,f=fr[o],u=0,c=2*qo[f];do r=i[f][u],u++;while(i[f].length>u&&l>c*r)}while(f!==cr&&l>c*r);c=(c*r-l)/2,c>0&&(A=_(w,-c),k=_(y,c),A=_(A,Ai(k,p.min,p.max)-k),k=_(k,Ai(A,p.min,p.max)-A))}return A=g(Ai(A,p.min,p.max)),k=g(Ai(k,p.min,p.max)),b(k,A)>0?{min:A,max:k,baseUnit:h.userSetBaseUnit,baseUnitStep:h.userSetBaseUnitStep}:t},totalLimits:function(){var e=this.options,t=this.datesRange(),i=this._roundToTotalStep(g(t.min),e,!1),n=t.max;return e.justified||(n=this._roundToTotalStep(n,e,!0,R(n,this._roundToTotalStep(n,e,!1)))),{min:i,max:n}},range:function(e){e=e||this.options;var t=e.categories,i=e.baseUnit===Di,n=i?fr[0]:e.baseUnit,o=e.baseUnitStep||1,r={baseUnit:n,baseUnitStep:o,weekStartDay:e.weekStartDay},a=this._categoryRange(t),s=g(e.min||a.min),l=g(e.max||a.max);return{min:this._roundToTotalStep(s,r,!1),max:this._roundToTotalStep(l,r,!0,!0)}},autoBaseUnit:function(e){for(var t,i,n,o=this,r=this._categoryRange(e.categories),a=g(e.min||r.min),s=g(e.max||r.max),l=e.baseUnit===Di,c=0,u=l?fr[c++]:e.baseUnit,h=s-a,p=h/qo[u],d=p,f=e.maxDateGroups||o.options.maxDateGroups,m=Ht({},o.options.autoBaseUnitSteps,e.autoBaseUnitSteps);!i||p>=f;)if(t=t||m[u].slice(0),n=t.shift())i=n,p=d/i;else{if(u===_i(fr)){i=Bt.ceil(d/f);break}if(!l){p>f&&(i=Bt.ceil(d/f));break}u=fr[c++]||_i(fr),d=h/qo[u],t=null}e.baseUnitStep=i,e.baseUnit=u},_timeScale:function(){var e,t,i,n=this,o=n.range(),r=n.options,a=n.lineBox(),s=r.vertical,l=s?a.height():a.width();return r.justified&&r._collapse!==!1?(t=this._categoryRange(r.categories),i=f(t.max),e=g(i)-o.min):e=o.max-o.min,l/e},groupCategories:function(e){var t,i,n=this,o=e.categories,r=g(Si(o)),a=e.baseUnit,s=e.baseUnitStep||1,l=n.range(e),c=l.max,u=[];for(t=l.min;c>t&&(u.push(t),i=m(t,s,a,e.weekStartDay),!(i>r)||e.max);t=i);e.srcCategories=o,e.categories=u},_roundToTotalStep:function(e,t,i,n){var o,r,a,s,l;return t=t||this.options,o=t.baseUnit,r=t.baseUnitStep||1,a=this._groupsStart,a?(s=k(e,a,o,r),l=i?Bt.ceil(s):Bt.floor(s),n&&l++,m(a,l*r,o,t.weekStartDay)):m(e,i?r:0,o,t.weekStartDay)},createAxisLabel:function(e,i){var n,o,r=this.options,a=r.dataItems?r.dataItems[e]:null,s=r.categories[e],l=r.baseUnit,c=!0,u=i.dateFormats[l];return r.justified?(n=v(s,l,r.weekStartDay),c=R(n,s)):r.roundToBaseUnit||(c=!R(this.range().max,s)),c&&(i.format=i.format||u,o=this.axisLabelText(s,a,i))?new Xt(s,o,e,a,i):t},categoryIndex:function(e){var t=this,i=t.options,n=i.categories,o=-1;return n.length&&(o=Bt.floor(k(g(e),n[0],i.baseUnit,i.baseUnitStep||1))),o},getSlot:function(e,t,i){var n=this;return typeof e===lo&&(e=n.categoryIndex(e)),typeof t===lo&&(t=n.categoryIndex(t)),se.fn.getSlot.call(n,e,t,i)}}),ce=Yt.extend({init:function(e,t,i){var n=this;i=i||{},Ht(i,{min:g(i.min),max:g(i.max),axisCrossingValue:g(i.axisCrossingValues||i.axisCrossingValue)}),i=n.applyDefaults(g(e),g(t),i),Yt.fn.init.call(n,i)},options:{type:ln,majorGridLines:{visible:!0,width:1,color:Hi},labels:{dateFormats:xr}},applyDefaults:function(e,i,n){var o=this,r=n.min||e,a=n.max||i,s=n.baseUnit||(a&&r?o.timeUnits(w(a,r)):Ln),l=qo[s],c=v(f(r)-1,s)||g(a),u=y(f(a)+1,s),h=n.majorUnit?n.majorUnit:t,p=h||qt.ceil(qt.autoMajorUnit(c.getTime(),u.getTime()),l)/l,d=A(c,u,s),x=qt.ceil(d,p),b=x-d,_=Bt.floor(b/2),k=b-_;return n.baseUnit||delete n.baseUnit,n.baseUnit=n.baseUnit||s,n.min=n.min||m(c,-_,s),n.max=n.max||m(u,k,s),n.minorUnit=n.minorUnit||p/5,n.majorUnit=p,this.totalMin=f(v(f(e)-1,s)),this.totalMax=f(y(f(i)+1,s)),n},range:function(){var e=this.options;return{min:e.min,max:e.max}},getDivisions:function(e){var t=this.options;return Bt.floor(A(t.min,t.max,t.baseUnit)/e+1)},getTickPositions:function(e){var t,i,n,o=this.options,r=o.vertical,a=o.reverse,s=this.lineBox(),l=(r?-1:1)*(a?-1:1),c=1===l?1:2,u=s[(r?lr:sr)+c],h=this.getDivisions(e),p=b(o.max,o.min),d=r?s.height():s.width(),g=d/p,f=[u];for(t=1;h>t;t++)i=m(o.min,t*e,o.baseUnit),n=u+b(i,o.min)*g*l,f.push(vi(n,nn));return f},getMajorTickPositions:function(){var e=this;return e.getTickPositions(e.options.majorUnit)},getMinorTickPositions:function(){var e=this;return e.getTickPositions(e.options.minorUnit)},getSlot:function(e,t,i){return ii.fn.getSlot.call(this,g(e),g(t),i)},getValue:function(e){var t=ii.fn.getValue.call(this,e);return null!==t?g(t):null},labelsCount:function(){return this.getDivisions(this.options.majorUnit)},createAxisLabel:function(e,t){var i,n,o=this.options,r=e*o.majorUnit,a=o.min;return r>0&&(a=m(a,r,o.baseUnit)),i=t.dateFormats[o.baseUnit],t.format=t.format||i,n=this.axisLabelText(a,null,t),new Xt(a,n,e,null,t)},timeUnits:function(e){var t=Ln;return e>=Go?t=cr:e>=jo?t=$n:e>=No?t=rr:e>=Ho&&(t=cn),t},translateRange:function(e,t){var i=this,n=i.options,o=n.baseUnit,r=n.weekStartDay,a=i.lineBox(),s=n.vertical?a.height():a.width(),l=i.range(),c=s/b(l.max,l.min),u=vi(e/c,pn),h=_(n.min,u),p=_(n.max,u);return t||(h=m(h,0,o,r),p=m(p,0,o,r)),{min:h,max:p}},scaleRange:function(e){for(var t,i,n=this,o=n.options,r=Bt.abs(e),a=o.min,s=o.max;r--;)t=b(a,s),i=Bt.round(.1*t),0>e?(a=_(a,i),s=_(s,-i)):(a=_(a,-i),s=_(s,i));return{min:a,max:s}},shouldRenderNote:function(e){var t=this.range();return pi(e,t.min)>=0&&pi(e,t.max)<=0},pan:function(e){var i=this.translateRange(e,!0),n=this.limitRange(f(i.min),f(i.max),this.totalMin,this.totalMax);return n?{min:g(n.min),max:g(n.max)}:t},pointsRange:function(e,t){var i=this.getValue(e),n=this.getValue(t),o=Bt.min(i,n),r=Bt.max(i,n);return{min:g(o),max:g(r)}},zoomRange:function(e){var t=this.scaleRange(e),i=g(Ai(f(t.min),this.totalMin,this.totalMax)),n=g(Ai(f(t.max),this.totalMin,this.totalMax));return{min:i,max:n}}}),ue=Zt.extend({options:{vertical:!1,gap:0,spacing:0},reflow:function(e){var t,i,n=this,o=n.options,r=o.vertical,a=r?lr:sr,s=n.children,l=o.gap,c=o.spacing,u=s.length,h=u+l+c*(u-1),p=(r?e.height():e.width())/h,d=e[a+1]+p*(l/2);for(i=0;u>i;i++)t=(s[i].box||e).clone(),t[a+1]=d,t[a+2]=d+p,s[i].reflow(t),u-1>i&&(d+=p*c),d+=p}}),he=Zt.extend({options:{vertical:!0},reflow:function(e){var t,i,n,o=this.options,r=o.vertical,a=r?sr:lr,s=this.children,l=this.box=new Wt,c=s.length;for(t=0;c>t;t++)i=s[t],i.visible!==!1&&(n=i.box.clone(),n.snapTo(e,a),0===t&&(l=this.box=n.clone()),i.reflow(n),l.wrap(n))}}),pe={click:function(e,t){return e.trigger(Ro,this.eventArgs(t))},hover:function(e,t){return e.trigger(Io,this.eventArgs(t))},eventArgs:function(e){return{value:this.value,percentage:this.percentage,category:this.category,series:this.series,dataItem:this.dataItem,runningTotal:this.runningTotal,total:this.total,element:di(e),originalEvent:e,point:this}}},de={createNote:function(){var e=this,t=e.options.notes,i=e.noteText||t.label.text;t.visible!==!1&&wi(i)&&null!==i&&(e.note=new ei(e.value,i,e.dataItem,e.category,e.series,e.options.notes),e.append(e.note))}},ge=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i),i.options=t,i.color=t.color||ar,i.aboveAxis=Ti(i.options.aboveAxis,!0),i.value=e},defaults:{border:{width:1},vertical:!0,overlay:{gradient:In},labels:{visible:!1,format:\"{0}\"},opacity:1,notes:{label:{}}},render:function(){this._rendered||(this._rendered=!0,this.createLabel(),this.createNote(),this.errorBar&&this.append(this.errorBar))},createLabel:function(){var e,t,i=this.options,n=i.labels;n.visible&&(n.template?(t=Gt(n.template),e=t({dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total,series:this.series})):e=this.formatValue(n.format),this.label=new ne(e,Ht({vertical:i.vertical},i.labels)),this.append(this.label))},formatValue:function(e){return this.owner.formatPointValue(this,e)},reflow:function(e){var t,i,n;if(this.render(),t=this,i=t.label,t.box=e,i&&(i.options.aboveAxis=t.aboveAxis,i.reflow(e)),t.note&&t.note.reflow(e),t.errorBars)for(n=0;t.errorBars.length>n;n++)t.errorBars[n].reflow(e)},createVisual:function(){var e,t=this,i=t.box,n=t.options,o=n.visual;t.visible!==!1&&(Zt.fn.createVisual.call(t),o?(e=this.rectVisual=o({category:t.category,dataItem:t.dataItem,value:t.value,sender:t.getChart(),series:t.series,percentage:t.percentage,runningTotal:t.runningTotal,total:t.total,rect:i.toRect(),createVisual:function(){var e=new Ii.Group;return t.createRect(e),e},options:n}),e&&t.visual.append(e)):i.width()>0&&i.height()>0&&t.createRect(t.visual))},createRect:function(e){var i,n,o,r,a=this.options,s=a.border,l=wi(s.opacity)?s.opacity:a.opacity,c=this.box.toRect();c.size.width=Math.round(c.size.width),i=this.rectVisual=Ii.Path.fromRect(c,{fill:{color:this.color,opacity:a.opacity},stroke:{color:this.getBorderColor(),width:s.width,opacity:l,dashType:s.dashType}}),n=this.box.width(),o=this.box.height(),r=a.vertical?n:o,r>Mi&&(ui(i),(1>n||1>o)&&(i.options.stroke.lineJoin=\"round\")),e.append(i),Y(a)&&e.append(this.createGradientOverlay(i,{baseColor:this.color},Ht({end:a.vertical?t:[0,1]},a.overlay)))},createHighlight:function(e){var t=Ii.Path.fromRect(this.box.toRect(),e);return ui(t)},highlightVisual:function(){return this.rectVisual},highlightVisualArgs:function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},getBorderColor:function(){var e=this,t=e.options,i=e.color,n=t.border,o=n.color,r=n._brightness||Fi;return wi(o)||(o=new Qt(i).brightness(r).toHex()),o},tooltipAnchor:function(e,t){var i,n,o,r,a=this,s=a.options,l=a.box,c=s.vertical,u=a.aboveAxis,h=a.owner.pane.clipBox()||l;return c?(i=Bt.min(l.x2,h.x2)+Ko,n=u?Bt.max(l.y1,h.y1):Bt.min(l.y2,h.y2)-t):(o=Bt.max(l.x1,h.x1),r=Bt.min(l.x2,h.x2),s.isStacked?(i=u?r-e:o,n=Bt.max(l.y1,h.y1)-t-Ko):(i=u?r+Ko:o-e-Ko,n=Bt.max(l.y1,h.y1))),new ni(i,n)},overlapsBox:function(e){return this.box.overlaps(e)}}),Ht(ge.fn,pe),Ht(ge.fn,de),fe=Ii.Animation.extend({options:{duration:En},setup:function(){var e,t,i=this.element,n=this.options,o=i.bbox();o?(this.origin=n.origin,e=n.vertical?lr:sr,t=this.fromScale=new Ri.Point(1,1),t[e]=Vo,i.transform(Ri.transform().scale(t.x,t.y))):this.abort()},step:function(e){var t=mi(this.fromScale.x,1,e),i=mi(this.fromScale.y,1,e);this.element.transform(Ri.transform().scale(t,i,this.origin))},abort:function(){Ii.Animation.fn.abort.call(this),this.element.transform(null)}}),Ii.AnimationFactory.current.register(Oi,fe),me=Ii.Animation.extend({options:{duration:200,easing:Gn},setup:function(){this.fadeTo=this.element.opacity(),this.element.opacity(0)},step:function(e){this.element.opacity(e*this.fadeTo)}}),Ii.AnimationFactory.current.register(Sn,me),xe=function(e,t,i){var n=this;n.initGlobalRanges(e,t,i)},xe.prototype=xe.fn={percentRegex:/percent(?:\\w*)\\((\\d+)\\)/,standardDeviationRegex:RegExp(\"^\"+Do+\"(?:\\\\((\\\\d+(?:\\\\.\\\\d+)?)\\\\))?$\"),initGlobalRanges:function(e,t,i){var n,o,r,a,s,l=this,c=t.data,u=l.standardDeviationRegex.exec(e);u?(l.valueGetter=l.createValueGetter(t,i),n=l.getAverage(c),o=l.getStandardDeviation(c,n,!1),r=u[1]?parseFloat(u[1]):1,a={low:n.value-o*r,high:n.value+o*r},l.globalRange=function(){return a}):e.indexOf&&e.indexOf(Eo)>=0&&(l.valueGetter=l.createValueGetter(t,i),s=l.getStandardError(c,l.getAverage(c)),l.globalRange=function(e){return{low:e-s,high:e+s}})},createValueGetter:function(e,t){var i,n,o,r=e.data,a=ie.current,s=a.valueFields(e),l=wi(r[0])?r[0]:{};return Rt(l)?(i=t?F(t,s):0,o=Nt(\"[\"+i+\"]\")):B(l)?o=Nt():typeof l===lo&&(n=a.sourceFields(e,s),o=Nt(n[F(t,s)])),o},getErrorRange:function(e,t){var i,n,o,r,a=this;if(wi(t)){if(a.globalRange)return a.globalRange(e);if(Rt(t))i=e-t[0],n=e+t[1];else if(B(o=parseFloat(t)))i=e-o,n=e+o;else{if(!(o=a.percentRegex.exec(t)))throw Error(\"Invalid ErrorBar value: \"+t);r=e*(parseFloat(o[1])/100),i=e-Bt.abs(r),n=e+Bt.abs(r)}return{low:i,high:n}}},getStandardError:function(e,t){return this.getStandardDeviation(e,t,!0)/Bt.sqrt(t.count)},getStandardDeviation:function(e,t,i){var n,o,r=0,a=e.length,s=i?t.count-1:t.count;for(o=0;a>o;o++)n=this.valueGetter(e[o]),B(n)&&(r+=Bt.pow(n-t.value,2));return Bt.sqrt(r/s)},getAverage:function(e){var t,i,n=0,o=0,r=e.length;for(i=0;r>i;i++)t=this.valueGetter(e[i]),B(t)&&(n+=t,o++);return{value:n/o,count:o}}},ve=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),i.plotArea=e,i.categoryAxis=e.seriesCategoryAxis(t.series[0]),i.valueAxisRanges={},i.points=[],i.categoryPoints=[],i.seriesPoints=[],i.seriesOptions=[],i._evalSeries=[],i.render()},options:{series:[],invertAxes:!1,isStacked:!1,clip:!0},render:function(){var e=this;e.traverseDataPoints(Dt(e.addValue,e))},pointOptions:function(e,t){var i,n=this.seriesOptions[t];return n||(i=this.pointType().fn.defaults,this.seriesOptions[t]=n=Ht({},i,{vertical:!this.options.invertAxes},e)),n},plotValue:function(e){var t,i,n,o,r,a,s,l;if(!e)return 0;if(this.options.isStacked100&&B(e.value)){for(t=e.categoryIx,i=this.categoryPoints[t],n=0,o=[],r=0;i.length>r;r++)if(a=i[r]){if(s=e.series.stack,l=a.series.stack,s&&l&&s.group!==l.group)continue;B(a.value)&&(n+=Bt.abs(a.value),o.push(Bt.abs(a.value)))}if(n>0)return e.value/n}return e.value},plotRange:function(e,t){var i,n,o,r,a,s,l,c,u,h,p,d,g=e.categoryIx,f=this.categoryPoints[g];if(this.options.isStacked){\r\nfor(t=t||0,i=this.plotValue(e),n=i>=0,o=t,r=!1,a=0;f.length>a&&(s=f[a],e!==s);a++){if(l=e.series.stack,c=s.series.stack,l&&c){if(typeof l===zo&&l!==c)continue;if(l.group&&l.group!==c.group)continue}u=this.plotValue(s),(u>=0&&n||0>u&&!n)&&(o+=u,i+=u,r=!0,this.options.isStacked100&&(i=Bt.min(i,1)))}return r&&(o-=t),[o,i]}return h=e.series,p=this.seriesValueAxis(h),d=this.categoryAxisCrossingValue(p),[d,e.value||d]},stackLimits:function(e,t){var i,n,o,r,a,s=Wn,l=Zn;for(i=0;this.categoryPoints.length>i;i++)if(n=this.categoryPoints[i])for(o=0;n.length>o;o++)r=n[o],r&&(r.series.stack===t||r.series.axis===e)&&(a=this.plotRange(r,0)[1],wi(a)&&isFinite(a)&&(l=Bt.max(l,a),s=Bt.min(s,a)));return{min:s,max:l}},updateStackRange:function(){var e,t,i,n,o,r,a=this,s=a.options.series,l=a.options.isStacked,c={};if(l)for(t=0;s.length>t;t++)i=s[t],n=i.axis,o=n+i.stack,e=c[o],e||(e=a.stackLimits(n,i.stack),r=a.errorTotals,r&&(r.negative.length&&(e.min=Bt.min(e.min,Ci(r.negative))),r.positive.length&&(e.max=Bt.max(e.max,Si(r.positive)))),e.min!==Wn||e.max!==Zn?c[o]=e:e=null),e&&(a.valueAxisRanges[n]=e)},addErrorBar:function(e,t,i){var n,o=this,r=e.value,a=e.series,s=e.seriesIx,l=e.options.errorBars,c=t.fields[bn],u=t.fields[wn];B(c)&&B(u)?n={low:c,high:u}:l&&wi(l.value)&&(o.seriesErrorRanges=o.seriesErrorRanges||[],o.seriesErrorRanges[s]=o.seriesErrorRanges[s]||new xe(l.value,a,Jo),n=o.seriesErrorRanges[s].getErrorRange(r,l.value)),n&&(e.low=n.low,e.high=n.high,o.addPointErrorBar(e,i))},addPointErrorBar:function(e,t){var i,n,o,r=this,a=e.series,s=e.low,l=e.high,c=!r.options.invertAxes,u=e.options.errorBars;r.options.isStacked?(n=r.stackedErrorRange(e,t),s=n.low,l=n.high):(o={categoryIx:t,series:a},r.updateRange({value:s},o),r.updateRange({value:l},o)),i=new Se(s,l,c,r,a,u),e.errorBars=[i],e.append(i)},stackedErrorRange:function(e,t){var i=this,n=i.plotRange(e,0)[1]-e.value,o=e.low+n,r=e.high+n;return i.errorTotals=i.errorTotals||{positive:[],negative:[]},0>o&&(i.errorTotals.negative[t]=Bt.min(i.errorTotals.negative[t]||0,o)),r>0&&(i.errorTotals.positive[t]=Bt.max(i.errorTotals.positive[t]||0,r)),{low:o,high:r}},addValue:function(t,i){var n,o,r=this,a=i.categoryIx,s=i.series,l=i.seriesIx,c=r.categoryPoints[a];c||(r.categoryPoints[a]=c=[]),n=r.seriesPoints[l],n||(r.seriesPoints[l]=n=[]),o=r.createPoint(t,i),o&&(e.extend(o,i),o.owner=r,o.dataItem=s.data[a],o.noteText=t.fields.noteText,r.addErrorBar(o,t,a)),r.points.push(o),n.push(o),c.push(o),r.updateRange(t.valueFields,i)},evalPointOptions:function(e,t,i,n,o,r){var a={defaults:o._defaults,excluded:[\"data\",\"aggregate\",\"_events\",\"tooltip\",\"template\",\"visual\",\"toggle\",\"_outOfRangeMinPoint\",\"_outOfRangeMaxPoint\"]},s=this._evalSeries[r];return wi(s)||(this._evalSeries[r]=s=z(e,{},a,!0)),s&&(e=Ht({},e),z(e,{value:t,category:i,index:n,series:o,dataItem:o.data[n]},a)),e},updateRange:function(e,t){var i=this,n=t.series.axis,o=e.value,r=i.valueAxisRanges[n];isFinite(o)&&null!==o&&(r=i.valueAxisRanges[n]=r||{min:Wn,max:Zn},r.min=Bt.min(r.min,o),r.max=Bt.max(r.max,o))},seriesValueAxis:function(e){var t=this.plotArea,i=e.axis,n=i?t.namedValueAxes[i]:t.valueAxis;if(!n)throw Error(\"Unable to locate value axis with name \"+i);return n},reflow:function(e){var t,i,n,o=this,r=0,a=o.categorySlots=[],s=o.points,l=o.categoryAxis;o.traverseDataPoints(function(e,c){var u,h,p,d,g=c.categoryIx,f=c.series;t=o.pointValue(e),i=o.seriesValueAxis(f),n=s[r++],u=a[g],u||(a[g]=u=o.categorySlot(l,g,i)),n&&(h=o.plotRange(n,i.startValue()),p=i.getSlot(h[0],h[1],!o.options.clip),p?(d=o.pointSlot(u,p),n.aboveAxis=o.aboveAxis(n,i),o.options.isStacked100&&(n.percentage=o.plotValue(n)),o.reflowPoint(n,d)):n.visible=!1)}),o.reflowCategories(a),o.box=e},aboveAxis:function(e,t){var i=this.categoryAxisCrossingValue(t),n=e.value;return t.options.reverse?i>n:n>=i},categoryAxisCrossingValue:function(e){var t=this.categoryAxis,i=e.options,n=[].concat(i.axisCrossingValues||i.axisCrossingValue);return n[t.axisIndex||0]||0},reflowPoint:function(e,t){e.reflow(t)},reflowCategories:function(){},pointSlot:function(e,t){var i=this,n=i.options,o=n.invertAxes,r=o?t:e,a=o?e:t;return new Wt(r.x1,a.y1,r.x2,a.y2)},categorySlot:function(e,t){return e.getSlot(t)},traverseDataPoints:function(e){var t,i,n,o,r,a=this,s=a.options,l=s.series,c=a.categoryAxis.options.categories||[],h=u(l),p=l.length;for(i=0;p>i;i++)this._outOfRangeCallback(l[i],\"_outOfRangeMinPoint\",i,e);for(t=0;h>t;t++)for(i=0;p>i;i++)r=l[i],o=c[t],n=this._bindPoint(r,i,t),e(n,{category:o,categoryIx:t,series:r,seriesIx:i});for(i=0;p>i;i++)this._outOfRangeCallback(l[i],\"_outOfRangeMaxPoint\",i,e)},_outOfRangeCallback:function(e,t,i,n){var o,r,a=e[t];a&&(o=a.categoryIx,r=this._bindPoint(e,i,o,a.item),n(r,{category:a.category,categoryIx:o,series:e,seriesIx:i}))},_bindPoint:function(e,t,i,n){var o,r;return this._bindCache||(this._bindCache=[]),o=this._bindCache[t],o||(o=this._bindCache[t]=[]),r=o[i],r||(r=o[i]=ie.current.bindPoint(e,i,n)),r},formatPointValue:function(e,t){return null===e.value?\"\":hi(t,e.value)},pointValue:function(e){return e.valueFields.value}}),ye=ve.extend({options:{animation:{type:Oi}},render:function(){var e=this;ve.fn.render.apply(e),e.updateStackRange()},pointType:function(){return ge},clusterType:function(){return ue},stackType:function(){return he},stackLimits:function(e,t){var i=ve.fn.stackLimits.call(this,e,t);return i},createPoint:function(e,t){var i,n,o,r,a=this,s=t.categoryIx,l=t.category,c=t.series,u=t.seriesIx,h=a.pointValue(e),p=a.options,d=a.children,g=a.options.isStacked,f=a.pointType(),m=a.clusterType(),x=this.pointOptions(c,u),v=x.labels;return g&&v.position==uo&&(v.position=zn),x.isStacked=g,o=e.fields.color||c.color,0>h&&x.negativeColor&&(o=x.negativeColor),x=a.evalPointOptions(x,h,l,s,c,u),zt.isFunction(c.color)&&(o=x.color),i=new f(h,x),i.color=o,n=d[s],n||(n=new m({vertical:p.invertAxes,gap:p.gap,spacing:p.spacing}),a.append(n)),g?(r=a.getStackWrap(c,n),r.append(i)):n.append(i),i},getStackWrap:function(e,t){var i,n,o,r=e.stack,a=r?r.group||r:r,s=t.children;if(typeof a===zo){for(n=0;s.length>n;n++)if(s[n]._stackGroup===a){i=s[n];break}}else i=s[0];return i||(o=this.stackType(),i=new o({vertical:!this.options.invertAxes}),i._stackGroup=a,t.append(i)),i},categorySlot:function(e,t,i){var n,o,r=this,a=r.options,s=e.getSlot(t),l=i.startValue();return a.isStacked&&(o=i.getSlot(l,l,!0),n=a.invertAxes?sr:lr,s[n+1]=s[n+2]=o[n+1]),s},reflowCategories:function(e){var t,i=this,n=i.children,o=n.length;for(t=0;o>t;t++)n[t].reflow(e[t])},createAnimation:function(){this._setAnimationOptions(),Zt.fn.createAnimation.call(this),X(this.options.series)&&this._setChildrenAnimation()},_setChildrenAnimation:function(){var e,t,i,n=this.points;for(i=0;n.length>i;i++)e=n[i],t=e.visual,t&&wi(t.options.zIndex)&&(e.options.animation=this.options.animation,e.createAnimation())},_setAnimationOptions:function(){var e,t,i=this.options,n=i.animation||{};this.options.isStacked?(t=this.seriesValueAxis(i.series[0]),e=t.getSlot(t.startValue())):e=this.categoryAxis.getSlot(0),n.origin=new Ri.Point(e.x1,e.y1),n.vertical=!i.invertAxes}}),be=ge.extend({defaults:{labels:{format:\"{0} - {1}\"},tooltip:{format:\"{1}\"}},createLabel:function(){var e=this.options.labels,t=Ht({},e,e.from),i=Ht({},e,e.to);t.visible&&(this.labelFrom=this._createLabel(t),this.append(this.labelFrom)),i.visible&&(this.labelTo=this._createLabel(i),this.append(this.labelTo))},_createLabel:function(e){var t,i;return e.template?(i=Gt(e.template),t=i({dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total,series:this.series})):t=this.formatValue(e.format),new ne(t,Ht({vertical:this.options.vertical},e))},reflow:function(e){this.render();var t=this,i=t.labelFrom,n=t.labelTo;t.box=e,i&&(i.options.aboveAxis=t.value.from>t.value.to,i.reflow(e)),n&&(n.options.aboveAxis=t.value.to>t.value.from,n.reflow(e)),t.note&&t.note.reflow(e)}}),we=ye.extend({pointType:function(){return be},pointValue:function(e){return e.valueFields},formatPointValue:function(e,t){return null===e.value.from&&null===e.value.to?\"\":hi(t,e.value.from,e.value.to)},plotLimits:ve.fn.plotLimits,plotRange:function(e){return e?[e.value.from,e.value.to]:0},updateRange:function(e,t){var i=this,n=t.series.axis,o=e.from,r=e.to,a=i.valueAxisRanges[n];null!==e&&B(o)&&B(r)&&(a=i.valueAxisRanges[n]=a||{min:Wn,max:Zn},a.min=Bt.min(a.min,o),a.max=Bt.max(a.max,o),a.min=Bt.min(a.min,r),a.max=Bt.max(a.max,r))},aboveAxis:function(e){var t=e.value;return t.to>t.from}}),_e=ve.extend({init:function(e,t){var i=this;i.wrapData(t),ve.fn.init.call(i,e,t)},options:{animation:{type:Oi}},wrapData:function(e){var t,i,n,o=e.series;for(t=0;o.length>t;t++)n=o[t],i=n.data,i&&!Rt(i[0])&&typeof i[0]!=lo&&(n.data=[i])},reflowCategories:function(e){var t,i=this,n=i.children,o=n.length;for(t=0;o>t;t++)n[t].reflow(e[t])},plotRange:function(e){var t=e.series,i=this.seriesValueAxis(t),n=this.categoryAxisCrossingValue(i);return[n,e.value.current||n]},createPoint:function(e,t){var i,n,o=this,r=t.categoryIx,a=t.category,s=t.series,l=t.seriesIx,c=e.valueFields,u=o.options,h=o.children,p=Ht({vertical:!u.invertAxes,overlay:s.overlay,categoryIx:r,invertAxes:u.invertAxes},s),d=e.fields.color||s.color;return p=o.evalPointOptions(p,c,a,r,s,l),zt.isFunction(s.color)&&(d=p.color),i=new Ae(c,p),i.color=d,n=h[r],n||(n=new ue({vertical:u.invertAxes,gap:u.gap,spacing:u.spacing}),o.append(n)),n.append(i),i},updateRange:function(e,t){var i=this,n=t.series.axis,o=e.current,r=e.target,a=i.valueAxisRanges[n];wi(o)&&!isNaN(o)&&wi(r&&!isNaN(r))&&(a=i.valueAxisRanges[n]=a||{min:Wn,max:Zn},a.min=Bt.min.apply(Bt,[a.min,o,r]),a.max=Bt.max.apply(Bt,[a.max,o,r]))},formatPointValue:function(e,t){return hi(t,e.value.current,e.value.target)},pointValue:function(e){return e.valueFields.current},aboveAxis:function(e){var t=e.value.current;return t>0},createAnimation:function(){var e,t,i=this.points;for(this._setAnimationOptions(),t=0;i.length>t;t++)e=i[t],e.options.animation=this.options.animation,e.createAnimation()},_setAnimationOptions:ye.fn._setAnimationOptions}),Ae=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),i.aboveAxis=i.options.aboveAxis,i.color=t.color||ar,i.value=e},options:{border:{width:1},vertical:!1,opacity:1,target:{shape:\"\",border:{width:0,color:\"green\"},line:{width:2}},tooltip:{format:\"Current: {0}</br>Target: {1}\"}},render:function(){var e=this,t=e.options;e._rendered||(e._rendered=!0,wi(e.value.target)&&(e.target=new ke({type:t.target.shape,background:t.target.color||e.color,opacity:t.opacity,zIndex:t.zIndex,border:t.target.border,vAlign:Xo,align:bo}),e.target.value=this.value,e.target.dataItem=this.dataItem,e.target.series=this.series,e.append(e.target)),e.createNote())},reflow:function(e){this.render();var t,i=this,n=i.options,o=i.owner,r=i.target,a=n.invertAxes,s=o.seriesValueAxis(i.options),l=o.categorySlot(o.categoryAxis,n.categoryIx,s),c=s.getSlot(i.value.target),u=a?c:l,h=a?l:c;r&&(t=new Wt(u.x1,h.y1,u.x2,h.y2),r.options.height=a?t.height():n.target.line.width,r.options.width=a?n.target.line.width:t.width(),r.reflow(t)),i.note&&i.note.reflow(e),i.box=e},createVisual:function(){var e,t;Zt.fn.createVisual.call(this),e=this.options,t=Ii.Path.fromRect(this.box.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null}),e.border.width>0&&t.options.set(\"stroke\",{color:e.border.color||this.color,width:e.border.width,dashType:e.border.dashType,opacity:Ti(e.border.opacity,e.opacity)}),this.bodyVisual=t,ui(t),this.visual.append(t)},createAnimation:function(){this.bodyVisual&&(this.animation=Ii.Animation.create(this.bodyVisual,this.options.animation))},tooltipAnchor:ge.fn.tooltipAnchor,createHighlight:function(e){return Ii.Path.fromRect(this.box.toRect(),e)},highlightVisual:function(){return this.bodyVisual},highlightVisualArgs:function(){return{rect:this.box.toRect(),visual:this.bodyVisual,options:this.options}},formatValue:function(e){var t=this;return t.owner.formatPointValue(t,e)}}),Ht(Ae.fn,pe),Ht(Ae.fn,de),ke=ai.extend(),Ht(ke.fn,pe),Ce=Zt.extend({init:function(e,t,i,n,o,r){var a=this;a.low=e,a.high=t,a.isVertical=i,a.chart=n,a.series=o,Zt.fn.init.call(a,r)},options:{animation:{type:Sn,delay:En},endCaps:!0,line:{width:1},zIndex:1},getAxis:function(){},reflow:function(e){var t,i=this,n=i.options.endCaps,o=i.isVertical,r=i.getAxis(),a=r.getSlot(i.low,i.high),s=e.center(),l=i.getCapsWidth(e,o),c=o?s.x:s.y,u=c-l,h=c+l;o?(t=[ni(s.x,a.y1),ni(s.x,a.y2)],n&&t.push(ni(u,a.y1),ni(h,a.y1),ni(u,a.y2),ni(h,a.y2)),i.box=Wt(u,a.y1,h,a.y2)):(t=[ni(a.x1,s.y),ni(a.x2,s.y)],n&&t.push(ni(a.x1,u),ni(a.x1,h),ni(a.x2,u),ni(a.x2,h)),i.box=Wt(a.x1,u,a.x2,h)),i.linePoints=t},getCapsWidth:function(e,t){var i=t?e.width():e.height(),n=Bt.min(Bt.floor(i/2),gn)||gn;return n},createVisual:function(){var e=this,t=e.options,i=t.visual;i?e.visual=i({low:e.low,high:e.high,rect:e.box.toRect(),sender:e.getChart(),options:{endCaps:t.endCaps,color:t.color,line:t.line},createVisual:function(){e.createDefaultVisual();var t=e.visual;return delete e.visual,t}}):e.createDefaultVisual()},createDefaultVisual:function(){var e,t,i=this,n=i.options,o={stroke:{color:n.color,width:n.line.width,dashType:n.line.dashType}},r=i.linePoints;for(Zt.fn.createVisual.call(this),e=0;r.length>e;e+=2)t=new Ii.Path(o).moveTo(r[e].x,r[e].y).lineTo(r[e+1].x,r[e+1].y),this.visual.append(t)}}),Se=Ce.extend({getAxis:function(){var e=this,t=e.chart,i=e.series,n=t.seriesValueAxis(i);return n}}),Pe=Ce.extend({getAxis:function(){var e=this,t=e.chart,i=e.series,n=t.seriesAxes(i),o=e.isVertical?n.y:n.x;return o}}),Te=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i),i.value=e,i.options=t,i.aboveAxis=Ti(i.options.aboveAxis,!0),i.tooltipTracking=!0},defaults:{vertical:!0,markers:{visible:!0,background:ar,size:jn,type:Qi,border:{width:2},opacity:1},labels:{visible:!1,position:Bi,margin:gi(3),padding:gi(4),animation:{type:Sn,delay:En}},notes:{label:{}},highlight:{markers:{border:{}}}},render:function(){var e,t=this,i=t.options,n=i.markers,o=i.labels,r=t.value;t._rendered||(t._rendered=!0,n.visible&&n.size&&(t.marker=t.createMarker(),t.append(t.marker)),o.visible&&(o.template?(e=Gt(o.template),r=e({dataItem:t.dataItem,category:t.category,value:t.value,percentage:t.percentage,series:t.series})):o.format&&(r=t.formatValue(o.format)),t.label=new li(r,Ht({align:Ki,vAlign:Ki,margin:{left:5,right:5},zIndex:Ti(o.zIndex,this.series.zIndex)},o)),t.append(t.label)),t.createNote(),t.errorBar&&t.append(t.errorBar))},markerBorder:function(){var e=this.options.markers,t=e.background,i=Ht({color:this.color},e.border);return wi(i.color)||(i.color=new Qt(t).brightness(Fi).toHex()),i},createVisual:Lt,createMarker:function(){var e=this.options.markers,t=new ai({type:e.type,width:e.size,height:e.size,rotation:e.rotation,background:e.background,border:this.markerBorder(),opacity:e.opacity,zIndex:Ti(e.zIndex,this.series.zIndex),animation:e.animation,visual:e.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category});return t},markerBox:function(){return this.marker||(this.marker=this.createMarker(),this.marker.reflow(this._childBox)),this.marker.box},reflow:function(e){var t,i,n,o,r=this,a=r.options,s=a.vertical,l=r.aboveAxis;if(r.render(),r.box=e,t=e.clone(),s?l?t.y1-=t.height():t.y2+=t.height():l?t.x1+=t.width():t.x2-=t.width(),r._childBox=t,r.marker&&r.marker.reflow(t),r.reflowLabel(t),r.errorBars)for(n=0;r.errorBars.length>n;n++)r.errorBars[n].reflow(t);r.note&&(o=r.markerBox(),a.markers.visible&&a.markers.size||(i=o.center(),o=Wt(i.x,i.y,i.x,i.y)),r.note.reflow(o))},reflowLabel:function(e){var t=this,i=t.options,n=t.label,o=i.labels.position;n&&(o=o===Bi?Xo:o,o=o===Ui?ji:o,n.reflow(e),n.box.alignTo(t.markerBox(),o),n.reflow(n.box))},createHighlight:function(){var e=this.options.highlight,t=e.markers,i=this.markerBorder().color,n=this.options.markers,o=new ai({type:n.type,width:n.size,height:n.size,rotation:n.rotation,background:t.color||i,border:{color:t.border.color,width:t.border.width,opacity:Ti(t.border.opacity,1)},opacity:Ti(t.opacity,1)});return o.reflow(this._childBox),o.getElement()},highlightVisual:function(){return(this.marker||{}).visual},highlightVisualArgs:function(){var e,t,i,n,o,r=this.marker;return r?(t=r.paddingBox.toRect(),e=r.visual):(i=this.options.markers.size,n=i/2,o=this.box.center(),t=new Ri.Rect([o.x-n,o.y-n],[i,i])),{options:this.options,rect:t,visual:e}},tooltipAnchor:function(e,i){var n=this,o=n.markerBox(),r=n.aboveAxis,a=o.x2+Ko,s=r?o.y1-i:o.y2,l=n.owner.pane.clipBox(),c=!l||l.overlaps(o);return c?ni(a,s):t},formatValue:function(e){var t=this;return t.owner.formatPointValue(t,e)},overlapsBox:function(e){var t=this.markerBox();return t.overlaps(e)}}),Ht(Te.fn,pe),Ht(Te.fn,de),Re=Te.extend({init:function(e,t){var i=this;Te.fn.init.call(i,e,t),i.category=e.category},defaults:{labels:{position:Ki},highlight:{opacity:1,border:{width:1,opacity:1}}},createHighlight:function(){var e=this.options.highlight,t=e.border,i=this.options.markers,n=this.box.center(),o=i.size/2-t.width/2,r=new Ii.Circle(new Ri.Circle([n.x,n.y],o),{stroke:{color:t.color||new Qt(i.background).brightness(Fi).toHex(),width:t.width,opacity:t.opacity},fill:{color:i.background,opacity:e.opacity}});return r}}),Ie=Zt.extend({init:function(e,t,i){var n=this;Zt.fn.init.call(n),n.linePoints=e,n.series=t,n.seriesIx=i},options:{closed:!1},points:function(e){var t,i,n=this,o=n.linePoints.concat(e||[]),r=[];for(t=0,i=o.length;i>t;t++)o[t].visible!==!1&&r.push(o[t]._childBox.toRect().center());return r},createVisual:function(){var e,t=this.options,i=this.series,n=i._defaults,o=i.color;jt(o)&&n&&(o=n.color),e=Ii.Path.fromPoints(this.points(),{stroke:{color:o,width:i.width,opacity:i.opacity,dashType:i.dashType},zIndex:i.zIndex}),t.closed&&e.close(),this.visual=e},aliasFor:function(e,t){var i=this,n=i.seriesIx;return i.parent.getNearestPoint(t.x,t.y,n)}}),Ve={renderSegments:function(){var e,t,i,n,o,r,a,s,l=this,c=l.options,u=c.series,h=l.seriesPoints,p=h.length;for(this._segments=[],t=0;p>t;t++){for(e=u[t],i=l.sortPoints(h[t]),a=i.length,n=[],r=0;a>r;r++)o=i[r],o?n.push(o):l.seriesMissingValues(e)!==On&&(n.length>1&&(s=l.createSegment(n,e,t,s),this._addSegment(s)),n=[]);n.length>1&&(s=l.createSegment(n,e,t,s),this._addSegment(s))}this.children.unshift.apply(this.children,this._segments)},_addSegment:function(e){this._segments.push(e),e.parent=this},sortPoints:function(e){return e},seriesMissingValues:function(e){var t=e.missingValues,i=!t&&this.options.isStacked;return i?ur:t||On},getNearestPoint:function(e,t,i){var n,o,r,a,s,l=new ni(e,t),c=this.seriesPoints[i],u=Wn;for(o=0;c.length>o;o++)r=c[o],r&&wi(r.value)&&null!==r.value&&r.visible!==!1&&(a=r.box,s=a.center().distanceTo(l),u>s&&(n=r,u=s));return n}},Be={createAnimation:function(){var e,t,i=this.getRoot();i&&(i.options||{}).transitions!==!1&&(e=i.box,t=Ii.Path.fromRect(e.toRect()),this.visual.clip(t),this.animation=new Ee(t,{box:e}),X(this.options.series)&&this._setChildrenAnimation(t))},_setChildrenAnimation:function(e){var t,i,n=this.animationPoints();for(i=0;n.length>i;i++)t=n[i],t&&t.visual&&wi(t.visual.options.zIndex)&&t.visual.clip(e)}},Le=ve.extend({render:function(){var e=this;ve.fn.render.apply(e),e.updateStackRange(),e.renderSegments()},pointType:function(){return Te},createPoint:function(e,t){var i,n,o,r=this,a=t.categoryIx,s=t.category,l=t.series,c=t.seriesIx,u=e.valueFields.value,h=r.seriesMissingValues(l);if(!wi(u)||null===u){if(h!==ur)return null;u=0}return n=this.pointOptions(l,c),n=r.evalPointOptions(n,u,s,a,l,c),o=e.fields.color||l.color,zt.isFunction(l.color)&&(o=n.color),i=new Te(u,n),i.color=o,r.append(i),i},plotRange:function(e){var t,i,n,o,r=this.plotValue(e);if(this.options.isStacked)for(t=e.categoryIx,i=this.categoryPoints[t],n=0;i.length>n&&(o=i[n],e!==o);n++)r+=this.plotValue(o);return[r,r]},createSegment:function(e,t,i){var n,o=t.style;return new(n=o===Bo?De:o===Lo?ze:Ie)(e,t,i)},animationPoints:function(){var e,t=this.points,i=[];for(e=0;t.length>e;e++)i.push((t[e]||{}).marker);return i.concat(this._segments)}}),Ht(Le.fn,Ve,Be),Ee=Ii.Animation.extend({options:{duration:En},setup:function(){this._setEnd(this.options.box.x1)},step:function(e){var t=this.options.box;this._setEnd(mi(t.x1,t.x2,e))},_setEnd:function(e){var t=this.element,i=t.segments,n=i[1].anchor(),o=i[2].anchor();t.suspend(),n.setX(e),t.resume(),o.setX(e)}}),Ii.AnimationFactory.current.register(Ji,Ee),De=Ie.extend({points:function(e){var t,i=this;return t=i.calculateStepPoints(i.linePoints),e&&e.length&&(t=t.concat(i.calculateStepPoints(e).reverse())),t},calculateStepPoints:function(e){var t,i,n,o,r,a=this,s=a.parent,l=s.plotArea,c=l.seriesCategoryAxis(a.series),u=s.seriesMissingValues(a.series)===On,h=e.length,p=c.options.reverse,d=c.options.vertical,g=p?2:1,f=p?1:2,m=[];for(n=1;h>n;n++)t=e[n-1],i=e[n],o=t.markerBox().center(),r=i.markerBox().center(),c.options.justified?(m.push(new Ri.Point(o.x,o.y)),m.push(d?new Ri.Point(o.x,r.y):new Ri.Point(r.x,o.y)),m.push(new Ri.Point(r.x,r.y))):d?(m.push(new Ri.Point(o.x,t.box[lr+g])),m.push(new Ri.Point(o.x,t.box[lr+f])),u&&m.push(new Ri.Point(o.x,i.box[lr+g])),m.push(new Ri.Point(r.x,i.box[lr+g])),m.push(new Ri.Point(r.x,i.box[lr+f]))):(m.push(new Ri.Point(t.box[sr+g],o.y)),m.push(new Ri.Point(t.box[sr+f],o.y)),u&&m.push(new Ri.Point(i.box[sr+g],o.y)),m.push(new Ri.Point(i.box[sr+g],r.y)),m.push(new Ri.Point(i.box[sr+f],r.y)));return m||[]}}),ze=Ie.extend({createVisual:function(){var e,t,i,n=this.series,o=n._defaults,r=n.color;jt(r)&&o&&(r=o.color),e=new $t(this.options.closed),t=e.process(this.points()),i=new Ii.Path({stroke:{color:r,width:n.width,opacity:n.opacity,dashType:n.dashType},zIndex:n.zIndex}),i.segments.push.apply(i.segments,t),this.visual=i}}),Oe={points:function(){var e,t,i=this,n=i.parent,o=n.plotArea,r=n.options.invertAxes,a=n.seriesValueAxis(i.series),s=a.lineBox(),l=o.seriesCategoryAxis(i.series),c=l.lineBox(),u=r?c.x1:c.y1,h=i.stackPoints,p=i._linePoints(h),d=r?sr:lr;return u=Ai(u,s[d+1],s[d+2]),!i.stackPoints&&p.length>1&&(e=p[0],t=_i(p),r?(p.unshift(new Ri.Point(u,e.y)),p.push(new Ri.Point(u,t.y))):(p.unshift(new Ri.Point(e.x,u)),p.push(new Ri.Point(t.x,u)))),p},createVisual:function(){var e=this.series,t=e._defaults,i=e.color;jt(i)&&t&&(i=t.color),this.visual=new Ii.Group({zIndex:e.zIndex}),this.createArea(i),this.createLine(i)},createLine:function(e){var t,i=this.series,n=Ht({color:e,opacity:i.opacity},i.line);n.visible!==!1&&n.width>0&&(t=Ii.Path.fromPoints(this._linePoints(),{stroke:{color:n.color,width:n.width,opacity:n.opacity,dashType:n.dashType,lineCap:\"butt\"}}),this.visual.append(t))},createArea:function(e){var t=this.series,i=Ii.Path.fromPoints(this.points(),{fill:{color:e,opacity:t.opacity},stroke:null});this.visual.append(i)}},Me=Ie.extend({init:function(e,t,i,n){var o=this;o.stackPoints=t,Ie.fn.init.call(o,e,i,n)},_linePoints:Ie.fn.points}),Ht(Me.fn,Oe),Fe=Le.extend({createSegment:function(e,t,i,n){var o,r,a,s=this,l=s.options,c=l.isStacked,u=(t.line||{}).style;return c&&i>0&&n&&(a=this.seriesMissingValues(t),o=\"gap\"!=a?n.linePoints:this._gapStackPoints(e,i,u),u!==Bo&&(o=o.slice(0).reverse())),u===Lo?new Ue(e,n,c,t,i):new(r=u===Bo?He:Me)(e,o,t,i)},reflow:function(e){var t,i,n,o;if(Le.fn.reflow.call(this,e),t=this._stackPoints)for(o=0;t.length>o;o++)i=t[o],n=this.categoryAxis.getSlot(i.categoryIx),i.reflow(n)},_gapStackPoints:function(e,t,i){var n,o,r,a,s=this.seriesPoints,l=e[0].categoryIx,c=l+e.length,u=[];for(this._stackPoints=this._stackPoints||[],a=l;c>a;a++){n=t;do n--,o=s[n][a];while(n>0&&!o);o?(i!==Bo&&a>l&&!s[n][a-1]&&u.push(this._previousSegmentPoint(a,a-1,n)),u.push(o),i!==Bo&&c>a+1&&!s[n][a+1]&&u.push(this._previousSegmentPoint(a,a+1,n))):(r=this._createGapStackPoint(a),this._stackPoints.push(r),u.push(r))}return u},_previousSegmentPoint:function(e,t,i){for(var n,o=this.seriesPoints;i>0&&!n;)i--,n=o[i][t];return n?n=o[i][e]:(n=this._createGapStackPoint(e),this._stackPoints.push(n)),n},_createGapStackPoint:function(e){var t=this.pointOptions({},0),i=new Te(0,t);return i.categoryIx=e,i.series={},i},seriesMissingValues:function(e){return e.missingValues||ur}}),Ue=Me.extend({init:function(e,t,i,n,o){var r=this;r.prevSegment=t,r.isStacked=i,Ie.fn.init.call(r,e,n,o)},strokeSegments:function(){var e,t,i=this._strokeSegments;return i||(e=new $t(this.options.closed),t=Ie.fn.points.call(this),i=this._strokeSegments=e.process(t)),i},createVisual:function(){var e=this.series,t=e._defaults,i=e.color;jt(i)&&t&&(i=t.color),this.visual=new Ii.Group({zIndex:e.zIndex}),this.createFill({fill:{color:i,opacity:e.opacity},stroke:null}),this.createStroke({stroke:Ht({color:i,opacity:e.opacity,lineCap:\"butt\"},e.line)})},createFill:function(t){var i,n,o,r,a,s=this.strokeSegments(),l=s.slice(0),c=this.prevSegment;this.isStacked&&c&&(i=c.strokeSegments(),n=_i(i).anchor(),l.push(new Ii.Segment(n,n,_i(s).anchor())),o=e.map(i,function(e){return new Ii.Segment(e.anchor(),e.controlOut(),e.controlIn())}).reverse(),bi(l,o),r=l[0].anchor(),l.push(new Ii.Segment(r,r,_i(o).anchor()))),a=new Ii.Path(t),a.segments.push.apply(a.segments,l),this.closeFill(a),this.visual.append(a)},closeFill:function(e){var t=this,i=t.parent,n=t.prevSegment,o=i.plotArea,r=i.options.invertAxes,a=i.seriesValueAxis(t.series),s=a.lineBox(),l=o.seriesCategoryAxis(t.series),c=l.lineBox(),u=r?c.x1:c.y1,h=r?sr:lr,p=t.strokeSegments(),d=p[0].anchor(),g=_i(p).anchor();u=Ai(u,s[h+1],s[h+2]),i.options.isStacked&&n||!(p.length>1)||(r?e.lineTo(u,g.y).lineTo(u,d.y):e.lineTo(g.x,u).lineTo(d.x,u))},createStroke:function(e){if(e.stroke.width>0){var t=new Ii.Path(e);t.segments.push.apply(t.segments,this.strokeSegments()),this.visual.append(t)}}}),He=De.extend({init:function(e,t,i,n){var o=this;o.stackPoints=t,De.fn.init.call(o,e,i,n)},_linePoints:De.fn.points}),Ht(He.fn,Oe),Ne=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),i.plotArea=e,i.xAxisRanges={},i.yAxisRanges={},i.points=[],i.seriesPoints=[],i.seriesOptions=[],i._evalSeries=[],i.render()},options:{series:[],tooltip:{format:\"{0}, {1}\"},labels:{format:\"{0}, {1}\"},clip:!0},render:function(){var e=this;e.traverseDataPoints(Dt(e.addValue,e))},addErrorBar:function(e,t,i){var n,o=this,r=e.value[t],a=t+\"Value\",s=t+\"ErrorLow\",l=t+\"ErrorHigh\",c=i.seriesIx,u=i.series,h=e.options.errorBars,p=i[s],d=i[l];B(r)&&(B(p)&&B(d)&&(n={low:p,high:d}),h&&wi(h[a])&&(o.seriesErrorRanges=o.seriesErrorRanges||{x:[],y:[]},o.seriesErrorRanges[t][c]=o.seriesErrorRanges[t][c]||new xe(h[a],u,t),n=o.seriesErrorRanges[t][c].getErrorRange(r,h[a])),n&&o.addPointErrorBar(n,e,t))},addPointErrorBar:function(e,t,i){var n,o=this,r=e.low,a=e.high,s=t.series,l=i===lr,c=t.options.errorBars,u={};t[i+\"Low\"]=r,t[i+\"High\"]=a,t.errorBars=t.errorBars||[],n=new Pe(r,a,l,o,s,c),t.errorBars.push(n),t.append(n),u[i]=r,o.updateRange(u,s),u[i]=a,o.updateRange(u,s)},addValue:function(e,t){var i,n=this,o=e.x,r=e.y,a=t.seriesIx,s=this.options.series[a],l=this.seriesMissingValues(s),c=n.seriesPoints[a];Z(o)&&Z(r)||(e=this.createMissingValue(e,l)),e&&(i=n.createPoint(e,t),i&&(Et(i,t),n.addErrorBar(i,sr,t),n.addErrorBar(i,lr,t)),n.updateRange(e,t.series)),n.points.push(i),c.push(i)},seriesMissingValues:function(e){return e.missingValues},createMissingValue:Lt,updateRange:function(e,t){var i=this,n=e.x,o=e.y,r=t.xAxis,a=t.yAxis,s=i.xAxisRanges[r],l=i.yAxisRanges[a];Z(n)&&(s=i.xAxisRanges[r]=s||{min:Wn,max:Zn},typeof n===zo&&(n=g(n)),s.min=Bt.min(s.min,n),s.max=Bt.max(s.max,n)),Z(o)&&(l=i.yAxisRanges[a]=l||{min:Wn,max:Zn},typeof o===zo&&(o=g(o)),l.min=Bt.min(l.min,o),l.max=Bt.max(l.max,o))},evalPointOptions:function(e,t,i){var n=i.series,o=i.seriesIx,r={defaults:n._defaults,excluded:[\"data\",\"tooltip\",\"tempate\",\"visual\",\"toggle\",\"_outOfRangeMinPoint\",\"_outOfRangeMaxPoint\"]},a=this._evalSeries[o];return wi(a)||(this._evalSeries[o]=a=z(e,{},r,!0)),a&&(e=Ht({},e),z(e,{value:t,series:n,dataItem:i.dataItem},r)),e},pointType:function(){return Te},pointOptions:function(e,t){var i,n=this.seriesOptions[t];return n||(i=this.pointType().fn.defaults,this.seriesOptions[t]=n=Ht({},i,{markers:{opacity:e.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},e)),n},createPoint:function(e,t){var i,n=this,o=t.series,r=this.pointOptions(o,t.seriesIx),a=t.color||o.color;return r=n.evalPointOptions(r,e,t),zt.isFunction(o.color)&&(a=r.color),i=new Te(e,r),i.color=a,n.append(i),i},seriesAxes:function(e){var t=this.plotArea,i=e.xAxis,n=i?t.namedXAxes[i]:t.axisX,o=e.yAxis,r=o?t.namedYAxes[o]:t.axisY;if(!n)throw Error(\"Unable to locate X axis with name \"+i);if(!r)throw Error(\"Unable to locate Y axis with name \"+o);return{x:n,y:r}},reflow:function(e){var t,i,n=this,o=n.points,r=0,a=!n.options.clip;n.traverseDataPoints(function(e,s){t=o[r++],i=n.seriesAxes(s.series);var l,c=i.x.getSlot(e.x,e.x,a),u=i.y.getSlot(e.y,e.y,a);t&&(c&&u?(l=n.pointSlot(c,u),t.reflow(l)):t.visible=!1)}),n.box=e},pointSlot:function(e,t){return new Wt(e.x1,t.y1,e.x2,t.y2)},traverseDataPoints:function(e){var t,i,n,o,r,a,s,l=this,c=l.options,u=c.series,h=l.seriesPoints;for(i=0;u.length>i;i++)for(n=u[i],o=h[i],o||(h[i]=[]),t=0;n.data.length>t;t++)r=this._bindPoint(n,i,t),a=r.valueFields,s=r.fields,e(a,Ht({pointIx:t,series:n,seriesIx:i,dataItem:n.data[t],owner:l},s))},_bindPoint:ve.fn._bindPoint,formatPointValue:function(e,t){var i=e.value;return hi(t,i.x,i.y)},animationPoints:function(){var e,t=this.points,i=[];for(e=0;t.length>e;e++)i.push((t[e]||{}).marker);return i}}),Ht(Ne.fn,Be),je=Ne.extend({render:function(){var e=this;Ne.fn.render.call(e),e.renderSegments()},createSegment:function(e,t,i){var n,o=t.style;return new(n=o===Lo?ze:Ie)(e,t,i)},animationPoints:function(){var e=Ne.fn.animationPoints.call(this);return e.concat(this._segments)},createMissingValue:function(e,t){if(t===ur){var i={x:e.x,y:e.y};return Z(i.x)||(i.x=0),Z(i.y)||(i.y=0),i}}}),Ht(je.fn,Ve),Ge=Ne.extend({init:function(e,t){this._maxSize=Zn,Ne.fn.init.call(this,e,t)},options:{tooltip:{format:\"{3}\"},labels:{format:\"{3}\"}},addValue:function(e,t){null!==e.size&&(e.size>0||0>e.size&&t.series.negativeValues.visible)?(this._maxSize=Bt.max(this._maxSize,Bt.abs(e.size)),Ne.fn.addValue.call(this,e,t)):(this.points.push(null),this.seriesPoints[t.seriesIx].push(null))},reflow:function(e){var t=this;t.updateBubblesSize(e),Ne.fn.reflow.call(t,e)},pointType:function(){return Re},createPoint:function(e,t){var i,n,o=this,r=t.series,a=r.data.length,s=t.pointIx*(En/a),l={delay:s,duration:En-s,type:qi},c=t.color||r.color;return 0>e.size&&r.negativeValues.visible&&(c=Ti(r.negativeValues.color,c)),n=Ht({labels:{animation:{delay:s,duration:En-s}}},this.pointOptions(r,t.seriesIx),{markers:{type:Qi,border:r.border,opacity:r.opacity,animation:l}}),n=o.evalPointOptions(n,e,t),zt.isFunction(r.color)&&(c=n.color),n.markers.background=c,i=new Re(e,n),i.color=c,o.append(i),i},updateBubblesSize:function(e){var t,i,n,o,r,a,s,l,c,u,h,p,d,g,f,m,x,v=this,y=v.options,b=y.series,w=Bt.min(e.width(),e.height());for(t=0;b.length>t;t++)for(n=b[t],o=v.seriesPoints[t],r=n.minSize||Bt.max(.02*w,10),a=n.maxSize||.2*w,s=r/2,l=a/2,c=Bt.PI*s*s,u=Bt.PI*l*l,h=u-c,p=h/v._maxSize,i=0;o.length>i;i++)d=o[i],d&&(g=Bt.abs(d.value.size)*p,f=Bt.sqrt((c+g)/Bt.PI),m=Ti(d.options.zIndex,0),x=m+(1-f/l),Ht(d.options,{zIndex:x,markers:{size:2*f,zIndex:x},labels:{zIndex:x+1}}))},formatPointValue:function(e,t){var i=e.value;return hi(t,i.x,i.y,i.size,e.category)},createAnimation:Lt,createVisual:Lt}),qe=Zt.extend({init:function(e,t){Zt.fn.init.call(this,t),this.value=e},options:{vertical:!0,border:{_brightness:.8},line:{width:2},overlay:{gradient:In},tooltip:{format:\"<table style='text-align: left;'><th colspan='2'>{4:d}</th><tr><td>Open:</td><td>{0:C}</td></tr><tr><td>High:</td><td>{1:C}</td></tr><tr><td>Low:</td><td>{2:C}</td></tr><tr><td>Close:</td><td>{3:C}</td></tr></table>\"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}}},reflow:function(e){var t,i,n,o=this,r=o.options,a=o.owner,s=o.value,l=a.seriesValueAxis(r),c=[];\r\ni=l.getSlot(s.open,s.close),n=l.getSlot(s.low,s.high),i.x1=n.x1=e.x1,i.x2=n.x2=e.x2,o.realBody=i,t=n.center().x,c.push([[t,n.y1],[t,i.y1]]),c.push([[t,i.y2],[t,n.y2]]),o.lines=c,o.box=n.clone().wrap(i),o._rendered||(o._rendered=!0,o.createNote()),o.reflowNote()},reflowNote:function(){var e=this;e.note&&e.note.reflow(e.box)},createVisual:function(){Zt.fn.createVisual.call(this),this._mainVisual=this.mainVisual(this.options),this.visual.append(this._mainVisual),this.createOverlay()},mainVisual:function(e){var t=new Ii.Group;return this.createBody(t,e),this.createLines(t,e),t},createBody:function(e,i){var n=Ii.Path.fromRect(this.realBody.toRect(),{fill:{color:this.color,opacity:i.opacity},stroke:null});i.border.width>0&&n.options.set(\"stroke\",{color:this.getBorderColor(),width:i.border.width,dashType:i.border.dashType,opacity:Ti(i.border.opacity,i.opacity)}),ui(n),e.append(n),Y(i)&&e.append(this.createGradientOverlay(n,{baseColor:this.color},Ht({end:i.vertical?t:[0,1]},i.overlay)))},createLines:function(e,t){this.drawLines(e,t,this.lines,t.line)},drawLines:function(e,t,i,n){var o,r,a;if(i)for(o={stroke:{color:n.color||this.color,opacity:Ti(n.opacity,t.opacity),width:n.width,dashType:n.dashType,lineCap:\"butt\"}},r=0;i.length>r;r++)a=Ii.Path.fromPoints(i[r],o),ui(a),e.append(a)},getBorderColor:function(){var e=this,t=e.options,i=t.border,n=i.color;return wi(n)||(n=new Qt(e.color).brightness(i._brightness).toHex()),n},createOverlay:function(){var e=Ii.Path.fromRect(this.box.toRect(),{fill:{color:ar,opacity:0},stroke:null});this.visual.append(e)},createHighlight:function(){var e,t=this.options.highlight,i=this.color;return this.color=t.color||this.color,e=this.mainVisual(Ht({},this.options,{line:{color:this.getBorderColor()}},t)),this.color=i,e},highlightVisual:function(){return this._mainVisual},highlightVisualArgs:function(){return{options:this.options,rect:this.box.toRect(),visual:this._mainVisual}},tooltipAnchor:function(){var e=this,t=e.box,i=e.owner.pane.clipBox()||t;return new ni(t.x2+Ko,Bt.max(t.y1,i.y1)+Ko)},formatValue:function(e){var t=this;return t.owner.formatPointValue(t,e)},overlapsBox:function(e){return this.box.overlaps(e)}}),Ht(qe.fn,pe),Ht(qe.fn,de),Ye=ve.extend({options:{},reflowCategories:function(e){var t,i=this,n=i.children,o=n.length;for(t=0;o>t;t++)n[t].reflow(e[t])},addValue:function(e,t){var i,n,o=this,r=t.categoryIx,a=t.category,s=t.series,l=t.seriesIx,c=o.options,u=e.valueFields,h=o.children,p=o.splitValue(u),d=E(p),g=o.categoryPoints[r],f=s.data[r];g||(o.categoryPoints[r]=g=[]),d&&(i=o.createPoint(e,t)),n=h[r],n||(n=new ue({vertical:c.invertAxes,gap:c.gap,spacing:c.spacing}),o.append(n)),i&&(o.updateRange(u,t),n.append(i),i.categoryIx=r,i.category=a,i.series=s,i.seriesIx=l,i.owner=o,i.dataItem=f,i.noteText=e.fields.noteText),o.points.push(i),g.push(i)},pointType:function(){return qe},createPoint:function(e,t){var i,n=this,o=t.categoryIx,r=t.category,a=t.series,s=t.seriesIx,l=e.valueFields,c=Ht({},a),u=n.pointType(),h=e.fields.color||a.color;return c=n.evalPointOptions(c,l,r,o,a,s),a.type==Xi&&l.open>l.close&&(h=e.fields.downColor||a.downColor||a.color),zt.isFunction(a.color)&&(h=c.color),c.vertical=!n.options.invertAxes,i=new u(l,c),i.color=h,i},splitValue:function(e){return[e.low,e.open,e.close,e.high]},updateRange:function(e,t){var i=this,n=t.series.axis,o=i.valueAxisRanges[n],r=i.splitValue(e);o=i.valueAxisRanges[n]=o||{min:Wn,max:Zn},o=i.valueAxisRanges[n]={min:Bt.min.apply(Bt,r.concat([o.min])),max:Bt.max.apply(Bt,r.concat([o.max]))}},formatPointValue:function(e,t){var i=e.value;return hi(t,i.open,i.high,i.low,i.close,e.category)},animationPoints:function(){return this.points}}),Ht(Ye.fn,Be),Xe=qe.extend({reflow:function(e){var t,i,n,o,r=this,a=r.options,s=r.owner,l=r.value,c=s.seriesValueAxis(a),u=[],h=[],p=[];o=c.getSlot(l.low,l.high),i=c.getSlot(l.open,l.open),n=c.getSlot(l.close,l.close),i.x1=n.x1=o.x1=e.x1,i.x2=n.x2=o.x2=e.x2,t=o.center().x,u.push([i.x1,i.y1]),u.push([t,i.y1]),h.push([t,n.y1]),h.push([n.x2,n.y1]),p.push([t,o.y1]),p.push([t,o.y2]),r.lines=[u,h,p],r.box=o.clone().wrap(i.clone().wrap(n)),r.reflowNote()},createBody:e.noop}),We=Ye.extend({pointType:function(){return Xe}}),Ke=Ye.extend({addValue:function(e,t){var i,n,o=this,r=t.categoryIx,a=t.category,s=t.series,l=t.seriesIx,c=o.options,u=o.children,h=e.valueFields,p=o.splitValue(h),d=E(p),g=o.categoryPoints[r],f=s.data[r];g||(o.categoryPoints[r]=g=[]),d&&(i=o.createPoint(e,t)),n=u[r],n||(n=new ue({vertical:c.invertAxes,gap:c.gap,spacing:c.spacing}),o.append(n)),i&&(o.updateRange(h,t),n.append(i),i.categoryIx=r,i.category=a,i.series=s,i.seriesIx=l,i.owner=o,i.dataItem=f),o.points.push(i),g.push(i)},pointType:function(){return this.options.invertAxes?Qe:Ze},splitValue:function(e){return[e.lower,e.q1,e.median,e.q3,e.upper]},updateRange:function(e,t){var i=this,n=t.series.axis,o=i.valueAxisRanges[n],r=i.splitValue(e).concat(i.filterOutliers(e.outliers));wi(e.mean)&&(r=r.concat(e.mean)),o=i.valueAxisRanges[n]=o||{min:Wn,max:Zn},o=i.valueAxisRanges[n]={min:Bt.min.apply(Bt,r.concat([o.min])),max:Bt.max.apply(Bt,r.concat([o.max]))}},formatPointValue:function(e,t){var i=e.value;return hi(t,i.lower,i.q1,i.median,i.q3,i.upper,i.mean,e.category)},filterOutliers:function(e){var t,i,n=(e||[]).length,o=[];for(t=0;n>t;t++)i=e[t],wi(i)&&I(o,i);return o}}),Ze=qe.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),i.value=e,i.createNote()},options:{border:{_brightness:.8},line:{width:2},mean:{width:2,dashType:\"dash\"},overlay:{gradient:In},tooltip:{format:\"<table style='text-align: left;'><th colspan='2'>{6:d}</th><tr><td>Lower:</td><td>{0:C}</td></tr><tr><td>Q1:</td><td>{1:C}</td></tr><tr><td>Median:</td><td>{2:C}</td></tr><tr><td>Mean:</td><td>{5:C}</td></tr><tr><td>Q3:</td><td>{3:C}</td></tr><tr><td>Upper:</td><td>{4:C}</td></tr></table>\"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}},outliers:{visible:!0,size:jn,type:on,background:ar,border:{width:2,opacity:1},opacity:0},extremes:{visible:!0,size:jn,type:Qi,background:ar,border:{width:2,opacity:1},opacity:0}},reflow:function(e){var t,i,n,o,r=this,a=r.options,s=r.owner,l=r.value,c=s.seriesValueAxis(a);r.boxSlot=i=c.getSlot(l.q1,l.q3),r.realBody=i,r.reflowBoxSlot(e),r.whiskerSlot=t=c.getSlot(l.lower,l.upper),r.reflowWhiskerSlot(e),n=c.getSlot(l.median),l.mean&&(o=c.getSlot(l.mean),r.meanPoints=r.calcMeanPoints(e,o)),r.whiskerPoints=r.calcWhiskerPoints(i,t),r.medianPoints=r.calcMedianPoints(e,n),r.box=t.clone().wrap(i),r.reflowNote()},reflowBoxSlot:function(e){this.boxSlot.x1=e.x1,this.boxSlot.x2=e.x2},reflowWhiskerSlot:function(e){this.whiskerSlot.x1=e.x1,this.whiskerSlot.x2=e.x2},calcMeanPoints:function(e,t){return[[[e.x1,t.y1],[e.x2,t.y1]]]},calcWhiskerPoints:function(e,t){var i=t.center().x;return[[[i-5,t.y1],[i+5,t.y1],[i,t.y1],[i,e.y1]],[[i-5,t.y2],[i+5,t.y2],[i,t.y2],[i,e.y2]]]},calcMedianPoints:function(e,t){return[[[e.x1,t.y1],[e.x2,t.y1]]]},renderOutliers:function(e){var t,i,n,o,r=this,a=e.markers||{},s=r.value,l=s.outliers||[],c=3*Bt.abs(s.q3-s.q1),u=[];for(o=0;l.length>o;o++)n=l[o],a=s.q3+c>n&&n>s.q1-c?e.outliers:e.extremes,t=Ht({},a.border),wi(t.color)||(t.color=wi(r.color)?r.color:new Qt(a.background).brightness(Fi).toHex()),i=new ai({type:a.type,width:a.size,height:a.size,rotation:a.rotation,background:a.background,border:t,opacity:a.opacity}),i.value=n,u.push(i);return this.reflowOutliers(u),u},reflowOutliers:function(e){var i,n,o,r=this.owner.seriesValueAxis(this.options),a=this.box.center();for(i=0;e.length>i;i++)n=e[i].value,o=r.getSlot(n),this.options.vertical?o.move(a.x):o.move(t,a.y),this.box=this.box.wrap(o),e[i].reflow(o)},mainVisual:function(e){var t,i,n=qe.fn.mainVisual.call(this,e),o=this.renderOutliers(e);for(t=0;o.length>t;t++)i=o[t].getElement(),i&&n.append(i);return n},createLines:function(e,t){this.drawLines(e,t,this.whiskerPoints,t.line),this.drawLines(e,t,this.medianPoints,t.median),this.drawLines(e,t,this.meanPoints,t.mean)},getBorderColor:function(){return this.color?this.color:qe.getBorderColor.call(this)}}),Ht(Ze.fn,pe),Qe=Ze.extend({reflowBoxSlot:function(e){this.boxSlot.y1=e.y1,this.boxSlot.y2=e.y2},reflowWhiskerSlot:function(e){this.whiskerSlot.y1=e.y1,this.whiskerSlot.y2=e.y2},calcMeanPoints:function(e,t){return[[[t.x1,e.y1],[t.x1,e.y2]]]},calcWhiskerPoints:function(e,t){var i=t.center().y;return[[[t.x1,i-5],[t.x1,i+5],[t.x1,i],[e.x1,i]],[[t.x2,i-5],[t.x2,i+5],[t.x2,i],[e.x2,i]]]},calcMedianPoints:function(e,t){return[[[t.x1,e.y1],[t.x1,e.y2]]]}}),$e=Zt.extend({init:function(e,t,i){var n=this;n.value=e,n.sector=t,Zt.fn.init.call(n,i)},options:{color:ar,overlay:{gradient:wo},border:{width:.5},labels:{visible:!1,distance:35,font:un,margin:gi(.5),align:Qi,zIndex:1,position:uo},animation:{type:ho},highlight:{visible:!0,border:{width:1}},visible:!0},render:function(){var e,t=this,i=t.options,n=i.labels,o=t.value;t._rendered||t.visible===!1||(t._rendered=!0,n.template?(e=Gt(n.template),o=e({dataItem:t.dataItem,category:t.category,value:t.value,series:t.series,percentage:t.percentage})):n.format&&(o=hi(n.format,o)),n.visible&&o&&(t.label=new li(o,Ht({},n,{align:Ki,vAlign:\"\",animation:{type:Sn,delay:t.animationDelay}})),t.append(t.label)))},reflow:function(e){var t=this;t.render(),t.box=e,t.reflowLabel()},reflowLabel:function(){var e,t,i,n,o=this,r=o.sector.clone(),a=o.options,s=o.label,l=a.labels,c=l.distance,u=r.middle();s&&(n=s.box.height(),i=s.box.width(),l.position==Ki?(r.r=Bt.abs((r.r-n)/2)+n,e=r.point(u),s.reflow(Wt(e.x,e.y-n/2,e.x,e.y))):l.position==zn?(r.r=r.r-n/2,e=r.point(u),s.reflow(Wt(e.x,e.y-n/2,e.x,e.y))):(e=r.clone().expand(c).point(u),e.x>=r.c.x?(t=e.x+i,s.orientation=bo):(t=e.x-i,s.orientation=Fn),s.reflow(Wt(t,e.y-n,e.x,e.y))))},createVisual:function(){var e,t,i=this,n=i.sector,o=i.options;Zt.fn.createVisual.call(this),i.value&&(o.visual?(e=(n.startAngle+180)%360,t=o.visual({category:i.category,dataItem:i.dataItem,value:i.value,series:i.series,percentage:i.percentage,center:new Ri.Point(n.c.x,n.c.y),radius:n.r,innerRadius:n.ir,startAngle:e,endAngle:e+n.angle,options:o,createVisual:function(){var e=new Ii.Group;return i.createSegmentVisual(e),e}}),t&&i.visual.append(t)):i.createSegmentVisual(i.visual))},createSegmentVisual:function(e){var t,i=this,n=i.sector,o=i.options,r=o.border||{},a=r.width>0?{stroke:{color:r.color,width:r.width,opacity:r.opacity,dashType:r.dashType}}:{},s=o.color,l={color:s,opacity:o.opacity};t=i.createSegment(n,Ht({fill:l,stroke:{opacity:o.opacity},zIndex:o.zIndex},a)),e.append(t),Y(o)&&e.append(this.createGradientOverlay(t,{baseColor:s,fallbackFill:l},Ht({center:[n.c.x,n.c.y],innerRadius:n.ir,radius:n.r,userSpace:!0},o.overlay)))},createSegment:function(e,t){return t.singleSegment?new Ii.Circle(new Ri.Circle(new Ri.Point(e.c.x,e.c.y),e.r),t):si.current.createRing(e,t)},createAnimation:function(){var e=this.options,t=this.sector.c;Ht(e,{animation:{center:[t.x,t.y],delay:this.animationDelay}}),Zt.fn.createAnimation.call(this)},createHighlight:function(e){var t=this,i=t.options.highlight||{},n=i.border||{};return t.createSegment(t.sector,Ht({},e,{fill:{color:i.color,opacity:i.opacity},stroke:{opacity:n.opacity,width:n.width,color:n.color}}))},highlightVisual:function(){return this.visual.children[0]},highlightVisualArgs:function(){var e=this.sector;return{options:this.options,radius:e.r,innerRadius:e.ir,center:new Ri.Point(e.c.x,e.c.y),startAngle:e.startAngle,endAngle:e.angle+e.startAngle,visual:this.visual}},tooltipAnchor:function(e,t){var i=this,n=i.sector.adjacentBox(Ko,e,t);return new ni(n.x1,n.y1)},formatValue:function(e){var t=this;return t.owner.formatPointValue(t,e)}}),Ht($e.fn,pe),Je={createLegendItem:function(e,t,i){var n,o,r,a,s,l=this,c=l.options.legend||{},u=c.labels||{},h=c.inactiveItems||{},p=h.labels||{};i&&i.visibleInLegend!==!1&&(s=i.visible!==!1,n=i.category||\"\",o=s?u.template:p.template||u.template,o&&(n=Gt(o)({text:n,series:i.series,dataItem:i.dataItem,percentage:i.percentage,value:e})),s?(a={},r=t.color):(a={color:p.color,font:p.font},r=(h.markers||{}).color),n&&l.legendItems.push({pointIndex:i.index,text:n,series:i.series,markerColor:r,labels:a}))}},et=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),i.plotArea=e,i.points=[],i.legendItems=[],i.render()},options:{startAngle:90,connectors:{width:1,color:\"#939393\",padding:4},inactiveItems:{markers:{},labels:{}}},render:function(){var e=this;e.traverseDataPoints(Dt(e.addValue,e))},traverseDataPoints:function(e){var t,i,n,o,r,a,s,l,c,u,h,p,d,g=this,f=g.options,m=g.plotArea.options.seriesColors||[],x=m.length,v=f.series,y=v.length,b=0;for(o=0;y>o;o++){for(t=v[o],a=t.data,h=q(t),s=360/h,p=wi(t.startAngle)?t.startAngle:f.startAngle,o!=y-1&&t.labels.position==uo&&(t.labels.position=Ki),d=0;a.length>d;d++)i=ie.current.bindPoint(t,d),l=i.valueFields.value,c=Bt.abs(l),n=i.fields,r=c*s,u=1!=a.length&&!!n.explode,jt(t.color)||(t.color=n.color||m[d%x]),e(l,new ri(null,0,0,p,r),{owner:g,category:n.category||\"\",index:b,series:t,seriesIx:o,dataItem:a[d],percentage:0!==h?c/h:0,explode:u,visibleInLegend:n.visibleInLegend,visible:n.visible,zIndex:y-o,animationDelay:g.animationDelay(d,o,y)}),i.fields.visible!==!1&&(p+=r),b++;b=0}},evalSegmentOptions:function(e,t,i){var n=i.series;z(e,{value:t,series:n,dataItem:i.dataItem,category:i.category,percentage:i.percentage},{defaults:n._defaults,excluded:[\"data\",\"template\",\"visual\",\"toggle\"]})},addValue:function(e,t,i){var n,o=this,r=Ht({},i.series,{index:i.index});o.evalSegmentOptions(r,e,i),o.createLegendItem(e,r,i),i.visible!==!1&&(n=new $e(e,t,r),Et(n,i),o.append(n),o.points.push(n))},reflow:function(e){var t,i,n,o,r,a,s,l,c=this,u=c.options,h=e.clone(),p=5,d=Bt.min(h.width(),h.height()),g=d/2,f=d-.85*d,m=Ti(u.padding,f),x=Wt(h.x1,h.y1,h.x1+d,h.y1+d),v=x.center(),y=c.seriesConfigs||[],b=h.center(),w=c.points,_=w.length,A=u.series.length,k=[],C=[];for(m=m>g-p?g-p:m,x.translate(b.x-v.x,b.y-v.y),a=g-m,l=ni(a+x.x1+m,a+x.y1+m),s=0;_>s;s++)o=w[s],r=o.sector,r.r=a,r.c=l,i=o.seriesIx,y.length&&(t=y[i],r.ir=t.ir,r.r=t.r),i==A-1&&o.explode&&(r.c=r.clone().radius(.15*r.r).point(r.middle())),o.reflow(x),n=o.label,n&&n.options.position===uo&&i==A-1&&(n.orientation===bo?C.push(n):k.push(n));k.length>0&&(k.sort(c.labelComparator(!0)),c.leftLabelsReflow(k)),C.length>0&&(C.sort(c.labelComparator(!1)),c.rightLabelsReflow(C)),c.box=x},leftLabelsReflow:function(e){var t=this,i=t.distanceBetweenLabels(e);t.distributeLabels(i,e)},rightLabelsReflow:function(e){var t=this,i=t.distanceBetweenLabels(e);t.distributeLabels(i,e)},distanceBetweenLabels:function(e){var t,i,n,o=this,r=o.points,a=r[r.length-1],s=a.sector,l=e[0].box,c=e.length-1,u=s.r+a.options.labels.distance,h=[];for(i=vi(l.y1-(s.c.y-u-l.height()-l.height()/2)),h.push(i),n=0;c>n;n++)l=e[n].box,t=e[n+1].box,i=vi(t.y1-l.y2),h.push(i);return i=vi(s.c.y+u-e[c].box.y2-e[c].box.height()/2),h.push(i),h},distributeLabels:function(e,t){var i,n,o,r,a=this,s=e.length;for(r=0;s>r;r++)for(n=o=r,i=-e[r];i>0&&(n>=0||s>o);)i=a._takeDistance(e,r,--n,i),i=a._takeDistance(e,r,++o,i);a.reflowLabels(e,t)},_takeDistance:function(e,t,i,n){if(e[i]>0){var o=Bt.min(e[i],n);n-=o,e[i]-=o,e[t]+=o}return n},reflowLabels:function(e,t){var i,n,o,r,a=this,s=a.points,l=s[s.length-1],c=l.sector,u=t.length,h=l.options.labels,p=h.distance,d=c.c.y-(c.r+p)-t[0].box.height();for(e[0]+=2,r=0;u>r;r++)i=t[r],d+=e[r],o=i.box,n=a.hAlignLabel(o.x2,c.clone().expand(p),d,d+o.height(),i.orientation==bo),i.orientation==bo?(h.align!==Qi&&(n=c.r+c.c.x+p),i.reflow(Wt(n+o.width(),d,n,d))):(h.align!==Qi&&(n=c.c.x-c.r-p),i.reflow(Wt(n-o.width(),d,n,d))),d+=o.height()},createVisual:function(){var e,t,i,n,r,a,s,l,c,u,h,p,d,g,f=this,m=f.options,x=m.connectors,v=f.points,y=v.length,b=4;for(Zt.fn.createVisual.call(this),this._connectorLines=[],s=0;y>s;s++)n=v[s],t=n.sector,i=t.middle(),a=n.label,r={seriesId:n.seriesIx},a&&(e=new Ii.Path({stroke:{color:x.color,width:x.width},animation:{type:Sn,delay:n.animationDelay}}),a.options.position===uo&&0!==n.value&&(l=a.box,c=t.c,u=t.point(i),h=ni(l.x1,l.center().y),u=t.clone().expand(x.padding).point(i),e.moveTo(u.x,u.y),a.orientation==bo?(d=ni(l.x1-x.padding,l.center().y),g=o(c,u,h,d),h=ni(d.x-b,d.y),g=g||h,g.x=Bt.min(g.x,h.x),f.pointInCircle(g,t.c,t.r+b)||t.c.x>g.x?(p=t.c.x+t.r+b,n.options.labels.align!==tn?h.x>p?e.lineTo(p,u.y):e.lineTo(u.x+2*b,u.y):e.lineTo(p,u.y),e.lineTo(h.x,d.y)):(g.y=d.y,e.lineTo(g.x,g.y))):(d=ni(l.x2+x.padding,l.center().y),g=o(c,u,h,d),h=ni(d.x+b,d.y),g=g||h,g.x=Bt.max(g.x,h.x),f.pointInCircle(g,t.c,t.r+b)||g.x>t.c.x?(p=t.c.x-t.r-b,n.options.labels.align!==tn?p>h.x?e.lineTo(p,u.y):e.lineTo(u.x-2*b,u.y):e.lineTo(p,u.y),e.lineTo(h.x,d.y)):(g.y=d.y,e.lineTo(g.x,g.y))),e.lineTo(d.x,d.y),this._connectorLines.push(e),this.visual.append(e)))},labelComparator:function(e){return e=e?-1:1,function(t,i){return t=(t.parent.sector.middle()+270)%360,i=(i.parent.sector.middle()+270)%360,(t-i)*e}},hAlignLabel:function(e,t,i,n,o){var r=t.c.x,a=t.c.y,s=t.r,l=Bt.min(Bt.abs(a-i),Bt.abs(a-n));return l>s?e:r+Bt.sqrt(s*s-l*l)*(o?1:-1)},pointInCircle:function(e,t,i){return h(t.x-e.x)+h(t.y-e.y)<h(i)},formatPointValue:function(e,t){return hi(t,e.value)},animationDelay:function(e){return e*po}}),Ht(et.fn,Je),tt=$e.extend({options:{overlay:{gradient:_o},labels:{position:Ki},animation:{type:ho}},reflowLabel:function(){var e,t,i=this,n=i.sector.clone(),o=i.options,r=i.label,a=o.labels,s=n.middle();r&&(t=r.box.height(),a.position==Ki?(n.r-=(n.r-n.ir)/2,e=n.point(s),r.reflow(new Wt(e.x,e.y-t/2,e.x,e.y))):$e.fn.reflowLabel.call(i))},createSegment:function(e,t){return si.current.createRing(e,t)}}),Ht(tt.fn,pe),it=et.extend({options:{startAngle:90,connectors:{width:1,color:\"#939393\",padding:4}},addValue:function(e,t,i){var n,o=this,r=Ht({},i.series,{index:i.index});o.evalSegmentOptions(r,e,i),o.createLegendItem(e,r,i),e&&i.visible!==!1&&(n=new tt(e,t,r),Et(n,i),o.append(n),o.points.push(n))},reflow:function(e){var t,i,n,o,r,a,s=this,l=s.options,c=e.clone(),u=5,h=Bt.min(c.width(),c.height()),p=h/2,d=h-.85*h,g=Ti(l.padding,d),f=l.series,m=f.length,x=0,v=0,y=0,b=0;for(s.seriesConfigs=[],g=g>p-u?p-u:g,n=p-g,r=0;m>r;r++)t=f[r],0===r&&wi(t.holeSize)&&(i=t.holeSize,n-=t.holeSize),wi(t.size)?n-=t.size:x++,wi(t.margin)&&r!=m-1&&(n-=t.margin);for(wi(i)||(b=(p-g)/(m+.75),i=.75*b,n-=i),y=i,r=0;m>r;r++)t=f[r],o=Ti(t.size,n/x),y+=v,a=y+o,s.seriesConfigs.push({ir:y,r:a}),v=t.margin||0,y=a;et.fn.reflow.call(s,e)},animationDelay:function(e,t,i){return e*mn+En*(t+1)/(i+1)}}),nt=ye.extend({render:function(){ye.fn.render.call(this),this.createSegments()},traverseDataPoints:function(e){var t,i,n,o,r,a,s,l,c,h,p=this.options.series,d=this.categoryAxis.options.categories||[],g=u(p),f=!this.options.invertAxes;for(t=0;p.length>t;t++)for(i=p[t],n=0,o=0,r=0;g>r;r++)a=ie.current.bindPoint(i,r),s=a.valueFields.value,l=a.fields.summary,c=n,l?\"total\"===l.toLowerCase()?(a.valueFields.value=n,c=0,h=n):(a.valueFields.value=o,h=c-o,o=0):B(s)&&(o+=s,n+=s,h=n),e(a,{category:d[r],categoryIx:r,series:i,seriesIx:t,total:n,runningTotal:o,from:c,to:h,isVertical:f})},updateRange:function(e,t){ye.fn.updateRange.call(this,{value:t.to},t)},aboveAxis:function(e){return e.value>=0},plotRange:function(e){return[e.from,e.to]},createSegments:function(){var e,t,i,n,o,r,a,s=this.options.series,l=this.seriesPoints,c=this.segments=[];for(e=0;s.length>e;e++)if(t=s[e],i=l[e])for(o=0;i.length>o;o++)r=i[o],r&&n&&(a=new ot(n,r,t),c.push(a),this.append(a)),n=r}}),ot=Zt.extend({init:function(e,t,i){var n=this;Zt.fn.init.call(n),n.from=e,n.to=t,n.series=i},options:{animation:{type:Sn,delay:En}},linePoints:function(){var e,t,i=[],n=this.from,o=n.box,r=this.to.box;return n.isVertical?(e=n.aboveAxis?o.y1:o.y2,i.push([o.x1,e],[r.x2,e])):(t=n.aboveAxis?o.x2:o.x1,i.push([t,o.y1],[t,r.y2])),i},createVisual:function(){var e,t;Zt.fn.createVisual.call(this),e=this.series.line||{},t=Ii.Path.fromPoints(this.linePoints(),{stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType}}),ui(t),this.visual.append(t)}}),rt=Kt.extend({init:function(e){var t=this;Kt.fn.init.call(t,e),e=t.options,t.id=zt.guid(),t.createTitle(),t.content=new Zt,t.chartContainer=new at({},t),t.append(t.content),t.axes=[],t.charts=[]},options:{zIndex:-1,shrinkToFit:!0,title:{align:Fn},visible:!0},createTitle:function(){var e=this,t=e.options.title;typeof t===lo&&(t=Ht({},t,{align:t.position,position:Xo})),e.title=ci.buildTitle(t,e,rt.fn.options.title)},appendAxis:function(e){var t=this;t.content.append(e),t.axes.push(e),e.pane=t},appendChart:function(e){var t=this;t.chartContainer.parent!==t.content&&t.content.append(t.chartContainer),t.charts.push(e),t.chartContainer.append(e),e.pane=t},empty:function(){var e,t=this,i=t.parent;if(i){for(e=0;t.axes.length>e;e++)i.removeAxis(t.axes[e]);for(e=0;t.charts.length>e;e++)i.removeChart(t.charts[e])}t.axes=[],t.charts=[],t.content.destroy(),t.content.children=[],t.chartContainer.children=[]},reflow:function(e){var t,i=this;_i(i.children)===i.content&&(t=i.children.pop()),Kt.fn.reflow.call(i,e),t&&i.children.push(t),i.title&&(i.contentBox.y1+=i.title.box.height())},visualStyle:function(){var e=Kt.fn.visualStyle.call(this);return e.zIndex=-10,e},renderComplete:function(){this.options.visible&&this.createGridLines()},stackRoot:i,clipRoot:i,createGridLines:function(){var e,t,i,n,o,r,a=this,s=a.axes,l=s.concat(a.parent.axes),c=[],u=[];for(t=0;s.length>t;t++)for(n=s[t],o=n.options.vertical,e=o?c:u,i=0;l.length>i;i++)0===e.length&&(r=l[i],o!==r.options.vertical&&bi(e,n.createGridLines(r)))},refresh:function(){this.visual.clear(),this.content.parent=null,this.content.createGradient=e.proxy(this.createGradient,this),this.content.renderVisual(),this.content.parent=this,this.title&&this.visual.append(this.title.visual),this.visual.append(this.content.visual),this.renderComplete()},clipBox:function(){return this.chartContainer.clipBox}}),at=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,e),i.pane=t},shouldClip:function(){var e,t=this,i=t.children,n=i.length;for(e=0;n>e;e++)if(i[e].options.clip===!0)return!0;return!1},_clipBox:function(){var e,t,i,n,o=this,r=o.pane,a=r.axes,s=a.length,l=r.box.clone();for(t=0;s>t;t++)n=a[t],e=n.options.vertical?lr:sr,i=n.lineBox(),l[e+1]=i[e+1],l[e+2]=i[e+2];return l},createVisual:function(){var e,t,i;this.visual=new Ii.Group({zIndex:0}),this.shouldClip()&&(e=this.clipBox=this._clipBox(),t=e.toRect(),i=Ii.Path.fromRect(t),this.visual.clip(i),this.unclipLabels())},stackRoot:i,unclipLabels:function(){var e,t,i,n,o,r=this,a=r.children,s=r.clipBox;for(i=0;a.length>i;i++)for(e=a[i].points||{},o=e.length,n=0;o>n;n++)t=e[n],t&&t.label&&t.label.options.visible&&t.overlapsBox(s)&&(t.label.alignToClipBox&&t.label.alignToClipBox(s),t.label.options.noclip=!0)},destroy:function(){Zt.fn.destroy.call(this),delete this.parent}}),st=Zt.extend({init:function(e,t){var i=this;Zt.fn.init.call(i,t),i.series=e,i.initSeries(),i.charts=[],i.options.legend.items=[],i.axes=[],i.crosshairs=[],i.createPanes(),i.render(),i.createCrosshairs()},options:{series:[],plotArea:{margin:{}},background:\"\",border:{color:Hi,width:0},legend:{inactiveItems:{labels:{color:\"#919191\"},markers:{color:\"#919191\"}}}},initSeries:function(){var e,t,i=this.series;for(e=0;i.length>e;e++)t=i[e],t.index=e},createPanes:function(){function e(e,t){\"string\"==typeof e.title&&(e.title={text:e.title}),e.title=Ht({},t.title,e.title)}var t,i,n,o=this,r={title:{color:(o.options.title||{}).color}},a=[],s=o.options.panes||[],l=Bt.max(s.length,1);for(t=0;l>t;t++)n=s[t]||{},e(n,r),i=new rt(n),i.paneIndex=t,a.push(i),o.append(i);o.panes=a},createCrosshairs:function(e){var t,i,n,o,r,a=this;for(e=e||a.panes,t=0;e.length>t;t++)for(n=e[t],i=0;n.axes.length>i;i++)o=n.axes[i],o.options.crosshair&&o.options.crosshair.visible&&(r=new yt(o,o.options.crosshair),a.crosshairs.push(r),n.content.append(r))},removeCrosshairs:function(e){var t,i,n=this,o=n.crosshairs,r=e.axes;for(t=o.length-1;t>=0;t--)for(i=0;r.length>i;i++)if(o[t].axis===r[i]){o.splice(t,1);break}},hideCrosshairs:function(){var e,t=this.crosshairs;for(e=0;t.length>e;e++)t[e].hide()},findPane:function(e){var t,i,n=this,o=n.panes;for(t=0;o.length>t;t++)if(o[t].options.name===e){i=o[t];break}return i||o[0]},findPointPane:function(e){var t,i,n=this,o=n.panes;for(t=0;o.length>t;t++)if(o[t].box.containsPoint(e)){i=o[t];break}return i},appendAxis:function(e){var t=this,i=t.findPane(e.options.pane);i.appendAxis(e),t.axes.push(e),e.plotArea=t},removeAxis:function(e){var t,i,n=this,o=[];for(t=0;n.axes.length>t;t++)i=n.axes[t],e!==i?o.push(i):i.destroy();n.axes=o},appendChart:function(e,t){var i=this;i.charts.push(e),t?t.appendChart(e):i.append(e)},removeChart:function(e){var t,i,n=this,o=[];for(t=0;n.charts.length>t;t++)i=n.charts[t],i!==e?o.push(i):i.destroy();n.charts=o},addToLegend:function(e){var t,i,n,o,r,a,s,l,c,u=e.length,h=[],p=this.options.legend,d=p.labels||{},g=p.inactiveItems||{},f=g.labels||{};for(t=0;u>t;t++)i=e[t],l=i.visible!==!1,i.visibleInLegend!==!1&&(n=i.name||\"\",c=l?d.template:f.template||d.template,c&&(n=Gt(c)({text:n,series:i})),o=i.color,s=i._defaults,jt(o)&&s&&(o=s.color),l?(r={},a=o):(r={color:f.color,font:f.font},a=g.markers.color),n&&h.push({text:n,labels:r,markerColor:a,series:i,active:l}));bi(p.items,h)},groupAxes:function(e){var t,i,n,o,r=[],a=[];for(n=0;e.length>n;n++)for(t=e[n].axes,o=0;t.length>o;o++)i=t[o],i.options.vertical?a.push(i):r.push(i);return{x:r,y:a,any:r.concat(a)}},groupSeriesByPane:function(){var e,t,i,n=this,o=n.series,r={};for(e=0;o.length>e;e++)i=o[e],t=n.seriesPaneName(i),r[t]?r[t].push(i):r[t]=[i];return r},filterVisibleSeries:function(e){var t,i,n=[];for(t=0;e.length>t;t++)i=e[t],i.visible!==!1&&n.push(i);return n},reflow:function(e){var t=this,i=t.options.plotArea,n=t.panes,o=gi(i.margin);t.box=e.clone().unpad(o),t.reflowPanes(),t.reflowAxes(n),t.reflowCharts(n)},redraw:function(e){var t,i=this;for(e=[].concat(e),this.initSeries(),t=0;e.length>t;t++)i.removeCrosshairs(e[t]),e[t].empty();for(i.render(e),i.reflowAxes(i.panes),i.reflowCharts(e),i.createCrosshairs(e),t=0;e.length>t;t++)e[t].refresh()},axisCrossingValues:function(e,t){var i,n=e.options,o=[].concat(n.axisCrossingValues||n.axisCrossingValue),r=t.length-o.length,a=o[0]||0;for(i=0;r>i;i++)o.push(a);return o},alignAxisTo:function(e,t,i,n){var o=e.getSlot(i,i,!0),r=e.options.reverse?2:1,a=t.getSlot(n,n,!0),s=t.options.reverse?2:1,l=e.box.translate(a[sr+s]-o[sr+r],a[lr+s]-o[lr+r]);e.pane!==t.pane&&l.translate(0,e.pane.box.y1-t.pane.box.y1),e.reflow(l)},alignAxes:function(e,t){var i,n,o,r,a=this,s=e[0],l=t[0],c=a.axisCrossingValues(s,t),u=a.axisCrossingValues(l,e),h={},p={},d={},g={};for(r=0;t.length>r;r++)o=t[r],i=o.pane,n=i.id,a.alignAxisTo(o,s,u[r],c[r]),o.options._overlap||(vi(o.lineBox().x1)===vi(s.lineBox().x1)&&(h[n]&&o.reflow(o.box.alignTo(h[n].box,Fn).translate(-o.options.margin,0)),h[n]=o),vi(o.lineBox().x2)===vi(s.lineBox().x2)&&(o._mirrored||(o.options.labels.mirror=!o.options.labels.mirror,o._mirrored=!0),a.alignAxisTo(o,s,u[r],c[r]),p[n]&&o.reflow(o.box.alignTo(p[n].box,bo).translate(o.options.margin,0)),p[n]=o),0!==r&&l.pane===o.pane&&(o.alignTo(l),o.reflow(o.box)));for(r=0;e.length>r;r++)o=e[r],i=o.pane,n=i.id,a.alignAxisTo(o,l,c[r],u[r]),o.options._overlap||(vi(o.lineBox().y1)===vi(l.lineBox().y1)&&(o._mirrored||(o.options.labels.mirror=!o.options.labels.mirror,o._mirrored=!0),a.alignAxisTo(o,l,c[r],u[r]),d[n]&&o.reflow(o.box.alignTo(d[n].box,Xo).translate(0,-o.options.margin)),d[n]=o),vi(o.lineBox().y2,nn)===vi(l.lineBox().y2,nn)&&(g[n]&&o.reflow(o.box.alignTo(g[n].box,ji).translate(0,o.options.margin)),g[n]=o),0!==r&&(o.alignTo(s),o.reflow(o.box)))},shrinkAxisWidth:function(e){var t,i,n,o=this,r=o.groupAxes(e).any,a=P(r),s=0;for(t=0;e.length>t;t++)i=e[t],i.axes.length>0&&(s=Bt.max(s,a.width()-i.contentBox.width()));if(0!==s)for(t=0;r.length>t;t++)n=r[t],n.options.vertical||n.reflow(n.box.shrink(s,0))},shrinkAxisHeight:function(e){var t,i,n,o,r,a,s;for(t=0;e.length>t;t++)if(i=e[t],n=i.axes,o=Bt.max(0,P(n).height()-i.contentBox.height()),0!==o){for(r=0;n.length>r;r++)a=n[r],a.options.vertical&&a.reflow(a.box.shrink(0,o));s=!0}return s},fitAxes:function(e){var t,i,n,o,r,a,s,l,c=this,u=c.groupAxes(e).any,h=0;for(s=0;e.length>s;s++)if(r=e[s],t=r.axes,i=r.contentBox,t.length>0)for(n=P(t),h=Bt.max(h,i.x1-n.x1),o=Bt.max(i.y1-n.y1,i.y2-n.y2),l=0;t.length>l;l++)a=t[l],a.reflow(a.box.translate(0,o));for(s=0;u.length>s;s++)a=u[s],a.reflow(a.box.translate(h,0))},reflowAxes:function(e){var t,i=this,n=i.groupAxes(e);for(t=0;e.length>t;t++)i.reflowPaneAxes(e[t]);n.x.length>0&&n.y.length>0&&(i.alignAxes(n.x,n.y),i.shrinkAxisWidth(e),i.autoRotateAxisLabels(n),i.alignAxes(n.x,n.y),i.shrinkAxisWidth(e)&&i.alignAxes(n.x,n.y),i.shrinkAxisHeight(e),i.alignAxes(n.x,n.y),i.shrinkAxisHeight(e)&&i.alignAxes(n.x,n.y),i.fitAxes(e))},autoRotateAxisLabels:function(e){var t,i,n,o=this.axes,r=this.panes;for(i=0;o.length>i;i++)t=o[i],t.autoRotateLabels()&&(n=!0);if(n){for(i=0;r.length>i;i++)this.reflowPaneAxes(r[i]);e.x.length>0&&e.y.length>0&&(this.alignAxes(e.x,e.y),this.shrinkAxisWidth(r))}},reflowPaneAxes:function(e){var t,i=e.axes,n=i.length;if(n>0)for(t=0;n>t;t++)i[t].reflow(e.contentBox)},reflowCharts:function(e){var t,i,n=this,o=n.charts,r=o.length,a=n.box;for(i=0;r>i;i++)t=o[i].pane,(!t||fi(t,e))&&o[i].reflow(a)},reflowPanes:function(){var e,t,i,n,o,r=this,a=r.box,s=r.panes,l=s.length,c=a.height(),u=l,h=0,p=a.y1;for(e=0;l>e;e++)t=s[e],n=t.options.height,t.options.width=a.width(),t.options.height?(n.indexOf&&n.indexOf(\"%\")&&(o=parseInt(n,10)/100,t.options.height=o*a.height()),t.reflow(a.clone()),c-=t.options.height):h++;for(e=0;l>e;e++)t=s[e],t.options.height||(t.options.height=c/h);for(e=0;l>e;e++)t=s[e],i=a.clone().move(a.x1,p),t.reflow(i),u--,p+=t.options.height},backgroundBox:function(){var e,t,i,n,o,r,a=this,s=a.axes,l=s.length;for(i=0;l>i;i++)for(o=s[i],n=0;l>n;n++)r=s[n],o.options.vertical!==r.options.vertical&&(e=o.lineBox().clone().wrap(r.lineBox()),t=t?t.wrap(e):e);return t||a.box},createVisual:function(){var e,t,i,n,o,r;Zt.fn.createVisual.call(this),e=this.backgroundBox(),t=this.options.plotArea,i=t.border||{},n=t.background,o=t.opacity,yi.isTransparent(n)&&(n=ar,o=0),r=this._bgVisual=Ii.Path.fromRect(e.toRect(),{fill:{color:n,opacity:o},stroke:{color:i.width?i.color:\"\",width:i.width,dashType:i.dashType},zIndex:-1}),this.appendVisual(r)},pointsByCategoryIndex:function(e){var t,i,n,o,r,a=this.charts,s=[];if(null!==e)for(t=0;a.length>t;t++)if(r=a[t],\"_navigator\"!==r.pane.options.name&&(n=a[t].categoryPoints[e],n&&n.length))for(i=0;n.length>i;i++)o=n[i],o&&wi(o.value)&&null!==o.value&&s.push(o);return s},pointsBySeriesIndex:function(e){var t,i,n,o,r,a=this.charts,s=[];for(n=0;a.length>n;n++)for(r=a[n],t=r.points,o=0;t.length>o;o++)i=t[o],i&&i.options.index===e&&s.push(i);return s},pointsBySeriesName:function(e){return this.filterPoints(function(t){return t.series.name===e})},filterPoints:function(e){var t,i,n,o,r,a=this.charts,s=[];for(n=0;a.length>n;n++)for(r=a[n],t=r.points,o=0;t.length>o;o++)i=t[o],i&&e(i)&&s.push(i);return s},paneByPoint:function(e){var t,i,n=this,o=n.panes;for(i=0;o.length>i;i++)if(t=o[i],t.box.containsPoint(e))return t}}),lt=st.extend({init:function(e,t){var i,n,o=this;if(o.namedCategoryAxes={},o.namedValueAxes={},o.valueAxisRangeTracker=new ct,e.length>0)for(o.invertAxes=fi(e[0].type,[Oi,Yi,nr,er,xo,Bn,tr]),i=0;e.length>i;i++)if(n=e[i].stack,n&&\"100%\"===n.type){o.stack100=!0;break}st.fn.init.call(o,e,t)},options:{categoryAxis:{categories:[]},valueAxis:{}},render:function(e){var t=this;e=e||t.panes,t.createCategoryAxes(e),t.aggregateCategories(e),t.createCategoryAxesLabels(e),t.createCharts(e),t.createValueAxes(e)},removeAxis:function(e){var t=this,i=e.options.name;st.fn.removeAxis.call(t,e),e instanceof se?delete t.namedCategoryAxes[i]:(t.valueAxisRangeTracker.reset(i),delete t.namedValueAxes[i]),e===t.categoryAxis&&delete t.categoryAxis,e===t.valueAxis&&delete t.valueAxis},createCharts:function(e){var t,i,n,o,r,a,s=this.groupSeriesByPane();\r\nfor(t=0;e.length>t;t++)if(i=e[t],n=s[i.options.name||\"default\"]||[],this.addToLegend(n),o=this.filterVisibleSeries(n))for(r=this.groupSeriesByCategoryAxis(o),a=0;r.length>a;a++)this.createChartGroup(r[a],i)},createChartGroup:function(e,t){this.createAreaChart(M(e,[Li,er]),t),this.createBarChart(M(e,[tn,Oi]),t),this.createRangeBarChart(M(e,[vo,xo]),t),this.createBulletChart(M(e,[Yi,ir]),t),this.createCandlestickChart(M(e,Xi),t),this.createBoxPlotChart(M(e,[Gi,tr]),t),this.createOHLCChart(M(e,co),t),this.createWaterfallChart(M(e,[or,Bn]),t),this.createLineChart(M(e,[Nn,nr]),t)},aggregateCategories:function(e){var t,i,n,o,r,a=this,s=a.srcSeries||a.series,l=[];for(t=0;s.length>t;t++)i=s[t],n=a.seriesCategoryAxis(i),o=a.findPane(n.options.pane),r=T(n.options.type,ln),(r||i.categoryField)&&fi(o,e)?i=a.aggregateSeries(i,n):(B(n.options.min)||B(n.options.max))&&(i=a.filterSeries(i,n)),l.push(i);a.srcSeries=s,a.series=l},filterSeries:function(e,t){var i,n,o,r=t.totalRangeIndices(),a=t.options.justified,s=fi(e.type,[Nn,nr,Li,er]);return r.min=B(t.options.min)?Bt.floor(r.min):0,r.max=B(t.options.max)?a?Bt.floor(r.max)+1:Bt.ceil(r.max):e.data.length,e=Ht({},e),s&&(n=r.min-1,o=t.options.srcCategories||[],n>=0&&e.data.length>n&&(i=n,e._outOfRangeMinPoint={item:e.data[i],category:o[i],categoryIx:-1}),e.data.length>r.max&&(i=r.max,e._outOfRangeMaxPoint={item:e.data[i],category:o[i],categoryIx:r.max-r.min})),t._seriesMax=Bt.max(t._seriesMax||0,e.data.length),e.data=(e.data||[]).slice(r.min,r.max),e},aggregateSeries:function(e,t){var i,o,r,a,s,l,c,u=t.options,h=T(t.options.type,ln),g=u.categories,f=u.srcCategories||g,m=e.data,x=[],v=Ht({},e),y=Ht({},e),b=u.dataItems||[],w=p,_=yi.MIN_NUM,A=yi.MAX_NUM,k=fi(e.type,[Nn,nr,Li,er]);for(v.data=a=[],h&&(w=d),i=0;m.length>i;i++)o=e.categoryField?w(e.categoryField,m[i]):f[i],wi(o)&&(r=t.categoryIndex(o),r>=0&&g.length>r?(x[r]=x[r]||[],x[r].push(i)):k&&(0>r?r==_?l.points.push(i):r>_&&(_=r,l={category:o,points:[i]}):r>=g.length&&(r==A?c.points.push(i):A>r&&(A=r,c={category:o,points:[i]}))));for(s=new St(y,ie.current,n.current),i=0;g.length>i;i++)a[i]=s.aggregatePoints(x[i],g[i]),x[i]&&(b[i]=a[i]);return l&&a.length&&(v._outOfRangeMinPoint={item:s.aggregatePoints(l.points,l.category),categoryIx:_,category:l.category}),c&&a.length&&(v._outOfRangeMaxPoint={item:s.aggregatePoints(c.points,c.category),categoryIx:A,category:c.category}),t.options.dataItems=b,v},appendChart:function(e,t){for(var i=this,n=e.options.series,o=i.seriesCategoryAxis(n[0]),r=o.options.categories,a=Bt.max(0,u(n)-r.length);a--;)r.push(\"\");i.valueAxisRangeTracker.update(e.valueAxisRanges),st.fn.appendChart.call(i,e,t)},seriesPaneName:function(t){var i=this,n=i.options,o=t.axis,r=[].concat(n.valueAxis),a=e.grep(r,function(e){return e.name===o})[0],s=n.panes||[{}],l=(s[0]||{}).name||\"default\",c=(a||{}).pane||l;return c},seriesCategoryAxis:function(e){var t=this,i=e.categoryAxis,n=i?t.namedCategoryAxes[i]:t.categoryAxis;if(!n)throw Error(\"Unable to locate category axis with name \"+i);return n},stackableChartOptions:function(e,t){var i,n=e.stack,o=n&&\"100%\"===n.type;return wi(t.options.clip)?i=t.options.clip:o&&(i=!1),{isStacked:n,isStacked100:o,clip:i}},groupSeriesByCategoryAxis:function(i){function n(t,n){return e.grep(i,function(e){return 0===n&&!e.categoryAxis||e.categoryAxis==t})}var o,r,a,s={},l=e.map(i,function(e){var i=e.categoryAxis||\"$$default$$\";return s.hasOwnProperty(i)?t:(s[i]=!0,i)}),c=[];for(o=0;l.length>o;o++)r=l[o],a=n(r,o),0!==a.length&&c.push(a);return c},createBarChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new ye(i,Et({series:e,invertAxes:i.invertAxes,gap:n.gap,spacing:n.spacing},i.stackableChartOptions(n,t)));i.appendChart(o,t)}},createRangeBarChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new we(i,{series:e,invertAxes:i.invertAxes,gap:n.gap,spacing:n.spacing});i.appendChart(o,t)}},createBulletChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new _e(i,{series:e,invertAxes:i.invertAxes,gap:n.gap,spacing:n.spacing,clip:t.options.clip});i.appendChart(o,t)}},createLineChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new Le(i,Et({invertAxes:i.invertAxes,series:e},i.stackableChartOptions(n,t)));i.appendChart(o,t)}},createAreaChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new Fe(i,Et({invertAxes:i.invertAxes,series:e},i.stackableChartOptions(n,t)));i.appendChart(o,t)}},createOHLCChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new We(i,{invertAxes:i.invertAxes,gap:n.gap,series:e,spacing:n.spacing,clip:t.options.clip});i.appendChart(o,t)}},createCandlestickChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new Ye(i,{invertAxes:i.invertAxes,gap:n.gap,series:e,spacing:n.spacing,clip:t.options.clip});i.appendChart(o,t)}},createBoxPlotChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new Ke(i,{invertAxes:i.invertAxes,gap:n.gap,series:e,spacing:n.spacing,clip:t.options.clip});i.appendChart(o,t)}},createWaterfallChart:function(e,t){if(0!==e.length){var i=this,n=e[0],o=new nt(i,{series:e,invertAxes:i.invertAxes,gap:n.gap,spacing:n.spacing});i.appendChart(o,t)}},axisRequiresRounding:function(e,t){var i,n,o,r,a=this,s=M(a.series,mr);for(i=0;a.series.length>i;i++)o=a.series[i],(o.type===Nn||o.type===Li)&&(r=o.line,r&&r.style===Bo&&s.push(o));for(i=0;s.length>i;i++)if(n=s[i].categoryAxis||\"\",n===e||!n&&0===t)return!0},aggregatedAxis:function(e,t){var i,n,o=this,r=o.series;for(i=0;r.length>i;i++)if(n=r[i].categoryAxis||\"\",(n===e||!n&&0===t)&&r[i].categoryField)return!0},createCategoryAxesLabels:function(){var e,t=this.axes;for(e=0;t.length>e;e++)t[e]instanceof se&&t[e].createLabels()},createCategoryAxes:function(e){var t,i,n,o,r,a,s,l,c=this,u=c.invertAxes,h=[].concat(c.options.categoryAxis),p=[];for(t=0;h.length>t;t++)if(i=h[t],n=c.findPane(i.pane),fi(n,e)){if(a=i.name,o=i.categories||[],r=i.type||\"\",i=Ht({vertical:u,axisCrossingValue:u?Wn:0,_deferLabels:!0},i),wi(i.justified)||(i.justified=c.isJustified()),c.axisRequiresRounding(a,t)&&(i.justified=!1),s=N(i,o[0])?new le(i):new se(i),a){if(c.namedCategoryAxes[a])throw Error(\"Category axis with name \"+a+\" is already defined\");c.namedCategoryAxes[a]=s}s.axisIndex=t,p.push(s),c.appendAxis(s)}l=c.categoryAxis||p[0],c.categoryAxis=l,u?c.axisY=l:c.axisX=l},isJustified:function(){var e,t,i=this,n=i.series;for(e=0;n.length>e;e++)if(t=n[e],!fi(t.type,[Li,er]))return!1;return!0},createValueAxes:function(e){var t,i,n,o,r,a,s,l,c,u=this,h=u.valueAxisRangeTracker,p=h.query(),d=[].concat(u.options.valueAxis),g=u.invertAxes,f={vertical:!g},m=[];for(u.stack100&&(f.roundToMajorUnit=!1,f.labels={format:\"P0\"}),c=0;d.length>c;c++)if(t=d[c],i=u.findPane(t.pane),fi(i,e)){if(l=t.name,s=T(t.type,qn)?{min:.1,max:1}:{min:0,max:1},r=h.query(l)||p||s,0===c&&r&&p&&(r.min=Bt.min(r.min,p.min),r.max=Bt.max(r.max,p.max)),a=T(t.type,qn)?ti:ii,n=new a(r.min,r.max,Ht({},f,t)),l){if(u.namedValueAxes[l])throw Error(\"Value axis with name \"+l+\" is already defined\");u.namedValueAxes[l]=n}n.axisIndex=c,m.push(n),u.appendAxis(n)}o=u.valueAxis||m[0],u.valueAxis=o,g?u.axisX=o:u.axisY=o},hover:function(e,t){this._dispatchEvent(e,t,fo)},click:function(e,t){this._dispatchEvent(e,t,go)},_dispatchEvent:function(e,t,i){var n,o,r,a=this,s=e._eventCoordinates(t),l=new ni(s.x,s.y),c=a.pointPane(l),u=[],h=[];if(c){for(n=c.axes,o=0;n.length>o;o++)r=n[o],r.getValue?I(h,r.getValue(l)):I(u,r.getCategory(l));0===u.length&&I(u,a.categoryAxis.getCategory(l)),u.length>0&&h.length>0&&e.trigger(i,{element:di(t),originalEvent:t,category:S(u),value:S(h)})}},pointPane:function(e){var t,i,n=this,o=n.panes;for(i=0;o.length>i;i++)if(t=o[i],t.contentBox.containsPoint(e))return t},updateAxisOptions:function(e,t){var i=[].concat(e instanceof se?this.options.categoryAxis:this.options.valueAxis);Ht(i[e.axisIndex],t)}}),ct=Ot.extend({init:function(){var e=this;e.axisRanges={}},update:function(e){var t,i,n,o=this,r=o.axisRanges;for(n in e)t=r[n],i=e[n],r[n]=t=t||{min:Wn,max:Zn},t.min=Bt.min(t.min,i.min),t.max=Bt.max(t.max,i.max)},reset:function(e){this.axisRanges[e]=t},query:function(e){return this.axisRanges[e]}}),ut=st.extend({init:function(e,t){var i=this;i.namedXAxes={},i.namedYAxes={},i.xAxisRangeTracker=new ct,i.yAxisRangeTracker=new ct,st.fn.init.call(i,e,t)},options:{xAxis:{},yAxis:{}},render:function(e){var t,i,n,o,r=this,a=r.groupSeriesByPane();for(e=e||r.panes,t=0;e.length>t;t++)i=e[t],n=a[i.options.name||\"default\"]||[],r.addToLegend(n),o=r.filterVisibleSeries(n),o&&(r.createScatterChart(M(o,Ao),i),r.createScatterLineChart(M(o,ko),i),r.createBubbleChart(M(o,qi),i));r.createAxes(e)},appendChart:function(e,t){var i=this;i.xAxisRangeTracker.update(e.xAxisRanges),i.yAxisRangeTracker.update(e.yAxisRanges),st.fn.appendChart.call(i,e,t)},removeAxis:function(e){var t=this,i=e.options.name;st.fn.removeAxis.call(t,e),e.options.vertical?(t.yAxisRangeTracker.reset(i),delete t.namedYAxes[i]):(t.xAxisRangeTracker.reset(i),delete t.namedXAxes[i]),e===t.axisX&&delete t.axisX,e===t.axisY&&delete t.axisY},seriesPaneName:function(t){var i=this,n=i.options,o=t.xAxis,r=[].concat(n.xAxis),a=e.grep(r,function(e){return e.name===o})[0],s=t.yAxis,l=[].concat(n.yAxis),c=e.grep(l,function(e){return e.name===s})[0],u=n.panes||[{}],h=u[0].name||\"default\",p=(a||{}).pane||(c||{}).pane||h;return p},createScatterChart:function(e,t){var i=this;e.length>0&&i.appendChart(new Ne(i,{series:e,clip:t.options.clip}),t)},createScatterLineChart:function(e,t){var i=this;e.length>0&&i.appendChart(new je(i,{series:e,clip:t.options.clip}),t)},createBubbleChart:function(e,t){var i=this;e.length>0&&i.appendChart(new Ge(i,{series:e,clip:t.options.clip}),t)},createXYAxis:function(e,t,i){var n,o,r,a,s,l,c,u,h=this,p=e.name,d=t?h.namedYAxes:h.namedXAxes,g=t?h.yAxisRangeTracker:h.xAxisRangeTracker,f=Ht({},e,{vertical:t}),m=T(f.type,qn),x=g.query(),v=m?{min:.1,max:1}:{min:0,max:1},y=g.query(p)||x||v,b=h.series,w=[f.min,f.max];for(r=0;b.length>r;r++)if(a=b[r],s=a[t?\"yAxis\":\"xAxis\"],s==f.name||0===i&&!s){l=ie.current.bindPoint(a,0).valueFields,w.push(l[t?\"y\":\"x\"]);break}for(0===i&&x&&(y.min=Bt.min(y.min,x.min),y.max=Bt.max(y.max,x.max)),u=0;w.length>u;u++)if(w[u]instanceof Date){c=!0;break}if(o=T(f.type,ln)||!f.type&&c?ce:m?ti:ii,n=new o(y.min,y.max,f),p){if(d[p])throw Error((t?\"Y\":\"X\")+\" axis with name \"+p+\" is already defined\");d[p]=n}return h.appendAxis(n),n},createAxes:function(e){var t,i=this,n=i.options,o=[].concat(n.xAxis),r=[],a=[].concat(n.yAxis),s=[];Tt(o,function(n){t=i.findPane(this.pane),fi(t,e)&&r.push(i.createXYAxis(this,!1,n))}),Tt(a,function(n){t=i.findPane(this.pane),fi(t,e)&&s.push(i.createXYAxis(this,!0,n))}),i.axisX=i.axisX||r[0],i.axisY=i.axisY||s[0]},click:function(e,t){var i,n,o,r,a=this,s=e._eventCoordinates(t),l=new ni(s.x,s.y),c=a.axes,u=c.length,h=[],p=[];for(i=0;u>i;i++)n=c[i],r=n.options.vertical?p:h,o=n.getValue(l),null!==o&&r.push(o);h.length>0&&p.length>0&&e.trigger(go,{element:di(t),originalEvent:t,x:S(h),y:S(p)})},updateAxisOptions:function(e,t){var i=e.options.vertical,n=this.groupAxes(this.panes),o=F(e,i?n.y:n.x),r=[].concat(i?this.options.yAxis:this.options.xAxis)[o];Ht(r,t)}}),ht=st.extend({render:function(){var e=this,t=e.series;e.createPieChart(t)},createPieChart:function(e){var t=this,i=e[0],n=new et(t,{series:e,padding:i.padding,startAngle:i.startAngle,connectors:i.connectors,legend:t.options.legend});t.appendChart(n)},appendChart:function(e,t){st.fn.appendChart.call(this,e,t),bi(this.options.legend.items,e.legendItems)}}),pt=ht.extend({render:function(){var e=this,t=e.series;e.createDonutChart(t)},createDonutChart:function(e){var t=this,i=e[0],n=new it(t,{series:e,padding:i.padding,connectors:i.connectors,legend:t.options.legend});t.appendChart(n)}}),dt=Ii.Animation.extend({options:{easing:\"easeOutElastic\",duration:En},setup:function(){this.element.transform(Ri.transform().scale(Vo,Vo,this.options.center))},step:function(e){this.element.transform(Ri.transform().scale(e,e,this.options.center))}}),Ii.AnimationFactory.current.register(ho,dt),gt=Ii.Animation.extend({options:{easing:\"easeOutElastic\"},setup:function(){var e=this.center=this.element.bbox().center();this.element.transform(Ri.transform().scale(Vo,Vo,e))},step:function(e){this.element.transform(Ri.transform().scale(e,e,this.center))}}),Ii.AnimationFactory.current.register(qi,gt),ft=Ot.extend({init:function(){this._points=[]},destroy:function(){this._points=[]},show:function(e){var t,i;for(e=[].concat(e),this.hide(),t=0;e.length>t;t++)i=e[t],i&&i.toggleHighlight&&i.hasHighlight()&&(this.togglePointHighlight(i,!0),this._points.push(i))},togglePointHighlight:function(e,t){var i,n=(e.options.highlight||{}).toggle;n?(i={category:e.category,series:e.series,dataItem:e.dataItem,value:e.value,preventDefault:W,visual:e.highlightVisual(),show:t},n(i),i._defaultPrevented||e.toggleHighlight(t)):e.toggleHighlight(t)},hide:function(){for(var e=this._points;e.length;)this.togglePointHighlight(e.pop(),!1)},isHighlighted:function(e){var t,i,n=this._points;for(t=0;n.length>t;t++)if(i=n[t],e==i)return!0;return!1}}),mt=Mt.extend({init:function(t,i){var n,o,r=this;Mt.fn.init.call(r),r.options=Ht({},r.options,i),r.chartElement=t,r.template=mt.template,r.template||(r.template=mt.template=Pi(\"<div class='\"+rn+\"tooltip \"+rn+\"chart-tooltip' style='display:none; position: absolute; font: #= d.font #;border: #= d.border.width #px solid;opacity: #= d.opacity #; filter: alpha(opacity=#= d.opacity * 100 #);'></div>\")),n=gi(r.options.padding||{},\"auto\"),r.element=e(r.template(r.options)).css({\"padding-top\":n.top,\"padding-right\":n.right,\"padding-bottom\":n.bottom,\"padding-left\":n.left}),r.move=Dt(r.move,r),r._mouseleave=Dt(r._mouseleave,r),o=zt.format(\"[{0}='content'],[{0}='scroller']\",zt.attr(\"role\")),r._mobileScroller=t.closest(o).data(\"kendoMobileScroller\")},destroy:function(){this._clearShowTimeout(),this.element&&(this.element.off(Jn).remove(),this.element=null)},options:{border:{width:1},opacity:1,animation:{duration:Wo}},move:function(){var e,t=this,i=t.options,n=t.element;t.anchor&&t.element&&(e=t._offset(),t.visible||n.css({top:e.top,left:e.left}),t.visible=!0,t._ensureElement(document.body),n.stop(!0,!0).show().animate({left:e.left,top:e.top},i.animation.duration))},_clearShowTimeout:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)},_padding:function(){if(!this._chartPadding){var e=this.chartElement;this._chartPadding={top:parseInt(e.css(\"paddingTop\"),10),left:parseInt(e.css(\"paddingLeft\"),10)}}return this._chartPadding},_offset:function(){var t,i,n=this,o=n._measure(),r=n.anchor,a=n._padding(),s=n.chartElement.offset(),l=vi(r.y+a.top+s.top),c=vi(r.x+a.left+s.left),u=zt.support.zoomLevel(),h=e(window),p=window.pageYOffset||document.documentElement.scrollTop||0,d=window.pageXOffset||document.documentElement.scrollLeft||0,g=(this._mobileScroller||{}).movable;return g&&1!==g.scale?(t=Ri.transform().scale(g.scale,g.scale,[g.x,g.y]),i=new Ri.Point(c,l).transform(t),c=i.x,l=i.y):(l+=n._fit(l-p,o.height,h.outerHeight()/u),c+=n._fit(c-d,o.width,h.outerWidth()/u)),{top:l,left:c}},setStyle:function(e,t){var i,n,o=e.background,r=e.border.color;t&&(i=t.color||t.options.color,o=Ti(o,i),r=Ti(r,i)),wi(e.color)||(n=new Qt(o).percBrightness(),this.element.toggleClass(rn+$o,n>180)),this.element.css({backgroundColor:o,borderColor:r,font:e.font,color:e.color,opacity:e.opacity,borderWidth:e.border.width})},show:function(){this._clearShowTimeout(),this.showTimeout=setTimeout(this.move,Zo)},hide:function(){var e=this;clearTimeout(e.showTimeout),e._hideElement(),e.visible&&(e.point=null,e.visible=!1,e.index=null)},_measure:function(){this._ensureElement();var e={width:this.element.outerWidth(),height:this.element.outerHeight()};return e},_ensureElement:function(){this.element&&this.element.appendTo(document.body).on(Jn,this._mouseleave)},_mouseleave:function(t){var i=t.relatedTarget,n=this.chartElement[0];i&&i!==n&&!e.contains(n,i)&&(this.trigger(Mn),this.hide())},_hideElement:function(){var e=this,t=this.element;t&&t.fadeOut({always:function(){e.visible||t.off(Jn).remove()}})},_pointContent:function(e){var t,i,n=this,o=Ht({},n.options,e.options.tooltip);return wi(e.value)&&(t=\"\"+e.value),o.template?(i=Gt(o.template),t=i({value:e.value,category:e.category,series:e.series,dataItem:e.dataItem,percentage:e.percentage,runningTotal:e.runningTotal,total:e.total,low:e.low,high:e.high,xLow:e.xLow,xHigh:e.xHigh,yLow:e.yLow,yHigh:e.yHigh})):o.format&&(t=e.formatValue(o.format)),t},_pointAnchor:function(e){var t=this._measure();return e.tooltipAnchor(t.width,t.height)},_fit:function(e,t,i){var n=0;return e+t>i&&(n=i-(e+t)),0>e&&(n=-e),n}}),xt=mt.extend({show:function(e){var t=this,i=Ht({},t.options,e.options.tooltip);e&&e.tooltipAnchor&&t.element&&(t.element.html(t._pointContent(e)),t.anchor=t._pointAnchor(e),t.anchor?(t.setStyle(i,e),mt.fn.show.call(t,e)):t.hide())}}),vt=mt.extend({init:function(e,t,i){var n=this;mt.fn.init.call(n,e,i),n.plotArea=t},options:{sharedTemplate:\"<table><th colspan='2'>#= categoryText #</th># for(var i = 0; i < points.length; i++) { ## var point = points[i]; #<tr># if(point.series.name) { # <td> #= point.series.name #:</td># } #<td>#= content(point) #</td></tr># } #</table>\",categoryFormat:\"{0:d}\"},showAt:function(t,i){var n,o=this,r=o.options,a=o.plotArea,s=a.categoryAxis,l=s.pointCategoryIndex(i),c=s.getCategory(i),u=s.getSlot(l);t=e.grep(t,function(e){var t=e.series.tooltip,i=t&&t.visible===!1;return!i}),t.length>0&&(n=o._content(t,c),o.element.html(n),o.anchor=o._slotAnchor(i,u),o.setStyle(r,t[0]),mt.fn.show.call(o))},_slotAnchor:function(e,t){var i,n=this,o=n.plotArea,r=o.categoryAxis,a=this._measure(),s=e.y-a.height/2;return i=r.options.vertical?ni(e.x,s):ni(t.center().x,s)},_content:function(e,t){var i,n,o=this;return i=zt.template(o.options.sharedTemplate),n=i({points:e,category:t,categoryText:hi(o.options.categoryFormat,t),content:o._pointContent})}}),yt=Zt.extend({init:function(e,t){Zt.fn.init.call(this,t),this.axis=e,this.stickyMode=e instanceof se},options:{color:Hi,width:1,zIndex:-1,tooltip:{visible:!1}},showAt:function(e){this.point=e,this.moveLine(),this.line.visible(!0);var t=this.options.tooltip;t.visible&&(this.tooltip||(this.tooltip=new bt(this,Ht({},t,{stickyMode:this.stickyMode}))),this.tooltip.showAt(e))},hide:function(){this.line.visible(!1),this.tooltip&&this.tooltip.hide()},moveLine:function(){var e,t,i,n=this,o=n.axis,r=o.options.vertical,a=n.getBox(),s=n.point,l=r?lr:sr;t=new Ri.Point(a.x1,a.y1),i=r?new Ri.Point(a.x2,a.y1):new Ri.Point(a.x1,a.y2),s&&(n.stickyMode?(e=o.getSlot(o.pointCategoryIndex(s)),t[l]=i[l]=e.center()[l]):t[l]=i[l]=s[l]),n.box=a,this.line.moveTo(t).lineTo(i)},getBox:function(){var e,t,i,n=this,o=n.axis,r=o.pane.axes,a=r.length,s=o.options.vertical,l=o.lineBox().clone(),c=s?sr:lr;for(i=0;a>i;i++)t=r[i],t.options.vertical!=s&&(e?e.wrap(t.lineBox()):e=t.lineBox().clone());return l[c+1]=e[c+1],l[c+2]=e[c+2],l},createVisual:function(){Zt.fn.createVisual.call(this);var e=this.options;this.line=new Ii.Path({stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType},visible:!1}),this.moveLine(),this.visual.append(this.line)},destroy:function(){var e=this;e.tooltip&&e.tooltip.destroy(),Zt.fn.destroy.call(e)}}),bt=mt.extend({init:function(e,t){var i=this,n=e.axis.getRoot().chart.element;i.crosshair=e,mt.fn.init.call(i,n,Ht({},i.options,{background:e.axis.plotArea.options.seriesColors[0]},t)),i.setStyle(i.options)},options:{padding:10},showAt:function(e){var t=this,i=t.element;i&&(t.point=e,t.element.html(t.content(e)),t.anchor=t.getAnchor(),t.move())},move:function(){var e=this,t=e.element,i=e._offset();e._ensureElement(),t.css({top:i.top,left:i.left}).show()},content:function(e){var t,i,n,o=this,r=o.options,a=o.crosshair.axis,s=a.options;return i=t=a[r.stickyMode?\"getCategory\":\"getValue\"](e),r.template?(n=Gt(r.template),t=n({value:i})):r.format?t=hi(r.format,i):s.type===ln&&(t=hi(s.labels.dateFormats[s.baseUnit],i)),t},getAnchor:function(){var e,t=this,i=t.options,n=i.position,o=this.crosshair,r=!o.axis.options.vertical,a=o.line.bbox(),s=this._measure(),l=s.width/2,c=s.height/2,u=i.padding;return e=r?n===ji?a.bottomLeft().translate(-l,u):a.topLeft().translate(-l,-s.height-u):n===Fn?a.topLeft().translate(-s.width-u,-c):a.topRight().translate(u,-c)},hide:function(){this.element.hide(),this.point=null},destroy:function(){mt.fn.destroy.call(this),this.point=null}}),wt={min:function(e){var t,i,n=Wn,o=e.length;for(t=0;o>t;t++)i=e[t],B(i)&&(n=Bt.min(n,i));return n===Wn?e[0]:n},max:function(e){var t,i,n=Zn,o=e.length;for(t=0;o>t;t++)i=e[t],B(i)&&(n=Bt.max(n,i));return n===Zn?e[0]:n},sum:function(e){var t,i,n=e.length,o=0;for(t=0;n>t;t++)i=e[t],B(i)&&(o+=i);return o},sumOrNull:function(e){var t=null;return L(e)&&(t=wt.sum(e)),t},count:function(e){var t,i,n=e.length,o=0;for(t=0;n>t;t++)i=e[t],null!==i&&wi(i)&&o++;return o},avg:function(e){var t=e[0],i=L(e);return i>0&&(t=wt.sum(e)/i),t},first:function(e){var t,i,n=e.length;for(t=0;n>t;t++)if(i=e[t],null!==i&&wi(i))return i;return e[0]}},n.prototype={register:function(e,t){for(var i=0;e.length>i;i++)this._defaults[e[i]]=t},query:function(e){return this._defaults[e]}},n.current=new n,_t=Mt.extend({init:function(t,i,n){var o,r,a=this,s=t.element,l=i.lineBox(),c=a.getValueAxis(i),u=c.lineBox(),h=\".\"+rn;Mt.fn.init.call(a),a.options=Ht({},a.options,n),n=a.options,a.chart=t,a.chartElement=s,a.categoryAxis=i,a._dateAxis=a.categoryAxis instanceof le,a.valueAxis=c,a._dateAxis&&Ht(n,{min:g(n.min),max:g(n.max),from:g(n.from),to:g(n.to)}),a.template=_t.template,a.template||(a.template=_t.template=Pi(\"<div class='\"+rn+\"selector' style='width: #= d.width #px; height: #= d.height #px; top: #= d.offset.top #px; left: #= d.offset.left #px;'><div class='\"+rn+\"mask'></div><div class='\"+rn+\"mask'></div><div class='\"+rn+\"selection'><div class='\"+rn+\"selection-bg'></div><div class='\"+rn+\"handle \"+rn+\"leftHandle'><div></div></div><div class='\"+rn+\"handle \"+rn+\"rightHandle'><div></div></div></div></div>\")),r={left:parseInt(s.css(\"paddingLeft\"),10),right:parseInt(s.css(\"paddingTop\"),10)},a.options=Ht({},{width:l.width(),height:u.height(),padding:r,offset:{left:u.x2+r.left,top:u.y1+r.right},from:n.min,to:n.max},n),a.options.visible&&(a.wrapper=o=e(a.template(a.options)).appendTo(s),a.selection=o.find(h+\"selection\"),a.leftMask=o.find(h+\"mask\").first(),a.rightMask=o.find(h+\"mask\").last(),a.leftHandle=o.find(h+\"leftHandle\"),a.rightHandle=o.find(h+\"rightHandle\"),a.options.selection={border:{left:parseFloat(a.selection.css(\"border-left-width\"),10),right:parseFloat(a.selection.css(\"border-right-width\"),10)}},a.leftHandle.css(\"top\",(a.selection.height()-a.leftHandle.height())/2),a.rightHandle.css(\"top\",(a.selection.height()-a.rightHandle.height())/2),a.set(a._index(n.from),a._index(n.to)),a.bind(a.events,a.options),a.wrapper[0].style.cssText=a.wrapper[0].style.cssText,a.wrapper.on(oo,Dt(a._mousewheel,a)),zt.UserEvents?a.userEvents=new zt.UserEvents(a.wrapper,{global:!0,stopPropagation:!0,multiTouch:!0,fastTap:!0,start:Dt(a._start,a),move:Dt(a._move,a),end:Dt(a._end,a),tap:Dt(a._tap,a),gesturestart:Dt(a._gesturechange,a),gesturechange:Dt(a._gesturechange,a)}):a.leftHandle.add(a.rightHandle).removeClass(rn+\"handle\"))},events:[So,Po,To],options:{visible:!0,mousewheel:{zoom:Ni},min:Zn,max:Wn},destroy:function(){var e=this,t=e.userEvents;t&&t.destroy(),clearTimeout(e._mwTimeout),e._state=null,e.wrapper.remove()},_rangeEventArgs:function(e){var t=this;return{axis:t.categoryAxis.options,from:t._value(e.from),to:t._value(e.to)}},_start:function(t){var i,n=this,o=n.options,r=e(t.event.target);!n._state&&r&&(n.chart._unsetActivePoint(),n._state={moveTarget:r.parents(\".k-handle\").add(r).first(),startLocation:t.x?t.x.location:0,range:{from:n._index(o.from),to:n._index(o.to)}},i=n._rangeEventArgs({from:n._index(o.from),to:n._index(o.to)}),n.trigger(So,i)&&(n.userEvents.cancel(),n._state=null))},_move:function(e){if(this._state){var t=this,i=t._state,n=t.options,o=t.categoryAxis.options.categories,r=t._index(n.from),a=t._index(n.to),s=t._index(n.min),l=t._index(n.max),c=i.startLocation-e.x.location,u=i.range,h={from:u.from,to:u.to},p=u.to-u.from,d=i.moveTarget,g=t.wrapper.width()/(o.length-1),f=Bt.round(c/g);d&&(e.preventDefault(),d.is(\".k-selection, .k-selection-bg\")?(u.from=Bt.min(Bt.max(s,r-f),l-p),u.to=Bt.min(u.from+p,l)):d.is(\".k-leftHandle\")?(u.from=Bt.min(Bt.max(s,r-f),l-1),u.to=Bt.max(u.from+1,u.to)):d.is(\".k-rightHandle\")&&(u.to=Bt.min(Bt.max(s+1,a-f),l),u.from=Bt.min(u.to-1,u.from)),(u.from!==h.from||u.to!==h.to)&&(t.move(u.from,u.to),t.trigger(Po,t._rangeEventArgs(u))))}},_end:function(){var e=this,t=e._state.range;delete e._state,e.set(t.from,t.to),e.trigger(To,e._rangeEventArgs(t))},_gesturechange:function(e){if(this._state){var t=this,i=t.chart,n=t._state,o=t.options,r=t.categoryAxis,a=n.range,s=i._toModelCoordinates(e.touches[0].x.location).x,l=i._toModelCoordinates(e.touches[1].x.location).x,c=Bt.min(s,l),u=Bt.max(s,l);e.preventDefault(),n.moveTarget=null,a.from=r.pointCategoryIndex(new qt.Point2D(c))||o.min,a.to=r.pointCategoryIndex(new qt.Point2D(u))||o.max,t.move(a.from,a.to)}},_tap:function(e){var t=this,i=t.options,n=t.chart._eventCoordinates(e),o=t.categoryAxis,r=o.pointCategoryIndex(new qt.Point2D(n.x,o.box.y1)),a=t._index(i.from),s=t._index(i.to),l=t._index(i.min),c=t._index(i.max),u=s-a,h=a+u/2,p=Bt.round(h-r),d={},g=3===e.event.which;t._state||g||(e.preventDefault(),t.chart._unsetActivePoint(),o.options.justified||p--,d.from=Bt.min(Bt.max(l,a-p),c-u),d.to=Bt.min(d.from+u,c),t._start(e),t._state&&(t._state.range=d,t.trigger(Po,t._rangeEventArgs(d)),t._end()))},_mousewheel:function(e){var t,i=this,n=i.options,o=xi(e);i._start({event:{target:i.selection}}),i._state&&(t=i._state.range,e.preventDefault(),e.stopPropagation(),Bt.abs(o)>1&&(o*=hr),n.mousewheel.reverse&&(o*=-1),i.expand(o)&&i.trigger(Po,{axis:i.categoryAxis.options,delta:o,originalEvent:e,from:i._value(t.from),to:i._value(t.to)}),i._mwTimeout&&clearTimeout(i._mwTimeout),i._mwTimeout=setTimeout(function(){i._end()},no))},_index:function(e){var t=this,i=t.categoryAxis,n=i.options.categories,o=e;return e instanceof Date&&(o=V(e,n),!i.options.justified&&e>_i(n)&&(o+=1)),o},_value:function(e){var t=this,i=this.categoryAxis,n=i.options.categories,o=e;return t._dateAxis&&(o=e>n.length-1?t.options.max:n[e]),o},_slot:function(e){var t=this.categoryAxis,i=this._index(e);return t.getSlot(i,i,!0)},move:function(e,t){var i,n,o,r,a=this,s=a.options,l=s.offset,c=s.padding,u=s.selection.border;o=a._slot(e),i=vi(o.x1-l.left+c.left),a.leftMask.width(i),a.selection.css(\"left\",i),o=a._slot(t),n=vi(s.width-(o.x1-l.left+c.left)),a.rightMask.width(n),r=s.width-n,r!=s.width&&(r+=u.right),a.rightMask.css(\"left\",r),a.selection.width(Bt.max(s.width-(i+n)-u.right,0))},set:function(e,t){var i=this,n=i.options,o=i._index(n.min),r=i._index(n.max);e=Ai(i._index(e),o,r),t=Ai(i._index(t),e+1,r),n.visible&&i.move(e,t),n.from=i._value(e),n.to=i._value(t)},expand:function(e){var i=this,n=i.options,o=i._index(n.min),r=i._index(n.max),a=n.mousewheel.zoom,s=i._index(n.from),l=i._index(n.to),c={from:s,to:l},u=Ht({},c);return i._state&&(c=i._state.range),a!==bo&&(c.from=Ai(Ai(s-e,0,l-1),o,r)),a!==Fn&&(c.to=Ai(Ai(l+e,c.from+1,r),o,r)),c.from!==u.from||c.to!==u.to?(i.set(c.from,c.to),!0):t},getValueAxis:function(e){var t,i,n=e.pane.axes,o=n.length;for(t=0;o>t;t++)if(i=n[t],i.options.vertical!==e.options.vertical)return i}}),At=Ot.extend({init:function(e,t){this.plotArea=e,this.options=Ht({},this.options,t)},options:{key:\"none\",lock:\"none\"},start:function(e){return this._active=$(e.event,this.options.key)},move:function(e){if(this._active){var t=this.axisRanges=this._panAxes(e,sr).concat(this._panAxes(e,lr));if(t.length)return this.axisRanges=t,Q(t)}},end:function(){var e=this._active;return this._active=!1,e},pan:function(){var e,t,i=this.plotArea,n=this.axisRanges;if(n.length){for(t=0;n.length>t;t++)e=n[t],i.updateAxisOptions(e.axis,e.range);i.redraw(i.panes)}},_panAxes:function(e,t){var i,n,o,r,a=this.plotArea,s=-e[t].delta,l=(this.options.lock||\"\").toLowerCase(),c=[];if(0!==s&&(l||\"\").toLowerCase()!=t)for(i=a.axes,r=0;i.length>r;r++)n=i[r],(t==sr&&!n.options.vertical||t==lr&&n.options.vertical)&&(o=n.pan(s),o&&(o.limitRange=!0,c.push({axis:n,range:o})));return c}}),kt=Ot.extend({init:function(t,i){this.chart=t,this.options=Ht({},this.options,i),this._marquee=e(\"<div class='k-marquee'><div class='k-marquee-color'></div></div>\")},options:{key:\"shift\",lock:\"none\"},start:function(e){var t,i,n,o,r;return $(e.event,this.options.key)&&(t=this.chart,i=t._toModelCoordinates(e.x.client,e.y.client),n=this._zoomPane=t._plotArea.paneByPoint(i),n&&n.clipBox())?(o=n.clipBox().clone(),r=this._elementOffset(),o.translate(r.left,r.top),this._zoomPaneClipBox=o,this._marquee.appendTo(document.body).css({left:e.x.client+1,top:e.y.client+1,width:0,height:0}),!0):!1},_elementOffset:function(){var e=this.chart.element,t=e.offset();return{left:parseInt(e.css(\"paddingTop\"),10)+t.left,top:parseInt(e.css(\"paddingLeft\"),10)+t.top}},move:function(e){var t,i=this._zoomPane;i&&(t=this._selectionPosition(e),this._marquee.css(t))},end:function(e){var i,n,o,r,a=this._zoomPane;return a?(i=this._elementOffset(),n=this._selectionPosition(e),n.left-=i.left,n.top-=i.top,o={x:n.left,y:n.top},r={x:n.left+n.width,y:n.top+n.height},this._updateAxisRanges(o,r),this._marquee.remove(),delete this._zoomPane,Q(this.axisRanges)):t},zoom:function(){var e,t,i,n=this.axisRanges;if(n&&n.length){for(e=this.chart._plotArea,i=0;n.length>i;i++)t=n[i],e.updateAxisOptions(t.axis,t.range);e.redraw(e.panes)}},destroy:function(){this._marquee.remove(),delete this._marquee},_updateAxisRanges:function(e,t){var i,n,o,r,a=(this.options.lock||\"\").toLowerCase(),s=[],l=this._zoomPane.axes;for(o=0;l.length>o;o++)i=l[o],n=i.options.vertical,a==sr&&!n||a===lr&&n||(r=i.pointsRange(e,t),s.push({axis:i,range:r}));this.axisRanges=s},_selectionPosition:function(e){var t=(this.options.lock||\"\").toLowerCase(),i=Bt.min(e.x.startLocation,e.x.location),n=Bt.min(e.y.startLocation,e.y.location),o=Bt.abs(e.x.initialDelta),r=Bt.abs(e.y.initialDelta),a=this._zoomPaneClipBox;return t==sr&&(i=a.x1,o=a.width()),t==lr&&(n=a.y1,r=a.height()),e.x.location>a.x2&&(o=a.x2-e.x.startLocation),a.x1>e.x.location&&(o=e.x.startLocation-a.x1),e.y.location>a.y2&&(r=a.y2-e.y.startLocation),a.y1>e.y.location&&(r=e.y.startLocation-a.y1),{left:Bt.max(i,a.x1),top:Bt.max(n,a.y1),width:o,height:r}}}),Ct=Ot.extend({init:function(e,t){this.chart=e,this.options=Ht({},this.options,t)},updateRanges:function(e){var t,i,n,o,r=(this.options.lock||\"\").toLowerCase(),a=[],s=this.chart._plotArea.axes;for(n=0;s.length>n;n++)t=s[n],i=t.options.vertical,r==sr&&!i||r===lr&&i||(o=t.zoomRange(-e),o&&a.push({axis:t,range:o}));return this.axisRanges=a,Q(a)},zoom:function(){var e,t,i,n=this.axisRanges;if(n&&n.length){for(e=this.chart._plotArea,i=0;n.length>i;i++)t=n[i],e.updateAxisOptions(t.axis,t.range);e.redraw(e.panes)}}}),St=function(e,t,i){var n,o,r,a=this,s=t.canonicalFields(e),l=t.valueFields(e),c=t.sourceFields(e,s),u=a._seriesFields=[],h=i.query(e.type),p=e.aggregate||h;for(a._series=e,a._binder=t,n=0;s.length>n;n++){if(o=s[n],typeof p===lo)r=p[o];else{if(0!==n&&!fi(o,l))break;r=p}r&&u.push({canonicalName:o,name:c[n],transform:jt(r)?r:wt[r]})}},St.prototype={aggregatePoints:function(e,t){var i,n,o,r,a,s=this,l=s._bindPoints(e||[]),c=s._series,u=s._seriesFields,h=l.dataItems[0],p={};for(!h||B(h)||Rt(h)||(a=function(){},a.prototype=h,p=new a),i=0;u.length>i;i++){if(n=u[i],o=s._bindField(l.values,n.canonicalName),r=n.transform(o,c,l.dataItems,t),!(null===r||typeof r!==lo||wi(r.length)||r instanceof Date)){p=r;break}wi(r)&&(G(n.name,p),zt.setter(n.name)(p,r))}return p},_bindPoints:function(e){var t,i,n=this,o=n._binder,r=n._series,a=[],s=[];for(t=0;e.length>t;t++)i=e[t],a.push(o.bindPoint(r,i)),s.push(r.data[i]);return{values:a,dataItems:s}},_bindField:function(e,t){var i,n,o,r,a=[],s=e.length;for(i=0;s>i;i++)n=e[i],r=n.valueFields,\r\no=wi(r[t])?r[t]:n.fields[t],a.push(o);return a}},Pt=Ot.extend({init:function(e){this._axis=e},slot:function(e,t,i){return wi(i)||(i=!0),this._axis.slot(e,t,i)},range:function(){return this._axis.range()}}),Et(e.easing,{easeOutElastic:function(e,t,i,n){var o=1.70158,r=0,a=n;return 0===e?i:1===e?i+n:(r||(r=.5),a<Bt.abs(n)?(a=n,o=r/4):o=r/(2*Bt.PI)*Bt.asin(n/a),a*Bt.pow(2,-10*e)*Bt.sin((1*e-o)*(1.1*Bt.PI)/r)+n+i)}}),qt.ui.plugin(vr),te.current.register(lt,[Oi,tn,Nn,nr,Li,er,Xi,co,Yi,ir,Gi,tr,vo,xo,or,Bn]),te.current.register(ut,[Ao,ko,qi]),te.current.register(ht,[ho]),te.current.register(pt,[fn]),ie.current.register([Oi,tn,Nn,nr,Li,er],[Jo],[Wi,en,so,bn,wn]),ie.current.register([vo,xo],[Tn,Yo],[Wi,en,so]),ie.current.register([or,Bn],[Jo],[Wi,en,so,Oo]),n.current.register([Oi,tn,Nn,nr,Li,er,or,Bn],{value:Yn,color:Pn,noteText:Pn,errorLow:Kn,errorHigh:Yn}),n.current.register([vo,xo],{from:Kn,to:Yn,color:Pn,noteText:Pn}),ie.current.register([Ao,ko,qi],[sr,lr],[en,so,_n,An,kn,Cn]),ie.current.register([qi],[sr,lr,\"size\"],[en,Wi,so]),ie.current.register([Xi,co],[\"open\",\"high\",\"low\",\"close\"],[Wi,en,\"downColor\",so]),n.current.register([Xi,co],{open:Yn,high:Yn,low:Kn,close:Yn,color:Pn,downColor:Pn,noteText:Pn}),ie.current.register([Gi,tr],[\"lower\",\"q1\",\"median\",\"q3\",\"upper\",\"mean\",\"outliers\"],[Wi,en,so]),n.current.register([Gi,tr],{lower:Yn,q1:Yn,median:Yn,q3:Yn,upper:Yn,mean:Yn,outliers:Pn,color:Pn,noteText:Pn}),ie.current.register([Yi,ir],[\"current\",\"target\"],[Wi,en,\"visibleInLegend\",so]),n.current.register([Yi,ir],{current:Yn,target:Yn,color:Pn,noteText:Pn}),ie.current.register([ho,fn],[Jo],[Wi,en,\"explode\",\"visibleInLegend\",\"visible\"]),Ht(qt,{EQUALLY_SPACED_SERIES:mr,Aggregates:wt,AreaChart:Fe,AreaSegment:Me,AxisGroupRangeTracker:ct,Bar:ge,BarChart:ye,BarLabel:ne,BubbleChart:Ge,Bullet:Ae,BulletChart:_e,CandlestickChart:Ye,Candlestick:qe,CategoricalChart:ve,CategoricalErrorBar:Se,CategoricalPlotArea:lt,CategoryAxis:se,ChartAxis:Pt,ChartContainer:at,ClipAnimation:Ee,ClusterLayout:ue,Crosshair:yt,CrosshairTooltip:bt,DateCategoryAxis:le,DateValueAxis:ce,DefaultAggregates:n,DonutChart:it,DonutPlotArea:pt,DonutSegment:tt,ErrorBarBase:Ce,ErrorRangeCalculator:xe,Highlight:ft,SharedTooltip:vt,Legend:ae,LegendItem:oe,LegendLayout:re,LineChart:Le,LinePoint:Te,LineSegment:Ie,Pane:rt,PieAnimation:dt,PieChart:et,PieChartMixin:Je,PiePlotArea:ht,PieSegment:$e,PlotAreaBase:st,PlotAreaFactory:te,PointEventsMixin:pe,RangeBar:be,RangeBarChart:we,ScatterChart:Ne,ScatterErrorBar:Pe,ScatterLineChart:je,Selection:_t,SeriesAggregator:St,SeriesBinder:ie,ShapeElement:ai,SplineSegment:ze,SplineAreaSegment:Ue,StackWrap:he,Tooltip:xt,OHLCChart:We,OHLCPoint:Xe,WaterfallChart:nt,WaterfallSegment:ot,XYPlotArea:ut,MousewheelZoom:Ct,ZoomSelection:kt,Pannable:At,addDuration:m,areNumbers:E,axisGroupBox:P,categoriesCount:u,ceilDate:y,countNumbers:L,duration:A,ensureTree:G,indexOf:F,isNumber:B,floorDate:v,filterSeriesByType:M,hasValue:Z,lteDateIndex:V,evalOptions:z,seriesTotal:q,singleItemOrArray:S,sortDates:U,startOfWeek:x,transpose:j,toDate:g,toTime:f,uniqueDates:H})}(window.kendo.jQuery),window.kendo},\"function\"==typeof define&&define.amd?define:function(e,t,i){(i||t)()});\r\n//# sourceMappingURL=kendo.dataviz.chart.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e,define){define(\"aspnetmvc/kendo.data.aspnetmvc.min\",[\"kendo.data.min\",\"kendo.combobox.min\",\"kendo.multiselect.min\",\"kendo.validator.min\"],e)}(function(){!function(e,t){function n(t,n,r){var i,o={};return t.sort?(o[this.options.prefix+\"sort\"]=e.map(t.sort,function(e){return e.field+\"-\"+e.dir}).join(\"~\"),delete t.sort):o[this.options.prefix+\"sort\"]=\"\",t.page&&(o[this.options.prefix+\"page\"]=t.page,delete t.page),t.pageSize&&(o[this.options.prefix+\"pageSize\"]=t.pageSize,delete t.pageSize),t.group?(o[this.options.prefix+\"group\"]=e.map(t.group,function(e){return e.field+\"-\"+e.dir}).join(\"~\"),delete t.group):o[this.options.prefix+\"group\"]=\"\",t.aggregate&&(o[this.options.prefix+\"aggregate\"]=e.map(t.aggregate,function(e){return e.field+\"-\"+e.aggregate}).join(\"~\"),delete t.aggregate),t.filter?(o[this.options.prefix+\"filter\"]=a(t.filter,r.encode),delete t.filter):(o[this.options.prefix+\"filter\"]=\"\",delete t.filter),delete t.take,delete t.skip,i=new g(r),i.serialize(o,t,\"\"),o}function a(n,i){return n.filters?e.map(n.filters,function(e){var t=e.filters&&e.filters.length>1,n=a(e,i);return n&&t&&(n=\"(\"+n+\")\"),n}).join(\"~\"+n.logic+\"~\"):n.field?n.field+\"~\"+n.operator+\"~\"+r(n.value,i):t}function r(e,t){if(\"string\"==typeof e){if(!(e.indexOf(\"Date(\")>-1))return e=e.replace(l,\"''\"),t&&(e=encodeURIComponent(e)),\"'\"+e+\"'\";e=new Date(parseInt(e.replace(/^\\/Date\\((.*?)\\)\\/$/,\"$1\"),10))}return e&&e.getTime?\"datetime'\"+c.format(\"{0:yyyy-MM-ddTHH-mm-ss}\",e)+\"'\":e}function i(e,n){return t!==e?e:n}function o(t){var n=t.HasSubgroups||t.hasSubgroups||!1,a=t.Items||t.items;return{value:i(t.Key,i(t.key,t.value)),field:t.Member||t.member||t.field,hasSubgroups:n,aggregates:d(t.Aggregates||t.aggregates),items:n?e.map(a,o):a}}function s(e){var t={};return t[e.AggregateMethodName.toLowerCase()]=e.Value,t}function d(e){var t,n,a,r={};for(t in e){r={},a=e[t];for(n in a)r[n.toLowerCase()]=a[n];e[t]=r}return e}function u(e){var t,n,a,r={};for(t=0,n=e.length;n>t;t++)a=e[t],r[a.Member]=f(!0,r[a.Member],s(a));return r}var c=window.kendo,l=/'/gi,f=e.extend,p=e.isArray,m=e.isPlainObject,v=\".\",g=function(e){e=e||{},this.culture=e.culture||c.culture(),this.stringifyDates=e.stringifyDates,this.decimalSeparator=this.culture.numberFormat[v]};g.prototype=g.fn={serialize:function(e,t,n){var a,r;for(r in t)a=n?n+\".\"+r:r,this.serializeField(e,t[r],t,r,a)},serializeField:function(e,n,a,r,i){p(n)?this.serializeArray(e,n,i):m(n)?this.serialize(e,n,i):e[i]===t&&(e[i]=a[r]=this.serializeValue(n))},serializeArray:function(e,t,n){var a,r,i,o,s;for(o=0,s=0;t.length>o;o++)a=t[o],r=\"[\"+s+\"]\",i=n+r,this.serializeField(e,a,t,r,i),s++},serializeValue:function(e){return e instanceof Date?e=this.stringifyDates?c.stringify(e).replace(/\"/g,\"\"):c.toString(e,\"G\",this.culture.name):\"number\"==typeof e&&(e=(\"\"+e).replace(v,this.decimalSeparator)),e}},f(!0,c.data,{schemas:{\"aspnetmvc-ajax\":{groups:function(t){return e.map(this._dataAccessFunction(t),o)},aggregates:function(t){var n,a;if(t=t.d||t,n=t.AggregateResults||[],!e.isArray(n)){for(a in n)n[a]=u(n[a]);return n}return u(n)}}}}),f(!0,c.data,{transports:{\"aspnetmvc-ajax\":c.data.RemoteTransport.extend({init:function(e){var t=this,a=(e||{}).stringifyDates;c.data.RemoteTransport.fn.init.call(this,f(!0,{},this.options,e,{parameterMap:function(e,r){return n.call(t,e,r,{encode:!1,stringifyDates:a})}}))},read:function(e){var t=this.options.data,n=this.options.read.url;m(t)?(n&&(this.options.data=null),!t.Data.length&&n?c.data.RemoteTransport.fn.read.call(this,e):e.success(t)):c.data.RemoteTransport.fn.read.call(this,e)},options:{read:{type:\"POST\"},update:{type:\"POST\"},create:{type:\"POST\"},destroy:{type:\"POST\"},parameterMap:n,prefix:\"\"}})}}),f(!0,c.data,{schemas:{webapi:c.data.schemas[\"aspnetmvc-ajax\"]}}),f(!0,c.data,{transports:{webapi:c.data.RemoteTransport.extend({init:function(e){var t,a,r=this,i=(e||{}).stringifyDates;e.update&&(t=\"string\"==typeof e.update?e.update:e.update.url,e.update=f(e.update,{url:function(n){return c.format(t,n[e.idField])}})),e.destroy&&(a=\"string\"==typeof e.destroy?e.destroy:e.destroy.url,e.destroy=f(e.destroy,{url:function(t){return c.format(a,t[e.idField])}})),e.create&&\"string\"==typeof e.create&&(e.create={url:e.create}),c.data.RemoteTransport.fn.init.call(this,f(!0,{},this.options,e,{parameterMap:function(e,t){return n.call(r,e,t,{encode:!1,stringifyDates:i,culture:c.cultures[\"en-US\"]})}}))},read:function(e){var t=this.options.data,n=this.options.read.url;m(t)?(n&&(this.options.data=null),!t.Data.length&&n?c.data.RemoteTransport.fn.read.call(this,e):e.success(t)):c.data.RemoteTransport.fn.read.call(this,e)},options:{read:{type:\"GET\"},update:{type:\"PUT\"},create:{type:\"POST\"},destroy:{type:\"DELETE\"},parameterMap:n,prefix:\"\"}})}}),f(!0,c.data,{transports:{\"aspnetmvc-server\":c.data.RemoteTransport.extend({init:function(e){var t=this;c.data.RemoteTransport.fn.init.call(this,f(e,{parameterMap:function(e,a){return n.call(t,e,a,{encode:!0})}}))},read:function(t){var n,a,r=this.options.prefix,i=[r+\"sort\",r+\"page\",r+\"pageSize\",r+\"group\",r+\"aggregate\",r+\"filter\"],o=RegExp(\"(\"+i.join(\"|\")+\")=[^&]*&?\",\"g\");a=location.search.replace(o,\"\").replace(\"?\",\"\"),a.length&&!/&$/.test(a)&&(a+=\"&\"),t=this.setup(t,\"read\"),n=t.url,n.indexOf(\"?\")>=0?(a=a.replace(/(.*?=.*?)&/g,function(e){return n.indexOf(e.substr(0,e.indexOf(\"=\")))>=0?\"\":e}),n+=\"&\"+a):n+=\"?\"+a,n+=e.map(t.data,function(e,t){return t+\"=\"+e}).join(\"&\"),location.href=n}})}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()}),function(e,define){define(\"aspnetmvc/kendo.combobox.aspnetmvc.min\",[\"aspnetmvc/kendo.data.aspnetmvc.min\"],e)}(function(){!function(e,t){var n=window.kendo,a=n.ui;a&&a.ComboBox&&(a.ComboBox.requestData=function(t){var n,a,r=e(t).data(\"kendoComboBox\");if(r)return n=r.dataSource.filter(),a=r.input.val(),n&&n.filters.length||(a=\"\"),{text:a}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()}),function(e,define){define(\"aspnetmvc/kendo.dropdownlist.aspnetmvc.min\",[\"aspnetmvc/kendo.data.aspnetmvc.min\"],e)}(function(){!function(e,t){var n=window.kendo,a=n.ui;a&&a.DropDownList&&(a.DropDownList.requestData=function(t){var n,a,r,i=e(t).data(\"kendoDropDownList\");if(i)return n=i.dataSource.filter(),a=i.filterInput,r=a?a.val():\"\",n&&n.filters.length||(r=\"\"),{text:r}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()}),function(e,define){define(\"aspnetmvc/kendo.multiselect.aspnetmvc.min\",[\"aspnetmvc/kendo.combobox.aspnetmvc.min\"],e)}(function(){!function(e,t){var n=window.kendo,a=n.ui;a&&a.MultiSelect&&(a.MultiSelect.requestData=function(t){var n,a=e(t).data(\"kendoMultiSelect\");if(a)return n=a.input.val(),{text:n!==a.options.placeholder?n:\"\"}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()}),function(e,define){define(\"aspnetmvc/kendo.imagebrowser.aspnetmvc.min\",[\"aspnetmvc/kendo.multiselect.aspnetmvc.min\"],e)}(function(){!function(e,t){var n=window.kendo,a=e.extend,r=e.isFunction;a(!0,n.data,{schemas:{\"imagebrowser-aspnetmvc\":{data:function(e){return e||[]},model:{id:\"name\",fields:{name:{field:\"Name\"},size:{field:\"Size\"},type:{field:\"EntryType\",parse:function(e){return 0==e?\"f\":\"d\"}}}}}}}),a(!0,n.data,{schemas:{\"filebrowser-aspnetmvc\":n.data.schemas[\"imagebrowser-aspnetmvc\"]}}),a(!0,n.data,{transports:{\"imagebrowser-aspnetmvc\":n.data.RemoteTransport.extend({init:function(t){n.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,a){a.data=e.extend({},a.data,{path:this.options.path()}),r(this.options[t])?this.options[t].call(this,a):n.data.RemoteTransport.fn[t].call(this,a)},read:function(e){this._call(\"read\",e)},create:function(e){this._call(\"create\",e)},destroy:function(e){this._call(\"destroy\",e)},update:function(){},options:{read:{type:\"POST\"},update:{type:\"POST\"},create:{type:\"POST\"},destroy:{type:\"POST\"},parameterMap:function(e,t){return\"read\"!=t&&(e.EntryType=\"f\"===e.EntryType?0:1),e}}})}}),a(!0,n.data,{transports:{\"filebrowser-aspnetmvc\":n.data.transports[\"imagebrowser-aspnetmvc\"]}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()}),function(e,define){define(\"aspnetmvc/kendo.validator.aspnetmvc.min\",[\"aspnetmvc/kendo.imagebrowser.aspnetmvc.min\"],e)}(function(){!function(e,t){function n(){var e,t={};for(e in p)t[\"mvc\"+e]=s(e);return t}function a(){var e,t={};for(e in p)t[\"mvc\"+e]=d(e);return t}function r(e,t){var n,a,r,i={},o=e.data(),s=t.length;for(r in o)a=r.toLowerCase(),n=a.indexOf(t),n>-1&&(a=a.substring(n+s,r.length),a&&(i[a]=o[r]));return i}function i(t){var n,a,r=t.Fields||[],i={};for(n=0,a=r.length;a>n;n++)e.extend(!0,i,o(r[n]));return i}function o(e){var t,n,a,r,i={},o={},s=e.FieldName,d=e.ValidationRules;for(a=0,r=d.length;r>a;a++)t=d[a].ValidationType,n=d[a].ValidationParameters,i[s+t]=c(s,t,n),o[s+t]=u(d[a].ErrorMessage);return{rules:i,messages:o}}function s(e){return function(t){return t.attr(\"data-val-\"+e)}}function d(e){return function(t){return t.filter(\"[data-val-\"+e+\"]\").length?p[e](t,r(t,e)):!0}}function u(e){return function(){return e}}function c(e,t,n){return function(a){return a.filter(\"[name=\"+e+\"]\").length?p[t](a,n):!0}}function l(e,t){return\"string\"==typeof t&&(t=RegExp(\"^(?:\"+t+\")$\")),t.test(e)}var f=/(\"|\\%|'|\\[|\\]|\\$|\\.|\\,|\\:|\\;|\\+|\\*|\\&|\\!|\\#|\\(|\\)|<|>|\\=|\\?|\\@|\\^|\\{|\\}|\\~|\\/|\\||`)/g,p={required:function(e){var t,n,a,r=e.val(),i=e.filter(\"[type=checkbox]\");return i.length&&(t=i[0].name.replace(f,\"\\\\$1\"),n=\"input:hidden[name='\"+t+\"']\",a=i.next(n),a.length||(a=i.next(\"label.k-checkbox-label\").next(n)),r=a.length?a.val():\"checked\"===e.attr(\"checked\")),!(\"\"===r||!r)},number:function(e){return\"\"===e.val()||null==e.val()||null!==kendo.parseFloat(e.val())},regex:function(e,t){return\"\"!==e.val()?l(e.val(),t.pattern):!0},range:function(e,t){return\"\"!==e.val()?this.min(e,t)&&this.max(e,t):!0},min:function(e,t){var n=parseFloat(t.min)||0,a=kendo.parseFloat(e.val());return a>=n},max:function(e,t){var n=parseFloat(t.max)||0,a=kendo.parseFloat(e.val());return n>=a},date:function(e){return\"\"===e.val()||null!==kendo.parseDate(e.val())},length:function(t,n){if(\"\"!==t.val()){var a=e.trim(t.val()).length;return(!n.min||a>=(n.min||0))&&(!n.max||(n.max||0)>=a)}return!0}};e.extend(!0,kendo.ui.validator,{rules:a(),messages:n(),messageLocators:{mvcLocator:{locate:function(e,t){return t=t.replace(f,\"\\\\$1\"),e.find(\".field-validation-valid[data-valmsg-for='\"+t+\"'], .field-validation-error[data-valmsg-for='\"+t+\"']\")},decorate:function(e,t){e.addClass(\"field-validation-error\").attr(\"data-valmsg-for\",t||\"\")}},mvcMetadataLocator:{locate:function(e,t){return t=t.replace(f,\"\\\\$1\"),e.find(\"#\"+t+\"_validationMessage.field-validation-valid\")},decorate:function(e,t){e.addClass(\"field-validation-error\").attr(\"id\",t+\"_validationMessage\")}}},ruleResolvers:{mvcMetaDataResolver:{resolve:function(t){var n,a=window.mvcClientValidationMetadata||[];if(a.length)for(t=e(t),n=0;a.length>n;n++)if(a[n].FormId==t.attr(\"id\"))return i(a[n]);return{}}}}})}(window.kendo.jQuery)},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()}),function(e,define){define(\"kendo.aspnetmvc.min\",[\"kendo.data.min\",\"kendo.combobox.min\",\"kendo.dropdownlist.min\",\"kendo.multiselect.min\",\"kendo.validator.min\",\"aspnetmvc/kendo.data.aspnetmvc.min\",\"aspnetmvc/kendo.combobox.aspnetmvc.min\",\"aspnetmvc/kendo.dropdownlist.aspnetmvc.min\",\"aspnetmvc/kendo.multiselect.aspnetmvc.min\",\"aspnetmvc/kendo.imagebrowser.aspnetmvc.min\",\"aspnetmvc/kendo.validator.aspnetmvc.min\"],e)}(function(){},\"function\"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});\r\n//# sourceMappingURL=kendo.aspnetmvc.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e){\"function\"==typeof define&&define.amd?define([\"kendo.core.min\"],e):e()}(function(){!function(e,n){kendo.cultures.sl={name:\"sl\",numberFormat:{pattern:[\"-n\"],decimals:2,\",\":\".\",\".\":\",\",groupSize:[3],percent:{pattern:[\"-n %\",\"n %\"],decimals:2,\",\":\".\",\".\":\",\",groupSize:[3],symbol:\"%\"},currency:{name:\"\",abbr:\"\",pattern:[\"-n $\",\"n $\"],decimals:2,\",\":\".\",\".\":\",\",groupSize:[3],symbol:\"€\"}},calendars:{standard:{days:{names:[\"nedelja\",\"ponedeljek\",\"torek\",\"sreda\",\"Äetrtek\",\"petek\",\"sobota\"],namesAbbr:[\"ned\",\"pon\",\"tor\",\"sre\",\"Äet\",\"pet\",\"sob\"],namesShort:[\"ne\",\"po\",\"to\",\"sr\",\"Äe\",\"pe\",\"so\"]},months:{names:[\"januar\",\"februar\",\"marec\",\"april\",\"maj\",\"junij\",\"julij\",\"avgust\",\"september\",\"oktober\",\"november\",\"december\"],namesAbbr:[\"jan\",\"feb\",\"mar\",\"apr\",\"maj\",\"jun\",\"jul\",\"avg\",\"sep\",\"okt\",\"nov\",\"dec\"]},AM:[\"\"],PM:[\"\"],patterns:{d:\"d.M.yyyy\",D:\"d. MMMM yyyy\",F:\"d. MMMM yyyy H:mm:ss\",g:\"d.M.yyyy H:mm\",G:\"d.M.yyyy H:mm:ss\",m:\"d. MMMM\",M:\"d. MMMM\",s:\"yyyy'-'MM'-'dd'T'HH':'mm':'ss\",t:\"H:mm\",T:\"H:mm:ss\",u:\"yyyy'-'MM'-'dd HH':'mm':'ss'Z'\",y:\"MMMM yyyy\",Y:\"MMMM yyyy\"},\"/\":\".\",\":\":\":\",firstDay:1}}}}(this)});\r\n//# sourceMappingURL=kendo.culture.sl.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e){\"function\"==typeof define&&define.amd?define([\"kendo.core.min\"],e):e()}(function(){!function(e,n){kendo.cultures[\"sl-SI\"]={name:\"sl-SI\",numberFormat:{pattern:[\"-n\"],decimals:2,\",\":\".\",\".\":\",\",groupSize:[3],percent:{pattern:[\"-n %\",\"n %\"],decimals:2,\",\":\".\",\".\":\",\",groupSize:[3],symbol:\"%\"},currency:{name:\"Euro\",abbr:\"EUR\",pattern:[\"-n $\",\"n $\"],decimals:2,\",\":\".\",\".\":\",\",groupSize:[3],symbol:\"€\"}},calendars:{standard:{days:{names:[\"nedelja\",\"ponedeljek\",\"torek\",\"sreda\",\"Äetrtek\",\"petek\",\"sobota\"],namesAbbr:[\"ned\",\"pon\",\"tor\",\"sre\",\"Äet\",\"pet\",\"sob\"],namesShort:[\"ne\",\"po\",\"to\",\"sr\",\"Äe\",\"pe\",\"so\"]},months:{names:[\"januar\",\"februar\",\"marec\",\"april\",\"maj\",\"junij\",\"julij\",\"avgust\",\"september\",\"oktober\",\"november\",\"december\"],namesAbbr:[\"jan\",\"feb\",\"mar\",\"apr\",\"maj\",\"jun\",\"jul\",\"avg\",\"sep\",\"okt\",\"nov\",\"dec\"]},AM:[\"\"],PM:[\"\"],patterns:{d:\"d.M.yyyy\",D:\"d. MMMM yyyy\",F:\"d. MMMM yyyy H:mm:ss\",g:\"d.M.yyyy H:mm\",G:\"d.M.yyyy H:mm:ss\",m:\"d. MMMM\",M:\"d. MMMM\",s:\"yyyy'-'MM'-'dd'T'HH':'mm':'ss\",t:\"H:mm\",T:\"H:mm:ss\",u:\"yyyy'-'MM'-'dd HH':'mm':'ss'Z'\",y:\"MMMM yyyy\",Y:\"MMMM yyyy\"},\"/\":\".\",\":\":\":\",firstDay:1}}}}(this)});\r\n//# sourceMappingURL=kendo.culture.sl-SI.min.js.map\r\n","/** \r\n * Kendo UI v2016.2.504 (http://www.telerik.com/kendo-ui) \r\n * Copyright 2016 Telerik AD. All rights reserved. \r\n * \r\n * Kendo UI commercial licenses may be obtained at \r\n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \r\n * If you do not own a commercial license, this file shall be governed by the trial license terms. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n*/\r\n!function(e){\"function\"==typeof define&&define.amd?define([\"kendo.core.min\"],e):e()}(function(){!function(e,y){kendo.cultures.en={name:\"en\",numberFormat:{pattern:[\"-n\"],decimals:2,\",\":\",\",\".\":\".\",groupSize:[3],percent:{pattern:[\"-n %\",\"n %\"],decimals:2,\",\":\",\",\".\":\".\",groupSize:[3],symbol:\"%\"},currency:{name:\"\",abbr:\"\",pattern:[\"($n)\",\"$n\"],decimals:2,\",\":\",\",\".\":\".\",groupSize:[3],symbol:\"$\"}},calendars:{standard:{days:{names:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],namesAbbr:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],namesShort:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]},months:{names:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],namesAbbr:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]},AM:[\"AM\",\"am\",\"AM\"],PM:[\"PM\",\"pm\",\"PM\"],patterns:{d:\"M/d/yyyy\",D:\"dddd, MMMM d, yyyy\",F:\"dddd, MMMM d, yyyy h:mm:ss tt\",g:\"M/d/yyyy h:mm tt\",G:\"M/d/yyyy h:mm:ss tt\",m:\"MMMM d\",M:\"MMMM d\",s:\"yyyy'-'MM'-'dd'T'HH':'mm':'ss\",t:\"h:mm tt\",T:\"h:mm:ss tt\",u:\"yyyy'-'MM'-'dd HH':'mm':'ss'Z'\",y:\"MMMM yyyy\",Y:\"MMMM yyyy\"},\"/\":\"/\",\":\":\":\",firstDay:0}}}}(this)});\r\n//# sourceMappingURL=kendo.culture.en.min.js.map\r\n"],"sourceRoot":"/source/"}