@progress/kendo-angular-charts 6.0.0 → 6.0.1-dev.202202251354
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-angular-charts.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +1 -1
- package/dist/fesm5/index.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-charts.js +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@progress/kendo-drawing"),require("@angular/core"),require("
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@progress/kendo-drawing"),require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-intl"),require("@progress/kendo-angular-l10n"),require("rxjs"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define([,,,,,,,,],e):"object"==typeof exports?exports.KendoAngularCharts=e(require("@progress/kendo-drawing"),require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-intl"),require("@progress/kendo-angular-l10n"),require("rxjs"),require("@progress/kendo-licensing"),require("@angular/common")):t.KendoAngularCharts=e(t.KendoDrawing,t.ng.core,t.KendoAngularCommon,t.KendoAngularPopup,t.KendoAngularIntl,t.KendoAngularL10N,t.rxjs,t.KendoLicensing,t.ng.common)}(window,(function(t,e,o,i,n,r,s,a,p){return function(t){var e={};function o(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=98)}([function(t,e,o){"use strict";o.r(e),o.d(e,"__extends",(function(){return n})),o.d(e,"__assign",(function(){return r})),o.d(e,"__rest",(function(){return s})),o.d(e,"__decorate",(function(){return a})),o.d(e,"__param",(function(){return p})),o.d(e,"__metadata",(function(){return c})),o.d(e,"__awaiter",(function(){return u})),o.d(e,"__generator",(function(){return l})),o.d(e,"__createBinding",(function(){return h})),o.d(e,"__exportStar",(function(){return d})),o.d(e,"__values",(function(){return f})),o.d(e,"__read",(function(){return y})),o.d(e,"__spread",(function(){return v})),o.d(e,"__spreadArrays",(function(){return g})),o.d(e,"__await",(function(){return _})),o.d(e,"__asyncGenerator",(function(){return m})),o.d(e,"__asyncDelegator",(function(){return b})),o.d(e,"__asyncValues",(function(){return x})),o.d(e,"__makeTemplateObject",(function(){return w})),o.d(e,"__importStar",(function(){return C})),o.d(e,"__importDefault",(function(){return S})),o.d(e,"__classPrivateFieldGet",(function(){return k})),o.d(e,"__classPrivateFieldSet",(function(){return A}));
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
|
|
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
-
var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};function r(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}var n=function(){return(n=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function a(t,e){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(o[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(o[i[r]]=t[i[r]])}return o}function s(t,e,o,i){var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a}function p(t,e){return function(o,i){e(o,i,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,o,i){return new(o||(o=Promise))((function(r,n){function a(t){try{p(i.next(t))}catch(t){n(t)}}function s(t){try{p(i.throw(t))}catch(t){n(t)}}function p(t){var e;t.done?r(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(a,s)}p((i=i.apply(t,e||[])).next())}))}function u(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}}function h(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}function d(t,e){for(var o in t)"default"===o||e.hasOwnProperty(o)||(e[o]=t[o])}function g(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var i,r,n=o.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(f(arguments[e]));return t}function y(){for(var t=0,e=0,o=arguments.length;e<o;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<o;e++)for(var n=arguments[e],a=0,s=n.length;a<s;a++,r++)i[r]=n[a];return i}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function m(t,e,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=o.apply(t,e||[]),n=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){r[t]&&(i[t]=function(e){return new Promise((function(o,i){n.push([t,e,o,i])>1||s(t,e)}))})}function s(t,e){try{(o=r[t](e)).value instanceof _?Promise.resolve(o.value.v).then(p,c):l(n[0][2],o)}catch(t){l(n[0][3],t)}var o}function p(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),n.shift(),n.length&&s(n[0][0],n[0][1])}}function b(t){var e,o;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(o=!o)?{value:_(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function x(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=g(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(e){return new Promise((function(i,r){(function(t,e,o,i){Promise.resolve(i).then((function(e){t({value:e,done:o})}),e)})(i,r,(e=t[o](e)).done,e.value)}))}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function S(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function w(t){return t&&t.__esModule?t:{default:t}}function A(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function k(t,e,o){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,o),o}},function(e,o){e.exports=t},function(t,o){t.exports=e},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(8),a=o(13);e.THROTTLE_MS=1e3/60;var s=function(t,e){this.key=t,this.value=e};e.Change=s;var p=function(){function t(t){this.ngZone=t,this.store={},this.source=new n.BehaviorSubject({}),this.initSource()}return t.prototype.initSource=function(){this.onFastChange$=this.source.asObservable(),this.onChange$=this.onFastChange$.pipe(a.auditTime(e.THROTTLE_MS))},t.prototype.push=function(t){this.store=t,this.next()},t.prototype.notify=function(t){this.set(t.key,t.value),this.next()},t.prototype.set=function(t,e){for(var o=this.store,i=t.split("."),r=i.shift();i.length>0;)o=o[r]=o[r]||{},r=i.shift();o[r]=e},t.prototype.next=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.source.next(t.store)}))},t=i.__decorate([r.Injectable(),i.__metadata("design:paramtypes",[r.NgZone])],t)}();e.ConfigurationService=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(3),r=o(31),n=o(32),a=function(){function t(t,e){if(this.configKey=t,this.configurationService=e,this.store={},void 0===t)throw new Error("Configuration key not set")}return t.prototype.ngOnDestroy=function(){this.store=void 0,this.notify()},t.prototype.ngOnChanges=function(t){r.copyChanges(t,this.store),this.notify()},t.prototype.notifyChanges=function(t){this.ngOnChanges(n.toSimpleChanges(t))},t.prototype.markAsVisible=function(){this.store.visible=!0,this.notify()},t.prototype.notify=function(){this.configurationService.notify(new i.Change(this.configKey,this.store))},t}();e.SettingsComponent=a},function(t,e,o){"use strict";o.r(e),o.d(e,"ResizeService",(function(){return U})),o.d(e,"PreventableEvent",(function(){return et})),o.d(e,"DraggableDirective",(function(){return S})),o.d(e,"DraggableModule",(function(){return w})),o.d(e,"closestInScope",(function(){return A})),o.d(e,"closest",(function(){return k})),o.d(e,"contains",(function(){return I})),o.d(e,"findElement",(function(){return O})),o.d(e,"findFocusableChild",(function(){return D})),o.d(e,"findFocusable",(function(){return E})),o.d(e,"hasClasses",(function(){return R})),o.d(e,"isFocusableWithTabKey",(function(){return M})),o.d(e,"isFocusable",(function(){return j})),o.d(e,"isVisible",(function(){return T})),o.d(e,"matchesClasses",(function(){return L})),o.d(e,"matchesNodeName",(function(){return z})),o.d(e,"rtlScrollPosition",(function(){return N})),o.d(e,"EventsOutsideAngularDirective",(function(){return G})),o.d(e,"EventsModule",(function(){return H})),o.d(e,"ResizeSensorComponent",(function(){return Q})),o.d(e,"ResizeBatchService",(function(){return K})),o.d(e,"ResizeCompatService",(function(){return Y})),o.d(e,"ResizeObserverService",(function(){return Z})),o.d(e,"ResizeSensorModule",(function(){return J})),o.d(e,"KendoInput",(function(){return tt})),o.d(e,"isDocumentAvailable",(function(){return _})),o.d(e,"isChanged",(function(){return m})),o.d(e,"anyChanged",(function(){return b})),o.d(e,"hasObservers",(function(){return x})),o.d(e,"guid",(function(){return C})),o.d(e,"Keys",(function(){return F}));var i=o(0),r=o(2),n=function(t,e){return function(o){return e(t(o))}},a=function(t,e,o){return t.addEventListener&&t.addEventListener(e,o)},s=function(t,e,o){return t&&t.removeEventListener&&t.removeEventListener(e,o)},p=function(){},c=function(t){return t.preventDefault()},l=/touch/;function u(t){return t.type.match(l)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var h=function(t){var e=this,o=t.press;void 0===o&&(o=p);var i=t.drag;void 0===i&&(i=p);var r=t.release;void 0===r&&(r=p);var l=t.mouseOnly;void 0===l&&(l=!1),this._pressHandler=n(u,o),this._dragHandler=n(u,i),this._releaseHandler=n(u,r),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var o=t.which;o&&o>1||e._ignoreMouse||(a(e.document,"mousemove",e._mousemove),a(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){s(e.document,"mousemove",e._mousemove),s(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(a(e.document,"pointermove",e._pointermove),a(e.document,"pointerup",e._pointerup),a(e.document,"pointercancel",e._pointerup),a(e.document,"contextmenu",c),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(s(e.document,"pointermove",e._pointermove),s(e.document,"pointerup",e._pointerup),s(e.document,"pointercancel",e._pointerup),s(e.document,"contextmenu",c),e._releaseHandler(t))}},d={document:{configurable:!0}};h.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.document.get=function(){return this._element?this._element.ownerDocument:document},h.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},h.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?a(t,"pointerdown",this._pointerdown):(a(t,"mousedown",this._mousedown),this._mouseOnly||(a(t,"touchstart",this._touchstart),a(t,"touchmove",this._touchmove),a(t,"touchend",this._touchend)))},h.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return s(t,"pointerdown",this._pointerdown),s(this.document,"pointermove",this._pointermove),s(this.document,"pointerup",this._pointerup),s(this.document,"contextmenu",c),void s(this.document,"pointercancel",this._pointerup);s(t,"mousedown",this._mousedown),this._mouseOnly||(s(t,"touchstart",this._touchstart),s(t,"touchmove",this._touchmove),s(t,"touchend",this._touchend))},h.prototype._usePointers=function(){return!this._mouseOnly&&h.supportPointerEvent()},h.prototype.update=function(t){var e=t.press;void 0===e&&(e=p);var o=t.drag;void 0===o&&(o=p);var i=t.release;void 0===i&&(i=p);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=n(u,e),this._dragHandler=n(u,o),this._releaseHandler=n(u,i),this._mouseOnly=r},h.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(h.prototype,d),h.default=h;var g=h,f=o(12),v=o(13),y=o(8),_=function(){return"undefined"!=typeof document},m=function(t,e,o){return void 0===o&&(o=!0),!(void 0===e[t]||e[t].isFirstChange()&&o||e[t].previousValue===e[t].currentValue)},b=function(t,e,o){return void 0===o&&(o=!0),t.some((function(t){return m(t,e,o)}))},x=function(t){return t&&t.observers.length>0},C=function(){for(var t="",e=0;e<32;e++){var o=16*Math.random()|0;8!==e&&12!==e&&16!==e&&20!==e||(t+="-"),t+=(12===e?4:16===e?3&o|8:o).toString(16)}return t},S=function(){function t(t,e){this.element=t,this.ngZone=e,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}return t.prototype.ngOnInit=function(){this.toggleDraggable()},t.prototype.ngOnChanges=function(t){m("enableDrag",t)&&this.toggleDraggable()},t.prototype.ngOnDestroy=function(){this.destroyDraggable()},t.prototype.toggleDraggable=function(){var t=this;_()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new g({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular((function(){return t.draggable.bindTo(t.element.nativeElement)}))))},t.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Boolean)],t.prototype,"enableDrag",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"kendoPress",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"kendoDrag",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"kendoRelease",void 0),t=Object(i.__decorate)([Object(r.Directive)({selector:"[kendoDraggable]"}),Object(i.__metadata)("design:paramtypes",[r.ElementRef,r.NgZone])],t)}(),w=function(){function t(){}return t=Object(i.__decorate)([Object(r.NgModule)({declarations:[S],exports:[S],imports:[f.CommonModule]})],t)}(),A=function(t,e,o){for(;t&&t!==o&&!e(t);)t=t.parentNode;if(t!==o)return t},k=function(t,e){for(;t&&!e(t);)t=t.parentNode;return t},I=function(t,e,o){if(void 0===o&&(o=!1),!k(e,(function(e){return e===t})))return!1;var i=k(e,(function(t){return t===e}));return i&&(o||i!==t)},O=function(t,e,o){if(void 0===o&&(o=!0),t){if(o&&e(t))return t;for(t=t.firstChild;t;){if(1===t.nodeType){var i=O(t,e);if(i)return i}t=t.nextSibling}}},P=/^(?:a|input|select|option|textarea|button|object)$/i,j=function(t){if(!t.tagName)return!1;var e=t.tagName.toLowerCase(),o=Boolean(t.getAttribute("tabIndex"));return!t.disabled&&P.test(e)||o},T=function(t){var e=t.getBoundingClientRect(),o=e.width>0&&e.height>0,i=0!==e.x&&0!==e.y;return(o||i)&&"hidden"!==window.getComputedStyle(t).visibility},M=function(t,e){if(void 0===e&&(e=!0),!j(t))return!1;var o=t.getAttribute("tabIndex");return(!e||T(t))&&"-1"!==o},D=function(t,e){return void 0===e&&(e=!0),O(t,(function(t){return M(t,e)}),!1)},E=function(t,e){return void 0===e&&(e=!0),O(t,(function(t){return M(t,e)}))},B=function(t){return String(t).trim().split(" ")},R=function(t,e){var o=B(e);return Boolean(B(t.className).find((function(t){return o.indexOf(t)>=0})))},L=function(t){return function(e){return R(e,t)}},V={},z=function(t){return V[t]||(V[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),V[t]};function N(t,e,o){var i=t;return o<0?i=-t:o>0&&(i=e.scrollWidth-e.offsetWidth-t),i}var F,G=function(){function t(t,e,o){this.element=t,this.ngZone=e,this.renderer=o,this.events={}}return t.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var e=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var o in e)e.hasOwnProperty(o)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,o,t.scope?e[o].bind(t.scope):e[o]))}))}},t.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var t=0;t<this.subscriptions.length;t++)this.subscriptions[t]();this.subscriptions=null}},Object(i.__decorate)([Object(r.Input)("kendoEventsOutsideAngular"),Object(i.__metadata)("design:type",Object)],t.prototype,"events",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"scope",void 0),t=Object(i.__decorate)([Object(r.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(i.__metadata)("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],t)}(),H=function(){function t(){}return t=Object(i.__decorate)([Object(r.NgModule)({declarations:[G],exports:[G]})],t)}(),U=function(){function t(t){this.resizeBatchService=t,this.resize=new r.EventEmitter,this.acceptedSize=!1,this.state=0}return t.prototype.acceptSize=function(t){void 0===t&&(t=this.measure()),this.lastWidth=t.width,this.lastHeight=t.height,this.acceptedSize=!0},t.prototype.checkChanges=function(){_()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},t.prototype.destroy=function(){this.resizeBatchService.cancel(this)},t.prototype.checkSize=function(){if(this.parentElement){var t=this.measure(),e=t.width,o=t.height;if(!(e===this.lastWidth&&o===this.lastHeight))return this.lastWidth=e,this.lastHeight=o,this.acceptedSize=!1,this.resize.emit(),!0}},t.prototype.initSize=function(){var t=this.measure();this.lastWidth=t.width,this.lastHeight=t.height},t.prototype.measure=function(){var t=0,e=0;return this.parentElement&&(e=this.parentElement.offsetHeight,t=this.parentElement.offsetWidth),{height:e,width:t}},t}(),W=function(t){var e=document.createElement("div");return e.style.cssText=t,e},X="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",Y=function(t){function e(e,o,i){var r=t.call(this,e)||this;return r.element=o,r.ngZone=i,r}return Object(i.__extends)(e,t),e.prototype.checkChanges=function(){2!==this.state?t.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},e.prototype.destroy=function(){if(t.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var e=this.element.nativeElement;e.removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},e.prototype.checkSize=function(){if(t.prototype.checkSize.call(this))return this.reset(),!0},e.prototype.init=function(){var t,e=this.parentElement=this.element.nativeElement.parentElement;"static"===(t="position",getComputedStyle(e,null).getPropertyValue(t))&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},e.prototype.render=function(){var t=this.element.nativeElement;t.style.cssText=X,t.setAttribute("dir","ltr"),this.expand=W(X),this.expandChild=W("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),t.appendChild(this.expand),this.shrink=W(X);var e=W("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(e),t.appendChild(this.shrink)},e.prototype.reset=function(){var t=this.expandChild;t.style.width="100000px",t.style.height="100000px";var e=this.expand;e.scrollLeft=1e5,e.scrollTop=1e5;var o=this.shrink;o.scrollLeft=1e5,o.scrollTop=1e5},e.prototype.subscribe=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=Object(y.merge)(Object(y.fromEvent)(t.shrink,"scroll"),Object(y.fromEvent)(t.expand,"scroll")).subscribe((function(){t.checkSize()}))}))},e}(U),q="undefined"!=typeof ResizeObserver,Z=function(t){function e(e,o,i){var r=t.call(this,e)||this;return r.element=o,r.ngZone=i,r}return Object(i.__extends)(e,t),e.supported=function(){return q},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},e.prototype.init=function(){var t=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){t.resizeObserver=new ResizeObserver((function(){t.checkSize()})),t.resizeObserver.observe(t.parentElement)}))},e}(U),K=function(){function t(t){this.ngZone=t,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return t.prototype.schedule=function(t,e){var o=this;this.scheduled.push({instance:t,method:e}),this.subscription||this.ngZone.runOutsideAngular((function(){o.subscription=Object(y.from)(o.resolvedPromise).subscribe(o.flush)}))},t.prototype.isScheduled=function(t){return Boolean(this.scheduled.find((function(e){return e.instance===t})))},t.prototype.cancel=function(t){for(var e=this.scheduled,o=e.length,i=0;i<o;i++)if(e[i].instance===t)return e.splice(i,1),void(e.length||this.unsubscribe())},t.prototype.ngOnDestroy=function(){this.unsubscribe()},t.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},t.prototype.flush=function(){this.scheduled.forEach((function(t){t.method.call(t.instance)})),this.scheduled=[],this.unsubscribe()},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__metadata)("design:paramtypes",[r.NgZone])],t)}(),Q=function(){function t(t,e,o){var i=this;this.rateLimit=10,this.resize=new r.EventEmitter;var n=Z.supported()?Z:Y;this.resizeService=new n(t,e,o);var a=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(v.auditTime)(a)).subscribe((function(){i.resizeService.acceptedSize||i.resize.emit()}))}return t.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},t.prototype.acceptSize=function(t){this.resizeService.acceptSize(t)},Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Number)],t.prototype,"rateLimit",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"resize",void 0),t=Object(i.__decorate)([Object(r.Component)({selector:"kendo-resize-sensor",template:""}),Object(i.__metadata)("design:paramtypes",[K,r.ElementRef,r.NgZone])],t)}(),$=[Q],J=function(){function t(){}return t=Object(i.__decorate)([Object(r.NgModule)({declarations:[$],exports:[$],providers:[K]})],t)}(),tt=function(){};!function(t){t[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"}(F||(F={}));var et=function(){function t(){this.prevented=!1}return t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented},t}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(8),a=function(t,e){this.sender=t,this.options=e};e.ItemChange=a;var s=function(){function t(){this.source=new n.Subject,this.onItemChange$=this.source.asObservable()}return t.prototype.notify=function(t){this.source.next(t)},t=i.__decorate([r.Injectable(),i.__metadata("design:paramtypes",[])],t)}();e.CollectionService=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){this.sender=t};e.BaseEvent=i},function(t,e){t.exports=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.prevented=!1,e}return i.__extends(e,t),e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}(o(7).BaseEvent);e.PreventableEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(){function t(){}return t.prototype.setTemplate=function(t){this.template=t},t.prototype.getTemplate=function(t){return this.seriesTemplates&&this.seriesTemplates[t]?this.seriesTemplates[t]:this.template},t.prototype.setSeriesTemplates=function(t){this.seriesTemplates=t},t.prototype.setSharedTemplate=function(t){this.sharedTemplate=t},t.prototype.getSharedTemplate=function(){return this.sharedTemplate},t=i.__decorate([r.Injectable()],t)}();e.TooltipTemplateService=n},function(t,e,o){"use strict";o.r(e),o.d(e,"autoMajorUnit",(function(){return Rt})),o.d(e,"Point",(function(){return Lt})),o.d(e,"Box",(function(){return zt})),o.d(e,"Ring",(function(){return Ft})),o.d(e,"Sector",(function(){return Gt})),o.d(e,"ShapeBuilder",(function(){return Ut})),o.d(e,"ShapeElement",(function(){return Kt})),o.d(e,"ChartElement",(function(){return Xt})),o.d(e,"BoxElement",(function(){return qt})),o.d(e,"RootElement",(function(){return te})),o.d(e,"FloatElement",(function(){return oe})),o.d(e,"Text",(function(){return ne})),o.d(e,"TextBox",(function(){return pe})),o.d(e,"Title",(function(){return le})),o.d(e,"AxisLabel",(function(){return he})),o.d(e,"Axis",(function(){return Me})),o.d(e,"Note",(function(){return ge})),o.d(e,"CategoryAxis",(function(){return to})),o.d(e,"DateCategoryAxis",(function(){return co})),o.d(e,"DateValueAxis",(function(){return mo})),o.d(e,"NumericAxis",(function(){return yo})),o.d(e,"LogarithmicAxis",(function(){return So})),o.d(e,"PolarAxis",(function(){return Oo})),o.d(e,"RadarCategoryAxis",(function(){return ko})),o.d(e,"RadarNumericAxis",(function(){return Mo})),o.d(e,"RadarLogarithmicAxis",(function(){return Eo})),o.d(e,"CurveProcessor",(function(){return Ro})),o.d(e,"Gradients",(function(){return Qt})),o.d(e,"rectToBox",(function(){return ae})),o.d(e,"ChartAxis",(function(){return Lo})),o.d(e,"ChartPane",(function(){return No})),o.d(e,"ChartPlotArea",(function(){return Fo})),o.d(e,"findAxisByName",(function(){return Vo})),o.d(e,"Aggregates",(function(){return Uo})),o.d(e,"AreaChart",(function(){return Ri})),o.d(e,"AreaSegment",(function(){return Mi})),o.d(e,"AxisGroupRangeTracker",(function(){return Li})),o.d(e,"Bar",(function(){return Gi})),o.d(e,"BarChart",(function(){return Ki})),o.d(e,"BarLabel",(function(){return zi})),o.d(e,"BoxPlotChart",(function(){return nr})),o.d(e,"BoxPlot",(function(){return ir})),o.d(e,"BubbleChart",(function(){return dr})),o.d(e,"Bullet",(function(){return yr})),o.d(e,"BulletChart",(function(){return mr})),o.d(e,"CandlestickChart",(function(){return er})),o.d(e,"Candlestick",(function(){return $i})),o.d(e,"CategoricalChart",(function(){return di})),o.d(e,"CategoricalErrorBar",(function(){return ci})),o.d(e,"CategoricalPlotArea",(function(){return wn})),o.d(e,"Chart",(function(){return ds})),o.d(e,"ChartContainer",(function(){return Ir})),o.d(e,"ClipAnimation",(function(){return Ii})),o.d(e,"ClusterLayout",(function(){return Xi})),o.d(e,"Crosshair",(function(){return Ar})),o.d(e,"CrosshairTooltip",(function(){return Sr})),o.d(e,"DefaultAggregates",(function(){return Jr})),o.d(e,"DonutChart",(function(){return va})),o.d(e,"DonutPlotArea",(function(){return ya})),o.d(e,"DonutSegment",(function(){return ga})),o.d(e,"ErrorBarBase",(function(){return pi})),o.d(e,"ErrorRangeCalculator",(function(){return Ko})),o.d(e,"Highlight",(function(){return kn})),o.d(e,"SharedTooltip",(function(){return Xn})),o.d(e,"Legend",(function(){return Ln})),o.d(e,"LegendItem",(function(){return Bn})),o.d(e,"LegendLayout",(function(){return En})),o.d(e,"LineChart",(function(){return Ti})),o.d(e,"LinePoint",(function(){return yi})),o.d(e,"LineSegment",(function(){return mi})),o.d(e,"Pane",(function(){return jr})),o.d(e,"PieAnimation",(function(){return Qn})),o.d(e,"PieChart",(function(){return ua})),o.d(e,"PieChartMixin",(function(){return pa})),o.d(e,"PiePlotArea",(function(){return ha})),o.d(e,"PieSegment",(function(){return sa})),o.d(e,"PlotAreaBase",(function(){return qr})),o.d(e,"PlotAreaEventsMixin",(function(){return Zr})),o.d(e,"PlotAreaFactory",(function(){return zn})),o.d(e,"PointEventsMixin",(function(){return gi})),o.d(e,"RangeBar",(function(){return en})),o.d(e,"RangeBarChart",(function(){return rn})),o.d(e,"RangeAreaPoint",(function(){return sn})),o.d(e,"RangeAreaChart",(function(){return dn})),o.d(e,"ScatterChart",(function(){return cr})),o.d(e,"ScatterErrorBar",(function(){return ar})),o.d(e,"ScatterLineChart",(function(){return Jn})),o.d(e,"Selection",(function(){return Hn})),o.d(e,"SeriesAggregator",(function(){return Qr})),o.d(e,"SeriesBinder",(function(){return Yo})),o.d(e,"SplineSegment",(function(){return wi})),o.d(e,"SplineAreaSegment",(function(){return Bi})),o.d(e,"StackWrap",(function(){return qi})),o.d(e,"Tooltip",(function(){return Un})),o.d(e,"OHLCChart",(function(){return fn})),o.d(e,"OHLCPoint",(function(){return gn})),o.d(e,"WaterfallChart",(function(){return _n})),o.d(e,"WaterfallSegment",(function(){return yn})),o.d(e,"XYPlotArea",(function(){return oa})),o.d(e,"MousewheelZoom",(function(){return Dn})),o.d(e,"ZoomSelection",(function(){return Mn})),o.d(e,"Pannable",(function(){return jn})),o.d(e,"anyHasZIndex",(function(){return Oi})),o.d(e,"appendIfNotNull",(function(){return Tr})),o.d(e,"areNumbers",(function(){return Ji})),o.d(e,"bindSegments",(function(){return Dr})),o.d(e,"categoriesCount",(function(){return ui})),o.d(e,"countNumbers",(function(){return Go})),o.d(e,"equalsIgnoreCase",(function(){return Er})),o.d(e,"evalOptions",(function(){return li})),o.d(e,"filterSeriesByType",(function(){return Br})),o.d(e,"getDateField",(function(){return Rr})),o.d(e,"getField",(function(){return Wo})),o.d(e,"hasGradientOverlay",(function(){return Ni})),o.d(e,"hasValue",(function(){return sr})),o.d(e,"isDateAxis",(function(){return Lr})),o.d(e,"segmentVisible",(function(){return Mr})),o.d(e,"singleItemOrArray",(function(){return Vr})),o.d(e,"createOutOfRangePoints",(function(){return Gr})),o.d(e,"ChartService",(function(){return ke})),o.d(e,"DomEventsBuilder",(function(){return Oe})),o.d(e,"FormatService",(function(){return Ce})),o.d(e,"IntlService",(function(){return _e})),o.d(e,"TemplateService",(function(){return F})),o.d(e,"Sparkline",(function(){return bs})),o.d(e,"Navigator",(function(){return Os})),o.d(e,"NavigatorHint",(function(){return ws})),o.d(e,"StockChart",(function(){return js})),o.d(e,"constants",(function(){return i})),o.d(e,"Gauge",(function(){return Gs})),o.d(e,"LinearGauge",(function(){return hp})),o.d(e,"LinearPointer",(function(){return Js})),o.d(e,"ArrowLinearPointer",(function(){return rp})),o.d(e,"BarLinearPointer",(function(){return cp})),o.d(e,"LinearScale",(function(){return Zs})),o.d(e,"RadialGauge",(function(){return Pp})),o.d(e,"RadialPointer",(function(){return kp})),o.d(e,"RadialScale",(function(){return mp})),o.d(e,"ArcGauge",(function(){return Rp})),o.d(e,"RangePointer",(function(){return Bp})),o.d(e,"ArcScale",(function(){return Tp})),o.d(e,"CircularGauge",(function(){return Lp})),o.d(e,"Barcode",(function(){return wc})),o.d(e,"barcodeValidator",(function(){return kc})),o.d(e,"QRCode",(function(){return Ol})),o.d(e,"qrcodeValidator",(function(){return Pl})),o.d(e,"addClass",(function(){return x})),o.d(e,"removeClass",(function(){return S})),o.d(e,"alignPathToPixel",(function(){return A})),o.d(e,"clockwise",(function(){return k})),o.d(e,"convertableToNumber",(function(){return P})),o.d(e,"deepExtend",(function(){return M})),o.d(e,"elementStyles",(function(){return L})),o.d(e,"getSpacing",(function(){return V})),o.d(e,"getTemplate",(function(){return G})),o.d(e,"getter",(function(){return W})),o.d(e,"grep",(function(){return X})),o.d(e,"hasClasses",(function(){return Y})),o.d(e,"HashMap",(function(){return Z})),o.d(e,"inArray",(function(){return K})),o.d(e,"interpolateValue",(function(){return Q})),o.d(e,"InstanceObserver",(function(){return J})),o.d(e,"isArray",(function(){return b})),o.d(e,"isFunction",(function(){return j})),o.d(e,"isNumber",(function(){return I})),o.d(e,"isObject",(function(){return D})),o.d(e,"isString",(function(){return O})),o.d(e,"map",(function(){return tt})),o.d(e,"mousewheelDelta",(function(){return ot})),o.d(e,"FontLoader",(function(){return bt})),o.d(e,"setDefaultOptions",(function(){return xt})),o.d(e,"sparseArrayLimits",(function(){return Ct})),o.d(e,"styleValue",(function(){return E})),o.d(e,"find",(function(){return St})),o.d(e,"elementScale",(function(){return It})),o.d(e,"autoTextColor",(function(){return Ot})),o.d(e,"createHashSet",(function(){return Et})),o.d(e,"defaultErrorHandler",(function(){return Bt})),o.d(e,"append",(function(){return rt})),o.d(e,"bindEvents",(function(){return nt})),o.d(e,"Class",(function(){return w.Class})),o.d(e,"defined",(function(){return at})),o.d(e,"deg",(function(){return st})),o.d(e,"elementOffset",(function(){return pt})),o.d(e,"elementSize",(function(){return ct})),o.d(e,"eventElement",(function(){return lt})),o.d(e,"eventCoordinates",(function(){return ut})),o.d(e,"last",(function(){return ht})),o.d(e,"limitValue",(function(){return dt})),o.d(e,"logToConsole",(function(){return w.logToConsole})),o.d(e,"objectKey",(function(){return gt})),o.d(e,"rad",(function(){return ft})),o.d(e,"round",(function(){return vt})),o.d(e,"unbindEvents",(function(){return yt})),o.d(e,"valueOrDefault",(function(){return _t})),o.d(e,"chartBaseTheme",(function(){return Bl}));var i={};o.r(i),o.d(i,"NAVIGATOR_AXIS",(function(){return ks})),o.d(i,"NAVIGATOR_PANE",(function(){return As}));var r="arc",n="#000",a="bottom",s="center",p="circle",c="date",l=/\{\d+:?/,u="left",h=Number.MAX_VALUE,d=-Number.MAX_VALUE,g="right",f="top",v="value",y="#fff",_="x",m="y";function b(t){return Array.isArray(t)}function x(t,e){for(var o=b(e)?e:[e],i=0;i<o.length;i++){var r=o[i];-1===t.className.indexOf(r)&&(t.className+=" "+r)}}var C=/\s+/g;function S(t,e){t&&t.className&&(t.className=t.className.replace(e,"").replace(C," "))}var w=o(1);function A(t){var e=.5;t.options.stroke&&w.drawing.util.defined(t.options.stroke.width)&&t.options.stroke.width%2==0&&(e=0);for(var o=0;o<t.segments.length;o++)t.segments[o].anchor().round(0).translate(e,e);return t}function k(t,e){return-t.x*e.y+t.y*e.x<0}function I(t){return"number"==typeof t&&!isNaN(t)}function O(t){return"string"==typeof t}function P(t){return I(t)||O(t)&&isFinite(t)}function j(t){return"function"==typeof t}function T(t,e){for(var o in e){var i=e[o],r=typeof i,n=void 0;if((n="object"===r&&null!==i?i.constructor:null)&&n!==Array)if(i instanceof Date)t[o]=new Date(i.getTime());else if(j(i.clone))t[o]=i.clone();else{var a=t[o];t[o]="object"==typeof a&&a||{},T(t[o],i)}else"undefined"!==r&&(t[o]=i)}return t}function M(t){for(var e=arguments,o=arguments.length,i=1;i<o;i++)T(t,e[i]);return t}function D(t){return"object"==typeof t}function E(t){return I(t)?t+"px":t}var B=/width|height|top|left|bottom|right/i;function R(t){return B.test(t)}function L(t,e){var o=O(e)?[e]:e;if(b(o)){for(var i={},r=window.getComputedStyle(t),n=0;n<o.length;n++){var a=o[n];i[a]=R(a)?parseFloat(r[a]):r[a]}return i}if(D(e))for(var s in e)t.style[s]=E(e[s])}function V(t,e){void 0===e&&(e=0);var o={top:0,right:0,bottom:0,left:0};return"number"==typeof t?o.top=o[g]=o[a]=o[u]=t:(o.top=t.top||e,o[g]=t[g]||e,o[a]=t[a]||e,o[u]=t[u]||e),o}var z={compile:function(t){return t}},N=function(){};N.register=function(t){z=t},N.compile=function(t){return z.compile(t)};var F=N;function G(t){var e;return void 0===t&&(t={}),t.template?t.template=e=F.compile(t.template):j(t.content)&&(e=t.content),e}var H=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,U={};function W(t){if(U[t])return U[t];var e=[];return t.replace(H,(function(t,o,i,r){e.push(w.drawing.util.defined(o)?o:i||r)})),U[t]=function(t){for(var o=t,i=0;i<e.length&&o;i++)o=o[e[i]];return o},U[t]}function X(t,e){for(var o=t.length,i=[],r=0;r<o;r++)e(t[r])&&i.push(t[r]);return i}function Y(t,e){if(t.className)for(var o=e.split(" "),i=0;i<o.length;i++)if(-1!==t.className.indexOf(o[i]))return!0}U[void 0]=function(t){return t};var q=function(){this._map={}};q.prototype.get=function(t){return this._map[this._key(t)]},q.prototype.set=function(t,e){this._map[this._key(t)]=e},q.prototype._key=function(t){return t instanceof Date?t.getTime():t};var Z=q;function K(t,e){if(e)return-1!==e.indexOf(t)}function Q(t,e,o){return w.drawing.util.round(t+(e-t)*o,3)}var $=function(t,e){this.observer=t,this.handlerMap=M({},this.handlerMap,e)};$.prototype.trigger=function(t,e){var o,i=this.observer,r=this.handlerMap;return r[t]?o=this.callObserver(r[t],e):i.trigger&&(o=this.callObserver("trigger",t,e)),o},$.prototype.callObserver=function(t){for(var e=[],o=arguments.length-1;o-- >0;)e[o]=arguments[o+1];return this.observer[t].apply(this.observer,e)},$.prototype.requiresHandlers=function(t){if(this.observer.requiresHandlers)return this.observer.requiresHandlers(t);for(var e=0;e<t.length;e++)if(this.handlerMap[t[e]])return!0};var J=$;function tt(t,e){for(var o=t.length,i=[],r=0;r<o;r++){var n=e(t[r]);w.drawing.util.defined(n)&&i.push(n)}return i}var et=w.support.browser||{};function ot(t){var e=0;return t.wheelDelta?(e=-t.wheelDelta/120,et.webkit&&(e/=2*Math.max(window.devicePixelRatio,.625))):t.detail&&(e=t.detail/3),e=e>0?Math.ceil(e):Math.floor(e)}var it=w.drawing.util,rt=it.append,nt=it.bindEvents,at=it.defined,st=it.deg,pt=it.elementOffset,ct=it.elementSize,lt=it.eventElement,ut=it.eventCoordinates,ht=it.last,dt=it.limitValue,gt=it.objectKey,ft=it.rad,vt=it.round,yt=it.unbindEvents,_t=it.valueOrDefault,mt=function(){};mt.fetchFonts=function(t,e,o){void 0===o&&(o={depth:0});!t||o.depth>5||!document.fonts||Object.keys(t).forEach((function(i){var r=t[i];"dataSource"!==i&&"$"!==i[0]&&r&&("font"===i?e.push(r):"object"==typeof r&&(o.depth++,mt.fetchFonts(r,e,o),o.depth--))}))},mt.loadFonts=function(t,e){var o=[];if(t.length>0&&document.fonts){try{o=t.map((function(t){return document.fonts.load(t)}))}catch(t){Object(w.logToConsole)(t)}Promise.all(o).then(e,e)}else e()},mt.preloadFonts=function(t,e){var o=[];mt.fetchFonts(t,o),mt.loadFonts(o,e)};var bt=mt;function xt(t,e){var o=t.prototype;o.options?o.options=M({},o.options,e):o.options=e}function Ct(t){for(var e=h,o=d,i=0,r=t.length;i<r;i++){var n=t[i];null!==n&&isFinite(n)&&(e=Math.min(e,n),o=Math.max(o,n))}return{min:e===h?void 0:e,max:o===d?void 0:o}}function St(t,e){for(var o=0;o<t.length;o++){var i=t[o];if(e(i,o,t))return i}}var wt=w.geometry.Matrix,At=/matrix\((.*)\)/;function kt(t){var e=getComputedStyle(t).transform;return"none"===e?wt.unit():function(t){var e=t.match(At);if(null===e||2!==e.length)return wt.unit();var o=e[1].split(",").map((function(t){return parseFloat(t)}));return new(Function.prototype.bind.apply(wt,[null].concat(o)))}(e)}function It(t){if(!t)return wt.unit();for(var e=kt(t),o=t.parentElement;o;){var i=kt(o);e=e.multiplyCopy(i),o=o.parentElement}return e.b=e.c=e.e=e.f=0,e}var Ot=function(t){return new w.Color(t).isDark()?y:n},Pt={},jt=function(t){this._index={},this._values=t?t.slice(0):[];for(var e=0;e<this._values.length;e++)this._index[this._values[e]]=e},Tt={size:{configurable:!0}};jt.prototype.values=function(){return this._values.filter((function(t){return t!==Pt}))},jt.prototype.has=function(t){return void 0!==this._index[t]},jt.prototype.add=function(t){this.has(t)||(this._index[t]=this._values.length,this._values.push(t))},jt.prototype.delete=function(t){var e=this._index[t];void 0!==e&&(this._values[e]=Pt,delete this._index[t])},jt.prototype.clear=function(){this._index={},this._values=[]},Tt.size.get=function(){return this._values.length},Object.defineProperties(jt.prototype,Tt);var Mt=function(t){this._set=new Set(t)},Dt={size:{configurable:!0}};Mt.prototype.values=function(){return Array.from(this._set)},Mt.prototype.has=function(t){return this._set.has(t)},Mt.prototype.add=function(t){this._set.add(t)},Mt.prototype.delete=function(t){this._set.delete(t)},Mt.prototype.clear=function(){this._set.clear()},Dt.size.get=function(){return this._set.size},Object.defineProperties(Mt.prototype,Dt);function Et(t){return function(){var t=!1;"function"==typeof Set&&(t=new Set([1]).has(1));return t}()?new Mt(t):new jt(t)}function Bt(t){throw t}function Rt(t,e){var o=vt(e-t,9);if(0===o){if(0===e)return.1;o=Math.abs(e)}var i=Math.pow(10,Math.floor(Math.log(o)/Math.log(10))),r=vt(o/i,10);return vt(i*(r<1.904762?.2:r<4.761904?.5:r<9.523809?1:2),10)}var Lt=function(t){function e(e,o){t.call(this),this.x=e||0,this.y=o||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y},e.prototype.rotate=function(t,e){var o=ft(e),i=Math.cos(o),r=Math.sin(o),n=t.x,a=t.y,s=this.x,p=this.y;return this.x=vt(n+(s-n)*i+(p-a)*r,3),this.y=vt(a+(p-a)*i-(s-n)*r,3),this},e.prototype.multiply=function(t){return this.x*=t,this.y*=t,this},e.prototype.distanceTo=function(t){var e=this.x-t.x,o=this.y-t.y;return Math.sqrt(e*e+o*o)},e.onCircle=function(t,o,i){var r=ft(o);return new e(t.x-i*Math.cos(r),t.y-i*Math.sin(r))},e}(w.Class);function Vt(t,e,o,i,r){var n=ft(r);return new Lt(o+(t-o)*Math.cos(n)+(e-i)*Math.sin(n),i-(t-o)*Math.sin(n)+(e-i)*Math.cos(n))}var zt=function(t){function e(e,o,i,r){t.call(this),this.x1=e||0,this.y1=o||0,this.x2=i||0,this.y2=r||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.equals=function(t){return this.x1===t.x1&&this.x2===t.x2&&this.y1===t.y1&&this.y2===t.y2},e.prototype.width=function(){return this.x2-this.x1},e.prototype.height=function(){return this.y2-this.y1},e.prototype.translate=function(t,e){return this.x1+=t,this.x2+=t,this.y1+=e,this.y2+=e,this},e.prototype.move=function(t,e){var o=this.height(),i=this.width();return at(t)&&(this.x1=t,this.x2=this.x1+i),at(e)&&(this.y1=e,this.y2=this.y1+o),this},e.prototype.wrap=function(t){return this.x1=Math.min(this.x1,t.x1),this.y1=Math.min(this.y1,t.y1),this.x2=Math.max(this.x2,t.x2),this.y2=Math.max(this.y2,t.y2),this},e.prototype.wrapPoint=function(t){var o=b(t),i=o?t[0]:t.x,r=o?t[1]:t.y;return this.wrap(new e(i,r,i,r)),this},e.prototype.snapTo=function(t,e){return e!==_&&e||(this.x1=t.x1,this.x2=t.x2),e!==m&&e||(this.y1=t.y1,this.y2=t.y2),this},e.prototype.alignTo=function(t,e){var o=this.height(),i=this.width(),r=e===f||e===a?m:_,n=r===m?o:i;if(e===s){var p=t.center(),c=this.center();this.x1+=p.x-c.x,this.y1+=p.y-c.y}else this[r+1]=e===f||e===u?t[r+1]-n:t[r+2];return this.x2=this.x1+i,this.y2=this.y1+o,this},e.prototype.shrink=function(t,e){return this.x2-=t,this.y2-=e,this},e.prototype.expand=function(t,e){return this.shrink(-t,-e),this},e.prototype.pad=function(t){var e=V(t);return this.x1-=e.left,this.x2+=e.right,this.y1-=e.top,this.y2+=e.bottom,this},e.prototype.unpad=function(t){var e=V(t);return e.left=-e.left,e.top=-e.top,e.right=-e.right,e.bottom=-e.bottom,this.pad(e)},e.prototype.clone=function(){return new e(this.x1,this.y1,this.x2,this.y2)},e.prototype.center=function(){return new Lt(this.x1+this.width()/2,this.y1+this.height()/2)},e.prototype.containsPoint=function(t){return t.x>=this.x1&&t.x<=this.x2&&t.y>=this.y1&&t.y<=this.y2},e.prototype.points=function(){return[new Lt(this.x1,this.y1),new Lt(this.x2,this.y1),new Lt(this.x2,this.y2),new Lt(this.x1,this.y2)]},e.prototype.getHash=function(){return[this.x1,this.y1,this.x2,this.y2].join(",")},e.prototype.overlaps=function(t){return!(t.y2<this.y1||this.y2<t.y1||t.x2<this.x1||this.x2<t.x1)},e.prototype.rotate=function(t){var e=this.width(),o=this.height(),i=this.center(),r=i.x,n=i.y,a=Vt(0,0,r,n,t),s=Vt(e,0,r,n,t),p=Vt(e,o,r,n,t),c=Vt(0,o,r,n,t);return e=Math.max(a.x,s.x,p.x,c.x)-Math.min(a.x,s.x,p.x,c.x),o=Math.max(a.y,s.y,p.y,c.y)-Math.min(a.y,s.y,p.y,c.y),this.x2=this.x1+e,this.y2=this.y1+o,this},e.prototype.toRect=function(){return new w.geometry.Rect([this.x1,this.y1],[this.width(),this.height()])},e.prototype.hasSize=function(){return 0!==this.width()&&0!==this.height()},e.prototype.align=function(t,e,o){var i=e+1,r=e+2,n=e===_?"width":"height",p=this[n]();K(o,[u,f])?(this[i]=t[i],this[r]=this[i]+p):K(o,[g,a])?(this[r]=t[r],this[i]=this[r]-p):o===s&&(this[i]=t[i]+(t[n]()-p)/2,this[r]=this[i]+p)},e}(w.Class);function Nt(t,e){return t-e}var Ft=function(t){function e(e,o,i,r,n){t.call(this),this.center=e,this.innerRadius=o,this.radius=i,this.startAngle=r,this.angle=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.center,this.innerRadius,this.radius,this.startAngle,this.angle)},e.prototype.middle=function(){return this.startAngle+this.angle/2},e.prototype.setRadius=function(t,e){return e?this.innerRadius=t:this.radius=t,this},e.prototype.point=function(t,e){var o=ft(t),i=Math.cos(o),r=Math.sin(o),n=e?this.innerRadius:this.radius,a=vt(this.center.x-i*n,3),s=vt(this.center.y-r*n,3);return new Lt(a,s)},e.prototype.adjacentBox=function(t,e,o){var i=this.clone().expand(t),r=i.middle(),n=i.point(r),a=e/2,s=o/2,p=Math.sin(ft(r)),c=Math.cos(ft(r)),l=n.x-a,u=n.y-s;return Math.abs(p)<.9&&(l+=a*-c/Math.abs(c)),Math.abs(c)<.9&&(u+=s*-p/Math.abs(p)),new zt(l,u,l+e,u+o)},e.prototype.containsPoint=function(t){var e=this.center,o=this.innerRadius,i=this.radius,r=this.startAngle,n=this.startAngle+this.angle,a=t.x-e.x,s=t.y-e.y,p=new Lt(a,s),c=this.point(r),l=new Lt(c.x-e.x,c.y-e.y),u=this.point(n),h=new Lt(u.x-e.x,u.y-e.y),d=vt(a*a+s*s,3);return(l.equals(p)||k(l,p))&&!k(h,p)&&d>=o*o&&d<=i*i},e.prototype.getBBox=function(){var t,e=new zt(h,h,d,d),o=vt(this.startAngle%360),i=vt((o+this.angle)%360),r=this.innerRadius,n=[0,90,180,270,o,i].sort(Nt),a=n.indexOf(o),s=n.indexOf(i);t=o===i?n:a<s?n.slice(a,s+1):[].concat(n.slice(0,s+1),n.slice(a,n.length));for(var p=0;p<t.length;p++){var c=this.point(t[p]);e.wrapPoint(c),e.wrapPoint(c,r)}return r||e.wrapPoint(this.center),e},e.prototype.expand=function(t){return this.radius+=t,this},e}(w.Class),Gt=function(t){function e(e,o,i,r){t.call(this,e,0,o,i,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expand=function(e){return t.prototype.expand.call(this,e)},e.prototype.clone=function(){return new e(this.center,this.radius,this.startAngle,this.angle)},e.prototype.setRadius=function(t){return this.radius=t,this},e}(Ft),Ht=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createRing=function(t,e){var o=t.startAngle+180,i=t.angle+o;t.angle>0&&o===i&&(i+=.001);var r=new w.geometry.Point(t.center.x,t.center.y),n=Math.max(t.radius,0),a=Math.max(t.innerRadius,0),s=new w.geometry.Arc(r,{startAngle:o,endAngle:i,radiusX:n,radiusY:n}),p=w.drawing.Path.fromArc(s,e).close();if(a){s.radiusX=s.radiusY=a;var c=s.pointAt(i);p.lineTo(c.x,c.y),p.arc(i,o,a,a,!0)}else p.lineTo(r.x,r.y);return p},e}(w.Class);Ht.current=new Ht;var Ut=Ht,Wt=function(t){function e(e){t.call(this),this.children=[],this.options=M({},this.options,this.initUserOptions(e))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){return t},e.prototype.reflow=function(t){for(var e,o=this.children,i=0;i<o.length;i++){var r=o[i];r.reflow(t),e=e?e.wrap(r.box):r.box.clone()}this.box=e||t},e.prototype.destroy=function(){var t=this.children;this.animation&&this.animation.destroy();for(var e=0;e<t.length;e++)t[e].destroy()},e.prototype.getRoot=function(){var t=this.parent;return t?t.getRoot():null},e.prototype.getSender=function(){var t=this.getService();if(t)return t.sender},e.prototype.getService=function(){for(var t=this;t;){if(t.chartService)return t.chartService;t=t.parent}},e.prototype.translateChildren=function(t,e){for(var o=this.children,i=o.length,r=0;r<i;r++)o[r].box.translate(t,e)},e.prototype.append=function(){for(var t=arguments,e=this,o=0;o<arguments.length;o++){var i=t[o];e.children.push(i),i.parent=e}},e.prototype.renderVisual=function(){!1!==this.options.visible&&(this.createVisual(),this.addVisual(),this.renderChildren(),this.createAnimation(),this.renderComplete())},e.prototype.addVisual=function(){this.visual&&(this.visual.chartElement=this,this.parent&&this.parent.appendVisual(this.visual))},e.prototype.renderChildren=function(){for(var t=this.children,e=t.length,o=0;o<e;o++)t[o].renderVisual()},e.prototype.createVisual=function(){this.visual=new w.drawing.Group({zIndex:this.options.zIndex,visible:_t(this.options.visible,!0)})},e.prototype.createAnimation=function(){this.visual&&this.options.animation&&(this.animation=w.drawing.Animation.create(this.visual,this.options.animation))},e.prototype.appendVisual=function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):at(t.options.zIndex)?this.stackRoot().stackVisual(t):this.isStackRoot?this.stackVisual(t):this.visual?this.visual.append(t):this.parent.appendVisual(t)},e.prototype.clipRoot=function(){return this.parent?this.parent.clipRoot():this},e.prototype.stackRoot=function(){return this.parent?this.parent.stackRoot():this},e.prototype.stackVisual=function(t){var e,o=t.options.zIndex||0,i=this.visual.children,r=i.length;for(e=0;e<r;e++){var n=i[e];if(_t(n.options.zIndex,0)>o)break}this.visual.insert(e,t)},e.prototype.traverse=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++){var r=e[i];t(r),r.traverse&&r.traverse(t)}},e.prototype.closest=function(t){for(var e=this,o=!1;e&&!o;)(o=t(e))||(e=e.parent);if(o)return e},e.prototype.renderComplete=function(){},e.prototype.hasHighlight=function(){var t=(this.options||{}).highlight;return!(!this.createHighlight||t&&!1===t.visible)},e.prototype.toggleHighlight=function(t,e){var o=this,i=(this.options||{}).highlight||{},r=i.visual,n=this._highlight;if(!n){var a={fill:{color:y,opacity:e||.2},stroke:{color:y,width:1,opacity:e||.2}};if(r){if(!(n=this._highlight=r(Object.assign(this.highlightVisualArgs(),{createVisual:function(){return o.createHighlight(a)},sender:this.getSender(),series:this.series,dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total}))))return}else n=this._highlight=this.createHighlight(a);at(n.options.zIndex)||(n.options.zIndex=_t(i.zIndex,this.options.zIndex)),this.appendVisual(n)}n.visible(t)},e.prototype.createGradientOverlay=function(t,e,o){var i=new w.drawing.Path(Object.assign({stroke:{color:"none"},fill:this.createGradient(o),closed:t.options.closed},e));return i.segments.elements(t.segments.elements()),i},e.prototype.createGradient=function(t){if(this.parent)return this.parent.createGradient(t)},e.prototype.supportsPointInactiveOpacity=function(){return!0},e}(w.Class);Wt.prototype.options={};var Xt=Wt,Yt=function(t){function e(e){t.call(this,e),this.options.margin=V(this.options.margin),this.options.padding=V(this.options.padding)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){var o,i=this,r=this.options,n=r.width,a=r.height,s=r.shrinkToFit,p=n&&a,c=r.margin,l=r.padding,u=r.border.width,h=function(){i.align(e,_,r.align),i.align(e,m,r.vAlign),i.paddingBox=o.clone().unpad(c).unpad(u)},d=e.clone();p&&(d.x2=d.x1+n,d.y2=d.y1+a),s&&d.unpad(c).unpad(u).unpad(l),t.prototype.reflow.call(this,d),o=p?this.box=new zt(0,0,n,a):this.box,s&&p?(h(),d=this.contentBox=this.paddingBox.clone().unpad(l)):(d=this.contentBox=o.clone(),o.pad(l).pad(u).pad(c),h()),this.translateChildren(o.x1-d.x1+c.left+u+l.left,o.y1-d.y1+c.top+u+l.top);for(var g=this.children,f=0;f<g.length;f++){var v=g[f];v.reflow(v.box)}},e.prototype.align=function(t,e,o){this.box.align(t,e,o)},e.prototype.hasBox=function(){var t=this.options;return t.border.width||t.background},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.options.visible&&this.hasBox()&&this.visual.append(w.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()))},e.prototype.visualStyle=function(){var t=this.options,e=t.border||{};return{stroke:{width:e.width,color:e.color,opacity:_t(e.opacity,t.opacity),dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},cursor:t.cursor}},e}(Xt);xt(Yt,{align:u,vAlign:f,margin:{},padding:{},border:{color:n,width:0},background:"",shrinkToFit:!1,width:0,height:0,visible:!0});var qt=Yt,Zt=function(t){function e(e,o){t.call(this,e),this.pointData=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getElement=function(){var t=this.options,e=this.paddingBox,o=t.type,i=t.rotation,r=e.center(),n=e.width()/2,a=e.height()/2;if(!t.visible||!this.hasBox())return null;var s,c=this.visualStyle();if(o===p)s=new w.drawing.Circle(new w.geometry.Circle([vt(e.x1+n,3),vt(e.y1+a,3)],Math.min(n,a)),c);else if("triangle"===o)s=w.drawing.Path.fromPoints([[e.x1+n,e.y1],[e.x1,e.y2],[e.x2,e.y2]],c).close();else if("cross"===o)(s=new w.drawing.MultiPath(c)).moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),s.moveTo(e.x1,e.y2).lineTo(e.x2,e.y1);else{var l=e.toRect();if("roundedRect"===o){var u=_t(t.borderRadius,l.width()/5);l.setCornerRadius(u)}s=w.drawing.Path.fromRect(l,c)}return i&&s.transform(w.geometry.transform().rotate(-i,[r.x,r.y])),s.options.zIndex=t.zIndex,s},e.prototype.createElement=function(){var t=this,e=this.options.visual,o=this.pointData||{};return e?e({value:o.value,dataItem:o.dataItem,sender:this.getSender(),series:o.series,category:o.category,rect:this.paddingBox.toRect(),options:this.visualOptions(),createVisual:function(){return t.getElement()}}):this.getElement()},e.prototype.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}},e.prototype.createVisual=function(){this.visual=this.createElement()},e}(qt);xt(Zt,{type:p,align:s,vAlign:s});var Kt=Zt,Qt={glass:{type:"linear",rotation:0,stops:[{offset:0,color:y,opacity:0},{offset:.25,color:y,opacity:.3},{offset:1,color:y,opacity:0}]},sharpBevel:{type:"radial",stops:[{offset:0,color:y,opacity:.55},{offset:.65,color:y,opacity:0},{offset:.95,color:y,opacity:.25}]},roundedBevel:{type:"radial",stops:[{offset:.33,color:y,opacity:.06},{offset:.83,color:y,opacity:.2},{offset:.95,color:y,opacity:0}]},roundedGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:y,opacity:0},{offset:.5,color:y,opacity:.3},{offset:.99,color:y,opacity:0}]},sharpGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:y,opacity:.2},{offset:.15,color:y,opacity:.15},{offset:.17,color:y,opacity:.35},{offset:.85,color:y,opacity:.05},{offset:.87,color:y,opacity:.15},{offset:.99,color:y,opacity:0}]},bubbleShadow:{type:"radial",center:[.5,.5],radius:.5}};function $t(t,e){if(t.x1===e.x1&&t.y1===e.y1&&t.x2===e.x2&&t.y2===e.y2)return e;var o=Math.min(t.x1,e.x1),i=Math.max(t.x1,e.x1),r=Math.min(t.x2,e.x2),n=Math.max(t.x2,e.x2),a=Math.min(t.y1,e.y1),s=Math.max(t.y1,e.y1),p=Math.min(t.y2,e.y2),c=Math.max(t.y2,e.y2),l=[];return l[0]=new zt(i,a,r,s),l[1]=new zt(o,s,i,p),l[2]=new zt(r,s,n,p),l[3]=new zt(i,p,r,c),t.x1===o&&t.y1===a||e.x1===o&&e.y1===a?(l[4]=new zt(o,a,i,s),l[5]=new zt(r,p,n,c)):(l[4]=new zt(r,a,n,s),l[5]=new zt(o,p,i,c)),X(l,(function(t){return t.height()>0&&t.width()>0}))[0]}var Jt=function(t){function e(e){t.call(this,e);var o=this.options;o.width=parseInt(o.width,10),o.height=parseInt(o.height,10),this.gradients={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t=this.options,e=this.children,o=new zt(0,0,t.width,t.height);this.box=o.unpad(t.margin);for(var i=0;i<e.length;i++)e[i].reflow(o),o=$t(o,e[i].box)||new zt},e.prototype.createVisual=function(){this.visual=new w.drawing.Group,this.createBackground()},e.prototype.createBackground=function(){var t=this.options,e=t.border||{},o=this.box.clone().pad(t.margin).unpad(e.width),i=w.drawing.Path.fromRect(o.toRect(),{stroke:{color:e.width?e.color:"",width:e.width,dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},zIndex:-10});this.visual.append(i)},e.prototype.getRoot=function(){return this},e.prototype.createGradient=function(t){var e,o=this.gradients,i=gt(t),r=Qt[t.gradient];if(o[i])e=o[i];else{var n=Object.assign({},r,t);"linear"===r.type?e=new w.drawing.LinearGradient(n):(t.innerRadius&&(n.stops=function(t){for(var e=t.stops,o=t.innerRadius/t.radius*100,i=e.length,r=[],n=0;n<i;n++){var a=Object.assign({},e[n]);a.offset=(a.offset*(100-o)+o)/100,r.push(a)}return r}(n)),(e=new w.drawing.RadialGradient(n)).supportVML=!1!==r.supportVML),o[i]=e}return e},e.prototype.cleanGradients=function(){var t=this.gradients;for(var e in t)t[e]._observers=[]},e.prototype.size=function(){var t=this.options;return new zt(0,0,t.width,t.height)},e}(Xt);xt(Jt,{width:600,height:400,background:y,border:{color:n,width:0},margin:V(5),zIndex:-2});var te=Jt,ee=function(t){function e(e){t.call(this,e),this._initDirection()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initDirection=function(){var t=this.options;t.vertical?(this.groupAxis=_,this.elementAxis=m,this.groupSizeField="width",this.elementSizeField="height",this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=m,this.elementAxis=_,this.groupSizeField="height",this.elementSizeField="width",this.groupSpacing=t.vSpacing,this.elementSpacing=t.spacing)},e.prototype.reflow=function(t){this.box=t.clone(),this.reflowChildren()},e.prototype.reflowChildren=function(){var t=this.box,e=this.elementAxis,o=this.groupAxis,i=this.elementSizeField,r=this.groupSizeField,n=this.groupOptions(),a=n.groups,s=n.groupsSize,p=n.maxGroupElementsSize,c=a.length,l=t[o+1]+this.alignStart(s,t[r]());if(c){for(var u=l,h=0;h<c;h++){for(var d=a[h],g=d.groupElements,f=t[e+1],v=g.length,y=0;y<v;y++){var _=g[y],m=this.elementSize(_),b=u+this.alignStart(m[r],d.groupSize),x=new zt;x[o+1]=b,x[o+2]=b+m[r],x[e+1]=f,x[e+2]=f+m[i],_.reflow(x),f+=m[i]+this.elementSpacing}u+=d.groupSize+this.groupSpacing}t[o+1]=l,t[o+2]=l+s,t[e+2]=t[e+1]+p}},e.prototype.alignStart=function(t,e){var o=0,i=this.options.align;return i===g||i===a?o=e-t:i===s&&(o=(e-t)/2),o},e.prototype.groupOptions=function(){for(var t=this.box,e=this.children,o=this.elementSizeField,i=this.groupSizeField,r=this.elementSpacing,n=this.groupSpacing,a=vt(t[o]()),s=e.length,p=[],c=0,l=0,u=0,h=0,d=[],g=0;g<s;g++){var f=e[g];f.box||f.reflow(t);var v=this.elementSize(f);this.options.wrap&&vt(l+r+v[o])>a&&(p.push({groupElements:d,groupSize:c,groupElementsSize:l}),h=Math.max(h,l),u+=n+c,c=0,l=0,d=[]),c=Math.max(c,v[i]),l>0&&(l+=r),l+=v[o],d.push(f)}return p.push({groupElements:d,groupSize:c,groupElementsSize:l}),{groups:p,groupsSize:u+=c,maxGroupElementsSize:h=Math.max(h,l)}},e.prototype.elementSize=function(t){return{width:t.box.width(),height:t.box.height()}},e.prototype.createVisual=function(){},e}(Xt);xt(ee,{vertical:!0,wrap:!0,vSpacing:0,spacing:0});var oe=ee,ie=w.drawing.Text,re=function(t){function e(e,o){t.call(this,o),this.content=e,this.reflow(new zt)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=e.size=w.drawing.util.measureText(this.content,{font:e.font});this.baseline=o.baseline,this.box=new zt(t.x1,t.y1,t.x1+o.width,t.y1+o.height)},e.prototype.createVisual=function(){var t=this.options,e=t.font,o=t.color,i=t.opacity,r=t.cursor;this.visual=new ie(this.content,this.box.toRect().topLeft(),{font:e,fill:{color:o,opacity:i},cursor:r})},e}(Xt);xt(re,{font:"12px sans-serif",color:n});var ne=re;function ae(t){var e=t.origin,o=t.bottomRight();return new zt(e.x,e.y,o.x,o.y)}var se=/\n/m,pe=function(t){function e(e,o,i){t.call(this,o),this.content=e,this.data=i,this._initContainer(),!1!==this.options._autoReflow&&this.reflow(new zt)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initContainer=function(){var t=this.options,e=String(this.content).split(se),o=new oe({vertical:!0,align:t.align,wrap:!1}),i=M({},t,{opacity:1,animation:null});this.container=o,this.append(o);for(var r=0;r<e.length;r++){var n=new ne(e[r].trim(),i);o.append(n)}},e.prototype.reflow=function(e){var o=this.options,i=o.visual;if(this.container.options.align=o.align,i&&!this._boxReflow){var r=e;r.hasSize()||(this._boxReflow=!0,this.reflow(r),this._boxReflow=!1,r=this.box);var n=this.visual=i(this.visualContext(r));n&&(r=ae(n.clippedBBox()||new w.geometry.Rect),n.options.zIndex=o.zIndex),this.box=this.contentBox=this.paddingBox=r}else if(t.prototype.reflow.call(this,e),o.rotation){var a=V(o.margin),s=this.box.unpad(a);this.targetBox=e,this.normalBox=s.clone(),(s=this.rotate()).translate(a.left-a.right,a.top-a.bottom),this.rotatedBox=s.clone(),s.pad(a)}},e.prototype.createVisual=function(){var t=this.options;if(this.visual=new w.drawing.Group({transform:this.rotationTransform(),zIndex:t.zIndex,noclip:t.noclip}),this.hasBox()){var e=w.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle());this.visual.append(e)}},e.prototype.renderVisual=function(){if(this.options.visible)if(this.options.visual){var e=this.visual;e&&!at(e.options.noclip)&&(e.options.noclip=this.options.noclip),this.addVisual(),this.createAnimation()}else t.prototype.renderVisual.call(this)},e.prototype.visualContext=function(t){var e=this,o={text:this.content,rect:t.toRect(),sender:this.getSender(),options:this.options,createVisual:function(){return e._boxReflow=!0,e.reflow(t),e._boxReflow=!1,e.getDefaultVisual()}};return this.data&&Object.assign(o,this.data),o},e.prototype.getDefaultVisual=function(){this.createVisual(),this.renderChildren();var t=this.visual;return delete this.visual,t},e.prototype.rotate=function(){var t=this.options;return this.box.rotate(t.rotation),this.align(this.targetBox,_,t.align),this.align(this.targetBox,m,t.vAlign),this.box},e.prototype.rotationTransform=function(){var t=this.options.rotation;if(!t)return null;var e=this.normalBox.center(),o=e.x,i=e.y,r=this.rotatedBox.center();return w.geometry.transform().translate(r.x-o,r.y-i).rotate(t,[o,i])},e}(qt),ce=function(t){function e(e){t.call(this,e),this.append(new pe(this.options.text,Object.assign({},this.options,{vAlign:this.options.position})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){t.prototype.reflow.call(this,e),this.box.snapTo(e,_)},e.buildTitle=function(t,o,i){var r,n=t;return"string"==typeof t&&(n={text:t}),(n=Object.assign({visible:!0},i,n))&&n.visible&&n.text&&(r=new e(n),o.append(r)),r},e}(Xt);xt(ce,{color:n,position:f,align:s,margin:V(5),padding:V(5)});var le=ce,ue=function(t){function e(e,o,i,r,n){t.call(this,o,n),this.text=o,this.value=e,this.index=i,this.dataItem=r,this.reflow(new zt)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.visualContext=function(e){var o=t.prototype.visualContext.call(this,e);return o.value=this.value,o.dataItem=this.dataItem,o.format=this.options.format,o.culture=this.options.culture,o},e.prototype.click=function(t,e){t.trigger("axisLabelClick",{element:lt(e),value:this.value,text:this.text,index:this.index,dataItem:this.dataItem,axis:this.parent.options})},e.prototype.rotate=function(){if(this.options.alignRotation!==s){var e=this.normalBox.toRect(),o=this.rotationTransform();this.box=ae(e.bbox(o.matrix()))}else t.prototype.rotate.call(this);return this.box},e.prototype.rotationTransform=function(){var e=this.options,o=e.rotation;if(!o)return null;if(e.alignRotation===s)return t.prototype.rotationTransform.call(this);var i=w.geometry.transform().rotate(o).matrix(),r=this.normalBox.toRect(),n=this.targetBox.toRect(),p=e.rotationOrigin||f,c=p===f||p===a?_:m,l=p===f||p===a?m:_,h=p===f||p===u?n.origin:n.bottomRight(),d=r.topLeft().transformCopy(i),g=r.topRight().transformCopy(i),v=r.bottomRight().transformCopy(i),y=r.bottomLeft().transformCopy(i),b=w.geometry.Rect.fromPoints(d,g,v,y),x={};x[l]=n.origin[l]-b.origin[l];var C,S,A=Math.abs(d[l]+x[l]-h[l]),k=Math.abs(g[l]+x[l]-h[l]);vt(A,10)===vt(k,10)?(C=d,S=g):k<A?(C=g,S=v):(C=d,S=y);var I=C[c]+(S[c]-C[c])/2;return x[c]=n.center()[c]-I,w.geometry.transform().translate(x.x,x.y).rotate(o)},e}(pe);xt(ue,{_autoReflow:!1});var he=ue,de=function(t){function e(e,o,i){t.call(this,o),this.fields=e,this.chartService=i,this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hide=function(){this.options.visible=!1},e.prototype.show=function(){this.options.visible=!0},e.prototype.render=function(){var t=this,e=this.options;if(e.visible){var o,i,r=e.label,n=e.icon,a=new zt,s=function(){return t},c=n.size,l=this.fields.text;if(at(r)&&r.visible){var u=G(r);u?l=u(this.fields):r.format&&(l=this.chartService.format.auto(r.format,l)),r.color||(r.color="inside"===r.position?"#fff":n.background),this.label=new pe(l,M({},r)),this.label.aliasFor=s,"inside"!==r.position||at(c)||(n.type===p?c=Math.max(this.label.box.width(),this.label.box.height()):(o=this.label.box.width(),i=this.label.box.height()),a.wrap(this.label.box))}n.width=o||c||7,n.height=i||c||7;var h=new Kt(M({},n));h.aliasFor=s,this.marker=h,this.append(h),this.label&&this.append(this.label),h.reflow(new zt),this.wrapperBox=a.wrap(h.box)}},e.prototype.reflow=function(t){var e,o,i,r=this.options,n=this.label,s=this.marker,p=this.wrapperBox,c=t.center(),l=r.line.length,h=r.position;r.visible&&(K(h,[u,g])?h===u?(i=p.alignTo(t,h).translate(-l,t.center().y-p.center().y),r.line.visible&&(e=[t.x1,c.y],this.linePoints=[e,[i.x2,c.y]],o=i.clone().wrapPoint(e))):(i=p.alignTo(t,h).translate(l,t.center().y-p.center().y),r.line.visible&&(e=[t.x2,c.y],this.linePoints=[e,[i.x1,c.y]],o=i.clone().wrapPoint(e))):h===a?(i=p.alignTo(t,h).translate(t.center().x-p.center().x,l),r.line.visible&&(e=[c.x,t.y2],this.linePoints=[e,[c.x,i.y1]],o=i.clone().wrapPoint(e))):(i=p.alignTo(t,h).translate(t.center().x-p.center().x,-l),r.line.visible&&(e=[c.x,t.y1],this.linePoints=[e,[c.x,i.y2]],o=i.clone().wrapPoint(e))),s&&s.reflow(i),n&&(n.reflow(i),s&&("outside"===r.label.position&&n.box.alignTo(s.box,h),n.reflow(n.box))),this.contentBox=i,this.targetBox=t,this.box=o||i)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.visual.options.noclip=this.options.noclip,this.options.visible&&this.createLine()},e.prototype.renderVisual=function(){var e=this,o=this.options,i=o.visual;o.visible&&i?(this.visual=i(Object.assign(this.fields,{sender:this.getSender(),rect:this.targetBox.toRect(),options:{background:o.background,border:o.background,icon:o.icon,label:o.label,line:o.line,position:o.position,visible:o.visible},createVisual:function(){e.createVisual(),e.renderChildren();var t=e.visual;return delete e.visual,t}})),this.addVisual()):t.prototype.renderVisual.call(this)},e.prototype.createLine=function(){var t=this.options.line;if(this.linePoints){var e=w.drawing.Path.fromPoints(this.linePoints,{stroke:{color:t.color,width:t.width,dashType:t.dashType}});A(e),this.visual.append(e)}},e.prototype.click=function(t,e){var o=this.eventArgs(e);t.trigger("noteClick",o)||e.preventDefault()},e.prototype.over=function(t,e){var o=this.eventArgs(e);t.trigger("noteHover",o)||e.preventDefault()},e.prototype.out=function(t,e){var o=this.eventArgs(e);t.trigger("noteLeave",o)},e.prototype.eventArgs=function(t){var e=this.options;return Object.assign(this.fields,{element:lt(t),text:at(e.label)?e.label.text:"",visual:this.visual})},e}(qt);xt(de,{icon:{visible:!0,type:p},label:{position:"inside",visible:!0,align:s,vAlign:s},line:{visible:!0},visible:!0,position:f,zIndex:2});var ge=de,fe={format:function(t,e){return e},toString:function(t){return t},parseDate:function(t){return new Date(t)},firstDay:function(){return 0}},ve=function(){},ye={implementation:{configurable:!0}};ve.register=function(t){fe=t},ye.implementation.get=function(){return fe},Object.defineProperties(ve,ye);var _e=ve,me=/\{(\d+)(:[^\}]+)?\}/g,be=function(t){this._intlService=t},xe={intl:{configurable:!0}};xe.intl.get=function(){return this._intlService||_e.implementation},xe.intl.set=function(t){this._intlService=t},be.prototype.auto=function(t){for(var e=[],o=arguments.length-1;o-- >0;)e[o]=arguments[o+1];var i=this.intl;return O(t)&&t.match(l)?i.format.apply(i,[t].concat(e)):i.toString(e[0],t)},be.prototype.localeAuto=function(t,e,o){var i=this.intl;return O(t)&&t.match(l)?t.replace(me,(function(t,r,n){var a=e[parseInt(r,10)];return i.toString(a,n?n.substring(1):"",o)})):i.toString(e[0],t,o)},Object.defineProperties(be.prototype,xe);var Ce=be,Se=function(t,e){void 0===e&&(e={}),this._intlService=e.intlService,this.sender=e.sender||t,this.format=new Ce(e.intlService),this.chart=t,this.rtl=Boolean(e.rtl)},we={intl:{configurable:!0}};we.intl.get=function(){return this._intlService||_e.implementation},we.intl.set=function(t){this._intlService=t,this.format.intl=t},Se.prototype.notify=function(t,e){this.chart&&this.chart.trigger(t,e)},Se.prototype.isPannable=function(t){var e=((this.chart||{}).options||{}).pannable;return e&&e.lock!==t},Object.defineProperties(Se.prototype,we);var Ae,ke=Se,Ie=function(){};Ie.register=function(t){Ae=t},Ie.create=function(t,e){if(Ae)return Ae.create(t,e)};var Oe=Ie;function Pe(t,e){var o=t.tickX,i=t.tickY,r=t.position,n=new w.drawing.Path({stroke:{width:e.width,color:e.color}});return t.vertical?n.moveTo(o,r).lineTo(o+e.size,r):n.moveTo(r,i).lineTo(r,i+e.size),A(n),n}function je(t,e){var o=t.lineStart,i=t.lineEnd,r=t.position,n=new w.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});return t.vertical?n.moveTo(o,r).lineTo(i,r):n.moveTo(r,o).lineTo(r,i),A(n),n}var Te=function(t){function e(e,o){void 0===o&&(o=new ke),t.call(this,e),this.chartService=o,this.options.visible||(this.options=M({},this.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),this.options.minorTicks=M({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.minorTickType},this.options.minorTicks,{size:this.options.minorTickSize,align:this.options.minorTickType}),this.options.majorTicks=M({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.majorTickType},this.options.majorTicks,{size:this.options.majorTickSize,align:this.options.majorTickType}),this.initFields(),this.options._deferLabels||this.createLabels(),this.createTitle(),this.createNotes()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.labelsCount()}},e.prototype.normalizeLabelRotation=function(t){var e=t.rotation;D(e)&&(t.alignRotation=e.align,t.rotation=e.angle)},e.prototype.createLabels=function(){var t=this.options,e=t.vertical?g:s,o=M({},t.labels,{align:e,zIndex:t.zIndex}),i=Math.max(1,o.step);if(this.clearLabels(),o.visible){this.normalizeLabelRotation(o),"auto"===o.rotation&&(o.rotation=0,t.autoRotateLabels=!0);for(var r=this.labelsRange(),n=r.min;n<r.max;n+=i){var a={index:n,count:r.max},p=this.createAxisLabel(n,o,a);p&&(this.append(p),this.labels.push(p))}}},e.prototype.clearLabels=function(){this.children=X(this.children,(function(t){return!(t instanceof he)})),this.labels=[]},e.prototype.clearTitle=function(){var t=this;this.title&&(this.children=X(this.children,(function(e){return e!==t.title})),this.title=void 0)},e.prototype.clear=function(){this.clearLabels(),this.clearTitle()},e.prototype.lineBox=function(){var t=this.options,e=this.box,o=t.vertical,i=t.labels.mirror,r=i?e.x1:e.x2,n=i?e.y2:e.y1,a=t.line.width||0;return o?new zt(r,e.y1,r,e.y2-a):new zt(e.x1,n,e.x2-a,n)},e.prototype.createTitle=function(){var t=this.options,e=M({rotation:t.vertical?-90:0,text:"",zIndex:1,visualSize:!0},t.title);if(e.visible&&e.text){var o=new pe(e.text,e);this.append(o),this.title=o}},e.prototype.createNotes=function(){var t=this.options,e=t.notes,o=e.data||[];this.notes=[];for(var i=0;i<o.length;i++){var r=M({},e,o[i]);r.value=this.parseNoteValue(r.value);var n=new ge({value:r.value,text:r.label.text,dataItem:r},r,this.chartService);n.options.visible&&(at(n.options.position)?t.vertical&&!K(n.options.position,[u,g])?n.options.position=t.reverse?u:g:t.vertical||K(n.options.position,[f,a])||(n.options.position=t.reverse?a:f):t.vertical?n.options.position=t.reverse?u:g:n.options.position=t.reverse?a:f,this.append(n),this.notes.push(n))}},e.prototype.parseNoteValue=function(t){return t},e.prototype.renderVisual=function(){t.prototype.renderVisual.call(this),this.createPlotBands()},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.createBackground(),this.createLine()},e.prototype.gridLinesVisual=function(){var t=this._gridLines;return t||(t=this._gridLines=new w.drawing.Group({zIndex:-2}),this.appendVisual(this._gridLines)),t},e.prototype.createTicks=function(t){var e=this.options,o=this.lineBox(),i=e.labels.mirror,r=e.majorTicks.visible?e.majorUnit:0,n={vertical:e.vertical};function a(e,r,a){var s=e.length,p=Math.max(1,r.step);if(r.visible)for(var c=r.skip;c<s;c+=p)at(a)&&c%a==0||(n.tickX=i?o.x2:o.x2-r.size,n.tickY=i?o.y1-r.size:o.y1,n.position=e[c],t.append(Pe(n,r)))}a(this.getMajorTickPositions(),e.majorTicks),a(this.getMinorTickPositions(),e.minorTicks,r/e.minorUnit)},e.prototype.createLine=function(){var t=this.options,e=t.line,o=this.lineBox();if(e.width>0&&e.visible){var i=new w.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});i.moveTo(o.x1,o.y1).lineTo(o.x2,o.y2),t._alignLines&&A(i);var r=this._lineGroup=new w.drawing.Group;r.append(i),this.visual.append(r),this.createTicks(r)}},e.prototype.getActualTickSize=function(){var t=this.options,e=0;return t.majorTicks.visible&&t.minorTicks.visible?e=Math.max(t.majorTicks.size,t.minorTicks.size):t.majorTicks.visible?e=t.majorTicks.size:t.minorTicks.visible&&(e=t.minorTicks.size),e},e.prototype.createBackground=function(){var t=this.options,e=this.box,o=t.background;o&&(this._backgroundPath=w.drawing.Path.fromRect(e.toRect(),{fill:{color:o},stroke:null}),this.visual.append(this._backgroundPath))},e.prototype.createPlotBands=function(){var t=this,e=this.options,o=e.plotBands||[],i=e.vertical,r=this.plotArea;if(0!==o.length){for(var n=this._plotbandGroup=new w.drawing.Group({zIndex:-1}),a=X(this.pane.axes,(function(e){return e.options.vertical!==t.options.vertical}))[0],s=0;s<o.length;s++){var p=o[s],c=void 0,l=void 0,h=p.label,d=void 0;if(i?(c=(a||r.axisX).lineBox(),l=t.getSlot(p.from,p.to,!0)):(c=t.getSlot(p.from,p.to,!0),l=(a||r.axisY).lineBox()),h&&(h.vAlign=h.position||u,d=t.createPlotBandLabel(h,p,new zt(c.x1,l.y1,c.x2,l.y2))),0!==c.width()&&0!==l.height()){var g=new w.geometry.Rect([c.x1,l.y1],[c.width(),l.height()]),f=w.drawing.Path.fromRect(g,{fill:{color:p.color,opacity:p.opacity},stroke:null});n.append(f),d&&n.append(d)}}this.appendVisual(n)}},e.prototype.createPlotBandLabel=function(t,e,o){if(!1===t.visible)return null;var i,r=t.text;if(at(t)&&t.visible){var n=G(t);n?r=n({text:r,item:e}):t.format&&(r=this.chartService.format.auto(t.format,r)),t.color||(t.color=this.options.labels.color)}return(i=new pe(r,t)).reflow(o),i.renderVisual(),i.visual},e.prototype.createGridLines=function(t){var e=this.options,o=e.minorGridLines,i=e.majorGridLines,r=e.minorUnit,n=e.vertical,a=t.options.line.visible,s=i.visible?e.majorUnit:0,p=t.lineBox(),c=p[n?"y1":"x1"],l={lineStart:p[n?"x1":"y1"],lineEnd:p[n?"x2":"y2"],vertical:n},u=[],h=this.gridLinesVisual();function d(t,e,o){var i=t.length,r=Math.max(1,e.step);if(e.visible)for(var n=e.skip;n<i;n+=r){var s=vt(t[n]);K(s,u)||n%o==0||a&&c===s||(l.position=s,h.append(je(l,e)),u.push(s))}}return d(this.getMajorTickPositions(),i),d(this.getMinorTickPositions(),o,s/r),h.children},e.prototype.reflow=function(t){for(var e=this.options,o=this.labels,i=this.title,r=e.vertical,n=o.length,a=r?"width":"height",s=i?i.box[a]():0,p=this.getActualTickSize()+e.margin+s,c=((this.getRoot()||{}).box||t)[a](),l=0,u=0;u<n;u++){var h=o[u].box[a]();h+p<=c&&(l=Math.max(l,h))}this.box=r?new zt(t.x1,t.y1,t.x1+l+p,t.y2):new zt(t.x1,t.y1,t.x2,t.y1+l+p),this.arrangeTitle(),this.arrangeLabels(),this.arrangeNotes()},e.prototype.getLabelsTickPositions=function(){return this.getMajorTickPositions()},e.prototype.labelTickIndex=function(t){return t.index},e.prototype.arrangeLabels=function(){for(var t=this.options,e=this.labels,o=this.labelsBetweenTicks(),i=t.vertical,r=t.labels.mirror,n=this.getLabelsTickPositions(),a=0;a<e.length;a++){var s=e[a],p=this.labelTickIndex(s),c=i?s.box.height():s.box.width(),l=n[p],u=n[p+1],h=void 0,d=void 0;if(i){if(o)h=l+(u-l)/2-c/2;else h=l-c/2;d=h}else o?(h=l,d=u):d=(h=l-c/2)+c;this.positionLabel(s,r,h,d)}},e.prototype.positionLabel=function(t,e,o,i){void 0===i&&(i=o);var r,n=this.options,s=n.vertical,p=this.lineBox(),c=this.getActualTickSize()+n.margin;if(s){var l=p.x2;e?(l+=c,t.options.rotationOrigin=u):(l-=c+t.box.width(),t.options.rotationOrigin=g),r=t.box.move(l,o)}else{var h=p.y1;e?(h-=c+t.box.height(),t.options.rotationOrigin=a):(h+=c,t.options.rotationOrigin=f),r=new zt(o,h,i,h+t.box.height())}t.reflow(r)},e.prototype.autoRotateLabelAngle=function(t,e){return t.width()<e?0:t.height()>e?-90:-45},e.prototype.autoRotateLabels=function(){if(!this.options.autoRotateLabels||this.options.vertical)return!1;for(var t=this.getMajorTickPositions(),e=this.labels,o=Math.min(e.length,t.length-1),i=0,r=0;r<o;r++){var n=Math.abs(t[r+1]-t[r]),a=e[r].box,s=this.autoRotateLabelAngle(a,n);if(0!==s&&(i=s),-90===i)break}if(0!==i){for(var p=0;p<e.length;p++)e[p].options.rotation=i,e[p].reflow(new zt);return!0}},e.prototype.arrangeTitle=function(){var t=this.options,e=this.title,o=t.labels.mirror,i=t.vertical;e&&(i?(e.options.align=o?g:u,e.options.vAlign=e.options.position):(e.options.align=e.options.position,e.options.vAlign=o?f:a),e.reflow(this.box))},e.prototype.arrangeNotes=function(){for(var t=0;t<this.notes.length;t++){var e=this.notes[t],o=e.options.value,i=void 0;at(o)?(this.shouldRenderNote(o)?e.show():e.hide(),i=this.noteSlot(o)):e.hide(),e.reflow(i||this.lineBox())}},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.alignTo=function(t){var e=t.lineBox(),o=this.options.vertical,i=o?m:_;this.box.snapTo(e,i),o?this.box.shrink(0,this.lineBox().height()-e.height()):this.box.shrink(this.lineBox().width()-e.width(),0),this.box[i+1]-=this.lineBox()[i+1]-e[i+1],this.box[i+2]-=this.lineBox()[i+2]-e[i+2]},e.prototype.axisLabelText=function(t,e,o){var i,r=this,n=G(e),a=function(){return e.format?r.chartService.format.localeAuto(e.format,[t],e.culture):t};n?i=n(Object.assign({},o,{get text(){return a()},value:t,format:e.format,culture:e.culture})):i=a();return i},e.prototype.slot=function(t,e,o){var i=this.getSlot(t,e,o);if(i)return i.toRect()},e.prototype.contentBox=function(){var t=this.box.clone(),e=this.labels;if(e.length){var o=this.options.vertical?m:_;if(this.chartService.isPannable(o)){var i=this.maxLabelOffset();t[o+1]-=i.start,t[o+2]+=i.end}else{e[0].options.visible&&t.wrap(e[0].box);var r=e[e.length-1];r.options.visible&&t.wrap(r.box)}}return t},e.prototype.maxLabelOffset=function(){for(var t=this.options,e=t.vertical,o=t.reverse,i=this.labelsBetweenTicks(),r=this.getLabelsTickPositions(),n=e?m:_,a=this.labels,s=o?1:0,p=o?0:1,c=0,l=0,u=0;u<a.length;u++){var h=a[u],d=this.labelTickIndex(h),g=void 0,f=void 0;i?(g=r[d+s],f=r[d+p]):g=f=r[d],c=Math.max(c,g-h.box[n+1]),l=Math.max(l,h.box[n+2]-f)}return{start:c,end:l}},e.prototype.limitRange=function(t,e,o,i,r){var n=this.options;if(t<o&&r<0&&(!at(n.min)||n.min<=o)||i<e&&r>0&&(!at(n.max)||i<=n.max))return null;if(e<o&&r>0||i<t&&r<0)return{min:t,max:e};var a=e-t,s=t,p=e;return t<o&&r<0?(s=dt(t,o,i),p=dt(t+a,o+a,i)):e>i&&r>0&&(p=dt(e,o,i),s=dt(e-a,o,i-a)),{min:s,max:p}},e.prototype.valueRange=function(){return{min:this.seriesMin,max:this.seriesMax}},e.prototype.lineDir=function(){var t=this.options;return(t.vertical?-1:1)*(t.reverse?-1:1)},e.prototype.lineInfo=function(){var t=this.options.vertical,e=this.lineBox(),o=t?e.height():e.width(),i=t?m:_,r=this.lineDir(),n=i+(1===r?1:2).toString();return{axis:i,axisOrigin:n,axisDir:r,lineBox:e,lineSize:o,lineStart:e[n]}},e.prototype.pointOffset=function(t){var e=this.lineInfo(),o=e.axis,i=e.axisDir,r=e.axisOrigin,n=e.lineBox,a=e.lineSize;return(i>0?t[o]-n[r]:n[r]-t[o])/a},e.prototype.scaleToDelta=function(t,e){var o=dt(t,-.999,.999);return o>0?e*Math.min(1,o):e-e/(1+o)},e.prototype.labelsBetweenTicks=function(){return!this.options.justified},e.prototype.prepareUserOptions=function(){},e}(Xt);xt(Te,{labels:{visible:!0,rotation:0,mirror:!1,step:1,skip:0},line:{width:1,color:n,visible:!0},title:{visible:!0,position:s},majorTicks:{align:"outside",size:4,skip:0,step:1},minorTicks:{align:"outside",size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:"outside",minorTickType:"none",majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:n,skip:0,step:1},margin:5,visible:!0,reverse:!1,justified:!0,notes:{label:{text:""}},_alignLines:!0,_deferLabels:!1});var Me=Te,De="days",Ee="years",Be={years:31536e6,months:26784e5,weeks:6048e5,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1};function Re(t,e){return t.getTime()-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset())}function Le(t,e){return new Date(t.getTime()+e)}function Ve(t){var e;return t instanceof Date?e=t:t&&(e=new Date(t)),e}function ze(t,e){return 0===e&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function Ne(t,e,o,i){var r=t;if(t){var n=Ve(t),a=n.getHours();o===Ee?ze(r=new Date(n.getFullYear()+e,0,1),0):"months"===o?ze(r=new Date(n.getFullYear(),n.getMonth()+e,1),a):"weeks"===o?ze(r=Ne(function(t,e){void 0===e&&(e=0);var o=0,i=t.getDay();if(!isNaN(i))for(;i!==e;)0===i?i=6:i--,o++;return Le(t,864e5*-o)}(n,i),7*e,De),a):o===De?ze(r=new Date(n.getFullYear(),n.getMonth(),n.getDate()+e),a):"hours"===o?r=function(t,e){var o=new Date(t);o.setMinutes(0,0,0);var i=6e4*(t.getTimezoneOffset()-o.getTimezoneOffset());return Le(o,i+36e5*e)}(n,e):"minutes"===o?(r=Le(n,6e4*e)).getSeconds()>0&&r.setSeconds(0):"seconds"===o?r=Le(n,1e3*e):"milliseconds"===o&&(r=Le(n,e)),"milliseconds"!==o&&r.getMilliseconds()>0&&r.setMilliseconds(0)}return r}function Fe(t,e,o){return Ne(Ve(t),0,e,o)}function Ge(t,e,o){var i=Ve(t);return i&&Fe(i,e,o).getTime()===i.getTime()?i:Ne(i,1,e,o)}function He(t,e){return t&&e?t.getTime()-e.getTime():-1}function Ue(t,e){return t.getTime()-e}function We(t){if(b(t)){for(var e=[],o=0;o<t.length;o++)e.push(We(t[o]));return e}if(t)return Ve(t).getTime()}function Xe(t,e){return t&&e?We(t)===We(e):t===e}function Ye(t,e,o){return Re(t,e)/Be[o]}function qe(t,e,o,i){var r=Ve(t),n=Ve(e);return("months"===o?r.getMonth()-n.getMonth()+12*(r.getFullYear()-n.getFullYear())+Ye(r,new Date(r.getFullYear(),r.getMonth()),De)/new Date(r.getFullYear(),r.getMonth()+1,0).getDate():o===Ee?r.getFullYear()-n.getFullYear()+qe(r,new Date(r.getFullYear(),0),"months",1)/12:o===De||"weeks"===o?Ye(r,n,o):Ue(r,e)/Be[o])/i}function Ze(t,e,o){return o===Ee?e.getFullYear()-t.getFullYear():"months"===o?12*Ze(t,e,Ee)+e.getMonth()-t.getMonth():o===De?Math.floor(Ue(e,t)/864e5):Math.floor(Ue(e,t)/Be[o])}function Ke(t,e){return O(e)&&t.parseDate(e)||Ve(e)}function Qe(t,e){if(b(e)){for(var o=[],i=0;i<e.length;i++)o.push(Ke(t,e[i]));return o}return Ke(t,e)}function $e(t,e){return I(t.weekStartDay)?t.weekStartDay:e&&e.firstDay?e.firstDay():0}var Je=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this._ticks={}},e.prototype.categoriesHash=function(){return""},e.prototype.clone=function(){var t=new e(Object.assign({},this.options,{categories:this.options.srcCategories}),this.chartService);return t.createLabels(),t},e.prototype.initUserOptions=function(t){var e=t.categories||[],o=at(t.min),i=at(t.max);if(t.srcCategories=t.categories=e,(o||i)&&e.length){var r,n=o?Math.floor(t.min):0;r=i?t.justified?Math.floor(t.max)+1:Math.ceil(t.max):e.length,t.categories=t.categories.slice(n,r)}return t},e.prototype.rangeIndices=function(){var t=this.options,e=t.categories.length||1;return{min:I(t.min)?t.min%1:0,max:I(t.max)&&t.max%1!=0&&t.max<this.totalRange().max?e-(1-t.max%1):e-(t.justified?1:0)}},e.prototype.totalRangeIndices=function(t){var e,o=this.options,i=I(o.min)?o.min:0;if(e=I(o.max)?o.max:I(o.min)?i+o.categories.length:this.totalRange().max||1,t){var r=this.totalRange();i=dt(i,0,r.max),e=dt(e,0,r.max)}return{min:i,max:e}},e.prototype.range=function(){var t=this.options;return{min:I(t.min)?t.min:0,max:I(t.max)?t.max:this.totalRange().max}},e.prototype.roundedRange=function(){return this.range()},e.prototype.totalRange=function(){var t=this.options;return{min:0,max:Math.max(this._seriesMax||0,t.srcCategories.length)-(t.justified?1:0)}},e.prototype.scaleOptions=function(){var t=this.rangeIndices(),e=t.min,o=t.max,i=this.lineBox();return{scale:(this.options.vertical?i.height():i.width())/(o-e||1)*(this.options.reverse?-1:1),box:i,min:e,max:o}},e.prototype.arrangeLabels=function(){t.prototype.arrangeLabels.call(this),this.hideOutOfRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){var t=this.box,e=this.labels;if(e.length>0){var o=this.options.vertical?m:_,i=t[o+1],r=t[o+2],n=e[0],a=ht(e);(n.box[o+1]>r||n.box[o+2]<i)&&(n.options.visible=!1),(a.box[o+1]>r||a.box[o+2]<i)&&(a.options.visible=!1)}},e.prototype.getMajorTickPositions=function(){return this.getTicks().majorTicks},e.prototype.getMinorTickPositions=function(){return this.getTicks().minorTicks},e.prototype.getLabelsTickPositions=function(){return this.getTicks().labelTicks},e.prototype.tickIndices=function(t){for(var e=this.rangeIndices(),o=e.min,i=e.max,r=Math.ceil(i),n=Math.floor(o),a=[];n<=r;)a.push(n),n+=t;return a},e.prototype.getTickPositions=function(t){for(var e=this.options,o=e.vertical,i=e.reverse,r=this.scaleOptions(),n=r.scale,a=r.box,s=r.min,p=a[(o?m:_)+(i?2:1)],c=this.tickIndices(t),l=[],u=0;u<c.length;u++)l.push(p+vt(n*(c[u]-s),3));return l},e.prototype.getTicks=function(){var t=this.options,e=this._ticks,o=this.rangeIndices(),i=this.lineBox(),r=i.getHash()+o.min+","+o.max+t.reverse+t.justified;if(e._hash!==r){var n=t.minorTicks.visible||t.minorGridLines.visible;e._hash=r,e.labelTicks=this.getTickPositions(1),e.majorTicks=this.filterOutOfRangePositions(e.labelTicks,i),e.minorTicks=n?this.filterOutOfRangePositions(this.getTickPositions(.5),i):[]}return e},e.prototype.filterOutOfRangePositions=function(t,e){if(!t.length)return t;for(var o=this.options.vertical?m:_,i=function(t){return e[o+1]<=t&&t<=e[o+2]},r=t.length-1,n=0;!i(t[n])&&n<=r;)n++;for(var a=r;!i(t[a])&&a>=0;)a--;return t.slice(n,a+1)},e.prototype.lineInfo=function(){var t=this.options,e=t.vertical,o=t.reverse,i=this.lineBox(),r=e?i.height():i.width(),n=e?m:_,a=o?-1:1,s=n+(1===a?1:2).toString();return{axis:n,axisOrigin:s,axisDir:a,lineBox:i,lineSize:r,lineStart:i[s]}},e.prototype.lineDir=function(){return this.options.reverse?-1:1},e.prototype.getSlot=function(t,e,o){var i=this.options,r=i.reverse,n=i.justified,a=this.scaleOptions(),s=a.scale,p=a.box,c=a.min,l=this.lineInfo(),u=l.axis,h=l.lineStart,d=p.clone(),g=!at(e),f=_t(t,0),v=_t(e,f);v=Math.max(v-1,f);var y=h+(f-c)*s,_=h+((v=Math.max(f,v))+1-c)*s;return g&&n&&(_=y),o&&(y=dt(y,p[u+1],p[u+2]),_=dt(_,p[u+1],p[u+2])),d[u+1]=r?_:y,d[u+2]=r?y:_,d},e.prototype.limitSlot=function(t){var e=this.options.vertical?m:_,o=this.lineBox(),i=t.clone();return i[e+1]=dt(t[e+1],o[e+1],o[e+2]),i[e+2]=dt(t[e+2],o[e+1],o[e+2]),i},e.prototype.slot=function(e,o,i){var r=Math.floor(this.options.min||0),n=e,a=o;return"string"==typeof n?n=this.categoryIndex(n):I(n)&&(n-=r),"string"==typeof a?a=this.categoryIndex(a):I(a)&&(a-=r),t.prototype.slot.call(this,n,a,i)},e.prototype.pointCategoryIndex=function(t){var e=this.options,o=e.reverse,i=e.justified,r=e.vertical?m:_,n=this.scaleOptions(),a=n.scale,s=n.box,p=n.min,c=n.max,l=o?c:p,u=s[r+1],h=s[r+2],d=t[r];if(d<u||d>h)return null;var g=l+(d-u)/a,f=g%1;return i?g=Math.round(g):0===f&&g>0&&g--,Math.floor(g)},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.options.categories[e]},e.prototype.categoryIndex=function(t){return this.totalIndex(t)-Math.floor(this.options.min||0)},e.prototype.categoryAt=function(t,e){var o=this.options;return(e?o.srcCategories:o.categories)[t]},e.prototype.categoriesCount=function(){return(this.options.categories||[]).length},e.prototype.translateRange=function(t){var e=this.options,o=this.lineBox(),i=e.vertical?o.height():o.width(),r=e.categories.length,n=vt(t/(i/r),10);return{min:n,max:r+n}},e.prototype.scaleRange=function(t,e){var o=Math.abs(this.pointOffset(e)),i=this.totalRangeIndices(),r=i.max-i.min,n=this.scaleToDelta(t,r),a=o*n,s=(1-o)*n,p=i.min+a,c=i.max-s;return c-p<.1&&(c=p+.1),{min:p,max:c}},e.prototype.zoomRange=function(t,e){var o=this.totalRange(),i=o.min,r=o.max,n=this.scaleRange(t,e);return{min:dt(n.min,i,r),max:dt(n.max,i,r)}},e.prototype.labelsCount=function(){var t=this.labelsRange();return t.max-t.min},e.prototype.labelsRange=function(){var t=this.options,e=t.justified,o=t.labels,i=this.totalRangeIndices(!0),r=i.min,n=i.max,a=Math.floor(r);return e?(r=Math.ceil(r),n=Math.floor(n)):(r=Math.floor(r),n=Math.ceil(n)),{min:(r>o.skip?o.skip+o.step*Math.ceil((r-o.skip)/o.step):o.skip)-a,max:(t.categories.length?n+(e?1:0):0)-a}},e.prototype.createAxisLabel=function(t,e,o){var i=this.options,r=i.dataItems?i.dataItems[t]:null,n=_t(i.categories[t],"");o.dataItem=r;var a=this.axisLabelText(n,e,o);return new he(n,a,t,r,e)},e.prototype.shouldRenderNote=function(t){var e=this.totalRangeIndices();return Math.floor(e.min)<=t&&t<=Math.ceil(e.max)},e.prototype.noteSlot=function(t){var e=this.options,o=t-Math.floor(e.min||0);return this.getSlot(o)},e.prototype.arrangeNotes=function(){t.prototype.arrangeNotes.call(this),this.hideOutOfRangeNotes()},e.prototype.hideOutOfRangeNotes=function(){var t=this.notes,e=this.box;if(t&&t.length)for(var o=this.options.vertical?m:_,i=e[o+1],r=e[o+2],n=0;n<t.length;n++){var a=t[n];a.box&&(r<a.box[o+1]||a.box[o+2]<i)&&a.hide()}},e.prototype.pan=function(t){var e=this.totalRangeIndices(!0),o=this.scaleOptions().scale,i=vt(t/o,10),r=this.totalRange(),n=e.min+i,a=e.max+i;return this.limitRange(n,a,0,r.max,i)},e.prototype.pointsRange=function(t,e){var o=this.options,i=o.reverse,r=o.vertical?m:_,n=this.totalRangeIndices(!0),a=this.scaleOptions(),s=a.scale,p=a.box[r+(i?2:1)],c=t[r]-p,l=e[r]-p,u=n.min+c/s,h=n.min+l/s,d=Math.min(u,h),g=Math.max(u,h);if(g-d>=.01)return{min:d,max:g}},e.prototype.valueRange=function(){return this.range()},e.prototype.totalIndex=function(t){var e=this.options;return this._categoriesMap?this._categoriesMap.get(t):function(t,e){if(t instanceof Date){for(var o=e.length,i=0;i<o;i++)if(Xe(e[i],t))return i;return-1}return e.indexOf(t)}(t,e.srcCategories)},e.prototype.currentRangeIndices=function(){var t=this.options,e=0;return I(t.min)&&(e=Math.floor(t.min)),{min:e,max:I(t.max)?t.justified?Math.floor(t.max):Math.ceil(t.max)-1:this.totalCount()-1}},e.prototype.mapCategories=function(){if(!this._categoriesMap)for(var t=this._categoriesMap=new Z,e=this.options.srcCategories,o=0;o<e.length;o++)t.set(e[o],o)},e.prototype.totalCount=function(){return Math.max(this.options.srcCategories.length,this._seriesMax||0)},e}(Me);xt(Je,{type:"category",vertical:!1,majorGridLines:{visible:!1,width:1,color:n},labels:{zIndex:1},justified:!1,_deferLabels:!0});var to=Je,eo={milliseconds:"HH:mm:ss.fff",seconds:"HH:mm:ss",minutes:"HH:mm",hours:"HH:mm",days:"M/d",weeks:"M/d",months:"MMM 'yy",years:"yyyy"},oo=["milliseconds","seconds","minutes","hours",De,"weeks","months",Ee];function io(t){var e=t._range;return e||((e=t._range=Ct(t)).min=Ve(e.min),e.max=Ve(e.max)),e}var ro=function(t){this.options=t};ro.prototype.displayIndices=function(){return{min:0,max:1}},ro.prototype.displayRange=function(){return{}},ro.prototype.total=function(){return{}},ro.prototype.valueRange=function(){return{}},ro.prototype.valueIndex=function(){return-1},ro.prototype.values=function(){return[]},ro.prototype.totalIndex=function(){return-1},ro.prototype.valuesCount=function(){return 0},ro.prototype.totalCount=function(){return 0},ro.prototype.dateAt=function(){return null};var no=function(t,e,o){this.options=o,o.baseUnitStep=o.baseUnitStep||1;var i=o.roundToBaseUnit,r=o.justified;this.start=Ne(t,0,o.baseUnit,o.weekStartDay);var n=this.roundToTotalStep(e),a=!r&&Xe(e,n)&&!o.justifyEnd;this.end=this.roundToTotalStep(e,!r,a?1:0);var s=o.min||t;this.valueStart=this.roundToTotalStep(s),this.displayStart=i?this.valueStart:s;var p=o.max;if(p){var c=!r&&Xe(p,this.roundToTotalStep(p))?-1:0;this.valueEnd=this.roundToTotalStep(p,!1,c),this.displayEnd=i?this.roundToTotalStep(p,!r):o.max}else this.valueEnd=n,this.displayEnd=i||a?this.end:e;this.valueEnd<this.valueStart&&(this.valueEnd=this.valueStart),this.displayEnd<=this.displayStart&&(this.displayEnd=this.roundToTotalStep(this.displayStart,!1,1))};function ao(t,e,o){for(var i,r,n,a=io(t.categories),s=(t.max||a.max)-(t.min||a.min),p=t.autoBaseUnitSteps,c=t.maxDateGroups,l="fit"===t.baseUnit,u=e?oo.indexOf(e):0,h=l?oo[u++]:t.baseUnit,d=s/Be[h],g=d;!r||d>=c;){i=i||p[h].slice(0);do{n=i.shift()}while(n&&e===h&&n<o);if(n)d=g/(r=n);else{if(h===ht(oo)){r=Math.ceil(g/c);break}if(!l){d>c&&(r=Math.ceil(g/c));break}h=oo[u++]||ht(oo),g=s/Be[h],i=null}}t.baseUnitStep=r,t.baseUnit=h}function so(t){var e=(t.baseUnit||"").toLowerCase();return"fit"!==e&&!K(e,oo)&&function(t){for(var e,o,i=t.categories,r=at(i)?i.length:0,n=h,a=0;a<r;a++){var s=i[a];if(s&&e){var p=Re(s,e);p>0&&(o=(n=Math.min(n,p))>=31536e6?Ee:n>=24192e5?"months":n>=6048e5?"weeks":n>=864e5?De:n>=36e5?"hours":n>=6e4?"minutes":"seconds")}e=s}t.baseUnit=o||De}(t),"fit"!==e&&"auto"!==t.baseUnitStep||ao(t),t}no.prototype.displayRange=function(){return{min:this.displayStart,max:this.displayEnd}},no.prototype.displayIndices=function(){if(!this._indices){var t=this.options,e=t.baseUnit,o=t.baseUnitStep,i=qe(this.displayStart,this.valueStart,e,o),r=qe(this.displayEnd,this.valueStart,e,o);this._indices={min:i,max:r}}return this._indices},no.prototype.total=function(){return{min:this.start,max:this.end}},no.prototype.totalCount=function(){return this.totalIndex(this.end)+(this.options.justified?1:0)},no.prototype.valueRange=function(){return{min:this.valueStart,max:this.valueEnd}},no.prototype.valueIndex=function(t){var e=this.options;return Math.floor(qe(t,this.valueStart,e.baseUnit,e.baseUnitStep))},no.prototype.totalIndex=function(t){var e=this.options;return Math.floor(qe(t,this.start,e.baseUnit,e.baseUnitStep))},no.prototype.dateIndex=function(t){var e=this.options;return qe(t,this.valueStart,e.baseUnit,e.baseUnitStep)},no.prototype.valuesCount=function(){return this.valueIndex(this.valueEnd)+1},no.prototype.values=function(){var t=this._values;if(!t){var e=this.options,o=this.valueRange();this._values=t=[];for(var i=o.min;i<=o.max;)t.push(i),i=Ne(i,e.baseUnitStep,e.baseUnit,e.weekStartDay)}return t},no.prototype.dateAt=function(t,e){var o=this.options;return Ne(e?this.start:this.valueStart,o.baseUnitStep*t,o.baseUnit,o.weekStartDay)},no.prototype.roundToTotalStep=function(t,e,o){var i=this.options,r=i.baseUnit,n=i.baseUnitStep,a=i.weekStartDay,s=this.start,p=qe(t,s,r,n),c=e?Math.ceil(p):Math.floor(p);return o&&(c+=o),Ne(s,c*n,r,a)};var po=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){var t=new e(Object.assign({},this.options),this.chartService);return t.createLabels(),t},e.prototype.categoriesHash=function(){var t=this.dataRange.total().min;return this.options.baseUnit+this.options.baseUnitStep+t},e.prototype.initUserOptions=function(t){return t},e.prototype.initFields=function(){t.prototype.initFields.call(this);var e=this.chartService,o=e.intl,i=this.options,r=i.categories||[];if(r._parsed||((r=Qe(o,r))._parsed=!0),i=M({roundToBaseUnit:!0},i,{categories:r,min:Ke(o,i.min),max:Ke(o,i.max),weekStartDay:$e(i,o)}),e.panning&&e.isPannable(i.vertical?m:_)&&(i.roundToBaseUnit=!1),i.userSetBaseUnit=i.userSetBaseUnit||i.baseUnit,i.userSetBaseUnitStep=i.userSetBaseUnitStep||i.baseUnitStep,this.options=i,i.srcCategories=r,r.length>0){var n=io(r),a=i.maxDivisions;if(this.dataRange=new no(n.min,n.max,so(i)),a){var s=this.dataRange.displayRange(),p=Object.assign({},i,{justified:!0,roundToBaseUnit:!1,baseUnit:"fit",min:s.min,max:s.max,maxDateGroups:a}),c=this.dataRange.options;ao(p,c.baseUnit,c.baseUnitStep),this.divisionRange=new no(n.min,n.max,p)}else this.divisionRange=this.dataRange}else i.baseUnit=i.baseUnit||De,this.dataRange=this.divisionRange=new ro(i);this.rangeLabels=[]},e.prototype.tickIndices=function(e){var o=this.dataRange,i=this.divisionRange,r=i.valuesCount();if(!this.options.maxDivisions||!r)return t.prototype.tickIndices.call(this,e);var n=[],a=i.values(),s=0;this.options.justified||(a=a.concat(i.dateAt(r)),s=.5);for(var p=0;p<a.length;p++)if(n.push(o.dateIndex(a[p])+s),1!==e&&p>=1){var c=n.length-1;n.splice(p,0,n[c-1]+(n[c]-n[c-1])*e)}return n},e.prototype.shouldRenderNote=function(t){var e=this.range(),o=this.options.categories||[];return He(t,e.min)>=0&&He(t,e.max)<=0&&o.length},e.prototype.parseNoteValue=function(t){return Ke(this.chartService.intl,t)},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.translateRange=function(t){var e=this.options,o=e.baseUnit,i=e.weekStartDay,r=e.vertical,n=this.lineBox(),a=r?n.height():n.width(),s=this.range(),p=a/(s.max-s.min),c=vt(t/p,10);if(s.min&&s.max){var l=Le(e.min||s.min,c),u=Le(e.max||s.max,c);s={min:Ne(l,0,o,i),max:Ne(u,0,o,i)}}return s},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.divisionRange.valuesCount()}},e.prototype.pan=function(t){if(this.isEmpty())return null;var e=this.options,o=this.lineBox(),i=e.vertical?o.height():o.width(),r=this.dataRange.displayRange(),n=r.min,a=r.max,s=this.dataRange.total(),p=vt(t/(i/(a-n)),10)*(e.reverse?-1:1),c=Le(n,p),l=Le(a,p),u=this.limitRange(We(c),We(l),We(s.min),We(s.max),p);return u?(u.min=Ve(u.min),u.max=Ve(u.max),u.baseUnit=e.baseUnit,u.baseUnitStep=e.baseUnitStep||1,u.userSetBaseUnit=e.userSetBaseUnit,u.userSetBaseUnitStep=e.userSetBaseUnitStep,u):void 0},e.prototype.pointsRange=function(e,o){if(this.isEmpty())return null;var i=t.prototype.pointsRange.call(this,e,o),r=this.dataRange.displayRange(),n=this.dataRange.displayIndices(),a=Ue(r.max,r.min)/(n.max-n.min),s=this.options;return{min:Le(r.min,i.min*a),max:Le(r.min,i.max*a),baseUnit:s.userSetBaseUnit||s.baseUnit,baseUnitStep:s.userSetBaseUnitStep||s.baseUnitStep}},e.prototype.scaleRange=function(t,e){if(this.isEmpty())return{};var o=this.options,i="fit"===o.userSetBaseUnit,r=this.dataRange.total(),n=this.dataRange.displayRange(),a=n.min,s=n.max,p=Math.abs(this.pointOffset(e)),c=s-a,l=this.scaleToDelta(t,c),u=Math.round(p*l),h=Math.round((1-p)*l),d=this.dataRange.options.baseUnit,g=new Date(a.getTime()+u),f=new Date(s.getTime()-h);if(i){var v,y,_=o.autoBaseUnitSteps,m=o.maxDateGroups,b=ht(_[d])*m*Be[d],x=Ue(s,a),C=Ue(f,g),S=oo.indexOf(d);if(C<Be[d]&&"milliseconds"!==d)d=oo[S-1],g=Le(a,y=(x-(m-1)*(v=ht(_[d]))*Be[d])/2),f=Le(s,-y);else if(C>b&&d!==Ee){var w=0;do{S++,d=oo[S],w=0,y=2*Be[d];do{v=_[d][w],w++}while(w<_[d].length&&y*v<x)}while(d!==Ee&&y*v<x);(y=(y*v-x)/2)>0&&(g=Le(a,-y),f=Le(s,y),g=Le(g,dt(f,r.min,r.max)-f),f=Le(f,dt(g,r.min,r.max)-g))}}return g&&f&&Ue(f,g)>0?{min:g,max:f,baseUnit:o.userSetBaseUnit||o.baseUnit,baseUnitStep:o.userSetBaseUnitStep||o.baseUnitStep}:void 0},e.prototype.zoomRange=function(t,e){var o=this.dataRange.total(),i=this.scaleRange(t,e);return i&&(i.min<o.min&&(i.min=o.min),i.max>o.max&&(i.max=o.max)),i},e.prototype.range=function(){return this.dataRange.displayRange()},e.prototype.createLabels=function(){t.prototype.createLabels.call(this),this.createRangeLabels()},e.prototype.clearLabels=function(){t.prototype.clearLabels.call(this),this.rangeLabels=[]},e.prototype.arrangeLabels=function(){this.arrangeRangeLabels(),t.prototype.arrangeLabels.call(this)},e.prototype.arrangeRangeLabels=function(){var t=this.options,e=this.rangeLabels;if(0!==e.length){var o=this.lineBox(),i=t.vertical,r=t.rangeLabels.mirror||t.labels.mirror,n=e[0];if(n){var a=i?o.y1-n.box.height()/2:o.x1;this.positionLabel(n,r,a)}var s=e[1];if(s){var p=i?o.y2-s.box.height()/2:o.x2;this.positionLabel(s,r,p)}}},e.prototype.autoRotateLabels=function(){t.prototype.autoRotateLabels.call(this),this.autoRotateRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){t.prototype.hideOutOfRangeLabels.call(this),this.hideOverlappingLabels()},e.prototype.hideOverlappingLabels=function(){var t=this.rangeLabels,e=this.labels;if(0!==t.length){var o=t[0];if(o&&o.options.visible)for(var i=0;i<e.length;i++){if(!a(o,e[i]))break}var r=t[1];if(r&&r.options.visible)for(var n=e.length-1;n>0;--n){if(!a(r,e[n]))break}}function a(t,e){return!(e.options.visible&&!e.box.overlaps(t.box))&&(e.options.visible=!1,!0)}},e.prototype.contentBox=function(){for(var e=t.prototype.contentBox.call(this),o=this.rangeLabels,i=0;i<o.length;i++){var r=o[i];r.options.visible&&e.wrap(r.box)}return e},e.prototype.createAxisLabel=function(t,e,o){void 0===o&&(o={});var i=this.options,r=i.dataItems&&!i.maxDivisions?i.dataItems[t]:null,n=this.divisionRange.dateAt(t),a=e.dateFormats[this.divisionRange.options.baseUnit];e.format=e.format||a,o.dataItem=r;var s=this.axisLabelText(n,e,o);if(s)return new he(n,s,t,r,e)},e.prototype.createRangeLabels=function(){var t=this,e=this.divisionRange,o=e.displayStart,i=e.displayEnd,r=this.options,n=Object.assign({},r.labels,r.rangeLabels,{align:s,zIndex:r.zIndex});if(!0===n.visible){this.normalizeLabelRotation(n),n.alignRotation=s,"auto"===n.rotation&&(n.rotation=0,r.autoRotateRangeLabels=!0);var a=n.dateFormats[this.divisionRange.options.baseUnit];n.format=n.format||a;var p=function(e,o,i){if(i){var r=new he(o,i,e,null,n);t.append(r),t.rangeLabels.push(r)}};p(0,o,this.axisLabelText(o,n,{index:0,count:2})),p(1,i,this.axisLabelText(i,n,{index:1,count:2}))}},e.prototype.autoRotateRangeLabels=function(){var t=this,e=this.rangeLabels;if(this.options.autoRotateRangeLabels&&!this.options.vertical&&2===e.length){var o=function(e,o,i){var r=2*Math.abs(o[i+1]-o[i]),n=t.autoRotateLabelAngle(e.box,r);0!==n&&(e.options.rotation=n,e.reflow(new zt))},i=this.getMajorTickPositions();o(e[0],i,0),o(e[1],i,i.length-2)}},e.prototype.categoryIndex=function(t){return this.dataRange.valueIndex(t)},e.prototype.slot=function(t,e,o){var i=this.dataRange,r=t,n=e;r instanceof Date&&(r=i.dateIndex(r)),n instanceof Date&&(n=i.dateIndex(n));var a=this.getSlot(r,n,o);if(a)return a.toRect()},e.prototype.getSlot=function(e,o,i){var r=e,n=o;return"object"==typeof r&&(r=this.categoryIndex(r)),"object"==typeof n&&(n=this.categoryIndex(n)),t.prototype.getSlot.call(this,r,n,i)},e.prototype.valueRange=function(){var t=io(this.options.srcCategories);return{min:Ve(t.min),max:Ve(t.max)}},e.prototype.categoryAt=function(t,e){return this.dataRange.dateAt(t,e)},e.prototype.categoriesCount=function(){return this.dataRange.valuesCount()},e.prototype.rangeIndices=function(){return this.dataRange.displayIndices()},e.prototype.labelsBetweenTicks=function(){return!this.divisionRange.options.justified},e.prototype.prepareUserOptions=function(){this.isEmpty()||(this.options.categories=this.dataRange.values())},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.dataRange.dateAt(e)},e.prototype.totalIndex=function(t){return this.dataRange.totalIndex(t)},e.prototype.currentRangeIndices=function(){var t=this.dataRange.valueRange();return{min:this.dataRange.totalIndex(t.min),max:this.dataRange.totalIndex(t.max)}},e.prototype.totalRange=function(){return this.dataRange.total()},e.prototype.totalCount=function(){return this.dataRange.totalCount()},e.prototype.isEmpty=function(){return!this.options.srcCategories.length},e.prototype.roundedRange=function(){if(!1!==this.options.roundToBaseUnit||this.isEmpty())return this.range();var t=this.options,e=io(t.srcCategories);return new no(e.min,e.max,Object.assign({},t,{justified:!1,roundToBaseUnit:!0,justifyEnd:t.justified})).displayRange()},e}(to);xt(po,{type:c,labels:{dateFormats:eo},rangeLabels:{visible:!1},autoBaseUnitSteps:{milliseconds:[1,10,100],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});var co=po;function lo(t,e){return vt(Math.floor(t/e)*e,10)}function uo(t,e){return vt(Math.ceil(t/e)*e,10)}function ho(t){return Math.max(Math.min(t,3e5),-3e5)}var go=Math.pow(10,-9),fo=function(t){function e(e,o,i,r){t.call(this,Object.assign({},i,{seriesMin:e,seriesMax:o}),r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=function(t,e,o){var i=o.narrowRange,r=function(t,e,o){if(!t&&!e)return 0;var i;if(t>=0&&e>=0){var r=t===e?0:t;if(!1===o||!o&&(e-r)/e>.2)return 0;i=Math.max(0,r-(e-r)/2)}else i=t;return i}(t,e,i),n=function(t,e,o){if(!t&&!e)return 1;var i;if(t<=0&&e<=0){var r=t===e?0:e,n=Math.abs((r-t)/r);if(!1===o||!o&&n>.2)return 0;i=Math.min(0,r-(t-r)/2)}else i=e;return i}(t,e,i),a=Rt(r,n),s={majorUnit:a};!1!==o.roundToMajorUnit&&(r<0&&vo(r,a,1/3)&&(r-=a),n>0&&vo(n,a,1/3)&&(n+=a));return s.min=lo(r,a),s.max=uo(n,a),s}(t.seriesMin,t.seriesMax,t);return this.totalOptions=function(t,e){return{min:at(e.min)?Math.min(t.min,e.min):t.min,max:at(e.max)?Math.max(t.max,e.max):t.max,majorUnit:t.majorUnit}}(e,t),function(t,e){var o,i,r=e;if(e){!function(t,e){for(var o=0;o<e.length;o++){var i=e[o];null===t[i]&&(t[i]=void 0)}}(e,["min","max"]),o=at(e.min),i=at(e.max);var n=o||i;n&&e.min===e.max&&(e.min>0?e.min=0:e.max=1),e.majorUnit?(t.min=lo(t.min,e.majorUnit),t.max=uo(t.max,e.majorUnit)):n&&(r=M(t,e),t.majorUnit=Rt(r.min,r.max))}t.minorUnit=(r.majorUnit||t.majorUnit)/5;var a=M(t,r);a.min>=a.max&&(o&&!i?a.max=a.min+a.majorUnit:!o&&i&&(a.min=a.max-a.majorUnit));return a}(e,t)},e.prototype.initFields=function(){this.totalMin=this.totalOptions.min,this.totalMax=this.totalOptions.max,this.totalMajorUnit=this.totalOptions.majorUnit,this.seriesMin=this.options.seriesMin,this.seriesMax=this.options.seriesMax},e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return 0},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){if(0===t)return 1;var e=this.options,o=e.max-e.min;return Math.floor(vt(o/t,3))+1},e.prototype.getTickPositions=function(t,e){var o=this.options,i=this.lineInfo(),r=i.axisDir,n=i.axisOrigin,a=i.lineBox,s=t*(i.lineSize/(o.max-o.min)),p=this.getDivisions(t),c=[],l=a[n],u=0;e&&(u=e/t);for(var h=0;h<p;h++)h%u!=0&&c.push(vt(l,3)),l+=s*r;return c},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,o){void 0===o&&(o=!1);var i=this.options,r=this.lineInfo(),n=r.axis,a=r.axisDir,s=r.lineBox,p=r.lineSize,c=r.lineStart,l=a*(p/(i.max-i.min)),u=_t(t,e||0),h=_t(e,t||0);o&&(u=dt(u,i.min,i.max),h=dt(h,i.min,i.max));var d=Math.min(u,h)-i.min,g=Math.max(u,h)-i.min,f=new zt(s.x1,s.y1,s.x1,s.y1);return f[n+1]=ho(c+l*(a>0?d:g)),f[n+2]=ho(c+l*(a>0?g:d)),f},e.prototype.getValue=function(t){var e=this.options,o=Number(e.max),i=Number(e.min),r=this.pointOffset(t);return r<0||r>1?null:vt(i+r*(o-i),10)},e.prototype.translateRange=function(t){var e=this.options,o=e.vertical,i=e.reverse,r=e.max,n=e.min,a=this.lineInfo().lineSize,s=vt(t/(a/(r-n)),10);return!o&&!i||o&&i||(s=-s),{min:n+s,max:r+s,offset:s}},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,o){var i=this.options,r=vt(i.min+t*i.majorUnit,10),n=this.axisLabelText(r,e,o);return new he(r,n,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var o=this.getValue(t),i=this.getValue(e),r=Math.min(o,i),n=Math.max(o,i);if(this.isValidRange(r,n))return{min:r,max:n}},e.prototype.scaleRange=function(t,e){var o=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,r=this.scaleToDelta(t,i),n=o*r,a=(1-o)*r,s=vt(this.options.min+n,10),p=vt(this.options.max-a,10);return p-s<go&&(p=s+go),{min:s,max:p}},e.prototype.zoomRange=function(t,e){var o=this.totalMin,i=this.totalMax,r=this.scaleRange(t,e);return{min:dt(r.min,o,i),max:dt(r.max,o,i)}},e.prototype.isValidRange=function(t,e){return e-t>go},e}(Me);function vo(t,e,o){var i=vt(Math.abs(t%e),10);return 0===i||i>e*(1-o)}xt(fo,{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:n},labels:{format:"#.####################"},zIndex:1});var yo=fo,_o=function(t){function e(e,o,i,r){var n=Ve(e),a=Ve(o),s=r.intl,p=i||{};p=function(t,e,o){var i=o.min||t,r=o.max||e,n=o.baseUnit||(r&&i?function(t){var e="hours";t>=31536e6?e=Ee:t>=26784e5?e="months":t>=6048e5?e="weeks":t>=864e5&&(e=De);return e}(Re(r,i)):"hours"),a=Be[n],s=o.weekStartDay||0,p=Fe(We(i)-1,n,s)||Ve(r),c=Ge(We(r)+1,n,s),l=(o.majorUnit?o.majorUnit:void 0)||uo(Rt(p.getTime(),c.getTime()),a)/a,u=Ze(p,c,n),h=uo(u,l)-u,d=Math.floor(h/2),g=h-d;o.baseUnit||delete o.baseUnit;return o.baseUnit=o.baseUnit||n,o.min=o.min||Ne(p,-d,n,s),o.max=o.max||Ne(c,g,n,s),o.minorUnit=o.minorUnit||l/5,o.majorUnit=l,o}(n,a,p=M(p||{},{min:Ke(s,p.min),max:Ke(s,p.max),axisCrossingValue:Qe(s,p.axisCrossingValues||p.axisCrossingValue),weekStartDay:$e(p,s)})),t.call(this,p,r),this.intlService=s,this.seriesMin=n,this.seriesMax=a;var c=p.weekStartDay||0;this.totalMin=We(Fe(We(n)-1,p.baseUnit,c)),this.totalMax=We(Ge(We(a)+1,p.baseUnit,c))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){var e=this.options;return Math.floor(Ze(e.min,e.max,e.baseUnit)/t+1)},e.prototype.getTickPositions=function(t){for(var e=this.options,o=this.lineInfo(),i=o.axisDir,r=o.lineSize,n=o.lineStart,a=this.getDivisions(t),s=r/Ue(e.max,e.min),p=e.weekStartDay||0,c=[n],l=1;l<a;l++){var u=n+Ue(Ne(e.min,l*t,e.baseUnit,p),e.min)*s*i;c.push(vt(u,3))}return c},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,o){return yo.prototype.getSlot.call(this,Ke(this.intlService,t),Ke(this.intlService,e),o)},e.prototype.getValue=function(t){var e=yo.prototype.getValue.call(this,t);return null!==e?Ve(e):null},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,o){var i=this.options,r=t*i.majorUnit,n=i.weekStartDay||0,a=i.min;r>0&&(a=Ne(a,r,i.baseUnit,n));var s=e.dateFormats[i.baseUnit];e.format=e.format||s;var p=this.axisLabelText(a,e,o);return new he(a,p,t,null,e)},e.prototype.translateRange=function(t){var e=this.options,o=this.lineBox(),i=e.vertical,r=e.reverse,n=i?o.height():o.width(),a=this.range(),s=n/Ue(a.max,a.min),p=vt(t/s,10);return!i&&!r||i&&r||(p=-p),{min:Le(e.min,p),max:Le(e.max,p),offset:p}},e.prototype.shouldRenderNote=function(t){var e=this.range();return He(t,e.min)>=0&&He(t,e.max)<=0},e.prototype.pan=function(t){var e=this.translateRange(t,!0),o=this.limitRange(We(e.min),We(e.max),this.totalMin,this.totalMax,e.offset);if(o)return{min:Ve(o.min),max:Ve(o.max)}},e.prototype.pointsRange=function(t,e){var o=this.getValue(t),i=this.getValue(e),r=Math.min(o,i),n=Math.max(o,i);return{min:Ve(r),max:Ve(n)}},e.prototype.scaleRange=function(t,e){var o=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,r=this.scaleToDelta(t,i),n=o*r,a=(1-o)*r,s=Ve(We(this.options.min)+n),p=Ve(We(this.options.max)-a);return p-s<1e3&&(p=Ve(We(s)+1e3)),{min:s,max:p}},e.prototype.zoomRange=function(t,e){var o=this.scaleRange(t,e);return{min:Ve(dt(We(o.min),this.totalMin,this.totalMax)),max:Ve(dt(We(o.max),this.totalMin,this.totalMax))}},e}(Me);xt(_o,{type:c,majorGridLines:{visible:!0,width:1,color:n},labels:{dateFormats:eo}});var mo=_o,bo=function(t){function e(e,o,i,r){var n=M({majorUnit:10,min:e,max:o},i),a=n.majorUnit,s=function(t,e){var o,i=vt(Co(t,e),10)%1;o=t<=0?e:0!==i&&(i<.3||i>.9)?Math.pow(e,Co(t,e)+.2):Math.pow(e,Math.ceil(Co(t,e)));return o}(o,a),p=function(t,e,o){var i=o.majorUnit,r=t;t<=0?r=e<=1?Math.pow(i,-2):1:o.narrowRange||(r=Math.pow(i,Math.floor(Co(t,i))));return r}(e,o,n),c=function(t,e,o,i){var r=o.min,n=o.max;at(o.axisCrossingValue)&&o.axisCrossingValue<=0&&xo();at(i.max)?i.max<=0&&xo():n=e;at(i.min)?i.min<=0&&xo():r=t;return{min:r,max:n}}(p,s,n,i);n.max=c.max,n.min=c.min,n.minorUnit=i.minorUnit||vt(a-1,10),t.call(this,n,r),this.totalMin=at(i.min)?Math.min(p,i.min):p,this.totalMax=at(i.max)?Math.max(s,i.max):s,this.logMin=vt(Co(c.min,a),10),this.logMax=vt(Co(c.max,a),10),this.seriesMin=e,this.seriesMax=o,this.createLabels()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return this.options.min},e.prototype.getSlot=function(t,e,o){var i=this.options,r=this.logMin,n=this.logMax,a=i.majorUnit,s=i.min,p=i.max,c=this.lineInfo(),l=c.axis,u=c.axisDir,h=c.lineBox,d=c.lineSize,g=c.lineStart,f=u*(d/(n-r)),v=_t(t,e||1),y=_t(e,t||1);if(v<=0||y<=0)return null;o&&(v=dt(v,s,p),y=dt(y,s,p)),v=Co(v,a),y=Co(y,a);var _=Math.min(v,y)-r,m=Math.max(v,y)-r,b=new zt(h.x1,h.y1,h.x1,h.y1);return b[l+1]=ho(g+f*(u>0?_:m)),b[l+2]=ho(g+f*(u>0?m:_)),b},e.prototype.getValue=function(t){var e=this.options,o=this.logMin,i=this.logMax,r=e.majorUnit,n=this.lineInfo(),a=n.axis,s=n.axisDir,p=n.lineStart,c=n.lineSize,l=(i-o)/c,u=s*(t[a]-p);if(u<0||u>c)return null;var h=o+u*l;return vt(Math.pow(r,h),10)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.translateRange=function(t){var e=this.options,o=this.logMin,i=this.logMax,r=e.reverse,n=e.vertical,a=e.majorUnit,s=this.lineBox(),p=n?s.height():s.width(),c=vt(t/(p/(i-o)),10);return!n&&!r||n&&r||(c=-c),{min:Math.pow(a,o+c),max:Math.pow(a,i+c),offset:c}},e.prototype.labelsCount=function(){var t=Math.floor(this.logMax);return Math.floor(t-this.logMin)+1},e.prototype.getMajorTickPositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),{step:1,skip:0}),t},e.prototype.createTicks=function(t){var e=this.options,o=e.majorTicks,i=e.minorTicks,r=e.vertical,n=e.labels.mirror,a=this.lineBox(),s={vertical:r};function p(e,o){s.tickX=n?a.x2:a.x2-o.size,s.tickY=n?a.y1-o.size:a.y1,s.position=e,t.append(Pe(s,o))}return o.visible&&this.traverseMajorTicksPositions(p,o),i.visible&&this.traverseMinorTicksPositions(p,i),[]},e.prototype.createGridLines=function(t){var e=this.options,o=e.minorGridLines,i=e.majorGridLines,r=e.vertical,n=t.lineBox(),a={lineStart:n[r?"x1":"y1"],lineEnd:n[r?"x2":"y2"],vertical:r},s=[],p=this.gridLinesVisual();function c(t,e){K(t,s)||(a.position=t,p.append(je(a,e)),s.push(t))}return i.visible&&this.traverseMajorTicksPositions(c,i),o.visible&&this.traverseMinorTicksPositions(c,o),p.children},e.prototype.traverseMajorTicksPositions=function(t,e){for(var o=this.lineInfo(),i=o.lineStart,r=o.step,n=this.logMin,a=this.logMax,s=Math.ceil(n)+e.skip;s<=a;s+=e.step){t(vt(i+r*(s-n),10),e)}},e.prototype.traverseMinorTicksPositions=function(t,e){for(var o=this.options,i=o.min,r=o.max,n=o.minorUnit,a=o.majorUnit,s=this.lineInfo(),p=s.lineStart,c=s.step,l=this.logMin,u=this.logMax,h=Math.floor(l);h<u;h++)for(var d=this._minorIntervalOptions(h),g=e.skip;g<n;g+=e.step){var f=d.value+g*d.minorStep;if(f>r)break;if(f>=i)t(vt(p+c*(Co(f,a)-l),10),e)}},e.prototype.createAxisLabel=function(t,e,o){var i=Math.ceil(this.logMin+t),r=Math.pow(this.options.majorUnit,i),n=this.axisLabelText(r,e,o);return new he(r,n,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var o=this.getValue(t),i=this.getValue(e);return{min:Math.min(o,i),max:Math.max(o,i)}},e.prototype.scaleRange=function(t,e){var o=this.options.majorUnit,i=Co(this.options.min,o),r=Co(this.options.max,o),n=Math.abs(this.pointOffset(e)),a=r-i,s=this.scaleToDelta(t,a),p=Math.pow(o,i+n*s),c=Math.pow(o,r-(1-n)*s);return c-p<1e-6&&(c=p+1e-6),{min:p,max:c}},e.prototype.zoomRange=function(t,e){var o=this.scaleRange(t,e),i=this.totalMin,r=this.totalMax;return{min:dt(o.min,i,r),max:dt(o.max,i,r)}},e.prototype._minorIntervalOptions=function(t){var e=this.options,o=e.minorUnit,i=e.majorUnit,r=Math.pow(i,t);return{value:r,minorStep:(Math.pow(i,t+1)-r)/o}},e.prototype.lineInfo=function(){var e=t.prototype.lineInfo.call(this);return e.step=e.axisDir*(e.lineSize/(this.logMax-this.logMin)),e},e}(Me);function xo(){throw new Error("Non positive values cannot be used for a logarithmic axis")}function Co(t,e){return Math.log(t)/Math.log(e)}xt(bo,{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:n},zIndex:1,_deferLabels:!0});var So=bo,wo={createGridLines:function(t){var e,o,i=this.options,r=Math.abs(this.box.center().y-t.lineBox().y1),n=[],a=!1;return i.majorGridLines.visible&&(e=this.majorGridLineAngles(t),a=!0,n=this.renderMajorGridLines(e,r,i.majorGridLines)),i.minorGridLines.visible&&(o=this.minorGridLineAngles(t,a),rt(n,this.renderMinorGridLines(o,r,i.minorGridLines,t,a))),n},renderMajorGridLines:function(t,e,o){return this.renderGridLines(t,e,o)},renderMinorGridLines:function(t,e,o,i,r){var n=this.radiusCallback&&this.radiusCallback(e,i,r);return this.renderGridLines(t,e,o,n)},renderGridLines:function(t,e,o,i){for(var r={stroke:{width:o.width,color:o.color,dashType:o.dashType}},n=this.box.center(),a=new w.geometry.Circle([n.x,n.y],e),s=this.gridLinesVisual(),p=0;p<t.length;p++){var c=new w.drawing.Path(r);i&&(a.radius=i(t[p])),c.moveTo(a.center).lineTo(a.pointAt(t[p]+180)),s.append(c)}return s.children},gridLineAngles:function(t,e,o,i,r){var n=this,a=this.intervals(e,o,i,r),s=t.options,p=s.visible&&!1!==(s.line||{}).visible;return tt(a,(function(t){var e=n.intervalAngle(t);if(!p||90!==e)return e}))}},Ao=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.range=function(){return{min:0,max:this.options.categories.length}},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.lineBox=function(){return this.box},e.prototype.reflowLabels=function(){for(var t=this.labels,e=this.options.labels,o=e.skip||0,i=e.step||1,r=new zt,n=0;n<t.length;n++){t[n].reflow(r);var a=t[n].box;t[n].reflow(this.getSlot(o+n*i).adjacentBox(0,a.width(),a.height()))}},e.prototype.intervals=function(t,e,o,i){void 0===i&&(i=!1);for(var r=this.options,n=r.categories.length/t||1,a=360/n,s=o||1,p=[],c=0,l=e||0;l<n;l+=s)c=r.reverse?360-l*a:l*a,c=vt(c,3)%360,i&&K(c,i)||p.push(c);return p},e.prototype.majorIntervals=function(){return this.intervals(1)},e.prototype.minorIntervals=function(){return this.intervals(.5)},e.prototype.intervalAngle=function(t){return(360+t+this.options.startAngle)%360},e.prototype.majorAngles=function(){var t=this;return tt(this.majorIntervals(),(function(e){return t.intervalAngle(e)}))},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,1,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var o=this.options,i=o.minorGridLines,r=o.majorGridLines,n=e?this.intervals(1,r.skip,r.step):null;return this.gridLineAngles(t,.5,i.skip,i.step,n)},e.prototype.radiusCallback=function(t,e,o){if(e.options.type!==r){var i=ft(360/(2*this.options.categories.length)),n=Math.cos(i)*t,a=this.majorAngles(),s=function(e){return!o&&K(e,a)?t:n};return s}},e.prototype.createPlotBands=function(){for(var t=this.options.plotBands||[],e=this._plotbandGroup=new w.drawing.Group({zIndex:-1}),o=0;o<t.length;o++){var i=t[o],r=this.plotBandSlot(i),n=this.getSlot(i.from),a=i.from-Math.floor(i.from);r.startAngle+=a*n.angle;var s=Math.ceil(i.to)-i.to;r.angle-=(s+a)*n.angle;var p=Ut.current.createRing(r,{fill:{color:i.color,opacity:i.opacity},stroke:{opacity:i.opacity}});e.append(p)}this.appendVisual(e)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to-1)},e.prototype.getSlot=function(t,e){var o=this.options,i=o.justified,r=this.box,n=this.majorAngles(),a=n.length,s=360/a,p=t;o.reverse&&!i&&(p=(p+1)%a);var c=n[p=dt(Math.floor(p),0,a-1)];i&&(c-=s/2)<0&&(c+=360);var l=s*(dt(Math.ceil(e||p),p,a-1)-p+1);return new Ft(r.center(),0,r.height()/2,c,l)},e.prototype.slot=function(t,e){var o=this.getSlot(t,e),i=o.startAngle+180,r=i+o.angle;return new w.geometry.Arc([o.center.x,o.center.y],{startAngle:i,endAngle:r,radiusX:o.radius,radiusY:o.radius})},e.prototype.pointCategoryIndex=function(t){for(var e=this.options.categories.length,o=null,i=0;i<e;i++){if(this.getSlot(i).containsPoint(t)){o=i;break}}return o},e}(to);xt(Ao,{startAngle:90,labels:{margin:V(10)},majorGridLines:{visible:!0},justified:!0}),M(Ao.prototype,wo);var ko=Ao,Io=function(t){function e(e,o){t.call(this,e,o);var i=this.options;i.minorUnit=i.minorUnit||i.majorUnit/2}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDivisions=function(t){return yo.prototype.getDivisions.call(this,t)-1},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.reflowLabels=function(){for(var t=this.options,e=this.labels,o=this.options.labels,i=o.skip||0,r=o.step||1,n=new zt,a=this.intervals(t.majorUnit,i,r),s=0;s<e.length;s++){e[s].reflow(n);var p=e[s].box;e[s].reflow(this.getSlot(a[s]).adjacentBox(0,p.width(),p.height()))}},e.prototype.lineBox=function(){return this.box},e.prototype.intervals=function(t,e,o,i){void 0===i&&(i=!1);for(var r=this.options.min,n=this.getDivisions(t),a=[],s=o||1,p=e||0;p<n;p+=s){var c=(360+r+p*t)%360;i&&K(c,i)||a.push(c)}return a},e.prototype.majorIntervals=function(){return this.intervals(this.options.majorUnit)},e.prototype.minorIntervals=function(){return this.intervals(this.options.minorUnit)},e.prototype.intervalAngle=function(t){return(540-t-this.options.startAngle)%360},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,this.options.majorUnit,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var o=this.options,i=o.minorGridLines,r=o.majorGridLines,n=e?this.intervals(o.majorUnit,r.skip,r.step):null;return this.gridLineAngles(t,o.minorUnit,i.skip,i.step,n)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to)},e.prototype.getSlot=function(t,e){var o=this.options,i=this.box,r=o.startAngle,n=dt(t,o.min,o.max),a=dt(e||n,n,o.max);if(o.reverse&&(n*=-1,a*=-1),(a=(540-a-r)%360)<(n=(540-n-r)%360)){var s=n;n=a,a=s}return new Ft(i.center(),0,i.height()/2,n,a-n)},e.prototype.slot=function(t,e){void 0===e&&(e=t);var o,i,r=this.options,n=360-r.startAngle,a=this.getSlot(t,e),s=Math.min(t,e),p=Math.max(t,e);return r.reverse?(o=s,i=p):(o=360-p,i=360-s),o=(o+n)%360,i=(i+n)%360,new w.geometry.Arc([a.center.x,a.center.y],{startAngle:o,endAngle:i,radiusX:a.radius,radiusY:a.radius})},e.prototype.getValue=function(t){var e=this.options,o=this.box.center(),i=t.x-o.x,r=t.y-o.y,n=Math.round(st(Math.atan2(r,i))),a=e.startAngle;return e.reverse||(n*=-1,a*=-1),(n+a+360)%360},e.prototype.valueRange=function(){return{min:0,max:2*Math.PI}},e}(Me);xt(Io,{type:"polar",startAngle:0,reverse:!1,majorUnit:60,min:0,max:360,labels:{margin:V(10)},majorGridLines:{color:n,visible:!0,width:1},minorGridLines:{color:"#aaa"}}),M(Io.prototype,wo,{createPlotBands:ko.prototype.createPlotBands,majorAngles:ko.prototype.majorAngles,range:yo.prototype.range,labelsCount:yo.prototype.labelsCount,createAxisLabel:yo.prototype.createAxisLabel});var Oo=Io;function Po(t,e){return 180-Math.abs(Math.abs(t-e)-180)}var jo={options:{majorGridLines:{visible:!0}},createPlotBands:function(){var t=this.options,e=t.majorGridLines.type,o=t.plotBands;void 0===o&&(o=[]);for(var i=this.plotArea.polarAxis,n=i.majorAngles(),a=i.box.center(),s=this._plotbandGroup=new w.drawing.Group({zIndex:-1}),p=0;p<o.length;p++){var c=o[p],l={fill:{color:c.color,opacity:c.opacity},stroke:{opacity:c.opacity}},u=this.getSlot(c.from,c.to,!0),h=new Ft(a,a.y-u.y2,a.y-u.y1,0,360),d=void 0;d=e===r?Ut.current.createRing(h,l):w.drawing.Path.fromPoints(this.plotBandPoints(h,n),l).close(),s.append(d)}this.appendVisual(s)},plotBandPoints:function(t,e){for(var o=[],i=[],r=[t.center.x,t.center.y],n=new w.geometry.Circle(r,t.innerRadius),a=new w.geometry.Circle(r,t.radius),s=0;s<e.length;s++)o.push(n.pointAt(e[s]+180)),i.push(a.pointAt(e[s]+180));return o.reverse(),o.push(o[0]),i.push(i[0]),i.concat(o)},createGridLines:function(t){var e=this.options,o=this.radarMajorGridLinePositions(),i=t.majorAngles(),r=t.box.center(),n=[];if(e.majorGridLines.visible&&(n=this.renderGridLines(r,o,i,e.majorGridLines)),e.minorGridLines.visible){var a=this.radarMinorGridLinePositions();rt(n,this.renderGridLines(r,a,i,e.minorGridLines))}return n},renderGridLines:function(t,e,o,i){var n={stroke:{width:i.width,color:i.color,dashType:i.dashType}},a=i.skip;void 0===a&&(a=0);var s=i.step;void 0===s&&(s=0);for(var p=this.gridLinesVisual(),c=a;c<e.length;c+=s){var l=t.y-e[c];if(l>0){var u=new w.geometry.Circle([t.x,t.y],l);if(i.type===r)p.append(new w.drawing.Circle(u,n));else{for(var h=new w.drawing.Path(n),d=0;d<o.length;d++)h.lineTo(u.pointAt(o[d]+180));h.close(),p.append(h)}}}return p.children},getValue:function(t){var e=this.lineBox(),o=this.plotArea.polarAxis,i=o.majorAngles(),n=o.box.center(),a=t.distanceTo(n),s=a;if(this.options.majorGridLines.type!==r&&i.length>1){var p=t.x-n.x,c=t.y-n.y,l=(st(Math.atan2(c,p))+540)%360;i.sort((function(t,e){return Po(t,l)-Po(e,l)}));var u=90-Po(i[0],i[1])/2,h=180-Po(l,i[0])-u;s=a*(Math.sin(ft(h))/Math.sin(ft(u)))}return this.axisType().prototype.getValue.call(this,new Lt(e.x1,e.y2-s))}},To=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.radarMinorGridLinePositions=function(){var t=this.options,e=0;return t.majorGridLines.visible&&(e=t.majorUnit),this.getTickPositions(t.minorUnit,e)},e.prototype.axisType=function(){return t},e}(yo);M(To.prototype,jo);var Mo=To,Do=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),this.options.majorGridLines),t},e.prototype.radarMinorGridLinePositions=function(){var t=[];return this.traverseMinorTicksPositions((function(e){t.push(e)}),this.options.minorGridLines),t},e.prototype.axisType=function(){return t},e}(So);M(Do.prototype,jo);var Eo=Do;function Bo(t){return t<=0?-1:1}var Ro=function(t){function e(e){t.call(this),this.closed=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.process=function(t){var e=t.slice(0),o=[],i=this.closed,r=e.length;if(r>2&&(this.removeDuplicates(0,e),r=e.length),r<2||2===r&&e[0].equals(e[1]))return o;var n,a,s=e[0],p=e[1],c=e[2];for(o.push(new w.geometry.Segment(s));s.equals(e[r-1]);)i=!0,e.pop(),r--;if(2===r){var l=this.tangent(s,p,_,m);return ht(o).controlOut(this.firstControlPoint(l,s,p,_,m)),o.push(new w.geometry.Segment(p,this.secondControlPoint(l,s,p,_,m))),o}if(i){s=e[r-1],p=e[0],c=e[1];var u=this.controlPoints(s,p,c);n=u[1],a=u[0]}else{var h=this.tangent(s,p,_,m);n=this.firstControlPoint(h,s,p,_,m)}for(var d=n,g=0;g<=r-3;g++)if(this.removeDuplicates(g,e),g+3<=(r=e.length)){s=e[g],p=e[g+1],c=e[g+2];var f=this.controlPoints(s,p,c);ht(o).controlOut(d),d=f[1];var v=f[0];o.push(new w.geometry.Segment(p,v))}if(i){s=e[r-2],p=e[r-1],c=e[0];var y=this.controlPoints(s,p,c);ht(o).controlOut(d),o.push(new w.geometry.Segment(p,y[0])),ht(o).controlOut(y[1]),o.push(new w.geometry.Segment(c,a))}else{var b=this.tangent(p,c,_,m);ht(o).controlOut(d),o.push(new w.geometry.Segment(c,this.secondControlPoint(b,p,c,_,m)))}return o},e.prototype.removeDuplicates=function(t,e){for(;e[t+1]&&(e[t].equals(e[t+1])||e[t+1].equals(e[t+2]));)e.splice(t+1,1)},e.prototype.invertAxis=function(t,e,o){var i=!1;if(t.x===e.x)i=!0;else if(e.x===o.x)(e.y<o.y&&t.y<=e.y||o.y<e.y&&e.y<=t.y)&&(i=!0);else{var r=this.lineFunction(t,e),n=this.calculateFunction(r,o.x);t.y<=e.y&&o.y<=n||e.y<=t.y&&o.y>=n||(i=!0)}return i},e.prototype.isLine=function(t,e,o){var i=this.lineFunction(t,e),r=this.calculateFunction(i,o.x);return t.x===e.x&&e.x===o.x||vt(r,1)===vt(o.y,1)},e.prototype.lineFunction=function(t,e){var o=(e.y-t.y)/(e.x-t.x);return[t.y-o*t.x,o]},e.prototype.controlPoints=function(t,e,o){var i,r=_,n=m,a=!1,s=!1;if(this.isLine(t,e,o))i=this.tangent(t,e,_,m);else{var p={x:this.isMonotonicByField(t,e,o,_),y:this.isMonotonicByField(t,e,o,m)};if(p.x&&p.y)i=this.tangent(t,o,_,m),a=!0;else if(this.invertAxis(t,e,o)&&(r=m,n=_),p[r])i=0;else i=.01*(o[n]<t[n]&&t[n]<=e[n]||t[n]<o[n]&&e[n]<=t[n]?Bo((o[n]-t[n])*(e[r]-t[r])):-Bo((o[r]-t[r])*(e[n]-t[n]))),s=!0}var c=this.secondControlPoint(i,t,e,r,n);if(s){var l=r;r=n,n=l}var u=this.firstControlPoint(i,e,o,r,n);return a&&(this.restrictControlPoint(t,e,c,i),this.restrictControlPoint(e,o,u,i)),[c,u]},e.prototype.restrictControlPoint=function(t,e,o,i){t.y<e.y?e.y<o.y?(o.x=t.x+(e.y-t.y)/i,o.y=e.y):o.y<t.y&&(o.x=e.x-(e.y-t.y)/i,o.y=t.y):o.y<e.y?(o.x=t.x-(t.y-e.y)/i,o.y=e.y):t.y<o.y&&(o.x=e.x+(t.y-e.y)/i,o.y=t.y)},e.prototype.tangent=function(t,e,o,i){var r,n=e[o]-t[o],a=e[i]-t[i];return r=0===n?0:a/n,r},e.prototype.isMonotonicByField=function(t,e,o,i){return o[i]>e[i]&&e[i]>t[i]||o[i]<e[i]&&e[i]<t[i]},e.prototype.firstControlPoint=function(t,e,o,i,r){var n=e[i],a=.333*(o[i]-n);return this.point(n+a,e[r]+a*t,i,r)},e.prototype.secondControlPoint=function(t,e,o,i,r){var n=e[i],a=o[i],s=.333*(a-n);return this.point(a-s,o[r]-s*t,i,r)},e.prototype.point=function(t,e,o,i){var r=new w.geometry.Point;return r[o]=t,r[i]=e,r},e.prototype.calculateFunction=function(t,e){for(var o=t.length,i=0,r=0;r<o;r++)i+=Math.pow(e,r)*t[r];return i},e}(w.Class),Lo=function(t){function e(e){t.call(this),this._axis=e,this.options=e.options}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this._axis,o=e.getCategory?e.getCategory(t):e.getValue(t);return o},e.prototype.slot=function(t,e,o){return void 0===o&&(o=!0),this._axis.slot(t,e,o)},e.prototype.range=function(){return this._axis.range()},e.prototype.valueRange=function(){return this._axis.valueRange()},e}(w.Class);function Vo(t,e){for(var o=0;o<e.length;o++)if(e[o].options.name===t)return e[o].prepareUserOptions(),new Lo(e[o])}var zo=function(t){this.visual=t.visual,this.chartsVisual=t.chartContainer.visual,this._pane=t};zo.prototype.findAxisByName=function(t){return Vo(t,this._pane.axes)};var No=zo,Fo=function(t){function e(e){t.call(this),this._plotArea=e,this.visual=e.visual,this.backgroundVisual=e._bgVisual}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(w.Class);function Go(t){for(var e=t.length,o=0,i=0;i<e;i++){I(t[i])&&o++}return o}var Ho={min:function(t){for(var e=t.length,o=h,i=0;i<e;i++){var r=t[i];I(r)&&(o=Math.min(o,r))}return o===h?t[0]:o},max:function(t){for(var e=t.length,o=d,i=0;i<e;i++){var r=t[i];I(r)&&(o=Math.max(o,r))}return o===d?t[0]:o},sum:function(t){for(var e=t.length,o=0,i=0;i<e;i++){var r=t[i];I(r)&&(o+=r)}return o},sumOrNull:function(t){var e=null;return Go(t)&&(e=Ho.sum(t)),e},count:function(t){for(var e=t.length,o=0,i=0;i<e;i++){var r=t[i];null!==r&&at(r)&&o++}return o},avg:function(t){var e=Go(t),o=t[0];return e>0&&(o=Ho.sum(t)/e),o},first:function(t){for(var e=t.length,o=0;o<e;o++){var i=t[o];if(null!==i&&at(i))return i}return t[0]}},Uo=Ho;function Wo(t,e){return null===e?e:W(t)(e)}var Xo=function(t){function e(){t.call(this),this._valueFields={},this._otherFields={},this._nullValue={},this._undefinedValue={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e,o){void 0===e&&(e=[v]),void 0===o&&(o={});for(var i=0;i<t.length;i++){var r=t[i];this._valueFields[r]=e,this._otherFields[r]=o,this._nullValue[r]=this._makeValue(e,null),this._undefinedValue[r]=this._makeValue(e,void 0)}},e.prototype.canonicalFields=function(t){return this.valueFields(t).concat(this.otherFields(t))},e.prototype.valueFields=function(t){return this._valueFields[t.type]||[v]},e.prototype.otherFields=function(t){return this._otherFields[t.type]||[v]},e.prototype.bindPoint=function(t,e,o){var i,r,n=t.data,a=at(o)?o:n[e],s={valueFields:{value:a}},p=this.valueFields(t),c=this._otherFields[t.type];if(null===a)r=this._nullValue[t.type];else if(at(a)){if(Array.isArray(a)){var l=a.slice(p.length);r=this._bindFromArray(a,p),i=this._bindFromArray(l,c)}else if("object"==typeof a){var u=this.sourceFields(t,p),h=this.sourceFields(t,c);r=this._bindFromObject(a,p,u),i=this._bindFromObject(a,c,h)}}else r=this._undefinedValue[t.type];return at(r)&&(1===p.length?s.valueFields.value=r[p[0]]:s.valueFields=r),s.fields=i||{},s},e.prototype._makeValue=function(t,e){for(var o={},i=t.length,r=0;r<i;r++){o[t[r]]=e}return o},e.prototype._bindFromArray=function(t,e){var o={};if(e)for(var i=Math.min(e.length,t.length),r=0;r<i;r++)o[e[r]]=t[r];return o},e.prototype._bindFromObject=function(t,e,o){void 0===o&&(o=e);var i={};if(e)for(var r=e.length,n=0;n<r;n++){var a=e[n],s=o[n];null!==s&&(i[a]=Wo(s,t))}return i},e.prototype.sourceFields=function(t,e){var o=[];if(e)for(var i=e.length,r=0;r<i;r++){var n=e[r],a=n===v?"field":n+"Field";o.push(null!==t[a]?t[a]||n:null)}return o},e}(w.Class);Xo.current=new Xo;var Yo=Xo,qo=/percent(?:\w*)\((\d+)\)/,Zo=new RegExp("^stddev(?:\\((\\d+(?:\\.\\d+)?)\\))?$"),Ko=function(t){function e(e,o,i){t.call(this),this.initGlobalRanges(e,o,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initGlobalRanges=function(t,e,o){var i=e.data,r=Zo.exec(t);if(r){this.valueGetter=this.createValueGetter(e,o);var n=this.getAverage(i),a=this.getStandardDeviation(i,n,!1),s=r[1]?parseFloat(r[1]):1,p={low:n.value-a*s,high:n.value+a*s};this.globalRange=function(){return p}}else if(t.indexOf&&t.indexOf("stderr")>=0){this.valueGetter=this.createValueGetter(e,o);var c=this.getStandardError(i,this.getAverage(i));this.globalRange=function(t){return{low:t-c,high:t+c}}}},e.prototype.createValueGetter=function(t,e){var o,i=t.data,r=Yo.current,n=r.valueFields(t),a=at(i[0])?i[0]:{};if(b(a))o=W("["+(e?n.indexOf(e):0)+"]");else if(I(a))o=W();else if("object"==typeof a){o=W(r.sourceFields(t,n)[n.indexOf(e)])}return o},e.prototype.getErrorRange=function(t,e){var o,i,r;if(!at(e))return null;if(this.globalRange)return this.globalRange(t);if(b(e))o=t-e[0],i=t+e[1];else if(I(r=parseFloat(e)))o=t-r,i=t+r;else{if(!(r=qo.exec(e)))throw new Error("Invalid ErrorBar value: "+e);var n=t*(parseFloat(r[1])/100);o=t-Math.abs(n),i=t+Math.abs(n)}return{low:o,high:i}},e.prototype.getStandardError=function(t,e){return this.getStandardDeviation(t,e,!0)/Math.sqrt(e.count)},e.prototype.getStandardDeviation=function(t,e,o){for(var i=t.length,r=o?e.count-1:e.count,n=0,a=0;a<i;a++){var s=this.valueGetter(t[a]);I(s)&&(n+=Math.pow(s-e.value,2))}return Math.sqrt(n/r)},e.prototype.getAverage=function(t){for(var e=t.length,o=0,i=0,r=0;r<e;r++){var n=this.valueGetter(t[r]);I(n)&&(o+=n,i++)}return{value:o/i,count:i}},e}(w.Class),Qo=w.support.browser||{},$o=Qo.msie?.001:0,Jo="zero",ti="bar",ei="column",oi="line",ii="pie",ri="verticalLine",ni=[ti,ei,"ohlc","candlestick","boxPlot","verticalBoxPlot","bullet","rangeColumn","rangeBar","waterfall","horizontalWaterfall"],ai="DOMMouseScroll mousewheel",si=function(t){function e(e,o,i,r,n,a){t.call(this,a),this.low=e,this.high=o,this.isVertical=i,this.chart=r,this.series=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,o=this.options.endCaps,i=this.isVertical,r=this.getAxis().getSlot(this.low,this.high),n=t.center(),a=this.getCapsWidth(t,i),s=i?n.x:n.y,p=s-a,c=s+a;i?(e=[new Lt(n.x,r.y1),new Lt(n.x,r.y2)],o&&e.push(new Lt(p,r.y1),new Lt(c,r.y1),new Lt(p,r.y2),new Lt(c,r.y2)),this.box=new zt(p,r.y1,c,r.y2)):(e=[new Lt(r.x1,n.y),new Lt(r.x2,n.y)],o&&e.push(new Lt(r.x1,p),new Lt(r.x1,c),new Lt(r.x2,p),new Lt(r.x2,c)),this.box=new zt(r.x1,p,r.x2,c)),this.linePoints=e},e.prototype.getCapsWidth=function(t,e){var o=e?t.width():t.height();return Math.min(Math.floor(o/2),4)||4},e.prototype.createVisual=function(){var t=this,e=this.options,o=e.visual;o?this.visual=o({low:this.low,high:this.high,rect:this.box.toRect(),sender:this.getSender(),options:{endCaps:e.endCaps,color:e.color,line:e.line},createVisual:function(){t.createDefaultVisual();var e=t.visual;return delete t.visual,e}}):this.createDefaultVisual()},e.prototype.createDefaultVisual=function(){var e=this.options,o=this.linePoints,i={stroke:{color:e.color,width:e.line.width,dashType:e.line.dashType}};t.prototype.createVisual.call(this);for(var r=0;r<o.length;r+=2){var n=new w.drawing.Path(i).moveTo(o[r].x,o[r].y).lineTo(o[r+1].x,o[r+1].y);A(n),this.visual.append(n)}},e}(Xt);xt(si,{animation:{type:"fadeIn",delay:600},endCaps:!0,line:{width:2},zIndex:1});var pi=si,ci=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){return this.chart.seriesValueAxis(this.series)},e}(pi);function li(t,e,o,i){void 0===o&&(o={}),void 0===i&&(i=!1);var r=o.defaults=o.defaults||{},n=o.depth=o.depth||0,a=!1;if(o.excluded=o.excluded||[],n>5)return null;for(var s in t)if(!K(s,o.excluded)&&t.hasOwnProperty(s)){var p=t[s];j(p)?(a=!0,i||(t[s]=_t(p(e),r[s]))):D(p)&&(i||(o.defaults=r[s]),o.depth++,a=li(p,e,o,i)||a,o.depth--)}return a}function ui(t){for(var e=t.length,o=0,i=0;i<e;i++)o=Math.max(o,t[i].data.length);return o}var hi=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this.categoryAxis=e.seriesCategoryAxis(o.series[0]),this.valueAxisRanges={},this.points=[],this.categoryPoints=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.pointOptions=function(t,e){var o=this.seriesOptions[e];if(!o){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=o=M({},i,{vertical:!this.options.invertAxes},t)}return o},e.prototype.plotValue=function(t){if(!t)return 0;if(this.options.isStacked100&&I(t.value)){for(var e=t.categoryIx,o=this.categoryPoints[e],i=[],r=0,n=0;n<o.length;n++){var a=o[n];if(a){var s=t.series.stack,p=a.series.stack;if(s&&p&&s.group!==p.group)continue;I(a.value)&&(r+=Math.abs(a.value),i.push(Math.abs(a.value)))}}if(r>0)return t.value/r}return t.value},e.prototype.plotRange=function(t,e){void 0===e&&(e=0);var o=this.categoryPoints[t.categoryIx];if(this.options.isStacked){for(var i=this.plotValue(t),r=i>=0,n=e,a=!1,s=0;s<o.length;s++){var p=o[s];if(t===p)break;var c=t.series.stack,l=p.series.stack;if(c&&l){if("string"==typeof c&&c!==l)continue;if(c.group&&c.group!==l.group)continue}var u=this.plotValue(p);(u>=0&&r||u<0&&!r)&&(n+=u,i+=u,a=!0,this.options.isStacked100&&(i=Math.min(i,1)))}return a&&(n-=e),[n,i]}var h=t.series,d=this.seriesValueAxis(h),g=this.categoryAxisCrossingValue(d);return[g,P(t.value)?t.value:g]},e.prototype.stackLimits=function(t,e){for(var o=h,i=d,r=0;r<this.categoryPoints.length;r++){var n=this.categoryPoints[r];if(n)for(var a=0;a<n.length;a++){var s=n[a];if(s&&(s.series.stack===e||s.series.axis===t)){var p=this.plotRange(s,0)[1];at(p)&&isFinite(p)&&(i=Math.max(i,p),o=Math.min(o,p))}}}return{min:o,max:i}},e.prototype.updateStackRange=function(){var t=this.options,e=t.isStacked,o=t.series,i={};if(e)for(var r=0;r<o.length;r++){var n=o[r],a=n.axis,s=a+n.stack,p=i[s];if(!p){p=this.stackLimits(a,n.stack);var c=this.errorTotals;c&&(c.negative.length&&(p.min=Math.min(p.min,Ct(c.negative).min)),c.positive.length&&(p.max=Math.max(p.max,Ct(c.positive).max))),p.min!==h||p.max!==d?i[s]=p:p=null}p&&(this.valueAxisRanges[a]=p)}},e.prototype.addErrorBar=function(t,e,o){var i,r=t.value,n=t.series,a=t.seriesIx,s=t.options.errorBars,p=e.fields.errorLow,c=e.fields.errorHigh;I(p)&&I(c)?i={low:p,high:c}:s&&at(s.value)&&(this.seriesErrorRanges=this.seriesErrorRanges||[],this.seriesErrorRanges[a]=this.seriesErrorRanges[a]||new Ko(s.value,n,v),i=this.seriesErrorRanges[a].getErrorRange(r,s.value)),i&&(t.low=i.low,t.high=i.high,this.addPointErrorBar(t,o))},e.prototype.addPointErrorBar=function(t,e){var o=!this.options.invertAxes,i=t.options.errorBars,r=t.series,n=t.low,a=t.high;if(this.options.isStacked){var s=this.stackedErrorRange(t,e);n=s.low,a=s.high}else{var p={categoryIx:e,series:r};this.updateRange({value:n},p),this.updateRange({value:a},p)}var c=new ci(n,a,o,this,r,i);t.errorBars=[c],t.append(c)},e.prototype.stackedErrorRange=function(t,e){var o=this.plotRange(t,0)[1]-t.value,i=t.low+o,r=t.high+o;return this.errorTotals=this.errorTotals||{positive:[],negative:[]},i<0&&(this.errorTotals.negative[e]=Math.min(this.errorTotals.negative[e]||0,i)),r>0&&(this.errorTotals.positive[e]=Math.max(this.errorTotals.positive[e]||0,r)),{low:i,high:r}},e.prototype.addValue=function(t,e){var o=e.categoryIx,i=e.series,r=e.seriesIx,n=this.categoryPoints[o];n||(this.categoryPoints[o]=n=[]);var a=this.seriesPoints[r];a||(this.seriesPoints[r]=a=[]);var s=this.createPoint(t,e);s&&(Object.assign(s,e),s.owner=this,s.noteText=t.fields.noteText,at(s.dataItem)||(s.dataItem=i.data[o]),this.addErrorBar(s,t,o)),this.points.push(s),a.push(s),n.push(s),this.updateRange(t.valueFields,e)},e.prototype.evalPointOptions=function(t,e,o,i,r,n){var a={defaults:r._defaults,excluded:["data","aggregate","_events","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},s=this._evalSeries[n];at(s)||(this._evalSeries[n]=s=li(t,{},a,!0));var p=t;return s&&li(p=M({},p),{value:e,category:o,index:i,series:r,dataItem:r.data[i]},a),p},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=t.value,r=this.valueAxisRanges[o];isFinite(i)&&null!==i&&((r=this.valueAxisRanges[o]=r||{min:h,max:d}).min=Math.min(r.min,i),r.max=Math.max(r.max,i))},e.prototype.seriesValueAxis=function(t){var e=this.plotArea,o=t.axis,i=o?e.namedValueAxes[o]:e.valueAxis;if(!i)throw new Error("Unable to locate value axis with name "+o);return i},e.prototype.reflow=function(t){var e=this,o=this.categorySlots=[],i=this.points,r=this.categoryAxis,n=0;this.traverseDataPoints((function(t,a){var s=a.categoryIx,p=a.series,c=e.seriesValueAxis(p),l=i[n++],u=o[s];if(u||(o[s]=u=e.categorySlot(r,s,c)),l){var h=e.plotRange(l,c.startValue()),d=e.valueSlot(c,h);if(d){var g=e.pointSlot(u,d);l.aboveAxis=e.aboveAxis(l,c),l.stackValue=h[1],e.options.isStacked100&&(l.percentage=e.plotValue(l)),e.reflowPoint(l,g)}else l.visible=!1}})),this.reflowCategories(o),!this.options.clip&&this.options.limitPoints&&this.points.length&&this.limitPoints(),this.box=t},e.prototype.valueSlot=function(t,e){return t.getSlot(e[0],e[1],!this.options.clip)},e.prototype.limitPoints=function(){for(var t=this.categoryPoints,e=t[0].concat(ht(t)),o=0;o<e.length;o++)e[o]&&this.limitPoint(e[o])},e.prototype.limitPoint=function(t){var e=this.categoryAxis.limitSlot(t.box);e.equals(t.box)||t.reflow(e)},e.prototype.aboveAxis=function(t,e){var o=this.categoryAxisCrossingValue(e),i=t.value;return e.options.reverse?i<o:i>=o},e.prototype.categoryAxisCrossingValue=function(t){var e=this.categoryAxis,o=t.options;return[].concat(o.axisCrossingValues||o.axisCrossingValue)[e.axisIndex||0]||0},e.prototype.reflowPoint=function(t,e){t.reflow(e)},e.prototype.reflowCategories=function(){},e.prototype.pointSlot=function(t,e){var o=this.options.invertAxes,i=o?e:t,r=o?t:e;return new zt(i.x1,r.y1,i.x2,r.y2)},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=ui(e),i=e.length,r=0;r<i;r++)this._outOfRangeCallback(e[r],"_outOfRangeMinPoint",r,t);for(var n=0;n<o;n++)for(var a=0;a<i;a++){var s=e[a],p=this.categoryAxis.categoryAt(n);t(this._bindPoint(s,a,n),{category:p,categoryIx:n,categoriesCount:o,series:s,seriesIx:a})}for(var c=0;c<i;c++)this._outOfRangeCallback(e[c],"_outOfRangeMaxPoint",c,t)},e.prototype._outOfRangeCallback=function(t,e,o,i){var r=t[e];if(r){var n=r.categoryIx;i(this._bindPoint(t,o,n,r.item),{category:r.category,categoryIx:n,series:t,seriesIx:o,dataItem:r.item})}},e.prototype._bindPoint=function(t,e,o,i){this._bindCache||(this._bindCache=[]);var r=this._bindCache[e];r||(r=this._bindCache[e]=[]);var n=r[o];return n||(n=r[o]=Yo.current.bindPoint(t,o,i)),n},e.prototype.formatPointValue=function(t,e){return null===t.value?"":this.chartService.format.auto(e,t.value)},e.prototype.pointValue=function(t){return t.valueFields.value},e}(Xt);xt(hi,{series:[],invertAxes:!1,isStacked:!1,clip:!0,limitPoints:!0});var di=hi,gi={click:function(t,e){return t.trigger("seriesClick",this.eventArgs(e))},hover:function(t,e){return t.trigger("seriesHover",this.eventArgs(e))},over:function(t,e){return t.trigger("seriesOver",this.eventArgs(e))},out:function(t,e){return t.trigger("seriesLeave",this.eventArgs(e))},eventArgs:function(t){return{value:this.value,percentage:this.percentage,stackValue:this.stackValue,category:this.category,series:this.series,dataItem:this.dataItem,runningTotal:this.runningTotal,total:this.total,element:lt(t),originalEvent:t,point:this}}},fi={createNote:function(){var t=this.options.notes,e=this.noteText||t.label.text;!1!==t.visible&&at(e)&&null!==e&&(this.note=new ge({value:this.value,text:e,dataItem:this.dataItem,category:this.category,series:this.series},this.options.notes,this.owner.chartService),this.append(this.note))}},vi=function(t){function e(e,o){t.call(this),this.value=e,this.options=o,this.aboveAxis=_t(this.options.aboveAxis,!0),this.tooltipTracking=!0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options,e=t.markers,o=t.labels;if(!this._rendered){if(this._rendered=!0,e.visible&&e.size&&(this.marker=this.createMarker(),this.append(this.marker)),o.visible){var i=G(o),r=this.pointData(),n=this.value;i?n=i(r):o.format&&(n=this.formatValue(o.format)),this.label=new pe(n,M({align:s,vAlign:s,margin:{left:5,right:5},zIndex:_t(o.zIndex,this.series.zIndex)},o),r),this.append(this.label)}this.createNote(),this.errorBar&&this.append(this.errorBar)}},e.prototype.markerBorder=function(){var t=this.options.markers,e=t.background,o=M({color:this.color},t.border);return at(o.color)||(o.color=new w.Color(e).brightness(.8).toHex()),o},e.prototype.createVisual=function(){},e.prototype.createMarker=function(){var t=this.options.markers;return new Kt({type:t.type,width:t.size,height:t.size,rotation:t.rotation,background:t.background,border:this.markerBorder(),opacity:this.series.opacity||t.opacity,zIndex:_t(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category})},e.prototype.markerBox=function(){return this.marker||(this.marker=this.createMarker(),this.marker.reflow(this._childBox)),this.marker.box},e.prototype.reflow=function(t){var e=this.options,o=this.aboveAxis,i=e.vertical;this.render(),this.box=t;var r=t.clone();if(i?o?r.y1-=r.height():r.y2+=r.height():o?r.x1+=r.width():r.x2-=r.width(),this._childBox=r,this.marker&&this.marker.reflow(r),this.reflowLabel(r),this.errorBars)for(var n=0;n<this.errorBars.length;n++)this.errorBars[n].reflow(r);if(this.note){var a=this.markerBox();if(!e.markers.visible||!e.markers.size){var s=a.center();a=new zt(s.x,s.y,s.x,s.y)}this.note.reflow(a)}},e.prototype.reflowLabel=function(t){var e=this.options,o=this.label,i=e.labels.position;o&&(i="below"===(i="above"===i?f:i)?a:i,o.reflow(t),o.box.alignTo(this.markerBox(),i),o.reflow(o.box))},e.prototype.createHighlight=function(){var t=this.options.highlight.markers,e=this.markerBorder().color,o=this.options.markers,i=o.size+(o.border.width||0)+(t.border.width||0),r=new Kt({type:o.type,width:i,height:i,rotation:o.rotation,background:t.color||e,border:{color:t.border.color,width:t.border.width,opacity:_t(t.border.opacity,1)},opacity:_t(t.opacity,1)});return r.reflow(this._childBox),r.getElement()},e.prototype.highlightVisual=function(){return(this.marker||{}).visual},e.prototype.highlightVisualArgs=function(){var t,e,o=this.marker;if(o)e=o.paddingBox.toRect(),t=o.visual;else{var i=this.options.markers.size,r=i/2,n=this.box.center();e=new w.geometry.Rect([n.x-r,n.y-r],[i,i])}return{options:this.options,rect:e,visual:t}},e.prototype.tooltipAnchor=function(){var t=this.markerBox(),e=this.owner.pane.clipBox();if(!e||e.overlaps(t)){var o,i,r=t.x2+5;return this.aboveAxis?(o=t.y1,i=a):(o=t.y2,i=f),{point:new Lt(r,o),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.markerBox().overlaps(t)},e.prototype.unclipElements=function(){this.label&&(this.label.options.noclip=!0),this.note&&(this.note.options.noclip=!0)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,series:this.series}},e}(Xt);vi.prototype.defaults={vertical:!0,markers:{visible:!0,background:y,size:8,type:p,border:{width:2},opacity:1},labels:{visible:!1,position:"above",margin:V(3),padding:V(4),animation:{type:"fadeIn",delay:600}},notes:{label:{}},highlight:{markers:{border:{color:"#fff",width:2}},zIndex:100},errorBars:{line:{width:1}}},M(vi.prototype,gi),M(vi.prototype,fi);var yi=vi,_i=function(t){function e(e,o,i){t.call(this),this.linePoints=e,this.series=o,this.seriesIx=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.toGeometryPoints(this.linePoints)},e.prototype.toGeometryPoints=function(t){for(var e=[],o=0,i=t.length;o<i;o++)t[o]&&!1!==t[o].visible&&e.push(t[o]._childBox.toRect().center());return e},e.prototype.createVisual=function(){var t=this,e=this.series.visual;e?(this.visual=e({points:this.toGeometryPoints(this.linePoints),series:this.series,sender:this.getSender(),createVisual:function(){return t.segmentVisual(),t.visual}}),this.visual&&!at(this.visual.options.zIndex)&&(this.visual.options.zIndex=this.series.zIndex)):this.segmentVisual()},e.prototype.segmentVisual=function(){var t=this.options,e=this.series,o=e.color,i=e._defaults;j(o)&&i&&(o=i.color);var r=w.drawing.Path.fromPoints(this.points(),{stroke:{color:o,width:e.width,opacity:e.opacity,dashType:e.dashType},zIndex:e.zIndex});t.closed&&r.close(),this.visual=r},e.prototype.aliasFor=function(t,e){return this.parent.getNearestPoint(e.x,e.y,this.seriesIx)},e}(Xt);xt(_i,{closed:!1});var mi=_i;function bi(t,e,o,i,r){var n=t.box,a=new w.geometry.Point;return a[e]=n[e+o],a[i]=n[i+r],a}var xi={calculateStepPoints:function(t){for(var e=this.parent.plotArea.seriesCategoryAxis(this.series).options,o=e.justified,i=e.vertical,r=e.reverse,n=i?_:m,a=i?m:_,s=r?2:1,p=s,c=bi(t[0],n,s,a,p),l=[c],u=1;u<t.length;u++){var h=bi(t[u],n,s,a,p);if(c[n]!==h[n]){var d=new w.geometry.Point;d[n]=c[n],d[a]=h[a],l.push(d,h)}c=h}return o?c!==ht(l)&&l.push(c):l.push(bi(ht(t),n,s,a,r?1:2)),l}},Ci=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.calculateStepPoints(this.linePoints)},e}(mi);M(Ci.prototype,xi);var Si=Ci,wi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.segmentVisual=function(){var t=this.series,e=t._defaults,o=t.color;j(o)&&e&&(o=e.color);var i=new Ro(this.options.closed).process(this.points()),r=new w.drawing.Path({stroke:{color:o,width:t.width,opacity:t.opacity,dashType:t.dashType},zIndex:t.zIndex});r.segments.push.apply(r.segments,i),this.visual=r},e}(mi),Ai={renderSegments:function(){var t,e=this.options,o=this.seriesPoints,i=e.series,r=o.length;this._segments=[];for(var n=0;n<r;n++){for(var a=i[n],s=this.sortPoints(o[n]),p=s.length,c=[],l=0;l<p;l++){var u=s[l];u?c.push(u):"interpolate"!==this.seriesMissingValues(a)&&(c.length>1&&(t=this.createSegment(c,a,n,t),this._addSegment(t)),c=[])}c.length>1&&(t=this.createSegment(c,a,n,t),this._addSegment(t))}this.children.unshift.apply(this.children,this._segments)},_addSegment:function(t){this._segments.push(t),t.parent=this},sortPoints:function(t){return t},seriesMissingValues:function(t){var e=t.missingValues;return!e&&this.options.isStacked?Jo:e||"interpolate"},getNearestPoint:function(t,e,o){for(var i,r=new Lt(t,e),n=this.seriesPoints[o],a=h,s=0;s<n.length;s++){var p=n[s];if(p&&at(p.value)&&null!==p.value&&!1!==p.visible){var c=p.box.center().distanceTo(r);c<a&&(i=p,a=c)}}return i}},ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._setEnd(this.options.box.x1)},e.prototype.step=function(t){var e=this.options.box;this._setEnd(Q(e.x1,e.x2,t))},e.prototype._setEnd=function(t){var e=this.element,o=e.segments,i=o[1].anchor(),r=o[2].anchor();e.suspend(),i.setX(t),e.resume(),r.setX(t)},e}(w.drawing.Animation);xt(ki,{duration:600}),w.drawing.AnimationFactory.current.register("clip",ki);var Ii=ki;function Oi(t){for(var e=0;e<t.length;e++)if(at(t[e].zIndex))return!0}var Pi={createAnimation:function(){var t=this.getRoot();if(t&&!1!==(t.options||{}).transitions){var e=t.size(),o=w.drawing.Path.fromRect(e.toRect());this.visual.clip(o),this.animation=new Ii(o,{box:e}),Oi(this.options.series)&&this._setChildrenAnimation(o)}},_setChildrenAnimation:function(t){for(var e=this.animationPoints(),o=0;o<e.length;o++){var i=e[o];i&&i.visual&&at(i.visual.options.zIndex)&&i.visual.clip(t)}}},ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange(),this.renderSegments()},e.prototype.pointType=function(){return yi},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,r=e.series,n=e.seriesIx,a=this.seriesMissingValues(r),s=t.valueFields.value;if(!at(s)||null===s){if(a!==Jo)return null;s=0}var p=this.pointOptions(r,n);p=this.evalPointOptions(p,s,i,o,r,n);var c=t.fields.color||r.color;j(r.color)&&(c=p.color);var l=new yi(s,p);return l.color=c,this.append(l),l},e.prototype.plotRange=function(t){var e=this.plotValue(t);if(this.options.isStacked)for(var o=t.categoryIx,i=this.categoryPoints[o],r=0;r<i.length;r++){var n=i[r];if(t===n)break;e+=this.plotValue(n),this.options.isStacked100&&(e=Math.min(e,1))}return[e,e]},e.prototype.createSegment=function(t,e,o){var i=e.style;return new("step"===i?Si:"smooth"===i?wi:mi)(t,e,o)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++)e.push((t[o]||{}).marker);return e.concat(this._segments)},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(di);M(ji.prototype,Ai,Pi);var Ti=ji,Mi=function(t){function e(e,o,i,r,n){t.call(this,e,o,i),this.prevSegment=r,this.stackPoints=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){var t=this.series,e=t._defaults,o=t.line||{},i=t.color;j(i)&&e&&(i=e.color),this.visual=new w.drawing.Group({zIndex:t.zIndex}),this.createFill({fill:{color:i,opacity:t.opacity},stroke:null}),o.width>0&&!1!==o.visible&&this.createStroke({stroke:M({color:i,opacity:t.opacity,lineCap:"butt"},o)})},e.prototype.strokeSegments=function(){var t=this._strokeSegments;return t||(t=this._strokeSegments=this.createStrokeSegments()),t},e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.points())},e.prototype.stackSegments=function(){return this.prevSegment?this.prevSegment.createStackSegments(this.stackPoints):this.createStackSegments(this.stackPoints)},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.toGeometryPoints(t)).reverse()},e.prototype.segmentsFromPoints=function(t){return t.map((function(t){return new w.geometry.Segment(t)}))},e.prototype.createStroke=function(t){var e=new w.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),this.visual.append(e)},e.prototype.hasStackSegment=function(){return this.prevSegment||this.stackPoints&&this.stackPoints.length},e.prototype.createFill=function(t){var e=this.strokeSegments(),o=e.slice(0),i=this.hasStackSegment();if(i){var r=this.stackSegments();rt(o,r)}var n=new w.drawing.Path(t);n.segments.push.apply(n.segments,o),!i&&e.length>1&&this.fillToAxes(n),this.visual.append(n)},e.prototype.fillToAxes=function(t){var e=this.parent,o=e.options.invertAxes,i=e.seriesValueAxis(this.series),r=e.categoryAxisCrossingValue(i),n=i.getSlot(r,r,!0),a=this.strokeSegments(),s=a[0].anchor(),p=ht(a).anchor(),c=o?n.x1:n.y1;o?t.lineTo(c,p.y).lineTo(c,s.y):t.lineTo(p.x,c).lineTo(s.x,c)},e}(mi),Di=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.linePoints))},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.calculateStepPoints(t)).reverse()},e}(Mi);M(Di.prototype,xi);var Ei=Di,Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){var t=new Ro(this.options.closed),e=this.points();return t.process(e)},e.prototype.createStackSegments=function(){for(var t=this.strokeSegments(),e=[],o=t.length-1;o>=0;o--){var i=t[o];e.push(new w.geometry.Segment(i.anchor(),i.controlOut(),i.controlIn()))}return e},e}(Mi),Ri=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,o,i){var r,n,a=this.options.isStacked,s=(e.line||{}).style;a&&o>0&&i&&("gap"!==this.seriesMissingValues(e)?(n=i.linePoints,r=i):n=this._gapStackPoints(t,o,s));return new("step"===s?Ei:"smooth"===s?Bi:Mi)(t,e,o,r,n)},e.prototype.reflow=function(e){t.prototype.reflow.call(this,e);var o=this._stackPoints;if(o)for(var i=0;i<o.length;i++){var r=o[i],n=this.categoryAxis.getSlot(r.categoryIx);r.reflow(n)}},e.prototype._gapStackPoints=function(t,e,o){var i=this.seriesPoints,r=t[0].categoryIx,n=t.length;r<0&&(r=0,n--);var a=r+n,s=this.seriesOptions[0]._outOfRangeMinPoint?1:0,p=[];this._stackPoints=this._stackPoints||[];for(var c=r;c<a;c++){var l=c+s,u=e,h=void 0;do{h=i[--u][l]}while(u>0&&!h);if(h)"step"!==o&&c>r&&!i[u][l-1]&&p.push(this._previousSegmentPoint(c,l,l-1,u)),p.push(h),"step"!==o&&c+1<a&&!i[u][l+1]&&p.push(this._previousSegmentPoint(c,l,l+1,u));else{var d=this._createGapStackPoint(c);this._stackPoints.push(d),p.push(d)}}return p},e.prototype._previousSegmentPoint=function(t,e,o,i){for(var r,n=this.seriesPoints,a=i;a>0&&!r;)r=n[--a][o];return r?r=n[a][e]:(r=this._createGapStackPoint(t),this._stackPoints.push(r)),r},e.prototype._createGapStackPoint=function(t){var e=this.pointOptions({},0),o=new yi(0,e);return o.categoryIx=t,o.series={},o},e.prototype.seriesMissingValues=function(t){return t.missingValues||Jo},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(Ti),Li=function(t){function e(){t.call(this),this.axisRanges={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.update=function(t){var e=this.axisRanges;for(var o in t){var i=t[o],r=e[o];e[o]=r=r||{min:h,max:d},r.min=Math.min(r.min,i.min),r.max=Math.max(r.max,i.max)}},e.prototype.reset=function(t){this.axisRanges[t]=void 0},e.prototype.query=function(t){return this.axisRanges[t]},e}(w.Class),Vi=function(t){function e(e,o,i){t.call(this,o),this.textBox=new pe(e,this.options,i),this.append(this.textBox)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){this.textBox.options.noclip=this.options.noclip},e.prototype.reflow=function(t){var e=this.options,o=e.vertical,i=e.aboveAxis,r=this.children[0],n=r.options,p=r.box,c=r.options.padding,l=t;n.align=o?s:u,n.vAlign=o?f:s,"insideEnd"===e.position?o?(n.vAlign=f,!i&&p.height()<t.height()&&(n.vAlign=a)):n.align=i?g:u:e.position===s?(n.vAlign=s,n.align=s):"insideBase"===e.position?o?n.vAlign=i?a:f:n.align=i?u:g:"outsideEnd"===e.position&&(o?l=i?new zt(t.x1,t.y1-p.height(),t.x2,t.y1):new zt(t.x1,t.y2,t.x2,t.y2+p.height()):(n.align=s,l=i?new zt(t.x2,t.y1,t.x2+p.width(),t.y2):new zt(t.x1-p.width(),t.y1,t.x1,t.y2))),e.rotation||(o?c.left=c.right=(l.width()-r.contentBox.width())/2:c.top=c.bottom=(l.height()-r.contentBox.height())/2),r.reflow(l)},e.prototype.alignToClipBox=function(t){var e=this.options.vertical?m:_,o=e+"1",i=e+"2",r=this.children[0],n=this.parent.box;if(n[o]<t[o]||t[i]<n[i]){var a=r.paddingBox.clone();a[o]=Math.max(n[o],t[o]),a[i]=Math.min(n[i],t[i]),this.reflow(a)}},e}(Xt);xt(Vi,{position:"outsideEnd",margin:V(3),padding:V(4),color:n,background:"",border:{width:1,color:""},aboveAxis:!0,vertical:!1,animation:{type:"fadeIn",delay:600},zIndex:2});var zi=Vi;function Ni(t){var e=t.overlay;return e&&e.gradient&&"none"!==e.gradient}var Fi=function(t){function e(e,o){t.call(this),this.options=o,this.color=o.color||y,this.aboveAxis=_t(this.options.aboveAxis,!0),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createLabel(),this.createNote(),this.errorBar&&this.append(this.errorBar))},e.prototype.createLabel=function(){var t=this.options,e=t.labels;if(e.visible){var o,i=this.pointData(),r=G(e);o=r?r(i):this.formatValue(e.format),this.label=new zi(o,M({vertical:t.vertical},e),i),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;if(this.box=t,e&&(e.options.aboveAxis=this.aboveAxis,e.reflow(t)),this.note&&this.note.reflow(t),this.errorBars)for(var o=0;o<this.errorBars.length;o++)this.errorBars[o].reflow(t)},e.prototype.createVisual=function(){var e=this,o=this.box,i=this.options,r=i.visual;if(!1!==this.visible)if(t.prototype.createVisual.call(this),r){var n=this.rectVisual=r({category:this.category,dataItem:this.dataItem,value:this.value,sender:this.getSender(),series:this.series,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,rect:o.toRect(),createVisual:function(){var t=new w.drawing.Group;return e.createRect(t),t},options:i});n&&this.visual.append(n)}else o.width()>0&&o.height()>0&&this.createRect(this.visual)},e.prototype.createRect=function(t){var e=this.options,o=e.border,i=at(o.opacity)?o.opacity:e.opacity,r=this.box.toRect();r.size.width=Math.round(r.size.width);var n=this.rectVisual=w.drawing.Path.fromRect(r,{fill:{color:this.color,opacity:e.opacity},stroke:{color:this.getBorderColor(),width:o.width,opacity:i,dashType:o.dashType}}),a=this.box.width(),s=this.box.height();if((e.vertical?a:s)>6&&(A(n),(a<1||s<1)&&(n.options.stroke.lineJoin="round")),t.append(n),Ni(e)){var p=this.createGradientOverlay(n,{baseColor:this.color},M({end:e.vertical?void 0:[0,1]},e.overlay));t.append(p)}},e.prototype.createHighlight=function(t){return A(w.drawing.Path.fromRect(this.box.toRect(),t))},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.getBorderColor=function(){var t=this.color,e=this.options.border,o=e._brightness||.8,i=e.color;return at(i)||(i=new w.Color(t).brightness(o).toHex()),i},e.prototype.tooltipAnchor=function(){var t,e,o=this.options,i=this.box,r=this.aboveAxis,n=this.owner.pane.clipBox()||i,s=u,p=f;if(o.vertical)t=Math.min(i.x2,n.x2)+5,r?e=Math.max(i.y1,n.y1):(e=Math.min(i.y2,n.y2),p=a);else{var c=Math.max(i.x1,n.x1),l=Math.min(i.x2,n.x2);o.isStacked?(p=a,r?(s=g,t=l):t=c,e=Math.max(i.y1,n.y1)-5):(r?t=l+5:(t=c-5,s=g),e=Math.max(i.y1,n.y1))}return{point:new Lt(t,e),align:{horizontal:s,vertical:p}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,series:this.series}},e}(Xt);M(Fi.prototype,gi),M(Fi.prototype,fi),Fi.prototype.defaults={border:{width:1},vertical:!0,overlay:{gradient:"glass"},labels:{visible:!1,format:"{0}"},opacity:1,notes:{label:{}}};var Gi=Fi;function Hi(t,e){t.forEach(e)}function Ui(t,e){for(var o=t.length,i=o-1;i>=0;i--)e(t[i],i-o-1)}var Wi=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?Ui:Hi}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=e.vertical,i=e.gap,r=e.spacing,n=this.children,a=n.length,s=o?m:_,p=a+i+r*(a-1),c=(o?t.height():t.width())/p,l=t[s+1]+c*(i/2);this.forEach(n,(function(e,o){var i=(e.box||t).clone();i[s+1]=l,i[s+2]=l+c,e.reflow(i),o<a-1&&(l+=c*r),l+=c}))},e}(Xt);xt(Wi,{vertical:!1,gap:0,spacing:0});var Xi=Wi,Yi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){for(var e=this.options.vertical?_:m,o=this.children,i=o.length,r=this.box=new zt,n=0;n<i;n++){var a=o[n];if(!1!==a.visible){var s=a.box.clone();s.snapTo(t,e),0===n&&(r=this.box=s.clone()),a.reflow(s),r.wrap(s)}}},e}(Xt);xt(Yi,{vertical:!0});var qi=Yi,Zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange()},e.prototype.pointType=function(){return Gi},e.prototype.clusterType=function(){return Xi},e.prototype.stackType=function(){return qi},e.prototype.stackLimits=function(e,o){return t.prototype.stackLimits.call(this,e,o)},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,r=e.series,n=e.seriesIx,a=this.options,s=this.children,p=a.isStacked,c=this.pointValue(t),l=this.pointOptions(r,n),u=l.labels;p&&"outsideEnd"===u.position&&(u.position="insideEnd"),l.isStacked=p;var h=t.fields.color||r.color;c<0&&l.negativeColor&&(h=l.negativeColor),l=this.evalPointOptions(l,c,i,o,r,n),j(r.color)&&(h=l.color);var d=new(this.pointType())(c,l);d.color=h;var g=s[o];g||(g=new(this.clusterType())({vertical:a.invertAxes,gap:a.gap,spacing:a.spacing,rtl:!a.invertAxes&&(this.chartService||{}).rtl}),this.append(g));p?this.getStackWrap(r,g).append(d):g.append(d);return d},e.prototype.getStackWrap=function(t,e){var o,i=t.stack,r=i&&i.group||i,n=e.children;if("string"==typeof r){for(var a=0;a<n.length;a++)if(n[a]._stackGroup===r){o=n[a];break}}else o=n[0];o||((o=new(this.stackType())({vertical:!this.options.invertAxes}))._stackGroup=r,e.append(o));return o},e.prototype.categorySlot=function(t,e,o){var i=this.options,r=t.getSlot(e),n=o.startValue();if(i.isStacked){var a=o.getSlot(n,n,!0),s=i.invertAxes?_:m;r[s+1]=r[s+2]=a[s+1]}return r},e.prototype.reflowCategories=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++)e[i].reflow(t[i])},e.prototype.createAnimation=function(){this._setAnimationOptions(),t.prototype.createAnimation.call(this),Oi(this.options.series)&&this._setChildrenAnimation()},e.prototype._setChildrenAnimation=function(){for(var t=this.points,e=0;e<t.length;e++){var o=t[e],i=o.visual;i&&at(i.options.zIndex)&&(o.options.animation=this.options.animation,o.createAnimation())}},e.prototype._setAnimationOptions=function(){var t,e=this.options,o=e.animation||{};if(e.isStacked){var i=this.seriesValueAxis(e.series[0]);t=i.getSlot(i.startValue())}else t=this.categoryAxis.getSlot(0);o.origin=new w.geometry.Point(t.x1,t.y1),o.vertical=!e.invertAxes},e}(di);xt(Zi,{animation:{type:ti}});var Ki=Zi,Qi=function(t){function e(e,o){t.call(this,o),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=this.value,i=this.owner.seriesValueAxis(e),r=i.getSlot(o.open,o.close),n=i.getSlot(o.low,o.high);r.x1=n.x1=t.x1,r.x2=n.x2=t.x2,this.realBody=r;var a=n.center().x,s=[];s.push([[a,n.y1],[a,r.y1]]),s.push([[a,r.y2],[a,n.y2]]),this.lines=s,this.box=n.clone().wrap(r),this._rendered||(this._rendered=!0,this.createNote()),this.reflowNote()},e.prototype.reflowNote=function(){this.note&&this.note.reflow(this.box)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this._mainVisual=this.mainVisual(this.options),this.visual.append(this._mainVisual),this.createOverlay()},e.prototype.mainVisual=function(t){var e=new w.drawing.Group;return this.createBody(e,t),this.createLines(e,t),e},e.prototype.createBody=function(t,e){var o=w.drawing.Path.fromRect(this.realBody.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&o.options.set("stroke",{color:this.getBorderColor(),width:e.border.width,dashType:e.border.dashType,opacity:_t(e.border.opacity,e.opacity)}),A(o),t.append(o),Ni(e)&&t.append(this.createGradientOverlay(o,{baseColor:this.color},M({end:e.vertical?void 0:[0,1]},e.overlay)))},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.lines,e.line)},e.prototype.drawLines=function(t,e,o,i){if(o)for(var r={stroke:{color:i.color||this.color,opacity:_t(i.opacity,e.opacity),width:i.width,dashType:i.dashType,lineCap:"butt"}},n=0;n<o.length;n++){var a=w.drawing.Path.fromPoints(o[n],r);A(a),t.append(a)}},e.prototype.getBorderColor=function(){var t=this.options.border,e=t.color;return at(e)||(e=new w.Color(this.color).brightness(t._brightness).toHex()),e},e.prototype.createOverlay=function(){var t=w.drawing.Path.fromRect(this.box.toRect(),{fill:{color:y,opacity:0},stroke:null});this.visual.append(t)},e.prototype.createHighlight=function(){var t=this.options.highlight,e=this.color;this.color=t.color||this.color;var o=this.mainVisual(M({},this.options,{line:{color:this.getBorderColor()}},t));return this.color=e,o},e.prototype.highlightVisual=function(){return this._mainVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this._mainVisual}},e.prototype.tooltipAnchor=function(){var t=this.box,e=this.owner.pane.clipBox()||t;return{point:new Lt(t.x2+5,Math.max(t.y1,e.y1)+5),align:{horizontal:u,vertical:f}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e}(Xt);xt(Qi,{vertical:!0,border:{_brightness:.8},line:{width:2},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{4:d}</th></tr><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:{}}}),M(Qi.prototype,gi),M(Qi.prototype,fi);var $i=Qi;function Ji(t){return Go(t)===t.length}var tr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++)e[i].reflow(t[i])},e.prototype.addValue=function(t,e){var o,i=e.categoryIx,r=e.category,n=e.series,a=e.seriesIx,s=this.children,p=this.options,c=t.valueFields,l=Ji(this.splitValue(c)),u=n.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),l&&(o=this.createPoint(t,e));var d=s[i];d||(d=new Xi({vertical:p.invertAxes,gap:p.gap,spacing:p.spacing,rtl:!p.invertAxes&&(this.chartService||{}).rtl}),this.append(d)),o&&(this.updateRange(c,e),d.append(o),o.categoryIx=i,o.category=r,o.series=n,o.seriesIx=a,o.owner=this,o.dataItem=u,o.noteText=t.fields.noteText),this.points.push(o),h.push(o)},e.prototype.pointType=function(){return $i},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,r=e.series,n=e.seriesIx,a=this.pointType(),s=t.valueFields,p=M({},r),c=t.fields.color||r.color;p=this.evalPointOptions(p,s,i,o,r,n),"candlestick"===r.type&&s.open>s.close&&(c=t.fields.downColor||r.downColor||r.color),j(r.color)&&(c=p.color),p.vertical=!this.options.invertAxes;var l=new a(s,p);return l.color=c,l},e.prototype.splitValue=function(t){return[t.low,t.open,t.close,t.high]},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=this.splitValue(t),r=this.valueAxisRanges[o];r=this.valueAxisRanges[o]=r||{min:h,max:d},r=this.valueAxisRanges[o]={min:Math.min.apply(Math,i.concat([r.min])),max:Math.max.apply(Math,i.concat([r.max]))}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.open,o.high,o.low,o.close,t.category)},e.prototype.animationPoints=function(){return this.points},e}(di);M(tr.prototype,Pi);var er=tr,or=function(t){function e(e,o){t.call(this,e,o),this.createNote()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,o,i=this.options,r=this.value,n=this.owner.seriesValueAxis(i);this.boxSlot=o=n.getSlot(r.q1,r.q3),this.realBody=o,this.reflowBoxSlot(t),this.whiskerSlot=e=n.getSlot(r.lower,r.upper),this.reflowWhiskerSlot(t);var a=n.getSlot(r.median);if(r.mean){var s=n.getSlot(r.mean);this.meanPoints=this.calcMeanPoints(t,s)}this.whiskerPoints=this.calcWhiskerPoints(o,e),this.medianPoints=this.calcMedianPoints(t,a),this.box=e.clone().wrap(o),this.reflowNote()},e.prototype.reflowBoxSlot=function(t){this.boxSlot.x1=t.x1,this.boxSlot.x2=t.x2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.x1=t.x1,this.whiskerSlot.x2=t.x2},e.prototype.calcMeanPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.calcWhiskerPoints=function(t,e){var o=e.center().x;return[[[o-5,e.y1],[o+5,e.y1],[o,e.y1],[o,t.y1]],[[o-5,e.y2],[o+5,e.y2],[o,e.y2],[o,t.y2]]]},e.prototype.calcMedianPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.renderOutliers=function(t){for(var e=this.value,o=e.outliers||[],i=3*Math.abs(e.q3-e.q1),r=[],n=t.markers||{},a=0;a<o.length;a++){var s=o[a],p=M({},(n=s<e.q3+i&&s>e.q1-i?t.outliers:t.extremes).border);at(p.color)||(at(this.color)?p.color=this.color:p.color=new w.Color(n.background).brightness(.8).toHex());var c=new Kt({type:n.type,width:n.size,height:n.size,rotation:n.rotation,background:n.background,border:p,opacity:n.opacity});c.value=s,r.push(c)}return this.reflowOutliers(r),r},e.prototype.reflowOutliers=function(t){for(var e=this.owner.seriesValueAxis(this.options),o=this.box.center(),i=0;i<t.length;i++){var r=t[i].value,n=e.getSlot(r);this.options.vertical?n.move(o.x):n.move(void 0,o.y),this.box=this.box.wrap(n),t[i].reflow(n)}},e.prototype.mainVisual=function(e){for(var o=t.prototype.mainVisual.call(this,e),i=this.renderOutliers(e),r=0;r<i.length;r++){var n=i[r].getElement();n&&o.append(n)}return o},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.whiskerPoints,e.whiskers),this.drawLines(t,e,this.medianPoints,e.median),this.drawLines(t,e,this.meanPoints,e.mean)},e.prototype.getBorderColor=function(){return(this.options.border||{}).color?this.options.border.color:this.color?this.color:t.prototype.getBorderColor.call(this)},e}($i);xt(or,{border:{_brightness:.8},line:{width:2},median:{color:"#f6f6f6"},mean:{width:2,dashType:"dash",color:"#f6f6f6"},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{6:d}</th></tr><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:8,type:"cross",background:y,border:{width:2,opacity:1},opacity:0},extremes:{visible:!0,size:8,type:p,background:y,border:{width:2,opacity:1},opacity:0}}),M(or.prototype,gi);var ir=or,rr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowBoxSlot=function(t){this.boxSlot.y1=t.y1,this.boxSlot.y2=t.y2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.y1=t.y1,this.whiskerSlot.y2=t.y2},e.prototype.calcMeanPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e.prototype.calcWhiskerPoints=function(t,e){var o=e.center().y;return[[[e.x1,o-5],[e.x1,o+5],[e.x1,o],[t.x1,o]],[[e.x2,o-5],[e.x2,o+5],[e.x2,o],[t.x2,o]]]},e.prototype.calcMedianPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e}(ir),nr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e){var o,i=e.categoryIx,r=e.category,n=e.series,a=e.seriesIx,s=this.children,p=this.options,c=t.valueFields,l=Ji(this.splitValue(c)),u=n.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),l&&(o=this.createPoint(t,e));var d=s[i];d||(d=new Xi({vertical:p.invertAxes,gap:p.gap,spacing:p.spacing,rtl:!p.invertAxes&&(this.chartService||{}).rtl}),this.append(d)),o&&(this.updateRange(c,e),d.append(o),o.categoryIx=i,o.category=r,o.series=n,o.seriesIx=a,o.owner=this,o.dataItem=u),this.points.push(o),h.push(o)},e.prototype.pointType=function(){return this.options.invertAxes?rr:ir},e.prototype.splitValue=function(t){return[t.lower,t.q1,t.median,t.q3,t.upper]},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=this.valueAxisRanges[o],r=this.splitValue(t).concat(this.filterOutliers(t.outliers));at(t.mean)&&(r=r.concat(t.mean)),i=this.valueAxisRanges[o]=i||{min:h,max:d},i=this.valueAxisRanges[o]={min:Math.min.apply(Math,r.concat([i.min])),max:Math.max.apply(Math,r.concat([i.max]))}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.lower,o.q1,o.median,o.q3,o.upper,o.mean,t.category)},e.prototype.filterOutliers=function(t){for(var e=(t||[]).length,o=[],i=0;i<e;i++){var r=t[i];at(r)&&null!==r&&o.push(r)}return o},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(er),ar=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){var t=this.chart.seriesAxes(this.series);return this.isVertical?t.y:t.x},e}(pi);function sr(t){return at(t)&&null!==t}var pr=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.xAxisRanges={},this.yAxisRanges={},this.points=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[]},e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.addErrorBar=function(t,e,o){var i,r=t.value[e],n=e+"Value",a=e+"ErrorLow",s=e+"ErrorHigh",p=o.seriesIx,c=o.series,l=t.options.errorBars,u=o[a],h=o[s];I(r)&&(I(u)&&I(h)&&(i={low:u,high:h}),l&&at(l[n])&&(this.seriesErrorRanges=this.seriesErrorRanges||{x:[],y:[]},this.seriesErrorRanges[e][p]=this.seriesErrorRanges[e][p]||new Ko(l[n],c,e),i=this.seriesErrorRanges[e][p].getErrorRange(r,l[n])),i&&this.addPointErrorBar(i,t,e))},e.prototype.addPointErrorBar=function(t,e,o){var i=t.low,r=t.high,n=e.series,a=e.options.errorBars,s=o===m,p={};e[o+"Low"]=i,e[o+"High"]=r,e.errorBars=e.errorBars||[];var c=new ar(i,r,s,this,n,a);e.errorBars.push(c),e.append(c),p[o]=i,this.updateRange(p,n),p[o]=r,this.updateRange(p,n)},e.prototype.addValue=function(t,e){var o,i=t.x,r=t.y,n=e.seriesIx,a=this.options.series[n],s=this.seriesMissingValues(a),p=this.seriesPoints[n],c=t;sr(i)&&sr(r)||(c=this.createMissingValue(c,s)),c&&((o=this.createPoint(c,e))&&(Object.assign(o,e),this.addErrorBar(o,_,e),this.addErrorBar(o,m,e)),this.updateRange(c,e.series)),this.points.push(o),p.push(o)},e.prototype.seriesMissingValues=function(t){return t.missingValues},e.prototype.createMissingValue=function(){},e.prototype.updateRange=function(t,e){var o=this.chartService.intl,i=e.xAxis,r=e.yAxis,n=t.x,a=t.y,s=this.xAxisRanges[i],p=this.yAxisRanges[r];sr(n)&&(s=this.xAxisRanges[i]=s||{min:h,max:d},O(n)&&(n=Ke(o,n)),s.min=Math.min(s.min,n),s.max=Math.max(s.max,n)),sr(a)&&(p=this.yAxisRanges[r]=p||{min:h,max:d},O(a)&&(a=Ke(o,a)),p.min=Math.min(p.min,a),p.max=Math.max(p.max,a))},e.prototype.evalPointOptions=function(t,e,o){var i=o.series,r=o.seriesIx,n={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},a=this._evalSeries[r];at(a)||(this._evalSeries[r]=a=li(t,{},n,!0));var s=t;return a&&li(s=M({},t),{value:e,series:i,dataItem:o.dataItem},n),s},e.prototype.pointType=function(){return yi},e.prototype.pointOptions=function(t,e){var o=this.seriesOptions[e];if(!o){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=o=M({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return o},e.prototype.createPoint=function(t,e){var o=e.series,i=this.pointOptions(o,e.seriesIx),r=e.color||o.color;i=this.evalPointOptions(i,t,e),j(o.color)&&(r=i.color);var n=new yi(t,i);return n.color=r,this.append(n),n},e.prototype.seriesAxes=function(t){var e=t.xAxis,o=t.yAxis,i=this.plotArea,r=e?i.namedXAxes[e]:i.axisX,n=o?i.namedYAxes[o]:i.axisY;if(!r)throw new Error("Unable to locate X axis with name "+e);if(!n)throw new Error("Unable to locate Y axis with name "+o);return{x:r,y:n}},e.prototype.reflow=function(t){var e=this,o=this.points,i=!this.options.clip,r=0;this.traverseDataPoints((function(t,n){var a=o[r++],s=e.seriesAxes(n.series),p=s.x.getSlot(t.x,t.x,i),c=s.y.getSlot(t.y,t.y,i);if(a)if(p&&c){var l=e.pointSlot(p,c);a.reflow(l)}else a.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new zt(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=this.seriesPoints,i=0;i<e.length;i++){var r=e[i];o[i]||(o[i]=[]);for(var n=0;n<r.data.length;n++){var a=this._bindPoint(r,i,n),s=a.valueFields,p=a.fields;t(s,M({pointIx:n,series:r,seriesIx:i,dataItem:r.data[n],owner:this},p))}}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.x,o.y)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++)e.push((t[o]||{}).marker);return e},e}(Xt);xt(pr,{series:[],tooltip:{format:"{0}, {1}"},labels:{format:"{0}, {1}"},clip:!0}),M(pr.prototype,Pi,{_bindPoint:di.prototype._bindPoint});var cr=pr,lr=function(t){function e(e,o){t.call(this,e,o),this.category=e.category}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createHighlight=function(){var t=this.options.highlight,e=t.border,o=this.options.markers,i=this.box.center(),r=(o.size+o.border.width+e.width)/2,n=new w.drawing.Group,a=new w.drawing.Circle(new w.geometry.Circle([i.x,i.y+r/5+e.width/2],r+e.width/2),{stroke:{color:"none"},fill:this.createGradient({gradient:"bubbleShadow",color:o.background,stops:[{offset:0,color:o.background,opacity:.3},{offset:1,color:o.background,opacity:0}]})}),s=new w.drawing.Circle(new w.geometry.Circle([i.x,i.y],r),{stroke:{color:e.color||new w.Color(o.background).brightness(.8).toHex(),width:e.width,opacity:e.opacity},fill:{color:o.background,opacity:t.opacity}});return n.append(a,s),n},e}(yi);lr.prototype.defaults=M({},lr.prototype.defaults,{labels:{position:s},highlight:{opacity:1,border:{color:"#fff",width:2,opacity:1}}}),lr.prototype.defaults.highlight.zIndex=void 0;var ur=lr,hr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this._maxSize=d,t.prototype._initFields.call(this)},e.prototype.addValue=function(e,o){null!==e.size&&(e.size>0||e.size<0&&o.series.negativeValues.visible)?(this._maxSize=Math.max(this._maxSize,Math.abs(e.size)),t.prototype.addValue.call(this,e,o)):(this.points.push(null),this.seriesPoints[o.seriesIx].push(null))},e.prototype.reflow=function(e){this.updateBubblesSize(e),t.prototype.reflow.call(this,e)},e.prototype.pointType=function(){return ur},e.prototype.createPoint=function(t,e){var o=e.series,i=o.data.length,r=e.pointIx*(600/i),n={delay:r,duration:600-r,type:"bubble"},a=e.color||o.color;t.size<0&&o.negativeValues.visible&&(a=_t(o.negativeValues.color,a));var s=M({labels:{animation:{delay:r,duration:600-r}}},this.pointOptions(o,e.seriesIx),{markers:{type:p,border:o.border,opacity:o.opacity,animation:n}});s=this.evalPointOptions(s,t,e),j(o.color)&&(a=s.color),s.markers.background=a;var c=new ur(t,s);return c.color=a,this.append(c),c},e.prototype.updateBubblesSize=function(t){for(var e=this.options.series,o=Math.min(t.width(),t.height()),i=0;i<e.length;i++)for(var r=e[i],n=this.seriesPoints[i],a=(r.minSize||Math.max(.02*o,10))/2,s=(r.maxSize||.2*o)/2,p=Math.PI*a*a,c=(Math.PI*s*s-p)/this._maxSize,l=0;l<n.length;l++){var u=n[l];if(u){var h=Math.abs(u.value.size)*c,d=Math.sqrt((p+h)/Math.PI),g=_t(u.options.zIndex,0)+(1-d/s);M(u.options,{zIndex:g,markers:{size:2*d,zIndex:g},labels:{zIndex:g+1}})}}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.x,o.y,o.size,t.category)},e.prototype.createAnimation=function(){},e.prototype.createVisual=function(){},e}(cr);xt(hr,{tooltip:{format:"{3}"},labels:{format:"{3}"}});var dr=hr,gr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Kt);M(gr.prototype,gi);var fr=gr,vr=function(t){function e(e,o){t.call(this,o),this.aboveAxis=this.options.aboveAxis,this.color=o.color||y,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options;this._rendered||(this._rendered=!0,at(this.value.target)&&(this.target=new fr({type:t.target.shape,background:t.target.color||this.color,opacity:t.opacity,zIndex:t.zIndex,border:t.target.border,vAlign:f,align:g}),this.target.value=this.value,this.target.dataItem=this.dataItem,this.target.series=this.series,this.append(this.target)),this.createNote())},e.prototype.reflow=function(t){this.render();var e=this.options,o=this.target,i=this.owner,r=e.invertAxes,n=i.seriesValueAxis(this.options),a=i.categorySlot(i.categoryAxis,e.categoryIx,n),s=n.getSlot(this.value.target),p=r?s:a,c=r?a:s;if(o){var l=new zt(p.x1,c.y1,p.x2,c.y2);o.options.height=r?l.height():e.target.line.width,o.options.width=r?e.target.line.width:l.width(),o.reflow(l)}this.note&&this.note.reflow(t),this.box=t},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options,o=w.drawing.Path.fromRect(this.box.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&o.options.set("stroke",{color:e.border.color||this.color,width:e.border.width,dashType:e.border.dashType,opacity:_t(e.border.opacity,e.opacity)}),this.bodyVisual=o,A(o),this.visual.append(o)},e.prototype.createAnimation=function(){this.bodyVisual&&(this.animation=w.drawing.Animation.create(this.bodyVisual,this.options.animation))},e.prototype.createHighlight=function(t){return w.drawing.Path.fromRect(this.box.toRect(),t)},e.prototype.highlightVisual=function(){return this.bodyVisual},e.prototype.highlightVisualArgs=function(){return{rect:this.box.toRect(),visual:this.bodyVisual,options:this.options}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(Xt);vr.prototype.tooltipAnchor=Gi.prototype.tooltipAnchor,xt(vr,{border:{width:1},vertical:!1,opacity:1,target:{shape:"",border:{width:0,color:"green"},line:{width:2}},tooltip:{format:"Current: {0}<br />Target: {1}"}}),M(vr.prototype,gi),M(vr.prototype,fi);var yr=vr,_r=function(t){function e(e,o){!function(t){for(var e=t.series,o=0;o<e.length;o++){var i=e[o],r=i.data;!r||b(r[0])||D(r[0])||(i.data=[r])}}(o),t.call(this,e,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++)e[i].reflow(t[i])},e.prototype.plotRange=function(t){var e=t.series,o=this.seriesValueAxis(e),i=this.categoryAxisCrossingValue(o);return[i,t.value.current||i]},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,r=e.series,n=e.seriesIx,a=this.options,s=this.children,p=t.valueFields,c=M({vertical:!a.invertAxes,overlay:r.overlay,categoryIx:o,invertAxes:a.invertAxes},r),l=t.fields.color||r.color;c=this.evalPointOptions(c,p,i,o,r,n),j(r.color)&&(l=c.color);var u=new yr(p,c);u.color=l;var h=s[o];return h||(h=new Xi({vertical:a.invertAxes,gap:a.gap,spacing:a.spacing,rtl:!a.invertAxes&&(this.chartService||{}).rtl}),this.append(h)),h.append(u),u},e.prototype.updateRange=function(t,e){var o=t.current,i=t.target,r=e.series.axis,n=this.valueAxisRanges[r];at(o)&&!isNaN(o)&&at(i&&!isNaN(i))&&((n=this.valueAxisRanges[r]=n||{min:h,max:d}).min=Math.min(n.min,o,i),n.max=Math.max(n.max,o,i))},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value.current,t.value.target)},e.prototype.pointValue=function(t){return t.valueFields.current},e.prototype.aboveAxis=function(t){return t.value.current>0},e.prototype.createAnimation=function(){var t=this.points;this._setAnimationOptions();for(var e=0;e<t.length;e++){var o=t[e];o.options.animation=this.options.animation,o.createAnimation()}},e}(di);_r.prototype._setAnimationOptions=Ki.prototype._setAnimationOptions,xt(_r,{animation:{type:ti}});var mr=_r,br=function(t){function e(e,o){t.call(this),this.chartService=e,this.options=M({},this.options,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getStyle=function(t,e){var o=t.background,i=t.border.color;if(e){var r=e.color||e.options.color;o=_t(o,r),i=_t(i,r)}var n=V(t.padding||{},"auto");return{backgroundColor:o,borderColor:i,font:t.font,color:t.color,opacity:t.opacity,borderWidth:E(t.border.width),paddingTop:E(n.top),paddingBottom:E(n.bottom),paddingLeft:E(n.left),paddingRight:E(n.right)}},e.prototype.show=function(t,e,o){t.format=e.format;var i=this.getStyle(e,o);t.style=i;var r=new w.Color(i.backgroundColor);at(e.color)||r.isDark()||(t.className="k-chart-tooltip-inverse"),this.chartService.notify("showTooltip",t),this.visible=!0},e.prototype.hide=function(){this.chartService&&this.chartService.notify("hideTooltip"),this.visible=!1},e.prototype.destroy=function(){delete this.chartService},e}(w.Class);xt(br,{border:{width:1},opacity:1});var xr=br,Cr=function(t){function e(e,o,i){t.call(this,e,i),this.crosshair=o,this.formatService=e.format,this.initAxisName()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initAxisName=function(){var t,e=this.crosshair.axis;t=e.plotArea.categoryAxis?e.getCategory?"categoryAxis":"valueAxis":e.options.vertical?"yAxis":"xAxis",this.axisName=t},e.prototype.showAt=function(t){var e=this.crosshair.axis,o=this.options,i=e[o.stickyMode?"getCategory":"getValue"](t),r=i;o.format?r=this.formatService.auto(o.format,i):e.options.type===c&&(r=this.formatService.auto(e.options.labels.dateFormats[e.options.baseUnit],i)),this.show({point:t,anchor:this.getAnchor(),crosshair:this.crosshair,value:r,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex},this.options)},e.prototype.hide=function(){this.chartService.notify("hideTooltip",{crosshair:this.crosshair,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex})},e.prototype.getAnchor=function(){var t,e,o,i=this.crosshair,r=this.options,n=r.position,p=r.padding,c=!i.axis.options.vertical,l=i.line.bbox();return c?(t=s,n===a?(e=f,o=l.bottomLeft().translate(0,p)):(e=a,o=l.topLeft().translate(0,-p))):(e=s,n===u?(t=g,o=l.topLeft().translate(-p,0)):(t=u,o=l.topRight().translate(p,0))),{point:o,align:{horizontal:t,vertical:e}}},e}(xr);xt(Cr,{padding:10});var Sr=Cr,wr=function(t){function e(e,o,i){t.call(this,i),this.axis=o,this.stickyMode=o instanceof to;var r=this.options.tooltip;r.visible&&(this.tooltip=new Sr(e,this,M({},r,{stickyMode:this.stickyMode})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t){this.point=t,this.moveLine(),this.line.visible(!0),this.tooltip&&this.tooltip.showAt(t)},e.prototype.hide=function(){this.line.visible(!1),this.tooltip&&this.tooltip.hide()},e.prototype.moveLine=function(){var t,e=this.axis,o=this.point,i=e.options.vertical,r=this.getBox(),n=i?m:_,a=new w.geometry.Point(r.x1,r.y1);if(t=i?new w.geometry.Point(r.x2,r.y1):new w.geometry.Point(r.x1,r.y2),o)if(this.stickyMode){var s=e.getSlot(e.pointCategoryIndex(o));a[n]=t[n]=s.center()[n]}else a[n]=t[n]=o[n];this.box=r,this.line.moveTo(a).lineTo(t)},e.prototype.getBox=function(){for(var t,e=this.axis,o=e.pane.axes,i=o.length,r=e.options.vertical,n=e.lineBox().clone(),a=r?_:m,s=0;s<i;s++){var p=o[s];p.options.vertical!==r&&(t?t.wrap(p.lineBox()):t=p.lineBox().clone())}return n[a+1]=t[a+1],n[a+2]=t[a+2],n},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options;this.line=new w.drawing.Path({stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType},visible:!1}),this.moveLine(),this.visual.append(this.line)},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),t.prototype.destroy.call(this)},e}(Xt);xt(wr,{color:n,width:2,zIndex:-1,tooltip:{visible:!1}});var Ar=wr,kr=function(t){function e(e,o){t.call(this,e),this.pane=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.shouldClip=function(){for(var t=this.children,e=t.length,o=0;o<e;o++)if(!0===t[o].options.clip)return!0;return!1},e.prototype._clipBox=function(){return this.pane.chartsBox()},e.prototype.createVisual=function(){if(this.visual=new w.drawing.Group({zIndex:0}),this.shouldClip()){var t=(this.clipBox=this._clipBox()).toRect(),e=w.drawing.Path.fromRect(t);A(e),this.visual.clip(e),this.unclipLabels()}},e.prototype.stackRoot=function(){return this},e.prototype.unclipLabels=function(){for(var t=this.children,e=this.clipBox,o=0;o<t.length;o++)for(var i=t[o].points||{},r=i.length,n=0;n<r;n++){var a=i[n];if(a&&!1!==a.visible&&a.overlapsBox&&a.overlapsBox(e))if(a.unclipElements)a.unclipElements();else{var s=a.label,p=a.note;s&&s.options.visible&&(s.alignToClipBox&&s.alignToClipBox(e),s.options.noclip=!0),p&&p.options.visible&&(p.options.noclip=!0)}}},e.prototype.destroy=function(){t.prototype.destroy.call(this),delete this.parent},e}(Xt);kr.prototype.isStackRoot=!0;var Ir=kr,Or=function(t){function e(e){t.call(this,e),this.id="pane"+Pr++,this.createTitle(),this.content=new Xt,this.chartContainer=new Ir({},this),this.append(this.content),this.axes=[],this.charts=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createTitle=function(){var t=this.options.title;D(t)&&(t=M({},t,{align:t.position,position:f})),this.title=le.buildTitle(t,this,e.prototype.options.title)},e.prototype.appendAxis=function(t){this.content.append(t),this.axes.push(t),t.pane=this},e.prototype.appendAxisAt=function(t,e){this.content.append(t),this.axes.splice(e,0,t),t.pane=this},e.prototype.appendChart=function(t){this.chartContainer.parent!==this.content&&this.content.append(this.chartContainer),this.charts.push(t),this.chartContainer.append(t),t.pane=this},e.prototype.empty=function(){var t=this.parent;if(t){for(var e=0;e<this.axes.length;e++)t.removeAxis(this.axes[e]);for(var o=0;o<this.charts.length;o++)t.removeChart(this.charts[o])}this.axes=[],this.charts=[],this.content.destroy(),this.content.children=[],this.chartContainer.children=[]},e.prototype.reflow=function(e){var o;ht(this.children)===this.content&&(o=this.children.pop()),t.prototype.reflow.call(this,e),o&&this.children.push(o),this.title&&(this.contentBox.y1+=this.title.box.height())},e.prototype.visualStyle=function(){var e=t.prototype.visualStyle.call(this);return e.zIndex=-10,e},e.prototype.renderComplete=function(){this.options.visible&&this.createGridLines()},e.prototype.stackRoot=function(){return this},e.prototype.clipRoot=function(){return this},e.prototype.createGridLines=function(){for(var t=this.axes,e=t.concat(this.parent.axes),o=[],i=[],r=0;r<t.length;r++)for(var n=t[r],a=n.options.vertical,s=a?o:i,p=0;p<e.length;p++)if(0===s.length){var c=e[p];a!==c.options.vertical&&rt(s,n.createGridLines(c))}},e.prototype.refresh=function(){this.visual.clear(),this.content.parent=null,this.content.createGradient=this.createGradient.bind(this),this.content.renderVisual(),this.content.parent=this,this.title&&this.visual.append(this.title.visual),this.visual.append(this.content.visual),this.renderComplete(),this.notifyRender()},e.prototype.chartsBox=function(){for(var t=this.axes,e=t.length,o=new zt,i=0;i<e;i++){var r=t[i],n=r.options.vertical?m:_,a=r.lineBox();o[n+1]=a[n+1],o[n+2]=a[n+2]}if(0===o.x2)for(var s=this.parent.axes,p=s.length,c=0;c<p;c++){var l=s[c];if(!l.options.vertical){var u=l.lineBox();o.x1=u.x1,o.x2=u.x2}}return o},e.prototype.clipBox=function(){return this.chartContainer.clipBox},e.prototype.notifyRender=function(){var t=this.getService();t&&t.notify("paneRender",{pane:new No(this),index:this.paneIndex,name:this.options.name})},e}(qt),Pr=1;Or.prototype.isStackRoot=!0,xt(Or,{zIndex:-1,shrinkToFit:!0,title:{align:u},visible:!0});var jr=Or;function Tr(t,e){null!==e&&t.push(e)}function Mr(t,e,o){var i=e.visible;if(at(i))return i;var r=t.pointVisibility;return r?r[o]:void 0}function Dr(t){for(var e=t.data,o=[],i=0,r=0,n=0;n<e.length;n++){var a=Yo.current.bindPoint(t,n),s=a.valueFields.value;O(s)&&(s=parseFloat(s)),I(s)?(a.visible=!1!==Mr(t,a.fields,n),a.value=Math.abs(s),o.push(a),a.visible&&(i+=a.value),0!==s&&r++):o.push(null)}return{total:i,points:o,count:r}}function Er(t,e){return t&&e?t.toLowerCase()===e.toLowerCase():t===e}function Br(t,e){for(var o=[],i=[].concat(e),r=0;r<t.length;r++){var n=t[r];K(n.type,i)&&o.push(n)}return o}function Rr(t,e,o){if(null===e)return e;var i="_date_"+t,r=e[i];return r||(r=Ke(o,W(t)(e)),e[i]=r),r}function Lr(t,e){var o=t.type,i=e instanceof Date;return!o&&i||Er(o,c)}function Vr(t){return 1===t.length?t[0]:t}var zr=/area/i;function Nr(t,e){var o=Yo.current.bindPoint(t,null,e).valueFields;for(var i in o)if(P(o[i]))return!0}function Fr(t){var e,o,i=t.start,r=t.dir,n=t.min,a=t.max,s=t.getter,p=t.hasItem,c=t.series,l=i;do{p(l+=r)&&(e=Nr(c,(o=s(l)).item))}while(n<=l&&l<=a&&!e);if(e)return o}function Gr(t,e,o,i,r){var n=e.min,a=e.max,s=n>0&&n<o,p=a+1<o;if(s||p){var c,l,u;if("interpolate"!==function(t){return t.missingValues?t.missingValues:zr.test(t.type)||t.stack?Jo:"interpolate"}(t))s&&(c=i(n-1)),p&&(l=i(a+1));else s&&(c=Nr(t,(u=i(n-1)).item)?u:Fr({start:n,dir:-1,min:0,max:o-1,getter:i,hasItem:r,series:t})),p&&(l=Nr(t,(u=i(a+1)).item)?u:Fr({start:a,dir:1,min:0,max:o-1,getter:i,hasItem:r,series:t}));c&&(t._outOfRangeMinPoint=c),l&&(t._outOfRangeMaxPoint=l)}}var Hr=function(t){function e(e,o,i){t.call(this,o),this.initFields(e,o),this.series=e,this.initSeries(),this.charts=[],this.options.legend=this.options.legend||{},this.options.legend.items=[],this.axes=[],this.crosshairs=[],this.chartService=i,this.originalOptions=o,this.createPanes(),this.render(),this.createCrosshairs()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.initSeries=function(){for(var t=this.series,e=0;e<t.length;e++)t[e].index=e},e.prototype.createPanes=function(){for(var t=this.options.title||{},e=this.options.paneDefaults,o=this.options.panes||[],i=Math.max(o.length,1),r=[],n=M({title:{color:t.color}},e),a=0;a<i;a++){var s=M({},n,o[a]);O(s.title)&&(s.title=M({text:s.title},n.title));var p=new jr(s);p.paneIndex=a,r.push(p),this.append(p)}this.panes=r},e.prototype.crosshairOptions=function(t){return t.options.crosshair},e.prototype.createCrosshairs=function(t){void 0===t&&(t=this.panes);for(var e=0;e<t.length;e++)for(var o=t[e],i=0;i<o.axes.length;i++){var r=o.axes[i],n=this.crosshairOptions(r);if(n&&n.visible){var a=new Ar(this.chartService,r,n);this.crosshairs.push(a),o.content.append(a)}}},e.prototype.removeCrosshairs=function(t){for(var e=this.crosshairs,o=t.axes,i=e.length-1;i>=0;i--)for(var r=0;r<o.length;r++)if(e[i].axis===o[r]){e.splice(i,1);break}},e.prototype.hideCrosshairs=function(){for(var t=this.crosshairs,e=0;e<t.length;e++)t[e].hide()},e.prototype.findPane=function(t){for(var e,o=this.panes,i=0;i<o.length;i++)if(o[i].options.name===t){e=o[i];break}return e||o[0]},e.prototype.findPointPane=function(t){for(var e,o=this.panes,i=0;i<o.length;i++)if(o[i].box.containsPoint(t)){e=o[i];break}return e},e.prototype.appendAxis=function(t){this.findPane(t.options.pane).appendAxis(t),this.axes.push(t),t.plotArea=this},e.prototype.removeAxis=function(t){for(var e=[],o=0;o<this.axes.length;o++){var i=this.axes[o];t!==i?e.push(i):i.destroy()}this.axes=e},e.prototype.appendChart=function(t,e){this.charts.push(t),e?e.appendChart(t):this.append(t)},e.prototype.removeChart=function(t){for(var e=[],o=0;o<this.charts.length;o++){var i=this.charts[o];i!==t?e.push(i):i.destroy()}this.charts=e},e.prototype.addToLegend=function(t){for(var e=t.length,o=this.options.legend,i=o.labels||{},r=o.inactiveItems||{},n=r.labels||{},a=[],s=0;s<e;s++){var p=t[s],c=!1!==p.visible;if(!1!==p.visibleInLegend){var l=p.name,u=c?G(i):G(n)||G(i);u&&(l=u({text:sr(l)?l:"",series:p}));var h=p._defaults,d=p.color;j(d)&&h&&(d=h.color);var g=void 0,f=void 0;c?(g={},f=d):(g={color:n.color,font:n.font},f=r.markers.color),sr(l)&&""!==l&&a.push({text:l,labels:g,markerColor:f,series:p,active:c})}}rt(o.items,a)},e.prototype.groupAxes=function(t){for(var e=[],o=[],i=0;i<t.length;i++)for(var r=t[i].axes,n=0;n<r.length;n++){var a=r[n];a.options.vertical?o.push(a):e.push(a)}return{x:e,y:o,any:e.concat(o)}},e.prototype.groupSeriesByPane=function(){for(var t=this.series,e={},o=0;o<t.length;o++){var i=t[o],r=this.seriesPaneName(i);e[r]?e[r].push(i):e[r]=[i]}return e},e.prototype.filterVisibleSeries=function(t){for(var e=[],o=0;o<t.length;o++){var i=t[o];!1!==i.visible&&e.push(i)}return e},e.prototype.reflow=function(t){var e=this.options.plotArea,o=this.panes,i=V(e.margin);this.box=t.clone().unpad(i),this.reflowPanes(),this.detachLabels(),this.reflowAxes(o),this.reflowCharts(o)},e.prototype.redraw=function(t){var e=[].concat(t);this.initSeries();var o=this.getRoot();o&&o.cleanGradients();for(var i=0;i<e.length;i++)this.removeCrosshairs(e[i]),e[i].empty();this.render(e),this.detachLabels(),this.reflowAxes(this.panes),this.reflowCharts(e),this.createCrosshairs(e);for(var r=0;r<e.length;r++)e[r].refresh()},e.prototype.axisCrossingValues=function(t,e){for(var o=t.options,i=[].concat(o.axisCrossingValues||o.axisCrossingValue),r=e.length-i.length,n=i[0]||0,a=0;a<r;a++)i.push(n);return i},e.prototype.alignAxisTo=function(t,e,o,i){var r=t.getSlot(o,o,!0),n=t.options.reverse?2:1,a=e.getSlot(i,i,!0),s=e.options.reverse?2:1,p=t.box.translate(a[_+s]-r[_+n],a[m+s]-r[m+n]);t.pane!==e.pane&&p.translate(0,t.pane.box.y1-e.pane.box.y1),t.reflow(p)},e.prototype.alignAxes=function(t,e){for(var o=t[0],i=e[0],r=this.axisCrossingValues(o,e),n=this.axisCrossingValues(i,t),s={},p={},c={},l={},h=0;h<e.length;h++){var d=e[h],v=d.pane,y=v.id,_=!1!==d.options.visible,m=Xr(t,v)||o,b=r;m!==o&&(b=this.axisCrossingValues(m,e)),this.alignAxisTo(d,m,n[h],b[h]),d.options._overlap||(vt(d.lineBox().x1)===vt(m.lineBox().x1)&&(s[y]&&d.reflow(d.box.alignTo(s[y].box,u).translate(-d.options.margin,0)),_&&(s[y]=d)),vt(d.lineBox().x2)===vt(m.lineBox().x2)&&(d._mirrored||(d.options.labels.mirror=!d.options.labels.mirror,d._mirrored=!0),this.alignAxisTo(d,m,n[h],b[h]),p[y]&&d.reflow(d.box.alignTo(p[y].box,g).translate(d.options.margin,0)),_&&(p[y]=d)),0!==h&&i.pane===d.pane&&(d.alignTo(i),d.reflow(d.box)))}for(var x=0;x<t.length;x++){var C=t[x],S=C.pane,w=S.id,A=!1!==C.options.visible,k=Xr(e,S)||i,I=n;k!==i&&(I=this.axisCrossingValues(k,t)),this.alignAxisTo(C,k,r[x],I[x]),C.options._overlap||(vt(C.lineBox().y1)===vt(k.lineBox().y1)&&(C._mirrored||(C.options.labels.mirror=!C.options.labels.mirror,C._mirrored=!0),this.alignAxisTo(C,k,r[x],I[x]),c[w]&&C.reflow(C.box.alignTo(c[w].box,f).translate(0,-C.options.margin)),A&&(c[w]=C)),vt(C.lineBox().y2,3)===vt(k.lineBox().y2,3)&&(l[w]&&C.reflow(C.box.alignTo(l[w].box,a).translate(0,C.options.margin)),A&&(l[w]=C)),0!==x&&(C.alignTo(o),C.reflow(C.box)))}},e.prototype.shrinkAxisWidth=function(t){for(var e=this.groupAxes(t).any,o=Wr(e),i=0,r=0;r<t.length;r++){var n=t[r];n.axes.length>0&&(i=Math.max(i,o.width()-n.contentBox.width()))}if(0!==i)for(var a=0;a<e.length;a++){var s=e[a];s.options.vertical||s.reflow(s.box.shrink(i,0))}},e.prototype.shrinkAxisHeight=function(t){for(var e,o=0;o<t.length;o++){var i=t[o],r=i.axes,n=Math.max(0,Wr(r).height()-i.contentBox.height());if(0!==n){for(var a=0;a<r.length;a++){var s=r[a];s.options.vertical&&s.reflow(s.box.shrink(0,n))}e=!0}}return e},e.prototype.fitAxes=function(t){for(var e=this.groupAxes(t).any,o=0,i=0;i<t.length;i++){var r=t[i],n=r.axes,a=r.contentBox;if(n.length>0){var s=Wr(n),p=Math.max(a.y1-s.y1,a.y2-s.y2);o=Math.max(o,a.x1-s.x1);for(var c=0;c<n.length;c++){var l=n[c];l.reflow(l.box.translate(0,p))}}}for(var u=0;u<e.length;u++){var h=e[u];h.reflow(h.box.translate(o,0))}},e.prototype.reflowAxes=function(t){for(var e=this.groupAxes(t),o=0;o<t.length;o++)this.reflowPaneAxes(t[o]);e.x.length>0&&e.y.length>0&&(this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t),this.autoRotateAxisLabels(e),this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t)&&this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t),this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t)&&this.alignAxes(e.x,e.y),this.fitAxes(t))},e.prototype.autoRotateAxisLabels=function(t){for(var e,o=this.panes,i=Yr(o),r=0;r<i.length;r++){i[r].autoRotateLabels()&&(e=!0)}if(e){for(var n=0;n<o.length;n++)this.reflowPaneAxes(o[n]);t.x.length>0&&t.y.length>0&&(this.alignAxes(t.x,t.y),this.shrinkAxisWidth(o))}},e.prototype.reflowPaneAxes=function(t){var e=t.axes,o=e.length;if(o>0)for(var i=0;i<o;i++)e[i].reflow(t.contentBox)},e.prototype.reflowCharts=function(t){for(var e=this.charts,o=e.length,i=this.box,r=0;r<o;r++){var n=e[r].pane;n&&!K(n,t)||e[r].reflow(i)}},e.prototype.reflowPanes=function(){for(var t=this.box,e=this.panes,o=e.length,i=t.height(),r=0,n=t.y1,a=0;a<o;a++){var s=e[a],p=s.options.height;if(s.options.width=t.width(),s.options.height){if(p.indexOf&&p.indexOf("%")){var c=parseInt(p,10)/100;s.options.height=c*t.height()}s.reflow(t.clone()),i-=s.options.height}else r++}for(var l=0;l<o;l++){var u=e[l];u.options.height||(u.options.height=i/r)}for(var h=0;h<o;h++){var d=e[h],g=t.clone().move(t.x1,n);d.reflow(g),n+=d.options.height}},e.prototype.backgroundBox=function(){for(var t,e=this.axes,o=e.length,i=0;i<o;i++)for(var r=e[i],n=0;n<o;n++){var a=e[n];if(r.options.vertical!==a.options.vertical){var s=r.lineBox().clone().wrap(a.lineBox());t=t?t.wrap(s):s}}return t||this.box},e.prototype.chartsBoxes=function(){for(var t=this.panes,e=[],o=0;o<t.length;o++)e.push(t[o].chartsBox());return e},e.prototype.addBackgroundPaths=function(t){for(var e=this.chartsBoxes(),o=0;o<e.length;o++)t.paths.push(w.drawing.Path.fromRect(e[o].toRect()))},e.prototype.backgroundContainsPoint=function(t){for(var e=this.chartsBoxes(),o=0;o<e.length;o++)if(e[o].containsPoint(t))return!0},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e,o=this.options.plotArea,i=o.opacity,r=o.background,n=o.border;void 0===n&&(n={}),""!==(e=r)&&null!==e&&"none"!==e&&"transparent"!==e&&at(e)||(r=y,i=0);var a=this._bgVisual=new w.drawing.MultiPath({fill:{color:r,opacity:i},stroke:{color:n.width?n.color:"",width:n.width,dashType:n.dashType},zIndex:-1});this.addBackgroundPaths(a),this.appendVisual(a)},e.prototype.pointsByCategoryIndex=function(t){var e=this.charts,o=[];if(null!==t)for(var i=0;i<e.length;i++){if("_navigator"!==e[i].pane.options.name){var r=e[i].categoryPoints[t];if(r&&r.length)for(var n=0;n<r.length;n++){var a=r[n];a&&at(a.value)&&null!==a.value&&o.push(a)}}}return o},e.prototype.pointsBySeriesIndex=function(t){return this.filterPoints((function(e){return e.series.index===t}))},e.prototype.pointsBySeriesName=function(t){return this.filterPoints((function(e){return e.series.name===t}))},e.prototype.filterPoints=function(t){for(var e=this.charts,o=[],i=0;i<e.length;i++)for(var r=e[i].points,n=0;n<r.length;n++){var a=r[n];a&&!1!==a.visible&&t(a)&&o.push(a)}return o},e.prototype.findPoint=function(t){for(var e=this.charts,o=0;o<e.length;o++)for(var i=e[o].points,r=0;r<i.length;r++){var n=i[r];if(n&&!1!==n.visible&&t(n))return n}},e.prototype.paneByPoint=function(t){for(var e=this.panes,o=0;o<e.length;o++){var i=e[o];if(i.box.containsPoint(t))return i}},e.prototype.detachLabels=function(){var t=this.groupAxes(this.panes),e=t.x,o=t.y;this.detachAxisGroupLabels(o,e),this.detachAxisGroupLabels(e,o)},e.prototype.detachAxisGroupLabels=function(t,e){for(var o=0,i=0;i<t.length;i++){var r=t[i],n=r.pane,a=Xr(e,n)||e[0],s=i+o,p=this.createLabelAxis(r,s,a);if(p){o++;var c=n.axes.indexOf(r)+o;n.appendAxisAt(p,c)}}},e.prototype.createLabelAxis=function(t,e,o){var i=t.options.labels,r=i.position,n="end"!==r&&"start"!==r,a=i.visible;if(n||!1===a)return null;var s=this.groupAxes(this.panes),p=o.options.vertical?s.x:s.y,c=this.axisCrossingValues(o,p),l="end"===r,u=o.range(),h=l?u.max:u.min;if(dt(c[e],u.min,u.max)-h==0)return null;c.splice(e+1,0,h),o.options.axisCrossingValues=c;var d=t.clone();return t.clear(),d.options.name=void 0,d.options.line.visible=!1,d.options.crosshair=void 0,d.options.notes=void 0,d.options.plotBands=void 0,d},e}(Xt);function Ur(t){return!t.pane.axes.some((function(e){return e.options.vertical===t.options.vertical&&e!==t&&!1!==e.options.visible}))}function Wr(t){for(var e,o=t.length,i=0;i<o;i++){var r=t[i],n=!1!==r.options.visible;if(n||Ur(r)){var a=n?r.contentBox():r.lineBox();e?e.wrap(a):e=a.clone()}}return e||new zt}function Xr(t,e){for(var o=0;o<t.length;o++){var i=t[o];if(i&&i.pane===e)return i}}var Yr=function(t){return t.reduce((function(t,e){return t.concat(e.axes)}),[])};xt(Hr,{series:[],plotArea:{margin:{}},background:"",border:{color:n,width:0},paneDefaults:{title:{}},legend:{inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}}});var qr=Hr,Zr={hover:function(t,e){this._dispatchEvent(t,e,"plotAreaHover")},click:function(t,e){this._dispatchEvent(t,e,"plotAreaClick")}};function Kr(t,e,o){var i=e,r=t;if(t.indexOf(".")>-1){for(var n=t.split(".");n.length>1;)r=n.shift(),at(i[r])||(i[r]={}),i=i[r];r=n.shift()}i[r]=o}var Qr=function(t){function e(e,o,i){t.call(this);var r=o.canonicalFields(e),n=o.valueFields(e),a=o.sourceFields(e,r),s=this._seriesFields=[],p=i.query(e.type),c=e.aggregate||p;this._series=e,this._binder=o;for(var l=0;l<r.length;l++){var u=r[l],h=void 0;if(D(c))h=c[u];else{if(0!==l&&!K(u,n))break;h=c}h&&s.push({canonicalName:u,name:a[l],transform:j(h)?h:Uo[h]})}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aggregatePoints=function(t,e){var o=this._series,i=this._seriesFields,r=this._bindPoints(t||[]),n=r.dataItems[0],a={};if(n&&!I(n)&&!b(n)){var s=function(){};s.prototype=n,a=new s}for(var p=0;p<i.length;p++){var c=i[p],l=this._bindField(r.values,c.canonicalName),u=c.transform(l,o,r.dataItems,e);if(!(null===u||!D(u)||at(u.length)||u instanceof Date)){a=u;break}at(u)&&Kr(c.name,a,u)}return a},e.prototype._bindPoints=function(t){for(var e=this._binder,o=this._series,i=[],r=[],n=0;n<t.length;n++){var a=t[n];i.push(e.bindPoint(o,a)),r.push(o.data[a])}return{values:i,dataItems:r}},e.prototype._bindField=function(t,e){for(var o=[],i=t.length,r=0;r<i;r++){var n=t[r],a=n.valueFields,s=void 0;s=at(a[e])?a[e]:n.fields[e],o.push(s)}return o},e}(w.Class),$r=function(t){function e(){t.call(this),this._defaults={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){for(var o=0;o<t.length;o++)this._defaults[t[o]]=e},e.prototype.query=function(t){return this._defaults[t]},e}(w.Class);$r.current=new $r;var Jr=$r,tn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createLabel=function(){var t=this.options.labels,e=M({},t,t.from),o=M({},t,t.to);e.visible&&(this.labelFrom=this._createLabel(e),this.append(this.labelFrom)),o.visible&&(this.labelTo=this._createLabel(o),this.append(this.labelTo))},e.prototype._createLabel=function(t){var e,o=G(t),i=this.pointData();return e=o?o(i):this.formatValue(t.format),new zi(e,M({vertical:this.options.vertical},t),i)},e.prototype.reflow=function(t){this.render();var e=this.labelFrom,o=this.labelTo,i=this.value;this.box=t,e&&(e.options.aboveAxis=i.from>i.to,e.reflow(t)),o&&(o.options.aboveAxis=i.to>i.from,o.reflow(t)),this.note&&this.note.reflow(t)},e}(Gi);tn.prototype.defaults=M({},tn.prototype.defaults,{labels:{format:"{0} - {1}"},tooltip:{format:"{1}"}});var en=tn,on=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return en},e.prototype.pointValue=function(t){return t.valueFields},e.prototype.formatPointValue=function(t,e){return null===t.value.from&&null===t.value.to?"":this.chartService.format.auto(e,t.value.from,t.value.to)},e.prototype.plotRange=function(t){return t?[t.value.from,t.value.to]:0},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=t.from,r=t.to,n=this.valueAxisRanges[o];null!==t&&I(i)&&I(r)&&((n=this.valueAxisRanges[o]=n||{min:h,max:d}).min=Math.min(n.min,i),n.max=Math.max(n.max,i),n.min=Math.min(n.min,r),n.max=Math.max(n.max,r))},e.prototype.aboveAxis=function(t){var e=t.value;return e.from<e.to},e}(Ki);on.prototype.plotLimits=di.prototype.plotLimits;var rn=on,nn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aliasFor=function(){return this.parent},e}(yi),an=function(t){function e(e,o){t.call(this),this.value=e,this.options=o,this.aboveAxis=_t(this.options.aboveAxis,!0),this.tooltipTracking=!0,this.initLabelsFormat()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){if(!this._rendered){this._rendered=!0;var t=this.options,e=t.markers,o=t.labels,i=this.value,r=this.fromPoint=new nn(i,M({},this.options,{labels:o.from,markers:e.from})),n=this.toPoint=new nn(i,M({},this.options,{labels:o.to,markers:e.to}));this.copyFields(r),this.copyFields(n),this.append(r),this.append(n)}},e.prototype.reflow=function(t){this.render();var e=t.from,o=t.to;this.positionLabels(e,o),this.fromPoint.reflow(e),this.toPoint.reflow(o),this.box=this.fromPoint.markerBox().clone().wrap(this.toPoint.markerBox())},e.prototype.createHighlight=function(){var t=new w.drawing.Group;return t.append(this.fromPoint.createHighlight()),t.append(this.toPoint.createHighlight()),t},e.prototype.highlightVisual=function(){return this.visual},e.prototype.highlightVisualArgs=function(){return{options:this.options,from:this.fromPoint.highlightVisualArgs(),to:this.toPoint.highlightVisualArgs()}},e.prototype.tooltipAnchor=function(){var t=this.owner.pane.clipBox();if(!t||t.overlaps(this.box)){var e,o,i,r=this.box,n=r.center();return this.options.vertical?(e=n.x,o=r.y1-5,i=a):(e=r.x2+5,o=n.y,i=s),{point:new Lt(e,o),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){this.fromPoint.unclipElements(),this.toPoint.unclipElements()},e.prototype.initLabelsFormat=function(){var t=this.options.labels;t.format||(t.from&&t.from.format||(t.from=Object.assign({},t.from,{format:"{0}"})),t.to&&t.to.format||(t.to=Object.assign({},t.to,{format:"{1}"})))},e.prototype.positionLabels=function(t,e){var o,i,r=this.options,n=r.labels,a=r.vertical;"auto"===n.position&&(a?e.y1<=t.y1?(i="above",o="below"):(i="below",o="above"):e.x1<=t.x1?(i=u,o=g):(i=g,o=u),n.from&&n.from.position||(this.fromPoint.options.labels.position=o),n.to&&n.to.position||(this.toPoint.options.labels.position=i))},e.prototype.copyFields=function(t){t.dataItem=this.dataItem,t.category=this.category,t.series=this.series,t.color=this.color,t.owner=this.owner},e}(Xt);M(an.prototype,gi),M(an.prototype,fi),an.prototype.defaults={markers:{visible:!1,background:y,size:8,type:p,border:{width:2},opacity:1},labels:{visible:!1,margin:V(3),padding:V(4),animation:{type:"fadeIn",delay:600},position:"auto"},notes:{label:{}},highlight:{markers:{border:{color:y,width:2}},zIndex:100},tooltip:{format:"{0} - {1}"}};var sn=an,pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.toGeometryPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.toGeometryPoints(this.fromPoints().reverse()))),t},e.prototype.createStroke=function(t){var e=new w.drawing.Path(t),o=new w.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),o.segments.push.apply(o.segments,this.stackSegments()),this.visual.append(e),this.visual.append(o)},e.prototype.hasStackSegment=function(){return!0},e.prototype.fromPoints=function(){return this.linePoints.map((function(t){return t.fromPoint}))},e.prototype.toPoints=function(){return this.linePoints.map((function(t){return t.toPoint}))},e}(Mi),cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.createCurveSegments(this.toPoints())},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.createCurveSegments(this.fromPoints().reverse())),t},e.prototype.createCurveSegments=function(t){return(new Ro).process(this.toGeometryPoints(t))},e}(pn),ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.calculateStepPoints(this.fromPoints()))).reverse(),t},e}(pn);M(ln.prototype,xi);var un=ln,hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.pointType=function(){return sn},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,r=e.series,n=e.seriesIx,a=t.valueFields;if(!sr(a.from)&&!sr(a.to)){if(this.seriesMissingValues(r)!==Jo)return null;a={from:0,to:0}}var s=this.pointOptions(r,n);s=this.evalPointOptions(s,a,i,o,r,n);var p=t.fields.color||r.color;j(r.color)&&(p=s.color);var c=new sn(a,s);return c.color=p,this.append(c),c},e.prototype.createSegment=function(t,e,o){var i=(e.line||{}).style;return new("smooth"===i?cn:"step"===i?un:pn)(t,e,o)},e.prototype.plotRange=function(t,e){return t?[t.value.from,t.value.to]:[e,e]},e.prototype.valueSlot=function(t,e){var o=t.getSlot(e[0],e[0],!this.options.clip),i=t.getSlot(e[1],e[1],!this.options.clip);if(o&&i)return{from:o,to:i}},e.prototype.pointSlot=function(t,e){var o,i,r=e.from,n=e.to;return this.options.invertAxes?(o=new zt(r.x1,t.y1,r.x2,t.y2),i=new zt(n.x1,t.y1,n.x2,t.y2)):(o=new zt(t.x1,r.y1,t.x2,r.y2),i=new zt(t.x1,n.y1,t.x2,n.y2)),{from:o,to:i}},e.prototype.addValue=function(e,o){var i=e.valueFields;I(i.from)||(i.from=i.to),I(i.to)||(i.to=i.from),t.prototype.addValue.call(this,e,o)},e.prototype.updateRange=function(t,e){if(null!==t&&I(t.from)&&I(t.to)){var o=e.series.axis,i=this.valueAxisRanges[o]=this.valueAxisRanges[o]||{min:h,max:d},r=t.from,n=t.to;i.min=Math.min(i.min,r,n),i.max=Math.max(i.max,r,n)}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.from,o.to)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++){var i=t[o];i&&(e.push((i.fromPoint||{}).marker),e.push((i.toPoint||{}).marker))}return e.concat(this._segments)},e}(di);M(hn.prototype,Ai,Pi);var dn=hn,gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=this.value,i=this.owner.seriesValueAxis(e),r=[],n=[],a=[],s=i.getSlot(o.low,o.high),p=i.getSlot(o.open,o.open),c=i.getSlot(o.close,o.close);p.x1=c.x1=s.x1=t.x1,p.x2=c.x2=s.x2=t.x2;var l=s.center().x;r.push([p.x1,p.y1]),r.push([l,p.y1]),n.push([l,c.y1]),n.push([c.x2,c.y1]),a.push([l,s.y1]),a.push([l,s.y2]),this.lines=[r,n,a],this.box=s.clone().wrap(p.clone().wrap(c)),this.reflowNote()},e.prototype.createBody=function(){},e}($i),fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return gn},e}(er),vn=function(t){function e(e,o,i){t.call(this),this.from=e,this.to=o,this.series=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.linePoints=function(){var t=this.from,e=this.from.box,o=this.to.box,i=[];if(t.isVertical){var r=t.aboveAxis?e.y1:e.y2;i.push([e.x1,r],[o.x2,r])}else{var n=t.aboveAxis?e.x2:e.x1;i.push([n,e.y1],[n,o.y2])}return i},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.series.line||{},o=w.drawing.Path.fromPoints(this.linePoints(),{stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType}});A(o),this.visual.append(o)},e}(Xt);xt(vn,{animation:{type:"fadeIn",delay:600}});var yn=vn,_n=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.createSegments()},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=ui(e),i=!this.options.invertAxes,r=0;r<e.length;r++)for(var n=e[r],a=0,s=0,p=0;p<o;p++){var c=Yo.current.bindPoint(n,p),l=c.valueFields.value,u=c.fields.summary,h=a,d=void 0;u?"total"===u.toLowerCase()?(c.valueFields.value=a,h=0,d=a):(c.valueFields.value=s,d=h-s,s=0):I(l)&&(s+=l,d=a+=l),t(c,{category:this.categoryAxis.categoryAt(p),categoryIx:p,series:n,seriesIx:r,total:a,runningTotal:s,from:h,to:d,isVertical:i})}},e.prototype.updateRange=function(e,o){t.prototype.updateRange.call(this,{value:o.to},o)},e.prototype.aboveAxis=function(t){return t.value>=0},e.prototype.plotRange=function(t){return[t.from,t.to]},e.prototype.createSegments=function(){for(var t=this.options.series,e=this.seriesPoints,o=this.segments=[],i=0;i<t.length;i++){var r=t[i],n=e[i];if(n)for(var a=void 0,s=0;s<n.length;s++){var p=n[s];if(p&&a){var c=new yn(a,p,r);o.push(c),this.append(c)}a=p}}},e}(Ki),mn=["area","verticalArea","rangeArea","verticalRangeArea"],bn=[oi,ri].concat(mn),xn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(t){if(this.namedCategoryAxes={},this.namedValueAxes={},this.valueAxisRangeTracker=new Li,t.length>0){this.invertAxes=K(t[0].type,[ti,"bullet",ri,"verticalArea","verticalRangeArea","rangeBar","horizontalWaterfall","verticalBoxPlot"]);for(var e=0;e<t.length;e++){var o=t[e].stack;if(o&&"100%"===o.type){this.stack100=!0;break}}}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.createCategoryAxes(t),this.aggregateCategories(t),this.createCategoryAxesLabels(t),this.createCharts(t),this.createValueAxes(t)},e.prototype.removeAxis=function(e){var o=e.options.name;t.prototype.removeAxis.call(this,e),e instanceof to?delete this.namedCategoryAxes[o]:(this.valueAxisRangeTracker.reset(o),delete this.namedValueAxes[o]),e===this.categoryAxis&&delete this.categoryAxis,e===this.valueAxis&&delete this.valueAxis},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),o=0;o<t.length;o++){var i=t[o],r=e[i.options.name||"default"]||[];this.addToLegend(r);var n=this.filterVisibleSeries(r);if(n)for(var a=this.groupSeriesByCategoryAxis(n),s=0;s<a.length;s++)this.createChartGroup(a[s],i)}},e.prototype.createChartGroup=function(t,e){this.createAreaChart(Br(t,["area","verticalArea"]),e),this.createRangeAreaChart(Br(t,["rangeArea","verticalRangeArea"]),e),this.createBarChart(Br(t,[ei,ti]),e),this.createRangeBarChart(Br(t,["rangeColumn","rangeBar"]),e),this.createBulletChart(Br(t,["bullet","verticalBullet"]),e),this.createCandlestickChart(Br(t,"candlestick"),e),this.createBoxPlotChart(Br(t,["boxPlot","verticalBoxPlot"]),e),this.createOHLCChart(Br(t,"ohlc"),e),this.createWaterfallChart(Br(t,["waterfall","horizontalWaterfall"]),e),this.createLineChart(Br(t,[oi,ri]),e)},e.prototype.aggregateCategories=function(t){var e=this.srcSeries||this.series,o=[];this._currentPointsCache={},this._seriesPointsCache=this._seriesPointsCache||{};for(var i=0;i<e.length;i++){var r=e[i],n=this.seriesCategoryAxis(r),a=this.findPane(n.options.pane);r=(Er(n.options.type,c)||r.categoryField)&&K(a,t)?this.aggregateSeries(r,n):this.filterSeries(r,n),o.push(r)}this._seriesPointsCache=this._currentPointsCache,this._currentPointsCache=null,this.srcSeries=e,this.series=o},e.prototype.filterSeries=function(t,e){var o=(t.data||{}).length;if(e._seriesMax=Math.max(e._seriesMax||0,o),!I(e.options.min)&&!I(e.options.max))return t;var i=e.currentRangeIndices(),r=K(t.type,bn),n=M({},t);return n.data=(n.data||[]).slice(i.min,i.max+1),r&&Gr(n,i,o,(function(o){return{item:t.data[o],category:e.categoryAt(o,!0),categoryIx:o-i.min}}),(function(e){return at(t.data[e])})),n},e.prototype.clearSeriesPointsCache=function(){this._seriesPointsCache={}},e.prototype.seriesSourcePoints=function(t,e){var o=t.index+";"+e.categoriesHash();if(this._seriesPointsCache[o])return this._currentPointsCache[o]=this._seriesPointsCache[o],this._seriesPointsCache[o];var i=e.options,r=i.srcCategories,n=Er(i.type,c),a=t.data,s=n?Rr:Wo,p=[];n||e.mapCategories();for(var l=0;l<a.length;l++){var u=void 0;if(u=t.categoryField?s(t.categoryField,a[l],this.chartService.intl):r[l],at(u)&&null!==u){var h=e.totalIndex(u);p[h]=p[h]||{items:[],category:u},p[h].items.push(l)}}return this._currentPointsCache[o]=p,p},e.prototype.aggregateSeries=function(t,e){if(!t.data.length)return t;for(var o=this.seriesSourcePoints(t,e),i=M({},t),r=new Qr(M({},t),Yo.current,Jr.current),n=i.data=[],a=e.options.dataItems||[],s=e.currentRangeIndices(),p=function(t){var i=t-s.min,n=o[t];if(n||(n=o[t]={}),n.categoryIx=i,!n.item){var a=e.categoryAt(t,!0);n.category=a,n.item=r.aggregatePoints(n.items,a)}return n},c=s.min;c<=s.max;c++){var l=p(c);n[l.categoryIx]=l.item,l.items&&l.items.length&&(a[l.categoryIx]=l.item)}return K(i.type,bn)&&Gr(i,s,e.totalCount(),p,(function(t){return o[t]})),e.options.dataItems=a,i},e.prototype.appendChart=function(e,o){var i=e.options.series,r=this.seriesCategoryAxis(i[0]),n=r.options.categories,a=Math.max(0,ui(i)-n.length);if(a>0)for(n=r.options.categories=r.options.categories.slice(0);a--;)n.push("");this.valueAxisRangeTracker.update(e.valueAxisRanges),t.prototype.appendChart.call(this,e,o)},e.prototype.seriesPaneName=function(t){var e=this.options,o=t.axis,i=X([].concat(e.valueAxis),(function(t){return t.name===o}))[0],r=((e.panes||[{}])[0]||{}).name||"default";return(i||{}).pane||r},e.prototype.seriesCategoryAxis=function(t){var e=t.categoryAxis,o=e?this.namedCategoryAxes[e]:this.categoryAxis;if(!o)throw new Error("Unable to locate category axis with name "+e);return o},e.prototype.stackableChartOptions=function(t,e){var o=t.stack;return{isStacked:o,isStacked100:o&&"100%"===o.type,clip:e.options.clip}},e.prototype.groupSeriesByCategoryAxis=function(t){for(var e=[],o={},i=0;i<t.length;i++){var r=t[i].categoryAxis||"$$default$$";o.hasOwnProperty(r)||(o[r]=!0,e.push(r))}for(var n=[],a=0;a<e.length;a++){var s=Sn(t,e[a],a);0!==s.length&&n.push(s)}return n},e.prototype.createBarChart=function(t,e){if(0!==t.length){var o=t[0],i=new Ki(this,Object.assign({series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing},this.stackableChartOptions(o,e)));this.appendChart(i,e)}},e.prototype.createRangeBarChart=function(t,e){if(0!==t.length){var o=t[0],i=new rn(this,{series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing});this.appendChart(i,e)}},e.prototype.createBulletChart=function(t,e){if(0!==t.length){var o=t[0],i=new mr(this,{series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var o=t[0],i=new Ti(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(o,e)));this.appendChart(i,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var o=t[0],i=new Ri(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(o,e)));this.appendChart(i,e)}},e.prototype.createRangeAreaChart=function(t,e){if(0!==t.length){var o=new dn(this,{invertAxes:this.invertAxes,series:t,clip:e.options.clip});this.appendChart(o,e)}},e.prototype.createOHLCChart=function(t,e){if(0!==t.length){var o=t[0],i=new fn(this,{invertAxes:this.invertAxes,gap:o.gap,series:t,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createCandlestickChart=function(t,e){if(0!==t.length){var o=t[0],i=new er(this,{invertAxes:this.invertAxes,gap:o.gap,series:t,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createBoxPlotChart=function(t,e){if(0!==t.length){var o=t[0],i=new nr(this,{invertAxes:this.invertAxes,gap:o.gap,series:t,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createWaterfallChart=function(t,e){if(0!==t.length){var o=t[0],i=new _n(this,{series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing});this.appendChart(i,e)}},e.prototype.axisRequiresRounding=function(t,e){for(var o=Br(this.series,ni),i=0;i<this.series.length;i++){var r=this.series[i];if(K(r.type,mn)){var n=r.line;n&&"step"===n.style&&o.push(r)}}for(var a=0;a<o.length;a++){var s=o[a].categoryAxis||"";if(s===t||!s&&0===e)return!0}},e.prototype.aggregatedAxis=function(t,e){for(var o=this.series,i=0;i<o.length;i++){var r=o[i].categoryAxis||"";if((r===t||!r&&0===e)&&o[i].categoryField)return!0}},e.prototype.createCategoryAxesLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e]instanceof to&&t[e].createLabels()},e.prototype.createCategoryAxes=function(t){for(var e=this.invertAxes,o=[].concat(this.options.categoryAxis),i=[],r=0;r<o.length;r++){var n=o[r];if(K(this.findPane(n.pane),t)){var a=n.name,s=n.categories;void 0===s&&(s=[]),n=M({vertical:e,reverse:!e&&this.chartService.rtl,axisCrossingValue:e?h:0},n),at(n.justified)||(n.justified=this.isJustified()),this.axisRequiresRounding(a,r)&&(n.justified=!1);var p=void 0;if(p=Lr(n,s[0])?new co(n,this.chartService):new to(n,this.chartService),o[r].categories=p.options.srcCategories,a){if(this.namedCategoryAxes[a])throw new Error("Category axis with name "+a+" is already defined");this.namedCategoryAxes[a]=p}p.axisIndex=r,i.push(p),this.appendAxis(p)}}var c=this.categoryAxis||i[0];this.categoryAxis=c,e?this.axisY=c:this.axisX=c},e.prototype.isJustified=function(){for(var t=this.series,e=0;e<t.length;e++){if(!K(t[e].type,mn))return!1}return!0},e.prototype.createValueAxes=function(t){var e=this.valueAxisRangeTracker,o=e.query(),i=[].concat(this.options.valueAxis),r=this.invertAxes,n={vertical:!r,reverse:r&&this.chartService.rtl},a=[];this.stack100&&(n.roundToMajorUnit=!1,n.labels={format:"P0"});for(var s=0;s<i.length;s++){var p=i[s];if(K(this.findPane(p.pane),t)){var c=p.name,l=Er(p.type,"log")?{min:.1,max:1}:{min:0,max:1},u=e.query(c)||o||l;0===s&&u&&o&&(u.min=Math.min(u.min,o.min),u.max=Math.max(u.max,o.max));var h=new(Er(p.type,"log")?So:yo)(u.min,u.max,M({},n,p),this.chartService);if(c){if(this.namedValueAxes[c])throw new Error("Value axis with name "+c+" is already defined");this.namedValueAxes[c]=h}h.axisIndex=s,a.push(h),this.appendAxis(h)}}var d=this.valueAxis||a[0];this.valueAxis=d,r?this.axisX=d:this.axisY=d},e.prototype._dispatchEvent=function(t,e,o){var i=t._eventCoordinates(e),r=new Lt(i.x,i.y),n=this.pointPane(r),a=[],s=[];if(n){for(var p=n.axes,c=0;c<p.length;c++){var l=p[c];l.getValue?Tr(s,l.getValue(r)):Tr(a,l.getCategory(r))}0===a.length&&Tr(a,this.categoryAxis.getCategory(r)),a.length>0&&s.length>0&&t.trigger(o,{element:lt(e),originalEvent:e,category:Vr(a),value:Vr(s)})}},e.prototype.pointPane=function(t){for(var e=this.panes,o=0;o<e.length;o++){var i=e[o];if(i.contentBox.containsPoint(t))return i}},e.prototype.updateAxisOptions=function(t,e){Cn(this.options,t,e),Cn(this.originalOptions,t,e)},e}(qr);function Cn(t,e,o){M([].concat(e instanceof to?t.categoryAxis:t.valueAxis)[e.axisIndex],o)}function Sn(t,e,o){return X(t,(function(t){return 0===o&&!t.categoryAxis||t.categoryAxis===e}))}xt(xn,{categoryAxis:{},valueAxis:{}}),M(xn.prototype,Zr);var wn=xn;function An(){this._defaultPrevented=!0}var kn=function(t){function e(){t.call(this),this._points=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._points=[]},e.prototype.show=function(t,e){var o=[].concat(t);this.hide();for(var i=0;i<o.length;i++){var r=o[i];r&&r.toggleHighlight&&r.hasHighlight()&&(this.togglePointHighlight(r,!0,e),this._points.push(r))}},e.prototype.togglePointHighlight=function(t,e,o){var i=(t.options.highlight||{}).toggle;if(i){var r={category:t.category,series:t.series,dataItem:t.dataItem,value:t.value,stackValue:t.stackValue,preventDefault:An,visual:t.highlightVisual(),show:e};i(r),r._defaultPrevented||t.toggleHighlight(e,o)}else t.toggleHighlight(e,o)},e.prototype.hide=function(){for(var t=this._points;t.length;)this.togglePointHighlight(t.pop(),!1)},e.prototype.isHighlighted=function(t){for(var e=this._points,o=0;o<e.length;o++){if(t===e[o])return!0}return!1},e}(w.Class);function In(t,e){var o=(e||"").toLowerCase(),i=t.event;return"none"===o&&!(i.ctrlKey||i.shiftKey||i.altKey)||i[o+"Key"]}function On(t){for(var e={},o=0;o<t.length;o++){var i=t[o];i.axis.options.name&&(e[i.axis.options.name]={min:i.range.min,max:i.range.max})}return e}var Pn=function(t){function e(e,o){t.call(this),this.plotArea=e,this.options=M({},this.options,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.start=function(t){return this._active=In(t,this.options.key),this._active},e.prototype.move=function(t){if(this._active){var e=this.axisRanges=this._panAxes(t,_).concat(this._panAxes(t,m));if(e.length)return this.axisRanges=e,On(e)}},e.prototype.end=function(){var t=this._active;return this._active=!1,t},e.prototype.pan=function(){var t=this.plotArea,e=this.axisRanges;if(e.length){for(var o=0;o<e.length;o++){var i=e[o];t.updateAxisOptions(i.axis,i.range)}t.redraw(t.panes)}},e.prototype.destroy=function(){delete this.plotArea},e.prototype._panAxes=function(t,e){var o=this.plotArea,i=-t[e].delta,r=(this.options.lock||"").toLowerCase(),n=[];if(0!==i&&(r||"").toLowerCase()!==e)for(var a=o.axes,s=0;s<a.length;s++){var p=a[s];if(e===_&&!p.options.vertical||e===m&&p.options.vertical){var c=p.pan(i);c&&(c.limitRange=!0,n.push({axis:p,range:c}))}}return n},e}(w.Class);Pn.prototype.options={key:"none",lock:"none"};var jn=Pn,Tn=function(t){function e(e,o){t.call(this),this.chart=e,this.options=M({},this.options,o),this.createElement()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElement=function(){var t=this._marquee=document.createElement("div");t.className="k-marquee";var e=document.createElement("div");e.className="k-marquee-color",t.appendChild(e)},e.prototype.removeElement=function(){this._marquee.parentNode&&this._marquee.parentNode.removeChild(this._marquee)},e.prototype.setStyles=function(t){L(this._marquee,t)},e.prototype.start=function(t){if(In(t,this.options.key)){var e=this.chart,o=e._eventCoordinates(t),i=this._zoomPane=e._plotArea.paneByPoint(o),r=i?i.chartsBox().clone():null;if(i&&r){var n=this._elementOffset();return r.translate(n.left,n.top),this._zoomPaneClipBox=r,document.body.appendChild(this._marquee),this.setStyles({left:t.pageX+1,top:t.pageY+1,width:0,height:0}),!0}}return!1},e.prototype._elementOffset=function(){var t=this.chart.element,e=L(t,["paddingLeft","paddingTop"]),o=e.paddingLeft,i=e.paddingTop,r=pt(t);return{left:o+r.left,top:i+r.top}},e.prototype.move=function(t){this._zoomPane&&this.setStyles(this._selectionPosition(t))},e.prototype.end=function(t){if(this._zoomPane){var e=this._elementOffset(),o=this._selectionPosition(t);o.left-=e.left,o.top-=e.top;var i={x:o.left,y:o.top},r={x:o.left+o.width,y:o.top+o.height};return this._updateAxisRanges(i,r),this.removeElement(),delete this._zoomPane,On(this.axisRanges)}},e.prototype.zoom=function(){var t=this.axisRanges;if(t&&t.length){for(var e=this.chart._plotArea,o=0;o<t.length;o++){var i=t[o];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){this.removeElement(),delete this._marquee,delete this.chart},e.prototype._updateAxisRanges=function(t,e){for(var o=(this.options.lock||"").toLowerCase(),i=[],r=this._zoomPane.axes,n=0;n<r.length;n++){var a=r[n],s=a.options.vertical;if((o!==_||s)&&(o!==m||!s)&&at(a.axisIndex)){var p=a.pointsRange(t,e);p&&i.push({axis:a,range:p})}}this.axisRanges=i},e.prototype._selectionPosition=function(t){var e=this._zoomPaneClipBox,o={x:t.x.startLocation,y:t.y.startLocation},i=t.x.location,r=t.y.location,n=(this.options.lock||"").toLowerCase(),a=Math.min(o.x,i),s=Math.min(o.y,r),p=Math.abs(o.x-i),c=Math.abs(o.y-r);return n===_&&(a=e.x1,p=e.width()),n===m&&(s=e.y1,c=e.height()),i>e.x2&&(p=e.x2-o.x),i<e.x1&&(p=o.x-e.x1),r>e.y2&&(c=e.y2-o.y),r<e.y1&&(c=o.y-e.y1),{left:Math.max(a,e.x1),top:Math.max(s,e.y1),width:p,height:c}},e}(w.Class);Tn.prototype.options={key:"shift",lock:"none"};var Mn=Tn,Dn=function(t){function e(e,o){t.call(this),this.chart=e,this.options=M({rate:.3},this.options,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.updateRanges=function(t,e){for(var o=(this.options.lock||"").toLowerCase(),i=[],r=this.chart._plotArea.axes,n=0;n<r.length;n++){var a=r[n],s=a.options.vertical;if((o!==_||s)&&(o!==m||!s)&&a.zoomRange){var p=dt(this.options.rate,.01,.9),c=a.zoomRange(-t*p,e);c&&i.push({axis:a,range:c})}}return this.axisRanges=i,On(i)},e.prototype.zoom=function(){var t=this.axisRanges,e=this.chart._plotArea;if(t&&t.length&&e.updateAxisOptions){for(var o=0;o<t.length;o++){var i=t[o];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){delete this.chart},e}(w.Class),En=function(t){function e(e,o){t.call(this,e),this.chartService=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.children,e=this.options,o=e.vertical;this.visual=new w.drawing.Layout(null,{spacing:o?0:e.spacing,lineSpacing:o?e.spacing:0,orientation:o?"vertical":"horizontal",reverse:e.rtl,alignItems:o?"start":"center"});for(var i=0;i<t.length;i++){var r=t[i];r.reflow(new zt),r.renderVisual()}},e.prototype.reflow=function(t){this.visual.rect(t.toRect()),this.visual.reflow();var e=this.visual.clippedBBox();this.box=e?ae(e):new zt},e.prototype.renderVisual=function(){this.addVisual()},e.prototype.createVisual=function(){},e}(Xt),Bn=function(t){function e(e){t.call(this,e),this.createContainer(),e.rtl?(this.createLabel(),this.createMarker()):(this.createMarker(),this.createLabel())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainer=function(){this.container=new oe({vertical:!1,wrap:!1,align:s,spacing:this.options.spacing}),this.append(this.container)},e.prototype.createMarker=function(){this.container.append(new Kt(this.markerOptions()))},e.prototype.markerOptions=function(){var t=this.options,e=t.markerColor;return M({},t.markers,{background:e,border:{color:e}})},e.prototype.createLabel=function(){var t=this.options,e=M({},t.labels);this.container.append(new pe(t.text,e))},e.prototype.renderComplete=function(){t.prototype.renderComplete.call(this);var e=this.options.cursor||{},o=this._itemOverlay=w.drawing.Path.fromRect(this.container.box.toRect(),{fill:{color:y,opacity:0},stroke:null,cursor:e.style||e});this.appendVisual(o)},e.prototype.click=function(t,e){var o=this.eventArgs(e);!t.trigger("legendItemClick",o)&&e&&"contextmenu"===e.type&&e.preventDefault()},e.prototype.over=function(t,e){var o=this.eventArgs(e);return t.trigger("legendItemHover",o)||t._legendItemHover(o.seriesIndex,o.pointIndex),!0},e.prototype.out=function(t,e){t._unsetActivePoint(),t.trigger("legendItemLeave",this.eventArgs(e))},e.prototype.eventArgs=function(t){var e=this.options;return{element:lt(t),text:e.text,series:e.series,seriesIndex:e.series.index,pointIndex:e.pointIndex}},e.prototype.renderVisual=function(){var e=this,o=this.options,i=o.visual;i?(this.visual=i({active:o.active,series:o.series,sender:this.getSender(),pointIndex:o.pointIndex,options:{markers:this.markerOptions(),labels:o.labels},createVisual:function(){e.createVisual(),e.renderChildren(),e.renderComplete();var t=e.visual;return delete e.visual,t}}),this.addVisual()):t.prototype.renderVisual.call(this)},e}(qt),Rn=function(t){function e(e,o){void 0===o&&(o={}),t.call(this,e),this.chartService=o,K(this.options.position,[f,g,a,u,"custom"])||(this.options.position=g),this.createContainers(),this.createLegendTitle(e.title),this.createItems()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainers=function(){var t=this.options,e=t.position,o=t.align,i=e,r=s;"custom"===e?i=u:K(e,[f,a])?(i="start"===o?u:"end"===o?g:s,r=e):o&&("start"===o?r=f:"end"===o&&(r=a)),this.container=new qt({margin:t.margin,padding:t.padding,background:t.background,border:t.border,vAlign:r,align:i,zIndex:t.zIndex,shrinkToFit:!0}),this.hasTitle()?this.itemsContainer=new qt({vAlign:r,align:i,zIndex:t.zIndex,shrinkToFit:!0}):this.itemsContainer=this.container,this.append(this.container)},e.prototype.createItems=function(){var t=this.getService(),e=this.options,o=this.isVertical(),i=new En({vertical:o,spacing:e.spacing,rtl:t.rtl},t),r=e.items;e.reverse&&(r=r.slice(0).reverse());for(var n=r.length,a=0;a<n;a++){var s=r[a];i.append(new Bn(M({},{markers:e.markers,labels:e.labels,rtl:t.rtl},e.item,s)))}i.render(),this.itemsContainer.append(i)},e.prototype.isVertical=function(){var t=this.options,e=t.orientation,o=t.position;return"custom"===o&&"horizontal"!==e||(at(e)?"horizontal"!==e:K(o,[u,g]))},e.prototype.hasItems=function(){return this.container.children[0].children.length>0},e.prototype.reflow=function(t){var e=this.options,o=t.clone();this.hasItems()?("custom"===e.position?(this.containerCustomReflow(o),this.box=o):this.containerReflow(o),this.hasTitle()&&this.title.reflow(new zt(this.container.box.x1,this.title.box.y1,this.container.box.x2,this.title.box.y2))):this.box=o},e.prototype.containerReflow=function(t){var e=this.options,o=this.container,i=e.position,r=e.width,n=e.height,s=i===f||i===a?_:m,p=this.isVertical(),c=t.clone(),l=t.clone();i!==u&&i!==g||(l.y1=c.y1=0),p&&n?(l.y2=l.y1+n,l.align(c,m,o.options.vAlign)):!p&&r&&(l.x2=l.x1+r,l.align(c,_,o.options.align)),o.reflow(l);var h=(l=o.box).clone();(e.offsetX||e.offsetY)&&(l.translate(e.offsetX,e.offsetY),o.reflow(l)),h[s+1]=t[s+1],h[s+2]=t[s+2],this.box=h},e.prototype.containerCustomReflow=function(t){var e=this.options,o=this.container,i=e.offsetX,r=e.offsetY,n=e.width,a=e.height,s=this.isVertical(),p=t.clone();s&&a?p.y2=p.y1+a:!s&&n&&(p.x2=p.x1+n),o.reflow(p),p=o.box,o.reflow(new zt(i,r,i+p.width(),r+p.height()))},e.prototype.renderVisual=function(){this.hasItems()&&t.prototype.renderVisual.call(this)},e.prototype.createLegendTitle=function(t){var e=M({},{color:n,position:f,align:s},t),o=e.text;if(t&&!1!==t.visible){if(at(e)&&e.visible){var i=G(e);i?o=i({text:o}):e.format&&(o=this.chartService.format.auto(e.format,o))}this.title=new pe(o,e),this.createTitleLayout(),this.appendTitleLayoutContent()}},e.prototype.createTitleLayout=function(){this.layout=new oe({vertical:!0,wrap:!1}),this.container.append(this.layout)},e.prototype.hasTitle=function(){return Boolean(this.options.title&&!1!==this.options.title.visible)},e.prototype.appendTitleLayoutContent=function(){this.options.title.position===a?(this.layout.append(this.itemsContainer),this.layout.append(this.title)):(this.layout.append(this.title),this.layout.append(this.itemsContainer))},e}(Xt);xt(Rn,{position:g,items:[],offsetX:0,offsetY:0,margin:V(5),padding:V(5),border:{color:n,width:0},item:{cursor:"pointer",spacing:6},spacing:6,background:"",zIndex:1,markers:{border:{width:0},width:15,height:3,type:"rect",align:u,vAlign:s}});var Ln=Rn,Vn=function(t){function e(){t.call(this),this._registry=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){this._registry.push({type:t,seriesTypes:e})},e.prototype.create=function(t,e,o){for(var i,r=this._registry,n=r[0],a=0;a<r.length;a++){var s=r[a];if((i=Br(t,s.seriesTypes)).length>0){n=s;break}}return new n.type(i,e,o)},e}(w.Class);Vn.current=new Vn;var zn=Vn;function Nn(t){var e=document.createElement("div");return t&&(e.className=t),e}function Fn(t){for(var e=t;e&&!Y(e,"k-handle");)e=e.parentNode;return e}var Gn=function(t){function e(e,o,i,r){t.call(this);var n=e.element;this.options=M({},this.options,i),this.chart=e,this.observer=r,this.chartElement=n,this.categoryAxis=o,this._dateAxis=this.categoryAxis instanceof co,this.initOptions(),this.visible=this.options.visible&&n.offsetHeight,this.visible&&(this.createElements(),this.set(this._index(this.options.from),this._index(this.options.to)),this.bindEvents())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onPane=function(t){return this.categoryAxis.pane===t},e.prototype.createElements=function(){var t=this.options,e=this.wrapper=Nn("k-selector");L(e,{top:t.offset.top,left:t.offset.left,width:t.width,height:t.height,direction:"ltr"});var o=this.selection=Nn("k-selection");this.leftMask=Nn("k-mask"),this.rightMask=Nn("k-mask"),e.appendChild(this.leftMask),e.appendChild(this.rightMask),e.appendChild(o),o.appendChild(Nn("k-selection-bg"));var i=this.leftHandle=Nn("k-handle k-left-handle"),r=this.rightHandle=Nn("k-handle k-right-handle");i.appendChild(Nn()),r.appendChild(Nn()),o.appendChild(i),o.appendChild(r),this.chartElement.appendChild(e);var n=L(o,["borderLeftWidth","borderRightWidth","height"]),a=L(i,"height").height,s=L(r,"height").height;t.selection={border:{left:n.borderLeftWidth,right:n.borderRightWidth}},L(i,{top:(n.height-a)/2}),L(r,{top:(n.height-s)/2}),e.style.cssText=e.style.cssText},e.prototype.bindEvents=function(){var t;!1!==this.options.mousewheel&&(this._mousewheelHandler=this._mousewheel.bind(this),nt(this.wrapper,((t={})[ai]=this._mousewheelHandler,t))),this._domEvents=Oe.create(this.wrapper,{stopPropagation:!0,start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),press:this._press.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)})},e.prototype.initOptions=function(){var t=this.options,e=this.categoryAxis.pane.chartsBox(),o=this.chart.chartService.intl;this._dateAxis&&M(t,{min:Ke(o,t.min),max:Ke(o,t.max),from:Ke(o,t.from),to:Ke(o,t.to)});var i=L(this.chartElement,["paddingLeft","paddingTop"]),r=i.paddingLeft,n=i.paddingTop;this.options=M({},{width:e.width(),height:e.height()+.1,padding:{left:r,top:n},offset:{left:e.x1+r,top:e.y1+n},from:t.min,to:t.max},t)},e.prototype.destroy=function(){var t;this._domEvents&&(this._domEvents.destroy(),delete this._domEvents),clearTimeout(this._mwTimeout),this._state=null,this.wrapper&&(this._mousewheelHandler&&(yt(this.wrapper,((t={})[ai]=this._mousewheelHandler,t)),this._mousewheelHandler=null),this.chartElement.removeChild(this.wrapper),this.wrapper=null)},e.prototype._rangeEventArgs=function(t){return{axis:this.categoryAxis.options,from:this._value(t.from),to:this._value(t.to)}},e.prototype._start=function(t){var e=this.options,o=lt(t);if(!this._state&&o){this.chart._unsetActivePoint(),this._state={moveTarget:Fn(o)||o,startLocation:t.x?t.x.location:0,range:{from:this._index(e.from),to:this._index(e.to)}};var i=this._rangeEventArgs({from:this._index(e.from),to:this._index(e.to)});this.trigger("selectStart",i)&&(this._state=null)}},e.prototype._press=function(t){var e;(e=this._state?this._state.moveTarget:Fn(lt(t)))&&x(e,"k-handle-active")},e.prototype._move=function(t){if(this._state){var e=this._state,o=this.options,i=this.categoryAxis,r=e.range,n=e.moveTarget,a=i.options.reverse,s=this._index(o.from),p=this._index(o.to),c=this._index(o.min),l=this._index(o.max),u=e.startLocation-t.x.location,h=r.from,d=r.to,g=r.to-r.from,f=L(this.wrapper,"width").width/(i.categoriesCount()-1),v=Math.round(u/f)*(a?-1:1);if(n){var y=Y(n,"k-left-handle"),_=Y(n,"k-right-handle");Y(n,"k-selection k-selection-bg")?(r.from=Math.min(Math.max(c,s-v),l-g),r.to=Math.min(r.from+g,l)):y&&!a||_&&a?(r.from=Math.min(Math.max(c,s-v),l-1),r.to=Math.max(r.from+1,r.to)):(y&&a||_&&!a)&&(r.to=Math.min(Math.max(c+1,p-v),l),r.from=Math.min(r.to-1,r.from)),r.from===h&&r.to===d||(this.move(r.from,r.to),this.trigger("select",this._rangeEventArgs(r)))}}},e.prototype._end=function(){if(this._state){var t=this._state.moveTarget;t&&S(t,"k-handle-active");var e=this._state.range;this.set(e.from,e.to),this.trigger("selectEnd",this._rangeEventArgs(e)),delete this._state}},e.prototype._tap=function(t){var e=this.options,o=this.categoryAxis,i=this.chart._eventCoordinates(t),r=o.pointCategoryIndex(new Lt(i.x,o.box.y1)),n=this._index(e.from),a=this._index(e.to),s=this._index(e.min),p=this._index(e.max),c=a-n,l=n+c/2,u={},h=3===t.event.which,d=Math.round(l-r);this._state||h||(this.chart._unsetActivePoint(),o.options.justified||d--,u.from=Math.min(Math.max(s,n-d),p-c),u.to=Math.min(u.from+c,p),this._start(t),this._state&&(this._state.range=u,this.trigger("select",this._rangeEventArgs(u)),this._end()))},e.prototype._mousewheel=function(t){var e=this,o=ot(t);if(this._start({target:this.selection}),this._state){var i=this._state.range;t.preventDefault(),t.stopPropagation(),Math.abs(o)>1&&(o*=3),this.options.mousewheel.reverse&&(o*=-1),this.expand(o)&&this.trigger("select",{axis:this.categoryAxis.options,delta:o,originalEvent:t,from:this._value(i.from),to:this._value(i.to)}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._end()}),150)}},e.prototype._gesturestart=function(t){var e=this.options;this._state={range:{from:this._index(e.from),to:this._index(e.to)}};var o=this._rangeEventArgs(this._state.range);this.trigger("selectStart",o)?this._state=null:t.preventDefault()},e.prototype._gestureend=function(){this._state&&(this.trigger("selectEnd",this._rangeEventArgs(this._state.range)),delete this._state)},e.prototype._gesturechange=function(t){var e=this.chart,o=this._state,i=this.options,r=this.categoryAxis,n=o.range,a=e._toModelCoordinates(t.touches[0].x.location).x,s=e._toModelCoordinates(t.touches[1].x.location).x,p=Math.min(a,s),c=Math.max(a,s);t.preventDefault(),n.from=r.pointCategoryIndex(new Lt(p))||i.min,n.to=r.pointCategoryIndex(new Lt(c))||i.max,this.move(n.from,n.to),this.trigger("select",this._rangeEventArgs(n))},e.prototype._index=function(t){var e=t;return t instanceof Date&&(e=this.categoryAxis.categoryIndex(t)),e},e.prototype._value=function(t){var e=t;return this._dateAxis&&(e=this.categoryAxis.categoryAt(t))>this.options.max&&(e=this.options.max),e},e.prototype._slot=function(t){var e=this.categoryAxis,o=this._index(t);return e.getSlot(o,o,!0)},e.prototype.move=function(t,e){var o=this.options,i=this.categoryAxis.options.reverse,r=o.offset,n=o.padding,a=o.selection.border,s=i?e:t,p=i?t:e,c="x"+(i?2:1),l=this._slot(s),u=vt(l[c]-r.left+n.left);L(this.leftMask,{width:u}),L(this.selection,{left:u}),l=this._slot(p);var h=vt(o.width-(l[c]-r.left+n.left));L(this.rightMask,{width:h});var d=o.width-h;d!==o.width&&(d+=a.right),L(this.rightMask,{left:d}),L(this.selection,{width:Math.max(o.width-(u+h)-a.right,0)})},e.prototype.set=function(t,e){var o=this.options,i=this._index(o.min),r=this._index(o.max),n=dt(this._index(t),i,r),a=dt(this._index(e),n+1,r);o.visible&&this.move(n,a),o.from=this._value(n),o.to=this._value(a)},e.prototype.expand=function(t){var e=this.options,o=this._index(e.min),i=this._index(e.max),r=e.mousewheel.zoom,n=this._index(e.from),a=this._index(e.to),s={from:n,to:a},p=M({},s);if(this._state&&(s=this._state.range),r!==g&&(s.from=dt(dt(n-t,0,a-1),o,i)),r!==u&&(s.to=dt(dt(a+t,s.from+1,i),o,i)),s.from!==p.from||s.to!==p.to)return this.set(s.from,s.to),!0},e.prototype.zoom=function(t,e){var o=this.options,i=this._index(o.min),r=this._index(o.max),n=this._index(o.from),a=this._index(o.to),s={from:n,to:a},p=M({},s),c=this.categoryAxis.options.reverse,l=_+(c?"2":"1"),u=this.categoryAxis.lineBox(),h=Math.abs(u[l]-e.x),d=u.width(),g=vt(h/d,2),f=vt(g*t),v=vt((1-g)*t);if(this._state&&(s=this._state.range),s.from=dt(dt(n-f,0,a-1),i,r),s.to=dt(dt(a+v,s.from+1,r),i,r),s.from!==p.from||s.to!==p.to)return this.set(s.from,s.to),!0},e.prototype.trigger=function(t,e){return(this.observer||this.chart).trigger(t,e)},e}(w.Class);xt(Gn,{visible:!0,mousewheel:{zoom:"both"},min:d,max:h});var Hn=Gn,Un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.show=function(e){if(e&&e.tooltipAnchor&&(!this._current||this._current!==e)){var o=M({},this.options,e.options.tooltip),i=e.tooltipAnchor();i?(this._current=e,t.prototype.show.call(this,{point:e,anchor:i},o,e)):this.hide()}},e.prototype.hide=function(){delete this._current,t.prototype.hide.call(this)},e}(xr),Wn=function(t){function e(e,o){t.call(this,e.chartService,o),this.plotArea=e,this.formatService=e.chartService.format}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t,e){var o=X(t,(function(t){var e=t.series.tooltip;return!(e&&!1===e.visible)}));if(o.length>0){var i=o[0],r=this.plotArea.categoryAxis.getSlot(i.categoryIx),n=e?this._slotAnchor(e,r):this._defaultAnchor(i,r);this.show({anchor:n,shared:!0,points:t,category:i.category,categoryText:this.formatService.auto(this.options.categoryFormat,i.category),series:this.plotArea.series},this.options)}},e.prototype._slotAnchor=function(t,e){return this.plotArea.categoryAxis.options.vertical||(t.x=e.center().x),{point:t,align:{horizontal:"left",vertical:"center"}}},e.prototype._defaultAnchor=function(t,e){var o=t.owner.pane.chartsBox(),i=this.plotArea.categoryAxis.options.vertical,r=o.center(),n=e.center();return{point:i?new Lt(r.x,n.y):new Lt(n.x,r.y),align:{horizontal:"center",vertical:"center"}}},e}(xr);xt(Wn,{categoryFormat:"{0:d}"});var Xn=Wn,Yn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.element,e=this.options;if(t.bbox()){this.origin=e.origin;var o=e.vertical?m:_,i=this.fromScale=new w.geometry.Point(1,1);i[o]=$o,t.transform(w.geometry.transform().scale(i.x,i.y))}else this.abort()},e.prototype.step=function(t){var e=Q(this.fromScale.x,1,t),o=Q(this.fromScale.y,1,t);this.element.transform(w.geometry.transform().scale(e,o,this.origin))},e.prototype.abort=function(){t.prototype.abort.call(this),this.element.transform(null)},e}(w.drawing.Animation);xt(Yn,{duration:600}),w.drawing.AnimationFactory.current.register(ti,Yn);var qn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.center=this.element.bbox().center();this.element.transform(w.geometry.transform().scale($o,$o,t))},e.prototype.step=function(t){this.element.transform(w.geometry.transform().scale(t,t,this.center))},e}(w.drawing.Animation);xt(qn,{easing:"easeOutElastic"}),w.drawing.AnimationFactory.current.register("bubble",qn);var Zn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.fadeTo=this.element.opacity(),this.element.opacity(0)},e.prototype.step=function(t){this.element.opacity(t*this.fadeTo)},e}(w.drawing.Animation);xt(Zn,{duration:200,easing:"linear"}),w.drawing.AnimationFactory.current.register("fadeIn",Zn);var Kn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.element.transform(w.geometry.transform().scale($o,$o,this.options.center))},e.prototype.step=function(t){this.element.transform(w.geometry.transform().scale(t,t,this.options.center))},e}(w.drawing.Animation);xt(Kn,{easing:"easeOutElastic",duration:600}),w.drawing.AnimationFactory.current.register(ii,Kn);var Qn=Kn,$n=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.createSegment=function(t,e,o){return new("smooth"===e.style?wi:mi)(t,e,o)},e.prototype.animationPoints=function(){return t.prototype.animationPoints.call(this).concat(this._segments)},e.prototype.createMissingValue=function(t,e){if(e===Jo){var o={x:t.x,y:t.y};return sr(o.x)||(o.x=0),sr(o.y)||(o.y=0),o}},e}(cr);M($n.prototype,Ai);var Jn=$n,ta=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={},this.xAxisRangeTracker=new Li,this.yAxisRangeTracker=new Li},e.prototype.render=function(t){void 0===t&&(t=this.panes);for(var e=this.groupSeriesByPane(),o=0;o<t.length;o++){var i=t[o],r=e[i.options.name||"default"]||[];this.addToLegend(r);var n=this.filterVisibleSeries(r);n&&(this.createScatterChart(Br(n,"scatter"),i),this.createScatterLineChart(Br(n,"scatterLine"),i),this.createBubbleChart(Br(n,"bubble"),i))}this.createAxes(t)},e.prototype.appendChart=function(e,o){this.xAxisRangeTracker.update(e.xAxisRanges),this.yAxisRangeTracker.update(e.yAxisRanges),t.prototype.appendChart.call(this,e,o)},e.prototype.removeAxis=function(e){var o=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?(this.yAxisRangeTracker.reset(o),delete this.namedYAxes[o]):(this.xAxisRangeTracker.reset(o),delete this.namedXAxes[o]),e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype.seriesPaneName=function(t){var e=this.options,o=t.xAxis,i=X([].concat(e.xAxis),(function(t){return t.name===o}))[0],r=t.yAxis,n=X([].concat(e.yAxis),(function(t){return t.name===r}))[0],a=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(n||{}).pane||a},e.prototype.createScatterChart=function(t,e){t.length>0&&this.appendChart(new cr(this,{series:t,clip:e.options.clip}),e)},e.prototype.createScatterLineChart=function(t,e){t.length>0&&this.appendChart(new Jn(this,{series:t,clip:e.options.clip}),e)},e.prototype.createBubbleChart=function(t,e){t.length>0&&this.appendChart(new dr(this,{series:t,clip:e.options.clip}),e)},e.prototype.createXYAxis=function(t,e,o){for(var i,r=t.name,n=e?this.namedYAxes:this.namedXAxes,a=e?this.yAxisRangeTracker:this.xAxisRangeTracker,s=M({reverse:!e&&this.chartService.rtl},t,{vertical:e}),p=Er(s.type,"log"),l=a.query(),u=p?{min:.1,max:1}:{min:0,max:1},h=a.query(r)||l||u,d=[s.min,s.max],g=this.series,f=0;f<g.length;f++){var v=g[f],y=v[e?"yAxis":"xAxis"];if(y===s.name||0===o&&!y){var _=Yo.current.bindPoint(v,0).valueFields;d.push(_[e?"y":"x"]);break}}0===o&&l&&(h.min=Math.min(h.min,l.min),h.max=Math.max(h.max,l.max));for(var m=0;m<d.length;m++)if(d[m]instanceof Date){i=!0;break}var b=new(Er(s.type,c)||!s.type&&i?mo:p?So:yo)(h.min,h.max,s,this.chartService);if(b.axisIndex=o,r){if(n[r])throw new Error((e?"Y":"X")+" axis with name "+r+" is already defined");n[r]=b}return this.appendAxis(b),b},e.prototype.createAxes=function(t){for(var e=this.options,o=[].concat(e.xAxis),i=[],r=[].concat(e.yAxis),n=[],a=0;a<o.length;a++){K(this.findPane(o[a].pane),t)&&i.push(this.createXYAxis(o[a],!1,a))}for(var s=0;s<r.length;s++){K(this.findPane(r[s].pane),t)&&n.push(this.createXYAxis(r[s],!0,s))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||n[0]},e.prototype._dispatchEvent=function(t,e,o){for(var i=t._eventCoordinates(e),r=new Lt(i.x,i.y),n=this.axes,a=n.length,s=[],p=[],c=0;c<a;c++){var l=n[c],u=l.options.vertical?p:s,h=l.getValue(r);null!==h&&u.push(h)}s.length>0&&p.length>0&&t.trigger(o,{element:lt(e),originalEvent:e,x:Vr(s),y:Vr(p)})},e.prototype.updateAxisOptions=function(t,e){var o=t.options.vertical,i=this.groupAxes(this.panes),r=(o?i.y:i.x).indexOf(t);ea(this.options,r,o,e),ea(this.originalOptions,r,o,e)},e}(qr);function ea(t,e,o,i){M([].concat(o?t.yAxis:t.xAxis)[e],i)}xt(ta,{xAxis:{},yAxis:{}}),M(ta.prototype,Zr);var oa=ta,ia=function(t){function e(e,o,i){t.call(this,i),this.value=e,this.sector=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options.labels,e=this.owner.chartService,o=this.value;if(!this._rendered&&!1!==this.visible){this._rendered=!0;var i=G(t),r=this.pointData();if(i?o=i(r):t.format&&(o=e.format.auto(t.format,o)),t.visible&&(o||0===o)){if(t.position===s||"insideEnd"===t.position)t.color||(t.color=Ot(this.options.color)),t.background||(t.background=this.options.color);else{var n=e.theme.seriesDefaults.labels;t.color=t.color||n.color,t.background=t.background||n.background}this.label=new pe(o,M({},t,{align:s,vAlign:"",animation:{type:"fadeIn",delay:this.animationDelay}}),r),this.append(this.label)}}},e.prototype.reflow=function(t){this.render(),this.box=t,this.reflowLabel()},e.prototype.reflowLabel=function(){var t=this.options.labels,e=this.label,o=this.sector.clone(),i=t.distance,r=o.middle();if(e){var n,a=e.box.height(),p=e.box.width();if(t.position===s)o.radius=Math.abs((o.radius-a)/2)+a,n=o.point(r),e.reflow(new zt(n.x,n.y-a/2,n.x,n.y));else if("insideEnd"===t.position)o.radius=o.radius-a/2,n=o.point(r),e.reflow(new zt(n.x,n.y-a/2,n.x,n.y));else{var c;(n=o.clone().expand(i).point(r)).x>=o.center.x?(c=n.x+p,e.orientation=g):(c=n.x-p,e.orientation=u),e.reflow(new zt(c,n.y-a,n.x,n.y))}}},e.prototype.createVisual=function(){var e=this,o=this.sector,i=this.options;if(t.prototype.createVisual.call(this),this.value)if(i.visual){var r=(o.startAngle+180)%360,n=i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,center:new w.geometry.Point(o.center.x,o.center.y),radius:o.radius,innerRadius:o.innerRadius,startAngle:r,endAngle:r+o.angle,options:i,sender:this.getSender(),createVisual:function(){var t=new w.drawing.Group;return e.createSegmentVisual(t),t}});n&&this.visual.append(n)}else this.createSegmentVisual(this.visual)},e.prototype.createSegmentVisual=function(t){var e=this.sector,o=this.options,i=o.border||{},r=i.width>0?{stroke:{color:i.color,width:i.width,opacity:i.opacity,dashType:i.dashType}}:{},n=o.color,a={color:n,opacity:o.opacity},s=this.createSegment(e,M({fill:a,stroke:{opacity:o.opacity},zIndex:o.zIndex},r));t.append(s),Ni(o)&&t.append(this.createGradientOverlay(s,{baseColor:n,fallbackFill:a},M({center:[e.center.x,e.center.y],innerRadius:e.innerRadius,radius:e.radius,userSpace:!0},o.overlay)))},e.prototype.createSegment=function(t,e){return e.singleSegment?new w.drawing.Circle(new w.geometry.Circle(new w.geometry.Point(t.center.x,t.center.y),t.radius),e):Ut.current.createRing(t,e)},e.prototype.createAnimation=function(){var e=this.options,o=this.sector.center;M(e,{animation:{center:[o.x,o.y],delay:this.animationDelay}}),t.prototype.createAnimation.call(this)},e.prototype.createHighlight=function(t){var e=this.options.highlight||{},o=e.border||{};return this.createSegment(this.sector,M({},t,{fill:{color:e.color,opacity:e.opacity},stroke:{opacity:o.opacity,width:o.width,color:o.color}}))},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=this.sector;return{options:this.options,radius:t.radius,innerRadius:t.innerRadius,center:new w.geometry.Point(t.center.x,t.center.y),startAngle:t.startAngle,endAngle:t.angle+t.startAngle,visual:this.visual}},e.prototype.tooltipAnchor=function(){var t=this.sector.clone().expand(5),e=t.middle();return{point:t.point(e),align:aa(e+180)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,series:this.series,percentage:this.percentage}},e}(Xt),ra=vt(ft(30),10),na=vt(ft(60),10);function aa(t){var e=ft(t),o=vt(Math.sin(e),10),i=vt(Math.cos(e),10);return{horizontal:Math.abs(o)>na?s:i<0?g:u,vertical:Math.abs(o)<ra?s:o<0?a:f}}xt(ia,{color:y,overlay:{gradient:"roundedBevel"},border:{width:.5},labels:{visible:!1,distance:35,font:"12px sans-serif",margin:V(.5),align:p,zIndex:1,position:"outsideEnd"},animation:{type:ii},highlight:{visible:!0,border:{width:1}},visible:!0}),M(ia.prototype,gi);var sa=ia,pa={createLegendItem:function(t,e,o){var i=this.options.legend||{},r=i.labels||{},n=i.inactiveItems||{},a=n.labels||{};if(o&&!1!==o.visibleInLegend){var s,p,c=!1!==o.visible,l=c?G(r):G(a)||G(r),u=o.category;l&&(u=l({text:u,series:o.series,dataItem:o.dataItem,percentage:o.percentage,value:t})),c?(s={},p=e.color):(s={color:a.color,font:a.font},p=(n.markers||{}).color),sr(u)&&""!==u&&this.legendItems.push({active:c,pointIndex:o.index,text:u,series:o.series,markerColor:p,labels:s})}}},ca=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this.points=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.traverseDataPoints=function(t){var e=this.options,o=this.plotArea.options.seriesColors;void 0===o&&(o=[]);for(var i=o.length,r=e.series,n=r.length,a=0;a<n;a++){var p=r[a],c=p.data,l=Dr(p),u=l.total,h=l.points,d=l.count,g=360/u,f=void 0;isFinite(g)||(f=360/d);var v=void 0;v=at(p.startAngle)?p.startAngle:e.startAngle,a!==n-1&&"outsideEnd"===p.labels.position&&(p.labels.position=s);for(var y=0;y<h.length;y++){var _=h[y];if(_){var m=_.fields,b=_.value,x=_.visible,C=0!==b?f||b*g:0,S=1!==c.length&&Boolean(m.explode);j(p.color)||(p.color=m.color||o[y%i]),t(_.valueFields.value,new Ft(null,0,0,v,C),{owner:this,category:at(m.category)?m.category:"",index:y,series:p,seriesIx:a,dataItem:c[y],percentage:0!==u?b/u:0,explode:S,visibleInLegend:m.visibleInLegend,visible:x,zIndex:n-a,animationDelay:this.animationDelay(y,a,n)}),!1!==x&&(v+=C)}}}},e.prototype.evalSegmentOptions=function(t,e,o){var i=o.series;li(t,{value:e,series:i,dataItem:o.dataItem,category:o.category,percentage:o.percentage},{defaults:i._defaults,excluded:["data","content","template","visual","toggle"]})},e.prototype.addValue=function(t,e,o){var i=M({},o.series,{index:o.index});if(this.evalSegmentOptions(i,t,o),this.createLegendItem(t,i,o),!1!==o.visible){var r=new sa(t,e,i);Object.assign(r,o),this.append(r),this.points.push(r)}},e.prototype.reflow=function(t){var e=this.options,o=this.points,i=this.seriesConfigs;void 0===i&&(i=[]);var r=o.length,n=t.clone(),a=Math.min(n.width(),n.height()),s=a/2,p=a-.85*a,c=new zt(n.x1,n.y1,n.x1+a,n.y1+a),l=c.center(),u=n.center(),h=e.series.length,d=[],f=[],v=_t(e.padding,p);this.targetBox=t,v=v>s-5?s-5:v,c.translate(u.x-l.x,u.y-l.y);for(var y=s-v,_=new Lt(y+c.x1+v,y+c.y1+v),m=0;m<r;m++){var b=o[m],x=b.sector,C=b.seriesIx;if(x.radius=y,x.center=_,i.length){var S=i[C];x.innerRadius=S.innerRadius,x.radius=S.radius}C===h-1&&b.explode&&(x.center=x.clone().setRadius(.15*x.radius).point(x.middle())),b.reflow(c);var w=b.label;w&&"outsideEnd"===w.options.position&&C===h-1&&(w.orientation===g?f.push(w):d.push(w))}d.length>0&&(d.sort(this.labelComparator(!0)),this.leftLabelsReflow(d)),f.length>0&&(f.sort(this.labelComparator(!1)),this.rightLabelsReflow(f)),this.box=c},e.prototype.leftLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.rightLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.distanceBetweenLabels=function(t){var e=ht(this.points),o=e.sector,i=t.length-1,r=o.radius+e.options.labels.distance,n=[],a=t[0].box,s=vt(a.y1-(o.center.y-r-a.height()-a.height()/2));n.push(s);for(var p=0;p<i;p++){var c=t[p+1].box;a=t[p].box,s=vt(c.y1-a.y2),n.push(s)}return s=vt(o.center.y+r-t[i].box.y2-t[i].box.height()/2),n.push(s),n},e.prototype.distributeLabels=function(t,e){for(var o,i,r,n=t.length,a=0;a<n;a++)for(r=-t[a],o=i=a;r>0&&(o>=0||i<n);)r=this._takeDistance(t,a,--o,r),r=this._takeDistance(t,a,++i,r);this.reflowLabels(t,e)},e.prototype._takeDistance=function(t,e,o,i){var r=i;if(t[o]>0){var n=Math.min(t[o],r);r-=n,t[o]-=n,t[e]+=n}return r},e.prototype.reflowLabels=function(t,e){var o,i=ht(this.points),r=i.sector,n=i.options.labels,a=e.length,s=n.distance,c=r.center.y-(r.radius+s)-e[0].box.height();t[0]+=2;for(var l=0;l<a;l++){var u=e[l],h=u.box;c+=t[l],o=this.hAlignLabel(h.x2,r.clone().expand(s),c,c+h.height(),u.orientation===g),u.orientation===g?(n.align!==p&&(o=r.radius+r.center.x+s),u.reflow(new zt(o+h.width(),c,o,c))):(n.align!==p&&(o=r.center.x-r.radius-s),u.reflow(new zt(o-h.width(),c,o,c))),c+=h.height()}},e.prototype.createVisual=function(){var e=this.options.connectors,o=this.points,i=o.length;t.prototype.createVisual.call(this),this._connectorLines=[];for(var r=0;r<i;r++){var n=o[r],a=n.sector,s=n.label,p=a.middle(),c=(n.options.connectors||{}).color||e.color;if(s){var l=new w.drawing.Path({stroke:{color:c,width:e.width},animation:{type:"fadeIn",delay:n.animationDelay}});if("outsideEnd"===s.options.position){var u=s.box,h=a.center,d=a.point(p),f=new Lt(u.x1,u.center().y),v=void 0,y=void 0,_=void 0;d=a.clone().expand(e.padding).point(p),l.moveTo(d.x,d.y),s.orientation===g?(_=la(h,d,f,y=new Lt(u.x1-e.padding,u.center().y)),f=new Lt(y.x-4,y.y),(_=_||f).x=Math.min(_.x,f.x),this.pointInCircle(_,a.center,a.radius+4)||_.x<a.center.x?(v=a.center.x+a.radius+4,n.options.labels.align!==ei?v<f.x?l.lineTo(v,d.y):l.lineTo(d.x+8,d.y):l.lineTo(v,d.y),l.lineTo(f.x,y.y)):(_.y=y.y,l.lineTo(_.x,_.y))):(_=la(h,d,f,y=new Lt(u.x2+e.padding,u.center().y)),f=new Lt(y.x+4,y.y),(_=_||f).x=Math.max(_.x,f.x),this.pointInCircle(_,a.center,a.radius+4)||_.x>a.center.x?(v=a.center.x-a.radius-4,n.options.labels.align!==ei?v>f.x?l.lineTo(v,d.y):l.lineTo(d.x-8,d.y):l.lineTo(v,d.y),l.lineTo(f.x,y.y)):(_.y=y.y,l.lineTo(_.x,_.y))),l.lineTo(y.x,y.y),this._connectorLines.push(l),this.visual.append(l)}}}},e.prototype.renderVisual=function(){if(t.prototype.renderVisual.call(this),St(this.options.series,(function(t){return t.autoFit}))){var e=this.targetBox,o=this.box.center(),i=this.visual.bbox();if(!i)return;var r=i.bottomRight(),n=Math.min((o.y-e.y1)/(o.y-i.origin.y),(e.y2-o.y)/(r.y-o.y),(o.x-e.x1)/(o.x-i.origin.x),(e.x2-o.x)/(r.x-o.x));n<1&&this.visual.transform(w.geometry.transform().scale(n,n,[o.x,o.y]))}},e.prototype.labelComparator=function(t){var e=t?-1:1;return function(t,o){return((t.parent.sector.middle()+270)%360-(o.parent.sector.middle()+270)%360)*e}},e.prototype.hAlignLabel=function(t,e,o,i,r){var n=e.radius,a=e.center,s=a.x,p=a.y,c=Math.min(Math.abs(p-o),Math.abs(p-i));return c>n?t:s+Math.sqrt(n*n-c*c)*(r?1:-1)},e.prototype.pointInCircle=function(t,e,o){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(o,2)},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.animationDelay=function(t){return 70*t},e.prototype.stackRoot=function(){return this},e}(Xt);function la(t,e,o,i){var r,n=(i.x-o.x)*(t.y-o.y)-(i.y-o.y)*(t.x-o.x),a=(i.y-o.y)*(e.x-t.x)-(i.x-o.x)*(e.y-t.y);if(0!==a){var s=n/a;r=new Lt(t.x+s*(e.x-t.x),t.y+s*(e.y-t.y))}return r}xt(ca,{startAngle:90,connectors:{width:2,color:"#939393",padding:8},inactiveItems:{markers:{},labels:{}}}),M(ca.prototype,pa),ca.prototype.isStackRoot=!0;var ua=ca,ha=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createPieChart(this.series)},e.prototype.createPieChart=function(t){var e=t[0],o=new ua(this,{series:t,padding:e.padding,startAngle:e.startAngle,connectors:e.connectors,legend:this.options.legend});this.appendChart(o)},e.prototype.appendChart=function(e,o){t.prototype.appendChart.call(this,e,o),rt(this.options.legend.items,e.legendItems)},e}(qr),da=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowLabel=function(){var e=this.options.labels,o=this.label,i=this.sector.clone(),r=i.middle();if(o){var n=o.box.height();if(e.position===s){i.radius-=(i.radius-i.innerRadius)/2;var a=i.point(r);o.reflow(new zt(a.x,a.y-n/2,a.x,a.y))}else t.prototype.reflowLabel.call(this)}},e.prototype.createSegment=function(t,e){return Ut.current.createRing(t,e)},e}(sa);xt(da,{overlay:{gradient:"roundedGlass"},labels:{position:s},animation:{type:ii}}),M(da.prototype,gi);var ga=da,fa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e,o){var i=M({},o.series,{index:o.index});if(this.evalSegmentOptions(i,t,o),this.createLegendItem(t,i,o),t&&!1!==o.visible){var r=new ga(t,e,i);Object.assign(r,o),this.append(r),this.points.push(r)}},e.prototype.reflow=function(e){for(var o,i=this.options,r=e.clone(),n=Math.min(r.width(),r.height()),a=n/2,s=n-.85*n,p=i.series,c=p.length,l=_t(i.padding,s),u=a-(l=l>a-5?a-5:l),h=0,d=0;d<c;d++){var g=p[d];0===d&&at(g.holeSize)&&(o=g.holeSize,u-=g.holeSize),at(g.size)?u-=g.size:h++,at(g.margin)&&d!==c-1&&(u-=g.margin)}at(o)||(u-=o=.75*((a-l)/(c+.75)));var f,v=o,y=0;this.seriesConfigs=[];for(var _=0;_<c;_++){var m=p[_];f=(v+=y)+_t(m.size,u/h),this.seriesConfigs.push({innerRadius:v,radius:f}),y=m.margin||0,v=f}t.prototype.reflow.call(this,e)},e.prototype.animationDelay=function(t,e,o){return 50*t+600*(e+1)/(o+1)},e}(ua);xt(fa,{startAngle:90,connectors:{width:2,color:"#939393",padding:8}});var va=fa,ya=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createDonutChart(this.series)},e.prototype.createDonutChart=function(t){var e=t[0],o=new va(this,{series:t,padding:e.padding,connectors:e.connectors,legend:this.options.legend});this.appendChart(o)},e}(ha),_a=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.valueAxisRangeTracker=new Li},e.prototype.render=function(){this.addToLegend(this.series),this.createPolarAxis(),this.createCharts(),this.createValueAxis()},e.prototype.alignAxes=function(){var t=this.valueAxis,e=t.range(),o=t.options.reverse?e.max:e.min,i=t.getSlot(o),r=this.polarAxis.getSlot(0).center,n=t.box.translate(r.x-i.x1,r.y-i.y1);t.reflow(n)},e.prototype.createValueAxis=function(){var t,e,o=this.valueAxisRangeTracker,i=o.query(),r=this.valueAxisOptions({roundToMajorUnit:!1,zIndex:-1});"log"===r.type?(t=Eo,e={min:.1,max:1}):(t=Mo,e={min:0,max:1});var n=o.query(name)||i||e;n&&i&&(n.min=Math.min(n.min,i.min),n.max=Math.max(n.max,i.max));var a=new t(n.min,n.max,r,this.chartService);this.valueAxis=a,this.appendAxis(a)},e.prototype.reflowAxes=function(){var t=this.options.plotArea,e=this.valueAxis,o=this.polarAxis,i=this.box,r=.15*Math.min(i.width(),i.height()),n=V(t.padding||{},r),a=i.clone().unpad(n),p=a.clone();p.y2=p.y1+Math.min(p.width(),p.height()),p.align(a,m,s);var c=p.clone().shrink(0,p.height()/2);o.reflow(p),e.reflow(c);var l=e.lineBox().height()-e.box.height();e.reflow(e.box.unpad({top:l})),this.axisBox=p,this.alignAxes(p)},e.prototype.backgroundBox=function(){return this.box},e.prototype.detachLabels=function(){},e}(qr),ma=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var o=t.center.y-e.y1,i=Lt.onCircle(t.center,t.startAngle,o);return new zt(i.x,i.y,i.x,i.y)},e}(cr);xt(ma,{clip:!1});var ba=ma,xa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Jn);xa.prototype.pointSlot=ba.prototype.pointSlot,xt(xa,{clip:!1});var Ca=xa,Sa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this._polarAxisCenter();t.lineTo(e.x,e.y)},e.prototype._polarAxisCenter=function(){return this.parent.plotArea.polarAxis.box.center()},e.prototype.strokeSegments=function(){var t=this._strokeSegments;if(!t){var e=this._polarAxisCenter(),o=new Ro(!1),i=this.points();i.push(e),(t=this._strokeSegments=o.process(i)).pop()}return t},e}(Bi),wa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this.parent.plotArea.polarAxis.box.center(),o=new w.geometry.Segment([e.x,e.y]);t.segments.unshift(o),t.segments.push(o)},e}(Mi);function Aa(t,e){return t.value.x-e.value.x}var ka=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,o){return"smooth"===(e.line||{}).style?new Sa(t,e,o):new wa(t,e,o)},e.prototype.createMissingValue=function(t,e){var o;return sr(t.x)&&"interpolate"!==e&&(o={x:t.x,y:t.y},e===Jo&&(o.y=0)),o},e.prototype.seriesMissingValues=function(t){return t.missingValues||Jo},e.prototype._hasMissingValuesGap=function(){for(var t=this.options.series,e=0;e<t.length;e++)if("gap"===this.seriesMissingValues(t[e]))return!0},e.prototype.sortPoints=function(t){if(t.sort(Aa),this._hasMissingValuesGap())for(var e=0;e<t.length;e++){var o=t[e];if(o)sr(o.value.y)||"gap"!==this.seriesMissingValues(o.series)||delete t[e]}return t},e}(Ca),Ia=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new Oo(this.options.xAxis,this.chartService);this.polarAxis=t,this.axisX=t,this.appendAxis(t)},e.prototype.valueAxisOptions=function(t){return M(t,{majorGridLines:{type:r},minorGridLines:{type:r}},this.options.yAxis)},e.prototype.createValueAxis=function(){t.prototype.createValueAxis.call(this),this.axisY=this.valueAxis},e.prototype.appendChart=function(t,e){this.valueAxisRangeTracker.update(t.yAxisRanges),qr.prototype.appendChart.call(this,t,e)},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createLineChart(Br(t,["polarLine"]),e),this.createScatterChart(Br(t,["polarScatter"]),e),this.createAreaChart(Br(t,["polarArea"]),e)},e.prototype.createLineChart=function(t,e){if(0!==t.length){var o=new Ca(this,{series:t});this.appendChart(o,e)}},e.prototype.createScatterChart=function(t,e){if(0!==t.length){var o=new ba(this,{series:t});this.appendChart(o,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var o=new ka(this,{series:t});this.appendChart(o,e)}},e.prototype._dispatchEvent=function(t,e,o){var i=t._eventCoordinates(e),r=new Lt(i.x,i.y),n=this.axisX.getValue(r),a=this.axisY.getValue(r);null!==n&&null!==a&&t.trigger(o,{element:lt(e),x:n,y:a})},e.prototype.createCrosshairs=function(){},e}(_a);xt(Ia,{xAxis:{},yAxis:{}}),M(Ia.prototype,Zr);var Oa=Ia;var Pa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var o=t.center.y-e.y1,i=Lt.onCircle(t.center,t.middle(),o);return new zt(i.x,i.y,i.x,i.y)},e.prototype.renderSegments=function(){if(t.prototype.renderSegments.call(this),this._segments&&this._segments.length>1)for(var e=function(t){for(var e=[],o=0;o<t.length;o++){var i=t[o];e[i.seriesIx]=e[i.seriesIx]||[],e[i.seriesIx].push(i)}return e}(this._segments),o=0;o<e.length;o++){var i=e[o];if(i&&i.length>1){var r=i[0].linePoints[0],n=ht(i),a=ht(n.linePoints),s=0===r.categoryIx,p=a.categoryIx===a.categoriesCount-1;s&&p&&ht(i).linePoints.push(r)}}},e.prototype.createSegment=function(t,e,o){var i=new("smooth"===e.style?wi:mi)(t,e,o),r=this.seriesMissingValues(e);return t.length!==e.data.length&&"interpolate"!==r||(i.options.closed=!0),i},e}(Ti);xt(Pa,{clip:!1,limitPoints:!1});var ja=Pa,Ta=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Bi),Ma=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Mi),Da=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,o,i){var r,n,a,s=this.options.isStacked,p=(e.line||{}).style;return s&&o>0&&i&&(n=i.linePoints.slice(0),r=i),"smooth"===p?(a=new Ta(t,e,o,r,n)).options.closed=!0:(t.push(t[0]),a=new Ma(t,e,o,r,n)),a},e.prototype.seriesMissingValues=function(t){return t.missingValues||Jo},e}(ja),Ea=function(t){function e(e,o){t.call(this,e,null,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ga);xt(Ea,{overlay:{gradient:"none"},labels:{distance:10}});var Ba=Ea,Ra=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?Ui:Hi}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=this.children,i=e.gap,r=e.spacing,n=o.length,a=n+i+r*(n-1),s=t.angle/a,p=t.startAngle+s*(i/2);this.forEach(o,(function(e){var o=t.clone();o.startAngle=p,o.angle=s,e.sector&&(o.radius=e.sector.radius),e.reflow(o),e.sector=o,p+=s+s*r}))},e}(Xt);xt(Ra,{gap:1,spacing:0});var La=Ra,Va=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options.reverse,o=this.children,i=o.length,r=e?i-1:0,n=e?-1:1;this.box=new zt;for(var a=r;a>=0&&a<i;a+=n){var s=o[a].sector;s.startAngle=t.startAngle,s.angle=t.angle}},e}(Xt),za=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return Ba},e.prototype.clusterType=function(){return La},e.prototype.stackType=function(){return Va},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.pointSlot=function(t,e){var o=t.clone(),i=t.center.y;return o.radius=i-e.y1,o.innerRadius=i-e.y2,o},e.prototype.reflowPoint=function(t,e){t.sector=e,t.reflow()},e.prototype.createAnimation=function(){this.options.animation.center=this.box.toRect().center(),t.prototype.createAnimation.call(this)},e}(Ki);za.prototype.reflow=di.prototype.reflow,xt(za,{clip:!1,limitPoints:!1,animation:{type:"pie"}});var Na=za,Fa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new ko(this.options.categoryAxis,this.chartService);this.polarAxis=t,this.categoryAxis=t,this.appendAxis(t),this.aggregateCategories(),this.createCategoryAxesLabels()},e.prototype.valueAxisOptions=function(t){return this._hasBarCharts&&M(t,{majorGridLines:{type:r},minorGridLines:{type:r}}),this._isStacked100&&M(t,{roundToMajorUnit:!1,labels:{format:"P0"}}),M(t,this.options.valueAxis)},e.prototype.aggregateCategories=function(){wn.prototype.aggregateCategories.call(this,this.panes)},e.prototype.createCategoryAxesLabels=function(){wn.prototype.createCategoryAxesLabels.call(this,this.panes)},e.prototype.filterSeries=function(t){return t},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createAreaChart(Br(t,["radarArea"]),e),this.createLineChart(Br(t,["radarLine"]),e),this.createBarChart(Br(t,["radarColumn"]),e)},e.prototype.chartOptions=function(t){var e={series:t},o=t[0];if(o){var i=this.filterVisibleSeries(t),r=o.stack;e.isStacked=r&&i.length>1,e.isStacked100=r&&"100%"===r.type&&i.length>1,e.isStacked100&&(this._isStacked100=!0)}return e},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var o=new Da(this,this.chartOptions(t));this.appendChart(o,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var o=new ja(this,this.chartOptions(t));this.appendChart(o,e)}},e.prototype.createBarChart=function(t,e){if(0!==t.length){var o=t[0],i=this.chartOptions(t);i.gap=o.gap,i.spacing=o.spacing;var r=new Na(this,i);this.appendChart(r,e),this._hasBarCharts=!0}},e.prototype.seriesCategoryAxis=function(){return this.categoryAxis},e.prototype._dispatchEvent=function(t,e,o){var i=t._eventCoordinates(e),r=new Lt(i.x,i.y),n=this.categoryAxis.getCategory(r),a=this.valueAxis.getValue(r);null!==n&&null!==a&&t.trigger(o,{element:lt(e),category:n,value:a})},e.prototype.createCrosshairs=function(){},e}(_a);M(Fa.prototype,Zr,{appendChart:wn.prototype.appendChart,aggregateSeries:wn.prototype.aggregateSeries,seriesSourcePoints:wn.prototype.seriesSourcePoints}),xt(Fa,{categoryAxis:{categories:[]},valueAxis:{}});var Ga=Fa,Ha=function(t){function e(e,o,i){t.call(this,o),this.value=e,this.options.index=i.index}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.points,o=this.children[0];this.box=new zt(e[0].x,e[0].y,e[1].x,e[2].y),o&&o.reflow(new zt(t.x1,e[0].y,t.x2,e[2].y))},e.prototype.createVisual=function(){var e,o=this,i=this.options;t.prototype.createVisual.call(this),(e=i.visual?i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,points:this.points,options:i,sender:this.getSender(),createVisual:function(){return o.createPath()}}):this.createPath())&&this.visual.append(e)},e.prototype.createPath=function(){var t=this.options,e=t.border;return w.drawing.Path.fromPoints(this.points,{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.color,opacity:e.opacity,width:e.width}}).close()},e.prototype.createHighlight=function(t){return w.drawing.Path.fromPoints(this.points,t)},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=w.drawing.Path.fromPoints(this.points).close();return{options:this.options,path:t}},e.prototype.tooltipAnchor=function(){var t=this.box;return{point:new Lt(t.center().x,t.y1),align:{horizontal:"center",vertical:"top"}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(Xt);xt(Ha,{color:y,border:{width:1}}),M(Ha.prototype,gi);var Ua=Ha,Wa=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.points=[],this.labels=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.render=function(){var t=this.options,e=this.plotArea.options.seriesColors;void 0===e&&(e=[]);var o=t.series[0],i=o.data;if(i)for(var r=Dr(o),n=r.total,a=r.points,s=0;s<a.length;s++){var p=a[s];if(p){var c=p.fields;j(o.color)||(o.color=c.color||e[s%e.length]),c=M({index:s,owner:this,series:o,dataItem:i[s],percentage:p.value/n},c,{visible:p.visible});var l=p.valueFields.value,u=this.createSegment(l,c),h=this.createLabel(l,c);u&&h&&u.append(h)}}},e.prototype.evalSegmentOptions=function(t,e,o){var i=o.series;li(t,{value:e,series:i,dataItem:o.dataItem,index:o.index},{defaults:i._defaults,excluded:["data","content","template","toggle","visual"]})},e.prototype.createSegment=function(t,e){var o=M({},e.series);if(this.evalSegmentOptions(o,t,e),this.createLegendItem(t,o,e),!1!==e.visible){var i=new Ua(t,o,e);return Object.assign(i,e),this.append(i),this.points.push(i),i}},e.prototype.createLabel=function(t,e){var o=e.series,i=e.dataItem,r=M({},this.options.labels,o.labels),n=t;if(r.visible){var a=G(r),s={dataItem:i,value:t,percentage:e.percentage,category:e.category,series:o};a?n=a(s):r.format&&(n=this.plotArea.chartService.format.auto(r.format,n)),r.color||(r.color=Ot(o.color),r.background||(r.background=o.color)),this.evalSegmentOptions(r,t,e);var p=new pe(n,M({vAlign:r.position},r),s);return this.labels.push(p),p}},e.prototype.labelPadding=function(){for(var t=this.labels,e={left:0,right:0},o=0;o<t.length;o++){var i=t[o].options.align;if(i!==s){var r=t[o].box.width();i===u?e.left=Math.max(e.left,r):e.right=Math.max(e.right,r)}}return e},e.prototype.dynamicSlopeReflow=function(t,e,o){for(var i=this.options,r=this.points,n=r.length,a=r[0],s=a,p=0;p<r.length;p++)r[p].percentage>s.percentage&&(s=r[p]);for(var c=a.percentage/s.percentage*e,l=(e-c)/2,u=0,h=0;h<n;h++){var d=r[h].percentage,g=r[h+1],f=g?g.percentage:d,v=r[h].points=[],y=i.dynamicHeight?o*d:o/n,_=void 0;_=dt(_=d?(e-c*(f/d))/2:f?0:e/2,0,e),v.push(new w.geometry.Point(t.x1+l,t.y1+u)),v.push(new w.geometry.Point(t.x1+e-l,t.y1+u)),v.push(new w.geometry.Point(t.x1+e-_,t.y1+y+u)),v.push(new w.geometry.Point(t.x1+_,t.y1+y+u)),l=_,u+=y+i.segmentSpacing,c=dt(e-2*_,0,e)}},e.prototype.constantSlopeReflow=function(t,e,o){for(var i=this.options,r=this.points,n=r.length,a=i.neckRatio<=1,s=a?i.neckRatio*e:e,p=a?0:(e-e/i.neckRatio)/2,c=((a?e:e-2*p)-s)/2,l=0,u=0;u<n;u++){var h=r[u].points=[],d=r[u].percentage,g=i.dynamicHeight?c*d:c/n,f=i.dynamicHeight?o*d:o/n;h.push(new w.geometry.Point(t.x1+p,t.y1+l)),h.push(new w.geometry.Point(t.x1+e-p,t.y1+l)),h.push(new w.geometry.Point(t.x1+e-p-g,t.y1+f+l)),h.push(new w.geometry.Point(t.x1+p+g,t.y1+f+l)),p+=g,l+=f+i.segmentSpacing}},e.prototype.reflow=function(t){var e=this.points,o=e.length;if(o){var i=this.options,r=t.clone().unpad(this.labelPadding()),n=r.height()-i.segmentSpacing*(o-1),a=r.width();i.dynamicSlope?this.dynamicSlopeReflow(r,a,n):this.constantSlopeReflow(r,a,n);for(var s=0;s<o;s++)e[s].reflow(t)}},e}(Xt);xt(Wa,{neckRatio:.3,width:300,dynamicSlope:!1,dynamicHeight:!0,segmentSpacing:0,labels:{visible:!1,align:s,position:s,zIndex:1}}),M(Wa.prototype,pa);var Xa=Wa,Ya=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createFunnelChart(this.series)},e.prototype.createFunnelChart=function(t){var e=t[0],o=new Xa(this,{series:t,legend:this.options.legend,neckRatio:e.neckRatio,dynamicHeight:e.dynamicHeight,dynamicSlope:e.dynamicSlope,segmentSpacing:e.segmentSpacing,highlight:e.highlight});this.appendChart(o)},e.prototype.appendChart=function(e,o){t.prototype.appendChart.call(this,e,o),rt(this.options.legend.items,e.legendItems)},e}(qr),qa=function(t,e){void 0===e&&(e=.05);var o=Object(w.parseColor)(t),i=1-e;return function(t){var e=o.toHSL(),r=100-e.l,n=i-t;return e.l+=Math.min(n*r,r),e.toCss()}},Za=function(t){function e(e,o){t.call(this),this.options=o,this.color=o.color||y,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createMarker(),this.createLabel(),this.createNote())},e.prototype.createLabel=function(){var t=this.options.labels;if(t.visible){var e,o=this.pointData(),i=G(t),r=t.color;e=i?i(o):this.formatValue(t.format),r||(r=Ot(this.color)),this.label=new pe(e,M({align:s,vAlign:s,margin:{left:5,right:5},zIndex:_t(t.zIndex,this.series.zIndex)},t,{color:r}),o),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;this.box=t,e&&e.reflow(this.markerBox()),this.note&&this.note.reflow(t),this.marker.reflow(this.markerBox())},e.prototype.markerBox=function(){var t=this.options.markers,e=t.border,o=this.box.toRect(),i="roundedRect"===_t(t.type,"rect"),r=_t(e.width,i?1:0),n=Math.round(r/2);if(t.size){var a=o.center();o.size.width=o.size.height=t.size,o.origin.x=Math.round(a.x-o.size.width/2),o.origin.y=Math.round(a.y-o.size.height/2)}return o.size.width-=r,o.size.height-=r,o.origin.y+=n+.5,o.origin.x+=n+.5,ae(o)},e.prototype.markerBorder=function(){var t=this.options,e=t.markers.border,o=_t(e.opacity,t.opacity);return{color:e.color||this.color,width:e.width,opacity:o,dashType:e.dashType}},e.prototype.createMarker=function(){var t=this.options,e=t.markers,o=new Kt({type:_t(e.type,"rect"),width:e.size,height:e.size,rotation:e.rotation,background:this.color,border:this.markerBorder(),borderRadius:e.borderRadius,opacity:this.series.opacity||t.opacity,zIndex:_t(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category});this.marker=o,this.append(o)},e.prototype.createHighlight=function(t){var e=this.options,o=this.options.highlight.markers||this.options.markers,i=new Kt({type:_t(o.type,"rect"),width:o.size,height:o.size,rotation:o.rotation,background:o.color||this.color,border:this.markerBorder(),borderRadius:o.borderRadius,opacity:this.series.opacity||e.opacity,zIndex:_t(e.zIndex,this.series.zIndex)});i.reflow(this.markerBox());var r=i.getElement();return r.options.fill=t.fill,r.options.stroke=t.stroke,r},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.tooltipAnchor=function(){var t=this.box.center().x,e=this.box.y1-5;return{point:new Lt(t,e),align:{horizontal:s,vertical:a}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){},e.prototype.pointData=function(){return{x:this.value.x,y:this.value.y,value:this.value.value,dataItem:this.dataItem,series:this.series}},e}(Xt);M(Za.prototype,gi),M(Za.prototype,fi),Za.prototype.defaults={markers:{type:"rect",borderRadius:4,border:{color:"transparent"}},padding:{top:1},labels:{visible:!1,padding:3},opacity:1,notes:{label:{}}};var Ka=Za,Qa=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.points=[],this.seriesOptions=[],this.valueRange={min:h,max:d},this._evalSeries=[]},e.prototype.render=function(){this.setRange(),this.traverseDataPoints(this.addValue.bind(this))},e.prototype.setRange=function(){for(var t=this.options.series,e=0;e<t.length;e++)for(var o=t[e],i=0;i<o.data.length;i++){var r=this._bindPoint(o,e,i).valueFields;this.valueRange.min=Math.min(this.valueRange.min,r.value),this.valueRange.max=Math.max(this.valueRange.max,r.value)}},e.prototype.addValue=function(t,e){var o;t&&(o=this.createPoint(t,e))&&Object.assign(o,e),this.points.push(o)},e.prototype.evalPointOptions=function(t,e,o){var i=o.series,r=o.seriesIx,n={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle"]},a=this._evalSeries[r];at(a)||(this._evalSeries[r]=a=li(t,{},n,!0));var s=t;return a&&li(s=M({},t),{value:e,series:i,dataItem:o.dataItem,min:this.valueRange.min,max:this.valueRange.max},n),s},e.prototype.pointType=function(){return Ka},e.prototype.pointOptions=function(t,e){var o=this.seriesOptions[e];if(!o){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=o=M({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return o},e.prototype.createPoint=function(t,e){var o=e.series,i=this.pointOptions(o,e.seriesIx),r=e.color||o.color;(i=this.evalPointOptions(i,t,e),j(o.color))?r=i.color:r=qa(r)(t.value/this.valueRange.max);var n=new Ka(t,i);return n.color=r,this.append(n),n},e.prototype.seriesAxes=function(t){var e=t.xAxis,o=t.yAxis,i=this.plotArea,r=e?i.namedXAxes[e]:i.axisX,n=o?i.namedYAxes[o]:i.axisY;if(!r)throw new Error("Unable to locate X axis with name "+e);if(!n)throw new Error("Unable to locate Y axis with name "+o);return{xAxis:r,yAxis:n}},e.prototype.reflow=function(t){var e=this,o=this.points,i=!this.options.clip,r=0;this.traverseDataPoints((function(t,n){var a=o[r++],s=e.seriesAxes(n.series),p=s.xAxis,c=s.yAxis,l=p.categoryIndex(t.x),u=c.categoryIndex(t.y),h=p.getSlot(l,l,i),d=c.getSlot(u,u,i);if(a)if(h&&d){var g=e.pointSlot(h,d);a.reflow(g)}else a.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new zt(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=0;o<e.length;o++)for(var i=e[o],r=this.seriesAxes(i),n=r.xAxis,a=r.yAxis,s=n.currentRangeIndices(),p=a.currentRangeIndices(),c=0;c<i.data.length;c++){var l=this._bindPoint(i,o,c),u=l.valueFields,h=l.fields,d=n.totalIndex(u.x),g=a.totalIndex(u.y),f=s.min<=d&&d<=s.max,v=p.min<=g&&g<=p.max;f&&v&&t(u,M({pointIx:c,series:i,seriesIx:o,dataItem:i.data[c],owner:this},h))}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.x,o.y,o.value)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++)e.push((t[o]||{}).marker);return e},e}(Xt);xt(Qa,{series:[],tooltip:{format:"{0}, {1}: {2}"},labels:{format:"{2}"},clip:!0}),M(Qa.prototype,{_bindPoint:di.prototype._bindPoint});var $a=Qa,Ja=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.bindCategories(),this.createAxes(t),this.createCharts(t),this.createAxisLabels()},e.prototype.bindCategories=function(){for(var t=this.srcSeries||this.series,e=0;e<t.length;e++){for(var o=t[e],i=o.data||[],r=this.seriesAxes(o),n=r.xAxis,a=r.yAxis,s=Et(n.categories||[]),p=Et(a.categories||[]),c=0;c<i.length;c++){var l=Yo.current.bindPoint(o,c).valueFields,u=l.x,h=l.y;s.has(u)||s.add(u),p.has(h)||p.add(h)}n.categories=s.values(),a.categories=p.values()}},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),o=0;o<t.length;o++){var i=t[o],r=e[i.options.name||"default"]||[];this.addToLegend(r);var n=this.filterVisibleSeries(r);n&&this.createHeatmapChart(Br(n,["heatmap"]),i)}},e.prototype.createHeatmapChart=function(t,e){var o=new $a(this,{series:t});this.appendChart(o,e)},e.prototype.seriesPaneName=function(t){var e=this.options,o=t.xAxis,i=X([].concat(e.xAxis),(function(t){return t.name===o}))[0],r=t.yAxis,n=X([].concat(e.yAxis),(function(t){return t.name===r}))[0],a=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(n||{}).pane||a},e.prototype.seriesAxes=function(t){var e,o,i=this.options,r=[].concat(i.xAxis),n=t.xAxis;e=n?r.find((function(t){return t.name===n})):r[0];var a=[].concat(i.yAxis),s=t.yAxis;if(o=s?a.find((function(t){return t.name===s})):a[0],!e)throw new Error("Unable to locate X axis with name "+n);if(!o)throw new Error("Unable to locate Y axis with name "+s);return{xAxis:e,yAxis:o}},e.prototype.createAxisLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e].createLabels()},e.prototype.createXYAxis=function(t,e,o){for(var i,r=t.name,n=e?this.namedYAxes:this.namedXAxes,a=Object.assign({axisCrossingValue:0},t,{vertical:e,reverse:e||this.chartService.rtl?!t.reverse:t.reverse,justified:!1}),s=a.categories?a.categories[0]:null,p=[a.min,a.max,s],l=this.series,u=0;u<l.length;u++){var h=l[u],d=h[e?"yAxis":"xAxis"];if(d===a.name||0===o&&!d){var g=Yo.current.bindPoint(h,0).valueFields;p.push(g[e?"y":"x"]);break}}for(var f=0;f<p.length;f++)if(p[f]instanceof Date){i=!0;break}var v=new(Er(a.type,c)||!a.type&&i?co:to)(a,this.chartService);if(v.axisIndex=o,r){if(n[r])throw new Error((e?"Y":"X")+" axis with name "+r+" is already defined");n[r]=v}return this.appendAxis(v),v.mapCategories(),v},e.prototype.createAxes=function(t){for(var e=this.options,o=[].concat(e.xAxis),i=[],r=[].concat(e.yAxis),n=[],a=0;a<o.length;a++){K(this.findPane(o[a].pane),t)&&i.push(this.createXYAxis(o[a],!1,a))}for(var s=0;s<r.length;s++){K(this.findPane(r[s].pane),t)&&n.push(this.createXYAxis(r[s],!0,s))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||n[0]},e.prototype.removeAxis=function(e){var o=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?delete this.namedYAxes[o]:delete this.namedXAxes[o],e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype._dispatchEvent=function(t,e,o){for(var i=t._eventCoordinates(e),r=new Lt(i.x,i.y),n=this.axes,a=n.length,s=[],p=[],c=0;c<a;c++){var l=n[c];Tr(l.options.vertical?p:s,l.getCategory(r))}s.length>0&&p.length>0&&t.trigger(o,{element:lt(e),originalEvent:e,x:Vr(s),y:Vr(p)})},e.prototype.updateAxisOptions=function(t,e){var o=t.options.vertical,i=this.groupAxes(this.panes),r=(o?i.y:i.x).indexOf(t);ts(this.options,r,o,e),ts(this.originalOptions,r,o,e)},e.prototype.crosshairOptions=function(t){return Object.assign({},t.options.crosshair,{zIndex:0})},e}(qr);function ts(t,e,o,i){M([].concat(o?t.yAxis:t.xAxis)[e],i)}xt(Ja,{xAxis:{},yAxis:{}}),M(Ja.prototype,Zr);var es=Ja,os="color",is="first",rs="max";zn.current.register(wn,[ti,ei,oi,ri,"area","verticalArea","candlestick","ohlc","bullet","verticalBullet","boxPlot","verticalBoxPlot","rangeColumn","rangeBar","waterfall","horizontalWaterfall","rangeArea","verticalRangeArea"]),zn.current.register(oa,["scatter","scatterLine","bubble"]),zn.current.register(ha,[ii]),zn.current.register(ya,["donut"]),zn.current.register(Ya,["funnel"]),zn.current.register(Oa,["polarArea","polarLine","polarScatter"]),zn.current.register(Ga,["radarArea","radarColumn","radarLine"]),zn.current.register(es,["heatmap"]),Yo.current.register([ti,ei,oi,ri,"area","verticalArea"],[v],["category",os,"noteText","errorLow","errorHigh"]),Yo.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],["from","to"],["category",os,"noteText"]),Yo.current.register(["waterfall","horizontalWaterfall"],[v],["category",os,"noteText","summary"]),Yo.current.register(["polarArea","polarLine","polarScatter"],[_,m],[os]),Yo.current.register(["radarArea","radarColumn","radarLine"],[v],[os]),Yo.current.register(["funnel"],[v],["category",os,"visibleInLegend","visible"]),Jr.current.register([ti,ei,oi,ri,"area","verticalArea","waterfall","horizontalWaterfall"],{value:rs,color:is,noteText:is,errorLow:"min",errorHigh:rs}),Jr.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],{from:"min",to:rs,color:is,noteText:is}),Jr.current.register(["radarArea","radarColumn","radarLine"],{value:rs,color:is}),Yo.current.register(["scatter","scatterLine","bubble"],[_,m],[os,"noteText","xErrorLow","xErrorHigh","yErrorLow","yErrorHigh"]),Yo.current.register(["bubble"],[_,m,"size"],[os,"category","noteText"]),Yo.current.register(["heatmap"],[_,m,v],[os,"noteText"]),Yo.current.register(["candlestick","ohlc"],["open","high","low","close"],["category",os,"downColor","noteText"]),Jr.current.register(["candlestick","ohlc"],{open:rs,high:rs,low:"min",close:rs,color:is,downColor:is,noteText:is}),Yo.current.register(["boxPlot","verticalBoxPlot"],["lower","q1","median","q3","upper","mean","outliers"],["category",os,"noteText"]),Jr.current.register(["boxPlot","verticalBoxPlot"],{lower:rs,q1:rs,median:rs,q3:rs,upper:rs,mean:rs,outliers:is,color:is,noteText:is}),Yo.current.register(["bullet","verticalBullet"],["current","target"],["category",os,"visibleInLegend","noteText"]),Jr.current.register(["bullet","verticalBullet"],{current:rs,target:rs,color:is,noteText:is}),Yo.current.register([ii,"donut"],[v],["category",os,"explode","visibleInLegend","visible"]);var ns=["category",v,_,m],as=function(t){function e(e,o,i,r){var n=this;void 0===r&&(r={}),t.call(this),this.observers=[],this.addObserver(r.observer),this.chartService=new ke(this,r),this.chartService.theme=i,this._initElement(e);var a=M({},this.options,o);this._originalOptions=M({},a),this._theme=i,this._initTheme(a,i),this._initHandlers(),this._initSurface(),this.bindCategories(),bt.preloadFonts(o,(function(){n.fontLoaded=!0,n._destroyed||(n.trigger("init"),n._redraw(),n._attachEvents())}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initElement=function(t){for(this._setElementClass(t),t.style.position="relative";t.firstChild;)t.removeChild(t.firstChild);this.element=t},e.prototype._setElementClass=function(t){x(t,"k-chart")},e.prototype._initTheme=function(t,e){for(var o=[],i=t.series||[],r=0;r<i.length;r++)o.push(Object.assign({},i[r]));t.series=o,function(t){for(var e=ns,o=0;o<e.length;o++){var i=e[o]+"Axes";t[i]&&(t[e[o]+"Axis"]=t[i],delete t[i])}}(t),this.applyDefaults(t,e),null===t.seriesColors&&delete t.seriesColors,this.options=M({},e,t),this.applySeriesColors()},e.prototype.getSize=function(){var t=this.options.chartArea||{};return{width:t.width?parseInt(t.width,10):Math.floor(this.element.offsetWidth),height:t.height?parseInt(t.height,10):Math.floor(this.element.offsetHeight)}},e.prototype.resize=function(t){var e=this.getSize(),o=this._size,i=e.width>0||e.height>0;t||i&&(!o||e.width!==o.width||e.height!==o.height)?(this._size=e,this._resize(e,t),this.trigger("resize",e)):i&&this._selections&&St(this._selections,(function(t){return!t.visible}))&&(this._destroySelections(),this._setupSelection())},e.prototype._resize=function(){this._noTransitionsRedraw()},e.prototype.redraw=function(t){if(this.applyDefaults(this.options),this.applySeriesColors(),t){var e=this._model._plotArea,o=e.findPane(t);e.redraw(o)}else this._redraw()},e.prototype.getAxis=function(t){return Vo(t,this._plotArea.axes)},e.prototype.findAxisByName=function(t){return this.getAxis(t)},e.prototype.findPaneByName=function(t){for(var e=this._plotArea.panes,o=0;o<e.length;o++)if(e[o].options.name===t)return new No(e[o])},e.prototype.findPaneByIndex=function(t){var e=this._plotArea.panes;if(e[t])return new No(e[t])},e.prototype.plotArea=function(){return new Fo(this._plotArea)},e.prototype.toggleHighlight=function(t,e){var o,i,r,n=this._plotArea,a=(n.srcSeries||n.series||[])[0];j(e)?o=n.filterPoints(e):(D(e)?(i=e.series,r=e.category):i=r=e,o="donut"===a.type?ss(n.pointsBySeriesName(i),r):a.type===ii||"funnel"===a.type?ss((n.charts[0]||{}).points,r):n.pointsBySeriesName(i));o&&this.togglePointsHighlight(t,o)},e.prototype.togglePointsHighlight=function(t,e){for(var o=this._highlight,i=0;i<e.length;i++)o.togglePointHighlight(e[i],t)},e.prototype.showTooltip=function(t){var e,o,i=this._sharedTooltip(),r=this._tooltip,n=this._plotArea;if(j(t)?(e=n.findPoint(t))&&i&&(o=e.categoryIx):i&&at(t)&&(o=n.categoryAxis.categoryIndex(t)),i){if(o>=0){var a=this._plotArea.pointsByCategoryIndex(o);r.showAt(a)}}else e&&r.show(e)},e.prototype.hideTooltip=function(){this._tooltip.hide()},e.prototype._initSurface=function(){var t=this.surface,e=this._surfaceWrap(),o=this.options.chartArea||{};o.width&&ct(e,{width:o.width}),o.height&&ct(e,{height:o.height}),t&&t.options.type===this.options.renderAs?(this.surface.clear(),this.surface.resize()):(this._destroySurface(),this.surface=w.drawing.Surface.create(e,{type:this.options.renderAs}),this.surface.bind("mouseenter",this._surfaceMouseenterHandler),this.surface.bind("mouseleave",this._surfaceMouseleaveHandler))},e.prototype._surfaceWrap=function(){return this.element},e.prototype._redraw=function(){var t=this._getModel();this._size={width:t.options.width,height:t.options.height},this._destroyView(),this._model=t,this._plotArea=t._plotArea,t.renderVisual(),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.setup()})),this._initSurface(),this.surface.draw(t.visual),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.play()})),this._tooltip=this._createTooltip(),this._highlight=new kn,this._setupSelection(),this._createPannable(),this._createZoomSelection(),this._createMousewheelZoom(),this.trigger("render"),hs(this._plotArea.panes),this._navState||this._cancelDomEvents()},e.prototype.exportVisual=function(t){var e;if(t&&(t.width||t.height||t.options)){var o=this.options,i=M({},t.options,{chartArea:{width:t.width,height:t.height}});us(this._originalOptions,i),this.options=M({},this._originalOptions,i),this._initTheme(this.options,this._theme),this.bindCategories();var r=this._getModel();r.renderVisual(),hs(r._plotArea.panes),e=r.visual,this.options=o}else e=this.surface.exportVisual();return e},e.prototype._sharedTooltip=function(){return this._plotArea instanceof wn&&this.options.tooltip&&this.options.tooltip.shared},e.prototype._createPannable=function(){var t=this.options;!1!==t.pannable&&(this._pannable=new jn(this._plotArea,t.pannable))},e.prototype._createZoomSelection=function(){var t=this.options.zoomable,e=(t||{}).selection;!1!==t&&!1!==e&&(this._zoomSelection=new Mn(this,e))},e.prototype._createMousewheelZoom=function(){var t=this.options.zoomable,e=(t||{}).mousewheel;!1!==t&&!1!==e&&(this._mousewheelZoom=new Dn(this,e))},e.prototype._toggleDragZoomEvents=function(){var t=this.options.pannable,e=this.options.zoomable,o=(e||{}).selection,i=(e||{}).mousewheel,r=!(t||!1!==e&&!1!==o||this.requiresHandlers(["dragStart","drag","dragEnd"])),n=(!1===e||!1===i)&&!this.requiresHandlers(["zoomStart","zoom","zoomEnd"]),a=this.element;this._dragZoomEnabled&&r&&n?(a.style.touchAction=this._touchAction||"",this._dragZoomEnabled=!1):this._dragZoomEnabled||r&&n||(a.style.touchAction="none",this._dragZoomEnabled=!0),this._toggleDomEvents(!r,!n)},e.prototype._toggleDomEvents=function(t,e){var o=this.domEvents;o&&(o.toggleDrag&&o.toggleDrag(t),o.toggleZoom&&o.toggleZoom(e))},e.prototype._createTooltip=function(){var t=this.options.tooltip;return this._sharedTooltip()?this._createSharedTooltip(t):new Un(this.chartService,t)},e.prototype._createSharedTooltip=function(t){return new Xn(this._plotArea,t)},e.prototype.applyDefaults=function(t,e){!function(t,e){var o,i,r,n=(e||{}).axisDefaults||{};function a(t){var e=(t||{}).color||i.color,r=M({},n,n[o],i,i[o],{line:{color:e},labels:{color:e},title:{color:e}},t);return delete r[o],r}for(var s=0;s<ns.length;s++)o=ns[s]+"Axis",i=t.axisDefaults||{},r=(r=[].concat(t[o])).map(a),t[o]=r.length>1?r:r[0]}(t,e),function(t,e){var o=t.series,i=o.length,r=t.seriesDefaults,n=M({},t.seriesDefaults),a=e?M({},e.seriesDefaults):{},s=M({},a);ps(n),ps(s);for(var p=0;p<i;p++){var c=o[p].type||t.seriesDefaults.type,l=M({data:[]},s,a[c],{tooltip:t.tooltip},n,r[c]);o[p]._defaults=l,o[p]=M({},l,o[p]),o[p].data=o[p].data||[]}}(t,e)},e.prototype.applySeriesColors=function(){for(var t=this.options,e=t.series,o=t.seriesColors||[],i=0;i<e.length;i++){var r=e[i],n=o[i%o.length],a=r._defaults;r.color=r.color||n,a&&(a.color=a.color||n)}},e.prototype._getModel=function(){var t=this.options,e=this._createPlotArea(),o=new te(this._modelOptions());return o.chart=this,o._plotArea=e,le.buildTitle(t.title,o),t.legend&&t.legend.visible&&o.append(new Ln(e.options.legend,this.chartService)),o.append(e),o.reflow(),o},e.prototype._modelOptions=function(){var t=this.options,e=this.getSize();return M({transitions:t.transitions,width:e.width||600,height:e.height||400},t.chartArea)},e.prototype._createPlotArea=function(t){var e=this.options;return zn.current.create(t?[]:e.series,e,this.chartService)},e.prototype._setupSelection=function(){for(var t=this._plotArea.axes,e=this._selections=[],o=0;o<t.length;o++){var i=t[o],r=i.options;if(i instanceof to&&r.select&&!r.vertical){var n=i.range(),a=new Hn(this,i,M({min:n.min,max:n.max},r.select));e.push(a)}}},e.prototype._selectStart=function(t){return this.trigger("selectStart",t)},e.prototype._select=function(t){return this.trigger("select",t)},e.prototype._selectEnd=function(t){return this.trigger("selectEnd",t)},e.prototype._initHandlers=function(){this._clickHandler=this._click.bind(this),this._mousewheelHandler=this._mousewheel.bind(this),this._mouseleaveHandler=this._mouseleave.bind(this),this._surfaceMouseenterHandler=this._mouseover.bind(this),this._surfaceMouseleaveHandler=this._mouseout.bind(this),this._mousemove=Object(w.throttle)(this._mousemove.bind(this),20)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,o=0;o<e.length;o++)if(e[o].requiresHandlers(t))return!0},e.prototype.trigger=function(t,e){void 0===e&&(e={}),"showTooltip"===t&&(e.anchor.point=this._toDocumentCoordinates(e.anchor.point)),e.sender=this;for(var o=this.observers,i=!1,r=0;r<o.length;r++)o[r].trigger(t,e)&&(i=!0);return i},e.prototype._attachEvents=function(){var t,e,o=this.element;this._touchAction=o.style.touchAction,nt(o,((t={}).contextmenu=this._clickHandler,t[ai]=this._mousewheelHandler,t.mouseleave=this._mouseleaveHandler,t)),this._shouldAttachMouseMove()&&nt(o,((e={}).mousemove=this._mousemove,e)),this.domEvents=Oe.create(this.element,{start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)}),this._toggleDragZoomEvents()},e.prototype._mouseleave=function(t){this._hoveredPoint&&(this._hoveredPoint.out(this,t),this._hoveredPoint=null),this._plotArea.hovered&&(this.trigger("plotAreaLeave"),this._plotArea.hovered=!1)},e.prototype._cancelDomEvents=function(){this.domEvents&&this.domEvents.cancel&&this.domEvents.cancel()},e.prototype._gesturestart=function(t){this._mousewheelZoom&&!this._stopChartHandlers(t)&&(this._gestureDistance=t.distance,this._unsetActivePoint(),this.surface.suspendTracking())},e.prototype._gestureend=function(t){this._zooming&&!this._stopChartHandlers(t)&&(this.surface&&this.surface.resumeTracking(),this._zooming=!1,this.trigger("zoomEnd",{}))},e.prototype._gesturechange=function(t){var e=this._mousewheelZoom;if(e&&!this._stopChartHandlers(t)){t.preventDefault();var o=this._gestureDistance,i=-t.distance/o+1;if(Math.abs(i)>=.1){i=Math.round(10*i),this._gestureDistance=t.distance;var r={delta:i,axisRanges:cs(this._plotArea.axes),originalEvent:t};if(this._zooming||!this.trigger("zoomStart",r)){var n=this._eventCoordinates(t);this._zooming||(this._zooming=!0),(r.axisRanges=e.updateRanges(i,n))&&!this.trigger("zoom",r)&&e.zoom()}}}},e.prototype._mouseout=function(t){if(t.element){var e=this._drawingChartElement(t.element,t);e&&e.leave&&e.leave(this,t.originalEvent)}},e.prototype._start=function(t){var e=this._eventCoordinates(t);!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(e)&&(this.requiresHandlers(["dragStart","drag","dragEnd"])&&this._startNavigation(t,e,"dragStart"),this._pannable&&this._pannable.start(t)&&(this.surface.suspendTracking(),this._unsetActivePoint(),this._suppressHover=!0,this.chartService.panning=!0),this._zoomSelection&&this._zoomSelection.start(t)&&this.trigger("zoomStart",{axisRanges:cs(this._plotArea.axes),originalEvent:t}))},e.prototype._move=function(t){var e=this._navState,o=this._pannable;if(!this._stopChartHandlers(t)){if(o){var i=o.move(t);i&&!this.trigger("drag",{axisRanges:i,originalEvent:t})&&o.pan()}else if(e){for(var r={},n=e.axes,a=0;a<n.length;a++){var s=n[a];if(s.options.name){var p=s.options.vertical?t.y:t.x,c=p.startLocation-p.location;0!==c&&(r[s.options.name]=s.translateRange(c))}}e.axisRanges=r,this.trigger("drag",{axisRanges:r,originalEvent:t})}this._zoomSelection&&this._zoomSelection.move(t)}},e.prototype._end=function(t){if(!this._stopChartHandlers(t)){var e=this._pannable;if(e&&e.end(t)?(this.surface.resumeTracking(),this.trigger("dragEnd",{axisRanges:cs(this._plotArea.axes),originalEvent:t}),this._suppressHover=!1,this.chartService.panning=!1):this._endNavigation(t,"dragEnd"),this._zoomSelection){var o=this._zoomSelection.end(t);o&&!this.trigger("zoom",{axisRanges:o,originalEvent:t})&&(this._zoomSelection.zoom(),this.trigger("zoomEnd",{axisRanges:o,originalEvent:t}))}}},e.prototype._stopChartHandlers=function(t){var e=this._selections||[];if(!e.length)return!1;var o=this._eventCoordinates(t),i=this._plotArea.paneByPoint(o);if(i)for(var r=0;r<e.length;r++)if(e[r].onPane(i))return!0},e.prototype._mousewheelZoomRate=function(){var t=(this.options.zoomable||{}).mousewheel||{};return _t(t.rate,.3)},e.prototype._mousewheel=function(t){var e=this,o=ot(t),i=this._mousewheelZoom,r=this._eventCoordinates(t);if(!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(r))if(i){var n={delta:o,axisRanges:cs(this._plotArea.axes),originalEvent:t};!this._zooming&&this.trigger("zoomStart",n)||(t.preventDefault(),this._zooming||(this._unsetActivePoint(),this.surface.suspendTracking(),this._zooming=!0),this._mwTimeout&&clearTimeout(this._mwTimeout),n.axisRanges=i.updateRanges(o,r),n.axisRanges&&!this.trigger("zoom",n)&&i.zoom(),this._mwTimeout=setTimeout((function(){e.trigger("zoomEnd",n),e._zooming=!1,e.surface&&e.surface.resumeTracking()}),150))}else{var a=this._navState;if(!a)this._startNavigation(t,r,"zoomStart")||(a=this._navState);if(a){var s=a.totalDelta||o;a.totalDelta=s+o;for(var p=this._navState.axes,c={},l=0;l<p.length;l++){var u=p[l],h=u.options.name;h&&(c[h]=u.scaleRange(-s*e._mousewheelZoomRate(),r))}this.trigger("zoom",{delta:o,axisRanges:c,originalEvent:t}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._endNavigation(t,"zoomEnd")}),150)}}},e.prototype._startNavigation=function(t,e,o){var i=this._model._plotArea,r=i.findPointPane(e),n=i.axes.slice(0);if(r){var a=cs(n);this.trigger(o,{axisRanges:a,originalEvent:t})?this._cancelDomEvents():(this._suppressHover=!0,this._unsetActivePoint(),this._navState={axisRanges:a,pane:r,axes:n})}},e.prototype._endNavigation=function(t,e){this._navState&&(this.trigger(e,{axisRanges:this._navState.axisRanges,originalEvent:t}),this._suppressHover=!1,this._navState=null)},e.prototype._getChartElement=function(t,e){var o=this.surface.eventTarget(t);if(o)return this._drawingChartElement(o,t,e)},e.prototype._drawingChartElement=function(t,e,o){for(var i,r=t;r&&!i;)i=r.chartElement,r=r.parent;if(i)return i.aliasFor&&(i=i.aliasFor(e,this._eventCoordinates(e))),o&&(i=i.closest(o))&&i.aliasFor&&(i=i.aliasFor()),i},e.prototype._eventCoordinates=function(t){var e=ut(t);return this._toModelCoordinates(e.x,e.y)},e.prototype._elementPadding=function(){if(!this._padding){var t=L(this.element,["paddingLeft","paddingTop"]),e=t.paddingLeft,o=t.paddingTop;this._padding={top:o,left:e}}return this._padding},e.prototype._toDocumentCoordinates=function(t){var e=this._elementPadding(),o=pt(this.element);return{left:vt(t.x+e.left+o.left),top:vt(t.y+e.top+o.top)}},e.prototype._toModelCoordinates=function(t,e){var o=this.element,i=pt(o),r=this._elementPadding(),n=It(o).invert(),a=new w.geometry.Point(t-i.left-r.left,e-i.top-r.top).transform(n);return new Lt(a.x,a.y)},e.prototype._tap=function(t){var e=this,o=this.surface.eventTarget(t),i=this._drawingChartElement(o,t),r=this._sharedTooltip();this._startHover(o,t)||r||this._unsetActivePoint(),r&&this._trackSharedTooltip(this._eventCoordinates(t),t,!0),this._propagateClick(i,t),this.handlingTap=!0,setTimeout((function(){e.handlingTap=!1}),0)},e.prototype._click=function(t){var e=this._getChartElement(t);this._propagateClick(e,t)},e.prototype._propagateClick=function(t,e){for(var o=t;o;)o.click&&o.click(this,e),o=o.parent},e.prototype._startHover=function(t,e){if(this._suppressHover)return!1;var o=this._drawingChartElement(t,e,(function(t){return(t.hover||t.over)&&!(t instanceof qr)})),i=this._activePoint,r=this._plotArea.series.length>1,n=this._hasInactiveOpacity();return this._updateHoveredPoint(o,e),o&&i!==o&&o.hover?(this._activePoint=o,this._sharedTooltip()||o.hover(this,e)||(this._displayTooltip(o),n?this._displayInactiveOpacity(o,r):this._highlight.show(o))):!o&&n&&(r&&this._activeChartInstance&&(this._updateSeriesOpacity(o,!0),this._applySeriesOpacity(this._activeChartInstance.children,null,!0),this._activeChartInstance=null),this._highlight&&this._highlight.hide(),this._activePoint=null),o},e.prototype._displayTooltip=function(t){M({},this.options.tooltip,t.options.tooltip).visible&&this._tooltip.show(t)},e.prototype._displayInactiveOpacity=function(t,e,o){var i=this._activeChartInstance=this._chartInstanceFromPoint(t);if(i)if(e)this._updateSeriesOpacity(t),this._applySeriesOpacity(i.children,null,!0),this._applySeriesOpacity(i.children,t.series),this._highlight.show(o||t);else{var r;if(!i.supportsPointInactiveOpacity())return void this._highlight.show(t);(r=this._getInactivePoints(t,i))&&r.length&&this._highlight.show(r,1-this._getInactiveOpacityForSeries(t.series))}},e.prototype._getInactivePoints=function(t,e){return this._getAllPointsOfType(e,t.constructor).filter((function(e){return e!==t}))},e.prototype._getAllPointsOfType=function(t,e){for(var o=[],i=0;i<t.children.length;i++){var r=t.children[i];r.constructor===e?o.push(r):r.children&&r.children.length&&(o=o.concat(this._getAllPointsOfType(r,e)))}return o},e.prototype._updateHoveredPoint=function(t,e){var o=this._hoveredPoint;o&&o!==t&&(o.out(this,e),this._hoveredPoint=null),t&&o!==t&&t.over&&(this._hoveredPoint=t,t.over(this,e))},e.prototype._updateSeriesOpacity=function(t,e){for(var o=this._plotArea,i=o.series.length,r=0;r<i;r++){var n=o.series[r],a=this._getDefaultOpacityForSeries(n),s=this._getInactiveOpacityForSeries(n);e||n===t.series?(n.opacity=a,n.line&&(n.line.opacity=a)):(n.defaultOpacity=a,n.opacity=s,n.line&&(n.line.opacity=s))}},e.prototype._applySeriesOpacity=function(t,e,o,i){for(var r=0;r<t.length;r++){var n=t[r],a=n.series||i;if(a&&(a.highlight||{}).visible&&n.visual){var s=i?i.opacity:n.series.opacity;(a!==e||o)&&n.visual.opacity(o?1:s)}n.children&&n.children.length&&this._applySeriesOpacity(n.children,e,o,n.series)}},e.prototype._chartInstanceFromPoint=function(t){for(var e=t.parent;e&&!e.plotArea;)e=e.parent;return e},e.prototype._hasInactiveOpacity=function(){var t=void 0!==this.options.seriesDefaults.highlight.inactiveOpacity,e=this.options.series.filter((function(t){return void 0!==t.highlight.inactiveOpacity})).length>0;return t||e},e.prototype._getInactiveOpacityForSeries=function(t){var e=this.options.seriesDefaults.highlight.inactiveOpacity;return t.highlight.inactiveOpacity||e||t.opacity||1},e.prototype._getDefaultOpacityForSeries=function(t){return t.defaultOpacity||t.opacity||1},e.prototype._mouseover=function(t){var e,o=this._startHover(t.element,t.originalEvent);o&&o.tooltipTracking&&!this._mouseMoveTrackHandler&&!this._sharedTooltip()&&(this._mouseMoveTrackHandler=this._mouseMoveTracking.bind(this),nt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)))},e.prototype._mouseMoveTracking=function(t){var e,o=this.options,i=this._tooltip,r=this._highlight,n=this._activePoint,a=this._eventCoordinates(t);if(this._plotArea.box.containsPoint(a)){if(n&&n.tooltipTracking&&n.series&&n.parent.getNearestPoint){var s=n.parent.getNearestPoint(a.x,a.y,n.seriesIx);if(s&&s!==n)if(this._activePoint=s,!s.hover(this,t))M({},o.tooltip,s.options.tooltip).visible&&i.show(s),r.show(s)}}else yt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._unsetActivePoint(),this._mouseMoveTrackHandler=null},e.prototype._mousemove=function(t){var e=this._eventCoordinates(t),o=this._plotArea;if(this._trackCrosshairs(e),o.hover){var i=o.backgroundContainsPoint(e);i?(o.hovered=!0,this._plotArea.hover(this,t)):o.hovered&&!i&&(this.trigger("plotAreaLeave"),o.hovered=!1)}this._sharedTooltip()&&this._trackSharedTooltip(e,t)},e.prototype._trackCrosshairs=function(t){for(var e=this._plotArea.crosshairs,o=0;o<e.length;o++){var i=e[o];i.box.containsPoint(t)?i.showAt(t):i.hide()}},e.prototype._trackSharedTooltip=function(t,e,o){if(!this._suppressHover){var i=this.options.tooltip,r=this._plotArea,n=this._plotArea.categoryAxis,a=this._tooltip,s=this._highlight;if(r.backgroundContainsPoint(t)){var p=n.pointCategoryIndex(t);if(p!==this._tooltipCategoryIx||!this._sharedHighlight&&o){var c=r.pointsByCategoryIndex(p),l=c.map((function(t){return t.eventArgs(e)})),u=l[0]||{};u.categoryPoints=l,c.length>0&&!this.trigger("seriesHover",u)?(i.visible&&a.showAt(c,t),s.show(c),this._sharedHighlight=!0):a.hide(),this._tooltipCategoryIx=p}else o&&this._sharedHighlight&&(s.hide(),a.hide(),this._sharedHighlight=!1)}else this._sharedHighlight&&(s.hide(),a.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1)}},e.prototype.hideElements=function(t){var e=this._plotArea;this._mousemove.cancel(),e.hideCrosshairs(),this._unsetActivePoint(t)},e.prototype._unsetActivePoint=function(t){var e=this._tooltip,o=this._highlight;this._activePoint=null,this._hoveredPoint=null,!e||t&&t.keepTooltipOpen||e.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1,o&&o.hide()},e.prototype._deferRedraw=function(){this._redraw()},e.prototype._clearRedrawTimeout=function(){this._redrawTimeout&&(clearInterval(this._redrawTimeout),this._redrawTimeout=null)},e.prototype.bindCategories=function(){for(var t=this.options,e=[].concat(t.categoryAxis),o=0;o<e.length;o++){var i=e[o];!1!==i.autoBind&&this.bindCategoryAxisFromSeries(i,o)}},e.prototype.bindCategoryAxisFromSeries=function(t,e){for(var o,i=this.options.series,r=i.length,n=new Z,a=[],s=!1,p=0;p<r;p++){var c=i[p],l=c.categoryAxis===t.name||!c.categoryAxis&&0===e,u=c.data,h=u.length,d=c.categoryField&&l;if(s=d||s,d&&h>0)for(var g=(o=Lr(t,Wo(c.categoryField,u[0])))?Rr:Wo,f=0;f<h;f++){var v=u[f],y=g(c.categoryField,v,this.chartService.intl);!o&&n.get(y)||(a.push([y,v]),o||n.set(y,!0))}}if(a.length>0){o&&(a=function(t,e){void 0===e&&(e=He);for(var o=function(t,e){void 0===e&&(e=He);for(var o=1,i=t.length;o<i;o++)if(e(t[o],t[o-1])<0){t.sort(e);break}return t}(t,e),i=o.length,r=i>0?[o[0]]:[],n=1;n<i;n++)0!==e(o[n],ht(r))&&r.push(o[n]);return r}(a,(function(t,e){return He(t[0],e[0])})));var _=function(t){for(var e=t.length,o=[],i=0;i<e;i++)for(var r=t[i],n=r.length,a=0;a<n;a++)o[a]=o[a]||[],o[a].push(r[a]);return o}(a);t.categories=_[0]}else s&&(t.categories=[])},e.prototype._isBindable=function(t){for(var e=Yo.current.valueFields(t),o=!0,i=0;i<e.length;i++){var r=e[i];if(r===v?r="field":r+="Field",!at(t[r])){o=!1;break}}return o},e.prototype._noTransitionsRedraw=function(){var t,e=this.options;!1!==e.transitions&&(e.transitions=!1,t=!0),this._redraw(),t&&(e.transitions=!0)},e.prototype._legendItemHover=function(t,e){var o,i=this._plotArea,r=this._highlight,n=(i.srcSeries||i.series)[t];if(o=K(n.type,[ii,"donut","funnel"])?i.findPoint((function(o){return o.series.index===t&&o.index===e})):i.pointsBySeriesIndex(t),this._hasInactiveOpacity()&&n.visible&&o){var a=i.series.length>1,s=o.length?o[0]:o;this._displayInactiveOpacity(s,a,o)}else r.show(o)},e.prototype._shouldAttachMouseMove=function(){return this._plotArea.crosshairs.length||this._tooltip&&this._sharedTooltip()||this.requiresHandlers(["plotAreaHover","plotAreaLeave"])},e.prototype.updateMouseMoveHandler=function(){var t,e;yt(this.element,((t={}).mousemove=this._mousemove,t)),this._shouldAttachMouseMove()&&nt(this.element,((e={}).mousemove=this._mousemove,e))},e.prototype.applyOptions=function(t,e){us(this._originalOptions,t),this._originalOptions=M(this._originalOptions,t),this.options=M({},this._originalOptions),e&&(this._theme=e,this.chartService.theme=e),this._initTheme(this.options,this._theme),this._toggleDragZoomEvents()},e.prototype.setOptions=function(t,e){this.applyOptions(t,e),this.bindCategories(),this.redraw(),this.updateMouseMoveHandler()},e.prototype.setDirection=function(t){this.chartService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&this._destroySurface()},e.prototype.setIntlService=function(t){this.chartService.intl=t},e.prototype.noTransitionsRedraw=function(){this._noTransitionsRedraw()},e.prototype.destroy=function(){var t,e;this._destroyed=!0,yt(this.element,((t={}).contextmenu=this._clickHandler,t[ai]=this._mousewheelHandler,t.mousemove=this._mousemove,t.mouseleave=this._mouseleaveHandler,t)),this.domEvents&&(this.domEvents.destroy(),delete this.domEvents),this._mouseMoveTrackHandler&&yt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._destroyView(),this._destroySurface(),this._clearRedrawTimeout()},e.prototype._destroySurface=function(){var t=this.surface;t&&(t.unbind("mouseenter",this._surfaceMouseenterHandler),t.unbind("mouseleave",this._surfaceMouseleaveHandler),t.destroy(),this.surface=null)},e.prototype._destroySelections=function(){var t=this._selections;if(t)for(;t.length>0;)t.shift().destroy()},e.prototype._destroyView=function(){var t=this._model;t&&(t.destroy(),this._model=null),this._unsetActivePoint(),this._destroySelections(),this._tooltip&&this._tooltip.destroy(),this._highlight&&this._highlight.destroy(),this._zoomSelection&&(this._zoomSelection.destroy(),delete this._zoomSelection),this._pannable&&(this._pannable.destroy(),delete this._pannable),this._mousewheelZoom&&(this._mousewheelZoom.destroy(),delete this._mousewheelZoom)},e}(w.Class);function ss(t,e){if(t)for(var o=0;o<t.length;o++)if(t[o].category===e)return[t[o]]}function ps(t){delete t.bar,delete t.column,delete t.rangeColumn,delete t.line,delete t.verticalLine,delete t.pie,delete t.donut,delete t.area,delete t.verticalArea,delete t.scatter,delete t.scatterLine,delete t.bubble,delete t.candlestick,delete t.ohlc,delete t.boxPlot,delete t.bullet,delete t.verticalBullet,delete t.polarArea,delete t.polarLine,delete t.radarArea,delete t.radarLine,delete t.waterfall}function cs(t){for(var e={},o=0;o<t.length;o++){var i=t[o],r=i.options.name;r&&(e[r]=i.range())}return e}var ls=["data","categories"];function us(t,e){for(var o in e)if(!K(o,ls)&&e.hasOwnProperty(o)){var i=e[o],r=t[o];if(at(r)){var n=null===i;n||!at(i)?(delete t[o],n&&delete e[o]):r&&D(i)&&D(r)&&us(r,i)}}}function hs(t){for(var e=0;e<t.length;e++)t[e].notifyRender()}xt(as,{renderAs:"",chartArea:{},legend:{visible:!0,labels:{}},categoryAxis:{},seriesDefaults:{type:ei,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});var ds=as,gs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._slotAnchor=function(t,e){var o=this.plotArea.categoryAxis.options.vertical,i=o?{horizontal:"left",vertical:"center"}:{horizontal:"center",vertical:"bottom"};return{point:o?new Lt(this.plotArea.box.x2,e.center().y):new Lt(e.center().x,-2),align:i}},e.prototype._defaultAnchor=function(t,e){return this._slotAnchor({},e)},e}(Xn),fs=[ti,"bullet"];function vs(t){for(var e=[],o=0;o<t.length;o++){var i=t[o];e[o]=i.style.display,i.style.display="none"}return e}function ys(t,e){for(var o=0;o<t.length;o++)t[o].style.display=e[o]}function _s(t){return I(t)?[t]:t}var ms=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._setElementClass=function(t){x(t,"k-sparkline")},e.prototype._initElement=function(e){t.prototype._initElement.call(this,e),this._initialWidth=Math.floor(ct(e).width)},e.prototype._resize=function(){var e=this.element,o=vs(e.childNodes);this._initialWidth=Math.floor(ct(e).width),ys(e.childNodes,o),t.prototype._resize.call(this)},e.prototype._modelOptions=function(){var t=this.options,e=this._surfaceWrap(),o=vs(e.childNodes),i=document.createElement("span");i.innerHTML=" ",e.appendChild(i);var r=M({width:this._autoWidth,height:ct(e).height,transitions:t.transitions},t.chartArea,{inline:!0,align:!1});return ct(e,{width:r.width,height:r.height}),e.removeChild(i),ys(e.childNodes,o),this.surface&&this.surface.resize(),r},e.prototype._surfaceWrap=function(){if(!this.stage){var t=this.stage=document.createElement("span");this.element.appendChild(t)}return this.stage},e.prototype._createPlotArea=function(e){var o=t.prototype._createPlotArea.call(this,e);return this._autoWidth=this._initialWidth||this._calculateWidth(o),o},e.prototype._calculateWidth=function(t){for(var e=this.options,o=V(e.chartArea.margin),i=t.charts,r=this._surfaceWrap(),n=0,a=0;a<i.length;a++){var s=i[a],p=(s.options.series||[])[0];if(p){if(p.type===ti)return 150;if("bullet"===p.type)return 150;if(p.type===ii)return ct(r).height;var c=s.categoryAxis;if(c){var l=c.categoriesCount()*(!s.options.isStacked&&K(p.type,[ei,"verticalBullet"])?s.seriesOptions.length:1);n=Math.max(n,l)}}}var u=n*e.pointWidth;return u>0&&(u+=o.left+o.right),u},e.prototype._createSharedTooltip=function(t){return new gs(this._plotArea,t)},e.normalizeOptions=function(t){var e=_s(t);return(e=b(e)?{seriesDefaults:{data:e}}:M({},e)).series||(e.series=[{data:_s(e.data)}]),M(e,{seriesDefaults:{type:e.type}}),(K(e.series[0].type,fs)||K(e.seriesDefaults.type,fs))&&(e=M({},{categoryAxis:{crosshair:{visible:!1}}},e)),e},e}(ds);xt(ms,{chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]});var bs=ms,xs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._initialOpacity=parseFloat(L(this.element,"opacity").opacity)},e.prototype.step=function(t){L(this.element,{opacity:String(Q(this._initialOpacity,0,t))})},e.prototype.abort=function(){t.prototype.abort.call(this),L(this.element,{display:"none",opacity:String(this._initialOpacity)})},e.prototype.cancel=function(){t.prototype.abort.call(this),L(this.element,{opacity:String(this._initialOpacity)})},e}(w.drawing.Animation);function Cs(t,e){var o=document.createElement("div");return o.className=t,e&&(o.style.cssText=e),o}var Ss=function(t){function e(e,o,i){t.call(this),this.options=M({},this.options,i),this.container=e,this.chartService=o;var r=L(e,["paddingLeft","paddingTop"]);this.chartPadding={top:r.paddingTop,left:r.paddingLeft},this.createElements(),e.appendChild(this.element)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElements=function(){var t=this.element=Cs("k-navigator-hint","display: none; position: absolute; top: 1px; left: 1px;"),e=this.tooltip=Cs("k-tooltip k-chart-tooltip"),o=this.scroll=Cs("k-scroll");e.innerHTML=" ",t.appendChild(e),t.appendChild(o)},e.prototype.show=function(t,e,o){var i=this.element,r=this.options,n=this.scroll,a=this.tooltip,s=Ve(We(t)+We(e-t)/2),p=.4*o.width(),c=o.center().x-p,l=(o.center().x-c)/(r.max-r.min),u=s-r.min,h=this.chartService.intl.format(r.format,t,e),d=G(r);this.clearHideTimeout(),this._visible||(L(i,{visibility:"hidden",display:"block"}),this._visible=!0),d&&(h=d({from:t,to:e})),a.innerHTML=h,L(a,{left:o.center().x-a.offsetWidth/2,top:o.y1});var g=L(a,["marginTop","borderTopWidth","height"]);L(n,{width:p,left:c+u*l,top:o.y1+g.marginTop+g.borderTopWidth+g.height/2}),L(i,{visibility:"visible"})},e.prototype.clearHideTimeout=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideAnimation&&this._hideAnimation.cancel()},e.prototype.hide=function(){var t=this;this.clearHideTimeout(),this._hideTimeout=setTimeout((function(){t._visible=!1,t._hideAnimation=new xs(t.element),t._hideAnimation.setup(),t._hideAnimation.play()}),this.options.hideDelay)},e.prototype.destroy=function(){this.clearHideTimeout(),this.container&&this.container.removeChild(this.element),delete this.container,delete this.chartService,delete this.element,delete this.tooltip,delete this.scroll},e}(w.Class);xt(Ss,{format:"{0:d} - {1:d}",hideDelay:500});var ws=Ss,As="_navigator",ks=As;function Is(){}var Os=function(t){function e(e){var o;t.call(this),this.chart=e;var i=this.options=M({},this.options,e.options.navigator),r=i.select;r&&(r.from=this.parseDate(r.from),r.to=this.parseDate(r.to)),at(i.hint.visible)||(i.hint.visible=i.visible),this.chartObserver=new J(this,((o={}).drag="_drag",o.dragEnd="_dragEnd",o.zoom="_zoom",o.zoomEnd="_zoomEnd",o)),e.addObserver(this.chartObserver)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parseDate=function(t){return Ke(this.chart.chartService.intl,t)},e.prototype.clean=function(){this.selection&&(this.selection.destroy(),this.selection=null),this.hint&&(this.hint.destroy(),this.hint=null)},e.prototype.destroy=function(){this.chart&&(this.chart.removeObserver(this.chartObserver),delete this.chart),this.clean()},e.prototype.redraw=function(){this._redrawSelf(),this.initSelection()},e.prototype.initSelection=function(){var t,e=this.chart,o=this.options,i=this.mainAxis(),r=i.roundedRange(),n=r.min,a=r.max,s=o.select,p=s.from,c=s.to,l=s.mousewheel,u=(t=i,Is.prototype=t,new Is);0!==i.categoriesCount()&&(this.clean(),u.box=i.box,this.selection=new Hn(e,u,{min:n,max:a,from:p||n,to:c||a,mousewheel:_t(l,{zoom:"left"}),visible:o.visible},new J(this,{selectStart:"_selectStart",select:"_select",selectEnd:"_selectEnd"})),o.hint.visible&&(this.hint=new ws(e.element,e.chartService,{min:n,max:a,template:G(o.hint),format:o.hint.format})))},e.prototype.setRange=function(){var t=this.chart._createPlotArea(!0).namedCategoryAxes[ks].roundedRange(),e=t.min,o=t.max,i=this.options.select||{},r=i.from||e;r<e&&(r=e);var n=i.to||o;n>o&&(n=o),this.options.select=M({},i,{from:r,to:n}),this.filterAxes()},e.prototype._redrawSelf=function(t){var e=this.chart._plotArea;e&&e.redraw(ht(e.panes),t)},e.prototype.redrawSlaves=function(){var t=this.chart,e=t._plotArea,o=e.panes.slice(0,-1);e.srcSeries=t.options.series,e.options.categoryAxis=t.options.categoryAxis,e.clearSeriesPointsCache(),e.redraw(o)},e.prototype._drag=function(t){var e,o=this.chart,i=this.selection,r=o._eventCoordinates(t.originalEvent),n=this.mainAxis(),a=n.roundedRange(),s=n.pane.box.containsPoint(r),p=o._plotArea.categoryAxis,c=t.axisRanges[p.options.name],l=this.options.select;if(c&&!s&&i){e=l.from&&l.to?We(l.to)-We(l.from):We(i.options.to)-We(i.options.from);var u=Ve(dt(We(c.min),a.min,We(a.max)-e)),h=Ve(dt(We(u)+e,We(a.min)+e,a.max));this.options.select={from:u,to:h},this.options.liveDrag&&(this.filterAxes(),this.redrawSlaves()),i.set(u,h),this.showHint(u,h)}},e.prototype._dragEnd=function(){this.filterAxes(),this.filter(),this.redrawSlaves(),this.hint&&this.hint.hide()},e.prototype.readSelection=function(){var t=this.selection.options,e=t.from,o=t.to,i=this.options.select;i.from=e,i.to=o},e.prototype.filterAxes=function(){var t=this.options.select;void 0===t&&(t={});for(var e=this.chart.options.categoryAxis,o=t.from,i=t.to,r=0;r<e.length;r++){var n=e[r];n.pane!==As&&(n.min=o,n.max=i)}},e.prototype.filter=function(){var t=this.chart,e=this.options.select;if(t.requiresHandlers(["navigatorFilter"])){var o=this.mainAxis(),i={from:e.from,to:e.to};if("category"!==o.options.type){var r=new co(M({baseUnit:"fit"},t.options.categoryAxis[0],{categories:[e.from,e.to]}),t.chartService).options;i.from=Ne(r.min,-r.baseUnitStep,r.baseUnit),i.to=Ne(r.max,r.baseUnitStep,r.baseUnit)}this.chart.trigger("navigatorFilter",i)}},e.prototype._zoom=function(t){var e=this.chart._plotArea.categoryAxis,o=this.selection,i=this.options,r=i.select,n=i.liveDrag,a=this.mainAxis(),s=t.delta;if(o){var p=a.categoryIndex(o.options.from),c=a.categoryIndex(o.options.to),l=this.chart._eventCoordinates(t.originalEvent);t.originalEvent.preventDefault(),Math.abs(s)>1&&(s*=3),c-p>1?(o.zoom(s,l),this.readSelection()):(e.options.min=r.from,r.from=e.scaleRange(-t.delta*this.chart._mousewheelZoomRate(),l).min),n&&(this.filterAxes(),this.redrawSlaves()),o.set(r.from,r.to),this.showHint(this.options.select.from,this.options.select.to)}},e.prototype._zoomEnd=function(t){this._dragEnd(t)},e.prototype.showHint=function(t,e){var o=this.chart._plotArea;this.hint&&this.hint.show(t,e,o.backgroundBox())},e.prototype._selectStart=function(t){return this.chart._selectStart(t)},e.prototype._select=function(t){return this.showHint(t.from,t.to),this.chart._select(t)},e.prototype._selectEnd=function(t){return this.hint&&this.hint.hide(),this.readSelection(),this.filterAxes(),this.filter(),this.redrawSlaves(),this.chart._selectEnd(t)},e.prototype.mainAxis=function(){var t=this.chart._plotArea;if(t)return t.namedCategoryAxes[ks]},e.prototype.select=function(t,e){var o=this.options.select;return t&&e&&(o.from=this.parseDate(t),o.to=this.parseDate(e),this.filterAxes(),this.filter(),this.redrawSlaves(),this.selection.set(t,e)),{from:o.from,to:o.to}},e.setup=function(t,o){if(void 0===t&&(t={}),void 0===o&&(o={}),!t.__navi){t.__navi=!0;var i=M({},o.navigator,t.navigator),r=t.panes=[].concat(t.panes),n=M({},i.pane,{name:As});i.visible||(n.visible=!1,n.height=.1),r.push(n),e.attachAxes(t,i),e.attachSeries(t,i,o)}},e.attachAxes=function(t,e){var o=e.series||[],i=t.categoryAxis=[].concat(t.categoryAxis),r=t.valueAxis=[].concat(t.valueAxis),n=0===Br(o,ni).length,a=M({type:"date",pane:As,roundToBaseUnit:!n,justified:n,_collapse:!1,majorTicks:{visible:!0},tooltip:{visible:!1},labels:{step:1},autoBind:e.autoBindElements,autoBaseUnitSteps:{minutes:[1],hours:[1,2],days:[1,2],weeks:[],months:[1],years:[1]}}),s=e.categoryAxis;i.push(M({},a,{maxDateGroups:200},s,{name:ks,title:null,baseUnit:"fit",baseUnitStep:"auto",labels:{visible:!1},majorTicks:{visible:!1}}),M({},a,s,{name:ks+"_labels",maxDateGroups:20,baseUnitStep:"auto",labels:{position:""},plotBands:[],autoBaseUnitSteps:{minutes:[]},_overlap:!0}),M({},a,s,{name:ks+"_ticks",maxDateGroups:200,majorTicks:{width:.5},plotBands:[],title:null,labels:{visible:!1,mirror:!0},_overlap:!0})),r.push(M({name:ks,pane:As,majorGridLines:{visible:!1},visible:!1},e.valueAxis))},e.attachSeries=function(t,e,o){for(var i=t.series=t.series||[],r=[].concat(e.series||[]),n=o.seriesColors,a=e.seriesDefaults,s=0;s<r.length;s++)i.push(M({color:n[s%n.length],categoryField:e.dateField,visibleInLegend:!1,tooltip:{visible:!1}},a,r[s],{axis:ks,categoryAxis:ks,autoBind:e.autoBindElements}))},e}(w.Class),Ps=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.applyDefaults=function(e,o){var i=ct(this.element).width||600,r=o,n={seriesDefaults:{categoryField:e.dateField},axisDefaults:{categoryAxis:{name:"default",majorGridLines:{visible:!1},labels:{step:2},majorTicks:{visible:!1},maxDateGroups:Math.floor(i/28)}}};r&&(r=M({},r,n)),Os.setup(e,r),t.prototype.applyDefaults.call(this,e,r)},e.prototype._setElementClass=function(t){x(t,"k-chart k-stockchart")},e.prototype.setOptions=function(e){this.destroyNavigator(),t.prototype.setOptions.call(this,e)},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this.options.transitions=!1,this._fullRedraw(),this.options.transitions=t},e.prototype._resize=function(){this.noTransitionsRedraw()},e.prototype._redraw=function(){var t=this.navigator;!this._dirty()&&t&&t.options.partialRedraw?t.redrawSlaves():this._fullRedraw()},e.prototype._dirty=function(){var t=this.options,e=X([].concat(t.series,t.navigator.series),(function(t){return t&&t.visible})).length,o=this._seriesCount!==e;return this._seriesCount=e,o},e.prototype._fullRedraw=function(){var e=this.navigator;e||(e=this.navigator=new Os(this),this.trigger("navigatorCreated",{navigator:e})),e.clean(),e.setRange(),t.prototype._redraw.call(this),e.initSelection()},e.prototype._trackSharedTooltip=function(e){var o=this._plotArea.paneByPoint(e);o&&o.options.name===As?this._unsetActivePoint():t.prototype._trackSharedTooltip.call(this,e)},e.prototype.bindCategories=function(){t.prototype.bindCategories.call(this),this.copyNavigatorCategories()},e.prototype.copyNavigatorCategories=function(){for(var t,e=[].concat(this.options.categoryAxis),o=0;o<e.length;o++){var i=e[o];i.name===ks?t=i.categories:t&&i.pane===As&&(i.categories=t)}},e.prototype.destroyNavigator=function(){this.navigator&&(this.navigator.destroy(),this.navigator=null)},e.prototype.destroy=function(){this.destroyNavigator(),t.prototype.destroy.call(this)},e.prototype._stopChartHandlers=function(e){var o=this._eventCoordinates(e),i=this._plotArea.paneByPoint(o);return t.prototype._stopChartHandlers.call(this,e)||i&&i.options.name===As},e.prototype._toggleDragZoomEvents=function(){this._dragZoomEnabled||(this.element.style.touchAction="none",this._dragZoomEnabled=!0)},e}(ds);xt(Ps,{dateField:"date",axisDefaults:{categoryAxis:{type:"date",baseUnit:"fit",justified:!0},valueAxis:{narrowRange:!0,labels:{format:"C"}}},navigator:{select:{},seriesDefaults:{markers:{visible:!1},tooltip:{visible:!0},line:{width:2}},hint:{},visible:!0},tooltip:{visible:!0},legend:{visible:!1}});var js=Ps,Ts=Math.PI/180;function Ms(t,e){var o=t.getOrigin(),i=t.getSize(),r=V(e);return t.setOrigin([o.x-r.left,o.y-r.top]),t.setSize([i.width+(r.left+r.right),i.height+(r.top+r.bottom)]),t}var Ds=w.drawing.Group,Es=w.drawing.Path,Bs=w.drawing.Text;function Rs(t,e){var o=t.box,i=t.children[0].box,r=e.border||{},n=e.background||"",a=Es.fromRect(new w.geometry.Rect([o.x1,o.y1],[o.width(),o.height()]),{stroke:{}}),s=new Bs(t.text,new w.geometry.Point(i.x1,i.y1),{font:e.font,fill:{color:e.color}}),p=Ms(s.bbox().clone(),e.padding),c=Es.fromRect(p,{stroke:{color:r.width?r.color:"",width:r.width,opacity:r.opacity,dashType:r.dashType,lineJoin:"round",lineCap:"round"},fill:{color:n}}),l=new Ds;return l.append(a),l.append(c),l.append(s),l}function Ls(t,e,o){var i=at(t.from)?t.from:d,r=at(t.to)?t.to:h;return t.from=Math.max(Math.min(r,i),e),t.to=Math.min(Math.max(r,i),o),t}function Vs(t,e){var o=V(e);return o.left=-o.left,o.top=-o.top,o.right=-o.right,o.bottom=-o.bottom,Ms(t,o)}var zs=w.drawing.Path,Ns=w.drawing.Surface,Fs=function(t){function e(e,o,i,r){void 0===r&&(r={}),t.call(this),this.element=e,this.theme=i,this.contextService=new ke(this,r),this._originalOptions=M({},this.options,o),this.options=M({},this._originalOptions),this._initTheme(i),this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.surface&&(this.surface.destroy(),this.surface=null),delete this.element,delete this.surfaceElement},e.prototype.value=function(t){var e=this.pointers[0];if(0===arguments.length)return e.value();e.value(t),this._setValueOptions(t)},e.prototype._draw=function(){var t=this.surface;t.clear(),t.draw(this._visuals)},e.prototype.exportVisual=function(){return this._visuals},e.prototype.allValues=function(t){var e=this.pointers,o=[];if(0===arguments.length){for(var i=0;i<e.length;i++)o.push(e[i].value());return o}if(b(t))for(var r=0;r<t.length;r++)I(t[r])&&e[r].value(t[r]);this._setValueOptions(t)},e.prototype._setValueOptions=function(t){for(var e=[].concat(this.options.pointer),o=[].concat(t),i=0;i<o.length;i++)e[i].value=o[i]},e.prototype.resize=function(){this.noTransitionsRedraw()},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this._toggleTransitions(!1),this.redraw(),this._toggleTransitions(t)},e.prototype.redraw=function(){var t=this._surfaceSize(),e=new w.geometry.Rect([0,0],[t.width,t.height]);this._initSurface(),this.gaugeArea=this._createGaugeArea(),this._createModel();var o=Vs(e.bbox(),this._gaugeAreaMargin);this.reflow(o)},e.prototype.setOptions=function(t,e){this._originalOptions=M(this._originalOptions,t),this.options=M({},this._originalOptions),this._initTheme(e),this.redraw()},e.prototype.setDirection=function(t){this.contextService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&(this.surface.destroy(),this.surface=null)},e.prototype.setIntlService=function(t){this.contextService.intl=t},e.prototype._initTheme=function(t){var e=t||this.theme||{};this.theme=e,this.options=M({},e,this.options);var o=this.options,i=o.pointer;if(b(i)){for(var r=[],n=0;n<i.length;n++)r.push(M({},e.pointer,i[n]));o.pointer=r}},e.prototype._createGaugeArea=function(){var t=this.options.gaugeArea,e=this.surface.size(),o=t.border||{},i=new w.geometry.Rect([0,0],[e.width,e.height]);return this._gaugeAreaMargin=t.margin||5,o.width>0&&(i=Vs(i,o.width)),zs.fromRect(i,{stroke:{color:o.width?o.color:"",width:o.width,dashType:o.dashType,lineJoin:"round",lineCap:"round"},fill:{color:t.background}})},e.prototype._initSurface=function(){var t=this.options,e=this.surface,o=this._surfaceElement(),i=this._surfaceSize();ct(o,i),e&&e.options.type===t.renderAs?(this.surface.clear(),this.surface.resize()):(e&&e.destroy(),this.surface=Ns.create(o,{type:t.renderAs}))},e.prototype._surfaceSize=function(){var t=this.options,e=this._getSize();return t.gaugeArea&&M(e,t.gaugeArea),e},e.prototype._surfaceElement=function(){return this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.element.appendChild(this.surfaceElement)),this.surfaceElement},e.prototype.getSize=function(){return this._getSize()},e.prototype._getSize=function(){var t=this.element,e=this._defaultSize(),o=t.offsetWidth,i=t.offsetHeight;return o||(o=e.width),i||(i=e.height),{width:o,height:i}},e.prototype._defaultSize=function(){return{width:200,height:200}},e.prototype._toggleTransitions=function(t){this.options.transitions=t;for(var e=0;e<this.pointers.length;e++)this.pointers[e].options.animation.transitions=t},e}(w.Class);xt(Fs,{plotArea:{},theme:"default",renderAs:"",pointer:{},scale:{},gaugeArea:{}});var Gs=Fs,Hs=w.drawing.Path,Us=w.drawing.Group,Ws=w.geometry.Point;function Xs(t,e){var o,i,r=t.position,n=t.tickX,a=t.tickY;return t.vertical?(o=new Ws(n,r),i=new Ws(n+e.size,r)):(o=new Ws(r,a),i=new Ws(r,a+e.size)),new Hs({stroke:{color:e.color,width:e.width}}).moveTo(o).lineTo(i)}function Ys(t,e,o,i){var r=e.length;if(i.visible)for(var n=o.mirror,a=o.lineBox,s=i.skip;s<r;s+=i.step)s%i.skipUnit!=0&&(o.tickX=n?a.x2:a.x2-i.size,o.tickY=n?a.y1-i.size:a.y1,o.position=e[s],t.append(Xs(o,i)))}var qs=function(t){function e(e,o){var i=e||{};!at(i.reverse)&&!1===i.vertical&&(o||{}).rtl&&(i=Object.assign({},i,{reverse:!0})),t.call(this,0,1,i,o),this.options.minorUnit=this.options.minorUnit||this.options.majorUnit/10}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=M({},this.options,t);return(e=M({},e,{labels:{mirror:e.mirror}})).majorUnit=e.majorUnit||Rt(e.min,e.max),e},e.prototype.initFields=function(){},e.prototype.render=function(){var t=this.elements=new Us,e=this.renderLabels(),o=this.renderLine(),i=this.renderTicks(),r=this.renderRanges();return t.append(o,e,i,r),t},e.prototype.renderRanges=function(){for(var t=this.options,e=t.min,o=t.max,i=t.vertical,r=t.labels.mirror,n=t.ranges||[],a=new Us,s=n.length,p=t.rangeSize||t.minorTicks.size/2,c=0;c<s;c++){var l=Ls(n[c],e,o),u=this.getSlot(l.from,l.to),h=i?this.lineBox():u,d=i?u:this.lineBox();i?h.x1-=p*(r?-1:1):d.y2+=p*(r?-1:1),a.append(Hs.fromRect(new w.geometry.Rect([h.x1,d.y1],[h.x2-h.x1,d.y2-d.y1]),{fill:{color:l.color,opacity:l.opacity},stroke:{}}))}return a},e.prototype.renderLabels=function(){for(var t=this.labels,e=this.options,o=new Us,i=0;i<t.length;i++)o.append(Rs(t[i],e.labels));return o},e.prototype.renderLine=function(){var t=this.options.line,e=this.lineBox(),o=new Us;if(t.width>0&&t.visible){var i=new Hs({stroke:{color:t.color,dashType:t.dashType,width:t.width}});i.moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),o.append(i)}return o},e.prototype.renderTicks=function(){var t=new Us,e=this.options,o=e.majorTicks.visible?e.majorUnit:0,i={vertical:e.vertical,mirror:e.labels.mirror,lineBox:this.lineBox()};return Ys(t,this.getMajorTickPositions(),i,e.majorTicks),Ys(t,this.getMinorTickPositions(),i,M({},{skipUnit:o/e.minorUnit},e.minorTicks)),t},e}(yo);xt(qs,{min:0,max:50,majorTicks:{size:15,align:"inside",color:n,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:n,width:.5,visible:!0},line:{width:.5},labels:{position:"inside",padding:2},mirror:!1,_alignLines:!1});var Zs=qs,Ks=function(t){function e(e,o){t.call(this);var i=e.options,r=i.min,n=i.max,a=this.options=M({},this.options,o);a.fill=a.color,this.scale=e,at(a.value)?a.value=dt(a.value,r,n):a.value=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this.options,o=e.value;if(0===arguments.length)return o;var i=this.scale.options,r=i.min,n=i.max;e._oldValue=at(e._oldValue)?e.value:r,e.value=dt(t,r,n),this.elements&&this.repaint()},e}(w.Class);xt(Ks,{color:n});var Qs=Ks,$s=function(t){function e(e,o){t.call(this,e,o),this.options=M({track:{visible:at(o.track)}},this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t,e,o,i=this.options,r=this.scale,n=r.options,a=n.mirror,s=n.vertical,p=r.lineBox(),c=i.track.size||i.size,l=i.size/2,u=V(i.margin),h=s?u[a?"left":"right"]:u[a?"bottom":"top"];h=a?-h:h,s?(o=new zt(p.x1+h,p.y1,p.x1+h,p.y2),a?o.x1-=c:o.x2+=c,"barPointer"!==i.shape&&(t=e=new zt(p.x2+h,p.y1-l,p.x2+h,p.y2+l))):(o=new zt(p.x1,p.y1-h,p.x2,p.y1-h),a?o.y2+=c:o.y1-=c,"barPointer"!==i.shape&&(t=e=new zt(p.x1-l,p.y1-h,p.x2+l,p.y1-h))),this.trackBox=o,this.pointerRangeBox=e,this.box=t||o.clone().pad(i.border.width)},e.prototype.getElementOptions=function(){var t=this.options;return{fill:{color:t.color,opacity:t.opacity},stroke:at(t.border)?{color:t.border.width?t.border.color||t.color:"",width:t.border.width,dashType:t.border.dashType,opacity:t.opacity}:null}},e.prototype._margin=function(){var t=this.scale,e=this.options,o=t.options,i=o.mirror,r=o.vertical,n=V(e.margin);return r?n[i?"left":"right"]:n[i?"bottom":"top"]},e}(Qs);xt($s,{shape:"barPointer",track:{border:{width:1}},color:n,border:{width:1},opacity:1,margin:V(3),animation:{type:"barPointer"},visible:!0});var Js=$s,tp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=t.margin,o=t.from,i=t.to,r=t.vertical,n=r?"x1":"y1";t.mirror===r?(o[n]-=e,i[n]-=e):(o[n]+=e,i[n]+=e);var a=this.fromScale=new w.geometry.Point(o.x1,o.y1),s=this.toScale=new w.geometry.Point(i.x1,i.y1);0!==t.duration&&(t.duration=Math.max(a.distanceTo(s)/t.duration*1e3,1))},e.prototype.step=function(t){var e=Q(this.fromScale.x,this.toScale.x,t),o=Q(this.fromScale.y,this.toScale.y,t);this.element.transform(w.geometry.transform().translate(e,o))},e}(w.drawing.Animation);xt(tp,{easing:"linear",duration:250}),w.drawing.AnimationFactory.current.register("arrowPointer",tp);var ep=tp,op=w.geometry.Point,ip=w.drawing.Path,rp=function(t){function e(e,o){t.call(this,e,o),at(this.options.size)||(this.options.size=.6*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(){var t=this.scale,e=this.options.size,o=e/2,i=t.options.mirror?-1:1;return t.options.vertical?[new op(0,0-o),new op(0-i*e,0),new op(0,0+o)]:[new op(0-o,0),new op(0,0+i*e),new op(0+o,0)]},e.prototype.repaint=function(){var t=this.scale,e=this.options,o=new ep(this.elements,M(e.animation,{vertical:t.options.vertical,mirror:t.options.mirror,margin:this._margin(e.margin),from:t.getSlot(e._oldValue),to:t.getSlot(e.value)}));!1===e.animation.transitions&&(o.options.duration=0),o.setup(),o.play()},e.prototype.render=function(){var t=this.scale,e=this.options,o=this.getElementOptions(),i=this.pointerShape(e.value);e.animation.type="arrowPointer";var r=new ip({stroke:o.stroke,fill:o.fill}).moveTo(i[0]).lineTo(i[1]).lineTo(i[2]).close(),n=t.getSlot(e.value);return r.transform(w.geometry.transform().translate(n.x1,n.y1)),this.elements=r,r},e}(Js),np=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=this.axis=t.vertical?m:_,o=this.to=t.newPoints[0][e],i=this.from=t.oldPoints[0][e];0!==t.duration&&(t.duration=Math.max(Math.abs(o-i)/t.speed*1e3,1)),this._set(i)},e.prototype.step=function(t){var e=Q(this.from,this.to,t);this._set(e)},e.prototype._set=function(t){var e="set"+this.axis.toUpperCase(),o=this.options.newPoints;o[0][e](t),o[1][e](t)},e}(w.drawing.Animation);xt(np,{easing:"linear",speed:250}),w.drawing.AnimationFactory.current.register("barPointer",np);var ap=np,sp=w.drawing.Group,pp=w.drawing.Path,cp=function(t){function e(e,o){t.call(this,e,o),at(this.options.size)||(this.options.size=.3*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(t){var e=this.scale,o=this.options,i=e.options,r=i.mirror,n=i.vertical,a=r===n?-1:1,s=o.size*a,p=e.getSlot(e.options.min),c=e.getSlot(t),l=n?m:_,u=n?_:m,h=this._margin()*a,d=new w.geometry.Point;d[l]=p[l+"1"],d[u]=p[u+"1"];var g=new w.geometry.Point;g[l]=c[l+"1"],g[u]=c[u+"1"],n?(d.translate(h,0),g.translate(h,0)):(d.translate(0,h),g.translate(0,h));var f=g.clone(),v=d.clone();return n?(f.translate(s,0),v.translate(s,0)):(f.translate(0,s),v.translate(0,s)),[d,g,f,v]},e.prototype.repaint=function(){var t=this.scale,e=this.options,o=this.pointerShape(e.value),i=this.pointerPath,r=this.pointerShape(e._oldValue);i.moveTo(o[0]).lineTo(o[1]).lineTo(o[2]).lineTo(o[3]).close();var n=new ap(i,M(e.animation,{reverse:t.options.reverse,vertical:t.options.vertical,oldPoints:[r[1],r[2]],newPoints:[o[1],o[2]]}));!1===e.animation.transitions&&(n.options.duration=0),n.setup(),n.play()},e.prototype.render=function(){var t=new sp,e=this.getElementOptions();this.options.track.visible&&t.append(this.renderTrack());var o=this.pointerPath=new pp({stroke:e.stroke,fill:e.fill});return t.append(o),this.elements=t,t},e.prototype.renderTrack=function(){var t=this.options.track,e=t.border||{},o=this.trackBox.clone().pad(e.width||0);return new pp.fromRect(o.toRect(),{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.width?e.color||t.color:"",width:e.width,dashType:e.dashType}})},e}(Js),lp=w.drawing.Group,up=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers,o=t.origin.x,i=t.origin.y,r=new zt(o,i,o+t.width(),i+t.height());this.scale.reflow(r),this._shrinkScaleWidth(r);for(var n=0;n<e.length;n++)e[n].reflow();this.bbox=this._getBox(r),this._alignElements(),this._shrinkElements(),this._buildVisual(),this._draw()},e.prototype._buildVisual=function(){var t=new lp,e=this.scale.render(),o=this.pointers;t.append(this.gaugeArea),t.append(e);for(var i=0;i<o.length;i++){var r=o[i];t.append(r.render()),r.value(r.options.value)}this._visuals=t},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Zs(t.scale,this.contextService);this.pointers=[];var o=t.pointer;o=b(o)?o:[o];for(var i=0;i<o.length;i++){var r=M({},o[i],{animation:{transitions:t.transitions}}),n="arrow"===r.shape?rp:cp;this.pointers.push(new n(e,r))}},e.prototype._defaultSize=function(){var t=this.options.scale.vertical;return{width:t?60:200,height:t?200:60}},e.prototype._getBox=function(t){for(var e,o=this.scale,i=this.pointers,r=t.center(),n=i[0].box.clone().wrap(o.box),a=0;a<i.length;a++)n.wrap(i[a].box.clone());return o.options.vertical?(e=n.width()/2,n=new zt(r.x-e,t.y1,r.x+e,t.y2)):(e=n.height()/2,n=new zt(t.x1,r.y-e,t.x2,r.y+e)),n},e.prototype._alignElements=function(){for(var t,e=this.scale,o=this.pointers,i=e.box,r=o[0].box.clone().wrap(e.box),n=this.bbox,a=0;a<o.length;a++)r.wrap(o[a].box.clone());e.options.vertical?(t=n.center().x-r.center().x,e.reflow(new zt(i.x1+t,n.y1,i.x2+t,n.y2))):(t=n.center().y-r.center().y,e.reflow(new zt(i.x1,i.y1+t,i.x2,i.y2+t)));for(var s=0;s<o.length;s++)o[s].reflow(this.bbox)},e.prototype._shrinkScaleWidth=function(t){var e=this.scale;if(!e.options.vertical){var o=e.contentBox().width()-t.width();o>0&&(e.box.shrink(o,0),e.box.alignTo(t,"center"),e.reflow(e.box))}},e.prototype._shrinkElements=function(){for(var t=this.scale,e=this.pointers,o=t.box.clone(),i=t.options.vertical?"y":"x",r=e[0].box,n=0;n<e.length;n++)r.wrap(e[n].box.clone());o[i+1]+=Math.max(o[i+1]-r[i+1],0),o[i+2]-=Math.max(r[i+2]-o[i+2],0),t.reflow(o);for(var a=0;a<e.length;a++)e[a].reflow(this.bbox)},e}(Gs);xt(up,{transitions:!0,gaugeArea:{background:""},scale:{vertical:!0}});var hp=up,dp=w.drawing.Arc,gp=w.drawing.Path,fp=w.drawing.Group;function vp(t,e,o,i){var r=new fp,n=t.center,a=t.getRadiusX();if(i.visible)for(var s=0;s<e.length;s++){var p=t.pointAt(e[s]),c=new w.geometry.Point(n.x+a-i.size,n.y).rotate(e[s],n);r.append(new gp({stroke:{color:i.color,width:i.width}}).moveTo(p).lineTo(c))}return r}function yp(t,e,o,i){return{from:t,to:e,color:o,opacity:i}}var _p=function(t){function e(e,o){t.call(this,0,1,e,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=M({},this.options,t);return e.majorUnit=e.majorUnit||Rt(e.min,e.max),e.minorUnit=e.minorUnit||e.majorUnit/10,e},e.prototype.initFields=function(){},e.prototype.render=function(t,e){var o=this.renderArc(t,e);this.bbox=o.bbox(),this.labelElements=this.renderLabels(),this.ticks=this.renderTicks(),this.ranges=this.renderRanges()},e.prototype.reflow=function(t){var e=t.center(),o=Math.min(t.height(),t.width())/2;if(!at(this.bbox))return this.render(e,o);this.bbox=this.arc.bbox(),this.radius(this.arc.getRadiusX()),this.repositionRanges(),this.renderLabels()},e.prototype.slotAngle=function(t){var e=this.options,o=e.min,i=e.max,r=e.reverse,n=e.startAngle,a=e.endAngle,s=a-n;return(r?a-(t-o)/(i-o)*s:(t-o)/(i-o)*s+n)+180},e.prototype.hasRanges=function(){var t=this.options.ranges;return t&&t.length},e.prototype.ticksSize=function(){var t=this.options,e=t.majorTicks,o=t.minorTicks,i=0;return e.visible&&(i=e.size),o.visible&&(i=Math.max(o.size,i)),i},e.prototype.labelsCount=function(){var e=t.prototype.labelsCount.call(this),o=this.options;return o.endAngle-o.startAngle>=360&&o.max%o.majorUnit==0&&(e-=1),e},e.prototype.renderLabels=function(){var t=this.options,e=this.arc.clone(),o=e.getRadiusX(),i=this.tickAngles(e,t.majorUnit),r=t.rangeSize=t.rangeSize||.1*o,n=new fp,a=.05*o;at(t.rangeDistance)?a=t.rangeDistance:t.rangeDistance=a;var s=t.labels,p="inside"===s.position,c=at(this.labelElements);p&&(o-=this.ticksSize(),this.hasRanges()&&!c&&(o-=r+a),e.setRadiusX(o).setRadiusY(o));for(var l=this.labels,u=l.length,h=V(s.padding),d=(h.left+h.right)/2,g=(h.top+h.bottom)/2,f=0;f<u;f++){var v=l[f],y=v.box.width()/2,_=v.box.height()/2,m=i[f],b=(m-180)*Ts,x=e.pointAt(m),C=x.x+Math.cos(b)*(y+d)*(p?1:-1),S=x.y+Math.sin(b)*(_+g)*(p?1:-1);v.reflow(new zt(C-y,S-_,C+y,S+_));var A=new w.geometry.Point(v.box.x1,v.box.y1),k=void 0;if(c){var I=(k=this.labelElements.children[f]).bbox().origin,O=k.transform()||w.geometry.transform();O.translate(A.x-I.x,A.y-I.y),k.transform(O)}else k=Rs(v,t.labels),n.append(k);this.bbox=w.geometry.Rect.union(this.bbox,k.bbox())}return n},e.prototype.repositionRanges=function(){var t=this.ranges.children;if(t.length>0){var e=this.options,o=e.rangeDistance,i=e.rangeSize,r=this.getRangeRadius();"inside"===this.options.labels.position&&(r+=i+o);for(var n=r+i/2,a=0;a<t.length;a++)t[a]._geometry.setRadiusX(n).setRadiusY(n);this.bbox=w.geometry.Rect.union(this.bbox,this.ranges.bbox())}},e.prototype.renderRanges=function(){var t=this.rangeSegments(),e=t.length,o=new fp;if(e){var i=this.options,r=i.rangeSize,n=i.reverse,a=i.rangeDistance,s=this.getRangeRadius();this.radius(this.radius()-r-a);for(var p=0;p<e;p++){var c=t[p],l=this.slotAngle(c[n?"to":"from"]),u=this.slotAngle(c[n?"from":"to"]);u-l!=0&&o.append(this.createRange(l,u,s,c))}}return o},e.prototype.createRange=function(t,e,o,i){var r=this.options.rangeSize,n=new w.geometry.Arc(this.arc.center,{radiusX:o+r/2,radiusY:o+r/2,startAngle:t,endAngle:e});return new dp(n,{stroke:{width:r,color:i.color,opacity:i.opacity,lineCap:i.lineCap}})},e.prototype.rangeSegments=function(){var t=this.options,e=t.ranges||[],o=e.length,i=[];if(o){var r=t.min,n=t.max,a=t.rangePlaceholderColor;i.push(yp(r,n,a));for(var s=0;s<o;s++)for(var p=Ls(e[s],r,n),c=i.length,l=0;l<c;l++){var u=i[l];if(u.from<=p.from&&p.from<=u.to){i.push(yp(p.from,p.to,p.color,p.opacity)),u.from<=p.to&&p.to<=u.to&&i.push(yp(p.to,u.to,a,p.opacity)),u.to=p.from;break}}}return i},e.prototype.getRangeRadius=function(){var t=this.arc,e=this.options,o=e.rangeSize,i=e.rangeDistance,r=e.majorTicks.size;return"outside"===e.labels.position?t.getRadiusX()-r-i-o:t.getRadiusX()-o},e.prototype.renderArc=function(t,e){var o=this.options;return this.arc=new w.geometry.Arc(t,{radiusX:e,radiusY:e,startAngle:o.startAngle+180,endAngle:o.endAngle+180})},e.prototype.renderTicks=function(){var t=this.arc,e=this.options,o=t.clone();this.majorTickAngles=this.tickAngles(t,e.majorUnit),this.majorTicks=vp(o,this.majorTickAngles,e.majorUnit,e.majorTicks);var i=new fp;i.append(this.majorTicks);var r=e.majorTicks.size,n=e.minorTicks.size;if(this._tickDifference=r-n,"outside"===e.labels.position){var a=o.getRadiusX();o.setRadiusX(a-r+n).setRadiusY(a-r+n)}return this.minorTickAngles=this.normalizeTickAngles(this.tickAngles(t,e.minorUnit)),this.minorTicks=vp(o,this.minorTickAngles,e.minorUnit,e.minorTicks),i.append(this.minorTicks),i},e.prototype.normalizeTickAngles=function(t){for(var e=this.options,o=e.majorUnit/e.minorUnit,i=t.length-1;i>=0;i--)i%o==0&&t.splice(i,1);return t},e.prototype.tickAngles=function(t,e){var o=this.options,i=o.reverse,r=o.max-o.min,n=t.endAngle-t.startAngle,a=r/e,s=t.startAngle,p=n/a;i&&(s+=n,p=-p),n>=360&&o.max%e==0&&(a-=1);for(var c=[],l=0;l<a;l++)c.push(vt(s,3)),s+=p;return vt(s)<=t.endAngle&&c.push(s),c},e.prototype.radius=function(t){if(!t)return this.arc.getRadiusX();this.arc.setRadiusX(t).setRadiusY(t),this.repositionTicks(this.majorTicks.children,this.majorTickAngles),this.repositionTicks(this.minorTicks.children,this.minorTickAngles,!0)},e.prototype.repositionTicks=function(t,e,o){var i=o&&this._tickDifference||0,r=this.arc,n=r.getRadiusX();o&&"outside"===this.options.labels.position&&0!==i&&(r=this.arc.clone()).setRadiusX(n-i).setRadiusY(n-i);for(var a=0;a<t.length;a++){var s=r.pointAt(e[a]),p=t[a].segments,c=s.x-p[0].anchor().x,l=s.y-p[0].anchor().y;t[a].transform((new w.geometry.transform).translate(c,l))}},e}(yo);xt(_p,{min:0,max:100,majorTicks:{size:15,align:"inside",color:n,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:n,width:.5,visible:!0},startAngle:-30,endAngle:210,labels:{position:"inside",padding:2}});var mp=_p,bp=function(t){function e(e,o){t.call(this,e,o);var i=this.options;i.duration=Math.max(Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3,1)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,o=Q(e.oldAngle,e.newAngle,t);this.element.transform(w.geometry.transform().rotate(o,e.center))},e}(w.drawing.Animation);xt(bp,{easing:"linear",duration:150}),w.drawing.AnimationFactory.current.register("radialPointer",bp);var xp=bp,Cp=w.drawing.Circle,Sp=w.drawing.Group,wp=w.drawing.Path,Ap=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setAngle=function(t){this.elements.transform(w.geometry.transform().rotate(t,this.center))},e.prototype.repaint=function(){var t=this.scale,e=this.options,o=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);!1===e.animation.transitions?this.setAngle(i):new xp(this.elements,M(e.animation,{oldAngle:o,newAngle:i})).play()},e.prototype.render=function(){var t=this.scale,e=this.options,o=new Sp;return!1!==e.animation&&M(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),o.append(this._renderNeedle(),this._renderCap()),this.elements=o,this.setAngle(Ts),o},e.prototype.reflow=function(t){var e=this.center=t.center,o=dt(this.options.length||1,.1,1.5),i=this.radius=t.getRadiusX()*o,r=this.capSize=Math.round(i*this.options.cap.size);this.bbox=w.geometry.Rect.fromPoints(new w.geometry.Point(e.x-r,e.y-r),new w.geometry.Point(e.x+r,e.y+r))},e.prototype._renderNeedle=function(){var t=this.scale.options.minorTicks.size,e=this.center,o=this.options.color,i=new wp({fill:{color:o},stroke:{color:o,width:.5}});return i.moveTo(e.x+this.radius-t,e.y).lineTo(e.x,e.y-this.capSize/2).lineTo(e.x,e.y+this.capSize/2).close(),i},e.prototype._renderCap=function(){var t=this.options,e=t.cap.color||t.color,o=new w.geometry.Circle(this.center,this.capSize);return new Cp(o,{fill:{color:e},stroke:{color:e}})},e}(Qs);xt(Ap,{cap:{size:.05},arrow:{width:16,height:14},animation:{type:"radialPointer",duration:150}});var kp=Ap,Ip=w.drawing.Group,Op=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers;this.scale.reflow(t),this._initialPlotArea=this.scale.bbox;for(var o=0;o<e.length;o++)e[o].reflow(this.scale.arc),this._initialPlotArea=w.geometry.Rect.union(this._initialPlotArea,e[o].bbox);this.fitScale(t),this.alignScale(t),this._buildVisual(this.gaugeArea,e,this.scale),this._draw()},e.prototype._buildVisual=function(t,e,o){var i=this._visuals=new Ip;i.append(t),i.append(o.ticks),i.append(o.ranges),this._buildPointers(e),i.append(o.labelElements)},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var o=t[e];o.render(),this._visuals.append(o.elements),o.value(o.options.value)}},e.prototype.fitScale=function(t){for(var e,o,i,r,n,a=this.scale.arc,s=this._initialPlotArea,p=Math.abs(this.getDiff(s,t)),c=vt(p,3),l=vt(-p,3),u=0,h=0;!(!(h++<100)||(u=n===i?u+1:0)>5||c!==r&&0<=(e=this.getPlotBox(c,t,a))&&e<=2||l!==r&&0<=(i=this.getPlotBox(l,t,a))&&i<=2||(r=e>0&&i>0?2*c:e<0&&i<0?2*l:vt((c+l)/2||1,3),0<=(o=this.getPlotBox(r,t,a))&&o<=2));)n=i,o>0?(l=r,i=o):(c=r,e=o)},e.prototype.getPlotBox=function(t,e,o){var i=this.scale,r=this.pointers,n=o.getRadiusX(),a=o.clone();a.setRadiusX(n+t).setRadiusY(n+t),i.arc=a,i.reflow(e),this.plotBbox=i.bbox;for(var s=0;s<r.length;s++)r[s].reflow(a),this.plotBbox=w.geometry.Rect.union(this.plotBbox,r[s].bbox);return this.getDiff(this.plotBbox,e)},e.prototype.getDiff=function(t,e){return Math.min(e.width()-t.width(),e.height()-t.height())},e.prototype.alignScale=function(t){var e=this.plotBbox.center(),o=t.center(),i=e.x-o.x,r=e.y-o.y,n=this.scale,a=this.pointers;n.arc.center.x-=i,n.arc.center.y-=r,n.reflow(t);for(var s=0;s<a.length;s++)a[s].reflow(n.arc),this.plotBbox=w.geometry.Rect.union(n.bbox,a[s].bbox)},e.prototype._createModel=function(){var t=this.options,e=t.pointer,o=this.scale=new mp(t.scale,this.contextService);this.pointers=[];for(var i=b(e)?e:[e],r=0;r<i.length;r++){var n=new kp(o,M({},i[r],{animation:{transitions:t.transitions}}));this.pointers.push(n)}},e}(Gs);xt(Op,{transitions:!0,gaugeArea:{background:""}});var Pp=Op,jp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rangeSegments=function(){var t=this.options;return[{from:t.min,to:t.max,color:t.rangePlaceholderColor,lineCap:t.rangeLineCap}]},e.prototype.hasRanges=function(){return!0},e.prototype.placeholderRangeAngle=function(t){var e=this.ranges.children[0].geometry();this.options.reverse?e.setEndAngle(t):e.setStartAngle(t)},e.prototype.addRange=function(t,e,o){var i=this.options.reverse,r=this.slotAngle(i?e:t),n=this.slotAngle(i?t:e),a=this.createRange(r,n,this.getRangeRadius(),o);return this.ranges.append(a),a},e}(mp);xt(jp,{min:0,max:100,majorTicks:{visible:!1},minorTicks:{visible:!1},labels:{visible:!1},startAngle:0,endAngle:180,rangeLineCap:"round"});var Tp=jp,Mp=function(t){function e(e,o){t.call(this,e,o);var i=this.options,r=Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3;i.duration=dt(r,150,800);var n=e.elements.options.get("stroke.color"),a=e.currentColor();n!==a&&(this.startColor=new w.Color(n),this.color=new w.Color(a))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,o=this.startColor,i=this.color,r=Q(e.oldAngle,e.newAngle,t);if(this.element.angle(r),i){var n=vt(Q(o.r,i.r,t)),a=vt(Q(o.g,i.g,t)),s=vt(Q(o.b,i.b,t));this.element.stroke(new w.Color(n,a,s).toHex())}},e}(w.drawing.Animation);xt(Mp,{easing:"linear",duration:150}),w.drawing.AnimationFactory.current.register("radialRangePointer",Mp);var Dp=Mp,Ep=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.repaint=function(){var t=this.scale,e=this.options,o=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);this.animation&&this.animation.abort(),!1===e.animation.transitions?(this.angle(i),this.stroke(this.currentColor())):(this.animation=new Dp(this,M(e.animation,{oldAngle:o,newAngle:i})),this.animation.play())},e.prototype.angle=function(t){var e=this.elements.geometry();this.scale.options.reverse?e.setStartAngle(t):e.setEndAngle(t),this.scale.placeholderRangeAngle(t)},e.prototype.stroke=function(t){this.elements.stroke(t)},e.prototype.render=function(){if(!this.elements){var t=this.scale,e=this.options;!1!==e.animation&&M(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),this.elements=t.addRange(t.options.min,this.options.value,{color:this.currentColor(),opacity:e.opacity,lineCap:t.options.rangeLineCap})}},e.prototype.currentColor=function(){var t=this.scale.options,e=t.min,o=t.max,i=this.options,r=i.colors,n=i.color,a=i.value,s=I(a)?a:e;if(r)for(var p=0;p<r.length;p++){var c=r[p],l=c.color,u=c.from;void 0===u&&(u=e);var h=c.to;if(void 0===h&&(h=o),u<=s&&s<=h)return l}return n},e.prototype.reflow=function(){this.render(),this.bbox=this.elements.bbox()},e}(Qs);xt(Ep,{animation:{type:"radialRangePointer",duration:150}});var Bp=Ep,Rp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initTheme=function(e){t.prototype._initTheme.call(this,e),this.options.color=this.options.color||(this.theme.pointer||{}).color},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Tp(t.scale,this.contextService),o=new Bp(e,M({},{colors:t.colors,color:t.color,value:t.value,opacity:t.opacity,animation:{transitions:t.transitions}}));this.pointers=[o]},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var o=t[e];o.render(),o.value(o.options.value)}},e.prototype._setValueOptions=function(t){this.options.value=t},e.prototype.currentColor=function(){var t=this.pointers[0];if(t)return t.currentColor()},e.prototype.centerLabelPosition=function(t,e){var o=this.getSize(),i=this.scale.arc.center,r=i.x-t/2,n=i.y-e/2;if(t<o.width){var a=r+t;r=Math.max(r,0),a>o.width&&(r-=a-o.width)}if(e<o.height){var s=this.scale.bbox,p=s.bottomRight().y,c=n+e;n=Math.max(n,s.origin.y),c>p&&(n-=c-p)}return{left:r,top:n}},e}(Pp),Lp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._createModel=function(){var e=this.options.scale;"number"!=typeof e.startAngle&&(e.startAngle=90),e.endAngle=e.startAngle+360,t.prototype._createModel.call(this)},e}(Rp),Vp=function(t){function e(e){t.call(this),this.setOptions(e),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.setOptions=function(t){this.options=Object.assign({},this.options,t),this.quietZoneLength=this.options.addQuietZone?2*this.options.quietZoneLength:0},e.prototype.encode=function(t,e,o){var i=at(t)?String(t):t;return this.initValue(i,e,o),this.options.addQuietZone&&this.addQuietZone(),this.addData(),this.options.addQuietZone&&this.addQuietZone(),{baseUnit:this.baseUnit,pattern:this.pattern}},e.prototype.initValue=function(){},e.prototype.addQuietZone=function(){this.pattern.push(this.options.quietZoneLength||10)},e.prototype.addData=function(){},e.prototype.invalidCharacterError=function(t){throw new Error('Character "'+t+'" is not valid for symbology '+this.name+".")},e}(w.Class);xt(Vp,{quietZoneLength:10,addQuietZone:!0,addCheckSum:!0});var zp=Object.assign,Np=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),zp(this,{name:"Code 11",characterMap:["111121","211121","121121","221111","112121","212111","122111","111221","211211","211111","112111"],cCheckSumTotal:10,kCheckSumTotal:9,kCheckSumMinLength:10,checkSumMod:11,DASH_VALUE:10,DASH:"-",START:"112211",STOP:"11221"})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.width=e,this.totalUnits=0},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addCheckSum=function(){var t=this.value,e=t.length,o=this.getWeightedSum(t,e,this.cCheckSumTotal)%this.checkSumMod;if(this.checksum=String(o),this.addPattern(this.characterMap[o]),++e>=this.kCheckSumMinLength){var i=(o+this.getWeightedSum(t,e,this.kCheckSumTotal))%this.checkSumMod;this.checksum+=i,this.addPattern(this.characterMap[i])}},e.prototype.getWeightedSum=function(t,e,o){for(var i=0,r=0;r<t.length;r++)i+=this.weightedValue(this.getValue(t.charAt(r)),e,r,o);return i},e.prototype.weightedValue=function(t,e,o,i){return((e-o)%i||i)*t},e.prototype.getValue=function(t){return isNaN(t)?(t!==this.DASH&&this.invalidCharacterError(t),this.DASH_VALUE):parseInt(t,10)},e.prototype.addCharacter=function(t){var e=this.getValue(t),o=this.characterMap[e];this.addPattern(o)},e.prototype.addPattern=function(t){for(var e,o=0;o<t.length;o++)e=parseInt(t.charAt(o),10),this.pattern.push(e),this.totalUnits+=e},e}(Vp);xt(Np,{addCheckSum:!0});var Fp=Object.assign,Gp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Fp(this,{minBaseUnitLength:.7})},e.prototype.addData=function(){var t=this.value;this.addStart();for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.pushCheckSum(),this.addStop(),this.prepareValues()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addBase(e)},e.prototype.addBase=function(){},e}(Vp),Hp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Fp(this,{name:"Code 39",checkSumMod:43,minRatio:2.5,maxRatio:3,gapWidth:1,splitCharacter:"|",patternMappings:{b:"1|",w:"1|",B:"ratio|",W:"ratio|"},characterMap:{0:{pattern:"bwbWBwBwb",value:0},1:{pattern:"BwbWbwbwB",value:1},2:{pattern:"bwBWbwbwB",value:2},3:{pattern:"BwBWbwbwb",value:3},4:{pattern:"bwbWBwbwB",value:4},5:{pattern:"BwbWBwbwb",value:5},6:{pattern:"bwBWBwbwb",value:6},7:{pattern:"bwbWbwBwB",value:7},8:{pattern:"BwbWbwBwb",value:8},9:{pattern:"bwBWbwBwb",value:9},A:{pattern:"BwbwbWbwB",value:10},B:{pattern:"bwBwbWbwB",value:11},C:{pattern:"BwBwbWbwb",value:12},D:{pattern:"bwbwBWbwB",value:13},E:{pattern:"BwbwBWbwb",value:14},F:{pattern:"bwBwBWbwb",value:15},G:{pattern:"bwbwbWBwB",value:16},H:{pattern:"BwbwbWBwb",value:17},I:{pattern:"bwBwbWBwb",value:18},J:{pattern:"bwbwBWBwb",value:19},K:{pattern:"BwbwbwbWB",value:20},L:{pattern:"bwBwbwbWB",value:21},M:{pattern:"BwBwbwbWb",value:22},N:{pattern:"bwbwBwbWB",value:23},O:{pattern:"BwbwBwbWb",value:24},P:{pattern:"bwBwBwbWb",value:25},Q:{pattern:"bwbwbwBWB",value:26},R:{pattern:"BwbwbwBWb",value:27},S:{pattern:"bwBwbwBWb",value:28},T:{pattern:"bwbwBwBWb",value:29},U:{pattern:"BWbwbwbwB",value:30},V:{pattern:"bWBwbwbwB",value:31},W:{pattern:"BWBwbwbwb",value:32},X:{pattern:"bWbwBwbwB",value:33},Y:{pattern:"BWbwBwbwb",value:34},Z:{pattern:"bWBwBwbwb",value:35},"-":{pattern:"bWbwbwBwB",value:36},".":{pattern:"BWbwbwBwb",value:37}," ":{pattern:"bWBwbwBwb",value:38},$:{pattern:"bWbWbWbwb",value:39},"/":{pattern:"bWbWbwbWb",value:40},"+":{pattern:"bWbwbWbWb",value:41},"%":{pattern:"bwbWbWbWb",value:42},START:{pattern:"bWbwBwBwb"}}})},e.prototype.initValue=function(t,e,o){this.width=e,this.height=o,this.value=t,this.dataLength=t.length,this.pattern=[],this.patternString=""},e.prototype.prepareValues=function(){var t,e=this.minBaseUnitLength,o=this.minRatio,i=Math.ceil(Math.max(.15*this.width,24)),r=this.maxRatio;if(this.height<i)throw new Error("Insufficient height for Code39 encoding: the current height is "+this.height+"px and the minimum height is "+i+"px.");for(t=this.getBaseUnit(r);t<e&&r>o;)r=parseFloat((r-.1).toFixed(1)),t=this.getBaseUnit(r);if(t<e){var n=Math.ceil(this.getBaseWidth(o)*e);throw new Error("Insufficient width for Code39 encoding: the current width is "+this.width+'px and the minimum width for value "'+this.value+'" is '+n+"px.")}this.ratio=r,this.baseUnit=t,this.patternString=this.patternString.substring(0,this.patternString.length-1),this.pattern=this.pattern.concat(this.patternString.replace(/ratio/g,r).split(this.splitCharacter))},e.prototype.getBaseUnit=function(t){return this.width/this.getBaseWidth(t)},e.prototype.getBaseWidth=function(t){var e=3*(t+2);return this.quietZoneLength+e*(this.dataLength+2)+this.gapWidth*(this.dataLength+1)},e.prototype.addStart=function(){this.addPattern(this.characterMap.START.pattern),this.addCharacterGap()},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.addCharacterGap()},e.prototype.addStop=function(){this.addPattern(this.characterMap.START.pattern)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.patternString+=this.patternMappings[t.charAt(e)]},e.prototype.addCharacterGap=function(){this.patternString+=this.gapWidth+this.splitCharacter},e}(Gp);xt(Hp,{addCheckSum:!1});var Up={addCharacter:function(t){this.characterMap[t]?this.addBase(this.characterMap[t]):t.charCodeAt(0)>127?this.invalidCharacterError(t):this.addExtended(t.charCodeAt(0))},addExtended:function(t){for(var e,o=0;o<this.extendedMappings.length;o++)if(e=this.extendedMappings[o].call(this,t)){for(var i=0;i<e.length;i++){var r=e[i];this.addBase(r)}return void(this.dataLength+=e.length-1)}},extendedMappings:[function(t){if(97<=t&&t<=122)return[this.characterMap[this.shiftCharacters[0]],this.characterMap[String.fromCharCode(t-32)]]},function(t){if(33<=t&&t<=58)return[this.characterMap[this.shiftCharacters[1]],this.characterMap[String.fromCharCode(t+32)]]},function(t){if(1<=t&&t<=26)return[this.characterMap[this.shiftCharacters[2]],this.characterMap[String.fromCharCode(t+64)]]},function(t){var e,o;if(this.specialAsciiCodes[t]){e=[];for(var i=0;i<this.specialAsciiCodes[t].length;i++)e.push(this.characterMap[this.shiftCharacters[3]]),e.push(this.characterMap[this.specialAsciiCodes[t][i]])}else o=6*Math.floor(t/32)+(t-27)%32+64,e=[this.characterMap[this.shiftCharacters[3]],this.characterMap[String.fromCharCode(o)]];return e}],specialAsciiCodes:{0:["U"],64:["V"],96:["W"],127:["T","X","Y","Z"]},shiftValuesAsciiCodes:{39:36,40:47,41:43,42:37},characterMap:{"+":!1,"/":!1,$:!1,"%":!1},shiftCharacters:["SHIFT0","SHIFT1","SHIFT2","SHIFT3"]},Wp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),M(this,Up,{name:"Code 39 extended",characterMap:{SHIFT0:{pattern:"bWbwbWbWb",value:41},SHIFT1:{pattern:"bWbWbwbWb",value:40},SHIFT2:{pattern:"bWbWbWbwb",value:39},SHIFT3:{pattern:"bwbWbWbWb",value:42}}})},e}(Hp),Xp=Object.assign,Yp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Xp(this,{name:"Code 93",cCheckSumTotal:20,kCheckSumTotal:15,checkSumMod:47,characterMap:{0:{pattern:"131112",value:0},1:{pattern:"111213",value:1},2:{pattern:"111312",value:2},3:{pattern:"111411",value:3},4:{pattern:"121113",value:4},5:{pattern:"121212",value:5},6:{pattern:"121311",value:6},7:{pattern:"111114",value:7},8:{pattern:"131211",value:8},9:{pattern:"141111",value:9},A:{pattern:"211113",value:10},B:{pattern:"211212",value:11},C:{pattern:"211311",value:12},D:{pattern:"221112",value:13},E:{pattern:"221211",value:14},F:{pattern:"231111",value:15},G:{pattern:"112113",value:16},H:{pattern:"112212",value:17},I:{pattern:"112311",value:18},J:{pattern:"122112",value:19},K:{pattern:"132111",value:20},L:{pattern:"111123",value:21},M:{pattern:"111222",value:22},N:{pattern:"111321",value:23},O:{pattern:"121122",value:24},P:{pattern:"131121",value:25},Q:{pattern:"212112",value:26},R:{pattern:"212211",value:27},S:{pattern:"211122",value:28},T:{pattern:"211221",value:29},U:{pattern:"221121",value:30},V:{pattern:"222111",value:31},W:{pattern:"112122",value:32},X:{pattern:"112221",value:33},Y:{pattern:"122121",value:34},Z:{pattern:"123111",value:35},"-":{pattern:"121131",value:36},".":{pattern:"311112",value:37}," ":{pattern:"311211",value:38},$:{pattern:"321111",value:39},"/":{pattern:"112131",value:40},"+":{pattern:"113121",value:41},"%":{pattern:"211131",value:42},SHIFT0:{pattern:"122211",value:46},SHIFT1:{pattern:"311121",value:45},SHIFT2:{pattern:"121221",value:43},SHIFT3:{pattern:"312111",value:44},START:{pattern:"111141"},TERMINATION_BAR:"1"}})},e.prototype.initValue=function(t,e,o){this.value=t,this.width=e,this.height=o,this.pattern=[],this.values=[],this.dataLength=t.length},e.prototype.prepareValues=function(){var t=Math.ceil(Math.max(.15*this.width,24));if(this.height<t)throw new Error("Insufficient height for Code93 encoding: the current height is "+this.height+"px, the minimum required height is "+t+"px.");if(this.setBaseUnit(),this.baseUnit<this.minBaseUnitLength){var e=Math.ceil(this.minBaseUnitLength*(this.width/this.baseUnit));throw new Error("Insufficient width for Code93 encoding: the current width is "+this.width+'px and the minimum required width for value "'+this.value+'" is '+e+"px.")}},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(9*(this.dataLength+2+2)+this.quietZoneLength+1)},e.prototype.addStart=function(){var t=this.characterMap.START.pattern;this.addPattern(t)},e.prototype.addStop=function(){this.addStart(),this.pattern.push(this.characterMap.TERMINATION_BAR)},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.values.push(t.value)},e.prototype.pushCheckSum=function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var o=0;o<e.length;o++)t=this.characterMap[this._findCharacterByValue(e[o])],this.addPattern(t.pattern)},e.prototype._getCheckValues=function(){var t,e,o=this.values,i=o.length,r=0;for(e=i-1;e>=0;e--)r+=this.weightedValue(o[e],i-e,this.cCheckSumTotal);for(t=r%this.checkSumMod,r=this.weightedValue(t,1,this.kCheckSumTotal),e=i-1;e>=0;e--)r+=this.weightedValue(o[e],i-e+1,this.kCheckSumTotal);return[t,r%this.checkSumMod]},e.prototype._findCharacterByValue=function(t){for(var e in this.characterMap)if(this.characterMap[e].value===t)return e},e.prototype.weightedValue=function(t,e,o){return(e%o||o)*t},e.prototype.addPattern=function(t){for(var e,o=0;o<t.length;o++)e=parseInt(t.charAt(o),10),this.pattern.push(e)},e}(Gp),qp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),M(this,Up,{name:"Code 93 extended",pushCheckSum:function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var o=0;o<e.length;o++)if(t=e[o],this.shiftValuesAsciiCodes[t])this.addExtended(this.shiftValuesAsciiCodes[t]);else{var i=this._findCharacterByValue(t);this.addPattern(this.characterMap[i].pattern)}}})},e}(Yp),Zp=/^\d+$/,Kp=Object.assign,Qp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Kp(this,{name:"Postnet",START:"2",VALID_CODE_LENGTHS:[5,9,11],DIGIT_SEPARATOR:"-",characterMap:["22111","11122","11212","11221","12112","12121","12211","21112","21121","21211"]})},e.prototype.initValue=function(t,e,o){this.height=o,this.width=e,this.baseHeight=o/2,this.value=t.replace(new RegExp(this.DIGIT_SEPARATOR,"g"),""),this.pattern=[],this.validate(this.value),this.checkSum=0,this.setBaseUnit()},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.START),this.pattern.pop()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];this.checkSum+=parseInt(t,10),this.addPattern(e)},e.prototype.addCheckSum=function(){this.checksum=(10-this.checkSum%10)%10,this.addCharacter(this.checksum)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(10*(this.value.length+1)+3+this.quietZoneLength)},e.prototype.validate=function(t){if(Zp.test(t)||this.invalidCharacterError(t.match(/[^0-9]/)[0]),!K(t.length,this.VALID_CODE_LENGTHS))throw new Error("Invalid value length. Valid lengths for the Postnet symbology are "+this.VALID_CODE_LENGTHS.join(",")+".")},e.prototype.addPattern=function(t){for(var e,o=0;o<t.length;o++)e=this.height-this.baseHeight*t.charAt(o),this.pattern.push({width:1,y1:e,y2:this.height}),this.pattern.push(1)},e}(Vp),$p=/^\d+$/,Jp=/^[a-z0-9]+$/i,tc=Object.assign,ec=function(t){function e(e){t.call(this),this.encoding=e,this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.addStart=function(){},e.prototype.is=function(){},e.prototype.isCode=function(){return!1},e.prototype.move=function(){},e.prototype.pushState=function(){},e}(w.Class),oc=function(t){function e(e,o){t.call(this,e),this.states=o,this._initMoves(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),M(this,{FNC4:"FNC4",SHIFT:98})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var o=t.charCodeAt(e);return this.isCode(o)},e.prototype.move=function(t){for(var e=0;!this._moves[e].call(this,t)&&e<this._moves.length;)e++},e.prototype.pushState=function(t){var e,o=this.states,i=t.value,r=i.length;if(K("C",o)){var n=i.substr(t.index).match(/\d{4,}/g);n&&(r=i.indexOf(n[0],t.index))}for(;(e=t.value.charCodeAt(t.index))>=0&&this.isCode(e)&&t.index<r;)this.encoding.addPattern(this.getValue(e)),t.index++},e.prototype._initMoves=function(t){this._moves=[],K(this.FNC4,t)&&this._moves.push(this._moveFNC),K(this.shiftKey,t)&&this._moves.push(this._shiftState),this._moves.push(this._moveState)},e.prototype._moveFNC=function(t){if(t.fnc)return t.fnc=!1,t.previousState===this.key},e.prototype._shiftState=function(t){if(t.previousState===this.shiftKey&&(t.index+1>=t.value.length||this.encoding[this.shiftKey].is(t.value,t.index+1)))return this.encoding.addPattern(this.SHIFT),t.shifted=!0,!0},e.prototype._moveState=function(){return this.encoding.addPattern(this.MOVE),!0},e}(ec),ic={};ic.A=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{key:"A",shiftKey:"B",MOVE:101,START:103})},e.prototype.isCode=function(t){return 0<=t&&t<96},e.prototype.getValue=function(t){return t<32?t+64:t-32},e}(oc),ic.B=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{key:"B",shiftKey:"A",MOVE:100,START:104})},e.prototype.isCode=function(t){return 32<=t&&t<128},e.prototype.getValue=function(t){return t-32},e}(oc),ic.C=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{key:"C",MOVE:99,START:105})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var o=lc(t,e,4);return(e+4<=t.length||2===t.length)&&$p.test(o)},e.prototype.move=function(){this.encoding.addPattern(this.MOVE)},e.prototype.pushState=function(t){for(var e;(e=lc(t.value,t.index,2))&&$p.test(e)&&2===e.length;)this.encoding.addPattern(parseInt(e,10)),t.index+=2},e.prototype.getValue=function(t){return t},e}(ec),ic.FNC4=function(t){function e(e,o){t.call(this,e),this._initSubStates(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{key:"FNC4",dependentStates:["A","B"]})},e.prototype.addStart=function(t){var e=t.value.charCodeAt(0)-128,o=this._getSubState(e);this.encoding[o].addStart()},e.prototype.is=function(t,e){var o=t.charCodeAt(e);return this.isCode(o)},e.prototype.isCode=function(t){return 128<=t&&t<256},e.prototype.pushState=function(t){var e,o=this._initSubState(t),i=this.encoding,r=o.value.length;if(t.index+=r,r<3)for(;o.index<r;o.index++)e=o.value.charCodeAt(o.index),o.state=this._getSubState(e),o.previousState!==o.state&&(o.previousState=o.state,i[o.state].move(o)),i.addPattern(i[o.state].MOVE),i.addPattern(i[o.state].getValue(e));else o.state!==o.previousState&&i[o.state].move(o),this._pushStart(o),i.pushData(o,this.subStates),t.index<t.value.length&&this._pushStart(o);t.fnc=!0,t.state=o.state},e.prototype._pushStart=function(t){this.encoding.addPattern(this.encoding[t.state].MOVE),this.encoding.addPattern(this.encoding[t.state].MOVE)},e.prototype._initSubState=function(t){var e={value:this._getAll(t.value,t.index),index:0};return e.state=this._getSubState(e.value.charCodeAt(0)),e.previousState=t.previousState===this.key?e.state:t.previousState,e},e.prototype._initSubStates=function(t){this.subStates=[];for(var e=0;e<t.length;e++)K(t[e],this.dependentStates)&&this.subStates.push(t[e])},e.prototype._getSubState=function(t){for(var e=0;e<this.subStates.length;e++)if(this.encoding[this.subStates[e]].isCode(t))return this.subStates[e]},e.prototype._getAll=function(t,e){for(var o,i="",r=e;(o=t.charCodeAt(r++))&&this.isCode(o);)i+=String.fromCharCode(o-128);return i},e}(ec),ic.FNC1=function(t){function e(e,o){t.call(this,e),this.states=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{key:"FNC1",startState:"C",startAI:"(",endAI:")",dependentStates:["C","B"],applicationIdentifiers:{22:{max:29,type:"alphanumeric"},402:{length:17},7004:{max:4,type:"alphanumeric"},242:{max:6,type:"alphanumeric"},8020:{max:25,type:"alphanumeric"},703:{min:3,max:30,type:"alphanumeric"},8008:{min:8,max:12,type:"alphanumeric"},253:{min:13,max:17,type:"alphanumeric"},8003:{min:14,max:30,type:"alphanumeric"},multiKey:[{ids:["15","17","8005","8100"],ranges:[[11,13],[310,316],[320,336],[340,369]],type:{length:6}},{ids:["240","241","250","251","400","401","403","7002","8004","8007","8110"],ranges:[[-9]],type:{max:30,type:"alphanumeric"}},{ids:["7001"],ranges:[[410,414]],type:{length:13}},{ids:["10","21","254","420","8002"],type:{max:20,type:"alphanumeric"}},{ids:["00","8006","8017","8018"],type:{length:18}},{ids:["01","02","8001"],type:{length:14}},{ids:["422"],ranges:[[424,426]],type:{length:3}},{ids:["20","8102"],type:{length:2}},{ids:["30","37"],type:{max:8,type:"alphanumeric"}},{ids:["390","392"],type:{max:15,type:"alphanumeric"}},{ids:["421","423"],type:{min:3,max:15,type:"alphanumeric"}},{ids:["391","393"],type:{min:3,max:18,type:"alphanumeric"}},{ids:["7003","8101"],type:{length:10}}]},START:102})},e.prototype.addStart=function(){this.encoding[this.startState].addStart()},e.prototype.is=function(){return K(this.key,this.states)},e.prototype.pushState=function(t){var e,o,i,r=this.encoding,n=t.value.replace(/\s/g,""),a=new RegExp("["+this.startAI+this.endAI+"]","g"),s=t.index,p={state:this.startState};r.addPattern(this.START);for(;;){if(p.index=0,(e=(i=n.charAt(s)===this.startAI?2:0)>0?this.getBySeparator(n,s):this.getByLength(n,s)).ai.length)o=s+i+e.id.length+e.ai.length;else if((o=n.indexOf(this.startAI,s+1))<0){if(s+e.ai.max+e.id.length+i<n.length)throw new Error("Separators are required after variable length identifiers");o=n.length}if(p.value=n.substring(s,o).replace(a,""),this.validate(e,p.value),r.pushData(p,this.dependentStates),o>=n.length)break;s=o,p.state!==this.startState&&(r[this.startState].move(p),p.state=this.startState),e.ai.length||r.addPattern(this.START)}t.index=t.value.length},e.prototype.validate=function(t,e){var o=e.substr(t.id.length),i=t.ai;if(!i.type&&!$p.test(o))throw new Error("Application identifier "+t.id+" is numeric only but contains non numeric character(s).");if("alphanumeric"===i.type&&!Jp.test(o))throw new Error("Application identifier "+t.id+" is alphanumeric only but contains non alphanumeric character(s).");if(i.length&&i.length!==o.length)throw new Error("Application identifier "+t.id+" must be "+i.length+" characters long.");if(i.min&&i.min>o.length)throw new Error("Application identifier "+t.id+" must be at least "+i.min+" characters long.");if(i.max&&i.max<o.length)throw new Error("Application identifier "+t.id+" must be at most "+i.max+" characters long.")},e.prototype.getByLength=function(t,e){for(var o,i,r=2;r<=4;r++)if(o=lc(t,e,r),i=this.getApplicationIdentifier(o)||this.getApplicationIdentifier(o.substring(0,o.length-1)))return{id:o,ai:i};this.unsupportedAIError(o)},e.prototype.unsupportedAIError=function(t){throw new Error("'"+t+"' is not a supported Application Identifier")},e.prototype.getBySeparator=function(t,e){var o=t.indexOf(this.startAI,e),i=t.indexOf(this.endAI,o),r=t.substring(o+1,i),n=this.getApplicationIdentifier(r)||this.getApplicationIdentifier(r.substr(r.length-1));return n||this.unsupportedAIError(r),{ai:n,id:r}},e.prototype.getApplicationIdentifier=function(t){var e=this.applicationIdentifiers,o=e.multiKey;if(e[t])return e[t];for(var i=0;i<o.length;i++){if(o[i].ids&&K(t,o[i].ids))return o[i].type;if(o[i].ranges)for(var r=o[i].ranges,n=0;n<r.length;n++)if(r[n][0]<=t&&t<=r[n][1])return o[i].type}},e}(ec);var rc=function(t){function e(e){t.call(this,e),this._initStates()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{characterMap:[212222,222122,222221,121223,121322,131222,122213,122312,132212,221213,221312,231212,112232,122132,122231,113222,123122,123221,223211,221132,221231,213212,223112,312131,311222,321122,321221,312212,322112,322211,212123,212321,232121,111323,131123,131321,112313,132113,132311,211313,231113,231311,112133,112331,132131,113123,113321,133121,313121,211331,231131,213113,213311,213131,311123,311321,331121,312113,312311,332111,314111,221411,431111,111224,111422,121124,121421,141122,141221,112214,112412,122114,122411,142112,142211,241211,221114,413111,241112,134111,111242,121142,121241,114212,124112,124211,411212,421112,421211,212141,214121,412121,111143,111341,131141,114113,114311,411113,411311,113141,114131,311141,411131,211412,211214,211232,2331112],STOP:106})},e.prototype._initStates=function(){for(var t=0;t<this.states.length;t++)this[this.states[t]]=new ic[this.states[t]](this,this.states)},e.prototype.initValue=function(t,e,o){this.pattern=[],this.value=t,this.width=e,this.height=o,this.checkSum=0,this.totalUnits=0,this.index=0,this.position=1},e.prototype.addData=function(){var t={value:this.value,index:0,state:""};0!==this.value.length&&(t.state=t.previousState=this.getNextState(t,this.states),this.addStart(t),this.pushData(t,this.states),this.addCheckSum(),this.addStop(),this.setBaseUnit())},e.prototype.pushData=function(t,e){for(;this[t.state].pushState(t),!(t.index>=t.value.length);)if(t.shifted){var o=t.state;t.state=t.previousState,t.previousState=o,t.shifted=!1}else t.previousState=t.state,t.state=this.getNextState(t,e),this[t.state].move(t)},e.prototype.addStart=function(t){this[t.state].addStart(t),this.position=1},e.prototype.addCheckSum=function(){this.checksum=this.checkSum%103,this.addPattern(this.checksum)},e.prototype.addStop=function(){this.addPattern(this.STOP)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addPattern=function(t){for(var e,o=this.characterMap[t].toString(),i=0;i<o.length;i++)e=parseInt(o.charAt(i),10),this.pattern.push(e),this.totalUnits+=e;this.checkSum+=t*this.position++},e.prototype.getNextState=function(t,e){for(var o=0;o<e.length;o++)if(this[e[o]].is(t.value,t.index))return e[o];this.invalidCharacterError(t.value.charAt(t.index))},e}(Vp),nc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{name:"Code 128 A",states:["A"]})},e}(rc),ac=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{name:"Code 128 B",states:["B"]})},e}(rc),sc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{name:"Code 128 C",states:["C"]})},e}(rc),pc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{name:"Code 128",states:["C","B","A","FNC4"]})},e}(rc),cc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),tc(this,{name:"Code GS1-128",states:["FNC1","C","B"]})},e}(rc);function lc(t,e,o){return t.substring(e,e+o)}var uc=Object.assign,hc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),uc(this,{characterMap:["12121212","12121221","12122112","12122121","12211212","12211221","12212112","12212121","21121212","21121221"],START:"21",STOP:"121",checkSumType:"",checkSums:yc})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.checkSumLength=0,this.width=e},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(12*(this.value.length+this.checkSumLength)+this.quietZoneLength+7)},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addPattern(e)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.pattern.push(parseInt(t.charAt(e),10))},e.prototype.addCheckSum=function(){var t=this.checkSums[this.checkSumType].call(this.checkSums,this.value);this.checksum=t.join("");for(var e=0;e<t.length;e++)this.checkSumLength++,this.addPattern(this.characterMap[t[e]])},e}(Vp),dc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),uc(this,{name:"MSI Modulo10",checkSumType:"Modulo10"})},e}(hc),gc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),uc(this,{name:"MSI Modulo11",checkSumType:"Modulo11"})},e}(hc),fc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),uc(this,{name:"MSI Modulo10 Modulo10",checkSumType:"Modulo10Modulo10"})},e}(hc),vc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),uc(this,{name:"MSI Modulo11 Modulo10",checkSumType:"Modulo11Modulo10"})},e}(hc),yc={Modulo10:function(t){var e,o,i,r=[0,""],n=t.length%2;for(e=0;e<t.length;e++)r[(e+n)%2]+=parseInt(t.charAt(e),10);for(i=r[0],o=(2*r[1]).toString(),e=0;e<o.length;e++)i+=parseInt(o.charAt(e),10);return[(10-i%10)%10]},Modulo11:function(t){for(var e,o=0,i=t.length,r=0;r<i;r++)o+=(((i-r)%6||6)+1)*t.charAt(r);return 10!==(e=(11-o%11)%11)?[e]:[1,0]},Modulo11Modulo10:function(t){var e,o=this.Modulo11(t);return e=t+o[0],o.concat(this.Modulo10(e))},Modulo10Modulo10:function(t){var e,o=this.Modulo10(t);return e=t+o[0],o.concat(this.Modulo10(e))}},_c=Object.assign,mc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),_c(this,{name:"EAN 13",keyTable:["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],characterMap:{digits:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],start:[1,1,1],middle:[1,1,1,1,1]}})},e.prototype.initValue=function(t,e,o){var i=String(t);if(12!==i.length||/\D/.test(i))throw new Error('The value of the "EAN13" encoding should be 12 symbols');this.pattern=[],this.options.height=o,this.baseUnit=e/(95+this.quietZoneLength),this.value=i,this.checksum=this.calculateChecksum(),this.leftKey=i[0],this.leftPart=i.substr(1,6),this.rightPart=i.substr(7)+this.checksum},e.prototype.addData=function(){this.addPieces(this.characterMap.start),this.addSide(this.leftPart,this.leftKey),this.addPieces(this.characterMap.middle),this.addSide(this.rightPart),this.addPieces(this.characterMap.start)},e.prototype.addSide=function(t,e){for(var o=0;o<t.length;o++)e&&parseInt(this.keyTable[e].charAt(o),10)?this.addPieces(Array.prototype.slice.call(this.characterMap.digits[t.charAt(o)]).reverse(),!0):this.addPieces(this.characterMap.digits[t.charAt(o)],!0)},e.prototype.addPieces=function(t,e){for(var o=0;o<t.length;o++)e?this.pattern.push({y1:0,y2:.95*this.options.height,width:t[o]}):this.pattern.push(t[o])},e.prototype.calculateChecksum=function(){for(var t=0,e=0,o=this.value.split("").reverse().join(""),i=0;i<o.length;i++)i%2?e+=parseInt(o.charAt(i),10):t+=parseInt(o.charAt(i),10);return(10-(3*t+e)%10)%10},e}(Vp),bc=Object.assign,xc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),bc(this,{name:"EAN 8"})},e.prototype.initValue=function(t,e,o){if(7!==t.length||/\D/.test(t))throw new Error("Invalid value provided");this.value=t,this.options.height=o,this.checksum=this.calculateChecksum(this.value),this.leftPart=this.value.substr(0,4),this.rightPart=this.value.substr(4)+this.checksum,this.pattern=[],this.baseUnit=e/(67+this.quietZoneLength)},e}(mc),Cc={code11:Np,code39:Hp,code39extended:Wp,code93:Yp,code93extended:qp,code128:pc,code128a:nc,code128b:ac,code128c:sc};Cc["gs1-128"]=cc,Cc.msimod10=dc,Cc.msimod11=gc,Cc.msimod1010=fc,Cc.msimod1110=vc,Cc.postnet=Qp,Cc.ean8=xc,Cc.ean13=mc;var Sc=function(t){function e(e,o,i){void 0===i&&(i=Bt),t.call(this),this.options=M({},this.options,o),this.element=e,this.onError=i,this._initElement(),this._initSurface(),this._setOptions(o),o&&at(o.value)&&this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){x(this.element,"k-barcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return w.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.setOptions=function(t){this._setOptions(t),this.redraw()},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t.width,height:t.height}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype._render=function(){var t,e,o=this.options,i=o.value,r=o.text,n=V(r.margin),a=this._getSize(),s=o.border||{},p=this.encoding,c=new zt(0,0,a.width,a.height).unpad(s.width).unpad(o.padding),l=c.height(),u=new w.drawing.Group;this.contentBox=c,u.append(this._getBackground(a)),r.visible&&(l-=w.drawing.util.measureText(i,{font:r.font}).height+n.top+n.bottom);try{t=p.encode(i,c.width(),l)}catch(t){return this.onError(t),u}return r.visible&&(e=i,o.checksum&&at(p.checksum)&&(e+=" "+p.checksum),u.append(this._getText(e))),this.barHeight=l,this._bandsGroup=this._getBands(t.pattern,t.baseUnit),u.append(this._bandsGroup),u},e.prototype.exportVisual=function(){return this._render()},e.prototype._getSize=function(){var t=this.element,e=t.clientWidth,o=t.clientHeight,i=new w.geometry.Size(300,100);return e>0&&(i.width=e),o&&(i.height=o),this.options.width&&(i.width=this.options.width),this.options.height&&(i.height=this.options.height),i},e.prototype.value=function(t){if(!at(t))return this.options.value;this.options.value=String(t),this.redraw()},e.prototype._getBands=function(t,e){for(var o,i,r=this.contentBox,n=r.x1,a=new w.drawing.Group,s=0;s<t.length;s++){if(o=(i=D(t[s])?t[s]:{width:t[s],y1:0,y2:this.barHeight}).width*e,s%2){var p=w.geometry.Rect.fromPoints(new w.geometry.Point(n,i.y1+r.y1),new w.geometry.Point(n+o,i.y2+r.y1)),c=w.drawing.Path.fromRect(p,{fill:{color:this.options.color},stroke:null});a.append(c)}n+=o}return a},e.prototype._getBackground=function(t){var e=this.options,o=e.border||{},i=new zt(0,0,t.width,t.height).unpad(o.width/2);return w.drawing.Path.fromRect(i.toRect(),{fill:{color:e.background},stroke:{color:o.width?o.color:"",width:o.width,dashType:o.dashType}})},e.prototype._getText=function(t){var e=this.options.text,o=this._textbox=new pe(t,{font:e.font,color:e.color,align:"center",vAlign:"bottom",margin:e.margin});return o.reflow(this.contentBox),o.renderVisual(),o.visual},e.prototype._setOptions=function(t){if(this.type=(t.type||this.options.type).toLowerCase(),"upca"===this.type&&(this.type="ean13",t.value="0"+t.value),"upce"===this.type&&(this.type="ean8",t.value="0"+t.value),!Cc[this.type])throw new Error("Encoding '"+this.type+"' is not supported.");this.encoding=new Cc[this.type],this.options=M({},this.options,t)},e}(w.Class);xt(Sc,{name:"Barcode",renderAs:"svg",value:"",type:"code39",checksum:!1,width:0,height:0,color:"black",background:"white",text:{visible:!0,font:"16px Consolas, Monaco, Sans Mono, monospace, sans-serif",color:"black",margin:{top:0,bottom:0,left:0,right:0}},border:{width:0,dashType:"solid",color:"black"},padding:{top:0,bottom:0,left:0,right:0}});var wc=Sc,Ac={width:500,height:100};var kc=function(t,e){if(void 0===e&&(e=Ac),!t)throw new Error("Please specify barcode type to validate.");var o=t.toLowerCase(),i="";if("upca"===o?(o="ean13",i="0"):"upce"===o&&(o="ean8",i="0"),!Cc[o])throw new Error("Encoding '"+t+"' is not supported.");return function(t,e,o){return function(i){try{t.encode(o+i,e.width,e.height)}catch(t){return{valid:!1,error:t}}return{valid:!0}}}(new Cc[o],e,i)},Ic=Object.assign;function Oc(t,e){for(var o=[],i=0;i<t.length;)o.push(t.substring(i,i+e)),i+=e;return o}function Pc(t,e){var o=Number(t).toString(2);return o.length<e&&(o=new Array(e-o.length+1).join(0)+o),o}function jc(t){return parseInt(t,2)}var Tc=function(t){function e(e){t.call(this),this.matrix=e,this.row=e.length-1,this.column=e.length-1,this.startColumn=this.column,this.dir=-1,this.c=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(){this.row+=this.dir*this.c,this.c^=1,this.column=this.startColumn-this.c},e.prototype.getNextCell=function(){for(;void 0!==this.matrix[this.row][this.column];)this.move(),(this.row<0||this.row>=this.matrix.length)&&(this.dir=-this.dir,this.startColumn-=8!==this.startColumn?2:3,this.column=this.startColumn,this.row=this.dir<0?this.matrix.length-1:0);return{row:this.row,column:this.column}},e.prototype.getNextRemainderCell=function(){if(this.move(),void 0===this.matrix[this.row][this.column])return{row:this.row,column:this.column}},e}(w.Class),Mc=function(t){function e(e,o){t.call(this),this.dataString=e,this.version=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(w.Class),Dc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getEncodingResult=function(t,e){var o=function(t){var e,o=[],i=0,r=t;o.push(al(r,8,5,8,e)),e=o[0].mode,r=r.substr(o[0].modeString.length);for(;r.length>0;){var n=al(r,17,9,16,e);n.mode!==e?(e=n.mode,o.push(n),i++):o[i].modeString+=n.modeString,r=r.substr(n.modeString.length)}return o}(t),i=sl(function(t){for(var e,o=0,i=0;i<t.length;i++)e=Vc[t[i].mode],o+=e.getStringBitsLength(t[i].modeString.length);return Math.ceil(o/8)}(o),e),r=function(t,e){for(var o,i="",r=0;r<t.length;r++)o=Vc[t[r].mode],i+=o.encode(t[r].modeString,e);return i}(o,i);return new Mc(r,i)},e}(w.Class),Ec=function(t){function e(){t.call(this),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Ic(this,{modeIndicator:"",bitsInCharacterCount:[]})},e.prototype.getVersionIndex=function(t){return t<10?0:t>26?2:1},e.prototype.getBitsCharacterCount=function(t){return this.bitsInCharacterCount[this.getVersionIndex(t||40)]},e.prototype.getModeCountString=function(t,e){return this.modeIndicator+Pc(t,this.getBitsCharacterCount(e))},e.prototype.encode=function(){},e.prototype.getStringBitsLength=function(){},e.prototype.getValue=function(){},e}(w.Class),Bc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Ic(this,{bitsInCharacterCount:[10,12,14],modeIndicator:"0001"})},e.prototype.getValue=function(t){return parseInt(t,10)},e.prototype.encode=function(t,e){var o,i=Oc(t,3),r=this.getModeCountString(t.length,e);for(o=0;o<i.length-1;o++)r+=Pc(i[o],10);return r+Pc(i[o],1+3*i[o].length)},e.prototype.getStringBitsLength=function(t,e){var o=t%3;return 4+this.getBitsCharacterCount(e)+10*Math.floor(t/3)+3*o+(0===o?0:1)},e}(Ec),Rc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Ic(this,{characters:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:18,J:19,K:20,L:21,M:22,N:23,O:24,P:25,Q:26,R:27,S:28,T:29,U:30,V:31,W:32,X:33,Y:34,Z:35," ":36,$:37,"%":38,"*":39,"+":40,"-":41,".":42,"/":43,":":44},bitsInCharacterCount:[9,11,13],modeIndicator:"0010"})},e.prototype.getValue=function(t){return this.characters[t]},e.prototype.encode=function(t,e){var o,i=Oc(t,2),r=this.getModeCountString(t.length,e);for(o=0;o<i.length-1;o++)r+=Pc(45*this.getValue(i[o].charAt(0))+this.getValue(i[o].charAt(1)),11);return r+Pc(2===i[o].length?45*this.getValue(i[o].charAt(0))+this.getValue(i[o].charAt(1)):this.getValue(i[o].charAt(0)),1+5*i[o].length)},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+11*Math.floor(t/2)+t%2*6},e}(Ec),Lc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Ic(this,{bitsInCharacterCount:[8,16,16],modeIndicator:"0100"})},e.prototype.getValue=function(t){var e=t.charCodeAt(0);if(e<=127||160<=e&&e<=255)return e;throw new Error('Unsupported character in QR Code: "'+t+'".')},e.prototype.encode=function(t,e){for(var o=this.getModeCountString(t.length,e),i=0;i<t.length;i++)o+=Pc(this.getValue(t.charAt(i)),8);return o},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+8*t},e}(Ec),Vc={};Vc.numeric=new Bc,Vc.alphanumeric=new Rc,Vc.byte=new Lc;var zc=function(t){function e(){t.call(this),this.initProperties(),this.mode=Vc[this.encodingMode]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Ic(this,{encodingMode:"byte",utfBOM:"111011111011101110111111",initialModeCountStringLength:20,ranges:[128,2048,65536,2097152,67108864]})},e.prototype.getEncodingResult=function(t,e){var o=this.encode(t),i=sl(this.getDataCodewordsCount(o),e),r=this.mode.getModeCountString(o.length/8,i)+o;return new Mc(r,i)},e.prototype.getDataCodewordsCount=function(t){var e=t.length;return Math.ceil((this.initialModeCountStringLength+e)/8)},e.prototype.encode=function(t){for(var e=this.utfBOM,o=0;o<t.length;o++)e+=this.encodeCharacter(t.charCodeAt(o));return e},e.prototype.encodeCharacter=function(t){var e=this.getBytesCount(t),o=e-1,i="";if(1===e)i=Pc(t,8);else{for(var r=8-e,n=0;n<o;n++)i=Pc(t>>6*n&63|128,8)+i;i=(t>>6*o|255>>r<<r).toString(2)+i}return i},e.prototype.getBytesCount=function(t){for(var e=this.ranges,o=0;o<e.length;o++)if(t<e[o])return o+1},e}(w.Class),Nc=[{L:{groups:[[1,19]],totalDataCodewords:19,errorCodewordsPerBlock:7},M:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:10},Q:{groups:[[1,13]],totalDataCodewords:13,errorCodewordsPerBlock:13},H:{groups:[[1,9]],totalDataCodewords:9,errorCodewordsPerBlock:17}},{L:{groups:[[1,34]],totalDataCodewords:34,errorCodewordsPerBlock:10},M:{groups:[[1,28]],totalDataCodewords:28,errorCodewordsPerBlock:16},Q:{groups:[[1,22]],totalDataCodewords:22,errorCodewordsPerBlock:22},H:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:28}},{L:{groups:[[1,55]],totalDataCodewords:55,errorCodewordsPerBlock:15},M:{groups:[[1,44]],totalDataCodewords:44,errorCodewordsPerBlock:26},Q:{groups:[[2,17]],totalDataCodewords:34,errorCodewordsPerBlock:18},H:{groups:[[2,13]],totalDataCodewords:26,errorCodewordsPerBlock:22}},{L:{groups:[[1,80]],totalDataCodewords:80,errorCodewordsPerBlock:20},M:{groups:[[2,32]],totalDataCodewords:64,errorCodewordsPerBlock:18},Q:{groups:[[2,24]],totalDataCodewords:48,errorCodewordsPerBlock:26},H:{groups:[[4,9]],totalDataCodewords:36,errorCodewordsPerBlock:16}},{L:{groups:[[1,108]],totalDataCodewords:108,errorCodewordsPerBlock:26},M:{groups:[[2,43]],totalDataCodewords:86,errorCodewordsPerBlock:24},Q:{groups:[[2,15],[2,16]],totalDataCodewords:62,errorCodewordsPerBlock:18},H:{groups:[[2,11],[2,12]],totalDataCodewords:46,errorCodewordsPerBlock:22}},{L:{groups:[[2,68]],totalDataCodewords:136,errorCodewordsPerBlock:18},M:{groups:[[4,27]],totalDataCodewords:108,errorCodewordsPerBlock:16},Q:{groups:[[4,19]],totalDataCodewords:76,errorCodewordsPerBlock:24},H:{groups:[[4,15]],totalDataCodewords:60,errorCodewordsPerBlock:28}},{L:{groups:[[2,78]],totalDataCodewords:156,errorCodewordsPerBlock:20},M:{groups:[[4,31]],totalDataCodewords:124,errorCodewordsPerBlock:18},Q:{groups:[[2,14],[4,15]],totalDataCodewords:88,errorCodewordsPerBlock:18},H:{groups:[[4,13],[1,14]],totalDataCodewords:66,errorCodewordsPerBlock:26}},{L:{groups:[[2,97]],totalDataCodewords:194,errorCodewordsPerBlock:24},M:{groups:[[2,38],[2,39]],totalDataCodewords:154,errorCodewordsPerBlock:22},Q:{groups:[[4,18],[2,19]],totalDataCodewords:110,errorCodewordsPerBlock:22},H:{groups:[[4,14],[2,15]],totalDataCodewords:86,errorCodewordsPerBlock:26}},{L:{groups:[[2,116]],totalDataCodewords:232,errorCodewordsPerBlock:30},M:{groups:[[3,36],[2,37]],totalDataCodewords:182,errorCodewordsPerBlock:22},Q:{groups:[[4,16],[4,17]],totalDataCodewords:132,errorCodewordsPerBlock:20},H:{groups:[[4,12],[4,13]],totalDataCodewords:100,errorCodewordsPerBlock:24}},{L:{groups:[[2,68],[2,69]],totalDataCodewords:274,errorCodewordsPerBlock:18},M:{groups:[[4,43],[1,44]],totalDataCodewords:216,errorCodewordsPerBlock:26},Q:{groups:[[6,19],[2,20]],totalDataCodewords:154,errorCodewordsPerBlock:24},H:{groups:[[6,15],[2,16]],totalDataCodewords:122,errorCodewordsPerBlock:28}},{L:{groups:[[4,81]],totalDataCodewords:324,errorCodewordsPerBlock:20},M:{groups:[[1,50],[4,51]],totalDataCodewords:254,errorCodewordsPerBlock:30},Q:{groups:[[4,22],[4,23]],totalDataCodewords:180,errorCodewordsPerBlock:28},H:{groups:[[3,12],[8,13]],totalDataCodewords:140,errorCodewordsPerBlock:24}},{L:{groups:[[2,92],[2,93]],totalDataCodewords:370,errorCodewordsPerBlock:24},M:{groups:[[6,36],[2,37]],totalDataCodewords:290,errorCodewordsPerBlock:22},Q:{groups:[[4,20],[6,21]],totalDataCodewords:206,errorCodewordsPerBlock:26},H:{groups:[[7,14],[4,15]],totalDataCodewords:158,errorCodewordsPerBlock:28}},{L:{groups:[[4,107]],totalDataCodewords:428,errorCodewordsPerBlock:26},M:{groups:[[8,37],[1,38]],totalDataCodewords:334,errorCodewordsPerBlock:22},Q:{groups:[[8,20],[4,21]],totalDataCodewords:244,errorCodewordsPerBlock:24},H:{groups:[[12,11],[4,12]],totalDataCodewords:180,errorCodewordsPerBlock:22}},{L:{groups:[[3,115],[1,116]],totalDataCodewords:461,errorCodewordsPerBlock:30},M:{groups:[[4,40],[5,41]],totalDataCodewords:365,errorCodewordsPerBlock:24},Q:{groups:[[11,16],[5,17]],totalDataCodewords:261,errorCodewordsPerBlock:20},H:{groups:[[11,12],[5,13]],totalDataCodewords:197,errorCodewordsPerBlock:24}},{L:{groups:[[5,87],[1,88]],totalDataCodewords:523,errorCodewordsPerBlock:22},M:{groups:[[5,41],[5,42]],totalDataCodewords:415,errorCodewordsPerBlock:24},Q:{groups:[[5,24],[7,25]],totalDataCodewords:295,errorCodewordsPerBlock:30},H:{groups:[[11,12],[7,13]],totalDataCodewords:223,errorCodewordsPerBlock:24}},{L:{groups:[[5,98],[1,99]],totalDataCodewords:589,errorCodewordsPerBlock:24},M:{groups:[[7,45],[3,46]],totalDataCodewords:453,errorCodewordsPerBlock:28},Q:{groups:[[15,19],[2,20]],totalDataCodewords:325,errorCodewordsPerBlock:24},H:{groups:[[3,15],[13,16]],totalDataCodewords:253,errorCodewordsPerBlock:30}},{L:{groups:[[1,107],[5,108]],totalDataCodewords:647,errorCodewordsPerBlock:28},M:{groups:[[10,46],[1,47]],totalDataCodewords:507,errorCodewordsPerBlock:28},Q:{groups:[[1,22],[15,23]],totalDataCodewords:367,errorCodewordsPerBlock:28},H:{groups:[[2,14],[17,15]],totalDataCodewords:283,errorCodewordsPerBlock:28}},{L:{groups:[[5,120],[1,121]],totalDataCodewords:721,errorCodewordsPerBlock:30},M:{groups:[[9,43],[4,44]],totalDataCodewords:563,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[1,23]],totalDataCodewords:397,errorCodewordsPerBlock:28},H:{groups:[[2,14],[19,15]],totalDataCodewords:313,errorCodewordsPerBlock:28}},{L:{groups:[[3,113],[4,114]],totalDataCodewords:795,errorCodewordsPerBlock:28},M:{groups:[[3,44],[11,45]],totalDataCodewords:627,errorCodewordsPerBlock:26},Q:{groups:[[17,21],[4,22]],totalDataCodewords:445,errorCodewordsPerBlock:26},H:{groups:[[9,13],[16,14]],totalDataCodewords:341,errorCodewordsPerBlock:26}},{L:{groups:[[3,107],[5,108]],totalDataCodewords:861,errorCodewordsPerBlock:28},M:{groups:[[3,41],[13,42]],totalDataCodewords:669,errorCodewordsPerBlock:26},Q:{groups:[[15,24],[5,25]],totalDataCodewords:485,errorCodewordsPerBlock:30},H:{groups:[[15,15],[10,16]],totalDataCodewords:385,errorCodewordsPerBlock:28}},{L:{groups:[[4,116],[4,117]],totalDataCodewords:932,errorCodewordsPerBlock:28},M:{groups:[[17,42]],totalDataCodewords:714,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[6,23]],totalDataCodewords:512,errorCodewordsPerBlock:28},H:{groups:[[19,16],[6,17]],totalDataCodewords:406,errorCodewordsPerBlock:30}},{L:{groups:[[2,111],[7,112]],totalDataCodewords:1006,errorCodewordsPerBlock:28},M:{groups:[[17,46]],totalDataCodewords:782,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[16,25]],totalDataCodewords:568,errorCodewordsPerBlock:30},H:{groups:[[34,13]],totalDataCodewords:442,errorCodewordsPerBlock:24}},{L:{groups:[[4,121],[5,122]],totalDataCodewords:1094,errorCodewordsPerBlock:30},M:{groups:[[4,47],[14,48]],totalDataCodewords:860,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[14,25]],totalDataCodewords:614,errorCodewordsPerBlock:30},H:{groups:[[16,15],[14,16]],totalDataCodewords:464,errorCodewordsPerBlock:30}},{L:{groups:[[6,117],[4,118]],totalDataCodewords:1174,errorCodewordsPerBlock:30},M:{groups:[[6,45],[14,46]],totalDataCodewords:914,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[16,25]],totalDataCodewords:664,errorCodewordsPerBlock:30},H:{groups:[[30,16],[2,17]],totalDataCodewords:514,errorCodewordsPerBlock:30}},{L:{groups:[[8,106],[4,107]],totalDataCodewords:1276,errorCodewordsPerBlock:26},M:{groups:[[8,47],[13,48]],totalDataCodewords:1e3,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[22,25]],totalDataCodewords:718,errorCodewordsPerBlock:30},H:{groups:[[22,15],[13,16]],totalDataCodewords:538,errorCodewordsPerBlock:30}},{L:{groups:[[10,114],[2,115]],totalDataCodewords:1370,errorCodewordsPerBlock:28},M:{groups:[[19,46],[4,47]],totalDataCodewords:1062,errorCodewordsPerBlock:28},Q:{groups:[[28,22],[6,23]],totalDataCodewords:754,errorCodewordsPerBlock:28},H:{groups:[[33,16],[4,17]],totalDataCodewords:596,errorCodewordsPerBlock:30}},{L:{groups:[[8,122],[4,123]],totalDataCodewords:1468,errorCodewordsPerBlock:30},M:{groups:[[22,45],[3,46]],totalDataCodewords:1128,errorCodewordsPerBlock:28},Q:{groups:[[8,23],[26,24]],totalDataCodewords:808,errorCodewordsPerBlock:30},H:{groups:[[12,15],[28,16]],totalDataCodewords:628,errorCodewordsPerBlock:30}},{L:{groups:[[3,117],[10,118]],totalDataCodewords:1531,errorCodewordsPerBlock:30},M:{groups:[[3,45],[23,46]],totalDataCodewords:1193,errorCodewordsPerBlock:28},Q:{groups:[[4,24],[31,25]],totalDataCodewords:871,errorCodewordsPerBlock:30},H:{groups:[[11,15],[31,16]],totalDataCodewords:661,errorCodewordsPerBlock:30}},{L:{groups:[[7,116],[7,117]],totalDataCodewords:1631,errorCodewordsPerBlock:30},M:{groups:[[21,45],[7,46]],totalDataCodewords:1267,errorCodewordsPerBlock:28},Q:{groups:[[1,23],[37,24]],totalDataCodewords:911,errorCodewordsPerBlock:30},H:{groups:[[19,15],[26,16]],totalDataCodewords:701,errorCodewordsPerBlock:30}},{L:{groups:[[5,115],[10,116]],totalDataCodewords:1735,errorCodewordsPerBlock:30},M:{groups:[[19,47],[10,48]],totalDataCodewords:1373,errorCodewordsPerBlock:28},Q:{groups:[[15,24],[25,25]],totalDataCodewords:985,errorCodewordsPerBlock:30},H:{groups:[[23,15],[25,16]],totalDataCodewords:745,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[3,116]],totalDataCodewords:1843,errorCodewordsPerBlock:30},M:{groups:[[2,46],[29,47]],totalDataCodewords:1455,errorCodewordsPerBlock:28},Q:{groups:[[42,24],[1,25]],totalDataCodewords:1033,errorCodewordsPerBlock:30},H:{groups:[[23,15],[28,16]],totalDataCodewords:793,errorCodewordsPerBlock:30}},{L:{groups:[[17,115]],totalDataCodewords:1955,errorCodewordsPerBlock:30},M:{groups:[[10,46],[23,47]],totalDataCodewords:1541,errorCodewordsPerBlock:28},Q:{groups:[[10,24],[35,25]],totalDataCodewords:1115,errorCodewordsPerBlock:30},H:{groups:[[19,15],[35,16]],totalDataCodewords:845,errorCodewordsPerBlock:30}},{L:{groups:[[17,115],[1,116]],totalDataCodewords:2071,errorCodewordsPerBlock:30},M:{groups:[[14,46],[21,47]],totalDataCodewords:1631,errorCodewordsPerBlock:28},Q:{groups:[[29,24],[19,25]],totalDataCodewords:1171,errorCodewordsPerBlock:30},H:{groups:[[11,15],[46,16]],totalDataCodewords:901,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[6,116]],totalDataCodewords:2191,errorCodewordsPerBlock:30},M:{groups:[[14,46],[23,47]],totalDataCodewords:1725,errorCodewordsPerBlock:28},Q:{groups:[[44,24],[7,25]],totalDataCodewords:1231,errorCodewordsPerBlock:30},H:{groups:[[59,16],[1,17]],totalDataCodewords:961,errorCodewordsPerBlock:30}},{L:{groups:[[12,121],[7,122]],totalDataCodewords:2306,errorCodewordsPerBlock:30},M:{groups:[[12,47],[26,48]],totalDataCodewords:1812,errorCodewordsPerBlock:28},Q:{groups:[[39,24],[14,25]],totalDataCodewords:1286,errorCodewordsPerBlock:30},H:{groups:[[22,15],[41,16]],totalDataCodewords:986,errorCodewordsPerBlock:30}},{L:{groups:[[6,121],[14,122]],totalDataCodewords:2434,errorCodewordsPerBlock:30},M:{groups:[[6,47],[34,48]],totalDataCodewords:1914,errorCodewordsPerBlock:28},Q:{groups:[[46,24],[10,25]],totalDataCodewords:1354,errorCodewordsPerBlock:30},H:{groups:[[2,15],[64,16]],totalDataCodewords:1054,errorCodewordsPerBlock:30}},{L:{groups:[[17,122],[4,123]],totalDataCodewords:2566,errorCodewordsPerBlock:30},M:{groups:[[29,46],[14,47]],totalDataCodewords:1992,errorCodewordsPerBlock:28},Q:{groups:[[49,24],[10,25]],totalDataCodewords:1426,errorCodewordsPerBlock:30},H:{groups:[[24,15],[46,16]],totalDataCodewords:1096,errorCodewordsPerBlock:30}},{L:{groups:[[4,122],[18,123]],totalDataCodewords:2702,errorCodewordsPerBlock:30},M:{groups:[[13,46],[32,47]],totalDataCodewords:2102,errorCodewordsPerBlock:28},Q:{groups:[[48,24],[14,25]],totalDataCodewords:1502,errorCodewordsPerBlock:30},H:{groups:[[42,15],[32,16]],totalDataCodewords:1142,errorCodewordsPerBlock:30}},{L:{groups:[[20,117],[4,118]],totalDataCodewords:2812,errorCodewordsPerBlock:30},M:{groups:[[40,47],[7,48]],totalDataCodewords:2216,errorCodewordsPerBlock:28},Q:{groups:[[43,24],[22,25]],totalDataCodewords:1582,errorCodewordsPerBlock:30},H:{groups:[[10,15],[67,16]],totalDataCodewords:1222,errorCodewordsPerBlock:30}},{L:{groups:[[19,118],[6,119]],totalDataCodewords:2956,errorCodewordsPerBlock:30},M:{groups:[[18,47],[31,48]],totalDataCodewords:2334,errorCodewordsPerBlock:28},Q:{groups:[[34,24],[34,25]],totalDataCodewords:1666,errorCodewordsPerBlock:30},H:{groups:[[20,15],[61,16]],totalDataCodewords:1276,errorCodewordsPerBlock:30}}],Fc={1:0},Gc={0:1},Hc={15:20,16:20,18:24,19:24,22:20,24:22,26:24,28:20,30:20,31:24,32:28,33:24,36:18,37:22,39:20,40:24},Uc=[1,0,1,1,1],Wc=[1,0,1],Xc={L:"01",M:"00",Q:"11",H:"10"},Yc=["11101100","00010001"],qc=[function(t,e){return(t+e)%2==0},function(t){return t%2==0},function(t){return t%3==0},function(t,e){return(t+e)%3==0},function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0},function(t,e){return t*e%2+t*e%3==0},function(t,e){return(t*e%2+t*e%3)%2==0},function(t,e){return((t+e)%2+t*e%3)%2==0}],Zc=/^\d+/,Kc=new RegExp("^[A-Z $%*+./:-]+"),Qc=new RegExp("^[A-Z0-9 $%*+./:-]+"),$c=new RegExp("^[^A-Z0-9 $%*+./:-]+"),Jc=[[1,0],[1,25,0]];function tl(t,e,o,i){for(var r=0;r<t.length;r++)t[r][o][i]=e}function el(t,e,o,i){for(var r=0;r<qc.length;r++)t[r][o][i]=qc[r](o,i)?1^e:parseInt(e,10)}function ol(t,e){for(var o=[],i=t.length-2;i>=0;i--)o[i]=t[i]^e[i];return o}function il(t,e){for(var o=[],i=0;i<t.length;i++)for(var r=0;r<e.length;r++)void 0===o[i+r]?o[i+r]=(t[i]+(e[r]>=0?e[r]:0))%255:o[i+r]=Fc[Gc[o[i+r]]^Gc[(t[i]+e[r])%255]];return o}function rl(t,e){var o=[],i=t.length-1;do{o[i]=Gc[(t[i]+e)%255],i--}while(void 0!==t[i]);return o}function nl(t,e){var o,i,r=Jc[e-1],n=new Array(e).concat(t),a=new Array(n.length-r.length).concat(r),s=t.length,p=[];for(i=0;i<s;i++)o=rl(a,Fc[n[n.length-1]]),a.splice(0,1),n=ol(o,n);for(i=n.length-1;i>=0;i--)p[e-1-i]=Pc(n[i],8);return p}function al(t,e,o,i,r){var n,a,s=Zc.exec(t),p=s?s[0]:"",c=Kc.exec(t),l=c?c[0]:"",u=Qc.exec(t),h=u?u[0]:"";return p&&(p.length>=e||t.length===p.length||p.length>=o&&!Qc.test(t.charAt(p.length)))?(n="numeric",a=p):h&&(t.length===h.length||h.length>=i||"alphanumeric"===r)?(n="alphanumeric",a=p||l):(n="byte",a=h?h+$c.exec(t.substring(h.length))[0]:$c.exec(t)[0]),{mode:n,modeString:a}}function sl(t,e){var o=0,i=Nc.length-1,r=Math.floor(Nc.length/2);do{t<Nc[r][e].totalDataCodewords?i=r:o=r,r=o+Math.floor((i-o)/2)}while(i-o>1);return t<=Nc[o][e].totalDataCodewords?r+1:i+1}function pl(t,e,o){var i=jc(e),r=e.length-1,n=t<<r,a=Pc(t,o-r),s=function(t,e){var o=e.toString(2).length,i=t.toString(2).length,r=t;do{i=(r^=e<<i-o).toString(2).length}while(i>=o);return r}(n,i);return s=a+Pc(s,r)}function cl(t,e){return parseInt(t.charAt(e),10)}function ll(t,e){var o,i,r=t[0],n=0,a=e.length;for(o=0,i=8;o<=8;o++)6!==o&&tl(t,cl(e,a-1-n++),o,i);for(o=8,i=7;i>=0;i--)6!==i&&tl(t,cl(e,a-1-n++),o,i);for(n=0,i=r.length-1,o=8;i>=r.length-8;i--)tl(t,cl(e,a-1-n++),o,i);for(tl(t,1,r.length-8,8),o=r.length-7,i=8;o<r.length;o++)tl(t,cl(e,a-1-n++),o,i)}function ul(t,e){for(var o,i,r,n=t[0].length,a=n-11,s=n-11,p=0;p<e.length;p++)o=Math.floor(p/3),i=p%3,tl(t,r=cl(e,e.length-p-1),0+o,a+i),tl(t,r,s+i,0+o)}function hl(t,e,o,i){for(var r,n=e.length+2,a=e.length+1,s=0;s<e.length;s++)for(var p=s;p<n-s;p++)tl(t,r=e[s],o+p,i+s),tl(t,r,o+s,i+p),tl(t,r,o+a-p,i+a-s),tl(t,r,o+a-s,i+a-p)}function dl(t,e,o,i){var r=o,n=i,a=t[0];do{tl(t,0,r,i),tl(t,0,o,n),r+=e[0],n+=e[1]}while(r>=0&&r<a.length)}function gl(t,e,o,i,r){e[t][i]=(e[t][i]<<1^r)%128,93===e[t][i]&&(o[t]+=40)}function fl(t,e,o,i,r,n){o[t][n]===i?r[t][n]++:(o[t][n]=i,r[t][n]>=5&&(e[t]+=3+r[t][n]-5),r[t][n]=1)}function vl(t,e){var o=Math.floor(t/e*100),i=o%5,r=Math.abs(o-i-50),n=Math.abs(o+5-i-50);return 10*Math.min(r/5,n/5)}function yl(t,e,o){var i=function(t){return t&&t.toLowerCase().indexOf("utf_8")>=0?new zc:new Dc}(o).getEncodingResult(t,e),r=i.version,n=Nc[r-1][e],a=function(t,e){for(var o,i,r,n,a,s=0,p=[],c=[],l=e.groups,u=0;u<l.length;u++){r=l[u][0];for(var h=0;h<r;h++){i=l[u][1],o=[],n=[];for(var d=1;d<=i;d++)a=t.substring(s,s+8),o.push(a),n[i-d]=jc(a),s+=8;p.push(o),c.push(nl(n,e.errorCodewordsPerBlock))}}return[p,c]}(function(t,e){for(var o=8*e,i=0,r=0,n=t;n.length<o&&i<"0000".length;)n+="0000".charAt(i++);for(n.length%8!=0&&(n+=new Array(9-n.length%8).join("0"));n.length<o;)n+=Yc[r],r^=1;return n}(i.dataString,n.totalDataCodewords),n),s=function(t){for(var e=[],o=17+4*t,i=0;i<qc.length;i++){e[i]=new Array(o);for(var r=0;r<o;r++)e[i][r]=new Array(o)}return e}(r);!function(t){var e=t[0].length;hl(t,Uc,0,0),dl(t,[-1,-1],7,7),hl(t,Uc,e-7,0),dl(t,[1,-1],e-8,7),hl(t,Uc,0,e-7),dl(t,[-1,1],7,e-8)}(s),function(t,e){if(!(e<2)){var o,i,r=t[0],n=r.length,a=Math.floor(e/7),s=[6],p=0;for((o=Hc[e])?i=(n-13-o)/a:o=i=(n-13)/(a+1),s.push(s[p++]+o);s[p]+i<n;)s.push(s[p++]+i);for(var c=0;c<s.length;c++)for(var l=0;l<s.length;l++)void 0===r[s[c]][s[l]]&&hl(t,Wc,s[c]-2,s[l]-2)}}(s,r),function(t){for(var e=1,o=t[0].length,i=8;i<o-8;i++)tl(t,e,6,i),tl(t,e,i,6),e^=1}(s),r>=7&&ul(s,Pc(0,18)),ll(s,Pc(0,15)),function(t,e){for(var o,i,r,n=new Tc(t[0]),a=0;a<e.length;a++)for(o=e[a],i=0;o.length>0;){for(var s=0;s<o.length;s++)for(var p=0;p<8;p++)r=n.getNextCell(),el(t,o[s][i].charAt(p),r.row,r.column);for(i++;o[0]&&i===o[0].length;)o.splice(0,1)}for(;r=n.getNextRemainderCell();)el(t,0,r.row,r.column)}(s,a);var p=function(t){var e,o,i=[],r=[],n=[],a=[],s=[],p=t[0].length;for(o=0;o<t.length;o++)i[o]=0,n[o]=0,s[o]=[0,0],a[o]=[0,0],r[o]=[];for(var c=0;c<p;c++)for(var l=0;l<p;l++)for(var u=0;u<t.length;u++)e=t[u],n[u]+=parseInt(e[c][l],10),r[u][0]===e[c][l]&&c+1<p&&l-1>=0&&e[c+1][l]===r[u][0]&&e[c+1][l-1]===r[u][0]&&(i[u]+=3),gl(u,a,i,0,e[c][l]),gl(u,a,i,1,e[l][c]),fl(u,i,r,e[c][l],s,0),fl(u,i,r,e[l][c],s,1);var h,d=p*p,g=Number.MAX_VALUE;for(o=0;o<i.length;o++)i[o]+=vl(n[o],d),i[o]<g&&(g=i[o],h=o);return h}(s),c=s[p];return r>=7&&ul([c],function(t){return pl(t,"1111100100101",18)}(r)),ll([c],function(t){var e,o="";if(0===jc(t))return"101010000010010";e=pl(jc(t),"10100110111",15);for(var i=0;i<e.length;i++)o+=e.charAt(i)^"101010000010010".charAt(i);return o}(Xc[e]+Pc(p,3))),c}!function(){var t,e;for(e=1;e<255;e++)(t=2*Gc[e-1])>255&&(t^=285),Gc[e]=t,Fc[t]=e;t=2*Gc[e-1]^285,Gc[e]=t,Gc[-1]=0}(),function(){for(var t=2;t<=68;t++){var e=Jc[t-1],o=[t,0];Jc[t]=il(e,o)}}();var _l=Math.round,ml=[[0,1],[1,1],[1,2],[2,2],[2,1],[3,1],[3,0],[2,0],[2,-1],[1,-1],[1,0]],bl=[[0,1],[1,1],[1,0]],xl=200,Cl="L",Sl="#fff",wl="#000",Al=1,kl=7,Il=function(t){function e(e,o,i){void 0===i&&(i=Bt),t.call(this),this.options=M({},this.options,o),this.element=e,this.wrapper=this.element,this.onError=i,this._initElement(),this._initSurface(),this.setOptions(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){x(this.element,"k-qrcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return w.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t,height:t}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){var t=this.element,e=t.clientWidth,o=t.clientHeight,i={width:0,height:0};return e>0&&(i.width=e),o&&(i.height=o),i},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype.exportVisual=function(){return this._render()},e.prototype._render=function(){var t,e,o,i,r,n=this._value,a=this.options.border||{},s=this.options.padding||0,p=a.width||0;a.width=p;var c=new w.drawing.Group;try{n&&(o=yl(n,this.options.errorCorrection,this.options.encoding),r=(i=this._getSize())-2*(p+s),t=this._calculateBaseUnit(r,o.length),e=p+s+(r-o.length*t)/2,c.append(this._renderBackground(i,a)),c.append(this._renderMatrix(o,t,e)),this._hasCustomLogo()?c.append(this._renderLogo(i,t)):this._isSwiss()&&c.append(this._renderSwissCode(i,t)))}catch(t){this.onError(t)}return c},e.prototype._renderLogo=function(t,e){var o,i=_l(t/2),r=this._getLogoSize(e*kl),n=this.options.overlay.imageUrl,a={x:i-r.width/2,y:i-r.height/2};return o=new w.geometry.Rect(new w.geometry.Point(a.x,a.y),new w.geometry.Size(r.width,r.height)),new w.drawing.Image(n,o)},e.prototype._renderSwissCode=function(t,e){var o=this._getLogoSize(e*kl),i=(o=Math.max(o.width,o.height))/4,r=i/2,n=t/2,a={},s=new w.drawing.Group;return a.x=a.y=Math.ceil(n-e-o/2),s.append(this._renderShape(a,Math.ceil(o+2*e),bl,"#fff")),a.x=a.y=n-o/2,s.append(this._renderShape(a,o,bl,this.options.color)),a.x=n+r-o/2,a.y=n+r+i-o/2,s.append(this._renderShape(a,i,ml,"#fff")),s},e.prototype._renderShape=function(t,e,o,i){var r=new w.drawing.MultiPath({fill:{color:i},stroke:null});r.moveTo(t.x,t.y);for(var n=0;n<o.length;n++)r.lineTo(t.x+e*o[n][0],t.y+e*o[n][1]);return r.close(),r},e.prototype._getSize=function(){var t;if(this.options.size)t=parseInt(this.options.size,10);else{var e=this.element,o=Math.min(e.clientWidth,e.clientHeight);t=o>0?o:xl}return t},e.prototype._calculateBaseUnit=function(t,e){var o=Math.floor(t/e);if(o<Al){var i=Math.ceil(e*Al);this.onError(new Error("Insufficient size for QR Code: the current size is "+t+"px and the minimum size is "+i+"px."))}else o*e>=t&&o-1>=Al&&o--;return o},e.prototype._renderMatrix=function(t,e,o){for(var i=new w.drawing.MultiPath({fill:{color:this.options.color},stroke:null}),r=0;r<t.length;r++)for(var n=o+r*e,a=0;a<t.length;){for(;0===t[r][a]&&a<t.length;)a++;if(a<t.length){for(var s=a;1===t[r][a];)a++;var p=_l(o+s*e),c=_l(n),l=_l(o+a*e),u=_l(n+e);i.moveTo(p,c).lineTo(p,u).lineTo(l,u).lineTo(l,c).close()}}return i},e.prototype._renderBackground=function(t,e){var o=new zt(0,0,t,t).unpad(e.width/2);return w.drawing.Path.fromRect(o.toRect(),{fill:{color:this.options.background},stroke:{color:e.color,width:e.width}})},e.prototype.setOptions=function(t){var e=t||{};this.options=Ic(this.options,e),void 0!==t.value&&(this._value=String(this.options.value)),this.redraw()},e.prototype.value=function(t){if(void 0===t)return this._value;this._value=String(t),this.redraw()},e.prototype._hasCustomLogo=function(){return Boolean(this.options.overlay.imageUrl)},e.prototype._isSwiss=function(){return"swiss"===this.options.overlay.type},e.prototype._getLogoSize=function(t){var e=this.options.overlay.width,o=this.options.overlay.height;return e||o?e&&!o?o=e:!e&&o&&(e=o):e=o=t,{width:e,height:o}},e}(w.Class);xt(Il,{name:"QRCode",renderAs:"svg",encoding:"ISO_8859_1",value:"",errorCorrection:Cl,background:Sl,color:wl,size:"",padding:0,border:{color:"",width:0},overlay:{type:"image",imageUrl:"",width:0,height:0}});var Ol=Il;var Pl=function(t){return void 0===t&&(t="ISO_8859_1"),function(e){try{yl(e,"L",t)}catch(t){return{valid:!1,error:t}}return{valid:!0}}},jl="Arial, Helvetica, sans-serif",Tl="12px "+jl,Ml="16px "+jl,Dl=function(){return{icon:{border:{width:1}},label:{font:Tl,padding:3},line:{length:10,width:2},visible:!0}},El=function(t){return{visible:!0,labels:{font:"11px Arial, Helvetica, sans-serif"},overlay:t.gradients?{}:{gradient:"none"},area:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},rangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalRangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},bar:{gap:1.5,spacing:.4},boxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},bubble:{border:{width:0},labels:{background:"transparent"},opacity:.6},bullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},candlestick:{border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},line:{width:2}},line:{color:"#000",width:1},spacing:.3},column:{gap:1.5,spacing:.4},heatmap:{labels:{color:"",background:"transparent",visible:!0},highlight:{border:{width:0}}},pie:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},donut:{margin:1},funnel:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},horizontalWaterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4},line:{width:2},notes:Dl(),ohlc:{gap:1,highlight:{line:{opacity:1,width:3}},line:{width:1},spacing:.3},radarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},radarLine:{markers:{visible:!1},width:2},polarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},polarLine:{markers:{visible:!1},width:2},rangeBar:{gap:1.5,spacing:.4},rangeColumn:{gap:1.5,spacing:.4},scatterLine:{width:1},verticalArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalBoxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},verticalBullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},verticalLine:{width:2},waterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4}}},Bl=function(t){return void 0===t&&(t={}),{axisDefaults:{labels:{font:Tl},notes:Dl(),title:{font:Ml,margin:5}},categoryAxis:{majorGridLines:{visible:!0}},navigator:{pane:{height:90,margin:{top:10}}},seriesDefaults:El(t),title:{font:Ml},legend:{labels:{font:Tl}}}}},function(t,e){t.exports=i},function(t,e){t.exports=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(6),r=o(31),n=o(32),a=function(){function t(t,e){var o=this;this.configurationService=t,this.collectionService=e,this.options={},this.subscription=t.onFastChange$.subscribe((function(t){o.options=t,o.notify()}))}return t.prototype.ngOnChanges=function(t){var e=this.configurationService.store;r.copyChanges(t,e),this.configurationService.push(e)},t.prototype.notifyChanges=function(t){this.ngOnChanges(n.toSimpleChanges(t))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.notify=function(){this.collectionService&&this.collectionService.notify(new i.ItemChange(this,this.options))},t}();e.CollectionItemComponent=a},function(t,e){t.exports=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(3),r=function(){function t(t,e,o){var i=this;this.configKey=t,this.configurationService=e,this.collectionService=o,this.items=[],this.subscription=o.onItemChange$.subscribe((function(t){return i.processChanges(t)}))}return t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.ngAfterContentInit=function(){var t=this;this.readItems(),this.children.changes.subscribe((function(){return t.readItems()}))},t.prototype.processChanges=function(t){if(this.children){var e=this.children.toArray().indexOf(t.sender);e<0||(this.items[e]=t.options,this.change())}},t.prototype.readItems=function(){this.items=this.children.map((function(t){return t.options})),this.change()},t.prototype.change=function(){this.configurationService.notify(new i.Change(this.configKey,0===this.items.length?void 0:this.items))},t}();e.CollectionComponent=r},function(t,e,o){"use strict";o.r(e),o.d(e,"AlignService",(function(){return et})),o.d(e,"AnimationService",(function(){return at})),o.d(e,"DOMService",(function(){return J})),o.d(e,"PositionService",(function(){return ot})),o.d(e,"ResizeService",(function(){return it})),o.d(e,"ScrollableService",(function(){return rt})),o.d(e,"PopupService",(function(){return ut})),o.d(e,"POPUP_CONTAINER",(function(){return lt})),o.d(e,"PopupComponent",(function(){return ct})),o.d(e,"PopupModule",(function(){return dt})),o.d(e,"SCALE",(function(){return tt}));var i=o(0),r=o(2),n="bottom",a="center",s="middle",p="left",c="right",l="top",u=function(t){var e=t.anchorRect,o=t.anchorAlign,i=t.elementRect,r=t.elementAlign,p=t.margin;void 0===p&&(p={});var l=o.horizontal,u=o.vertical,h=r.horizontal,d=r.vertical,g=p.horizontal||0,f=p.vertical||0,v=e.top,y=e.left;return u===n&&(v+=e.height),u!==a&&u!==s||(v+=Math.round(e.height/2)),d===n&&(v-=i.height,f*=-1),d!==a&&d!==s||(v-=Math.round(i.height/2),f*=-1),l===c&&(y+=e.width),l!==a&&l!==s||(y+=Math.round(e.width/2)),h===c&&(y-=i.width,g*=-1),h!==a&&h!==s||(y-=Math.round(i.width/2),g*=-1),{top:v+f,left:y+g}};function h(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function d(t){return t.ownerDocument||t.document||t}var g=function(t){return d(t).defaultView},f=function(t){return d(t).documentElement},v=0;function y(){if(!v&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML=" ",document.body.appendChild(t),v=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return v}function _(t){var e=g(t),o=f(t),i={height:e.innerHeight,width:e.innerWidth};return o.scrollHeight-o.clientHeight>0&&(i.width-=y()),i}var m=function(t){if(!t.getBoundingClientRect){var e=_(t);return{bottom:e.height,left:0,right:e.width,top:0}}var o=t.getBoundingClientRect();return{bottom:o.bottom,left:o.left,right:o.right,top:o.top}},b=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||f(t)},x=function(t){var e=t.getBoundingClientRect(),o=e.left,i=e.top;return e.height||e.width||(e=function(t){var e=t.style,o=e.display,i=e.left,r=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var n=t.getBoundingClientRect();return t.style.display=o,t.style.left=i,t.style.position=r,n}(t)),{top:i,left:o,height:e.height,width:e.width}},C=function(t,e){for(var o=[],i=t.parentNode;i&&(o.push(i),i!==e);)i=i.parentNode;return o};function S(t){var e=f(t),o=g(t);return{x:o.pageXOffset||e.scrollLeft||0,y:o.pageYOffset||e.scrollTop||0}}var w=function(t){return t===(t.ownerDocument||{}).body?S(t):{x:t.scrollLeft,y:t.scrollTop}};var A=function(t,e){var o=g(t),i=o.getComputedStyle(t),r=x(t),n=e||b(t),a=t.ownerDocument,s=n!==a.body&&n!==a.documentElement,p={top:0,left:0};if("fixed"!==i.position&&s){var c=o.getComputedStyle(n);(p=x(n)).top+=parseInt(c.borderTopWidth,10),p.left+=parseInt(c.borderLeftWidth,10)}return{top:r.top-p.top,left:r.left-p.left,height:r.height,width:r.width}},k=function(t,e){return t?w(t):function(t){var e=b(t);return e?w(e):{x:0,y:0}}(e)},I=function(t,e,o){void 0===o&&(o=1);var i=e?b(e):null,r=A(t,i),n=r.top,a=r.left,s=r.height,p=r.width,c=k(i,t),l=c.x,u=c.y,h=t.ownerDocument,d=i===h.body||i===h.documentElement?1:o;return{top:n+u*d,left:a+l*d,height:s,width:p}};function O(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}var P="fit",j="flip",T=function(t,e,o){var i=0;return t+e>o&&(i=o-(t+e)),t<0&&(i=-t),i},M=function(t){var e=t.offset,o=t.size,i=t.anchorSize,r=t.viewPortSize,n=t.anchorAlignPoint,c=t.elementAlignPoint,u=0,h=2*t.margin;if(c!==n&&!(c===a||c===s)&&!(n===a||n===s)){var d=n===l||n===p;e<0&&d?e+(u=o+i+h)+o>r&&(u=0):e>=0&&!d&&(e+o>r&&(u+=-(i+o+h)),e+u<0&&(u=0))}return u},D=function(t){var e=t.anchorRect,o=t.anchorAlign,i=t.elementRect,r=t.elementAlign,n=t.collisions,a=t.viewPort,s=t.margin;void 0===s&&(s={});var p=i.top,c=i.left,l=i.height,u=i.width,h=a.height,d=a.width,g=s.horizontal||0,f=s.vertical||0,v=0,y=0,_=n.vertical===P,m=n.horizontal===P,b=n.vertical===j,x=n.horizontal===j;_&&(y+=T(p,l,h)),m&&(v+=T(c,u,d)),b&&(y+=M({margin:f,offset:p,size:l,anchorSize:e.height,viewPortSize:h,anchorAlignPoint:o.vertical,elementAlignPoint:r.vertical})),x&&(v+=M({margin:g,offset:c,size:u,anchorSize:e.width,viewPortSize:d,anchorAlignPoint:o.horizontal,elementAlignPoint:r.horizontal}));var C=b&&0!==y,S=x&&0!==v,w=_&&0!==y,A=m&&0!==v;return{flipped:S||C,fitted:w||A,flip:{horizontal:S,vertical:C},fit:{horizontal:A,vertical:w},offset:{left:v,top:y}}},E=function(t){for(var e=[],o=t.parentNode.firstElementChild;o;)o!==t&&e.push(o),o=o.nextElementSibling;return e},B=function(t,e){for(var o,i,r=C(t),n=e;n&&(o=E(n),!(i=r.reduce((function(t,e){return t.concat(o.filter((function(t){return t===e})))}),[])[0]));)n=n.parentElement;return i};R=function(t){if(!z())return!1;var e=t?t.ownerDocument:document;if(!e||!e.body)return!1;var o=e.createElement("div");o.style.transform="matrix(10, 0, 0, 10, 0, 0)",o.innerHTML='<div style="position: fixed; top: 10px;">child</div>',e.body.appendChild(o);var i=10!==o.children[0].getBoundingClientRect().top;return e.body.removeChild(o),i},V=!1;var R,L,V,z=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},N=o(5),F=o(8),G=o(13),H=o(20),U=o(19),W=o(12),X=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},Y=function(){return"undefined"!=typeof window},q=/auto|scroll/,Z=function(t){return function(t){return""+t.style.overflow+t.style.overflowX+t.style.overflowY}(t)||function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY}(t)};var K=function(t){var e,o=!1;return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return o||(e=t.apply(void 0,i),o=!0),e}}((function(){if(!Object(N.isDocumentAvailable)()&&null!==document.body)return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var e=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),e})),Q=function(t,e){return t&&1!==e?{height:t.height/e,left:t.left/e,top:t.top/e,width:t.width/e}:t},$=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],J=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.addScroll=function(t,e){return h(t,e)},t.prototype.align=function(t){return u(t)},t.prototype.boundingOffset=function(t){return m(this.nativeElement(t))},t.prototype.getFontStyles=function(t){var e=this.getWindow();if(!e||!t)return[];var o=e.getComputedStyle(this.nativeElement(t));return $.map((function(t){return{key:t,value:o[t]}}))},t.prototype.getWindow=function(){return Y()?window:null},t.prototype.hasOffsetParent=function(t){return!!t&&!!this.nativeElement(t).offsetParent},t.prototype.offset=function(t){return t?x(this.nativeElement(t)):null},t.prototype.offsetAtPoint=function(t,e){if(!t)return null;var o=this.nativeElement(t),i=o.style,r=i.left,n=i.top,a=i.transition;o.style.transition="none",o.style.left=e.left+"px",o.style.top=e.top+"px";var s=x(o);return o.style.left=r,o.style.top=n,o.offsetHeight,o.style.transition=a,s},t.prototype.nativeElement=function(t){return t?t.nativeElement||t:null},t.prototype.position=function(t,e,o){return void 0===o&&(o=1),t&&e?I(this.nativeElement(t),this.nativeElement(e),o):null},t.prototype.removeScroll=function(t,e){return O(t,e)},t.prototype.restrictToView=function(t){return D(t)},t.prototype.scrollPosition=function(t){return S(this.nativeElement(t))},t.prototype.scrollableParents=function(t){return function(t){var e=[];if(!Object(N.isDocumentAvailable)()||!Y())return e;for(var o=t.parentElement;o;)(q.test(Z(o))||o.hasAttribute("data-scrollable"))&&e.push(o),o=o.parentElement;return e.push(window),e}(this.nativeElement(t))},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?x(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.getRelativeContextElement=function(t){if(!t||!K())return null;for(var e=this.nativeElement(t).parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return _(this.nativeElement(t))},t.prototype.zIndex=function(t,e){return function(t,e){if(!t||!Object(N.isDocumentAvailable)()||!Y())return null;var o=B(t,e);if(!o)return null;var i=[t].concat(C(t,o)).reduce((function(t,e){var o=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(o,10);return i>t?i:t}),0);return i?i+1:null}(this.nativeElement(t),this.nativeElement(e))},t.prototype.zoomLevel=function(){return Object(N.isDocumentAvailable)()&&Y()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t=Object(i.__decorate)([Object(r.Injectable)()],t)}(),tt=new r.InjectionToken("Popup Document Scale"),et=function(){function t(t,e){void 0===e&&(e=1),this._dom=t,this.scale=e}return t.prototype.alignElement=function(t){var e=t.anchor,o=t.element,i=t.anchorAlign,r=t.elementAlign,n=t.margin,a=t.offset,s=t.positionMode,p=this.scale||1,c="fixed"===s||!this._dom.hasOffsetParent(o)?this.absoluteRect(e,o,a,p):this.relativeRect(e,o,a,p),l=Q(this._dom.offset(o),p);return this._dom.align({anchorAlign:i,anchorRect:c,elementAlign:r,elementRect:l,margin:n})},t.prototype.absoluteRect=function(t,e,o,i){var r=this.elementScrollPosition(t,e),n=X(this._dom.offset(t),o),a=2*i,s=this._dom.stackingElementScroll(e);1!==i&&s&&(s.x/=a,s.y/=a);var p=this._dom.stackingElementOffset(e);return 1!==i&&p&&(p.left/=a,p.top/=a),this._dom.removeScroll(this._dom.addScroll(function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t}(Q(n,i),p),s),r)},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,o,i){var r=X(this._dom.position(t,e,i),o);return Q(r,i)},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__param)(1,Object(r.Inject)(tt)),Object(i.__param)(1,Object(r.Optional)()),Object(i.__metadata)("design:paramtypes",[J,Number])],t)}(),ot=function(){function t(t,e){void 0===e&&(e=1),this._dom=t,this.scale=e}return t.prototype.positionElement=function(t){var e=t.anchor,o=t.currentLocation,i=t.element,r=t.anchorAlign,n=t.elementAlign,a=t.collisions,s=t.margin,p=this._dom,c=this.scale||1,l=p.offsetAtPoint(i,o),u=Q(l,c),h=Q(p.offset(e),c),d=X(h,o),g=t.viewPort||p.windowViewPort(i);g.width=g.width/c,g.height=g.height/c;var f=p.restrictToView({anchorAlign:r,anchorRect:d,collisions:a,elementAlign:n,elementRect:u,margin:s,viewPort:g}),v=p.addOffset(o,f.offset);return{flip:f.flip,flipped:f.flipped,offset:v}},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__param)(1,Object(r.Inject)(tt)),Object(i.__param)(1,Object(r.Optional)()),Object(i.__metadata)("design:paramtypes",[J,Number])],t)}(),it=function(){function t(t,e){this._dom=t,this._zone=e}return t.prototype.subscribe=function(t){var e=this;Object(N.isDocumentAvailable)()&&this._zone.runOutsideAngular((function(){e.subscription=Object(F.fromEvent)(e._dom.getWindow(),"resize").pipe(Object(G.auditTime)(1e3/60)).subscribe((function(){return t()}))}))},t.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__metadata)("design:paramtypes",[J,r.NgZone])],t)}(),rt=function(){function t(t,e){this._dom=t,this._zone=e}return t.prototype.forElement=function(t){return this.unsubscribe(),this.element=t,this},t.prototype.subscribe=function(t){var e=this;if(t&&Object(N.isDocumentAvailable)()&&this.element){var o=this._dom.nativeElement(this.element),i=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var r=i.map((function(t){return Object(F.fromEvent)(t,"scroll").pipe(Object(G.auditTime)(1e3/60))}));e.subscription=F.merge.apply(void 0,r).subscribe((function(r){var n=r.target,a=i.filter((function(t){return t===n})).length>0,s=n===document,p=n===window;(a||s||p)&&t(e.isVisible(o,n))}))}))}},t.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isVisible=function(t,e){var o=this._dom.boundingOffset(t),i=this._dom.boundingOffset(e);return!(1<i.top-o.bottom)&&(!(1<o.top-i.bottom)&&(!(1<o.left-i.right)&&!(1<i.left-o.right)))},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__metadata)("design:paramtypes",[J,r.NgZone])],t)}(),nt={expand:function(t){var e="up"===t||"down"===t?"scaleY":"scaleX";return{start:{transform:e+"(0)",transformOrigin:"down"===t?"top":"left"===t?"right":"right"===t?"left":"bottom"},end:{transform:e+"(1)"}}},slide:function(t){var e="left"===t||"right"===t?"translateX":"translateY";return{start:{transform:e+"("+("right"===t||"down"===t?-100:100)+"%)"},end:{transform:e+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},at=function(){function t(t){this.animationBuilder=t,this.start=new r.EventEmitter,this.end=new r.EventEmitter}return t.prototype.play=function(t,e,o){if(!this.flip||this.flip.horizontal!==o.horizontal||this.flip.vertical!==o.vertical){this.flip=o;var i=e.type||"slide",n=nt[i];if(n){var a=n(this.getDirection(o,e));this.playStates(t,a,e)}else if(Object(r.isDevMode)())throw new Error('Unsupported animation type: "'+i+'". The supported types are slide, expand, fade and zoom.')}},t.prototype.ngOnDestroy=function(){this.stopPlayer()},t.prototype.playStates=function(t,e,o){var i=this;this.stopPlayer();var r=o.duration||100,n=this.animationBuilder.build([Object(H.style)(e.start),Object(H.animate)(r+"ms ease-in",Object(H.style)(e.end))]),a=this.player=n.create(t);a.onDone((function(){i.end.emit(),i.stopPlayer()})),this.start.emit(),a.play()},t.prototype.getDirection=function(t,e){var o=e.direction||"down";return t.horizontal&&("left"===o?o="right":"right"===o&&(o="left")),t.vertical&&("down"===o?o="up":"up"===o&&(o="down")),o},t.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__metadata)("design:paramtypes",[H.AnimationBuilder])],t)}(),st={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642583997,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},pt={left:-1e4,top:0},ct=function(){function t(t,e,o,i,n,a,s,p,c){this.container=t,this._alignService=e,this.domService=o,this._positionService=i,this._resizeService=n,this._scrollableService=a,this.animationService=s,this._renderer=p,this._zone=c,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=pt,this.anchorViewportLeave=new r.EventEmitter,this.close=new r.EventEmitter,this.open=new r.EventEmitter,this.positionChange=new r.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,Object(U.validatePackage)(st),this._renderer.addClass(t.nativeElement,"k-animation-container"),this.updateFixedClass()}return t.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=pt,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass(),this.reposition()},t.prototype.ngOnChanges=function(t){t.copyAnchorStyles&&this.copyFontStyles(),t.positionMode&&this.updateFixedClass()},t.prototype.ngAfterViewInit=function(){var t=this;this.animate||this.resolvedPromise.then((function(){t.onAnimationEnd()}))},t.prototype.ngAfterViewChecked=function(){var t=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){t.unsubscribeReposition(),t.repositionSubscription=Object(F.from)(t.resolvedPromise).subscribe(t.reposition)}))},t.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},t.prototype.onResize=function(){this.reposition()},t.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},t.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(t.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(t){this.setContainerStyle("left",t.left+"px"),this.setContainerStyle("top",t.top+"px"),this._currentOffset=t},enumerable:!0,configurable:!0}),t.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},t.prototype.reposition=function(){var t=this;if(Object(N.isDocumentAvailable)()){var e,o,i,r,n,a,s=this.position(),p=s.flip,c=s.offset;(!this.currentOffset||(e=this.currentOffset,o=c,i=e.left,r=e.top,n=o.left,a=o.top,Math.abs(i-n)>=1||Math.abs(r-a)>=1))&&(this.currentOffset=c,Object(N.hasObservers)(this.positionChange)&&this._zone.run((function(){return t.positionChange.emit({offset:c,flip:p})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,p),this.resizeSensor.acceptSize()}},t.prototype.position=function(){var t=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:t,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},t.prototype.onScroll=function(t){var e=this,o=Object(N.hasObservers)(this.anchorViewportLeave);t||!o?this.reposition():o&&this._zone.run((function(){e.anchorViewportLeave.emit()}))},t.prototype.copyFontStyles=function(){var t=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(e){return t.setContainerStyle(e.key,e.value)}))},t.prototype.updateFixedClass=function(){var t="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[t](this.container.nativeElement,"k-animation-container-fixed")},t.prototype.setContainerStyle=function(t,e){this._renderer.setStyle(this.container.nativeElement,t,e)},t.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"animate",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",r.ElementRef)],t.prototype,"anchor",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"anchorAlign",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"collision",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"popupAlign",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Boolean)],t.prototype,"copyAnchorStyles",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"popupClass",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",String)],t.prototype,"positionMode",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"offset",void 0),Object(i.__decorate)([Object(r.Input)(),Object(i.__metadata)("design:type",Object)],t.prototype,"margin",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"anchorViewportLeave",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"close",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"open",void 0),Object(i.__decorate)([Object(r.Output)(),Object(i.__metadata)("design:type",r.EventEmitter)],t.prototype,"positionChange",void 0),Object(i.__decorate)([Object(r.ViewChild)("container",{static:!0}),Object(i.__metadata)("design:type",r.ElementRef)],t.prototype,"contentContainer",void 0),Object(i.__decorate)([Object(r.ViewChild)(N.ResizeSensorComponent,{static:!0}),Object(i.__metadata)("design:type",N.ResizeSensorComponent)],t.prototype,"resizeSensor",void 0),t=Object(i.__decorate)([Object(r.Component)({exportAs:"kendo-popup",providers:[et,at,J,ot,it,rt],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),Object(i.__metadata)("design:paramtypes",[r.ElementRef,et,J,ot,it,rt,at,r.Renderer2,r.NgZone])],t)}(),lt=new r.InjectionToken("Popup Container"),ut=function(){function t(t,e,o,i){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=o,this.container=i}return Object.defineProperty(t.prototype,"rootViewContainer",{get:function(){var t=this.applicationRef.components||[];if(t[0])return t[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),t.prototype.open=function(t){void 0===t&&(t={});var e=this.contentFrom(t.content),o=e.component,i=e.nodes,r=this.appendPopup(i,t.appendTo),n=r.instance;this.projectComponentInputs(r,t),r.changeDetectorRef.detectChanges(),o&&o.changeDetectorRef.detectChanges();var a=this.getComponentRootNode(r);return{close:function(){var t;o&&o.destroy(),r.destroy(),(t=a)&&t.parentNode&&t.parentNode.removeChild(t)},content:o,popup:r,popupAnchorViewportLeave:n.anchorViewportLeave,popupClose:n.close,popupElement:a,popupOpen:n.open,popupPositionChange:n.positionChange}},t.prototype.appendPopup=function(t,e){var o=this.createComponent(ct,t,e);return e||this.rootViewContainerNode.appendChild(this.getComponentRootNode(o)),o},t.prototype.getComponentRootNode=function(t){return t.location.nativeElement},t.prototype.getComponentFactory=function(t){return this.componentFactoryResolver.resolveComponentFactory(t)},t.prototype.createComponent=function(t,e,o){var i=this.getComponentFactory(t);if(o)return o.createComponent(i,void 0,this.injector,e);var r=i.create(this.injector,e);return this.applicationRef.attachView(r.hostView),r},t.prototype.projectComponentInputs=function(t,e){return Object.getOwnPropertyNames(e).filter((function(t){return"content"!==t||e.content instanceof r.TemplateRef})).map((function(o){t.instance[o]=e[o]})),t},t.prototype.contentFrom=function(t){if(!t||t instanceof r.TemplateRef)return{component:null,nodes:[[]]};var e=this.createComponent(t);return{component:e,nodes:[e?[e.location.nativeElement]:[]]}},t=Object(i.__decorate)([Object(r.Injectable)(),Object(i.__param)(3,Object(r.Inject)(lt)),Object(i.__param)(3,Object(r.Optional)()),Object(i.__metadata)("design:paramtypes",[r.ApplicationRef,r.ComponentFactoryResolver,r.Injector,r.ElementRef])],t)}(),ht=[ct],dt=function(){function t(){}return t=Object(i.__decorate)([Object(r.NgModule)({declarations:[ht],entryComponents:[ht],exports:[ht],imports:[W.CommonModule,N.ResizeSensorModule],providers:[ut]})],t)}()},function(t,e){t.exports=a},function(t,e,o){"use strict";o.r(e),o.d(e,"setScriptKey",(function(){return c})),o.d(e,"validatePackage",(function(){return l}));var i,r,n=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];i=n,r=131,function(t){for(;--t;)i.push(i.shift())}(++r);var a=function(t,e){var o=n[t-=0];if(void 0===a.eVebMg){a.JsjtEd=function(t){for(var e=function(t){for(var e,o,i=String(t).replace(/=+$/,""),r="",n=0,a=0;o=i.charAt(a++);~o&&(e=n%4?64*e+o:o,n++%4)?r+=String.fromCharCode(255&e>>(-2*n&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);return r}(t),o=[],i=0,r=e.length;i<r;i++)o+="%"+("00"+e.charCodeAt(i).toString(16)).slice(-2);return decodeURIComponent(o)},a.rqrXoU={},a.eVebMg=!0}var i=a.rqrXoU[t];return void 0===i?(o=a.JsjtEd(o),a.rqrXoU[t]=o):o=i,o},s={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},p=new Map;function c(t){}function l(t){if(p[a("0x14")](t[a("0x4")])){if(a("0x35")==a("0x35"))return p[a("0x36")](t[a("0x4")])}var e,o=t[a("0x1")]?" v"+t[a("0x1")]:"",i=t[a("0x4")]+o,r=JSON[a("0x9")](s[a("0x34")]),n=!r[a("0x26")]&&!r[a("0x38")],c=r[a("0x26")]&&typeof KendoLicensing===a("0x2b"),l=function(t,e){var o=t[a("0x8")];if(!o||!o[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var i=new Set(e);return o[a("0x2a")]((function(t){if(a("0xa")!==a("0x18"))return i[a("0x14")](t[a("0x39")])}))}(r,t[a("0x2")]);if(n||c)if(a("0x29")!=a("0x29")){}else e={type:0,packageName:i,docsUrl:t[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(l){if(a("0x12")!=a("0x12")){}else if(l[a("0x37")]<t[a("0x1c")])if(a("0x21")===a("0x32")){}else e={type:2,packageName:i,publishDate:u(t[a("0x1c")]),expiryDate:u(l[a("0x37")]),docsUrl:t[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else e={type:1,packageName:i,docsUrl:t[a("0x27")]};if(e&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var h=a("0x1b")+t[a("0xe")],d=typeof console[a("0x7")]===a("0x33");if(d)if(a("0xc")!=a("0xc")){}else console[a("0x7")](h);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](h);if(console[a("0x1e")](function(t){var e=a("0x28")+t[a("0x16")]+"\n";if(2===t[a("0x3a")])if(a("0x20")!=a("0x20")){}else e+=a("0x25")+t[a("0x15")][a("0x2c")]()+a("0xb")+t[a("0x1c")][a("0x2c")]()+".\n";else if(0===t[a("0x3a")])if(a("0x13")!==a("0x10"))e+=a("0xd");else{}else if(1===t[a("0x3a")])if(a("0x2e")===a("0x23")){}else e+=a("0x1d");return e+=a("0x31")+t[a("0x1a")]+a("0x22")}(e)),d)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var g=!e;return p[a("0x0")](t[a("0x4")],g),g}function u(t){return new Date(1e3*t)}},function(t,e){t.exports=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(6),a=o(3),s=o(106),p=o(33),c=function(t){return void 0!==t&&!t},l=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e.prototype.toggleVisibility=function(){this.options.visible=c(this.options.visible),this.notify()},e.prototype.togglePointVisibility=function(t){var e=this.options.pointVisibility=this.options.pointVisibility||{};e[t]=c(e[t]),this.notify()},Object.defineProperty(e.prototype,"seriesTooltipTemplateRef",{get:function(){if(this.seriesTooltip)return this.seriesTooltip.seriesTooltipTemplateRef},enumerable:!0,configurable:!0}),i.__decorate([r.ContentChild(p.SeriesTooltipComponent,{static:!1}),i.__metadata("design:type",p.SeriesTooltipComponent)],e.prototype,"seriesTooltip",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-series-item",template:""}),i.__metadata("design:paramtypes",[a.ConfigurationService,n.CollectionService])],e)}(s.SeriesItemComponentGenerated);e.SeriesItemComponent=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(11),s=o(108),p=o(5),c=function(t){return t.fontWeight+" "+t.fontSize+" "+t.fontFamily},l=function(t){return window.getComputedStyle(t).backgroundColor},u=function(t){function e(e){var o=t.call(this,e)||this;return o.loaded=!1,o}return i.__extends(e,t),e.prototype.loadTheme=function(){!this.loaded&&p.isDocumentAvailable()&&(this.readTheme()||this.readDefaultTheme(),this.loaded=!0,this.next())},e.prototype.readTheme=function(){this.createElement();var t=this.queryColor("accent")!==this.queryColor("accent-contrast");try{t&&(this.push(a.chartBaseTheme()),this.setColors(),this.setFonts(),this.setSeriesColors())}finally{this.destroyElement()}return t},e.prototype.readDefaultTheme=function(){this.push(s.chartDefaultTheme())},e.prototype.createElement=function(){var t=this.element=document.createElement("div");t.style.display="none",t.innerHTML='\n <div class="k-var--accent"></div>\n <div class="k-var--accent-contrast"></div>\n <div class="k-var--base"></div>\n <div class="k-var--background"></div>\n\n <div class="k-var--normal-background"></div>\n <div class="k-var--normal-text-color"></div>\n <div class="k-var--hover-background"></div>\n <div class="k-var--hover-text-color"></div>\n <div class="k-var--selected-background"></div>\n <div class="k-var--selected-text-color"></div>\n <div class="k-var--chart-error-bars-background"></div>\n <div class="k-var--chart-notes-background"></div>\n <div class="k-var--chart-notes-border"></div>\n <div class="k-var--chart-notes-lines"></div>\n <div class="k-var--chart-crosshair-background"></div>\n\n <div class="k-var--chart-inactive"></div>\n <div class="k-var--chart-major-lines"></div>\n <div class="k-var--chart-minor-lines"></div>\n <div class="k-var--chart-area-opacity"></div>\n <div class="k-var--chart-area-inactive-opacity"></div>\n <div class="k-var--chart-line-inactive-opacity"></div>\n\n <div class="k-widget k-chart">\n <div class="k-var--chart-font"></div>\n <div class="k-var--chart-title-font"></div>\n <div class="k-var--chart-pane-title-font"></div>\n <div class="k-var--chart-label-font"></div>\n </div>\n\n <div class="k-var--series-unset"></div>\n <div class="k-var--series">\n '+function(){for(var t='\n <div class="k-var--series-a"></div>\n <div class="k-var--series-b"></div>\n <div class="k-var--series-c"></div>\n <div class="k-var--series-d"></div>\n <div class="k-var--series-e"></div>\n <div class="k-var--series-f"></div>\n ',e=0;e<30;e++)t+='\n <div class="k-var--series-'+(e+1)+'"></div>';return t}()+"\n </div>\n",document.body.appendChild(t)},e.prototype.destroyElement=function(){this.element&&(document.body.removeChild(this.element),this.element=void 0)},e.prototype.setStyle=function(t,e){this.set(t,e)},e.prototype.setColors=function(){this.mapColor("axisDefaults.crosshair.color","chart-crosshair-background"),this.mapColor("axisDefaults.labels.color","normal-text-color"),this.mapColor("axisDefaults.line.color","chart-major-lines"),this.mapColor("axisDefaults.majorGridLines.color","chart-major-lines"),this.mapColor("axisDefaults.minorGridLines.color","chart-minor-lines"),this.mapColor("axisDefaults.notes.icon.background","chart-notes-background"),this.mapColor("axisDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("axisDefaults.notes.line.color","chart-notes-lines"),this.mapColor("axisDefaults.title.color","normal-text-color"),this.mapColor("chartArea.background","background"),this.mapColor("legend.inactiveItems.labels.color","chart-inactive"),this.mapColor("legend.inactiveItems.markers.color","chart-inactive"),this.mapColor("legend.labels.color","normal-text-color"),this.mapColor("seriesDefaults.boxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.boxPlot.mean.color","base"),this.mapColor("seriesDefaults.boxPlot.median.color","base"),this.mapColor("seriesDefaults.boxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.bullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.candlestick.downColor","normal-text-color"),this.mapColor("seriesDefaults.candlestick.line.color","normal-text-color"),this.mapColor("seriesDefaults.errorBars.color","chart-error-bars-background"),this.mapColor("seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),this.mapColor("seriesDefaults.icon.border.color","chart-major-lines"),this.mapColor("seriesDefaults.labels.background","background"),this.mapColor("seriesDefaults.labels.color","normal-text-color"),this.mapColor("seriesDefaults.notes.icon.background","chart-notes-background"),this.mapColor("seriesDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("seriesDefaults.notes.line.color","chart-notes-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.mean.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.median.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.verticalBullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.waterfall.line.color","chart-major-lines"),this.mapColor("title.color","normal-text-color");var t=parseFloat(this.queryStyle("chart-area-opacity").opacity);isNaN(t)||(this.setStyle("seriesDefaults.area.opacity",t),this.setStyle("seriesDefaults.radarArea.opacity",t),this.setStyle("seriesDefaults.verticalArea.opacity",t),this.setStyle("seriesDefaults.labels.opacity",t)),this.setInactiveOpacity(["area","verticalArea"],"chart-area-inactive-opacity"),this.setInactiveOpacity(["line","verticalLine"],"chart-line-inactive-opacity")},e.prototype.setInactiveOpacity=function(t,e){var o=this,i=parseFloat(this.queryStyle(e).opacity);!isNaN(i)&&i<1&&t.forEach((function(t){return o.setStyle("seriesDefaults."+t+".highlight.inactiveOpacity",i)}))},e.prototype.setFonts=function(){var t=c(this.queryStyle("chart-font")),e=c(this.queryStyle("chart-title-font")),o=c(this.queryStyle("chart-pane-title-font")),i=c(this.queryStyle("chart-label-font"));this.setStyle("axisDefaults.labels.font",i),this.setStyle("axisDefaults.notes.label.font",t),this.setStyle("axisDefaults.title.font",t),this.setStyle("legend.labels.font",t),this.setStyle("seriesDefaults.labels.font",i),this.setStyle("seriesDefaults.notes.label.font",t),this.setStyle("title.font",e),this.setStyle("paneDefaults.title.font",o)},e.prototype.setSeriesColors=function(){var t=this.element,e=[].slice.call(t.querySelectorAll(".k-var--series div")),o=l(t.querySelector(".k-var--series-unset")),i=e.reduce((function(t,e){var i=function(t){var e=t.match(/series-([a-z])$/);if(null!==e)return e[1].toLowerCase().charCodeAt(0)-"a".charCodeAt(0);var o=t.split("--series-")[1];return parseInt(o,10)-1}(e.className),r=l(e);return r!==o&&(t[i]=r),t}),[]);this.setStyle("seriesColors",i)},e.prototype.mapColor=function(t,e){this.setStyle(t,this.queryColor(e))},e.prototype.queryColor=function(t){return this.queryStyle(t).backgroundColor},e.prototype.queryStyle=function(t){var e=this.element.querySelector(".k-var--"+t);return window.getComputedStyle(e)},e=i.__decorate([r.Injectable(),i.__metadata("design:paramtypes",[r.NgZone])],e)}(n.ConfigurationService);e.ThemeService=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(12),a=o(17),s=o(5),p=o(22),c=o(42),l=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[c.CHART_DIRECTIVES],exports:[c.CHART_DIRECTIVES],imports:[n.CommonModule,a.PopupModule,s.ResizeSensorModule],providers:[p.ThemeService]})],t)}();e.ChartModule=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(2),a=o(2),s=o(2),p=o(8),c=o(13),l=o(19),u=o(25),h=o(100),d=o(3),g=o(43),f=o(27),v=o(62),y=o(21),_=o(22),m=o(109),b=o(10),x=o(34),C=o(37),S=o(64),w=o(29),A=o(15),k=o(11),I=o(1),O=o(18),P=o(5),j=o(31);o(111);var T=o(32);function M(t){return t.observers.length>0}var D=function(t){function e(e,o,i,r,n,a,p,c,h){var d=t.call(this,e)||this;return d.configurationService=e,d.themeService=o,d.element=i,d.intl=r,d.localizationService=n,d.ngZone=a,d.instanceEventService=p,d.changeDetector=c,d.renderer=h,d.legendItemClick=new s.EventEmitter,d.resizeRateLimit=10,d.theme=null,d.suppressTransitions=!1,d.rtl=!1,d.hostClasses=["k-chart","k-widget"],l.validatePackage(u.packageMetadata),d.themeService.loadTheme(),d.refreshWait(),d}return i.__extends(e,t),e.prototype.ngOnInit=function(){var t=this;this.element&&(this.hostClasses.forEach((function(e){t.renderer.addClass(t.element.nativeElement,e)})),this.renderer.setStyle(this.element.nativeElement,"position","relative"))},e.prototype.ngAfterViewInit=function(){var t=this;this.canRender&&this.ngZone.runOutsideAngular((function(){var e=t.renderer.listen(t.surfaceElement.nativeElement,"mouseleave",t.chartMouseleave.bind(t));t.domSubscriptions=function(){e()}})),this.setDirection(),this.subscriptions=this.intl.changes.subscribe(this.intlChange.bind(this)),this.subscriptions.add(this.localizationService.changes.subscribe(this.rtlChange.bind(this)))},e.prototype.ngAfterViewChecked=function(){var t=this;this.instance&&this.autoResize&&this.ngZone.runOutsideAngular((function(){clearTimeout(t.resizeTimeout),t.resizeTimeout=setTimeout((function(){t.resize()}),0)}))},e.prototype.ngOnChanges=function(t){var e=this.configurationService.store;j.copyChanges(t,e),e.popupSettings=null,this.configurationService.push(e)},e.prototype.notifyChanges=function(t){this.ngOnChanges(T.toSimpleChanges(t))},e.prototype.ngOnDestroy=function(){this.destroyed=!0,this.subscription&&this.subscription.unsubscribe(),this.domSubscriptions&&(this.domSubscriptions(),this.domSubscriptions=null),this.instance&&(this.instance.destroy(),this.instance=null),this.subscriptions&&this.subscriptions.unsubscribe(),clearTimeout(this.resizeTimeout),clearTimeout(this.redrawTimeout)},e.prototype.createInstance=function(t,e){this.instance=new k.Chart(t,this.options,this.theme,{intlService:this.intl,observer:e,rtl:this.rtl,sender:this})},e.prototype.exportImage=function(t){return void 0===t&&(t={}),I.exportImage(this.exportVisual(t),t)},e.prototype.exportSVG=function(t){return void 0===t&&(t={}),I.exportSVG(this.exportVisual(t),t)},e.prototype.exportVisual=function(t){return void 0===t&&(t={}),this.instance.exportVisual(t)},e.prototype.findAxisByName=function(t){if(this.instance)return this.instance.findAxisByName(t)},e.prototype.findPaneByIndex=function(t){if(this.instance)return this.instance.findPaneByIndex(t)},e.prototype.findPaneByName=function(t){if(this.instance)return this.instance.findPaneByName(t)},e.prototype.getPlotArea=function(){if(this.instance)return this.instance.plotArea()},e.prototype.toggleHighlight=function(t,e){this.instance&&this.instance.toggleHighlight(t,e)},e.prototype.hideTooltip=function(){this.instance&&this.instance.hideTooltip()},e.prototype.showTooltip=function(t){this.instance&&this.instance.showTooltip(t)},e.prototype.init=function(){if(this.canRender){var t=this.surfaceElement.nativeElement,e=new m.ChartInstanceObserver(this);this.createInstance(t,e)}},e.prototype.resize=function(){this.instance&&this.instance.resize()},e.prototype.onResize=function(t){this.autoResize&&this.resize()},e.prototype.onLegendItemClick=function(t){var e=this;this.run((function(){var o=new g.LegendItemClickEvent(t,e);if(e.legendItemClick.emit(o),!o.isDefaultPrevented()){var i=e.seriesComponents.toArray()[t.series.index];if(!i)return;void 0===t.pointIndex?i.toggleVisibility():i.togglePointVisibility(t.pointIndex),e.suppressTransitions=!0}}),M(this.legendItemClick),this.seriesComponents.length>0)},e.prototype.onInit=function(t){this.instance=t.sender},e.prototype.onRender=function(t){var e=this,o=this.getDonutCenterStyle();this.run((function(){var i=new w.RenderEvent(t,e);e.surface=t.sender.surface,e.render.emit(i),e.donutCenterStyle=o}),M(this.render),this.donutCenterStyle!==o)},e.prototype.onShowTooltip=function(t){var e=this;this.run((function(){t.crosshair?e.crossahirTooltips.show(t):e.tooltipInstance.show(t)}),!t.crosshair,!0)},e.prototype.onHideTooltip=function(t){t.crosshair?this.crossahirTooltips.active&&(this.crossahirTooltips.hide(),this.detectChanges()):this.tooltipInstance.active&&(this.tooltipInstance.hide(),this.detectChanges())},e.prototype.trigger=function(t,e){if("resize"!==t){var o=this.activeEmitter(t);if(o){var i=this.instanceEventService.create(t,e,this);return this.run((function(){o.emit(i)})),i.isDefaultPrevented&&i.isDefaultPrevented()}}},e.prototype.requiresHandlers=function(t){for(var e=0;e<t.length;e++)if(this.activeEmitter(t[e]))return!0;return!1},e.prototype.refresh=function(){if(clearTimeout(this.redrawTimeout),this.updateDirection(),this.crossahirTooltips.createCrosshairTooltips(this.options),this.setChartAreaSize(),this.instance){var t=this.options.transitions;this.suppressTransitions&&(this.options.transitions=!1),this.updateOptions(),this.suppressTransitions&&(this.options.transitions=t,this.suppressTransitions=!1)}else this.init()},e.prototype.setChartAreaSize=function(){if(this.element){var t=this.element.nativeElement,e=this.options.chartArea||{};e.width&&(t.style.width=e.width+"px"),e.height&&(t.style.height=e.height+"px")}},e.prototype.updateOptions=function(){this.instance.setOptions(this.options)},e.prototype.tooltipMouseleave=function(t){var e=t.relatedTarget,o=this.element.nativeElement;!this.instance||e&&S.hasParent(e,o)||this.instance.hideElements()},e.prototype.chartMouseleave=function(t){var e=t.relatedTarget,o=this.element.nativeElement;!this.instance||e&&(this.tooltipInstance.containsElement(e)||S.hasParent(e,o))||this.instance.handlingTap||this.instance.hideElements()},Object.defineProperty(e.prototype,"canRender",{get:function(){return P.isDocumentAvailable()&&Boolean(this.surfaceElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoResize",{get:function(){return this.resizeRateLimit>0},enumerable:!0,configurable:!0}),e.prototype.activeEmitter=function(t){var e=this[t];if(e&&e.emit&&M(e))return e},e.prototype.getDonutCenterStyle=function(){if(this.instance&&this.options&&this.options.series){var t=this.options.series[0],e=this.instance._plotArea.charts;if(t&&"donut"===t.type&&e&&0!==e[0].points.length){var o=e[0].points[0],i=o.box.center(),r=o.sector.innerRadius,n=i.y-r,a=2*r;return{height:a+"px",left:i.x-r+"px",top:n+"px",width:a+"px"}}}},e.prototype.refreshWait=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=p.combineLatest(t.configurationService.onChange$,t.themeService.onChange$).pipe(c.tap((function(e){t.options=e[0],t.theme=e[1]})),c.auditTime(d.THROTTLE_MS)).subscribe((function(){t.refresh()}))}))},e.prototype.run=function(t,e,o){void 0===e&&(e=!0),e?(o&&this.changeDetector.markForCheck(),this.ngZone.run(t)):(t(),o&&this.detectChanges())},e.prototype.detectChanges=function(){this.destroyed||this.changeDetector.detectChanges()},e.prototype.intlChange=function(){this.instance&&this.deferredRedraw()},e.prototype.rtlChange=function(){this.instance&&this.rtl!==this.isRTL&&this.deferredRedraw()},e.prototype.deferredRedraw=function(){var t=this;this.ngZone.runOutsideAngular((function(){clearTimeout(t.redrawTimeout),t.redrawTimeout=setTimeout((function(){t.updateDirection(),t.instance.noTransitionsRedraw()}),0)}))},e.prototype.updateDirection=function(){var t=this.isRTL;this.rtl!==t&&(this.setDirection(),this.instance&&this.instance.setDirection(t))},e.prototype.setDirection=function(){this.rtl=this.isRTL,this.element&&this.renderer.setAttribute(this.element.nativeElement,"dir",this.rtl?"rtl":"ltr")},Object.defineProperty(e.prototype,"isRTL",{get:function(){return Boolean(this.localizationService.rtl)},enumerable:!0,configurable:!0}),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"legendItemClick",void 0),i.__decorate([s.Input(),i.__metadata("design:type",Number)],e.prototype,"resizeRateLimit",void 0),i.__decorate([s.Input(),i.__metadata("design:type",Object)],e.prototype,"popupSettings",void 0),i.__decorate([n.ContentChildren(y.SeriesItemComponent,{descendants:!0}),i.__metadata("design:type",n.QueryList)],e.prototype,"seriesComponents",void 0),i.__decorate([r.ContentChild(v.DonutCenterTemplateDirective,{static:!1}),i.__metadata("design:type",v.DonutCenterTemplateDirective)],e.prototype,"donutCenterTemplate",void 0),i.__decorate([n.ViewChild(x.TooltipPopupComponent,{static:!0}),i.__metadata("design:type",x.TooltipPopupComponent)],e.prototype,"tooltipInstance",void 0),i.__decorate([n.ViewChild(C.CrosshairTooltipsContainerComponent,{static:!0}),i.__metadata("design:type",C.CrosshairTooltipsContainerComponent)],e.prototype,"crossahirTooltips",void 0),i.__decorate([n.ViewChild("surface",{static:!0}),i.__metadata("design:type",a.ElementRef)],e.prototype,"surfaceElement",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,exportAs:"kendoChart",providers:[d.ConfigurationService,b.TooltipTemplateService,f.InstanceEventService,O.LocalizationService,{provide:O.L10N_PREFIX,useValue:"kendo.chart"}],selector:"kendo-chart",template:'\n <div #surface class="k-chart-surface"></div>\n <kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltips-container>\n <kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-chart-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n <div class="k-chart-donut-center" [ngStyle]="donutCenterStyle" *ngIf="donutCenterStyle && donutCenterTemplate">\n <ng-template [ngTemplateOutlet]="donutCenterTemplate.templateRef"></ng-template>\n </div>\n '}),i.__metadata("design:paramtypes",[d.ConfigurationService,_.ThemeService,a.ElementRef,A.IntlService,O.LocalizationService,r.NgZone,f.InstanceEventService,r.ChangeDetectorRef,r.Renderer2])],e)}(h.ChartComponentGenerated);e.ChartComponent=D},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-charts",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642588188,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.LegendEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(44),r=o(45),n=o(46),a=o(47),s=o(48),p=o(101),c=o(49),l=o(50),u=o(102),h=o(51),d=o(52),g=o(53),f=o(103),v=o(29),y=o(54),_=o(55),m=o(56),b=o(57),x=o(58),C=o(104),S=o(105),w=o(59),A=o(60),k=o(61),I={axisLabelClick:i.AxisLabelClickEvent,drag:r.DragEvent,dragEnd:n.DragEndEvent,dragStart:a.DragStartEvent,legendItemHover:s.LegendItemHoverEvent,legendItemLeave:p.LegendItemLeaveEvent,noteClick:c.NoteClickEvent,noteHover:l.NoteHoverEvent,noteLeave:u.NoteLeaveEvent,paneRender:h.PaneRenderEvent,plotAreaClick:d.PlotAreaClickEvent,plotAreaHover:g.PlotAreaHoverEvent,plotAreaLeave:f.PlotAreaLeaveEvent,render:v.RenderEvent,select:y.SelectEvent,selectEnd:_.SelectEndEvent,selectStart:m.SelectStartEvent,seriesClick:b.SeriesClickEvent,seriesHover:x.SeriesHoverEvent,seriesOver:C.SeriesOverEvent,seriesLeave:S.SeriesLeaveEvent,zoom:w.ZoomEvent,zoomEnd:A.ZoomEndEvent,zoomStart:k.ZoomStartEvent},O=function(){function t(){}return t.prototype.create=function(t,e,o){if(I[t])return new I[t](e,o)},t}();e.InstanceEventService=O},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.dataItem=e.dataItem,i.series=e.series,i.value=e.value,i.visual=e.visual,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.NoteEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){return t.call(this,o)||this}return i.__extends(e,t),e}(o(7).BaseEvent);e.RenderEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.dataItem=e.dataItem,i.originalEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.SeriesEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.copyChanges=function(t,e){for(var o in t)if(t.hasOwnProperty(o)){var i=t[o].currentValue;void 0===i?delete e[o]:e[o]=i}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2);e.toSimpleChanges=function(t){var e={};for(var o in t)t.hasOwnProperty(o)&&(e[o]=new i.SimpleChange(null,t[o],!1));return e}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),Object.defineProperty(e.prototype,"seriesTooltipTemplateRef",{get:function(){return this.seriesTooltipTemplate},enumerable:!0,configurable:!0}),i.__decorate([r.ContentChild(r.TemplateRef,{static:!1}),i.__metadata("design:type",r.TemplateRef)],e.prototype,"seriesTooltipTemplate",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(107).SeriesTooltipComponentGenerated);e.SeriesTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(35),a=o(36),s=o(110),p=o(63),c=o(64),l=o(10),u=o(17),h=o(65),d=o(18),g=function(t){function e(e,o,i,n){var a=t.call(this,e,i)||this;return a.popupService=e,a.templateService=o,a.localizationService=i,a.ngZone=n,a.seriesTooltipContext={},a.seriesSharedTooltipContext={},a.animate=!0,a.wrapperClass="k-chart-tooltip-wrapper",a.leave=new r.EventEmitter,a.popupClasses={},a}return i.__extends(e,t),e.prototype.show=function(e){var o;this.shared=e.shared,this.popupClasses=Object.assign(((o={})["k-chart-shared-tooltip"]=e.shared,o["k-chart-tooltip"]=!0,o[e.className]=!!e.className,o),this.classNames),e.shared?(this.seriesSharedTooltipTemplateRef=this.templateService.getSharedTemplate()||this.defaultSharedTooltipTemplate.templateRef,this.seriesSharedTooltipContext=this.sharedTemplateContext(e)):(this.seriesTooltipContext=new s.TooltipTemplatePoint(e.point,e.format),this.seriesTooltipTemplateRef=this.pointTemplateRef(e.point)),t.prototype.show.call(this,e)},e.prototype.containsElement=function(t){if(this.popupRef)return c.hasParent(t,this.popupRef.popupElement)},e.prototype.sharedTemplateContext=function(t){var e=t.points.filter((function(t){return void 0!==t.series.name})).length>0,o=t.series.length>1,i=1;return e&&i++,o&&i++,{category:t.category,categoryText:t.categoryText,colorMarker:o,colspan:i,nameColumn:e,points:this.wrapPoints(t.points,t.format)}},e.prototype.pointTemplateRef=function(t){return this.templateService.getTemplate(t.series.index)||this.defaultSeriesTooltipTemplate.templateRef},e.prototype.wrapPoints=function(t,e){for(var o=[],i=0;i<t.length;i++){var r=t[i],n=this.pointTemplateRef(r),a=((r.options||{}).tooltip||{}).format||e;o.push(new s.TooltipTemplatePoint(r,a,n))}return o},e.prototype.onInit=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.mouseleaveSubscription=t.popupRef.popupElement.addEventListener("mouseleave",(function(e){t.leave.emit(e)}))})),this.popupRef.popupElement.className+=" "+this.wrapperClass},e.prototype.hide=function(){this.mouseleaveSubscription&&(this.mouseleaveSubscription(),this.mouseleaveSubscription=null),t.prototype.hide.call(this)},i.__decorate([r.ViewChild(n.SeriesTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",n.SeriesTooltipTemplateDirective)],e.prototype,"defaultSeriesTooltipTemplate",void 0),i.__decorate([r.ViewChild(a.SharedTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",a.SharedTooltipTemplateDirective)],e.prototype,"defaultSharedTooltipTemplate",void 0),i.__decorate([r.ViewChild("content",{static:!0}),i.__metadata("design:type",r.TemplateRef)],e.prototype,"templateRef",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"animate",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"classNames",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"popupSettings",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"wrapperClass",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"leave",void 0),e=i.__decorate([r.Component({providers:[u.PopupService,{provide:u.POPUP_CONTAINER,useFactory:h.bodyFactory}],selector:"kendo-chart-tooltip-popup",template:'\n <ng-template #content>\n <div [ngClass]="popupClasses" [ngStyle]="style">\n <ng-template [ngTemplateOutlet]="seriesTooltipTemplateRef" *ngIf="!shared"\n [ngTemplateOutletContext]="seriesTooltipContext">\n </ng-template>\n <ng-template [ngTemplateOutlet]="seriesSharedTooltipTemplateRef" *ngIf="shared"\n [ngTemplateOutletContext]="seriesSharedTooltipContext">\n </ng-template>\n </div>\n </ng-template>\n\n <ng-template kendoChartSeriesTooltipTemplate let-formattedValue="formattedValue">\n <span [innerHTML]="formattedValue"></span>\n </ng-template>\n <ng-template kendoChartSharedTooltipTemplate let-points="points" let-categoryText="categoryText" let-colspan="colspan" let-colorMarker="colorMarker" let-nameColumn="nameColumn" >\n <table>\n <tr><th [attr.colspan]=\'colspan\'> {{ categoryText }} </th></tr>\n <tr *ngFor="let point of points">\n <td *ngIf="colorMarker"><span class=\'k-chart-shared-tooltip-marker\' [style.background-color]=\'point.series.color\'></span></td>\n <td *ngIf="nameColumn">\n <ng-container *ngIf="point.series.name !== undefined">{{ point.series.name }}</ng-container>\n <ng-container *ngIf="point.series.name === undefined"> </ng-container>\n </td>\n <td>\n <ng-template [ngTemplateOutlet]="point.template"\n [ngTemplateOutletContext]="point">\n </ng-template>\n </td>\n </tr>\n </table>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[u.PopupService,l.TooltipTemplateService,d.LocalizationService,r.NgZone])],e)}(p.BaseTooltip);e.TooltipPopupComponent=g},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(){function t(t){this.templateRef=t}return t=i.__decorate([r.Directive({selector:"[kendoChartSeriesTooltipTemplate]"}),i.__param(0,r.Optional()),i.__metadata("design:paramtypes",[r.TemplateRef])],t)}();e.SeriesTooltipTemplateDirective=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(){function t(t){this.templateRef=t}return t=i.__decorate([r.Directive({selector:"[kendoChartSharedTooltipTemplate]"}),i.__param(0,r.Optional()),i.__metadata("design:paramtypes",[r.TemplateRef])],t)}();e.SharedTooltipTemplateDirective=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(66),a=["categoryAxis","valueAxis","xAxis","yAxis"],s=function(){function t(){this.tooltipKeys=[],this.tooltipsMap={}}return t.prototype.show=function(t){for(var e=this.crossahirTooltipComponents.toArray(),o=t.axisName,i=t.axisIndex,r=0;r<e.length;r++)if(e[r].key===o+i){e[r].show(t);break}},t.prototype.hide=function(){for(var t=this.crossahirTooltipComponents.toArray(),e=0;e<t.length;e++)t[e].hide()},Object.defineProperty(t.prototype,"active",{get:function(){return this.tooltipKeys.length>0},enumerable:!0,configurable:!0}),t.prototype.createCrosshairTooltips=function(t){var e=this.mapTooltips(t),o=this.tooltipsMap;for(var i in o)e[i]||(this.removeTooltip(i),delete o[i]);for(var i in e)o[i]||(o[i]=e[i],this.tooltipKeys.push(i))},t.prototype.removeTooltip=function(t){for(var e=this.tooltipKeys,o=0;o<e.length;o++)if(e[o]===t){e.splice(o,1);break}},t.prototype.mapTooltips=function(t){for(var e={},o=0;o<a.length;o++)for(var i=this.axesCrosshairTooltipOptions(t,a[o]),r=0;r<i.length;r++){var n=i[r];e[n.name+n.index]=n}return e},t.prototype.axesCrosshairTooltipOptions=function(t,e){var o=[];if(t[e])for(var i=[].concat(t[e]),r=0;r<i.length;r++){var n=(i[r].crosshair||{}).tooltip;n&&n.visible&&o.push({index:r,name:e})}return o},i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"popupSettings",void 0),i.__decorate([r.ViewChildren(n.CrosshairTooltipComponent),i.__metadata("design:type",r.QueryList)],t.prototype,"crossahirTooltipComponents",void 0),t=i.__decorate([r.Component({selector:"kendo-chart-crosshair-tooltips-container",template:'\n <kendo-chart-crosshair-tooltip *ngFor="let key of tooltipKeys" [key]="key" [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltip>\n '})],t)}();e.CrosshairTooltipsContainerComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(15),a=o(6),s=o(3),p=function(t){function e(e,o,i,r){var n=t.call(this,e,o,i,r)||this;return n.configurationService=e,n.collectionService=o,n}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"rangeLabels",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-category-axis-item",template:""}),i.__param(3,r.Inject(r.LOCALE_ID)),i.__metadata("design:paramtypes",[s.ConfigurationService,a.CollectionService,n.IntlService,String])],e)}(o(126).CategoryAxisItemComponentGenerated);e.CategoryAxisItemComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(127);e.WeekStartDay=i.WeekStartDay},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"culture",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"dateFormats",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(4).SettingsComponent);e.CategoryAxisLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(94);e.PREFIX=new r.InjectionToken("configuration prefix");var s=function(t){function o(e,o,i){var r=t.call(this,i)||this;return r.rootService=e,r.prefix=o,r}return i.__extends(o,t),o.prototype.push=function(t){this.rootService.notify(new n.Change(this.prefix,t))},o.prototype.notify=function(t){t.key=this.prefix+(t.key?"."+t.key:""),this.rootService.notify(t)},o=i.__decorate([r.Injectable(),i.__param(0,r.Inject(a.RootConfigurationService)),i.__param(1,r.Inject(e.PREFIX)),i.__metadata("design:paramtypes",[a.RootConfigurationService,String,r.NgZone])],o)}(n.ConfigurationService);e.PrefixConfigurationService=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(24);e.ChartComponent=i.ChartComponent;var r=o(35),n=o(36),a=o(66),s=o(37),p=o(62),c=o(34),l=o(114);e.AxisDefaultsComponent=l.AxisDefaultsComponent;var u=o(116);e.AxisDefaultsCrosshairComponent=u.AxisDefaultsCrosshairComponent;var h=o(118);e.AxisDefaultsCrosshairTooltipComponent=h.AxisDefaultsCrosshairTooltipComponent;var d=o(120);e.AxisDefaultsLabelsComponent=d.AxisDefaultsLabelsComponent;var g=o(122);e.AxisDefaultsTitleComponent=g.AxisDefaultsTitleComponent;var f=o(124);e.CategoryAxisComponent=f.CategoryAxisComponent;var v=o(67);e.CategoryAxisCrosshairComponent=v.CategoryAxisCrosshairComponent;var y=o(68);e.CategoryAxisCrosshairTooltipComponent=y.CategoryAxisCrosshairTooltipComponent;var _=o(38);e.CategoryAxisItemComponent=_.CategoryAxisItemComponent;var m=o(40);e.CategoryAxisLabelsComponent=m.CategoryAxisLabelsComponent;var b=o(130);e.CategoryAxisRangeLabelsComponent=b.CategoryAxisRangeLabelsComponent;var x=o(69);e.CategoryAxisNotesComponent=x.CategoryAxisNotesComponent;var C=o(70);e.CategoryAxisNotesIconComponent=C.CategoryAxisNotesIconComponent;var S=o(71);e.CategoryAxisNotesLabelComponent=S.CategoryAxisNotesLabelComponent;var w=o(72);e.CategoryAxisSelectComponent=w.CategoryAxisSelectComponent;var A=o(73);e.CategoryAxisTitleComponent=A.CategoryAxisTitleComponent;var k=o(136);e.ChartAreaComponent=k.ChartAreaComponent;var I=o(138);e.LegendComponent=I.LegendComponent;var O=o(140);e.LegendInactiveItemsComponent=O.LegendInactiveItemsComponent;var P=o(142);e.LegendItemComponent=P.LegendItemComponent;var j=o(74);e.PaneComponent=j.PaneComponent;var T=o(144);e.PaneDefaultsComponent=T.PaneDefaultsComponent;var M=o(145);e.PaneDefaultsTitleComponent=M.PaneDefaultsTitleComponent;var D=o(146);e.PanesComponent=D.PanesComponent;var E=o(76);e.PanesTitleComponent=E.PanesTitleComponent;var B=o(149);e.PlotAreaComponent=B.PlotAreaComponent;var R=o(77);e.SeriesComponent=R.SeriesComponent;var L=o(152);e.SeriesDefaultsComponent=L.SeriesDefaultsComponent;var V=o(154);e.SeriesDefaultsLabelsComponent=V.SeriesDefaultsLabelsComponent;var z=o(156);e.SeriesDefaultsLabelsFromComponent=z.SeriesDefaultsLabelsFromComponent;var N=o(158);e.SeriesDefaultsLabelsToComponent=N.SeriesDefaultsLabelsToComponent;var F=o(160);e.SeriesDefaultsNotesComponent=F.SeriesDefaultsNotesComponent;var G=o(162);e.SeriesDefaultsNotesIconComponent=G.SeriesDefaultsNotesIconComponent;var H=o(164);e.SeriesDefaultsNotesLabelComponent=H.SeriesDefaultsNotesLabelComponent;var U=o(166);e.SeriesDefaultsTooltipComponent=U.SeriesDefaultsTooltipComponent;var W=o(78);e.SeriesErrorBarsComponent=W.SeriesErrorBarsComponent;var X=o(79);e.SeriesExtremesComponent=X.SeriesExtremesComponent;var Y=o(80);e.SeriesHighlightComponent=Y.SeriesHighlightComponent;var q=o(21);e.SeriesItemComponent=q.SeriesItemComponent;var Z=o(81);e.SeriesLabelsComponent=Z.SeriesLabelsComponent;var K=o(82);e.SeriesLabelsFromComponent=K.SeriesLabelsFromComponent;var Q=o(83);e.SeriesLabelsToComponent=Q.SeriesLabelsToComponent;var $=o(84);e.SeriesMarkersComponent=$.SeriesMarkersComponent;var J=o(85);e.SeriesNotesComponent=J.SeriesNotesComponent;var tt=o(86);e.SeriesNotesIconComponent=tt.SeriesNotesIconComponent;var et=o(87);e.SeriesNotesLabelComponent=et.SeriesNotesLabelComponent;var ot=o(88);e.SeriesOutliersComponent=ot.SeriesOutliersComponent;var it=o(33);e.SeriesTooltipComponent=it.SeriesTooltipComponent;var rt=o(179);e.TitleComponent=rt.TitleComponent;var nt=o(181);e.TooltipComponent=nt.TooltipComponent;var at=o(183);e.ValueAxisComponent=at.ValueAxisComponent;var st=o(186);e.ValueAxisCrosshairComponent=st.ValueAxisCrosshairComponent;var pt=o(188);e.ValueAxisCrosshairTooltipComponent=pt.ValueAxisCrosshairTooltipComponent;var ct=o(89);e.ValueAxisItemComponent=ct.ValueAxisItemComponent;var lt=o(190);e.ValueAxisLabelsComponent=lt.ValueAxisLabelsComponent;var ut=o(192);e.ValueAxisNotesComponent=ut.ValueAxisNotesComponent;var ht=o(194);e.ValueAxisNotesIconComponent=ht.ValueAxisNotesIconComponent;var dt=o(196);e.ValueAxisNotesLabelComponent=dt.ValueAxisNotesLabelComponent;var gt=o(198);e.ValueAxisTitleComponent=gt.ValueAxisTitleComponent;var ft=o(200);e.XAxisComponent=ft.XAxisComponent;var vt=o(203);e.XAxisCrosshairComponent=vt.XAxisCrosshairComponent;var yt=o(205);e.XAxisCrosshairTooltipComponent=yt.XAxisCrosshairTooltipComponent;var _t=o(90);e.XAxisItemComponent=_t.XAxisItemComponent;var mt=o(207);e.XAxisLabelsComponent=mt.XAxisLabelsComponent;var bt=o(209);e.XAxisNotesComponent=bt.XAxisNotesComponent;var xt=o(211);e.XAxisNotesIconComponent=xt.XAxisNotesIconComponent;var Ct=o(213);e.XAxisNotesLabelComponent=Ct.XAxisNotesLabelComponent;var St=o(215);e.XAxisTitleComponent=St.XAxisTitleComponent;var wt=o(217);e.YAxisComponent=wt.YAxisComponent;var At=o(220);e.YAxisCrosshairComponent=At.YAxisCrosshairComponent;var kt=o(222);e.YAxisCrosshairTooltipComponent=kt.YAxisCrosshairTooltipComponent;var It=o(91);e.YAxisItemComponent=It.YAxisItemComponent;var Ot=o(224);e.YAxisLabelsComponent=Ot.YAxisLabelsComponent;var Pt=o(226);e.YAxisNotesComponent=Pt.YAxisNotesComponent;var jt=o(228);e.YAxisNotesIconComponent=jt.YAxisNotesIconComponent;var Tt=o(230);e.YAxisNotesLabelComponent=Tt.YAxisNotesLabelComponent;var Mt=o(232);e.YAxisTitleComponent=Mt.YAxisTitleComponent;var Dt=o(234);e.ZoomableComponent=Dt.ZoomableComponent,e.CHART_DIRECTIVES=[i.ChartComponent,c.TooltipPopupComponent,r.SeriesTooltipTemplateDirective,n.SharedTooltipTemplateDirective,s.CrosshairTooltipsContainerComponent,a.CrosshairTooltipComponent,p.DonutCenterTemplateDirective,l.AxisDefaultsComponent,u.AxisDefaultsCrosshairComponent,h.AxisDefaultsCrosshairTooltipComponent,d.AxisDefaultsLabelsComponent,g.AxisDefaultsTitleComponent,f.CategoryAxisComponent,v.CategoryAxisCrosshairComponent,y.CategoryAxisCrosshairTooltipComponent,_.CategoryAxisItemComponent,m.CategoryAxisLabelsComponent,b.CategoryAxisRangeLabelsComponent,x.CategoryAxisNotesComponent,C.CategoryAxisNotesIconComponent,S.CategoryAxisNotesLabelComponent,w.CategoryAxisSelectComponent,A.CategoryAxisTitleComponent,k.ChartAreaComponent,I.LegendComponent,O.LegendInactiveItemsComponent,P.LegendItemComponent,j.PaneComponent,T.PaneDefaultsComponent,M.PaneDefaultsTitleComponent,D.PanesComponent,E.PanesTitleComponent,B.PlotAreaComponent,R.SeriesComponent,L.SeriesDefaultsComponent,V.SeriesDefaultsLabelsComponent,z.SeriesDefaultsLabelsFromComponent,N.SeriesDefaultsLabelsToComponent,F.SeriesDefaultsNotesComponent,G.SeriesDefaultsNotesIconComponent,H.SeriesDefaultsNotesLabelComponent,U.SeriesDefaultsTooltipComponent,W.SeriesErrorBarsComponent,X.SeriesExtremesComponent,Y.SeriesHighlightComponent,q.SeriesItemComponent,Z.SeriesLabelsComponent,K.SeriesLabelsFromComponent,Q.SeriesLabelsToComponent,$.SeriesMarkersComponent,J.SeriesNotesComponent,tt.SeriesNotesIconComponent,et.SeriesNotesLabelComponent,ot.SeriesOutliersComponent,it.SeriesTooltipComponent,rt.TitleComponent,nt.TooltipComponent,at.ValueAxisComponent,st.ValueAxisCrosshairComponent,pt.ValueAxisCrosshairTooltipComponent,ct.ValueAxisItemComponent,lt.ValueAxisLabelsComponent,ut.ValueAxisNotesComponent,ht.ValueAxisNotesIconComponent,dt.ValueAxisNotesLabelComponent,gt.ValueAxisTitleComponent,ft.XAxisComponent,vt.XAxisCrosshairComponent,yt.XAxisCrosshairTooltipComponent,_t.XAxisItemComponent,mt.XAxisLabelsComponent,bt.XAxisNotesComponent,xt.XAxisNotesIconComponent,Ct.XAxisNotesLabelComponent,St.XAxisTitleComponent,wt.YAxisComponent,At.YAxisCrosshairComponent,kt.YAxisCrosshairTooltipComponent,It.YAxisItemComponent,Ot.YAxisLabelsComponent,Pt.YAxisNotesComponent,jt.YAxisNotesIconComponent,Tt.YAxisNotesLabelComponent,Mt.YAxisTitleComponent,Dt.ZoomableComponent]},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(o(26).LegendEvent);e.LegendItemClickEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.dataItem=e.dataItem,i.index=e.index,i.text=e.text,i.value=e.value,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.AxisLabelClickEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.DragEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.DragEndEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.DragStartEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(o(26).LegendEvent);e.LegendItemHoverEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(28).NoteEvent);e.NoteClickEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(28).NoteEvent);e.NoteHoverEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return Object.assign(i,e),i}return i.__extends(e,t),e}(o(7).BaseEvent);e.PaneRenderEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.originalEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.PlotAreaClickEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.originalEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.PlotAreaHoverEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.SelectEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.SelectEndEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.SelectStartEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.dataItem=e.dataItem,i.originalEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.SeriesClickEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(30).SeriesEvent);e.SeriesHoverEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.delta=e.delta,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.ZoomEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.ZoomEndEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(9).PreventableEvent);e.ZoomStartEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(){function t(t){this.templateRef=t}return t=i.__decorate([r.Directive({selector:"[kendoChartDonutCenterTemplate]"}),i.__param(0,r.Optional()),i.__metadata("design:paramtypes",[r.TemplateRef])],t)}();e.DonutCenterTemplateDirective=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={horizontal:"fit",vertical:"fit"},r=function(){function t(t,e){this.popupService=t,this.localizationService=e,this.style={},this.popupRef=null}return Object.defineProperty(t.prototype,"active",{get:function(){return null!==this.popupRef},enumerable:!0,configurable:!0}),t.prototype.show=function(t){var e=t.anchor.align,o=this.position(t.anchor.point);if(this.style=t.style,this.popupRef){var r=this.popupRef.popup.instance;r.offset=o,r.popupAlign=e}else this.popupRef=this.popupService.open(Object.assign({offset:o,popupAlign:e,animate:this.animate,content:this.templateRef,collision:i,positionMode:"absolute"},this.popupSettings)),this.localizationService.rtl&&this.popupRef.popupElement.setAttribute("dir","rtl"),this.onInit()},t.prototype.hide=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null)},t.prototype.onInit=function(){},t.prototype.ngOnDestroy=function(){this.hide()},t.prototype.position=function(t){if(!this.popupSettings||!this.popupSettings.appendTo)return t;var e=this.popupSettings.appendTo.element.nativeElement;console.log("appendTo",e);var o=e.getBoundingClientRect(),i=this.scrollOffset(e),r=i.scrollLeft,n=i.scrollTop;return{left:t.left-o.left-r,top:t.top-o.top-n}},t.prototype.scrollOffset=function(t){if(!t)return null;for(var e=t.scrollLeft,o=t.scrollTop,i=t.parentElement;i;)e+=i.scrollLeft,o+=i.scrollTop,i=i.parentElement;return{scrollLeft:e,scrollTop:o}},t}();e.BaseTooltip=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasParent=function(t,e){for(var o=t;o&&o!==e;)o=o.parentNode;return!!o}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2),r=o(5);e.bodyFactory=function(){if(r.isDocumentAvailable())return new i.ElementRef(document.body)}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(63),a=o(17),s=o(18),p=o(65),c=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.animate=!1,i}return i.__extends(e,t),e.prototype.show=function(e){t.prototype.show.call(this,e),this.value=e.value,this.popupRef.popup.changeDetectorRef.detectChanges()},i.__decorate([r.ViewChild("content",{static:!0}),i.__metadata("design:type",r.TemplateRef)],e.prototype,"templateRef",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"key",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"popupSettings",void 0),e=i.__decorate([r.Component({providers:[a.PopupService,{provide:a.POPUP_CONTAINER,useFactory:p.bodyFactory}],selector:"kendo-chart-crosshair-tooltip",template:'\n <ng-template #content>\n <div class="k-chart-tooltip k-chart-crosshair-tooltip" [ngStyle]="style">\n {{ value }}\n </div>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[a.PopupService,s.LocalizationService])],e)}(n.BaseTooltip);e.CrosshairTooltipComponent=c},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(128).CategoryAxisCrosshairComponentGenerated);e.CategoryAxisCrosshairComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(129).CategoryAxisCrosshairTooltipComponentGenerated);e.CategoryAxisCrosshairTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(131).CategoryAxisNotesComponentGenerated);e.CategoryAxisNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(132).CategoryAxisNotesIconComponentGenerated);e.CategoryAxisNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(133).CategoryAxisNotesLabelComponentGenerated);e.CategoryAxisNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-select",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(134).CategoryAxisSelectComponentGenerated);e.CategoryAxisSelectComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(135).CategoryAxisTitleComponentGenerated);e.CategoryAxisTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(6),a=o(3),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-pane, kendo-chart-panes-item",template:""}),i.__metadata("design:paramtypes",[a.ConfigurationService,n.CollectionService])],e)}(o(75).PaneComponentGenerated);e.PaneComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"clip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(14).CollectionItemComponent);e.PaneComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-pane-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(148).PanesTitleComponentGenerated);e.PanesTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=o(10),p=function(t){function e(e,o,i){var r=t.call(this,e,o)||this;return r.configurationService=e,r.collectionService=o,r.tooltipTemplateService=i,r}return i.__extends(e,t),e.prototype.ngAfterContentChecked=function(){this.readTooltipTemplates()},e.prototype.readTooltipTemplates=function(){var t=this.children.map((function(t){return t.seriesTooltipTemplateRef}));this.tooltipTemplateService.setSeriesTemplates(t)},e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-series",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService,s.TooltipTemplateService])],e)}(o(151).SeriesComponentGenerated);e.SeriesComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-error-bars",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(168).SeriesErrorBarsComponentGenerated);e.SeriesErrorBarsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-extremes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(169).SeriesExtremesComponentGenerated);e.SeriesExtremesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-highlight",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(170).SeriesHighlightComponentGenerated);e.SeriesHighlightComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(171).SeriesLabelsComponentGenerated);e.SeriesLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-labels-from",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(172).SeriesLabelsFromComponentGenerated);e.SeriesLabelsFromComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-labels-to",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(173).SeriesLabelsToComponentGenerated);e.SeriesLabelsToComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-markers",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(174).SeriesMarkersComponentGenerated);e.SeriesMarkersComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(175).SeriesNotesComponentGenerated);e.SeriesNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(176).SeriesNotesIconComponentGenerated);e.SeriesNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(177).SeriesNotesLabelComponentGenerated);e.SeriesNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-outliers",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(178).SeriesOutliersComponentGenerated);e.SeriesOutliersComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(6),a=o(3),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-value-axis-item",template:""}),i.__metadata("design:paramtypes",[a.ConfigurationService,n.CollectionService])],e)}(o(185).ValueAxisItemComponentGenerated);e.ValueAxisItemComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(15),a=o(6),s=o(3),p=function(t){function e(e,o,i,r){var n=t.call(this,e,o,i,r)||this;return n.configurationService=e,n.collectionService=o,n.intl=i,n}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"categories",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-x-axis-item",template:""}),i.__param(3,r.Inject(r.LOCALE_ID)),i.__metadata("design:paramtypes",[s.ConfigurationService,a.CollectionService,n.IntlService,String])],e)}(o(202).XAxisItemComponentGenerated);e.XAxisItemComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(6),a=o(3),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"categories",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-y-axis-item",template:""}),i.__metadata("design:paramtypes",[a.ConfigurationService,n.CollectionService])],e)}(o(219).YAxisItemComponentGenerated);e.YAxisItemComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e,o){var i=t.call(this,o)||this;return i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(7).BaseEvent);e.NavigatorFilterEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(238);e.StockChartComponent=i.StockChartComponent;var r=o(240),n=o(241),a=o(242),s=o(243),p=o(244),c=o(245),l=o(246),u=o(247),h=o(248),d=o(249),g=o(250),f=o(251),v=o(252),y=o(253),_=o(254),m=o(95),b=o(255),x=o(256),C=o(257),S=o(258),w=o(259),A=o(260),k=o(261),I=o(262),O=o(263),P=o(264),j=o(265),T=o(266);e.STOCK_CHART_DIRECTIVES=[i.StockChartComponent,r.NavigatorComponent,n.NavigatorCategoryAxisComponent,a.NavigatorCategoryAxisCrosshairComponent,s.NavigatorCategoryAxisCrosshairTooltipComponent,p.NavigatorCategoryAxisLabelsComponent,c.NavigatorCategoryAxisNotesComponent,l.NavigatorCategoryAxisNotesIconComponent,u.NavigatorCategoryAxisNotesLabelComponent,h.NavigatorCategoryAxisSelectComponent,d.NavigatorCategoryAxisTitleComponent,g.NavigatorHintComponent,f.NavigatorPaneComponent,v.NavigatorPaneTitleComponent,y.NavigatorSelectComponent,_.NavigatorSeriesComponent,m.NavigatorSeriesItemComponent,b.NavigatorSeriesErrorBarsComponent,x.NavigatorSeriesExtremesComponent,C.NavigatorSeriesHighlightComponent,S.NavigatorSeriesLabelsComponent,w.NavigatorSeriesLabelsFromComponent,A.NavigatorSeriesLabelsToComponent,k.NavigatorSeriesMarkersComponent,I.NavigatorSeriesNotesComponent,O.NavigatorSeriesNotesIconComponent,P.NavigatorSeriesNotesLabelComponent,j.NavigatorSeriesOutliersComponent,T.NavigatorSeriesTooltipComponent]},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e=i.__decorate([r.Injectable()],e)}(o(3).ConfigurationService);e.RootConfigurationService=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(6),a=o(3),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-navigator-series-item",template:""}),i.__metadata("design:paramtypes",[a.ConfigurationService,n.CollectionService])],e)}(o(21).SeriesItemComponent);e.NavigatorSeriesItemComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(267);e.SparklineComponent=i.SparklineComponent,e.SPARKLINE_DIRECTIVES=[i.SparklineComponent]},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(23),a=o(12),s=o(17),p=o(5),c=o(93),l=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[c.STOCK_CHART_DIRECTIVES],exports:[c.STOCK_CHART_DIRECTIVES,n.ChartModule],imports:[n.ChartModule,a.CommonModule,s.PopupModule,p.ResizeSensorModule]})],t)}();e.StockChartModule=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(23),a=o(96),s=o(12),p=o(17),c=o(5),l=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[a.SPARKLINE_DIRECTIVES],exports:[a.SPARKLINE_DIRECTIVES,n.ChartModule],imports:[n.ChartModule,s.CommonModule,p.PopupModule,c.ResizeSensorModule]})],t)}();e.SparklineModule=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0);i.__exportStar(o(42),e),i.__exportStar(o(236),e),i.__exportStar(o(39),e),i.__exportStar(o(237),e),i.__exportStar(o(93),e),i.__exportStar(o(96),e);var r=o(23);e.ChartModule=r.ChartModule;var n=o(97);e.StockChartModule=n.StockChartModule;var a=o(98);e.SparklineModule=a.SparklineModule;var s=o(268);e.ChartsModule=s.ChartsModule;var p=o(34);e.TooltipPopupComponent=p.TooltipPopupComponent;var c=o(37);e.CrosshairTooltipsContainerComponent=c.CrosshairTooltipsContainerComponent;var l=o(17);e.PopupComponent=l.PopupComponent;var u=o(5);e.ResizeSensorComponent=u.ResizeSensorComponent},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(2),a=function(){function t(t){this.configurationService=t,this.axisLabelClick=new n.EventEmitter,this.drag=new n.EventEmitter,this.dragEnd=new n.EventEmitter,this.dragStart=new n.EventEmitter,this.legendItemHover=new n.EventEmitter,this.legendItemLeave=new n.EventEmitter,this.noteClick=new n.EventEmitter,this.noteHover=new n.EventEmitter,this.noteLeave=new n.EventEmitter,this.paneRender=new n.EventEmitter,this.plotAreaClick=new n.EventEmitter,this.plotAreaHover=new n.EventEmitter,this.plotAreaLeave=new n.EventEmitter,this.render=new n.EventEmitter,this.select=new n.EventEmitter,this.selectEnd=new n.EventEmitter,this.selectStart=new n.EventEmitter,this.seriesClick=new n.EventEmitter,this.seriesHover=new n.EventEmitter,this.seriesOver=new n.EventEmitter,this.seriesLeave=new n.EventEmitter,this.zoom=new n.EventEmitter,this.zoomEnd=new n.EventEmitter,this.zoomStart=new n.EventEmitter}return i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"pannable",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"renderAs",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],t.prototype,"seriesColors",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"title",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],t.prototype,"transitions",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"zoomable",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"axisDefaults",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"categoryAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"chartArea",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"legend",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],t.prototype,"panes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"paneDefaults",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"plotArea",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],t.prototype,"series",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"seriesDefaults",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"tooltip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"valueAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"xAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"yAxis",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"axisLabelClick",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"drag",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"dragEnd",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"dragStart",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"legendItemHover",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"legendItemLeave",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"noteClick",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"noteHover",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"noteLeave",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"paneRender",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"plotAreaClick",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"plotAreaHover",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"plotAreaLeave",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"render",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"select",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"selectEnd",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"selectStart",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"seriesClick",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"seriesHover",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"seriesOver",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"seriesLeave",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"zoom",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"zoomEnd",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"zoomStart",void 0),t}();e.ChartComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.preventDefault=function(){},e.prototype.isDefaultPrevented=function(){return!1},e}(o(26).LegendEvent);e.LegendItemLeaveEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(28).NoteEvent);e.NoteLeaveEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(7).BaseEvent);e.PlotAreaLeaveEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(30).SeriesEvent);e.SeriesOverEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(30).SeriesEvent);e.SeriesLeaveEvent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"aggregate",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"autoFit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"axis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"categoryAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"categoryField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"closeField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"colorField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"connectors",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"currentField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"dashType",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"downColor",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"downColorField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"dynamicHeight",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"dynamicSlope",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"errorHighField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"errorLowField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"explodeField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"field",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"fromField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"gap",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"highField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"holeSize",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"lowField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"lowerField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"maxSize",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"mean",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"meanField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"median",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"medianField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"minSize",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"missingValues",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"neckRatio",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"negativeColor",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"negativeValues",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"noteTextField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"openField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"outliersField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"overlay",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"q1Field",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"q3Field",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"segmentSpacing",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"sizeField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"spacing",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"stack",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"style",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"summaryField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"target",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"toField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"upperField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visibleInLegend",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"visibleInLegendField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"whiskers",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"xAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"xErrorHighField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"xErrorLowField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"xField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"yAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"yErrorHighField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"yErrorLowField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"yField",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"zIndex",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"errorBars",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"extremes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"highlight",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"markers",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"outliers",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(14).CollectionItemComponent);e.SeriesItemComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(11);e.chartDefaultTheme=function(){return Object.assign({},i.chartBaseTheme(),{axisDefaults:{crosshair:{color:"rgba(0, 0, 0, 0.5)"},labels:{color:"rgb(101, 101, 101)",font:"12px serif"},line:{color:"rgba(0, 0, 0, 0.08)"},majorGridLines:{color:"rgba(0, 0, 0, 0.08)"},minorGridLines:{color:"rgba(0, 0, 0, 0.04)"},notes:{icon:{background:"rgba(0, 0, 0, 0.5)",border:{color:"rgba(0, 0, 0, 0.5)"}},line:{color:"rgba(0, 0, 0, 0.5)"},label:{font:"14px serif"}},title:{color:"rgb(101, 101, 101)",font:"14px serif"}},chartArea:{background:"rgb(255, 255, 255)"},legend:{inactiveItems:{labels:{color:"rgba(102, 102, 102, 0.5)"},markers:{color:"rgba(102, 102, 102, 0.5)"}},labels:{color:"rgb(101, 101, 101)",font:"14px serif"}},seriesDefaults:{boxPlot:{downColor:"rgba(0, 0, 0, 0.08)",mean:{color:"rgb(246, 246, 246)"},median:{color:"rgb(246, 246, 246)"},whiskers:{color:"rgb(255, 99, 88)"}},bullet:{target:{color:"rgb(101, 101, 101)"}},candlestick:{downColor:"rgb(101, 101, 101)",line:{color:"rgb(101, 101, 101)"}},errorBars:{color:"rgba(0, 0, 0, 0.5)"},horizontalWaterfall:{line:{color:"rgba(0, 0, 0, 0.08)"}},icon:{border:{color:"rgba(0, 0, 0, 0.08)"}},labels:{background:"rgb(255, 255, 255)",color:"rgb(101, 101, 101)",opacity:.8,font:"12px serif"},notes:{icon:{background:"rgba(0, 0, 0, 0.5)",border:{color:"rgba(0, 0, 0, 0.5)"}},line:{color:"rgba(0, 0, 0, 0.5)"},label:{font:"14px serif"}},overlay:{gradient:"none"},verticalBoxPlot:{downColor:"rgba(0, 0, 0, 0.08)",mean:{color:"rgb(246, 246, 246)"},median:{color:"rgb(246, 246, 246)"},whiskers:{color:"rgb(255, 99, 88)"}},verticalBullet:{target:{color:"rgb(101, 101, 101)"}},waterfall:{line:{color:"rgba(0, 0, 0, 0.08)"}},area:{opacity:.8}},title:{color:"rgb(101, 101, 101)",font:"16px serif"},seriesColors:["rgb(255, 99, 88)","rgb(255, 210, 70)","rgb(120, 210, 55)","rgb(40, 180, 200)","rgb(45, 115, 245)","rgb(170, 70, 190)"]})}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=function(t){function e(e){var o=t.call(this,e)||this;return o.handlerMap={hideTooltip:"onHideTooltip",legendItemClick:"onLegendItemClick",render:"onRender",showTooltip:"onShowTooltip",init:"onInit"},o}return i.__extends(e,t),e}(o(11).InstanceObserver);e.ChartInstanceObserver=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,o){this.value=t.value,this.category=t.category,this.categoryIndex=t.categoryIx,this.series=t.series,this.dataItem=t.dataItem,this.percentage=t.percentage,this.runningTotal=t.runningTotal,this.total=t.total,this.low=t.low,this.high=t.high,this.xLow=t.xLow,this.xHigh=t.xHigh,this.yLow=t.yLow,this.yHigh=t.yHigh,this.template=o,this.point=t,this.format=e}return Object.defineProperty(t.prototype,"formattedValue",{get:function(){return this.format?this.point.formatValue(this.format):String(this.value)},enumerable:!0,configurable:!0}),t}();e.TooltipTemplatePoint=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(112),r=o(11),n=r.DateCategoryAxis.prototype.options.labels.dateFormats,a=r.DateValueAxis.prototype.options.labels.dateFormats,s={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(n,s),Object.assign(a,s),r.DomEventsBuilder.register(i.DomEventsBuilder)},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2),r=o(113),n=function(){function t(){}return t.create=function(t,e){if("undefined"!=typeof window){var o=window.Hammer;if(!o){if(i.isDevMode())throw new Error("Hammerjs is not loaded.Solution: http://www.telerik.com/kendo-angular-ui/components/charts/troubleshooting/#toc-hammerjs-is-not-loaded");return}var n=new o(t,{recognizers:[[o.Tap],[o.Pan],[o.Pinch],[o.Press,{time:0}]]});return new r.DomEvents(n,e)}},t}();e.DomEventsBuilder=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return{x:{location:t.pageX},y:{location:t.pageY}}};function r(t,e){for(var o=0;o<t.length;o++)if(e[t[o]])return!0;return!1}var n=[{end:"panend",move:"panmove",start:"panstart"},{gesturechange:"pinchmove",gestureend:"pinchend",gesturestart:"pinchstart"},{press:"press"},{tap:"tap"}],a=function(){function t(t,e){this.hammerInstance=t,this.eventHandlers={},this.tap=this.tap.bind(this),this.press=this.press.bind(this),this.panstart=this.panstart.bind(this),this.panmove=this.panmove.bind(this),this.panend=this.panend.bind(this),this.pinchstart=this.pinchstart.bind(this),this.pinchmove=this.pinchmove.bind(this),this.pinchend=this.pinchend.bind(this),e&&this.bind(e)}return t.prototype.tap=function(t){this.trigger("tap",t)},t.prototype.press=function(t){this.trigger("press",t)},t.prototype.panstart=function(t){delete this.previous,this.previous=this.trigger("start",t)},t.prototype.panmove=function(t){this.previous=this.trigger("move",t)},t.prototype.panend=function(t){this.trigger("end",t),delete this.previous},t.prototype.pinchstart=function(t){this.trigger("gesturestart",t)},t.prototype.pinchmove=function(t){this.trigger("gesturechange",t)},t.prototype.pinchend=function(t){this.trigger("gestureend",t)},t.prototype.trigger=function(t,e){var o=function(t,e){var o=t.pointers,r=o[0],n=r.pageX,a=r.pageY,s=0;if(o.length>1){var p=o[0],c=o[1];s=Math.sqrt(Math.pow(p.pageX-c.pageX,2)+Math.pow(p.pageY-c.pageY,2))}return{distance:s,event:t.srcEvent,preventDefault:function(){t.preventDefault()},target:t.target,touches:o.map(i),type:t.type,x:{delta:e?n-e.x.location:0,initialDelta:t.deltaX,location:n,startLocation:n-t.deltaX},y:{delta:e?a-e.y.location:0,initialDelta:t.deltaY,location:a,startLocation:a-t.deltaY}}}(e,this.previous);return this.eventHandlers[t]&&this.eventHandlers[t](o),o},t.prototype.bind=function(t){void 0===t&&(t={}),this.unbind(),this.eventHandlers=t;for(var e=0;e<n.length;e++){var o=n[e],i=Object.keys(o);if(r(i,t))for(var a=0;a<i.length;a++){var s=o[i[a]];this.hammerInstance.on(s,this[s])}}},t.prototype.unbind=function(){this.hammerInstance&&this.hammerInstance.off(),this.eventHandlers={}},t.prototype.destroy=function(){this.hammerInstance&&(this.hammerInstance.destroy(),delete this.hammerInstance),delete this.eventHandlers},t.prototype.toggleDrag=function(t){this.toggle("pan",t)},t.prototype.toggleZoom=function(t){this.toggle("pinch",t)},t.prototype.toggle=function(t,e){this.hammerInstance&&this.hammerInstance.get(t).set({enable:e})},t}();e.DomEvents=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(115).AxisDefaultsComponentGenerated);e.AxisDefaultsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"axisDefaults",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-crosshair",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(117).AxisDefaultsCrosshairComponentGenerated);e.AxisDefaultsCrosshairComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"axisDefaults.crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"dashType",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsCrosshairComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(119).AxisDefaultsCrosshairTooltipComponentGenerated);e.AxisDefaultsCrosshairTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"axisDefaults.crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsCrosshairTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(121).AxisDefaultsLabelsComponentGenerated);e.AxisDefaultsLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"axisDefaults.labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsLabelsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(123).AxisDefaultsTitleComponentGenerated);e.AxisDefaultsTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"axisDefaults.title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsTitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-category-axis",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService])],e)}(o(125).CategoryAxisComponentGenerated);e.CategoryAxisComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(16),a=o(38),s=function(t){function e(e,o){var i=t.call(this,"categoryAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.ContentChildren(a.CategoryAxisItemComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e}(n.CollectionComponent);e.CategoryAxisComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(14),a=(o(39),function(t){function e(e,o,i,r){var n=t.call(this,e,o)||this;return n.configurationService=e,n.collectionService=o,n.notifyChanges({weekStartDay:i.firstDay(r)}),n}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"autoBaseUnitSteps",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"baseUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"baseUnitStep",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"categories",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"justified",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"maxDateGroups",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"maxDivisions",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"roundToBaseUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"weekStartDay",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"select",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(n.CollectionItemComponent));e.CategoryAxisItemComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday"}(e.WeekStartDay||(e.WeekStartDay={}))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"dashType",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.CategoryAxisCrosshairComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.CategoryAxisCrosshairTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.configKey="rangeLabels",o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-range-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(40).CategoryAxisLabelsComponent);e.CategoryAxisRangeLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.CategoryAxisNotesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.CategoryAxisNotesIconComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.CategoryAxisNotesLabelComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"select",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"mousewheel",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.CategoryAxisSelectComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.CategoryAxisTitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-area",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(137).ChartAreaComponentGenerated);e.ChartAreaComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"chartArea",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),e}(o(4).SettingsComponent);e.ChartAreaComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-legend",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(139).LegendComponentGenerated);e.LegendComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"legend",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"align",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"offsetX",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"offsetY",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"orientation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"markers",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"spacing",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"inactiveItems",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"item",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(4).SettingsComponent);e.LegendComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-legend-inactive-items",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(141).LegendInactiveItemsComponentGenerated);e.LegendInactiveItemsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"legend.inactiveItems",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),e}(o(4).SettingsComponent);e.LegendInactiveItemsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-legend-item",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(143).LegendItemComponentGenerated);e.LegendItemComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"legend.item",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"cursor",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.LegendItemComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,"paneDefaults",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"clip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-pane-defaults",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(4).SettingsComponent);e.PaneDefaultsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,"paneDefaults.title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-pane-defaults-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(4).SettingsComponent);e.PaneDefaultsTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-panes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService])],e)}(o(147).PanesComponentGenerated);e.PanesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(16),a=o(74),s=function(t){function e(e,o){var i=t.call(this,"panes",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.ContentChildren(a.PaneComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e}(n.CollectionComponent);e.PanesComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.PanesTitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-plot-area",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(150).PlotAreaComponentGenerated);e.PlotAreaComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"plotArea",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),e}(o(4).SettingsComponent);e.PlotAreaComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(16),a=o(21),s=function(t){function e(e,o){var i=t.call(this,"series",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.ContentChildren(a.SeriesItemComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e}(n.CollectionComponent);e.SeriesComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(153).SeriesDefaultsComponentGenerated);e.SeriesDefaultsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"gap",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"highlight",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"overlay",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"spacing",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"stack",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(155).SeriesDefaultsLabelsComponentGenerated);e.SeriesDefaultsLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsLabelsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-labels-from",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(157).SeriesDefaultsLabelsFromComponentGenerated);e.SeriesDefaultsLabelsFromComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.labels.from",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsLabelsFromComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-labels-to",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(159).SeriesDefaultsLabelsToComponentGenerated);e.SeriesDefaultsLabelsToComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.labels.to",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsLabelsToComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(161).SeriesDefaultsNotesComponentGenerated);e.SeriesDefaultsNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsNotesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(163).SeriesDefaultsNotesIconComponentGenerated);e.SeriesDefaultsNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsNotesIconComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(165).SeriesDefaultsNotesLabelComponentGenerated);e.SeriesDefaultsNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsNotesLabelComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(167).SeriesDefaultsTooltipComponentGenerated);e.SeriesDefaultsTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"seriesDefaults.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"errorBars",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"endCaps",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"value",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"xValue",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"yValue",void 0),e}(o(4).SettingsComponent);e.SeriesErrorBarsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"extremes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),e}(o(4).SettingsComponent);e.SeriesExtremesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"highlight",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"markers",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"toggle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.SeriesHighlightComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"align",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"distance",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.SeriesLabelsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"labels.from",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesLabelsFromComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"labels.to",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesLabelsToComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"markers",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.SeriesMarkersComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.SeriesNotesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesNotesIconComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesNotesLabelComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"outliers",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),e}(o(4).SettingsComponent);e.SeriesOutliersComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(180).TitleComponentGenerated);e.TitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"align",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.TitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(182),s=o(35),p=o(36),c=o(10),l=function(t){function e(e,o){var i=t.call(this,e)||this;return i.configurationService=e,i.templateService=o,i.markAsVisible(),i}return i.__extends(e,t),e.prototype.ngAfterContentChecked=function(){this.templateService.setTemplate(this.seriesTooltipTemplate?this.seriesTooltipTemplate.templateRef:null),this.templateService.setSharedTemplate(this.sharedTooltipTemplate?this.sharedTooltipTemplate.templateRef:null)},i.__decorate([r.ContentChild(s.SeriesTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",s.SeriesTooltipTemplateDirective)],e.prototype,"seriesTooltipTemplate",void 0),i.__decorate([r.ContentChild(p.SharedTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",p.SharedTooltipTemplateDirective)],e.prototype,"sharedTooltipTemplate",void 0),e=i.__decorate([r.Component({selector:"kendo-chart-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,c.TooltipTemplateService])],e)}(a.TooltipComponentGenerated);e.TooltipComponent=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"shared",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.TooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-value-axis",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService])],e)}(o(184).ValueAxisComponentGenerated);e.ValueAxisComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(16),a=o(89),s=function(t){function e(e,o){var i=t.call(this,"valueAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.ContentChildren(a.ValueAxisItemComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e}(n.CollectionComponent);e.ValueAxisComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"majorUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"minorUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(14).CollectionItemComponent);e.ValueAxisItemComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(187).ValueAxisCrosshairComponentGenerated);e.ValueAxisCrosshairComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.ValueAxisCrosshairComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(189).ValueAxisCrosshairTooltipComponentGenerated);e.ValueAxisCrosshairTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.ValueAxisCrosshairTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(191).ValueAxisLabelsComponentGenerated);e.ValueAxisLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.ValueAxisLabelsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(193).ValueAxisNotesComponentGenerated);e.ValueAxisNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.ValueAxisNotesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(195).ValueAxisNotesIconComponentGenerated);e.ValueAxisNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.ValueAxisNotesIconComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(197).ValueAxisNotesLabelComponentGenerated);e.ValueAxisNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.ValueAxisNotesLabelComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(199).ValueAxisTitleComponentGenerated);e.ValueAxisTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.ValueAxisTitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-x-axis",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService])],e)}(o(201).XAxisComponentGenerated);e.XAxisComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(16),a=o(90),s=function(t){function e(e,o){var i=t.call(this,"xAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.ContentChildren(a.XAxisItemComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e}(n.CollectionComponent);e.XAxisComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(14),a=(o(39),function(t){function e(e,o,i,r){var n=t.call(this,e,o)||this;return n.configurationService=e,n.collectionService=o,n.notifyChanges({weekStartDay:i.firstDay(r)}),n}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"baseUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"majorUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"minorUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"weekStartDay",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(n.CollectionItemComponent));e.XAxisItemComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(204).XAxisCrosshairComponentGenerated);e.XAxisCrosshairComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.XAxisCrosshairComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(206).XAxisCrosshairTooltipComponentGenerated);e.XAxisCrosshairTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.XAxisCrosshairTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(208).XAxisLabelsComponentGenerated);e.XAxisLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"culture",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"dateFormats",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.XAxisLabelsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(210).XAxisNotesComponentGenerated);e.XAxisNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.XAxisNotesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(212).XAxisNotesIconComponentGenerated);e.XAxisNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.XAxisNotesIconComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(214).XAxisNotesLabelComponentGenerated);e.XAxisNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.XAxisNotesLabelComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(216).XAxisTitleComponentGenerated);e.XAxisTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.XAxisTitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-y-axis",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService])],e)}(o(218).YAxisComponentGenerated);e.YAxisComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(16),a=o(91),s=function(t){function e(e,o){var i=t.call(this,"yAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.ContentChildren(a.YAxisItemComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e}(n.CollectionComponent);e.YAxisComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"baseUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"majorUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"minorUnit",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(14).CollectionItemComponent);e.YAxisItemComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(221).YAxisCrosshairComponentGenerated);e.YAxisCrosshairComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.YAxisCrosshairComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(223).YAxisCrosshairTooltipComponentGenerated);e.YAxisCrosshairTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.YAxisCrosshairTooltipComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(225).YAxisLabelsComponentGenerated);e.YAxisLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"culture",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"dateFormats",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.YAxisLabelsComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(227).YAxisNotesComponentGenerated);e.YAxisNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.YAxisNotesComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(229).YAxisNotesIconComponentGenerated);e.YAxisNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.YAxisNotesIconComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(231).YAxisNotesLabelComponentGenerated);e.YAxisNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.YAxisNotesLabelComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(233).YAxisTitleComponentGenerated);e.YAxisTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.YAxisTitleComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-zoomable",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(235).ZoomableComponentGenerated);e.ZoomableComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=function(t){function e(e){var o=t.call(this,"zoomable",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"mousewheel",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"selection",void 0),e}(o(4).SettingsComponent);e.ZoomableComponentGenerated=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(44);e.AxisLabelClickEvent=i.AxisLabelClickEvent;var r=o(46);e.DragEndEvent=r.DragEndEvent;var n=o(45);e.DragEvent=n.DragEvent;var a=o(47);e.DragStartEvent=a.DragStartEvent;var s=o(43);e.LegendItemClickEvent=s.LegendItemClickEvent;var p=o(48);e.LegendItemHoverEvent=p.LegendItemHoverEvent;var c=o(49);e.NoteClickEvent=c.NoteClickEvent;var l=o(50);e.NoteHoverEvent=l.NoteHoverEvent;var u=o(51);e.PaneRenderEvent=u.PaneRenderEvent;var h=o(52);e.PlotAreaClickEvent=h.PlotAreaClickEvent;var d=o(53);e.PlotAreaHoverEvent=d.PlotAreaHoverEvent;var g=o(29);e.RenderEvent=g.RenderEvent;var f=o(55);e.SelectEndEvent=f.SelectEndEvent;var v=o(54);e.SelectEvent=v.SelectEvent;var y=o(56);e.SelectStartEvent=y.SelectStartEvent;var _=o(57);e.SeriesClickEvent=_.SeriesClickEvent;var m=o(58);e.SeriesHoverEvent=m.SeriesHoverEvent;var b=o(60);e.ZoomEndEvent=b.ZoomEndEvent;var x=o(59);e.ZoomEvent=x.ZoomEvent;var C=o(61);e.ZoomStartEvent=C.ZoomStartEvent},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(92);e.NavigatorFilterEvent=i.NavigatorFilterEvent},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(2),a=o(3),s=o(94),p=o(10),c=o(24),l=o(22),u=o(15),h=o(239),d=o(11),g=o(18),f=o(19),v=o(25),y={autoBindElements:!0,liveDrag:!1,partialRedraw:!0},_=function(t){function e(e,o,i,n,a,s,p,c,l){var u=t.call(this,e,o,i,n,a,s,p,c,l)||this;return u.configurationService=e,u.themeService=o,u.element=i,u.intl=n,u.localizationService=a,u.ngZone=s,u.instanceEventService=p,u.changeDetector=c,u.renderer=l,u.navigatorFilter=new r.EventEmitter,u.redrawSlaves=!1,u.hostClasses=["k-chart","k-stockchart"],f.validatePackage(v.packageMetadata),u}return i.__extends(e,t),e.prototype.skipNavigatorRedraw=function(){this.redrawSlaves=!0},e.prototype.createInstance=function(t,e){if(this.applyNavigatorDefaults(),this.isDevMode()&&(this.options.zoomable||this.options.pannable))throw new Error("The pannable and zoomable options are not supported by the StockChart component.");this.instance=new d.StockChart(t,this.options,this.theme,{intlService:this.intl,observer:e,rtl:this.rtl,sender:this})},e.prototype.updateOptions=function(){this.applyNavigatorDefaults(),this.redrawSlaves?(this.instance.applyOptions(this.options),this.instance.bindCategories(),this.instance.navigator.redrawSlaves()):this.instance.setOptions(this.options),this.redrawSlaves=!1},e.prototype.applyNavigatorDefaults=function(){this.options.navigator=Object.assign({},this.options.navigator,y)},e.prototype.isDevMode=function(){return n.isDevMode()},i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"navigator",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"pannable",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"zoomable",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"navigatorFilter",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,exportAs:"kendoStockChart",providers:[a.ConfigurationService,p.TooltipTemplateService,{provide:s.RootConfigurationService,useExisting:a.ConfigurationService},h.StockInstanceEventService,g.LocalizationService,{provide:g.L10N_PREFIX,useValue:"kendo.chart"}],selector:"kendo-stockchart",template:'\n <div #surface class="k-chart-surface"></div>\n <kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltips-container>\n <kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-chart-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize($event)"></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[a.ConfigurationService,l.ThemeService,r.ElementRef,u.IntlService,g.LocalizationService,r.NgZone,h.StockInstanceEventService,r.ChangeDetectorRef,r.Renderer2])],e)}(c.ChartComponent);e.StockChartComponent=_},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(27),n={navigatorFilter:o(92).NavigatorFilterEvent},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.create=function(e,o,i){return n[e]?new n[e](o,i):t.prototype.create.call(this,e,o,i)},e}(r.InstanceEventService);e.StockInstanceEventService=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(41),s=function(t){function e(e){var o=t.call(this,"",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"categoryAxis",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"hint",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"pane",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"select",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"series",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[{provide:a.PREFIX,useValue:"navigator"},{provide:n.ConfigurationService,useClass:a.PrefixConfigurationService}],selector:"kendo-chart-navigator",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(4).SettingsComponent);e.NavigatorComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(15),a=o(3),s=o(41),p=function(t){function e(e,o,i){var r=t.call(this,e,null,o,i)||this;return r.configurationService=e,r}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[{provide:s.PREFIX,useValue:"navigator.categoryAxis"},{provide:a.ConfigurationService,useClass:s.PrefixConfigurationService}],selector:"kendo-chart-navigator-category-axis",template:""}),i.__param(2,r.Inject(r.LOCALE_ID)),i.__metadata("design:paramtypes",[a.ConfigurationService,n.IntlService,String])],e)}(o(38).CategoryAxisItemComponent);e.NavigatorCategoryAxisComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-crosshair",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(67).CategoryAxisCrosshairComponent);e.NavigatorCategoryAxisCrosshairComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(68).CategoryAxisCrosshairTooltipComponent);e.NavigatorCategoryAxisCrosshairTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(40).CategoryAxisLabelsComponent);e.NavigatorCategoryAxisLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(69).CategoryAxisNotesComponent);e.NavigatorCategoryAxisNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(70).CategoryAxisNotesIconComponent);e.NavigatorCategoryAxisNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(71).CategoryAxisNotesLabelComponent);e.NavigatorCategoryAxisNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-select",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(72).CategoryAxisSelectComponent);e.NavigatorCategoryAxisSelectComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(73).CategoryAxisTitleComponent);e.NavigatorCategoryAxisTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,"hint",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-hint",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(4).SettingsComponent);e.NavigatorHintComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(41),s=function(t){function e(e){var o=t.call(this,e,null)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[{provide:a.PREFIX,useValue:"navigator.pane"},{provide:n.ConfigurationService,useClass:a.PrefixConfigurationService}],selector:"kendo-chart-navigator-pane",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(75).PaneComponentGenerated);e.NavigatorPaneComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-pane-title",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(76).PanesTitleComponent);e.NavigatorPaneTitleComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,"select",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([r.Input(),i.__metadata("design:type",Date)],e.prototype,"from",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Date)],e.prototype,"to",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"mousewheel",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-select",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(4).SettingsComponent);e.NavigatorSelectComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(6),s=o(10),p=o(77),c=o(95),l=function(t){function e(e,o,i){var r=t.call(this,e,o,i)||this;return r.configurationService=e,r.collectionService=o,r.tooltipTemplateService=i,r}return i.__extends(e,t),e.prototype.readTooltipTemplates=function(){},i.__decorate([r.ContentChildren(c.NavigatorSeriesItemComponent),i.__metadata("design:type",r.QueryList)],e.prototype,"children",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[a.CollectionService],selector:"kendo-chart-navigator-series",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService,a.CollectionService,s.TooltipTemplateService])],e)}(p.SeriesComponent);e.NavigatorSeriesComponent=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-error-bars",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(78).SeriesErrorBarsComponent);e.NavigatorSeriesErrorBarsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-extremes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(79).SeriesExtremesComponent);e.NavigatorSeriesExtremesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-highlight",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(80).SeriesHighlightComponent);e.NavigatorSeriesHighlightComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-labels",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(81).SeriesLabelsComponent);e.NavigatorSeriesLabelsComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-labels-from",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(82).SeriesLabelsFromComponent);e.NavigatorSeriesLabelsFromComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-labels-to",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(83).SeriesLabelsToComponent);e.NavigatorSeriesLabelsToComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-markers",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(84).SeriesMarkersComponent);e.NavigatorSeriesMarkersComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-notes",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(85).SeriesNotesComponent);e.NavigatorSeriesNotesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(86).SeriesNotesIconComponent);e.NavigatorSeriesNotesIconComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-notes-label",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(87).SeriesNotesLabelComponent);e.NavigatorSeriesNotesLabelComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-outliers",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(88).SeriesOutliersComponent);e.NavigatorSeriesOutliersComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-tooltip",template:""}),i.__metadata("design:paramtypes",[n.ConfigurationService])],e)}(o(33).SeriesTooltipComponent);e.NavigatorSeriesTooltipComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(3),a=o(10),s=o(27),p=o(24),c=o(22),l=o(15),u=o(11),h=o(18),d=o(19),g=o(25),f=function(t){function e(e,o,i,r,n,a,s,p,c){var l=t.call(this,e,o,i,r,n,a,s,p,c)||this;return l.configurationService=e,l.themeService=o,l.element=i,l.intl=r,l.localizationService=n,l.ngZone=a,l.instanceEventService=s,l.changeDetector=p,l.renderer=c,l.tooltipWrapperClass="k-sparkline-tooltip-wrapper",l.tooltipContentClasses={"k-sparkline-tooltip":!0},l.hostClasses=["k-sparkline","k-widget"],d.validatePackage(g.packageMetadata),l}return i.__extends(e,t),e.prototype.createInstance=function(t,e){this.instance=new u.Sparkline(t,u.Sparkline.normalizeOptions(this.options),this.theme,{intlService:this.intl,observer:e,rtl:this.rtl,sender:this})},e.prototype.updateOptions=function(){this.instance.setOptions(u.Sparkline.normalizeOptions(this.options))},i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),e=i.__decorate([r.Component({changeDetection:r.ChangeDetectionStrategy.OnPush,exportAs:"kendoSparkline",providers:[n.ConfigurationService,a.TooltipTemplateService,s.InstanceEventService,h.LocalizationService,{provide:h.L10N_PREFIX,useValue:"kendo.chart"}],selector:"kendo-sparkline",template:'\n <span #surface class="k-chart-surface"></span>\n <kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltips-container>\n <kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"\n [classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-chart-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize($event)"></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[n.ConfigurationService,c.ThemeService,r.ElementRef,l.IntlService,h.LocalizationService,r.NgZone,s.InstanceEventService,r.ChangeDetectorRef,r.Renderer2])],e)}(p.ChartComponent);e.SparklineComponent=f},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),r=o(2),n=o(23),a=o(97),s=o(98),p=function(){function t(){}return t=i.__decorate([r.NgModule({exports:[n.ChartModule,s.SparklineModule,a.StockChartModule]})],t)}();e.ChartsModule=p}])}));
|
|
20
|
+
var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};function n(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}var r=function(){return(r=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function s(t,e){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(o[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(o[i[n]]=t[i[n]])}return o}function a(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s}function p(t,e){return function(o,i){e(o,i,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,o,i){return new(o||(o=Promise))((function(n,r){function s(t){try{p(i.next(t))}catch(t){r(t)}}function a(t){try{p(i.throw(t))}catch(t){r(t)}}function p(t){var e;t.done?n(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(s,a)}p((i=i.apply(t,e||[])).next())}))}function l(t,e){var o,i,n,r,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(n=2&r[0]?i.return:r[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,r[1])).done)return n;switch(i=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(n=s.trys,(n=n.length>0&&n[n.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){s.label=r[1];break}if(6===r[0]&&s.label<n[1]){s.label=n[1],n=r;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(r);break}n[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],i=0}finally{o=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function h(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}function d(t,e){for(var o in t)"default"===o||e.hasOwnProperty(o)||(e[o]=t[o])}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var i,n,r=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(t){n={error:t}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return s}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(y(arguments[e]));return t}function g(){for(var t=0,e=0,o=arguments.length;e<o;e++)t+=arguments[e].length;var i=Array(t),n=0;for(e=0;e<o;e++)for(var r=arguments[e],s=0,a=r.length;s<a;s++,n++)i[n]=r[s];return i}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function m(t,e,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=o.apply(t,e||[]),r=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){n[t]&&(i[t]=function(e){return new Promise((function(o,i){r.push([t,e,o,i])>1||a(t,e)}))})}function a(t,e){try{(o=n[t](e)).value instanceof _?Promise.resolve(o.value.v).then(p,c):u(r[0][2],o)}catch(t){u(r[0][3],t)}var o}function p(t){a("next",t)}function c(t){a("throw",t)}function u(t,e){t(e),r.shift(),r.length&&a(r[0][0],r[0][1])}}function b(t){var e,o;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,n){e[i]=t[i]?function(e){return(o=!o)?{value:_(t[i](e)),done:"return"===i}:n?n(e):e}:n}}function x(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=f(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(e){return new Promise((function(i,n){(function(t,e,o,i){Promise.resolve(i).then((function(e){t({value:e,done:o})}),e)})(i,n,(e=t[o](e)).done,e.value)}))}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)Object.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function S(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function A(t,e,o){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,o),o}},function(e,o){e.exports=t},function(t,o){t.exports=e},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(20),s=o(97);e.THROTTLE_MS=1e3/60;var a=function(t,e){this.key=t,this.value=e};e.Change=a;var p=function(){function t(t){this.ngZone=t,this.store={},this.source=new r.BehaviorSubject({}),this.initSource()}return t.prototype.initSource=function(){this.onFastChange$=this.source.asObservable(),this.onChange$=this.onFastChange$.pipe(s.auditTime(e.THROTTLE_MS))},t.prototype.push=function(t){this.store=t,this.next()},t.prototype.notify=function(t){this.set(t.key,t.value),this.next()},t.prototype.set=function(t,e){for(var o=this.store,i=t.split("."),n=i.shift();i.length>0;)o=o[n]=o[n]||{},n=i.shift();o[n]=e},t.prototype.next=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.source.next(t.store)}))},t=i.__decorate([n.Injectable(),i.__metadata("design:paramtypes",[n.NgZone])],t)}();e.ConfigurationService=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(3),n=o(28),r=o(29),s=function(){function t(t,e){if(this.configKey=t,this.configurationService=e,this.store={},void 0===t)throw new Error("Configuration key not set")}return t.prototype.ngOnDestroy=function(){this.store=void 0,this.notify()},t.prototype.ngOnChanges=function(t){n.copyChanges(t,this.store),this.notify()},t.prototype.notifyChanges=function(t){this.ngOnChanges(r.toSimpleChanges(t))},t.prototype.markAsVisible=function(){this.store.visible=!0,this.notify()},t.prototype.notify=function(){this.configurationService.notify(new i.Change(this.configKey,this.store))},t}();e.SettingsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(20),s=function(t,e){this.sender=t,this.options=e};e.ItemChange=s;var a=function(){function t(){this.source=new r.Subject,this.onItemChange$=this.source.asObservable()}return t.prototype.notify=function(t){this.source.next(t)},t=i.__decorate([n.Injectable(),i.__metadata("design:paramtypes",[])],t)}();e.CollectionService=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){this.sender=t};e.BaseEvent=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.prevented=!1,e}return i.__extends(e,t),e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}(o(6).BaseEvent);e.PreventableEvent=n},function(t,e){t.exports=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(){function t(){}return t.prototype.setTemplate=function(t){this.template=t},t.prototype.getTemplate=function(t){return this.seriesTemplates&&this.seriesTemplates[t]?this.seriesTemplates[t]:this.template},t.prototype.setSeriesTemplates=function(t){this.seriesTemplates=t},t.prototype.setSharedTemplate=function(t){this.sharedTemplate=t},t.prototype.getSharedTemplate=function(){return this.sharedTemplate},t=i.__decorate([n.Injectable()],t)}();e.TooltipTemplateService=r},function(t,e,o){"use strict";o.r(e),o.d(e,"autoMajorUnit",(function(){return Vt})),o.d(e,"Point",(function(){return Nt})),o.d(e,"Box",(function(){return Ft})),o.d(e,"Ring",(function(){return Gt})),o.d(e,"Sector",(function(){return Ut})),o.d(e,"ShapeBuilder",(function(){return Yt})),o.d(e,"ShapeElement",(function(){return $t})),o.d(e,"ChartElement",(function(){return qt})),o.d(e,"BoxElement",(function(){return Qt})),o.d(e,"RootElement",(function(){return oe})),o.d(e,"FloatElement",(function(){return ne})),o.d(e,"Text",(function(){return ae})),o.d(e,"TextBox",(function(){return ue})),o.d(e,"Title",(function(){return he})),o.d(e,"AxisLabel",(function(){return fe})),o.d(e,"Axis",(function(){return De})),o.d(e,"Note",(function(){return ve})),o.d(e,"CategoryAxis",(function(){return oo})),o.d(e,"DateCategoryAxis",(function(){return lo})),o.d(e,"DateValueAxis",(function(){return xo})),o.d(e,"NumericAxis",(function(){return mo})),o.d(e,"LogarithmicAxis",(function(){return ko})),o.d(e,"PolarAxis",(function(){return To})),o.d(e,"RadarCategoryAxis",(function(){return Po})),o.d(e,"RadarNumericAxis",(function(){return Do})),o.d(e,"RadarLogarithmicAxis",(function(){return Ro})),o.d(e,"CurveProcessor",(function(){return Vo})),o.d(e,"Gradients",(function(){return Jt})),o.d(e,"rectToBox",(function(){return pe})),o.d(e,"ChartAxis",(function(){return No})),o.d(e,"ChartPane",(function(){return Ho})),o.d(e,"ChartPlotArea",(function(){return Go})),o.d(e,"findAxisByName",(function(){return zo})),o.d(e,"Aggregates",(function(){return Yo})),o.d(e,"AreaChart",(function(){return Vi})),o.d(e,"AreaSegment",(function(){return Di})),o.d(e,"AxisGroupRangeTracker",(function(){return Ni})),o.d(e,"Bar",(function(){return Ui})),o.d(e,"BarChart",(function(){return $i})),o.d(e,"BarLabel",(function(){return Fi})),o.d(e,"BoxPlotChart",(function(){return pn})),o.d(e,"BoxPlot",(function(){return sn})),o.d(e,"BubbleChart",(function(){return vn})),o.d(e,"Bullet",(function(){return bn})),o.d(e,"BulletChart",(function(){return wn})),o.d(e,"CandlestickChart",(function(){return nn})),o.d(e,"Candlestick",(function(){return tn})),o.d(e,"CategoricalChart",(function(){return yi})),o.d(e,"CategoricalErrorBar",(function(){return li})),o.d(e,"CategoricalPlotArea",(function(){return Ar})),o.d(e,"Chart",(function(){return ya})),o.d(e,"ChartContainer",(function(){return Tn})),o.d(e,"ClipAnimation",(function(){return Oi})),o.d(e,"ClusterLayout",(function(){return qi})),o.d(e,"Crosshair",(function(){return Pn})),o.d(e,"CrosshairTooltip",(function(){return An})),o.d(e,"DefaultAggregates",(function(){return or})),o.d(e,"DonutChart",(function(){return _s})),o.d(e,"DonutPlotArea",(function(){return ms})),o.d(e,"DonutSegment",(function(){return vs})),o.d(e,"ErrorBarBase",(function(){return ui})),o.d(e,"ErrorRangeCalculator",(function(){return $o})),o.d(e,"Highlight",(function(){return Pr})),o.d(e,"SharedTooltip",(function(){return qr})),o.d(e,"Legend",(function(){return Nr})),o.d(e,"LegendItem",(function(){return Lr})),o.d(e,"LegendLayout",(function(){return Rr})),o.d(e,"LineChart",(function(){return Ei})),o.d(e,"LinePoint",(function(){return mi})),o.d(e,"LineSegment",(function(){return xi})),o.d(e,"Pane",(function(){return En})),o.d(e,"PieAnimation",(function(){return Jr})),o.d(e,"PieChart",(function(){return ds})),o.d(e,"PieChartMixin",(function(){return us})),o.d(e,"PiePlotArea",(function(){return fs})),o.d(e,"PieSegment",(function(){return cs})),o.d(e,"PlotAreaBase",(function(){return Kn})),o.d(e,"PlotAreaEventsMixin",(function(){return $n})),o.d(e,"PlotAreaFactory",(function(){return Fr})),o.d(e,"PointEventsMixin",(function(){return vi})),o.d(e,"RangeBar",(function(){return nr})),o.d(e,"RangeBarChart",(function(){return sr})),o.d(e,"RangeAreaPoint",(function(){return cr})),o.d(e,"RangeAreaChart",(function(){return yr})),o.d(e,"ScatterChart",(function(){return hn})),o.d(e,"ScatterErrorBar",(function(){return cn})),o.d(e,"ScatterLineChart",(function(){return es})),o.d(e,"Selection",(function(){return Wr})),o.d(e,"SeriesAggregator",(function(){return tr})),o.d(e,"SeriesBinder",(function(){return Zo})),o.d(e,"SplineSegment",(function(){return Ai})),o.d(e,"SplineAreaSegment",(function(){return Li})),o.d(e,"StackWrap",(function(){return Qi})),o.d(e,"Tooltip",(function(){return Yr})),o.d(e,"OHLCChart",(function(){return gr})),o.d(e,"OHLCPoint",(function(){return vr})),o.d(e,"WaterfallChart",(function(){return br})),o.d(e,"WaterfallSegment",(function(){return mr})),o.d(e,"XYPlotArea",(function(){return ns})),o.d(e,"MousewheelZoom",(function(){return Br})),o.d(e,"ZoomSelection",(function(){return Dr})),o.d(e,"Pannable",(function(){return jr})),o.d(e,"anyHasZIndex",(function(){return Ti})),o.d(e,"appendIfNotNull",(function(){return Dn})),o.d(e,"areNumbers",(function(){return en})),o.d(e,"bindSegments",(function(){return Rn})),o.d(e,"categoriesCount",(function(){return di})),o.d(e,"countNumbers",(function(){return Uo})),o.d(e,"equalsIgnoreCase",(function(){return Ln})),o.d(e,"evalOptions",(function(){return hi})),o.d(e,"filterSeriesByType",(function(){return Vn})),o.d(e,"getDateField",(function(){return Nn})),o.d(e,"getField",(function(){return Xo})),o.d(e,"hasGradientOverlay",(function(){return Hi})),o.d(e,"hasValue",(function(){return un})),o.d(e,"isDateAxis",(function(){return zn})),o.d(e,"segmentVisible",(function(){return Bn})),o.d(e,"singleItemOrArray",(function(){return Fn})),o.d(e,"createOutOfRangePoints",(function(){return Wn})),o.d(e,"ChartService",(function(){return Pe})),o.d(e,"DomEventsBuilder",(function(){return Te})),o.d(e,"FormatService",(function(){return Se})),o.d(e,"IntlService",(function(){return be})),o.d(e,"TemplateService",(function(){return F})),o.d(e,"Sparkline",(function(){return wa})),o.d(e,"Navigator",(function(){return Ta})),o.d(e,"NavigatorHint",(function(){return Aa})),o.d(e,"StockChart",(function(){return ja})),o.d(e,"constants",(function(){return i})),o.d(e,"Gauge",(function(){return Ua})),o.d(e,"LinearGauge",(function(){return fp})),o.d(e,"LinearPointer",(function(){return ep})),o.d(e,"ArrowLinearPointer",(function(){return sp})),o.d(e,"BarLinearPointer",(function(){return lp})),o.d(e,"LinearScale",(function(){return Ka})),o.d(e,"RadialGauge",(function(){return Mp})),o.d(e,"RadialPointer",(function(){return Pp})),o.d(e,"RadialScale",(function(){return xp})),o.d(e,"ArcGauge",(function(){return Vp})),o.d(e,"RangePointer",(function(){return Lp})),o.d(e,"ArcScale",(function(){return Ep})),o.d(e,"CircularGauge",(function(){return Np})),o.d(e,"Barcode",(function(){return Ic})),o.d(e,"barcodeValidator",(function(){return Oc})),o.d(e,"QRCode",(function(){return Mu})),o.d(e,"qrcodeValidator",(function(){return ju})),o.d(e,"Map",(function(){return Uh})),o.d(e,"addClass",(function(){return x})),o.d(e,"removeClass",(function(){return C})),o.d(e,"alignPathToPixel",(function(){return k})),o.d(e,"clockwise",(function(){return A})),o.d(e,"convertableToNumber",(function(){return O})),o.d(e,"deepExtend",(function(){return j})),o.d(e,"elementStyles",(function(){return L})),o.d(e,"getSpacing",(function(){return V})),o.d(e,"getTemplate",(function(){return H})),o.d(e,"getter",(function(){return W})),o.d(e,"grep",(function(){return Y})),o.d(e,"hasClasses",(function(){return X})),o.d(e,"HashMap",(function(){return Z})),o.d(e,"inArray",(function(){return Q})),o.d(e,"interpolateValue",(function(){return K})),o.d(e,"InstanceObserver",(function(){return J})),o.d(e,"isArray",(function(){return b})),o.d(e,"isFunction",(function(){return T})),o.d(e,"isNumber",(function(){return I})),o.d(e,"isObject",(function(){return E})),o.d(e,"isString",(function(){return P})),o.d(e,"map",(function(){return tt})),o.d(e,"mousewheelDelta",(function(){return ot})),o.d(e,"FontLoader",(function(){return xt})),o.d(e,"setDefaultOptions",(function(){return wt})),o.d(e,"sparseArrayLimits",(function(){return Ct})),o.d(e,"styleValue",(function(){return D})),o.d(e,"find",(function(){return St})),o.d(e,"elementScale",(function(){return Pt})),o.d(e,"autoTextColor",(function(){return Ot})),o.d(e,"createHashSet",(function(){return Bt})),o.d(e,"defaultErrorHandler",(function(){return Rt})),o.d(e,"keys",(function(){return Lt})),o.d(e,"append",(function(){return nt})),o.d(e,"bindEvents",(function(){return rt})),o.d(e,"Class",(function(){return S.Class})),o.d(e,"defined",(function(){return st})),o.d(e,"deg",(function(){return at})),o.d(e,"elementOffset",(function(){return pt})),o.d(e,"elementSize",(function(){return ct})),o.d(e,"eventCoordinates",(function(){return ut})),o.d(e,"eventElement",(function(){return lt})),o.d(e,"hashKey",(function(){return ht})),o.d(e,"last",(function(){return dt})),o.d(e,"limitValue",(function(){return ft})),o.d(e,"logToConsole",(function(){return S.logToConsole})),o.d(e,"objectKey",(function(){return yt})),o.d(e,"rad",(function(){return vt})),o.d(e,"round",(function(){return gt})),o.d(e,"unbindEvents",(function(){return _t})),o.d(e,"valueOrDefault",(function(){return mt})),o.d(e,"chartBaseTheme",(function(){return Qh}));var i={};o.r(i),o.d(i,"NAVIGATOR_AXIS",(function(){return Pa})),o.d(i,"NAVIGATOR_PANE",(function(){return Ia}));var n="arc",r="#000",s="bottom",a="center",p="circle",c="date",u=/\{\d+:?/,l="left",h=Number.MAX_VALUE,d=-Number.MAX_VALUE,f="right",y="top",v="value",g="#fff",_="x",m="y";function b(t){return Array.isArray(t)}function x(t,e){for(var o=b(e)?e:[e],i=0;i<o.length;i++){var n=o[i];-1===t.className.indexOf(n)&&(t.className+=" "+n)}}var w=/\s+/g;function C(t,e){t&&t.className&&(t.className=t.className.replace(e,"").replace(w," "))}var S=o(1);function k(t){var e=.5;t.options.stroke&&S.drawing.util.defined(t.options.stroke.width)&&t.options.stroke.width%2==0&&(e=0);for(var o=0;o<t.segments.length;o++)t.segments[o].anchor().round(0).translate(e,e);return t}function A(t,e){return-t.x*e.y+t.y*e.x<0}function I(t){return"number"==typeof t&&!isNaN(t)}function P(t){return"string"==typeof t}function O(t){return I(t)||P(t)&&isFinite(t)}function T(t){return"function"==typeof t}function M(t,e){for(var o in e){var i=e[o],n=typeof i,r=void 0;if((r="object"===n&&null!==i?i.constructor:null)&&r!==Array)if(i instanceof Date)t[o]=new Date(i.getTime());else if(T(i.clone))t[o]=i.clone();else{var s=t[o];t[o]="object"==typeof s&&s||{},M(t[o],i)}else"undefined"!==n&&(t[o]=i)}return t}function j(t){for(var e=arguments,o=arguments.length,i=1;i<o;i++)M(t,e[i]);return t}function E(t){return"object"==typeof t}function D(t){return I(t)?t+"px":t}var B=/width|height|top|left|bottom|right/i;function R(t){return B.test(t)}function L(t,e){var o=P(e)?[e]:e;if(b(o)){for(var i={},n=window.getComputedStyle(t),r=0;r<o.length;r++){var s=o[r];i[s]=R(s)?parseFloat(n[s]):n[s]}return i}if(E(e))for(var a in e)t.style[a]=D(e[a])}function V(t,e){void 0===e&&(e=0);var o={top:0,right:0,bottom:0,left:0};return"number"==typeof t?o.top=o[f]=o[s]=o[l]=t:(o.top=t.top||e,o[f]=t[f]||e,o[s]=t[s]||e,o[l]=t[l]||e),o}var N={compile:function(t){return t}},z=function(){};z.register=function(t){N=t},z.compile=function(t){return N.compile(t)};var F=z;function H(t){var e;return void 0===t&&(t={}),t.template?t.template=e=F.compile(t.template):T(t.content)&&(e=t.content),e}var G=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,U={};function W(t){if(U[t])return U[t];var e=[];return t.replace(G,(function(t,o,i,n){e.push(S.drawing.util.defined(o)?o:i||n)})),U[t]=function(t){for(var o=t,i=0;i<e.length&&o;i++)o=o[e[i]];return o},U[t]}function Y(t,e){for(var o=t.length,i=[],n=0;n<o;n++)e(t[n])&&i.push(t[n]);return i}function X(t,e){if(t.className)for(var o=e.split(" "),i=0;i<o.length;i++)if(-1!==t.className.indexOf(o[i]))return!0}U[void 0]=function(t){return t};var q=function(){this._map={}};q.prototype.get=function(t){return this._map[this._key(t)]},q.prototype.set=function(t,e){this._map[this._key(t)]=e},q.prototype._key=function(t){return t instanceof Date?t.getTime():t};var Z=q;function Q(t,e){if(e)return-1!==e.indexOf(t)}function K(t,e,o){return S.drawing.util.round(t+(e-t)*o,3)}var $=function(t,e){this.observer=t,this.handlerMap=j({},this.handlerMap,e)};$.prototype.trigger=function(t,e){var o,i=this.observer,n=this.handlerMap;return n[t]?o=this.callObserver(n[t],e):i.trigger&&(o=this.callObserver("trigger",t,e)),o},$.prototype.callObserver=function(t){for(var e=[],o=arguments.length-1;o-- >0;)e[o]=arguments[o+1];return this.observer[t].apply(this.observer,e)},$.prototype.requiresHandlers=function(t){if(this.observer.requiresHandlers)return this.observer.requiresHandlers(t);for(var e=0;e<t.length;e++)if(this.handlerMap[t[e]])return!0};var J=$;function tt(t,e){for(var o=t.length,i=[],n=0;n<o;n++){var r=e(t[n]);S.drawing.util.defined(r)&&i.push(r)}return i}var et=S.support.browser||{};function ot(t){var e=0;return t.wheelDelta?(e=-t.wheelDelta/120,et.webkit&&(e/=2*Math.max(window.devicePixelRatio,.625))):t.detail&&(e=t.detail/3),e=e>0?Math.ceil(e):Math.floor(e)}var it=S.drawing.util,nt=it.append,rt=it.bindEvents,st=it.defined,at=it.deg,pt=it.elementOffset,ct=it.elementSize,ut=it.eventCoordinates,lt=it.eventElement,ht=it.hashKey,dt=it.last,ft=it.limitValue,yt=it.objectKey,vt=it.rad,gt=it.round,_t=it.unbindEvents,mt=it.valueOrDefault,bt=function(){};bt.fetchFonts=function(t,e,o){void 0===o&&(o={depth:0});!t||o.depth>5||!document.fonts||Object.keys(t).forEach((function(i){var n=t[i];"dataSource"!==i&&"$"!==i[0]&&n&&("font"===i?e.push(n):"object"==typeof n&&(o.depth++,bt.fetchFonts(n,e,o),o.depth--))}))},bt.loadFonts=function(t,e){var o=[];if(t.length>0&&document.fonts){try{o=t.map((function(t){return document.fonts.load(t)}))}catch(t){Object(S.logToConsole)(t)}Promise.all(o).then(e,e)}else e()},bt.preloadFonts=function(t,e){var o=[];bt.fetchFonts(t,o),bt.loadFonts(o,e)};var xt=bt;function wt(t,e){var o=t.prototype;o.options?o.options=j({},o.options,e):o.options=e}function Ct(t){for(var e=h,o=d,i=0,n=t.length;i<n;i++){var r=t[i];null!==r&&isFinite(r)&&(e=Math.min(e,r),o=Math.max(o,r))}return{min:e===h?void 0:e,max:o===d?void 0:o}}function St(t,e){for(var o=0;o<t.length;o++){var i=t[o];if(e(i,o,t))return i}}var kt=S.geometry.Matrix,At=/matrix\((.*)\)/;function It(t){var e=getComputedStyle(t).transform;return"none"===e?kt.unit():function(t){var e=t.match(At);if(null===e||2!==e.length)return kt.unit();var o=e[1].split(",").map((function(t){return parseFloat(t)}));return new(Function.prototype.bind.apply(kt,[null].concat(o)))}(e)}function Pt(t){if(!t)return kt.unit();for(var e=It(t),o=t.parentElement;o;){var i=It(o);e=e.multiplyCopy(i),o=o.parentElement}return e.b=e.c=e.e=e.f=0,e}var Ot=function(t){return new S.Color(t).isDark()?g:r},Tt={},Mt=function(t){this._index={},this._values=t?t.slice(0):[];for(var e=0;e<this._values.length;e++)this._index[this._values[e]]=e},jt={size:{configurable:!0}};Mt.prototype.values=function(){return this._values.filter((function(t){return t!==Tt}))},Mt.prototype.has=function(t){return void 0!==this._index[t]},Mt.prototype.add=function(t){this.has(t)||(this._index[t]=this._values.length,this._values.push(t))},Mt.prototype.delete=function(t){var e=this._index[t];void 0!==e&&(this._values[e]=Tt,delete this._index[t])},Mt.prototype.clear=function(){this._index={},this._values=[]},jt.size.get=function(){return this._values.length},Object.defineProperties(Mt.prototype,jt);var Et=function(t){this._set=new Set(t)},Dt={size:{configurable:!0}};Et.prototype.values=function(){return Array.from(this._set)},Et.prototype.has=function(t){return this._set.has(t)},Et.prototype.add=function(t){this._set.add(t)},Et.prototype.delete=function(t){this._set.delete(t)},Et.prototype.clear=function(){this._set.clear()},Dt.size.get=function(){return this._set.size},Object.defineProperties(Et.prototype,Dt);function Bt(t){return function(){var t=!1;"function"==typeof Set&&(t=new Set([1]).has(1));return t}()?new Et(t):new Mt(t)}function Rt(t){throw t}var Lt={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};function Vt(t,e){var o=gt(e-t,9);if(0===o){if(0===e)return.1;o=Math.abs(e)}var i=Math.pow(10,Math.floor(Math.log(o)/Math.log(10))),n=gt(o/i,10);return gt(i*(n<1.904762?.2:n<4.761904?.5:n<9.523809?1:2),10)}var Nt=function(t){function e(e,o){t.call(this),this.x=e||0,this.y=o||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y},e.prototype.rotate=function(t,e){var o=vt(e),i=Math.cos(o),n=Math.sin(o),r=t.x,s=t.y,a=this.x,p=this.y;return this.x=gt(r+(a-r)*i+(p-s)*n,3),this.y=gt(s+(p-s)*i-(a-r)*n,3),this},e.prototype.multiply=function(t){return this.x*=t,this.y*=t,this},e.prototype.distanceTo=function(t){var e=this.x-t.x,o=this.y-t.y;return Math.sqrt(e*e+o*o)},e.onCircle=function(t,o,i){var n=vt(o);return new e(t.x-i*Math.cos(n),t.y-i*Math.sin(n))},e}(S.Class);function zt(t,e,o,i,n){var r=vt(n);return new Nt(o+(t-o)*Math.cos(r)+(e-i)*Math.sin(r),i-(t-o)*Math.sin(r)+(e-i)*Math.cos(r))}var Ft=function(t){function e(e,o,i,n){t.call(this),this.x1=e||0,this.y1=o||0,this.x2=i||0,this.y2=n||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.equals=function(t){return this.x1===t.x1&&this.x2===t.x2&&this.y1===t.y1&&this.y2===t.y2},e.prototype.width=function(){return this.x2-this.x1},e.prototype.height=function(){return this.y2-this.y1},e.prototype.translate=function(t,e){return this.x1+=t,this.x2+=t,this.y1+=e,this.y2+=e,this},e.prototype.move=function(t,e){var o=this.height(),i=this.width();return st(t)&&(this.x1=t,this.x2=this.x1+i),st(e)&&(this.y1=e,this.y2=this.y1+o),this},e.prototype.wrap=function(t){return this.x1=Math.min(this.x1,t.x1),this.y1=Math.min(this.y1,t.y1),this.x2=Math.max(this.x2,t.x2),this.y2=Math.max(this.y2,t.y2),this},e.prototype.wrapPoint=function(t){var o=b(t),i=o?t[0]:t.x,n=o?t[1]:t.y;return this.wrap(new e(i,n,i,n)),this},e.prototype.snapTo=function(t,e){return e!==_&&e||(this.x1=t.x1,this.x2=t.x2),e!==m&&e||(this.y1=t.y1,this.y2=t.y2),this},e.prototype.alignTo=function(t,e){var o=this.height(),i=this.width(),n=e===y||e===s?m:_,r=n===m?o:i;if(e===a){var p=t.center(),c=this.center();this.x1+=p.x-c.x,this.y1+=p.y-c.y}else this[n+1]=e===y||e===l?t[n+1]-r:t[n+2];return this.x2=this.x1+i,this.y2=this.y1+o,this},e.prototype.shrink=function(t,e){return this.x2-=t,this.y2-=e,this},e.prototype.expand=function(t,e){return this.shrink(-t,-e),this},e.prototype.pad=function(t){var e=V(t);return this.x1-=e.left,this.x2+=e.right,this.y1-=e.top,this.y2+=e.bottom,this},e.prototype.unpad=function(t){var e=V(t);return e.left=-e.left,e.top=-e.top,e.right=-e.right,e.bottom=-e.bottom,this.pad(e)},e.prototype.clone=function(){return new e(this.x1,this.y1,this.x2,this.y2)},e.prototype.center=function(){return new Nt(this.x1+this.width()/2,this.y1+this.height()/2)},e.prototype.containsPoint=function(t){return t.x>=this.x1&&t.x<=this.x2&&t.y>=this.y1&&t.y<=this.y2},e.prototype.points=function(){return[new Nt(this.x1,this.y1),new Nt(this.x2,this.y1),new Nt(this.x2,this.y2),new Nt(this.x1,this.y2)]},e.prototype.getHash=function(){return[this.x1,this.y1,this.x2,this.y2].join(",")},e.prototype.overlaps=function(t){return!(t.y2<this.y1||this.y2<t.y1||t.x2<this.x1||this.x2<t.x1)},e.prototype.rotate=function(t){var e=this.width(),o=this.height(),i=this.center(),n=i.x,r=i.y,s=zt(0,0,n,r,t),a=zt(e,0,n,r,t),p=zt(e,o,n,r,t),c=zt(0,o,n,r,t);return e=Math.max(s.x,a.x,p.x,c.x)-Math.min(s.x,a.x,p.x,c.x),o=Math.max(s.y,a.y,p.y,c.y)-Math.min(s.y,a.y,p.y,c.y),this.x2=this.x1+e,this.y2=this.y1+o,this},e.prototype.toRect=function(){return new S.geometry.Rect([this.x1,this.y1],[this.width(),this.height()])},e.prototype.hasSize=function(){return 0!==this.width()&&0!==this.height()},e.prototype.align=function(t,e,o){var i=e+1,n=e+2,r=e===_?"width":"height",p=this[r]();Q(o,[l,y])?(this[i]=t[i],this[n]=this[i]+p):Q(o,[f,s])?(this[n]=t[n],this[i]=this[n]-p):o===a&&(this[i]=t[i]+(t[r]()-p)/2,this[n]=this[i]+p)},e}(S.Class);function Ht(t,e){return t-e}var Gt=function(t){function e(e,o,i,n,r){t.call(this),this.center=e,this.innerRadius=o,this.radius=i,this.startAngle=n,this.angle=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.center,this.innerRadius,this.radius,this.startAngle,this.angle)},e.prototype.middle=function(){return this.startAngle+this.angle/2},e.prototype.setRadius=function(t,e){return e?this.innerRadius=t:this.radius=t,this},e.prototype.point=function(t,e){var o=vt(t),i=Math.cos(o),n=Math.sin(o),r=e?this.innerRadius:this.radius,s=gt(this.center.x-i*r,3),a=gt(this.center.y-n*r,3);return new Nt(s,a)},e.prototype.adjacentBox=function(t,e,o){var i=this.clone().expand(t),n=i.middle(),r=i.point(n),s=e/2,a=o/2,p=Math.sin(vt(n)),c=Math.cos(vt(n)),u=r.x-s,l=r.y-a;return Math.abs(p)<.9&&(u+=s*-c/Math.abs(c)),Math.abs(c)<.9&&(l+=a*-p/Math.abs(p)),new Ft(u,l,u+e,l+o)},e.prototype.containsPoint=function(t){var e=this.center,o=this.innerRadius,i=this.radius,n=this.startAngle,r=this.startAngle+this.angle,s=t.x-e.x,a=t.y-e.y,p=new Nt(s,a),c=this.point(n),u=new Nt(c.x-e.x,c.y-e.y),l=this.point(r),h=new Nt(l.x-e.x,l.y-e.y),d=gt(s*s+a*a,3);return(u.equals(p)||A(u,p))&&!A(h,p)&&d>=o*o&&d<=i*i},e.prototype.getBBox=function(){var t,e=new Ft(h,h,d,d),o=gt(this.startAngle%360),i=gt((o+this.angle)%360),n=this.innerRadius,r=[0,90,180,270,o,i].sort(Ht),s=r.indexOf(o),a=r.indexOf(i);t=o===i?r:s<a?r.slice(s,a+1):[].concat(r.slice(0,a+1),r.slice(s,r.length));for(var p=0;p<t.length;p++){var c=this.point(t[p]);e.wrapPoint(c),e.wrapPoint(c,n)}return n||e.wrapPoint(this.center),e},e.prototype.expand=function(t){return this.radius+=t,this},e}(S.Class),Ut=function(t){function e(e,o,i,n){t.call(this,e,0,o,i,n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expand=function(e){return t.prototype.expand.call(this,e)},e.prototype.clone=function(){return new e(this.center,this.radius,this.startAngle,this.angle)},e.prototype.setRadius=function(t){return this.radius=t,this},e}(Gt),Wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createRing=function(t,e){var o=t.startAngle+180,i=t.angle+o;t.angle>0&&o===i&&(i+=.001);var n=new S.geometry.Point(t.center.x,t.center.y),r=Math.max(t.radius,0),s=Math.max(t.innerRadius,0),a=new S.geometry.Arc(n,{startAngle:o,endAngle:i,radiusX:r,radiusY:r}),p=S.drawing.Path.fromArc(a,e).close();if(s){a.radiusX=a.radiusY=s;var c=a.pointAt(i);p.lineTo(c.x,c.y),p.arc(i,o,s,s,!0)}else p.lineTo(n.x,n.y);return p},e}(S.Class);Wt.current=new Wt;var Yt=Wt,Xt=function(t){function e(e){t.call(this),this.children=[],this.options=j({},this.options,this.initUserOptions(e))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){return t},e.prototype.reflow=function(t){for(var e,o=this.children,i=0;i<o.length;i++){var n=o[i];n.reflow(t),e=e?e.wrap(n.box):n.box.clone()}this.box=e||t},e.prototype.destroy=function(){var t=this.children;this.animation&&this.animation.destroy();for(var e=0;e<t.length;e++)t[e].destroy()},e.prototype.getRoot=function(){var t=this.parent;return t?t.getRoot():null},e.prototype.getSender=function(){var t=this.getService();if(t)return t.sender},e.prototype.getService=function(){for(var t=this;t;){if(t.chartService)return t.chartService;t=t.parent}},e.prototype.translateChildren=function(t,e){for(var o=this.children,i=o.length,n=0;n<i;n++)o[n].box.translate(t,e)},e.prototype.append=function(){for(var t=arguments,e=this,o=0;o<arguments.length;o++){var i=t[o];e.children.push(i),i.parent=e}},e.prototype.renderVisual=function(){!1!==this.options.visible&&(this.createVisual(),this.addVisual(),this.renderChildren(),this.createAnimation(),this.renderComplete())},e.prototype.addVisual=function(){this.visual&&(this.visual.chartElement=this,this.parent&&this.parent.appendVisual(this.visual))},e.prototype.renderChildren=function(){for(var t=this.children,e=t.length,o=0;o<e;o++)t[o].renderVisual()},e.prototype.createVisual=function(){this.visual=new S.drawing.Group({zIndex:this.options.zIndex,visible:mt(this.options.visible,!0)})},e.prototype.createAnimation=function(){this.visual&&this.options.animation&&(this.animation=S.drawing.Animation.create(this.visual,this.options.animation))},e.prototype.appendVisual=function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):st(t.options.zIndex)?this.stackRoot().stackVisual(t):this.isStackRoot?this.stackVisual(t):this.visual?this.visual.append(t):this.parent.appendVisual(t)},e.prototype.clipRoot=function(){return this.parent?this.parent.clipRoot():this},e.prototype.stackRoot=function(){return this.parent?this.parent.stackRoot():this},e.prototype.stackVisual=function(t){var e,o=t.options.zIndex||0,i=this.visual.children,n=i.length;for(e=0;e<n;e++){var r=i[e];if(mt(r.options.zIndex,0)>o)break}this.visual.insert(e,t)},e.prototype.traverse=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++){var n=e[i];t(n),n.traverse&&n.traverse(t)}},e.prototype.closest=function(t){for(var e=this,o=!1;e&&!o;)(o=t(e))||(e=e.parent);if(o)return e},e.prototype.renderComplete=function(){},e.prototype.hasHighlight=function(){var t=(this.options||{}).highlight;return!(!this.createHighlight||t&&!1===t.visible)},e.prototype.toggleHighlight=function(t,e){var o=this,i=(this.options||{}).highlight||{},n=i.visual,r=this._highlight;if(!r){var s={fill:{color:g,opacity:e||.2},stroke:{color:g,width:1,opacity:e||.2}};if(n){if(!(r=this._highlight=n(Object.assign(this.highlightVisualArgs(),{createVisual:function(){return o.createHighlight(s)},sender:this.getSender(),series:this.series,dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total}))))return}else r=this._highlight=this.createHighlight(s);st(r.options.zIndex)||(r.options.zIndex=mt(i.zIndex,this.options.zIndex)),this.appendVisual(r)}r.visible(t)},e.prototype.createGradientOverlay=function(t,e,o){var i=new S.drawing.Path(Object.assign({stroke:{color:"none"},fill:this.createGradient(o),closed:t.options.closed},e));return i.segments.elements(t.segments.elements()),i},e.prototype.createGradient=function(t){if(this.parent)return this.parent.createGradient(t)},e.prototype.supportsPointInactiveOpacity=function(){return!0},e}(S.Class);Xt.prototype.options={};var qt=Xt,Zt=function(t){function e(e){t.call(this,e),this.options.margin=V(this.options.margin),this.options.padding=V(this.options.padding)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){var o,i=this,n=this.options,r=n.width,s=n.height,a=n.shrinkToFit,p=r&&s,c=n.margin,u=n.padding,l=n.border.width,h=function(){i.align(e,_,n.align),i.align(e,m,n.vAlign),i.paddingBox=o.clone().unpad(c).unpad(l)},d=e.clone();p&&(d.x2=d.x1+r,d.y2=d.y1+s),a&&d.unpad(c).unpad(l).unpad(u),t.prototype.reflow.call(this,d),o=p?this.box=new Ft(0,0,r,s):this.box,a&&p?(h(),d=this.contentBox=this.paddingBox.clone().unpad(u)):(d=this.contentBox=o.clone(),o.pad(u).pad(l).pad(c),h()),this.translateChildren(o.x1-d.x1+c.left+l+u.left,o.y1-d.y1+c.top+l+u.top);for(var f=this.children,y=0;y<f.length;y++){var v=f[y];v.reflow(v.box)}},e.prototype.align=function(t,e,o){this.box.align(t,e,o)},e.prototype.hasBox=function(){var t=this.options;return t.border.width||t.background},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.options.visible&&this.hasBox()&&this.visual.append(S.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()))},e.prototype.visualStyle=function(){var t=this.options,e=t.border||{};return{stroke:{width:e.width,color:e.color,opacity:mt(e.opacity,t.opacity),dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},cursor:t.cursor}},e}(qt);wt(Zt,{align:l,vAlign:y,margin:{},padding:{},border:{color:r,width:0},background:"",shrinkToFit:!1,width:0,height:0,visible:!0});var Qt=Zt,Kt=function(t){function e(e,o){t.call(this,e),this.pointData=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getElement=function(){var t=this.options,e=this.paddingBox,o=t.type,i=t.rotation,n=e.center(),r=e.width()/2,s=e.height()/2;if(!t.visible||!this.hasBox())return null;var a,c=this.visualStyle();if(o===p)a=new S.drawing.Circle(new S.geometry.Circle([gt(e.x1+r,3),gt(e.y1+s,3)],Math.min(r,s)),c);else if("triangle"===o)a=S.drawing.Path.fromPoints([[e.x1+r,e.y1],[e.x1,e.y2],[e.x2,e.y2]],c).close();else if("cross"===o)(a=new S.drawing.MultiPath(c)).moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),a.moveTo(e.x1,e.y2).lineTo(e.x2,e.y1);else{var u=e.toRect();if("roundedRect"===o){var l=mt(t.borderRadius,u.width()/5);u.setCornerRadius(l)}a=S.drawing.Path.fromRect(u,c)}return i&&a.transform(S.geometry.transform().rotate(-i,[n.x,n.y])),a.options.zIndex=t.zIndex,a},e.prototype.createElement=function(){var t=this,e=this.options.visual,o=this.pointData||{};return e?e({value:o.value,dataItem:o.dataItem,sender:this.getSender(),series:o.series,category:o.category,rect:this.paddingBox.toRect(),options:this.visualOptions(),createVisual:function(){return t.getElement()}}):this.getElement()},e.prototype.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}},e.prototype.createVisual=function(){this.visual=this.createElement()},e}(Qt);wt(Kt,{type:p,align:a,vAlign:a});var $t=Kt,Jt={glass:{type:"linear",rotation:0,stops:[{offset:0,color:g,opacity:0},{offset:.25,color:g,opacity:.3},{offset:1,color:g,opacity:0}]},sharpBevel:{type:"radial",stops:[{offset:0,color:g,opacity:.55},{offset:.65,color:g,opacity:0},{offset:.95,color:g,opacity:.25}]},roundedBevel:{type:"radial",stops:[{offset:.33,color:g,opacity:.06},{offset:.83,color:g,opacity:.2},{offset:.95,color:g,opacity:0}]},roundedGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:g,opacity:0},{offset:.5,color:g,opacity:.3},{offset:.99,color:g,opacity:0}]},sharpGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:g,opacity:.2},{offset:.15,color:g,opacity:.15},{offset:.17,color:g,opacity:.35},{offset:.85,color:g,opacity:.05},{offset:.87,color:g,opacity:.15},{offset:.99,color:g,opacity:0}]},bubbleShadow:{type:"radial",center:[.5,.5],radius:.5}};function te(t,e){if(t.x1===e.x1&&t.y1===e.y1&&t.x2===e.x2&&t.y2===e.y2)return e;var o=Math.min(t.x1,e.x1),i=Math.max(t.x1,e.x1),n=Math.min(t.x2,e.x2),r=Math.max(t.x2,e.x2),s=Math.min(t.y1,e.y1),a=Math.max(t.y1,e.y1),p=Math.min(t.y2,e.y2),c=Math.max(t.y2,e.y2),u=[];return u[0]=new Ft(i,s,n,a),u[1]=new Ft(o,a,i,p),u[2]=new Ft(n,a,r,p),u[3]=new Ft(i,p,n,c),t.x1===o&&t.y1===s||e.x1===o&&e.y1===s?(u[4]=new Ft(o,s,i,a),u[5]=new Ft(n,p,r,c)):(u[4]=new Ft(n,s,r,a),u[5]=new Ft(o,p,i,c)),Y(u,(function(t){return t.height()>0&&t.width()>0}))[0]}var ee=function(t){function e(e){t.call(this,e);var o=this.options;o.width=parseInt(o.width,10),o.height=parseInt(o.height,10),this.gradients={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t=this.options,e=this.children,o=new Ft(0,0,t.width,t.height);this.box=o.unpad(t.margin);for(var i=0;i<e.length;i++)e[i].reflow(o),o=te(o,e[i].box)||new Ft},e.prototype.createVisual=function(){this.visual=new S.drawing.Group,this.createBackground()},e.prototype.createBackground=function(){var t=this.options,e=t.border||{},o=this.box.clone().pad(t.margin).unpad(e.width),i=S.drawing.Path.fromRect(o.toRect(),{stroke:{color:e.width?e.color:"",width:e.width,dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},zIndex:-10});this.visual.append(i)},e.prototype.getRoot=function(){return this},e.prototype.createGradient=function(t){var e,o=this.gradients,i=yt(t),n=Jt[t.gradient];if(o[i])e=o[i];else{var r=Object.assign({},n,t);"linear"===n.type?e=new S.drawing.LinearGradient(r):(t.innerRadius&&(r.stops=function(t){for(var e=t.stops,o=t.innerRadius/t.radius*100,i=e.length,n=[],r=0;r<i;r++){var s=Object.assign({},e[r]);s.offset=(s.offset*(100-o)+o)/100,n.push(s)}return n}(r)),(e=new S.drawing.RadialGradient(r)).supportVML=!1!==n.supportVML),o[i]=e}return e},e.prototype.cleanGradients=function(){var t=this.gradients;for(var e in t)t[e]._observers=[]},e.prototype.size=function(){var t=this.options;return new Ft(0,0,t.width,t.height)},e}(qt);wt(ee,{width:600,height:400,background:g,border:{color:r,width:0},margin:V(5),zIndex:-2});var oe=ee,ie=function(t){function e(e){t.call(this,e),this._initDirection()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initDirection=function(){var t=this.options;t.vertical?(this.groupAxis=_,this.elementAxis=m,this.groupSizeField="width",this.elementSizeField="height",this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=m,this.elementAxis=_,this.groupSizeField="height",this.elementSizeField="width",this.groupSpacing=t.vSpacing,this.elementSpacing=t.spacing)},e.prototype.reflow=function(t){this.box=t.clone(),this.reflowChildren()},e.prototype.reflowChildren=function(){var t=this.box,e=this.elementAxis,o=this.groupAxis,i=this.elementSizeField,n=this.groupSizeField,r=this.groupOptions(),s=r.groups,a=r.groupsSize,p=r.maxGroupElementsSize,c=s.length,u=t[o+1]+this.alignStart(a,t[n]());if(c){for(var l=u,h=0;h<c;h++){for(var d=s[h],f=d.groupElements,y=t[e+1],v=f.length,g=0;g<v;g++){var _=f[g],m=this.elementSize(_),b=l+this.alignStart(m[n],d.groupSize),x=new Ft;x[o+1]=b,x[o+2]=b+m[n],x[e+1]=y,x[e+2]=y+m[i],_.reflow(x),y+=m[i]+this.elementSpacing}l+=d.groupSize+this.groupSpacing}t[o+1]=u,t[o+2]=u+a,t[e+2]=t[e+1]+p}},e.prototype.alignStart=function(t,e){var o=0,i=this.options.align;return i===f||i===s?o=e-t:i===a&&(o=(e-t)/2),o},e.prototype.groupOptions=function(){for(var t=this.box,e=this.children,o=this.elementSizeField,i=this.groupSizeField,n=this.elementSpacing,r=this.groupSpacing,s=gt(t[o]()),a=e.length,p=[],c=0,u=0,l=0,h=0,d=[],f=0;f<a;f++){var y=e[f];y.box||y.reflow(t);var v=this.elementSize(y);this.options.wrap&>(u+n+v[o])>s&&(p.push({groupElements:d,groupSize:c,groupElementsSize:u}),h=Math.max(h,u),l+=r+c,c=0,u=0,d=[]),c=Math.max(c,v[i]),u>0&&(u+=n),u+=v[o],d.push(y)}return p.push({groupElements:d,groupSize:c,groupElementsSize:u}),{groups:p,groupsSize:l+=c,maxGroupElementsSize:h=Math.max(h,u)}},e.prototype.elementSize=function(t){return{width:t.box.width(),height:t.box.height()}},e.prototype.createVisual=function(){},e}(qt);wt(ie,{vertical:!0,wrap:!0,vSpacing:0,spacing:0});var ne=ie,re=S.drawing.Text,se=function(t){function e(e,o){t.call(this,o),this.content=e,this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=e.size=S.drawing.util.measureText(this.content,{font:e.font});this.baseline=o.baseline,this.box=new Ft(t.x1,t.y1,t.x1+o.width,t.y1+o.height)},e.prototype.createVisual=function(){var t=this.options,e=t.font,o=t.color,i=t.opacity,n=t.cursor;this.visual=new re(this.content,this.box.toRect().topLeft(),{font:e,fill:{color:o,opacity:i},cursor:n})},e}(qt);wt(se,{font:"12px sans-serif",color:r});var ae=se;function pe(t){var e=t.origin,o=t.bottomRight();return new Ft(e.x,e.y,o.x,o.y)}var ce=/\n/m,ue=function(t){function e(e,o,i){t.call(this,o),this.content=e,this.data=i,this._initContainer(),!1!==this.options._autoReflow&&this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initContainer=function(){var t=this.options,e=String(this.content).split(ce),o=new ne({vertical:!0,align:t.align,wrap:!1}),i=j({},t,{opacity:1,animation:null});this.container=o,this.append(o);for(var n=0;n<e.length;n++){var r=new ae(e[n].trim(),i);o.append(r)}},e.prototype.reflow=function(e){var o=this.options,i=o.visual;if(this.container.options.align=o.align,i&&!this._boxReflow){var n=e;n.hasSize()||(this._boxReflow=!0,this.reflow(n),this._boxReflow=!1,n=this.box);var r=this.visual=i(this.visualContext(n));r&&(n=pe(r.clippedBBox()||new S.geometry.Rect),r.options.zIndex=o.zIndex),this.box=this.contentBox=this.paddingBox=n}else if(t.prototype.reflow.call(this,e),o.rotation){var s=V(o.margin),a=this.box.unpad(s);this.targetBox=e,this.normalBox=a.clone(),(a=this.rotate()).translate(s.left-s.right,s.top-s.bottom),this.rotatedBox=a.clone(),a.pad(s)}},e.prototype.createVisual=function(){var t=this.options;if(this.visual=new S.drawing.Group({transform:this.rotationTransform(),zIndex:t.zIndex,noclip:t.noclip}),this.hasBox()){var e=S.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle());this.visual.append(e)}},e.prototype.renderVisual=function(){if(this.options.visible)if(this.options.visual){var e=this.visual;e&&!st(e.options.noclip)&&(e.options.noclip=this.options.noclip),this.addVisual(),this.createAnimation()}else t.prototype.renderVisual.call(this)},e.prototype.visualContext=function(t){var e=this,o={text:this.content,rect:t.toRect(),sender:this.getSender(),options:this.options,createVisual:function(){return e._boxReflow=!0,e.reflow(t),e._boxReflow=!1,e.getDefaultVisual()}};return this.data&&Object.assign(o,this.data),o},e.prototype.getDefaultVisual=function(){this.createVisual(),this.renderChildren();var t=this.visual;return delete this.visual,t},e.prototype.rotate=function(){var t=this.options;return this.box.rotate(t.rotation),this.align(this.targetBox,_,t.align),this.align(this.targetBox,m,t.vAlign),this.box},e.prototype.rotationTransform=function(){var t=this.options.rotation;if(!t)return null;var e=this.normalBox.center(),o=e.x,i=e.y,n=this.rotatedBox.center();return S.geometry.transform().translate(n.x-o,n.y-i).rotate(t,[o,i])},e}(Qt),le=function(t){function e(e){t.call(this,e),this.append(new ue(this.options.text,Object.assign({},this.options,{vAlign:this.options.position})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){t.prototype.reflow.call(this,e),this.box.snapTo(e,_)},e.buildTitle=function(t,o,i){var n,r=t;return"string"==typeof t&&(r={text:t}),(r=Object.assign({visible:!0},i,r))&&r.visible&&r.text&&(n=new e(r),o.append(n)),n},e}(qt);wt(le,{color:r,position:y,align:a,margin:V(5),padding:V(5)});var he=le,de=function(t){function e(e,o,i,n,r){t.call(this,o,r),this.text=o,this.value=e,this.index=i,this.dataItem=n,this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.visualContext=function(e){var o=t.prototype.visualContext.call(this,e);return o.value=this.value,o.dataItem=this.dataItem,o.format=this.options.format,o.culture=this.options.culture,o},e.prototype.click=function(t,e){t.trigger("axisLabelClick",{element:lt(e),value:this.value,text:this.text,index:this.index,dataItem:this.dataItem,axis:this.parent.options})},e.prototype.rotate=function(){if(this.options.alignRotation!==a){var e=this.normalBox.toRect(),o=this.rotationTransform();this.box=pe(e.bbox(o.matrix()))}else t.prototype.rotate.call(this);return this.box},e.prototype.rotationTransform=function(){var e=this.options,o=e.rotation;if(!o)return null;if(e.alignRotation===a)return t.prototype.rotationTransform.call(this);var i=S.geometry.transform().rotate(o).matrix(),n=this.normalBox.toRect(),r=this.targetBox.toRect(),p=e.rotationOrigin||y,c=p===y||p===s?_:m,u=p===y||p===s?m:_,h=p===y||p===l?r.origin:r.bottomRight(),d=n.topLeft().transformCopy(i),f=n.topRight().transformCopy(i),v=n.bottomRight().transformCopy(i),g=n.bottomLeft().transformCopy(i),b=S.geometry.Rect.fromPoints(d,f,v,g),x={};x[u]=r.origin[u]-b.origin[u];var w,C,k=Math.abs(d[u]+x[u]-h[u]),A=Math.abs(f[u]+x[u]-h[u]);gt(k,10)===gt(A,10)?(w=d,C=f):A<k?(w=f,C=v):(w=d,C=g);var I=w[c]+(C[c]-w[c])/2;return x[c]=r.center()[c]-I,S.geometry.transform().translate(x.x,x.y).rotate(o)},e}(ue);wt(de,{_autoReflow:!1});var fe=de,ye=function(t){function e(e,o,i){t.call(this,o),this.fields=e,this.chartService=i,this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hide=function(){this.options.visible=!1},e.prototype.show=function(){this.options.visible=!0},e.prototype.render=function(){var t=this,e=this.options;if(e.visible){var o,i,n=e.label,r=e.icon,s=new Ft,a=function(){return t},c=r.size,u=this.fields.text;if(st(n)&&n.visible){var l=H(n);l?u=l(this.fields):n.format&&(u=this.chartService.format.auto(n.format,u)),n.color||(n.color="inside"===n.position?"#fff":r.background),this.label=new ue(u,j({},n)),this.label.aliasFor=a,"inside"!==n.position||st(c)||(r.type===p?c=Math.max(this.label.box.width(),this.label.box.height()):(o=this.label.box.width(),i=this.label.box.height()),s.wrap(this.label.box))}r.width=o||c||7,r.height=i||c||7;var h=new $t(j({},r));h.aliasFor=a,this.marker=h,this.append(h),this.label&&this.append(this.label),h.reflow(new Ft),this.wrapperBox=s.wrap(h.box)}},e.prototype.reflow=function(t){var e,o,i,n=this.options,r=this.label,a=this.marker,p=this.wrapperBox,c=t.center(),u=n.line.length,h=n.position;n.visible&&(Q(h,[l,f])?h===l?(i=p.alignTo(t,h).translate(-u,t.center().y-p.center().y),n.line.visible&&(e=[t.x1,c.y],this.linePoints=[e,[i.x2,c.y]],o=i.clone().wrapPoint(e))):(i=p.alignTo(t,h).translate(u,t.center().y-p.center().y),n.line.visible&&(e=[t.x2,c.y],this.linePoints=[e,[i.x1,c.y]],o=i.clone().wrapPoint(e))):h===s?(i=p.alignTo(t,h).translate(t.center().x-p.center().x,u),n.line.visible&&(e=[c.x,t.y2],this.linePoints=[e,[c.x,i.y1]],o=i.clone().wrapPoint(e))):(i=p.alignTo(t,h).translate(t.center().x-p.center().x,-u),n.line.visible&&(e=[c.x,t.y1],this.linePoints=[e,[c.x,i.y2]],o=i.clone().wrapPoint(e))),a&&a.reflow(i),r&&(r.reflow(i),a&&("outside"===n.label.position&&r.box.alignTo(a.box,h),r.reflow(r.box))),this.contentBox=i,this.targetBox=t,this.box=o||i)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.visual.options.noclip=this.options.noclip,this.options.visible&&this.createLine()},e.prototype.renderVisual=function(){var e=this,o=this.options,i=o.visual;o.visible&&i?(this.visual=i(Object.assign(this.fields,{sender:this.getSender(),rect:this.targetBox.toRect(),options:{background:o.background,border:o.background,icon:o.icon,label:o.label,line:o.line,position:o.position,visible:o.visible},createVisual:function(){e.createVisual(),e.renderChildren();var t=e.visual;return delete e.visual,t}})),this.addVisual()):t.prototype.renderVisual.call(this)},e.prototype.createLine=function(){var t=this.options.line;if(this.linePoints){var e=S.drawing.Path.fromPoints(this.linePoints,{stroke:{color:t.color,width:t.width,dashType:t.dashType}});k(e),this.visual.append(e)}},e.prototype.click=function(t,e){var o=this.eventArgs(e);t.trigger("noteClick",o)||e.preventDefault()},e.prototype.over=function(t,e){var o=this.eventArgs(e);t.trigger("noteHover",o)||e.preventDefault()},e.prototype.out=function(t,e){var o=this.eventArgs(e);t.trigger("noteLeave",o)},e.prototype.eventArgs=function(t){var e=this.options;return Object.assign(this.fields,{element:lt(t),text:st(e.label)?e.label.text:"",visual:this.visual})},e}(Qt);wt(ye,{icon:{visible:!0,type:p},label:{position:"inside",visible:!0,align:a,vAlign:a},line:{visible:!0},visible:!0,position:y,zIndex:2});var ve=ye,ge={format:function(t,e){return e},toString:function(t){return t},parseDate:function(t){return new Date(t)},firstDay:function(){return 0}},_e=function(){},me={implementation:{configurable:!0}};_e.register=function(t){ge=t},me.implementation.get=function(){return ge},Object.defineProperties(_e,me);var be=_e,xe=/\{(\d+)(:[^\}]+)?\}/g,we=function(t){this._intlService=t},Ce={intl:{configurable:!0}};Ce.intl.get=function(){return this._intlService||be.implementation},Ce.intl.set=function(t){this._intlService=t},we.prototype.auto=function(t){for(var e=[],o=arguments.length-1;o-- >0;)e[o]=arguments[o+1];var i=this.intl;return P(t)&&t.match(u)?i.format.apply(i,[t].concat(e)):i.toString(e[0],t)},we.prototype.localeAuto=function(t,e,o){var i=this.intl;return P(t)&&t.match(u)?t.replace(xe,(function(t,n,r){var s=e[parseInt(n,10)];return i.toString(s,r?r.substring(1):"",o)})):i.toString(e[0],t,o)},Object.defineProperties(we.prototype,Ce);var Se=we,ke=function(t,e){void 0===e&&(e={}),this._intlService=e.intlService,this.sender=e.sender||t,this.format=new Se(e.intlService),this.chart=t,this.rtl=Boolean(e.rtl)},Ae={intl:{configurable:!0}};Ae.intl.get=function(){return this._intlService||be.implementation},Ae.intl.set=function(t){this._intlService=t,this.format.intl=t},ke.prototype.notify=function(t,e){this.chart&&this.chart.trigger(t,e)},ke.prototype.isPannable=function(t){var e=((this.chart||{}).options||{}).pannable;return e&&e.lock!==t},Object.defineProperties(ke.prototype,Ae);var Ie,Pe=ke,Oe=function(){};Oe.register=function(t){Ie=t},Oe.create=function(t,e){if(Ie)return Ie.create(t,e)};var Te=Oe;function Me(t,e){var o=t.tickX,i=t.tickY,n=t.position,r=new S.drawing.Path({stroke:{width:e.width,color:e.color}});return t.vertical?r.moveTo(o,n).lineTo(o+e.size,n):r.moveTo(n,i).lineTo(n,i+e.size),k(r),r}function je(t,e){var o=t.lineStart,i=t.lineEnd,n=t.position,r=new S.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});return t.vertical?r.moveTo(o,n).lineTo(i,n):r.moveTo(n,o).lineTo(n,i),k(r),r}var Ee=function(t){function e(e,o){void 0===o&&(o=new Pe),t.call(this,e),this.chartService=o,this.options.visible||(this.options=j({},this.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),this.options.minorTicks=j({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.minorTickType},this.options.minorTicks,{size:this.options.minorTickSize,align:this.options.minorTickType}),this.options.majorTicks=j({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.majorTickType},this.options.majorTicks,{size:this.options.majorTickSize,align:this.options.majorTickType}),this.initFields(),this.options._deferLabels||this.createLabels(),this.createTitle(),this.createNotes()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.labelsCount()}},e.prototype.normalizeLabelRotation=function(t){var e=t.rotation;E(e)&&(t.alignRotation=e.align,t.rotation=e.angle)},e.prototype.createLabels=function(){var t=this.options,e=t.vertical?f:a,o=j({},t.labels,{align:e,zIndex:t.zIndex}),i=Math.max(1,o.step);if(this.clearLabels(),o.visible){this.normalizeLabelRotation(o),"auto"===o.rotation&&(o.rotation=0,t.autoRotateLabels=!0);for(var n=this.labelsRange(),r=n.min;r<n.max;r+=i){var s={index:r,count:n.max},p=this.createAxisLabel(r,o,s);p&&(this.append(p),this.labels.push(p))}}},e.prototype.clearLabels=function(){this.children=Y(this.children,(function(t){return!(t instanceof fe)})),this.labels=[]},e.prototype.clearTitle=function(){var t=this;this.title&&(this.children=Y(this.children,(function(e){return e!==t.title})),this.title=void 0)},e.prototype.clear=function(){this.clearLabels(),this.clearTitle()},e.prototype.lineBox=function(){var t=this.options,e=this.box,o=t.vertical,i=t.labels.mirror,n=i?e.x1:e.x2,r=i?e.y2:e.y1,s=t.line.width||0;return o?new Ft(n,e.y1,n,e.y2-s):new Ft(e.x1,r,e.x2-s,r)},e.prototype.createTitle=function(){var t=this.options,e=j({rotation:t.vertical?-90:0,text:"",zIndex:1,visualSize:!0},t.title);if(e.visible&&e.text){var o=new ue(e.text,e);this.append(o),this.title=o}},e.prototype.createNotes=function(){var t=this.options,e=t.notes,o=e.data||[];this.notes=[];for(var i=0;i<o.length;i++){var n=j({},e,o[i]);n.value=this.parseNoteValue(n.value);var r=new ve({value:n.value,text:n.label.text,dataItem:n},n,this.chartService);r.options.visible&&(st(r.options.position)?t.vertical&&!Q(r.options.position,[l,f])?r.options.position=t.reverse?l:f:t.vertical||Q(r.options.position,[y,s])||(r.options.position=t.reverse?s:y):t.vertical?r.options.position=t.reverse?l:f:r.options.position=t.reverse?s:y,this.append(r),this.notes.push(r))}},e.prototype.parseNoteValue=function(t){return t},e.prototype.renderVisual=function(){t.prototype.renderVisual.call(this),this.createPlotBands()},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.createBackground(),this.createLine()},e.prototype.gridLinesVisual=function(){var t=this._gridLines;return t||(t=this._gridLines=new S.drawing.Group({zIndex:-2}),this.appendVisual(this._gridLines)),t},e.prototype.createTicks=function(t){var e=this.options,o=this.lineBox(),i=e.labels.mirror,n=e.majorTicks.visible?e.majorUnit:0,r={vertical:e.vertical};function s(e,n,s){var a=e.length,p=Math.max(1,n.step);if(n.visible)for(var c=n.skip;c<a;c+=p)st(s)&&c%s==0||(r.tickX=i?o.x2:o.x2-n.size,r.tickY=i?o.y1-n.size:o.y1,r.position=e[c],t.append(Me(r,n)))}s(this.getMajorTickPositions(),e.majorTicks),s(this.getMinorTickPositions(),e.minorTicks,n/e.minorUnit)},e.prototype.createLine=function(){var t=this.options,e=t.line,o=this.lineBox();if(e.width>0&&e.visible){var i=new S.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});i.moveTo(o.x1,o.y1).lineTo(o.x2,o.y2),t._alignLines&&k(i);var n=this._lineGroup=new S.drawing.Group;n.append(i),this.visual.append(n),this.createTicks(n)}},e.prototype.getActualTickSize=function(){var t=this.options,e=0;return t.majorTicks.visible&&t.minorTicks.visible?e=Math.max(t.majorTicks.size,t.minorTicks.size):t.majorTicks.visible?e=t.majorTicks.size:t.minorTicks.visible&&(e=t.minorTicks.size),e},e.prototype.createBackground=function(){var t=this.options,e=this.box,o=t.background;o&&(this._backgroundPath=S.drawing.Path.fromRect(e.toRect(),{fill:{color:o},stroke:null}),this.visual.append(this._backgroundPath))},e.prototype.createPlotBands=function(){var t=this,e=this.options,o=e.plotBands||[],i=e.vertical,n=this.plotArea;if(0!==o.length){for(var r=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),s=Y(this.pane.axes,(function(e){return e.options.vertical!==t.options.vertical}))[0],a=0;a<o.length;a++){var p=o[a],c=void 0,u=void 0,h=p.label,d=void 0;if(i?(c=(s||n.axisX).lineBox(),u=t.getSlot(p.from,p.to,!0)):(c=t.getSlot(p.from,p.to,!0),u=(s||n.axisY).lineBox()),h&&(h.vAlign=h.position||l,d=t.createPlotBandLabel(h,p,new Ft(c.x1,u.y1,c.x2,u.y2))),0!==c.width()&&0!==u.height()){var f=new S.geometry.Rect([c.x1,u.y1],[c.width(),u.height()]),y=S.drawing.Path.fromRect(f,{fill:{color:p.color,opacity:p.opacity},stroke:null});r.append(y),d&&r.append(d)}}this.appendVisual(r)}},e.prototype.createPlotBandLabel=function(t,e,o){if(!1===t.visible)return null;var i,n=t.text;if(st(t)&&t.visible){var r=H(t);r?n=r({text:n,item:e}):t.format&&(n=this.chartService.format.auto(t.format,n)),t.color||(t.color=this.options.labels.color)}return(i=new ue(n,t)).reflow(o),i.renderVisual(),i.visual},e.prototype.createGridLines=function(t){var e=this.options,o=e.minorGridLines,i=e.majorGridLines,n=e.minorUnit,r=e.vertical,s=t.options.line.visible,a=i.visible?e.majorUnit:0,p=t.lineBox(),c=p[r?"y1":"x1"],u={lineStart:p[r?"x1":"y1"],lineEnd:p[r?"x2":"y2"],vertical:r},l=[],h=this.gridLinesVisual();function d(t,e,o){var i=t.length,n=Math.max(1,e.step);if(e.visible)for(var r=e.skip;r<i;r+=n){var a=gt(t[r]);Q(a,l)||r%o==0||s&&c===a||(u.position=a,h.append(je(u,e)),l.push(a))}}return d(this.getMajorTickPositions(),i),d(this.getMinorTickPositions(),o,a/n),h.children},e.prototype.reflow=function(t){for(var e=this.options,o=this.labels,i=this.title,n=e.vertical,r=o.length,s=n?"width":"height",a=i?i.box[s]():0,p=this.getActualTickSize()+e.margin+a,c=((this.getRoot()||{}).box||t)[s](),u=0,l=0;l<r;l++){var h=o[l].box[s]();h+p<=c&&(u=Math.max(u,h))}this.box=n?new Ft(t.x1,t.y1,t.x1+u+p,t.y2):new Ft(t.x1,t.y1,t.x2,t.y1+u+p),this.arrangeTitle(),this.arrangeLabels(),this.arrangeNotes()},e.prototype.getLabelsTickPositions=function(){return this.getMajorTickPositions()},e.prototype.labelTickIndex=function(t){return t.index},e.prototype.arrangeLabels=function(){for(var t=this.options,e=this.labels,o=this.labelsBetweenTicks(),i=t.vertical,n=t.labels.mirror,r=this.getLabelsTickPositions(),s=0;s<e.length;s++){var a=e[s],p=this.labelTickIndex(a),c=i?a.box.height():a.box.width(),u=r[p],l=r[p+1],h=void 0,d=void 0;if(i){if(o)h=u+(l-u)/2-c/2;else h=u-c/2;d=h}else o?(h=u,d=l):d=(h=u-c/2)+c;this.positionLabel(a,n,h,d)}},e.prototype.positionLabel=function(t,e,o,i){void 0===i&&(i=o);var n,r=this.options,a=r.vertical,p=this.lineBox(),c=this.getActualTickSize()+r.margin;if(a){var u=p.x2;e?(u+=c,t.options.rotationOrigin=l):(u-=c+t.box.width(),t.options.rotationOrigin=f),n=t.box.move(u,o)}else{var h=p.y1;e?(h-=c+t.box.height(),t.options.rotationOrigin=s):(h+=c,t.options.rotationOrigin=y),n=new Ft(o,h,i,h+t.box.height())}t.reflow(n)},e.prototype.autoRotateLabelAngle=function(t,e){return t.width()<e?0:t.height()>e?-90:-45},e.prototype.autoRotateLabels=function(){if(!this.options.autoRotateLabels||this.options.vertical)return!1;for(var t=this.getMajorTickPositions(),e=this.labels,o=Math.min(e.length,t.length-1),i=0,n=0;n<o;n++){var r=Math.abs(t[n+1]-t[n]),s=e[n].box,a=this.autoRotateLabelAngle(s,r);if(0!==a&&(i=a),-90===i)break}if(0!==i){for(var p=0;p<e.length;p++)e[p].options.rotation=i,e[p].reflow(new Ft);return!0}},e.prototype.arrangeTitle=function(){var t=this.options,e=this.title,o=t.labels.mirror,i=t.vertical;e&&(i?(e.options.align=o?f:l,e.options.vAlign=e.options.position):(e.options.align=e.options.position,e.options.vAlign=o?y:s),e.reflow(this.box))},e.prototype.arrangeNotes=function(){for(var t=0;t<this.notes.length;t++){var e=this.notes[t],o=e.options.value,i=void 0;st(o)?(this.shouldRenderNote(o)?e.show():e.hide(),i=this.noteSlot(o)):e.hide(),e.reflow(i||this.lineBox())}},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.alignTo=function(t){var e=t.lineBox(),o=this.options.vertical,i=o?m:_;this.box.snapTo(e,i),o?this.box.shrink(0,this.lineBox().height()-e.height()):this.box.shrink(this.lineBox().width()-e.width(),0),this.box[i+1]-=this.lineBox()[i+1]-e[i+1],this.box[i+2]-=this.lineBox()[i+2]-e[i+2]},e.prototype.axisLabelText=function(t,e,o){var i,n=this,r=H(e),s=function(){return e.format?n.chartService.format.localeAuto(e.format,[t],e.culture):t};r?i=r(Object.assign({},o,{get text(){return s()},value:t,format:e.format,culture:e.culture})):i=s();return i},e.prototype.slot=function(t,e,o){var i=this.getSlot(t,e,o);if(i)return i.toRect()},e.prototype.contentBox=function(){var t=this.box.clone(),e=this.labels;if(e.length){var o=this.options.vertical?m:_;if(this.chartService.isPannable(o)){var i=this.maxLabelOffset();t[o+1]-=i.start,t[o+2]+=i.end}else{e[0].options.visible&&t.wrap(e[0].box);var n=e[e.length-1];n.options.visible&&t.wrap(n.box)}}return t},e.prototype.maxLabelOffset=function(){for(var t=this.options,e=t.vertical,o=t.reverse,i=this.labelsBetweenTicks(),n=this.getLabelsTickPositions(),r=e?m:_,s=this.labels,a=o?1:0,p=o?0:1,c=0,u=0,l=0;l<s.length;l++){var h=s[l],d=this.labelTickIndex(h),f=void 0,y=void 0;i?(f=n[d+a],y=n[d+p]):f=y=n[d],c=Math.max(c,f-h.box[r+1]),u=Math.max(u,h.box[r+2]-y)}return{start:c,end:u}},e.prototype.limitRange=function(t,e,o,i,n){var r=this.options;if(t<o&&n<0&&(!st(r.min)||r.min<=o)||i<e&&n>0&&(!st(r.max)||i<=r.max))return null;if(e<o&&n>0||i<t&&n<0)return{min:t,max:e};var s=e-t,a=t,p=e;return t<o&&n<0?(a=ft(t,o,i),p=ft(t+s,o+s,i)):e>i&&n>0&&(p=ft(e,o,i),a=ft(e-s,o,i-s)),{min:a,max:p}},e.prototype.valueRange=function(){return{min:this.seriesMin,max:this.seriesMax}},e.prototype.lineDir=function(){var t=this.options;return(t.vertical?-1:1)*(t.reverse?-1:1)},e.prototype.lineInfo=function(){var t=this.options.vertical,e=this.lineBox(),o=t?e.height():e.width(),i=t?m:_,n=this.lineDir(),r=i+(1===n?1:2).toString();return{axis:i,axisOrigin:r,axisDir:n,lineBox:e,lineSize:o,lineStart:e[r]}},e.prototype.pointOffset=function(t){var e=this.lineInfo(),o=e.axis,i=e.axisDir,n=e.axisOrigin,r=e.lineBox,s=e.lineSize;return(i>0?t[o]-r[n]:r[n]-t[o])/s},e.prototype.scaleToDelta=function(t,e){var o=ft(t,-.999,.999);return o>0?e*Math.min(1,o):e-e/(1+o)},e.prototype.labelsBetweenTicks=function(){return!this.options.justified},e.prototype.prepareUserOptions=function(){},e}(qt);wt(Ee,{labels:{visible:!0,rotation:0,mirror:!1,step:1,skip:0},line:{width:1,color:r,visible:!0},title:{visible:!0,position:a},majorTicks:{align:"outside",size:4,skip:0,step:1},minorTicks:{align:"outside",size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:"outside",minorTickType:"none",majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:r,skip:0,step:1},margin:5,visible:!0,reverse:!1,justified:!0,notes:{label:{text:""}},_alignLines:!0,_deferLabels:!1});var De=Ee,Be="days",Re="years",Le={years:31536e6,months:26784e5,weeks:6048e5,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1};function Ve(t,e){return t.getTime()-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset())}function Ne(t,e){return new Date(t.getTime()+e)}function ze(t){var e;return t instanceof Date?e=t:t&&(e=new Date(t)),e}function Fe(t,e){return 0===e&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function He(t,e,o,i){var n=t;if(t){var r=ze(t),s=r.getHours();o===Re?Fe(n=new Date(r.getFullYear()+e,0,1),0):"months"===o?Fe(n=new Date(r.getFullYear(),r.getMonth()+e,1),s):"weeks"===o?Fe(n=He(function(t,e){void 0===e&&(e=0);var o=0,i=t.getDay();if(!isNaN(i))for(;i!==e;)0===i?i=6:i--,o++;return Ne(t,864e5*-o)}(r,i),7*e,Be),s):o===Be?Fe(n=new Date(r.getFullYear(),r.getMonth(),r.getDate()+e),s):"hours"===o?n=function(t,e){var o=new Date(t);o.setMinutes(0,0,0);var i=6e4*(t.getTimezoneOffset()-o.getTimezoneOffset());return Ne(o,i+36e5*e)}(r,e):"minutes"===o?(n=Ne(r,6e4*e)).getSeconds()>0&&n.setSeconds(0):"seconds"===o?n=Ne(r,1e3*e):"milliseconds"===o&&(n=Ne(r,e)),"milliseconds"!==o&&n.getMilliseconds()>0&&n.setMilliseconds(0)}return n}function Ge(t,e,o){return He(ze(t),0,e,o)}function Ue(t,e,o){var i=ze(t);return i&&Ge(i,e,o).getTime()===i.getTime()?i:He(i,1,e,o)}function We(t,e){return t&&e?t.getTime()-e.getTime():-1}function Ye(t,e){return t.getTime()-e}function Xe(t){if(b(t)){for(var e=[],o=0;o<t.length;o++)e.push(Xe(t[o]));return e}if(t)return ze(t).getTime()}function qe(t,e){return t&&e?Xe(t)===Xe(e):t===e}function Ze(t,e,o){return Ve(t,e)/Le[o]}function Qe(t,e,o,i){var n=ze(t),r=ze(e);return("months"===o?n.getMonth()-r.getMonth()+12*(n.getFullYear()-r.getFullYear())+Ze(n,new Date(n.getFullYear(),n.getMonth()),Be)/new Date(n.getFullYear(),n.getMonth()+1,0).getDate():o===Re?n.getFullYear()-r.getFullYear()+Qe(n,new Date(n.getFullYear(),0),"months",1)/12:o===Be||"weeks"===o?Ze(n,r,o):Ye(n,e)/Le[o])/i}function Ke(t,e,o){return o===Re?e.getFullYear()-t.getFullYear():"months"===o?12*Ke(t,e,Re)+e.getMonth()-t.getMonth():o===Be?Math.floor(Ye(e,t)/864e5):Math.floor(Ye(e,t)/Le[o])}function $e(t,e){return P(e)&&t.parseDate(e)||ze(e)}function Je(t,e){if(b(e)){for(var o=[],i=0;i<e.length;i++)o.push($e(t,e[i]));return o}return $e(t,e)}function to(t,e){return I(t.weekStartDay)?t.weekStartDay:e&&e.firstDay?e.firstDay():0}var eo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this._ticks={}},e.prototype.categoriesHash=function(){return""},e.prototype.clone=function(){var t=new e(Object.assign({},this.options,{categories:this.options.srcCategories}),this.chartService);return t.createLabels(),t},e.prototype.initUserOptions=function(t){var e=t.categories||[],o=st(t.min),i=st(t.max);if(t.srcCategories=t.categories=e,(o||i)&&e.length){var n,r=o?Math.floor(t.min):0;n=i?t.justified?Math.floor(t.max)+1:Math.ceil(t.max):e.length,t.categories=t.categories.slice(r,n)}return t},e.prototype.rangeIndices=function(){var t=this.options,e=t.categories.length||1;return{min:I(t.min)?t.min%1:0,max:I(t.max)&&t.max%1!=0&&t.max<this.totalRange().max?e-(1-t.max%1):e-(t.justified?1:0)}},e.prototype.totalRangeIndices=function(t){var e,o=this.options,i=I(o.min)?o.min:0;if(e=I(o.max)?o.max:I(o.min)?i+o.categories.length:this.totalRange().max||1,t){var n=this.totalRange();i=ft(i,0,n.max),e=ft(e,0,n.max)}return{min:i,max:e}},e.prototype.range=function(){var t=this.options;return{min:I(t.min)?t.min:0,max:I(t.max)?t.max:this.totalRange().max}},e.prototype.roundedRange=function(){return this.range()},e.prototype.totalRange=function(){var t=this.options;return{min:0,max:Math.max(this._seriesMax||0,t.srcCategories.length)-(t.justified?1:0)}},e.prototype.scaleOptions=function(){var t=this.rangeIndices(),e=t.min,o=t.max,i=this.lineBox();return{scale:(this.options.vertical?i.height():i.width())/(o-e||1)*(this.options.reverse?-1:1),box:i,min:e,max:o}},e.prototype.arrangeLabels=function(){t.prototype.arrangeLabels.call(this),this.hideOutOfRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){var t=this.box,e=this.labels;if(e.length>0){var o=this.options.vertical?m:_,i=t[o+1],n=t[o+2],r=e[0],s=dt(e);(r.box[o+1]>n||r.box[o+2]<i)&&(r.options.visible=!1),(s.box[o+1]>n||s.box[o+2]<i)&&(s.options.visible=!1)}},e.prototype.getMajorTickPositions=function(){return this.getTicks().majorTicks},e.prototype.getMinorTickPositions=function(){return this.getTicks().minorTicks},e.prototype.getLabelsTickPositions=function(){return this.getTicks().labelTicks},e.prototype.tickIndices=function(t){for(var e=this.rangeIndices(),o=e.min,i=e.max,n=Math.ceil(i),r=Math.floor(o),s=[];r<=n;)s.push(r),r+=t;return s},e.prototype.getTickPositions=function(t){for(var e=this.options,o=e.vertical,i=e.reverse,n=this.scaleOptions(),r=n.scale,s=n.box,a=n.min,p=s[(o?m:_)+(i?2:1)],c=this.tickIndices(t),u=[],l=0;l<c.length;l++)u.push(p+gt(r*(c[l]-a),3));return u},e.prototype.getTicks=function(){var t=this.options,e=this._ticks,o=this.rangeIndices(),i=this.lineBox(),n=i.getHash()+o.min+","+o.max+t.reverse+t.justified;if(e._hash!==n){var r=t.minorTicks.visible||t.minorGridLines.visible;e._hash=n,e.labelTicks=this.getTickPositions(1),e.majorTicks=this.filterOutOfRangePositions(e.labelTicks,i),e.minorTicks=r?this.filterOutOfRangePositions(this.getTickPositions(.5),i):[]}return e},e.prototype.filterOutOfRangePositions=function(t,e){if(!t.length)return t;for(var o=this.options.vertical?m:_,i=function(t){return e[o+1]<=t&&t<=e[o+2]},n=t.length-1,r=0;!i(t[r])&&r<=n;)r++;for(var s=n;!i(t[s])&&s>=0;)s--;return t.slice(r,s+1)},e.prototype.lineInfo=function(){var t=this.options,e=t.vertical,o=t.reverse,i=this.lineBox(),n=e?i.height():i.width(),r=e?m:_,s=o?-1:1,a=r+(1===s?1:2).toString();return{axis:r,axisOrigin:a,axisDir:s,lineBox:i,lineSize:n,lineStart:i[a]}},e.prototype.lineDir=function(){return this.options.reverse?-1:1},e.prototype.getSlot=function(t,e,o){var i=this.options,n=i.reverse,r=i.justified,s=this.scaleOptions(),a=s.scale,p=s.box,c=s.min,u=this.lineInfo(),l=u.axis,h=u.lineStart,d=p.clone(),f=!st(e),y=mt(t,0),v=mt(e,y);v=Math.max(v-1,y);var g=h+(y-c)*a,_=h+((v=Math.max(y,v))+1-c)*a;return f&&r&&(_=g),o&&(g=ft(g,p[l+1],p[l+2]),_=ft(_,p[l+1],p[l+2])),d[l+1]=n?_:g,d[l+2]=n?g:_,d},e.prototype.limitSlot=function(t){var e=this.options.vertical?m:_,o=this.lineBox(),i=t.clone();return i[e+1]=ft(t[e+1],o[e+1],o[e+2]),i[e+2]=ft(t[e+2],o[e+1],o[e+2]),i},e.prototype.slot=function(e,o,i){var n=Math.floor(this.options.min||0),r=e,s=o;return"string"==typeof r?r=this.categoryIndex(r):I(r)&&(r-=n),"string"==typeof s?s=this.categoryIndex(s):I(s)&&(s-=n),t.prototype.slot.call(this,r,s,i)},e.prototype.pointCategoryIndex=function(t){var e=this.options,o=e.reverse,i=e.justified,n=e.vertical?m:_,r=this.scaleOptions(),s=r.scale,a=r.box,p=r.min,c=r.max,u=o?c:p,l=a[n+1],h=a[n+2],d=t[n];if(d<l||d>h)return null;var f=u+(d-l)/s,y=f%1;return i?f=Math.round(f):0===y&&f>0&&f--,Math.floor(f)},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.options.categories[e]},e.prototype.categoryIndex=function(t){return this.totalIndex(t)-Math.floor(this.options.min||0)},e.prototype.categoryAt=function(t,e){var o=this.options;return(e?o.srcCategories:o.categories)[t]},e.prototype.categoriesCount=function(){return(this.options.categories||[]).length},e.prototype.translateRange=function(t){var e=this.options,o=this.lineBox(),i=e.vertical?o.height():o.width(),n=e.categories.length,r=gt(t/(i/n),10);return{min:r,max:n+r}},e.prototype.scaleRange=function(t,e){var o=Math.abs(this.pointOffset(e)),i=this.totalRangeIndices(),n=i.max-i.min,r=this.scaleToDelta(t,n),s=o*r,a=(1-o)*r,p=i.min+s,c=i.max-a;return c-p<.1&&(c=p+.1),{min:p,max:c}},e.prototype.zoomRange=function(t,e){var o=this.totalRange(),i=o.min,n=o.max,r=this.scaleRange(t,e);return{min:ft(r.min,i,n),max:ft(r.max,i,n)}},e.prototype.labelsCount=function(){var t=this.labelsRange();return t.max-t.min},e.prototype.labelsRange=function(){var t=this.options,e=t.justified,o=t.labels,i=this.totalRangeIndices(!0),n=i.min,r=i.max,s=Math.floor(n);return e?(n=Math.ceil(n),r=Math.floor(r)):(n=Math.floor(n),r=Math.ceil(r)),{min:(n>o.skip?o.skip+o.step*Math.ceil((n-o.skip)/o.step):o.skip)-s,max:(t.categories.length?r+(e?1:0):0)-s}},e.prototype.createAxisLabel=function(t,e,o){var i=this.options,n=i.dataItems?i.dataItems[t]:null,r=mt(i.categories[t],"");o.dataItem=n;var s=this.axisLabelText(r,e,o);return new fe(r,s,t,n,e)},e.prototype.shouldRenderNote=function(t){var e=this.totalRangeIndices();return Math.floor(e.min)<=t&&t<=Math.ceil(e.max)},e.prototype.noteSlot=function(t){var e=this.options,o=t-Math.floor(e.min||0);return this.getSlot(o)},e.prototype.arrangeNotes=function(){t.prototype.arrangeNotes.call(this),this.hideOutOfRangeNotes()},e.prototype.hideOutOfRangeNotes=function(){var t=this.notes,e=this.box;if(t&&t.length)for(var o=this.options.vertical?m:_,i=e[o+1],n=e[o+2],r=0;r<t.length;r++){var s=t[r];s.box&&(n<s.box[o+1]||s.box[o+2]<i)&&s.hide()}},e.prototype.pan=function(t){var e=this.totalRangeIndices(!0),o=this.scaleOptions().scale,i=gt(t/o,10),n=this.totalRange(),r=e.min+i,s=e.max+i;return this.limitRange(r,s,0,n.max,i)},e.prototype.pointsRange=function(t,e){var o=this.options,i=o.reverse,n=o.vertical?m:_,r=this.totalRangeIndices(!0),s=this.scaleOptions(),a=s.scale,p=s.box[n+(i?2:1)],c=t[n]-p,u=e[n]-p,l=r.min+c/a,h=r.min+u/a,d=Math.min(l,h),f=Math.max(l,h);if(f-d>=.01)return{min:d,max:f}},e.prototype.valueRange=function(){return this.range()},e.prototype.totalIndex=function(t){var e=this.options;return this._categoriesMap?this._categoriesMap.get(t):function(t,e){if(t instanceof Date){for(var o=e.length,i=0;i<o;i++)if(qe(e[i],t))return i;return-1}return e.indexOf(t)}(t,e.srcCategories)},e.prototype.currentRangeIndices=function(){var t=this.options,e=0;return I(t.min)&&(e=Math.floor(t.min)),{min:e,max:I(t.max)?t.justified?Math.floor(t.max):Math.ceil(t.max)-1:this.totalCount()-1}},e.prototype.mapCategories=function(){if(!this._categoriesMap)for(var t=this._categoriesMap=new Z,e=this.options.srcCategories,o=0;o<e.length;o++)t.set(e[o],o)},e.prototype.totalCount=function(){return Math.max(this.options.srcCategories.length,this._seriesMax||0)},e}(De);wt(eo,{type:"category",vertical:!1,majorGridLines:{visible:!1,width:1,color:r},labels:{zIndex:1},justified:!1,_deferLabels:!0});var oo=eo,io={milliseconds:"HH:mm:ss.fff",seconds:"HH:mm:ss",minutes:"HH:mm",hours:"HH:mm",days:"M/d",weeks:"M/d",months:"MMM 'yy",years:"yyyy"},no=["milliseconds","seconds","minutes","hours",Be,"weeks","months",Re];function ro(t){var e=t._range;return e||((e=t._range=Ct(t)).min=ze(e.min),e.max=ze(e.max)),e}var so=function(t){this.options=t};so.prototype.displayIndices=function(){return{min:0,max:1}},so.prototype.displayRange=function(){return{}},so.prototype.total=function(){return{}},so.prototype.valueRange=function(){return{}},so.prototype.valueIndex=function(){return-1},so.prototype.values=function(){return[]},so.prototype.totalIndex=function(){return-1},so.prototype.valuesCount=function(){return 0},so.prototype.totalCount=function(){return 0},so.prototype.dateAt=function(){return null};var ao=function(t,e,o){this.options=o,o.baseUnitStep=o.baseUnitStep||1;var i=o.roundToBaseUnit,n=o.justified;this.start=He(t,0,o.baseUnit,o.weekStartDay);var r=this.roundToTotalStep(e),s=!n&&qe(e,r)&&!o.justifyEnd;this.end=this.roundToTotalStep(e,!n,s?1:0);var a=o.min||t;this.valueStart=this.roundToTotalStep(a),this.displayStart=i?this.valueStart:a;var p=o.max;if(p){var c=!n&&qe(p,this.roundToTotalStep(p))?-1:0;this.valueEnd=this.roundToTotalStep(p,!1,c),this.displayEnd=i?this.roundToTotalStep(p,!n):o.max}else this.valueEnd=r,this.displayEnd=i||s?this.end:e;this.valueEnd<this.valueStart&&(this.valueEnd=this.valueStart),this.displayEnd<=this.displayStart&&(this.displayEnd=this.roundToTotalStep(this.displayStart,!1,1))};function po(t,e,o){for(var i,n,r,s=ro(t.categories),a=(t.max||s.max)-(t.min||s.min),p=t.autoBaseUnitSteps,c=t.maxDateGroups,u="fit"===t.baseUnit,l=e?no.indexOf(e):0,h=u?no[l++]:t.baseUnit,d=a/Le[h],f=d;!n||d>=c;){i=i||p[h].slice(0);do{r=i.shift()}while(r&&e===h&&r<o);if(r)d=f/(n=r);else{if(h===dt(no)){n=Math.ceil(f/c);break}if(!u){d>c&&(n=Math.ceil(f/c));break}h=no[l++]||dt(no),f=a/Le[h],i=null}}t.baseUnitStep=n,t.baseUnit=h}function co(t){var e=(t.baseUnit||"").toLowerCase();return"fit"!==e&&!Q(e,no)&&function(t){for(var e,o,i=t.categories,n=st(i)?i.length:0,r=h,s=0;s<n;s++){var a=i[s];if(a&&e){var p=Ve(a,e);p>0&&(o=(r=Math.min(r,p))>=31536e6?Re:r>=24192e5?"months":r>=6048e5?"weeks":r>=864e5?Be:r>=36e5?"hours":r>=6e4?"minutes":"seconds")}e=a}t.baseUnit=o||Be}(t),"fit"!==e&&"auto"!==t.baseUnitStep||po(t),t}ao.prototype.displayRange=function(){return{min:this.displayStart,max:this.displayEnd}},ao.prototype.displayIndices=function(){if(!this._indices){var t=this.options,e=t.baseUnit,o=t.baseUnitStep,i=Qe(this.displayStart,this.valueStart,e,o),n=Qe(this.displayEnd,this.valueStart,e,o);this._indices={min:i,max:n}}return this._indices},ao.prototype.total=function(){return{min:this.start,max:this.end}},ao.prototype.totalCount=function(){return this.totalIndex(this.end)+(this.options.justified?1:0)},ao.prototype.valueRange=function(){return{min:this.valueStart,max:this.valueEnd}},ao.prototype.valueIndex=function(t){var e=this.options;return Math.floor(Qe(t,this.valueStart,e.baseUnit,e.baseUnitStep))},ao.prototype.totalIndex=function(t){var e=this.options;return Math.floor(Qe(t,this.start,e.baseUnit,e.baseUnitStep))},ao.prototype.dateIndex=function(t){var e=this.options;return Qe(t,this.valueStart,e.baseUnit,e.baseUnitStep)},ao.prototype.valuesCount=function(){return this.valueIndex(this.valueEnd)+1},ao.prototype.values=function(){var t=this._values;if(!t){var e=this.options,o=this.valueRange();this._values=t=[];for(var i=o.min;i<=o.max;)t.push(i),i=He(i,e.baseUnitStep,e.baseUnit,e.weekStartDay)}return t},ao.prototype.dateAt=function(t,e){var o=this.options;return He(e?this.start:this.valueStart,o.baseUnitStep*t,o.baseUnit,o.weekStartDay)},ao.prototype.roundToTotalStep=function(t,e,o){var i=this.options,n=i.baseUnit,r=i.baseUnitStep,s=i.weekStartDay,a=this.start,p=Qe(t,a,n,r),c=e?Math.ceil(p):Math.floor(p);return o&&(c+=o),He(a,c*r,n,s)};var uo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){var t=new e(Object.assign({},this.options),this.chartService);return t.createLabels(),t},e.prototype.categoriesHash=function(){var t=this.dataRange.total().min;return this.options.baseUnit+this.options.baseUnitStep+t},e.prototype.initUserOptions=function(t){return t},e.prototype.initFields=function(){t.prototype.initFields.call(this);var e=this.chartService,o=e.intl,i=this.options,n=i.categories||[];if(n._parsed||((n=Je(o,n))._parsed=!0),i=j({roundToBaseUnit:!0},i,{categories:n,min:$e(o,i.min),max:$e(o,i.max),weekStartDay:to(i,o)}),e.panning&&e.isPannable(i.vertical?m:_)&&(i.roundToBaseUnit=!1),i.userSetBaseUnit=i.userSetBaseUnit||i.baseUnit,i.userSetBaseUnitStep=i.userSetBaseUnitStep||i.baseUnitStep,this.options=i,i.srcCategories=n,n.length>0){var r=ro(n),s=i.maxDivisions;if(this.dataRange=new ao(r.min,r.max,co(i)),s){var a=this.dataRange.displayRange(),p=Object.assign({},i,{justified:!0,roundToBaseUnit:!1,baseUnit:"fit",min:a.min,max:a.max,maxDateGroups:s}),c=this.dataRange.options;po(p,c.baseUnit,c.baseUnitStep),this.divisionRange=new ao(r.min,r.max,p)}else this.divisionRange=this.dataRange}else i.baseUnit=i.baseUnit||Be,this.dataRange=this.divisionRange=new so(i);this.rangeLabels=[]},e.prototype.tickIndices=function(e){var o=this.dataRange,i=this.divisionRange,n=i.valuesCount();if(!this.options.maxDivisions||!n)return t.prototype.tickIndices.call(this,e);var r=[],s=i.values(),a=0;this.options.justified||(s=s.concat(i.dateAt(n)),a=.5);for(var p=0;p<s.length;p++)if(r.push(o.dateIndex(s[p])+a),1!==e&&p>=1){var c=r.length-1;r.splice(p,0,r[c-1]+(r[c]-r[c-1])*e)}return r},e.prototype.shouldRenderNote=function(t){var e=this.range(),o=this.options.categories||[];return We(t,e.min)>=0&&We(t,e.max)<=0&&o.length},e.prototype.parseNoteValue=function(t){return $e(this.chartService.intl,t)},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.translateRange=function(t){var e=this.options,o=e.baseUnit,i=e.weekStartDay,n=e.vertical,r=this.lineBox(),s=n?r.height():r.width(),a=this.range(),p=s/(a.max-a.min),c=gt(t/p,10);if(a.min&&a.max){var u=Ne(e.min||a.min,c),l=Ne(e.max||a.max,c);a={min:He(u,0,o,i),max:He(l,0,o,i)}}return a},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.divisionRange.valuesCount()}},e.prototype.pan=function(t){if(this.isEmpty())return null;var e=this.options,o=this.lineBox(),i=e.vertical?o.height():o.width(),n=this.dataRange.displayRange(),r=n.min,s=n.max,a=this.dataRange.total(),p=gt(t/(i/(s-r)),10)*(e.reverse?-1:1),c=Ne(r,p),u=Ne(s,p),l=this.limitRange(Xe(c),Xe(u),Xe(a.min),Xe(a.max),p);return l?(l.min=ze(l.min),l.max=ze(l.max),l.baseUnit=e.baseUnit,l.baseUnitStep=e.baseUnitStep||1,l.userSetBaseUnit=e.userSetBaseUnit,l.userSetBaseUnitStep=e.userSetBaseUnitStep,l):void 0},e.prototype.pointsRange=function(e,o){if(this.isEmpty())return null;var i=t.prototype.pointsRange.call(this,e,o),n=this.dataRange.displayRange(),r=this.dataRange.displayIndices(),s=Ye(n.max,n.min)/(r.max-r.min),a=this.options;return{min:Ne(n.min,i.min*s),max:Ne(n.min,i.max*s),baseUnit:a.userSetBaseUnit||a.baseUnit,baseUnitStep:a.userSetBaseUnitStep||a.baseUnitStep}},e.prototype.scaleRange=function(t,e){if(this.isEmpty())return{};var o=this.options,i="fit"===o.userSetBaseUnit,n=this.dataRange.total(),r=this.dataRange.displayRange(),s=r.min,a=r.max,p=Math.abs(this.pointOffset(e)),c=a-s,u=this.scaleToDelta(t,c),l=Math.round(p*u),h=Math.round((1-p)*u),d=this.dataRange.options.baseUnit,f=new Date(s.getTime()+l),y=new Date(a.getTime()-h);if(i){var v,g,_=o.autoBaseUnitSteps,m=o.maxDateGroups,b=dt(_[d])*m*Le[d],x=Ye(a,s),w=Ye(y,f),C=no.indexOf(d);if(w<Le[d]&&"milliseconds"!==d)d=no[C-1],f=Ne(s,g=(x-(m-1)*(v=dt(_[d]))*Le[d])/2),y=Ne(a,-g);else if(w>b&&d!==Re){var S=0;do{C++,d=no[C],S=0,g=2*Le[d];do{v=_[d][S],S++}while(S<_[d].length&&g*v<x)}while(d!==Re&&g*v<x);(g=(g*v-x)/2)>0&&(f=Ne(s,-g),y=Ne(a,g),f=Ne(f,ft(y,n.min,n.max)-y),y=Ne(y,ft(f,n.min,n.max)-f))}}return f&&y&&Ye(y,f)>0?{min:f,max:y,baseUnit:o.userSetBaseUnit||o.baseUnit,baseUnitStep:o.userSetBaseUnitStep||o.baseUnitStep}:void 0},e.prototype.zoomRange=function(t,e){var o=this.dataRange.total(),i=this.scaleRange(t,e);return i&&(i.min<o.min&&(i.min=o.min),i.max>o.max&&(i.max=o.max)),i},e.prototype.range=function(){return this.dataRange.displayRange()},e.prototype.createLabels=function(){t.prototype.createLabels.call(this),this.createRangeLabels()},e.prototype.clearLabels=function(){t.prototype.clearLabels.call(this),this.rangeLabels=[]},e.prototype.arrangeLabels=function(){this.arrangeRangeLabels(),t.prototype.arrangeLabels.call(this)},e.prototype.arrangeRangeLabels=function(){var t=this.options,e=this.rangeLabels;if(0!==e.length){var o=this.lineBox(),i=t.vertical,n=t.rangeLabels.mirror||t.labels.mirror,r=e[0];if(r){var s=i?o.y1-r.box.height()/2:o.x1;this.positionLabel(r,n,s)}var a=e[1];if(a){var p=i?o.y2-a.box.height()/2:o.x2;this.positionLabel(a,n,p)}}},e.prototype.autoRotateLabels=function(){t.prototype.autoRotateLabels.call(this),this.autoRotateRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){t.prototype.hideOutOfRangeLabels.call(this),this.hideOverlappingLabels()},e.prototype.hideOverlappingLabels=function(){var t=this.rangeLabels,e=this.labels;if(0!==t.length){var o=t[0];if(o&&o.options.visible)for(var i=0;i<e.length;i++){if(!s(o,e[i]))break}var n=t[1];if(n&&n.options.visible)for(var r=e.length-1;r>0;--r){if(!s(n,e[r]))break}}function s(t,e){return!(e.options.visible&&!e.box.overlaps(t.box))&&(e.options.visible=!1,!0)}},e.prototype.contentBox=function(){for(var e=t.prototype.contentBox.call(this),o=this.rangeLabels,i=0;i<o.length;i++){var n=o[i];n.options.visible&&e.wrap(n.box)}return e},e.prototype.createAxisLabel=function(t,e,o){void 0===o&&(o={});var i=this.options,n=i.dataItems&&!i.maxDivisions?i.dataItems[t]:null,r=this.divisionRange.dateAt(t),s=e.dateFormats[this.divisionRange.options.baseUnit];e.format=e.format||s,o.dataItem=n;var a=this.axisLabelText(r,e,o);if(a)return new fe(r,a,t,n,e)},e.prototype.createRangeLabels=function(){var t=this,e=this.divisionRange,o=e.displayStart,i=e.displayEnd,n=this.options,r=Object.assign({},n.labels,n.rangeLabels,{align:a,zIndex:n.zIndex});if(!0===r.visible){this.normalizeLabelRotation(r),r.alignRotation=a,"auto"===r.rotation&&(r.rotation=0,n.autoRotateRangeLabels=!0);var s=r.dateFormats[this.divisionRange.options.baseUnit];r.format=r.format||s;var p=function(e,o,i){if(i){var n=new fe(o,i,e,null,r);t.append(n),t.rangeLabels.push(n)}};p(0,o,this.axisLabelText(o,r,{index:0,count:2})),p(1,i,this.axisLabelText(i,r,{index:1,count:2}))}},e.prototype.autoRotateRangeLabels=function(){var t=this,e=this.rangeLabels;if(this.options.autoRotateRangeLabels&&!this.options.vertical&&2===e.length){var o=function(e,o,i){var n=2*Math.abs(o[i+1]-o[i]),r=t.autoRotateLabelAngle(e.box,n);0!==r&&(e.options.rotation=r,e.reflow(new Ft))},i=this.getMajorTickPositions();o(e[0],i,0),o(e[1],i,i.length-2)}},e.prototype.categoryIndex=function(t){return this.dataRange.valueIndex(t)},e.prototype.slot=function(t,e,o){var i=this.dataRange,n=t,r=e;n instanceof Date&&(n=i.dateIndex(n)),r instanceof Date&&(r=i.dateIndex(r));var s=this.getSlot(n,r,o);if(s)return s.toRect()},e.prototype.getSlot=function(e,o,i){var n=e,r=o;return"object"==typeof n&&(n=this.categoryIndex(n)),"object"==typeof r&&(r=this.categoryIndex(r)),t.prototype.getSlot.call(this,n,r,i)},e.prototype.valueRange=function(){var t=ro(this.options.srcCategories);return{min:ze(t.min),max:ze(t.max)}},e.prototype.categoryAt=function(t,e){return this.dataRange.dateAt(t,e)},e.prototype.categoriesCount=function(){return this.dataRange.valuesCount()},e.prototype.rangeIndices=function(){return this.dataRange.displayIndices()},e.prototype.labelsBetweenTicks=function(){return!this.divisionRange.options.justified},e.prototype.prepareUserOptions=function(){this.isEmpty()||(this.options.categories=this.dataRange.values())},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.dataRange.dateAt(e)},e.prototype.totalIndex=function(t){return this.dataRange.totalIndex(t)},e.prototype.currentRangeIndices=function(){var t=this.dataRange.valueRange();return{min:this.dataRange.totalIndex(t.min),max:this.dataRange.totalIndex(t.max)}},e.prototype.totalRange=function(){return this.dataRange.total()},e.prototype.totalCount=function(){return this.dataRange.totalCount()},e.prototype.isEmpty=function(){return!this.options.srcCategories.length},e.prototype.roundedRange=function(){if(!1!==this.options.roundToBaseUnit||this.isEmpty())return this.range();var t=this.options,e=ro(t.srcCategories);return new ao(e.min,e.max,Object.assign({},t,{justified:!1,roundToBaseUnit:!0,justifyEnd:t.justified})).displayRange()},e}(oo);wt(uo,{type:c,labels:{dateFormats:io},rangeLabels:{visible:!1},autoBaseUnitSteps:{milliseconds:[1,10,100],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});var lo=uo;function ho(t,e){return gt(Math.floor(t/e)*e,10)}function fo(t,e){return gt(Math.ceil(t/e)*e,10)}function yo(t){return Math.max(Math.min(t,3e5),-3e5)}var vo=Math.pow(10,-9),go=function(t){function e(e,o,i,n){t.call(this,Object.assign({},i,{seriesMin:e,seriesMax:o}),n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=function(t,e,o){var i=o.narrowRange,n=function(t,e,o){if(!t&&!e)return 0;var i;if(t>=0&&e>=0){var n=t===e?0:t;if(!1===o||!o&&(e-n)/e>.2)return 0;i=Math.max(0,n-(e-n)/2)}else i=t;return i}(t,e,i),r=function(t,e,o){if(!t&&!e)return 1;var i;if(t<=0&&e<=0){var n=t===e?0:e,r=Math.abs((n-t)/n);if(!1===o||!o&&r>.2)return 0;i=Math.min(0,n-(t-n)/2)}else i=e;return i}(t,e,i),s=Vt(n,r),a={majorUnit:s};!1!==o.roundToMajorUnit&&(n<0&&_o(n,s,1/3)&&(n-=s),r>0&&_o(r,s,1/3)&&(r+=s));return a.min=ho(n,s),a.max=fo(r,s),a}(t.seriesMin,t.seriesMax,t);return this.totalOptions=function(t,e){return{min:st(e.min)?Math.min(t.min,e.min):t.min,max:st(e.max)?Math.max(t.max,e.max):t.max,majorUnit:t.majorUnit}}(e,t),function(t,e){var o,i,n=e;if(e){!function(t,e){for(var o=0;o<e.length;o++){var i=e[o];null===t[i]&&(t[i]=void 0)}}(e,["min","max"]),o=st(e.min),i=st(e.max);var r=o||i;r&&e.min===e.max&&(e.min>0?e.min=0:e.max=1),e.majorUnit?(t.min=ho(t.min,e.majorUnit),t.max=fo(t.max,e.majorUnit)):r&&(n=j(t,e),t.majorUnit=Vt(n.min,n.max))}t.minorUnit=(n.majorUnit||t.majorUnit)/5;var s=j(t,n);s.min>=s.max&&(o&&!i?s.max=s.min+s.majorUnit:!o&&i&&(s.min=s.max-s.majorUnit));return s}(e,t)},e.prototype.initFields=function(){this.totalMin=this.totalOptions.min,this.totalMax=this.totalOptions.max,this.totalMajorUnit=this.totalOptions.majorUnit,this.seriesMin=this.options.seriesMin,this.seriesMax=this.options.seriesMax},e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return 0},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){if(0===t)return 1;var e=this.options,o=e.max-e.min;return Math.floor(gt(o/t,3))+1},e.prototype.getTickPositions=function(t,e){var o=this.options,i=this.lineInfo(),n=i.axisDir,r=i.axisOrigin,s=i.lineBox,a=t*(i.lineSize/(o.max-o.min)),p=this.getDivisions(t),c=[],u=s[r],l=0;e&&(l=e/t);for(var h=0;h<p;h++)h%l!=0&&c.push(gt(u,3)),u+=a*n;return c},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,o){void 0===o&&(o=!1);var i=this.options,n=this.lineInfo(),r=n.axis,s=n.axisDir,a=n.lineBox,p=n.lineSize,c=n.lineStart,u=s*(p/(i.max-i.min)),l=mt(t,e||0),h=mt(e,t||0);o&&(l=ft(l,i.min,i.max),h=ft(h,i.min,i.max));var d=Math.min(l,h)-i.min,f=Math.max(l,h)-i.min,y=new Ft(a.x1,a.y1,a.x1,a.y1);return y[r+1]=yo(c+u*(s>0?d:f)),y[r+2]=yo(c+u*(s>0?f:d)),y},e.prototype.getValue=function(t){var e=this.options,o=Number(e.max),i=Number(e.min),n=this.pointOffset(t);return n<0||n>1?null:gt(i+n*(o-i),10)},e.prototype.translateRange=function(t){var e=this.options,o=e.vertical,i=e.reverse,n=e.max,r=e.min,s=this.lineInfo().lineSize,a=gt(t/(s/(n-r)),10);return!o&&!i||o&&i||(a=-a),{min:r+a,max:n+a,offset:a}},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,o){var i=this.options,n=gt(i.min+t*i.majorUnit,10),r=this.axisLabelText(n,e,o);return new fe(n,r,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var o=this.getValue(t),i=this.getValue(e),n=Math.min(o,i),r=Math.max(o,i);if(this.isValidRange(n,r))return{min:n,max:r}},e.prototype.scaleRange=function(t,e){var o=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,n=this.scaleToDelta(t,i),r=o*n,s=(1-o)*n,a=gt(this.options.min+r,10),p=gt(this.options.max-s,10);return p-a<vo&&(p=a+vo),{min:a,max:p}},e.prototype.zoomRange=function(t,e){var o=this.totalMin,i=this.totalMax,n=this.scaleRange(t,e);return{min:ft(n.min,o,i),max:ft(n.max,o,i),narrowRange:!1}},e.prototype.isValidRange=function(t,e){return e-t>vo},e}(De);function _o(t,e,o){var i=gt(Math.abs(t%e),10);return 0===i||i>e*(1-o)}wt(go,{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:r},labels:{format:"#.####################"},zIndex:1});var mo=go,bo=function(t){function e(e,o,i,n){var r=ze(e),s=ze(o),a=n.intl,p=i||{};p=function(t,e,o){var i=o.min||t,n=o.max||e,r=o.baseUnit||(n&&i?function(t){var e="hours";t>=31536e6?e=Re:t>=26784e5?e="months":t>=6048e5?e="weeks":t>=864e5&&(e=Be);return e}(Ve(n,i)):"hours"),s=Le[r],a=o.weekStartDay||0,p=Ge(Xe(i)-1,r,a)||ze(n),c=Ue(Xe(n)+1,r,a),u=(o.majorUnit?o.majorUnit:void 0)||fo(Vt(p.getTime(),c.getTime()),s)/s,l=Ke(p,c,r),h=fo(l,u)-l,d=Math.floor(h/2),f=h-d;o.baseUnit||delete o.baseUnit;return o.baseUnit=o.baseUnit||r,o.min=o.min||He(p,-d,r,a),o.max=o.max||He(c,f,r,a),o.minorUnit=o.minorUnit||u/5,o.majorUnit=u,o}(r,s,p=j(p||{},{min:$e(a,p.min),max:$e(a,p.max),axisCrossingValue:Je(a,p.axisCrossingValues||p.axisCrossingValue),weekStartDay:to(p,a)})),t.call(this,p,n),this.intlService=a,this.seriesMin=r,this.seriesMax=s;var c=p.weekStartDay||0;this.totalMin=Xe(Ge(Xe(r)-1,p.baseUnit,c)),this.totalMax=Xe(Ue(Xe(s)+1,p.baseUnit,c))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){var e=this.options;return Math.floor(Ke(e.min,e.max,e.baseUnit)/t+1)},e.prototype.getTickPositions=function(t){for(var e=this.options,o=this.lineInfo(),i=o.axisDir,n=o.lineSize,r=o.lineStart,s=this.getDivisions(t),a=n/Ye(e.max,e.min),p=e.weekStartDay||0,c=[r],u=1;u<s;u++){var l=r+Ye(He(e.min,u*t,e.baseUnit,p),e.min)*a*i;c.push(gt(l,3))}return c},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,o){return mo.prototype.getSlot.call(this,$e(this.intlService,t),$e(this.intlService,e),o)},e.prototype.getValue=function(t){var e=mo.prototype.getValue.call(this,t);return null!==e?ze(e):null},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,o){var i=this.options,n=t*i.majorUnit,r=i.weekStartDay||0,s=i.min;n>0&&(s=He(s,n,i.baseUnit,r));var a=e.dateFormats[i.baseUnit];e.format=e.format||a;var p=this.axisLabelText(s,e,o);return new fe(s,p,t,null,e)},e.prototype.translateRange=function(t){var e=this.options,o=this.lineBox(),i=e.vertical,n=e.reverse,r=i?o.height():o.width(),s=this.range(),a=r/Ye(s.max,s.min),p=gt(t/a,10);return!i&&!n||i&&n||(p=-p),{min:Ne(e.min,p),max:Ne(e.max,p),offset:p}},e.prototype.shouldRenderNote=function(t){var e=this.range();return We(t,e.min)>=0&&We(t,e.max)<=0},e.prototype.pan=function(t){var e=this.translateRange(t,!0),o=this.limitRange(Xe(e.min),Xe(e.max),this.totalMin,this.totalMax,e.offset);if(o)return{min:ze(o.min),max:ze(o.max)}},e.prototype.pointsRange=function(t,e){var o=this.getValue(t),i=this.getValue(e),n=Math.min(o,i),r=Math.max(o,i);return{min:ze(n),max:ze(r)}},e.prototype.scaleRange=function(t,e){var o=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,n=this.scaleToDelta(t,i),r=o*n,s=(1-o)*n,a=ze(Xe(this.options.min)+r),p=ze(Xe(this.options.max)-s);return p-a<1e3&&(p=ze(Xe(a)+1e3)),{min:a,max:p}},e.prototype.zoomRange=function(t,e){var o=this.scaleRange(t,e);return{min:ze(ft(Xe(o.min),this.totalMin,this.totalMax)),max:ze(ft(Xe(o.max),this.totalMin,this.totalMax))}},e}(De);wt(bo,{type:c,majorGridLines:{visible:!0,width:1,color:r},labels:{dateFormats:io}});var xo=bo,wo=function(t){function e(e,o,i,n){var r=j({majorUnit:10,min:e,max:o},i),s=r.majorUnit,a=function(t,e){var o,i=gt(So(t,e),10)%1;o=t<=0?e:0!==i&&(i<.3||i>.9)?Math.pow(e,So(t,e)+.2):Math.pow(e,Math.ceil(So(t,e)));return o}(o,s),p=function(t,e,o){var i=o.majorUnit,n=t;t<=0?n=e<=1?Math.pow(i,-2):1:o.narrowRange||(n=Math.pow(i,Math.floor(So(t,i))));return n}(e,o,r),c=function(t,e,o,i){var n=o.min,r=o.max;st(o.axisCrossingValue)&&o.axisCrossingValue<=0&&Co();st(i.max)?i.max<=0&&Co():r=e;st(i.min)?i.min<=0&&Co():n=t;return{min:n,max:r}}(p,a,r,i);r.max=c.max,r.min=c.min,r.minorUnit=i.minorUnit||gt(s-1,10),t.call(this,r,n),this.totalMin=st(i.min)?Math.min(p,i.min):p,this.totalMax=st(i.max)?Math.max(a,i.max):a,this.logMin=gt(So(c.min,s),10),this.logMax=gt(So(c.max,s),10),this.seriesMin=e,this.seriesMax=o,this.createLabels()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return this.options.min},e.prototype.getSlot=function(t,e,o){var i=this.options,n=this.logMin,r=this.logMax,s=i.majorUnit,a=i.min,p=i.max,c=this.lineInfo(),u=c.axis,l=c.axisDir,h=c.lineBox,d=c.lineSize,f=c.lineStart,y=l*(d/(r-n)),v=mt(t,e||1),g=mt(e,t||1);if(v<=0||g<=0)return null;o&&(v=ft(v,a,p),g=ft(g,a,p)),v=So(v,s),g=So(g,s);var _=Math.min(v,g)-n,m=Math.max(v,g)-n,b=new Ft(h.x1,h.y1,h.x1,h.y1);return b[u+1]=yo(f+y*(l>0?_:m)),b[u+2]=yo(f+y*(l>0?m:_)),b},e.prototype.getValue=function(t){var e=this.options,o=this.logMin,i=this.logMax,n=e.majorUnit,r=this.lineInfo(),s=r.axis,a=r.axisDir,p=r.lineStart,c=r.lineSize,u=(i-o)/c,l=a*(t[s]-p);if(l<0||l>c)return null;var h=o+l*u;return gt(Math.pow(n,h),10)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.translateRange=function(t){var e=this.options,o=this.logMin,i=this.logMax,n=e.reverse,r=e.vertical,s=e.majorUnit,a=this.lineBox(),p=r?a.height():a.width(),c=gt(t/(p/(i-o)),10);return!r&&!n||r&&n||(c=-c),{min:Math.pow(s,o+c),max:Math.pow(s,i+c),offset:c}},e.prototype.labelsCount=function(){var t=Math.floor(this.logMax);return Math.floor(t-this.logMin)+1},e.prototype.getMajorTickPositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),{step:1,skip:0}),t},e.prototype.createTicks=function(t){var e=this.options,o=e.majorTicks,i=e.minorTicks,n=e.vertical,r=e.labels.mirror,s=this.lineBox(),a={vertical:n};function p(e,o){a.tickX=r?s.x2:s.x2-o.size,a.tickY=r?s.y1-o.size:s.y1,a.position=e,t.append(Me(a,o))}return o.visible&&this.traverseMajorTicksPositions(p,o),i.visible&&this.traverseMinorTicksPositions(p,i),[]},e.prototype.createGridLines=function(t){var e=this.options,o=e.minorGridLines,i=e.majorGridLines,n=e.vertical,r=t.lineBox(),s={lineStart:r[n?"x1":"y1"],lineEnd:r[n?"x2":"y2"],vertical:n},a=[],p=this.gridLinesVisual();function c(t,e){Q(t,a)||(s.position=t,p.append(je(s,e)),a.push(t))}return i.visible&&this.traverseMajorTicksPositions(c,i),o.visible&&this.traverseMinorTicksPositions(c,o),p.children},e.prototype.traverseMajorTicksPositions=function(t,e){for(var o=this.lineInfo(),i=o.lineStart,n=o.step,r=this.logMin,s=this.logMax,a=Math.ceil(r)+e.skip;a<=s;a+=e.step){t(gt(i+n*(a-r),10),e)}},e.prototype.traverseMinorTicksPositions=function(t,e){for(var o=this.options,i=o.min,n=o.max,r=o.minorUnit,s=o.majorUnit,a=this.lineInfo(),p=a.lineStart,c=a.step,u=this.logMin,l=this.logMax,h=Math.floor(u);h<l;h++)for(var d=this._minorIntervalOptions(h),f=e.skip;f<r;f+=e.step){var y=d.value+f*d.minorStep;if(y>n)break;if(y>=i)t(gt(p+c*(So(y,s)-u),10),e)}},e.prototype.createAxisLabel=function(t,e,o){var i=Math.ceil(this.logMin+t),n=Math.pow(this.options.majorUnit,i),r=this.axisLabelText(n,e,o);return new fe(n,r,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var o=this.getValue(t),i=this.getValue(e);return{min:Math.min(o,i),max:Math.max(o,i)}},e.prototype.scaleRange=function(t,e){var o=this.options.majorUnit,i=So(this.options.min,o),n=So(this.options.max,o),r=Math.abs(this.pointOffset(e)),s=n-i,a=this.scaleToDelta(t,s),p=Math.pow(o,i+r*a),c=Math.pow(o,n-(1-r)*a);return c-p<1e-6&&(c=p+1e-6),{min:p,max:c}},e.prototype.zoomRange=function(t,e){var o=this.scaleRange(t,e),i=this.totalMin,n=this.totalMax;return{min:ft(o.min,i,n),max:ft(o.max,i,n)}},e.prototype._minorIntervalOptions=function(t){var e=this.options,o=e.minorUnit,i=e.majorUnit,n=Math.pow(i,t);return{value:n,minorStep:(Math.pow(i,t+1)-n)/o}},e.prototype.lineInfo=function(){var e=t.prototype.lineInfo.call(this);return e.step=e.axisDir*(e.lineSize/(this.logMax-this.logMin)),e},e}(De);function Co(){throw new Error("Non positive values cannot be used for a logarithmic axis")}function So(t,e){return Math.log(t)/Math.log(e)}wt(wo,{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:r},zIndex:1,_deferLabels:!0});var ko=wo,Ao={createGridLines:function(t){var e,o,i=this.options,n=Math.abs(this.box.center().y-t.lineBox().y1),r=[],s=!1;return i.majorGridLines.visible&&(e=this.majorGridLineAngles(t),s=!0,r=this.renderMajorGridLines(e,n,i.majorGridLines)),i.minorGridLines.visible&&(o=this.minorGridLineAngles(t,s),nt(r,this.renderMinorGridLines(o,n,i.minorGridLines,t,s))),r},renderMajorGridLines:function(t,e,o){return this.renderGridLines(t,e,o)},renderMinorGridLines:function(t,e,o,i,n){var r=this.radiusCallback&&this.radiusCallback(e,i,n);return this.renderGridLines(t,e,o,r)},renderGridLines:function(t,e,o,i){for(var n={stroke:{width:o.width,color:o.color,dashType:o.dashType}},r=this.box.center(),s=new S.geometry.Circle([r.x,r.y],e),a=this.gridLinesVisual(),p=0;p<t.length;p++){var c=new S.drawing.Path(n);i&&(s.radius=i(t[p])),c.moveTo(s.center).lineTo(s.pointAt(t[p]+180)),a.append(c)}return a.children},gridLineAngles:function(t,e,o,i,n){var r=this,s=this.intervals(e,o,i,n),a=t.options,p=a.visible&&!1!==(a.line||{}).visible;return tt(s,(function(t){var e=r.intervalAngle(t);if(!p||90!==e)return e}))}},Io=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.range=function(){return{min:0,max:this.options.categories.length}},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.lineBox=function(){return this.box},e.prototype.reflowLabels=function(){for(var t=this.labels,e=this.options.labels,o=e.skip||0,i=e.step||1,n=new Ft,r=0;r<t.length;r++){t[r].reflow(n);var s=t[r].box;t[r].reflow(this.getSlot(o+r*i).adjacentBox(0,s.width(),s.height()))}},e.prototype.intervals=function(t,e,o,i){void 0===i&&(i=!1);for(var n=this.options,r=n.categories.length/t||1,s=360/r,a=o||1,p=[],c=0,u=e||0;u<r;u+=a)c=n.reverse?360-u*s:u*s,c=gt(c,3)%360,i&&Q(c,i)||p.push(c);return p},e.prototype.majorIntervals=function(){return this.intervals(1)},e.prototype.minorIntervals=function(){return this.intervals(.5)},e.prototype.intervalAngle=function(t){return(360+t+this.options.startAngle)%360},e.prototype.majorAngles=function(){var t=this;return tt(this.majorIntervals(),(function(e){return t.intervalAngle(e)}))},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,1,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var o=this.options,i=o.minorGridLines,n=o.majorGridLines,r=e?this.intervals(1,n.skip,n.step):null;return this.gridLineAngles(t,.5,i.skip,i.step,r)},e.prototype.radiusCallback=function(t,e,o){if(e.options.type!==n){var i=vt(360/(2*this.options.categories.length)),r=Math.cos(i)*t,s=this.majorAngles(),a=function(e){return!o&&Q(e,s)?t:r};return a}},e.prototype.createPlotBands=function(){for(var t=this.options.plotBands||[],e=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),o=0;o<t.length;o++){var i=t[o],n=this.plotBandSlot(i),r=this.getSlot(i.from),s=i.from-Math.floor(i.from);n.startAngle+=s*r.angle;var a=Math.ceil(i.to)-i.to;n.angle-=(a+s)*r.angle;var p=Yt.current.createRing(n,{fill:{color:i.color,opacity:i.opacity},stroke:{opacity:i.opacity}});e.append(p)}this.appendVisual(e)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to-1)},e.prototype.getSlot=function(t,e){var o=this.options,i=o.justified,n=this.box,r=this.majorAngles(),s=r.length,a=360/s,p=t;o.reverse&&!i&&(p=(p+1)%s);var c=r[p=ft(Math.floor(p),0,s-1)];i&&(c-=a/2)<0&&(c+=360);var u=a*(ft(Math.ceil(e||p),p,s-1)-p+1);return new Gt(n.center(),0,n.height()/2,c,u)},e.prototype.slot=function(t,e){var o=this.getSlot(t,e),i=o.startAngle+180,n=i+o.angle;return new S.geometry.Arc([o.center.x,o.center.y],{startAngle:i,endAngle:n,radiusX:o.radius,radiusY:o.radius})},e.prototype.pointCategoryIndex=function(t){for(var e=this.options.categories.length,o=null,i=0;i<e;i++){if(this.getSlot(i).containsPoint(t)){o=i;break}}return o},e}(oo);wt(Io,{startAngle:90,labels:{margin:V(10)},majorGridLines:{visible:!0},justified:!0}),j(Io.prototype,Ao);var Po=Io,Oo=function(t){function e(e,o){t.call(this,e,o);var i=this.options;i.minorUnit=i.minorUnit||i.majorUnit/2}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDivisions=function(t){return mo.prototype.getDivisions.call(this,t)-1},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.reflowLabels=function(){for(var t=this.options,e=this.labels,o=this.options.labels,i=o.skip||0,n=o.step||1,r=new Ft,s=this.intervals(t.majorUnit,i,n),a=0;a<e.length;a++){e[a].reflow(r);var p=e[a].box;e[a].reflow(this.getSlot(s[a]).adjacentBox(0,p.width(),p.height()))}},e.prototype.lineBox=function(){return this.box},e.prototype.intervals=function(t,e,o,i){void 0===i&&(i=!1);for(var n=this.options.min,r=this.getDivisions(t),s=[],a=o||1,p=e||0;p<r;p+=a){var c=(360+n+p*t)%360;i&&Q(c,i)||s.push(c)}return s},e.prototype.majorIntervals=function(){return this.intervals(this.options.majorUnit)},e.prototype.minorIntervals=function(){return this.intervals(this.options.minorUnit)},e.prototype.intervalAngle=function(t){return(540-t-this.options.startAngle)%360},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,this.options.majorUnit,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var o=this.options,i=o.minorGridLines,n=o.majorGridLines,r=e?this.intervals(o.majorUnit,n.skip,n.step):null;return this.gridLineAngles(t,o.minorUnit,i.skip,i.step,r)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to)},e.prototype.getSlot=function(t,e){var o=this.options,i=this.box,n=o.startAngle,r=ft(t,o.min,o.max),s=ft(e||r,r,o.max);if(o.reverse&&(r*=-1,s*=-1),(s=(540-s-n)%360)<(r=(540-r-n)%360)){var a=r;r=s,s=a}return new Gt(i.center(),0,i.height()/2,r,s-r)},e.prototype.slot=function(t,e){void 0===e&&(e=t);var o,i,n=this.options,r=360-n.startAngle,s=this.getSlot(t,e),a=Math.min(t,e),p=Math.max(t,e);return n.reverse?(o=a,i=p):(o=360-p,i=360-a),o=(o+r)%360,i=(i+r)%360,new S.geometry.Arc([s.center.x,s.center.y],{startAngle:o,endAngle:i,radiusX:s.radius,radiusY:s.radius})},e.prototype.getValue=function(t){var e=this.options,o=this.box.center(),i=t.x-o.x,n=t.y-o.y,r=Math.round(at(Math.atan2(n,i))),s=e.startAngle;return e.reverse||(r*=-1,s*=-1),(r+s+360)%360},e.prototype.valueRange=function(){return{min:0,max:2*Math.PI}},e}(De);wt(Oo,{type:"polar",startAngle:0,reverse:!1,majorUnit:60,min:0,max:360,labels:{margin:V(10)},majorGridLines:{color:r,visible:!0,width:1},minorGridLines:{color:"#aaa"}}),j(Oo.prototype,Ao,{createPlotBands:Po.prototype.createPlotBands,majorAngles:Po.prototype.majorAngles,range:mo.prototype.range,labelsCount:mo.prototype.labelsCount,createAxisLabel:mo.prototype.createAxisLabel});var To=Oo;function Mo(t,e){return 180-Math.abs(Math.abs(t-e)-180)}var jo={options:{majorGridLines:{visible:!0}},createPlotBands:function(){var t=this.options,e=t.majorGridLines.type,o=t.plotBands;void 0===o&&(o=[]);for(var i=this.plotArea.polarAxis,r=i.majorAngles(),s=i.box.center(),a=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),p=0;p<o.length;p++){var c=o[p],u={fill:{color:c.color,opacity:c.opacity},stroke:{opacity:c.opacity}},l=this.getSlot(c.from,c.to,!0),h=new Gt(s,s.y-l.y2,s.y-l.y1,0,360),d=void 0;d=e===n?Yt.current.createRing(h,u):S.drawing.Path.fromPoints(this.plotBandPoints(h,r),u).close(),a.append(d)}this.appendVisual(a)},plotBandPoints:function(t,e){for(var o=[],i=[],n=[t.center.x,t.center.y],r=new S.geometry.Circle(n,t.innerRadius),s=new S.geometry.Circle(n,t.radius),a=0;a<e.length;a++)o.push(r.pointAt(e[a]+180)),i.push(s.pointAt(e[a]+180));return o.reverse(),o.push(o[0]),i.push(i[0]),i.concat(o)},createGridLines:function(t){var e=this.options,o=this.radarMajorGridLinePositions(),i=t.majorAngles(),n=t.box.center(),r=[];if(e.majorGridLines.visible&&(r=this.renderGridLines(n,o,i,e.majorGridLines)),e.minorGridLines.visible){var s=this.radarMinorGridLinePositions();nt(r,this.renderGridLines(n,s,i,e.minorGridLines))}return r},renderGridLines:function(t,e,o,i){var r={stroke:{width:i.width,color:i.color,dashType:i.dashType}},s=i.skip;void 0===s&&(s=0);var a=i.step;void 0===a&&(a=0);for(var p=this.gridLinesVisual(),c=s;c<e.length;c+=a){var u=t.y-e[c];if(u>0){var l=new S.geometry.Circle([t.x,t.y],u);if(i.type===n)p.append(new S.drawing.Circle(l,r));else{for(var h=new S.drawing.Path(r),d=0;d<o.length;d++)h.lineTo(l.pointAt(o[d]+180));h.close(),p.append(h)}}}return p.children},getValue:function(t){var e=this.lineBox(),o=this.plotArea.polarAxis,i=o.majorAngles(),r=o.box.center(),s=t.distanceTo(r),a=s;if(this.options.majorGridLines.type!==n&&i.length>1){var p=t.x-r.x,c=t.y-r.y,u=(at(Math.atan2(c,p))+540)%360;i.sort((function(t,e){return Mo(t,u)-Mo(e,u)}));var l=90-Mo(i[0],i[1])/2,h=180-Mo(u,i[0])-l;a=s*(Math.sin(vt(h))/Math.sin(vt(l)))}return this.axisType().prototype.getValue.call(this,new Nt(e.x1,e.y2-a))}},Eo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.radarMinorGridLinePositions=function(){var t=this.options,e=0;return t.majorGridLines.visible&&(e=t.majorUnit),this.getTickPositions(t.minorUnit,e)},e.prototype.axisType=function(){return t},e}(mo);j(Eo.prototype,jo);var Do=Eo,Bo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),this.options.majorGridLines),t},e.prototype.radarMinorGridLinePositions=function(){var t=[];return this.traverseMinorTicksPositions((function(e){t.push(e)}),this.options.minorGridLines),t},e.prototype.axisType=function(){return t},e}(ko);j(Bo.prototype,jo);var Ro=Bo;function Lo(t){return t<=0?-1:1}var Vo=function(t){function e(e){t.call(this),this.closed=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.process=function(t){var e=t.slice(0),o=[],i=this.closed,n=e.length;if(n>2&&(this.removeDuplicates(0,e),n=e.length),n<2||2===n&&e[0].equals(e[1]))return o;var r,s,a=e[0],p=e[1],c=e[2];for(o.push(new S.geometry.Segment(a));a.equals(e[n-1]);)i=!0,e.pop(),n--;if(2===n){var u=this.tangent(a,p,_,m);return dt(o).controlOut(this.firstControlPoint(u,a,p,_,m)),o.push(new S.geometry.Segment(p,this.secondControlPoint(u,a,p,_,m))),o}if(i){a=e[n-1],p=e[0],c=e[1];var l=this.controlPoints(a,p,c);r=l[1],s=l[0]}else{var h=this.tangent(a,p,_,m);r=this.firstControlPoint(h,a,p,_,m)}for(var d=r,f=0;f<=n-3;f++)if(this.removeDuplicates(f,e),f+3<=(n=e.length)){a=e[f],p=e[f+1],c=e[f+2];var y=this.controlPoints(a,p,c);dt(o).controlOut(d),d=y[1];var v=y[0];o.push(new S.geometry.Segment(p,v))}if(i){a=e[n-2],p=e[n-1],c=e[0];var g=this.controlPoints(a,p,c);dt(o).controlOut(d),o.push(new S.geometry.Segment(p,g[0])),dt(o).controlOut(g[1]),o.push(new S.geometry.Segment(c,s))}else{var b=this.tangent(p,c,_,m);dt(o).controlOut(d),o.push(new S.geometry.Segment(c,this.secondControlPoint(b,p,c,_,m)))}return o},e.prototype.removeDuplicates=function(t,e){for(;e[t+1]&&(e[t].equals(e[t+1])||e[t+1].equals(e[t+2]));)e.splice(t+1,1)},e.prototype.invertAxis=function(t,e,o){var i=!1;if(t.x===e.x)i=!0;else if(e.x===o.x)(e.y<o.y&&t.y<=e.y||o.y<e.y&&e.y<=t.y)&&(i=!0);else{var n=this.lineFunction(t,e),r=this.calculateFunction(n,o.x);t.y<=e.y&&o.y<=r||e.y<=t.y&&o.y>=r||(i=!0)}return i},e.prototype.isLine=function(t,e,o){var i=this.lineFunction(t,e),n=this.calculateFunction(i,o.x);return t.x===e.x&&e.x===o.x||gt(n,1)===gt(o.y,1)},e.prototype.lineFunction=function(t,e){var o=(e.y-t.y)/(e.x-t.x);return[t.y-o*t.x,o]},e.prototype.controlPoints=function(t,e,o){var i,n=_,r=m,s=!1,a=!1;if(this.isLine(t,e,o))i=this.tangent(t,e,_,m);else{var p={x:this.isMonotonicByField(t,e,o,_),y:this.isMonotonicByField(t,e,o,m)};if(p.x&&p.y)i=this.tangent(t,o,_,m),s=!0;else if(this.invertAxis(t,e,o)&&(n=m,r=_),p[n])i=0;else i=.01*(o[r]<t[r]&&t[r]<=e[r]||t[r]<o[r]&&e[r]<=t[r]?Lo((o[r]-t[r])*(e[n]-t[n])):-Lo((o[n]-t[n])*(e[r]-t[r]))),a=!0}var c=this.secondControlPoint(i,t,e,n,r);if(a){var u=n;n=r,r=u}var l=this.firstControlPoint(i,e,o,n,r);return s&&(this.restrictControlPoint(t,e,c,i),this.restrictControlPoint(e,o,l,i)),[c,l]},e.prototype.restrictControlPoint=function(t,e,o,i){t.y<e.y?e.y<o.y?(o.x=t.x+(e.y-t.y)/i,o.y=e.y):o.y<t.y&&(o.x=e.x-(e.y-t.y)/i,o.y=t.y):o.y<e.y?(o.x=t.x-(t.y-e.y)/i,o.y=e.y):t.y<o.y&&(o.x=e.x+(t.y-e.y)/i,o.y=t.y)},e.prototype.tangent=function(t,e,o,i){var n,r=e[o]-t[o],s=e[i]-t[i];return n=0===r?0:s/r,n},e.prototype.isMonotonicByField=function(t,e,o,i){return o[i]>e[i]&&e[i]>t[i]||o[i]<e[i]&&e[i]<t[i]},e.prototype.firstControlPoint=function(t,e,o,i,n){var r=e[i],s=.333*(o[i]-r);return this.point(r+s,e[n]+s*t,i,n)},e.prototype.secondControlPoint=function(t,e,o,i,n){var r=e[i],s=o[i],a=.333*(s-r);return this.point(s-a,o[n]-a*t,i,n)},e.prototype.point=function(t,e,o,i){var n=new S.geometry.Point;return n[o]=t,n[i]=e,n},e.prototype.calculateFunction=function(t,e){for(var o=t.length,i=0,n=0;n<o;n++)i+=Math.pow(e,n)*t[n];return i},e}(S.Class),No=function(t){function e(e){t.call(this),this._axis=e,this.options=e.options}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this._axis,o=e.getCategory?e.getCategory(t):e.getValue(t);return o},e.prototype.slot=function(t,e,o){return void 0===o&&(o=!0),this._axis.slot(t,e,o)},e.prototype.range=function(){return this._axis.range()},e.prototype.valueRange=function(){return this._axis.valueRange()},e}(S.Class);function zo(t,e){for(var o=0;o<e.length;o++)if(e[o].options.name===t)return e[o].prepareUserOptions(),new No(e[o])}var Fo=function(t){this.visual=t.visual,this.chartsVisual=t.chartContainer.visual,this._pane=t};Fo.prototype.findAxisByName=function(t){return zo(t,this._pane.axes)};var Ho=Fo,Go=function(t){function e(e){t.call(this),this._plotArea=e,this.visual=e.visual,this.backgroundVisual=e._bgVisual}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class);function Uo(t){for(var e=t.length,o=0,i=0;i<e;i++){I(t[i])&&o++}return o}var Wo={min:function(t){for(var e=t.length,o=h,i=0;i<e;i++){var n=t[i];I(n)&&(o=Math.min(o,n))}return o===h?t[0]:o},max:function(t){for(var e=t.length,o=d,i=0;i<e;i++){var n=t[i];I(n)&&(o=Math.max(o,n))}return o===d?t[0]:o},sum:function(t){for(var e=t.length,o=0,i=0;i<e;i++){var n=t[i];I(n)&&(o+=n)}return o},sumOrNull:function(t){var e=null;return Uo(t)&&(e=Wo.sum(t)),e},count:function(t){for(var e=t.length,o=0,i=0;i<e;i++){var n=t[i];null!==n&&st(n)&&o++}return o},avg:function(t){var e=Uo(t),o=t[0];return e>0&&(o=Wo.sum(t)/e),o},first:function(t){for(var e=t.length,o=0;o<e;o++){var i=t[o];if(null!==i&&st(i))return i}return t[0]}},Yo=Wo;function Xo(t,e){return null===e?e:W(t)(e)}var qo=function(t){function e(){t.call(this),this._valueFields={},this._otherFields={},this._nullValue={},this._undefinedValue={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e,o){void 0===e&&(e=[v]),void 0===o&&(o={});for(var i=0;i<t.length;i++){var n=t[i];this._valueFields[n]=e,this._otherFields[n]=o,this._nullValue[n]=this._makeValue(e,null),this._undefinedValue[n]=this._makeValue(e,void 0)}},e.prototype.canonicalFields=function(t){return this.valueFields(t).concat(this.otherFields(t))},e.prototype.valueFields=function(t){return this._valueFields[t.type]||[v]},e.prototype.otherFields=function(t){return this._otherFields[t.type]||[v]},e.prototype.bindPoint=function(t,e,o){var i,n,r=t.data,s=st(o)?o:r[e],a={valueFields:{value:s}},p=this.valueFields(t),c=this._otherFields[t.type];if(null===s)n=this._nullValue[t.type];else if(st(s)){if(Array.isArray(s)){var u=s.slice(p.length);n=this._bindFromArray(s,p),i=this._bindFromArray(u,c)}else if("object"==typeof s){var l=this.sourceFields(t,p),h=this.sourceFields(t,c);n=this._bindFromObject(s,p,l),i=this._bindFromObject(s,c,h)}}else n=this._undefinedValue[t.type];return st(n)&&(1===p.length?a.valueFields.value=n[p[0]]:a.valueFields=n),a.fields=i||{},a},e.prototype._makeValue=function(t,e){for(var o={},i=t.length,n=0;n<i;n++){o[t[n]]=e}return o},e.prototype._bindFromArray=function(t,e){var o={};if(e)for(var i=Math.min(e.length,t.length),n=0;n<i;n++)o[e[n]]=t[n];return o},e.prototype._bindFromObject=function(t,e,o){void 0===o&&(o=e);var i={};if(e)for(var n=e.length,r=0;r<n;r++){var s=e[r],a=o[r];null!==a&&(i[s]=Xo(a,t))}return i},e.prototype.sourceFields=function(t,e){var o=[];if(e)for(var i=e.length,n=0;n<i;n++){var r=e[n],s=r===v?"field":r+"Field";o.push(null!==t[s]?t[s]||r:null)}return o},e}(S.Class);qo.current=new qo;var Zo=qo,Qo=/percent(?:\w*)\((\d+)\)/,Ko=new RegExp("^stddev(?:\\((\\d+(?:\\.\\d+)?)\\))?$"),$o=function(t){function e(e,o,i){t.call(this),this.initGlobalRanges(e,o,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initGlobalRanges=function(t,e,o){var i=e.data,n=Ko.exec(t);if(n){this.valueGetter=this.createValueGetter(e,o);var r=this.getAverage(i),s=this.getStandardDeviation(i,r,!1),a=n[1]?parseFloat(n[1]):1,p={low:r.value-s*a,high:r.value+s*a};this.globalRange=function(){return p}}else if(t.indexOf&&t.indexOf("stderr")>=0){this.valueGetter=this.createValueGetter(e,o);var c=this.getStandardError(i,this.getAverage(i));this.globalRange=function(t){return{low:t-c,high:t+c}}}},e.prototype.createValueGetter=function(t,e){var o,i=t.data,n=Zo.current,r=n.valueFields(t),s=st(i[0])?i[0]:{};if(b(s))o=W("["+(e?r.indexOf(e):0)+"]");else if(I(s))o=W();else if("object"==typeof s){o=W(n.sourceFields(t,r)[r.indexOf(e)])}return o},e.prototype.getErrorRange=function(t,e){var o,i,n;if(!st(e))return null;if(this.globalRange)return this.globalRange(t);if(b(e))o=t-e[0],i=t+e[1];else if(I(n=parseFloat(e)))o=t-n,i=t+n;else{if(!(n=Qo.exec(e)))throw new Error("Invalid ErrorBar value: "+e);var r=t*(parseFloat(n[1])/100);o=t-Math.abs(r),i=t+Math.abs(r)}return{low:o,high:i}},e.prototype.getStandardError=function(t,e){return this.getStandardDeviation(t,e,!0)/Math.sqrt(e.count)},e.prototype.getStandardDeviation=function(t,e,o){for(var i=t.length,n=o?e.count-1:e.count,r=0,s=0;s<i;s++){var a=this.valueGetter(t[s]);I(a)&&(r+=Math.pow(a-e.value,2))}return Math.sqrt(r/n)},e.prototype.getAverage=function(t){for(var e=t.length,o=0,i=0,n=0;n<e;n++){var r=this.valueGetter(t[n]);I(r)&&(o+=r,i++)}return{value:o/i,count:i}},e}(S.Class),Jo=S.support.browser||{},ti=Jo.msie?.001:0,ei="zero",oi="bar",ii="column",ni="line",ri="pie",si="verticalLine",ai=[oi,ii,"ohlc","candlestick","boxPlot","verticalBoxPlot","bullet","rangeColumn","rangeBar","waterfall","horizontalWaterfall"],pi="DOMMouseScroll mousewheel",ci=function(t){function e(e,o,i,n,r,s){t.call(this,s),this.low=e,this.high=o,this.isVertical=i,this.chart=n,this.series=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,o=this.options.endCaps,i=this.isVertical,n=this.getAxis().getSlot(this.low,this.high),r=t.center(),s=this.getCapsWidth(t,i),a=i?r.x:r.y,p=a-s,c=a+s;i?(e=[new Nt(r.x,n.y1),new Nt(r.x,n.y2)],o&&e.push(new Nt(p,n.y1),new Nt(c,n.y1),new Nt(p,n.y2),new Nt(c,n.y2)),this.box=new Ft(p,n.y1,c,n.y2)):(e=[new Nt(n.x1,r.y),new Nt(n.x2,r.y)],o&&e.push(new Nt(n.x1,p),new Nt(n.x1,c),new Nt(n.x2,p),new Nt(n.x2,c)),this.box=new Ft(n.x1,p,n.x2,c)),this.linePoints=e},e.prototype.getCapsWidth=function(t,e){var o=e?t.width():t.height();return Math.min(Math.floor(o/2),4)||4},e.prototype.createVisual=function(){var t=this,e=this.options,o=e.visual;o?this.visual=o({low:this.low,high:this.high,rect:this.box.toRect(),sender:this.getSender(),options:{endCaps:e.endCaps,color:e.color,line:e.line},createVisual:function(){t.createDefaultVisual();var e=t.visual;return delete t.visual,e}}):this.createDefaultVisual()},e.prototype.createDefaultVisual=function(){var e=this.options,o=this.linePoints,i={stroke:{color:e.color,width:e.line.width,dashType:e.line.dashType}};t.prototype.createVisual.call(this);for(var n=0;n<o.length;n+=2){var r=new S.drawing.Path(i).moveTo(o[n].x,o[n].y).lineTo(o[n+1].x,o[n+1].y);k(r),this.visual.append(r)}},e}(qt);wt(ci,{animation:{type:"fadeIn",delay:600},endCaps:!0,line:{width:2},zIndex:1});var ui=ci,li=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){return this.chart.seriesValueAxis(this.series)},e}(ui);function hi(t,e,o,i){void 0===o&&(o={}),void 0===i&&(i=!1);var n=o.defaults=o.defaults||{},r=o.depth=o.depth||0,s=!1;if(o.excluded=o.excluded||[],r>5)return null;for(var a in t)if(!Q(a,o.excluded)&&t.hasOwnProperty(a)){var p=t[a];T(p)?(s=!0,i||(t[a]=mt(p(e),n[a]))):E(p)&&(i||(o.defaults=n[a]),o.depth++,s=hi(p,e,o,i)||s,o.depth--)}return s}function di(t){for(var e=t.length,o=0,i=0;i<e;i++)o=Math.max(o,t[i].data.length);return o}var fi=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this.categoryAxis=e.seriesCategoryAxis(o.series[0]),this.valueAxisRanges={},this.points=[],this.categoryPoints=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.pointOptions=function(t,e){var o=this.seriesOptions[e];if(!o){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=o=j({},i,{vertical:!this.options.invertAxes},t)}return o},e.prototype.plotValue=function(t){if(!t)return 0;if(this.options.isStacked100&&I(t.value)){for(var e=t.categoryIx,o=this.categoryPoints[e],i=[],n=0,r=0;r<o.length;r++){var s=o[r];if(s){var a=t.series.stack,p=s.series.stack;if(a&&p&&a.group!==p.group)continue;I(s.value)&&(n+=Math.abs(s.value),i.push(Math.abs(s.value)))}}if(n>0)return t.value/n}return t.value},e.prototype.plotRange=function(t,e){void 0===e&&(e=0);var o=this.categoryPoints[t.categoryIx];if(this.options.isStacked){for(var i=this.plotValue(t),n=i>=0,r=e,s=!1,a=0;a<o.length;a++){var p=o[a];if(t===p)break;var c=t.series.stack,u=p.series.stack;if(c&&u){if("string"==typeof c&&c!==u)continue;if(c.group&&c.group!==u.group)continue}var l=this.plotValue(p);(l>=0&&n||l<0&&!n)&&(r+=l,i+=l,s=!0,this.options.isStacked100&&(i=Math.min(i,1)))}return s&&(r-=e),[r,i]}var h=t.series,d=this.seriesValueAxis(h),f=this.categoryAxisCrossingValue(d);return[f,O(t.value)?t.value:f]},e.prototype.stackLimits=function(t,e){for(var o=h,i=d,n=0;n<this.categoryPoints.length;n++){var r=this.categoryPoints[n];if(r)for(var s=0;s<r.length;s++){var a=r[s];if(a&&(a.series.stack===e||a.series.axis===t)){var p=this.plotRange(a,0)[1];st(p)&&isFinite(p)&&(i=Math.max(i,p),o=Math.min(o,p))}}}return{min:o,max:i}},e.prototype.updateStackRange=function(){var t=this.options,e=t.isStacked,o=t.series,i={};if(e)for(var n=0;n<o.length;n++){var r=o[n],s=r.axis,a=s+r.stack,p=i[a];if(!p){p=this.stackLimits(s,r.stack);var c=this.errorTotals;c&&(c.negative.length&&(p.min=Math.min(p.min,Ct(c.negative).min)),c.positive.length&&(p.max=Math.max(p.max,Ct(c.positive).max))),p.min!==h||p.max!==d?i[a]=p:p=null}p&&(this.valueAxisRanges[s]=p)}},e.prototype.addErrorBar=function(t,e,o){var i,n=t.value,r=t.series,s=t.seriesIx,a=t.options.errorBars,p=e.fields.errorLow,c=e.fields.errorHigh;I(p)&&I(c)?i={low:p,high:c}:a&&st(a.value)&&(this.seriesErrorRanges=this.seriesErrorRanges||[],this.seriesErrorRanges[s]=this.seriesErrorRanges[s]||new $o(a.value,r,v),i=this.seriesErrorRanges[s].getErrorRange(n,a.value)),i&&(t.low=i.low,t.high=i.high,this.addPointErrorBar(t,o))},e.prototype.addPointErrorBar=function(t,e){var o=!this.options.invertAxes,i=t.options.errorBars,n=t.series,r=t.low,s=t.high;if(this.options.isStacked){var a=this.stackedErrorRange(t,e);r=a.low,s=a.high}else{var p={categoryIx:e,series:n};this.updateRange({value:r},p),this.updateRange({value:s},p)}var c=new li(r,s,o,this,n,i);t.errorBars=[c],t.append(c)},e.prototype.stackedErrorRange=function(t,e){var o=this.plotRange(t,0)[1]-t.value,i=t.low+o,n=t.high+o;return this.errorTotals=this.errorTotals||{positive:[],negative:[]},i<0&&(this.errorTotals.negative[e]=Math.min(this.errorTotals.negative[e]||0,i)),n>0&&(this.errorTotals.positive[e]=Math.max(this.errorTotals.positive[e]||0,n)),{low:i,high:n}},e.prototype.addValue=function(t,e){var o=e.categoryIx,i=e.series,n=e.seriesIx,r=this.categoryPoints[o];r||(this.categoryPoints[o]=r=[]);var s=this.seriesPoints[n];s||(this.seriesPoints[n]=s=[]);var a=this.createPoint(t,e);a&&(Object.assign(a,e),a.owner=this,a.noteText=t.fields.noteText,st(a.dataItem)||(a.dataItem=i.data[o]),this.addErrorBar(a,t,o)),this.points.push(a),s.push(a),r.push(a),this.updateRange(t.valueFields,e)},e.prototype.evalPointOptions=function(t,e,o,i,n,r){var s={defaults:n._defaults,excluded:["data","aggregate","_events","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},a=this._evalSeries[r];st(a)||(this._evalSeries[r]=a=hi(t,{},s,!0));var p=t;return a&&hi(p=j({},p),{value:e,category:o,index:i,series:n,dataItem:n.data[i]},s),p},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=t.value,n=this.valueAxisRanges[o];isFinite(i)&&null!==i&&((n=this.valueAxisRanges[o]=n||{min:h,max:d}).min=Math.min(n.min,i),n.max=Math.max(n.max,i))},e.prototype.seriesValueAxis=function(t){var e=this.plotArea,o=t.axis,i=o?e.namedValueAxes[o]:e.valueAxis;if(!i)throw new Error("Unable to locate value axis with name "+o);return i},e.prototype.reflow=function(t){var e=this,o=this.categorySlots=[],i=this.points,n=this.categoryAxis,r=0;this.traverseDataPoints((function(t,s){var a=s.categoryIx,p=s.series,c=e.seriesValueAxis(p),u=i[r++],l=o[a];if(l||(o[a]=l=e.categorySlot(n,a,c)),u){var h=e.plotRange(u,c.startValue()),d=e.valueSlot(c,h);if(d){var f=e.pointSlot(l,d);u.aboveAxis=e.aboveAxis(u,c),u.stackValue=h[1],e.options.isStacked100&&(u.percentage=e.plotValue(u)),e.reflowPoint(u,f)}else u.visible=!1}})),this.reflowCategories(o),!this.options.clip&&this.options.limitPoints&&this.points.length&&this.limitPoints(),this.box=t},e.prototype.valueSlot=function(t,e){return t.getSlot(e[0],e[1],!this.options.clip)},e.prototype.limitPoints=function(){for(var t=this.categoryPoints,e=t[0].concat(dt(t)),o=0;o<e.length;o++)e[o]&&this.limitPoint(e[o])},e.prototype.limitPoint=function(t){var e=this.categoryAxis.limitSlot(t.box);e.equals(t.box)||t.reflow(e)},e.prototype.aboveAxis=function(t,e){var o=this.categoryAxisCrossingValue(e),i=t.value;return e.options.reverse?i<o:i>=o},e.prototype.categoryAxisCrossingValue=function(t){var e=this.categoryAxis,o=t.options;return[].concat(o.axisCrossingValues||o.axisCrossingValue)[e.axisIndex||0]||0},e.prototype.reflowPoint=function(t,e){t.reflow(e)},e.prototype.reflowCategories=function(){},e.prototype.pointSlot=function(t,e){var o=this.options.invertAxes,i=o?e:t,n=o?t:e;return new Ft(i.x1,n.y1,i.x2,n.y2)},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=di(e),i=e.length,n=0;n<i;n++)this._outOfRangeCallback(e[n],"_outOfRangeMinPoint",n,t);for(var r=0;r<o;r++)for(var s=0;s<i;s++){var a=e[s],p=this.categoryAxis.categoryAt(r);t(this._bindPoint(a,s,r),{category:p,categoryIx:r,categoriesCount:o,series:a,seriesIx:s})}for(var c=0;c<i;c++)this._outOfRangeCallback(e[c],"_outOfRangeMaxPoint",c,t)},e.prototype._outOfRangeCallback=function(t,e,o,i){var n=t[e];if(n){var r=n.categoryIx;i(this._bindPoint(t,o,r,n.item),{category:n.category,categoryIx:r,series:t,seriesIx:o,dataItem:n.item})}},e.prototype._bindPoint=function(t,e,o,i){this._bindCache||(this._bindCache=[]);var n=this._bindCache[e];n||(n=this._bindCache[e]=[]);var r=n[o];return r||(r=n[o]=Zo.current.bindPoint(t,o,i)),r},e.prototype.formatPointValue=function(t,e){return null===t.value?"":this.chartService.format.auto(e,t.value)},e.prototype.pointValue=function(t){return t.valueFields.value},e}(qt);wt(fi,{series:[],invertAxes:!1,isStacked:!1,clip:!0,limitPoints:!0});var yi=fi,vi={click:function(t,e){return t.trigger("seriesClick",this.eventArgs(e))},hover:function(t,e){return t.trigger("seriesHover",this.eventArgs(e))},over:function(t,e){return t.trigger("seriesOver",this.eventArgs(e))},out:function(t,e){return t.trigger("seriesLeave",this.eventArgs(e))},eventArgs:function(t){return{value:this.value,percentage:this.percentage,stackValue:this.stackValue,category:this.category,series:this.series,dataItem:this.dataItem,runningTotal:this.runningTotal,total:this.total,element:lt(t),originalEvent:t,point:this}}},gi={createNote:function(){var t=this.options.notes,e=this.noteText||t.label.text;!1!==t.visible&&st(e)&&null!==e&&(this.note=new ve({value:this.value,text:e,dataItem:this.dataItem,category:this.category,series:this.series},this.options.notes,this.owner.chartService),this.append(this.note))}},_i=function(t){function e(e,o){t.call(this),this.value=e,this.options=o,this.aboveAxis=mt(this.options.aboveAxis,!0),this.tooltipTracking=!0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options,e=t.markers,o=t.labels;if(!this._rendered){if(this._rendered=!0,e.visible&&e.size&&(this.marker=this.createMarker(),this.append(this.marker)),o.visible){var i=H(o),n=this.pointData(),r=this.value;i?r=i(n):o.format&&(r=this.formatValue(o.format)),this.label=new ue(r,j({align:a,vAlign:a,margin:{left:5,right:5},zIndex:mt(o.zIndex,this.series.zIndex)},o),n),this.append(this.label)}this.createNote(),this.errorBar&&this.append(this.errorBar)}},e.prototype.markerBorder=function(){var t=this.options.markers,e=t.background,o=j({color:this.color},t.border);return st(o.color)||(o.color=new S.Color(e).brightness(.8).toHex()),o},e.prototype.createVisual=function(){},e.prototype.createMarker=function(){var t=this.options.markers;return new $t({type:t.type,width:t.size,height:t.size,rotation:t.rotation,background:t.background,border:this.markerBorder(),opacity:this.series.opacity||t.opacity,zIndex:mt(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category})},e.prototype.markerBox=function(){return this.marker||(this.marker=this.createMarker(),this.marker.reflow(this._childBox)),this.marker.box},e.prototype.reflow=function(t){var e=this.options,o=this.aboveAxis,i=e.vertical;this.render(),this.box=t;var n=t.clone();if(i?o?n.y1-=n.height():n.y2+=n.height():o?n.x1+=n.width():n.x2-=n.width(),this._childBox=n,this.marker&&this.marker.reflow(n),this.reflowLabel(n),this.errorBars)for(var r=0;r<this.errorBars.length;r++)this.errorBars[r].reflow(n);if(this.note){var s=this.markerBox();if(!e.markers.visible||!e.markers.size){var a=s.center();s=new Ft(a.x,a.y,a.x,a.y)}this.note.reflow(s)}},e.prototype.reflowLabel=function(t){var e=this.options,o=this.label,i=e.labels.position;o&&(i="below"===(i="above"===i?y:i)?s:i,o.reflow(t),o.box.alignTo(this.markerBox(),i),o.reflow(o.box))},e.prototype.createHighlight=function(){var t=this.options.highlight.markers,e=this.markerBorder().color,o=this.options.markers,i=o.size+(o.border.width||0)+(t.border.width||0),n=new $t({type:o.type,width:i,height:i,rotation:o.rotation,background:t.color||e,border:{color:t.border.color,width:t.border.width,opacity:mt(t.border.opacity,1)},opacity:mt(t.opacity,1)});return n.reflow(this._childBox),n.getElement()},e.prototype.highlightVisual=function(){return(this.marker||{}).visual},e.prototype.highlightVisualArgs=function(){var t,e,o=this.marker;if(o)e=o.paddingBox.toRect(),t=o.visual;else{var i=this.options.markers.size,n=i/2,r=this.box.center();e=new S.geometry.Rect([r.x-n,r.y-n],[i,i])}return{options:this.options,rect:e,visual:t}},e.prototype.tooltipAnchor=function(){var t=this.markerBox(),e=this.owner.pane.clipBox();if(!e||e.overlaps(t)){var o,i,n=t.x2+5;return this.aboveAxis?(o=t.y1,i=s):(o=t.y2,i=y),{point:new Nt(n,o),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.markerBox().overlaps(t)},e.prototype.unclipElements=function(){this.label&&(this.label.options.noclip=!0),this.note&&(this.note.options.noclip=!0)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,series:this.series}},e}(qt);_i.prototype.defaults={vertical:!0,markers:{visible:!0,background:g,size:8,type:p,border:{width:2},opacity:1},labels:{visible:!1,position:"above",margin:V(3),padding:V(4),animation:{type:"fadeIn",delay:600}},notes:{label:{}},highlight:{markers:{border:{color:"#fff",width:2}},zIndex:100},errorBars:{line:{width:1}}},j(_i.prototype,vi),j(_i.prototype,gi);var mi=_i,bi=function(t){function e(e,o,i){t.call(this),this.linePoints=e,this.series=o,this.seriesIx=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.toGeometryPoints(this.linePoints)},e.prototype.toGeometryPoints=function(t){for(var e=[],o=0,i=t.length;o<i;o++)t[o]&&!1!==t[o].visible&&e.push(t[o]._childBox.toRect().center());return e},e.prototype.createVisual=function(){var t=this,e=this.series.visual;e?(this.visual=e({points:this.toGeometryPoints(this.linePoints),series:this.series,sender:this.getSender(),createVisual:function(){return t.segmentVisual(),t.visual}}),this.visual&&!st(this.visual.options.zIndex)&&(this.visual.options.zIndex=this.series.zIndex)):this.segmentVisual()},e.prototype.segmentVisual=function(){var t=this.options,e=this.series,o=e.color,i=e._defaults;T(o)&&i&&(o=i.color);var n=S.drawing.Path.fromPoints(this.points(),{stroke:{color:o,width:e.width,opacity:e.opacity,dashType:e.dashType},zIndex:e.zIndex});t.closed&&n.close(),this.visual=n},e.prototype.aliasFor=function(t,e){return this.parent.getNearestPoint(e.x,e.y,this.seriesIx)},e}(qt);wt(bi,{closed:!1});var xi=bi;function wi(t,e,o,i,n){var r=t.box,s=new S.geometry.Point;return s[e]=r[e+o],s[i]=r[i+n],s}var Ci={calculateStepPoints:function(t){for(var e=this.parent.plotArea.seriesCategoryAxis(this.series).options,o=e.justified,i=e.vertical,n=e.reverse,r=i?_:m,s=i?m:_,a=n?2:1,p=a,c=wi(t[0],r,a,s,p),u=[c],l=1;l<t.length;l++){var h=wi(t[l],r,a,s,p);if(c[r]!==h[r]){var d=new S.geometry.Point;d[r]=c[r],d[s]=h[s],u.push(d,h)}c=h}return o?c!==dt(u)&&u.push(c):u.push(wi(dt(t),r,a,s,n?1:2)),u}},Si=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.calculateStepPoints(this.linePoints)},e}(xi);j(Si.prototype,Ci);var ki=Si,Ai=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.segmentVisual=function(){var t=this.series,e=t._defaults,o=t.color;T(o)&&e&&(o=e.color);var i=new Vo(this.options.closed).process(this.points()),n=new S.drawing.Path({stroke:{color:o,width:t.width,opacity:t.opacity,dashType:t.dashType},zIndex:t.zIndex});n.segments.push.apply(n.segments,i),this.visual=n},e}(xi),Ii={renderSegments:function(){var t,e=this.options,o=this.seriesPoints,i=e.series,n=o.length;this._segments=[];for(var r=0;r<n;r++){for(var s=i[r],a=this.sortPoints(o[r]),p=a.length,c=[],u=0;u<p;u++){var l=a[u];l?c.push(l):"interpolate"!==this.seriesMissingValues(s)&&(c.length>1&&(t=this.createSegment(c,s,r,t),this._addSegment(t)),c=[])}c.length>1&&(t=this.createSegment(c,s,r,t),this._addSegment(t))}this.children.unshift.apply(this.children,this._segments)},_addSegment:function(t){this._segments.push(t),t.parent=this},sortPoints:function(t){return t},seriesMissingValues:function(t){var e=t.missingValues;return!e&&this.options.isStacked?ei:e||"interpolate"},getNearestPoint:function(t,e,o){for(var i,n=new Nt(t,e),r=this.seriesPoints[o],s=h,a=0;a<r.length;a++){var p=r[a];if(p&&st(p.value)&&null!==p.value&&!1!==p.visible){var c=p.box.center().distanceTo(n);c<s&&(i=p,s=c)}}return i}},Pi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._setEnd(this.options.box.x1)},e.prototype.step=function(t){var e=this.options.box;this._setEnd(K(e.x1,e.x2,t))},e.prototype._setEnd=function(t){var e=this.element,o=e.segments,i=o[1].anchor(),n=o[2].anchor();e.suspend(),i.setX(t),e.resume(),n.setX(t)},e}(S.drawing.Animation);wt(Pi,{duration:600}),S.drawing.AnimationFactory.current.register("clip",Pi);var Oi=Pi;function Ti(t){for(var e=0;e<t.length;e++)if(st(t[e].zIndex))return!0}var Mi={createAnimation:function(){var t=this.getRoot();if(t&&!1!==(t.options||{}).transitions){var e=t.size(),o=S.drawing.Path.fromRect(e.toRect());this.visual.clip(o),this.animation=new Oi(o,{box:e}),Ti(this.options.series)&&this._setChildrenAnimation(o)}},_setChildrenAnimation:function(t){for(var e=this.animationPoints(),o=0;o<e.length;o++){var i=e[o];i&&i.visual&&st(i.visual.options.zIndex)&&i.visual.clip(t)}}},ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange(),this.renderSegments()},e.prototype.pointType=function(){return mi},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,n=e.series,r=e.seriesIx,s=this.seriesMissingValues(n),a=t.valueFields.value;if(!st(a)||null===a){if(s!==ei)return null;a=0}var p=this.pointOptions(n,r);p=this.evalPointOptions(p,a,i,o,n,r);var c=t.fields.color||n.color;T(n.color)&&(c=p.color);var u=new mi(a,p);return u.color=c,this.append(u),u},e.prototype.plotRange=function(t){var e=this.plotValue(t);if(this.options.isStacked)for(var o=t.categoryIx,i=this.categoryPoints[o],n=0;n<i.length;n++){var r=i[n];if(t===r)break;e+=this.plotValue(r),this.options.isStacked100&&(e=Math.min(e,1))}return[e,e]},e.prototype.createSegment=function(t,e,o){var i=e.style;return new("step"===i?ki:"smooth"===i?Ai:xi)(t,e,o)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++)e.push((t[o]||{}).marker);return e.concat(this._segments)},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(yi);j(ji.prototype,Ii,Mi);var Ei=ji,Di=function(t){function e(e,o,i,n,r){t.call(this,e,o,i),this.prevSegment=n,this.stackPoints=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){var t=this.series,e=t._defaults,o=t.line||{},i=t.color;T(i)&&e&&(i=e.color),this.visual=new S.drawing.Group({zIndex:t.zIndex}),this.createFill({fill:{color:i,opacity:t.opacity},stroke:null}),o.width>0&&!1!==o.visible&&this.createStroke({stroke:j({color:i,opacity:t.opacity,lineCap:"butt"},o)})},e.prototype.strokeSegments=function(){var t=this._strokeSegments;return t||(t=this._strokeSegments=this.createStrokeSegments()),t},e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.points())},e.prototype.stackSegments=function(){return this.prevSegment?this.prevSegment.createStackSegments(this.stackPoints):this.createStackSegments(this.stackPoints)},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.toGeometryPoints(t)).reverse()},e.prototype.segmentsFromPoints=function(t){return t.map((function(t){return new S.geometry.Segment(t)}))},e.prototype.createStroke=function(t){var e=new S.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),this.visual.append(e)},e.prototype.hasStackSegment=function(){return this.prevSegment||this.stackPoints&&this.stackPoints.length},e.prototype.createFill=function(t){var e=this.strokeSegments(),o=e.slice(0),i=this.hasStackSegment();if(i){var n=this.stackSegments();nt(o,n)}var r=new S.drawing.Path(t);r.segments.push.apply(r.segments,o),!i&&e.length>1&&this.fillToAxes(r),this.visual.append(r)},e.prototype.fillToAxes=function(t){var e=this.parent,o=e.options.invertAxes,i=e.seriesValueAxis(this.series),n=e.categoryAxisCrossingValue(i),r=i.getSlot(n,n,!0),s=this.strokeSegments(),a=s[0].anchor(),p=dt(s).anchor(),c=o?r.x1:r.y1;o?t.lineTo(c,p.y).lineTo(c,a.y):t.lineTo(p.x,c).lineTo(a.x,c)},e}(xi),Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.linePoints))},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.calculateStepPoints(t)).reverse()},e}(Di);j(Bi.prototype,Ci);var Ri=Bi,Li=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){var t=new Vo(this.options.closed),e=this.points();return t.process(e)},e.prototype.createStackSegments=function(){for(var t=this.strokeSegments(),e=[],o=t.length-1;o>=0;o--){var i=t[o];e.push(new S.geometry.Segment(i.anchor(),i.controlOut(),i.controlIn()))}return e},e}(Di),Vi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,o,i){var n,r,s=this.options.isStacked,a=(e.line||{}).style;s&&o>0&&i&&("gap"!==this.seriesMissingValues(e)?(r=i.linePoints,n=i):r=this._gapStackPoints(t,o,a));return new("step"===a?Ri:"smooth"===a?Li:Di)(t,e,o,n,r)},e.prototype.reflow=function(e){t.prototype.reflow.call(this,e);var o=this._stackPoints;if(o)for(var i=0;i<o.length;i++){var n=o[i],r=this.categoryAxis.getSlot(n.categoryIx);n.reflow(r)}},e.prototype._gapStackPoints=function(t,e,o){var i=this.seriesPoints,n=t[0].categoryIx,r=t.length;n<0&&(n=0,r--);var s=n+r,a=this.seriesOptions[0]._outOfRangeMinPoint?1:0,p=[];this._stackPoints=this._stackPoints||[];for(var c=n;c<s;c++){var u=c+a,l=e,h=void 0;do{h=i[--l][u]}while(l>0&&!h);if(h)"step"!==o&&c>n&&!i[l][u-1]&&p.push(this._previousSegmentPoint(c,u,u-1,l)),p.push(h),"step"!==o&&c+1<s&&!i[l][u+1]&&p.push(this._previousSegmentPoint(c,u,u+1,l));else{var d=this._createGapStackPoint(c);this._stackPoints.push(d),p.push(d)}}return p},e.prototype._previousSegmentPoint=function(t,e,o,i){for(var n,r=this.seriesPoints,s=i;s>0&&!n;)n=r[--s][o];return n?n=r[s][e]:(n=this._createGapStackPoint(t),this._stackPoints.push(n)),n},e.prototype._createGapStackPoint=function(t){var e=this.pointOptions({},0),o=new mi(0,e);return o.categoryIx=t,o.series={},o},e.prototype.seriesMissingValues=function(t){return t.missingValues||ei},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(Ei),Ni=function(t){function e(){t.call(this),this.axisRanges={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.update=function(t){var e=this.axisRanges;for(var o in t){var i=t[o],n=e[o];e[o]=n=n||{min:h,max:d},n.min=Math.min(n.min,i.min),n.max=Math.max(n.max,i.max)}},e.prototype.reset=function(t){this.axisRanges[t]=void 0},e.prototype.query=function(t){return this.axisRanges[t]},e}(S.Class),zi=function(t){function e(e,o,i){t.call(this,o),this.textBox=new ue(e,this.options,i),this.append(this.textBox)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){this.textBox.options.noclip=this.options.noclip},e.prototype.reflow=function(t){var e=this.options,o=e.vertical,i=e.aboveAxis,n=this.children[0],r=n.options,p=n.box,c=n.options.padding,u=t;r.align=o?a:l,r.vAlign=o?y:a,"insideEnd"===e.position?o?(r.vAlign=y,!i&&p.height()<t.height()&&(r.vAlign=s)):r.align=i?f:l:e.position===a?(r.vAlign=a,r.align=a):"insideBase"===e.position?o?r.vAlign=i?s:y:r.align=i?l:f:"outsideEnd"===e.position&&(o?u=i?new Ft(t.x1,t.y1-p.height(),t.x2,t.y1):new Ft(t.x1,t.y2,t.x2,t.y2+p.height()):(r.align=a,u=i?new Ft(t.x2,t.y1,t.x2+p.width(),t.y2):new Ft(t.x1-p.width(),t.y1,t.x1,t.y2))),e.rotation||(o?c.left=c.right=(u.width()-n.contentBox.width())/2:c.top=c.bottom=(u.height()-n.contentBox.height())/2),n.reflow(u)},e.prototype.alignToClipBox=function(t){var e=this.options.vertical?m:_,o=e+"1",i=e+"2",n=this.children[0],r=this.parent.box;if(r[o]<t[o]||t[i]<r[i]){var s=n.paddingBox.clone();s[o]=Math.max(r[o],t[o]),s[i]=Math.min(r[i],t[i]),this.reflow(s)}},e}(qt);wt(zi,{position:"outsideEnd",margin:V(3),padding:V(4),color:r,background:"",border:{width:1,color:""},aboveAxis:!0,vertical:!1,animation:{type:"fadeIn",delay:600},zIndex:2});var Fi=zi;function Hi(t){var e=t.overlay;return e&&e.gradient&&"none"!==e.gradient}var Gi=function(t){function e(e,o){t.call(this),this.options=o,this.color=o.color||g,this.aboveAxis=mt(this.options.aboveAxis,!0),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createLabel(),this.createNote(),this.errorBar&&this.append(this.errorBar))},e.prototype.createLabel=function(){var t=this.options,e=t.labels;if(e.visible){var o,i=this.pointData(),n=H(e);o=n?n(i):this.formatValue(e.format),this.label=new Fi(o,j({vertical:t.vertical},e),i),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;if(this.box=t,e&&(e.options.aboveAxis=this.aboveAxis,e.reflow(t)),this.note&&this.note.reflow(t),this.errorBars)for(var o=0;o<this.errorBars.length;o++)this.errorBars[o].reflow(t)},e.prototype.createVisual=function(){var e=this,o=this.box,i=this.options,n=i.visual;if(!1!==this.visible)if(t.prototype.createVisual.call(this),n){var r=this.rectVisual=n({category:this.category,dataItem:this.dataItem,value:this.value,sender:this.getSender(),series:this.series,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,rect:o.toRect(),createVisual:function(){var t=new S.drawing.Group;return e.createRect(t),t},options:i});r&&this.visual.append(r)}else o.width()>0&&o.height()>0&&this.createRect(this.visual)},e.prototype.createRect=function(t){var e=this.options,o=e.border,i=st(o.opacity)?o.opacity:e.opacity,n=this.box.toRect();n.size.width=Math.round(n.size.width);var r=this.rectVisual=S.drawing.Path.fromRect(n,{fill:{color:this.color,opacity:e.opacity},stroke:{color:this.getBorderColor(),width:o.width,opacity:i,dashType:o.dashType}}),s=this.box.width(),a=this.box.height();if((e.vertical?s:a)>6&&(k(r),(s<1||a<1)&&(r.options.stroke.lineJoin="round")),t.append(r),Hi(e)){var p=this.createGradientOverlay(r,{baseColor:this.color},j({end:e.vertical?void 0:[0,1]},e.overlay));t.append(p)}},e.prototype.createHighlight=function(t){return k(S.drawing.Path.fromRect(this.box.toRect(),t))},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.getBorderColor=function(){var t=this.color,e=this.options.border,o=e._brightness||.8,i=e.color;return st(i)||(i=new S.Color(t).brightness(o).toHex()),i},e.prototype.tooltipAnchor=function(){var t,e,o=this.options,i=this.box,n=this.aboveAxis,r=this.owner.pane.clipBox()||i,a=l,p=y;if(o.vertical)t=Math.min(i.x2,r.x2)+5,n?e=Math.max(i.y1,r.y1):(e=Math.min(i.y2,r.y2),p=s);else{var c=Math.max(i.x1,r.x1),u=Math.min(i.x2,r.x2);o.isStacked?(p=s,n?(a=f,t=u):t=c,e=Math.max(i.y1,r.y1)-5):(n?t=u+5:(t=c-5,a=f),e=Math.max(i.y1,r.y1))}return{point:new Nt(t,e),align:{horizontal:a,vertical:p}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,series:this.series}},e}(qt);j(Gi.prototype,vi),j(Gi.prototype,gi),Gi.prototype.defaults={border:{width:1},vertical:!0,overlay:{gradient:"glass"},labels:{visible:!1,format:"{0}"},opacity:1,notes:{label:{}}};var Ui=Gi;function Wi(t,e){t.forEach(e)}function Yi(t,e){for(var o=t.length,i=o-1;i>=0;i--)e(t[i],i-o-1)}var Xi=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?Yi:Wi}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=e.vertical,i=e.gap,n=e.spacing,r=this.children,s=r.length,a=o?m:_,p=s+i+n*(s-1),c=(o?t.height():t.width())/p,u=t[a+1]+c*(i/2);this.forEach(r,(function(e,o){var i=(e.box||t).clone();i[a+1]=u,i[a+2]=u+c,e.reflow(i),o<s-1&&(u+=c*n),u+=c}))},e}(qt);wt(Xi,{vertical:!1,gap:0,spacing:0});var qi=Xi,Zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){for(var e=this.options.vertical?_:m,o=this.children,i=o.length,n=this.box=new Ft,r=0;r<i;r++){var s=o[r];if(!1!==s.visible){var a=s.box.clone();a.snapTo(t,e),0===r&&(n=this.box=a.clone()),s.reflow(a),n.wrap(a)}}},e}(qt);wt(Zi,{vertical:!0});var Qi=Zi,Ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange()},e.prototype.pointType=function(){return Ui},e.prototype.clusterType=function(){return qi},e.prototype.stackType=function(){return Qi},e.prototype.stackLimits=function(e,o){return t.prototype.stackLimits.call(this,e,o)},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,n=e.series,r=e.seriesIx,s=this.options,a=this.children,p=s.isStacked,c=this.pointValue(t),u=this.pointOptions(n,r),l=u.labels;p&&"outsideEnd"===l.position&&(l.position="insideEnd"),u.isStacked=p;var h=t.fields.color||n.color;c<0&&u.negativeColor&&(h=u.negativeColor),u=this.evalPointOptions(u,c,i,o,n,r),T(n.color)&&(h=u.color);var d=new(this.pointType())(c,u);d.color=h;var f=a[o];f||(f=new(this.clusterType())({vertical:s.invertAxes,gap:s.gap,spacing:s.spacing,rtl:!s.invertAxes&&(this.chartService||{}).rtl}),this.append(f));p?this.getStackWrap(n,f).append(d):f.append(d);return d},e.prototype.getStackWrap=function(t,e){var o,i=t.stack,n=i&&i.group||i,r=e.children;if("string"==typeof n){for(var s=0;s<r.length;s++)if(r[s]._stackGroup===n){o=r[s];break}}else o=r[0];o||((o=new(this.stackType())({vertical:!this.options.invertAxes}))._stackGroup=n,e.append(o));return o},e.prototype.categorySlot=function(t,e,o){var i=this.options,n=t.getSlot(e),r=o.startValue();if(i.isStacked){var s=o.getSlot(r,r,!0),a=i.invertAxes?_:m;n[a+1]=n[a+2]=s[a+1]}return n},e.prototype.reflowCategories=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++)e[i].reflow(t[i])},e.prototype.createAnimation=function(){this._setAnimationOptions(),t.prototype.createAnimation.call(this),Ti(this.options.series)&&this._setChildrenAnimation()},e.prototype._setChildrenAnimation=function(){for(var t=this.points,e=0;e<t.length;e++){var o=t[e],i=o.visual;i&&st(i.options.zIndex)&&(o.options.animation=this.options.animation,o.createAnimation())}},e.prototype._setAnimationOptions=function(){var t,e=this.options,o=e.animation||{};if(e.isStacked){var i=this.seriesValueAxis(e.series[0]);t=i.getSlot(i.startValue())}else t=this.categoryAxis.getSlot(0);o.origin=new S.geometry.Point(t.x1,t.y1),o.vertical=!e.invertAxes},e}(yi);wt(Ki,{animation:{type:oi}});var $i=Ki,Ji=function(t){function e(e,o){t.call(this,o),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=this.value,i=this.owner.seriesValueAxis(e),n=i.getSlot(o.open,o.close),r=i.getSlot(o.low,o.high);n.x1=r.x1=t.x1,n.x2=r.x2=t.x2,this.realBody=n;var s=r.center().x,a=[];a.push([[s,r.y1],[s,n.y1]]),a.push([[s,n.y2],[s,r.y2]]),this.lines=a,this.box=r.clone().wrap(n),this._rendered||(this._rendered=!0,this.createNote()),this.reflowNote()},e.prototype.reflowNote=function(){this.note&&this.note.reflow(this.box)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this._mainVisual=this.mainVisual(this.options),this.visual.append(this._mainVisual),this.createOverlay()},e.prototype.mainVisual=function(t){var e=new S.drawing.Group;return this.createBody(e,t),this.createLines(e,t),e},e.prototype.createBody=function(t,e){var o=S.drawing.Path.fromRect(this.realBody.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&o.options.set("stroke",{color:this.getBorderColor(),width:e.border.width,dashType:e.border.dashType,opacity:mt(e.border.opacity,e.opacity)}),k(o),t.append(o),Hi(e)&&t.append(this.createGradientOverlay(o,{baseColor:this.color},j({end:e.vertical?void 0:[0,1]},e.overlay)))},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.lines,e.line)},e.prototype.drawLines=function(t,e,o,i){if(o)for(var n={stroke:{color:i.color||this.color,opacity:mt(i.opacity,e.opacity),width:i.width,dashType:i.dashType,lineCap:"butt"}},r=0;r<o.length;r++){var s=S.drawing.Path.fromPoints(o[r],n);k(s),t.append(s)}},e.prototype.getBorderColor=function(){var t=this.options.border,e=t.color;return st(e)||(e=new S.Color(this.color).brightness(t._brightness).toHex()),e},e.prototype.createOverlay=function(){var t=S.drawing.Path.fromRect(this.box.toRect(),{fill:{color:g,opacity:0},stroke:null});this.visual.append(t)},e.prototype.createHighlight=function(){var t=this.options.highlight,e=this.color;this.color=t.color||this.color;var o=this.mainVisual(j({},this.options,{line:{color:this.getBorderColor()}},t));return this.color=e,o},e.prototype.highlightVisual=function(){return this._mainVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this._mainVisual}},e.prototype.tooltipAnchor=function(){var t=this.box,e=this.owner.pane.clipBox()||t;return{point:new Nt(t.x2+5,Math.max(t.y1,e.y1)+5),align:{horizontal:l,vertical:y}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e}(qt);wt(Ji,{vertical:!0,border:{_brightness:.8},line:{width:2},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{4:d}</th></tr><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:{}}}),j(Ji.prototype,vi),j(Ji.prototype,gi);var tn=Ji;function en(t){return Uo(t)===t.length}var on=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++)e[i].reflow(t[i])},e.prototype.addValue=function(t,e){var o,i=e.categoryIx,n=e.category,r=e.series,s=e.seriesIx,a=this.children,p=this.options,c=t.valueFields,u=en(this.splitValue(c)),l=r.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),u&&(o=this.createPoint(t,e));var d=a[i];d||(d=new qi({vertical:p.invertAxes,gap:p.gap,spacing:p.spacing,rtl:!p.invertAxes&&(this.chartService||{}).rtl}),this.append(d)),o&&(this.updateRange(c,e),d.append(o),o.categoryIx=i,o.category=n,o.series=r,o.seriesIx=s,o.owner=this,o.dataItem=l,o.noteText=t.fields.noteText),this.points.push(o),h.push(o)},e.prototype.pointType=function(){return tn},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,n=e.series,r=e.seriesIx,s=this.pointType(),a=t.valueFields,p=j({},n),c=t.fields.color||n.color;p=this.evalPointOptions(p,a,i,o,n,r),"candlestick"===n.type&&a.open>a.close&&(c=t.fields.downColor||n.downColor||n.color),T(n.color)&&(c=p.color),p.vertical=!this.options.invertAxes;var u=new s(a,p);return u.color=c,u},e.prototype.splitValue=function(t){return[t.low,t.open,t.close,t.high]},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=this.splitValue(t),n=this.valueAxisRanges[o];n=this.valueAxisRanges[o]=n||{min:h,max:d},n=this.valueAxisRanges[o]={min:Math.min.apply(Math,i.concat([n.min])),max:Math.max.apply(Math,i.concat([n.max]))}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.open,o.high,o.low,o.close,t.category)},e.prototype.animationPoints=function(){return this.points},e}(yi);j(on.prototype,Mi);var nn=on,rn=function(t){function e(e,o){t.call(this,e,o),this.createNote()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,o,i=this.options,n=this.value,r=this.owner.seriesValueAxis(i);this.boxSlot=o=r.getSlot(n.q1,n.q3),this.realBody=o,this.reflowBoxSlot(t),this.whiskerSlot=e=r.getSlot(n.lower,n.upper),this.reflowWhiskerSlot(t);var s=r.getSlot(n.median);if(n.mean){var a=r.getSlot(n.mean);this.meanPoints=this.calcMeanPoints(t,a)}this.whiskerPoints=this.calcWhiskerPoints(o,e),this.medianPoints=this.calcMedianPoints(t,s),this.box=e.clone().wrap(o),this.reflowNote()},e.prototype.reflowBoxSlot=function(t){this.boxSlot.x1=t.x1,this.boxSlot.x2=t.x2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.x1=t.x1,this.whiskerSlot.x2=t.x2},e.prototype.calcMeanPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.calcWhiskerPoints=function(t,e){var o=e.center().x;return[[[o-5,e.y1],[o+5,e.y1],[o,e.y1],[o,t.y1]],[[o-5,e.y2],[o+5,e.y2],[o,e.y2],[o,t.y2]]]},e.prototype.calcMedianPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.renderOutliers=function(t){for(var e=this.value,o=e.outliers||[],i=3*Math.abs(e.q3-e.q1),n=[],r=t.markers||{},s=0;s<o.length;s++){var a=o[s],p=j({},(r=a<e.q3+i&&a>e.q1-i?t.outliers:t.extremes).border);st(p.color)||(st(this.color)?p.color=this.color:p.color=new S.Color(r.background).brightness(.8).toHex());var c=new $t({type:r.type,width:r.size,height:r.size,rotation:r.rotation,background:r.background,border:p,opacity:r.opacity});c.value=a,n.push(c)}return this.reflowOutliers(n),n},e.prototype.reflowOutliers=function(t){for(var e=this.owner.seriesValueAxis(this.options),o=this.box.center(),i=0;i<t.length;i++){var n=t[i].value,r=e.getSlot(n);this.options.vertical?r.move(o.x):r.move(void 0,o.y),this.box=this.box.wrap(r),t[i].reflow(r)}},e.prototype.mainVisual=function(e){for(var o=t.prototype.mainVisual.call(this,e),i=this.renderOutliers(e),n=0;n<i.length;n++){var r=i[n].getElement();r&&o.append(r)}return o},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.whiskerPoints,e.whiskers),this.drawLines(t,e,this.medianPoints,e.median),this.drawLines(t,e,this.meanPoints,e.mean)},e.prototype.getBorderColor=function(){return(this.options.border||{}).color?this.options.border.color:this.color?this.color:t.prototype.getBorderColor.call(this)},e}(tn);wt(rn,{border:{_brightness:.8},line:{width:2},median:{color:"#f6f6f6"},mean:{width:2,dashType:"dash",color:"#f6f6f6"},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{6:d}</th></tr><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:8,type:"cross",background:g,border:{width:2,opacity:1},opacity:0},extremes:{visible:!0,size:8,type:p,background:g,border:{width:2,opacity:1},opacity:0}}),j(rn.prototype,vi);var sn=rn,an=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowBoxSlot=function(t){this.boxSlot.y1=t.y1,this.boxSlot.y2=t.y2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.y1=t.y1,this.whiskerSlot.y2=t.y2},e.prototype.calcMeanPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e.prototype.calcWhiskerPoints=function(t,e){var o=e.center().y;return[[[e.x1,o-5],[e.x1,o+5],[e.x1,o],[t.x1,o]],[[e.x2,o-5],[e.x2,o+5],[e.x2,o],[t.x2,o]]]},e.prototype.calcMedianPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e}(sn),pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e){var o,i=e.categoryIx,n=e.category,r=e.series,s=e.seriesIx,a=this.children,p=this.options,c=t.valueFields,u=en(this.splitValue(c)),l=r.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),u&&(o=this.createPoint(t,e));var d=a[i];d||(d=new qi({vertical:p.invertAxes,gap:p.gap,spacing:p.spacing,rtl:!p.invertAxes&&(this.chartService||{}).rtl}),this.append(d)),o&&(this.updateRange(c,e),d.append(o),o.categoryIx=i,o.category=n,o.series=r,o.seriesIx=s,o.owner=this,o.dataItem=l),this.points.push(o),h.push(o)},e.prototype.pointType=function(){return this.options.invertAxes?an:sn},e.prototype.splitValue=function(t){return[t.lower,t.q1,t.median,t.q3,t.upper]},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=this.valueAxisRanges[o],n=this.splitValue(t).concat(this.filterOutliers(t.outliers));st(t.mean)&&(n=n.concat(t.mean)),i=this.valueAxisRanges[o]=i||{min:h,max:d},i=this.valueAxisRanges[o]={min:Math.min.apply(Math,n.concat([i.min])),max:Math.max.apply(Math,n.concat([i.max]))}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.lower,o.q1,o.median,o.q3,o.upper,o.mean,t.category)},e.prototype.filterOutliers=function(t){for(var e=(t||[]).length,o=[],i=0;i<e;i++){var n=t[i];st(n)&&null!==n&&o.push(n)}return o},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(nn),cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){var t=this.chart.seriesAxes(this.series);return this.isVertical?t.y:t.x},e}(ui);function un(t){return st(t)&&null!==t}var ln=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.xAxisRanges={},this.yAxisRanges={},this.points=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[]},e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.addErrorBar=function(t,e,o){var i,n=t.value[e],r=e+"Value",s=e+"ErrorLow",a=e+"ErrorHigh",p=o.seriesIx,c=o.series,u=t.options.errorBars,l=o[s],h=o[a];I(n)&&(I(l)&&I(h)&&(i={low:l,high:h}),u&&st(u[r])&&(this.seriesErrorRanges=this.seriesErrorRanges||{x:[],y:[]},this.seriesErrorRanges[e][p]=this.seriesErrorRanges[e][p]||new $o(u[r],c,e),i=this.seriesErrorRanges[e][p].getErrorRange(n,u[r])),i&&this.addPointErrorBar(i,t,e))},e.prototype.addPointErrorBar=function(t,e,o){var i=t.low,n=t.high,r=e.series,s=e.options.errorBars,a=o===m,p={};e[o+"Low"]=i,e[o+"High"]=n,e.errorBars=e.errorBars||[];var c=new cn(i,n,a,this,r,s);e.errorBars.push(c),e.append(c),p[o]=i,this.updateRange(p,r),p[o]=n,this.updateRange(p,r)},e.prototype.addValue=function(t,e){var o,i=t.x,n=t.y,r=e.seriesIx,s=this.options.series[r],a=this.seriesMissingValues(s),p=this.seriesPoints[r],c=t;un(i)&&un(n)||(c=this.createMissingValue(c,a)),c&&((o=this.createPoint(c,e))&&(Object.assign(o,e),this.addErrorBar(o,_,e),this.addErrorBar(o,m,e)),this.updateRange(c,e.series)),this.points.push(o),p.push(o)},e.prototype.seriesMissingValues=function(t){return t.missingValues},e.prototype.createMissingValue=function(){},e.prototype.updateRange=function(t,e){var o=this.chartService.intl,i=e.xAxis,n=e.yAxis,r=t.x,s=t.y,a=this.xAxisRanges[i],p=this.yAxisRanges[n];un(r)&&(a=this.xAxisRanges[i]=a||{min:h,max:d},P(r)&&(r=$e(o,r)),a.min=Math.min(a.min,r),a.max=Math.max(a.max,r)),un(s)&&(p=this.yAxisRanges[n]=p||{min:h,max:d},P(s)&&(s=$e(o,s)),p.min=Math.min(p.min,s),p.max=Math.max(p.max,s))},e.prototype.evalPointOptions=function(t,e,o){var i=o.series,n=o.seriesIx,r={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},s=this._evalSeries[n];st(s)||(this._evalSeries[n]=s=hi(t,{},r,!0));var a=t;return s&&hi(a=j({},t),{value:e,series:i,dataItem:o.dataItem},r),a},e.prototype.pointType=function(){return mi},e.prototype.pointOptions=function(t,e){var o=this.seriesOptions[e];if(!o){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=o=j({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return o},e.prototype.createPoint=function(t,e){var o=e.series,i=this.pointOptions(o,e.seriesIx),n=e.color||o.color;i=this.evalPointOptions(i,t,e),T(o.color)&&(n=i.color);var r=new mi(t,i);return r.color=n,this.append(r),r},e.prototype.seriesAxes=function(t){var e=t.xAxis,o=t.yAxis,i=this.plotArea,n=e?i.namedXAxes[e]:i.axisX,r=o?i.namedYAxes[o]:i.axisY;if(!n)throw new Error("Unable to locate X axis with name "+e);if(!r)throw new Error("Unable to locate Y axis with name "+o);return{x:n,y:r}},e.prototype.reflow=function(t){var e=this,o=this.points,i=!this.options.clip,n=0;this.traverseDataPoints((function(t,r){var s=o[n++],a=e.seriesAxes(r.series),p=a.x.getSlot(t.x,t.x,i),c=a.y.getSlot(t.y,t.y,i);if(s)if(p&&c){var u=e.pointSlot(p,c);s.reflow(u)}else s.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new Ft(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=this.seriesPoints,i=0;i<e.length;i++){var n=e[i];o[i]||(o[i]=[]);for(var r=0;r<n.data.length;r++){var s=this._bindPoint(n,i,r),a=s.valueFields,p=s.fields;t(a,j({pointIx:r,series:n,seriesIx:i,dataItem:n.data[r],owner:this},p))}}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.x,o.y)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++)e.push((t[o]||{}).marker);return e},e}(qt);wt(ln,{series:[],tooltip:{format:"{0}, {1}"},labels:{format:"{0}, {1}"},clip:!0}),j(ln.prototype,Mi,{_bindPoint:yi.prototype._bindPoint});var hn=ln,dn=function(t){function e(e,o){t.call(this,e,o),this.category=e.category}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createHighlight=function(){var t=this.options.highlight,e=t.border,o=this.options.markers,i=this.box.center(),n=(o.size+o.border.width+e.width)/2,r=new S.drawing.Group,s=new S.drawing.Circle(new S.geometry.Circle([i.x,i.y+n/5+e.width/2],n+e.width/2),{stroke:{color:"none"},fill:this.createGradient({gradient:"bubbleShadow",color:o.background,stops:[{offset:0,color:o.background,opacity:.3},{offset:1,color:o.background,opacity:0}]})}),a=new S.drawing.Circle(new S.geometry.Circle([i.x,i.y],n),{stroke:{color:e.color||new S.Color(o.background).brightness(.8).toHex(),width:e.width,opacity:e.opacity},fill:{color:o.background,opacity:t.opacity}});return r.append(s,a),r},e}(mi);dn.prototype.defaults=j({},dn.prototype.defaults,{labels:{position:a},highlight:{opacity:1,border:{color:"#fff",width:2,opacity:1}}}),dn.prototype.defaults.highlight.zIndex=void 0;var fn=dn,yn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this._maxSize=d,t.prototype._initFields.call(this)},e.prototype.addValue=function(e,o){null!==e.size&&(e.size>0||e.size<0&&o.series.negativeValues.visible)?(this._maxSize=Math.max(this._maxSize,Math.abs(e.size)),t.prototype.addValue.call(this,e,o)):(this.points.push(null),this.seriesPoints[o.seriesIx].push(null))},e.prototype.reflow=function(e){this.updateBubblesSize(e),t.prototype.reflow.call(this,e)},e.prototype.pointType=function(){return fn},e.prototype.createPoint=function(t,e){var o=e.series,i=o.data.length,n=e.pointIx*(600/i),r={delay:n,duration:600-n,type:"bubble"},s=e.color||o.color;t.size<0&&o.negativeValues.visible&&(s=mt(o.negativeValues.color,s));var a=j({labels:{animation:{delay:n,duration:600-n}}},this.pointOptions(o,e.seriesIx),{markers:{type:p,border:o.border,opacity:o.opacity,animation:r}});a=this.evalPointOptions(a,t,e),T(o.color)&&(s=a.color),a.markers.background=s;var c=new fn(t,a);return c.color=s,this.append(c),c},e.prototype.updateBubblesSize=function(t){for(var e=this.options.series,o=Math.min(t.width(),t.height()),i=0;i<e.length;i++)for(var n=e[i],r=this.seriesPoints[i],s=(n.minSize||Math.max(.02*o,10))/2,a=(n.maxSize||.2*o)/2,p=Math.PI*s*s,c=(Math.PI*a*a-p)/this._maxSize,u=0;u<r.length;u++){var l=r[u];if(l){var h=Math.abs(l.value.size)*c,d=Math.sqrt((p+h)/Math.PI),f=mt(l.options.zIndex,0)+(1-d/a);j(l.options,{zIndex:f,markers:{size:2*d,zIndex:f},labels:{zIndex:f+1}})}}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.x,o.y,o.size,t.category)},e.prototype.createAnimation=function(){},e.prototype.createVisual=function(){},e}(hn);wt(yn,{tooltip:{format:"{3}"},labels:{format:"{3}"}});var vn=yn,gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}($t);j(gn.prototype,vi);var _n=gn,mn=function(t){function e(e,o){t.call(this,o),this.aboveAxis=this.options.aboveAxis,this.color=o.color||g,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options;this._rendered||(this._rendered=!0,st(this.value.target)&&(this.target=new _n({type:t.target.shape,background:t.target.color||this.color,opacity:t.opacity,zIndex:t.zIndex,border:t.target.border,vAlign:y,align:f}),this.target.value=this.value,this.target.dataItem=this.dataItem,this.target.series=this.series,this.append(this.target)),this.createNote())},e.prototype.reflow=function(t){this.render();var e=this.options,o=this.target,i=this.owner,n=e.invertAxes,r=i.seriesValueAxis(this.options),s=i.categorySlot(i.categoryAxis,e.categoryIx,r),a=r.getSlot(this.value.target),p=n?a:s,c=n?s:a;if(o){var u=new Ft(p.x1,c.y1,p.x2,c.y2);o.options.height=n?u.height():e.target.line.width,o.options.width=n?e.target.line.width:u.width(),o.reflow(u)}this.note&&this.note.reflow(t),this.box=t},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options,o=S.drawing.Path.fromRect(this.box.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&o.options.set("stroke",{color:e.border.color||this.color,width:e.border.width,dashType:e.border.dashType,opacity:mt(e.border.opacity,e.opacity)}),this.bodyVisual=o,k(o),this.visual.append(o)},e.prototype.createAnimation=function(){this.bodyVisual&&(this.animation=S.drawing.Animation.create(this.bodyVisual,this.options.animation))},e.prototype.createHighlight=function(t){return S.drawing.Path.fromRect(this.box.toRect(),t)},e.prototype.highlightVisual=function(){return this.bodyVisual},e.prototype.highlightVisualArgs=function(){return{rect:this.box.toRect(),visual:this.bodyVisual,options:this.options}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(qt);mn.prototype.tooltipAnchor=Ui.prototype.tooltipAnchor,wt(mn,{border:{width:1},vertical:!1,opacity:1,target:{shape:"",border:{width:0,color:"green"},line:{width:2}},tooltip:{format:"Current: {0}<br />Target: {1}"}}),j(mn.prototype,vi),j(mn.prototype,gi);var bn=mn,xn=function(t){function e(e,o){!function(t){for(var e=t.series,o=0;o<e.length;o++){var i=e[o],n=i.data;!n||b(n[0])||E(n[0])||(i.data=[n])}}(o),t.call(this,e,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,o=e.length,i=0;i<o;i++)e[i].reflow(t[i])},e.prototype.plotRange=function(t){var e=t.series,o=this.seriesValueAxis(e),i=this.categoryAxisCrossingValue(o);return[i,t.value.current||i]},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,n=e.series,r=e.seriesIx,s=this.options,a=this.children,p=t.valueFields,c=j({vertical:!s.invertAxes,overlay:n.overlay,categoryIx:o,invertAxes:s.invertAxes},n),u=t.fields.color||n.color;c=this.evalPointOptions(c,p,i,o,n,r),T(n.color)&&(u=c.color);var l=new bn(p,c);l.color=u;var h=a[o];return h||(h=new qi({vertical:s.invertAxes,gap:s.gap,spacing:s.spacing,rtl:!s.invertAxes&&(this.chartService||{}).rtl}),this.append(h)),h.append(l),l},e.prototype.updateRange=function(t,e){var o=t.current,i=t.target,n=e.series.axis,r=this.valueAxisRanges[n];st(o)&&!isNaN(o)&&st(i&&!isNaN(i))&&((r=this.valueAxisRanges[n]=r||{min:h,max:d}).min=Math.min(r.min,o,i),r.max=Math.max(r.max,o,i))},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value.current,t.value.target)},e.prototype.pointValue=function(t){return t.valueFields.current},e.prototype.aboveAxis=function(t){return t.value.current>0},e.prototype.createAnimation=function(){var t=this.points;this._setAnimationOptions();for(var e=0;e<t.length;e++){var o=t[e];o.options.animation=this.options.animation,o.createAnimation()}},e}(yi);xn.prototype._setAnimationOptions=$i.prototype._setAnimationOptions,wt(xn,{animation:{type:oi}});var wn=xn,Cn=function(t){function e(e,o){t.call(this),this.chartService=e,this.options=j({},this.options,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getStyle=function(t,e){var o=t.background,i=t.border.color;if(e){var n=e.color||e.options.color;o=mt(o,n),i=mt(i,n)}var r=V(t.padding||{},"auto");return{backgroundColor:o,borderColor:i,font:t.font,color:t.color,opacity:t.opacity,borderWidth:D(t.border.width),paddingTop:D(r.top),paddingBottom:D(r.bottom),paddingLeft:D(r.left),paddingRight:D(r.right)}},e.prototype.show=function(t,e,o){t.format=e.format;var i=this.getStyle(e,o);t.style=i;var n=new S.Color(i.backgroundColor);st(e.color)||n.isDark()||(t.className="k-chart-tooltip-inverse"),this.chartService.notify("showTooltip",t),this.visible=!0},e.prototype.hide=function(){this.chartService&&this.chartService.notify("hideTooltip"),this.visible=!1},e.prototype.destroy=function(){delete this.chartService},e}(S.Class);wt(Cn,{border:{width:1},opacity:1});var Sn=Cn,kn=function(t){function e(e,o,i){t.call(this,e,i),this.crosshair=o,this.formatService=e.format,this.initAxisName()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initAxisName=function(){var t,e=this.crosshair.axis;t=e.plotArea.categoryAxis?e.getCategory?"categoryAxis":"valueAxis":e.options.vertical?"yAxis":"xAxis",this.axisName=t},e.prototype.showAt=function(t){var e=this.crosshair.axis,o=this.options,i=e[o.stickyMode?"getCategory":"getValue"](t),n=i;o.format?n=this.formatService.auto(o.format,i):e.options.type===c&&(n=this.formatService.auto(e.options.labels.dateFormats[e.options.baseUnit],i)),this.show({point:t,anchor:this.getAnchor(),crosshair:this.crosshair,value:n,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex},this.options)},e.prototype.hide=function(){this.chartService.notify("hideTooltip",{crosshair:this.crosshair,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex})},e.prototype.getAnchor=function(){var t,e,o,i=this.crosshair,n=this.options,r=n.position,p=n.padding,c=!i.axis.options.vertical,u=i.line.bbox();return c?(t=a,r===s?(e=y,o=u.bottomLeft().translate(0,p)):(e=s,o=u.topLeft().translate(0,-p))):(e=a,r===l?(t=f,o=u.topLeft().translate(-p,0)):(t=l,o=u.topRight().translate(p,0))),{point:o,align:{horizontal:t,vertical:e}}},e}(Sn);wt(kn,{padding:10});var An=kn,In=function(t){function e(e,o,i){t.call(this,i),this.axis=o,this.stickyMode=o instanceof oo;var n=this.options.tooltip;n.visible&&(this.tooltip=new An(e,this,j({},n,{stickyMode:this.stickyMode})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t){this.point=t,this.moveLine(),this.line.visible(!0),this.tooltip&&this.tooltip.showAt(t)},e.prototype.hide=function(){this.line.visible(!1),this.tooltip&&this.tooltip.hide()},e.prototype.moveLine=function(){var t,e=this.axis,o=this.point,i=e.options.vertical,n=this.getBox(),r=i?m:_,s=new S.geometry.Point(n.x1,n.y1);if(t=i?new S.geometry.Point(n.x2,n.y1):new S.geometry.Point(n.x1,n.y2),o)if(this.stickyMode){var a=e.getSlot(e.pointCategoryIndex(o));s[r]=t[r]=a.center()[r]}else s[r]=t[r]=o[r];this.box=n,this.line.moveTo(s).lineTo(t)},e.prototype.getBox=function(){for(var t,e=this.axis,o=e.pane.axes,i=o.length,n=e.options.vertical,r=e.lineBox().clone(),s=n?_:m,a=0;a<i;a++){var p=o[a];p.options.vertical!==n&&(t?t.wrap(p.lineBox()):t=p.lineBox().clone())}return r[s+1]=t[s+1],r[s+2]=t[s+2],r},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options;this.line=new S.drawing.Path({stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType},visible:!1}),this.moveLine(),this.visual.append(this.line)},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),t.prototype.destroy.call(this)},e}(qt);wt(In,{color:r,width:2,zIndex:-1,tooltip:{visible:!1}});var Pn=In,On=function(t){function e(e,o){t.call(this,e),this.pane=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.shouldClip=function(){for(var t=this.children,e=t.length,o=0;o<e;o++)if(!0===t[o].options.clip)return!0;return!1},e.prototype._clipBox=function(){return this.pane.chartsBox()},e.prototype.createVisual=function(){if(this.visual=new S.drawing.Group({zIndex:0}),this.shouldClip()){var t=(this.clipBox=this._clipBox()).toRect(),e=S.drawing.Path.fromRect(t);k(e),this.visual.clip(e),this.unclipLabels()}},e.prototype.stackRoot=function(){return this},e.prototype.unclipLabels=function(){for(var t=this.children,e=this.clipBox,o=0;o<t.length;o++)for(var i=t[o].points||{},n=i.length,r=0;r<n;r++){var s=i[r];if(s&&!1!==s.visible&&s.overlapsBox&&s.overlapsBox(e))if(s.unclipElements)s.unclipElements();else{var a=s.label,p=s.note;a&&a.options.visible&&(a.alignToClipBox&&a.alignToClipBox(e),a.options.noclip=!0),p&&p.options.visible&&(p.options.noclip=!0)}}},e.prototype.destroy=function(){t.prototype.destroy.call(this),delete this.parent},e}(qt);On.prototype.isStackRoot=!0;var Tn=On,Mn=function(t){function e(e){t.call(this,e),this.id="pane"+jn++,this.createTitle(),this.content=new qt,this.chartContainer=new Tn({},this),this.append(this.content),this.axes=[],this.charts=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createTitle=function(){var t=this.options.title;E(t)&&(t=j({},t,{align:t.position,position:y})),this.title=he.buildTitle(t,this,e.prototype.options.title)},e.prototype.appendAxis=function(t){this.content.append(t),this.axes.push(t),t.pane=this},e.prototype.appendAxisAt=function(t,e){this.content.append(t),this.axes.splice(e,0,t),t.pane=this},e.prototype.appendChart=function(t){this.chartContainer.parent!==this.content&&this.content.append(this.chartContainer),this.charts.push(t),this.chartContainer.append(t),t.pane=this},e.prototype.empty=function(){var t=this.parent;if(t){for(var e=0;e<this.axes.length;e++)t.removeAxis(this.axes[e]);for(var o=0;o<this.charts.length;o++)t.removeChart(this.charts[o])}this.axes=[],this.charts=[],this.content.destroy(),this.content.children=[],this.chartContainer.children=[]},e.prototype.reflow=function(e){var o;dt(this.children)===this.content&&(o=this.children.pop()),t.prototype.reflow.call(this,e),o&&this.children.push(o),this.title&&(this.contentBox.y1+=this.title.box.height())},e.prototype.visualStyle=function(){var e=t.prototype.visualStyle.call(this);return e.zIndex=-10,e},e.prototype.renderComplete=function(){this.options.visible&&this.createGridLines()},e.prototype.stackRoot=function(){return this},e.prototype.clipRoot=function(){return this},e.prototype.createGridLines=function(){for(var t=this.axes,e=t.concat(this.parent.axes),o=[],i=[],n=0;n<t.length;n++)for(var r=t[n],s=r.options.vertical,a=s?o:i,p=0;p<e.length;p++)if(0===a.length){var c=e[p];s!==c.options.vertical&&nt(a,r.createGridLines(c))}},e.prototype.refresh=function(){this.visual.clear(),this.content.parent=null,this.content.createGradient=this.createGradient.bind(this),this.content.renderVisual(),this.content.parent=this,this.title&&this.visual.append(this.title.visual),this.visual.append(this.content.visual),this.renderComplete(),this.notifyRender()},e.prototype.chartsBox=function(){for(var t=this.axes,e=t.length,o=new Ft,i=0;i<e;i++){var n=t[i],r=n.options.vertical?m:_,s=n.lineBox();o[r+1]=s[r+1],o[r+2]=s[r+2]}if(0===o.x2)for(var a=this.parent.axes,p=a.length,c=0;c<p;c++){var u=a[c];if(!u.options.vertical){var l=u.lineBox();o.x1=l.x1,o.x2=l.x2}}return o},e.prototype.clipBox=function(){return this.chartContainer.clipBox},e.prototype.notifyRender=function(){var t=this.getService();t&&t.notify("paneRender",{pane:new Ho(this),index:this.paneIndex,name:this.options.name})},e}(Qt),jn=1;Mn.prototype.isStackRoot=!0,wt(Mn,{zIndex:-1,shrinkToFit:!0,title:{align:l},visible:!0});var En=Mn;function Dn(t,e){null!==e&&t.push(e)}function Bn(t,e,o){var i=e.visible;if(st(i))return i;var n=t.pointVisibility;return n?n[o]:void 0}function Rn(t){for(var e=t.data,o=[],i=0,n=0,r=0;r<e.length;r++){var s=Zo.current.bindPoint(t,r),a=s.valueFields.value;P(a)&&(a=parseFloat(a)),I(a)?(s.visible=!1!==Bn(t,s.fields,r),s.value=Math.abs(a),o.push(s),s.visible&&(i+=s.value),0!==a&&n++):o.push(null)}return{total:i,points:o,count:n}}function Ln(t,e){return t&&e?t.toLowerCase()===e.toLowerCase():t===e}function Vn(t,e){for(var o=[],i=[].concat(e),n=0;n<t.length;n++){var r=t[n];Q(r.type,i)&&o.push(r)}return o}function Nn(t,e,o){if(null===e)return e;var i="_date_"+t,n=e[i];return n||(n=$e(o,W(t)(e)),e[i]=n),n}function zn(t,e){var o=t.type,i=e instanceof Date;return!o&&i||Ln(o,c)}function Fn(t){return 1===t.length?t[0]:t}var Hn=/area/i;function Gn(t,e){var o=Zo.current.bindPoint(t,null,e).valueFields;for(var i in o)if(O(o[i]))return!0}function Un(t){var e,o,i=t.start,n=t.dir,r=t.min,s=t.max,a=t.getter,p=t.hasItem,c=t.series,u=i;do{p(u+=n)&&(e=Gn(c,(o=a(u)).item))}while(r<=u&&u<=s&&!e);if(e)return o}function Wn(t,e,o,i,n){var r=e.min,s=e.max,a=r>0&&r<o,p=s+1<o;if(a||p){var c,u,l;if("interpolate"!==function(t){return t.missingValues?t.missingValues:Hn.test(t.type)||t.stack?ei:"interpolate"}(t))a&&(c=i(r-1)),p&&(u=i(s+1));else a&&(c=Gn(t,(l=i(r-1)).item)?l:Un({start:r,dir:-1,min:0,max:o-1,getter:i,hasItem:n,series:t})),p&&(u=Gn(t,(l=i(s+1)).item)?l:Un({start:s,dir:1,min:0,max:o-1,getter:i,hasItem:n,series:t}));c&&(t._outOfRangeMinPoint=c),u&&(t._outOfRangeMaxPoint=u)}}var Yn=function(t){function e(e,o,i){t.call(this,o),this.initFields(e,o),this.series=e,this.initSeries(),this.charts=[],this.options.legend=this.options.legend||{},this.options.legend.items=[],this.axes=[],this.crosshairs=[],this.chartService=i,this.originalOptions=o,this.createPanes(),this.render(),this.createCrosshairs()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.initSeries=function(){for(var t=this.series,e=0;e<t.length;e++)t[e].index=e},e.prototype.createPanes=function(){for(var t=this.options.title||{},e=this.options.paneDefaults,o=this.options.panes||[],i=Math.max(o.length,1),n=[],r=j({title:{color:t.color}},e),s=0;s<i;s++){var a=j({},r,o[s]);P(a.title)&&(a.title=j({text:a.title},r.title));var p=new En(a);p.paneIndex=s,n.push(p),this.append(p)}this.panes=n},e.prototype.crosshairOptions=function(t){return t.options.crosshair},e.prototype.createCrosshairs=function(t){void 0===t&&(t=this.panes);for(var e=0;e<t.length;e++)for(var o=t[e],i=0;i<o.axes.length;i++){var n=o.axes[i],r=this.crosshairOptions(n);if(r&&r.visible){var s=new Pn(this.chartService,n,r);this.crosshairs.push(s),o.content.append(s)}}},e.prototype.removeCrosshairs=function(t){for(var e=this.crosshairs,o=t.axes,i=e.length-1;i>=0;i--)for(var n=0;n<o.length;n++)if(e[i].axis===o[n]){e.splice(i,1);break}},e.prototype.hideCrosshairs=function(){for(var t=this.crosshairs,e=0;e<t.length;e++)t[e].hide()},e.prototype.findPane=function(t){for(var e,o=this.panes,i=0;i<o.length;i++)if(o[i].options.name===t){e=o[i];break}return e||o[0]},e.prototype.findPointPane=function(t){for(var e,o=this.panes,i=0;i<o.length;i++)if(o[i].box.containsPoint(t)){e=o[i];break}return e},e.prototype.appendAxis=function(t){this.findPane(t.options.pane).appendAxis(t),this.axes.push(t),t.plotArea=this},e.prototype.removeAxis=function(t){for(var e=[],o=0;o<this.axes.length;o++){var i=this.axes[o];t!==i?e.push(i):i.destroy()}this.axes=e},e.prototype.appendChart=function(t,e){this.charts.push(t),e?e.appendChart(t):this.append(t)},e.prototype.removeChart=function(t){for(var e=[],o=0;o<this.charts.length;o++){var i=this.charts[o];i!==t?e.push(i):i.destroy()}this.charts=e},e.prototype.addToLegend=function(t){for(var e=t.length,o=this.options.legend,i=o.labels||{},n=o.inactiveItems||{},r=n.labels||{},s=[],a=0;a<e;a++){var p=t[a],c=!1!==p.visible;if(!1!==p.visibleInLegend){var u=p.name,l=c?H(i):H(r)||H(i);l&&(u=l({text:un(u)?u:"",series:p}));var h=p._defaults,d=p.color;T(d)&&h&&(d=h.color);var f=void 0,y=void 0;c?(f={},y=d):(f={color:r.color,font:r.font},y=n.markers.color),un(u)&&""!==u&&s.push({text:u,labels:f,markerColor:y,series:p,active:c})}}nt(o.items,s)},e.prototype.groupAxes=function(t){for(var e=[],o=[],i=0;i<t.length;i++)for(var n=t[i].axes,r=0;r<n.length;r++){var s=n[r];s.options.vertical?o.push(s):e.push(s)}return{x:e,y:o,any:e.concat(o)}},e.prototype.groupSeriesByPane=function(){for(var t=this.series,e={},o=0;o<t.length;o++){var i=t[o],n=this.seriesPaneName(i);e[n]?e[n].push(i):e[n]=[i]}return e},e.prototype.filterVisibleSeries=function(t){for(var e=[],o=0;o<t.length;o++){var i=t[o];!1!==i.visible&&e.push(i)}return e},e.prototype.reflow=function(t){var e=this.options.plotArea,o=this.panes,i=V(e.margin);this.box=t.clone().unpad(i),this.reflowPanes(),this.detachLabels(),this.reflowAxes(o),this.reflowCharts(o)},e.prototype.redraw=function(t){var e=[].concat(t);this.initSeries();var o=this.getRoot();o&&o.cleanGradients();for(var i=0;i<e.length;i++)this.removeCrosshairs(e[i]),e[i].empty();this.render(e),this.detachLabels(),this.reflowAxes(this.panes),this.reflowCharts(e),this.createCrosshairs(e);for(var n=0;n<e.length;n++)e[n].refresh()},e.prototype.axisCrossingValues=function(t,e){for(var o=t.options,i=[].concat(o.axisCrossingValues||o.axisCrossingValue),n=e.length-i.length,r=i[0]||0,s=0;s<n;s++)i.push(r);return i},e.prototype.alignAxisTo=function(t,e,o,i){var n=t.getSlot(o,o,!0),r=t.options.reverse?2:1,s=e.getSlot(i,i,!0),a=e.options.reverse?2:1,p=t.box.translate(s[_+a]-n[_+r],s[m+a]-n[m+r]);t.pane!==e.pane&&p.translate(0,t.pane.box.y1-e.pane.box.y1),t.reflow(p)},e.prototype.alignAxes=function(t,e){for(var o=t[0],i=e[0],n=this.axisCrossingValues(o,e),r=this.axisCrossingValues(i,t),a={},p={},c={},u={},h=0;h<e.length;h++){var d=e[h],v=d.pane,g=v.id,_=!1!==d.options.visible,m=Zn(t,v)||o,b=n;m!==o&&(b=this.axisCrossingValues(m,e)),this.alignAxisTo(d,m,r[h],b[h]),d.options._overlap||(gt(d.lineBox().x1)===gt(m.lineBox().x1)&&(a[g]&&d.reflow(d.box.alignTo(a[g].box,l).translate(-d.options.margin,0)),_&&(a[g]=d)),gt(d.lineBox().x2)===gt(m.lineBox().x2)&&(d._mirrored||(d.options.labels.mirror=!d.options.labels.mirror,d._mirrored=!0),this.alignAxisTo(d,m,r[h],b[h]),p[g]&&d.reflow(d.box.alignTo(p[g].box,f).translate(d.options.margin,0)),_&&(p[g]=d)),0!==h&&i.pane===d.pane&&(d.alignTo(i),d.reflow(d.box)))}for(var x=0;x<t.length;x++){var w=t[x],C=w.pane,S=C.id,k=!1!==w.options.visible,A=Zn(e,C)||i,I=r;A!==i&&(I=this.axisCrossingValues(A,t)),this.alignAxisTo(w,A,n[x],I[x]),w.options._overlap||(gt(w.lineBox().y1)===gt(A.lineBox().y1)&&(w._mirrored||(w.options.labels.mirror=!w.options.labels.mirror,w._mirrored=!0),this.alignAxisTo(w,A,n[x],I[x]),c[S]&&w.reflow(w.box.alignTo(c[S].box,y).translate(0,-w.options.margin)),k&&(c[S]=w)),gt(w.lineBox().y2,3)===gt(A.lineBox().y2,3)&&(u[S]&&w.reflow(w.box.alignTo(u[S].box,s).translate(0,w.options.margin)),k&&(u[S]=w)),0!==x&&(w.alignTo(o),w.reflow(w.box)))}},e.prototype.shrinkAxisWidth=function(t){for(var e=this.groupAxes(t).any,o=qn(e),i=0,n=0;n<t.length;n++){var r=t[n];r.axes.length>0&&(i=Math.max(i,o.width()-r.contentBox.width()))}if(0!==i)for(var s=0;s<e.length;s++){var a=e[s];a.options.vertical||a.reflow(a.box.shrink(i,0))}},e.prototype.shrinkAxisHeight=function(t){for(var e,o=0;o<t.length;o++){var i=t[o],n=i.axes,r=Math.max(0,qn(n).height()-i.contentBox.height());if(0!==r){for(var s=0;s<n.length;s++){var a=n[s];a.options.vertical&&a.reflow(a.box.shrink(0,r))}e=!0}}return e},e.prototype.fitAxes=function(t){for(var e=this.groupAxes(t).any,o=0,i=0;i<t.length;i++){var n=t[i],r=n.axes,s=n.contentBox;if(r.length>0){var a=qn(r),p=Math.max(s.y1-a.y1,s.y2-a.y2);o=Math.max(o,s.x1-a.x1);for(var c=0;c<r.length;c++){var u=r[c];u.reflow(u.box.translate(0,p))}}}for(var l=0;l<e.length;l++){var h=e[l];h.reflow(h.box.translate(o,0))}},e.prototype.reflowAxes=function(t){for(var e=this.groupAxes(t),o=0;o<t.length;o++)this.reflowPaneAxes(t[o]);e.x.length>0&&e.y.length>0&&(this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t),this.autoRotateAxisLabels(e),this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t)&&this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t),this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t)&&this.alignAxes(e.x,e.y),this.fitAxes(t))},e.prototype.autoRotateAxisLabels=function(t){for(var e,o=this.panes,i=Qn(o),n=0;n<i.length;n++){i[n].autoRotateLabels()&&(e=!0)}if(e){for(var r=0;r<o.length;r++)this.reflowPaneAxes(o[r]);t.x.length>0&&t.y.length>0&&(this.alignAxes(t.x,t.y),this.shrinkAxisWidth(o))}},e.prototype.reflowPaneAxes=function(t){var e=t.axes,o=e.length;if(o>0)for(var i=0;i<o;i++)e[i].reflow(t.contentBox)},e.prototype.reflowCharts=function(t){for(var e=this.charts,o=e.length,i=this.box,n=0;n<o;n++){var r=e[n].pane;r&&!Q(r,t)||e[n].reflow(i)}},e.prototype.reflowPanes=function(){for(var t=this.box,e=this.panes,o=e.length,i=t.height(),n=0,r=t.y1,s=0;s<o;s++){var a=e[s],p=a.options.height;if(a.options.width=t.width(),a.options.height){if(p.indexOf&&p.indexOf("%")){var c=parseInt(p,10)/100;a.options.height=c*t.height()}a.reflow(t.clone()),i-=a.options.height}else n++}for(var u=0;u<o;u++){var l=e[u];l.options.height||(l.options.height=i/n)}for(var h=0;h<o;h++){var d=e[h],f=t.clone().move(t.x1,r);d.reflow(f),r+=d.options.height}},e.prototype.backgroundBox=function(){for(var t,e=this.axes,o=e.length,i=0;i<o;i++)for(var n=e[i],r=0;r<o;r++){var s=e[r];if(n.options.vertical!==s.options.vertical){var a=n.lineBox().clone().wrap(s.lineBox());t=t?t.wrap(a):a}}return t||this.box},e.prototype.chartsBoxes=function(){for(var t=this.panes,e=[],o=0;o<t.length;o++)e.push(t[o].chartsBox());return e},e.prototype.addBackgroundPaths=function(t){for(var e=this.chartsBoxes(),o=0;o<e.length;o++)t.paths.push(S.drawing.Path.fromRect(e[o].toRect()))},e.prototype.backgroundContainsPoint=function(t){for(var e=this.chartsBoxes(),o=0;o<e.length;o++)if(e[o].containsPoint(t))return!0},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e,o=this.options.plotArea,i=o.opacity,n=o.background,r=o.border;void 0===r&&(r={}),""!==(e=n)&&null!==e&&"none"!==e&&"transparent"!==e&&st(e)||(n=g,i=0);var s=this._bgVisual=new S.drawing.MultiPath({fill:{color:n,opacity:i},stroke:{color:r.width?r.color:"",width:r.width,dashType:r.dashType},zIndex:-1});this.addBackgroundPaths(s),this.appendVisual(s)},e.prototype.pointsByCategoryIndex=function(t){var e=this.charts,o=[];if(null!==t)for(var i=0;i<e.length;i++){if("_navigator"!==e[i].pane.options.name){var n=e[i].categoryPoints[t];if(n&&n.length)for(var r=0;r<n.length;r++){var s=n[r];s&&st(s.value)&&null!==s.value&&o.push(s)}}}return o},e.prototype.pointsBySeriesIndex=function(t){return this.filterPoints((function(e){return e.series.index===t}))},e.prototype.pointsBySeriesName=function(t){return this.filterPoints((function(e){return e.series.name===t}))},e.prototype.filterPoints=function(t){for(var e=this.charts,o=[],i=0;i<e.length;i++)for(var n=e[i].points,r=0;r<n.length;r++){var s=n[r];s&&!1!==s.visible&&t(s)&&o.push(s)}return o},e.prototype.findPoint=function(t){for(var e=this.charts,o=0;o<e.length;o++)for(var i=e[o].points,n=0;n<i.length;n++){var r=i[n];if(r&&!1!==r.visible&&t(r))return r}},e.prototype.paneByPoint=function(t){for(var e=this.panes,o=0;o<e.length;o++){var i=e[o];if(i.box.containsPoint(t))return i}},e.prototype.detachLabels=function(){var t=this.groupAxes(this.panes),e=t.x,o=t.y;this.detachAxisGroupLabels(o,e),this.detachAxisGroupLabels(e,o)},e.prototype.detachAxisGroupLabels=function(t,e){for(var o=0,i=0;i<t.length;i++){var n=t[i],r=n.pane,s=Zn(e,r)||e[0],a=i+o,p=this.createLabelAxis(n,a,s);if(p){o++;var c=r.axes.indexOf(n)+o;r.appendAxisAt(p,c)}}},e.prototype.createLabelAxis=function(t,e,o){var i=t.options.labels,n=i.position,r="end"!==n&&"start"!==n,s=i.visible;if(r||!1===s)return null;var a=this.groupAxes(this.panes),p=o.options.vertical?a.x:a.y,c=this.axisCrossingValues(o,p),u="end"===n,l=o.range(),h=u?l.max:l.min;if(ft(c[e],l.min,l.max)-h==0)return null;c.splice(e+1,0,h),o.options.axisCrossingValues=c;var d=t.clone();return t.clear(),d.options.name=void 0,d.options.line.visible=!1,d.options.crosshair=void 0,d.options.notes=void 0,d.options.plotBands=void 0,d},e}(qt);function Xn(t){return!t.pane.axes.some((function(e){return e.options.vertical===t.options.vertical&&e!==t&&!1!==e.options.visible}))}function qn(t){for(var e,o=t.length,i=0;i<o;i++){var n=t[i],r=!1!==n.options.visible;if(r||Xn(n)){var s=r?n.contentBox():n.lineBox();e?e.wrap(s):e=s.clone()}}return e||new Ft}function Zn(t,e){for(var o=0;o<t.length;o++){var i=t[o];if(i&&i.pane===e)return i}}var Qn=function(t){return t.reduce((function(t,e){return t.concat(e.axes)}),[])};wt(Yn,{series:[],plotArea:{margin:{}},background:"",border:{color:r,width:0},paneDefaults:{title:{}},legend:{inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}}});var Kn=Yn,$n={hover:function(t,e){this._dispatchEvent(t,e,"plotAreaHover")},click:function(t,e){this._dispatchEvent(t,e,"plotAreaClick")}};function Jn(t,e,o){var i=e,n=t;if(t.indexOf(".")>-1){for(var r=t.split(".");r.length>1;)n=r.shift(),st(i[n])||(i[n]={}),i=i[n];n=r.shift()}i[n]=o}var tr=function(t){function e(e,o,i){t.call(this);var n=o.canonicalFields(e),r=o.valueFields(e),s=o.sourceFields(e,n),a=this._seriesFields=[],p=i.query(e.type),c=e.aggregate||p;this._series=e,this._binder=o;for(var u=0;u<n.length;u++){var l=n[u],h=void 0;if(E(c))h=c[l];else{if(0!==u&&!Q(l,r))break;h=c}h&&a.push({canonicalName:l,name:s[u],transform:T(h)?h:Yo[h]})}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aggregatePoints=function(t,e){var o=this._series,i=this._seriesFields,n=this._bindPoints(t||[]),r=n.dataItems[0],s={};if(r&&!I(r)&&!b(r)){var a=function(){};a.prototype=r,s=new a}for(var p=0;p<i.length;p++){var c=i[p],u=this._bindField(n.values,c.canonicalName),l=c.transform(u,o,n.dataItems,e);if(!(null===l||!E(l)||st(l.length)||l instanceof Date)){s=l;break}st(l)&&Jn(c.name,s,l)}return s},e.prototype._bindPoints=function(t){for(var e=this._binder,o=this._series,i=[],n=[],r=0;r<t.length;r++){var s=t[r];i.push(e.bindPoint(o,s)),n.push(o.data[s])}return{values:i,dataItems:n}},e.prototype._bindField=function(t,e){for(var o=[],i=t.length,n=0;n<i;n++){var r=t[n],s=r.valueFields,a=void 0;a=st(s[e])?s[e]:r.fields[e],o.push(a)}return o},e}(S.Class),er=function(t){function e(){t.call(this),this._defaults={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){for(var o=0;o<t.length;o++)this._defaults[t[o]]=e},e.prototype.query=function(t){return this._defaults[t]},e}(S.Class);er.current=new er;var or=er,ir=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createLabel=function(){var t=this.options.labels,e=j({},t,t.from),o=j({},t,t.to);e.visible&&(this.labelFrom=this._createLabel(e),this.append(this.labelFrom)),o.visible&&(this.labelTo=this._createLabel(o),this.append(this.labelTo))},e.prototype._createLabel=function(t){var e,o=H(t),i=this.pointData();return e=o?o(i):this.formatValue(t.format),new Fi(e,j({vertical:this.options.vertical},t),i)},e.prototype.reflow=function(t){this.render();var e=this.labelFrom,o=this.labelTo,i=this.value;this.box=t,e&&(e.options.aboveAxis=i.from>i.to,e.reflow(t)),o&&(o.options.aboveAxis=i.to>i.from,o.reflow(t)),this.note&&this.note.reflow(t)},e}(Ui);ir.prototype.defaults=j({},ir.prototype.defaults,{labels:{format:"{0} - {1}"},tooltip:{format:"{1}"}});var nr=ir,rr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return nr},e.prototype.pointValue=function(t){return t.valueFields},e.prototype.formatPointValue=function(t,e){return null===t.value.from&&null===t.value.to?"":this.chartService.format.auto(e,t.value.from,t.value.to)},e.prototype.plotRange=function(t){return t?[t.value.from,t.value.to]:0},e.prototype.updateRange=function(t,e){var o=e.series.axis,i=t.from,n=t.to,r=this.valueAxisRanges[o];null!==t&&I(i)&&I(n)&&((r=this.valueAxisRanges[o]=r||{min:h,max:d}).min=Math.min(r.min,i),r.max=Math.max(r.max,i),r.min=Math.min(r.min,n),r.max=Math.max(r.max,n))},e.prototype.aboveAxis=function(t){var e=t.value;return e.from<e.to},e}($i);rr.prototype.plotLimits=yi.prototype.plotLimits;var sr=rr,ar=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aliasFor=function(){return this.parent},e}(mi),pr=function(t){function e(e,o){t.call(this),this.value=e,this.options=o,this.aboveAxis=mt(this.options.aboveAxis,!0),this.tooltipTracking=!0,this.initLabelsFormat()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){if(!this._rendered){this._rendered=!0;var t=this.options,e=t.markers,o=t.labels,i=this.value,n=this.fromPoint=new ar(i,j({},this.options,{labels:o.from,markers:e.from})),r=this.toPoint=new ar(i,j({},this.options,{labels:o.to,markers:e.to}));this.copyFields(n),this.copyFields(r),this.append(n),this.append(r)}},e.prototype.reflow=function(t){this.render();var e=t.from,o=t.to;this.positionLabels(e,o),this.fromPoint.reflow(e),this.toPoint.reflow(o),this.box=this.fromPoint.markerBox().clone().wrap(this.toPoint.markerBox())},e.prototype.createHighlight=function(){var t=new S.drawing.Group;return t.append(this.fromPoint.createHighlight()),t.append(this.toPoint.createHighlight()),t},e.prototype.highlightVisual=function(){return this.visual},e.prototype.highlightVisualArgs=function(){return{options:this.options,from:this.fromPoint.highlightVisualArgs(),to:this.toPoint.highlightVisualArgs()}},e.prototype.tooltipAnchor=function(){var t=this.owner.pane.clipBox();if(!t||t.overlaps(this.box)){var e,o,i,n=this.box,r=n.center();return this.options.vertical?(e=r.x,o=n.y1-5,i=s):(e=n.x2+5,o=r.y,i=a),{point:new Nt(e,o),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){this.fromPoint.unclipElements(),this.toPoint.unclipElements()},e.prototype.initLabelsFormat=function(){var t=this.options.labels;t.format||(t.from&&t.from.format||(t.from=Object.assign({},t.from,{format:"{0}"})),t.to&&t.to.format||(t.to=Object.assign({},t.to,{format:"{1}"})))},e.prototype.positionLabels=function(t,e){var o,i,n=this.options,r=n.labels,s=n.vertical;"auto"===r.position&&(s?e.y1<=t.y1?(i="above",o="below"):(i="below",o="above"):e.x1<=t.x1?(i=l,o=f):(i=f,o=l),r.from&&r.from.position||(this.fromPoint.options.labels.position=o),r.to&&r.to.position||(this.toPoint.options.labels.position=i))},e.prototype.copyFields=function(t){t.dataItem=this.dataItem,t.category=this.category,t.series=this.series,t.color=this.color,t.owner=this.owner},e}(qt);j(pr.prototype,vi),j(pr.prototype,gi),pr.prototype.defaults={markers:{visible:!1,background:g,size:8,type:p,border:{width:2},opacity:1},labels:{visible:!1,margin:V(3),padding:V(4),animation:{type:"fadeIn",delay:600},position:"auto"},notes:{label:{}},highlight:{markers:{border:{color:g,width:2}},zIndex:100},tooltip:{format:"{0} - {1}"}};var cr=pr,ur=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.toGeometryPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.toGeometryPoints(this.fromPoints().reverse()))),t},e.prototype.createStroke=function(t){var e=new S.drawing.Path(t),o=new S.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),o.segments.push.apply(o.segments,this.stackSegments()),this.visual.append(e),this.visual.append(o)},e.prototype.hasStackSegment=function(){return!0},e.prototype.fromPoints=function(){return this.linePoints.map((function(t){return t.fromPoint}))},e.prototype.toPoints=function(){return this.linePoints.map((function(t){return t.toPoint}))},e}(Di),lr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.createCurveSegments(this.toPoints())},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.createCurveSegments(this.fromPoints().reverse())),t},e.prototype.createCurveSegments=function(t){return(new Vo).process(this.toGeometryPoints(t))},e}(ur),hr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.calculateStepPoints(this.fromPoints()))).reverse(),t},e}(ur);j(hr.prototype,Ci);var dr=hr,fr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.pointType=function(){return cr},e.prototype.createPoint=function(t,e){var o=e.categoryIx,i=e.category,n=e.series,r=e.seriesIx,s=t.valueFields;if(!un(s.from)&&!un(s.to)){if(this.seriesMissingValues(n)!==ei)return null;s={from:0,to:0}}var a=this.pointOptions(n,r);a=this.evalPointOptions(a,s,i,o,n,r);var p=t.fields.color||n.color;T(n.color)&&(p=a.color);var c=new cr(s,a);return c.color=p,this.append(c),c},e.prototype.createSegment=function(t,e,o){var i=(e.line||{}).style;return new("smooth"===i?lr:"step"===i?dr:ur)(t,e,o)},e.prototype.plotRange=function(t,e){return t?[t.value.from,t.value.to]:[e,e]},e.prototype.valueSlot=function(t,e){var o=t.getSlot(e[0],e[0],!this.options.clip),i=t.getSlot(e[1],e[1],!this.options.clip);if(o&&i)return{from:o,to:i}},e.prototype.pointSlot=function(t,e){var o,i,n=e.from,r=e.to;return this.options.invertAxes?(o=new Ft(n.x1,t.y1,n.x2,t.y2),i=new Ft(r.x1,t.y1,r.x2,t.y2)):(o=new Ft(t.x1,n.y1,t.x2,n.y2),i=new Ft(t.x1,r.y1,t.x2,r.y2)),{from:o,to:i}},e.prototype.addValue=function(e,o){var i=e.valueFields;I(i.from)||(i.from=i.to),I(i.to)||(i.to=i.from),t.prototype.addValue.call(this,e,o)},e.prototype.updateRange=function(t,e){if(null!==t&&I(t.from)&&I(t.to)){var o=e.series.axis,i=this.valueAxisRanges[o]=this.valueAxisRanges[o]||{min:h,max:d},n=t.from,r=t.to;i.min=Math.min(i.min,n,r),i.max=Math.max(i.max,n,r)}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.from,o.to)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++){var i=t[o];i&&(e.push((i.fromPoint||{}).marker),e.push((i.toPoint||{}).marker))}return e.concat(this._segments)},e}(yi);j(fr.prototype,Ii,Mi);var yr=fr,vr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=this.value,i=this.owner.seriesValueAxis(e),n=[],r=[],s=[],a=i.getSlot(o.low,o.high),p=i.getSlot(o.open,o.open),c=i.getSlot(o.close,o.close);p.x1=c.x1=a.x1=t.x1,p.x2=c.x2=a.x2=t.x2;var u=a.center().x;n.push([p.x1,p.y1]),n.push([u,p.y1]),r.push([u,c.y1]),r.push([c.x2,c.y1]),s.push([u,a.y1]),s.push([u,a.y2]),this.lines=[n,r,s],this.box=a.clone().wrap(p.clone().wrap(c)),this.reflowNote()},e.prototype.createBody=function(){},e}(tn),gr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return vr},e}(nn),_r=function(t){function e(e,o,i){t.call(this),this.from=e,this.to=o,this.series=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.linePoints=function(){var t=this.from,e=this.from.box,o=this.to.box,i=[];if(t.isVertical){var n=t.aboveAxis?e.y1:e.y2;i.push([e.x1,n],[o.x2,n])}else{var r=t.aboveAxis?e.x2:e.x1;i.push([r,e.y1],[r,o.y2])}return i},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.series.line||{},o=S.drawing.Path.fromPoints(this.linePoints(),{stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType}});k(o),this.visual.append(o)},e}(qt);wt(_r,{animation:{type:"fadeIn",delay:600}});var mr=_r,br=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.createSegments()},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=di(e),i=!this.options.invertAxes,n=0;n<e.length;n++)for(var r=e[n],s=0,a=0,p=0;p<o;p++){var c=Zo.current.bindPoint(r,p),u=c.valueFields.value,l=c.fields.summary,h=s,d=void 0;l?"total"===l.toLowerCase()?(c.valueFields.value=s,h=0,d=s):(c.valueFields.value=a,d=h-a,a=0):I(u)&&(a+=u,d=s+=u),t(c,{category:this.categoryAxis.categoryAt(p),categoryIx:p,series:r,seriesIx:n,total:s,runningTotal:a,from:h,to:d,isVertical:i})}},e.prototype.updateRange=function(e,o){t.prototype.updateRange.call(this,{value:o.to},o)},e.prototype.aboveAxis=function(t){return t.value>=0},e.prototype.plotRange=function(t){return[t.from,t.to]},e.prototype.createSegments=function(){for(var t=this.options.series,e=this.seriesPoints,o=this.segments=[],i=0;i<t.length;i++){var n=t[i],r=e[i];if(r)for(var s=void 0,a=0;a<r.length;a++){var p=r[a];if(p&&s){var c=new mr(s,p,n);o.push(c),this.append(c)}s=p}}},e}($i),xr=["area","verticalArea","rangeArea","verticalRangeArea"],wr=[ni,si].concat(xr),Cr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(t){if(this.namedCategoryAxes={},this.namedValueAxes={},this.valueAxisRangeTracker=new Ni,t.length>0){this.invertAxes=Q(t[0].type,[oi,"bullet",si,"verticalArea","verticalRangeArea","rangeBar","horizontalWaterfall","verticalBoxPlot"]);for(var e=0;e<t.length;e++){var o=t[e].stack;if(o&&"100%"===o.type){this.stack100=!0;break}}}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.createCategoryAxes(t),this.aggregateCategories(t),this.createCategoryAxesLabels(t),this.createCharts(t),this.createValueAxes(t)},e.prototype.removeAxis=function(e){var o=e.options.name;t.prototype.removeAxis.call(this,e),e instanceof oo?delete this.namedCategoryAxes[o]:(this.valueAxisRangeTracker.reset(o),delete this.namedValueAxes[o]),e===this.categoryAxis&&delete this.categoryAxis,e===this.valueAxis&&delete this.valueAxis},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),o=0;o<t.length;o++){var i=t[o],n=e[i.options.name||"default"]||[];this.addToLegend(n);var r=this.filterVisibleSeries(n);if(r)for(var s=this.groupSeriesByCategoryAxis(r),a=0;a<s.length;a++)this.createChartGroup(s[a],i)}},e.prototype.createChartGroup=function(t,e){this.createAreaChart(Vn(t,["area","verticalArea"]),e),this.createRangeAreaChart(Vn(t,["rangeArea","verticalRangeArea"]),e),this.createBarChart(Vn(t,[ii,oi]),e),this.createRangeBarChart(Vn(t,["rangeColumn","rangeBar"]),e),this.createBulletChart(Vn(t,["bullet","verticalBullet"]),e),this.createCandlestickChart(Vn(t,"candlestick"),e),this.createBoxPlotChart(Vn(t,["boxPlot","verticalBoxPlot"]),e),this.createOHLCChart(Vn(t,"ohlc"),e),this.createWaterfallChart(Vn(t,["waterfall","horizontalWaterfall"]),e),this.createLineChart(Vn(t,[ni,si]),e)},e.prototype.aggregateCategories=function(t){var e=this.srcSeries||this.series,o=[];this._currentPointsCache={},this._seriesPointsCache=this._seriesPointsCache||{};for(var i=0;i<e.length;i++){var n=e[i],r=this.seriesCategoryAxis(n),s=this.findPane(r.options.pane);n=(Ln(r.options.type,c)||n.categoryField)&&Q(s,t)?this.aggregateSeries(n,r):this.filterSeries(n,r),o.push(n)}this._seriesPointsCache=this._currentPointsCache,this._currentPointsCache=null,this.srcSeries=e,this.series=o},e.prototype.filterSeries=function(t,e){var o=(t.data||{}).length;if(e._seriesMax=Math.max(e._seriesMax||0,o),!I(e.options.min)&&!I(e.options.max))return t;var i=e.currentRangeIndices(),n=Q(t.type,wr),r=j({},t);return r.data=(r.data||[]).slice(i.min,i.max+1),n&&Wn(r,i,o,(function(o){return{item:t.data[o],category:e.categoryAt(o,!0),categoryIx:o-i.min}}),(function(e){return st(t.data[e])})),r},e.prototype.clearSeriesPointsCache=function(){this._seriesPointsCache={}},e.prototype.seriesSourcePoints=function(t,e){var o=t.index+";"+e.categoriesHash();if(this._seriesPointsCache[o])return this._currentPointsCache[o]=this._seriesPointsCache[o],this._seriesPointsCache[o];var i=e.options,n=i.srcCategories,r=Ln(i.type,c),s=t.data,a=r?Nn:Xo,p=[];r||e.mapCategories();for(var u=0;u<s.length;u++){var l=void 0;if(l=t.categoryField?a(t.categoryField,s[u],this.chartService.intl):n[u],st(l)&&null!==l){var h=e.totalIndex(l);p[h]=p[h]||{items:[],category:l},p[h].items.push(u)}}return this._currentPointsCache[o]=p,p},e.prototype.aggregateSeries=function(t,e){if(!t.data.length)return t;for(var o=this.seriesSourcePoints(t,e),i=j({},t),n=new tr(j({},t),Zo.current,or.current),r=i.data=[],s=e.options.dataItems||[],a=e.currentRangeIndices(),p=function(t){var i=t-a.min,r=o[t];if(r||(r=o[t]={}),r.categoryIx=i,!r.item){var s=e.categoryAt(t,!0);r.category=s,r.item=n.aggregatePoints(r.items,s)}return r},c=a.min;c<=a.max;c++){var u=p(c);r[u.categoryIx]=u.item,u.items&&u.items.length&&(s[u.categoryIx]=u.item)}return Q(i.type,wr)&&Wn(i,a,e.totalCount(),p,(function(t){return o[t]})),e.options.dataItems=s,i},e.prototype.appendChart=function(e,o){var i=e.options.series,n=this.seriesCategoryAxis(i[0]),r=n.options.categories,s=Math.max(0,di(i)-r.length);if(s>0)for(r=n.options.categories=n.options.categories.slice(0);s--;)r.push("");this.valueAxisRangeTracker.update(e.valueAxisRanges),t.prototype.appendChart.call(this,e,o)},e.prototype.seriesPaneName=function(t){var e=this.options,o=t.axis,i=Y([].concat(e.valueAxis),(function(t){return t.name===o}))[0],n=((e.panes||[{}])[0]||{}).name||"default";return(i||{}).pane||n},e.prototype.seriesCategoryAxis=function(t){var e=t.categoryAxis,o=e?this.namedCategoryAxes[e]:this.categoryAxis;if(!o)throw new Error("Unable to locate category axis with name "+e);return o},e.prototype.stackableChartOptions=function(t,e){var o=t.stack;return{isStacked:o,isStacked100:o&&"100%"===o.type,clip:e.options.clip}},e.prototype.groupSeriesByCategoryAxis=function(t){for(var e=[],o={},i=0;i<t.length;i++){var n=t[i].categoryAxis||"$$default$$";o.hasOwnProperty(n)||(o[n]=!0,e.push(n))}for(var r=[],s=0;s<e.length;s++){var a=kr(t,e[s],s);0!==a.length&&r.push(a)}return r},e.prototype.createBarChart=function(t,e){if(0!==t.length){var o=t[0],i=new $i(this,Object.assign({series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing},this.stackableChartOptions(o,e)));this.appendChart(i,e)}},e.prototype.createRangeBarChart=function(t,e){if(0!==t.length){var o=t[0],i=new sr(this,{series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing});this.appendChart(i,e)}},e.prototype.createBulletChart=function(t,e){if(0!==t.length){var o=t[0],i=new wn(this,{series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var o=t[0],i=new Ei(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(o,e)));this.appendChart(i,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var o=t[0],i=new Vi(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(o,e)));this.appendChart(i,e)}},e.prototype.createRangeAreaChart=function(t,e){if(0!==t.length){var o=new yr(this,{invertAxes:this.invertAxes,series:t,clip:e.options.clip});this.appendChart(o,e)}},e.prototype.createOHLCChart=function(t,e){if(0!==t.length){var o=t[0],i=new gr(this,{invertAxes:this.invertAxes,gap:o.gap,series:t,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createCandlestickChart=function(t,e){if(0!==t.length){var o=t[0],i=new nn(this,{invertAxes:this.invertAxes,gap:o.gap,series:t,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createBoxPlotChart=function(t,e){if(0!==t.length){var o=t[0],i=new pn(this,{invertAxes:this.invertAxes,gap:o.gap,series:t,spacing:o.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createWaterfallChart=function(t,e){if(0!==t.length){var o=t[0],i=new br(this,{series:t,invertAxes:this.invertAxes,gap:o.gap,spacing:o.spacing});this.appendChart(i,e)}},e.prototype.axisRequiresRounding=function(t,e){for(var o=Vn(this.series,ai),i=0;i<this.series.length;i++){var n=this.series[i];if(Q(n.type,xr)){var r=n.line;r&&"step"===r.style&&o.push(n)}}for(var s=0;s<o.length;s++){var a=o[s].categoryAxis||"";if(a===t||!a&&0===e)return!0}},e.prototype.aggregatedAxis=function(t,e){for(var o=this.series,i=0;i<o.length;i++){var n=o[i].categoryAxis||"";if((n===t||!n&&0===e)&&o[i].categoryField)return!0}},e.prototype.createCategoryAxesLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e]instanceof oo&&t[e].createLabels()},e.prototype.createCategoryAxes=function(t){for(var e=this.invertAxes,o=[].concat(this.options.categoryAxis),i=[],n=0;n<o.length;n++){var r=o[n];if(Q(this.findPane(r.pane),t)){var s=r.name,a=r.categories;void 0===a&&(a=[]),r=j({vertical:e,reverse:!e&&this.chartService.rtl,axisCrossingValue:e?h:0},r),st(r.justified)||(r.justified=this.isJustified()),this.axisRequiresRounding(s,n)&&(r.justified=!1);var p=void 0;if(p=zn(r,a[0])?new lo(r,this.chartService):new oo(r,this.chartService),o[n].categories=p.options.srcCategories,s){if(this.namedCategoryAxes[s])throw new Error("Category axis with name "+s+" is already defined");this.namedCategoryAxes[s]=p}p.axisIndex=n,i.push(p),this.appendAxis(p)}}var c=this.categoryAxis||i[0];this.categoryAxis=c,e?this.axisY=c:this.axisX=c},e.prototype.isJustified=function(){for(var t=this.series,e=0;e<t.length;e++){if(!Q(t[e].type,xr))return!1}return!0},e.prototype.createValueAxes=function(t){var e=this.valueAxisRangeTracker,o=e.query(),i=[].concat(this.options.valueAxis),n=this.invertAxes,r={vertical:!n,reverse:n&&this.chartService.rtl},s=[];this.stack100&&(r.roundToMajorUnit=!1,r.labels={format:"P0"});for(var a=0;a<i.length;a++){var p=i[a];if(Q(this.findPane(p.pane),t)){var c=p.name,u=Ln(p.type,"log")?{min:.1,max:1}:{min:0,max:1},l=e.query(c)||o||u;0===a&&l&&o&&(l.min=Math.min(l.min,o.min),l.max=Math.max(l.max,o.max));var h=new(Ln(p.type,"log")?ko:mo)(l.min,l.max,j({},r,p),this.chartService);if(c){if(this.namedValueAxes[c])throw new Error("Value axis with name "+c+" is already defined");this.namedValueAxes[c]=h}h.axisIndex=a,s.push(h),this.appendAxis(h)}}var d=this.valueAxis||s[0];this.valueAxis=d,n?this.axisX=d:this.axisY=d},e.prototype._dispatchEvent=function(t,e,o){var i=t._eventCoordinates(e),n=new Nt(i.x,i.y),r=this.pointPane(n),s=[],a=[];if(r){for(var p=r.axes,c=0;c<p.length;c++){var u=p[c];u.getValue?Dn(a,u.getValue(n)):Dn(s,u.getCategory(n))}0===s.length&&Dn(s,this.categoryAxis.getCategory(n)),s.length>0&&a.length>0&&t.trigger(o,{element:lt(e),originalEvent:e,category:Fn(s),value:Fn(a)})}},e.prototype.pointPane=function(t){for(var e=this.panes,o=0;o<e.length;o++){var i=e[o];if(i.contentBox.containsPoint(t))return i}},e.prototype.updateAxisOptions=function(t,e){Sr(this.options,t,e),Sr(this.originalOptions,t,e)},e}(Kn);function Sr(t,e,o){j([].concat(e instanceof oo?t.categoryAxis:t.valueAxis)[e.axisIndex],o)}function kr(t,e,o){return Y(t,(function(t){return 0===o&&!t.categoryAxis||t.categoryAxis===e}))}wt(Cr,{categoryAxis:{},valueAxis:{}}),j(Cr.prototype,$n);var Ar=Cr;function Ir(){this._defaultPrevented=!0}var Pr=function(t){function e(){t.call(this),this._points=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._points=[]},e.prototype.show=function(t,e){var o=[].concat(t);this.hide();for(var i=0;i<o.length;i++){var n=o[i];n&&n.toggleHighlight&&n.hasHighlight()&&(this.togglePointHighlight(n,!0,e),this._points.push(n))}},e.prototype.togglePointHighlight=function(t,e,o){var i=(t.options.highlight||{}).toggle;if(i){var n={category:t.category,series:t.series,dataItem:t.dataItem,value:t.value,stackValue:t.stackValue,preventDefault:Ir,visual:t.highlightVisual(),show:e};i(n),n._defaultPrevented||t.toggleHighlight(e,o)}else t.toggleHighlight(e,o)},e.prototype.hide=function(){for(var t=this._points;t.length;)this.togglePointHighlight(t.pop(),!1)},e.prototype.isHighlighted=function(t){for(var e=this._points,o=0;o<e.length;o++){if(t===e[o])return!0}return!1},e}(S.Class);function Or(t,e){var o=(e||"").toLowerCase(),i=t.event;return"none"===o&&!(i.ctrlKey||i.shiftKey||i.altKey)||i[o+"Key"]}function Tr(t){for(var e={},o=0;o<t.length;o++){var i=t[o];i.axis.options.name&&(e[i.axis.options.name]={min:i.range.min,max:i.range.max})}return e}var Mr=function(t){function e(e,o){t.call(this),this.plotArea=e,this.options=j({},this.options,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.start=function(t){return this._active=Or(t,this.options.key),this._active},e.prototype.move=function(t){if(this._active){var e=this.axisRanges=this._panAxes(t,_).concat(this._panAxes(t,m));if(e.length)return this.axisRanges=e,Tr(e)}},e.prototype.end=function(){var t=this._active;return this._active=!1,t},e.prototype.pan=function(){var t=this.plotArea,e=this.axisRanges;if(e.length){for(var o=0;o<e.length;o++){var i=e[o];t.updateAxisOptions(i.axis,i.range)}t.redraw(t.panes)}},e.prototype.destroy=function(){delete this.plotArea},e.prototype._panAxes=function(t,e){var o=this.plotArea,i=-t[e].delta,n=(this.options.lock||"").toLowerCase(),r=[];if(0!==i&&(n||"").toLowerCase()!==e)for(var s=o.axes,a=0;a<s.length;a++){var p=s[a];if(e===_&&!p.options.vertical||e===m&&p.options.vertical){var c=p.pan(i);c&&(c.limitRange=!0,r.push({axis:p,range:c}))}}return r},e}(S.Class);Mr.prototype.options={key:"none",lock:"none"};var jr=Mr,Er=function(t){function e(e,o){t.call(this),this.chart=e,this.options=j({},this.options,o),this.createElement()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElement=function(){var t=this._marquee=document.createElement("div");t.className="k-marquee";var e=document.createElement("div");e.className="k-marquee-color",t.appendChild(e)},e.prototype.removeElement=function(){this._marquee.parentNode&&this._marquee.parentNode.removeChild(this._marquee)},e.prototype.setStyles=function(t){L(this._marquee,t)},e.prototype.start=function(t){if(Or(t,this.options.key)){var e=this.chart,o=e._eventCoordinates(t),i=this._zoomPane=e._plotArea.paneByPoint(o),n=i?i.chartsBox().clone():null;if(i&&n){var r=this._elementOffset();return n.translate(r.left,r.top),this._zoomPaneClipBox=n,document.body.appendChild(this._marquee),this.setStyles({left:t.pageX+1,top:t.pageY+1,width:0,height:0}),!0}}return!1},e.prototype._elementOffset=function(){var t=this.chart.element,e=L(t,["paddingLeft","paddingTop"]),o=e.paddingLeft,i=e.paddingTop,n=pt(t);return{left:o+n.left,top:i+n.top}},e.prototype.move=function(t){this._zoomPane&&this.setStyles(this._selectionPosition(t))},e.prototype.end=function(t){if(this._zoomPane){var e=this._elementOffset(),o=this._selectionPosition(t);o.left-=e.left,o.top-=e.top;var i={x:o.left,y:o.top},n={x:o.left+o.width,y:o.top+o.height};return this._updateAxisRanges(i,n),this.removeElement(),delete this._zoomPane,Tr(this.axisRanges)}},e.prototype.zoom=function(){var t=this.axisRanges;if(t&&t.length){for(var e=this.chart._plotArea,o=0;o<t.length;o++){var i=t[o];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){this.removeElement(),delete this._marquee,delete this.chart},e.prototype._updateAxisRanges=function(t,e){for(var o=(this.options.lock||"").toLowerCase(),i=[],n=this._zoomPane.axes,r=0;r<n.length;r++){var s=n[r],a=s.options.vertical;if((o!==_||a)&&(o!==m||!a)&&st(s.axisIndex)){var p=s.pointsRange(t,e);p&&i.push({axis:s,range:p})}}this.axisRanges=i},e.prototype._selectionPosition=function(t){var e=this._zoomPaneClipBox,o={x:t.x.startLocation,y:t.y.startLocation},i=t.x.location,n=t.y.location,r=(this.options.lock||"").toLowerCase(),s=Math.min(o.x,i),a=Math.min(o.y,n),p=Math.abs(o.x-i),c=Math.abs(o.y-n);return r===_&&(s=e.x1,p=e.width()),r===m&&(a=e.y1,c=e.height()),i>e.x2&&(p=e.x2-o.x),i<e.x1&&(p=o.x-e.x1),n>e.y2&&(c=e.y2-o.y),n<e.y1&&(c=o.y-e.y1),{left:Math.max(s,e.x1),top:Math.max(a,e.y1),width:p,height:c}},e}(S.Class);Er.prototype.options={key:"shift",lock:"none"};var Dr=Er,Br=function(t){function e(e,o){t.call(this),this.chart=e,this.options=j({rate:.3},this.options,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.updateRanges=function(t,e){for(var o=(this.options.lock||"").toLowerCase(),i=[],n=this.chart._plotArea.axes,r=0;r<n.length;r++){var s=n[r],a=s.options.vertical;if((o!==_||a)&&(o!==m||!a)&&s.zoomRange){var p=ft(this.options.rate,.01,.9),c=s.zoomRange(-t*p,e);c&&i.push({axis:s,range:c})}}return this.axisRanges=i,Tr(i)},e.prototype.zoom=function(){var t=this.axisRanges,e=this.chart._plotArea;if(t&&t.length&&e.updateAxisOptions){for(var o=0;o<t.length;o++){var i=t[o];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){delete this.chart},e}(S.Class),Rr=function(t){function e(e,o){t.call(this,e),this.chartService=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.children,e=this.options,o=e.vertical;this.visual=new S.drawing.Layout(null,{spacing:o?0:e.spacing,lineSpacing:o?e.spacing:0,orientation:o?"vertical":"horizontal",reverse:e.rtl,alignItems:o?"start":"center"});for(var i=0;i<t.length;i++){var n=t[i];n.reflow(new Ft),n.renderVisual()}},e.prototype.reflow=function(t){this.visual.rect(t.toRect()),this.visual.reflow();var e=this.visual.clippedBBox();this.box=e?pe(e):new Ft},e.prototype.renderVisual=function(){this.addVisual()},e.prototype.createVisual=function(){},e}(qt),Lr=function(t){function e(e){t.call(this,e),this.createContainer(),e.rtl?(this.createLabel(),this.createMarker()):(this.createMarker(),this.createLabel())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainer=function(){this.container=new ne({vertical:!1,wrap:!1,align:a,spacing:this.options.spacing}),this.append(this.container)},e.prototype.createMarker=function(){this.container.append(new $t(this.markerOptions()))},e.prototype.markerOptions=function(){var t=this.options,e=t.markerColor;return j({},t.markers,{background:e,border:{color:e}})},e.prototype.createLabel=function(){var t=this.options,e=j({},t.labels);this.container.append(new ue(t.text,e))},e.prototype.renderComplete=function(){t.prototype.renderComplete.call(this);var e=this.options.cursor||{},o=this._itemOverlay=S.drawing.Path.fromRect(this.container.box.toRect(),{fill:{color:g,opacity:0},stroke:null,cursor:e.style||e});this.appendVisual(o)},e.prototype.click=function(t,e){var o=this.eventArgs(e);!t.trigger("legendItemClick",o)&&e&&"contextmenu"===e.type&&e.preventDefault()},e.prototype.over=function(t,e){var o=this.eventArgs(e);return t.trigger("legendItemHover",o)||t._legendItemHover(o.seriesIndex,o.pointIndex),!0},e.prototype.out=function(t,e){t._unsetActivePoint(),t.trigger("legendItemLeave",this.eventArgs(e))},e.prototype.eventArgs=function(t){var e=this.options;return{element:lt(t),text:e.text,series:e.series,seriesIndex:e.series.index,pointIndex:e.pointIndex}},e.prototype.renderVisual=function(){var e=this,o=this.options,i=o.visual;i?(this.visual=i({active:o.active,series:o.series,sender:this.getSender(),pointIndex:o.pointIndex,options:{markers:this.markerOptions(),labels:o.labels},createVisual:function(){e.createVisual(),e.renderChildren(),e.renderComplete();var t=e.visual;return delete e.visual,t}}),this.addVisual()):t.prototype.renderVisual.call(this)},e}(Qt),Vr=function(t){function e(e,o){void 0===o&&(o={}),t.call(this,e),this.chartService=o,Q(this.options.position,[y,f,s,l,"custom"])||(this.options.position=f),this.createContainers(),this.createLegendTitle(e.title),this.createItems()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainers=function(){var t=this.options,e=t.position,o=t.align,i=e,n=a;"custom"===e?i=l:Q(e,[y,s])?(i="start"===o?l:"end"===o?f:a,n=e):o&&("start"===o?n=y:"end"===o&&(n=s)),this.container=new Qt({margin:t.margin,padding:t.padding,background:t.background,border:t.border,vAlign:n,align:i,zIndex:t.zIndex,shrinkToFit:!0}),this.hasTitle()?this.itemsContainer=new Qt({vAlign:n,align:i,zIndex:t.zIndex,shrinkToFit:!0}):this.itemsContainer=this.container,this.append(this.container)},e.prototype.createItems=function(){var t=this.getService(),e=this.options,o=this.isVertical(),i=new Rr({vertical:o,spacing:e.spacing,rtl:t.rtl},t),n=e.items;e.reverse&&(n=n.slice(0).reverse());for(var r=n.length,s=0;s<r;s++){var a=n[s];i.append(new Lr(j({},{markers:e.markers,labels:e.labels,rtl:t.rtl},e.item,a)))}i.render(),this.itemsContainer.append(i)},e.prototype.isVertical=function(){var t=this.options,e=t.orientation,o=t.position;return"custom"===o&&"horizontal"!==e||(st(e)?"horizontal"!==e:Q(o,[l,f]))},e.prototype.hasItems=function(){return this.container.children[0].children.length>0},e.prototype.reflow=function(t){var e=this.options,o=t.clone();this.hasItems()?("custom"===e.position?(this.containerCustomReflow(o),this.box=o):this.containerReflow(o),this.hasTitle()&&this.title.reflow(new Ft(this.container.box.x1,this.title.box.y1,this.container.box.x2,this.title.box.y2))):this.box=o},e.prototype.containerReflow=function(t){var e=this.options,o=this.container,i=e.position,n=e.width,r=e.height,a=i===y||i===s?_:m,p=this.isVertical(),c=t.clone(),u=t.clone();i!==l&&i!==f||(u.y1=c.y1=0),p&&r?(u.y2=u.y1+r,u.align(c,m,o.options.vAlign)):!p&&n&&(u.x2=u.x1+n,u.align(c,_,o.options.align)),o.reflow(u);var h=(u=o.box).clone();(e.offsetX||e.offsetY)&&(u.translate(e.offsetX,e.offsetY),o.reflow(u)),h[a+1]=t[a+1],h[a+2]=t[a+2],this.box=h},e.prototype.containerCustomReflow=function(t){var e=this.options,o=this.container,i=e.offsetX,n=e.offsetY,r=e.width,s=e.height,a=this.isVertical(),p=t.clone();a&&s?p.y2=p.y1+s:!a&&r&&(p.x2=p.x1+r),o.reflow(p),p=o.box,o.reflow(new Ft(i,n,i+p.width(),n+p.height()))},e.prototype.renderVisual=function(){this.hasItems()&&t.prototype.renderVisual.call(this)},e.prototype.createLegendTitle=function(t){var e=j({},{color:r,position:y,align:a},t),o=e.text;if(t&&!1!==t.visible){if(st(e)&&e.visible){var i=H(e);i?o=i({text:o}):e.format&&(o=this.chartService.format.auto(e.format,o))}this.title=new ue(o,e),this.createTitleLayout(),this.appendTitleLayoutContent()}},e.prototype.createTitleLayout=function(){this.layout=new ne({vertical:!0,wrap:!1}),this.container.append(this.layout)},e.prototype.hasTitle=function(){return Boolean(this.options.title&&!1!==this.options.title.visible)},e.prototype.appendTitleLayoutContent=function(){this.options.title.position===s?(this.layout.append(this.itemsContainer),this.layout.append(this.title)):(this.layout.append(this.title),this.layout.append(this.itemsContainer))},e}(qt);wt(Vr,{position:f,items:[],offsetX:0,offsetY:0,margin:V(5),padding:V(5),border:{color:r,width:0},item:{cursor:"pointer",spacing:6},spacing:6,background:"",zIndex:1,markers:{border:{width:0},width:15,height:3,type:"rect",align:l,vAlign:a}});var Nr=Vr,zr=function(t){function e(){t.call(this),this._registry=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){this._registry.push({type:t,seriesTypes:e})},e.prototype.create=function(t,e,o){for(var i,n=this._registry,r=n[0],s=0;s<n.length;s++){var a=n[s];if((i=Vn(t,a.seriesTypes)).length>0){r=a;break}}return new r.type(i,e,o)},e}(S.Class);zr.current=new zr;var Fr=zr;function Hr(t){var e=document.createElement("div");return t&&(e.className=t),e}function Gr(t){for(var e=t;e&&!X(e,"k-handle");)e=e.parentNode;return e}var Ur=function(t){function e(e,o,i,n){t.call(this);var r=e.element;this.options=j({},this.options,i),this.chart=e,this.observer=n,this.chartElement=r,this.categoryAxis=o,this._dateAxis=this.categoryAxis instanceof lo,this.initOptions(),this.visible=this.options.visible&&r.offsetHeight,this.visible&&(this.createElements(),this.set(this._index(this.options.from),this._index(this.options.to)),this.bindEvents())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onPane=function(t){return this.categoryAxis.pane===t},e.prototype.createElements=function(){var t=this.options,e=this.wrapper=Hr("k-selector");L(e,{top:t.offset.top,left:t.offset.left,width:t.width,height:t.height,direction:"ltr"});var o=this.selection=Hr("k-selection");this.leftMask=Hr("k-mask"),this.rightMask=Hr("k-mask"),e.appendChild(this.leftMask),e.appendChild(this.rightMask),e.appendChild(o),o.appendChild(Hr("k-selection-bg"));var i=this.leftHandle=Hr("k-handle k-left-handle"),n=this.rightHandle=Hr("k-handle k-right-handle");i.appendChild(Hr()),n.appendChild(Hr()),o.appendChild(i),o.appendChild(n),this.chartElement.appendChild(e);var r=L(o,["borderLeftWidth","borderRightWidth","height"]),s=L(i,"height").height,a=L(n,"height").height;t.selection={border:{left:r.borderLeftWidth,right:r.borderRightWidth}},L(i,{top:(r.height-s)/2}),L(n,{top:(r.height-a)/2}),e.style.cssText=e.style.cssText},e.prototype.bindEvents=function(){var t;!1!==this.options.mousewheel&&(this._mousewheelHandler=this._mousewheel.bind(this),rt(this.wrapper,((t={})[pi]=this._mousewheelHandler,t))),this._domEvents=Te.create(this.wrapper,{stopPropagation:!0,start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),press:this._press.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)})},e.prototype.initOptions=function(){var t=this.options,e=this.categoryAxis.pane.chartsBox(),o=this.chart.chartService.intl;this._dateAxis&&j(t,{min:$e(o,t.min),max:$e(o,t.max),from:$e(o,t.from),to:$e(o,t.to)});var i=L(this.chartElement,["paddingLeft","paddingTop"]),n=i.paddingLeft,r=i.paddingTop;this.options=j({},{width:e.width(),height:e.height()+.1,padding:{left:n,top:r},offset:{left:e.x1+n,top:e.y1+r},from:t.min,to:t.max},t)},e.prototype.destroy=function(){var t;this._domEvents&&(this._domEvents.destroy(),delete this._domEvents),clearTimeout(this._mwTimeout),this._state=null,this.wrapper&&(this._mousewheelHandler&&(_t(this.wrapper,((t={})[pi]=this._mousewheelHandler,t)),this._mousewheelHandler=null),this.chartElement.removeChild(this.wrapper),this.wrapper=null)},e.prototype._rangeEventArgs=function(t){return{axis:this.categoryAxis.options,from:this._value(t.from),to:this._value(t.to)}},e.prototype._start=function(t){var e=this.options,o=lt(t);if(!this._state&&o){this.chart._unsetActivePoint(),this._state={moveTarget:Gr(o)||o,startLocation:t.x?t.x.location:0,range:{from:this._index(e.from),to:this._index(e.to)}};var i=this._rangeEventArgs({from:this._index(e.from),to:this._index(e.to)});this.trigger("selectStart",i)&&(this._state=null)}},e.prototype._press=function(t){var e;(e=this._state?this._state.moveTarget:Gr(lt(t)))&&x(e,"k-handle-active")},e.prototype._move=function(t){if(this._state){var e=this._state,o=this.options,i=this.categoryAxis,n=e.range,r=e.moveTarget,s=i.options.reverse,a=this._index(o.from),p=this._index(o.to),c=this._index(o.min),u=this._index(o.max),l=e.startLocation-t.x.location,h=n.from,d=n.to,f=n.to-n.from,y=L(this.wrapper,"width").width/(i.categoriesCount()-1),v=Math.round(l/y)*(s?-1:1);if(r){var g=X(r,"k-left-handle"),_=X(r,"k-right-handle");X(r,"k-selection k-selection-bg")?(n.from=Math.min(Math.max(c,a-v),u-f),n.to=Math.min(n.from+f,u)):g&&!s||_&&s?(n.from=Math.min(Math.max(c,a-v),u-1),n.to=Math.max(n.from+1,n.to)):(g&&s||_&&!s)&&(n.to=Math.min(Math.max(c+1,p-v),u),n.from=Math.min(n.to-1,n.from)),n.from===h&&n.to===d||(this.move(n.from,n.to),this.trigger("select",this._rangeEventArgs(n)))}}},e.prototype._end=function(){if(this._state){var t=this._state.moveTarget;t&&C(t,"k-handle-active");var e=this._state.range;this.set(e.from,e.to),this.trigger("selectEnd",this._rangeEventArgs(e)),delete this._state}},e.prototype._tap=function(t){var e=this.options,o=this.categoryAxis,i=this.chart._eventCoordinates(t),n=o.pointCategoryIndex(new Nt(i.x,o.box.y1)),r=this._index(e.from),s=this._index(e.to),a=this._index(e.min),p=this._index(e.max),c=s-r,u=r+c/2,l={},h=3===t.event.which,d=Math.round(u-n);this._state||h||(this.chart._unsetActivePoint(),o.options.justified||d--,l.from=Math.min(Math.max(a,r-d),p-c),l.to=Math.min(l.from+c,p),this._start(t),this._state&&(this._state.range=l,this.trigger("select",this._rangeEventArgs(l)),this._end()))},e.prototype._mousewheel=function(t){var e=this,o=ot(t);if(this._start({target:this.selection}),this._state){var i=this._state.range;t.preventDefault(),t.stopPropagation(),Math.abs(o)>1&&(o*=3),this.options.mousewheel.reverse&&(o*=-1),this.expand(o)&&this.trigger("select",{axis:this.categoryAxis.options,delta:o,originalEvent:t,from:this._value(i.from),to:this._value(i.to)}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._end()}),150)}},e.prototype._gesturestart=function(t){var e=this.options;this._state={range:{from:this._index(e.from),to:this._index(e.to)}};var o=this._rangeEventArgs(this._state.range);this.trigger("selectStart",o)?this._state=null:t.preventDefault()},e.prototype._gestureend=function(){this._state&&(this.trigger("selectEnd",this._rangeEventArgs(this._state.range)),delete this._state)},e.prototype._gesturechange=function(t){var e=this.chart,o=this._state,i=this.options,n=this.categoryAxis,r=o.range,s=e._toModelCoordinates(t.touches[0].x.location).x,a=e._toModelCoordinates(t.touches[1].x.location).x,p=Math.min(s,a),c=Math.max(s,a);t.preventDefault(),r.from=n.pointCategoryIndex(new Nt(p))||i.min,r.to=n.pointCategoryIndex(new Nt(c))||i.max,this.move(r.from,r.to),this.trigger("select",this._rangeEventArgs(r))},e.prototype._index=function(t){var e=t;return t instanceof Date&&(e=this.categoryAxis.categoryIndex(t)),e},e.prototype._value=function(t){var e=t;return this._dateAxis&&(e=this.categoryAxis.categoryAt(t))>this.options.max&&(e=this.options.max),e},e.prototype._slot=function(t){var e=this.categoryAxis,o=this._index(t);return e.getSlot(o,o,!0)},e.prototype.move=function(t,e){var o=this.options,i=this.categoryAxis.options.reverse,n=o.offset,r=o.padding,s=o.selection.border,a=i?e:t,p=i?t:e,c="x"+(i?2:1),u=this._slot(a),l=gt(u[c]-n.left+r.left);L(this.leftMask,{width:l}),L(this.selection,{left:l}),u=this._slot(p);var h=gt(o.width-(u[c]-n.left+r.left));L(this.rightMask,{width:h});var d=o.width-h;d!==o.width&&(d+=s.right),L(this.rightMask,{left:d}),L(this.selection,{width:Math.max(o.width-(l+h)-s.right,0)})},e.prototype.set=function(t,e){var o=this.options,i=this._index(o.min),n=this._index(o.max),r=ft(this._index(t),i,n),s=ft(this._index(e),r+1,n);o.visible&&this.move(r,s),o.from=this._value(r),o.to=this._value(s)},e.prototype.expand=function(t){var e=this.options,o=this._index(e.min),i=this._index(e.max),n=e.mousewheel.zoom,r=this._index(e.from),s=this._index(e.to),a={from:r,to:s},p=j({},a);if(this._state&&(a=this._state.range),n!==f&&(a.from=ft(ft(r-t,0,s-1),o,i)),n!==l&&(a.to=ft(ft(s+t,a.from+1,i),o,i)),a.from!==p.from||a.to!==p.to)return this.set(a.from,a.to),!0},e.prototype.zoom=function(t,e){var o=this.options,i=this._index(o.min),n=this._index(o.max),r=this._index(o.from),s=this._index(o.to),a={from:r,to:s},p=j({},a),c=this.categoryAxis.options.reverse,u=_+(c?"2":"1"),l=this.categoryAxis.lineBox(),h=Math.abs(l[u]-e.x),d=l.width(),f=gt(h/d,2),y=gt(f*t),v=gt((1-f)*t);if(this._state&&(a=this._state.range),a.from=ft(ft(r-y,0,s-1),i,n),a.to=ft(ft(s+v,a.from+1,n),i,n),a.from!==p.from||a.to!==p.to)return this.set(a.from,a.to),!0},e.prototype.trigger=function(t,e){return(this.observer||this.chart).trigger(t,e)},e}(S.Class);wt(Ur,{visible:!0,mousewheel:{zoom:"both"},min:d,max:h});var Wr=Ur,Yr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.show=function(e){if(e&&e.tooltipAnchor&&(!this._current||this._current!==e)){var o=j({},this.options,e.options.tooltip),i=e.tooltipAnchor();i?(this._current=e,t.prototype.show.call(this,{point:e,anchor:i},o,e)):this.hide()}},e.prototype.hide=function(){delete this._current,t.prototype.hide.call(this)},e}(Sn),Xr=function(t){function e(e,o){t.call(this,e.chartService,o),this.plotArea=e,this.formatService=e.chartService.format}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t,e){var o=Y(t,(function(t){var e=t.series.tooltip;return!(e&&!1===e.visible)}));if(o.length>0){var i=o[0],n=this.plotArea.categoryAxis.getSlot(i.categoryIx),r=e?this._slotAnchor(e,n):this._defaultAnchor(i,n);this.show({anchor:r,shared:!0,points:t,category:i.category,categoryText:this.formatService.auto(this.options.categoryFormat,i.category),series:this.plotArea.series},this.options)}},e.prototype._slotAnchor=function(t,e){return this.plotArea.categoryAxis.options.vertical||(t.x=e.center().x),{point:t,align:{horizontal:"left",vertical:"center"}}},e.prototype._defaultAnchor=function(t,e){var o=t.owner.pane.chartsBox(),i=this.plotArea.categoryAxis.options.vertical,n=o.center(),r=e.center();return{point:i?new Nt(n.x,r.y):new Nt(r.x,n.y),align:{horizontal:"center",vertical:"center"}}},e}(Sn);wt(Xr,{categoryFormat:"{0:d}"});var qr=Xr,Zr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.element,e=this.options;if(t.bbox()){this.origin=e.origin;var o=e.vertical?m:_,i=this.fromScale=new S.geometry.Point(1,1);i[o]=ti,t.transform(S.geometry.transform().scale(i.x,i.y))}else this.abort()},e.prototype.step=function(t){var e=K(this.fromScale.x,1,t),o=K(this.fromScale.y,1,t);this.element.transform(S.geometry.transform().scale(e,o,this.origin))},e.prototype.abort=function(){t.prototype.abort.call(this),this.element.transform(null)},e}(S.drawing.Animation);wt(Zr,{duration:600}),S.drawing.AnimationFactory.current.register(oi,Zr);var Qr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.center=this.element.bbox().center();this.element.transform(S.geometry.transform().scale(ti,ti,t))},e.prototype.step=function(t){this.element.transform(S.geometry.transform().scale(t,t,this.center))},e}(S.drawing.Animation);wt(Qr,{easing:"easeOutElastic"}),S.drawing.AnimationFactory.current.register("bubble",Qr);var Kr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.fadeTo=this.element.opacity(),this.element.opacity(0)},e.prototype.step=function(t){this.element.opacity(t*this.fadeTo)},e}(S.drawing.Animation);wt(Kr,{duration:200,easing:"linear"}),S.drawing.AnimationFactory.current.register("fadeIn",Kr);var $r=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.element.transform(S.geometry.transform().scale(ti,ti,this.options.center))},e.prototype.step=function(t){this.element.transform(S.geometry.transform().scale(t,t,this.options.center))},e}(S.drawing.Animation);wt($r,{easing:"easeOutElastic",duration:600}),S.drawing.AnimationFactory.current.register(ri,$r);var Jr=$r,ts=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.createSegment=function(t,e,o){return new("smooth"===e.style?Ai:xi)(t,e,o)},e.prototype.animationPoints=function(){return t.prototype.animationPoints.call(this).concat(this._segments)},e.prototype.createMissingValue=function(t,e){if(e===ei){var o={x:t.x,y:t.y};return un(o.x)||(o.x=0),un(o.y)||(o.y=0),o}},e}(hn);j(ts.prototype,Ii);var es=ts,os=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={},this.xAxisRangeTracker=new Ni,this.yAxisRangeTracker=new Ni},e.prototype.render=function(t){void 0===t&&(t=this.panes);for(var e=this.groupSeriesByPane(),o=0;o<t.length;o++){var i=t[o],n=e[i.options.name||"default"]||[];this.addToLegend(n);var r=this.filterVisibleSeries(n);r&&(this.createScatterChart(Vn(r,"scatter"),i),this.createScatterLineChart(Vn(r,"scatterLine"),i),this.createBubbleChart(Vn(r,"bubble"),i))}this.createAxes(t)},e.prototype.appendChart=function(e,o){this.xAxisRangeTracker.update(e.xAxisRanges),this.yAxisRangeTracker.update(e.yAxisRanges),t.prototype.appendChart.call(this,e,o)},e.prototype.removeAxis=function(e){var o=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?(this.yAxisRangeTracker.reset(o),delete this.namedYAxes[o]):(this.xAxisRangeTracker.reset(o),delete this.namedXAxes[o]),e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype.seriesPaneName=function(t){var e=this.options,o=t.xAxis,i=Y([].concat(e.xAxis),(function(t){return t.name===o}))[0],n=t.yAxis,r=Y([].concat(e.yAxis),(function(t){return t.name===n}))[0],s=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(r||{}).pane||s},e.prototype.createScatterChart=function(t,e){t.length>0&&this.appendChart(new hn(this,{series:t,clip:e.options.clip}),e)},e.prototype.createScatterLineChart=function(t,e){t.length>0&&this.appendChart(new es(this,{series:t,clip:e.options.clip}),e)},e.prototype.createBubbleChart=function(t,e){t.length>0&&this.appendChart(new vn(this,{series:t,clip:e.options.clip}),e)},e.prototype.createXYAxis=function(t,e,o){for(var i,n=t.name,r=e?this.namedYAxes:this.namedXAxes,s=e?this.yAxisRangeTracker:this.xAxisRangeTracker,a=j({reverse:!e&&this.chartService.rtl},t,{vertical:e}),p=Ln(a.type,"log"),u=s.query(),l=p?{min:.1,max:1}:{min:0,max:1},h=s.query(n)||u||l,d=[a.min,a.max],f=this.series,y=0;y<f.length;y++){var v=f[y],g=v[e?"yAxis":"xAxis"];if(g===a.name||0===o&&!g){var _=Zo.current.bindPoint(v,0).valueFields;d.push(_[e?"y":"x"]);break}}0===o&&u&&(h.min=Math.min(h.min,u.min),h.max=Math.max(h.max,u.max));for(var m=0;m<d.length;m++)if(d[m]instanceof Date){i=!0;break}var b=new(Ln(a.type,c)||!a.type&&i?xo:p?ko:mo)(h.min,h.max,a,this.chartService);if(b.axisIndex=o,n){if(r[n])throw new Error((e?"Y":"X")+" axis with name "+n+" is already defined");r[n]=b}return this.appendAxis(b),b},e.prototype.createAxes=function(t){for(var e=this.options,o=[].concat(e.xAxis),i=[],n=[].concat(e.yAxis),r=[],s=0;s<o.length;s++){Q(this.findPane(o[s].pane),t)&&i.push(this.createXYAxis(o[s],!1,s))}for(var a=0;a<n.length;a++){Q(this.findPane(n[a].pane),t)&&r.push(this.createXYAxis(n[a],!0,a))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||r[0]},e.prototype._dispatchEvent=function(t,e,o){for(var i=t._eventCoordinates(e),n=new Nt(i.x,i.y),r=this.axes,s=r.length,a=[],p=[],c=0;c<s;c++){var u=r[c],l=u.options.vertical?p:a,h=u.getValue(n);null!==h&&l.push(h)}a.length>0&&p.length>0&&t.trigger(o,{element:lt(e),originalEvent:e,x:Fn(a),y:Fn(p)})},e.prototype.updateAxisOptions=function(t,e){var o=t.options.vertical,i=this.groupAxes(this.panes),n=(o?i.y:i.x).indexOf(t);is(this.options,n,o,e),is(this.originalOptions,n,o,e)},e}(Kn);function is(t,e,o,i){j([].concat(o?t.yAxis:t.xAxis)[e],i)}wt(os,{xAxis:{},yAxis:{}}),j(os.prototype,$n);var ns=os,rs=function(t){function e(e,o,i){t.call(this,i),this.value=e,this.sector=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options.labels,e=this.owner.chartService,o=this.value;if(!this._rendered&&!1!==this.visible){this._rendered=!0;var i=H(t),n=this.pointData();if(i?o=i(n):t.format&&(o=e.format.auto(t.format,o)),t.visible&&(o||0===o)){if(t.position===a||"insideEnd"===t.position)t.color||(t.color=Ot(this.options.color)),t.background||(t.background=this.options.color);else{var r=e.theme.seriesDefaults.labels;t.color=t.color||r.color,t.background=t.background||r.background}this.label=new ue(o,j({},t,{align:a,vAlign:"",animation:{type:"fadeIn",delay:this.animationDelay}}),n),this.append(this.label)}}},e.prototype.reflow=function(t){this.render(),this.box=t,this.reflowLabel()},e.prototype.reflowLabel=function(){var t=this.options.labels,e=this.label,o=this.sector.clone(),i=t.distance,n=o.middle();if(e){var r,s=e.box.height(),p=e.box.width();if(t.position===a)o.radius=Math.abs((o.radius-s)/2)+s,r=o.point(n),e.reflow(new Ft(r.x,r.y-s/2,r.x,r.y));else if("insideEnd"===t.position)o.radius=o.radius-s/2,r=o.point(n),e.reflow(new Ft(r.x,r.y-s/2,r.x,r.y));else{var c;(r=o.clone().expand(i).point(n)).x>=o.center.x?(c=r.x+p,e.orientation=f):(c=r.x-p,e.orientation=l),e.reflow(new Ft(c,r.y-s,r.x,r.y))}}},e.prototype.createVisual=function(){var e=this,o=this.sector,i=this.options;if(t.prototype.createVisual.call(this),this.value)if(i.visual){var n=(o.startAngle+180)%360,r=i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,center:new S.geometry.Point(o.center.x,o.center.y),radius:o.radius,innerRadius:o.innerRadius,startAngle:n,endAngle:n+o.angle,options:i,sender:this.getSender(),createVisual:function(){var t=new S.drawing.Group;return e.createSegmentVisual(t),t}});r&&this.visual.append(r)}else this.createSegmentVisual(this.visual)},e.prototype.createSegmentVisual=function(t){var e=this.sector,o=this.options,i=o.border||{},n=i.width>0?{stroke:{color:i.color,width:i.width,opacity:i.opacity,dashType:i.dashType}}:{},r=o.color,s={color:r,opacity:o.opacity},a=this.createSegment(e,j({fill:s,stroke:{opacity:o.opacity},zIndex:o.zIndex},n));t.append(a),Hi(o)&&t.append(this.createGradientOverlay(a,{baseColor:r,fallbackFill:s},j({center:[e.center.x,e.center.y],innerRadius:e.innerRadius,radius:e.radius,userSpace:!0},o.overlay)))},e.prototype.createSegment=function(t,e){return e.singleSegment?new S.drawing.Circle(new S.geometry.Circle(new S.geometry.Point(t.center.x,t.center.y),t.radius),e):Yt.current.createRing(t,e)},e.prototype.createAnimation=function(){var e=this.options,o=this.sector.center;j(e,{animation:{center:[o.x,o.y],delay:this.animationDelay}}),t.prototype.createAnimation.call(this)},e.prototype.createHighlight=function(t){var e=this.options.highlight||{},o=e.border||{};return this.createSegment(this.sector,j({},t,{fill:{color:e.color,opacity:e.opacity},stroke:{opacity:o.opacity,width:o.width,color:o.color}}))},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=this.sector;return{options:this.options,radius:t.radius,innerRadius:t.innerRadius,center:new S.geometry.Point(t.center.x,t.center.y),startAngle:t.startAngle,endAngle:t.angle+t.startAngle,visual:this.visual}},e.prototype.tooltipAnchor=function(){var t=this.sector.clone().expand(5),e=t.middle();return{point:t.point(e),align:ps(e+180)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,series:this.series,percentage:this.percentage}},e}(qt),ss=gt(vt(30),10),as=gt(vt(60),10);function ps(t){var e=vt(t),o=gt(Math.sin(e),10),i=gt(Math.cos(e),10);return{horizontal:Math.abs(o)>as?a:i<0?f:l,vertical:Math.abs(o)<ss?a:o<0?s:y}}wt(rs,{color:g,overlay:{gradient:"roundedBevel"},border:{width:.5},labels:{visible:!1,distance:35,font:"12px sans-serif",margin:V(.5),align:p,zIndex:1,position:"outsideEnd"},animation:{type:ri},highlight:{visible:!0,border:{width:1}},visible:!0}),j(rs.prototype,vi);var cs=rs,us={createLegendItem:function(t,e,o){var i=this.options.legend||{},n=i.labels||{},r=i.inactiveItems||{},s=r.labels||{};if(o&&!1!==o.visibleInLegend){var a,p,c=!1!==o.visible,u=c?H(n):H(s)||H(n),l=o.category;u&&(l=u({text:l,series:o.series,dataItem:o.dataItem,percentage:o.percentage,value:t})),c?(a={},p=e.color):(a={color:s.color,font:s.font},p=(r.markers||{}).color),un(l)&&""!==l&&this.legendItems.push({active:c,pointIndex:o.index,text:l,series:o.series,markerColor:p,labels:a})}}},ls=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this.points=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.traverseDataPoints=function(t){var e=this.options,o=this.plotArea.options.seriesColors;void 0===o&&(o=[]);for(var i=o.length,n=e.series,r=n.length,s=0;s<r;s++){var p=n[s],c=p.data,u=Rn(p),l=u.total,h=u.points,d=u.count,f=360/l,y=void 0;isFinite(f)||(y=360/d);var v=void 0;v=st(p.startAngle)?p.startAngle:e.startAngle,s!==r-1&&"outsideEnd"===p.labels.position&&(p.labels.position=a);for(var g=0;g<h.length;g++){var _=h[g];if(_){var m=_.fields,b=_.value,x=_.visible,w=0!==b?y||b*f:0,C=1!==c.length&&Boolean(m.explode);T(p.color)||(p.color=m.color||o[g%i]),t(_.valueFields.value,new Gt(null,0,0,v,w),{owner:this,category:st(m.category)?m.category:"",index:g,series:p,seriesIx:s,dataItem:c[g],percentage:0!==l?b/l:0,explode:C,visibleInLegend:m.visibleInLegend,visible:x,zIndex:r-s,animationDelay:this.animationDelay(g,s,r)}),!1!==x&&(v+=w)}}}},e.prototype.evalSegmentOptions=function(t,e,o){var i=o.series;hi(t,{value:e,series:i,dataItem:o.dataItem,category:o.category,percentage:o.percentage},{defaults:i._defaults,excluded:["data","content","template","visual","toggle"]})},e.prototype.addValue=function(t,e,o){var i=j({},o.series,{index:o.index});if(this.evalSegmentOptions(i,t,o),this.createLegendItem(t,i,o),!1!==o.visible){var n=new cs(t,e,i);Object.assign(n,o),this.append(n),this.points.push(n)}},e.prototype.reflow=function(t){var e=this.options,o=this.points,i=this.seriesConfigs;void 0===i&&(i=[]);var n=o.length,r=t.clone(),s=Math.min(r.width(),r.height()),a=s/2,p=s-.85*s,c=new Ft(r.x1,r.y1,r.x1+s,r.y1+s),u=c.center(),l=r.center(),h=e.series.length,d=[],y=[],v=mt(e.padding,p);this.targetBox=t,v=v>a-5?a-5:v,c.translate(l.x-u.x,l.y-u.y);for(var g=a-v,_=new Nt(g+c.x1+v,g+c.y1+v),m=0;m<n;m++){var b=o[m],x=b.sector,w=b.seriesIx;if(x.radius=g,x.center=_,i.length){var C=i[w];x.innerRadius=C.innerRadius,x.radius=C.radius}w===h-1&&b.explode&&(x.center=x.clone().setRadius(.15*x.radius).point(x.middle())),b.reflow(c);var S=b.label;S&&"outsideEnd"===S.options.position&&w===h-1&&(S.orientation===f?y.push(S):d.push(S))}d.length>0&&(d.sort(this.labelComparator(!0)),this.leftLabelsReflow(d)),y.length>0&&(y.sort(this.labelComparator(!1)),this.rightLabelsReflow(y)),this.box=c},e.prototype.leftLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.rightLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.distanceBetweenLabels=function(t){var e=dt(this.points),o=e.sector,i=t.length-1,n=o.radius+e.options.labels.distance,r=[],s=t[0].box,a=gt(s.y1-(o.center.y-n-s.height()-s.height()/2));r.push(a);for(var p=0;p<i;p++){var c=t[p+1].box;s=t[p].box,a=gt(c.y1-s.y2),r.push(a)}return a=gt(o.center.y+n-t[i].box.y2-t[i].box.height()/2),r.push(a),r},e.prototype.distributeLabels=function(t,e){for(var o,i,n,r=t.length,s=0;s<r;s++)for(n=-t[s],o=i=s;n>0&&(o>=0||i<r);)n=this._takeDistance(t,s,--o,n),n=this._takeDistance(t,s,++i,n);this.reflowLabels(t,e)},e.prototype._takeDistance=function(t,e,o,i){var n=i;if(t[o]>0){var r=Math.min(t[o],n);n-=r,t[o]-=r,t[e]+=r}return n},e.prototype.reflowLabels=function(t,e){var o,i=dt(this.points),n=i.sector,r=i.options.labels,s=e.length,a=r.distance,c=n.center.y-(n.radius+a)-e[0].box.height();t[0]+=2;for(var u=0;u<s;u++){var l=e[u],h=l.box;c+=t[u],o=this.hAlignLabel(h.x2,n.clone().expand(a),c,c+h.height(),l.orientation===f),l.orientation===f?(r.align!==p&&(o=n.radius+n.center.x+a),l.reflow(new Ft(o+h.width(),c,o,c))):(r.align!==p&&(o=n.center.x-n.radius-a),l.reflow(new Ft(o-h.width(),c,o,c))),c+=h.height()}},e.prototype.createVisual=function(){var e=this.options.connectors,o=this.points,i=o.length;t.prototype.createVisual.call(this),this._connectorLines=[];for(var n=0;n<i;n++){var r=o[n],s=r.sector,a=r.label,p=s.middle(),c=(r.options.connectors||{}).color||e.color;if(a){var u=new S.drawing.Path({stroke:{color:c,width:e.width},animation:{type:"fadeIn",delay:r.animationDelay}});if("outsideEnd"===a.options.position){var l=a.box,h=s.center,d=s.point(p),y=new Nt(l.x1,l.center().y),v=void 0,g=void 0,_=void 0;d=s.clone().expand(e.padding).point(p),u.moveTo(d.x,d.y),a.orientation===f?(_=hs(h,d,y,g=new Nt(l.x1-e.padding,l.center().y)),y=new Nt(g.x-4,g.y),(_=_||y).x=Math.min(_.x,y.x),this.pointInCircle(_,s.center,s.radius+4)||_.x<s.center.x?(v=s.center.x+s.radius+4,r.options.labels.align!==ii?v<y.x?u.lineTo(v,d.y):u.lineTo(d.x+8,d.y):u.lineTo(v,d.y),u.lineTo(y.x,g.y)):(_.y=g.y,u.lineTo(_.x,_.y))):(_=hs(h,d,y,g=new Nt(l.x2+e.padding,l.center().y)),y=new Nt(g.x+4,g.y),(_=_||y).x=Math.max(_.x,y.x),this.pointInCircle(_,s.center,s.radius+4)||_.x>s.center.x?(v=s.center.x-s.radius-4,r.options.labels.align!==ii?v>y.x?u.lineTo(v,d.y):u.lineTo(d.x-8,d.y):u.lineTo(v,d.y),u.lineTo(y.x,g.y)):(_.y=g.y,u.lineTo(_.x,_.y))),u.lineTo(g.x,g.y),this._connectorLines.push(u),this.visual.append(u)}}}},e.prototype.renderVisual=function(){if(t.prototype.renderVisual.call(this),St(this.options.series,(function(t){return t.autoFit}))){var e=this.targetBox,o=this.box.center(),i=this.visual.bbox();if(!i)return;var n=i.bottomRight(),r=Math.min((o.y-e.y1)/(o.y-i.origin.y),(e.y2-o.y)/(n.y-o.y),(o.x-e.x1)/(o.x-i.origin.x),(e.x2-o.x)/(n.x-o.x));r<1&&this.visual.transform(S.geometry.transform().scale(r,r,[o.x,o.y]))}},e.prototype.labelComparator=function(t){var e=t?-1:1;return function(t,o){return((t.parent.sector.middle()+270)%360-(o.parent.sector.middle()+270)%360)*e}},e.prototype.hAlignLabel=function(t,e,o,i,n){var r=e.radius,s=e.center,a=s.x,p=s.y,c=Math.min(Math.abs(p-o),Math.abs(p-i));return c>r?t:a+Math.sqrt(r*r-c*c)*(n?1:-1)},e.prototype.pointInCircle=function(t,e,o){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(o,2)},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.animationDelay=function(t){return 70*t},e.prototype.stackRoot=function(){return this},e}(qt);function hs(t,e,o,i){var n,r=(i.x-o.x)*(t.y-o.y)-(i.y-o.y)*(t.x-o.x),s=(i.y-o.y)*(e.x-t.x)-(i.x-o.x)*(e.y-t.y);if(0!==s){var a=r/s;n=new Nt(t.x+a*(e.x-t.x),t.y+a*(e.y-t.y))}return n}wt(ls,{startAngle:90,connectors:{width:2,color:"#939393",padding:8},inactiveItems:{markers:{},labels:{}}}),j(ls.prototype,us),ls.prototype.isStackRoot=!0;var ds=ls,fs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createPieChart(this.series)},e.prototype.createPieChart=function(t){var e=t[0],o=new ds(this,{series:t,padding:e.padding,startAngle:e.startAngle,connectors:e.connectors,legend:this.options.legend});this.appendChart(o)},e.prototype.appendChart=function(e,o){t.prototype.appendChart.call(this,e,o),nt(this.options.legend.items,e.legendItems)},e}(Kn),ys=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowLabel=function(){var e=this.options.labels,o=this.label,i=this.sector.clone(),n=i.middle();if(o){var r=o.box.height();if(e.position===a){i.radius-=(i.radius-i.innerRadius)/2;var s=i.point(n);o.reflow(new Ft(s.x,s.y-r/2,s.x,s.y))}else t.prototype.reflowLabel.call(this)}},e.prototype.createSegment=function(t,e){return Yt.current.createRing(t,e)},e}(cs);wt(ys,{overlay:{gradient:"roundedGlass"},labels:{position:a},animation:{type:ri}}),j(ys.prototype,vi);var vs=ys,gs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e,o){var i=j({},o.series,{index:o.index});if(this.evalSegmentOptions(i,t,o),this.createLegendItem(t,i,o),t&&!1!==o.visible){var n=new vs(t,e,i);Object.assign(n,o),this.append(n),this.points.push(n)}},e.prototype.reflow=function(e){for(var o,i=this.options,n=e.clone(),r=Math.min(n.width(),n.height()),s=r/2,a=r-.85*r,p=i.series,c=p.length,u=mt(i.padding,a),l=s-(u=u>s-5?s-5:u),h=0,d=0;d<c;d++){var f=p[d];0===d&&st(f.holeSize)&&(o=f.holeSize,l-=f.holeSize),st(f.size)?l-=f.size:h++,st(f.margin)&&d!==c-1&&(l-=f.margin)}st(o)||(l-=o=.75*((s-u)/(c+.75)));var y,v=o,g=0;this.seriesConfigs=[];for(var _=0;_<c;_++){var m=p[_];y=(v+=g)+mt(m.size,l/h),this.seriesConfigs.push({innerRadius:v,radius:y}),g=m.margin||0,v=y}t.prototype.reflow.call(this,e)},e.prototype.animationDelay=function(t,e,o){return 50*t+600*(e+1)/(o+1)},e}(ds);wt(gs,{startAngle:90,connectors:{width:2,color:"#939393",padding:8}});var _s=gs,ms=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createDonutChart(this.series)},e.prototype.createDonutChart=function(t){var e=t[0],o=new _s(this,{series:t,padding:e.padding,connectors:e.connectors,legend:this.options.legend});this.appendChart(o)},e}(fs),bs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.valueAxisRangeTracker=new Ni},e.prototype.render=function(){this.addToLegend(this.series),this.createPolarAxis(),this.createCharts(),this.createValueAxis()},e.prototype.alignAxes=function(){var t=this.valueAxis,e=t.range(),o=t.options.reverse?e.max:e.min,i=t.getSlot(o),n=this.polarAxis.getSlot(0).center,r=t.box.translate(n.x-i.x1,n.y-i.y1);t.reflow(r)},e.prototype.createValueAxis=function(){var t,e,o=this.valueAxisRangeTracker,i=o.query(),n=this.valueAxisOptions({roundToMajorUnit:!1,zIndex:-1});"log"===n.type?(t=Ro,e={min:.1,max:1}):(t=Do,e={min:0,max:1});var r=o.query(name)||i||e;r&&i&&(r.min=Math.min(r.min,i.min),r.max=Math.max(r.max,i.max));var s=new t(r.min,r.max,n,this.chartService);this.valueAxis=s,this.appendAxis(s)},e.prototype.reflowAxes=function(){var t=this.options.plotArea,e=this.valueAxis,o=this.polarAxis,i=this.box,n=.15*Math.min(i.width(),i.height()),r=V(t.padding||{},n),s=i.clone().unpad(r),p=s.clone();p.y2=p.y1+Math.min(p.width(),p.height()),p.align(s,m,a);var c=p.clone().shrink(0,p.height()/2);o.reflow(p),e.reflow(c);var u=e.lineBox().height()-e.box.height();e.reflow(e.box.unpad({top:u})),this.axisBox=p,this.alignAxes(p)},e.prototype.backgroundBox=function(){return this.box},e.prototype.detachLabels=function(){},e}(Kn),xs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var o=t.center.y-e.y1,i=Nt.onCircle(t.center,t.startAngle,o);return new Ft(i.x,i.y,i.x,i.y)},e}(hn);wt(xs,{clip:!1});var ws=xs,Cs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(es);Cs.prototype.pointSlot=ws.prototype.pointSlot,wt(Cs,{clip:!1});var Ss=Cs,ks=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this._polarAxisCenter();t.lineTo(e.x,e.y)},e.prototype._polarAxisCenter=function(){return this.parent.plotArea.polarAxis.box.center()},e.prototype.strokeSegments=function(){var t=this._strokeSegments;if(!t){var e=this._polarAxisCenter(),o=new Vo(!1),i=this.points();i.push(e),(t=this._strokeSegments=o.process(i)).pop()}return t},e}(Li),As=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this.parent.plotArea.polarAxis.box.center(),o=new S.geometry.Segment([e.x,e.y]);t.segments.unshift(o),t.segments.push(o)},e}(Di);function Is(t,e){return t.value.x-e.value.x}var Ps=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,o){return"smooth"===(e.line||{}).style?new ks(t,e,o):new As(t,e,o)},e.prototype.createMissingValue=function(t,e){var o;return un(t.x)&&"interpolate"!==e&&(o={x:t.x,y:t.y},e===ei&&(o.y=0)),o},e.prototype.seriesMissingValues=function(t){return t.missingValues||ei},e.prototype._hasMissingValuesGap=function(){for(var t=this.options.series,e=0;e<t.length;e++)if("gap"===this.seriesMissingValues(t[e]))return!0},e.prototype.sortPoints=function(t){if(t.sort(Is),this._hasMissingValuesGap())for(var e=0;e<t.length;e++){var o=t[e];if(o)un(o.value.y)||"gap"!==this.seriesMissingValues(o.series)||delete t[e]}return t},e}(Ss),Os=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new To(this.options.xAxis,this.chartService);this.polarAxis=t,this.axisX=t,this.appendAxis(t)},e.prototype.valueAxisOptions=function(t){return j(t,{majorGridLines:{type:n},minorGridLines:{type:n}},this.options.yAxis)},e.prototype.createValueAxis=function(){t.prototype.createValueAxis.call(this),this.axisY=this.valueAxis},e.prototype.appendChart=function(t,e){this.valueAxisRangeTracker.update(t.yAxisRanges),Kn.prototype.appendChart.call(this,t,e)},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createLineChart(Vn(t,["polarLine"]),e),this.createScatterChart(Vn(t,["polarScatter"]),e),this.createAreaChart(Vn(t,["polarArea"]),e)},e.prototype.createLineChart=function(t,e){if(0!==t.length){var o=new Ss(this,{series:t});this.appendChart(o,e)}},e.prototype.createScatterChart=function(t,e){if(0!==t.length){var o=new ws(this,{series:t});this.appendChart(o,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var o=new Ps(this,{series:t});this.appendChart(o,e)}},e.prototype._dispatchEvent=function(t,e,o){var i=t._eventCoordinates(e),n=new Nt(i.x,i.y),r=this.axisX.getValue(n),s=this.axisY.getValue(n);null!==r&&null!==s&&t.trigger(o,{element:lt(e),x:r,y:s})},e.prototype.createCrosshairs=function(){},e}(bs);wt(Os,{xAxis:{},yAxis:{}}),j(Os.prototype,$n);var Ts=Os;var Ms=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var o=t.center.y-e.y1,i=Nt.onCircle(t.center,t.middle(),o);return new Ft(i.x,i.y,i.x,i.y)},e.prototype.renderSegments=function(){if(t.prototype.renderSegments.call(this),this._segments&&this._segments.length>1)for(var e=function(t){for(var e=[],o=0;o<t.length;o++){var i=t[o];e[i.seriesIx]=e[i.seriesIx]||[],e[i.seriesIx].push(i)}return e}(this._segments),o=0;o<e.length;o++){var i=e[o];if(i&&i.length>1){var n=i[0].linePoints[0],r=dt(i),s=dt(r.linePoints),a=0===n.categoryIx,p=s.categoryIx===s.categoriesCount-1;a&&p&&dt(i).linePoints.push(n)}}},e.prototype.createSegment=function(t,e,o){var i=new("smooth"===e.style?Ai:xi)(t,e,o),n=this.seriesMissingValues(e);return t.length!==e.data.length&&"interpolate"!==n||(i.options.closed=!0),i},e}(Ei);wt(Ms,{clip:!1,limitPoints:!1});var js=Ms,Es=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Li),Ds=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Di),Bs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,o,i){var n,r,s,a=this.options.isStacked,p=(e.line||{}).style;return a&&o>0&&i&&(r=i.linePoints.slice(0),n=i),"smooth"===p?(s=new Es(t,e,o,n,r)).options.closed=!0:(t.push(t[0]),s=new Ds(t,e,o,n,r)),s},e.prototype.seriesMissingValues=function(t){return t.missingValues||ei},e}(js),Rs=function(t){function e(e,o){t.call(this,e,null,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(vs);wt(Rs,{overlay:{gradient:"none"},labels:{distance:10}});var Ls=Rs,Vs=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?Yi:Wi}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,o=this.children,i=e.gap,n=e.spacing,r=o.length,s=r+i+n*(r-1),a=t.angle/s,p=t.startAngle+a*(i/2);this.forEach(o,(function(e){var o=t.clone();o.startAngle=p,o.angle=a,e.sector&&(o.radius=e.sector.radius),e.reflow(o),e.sector=o,p+=a+a*n}))},e}(qt);wt(Vs,{gap:1,spacing:0});var Ns=Vs,zs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options.reverse,o=this.children,i=o.length,n=e?i-1:0,r=e?-1:1;this.box=new Ft;for(var s=n;s>=0&&s<i;s+=r){var a=o[s].sector;a.startAngle=t.startAngle,a.angle=t.angle}},e}(qt),Fs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return Ls},e.prototype.clusterType=function(){return Ns},e.prototype.stackType=function(){return zs},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.pointSlot=function(t,e){var o=t.clone(),i=t.center.y;return o.radius=i-e.y1,o.innerRadius=i-e.y2,o},e.prototype.reflowPoint=function(t,e){t.sector=e,t.reflow()},e.prototype.createAnimation=function(){this.options.animation.center=this.box.toRect().center(),t.prototype.createAnimation.call(this)},e}($i);Fs.prototype.reflow=yi.prototype.reflow,wt(Fs,{clip:!1,limitPoints:!1,animation:{type:"pie"}});var Hs=Fs,Gs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new Po(this.options.categoryAxis,this.chartService);this.polarAxis=t,this.categoryAxis=t,this.appendAxis(t),this.aggregateCategories(),this.createCategoryAxesLabels()},e.prototype.valueAxisOptions=function(t){return this._hasBarCharts&&j(t,{majorGridLines:{type:n},minorGridLines:{type:n}}),this._isStacked100&&j(t,{roundToMajorUnit:!1,labels:{format:"P0"}}),j(t,this.options.valueAxis)},e.prototype.aggregateCategories=function(){Ar.prototype.aggregateCategories.call(this,this.panes)},e.prototype.createCategoryAxesLabels=function(){Ar.prototype.createCategoryAxesLabels.call(this,this.panes)},e.prototype.filterSeries=function(t){return t},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createAreaChart(Vn(t,["radarArea"]),e),this.createLineChart(Vn(t,["radarLine"]),e),this.createBarChart(Vn(t,["radarColumn"]),e)},e.prototype.chartOptions=function(t){var e={series:t},o=t[0];if(o){var i=this.filterVisibleSeries(t),n=o.stack;e.isStacked=n&&i.length>1,e.isStacked100=n&&"100%"===n.type&&i.length>1,e.isStacked100&&(this._isStacked100=!0)}return e},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var o=new Bs(this,this.chartOptions(t));this.appendChart(o,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var o=new js(this,this.chartOptions(t));this.appendChart(o,e)}},e.prototype.createBarChart=function(t,e){if(0!==t.length){var o=t[0],i=this.chartOptions(t);i.gap=o.gap,i.spacing=o.spacing;var n=new Hs(this,i);this.appendChart(n,e),this._hasBarCharts=!0}},e.prototype.seriesCategoryAxis=function(){return this.categoryAxis},e.prototype._dispatchEvent=function(t,e,o){var i=t._eventCoordinates(e),n=new Nt(i.x,i.y),r=this.categoryAxis.getCategory(n),s=this.valueAxis.getValue(n);null!==r&&null!==s&&t.trigger(o,{element:lt(e),category:r,value:s})},e.prototype.createCrosshairs=function(){},e}(bs);j(Gs.prototype,$n,{appendChart:Ar.prototype.appendChart,aggregateSeries:Ar.prototype.aggregateSeries,seriesSourcePoints:Ar.prototype.seriesSourcePoints}),wt(Gs,{categoryAxis:{categories:[]},valueAxis:{}});var Us=Gs,Ws=function(t){function e(e,o,i){t.call(this,o),this.value=e,this.options.index=i.index}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.points,o=this.children[0];this.box=new Ft(e[0].x,e[0].y,e[1].x,e[2].y),o&&o.reflow(new Ft(t.x1,e[0].y,t.x2,e[2].y))},e.prototype.createVisual=function(){var e,o=this,i=this.options;t.prototype.createVisual.call(this),(e=i.visual?i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,points:this.points,options:i,sender:this.getSender(),createVisual:function(){return o.createPath()}}):this.createPath())&&this.visual.append(e)},e.prototype.createPath=function(){var t=this.options,e=t.border;return S.drawing.Path.fromPoints(this.points,{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.color,opacity:e.opacity,width:e.width}}).close()},e.prototype.createHighlight=function(t){return S.drawing.Path.fromPoints(this.points,t)},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=S.drawing.Path.fromPoints(this.points).close();return{options:this.options,path:t}},e.prototype.tooltipAnchor=function(){var t=this.box;return{point:new Nt(t.center().x,t.y1),align:{horizontal:"center",vertical:"top"}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(qt);wt(Ws,{color:g,border:{width:1}}),j(Ws.prototype,vi);var Ys=Ws,Xs=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.points=[],this.labels=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.render=function(){var t=this.options,e=this.plotArea.options.seriesColors;void 0===e&&(e=[]);var o=t.series[0],i=o.data;if(i)for(var n=Rn(o),r=n.total,s=n.points,a=0;a<s.length;a++){var p=s[a];if(p){var c=p.fields;T(o.color)||(o.color=c.color||e[a%e.length]),c=j({index:a,owner:this,series:o,dataItem:i[a],percentage:p.value/r},c,{visible:p.visible});var u=p.valueFields.value,l=this.createSegment(u,c),h=this.createLabel(u,c);l&&h&&l.append(h)}}},e.prototype.evalSegmentOptions=function(t,e,o){var i=o.series;hi(t,{value:e,series:i,dataItem:o.dataItem,index:o.index},{defaults:i._defaults,excluded:["data","content","template","toggle","visual"]})},e.prototype.createSegment=function(t,e){var o=j({},e.series);if(this.evalSegmentOptions(o,t,e),this.createLegendItem(t,o,e),!1!==e.visible){var i=new Ys(t,o,e);return Object.assign(i,e),this.append(i),this.points.push(i),i}},e.prototype.createLabel=function(t,e){var o=e.series,i=e.dataItem,n=j({},this.options.labels,o.labels),r=t;if(n.visible){var s=H(n),a={dataItem:i,value:t,percentage:e.percentage,category:e.category,series:o};s?r=s(a):n.format&&(r=this.plotArea.chartService.format.auto(n.format,r)),n.color||(n.color=Ot(o.color),n.background||(n.background=o.color)),this.evalSegmentOptions(n,t,e);var p=new ue(r,j({vAlign:n.position},n),a);return this.labels.push(p),p}},e.prototype.labelPadding=function(){for(var t=this.labels,e={left:0,right:0},o=0;o<t.length;o++){var i=t[o].options.align;if(i!==a){var n=t[o].box.width();i===l?e.left=Math.max(e.left,n):e.right=Math.max(e.right,n)}}return e},e.prototype.dynamicSlopeReflow=function(t,e,o){for(var i=this.options,n=this.points,r=n.length,s=n[0],a=s,p=0;p<n.length;p++)n[p].percentage>a.percentage&&(a=n[p]);for(var c=s.percentage/a.percentage*e,u=(e-c)/2,l=0,h=0;h<r;h++){var d=n[h].percentage,f=n[h+1],y=f?f.percentage:d,v=n[h].points=[],g=i.dynamicHeight?o*d:o/r,_=void 0;_=ft(_=d?(e-c*(y/d))/2:y?0:e/2,0,e),v.push(new S.geometry.Point(t.x1+u,t.y1+l)),v.push(new S.geometry.Point(t.x1+e-u,t.y1+l)),v.push(new S.geometry.Point(t.x1+e-_,t.y1+g+l)),v.push(new S.geometry.Point(t.x1+_,t.y1+g+l)),u=_,l+=g+i.segmentSpacing,c=ft(e-2*_,0,e)}},e.prototype.constantSlopeReflow=function(t,e,o){for(var i=this.options,n=this.points,r=n.length,s=i.neckRatio<=1,a=s?i.neckRatio*e:e,p=s?0:(e-e/i.neckRatio)/2,c=((s?e:e-2*p)-a)/2,u=0,l=0;l<r;l++){var h=n[l].points=[],d=n[l].percentage,f=i.dynamicHeight?c*d:c/r,y=i.dynamicHeight?o*d:o/r;h.push(new S.geometry.Point(t.x1+p,t.y1+u)),h.push(new S.geometry.Point(t.x1+e-p,t.y1+u)),h.push(new S.geometry.Point(t.x1+e-p-f,t.y1+y+u)),h.push(new S.geometry.Point(t.x1+p+f,t.y1+y+u)),p+=f,u+=y+i.segmentSpacing}},e.prototype.reflow=function(t){var e=this.points,o=e.length;if(o){var i=this.options,n=t.clone().unpad(this.labelPadding()),r=n.height()-i.segmentSpacing*(o-1),s=n.width();i.dynamicSlope?this.dynamicSlopeReflow(n,s,r):this.constantSlopeReflow(n,s,r);for(var a=0;a<o;a++)e[a].reflow(t)}},e}(qt);wt(Xs,{neckRatio:.3,width:300,dynamicSlope:!1,dynamicHeight:!0,segmentSpacing:0,labels:{visible:!1,align:a,position:a,zIndex:1}}),j(Xs.prototype,us);var qs=Xs,Zs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createFunnelChart(this.series)},e.prototype.createFunnelChart=function(t){var e=t[0],o=new qs(this,{series:t,legend:this.options.legend,neckRatio:e.neckRatio,dynamicHeight:e.dynamicHeight,dynamicSlope:e.dynamicSlope,segmentSpacing:e.segmentSpacing,highlight:e.highlight});this.appendChart(o)},e.prototype.appendChart=function(e,o){t.prototype.appendChart.call(this,e,o),nt(this.options.legend.items,e.legendItems)},e}(Kn),Qs=function(t,e){void 0===e&&(e=.05);var o=Object(S.parseColor)(t),i=1-e;return function(t){var e=o.toHSL(),n=100-e.l,r=i-t;return e.l+=Math.min(r*n,n),e.toCss()}},Ks=function(t){function e(e,o){t.call(this),this.options=o,this.color=o.color||g,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createMarker(),this.createLabel(),this.createNote())},e.prototype.createLabel=function(){var t=this.options.labels;if(t.visible){var e,o=this.pointData(),i=H(t),n=t.color;e=i?i(o):this.formatValue(t.format),n||(n=Ot(this.color)),this.label=new ue(e,j({align:a,vAlign:a,margin:{left:5,right:5},zIndex:mt(t.zIndex,this.series.zIndex)},t,{color:n}),o),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;this.box=t,e&&e.reflow(this.markerBox()),this.note&&this.note.reflow(t),this.marker.reflow(this.markerBox())},e.prototype.markerBox=function(){var t=this.options.markers,e=t.border,o=this.box.toRect(),i="roundedRect"===mt(t.type,"rect"),n=mt(e.width,i?1:0),r=Math.round(n/2);if(t.size){var s=o.center();o.size.width=o.size.height=t.size,o.origin.x=Math.round(s.x-o.size.width/2),o.origin.y=Math.round(s.y-o.size.height/2)}return o.size.width-=n,o.size.height-=n,o.origin.y+=r+.5,o.origin.x+=r+.5,pe(o)},e.prototype.markerBorder=function(){var t=this.options,e=t.markers.border,o=mt(e.opacity,t.opacity);return{color:e.color||this.color,width:e.width,opacity:o,dashType:e.dashType}},e.prototype.createMarker=function(){var t=this.options,e=t.markers,o=new $t({type:mt(e.type,"rect"),width:e.size,height:e.size,rotation:e.rotation,background:this.color,border:this.markerBorder(),borderRadius:e.borderRadius,opacity:this.series.opacity||t.opacity,zIndex:mt(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category});this.marker=o,this.append(o)},e.prototype.createHighlight=function(t){var e=this.options,o=this.options.highlight.markers||this.options.markers,i=new $t({type:mt(o.type,"rect"),width:o.size,height:o.size,rotation:o.rotation,background:o.color||this.color,border:this.markerBorder(),borderRadius:o.borderRadius,opacity:this.series.opacity||e.opacity,zIndex:mt(e.zIndex,this.series.zIndex)});i.reflow(this.markerBox());var n=i.getElement();return n.options.fill=t.fill,n.options.stroke=t.stroke,n},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.tooltipAnchor=function(){var t=this.box.center().x,e=this.box.y1-5;return{point:new Nt(t,e),align:{horizontal:a,vertical:s}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){},e.prototype.pointData=function(){return{x:this.value.x,y:this.value.y,value:this.value.value,dataItem:this.dataItem,series:this.series}},e}(qt);j(Ks.prototype,vi),j(Ks.prototype,gi),Ks.prototype.defaults={markers:{type:"rect",borderRadius:4,border:{color:"transparent"}},padding:{top:1},labels:{visible:!1,padding:3},opacity:1,notes:{label:{}}};var $s=Ks,Js=function(t){function e(e,o){t.call(this,o),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.points=[],this.seriesOptions=[],this.valueRange={min:h,max:d},this._evalSeries=[]},e.prototype.render=function(){this.setRange(),this.traverseDataPoints(this.addValue.bind(this))},e.prototype.setRange=function(){for(var t=this.options.series,e=0;e<t.length;e++)for(var o=t[e],i=0;i<o.data.length;i++){var n=this._bindPoint(o,e,i).valueFields;st(n.value)&&null!==n.value&&(this.valueRange.min=Math.min(this.valueRange.min,n.value),this.valueRange.max=Math.max(this.valueRange.max,n.value))}},e.prototype.addValue=function(t,e){var o;t&&st(t.value)&&null!==t.value&&(o=this.createPoint(t,e))&&Object.assign(o,e),this.points.push(o)},e.prototype.evalPointOptions=function(t,e,o){var i=o.series,n=o.seriesIx,r={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle"]},s=this._evalSeries[n];st(s)||(this._evalSeries[n]=s=hi(t,{},r,!0));var a=t;return s&&hi(a=j({},t),{value:e,series:i,dataItem:o.dataItem,min:this.valueRange.min,max:this.valueRange.max},r),a},e.prototype.pointType=function(){return $s},e.prototype.pointOptions=function(t,e){var o=this.seriesOptions[e];if(!o){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=o=j({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return o},e.prototype.createPoint=function(t,e){var o=e.series,i=this.pointOptions(o,e.seriesIx),n=e.color||o.color;if(i=this.evalPointOptions(i,t,e),T(o.color))n=i.color;else if(0!==this.valueRange.max){n=Qs(n)(t.value/this.valueRange.max)}var r=new $s(t,i);return r.color=n,this.append(r),r},e.prototype.seriesAxes=function(t){var e=t.xAxis,o=t.yAxis,i=this.plotArea,n=e?i.namedXAxes[e]:i.axisX,r=o?i.namedYAxes[o]:i.axisY;if(!n)throw new Error("Unable to locate X axis with name "+e);if(!r)throw new Error("Unable to locate Y axis with name "+o);return{xAxis:n,yAxis:r}},e.prototype.reflow=function(t){var e=this,o=this.points,i=!this.options.clip,n=0;this.traverseDataPoints((function(t,r){var s=o[n++],a=e.seriesAxes(r.series),p=a.xAxis,c=a.yAxis,u=p.categoryIndex(t.x),l=c.categoryIndex(t.y),h=p.getSlot(u,u,i),d=c.getSlot(l,l,i);if(s)if(h&&d){var f=e.pointSlot(h,d);s.reflow(f)}else s.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new Ft(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,o=0;o<e.length;o++)for(var i=e[o],n=this.seriesAxes(i),r=n.xAxis,s=n.yAxis,a=r.currentRangeIndices(),p=s.currentRangeIndices(),c=0;c<i.data.length;c++){var u=this._bindPoint(i,o,c),l=u.valueFields,h=u.fields,d=r.totalIndex(l.x),f=s.totalIndex(l.y),y=a.min<=d&&d<=a.max,v=p.min<=f&&f<=p.max;y&&v&&t(l,j({pointIx:c,series:i,seriesIx:o,dataItem:i.data[c],owner:this},h))}},e.prototype.formatPointValue=function(t,e){var o=t.value;return this.chartService.format.auto(e,o.x,o.y,o.value)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],o=0;o<t.length;o++)e.push((t[o]||{}).marker);return e},e}(qt);wt(Js,{series:[],tooltip:{format:"{0}, {1}: {2}"},labels:{format:"{2}"},clip:!0}),j(Js.prototype,{_bindPoint:yi.prototype._bindPoint});var ta=Js,ea=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.bindCategories(),this.createAxes(t),this.createCharts(t),this.createAxisLabels()},e.prototype.bindCategories=function(){for(var t=this.srcSeries||this.series,e=0;e<t.length;e++){for(var o=t[e],i=o.data||[],n=this.seriesAxes(o),r=n.xAxis,s=n.yAxis,a=Bt(r.categories||[]),p=Bt(s.categories||[]),c=0;c<i.length;c++){var u=Zo.current.bindPoint(o,c).valueFields,l=u.x,h=u.y;a.has(l)||a.add(l),p.has(h)||p.add(h)}r.categories=a.values(),s.categories=p.values()}},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),o=0;o<t.length;o++){var i=t[o],n=e[i.options.name||"default"]||[];this.addToLegend(n);var r=this.filterVisibleSeries(n);r&&this.createHeatmapChart(Vn(r,["heatmap"]),i)}},e.prototype.createHeatmapChart=function(t,e){var o=new ta(this,{series:t});this.appendChart(o,e)},e.prototype.seriesPaneName=function(t){var e=this.options,o=t.xAxis,i=Y([].concat(e.xAxis),(function(t){return t.name===o}))[0],n=t.yAxis,r=Y([].concat(e.yAxis),(function(t){return t.name===n}))[0],s=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(r||{}).pane||s},e.prototype.seriesAxes=function(t){var e,o,i=this.options,n=[].concat(i.xAxis),r=t.xAxis;e=r?n.find((function(t){return t.name===r})):n[0];var s=[].concat(i.yAxis),a=t.yAxis;if(o=a?s.find((function(t){return t.name===a})):s[0],!e)throw new Error("Unable to locate X axis with name "+r);if(!o)throw new Error("Unable to locate Y axis with name "+a);return{xAxis:e,yAxis:o}},e.prototype.createAxisLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e].createLabels()},e.prototype.createXYAxis=function(t,e,o){for(var i,n=t.name,r=e?this.namedYAxes:this.namedXAxes,s=Object.assign({axisCrossingValue:0},t,{vertical:e,reverse:e||this.chartService.rtl?!t.reverse:t.reverse,justified:!1}),a=s.categories?s.categories[0]:null,p=[s.min,s.max,a],u=this.series,l=0;l<u.length;l++){var h=u[l],d=h[e?"yAxis":"xAxis"];if(d===s.name||0===o&&!d){var f=Zo.current.bindPoint(h,0).valueFields;p.push(f[e?"y":"x"]);break}}for(var y=0;y<p.length;y++)if(p[y]instanceof Date){i=!0;break}var v=new(Ln(s.type,c)||!s.type&&i?lo:oo)(s,this.chartService);if(v.axisIndex=o,n){if(r[n])throw new Error((e?"Y":"X")+" axis with name "+n+" is already defined");r[n]=v}return this.appendAxis(v),v.mapCategories(),v},e.prototype.createAxes=function(t){for(var e=this.options,o=[].concat(e.xAxis),i=[],n=[].concat(e.yAxis),r=[],s=0;s<o.length;s++){Q(this.findPane(o[s].pane),t)&&i.push(this.createXYAxis(o[s],!1,s))}for(var a=0;a<n.length;a++){Q(this.findPane(n[a].pane),t)&&r.push(this.createXYAxis(n[a],!0,a))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||r[0]},e.prototype.removeAxis=function(e){var o=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?delete this.namedYAxes[o]:delete this.namedXAxes[o],e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype._dispatchEvent=function(t,e,o){for(var i=t._eventCoordinates(e),n=new Nt(i.x,i.y),r=this.axes,s=r.length,a=[],p=[],c=0;c<s;c++){var u=r[c];Dn(u.options.vertical?p:a,u.getCategory(n))}a.length>0&&p.length>0&&t.trigger(o,{element:lt(e),originalEvent:e,x:Fn(a),y:Fn(p)})},e.prototype.updateAxisOptions=function(t,e){var o=t.options.vertical,i=this.groupAxes(this.panes),n=(o?i.y:i.x).indexOf(t);oa(this.options,n,o,e),oa(this.originalOptions,n,o,e)},e.prototype.crosshairOptions=function(t){return Object.assign({},t.options.crosshair,{zIndex:0})},e}(Kn);function oa(t,e,o,i){j([].concat(o?t.yAxis:t.xAxis)[e],i)}wt(ea,{xAxis:{},yAxis:{}}),j(ea.prototype,$n);var ia=ea,na="color",ra="first",sa="max";Fr.current.register(Ar,[oi,ii,ni,si,"area","verticalArea","candlestick","ohlc","bullet","verticalBullet","boxPlot","verticalBoxPlot","rangeColumn","rangeBar","waterfall","horizontalWaterfall","rangeArea","verticalRangeArea"]),Fr.current.register(ns,["scatter","scatterLine","bubble"]),Fr.current.register(fs,[ri]),Fr.current.register(ms,["donut"]),Fr.current.register(Zs,["funnel"]),Fr.current.register(Ts,["polarArea","polarLine","polarScatter"]),Fr.current.register(Us,["radarArea","radarColumn","radarLine"]),Fr.current.register(ia,["heatmap"]),Zo.current.register([oi,ii,ni,si,"area","verticalArea"],[v],["category",na,"noteText","errorLow","errorHigh"]),Zo.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],["from","to"],["category",na,"noteText"]),Zo.current.register(["waterfall","horizontalWaterfall"],[v],["category",na,"noteText","summary"]),Zo.current.register(["polarArea","polarLine","polarScatter"],[_,m],[na]),Zo.current.register(["radarArea","radarColumn","radarLine"],[v],[na]),Zo.current.register(["funnel"],[v],["category",na,"visibleInLegend","visible"]),or.current.register([oi,ii,ni,si,"area","verticalArea","waterfall","horizontalWaterfall"],{value:sa,color:ra,noteText:ra,errorLow:"min",errorHigh:sa}),or.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],{from:"min",to:sa,color:ra,noteText:ra}),or.current.register(["radarArea","radarColumn","radarLine"],{value:sa,color:ra}),Zo.current.register(["scatter","scatterLine","bubble"],[_,m],[na,"noteText","xErrorLow","xErrorHigh","yErrorLow","yErrorHigh"]),Zo.current.register(["bubble"],[_,m,"size"],[na,"category","noteText"]),Zo.current.register(["heatmap"],[_,m,v],[na,"noteText"]),Zo.current.register(["candlestick","ohlc"],["open","high","low","close"],["category",na,"downColor","noteText"]),or.current.register(["candlestick","ohlc"],{open:sa,high:sa,low:"min",close:sa,color:ra,downColor:ra,noteText:ra}),Zo.current.register(["boxPlot","verticalBoxPlot"],["lower","q1","median","q3","upper","mean","outliers"],["category",na,"noteText"]),or.current.register(["boxPlot","verticalBoxPlot"],{lower:sa,q1:sa,median:sa,q3:sa,upper:sa,mean:sa,outliers:ra,color:ra,noteText:ra}),Zo.current.register(["bullet","verticalBullet"],["current","target"],["category",na,"visibleInLegend","noteText"]),or.current.register(["bullet","verticalBullet"],{current:sa,target:sa,color:ra,noteText:ra}),Zo.current.register([ri,"donut"],[v],["category",na,"explode","visibleInLegend","visible"]);var aa=["category",v,_,m],pa=function(t){function e(e,o,i,n){var r=this;void 0===n&&(n={}),t.call(this),this.observers=[],this.addObserver(n.observer),this.chartService=new Pe(this,n),this.chartService.theme=i,this._initElement(e);var s=j({},this.options,o);this._originalOptions=j({},s),this._theme=i,this._initTheme(s,i),this._initHandlers(),this._initSurface(),this.bindCategories(),xt.preloadFonts(o,(function(){r.fontLoaded=!0,r._destroyed||(r.trigger("init"),r._redraw(),r._attachEvents())}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initElement=function(t){for(this._setElementClass(t),t.style.position="relative";t.firstChild;)t.removeChild(t.firstChild);this.element=t},e.prototype._setElementClass=function(t){x(t,"k-chart")},e.prototype._initTheme=function(t,e){for(var o=[],i=t.series||[],n=0;n<i.length;n++)o.push(Object.assign({},i[n]));t.series=o,function(t){for(var e=aa,o=0;o<e.length;o++){var i=e[o]+"Axes";t[i]&&(t[e[o]+"Axis"]=t[i],delete t[i])}}(t),this.applyDefaults(t,e),null===t.seriesColors&&delete t.seriesColors,this.options=j({},e,t),this.applySeriesColors()},e.prototype.getSize=function(){var t=this.options.chartArea||{};return{width:t.width?parseInt(t.width,10):Math.floor(this.element.offsetWidth),height:t.height?parseInt(t.height,10):Math.floor(this.element.offsetHeight)}},e.prototype.resize=function(t){var e=this.getSize(),o=this._size,i=e.width>0||e.height>0;t||i&&(!o||e.width!==o.width||e.height!==o.height)?(this._size=e,this._resize(e,t),this.trigger("resize",e)):i&&this._selections&&St(this._selections,(function(t){return!t.visible}))&&(this._destroySelections(),this._setupSelection())},e.prototype._resize=function(){this._noTransitionsRedraw()},e.prototype.redraw=function(t){if(this.applyDefaults(this.options),this.applySeriesColors(),t){var e=this._model._plotArea,o=e.findPane(t);e.redraw(o)}else this._redraw()},e.prototype.getAxis=function(t){return zo(t,this._plotArea.axes)},e.prototype.findAxisByName=function(t){return this.getAxis(t)},e.prototype.findPaneByName=function(t){for(var e=this._plotArea.panes,o=0;o<e.length;o++)if(e[o].options.name===t)return new Ho(e[o])},e.prototype.findPaneByIndex=function(t){var e=this._plotArea.panes;if(e[t])return new Ho(e[t])},e.prototype.plotArea=function(){return new Go(this._plotArea)},e.prototype.toggleHighlight=function(t,e){var o,i,n,r=this._plotArea,s=(r.srcSeries||r.series||[])[0];T(e)?o=r.filterPoints(e):(E(e)?(i=e.series,n=e.category):i=n=e,o="donut"===s.type?ca(r.pointsBySeriesName(i),n):s.type===ri||"funnel"===s.type?ca((r.charts[0]||{}).points,n):r.pointsBySeriesName(i));o&&this.togglePointsHighlight(t,o)},e.prototype.togglePointsHighlight=function(t,e){for(var o=this._highlight,i=0;i<e.length;i++)o.togglePointHighlight(e[i],t)},e.prototype.showTooltip=function(t){var e,o,i=this._sharedTooltip(),n=this._tooltip,r=this._plotArea;if(T(t)?(e=r.findPoint(t))&&i&&(o=e.categoryIx):i&&st(t)&&(o=r.categoryAxis.categoryIndex(t)),i){if(o>=0){var s=this._plotArea.pointsByCategoryIndex(o);n.showAt(s)}}else e&&n.show(e)},e.prototype.hideTooltip=function(){this._tooltip.hide()},e.prototype._initSurface=function(){var t=this.surface,e=this._surfaceWrap(),o=this.options.chartArea||{};o.width&&ct(e,{width:o.width}),o.height&&ct(e,{height:o.height}),t&&t.options.type===this.options.renderAs?(this.surface.clear(),this.surface.resize()):(this._destroySurface(),this.surface=S.drawing.Surface.create(e,{type:this.options.renderAs}),this.surface.bind("mouseenter",this._surfaceMouseenterHandler),this.surface.bind("mouseleave",this._surfaceMouseleaveHandler))},e.prototype._surfaceWrap=function(){return this.element},e.prototype._redraw=function(){var t=this._getModel();this._size={width:t.options.width,height:t.options.height},this._destroyView(),this._model=t,this._plotArea=t._plotArea,t.renderVisual(),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.setup()})),this._initSurface(),this.surface.draw(t.visual),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.play()})),this._tooltip=this._createTooltip(),this._highlight=new Pr,this._setupSelection(),this._createPannable(),this._createZoomSelection(),this._createMousewheelZoom(),this.trigger("render"),fa(this._plotArea.panes),this._navState||this._cancelDomEvents()},e.prototype.exportVisual=function(t){var e;if(t&&(t.width||t.height||t.options)){var o=this.options,i=j({},t.options,{chartArea:{width:t.width,height:t.height}});da(this._originalOptions,i),this.options=j({},this._originalOptions,i),this._initTheme(this.options,this._theme),this.bindCategories();var n=this._getModel();n.renderVisual(),fa(n._plotArea.panes),e=n.visual,this.options=o}else e=this.surface.exportVisual();return e},e.prototype._sharedTooltip=function(){return this._plotArea instanceof Ar&&this.options.tooltip&&this.options.tooltip.shared},e.prototype._createPannable=function(){var t=this.options;!1!==t.pannable&&(this._pannable=new jr(this._plotArea,t.pannable))},e.prototype._createZoomSelection=function(){var t=this.options.zoomable,e=(t||{}).selection;!1!==t&&!1!==e&&(this._zoomSelection=new Dr(this,e))},e.prototype._createMousewheelZoom=function(){var t=this.options.zoomable,e=(t||{}).mousewheel;!1!==t&&!1!==e&&(this._mousewheelZoom=new Br(this,e))},e.prototype._toggleDragZoomEvents=function(){var t=this.options.pannable,e=this.options.zoomable,o=(e||{}).selection,i=(e||{}).mousewheel,n=!(t||!1!==e&&!1!==o||this.requiresHandlers(["dragStart","drag","dragEnd"])),r=(!1===e||!1===i)&&!this.requiresHandlers(["zoomStart","zoom","zoomEnd"]),s=this.element;this._dragZoomEnabled&&n&&r?(s.style.touchAction=this._touchAction||"",this._dragZoomEnabled=!1):this._dragZoomEnabled||n&&r||(s.style.touchAction="none",this._dragZoomEnabled=!0),this._toggleDomEvents(!n,!r)},e.prototype._toggleDomEvents=function(t,e){var o=this.domEvents;o&&(o.toggleDrag&&o.toggleDrag(t),o.toggleZoom&&o.toggleZoom(e))},e.prototype._createTooltip=function(){var t=this.options.tooltip;return this._sharedTooltip()?this._createSharedTooltip(t):new Yr(this.chartService,t)},e.prototype._createSharedTooltip=function(t){return new qr(this._plotArea,t)},e.prototype.applyDefaults=function(t,e){!function(t,e){var o,i,n,r=(e||{}).axisDefaults||{};function s(t){var e=(t||{}).color||i.color,n=j({},r,r[o],i,i[o],{line:{color:e},labels:{color:e},title:{color:e}},t);return delete n[o],n}for(var a=0;a<aa.length;a++)o=aa[a]+"Axis",i=t.axisDefaults||{},n=(n=[].concat(t[o])).map(s),t[o]=n.length>1?n:n[0]}(t,e),function(t,e){var o=t.series,i=o.length,n=t.seriesDefaults,r=j({},t.seriesDefaults),s=e?j({},e.seriesDefaults):{},a=j({},s);ua(r),ua(a);for(var p=0;p<i;p++){var c=o[p].type||t.seriesDefaults.type,u=j({data:[]},a,s[c],{tooltip:t.tooltip},r,n[c]);o[p]._defaults=u,o[p]=j({},u,o[p]),o[p].data=o[p].data||[]}}(t,e)},e.prototype.applySeriesColors=function(){for(var t=this.options,e=t.series,o=t.seriesColors||[],i=0;i<e.length;i++){var n=e[i],r=o[i%o.length],s=n._defaults;n.color=n.color||r,s&&(s.color=s.color||r)}},e.prototype._getModel=function(){var t=this.options,e=this._createPlotArea(),o=new oe(this._modelOptions());return o.chart=this,o._plotArea=e,he.buildTitle(t.title,o),t.legend&&t.legend.visible&&o.append(new Nr(e.options.legend,this.chartService)),o.append(e),o.reflow(),o},e.prototype._modelOptions=function(){var t=this.options,e=this.getSize();return j({transitions:t.transitions,width:e.width||600,height:e.height||400},t.chartArea)},e.prototype._createPlotArea=function(t){var e=this.options;return Fr.current.create(t?[]:e.series,e,this.chartService)},e.prototype._setupSelection=function(){for(var t=this._plotArea.axes,e=this._selections=[],o=0;o<t.length;o++){var i=t[o],n=i.options;if(i instanceof oo&&n.select&&!n.vertical){var r=i.range(),s=new Wr(this,i,j({min:r.min,max:r.max},n.select));e.push(s)}}},e.prototype._selectStart=function(t){return this.trigger("selectStart",t)},e.prototype._select=function(t){return this.trigger("select",t)},e.prototype._selectEnd=function(t){return this.trigger("selectEnd",t)},e.prototype._initHandlers=function(){this._clickHandler=this._click.bind(this),this._mousewheelHandler=this._mousewheel.bind(this),this._mouseleaveHandler=this._mouseleave.bind(this),this._surfaceMouseenterHandler=this._mouseover.bind(this),this._surfaceMouseleaveHandler=this._mouseout.bind(this),this._mousemove=Object(S.throttle)(this._mousemove.bind(this),20)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,o=0;o<e.length;o++)if(e[o].requiresHandlers(t))return!0},e.prototype.trigger=function(t,e){void 0===e&&(e={}),"showTooltip"===t&&(e.anchor.point=this._toDocumentCoordinates(e.anchor.point)),e.sender=this;for(var o=this.observers,i=!1,n=0;n<o.length;n++)o[n].trigger(t,e)&&(i=!0);return i},e.prototype._attachEvents=function(){var t,e,o=this.element;this._touchAction=o.style.touchAction,rt(o,((t={}).contextmenu=this._clickHandler,t[pi]=this._mousewheelHandler,t.mouseleave=this._mouseleaveHandler,t)),this._shouldAttachMouseMove()&&rt(o,((e={}).mousemove=this._mousemove,e)),this.domEvents=Te.create(this.element,{start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)}),this._toggleDragZoomEvents()},e.prototype._mouseleave=function(t){this._hoveredPoint&&(this._hoveredPoint.out(this,t),this._hoveredPoint=null),this._plotArea.hovered&&(this.trigger("plotAreaLeave"),this._plotArea.hovered=!1)},e.prototype._cancelDomEvents=function(){this.domEvents&&this.domEvents.cancel&&this.domEvents.cancel()},e.prototype._gesturestart=function(t){this._mousewheelZoom&&!this._stopChartHandlers(t)&&(this._gestureDistance=t.distance,this._unsetActivePoint(),this.surface.suspendTracking())},e.prototype._gestureend=function(t){this._zooming&&!this._stopChartHandlers(t)&&(this.surface&&this.surface.resumeTracking(),this._zooming=!1,this.trigger("zoomEnd",{}))},e.prototype._gesturechange=function(t){var e=this._mousewheelZoom;if(e&&!this._stopChartHandlers(t)){t.preventDefault();var o=this._gestureDistance,i=-t.distance/o+1;if(Math.abs(i)>=.1){i=Math.round(10*i),this._gestureDistance=t.distance;var n={delta:i,axisRanges:la(this._plotArea.axes),originalEvent:t};if(this._zooming||!this.trigger("zoomStart",n)){var r=this._eventCoordinates(t);this._zooming||(this._zooming=!0),(n.axisRanges=e.updateRanges(i,r))&&!this.trigger("zoom",n)&&e.zoom()}}}},e.prototype._mouseout=function(t){if(t.element){var e=this._drawingChartElement(t.element,t);e&&e.leave&&e.leave(this,t.originalEvent)}},e.prototype._start=function(t){var e=this._eventCoordinates(t);!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(e)&&(this.requiresHandlers(["dragStart","drag","dragEnd"])&&this._startNavigation(t,e,"dragStart"),this._pannable&&this._pannable.start(t)&&(this.surface.suspendTracking(),this._unsetActivePoint(),this._suppressHover=!0,this.chartService.panning=!0),this._zoomSelection&&this._zoomSelection.start(t)&&this.trigger("zoomStart",{axisRanges:la(this._plotArea.axes),originalEvent:t}))},e.prototype._move=function(t){var e=this._navState,o=this._pannable;if(!this._stopChartHandlers(t)){if(o){var i=o.move(t);i&&!this.trigger("drag",{axisRanges:i,originalEvent:t})&&o.pan()}else if(e){for(var n={},r=e.axes,s=0;s<r.length;s++){var a=r[s];if(a.options.name){var p=a.options.vertical?t.y:t.x,c=p.startLocation-p.location;0!==c&&(n[a.options.name]=a.translateRange(c))}}e.axisRanges=n,this.trigger("drag",{axisRanges:n,originalEvent:t})}this._zoomSelection&&this._zoomSelection.move(t)}},e.prototype._end=function(t){if(!this._stopChartHandlers(t)){var e=this._pannable;if(e&&e.end(t)?(this.surface.resumeTracking(),this.trigger("dragEnd",{axisRanges:la(this._plotArea.axes),originalEvent:t}),this._suppressHover=!1,this.chartService.panning=!1):this._endNavigation(t,"dragEnd"),this._zoomSelection){var o=this._zoomSelection.end(t);o&&!this.trigger("zoom",{axisRanges:o,originalEvent:t})&&(this._zoomSelection.zoom(),this.trigger("zoomEnd",{axisRanges:o,originalEvent:t}))}}},e.prototype._stopChartHandlers=function(t){var e=this._selections||[];if(!e.length)return!1;var o=this._eventCoordinates(t),i=this._plotArea.paneByPoint(o);if(i)for(var n=0;n<e.length;n++)if(e[n].onPane(i))return!0},e.prototype._mousewheelZoomRate=function(){var t=(this.options.zoomable||{}).mousewheel||{};return mt(t.rate,.3)},e.prototype._mousewheel=function(t){var e=this,o=ot(t),i=this._mousewheelZoom,n=this._eventCoordinates(t);if(!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(n))if(i){var r={delta:o,axisRanges:la(this._plotArea.axes),originalEvent:t};!this._zooming&&this.trigger("zoomStart",r)||(t.preventDefault(),this._zooming||(this._unsetActivePoint(),this.surface.suspendTracking(),this._zooming=!0),this._mwTimeout&&clearTimeout(this._mwTimeout),r.axisRanges=i.updateRanges(o,n),r.axisRanges&&!this.trigger("zoom",r)&&i.zoom(),this._mwTimeout=setTimeout((function(){e.trigger("zoomEnd",r),e._zooming=!1,e.surface&&e.surface.resumeTracking()}),150))}else{var s=this._navState;if(!s)this._startNavigation(t,n,"zoomStart")||(s=this._navState);if(s){var a=s.totalDelta||o;s.totalDelta=a+o;for(var p=this._navState.axes,c={},u=0;u<p.length;u++){var l=p[u],h=l.options.name;h&&(c[h]=l.scaleRange(-a*e._mousewheelZoomRate(),n))}this.trigger("zoom",{delta:o,axisRanges:c,originalEvent:t}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._endNavigation(t,"zoomEnd")}),150)}}},e.prototype._startNavigation=function(t,e,o){var i=this._model._plotArea,n=i.findPointPane(e),r=i.axes.slice(0);if(n){var s=la(r);this.trigger(o,{axisRanges:s,originalEvent:t})?this._cancelDomEvents():(this._suppressHover=!0,this._unsetActivePoint(),this._navState={axisRanges:s,pane:n,axes:r})}},e.prototype._endNavigation=function(t,e){this._navState&&(this.trigger(e,{axisRanges:this._navState.axisRanges,originalEvent:t}),this._suppressHover=!1,this._navState=null)},e.prototype._getChartElement=function(t,e){var o=this.surface.eventTarget(t);if(o)return this._drawingChartElement(o,t,e)},e.prototype._drawingChartElement=function(t,e,o){for(var i,n=t;n&&!i;)i=n.chartElement,n=n.parent;if(i)return i.aliasFor&&(i=i.aliasFor(e,this._eventCoordinates(e))),o&&(i=i.closest(o))&&i.aliasFor&&(i=i.aliasFor()),i},e.prototype._eventCoordinates=function(t){var e=ut(t);return this._toModelCoordinates(e.x,e.y)},e.prototype._elementPadding=function(){if(!this._padding){var t=L(this.element,["paddingLeft","paddingTop"]),e=t.paddingLeft,o=t.paddingTop;this._padding={top:o,left:e}}return this._padding},e.prototype._toDocumentCoordinates=function(t){var e=this._elementPadding(),o=pt(this.element);return{left:gt(t.x+e.left+o.left),top:gt(t.y+e.top+o.top)}},e.prototype._toModelCoordinates=function(t,e){var o=this.element,i=pt(o),n=this._elementPadding(),r=Pt(o).invert(),s=new S.geometry.Point(t-i.left-n.left,e-i.top-n.top).transform(r);return new Nt(s.x,s.y)},e.prototype._tap=function(t){var e=this,o=this.surface.eventTarget(t),i=this._drawingChartElement(o,t),n=this._sharedTooltip();this._startHover(o,t)||n||this._unsetActivePoint(),n&&this._trackSharedTooltip(this._eventCoordinates(t),t,!0),this._propagateClick(i,t),this.handlingTap=!0,setTimeout((function(){e.handlingTap=!1}),0)},e.prototype._click=function(t){var e=this._getChartElement(t);this._propagateClick(e,t)},e.prototype._propagateClick=function(t,e){for(var o=t;o;)o.click&&o.click(this,e),o=o.parent},e.prototype._startHover=function(t,e){if(this._suppressHover)return!1;var o=this._drawingChartElement(t,e,(function(t){return(t.hover||t.over)&&!(t instanceof Kn)})),i=this._activePoint,n=this._plotArea.series.length>1,r=this._hasInactiveOpacity();return this._updateHoveredPoint(o,e),o&&i!==o&&o.hover?(this._activePoint=o,this._sharedTooltip()||o.hover(this,e)||(this._displayTooltip(o),r?this._displayInactiveOpacity(o,n):this._highlight.show(o))):!o&&r&&(n&&this._activeChartInstance&&(this._updateSeriesOpacity(o,!0),this._applySeriesOpacity(this._activeChartInstance.children,null,!0),this._activeChartInstance=null),this._highlight&&this._highlight.hide(),this._activePoint=null),o},e.prototype._displayTooltip=function(t){j({},this.options.tooltip,t.options.tooltip).visible&&this._tooltip.show(t)},e.prototype._displayInactiveOpacity=function(t,e,o){var i=this._activeChartInstance=this._chartInstanceFromPoint(t);if(i)if(e)this._updateSeriesOpacity(t),this._applySeriesOpacity(i.children,null,!0),this._applySeriesOpacity(i.children,t.series),this._highlight.show(o||t);else{var n;if(!i.supportsPointInactiveOpacity())return void this._highlight.show(t);(n=this._getInactivePoints(t,i))&&n.length&&this._highlight.show(n,1-this._getInactiveOpacityForSeries(t.series))}},e.prototype._getInactivePoints=function(t,e){return this._getAllPointsOfType(e,t.constructor).filter((function(e){return e!==t}))},e.prototype._getAllPointsOfType=function(t,e){for(var o=[],i=0;i<t.children.length;i++){var n=t.children[i];n.constructor===e?o.push(n):n.children&&n.children.length&&(o=o.concat(this._getAllPointsOfType(n,e)))}return o},e.prototype._updateHoveredPoint=function(t,e){var o=this._hoveredPoint;o&&o!==t&&(o.out(this,e),this._hoveredPoint=null),t&&o!==t&&t.over&&(this._hoveredPoint=t,t.over(this,e))},e.prototype._updateSeriesOpacity=function(t,e){for(var o=this._plotArea,i=o.series.length,n=0;n<i;n++){var r=o.series[n],s=this._getDefaultOpacityForSeries(r),a=this._getInactiveOpacityForSeries(r);e||r===t.series?(r.opacity=s,r.line&&(r.line.opacity=s)):(r.defaultOpacity=s,r.opacity=a,r.line&&(r.line.opacity=a))}},e.prototype._applySeriesOpacity=function(t,e,o,i){for(var n=0;n<t.length;n++){var r=t[n],s=r.series||i;if(s&&(s.highlight||{}).visible&&r.visual){var a=i?i.opacity:r.series.opacity;(s!==e||o)&&r.visual.opacity(o?1:a)}r.children&&r.children.length&&this._applySeriesOpacity(r.children,e,o,r.series)}},e.prototype._chartInstanceFromPoint=function(t){for(var e=t.parent;e&&!e.plotArea;)e=e.parent;return e},e.prototype._hasInactiveOpacity=function(){var t=void 0!==this.options.seriesDefaults.highlight.inactiveOpacity,e=this.options.series.filter((function(t){return void 0!==t.highlight.inactiveOpacity})).length>0;return t||e},e.prototype._getInactiveOpacityForSeries=function(t){var e=this.options.seriesDefaults.highlight.inactiveOpacity;return t.highlight.inactiveOpacity||e||t.opacity||1},e.prototype._getDefaultOpacityForSeries=function(t){return t.defaultOpacity||t.opacity||1},e.prototype._mouseover=function(t){var e,o=this._startHover(t.element,t.originalEvent);o&&o.tooltipTracking&&!this._mouseMoveTrackHandler&&!this._sharedTooltip()&&(this._mouseMoveTrackHandler=this._mouseMoveTracking.bind(this),rt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)))},e.prototype._mouseMoveTracking=function(t){var e,o=this.options,i=this._tooltip,n=this._highlight,r=this._activePoint,s=this._eventCoordinates(t);if(this._plotArea.box.containsPoint(s)){if(r&&r.tooltipTracking&&r.series&&r.parent.getNearestPoint){var a=r.parent.getNearestPoint(s.x,s.y,r.seriesIx);if(a&&a!==r)if(this._activePoint=a,!a.hover(this,t))j({},o.tooltip,a.options.tooltip).visible&&i.show(a),n.show(a)}}else _t(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._unsetActivePoint(),this._mouseMoveTrackHandler=null},e.prototype._mousemove=function(t){var e=this._eventCoordinates(t),o=this._plotArea;if(this._trackCrosshairs(e),o.hover){var i=o.backgroundContainsPoint(e);i?(o.hovered=!0,this._plotArea.hover(this,t)):o.hovered&&!i&&(this.trigger("plotAreaLeave"),o.hovered=!1)}this._sharedTooltip()&&this._trackSharedTooltip(e,t)},e.prototype._trackCrosshairs=function(t){for(var e=this._plotArea.crosshairs,o=0;o<e.length;o++){var i=e[o];i.box.containsPoint(t)?i.showAt(t):i.hide()}},e.prototype._trackSharedTooltip=function(t,e,o){if(!this._suppressHover){var i=this.options.tooltip,n=this._plotArea,r=this._plotArea.categoryAxis,s=this._tooltip,a=this._highlight;if(n.backgroundContainsPoint(t)){var p=r.pointCategoryIndex(t);if(p!==this._tooltipCategoryIx||!this._sharedHighlight&&o){var c=n.pointsByCategoryIndex(p),u=c.map((function(t){return t.eventArgs(e)})),l=u[0]||{};l.categoryPoints=u,c.length>0&&!this.trigger("seriesHover",l)?(i.visible&&s.showAt(c,t),a.show(c),this._sharedHighlight=!0):s.hide(),this._tooltipCategoryIx=p}else o&&this._sharedHighlight&&(a.hide(),s.hide(),this._sharedHighlight=!1)}else this._sharedHighlight&&(a.hide(),s.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1)}},e.prototype.hideElements=function(t){var e=this._plotArea;this._mousemove.cancel(),e.hideCrosshairs(),this._unsetActivePoint(t)},e.prototype._unsetActivePoint=function(t){var e=this._tooltip,o=this._highlight;this._activePoint=null,this._hoveredPoint=null,!e||t&&t.keepTooltipOpen||e.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1,o&&o.hide()},e.prototype._deferRedraw=function(){this._redraw()},e.prototype._clearRedrawTimeout=function(){this._redrawTimeout&&(clearInterval(this._redrawTimeout),this._redrawTimeout=null)},e.prototype.bindCategories=function(){for(var t=this.options,e=[].concat(t.categoryAxis),o=0;o<e.length;o++){var i=e[o];!1!==i.autoBind&&this.bindCategoryAxisFromSeries(i,o)}},e.prototype.bindCategoryAxisFromSeries=function(t,e){for(var o,i=this.options.series,n=i.length,r=new Z,s=[],a=!1,p=0;p<n;p++){var c=i[p],u=c.categoryAxis===t.name||!c.categoryAxis&&0===e,l=c.data,h=l.length,d=c.categoryField&&u;if(a=d||a,d&&h>0)for(var f=(o=zn(t,Xo(c.categoryField,l[0])))?Nn:Xo,y=0;y<h;y++){var v=l[y],g=f(c.categoryField,v,this.chartService.intl);!o&&r.get(g)||(s.push([g,v]),o||r.set(g,!0))}}if(s.length>0){o&&(s=function(t,e){void 0===e&&(e=We);for(var o=function(t,e){void 0===e&&(e=We);for(var o=1,i=t.length;o<i;o++)if(e(t[o],t[o-1])<0){t.sort(e);break}return t}(t,e),i=o.length,n=i>0?[o[0]]:[],r=1;r<i;r++)0!==e(o[r],dt(n))&&n.push(o[r]);return n}(s,(function(t,e){return We(t[0],e[0])})));var _=function(t){for(var e=t.length,o=[],i=0;i<e;i++)for(var n=t[i],r=n.length,s=0;s<r;s++)o[s]=o[s]||[],o[s].push(n[s]);return o}(s);t.categories=_[0]}else a&&(t.categories=[])},e.prototype._isBindable=function(t){for(var e=Zo.current.valueFields(t),o=!0,i=0;i<e.length;i++){var n=e[i];if(n===v?n="field":n+="Field",!st(t[n])){o=!1;break}}return o},e.prototype._noTransitionsRedraw=function(){var t,e=this.options;!1!==e.transitions&&(e.transitions=!1,t=!0),this._redraw(),t&&(e.transitions=!0)},e.prototype._legendItemHover=function(t,e){var o,i=this._plotArea,n=this._highlight,r=(i.srcSeries||i.series)[t];if(o=Q(r.type,[ri,"donut","funnel"])?i.findPoint((function(o){return o.series.index===t&&o.index===e})):i.pointsBySeriesIndex(t),this._hasInactiveOpacity()&&r.visible&&o){var s=i.series.length>1,a=o.length?o[0]:o;this._displayInactiveOpacity(a,s,o)}else n.show(o)},e.prototype._shouldAttachMouseMove=function(){return this._plotArea.crosshairs.length||this._tooltip&&this._sharedTooltip()||this.requiresHandlers(["plotAreaHover","plotAreaLeave"])},e.prototype.updateMouseMoveHandler=function(){var t,e;_t(this.element,((t={}).mousemove=this._mousemove,t)),this._shouldAttachMouseMove()&&rt(this.element,((e={}).mousemove=this._mousemove,e))},e.prototype.applyOptions=function(t,e){da(this._originalOptions,t),this._originalOptions=j(this._originalOptions,t),this.options=j({},this._originalOptions),e&&(this._theme=e,this.chartService.theme=e),this._initTheme(this.options,this._theme),this._toggleDragZoomEvents()},e.prototype.setOptions=function(t,e){this.applyOptions(t,e),this.bindCategories(),this.redraw(),this.updateMouseMoveHandler()},e.prototype.setDirection=function(t){this.chartService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&this._destroySurface()},e.prototype.setIntlService=function(t){this.chartService.intl=t},e.prototype.noTransitionsRedraw=function(){this._noTransitionsRedraw()},e.prototype.destroy=function(){var t,e;this._destroyed=!0,_t(this.element,((t={}).contextmenu=this._clickHandler,t[pi]=this._mousewheelHandler,t.mousemove=this._mousemove,t.mouseleave=this._mouseleaveHandler,t)),this.domEvents&&(this.domEvents.destroy(),delete this.domEvents),this._mouseMoveTrackHandler&&_t(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._destroyView(),this._destroySurface(),this._clearRedrawTimeout()},e.prototype._destroySurface=function(){var t=this.surface;t&&(t.unbind("mouseenter",this._surfaceMouseenterHandler),t.unbind("mouseleave",this._surfaceMouseleaveHandler),t.destroy(),this.surface=null)},e.prototype._destroySelections=function(){var t=this._selections;if(t)for(;t.length>0;)t.shift().destroy()},e.prototype._destroyView=function(){var t=this._model;t&&(t.destroy(),this._model=null),this._unsetActivePoint(),this._destroySelections(),this._tooltip&&this._tooltip.destroy(),this._highlight&&this._highlight.destroy(),this._zoomSelection&&(this._zoomSelection.destroy(),delete this._zoomSelection),this._pannable&&(this._pannable.destroy(),delete this._pannable),this._mousewheelZoom&&(this._mousewheelZoom.destroy(),delete this._mousewheelZoom)},e}(S.Class);function ca(t,e){if(t)for(var o=0;o<t.length;o++)if(t[o].category===e)return[t[o]]}function ua(t){delete t.bar,delete t.column,delete t.rangeColumn,delete t.line,delete t.verticalLine,delete t.pie,delete t.donut,delete t.area,delete t.verticalArea,delete t.scatter,delete t.scatterLine,delete t.bubble,delete t.candlestick,delete t.ohlc,delete t.boxPlot,delete t.bullet,delete t.verticalBullet,delete t.polarArea,delete t.polarLine,delete t.radarArea,delete t.radarLine,delete t.waterfall}function la(t){for(var e={},o=0;o<t.length;o++){var i=t[o],n=i.options.name;n&&(e[n]=i.range())}return e}var ha=["data","categories"];function da(t,e){for(var o in e)if(!Q(o,ha)&&e.hasOwnProperty(o)){var i=e[o],n=t[o];if(st(n)){var r=null===i;r||!st(i)?(delete t[o],r&&delete e[o]):n&&E(i)&&E(n)&&da(n,i)}}}function fa(t){for(var e=0;e<t.length;e++)t[e].notifyRender()}wt(pa,{renderAs:"",chartArea:{},legend:{visible:!0,labels:{}},categoryAxis:{},seriesDefaults:{type:ii,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});var ya=pa,va=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._slotAnchor=function(t,e){var o=this.plotArea.categoryAxis.options.vertical,i=o?{horizontal:"left",vertical:"center"}:{horizontal:"center",vertical:"bottom"};return{point:o?new Nt(this.plotArea.box.x2,e.center().y):new Nt(e.center().x,-2),align:i}},e.prototype._defaultAnchor=function(t,e){return this._slotAnchor({},e)},e}(qr),ga=[oi,"bullet"];function _a(t){for(var e=[],o=0;o<t.length;o++){var i=t[o];e[o]=i.style.display,i.style.display="none"}return e}function ma(t,e){for(var o=0;o<t.length;o++)t[o].style.display=e[o]}function ba(t){return I(t)?[t]:t}var xa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._setElementClass=function(t){x(t,"k-sparkline")},e.prototype._initElement=function(e){t.prototype._initElement.call(this,e),this._initialWidth=Math.floor(ct(e).width)},e.prototype._resize=function(){var e=this.element,o=_a(e.childNodes);this._initialWidth=Math.floor(ct(e).width),ma(e.childNodes,o),t.prototype._resize.call(this)},e.prototype._modelOptions=function(){var t=this.options,e=this._surfaceWrap(),o=_a(e.childNodes),i=document.createElement("span");i.innerHTML=" ",e.appendChild(i);var n=j({width:this._autoWidth,height:ct(e).height,transitions:t.transitions},t.chartArea,{inline:!0,align:!1});return ct(e,{width:n.width,height:n.height}),e.removeChild(i),ma(e.childNodes,o),this.surface&&this.surface.resize(),n},e.prototype._surfaceWrap=function(){if(!this.stage){var t=this.stage=document.createElement("span");this.element.appendChild(t)}return this.stage},e.prototype._createPlotArea=function(e){var o=t.prototype._createPlotArea.call(this,e);return this._autoWidth=this._initialWidth||this._calculateWidth(o),o},e.prototype._calculateWidth=function(t){for(var e=this.options,o=V(e.chartArea.margin),i=t.charts,n=this._surfaceWrap(),r=0,s=0;s<i.length;s++){var a=i[s],p=(a.options.series||[])[0];if(p){if(p.type===oi)return 150;if("bullet"===p.type)return 150;if(p.type===ri)return ct(n).height;var c=a.categoryAxis;if(c){var u=c.categoriesCount()*(!a.options.isStacked&&Q(p.type,[ii,"verticalBullet"])?a.seriesOptions.length:1);r=Math.max(r,u)}}}var l=r*e.pointWidth;return l>0&&(l+=o.left+o.right),l},e.prototype._createSharedTooltip=function(t){return new va(this._plotArea,t)},e.normalizeOptions=function(t){var e=ba(t);return(e=b(e)?{seriesDefaults:{data:e}}:j({},e)).series||(e.series=[{data:ba(e.data)}]),j(e,{seriesDefaults:{type:e.type}}),(Q(e.series[0].type,ga)||Q(e.seriesDefaults.type,ga))&&(e=j({},{categoryAxis:{crosshair:{visible:!1}}},e)),e},e}(ya);wt(xa,{chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]});var wa=xa,Ca=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._initialOpacity=parseFloat(L(this.element,"opacity").opacity)},e.prototype.step=function(t){L(this.element,{opacity:String(K(this._initialOpacity,0,t))})},e.prototype.abort=function(){t.prototype.abort.call(this),L(this.element,{display:"none",opacity:String(this._initialOpacity)})},e.prototype.cancel=function(){t.prototype.abort.call(this),L(this.element,{opacity:String(this._initialOpacity)})},e}(S.drawing.Animation);function Sa(t,e){var o=document.createElement("div");return o.className=t,e&&(o.style.cssText=e),o}var ka=function(t){function e(e,o,i){t.call(this),this.options=j({},this.options,i),this.container=e,this.chartService=o;var n=L(e,["paddingLeft","paddingTop"]);this.chartPadding={top:n.paddingTop,left:n.paddingLeft},this.createElements(),e.appendChild(this.element)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElements=function(){var t=this.element=Sa("k-navigator-hint","display: none; position: absolute; top: 1px; left: 1px;"),e=this.tooltip=Sa("k-tooltip k-chart-tooltip"),o=this.scroll=Sa("k-scroll");e.innerHTML=" ",t.appendChild(e),t.appendChild(o)},e.prototype.show=function(t,e,o){var i=this.element,n=this.options,r=this.scroll,s=this.tooltip,a=ze(Xe(t)+Xe(e-t)/2),p=.4*o.width(),c=o.center().x-p,u=(o.center().x-c)/(n.max-n.min),l=a-n.min,h=this.chartService.intl.format(n.format,t,e),d=H(n);this.clearHideTimeout(),this._visible||(L(i,{visibility:"hidden",display:"block"}),this._visible=!0),d&&(h=d({from:t,to:e})),s.innerHTML=h,L(s,{left:o.center().x-s.offsetWidth/2,top:o.y1});var f=L(s,["marginTop","borderTopWidth","height"]);L(r,{width:p,left:c+l*u,top:o.y1+f.marginTop+f.borderTopWidth+f.height/2}),L(i,{visibility:"visible"})},e.prototype.clearHideTimeout=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideAnimation&&this._hideAnimation.cancel()},e.prototype.hide=function(){var t=this;this.clearHideTimeout(),this._hideTimeout=setTimeout((function(){t._visible=!1,t._hideAnimation=new Ca(t.element),t._hideAnimation.setup(),t._hideAnimation.play()}),this.options.hideDelay)},e.prototype.destroy=function(){this.clearHideTimeout(),this.container&&this.container.removeChild(this.element),delete this.container,delete this.chartService,delete this.element,delete this.tooltip,delete this.scroll},e}(S.Class);wt(ka,{format:"{0:d} - {1:d}",hideDelay:500});var Aa=ka,Ia="_navigator",Pa=Ia;function Oa(){}var Ta=function(t){function e(e){var o;t.call(this),this.chart=e;var i=this.options=j({},this.options,e.options.navigator),n=i.select;n&&(n.from=this.parseDate(n.from),n.to=this.parseDate(n.to)),st(i.hint.visible)||(i.hint.visible=i.visible),this.chartObserver=new J(this,((o={}).drag="_drag",o.dragEnd="_dragEnd",o.zoom="_zoom",o.zoomEnd="_zoomEnd",o)),e.addObserver(this.chartObserver)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parseDate=function(t){return $e(this.chart.chartService.intl,t)},e.prototype.clean=function(){this.selection&&(this.selection.destroy(),this.selection=null),this.hint&&(this.hint.destroy(),this.hint=null)},e.prototype.destroy=function(){this.chart&&(this.chart.removeObserver(this.chartObserver),delete this.chart),this.clean()},e.prototype.redraw=function(){this._redrawSelf(),this.initSelection()},e.prototype.initSelection=function(){var t,e=this.chart,o=this.options,i=this.mainAxis(),n=i.roundedRange(),r=n.min,s=n.max,a=o.select,p=a.from,c=a.to,u=a.mousewheel,l=(t=i,Oa.prototype=t,new Oa);0!==i.categoriesCount()&&(this.clean(),l.box=i.box,this.selection=new Wr(e,l,{min:r,max:s,from:p||r,to:c||s,mousewheel:mt(u,{zoom:"left"}),visible:o.visible},new J(this,{selectStart:"_selectStart",select:"_select",selectEnd:"_selectEnd"})),o.hint.visible&&(this.hint=new Aa(e.element,e.chartService,{min:r,max:s,template:H(o.hint),format:o.hint.format})))},e.prototype.setRange=function(){var t=this.chart._createPlotArea(!0).namedCategoryAxes[Pa].roundedRange(),e=t.min,o=t.max,i=this.options.select||{},n=i.from||e;n<e&&(n=e);var r=i.to||o;r>o&&(r=o),this.options.select=j({},i,{from:n,to:r}),this.filterAxes()},e.prototype._redrawSelf=function(t){var e=this.chart._plotArea;e&&e.redraw(dt(e.panes),t)},e.prototype.redrawSlaves=function(){var t=this.chart,e=t._plotArea,o=e.panes.slice(0,-1);e.srcSeries=t.options.series,e.options.categoryAxis=t.options.categoryAxis,e.clearSeriesPointsCache(),e.redraw(o)},e.prototype._drag=function(t){var e,o=this.chart,i=this.selection,n=o._eventCoordinates(t.originalEvent),r=this.mainAxis(),s=r.roundedRange(),a=r.pane.box.containsPoint(n),p=o._plotArea.categoryAxis,c=t.axisRanges[p.options.name],u=this.options.select;if(c&&!a&&i){e=u.from&&u.to?Xe(u.to)-Xe(u.from):Xe(i.options.to)-Xe(i.options.from);var l=ze(ft(Xe(c.min),s.min,Xe(s.max)-e)),h=ze(ft(Xe(l)+e,Xe(s.min)+e,s.max));this.options.select={from:l,to:h},this.options.liveDrag&&(this.filterAxes(),this.redrawSlaves()),i.set(l,h),this.showHint(l,h)}},e.prototype._dragEnd=function(){this.filterAxes(),this.filter(),this.redrawSlaves(),this.hint&&this.hint.hide()},e.prototype.readSelection=function(){var t=this.selection.options,e=t.from,o=t.to,i=this.options.select;i.from=e,i.to=o},e.prototype.filterAxes=function(){var t=this.options.select;void 0===t&&(t={});for(var e=this.chart.options.categoryAxis,o=t.from,i=t.to,n=0;n<e.length;n++){var r=e[n];r.pane!==Ia&&(r.min=o,r.max=i)}},e.prototype.filter=function(){var t=this.chart,e=this.options.select;if(t.requiresHandlers(["navigatorFilter"])){var o=this.mainAxis(),i={from:e.from,to:e.to};if("category"!==o.options.type){var n=new lo(j({baseUnit:"fit"},t.options.categoryAxis[0],{categories:[e.from,e.to]}),t.chartService).options;i.from=He(n.min,-n.baseUnitStep,n.baseUnit),i.to=He(n.max,n.baseUnitStep,n.baseUnit)}this.chart.trigger("navigatorFilter",i)}},e.prototype._zoom=function(t){var e=this.chart._plotArea.categoryAxis,o=this.selection,i=this.options,n=i.select,r=i.liveDrag,s=this.mainAxis(),a=t.delta;if(o){var p=s.categoryIndex(o.options.from),c=s.categoryIndex(o.options.to),u=this.chart._eventCoordinates(t.originalEvent);t.originalEvent.preventDefault(),Math.abs(a)>1&&(a*=3),c-p>1?(o.zoom(a,u),this.readSelection()):(e.options.min=n.from,n.from=e.scaleRange(-t.delta*this.chart._mousewheelZoomRate(),u).min),r&&(this.filterAxes(),this.redrawSlaves()),o.set(n.from,n.to),this.showHint(this.options.select.from,this.options.select.to)}},e.prototype._zoomEnd=function(t){this._dragEnd(t)},e.prototype.showHint=function(t,e){var o=this.chart._plotArea;this.hint&&this.hint.show(t,e,o.backgroundBox())},e.prototype._selectStart=function(t){return this.chart._selectStart(t)},e.prototype._select=function(t){return this.showHint(t.from,t.to),this.chart._select(t)},e.prototype._selectEnd=function(t){return this.hint&&this.hint.hide(),this.readSelection(),this.filterAxes(),this.filter(),this.redrawSlaves(),this.chart._selectEnd(t)},e.prototype.mainAxis=function(){var t=this.chart._plotArea;if(t)return t.namedCategoryAxes[Pa]},e.prototype.select=function(t,e){var o=this.options.select;return t&&e&&(o.from=this.parseDate(t),o.to=this.parseDate(e),this.filterAxes(),this.filter(),this.redrawSlaves(),this.selection.set(t,e)),{from:o.from,to:o.to}},e.setup=function(t,o){if(void 0===t&&(t={}),void 0===o&&(o={}),!t.__navi){t.__navi=!0;var i=j({},o.navigator,t.navigator),n=t.panes=[].concat(t.panes),r=j({},i.pane,{name:Ia});i.visible||(r.visible=!1,r.height=.1),n.push(r),e.attachAxes(t,i),e.attachSeries(t,i,o)}},e.attachAxes=function(t,e){var o=e.series||[],i=t.categoryAxis=[].concat(t.categoryAxis),n=t.valueAxis=[].concat(t.valueAxis),r=0===Vn(o,ai).length,s=j({type:"date",pane:Ia,roundToBaseUnit:!r,justified:r,_collapse:!1,majorTicks:{visible:!0},tooltip:{visible:!1},labels:{step:1},autoBind:e.autoBindElements,autoBaseUnitSteps:{minutes:[1],hours:[1,2],days:[1,2],weeks:[],months:[1],years:[1]}}),a=e.categoryAxis;i.push(j({},s,{maxDateGroups:200},a,{name:Pa,title:null,baseUnit:"fit",baseUnitStep:"auto",labels:{visible:!1},majorTicks:{visible:!1}}),j({},s,a,{name:Pa+"_labels",maxDateGroups:20,baseUnitStep:"auto",labels:{position:""},plotBands:[],autoBaseUnitSteps:{minutes:[]},_overlap:!0}),j({},s,a,{name:Pa+"_ticks",maxDateGroups:200,majorTicks:{width:.5},plotBands:[],title:null,labels:{visible:!1,mirror:!0},_overlap:!0})),n.push(j({name:Pa,pane:Ia,majorGridLines:{visible:!1},visible:!1},e.valueAxis))},e.attachSeries=function(t,e,o){for(var i=t.series=t.series||[],n=[].concat(e.series||[]),r=o.seriesColors,s=e.seriesDefaults,a=0;a<n.length;a++)i.push(j({color:r[a%r.length],categoryField:e.dateField,visibleInLegend:!1,tooltip:{visible:!1}},s,n[a],{axis:Pa,categoryAxis:Pa,autoBind:e.autoBindElements}))},e}(S.Class),Ma=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.applyDefaults=function(e,o){var i=ct(this.element).width||600,n=o,r={seriesDefaults:{categoryField:e.dateField},axisDefaults:{categoryAxis:{name:"default",majorGridLines:{visible:!1},labels:{step:2},majorTicks:{visible:!1},maxDateGroups:Math.floor(i/28)}}};n&&(n=j({},n,r)),Ta.setup(e,n),t.prototype.applyDefaults.call(this,e,n)},e.prototype._setElementClass=function(t){x(t,"k-chart k-stockchart")},e.prototype.setOptions=function(e){this.destroyNavigator(),t.prototype.setOptions.call(this,e)},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this.options.transitions=!1,this._fullRedraw(),this.options.transitions=t},e.prototype._resize=function(){this.noTransitionsRedraw()},e.prototype._redraw=function(){var t=this.navigator;!this._dirty()&&t&&t.options.partialRedraw?t.redrawSlaves():this._fullRedraw()},e.prototype._dirty=function(){var t=this.options,e=Y([].concat(t.series,t.navigator.series),(function(t){return t&&t.visible})).length,o=this._seriesCount!==e;return this._seriesCount=e,o},e.prototype._fullRedraw=function(){var e=this.navigator;e||(e=this.navigator=new Ta(this),this.trigger("navigatorCreated",{navigator:e})),e.clean(),e.setRange(),t.prototype._redraw.call(this),e.initSelection()},e.prototype._trackSharedTooltip=function(e){var o=this._plotArea.paneByPoint(e);o&&o.options.name===Ia?this._unsetActivePoint():t.prototype._trackSharedTooltip.call(this,e)},e.prototype.bindCategories=function(){t.prototype.bindCategories.call(this),this.copyNavigatorCategories()},e.prototype.copyNavigatorCategories=function(){for(var t,e=[].concat(this.options.categoryAxis),o=0;o<e.length;o++){var i=e[o];i.name===Pa?t=i.categories:t&&i.pane===Ia&&(i.categories=t)}},e.prototype.destroyNavigator=function(){this.navigator&&(this.navigator.destroy(),this.navigator=null)},e.prototype.destroy=function(){this.destroyNavigator(),t.prototype.destroy.call(this)},e.prototype._stopChartHandlers=function(e){var o=this._eventCoordinates(e),i=this._plotArea.paneByPoint(o);return t.prototype._stopChartHandlers.call(this,e)||i&&i.options.name===Ia},e.prototype._toggleDragZoomEvents=function(){this._dragZoomEnabled||(this.element.style.touchAction="none",this._dragZoomEnabled=!0)},e}(ya);wt(Ma,{dateField:"date",axisDefaults:{categoryAxis:{type:"date",baseUnit:"fit",justified:!0},valueAxis:{narrowRange:!0,labels:{format:"C"}}},navigator:{select:{},seriesDefaults:{markers:{visible:!1},tooltip:{visible:!0},line:{width:2}},hint:{},visible:!0},tooltip:{visible:!0},legend:{visible:!1}});var ja=Ma,Ea=Math.PI/180;function Da(t,e){var o=t.getOrigin(),i=t.getSize(),n=V(e);return t.setOrigin([o.x-n.left,o.y-n.top]),t.setSize([i.width+(n.left+n.right),i.height+(n.top+n.bottom)]),t}var Ba=S.drawing.Group,Ra=S.drawing.Path,La=S.drawing.Text;function Va(t,e){var o=t.box,i=t.children[0].box,n=e.border||{},r=e.background||"",s=Ra.fromRect(new S.geometry.Rect([o.x1,o.y1],[o.width(),o.height()]),{stroke:{}}),a=new La(t.text,new S.geometry.Point(i.x1,i.y1),{font:e.font,fill:{color:e.color}}),p=Da(a.bbox().clone(),e.padding),c=Ra.fromRect(p,{stroke:{color:n.width?n.color:"",width:n.width,opacity:n.opacity,dashType:n.dashType,lineJoin:"round",lineCap:"round"},fill:{color:r}}),u=new Ba;return u.append(s),u.append(c),u.append(a),u}function Na(t,e,o){var i=st(t.from)?t.from:d,n=st(t.to)?t.to:h;return t.from=Math.max(Math.min(n,i),e),t.to=Math.min(Math.max(n,i),o),t}function za(t,e){var o=V(e);return o.left=-o.left,o.top=-o.top,o.right=-o.right,o.bottom=-o.bottom,Da(t,o)}var Fa=S.drawing.Path,Ha=S.drawing.Surface,Ga=function(t){function e(e,o,i,n){void 0===n&&(n={}),t.call(this),this.element=e,this.theme=i,this.contextService=new Pe(this,n),this._originalOptions=j({},this.options,o),this.options=j({},this._originalOptions),this._initTheme(i),this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.surface&&(this.surface.destroy(),this.surface=null),delete this.element,delete this.surfaceElement},e.prototype.value=function(t){var e=this.pointers[0];if(0===arguments.length)return e.value();e.value(t),this._setValueOptions(t)},e.prototype._draw=function(){var t=this.surface;t.clear(),t.draw(this._visuals)},e.prototype.exportVisual=function(){return this._visuals},e.prototype.allValues=function(t){var e=this.pointers,o=[];if(0===arguments.length){for(var i=0;i<e.length;i++)o.push(e[i].value());return o}if(b(t))for(var n=0;n<t.length;n++)I(t[n])&&e[n].value(t[n]);this._setValueOptions(t)},e.prototype._setValueOptions=function(t){for(var e=[].concat(this.options.pointer),o=[].concat(t),i=0;i<o.length;i++)e[i].value=o[i]},e.prototype.resize=function(){this.noTransitionsRedraw()},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this._toggleTransitions(!1),this.redraw(),this._toggleTransitions(t)},e.prototype.redraw=function(){var t=this._surfaceSize(),e=new S.geometry.Rect([0,0],[t.width,t.height]);this._initSurface(),this.gaugeArea=this._createGaugeArea(),this._createModel();var o=za(e.bbox(),this._gaugeAreaMargin);this.reflow(o)},e.prototype.setOptions=function(t,e){this._originalOptions=j(this._originalOptions,t),this.options=j({},this._originalOptions),this._initTheme(e),this.redraw()},e.prototype.setDirection=function(t){this.contextService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&(this.surface.destroy(),this.surface=null)},e.prototype.setIntlService=function(t){this.contextService.intl=t},e.prototype._initTheme=function(t){var e=t||this.theme||{};this.theme=e,this.options=j({},e,this.options);var o=this.options,i=o.pointer;if(b(i)){for(var n=[],r=0;r<i.length;r++)n.push(j({},e.pointer,i[r]));o.pointer=n}},e.prototype._createGaugeArea=function(){var t=this.options.gaugeArea,e=this.surface.size(),o=t.border||{},i=new S.geometry.Rect([0,0],[e.width,e.height]);return this._gaugeAreaMargin=t.margin||5,o.width>0&&(i=za(i,o.width)),Fa.fromRect(i,{stroke:{color:o.width?o.color:"",width:o.width,dashType:o.dashType,lineJoin:"round",lineCap:"round"},fill:{color:t.background}})},e.prototype._initSurface=function(){var t=this.options,e=this.surface,o=this._surfaceElement(),i=this._surfaceSize();ct(o,i),e&&e.options.type===t.renderAs?(this.surface.clear(),this.surface.resize()):(e&&e.destroy(),this.surface=Ha.create(o,{type:t.renderAs}))},e.prototype._surfaceSize=function(){var t=this.options,e=this._getSize();return t.gaugeArea&&j(e,t.gaugeArea),e},e.prototype._surfaceElement=function(){return this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.element.appendChild(this.surfaceElement)),this.surfaceElement},e.prototype.getSize=function(){return this._getSize()},e.prototype._getSize=function(){var t=this.element,e=this._defaultSize(),o=t.offsetWidth,i=t.offsetHeight;return o||(o=e.width),i||(i=e.height),{width:o,height:i}},e.prototype._defaultSize=function(){return{width:200,height:200}},e.prototype._toggleTransitions=function(t){this.options.transitions=t;for(var e=0;e<this.pointers.length;e++)this.pointers[e].options.animation.transitions=t},e}(S.Class);wt(Ga,{plotArea:{},theme:"default",renderAs:"",pointer:{},scale:{},gaugeArea:{}});var Ua=Ga,Wa=S.drawing.Path,Ya=S.drawing.Group,Xa=S.geometry.Point;function qa(t,e){var o,i,n=t.position,r=t.tickX,s=t.tickY;return t.vertical?(o=new Xa(r,n),i=new Xa(r+e.size,n)):(o=new Xa(n,s),i=new Xa(n,s+e.size)),new Wa({stroke:{color:e.color,width:e.width}}).moveTo(o).lineTo(i)}function Za(t,e,o,i){var n=e.length;if(i.visible)for(var r=o.mirror,s=o.lineBox,a=i.skip;a<n;a+=i.step)a%i.skipUnit!=0&&(o.tickX=r?s.x2:s.x2-i.size,o.tickY=r?s.y1-i.size:s.y1,o.position=e[a],t.append(qa(o,i)))}var Qa=function(t){function e(e,o){var i=e||{};!st(i.reverse)&&!1===i.vertical&&(o||{}).rtl&&(i=Object.assign({},i,{reverse:!0})),t.call(this,0,1,i,o),this.options.minorUnit=this.options.minorUnit||this.options.majorUnit/10}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=j({},this.options,t);return(e=j({},e,{labels:{mirror:e.mirror}})).majorUnit=e.majorUnit||Vt(e.min,e.max),e},e.prototype.initFields=function(){},e.prototype.render=function(){var t=this.elements=new Ya,e=this.renderLabels(),o=this.renderLine(),i=this.renderTicks(),n=this.renderRanges();return t.append(o,e,i,n),t},e.prototype.renderRanges=function(){for(var t=this.options,e=t.min,o=t.max,i=t.vertical,n=t.labels.mirror,r=t.ranges||[],s=new Ya,a=r.length,p=t.rangeSize||t.minorTicks.size/2,c=0;c<a;c++){var u=Na(r[c],e,o),l=this.getSlot(u.from,u.to),h=i?this.lineBox():l,d=i?l:this.lineBox();i?h.x1-=p*(n?-1:1):d.y2+=p*(n?-1:1),s.append(Wa.fromRect(new S.geometry.Rect([h.x1,d.y1],[h.x2-h.x1,d.y2-d.y1]),{fill:{color:u.color,opacity:u.opacity},stroke:{}}))}return s},e.prototype.renderLabels=function(){for(var t=this.labels,e=this.options,o=new Ya,i=0;i<t.length;i++)o.append(Va(t[i],e.labels));return o},e.prototype.renderLine=function(){var t=this.options.line,e=this.lineBox(),o=new Ya;if(t.width>0&&t.visible){var i=new Wa({stroke:{color:t.color,dashType:t.dashType,width:t.width}});i.moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),o.append(i)}return o},e.prototype.renderTicks=function(){var t=new Ya,e=this.options,o=e.majorTicks.visible?e.majorUnit:0,i={vertical:e.vertical,mirror:e.labels.mirror,lineBox:this.lineBox()};return Za(t,this.getMajorTickPositions(),i,e.majorTicks),Za(t,this.getMinorTickPositions(),i,j({},{skipUnit:o/e.minorUnit},e.minorTicks)),t},e}(mo);wt(Qa,{min:0,max:50,majorTicks:{size:15,align:"inside",color:r,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:r,width:.5,visible:!0},line:{width:.5},labels:{position:"inside",padding:2},mirror:!1,_alignLines:!1});var Ka=Qa,$a=function(t){function e(e,o){t.call(this);var i=e.options,n=i.min,r=i.max,s=this.options=j({},this.options,o);s.fill=s.color,this.scale=e,st(s.value)?s.value=ft(s.value,n,r):s.value=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this.options,o=e.value;if(0===arguments.length)return o;var i=this.scale.options,n=i.min,r=i.max;e._oldValue=st(e._oldValue)?e.value:n,e.value=ft(t,n,r),this.elements&&this.repaint()},e}(S.Class);wt($a,{color:r});var Ja=$a,tp=function(t){function e(e,o){t.call(this,e,o),this.options=j({track:{visible:st(o.track)}},this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t,e,o,i=this.options,n=this.scale,r=n.options,s=r.mirror,a=r.vertical,p=n.lineBox(),c=i.track.size||i.size,u=i.size/2,l=V(i.margin),h=a?l[s?"left":"right"]:l[s?"bottom":"top"];h=s?-h:h,a?(o=new Ft(p.x1+h,p.y1,p.x1+h,p.y2),s?o.x1-=c:o.x2+=c,"barPointer"!==i.shape&&(t=e=new Ft(p.x2+h,p.y1-u,p.x2+h,p.y2+u))):(o=new Ft(p.x1,p.y1-h,p.x2,p.y1-h),s?o.y2+=c:o.y1-=c,"barPointer"!==i.shape&&(t=e=new Ft(p.x1-u,p.y1-h,p.x2+u,p.y1-h))),this.trackBox=o,this.pointerRangeBox=e,this.box=t||o.clone().pad(i.border.width)},e.prototype.getElementOptions=function(){var t=this.options;return{fill:{color:t.color,opacity:t.opacity},stroke:st(t.border)?{color:t.border.width?t.border.color||t.color:"",width:t.border.width,dashType:t.border.dashType,opacity:t.opacity}:null}},e.prototype._margin=function(){var t=this.scale,e=this.options,o=t.options,i=o.mirror,n=o.vertical,r=V(e.margin);return n?r[i?"left":"right"]:r[i?"bottom":"top"]},e}(Ja);wt(tp,{shape:"barPointer",track:{border:{width:1}},color:r,border:{width:1},opacity:1,margin:V(3),animation:{type:"barPointer"},visible:!0});var ep=tp,op=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=t.margin,o=t.from,i=t.to,n=t.vertical,r=n?"x1":"y1";t.mirror===n?(o[r]-=e,i[r]-=e):(o[r]+=e,i[r]+=e);var s=this.fromScale=new S.geometry.Point(o.x1,o.y1),a=this.toScale=new S.geometry.Point(i.x1,i.y1);0!==t.duration&&(t.duration=Math.max(s.distanceTo(a)/t.duration*1e3,1))},e.prototype.step=function(t){var e=K(this.fromScale.x,this.toScale.x,t),o=K(this.fromScale.y,this.toScale.y,t);this.element.transform(S.geometry.transform().translate(e,o))},e}(S.drawing.Animation);wt(op,{easing:"linear",duration:250}),S.drawing.AnimationFactory.current.register("arrowPointer",op);var ip=op,np=S.geometry.Point,rp=S.drawing.Path,sp=function(t){function e(e,o){t.call(this,e,o),st(this.options.size)||(this.options.size=.6*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(){var t=this.scale,e=this.options.size,o=e/2,i=t.options.mirror?-1:1;return t.options.vertical?[new np(0,0-o),new np(0-i*e,0),new np(0,0+o)]:[new np(0-o,0),new np(0,0+i*e),new np(0+o,0)]},e.prototype.repaint=function(){var t=this.scale,e=this.options,o=new ip(this.elements,j(e.animation,{vertical:t.options.vertical,mirror:t.options.mirror,margin:this._margin(e.margin),from:t.getSlot(e._oldValue),to:t.getSlot(e.value)}));!1===e.animation.transitions&&(o.options.duration=0),o.setup(),o.play()},e.prototype.render=function(){var t=this.scale,e=this.options,o=this.getElementOptions(),i=this.pointerShape(e.value);e.animation.type="arrowPointer";var n=new rp({stroke:o.stroke,fill:o.fill}).moveTo(i[0]).lineTo(i[1]).lineTo(i[2]).close(),r=t.getSlot(e.value);return n.transform(S.geometry.transform().translate(r.x1,r.y1)),this.elements=n,n},e}(ep),ap=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=this.axis=t.vertical?m:_,o=this.to=t.newPoints[0][e],i=this.from=t.oldPoints[0][e];0!==t.duration&&(t.duration=Math.max(Math.abs(o-i)/t.speed*1e3,1)),this._set(i)},e.prototype.step=function(t){var e=K(this.from,this.to,t);this._set(e)},e.prototype._set=function(t){var e="set"+this.axis.toUpperCase(),o=this.options.newPoints;o[0][e](t),o[1][e](t)},e}(S.drawing.Animation);wt(ap,{easing:"linear",speed:250}),S.drawing.AnimationFactory.current.register("barPointer",ap);var pp=ap,cp=S.drawing.Group,up=S.drawing.Path,lp=function(t){function e(e,o){t.call(this,e,o),st(this.options.size)||(this.options.size=.3*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(t){var e=this.scale,o=this.options,i=e.options,n=i.mirror,r=i.vertical,s=n===r?-1:1,a=o.size*s,p=e.getSlot(e.options.min),c=e.getSlot(t),u=r?m:_,l=r?_:m,h=this._margin()*s,d=new S.geometry.Point;d[u]=p[u+"1"],d[l]=p[l+"1"];var f=new S.geometry.Point;f[u]=c[u+"1"],f[l]=c[l+"1"],r?(d.translate(h,0),f.translate(h,0)):(d.translate(0,h),f.translate(0,h));var y=f.clone(),v=d.clone();return r?(y.translate(a,0),v.translate(a,0)):(y.translate(0,a),v.translate(0,a)),[d,f,y,v]},e.prototype.repaint=function(){var t=this.scale,e=this.options,o=this.pointerShape(e.value),i=this.pointerPath,n=this.pointerShape(e._oldValue);i.moveTo(o[0]).lineTo(o[1]).lineTo(o[2]).lineTo(o[3]).close();var r=new pp(i,j(e.animation,{reverse:t.options.reverse,vertical:t.options.vertical,oldPoints:[n[1],n[2]],newPoints:[o[1],o[2]]}));!1===e.animation.transitions&&(r.options.duration=0),r.setup(),r.play()},e.prototype.render=function(){var t=new cp,e=this.getElementOptions();this.options.track.visible&&t.append(this.renderTrack());var o=this.pointerPath=new up({stroke:e.stroke,fill:e.fill});return t.append(o),this.elements=t,t},e.prototype.renderTrack=function(){var t=this.options.track,e=t.border||{},o=this.trackBox.clone().pad(e.width||0);return new up.fromRect(o.toRect(),{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.width?e.color||t.color:"",width:e.width,dashType:e.dashType}})},e}(ep),hp=S.drawing.Group,dp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers,o=t.origin.x,i=t.origin.y,n=new Ft(o,i,o+t.width(),i+t.height());this.scale.reflow(n),this._shrinkScaleWidth(n);for(var r=0;r<e.length;r++)e[r].reflow();this.bbox=this._getBox(n),this._alignElements(),this._shrinkElements(),this._buildVisual(),this._draw()},e.prototype._buildVisual=function(){var t=new hp,e=this.scale.render(),o=this.pointers;t.append(this.gaugeArea),t.append(e);for(var i=0;i<o.length;i++){var n=o[i];t.append(n.render()),n.value(n.options.value)}this._visuals=t},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Ka(t.scale,this.contextService);this.pointers=[];var o=t.pointer;o=b(o)?o:[o];for(var i=0;i<o.length;i++){var n=j({},o[i],{animation:{transitions:t.transitions}}),r="arrow"===n.shape?sp:lp;this.pointers.push(new r(e,n))}},e.prototype._defaultSize=function(){var t=this.options.scale.vertical;return{width:t?60:200,height:t?200:60}},e.prototype._getBox=function(t){for(var e,o=this.scale,i=this.pointers,n=t.center(),r=i[0].box.clone().wrap(o.box),s=0;s<i.length;s++)r.wrap(i[s].box.clone());return o.options.vertical?(e=r.width()/2,r=new Ft(n.x-e,t.y1,n.x+e,t.y2)):(e=r.height()/2,r=new Ft(t.x1,n.y-e,t.x2,n.y+e)),r},e.prototype._alignElements=function(){for(var t,e=this.scale,o=this.pointers,i=e.box,n=o[0].box.clone().wrap(e.box),r=this.bbox,s=0;s<o.length;s++)n.wrap(o[s].box.clone());e.options.vertical?(t=r.center().x-n.center().x,e.reflow(new Ft(i.x1+t,r.y1,i.x2+t,r.y2))):(t=r.center().y-n.center().y,e.reflow(new Ft(i.x1,i.y1+t,i.x2,i.y2+t)));for(var a=0;a<o.length;a++)o[a].reflow(this.bbox)},e.prototype._shrinkScaleWidth=function(t){var e=this.scale;if(!e.options.vertical){var o=e.contentBox().width()-t.width();o>0&&(e.box.shrink(o,0),e.box.alignTo(t,"center"),e.reflow(e.box))}},e.prototype._shrinkElements=function(){for(var t=this.scale,e=this.pointers,o=t.box.clone(),i=t.options.vertical?"y":"x",n=e[0].box,r=0;r<e.length;r++)n.wrap(e[r].box.clone());o[i+1]+=Math.max(o[i+1]-n[i+1],0),o[i+2]-=Math.max(n[i+2]-o[i+2],0),t.reflow(o);for(var s=0;s<e.length;s++)e[s].reflow(this.bbox)},e}(Ua);wt(dp,{transitions:!0,gaugeArea:{background:""},scale:{vertical:!0}});var fp=dp,yp=S.drawing.Arc,vp=S.drawing.Path,gp=S.drawing.Group;function _p(t,e,o,i){var n=new gp,r=t.center,s=t.getRadiusX();if(i.visible)for(var a=0;a<e.length;a++){var p=t.pointAt(e[a]),c=new S.geometry.Point(r.x+s-i.size,r.y).rotate(e[a],r);n.append(new vp({stroke:{color:i.color,width:i.width}}).moveTo(p).lineTo(c))}return n}function mp(t,e,o,i){return{from:t,to:e,color:o,opacity:i}}var bp=function(t){function e(e,o){t.call(this,0,1,e,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=j({},this.options,t);return e.majorUnit=e.majorUnit||Vt(e.min,e.max),e.minorUnit=e.minorUnit||e.majorUnit/10,e},e.prototype.initFields=function(){},e.prototype.render=function(t,e){var o=this.renderArc(t,e);this.bbox=o.bbox(),this.labelElements=this.renderLabels(),this.ticks=this.renderTicks(),this.ranges=this.renderRanges()},e.prototype.reflow=function(t){var e=t.center(),o=Math.min(t.height(),t.width())/2;if(!st(this.bbox))return this.render(e,o);this.bbox=this.arc.bbox(),this.radius(this.arc.getRadiusX()),this.repositionRanges(),this.renderLabels()},e.prototype.slotAngle=function(t){var e=this.options,o=e.min,i=e.max,n=e.reverse,r=e.startAngle,s=e.endAngle,a=s-r;return(n?s-(t-o)/(i-o)*a:(t-o)/(i-o)*a+r)+180},e.prototype.hasRanges=function(){var t=this.options.ranges;return t&&t.length},e.prototype.ticksSize=function(){var t=this.options,e=t.majorTicks,o=t.minorTicks,i=0;return e.visible&&(i=e.size),o.visible&&(i=Math.max(o.size,i)),i},e.prototype.labelsCount=function(){var e=t.prototype.labelsCount.call(this),o=this.options;return o.endAngle-o.startAngle>=360&&o.max%o.majorUnit==0&&(e-=1),e},e.prototype.renderLabels=function(){var t=this.options,e=this.arc.clone(),o=e.getRadiusX(),i=this.tickAngles(e,t.majorUnit),n=t.rangeSize=t.rangeSize||.1*o,r=new gp,s=.05*o;st(t.rangeDistance)?s=t.rangeDistance:t.rangeDistance=s;var a=t.labels,p="inside"===a.position,c=st(this.labelElements);p&&(o-=this.ticksSize(),this.hasRanges()&&!c&&(o-=n+s),e.setRadiusX(o).setRadiusY(o));for(var u=this.labels,l=u.length,h=V(a.padding),d=(h.left+h.right)/2,f=(h.top+h.bottom)/2,y=0;y<l;y++){var v=u[y],g=v.box.width()/2,_=v.box.height()/2,m=i[y],b=(m-180)*Ea,x=e.pointAt(m),w=x.x+Math.cos(b)*(g+d)*(p?1:-1),C=x.y+Math.sin(b)*(_+f)*(p?1:-1);v.reflow(new Ft(w-g,C-_,w+g,C+_));var k=new S.geometry.Point(v.box.x1,v.box.y1),A=void 0;if(c){var I=(A=this.labelElements.children[y]).bbox().origin,P=A.transform()||S.geometry.transform();P.translate(k.x-I.x,k.y-I.y),A.transform(P)}else A=Va(v,t.labels),r.append(A);this.bbox=S.geometry.Rect.union(this.bbox,A.bbox())}return r},e.prototype.repositionRanges=function(){var t=this.ranges.children;if(t.length>0){var e=this.options,o=e.rangeDistance,i=e.rangeSize,n=this.getRangeRadius();"inside"===this.options.labels.position&&(n+=i+o);for(var r=n+i/2,s=0;s<t.length;s++)t[s]._geometry.setRadiusX(r).setRadiusY(r);this.bbox=S.geometry.Rect.union(this.bbox,this.ranges.bbox())}},e.prototype.renderRanges=function(){var t=this.rangeSegments(),e=t.length,o=new gp;if(e){var i=this.options,n=i.rangeSize,r=i.reverse,s=i.rangeDistance,a=this.getRangeRadius();this.radius(this.radius()-n-s);for(var p=0;p<e;p++){var c=t[p],u=this.slotAngle(c[r?"to":"from"]),l=this.slotAngle(c[r?"from":"to"]);l-u!=0&&o.append(this.createRange(u,l,a,c))}}return o},e.prototype.createRange=function(t,e,o,i){var n=this.options.rangeSize,r=new S.geometry.Arc(this.arc.center,{radiusX:o+n/2,radiusY:o+n/2,startAngle:t,endAngle:e});return new yp(r,{stroke:{width:n,color:i.color,opacity:i.opacity,lineCap:i.lineCap}})},e.prototype.rangeSegments=function(){var t=this.options,e=t.ranges||[],o=e.length,i=[];if(o){var n=t.min,r=t.max,s=t.rangePlaceholderColor;i.push(mp(n,r,s));for(var a=0;a<o;a++)for(var p=Na(e[a],n,r),c=i.length,u=0;u<c;u++){var l=i[u];if(l.from<=p.from&&p.from<=l.to){i.push(mp(p.from,p.to,p.color,p.opacity)),l.from<=p.to&&p.to<=l.to&&i.push(mp(p.to,l.to,s,p.opacity)),l.to=p.from;break}}}return i},e.prototype.getRangeRadius=function(){var t=this.arc,e=this.options,o=e.rangeSize,i=e.rangeDistance,n=e.majorTicks.size;return"outside"===e.labels.position?t.getRadiusX()-n-i-o:t.getRadiusX()-o},e.prototype.renderArc=function(t,e){var o=this.options;return this.arc=new S.geometry.Arc(t,{radiusX:e,radiusY:e,startAngle:o.startAngle+180,endAngle:o.endAngle+180})},e.prototype.renderTicks=function(){var t=this.arc,e=this.options,o=t.clone();this.majorTickAngles=this.tickAngles(t,e.majorUnit),this.majorTicks=_p(o,this.majorTickAngles,e.majorUnit,e.majorTicks);var i=new gp;i.append(this.majorTicks);var n=e.majorTicks.size,r=e.minorTicks.size;if(this._tickDifference=n-r,"outside"===e.labels.position){var s=o.getRadiusX();o.setRadiusX(s-n+r).setRadiusY(s-n+r)}return this.minorTickAngles=this.normalizeTickAngles(this.tickAngles(t,e.minorUnit)),this.minorTicks=_p(o,this.minorTickAngles,e.minorUnit,e.minorTicks),i.append(this.minorTicks),i},e.prototype.normalizeTickAngles=function(t){for(var e=this.options,o=e.majorUnit/e.minorUnit,i=t.length-1;i>=0;i--)i%o==0&&t.splice(i,1);return t},e.prototype.tickAngles=function(t,e){var o=this.options,i=o.reverse,n=o.max-o.min,r=t.endAngle-t.startAngle,s=n/e,a=t.startAngle,p=r/s;i&&(a+=r,p=-p),r>=360&&o.max%e==0&&(s-=1);for(var c=[],u=0;u<s;u++)c.push(gt(a,3)),a+=p;return gt(a)<=t.endAngle&&c.push(a),c},e.prototype.radius=function(t){if(!t)return this.arc.getRadiusX();this.arc.setRadiusX(t).setRadiusY(t),this.repositionTicks(this.majorTicks.children,this.majorTickAngles),this.repositionTicks(this.minorTicks.children,this.minorTickAngles,!0)},e.prototype.repositionTicks=function(t,e,o){var i=o&&this._tickDifference||0,n=this.arc,r=n.getRadiusX();o&&"outside"===this.options.labels.position&&0!==i&&(n=this.arc.clone()).setRadiusX(r-i).setRadiusY(r-i);for(var s=0;s<t.length;s++){var a=n.pointAt(e[s]),p=t[s].segments,c=a.x-p[0].anchor().x,u=a.y-p[0].anchor().y;t[s].transform((new S.geometry.transform).translate(c,u))}},e}(mo);wt(bp,{min:0,max:100,majorTicks:{size:15,align:"inside",color:r,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:r,width:.5,visible:!0},startAngle:-30,endAngle:210,labels:{position:"inside",padding:2}});var xp=bp,wp=function(t){function e(e,o){t.call(this,e,o);var i=this.options;i.duration=Math.max(Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3,1)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,o=K(e.oldAngle,e.newAngle,t);this.element.transform(S.geometry.transform().rotate(o,e.center))},e}(S.drawing.Animation);wt(wp,{easing:"linear",duration:150}),S.drawing.AnimationFactory.current.register("radialPointer",wp);var Cp=wp,Sp=S.drawing.Circle,kp=S.drawing.Group,Ap=S.drawing.Path,Ip=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setAngle=function(t){this.elements.transform(S.geometry.transform().rotate(t,this.center))},e.prototype.repaint=function(){var t=this.scale,e=this.options,o=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);!1===e.animation.transitions?this.setAngle(i):new Cp(this.elements,j(e.animation,{oldAngle:o,newAngle:i})).play()},e.prototype.render=function(){var t=this.scale,e=this.options,o=new kp;return!1!==e.animation&&j(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),o.append(this._renderNeedle(),this._renderCap()),this.elements=o,this.setAngle(Ea),o},e.prototype.reflow=function(t){var e=this.center=t.center,o=ft(this.options.length||1,.1,1.5),i=this.radius=t.getRadiusX()*o,n=this.capSize=Math.round(i*this.options.cap.size);this.bbox=S.geometry.Rect.fromPoints(new S.geometry.Point(e.x-n,e.y-n),new S.geometry.Point(e.x+n,e.y+n))},e.prototype._renderNeedle=function(){var t=this.scale.options.minorTicks.size,e=this.center,o=this.options.color,i=new Ap({fill:{color:o},stroke:{color:o,width:.5}});return i.moveTo(e.x+this.radius-t,e.y).lineTo(e.x,e.y-this.capSize/2).lineTo(e.x,e.y+this.capSize/2).close(),i},e.prototype._renderCap=function(){var t=this.options,e=t.cap.color||t.color,o=new S.geometry.Circle(this.center,this.capSize);return new Sp(o,{fill:{color:e},stroke:{color:e}})},e}(Ja);wt(Ip,{cap:{size:.05},arrow:{width:16,height:14},animation:{type:"radialPointer",duration:150}});var Pp=Ip,Op=S.drawing.Group,Tp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers;this.scale.reflow(t),this._initialPlotArea=this.scale.bbox;for(var o=0;o<e.length;o++)e[o].reflow(this.scale.arc),this._initialPlotArea=S.geometry.Rect.union(this._initialPlotArea,e[o].bbox);this.fitScale(t),this.alignScale(t),this._buildVisual(this.gaugeArea,e,this.scale),this._draw()},e.prototype._buildVisual=function(t,e,o){var i=this._visuals=new Op;i.append(t),i.append(o.ticks),i.append(o.ranges),this._buildPointers(e),i.append(o.labelElements)},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var o=t[e];o.render(),this._visuals.append(o.elements),o.value(o.options.value)}},e.prototype.fitScale=function(t){for(var e,o,i,n,r,s=this.scale.arc,a=this._initialPlotArea,p=Math.abs(this.getDiff(a,t)),c=gt(p,3),u=gt(-p,3),l=0,h=0;!(!(h++<100)||(l=r===i?l+1:0)>5||c!==n&&0<=(e=this.getPlotBox(c,t,s))&&e<=2||u!==n&&0<=(i=this.getPlotBox(u,t,s))&&i<=2||(n=e>0&&i>0?2*c:e<0&&i<0?2*u:gt((c+u)/2||1,3),0<=(o=this.getPlotBox(n,t,s))&&o<=2));)r=i,o>0?(u=n,i=o):(c=n,e=o)},e.prototype.getPlotBox=function(t,e,o){var i=this.scale,n=this.pointers,r=o.getRadiusX(),s=o.clone();s.setRadiusX(r+t).setRadiusY(r+t),i.arc=s,i.reflow(e),this.plotBbox=i.bbox;for(var a=0;a<n.length;a++)n[a].reflow(s),this.plotBbox=S.geometry.Rect.union(this.plotBbox,n[a].bbox);return this.getDiff(this.plotBbox,e)},e.prototype.getDiff=function(t,e){return Math.min(e.width()-t.width(),e.height()-t.height())},e.prototype.alignScale=function(t){var e=this.plotBbox.center(),o=t.center(),i=e.x-o.x,n=e.y-o.y,r=this.scale,s=this.pointers;r.arc.center.x-=i,r.arc.center.y-=n,r.reflow(t);for(var a=0;a<s.length;a++)s[a].reflow(r.arc),this.plotBbox=S.geometry.Rect.union(r.bbox,s[a].bbox)},e.prototype._createModel=function(){var t=this.options,e=t.pointer,o=this.scale=new xp(t.scale,this.contextService);this.pointers=[];for(var i=b(e)?e:[e],n=0;n<i.length;n++){var r=new Pp(o,j({},i[n],{animation:{transitions:t.transitions}}));this.pointers.push(r)}},e}(Ua);wt(Tp,{transitions:!0,gaugeArea:{background:""}});var Mp=Tp,jp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rangeSegments=function(){var t=this.options;return[{from:t.min,to:t.max,color:t.rangePlaceholderColor,lineCap:t.rangeLineCap}]},e.prototype.hasRanges=function(){return!0},e.prototype.placeholderRangeAngle=function(t){var e=this.ranges.children[0].geometry();this.options.reverse?e.setEndAngle(t):e.setStartAngle(t)},e.prototype.addRange=function(t,e,o){var i=this.options.reverse,n=this.slotAngle(i?e:t),r=this.slotAngle(i?t:e),s=this.createRange(n,r,this.getRangeRadius(),o);return this.ranges.append(s),s},e}(xp);wt(jp,{min:0,max:100,majorTicks:{visible:!1},minorTicks:{visible:!1},labels:{visible:!1},startAngle:0,endAngle:180,rangeLineCap:"round"});var Ep=jp,Dp=function(t){function e(e,o){t.call(this,e,o);var i=this.options,n=Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3;i.duration=ft(n,150,800);var r=e.elements.options.get("stroke.color"),s=e.currentColor();r!==s&&(this.startColor=new S.Color(r),this.color=new S.Color(s))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,o=this.startColor,i=this.color,n=K(e.oldAngle,e.newAngle,t);if(this.element.angle(n),i){var r=gt(K(o.r,i.r,t)),s=gt(K(o.g,i.g,t)),a=gt(K(o.b,i.b,t));this.element.stroke(new S.Color(r,s,a).toHex())}},e}(S.drawing.Animation);wt(Dp,{easing:"linear",duration:150}),S.drawing.AnimationFactory.current.register("radialRangePointer",Dp);var Bp=Dp,Rp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.repaint=function(){var t=this.scale,e=this.options,o=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);this.animation&&this.animation.abort(),!1===e.animation.transitions?(this.angle(i),this.stroke(this.currentColor())):(this.animation=new Bp(this,j(e.animation,{oldAngle:o,newAngle:i})),this.animation.play())},e.prototype.angle=function(t){var e=this.elements.geometry();this.scale.options.reverse?e.setStartAngle(t):e.setEndAngle(t),this.scale.placeholderRangeAngle(t)},e.prototype.stroke=function(t){this.elements.stroke(t)},e.prototype.render=function(){if(!this.elements){var t=this.scale,e=this.options;!1!==e.animation&&j(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),this.elements=t.addRange(t.options.min,this.options.value,{color:this.currentColor(),opacity:e.opacity,lineCap:t.options.rangeLineCap})}},e.prototype.currentColor=function(){var t=this.scale.options,e=t.min,o=t.max,i=this.options,n=i.colors,r=i.color,s=i.value,a=I(s)?s:e;if(n)for(var p=0;p<n.length;p++){var c=n[p],u=c.color,l=c.from;void 0===l&&(l=e);var h=c.to;if(void 0===h&&(h=o),l<=a&&a<=h)return u}return r},e.prototype.reflow=function(){this.render(),this.bbox=this.elements.bbox()},e}(Ja);wt(Rp,{animation:{type:"radialRangePointer",duration:150}});var Lp=Rp,Vp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initTheme=function(e){t.prototype._initTheme.call(this,e),this.options.color=this.options.color||(this.theme.pointer||{}).color},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Ep(t.scale,this.contextService),o=new Lp(e,j({},{colors:t.colors,color:t.color,value:t.value,opacity:t.opacity,animation:{transitions:t.transitions}}));this.pointers=[o]},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var o=t[e];o.render(),o.value(o.options.value)}},e.prototype._setValueOptions=function(t){this.options.value=t},e.prototype.currentColor=function(){var t=this.pointers[0];if(t)return t.currentColor()},e.prototype.centerLabelPosition=function(t,e){var o=this.getSize(),i=this.scale.arc.center,n=i.x-t/2,r=i.y-e/2;if(t<o.width){var s=n+t;n=Math.max(n,0),s>o.width&&(n-=s-o.width)}if(e<o.height){var a=this.scale.bbox,p=a.bottomRight().y,c=r+e;r=Math.max(r,a.origin.y),c>p&&(r-=c-p)}return{left:n,top:r}},e}(Mp),Np=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._createModel=function(){var e=this.options.scale;"number"!=typeof e.startAngle&&(e.startAngle=90),e.endAngle=e.startAngle+360,t.prototype._createModel.call(this)},e}(Vp),zp=function(t){function e(e){t.call(this),this.setOptions(e),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.setOptions=function(t){this.options=Object.assign({},this.options,t),this.quietZoneLength=this.options.addQuietZone?2*this.options.quietZoneLength:0},e.prototype.encode=function(t,e,o){var i=st(t)?String(t):t;return this.initValue(i,e,o),this.options.addQuietZone&&this.addQuietZone(),this.addData(),this.options.addQuietZone&&this.addQuietZone(),{baseUnit:this.baseUnit,pattern:this.pattern}},e.prototype.initValue=function(){},e.prototype.addQuietZone=function(){this.pattern.push(this.options.quietZoneLength||10)},e.prototype.addData=function(){},e.prototype.invalidCharacterError=function(t){throw new Error('Character "'+t+'" is not valid for symbology '+this.name+".")},e}(S.Class);wt(zp,{quietZoneLength:10,addQuietZone:!0,addCheckSum:!0});var Fp=Object.assign,Hp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Fp(this,{name:"Code 11",characterMap:["111121","211121","121121","221111","112121","212111","122111","111221","211211","211111","112111"],cCheckSumTotal:10,kCheckSumTotal:9,kCheckSumMinLength:10,checkSumMod:11,DASH_VALUE:10,DASH:"-",START:"112211",STOP:"11221"})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.width=e,this.totalUnits=0},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addCheckSum=function(){var t=this.value,e=t.length,o=this.getWeightedSum(t,e,this.cCheckSumTotal)%this.checkSumMod;if(this.checksum=String(o),this.addPattern(this.characterMap[o]),++e>=this.kCheckSumMinLength){var i=(o+this.getWeightedSum(t,e,this.kCheckSumTotal))%this.checkSumMod;this.checksum+=i,this.addPattern(this.characterMap[i])}},e.prototype.getWeightedSum=function(t,e,o){for(var i=0,n=0;n<t.length;n++)i+=this.weightedValue(this.getValue(t.charAt(n)),e,n,o);return i},e.prototype.weightedValue=function(t,e,o,i){return((e-o)%i||i)*t},e.prototype.getValue=function(t){return isNaN(t)?(t!==this.DASH&&this.invalidCharacterError(t),this.DASH_VALUE):parseInt(t,10)},e.prototype.addCharacter=function(t){var e=this.getValue(t),o=this.characterMap[e];this.addPattern(o)},e.prototype.addPattern=function(t){for(var e,o=0;o<t.length;o++)e=parseInt(t.charAt(o),10),this.pattern.push(e),this.totalUnits+=e},e}(zp);wt(Hp,{addCheckSum:!0});var Gp=Object.assign,Up=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Gp(this,{minBaseUnitLength:.7})},e.prototype.addData=function(){var t=this.value;this.addStart();for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.pushCheckSum(),this.addStop(),this.prepareValues()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addBase(e)},e.prototype.addBase=function(){},e}(zp),Wp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Gp(this,{name:"Code 39",checkSumMod:43,minRatio:2.5,maxRatio:3,gapWidth:1,splitCharacter:"|",patternMappings:{b:"1|",w:"1|",B:"ratio|",W:"ratio|"},characterMap:{0:{pattern:"bwbWBwBwb",value:0},1:{pattern:"BwbWbwbwB",value:1},2:{pattern:"bwBWbwbwB",value:2},3:{pattern:"BwBWbwbwb",value:3},4:{pattern:"bwbWBwbwB",value:4},5:{pattern:"BwbWBwbwb",value:5},6:{pattern:"bwBWBwbwb",value:6},7:{pattern:"bwbWbwBwB",value:7},8:{pattern:"BwbWbwBwb",value:8},9:{pattern:"bwBWbwBwb",value:9},A:{pattern:"BwbwbWbwB",value:10},B:{pattern:"bwBwbWbwB",value:11},C:{pattern:"BwBwbWbwb",value:12},D:{pattern:"bwbwBWbwB",value:13},E:{pattern:"BwbwBWbwb",value:14},F:{pattern:"bwBwBWbwb",value:15},G:{pattern:"bwbwbWBwB",value:16},H:{pattern:"BwbwbWBwb",value:17},I:{pattern:"bwBwbWBwb",value:18},J:{pattern:"bwbwBWBwb",value:19},K:{pattern:"BwbwbwbWB",value:20},L:{pattern:"bwBwbwbWB",value:21},M:{pattern:"BwBwbwbWb",value:22},N:{pattern:"bwbwBwbWB",value:23},O:{pattern:"BwbwBwbWb",value:24},P:{pattern:"bwBwBwbWb",value:25},Q:{pattern:"bwbwbwBWB",value:26},R:{pattern:"BwbwbwBWb",value:27},S:{pattern:"bwBwbwBWb",value:28},T:{pattern:"bwbwBwBWb",value:29},U:{pattern:"BWbwbwbwB",value:30},V:{pattern:"bWBwbwbwB",value:31},W:{pattern:"BWBwbwbwb",value:32},X:{pattern:"bWbwBwbwB",value:33},Y:{pattern:"BWbwBwbwb",value:34},Z:{pattern:"bWBwBwbwb",value:35},"-":{pattern:"bWbwbwBwB",value:36},".":{pattern:"BWbwbwBwb",value:37}," ":{pattern:"bWBwbwBwb",value:38},$:{pattern:"bWbWbWbwb",value:39},"/":{pattern:"bWbWbwbWb",value:40},"+":{pattern:"bWbwbWbWb",value:41},"%":{pattern:"bwbWbWbWb",value:42},START:{pattern:"bWbwBwBwb"}}})},e.prototype.initValue=function(t,e,o){this.width=e,this.height=o,this.value=t,this.dataLength=t.length,this.pattern=[],this.patternString=""},e.prototype.prepareValues=function(){var t,e=this.minBaseUnitLength,o=this.minRatio,i=Math.ceil(Math.max(.15*this.width,24)),n=this.maxRatio;if(this.height<i)throw new Error("Insufficient height for Code39 encoding: the current height is "+this.height+"px and the minimum height is "+i+"px.");for(t=this.getBaseUnit(n);t<e&&n>o;)n=parseFloat((n-.1).toFixed(1)),t=this.getBaseUnit(n);if(t<e){var r=Math.ceil(this.getBaseWidth(o)*e);throw new Error("Insufficient width for Code39 encoding: the current width is "+this.width+'px and the minimum width for value "'+this.value+'" is '+r+"px.")}this.ratio=n,this.baseUnit=t,this.patternString=this.patternString.substring(0,this.patternString.length-1),this.pattern=this.pattern.concat(this.patternString.replace(/ratio/g,n).split(this.splitCharacter))},e.prototype.getBaseUnit=function(t){return this.width/this.getBaseWidth(t)},e.prototype.getBaseWidth=function(t){var e=3*(t+2);return this.quietZoneLength+e*(this.dataLength+2)+this.gapWidth*(this.dataLength+1)},e.prototype.addStart=function(){this.addPattern(this.characterMap.START.pattern),this.addCharacterGap()},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.addCharacterGap()},e.prototype.addStop=function(){this.addPattern(this.characterMap.START.pattern)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.patternString+=this.patternMappings[t.charAt(e)]},e.prototype.addCharacterGap=function(){this.patternString+=this.gapWidth+this.splitCharacter},e}(Up);wt(Wp,{addCheckSum:!1});var Yp={addCharacter:function(t){this.characterMap[t]?this.addBase(this.characterMap[t]):t.charCodeAt(0)>127?this.invalidCharacterError(t):this.addExtended(t.charCodeAt(0))},addExtended:function(t){for(var e,o=0;o<this.extendedMappings.length;o++)if(e=this.extendedMappings[o].call(this,t)){for(var i=0;i<e.length;i++){var n=e[i];this.addBase(n)}return void(this.dataLength+=e.length-1)}},extendedMappings:[function(t){if(97<=t&&t<=122)return[this.characterMap[this.shiftCharacters[0]],this.characterMap[String.fromCharCode(t-32)]]},function(t){if(33<=t&&t<=58)return[this.characterMap[this.shiftCharacters[1]],this.characterMap[String.fromCharCode(t+32)]]},function(t){if(1<=t&&t<=26)return[this.characterMap[this.shiftCharacters[2]],this.characterMap[String.fromCharCode(t+64)]]},function(t){var e,o;if(this.specialAsciiCodes[t]){e=[];for(var i=0;i<this.specialAsciiCodes[t].length;i++)e.push(this.characterMap[this.shiftCharacters[3]]),e.push(this.characterMap[this.specialAsciiCodes[t][i]])}else o=6*Math.floor(t/32)+(t-27)%32+64,e=[this.characterMap[this.shiftCharacters[3]],this.characterMap[String.fromCharCode(o)]];return e}],specialAsciiCodes:{0:["U"],64:["V"],96:["W"],127:["T","X","Y","Z"]},shiftValuesAsciiCodes:{39:36,40:47,41:43,42:37},characterMap:{"+":!1,"/":!1,$:!1,"%":!1},shiftCharacters:["SHIFT0","SHIFT1","SHIFT2","SHIFT3"]},Xp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),j(this,Yp,{name:"Code 39 extended",characterMap:{SHIFT0:{pattern:"bWbwbWbWb",value:41},SHIFT1:{pattern:"bWbWbwbWb",value:40},SHIFT2:{pattern:"bWbWbWbwb",value:39},SHIFT3:{pattern:"bwbWbWbWb",value:42}}})},e}(Wp),qp=Object.assign,Zp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),qp(this,{name:"Code 93",cCheckSumTotal:20,kCheckSumTotal:15,checkSumMod:47,characterMap:{0:{pattern:"131112",value:0},1:{pattern:"111213",value:1},2:{pattern:"111312",value:2},3:{pattern:"111411",value:3},4:{pattern:"121113",value:4},5:{pattern:"121212",value:5},6:{pattern:"121311",value:6},7:{pattern:"111114",value:7},8:{pattern:"131211",value:8},9:{pattern:"141111",value:9},A:{pattern:"211113",value:10},B:{pattern:"211212",value:11},C:{pattern:"211311",value:12},D:{pattern:"221112",value:13},E:{pattern:"221211",value:14},F:{pattern:"231111",value:15},G:{pattern:"112113",value:16},H:{pattern:"112212",value:17},I:{pattern:"112311",value:18},J:{pattern:"122112",value:19},K:{pattern:"132111",value:20},L:{pattern:"111123",value:21},M:{pattern:"111222",value:22},N:{pattern:"111321",value:23},O:{pattern:"121122",value:24},P:{pattern:"131121",value:25},Q:{pattern:"212112",value:26},R:{pattern:"212211",value:27},S:{pattern:"211122",value:28},T:{pattern:"211221",value:29},U:{pattern:"221121",value:30},V:{pattern:"222111",value:31},W:{pattern:"112122",value:32},X:{pattern:"112221",value:33},Y:{pattern:"122121",value:34},Z:{pattern:"123111",value:35},"-":{pattern:"121131",value:36},".":{pattern:"311112",value:37}," ":{pattern:"311211",value:38},$:{pattern:"321111",value:39},"/":{pattern:"112131",value:40},"+":{pattern:"113121",value:41},"%":{pattern:"211131",value:42},SHIFT0:{pattern:"122211",value:46},SHIFT1:{pattern:"311121",value:45},SHIFT2:{pattern:"121221",value:43},SHIFT3:{pattern:"312111",value:44},START:{pattern:"111141"},TERMINATION_BAR:"1"}})},e.prototype.initValue=function(t,e,o){this.value=t,this.width=e,this.height=o,this.pattern=[],this.values=[],this.dataLength=t.length},e.prototype.prepareValues=function(){var t=Math.ceil(Math.max(.15*this.width,24));if(this.height<t)throw new Error("Insufficient height for Code93 encoding: the current height is "+this.height+"px, the minimum required height is "+t+"px.");if(this.setBaseUnit(),this.baseUnit<this.minBaseUnitLength){var e=Math.ceil(this.minBaseUnitLength*(this.width/this.baseUnit));throw new Error("Insufficient width for Code93 encoding: the current width is "+this.width+'px and the minimum required width for value "'+this.value+'" is '+e+"px.")}},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(9*(this.dataLength+2+2)+this.quietZoneLength+1)},e.prototype.addStart=function(){var t=this.characterMap.START.pattern;this.addPattern(t)},e.prototype.addStop=function(){this.addStart(),this.pattern.push(this.characterMap.TERMINATION_BAR)},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.values.push(t.value)},e.prototype.pushCheckSum=function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var o=0;o<e.length;o++)t=this.characterMap[this._findCharacterByValue(e[o])],this.addPattern(t.pattern)},e.prototype._getCheckValues=function(){var t,e,o=this.values,i=o.length,n=0;for(e=i-1;e>=0;e--)n+=this.weightedValue(o[e],i-e,this.cCheckSumTotal);for(t=n%this.checkSumMod,n=this.weightedValue(t,1,this.kCheckSumTotal),e=i-1;e>=0;e--)n+=this.weightedValue(o[e],i-e+1,this.kCheckSumTotal);return[t,n%this.checkSumMod]},e.prototype._findCharacterByValue=function(t){for(var e in this.characterMap)if(this.characterMap[e].value===t)return e},e.prototype.weightedValue=function(t,e,o){return(e%o||o)*t},e.prototype.addPattern=function(t){for(var e,o=0;o<t.length;o++)e=parseInt(t.charAt(o),10),this.pattern.push(e)},e}(Up),Qp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),j(this,Yp,{name:"Code 93 extended",pushCheckSum:function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var o=0;o<e.length;o++)if(t=e[o],this.shiftValuesAsciiCodes[t])this.addExtended(this.shiftValuesAsciiCodes[t]);else{var i=this._findCharacterByValue(t);this.addPattern(this.characterMap[i].pattern)}}})},e}(Zp),Kp=/^\d+$/,$p=Object.assign,Jp=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),$p(this,{name:"Postnet",START:"2",VALID_CODE_LENGTHS:[5,9,11],DIGIT_SEPARATOR:"-",characterMap:["22111","11122","11212","11221","12112","12121","12211","21112","21121","21211"]})},e.prototype.initValue=function(t,e,o){this.height=o,this.width=e,this.baseHeight=o/2,this.value=t.replace(new RegExp(this.DIGIT_SEPARATOR,"g"),""),this.pattern=[],this.validate(this.value),this.checkSum=0,this.setBaseUnit()},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.START),this.pattern.pop()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];this.checkSum+=parseInt(t,10),this.addPattern(e)},e.prototype.addCheckSum=function(){this.checksum=(10-this.checkSum%10)%10,this.addCharacter(this.checksum)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(10*(this.value.length+1)+3+this.quietZoneLength)},e.prototype.validate=function(t){if(Kp.test(t)||this.invalidCharacterError(t.match(/[^0-9]/)[0]),!Q(t.length,this.VALID_CODE_LENGTHS))throw new Error("Invalid value length. Valid lengths for the Postnet symbology are "+this.VALID_CODE_LENGTHS.join(",")+".")},e.prototype.addPattern=function(t){for(var e,o=0;o<t.length;o++)e=this.height-this.baseHeight*t.charAt(o),this.pattern.push({width:1,y1:e,y2:this.height}),this.pattern.push(1)},e}(zp),tc=/^\d+$/,ec=/^[a-z0-9]+$/i,oc=Object.assign,ic=function(t){function e(e){t.call(this),this.encoding=e,this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.addStart=function(){},e.prototype.is=function(){},e.prototype.isCode=function(){return!1},e.prototype.move=function(){},e.prototype.pushState=function(){},e}(S.Class),nc=function(t){function e(e,o){t.call(this,e),this.states=o,this._initMoves(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),j(this,{FNC4:"FNC4",SHIFT:98})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var o=t.charCodeAt(e);return this.isCode(o)},e.prototype.move=function(t){for(var e=0;!this._moves[e].call(this,t)&&e<this._moves.length;)e++},e.prototype.pushState=function(t){var e,o=this.states,i=t.value,n=i.length;if(Q("C",o)){var r=i.substr(t.index).match(/\d{4,}/g);r&&(n=i.indexOf(r[0],t.index))}for(;(e=t.value.charCodeAt(t.index))>=0&&this.isCode(e)&&t.index<n;)this.encoding.addPattern(this.getValue(e)),t.index++},e.prototype._initMoves=function(t){this._moves=[],Q(this.FNC4,t)&&this._moves.push(this._moveFNC),Q(this.shiftKey,t)&&this._moves.push(this._shiftState),this._moves.push(this._moveState)},e.prototype._moveFNC=function(t){if(t.fnc)return t.fnc=!1,t.previousState===this.key},e.prototype._shiftState=function(t){if(t.previousState===this.shiftKey&&(t.index+1>=t.value.length||this.encoding[this.shiftKey].is(t.value,t.index+1)))return this.encoding.addPattern(this.SHIFT),t.shifted=!0,!0},e.prototype._moveState=function(){return this.encoding.addPattern(this.MOVE),!0},e}(ic),rc={};rc.A=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{key:"A",shiftKey:"B",MOVE:101,START:103})},e.prototype.isCode=function(t){return 0<=t&&t<96},e.prototype.getValue=function(t){return t<32?t+64:t-32},e}(nc),rc.B=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{key:"B",shiftKey:"A",MOVE:100,START:104})},e.prototype.isCode=function(t){return 32<=t&&t<128},e.prototype.getValue=function(t){return t-32},e}(nc),rc.C=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{key:"C",MOVE:99,START:105})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var o=hc(t,e,4);return(e+4<=t.length||2===t.length)&&tc.test(o)},e.prototype.move=function(){this.encoding.addPattern(this.MOVE)},e.prototype.pushState=function(t){for(var e;(e=hc(t.value,t.index,2))&&tc.test(e)&&2===e.length;)this.encoding.addPattern(parseInt(e,10)),t.index+=2},e.prototype.getValue=function(t){return t},e}(ic),rc.FNC4=function(t){function e(e,o){t.call(this,e),this._initSubStates(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{key:"FNC4",dependentStates:["A","B"]})},e.prototype.addStart=function(t){var e=t.value.charCodeAt(0)-128,o=this._getSubState(e);this.encoding[o].addStart()},e.prototype.is=function(t,e){var o=t.charCodeAt(e);return this.isCode(o)},e.prototype.isCode=function(t){return 128<=t&&t<256},e.prototype.pushState=function(t){var e,o=this._initSubState(t),i=this.encoding,n=o.value.length;if(t.index+=n,n<3)for(;o.index<n;o.index++)e=o.value.charCodeAt(o.index),o.state=this._getSubState(e),o.previousState!==o.state&&(o.previousState=o.state,i[o.state].move(o)),i.addPattern(i[o.state].MOVE),i.addPattern(i[o.state].getValue(e));else o.state!==o.previousState&&i[o.state].move(o),this._pushStart(o),i.pushData(o,this.subStates),t.index<t.value.length&&this._pushStart(o);t.fnc=!0,t.state=o.state},e.prototype._pushStart=function(t){this.encoding.addPattern(this.encoding[t.state].MOVE),this.encoding.addPattern(this.encoding[t.state].MOVE)},e.prototype._initSubState=function(t){var e={value:this._getAll(t.value,t.index),index:0};return e.state=this._getSubState(e.value.charCodeAt(0)),e.previousState=t.previousState===this.key?e.state:t.previousState,e},e.prototype._initSubStates=function(t){this.subStates=[];for(var e=0;e<t.length;e++)Q(t[e],this.dependentStates)&&this.subStates.push(t[e])},e.prototype._getSubState=function(t){for(var e=0;e<this.subStates.length;e++)if(this.encoding[this.subStates[e]].isCode(t))return this.subStates[e]},e.prototype._getAll=function(t,e){for(var o,i="",n=e;(o=t.charCodeAt(n++))&&this.isCode(o);)i+=String.fromCharCode(o-128);return i},e}(ic),rc.FNC1=function(t){function e(e,o){t.call(this,e),this.states=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{key:"FNC1",startState:"C",startAI:"(",endAI:")",dependentStates:["C","B"],applicationIdentifiers:{22:{max:29,type:"alphanumeric"},402:{length:17},7004:{max:4,type:"alphanumeric"},242:{max:6,type:"alphanumeric"},8020:{max:25,type:"alphanumeric"},703:{min:3,max:30,type:"alphanumeric"},8008:{min:8,max:12,type:"alphanumeric"},253:{min:13,max:17,type:"alphanumeric"},8003:{min:14,max:30,type:"alphanumeric"},multiKey:[{ids:["15","17","8005","8100"],ranges:[[11,13],[310,316],[320,336],[340,369]],type:{length:6}},{ids:["240","241","250","251","400","401","403","7002","8004","8007","8110"],ranges:[[-9]],type:{max:30,type:"alphanumeric"}},{ids:["7001"],ranges:[[410,414]],type:{length:13}},{ids:["10","21","254","420","8002"],type:{max:20,type:"alphanumeric"}},{ids:["00","8006","8017","8018"],type:{length:18}},{ids:["01","02","8001"],type:{length:14}},{ids:["422"],ranges:[[424,426]],type:{length:3}},{ids:["20","8102"],type:{length:2}},{ids:["30","37"],type:{max:8,type:"alphanumeric"}},{ids:["390","392"],type:{max:15,type:"alphanumeric"}},{ids:["421","423"],type:{min:3,max:15,type:"alphanumeric"}},{ids:["391","393"],type:{min:3,max:18,type:"alphanumeric"}},{ids:["7003","8101"],type:{length:10}}]},START:102})},e.prototype.addStart=function(){this.encoding[this.startState].addStart()},e.prototype.is=function(){return Q(this.key,this.states)},e.prototype.pushState=function(t){var e,o,i,n=this.encoding,r=t.value.replace(/\s/g,""),s=new RegExp("["+this.startAI+this.endAI+"]","g"),a=t.index,p={state:this.startState};n.addPattern(this.START);for(;;){if(p.index=0,(e=(i=r.charAt(a)===this.startAI?2:0)>0?this.getBySeparator(r,a):this.getByLength(r,a)).ai.length)o=a+i+e.id.length+e.ai.length;else if((o=r.indexOf(this.startAI,a+1))<0){if(a+e.ai.max+e.id.length+i<r.length)throw new Error("Separators are required after variable length identifiers");o=r.length}if(p.value=r.substring(a,o).replace(s,""),this.validate(e,p.value),n.pushData(p,this.dependentStates),o>=r.length)break;a=o,p.state!==this.startState&&(n[this.startState].move(p),p.state=this.startState),e.ai.length||n.addPattern(this.START)}t.index=t.value.length},e.prototype.validate=function(t,e){var o=e.substr(t.id.length),i=t.ai;if(!i.type&&!tc.test(o))throw new Error("Application identifier "+t.id+" is numeric only but contains non numeric character(s).");if("alphanumeric"===i.type&&!ec.test(o))throw new Error("Application identifier "+t.id+" is alphanumeric only but contains non alphanumeric character(s).");if(i.length&&i.length!==o.length)throw new Error("Application identifier "+t.id+" must be "+i.length+" characters long.");if(i.min&&i.min>o.length)throw new Error("Application identifier "+t.id+" must be at least "+i.min+" characters long.");if(i.max&&i.max<o.length)throw new Error("Application identifier "+t.id+" must be at most "+i.max+" characters long.")},e.prototype.getByLength=function(t,e){for(var o,i,n=2;n<=4;n++)if(o=hc(t,e,n),i=this.getApplicationIdentifier(o)||this.getApplicationIdentifier(o.substring(0,o.length-1)))return{id:o,ai:i};this.unsupportedAIError(o)},e.prototype.unsupportedAIError=function(t){throw new Error("'"+t+"' is not a supported Application Identifier")},e.prototype.getBySeparator=function(t,e){var o=t.indexOf(this.startAI,e),i=t.indexOf(this.endAI,o),n=t.substring(o+1,i),r=this.getApplicationIdentifier(n)||this.getApplicationIdentifier(n.substr(n.length-1));return r||this.unsupportedAIError(n),{ai:r,id:n}},e.prototype.getApplicationIdentifier=function(t){var e=this.applicationIdentifiers,o=e.multiKey;if(e[t])return e[t];for(var i=0;i<o.length;i++){if(o[i].ids&&Q(t,o[i].ids))return o[i].type;if(o[i].ranges)for(var n=o[i].ranges,r=0;r<n.length;r++)if(n[r][0]<=t&&t<=n[r][1])return o[i].type}},e}(ic);var sc=function(t){function e(e){t.call(this,e),this._initStates()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{characterMap:[212222,222122,222221,121223,121322,131222,122213,122312,132212,221213,221312,231212,112232,122132,122231,113222,123122,123221,223211,221132,221231,213212,223112,312131,311222,321122,321221,312212,322112,322211,212123,212321,232121,111323,131123,131321,112313,132113,132311,211313,231113,231311,112133,112331,132131,113123,113321,133121,313121,211331,231131,213113,213311,213131,311123,311321,331121,312113,312311,332111,314111,221411,431111,111224,111422,121124,121421,141122,141221,112214,112412,122114,122411,142112,142211,241211,221114,413111,241112,134111,111242,121142,121241,114212,124112,124211,411212,421112,421211,212141,214121,412121,111143,111341,131141,114113,114311,411113,411311,113141,114131,311141,411131,211412,211214,211232,2331112],STOP:106})},e.prototype._initStates=function(){for(var t=0;t<this.states.length;t++)this[this.states[t]]=new rc[this.states[t]](this,this.states)},e.prototype.initValue=function(t,e,o){this.pattern=[],this.value=t,this.width=e,this.height=o,this.checkSum=0,this.totalUnits=0,this.index=0,this.position=1},e.prototype.addData=function(){var t={value:this.value,index:0,state:""};0!==this.value.length&&(t.state=t.previousState=this.getNextState(t,this.states),this.addStart(t),this.pushData(t,this.states),this.addCheckSum(),this.addStop(),this.setBaseUnit())},e.prototype.pushData=function(t,e){for(;this[t.state].pushState(t),!(t.index>=t.value.length);)if(t.shifted){var o=t.state;t.state=t.previousState,t.previousState=o,t.shifted=!1}else t.previousState=t.state,t.state=this.getNextState(t,e),this[t.state].move(t)},e.prototype.addStart=function(t){this[t.state].addStart(t),this.position=1},e.prototype.addCheckSum=function(){this.checksum=this.checkSum%103,this.addPattern(this.checksum)},e.prototype.addStop=function(){this.addPattern(this.STOP)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addPattern=function(t){for(var e,o=this.characterMap[t].toString(),i=0;i<o.length;i++)e=parseInt(o.charAt(i),10),this.pattern.push(e),this.totalUnits+=e;this.checkSum+=t*this.position++},e.prototype.getNextState=function(t,e){for(var o=0;o<e.length;o++)if(this[e[o]].is(t.value,t.index))return e[o];this.invalidCharacterError(t.value.charAt(t.index))},e}(zp),ac=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{name:"Code 128 A",states:["A"]})},e}(sc),pc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{name:"Code 128 B",states:["B"]})},e}(sc),cc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{name:"Code 128 C",states:["C"]})},e}(sc),uc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{name:"Code 128",states:["C","B","A","FNC4"]})},e}(sc),lc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),oc(this,{name:"Code GS1-128",states:["FNC1","C","B"]})},e}(sc);function hc(t,e,o){return t.substring(e,e+o)}var dc=Object.assign,fc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),dc(this,{characterMap:["12121212","12121221","12122112","12122121","12211212","12211221","12212112","12212121","21121212","21121221"],START:"21",STOP:"121",checkSumType:"",checkSums:mc})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.checkSumLength=0,this.width=e},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(12*(this.value.length+this.checkSumLength)+this.quietZoneLength+7)},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addPattern(e)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.pattern.push(parseInt(t.charAt(e),10))},e.prototype.addCheckSum=function(){var t=this.checkSums[this.checkSumType].call(this.checkSums,this.value);this.checksum=t.join("");for(var e=0;e<t.length;e++)this.checkSumLength++,this.addPattern(this.characterMap[t[e]])},e}(zp),yc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),dc(this,{name:"MSI Modulo10",checkSumType:"Modulo10"})},e}(fc),vc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),dc(this,{name:"MSI Modulo11",checkSumType:"Modulo11"})},e}(fc),gc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),dc(this,{name:"MSI Modulo10 Modulo10",checkSumType:"Modulo10Modulo10"})},e}(fc),_c=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),dc(this,{name:"MSI Modulo11 Modulo10",checkSumType:"Modulo11Modulo10"})},e}(fc),mc={Modulo10:function(t){var e,o,i,n=[0,""],r=t.length%2;for(e=0;e<t.length;e++)n[(e+r)%2]+=parseInt(t.charAt(e),10);for(i=n[0],o=(2*n[1]).toString(),e=0;e<o.length;e++)i+=parseInt(o.charAt(e),10);return[(10-i%10)%10]},Modulo11:function(t){for(var e,o=0,i=t.length,n=0;n<i;n++)o+=(((i-n)%6||6)+1)*t.charAt(n);return 10!==(e=(11-o%11)%11)?[e]:[1,0]},Modulo11Modulo10:function(t){var e,o=this.Modulo11(t);return e=t+o[0],o.concat(this.Modulo10(e))},Modulo10Modulo10:function(t){var e,o=this.Modulo10(t);return e=t+o[0],o.concat(this.Modulo10(e))}},bc=Object.assign,xc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),bc(this,{name:"EAN 13",keyTable:["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],characterMap:{digits:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],start:[1,1,1],middle:[1,1,1,1,1]}})},e.prototype.initValue=function(t,e,o){var i=String(t);if(12!==i.length||/\D/.test(i))throw new Error('The value of the "EAN13" encoding should be 12 symbols');this.pattern=[],this.options.height=o,this.baseUnit=e/(95+this.quietZoneLength),this.value=i,this.checksum=this.calculateChecksum(),this.leftKey=i[0],this.leftPart=i.substr(1,6),this.rightPart=i.substr(7)+this.checksum},e.prototype.addData=function(){this.addPieces(this.characterMap.start),this.addSide(this.leftPart,this.leftKey),this.addPieces(this.characterMap.middle),this.addSide(this.rightPart),this.addPieces(this.characterMap.start)},e.prototype.addSide=function(t,e){for(var o=0;o<t.length;o++)e&&parseInt(this.keyTable[e].charAt(o),10)?this.addPieces(Array.prototype.slice.call(this.characterMap.digits[t.charAt(o)]).reverse(),!0):this.addPieces(this.characterMap.digits[t.charAt(o)],!0)},e.prototype.addPieces=function(t,e){for(var o=0;o<t.length;o++)e?this.pattern.push({y1:0,y2:.95*this.options.height,width:t[o]}):this.pattern.push(t[o])},e.prototype.calculateChecksum=function(){for(var t=0,e=0,o=this.value.split("").reverse().join(""),i=0;i<o.length;i++)i%2?e+=parseInt(o.charAt(i),10):t+=parseInt(o.charAt(i),10);return(10-(3*t+e)%10)%10},e}(zp),wc=Object.assign,Cc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),wc(this,{name:"EAN 8"})},e.prototype.initValue=function(t,e,o){if(7!==t.length||/\D/.test(t))throw new Error("Invalid value provided");this.value=t,this.options.height=o,this.checksum=this.calculateChecksum(this.value),this.leftPart=this.value.substr(0,4),this.rightPart=this.value.substr(4)+this.checksum,this.pattern=[],this.baseUnit=e/(67+this.quietZoneLength)},e}(xc),Sc={code11:Hp,code39:Wp,code39extended:Xp,code93:Zp,code93extended:Qp,code128:uc,code128a:ac,code128b:pc,code128c:cc};function kc(t,e){var o=t.style.display;"canvas"===e&&(t.style.display="block");var i={width:t.clientWidth,height:t.clientHeight};return t.style.display=o,i}Sc["gs1-128"]=lc,Sc.msimod10=yc,Sc.msimod11=vc,Sc.msimod1010=gc,Sc.msimod1110=_c,Sc.postnet=Jp,Sc.ean8=Cc,Sc.ean13=xc;var Ac=function(t){function e(e,o,i){void 0===i&&(i=Rt),t.call(this),this.options=j({},this.options,o),this.element=e,this.onError=i,this._initElement(),this._initSurface(),this._setOptions(o),o&&st(o.value)&&this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){x(this.element,"k-barcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return S.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.setOptions=function(t){this._setOptions(t),this._initSurface(),this.redraw()},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t.width,height:t.height}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype._render=function(){var t,e,o=this.options,i=o.value,n=o.text,r=V(n.margin),s=this._getSize(),a=o.border||{},p=this.encoding,c=new Ft(0,0,s.width,s.height).unpad(a.width).unpad(o.padding),u=c.height(),l=new S.drawing.Group;this.contentBox=c,l.append(this._getBackground(s)),n.visible&&(u-=S.drawing.util.measureText(i,{font:n.font}).height+r.top+r.bottom);try{t=p.encode(i,c.width(),u)}catch(t){return this.onError(t),l}return n.visible&&(e=i,o.checksum&&st(p.checksum)&&(e+=" "+p.checksum),l.append(this._getText(e))),this.barHeight=u,this._bandsGroup=this._getBands(t.pattern,t.baseUnit),l.append(this._bandsGroup),l},e.prototype.exportVisual=function(){return this._render()},e.prototype._getSize=function(){var t=kc(this.element,this.options.renderAs),e=new S.geometry.Size(300,100);return t.width>0&&(e.width=t.width),t.height>0&&(e.height=t.height),this.options.width&&(e.width=this.options.width),this.options.height&&(e.height=this.options.height),e},e.prototype.value=function(t){if(!st(t))return this.options.value;this.options.value=String(t),this.redraw()},e.prototype._getBands=function(t,e){for(var o,i,n=this.contentBox,r=n.x1,s=new S.drawing.Group,a=0;a<t.length;a++){if(o=(i=E(t[a])?t[a]:{width:t[a],y1:0,y2:this.barHeight}).width*e,a%2){var p=S.geometry.Rect.fromPoints(new S.geometry.Point(r,i.y1+n.y1),new S.geometry.Point(r+o,i.y2+n.y1)),c=S.drawing.Path.fromRect(p,{fill:{color:this.options.color},stroke:null});s.append(c)}r+=o}return s},e.prototype._getBackground=function(t){var e=this.options,o=e.border||{},i=new Ft(0,0,t.width,t.height).unpad(o.width/2);return S.drawing.Path.fromRect(i.toRect(),{fill:{color:e.background},stroke:{color:o.width?o.color:"",width:o.width,dashType:o.dashType}})},e.prototype._getText=function(t){var e=this.options.text,o=this._textbox=new ue(t,{font:e.font,color:e.color,align:"center",vAlign:"bottom",margin:e.margin});return o.reflow(this.contentBox),o.renderVisual(),o.visual},e.prototype._setOptions=function(t){if(this.type=(t.type||this.options.type).toLowerCase(),"upca"===this.type&&(this.type="ean13",t.value="0"+t.value),"upce"===this.type&&(this.type="ean8",t.value="0"+t.value),!Sc[this.type])throw new Error("Encoding '"+this.type+"' is not supported.");this.encoding=new Sc[this.type],this.options=j({},this.options,t)},e}(S.Class);wt(Ac,{name:"Barcode",renderAs:"svg",value:"",type:"code39",checksum:!1,width:0,height:0,color:"black",background:"white",text:{visible:!0,font:"16px Consolas, Monaco, Sans Mono, monospace, sans-serif",color:"black",margin:{top:0,bottom:0,left:0,right:0}},border:{width:0,dashType:"solid",color:"black"},padding:{top:0,bottom:0,left:0,right:0}});var Ic=Ac,Pc={width:500,height:100};var Oc=function(t,e){if(void 0===e&&(e=Pc),!t)throw new Error("Please specify barcode type to validate.");var o=t.toLowerCase(),i="";if("upca"===o?(o="ean13",i="0"):"upce"===o&&(o="ean8",i="0"),!Sc[o])throw new Error("Encoding '"+t+"' is not supported.");return function(t,e,o){return function(i){try{t.encode(o+i,e.width,e.height)}catch(t){return{valid:!1,error:t}}return{valid:!0}}}(new Sc[o],e,i)},Tc=Object.assign;function Mc(t,e){for(var o=[],i=0;i<t.length;)o.push(t.substring(i,i+e)),i+=e;return o}function jc(t,e){var o=Number(t).toString(2);return o.length<e&&(o=new Array(e-o.length+1).join(0)+o),o}function Ec(t){return parseInt(t,2)}var Dc=function(t){function e(e){t.call(this),this.matrix=e,this.row=e.length-1,this.column=e.length-1,this.startColumn=this.column,this.dir=-1,this.c=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(){this.row+=this.dir*this.c,this.c^=1,this.column=this.startColumn-this.c},e.prototype.getNextCell=function(){for(;void 0!==this.matrix[this.row][this.column];)this.move(),(this.row<0||this.row>=this.matrix.length)&&(this.dir=-this.dir,this.startColumn-=8!==this.startColumn?2:3,this.column=this.startColumn,this.row=this.dir<0?this.matrix.length-1:0);return{row:this.row,column:this.column}},e.prototype.getNextRemainderCell=function(){if(this.move(),void 0===this.matrix[this.row][this.column])return{row:this.row,column:this.column}},e}(S.Class),Bc=function(t){function e(e,o){t.call(this),this.dataString=e,this.version=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class),Rc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getEncodingResult=function(t,e){var o=function(t){var e,o=[],i=0,n=t;o.push(cu(n,8,5,8,e)),e=o[0].mode,n=n.substr(o[0].modeString.length);for(;n.length>0;){var r=cu(n,17,9,16,e);r.mode!==e?(e=r.mode,o.push(r),i++):o[i].modeString+=r.modeString,n=n.substr(r.modeString.length)}return o}(t),i=uu(function(t){for(var e,o=0,i=0;i<t.length;i++)e=Fc[t[i].mode],o+=e.getStringBitsLength(t[i].modeString.length);return Math.ceil(o/8)}(o),e),n=function(t,e){for(var o,i="",n=0;n<t.length;n++)o=Fc[t[n].mode],i+=o.encode(t[n].modeString,e);return i}(o,i);return new Bc(n,i)},e}(S.Class),Lc=function(t){function e(){t.call(this),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Tc(this,{modeIndicator:"",bitsInCharacterCount:[]})},e.prototype.getVersionIndex=function(t){return t<10?0:t>26?2:1},e.prototype.getBitsCharacterCount=function(t){return this.bitsInCharacterCount[this.getVersionIndex(t||40)]},e.prototype.getModeCountString=function(t,e){return this.modeIndicator+jc(t,this.getBitsCharacterCount(e))},e.prototype.encode=function(){},e.prototype.getStringBitsLength=function(){},e.prototype.getValue=function(){},e}(S.Class),Vc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tc(this,{bitsInCharacterCount:[10,12,14],modeIndicator:"0001"})},e.prototype.getValue=function(t){return parseInt(t,10)},e.prototype.encode=function(t,e){var o,i=Mc(t,3),n=this.getModeCountString(t.length,e);for(o=0;o<i.length-1;o++)n+=jc(i[o],10);return n+jc(i[o],1+3*i[o].length)},e.prototype.getStringBitsLength=function(t,e){var o=t%3;return 4+this.getBitsCharacterCount(e)+10*Math.floor(t/3)+3*o+(0===o?0:1)},e}(Lc),Nc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tc(this,{characters:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:18,J:19,K:20,L:21,M:22,N:23,O:24,P:25,Q:26,R:27,S:28,T:29,U:30,V:31,W:32,X:33,Y:34,Z:35," ":36,$:37,"%":38,"*":39,"+":40,"-":41,".":42,"/":43,":":44},bitsInCharacterCount:[9,11,13],modeIndicator:"0010"})},e.prototype.getValue=function(t){return this.characters[t]},e.prototype.encode=function(t,e){var o,i=Mc(t,2),n=this.getModeCountString(t.length,e);for(o=0;o<i.length-1;o++)n+=jc(45*this.getValue(i[o].charAt(0))+this.getValue(i[o].charAt(1)),11);return n+jc(2===i[o].length?45*this.getValue(i[o].charAt(0))+this.getValue(i[o].charAt(1)):this.getValue(i[o].charAt(0)),1+5*i[o].length)},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+11*Math.floor(t/2)+t%2*6},e}(Lc),zc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tc(this,{bitsInCharacterCount:[8,16,16],modeIndicator:"0100"})},e.prototype.getValue=function(t){var e=t.charCodeAt(0);if(e<=127||160<=e&&e<=255)return e;throw new Error('Unsupported character in QR Code: "'+t+'".')},e.prototype.encode=function(t,e){for(var o=this.getModeCountString(t.length,e),i=0;i<t.length;i++)o+=jc(this.getValue(t.charAt(i)),8);return o},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+8*t},e}(Lc),Fc={};Fc.numeric=new Vc,Fc.alphanumeric=new Nc,Fc.byte=new zc;var Hc=function(t){function e(){t.call(this),this.initProperties(),this.mode=Fc[this.encodingMode]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Tc(this,{encodingMode:"byte",utfBOM:"111011111011101110111111",initialModeCountStringLength:20,ranges:[128,2048,65536,2097152,67108864]})},e.prototype.getEncodingResult=function(t,e){var o=this.encode(t),i=uu(this.getDataCodewordsCount(o),e),n=this.mode.getModeCountString(o.length/8,i)+o;return new Bc(n,i)},e.prototype.getDataCodewordsCount=function(t){var e=t.length;return Math.ceil((this.initialModeCountStringLength+e)/8)},e.prototype.encode=function(t){for(var e=this.utfBOM,o=0;o<t.length;o++)e+=this.encodeCharacter(t.charCodeAt(o));return e},e.prototype.encodeCharacter=function(t){var e=this.getBytesCount(t),o=e-1,i="";if(1===e)i=jc(t,8);else{for(var n=8-e,r=0;r<o;r++)i=jc(t>>6*r&63|128,8)+i;i=(t>>6*o|255>>n<<n).toString(2)+i}return i},e.prototype.getBytesCount=function(t){for(var e=this.ranges,o=0;o<e.length;o++)if(t<e[o])return o+1},e}(S.Class),Gc=[{L:{groups:[[1,19]],totalDataCodewords:19,errorCodewordsPerBlock:7},M:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:10},Q:{groups:[[1,13]],totalDataCodewords:13,errorCodewordsPerBlock:13},H:{groups:[[1,9]],totalDataCodewords:9,errorCodewordsPerBlock:17}},{L:{groups:[[1,34]],totalDataCodewords:34,errorCodewordsPerBlock:10},M:{groups:[[1,28]],totalDataCodewords:28,errorCodewordsPerBlock:16},Q:{groups:[[1,22]],totalDataCodewords:22,errorCodewordsPerBlock:22},H:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:28}},{L:{groups:[[1,55]],totalDataCodewords:55,errorCodewordsPerBlock:15},M:{groups:[[1,44]],totalDataCodewords:44,errorCodewordsPerBlock:26},Q:{groups:[[2,17]],totalDataCodewords:34,errorCodewordsPerBlock:18},H:{groups:[[2,13]],totalDataCodewords:26,errorCodewordsPerBlock:22}},{L:{groups:[[1,80]],totalDataCodewords:80,errorCodewordsPerBlock:20},M:{groups:[[2,32]],totalDataCodewords:64,errorCodewordsPerBlock:18},Q:{groups:[[2,24]],totalDataCodewords:48,errorCodewordsPerBlock:26},H:{groups:[[4,9]],totalDataCodewords:36,errorCodewordsPerBlock:16}},{L:{groups:[[1,108]],totalDataCodewords:108,errorCodewordsPerBlock:26},M:{groups:[[2,43]],totalDataCodewords:86,errorCodewordsPerBlock:24},Q:{groups:[[2,15],[2,16]],totalDataCodewords:62,errorCodewordsPerBlock:18},H:{groups:[[2,11],[2,12]],totalDataCodewords:46,errorCodewordsPerBlock:22}},{L:{groups:[[2,68]],totalDataCodewords:136,errorCodewordsPerBlock:18},M:{groups:[[4,27]],totalDataCodewords:108,errorCodewordsPerBlock:16},Q:{groups:[[4,19]],totalDataCodewords:76,errorCodewordsPerBlock:24},H:{groups:[[4,15]],totalDataCodewords:60,errorCodewordsPerBlock:28}},{L:{groups:[[2,78]],totalDataCodewords:156,errorCodewordsPerBlock:20},M:{groups:[[4,31]],totalDataCodewords:124,errorCodewordsPerBlock:18},Q:{groups:[[2,14],[4,15]],totalDataCodewords:88,errorCodewordsPerBlock:18},H:{groups:[[4,13],[1,14]],totalDataCodewords:66,errorCodewordsPerBlock:26}},{L:{groups:[[2,97]],totalDataCodewords:194,errorCodewordsPerBlock:24},M:{groups:[[2,38],[2,39]],totalDataCodewords:154,errorCodewordsPerBlock:22},Q:{groups:[[4,18],[2,19]],totalDataCodewords:110,errorCodewordsPerBlock:22},H:{groups:[[4,14],[2,15]],totalDataCodewords:86,errorCodewordsPerBlock:26}},{L:{groups:[[2,116]],totalDataCodewords:232,errorCodewordsPerBlock:30},M:{groups:[[3,36],[2,37]],totalDataCodewords:182,errorCodewordsPerBlock:22},Q:{groups:[[4,16],[4,17]],totalDataCodewords:132,errorCodewordsPerBlock:20},H:{groups:[[4,12],[4,13]],totalDataCodewords:100,errorCodewordsPerBlock:24}},{L:{groups:[[2,68],[2,69]],totalDataCodewords:274,errorCodewordsPerBlock:18},M:{groups:[[4,43],[1,44]],totalDataCodewords:216,errorCodewordsPerBlock:26},Q:{groups:[[6,19],[2,20]],totalDataCodewords:154,errorCodewordsPerBlock:24},H:{groups:[[6,15],[2,16]],totalDataCodewords:122,errorCodewordsPerBlock:28}},{L:{groups:[[4,81]],totalDataCodewords:324,errorCodewordsPerBlock:20},M:{groups:[[1,50],[4,51]],totalDataCodewords:254,errorCodewordsPerBlock:30},Q:{groups:[[4,22],[4,23]],totalDataCodewords:180,errorCodewordsPerBlock:28},H:{groups:[[3,12],[8,13]],totalDataCodewords:140,errorCodewordsPerBlock:24}},{L:{groups:[[2,92],[2,93]],totalDataCodewords:370,errorCodewordsPerBlock:24},M:{groups:[[6,36],[2,37]],totalDataCodewords:290,errorCodewordsPerBlock:22},Q:{groups:[[4,20],[6,21]],totalDataCodewords:206,errorCodewordsPerBlock:26},H:{groups:[[7,14],[4,15]],totalDataCodewords:158,errorCodewordsPerBlock:28}},{L:{groups:[[4,107]],totalDataCodewords:428,errorCodewordsPerBlock:26},M:{groups:[[8,37],[1,38]],totalDataCodewords:334,errorCodewordsPerBlock:22},Q:{groups:[[8,20],[4,21]],totalDataCodewords:244,errorCodewordsPerBlock:24},H:{groups:[[12,11],[4,12]],totalDataCodewords:180,errorCodewordsPerBlock:22}},{L:{groups:[[3,115],[1,116]],totalDataCodewords:461,errorCodewordsPerBlock:30},M:{groups:[[4,40],[5,41]],totalDataCodewords:365,errorCodewordsPerBlock:24},Q:{groups:[[11,16],[5,17]],totalDataCodewords:261,errorCodewordsPerBlock:20},H:{groups:[[11,12],[5,13]],totalDataCodewords:197,errorCodewordsPerBlock:24}},{L:{groups:[[5,87],[1,88]],totalDataCodewords:523,errorCodewordsPerBlock:22},M:{groups:[[5,41],[5,42]],totalDataCodewords:415,errorCodewordsPerBlock:24},Q:{groups:[[5,24],[7,25]],totalDataCodewords:295,errorCodewordsPerBlock:30},H:{groups:[[11,12],[7,13]],totalDataCodewords:223,errorCodewordsPerBlock:24}},{L:{groups:[[5,98],[1,99]],totalDataCodewords:589,errorCodewordsPerBlock:24},M:{groups:[[7,45],[3,46]],totalDataCodewords:453,errorCodewordsPerBlock:28},Q:{groups:[[15,19],[2,20]],totalDataCodewords:325,errorCodewordsPerBlock:24},H:{groups:[[3,15],[13,16]],totalDataCodewords:253,errorCodewordsPerBlock:30}},{L:{groups:[[1,107],[5,108]],totalDataCodewords:647,errorCodewordsPerBlock:28},M:{groups:[[10,46],[1,47]],totalDataCodewords:507,errorCodewordsPerBlock:28},Q:{groups:[[1,22],[15,23]],totalDataCodewords:367,errorCodewordsPerBlock:28},H:{groups:[[2,14],[17,15]],totalDataCodewords:283,errorCodewordsPerBlock:28}},{L:{groups:[[5,120],[1,121]],totalDataCodewords:721,errorCodewordsPerBlock:30},M:{groups:[[9,43],[4,44]],totalDataCodewords:563,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[1,23]],totalDataCodewords:397,errorCodewordsPerBlock:28},H:{groups:[[2,14],[19,15]],totalDataCodewords:313,errorCodewordsPerBlock:28}},{L:{groups:[[3,113],[4,114]],totalDataCodewords:795,errorCodewordsPerBlock:28},M:{groups:[[3,44],[11,45]],totalDataCodewords:627,errorCodewordsPerBlock:26},Q:{groups:[[17,21],[4,22]],totalDataCodewords:445,errorCodewordsPerBlock:26},H:{groups:[[9,13],[16,14]],totalDataCodewords:341,errorCodewordsPerBlock:26}},{L:{groups:[[3,107],[5,108]],totalDataCodewords:861,errorCodewordsPerBlock:28},M:{groups:[[3,41],[13,42]],totalDataCodewords:669,errorCodewordsPerBlock:26},Q:{groups:[[15,24],[5,25]],totalDataCodewords:485,errorCodewordsPerBlock:30},H:{groups:[[15,15],[10,16]],totalDataCodewords:385,errorCodewordsPerBlock:28}},{L:{groups:[[4,116],[4,117]],totalDataCodewords:932,errorCodewordsPerBlock:28},M:{groups:[[17,42]],totalDataCodewords:714,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[6,23]],totalDataCodewords:512,errorCodewordsPerBlock:28},H:{groups:[[19,16],[6,17]],totalDataCodewords:406,errorCodewordsPerBlock:30}},{L:{groups:[[2,111],[7,112]],totalDataCodewords:1006,errorCodewordsPerBlock:28},M:{groups:[[17,46]],totalDataCodewords:782,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[16,25]],totalDataCodewords:568,errorCodewordsPerBlock:30},H:{groups:[[34,13]],totalDataCodewords:442,errorCodewordsPerBlock:24}},{L:{groups:[[4,121],[5,122]],totalDataCodewords:1094,errorCodewordsPerBlock:30},M:{groups:[[4,47],[14,48]],totalDataCodewords:860,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[14,25]],totalDataCodewords:614,errorCodewordsPerBlock:30},H:{groups:[[16,15],[14,16]],totalDataCodewords:464,errorCodewordsPerBlock:30}},{L:{groups:[[6,117],[4,118]],totalDataCodewords:1174,errorCodewordsPerBlock:30},M:{groups:[[6,45],[14,46]],totalDataCodewords:914,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[16,25]],totalDataCodewords:664,errorCodewordsPerBlock:30},H:{groups:[[30,16],[2,17]],totalDataCodewords:514,errorCodewordsPerBlock:30}},{L:{groups:[[8,106],[4,107]],totalDataCodewords:1276,errorCodewordsPerBlock:26},M:{groups:[[8,47],[13,48]],totalDataCodewords:1e3,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[22,25]],totalDataCodewords:718,errorCodewordsPerBlock:30},H:{groups:[[22,15],[13,16]],totalDataCodewords:538,errorCodewordsPerBlock:30}},{L:{groups:[[10,114],[2,115]],totalDataCodewords:1370,errorCodewordsPerBlock:28},M:{groups:[[19,46],[4,47]],totalDataCodewords:1062,errorCodewordsPerBlock:28},Q:{groups:[[28,22],[6,23]],totalDataCodewords:754,errorCodewordsPerBlock:28},H:{groups:[[33,16],[4,17]],totalDataCodewords:596,errorCodewordsPerBlock:30}},{L:{groups:[[8,122],[4,123]],totalDataCodewords:1468,errorCodewordsPerBlock:30},M:{groups:[[22,45],[3,46]],totalDataCodewords:1128,errorCodewordsPerBlock:28},Q:{groups:[[8,23],[26,24]],totalDataCodewords:808,errorCodewordsPerBlock:30},H:{groups:[[12,15],[28,16]],totalDataCodewords:628,errorCodewordsPerBlock:30}},{L:{groups:[[3,117],[10,118]],totalDataCodewords:1531,errorCodewordsPerBlock:30},M:{groups:[[3,45],[23,46]],totalDataCodewords:1193,errorCodewordsPerBlock:28},Q:{groups:[[4,24],[31,25]],totalDataCodewords:871,errorCodewordsPerBlock:30},H:{groups:[[11,15],[31,16]],totalDataCodewords:661,errorCodewordsPerBlock:30}},{L:{groups:[[7,116],[7,117]],totalDataCodewords:1631,errorCodewordsPerBlock:30},M:{groups:[[21,45],[7,46]],totalDataCodewords:1267,errorCodewordsPerBlock:28},Q:{groups:[[1,23],[37,24]],totalDataCodewords:911,errorCodewordsPerBlock:30},H:{groups:[[19,15],[26,16]],totalDataCodewords:701,errorCodewordsPerBlock:30}},{L:{groups:[[5,115],[10,116]],totalDataCodewords:1735,errorCodewordsPerBlock:30},M:{groups:[[19,47],[10,48]],totalDataCodewords:1373,errorCodewordsPerBlock:28},Q:{groups:[[15,24],[25,25]],totalDataCodewords:985,errorCodewordsPerBlock:30},H:{groups:[[23,15],[25,16]],totalDataCodewords:745,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[3,116]],totalDataCodewords:1843,errorCodewordsPerBlock:30},M:{groups:[[2,46],[29,47]],totalDataCodewords:1455,errorCodewordsPerBlock:28},Q:{groups:[[42,24],[1,25]],totalDataCodewords:1033,errorCodewordsPerBlock:30},H:{groups:[[23,15],[28,16]],totalDataCodewords:793,errorCodewordsPerBlock:30}},{L:{groups:[[17,115]],totalDataCodewords:1955,errorCodewordsPerBlock:30},M:{groups:[[10,46],[23,47]],totalDataCodewords:1541,errorCodewordsPerBlock:28},Q:{groups:[[10,24],[35,25]],totalDataCodewords:1115,errorCodewordsPerBlock:30},H:{groups:[[19,15],[35,16]],totalDataCodewords:845,errorCodewordsPerBlock:30}},{L:{groups:[[17,115],[1,116]],totalDataCodewords:2071,errorCodewordsPerBlock:30},M:{groups:[[14,46],[21,47]],totalDataCodewords:1631,errorCodewordsPerBlock:28},Q:{groups:[[29,24],[19,25]],totalDataCodewords:1171,errorCodewordsPerBlock:30},H:{groups:[[11,15],[46,16]],totalDataCodewords:901,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[6,116]],totalDataCodewords:2191,errorCodewordsPerBlock:30},M:{groups:[[14,46],[23,47]],totalDataCodewords:1725,errorCodewordsPerBlock:28},Q:{groups:[[44,24],[7,25]],totalDataCodewords:1231,errorCodewordsPerBlock:30},H:{groups:[[59,16],[1,17]],totalDataCodewords:961,errorCodewordsPerBlock:30}},{L:{groups:[[12,121],[7,122]],totalDataCodewords:2306,errorCodewordsPerBlock:30},M:{groups:[[12,47],[26,48]],totalDataCodewords:1812,errorCodewordsPerBlock:28},Q:{groups:[[39,24],[14,25]],totalDataCodewords:1286,errorCodewordsPerBlock:30},H:{groups:[[22,15],[41,16]],totalDataCodewords:986,errorCodewordsPerBlock:30}},{L:{groups:[[6,121],[14,122]],totalDataCodewords:2434,errorCodewordsPerBlock:30},M:{groups:[[6,47],[34,48]],totalDataCodewords:1914,errorCodewordsPerBlock:28},Q:{groups:[[46,24],[10,25]],totalDataCodewords:1354,errorCodewordsPerBlock:30},H:{groups:[[2,15],[64,16]],totalDataCodewords:1054,errorCodewordsPerBlock:30}},{L:{groups:[[17,122],[4,123]],totalDataCodewords:2566,errorCodewordsPerBlock:30},M:{groups:[[29,46],[14,47]],totalDataCodewords:1992,errorCodewordsPerBlock:28},Q:{groups:[[49,24],[10,25]],totalDataCodewords:1426,errorCodewordsPerBlock:30},H:{groups:[[24,15],[46,16]],totalDataCodewords:1096,errorCodewordsPerBlock:30}},{L:{groups:[[4,122],[18,123]],totalDataCodewords:2702,errorCodewordsPerBlock:30},M:{groups:[[13,46],[32,47]],totalDataCodewords:2102,errorCodewordsPerBlock:28},Q:{groups:[[48,24],[14,25]],totalDataCodewords:1502,errorCodewordsPerBlock:30},H:{groups:[[42,15],[32,16]],totalDataCodewords:1142,errorCodewordsPerBlock:30}},{L:{groups:[[20,117],[4,118]],totalDataCodewords:2812,errorCodewordsPerBlock:30},M:{groups:[[40,47],[7,48]],totalDataCodewords:2216,errorCodewordsPerBlock:28},Q:{groups:[[43,24],[22,25]],totalDataCodewords:1582,errorCodewordsPerBlock:30},H:{groups:[[10,15],[67,16]],totalDataCodewords:1222,errorCodewordsPerBlock:30}},{L:{groups:[[19,118],[6,119]],totalDataCodewords:2956,errorCodewordsPerBlock:30},M:{groups:[[18,47],[31,48]],totalDataCodewords:2334,errorCodewordsPerBlock:28},Q:{groups:[[34,24],[34,25]],totalDataCodewords:1666,errorCodewordsPerBlock:30},H:{groups:[[20,15],[61,16]],totalDataCodewords:1276,errorCodewordsPerBlock:30}}],Uc={1:0},Wc={0:1},Yc={15:20,16:20,18:24,19:24,22:20,24:22,26:24,28:20,30:20,31:24,32:28,33:24,36:18,37:22,39:20,40:24},Xc=[1,0,1,1,1],qc=[1,0,1],Zc={L:"01",M:"00",Q:"11",H:"10"},Qc=["11101100","00010001"],Kc=[function(t,e){return(t+e)%2==0},function(t,e){return t%2==0},function(t,e){return e%3==0},function(t,e){return(t+e)%3==0},function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0},function(t,e){return t*e%2+t*e%3==0},function(t,e){return(t*e%2+t*e%3)%2==0},function(t,e){return((t+e)%2+t*e%3)%2==0}],$c=/^\d+/,Jc=new RegExp("^[A-Z $%*+./:-]+"),tu=new RegExp("^[A-Z0-9 $%*+./:-]+"),eu=new RegExp("^[^A-Z0-9 $%*+./:-]+"),ou=[[1,0],[1,25,0]];function iu(t,e,o,i){for(var n=0;n<t.length;n++)t[n][o][i]=e}function nu(t,e,o,i){for(var n=0;n<Kc.length;n++)t[n][o][i]=Kc[n](o,i)?1^e:parseInt(e,10)}function ru(t,e){for(var o=[],i=t.length-2;i>=0;i--)o[i]=t[i]^e[i];return o}function su(t,e){for(var o=[],i=0;i<t.length;i++)for(var n=0;n<e.length;n++)void 0===o[i+n]?o[i+n]=(t[i]+(e[n]>=0?e[n]:0))%255:o[i+n]=Uc[Wc[o[i+n]]^Wc[(t[i]+e[n])%255]];return o}function au(t,e){var o=[],i=t.length-1;do{o[i]=Wc[(t[i]+e)%255],i--}while(void 0!==t[i]);return o}function pu(t,e){var o,i,n=ou[e-1],r=new Array(e).concat(t),s=new Array(r.length-n.length).concat(n),a=t.length,p=[];for(i=0;i<a;i++)o=au(s,Uc[r[r.length-1]]),s.splice(0,1),r=ru(o,r);for(i=r.length-1;i>=0;i--)p[e-1-i]=jc(r[i],8);return p}function cu(t,e,o,i,n){var r,s,a=$c.exec(t),p=a?a[0]:"",c=Jc.exec(t),u=c?c[0]:"",l=tu.exec(t),h=l?l[0]:"";return p&&(p.length>=e||t.length===p.length||p.length>=o&&!tu.test(t.charAt(p.length)))?(r="numeric",s=p):h&&(t.length===h.length||h.length>=i||"alphanumeric"===n)?(r="alphanumeric",s=p||u):(r="byte",s=h?h+eu.exec(t.substring(h.length))[0]:eu.exec(t)[0]),{mode:r,modeString:s}}function uu(t,e){var o=0,i=Gc.length-1,n=Math.floor(Gc.length/2);do{t<Gc[n][e].totalDataCodewords?i=n:o=n,n=o+Math.floor((i-o)/2)}while(i-o>1);return t<=Gc[o][e].totalDataCodewords?n+1:i+1}function lu(t,e,o){var i=Ec(e),n=e.length-1,r=t<<n,s=jc(t,o-n),a=function(t,e){var o=e.toString(2).length,i=t.toString(2).length,n=t;do{i=(n^=e<<i-o).toString(2).length}while(i>=o);return n}(r,i);return a=s+jc(a,n)}function hu(t,e){return parseInt(t.charAt(e),10)}function du(t,e){var o,i,n=t[0],r=0,s=e.length;for(o=0,i=8;o<=8;o++)6!==o&&iu(t,hu(e,s-1-r++),o,i);for(o=8,i=7;i>=0;i--)6!==i&&iu(t,hu(e,s-1-r++),o,i);for(r=0,i=n.length-1,o=8;i>=n.length-8;i--)iu(t,hu(e,s-1-r++),o,i);for(iu(t,1,n.length-8,8),o=n.length-7,i=8;o<n.length;o++)iu(t,hu(e,s-1-r++),o,i)}function fu(t,e){for(var o,i,n,r=t[0].length,s=r-11,a=r-11,p=0;p<e.length;p++)o=Math.floor(p/3),i=p%3,iu(t,n=hu(e,e.length-p-1),0+o,s+i),iu(t,n,a+i,0+o)}function yu(t,e,o,i){for(var n,r=e.length+2,s=e.length+1,a=0;a<e.length;a++)for(var p=a;p<r-a;p++)iu(t,n=e[a],o+p,i+a),iu(t,n,o+a,i+p),iu(t,n,o+s-p,i+s-a),iu(t,n,o+s-a,i+s-p)}function vu(t,e,o,i){var n=o,r=i,s=t[0];do{iu(t,0,n,i),iu(t,0,o,r),n+=e[0],r+=e[1]}while(n>=0&&n<s.length)}function gu(t,e,o,i,n){e[t][i]=(e[t][i]<<1^n)%128,93===e[t][i]&&(o[t]+=40)}function _u(t,e,o,i,n,r){o[t][r]===i?n[t][r]++:(o[t][r]=i,n[t][r]>=5&&(e[t]+=3+n[t][r]-5),n[t][r]=1)}function mu(t,e){var o=Math.floor(t/e*100),i=o%5,n=Math.abs(o-i-50),r=Math.abs(o+5-i-50);return 10*Math.min(n/5,r/5)}function bu(t,e,o){var i=function(t){return t&&t.toLowerCase().indexOf("utf_8")>=0?new Hc:new Rc}(o).getEncodingResult(t,e),n=i.version,r=Gc[n-1][e],s=function(t,e){for(var o,i,n,r,s,a=0,p=[],c=[],u=e.groups,l=0;l<u.length;l++){n=u[l][0];for(var h=0;h<n;h++){i=u[l][1],o=[],r=[];for(var d=1;d<=i;d++)s=t.substring(a,a+8),o.push(s),r[i-d]=Ec(s),a+=8;p.push(o),c.push(pu(r,e.errorCodewordsPerBlock))}}return[p,c]}(function(t,e){for(var o=8*e,i=0,n=0,r=t;r.length<o&&i<"0000".length;)r+="0000".charAt(i++);for(r.length%8!=0&&(r+=new Array(9-r.length%8).join("0"));r.length<o;)r+=Qc[n],n^=1;return r}(i.dataString,r.totalDataCodewords),r),a=function(t){for(var e=[],o=17+4*t,i=0;i<Kc.length;i++){e[i]=new Array(o);for(var n=0;n<o;n++)e[i][n]=new Array(o)}return e}(n);!function(t){var e=t[0].length;yu(t,Xc,0,0),vu(t,[-1,-1],7,7),yu(t,Xc,e-7,0),vu(t,[1,-1],e-8,7),yu(t,Xc,0,e-7),vu(t,[-1,1],7,e-8)}(a),function(t,e){if(!(e<2)){var o,i,n=t[0],r=n.length,s=Math.floor(e/7),a=[6],p=0;for((o=Yc[e])?i=(r-13-o)/s:o=i=(r-13)/(s+1),a.push(a[p++]+o);a[p]+i<r;)a.push(a[p++]+i);for(var c=0;c<a.length;c++)for(var u=0;u<a.length;u++)void 0===n[a[c]][a[u]]&&yu(t,qc,a[c]-2,a[u]-2)}}(a,n),function(t){for(var e=1,o=t[0].length,i=8;i<o-8;i++)iu(t,e,6,i),iu(t,e,i,6),e^=1}(a),n>=7&&fu(a,jc(0,18)),du(a,jc(0,15)),function(t,e){for(var o,i,n,r=new Dc(t[0]),s=0;s<e.length;s++)for(o=e[s],i=0;o.length>0;){for(var a=0;a<o.length;a++)for(var p=0;p<8;p++)n=r.getNextCell(),nu(t,o[a][i].charAt(p),n.row,n.column);for(i++;o[0]&&i===o[0].length;)o.splice(0,1)}for(;n=r.getNextRemainderCell();)nu(t,0,n.row,n.column)}(a,s);var p=function(t){var e,o,i=[],n=[],r=[],s=[],a=[],p=t[0].length;for(o=0;o<t.length;o++)i[o]=0,r[o]=0,a[o]=[0,0],s[o]=[0,0],n[o]=[];for(var c=0;c<p;c++)for(var u=0;u<p;u++)for(var l=0;l<t.length;l++)e=t[l],r[l]+=parseInt(e[c][u],10),n[l][0]===e[c][u]&&c+1<p&&u-1>=0&&e[c+1][u]===n[l][0]&&e[c+1][u-1]===n[l][0]&&(i[l]+=3),gu(l,s,i,0,e[c][u]),gu(l,s,i,1,e[u][c]),_u(l,i,n,e[c][u],a,0),_u(l,i,n,e[u][c],a,1);var h,d=p*p,f=Number.MAX_VALUE;for(o=0;o<i.length;o++)i[o]+=mu(r[o],d),i[o]<f&&(f=i[o],h=o);return h}(a),c=a[p];return n>=7&&fu([c],function(t){return lu(t,"1111100100101",18)}(n)),du([c],function(t){var e,o="";if(0===Ec(t))return"101010000010010";e=lu(Ec(t),"10100110111",15);for(var i=0;i<e.length;i++)o+=e.charAt(i)^"101010000010010".charAt(i);return o}(Zc[e]+jc(p,3))),c}!function(){var t,e;for(e=1;e<255;e++)(t=2*Wc[e-1])>255&&(t^=285),Wc[e]=t,Uc[t]=e;t=2*Wc[e-1]^285,Wc[e]=t,Wc[-1]=0}(),function(){for(var t=2;t<=68;t++){var e=ou[t-1],o=[t,0];ou[t]=su(e,o)}}();var xu=Math.round,wu=[[0,1],[1,1],[1,2],[2,2],[2,1],[3,1],[3,0],[2,0],[2,-1],[1,-1],[1,0]],Cu=[[0,1],[1,1],[1,0]],Su=200,ku="L",Au="#fff",Iu="#000",Pu=1,Ou=7,Tu=function(t){function e(e,o,i){void 0===i&&(i=Rt),t.call(this),this.options=j({},this.options,o),this.element=e,this.wrapper=this.element,this.onError=i,this._initElement(),this._initSurface(),this.setOptions(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){x(this.element,"k-qrcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return S.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t,height:t}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){var t=this.element,e=t.clientWidth,o=t.clientHeight,i={width:0,height:0};return e>0&&(i.width=e),o&&(i.height=o),i},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype.exportVisual=function(){return this._render()},e.prototype._render=function(){var t,e,o,i,n,r=this._value,s=this.options.border||{},a=this.options.padding||0,p=s.width||0;s.width=p;var c=new S.drawing.Group;try{r&&(o=bu(r,this.options.errorCorrection,this.options.encoding),n=(i=this._getSize())-2*(p+a),t=this._calculateBaseUnit(n,o.length),e=p+a+(n-o.length*t)/2,c.append(this._renderBackground(i,s)),c.append(this._renderMatrix(o,t,e)),this._hasCustomLogo()?c.append(this._renderLogo(i,t)):this._isSwiss()&&c.append(this._renderSwissCode(i,t)))}catch(t){this.onError(t)}return c},e.prototype._renderLogo=function(t,e){var o,i=xu(t/2),n=this._getLogoSize(e*Ou),r=this.options.overlay.imageUrl,s={x:i-n.width/2,y:i-n.height/2};return o=new S.geometry.Rect(new S.geometry.Point(s.x,s.y),new S.geometry.Size(n.width,n.height)),new S.drawing.Image(r,o)},e.prototype._renderSwissCode=function(t,e){var o=this._getLogoSize(e*Ou),i=(o=Math.max(o.width,o.height))/4,n=i/2,r=t/2,s={},a=new S.drawing.Group;return s.x=s.y=Math.ceil(r-e-o/2),a.append(this._renderShape(s,Math.ceil(o+2*e),Cu,"#fff")),s.x=s.y=r-o/2,a.append(this._renderShape(s,o,Cu,this.options.color)),s.x=r+n-o/2,s.y=r+n+i-o/2,a.append(this._renderShape(s,i,wu,"#fff")),a},e.prototype._renderShape=function(t,e,o,i){var n=new S.drawing.MultiPath({fill:{color:i},stroke:null});n.moveTo(t.x,t.y);for(var r=0;r<o.length;r++)n.lineTo(t.x+e*o[r][0],t.y+e*o[r][1]);return n.close(),n},e.prototype._getSize=function(){var t;if(this.options.size)t=parseInt(this.options.size,10);else{var e=kc(this.element,this.options.renderAs),o=Math.min(e.width,e.height);t=o>0?o:Su}return t},e.prototype._calculateBaseUnit=function(t,e){var o=Math.floor(t/e);if(o<Pu){var i=Math.ceil(e*Pu);this.onError(new Error("Insufficient size for QR Code: the current size is "+t+"px and the minimum size is "+i+"px."))}else o*e>=t&&o-1>=Pu&&o--;return o},e.prototype._renderMatrix=function(t,e,o){for(var i=new S.drawing.MultiPath({fill:{color:this.options.color},stroke:null}),n=0;n<t.length;n++)for(var r=o+n*e,s=0;s<t.length;){for(;0===t[n][s]&&s<t.length;)s++;if(s<t.length){for(var a=s;1===t[n][s];)s++;var p=xu(o+a*e),c=xu(r),u=xu(o+s*e),l=xu(r+e);i.moveTo(p,c).lineTo(p,l).lineTo(u,l).lineTo(u,c).close()}}return i},e.prototype._renderBackground=function(t,e){var o=new Ft(0,0,t,t).unpad(e.width/2);return S.drawing.Path.fromRect(o.toRect(),{fill:{color:this.options.background},stroke:{color:e.color,width:e.width}})},e.prototype.setOptions=function(t){var e=t||{};this.options=Tc(this.options,e),void 0!==t.value&&(this._value=String(this.options.value)),this._initSurface(),this.redraw()},e.prototype.value=function(t){if(void 0===t)return this._value;this._value=String(t),this.redraw()},e.prototype._hasCustomLogo=function(){return Boolean(this.options.overlay.imageUrl)},e.prototype._isSwiss=function(){return"swiss"===this.options.overlay.type},e.prototype._getLogoSize=function(t){var e=this.options.overlay.width,o=this.options.overlay.height;return e||o?e&&!o?o=e:!e&&o&&(e=o):e=o=t,{width:e,height:o}},e}(S.Class);wt(Tu,{name:"QRCode",renderAs:"svg",encoding:"ISO_8859_1",value:"",errorCorrection:ku,background:Au,color:Iu,size:"",padding:0,border:{color:"",width:0},overlay:{type:"image",imageUrl:"",width:0,height:0}});var Mu=Tu;var ju=function(t){return void 0===t&&(t="ISO_8859_1"),function(e){try{bu(e,"L",t)}catch(t){return{valid:!1,error:t}}return{valid:!0}}},Eu={WGS84:{a:6378137,b:6356752.314245179,f:.0033528106647474805,e:.08181919084262149}};function Du(t){return t*t}var Bu=Math,Ru=Bu.abs,Lu=Bu.atan,Vu=Bu.atan2,Nu=Bu.cos,zu=Bu.sin,Fu=Bu.tan,Hu=function(t){function e(e,o){t.call(this),this.initProperties(),1===arguments.length?(this.lat=e[0],this.lng=e[1]):(this.lat=e,this.lng=o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){j(this,{DISTANCE_ITERATIONS:100,DISTANCE_CONVERGENCE:1e-12,DISTANCE_PRECISION:2,FORMAT:"{0:N6}{1:N6}"})},e.prototype.toArray=function(){return[this.lat,this.lng]},e.prototype.equals=function(t){return t&&t.lat===this.lat&&t.lng===this.lng},e.prototype.clone=function(){return new e(this.lat,this.lng)},e.prototype.round=function(t){return this.lng=gt(this.lng,t),this.lat=gt(this.lat,t),this},e.prototype.wrap=function(){return this.lng=this.lng%180,this.lat=this.lat%90,this},e.prototype.distanceTo=function(t,e){return this.greatCircleTo(t,e).distance},e.prototype.destination=function(t,o,i){var n=vt(o),r=i||Eu.WGS84,s=vt(this.lat),a=vt(this.lng),p=t/r.a,c=Bu.asin(zu(s)*Nu(p)+Nu(s)*zu(p)*Nu(n)),u=a+Vu(zu(n)*zu(p)*Nu(s),Nu(p)-zu(s)*zu(c));return new e(at(c),at(u))},e.prototype.greatCircleTo=function(t,o){var i=e.create(i),n=o||Eu.WGS84;if(!i||this.clone().round(8).equals(i.clone().round(8)))return{distance:0,azimuthFrom:0,azimuthTo:0};for(var r,s,a,p,c,u,l,h,d=n.a,f=n.b,y=n.f,v=vt(i.lng-this.lng),g=Lu((1-y)*Fu(vt(this.lat))),_=zu(g),m=Nu(g),b=Lu((1-y)*Fu(vt(i.lat))),x=zu(b),w=Nu(b),C=v,S=this.DISTANCE_ITERATIONS,k=!1;!k&&S-- >0;){s=zu(C),a=Nu(C),p=Bu.sqrt(Du(w*s)+Du(m*x-_*w*a)),h=Vu(p,u=_*x+m*w*a);var A=m*w*s/p;l=0,0!==(c=1-Du(A))&&(l=u-2*_*x/c),r=C;var I=y/16*c*(4+y*(4-3*c));C=v+(1-I)*y*A*(h+I*p*(l+I*u*(2*Du(l)-1))),k=Ru(C-r)<=this.DISTANCE_CONVERGENCE}var P=c*(Du(d)-Du(f))/Du(f),O=1+P/16384*(4096+P*(P*(320-175*P)-768)),T=P/1024*(256+P*(P*(74-47*P)-128)),M=T*p*(l+T/4*(u*(2*Du(l)-1)-T/6*l*(4*Du(p)-3)*(4*Du(l)-3))),j=Vu(w*s,m*x-_*w*a),E=Vu(m*s,-_*w+m*x*a);return{distance:gt(f*O*(h-M),this.DISTANCE_PRECISION),azimuthFrom:at(j),azimuthTo:at(E)}},e.prototype.toString=function(){return String(this.lat)+","+String(this.lng)},e.fromLngLat=function(t){return new e(t[1],t[0])},e.fromLatLng=function(t){return new e(t[0],t[1])},e.create=function(t,o){if(st(t))return t instanceof e?t.clone():1===arguments.length&&2===t.length?e.fromLatLng(t):new e(t,o)},e}(S.Class),Gu=Math,Uu=Gu.atan,Wu=Gu.exp,Yu=Gu.pow,Xu=Gu.sin,qu=Gu.log,Zu=Gu.tan,Qu=S.geometry.Point,Ku=Gu.PI,$u=Ku/2,Ju=Ku/4,tl=Ku/180,el=Eu.WGS84,ol=function(t){function e(e){t.call(this),this.initProperties(),this._initOptions(e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype.initProperties=function(){j(this,{MAX_LNG:180,MAX_LAT:85.0840590501,INVERSE_ITERATIONS:15,INVERSE_CONVERGENCE:1e-12})},e.prototype.forward=function(t,e){var o=this.options,i=o.datum.a,n=o.centralMeridian,r=ft(t.lat,-this.MAX_LAT,this.MAX_LAT),s=e?ft(t.lng,-this.MAX_LNG,this.MAX_LNG):t.lng,a=vt(s-n)*i,p=this._projectLat(r);return new Qu(a,p)},e.prototype._projectLat=function(t){var e=this.options.datum,o=e.e,i=e.a,n=vt(t),r=Zu(Ju+n/2),s=o*Xu(n),a=Yu((1-s)/(1+s),o/2);return i*qu(r*a)},e.prototype.inverse=function(t,e){var o=this.options,i=o.datum.a,n=o.centralMeridian,r=t.x/(tl*i)+n,s=ft(this._inverseY(t.y),-this.MAX_LAT,this.MAX_LAT);return e&&(r=ft(r,-this.MAX_LNG,this.MAX_LNG)),new Hu(s,r)},e.prototype._inverseY=function(t){var e,o=this.options.datum,i=o.a,n=o.e,r=n/2,s=Wu(-t/i),a=$u-2*Uu(s);for(e=0;e<=this.INVERSE_ITERATIONS;e++){var p=n*Xu(a),c=Yu((1-p)/(1+p),r),u=$u-2*Uu(s*c)-a;if(a+=u,Gu.abs(u)<=this.INVERSE_CONVERGENCE)break}return at(a)},e}(S.Class);wt(ol,{centralMeridian:0,datum:el});var il=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),j(this,{MAX_LAT:85.0511287798})},e.prototype._projectLat=function(t){var e=this.options.datum.a,o=vt(t),i=Zu(Ju+o/2);return e*qu(i)},e.prototype._inverseY=function(t){var e=this.options.datum.a,o=Wu(-t/e);return at($u-2*Uu(o))},e}(ol),nl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.forward=function(t){return new Qu(t.lng,t.lat)},e.prototype.inverse=function(t){return new Hu(t.y,t.x)},e}(S.Class),rl=function(t){function e(){t.call(this);var e=this._proj=new il,o=this.c=2*Ku*e.options.datum.a;this._tm=S.geometry.transform().translate(.5,.5).scale(1/o,-1/o),this._itm=S.geometry.transform().scale(o,-o).translate(-.5,-.5)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t,e,o){return this._proj.forward(t,o).transform(this._tm).scale(e||1)},e.prototype.toLocation=function(t,e,o){var i=t.clone().scale(1/(e||1)).transform(this._itm);return this._proj.inverse(i,o)},e}(S.Class),sl=(function(t){function e(){t.call(this),this._proj=new ol}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t){return this._proj.forward(t)},e.prototype.toLocation=function(t){return this._proj.inverse(t)}}(S.Class),function(t){function e(){t.call(this),this._proj=new nl}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t){return this._proj.forward(t)},e.prototype.toLocation=function(t){return this._proj.inverse(t)}}(S.Class),Object.defineProperty),al=(Object.assign,function(t){var e=document.createElement("div");return e.innerHTML=t,e.firstChild}),pl=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},cl=function(t,e){e.insertBefore(t,e.firstChild)},ul=function(t){return t.replace(/([a-z][A-Z])/g,(function(t){return t.charAt(0)+"-"+t.charAt(1).toLowerCase()}))},ll=function(t){return t&&String(t).endsWith("px")?t:String(t)+"px"},hl=function(t){var e,o=!1,i=[],n={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/},r={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/},s={tablet:/playbook|ipad|fire/i},a={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(var p in n)if(n.hasOwnProperty(p)&&(i=t.match(n[p]))){if("windows"===p&&"plugins"in navigator)return!1;(o={}).device=p,o.tablet=dl(p,s,!1),o.browser=dl(t,a,"default"),o.name=dl(p,r),o[o.name]=!0,o.majorVersion=i[2],o.minorVersion=(i[3]||"0").replace("_","."),e=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+e+new Array(3-(e.length<3?e.length:2)).join("0");break}return o};function dl(t,e,o){for(var i in e)if(e.hasOwnProperty(i)&&e[i].test(t))return i;return void 0!==o?o:t}var fl=function(){var t={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},e=yl();return e.touch&&(e.mobileOS.ios||e.mobileOS.android)?t={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:e.pointers?t={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:e.msPointers&&(t={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),t},yl=function(){var t=hl(navigator.userAgent),e=function(t){var e=!1,o=[],i={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var n in i)if(i.hasOwnProperty(n)&&(o=t.match(i[n]))){(e={})[n]=!0,e[o[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,e.version=parseInt(document.documentMode||o[2],10);break}return e}(navigator.userAgent),o=e.chrome,i=e.crios,n=e.mozilla,r=e.safari,s={};s.mobileOS=t,s.touch="ontouchstart"in window,s.pointers=!o&&!i&&!n&&!r&&window.PointerEvent,s.msPointers=!o&&window.MSPointerEvent,s.mouseAndTouchPresent=s.touch&&!(s.mobileOS.ios||s.mobileOS.android),s.eventCapture=document.documentElement.addEventListener;var a=document.createElement("table"),p=s.transitions=!1,c=s.transforms=!1;return["Moz","webkit","O","ms"].forEach((function(t){var e="string"==typeof a.style[t+"Transition"];if(e||"string"==typeof a.style[t+"Transform"]){var o=t.toLowerCase();return c={css:"ms"!==o?"-"+o+"-":"",prefix:t,event:"o"===o||"webkit"===o?o:""},e&&((p=c).event=p.event?p.event+"TransitionEnd":"transitionend"),!1}})),a=null,s.transforms=c,s.transitions=p,s.delayedClick=function(){if(s.touch){if(s.mobileOS.ios)return!0;if(s.mobileOS.android){if(!s.browser.chrome)return!0;if(s.browser.version<32)return!1;var t=document.querySelector("meta[name=viewport]");return!(t?t.getAttribute("content"):"").match(/user-scalable=no/i)}}return!1},s},vl=function(t,e){return t.bind(e)};var gl=function(t,e,o,i,n){_l(t,e,o,i,n)},_l=function(t,e,o,i,n){(b(e)?e:(e||"").split(" ")).forEach((function(e){ml(t,e,o,i,n)}))},ml=function(t,e,o,i,n){var r,s=i;o&&T(o)&&!i?s=o:o&&"string"==typeof o&&T(s)&&(r=o),t.addEventListener(e,(function(e){var o=e.target?e.target.closest(r):null;if(!r||r&&e.target&&o){var i=r?o:e.currentTarget;sl(e,"currentTarget",{value:i}),sl(e,"delegateTarget",{value:t}),s(e)}}),Boolean(n))},bl=function(t,e,o,i,n){xl(t,e,o,i,n)},xl=function(t,e,o,i){(b(e)?e:(e||"").split(" ")).forEach((function(e){wl(t,e,o,i)}))},wl=function(t,e,o,i){t.removeEventListener(e,o,Boolean(i))},Cl=function(t){var e=fl(navigator.userAgent);return t.replace(/([^ ]+)/g,(function(t){return e[t]||t}))},Sl=function(t,e){var o=t.prototype;o.events?e.forEach((function(t){o.events.indexOf(t)<0&&o.events.push(t)})):o.events=e},kl=function(){return Number(new Date)},Al=function(){},Il=function(){this._defaultPrevented=!0},Pl=function(){return!0===this._defaultPrevented},Ol=function(t){function e(){t.call(this),this._events={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.unbind()},e.prototype.bind=function(t,e,o){var i,n,r,s,a=this,p="string"==typeof t?[t]:t||[],c="function"==typeof e;if(void 0===e){for(i in t)a.bind(i,t[i]);return a}var u=function(){var t=p[i];(s=c?e:e[t])&&(o&&(r=s,(s=function(){a.unbind(t,s),r.apply(a,arguments)}).original=r),(a._events[t]=a._events[t]||[]).push(s))};for(i=0,n=p.length;i<n;i++)u();return a},e.prototype.one=function(t,e){return this.bind(t,e,!0)},e.prototype.first=function(t,e){var o,i,n,r="string"==typeof t?[t]:t,s="function"==typeof e;for(o=0,i=r.length;o<i;o++){var a=r[o];(n=s?e:e[a])&&(this._events[a]=this._events[a]||[]).unshift(n)}return this},e.prototype.trigger=function(t,e){var o,i,n=this._events[t];if(n){var r=e||{};for(r.sender=this,r._defaultPrevented=!1,r.preventDefault=Il,r.isDefaultPrevented=Pl,o=0,i=(n=n.slice()).length;o<i;o++)n[o].call(this,r);return!0===r._defaultPrevented}return!1},e.prototype.unbind=function(t,e){var o,i=this._events[t];if(void 0===t)this._events={};else if(i)if(e)for(o=i.length-1;o>=0;o--)i[o]!==e&&i[o].original!==e||i.splice(o,1);else this._events[t]=[];return this},e.prototype._setEvents=function(t){for(var e=(this.events||[]).length,o=0;o<e;o++){var i=this.events[o];this.options[i]&&t[i]&&(this.unbind(i,this.options[i]),this._events&&this._events[i]&&delete this._events[i])}this.bind(this.events,t)},e}(S.Class),Tl=F.compile,Ml=function(t){function e(e,o){t.call(this),this.element=e,this._initOptions(o),this.items=[],x(this.element,"k-widget k-attribution")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype.filter=function(t,e){this._extent=t,this._zoom=e,this._render()},e.prototype.add=function(t){var e=t;st(t)&&("string"==typeof t&&(e={text:t}),this.items.push(e),this._render())},e.prototype.remove=function(t){for(var e=[],o=0;o<this.items.length;o++){var i=this.items[o];i.text!==t&&e.push(i)}this.items=e,this._render()},e.prototype.clear=function(){this.items=[],pl(this.element)},e.prototype._render=function(){for(var t=[],e=Tl(this.options.itemTemplate),o=0;o<this.items.length;o++){var i=this.items[o],n=this._itemText(i);""!==n&&t.push(e({text:n}))}t.length>0?(pl(this.element),function(t,e){var o=document.createElement("div");for(o.innerHTML=t;o.childNodes.length>0;)e.appendChild(o.childNodes[0])}(t.join(this.options.separator),this.element),this.showElement()):this.hideElement()},e.prototype.hideElement=function(){this.element.style.display="none"},e.prototype.showElement=function(){this.element.style.display=""},e.prototype._itemText=function(t){var e="",o=this._inZoomLevel(t.minZoom,t.maxZoom),i=this._inArea(t.extent);return o&&i&&(e+=t.text),e},e.prototype._inZoomLevel=function(t,e){var o=mt(t,-Number.MAX_VALUE),i=mt(e,Number.MAX_VALUE);return this._zoom>o&&this._zoom<i},e.prototype._inArea=function(t){var e=!0;return t&&(e=t.contains(this._extent)),e},e}(Ol);wt(Ml,{name:"Attribution",separator:" | ",itemTemplate:"#= text #"});var jl={up:{className:"k-navigator-n",iconClass:"k-i-arrow-n"},down:{className:"k-navigator-s",iconClass:"k-i-arrow-s"},right:{className:"k-navigator-e",iconClass:"k-i-arrow-e"},left:{className:"k-navigator-w",iconClass:"k-i-arrow-w"}};function El(t){var e='<button class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button '+jl[t].className+'" aria-label="move '+t+'"><span class="k-icon '+jl[t].iconClass+'" /></button>';return al(e)}var Dl=function(t){function e(e,o){t.call(this),this.element=e,this._initOptions(o);var i=El("up"),n=El("right"),r=El("down"),s=El("left");this.element.appendChild(i),this.element.appendChild(n),this.element.appendChild(r),this.element.appendChild(s),x(this.element,"k-widget k-navigator"),gl(this.element,"click",".k-button",vl(this._click,this));var a=this.element.parentNode.closest("[data-role]");this._keyroot=a||this.element,this._tabindex(this._keyroot),this._keydownHandler=vl(this._keydown,this),gl(this._keyroot,"keydown",this._keydownHandler)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.dispose()},e.prototype.dispose=function(){bl(this._keyroot,"keydown",this._keydownHandler)},e.prototype._tabindex=function(t){var e=t||this.wrapper||this.element,o=this.element,i=e.getAttribute("tabindex")||o.getAttribute("tabindex");o.removeAttribute("tabindex"),e.setAttribute("tabindex",isNaN(i)?0:i)},e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype._pan=function(t,e){var o=this.options.panStep;this.trigger("pan",{x:t*o,y:e*o})},e.prototype._click=function(t){var e=0,o=0,i=t.currentTarget;i.matches(".k-navigator-n")?o=1:i.matches(".k-navigator-s")?o=-1:i.matches(".k-navigator-e")?e=1:i.matches(".k-navigator-w")&&(e=-1),this._pan(e,o),t.preventDefault()},e.prototype._keydown=function(t){switch(t.which){case Lt.UP:this._pan(0,1),t.preventDefault();break;case Lt.DOWN:this._pan(0,-1),t.preventDefault();break;case Lt.RIGHT:this._pan(1,0),t.preventDefault();break;case Lt.LEFT:this._pan(-1,0),t.preventDefault()}},e}(Ol);function Bl(t,e){return al('<button class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-'+t+'" title="zoom-'+t+'" aria-label="zoom-'+t+'"><span class="k-icon '+e+'"></span></button>')}wt(Dl,{name:"Navigator",panStep:1}),Sl(Dl,["pan"]);var Rl=function(t){function e(e,o){t.call(this),this.element=e,this._initOptions(o);var i=Bl("in","k-i-plus"),n=Bl("out","k-i-minus");this.element.appendChild(i),this.element.appendChild(n),x(this.element,"k-widget k-zoom-control k-button-group k-group-horizontal"),this._clickHandler=this._click.bind(this),gl(this.element,"click",".k-button",this._clickHandler);var r=this.element.parentNode.closest("[data-role]");this._keyroot=r||this.element,this._tabindex(this._keyroot),this._keydownHandler=this._keydown.bind(this),gl(this._keyroot,"keydown",this._keydownHandler)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.element&&bl(this.element,"click",this._clickHandler),this._keyroot&&bl(this._keyroot,"keydown",this._keydownHandler)},e.prototype._tabindex=function(t){var e=t||this.wrapper||this.element,o=this.element,i=e.getAttribute("tabindex")||o.getAttribute("tabindex");o.removeAttribute("tabindex"),e.setAttribute("tabindex",isNaN(i)?0:i)},e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype._change=function(t){var e=this.options.zoomStep;this.trigger("change",{delta:t*e})},e.prototype._click=function(t){var e=1;X(t.currentTarget,"k-zoom-out")&&(e=-1),this._change(e),t.preventDefault()},e.prototype._keydown=function(t){switch(t.which){case Lt.NUMPAD_PLUS:case 187:case 61:this._change(1);break;case Lt.NUMPAD_MINUS:case 189:case 173:this._change(-1)}},e}(Ol);wt(Rl,{name:"ZoomControl",zoomStep:1}),Sl(Rl,["change"]);var Ll=Math,Vl=Ll.max,Nl=Ll.min,zl=function(t){function e(e,o){t.call(this);var i=Hu.create(e),n=Hu.create(o);i.lng+180>n.lng+180&&i.lat+90<n.lat+90?(this.se=i,this.nw=n):(this.se=n,this.nw=i)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={World:{configurable:!0}};return e.prototype.contains=function(t){var e=this.nw,o=this.se,i=mt(t.lng,t[1]),n=mt(t.lat,t[0]);return t&&i+180>=e.lng+180&&i+180<=o.lng+180&&n+90>=o.lat+90&&n+90<=e.lat+90},e.prototype.center=function(){var t=this.nw,e=this.se,o=t.lng+(e.lng-t.lng)/2,i=t.lat+(e.lat-t.lat)/2;return new Hu(i,o)},e.prototype.containsAny=function(t){for(var e=!1,o=0;o<t.length;o++)e=e||this.contains(t[o]);return e},e.prototype.include=function(t){var e=this.nw,o=this.se,i=mt(t.lng,t[1]),n=mt(t.lat,t[0]);e.lng=Nl(e.lng,i),e.lat=Vl(e.lat,n),o.lng=Vl(o.lng,i),o.lat=Nl(o.lat,n)},e.prototype.includeAll=function(t){for(var e=0;e<t.length;e++)this.include(t[e])},e.prototype.edges=function(){var t=this.nw,e=this.se;return{nw:this.nw,ne:new Hu(t.lat,e.lng),se:this.se,sw:new Hu(e.lat,t.lng)}},e.prototype.toArray=function(){var t=this.nw,e=this.se;return[t,new Hu(t.lat,e.lng),e,new Hu(e.lat,t.lng)]},e.prototype.overlaps=function(t){return this.containsAny(t.toArray())||t.containsAny(this.toArray())},e.create=function(t,o){return t instanceof e?t:t&&o?new e(t,o):t&&4===t.length&&!o?new e([t[0],t[1]],[t[2],t[3]]):void 0},o.World.get=function(){return new e([90,-180],[-90,180])},Object.defineProperties(e,o),e}(S.Class),Fl=function(t){function e(e,o){t.call(this),this.support=yl(),this._initOptions(o),this.map=e;var i=document.createElement("div");x(i,"k-layer"),i.style.zIndex=this.options.zIndex,i.style.opacity=this.options.opacity,this.element=i,e.scrollElement.appendChild(this.element),this._beforeReset=this._beforeReset.bind(this),this._reset=this._reset.bind(this),this._resize=this._resize.bind(this),this._panEnd=this._panEnd.bind(this),this._activate(),this._updateAttribution()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._deactivate()},e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype.show=function(){this.reset(),this._activate(),this._applyExtent(!0)},e.prototype.hide=function(){this._deactivate(),this._setVisibility(!1)},e.prototype.reset=function(){this._beforeReset(),this._reset()},e.prototype._reset=function(){this._applyExtent()},e.prototype._beforeReset=function(){},e.prototype._resize=function(){},e.prototype._panEnd=function(){this._applyExtent()},e.prototype._applyExtent=function(){var t=this.options,e=this.map.zoom(),o=!st(t.minZoom)||e>=t.minZoom,i=!st(t.maxZoom)||e<=t.maxZoom,n=zl.create(t.extent),r=!n||n.overlaps(this.map.extent());this._setVisibility(o&&i&&r)},e.prototype._setVisibility=function(t){this.element.style.display=t?"":"none"},e.prototype._activate=function(){var t=this.map;this._deactivate(),t.bind("beforeReset",this._beforeReset),t.bind("reset",this._reset),t.bind("resize",this._resize),t.bind("panEnd",this._panEnd)},e.prototype._deactivate=function(){var t=this.map;t.unbind("beforeReset",this._beforeReset),t.unbind("reset",this._reset),t.unbind("resize",this._resize),t.unbind("panEnd",this._panEnd)},e.prototype._updateAttribution=function(){var t=this.map.attribution;t&&t.add(this.options.attribution)},e.prototype._readData=function(){return this.options.data||[]},e.prototype._hasData=function(){return this._data&&this._data.length>0},e}(S.Class),Hl=Math,Gl=F.compile,Ul=S.geometry.Point;function Wl(t){return new Ul(gt(t.x),gt(t.y))}function Yl(t){var e=t;return"string"!=typeof t&&(e+="px"),e}var Xl=function(t){function e(e,o){t.call(this,e,o),"string"==typeof this.options.subdomains&&(this.options.subdomains=this.options.subdomains.split(""));var i=this._viewType();this._view=new i(this.element,this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this._view.destroy(),this._view=null},e.prototype._beforeReset=function(){var t=this.map,e=t.locationToLayer(t.extent().nw).round();this._view.viewOrigin(e)},e.prototype._reset=function(){t.prototype._reset.call(this),this._updateView(),this._view.reset()},e.prototype._viewType=function(){return ql},e.prototype._activate=function(){t.prototype._activate.call(this),this.support.mobileOS||(this._pan||(this._pan=Object(S.throttle)(this._render.bind(this),100)),this.map.bind("pan",this._pan))},e.prototype._deactivate=function(){t.prototype._deactivate.call(this),this._pan&&this.map.unbind("pan",this._pan)},e.prototype._updateView=function(){var t=this._view,e=this.map,o=e.extent(),i={nw:e.locationToLayer(o.nw).round(),se:e.locationToLayer(o.se).round()};t.center(e.locationToLayer(e.center())),t.extent(i),t.zoom(e.zoom())},e.prototype._resize=function(){this._render()},e.prototype._panEnd=function(e){t.prototype._panEnd.call(this,e),this._render()},e.prototype._render=function(){this._updateView(),this._view.render()},e}(Fl);wt(Xl,{tileSize:256,subdomains:["a","b","c"],urlTemplate:"",zIndex:1});var ql=function(t){function e(e,o){t.call(this),this.element=e,this._initOptions(o),this.pool=new Ql}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype.center=function(t){this._center=t},e.prototype.extent=function(t){this._extent=t},e.prototype.viewOrigin=function(t){this._viewOrigin=t},e.prototype.zoom=function(t){this._zoom=t},e.prototype.pointToTileIndex=function(t){return new Ul(Hl.floor(t.x/this.options.tileSize),Hl.floor(t.y/this.options.tileSize))},e.prototype.tileCount=function(){var t=this.size(),e=this.pointToTileIndex(this._extent.nw),o=this._extent.nw,i=this.indexToPoint(e).translate(-o.x,-o.y);return{x:Hl.ceil((Hl.abs(i.x)+t.width)/this.options.tileSize),y:Hl.ceil((Hl.abs(i.y)+t.height)/this.options.tileSize)}},e.prototype.size=function(){var t=this._extent.nw,e=this._extent.se.clone().translate(-t.x,-t.y);return{width:e.x,height:e.y}},e.prototype.indexToPoint=function(t){var e=t.x,o=t.y;return new Ul(e*this.options.tileSize,o*this.options.tileSize)},e.prototype.subdomainText=function(){var t=this.options.subdomains;return t[this.subdomainIndex++%t.length]},e.prototype.destroy=function(){pl(this.element),this.pool.empty()},e.prototype.reset=function(){this.pool.reset(),this.subdomainIndex=0,this.render()},e.prototype.render=function(){var t,e,o,i=this.tileCount(),n=this.pointToTileIndex(this._extent.nw);for(e=0;e<i.x;e++)for(o=0;o<i.y;o++)(t=this.createTile({x:n.x+e,y:n.y+o})).visible||t.show()},e.prototype.createTile=function(t){var e=this.tileOptions(t),o=this.pool.get(this._center,e);return o.element.parentNode||this.element.append(o.element),o},e.prototype.tileOptions=function(t){var e=this.wrapIndex(t),o=this.indexToPoint(t),i=this._viewOrigin,n=o.clone().translate(-i.x,-i.y);return{index:e,currentIndex:t,point:o,offset:Wl(n),zoom:this._zoom,size:this.options.tileSize,subdomain:this.subdomainText(),urlTemplate:this.options.urlTemplate,errorUrlTemplate:this.options.errorUrlTemplate}},e.prototype.wrapIndex=function(t){var e=Hl.pow(2,this._zoom);return{x:this.wrapValue(t.x,e),y:ft(t.y,0,e-1)}},e.prototype.wrapValue=function(t,e){var o=Hl.abs(t)%e;return t>=0?o:e-(0===o?e:o)},e}(S.Class),Zl=function(t){function e(e,o){t.call(this),this.id=e,this.visible=!0,this._initOptions(o),this.createElement(),this.show()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){var t=this.element,e=t?t.parentNode:null;t&&(e&&e.removeChild(t),this.element=null)},e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype.createElement=function(){var t=document.createElement("img");x(t,"k-layer"),t.style.position="absolute",t.style.display="block",t.style.width=this.options.size,t.style.height=this.options.size,this.element=t},e.prototype.show=function(){var t=this.element;t.style.top=Yl(this.options.offset.y),t.style.left=Yl(this.options.offset.x);var e=this.url();e&&t.setAttribute("src",e),t.style.visibility="visible",this.visible=!0},e.prototype.hide=function(){this.element.style.visibility="hidden",this.visible=!1},e.prototype.url=function(){return Gl(this.options.urlTemplate)(this.urlOptions())},e.prototype.errorUrl=function(){return Gl(this.options.errorUrlTemplate)(this.urlOptions())},e.prototype.urlOptions=function(){var t=this.options;return{zoom:t.zoom,subdomain:t.subdomain,z:t.zoom,x:t.index.x,y:t.index.y,s:t.subdomain,quadkey:t.quadkey,q:t.quadkey,culture:t.culture,c:t.culture}},e}(S.Class);wt(Zl,{urlTemplate:"",errorUrlTemplate:""});var Ql=function(t){function e(){t.call(this),this._items=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._items.length>=this.options.maxSize&&this._remove(t),this._create(e)},e.prototype.empty=function(){for(var t=this._items,e=0;e<t.length;e++)t[e].destroy();this._items=[]},e.prototype.reset=function(){for(var t=this._items,e=0;e<t.length;e++)t[e].hide()},e.prototype._create=function(t){for(var e,o=this._items,i=ht(t.point.toString()+t.offset.toString()+t.zoom+t.urlTemplate),n=0;n<o.length;n++)if(o[n].id===i){e=o[n];break}return e?e.show():(e=new Zl(i,t),this._items.push(e)),e},e.prototype._remove=function(t){for(var e=this._items,o=-1,i=-1,n=0;n<e.length;n++){var r=e[n].options.point.distanceTo(t);r>o&&!e[n].visible&&(i=n,o=r)}-1!==i&&(e[i].destroy(),e.splice(i,1))},e}(S.Class);wt(Ql,{maxSize:100});var Kl=Object.assign,$l=function(t){function e(e,o){t.call(this);var i=this,n=e[0]||e;i.capture=!1;var r=fl(navigator.userAgent);n.addEventListener?(r.down.split(" ").forEach((function(t){n.addEventListener(t,vl(i._press,i),!0)})),r.up.split(" ").forEach((function(t){n.addEventListener(t,vl(i._release,i),!0)}))):(r.down.split(" ").forEach((function(t){n.attachEvent(t,vl(i._press,i))})),r.up.split(" ").forEach((function(t){n.attachEvent(t,vl(i._release,i))}))),i.bind(["press","release"],o||{})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.captureNext=function(){this.capture=!0},e.prototype.cancelCapture=function(){this.capture=!1},e.prototype._press=function(t){this.trigger("press"),this.capture&&t.preventDefault()},e.prototype._release=function(t){this.trigger("release"),this.capture&&(t.preventDefault(),this.cancelCapture())},e}(Ol),Jl=function(t){function e(e){t.call(this);this.forcedEnabled=!1,Kl(this,e),this.scale=1,this.horizontal?(this.measure="offsetWidth",this.scrollSize="scrollWidth",this.axis="x"):(this.measure="offsetHeight",this.scrollSize="scrollHeight",this.axis="y")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.makeVirtual=function(){Kl(this,{virtual:!0,forcedEnabled:!0,_virtualMin:0,_virtualMax:0})},e.prototype.virtualSize=function(t,e){this._virtualMin===t&&this._virtualMax===e||(this._virtualMin=t,this._virtualMax=e,this.update())},e.prototype.outOfBounds=function(t){return t>this.max||t<this.min},e.prototype.forceEnabled=function(){this.forcedEnabled=!0},e.prototype.getSize=function(){return this.container[this.measure]},e.prototype.getTotal=function(){return this.element[this.scrollSize]},e.prototype.rescale=function(t){this.scale=t},e.prototype.update=function(t){var e=this.virtual?this._virtualMax:this.getTotal(),o=e*this.scale,i=this.getSize();(0!==e||this.forcedEnabled)&&(this.max=this.virtual?-this._virtualMin:0,this.size=i,this.total=o,this.min=Math.min(this.max,i-o),this.minScale=i/e,this.centerOffset=(o-i)/2,this.enabled=this.forcedEnabled||o>i,t||this.trigger("change",this))},e}(Ol),th=function(t){function e(e){t.call(this);this.x=new Jl(Kl({horizontal:!0},e)),this.y=new Jl(Kl({horizontal:!1},e)),this.container=e.container,this.forcedMinScale=e.minScale,this.maxScale=e.maxScale||100,this.bind("change",e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rescale=function(t){this.x.rescale(t),this.y.rescale(t),this.refresh()},e.prototype.centerCoordinates=function(){return{x:Math.min(0,-this.x.centerOffset),y:Math.min(0,-this.y.centerOffset)}},e.prototype.refresh=function(){this.x.update(),this.y.update(),this.enabled=this.x.enabled||this.y.enabled,this.minScale=this.forcedMinScale||Math.min(this.x.minScale,this.y.minScale),this.fitScale=Math.max(this.x.minScale,this.y.minScale),this.trigger("change")},e}(Ol),eh=function(t){function e(e){t.call(this),Kl(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.outOfBounds=function(){return this.dimension.outOfBounds(this.movable[this.axis])},e.prototype.dragMove=function(t){var e=this.dimension,o=this.axis,i=this.movable,n=i[o]+t;if(e.enabled){var r=t;(n<e.min&&t<0||n>e.max&&t>0)&&(r*=this.resistance),i.translateAxis(o,r),this.trigger("change",this)}},e}(Ol),oh=function(t){function e(e){t.call(this);var o,i,n,r,s=this;Kl(s,{elastic:!0},e),n=s.elastic?.5:0,r=s.movable,s.x=o=new eh({axis:"x",dimension:s.dimensions.x,resistance:n,movable:r}),s.y=i=new eh({axis:"y",dimension:s.dimensions.y,resistance:n,movable:r}),s.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(t){s.gesture=t,s.offset=pt(s.dimensions.container)},press:function(t){var e=t.event.target.closest("a");e&&e.matches("[data-navigate-on-press=true]")&&t.sender.cancel()},gesturechange:function(t){var e,n=s.gesture,a=n.center,p=t.center,c=t.distance/n.distance,u=s.dimensions.minScale,l=s.dimensions.maxScale;r.scale<=u&&c<1&&(c+=.8*(1-c)),r.scale*c>=l&&(c=l/r.scale);var h=r.x+s.offset.left,d=r.y+s.offset.top;e={x:(h-a.x)*c+p.x-h,y:(d-a.y)*c+p.y-d},r.scaleWith(c),o.dragMove(e.x),i.dragMove(e.y),s.dimensions.rescale(r.scale),s.gesture=t,t.preventDefault()},move:function(t){t.event.target.tagName.match(/textarea|input/i)||(o.dimension.enabled||i.dimension.enabled?(o.dragMove(t.x.delta),i.dragMove(t.y.delta),t.preventDefault()):t.touch.skip())},end:function(t){t.preventDefault()}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class),ih=function(t,e,o){return"translate3d("+t+"px,"+e+"px,0) scale("+o+")"},nh=function(t){function e(e){t.call(this);this.support=yl(),this.transformStyle=this.support.transitions.prefix+"Transform",this.element=e,this.element.style.webkitTransformOrigin="left top",this.x=0,this.y=0,this.scale=1;var o=ih(this.x,this.y,this.scale);this.element.style[this.transformStyle]=o,this._saveCoordinates(o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.translateAxis=function(t,e){this[t]+=e,this.refresh()},e.prototype.scaleTo=function(t){this.scale=t,this.refresh()},e.prototype.scaleWith=function(t){this.scale*=t,this.refresh()},e.prototype.translate=function(t){this.x+=t.x,this.y+=t.y,this.refresh()},e.prototype.moveAxis=function(t,e){this[t]=e,this.refresh()},e.prototype.moveTo=function(t){Kl(this,t),this.refresh()},e.prototype.refresh=function(){var t,e=this.x,o=this.y;this.round&&(e=Math.round(e),o=Math.round(o)),(t=ih(e,o,this.scale))!==this.coordinates&&(this.element.style[this.transformStyle]=t,this._saveCoordinates(t),this.trigger("change"))},e.prototype._saveCoordinates=function(t){this.coordinates=t},e}(Ol),rh=S.drawing.Group,sh=function(t){function e(e,o){t.call(this,e,o),this._pan=vl(this._pan,this),this.surface=S.drawing.Surface.create(this.element,{width:e.scrollElement.clientWidth,height:e.scrollElement.clientHeight}),this._initRoot(),this.movable=new nh(this.surface.element),this._markers=[],this._click=this._handler("shapeClick"),this.surface.bind("click",this._click),this._mouseenter=this._handler("shapeMouseEnter"),this.surface.bind("mouseenter",this._mouseenter),this._mouseleave=this._handler("shapeMouseLeave"),this.surface.bind("mouseleave",this._mouseleave)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this.surface.destroy()},e.prototype._reset=function(){t.prototype._reset.call(this),this._translateSurface(),this._data=this._readData(),this._hasData()&&this._load(this._data)},e.prototype._initRoot=function(){this._root=new rh,this.surface.draw(this._root)},e.prototype._beforeReset=function(){this.surface.clear(),this._initRoot()},e.prototype._resize=function(){this.surface.size(this.map.size())},e.prototype._readData=function(){var e=t.prototype._readData.call(this);return"FeatureCollection"===e.type?e.features:"GeometryCollection"===e.type?e.geometries:e},e.prototype._load=function(t){this._data=t,this._clearMarkers(),this._loader||(this._loader=new ah(this.map,this.options.style,this));for(var e=new rh,o=0;o<t.length;o++){var i=this._loader.parse(t[o]);i&&e.append(i)}this._root.clear(),this._root.append(e)},e.prototype.shapeCreated=function(t){var e=!1;if(t instanceof S.drawing.Circle&&this.map.options.renderPointsAsMarkers&&(e=st(this._createMarker(t))),!e){var o={layer:this,shape:t};e=this.map.trigger("shapeCreated",o)}return e},e.prototype.featureCreated=function(t){t.layer=this,this.map.trigger("shapeFeatureCreated",t)},e.prototype._createMarker=function(t){var e=this.map.markers.bind({location:t.location},t.dataItem);return e&&this._markers.push(e),e},e.prototype._clearMarkers=function(){for(var t=0;t<this._markers.length;t++)this.map.markers.remove(this._markers[t]);this._markers=[]},e.prototype._pan=function(){this._panning||(this._panning=!0,this.surface.suspendTracking())},e.prototype._panEnd=function(e){t.prototype._panEnd.call(this,e),this._translateSurface(),this.surface.resumeTracking(),this._panning=!1},e.prototype._translateSurface=function(){var t=this.map,e=t.locationToView(t.extent().nw);this.surface.translate&&(this.surface.translate(e),this.movable.moveTo({x:e.x,y:e.y}))},e.prototype._handler=function(t){var e=this;return function(o){if(o.element){var i={layer:e,layerIndex:(e.map.layers||[]).indexOf(e),shape:o.element,shapeIndex:(e._data||[]).indexOf(o.element.dataItem),originalEvent:o.originalEvent};e.map.trigger(t,i)}}},e.prototype._activate=function(){t.prototype._activate.call(this),this._panHandler=vl(this._pan,this),this.map.bind("pan",this.panHandler)},e.prototype._deactivate=function(){t.prototype._deactivate.call(this),this.map.unbind("pan",this._panHandler)},e}(Fl);wt(sh,{autoBind:!0,zIndex:100});var ah=function(t){function e(e,o,i){t.call(this),this.observer=i,this.locator=e,this.style=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parse=function(t){var e=new rh,o=!0;return"Feature"===t.type?(o=!1,this._loadGeometryTo(e,t.geometry,t),this._featureCreated(e,t)):this._loadGeometryTo(e,t,t),o&&e.children.length<2&&(e=e.children[0]),e},e.prototype._shapeCreated=function(t){var e=!1;return this.observer&&this.observer.shapeCreated&&(e=this.observer.shapeCreated(t)),e},e.prototype._featureCreated=function(t,e){this.observer&&this.observer.featureCreated&&this.observer.featureCreated({group:t,dataItem:e,properties:e.properties})},e.prototype._loadGeometryTo=function(t,e,o){var i,n,r=e.coordinates;switch(e.type){case"LineString":n=this._loadPolygon(t,[r],o),this._setLineFill(n);break;case"MultiLineString":for(i=0;i<r.length;i++)n=this._loadPolygon(t,[r[i]],o),this._setLineFill(n);break;case"Polygon":this._loadPolygon(t,r,o);break;case"MultiPolygon":for(i=0;i<r.length;i++)this._loadPolygon(t,r[i],o);break;case"Point":this._loadPoint(t,r,o);break;case"MultiPoint":for(i=0;i<r.length;i++)this._loadPoint(t,r[i],o)}},e.prototype._setLineFill=function(t){var e=t.segments;(e.length<4||!e[0].anchor().equals(dt(e).anchor()))&&(t.options.fill=null)},e.prototype._loadShape=function(t,e){return this._shapeCreated(e)||t.append(e),e},e.prototype._loadPolygon=function(t,e,o){var i=this._buildPolygon(e);return i.dataItem=o,this._loadShape(t,i)},e.prototype._buildPolygon=function(t){for(var e=new(t.length>1?S.drawing.MultiPath:S.drawing.Path)(this.style),o=0;o<t.length;o++)for(var i=0;i<t[o].length;i++){var n=this.locator.locationToView(Hu.fromLngLat(t[o][i]));0===i?e.moveTo(n.x,n.y):e.lineTo(n.x,n.y)}return e},e.prototype._loadPoint=function(t,e,o){var i=Hu.fromLngLat(e),n=this.locator.locationToView(i),r=new S.geometry.Circle(n,10),s=new S.drawing.Circle(r,this.style);return s.dataItem=o,s.location=i,this._loadShape(t,s)},e}(S.Class),ph=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._readData=function(){return this.options.data||[]},e.prototype._load=function(t){if(this._data=t,this.surface.clear(),0!==t.length){var e=this.options,o=W(e.valueField),i=t.slice(0);i.sort((function(t,e){return o(e)-o(t)}));for(var n,r=this._scaleType(),s=W(this.options.locationField),a=0;a<i.length;a++){var p=i[a],c=s(p),u=o(p);if(st(c)&&st(u)){n||(n=new r([0,u],[e.minSize,e.maxSize])),c=Hu.create(c);var l=this.map.locationToView(c),h=n.map(u),d=this._createSymbol({center:l,size:h,style:e.style,dataItem:p,location:c});d.dataItem=p,d.location=c,d.value=u,this._drawSymbol(d)}}}},e.prototype._scaleType=function(){var t=this.options.scale;return T(t)?t:ch[t]},e.prototype._createSymbol=function(t){var e=this.options.symbol;return T(e)||(e=uh[e]),e(t)},e.prototype._drawSymbol=function(t){var e={layer:this,shape:t};this.map.trigger("shapeCreated",e)||this.surface.draw(t)},e}(sh);wt(ph,{locationField:"location",valueField:"value",minSize:0,maxSize:100,scale:"sqrt",symbol:"circle",zIndex:200});var ch={sqrt:function(t){function e(e,o){t.call(this),this._domain=e,this._range=o;var i=Math.sqrt(e[1])-Math.sqrt(e[0]),n=o[1]-o[0];this._ratio=n/i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.map=function(t){var e=(Math.sqrt(t)-Math.sqrt(this._domain[0]))*this._ratio;return this._range[0]+e},e}(S.Class)},uh={circle:function(t){var e=new S.geometry.Circle(t.center,t.size/2);return new S.drawing.Circle(e,t.style)},square:function(t){var e=new S.drawing.Path(t.style),o=t.size/2,i=t.center;return e.moveTo(i.x-o,i.y-o).lineTo(i.x+o,i.y-o).lineTo(i.x+o,i.y+o).lineTo(i.x-o,i.y+o).close(),e}},lh=Object.assign,hh=function(t){function e(e,o){t.call(this,e,o),this._markerClickHandler=vl(this._markerClick,this),gl(this.element,"click",".k-marker",this._markerClickHandler),this.items=[],this._load(this._readData())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),bl(this.element,"click",this._markerClickHandler),this.clear()},e.prototype.add=function(t){if(!b(t))return this._addOne(t);for(var e=0;e<t.length;e++)this._addOne(t[e])},e.prototype.remove=function(t){t.destroy();var e=(this.items||[]).indexOf(t);e>-1&&this.items.splice(e,1)},e.prototype.clear=function(){for(var t=0;t<this.items.length;t++)this.items[t].destroy();this.items=[]},e.prototype.update=function(t){var e=t.location();if(e){t.showAt(this.map.locationToView(e));var o={marker:t,layer:this};this.map.trigger("markerActivate",o)}},e.prototype._reset=function(){t.prototype._reset.call(this);for(var e=this.items,o=0;o<e.length;o++)this.update(e[o])},e.prototype.bind=function(t,e){var o=dh.create(t,this.options);o.dataItem=e;var i={marker:o,layer:this};if(!this.map.trigger("markerCreated",i))return this.add(o),o},e.prototype._addOne=function(t){var e=dh.create(t,this.options);return e.addTo(this),e},e.prototype._readData=function(){return this.options.data||[]},e.prototype._load=function(t){this._data=t,this.clear();for(var e=W(this.options.locationField),o=W(this.options.titleField),i=0;i<t.length;i++){var n=t[i];this.bind({location:e(n),title:o(n)},n)}},e.prototype._markerClick=function(t){var e=this.map.layers||[],o=t.target._kendoNode,i={layer:this,layerIndex:e.indexOf(this),marker:o,markerIndex:(this.items||[]).indexOf(o),originalEvent:t};this.map.trigger("markerClick",i)},e.prototype._markerMouseEnter=function(t){var e=this._createMarkerEventArgs(t);this.map.trigger("markerMouseEnter",e)},e.prototype._markerMouseLeave=function(t){var e=this._createMarkerEventArgs(t);this.map.trigger("markerMouseLeave",e)},e.prototype._createMarkerEventArgs=function(t){var e=t.marker;return lh({},{layer:this,layerIndex:this.map.layers.indexOf(this),marker:e,markerIndex:(this.items||[]).indexOf(e)},t)},e}(Fl);wt(hh,{zIndex:1e3,autoBind:!0,locationField:"location",titleField:"title"});var dh=function(t){function e(e){t.call(this),this.options=e||{}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.layer=null,this.unbindEvents(),this.hide()},e.prototype.addTo=function(t){this.layer=t.markers||t,this.layer.items.push(this),this.layer.update(this)},e.prototype.location=function(t){return t?(this.options.location=Hu.create(t).toArray(),this.layer&&this.layer.update(this),this):Hu.create(this.options.location)},e.prototype.showAt=function(t){this.render(),this.element.style.left=ll(Math.round(t.x)),this.element.style.top=ll(Math.round(t.y)),this.tooltip&&this.tooltip.popup&&this.tooltip.popup._position()},e.prototype.hide=function(){this.element&&(this.element.remove(),this.element=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)},e.prototype.bindEvents=function(){this.element&&(this._mouseEnterHandler=vl(this._mouseEnter,this),gl(this.element,"mouseenter",".k-marker",this._mouseEnterHandler),this._mouseLeaveHandler=vl(this._mouseLeave,this),gl(this.element,"mouseleave",".k-marker",this._mouseLeaveHandler))},e.prototype.unbindEvents=function(){this.element&&(bl(this.element,"mouseenter",this._mouseEnterHandler),bl(this.element,"mouseleave",this._mouseLeaveHandler))},e.prototype.render=function(){if(!this.element){var t=this.options,e=this.layer,o=document.createElement("span");x(o,"k-marker k-icon k-i-marker-"+ul(t.shape||"pin")),o.setAttribute("title",t.title);var i=t.attributes||{};Object.keys(i).forEach((function(t){o.setAttributett(t,i[t])})),o._kendoNode=this,o.style.zIndex=t.zIndex,this.element=o,e&&e.element.appendChild(this.element),this.bindEvents(),this.renderTooltip()}},e.prototype._mouseEnter=function(t){var e=this._createEventArgs(t);this.layer._markerMouseEnter(e)},e.prototype._mouseLeave=function(t){var e=this._createEventArgs(t);this.layer._markerMouseLeave(e)},e.prototype._createEventArgs=function(t){return{marker:this,originalEvent:t}},e.prototype.renderTooltip=function(){},e.create=function(t,o){return t instanceof e?t:new e(j({},o,t))},e}(S.Class),fh=Object.assign;function yh(t){window.requestAnimationFrame(t)}var vh=function(t){function e(){t.call(this);this._tickProxy=vl(this._tick,this),this._started=!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.tick=function(){},e.prototype.done=function(){},e.prototype.onEnd=function(){},e.prototype.onCancel=function(){},e.prototype.start=function(){this.enabled()&&(this.done()?this.onEnd():(this._started=!0,yh(this._tickProxy)))},e.prototype.enabled=function(){return!0},e.prototype.cancel=function(){this._started=!1,this.onCancel()},e.prototype._tick=function(){this._started&&(this.tick(),this.done()?(this._started=!1,this.onEnd()):yh(this._tickProxy))},e}(S.Class),gh=function(t){function e(e){t.call(this),fh(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.done=function(){return this.timePassed()>=this.duration},e.prototype.timePassed=function(){return Math.min(this.duration,kl()-this.startDate)},e.prototype.moveTo=function(t){var e=this.movable;this.initial=e[this.axis],this.delta=t.location-this.initial,this.duration="number"==typeof t.duration?t.duration:300,this.tick=this._easeProxy(t.ease),this.startDate=kl(),this.start()},e.prototype._easeProxy=function(t){var e=this;return function(){e.movable.moveAxis(e.axis,t(e.timePassed(),e.initial,e.delta,e.duration))}},e.easeOutExpo=function(t,e,o,i){return t===i?e+o:o*(1-Math.pow(2,-10*t/i))+e},e}(vh),_h=Object.assign,mh=function(t){t.preventDefault()},bh=800,xh=0,wh={api:0,touch:0,mouse:9,pointer:9};function Ch(t){var e,o,i,n=yl(),r=[],s=t.originalEvent||t,a=t.currentTarget,p=0;if(t.api)r.push({id:2,event:t,target:t.target,currentTarget:t.target,location:t,type:"api"});else if(t.type.match(/touch/))for(e=(o=s?s.changedTouches:[]).length;p<e;p++)i=o[p],r.push({location:i,event:t,target:i.target,currentTarget:a,id:i.identifier,type:"touch"});else n.pointers||n.msPointers?r.push({location:s,event:t,target:t.target,currentTarget:a,id:s.pointerId,type:"pointer"}):r.push({id:1,event:t,target:t.target,currentTarget:a,location:t,type:"mouse"});return r}var Sh=function(t){function e(e,o){t.call(this);this.support=yl(),this.invalidZeroEvents=this.support.mobileOS&&this.support.mobileOS.android,this.axis=e,this._updateLocationData(o),this.startLocation=this.location,this.velocity=this.delta=0,this.timeStamp=kl()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(t){var e=t["page"+this.axis],o=kl(),i=o-this.timeStamp||1;!e&&this.invalidZeroEvents||(this.delta=e-this.location,this._updateLocationData(t),this.initialDelta=e-this.startLocation,this.velocity=this.delta/i,this.timeStamp=o)},e.prototype._updateLocationData=function(t){var e=this.axis;this.location=t["page"+e],this.client=t["client"+e],this.screen=t["screen"+e]},e}(S.Class),kh=function(t){function e(e,o,i){t.call(this),_h(this,{x:new Sh("X",i.location),y:new Sh("Y",i.location),type:i.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||wh[i.type],userEvents:e,target:o,currentTarget:i.currentTarget,initialTouch:i.target,id:i.id,pressEvent:i,_clicks:e._clicks,supportDoubleTap:e.supportDoubleTap,_moved:!1,_finished:!1})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.press=function(){this._holdTimeout=setTimeout(vl(this._hold,this),this.userEvents.minHold),this._trigger("press",this.pressEvent)},e.prototype._tap=function(t){var e=this;e.userEvents._clicks++,1===e.userEvents._clicks&&(e._clickTimeout=setTimeout((function(){1===e.userEvents._clicks?e._trigger("tap",t):e._trigger("doubleTap",t),e.userEvents._clicks=0}),300))},e.prototype._hold=function(){this._trigger("hold",this.pressEvent)},e.prototype.move=function(t){var e="api"!==t.type&&this.userEvents._shouldNotMove;if(!this._finished&&!e){if(this.x.move(t.location),this.y.move(t.location),!this._moved){if(this._withinIgnoreThreshold())return;if(Ih.current&&Ih.current!==this.userEvents)return this.dispose();this._start(t)}this._finished||this._trigger("move",t)}},e.prototype.end=function(t){this.endTime=kl(),this._finished||(this._finished=!0,this._trigger("release",t),this._moved?this._trigger("end",t):this.useClickAsTap||(this.supportDoubleTap?this._tap(t):this._trigger("tap",t)),clearTimeout(this._holdTimeout),this.dispose())},e.prototype.dispose=function(){var t=this.userEvents.touches||[];this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout);var e=t.indexOf(this);t.splice(e,1)},e.prototype.skip=function(){this.dispose()},e.prototype.cancel=function(){this.dispose()},e.prototype.isMoved=function(){return this._moved},e.prototype._start=function(t){clearTimeout(this._holdTimeout),this.startTime=kl(),this._moved=!0,this._trigger("start",t)},e.prototype._trigger=function(t,e){var o=e.event,i={touch:this,x:this.x,y:this.y,target:this.target,event:o};this.userEvents.notify(t,i)&&o.preventDefault()},e.prototype._withinIgnoreThreshold=function(){var t=this.x.initialDelta,e=this.y.initialDelta;return Math.sqrt(t*t+e*e)<=this.threshold},e}(S.Class);function Ah(t){for(var e=fl(navigator.userAgent).up.split(" "),o=0,i=e.length;o<i;o++)t(e[o])}var Ih=function(t){function e(e,o){t.call(this);var i,n=yl();this.support=n,o=o||{},this.options=o,i=this.filter=o.filter,this.threshold=o.threshold||xh,this.minHold=o.minHold||bh,this.touches=[],this._maxTouches=o.multiTouch?2:1,this.allowSelection=o.allowSelection,this.captureUpIfMoved=o.captureUpIfMoved,this.useClickAsTap=!o.fastTap&&!n.delayedClick(),this._clicks=0,this.supportDoubleTap=o.supportDoubleTap;var r=!n.touch||n.mouseAndTouchPresent;if(_h(this,{element:e,surface:o.global&&r?e.ownerDocument.documentElement:o.surface||e,stopPropagation:o.stopPropagation,pressed:!1}),this._surfaceMoveHandler=vl(this._move,this),gl(this.surface,Cl("move"),this._surfaceMoveHandler),this._surfaceEndHandler=vl(this._end,this),gl(this.surface,Cl("up cancel"),this._surfaceEndHandler),this._elementStartHandler=vl(this._start,this),gl(e,Cl("down"),i,this._elementStartHandler),this.useClickAsTap&&(this._elementClickHandler=vl(this._click,this),gl(e,Cl("click"),i,this._elementClickHandler)),n.pointers||n.msPointers)if(n.browser.version<11){e.style["-ms-touch-action"]=o.touchAction&&"none"!==o.touchAction?"pinch-zoom double-tap-zoom "+o.touchAction:"pinch-zoom double-tap-zoom"}else e.style["touch-action"]=o.touchAction||"none";if(o.preventDragEvent&&(this._elementDragStartHandler=mh,gl(e,Cl("dragstart"),this._elementDragStartHandler)),this._elementSelectHandler=vl(this._select,this),gl(e,Cl("mousedown"),i,this._elementSelectHandler),this.captureUpIfMoved&&n.eventCapture){var s=this.surface,a=vl(this.preventIfMoving,this);Ah((function(t){s.addEventListener(t,a,!0)}))}this.bind(["press","hold","tap","doubleTap","start","move","end","release","cancel","gesturestart","gesturechange","gestureend","gesturetap","select"],o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.preventIfMoving=function(t){this._isMoved()&&t.preventDefault()},e.prototype.destroy=function(){var t=this,e=this.options,o=this.element;if(!t._destroyed){if(t._destroyed=!0,t.captureUpIfMoved&&this.support.eventCapture){var i=t.surface;Ah((function(e){i.removeEventListener(e,t.preventIfMoving)}))}bl(t.surface,Cl("move"),this._surfaceMoveHandler),bl(t.surface,Cl("up cancel"),this._surfaceEndHandler),bl(o,Cl("down"),this._elementStartHandler),t.useClickAsTap&&bl(o,Cl("click"),this._elementClickHandler),e.preventDragEvent&&bl(o,Cl("dragstart"),this._elementDragStartHandler),bl(o,Cl("mousedown"),this._elementSelectHandler),t._disposeAll(),t.unbind(),delete t.surface,delete t.element,delete t.currentTarget}},e.prototype.capture=function(){e.current=this},e.prototype.cancel=function(){this._disposeAll(),this.trigger("cancel")},e.prototype.notify=function(t,e){var o,i,n,r,s,a,p,c,u=this.touches,l=t;if(this._isMultiTouch()){switch(l){case"move":l="gesturechange";break;case"end":l="gestureend";break;case"tap":l="gesturetap"}_h(e,{touches:u},(o=u[0],i=u[1],n=o.x.location,r=o.y.location,s=i.x.location,a=i.y.location,p=n-s,c=r-a,{center:{x:(n+s)/2,y:(r+a)/2},distance:Math.sqrt(p*p+c*c)}))}return this.trigger(l,_h(e,{type:l}))},e.prototype.press=function(t,e,o){this._apiCall("_start",t,e,o)},e.prototype.move=function(t,e){this._apiCall("_move",t,e)},e.prototype.end=function(t,e){this._apiCall("_end",t,e)},e.prototype._isMultiTouch=function(){return this.touches.length>1},e.prototype._maxTouchesReached=function(){return this.touches.length>=this._maxTouches},e.prototype._disposeAll=function(){for(var t=this.touches;t.length>0;)t.pop().dispose()},e.prototype._isMoved=function(){return Y(this.touches,(function(t){return t.isMoved()})).length},e.prototype._select=function(t){this.allowSelection&&!this.trigger("select",{event:t})||t.preventDefault()},e.prototype._start=function(t){var o,i,n=0,r=this.filter,s=Ch(t),a=s.length,p=t.which;if(!(p&&p>1||this._maxTouchesReached()))for(e.current=null,this.currentTarget=t.currentTarget,this.stopPropagation&&t.stopPropagation();n<a&&!this._maxTouchesReached();n++)i=s[n],(o=r?i.currentTarget:this.element)&&0===o.length||(i=new kh(this,o,i),this.touches.push(i),i.press(),this._isMultiTouch()&&this.notify("gesturestart",{}))},e.prototype._move=function(t){this._eachTouch("move",t)},e.prototype._end=function(t){this._eachTouch("end",t)},e.prototype._click=function(t){var e={touch:{initialTouch:t.target,target:t.currentTarget,endTime:kl(),x:{location:t.pageX,client:t.clientX},y:{location:t.pageY,client:t.clientY}},x:t.pageX,y:t.pageY,target:t.currentTarget,event:t,type:"tap"};this.trigger("tap",e)&&t.preventDefault()},e.prototype._eachTouch=function(t,e){var o,i,n,r,s={},a=Ch(e),p=this.touches;for(o=0;o<p.length;o++)s[(i=p[o]).id]=i;for(o=0;o<a.length;o++)(r=s[(n=a[o]).id])&&r[t](n)},e.prototype._apiCall=function(t,e,o,i){this[t]({api:!0,pageX:e,pageY:o,clientX:e,clientY:o,target:i||this.element,stopPropagation:Al,preventDefault:Al})},e.defaultThreshold=function(t){xh=t},e.minHold=function(t){bh=t},e}(Ol),Ph=Object.assign,Oh=Math.abs,Th=function(t){function e(e){t.call(this,e);Ph(this,e),this.userEvents.bind("gestureend",this.start.bind(this)),this.tapCapture.bind("press",this.cancel.bind(this))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.enabled=function(){return this.movable.scale<this.dimensions.minScale},e.prototype.done=function(){return this.dimensions.minScale-this.movable.scale<.01},e.prototype.tick=function(){var t=this.movable;t.scaleWith(1.1),this.dimensions.rescale(t.scale)},e.prototype.onEnd=function(){var t=this.movable;t.scaleTo(this.dimensions.minScale),this.dimensions.rescale(t.scale)},e}(vh),Mh=function(t){function e(e){t.call(this);var o=this;Ph(o,e,{transition:new gh({axis:e.axis,movable:e.movable,onEnd:function(){o._end()}})}),o.tapCapture.bind("press",(function(){o.cancel()})),o.userEvents.bind("end",vl(o.start,o)),o.userEvents.bind("gestureend",vl(o.start,o)),o.userEvents.bind("tap",vl(o.onEnd,o))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onCancel=function(){this.transition.cancel()},e.prototype.freeze=function(t){this.cancel(),this._moveTo(t)},e.prototype.onEnd=function(){this.paneAxis.outOfBounds()?this._snapBack():this._end()},e.prototype.done=function(){return Oh(this.velocity)<1},e.prototype.start=function(e){var o;this.dimension.enabled&&(this.paneAxis.outOfBounds()?this.transition._started?(this.transition.cancel(),this.velocity=Math.min(e.touch[this.axis].velocity*this.velocityMultiplier,55),t.prototype.start.call(this)):this._snapBack():(o=2===e.touch.id?0:e.touch[this.axis].velocity,this.velocity=Math.max(Math.min(o*this.velocityMultiplier,55),-55),this.tapCapture.captureNext(),t.prototype.start.call(this)))},e.prototype.tick=function(){var t=this.dimension,e=this.paneAxis.outOfBounds()?.5:this.friction,o=this.velocity*=e,i=this.movable[this.axis]+o;!this.elastic&&t.outOfBounds(i)&&(i=Math.max(Math.min(i,t.max),t.min),this.velocity=0),this.movable.moveAxis(this.axis,i)},e.prototype._end=function(){this.tapCapture.cancelCapture(),this.end()},e.prototype._snapBack=function(){var t=this.dimension,e=this.movable[this.axis]>t.max?t.max:t.min;this._moveTo(e)},e.prototype._moveTo=function(t){this.transition.moveTo({location:t,duration:500,ease:gh.easeOutExpo})},e}(vh),jh=function(t){function e(e){t.call(this,e);Ph(this,e,{origin:{},destination:{},offset:{}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.tick=function(){this._updateCoordinates(),this.moveTo(this.origin)},e.prototype.done=function(){return Oh(this.offset.y)<5&&Oh(this.offset.x)<5},e.prototype.onEnd=function(){this.moveTo(this.destination),this.callback&&this.callback.call()},e.prototype.setCoordinates=function(t,e){this.offset={},this.origin=t,this.destination=e},e.prototype.setCallback=function(t){t&&T(t)?this.callback=t:t=void 0},e.prototype._updateCoordinates=function(){this.offset={x:(this.destination.x-this.origin.x)/4,y:(this.destination.y-this.origin.y)/4},this.origin={y:this.origin.y+this.offset.y,x:this.origin.x+this.offset.x}},e}(vh),Eh=function(t){function e(e){t.call(this);var o="x"===e.axis,i=al('<div class="km-touch-scrollbar km-'+(o?"horizontal":"vertical")+'-scrollbar" />');Ph(this,e,{element:i,elementSize:0,movable:new nh(i),scrollMovable:e.movable,alwaysVisible:e.alwaysVisible,size:o?"width":"height"}),this.scrollMovable.bind("change",this.refresh.bind(this)),this.container.appendChild(i),e.alwaysVisible&&this.show()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.refresh=function(){var t=this.axis,e=this.dimension,o=e.size,i=this.scrollMovable,n=o/e.total,r=Math.round(-i[t]*n),s=Math.round(o*n);this.element.style.display=n>=1?"none":"",r+s>o?s=o-r:r<0&&(s+=r,r=0),this.elementSize!==s&&(this.element.style[this.size]=s+"px",this.elementSize=s),this.movable.moveAxis(t,r)},e.prototype.show=function(){this.element.style.opacity=.7,this.element.style.visibility="visible"},e.prototype.hide=function(){this.alwaysVisible||(this.element.style.opacity=0)},e}(S.Class),Dh=function(t){function e(e,o){t.call(this);var i=this;this.element=e,this._initOptions(o);var n,r,s=(n=navigator.userAgent,(r=hl(n)).ios||r.android);i._native=i.options.useNative&&s;var a=al('<div class="km-scroll-header"/>');if(i._native)return x(e,"km-native-scroller"),cl(a,e),void Ph(i,{scrollElement:e,fixedContainer:e.children[0]});e.style.overflow="hidden",x(e,"km-scroll-wrapper"),function(t,e){for(t.appendChild(e);t.firstChild!==e;)e.appendChild(t.firstChild)}(e,al('<div class="km-scroll-container"/>')),cl(a,e);var p=e.children[1],c=new $l(e),u=new nh(p),l=new th({element:p,container:e,forcedEnabled:i.options.zoom}),h=this.options.avoidScrolling,d=new Ih(e,{touchAction:"pan-y",fastTap:!0,allowSelection:!0,preventDragEvent:!0,captureUpIfMoved:!0,multiTouch:i.options.zoom,supportDoubleTap:i.options.supportDoubleTap,start:function(t){l.refresh();var e=Oh(t.x.velocity),o=Oh(t.y.velocity),n=2*e>=o,r=2*o>=e;!function(t,e){return t===e||function(t,e){if(!e)return!1;for(var o=e.parentNode;null!==o;){if(o===t)return!0;o=o.parentNode}return!1}(t,e)}(i.fixedContainer,t.event.target)&&!h(t)&&i.enabled&&(l.x.enabled&&n||l.y.enabled&&r)?d.capture():d.cancel()}}),f=new oh({movable:u,dimensions:l,userEvents:d,elastic:i.options.elastic}),y=new Th({movable:u,dimensions:l,userEvents:d,tapCapture:c}),v=new jh({moveTo:function(t){i.scrollTo(t.x,t.y)}});u.bind("change",(function(){i.scrollTop=-u.y,i.scrollLeft=-u.x,i.trigger("scroll",{scrollTop:i.scrollTop,scrollLeft:i.scrollLeft})})),i.options.mousewheelScrolling&&(this._wheelScrollHandler=this._wheelScroll.bind(this),gl(e,"DOMMouseScroll mousewheel",this._wheelScrollHandler)),Ph(i,{movable:u,dimensions:l,zoomSnapBack:y,animatedScroller:v,userEvents:d,pane:f,tapCapture:c,pulled:!1,enabled:!0,scrollElement:p,scrollTop:0,scrollLeft:0,fixedContainer:e.children[0]}),i._initAxis("x"),i._initAxis("y"),i._wheelEnd=function(){i._wheel=!1,i.userEvents.end(0,i._wheelY)},l.refresh(),i.options.pullToRefresh&&i._initPullToRefresh()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype._wheelScroll=function(t){if(!t.ctrlKey){this._wheel||(this._wheel=!0,this._wheelY=0,this.userEvents.press(0,this._wheelY)),clearTimeout(this._wheelTimeout),this._wheelTimeout=setTimeout(this._wheelEnd,50);var e=function(t){var e,o=t.originalEvent||t,i=o.wheelDeltaY;return o.wheelDelta?(void 0===i||i)&&(e=o.wheelDelta):o.detail&&o.axis===o.VERTICAL_AXIS&&(e=10*-o.detail),e}(t);e&&(this._wheelY+=e,this.userEvents.move(0,this._wheelY)),t.preventDefault()}},e.prototype.makeVirtual=function(){this.dimensions.y.makeVirtual()},e.prototype.virtualSize=function(t,e){this.dimensions.y.virtualSize(t,e)},e.prototype.height=function(){return this.dimensions.y.size},e.prototype.scrollHeight=function(){return this.scrollElement.scrollHeight},e.prototype.scrollWidth=function(){return this.scrollElement.scrollWidth},e.prototype._resize=function(){this._native||this.contentResized()},e.prototype.setOptions=function(t){this._initOptions(t),t.pullToRefresh&&this._initPullToRefresh()},e.prototype.reset=function(){this._native?this.scrollElement.scrollTop(0):(this.movable.moveTo({x:0,y:0}),this._scale(1))},e.prototype.contentResized=function(){this.dimensions.refresh(),this.pane.x.outOfBounds()&&this.movable.moveAxis("x",this.dimensions.x.min),this.pane.y.outOfBounds()&&this.movable.moveAxis("y",this.dimensions.y.min)},e.prototype.zoomOut=function(){var t=this.dimensions;t.refresh(),this._scale(t.fitScale),this.movable.moveTo(t.centerCoordinates())},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.scrollTo=function(t,e){this._native?(this.scrollElement.scrollLeft(Oh(t)),this.scrollElement.scrollTop(Oh(e))):(this.dimensions.refresh(),this.movable.moveTo({x:t,y:e}))},e.prototype.animatedScrollTo=function(t,e,o){var i,n;this._native?this.scrollTo(t,e):(i={x:this.movable.x,y:this.movable.y},n={x:t,y:e},this.animatedScroller.setCoordinates(i,n),this.animatedScroller.setCallback(o),this.animatedScroller.start())},e.prototype.pullHandled=function(){},e.prototype.destroy=function(){var t=this.element;bl(t,"DOMMouseScroll mousewheel",this._wheelScrollHandler),this.userEvents&&this.userEvents.destroy()},e.prototype._scale=function(t){this.dimensions.rescale(t),this.movable.scaleTo(t)},e.prototype._initPullToRefresh=function(){},e.prototype._dragEnd=function(){},e.prototype._paneChange=function(){},e.prototype._initAxis=function(t){var e=this,o=e.movable,i=e.dimensions[t],n=e.tapCapture,r=e.pane[t],s=new Eh({axis:t,movable:o,dimension:i,container:e.element,alwaysVisible:e.options.visibleScrollHints});i.bind("change",(function(){s.refresh()})),r.bind("change",(function(){s.show()})),e[t+"inertia"]=new Mh({axis:t,paneAxis:r,movable:o,tapCapture:n,userEvents:e.userEvents,dimension:i,elastic:e.options.elastic,friction:e.options.friction||.96,velocityMultiplier:e.options.velocityMultiplier||10,end:function(){s.hide(),e.trigger("scrollEnd",{axis:t,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft})}})},e}(Ol);wt(Dh,{name:"Scroller",zoom:!1,pullOffset:140,visibleScrollHints:!1,elastic:!0,useNative:!1,mousewheelScrolling:!0,avoidScrolling:function(){return!1},pullToRefresh:!1,messages:{pullTemplate:"Pull to refresh",releaseTemplate:"Release to refresh",refreshTemplate:"Refreshing"}}),Sl(Dh,["pull","scroll","resize"]);var Bh=function(t,e){void 0===e&&(e={}),this.sender=e.sender||t,this.widget=t,this.rtl=Boolean(e.rtl)};Bh.prototype.notify=function(t,e){this.widget&&this.widget.trigger(t,e)};var Rh=Bh,Lh=Math,Vh=Lh.min,Nh=Lh.pow,zh=S.geometry.Point,Fh={bubble:ph,shape:sh,tile:Xl};function Hh(t){var e=[];if(t)for(var o=ul(t).split("-"),i=0;i<o.length;i++)e.push("k-pos-"+o[i]);return e.join(" ")}Fh.marker=hh;var Gh=function(t){function e(e,o,i,n){void 0===o&&(o={}),void 0===i&&(i={}),void 0===n&&(n={}),t.call(this),this._init(e,o,i,n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.scroller.destroy(),this.navigator&&this.navigator.destroy(),this.attribution&&this.attribution.destroy(),this.zoomControl&&this.zoomControl.destroy(),b(this.markers)?this.markers.forEach((function(t){t.destroy()})):this.markers.destroy();for(var e=0;e<this.layers.length;e++)this.layers[e].destroy();bl(this.element,"DOMMouseScroll mousewheel",this._mousewheelHandler),t.prototype.destroy.call(this)},e.prototype._init=function(t,e,o,i){void 0===e&&(e={}),void 0===o&&(o={}),void 0===i&&(i={}),this.support=yl(),this.context=i,this.initObserver(i),this.initServices(i),this._initOptions(e),this._setEvents(e),this.crs=new rl,this._initElement(t),this._viewOrigin=this._getOrigin(),this._initScroller(),this._initMarkers(),this._initControls(),this._initLayers(),this._reset(),this._mousewheelHandler=this._mousewheel.bind(this),gl(this.element,"DOMMouseScroll mousewheel",this._mousewheelHandler)},e.prototype._initOptions=function(t){this.options=j({},this.options,t)},e.prototype._initElement=function(t){this.element=t,x(t,"k-map"),t.style.position="relative",t.setAttribute("data-role","map"),pl(t);var e=al("<div />");this.element.appendChild(e)},e.prototype.initServices=function(t){void 0===t&&(t={}),this.widgetService=new Rh(this,t)},e.prototype.initObserver=function(t){void 0===t&&(t={}),this.observers=[],this.addObserver(t.observer)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,o=0;o<e.length;o++)if(e[o].requiresHandlers(t))return!0},e.prototype.trigger=function(e,o){void 0===o&&(o={}),o.sender=this;for(var i=this.observers,n=!1,r=0;r<i.length;r++)i[r].trigger(e,o)&&(n=!0);return n||t.prototype.trigger.call(this,e,o),n},e.prototype._notifyObserver=function(t,e){void 0===e&&(e={}),e.sender=this;for(var o=this.observers,i=!1,n=0;n<o.length;n++)o[n].trigger(t,e)&&(i=!0);return i},e.prototype.zoom=function(t){var e,o=this.options;if(st(t)){var i=Lh.round(ft(t,o.minZoom,o.maxZoom));o.zoom!==i&&(o.zoom=i,this._reset()),e=this}else e=o.zoom;return e},e.prototype.center=function(t){var e;return t?(this.options.center=Hu.create(t).toArray(),this._reset(),e=this):e=Hu.create(this.options.center),e},e.prototype.extent=function(t){var e;return t?(this._setExtent(t),e=this):e=this._getExtent(),e},e.prototype.setOptions=function(t){void 0===t&&(t={});var e=this.element;this.destroy(),pl(e),this._init(e,t,{},this.context),this._reset()},e.prototype.locationToLayer=function(t,e){var o=!this.options.wraparound,i=Hu.create(t);return this.crs.toPoint(i,this._layerSize(e),o)},e.prototype.layerToLocation=function(t,e){var o=!this.options.wraparound,i=zh.create(t);return this.crs.toLocation(i,this._layerSize(e),o)},e.prototype.locationToView=function(t){var e=Hu.create(t),o=this.locationToLayer(this._viewOrigin);return this.locationToLayer(e).translateWith(o.scale(-1))},e.prototype.viewToLocation=function(t,e){var o=this.locationToLayer(this._getOrigin(),e),i=zh.create(t).clone().translateWith(o);return this.layerToLocation(i,e)},e.prototype.eventOffset=function(t){var e,o,i=pt(this.element);if(t.x&&t.x.location||t.y&&t.y.location)e=t.x.location-i.left,o=t.y.location-i.top;else{var n=t.originalEvent||t;e=mt(n.pageX,n.clientX)-i.left,o=mt(n.pageY,n.clientY)-i.top}return new S.geometry.Point(e,o)},e.prototype.eventToView=function(t){var e=this.eventOffset(t);return this.locationToView(this.viewToLocation(e))},e.prototype.eventToLayer=function(t){return this.locationToLayer(this.eventToLocation(t))},e.prototype.eventToLocation=function(t){var e=this.eventOffset(t);return this.viewToLocation(e)},e.prototype.viewSize=function(){var t=this.element,e=this._layerSize(),o=t.clientWidth;return this.options.wraparound||(o=Vh(e,o)),{width:o,height:Vh(e,t.clientHeight)}},e.prototype.exportVisual=function(){return this._reset(),!1},e.prototype._setOrigin=function(t,e){var o,i=this.viewSize(),n=this._origin=Hu.create(t);return(o=this.locationToLayer(n,e)).x+=i.width/2,o.y+=i.height/2,this.options.center=this.layerToLocation(o,e).toArray(),this},e.prototype._getOrigin=function(t){var e,o=this.viewSize();return!t&&this._origin||((e=this.locationToLayer(this.center())).x-=o.width/2,e.y-=o.height/2,this._origin=this.layerToLocation(e)),this._origin},e.prototype._setExtent=function(t){var e=zl.create(t),o=e.se.clone();this.options.wraparound&&o.lng<0&&t.nw.lng>0&&(o.lng=180+(180+o.lng));var i=new zl(e.nw,o);this.center(i.center());var n,r=this.element.clientWidth,s=this.element.clientHeight;for(n=this.options.maxZoom;n>=this.options.minZoom;n--){var a=this.locationToLayer(i.nw,n),p=this.locationToLayer(i.se,n),c=Lh.abs(p.x-a.x),u=Lh.abs(p.y-a.y);if(c<=r&&u<=s)break}this.zoom(n)},e.prototype._getExtent=function(){var t=this._getOrigin(),e=this.locationToLayer(t),o=this.viewSize();e.x+=o.width,e.y+=o.height;var i=this.layerToLocation(e);return new zl(t,i)},e.prototype._zoomAround=function(t,e){this._setOrigin(this.layerToLocation(t,e),e),this.zoom(e)},e.prototype._initControls=function(){var t=this.options.controls;t.attribution&&this._createAttribution(t.attribution),this.support.mobileOS||(t.navigator&&this._createNavigator(t.navigator),t.zoom&&this._createZoomControl(t.zoom))},e.prototype._createControlElement=function(t,e){var o=t.position||e,i="."+Hh(o).replace(" ","."),n=this.element.querySelector(".k-map-controls"+i)||[];if(0===n.length){var r=document.createElement("div");x(r,"k-map-controls "+Hh(o)),n=r,this.element.appendChild(n)}var s=document.createElement("div");return n.appendChild(s),s},e.prototype._createAttribution=function(t){var e=this._createControlElement(t,"bottomRight");this.attribution=new Ml(e,t)},e.prototype._createNavigator=function(t){var e=this._createControlElement(t,"topLeft"),o=this.navigator=new Dl(e,t);this._navigatorPan=this._navigatorPan.bind(this),o.bind("pan",this._navigatorPan),this._navigatorCenter=this._navigatorCenter.bind(this),o.bind("center",this._navigatorCenter)},e.prototype._navigatorPan=function(t){var e=this.scroller,o=e.scrollLeft+t.x,i=e.scrollTop-t.y,n=this._virtualSize,r=this.element.clientWidth,s=this.element.clientHeight;o=ft(o,n.x.min,n.x.max-r),i=ft(i,n.y.min,n.y.max-s),this.scroller.one("scroll",vl(this._scrollEnd,this)),this.scroller.scrollTo(-o,-i)},e.prototype._navigatorCenter=function(){this.center(this.options.center)},e.prototype._createZoomControl=function(t){var e=this._createControlElement(t,"topLeft"),o=this.zoomControl=new Rl(e,t);this._zoomControlChange=this._zoomControlChange.bind(this),o.bind("change",this._zoomControlChange)},e.prototype._zoomControlChange=function(t){this.trigger("zoomStart",{originalEvent:t})||(this.zoom(this.zoom()+t.delta),this.trigger("zoomEnd",{originalEvent:t}))},e.prototype._initScroller=function(){var t=this.support.mobileOS?.93:.9,e=!1!==this.options.zoomable,o=this.scroller=new Dh(this.element.children[0],{friction:t,velocityMultiplier:5,zoom:e,mousewheelScrolling:!1,supportDoubleTap:!0});o.bind("scroll",vl(this._scroll,this)),o.bind("scrollEnd",vl(this._scrollEnd,this)),o.userEvents.bind("gesturestart",vl(this._scaleStart,this)),o.userEvents.bind("gestureend",vl(this._scale,this)),o.userEvents.bind("doubleTap",vl(this._doubleTap,this)),o.userEvents.bind("tap",vl(this._tap,this)),this.scrollElement=o.scrollElement},e.prototype._initLayers=function(){for(var t=this.options.layers,e=this.layers=[],o=0;o<t.length;o++){var i=t[o],n=this._createLayer(i);e.push(n)}},e.prototype._createLayer=function(t){var e=t.type||"shape",o=this.options.layerDefaults[e],i=j({},"marker"===e?this.options.markerDefaults:o,t),n=new(0,Fh[e])(this,i);return"marker"===e&&(this.markers=n),n},e.prototype._initMarkers=function(){(this.options.layers||[]).filter((function(t){return t&&"marker"===t.type})).length>0||(this.markers=new hh(this,this.options.markerDefaults),this.markers.add(this.options.markers))},e.prototype._scroll=function(t){var e=this.locationToLayer(this._viewOrigin).round(),o=t.sender.movable,i=new S.geometry.Point(o.x,o.y).scale(-1).scale(1/o.scale);e.x+=i.x,e.y+=i.y,this._scrollOffset=i,this._setOrigin(this.layerToLocation(e)),this.trigger("pan",{originalEvent:t,origin:this._getOrigin(),center:this.center()})},e.prototype._scrollEnd=function(t){this._scrollOffset&&this._panComplete()&&(this._scrollOffset=null,this._panEndTimestamp=kl(),this.trigger("panEnd",{originalEvent:t,origin:this._getOrigin(),center:this.center()}))},e.prototype._panComplete=function(){return kl()-(this._panEndTimestamp||0)>50},e.prototype._scaleStart=function(t){if(this.trigger("zoomStart",{originalEvent:t})){var e=t.touches[1];e&&e.cancel()}},e.prototype._scale=function(t){var e=this.scroller.movable.scale,o=this._scaleToZoom(e),i=new S.geometry.Point(t.center.x,t.center.y),n=this.viewToLocation(i,o),r=this.locationToLayer(n,o).translate(-i.x,-i.y);this._zoomAround(r,o),this.trigger("zoomEnd",{originalEvent:t})},e.prototype._scaleToZoom=function(t){var e=this._layerSize()*t/this.options.minSize,o=Lh.log(e)/Lh.log(2);return Lh.round(o)},e.prototype._reset=function(){this.attribution&&this.attribution.filter(this.center(),this.zoom()),this._viewOrigin=this._getOrigin(!0),this._resetScroller(),this.trigger("beforeReset"),this.trigger("reset")},e.prototype._resetScroller=function(){var t=this.scroller,e=t.dimensions.x,o=t.dimensions.y,i=this._layerSize(),n=this.extent().nw,r=this.locationToLayer(n).round();t.movable.round=!0,t.reset(),t.userEvents.cancel();var s=this.zoom();t.dimensions.forcedMinScale=Nh(2,this.options.minZoom-s),t.dimensions.maxScale=Nh(2,this.options.maxZoom-s);var a={min:-r.x,max:i-r.x},p={min:-r.y,max:i-r.y};if(this.options.wraparound&&(a.max=20*i,a.min=-a.max),!1===this.options.pannable){var c=this.viewSize();a.min=p.min=0,a.max=c.width,p.max=c.height}e.makeVirtual(),o.makeVirtual(),e.virtualSize(a.min,a.max),o.virtualSize(p.min,p.max),this._virtualSize={x:a,y:p}},e.prototype._renderLayers=function(){},e.prototype._layerSize=function(t){var e=mt(t,this.options.zoom);return this.options.minSize*Nh(2,e)},e.prototype._tap=function(t){if(this._panComplete()){var e=this.eventOffset(t);this.trigger("click",{originalEvent:t,location:this.viewToLocation(e)})}},e.prototype._doubleTap=function(t){if(!1!==this.options.zoomable&&!this.trigger("zoomStart",{originalEvent:t})){var e=this.zoom()+1,o=this.eventOffset(t),i=this.viewToLocation(o),n=this.locationToLayer(i,e).translate(-o.x,-o.y);this._zoomAround(n,e),this.trigger("zoomEnd",{originalEvent:t})}},e.prototype._mousewheel=function(t){t.preventDefault();var e=ot(t)>0?-1:1,o=this.options,i=this.zoom(),n=ft(i+e,o.minZoom,o.maxZoom);if(!1!==o.zoomable&&n!==i&&!this.trigger("zoomStart",{originalEvent:t})){var r=this.eventOffset(t),s=this.viewToLocation(r),a=this.locationToLayer(s,n).translate(-r.x,-r.y);this._zoomAround(a,n),this.trigger("zoomEnd",{originalEvent:t})}},e}(Ol);wt(Gh,{name:"Map",controls:{attribution:!0,navigator:{panStep:100},zoom:!0},layers:[],layerDefaults:{shape:{style:{fill:{color:"#fff"},stroke:{color:"#aaa",width:.5}}},bubble:{style:{fill:{color:"#fff",opacity:.5},stroke:{color:"#aaa",width:.5}}},marker:{shape:"pinTarget",tooltip:{position:"top"}}},center:[0,0],zoom:3,minSize:256,minZoom:1,maxZoom:19,markers:[],markerDefaults:{shape:"pinTarget",tooltip:{position:"top"}},wraparound:!0,renderPointsAsMarkers:!1}),Sl(Gh,["beforeReset","click","markerActivate","markerClick","markerCreated","markerMouseEnter","markerMouseLeave","pan","panEnd","reset","shapeClick","shapeCreated","shapeFeatureCreated","shapeMouseEnter","shapeMouseLeave","zoomEnd","zoomStart"]);var Uh=Gh,Wh="Arial, Helvetica, sans-serif",Yh="12px "+Wh,Xh="16px "+Wh,qh=function(){return{icon:{border:{width:1}},label:{font:Yh,padding:3},line:{length:10,width:2},visible:!0}},Zh=function(t){return{visible:!0,labels:{font:"11px Arial, Helvetica, sans-serif"},overlay:t.gradients?{}:{gradient:"none"},area:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},rangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalRangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},bar:{gap:1.5,spacing:.4},boxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},bubble:{border:{width:0},labels:{background:"transparent"},opacity:.6},bullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},candlestick:{border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},line:{width:2}},line:{color:"#000",width:1},spacing:.3},column:{gap:1.5,spacing:.4},heatmap:{labels:{color:"",background:"transparent",visible:!0},highlight:{border:{width:0}}},pie:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},donut:{margin:1},funnel:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},horizontalWaterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4},line:{width:2},notes:qh(),ohlc:{gap:1,highlight:{line:{opacity:1,width:3}},line:{width:1},spacing:.3},radarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},radarLine:{markers:{visible:!1},width:2},polarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},polarLine:{markers:{visible:!1},width:2},rangeBar:{gap:1.5,spacing:.4},rangeColumn:{gap:1.5,spacing:.4},scatterLine:{width:1},verticalArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalBoxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},verticalBullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},verticalLine:{width:2},waterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4}}},Qh=function(t){return void 0===t&&(t={}),{axisDefaults:{labels:{font:Yh},notes:qh(),title:{font:Xh,margin:5}},categoryAxis:{majorGridLines:{visible:!0}},navigator:{pane:{height:90,margin:{top:10}}},seriesDefaults:Zh(t),title:{font:Xh},legend:{labels:{font:Yh}}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(5),n=o(28),r=o(29),s=function(){function t(t,e){var o=this;this.configurationService=t,this.collectionService=e,this.options={},this.subscription=t.onFastChange$.subscribe((function(t){o.options=t,o.notify()}))}return t.prototype.ngOnChanges=function(t){var e=this.configurationService.store;n.copyChanges(t,e),this.configurationService.push(e)},t.prototype.notifyChanges=function(t){this.ngOnChanges(r.toSimpleChanges(t))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.notify=function(){this.collectionService&&this.collectionService.notify(new i.ItemChange(this,this.options))},t}();e.CollectionItemComponent=s},function(t,e){t.exports=i},function(t,e){t.exports=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(3),n=function(){function t(t,e,o){var i=this;this.configKey=t,this.configurationService=e,this.collectionService=o,this.items=[],this.subscription=o.onItemChange$.subscribe((function(t){return i.processChanges(t)}))}return t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.ngAfterContentInit=function(){var t=this;this.readItems(),this.children.changes.subscribe((function(){return t.readItems()}))},t.prototype.processChanges=function(t){if(this.children){var e=this.children.toArray().indexOf(t.sender);e<0||(this.items[e]=t.options,this.change())}},t.prototype.readItems=function(){this.items=this.children.map((function(t){return t.options})),this.change()},t.prototype.change=function(){this.configurationService.notify(new i.Change(this.configKey,0===this.items.length?void 0:this.items))},t}();e.CollectionComponent=n},function(t,e){t.exports=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(5),s=o(3),a=o(105),p=o(30),c=function(t){return void 0!==t&&!t},u=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e.prototype.toggleVisibility=function(){this.options.visible=c(this.options.visible),this.notify()},e.prototype.togglePointVisibility=function(t){var e=this.options.pointVisibility=this.options.pointVisibility||{};e[t]=c(e[t]),this.notify()},Object.defineProperty(e.prototype,"seriesTooltipTemplateRef",{get:function(){if(this.seriesTooltip)return this.seriesTooltip.seriesTooltipTemplateRef},enumerable:!0,configurable:!0}),i.__decorate([n.ContentChild(p.SeriesTooltipComponent,{static:!1}),i.__metadata("design:type",p.SeriesTooltipComponent)],e.prototype,"seriesTooltip",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-series-item",template:""}),i.__metadata("design:paramtypes",[s.ConfigurationService,r.CollectionService])],e)}(a.SeriesItemComponentGenerated);e.SeriesItemComponent=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(10),a=o(107),p=o(8),c=function(t){return t.fontWeight+" "+t.fontSize+" "+t.fontFamily},u=function(t){return window.getComputedStyle(t).backgroundColor},l=function(t){function e(e){var o=t.call(this,e)||this;return o.loaded=!1,o}return i.__extends(e,t),e.prototype.loadTheme=function(){!this.loaded&&p.isDocumentAvailable()&&(this.readTheme()||this.readDefaultTheme(),this.loaded=!0,this.next())},e.prototype.readTheme=function(){this.createElement();var t=this.queryColor("accent")!==this.queryColor("accent-contrast");try{t&&(this.push(s.chartBaseTheme()),this.setColors(),this.setFonts(),this.setSeriesColors())}finally{this.destroyElement()}return t},e.prototype.readDefaultTheme=function(){this.push(a.chartDefaultTheme())},e.prototype.createElement=function(){var t=this.element=document.createElement("div");t.style.display="none",t.innerHTML='\n <div class="k-var--accent"></div>\n <div class="k-var--accent-contrast"></div>\n <div class="k-var--base"></div>\n <div class="k-var--background"></div>\n\n <div class="k-var--normal-background"></div>\n <div class="k-var--normal-text-color"></div>\n <div class="k-var--hover-background"></div>\n <div class="k-var--hover-text-color"></div>\n <div class="k-var--selected-background"></div>\n <div class="k-var--selected-text-color"></div>\n <div class="k-var--chart-error-bars-background"></div>\n <div class="k-var--chart-notes-background"></div>\n <div class="k-var--chart-notes-border"></div>\n <div class="k-var--chart-notes-lines"></div>\n <div class="k-var--chart-crosshair-background"></div>\n\n <div class="k-var--chart-inactive"></div>\n <div class="k-var--chart-major-lines"></div>\n <div class="k-var--chart-minor-lines"></div>\n <div class="k-var--chart-area-opacity"></div>\n <div class="k-var--chart-area-inactive-opacity"></div>\n <div class="k-var--chart-line-inactive-opacity"></div>\n\n <div class="k-widget k-chart">\n <div class="k-var--chart-font"></div>\n <div class="k-var--chart-title-font"></div>\n <div class="k-var--chart-pane-title-font"></div>\n <div class="k-var--chart-label-font"></div>\n </div>\n\n <div class="k-var--series-unset"></div>\n <div class="k-var--series">\n '+function(){for(var t='\n <div class="k-var--series-a"></div>\n <div class="k-var--series-b"></div>\n <div class="k-var--series-c"></div>\n <div class="k-var--series-d"></div>\n <div class="k-var--series-e"></div>\n <div class="k-var--series-f"></div>\n ',e=0;e<30;e++)t+='\n <div class="k-var--series-'+(e+1)+'"></div>';return t}()+"\n </div>\n",document.body.appendChild(t)},e.prototype.destroyElement=function(){this.element&&(document.body.removeChild(this.element),this.element=void 0)},e.prototype.setStyle=function(t,e){this.set(t,e)},e.prototype.setColors=function(){this.mapColor("axisDefaults.crosshair.color","chart-crosshair-background"),this.mapColor("axisDefaults.labels.color","normal-text-color"),this.mapColor("axisDefaults.line.color","chart-major-lines"),this.mapColor("axisDefaults.majorGridLines.color","chart-major-lines"),this.mapColor("axisDefaults.minorGridLines.color","chart-minor-lines"),this.mapColor("axisDefaults.notes.icon.background","chart-notes-background"),this.mapColor("axisDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("axisDefaults.notes.line.color","chart-notes-lines"),this.mapColor("axisDefaults.title.color","normal-text-color"),this.mapColor("chartArea.background","background"),this.mapColor("legend.inactiveItems.labels.color","chart-inactive"),this.mapColor("legend.inactiveItems.markers.color","chart-inactive"),this.mapColor("legend.labels.color","normal-text-color"),this.mapColor("seriesDefaults.boxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.boxPlot.mean.color","base"),this.mapColor("seriesDefaults.boxPlot.median.color","base"),this.mapColor("seriesDefaults.boxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.bullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.candlestick.downColor","normal-text-color"),this.mapColor("seriesDefaults.candlestick.line.color","normal-text-color"),this.mapColor("seriesDefaults.errorBars.color","chart-error-bars-background"),this.mapColor("seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),this.mapColor("seriesDefaults.icon.border.color","chart-major-lines"),this.mapColor("seriesDefaults.labels.background","background"),this.mapColor("seriesDefaults.labels.color","normal-text-color"),this.mapColor("seriesDefaults.notes.icon.background","chart-notes-background"),this.mapColor("seriesDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("seriesDefaults.notes.line.color","chart-notes-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.mean.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.median.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.verticalBullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.waterfall.line.color","chart-major-lines"),this.mapColor("title.color","normal-text-color");var t=parseFloat(this.queryStyle("chart-area-opacity").opacity);isNaN(t)||(this.setStyle("seriesDefaults.area.opacity",t),this.setStyle("seriesDefaults.radarArea.opacity",t),this.setStyle("seriesDefaults.verticalArea.opacity",t),this.setStyle("seriesDefaults.labels.opacity",t)),this.setInactiveOpacity(["area","verticalArea"],"chart-area-inactive-opacity"),this.setInactiveOpacity(["line","verticalLine"],"chart-line-inactive-opacity")},e.prototype.setInactiveOpacity=function(t,e){var o=this,i=parseFloat(this.queryStyle(e).opacity);!isNaN(i)&&i<1&&t.forEach((function(t){return o.setStyle("seriesDefaults."+t+".highlight.inactiveOpacity",i)}))},e.prototype.setFonts=function(){var t=c(this.queryStyle("chart-font")),e=c(this.queryStyle("chart-title-font")),o=c(this.queryStyle("chart-pane-title-font")),i=c(this.queryStyle("chart-label-font"));this.setStyle("axisDefaults.labels.font",i),this.setStyle("axisDefaults.notes.label.font",t),this.setStyle("axisDefaults.title.font",t),this.setStyle("legend.labels.font",t),this.setStyle("seriesDefaults.labels.font",i),this.setStyle("seriesDefaults.notes.label.font",t),this.setStyle("title.font",e),this.setStyle("paneDefaults.title.font",o)},e.prototype.setSeriesColors=function(){var t=this.element,e=[].slice.call(t.querySelectorAll(".k-var--series div")),o=u(t.querySelector(".k-var--series-unset")),i=e.reduce((function(t,e){var i=function(t){var e=t.match(/series-([a-z])$/);if(null!==e)return e[1].toLowerCase().charCodeAt(0)-"a".charCodeAt(0);var o=t.split("--series-")[1];return parseInt(o,10)-1}(e.className),n=u(e);return n!==o&&(t[i]=n),t}),[]);this.setStyle("seriesColors",i)},e.prototype.mapColor=function(t,e){this.setStyle(t,this.queryColor(e))},e.prototype.queryColor=function(t){return this.queryStyle(t).backgroundColor},e.prototype.queryStyle=function(t){var e=this.element.querySelector(".k-var--"+t);return window.getComputedStyle(e)},e=i.__decorate([n.Injectable(),i.__metadata("design:paramtypes",[n.NgZone])],e)}(r.ConfigurationService);e.ThemeService=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(39),s=o(12),a=o(8),p=o(17),c=o(40),u=function(){function t(){}return t=i.__decorate([n.NgModule({declarations:[c.CHART_DIRECTIVES],exports:[c.CHART_DIRECTIVES],imports:[r.CommonModule,s.PopupModule,a.ResizeSensorModule],providers:[p.ThemeService]})],t)}();e.ChartModule=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(2),s=o(2),a=o(2),p=o(20),c=o(97),u=o(21),l=o(22),h=o(99),d=o(3),f=o(41),y=o(24),v=o(60),g=o(16),_=o(17),m=o(108),b=o(9),x=o(31),w=o(34),C=o(62),S=o(26),k=o(13),A=o(10),I=o(1),P=o(15),O=o(8),T=o(28);o(110);var M=o(29);function j(t){return t.observers.length>0}var E=function(t){function e(e,o,i,n,r,s,p,c,h){var d=t.call(this,e)||this;return d.configurationService=e,d.themeService=o,d.element=i,d.intl=n,d.localizationService=r,d.ngZone=s,d.instanceEventService=p,d.changeDetector=c,d.renderer=h,d.legendItemClick=new a.EventEmitter,d.resizeRateLimit=10,d.theme=null,d.suppressTransitions=!1,d.rtl=!1,d.hostClasses=["k-chart","k-widget"],u.validatePackage(l.packageMetadata),d.themeService.loadTheme(),d.refreshWait(),d}return i.__extends(e,t),e.prototype.ngOnInit=function(){var t=this;this.element&&(this.hostClasses.forEach((function(e){t.renderer.addClass(t.element.nativeElement,e)})),this.renderer.setStyle(this.element.nativeElement,"position","relative"))},e.prototype.ngAfterViewInit=function(){var t=this;this.canRender&&this.ngZone.runOutsideAngular((function(){var e=t.renderer.listen(t.surfaceElement.nativeElement,"mouseleave",t.chartMouseleave.bind(t));t.domSubscriptions=function(){e()}})),this.setDirection(),this.subscriptions=this.intl.changes.subscribe(this.intlChange.bind(this)),this.subscriptions.add(this.localizationService.changes.subscribe(this.rtlChange.bind(this)))},e.prototype.ngAfterViewChecked=function(){var t=this;this.instance&&this.autoResize&&this.ngZone.runOutsideAngular((function(){clearTimeout(t.resizeTimeout),t.resizeTimeout=setTimeout((function(){t.resize()}),0)}))},e.prototype.ngOnChanges=function(t){var e=this.configurationService.store;T.copyChanges(t,e),e.popupSettings=null,this.configurationService.push(e)},e.prototype.notifyChanges=function(t){this.ngOnChanges(M.toSimpleChanges(t))},e.prototype.ngOnDestroy=function(){this.destroyed=!0,this.subscription&&this.subscription.unsubscribe(),this.domSubscriptions&&(this.domSubscriptions(),this.domSubscriptions=null),this.instance&&(this.instance.destroy(),this.instance=null),this.subscriptions&&this.subscriptions.unsubscribe(),clearTimeout(this.resizeTimeout),clearTimeout(this.redrawTimeout)},e.prototype.createInstance=function(t,e){this.instance=new A.Chart(t,this.options,this.theme,{intlService:this.intl,observer:e,rtl:this.rtl,sender:this})},e.prototype.exportImage=function(t){return void 0===t&&(t={}),I.exportImage(this.exportVisual(t),t)},e.prototype.exportSVG=function(t){return void 0===t&&(t={}),I.exportSVG(this.exportVisual(t),t)},e.prototype.exportVisual=function(t){return void 0===t&&(t={}),this.instance.exportVisual(t)},e.prototype.findAxisByName=function(t){if(this.instance)return this.instance.findAxisByName(t)},e.prototype.findPaneByIndex=function(t){if(this.instance)return this.instance.findPaneByIndex(t)},e.prototype.findPaneByName=function(t){if(this.instance)return this.instance.findPaneByName(t)},e.prototype.getPlotArea=function(){if(this.instance)return this.instance.plotArea()},e.prototype.toggleHighlight=function(t,e){this.instance&&this.instance.toggleHighlight(t,e)},e.prototype.hideTooltip=function(){this.instance&&this.instance.hideTooltip()},e.prototype.showTooltip=function(t){this.instance&&this.instance.showTooltip(t)},e.prototype.init=function(){if(this.canRender){var t=this.surfaceElement.nativeElement,e=new m.ChartInstanceObserver(this);this.createInstance(t,e)}},e.prototype.resize=function(){this.instance&&this.instance.resize()},e.prototype.onResize=function(t){this.autoResize&&this.resize()},e.prototype.onLegendItemClick=function(t){var e=this;this.run((function(){var o=new f.LegendItemClickEvent(t,e);if(e.legendItemClick.emit(o),!o.isDefaultPrevented()){var i=e.seriesComponents.toArray()[t.series.index];if(!i)return;void 0===t.pointIndex?i.toggleVisibility():i.togglePointVisibility(t.pointIndex),e.suppressTransitions=!0}}),j(this.legendItemClick),this.seriesComponents.length>0)},e.prototype.onInit=function(t){this.instance=t.sender},e.prototype.onRender=function(t){var e=this,o=this.getDonutCenterStyle();this.run((function(){var i=new S.RenderEvent(t,e);e.surface=t.sender.surface,e.render.emit(i),e.donutCenterStyle=o}),j(this.render),this.donutCenterStyle!==o)},e.prototype.onShowTooltip=function(t){var e=this;this.run((function(){t.crosshair?e.crossahirTooltips.show(t):e.tooltipInstance.show(t)}),!t.crosshair,!0)},e.prototype.onHideTooltip=function(t){t.crosshair?this.crossahirTooltips.active&&(this.crossahirTooltips.hide(),this.detectChanges()):this.tooltipInstance.active&&(this.tooltipInstance.hide(),this.detectChanges())},e.prototype.trigger=function(t,e){if("resize"!==t){var o=this.activeEmitter(t);if(o){var i=this.instanceEventService.create(t,e,this);return this.run((function(){o.emit(i)})),i.isDefaultPrevented&&i.isDefaultPrevented()}}},e.prototype.requiresHandlers=function(t){for(var e=0;e<t.length;e++)if(this.activeEmitter(t[e]))return!0;return!1},e.prototype.refresh=function(){if(clearTimeout(this.redrawTimeout),this.updateDirection(),this.crossahirTooltips.createCrosshairTooltips(this.options),this.setChartAreaSize(),this.instance){var t=this.options.transitions;this.suppressTransitions&&(this.options.transitions=!1),this.updateOptions(),this.suppressTransitions&&(this.options.transitions=t,this.suppressTransitions=!1)}else this.init()},e.prototype.setChartAreaSize=function(){if(this.element){var t=this.element.nativeElement,e=this.options.chartArea||{};e.width&&(t.style.width=e.width+"px"),e.height&&(t.style.height=e.height+"px")}},e.prototype.updateOptions=function(){this.instance.setOptions(this.options)},e.prototype.tooltipMouseleave=function(t){var e=t.relatedTarget,o=this.element.nativeElement;!this.instance||e&&C.hasParent(e,o)||this.instance.hideElements()},e.prototype.chartMouseleave=function(t){var e=t.relatedTarget,o=this.element.nativeElement;!this.instance||e&&(this.tooltipInstance.containsElement(e)||C.hasParent(e,o))||this.instance.handlingTap||this.instance.hideElements()},Object.defineProperty(e.prototype,"canRender",{get:function(){return O.isDocumentAvailable()&&Boolean(this.surfaceElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoResize",{get:function(){return this.resizeRateLimit>0},enumerable:!0,configurable:!0}),e.prototype.activeEmitter=function(t){var e=this[t];if(e&&e.emit&&j(e))return e},e.prototype.getDonutCenterStyle=function(){if(this.instance&&this.options&&this.options.series){var t=this.options.series[0],e=this.instance._plotArea.charts;if(t&&"donut"===t.type&&e&&0!==e[0].points.length){var o=e[0].points[0],i=o.box.center(),n=o.sector.innerRadius,r=i.y-n,s=2*n;return{height:s+"px",left:i.x-n+"px",top:r+"px",width:s+"px"}}}},e.prototype.refreshWait=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=p.combineLatest(t.configurationService.onChange$,t.themeService.onChange$).pipe(c.tap((function(e){t.options=e[0],t.theme=e[1]})),c.auditTime(d.THROTTLE_MS)).subscribe((function(){t.refresh()}))}))},e.prototype.run=function(t,e,o){void 0===e&&(e=!0),e?(o&&this.changeDetector.markForCheck(),this.ngZone.run(t)):(t(),o&&this.detectChanges())},e.prototype.detectChanges=function(){this.destroyed||this.changeDetector.detectChanges()},e.prototype.intlChange=function(){this.instance&&this.deferredRedraw()},e.prototype.rtlChange=function(){this.instance&&this.rtl!==this.isRTL&&this.deferredRedraw()},e.prototype.deferredRedraw=function(){var t=this;this.ngZone.runOutsideAngular((function(){clearTimeout(t.redrawTimeout),t.redrawTimeout=setTimeout((function(){t.updateDirection(),t.instance.noTransitionsRedraw()}),0)}))},e.prototype.updateDirection=function(){var t=this.isRTL;this.rtl!==t&&(this.setDirection(),this.instance&&this.instance.setDirection(t))},e.prototype.setDirection=function(){this.rtl=this.isRTL,this.element&&this.renderer.setAttribute(this.element.nativeElement,"dir",this.rtl?"rtl":"ltr")},Object.defineProperty(e.prototype,"isRTL",{get:function(){return Boolean(this.localizationService.rtl)},enumerable:!0,configurable:!0}),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"legendItemClick",void 0),i.__decorate([a.Input(),i.__metadata("design:type",Number)],e.prototype,"resizeRateLimit",void 0),i.__decorate([a.Input(),i.__metadata("design:type",Object)],e.prototype,"popupSettings",void 0),i.__decorate([r.ContentChildren(g.SeriesItemComponent,{descendants:!0}),i.__metadata("design:type",r.QueryList)],e.prototype,"seriesComponents",void 0),i.__decorate([n.ContentChild(v.DonutCenterTemplateDirective,{static:!1}),i.__metadata("design:type",v.DonutCenterTemplateDirective)],e.prototype,"donutCenterTemplate",void 0),i.__decorate([r.ViewChild(x.TooltipPopupComponent,{static:!0}),i.__metadata("design:type",x.TooltipPopupComponent)],e.prototype,"tooltipInstance",void 0),i.__decorate([r.ViewChild(w.CrosshairTooltipsContainerComponent,{static:!0}),i.__metadata("design:type",w.CrosshairTooltipsContainerComponent)],e.prototype,"crossahirTooltips",void 0),i.__decorate([r.ViewChild("surface",{static:!0}),i.__metadata("design:type",s.ElementRef)],e.prototype,"surfaceElement",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,exportAs:"kendoChart",providers:[d.ConfigurationService,b.TooltipTemplateService,y.InstanceEventService,P.LocalizationService,{provide:P.L10N_PREFIX,useValue:"kendo.chart"}],selector:"kendo-chart",template:'\n <div #surface class="k-chart-surface"></div>\n <kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltips-container>\n <kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-chart-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n <div class="k-chart-donut-center" [ngStyle]="donutCenterStyle" *ngIf="donutCenterStyle && donutCenterTemplate">\n <ng-template [ngTemplateOutlet]="donutCenterTemplate.templateRef"></ng-template>\n </div>\n '}),i.__metadata("design:paramtypes",[d.ConfigurationService,_.ThemeService,s.ElementRef,k.IntlService,P.LocalizationService,n.NgZone,y.InstanceEventService,n.ChangeDetectorRef,n.Renderer2])],e)}(h.ChartComponentGenerated);e.ChartComponent=E},function(t,e){t.exports=s},function(t,e){t.exports=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-charts",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1645797142,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.LegendEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(42),n=o(43),r=o(44),s=o(45),a=o(46),p=o(100),c=o(47),u=o(48),l=o(101),h=o(49),d=o(50),f=o(51),y=o(102),v=o(26),g=o(52),_=o(53),m=o(54),b=o(55),x=o(56),w=o(103),C=o(104),S=o(57),k=o(58),A=o(59),I={axisLabelClick:i.AxisLabelClickEvent,drag:n.DragEvent,dragEnd:r.DragEndEvent,dragStart:s.DragStartEvent,legendItemHover:a.LegendItemHoverEvent,legendItemLeave:p.LegendItemLeaveEvent,noteClick:c.NoteClickEvent,noteHover:u.NoteHoverEvent,noteLeave:l.NoteLeaveEvent,paneRender:h.PaneRenderEvent,plotAreaClick:d.PlotAreaClickEvent,plotAreaHover:f.PlotAreaHoverEvent,plotAreaLeave:y.PlotAreaLeaveEvent,render:v.RenderEvent,select:g.SelectEvent,selectEnd:_.SelectEndEvent,selectStart:m.SelectStartEvent,seriesClick:b.SeriesClickEvent,seriesHover:x.SeriesHoverEvent,seriesOver:w.SeriesOverEvent,seriesLeave:C.SeriesLeaveEvent,zoom:S.ZoomEvent,zoomEnd:k.ZoomEndEvent,zoomStart:A.ZoomStartEvent},P=function(){function t(){}return t.prototype.create=function(t,e,o){if(I[t])return new I[t](e,o)},t}();e.InstanceEventService=P},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.dataItem=e.dataItem,i.series=e.series,i.value=e.value,i.visual=e.visual,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.NoteEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){return t.call(this,o)||this}return i.__extends(e,t),e}(o(6).BaseEvent);e.RenderEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.dataItem=e.dataItem,i.originalEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.SeriesEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.copyChanges=function(t,e){for(var o in t)if(t.hasOwnProperty(o)){var i=t[o].currentValue;void 0===i?delete e[o]:e[o]=i}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2);e.toSimpleChanges=function(t){var e={};for(var o in t)t.hasOwnProperty(o)&&(e[o]=new i.SimpleChange(null,t[o],!1));return e}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),Object.defineProperty(e.prototype,"seriesTooltipTemplateRef",{get:function(){return this.seriesTooltipTemplate},enumerable:!0,configurable:!0}),i.__decorate([n.ContentChild(n.TemplateRef,{static:!1}),i.__metadata("design:type",n.TemplateRef)],e.prototype,"seriesTooltipTemplate",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(106).SeriesTooltipComponentGenerated);e.SeriesTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(32),s=o(33),a=o(109),p=o(61),c=o(62),u=o(9),l=o(12),h=o(63),d=o(15),f=function(t){function e(e,o,i,r){var s=t.call(this,e,i)||this;return s.popupService=e,s.templateService=o,s.localizationService=i,s.ngZone=r,s.seriesTooltipContext={},s.seriesSharedTooltipContext={},s.animate=!0,s.wrapperClass="k-chart-tooltip-wrapper",s.leave=new n.EventEmitter,s.popupClasses={},s}return i.__extends(e,t),e.prototype.show=function(e){var o;this.shared=e.shared,this.popupClasses=Object.assign(((o={})["k-chart-shared-tooltip"]=e.shared,o["k-chart-tooltip"]=!0,o[e.className]=!!e.className,o),this.classNames),e.shared?(this.seriesSharedTooltipTemplateRef=this.templateService.getSharedTemplate()||this.defaultSharedTooltipTemplate.templateRef,this.seriesSharedTooltipContext=this.sharedTemplateContext(e)):(this.seriesTooltipContext=new a.TooltipTemplatePoint(e.point,e.format),this.seriesTooltipTemplateRef=this.pointTemplateRef(e.point)),t.prototype.show.call(this,e)},e.prototype.containsElement=function(t){if(this.popupRef)return c.hasParent(t,this.popupRef.popupElement)},e.prototype.sharedTemplateContext=function(t){var e=t.points.filter((function(t){return void 0!==t.series.name})).length>0,o=t.series.length>1,i=1;return e&&i++,o&&i++,{category:t.category,categoryText:t.categoryText,colorMarker:o,colspan:i,nameColumn:e,points:this.wrapPoints(t.points,t.format)}},e.prototype.pointTemplateRef=function(t){return this.templateService.getTemplate(t.series.index)||this.defaultSeriesTooltipTemplate.templateRef},e.prototype.wrapPoints=function(t,e){for(var o=[],i=0;i<t.length;i++){var n=t[i],r=this.pointTemplateRef(n),s=((n.options||{}).tooltip||{}).format||e;o.push(new a.TooltipTemplatePoint(n,s,r))}return o},e.prototype.onInit=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.mouseleaveSubscription=t.popupRef.popupElement.addEventListener("mouseleave",(function(e){t.leave.emit(e)}))})),this.popupRef.popupElement.className+=" "+this.wrapperClass},e.prototype.hide=function(){this.mouseleaveSubscription&&(this.mouseleaveSubscription(),this.mouseleaveSubscription=null),t.prototype.hide.call(this)},i.__decorate([n.ViewChild(r.SeriesTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",r.SeriesTooltipTemplateDirective)],e.prototype,"defaultSeriesTooltipTemplate",void 0),i.__decorate([n.ViewChild(s.SharedTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",s.SharedTooltipTemplateDirective)],e.prototype,"defaultSharedTooltipTemplate",void 0),i.__decorate([n.ViewChild("content",{static:!0}),i.__metadata("design:type",n.TemplateRef)],e.prototype,"templateRef",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"animate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"classNames",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"popupSettings",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"wrapperClass",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],e.prototype,"leave",void 0),e=i.__decorate([n.Component({providers:[l.PopupService,{provide:l.POPUP_CONTAINER,useFactory:h.bodyFactory}],selector:"kendo-chart-tooltip-popup",template:'\n <ng-template #content>\n <div [ngClass]="popupClasses" [ngStyle]="style">\n <ng-template [ngTemplateOutlet]="seriesTooltipTemplateRef" *ngIf="!shared"\n [ngTemplateOutletContext]="seriesTooltipContext">\n </ng-template>\n <ng-template [ngTemplateOutlet]="seriesSharedTooltipTemplateRef" *ngIf="shared"\n [ngTemplateOutletContext]="seriesSharedTooltipContext">\n </ng-template>\n </div>\n </ng-template>\n\n <ng-template kendoChartSeriesTooltipTemplate let-formattedValue="formattedValue">\n <span [innerHTML]="formattedValue"></span>\n </ng-template>\n <ng-template kendoChartSharedTooltipTemplate let-points="points" let-categoryText="categoryText" let-colspan="colspan" let-colorMarker="colorMarker" let-nameColumn="nameColumn" >\n <table>\n <tr><th [attr.colspan]=\'colspan\'> {{ categoryText }} </th></tr>\n <tr *ngFor="let point of points">\n <td *ngIf="colorMarker"><span class=\'k-chart-shared-tooltip-marker\' [style.background-color]=\'point.series.color\'></span></td>\n <td *ngIf="nameColumn">\n <ng-container *ngIf="point.series.name !== undefined">{{ point.series.name }}</ng-container>\n <ng-container *ngIf="point.series.name === undefined"> </ng-container>\n </td>\n <td>\n <ng-template [ngTemplateOutlet]="point.template"\n [ngTemplateOutletContext]="point">\n </ng-template>\n </td>\n </tr>\n </table>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[l.PopupService,u.TooltipTemplateService,d.LocalizationService,n.NgZone])],e)}(p.BaseTooltip);e.TooltipPopupComponent=f},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(){function t(t){this.templateRef=t}return t=i.__decorate([n.Directive({selector:"[kendoChartSeriesTooltipTemplate]"}),i.__param(0,n.Optional()),i.__metadata("design:paramtypes",[n.TemplateRef])],t)}();e.SeriesTooltipTemplateDirective=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(){function t(t){this.templateRef=t}return t=i.__decorate([n.Directive({selector:"[kendoChartSharedTooltipTemplate]"}),i.__param(0,n.Optional()),i.__metadata("design:paramtypes",[n.TemplateRef])],t)}();e.SharedTooltipTemplateDirective=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(64),s=["categoryAxis","valueAxis","xAxis","yAxis"],a=function(){function t(){this.tooltipKeys=[],this.tooltipsMap={}}return t.prototype.show=function(t){for(var e=this.crossahirTooltipComponents.toArray(),o=t.axisName,i=t.axisIndex,n=0;n<e.length;n++)if(e[n].key===o+i){e[n].show(t);break}},t.prototype.hide=function(){for(var t=this.crossahirTooltipComponents.toArray(),e=0;e<t.length;e++)t[e].hide()},Object.defineProperty(t.prototype,"active",{get:function(){return this.tooltipKeys.length>0},enumerable:!0,configurable:!0}),t.prototype.createCrosshairTooltips=function(t){var e=this.mapTooltips(t),o=this.tooltipsMap;for(var i in o)e[i]||(this.removeTooltip(i),delete o[i]);for(var i in e)o[i]||(o[i]=e[i],this.tooltipKeys.push(i))},t.prototype.removeTooltip=function(t){for(var e=this.tooltipKeys,o=0;o<e.length;o++)if(e[o]===t){e.splice(o,1);break}},t.prototype.mapTooltips=function(t){for(var e={},o=0;o<s.length;o++)for(var i=this.axesCrosshairTooltipOptions(t,s[o]),n=0;n<i.length;n++){var r=i[n];e[r.name+r.index]=r}return e},t.prototype.axesCrosshairTooltipOptions=function(t,e){var o=[];if(t[e])for(var i=[].concat(t[e]),n=0;n<i.length;n++){var r=(i[n].crosshair||{}).tooltip;r&&r.visible&&o.push({index:n,name:e})}return o},i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"popupSettings",void 0),i.__decorate([n.ViewChildren(r.CrosshairTooltipComponent),i.__metadata("design:type",n.QueryList)],t.prototype,"crossahirTooltipComponents",void 0),t=i.__decorate([n.Component({selector:"kendo-chart-crosshair-tooltips-container",template:'\n <kendo-chart-crosshair-tooltip *ngFor="let key of tooltipKeys" [key]="key" [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltip>\n '})],t)}();e.CrosshairTooltipsContainerComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(13),s=o(5),a=o(3),p=function(t){function e(e,o,i,n){var r=t.call(this,e,o,i,n)||this;return r.configurationService=e,r.collectionService=o,r}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"rangeLabels",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-category-axis-item",template:""}),i.__param(3,n.Inject(n.LOCALE_ID)),i.__metadata("design:paramtypes",[a.ConfigurationService,s.CollectionService,r.IntlService,String])],e)}(o(125).CategoryAxisItemComponentGenerated);e.CategoryAxisItemComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(126);e.WeekStartDay=i.WeekStartDay},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"culture",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"dateFormats",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(4).SettingsComponent);e.CategoryAxisLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(92);e.PREFIX=new n.InjectionToken("configuration prefix");var a=function(t){function o(e,o,i){var n=t.call(this,i)||this;return n.rootService=e,n.prefix=o,n}return i.__extends(o,t),o.prototype.push=function(t){this.rootService.notify(new r.Change(this.prefix,t))},o.prototype.notify=function(t){t.key=this.prefix+(t.key?"."+t.key:""),this.rootService.notify(t)},o=i.__decorate([n.Injectable(),i.__param(0,n.Inject(s.RootConfigurationService)),i.__param(1,n.Inject(e.PREFIX)),i.__metadata("design:paramtypes",[s.RootConfigurationService,String,n.NgZone])],o)}(r.ConfigurationService);e.PrefixConfigurationService=a},function(t,e){t.exports=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(19);e.ChartComponent=i.ChartComponent;var n=o(32),r=o(33),s=o(64),a=o(34),p=o(60),c=o(31),u=o(113);e.AxisDefaultsComponent=u.AxisDefaultsComponent;var l=o(115);e.AxisDefaultsCrosshairComponent=l.AxisDefaultsCrosshairComponent;var h=o(117);e.AxisDefaultsCrosshairTooltipComponent=h.AxisDefaultsCrosshairTooltipComponent;var d=o(119);e.AxisDefaultsLabelsComponent=d.AxisDefaultsLabelsComponent;var f=o(121);e.AxisDefaultsTitleComponent=f.AxisDefaultsTitleComponent;var y=o(123);e.CategoryAxisComponent=y.CategoryAxisComponent;var v=o(65);e.CategoryAxisCrosshairComponent=v.CategoryAxisCrosshairComponent;var g=o(66);e.CategoryAxisCrosshairTooltipComponent=g.CategoryAxisCrosshairTooltipComponent;var _=o(35);e.CategoryAxisItemComponent=_.CategoryAxisItemComponent;var m=o(37);e.CategoryAxisLabelsComponent=m.CategoryAxisLabelsComponent;var b=o(129);e.CategoryAxisRangeLabelsComponent=b.CategoryAxisRangeLabelsComponent;var x=o(67);e.CategoryAxisNotesComponent=x.CategoryAxisNotesComponent;var w=o(68);e.CategoryAxisNotesIconComponent=w.CategoryAxisNotesIconComponent;var C=o(69);e.CategoryAxisNotesLabelComponent=C.CategoryAxisNotesLabelComponent;var S=o(70);e.CategoryAxisSelectComponent=S.CategoryAxisSelectComponent;var k=o(71);e.CategoryAxisTitleComponent=k.CategoryAxisTitleComponent;var A=o(135);e.ChartAreaComponent=A.ChartAreaComponent;var I=o(137);e.LegendComponent=I.LegendComponent;var P=o(139);e.LegendInactiveItemsComponent=P.LegendInactiveItemsComponent;var O=o(141);e.LegendItemComponent=O.LegendItemComponent;var T=o(72);e.PaneComponent=T.PaneComponent;var M=o(143);e.PaneDefaultsComponent=M.PaneDefaultsComponent;var j=o(144);e.PaneDefaultsTitleComponent=j.PaneDefaultsTitleComponent;var E=o(145);e.PanesComponent=E.PanesComponent;var D=o(74);e.PanesTitleComponent=D.PanesTitleComponent;var B=o(148);e.PlotAreaComponent=B.PlotAreaComponent;var R=o(75);e.SeriesComponent=R.SeriesComponent;var L=o(151);e.SeriesDefaultsComponent=L.SeriesDefaultsComponent;var V=o(153);e.SeriesDefaultsLabelsComponent=V.SeriesDefaultsLabelsComponent;var N=o(155);e.SeriesDefaultsLabelsFromComponent=N.SeriesDefaultsLabelsFromComponent;var z=o(157);e.SeriesDefaultsLabelsToComponent=z.SeriesDefaultsLabelsToComponent;var F=o(159);e.SeriesDefaultsNotesComponent=F.SeriesDefaultsNotesComponent;var H=o(161);e.SeriesDefaultsNotesIconComponent=H.SeriesDefaultsNotesIconComponent;var G=o(163);e.SeriesDefaultsNotesLabelComponent=G.SeriesDefaultsNotesLabelComponent;var U=o(165);e.SeriesDefaultsTooltipComponent=U.SeriesDefaultsTooltipComponent;var W=o(76);e.SeriesErrorBarsComponent=W.SeriesErrorBarsComponent;var Y=o(77);e.SeriesExtremesComponent=Y.SeriesExtremesComponent;var X=o(78);e.SeriesHighlightComponent=X.SeriesHighlightComponent;var q=o(16);e.SeriesItemComponent=q.SeriesItemComponent;var Z=o(79);e.SeriesLabelsComponent=Z.SeriesLabelsComponent;var Q=o(80);e.SeriesLabelsFromComponent=Q.SeriesLabelsFromComponent;var K=o(81);e.SeriesLabelsToComponent=K.SeriesLabelsToComponent;var $=o(82);e.SeriesMarkersComponent=$.SeriesMarkersComponent;var J=o(83);e.SeriesNotesComponent=J.SeriesNotesComponent;var tt=o(84);e.SeriesNotesIconComponent=tt.SeriesNotesIconComponent;var et=o(85);e.SeriesNotesLabelComponent=et.SeriesNotesLabelComponent;var ot=o(86);e.SeriesOutliersComponent=ot.SeriesOutliersComponent;var it=o(30);e.SeriesTooltipComponent=it.SeriesTooltipComponent;var nt=o(178);e.TitleComponent=nt.TitleComponent;var rt=o(180);e.TooltipComponent=rt.TooltipComponent;var st=o(182);e.ValueAxisComponent=st.ValueAxisComponent;var at=o(185);e.ValueAxisCrosshairComponent=at.ValueAxisCrosshairComponent;var pt=o(187);e.ValueAxisCrosshairTooltipComponent=pt.ValueAxisCrosshairTooltipComponent;var ct=o(87);e.ValueAxisItemComponent=ct.ValueAxisItemComponent;var ut=o(189);e.ValueAxisLabelsComponent=ut.ValueAxisLabelsComponent;var lt=o(191);e.ValueAxisNotesComponent=lt.ValueAxisNotesComponent;var ht=o(193);e.ValueAxisNotesIconComponent=ht.ValueAxisNotesIconComponent;var dt=o(195);e.ValueAxisNotesLabelComponent=dt.ValueAxisNotesLabelComponent;var ft=o(197);e.ValueAxisTitleComponent=ft.ValueAxisTitleComponent;var yt=o(199);e.XAxisComponent=yt.XAxisComponent;var vt=o(202);e.XAxisCrosshairComponent=vt.XAxisCrosshairComponent;var gt=o(204);e.XAxisCrosshairTooltipComponent=gt.XAxisCrosshairTooltipComponent;var _t=o(88);e.XAxisItemComponent=_t.XAxisItemComponent;var mt=o(206);e.XAxisLabelsComponent=mt.XAxisLabelsComponent;var bt=o(208);e.XAxisNotesComponent=bt.XAxisNotesComponent;var xt=o(210);e.XAxisNotesIconComponent=xt.XAxisNotesIconComponent;var wt=o(212);e.XAxisNotesLabelComponent=wt.XAxisNotesLabelComponent;var Ct=o(214);e.XAxisTitleComponent=Ct.XAxisTitleComponent;var St=o(216);e.YAxisComponent=St.YAxisComponent;var kt=o(219);e.YAxisCrosshairComponent=kt.YAxisCrosshairComponent;var At=o(221);e.YAxisCrosshairTooltipComponent=At.YAxisCrosshairTooltipComponent;var It=o(89);e.YAxisItemComponent=It.YAxisItemComponent;var Pt=o(223);e.YAxisLabelsComponent=Pt.YAxisLabelsComponent;var Ot=o(225);e.YAxisNotesComponent=Ot.YAxisNotesComponent;var Tt=o(227);e.YAxisNotesIconComponent=Tt.YAxisNotesIconComponent;var Mt=o(229);e.YAxisNotesLabelComponent=Mt.YAxisNotesLabelComponent;var jt=o(231);e.YAxisTitleComponent=jt.YAxisTitleComponent;var Et=o(233);e.ZoomableComponent=Et.ZoomableComponent,e.CHART_DIRECTIVES=[i.ChartComponent,c.TooltipPopupComponent,n.SeriesTooltipTemplateDirective,r.SharedTooltipTemplateDirective,a.CrosshairTooltipsContainerComponent,s.CrosshairTooltipComponent,p.DonutCenterTemplateDirective,u.AxisDefaultsComponent,l.AxisDefaultsCrosshairComponent,h.AxisDefaultsCrosshairTooltipComponent,d.AxisDefaultsLabelsComponent,f.AxisDefaultsTitleComponent,y.CategoryAxisComponent,v.CategoryAxisCrosshairComponent,g.CategoryAxisCrosshairTooltipComponent,_.CategoryAxisItemComponent,m.CategoryAxisLabelsComponent,b.CategoryAxisRangeLabelsComponent,x.CategoryAxisNotesComponent,w.CategoryAxisNotesIconComponent,C.CategoryAxisNotesLabelComponent,S.CategoryAxisSelectComponent,k.CategoryAxisTitleComponent,A.ChartAreaComponent,I.LegendComponent,P.LegendInactiveItemsComponent,O.LegendItemComponent,T.PaneComponent,M.PaneDefaultsComponent,j.PaneDefaultsTitleComponent,E.PanesComponent,D.PanesTitleComponent,B.PlotAreaComponent,R.SeriesComponent,L.SeriesDefaultsComponent,V.SeriesDefaultsLabelsComponent,N.SeriesDefaultsLabelsFromComponent,z.SeriesDefaultsLabelsToComponent,F.SeriesDefaultsNotesComponent,H.SeriesDefaultsNotesIconComponent,G.SeriesDefaultsNotesLabelComponent,U.SeriesDefaultsTooltipComponent,W.SeriesErrorBarsComponent,Y.SeriesExtremesComponent,X.SeriesHighlightComponent,q.SeriesItemComponent,Z.SeriesLabelsComponent,Q.SeriesLabelsFromComponent,K.SeriesLabelsToComponent,$.SeriesMarkersComponent,J.SeriesNotesComponent,tt.SeriesNotesIconComponent,et.SeriesNotesLabelComponent,ot.SeriesOutliersComponent,it.SeriesTooltipComponent,nt.TitleComponent,rt.TooltipComponent,st.ValueAxisComponent,at.ValueAxisCrosshairComponent,pt.ValueAxisCrosshairTooltipComponent,ct.ValueAxisItemComponent,ut.ValueAxisLabelsComponent,lt.ValueAxisNotesComponent,ht.ValueAxisNotesIconComponent,dt.ValueAxisNotesLabelComponent,ft.ValueAxisTitleComponent,yt.XAxisComponent,vt.XAxisCrosshairComponent,gt.XAxisCrosshairTooltipComponent,_t.XAxisItemComponent,mt.XAxisLabelsComponent,bt.XAxisNotesComponent,xt.XAxisNotesIconComponent,wt.XAxisNotesLabelComponent,Ct.XAxisTitleComponent,St.YAxisComponent,kt.YAxisCrosshairComponent,At.YAxisCrosshairTooltipComponent,It.YAxisItemComponent,Pt.YAxisLabelsComponent,Ot.YAxisNotesComponent,Tt.YAxisNotesIconComponent,Mt.YAxisNotesLabelComponent,jt.YAxisTitleComponent,Et.ZoomableComponent]},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(o(23).LegendEvent);e.LegendItemClickEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.dataItem=e.dataItem,i.index=e.index,i.text=e.text,i.value=e.value,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.AxisLabelClickEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.DragEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.DragEndEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.DragStartEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(o(23).LegendEvent);e.LegendItemHoverEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(25).NoteEvent);e.NoteClickEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(25).NoteEvent);e.NoteHoverEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return Object.assign(i,e),i}return i.__extends(e,t),e}(o(6).BaseEvent);e.PaneRenderEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.originalEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.PlotAreaClickEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.originalEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.PlotAreaHoverEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.SelectEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.SelectEndEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.SelectStartEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.category=e.category,i.dataItem=e.dataItem,i.originalEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.SeriesClickEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(27).SeriesEvent);e.SeriesHoverEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.delta=e.delta,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.ZoomEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.ZoomEndEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.axisRanges=e.axisRanges,i.originalEvent=e.originalEvent,i}return i.__extends(e,t),e}(o(7).PreventableEvent);e.ZoomStartEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(){function t(t){this.templateRef=t}return t=i.__decorate([n.Directive({selector:"[kendoChartDonutCenterTemplate]"}),i.__param(0,n.Optional()),i.__metadata("design:paramtypes",[n.TemplateRef])],t)}();e.DonutCenterTemplateDirective=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={horizontal:"fit",vertical:"fit"},n=function(){function t(t,e){this.popupService=t,this.localizationService=e,this.style={},this.popupRef=null}return Object.defineProperty(t.prototype,"active",{get:function(){return null!==this.popupRef},enumerable:!0,configurable:!0}),t.prototype.show=function(t){var e=t.anchor.align,o=this.position(t.anchor.point);if(this.style=t.style,this.popupRef){var n=this.popupRef.popup.instance;n.offset=o,n.popupAlign=e}else this.popupRef=this.popupService.open(Object.assign({offset:o,popupAlign:e,animate:this.animate,content:this.templateRef,collision:i,positionMode:"absolute"},this.popupSettings)),this.localizationService.rtl&&this.popupRef.popupElement.setAttribute("dir","rtl"),this.onInit()},t.prototype.hide=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null)},t.prototype.onInit=function(){},t.prototype.ngOnDestroy=function(){this.hide()},t.prototype.position=function(t){if(!this.popupSettings||!this.popupSettings.appendTo)return t;var e=this.popupSettings.appendTo.element.nativeElement;console.log("appendTo",e);var o=e.getBoundingClientRect(),i=this.scrollOffset(e),n=i.scrollLeft,r=i.scrollTop;return{left:t.left-o.left-n,top:t.top-o.top-r}},t.prototype.scrollOffset=function(t){if(!t)return null;for(var e=t.scrollLeft,o=t.scrollTop,i=t.parentElement;i;)e+=i.scrollLeft,o+=i.scrollTop,i=i.parentElement;return{scrollLeft:e,scrollTop:o}},t}();e.BaseTooltip=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasParent=function(t,e){for(var o=t;o&&o!==e;)o=o.parentNode;return!!o}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2),n=o(8);e.bodyFactory=function(){if(n.isDocumentAvailable())return new i.ElementRef(document.body)}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(61),s=o(12),a=o(15),p=o(63),c=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.animate=!1,i}return i.__extends(e,t),e.prototype.show=function(e){t.prototype.show.call(this,e),this.value=e.value,this.popupRef.popup.changeDetectorRef.detectChanges()},i.__decorate([n.ViewChild("content",{static:!0}),i.__metadata("design:type",n.TemplateRef)],e.prototype,"templateRef",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"key",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"popupSettings",void 0),e=i.__decorate([n.Component({providers:[s.PopupService,{provide:s.POPUP_CONTAINER,useFactory:p.bodyFactory}],selector:"kendo-chart-crosshair-tooltip",template:'\n <ng-template #content>\n <div class="k-chart-tooltip k-chart-crosshair-tooltip" [ngStyle]="style">\n {{ value }}\n </div>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[s.PopupService,a.LocalizationService])],e)}(r.BaseTooltip);e.CrosshairTooltipComponent=c},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(127).CategoryAxisCrosshairComponentGenerated);e.CategoryAxisCrosshairComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(128).CategoryAxisCrosshairTooltipComponentGenerated);e.CategoryAxisCrosshairTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(130).CategoryAxisNotesComponentGenerated);e.CategoryAxisNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(131).CategoryAxisNotesIconComponentGenerated);e.CategoryAxisNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(132).CategoryAxisNotesLabelComponentGenerated);e.CategoryAxisNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-select",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(133).CategoryAxisSelectComponentGenerated);e.CategoryAxisSelectComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(134).CategoryAxisTitleComponentGenerated);e.CategoryAxisTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(5),s=o(3),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-pane, kendo-chart-panes-item",template:""}),i.__metadata("design:paramtypes",[s.ConfigurationService,r.CollectionService])],e)}(o(73).PaneComponentGenerated);e.PaneComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"clip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(11).CollectionItemComponent);e.PaneComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-pane-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(147).PanesTitleComponentGenerated);e.PanesTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=o(9),p=function(t){function e(e,o,i){var n=t.call(this,e,o)||this;return n.configurationService=e,n.collectionService=o,n.tooltipTemplateService=i,n}return i.__extends(e,t),e.prototype.ngAfterContentChecked=function(){this.readTooltipTemplates()},e.prototype.readTooltipTemplates=function(){var t=this.children.map((function(t){return t.seriesTooltipTemplateRef}));this.tooltipTemplateService.setSeriesTemplates(t)},e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-series",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService,a.TooltipTemplateService])],e)}(o(150).SeriesComponentGenerated);e.SeriesComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-error-bars",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(167).SeriesErrorBarsComponentGenerated);e.SeriesErrorBarsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-extremes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(168).SeriesExtremesComponentGenerated);e.SeriesExtremesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-highlight",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(169).SeriesHighlightComponentGenerated);e.SeriesHighlightComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(170).SeriesLabelsComponentGenerated);e.SeriesLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-labels-from",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(171).SeriesLabelsFromComponentGenerated);e.SeriesLabelsFromComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-labels-to",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(172).SeriesLabelsToComponentGenerated);e.SeriesLabelsToComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-markers",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(173).SeriesMarkersComponentGenerated);e.SeriesMarkersComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(174).SeriesNotesComponentGenerated);e.SeriesNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(175).SeriesNotesIconComponentGenerated);e.SeriesNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(176).SeriesNotesLabelComponentGenerated);e.SeriesNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-item-outliers",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(177).SeriesOutliersComponentGenerated);e.SeriesOutliersComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(5),s=o(3),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-value-axis-item",template:""}),i.__metadata("design:paramtypes",[s.ConfigurationService,r.CollectionService])],e)}(o(184).ValueAxisItemComponentGenerated);e.ValueAxisItemComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(13),s=o(5),a=o(3),p=function(t){function e(e,o,i,n){var r=t.call(this,e,o,i,n)||this;return r.configurationService=e,r.collectionService=o,r.intl=i,r}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"categories",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[a.ConfigurationService],selector:"kendo-chart-x-axis-item",template:""}),i.__param(3,n.Inject(n.LOCALE_ID)),i.__metadata("design:paramtypes",[a.ConfigurationService,s.CollectionService,r.IntlService,String])],e)}(o(201).XAxisItemComponentGenerated);e.XAxisItemComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(5),s=o(3),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"categories",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-y-axis-item",template:""}),i.__metadata("design:paramtypes",[s.ConfigurationService,r.CollectionService])],e)}(o(218).YAxisItemComponentGenerated);e.YAxisItemComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e,o){var i=t.call(this,o)||this;return i.from=e.from,i.to=e.to,i}return i.__extends(e,t),e}(o(6).BaseEvent);e.NavigatorFilterEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(237);e.StockChartComponent=i.StockChartComponent;var n=o(239),r=o(240),s=o(241),a=o(242),p=o(243),c=o(244),u=o(245),l=o(246),h=o(247),d=o(248),f=o(249),y=o(250),v=o(251),g=o(252),_=o(253),m=o(93),b=o(254),x=o(255),w=o(256),C=o(257),S=o(258),k=o(259),A=o(260),I=o(261),P=o(262),O=o(263),T=o(264),M=o(265);e.STOCK_CHART_DIRECTIVES=[i.StockChartComponent,n.NavigatorComponent,r.NavigatorCategoryAxisComponent,s.NavigatorCategoryAxisCrosshairComponent,a.NavigatorCategoryAxisCrosshairTooltipComponent,p.NavigatorCategoryAxisLabelsComponent,c.NavigatorCategoryAxisNotesComponent,u.NavigatorCategoryAxisNotesIconComponent,l.NavigatorCategoryAxisNotesLabelComponent,h.NavigatorCategoryAxisSelectComponent,d.NavigatorCategoryAxisTitleComponent,f.NavigatorHintComponent,y.NavigatorPaneComponent,v.NavigatorPaneTitleComponent,g.NavigatorSelectComponent,_.NavigatorSeriesComponent,m.NavigatorSeriesItemComponent,b.NavigatorSeriesErrorBarsComponent,x.NavigatorSeriesExtremesComponent,w.NavigatorSeriesHighlightComponent,C.NavigatorSeriesLabelsComponent,S.NavigatorSeriesLabelsFromComponent,k.NavigatorSeriesLabelsToComponent,A.NavigatorSeriesMarkersComponent,I.NavigatorSeriesNotesComponent,P.NavigatorSeriesNotesIconComponent,O.NavigatorSeriesNotesLabelComponent,T.NavigatorSeriesOutliersComponent,M.NavigatorSeriesTooltipComponent]},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e=i.__decorate([n.Injectable()],e)}(o(3).ConfigurationService);e.RootConfigurationService=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(5),s=o(3),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.ConfigurationService],selector:"kendo-chart-navigator-series-item",template:""}),i.__metadata("design:paramtypes",[s.ConfigurationService,r.CollectionService])],e)}(o(16).SeriesItemComponent);e.NavigatorSeriesItemComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(266);e.SparklineComponent=i.SparklineComponent,e.SPARKLINE_DIRECTIVES=[i.SparklineComponent]},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(18),s=o(39),a=o(12),p=o(8),c=o(91),u=function(){function t(){}return t=i.__decorate([n.NgModule({declarations:[c.STOCK_CHART_DIRECTIVES],exports:[c.STOCK_CHART_DIRECTIVES,r.ChartModule],imports:[r.ChartModule,s.CommonModule,a.PopupModule,p.ResizeSensorModule]})],t)}();e.StockChartModule=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(18),s=o(94),a=o(39),p=o(12),c=o(8),u=function(){function t(){}return t=i.__decorate([n.NgModule({declarations:[s.SPARKLINE_DIRECTIVES],exports:[s.SPARKLINE_DIRECTIVES,r.ChartModule],imports:[r.ChartModule,a.CommonModule,p.PopupModule,c.ResizeSensorModule]})],t)}();e.SparklineModule=u},function(t,e,o){"use strict";o.r(e),o.d(e,"audit",(function(){return R})),o.d(e,"auditTime",(function(){return Y})),o.d(e,"buffer",(function(){return X})),o.d(e,"bufferCount",(function(){return Q})),o.d(e,"bufferTime",(function(){return tt})),o.d(e,"bufferToggle",(function(){return at})),o.d(e,"bufferWhen",(function(){return ut})),o.d(e,"catchError",(function(){return dt})),o.d(e,"combineAll",(function(){return bt})),o.d(e,"combineLatest",(function(){return wt})),o.d(e,"concat",(function(){return Lt})),o.d(e,"concatAll",(function(){return Bt})),o.d(e,"concatMap",(function(){return Vt})),o.d(e,"concatMapTo",(function(){return Nt})),o.d(e,"count",(function(){return zt})),o.d(e,"debounce",(function(){return Gt})),o.d(e,"debounceTime",(function(){return Yt})),o.d(e,"defaultIfEmpty",(function(){return Qt})),o.d(e,"delay",(function(){return ne})),o.d(e,"delayWhen",(function(){return pe})),o.d(e,"dematerialize",(function(){return de})),o.d(e,"distinct",(function(){return ve})),o.d(e,"distinctUntilChanged",(function(){return me})),o.d(e,"distinctUntilKeyChanged",(function(){return we})),o.d(e,"elementAt",(function(){return Ve})),o.d(e,"endWith",(function(){return Ne})),o.d(e,"every",(function(){return ze})),o.d(e,"exhaust",(function(){return Ge})),o.d(e,"exhaustMap",(function(){return Ye})),o.d(e,"expand",(function(){return Ze})),o.d(e,"filter",(function(){return ke})),o.d(e,"finalize",(function(){return $e})),o.d(e,"find",(function(){return eo})),o.d(e,"findIndex",(function(){return no})),o.d(e,"first",(function(){return ro})),o.d(e,"groupBy",(function(){return ho})),o.d(e,"ignoreElements",(function(){return mo})),o.d(e,"isEmpty",(function(){return wo})),o.d(e,"last",(function(){return Po})),o.d(e,"map",(function(){return It})),o.d(e,"mapTo",(function(){return Oo})),o.d(e,"materialize",(function(){return jo})),o.d(e,"max",(function(){return No})),o.d(e,"merge",(function(){return Fo})),o.d(e,"mergeAll",(function(){return Dt})),o.d(e,"mergeMap",(function(){return Tt})),o.d(e,"flatMap",(function(){return Tt})),o.d(e,"mergeMapTo",(function(){return Ho})),o.d(e,"mergeScan",(function(){return Go})),o.d(e,"min",(function(){return Yo})),o.d(e,"multicast",(function(){return Jo})),o.d(e,"observeOn",(function(){return ei})),o.d(e,"onErrorResumeNext",(function(){return ri})),o.d(e,"pairwise",(function(){return pi})),o.d(e,"partition",(function(){return hi})),o.d(e,"pluck",(function(){return di})),o.d(e,"publish",(function(){return yi})),o.d(e,"publishBehavior",(function(){return gi})),o.d(e,"publishLast",(function(){return mi})),o.d(e,"publishReplay",(function(){return Si})),o.d(e,"race",(function(){return Pi})),o.d(e,"reduce",(function(){return Vo})),o.d(e,"repeat",(function(){return Oi})),o.d(e,"repeatWhen",(function(){return ji})),o.d(e,"retry",(function(){return Bi})),o.d(e,"retryWhen",(function(){return Vi})),o.d(e,"refCount",(function(){return Xo})),o.d(e,"sample",(function(){return Fi})),o.d(e,"sampleTime",(function(){return Ui})),o.d(e,"scan",(function(){return Bo})),o.d(e,"sequenceEqual",(function(){return qi})),o.d(e,"share",(function(){return Ji})),o.d(e,"shareReplay",(function(){return tn})),o.d(e,"single",(function(){return en})),o.d(e,"skip",(function(){return rn})),o.d(e,"skipLast",(function(){return pn})),o.d(e,"skipUntil",(function(){return ln})),o.d(e,"skipWhile",(function(){return fn})),o.d(e,"startWith",(function(){return gn})),o.d(e,"subscribeOn",(function(){return kn})),o.d(e,"switchAll",(function(){return Tn})),o.d(e,"switchMap",(function(){return In})),o.d(e,"switchMapTo",(function(){return Mn})),o.d(e,"take",(function(){return Be})),o.d(e,"takeLast",(function(){return ko})),o.d(e,"takeUntil",(function(){return jn})),o.d(e,"takeWhile",(function(){return Bn})),o.d(e,"tap",(function(){return Pe})),o.d(e,"throttle",(function(){return Nn})),o.d(e,"throttleTime",(function(){return Hn})),o.d(e,"throwIfEmpty",(function(){return Ee})),o.d(e,"timeInterval",(function(){return Yn})),o.d(e,"timeout",(function(){return Jn})),o.d(e,"timeoutWith",(function(){return Qn})),o.d(e,"timestamp",(function(){return tr})),o.d(e,"toArray",(function(){return ir})),o.d(e,"window",(function(){return nr})),o.d(e,"windowCount",(function(){return ar})),o.d(e,"windowTime",(function(){return ur})),o.d(e,"windowToggle",(function(){return gr})),o.d(e,"windowWhen",(function(){return br})),o.d(e,"withLatestFrom",(function(){return Cr})),o.d(e,"zip",(function(){return jr})),o.d(e,"zipAll",(function(){return Er}));var i=o(0);function n(t){return"function"==typeof t}var r=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;r=t},get useDeprecatedSynchronousErrorHandling(){return r}};function a(t){setTimeout((function(){throw t}))}var p={closed:!0,next:function(t){},error:function(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;a(t)},complete:function(){}},c=Array.isArray||function(t){return t&&"number"==typeof t.length};function u(t){return null!==t&&"object"==typeof t}function l(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}l.prototype=Object.create(Error.prototype);var h=l,d=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var o=this._parent,i=this._parents,r=this._unsubscribe,s=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,p=i?i.length:0;o;)o.remove(this),o=++a<p&&i[a]||null;if(n(r))try{r.call(this)}catch(o){e=!0,t=o instanceof h?f(o.errors):[o]}if(c(s))for(a=-1,p=s.length;++a<p;){var l=s[a];if(u(l))try{l.unsubscribe()}catch(o){e=!0,t=t||[],o instanceof h?t=t.concat(f(o.errors)):t.push(o)}}if(e)throw new h(t)}},t.prototype.add=function(e){var o=e;switch(typeof e){case"function":o=new t(e);case"object":if(o===this||o.closed||"function"!=typeof o.unsubscribe)return o;if(this.closed)return o.unsubscribe(),o;if(!(o instanceof t)){var i=o;(o=new t)._subscriptions=[i]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(o._addParent(this)){var n=this._subscriptions;n?n.push(o):this._subscriptions=[o]}return o},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var o=e.indexOf(t);-1!==o&&e.splice(o,1)}},t.prototype._addParent=function(t){var e=this._parent,o=this._parents;return e!==t&&(e?o?-1===o.indexOf(t)&&(o.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function f(t){return t.reduce((function(t,e){return t.concat(e instanceof h?e.errors:e)}),[])}var y="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),v=function(t){function e(o,i,n){var r=t.call(this)||this;switch(r.syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=p;break;case 1:if(!o){r.destination=p;break}if("object"==typeof o){o instanceof e?(r.syncErrorThrowable=o.syncErrorThrowable,r.destination=o,o.add(r)):(r.syncErrorThrowable=!0,r.destination=new g(r,o));break}default:r.syncErrorThrowable=!0,r.destination=new g(r,o,i,n)}return r}return i.__extends(e,t),e.prototype[y]=function(){return this},e.create=function(t,o,i){var n=new e(t,o,i);return n.syncErrorThrowable=!1,n},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(d),g=function(t){function e(e,o,i,r){var s,a=t.call(this)||this;a._parentSubscriber=e;var c=a;return n(o)?s=o:o&&(s=o.next,i=o.error,r=o.complete,o!==p&&(n((c=Object.create(o)).unsubscribe)&&a.add(c.unsubscribe.bind(c)),c.unsubscribe=a.unsubscribe.bind(a))),a._context=c,a._next=s,a._error=i,a._complete=r,a}return i.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,o=s.useDeprecatedSynchronousErrorHandling;if(this._error)o&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)o?(e.syncErrorValue=t,e.syncErrorThrown=!0):a(t),this.unsubscribe();else{if(this.unsubscribe(),o)throw t;a(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var o=function(){return t._complete.call(t._context)};s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,o),this.unsubscribe()):(this.__tryOrUnsub(o),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw t;a(t)}},e.prototype.__tryOrSetError=function(t,e,o){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,o)}catch(e){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(a(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(v),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(v),m=function(t){function e(e,o,i){var n=t.call(this)||this;return n.parent=e,n.outerValue=o,n.outerIndex=i,n.index=0,n}return i.__extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(v);var b="function"==typeof Symbol&&Symbol.observable||"@@observable";function x(){}function w(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return C(t)}function C(t){return t?1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}:x}var S=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var o=new t;return o.source=this,o.operator=e,o},t.prototype.subscribe=function(t,e,o){var i=this.operator,n=function(t,e,o){if(t){if(t instanceof v)return t;if(t[y])return t[y]()}return t||e||o?new v(t,e,o):new v(p)}(t,e,o);if(i?n.add(i.call(n,this.source)):n.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!n.syncErrorThrowable?this._subscribe(n):this._trySubscribe(n)),s.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable&&(n.syncErrorThrowable=!1,n.syncErrorThrown))throw n.syncErrorValue;return n},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),!function(t){for(;t;){var e=t,o=e.closed,i=e.destination,n=e.isStopped;if(o||n)return!1;t=i&&i instanceof v?i:null}return!0}(t)?console.warn(e):t.error(e)}},t.prototype.forEach=function(t,e){var o=this;return new(e=k(e))((function(e,i){var n;n=o.subscribe((function(e){try{t(e)}catch(t){i(t),n&&n.unsubscribe()}}),i,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[b]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:C(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=k(t))((function(t,o){var i;e.subscribe((function(t){return i=t}),(function(t){return o(t)}),(function(){return t(i)}))}))},t.create=function(e){return new t(e)},t}();function k(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var A=function(t){return function(e){for(var o=0,i=t.length;o<i&&!e.closed;o++)e.next(t[o]);e.closed||e.complete()}},I=function(t){return function(e){return t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e}};function P(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var O=P(),T=function(t){return function(e){for(var o=t[O]();;){var i=o.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof o.return&&e.add((function(){o.return&&o.return()})),e}},M=function(t){return function(e){var o=t[b]();if("function"!=typeof o.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return o.subscribe(e)}},j=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function E(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var D=function(t){if(t instanceof S)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[b])return M(t);if(j(t))return A(t);if(E(t))return I(t);if(t&&"function"==typeof t[O])return T(t);var e=u(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function B(t,e,o,i,n){if(void 0===n&&(n=new m(t,o,i)),!n.closed)return D(e)(n)}function R(t){return function(e){return e.lift(new L(t))}}var L=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new V(t,this.durationSelector))},t}(),V=function(t){function e(e,o){var i=t.call(this,e)||this;return i.durationSelector=o,i.hasValue=!1,i}return i.__extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var o=B(this,e);!o||o.closed?this.clearThrottle():this.add(this.throttled=o)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,o=this.throttled;o&&(this.remove(o),this.throttled=null,o.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,o,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(_),N=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.scheduler=e,i.work=o,i.pending=!1,i}return i.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,o){return void 0===o&&(o=0),setInterval(t.flush.bind(t,this),o)},e.prototype.recycleAsyncId=function(t,e,o){if(void 0===o&&(o=0),null!==o&&this.delay===o&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(t,e);if(o)return o;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var o=!1,i=void 0;try{this.work(t)}catch(t){o=!0,i=!!t&&t||new Error(t)}if(o)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,o=e.actions,i=o.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&o.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,o){return t.call(this)||this}return i.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(d)),z=function(){function t(e,o){void 0===o&&(o=t.now),this.SchedulerAction=e,this.now=o}return t.prototype.schedule=function(t,e,o){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(o,e)},t.now=function(){return Date.now()},t}(),F=function(t){function e(o,i){void 0===i&&(i=z.now);var n=t.call(this,o,(function(){return e.delegate&&e.delegate!==n?e.delegate.now():i()}))||this;return n.actions=[],n.active=!1,n.scheduled=void 0,n}return i.__extends(e,t),e.prototype.schedule=function(o,i,n){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(o,i,n):t.prototype.schedule.call(this,o,i,n)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var o;this.active=!0;do{if(o=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,o){for(;t=e.shift();)t.unsubscribe();throw o}}},e}(z),H=new F(N);function G(t){return!c(t)&&t-parseFloat(t)+1>=0}function U(t){return t&&"function"==typeof t.schedule}function W(t){var e=t.index,o=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===o)return i.complete();t.index=e+1,this.schedule(t,o)}}function Y(t,e){return void 0===e&&(e=H),R((function(){return function(t,e,o){void 0===t&&(t=0);var i=-1;return G(e)?i=Number(e)<1?1:Number(e):U(e)&&(o=e),U(o)||(o=H),new S((function(e){var n=G(t)?t:+t-o.now();return o.schedule(W,n,{index:0,period:i,subscriber:e})}))}(t,e)}))}function X(t){return function(e){return e.lift(new q(t))}}var q=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new Z(t,this.closingNotifier))},t}(),Z=function(t){function e(e,o){var i=t.call(this,e)||this;return i.buffer=[],i.add(B(i,o)),i}return i.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,o,i,n){var r=this.buffer;this.buffer=[],this.destination.next(r)},e}(_);function Q(t,e){return void 0===e&&(e=null),function(o){return o.lift(new K(t,e))}}var K=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?J:$}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),$=function(t){function e(e,o){var i=t.call(this,e)||this;return i.bufferSize=o,i.buffer=[],i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(v),J=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.bufferSize=o,n.startBufferEvery=i,n.buffers=[],n.count=0,n}return i.__extends(e,t),e.prototype._next=function(t){var e=this.bufferSize,o=this.startBufferEvery,i=this.buffers,n=this.count;this.count++,n%o==0&&i.push([]);for(var r=i.length;r--;){var s=i[r];s.push(t),s.length===e&&(i.splice(r,1),this.destination.next(s))}},e.prototype._complete=function(){for(var e=this.buffers,o=this.destination;e.length>0;){var i=e.shift();i.length>0&&o.next(i)}t.prototype._complete.call(this)},e}(v);function tt(t){var e=arguments.length,o=H;U(arguments[arguments.length-1])&&(o=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var n=Number.POSITIVE_INFINITY;return e>=3&&(n=arguments[2]),function(e){return e.lift(new et(t,i,n,o))}}var et=function(){function t(t,e,o,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=o,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new it(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),ot=function(){return function(){this.buffer=[]}}(),it=function(t){function e(e,o,i,n,r){var s=t.call(this,e)||this;s.bufferTimeSpan=o,s.bufferCreationInterval=i,s.maxBufferSize=n,s.scheduler=r,s.contexts=[];var a=s.openContext();if(s.timespanOnly=null==i||i<0,s.timespanOnly){var p={subscriber:s,context:a,bufferTimeSpan:o};s.add(a.closeAction=r.schedule(nt,o,p))}else{var c={subscriber:s,context:a},u={bufferTimeSpan:o,bufferCreationInterval:i,subscriber:s,scheduler:r};s.add(a.closeAction=r.schedule(st,o,c)),s.add(r.schedule(rt,i,u))}return s}return i.__extends(e,t),e.prototype._next=function(t){for(var e,o=this.contexts,i=o.length,n=0;n<i;n++){var r=o[n],s=r.buffer;s.push(t),s.length==this.maxBufferSize&&(e=r)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,o=this.destination;e.length>0;){var i=e.shift();o.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var o=this.bufferTimeSpan,i={subscriber:this,context:t,bufferTimeSpan:o};this.add(t.closeAction=this.scheduler.schedule(nt,o,i))}},e.prototype.openContext=function(){var t=new ot;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(v);function nt(t){var e=t.subscriber,o=t.context;o&&e.closeContext(o),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function rt(t){var e=t.bufferCreationInterval,o=t.bufferTimeSpan,i=t.subscriber,n=t.scheduler,r=i.openContext();i.closed||(i.add(r.closeAction=n.schedule(st,o,{subscriber:i,context:r})),this.schedule(t,e))}function st(t){var e=t.subscriber,o=t.context;e.closeContext(o)}function at(t,e){return function(o){return o.lift(new pt(t,e))}}var pt=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new ct(t,this.openings,this.closingSelector))},t}(),ct=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.openings=o,n.closingSelector=i,n.contexts=[],n.add(B(n,o)),n}return i.__extends(e,t),e.prototype._next=function(t){for(var e=this.contexts,o=e.length,i=0;i<o;i++)e[i].buffer.push(t)},e.prototype._error=function(e){for(var o=this.contexts;o.length>0;){var i=o.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var o=e.shift();this.destination.next(o.buffer),o.subscription.unsubscribe(),o.buffer=null,o.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,o,i,n){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var o=t.buffer,i=t.subscription;this.destination.next(o),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,o=new d,i={buffer:[],subscription:o};e.push(i);var n=B(this,t,i);!n||n.closed?this.closeBuffer(i):(n.context=i,this.add(n),o.add(n))},e}(_);function ut(t){return function(e){return e.lift(new lt(t))}}var lt=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.closingSelector))},t}(),ht=function(t){function e(e,o){var i=t.call(this,e)||this;return i.closingSelector=o,i.subscribing=!1,i.openBuffer(),i}return i.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,o,i,n){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,o=this.buffer;this.buffer&&this.destination.next(o),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new d,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(B(this,e)),this.subscribing=!1},e}(_);function dt(t){return function(e){var o=new ft(t),i=e.lift(o);return o.caught=i}}var ft=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new yt(t,this.selector,this.caught))},t}(),yt=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.selector=o,n.caught=i,n}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var o=void 0;try{o=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var i=new m(this,void 0,void 0);this.add(i),B(this,o,void 0,void 0,i)}},e}(_);function vt(t,e){return new S(e?function(o){var i=new d,n=0;return i.add(e.schedule((function(){n!==t.length?(o.next(t[n++]),o.closed||i.add(this.schedule())):o.complete()}))),i}:A(t))}var gt={};var _t=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new mt(t,this.resultSelector))},t}(),mt=function(t){function e(e,o){var i=t.call(this,e)||this;return i.resultSelector=o,i.active=0,i.values=[],i.observables=[],i}return i.__extends(e,t),e.prototype._next=function(t){this.values.push(gt),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var o=0;o<e;o++){var i=t[o];this.add(B(this,i,i,o))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,o,i,n){var r=this.values,s=r[o],a=this.toRespond?s===gt?--this.toRespond:this.toRespond:0;r[o]=e,0===a&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(_);function bt(t){return function(e){return e.lift(new _t(t))}}function xt(t,e){if(!e)return t instanceof S?t:new S(D(t));if(null!=t){if(function(t){return t&&"function"==typeof t[b]}(t))return function(t,e){return new S(e?function(o){var i=new d;return i.add(e.schedule((function(){var n=t[b]();i.add(n.subscribe({next:function(t){i.add(e.schedule((function(){return o.next(t)})))},error:function(t){i.add(e.schedule((function(){return o.error(t)})))},complete:function(){i.add(e.schedule((function(){return o.complete()})))}}))}))),i}:M(t))}(t,e);if(E(t))return function(t,e){return new S(e?function(o){var i=new d;return i.add(e.schedule((function(){return t.then((function(t){i.add(e.schedule((function(){o.next(t),i.add(e.schedule((function(){return o.complete()})))})))}),(function(t){i.add(e.schedule((function(){return o.error(t)})))}))}))),i}:I(t))}(t,e);if(j(t))return vt(t,e);if(function(t){return t&&"function"==typeof t[O]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new S(e?function(o){var i,n=new d;return n.add((function(){i&&"function"==typeof i.return&&i.return()})),n.add(e.schedule((function(){i=t[O](),n.add(e.schedule((function(){if(!o.closed){var t,e;try{var n=i.next();t=n.value,e=n.done}catch(t){return void o.error(t)}e?o.complete():(o.next(t),this.schedule())}})))}))),n}:T(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function wt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=null;return"function"==typeof t[t.length-1]&&(o=t.pop()),1===t.length&&c(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(xt([e].concat(t)),new _t(o))}}var Ct=new S((function(t){return t.complete()}));function St(t){return t?function(t){return new S((function(e){return t.schedule((function(){return e.complete()}))}))}(t):Ct}function kt(t){var e=new S((function(e){e.next(t),e.complete()}));return e._isScalar=!0,e.value=t,e}function At(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=t[t.length-1];switch(U(o)?t.pop():o=void 0,t.length){case 0:return St(o);case 1:return o?vt(t,o):kt(t[0]);default:return vt(t,o)}}function It(t,e){return function(o){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return o.lift(new Pt(t,e))}}var Pt=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Ot(t,this.project,this.thisArg))},t}(),Ot=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.project=o,n.count=0,n.thisArg=i||n,n}return i.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(v);function Tt(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),"function"==typeof e?function(i){return i.pipe(Tt((function(o,i){return xt(t(o,i)).pipe(It((function(t,n){return e(o,t,i,n)})))}),o))}:("number"==typeof e&&(o=e),function(e){return e.lift(new Mt(t,o))})}var Mt=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new jt(t,this.project,this.concurrent))},t}(),jt=function(t){function e(e,o,i){void 0===i&&(i=Number.POSITIVE_INFINITY);var n=t.call(this,e)||this;return n.project=o,n.concurrent=i,n.hasCompleted=!1,n.buffer=[],n.active=0,n.index=0,n}return i.__extends(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,o=this.index++;try{e=this.project(t,o)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,o)},e.prototype._innerSub=function(t,e,o){var i=new m(this,void 0,void 0);this.destination.add(i),B(this,t,e,o,i)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,o,i,n){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(_);function Et(t){return t}function Dt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Tt(Et,t)}function Bt(){return Dt(1)}function Rt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Bt()(At.apply(void 0,t))}function Lt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Rt.apply(void 0,[e].concat(t)))}}function Vt(t,e){return Tt(t,e,1)}function Nt(t,e){return Vt((function(){return t}),e)}function zt(t){return function(e){return e.lift(new Ft(t,e))}}var Ft=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Ht(t,this.predicate,this.source))},t}(),Ht=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.predicate=o,n.source=i,n.count=0,n.index=0,n}return i.__extends(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(v);function Gt(t){return function(e){return e.lift(new Ut(t))}}var Ut=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.durationSelector))},t}(),Wt=function(t){function e(e,o){var i=t.call(this,e)||this;return i.durationSelector=o,i.hasValue=!1,i.durationSubscription=null,i}return i.__extends(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var o=this.durationSubscription;this.value=t,this.hasValue=!0,o&&(o.unsubscribe(),this.remove(o)),(o=B(this,e))&&!o.closed&&this.add(this.durationSubscription=o)},e.prototype.notifyNext=function(t,e,o,i,n){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,o=this.durationSubscription;o&&(this.durationSubscription=null,o.unsubscribe(),this.remove(o)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(_);function Yt(t,e){return void 0===e&&(e=H),function(o){return o.lift(new Xt(t,e))}}var Xt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new qt(t,this.dueTime,this.scheduler))},t}(),qt=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.dueTime=o,n.scheduler=i,n.debouncedSubscription=null,n.lastValue=null,n.hasValue=!1,n}return i.__extends(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Zt,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(v);function Zt(t){t.debouncedNext()}function Qt(t){return void 0===t&&(t=null),function(e){return e.lift(new $t(t))}}var Kt,$t=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new Jt(t,this.defaultValue))},t}(),Jt=function(t){function e(e,o){var i=t.call(this,e)||this;return i.defaultValue=o,i.isEmpty=!0,i}return i.__extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(v);function te(t){return t instanceof Date&&!isNaN(+t)}function ee(t,e){return new S(e?function(o){return e.schedule(oe,0,{error:t,subscriber:o})}:function(e){return e.error(t)})}function oe(t){var e=t.error;t.subscriber.error(e)}Kt||(Kt={});var ie=function(){function t(t,e,o){this.kind=t,this.value=e,this.error=o,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,o){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return o&&o()}},t.prototype.accept=function(t,e,o){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,o)},t.prototype.toObservable=function(){switch(this.kind){case"N":return At(this.value);case"E":return ee(this.error);case"C":return St()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();function ne(t,e){void 0===e&&(e=H);var o=te(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new re(o,e))}}var re=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new se(t,this.delay,this.scheduler))},t}(),se=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.delay=o,n.scheduler=i,n.queue=[],n.active=!1,n.errored=!1,n}return i.__extends(e,t),e.dispatch=function(t){for(var e=t.source,o=e.queue,i=t.scheduler,n=t.destination;o.length>0&&o[0].time-i.now()<=0;)o.shift().notification.observe(n);if(o.length>0){var r=Math.max(0,o[0].time-i.now());this.schedule(t,r)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,o=new ae(e.now()+this.delay,t);this.queue.push(o),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(ie.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(ie.createComplete()),this.unsubscribe()},e}(v),ae=function(){return function(t,e){this.time=t,this.notification=e}}();function pe(t,e){return e?function(o){return new le(o,e).lift(new ce(t))}:function(e){return e.lift(new ce(t))}}var ce=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ue(t,this.delayDurationSelector))},t}(),ue=function(t){function e(e,o){var i=t.call(this,e)||this;return i.delayDurationSelector=o,i.completed=!1,i.delayNotifierSubscriptions=[],i.index=0,i}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.destination.next(t),this.removeSubscription(n),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var o=this.delayDurationSelector(t,e);o&&this.tryDelay(o,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var o=B(this,t,e);o&&!o.closed&&(this.destination.add(o),this.delayNotifierSubscriptions.push(o))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(_),le=function(t){function e(e,o){var i=t.call(this)||this;return i.source=e,i.subscriptionDelay=o,i}return i.__extends(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new he(t,this.source))},e}(S),he=function(t){function e(e,o){var i=t.call(this)||this;return i.parent=e,i.source=o,i.sourceSubscribed=!1,i}return i.__extends(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(v);function de(){return function(t){return t.lift(new fe)}}var fe=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ye(t))},t}(),ye=function(t){function e(e){return t.call(this,e)||this}return i.__extends(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(v);function ve(t,e){return function(o){return o.lift(new ge(t,e))}}var ge=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new _e(t,this.keySelector,this.flushes))},t}(),_e=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.keySelector=o,n.values=new Set,i&&n.add(B(n,i)),n}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,o=this.destination;try{e=this.keySelector(t)}catch(t){return void o.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var o=this.values;o.has(t)||(o.add(t),this.destination.next(e))},e}(_);function me(t,e){return function(o){return o.lift(new be(t,e))}}var be=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new xe(t,this.compare,this.keySelector))},t}(),xe=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.keySelector=i,n.hasKey=!1,"function"==typeof o&&(n.compare=o),n}return i.__extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var o=this.keySelector;e=o?o(t):t}catch(t){return this.destination.error(t)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))},e}(v);function we(t,e){return me((function(o,i){return e?e(o[t],i[t]):o[t]===i[t]}))}function Ce(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Ce.prototype=Object.create(Error.prototype);var Se=Ce;function ke(t,e){return function(o){return o.lift(new Ae(t,e))}}var Ae=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Ie(t,this.predicate,this.thisArg))},t}(),Ie=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.predicate=o,n.thisArg=i,n.count=0,n}return i.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(v);function Pe(t,e,o){return function(i){return i.lift(new Oe(t,e,o))}}var Oe=function(){function t(t,e,o){this.nextOrObserver=t,this.error=e,this.complete=o}return t.prototype.call=function(t,e){return e.subscribe(new Te(t,this.nextOrObserver,this.error,this.complete))},t}(),Te=function(t){function e(e,o,i,r){var s=t.call(this,e)||this;return s._tapNext=x,s._tapError=x,s._tapComplete=x,s._tapError=i||x,s._tapComplete=r||x,n(o)?(s._context=s,s._tapNext=o):o&&(s._context=o,s._tapNext=o.next||x,s._tapError=o.error||x,s._tapComplete=o.complete||x),s}return i.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(v);function Me(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Me.prototype=Object.create(Error.prototype);var je=Me,Ee=function(t){return void 0===t&&(t=De),Pe({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function De(){return new je}function Be(t){return function(e){return 0===t?St():e.lift(new Re(t))}}var Re=function(){function t(t){if(this.total=t,this.total<0)throw new Se}return t.prototype.call=function(t,e){return e.subscribe(new Le(t,this.total))},t}(),Le=function(t){function e(e,o){var i=t.call(this,e)||this;return i.total=o,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.total,o=++this.count;o<=e&&(this.destination.next(t),o===e&&(this.destination.complete(),this.unsubscribe()))},e}(v);function Ve(t,e){if(t<0)throw new Se;var o=arguments.length>=2;return function(i){return i.pipe(ke((function(e,o){return o===t})),Be(1),o?Qt(e):Ee((function(){return new Se})))}}function Ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var o=t[t.length-1];U(o)?t.pop():o=null;var i=t.length;return Rt(e,1!==i||o?i>0?vt(t,o):St(o):kt(t[0]))}}function ze(t,e){return function(o){return o.lift(new Fe(t,e,o))}}var Fe=function(){function t(t,e,o){this.predicate=t,this.thisArg=e,this.source=o}return t.prototype.call=function(t,e){return e.subscribe(new He(t,this.predicate,this.thisArg,this.source))},t}(),He=function(t){function e(e,o,i,n){var r=t.call(this,e)||this;return r.predicate=o,r.thisArg=i,r.source=n,r.index=0,r.thisArg=i||r,r}return i.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(v);function Ge(){return function(t){return t.lift(new Ue)}}var Ue=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new We(t))},t}(),We=function(t){function e(e){var o=t.call(this,e)||this;return o.hasCompleted=!1,o.hasSubscription=!1,o}return i.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(B(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(_);function Ye(t,e){return e?function(o){return o.pipe(Ye((function(o,i){return xt(t(o,i)).pipe(It((function(t,n){return e(o,t,i,n)})))})))}:function(e){return e.lift(new Xe(t))}}var Xe=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new qe(t,this.project))},t}(),qe=function(t){function e(e,o){var i=t.call(this,e)||this;return i.project=o,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,o=this.index++;try{e=this.project(t,o)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e,t,o)},e.prototype._innerSub=function(t,e,o){var i=new m(this,void 0,void 0);this.destination.add(i),B(this,t,e,o,i)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,o,i,n){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(_);function Ze(t,e,o){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===o&&(o=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(i){return i.lift(new Qe(t,e,o))}}var Qe=function(){function t(t,e,o){this.project=t,this.concurrent=e,this.scheduler=o}return t.prototype.call=function(t,e){return e.subscribe(new Ke(t,this.project,this.concurrent,this.scheduler))},t}(),Ke=function(t){function e(e,o,i,n){var r=t.call(this,e)||this;return r.project=o,r.concurrent=i,r.scheduler=n,r.index=0,r.active=0,r.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(r.buffer=[]),r}return i.__extends(e,t),e.dispatch=function(t){var e=t.subscriber,o=t.result,i=t.value,n=t.index;e.subscribeToProjection(o,i,n)},e.prototype._next=function(t){var o=this.destination;if(o.closed)this._complete();else{var i=this.index++;if(this.active<this.concurrent){o.next(t);try{var n=(0,this.project)(t,i);if(this.scheduler){var r={subscriber:this,result:n,value:t,index:i};this.destination.add(this.scheduler.schedule(e.dispatch,0,r))}else this.subscribeToProjection(n,t,i)}catch(t){o.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,o){this.active++,this.destination.add(B(this,t,e,o))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,o,i,n){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(_);function $e(t){return function(e){return e.lift(new Je(t))}}var Je=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new to(t,this.callback))},t}(),to=function(t){function e(e,o){var i=t.call(this,e)||this;return i.add(new d(o)),i}return i.__extends(e,t),e}(v);function eo(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(o){return o.lift(new oo(t,o,!1,e))}}var oo=function(){function t(t,e,o,i){this.predicate=t,this.source=e,this.yieldIndex=o,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new io(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),io=function(t){function e(e,o,i,n,r){var s=t.call(this,e)||this;return s.predicate=o,s.source=i,s.yieldIndex=n,s.thisArg=r,s.index=0,s}return i.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,o=this.thisArg,i=this.index++;try{e.call(o||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(v);function no(t,e){return function(o){return o.lift(new oo(t,o,!0,e))}}function ro(t,e){var o=arguments.length>=2;return function(i){return i.pipe(t?ke((function(e,o){return t(e,o,i)})):Et,Be(1),o?Qt(e):Ee((function(){return new je})))}}function so(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}so.prototype=Object.create(Error.prototype);var ao=so,po=function(t){function e(e,o){var i=t.call(this)||this;return i.subject=e,i.subscriber=o,i.closed=!1,i}return i.__extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var o=e.indexOf(this.subscriber);-1!==o&&e.splice(o,1)}}},e}(d),co=function(t){function e(e){var o=t.call(this,e)||this;return o.destination=e,o}return i.__extends(e,t),e}(v),uo=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i.__extends(e,t),e.prototype[y]=function(){return new co(this)},e.prototype.lift=function(t){var e=new lo(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new ao;if(!this.isStopped)for(var e=this.observers,o=e.length,i=e.slice(),n=0;n<o;n++)i[n].next(t)},e.prototype.error=function(t){if(this.closed)throw new ao;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,o=e.length,i=e.slice(),n=0;n<o;n++)i[n].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new ao;this.isStopped=!0;for(var t=this.observers,e=t.length,o=t.slice(),i=0;i<e;i++)o[i].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new ao;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new ao;return this.hasError?(t.error(this.thrownError),d.EMPTY):this.isStopped?(t.complete(),d.EMPTY):(this.observers.push(t),new po(this,t))},e.prototype.asObservable=function(){var t=new S;return t.source=this,t},e.create=function(t,e){return new lo(t,e)},e}(S),lo=function(t){function e(e,o){var i=t.call(this)||this;return i.destination=e,i.source=o,i}return i.__extends(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):d.EMPTY},e}(uo);function ho(t,e,o,i){return function(n){return n.lift(new fo(t,e,o,i))}}var fo=function(){function t(t,e,o,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=o,this.subjectSelector=i}return t.prototype.call=function(t,e){return e.subscribe(new yo(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),yo=function(t){function e(e,o,i,n,r){var s=t.call(this,e)||this;return s.keySelector=o,s.elementSelector=i,s.durationSelector=n,s.subjectSelector=r,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return i.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var o=this.groups;o||(o=this.groups=new Map);var i,n=o.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(t){this.error(t)}else i=t;if(!n){n=this.subjectSelector?this.subjectSelector():new uo,o.set(e,n);var r=new go(e,n,this);if(this.destination.next(r),this.durationSelector){var s=void 0;try{s=this.durationSelector(new go(e,n))}catch(t){return void this.error(t)}this.add(s.subscribe(new vo(e,n,this)))}}n.closed||n.next(i)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,o){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(v),vo=function(t){function e(e,o,i){var n=t.call(this,o)||this;return n.key=e,n.group=o,n.parent=i,n}return i.__extends(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(v),go=function(t){function e(e,o,i){var n=t.call(this)||this;return n.key=e,n.groupSubject=o,n.refCountSubscription=i,n}return i.__extends(e,t),e.prototype._subscribe=function(t){var e=new d,o=this.refCountSubscription,i=this.groupSubject;return o&&!o.closed&&e.add(new _o(o)),e.add(i.subscribe(t)),e},e}(S),_o=function(t){function e(e){var o=t.call(this)||this;return o.parent=e,e.count++,o}return i.__extends(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(d);function mo(){return function(t){return t.lift(new bo)}}var bo=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new xo(t))},t}(),xo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype._next=function(t){},e}(v);function wo(){return function(t){return t.lift(new Co)}}var Co=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new So(t))},t}(),So=function(t){function e(e){return t.call(this,e)||this}return i.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(v);function ko(t){return function(e){return 0===t?St():e.lift(new Ao(t))}}var Ao=function(){function t(t){if(this.total=t,this.total<0)throw new Se}return t.prototype.call=function(t,e){return e.subscribe(new Io(t,this.total))},t}(),Io=function(t){function e(e,o){var i=t.call(this,e)||this;return i.total=o,i.ring=new Array,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.ring,o=this.total,i=this.count++;e.length<o?e.push(t):e[i%o]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var o=this.count>=this.total?this.total:this.count,i=this.ring,n=0;n<o;n++){var r=e++%o;t.next(i[r])}t.complete()},e}(v);function Po(t,e){var o=arguments.length>=2;return function(i){return i.pipe(t?ke((function(e,o){return t(e,o,i)})):Et,ko(1),o?Qt(e):Ee((function(){return new je})))}}function Oo(t){return function(e){return e.lift(new To(t))}}var To=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new Mo(t,this.value))},t}(),Mo=function(t){function e(e,o){var i=t.call(this,e)||this;return i.value=o,i}return i.__extends(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(v);function jo(){return function(t){return t.lift(new Eo)}}var Eo=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Do(t))},t}(),Do=function(t){function e(e){return t.call(this,e)||this}return i.__extends(e,t),e.prototype._next=function(t){this.destination.next(ie.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(ie.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(ie.createComplete()),t.complete()},e}(v);function Bo(t,e){var o=!1;return arguments.length>=2&&(o=!0),function(i){return i.lift(new Ro(t,e,o))}}var Ro=function(){function t(t,e,o){void 0===o&&(o=!1),this.accumulator=t,this.seed=e,this.hasSeed=o}return t.prototype.call=function(t,e){return e.subscribe(new Lo(t,this.accumulator,this.seed,this.hasSeed))},t}(),Lo=function(t){function e(e,o,i,n){var r=t.call(this,e)||this;return r.accumulator=o,r._seed=i,r.hasSeed=n,r.index=0,r}return i.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,o=this.index++;try{e=this.accumulator(this.seed,t,o)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(v);function Vo(t,e){return arguments.length>=2?function(o){return w(Bo(t,e),ko(1),Qt(e))(o)}:function(e){return w(Bo((function(e,o,i){return t(e,o,i+1)})),ko(1))(e)}}function No(t){return Vo("function"==typeof t?function(e,o){return t(e,o)>0?e:o}:function(t,e){return t>e?t:e})}function zo(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=Number.POSITIVE_INFINITY,i=null,n=t[t.length-1];return U(n)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(o=t.pop())):"number"==typeof n&&(o=t.pop()),null===i&&1===t.length&&t[0]instanceof S?t[0]:Dt(o)(vt(t,i))}function Fo(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(zo.apply(void 0,[e].concat(t)))}}function Ho(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),"function"==typeof e?Tt((function(){return t}),e,o):("number"==typeof e&&(o=e),Tt((function(){return t}),o))}function Go(t,e,o){return void 0===o&&(o=Number.POSITIVE_INFINITY),function(i){return i.lift(new Uo(t,e,o))}}var Uo=function(){function t(t,e,o){this.accumulator=t,this.seed=e,this.concurrent=o}return t.prototype.call=function(t,e){return e.subscribe(new Wo(t,this.accumulator,this.seed,this.concurrent))},t}(),Wo=function(t){function e(e,o,i,n){var r=t.call(this,e)||this;return r.accumulator=o,r.acc=i,r.concurrent=n,r.hasValue=!1,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return i.__extends(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,o=this.destination,i=void 0;try{i=(0,this.accumulator)(this.acc,t,e)}catch(t){return o.error(t)}this.active++,this._innerSub(i,t,e)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,o){var i=new m(this,void 0,void 0);this.destination.add(i),B(this,t,e,o,i)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t,e,o,i,n){var r=this.destination;this.acc=e,this.hasValue=!0,r.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(_);function Yo(t){return Vo("function"==typeof t?function(e,o){return t(e,o)<0?e:o}:function(t,e){return t<e?t:e})}function Xo(){return function(t){return t.lift(new qo(t))}}var qo=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var o=this.connectable;o._refCount++;var i=new Zo(t,o),n=e.subscribe(i);return i.closed||(i.connection=o.connect()),n},t}(),Zo=function(t){function e(e,o){var i=t.call(this,e)||this;return i.connectable=o,i}return i.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var o=this.connection,i=t._connection;this.connection=null,!i||o&&i!==o||i.unsubscribe()}}else this.connection=null},e}(v),Qo=function(t){function e(e,o){var i=t.call(this)||this;return i.source=e,i.subjectFactory=o,i._refCount=0,i._isComplete=!1,i}return i.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new d).add(this.source.subscribe(new $o(this.getSubject(),this))),t.closed?(this._connection=null,t=d.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return Xo()(this)},e}(S).prototype,Ko={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Qo._subscribe},_isComplete:{value:Qo._isComplete,writable:!0},getSubject:{value:Qo.getSubject},connect:{value:Qo.connect},refCount:{value:Qo.refCount}},$o=function(t){function e(e,o){var i=t.call(this,e)||this;return i.connectable=o,i}return i.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(co);function Jo(t,e){return function(o){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return o.lift(new ti(i,e));var n=Object.create(o,Ko);return n.source=o,n.subjectFactory=i,n}}var ti=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var o=this.selector,i=this.subjectFactory(),n=o(i).subscribe(t);return n.add(e.subscribe(i)),n},t}();function ei(t,e){return void 0===e&&(e=0),function(o){return o.lift(new oi(t,e))}}var oi=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new ii(t,this.scheduler,this.delay))},t}(),ii=function(t){function e(e,o,i){void 0===i&&(i=0);var n=t.call(this,e)||this;return n.scheduler=o,n.delay=i,n}return i.__extends(e,t),e.dispatch=function(t){var e=t.notification,o=t.destination;e.observe(o),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new ni(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(ie.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(ie.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(ie.createComplete()),this.unsubscribe()},e}(v),ni=function(){return function(t,e){this.notification=t,this.destination=e}}();function ri(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&c(t[0])&&(t=t[0]),function(e){return e.lift(new si(t))}}var si=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new ai(t,this.nextSources))},t}(),ai=function(t){function e(e,o){var i=t.call(this,e)||this;return i.destination=e,i.nextSources=o,i}return i.__extends(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new m(this,void 0,void 0);this.destination.add(e),B(this,t,void 0,void 0,e)}else this.destination.complete()},e}(_);function pi(){return function(t){return t.lift(new ci)}}var ci=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ui(t))},t}(),ui=function(t){function e(e){var o=t.call(this,e)||this;return o.hasPrev=!1,o}return i.__extends(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(v);function li(t,e){function o(){return!o.pred.apply(o.thisArg,arguments)}return o.pred=t,o.thisArg=e,o}function hi(t,e){return function(o){return[ke(t,e)(o),ke(li(t,e))(o)]}}function di(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=t.length;if(0===o)throw new Error("list of properties cannot be empty.");return function(e){return It(fi(t,o))(e)}}function fi(t,e){return function(o){for(var i=o,n=0;n<e;n++){var r=i[t[n]];if(void 0===r)return;i=r}return i}}function yi(t){return t?Jo((function(){return new uo}),t):Jo(new uo)}var vi=function(t){function e(e){var o=t.call(this)||this;return o._value=e,o}return i.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var o=t.prototype._subscribe.call(this,e);return o&&!o.closed&&e.next(this._value),o},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ao;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(uo);function gi(t){return function(e){return Jo(new vi(t))(e)}}var _i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return i.__extends(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),d.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),d.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(uo);function mi(){return function(t){return Jo(new _i)(t)}}var bi=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.scheduler=e,i.work=o,i}return i.__extends(e,t),e.prototype.schedule=function(e,o){return void 0===o&&(o=0),o>0?t.prototype.schedule.call(this,e,o):(this.delay=o,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,o){return o>0||this.closed?t.prototype.execute.call(this,e,o):this._execute(e,o)},e.prototype.requestAsyncId=function(e,o,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,o,i):e.flush(this)},e}(N),xi=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(F))(bi),wi=function(t){function e(e,o,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===o&&(o=Number.POSITIVE_INFINITY);var n=t.call(this)||this;return n.scheduler=i,n._events=[],n._infiniteTimeWindow=!1,n._bufferSize=e<1?1:e,n._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(n._infiniteTimeWindow=!0,n.next=n.nextInfiniteTimeWindow):n.next=n.nextTimeWindow,n}return i.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var o=this._events;o.push(e),o.length>this._bufferSize&&o.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new Ci(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,o=this._infiniteTimeWindow,i=o?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,r=i.length;if(this.closed)throw new ao;if(this.isStopped||this.hasError?e=d.EMPTY:(this.observers.push(t),e=new po(this,t)),n&&t.add(t=new ii(t,n)),o)for(var s=0;s<r&&!t.closed;s++)t.next(i[s]);else for(s=0;s<r&&!t.closed;s++)t.next(i[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||xi).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,o=this._windowTime,i=this._events,n=i.length,r=0;r<n&&!(t-i[r].time<o);)r++;return n>e&&(r=Math.max(r,n-e)),r>0&&i.splice(0,r),i},e}(uo),Ci=function(){return function(t,e){this.time=t,this.value=e}}();function Si(t,e,o,i){o&&"function"!=typeof o&&(i=o);var n="function"==typeof o?o:void 0,r=new wi(t,e,i);return function(t){return Jo((function(){return r}),n)(t)}}function ki(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!c(t[0]))return t[0];t=t[0]}return vt(t,void 0).lift(new Ai)}var Ai=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Ii(t))},t}(),Ii=function(t){function e(e){var o=t.call(this,e)||this;return o.hasFirst=!1,o.observables=[],o.subscriptions=[],o}return i.__extends(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var o=0;o<e&&!this.hasFirst;o++){var i=t[o],n=B(this,i,i,o);this.subscriptions&&this.subscriptions.push(n),this.add(n)}this.observables=null}},e.prototype.notifyNext=function(t,e,o,i,n){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==o){var s=this.subscriptions[r];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(_);function Pi(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&c(t[0])&&(t=t[0]),e.lift.call(ki.apply(void 0,[e].concat(t)))}}function Oi(t){return void 0===t&&(t=-1),function(e){return 0===t?St():t<0?e.lift(new Ti(-1,e)):e.lift(new Ti(t-1,e))}}var Ti=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Mi(t,this.count,this.source))},t}(),Mi=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.count=o,n.source=i,n}return i.__extends(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,o=this.count;if(0===o)return t.prototype.complete.call(this);o>-1&&(this.count=o-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(v);function ji(t){return function(e){return e.lift(new Ei(t))}}var Ei=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new Di(t,this.notifier,e))},t}(),Di=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.notifier=o,n.source=i,n.sourceIsBeingSubscribedTo=!0,n}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new uo;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=B(this,e)},e}(_);function Bi(t){return void 0===t&&(t=-1),function(e){return e.lift(new Ri(t,e))}}var Ri=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Li(t,this.count,this.source))},t}(),Li=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.count=o,n.source=i,n}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var o=this.source,i=this.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),o.subscribe(this._unsubscribeAndRecycle())}},e}(v);function Vi(t){return function(e){return e.lift(new Ni(t,e))}}var Ni=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new zi(t,this.notifier,this.source))},t}(),zi=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.notifier=o,n.source=i,n}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var o=this.errors,i=this.retries,n=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{o=new uo;try{i=(0,this.notifier)(o)}catch(e){return t.prototype.error.call(this,e)}n=B(this,i)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=i,this.retriesSubscription=n,o.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,o,i,n){var r=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=r,this.source.subscribe(this)},e}(_);function Fi(t){return function(e){return e.lift(new Hi(t))}}var Hi=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var o=new Gi(t),i=e.subscribe(o);return i.add(B(o,this.notifier)),i},t}(),Gi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return i.__extends(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,o,i,n){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(_);function Ui(t,e){return void 0===e&&(e=H),function(o){return o.lift(new Wi(t,e))}}var Wi=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Yi(t,this.period,this.scheduler))},t}(),Yi=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.period=o,n.scheduler=i,n.hasValue=!1,n.add(i.schedule(Xi,o,{subscriber:n,period:o})),n}return i.__extends(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(v);function Xi(t){var e=t.subscriber,o=t.period;e.notifyNext(),this.schedule(t,o)}function qi(t,e){return function(o){return o.lift(new Zi(t,e))}}var Zi=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new Qi(t,this.compareTo,this.comparator))},t}(),Qi=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.compareTo=o,n.comparator=i,n._a=[],n._b=[],n._oneComplete=!1,n.destination.add(o.subscribe(new Ki(e,n))),n}return i.__extends(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,o=this.comparator;t.length>0&&e.length>0;){var i=t.shift(),n=e.shift(),r=!1;try{r=o?o(i,n):i===n}catch(t){this.destination.error(t)}r||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(v),Ki=function(t){function e(e,o){var i=t.call(this,e)||this;return i.parent=o,i}return i.__extends(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(v);function $i(){return new uo}function Ji(){return function(t){return Xo()(Jo($i)(t))}}function tn(t,e,o){var i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:o},function(t){return t.lift(function(t){var e,o,i=t.bufferSize,n=void 0===i?Number.POSITIVE_INFINITY:i,r=t.windowTime,s=void 0===r?Number.POSITIVE_INFINITY:r,a=t.refCount,p=t.scheduler,c=0,u=!1,l=!1;return function(t){c++,e&&!u||(u=!1,e=new wi(n,s,p),o=t.subscribe({next:function(t){e.next(t)},error:function(t){u=!0,e.error(t)},complete:function(){l=!0,e.complete()}}));var i=e.subscribe(this);this.add((function(){c--,i.unsubscribe(),o&&!l&&a&&0===c&&(o.unsubscribe(),o=void 0,e=void 0)}))}}(i))}}function en(t){return function(e){return e.lift(new on(t,e))}}var on=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new nn(t,this.predicate,this.source))},t}(),nn=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.predicate=o,n.source=i,n.seenValue=!1,n.index=0,n}return i.__extends(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new je)},e}(v);function rn(t){return function(e){return e.lift(new sn(t))}}var sn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new an(t,this.total))},t}(),an=function(t){function e(e,o){var i=t.call(this,e)||this;return i.total=o,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(v);function pn(t){return function(e){return e.lift(new cn(t))}}var cn=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new Se}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new v(t)):e.subscribe(new un(t,this._skipCount))},t}(),un=function(t){function e(e,o){var i=t.call(this,e)||this;return i._skipCount=o,i._count=0,i._ring=new Array(o),i}return i.__extends(e,t),e.prototype._next=function(t){var e=this._skipCount,o=this._count++;if(o<e)this._ring[o]=t;else{var i=o%e,n=this._ring,r=n[i];n[i]=t,this.destination.next(r)}},e}(v);function ln(t){return function(e){return e.lift(new hn(t))}}var hn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new dn(t,this.notifier))},t}(),dn=function(t){function e(e,o){var i=t.call(this,e)||this;i.hasValue=!1;var n=new m(i,void 0,void 0);return i.add(n),i.innerSubscription=n,B(i,o,void 0,void 0,n),i}return i.__extends(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(t,e,o,i,n){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(_);function fn(t){return function(e){return e.lift(new yn(t))}}var yn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new vn(t,this.predicate))},t}(),vn=function(t){function e(e,o){var i=t.call(this,e)||this;return i.predicate=o,i.skipping=!0,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(v);function gn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var o=t[t.length-1];U(o)?t.pop():o=null;var i=t.length;return Rt(1!==i||o?i>0?vt(t,o):St(o):kt(t[0]),e)}}var _n=1,mn={};var bn=function(t){var e=_n++;return mn[e]=t,Promise.resolve().then((function(){return function(t){var e=mn[t];e&&e()}(e)})),e},xn=function(t){delete mn[t]},wn=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.scheduler=e,i.work=o,i}return i.__extends(e,t),e.prototype.requestAsyncId=function(e,o,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,o,i):(e.actions.push(this),e.scheduled||(e.scheduled=bn(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,o,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,o,i);0===e.actions.length&&(xn(o),e.scheduled=void 0)},e}(N),Cn=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,o=this.actions,i=-1,n=o.length;t=t||o.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<n&&(t=o.shift()));if(this.active=!1,e){for(;++i<n&&(t=o.shift());)t.unsubscribe();throw e}},e}(F))(wn),Sn=function(t){function e(e,o,i){void 0===o&&(o=0),void 0===i&&(i=Cn);var n=t.call(this)||this;return n.source=e,n.delayTime=o,n.scheduler=i,(!G(o)||o<0)&&(n.delayTime=0),i&&"function"==typeof i.schedule||(n.scheduler=Cn),n}return i.__extends(e,t),e.create=function(t,o,i){return void 0===o&&(o=0),void 0===i&&(i=Cn),new e(t,o,i)},e.dispatch=function(t){var e=t.source,o=t.subscriber;return this.add(e.subscribe(o))},e.prototype._subscribe=function(t){var o=this.delayTime,i=this.source;return this.scheduler.schedule(e.dispatch,o,{source:i,subscriber:t})},e}(S);function kn(t,e){return void 0===e&&(e=0),function(o){return o.lift(new An(t,e))}}var An=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new Sn(e,this.delay,this.scheduler).subscribe(t)},t}();function In(t,e){return"function"==typeof e?function(o){return o.pipe(In((function(o,i){return xt(t(o,i)).pipe(It((function(t,n){return e(o,t,i,n)})))})))}:function(e){return e.lift(new Pn(t))}}var Pn=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new On(t,this.project))},t}(),On=function(t){function e(e,o){var i=t.call(this,e)||this;return i.project=o,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e,o=this.index++;try{e=this.project(t,o)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,o)},e.prototype._innerSub=function(t,e,o){var i=this.innerSubscription;i&&i.unsubscribe();var n=new m(this,void 0,void 0);this.destination.add(n),this.innerSubscription=B(this,t,e,o,n)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,o,i,n){this.destination.next(e)},e}(_);function Tn(){return In(Et)}function Mn(t,e){return e?In((function(){return t}),e):In((function(){return t}))}function jn(t){return function(e){return e.lift(new En(t))}}var En=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var o=new Dn(t),i=B(o,this.notifier);return i&&!o.seenValue?(o.add(i),e.subscribe(o)):o},t}(),Dn=function(t){function e(e){var o=t.call(this,e)||this;return o.seenValue=!1,o}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(_);function Bn(t,e){return void 0===e&&(e=!1),function(o){return o.lift(new Rn(t,e))}}var Rn=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new Ln(t,this.predicate,this.inclusive))},t}(),Ln=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.predicate=o,n.inclusive=i,n.index=0,n}return i.__extends(e,t),e.prototype._next=function(t){var e,o=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void o.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var o=this.destination;Boolean(e)?o.next(t):(this.inclusive&&o.next(t),o.complete())},e}(v),Vn={leading:!0,trailing:!1};function Nn(t,e){return void 0===e&&(e=Vn),function(o){return o.lift(new zn(t,e.leading,e.trailing))}}var zn=function(){function t(t,e,o){this.durationSelector=t,this.leading=e,this.trailing=o}return t.prototype.call=function(t,e){return e.subscribe(new Fn(t,this.durationSelector,this.leading,this.trailing))},t}(),Fn=function(t){function e(e,o,i,n){var r=t.call(this,e)||this;return r.destination=e,r.durationSelector=o,r._leading=i,r._trailing=n,r._hasValue=!1,r}return i.__extends(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=B(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,o,i,n){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(_);function Hn(t,e,o){return void 0===e&&(e=H),void 0===o&&(o=Vn),function(i){return i.lift(new Gn(t,e,o.leading,o.trailing))}}var Gn=function(){function t(t,e,o,i){this.duration=t,this.scheduler=e,this.leading=o,this.trailing=i}return t.prototype.call=function(t,e){return e.subscribe(new Un(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),Un=function(t){function e(e,o,i,n,r){var s=t.call(this,e)||this;return s.duration=o,s.scheduler=i,s.leading=n,s.trailing=r,s._hasTrailingValue=!1,s._trailingValue=null,s}return i.__extends(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Wn,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(v);function Wn(t){t.subscriber.clearThrottle()}function Yn(t){return void 0===t&&(t=H),function(e){return o=function(){return e.pipe(Bo((function(e,o){var i=e.current;return{value:o,current:t.now(),last:i}}),{current:t.now(),value:void 0,last:void 0}),It((function(t){var e=t.current,o=t.last,i=t.value;return new Xn(i,e-o)})))},new S((function(t){var e;try{e=o()}catch(e){return void t.error(e)}return(e?xt(e):St()).subscribe(t)}));var o}}var Xn=function(){return function(t,e){this.value=t,this.interval=e}}();function qn(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}qn.prototype=Object.create(Error.prototype);var Zn=qn;function Qn(t,e,o){return void 0===o&&(o=H),function(i){var n=te(t),r=n?+t-o.now():Math.abs(t);return i.lift(new Kn(r,n,e,o))}}var Kn=function(){function t(t,e,o,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=o,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new $n(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),$n=function(t){function e(e,o,i,n,r){var s=t.call(this,e)||this;return s.absoluteTimeout=o,s.waitFor=i,s.withObservable=n,s.scheduler=r,s.action=null,s.scheduleTimeout(),s}return i.__extends(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(B(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(_);function Jn(t,e){return void 0===e&&(e=H),Qn(t,ee(new Zn),e)}function tr(t){return void 0===t&&(t=H),It((function(e){return new er(e,t.now())}))}var er=function(){return function(t,e){this.value=t,this.timestamp=e}}();function or(t,e,o){return 0===o?[e]:(t.push(e),t)}function ir(){return Vo(or,[])}function nr(t){return function(e){return e.lift(new rr(t))}}var rr=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var o=new sr(t),i=e.subscribe(o);return i.closed||o.add(B(o,this.windowBoundaries)),i},t}(),sr=function(t){function e(e){var o=t.call(this,e)||this;return o.window=new uo,e.next(o.window),o}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,o=this.window=new uo;e.next(o)},e}(_);function ar(t,e){return void 0===e&&(e=0),function(o){return o.lift(new pr(t,e))}}var pr=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new cr(t,this.windowSize,this.startWindowEvery))},t}(),cr=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.destination=e,n.windowSize=o,n.startWindowEvery=i,n.windows=[new uo],n.count=0,e.next(n.windows[0]),n}return i.__extends(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,o=this.destination,i=this.windowSize,n=this.windows,r=n.length,s=0;s<r&&!this.closed;s++)n[s].next(t);var a=this.count-i+1;if(a>=0&&a%e==0&&!this.closed&&n.shift().complete(),++this.count%e==0&&!this.closed){var p=new uo;n.push(p),o.next(p)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(v);function ur(t){var e=H,o=null,i=Number.POSITIVE_INFINITY;return U(arguments[3])&&(e=arguments[3]),U(arguments[2])?e=arguments[2]:G(arguments[2])&&(i=arguments[2]),U(arguments[1])?e=arguments[1]:G(arguments[1])&&(o=arguments[1]),function(n){return n.lift(new lr(t,o,i,e))}}var lr=function(){function t(t,e,o,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=o,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new dr(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),hr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return i.__extends(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(uo),dr=function(t){function e(e,o,i,n,r){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=o,s.windowCreationInterval=i,s.maxWindowSize=n,s.scheduler=r,s.windows=[];var a=s.openWindow();if(null!==i&&i>=0){var p={subscriber:s,window:a,context:null},c={windowTimeSpan:o,windowCreationInterval:i,subscriber:s,scheduler:r};s.add(r.schedule(vr,o,p)),s.add(r.schedule(yr,i,c))}else{var u={subscriber:s,window:a,windowTimeSpan:o};s.add(r.schedule(fr,o,u))}return s}return i.__extends(e,t),e.prototype._next=function(t){for(var e=this.windows,o=e.length,i=0;i<o;i++){var n=e[i];n.closed||(n.next(t),n.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(n))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new hr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(v);function fr(t){var e=t.subscriber,o=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,o)}function yr(t){var e=t.windowTimeSpan,o=t.subscriber,i=t.scheduler,n=t.windowCreationInterval,r=o.openWindow(),s={action:this,subscription:null},a={subscriber:o,window:r,context:s};s.subscription=i.schedule(vr,e,a),this.add(s.subscription),this.schedule(t,n)}function vr(t){var e=t.subscriber,o=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(o)}function gr(t,e){return function(o){return o.lift(new _r(t,e))}}var _r=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new mr(t,this.openings,this.closingSelector))},t}(),mr=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.openings=o,n.closingSelector=i,n.contexts=[],n.add(n.openSubscription=B(n,o,o)),n}return i.__extends(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var o=e.length,i=0;i<o;i++)e[i].window.next(t)},e.prototype._error=function(e){var o=this.contexts;if(this.contexts=null,o)for(var i=o.length,n=-1;++n<i;){var r=o[n];r.window.error(e),r.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var o=e.length,i=-1;++i<o;){var n=e[i];n.window.complete(),n.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,o=-1;++o<e;){var i=t[o];i.window.unsubscribe(),i.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,o,i,n){if(t===this.openings){var r=void 0;try{r=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new uo,a=new d,p={window:s,subscription:a};this.contexts.push(p);var c=B(this,r,p);c.closed?this.closeWindow(this.contexts.length-1):(c.context=p,a.add(c)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,o=e[t],i=o.window,n=o.subscription;e.splice(t,1),i.complete(),n.unsubscribe()}},e}(_);function br(t){return function(e){return e.lift(new xr(t))}}var xr=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new wr(t,this.closingSelector))},t}(),wr=function(t){function e(e,o){var i=t.call(this,e)||this;return i.destination=e,i.closingSelector=o,i.openWindow(),i}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.openWindow(n)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var o,i=this.window=new uo;this.destination.next(i);try{o=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=B(this,o))},e}(_);function Cr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var o;"function"==typeof t[t.length-1]&&(o=t.pop());var i=t;return e.lift(new Sr(i,o))}}var Sr=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new kr(t,this.observables,this.project))},t}(),kr=function(t){function e(e,o,i){var n=t.call(this,e)||this;n.observables=o,n.project=i,n.toRespond=[];var r=o.length;n.values=new Array(r);for(var s=0;s<r;s++)n.toRespond.push(s);for(s=0;s<r;s++){var a=o[s];n.add(B(n,a,a,s))}return n}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,o,i,n){this.values[o]=e;var r=this.toRespond;if(r.length>0){var s=r.indexOf(o);-1!==s&&r.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(_);function Ar(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=t[t.length-1];return"function"==typeof o&&t.pop(),vt(t,void 0).lift(new Ir(o))}var Ir=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Pr(t,this.resultSelector))},t}(),Pr=function(t){function e(e,o,i){void 0===i&&(i=Object.create(null));var n=t.call(this,e)||this;return n.iterators=[],n.active=0,n.resultSelector="function"==typeof o?o:null,n.values=i,n}return i.__extends(e,t),e.prototype._next=function(t){var e=this.iterators;c(t)?e.push(new Tr(t)):"function"==typeof t[O]?e.push(new Or(t[O]())):e.push(new Mr(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var o=0;o<e;o++){var i=t[o];if(i.stillUnsubscribed)this.destination.add(i.subscribe(i,o));else this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,o=this.destination,i=0;i<e;i++){if("function"==typeof(s=t[i]).hasValue&&!s.hasValue())return}var n=!1,r=[];for(i=0;i<e;i++){var s,a=(s=t[i]).next();if(s.hasCompleted()&&(n=!0),a.done)return void o.complete();r.push(a.value)}this.resultSelector?this._tryresultSelector(r):o.next(r),n&&o.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(v),Or=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),Tr=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[O]=function(){return this},t.prototype.next=function(t){var e=this.index++,o=this.array;return e<this.length?{value:o[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Mr=function(t){function e(e,o,i){var n=t.call(this,e)||this;return n.parent=o,n.observable=i,n.stillUnsubscribed=!0,n.buffer=[],n.isComplete=!1,n}return i.__extends(e,t),e.prototype[O]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,o,i,n){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return B(this,this.observable,this,e)},e}(_);function jr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Ar.apply(void 0,[e].concat(t)))}}function Er(t){return function(e){return e.lift(new Ir(t))}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0);i.__exportStar(o(40),e),i.__exportStar(o(235),e),i.__exportStar(o(36),e),i.__exportStar(o(236),e),i.__exportStar(o(91),e),i.__exportStar(o(94),e);var n=o(18);e.ChartModule=n.ChartModule;var r=o(95);e.StockChartModule=r.StockChartModule;var s=o(96);e.SparklineModule=s.SparklineModule;var a=o(267);e.ChartsModule=a.ChartsModule;var p=o(31);e.TooltipPopupComponent=p.TooltipPopupComponent;var c=o(34);e.CrosshairTooltipsContainerComponent=c.CrosshairTooltipsContainerComponent;var u=o(12);e.PopupComponent=u.PopupComponent;var l=o(8);e.ResizeSensorComponent=l.ResizeSensorComponent},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(2),s=function(){function t(t){this.configurationService=t,this.axisLabelClick=new r.EventEmitter,this.drag=new r.EventEmitter,this.dragEnd=new r.EventEmitter,this.dragStart=new r.EventEmitter,this.legendItemHover=new r.EventEmitter,this.legendItemLeave=new r.EventEmitter,this.noteClick=new r.EventEmitter,this.noteHover=new r.EventEmitter,this.noteLeave=new r.EventEmitter,this.paneRender=new r.EventEmitter,this.plotAreaClick=new r.EventEmitter,this.plotAreaHover=new r.EventEmitter,this.plotAreaLeave=new r.EventEmitter,this.render=new r.EventEmitter,this.select=new r.EventEmitter,this.selectEnd=new r.EventEmitter,this.selectStart=new r.EventEmitter,this.seriesClick=new r.EventEmitter,this.seriesHover=new r.EventEmitter,this.seriesOver=new r.EventEmitter,this.seriesLeave=new r.EventEmitter,this.zoom=new r.EventEmitter,this.zoomEnd=new r.EventEmitter,this.zoomStart=new r.EventEmitter}return i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"pannable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"renderAs",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],t.prototype,"seriesColors",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"title",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"transitions",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"zoomable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"axisDefaults",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"categoryAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"chartArea",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"legend",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],t.prototype,"panes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"paneDefaults",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"plotArea",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],t.prototype,"series",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"seriesDefaults",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"tooltip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"valueAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"xAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"yAxis",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"axisLabelClick",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"drag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"dragEnd",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"dragStart",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"legendItemHover",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"legendItemLeave",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"noteClick",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"noteHover",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"noteLeave",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"paneRender",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"plotAreaClick",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"plotAreaHover",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"plotAreaLeave",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"render",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"select",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"selectEnd",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"selectStart",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"seriesClick",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"seriesHover",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"seriesOver",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"seriesLeave",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"zoom",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"zoomEnd",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"zoomStart",void 0),t}();e.ChartComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.preventDefault=function(){},e.prototype.isDefaultPrevented=function(){return!1},e}(o(23).LegendEvent);e.LegendItemLeaveEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(25).NoteEvent);e.NoteLeaveEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(6).BaseEvent);e.PlotAreaLeaveEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(27).SeriesEvent);e.SeriesOverEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(o(27).SeriesEvent);e.SeriesLeaveEvent=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"aggregate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"autoFit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"axis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"categoryAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"categoryField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"closeField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"colorField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"connectors",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"currentField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"dashType",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"downColor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"downColorField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"dynamicHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"dynamicSlope",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"errorHighField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"errorLowField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"explodeField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"field",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"fromField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"gap",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"highField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"holeSize",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"lowField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"lowerField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"maxSize",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"mean",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"meanField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"median",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"medianField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"minSize",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"missingValues",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"neckRatio",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"negativeColor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"negativeValues",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"noteTextField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"openField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"outliersField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"overlay",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"q1Field",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"q3Field",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"segmentSpacing",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"sizeField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"spacing",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"stack",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"style",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"summaryField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"target",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"toField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"upperField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visibleInLegend",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"visibleInLegendField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"whiskers",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"xAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"xErrorHighField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"xErrorLowField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"xField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"yAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"yErrorHighField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"yErrorLowField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"yField",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"zIndex",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"errorBars",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"extremes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"highlight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"markers",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"outliers",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(11).CollectionItemComponent);e.SeriesItemComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(10);e.chartDefaultTheme=function(){return Object.assign({},i.chartBaseTheme(),{axisDefaults:{crosshair:{color:"rgba(0, 0, 0, 0.5)"},labels:{color:"rgb(101, 101, 101)",font:"12px serif"},line:{color:"rgba(0, 0, 0, 0.08)"},majorGridLines:{color:"rgba(0, 0, 0, 0.08)"},minorGridLines:{color:"rgba(0, 0, 0, 0.04)"},notes:{icon:{background:"rgba(0, 0, 0, 0.5)",border:{color:"rgba(0, 0, 0, 0.5)"}},line:{color:"rgba(0, 0, 0, 0.5)"},label:{font:"14px serif"}},title:{color:"rgb(101, 101, 101)",font:"14px serif"}},chartArea:{background:"rgb(255, 255, 255)"},legend:{inactiveItems:{labels:{color:"rgba(102, 102, 102, 0.5)"},markers:{color:"rgba(102, 102, 102, 0.5)"}},labels:{color:"rgb(101, 101, 101)",font:"14px serif"}},seriesDefaults:{boxPlot:{downColor:"rgba(0, 0, 0, 0.08)",mean:{color:"rgb(246, 246, 246)"},median:{color:"rgb(246, 246, 246)"},whiskers:{color:"rgb(255, 99, 88)"}},bullet:{target:{color:"rgb(101, 101, 101)"}},candlestick:{downColor:"rgb(101, 101, 101)",line:{color:"rgb(101, 101, 101)"}},errorBars:{color:"rgba(0, 0, 0, 0.5)"},horizontalWaterfall:{line:{color:"rgba(0, 0, 0, 0.08)"}},icon:{border:{color:"rgba(0, 0, 0, 0.08)"}},labels:{background:"rgb(255, 255, 255)",color:"rgb(101, 101, 101)",opacity:.8,font:"12px serif"},notes:{icon:{background:"rgba(0, 0, 0, 0.5)",border:{color:"rgba(0, 0, 0, 0.5)"}},line:{color:"rgba(0, 0, 0, 0.5)"},label:{font:"14px serif"}},overlay:{gradient:"none"},verticalBoxPlot:{downColor:"rgba(0, 0, 0, 0.08)",mean:{color:"rgb(246, 246, 246)"},median:{color:"rgb(246, 246, 246)"},whiskers:{color:"rgb(255, 99, 88)"}},verticalBullet:{target:{color:"rgb(101, 101, 101)"}},waterfall:{line:{color:"rgba(0, 0, 0, 0.08)"}},area:{opacity:.8}},title:{color:"rgb(101, 101, 101)",font:"16px serif"},seriesColors:["rgb(255, 99, 88)","rgb(255, 210, 70)","rgb(120, 210, 55)","rgb(40, 180, 200)","rgb(45, 115, 245)","rgb(170, 70, 190)"]})}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=function(t){function e(e){var o=t.call(this,e)||this;return o.handlerMap={hideTooltip:"onHideTooltip",legendItemClick:"onLegendItemClick",render:"onRender",showTooltip:"onShowTooltip",init:"onInit"},o}return i.__extends(e,t),e}(o(10).InstanceObserver);e.ChartInstanceObserver=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,o){this.value=t.value,this.category=t.category,this.categoryIndex=t.categoryIx,this.series=t.series,this.dataItem=t.dataItem,this.percentage=t.percentage,this.runningTotal=t.runningTotal,this.total=t.total,this.low=t.low,this.high=t.high,this.xLow=t.xLow,this.xHigh=t.xHigh,this.yLow=t.yLow,this.yHigh=t.yHigh,this.template=o,this.point=t,this.format=e}return Object.defineProperty(t.prototype,"formattedValue",{get:function(){return this.format?this.point.formatValue(this.format):String(this.value)},enumerable:!0,configurable:!0}),t}();e.TooltipTemplatePoint=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(111),n=o(10),r=n.DateCategoryAxis.prototype.options.labels.dateFormats,s=n.DateValueAxis.prototype.options.labels.dateFormats,a={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(r,a),Object.assign(s,a),n.DomEventsBuilder.register(i.DomEventsBuilder)},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2),n=o(112),r=function(){function t(){}return t.create=function(t,e){if("undefined"!=typeof window){var o=window.Hammer;if(!o){if(i.isDevMode())throw new Error("Hammerjs is not loaded.Solution: http://www.telerik.com/kendo-angular-ui/components/charts/troubleshooting/#toc-hammerjs-is-not-loaded");return}var r=new o(t,{recognizers:[[o.Tap],[o.Pan],[o.Pinch],[o.Press,{time:0}]]});return new n.DomEvents(r,e)}},t}();e.DomEventsBuilder=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return{x:{location:t.pageX},y:{location:t.pageY}}};function n(t,e){for(var o=0;o<t.length;o++)if(e[t[o]])return!0;return!1}var r=[{end:"panend",move:"panmove",start:"panstart"},{gesturechange:"pinchmove",gestureend:"pinchend",gesturestart:"pinchstart"},{press:"press"},{tap:"tap"}],s=function(){function t(t,e){this.hammerInstance=t,this.eventHandlers={},this.tap=this.tap.bind(this),this.press=this.press.bind(this),this.panstart=this.panstart.bind(this),this.panmove=this.panmove.bind(this),this.panend=this.panend.bind(this),this.pinchstart=this.pinchstart.bind(this),this.pinchmove=this.pinchmove.bind(this),this.pinchend=this.pinchend.bind(this),e&&this.bind(e)}return t.prototype.tap=function(t){this.trigger("tap",t)},t.prototype.press=function(t){this.trigger("press",t)},t.prototype.panstart=function(t){delete this.previous,this.previous=this.trigger("start",t)},t.prototype.panmove=function(t){this.previous=this.trigger("move",t)},t.prototype.panend=function(t){this.trigger("end",t),delete this.previous},t.prototype.pinchstart=function(t){this.trigger("gesturestart",t)},t.prototype.pinchmove=function(t){this.trigger("gesturechange",t)},t.prototype.pinchend=function(t){this.trigger("gestureend",t)},t.prototype.trigger=function(t,e){var o=function(t,e){var o=t.pointers,n=o[0],r=n.pageX,s=n.pageY,a=0;if(o.length>1){var p=o[0],c=o[1];a=Math.sqrt(Math.pow(p.pageX-c.pageX,2)+Math.pow(p.pageY-c.pageY,2))}return{distance:a,event:t.srcEvent,preventDefault:function(){t.preventDefault()},target:t.target,touches:o.map(i),type:t.type,x:{delta:e?r-e.x.location:0,initialDelta:t.deltaX,location:r,startLocation:r-t.deltaX},y:{delta:e?s-e.y.location:0,initialDelta:t.deltaY,location:s,startLocation:s-t.deltaY}}}(e,this.previous);return this.eventHandlers[t]&&this.eventHandlers[t](o),o},t.prototype.bind=function(t){void 0===t&&(t={}),this.unbind(),this.eventHandlers=t;for(var e=0;e<r.length;e++){var o=r[e],i=Object.keys(o);if(n(i,t))for(var s=0;s<i.length;s++){var a=o[i[s]];this.hammerInstance.on(a,this[a])}}},t.prototype.unbind=function(){this.hammerInstance&&this.hammerInstance.off(),this.eventHandlers={}},t.prototype.destroy=function(){this.hammerInstance&&(this.hammerInstance.destroy(),delete this.hammerInstance),delete this.eventHandlers},t.prototype.toggleDrag=function(t){this.toggle("pan",t)},t.prototype.toggleZoom=function(t){this.toggle("pinch",t)},t.prototype.toggle=function(t,e){this.hammerInstance&&this.hammerInstance.get(t).set({enable:e})},t}();e.DomEvents=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(114).AxisDefaultsComponentGenerated);e.AxisDefaultsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"axisDefaults",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-crosshair",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(116).AxisDefaultsCrosshairComponentGenerated);e.AxisDefaultsCrosshairComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"axisDefaults.crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"dashType",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsCrosshairComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(118).AxisDefaultsCrosshairTooltipComponentGenerated);e.AxisDefaultsCrosshairTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"axisDefaults.crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsCrosshairTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(120).AxisDefaultsLabelsComponentGenerated);e.AxisDefaultsLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"axisDefaults.labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsLabelsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-axis-defaults-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(122).AxisDefaultsTitleComponentGenerated);e.AxisDefaultsTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"axisDefaults.title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.AxisDefaultsTitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-category-axis",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService])],e)}(o(124).CategoryAxisComponentGenerated);e.CategoryAxisComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(14),s=o(35),a=function(t){function e(e,o){var i=t.call(this,"categoryAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.ContentChildren(s.CategoryAxisItemComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e}(r.CollectionComponent);e.CategoryAxisComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(11),s=(o(36),function(t){function e(e,o,i,n){var r=t.call(this,e,o)||this;return r.configurationService=e,r.collectionService=o,r.notifyChanges({weekStartDay:i.firstDay(n)}),r}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"autoBaseUnitSteps",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"baseUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"baseUnitStep",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"categories",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"justified",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"maxDateGroups",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"maxDivisions",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"roundToBaseUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"weekStartDay",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"select",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(r.CollectionItemComponent));e.CategoryAxisItemComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday"}(e.WeekStartDay||(e.WeekStartDay={}))},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"dashType",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.CategoryAxisCrosshairComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.CategoryAxisCrosshairTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.configKey="rangeLabels",o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-category-axis-item-range-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(37).CategoryAxisLabelsComponent);e.CategoryAxisRangeLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.CategoryAxisNotesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.CategoryAxisNotesIconComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.CategoryAxisNotesLabelComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"select",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"mousewheel",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.CategoryAxisSelectComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.CategoryAxisTitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-area",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(136).ChartAreaComponentGenerated);e.ChartAreaComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"chartArea",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),e}(o(4).SettingsComponent);e.ChartAreaComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-legend",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(138).LegendComponentGenerated);e.LegendComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"legend",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"align",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"offsetX",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"offsetY",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"orientation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"markers",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"spacing",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"inactiveItems",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"item",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(4).SettingsComponent);e.LegendComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-legend-inactive-items",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(140).LegendInactiveItemsComponentGenerated);e.LegendInactiveItemsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"legend.inactiveItems",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),e}(o(4).SettingsComponent);e.LegendInactiveItemsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-legend-item",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(142).LegendItemComponentGenerated);e.LegendItemComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"legend.item",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"cursor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.LegendItemComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,"paneDefaults",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"clip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-pane-defaults",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(4).SettingsComponent);e.PaneDefaultsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,"paneDefaults.title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-pane-defaults-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(4).SettingsComponent);e.PaneDefaultsTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-panes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService])],e)}(o(146).PanesComponentGenerated);e.PanesComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(14),s=o(72),a=function(t){function e(e,o){var i=t.call(this,"panes",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.ContentChildren(s.PaneComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e}(r.CollectionComponent);e.PanesComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.PanesTitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-plot-area",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(149).PlotAreaComponentGenerated);e.PlotAreaComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"plotArea",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),e}(o(4).SettingsComponent);e.PlotAreaComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(14),s=o(16),a=function(t){function e(e,o){var i=t.call(this,"series",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.ContentChildren(s.SeriesItemComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e}(r.CollectionComponent);e.SeriesComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(152).SeriesDefaultsComponentGenerated);e.SeriesDefaultsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"gap",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"highlight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"overlay",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"spacing",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"stack",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(154).SeriesDefaultsLabelsComponentGenerated);e.SeriesDefaultsLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsLabelsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-labels-from",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(156).SeriesDefaultsLabelsFromComponentGenerated);e.SeriesDefaultsLabelsFromComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.labels.from",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsLabelsFromComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-labels-to",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(158).SeriesDefaultsLabelsToComponentGenerated);e.SeriesDefaultsLabelsToComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.labels.to",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsLabelsToComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(160).SeriesDefaultsNotesComponentGenerated);e.SeriesDefaultsNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsNotesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(162).SeriesDefaultsNotesIconComponentGenerated);e.SeriesDefaultsNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsNotesIconComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(164).SeriesDefaultsNotesLabelComponentGenerated);e.SeriesDefaultsNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsNotesLabelComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-series-defaults-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(166).SeriesDefaultsTooltipComponentGenerated);e.SeriesDefaultsTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"seriesDefaults.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesDefaultsTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"errorBars",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"endCaps",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"value",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"xValue",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"yValue",void 0),e}(o(4).SettingsComponent);e.SeriesErrorBarsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"extremes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),e}(o(4).SettingsComponent);e.SeriesExtremesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"highlight",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"markers",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"toggle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.SeriesHighlightComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"align",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"distance",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.SeriesLabelsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"labels.from",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesLabelsFromComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"labels.to",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesLabelsToComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"markers",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"from",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"to",void 0),e}(o(4).SettingsComponent);e.SeriesMarkersComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.SeriesNotesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesNotesIconComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.SeriesNotesLabelComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"outliers",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),e}(o(4).SettingsComponent);e.SeriesOutliersComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(179).TitleComponentGenerated);e.TitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"align",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.TitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(181),a=o(32),p=o(33),c=o(9),u=function(t){function e(e,o){var i=t.call(this,e)||this;return i.configurationService=e,i.templateService=o,i.markAsVisible(),i}return i.__extends(e,t),e.prototype.ngAfterContentChecked=function(){this.templateService.setTemplate(this.seriesTooltipTemplate?this.seriesTooltipTemplate.templateRef:null),this.templateService.setSharedTemplate(this.sharedTooltipTemplate?this.sharedTooltipTemplate.templateRef:null)},i.__decorate([n.ContentChild(a.SeriesTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",a.SeriesTooltipTemplateDirective)],e.prototype,"seriesTooltipTemplate",void 0),i.__decorate([n.ContentChild(p.SharedTooltipTemplateDirective,{static:!1}),i.__metadata("design:type",p.SharedTooltipTemplateDirective)],e.prototype,"sharedTooltipTemplate",void 0),e=i.__decorate([n.Component({selector:"kendo-chart-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,c.TooltipTemplateService])],e)}(s.TooltipComponentGenerated);e.TooltipComponent=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"shared",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.TooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-value-axis",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService])],e)}(o(183).ValueAxisComponentGenerated);e.ValueAxisComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(14),s=o(87),a=function(t){function e(e,o){var i=t.call(this,"valueAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.ContentChildren(s.ValueAxisItemComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e}(r.CollectionComponent);e.ValueAxisComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"majorUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"minorUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(11).CollectionItemComponent);e.ValueAxisItemComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(186).ValueAxisCrosshairComponentGenerated);e.ValueAxisCrosshairComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.ValueAxisCrosshairComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(188).ValueAxisCrosshairTooltipComponentGenerated);e.ValueAxisCrosshairTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.ValueAxisCrosshairTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(190).ValueAxisLabelsComponentGenerated);e.ValueAxisLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.ValueAxisLabelsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(192).ValueAxisNotesComponentGenerated);e.ValueAxisNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.ValueAxisNotesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(194).ValueAxisNotesIconComponentGenerated);e.ValueAxisNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.ValueAxisNotesIconComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(196).ValueAxisNotesLabelComponentGenerated);e.ValueAxisNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.ValueAxisNotesLabelComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-value-axis-item-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(198).ValueAxisTitleComponentGenerated);e.ValueAxisTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.ValueAxisTitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-x-axis",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService])],e)}(o(200).XAxisComponentGenerated);e.XAxisComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(14),s=o(88),a=function(t){function e(e,o){var i=t.call(this,"xAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.ContentChildren(s.XAxisItemComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e}(r.CollectionComponent);e.XAxisComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(11),s=(o(36),function(t){function e(e,o,i,n){var r=t.call(this,e,o)||this;return r.configurationService=e,r.collectionService=o,r.notifyChanges({weekStartDay:i.firstDay(n)}),r}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"baseUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"majorUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"minorUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"startAngle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"weekStartDay",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(r.CollectionItemComponent));e.XAxisItemComponentGenerated=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(203).XAxisCrosshairComponentGenerated);e.XAxisCrosshairComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.XAxisCrosshairComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(205).XAxisCrosshairTooltipComponentGenerated);e.XAxisCrosshairTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.XAxisCrosshairTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(207).XAxisLabelsComponentGenerated);e.XAxisLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"culture",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"dateFormats",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.XAxisLabelsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(209).XAxisNotesComponentGenerated);e.XAxisNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.XAxisNotesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(211).XAxisNotesIconComponentGenerated);e.XAxisNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.XAxisNotesIconComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(213).XAxisNotesLabelComponentGenerated);e.XAxisNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.XAxisNotesLabelComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-x-axis-item-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(215).XAxisTitleComponentGenerated);e.XAxisTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.XAxisTitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-y-axis",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService])],e)}(o(217).YAxisComponentGenerated);e.YAxisComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(14),s=o(89),a=function(t){function e(e,o){var i=t.call(this,"yAxis",e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.ContentChildren(s.YAxisItemComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e}(r.CollectionComponent);e.YAxisComponentGenerated=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.configurationService=e,i.collectionService=o,i}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"axisCrossingValue",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"baseUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"majorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"majorUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"max",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"min",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorGridLines",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"minorTicks",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"minorUnit",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"name",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"narrowRange",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"pane",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"plotBands",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"crosshair",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"labels",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"notes",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"title",void 0),e}(o(11).CollectionItemComponent);e.YAxisItemComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-crosshair",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(220).YAxisCrosshairComponentGenerated);e.YAxisCrosshairComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"opacity",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"tooltip",void 0),e}(o(4).SettingsComponent);e.YAxisCrosshairComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(222).YAxisCrosshairTooltipComponentGenerated);e.YAxisCrosshairTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"crosshair.tooltip",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.YAxisCrosshairTooltipComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(224).YAxisLabelsComponentGenerated);e.YAxisLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"labels",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"culture",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"dateFormats",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"mirror",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"skip",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"step",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.YAxisLabelsComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(226).YAxisNotesComponentGenerated);e.YAxisNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"line",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"icon",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"label",void 0),e}(o(4).SettingsComponent);e.YAxisNotesComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(228).YAxisNotesIconComponentGenerated);e.YAxisNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.icon",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"size",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.YAxisNotesIconComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(230).YAxisNotesLabelComponentGenerated);e.YAxisNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"notes.label",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e}(o(4).SettingsComponent);e.YAxisNotesLabelComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-y-axis-item-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(232).YAxisTitleComponentGenerated);e.YAxisTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"title",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"background",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"border",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"color",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"font",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"padding",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],e.prototype,"rotation",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"visual",void 0),e}(o(4).SettingsComponent);e.YAxisTitleComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-zoomable",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(234).ZoomableComponentGenerated);e.ZoomableComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=function(t){function e(e){var o=t.call(this,"zoomable",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"mousewheel",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"selection",void 0),e}(o(4).SettingsComponent);e.ZoomableComponentGenerated=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(42);e.AxisLabelClickEvent=i.AxisLabelClickEvent;var n=o(44);e.DragEndEvent=n.DragEndEvent;var r=o(43);e.DragEvent=r.DragEvent;var s=o(45);e.DragStartEvent=s.DragStartEvent;var a=o(41);e.LegendItemClickEvent=a.LegendItemClickEvent;var p=o(46);e.LegendItemHoverEvent=p.LegendItemHoverEvent;var c=o(47);e.NoteClickEvent=c.NoteClickEvent;var u=o(48);e.NoteHoverEvent=u.NoteHoverEvent;var l=o(49);e.PaneRenderEvent=l.PaneRenderEvent;var h=o(50);e.PlotAreaClickEvent=h.PlotAreaClickEvent;var d=o(51);e.PlotAreaHoverEvent=d.PlotAreaHoverEvent;var f=o(26);e.RenderEvent=f.RenderEvent;var y=o(53);e.SelectEndEvent=y.SelectEndEvent;var v=o(52);e.SelectEvent=v.SelectEvent;var g=o(54);e.SelectStartEvent=g.SelectStartEvent;var _=o(55);e.SeriesClickEvent=_.SeriesClickEvent;var m=o(56);e.SeriesHoverEvent=m.SeriesHoverEvent;var b=o(58);e.ZoomEndEvent=b.ZoomEndEvent;var x=o(57);e.ZoomEvent=x.ZoomEvent;var w=o(59);e.ZoomStartEvent=w.ZoomStartEvent},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(90);e.NavigatorFilterEvent=i.NavigatorFilterEvent},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(2),s=o(3),a=o(92),p=o(9),c=o(19),u=o(17),l=o(13),h=o(238),d=o(10),f=o(15),y=o(21),v=o(22),g={autoBindElements:!0,liveDrag:!1,partialRedraw:!0},_=function(t){function e(e,o,i,r,s,a,p,c,u){var l=t.call(this,e,o,i,r,s,a,p,c,u)||this;return l.configurationService=e,l.themeService=o,l.element=i,l.intl=r,l.localizationService=s,l.ngZone=a,l.instanceEventService=p,l.changeDetector=c,l.renderer=u,l.navigatorFilter=new n.EventEmitter,l.redrawSlaves=!1,l.hostClasses=["k-chart","k-stockchart"],y.validatePackage(v.packageMetadata),l}return i.__extends(e,t),e.prototype.skipNavigatorRedraw=function(){this.redrawSlaves=!0},e.prototype.createInstance=function(t,e){if(this.applyNavigatorDefaults(),this.isDevMode()&&(this.options.zoomable||this.options.pannable))throw new Error("The pannable and zoomable options are not supported by the StockChart component.");this.instance=new d.StockChart(t,this.options,this.theme,{intlService:this.intl,observer:e,rtl:this.rtl,sender:this})},e.prototype.updateOptions=function(){this.applyNavigatorDefaults(),this.redrawSlaves?(this.instance.applyOptions(this.options),this.instance.bindCategories(),this.instance.navigator.redrawSlaves()):this.instance.setOptions(this.options),this.redrawSlaves=!1},e.prototype.applyNavigatorDefaults=function(){this.options.navigator=Object.assign({},this.options.navigator,g)},e.prototype.isDevMode=function(){return r.isDevMode()},i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"navigator",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"pannable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"zoomable",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],e.prototype,"navigatorFilter",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,exportAs:"kendoStockChart",providers:[s.ConfigurationService,p.TooltipTemplateService,{provide:a.RootConfigurationService,useExisting:s.ConfigurationService},h.StockInstanceEventService,f.LocalizationService,{provide:f.L10N_PREFIX,useValue:"kendo.chart"}],selector:"kendo-stockchart",template:'\n <div #surface class="k-chart-surface"></div>\n <kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltips-container>\n <kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-chart-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize($event)"></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[s.ConfigurationService,u.ThemeService,n.ElementRef,l.IntlService,f.LocalizationService,n.NgZone,h.StockInstanceEventService,n.ChangeDetectorRef,n.Renderer2])],e)}(c.ChartComponent);e.StockChartComponent=_},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(24),r={navigatorFilter:o(90).NavigatorFilterEvent},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.create=function(e,o,i){return r[e]?new r[e](o,i):t.prototype.create.call(this,e,o,i)},e}(n.InstanceEventService);e.StockInstanceEventService=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(38),a=function(t){function e(e){var o=t.call(this,"",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"categoryAxis",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"hint",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"pane",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"select",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"series",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[{provide:s.PREFIX,useValue:"navigator"},{provide:r.ConfigurationService,useClass:s.PrefixConfigurationService}],selector:"kendo-chart-navigator",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(4).SettingsComponent);e.NavigatorComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(13),s=o(3),a=o(38),p=function(t){function e(e,o,i){var n=t.call(this,e,null,o,i)||this;return n.configurationService=e,n}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[{provide:a.PREFIX,useValue:"navigator.categoryAxis"},{provide:s.ConfigurationService,useClass:a.PrefixConfigurationService}],selector:"kendo-chart-navigator-category-axis",template:""}),i.__param(2,n.Inject(n.LOCALE_ID)),i.__metadata("design:paramtypes",[s.ConfigurationService,r.IntlService,String])],e)}(o(35).CategoryAxisItemComponent);e.NavigatorCategoryAxisComponent=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-crosshair",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(65).CategoryAxisCrosshairComponent);e.NavigatorCategoryAxisCrosshairComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-crosshair-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(66).CategoryAxisCrosshairTooltipComponent);e.NavigatorCategoryAxisCrosshairTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(37).CategoryAxisLabelsComponent);e.NavigatorCategoryAxisLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(67).CategoryAxisNotesComponent);e.NavigatorCategoryAxisNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(68).CategoryAxisNotesIconComponent);e.NavigatorCategoryAxisNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(69).CategoryAxisNotesLabelComponent);e.NavigatorCategoryAxisNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-select",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(70).CategoryAxisSelectComponent);e.NavigatorCategoryAxisSelectComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-category-axis-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(71).CategoryAxisTitleComponent);e.NavigatorCategoryAxisTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,"hint",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Function)],e.prototype,"content",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"format",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],e.prototype,"visible",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-hint",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(4).SettingsComponent);e.NavigatorHintComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(38),a=function(t){function e(e){var o=t.call(this,e,null)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[{provide:s.PREFIX,useValue:"navigator.pane"},{provide:r.ConfigurationService,useClass:s.PrefixConfigurationService}],selector:"kendo-chart-navigator-pane",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(73).PaneComponentGenerated);e.NavigatorPaneComponent=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-pane-title",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(74).PanesTitleComponent);e.NavigatorPaneTitleComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,"select",e)||this;return o.configurationService=e,o}return i.__extends(e,t),i.__decorate([n.Input(),i.__metadata("design:type",Date)],e.prototype,"from",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Date)],e.prototype,"to",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],e.prototype,"mousewheel",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-select",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(4).SettingsComponent);e.NavigatorSelectComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(5),a=o(9),p=o(75),c=o(93),u=function(t){function e(e,o,i){var n=t.call(this,e,o,i)||this;return n.configurationService=e,n.collectionService=o,n.tooltipTemplateService=i,n}return i.__extends(e,t),e.prototype.readTooltipTemplates=function(){},i.__decorate([n.ContentChildren(c.NavigatorSeriesItemComponent),i.__metadata("design:type",n.QueryList)],e.prototype,"children",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[s.CollectionService],selector:"kendo-chart-navigator-series",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService,s.CollectionService,a.TooltipTemplateService])],e)}(p.SeriesComponent);e.NavigatorSeriesComponent=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-error-bars",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(76).SeriesErrorBarsComponent);e.NavigatorSeriesErrorBarsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-extremes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(77).SeriesExtremesComponent);e.NavigatorSeriesExtremesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-highlight",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(78).SeriesHighlightComponent);e.NavigatorSeriesHighlightComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-labels",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(79).SeriesLabelsComponent);e.NavigatorSeriesLabelsComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-labels-from",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(80).SeriesLabelsFromComponent);e.NavigatorSeriesLabelsFromComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o.markAsVisible(),o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-labels-to",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(81).SeriesLabelsToComponent);e.NavigatorSeriesLabelsToComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-markers",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(82).SeriesMarkersComponent);e.NavigatorSeriesMarkersComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-notes",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(83).SeriesNotesComponent);e.NavigatorSeriesNotesComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-notes-icon",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(84).SeriesNotesIconComponent);e.NavigatorSeriesNotesIconComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-notes-label",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(85).SeriesNotesLabelComponent);e.NavigatorSeriesNotesLabelComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-outliers",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(86).SeriesOutliersComponent);e.NavigatorSeriesOutliersComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=function(t){function e(e){var o=t.call(this,e)||this;return o.configurationService=e,o}return i.__extends(e,t),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,selector:"kendo-chart-navigator-series-item-tooltip",template:""}),i.__metadata("design:paramtypes",[r.ConfigurationService])],e)}(o(30).SeriesTooltipComponent);e.NavigatorSeriesTooltipComponent=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3),s=o(9),a=o(24),p=o(19),c=o(17),u=o(13),l=o(10),h=o(15),d=o(21),f=o(22),y=function(t){function e(e,o,i,n,r,s,a,p,c){var u=t.call(this,e,o,i,n,r,s,a,p,c)||this;return u.configurationService=e,u.themeService=o,u.element=i,u.intl=n,u.localizationService=r,u.ngZone=s,u.instanceEventService=a,u.changeDetector=p,u.renderer=c,u.tooltipWrapperClass="k-sparkline-tooltip-wrapper",u.tooltipContentClasses={"k-sparkline-tooltip":!0},u.hostClasses=["k-sparkline","k-widget"],d.validatePackage(f.packageMetadata),u}return i.__extends(e,t),e.prototype.createInstance=function(t,e){this.instance=new l.Sparkline(t,l.Sparkline.normalizeOptions(this.options),this.theme,{intlService:this.intl,observer:e,rtl:this.rtl,sender:this})},e.prototype.updateOptions=function(){this.instance.setOptions(l.Sparkline.normalizeOptions(this.options))},i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"type",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Array)],e.prototype,"data",void 0),e=i.__decorate([n.Component({changeDetection:n.ChangeDetectionStrategy.OnPush,exportAs:"kendoSparkline",providers:[r.ConfigurationService,s.TooltipTemplateService,a.InstanceEventService,h.LocalizationService,{provide:h.L10N_PREFIX,useValue:"kendo.chart"}],selector:"kendo-sparkline",template:'\n <span #surface class="k-chart-surface"></span>\n <kendo-chart-crosshair-tooltips-container [popupSettings]="popupSettings">\n </kendo-chart-crosshair-tooltips-container>\n <kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"\n [classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-chart-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize($event)"></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[r.ConfigurationService,c.ThemeService,n.ElementRef,u.IntlService,h.LocalizationService,n.NgZone,a.InstanceEventService,n.ChangeDetectorRef,n.Renderer2])],e)}(p.ChartComponent);e.SparklineComponent=y},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(18),s=o(95),a=o(96),p=function(){function t(){}return t=i.__decorate([n.NgModule({exports:[r.ChartModule,a.SparklineModule,s.StockChartModule]})],t)}();e.ChartsModule=p}])}));
|