1"use strict";(self.webpackChunkreport_finance=self.webpackChunkreport_finance||[]).push([["843"],{85802:function(t,e,i){i.d(e,{_:function(){return v},b:function(){return m}});var n=i(3460),r=i(42969),s=i(85280),a=i(91489),o=i(37688),l=i(75300),h=i(18586),u=i(88166),p=i(66016),d=i(31272),c=i(98479),f=i(42736),g=i(13866),y=i(30101),m=function(){function t(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return t.prototype.debug=function(){},Object.defineProperty(t.prototype,"uid",{get:function(){return this._uid||(this._uid=d.u.getUniqueId(),d.u.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new a.bT),this._map},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delayedMap",{get:function(){return this._delayedMap||(this._delayedMap=new a.bT),this._delayedMap},enumerable:!0,configurable:!0}),t.prototype.addDelayedMap=function(t,e){var i=this.delayedMap;i.hasKey(e)||i.setKey(e,[]),i.getKey(e).push({property:t,target:this})},t.prototype.processDelayedMap=function(){var t=this;this.delayedMap.each(function(e,i){if(t.map.hasKey(e)){var n=t.map.getKey(e);f.__(i,function(t){t.target[t.property]=n}),t.delayedMap.removeKey(e)}})},t.prototype.applyTheme=function(){var t=this;if(d.u){var e=this.getCurrentThemes();e&&f.__(e,function(e,i){e(t)})}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(t){this._themes=t},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||d.u.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;)t.shift().dispose();this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var e=this._uid;null!=e&&d.u.map.removeKey(e)}},t.prototype.addDisposer=function(t){this._disposers.push(t)},t.prototype.removeDispose=function(t){if(!this._disposed){var e=f.qh(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()},t.prototype.clone=function(t){t||(t="clone-"+d.u.getUniqueId());var e=new this.constructor;return e.cloneId=t,e.copyFrom(this),e},Object.defineProperty(t.prototype,"clones",{get:function(){return this._clones||(this._clones=new r.B8),this._clones},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(t){t.clones.push(this),this.clonedFrom=t},Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){c.P.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),c.P.get(this.uid,t,e)},t.prototype.clearCache=function(){c.P.clear(this.uid)},t.prototype.setTimeout=function(t,e){var i=this,n=setTimeout(function(){i.removeDispose(r),t()},e),r=new o.W_(function(){clearTimeout(n)});return this._disposers.push(r),r},t.prototype.setInterval=function(t,e){var i=this,n=setInterval(function(){i.removeDispose(r),t()},e),r=new o.W_(function(){clearTimeout(n)});return this._disposers.push(r),r},Object.defineProperty(t.prototype,"config",{set:function(t){try{this.processConfig(t)}catch(t){this.raiseCriticalError(t)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(e){var i=this;if(e){var n=this;if(g.jh(e,function(e,o){var c,f=o;if("callback"==e&&"function"==typeof o&&o.call(n),i.hasProperty(e))if(y.Gv(f)&&y.a4(f.type)&&(!y.Gv(n[e])||!y.a4(n[e].className)||f.forceCreate||n[e].className!=f.type)&&!i.asIs(e)&&(c=i.createClassInstance(f.type))?n[e]=c:c=n[e],c instanceof h.Y3)i.processAdapters(c,f);else if(c instanceof l.Q)i.processEvents(c,f);else if("locale"==e&&y.Kg(f))window["am4lang_"+f]&&(n[e]=window["am4lang_"+f]);else if("parent"==e&&y.Kg(f)){var m=i.map.getKey(f);m?n[e]=m:i.addDelayedMap("parent",f)}else if(i.asIs(e))n[e]=f;else if(i.asFunction(e)&&y.Kg(f))if(y.a4(d.u.registeredClasses[f]))n[e]=d.u.registeredClasses[f];else throw Error("Invalid easing function: "+f);else if(f instanceof t)n[e]=f;else if(c instanceof t)c.config=f;else if(c instanceof r.TS||c instanceof s.qc||c instanceof s.QE){
1if(y.cy(f))c instanceof r.TS?i.processListTemplate(f,c):i.processOrderedTemplate(f,c);else if(y.Gv(f))if(f instanceof t)c.template=f;else{var v=void 0;v=y.a4(f.template)?f.template:f,c.template instanceof t?c.template.config=v:g.__(v,function(e,n){var s=c.template[e];s instanceof h.Y3?i.processAdapters(s,n):s instanceof l.Q?i.processEvents(s,n):s instanceof a.Vt?i.processDictionaryTemplate(s,n):c.template[e]instanceof t?c.template[e].config=n:y.Gv(n)&&y.a4(n.type)?(s=i.createClassInstance(n.type))?(s instanceof t&&(s.config=n),c.template[e]=s):c.template[e]=n:s instanceof r.B8?i.processList(n,s):c.template[e]=i.maybeColorOrPercent(n)}),y.a4(f.values)&&(c instanceof r.TS?i.processListTemplate(f.values,c):i.processOrderedTemplate(f.values,c))}}else c instanceof r.B8?"children"==e?i.processList(f,c,i):i.processList(f,c):c instanceof a.Vt?i.processDictionaryTemplate(c,f):c instanceof a.bT?i.processDictionary(c,f):c instanceof u.Q1||c instanceof p.QE?n[e]=i.maybeColorOrPercent(f):y.Gv(c)&&y.Gv(f)?g.I4(f,c):(f=i.maybeColorOrPercent(f),n[e]=f);else i.isReserved(e)||(n[e]=f)},this.configOrder),this.processingErrors.length){var o=this.processingErrors.join("\n");throw this._processingErrors=[],Error(o)}}},t.prototype.maybeColorOrPercent=function(t){if(y.Kg(t)){if(t.match(/^[\-]?[0-9.]+\%$/))return(0,p.KN)(y.Ro(t));else if(t.match(/^\#[0-9abcdef]{3,}$/i))return(0,u.yW)(t)}return t},t.prototype.processAdapters=function(t,e){var i=this;y.cy(e)?f.__(e,function(e,n){t.add(e.key,e.callback,e.priority||0,i)}):y.Gv(e)&&g.__(e,function(e,i){t.has(e,i)||t.add(e,i)})},t.prototype.processEvents=function(t,e){var i=this;y.cy(e)?f.__(e,function(e,n){t.on(e.type,e.callback,i)}):y.Gv(e)&&g.__(e,function(e,i){t.has(e,i)||t.on(e,i)})},t.prototype.processDictionaryTemplate=function(e,i){y.Gv(i)&&g.__(i,function(i,n){var r;(r="template"==i?e.template:e.hasKey(i)?e.getKey(i):e.create(i))instanceof t?r.config=n:y.Gv(r)&&y.Gv(n)?g.I4(n,r):r.setKey(i,n)})},t.prototype.processDictionary=function(t,e){y.Gv(e)&&g.__(e,function(e,i){t.setKey(e,i)})},t.prototype.processListTemplate=function(e,i){var n=this;for(f.__(e,function(e,r){var s,a=n.getConfigEntryType(e);if(i.hasIndex(r)&&!e.forceCreate)s=i.getIndex(r);else{if(e instanceof t)return void i.push(e);s=a?i.create(a):i.create()}e===s||y.Gv(e)&&(s instanceof t?s.config=e:y.Gv(s)&&y.Gv(e)?g.I4(e,s):i.setIndex(i.indexOf(s),e))});e.length>i.length;)i.pop()},t.prototype.processOrderedTemplate=function(e,i){var n=this;f.__(e,function(e,r){var s,a=n.getConfigEntryType(e);s=a?i.create(a):i.create(),y.Gv(e)&&(s instanceof t?s.config=e:y.Gv(s)&&y.Gv(e)?g.I4(e,s):i.insert(e))})},t.prototype.processList=function(e,i,n){var r=this;y.cy(e)||(e=[e]);var s=i.length,a=0;for(f.__(e,function(e,o){if(y.Gv(e)){var l=void 0;if(o<s&&!e.forceCreate)l=i.getIndex(o);else{if(e instanceof t)return void i.push(e);a++,l=r.createEntryInstance(e),n?l.parent=n:i.push(l)}l instanceof t?l.config=e:y.Gv(l)&&y.Gv(e)&&g.I4(e,l)}else i.hasIndex(o)?i.setIndex(o,e):i.push(e)});!n&&e.length+a<i.length;)i.pop()},t.prototype.configOrder=function(t,e){return t==e?0:"language"==t?-1:1*("language"==e)},t.prototype.asIs=function(t){return -1!=f.qh(["locale"],t)},t.prototype.asFunction=function(t){return!1},t.prototype.createClassInstance=function(t){if(y.a4(d.u.registeredClasses[t]))return new d.u.registeredClasses[t];throw Error('Invalid type: "'+t+'".')},t.prototype.createEntryInstance=function(t){var e;return(y.a4(t.type)&&(e=this.createClassInstance(t.type)),e)?e:t},t.prototype.getConfigEntryType=function(t){if(y.a4(t.type))if(y.a4(d.u.registeredClasses[t.type]))return d.u.registeredClasses[t.type];else throw Error('Invalid type: "'+t.type+'".')},t.prototype.hasProperty=function(t){return t in this},t.prototype.isReserved=function(t){return -1!==["type","forceCreate"].indexOf(t)},Object.defineProperty(t.prototype,"processingErrors",{get:function(){return this._processingErrors||(this._processingErrors=[]),this._processingErrors},enumerable:!0,configurable:!0}),t}(),v=function(t){function e(){var e=t.call(this)||this;return e.className="BaseObjectEvents",e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher||(this._eventDispatcher=new l.Q,this._disposers.push(this._eventDispatcher)),this._eventDispatcher},enumerable:!0,configurable:!0}),e.prototype.dispatch=function(t,e){this._eventDispatcher&&this.events.isEnabled(t)&&(e&&(e.type=t,e.target=e.target||this),this.events.dispatch(t,{type:t,target:this}))},e.prototype.dispatchImmediately=function(t,e){this._eventDispatcher&&this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e._eventDispatcher&&this.events.copyFrom(e._eventDispatcher)},e}(m)}
1,35376:function(t,e,i){i.d(e,{u:function(){return x}});var n=i(3460),r=i(1944),s=i(42969),a=i(85280),o=i(91489),l=i(37688),h=i(27771),u=i(80999),p=i(10942),d=i(53624),c=i(31272),f=i(39351),g=i(42736),y=i(11159),m=i(35580),v=i(22855),b=i(13866),_=i(30101),x=function(t){function e(){var e=t.call(this)||this;return e.dataFields={},e._dataSources={},e._parseDataFrom=0,e._dataDisposers=[],e._currentDataSetId="",e._start=0,e._end=1,e.skipRangeEvent=!1,e.rangeChangeDuration=0,e.rangeChangeEasing=y.Jx,e.parsingStepDuration=50,e.dataInvalid=!1,e.rawDataInvalid=!1,e.dataRangeInvalid=!1,e.dataItemsInvalid=!1,e.interpolationDuration=0,e.interpolationEasing=y.Jx,e.sequencedInterpolation=!0,e.sequencedInterpolationDelay=0,e.dataValidationProgress=0,e._addAllDataItems=!0,e._usesData=!0,e.className="Component",e.minZoomCount=1,e.maxZoomCount=0,e._dataItems=new a.qc(e.createDataItem()),e._dataItems.events.on("inserted",e.handleDataItemAdded,e,!1),e._dataItems.events.on("removed",e.handleDataItemRemoved,e,!1),e._disposers.push(new s.a(e._dataItems)),e._disposers.push(e._dataItems.template),e.invali
1dateData(),e.dataUsers.events.on("inserted",e.handleDataUserAdded,e,!1),e._disposers.push(new l.ZT(e._dataDisposers)),e._start=0,e._end=1,e.maxZoomDeclination=1,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.createDataItem=function(){return new d.s},e.prototype.handleDataUserAdded=function(t){t.newValue.dataProvider=this},e.prototype.handleDataItemValueChange=function(t,e){this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemWorkingValueChange=function(t,e){},e.prototype.handleDataItemWorkingLocationChange=function(t,e){},e.prototype.handleDataItemCalculatedValueChange=function(t,e){},e.prototype.handleDataItemPropertyChange=function(t,e){},e.prototype.processDataItem=function(t,e){var i=this;if(t){e||(e={}),t.dataContext=e;var n=!1;b.__(this.dataFields,function(r,o){var l=e[o];if(i._adapterO&&i._adapterO.isEnabled("dataContextValue")&&(l=i._adapterO.apply("dataContextValue",{field:r,value:l,dataItem:t}).value),_.a4(l))if(n=!0,t.hasChildren[r]){var h=i.createDataItem();h.copyFrom(i.mainDataSet.template);var u=new a.qc(h);u.events.on("inserted",i.handleDataItemAdded,i,!1),u.events.on("removed",i.handleDataItemRemoved,i,!1),i._dataDisposers.push(new s.a(u));for(var p=l.length,d=0;d<p;d++){var c=l[d],f=u.create();f.parent=t,i.processDataItem(f,c)}t[r]=u}else t[r]=l}),b.__(this.propertyFields,function(i,r){var s=e[r];_.a4(s)&&(n=!0,t.setProperty(i,s))}),this._addAllDataItems||n||this.mainDataSet.remove(t)}},e.prototype.updateDataItem=function(t){var e=this;if(t){var i=t.dataContext;b.__(this.dataFields,function(n,r){var s=i[r];e._adapterO&&(s=e._adapterO.apply("dataContextValue",{field:n,value:s,dataItem:t}).value),_.a4(s)&&(t.hasChildren[n]?t[n].each(function(t){e.updateDataItem(t)}):t[n]=s)}),b.__(this.propertyFields,function(e,n){var r=i[n];_.a4(r)&&t.setProperty(e,r)})}},e.prototype.validateDataElements=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){var i=this.dataItems.getIndex(e);i&&this.validateDataElement(i)}},e.prototype.validate=function(){this.validateDataElements(),t.prototype.validate.call(this)},e.prototype.validateDataElement=function(t){},e.prototype.addData=function(t,e,i){var n=this;if(!this.dataInvalid&&this.inited&&(this._parseDataFrom=this.data.length),i||(t instanceof Array?g.__(t,function(t){n.data.push(t)}):this.data.push(t)),this.inited)this.removeData(e,i);else if(_.Et(e))for(;e>0;)this.data.shift(),e--;this.invalidateData()},e.prototype.removeData=function(t,e){if(_.Et(t)&&t>0){for(;t>0;){var i=this.mainDataSet.getIndex(0);i&&this.mainDataSet.remove(i),this.dataUsers.each(function(t){if(!t.data||0==t.data.length){var e=t.mainDataSet.getIndex(0);e&&t.mainDataSet.remove(e)}}),e||this.data.shift(),this._parseDataFrom>0&&this._parseDataFrom--,t--}this.invalidateDataItems()}},e.prototype.invalidateData=function(){this.disabled||this.isTemplate||(c.u.addToInvalidComponents(this),p.q.requestFrame(),this.dataInvalid=!0,v.__(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataUsers=function(){v.__(this.dataUsers.iterator(),function(t){t.invalidate()})},e.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(g.Cy(c.u.invalidDataItems,this),p.q.requestFrame(),this.dataItemsInvalid=!0,v.__(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,g.Cy(c.u.invalidDataRange,this),p.q.requestFrame())},e.prototype.validateDataRange=function(){g.TF(c.u.invalidDataRange,this),this.dataRangeInvalid=!1,(this.startIndex!=this._prevStartIndex||this.endIndex!=this._prevEndIndex)&&(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},e.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},e.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},e.prototype.appendDataItems=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){var i=this.dataItems.getIndex(e);i&&(i.__disabled=!1)}for(var e=0;e<this.startIndex;e++){var i=this.dataItems.getIndex(e);i&&(i.__disabled=!0)}for(var e=this.endIndex;e<this.dataItems.length;e++){var i=this.dataItems.getIndex(e);i&&(i.__disabled=!0)}},e.prototype.invalidateRawData=function(){this.disabled||this.isTemplate||(g.Cy(c.u.invali
1dRawDatas,this),p.q.requestFrame(),this.rawDataInvalid=!0,v.__(this.dataUsers.iterator(),function(t){t.invalidateRawData()}))},e.prototype.validateRawData=function(){var t=this;g.TF(c.u.invalidRawDatas,this),v.__(this.mainDataSet.iterator(),function(e){e&&t.updateDataItem(e)})},e.prototype.dispose=function(){var e=this;this.mainDataSet.template.clones.clear(),b.__(this._dataSources,function(t,i){e.removeDispose(i)}),this.disposeData(),t.prototype.dispose.call(this)},e.prototype.disposeData=function(){this.mainDataSet.template.clones.clear(),g.__(this._dataDisposers,function(t){t.dispose()}),v.__(this.dataUsers.iterator(),function(t){t.disposeData()}),this._dataDisposers.length=0,this._startIndex=void 0,this._endIndex=void 0,this.mainDataSet.clear(),this.mainDataSet.template.clones.clear(),this._dataSets&&this._dataSets.clear()},e.prototype.getDataItem=function(t){return this.mainDataSet.create()},e.prototype.validateData=function(){if(this.dispatchImmediately("beforedatavalidated"),this.dataInvalid=!1,c.u.removeFromInvalidComponents(this),!this.__disabled){if(this.dataValidationProgress=0,this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.dataFields.data&&this.dataItem){var t=this.dataItem.dataContext;this._data=t[this.dataFields.data]}if(0===this._parseDataFrom&&this.data.length>0&&this.disposeData(),this.data.length>0){var e=this.preloader;v.__(this.dataUsers.iterator(),function(t){t._startIndex=void 0,t._endIndex=void 0});for(var i=0,n=Date.now(),r=this._parseDataFrom,s=this.data.length,a=this;r<s;r++){var o=function(){var t=a.data[r];if(a._usesData){var s=a.getDataItem(t);a.processDataItem(s,t)}if(a.dataUsers.each(function(e){if(0==e.data.length){var i=e.getDataItem(t);e.processDataItem(i,t)}}),100==++i&&(i=0,Date.now()-n>a.parsingStepDuration&&r<a.data.length-10))return a._parseDataFrom=r+1,e&&(r/a.data.length>.5&&!e.visible||(e.progress=r/a.data.length)),a.dataValidationProgress=r/a.data.length,r=a.data.length,a.invalidateData(),{value:void 0}}();if("object"==typeof o)return o.value}e&&(e.progress=1),this.dataUsers.each(function(t){t.hidden&&t.hide(0)})}this.dataValidationProgress=1,this._parseDataFrom=0,this.invalidateDataItems(),this._internalDefaultsApplied||this.applyInternalDefaults(),this.dispatch("datavalidated")}},e.prototype.validateDataItems=function(){g.TF(c.u.invalidDataItems,this),this.dataItemsInvalid=!1,this.invalidateDataRange(),this.invalidate(),this.dispatch("dataitemsvalidated")},Object.defineProperty(e.prototype,"data",{get:function(){return(this._data||(this._data=[]),this._adapterO)?this._adapterO.apply("data",this._data):this._data},set:function(t){this.setData(t)},enumerable:!0,configurable:!0}),e.prototype.setData=function(t){this.isDisposed()||(this._parseDataFrom=0,this.disposeData(),this._data=t,t&&t.length>0?this.invalidateData():(this.dispatchImmediately("beforedatavalidated"),this.dispatch("datavalidated")))},e.prototype.getDataSource=function(t){var e=this;return _.a4(this._dataSources[t])||(this._dataSources[t]=new h.q,this._dataSources[t].component=this,this.setDataSourceEvents(this._dataSources[t],t),this._dataSources[t].adapter.add("dateFields",function(t){return e.dataSourceDateFields(t)}),this._dataSources[t].adapter.add("numberFields",function(t){return e.dataSourceNumberFields(t)}),this.events.on("inited",function(){e.loadData(t)},this,!1)),this._dataSources[t]},Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(t){var e=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=t,this._dataSources.data.component=this,this.events.on("inited",function(){e.loadData("data")},this,!1),this.setDataSourceEvents(t,"data")},enumerable:!0,configurable:!0}),e.prototype.loadData=function(t){this._dataSources[t].load()},e.prototype.dataSourceDateFields=function(t){return t},e.prototype.dataSourceNumberFields=function(t){return t},e.prototype.populateDataSourceFields=function(t,e,i){return g.__(i,function(i){e[i]&&-1===g.qh(t,e[i])&&t.pu
1sh(e[i])}),t},e.prototype.setDataSourceEvents=function(t,e){var i=this;t.events.on("started",function(t){var e=i.preloader;e&&(e.progress=0)},void 0,!1),t.events.on("loadstarted",function(t){var e=i.preloader;e&&(e.progress=.25)},void 0,!1),t.events.on("loadended",function(t){var e=i.preloader;e&&(e.progress=.5)},void 0,!1),t.events.on("parseended",function(t){var e=i.preloader;e&&(e.progress=.75)},void 0,!1),t.events.on("ended",function(t){var e=i.preloader;e&&(e.progress=1)},void 0,!1),t.events.on("error",function(t){var e=i.preloader;e&&(e.progress=1),i.openModal(t.message)},void 0,!1),e&&t.events.on("done",function(n){var r=i.preloader;r&&(r.progress=1),"data"!=e||_.cy(n.data)||(n.data=[n.data]),t.incremental&&"data"==e&&i.data.length?i.addData(n.data,t.keepCount?n.data.length:0):t.updateCurrentData&&"data"==e&&i.data.length?(g.__(i.data,function(t,e){_.a4(n.data[e])&&b.__(t,function(i,r){_.a4(n.data[e][i])&&(t[i]=n.data[e][i])})}),i.invalidateRawData()):i[e]=n.data})},Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new u.Ft,this._responsive.component=this),this._responsive},set:function(t){this._responsive=t,this._responsive.component=this},enumerable:!0,configurable:!0}),e.prototype.zoom=function(t,e,i,n){var r=this;void 0===e&&(e=!1),void 0===i&&(i=!1);var s=t.start,a=t.end,o=t.priority;if(t.start==t.end&&(t.start=t.start-.5/this.maxZoomFactor,t.end=t.end+.5/this.maxZoomFactor),"end"==o&&1==a&&0!=s&&s<this.start&&(o="start"),"start"==o&&0==s&&a>this.end&&(o="end"),_.Et(n)||(n=this.maxZoomDeclination),!_.Et(s)||!_.Et(a))return{start:this.start,end:this.end};if(this._finalStart!=s||this._finalEnd!=a){var l=this.maxZoomFactor/this.minZoomCount,h=this.maxZoomFactor/this.maxZoomCount;if("start"==o?(this.maxZoomCount>0&&1/(a-s)<h&&(a=s+1/h),1/(a-s)>l&&(a=s+1/l),a>1&&a-s<1/l&&(s=a-1/l)):(this.maxZoomCount>0&&1/(a-s)<h&&(s=a-1/h),1/(a-s)>l&&(s<=0?a=s+1/l:s=a-1/l),s<0&&a-s<1/l&&(a=s+1/l)),s<-n&&(s=-n),1/(a-s)>l&&(a=s+1/l),a>1+n&&(a=1+n),1/(a-s)>l&&(s=a-1/l),this._finalEnd=a,this._finalStart=s,this.skipRangeEvent=e,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!i){var u=this.rangeChangeAnimation;if(u&&u.progress<1){var p=u.animationOptions;if(p.length>1)if(p[0].to==s&&p[1].to==a)return{start:s,end:a};else u.isDisposed()||u.stop()}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),u=this.animate([{property:"start",to:s},{property:"end",to:a}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=u,u&&!u.isFinished()?u.events.on("animationended",function(){r.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=s,this.end=a,this.dispatch("rangechangeended")}return{start:s,end:a}},e.prototype.zoomToIndexes=function(t,e,i,n){if(_.Et(t)&&_.Et(e)){var r=t/this.dataItems.length,s=e/this.dataItems.length;this.zoom({start:r,end:s},i,n)}},Object.defineProperty(e.prototype,"zoomFactor",{get:function(){return f.s_(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(t){this.setPropertyValue("maxZoomFactor",t)&&(1==t&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(t){this.setPropertyValue("maxZoomDeclination",t)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return _.Et(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(t){this._startIndex=f.s_(Math.round(t),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),e.prototype.indexToPosition=function(t){return t/this.dataItems.length},Object.defineProperty(e.prototype,"endIndex",{get:function(){var t=this.dataItems.length;return(!_.Et(this._endIndex)||this._endIndex>t)&&(this._endIndex=t),this._endIndex},set:function(t){this._endIndex=f.s_(Math.round(t),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._adapterO?this._adapterO.apply("start",this._start):this._start},set:function(t){if(this._start!=t){this._start=t;var e=Math.max(0,Math.floor(this.dataItems.length*t)||0);this._startIndex=Math.min(e,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._adapterO?this._adapterO.apply("end",this._end):this._end},set:function(t){this._end!=t&&(this._end=t,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*t)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),c.u.removeFromInvalidComponents(this),g.TF(c.u.invali
1dDataItems,this),g.TF(c.u.invalidDataRange,this),g.TF(c.u.invalidRawDatas,this)},Object.defineProperty(e.prototype,"dataItems",{get:function(){if(""!=this._currentDataSetId){var t=this.dataSets.getKey(this._currentDataSetId);if(t)return t}return this._dataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataSets",{get:function(){return this._dataSets||(this._dataSets=new o.bT),this._dataSets},enumerable:!0,configurable:!0}),e.prototype.setDataSet=function(t){if(this._currentDataSetId!=t){if(this.dataSets.getKey(t))return this.dataItems.each(function(t){t.__disabled=!0}),this._currentDataSetId=t,this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(t){t.__disabled=!1}),!0;if(""!=this._currentDataSetId)return this.dataItems.each(function(t){t.__disabled=!0}),this._currentDataSetId="",this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(t){t.__disabled=!1}),!0}return!1},Object.defineProperty(e.prototype,"currentDataSetId",{get:function(){return this._currentDataSetId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainDataSet",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),e.prototype._updateDataItemIndexes=function(t){for(var e=this.mainDataSet.values,i=e.length,n=t;n<i;++n)e[n]._index=n},e.prototype.handleDataItemAdded=function(t){t.newValue.component=this,this._updateDataItemIndexes(t.index),this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemRemoved=function(t){this._updateDataItemIndexes(t.index),this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.bindDataField=function(t,e){this.dataFields[t]=e,this.invalidateDataRange()},e.prototype.invalidateProcessedData=function(){this.resetProcessedRange(),this.invalidateDataRange()},e.prototype.resetProcessedRange=function(){this._prevEndIndex=null,this._prevStartIndex=null},Object.defineProperty(e.prototype,"dataUsers",{get:function(){var t=this;return this._dataUsers||(this._dataUsers=new s.B8,this._disposers.push(new l.W_(function(){v.__(t._dataUsers.iterator(),function(t){t.dispose()})}))),this._dataUsers},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dataFields=m.Lb(this.dataFields,{}),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.data=e.data,this.sequencedInterpolation=e.sequencedInterpolation,this.sequencedInterpolationDelay=e.sequencedInterpolationDelay,this.interpolationDuration=e.interpolationDuration,this.interpolationEasing=e.interpolationEasing},e.prototype.reinit=function(){this._inited=!1,this.deepInvalidate()},e.prototype.getExporting=function(){var e=t.prototype.getExporting.call(this);return e.adapter.has("data",this._exportData,-1,this)||(e.adapter.add("data",this._exportData,-1,this),this.events.on("datavalidated",function(t){e.handleDataUpdated()})),e},e.prototype._exportData=function(t){return t.data=this.data,t},e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return i&&this.invalidateData(),i},e.prototype.setShowOnInit=function(e){e!=this.getPropertyValue("showOnInit")&&(!e||this.inited||this.hidden?this._showOnInitDisposer2&&this.removeDispose(this._showOnInitDisposer2):(this._showOnInitDisposer2=this.events.once("dataitemsvalidated",this.hideInitially,this,!1),this._disposers.push(this._showOnInitDisposer2))),t.prototype.setShowOnInit.call(this,e)},e.prototype.setBaseId=function(e){e!=this._baseId&&this.dataInvalid&&(this.dataInvalid=!1,c.u.removeFromInvalidComponents(this),this._baseId=e,this.invalidateData()),t.prototype.setBaseId.call(this,e)},Object.defineProperty(e.prototype,"minZoomCount",{get:function(){return this.getPropertyValue("minZoomCount")},set:function(t){this.setPropertyValue("minZoomCount",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomCount",{get:function(){return this.getPropertyValue("maxZoomCount")},set:function(t){this.setPropertyValue("maxZoomCount",t)},enumerable:!0,configurable:!0}),e.prototype._systemCheckIfValidate=function(){return!this.dataInvalid&&(!this.dataProvider||!this.dataProvider.dataInvalid)},e.prototype.asFunction=function(e){return"interpolationEasing"==e||"rangeChangeEasing"==e||t.prototype.asIs.call(this,e)},e}(r.m);c.u.registeredClasses.Component=x}
1,1944:function(t,e,i){i.d(e,{m:function(){return x}});var n=i(3460),r=i(14230),s=i(56113),a=i(42969),o=i(37688),l=i(91489),h=i(34788),u=i(25332),p=i(66016),d=i(31272),c=i(35395),f=i(22855),g=i(42736),y=i(39351),m=i(30101),v=i(39049),b=i(10942),_=i(48093),x=function(t){function e(){var e=t.call(this)||this;return e._childrenByLayout=[],e._childrenDisposers=new l.bT,e.hasFocused=!1,e.setStateOnSprites=[],e.layoutInvalid=!1,e._absoluteWidth=0,e._absoluteHeight=0,e._shouldBeReady=[],e._tapToActivate=!1,e.tapTimeout=3e3,e.className="Container",e._element=e.paper.addGroup("g"),e.group.add(e.element),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("layout","absolute"),e.setPropertyValue("fixedWidthGrid",!1),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e._positionPrecision=4,e._disposers.push(new l.ey(e._childrenDisposers)),e.children.events.on("inserted",e.handleChildAdded,e),e.children.events.on("removed",e.handleChildRemoved,e),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.handleChildAdded=function(t){this.processChild(t.newValue)},e.prototype.processChild=function(t){try{this._childrenDisposers.insertKey(t.uid,new o.ZT([t.events.on("transformed",this.handleChildTransform,this),t.events.on("zIndexChanged",this.sortAndAdd,this)]))}catch(t){}this.element&&this.element.add(t.group),t.parent=this,t.paper=this.paper,this.dispatchImmediately("childadded",{type:"childadded",newValue:t}),this.invalidate()},e.prototype.sortAndAdd=function(){this.sortChildren(),this.addChildren()},e.prototype.handleChildRemoved=function(t){var e=t.oldValue;this._childrenDisposers.removeKey(e.uid),this.element&&this.element.removeElement(e.group),e.isMeasured&&this.invalidateLayout(),this.dispatchImmediately("childremoved",{type:"childremoved",oldValue:e})},e.prototype.handleChildTransform=function(t){t.target.isMeasured&&this.invalidateLayout()},e.prototype.invalidateLayout=function(){this.layoutInvalid||this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||(this.layoutInvalid=!0,d.u.addToInvalidLayouts(this),b.q.requestFrame())},e.prototype.invalidate=function(){t.prototype.invalidate.call(this),this.invalidateLayout()},e.prototype.deepInvalidate=function(){t.prototype.invalidate.call(this),g.__(this._childrenByLayout,function(t){t instanceof e?t.deepInvalidate():t.invalidate()}),this.invalidateLayout()},Object.defineProperty(e.prototype,"children",{get:function(){return this._children||(this._children=new a.B8),this._children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),e.prototype.removeElement=function(){},e.prototype.sortChildren=function(){var t=this;if(this._childrenByLayout=[],"none"!=this.layout&&"absolute"!=this.layout&&this.layout){var e=[],i=[];f.__(this.children.iterator(),function(n){"horizontal"==t.layout||"grid"==t.layout?m.Et(n.percentWidth)?i.push(n):e.push(n):"vertical"==t.layout&&m.Et(n.percentHeight)?i.push(n):e.push(n)}),this._childrenByLayout=e.concat(i)}else this._childrenByLayout=this.children.values;this.calculateRelativeSize()},e.prototype.calculateRelativeSize=function(){var t=this,e=0,i=0;g.__(this._childrenByLayout,function(t){t.isMeasured&&(m.Et(t.percentWidth)&&(e+=t.percentWidth),m.Et(t.percentHeight)&&(i+=t.percentHeight))}),g.__(this._childrenByLayout,function(n){n.isMeasured&&("horizontal"==t.layout&&(m.Et(n.percentWidth)&&(n.relativeWidth=n.percentWidth/e),m.Et(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100)),"vertical"==t.layout&&(m.Et(n.percentHeight)&&(n.relativeHeight=n.percentHeight/i),m.Et(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100)),"grid"==t.layout&&(m.Et(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100),m.Et(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100))),("absolute"==t.layout||!n.isMeasured)&&(m.Et(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100),m.Et(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100))})},e.prototype.addChildren=function(){if(this.element){var t=g.C(this.children.values),e=t.map(function(t,e){return{idx:e,data:t}});
1e.sort(function(t,e){var i=t.data.zIndex||0,n=e.data.zIndex||0;return i<n?-1:i>n?1:t.idx-e.idx}),t=e.map(function(t){return t.data});var i=this.element,n=!0;if(i.node&&i.node.childNodes){for(var r=0,s=i.node.childNodes.length;r<s;r++)if(i.node.childNodes[r]!=t[r].group.node){n=!1;break}}n||(g.__(t,function(t){t.group&&i.add(t.group)}),this._background&&this.group.addToBack(this._background.group),this.invalidateLayout())}},e.prototype.createChild=function(t){var e=new t;return e.parent=this,e},e.prototype.removeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.dispose(),this.children.removeValue(t)}},Object.defineProperty(e.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(t){this._background&&this.background!=t&&this.removeDispose(this._background),t&&(this._background=t,this._disposers.push(t),this.processBackground())},enumerable:!0,configurable:!0}),e.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(t){t.handleGlobalScale()})},e.prototype.createBackground=function(){return new u.M},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=new c.T().getFor("background"),t.parent=this,t.isMeasured=!1,this.children.removeValue(t),this._disposers.push(t),this.group.addToBack(this._background.group))},e.prototype.validateLayout=function(){var t=this;d.u.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var e=0,i=0,n=!0;this.children&&(this.sortChildren(),g.__(this._childrenByLayout,function(r){if(m.Et(r.relativeWidth)?(s=y.LI(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(s-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),m.Et(r.relativeHeight)?(a=y.LI(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(a-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),!1==r.invalid){if(m.Et(r.relativeWidth)&&(r.maxWidth=s),m.Et(r.relativeHeight)&&(r.maxHeight=a),r.isMeasured){"horizontal"==t.layout&&!m.Et(r.percentWidth)&&r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight),"vertical"==t.layout&&!m.Et(r.percentHeight)&&r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom);var s,a,o=r.measuredWidth,l=r.measuredHeight;"none"!=r.align&&(o+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(l+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,o),i=Math.max(i,l)}}else r.isMeasured&&(m.Et(r.relativeWidth)&&r.maxWidth!=s&&(r.maxWidth=s,n=!1),m.Et(r.relativeHeight)&&r.maxHeight!=a&&(r.maxHeight=a,n=!1))})),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t=this,e=this.children,i=0,n=0,r=y.T9(this.innerWidth,this._absoluteWidth),s=y.T9(this.innerHeight,this._absoluteHeight),a=this.pixelPaddingLeft,o=this.pixelPaddingRight,l=this.pixelPaddingTop,h=this.pixelPaddingBottom,u=0,d=0,c=0,v=0,b=[],_=[],x=this.maxWidth,P=this.maxHeight,C=this.minWidth,w=this.minHeight,O=g.C(e.values);if(this.reverseOrder&&O.reverse(),"grid"==this.layout){J=x,Z=1;for(var S=0,T=O.length;S<T;S++){var I=O[S];if(I.isMeasured&&!I.disabled&&!I.__disabled){var k=I.measuredWidth;k<J&&(J=k),k>Z&&(Z=k)}}J=y.s_(J,1,x),Z=y.s_(Z,1,x),Q=this.fixedWidthGrid?x/Z:x/J,Q=y.T9(1,Math.floor(Q)),Q=y.jk(this.maxColumns,Q),b=this.getColumnWidth(O,Q,Z)}for(var S=0,T=O.length;S<T;S++){var I=O[S];if(!I.isMeasured||I.disabled||I.__disabled)I.validatePosition();else{var D=void 0,F=void 0,A=I.pixelMarginLeft,V=I.pixelMarginRight,E=I.pixelMarginTop,M=I.pixelMarginBottom,L=I.measuredWidth,j=I.measuredHeight,R=void 0,B=void 0,H=void 0,W=void 0;switch(this.layout){case"none":break;case"absolute":switch(I.align){case"left":D=A-I.maxLeft;break;case"center":D=(r-L)/2-I.maxLeft;break;case"right":D=r-V-I.maxRight;break;default:I.x instanceof p.QE||(D=I.pixelX)}switch(I.valign){case"top":F=E-I.maxTop;break;case"middle":F=(s-j)/2-I.maxTop;break;case"bottom":F=s-M-I.maxBottom;break;default:I.y instanceof p.QE||(F=I.pixelY)}break;case"vertical":switch(I.align){case"left":D=A-I.maxLeft;break;case"center":D=(r-L)/2-I.maxLeft;break;case"right":D=r-V-I.maxRight;break;default:D=I.pixelX}d=(F=d+E-I.maxTop)+I.maxBottom+M;break;case"horizontal":switch(I.valign){case"top":F=E-I.maxTop;break;case"middle":F=(s-j)/2-I.maxTop;break;case"bottom":F=s-M-I.maxBottom;break;default:F=I.pixelY}u=(D=u+A-I.maxLeft)+I.maxRight+V;break;case"grid":switch(D=u+A-I.maxLeft,I.valign){case"top":F=d+E-I.maxTop;break;case"middle":F=d+(s-j)/2-I.maxTop;break;case"bottom":F=d+s-M-I.maxBottom;break;default:F=d-I.maxTop}u+=b[v],_[c]=y.T9(_[c],j);var N=b[++v];if(m.Et(N)||(N=Z),u>y.jk(this.innerWidth,x)-N+1&&v<Q){Q=v,u=0,d=0,c=0,v=0,b=this.getColumnWidth(O,Q,Z),_=[],S=-1;continue}v>=Q&&(v=0,d+=_[c],c++,u=0)}"none"!==this.layout&&(I.moveTo({x:D,y:F}),R=D+I.maxLeft-A,B=D+I.maxRight+V,H=F+I.maxTop-E,W=F+I.maxBottom+M,(B>U||!m.Et(U))&&(U=B),(R<K||!m.Et(K))&&(K=R),(H<G||!m.Et(G))&&(G=H),(W>q||!m.Et(q))&&(q=W),(B>tt||!m.Et(tt))&&(tt=B),(R<$||!m.Et($))&&($=R),(H<te||!m.Et(te))&&(te=H),W>ti||m.Et(ti))}}if("none"==this.layout){var Y=this.bbox;K=Y.x,U=Y.x+Y.width,G=Y.y,q=Y.y+Y.height}m.Et(K)||(K=0,$=0),m.Et(U)||(tt=U=this._availableWidth),m.Et(G)||(G=0,te=0),m.Et(q)||(ti=q=this._availableHeight),m.Et(te)||(te=0),m.Et(ti)||(ti=te),m.Et($)||($=0),m.Et(tt)||(tt=$),i=U-K,n=q-G,m.Et(this.relativeWidth)&&(K=0,U=i=x-a-o),m.Et(this.relativeHeight)&&(G=0,q=n=P-l-h),m.Et(this._pixelWidth)&&(K=0,i=this._pixelWidth-a-o),m.Et(C)&&i<C&&(K=0,i=this.minWidth-a-o),m.Et(this._pixelHeight)&&(G=0,n=this._pixelHeight-l-h),m.Et(w)&&n<w&&(G=0,n=w-l-h);var X=tt-$,z=ti-te;if("none"!=this.layout&&(this.contentAlign||this.contentValign)&&e.length>0){var K,U,G,q,Z,J,Q,$,tt,te,ti,tn,tr,ts=i,ta=n;ts<X&&(ts=X),ta<z&&(ta=z),"center"==this.contentAlign&&(tn=(ts-X)/2),"right"==this.contentAlign&&(tn=ts-X),"middle"==this.contentValign&&(tr=(ta-z)/2),"bottom"==this.contentValign&&(tr=ta-z),m.Et(tn)&&f.__(e.iterator(),function(e){var i=e.maxLeft,n=tn;"horizontal"==t.layout&&(e.x=e.pixelX+n),"grid"==t.layout&&(e.x=e.pixelX+n),"vertical"==t.layout&&(n+=e.pixelMarginLeft,"none"==e.align&&(e.x=n-i)),"absolute"==t.layout&&(n+=e.pixelMarginLeft,"none"==e.align&&(e.x=n-i))}),m.Et(tr)&&f.__(e.iterator(),function(e){var i=e.maxTop,n=tr;"horizontal"==t.layout&&(n+=e.pixelMarginTop,"none"==e.valign&&(e.y=n-i)),"grid"==t.layout&&(n+=e.pixelMarginTop,e.y=n-i),"vertical"==t.layout&&(e.y=e.pixelY+n),"absolute"==t.layout&&(n+=e.pixelMarginTop,"none"==e.valign&&(e.y=n-i))})}var to=this.bbox;i=y.T9(i,C),n=y.T9(n,w),this.contentWidth=i,this.contentHeight=n,i=y.jk(i,x),n=y.jk(n,P),this._bbox={x:K,y:G,width:i,height:n};var tl=this.maxLeft,th=this.maxTop,tu=this.maxBottom,tp=this.maxRight;if(this.measure(),(tl!=this.maxLeft||tp!=this.maxRight||th!=this.maxTop||tu!=this.maxBottom)&&this.events.isEnabled("transformed")){var td={type:"transformed",target:this};to&&(td.dummyData=to.width+" "+i+" "+to.height+" "+n),this.events.dispatchImmediately("transformed",td)}this.dispatchImmediately("layoutvalidated")},e.prototype.updateCenter=function(){t.prototype.updateCenter.call(this),this.updateBackgroun
1d()},e.prototype.updateBackground=function(){var t=this._background;t&&(t.x=this.maxLeft,t.y=this.maxTop,t.width=this.maxRight-this.maxLeft,t.height=this.maxBottom-this.maxTop)},e.prototype.getColumnWidth=function(t,e,i){var n=this,r=[],s=0;return g.__(t,function(t){!t.isMeasured||t.disabled||t.__disabled||(n.fixedWidthGrid?r[s]=i:r[s]=y.T9(r[s],t.measuredWidth+t.pixelMarginRight+t.pixelMarginLeft),++s==e&&(s=0))}),r},Object.defineProperty(e.prototype,"layout",{get:function(){return this.getPropertyValue("layout")},set:function(t){this.setPropertyValue("layout",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentValign",{get:function(){return this.getPropertyValue("contentValign")},set:function(t){this.setPropertyValue("contentValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentAlign",{get:function(){return this.getPropertyValue("contentAlign")},set:function(t){this.setPropertyValue("contentAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedWidthGrid",{get:function(){return this.getPropertyValue("fixedWidthGrid")},set:function(t){this.setPropertyValue("fixedWidthGrid",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColumns",{get:function(){return this.getPropertyValue("maxColumns")},set:function(t){this.setPropertyValue("maxColumns",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseOrder",{get:function(){return this.getPropertyValue("reverseOrder")},set:function(t){this.setPropertyValue("reverseOrder",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"setStateOnChildren",{get:function(){return this.getPropertyValue("setStateOnChildren")},set:function(t){this.setPropertyValue("setStateOnChildren",t,!0)},enumerable:!0,configurable:!0}),e.prototype.fitsToBounds=function(t){var e=t.x,i=t.y;return!!(e>=-.5)&&!!(e<=this.pixelWidth+.5)&&!!(i>=-.5)&&!!(i<=this.pixelHeight+.5)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),f.__(e.children.iterator(),function(t){t.shouldClone&&(t.clone().parent=i)})},Object.defineProperty(e.prototype,"preloader",{get:function(){var t=this._preloader;return t||(this.parent?this.parent.preloader:void 0)},set:function(t){this._preloader&&this.removeDispose(this._preloader),this._preloader=t,t&&(t.parent=this.tooltipContainer,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(t){t.setPaper(e),t.topParent=i.topParent})),n},e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),d.u.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&(f.__(this.children.iterator(),function(t){t.dataItem=e}),this._background&&(this._background.dataItem=e)),t.prototype.setDataItem.call(this,e)},e.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(t){this.setPropertyValue("fontFamily",t,!0)&&(this.setSVGAttribute({"font-family":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(t){this.setPropertyValue("fontSize",t,!0)&&(this.setSVGAttribute({"font-size":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),e.prototype.invalidateLabels=function(){this.children.each(function(t){t.hardInvalidate?(t.hardInvalidate(),t.events.once("validated",t.handleValidate,t,!1)):t instanceof e&&t.invalidateLabels()})},Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")}
1,set:function(t){this.setPropertyValue("fontWeight",t),this.setSVGAttribute({"font-weight":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(t){this.setPropertyValue("textDecoration",t),this.setSVGAttribute({"text-decoration":t})},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},e.prototype.setState=function(e,i,n){var r=e;return e instanceof s.R&&(r=e.name),this.setStateOnChildren&&f.__(this.children.iterator(),function(t){t.setState(r,i,n),"active"!=r&&(t.isActive=!1)}),this._background&&this._background.setState(r),this.setStateOnSprites.length&&g.__(this.setStateOnSprites,function(t){t.setState(r,i,n)}),t.prototype.setState.call(this,e,i,n)},e.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},e.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;f.FY(this.children.iterator(),function(t){return!!t.__disabled||!!t.disabled||!!t.isReady()||(i=!1,!1)}),g.FY(this._shouldBeReady,function(t){return!!t.__disabled||!!t.disabled||!!t.isReady()||(i=!1,!1)}),i?t.prototype.dispatchReady.call(this):d.u.events.once("exitframe",function(){e.dispatchReady(),b.q.requestFrame()},void 0,!1)}},e.prototype._systemUpdate=function(e){this.children.each(function(t){t.invalid&&(t._systemCheckIfValidate()?t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid?e.push(t):t.validate():e.push(t))}),t.prototype._systemUpdate.call(this,e)},e.prototype._systemValidatePositions=function(){this.children.each(function(t){t.positionInvalid&&t.validatePosition()}),t.prototype._systemValidatePositions.call(this)},e.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(e.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(t){this._tapToActivate!=t&&this.setTapToActivate(t)},enumerable:!0,configurable:!0}),e.prototype.setTapToActivate=function(t){var e=this;this._tapToActivate=t,this.interactions.isTouchProtected=t,t&&this.interactions.setEventDisposer("container-tapToActivate",t,function(){return new o.ZT([e.events.on("hit",e.handleTapToActivate,e,!1),e.events.on("down",e.initTapTimeout,e,!1),e.events.on("track",e.initTapTimeout,e,!1),(0,h.H)().body.events.on("down",function(t){(0,h.H)().isLocalElement(t.pointer,e.paper.svg,e.uid)||e.handleTapToActivateDeactivation()},e,!1)])}),(0,h.H)()},e.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},e.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},e.prototype.initTapTimeout=function(){var t=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){t.handleTapToActivateDeactivation()},this.tapTimeout))},e.prototype.moveHtmlContainer=function(t){var e=v.V6(t);if(e){this.htmlContainer=e;var i=this.svgContainer;i.htmlElement=e,i.htmlElement.appendChild(i.SVGContainer),i.initSensor(),i.measure()}else m.Kg(t)&&""!=t&&b.q.log("html container '"+t+"' not found")},e.prototype.hasLicense=function(){if(_.f.commercialLicense)return!0;for(var t=0;t<_.f.licenses.length;t++)if(_.f.licenses[t].match(/^CH.{5,}/i))return!0;return!1},e}(r.kx);d.u.registeredClasses.Container=x},53624:function(t,e,i){i.d(e,{s:function(){return u}});var n=i(3460),r=i(85802),s=i(18586),a=i(49023),o=i(35580),l=i(42736),h=i(30101),u=function(t){function e(){var e=t.call(this)||this;return e._disabled=!1,e.hasProperties=!1,e.values={},e.categories={},e.dates={},e.locations={},e.workingLocations={},e.properties={},e.sprites=[],e.isTemplate=!1,e._index=null,e._visible=!0,e._hidden=!1,e._ignoreMinMax=!1,e.hasChildren={},e.isHiding=!1,e._valueAnimations={},e._locationAnimations={},e.className="DataItem",e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new s.Y3(this)),this._adapterO},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.component&&null!=this._index?this._index:-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.yo(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return!this._hidden&&this._visible},set:function(t){t&&(this.hidden=!1),this._visible!=t&&this.setVisibility(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden!=t&&(this._hidden=t,t?this.setVisibility(!1):this.setVisibility(!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,l.__(this.sprites,function(e){e.__disabled=t})},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){l.__(this.sprites,function(e){t?e.visible=e.defaultState.properties.visible:e.hiddenState?e.visible=e.hiddenState.properties.visible:e.visible=!1}),this._visible=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("visibilitychanged")&&this.events.dispatchImmediately("visibilitychanged",{type:"visibilitychanged",target:this,visible:t})}
1,e.prototype.show=function(t,e,i){var n,r=this;if(!this.hidden)return this.setVisibility(!0,!0),this.isHiding=!1,this._hideDisposer&&this.removeDispose(this._hideDisposer),i&&l.__(i,function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)}),l.__(this.sprites,function(i){var n=i.show(t);null!=n&&!n.isFinished()&&(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),n},e.prototype.dispose=function(){t.prototype.dispose.call(this),l.__(this.sprites,function(t){t.dispose()}),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r,s=this;if(this.isHiding=!0,l.__(this.sprites,function(i){var n=i.hide(t);null!=n&&!n.isFinished()&&(s._disposers.push(n),null!=e&&e>0&&n.delay(e))}),h.Et(i)&&n){if(l.__(n,function(n){var a=s.setWorkingValue(n,i,t,e);a&&(r=a)}),r&&!r.isFinished())return this._hideDisposer=r.events.on("animationended",function(){s.setVisibility(!1,!0),s.isHiding=!1}),this._disposers.push(this._hideDisposer),r;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){if(!h.Et(t)){var e=this.component;e&&(t=e.interpolationDuration)}if(null!=t)if(!this._adapterO)return t;else return this._adapterO.apply("duration",t)},e.prototype.getValue=function(t,e){if(t&&this.component){!e&&((e=this.component.dataFields[t+"Show"])||(e="value"));var i=this.values[t][e];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:i,field:t}).value:i}},e.prototype.getWorkingValue=function(t){if(t&&this.component){var e=this.component.dataFields[t+"Show"];return(e||(e="workingValue"),this._adapterO)?this._adapterO.apply("workingValue",{workingValue:this.values[t][e],field:t}).workingValue:this.values[t][e]}},e.prototype.getActualWorkingValue=function(t){return this.values[t].workingValue},e.prototype.setValue=function(t,e,i,n){var r=this.values[t].value,s=this.getDuration(i);r!==(e=h.Ro(e))&&(this.values[t].value=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")&&this.events.dispatchImmediately("valuechanged",{type:"valuechanged",target:this,property:t}),this.component&&this.component.handleDataItemValueChange(this,t)),this.setWorkingValue(t,e,s,n)},e.prototype.setCalculatedValue=function(t,e,i){this.values[t][i]!==e&&h.Et(e)&&(this.values[t][i]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")&&this.events.dispatchImmediately("calculatedvaluechanged",{type:"calculatedvaluechanged",target:this,property:t}),this.component&&this.component.handleDataItemCalculatedValueChange(this,t))},e.prototype.setWorkingValue=function(t,e,i,n){if(h.Et(this.values[t].value)){var r=this.getDuration(i),s=this.values[t].workingValue;if(null!=r&&r>0&&h.Et(s)&&this.component)if(s!=e){var a=this.animate({childObject:this.values[t],property:"workingValue",from:s,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&a.delay(n),a.events.on("animationstarted",this.handleInterpolationProgress,this),a.events.on("animationprogress",this.handleInterpolationProgress,this),a.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=a,a}else{var o=this._valueAnimations[t];o&&o.stop(),this.values[t].workingValue=e}else{var o=this._valueAnimations[t];o&&o.stop(),this.values[t].workingValue=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")&&this.events.dispatchImmediately("workingvaluechanged",{type:"workingvaluechanged",target:this,property:t}),this.component&&this.component.handleDataItemWorkingValueChange(this,t)}}},e.prototype.setLocation=function(t,e,i,n){this.locations[t]!==e&&(this.locations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")&&this.events.dispatchImmediately("locationchanged",{type:"locationchanged",target:this,property:t}),this.component&&this.component.handleDataItemValueChange(this,t),this.setWorkingLocation(t,e,i,n))},e.prototype.setWorkingLocation=function(t,e,i,n){var r=this.getDuration(i),s=this.workingLocations[t];if(null!=r&&r>0&&h.Et(s)&&this.component)if(s!=e){var a=this.animate({childObject:this.workingLocations,property:t,from:s,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&a.delay(n),a.events.on("animationstarted",this.handleInterpolationProgress,this),a.events.on("animationprogress",this.handleInterpolationProgress,this),a.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=a,a}else{var o=this._locationAnimations[t];o&&o.stop(),this.workingLocations[t]=e}else{var o=this._locationAnimations[t];o&&o.stop(),this.workingLocations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")&&this.events.dispatchImmediately("workinglocationchanged",{type:"workinglocationchanged",target:this,property:t}),this.component&&this.component.handleDataItemWorkingLocationChange(this,t)}}
1,e.prototype.setDate=function(t,e,i){!h.$P(e)&&this.component&&(e=this.component.dateFormatter.parse(e)),this.dates[t]!==e&&(this.dates[t]=e,this.setValue(t,e.getTime(),i))},e.prototype.getDate=function(t){return this._adapterO?this._adapterO.apply("date",{date:this.dates[t],field:t}).date:this.dates[t]},e.prototype.setProperty=function(t,e){this.properties[t]!==e&&(this.hasProperties=!0,this.properties[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")&&this.events.dispatchImmediately("propertychanged",{type:"propertychanged",target:this,property:t,value:e}),this.component&&this.component.handleDataItemPropertyChange(this,t))},e.prototype.setCategory=function(t,e){h.Kg(e)||(e=h.F9(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=o.C(e.dataContext,{})),o.Lb(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(e.prototype,"opacity",{set:function(t){l.__(this.sprites,function(e){e.opacity=t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){this._ignoreMinMax=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")&&this.events.dispatchImmediately("propertychanged",{type:"propertychanged",target:this,property:"ignoreMinMax",value:t}),this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),e.prototype.animate=function(t,e,i){return new a.X5(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target.animationOptions[0];if(e){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var i={type:"workingvaluechanged",target:this,property:e.dummyData};this.events.dispatchImmediately("workingvaluechanged",i)}this.component&&this.component.handleDataItemWorkingValueChange(this,e.dummyData)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;e<i;e++){var n=this.values[t[e]];if(!n||!h.a4(n.value))return!1}return!0},Object.defineProperty(e.prototype,"depth",{get:function(){return this.parent?this.parent.depth+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataContext",{get:function(){return this._dataContext},set:function(t){this._dataContext=t},enumerable:!0,configurable:!0}),e.prototype.addSprite=function(t){t.dataItem&&t.dataItem!=this&&l.TF(t.dataItem.sprites,t),this.visible||t.hide(0),this.isHiding&&t.hide(),this.sprites.push(t),t.dataItem=this},e}(r._)},48093:function(t,e,i){i.d(e,{f:function(){return n}});var n={verbose:!0,commercialLicense:!1,classNamePrefix:"amcharts-",autoSetClassName:!1,minPolylineStep:.5,onlyShowOnViewport:!1,queue:!1,autoDispose:!1,licenses:[],suppressErrors:!1,suppressWarnings:!1,animationsEnabled:!0,nonce:"",deferredDelay:100,disableHoverOnTransform:"never",pixelPerfectPrecision:0}},31272:function(t,e,i){i.d(e,{is:function(){return u},u:function(){return h}});var n=i(75300),r=i(91489),s=i(98479),a=i(30101),o=i(96120),l=i(42736),h=new(function(){function t(){var t=this;this.events=new n.Q,this.themes=[],this.loadedThemes={},this._uidCount=0,this.registeredClasses={},this._placeholders={},this.invalidSprites={},this.invalidDatas={},this.invalidRawDatas=[],this.invalidDataItems=[],this.invalidDataRange=[],this.invalidPositions={},this.invalidLayouts={},this.baseSprites=[],this.baseSpritesByUid={},this.queue=[],this.deferred=[],this.uid=this.getUniqueId(),this.invalidSprites.noBase=[],this.invalidDatas.noBase=[],this.invalidLayouts.noBase=[],this.invalidPositions.noBase=[],"u">typeof addEventListener&&(addEventListener("beforeprint",function(){l.__(t.baseSprites,function(t){var e=t.paper.svg;e.setAttribute("viewBox","0 0 "+e.clientWidth+" "+e.clientHeight)})}),addEventListener("afterprint",function(){l.__(t.baseSprites,function(t){t.paper.svg.removeAttribute("viewBox")})}))}return t.prototype.getUniqueId=function(){var t=this._uidCount;return this._uidCount+=1,"id-"+t},Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new r.bT),this._map},enumerable:!0,configurable:!0}
1),t.prototype.setCache=function(t,e,i){s.P.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),s.P.get(this.uid,t,e)},t.prototype.dispatch=function(t,e){this.events.isEnabled(t)&&(e&&(e.type=t,e.target=e.target||this),this.events.dispatch(t,{type:t,target:this}))},t.prototype.dispatchImmediately=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},t.prototype.getPlaceholder=function(t){return a.a4(this._placeholders[t])||(this._placeholders[t]="__amcharts_"+t+"_"+o.yT(8)+"__"),this._placeholders[t]},t.prototype.addToInvalidComponents=function(t){t.baseId?l.Cy(this.invalidDatas[t.baseId],t):l.Cy(this.invalidDatas.noBase,t)},t.prototype.removeFromInvalidComponents=function(t){t.baseId&&l.TF(this.invalidDatas[t.baseId],t),l.TF(this.invalidDatas.noBase,t)},t.prototype.addToInvalidSprites=function(t){t.baseId?l.WQ(this.invalidSprites[t.baseId],t):l.WQ(this.invalidSprites.noBase,t)},t.prototype.removeFromInvalidSprites=function(t){t.baseId&&l.TF(this.invalidSprites[t.baseId],t),l.TF(this.invalidSprites.noBase,t)},t.prototype.addToInvalidPositions=function(t){t.baseId?l.WQ(this.invalidPositions[t.baseId],t):l.WQ(this.invalidPositions.noBase,t)},t.prototype.removeFromInvalidPositions=function(t){t.baseId&&l.TF(this.invalidPositions[t.baseId],t),l.TF(this.invalidPositions.noBase,t)},t.prototype.addToInvalidLayouts=function(t){t.baseId?l.WQ(this.invalidLayouts[t.baseId],t):l.WQ(this.invalidLayouts.noBase,t)},t.prototype.removeFromInvalidLayouts=function(t){t.baseId&&l.TF(this.invalidLayouts[t.baseId],t),l.TF(this.invalidLayouts.noBase,t)},t}());function u(t,e){var i=h.registeredClasses[e];return null!=i&&t instanceof i}},14230:function(t,e,i){i.d(e,{kx:function(){return R},mM:function(){return j}});var n=i(3460),r=i(56113),s=i(82787),a=i(85802),o=i(18586),l=i(91489),h=i(42969),u=i(37688),p=i(49023),d=i(97590),c=i(1944),f=i(57427),g=i(73176),y=i(41014),m=i(88166),v=i(34788),b=i(38719),_=i(48093),x=i(31272),P=i(16838),C=i(87033),w=i(56789),O=i(98340),S=i(99262),T=i(80190),I=i(35
1580),k=i(39351),D=i(6183),F=i(42736),A=i(13866),V=i(30101),E=i(22855),M=i(10942),L=i(66016),j=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin"],R=function(t){function e(){var e=t.call(this)||this;return e.properties={},e._eventDispatcher=new s.Z(e),e._bindings={},e._isTemplate=!1,e._isPath=!1,e._inited=!1,e._ready=!1,e.isHiding=!1,e._isHidden=!1,e.isShowing=!1,e.isStandaloneInstance=!1,e._isActive=!1,e._mask=new u.h1,e._positionPrecision=3,e._language=new u.h1,e._exporting=new u.h1,e._exportable=!0,e._bbox={x:0,y:0,width:0,height:0},e.invalid=!1,e.positionInvalid=!1,e.propertyFields={},e.applyOnClones=!1,e._measuredWidthSelf=0,e._measuredHeightSelf=0,e.maxLeft=0,e.maxRight=0,e.maxTop=0,e.maxBottom=0,e.maxLeftSelf=0,e.maxRightSelf=0,e.maxTopSelf=0,e.maxBottomSelf=0,e._isDragged=!1,e._isResized=!1,e._disabled=!1,e._internalDisabled=!1,e._updateDisabled=!1,e._internalDefaultsApplied=!1,e.rollOutDelay=0,e.isBaseSprite=!1,e.shouldClone=!0,e.appeared=!1,e.ex=0,e.ey=0,e.dragWhileResize=!1,e.measureFailed=!1,e.preventShow=!1,e.cloneTooltip=!0,e.className="Sprite",e._disposers.push(e._eventDispatcher),I.kH(e.uid),e.group=e.paper.addGroup("g"),e.setPropertyValue("scale",1),e.setPropertyValue("rotation",0),e.setPropertyValue("align","none"),e.setPropertyValue("valign","none"),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("visible",!0),e.setPropertyValue("tooltipPosition","fixed"),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e.setPropertyValue("tooltipX",(0,L.KN)(50)),e.setPropertyValue("tooltipX",(0,L.KN)(50)),e.setPropertyValue("marginTop",0),e.setPropertyValue("marginBottom",0),e.setPropertyValue("marginLeft",0),e.setPropertyValue("marginRight",0),e.setPropertyValue("dx",0),e.setPropertyValue("dy",0),e.setPropertyValue("paddingTop",0),e.setPropertyValue("paddingBottom",0),e.setPropertyValue("paddingRight",0),e.setPropertyValue("paddingLeft",0),e.setPropertyValue("togglable",!1),e.setPropertyValue("hidden",!1),e.setPropertyValue("urlTarget","_self"),e.setPropertyValue("alwaysShowTooltip",!1),e.setPropertyValue("showTooltipOn","hover"),e._prevMeasuredWidth=0,e._prevMeasuredHeight=0,e._measuredWidth=0,e._measuredHeight=0,e._isMeasured=!0,e.invalidate(),e.applyTheme(),e._disposers.push(e.events),e._disposers.push(e.group),e._disposers.push(e._mask),e._disposers.push(e._language),e._disposers.push(e._exporting),e._disposers.push(new u.W_(function(){A.__(e._bindings,function(t,e){e.dispose()})})),e.setPropertyValue("interactionsEnabled",!0),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new o.Y3(this)),this._adapterO},enumerable:!0,configurable:!0}),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),_.f.autoSetClassName&&this.setClassName()},e.prototype.getCurrentThemes=function(){var t=this._themes;if(t)return t;var e=this._parent;return e?e.getCurrentThemes():x.u.themes},e.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},e.prototype.invalidate=function(){this.disabled||this._isTemplate||this.__disabled||this.invalid||(this.invalid=!0,x.u.addToInvalidSprites(this),M.q.requestFrame())},e.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,x.u.removeFromInvalidSprites(this),this.afterDraw()},e.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,x.u.addToInvalidPositions(this),M.q.requestFrame())},e.prototype.validatePosition=function(){var t=this.pixelX,e=this.pixelY,i=this.dx,n=this.dy,r=t+i,s=e+n;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var a=this.measure(),o=this.group.transformString;this.group.moveTo({x:r,y:s}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(o!=this.group.transformString||a)&&(null==o?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged"),("hit"==this.showTooltipOn||"always"==this.showTooltipOn)&&this.updateTooltipPosition()),t+i==r&&e+n==s&&(x.u.removeFromInvalidPositions(this),this.positionInvalid=!1);var l=this._maskRectangle;l&&this._clipElement.moveTo({x:l.x-t,y:l.y-e})},e.prototype.beforeDraw=function(){},e.prototype.draw=function(){},e.prototype.afterDraw=function(){var t,e;if((this.isMeasured||"none"!==this.horizontalCenter||"none"!==this.verticalCenter)&&this.measureElement(),this._inited)this.dispatch("validated");else{if(this._adapterO)try{for(var i=(0,n.Ju)(this._adapterO.keys()),r=i.next();!r.done;r=i.next()){var s=r.value;switch(s){case"mask":case"fill":case"opacity":case"fillOpacity":case"stroke":case"strokeOpacity":case"strokeWidth":case"shapeRendering":case"strokeDasharray":case"strokeDashoffset":case"strokeLinecap":case"strokeLinejoin":case"textDecoration":case"fontSize":case"fontFamily":case"fontWeight":this[s]=this[s]}}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.applyFilters(),this.visible=this.visible,this.interactionsEnabled=this.getPropertyValue("interactionsEnabled"),this._inited=!0,this.showOnInit||(this.appeared=!0),this.hidden&&this.hide(0),this.applyMask(),this.dispatch("validated"),this.dispatch("inited"),this.dispatchReady()}"always"==this.showTooltipOn&&(!this.visible||this.disabled||this.__disabled?this.hideTooltip(0):this.showTooltip())},e.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},e.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},e.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.validatePosition(),this.updateFilterScale()},e.prototype.updateFilterScale=function(){var t=this;E.__(this.filters.iterator(),function(e){e.scale=t.globalScale})},e.prototype.removeFromInvalids=function(){x.u.removeFromInvalidSprites(this),x.u.removeFromInvalidPositions(this)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.isMeasured=e.isMeasured,this.states.copyFrom(e.states),e.filters.length>0&&e.filters.each(function(t){i.filters.push(t.clone())}),e._adapterO&&this.adapter.copyFrom(e._adapterO),e._interaction&&this.interactions.copyFrom(e.interactions),e._plugins&&this.plugins.copyFrom(e.plugins),this.configField=e.configField,this.applyOnClones=e.applyOnClones,this.disabled=e.disabled,this.virtualParent=e.virtualParent,this.exportable=e.exp
1ortable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):e.cloneTooltip?this.tooltip=e.tooltip.clone():this._tooltip=e.tooltip),this._showSystemTooltip=e.showSystemTooltip,I.Lb(e.propertyFields,this.propertyFields),I.Lb(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone()),e.focusFilter&&(this.focusFilter=e.focusFilter.clone())},e.prototype.dispose=function(){if(!this.isDisposed()){if("always"==this.showTooltipOn&&this.tooltip&&this.tooltip.hide(),this.dispatchImmediately("beforedisposed"),this.isBaseSprite){if(this.htmlContainer)for(;this.htmlContainer.childNodes.length>0;)this.htmlContainer.removeChild(this.htmlContainer.firstChild);this.isBaseSprite=!1}if(t.prototype.dispose.call(this),this._adapterO&&this._adapterO.clear(),this.applyOnClones&&this._clones)for(var e=this._clones.length-1;e>=0;e--)this._clones.getIndex(e).dispose();this._svgContainer&&this._svgContainer.dispose(),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0),this._urlDisposer&&this._urlDisposer.dispose(),this.removeFromInvalids(),this.element&&this.element.dispose(),this.group&&this.group.dispose(),this._numberFormatter&&this._numberFormatter.dispose(),this._focusFilter&&this._focusFilter.dispose();var i=this.stroke;i&&!(i instanceof m.Q1)&&i.dispose&&(this.clonedFrom&&this.clonedFrom.stroke==i||i.dispose());var n=this.fill;if(n&&!(n instanceof m.Q1)&&n.dispose&&(this.clonedFrom&&this.clonedFrom.fill==n||n.dispose()),V.a4(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var r=this._filters.getIndex(0);r.dispose(),this._filters.removeValue(r)}this._alwaysShowDisposers=void 0}},Object.defineProperty(e.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(t){t=V.G4(t),this._isTemplate!=t&&(this._isTemplate=t,this instanceof c.m&&E.__(this.children.iterator(),function(e){e.isTemplate=t}),t?(this.parent=this._parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showSystemTooltip",{get:function(){if(!V.a4(this._showSystemTooltip))if(this.virtualParent)return this.virtualParent.showSystemTooltip;else if(this._parent)return this._parent.showSystemTooltip;else return!1;return this._showSystemTooltip},set:function(t){t=V.G4(t),this._showSystemTooltip!=t&&(this._showSystemTooltip=t,this.applyAccessibility())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topParent",{get:function(){return this._topParent?this._topParent:this._parent?this._parent.topParent:void 0},set:function(t){this._topParent=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(!this._isTemplate){I.kH(this.paper);var e=this._parent;e!=t&&(e&&e.children.removeValue(this),this._parent=t,t?(this.topParent=t.topParent,t.isTemplate&&(this.isTemplate=!0),this.baseId=t.baseId,t.children.push(this),this._tooltip&&!this._tooltipContainer&&(this._tooltip.parent=t.tooltipContainer),this._dataItem||(this.dataItem=t.dataItem),this.handleAlwaysShowTooltip(),this.dataItem&&this.applyAccessibility(),this.dispatchImmediately("parentset")):this.topParent=void 0)}},enumerable:!0,configurable:!0}),e.prototype.handleAlwaysShow=function(){this.showTooltip()},e.prototype.handleAlwaysShowTooltip=function(){var t=this,e=this._alwaysShowDisposers;if(e&&F.__(e,function(t){t.dispose()}),this._alwaysShowDisposers=[],"always"==this.showTooltipOn)for(;void 0!=t;){var i=t.events.on("visibilitychanged",this.handleAlwaysShow,this,!1);this.addDisposer(i),this._alwaysShowDisposers.push(i),t=t.parent}},Object.defineProperty(e.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(t){this._virtualParent=t,this.dataItem&&this.applyAccessibility()},enumerable:!0,configurable:!0}),e.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var t=this.fill;t&&t.element&&this.paper.appendDef(t.element);var e=this.stroke;if(e&&e.element&&this.paper.appendDef(e.element),this.fillModifier&&this.fill instanceof m.Q1){var i=this.fillModifier.modify(this.fill);i&&i.element&&this.paper.appendDef(i.element)}if(this.strokeModifier&&this.stroke instanceof m.Q1){var n=this.strokeModifier.modify(this.stroke);n&&n.element&&this.paper.appendDef(n.element)}this._clipPath&&this.paper.appendDef(this._clipPath),!1===this._exportable&&(this.exportable=!1)},Object.defineProperty(e.prototype,"map",{get:function(){var t=this.topParent;return t?t.map:(this._map||(this._map=new l.bT),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delayedMap",{get:function(){var t=this.topParent;return t?t.delayedMap:(this._delayedMap||(this._delayedMap=new l.bT),this._delayedMap)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){if(this._id!=t){if(this._id=t,this.map.hasKey(t))throw Error("Duplicate id ("+t+") used on multiple objects.");this.map.setKey(t,this),_.f.autoSetClassName&&this.setClassName()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){if(this._paper)return this._paper;var t=this._parent;return t?t.paper:(0,d.w)()},set:function(t){this.setPaper(t)},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(t){return this._paper!=t&&(this._paper=t,this.appendDefs(),!0)},Object.defineProperty(e.prototype,"htmlContainer",{get:function(){if(this._htmlContainer)return this._htmlContainer;var t=this._parent;if(t)return t.htmlContainer},set:function(t){this._htmlContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleElement",{get:function(){return this._titleElement||(this._titleElement=this.paper.add("title"),this.group.add(this._titleElement)),this._titleElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"descriptionElement",{get:function(){return this._descriptionElement||(this._descriptionElement=this.paper.add("desc"),this.group.add(this._descriptionElement)),this._descriptionElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filters",{get:function(){return this._filters||(this._filters=new h.B8,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new h.a(this._filters))),this._filters},enumerable:!0,configurable:!0}),e.prototype.setSVGAttributes=function(){this.fill=this.fill,this.opacity=this.opacity,this.fillOpacity=this.fillOpacity,this.stroke=this.stroke,this.strokeOpacity=this.strokeOpacity,this.shapeRendering=this.shapeRendering,this.strokeDasharray=this.strokeDasharray,this.strokeDashoffset=this.strokeDashoffset,this.strokeLinecap=this.strokeLinecap,this.strokeLinejoin=this.strokeLinejoin,this.focusable=this.focusable,this.tabindex=this.tabindex,this.role=this.role},e.prototype.setSVGAttribute=function(t){this.group.attr(t)},e.prototype.removeSVGAttribute=function(t){this.group.removeAttr(t)},e.prototype.setClassName=function(){var t=this.className,e=_.f.classNamePrefix;this.element&&this.element.addClass(e+t),this.group.addClass(e+t+"-group"),V.a4(this.id
1)&&this.group.addClass(e+this.id),this.userClassName&&this.group.addClass(this.userClassName)},e.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},e.prototype.updateClipPath=function(){var t=this._clipElement;t&&t.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},e.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var t=x.u.getUniqueId();this._clipPath.attr({id:t}),this.group.attr({"clip-path":'url("'+I.aw()+t+'")'})}},e.prototype.applyMask=function(){var t=this.mask;if(this._clipPath&&t)if(t instanceof c.m){this._clipElement.attr({width:k.T9(0,t.pixelWidth),height:k.T9(0,t.pixelHeight)});var e=I.oI({x:t.pixelX,y:t.pixelY},t.parent,this);this._clipPath.x=e.x,this._clipPath.y=e.y}else t.element&&t.element!=this._clipElement&&(this._clipElement=t.element,this._clipPath.add(this._clipElement)),this._clipPath.scale=t.scale,this._clipPath.x=t.pixelX,this._clipPath.y=t.pixelY,this._clipPath.rotation=t.rotation},e.prototype.applyFilters=function(){var t=this;if(this._filters&&this._filters.length>0){var e=100,i=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var n="filter-"+this.uid;this.filterElement.attr({id:n}),E.__(this.filters.iterator(),function(n){n.sprite=t,n.paper=t.paper,t.filterElement.attr({filterUnits:n.filterUnits}),n.appendPrimitives(t.filterElement),n.width>e&&(e=n.width),n.height>i&&(i=n.height),n.scale=t.globalScale});var r=e+"%",s=i+"%";this.filterElement.attr({width:r,height:s,x:-(e-100)/2+"%",y:-(i-100)/2+"%"}),this.group.attr({filter:'url("'+I.aw()+n+'")'})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},e.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},e.prototype.setElement=function(t){this.element=t,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this.removeElement(),this._element=t,this.group.add(t),t.node instanceof SVGPathElement&&(this._isPath=!0),this.invalid||this.validate(),_.f.autoSetClassName&&this.setClassName()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"svgContainer",{get:function(){return this._svgContainer?this._svgContainer:this._parent?this._parent.svgContainer:void 0},set:function(t){this._svgContainer=t},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){if(this.element)if(this.definedBBox)this._bbox=this.definedBBox;else{var t=this.element.getBBox();this._bbox={x:t.x,y:t.y,width:t.width,height:t.height}}},e.prototype.updateCenter=function(){if(this.element){var t=this.element.transformString,e=this.bbox,i=0,n=0,r=e.x,s=e.y,a=e.width,o=e.height,l=this.pixelPaddingLeft,h=this.pixelPaddingRight,u=this.pixelPaddingTop,p=this.pixelPaddingBottom,d=k.T9(a+l+h,this.pixelWidth),c=k.T9(o+u+p,this.pixelHeight),f=e.x,g=e.x+d,y=e.y,m=e.y+c,v=this.horizontalCenter,b=this.verticalCenter;switch(v){case"none":i=r+l;break;case"left":i=l;break;case"middle":i=l-(a+h+l)/2;break;case"right":i=-h-a}switch(b){case"none":n=s+u;break;case"top":n=u;break;case"middle":n=u-(o+p+u)/2;break;case"bottom":n=-p-o}this._measuredHeight=c,this._measuredWidth=d;var x=k.LI(i-r,this._positionPrecision,!0),P=k.LI(n-s,this._positionPrecision,!0);this.ex=x-l,this.ey=P-u,this.maxLeft=f+x-l,this.maxRight=g+x-l,this.maxTop=y+P-u,this.maxBottom=m+P-u,this.pixelPerfect&&0==_.f.pixelPerfectPrecision&&(x-=.5,P-=.5),this.element.moveTo({x:x,y:P}),t!=this.element.transformString&&this.dispatchImmediately("transformed")}},e.prototype.measure=function(){this.updateCenter();var t=this._measuredWidth,e=this._measuredHeight,i=this.maxLeft,n=this.maxRight,r=this.maxTop,s=this.maxBottom;this._measuredWidthSelf=t,this._measuredHeightSelf=e;var a=this._positionPrecision;if(this.maxLeftSelf=this.maxLeft,this.maxRightSelf=this.maxRight,this.maxTopSelf=this.maxTop,this.maxBottomSelf=this.maxBottom,0!==this.rotation||1!==this.scale||this.nonScaling){this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth);var o=this.paper.svg,l=o.createSVGMatrix(),h=this.rotation,u=this.scale;this.nonScaling&&(u=this.scale/this.globalScale),l.a=k.gn(h)*u,l.c=-k.F8(h)*u,l.e=0,l.b=k.F8(h)*u,l.d=k.gn(h)*u,l.f
1=0;var p=o.createSVGPoint();p.x=i,p.y=r;var d=o.createSVGPoint();d.x=n,d.y=r;var c=o.createSVGPoint();c.x=n,c.y=s;var f=o.createSVGPoint();f.x=i,f.y=s;var g=p.matrixTransform(l),y=d.matrixTransform(l),m=c.matrixTransform(l),v=f.matrixTransform(l);i=Math.min(g.x,y.x,m.x,v.x),n=Math.max(g.x,y.x,m.x,v.x),r=Math.min(g.y,y.y,m.y,v.y),s=Math.max(g.y,y.y,m.y,v.y),t=n-i,e=s-r,this.maxLeft=k.LI(i,a,!0),this.maxRight=k.LI(n,a,!0),this.maxTop=k.LI(r,a,!0),this.maxBottom=k.LI(s,a,!0)}return this._measuredWidth=k.LI(t,a,!0),this._measuredHeight=k.LI(e,a,!0),(this._measuredWidth!=this._prevMeasuredWidth||this._measuredHeight!=this._prevMeasuredHeight)&&(this._prevMeasuredHeight=this._measuredHeight,this._prevMeasuredWidth=this._measuredWidth,this.dispatch("sizechanged"),(this.isHover||"hit"==this.showTooltipOn||"always"==this.showTooltipOn)&&this.tooltip&&this.tooltip.visible&&(V.a4(this.tooltipText)||V.a4(this.tooltipHTML))&&this.updateTooltipPosition(),!0)},e.prototype.insertBefore=function(t){var e=this._parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i),e.sortChildren())}return this},e.prototype.insertAfter=function(t){var e=this._parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i+1),e.sortChildren())}return this},e.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},e.prototype.getRelativeX=function(t){return t instanceof L.QE?t.value:this._parent?t/this._parent.innerWidth:0},e.prototype.getRelativeY=function(t){return t instanceof L.QE?t.value:this._parent?t/this._parent.innerHeight:0},e.prototype.getPixelX=function(t){var e=0;if(V.Et(t))e=t;else if(t instanceof L.QE){var i=t.value;this._parent&&(e=k.LI(this._parent.innerWidth*i,this._positionPrecision,!0))}return e},e.prototype.getPixelY=function(t){var e=0;if(V.Et(t))e=t;else if(t instanceof L.QE){var i=t.value;this._parent&&(e=k.LI(this._parent.innerHeight*i,this._positionPrecision,!0))}return e},e.prototype.moveTo=function(t,e,i,n){(!this.isDragged||n)&&(t&&(V.Et(t.x)&&this.setPropertyValue("x",k.LI(t.x,this._positionPrecision,!0)),V.Et(t.y)&&this.setPropertyValue("y",k.LI(t.y,this._positionPrecision,!0))),V.Et(e)&&(this.rotation=e),V.Et(i)&&(this.scale=i),this.invalidatePosition())},Object.defineProperty(e.prototype,"mask",{get:function(){return this._adapterO?this._adapterO.apply("mask",this._mask.get()):this._mask.get()},set:function(t){var e=this;this._mask.get()!==t&&(t?(this.createClipPath(),t instanceof c.m?this._clipElement=this.paper.add("rect"):(t.isMeasured=!1,t.element&&(this._clipElement=t.element)),this._clipElement&&this._clipPath.add(this._clipElement),this._mask.set(t,new u.ZT([t.events.on("maxsizechanged",function(){e.inited&&e.applyMask()},void 0,!1),t.events.on("validated",this.applyMask,this,!1),t.events.on("positionchanged",this.applyMask,this,!1)])),this.applyMask()):(this._mask.reset(),this.group.removeAttr("clip-path"),this.removeClipPath()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskRectangle",{get:function(){return this._maskRectangle},set:function(t){t?(this.createClipPath(),this._clipElement||(this._clipElement=this.paper.add("rect"),this._clipPath.add(this._clipElement)),this._clipElement.attr({width:t.width,height:t.height})):(this.removeClipPath(),this._clipElement=void 0),this._maskRectangle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(t){(t=V.G4(t))||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=t&&(this._isMeasured=t,this.invalidatePosition())},enumerable:!0,configurable:!0}),e.prototype.hitTest=function(t){this.invalid&&this.validate(),t.invalid&&t.validate();var e=this.pixelX+this.maxLeft,i=this.pixelY+this.maxTop,n=e+this.maxRight,r=i+this.maxBottom,s=t.pixelX+t.maxLeft,a=t.pixelY+t.maxTop,o=s+t.maxRight,l=a+t.maxBottom;return!(s>n||o<e||a>r||l<i)},Object.defineProperty(e.prototype,"inited",{get:function(){return this._inited},enumerable:!0,configurable:!0}),e.prototype.isReady=function(){return this._ready},Object.defineProperty(e.prototype,"states",{get:function(){if(!this._states){var t=new r.R;
1this._states=new l.Vt(t),this._disposers.push(this._states.events.on("insertKey",this.processState,this,!1)),this._disposers.push(this._states.events.on("setKey",this.processState,this,!1)),this._disposers.push(new l.ey(this._states)),this._disposers.push(t)}return this._states},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenState",{get:function(){if(!this.states.getKey("hidden")){var t=this.states.create("hidden");t.properties.opacity=0,t.properties.visible=!1}return this.states.getKey("hidden")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultState",{get:function(){return this.states.getKey("default")||(this.states.create("default").properties.opacity=1),this.states.getKey("default")},enumerable:!0,configurable:!0}),e.prototype.processState=function(t){var e=t.newValue;if(e.sprite=this,e.name=t.key,(this.states.hasKey("hover")||"hover"==this.showTooltipOn&&(V.a4(this.tooltipHTML)||V.a4(this.tooltipText)))&&(this.hoverable=!0),(this.states.hasKey("down")||"hover"==this.showTooltipOn&&(V.a4(this.tooltipHTML)||V.a4(this.tooltipText)))&&(this.clickable=!0),this.states.hasKey("focus")&&(this.focusable=!0),this.applyOnClones)for(var i=this.clones.values,n=i.length,r=0;r<n;++r){var s=i[r];s.isDisposed()||s.states.setKey(e.name,e)}},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new p.yo(this._animations))),this._animations},enumerable:!0,configurable:!0}),e.prototype.getSvgPoint=function(t){try{var e=this.htmlContainer.getBoundingClientRect();return{x:t.x-e.left,y:t.y-e.top}}catch(e){return t}},e.prototype.animate=function(t,e,i){return new p.X5(this,t,e,i).start()},e.prototype.setState=function(t,e,i){var n;if(t instanceof r.R)this.states.setKey(t.name,t),n=t;else if(!(n=this.states.getKey(t)))return;if("hover"==n.name){if(this.isHidden)return;this.isHover=!0}return"hidden"==n.name?this.isHiding=!0:this.visible||this.setVisibility(n.properties.visible||this.defaultState.properties.visible),"active"==n.name&&(this.isActive=!0),V.Et(e)||(e=n.transitionDuration),V.a4(i)||(i=n.transitionEasing),this.transitTo(n,e,i)},e.prototype.applyCurrentState=function(t){var e=this.setState(this.defaultState,t);return this.isHover&&(e=this.setState("hover",t)),this.isDown&&this.interactions.downPointers.length&&(e=this.setState("down",t)),this.isFocused=this.isFocused,this.isActive&&(e=this.setState("active",t),this.isHover&&this.states.hasKey("hoverActive")&&(e=this.setState("hoverActive",t))),e},e.prototype.transitTo=function(t,e,i){var n,r=this,s=[],a=t.allValues;if(A.__(a,function(t,e){var i=r[t];e!=i&&void 0==r.defaultState.properties[t]&&(r.defaultState.properties[t]=i),"__unset"!=e&&s.push({from:i,to:e,property:t})}),s.length>0&&((n=this.animate(s,e,i))&&!n.isFinished()?this._disposers.push(n.events.on("animationended",function(){r.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),t.filters.length>0){var o=[];E.__(t.filters.iterator(),function(t){var n=t.clone();o.push(n);var s=[];E.__(r.filters.iterator(),function(t){t.className==n.className&&(E.gR(r.defaultState.filters.iterator(),function(t){return t.className===n.className})||r.defaultState.filters.push(t),A.__(n.properties,function(e,i){var n=t.properties[e];n!=i&&s.push({property:e,from:n,to:i})}))}),n.animate(s,e,i)}),this.filters.clear(),this.filters.pushAll(o)}return n},e.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(e.prototype,"isHover",{get:function(){return!!this.isInteractive()&&this.interactions.isHover},set:function(t){(t=V.G4(t))!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=t,t?this.handleOver():(this.interactions.isRealHover=!1,this.handleOut()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isResized",{get:function(){return this._isResized},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return!!this.isInteractive()&&this.interactions.isDown}
1,set:function(t){t=V.G4(t),this.isInteractive()&&this.isDown!=t&&(this.interactions.isDown=t,t?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return!!this.isInteractive()&&this.interactions.isFocused},set:function(t){t=V.G4(t),this.focusable&&this.isFocused!=t&&this.isInteractive()&&(this.interactions.isFocused=t,!0===t?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this.setActive(t)},enumerable:!0,configurable:!0}),e.prototype.setActive=function(t){t=V.G4(t),this._isActive!==t&&(this._isActive=t,t&&this.states.hasKey("active")?(this.setState("active"),this.isHover&&this.states.hasKey("hoverActive")&&this.setState("hoverActive")):this.applyCurrentState(),this.dispatchImmediately("toggled"))},Object.defineProperty(e.prototype,"disabled",{get:function(){var t=this.getPropertyValue("disabled");return V.a4(t)?t:this.virtualParent?this.virtualParent.disabled:!!this._parent&&this._parent.disabled},set:function(t){this.setDisabled(t)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(t){if(t=V.G4(t),this.getPropertyValue("disabled")!=t){if(this.setPropertyValue("disabled",t,!0),t)this.parent=this._parent,this.removeFromInvalids(),this.group.attr({display:"none"}),this.dispatch("disabled");else{if(this._parent){var e=this._parent.element;e.hasChild(this.group)||e.add(this.group)}this instanceof c.m?(this.deepInvalidate(),this._background&&this._background.invalidate()):this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),M.q.requestFrame(),!0}return!1},Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._internalDisabled},set:function(t){this._internalDisabled!=t&&(this._internalDisabled=t,this._updateDisabled=!0,this.invalidatePosition(),t||this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this._parent?this._parent.numberFormatter:(this._numberFormatter=new P.K,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(t){this._numberFormatter=t,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this._parent?this._parent.dateFormatter:(this._dateFormatter=new C.p,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(t){this._dateFormatter=t,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this._parent?this._parent.durationFormatter:(this._durationFormatter=new w.n,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(t){this._durationFormatter=t,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this._language.get();return t?t:this.virtualParent?this.virtualParent.language:this._parent?this._parent.language:(t=new S.T,this.language=t,t)},set:function(t){var e=this;this._language.get()!==t&&this._language.set(t,t.events.on("localechanged",function(t){if(e._numberFormatter&&(e._numberFormatter.language=e.language),e._dateFormatter&&(e._dateFormatter.language=e.language),e._durationFormatter&&(e._durationFormatter.language=e.language),e._exporting.get()){var i=e._exporting.get();i.numberFormatter.language=e.language,i.dateFormatter.language=e.language,i.durationFormatter.language=e.language,i.language=e.language}e instanceof c.m&&e.deepInvalidate()}))},enumerable:!0,configurable:!0}),e.prototype.populateString=function(t,e){if(V.a4(t)){t=V.F9(t);var i=(t=(0,O.S)().escape(t)).match(/\{([^}]+)\}/g),n=void 0;if(i)for(n=0;n<i.length;n++){var r=i[n].replace(/\{([^}]+)\}/,"$1"),s=this.getTagValue(r,"",e);V.a4(s)||(s=""),t=t.split(i[n]).join(s)}t=(0,O.S)().unescape(t)}else t="";return this._adapterO?this._adapterO.apply("populateString",t):t}
1,e.prototype.getTagValue=function(t,e,i){V.a4(i)||(i=this.dataItem);for(var n,r,s=[],a=/([^.]+)\(([^)]*)\)|([^.]+)/g;null!==(r=a.exec(t));)if(r[3])s.push({prop:r[3]});else{var o=[];if(""!=I.Bq(r[2]))for(var l=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,h=void 0;null!==(h=l.exec(r[2]));)o.push(h[1]||h[2]||h[3]);s.push({method:r[1],params:o})}if(i){n=this.getTagValueFromObject(s,i.values),(!V.a4(n)||V.Gv(n))&&(n=this.getTagValueFromObject(s,i));var u=i.dataContext;!V.a4(n)&&u&&(n=this.getTagValueFromObject(s,i.dataContext),V.a4(n)||(n=this.getTagValueFromObject([{prop:t}],u)),!V.a4(n)&&u.dataContext&&(n=this.getTagValueFromObject(s,u.dataContext))),!V.a4(n)&&i.component&&i.component.dataItem!==i&&(n=i.component.getTagValue(t,e))}return V.a4(n)||(n=this.getTagValueFromObject(s,this.populateStringFrom||this)),!V.a4(n)&&this._parent&&(n=this._parent.getTagValue(t,e)),n},e.prototype.getTagValueFromObject=function(t,e,i){for(var n=e,r=!1,s=0,a=t.length;s<a;s++){var o=t[s];if(o.prop){if(n=n[o.prop],!V.a4(n))return}else switch(o.method){case"formatNumber":var l=I.to(n);V.a4(l)&&(n=this.numberFormatter.format(l,i||o.params[0]||void 0),r=!0);break;case"formatDate":var h=void 0;if(h=V.Kg(n)?this.dateFormatter.parse(n):I.yq(n),!V.$P(h)||V.yr(h.getTime()))return;V.a4(h)&&(n=this.dateFormatter.format(h,i||o.params[0]||void 0),r=!0);break;case"formatDuration":var u=I.to(n);V.a4(u)&&(n=this.durationFormatter.format(u,i||o.params[0]||void 0,o.params[1]||void 0),r=!0);break;case"urlEncode":case"encodeURIComponent":n=encodeURIComponent(n);break;default:n[o.method]&&n[o.method].apply(this,o.params)}}if(!r){var p=[{method:"",params:i}];if(V.a4(i)){var d=I.gV(i);d===D.uk?p[0].method="formatNumber":d===D.vH?p[0].method="formatDate":d===D.ft&&(p[0].method="formatDuration")}else V.Et(n)?(p[0].method="formatNumber",p[0].params=""):V.$P(n)&&(p[0].method="formatDate",p[0].params="");p[0].method&&(n=this.getTagValueFromObject(p,n))}return n},Object.defineProperty(e.prototype,"dataItem",{get:function(){if(!this._dataItem){if(this.virtualParent)return this.virtualParent.dataItem;if(this._parent)return this._parent.dataItem}return this._dataItem},set:function(t){this.setDataItem(t)},enumerable:!0,configurable:!0}),e.prototype.setDataItem=function(t){var e=this;if(this._dataItem!=t){if(this._dataItem=t,t){if(this.configField){var i=t.dataContext;i&&(this.config=i[this.configField],!this.config&&i.dataContext&&(this.config=i.dataContext[this.configField]))}var n=t.dataContext;if(n){var r=n.dataContext;A.__(this.propertyFields,function(t,i){if(V.a4(n[i])){var s=e;s[t]=n[i]}else if(r){var a=r[i];if(V.a4(a)){var s=e;s[t]=a}}})}}this.invalidate()}},e.prototype.getPropertyValue=function(t){var e=this.properties[t];return this._isTemplate||(this._adapterO&&(e=this._adapterO.apply(t,e)),e=o.jv.applyAll(this,t,e)),e},e.prototype.setColorProperty=function(t,e,i){var n=this.properties[t];return(!(e instanceof m.Q1)||!(n instanceof m.Q1)||e.toString()!=n.toString())&&this.setPropertyValue(t,e,i)},e.prototype.setPercentProperty=function(t,e,i,n,r,s){if(e=V.nV(e),V.Et(e))return V.Et(r)&&(e=k.LI(e,r,s)),this.setPropertyValue(t,e,i,n);var a=this.properties[t];return(!(e instanceof L.QE)||!(a instanceof L.QE)||e.value!=a.value)&&this.setPropertyValue(t,e,i,n)},e.prototype.setPropertyValue=function(t,e,i,n){if(this.properties[t]!==e&&!this.isDisposed()){if(this.properties[t]=e,this.events.isEnabled("propertychanged")&&this.events.dispatchImmediately("propertychanged",{type:"propertychanged",target:this,property:t}),i&&this.invalidate(),n&&this.invalidatePosition(),this.applyOnClones)for(var r=this.clones.values,s=r.length,a=0;a<s;++a){var o=r[a];o.isDisposed()||(o[t]=e)}return!0}return!1},e.prototype.bind=function(t,e,i,n){var r=this;void 0===i&&(i=t),V.a4(this._bindings[t])&&this._bindings[t].dispose(),this[t]=e[i],this._bindings[t]=e.events.on("propertychanged",function(s){if(s.property===i){var a=e[i];n&&(a=n(a)),r[t]=a}})},e.prototype.observe=function(t,e,i,n){var r=this;return new u.ZT(F.Tj(F.$r(t),function(t){return r.events.on("propertychanged",function(n){n.property===t&&e.call(i,n)},i,n)}))},e.prototype.applyAccessibility=function(){var t=this.readerTitle,e=this.readerDescription,i=this.role,n=this.readerHidden,r=this.readerChecked,s=this.readerControls,a=this.readerLive,o=this.readerOrientation,l=this.readerValueNow,h=this.readerValueText,u=[],p=[],d=this.readerLabelledBy;d&&u.push(d);var c=this.readerDescribedBy;if(c&&p.push(c),t)if(u.length||this.showSystemTooltip){var f=this.titleElement,g=this.uid+"-title";f.node.textContent!=t&&(f.node.textContent=t,f.attr({id:g})),u.push(g)}else this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0),this.setSVGAttribute({"aria-label":t});else this.removeSVGAttribute("aria-label"),this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0);if(e){var y=this.descriptionElement,m=this.uid+"-description";y.node.textContent!=e&&(y.node.textContent=e,y.attr({id:m})),p.push(m)}else this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0);u.length?this.setSVGAttribute({"aria-labelledby":u.join(" ")}):this.removeSVGAttribute("aria-labelledby"),p.length?this.setSVGAttribute({"aria-describedby":p.join(" ")}):this.removeSVGAttribute("aria-describedby"),i?this.setSVGAttribute({role:i}):this.removeSVGAttribute("role"),n?this.setSVGAttribute({"aria-hidden":"true"}):this.removeSVGAttribute("aria-hidden"),r?this.setSVGAttribute({"aria-checked":"true"}):!1===r?this.setSVGAttribute({"aria-checked":"false"}):this.removeSVGAttribute("aria-checked"),s?this.setSVGAttribute({"aria-controls":s}):this.removeSVGAttribute("aria-controls"),a?this.setSVGAttribute({"aria-live":a}):this.removeSVGAttribute("aria-live"),o?this.setSVGAttribute({"aria-orientation":o}):this.removeSVGAttribute("aria-orientation"),l?this.setSVGAttribute({"aria-valuenow":l}):this.removeSVGAttribute("aria-valuenow"),h?this.setSVGAttribute({"aria-valuetext":h}):this.removeSVGAttribute("aria-valuetext")},Object.defineProperty(e.prototype,"readerTitle",{get:function(){var t=this.getPropertyValue("readerTitle");return V.a4(t)&&this.dataItem?this.populateString(t):t},set:function(t){t=V.fE(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescription",{get:function(){var t=this.getPropertyValue("readerDescription");return V.a4(t)&&this.dataItem?this.populateString(t):this.getPropertyValue("readerDescription")},set:function(t){t=V.fE(t),this.setPropertyValue("readerDescription",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this.getPropertyValue("role")}
1,set:function(t){t=V.fE(t),this.setPropertyValue("role",t)&&(this.applyAccessibility(),"slider"==t&&(this.setSVGAttribute({"aria-valuemin":"0"}),this.setSVGAttribute({"aria-valuemax":"100"})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerHidden",{get:function(){return this.getPropertyValue("readerHidden")},set:function(t){t=V.G4(t),this.setPropertyValue("readerHidden",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerChecked",{get:function(){return this.getPropertyValue("readerChecked")},set:function(t){t=V.G4(t),this.setPropertyValue("readerChecked",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerControls",{get:function(){return this.getPropertyValue("readerControls")},set:function(t){t=V.fE(t),this.setPropertyValue("readerControls",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLive",{get:function(){return this.getPropertyValue("readerLive")},set:function(t){t=V.fE(t),this.setPropertyValue("readerLive",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLabelledBy",{get:function(){return this.getPropertyValue("readerLabelledBy")},set:function(t){t=V.fE(t),this.setPropertyValue("readerLabelledBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescribedBy",{get:function(){return this.getPropertyValue("readerDescribedBy")},set:function(t){t=V.fE(t),this.setPropertyValue("readerDescribedBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerOrientation",{get:function(){return this.getPropertyValue("readerOrientation")},set:function(t){t=V.fE(t),this.setPropertyValue("readerOrientation",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerValueNow",{get:function(){return this.getPropertyValue("readerValueNow")},set:function(t){t=V.fE(t),this.setPropertyValue("readerValueNow",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerValueText",{get:function(){return this.getPropertyValue("readerValueText")},set:function(t){t=V.fE(t),this.setPropertyValue("readerValueText",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){if(!this.interactions.keyboardOptions){if(this.virtualParent)return this.virtualParent.keyboardOptions;if(this._parent)return this._parent.keyboardOptions}return this.interactions.keyboardOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mouseOptions",{get:function(){if(!this.interactions.mouseOptions){if(this.virtualParent)return this.virtualParent.mouseOptions;if(this._parent)return this._parent.mouseOptions}return this.interactions.mouseOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interactions",{get:function(){if(!this._interaction){var t=(0,v.H)().getInteraction(this.dom);this._interaction=t,this._interaction.clickable=this.clickable,this._interaction.hoverable=this.hoverable,this._interaction.trackable=this.trackable,this._interaction.draggable=this.draggable,this._interaction.swipeable=this.swipeable,this._interaction.resizable=this.resizable,this._interaction.wheelable=this.wheelable,this._interaction.contextMenuDisabled=this.contextMenuDisabled,this._interaction.inert=this.inert,this._interaction.sprite=this,this._disposers.push(this._interaction)}return this._interaction},enumerable:!0,configurable:!0}),e.prototype.isInteractive=function(){return!!this._interaction},Object.defineProperty(e.prototype,"focusable",{get:function(){return this.getPropertyValue("focusable")},set:function(t){var e=this;t=V.G4(t),this.setPropertyValue("focusable",t)&&(t||this.isInteractive())&&(this.interactions.focusable=t,t?(this.setSVGAttribute({focusable:t}),V.a4(this._tabindex)||(this.tabindex=0)):(this.removeSVGAttribute("focusable"),this.tabindex=void 0),this.interactions.setEventDisposer("sprite-focusable",t,function(){return new u.ZT([e.events.on("blur",e.handleBlur,e,!1),e.events.on("focus",e.handleFocus,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleFocus=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!0,this.topParent.focusedElement=this),this.focusFilter&&this.filters.push(this.focusFilter),this.hoverOnFocus&&(this.isHover=!0,this.handleOver()))},e.prototype.handleBlur=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!1,this.topParent.focusedElement=void 0),this.focusFilter&&this.filters.removeValue(this.focusFilter),this.hoverOnFocus&&(this.isHover=!1,this.handleOut()))},Object.defineProperty(e.prototype,"focusFilter",{get:function(){var t=this._focusFilter;return t||(this.virtualParent?this.virtualParent.focusFilter:this._parent?this._parent.focusFilter:void 0)},set:function(t){this._focusFilter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOnFocus",{get:function(){return this.getPropertyValue("hoverOnFocus")},set:function(t){t!==this.hoverOnFocus&&this.setPropertyValue("hoverOnFocus",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){var t=this._tabindex;return null!=t?t:this.virtualParent?this.virtualParent.tabindex:this._parent?this._parent.tabindex:void 0},set:function(t){t=V.Ro(t),this.setPropertyValue("tabindex",t)&&V.Et(t)&&(this.interactions.tabindex=t,this.setSVGAttribute({tabindex:t}),this._tabindex=t,this.focusable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return!this.interactions.inertiaOptions&&this._parent?this._parent.inertiaOptions:this.interactions.inertiaOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this.getPropertyValue("draggable")}
1,set:function(t){var e=this;t=V.G4(t),this.setPropertyValue("draggable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.draggable=t,this.interactions.setEventDisposer("sprite-draggable",t,function(){return new u.ZT([e.events.on("down",e.handleDown,e,!1),e.events.on("dragstart",e.handleDragStart,e,!1),e.events.on("drag",e.handleDragMove,e,!1),e.events.on("dragstop",e.handleDragStop,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleDragStart=function(t){this.interactions.isTouchProtected&&t.touch||(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this._isDragged=!0,this.hideTooltip(0))},e.prototype.dragStart=function(t){this._isDragged=!0,(0,v.H)().dragStart(this.interactions,t)},e.prototype.handleDragStop=function(t){this.interactions.isTouchProtected&&t.touch||(this._isDragged=!1,this.showTooltip(),this.interactions.originalPosition=void 0)},e.prototype.dragStop=function(t,e){this._isDragged=!1,(0,v.H)().dragStop(this.interactions,t,e)},e.prototype.handleDragMove=function(t){if(!this.interactions.isTouchProtected||!t.touch){var e=this.interactions.originalPosition;if(e&&this._isDragged){var i=this._parent.globalScale*this.svgContainer.cssScale;this.moveTo({x:e.x+t.shift.x/i,y:e.y+t.shift.y/i},void 0,void 0,!0)}this.dispatchImmediately("dragged",t)}},Object.defineProperty(e.prototype,"inert",{get:function(){return this.getPropertyValue("inert")},set:function(t){t=V.G4(t),this.setPropertyValue("inert",t)&&(t||this.isInteractive())&&(this.interactions.inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){if(!this.interactions.hoverOptions){if(this.virtualParent)return this.virtualParent.hoverOptions;if(this._parent)return this._parent.hoverOptions}return this.interactions.hoverOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this.getPropertyValue("hoverable")},set:function(t){var e=this;t=V.G4(t),this.setPropertyValue("hoverable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.hoverable=t,this.interactions.setEventDisposer("sprite-hoverable",t,function(){return new u.ZT([e.events.on("over",e.handleOver,e,!1),e.events.on("out",e.handleOut,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleOver=function(t){if(this._outTimeout&&this._outTimeout.dispose(),this.isHover){this.states.hasKey("hover")&&!this.isHidden&&this.applyCurrentState();var e=void 0;t&&t.pointer&&(e=I.FN(t.pointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale)),"hover"==this.showTooltipOn&&this.showTooltip(e)}else"hover"==this.showTooltipOn&&this.hideTooltip(),!this.isHidden&&this.states.hasKey("hover")&&this.applyCurrentState()},e.prototype.handleOut=function(t){var e=this;if(this.tooltip&&this.tooltip.targetSprite==this&&this.tooltip.keepTargetHover){this._outTimeout=this.setTimeout(function(){e.tooltip.isHover||(e.tooltip.targetSprite==e&&e.hideTooltip(),e._outTimeout=e.setTimeout(e.handleOutReal.bind(e),e.rollOutDelay))},10);return}"hover"==this.showTooltipOn&&this.hideTooltip(),this._outTimeout=this.setTimeout(this.handleOutReal.bind(this),this.rollOutDelay)},e.prototype.handleOutReal=function(){!this.isHidden&&!this.isHiding&&this.states.hasKey("hover")&&this.applyCurrentState()},Object.defineProperty(e.prototype,"hitOptions",{get:function(){if(!this.interactions.hitOptions){if(this.virtualParent)return this.virtualParent.hitOptions;if(this._parent)return this._parent.hitOptions}return this.interactions.hitOptions},enumerable:!0,configurable:!0}),e.prototype.handleDown=function(t){1===this.interactions.downPointers.length&&(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this.interactions.originalAngle=this.rotation,this.interactions.originalScale=this.scale,this.states.hasKey("down")&&this.setState("down"))},e.prototype.handleUp=function(t){var e=this;this._isResized=!1,this.states.hasKey("down")&&this.applyCurrentState(),"hit"==this.showTooltipOn&&(this.updateTooltipPosition(t.pointer?t.pointer.point:void 0),this._disposers.push(x.u.events.once("exitframe",function(){e.showTooltip()})),this._disposers.push((0,v.H)().body.events.once("down",function(t){e.hideTooltip()})))},Object.defineProperty(e.prototype,"clickable",{get:function(){return this.getPropertyValue("clickable")}
1,set:function(t){var e=this;t=V.G4(t),this.setPropertyValue("clickable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.clickable=t,this.interactions.setEventDisposer("sprite-clickable",t,function(){return new u.ZT([e.events.on("down",e.handleDown,e,!1),e.events.on("up",e.handleUp,e,!1)])}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglable",{get:function(){return this.getPropertyValue("togglable")},set:function(t){var e=this;t=V.G4(t),this.setPropertyValue("togglable",t)&&(t||this.isInteractive())&&this.interactions.setEventDisposer("sprite-togglable",t,function(){return e.events.on("hit",e.handleToggle,e,!1)})},enumerable:!0,configurable:!0}),e.prototype.handleToggle=function(t){this.isActive=!this.isActive},Object.defineProperty(e.prototype,"contextMenuDisabled",{get:function(){return this.getPropertyValue("contextMenuDisabled")},set:function(t){t=V.G4(t),this.setPropertyValue("contextMenuDisabled",t)&&(this.interactions.contextMenuDisabled=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.getPropertyValue("url")},set:function(t){this.setPropertyValue("url",t)&&(this._urlDisposer&&this._urlDisposer.dispose(),I.hj(t)&&(this._urlDisposer=this.events.on("hit",this.urlHandler,this,!1),this.clickable=!0,this.cursorOverStyle=b.h.pointer))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseId",{get:function(){return!this._baseId&&this._parent&&(this.baseId=this._parent.baseId),this._baseId},set:function(t){this.setBaseId(t)},enumerable:!0,configurable:!0}),e.prototype.setBaseId=function(t){t!=this._baseId&&(this.invalid&&(this.invalid=!1,x.u.removeFromInvalidSprites(this),this.invalidate()),this._baseId=t)},Object.defineProperty(e.prototype,"baseSprite",{get:function(){return this.isBaseSprite?this:this._parent?this._parent.baseSprite:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"urlTarget",{get:function(){return this.getPropertyValue("urlTarget")},set:function(t){this.setPropertyValue("urlTarget",t)},enumerable:!0,configurable:!0}),e.prototype.urlHandler=function(t){if(I.hj(this.url)){var e=this.populateString(this.url);"_self"===this.urlTarget?window.location.href=e:window.open(e,this.urlTarget)}},Object.defineProperty(e.prototype,"swipeOptions",{get:function(){if(!this.interactions.swipeOptions){if(this.virtualParent)return this.virtualParent.swipeOptions;if(this._parent)return this._parent.swipeOptions}return this.interactions.swipeOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this.getPropertyValue("swipeable")},set:function(t){t=V.G4(t),this.setPropertyValue("swipeable",t)&&(this.applyCursorStyle(),(t||this.isInteractive())&&(this.interactions.swipeable=t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this.getPropertyValue("trackable")},set:function(t){t=V.G4(t),this.setPropertyValue("trackable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.trackable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this.getPropertyValue("wheelable")},set:function(t){this.setPropertyValue("wheelable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.wheelable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this.getPropertyValue("resizable")},set:function(t){var e=this;t=V.G4(t),this.setPropertyValue("resizable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.resizable=t,this.interactions.setEventDisposer("sprite-resizable",t,function(){return new u.ZT([e.events.on("down",e.handleDown,e,!1),e.events.on("resize",e.handleResize,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleResize=function(t){if((!this.interactions.isTouchProtected||!t.touch)&&(this._isResized=!0,this.scale=this.interactions.originalScale*t.scale,this.validatePosition(),this.draggable||this.dragWhileResize)){this._isDragged=!1;var e=I.FN(t.point1,this.htmlContainer,this.svgContainer.cssScale),i=I.FN(t.point2,this.htmlContainer,this.svgContainer.cssScale),n=k.P8(e,i),r=I.k0(t.startPoint1,this._parent),s=I.k0(t.startPoint2,this._parent),a=this.interactions.originalPosition,o=this.interactions.originalScale;if(a){var l={x:(r.x-a.x)/o,y:(r.y-a.y)/o},h={x:(s.x-a.x)/o,y:(s.y-a.y)/o},u=k.P8(l,h),p=I.bT(n,this._parent);this.moveTo({x:p.x-u.x*this.scale,y:p.y-u.y*this.scale},void 0,void 0,!0)}}},Object.defineProperty(e.prototype,"cursorOptions",{get:function(){if(!this.interactions.cursorOptions){if(this.virtualParent)return this.virtualParent.cursorOptions;if(this._parent)return this._parent.cursorOptions}return this.interactions.cursorOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOverStyle",{set:function(t){this.cursorOptions.overStyle||(this.interactions.cursorOptions={defaultStyle:this.cursorOptions.defaultStyle}),this.cursorOptions.overStyle=t,(0,v.H)().applyCursorOverStyle(this.interactions)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorDownStyle",{set:function(t){this.cursorOptions.downStyle=t},enumerable:!0,configurable:!0}),e.prototype.applyCursorStyle=function(){},Object.defineProperty(e.prototype,"interactionsEnabled",{get:function(){return!1!==this.getPropertyValue("interactionsEnabled")&&(this.virtualParent?this.virtualParent.interactionsEnabled:!this._parent||this._parent.interactionsEnabled)},set:function(t){if(t=V.G4(t),this.setPropertyValue("interactionsEnabled",t)){var e=null;t?this.group.node.style.pointerEvents="":e="none",this.group.node.style.pointerEvents=e}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exporting",{get:function(){return this.getExporting()},set:function(t){this._exporting.set(t,t)},enumerable:!0,configurable:!0}),e.prototype.getExporting=function(){var t=this._exporting.get();if(t);else{if(!this.isStandaloneInstance&&this._parent)return this._parent.exporting;(t=new T.F(this.svgContainer.SVGContainer)).sprite=this,t.language=this.language,t.numberFormatter=this.numberFormatter,t.dateFormatter=this.dateFormatter,t.durationFormatter=this.durationFormatter,this._exporting.set(t,t)}return t},Object.defineProperty(e.prototype,"exportable",{get:function(){return this._exportable},set:function(t){var e=this.svgContainer;this._exportable=t,e&&(t?F.TF(e.nonExportableSprites,this):-1==F.qh(e.nonExportableSprites,this)&&e.nonExportableSprites.push(this))},enumerable:!0,configurable:!0}),e.prototype.modalPrefix=function(t){return _.f.classNamePrefix+t},Object.defineProperty(e.prototype,"modal",{get:function(){var t=this.svgContainer;if(t){var e=t.modal;return e.adapter.has("classPrefix",this.modalPrefix)||e.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openModal=function(t,e){var i=this.svgContainer;if(i)return i.openModal(t,e)},e.prototype.closeModal=function(){var t=this.svgContainer;t&&t.closeModal()}
1,Object.defineProperty(e.prototype,"popups",{get:function(){var t=this.svgContainer;if(t){var e=t.popups;return e.template.sprite=this,e.template.adapter.has("classPrefix",this.modalPrefix)||e.template.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openPopup=function(t,e){var i=this.svgContainer;if(i)return i.openPopup(t,e)},e.prototype.closeAllPopups=function(){var t=this.svgContainer;t&&t.closeAllPopups()},Object.defineProperty(e.prototype,"x",{get:function(){return this.getPropertyValue("x")},set:function(t){this.isDragged||this.setPercentProperty("x",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelX",{get:function(){var t=k.s_(this.getPixelX(this.x),this.minX,this.maxX);return this._adapterO?this._adapterO.apply("pixelX",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeX",{get:function(){return this._adapterO?this._adapterO.apply("relativeX",this.getRelativeX(this.x)):this.getRelativeX(this.x)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minX",{get:function(){return this.getPropertyValue("minX")},set:function(t){V.Et(t)&&(t=k.LI(t,this._positionPrecision,!0),this.setPropertyValue("minX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxX",{get:function(){return this.getPropertyValue("maxX")},set:function(t){V.Et(t)&&(t=k.LI(t,this._positionPrecision,!0),this.setPropertyValue("maxX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.getPropertyValue("y")},set:function(t){this.isDragged||this.setPercentProperty("y",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelY",{get:function(){var t=k.s_(this.getPixelY(this.y),this.minY,this.maxY);return this._adapterO?this._adapterO.apply("pixelY",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeY",{get:function(){return this._adapterO?this._adapterO.apply("relativeY",this.getRelativeX(this.y)):this.getRelativeX(this.y)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minY",{get:function(){return this.getPropertyValue("minY")},set:function(t){V.Et(t)&&(t=k.LI(t,this._positionPrecision,!0),this.setPropertyValue("minY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxY",{get:function(){return this.getPropertyValue("maxY")},set:function(t){V.Et(t)&&(t=k.LI(t,this._positionPrecision,!0),this.setPropertyValue("maxY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.getPropertyValue("dx")},set:function(t){V.Et(t)&&(t=k.LI(t,this._positionPrecision,!0),this.setPropertyValue("dx",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.getPropertyValue("dy")},set:function(t){V.Et(t)&&(t=k.LI(t,this._positionPrecision,!0),this.setPropertyValue("dy",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.getPropertyValue("rotation")},set:function(t){t=V.Ro(t),V.Et(t)||(t=0),this.setPropertyValue("rotation",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.getPropertyValue("align")},set:function(t){t=V.fE(t),this.setPropertyValue("align",t)&&this._parent&&this._parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valign",{get:function(){return this.getPropertyValue("valign")},set:function(t){t=V.fE(t),this.setPropertyValue("valign",t)&&this._parent&&this._parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalCenter",{get:function(){return this.getPropertyValue("horizontalCenter")},set:function(t){t=V.fE(t),this.setPropertyValue("horizontalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalCenter",{get:function(){return this.getPropertyValue("verticalCenter")},set:function(t){t=V.fE(t),this.setPropertyValue("verticalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){var t=this.getPropertyValue("maxWidth");if(!V.Et(t)&&this._parent){var e=this._parent.maxWidth;
1return"absolute"!=this._parent.layout&&"none"!=this.align&&void 0!=this.align&&(e=e-this.pixelMarginLeft-this.pixelMarginRight),e}return t},set:function(t){this.setMaxWidth(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxWidth=function(t){var e=this.maxWidth,i=this.maxHeight;this.setPropertyValue("maxWidth",t)&&(V.Et(this.relativeWidth)&&this.invalidate(),this.dispatchImmediately("maxsizechanged",{type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i}))},Object.defineProperty(e.prototype,"maxHeight",{get:function(){var t=this.getPropertyValue("maxHeight");if(!V.Et(t)&&this._parent){var e=this._parent.maxHeight;return"absolute"!=this._parent.layout&&"none"!=this.valign&&void 0!=this.valign&&(e=e-this.pixelMarginTop-this.pixelMarginBottom),e}return t},set:function(t){this.setMaxHeight(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxHeight=function(t){var e=this.maxWidth,i=this.maxHeight;this.setPropertyValue("maxHeight",t)&&(V.Et(this.relativeHeight)&&this.invalidate(),this.dispatchImmediately("maxsizechanged",{type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i}))},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.getPropertyValue("width")},set:function(t){this.setPercentProperty("width",t,!0,!1,this._positionPrecision,!0)&&(this.percentWidth=void 0,this.relativeWidth=void 0,t instanceof L.QE?(this.percentWidth=t.percent,V.Et(this._pixelWidth)&&(this.maxWidth=void 0),this._pixelWidth=void 0):(this._pixelWidth=Number(t),this.maxWidth=this._pixelWidth),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.getPropertyValue("height")},set:function(t){this.setPercentProperty("height",t,!0,!1,this._positionPrecision,!0)&&(this.percentHeight=void 0,this._relativeHeight=void 0,t instanceof L.QE?(this.percentHeight=t.percent,V.Et(this._pixelHeight)&&(this.maxHeight=void 0),this._pixelHeight=void 0):(this._pixelHeight=Number(t),this.maxHeight=this._pixelHeight),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelWidth",{get:function(){var t=V.Et(this.percentWidth)?this.maxWidth:V.Et(this._pixelWidth)?this._pixelWidth:0,e=this.minWidth;null!=e&&t<e&&(t=e);var i=k.LI(t,this._positionPrecision,!0);return this._adapterO?this._adapterO.apply("pixelWidth",i):i},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelHeight",{get:function(){var t=V.Et(this.percentHeight)?this.maxHeight:V.Et(this._pixelHeight)?this._pixelHeight:0,e=this.minHeight;null!=e&&t<e&&(t=e);var i=k.LI(t,this._positionPrecision,!0);return this._adapterO?this._adapterO.apply("pixelHeight",i):i},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeWidth",{get:function(){var t=this._relativeWidth;if(V.Et(t))if(!this._adapterO)return t;else return this._adapterO.apply("relativeWidth",t)},set:function(t){this._relativeWidth!=t&&(this._relativeWidth=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeHeight",{get:function(){var t=this._relativeHeight;if(V.Et(t))if(!this._adapterO)return t;else return this._adapterO.apply("relativeHeight",t)},set:function(t){this._relativeHeight!=t&&(this._relativeHeight=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredWidth",{get:function(){return this.disabled||this.__disabled?0:this._adapterO?this._adapterO.apply("measuredWidth",this._measuredWidth):this._measuredWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredHeight",{get:function(){return this.disabled||this.__disabled?0:this._adapterO?this._adapterO.apply("measuredHeight",this._measuredHeight):this._measuredHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerWidth",{get:function(){var t=this.pixelWidth+this.pixelMarginRight+this.pixelMarginLeft;return this._adapterO?this._adapterO.apply("outerWidth",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerHeight",{get:function(){var t=this.pixelHeight+this.pixelMarginTop+this.pixelMarginBottom;return this._adapterO?this._adapterO.apply("outerHeight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){var t=Math.max(0,this.pixelWidth-this.pixelPaddingRight-this.pixelPaddingLeft);return this._adapterO?this._adapterO.apply("innerWidth",t):t},enumerable:!0,configurable:!0}
1),Object.defineProperty(e.prototype,"innerHeight",{get:function(){var t=Math.max(0,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom);return this._adapterO?this._adapterO.apply("innerHeight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"globalScale",{get:function(){var t=this.scale;return(this._parent&&(t*=this._parent.globalScale),this._adapterO)?this._adapterO.apply("globalScale",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.getPropertyValue("scale")},set:function(t){(t=V.Ro(t))<0&&(t=0),t!=this.getPropertyValue("scale")&&(this.setPropertyValue("scale",t,!1,!0),this.handleGlobalScale())},enumerable:!0,configurable:!0}),e.prototype.margin=function(t,e,i,n){return this.marginTop=t,this.marginRight=e,this.marginBottom=i,this.marginLeft=n,this},Object.defineProperty(e.prototype,"marginLeft",{get:function(){return this.getPropertyValue("marginLeft")},set:function(t){this.setPercentProperty("marginLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginRight",{get:function(){return this.getPropertyValue("marginRight")},set:function(t){this.setPercentProperty("marginRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginTop",{get:function(){return this.getPropertyValue("marginTop")},set:function(t){this.setPercentProperty("marginTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginBottom",{get:function(){return this.getPropertyValue("marginBottom")},set:function(t){this.setPercentProperty("marginBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginRight",{get:function(){var t=this.getPixelX(this.marginRight);return this._adapterO?this._adapterO.apply("pixelMarginRight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginRight",{get:function(){var t=this.getRelativeX(this.marginRight);return this._adapterO?this._adapterO.apply("relativeMarginRight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginLeft",{get:function(){var t=this.getPixelX(this.marginLeft);return this._adapterO?this._adapterO.apply("pixelMarginLeft",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginLeft",{get:function(){var t=this.getRelativeX(this.marginLeft);return this._adapterO?this._adapterO.apply("relativeMarginLeft",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginTop",{get:function(){var t=this.getPixelY(this.marginTop);return this._adapterO?this._adapterO.apply("pixelMarginTop",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginTop",{get:function(){var t=this.getRelativeY(this.marginTop);return this._adapterO?this._adapterO.apply("relativeMarginTop",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginBottom",{get:function(){var t=this.getPixelY(this.marginBottom);return this._adapterO?this._adapterO.apply("pixelMarginBottom",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginBottom",{get:function(){var t=this.getRelativeY(this.marginBottom);return this._adapterO?this._adapterO.apply("relativeMarginBottom",t):t},enumerable:!0,configurable:!0}),e.prototype.padding=function(t,e,i,n){return this.paddingTop=t,this.paddingRight=e,this.paddingBottom=i,this.paddingLeft=n,this},Object.defineProperty(e.prototype,"paddingLeft",{get:function(){return this.getPropertyValue("paddingLeft")},set:function(t){this.setPercentProperty("paddingLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingRight",{get:function(){return this.getPropertyValue("paddingRight")},set:function(t){this.setPercentProperty("paddingRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingTop",{get:function(){return this.getPropertyValue("paddingTop")},set:function(t){this.setPercentProperty("paddingTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingBottom",{get:function(){return this.getPropertyValue("paddingBottom")},set:function(t){this.setPercentProperty("paddingBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingRight",{get:function(){return this.getPixelX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingRight",{get:function(){return this.getRelativeX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingLeft",{get:function(){return this.getPixelX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingLeft",{get:function(){return this.getRelativeX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingTop",{get:function(){return this.getPixelY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingTop",{get:function(){return this.getRelativeY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingBottom",{get:function(){return this.getPixelY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingBottom",{get:function(){return this.getRelativeY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPath(t)},enumerable:!0,configurable:!0}),e.prototype.setPath=function(t){return!!this.setPropertyValue("path",t)&&(this._adapterO&&(t=this._adapterO.apply("path",t)),this._isPath||(this.element&&(!this.element.node||this.element.node instanceof SVGPathElement)||(this.element=this.paper.add("path")),this._isPath=!0),V.a4(t)?this.element.attr({d:t}):this.element.removeAttr("d"),this.invalidatePosition(),this.inited||this.events.once("inited",this.validatePosition,this,!1),!0)},Object.defineProperty(e.prototype,"fillModifier",{get:function(){return this.getPropertyValue("fillModifier")},set:function(t){this.setPropertyValue("fillModifier",t)&&this.setFill(this.fill)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeModifier",{get:function(){return this.getPropertyValue("strokeModifier")},set:function(t){this.setPropertyValue("strokeModifier",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.getPropertyValue("fillOpacity")},set:function(t){t=k.Ch(t,0,1),this.setPropertyValue("fillOpacity",t)&&this.setSVGAttribute({"fill-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.getPropertyValue("fill")}
1,set:function(t){this.setFill(t)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(t){if((!V.Gv(t)||"r"in t)&&(t=(0,m.VR)(t)),this.setColorProperty("fill",t)||this.fillModifier)if(t instanceof m.Q1&&this.fillModifier&&(t=this.fillModifier.modify(t)),this.realFill=t,t instanceof m.Q1)this.setSVGAttribute({fill:t.toString()});else if(V.a4(t)){if(t instanceof f.z||t instanceof g.W||t instanceof y.E){var e=t;e.paper=this.paper,this.setSVGAttribute({fill:'url("'+I.aw()+e.id+'")'})}}else this.removeSVGAttribute("fill")},Object.defineProperty(e.prototype,"opacity",{get:function(){return this.getPropertyValue("opacity")},set:function(t){t=k.Ch(t,0,1),this.setPropertyValue("opacity",t)&&this.setSVGAttribute({opacity:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.getPropertyValue("stroke")},set:function(t){this.setStroke(t)},enumerable:!0,configurable:!0}),e.prototype.setStroke=function(t){if((!V.Gv(t)||"r"in t)&&(t=(0,m.VR)(t)),this.setColorProperty("stroke",t)||this.strokeModifier)if(t instanceof m.Q1&&this.strokeModifier&&(t=this.strokeModifier.modify(t)),this.realStroke=t,t instanceof m.Q1)"none"==t.hex?this.removeSVGAttribute("stroke"):this.setSVGAttribute({stroke:t.toString()});else if(V.a4(t)){if(t instanceof f.z||t instanceof g.W||t instanceof y.E){var e=t;e.paper=this.paper,this.setSVGAttribute({stroke:'url("'+I.aw()+e.id+'")'})}}else this.removeSVGAttribute("stroke")},Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.getPropertyValue("strokeOpacity")},set:function(t){t=k.Ch(t,0,1),this.setPropertyValue("strokeOpacity",t)&&this.setSVGAttribute({"stroke-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScalingStroke",{get:function(){return this.getPropertyValue("nonScalingStroke")},set:function(t){t=V.G4(t),this.setPropertyValue("nonScalingStroke",t)&&(this.strokeWidth=this.strokeWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this.getPropertyValue("nonScaling")},set:function(t){t=V.G4(t),this.setPropertyValue("nonScaling",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.getPropertyValue("strokeWidth")},set:function(t){t=V.Ro(t),this.setPropertyValue("strokeWidth",t,!0),this.nonScalingStroke&&(V.Et(t)||(t=1),t/=this.globalScale),this.setSVGAttribute({"stroke-width":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.getPropertyValue("strokeDasharray")},set:function(t){t=V.fE(t),this.setPropertyValue("strokeDasharray",t)&&this.setSVGAttribute({"stroke-dasharray":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDashoffset",{get:function(){return this.getPropertyValue("strokeDashoffset")},set:function(t){t=V.Ro(t),this.setPropertyValue("strokeDashoffset",t)&&this.setSVGAttribute({"stroke-dashoffset":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeLinecap",{get:function(){return this.getPropertyValue("strokeLinecap")},set:function(t){this.setPropertyValue("strokeLinecap",t)&&this.setSVGAttribute({"stroke-linecap":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeLinejoin",{get:function(){return this.getPropertyValue("strokeLinejoin")},set:function(t){this.setPropertyValue("strokeLinejoin",t)&&this.setSVGAttribute({"stroke-linejoin":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.getPropertyValue("shapeRendering")},set:function(t){t=V.fE(t),this.setPropertyValue("shapeRendering",t)&&this.setSVGAttribute({"shape-rendering":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPerfect",{get:function(){return this.getPropertyValue("pixelPerfect")},set:function(t){(t=V.G4(t))?this._positionPrecision=_.f.pixelPerfectPrecision:this._positionPrecision=3,this.setPropertyValue("pixelPerfect",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rtl",{get:function(){return V.a4(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(t){t=V.G4(t),this.isBaseSprite&&(this.topParent.rtl=t),this._rtl=t},enumerable:!0,configurable:!0}),e.prototype.show=function(t){return this.showReal(t)},e.prototype.showReal=function(t){var e,i=this;if(!this.preventShow){var n=this.defaultState.properties;if(!this.disabled&&(this.isHidden||!this.visible||this.isHiding||null!=n.opacity&&this.opacity<n.opacity&&!this.isShowing)&&!this.isDisposed()){this.invalid&&this.validate(),this.positionInvalid&&this.validatePosition(),V.Et(t)||(t=this.defaultState.transitionDuration),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this._showHideDisposer&&this.removeDispose(this._showHideDisposer),this._isHidden=!1,this.isHiding=!1,this.isShowing=!0,(e=this.applyCurrentState(t))&&
1!e.isFinished()?(this._showHideDisposer=e.events.on("animationended",function(){i.isShowing=!1}),this._disposers.push(this._showHideDisposer)):this.isShowing=!1;var r=this.defaultState.properties.visible;V.a4(r)||(r=!0),this.visible=r,this.readerHidden=!1,this.dispatchImmediately("shown")}return e}},e.prototype.hide=function(t){return this.hideReal(t)},e.prototype.hideReal=function(t){var e,i=this;if(!this.isHiding&&this.visible&&!this.isDisposed()){this.tooltip&&this.tooltip.currentSprite==this&&this.hideTooltip(0),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this.isShowing=!1,this._showHideDisposer&&this.removeDispose(this._showHideDisposer);var n=this.hiddenState;n?(e=this.setState(n,t,void 0))&&!e.isFinished()?(this._hideAnimation=e,this._showHideDisposer=e.events.on("animationended",function(){i.isHiding=!1,i._isHidden=!0,!1==n.properties.visible&&(i.visible=!1)},this),this._disposers.push(this._showHideDisposer),this._disposers.push(e)):(this.isHiding=!1,this._isHidden=!0):(this.visible=!1,this.isHiding=!1,this._isHidden=!0),this.readerHidden=!0,this.dispatchImmediately("hidden"),this.invalidate()}return V.Et(t)||(t=this.hiddenState.transitionDuration),e},Object.defineProperty(e.prototype,"visible",{get:function(){return this.getVisibility()},set:function(t){t=V.G4(t),this.setVisibility(t)},enumerable:!0,configurable:!0}),e.prototype.getVisibility=function(){var t=this.getPropertyValue("visible");return V.a4(t)||(t=!0),t},e.prototype.setVisibility=function(t){this.setPropertyValue("visible",t)&&(t?this.group.removeAttr("visibility"):this.group.attr({visibility:"hidden"}),this.events.isEnabled("visibilitychanged")&&this.events.dispatchImmediately("visibilitychanged",{type:"visibilitychanged",target:this,visible:t}))},Object.defineProperty(e.prototype,"zIndex",{get:function(){return this.getPropertyValue("zIndex")},set:function(t){t=V.Ro(t),this.setPropertyValue("zIndex",t)&&this.dispatch("zIndexChanged")},enumerable:!0,configurable:!0}),e.prototype.toFront=function(){var t=this._parent;t&&t.children.indexOf(this)!=t.children.length-1&&(t.children.moveValue(this,t.children.length-1),this.dispatch("zIndexChanged"))},e.prototype.toBack=function(){var t=this._parent;t&&0!=t.children.indexOf(this)&&(t.children.moveValue(this,0),this.dispatch("zIndexChanged"))},Object.defineProperty(e.prototype,"userClassName",{get:function(){return this.getPropertyValue("userClassName")},set:function(t){this.setPropertyValue("userClassName",t)&&(!t&&this.userClassName&&this.group.removeClass(this.userClassName),this.setClassName())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltip",{get:function(){return this._tooltip?this._tooltip:this.virtualParent?this.virtualParent.tooltip:this._parent?this._parent.tooltip:void 0},set:function(t){this._tooltip&&this.removeDispose(this._tooltip),this._tooltip=t,t&&(t.parent=this.tooltipContainer)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDataItem",{get:function(){var t=this._tooltipDataItem;return t||this.dataItem},set:function(t){this._tooltipDataItem=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipColorSource",{get:function(){return this._tooltipColorSource},set:function(t){this._tooltipColorSource=t},enumerable:!0,configurable:!0}),e.prototype.showTooltip=function(t){"always"==this.showTooltipOn&&!this._tooltip&&this.tooltip&&(this._tooltip=this.tooltip.clone()),!t&&"pointer"==this.tooltipPosition&&this.isHover&&(t=I.FN((0,v.H)().lastPointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale));for(var e=this;void 0!=e;){if(!e.visible||e.disabled||e.__disabled){this._tooltip&&this._tooltip.visible&&this._tooltip.hide(0);return}e=e.parent}if(V.a4(this.tooltipText)||V.a4(this.tooltipHTML)){var i=this.tooltip,n=this.tooltipDataItem;if(i){i.targetSprite=this;var r=this,s=this.tooltipColorSource;if((i.getStrokeFromObject||i.getFillFromObject)&&s&&(s.isTemplate?n&&F.FY(n.sprites,function(t){return t.clonedFrom!=s||(r=t,!1)}):r=s),i.getStrokeFromObject){for(var a=this.stroke,o=r;void 0!=o.parent&&(void 0==(a=o.stroke)&&(o=o.parent),void 0==a););a instanceof m.Q1?i.background.animate({property:"stroke",to:a},i.animationDuration):i.background.stroke=a}if(i.dataItem=n,i.label.populateStringFrom=this,i.getFillFromObject){for(var l=this.fill,o=r;void 0!=o.parent;)if(void 0==(l=o.fill)||l instanceof m.Q1&&void 0==l.rgb)o=o.parent;else if(void 0!=l)break;void 0==l&&(l=(0,m.yW)("#000000")),l instanceof m.Q1&&i.visible?i.background.animate({property:"fill",to:l},i.animationDuration):i.background.fill=l,i.autoTextColor&&l instanceof m.Q1&&(i.label.fill=l.alternative)}var h="";if(this.tooltipHTML&&(i.html=this.tooltipHTML,h=this.tooltipHTML),this.tooltipText&&(i.text=this.tooltipText,h=this.tooltipText),this.updateTooltipPosition(t)){if(i.readerDescribedBy=this.uidAttr(),i.label.invali
1d&&i.label.validate(),void 0!=h&&""!=h&&""!=i.label.currentText){i&&!i.parent&&(i.parent=this.tooltipContainer);var u=i.defaultState.transitionDuration;return u<=0&&(u=1),i.show(u),i.currentSprite=this,!0}this.hideTooltip(0)}else this.hideTooltip(0)}}return!1},e.prototype.updateTooltipPosition=function(t){var e=this;if("pointer"==this.tooltipPosition){if(this._interactionDisposer&&this._interactionDisposer.dispose(),this._interactionDisposer=(0,v.H)().body.events.on("track",function(t){return e.pointTooltipTo(I.FN(t.point,e.svgContainer.SVGContainer,e.svgContainer.cssScale),!0)}),t)return this.pointTooltipTo(t,!0)}else{var i=I.rq({x:this.getTooltipX(),y:this.getTooltipY()},this);return this.pointTooltipTo(i)}},e.prototype.pointTooltipTo=function(t,e){var i=this.tooltip;return!!(i&&this.topParent&&(i.showInViewport||k.Jl(t,{x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight})))&&(i.pointTo(t,e),!0)},e.prototype.hideTooltip=function(t){if("always"!=this.showTooltipOn){var e=this.tooltip;e&&(e.targetSprite==this&&(e.targetSprite=void 0),e.hide(t),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0))}},Object.defineProperty(e.prototype,"tooltipHTML",{get:function(){return this.getPropertyValue("tooltipHTML")},set:function(t){t=V.fE(t),this.hoverable=!0,this.setPropertyValue("tooltipHTML",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipText",{get:function(){return this.getPropertyValue("tooltipText")},set:function(t){(t=V.fE(t))&&(this.hoverable=!0),this.setPropertyValue("tooltipText",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipContainer",{get:function(){return this._tooltipContainer?this._tooltipContainer:this._parent?this._parent.tooltipContainer:void 0},set:function(t){this._tooltipContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipX",{get:function(){return this.getTooltipX()},set:function(t){this.setPercentProperty("tooltipX",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alwaysShowTooltip",{get:function(){return"always"==this.getPropertyValue("showTooltipOn")},set:function(t){(t=V.G4(t))&&(this.showTooltipOn="always")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTooltipOn",{get:function(){return this.getPropertyValue("showTooltipOn")},set:function(t){this.setPropertyValue("showTooltipOn",t)&&("hit"==t&&(this.clickable=!0),this.tooltip&&("always"==t?this.showTooltip():this.handleAlwaysShowTooltip()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipPosition",{get:function(){return this.getPropertyValue("tooltipPosition")},set:function(t){this.setPropertyValue("tooltipPosition",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipY",{get:function(){return this.getTooltipY()},set:function(t){this.setPercentProperty("tooltipY",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t,e=this.getPropertyValue("tooltipX");return V.a4(e)||(e=(0,L.KN)(50)),V.Et(e)&&(t=e),e instanceof L.QE&&(t=this.maxLeftSelf+this._measuredWidthSelf*e.value-this.pixelPaddingLeft-this.ex),V.Et(t)||(t=0),t},e.prototype.getTooltipY=function(){var t,e=this.getPropertyValue("tooltipY");return V.a4(e)||(e=(0,L.KN)(50)),V.Et(e)&&(t=e),e instanceof L.QE&&(t=this.maxTopSelf+this._measuredHeightSelf*e.value-this.pixelPaddingTop-this.ey),V.Et(t)||(t=0),t},e.prototype.raiseCriticalError=function(t,e){this.svgContainer&&(this._adapterO?this.modal.content=this._adapterO.apply("criticalError",t).message:this.modal.content=t.message,e?this.modal.closable=!0:this.disabled=!0,_.f.suppressErrors||this.modal.open()),_.f.verbose&&console.log(t)},e.prototype.processConfig=function(e){e&&(V.a4(e.tooltipColorSource)&&V.Kg(e.tooltipColorSource)&&this.map.hasKey(e.tooltipColorSource)&&(e.tooltipColorSource=this.map.getKey(e.tooltipColorSource)),V.a4
1(e.cursorOverStyle)&&V.Kg(e.cursorOverStyle)&&(e.cursorOverStyle=this.getCursorStyle(e.cursorOverStyle)),V.a4(e.cursorDowntyle)&&V.Kg(e.cursorDowntyle)&&(e.cursorDowntyle=this.getCursorStyle(e.cursorDowntyle)),V.a4(e.cursorOptions)&&(V.a4(e.cursorOptions.overStyle)&&V.Kg(e.cursorOptions.overStyle)&&(e.cursorOptions.overStyle=this.getCursorStyle(e.cursorOptions.overStyle)),V.a4(e.cursorOptions.downStyle)&&V.Kg(e.cursorOptions.downStyle)&&(e.cursorOptions.downStyle=this.getCursorStyle(e.cursorOptions.downStyle)))),t.prototype.processConfig.call(this,e),this.processDelayedMap()},e.prototype.getCursorStyle=function(t){switch(t){case"grab":return b.h.grab;case"grabbing":return b.h.grabbing;case"pointer":return b.h.pointer;case"horizontalResize":return b.h.horizontalResize;case"verticalResize":return b.h.verticalResize;default:return b.h.default}},e.prototype.configOrder=function(e,i){return e==i?0:"tooltipColorSource"==e?1:"tooltipColorSource"==i?-1:t.prototype.configOrder.call(this,e,i)},Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._isHidden?this._isHidden:!!this._parent&&this._parent.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showOnInit",{get:function(){return this.getPropertyValue("showOnInit")},set:function(t){t=V.G4(t),this.setShowOnInit(t)},enumerable:!0,configurable:!0}),e.prototype.setShowOnInit=function(t){this.setPropertyValue("showOnInit",t)&&!this.isTemplate&&(!t||this.inited||this.hidden?this._showOnInitDisposer&&this._showOnInitDisposer.dispose():(this._showOnInitDisposer=new u.ZT([x.u.events.once("enterframe",this.hideInitially,this),this.events.once("beforevalidated",this.hideInitially,this,!1),this.events.on("inited",this.appear,this,!1)]),this._disposers.push(this._showOnInitDisposer)))},e.prototype.hideInitially=function(){!this.isDisposed()&&(this.appeared=!1,this.inited||this.hide(0))},e.prototype.appear=function(){var t=this;if(this.appeared=!1,this.hidden||this.isHidden||this.hide(0),this.hidden)this.appeared=!0,this.dispatch("appeared");else{var e=this.show();e&&!e.isFinished()?this.addDisposer(e.events.on("animationended",function(){t.appeared=!0,t.dispatch("appeared")})):(this.appeared=!0,this.dispatch("appeared"))}},Object.defineProperty(e.prototype,"hidden",{get:function(){return this.getPropertyValue("hidden")},set:function(t){t=V.G4(t),this.setPropertyValue("hidden",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this._bbox},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"plugins",{get:function(){var t=this;return this._plugins||(this._plugins=new h.B8,this._disposers.push(this._plugins.events.on("inserted",function(e){e.newValue.target=t,e.newValue.init()})),this._disposers.push(new h.a(this._plugins))),this._plugins},enumerable:!0,configurable:!0}),e.prototype._systemUpdate=function(t){this.validate()},e.prototype._systemCheckIfValidate=function(){return!0},e.prototype._systemValidatePositions=function(){this.validatePosition()},e.prototype._systemValidateLayouts=function(){},e}(a._);x.u.registeredClasses.Sprite=R},82787:function(t,e,i){i.d(e,{Z:function(){return h}});var n=i(3460),r=i(91489),s=i(75300),a=i(37688),o=i(35580),l=i(13866),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._interactionEvents=new r.bT,e}return(0,n.C6)(e,t),e.prototype._dispatchSpriteEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=l.h1(t,{target:this.target});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._dispatchSpritePointEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=l.h1(t,{target:this.target,spritePoint:t.point?o.k0(t.point,this.target):void 0,svgPoint:this.target.getSvgPoint(t.point)});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._addInteractionObjectEvent=function(t,e,i,n){var r=this,s=n+"-"+t;return this._interactionEvents.insertKeyIfEmpty(s,function(){var o=r.target.interactions.events.on(t,e,i,n);return new a.Wr(function(){r._interactionEvents.removeKey(s),o.dispose()})}).increment()}
1,e.prototype._on=function(e,i,n,r,s,o){var l=t.prototype._on.call(this,e,i,n,r,s,o),h=[l.disposer];switch(i){case"hit":case"track":case"doublehit":case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":h.push(this._addInteractionObjectEvent(i,this._dispatchSpritePointEvent,this,s));break;case"rightclick":case"down":case"up":case"drag":case"dragged":case"dragstart":case"dragstop":case"over":case"out":case"swipe":case"swipeleft":case"swiperight":case"resize":case"focus":case"blur":case"toggled":h.push(this._addInteractionObjectEvent(i,this._dispatchSpriteEvent,this,s))}switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"toggled":this.target.togglable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":this.target.hoverable=!0;case"out":this.target.hoverable=!0;break;case"focus":case"blur":this.target.focusable=!0}return l.disposer=new a.ZT(h),l},e}(s.K)},56113:function(t,e,i){i.d(e,{R:function(){return f}});var n=i(3460),r=i(85802),s=i(31272),a=i(18586),o=i(42969),l=i(88166),h=i(66016),u=i(35580),p=i(11159),d=i(13866),c=i(30101),f=function(t){function e(){var e=t.call(this)||this;return e.transitionDuration=0,e.transitionEasing=p.Jx,e.properties={},e.propertyFields={},e.filters=new o.B8,e.isTemplate=!1,e.className="SpriteState",e._disposers.push(new o.a(e.filters)),e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){var t=this;return this._adapterO||(this._adapterO=new a.Y3(this),this._adapterO.events.on("inserted",function(e){t[e.newValue.key]=t[e.newValue.key]},void 0,!1),this._adapterO.events.on("removed",function(e){t[e.newValue.key]=t[e.newValue.key]},void 0,!1)),this._adapterO},enumerable:!0,configurable:!0}),e.prototype.getPropertyValue=function(t){var e=this.properties[t],i=this.sprite;if(i){var n=this.propertyFields[t];if(c.a4(n)&&(i.dataItem&&(e=i.dataItem.dataContext[n]),void 0==e&&(e="__unset")),c.a4(e))this._adapterO&&(e=this._adapterO.apply(t,e));else{var r=i.getPropertyValue(t);(e=this._adapterO?this._adapterO.apply(t,r):r)==r&&(e=void 0)}}return e},e.prototype.copyFrom=function(t){t&&t!=this&&(this.transitionDuration=t.transitionDuration,this.transitionEasing=t.transitionEasing,u.Lb(t.properties,this.properties),u.Lb(t.propertyFields,this.propertyFields),this.filters.copyFrom(t.filters),t._adapterO&&this.adapter.copyFrom(t._adapterO))},Object.defineProperty(e.prototype,"allValues",{get:function(){var t=this,e={};if(d.__(this.properties,function(i,n){e[i]=t.getPropertyValue(i)}),this._adapterO){var i=this._adapterO.keys();d.__(i,function(i,n){var r=t.getPropertyValue(n);e[n]=r})}var n=this.propertyFields;return d.__(n,function(i){var n=t.getPropertyValue(i);e[i]=n}),e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.properties={},this.filters.clear()},e.prototype.processConfig=function(e){c.a4(e)&&c.a4(e.properties)&&d.__(e.properties,function(t,i){c.Kg(i)&&(i.match(/^[0-9.\-]+\%$/)?e.properties[t]=(0,h.KN)(c.Ro(i)):i.match(/^\#[0-9abcdef]{3,}$/i)&&(e.properties[t]=(0,l.VR)(i)))}),t.prototype.processConfig.call(this,e)},e.prototype.asFunction=function(e){return"transitionEasing"==e||t.prototype.asIs.call(this,e)},e}(r.b);s.u.registeredClasses.SpriteState=f},10942:function(t,e,i){i.d(e,{q:function(){return h}});var n=i(31272),r=i(1944),s=i(80114),a=i(42736),o=i(13866),l=i(13991),h=new(function(){function t(){this._isPaused=!1,this.animations=[],this.uid=n.u.getUniqueId(),this.dummyCounter=0,this._frameRequested=!1,this.updateStepDuration=45,this.time=Date.now()}return t.prototype.reportTime=function(t,e){this.dummyCounter,e&&(this.time=Date.now())},t.prototype.update=function(){var t=this;if(!this._isPaused){this._frameRequested=!1;var e=Date.now();
1for(var i in n.u.dispatchImmediately("enterframe"),n.u.invalidDatas)if(o.CJ(n.u.invalidDatas,i)){for(var r=n.u.invalidDatas[i];r.length>0;){var l=r[0],h=l.dataProvider;if(l.isDisposed())a.TF(r,l);else if(h&&h.dataInvalid)try{if(h.validateData(),h.dataValidationProgress<1)break}catch(t){a.TF(r,h),h.raiseCriticalError(t)}else try{if(l.validateData(),l.dataValidationProgress<1)break}catch(t){a.TF(r,l),l.raiseCriticalError(t)}}if(Date.now()-e>this.updateStepDuration)break}for(;n.u.invalidRawDatas.length>0;){var l=n.u.invalidRawDatas["0"];if(l.isDisposed())a.TF(n.u.invalidRawDatas,l);else try{l.validateRawData()}catch(t){a.TF(n.u.invalidRawDatas,l),l.raiseCriticalError(t)}}for(;n.u.invalidDataItems.length>0;){var l=n.u.invalidDataItems["0"],h=l.dataProvider;if(l.isDisposed()||l.dataInvalid||h&&h.dataInvalid);else try{l.validateDataItems()}catch(t){a.TF(n.u.invalidDataItems,l),l.raiseCriticalError(t)}a.TF(n.u.invalidDataItems,l)}for(;n.u.invalidDataRange.length>0;){var l=n.u.invalidDataRange["0"],h=l.dataProvider;if(l.isDisposed()||l.dataInvalid||h&&h.dataInvalid);else try{l.validateDataRange(),l.skipRangeEvent||l.dispatchImmediately("datarangechanged"),l.skipRangeEvent=!1}catch(t){a.TF(n.u.invalidDataRange,l),l.raiseCriticalError(t)}a.TF(n.u.invalidDataRange,l)}var u=[];o.__(n.u.invalidLayouts,function(e){t.validateLayouts(e)}),o.__(n.u.invalidPositions,function(e){t.validatePositions(e)});var p=!1;if(e=Date.now(),o.__(n.u.invalidSprites,function(i,r){for(var s=0;r.length>0;){if(t.validateLayouts(i),t.validatePositions(i),5==++s){if(Date.now()-e>t.updateStepDuration)break;s=0}var o=r[r.length-1];if(o&&!o.isDisposed()){if(o._systemCheckIfValidate())if(t.checkIfValidate2(o))try{o._systemUpdate(u)}catch(t){o.invalid=!1,a.TF(r,o),o.raiseCriticalError(t)}else u.push(o);else u.push(o);o.invalid=!1}a.TF(r,o)}n.u.invalidSprites[i]=n.u.invalidSprites[i].concat(u)}),o.__(n.u.invalidSprites,function(t,e){e.length>0&&(p=!0)}),o.__(n.u.invalidDatas,function(t,e){e.length>0&&(p=!0)}),a.__(a.C(this.animations),function(t){t.update()}),o.__(n.u.invalidLayouts,function(e){t.validateLayouts(e)}),o.__(n.u.invalidPositions,function(e){t.validatePositions(e)}),(0,s.XN)(),o.__(n.u.invalidLayouts,function(e){t.validateLayouts(e)}),o.__(n.u.invalidPositions,function(e){t.validatePositions(e)}),n.u.dispatchImmediately("exitframe"),(p||this.animations.length>0||0)&&this.requestFrame(),this.updateStepDuration<200){var d=!0;o.__(n.u.invalidDatas,function(t,e){e.length>0&&(d=!1)}),o.__(n.u.invalidSprites,function(t,e){e.length>0&&(d=!1)}),d&&(this.updateStepDuration=200)}}},t.prototype.checkIfValidate2=function(t){return!t.dataItem||!t.dataItem.component||!t.dataItem.component.dataInvalid||!!t.dataItem.component.isTemplate},t.prototype.requestFrame=function(){var t=this;this._frameRequested||((0,s.er)(function(){t.update()}),this._frameRequested=!0)},t.prototype.softInvalidate=function(t){var e=this;t.children.each(function(t){t instanceof r.m&&e.softInvalidate(t),t.measureFailed&&((0,n.is)(t,"Label")?t.hardInvalidate():t.invalidate(),t.measureFailed=!1)})},t.prototype.validatePositions=function(t){for(var e=n.u.invalidPositions[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())a.TF(e,i);else try{i._systemValidatePositions()}catch(t){i.positionInvalid=!1,a.TF(e,i),i.raiseCriticalError(t)}}},t.prototype.validateLayouts=function(t){for(var e=n.u.invalidLayouts[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())a.TF(e,i);else try{i.children.each(function(t){t._systemValidateLayouts()}),i.validateLayout()}catch(t){i.layoutInvalid=!1,a.TF(e,i),i.raiseCriticalError(t)}}},t.prototype.log=function(t){l.R(t)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._isPaused},set:function(t){this._isPaused=t,t||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),t.VERSION="4.10.27",t}())},49971:function(t,e,i){i.d(e,{e:function(){return l}});var n=i(3460),r=i(14849),s=i(30101),a=i(42736),o=[",",";"," "],l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return(0,n.C6)(e,t),e.isCSV=function(t){return!!e.getDelimiterFromData(t)},e.getDelimiterFromData=function(t){var e,i=t.split("\n"),n=i.length;return a.__(o,function(t){for(var r=0,s=0,a=0;a<n;++a)if((r=i[a].split(t).length)>1){if(0===s)s=r;else if(r!=s){s=0;break}}else{s=0;break}s&&(e=t)}),e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,a=this.CSVToArray(t,this.options.delimiter),o=s.a4(this.options.emptyAs),l=this.parsableNumbers,h=this.parsableDates,u=[],p=[];for(r=0;r<this.options.skipRows;r++)a.shift();if(this.options.useColumnNames){p=a.shift();for(var d=0;d<p.length;d++)""===(n=s.a4(p[d])?p[d].replace(/^\s+|\s+$/gm,""):"")&&(n="col"+d),p[d]=n}for(;i=this.options.reverse?a.pop():a.shift();)if(!this.options.skipEmpty||1!==i.length||""!==i[0]){var c={};for(r=0;r<i.length;r++)c[n=void 0===p[r]?"col"+r:p[r]]=""===i[r]?this.options.emptyAs:i[r],o&&(c[n]=this.maybeToEmpty(c[n])),l&&(c[n]=this.maybeToNumber(n,c[n])),h&&(c[n]=this.maybeToDate(n,c[n]));u.push(c)}return u},e.prototype.CSVToArray=function(t,e){for(var i=RegExp("(\\"+(e=e||",")+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+e+"\\r\\n]*))","gi"),n=[[]],r=null;r=i.exec(t);){var s=r[1];s.length&&s!==e&&n.push([]);var a=void 0;a=r[2]?r[2].replace(RegExp('""',"g"),'"'):r[3],n[n.length-1].push(a)}return n},e}(r.o)}
1,83209:function(t,e,i){i.d(e,{o:function(){return l}});var n=i(49971),r=i(57415),s=i(18586),a=i(13318),o=i(42736),l=new(function(){function t(){this.adapter=new s.Y3(this)}return t.prototype.load=function(t){var e=Array.isArray(t)?t:[t];Promise.all(o.Tj(e,function(t){return t.dispatchImmediately("started"),t.dispatchImmediately("loadstarted"),a.H(t.url,t,t.requestOptions)})).then(function(t){o.__(t,function(t){var e=t.target;e.dispatchImmediately("loadended"),t.error?e.events.isEnabled("error")&&e.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:e.language.translate("Unable to load file: %1",null,e.url),target:e}):e.processData(t.response,t.type),e.dispatchImmediately("ended")})}).catch(function(t){t.target&&(t.target.dispatchImmediately("loadended"),t.target.events.isEnabled("error")&&t.target.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:t.target.language.translate("Unable to load file: %1",null,t.target.url),target:t.target}),t.target.dispatchImmediately("ended"))})},t.prototype.getParserByType=function(t){var e=this.adapter.apply("getParserByType",{parser:null,type:t}).parser;return e||("csv"==t||"text/csv"==t||"application/vnd.ms-excel"==t?new n.e:"json"==t||"application/json"==t?new r.o:void 0)},t.prototype.getParserByData=function(t,e){var i=this.adapter.apply("getParserByData",{parser:null,data:t,type:e}).parser;if(!i){if(i=this.getParserByType(e));else if(r.o.isJSON(t))return this.getParserByType("json");else if(n.e.isCSV(t))return this.getParserByType("csv")}return i},t}())},14849:function(t,e,i){i.d(e,{o:function(){return a}});var n=i(87033),r=i(35580),s=i(30101),a=function(){function t(){}return t.prototype.parse=function(t){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(t,e){return -1!==this.options.numberFields.indexOf(t)?r.to(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(t,e){return -1!==this.options.dateFields.indexOf(t)?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(t){return(!s.a4(t)||""==t)&&s.a4(this.options.emptyAs)?this.options.emptyAs:t},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return!this.options.dateFormatter&&(this.options.dateFormatter=new n.p,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),t}()},27771:function(t,e,i){i.d(e,{q:function(){return f}});var n=i(3460),r=i(83209),s=i(57415),a=i(49971),o=i(85802),l=i(18586),h=i(99262),u=i(87033),p=i(31272),d=i(30101),c=i(13866),f=function(t){function e(e,i){var n=t.call(this)||this;return n.adapter=new l.Y3(n),n._requestOptions={},n._incremental=!1,n._incrementalParams={},n._keepCount=!1,n._updateCurrentData=!1,n.showPreloader=!0,n.className="DataSource",e&&(n.url=e),i&&("string"==typeof i?n.parser=r.o.getParserByType(i):n.parser=i),n}return(0,n.C6)(e,t),e.prototype.processData=function(t,e){if(this.dispatchImmediately("parsestarted"),!this.parser&&(this.parser=r.o.getParserByData(t,e),!this.parser)){if(this.events.isEnabled("parseerror")){var i={type:"parseerror",message:this.language.translate("No parser available for file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",i)}this.dispatchImmediately("parseended");return}if(this.parser.options=this.adapter.apply("parserOptions",this.parser.options),this.parser.options.dateFields=this.adapter.apply("dateFields",this.parser.options.dateFields||[]),this.parser.options.numberFields=this.adapter.apply("numberFields",this.parser.options.numberFields||[]),this.parser.options.dateFields&&!this.parser.options.dateFormatter&&(this.parser.options.dateFormatter=this.dateFormatter),this.data=this.adapter.apply("parsedData",this.parser.parse(this.adapter.apply("unparsedData",t))),!d.a4(this.data)&&this.events.isEnabled("parseerror")){var n={type:"parseerror",message:this.language.translate("Error parsing file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",n)}this.dispatchImmediately("parseended"),d.a4(this.data)&&this.dispatchImmediately("done",{data:this.data}),this.lastLoad=new Date},Object.defineProperty(e.prototype,"url",{get:function(){var t=this.disableCache?this.timestampUrl(this._url):this._url;return this.incremental&&this.component.data.length&&(t=this.addUrlParams(t,this.incrementalParams)),this.adapter.apply("url",t)},set:function(t){this._url=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestOptions",{get:function(){return this.adapter.apply("requestOptions",this._requestOptions)},set:function(t){this._requestOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._parser||(this._parser=new s.o),this.adapter.apply("parser",this._parser)}
1,set:function(t){this._parser=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reloadFrequency",{get:function(){return this.adapter.apply("reloadTimeout",this._reloadFrequency)},set:function(t){var e=this;this._reloadFrequency!=t&&(this._reloadFrequency=t,t?d.a4(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",function(t){e._reloadTimeout=setTimeout(function(){e.load()},e.reloadFrequency)})):d.a4(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incremental",{get:function(){return this.adapter.apply("incremental",this._incremental)},set:function(t){this._incremental=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incrementalParams",{get:function(){return this.adapter.apply("incrementalParams",this._incrementalParams)},set:function(t){this._incrementalParams=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepCount",{get:function(){return this.adapter.apply("keepCount",this._keepCount)},set:function(t){this._keepCount=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateCurrentData",{get:function(){return this.adapter.apply("updateCurrentData",this._updateCurrentData)},set:function(t){this._updateCurrentData=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language?this._language:this.component?(this._language=this.component.language,this._language):(this.language=new h.T,this.language)},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.component?(this._dateFormatter=this.component.dateFormatter,this._dateFormatter):(this.dateFormatter=new u.p,this.dateFormatter)},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),e.prototype.timestampUrl=function(t){var e=new Date().getTime().toString(),i={};return i[e]="",this.addUrlParams(t,i)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout),d.a4(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0)},e.prototype.load=function(){this.url&&(this._reloadTimeout&&clearTimeout(this._reloadTimeout),r.o.load(this))},e.prototype.addUrlParams=function(t,e){var i=t.match(/\?/)?"&":"?",n=[];return(c.__(e,function(t,e){""!=e?n.push(t+"="+encodeURIComponent(e)):n.push(t)}),n.length)?t+i+n.join("&"):t},e.prototype.processConfig=function(e){p.u.registeredClasses.json=s.o,p.u.registeredClasses.JSONParser=s.o,p.u.registeredClasses.csv=a.e,p.u.registeredClasses.CSVParser=a.e,t.prototype.processConfig.call(this,e)},e}(o._)},57415:function(t,e,i){i.d(e,{o:function(){return o}});var n=i(3460),r=i(14849),s=i(13866),a=i(30101),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="application/json",e.options={},e}return(0,n.C6)(e,t),e.isJSON=function(t){try{return JSON.parse(t),!0}catch(t){return!1}},e.prototype.parse=function(t){var e,i=this;try{a.a4(JSON)&&(e=JSON.parse(t))}catch(t){return}var n=a.a4(this.options.emptyAs),r=this.parsableNumbers,o=this.parsableDates;if(Array.isArray(e)&&(r||o||n))for(var l=0,h=e.length;l<h;l++)!function(t){var a=e[t];s.__(a,function(t,e){n&&(a[t]=i.maybeToEmpty(a[t])),r&&(a[t]=i.maybeToNumber(t,a[t])),o&&(a[t]=i.maybeToDate(t,a[t]))})}(l);return e},e}(r.o)},64560:function(t,e,i){i.d(e,{P:function(){return r}});var n=i(88166),r=function(){function t(){}return t.opacity=1,t.strokeOpacity=1,t.strokeWidth=1,t.fillOpacity=1,t.fill=(0,n.yW)("#000000"),t.stroke=(0,n.yW)("#000000"),t.focusable=void 0,t.tabindex=0,t}()},41442:function(t,e,i){i.d(e,{S:function(){return p}});var n=i(3460),r=i(1944),s=i(14230),a=i(56147),o=i(89293),l=i(66016),h=i(13866),u=i(40645),p=function(t){function e(){var e=t.call(this)||this;return e.className="Cone",e.angle=30,e.radius=(0,l.KN)(100),e.topRadius=(0,l.KN)(100),e.top=e.createChild(a.P),e.top.shouldClone=!1,e.bottom=e.createChild(a.P),e.bottom.shouldClone=!1,e.body=e.createChild(s.kx),e.body.shouldClone=!1,e.body.setElement(e.paper.add("path")),e.layout="none",e.bodyFillModifier=new o.N,e.bodyFillModifier.lightnesses=[0,-.25,0],e.body.fillModifier=e.bodyFillModifier,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),h.Lb(this,this.top,s.mM),h.Lb(this,this.bottom,s.mM),h.Lb(this,this.body,s.mM);var e,i,n,r,a=this.innerWidth,o=this.innerHeight,l=this.bottom,p=this.top,d=this.angle;
1"horizontal"==this.orientation?(e=o/2,l.y=o/2,p.y=o/2,p.x=a,i=(90-d)/90,n=0,this.bodyFillModifier.gradient.rotation=90):(i=0,n=(90-d)/90,e=a/2,l.y=o,l.x=a/2,p.x=a/2,this.bodyFillModifier.gradient.rotation=0);var c=this.radius.value*e,f=this.topRadius.value*e;l.radius=c-c*i,l.radiusY=c-c*n,p.radius=f-f*i,p.radiusY=f-f*n,r="horizontal"==this.orientation?u.tw({x:0,y:o/2-l.radiusY})+u.Kf(-90,-180,l.radius,l.radiusY)+u.a5({x:a,y:o/2+p.radiusY})+u.Kf(90,180,p.radius,p.radiusY)+u.OE():u.tw({x:a/2-p.radius,y:0})+u.Kf(180,-180,p.radius,p.radiusY)+u.a5({x:a/2+l.radius,y:o})+u.Kf(0,180,l.radius,l.radiusY)+u.OE(),this.body.path=r},Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRadius",{get:function(){return this.getPropertyValue("topRadius")},set:function(t){this.setPropertyValue("topRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(r.m)},61571:function(t,e,i){i.d(e,{n:function(){return c}});var n=i(3460),r=i(1944),s=i(14230),a=i(39351),o=i(40645),l=i(88166),h=i(41014),u=i(73176),p=i(39253),d=i(30101),c=function(t){function e(){var e=t.call(this)||this;e.angle=30,e.depth=30,e.className="Rectangle3D",e.layout="none";var i=e.createChild(s.kx);i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1,e.sideBack=i,e._disposers.push(e.sideBack);var n=e.createChild(s.kx);n.shouldClone=!1,n.setElement(e.paper.add("path")),n.isMeasured=!1,e.sideBottom=n,e._disposers.push(e.sideBottom);var r=e.createChild(s.kx);r.shouldClone=!1,r.setElement(e.paper.add("path")),r.isMeasured=!1,e.sideLeft=r,e._disposers.push(e.sideLeft);var a=e.createChild(s.kx);a.shouldClone=!1,a.setElement(e.paper.add("path")),a.isMeasured=!1,e.sideRight=a,e._disposers.push(e.sideRight);var o=e.createChild(s.kx);o.shouldClone=!1,o.setElement(e.paper.add("path")),o.isMeasured=!1,e.sideTop=o,e._disposers.push(e.sideTop);var l=e.createChild(s.kx);return l.shouldClone=!1,l.setElement(e.paper.add("path")),l.isMeasured=!1,e.sideFront=l,e._disposers.push(e.sideFront),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight,n=this.depth,r=this.angle,s=a.F8(r),l=a.gn(r),h={x:0,y:0},u={x:e,y:0},p={x:e,y:i},d={x:0,y:i},c={x:n*l,y:-n*s},f={x:n*l+e,y:-n*s},g={x:n*l+e,y:-n*s+i},y={x:n*l,y:-n*s+i};this.sideFront.path=o.tw(h)+o.a5(u)+o.a5(p)+o.a5(d)+o.OE(),this.sideBack.path=o.tw(c)+o.a5(f)+o.a5(g)+o.a5(y)+o.OE(),this.sideLeft.path=o.tw(h)+o.a5(c)+o.a5(y)+o.a5(d)+o.OE(),this.sideRight.path=o.tw(u)+o.a5(f)+o.a5(g)+o.a5(p)+o.OE(),this.sideBottom.path=o.tw(d)+o.a5(y)+o.a5(g)+o.a5(p)+o.OE(),this.sideTop.path=o.tw(h)+o.a5(c)+o.a5(f)+o.a5(u)+o.OE()},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){if(t.prototype.setFill.call(this,e),(!d.Gv(e)||"r"in e)&&(e=(0,l.VR)(e)),e instanceof l.Q1)i=e.hex;else if(e instanceof u.W||e instanceof h.E)i=e.stops.getIndex(0).color.hex;else{var i,n=new p.e;n.lightness=-.2,this.sideBack.filters.push(n);var r=n.clone();r.lightness=-.4,this.sideLeft.filters.push(r);var s=n.clone();s.lightness=-.2,this.sideRight.filters.push(s);var a=n.clone();a.lightness=-.1,this.sideTop.filters.push(a);var o=n.clone();o.lightness=-.5,this.sideBottom.filters.push(o)}i&&(this.sideBack.fill=(0,l.yW)(i).lighten(-.2),this.sideLeft.fill=(0,l.yW)(i).lighten(-.4),this.sideRight.fill=(0,l.yW)(i).lighten(-.2),this.sideTop.fill=(0,l.yW)(i).lighten(-.1),this.sideBottom.fill=(0,l.yW)(i).lighten(-.5))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.sideBack.copyFrom(e.sideBack),this.sideLeft.copyFrom(e.sideLeft),this.sideRight.copyFrom(e.sideRight),this.sideTop.copyFrom(e.sideTop),this.sideBottom.copyFrom(e.sideBottom)},e}(r.m)}
1,80719:function(t,e,i){i.d(e,{o:function(){return c}});var n=i(3460),r=i(67811),s=i(14230),a=i(39351),o=i(40645),l=i(30101),h=i(88166),u=i(41014),p=i(73176),d=i(39253),c=function(t){function e(){var e=t.call(this)||this;e.className="Slice3D",e.layout="none";var i=e.createChild(s.kx);e.edge=i,i.shouldClone=!1,i.isMeasured=!1,i.toBack(),e.angle=30,e.depth=20;var n=e.createChild(s.kx);e.sideA=n,n.shouldClone=!1,n.isMeasured=!1;var r=e.createChild(s.kx);return e.sideB=r,r.shouldClone=!1,r.isMeasured=!1,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.setFill=function(e){if(t.prototype.setFill.call(this,e),e instanceof h.Q1)i=e.hex;else if(e instanceof p.W||e instanceof u.E)i=e.stops.getIndex(0).color.hex;else{var i,n=new d.e;n.lightness=-.25,this.edge.filters.push(n),this.sideA.filters.push(n.clone()),this.sideB.filters.push(n.clone())}if(i){var r=(0,h.yW)(i).lighten(-.25);this.edge.fill=r,this.sideA.fill=r,this.sideB.fill=r,this.edge.stroke=r,this.sideA.stroke=r,this.sideB.stroke=r}},e.prototype.draw=function(){if(this.cornerRadius=0,this.innerCornerRadius=0,t.prototype.draw.call(this),0!==this.arc&&this.radius>0&&this.depth>0){this.sideB.show(0),this.sideA.show(0),this.edge.show(0);for(var e=this.startAngle,i=this.arc,n=this.pixelInnerRadius||0,r=this.radiusY||0,s=this.radius,l=e+i,h=r/s*n,u={x:a.gn(e)*n,y:a.F8(e)*h},p={x:a.gn(e)*s,y:a.F8(e)*r},d={x:a.gn(l)*s,y:a.F8(l)*r},c={x:a.gn(l)*n,y:a.F8(l)*h},f=this.depth,g={x:u.x,y:u.y-f},y={x:p.x,y:p.y-f},m={x:d.x,y:d.y-f},v={x:c.x,y:c.y-f},b="",_=Math.ceil(i/5),x=i/_,P=e,C=y,w=0;w<_;w++)if((P+=x)>0&&P<180){b+=o.tw(C);var O={x:a.gn(P)*s,y:a.F8(P)*r-f};b+=o.a5({x:C.x,y:C.y+f}),b+=o.Cc({x:O.x,y:O.y+f},s,r,!0),b+=o.a5(O),b+=o.Cc(C,s,r),b+="z",C=O}else{b+=o.tw(C);var O={x:a.gn(P)*s,y:a.F8(P)*r-f};b+=o.Cc(O,s,r,!0),b+=o.a5({x:O.x,y:O.y+f}),b+=o.Cc({x:C.x,y:C.y+f},s,r),b+=o.a5(C),b+="z",C=O}C=g,P=e;for(var w=0;w<_;w++)if((P+=x)>0&&P<180){b+=o.tw(C);var O={x:a.gn(P)*n,y:a.F8(P)*h-f};b+=o.a5({x:C.x,y:C.y+f}),b+=o.Cc({x:O.x,y:O.y+f},n,h,!0),b+=o.a5(O),b+=o.Cc(C,n,h),b+="z",C=O}else{b+=o.tw(C);var O={x:a.gn(P)*n,y:a.F8(P)*h-f};b+=o.Cc(O,n,h,!0),b+=o.a5({x:O.x,y:O.y+f}),b+=o.Cc({x:C.x,y:C.y+f},n,h),b+=o.a5(C),b+="z",C=O}this.edge.path=b,this.sideA.path=o.tw(u)+o.a5(p)+o.a5(y)+o.a5(g)+o.OE(),this.sideB.path=o.tw(d)+o.a5(c)+o.a5(v)+o.a5(m)+o.OE(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront(),this.slice.dy=-f}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){var t=this.getPropertyValue("angle");return l.Et(t)||(t=0),t},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return l.Et(t)||(t=this.radius-this.radius*this.angle/90),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},e}(r.J)},85737:function(t,e,i){i.d(e,{$:function(){return h}});var n=i(3460),r=i(1944),s=i(79779),a=i(17539),o=i(35395),l=i(31272),h=function(t){function e(){var e=t.call(this)||this;e.className="Button",e.tooltipY=0,e.iconPosition="left",e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0;var i=new o.T,n=e.background;n.fill=i.getFor("secondaryButton"),n.stroke=i.getFor("secondaryButtonStroke"),n.fillOpacity=1,n.strokeOpacity=1,n.cornerRadius(3,3,3,3),e.label=new s.J,e.label.fill=i.getFor("secondaryButtonText"),e.label.shouldClone=!1;var r=n.states.create("hover");r.properties.fillOpacity=1,r.properties.fill=i.getFor("secondaryButtonHover");var a=n.states.create("down");return a.transitionDuration=100,a.properties.fill=i.getFor("secondaryButtonDown"),a.properties.fillOpacity=1,e.role="button",e.focusable=!0,e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(t){var e=this._icon;e&&(e.parent=void 0),t&&(this._icon=t,t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this.iconPosition=this.iconPosition,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(t){this.setPropertyValue("iconPosition",t),this.icon&&("left"==t?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(t){this._label&&this.removeDispose(this._label),this._label=t,t&&(t.parent=this,t.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}
1),e.prototype.createBackground=function(){return new a.T},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.label&&this.label.copyFrom(e.label),e.icon&&(this.icon=e.icon.clone())},e}(r.m);l.u.registeredClasses.Button=h},78777:function(t,e,i){i.d(e,{j:function(){return h}});var n=i(3460),r=i(14230),s=i(66016),a=i(31272),o=i(35580),l=i(39351),h=function(t){function e(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",(0,s.KN)(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return o.JY(this.radius,l.jk(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){var t=this.pixelRadius;this._bbox={x:-t,y:-t,width:2*t,height:2*t}},e}(r.kx);a.u.registeredClasses.Circle=h},56147:function(t,e,i){i.d(e,{P:function(){return a}});var n=i(3460),r=i(78777),s=i(31272),a=function(t){function e(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({rx:this.radius}),this.element.attr({ry:this.radiusY})},Object.defineProperty(e.prototype,"radiusY",{get:function(){return this.innerHeight/2},set:function(t){this.height=2*t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.innerWidth/2},set:function(t){this.width=2*t,this.invalidate()},enumerable:!0,configurable:!0}),e}(r.j);s.u.registeredClasses.Ellipse=a},79779:function(t,e,i){i.d(e,{J:function(){return g}});var n=i(3460),r=i(1944),s=i(31272),a=i(98340),o=i(37688),l=i(35395),h=i(39351),u=i(35580),p=i(30101),d=i(39049),c=i(80999),f=i(48093),g=function(t){function e(){var e=t.call(this)||this;return e.isOversized=!1,e.className="Label",e.fill=new l.T().getFor("text"),e.wrap=!1,e.truncate=!1,e.fullWords=!0,e.ellipsis="â¦",e.textAlign="start",e.textValign="top",e.layout="absolute",e.baseLineRatio=-.27,e._positionPrecision=1,e.events.on("maxsizechanged",function(){e.inited&&e.handleMaxSize()},e,!1),e.events.once("validated",e.handleValidate,e,!1),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.validatePosition()},e.prototype.setPaper=function(e){var i=t.prototype.setPaper.call(this,e);return i&&this.hardInvalidate(),i},e.prototype.handleValidate=function(){(this.currentText||this.text)&&(0==this.bbox.width||0==this.bbox.height)&&s.u.events.once("exitframe",this.hardInvalidate,this)},e.prototype.handleMaxSize=function(){(this.bbox.width>this.availableWidth||this.bbox.width<this.availableWidth&&(this.isOversized||this.truncate)||this.bbox.height>this.availableHeight||this.bbox.height<this.availableHeight&&this.isOversized)&&this.invalidate()},e.prototype.arrange=function(){},e.prototype.updateCurrentText=function(){u.hj(this.html)&&this.paper.supportsForeignObject()?(t="html",e=this.html):(t="svg",e=this.text),p.Gv(e)&&(e=e.toString()),p.a4(e)&&""!==e&&(e=this.populateString(e,this.dataItem)),"html"==t?this._adapterO&&(e=this._adapterO.apply("htmlOutput",e)):this._adapterO&&(e=this._adapterO.apply("textOutput",e));var t,e,i=e!=this.currentText||t!=this._currentFormat;return this.currentText=e,this._currentFormat=t,i},e.prototype.hardInvalidate=function(){this._prevStatus="",this.invalidate()},e.prototype.getLineBBox=function(t){var e=t&&t.element,i=e&&e.node;i&&i.parentNode&&(t.bbox=e.getBBox())},e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.bbox.width,i=this.bbox.height,n=this.topParent;if(n&&(!n.maxWidth||!n.maxHeight))return void n.events.once("maxsizechanged",this.hardInvalidate,this,
1!1);var r=h.T9(this.availableWidth-this.pixelPaddingLeft-this.pixelPaddingRight,0),s=h.T9(this.availableHeight-this.pixelPaddingTop-this.pixelPaddingBottom,0),o=s+","+r+this.wrap+this.truncate+this.fullWords+this.rtl+this.ellipsis;if(this.updateCurrentText()||!this.inited||this._prevStatus!=o){this._measuredWidth=0,this._measuredHeight=0,this.isOversized=!1;var l=this._currentFormat,d=this.currentText;if(!p.a4(d)||""==d)return void this.element.attr({display:"none"});var c=d.split("\n");this._prevStatus=o,this.textAlign=this.textAlign;var f=this.group.getAttr("display");if("none"==f&&this.group.removeAttr("display"),this.textPathElement&&this.textPathElement.removeChildren(),"svg"===l){this.element.removeAttr("display");var g=this.element;this.resetBBox();for(var y=0,m="",v=0;v<c.length;v++){var b=c[v];if(""==b){var _=this.getSVGLineElement("",0);_.add(this.getSvgElement(".",(0,a.S)().translateStyleShortcuts(m))),g.add(_);var x=Math.ceil(_.getBBox().height);x>0&&(y+=x),g.removeElement(_);var P=this.getLineInfo(v);P&&(P.text="",P.element.textContent="");continue}var C=(0,a.S)().chunk(b,null,this.ignoreFormatting),w=0,O=!0,S=!1,T=this.getLineInfo(v);T?(T.text="",T.element.textContent=""):(T={text:"",element:this.getSVGLineElement("",0),complex:!1},g.add(T.element)),T.element.removeAttr("display"),T.element.removeChildren(),this.textPathElement&&T.element.add(this.textPathElement);for(var I=0;I<C.length;I++){I&&(T.complex=!0);var k=C[I];if("format"===k.type)m=k.text;else{if(S)continue;if(T.text=k.text,T.style=(0,a.S)().translateStyleShortcuts(m),this.textPathElement?this.getSvgElement(T.text,T.style,this.textPathElement):this.getSvgElement(T.text,T.style,T.element),this.getLineBBox(T),T.bbox.width=Math.ceil(T.bbox.width),w<T.bbox.height&&(w=T.bbox.height),(this.wrap||this.truncate)&&T.bbox.width>r){this.isOversized=!0;var D=T.element.textContent,F=T.bbox.width/D.length,A=h.jk(Math.ceil((T.bbox.width-r)/F),D.length);if(this.truncate){var V=!1,E=T.element.node;if(E&&E.childNodes)for(var M=T.element.node.childNodes.length-1;M>=0;M--){var L=T.element.node.childNodes[M];if(V&&T.bbox.width<=r&&(L.textContent+=" "+this.ellipsis,T.bbox=T.element.getBBox(),T.bbox.width=Math.floor(T.bbox.width),T.bbox.width<=r))break;V=!1;var j=L.textContent;for(D=T.element.textContent,A=h.jk(Math.ceil((T.bbox.width-r)/F),D.length);T.bbox.width>r&&A<=D.length&&A>0;){var R=h.T9(D.length-A-this.ellipsis.length,1);R<=1&&(A=0,M>0&&(V=!0,T.element.node.removeChild(L))),(j=u.Ce(j,R,this.ellipsis,this.fullWords,this.rtl)).length>R&&this.fullWords&&(j=u.Ce(j,R,this.ellipsis,!1,this.rtl)),L.textContent=j,T.bbox=T.element.getBBox(),T.bbox.width=Math.floor(T.bbox.width),A=Math.ceil(1.1*A)}S=!0}}else if(T.element.node){for(var B=T.element.node.lastChild,H=void 0;T.bbox.width>r&&A<=D.length&&A>0;){var R=h.T9(k.text.length-A,1);if(O?H=u.c9(k.text,R,!0,this.rtl):((H=u.c9(k.text,R,!0,this.rtl,!1))[0].length>R||1===R)&&(T.element.node.removeChild(B),A=0),A>0){var W=H.shift();O&&(W=u.Bq(W)),B.textContent=(0,a.S)().cleanUp(W)}T.bbox=T.element.getBBox(),T.bbox.width=Math.floor(T.bbox.width),A++}if(H.length>0){var N="";p.a4(H)&&(this.rtl?N+=H.join("")+m:N+=m+H.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var Y=I+1;Y<C.length;Y++)"value"==C[Y].type?N+=C[Y].text.replace(/([\[\]]{1})/g,"$1$1"):N+=C[Y].text;c.splice(v+1,0,N)}S=!0}}this.bbox.width<T.bbox.width&&(this.bbox.width=T.bbox.width),this.bbox.height=y+w,this.textPathElement?T.element.attr({dy:-this.paddingBottom.toString()}):T.element.attr({x:"0",y:y+w,dy:h.LI(this.baseLineRatio*w,3).toString()}),O=!1}}var X=T.element.node;if(X){var B=X.lastChild;B&&(B.textContent=this.rtl?u.NB(B.textContent):u.BO(B.textContent))}y+=w,this.addLineInfo(T,v)}this.maybeHideOversized(),this.measureFailed=!1,(0==this.bbox.width||0==this.bbox.height)&&(this.measureFailed=!0),this._measuredWidth=h.LI(h.T9(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight)),this._measuredHeight=h.LI(h.T9(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom)),this.alignSVGText(),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,(i!=this._measuredHeight||e!=this._measuredWidth)&&this.dispatch("transformed"),this.hideUnused(c.length)}else{this.element.removeAttr("display"),this.resetBBox();var g=this.element;g.removeChildren(),this.setCache("lineInfo",[],0);var z=this.paper.foreignObject();g.add(z),this.maxWidth&&z.attr({width:this.maxWidth-this.pixelPaddingLeft-this.pixelPaddingRight}),this.maxHeight&&z.attr({height:this.maxHeight-this.pixelPaddingTop-this.pixelPaddingBottom});var K=this.getHTMLLineElement(d);z.node.appendChild(K),K.style.display="inline-block";var U=K.clientWidth,G=K.clientHeight;K.style.display="block",this._bbox={x:0,y:0,width:U,height:G},z.attr({width:U+1,height:G}),this.maybeHideOversized(),this._measuredWidth=h.T9(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=h.T9(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(K.style.overflow="hidden"),(U>r||G>s)&&(this.isOversized=!0)}
1this.setStyles(),this.updateCenter(),this.updateBackground(),"none"==f&&this.group.attr({display:"none"}),this.pathElement&&this.paper.appendDef(this.pathElement)}},e.prototype.maybeHideOversized=function(){this.hideOversized&&(this.availableWidth<this.bbox.width||this.availableHeight<this.bbox.height?(this.element.attr({display:"none"}),this.isOversized=!0):(this.element.removeAttr("display"),this.isOversized=!1))},e.prototype.alignSVGText=function(){var t=this.element,e=t.node.children||t.node.childNodes;if(e&&(!e||0!=e.length)){var i=this._measuredWidth,n=this._measuredHeight;u.kH(this.pixelPaddingLeft),u.kH(this.pixelPaddingRight),u.kH(this.pixelPaddingTop),u.kH(this.pixelPaddingBottom),this.rtl?t.attr({direction:"rtl"}):t.removeAttr("direction");for(var r=e.length-1;r>=0;r--){var s=e[r];if(s.setAttribute("text-anchor",this.textAlign),this.textPathElement)s.removeAttribute("x"),s.removeAttribute("y");else{switch(this.textAlign){case"middle":s.setAttribute("x",(i/2).toString()+"px");break;case"end":this.rtl||s.setAttribute("x",i.toString());break;default:this.rtl?s.setAttribute("x",i.toString()):s.removeAttribute("text-anchor")}var a=p.Ro(s.getAttribute("y"));switch(this.textValign){case"middle":s.setAttribute("y",((a||0)+(n-this.bbox.height)/2).toString());break;case"bottom":s.setAttribute("y",((a||0)+n-this.bbox.height).toString());break;default:s.setAttribute("y",(a||0).toString())}}}}},e.prototype.getSVGLineElement=function(t,e){var i=this.paper.addGroup("text");return i.textContent=t,i.attr({x:"0"}),p.a4(e)&&i.attr({y:e.toString()}),(this.truncate||this.wrap)&&i.attr({overflow:"hidden"}),i},Object.defineProperty(e.prototype,"rtl",{get:function(){return p.a4(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(t){t=p.G4(t),this._rtl=t,this.element&&this.alignSVGText()},enumerable:!0,configurable:!0}),e.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},e.prototype.getHTMLLineElement=function(t){var e=document.createElement("div");switch(e.innerHTML=t,this.textAlign){case"middle":e.style.textAlign="center";break;case"end":e.style.textAlign="right"}return this.wrap?e.style.wordWrap="break-word":e.style.whiteSpace="nowrap",this.rtl&&(e.style.direction="rtl"),p.a4(this.fill)&&(e.style.color=this.fill.toString()),e},e.prototype.setStyles=function(){var t=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?t.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(t.removeStyle("webkitUserSelect"),t.removeStyle("msUserSelect"))},e.prototype.hideUnused=function(t){this.initLineCache();var e=this.getCache("lineInfo");if(e.length>=t)for(var i=t;i<e.length;i++){var n=e[i];n&&n.element&&n.element.attr({display:"none"})}},Object.defineProperty(e.prototype,"text",{get:function(){return this.getPropertyValue("text")},set:function(t){this.setPropertyValue("text",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPropertyValue("path",t,!0)&&(this.pathElement&&this.pathElement.dispose(),this.textPathElement&&this.textPathElement.dispose(),this.pathElement=this.paper.add("path"),this.pathElement.attr({d:t}),this.pathElement.attr({id:"text-path-"+this.uid}),this._disposers.push(this.pathElement),this.textPathElement=this.paper.addGroup("textPath"),this.textPathElement.attrNS(d.zK,"xlink:href","#text-path-"+this.uid),this.textPathElement.attr({path:t}),this._disposers.push(this.textPathElement),this.hardInvalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationOnPath",{get:function(){return this.getPropertyValue("locationOnPath")},set:function(t){this.setPropertyValue("locationOnPath",t),this.textPathElement&&this.textPathElement.attr({startOffset:100*t+"%"})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseLineRatio",{get:function(){return this.getPropertyValue("baseLineRatio")},set:function(t){this.setPropertyValue("baseLineRatio",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrap",{get:function(){return this.getPropertyValue("wrap")},set:function(t){this.resetBBox(),this.setPropertyValue("wrap",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truncate",{get:function(){return this.getPropertyValue("truncate")}
1,set:function(t){this.resetBBox(),this.setPropertyValue("truncate",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWords",{get:function(){return this.getPropertyValue("fullWords")},set:function(t){this.setPropertyValue("fullWords",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ellipsis",{get:function(){return this.getPropertyValue("ellipsis")},set:function(t){this.setPropertyValue("ellipsis",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this.getPropertyValue("selectable")},set:function(t){this.setPropertyValue("selectable",t,!0),this.setStyles()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textAlign",{get:function(){return this.getPropertyValue("textAlign")},set:function(t){this.setPropertyValue("textAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textValign",{get:function(){return this.getPropertyValue("textValign")},set:function(t){this.setPropertyValue("textValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.getPropertyValue("html")},set:function(t){this.setPropertyValue("html",t,!0),p.a4(t)||this.element.removeChildrenByTag("foreignObject")},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){if(t.prototype.setFill.call(this,e),this.html)for(var i=this.element.node.getElementsByTagName("div"),n=0;n<i.length;n++){var r=i[n];p.a4(this.fill)&&(r.style.color=this.fill.toString())}},Object.defineProperty(e.prototype,"hideOversized",{get:function(){return this.getPropertyValue("hideOversized")},set:function(t){this.setPropertyValue("hideOversized",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreFormatting",{get:function(){return this.getPropertyValue("ignoreFormatting")},set:function(t){this.setPropertyValue("ignoreFormatting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},e.prototype.getLineInfo=function(t){this.initLineCache();var e=this.getCache("lineInfo");return e.length>t?e[t]:void 0},e.prototype.addLineInfo=function(t,e){this.initLineCache(),this.getCache("lineInfo")[e]=t},e.prototype.initLineCache=function(){p.a4(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},e.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new o.ZT([e.events.on("valuechanged",this.invalidate,this,!1),e.events.on("workingvaluechanged",this.invalidate,this,!1),e.events.on("calculatedvaluechanged",this.invalidate,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),t.prototype.setDataItem.call(this,e)},Object.defineProperty(e.prototype,"availableWidth",{get:function(){return p.a4(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableHeight",{get:function(){return p.a4(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),e.prototype.getSvgElement=function(t,e,i){var n=this.paper.add("tspan");if(n.textContent=t,e)if(f.f.nonce&&i){var r="amcharts_element_style_"+btoa(e).replace(/[^\w]*/g,"");n.node.setAttribute("class",r);var s=document.createElementNS(d.gm,"defs");i.node.appendChild(s);var a=document.createElement("style");a.type="text/css",a.innerHTML="."+r+" { "+e+"}",a.setAttribute("nonce",f.f.nonce),s.appendChild(a)}else n.node.setAttribute("style",e);return i&&i.add(n),n},e.prototype.deepInvalidate=function(){t.prototype.deepInvalidate.call(this),this.hardInvalidate()},Object.defineProperty(e.prototype,"readerTitle",{get:function(){var t=this.getPropertyValue("readerTitle");return t?this.dataItem&&(t=this.populateString(t)):t=this.populateString(u.wh(u.hj(this.html)?this.html:this.text)),t},set:function(t){t=p.fE(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),e}(r.m);s.u.registeredClasses.Label=g,c.Z4.push({relevant:c.H$.heightXS,state:function(t,e){if(t instanceof g&&t.parent&&t.parent.isBaseSprite){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})}
1,20411:function(t,e,i){i.d(e,{N:function(){return u}});var n=i(3460),r=i(14230),s=i(88166),a=i(73176),o=i(31272),l=i(30101),h=i(39351),u=function(t){function e(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=(0,s.yW)(),e.x1=0,e.y1=0,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.x1==this.x2||this.y1==this.y2?this.pixelPerfect=!0:this.pixelPerfect=!1,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(e.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(t){l.Et(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof a.W&&(e=1e-5),this.setPropertyValue("x1",t,!0),this.element.attr({x1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x2",{get:function(){var t=this.getPropertyValue("x2");return l.Et(t)||(t=this.pixelWidth),t},set:function(t){l.Et(t)||(t=0),this.setPropertyValue("x2",t,!0),this.element.attr({x2:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(t){l.Et(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof a.W&&(e=1e-5),this.setPropertyValue("y1",t,!0),this.element.attr({y1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y2",{get:function(){var t=this.getPropertyValue("y2");return l.Et(t)||(t=this.pixelHeight),t},set:function(t){l.Et(t)||(t=0),this.setPropertyValue("y2",t,!0),this.element.attr({y2:t})},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.x2,y:this.y2},n=h.P8(e,i,t),r=h._H(e,i);return{x:n.x,y:n.y,angle:r}},e}(r.kx);o.u.registeredClasses.Line=u},79340:function(t,e,i){i.d(e,{a:function(){return a}});var n=i(3460),r=i(37380),s=i(18586),a=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.Y3(e),e.className="Modal",e.showCurtain=!0,e.draggable=!1,e}return(0,n.C6)(e,t),e}(r.z)},59477:function(t,e,i){i.d(e,{D:function(){return a}});var n=i(3460),r=i(71693),s=i(39351),a=function(t){function e(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=6,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var r=this.pointerX,a=this.pointerY,o=this.pointerBaseWidth/2,l=s.jk(i/2,n/2),h=s.s_(e,0,l),u=s.s_(e,0,l),p=s.s_(e,0,l),d=s.s_(e,0,l),c=void 0,f=void 0,g=void 0,y=void 0,m=(r-0)*(n-0)-(a-0)*(i-0),v=(r-0)*(0-n)-(a-n)*(i-0);if(m>0&&v>0){var b=s.s_(r,h+o,i-o-u);c="M"+h+",0 L"+(b-o)+",0 L"+r+","+(a=s.s_(a,-1/0,0))+" L"+(b+o)+",0 L"+(i-u)+",0"}else c="M"+h+",0 L"+(i-u)+",0";if(m<0&&v<0){var b=s.s_(r,d+o,i-o-p);a=s.s_(a,n,1/0),g=" L"+(i-p)+","+n+" L"+(b+o)+","+n+" L"+r+","+a+" L"+(b-o)+","+n+" L"+d+","+n}else g=" L"+d+","+n;if(m<0&&v>0){var _=s.s_(a,h+o,n-d-o);y=" L0,"+(n-d)+" L0,"+(_+o)+" L"+(r=s.s_(r,-1/0,0))+","+a+" L0,"+(_-o)+" L0,"+h}else y=" L0,"+h;if(m>0&&v<0){var _=s.s_(a,u+o,n-o-p);r=s.s_(r,i,1/0),f=" L"+i+","+u+" L"+i+","+(_-o)+" L"+r+","+a+" L"+i+","+(_+o)+" L"+i+","+(n-p)}else f=" L"+i+","+(n-p);var x=" a"+u+","+u+" 0 0 1 "+u+","+u,P=" a"+p+","+p+" 0 0 1 -"+p+","+p,C=" a"+d+","+d+" 0 0 1 -"+d+",-"+d,w=" a"+h+","+h+" 0 0 1 "+h+",-"+h;this.path=c+x+f+P+g+C+y+w}},Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(r.$)},71693:function(t,e,i){i.d(e,{$:function(){return a}});var n=i(3460),r=i(14230),s=i(30101),a=function(t){function e(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.pointerY=0,e.pointerX=0,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),s.Et(this.pointerX)||(this.pointerX=this.pixelWidth/2),s.Et(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(e.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(t){this.setPropertyValue("pointerBaseWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(t){this.setPropertyValue("pointerLength",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(t){this.setPropertyValue("pointerX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")}
1,set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.kx)},13949:function(t,e,i){i.d(e,{R:function(){return h}});var n=i(3460),r=i(14230),s=i(88166),a=i(31272),o=i(40645),l=i(39351),h=function(t){function e(){var e=t.call(this)||this;return e._distance=0,e.className="Polyline",e.element=e.paper.add("path"),e.shapeRendering="auto",e.fill=(0,s.yW)(),e.strokeOpacity=1,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){for(var e="",i=0,n=t.length;i<n;i++){var r=t[i];if(r.length>0){e+=o.tw(r[0]);for(var s=1;s<r.length;s++){var a=r[s];e+=o.a5(a),this._distance+=l.Yf(r[s-1],a)}}}this.path=e}this._realSegments=t},Object.defineProperty(e.prototype,"segments",{get:function(){return this.getPropertyValue("segments")},set:function(t){this.setPropertyValue("segments",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distance",{get:function(){return this._distance},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=0;t<0&&(t=Math.abs(t),e=180);var i=this._realSegments;if(i){for(var n=this.distance,r=0,s=void 0,a=0,o=0,h=void 0,u=void 0,p=0;p<i.length;p++){var d=i[p];if(d.length>1){for(var c=1;c<d.length;c++)if(h=d[c-1],u=d[c],a=r/n,r+=l.Yf(h,u),o=r/n,a<=t&&o>t){p=i.length;break}}else 1==d.length&&(h=d[0],u=d[0],a=0,o=1)}if(h&&u){var f=(t-a)/(o-a),g=l.P8(h,u,f);return{x:g.x,y:g.y,angle:e+l._H(h,u)}}}return{x:0,y:0,angle:0}},Object.defineProperty(e.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),e}(r.kx);a.u.registeredClasses.Polyline=h},3514:function(t,e,i){i.d(e,{W:function(){return h}});var n=i(3460),r=i(13949),s=i(31272),a=i(39351),o=i(30101),l=i(40645),h=function(t){function e(){var e=t.call(this)||this;return e.className="Polyspline",e.tensionX=.5,e.tensionY=.5,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments,e=this.tensionX,i=this.tensionY;if(this.allPoints=[],t&&t.length>0){var n="";this._realSegments=[];for(var r=0,s=t.length;r<s;r++){var o=t[r],h=[];if(this._realSegments.push(h),o.length>0){var u=o[0],p=o[o.length-1],d=!1;a.LI(u.x,3)==a.LI(p.x)&&a.LI(u.y)==a.LI(p.y)&&(d=!0),n+=l.tw(o[0]);for(var c=0;c<o.length-1;c++){var f=o[c-1],g=o[c],y=o[c+1],m=o[c+2];0===c?f=o[c]:c==o.length-2&&(m=o[c+1]),m||(m=y),0===c?f=d?o[o.length-2]:o[r]:c==o.length-2&&(m=d?o[1]:o[c+1]);var v=a.Jc(f,g,y,m,e,i),b=a.Cu(f,g,y,m,e,i);n+=l.pC(y,v,b);var _=1.2*Math.ceil(a.Bg(g,y,v,b,20)),x=g;if(_>0)for(var P=0;P<=_;P++){var C=a.lH(g,y,v,b,P/_);if(C.x!=x.x||C.y!=x.y){h.push(C);var w=a.LI(a._H(x,C),5);this._distance+=a.Yf(x,C),this.allPoints[Math.floor(this._distance)]={x:C.x,y:C.y,angle:w},x=C}}else h.push(f)}}var O=this.allPoints;if(O.length>1){for(var S=0;S<O.length;S++)if(!O[S]){if(S>1)O[S]=O[S-1];else for(var T=1;T<O.length;T++)if(O[T]){O[S]=O[T];break}}}}this.path=n}},e.prototype.getClosestPointIndex=function(t){var e,i=this.allPoints,n=1/0;if(i.length>1)for(var r=1;r<i.length;r++){var s=a.Yf(t,i[r]);s<n&&(e=r,n=s)}return e},Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0),this.makePath()},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){var i=0,n=this.allPoints,r=n.length;if(o.Et(t)||(t=0),r>1){if(e&&r>3){if(t<0){t<-.01&&(t=-.01);var s=n[0],l=n[1],h=s.x-(s.x-l.x)*r*t,u=s.y-(s.y-l.y)*r*t;return{x:h,y:u,angle:a._H(s,l)}}else if(t>1){t>1.01&&(t=1.01);var s=n[n.length-2],l=n[n.length-3],h=s.x+(s.x-l.x)*r*(t-1),u=s.y+(s.y-l.y)*r*(t-1);return{x:h,y:u,angle:a._H(s,{x:h,y:u})}}else if(1==t){var p=n[n.length-1];return{x:p.x,y:p.y,angle:p.angle}}}else t<0&&(t=Math.abs(t),i=180),t>=1&&(t=.9999999999999);var d=n[Math.floor(t*r)];return{x:d.x,y:d.y,angle:d.angle+i}}if(1!=r)return{x:0,y:0,angle:0};var d=n[0];return{x:d.x,y:d.y,angle:d.angle}},e}(r.R);s.u.registeredClasses.Polyspline=h}
1,37380:function(t,e,i){i.d(e,{z:function(){return g}});var n=i(3460),r=i(39049),s=i(91489),a=i(37688),o=i(35395),l=new s.bT,h=i(18586),u=i(85802),p=i(34788),d=i(73228),c=i(30101),f=i(13866),g=function(t){function e(){var e=t.call(this)||this;return e.adapter=new h.Y3(e),e._elements={},e._IOs={},e._content="",e._title="",e._classPrefix="ampopup",e._defaultStyles=!0,e._showCurtain=!1,e._draggable=!0,e._align="center",e._dynamicResize=!0,e._verticalAlign="middle",e._shift={x:0,y:0},e._tempShift={x:0,y:0},e._readerTitle="",e._closable=!0,e._cssLoaded=!1,e._fitTo="window",e.isTemplate=!1,e._sized=!1,e.className="Popup",e}return(0,n.C6)(e,t),e.prototype.open=function(){this.container&&(this._elements.wrapper&&this.container.appendChild(this._elements.wrapper),this._elements.curtain&&(this.container.appendChild(this._elements.curtain),this.showCurtain=this.showCurtain),this.positionElement(),this.dispatchImmediately("opened"))},e.prototype.close=function(){this._elements.wrapper&&this._elements.wrapper.parentElement&&this._elements.wrapper.parentElement.removeChild(this._elements.wrapper),this._elements.curtain&&this._elements.curtain.parentElement&&this._elements.curtain.parentElement.removeChild(this._elements.curtain),this.dispatchImmediately("closed"),this.releasePointers()},e.prototype.dispose=function(){this.close(),t.prototype.dispose.call(this)},e.prototype.positionElement=function(t){var e=this;void 0===t&&(t=!0),this._elements.wrapper&&setTimeout(function(){if(e._elements.wrapper){if(t||!e._sized){e._elements.wrapper.style.opacity="0.01",e._elements.wrapper.style.left="0",e._elements.wrapper.style.top="0",e._elements.wrapper.style.margin="0 0 0 0",e._elements.wrapper.style.width="",e._elements.wrapper.style.height="";var i=e._elements.wrapper.getBoundingClientRect();e._elements.wrapper.style.width=i.width+"px",e._elements.wrapper.style.height=i.height+"px",e._sized=!0}if(e.dynamicResize)for(var n=e._elements.wrapper.getElementsByTagName("img"),r=0;r<n.length;r++){var s=n[r];if(!s.complete){s.addEventListener("load",function(){e.positionElement(!0)});break}}setTimeout(function(){var i;if(e._elements.wrapper){switch((t||!e._sized)&&e._bbox?i=e._bbox:(i=e._elements.wrapper.getBoundingClientRect(),e._elements.wrapper.style.opacity=""),e.align){case"left":e._elements.wrapper.style.left="0",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;case"center":e._elements.wrapper.style.left="50%",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(Math.round(-i.width/2)+(e._shift.x+e._tempShift.x));break;case"right":e._elements.wrapper.style.left="auto",e._elements.wrapper.style.right="0",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;default:e._elements.wrapper.style.left=e.toStyle(e.left)||"auto",e._elements.wrapper.style.right=e.toStyle(e.right)||"auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x)}switch(e.verticalAlign){case"top":e._elements.wrapper.style.top="0",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;case"middle":e._elements.wrapper.style.top="50%",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(Math.round(-i.height/2)+(e._shift.y+e._tempShift.y));break;case"bottom":e._elements.wrapper.style.top="auto",e._elements.wrapper.style.bottom="0",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;default:e._elements.wrapper.style.top=e.toStyle(e.top)||"auto",e._elements.wrapper.style.bottom=e.toStyle(e.bottom)||"auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y)}}},1)}},1)},e.prototype.setupDragging=function(){var t=this;this.draggable?(this._IOs.header.events.has("drag")||this._IOs.header.events.on("drag",function(e){t._tempShift.x=e.shift.x,t._tempShift.y=e.shift.y,t.positionElement(!1)}),this._IOs.header.events.has("dragstop")||this._IOs.header.events.on("dragstop",function(e){t._shift.x+=t._tempShift.x,t._shift.y+=t._tempShift.y,t._tempShift.x=0,t._tempShift.y=0,t.positionElement(!1)})):this._IOs.header&&((0,p.H)().unprepElement(this._IOs.header),this._IOs.header.events.has("drag")&&this._IOs.header.events.off("drag"),this._IOs.header.events.has("dragstop")&&this._IOs.header.events.off("dragstop"))},e.prototype.toStyle=function(t){return c.a4(t)?c.Et(t)?""+t+"px":t.toString():null},Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",this._classPrefix)},set:function(t){this._classPrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefixRaw",{get:function(){return this._classPrefix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this.adapter.apply("content",this._content)},set:function(t){this._content!=t&&(this._content=t,this._elements.content||this.createContentElement(),this._elements.content.innerHTML=t,this.positionElement())},enumerable:!0,configurable:!0}),e.prototype.getClassNames=function(){return this.adapter.apply("classNames",{wrapperClass:this.classPrefix+"",headerClass:this.classPrefix+"-header",titleClass:this.classPrefix+"-title",contentClass:this.classPrefix+"-content",insideClass:this.classPrefix+"-inside",curtainClass:this.classPrefix+"-curtain",closeClass:this.classPrefix+"-close"})},e.prototype.createContentElement=function(){if(!this._elements.wrapper){var t=this.getClassNames(),e=document.createElement("div");e.className=t.contentClass,e.style.opacity="0.01";var i=document.createElement("a");i.className=t.closeClass;var n=document.createElement("div");n.className=t.headerClass;var r=document.createElement("div");r.innerHTML=this.title,r.className=t.titleClass,this.title||(r.style.display="none");var s=document.createElement("div");s.className=t.insideClass,s.innerHTML=this.content,this._IOs.wrapper=(0,p.H)().getInteraction(e),this._IOs.header=(0,p.H)().getInteraction(n),this._disposers.push(this._IOs.wrapper),this._IOs.wrapper.events.on("over",this.disablePointers,this),this._IOs.wrapper.events.on("out",this.releasePointers,this),this._IOs.close=(0,p.H)().getInteraction(i),this._disposers.push(this._IOs.close),i.style.visibility="hidden",e.setAttribute("role","dialog"),n.appendChild(i),n.appendChild(r),e.a
1ppendChild(n),e.appendChild(s),this.container.appendChild(e),this._elements.wrapper=e,this._elements.header=n,this._elements.content=s,this._elements.title=r,this._elements.close=i,this.defaultStyles&&this.loadDefaultCSS(),this.createCurtainElement(),this.applyEvents(),this.applyReaderSettings(),this.setupDragging()}},Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",this._title)},set:function(t){this._title!=t&&(this._title=t,this._elements.content||this.createContentElement(),this._elements.title.innerHTML=t,this.positionElement(),this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerTitle",{get:function(){return this.adapter.apply("readerTitle",""!=this._readerTitle?this._readerTitle:this.title)},set:function(t){this._readerTitle!=t&&(this._readerTitle=t,this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this.adapter.apply("closable",this._closable)},set:function(t){t!==this._closable&&(this._closable=t,this.applyEvents())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitTo",{get:function(){return this.adapter.apply("fitTo",this._fitTo)},set:function(t){t!=this._fitTo&&(this._fitTo=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",this._defaultStyles)},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showCurtain",{get:function(){return this.adapter.apply("showCurtain",this._showCurtain)},set:function(t){this._showCurtain!=t&&(this._showCurtain=t,this._elements.curtain&&(this._elements.curtain.style.display=t?"block":"none"))},enumerable:!0,configurable:!0}),e.prototype.createCurtainElement=function(){var t=this.getClassNames(),e=document.createElement("div");e.className=t.curtainClass,this.container.appendChild(e),this._IOs.curtain=(0,p.H)().getInteraction(e),this._disposers.push(this._IOs.curtain),this._IOs.curtain.events.on("over",this.disablePointers,this),this._IOs.curtain.events.on("out",this.releasePointers,this),e.style.display=this.showCurtain?"block":"none",this._elements.curtain=e},Object.defineProperty(e.prototype,"draggable",{get:function(){return this.adapter.apply("draggable",this._draggable)},set:function(t){this._draggable!=t&&(this._draggable=t,this.setupDragging())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dynamicResize",{get:function(){return this.adapter.apply("dynamicResize",this._dynamicResize)},set:function(t){this._dynamicResize!=t&&(this._dynamicResize=t,this.positionElement(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",this._align)},set:function(t){this._align!=t&&(this._align=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",this._verticalAlign)},set:function(t){this._verticalAlign!=t&&(this._verticalAlign=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.adapter.apply("left",this._left)},set:function(t){this.left!=t&&(this._left=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.adapter.apply("right",this._right)},set:function(t){this.right!=t&&(this._right=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.adapter.apply("top",this._top)},set:function(t){this.top!=t&&(this._top=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.adapter.apply("bottom",this._bottom)},set:function(t){this.bottom!=t&&(this._bottom=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){if(!this._cssLoaded){var t,e,i,n,s,h;this._disposers.push((t=(0,r.jG)(this.container),(e=this.classPrefix)||(e="ampopup"),n=(i=new o.T).getFor("text"),(s=i.getFor("background")).alpha=.8,(h=i.getFor("alternativeBackgroun
1d")).alpha=.05,l.insertKeyIfEmpty(e,function(){var i=new a.ZT([new r.aq(t,"."+e,{overflow:"visible",position:"absolute",top:"0",left:"0","z-index":"2000"}),new r.aq(t,"."+e+"-curtain",{width:"100%",height:"100%",position:"absolute",top:"0",left:"0","z-index":"2001","background-color":s.hex,opacity:"0.5"}),new r.aq(t,"."+e+"-header",{display:"block",width:"100%","min-height":"1.8em",background:h.rgba}),new r.aq(t,"."+e+"-title",{"font-weight":"bold","font-size":"110%",padding:"0.5em 1.2em 0.5em 1em"}),new r.aq(t,"."+e+"-content",{background:s.hex,"background-color":s.rgba,color:n.hex,display:"inline-block",position:"absolute",top:"0",left:"0","max-width":"90%","max-height":"90%",overflow:"auto","z-index":"2002"}),new r.aq(t,"."+e+"-inside",{padding:"1em"}),new r.aq(t,"."+e+"-close",{display:"block",position:"absolute",top:"0.3em",right:"0.3em","background-color":"rgb(100, 100, 100)",background:"rgba(100, 100, 100, 0.1) url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmVyc2lvbj0iMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0NS4yIDEwOS4ybC00Mi40LTQyLjRMMjU2IDIxMy42IDEwOS4yIDY2LjhsLTQyLjQgNDIuNEwyMTMuNiAyNTYgNjYuOCA0MDIuOGw0Mi40IDQyLjRMMjU2IDI5OC40bDE0Ni44IDE0Ni44IDQyLjQtNDIuNEwyOTguNCAyNTYiLz48L3N2Zz4=) no-repeat center","background-size":"80%",width:"1.2em",height:"1.2em",cursor:"pointer"})]);return new a.Wr(function(){l.removeKey(e),i.dispose()})}).increment())),f.__(this._elements,function(t,e){e.style.display=""}),this._cssLoaded=!0}},e.prototype.applyEvents=function(){var t=this;if(this._IOs.close)if(this.closable){this._IOs.close.element.style.visibility="visible";var e=[(0,p.H)().body.events.on("keyup",function(e){d.Q.isKey(e.event,"esc")&&t.closable&&t.close()}),this._IOs.close.events.on("hit",function(e){t.close()})];e.push(this._IOs.curtain.events.on("hit",function(e){t.showCurtain&&t.closable&&t.close()})),this._disposers.push(new a.ZT(e))}else this._IOs.close.element.style.visibility="hidden"},e.prototype.disablePointers=function(){this.sprite&&(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled,this.sprite.interactionsEnabled=!1)},e.prototype.releasePointers=function(){c.a4(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled,this._spriteInteractionsEnabled=void 0)},e.prototype.applyReaderSettings=function(){this.elements.wrapper.setAttribute("aria-label",this.readerTitle)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.container=e.container,this.sprite=e.sprite,this.classPrefix=e.classPrefixRaw,this.content=e.content,this.title=e.title,this.readerTitle=e.readerTitle,this.defaultStyles=e.defaultStyles,this.showCurtain=e.showCurtain,this.align=e.align,this.verticalAlign=e.verticalAlign,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.adapter.copyFrom(e.adapter)},e}(u._)},25332:function(t,e,i){i.d(e,{M:function(){return o}});var n=i(3460),r=i(14230),s=i(31272),a=i(39351),o=function(t){function e(){var e=t.call(this)||this;return e.className="Rectangle",e.element=e.paper.add("rect"),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this._positionPrecision;this.pixelPerfect&&(e=0);var i=a.LI(this.innerWidth,e),n=a.LI(this.innerHeight,e);this.element.attr({width:i,height:n})},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.kx);s.u.registeredClasses.Rectangle=o},71053:function(t,e,i){i.d(e,{l:function(){return h}});var n=i(3460),r=i(85737),s=i(14230),a=i(35395),o=i(31272),l=i(40645),h=function(t){function e(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new s.kx;i.element=e.paper.add("path");var n=l.tw({x:-2,y:-6});return n+=l.a5({x:-2,y:6}),n+=l.tw({x:2,y:-6}),i.path=n+=l.a5({x:2,y:6}),i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=new a.T().getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"orientation",{set:function(t){var e=this.icon;e&&("horizontal"==t?e.rotation=0:e.rotation=-90)},enumerable:!0,configurable:!0}),e}(r.$);o.u.registeredClasses.ResizeButton=h}
1,17539:function(t,e,i){i.d(e,{T:function(){return h}});var n=i(3460),r=i(14230),s=i(31272),a=i(39351),o=i(30101),l=i(35580),h=function(t){function e(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(o.Et(e)&&o.Et(i)){var n=a.jk(e,i)/2,r=l.JY(this.cornerRadiusTopLeft,n),s=l.JY(this.cornerRadiusTopRight,n),h=l.JY(this.cornerRadiusBottomRight,n),u=l.JY(this.cornerRadiusBottomLeft,n),p=a.jk(Math.abs(e/2),Math.abs(i/2)),d=a.s_(r,0,p),c=a.s_(s,0,p),f=a.s_(h,0,p),g=a.s_(u,0,p),y="M"+d+",0 L"+(e-c)+",0",m=" L"+g+","+i,v=" a"+d+","+d+" 0 0 1 "+d+",-"+d,b=y+(" a"+c+","+c+" 0 0 1 "+c+",")+c+(" L"+e+",")+(i-f)+(" a"+f+","+f+" 0 0 1 -"+f+",")+f+m+(" a"+g+","+g+" 0 0 1 -"+g+",-")+g+" L0,"+d+v+" Z";this.path=b}},e.prototype.cornerRadius=function(t,e,i,n){this.cornerRadiusTopLeft=t,this.cornerRadiusTopRight=e,this.cornerRadiusBottomLeft=i,this.cornerRadiusBottomRight=n},Object.defineProperty(e.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(t){this.setPercentProperty("cornerRadiusTopLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(t){this.setPercentProperty("cornerRadiusTopRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(t){this.setPercentProperty("cornerRadiusBottomRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(t){this.setPercentProperty("cornerRadiusBottomLeft",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.kx);s.u.registeredClasses.RoundedRectangle=h},8023:function(t,e,i){i.d(e,{Z:function(){return v}});var n=i(3460),r=i(1944),s=i(71053),a=i(85737),o=i(34788),l=i(38719),h=i(17539),u=i(31272),p=i(73228),d=i(35395),c=i(66016),f=i(39351),g=i(11159),y=i(30101),m=i(35580),v=function(t){function e(){var e=t.call(this)||this;e._previousStart=0,e._previousEnd=1,e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=g.Jx,e.margin(10,10,10,10);var i=new d.T,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.showSystemTooltip=!0,e.startGrip=new s.l,e.endGrip=new s.l,e.events.on("transformed",function(){e.updateThumb()},e,!1),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()},void 0,!1),e.hideGrips=!1,e.orientation="horizontal",e.setSVGAttribute({"aria-valuemin":"0"}),e.setSVGAttribute({"aria-valuemax":"100"}),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),"horizontal"===this.orientation?(y.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),y.a4(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),y.a4(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),y.a4(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(y.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),y.a4(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),y.a4(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),y.a4(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")),this.readerOrientation="vertical"),this.readerControls=this.baseSprite.uidAttr()},e.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()}
1,e.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this,void 0)},e.prototype.handleBgHit=function(t){this.makeBusy();var e=t.spritePoint;e=m.oI(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.s_(n,0,this.innerWidth-i.pixelWidth),this._thumbAnimation=i.animate({property:"x",to:n},this.animationDuration,this.animationEasing)}else{var r=e.y-i.pixelHeight/2;r=f.s_(r,0,this.innerHeight-i.pixelHeight),this._thumbAnimation=i.animate({property:"y",to:r},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},e.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},e.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},e.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},e.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},e.prototype.dispatchRangeChange=function(){(this._previousEnd!=this.end||this._previousStart!=this.start)&&(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},e.prototype.updateThumb=function(t){if(void 0===t&&(t=!0),this.parent){var e=this.thumb,i=this.start,n=this.end,r=this.startGrip,s=this.endGrip;if("horizontal"==this.orientation){var a=this.innerWidth;e.width=a*(n-i),e.maxX=a-e.pixelWidth,e.x=i*a,r.moveTo({x:e.pixelX,y:0},void 0,void 0,!0),s.moveTo({x:e.pixelX+e.pixelWidth,y:0},void 0,void 0,!0),r.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),r.readerValueNow=""+Math.round(100*i),r.readerValueText=r.readerTitle,s.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*n)+"%",position:n}).value),s.readerValueNow=""+Math.round(100*n),s.readerValueText=s.readerTitle}else{var o=this.innerHeight;e.height=o*(n-i),e.maxY=o-e.pixelHeight,e.y=(1-n)*o,r.moveTo({x:0,y:e.pixelY+e.pixelHeight},void 0,void 0,!0),s.moveTo({x:0,y:e.pixelY},void 0,void 0,!0),r.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round((1-i)*100)+"%",position:1-i}).value),r.readerValueNow=""+Math.round(100*i),r.readerValueText=r.readerTitle,s.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round((1-n)*100)+"%",position:1-n}).value),s.readerValueNow=""+Math.round(100*n),s.readerValueText=s.readerTitle}e.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value,this.adapter.apply("positionValue",{value:Math.round(100*n)+"%",position:n}).value),e.readerValueNow=""+Math.round(100*i),e.readerValueText=e.readerTitle,this.readerValueNow=""+Math.round(100*i),this.readerValueText=e.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&t&&this.dispatchRangeChange()}},e.prototype.updateExtremes=function(){var t=this.orientation,e=0,i=0,n=0,r=0;"horizontal"==t?(n=this.innerWidth,i=r=this.innerHeight/2):(r=this.innerHeight,e=n=this.innerWidth/2);var s=this.startGrip;s.minX=e,s.maxX=n,s.minY=i,s.maxY=r;var a=this.endGrip;a.minX=e,a.maxX=n,a.minY=i,a.maxY=r;var o=this.thumb;o.minX=e,o.maxX=n,o.minY=i,o.maxY=r},e.prototype.updateSize=function(){var t=this.orientation,e=this.startGrip;e&&(e.orientation=t),this.endGrip&&(this.endGrip.orientation=t);var i=this.thumb;i&&("horizontal"==t?(y.Et(this._pixelWidth)||this.width instanceof c.QE||(this.width=(0,c.KN)(100)),y.a4(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(y.Et(this._pixelHeight)||this.height instanceof c.QE||(this.height=(0,c.KN)(100)),y.a4(this.percentWidth)&&(this.width=this.minWidth),i.width=this.innerWidth,i.verticalCenter="top",i.horizontalCenter="middle"))},Object.defineProperty(e.prototype,"isBusy",{get:function(){return this._isBusy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__start",{get:function(){return this._start},set:function(t){this._start=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__end=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__end",{get:function(){return this._end},set:function(t){this._end=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),e.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},e.prototype.fixRange=function(t){(t.start!=f.LI(this._start,2)||t.end!=f.LI(this._end,2))&&(this._start=t.start,this._end=t.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},e.prototype.getPosition=function(t){return f.s_(f.LI(t,4),0,1)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&("horizontal"===t?(this.startGrip.cursorOverStyle=l.h.horizontalResize,this.endGrip.cursorOverStyle=l.h.horizontalResize):(this.startGrip.cursorOverStyle=l.h.verticalResize,this.endGrip.cursorOverStyle=l.h.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.updateByOrientation=function(){},Object.defineProperty(e.prototype,"startGrip",{get:function(){return this._startGrip},set:function(t){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endGrip",{get:function(){return this._endGrip},set:function(t){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),e.prototype.processGrip=function(t){t.parent=this,t.isMeasured=!1,t.focu
1sable=!0,t.shouldClone=!1,t.zIndex=100,t.events.on("drag",this.handleGripDrag,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("down",this.makeBusy,this,!1),t.events.on("up",this.makeUnbusy,this,!1),this._disposers.push(t)},e.prototype.handleGripDrag=function(t){this.makeBusy(),t.target===this._startGrip?this._usingGrip="start":this._usingGrip="end","horizontal"==this.orientation?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(e.prototype,"thumb",{get:function(){if(!this._thumb){var t=new a.$;t.background.cornerRadius(10,10,10,10),t.padding(0,0,0,0),this.thumb=t}return this._thumb},set:function(t){var e=this;t&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=t,t.parent=this,t.isMeasured=!1,t.inert=!0,t.draggable=!0,t.clickable=!0,t.hoverable=!0,t.focusable=!0,t.shouldClone=!1,t.zIndex=0,t.cursorOverStyle=l.h.grab,t.cursorDownStyle=l.h.grabbing,t.events.on("dragstart",this.makeBusy,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("positionchanged",this.handleThumbPosition,this,!1),t.events.on("sizechanged",this.handleThumbPosition,this,!1),t.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push((0,o.H)().body.events.on("keyup",function(t){p.Q.isKey(t.event,["space","enter"])&&e.thumb.isFocused&&(t.event.preventDefault(),e.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),e.prototype.handleDoubleClick=function(){this.makeBusy();var t=0,e=1;0!=this.start||1!=this.end?(this._prevStart=this.start,this._prevEnd=this.end):(t=this._prevStart,e=this._prevEnd);var i=this.animate([{property:"__start",to:t},{property:"__end",to:e}],this.animationDuration,this.animationEasing);i&&!i.isFinished()?(i.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=i):this.makeUnbusy()},e.prototype.handleThumbPosition=function(){var t=this.thumb;if("horizontal"==this.orientation){var e=this.innerWidth,i=t.innerWidth,n=t.pixelX;this._start=n/e,this._end=(n+i)/e,this.updateThumb()}else{var r=this.innerHeight,s=t.innerHeight,a=t.pixelY;this._start=1-(a+s)/r,this._end=1-a/r,this.updateThumb()}},e.prototype.createBackground=function(){return new h.T},Object.defineProperty(e.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(t){var e=this;this._hideGrips=t,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),t?(this._overDisposer=this.events.on("over",function(){e.startGrip.show(),e.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){e.startGrip.hide(),e.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),e.prototype.asFunction=function(e){return"animationEasing"==e||t.prototype.asIs.call(this,e)},e}(r.m);u.u.registeredClasses.Scrollbar=v},67811:function(t,e,i){i.d(e,{J:function(){return c}});var n=i(3460),r=i(1944),s=i(14230),a=i(31272),o=i(39351),l=i(40645),h=i(30101),u=i(35580),p=i(66016),d=i(41014),c=function(t){function e(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(s.kx),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.radiusY;this.radius>0&&0==e&&(e=.01),this.slice.path=l.JL(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof d.E&&this.updateGradient(this.realFill),this.realStroke instanceof d.E&&this.updateGradient(this.realStroke)},e.prototype.updateGradient=function(t){t.element.attr({gradientUnits:"userSpaceOnUse"}),t.element.attr({r:this.radius}),t.cx=0,t.cy=0,t.element.attr({radius:this.radius})},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(!this.isMeasured)return{x:0,y:0,width:0,height:0};var t=o.RX(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=o.RX(this.startAngle,this.startAngle+this.arc,this.radius);return o.Tm([t,e])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")}
1,set:function(t){this.setPropertyValue("startAngle",o.n0(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){h.Et(t)||(t=0),this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){var t=this.getPropertyValue("radius");return h.Et(t)||(t=0),t},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return h.Et(t)||(t=this.radius),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return u.JY(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(t){this.setPropertyValue("innerCornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(t){this.setPropertyValue("shiftRadius",t),t=this.getPropertyValue("shiftRadius"),this.dx=t*this.radius*this.ix,this.dy=t*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ix",{get:function(){return o.gn(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return o.F8(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");if(h.Et(t))return t;var e=.5;t instanceof p.QE&&(e=t.value);var i=u.JY(this.innerRadius,this.radius);return this.ix*(i+(this.radius-i)*e)},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(h.Et(t))return t;var e=.5;t instanceof p.QE&&(e=t.value);var i=u.JY(this.innerRadius,this.radius);return this.iy*(i+(this.radius-i)*e)+this.slice.dy},e}(r.m);a.u.registeredClasses.Slice=c},60314:function(t,e,i){i.d(e,{Y:function(){return l}});var n=i(3460),r=i(79779),s=i(38719),a=i(35395),o=i(31272),l=function(t){function e(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new a.T;return e.fill=i.getFor("primaryButton").brighten(.3),e.states.create("hover").properties.fill=i.getFor("primaryButtonHover").brighten(.3),e.states.create("down").properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=s.h.pointer,e.applyTheme(),e}return(0,n.C6)(e,t),e}(r.J);o.u.registeredClasses.TextLink=l},81614:function(t,e,i){i.d(e,{m:function(){return f}});var n=i(3460),r=i(1944),s=i(31272),a=i(59477),o=i(79779),l=i(49023),h=i(88166),u=i(4117),p=i(39351),d=i(11159),c=i(35580),f=function(t){function e(){var e=t.call(this)||this;e._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},e._pointTo={x:0,y:0},e.fitPointerToBounds=!1,e._verticalOrientation="up",e.fixDoc=!0,e.className="Tooltip",e.isMeasured=!1,e.getFillFromObject=!0,e.margin(5,5,5,5),e.defaultState.transitionDuration=1,e.hiddenState.transitionDuration=1;var i=e.background;i.interactionsEnabled=!1,i.fillOpacity=.9,i.strokeWidth=1,i.strokeOpacity=1,i.stroke=(0,h.yW)("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10;var n=new u.G;n.dy=1,n.dx=1,n.opacity=.5,i.filters.push(n),e.autoTextColor=!0;var r=e.createChild(o.J);return r.shouldClone=!1,e.label=r,r.padding(7,12,4,12),r.interactionsEnabled=!1,r.horizontalCenter="middle",r.fill=(0,h.yW)("#ffffff"),e._disposers.push(r),e.label.events.on("sizechanged",e.drawBackgroun
1d,e),e.label.zIndex=1,e.pointerOrientation="vertical",e.animationDuration=0,e.animationEasing=d.Jx,e.setPropertyValue("showInViewport",!1),e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(e.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(t){this.setPropertyValue("getStrokeFromObject",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")},set:function(t){this.setPropertyValue("autoTextColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepTargetHover",{get:function(){return this.getPropertyValue("keepTargetHover")},set:function(t){var e=this;this.setPropertyValue("keepTargetHover",t,!0)&&t&&(this.hoverable=!0,this.background.interactionsEnabled=!0,this._disposers.push(this.events.on("over",function(t){e.targetSprite&&e.targetSprite.hoverable&&(e.targetSprite.isHover=!0)})),this._disposers.push(this.events.on("out",function(t){e.targetSprite&&e.targetSprite.hoverable&&(e.targetSprite.isHover=!1)})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showInViewport",{get:function(){return this.getPropertyValue("showInViewport")},set:function(t){this.setPropertyValue("showInViewport",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(t){this.setPropertyValue("getFillFromObject",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new a.D},Object.defineProperty(e.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(t){this.setPropertyValue("pointerOrientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.label.html},set:function(t){this.label.html!=t&&(this.label.html=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.label.text},set:function(t){this.label.text!=t&&(this.label.text=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){t.prototype.draw.call(this);var e,i,n=this.label;n.invalid&&n.validate();var r=this._pointTo.x,s=this._pointTo.y,a=this._boundingRect,o=n.measuredWidth,l=n.measuredHeight,h=this.background.pointerLength;if(this.ignoreBounds&&(a=void 0),a&&this.fixDoc&&o>a.width){c.gO({x:a.x,y:a.y},this.parent);var u=c.gO({x:a.x+a.width,y:a.y+a.height},this.parent),d=document.body.offsetWidth;c.kH(document.body.offsetHeight),u.x>d/2?a.x=a.width-o:a.width=a.x+o}var f=this.pointerOrientation;"horizontal"==f||"left"==f||"right"==f?(i=-l/2,e="horizontal"==f?a&&r>a.x+a.width/2?-o/2-h:o/2+h:"left"==f?o/2+h:-o/2-h):(a&&(e=p.s_(0,a.x-r+o/2,a.x-r+a.width-o/2)),"vertical"==f?a&&s>a.y+l+h?(i=-l-h,this._verticalOrientation="up"):(i=h,this._verticalOrientation="down"):"down"==f?(i=-l-h,this._verticalOrientation="up"):(i=h,this._verticalOrientation="down")),a&&(i=p.s_(i,a.y-s,a.y+a.height-l-s)),n.x=e,n.y=i,this.drawBackground()}
1,e.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},e.prototype.drawBackground=function(){var t=this.label,e=this.background,i=t.measuredWidth,n=t.measuredHeight,r=this._boundingRect,s=t.pixelX-i/2,a=t.pixelY,o=this._pointTo.x,l=this._pointTo.y,h=r.x-o,u=h+r.width,d=r.y-l,c=d+r.height;e.x=s,e.y=a,e.width=i,e.height=n,this.fitPointerToBounds?(e.pointerX=p.s_(-e.x,h-e.x,u-e.x),e.pointerY=p.s_(-e.y,d-e.y,c-e.y)):(e.pointerX=-e.x,e.pointerY=-e.y),e.validate()},e.prototype.delayedPointTo=function(t,e){var i=this;this._pointToDisposer&&this._pointToDisposer.dispose(),this._pointToDisposer=s.u.events.once("exitframe",function(){i.pointTo(t,e)}),this.addDisposer(this._pointToDisposer)},e.prototype.pointTo=function(t,e){(this._pointTo.x!=t.x||this._pointTo.y!=t.y)&&(this._pointTo=t,this.invalidate(),!this.visible||e?(this.moveTo(this._pointTo),this._animation&&this._animation.kill()):0==this.pixelX&&0==this.pixelY?this.moveTo(this._pointTo):(this._animation&&this._animation.kill(),this._animation=new l.X5(this,[{property:"x",to:t.x,from:this.pixelX},{property:"y",to:t.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},e.prototype.setBounds=function(t){var e=this._boundingRect;(e.x!=t.x||e.y!=t.y||e.width!=t.width||e.height!=t.height)&&(this._boundingRect=t,this.invalidate())},Object.defineProperty(e.prototype,"boundingContainer",{set:function(t){this._boundingContainer=t,t.events.on("sizechanged",this.updateBounds,this),t.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),e.prototype.updateBounds=function(){var t=this._boundingContainer,e=c.tj({x:t.pixelX,y:t.pixelY,width:t.maxWidth,height:t.maxHeight},t);this.setBounds(e)},Object.defineProperty(e.prototype,"ignoreBounds",{get:function(){return this.getPropertyValue("ignoreBounds")},set:function(t){this.setPropertyValue("ignoreBounds",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),e._boundingRect&&(this._boundingRect=e._boundingRect)},e.prototype.asFunction=function(e){return"animationEasing"==e||t.prototype.asIs.call(this,e)},e}(r.m);s.u.registeredClasses.Tooltip=f},74593:function(t,e,i){i.d(e,{j:function(){return u}});var n=i(3460),r=i(14230),s=i(66016),a=i(31272),o=i(35580),l=i(30101),h=i(40645),u=function(t){function e(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=(0,s.KN)(100),e.bottomSide=(0,s.KN)(100),e.leftSide=(0,s.KN)(100),e.rightSide=(0,s.KN)(100),e.isMeasured=!1,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n=o.JY(this.topSide,e),r=o.JY(this.bottomSide,e),s=o.JY(this.leftSide,i),a=o.JY(this.rightSide,i),u=(e-n)/2,p=(i-s)/2,d=e-(e-n)/2,c=(i-a)/2,f=e-(e-r)/2,g=i-(i-a)/2,y=(e-r)/2,m=i-(i-s)/2,v="",b="",_="",x="";if(l.a4(this.horizontalNeck)){var P=this.horizontalNeck.value;v=h.a5({x:e*P,y:Math.max(p,c)}),_=h.a5({x:e*P,y:Math.min(g,m)})}if(l.a4(this.verticalNeck)){var C=this.verticalNeck.value;b=h.a5({x:Math.min(d,f),y:i*C}),x=h.a5({x:Math.max(u,y),y:i*C})}var w=h.tw({x:u,y:p})+v+h.a5({x:d,y:c})+b+h.a5({x:f,y:g})+_+h.a5({x:y,y:m})+x;this.path=w},Object.defineProperty(e.prototype,"topSide",{get:function(){return this.getPropertyValue("topSide")},set:function(t){this.setPercentProperty("topSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomSide",{get:function(){return this.getPropertyValue("bottomSide")},set:function(t){this.setPercentProperty("bottomSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftSide",{get:function(){return this.getPropertyValue("leftSide")},set:function(t){this.setPercentProperty("leftSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightSide",{get:function(){return this.getPropertyValue("rightSide")},set:function(t){this.setPercentProperty("rightSide",t,!0,!1,10,
1!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalNeck",{get:function(){return this.getPropertyValue("horizontalNeck")},set:function(t){this.setPropertyValue("horizontalNeck",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalNeck",{get:function(){return this.getPropertyValue("verticalNeck")},set:function(t){this.setPropertyValue("verticalNeck",t,!0)},enumerable:!0,configurable:!0}),e}(r.kx);a.u.registeredClasses.Trapezoid=u},24105:function(t,e,i){i.d(e,{l:function(){return o}});var n=i(3460),r=i(14230),s=i(31272),a=i(40645),o=function(t){function e(){var e=t.call(this)||this;return e.className="Triangle",e.element=e.paper.add("path"),e.direction="top",e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.pixelWidth,n=this.pixelHeight;switch(this.direction){case"right":e=a.tw({x:0,y:0})+a.a5({x:i,y:n/2})+a.a5({x:0,y:n})+a.OE();break;case"left":e=a.tw({x:i,y:0})+a.a5({x:0,y:n/2})+a.a5({x:i,y:n})+a.OE();break;case"bottom":e=a.tw({x:0,y:0})+a.a5({x:i,y:0})+a.a5({x:i/2,y:n})+a.OE();break;case"top":e=a.tw({x:i/2,y:0})+a.a5({x:i,y:n})+a.a5({x:0,y:n})+a.OE()}this.path=e},Object.defineProperty(e.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(t){this.setPropertyValue("direction",t,!0)},enumerable:!0,configurable:!0}),e}(r.kx);s.u.registeredClasses.Triangle=o},26622:function(t,e,i){i.d(e,{s:function(){return u}});var n=i(3460),r=i(78777),s=i(31272),a=i(40645),o=i(39351),l=i(35580),h=i(75462),u=function(t){function e(){var e=t.call(this)||this;return e.className="WavedCircle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.fill=void 0,e.fillOpacity=0,e.tension=.8,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){var t="",e=this.pixelRadius;if(e>0){var i=this.getPoints(e);t=a.tw(i[0])+new h.hG(this.tension,this.tension).smooth(i)}var n=this.pixelInnerRadius;if(n>0){var i=this.getPoints(n);i.reverse(),t+=a.tw(i[0])+new h.hG(this.tension,this.tension).smooth(i)}this.path=t},e.prototype.getPoints=function(t){for(var e=t*Math.PI*2,i=this.waveHeight/2,n=e/Math.round(e/this.waveLength),r=n/2,s=[],a=e/n,l=0;l<=a;l++){var h=l*n/e*360,u=(l*n+r)/e*360;s.push({x:(t-i)*o.gn(h),y:(t-i)*o.F8(h)}),s.push({x:(t+i)*o.gn(u),y:(t+i)*o.F8(u)})}return s.pop(),s},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return l.JY(this.innerRadius,o.jk(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.j);s.u.registeredClasses.WavedCircle=u},79200:function(t,e,i){i.d(e,{a:function(){return l}});var n=i(3460),r=i(20411),s=i(88166),a=i(75462),o=i(40645),l=function(t){function e(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=(0,s.yW)(),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2};this.path=o.tw(t)+(0,a._h)(t,e,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")}
1,set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.N)},6229:function(t,e,i){i.d(e,{D:function(){return o}});var n=i(3460),r=i(25332),s=i(75462),a=i(40645),o=function(t){function e(){var e=t.call(this)||this;return e.className="WavedRectangle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.setPropertyValue("wavedLeft",!0),e.setPropertyValue("wavedRight",!0),e.setPropertyValue("wavedTop",!0),e.setPropertyValue("wavedBottom",!0),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight;if(e>0&&i>0){var n={x:0,y:0},r={x:e,y:0},o={x:e,y:i},l={x:0,y:i},h=Math.min(e,this.waveLength),u=Math.min(i,this.waveHeight),p=Math.min(i,this.waveLength),d=Math.min(e,this.waveHeight),c="",f="",g="",y="";this.wavedTop&&(c=(0,s._h)(n,r,h,u,this.tension,!0)),this.wavedRight&&(f=(0,s._h)(r,o,p,d,this.tension,!0)),this.wavedBottom&&(g=(0,s._h)(o,l,h,u,this.tension,!0)),this.wavedLeft&&(y=(0,s._h)(l,n,p,d,this.tension,!0)),this.path=a.tw(n)+c+a.a5(r)+f+a.a5(o)+g+a.a5(l)+y+"z"}},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.setWavedSides=function(t,e,i,n){this.wavedTop=t,this.wavedRight=e,this.wavedBottom=i,this.wavedLeft=n},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedRight",{get:function(){return this.getPropertyValue("wavedRight")},set:function(t){this.setPropertyValue("wavedRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedLeft",{get:function(){return this.getPropertyValue("wavedLeft")},set:function(t){this.setPropertyValue("wavedLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedTop",{get:function(){return this.getPropertyValue("wavedTop")},set:function(t){this.setPropertyValue("wavedTop",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedBottom",{get:function(){return this.getPropertyValue("wavedBottom")},set:function(t){this.setPropertyValue("wavedBottom",t,!0)},enumerable:!0,configurable:!0}),e}(r.M)},50620:function(t,e,i){i.d(e,{M:function(){return u}});var n=i(3460),r=i(85737),s=i(14230),a=i(31272),o=i(35395),l=i(40645),h=i(30101),u=function(t){function e(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new o.T,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new s.kx;r.element=e.paper.add("path");var a=l.tw({x:0,y:0});return r.path=a+=l.a5({x:11,y:0}),r.pixelPerfect=!0,r.padding(8,3,8,3),r.stroke=i.getFor("primaryButtonText"),e.icon=r,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),h.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.$);a.u.registeredClasses.ZoomOutButton=u},80190:function(t,e,i){i.d(e,{F:function(){return A}});var n,r=i(3460),s=i(92290),a=i(18586),o=i(14230),l=i(79340),h=i(42969),u=i(91489),p=i(87033),d=i(56789),c=i(16838),f=i(99262),g=i(95026),y=i(88166),m=i(31272),v=i(48093),b=i(39049),_=i(65153),x=i(13866),P=i(13318),C=i(30101),w=i(13991),O=i(35580),S=i(42736),T=i(39351),I=i(6183),k=/src: ([^;]+);/;function D(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s;return(0,r.YH)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,P.H(e)];case 1:return n=a.sent(),[3,3];case 2:return console.error("Failed to load stylesheet",e,a.sent()),[2];case 3:(s=t.createElement("style")).textContent=n.response,""!=v.f.nonce&&s.setAttribute("nonce",v.f.nonce),t.head.appendChild(s),a.label=4;case 4:return a.trys.push([4,,7,8]),[4,function(t){return(0,r.sH)(this,void 0,void 0,function(){var e;return(0,r.YH)(this,function(i){switch(i.label){case 0:e=t.sheet,i.label=1;case 1:return i.trys.push([1,2,,4]),[2,e.cssRules];case 2:return i.sent(),[4,new Promise(function(i,n){t.addEventListener("load",function(){i(e.cssRules)},!0),t.addEventListener("error",function(t){n(t)},!0),setTimeout(function(){n(Error("Timeout while waiting for <style> to load"))},1e4)})];case 3:return[2,i.sent()];case 4:return[2]}})})}(s)];case 5:return[4,F(t,e,a.sent(),i)];case 6:return a.sent(),[3,8];case 7:return t.head.removeChild(s),[7];case 8:return[2]}})})}function F(t,e,i,n){return(0,r.sH)(this,void 0,void 0,function(){var s,a,o,l,h;return(0,r.YH)(this,function(r){switch(r.label){case 0:for(o=0,s=[],a=i.length;o<a;o++)(l=i[o]).type===CSSRule.IMPORT_RULE?(h=l.href)&&(h=O.we(e,h),s.push(D(t,h,n))):n(e,l);if(!s.length)return[3,2];return[4,Promise.all(s)];case 1:r.sent(),r.label=2;case 2:return[2]}})})}var A=function(t){function e(e){var i=t.call(this)||this;return i.adapter=new a.Y3(i),i._formatOptions=new u.bT,i._extraSprites=[],i._validateSprites=[],i.dataFieldsOrder=[],i._dynamicDataFields=!0,i._removedObjects=new h.B8,i._hiddenObjects=[],i._objectsAlreadyHidden=!1,i._filePrefix="amCharts",i.useWebFonts=!0,i.useRetina=!0,i.useSimplifiedExport=!0,i.timeoutDelay=2e3,i._exportRunning=!1,i._prevHasData=!1,i._container=e,i.className="Export",i._formatOptions.setKey("png",{}),i._formatOptions.setKey("jpg",{quality:.8}),i._formatOptions.setKey("gif",{}),i._formatOptions.setKey("svg",{}),i._formatOptions.setKey("pdf",{fontSize:14,imageFormat:"png",align:"left",addURL:!0,addColumnNames:!0}),i._formatOptions.setKey("json",{indent:2,useLocale:!0}),i._formatOptions.setKey("csv",{addColumnNames:!0,emptyAs:"",addBOM:!0}),i._formatOptions.setKey("xlsx",{addColumnNames:!0,useLocale:!0,emptyAs:""}),i._formatOptions.setKey("html",{addColumnNames:!0,emptyAs:""}),i._formatOptions.setKey("pdfdata",{fontSize:14,imageFormat:"png",addURL:!0,addColumnNames:!0,emptyAs:""}),i._formatOptions.setKey("print",{delay:500,printMethod:"iframe"}),i.adapter.add("options",function(t){var e=i._formatOptions.getKey(t.type);
1return t.options?t.options=x.h1(e,t.options):t.options=e,t}),i.applyTheme(),i.dispatchImmediately("inited"),i}return(0,r.C6)(e,t),Object.defineProperty(e.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;this._menu&&this.removeDispose(this._menu),this._menu=t,this._menu.container=this.container,this._menu.language=this._language,this._menu.adapter.add("branch",function(t){return t.branch.unsupported=!e.typeSupported(t.branch.type),t}),this._menu.events.on("hit",function(t){e.export(t.branch.type,t.branch.options),e.menu.close()}),this._menu.events.on("enter",function(t){e.export(t.branch.type,t.branch.options),e.menu.close()}),this._menu.events.on("over",function(t){e._disablePointers()}),this._menu.events.on("out",function(t){setTimeout(function(){e._releasePointers()},10)}),this.dispatchImmediately("menucreated"),this._menu.adapter.add("classPrefix",function(t){return t.classPrefix=v.f.classNamePrefix+t.classPrefix,t}),this._disposers.push(this._menu)},enumerable:!0,configurable:!0}),e.prototype.typeSupported=function(t){var e=!0,i=this.getFormatOptions(t);return C.a4(i)&&i.disabled?e=!1:"pdf"===t||("xlsx"===t?e=!!this._hasData():("print"!=t||window.print)&&(-1===["json","csv","html","pdfdata"].indexOf(t)||this._hasData())||(e=!1)),this.adapter.apply("supported",{supported:e,type:t}).supported},e.prototype._hasData=function(){return this.data&&this.data.length},e.prototype._getFunction=function(t){switch(t){case"png":case"gif":case"jpg":return this.getImage;case"svg":return this.getSVG;case"pdf":case"pdfdata":return this.getPDF;case"xlsx":return this.getExcel;case"csv":return this.getCSV;case"json":return this.getJSON;case"html":return this.getHTML;case"print":return this.getPrint;default:return this.unsupported}},e.prototype.export=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){var i,n,s,a,o,l=this;return(0,r.YH)(this,function(r){switch(r.label){case 0:if("custom"==t)return this.handleCustom(e),[2,!0];return this._exportRunning=!0,this.events.isEnabled("exportstarted")&&(i={type:"exportstarted",target:this,format:t,options:e},this.events.dispatchImmediately("exportstarted",i)),this.showPreloader(),this.timeoutDelay&&(this.hideTimeout(),this._timeoutTimeout=this.setTimeout(function(){if(l.events.isEnabled("exporttimedout")){var i={type:"exporttimedout",target:l,format:t,options:e};l.events.dispatchImmediately("exporttimedout",i)}l.showTimeout()},this.timeoutDelay)),this.hideNonExportableSprites(),n=this._getFunction(t),e=this.adapter.apply("options",{options:e,type:t}).options,[4,(n=this.adapter.apply("exportFunction",{func:n,type:t,options:e}).func).call(this,t,e)];case 1:if(s=r.sent(),this._exportRunning=!1,this._releasePointers(),this.restoreNonExportableSprites(),!s)return this.events.isEnabled("error")&&(o={type:"error",target:this,format:t,options:e},this.events.dispatchImmediately("error",o)),[2,!1];if(this.events.isEnabled("exportfinished")&&(a={type:"exportfinished",target:this,format:t,options:e},this.events.dispatchImmediately("exportfinished",a)),this.hidePreloader(),this.hideTimeout(),this.menu&&this.menu.close(),"print"===t)return[2,this.print(s,e,this.adapter.apply("title",{title:this.title,options:e}).title)];if("pdfdata"==t)return[2,this.download(s,this.filePrefix+".pdf")];return[2,this.download(s,this.filePrefix+"."+t,e&&e.addBOM)]}})})},e.prototype.unsupported=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){return(0,r.YH)(this,function(t){return[2,""]})})},e.prototype.handleCustom=function(t){C.a4(t)&&C.a4(t.callback)&&t.callback.call(t.callbackTarget||this,t)},e.prototype.getPrint=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){return(0,r.YH)(this,function(t){return[2,this.getImage("png",e)]})})},e.prototype.getFontFamilies=function(){return(0,r.sH)(this,void 0,void 0,function(){var t,e,i,n,s=this;return(0,r.YH)(this,function(a){switch(a.label){case 0:return t=this.getDOMURL(),e=[],i=[],[4,function(t){return(0,r.sH)(this,void 0,void 0,function(){var e,i;return(0,r.YH)(this,function(n){switch(n.label){case 0:(e=document.createElement("iframe")).src="about:blank",e.setAttribute("title",""),document.head.appendChild(e),n.label=1;case 1:return n.trys.push([1,,3,4]),i=e.contentDocument,[4,Promise.all(S.Tj(document.styleSheets,function(e){var n=e.href;return null==n?F(i,location.href,e.cssRules,t):D(i,n=O.we(location.href,n),t)}))];case 2:return n.sent(),[3,4];case 3:return document.head.removeChild(e),[7];case 4:return[2]}})})}(function(n,a){if(a.type===CSSRule.FONT_FACE_RULE){var o=a.cssText,l=k.exec(o);if(null!==l){var h=l[1].split(/ *, */).map(function(i){return(0,r.sH)(s,void 0,void 0,function(){var s,a,o,l,h,u;return(0,r.YH)(this,function(r){switch(r.label){case 0:if(null!==(s=/^url\(["']?([^"'\)]+)["']?\)([^,]*)$/.exec(i)))return[3,1];return[2,i];case 1:if(a=s[2],o=O.we(n,s[1]),this.webFontFilter&&!o.match(this.webFontFilter))return[2,null];r.label=2;case 2:return r.trys.push([2,7,,8]),[4,P.H(o,void 0,{responseType:"blob"})];case 3:if(l=r.sent(),null==window.navigator.msSaveOrOpenBlob)return[3,4];return h=t.createObjectURL(l.blob),e.push(h),[3,6];case 4:var p;return[4,(p=l.blob,new Promise(function(t,e){var i=new FileReader;i.onload=function(e){t(i.result)},i.onerror=function(t){e(t)},i.readAsDataURL(p)}))];case 5:h=r.sent(),r.label=6;case 6:return[2,'url("'+h+'")'+a];case 7:return u=r.sent(),console.error("Failed to load font",o,u),[2,null];case 8:return[2]}})})});
1i.push(Promise.all(h).then(function(t){return 0===(t=t.filter(function(t){return null!=t})).length?"":o.replace(k,"src: "+t.join(", ")+";")}))}}})];case 1:return a.sent(),[4,Promise.all(i)];case 2:return n=a.sent(),[2,{blobs:e,cssText:n.filter(function(t){return!!t}).join("\n")}]}})})},e.prototype.getImage=function(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l;return(0,r.YH)(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),C.a4(e)||(e=this.getFormatOptions(t)),[4,this.awaitValidSprites()];case 1:return r.sent(),[4,this.simplifiedImageExport()];case 2:if(!r.sent())return[3,10];s=void 0,r.label=3;case 3:return r.trys.push([3,7,,9]),[4,this.getCanvas(e)];case 4:if(s=r.sent(),!1===i)return[3,6];return[4,this.addExtras(s,e)];case 5:s=r.sent(),r.label=6;case 6:return a=s.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(s),n||this.restoreNonExportableSprites(),[2,a];case 7:return console.error((o=r.sent()).message+"\n"+o.stack),w.i("Simple export failed, falling back to advanced export"),s&&this.disposeCanvas(s),[4,this.getImageAdvanced(t,e,i)];case 8:case 11:return l=r.sent(),n||this.restoreNonExportableSprites(),[2,l];case 9:return[3,12];case 10:return[4,this.getImageAdvanced(t,e,i)];case 12:return[2]}})})},e.prototype.addExtras=function(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a,l,h,u,p,d,c,f,g,y,m,v,b=this;return(0,r.YH)(this,function(_){switch(_.label){case 0:if(!this.extraSprites.length)return[3,2];return n=0,s=0,a=t.width,l=t.height,h=0,u=0,[4,Promise.all(S.Tj(this.extraSprites,function(t){return(0,r.sH)(b,void 0,void 0,function(){var p,d,c,f;return(0,r.YH)(this,function(r){switch(r.label){case 0:if((p=t instanceof o.kx?{sprite:t,position:"bottom"}:t).position=p.position||"bottom",p.marginTop=p.marginTop||0,p.marginRight=p.marginRight||0,p.marginBottom=p.marginBottom||0,p.marginLeft=p.marginLeft||0,!i)return[3,2];return[4,p.sprite.exporting.getCanvasAdvanced(e)];case 1:return d=r.sent(),[3,4];case 2:return[4,p.sprite.exporting.getCanvas(e)];case 3:d=r.sent(),r.label=4;case 4:return c=d.width+p.marginLeft+p.marginRight,f=d.height+p.marginTop+p.marginBottom,"top"==p.position?(a=p.crop?l:T.T9(a,c),s+=f):"right"==p.position?(l=p.crop?l:T.T9(l,f),h+=c):"left"==p.position?(l=p.crop?l:T.T9(l,f),n+=c):"bottom"===p.position&&(a=p.crop?l:T.T9(a,c),u+=f),[2,{canvas:d,position:p.position,left:p.marginLeft,top:p.marginTop,width:c,height:f}]}})})}))];case 1:return p=_.sent(),(d=this.getDisposableCanvas()).width=n+a+h,d.height=s+l+u,c=d.getContext("2d"),(f=this.backgroundColor||this.findBackgroundColor(this.sprite.dom))&&(c.fillStyle=f.toString(),c.fillRect(0,0,d.width,d.height)),g=n,y=s,m=g+a,v=y+l,S.__(p,function(t){"top"==t.position?(y-=t.height,c.drawImage(t.canvas,n+t.left,y+t.top)):"right"==t.position?(c.drawImage(t.canvas,m+t.left,s+t.top),m+=t.width):"left"==t.position?(g-=t.width,c.drawImage(t.canvas,g+t.left,s+t.top)):"bottom"===t.position&&(c.drawImage(t.canvas,n+t.left,v+t.top),v+=t.height),b.disposeCanvas(t.canvas)}),c.drawImage(t,n,s),[2,d];case 2:return[2,t]}})})},e.prototype.getCanvas=function(t){return(0,r.sH)(this,void 0,void 0,function(){var e,i,n,s,a,o,l,h,u,p,d,c,f,g,y,m;return(0,r.YH)(this,function(r){switch(r.label){case 0:C.a4(t)||(t={}),e=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),i=this.getDOMURL(),n=null,s=null,r.label=1;case 1:return r.trys.push([1,,4,5]),o=this.sprite.pixelWidth,l=this.sprite.pixelHeight,h=b.VB(this.sprite.dom),u=b.Sd(this.sprite.dom),p=t.scale||1,d=this.getPixelRatio(t),p=this.getAdjustedScale(o*d,l*d,p,t),(a=this.getDisposableCanvas()).style.width=o*p+"px",a.style.height=l*p+"px",a.width=o*p,a.height=l*p,c=a.getContext("2d"),e&&(c.fillStyle=e.toString(),c.fillRect(0,0,o*p,l*p)),f=[],this.useWebFonts&&f.push(this.getFontFamilies().then(function(t){return s=t.blobs,t.cssText})),f.push(this.imagesToDataURI(this.sprite.dom,t)),f.push(this.prepForeignObjects(this.sprite.dom,t)),[4,Promise.all(f)];case 2:return g=r.sent(),y=new Blob([this.normalizeSVG("<style>"+g[0]+"</style>"+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,o,l,p,h,u)],{type:"image/svg+xml"}),n=i.createObjectURL(y),[4,this.loadNewImage(n,o*p*d,l*p*d,"anonymous")];case 3:return m=r.sent(),c.drawImage(m,0,0),[3,5];case 4:return null!==n&&i.revokeObjectURL(n),null!==s&&S.__(s,function(t){i.revokeObjectURL(t)}),this.restoreRemovedObjects(),[7];case 5:return[2,a]}})})},e.prototype.getCanvasAdvanced=function(t){return(0,r.sH)(this,void 0,void 0,function(){var e,i,n,s,a,o,l,h,u,p,d;return(0,r.YH)(this,function(r){switch(r.label){case 0:return C.a4(t)||(t={}),[4,this.imagesToDataURI(this.sprite.dom,t)];case 1:return r.sent(),e=this.backgroundColor||this.findBackgroun
1dColor(this.sprite.dom),[4,this.canvg];case 2:return i=r.sent(),n=this.sprite.pixelWidth,s=this.sprite.pixelHeight,a=b.VB(this.sprite.dom),o=b.Sd(this.sprite.dom),l=t.scale||1,h=this.getPixelRatio(t),l=this.getAdjustedScale(n*h,s*h,l,t),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,n,s,l,a,o,e),(p=this.getDisposableCanvas()).style.width=n*h*l+"px",p.style.height=s*h*l+"px",p.width=n*h*l,p.height=s*h*l,d={useCORS:!0},1!=h&&(d.ignoreDimensions=!0,d.scaleWidth=n*h*l,d.scaleHeight=s*h*l),[4,i.fromString(p.getContext("2d"),u,d).render()];case 3:return r.sent(),[2,p]}})})},e.prototype.getImageAdvanced=function(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a;return(0,r.YH)(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),C.a4(e)||(e=this.getFormatOptions(t)),[4,this.getCanvasAdvanced(e)];case 1:if(s=r.sent(),!1===i)return[3,3];return[4,this.addExtras(s,e,!0)];case 2:s=r.sent(),r.label=3;case 3:return a=s.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(s),n||this.restoreNonExportableSprites(),[2,a]}})})},e.prototype.getDisposableCanvas=function(){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",document.body.appendChild(t),t},e.prototype.disposeCanvas=function(t){document.body.removeChild(t)},e.prototype.getPixelRatio=function(t){return this.useRetina?O.sJ():1},e.prototype.getAdjustedScale=function(t,e,i,n){if(!n)return i;var r,s,a=t*i,o=t*i;return(n.maxWidth&&a>n.maxWidth&&(r=n.maxWidth/t),n.maxHeight&&o>n.maxHeight&&(s=n.maxHeight/e),r||s)?T.jk(r,s):(n.minWidth&&a<n.minWidth&&(r=n.minWidth/t),n.minHeight&&o<n.minHeight&&(s=n.minHeight/e),r||s)?T.T9(r,s):i},e.prototype.imagesToDataURI=function(t,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l,h;return(0,r.YH)(this,function(r){switch(r.label){case 0:if(!(n=t.querySelectorAll("image")).length)return[3,2];for(s=[],a=n.length,o=0;o<a;o++)(h=(l=n[o]).getAttributeNS(e.XLINK,"href"))&&(-1!==h.indexOf("data:image")||(-1!==h.indexOf(".svg")?s.push(this.svgToDataURI(l,i)):s.push(this.imageToDataURI(l,i))));return[4,Promise.all(s)];case 1:return r.sent(),[2];case 2:return[2]}})})},e.prototype.prepForeignObjects=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){var e,i,n;return(0,r.YH)(this,function(r){if((e=t.querySelectorAll("foreignObject")).length)for(i=e.length,n=0;n<i;n++)this.temporarilyRemoveObject(e[n]);return[2]})})},e.prototype.imageToDataURI=function(t,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a;return(0,r.YH)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.loadNewImage(t.getAttributeNS(e.XLINK,"href"),null,null,"anonymous")];case 1:n=r.sent(),(s=document.createElement("canvas")).width=n.width,s.height=n.height,s.getContext("2d").drawImage(n,0,0);try{return a=s.toDataURL(),t.setAttribute("href",a),[2,a]}catch(e){return!1!==i.keepTainted&&this.temporarilyRemoveObject(t),[2,void 0]}case 2:return r.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 3:return[2]}})})},e.prototype.svgToDataURI=function(t,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o;return(0,r.YH)(this,function(r){switch(r.label){case 0:n=t.getAttributeNS(e.XLINK,"href"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,P.H(n)];case 2:return s=r.sent(),a=this.adapter.apply("charset",{charset:"base64",type:"svg",options:i}).charset,o=this.adapter.apply("svgToDataURI",{data:"data:"+this.getContentType("svg")+";"+a+","+btoa(s.response),options:i}).data,t.setAttributeNS(e.XLINK,"href",o),[2,o];case 3:return r.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 4:return[2]}})})},e.prototype.temporarilyRemoveObject=function(t,e){var i=t.parentElement||t.parentNode;e||(e=this.sprite.paper.add("g").node),i.insertBefore(e,t),t.textContent,i.removeChild(t),this._removedObjects.push({element:t,placeholder:e})},e.prototype.restoreRemovedObjects=function(){for(var t;t=this._removedObjects.pop();)(t.placeholder.parentElement||t.placeholder.parentNode).insertBefore(t.element,t.placeholder)},e.prototype.simplifiedImageExport=function(){return(0,r.sH)(this,void 0,void 0,function(){var t,e,i,n,s,a,o;return(0,r.YH)(this,function(r){switch(r.label){case 0:if(!1===this.useSimplifiedExport)return[2,!1];if(!1===(t=m.u.getCache("simplifiedImageExport"))||!0===t)return[2,t];r.label=1;case 1:r.trys.push([1,6,,7]),(e=document.createElement("canvas")).width=1,e.height=1,i=e.getContext("2d"),n=this.getDOMURL(),s=new Blob([this.normalizeSVG("<g></g>",{}
1,1,1)],{type:"image/svg+xml"}),a=n.createObjectURL(s),o=void 0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.loadNewImage(a,1,1)];case 3:return o=r.sent(),[3,5];case 4:return r.sent(),[2,!1];case 5:i.drawImage(o,0,0),n.revokeObjectURL(a);try{return m.u.setCache("simplifiedImageExport",!0),[2,!0]}catch(t){return m.u.setCache("simplifiedImageExport",!1),[2,!1]}case 6:return r.sent(),m.u.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},e.prototype.loadNewImage=function(t,e,i,n){return new Promise(function(r,s){var a;function o(){if(n){var e=a.src;a.onerror=function(){s(Error('Loading image "'+t+'" failed'))},a.removeAttribute("crossorigin"),a.src="",a.src=e}else s(Error('Loading image "'+t+'" failed'))}a=e&&i?new Image(e,i):new Image,n&&a.setAttribute("crossOrigin",n),a.onload=function(){r(a)},a.onabort=o,a.onerror=o,a.src=t})},e.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},e.prototype.getSVG=function(t,e,i){return void 0===i&&(i=!0),(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l,h,u,p,d,c;return(0,r.YH)(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),C.a4(e)||(e=this.getFormatOptions("svg")),[4,this.awaitValidSprites()];case 1:return r.sent(),s=this.sprite.pixelWidth,a=this.sprite.pixelHeight,o=b.VB(this.sprite.dom),l=b.Sd(this.sprite.dom),h=e.scale||1,u=this.getPixelRatio(e),h=this.getAdjustedScale(s*u,a*u,h,e),p=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,s,a,h,o,l),d=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:e}).charset,c=this.adapter.apply("getSVG",{data:i?"data:"+this.getContentType(t)+";"+d+","+encodeURIComponent(p):p,options:e}).data,n||this.restoreNonExportableSprites(),[2,c]}})})},e.prototype.normalizeSVG=function(t,e,i,n,r,s,a,o){var l="";i&&(l+='width="'+Math.round(i*(r||1))+'px" '),n&&(l+='height="'+Math.round(n*(r||1))+'px" ');var h="";s&&(h+="font-family: "+s.replace(/"/g,"")+";"),a&&(h+="font-size: "+a+";"),r&&(l+='viewBox="0 0 '+i+" "+n+'" ');var u=[],p=t.match(/<foreignObject[\s\S]*<\/foreignObject>/gi);if(p)for(var d=0;d<p.length;d++)t=t.replace(p[d],I.Kx),u.push(p[d]);t.match(/<svg/)?""!==l&&(t=(t=(t=t.replace(/(<svg[^>]*)width="[^"]*"/,"$1")).replace(/(<svg[^>]*)height="[^"]*"/,"$1")).replace(/(<svg)/,"$1"+l)):t='<?xml version="1.0" encoding="utf-8"?><svg '+l+' style="'+h+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+t+"</svg>",o&&(t=t.replace(/(<svg[^>]*>)/,'$1<rect width="100%" height="100%" fill="'+o.rgba+'"/>')),_.V()&&(t=t.replace(/<feColorMatrix [^\/>]*\/>/gi,""));var c=RegExp("url\\("+O.xp(O.aw()),"g");if(t=(t=t.replace(c,"url(#")).replace(/url\("([^)]*)"\)/gm,"url($1)"),u.length)for(var d=0;d<u.length;d++)t=t.replace(I.Kx,u[d]);return this.adapter.apply("normalizeSVG",{data:t,options:e}).data},e.prototype.serializeElement=function(t){return new XMLSerializer().serializeToString(t)},e.prototype.getPDF=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){var i,n,s,a,o,l,h,u,p,d,c;function f(t){var e={};e.normal=t.normal.path,c[t.normal.path]=t.normal.bytes,t.bold?(e.bold=t.bold.path,c[t.bold.path]=t.bold.bytes):e.bold=t.normal.path,t.italics?(e.italics=t.italics.path,c[t.italics.path]=t.italics.bytes):e.italics=t.normal.path,t.bolditalics?(e.bolditalics=t.bolditalics.path,c[t.bolditalics.path]=t.bolditalics.bytes):e.bolditalics=t.normal.path,d[t.name]=e}return(0,r.YH)(this,function(r){switch(r.label){case 0:return[4,this.getImage(e.imageFormat||"png",e)];case 1:return i=r.sent(),[4,this.pdfmake];case 2:if(n=r.sent(),s=[30,30,30,30],a={pageSize:e.pageSize||"A4",pageOrientation:e.pageOrientation||"portrait",pageMargins:e.pageMargins||s,defaultStyle:{font:e.font?e.font.name:void 0},content:[]},o=this.adapter.apply("title",{title:this.title,options:e}).title,l=0,o&&(a.content.push({text:o,fontSize:e.fontSize||14,bold:!0,margin:[0,0,0,15]}),l+=50),e.addURL&&(a.content.push({text:this.language.translate("Saved from")+": "+document.location.href,fontSize:e.fontSize,margin:[0,0,0,15]}),l+=50),"pdfdata"!=t&&a.content.push({image:i,alignment:e.align||"left",fit:this.getPageSizeFit(a.pageSize,a.pageMargins,l)}),!("pdfdata"==t||e.addData))return[3,4];return u=(h=a.content).push,p={},[4,this.getPDFData("pdf",e)];case 3:u.apply(h,[(p.table=r.sent(),p.fontSize=e.fontSize||14,p)]),r.label=4;case 4:return a=this.adapter.apply("pdfmakeDocument",{doc:a,options:e}).doc,d=null,c=null,e.font&&(d={},c={},f(e.font),e.extraFonts&&S.__(e.extraFonts,f)),[4,new Promise(function(t,e){n.createPdf(a,null,d,c).getDataUrl(function(e){t(e)})})];case 5:return[2,r.sent()]}})})},e.prototype.getPDFData=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){var t,i,n,s,a,o,l=this;return(0,r.YH)(this,function(r){if(t={body:[]},i=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"pdf"}).dataFields,n=this.data,e.pivot)s=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"pdfdata"}).dataFieldsOrder,x.jh(i,function(i,r){var s=[];e.addColumnNames&&s.push(r);for(var a=n.length,o=0;o<a;o++){var h=n[o][i];s.push(l.convertToSpecialFormat(i,h,e,!0))}t.body.push(l.getPDFDataRow(s,e,void 0,!0))},function(t,e){var i=s.indexOf(t),n=s.indexOf(e);return i>n?1:i<n?-1:0});else for(e.addColumnNames&&(t.body.push(this.getPDFDataRow(i,e,void 0,!0)),t.headerRows=1),a=n.length,o=0;o<a;o++)t.body.push(this.getPDFDataRow(n[o],e,i));return[2,this.adapter.apply("pdfmakeTable",{table:t,options:e}).table]})})}
1,e.prototype.getPDFDataRow=function(t,e,i,n){var r=this;void 0===n&&(n=!1);var s=[];i||(i=t);var a=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"pdfdata"}).dataFieldsOrder;return x.jh(i,function(i,a){var o=r.convertEmptyValue(i,t[i],e),l=n?o:r.convertToSpecialFormat(i,o,e);l=""+l,s.push(l)},function(t,e){var i=a.indexOf(t),n=a.indexOf(e);return i>n?1:i<n?-1:0}),s},e.prototype.getPageSizeFit=function(t,e,i){void 0===i&&(i=0);var n=[0,0,0,0];"number"==typeof e?n=[e,e,e,e]:2==e.length?n=[e[0],e[1],e[0],e[1]]:4==e.length&&(n=e);var r={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]}[t];return r[0]-=n[0]+n[2],r[1]-=n[1]+n[3]+i,r},e.prototype.getExcel=function(t,e){return(0,r.sH)(this,void 0,void 0,function(){var i,n,s,a,o,l,h,u,p,d=this;return(0,r.YH)(this,function(r){switch(r.label){case 0:return C.a4(e)||(e=this.getFormatOptions("xlsx")),[4,this.xlsx];case 1:if(i=r.sent(),n=this.adapter.apply("xlsxWorkbookOptions",{xlsx:i,options:{bookType:"xlsx",bookSST:!1,type:"base64"}}).options,a={SheetNames:[s=this.normalizeExcelSheetName(this.adapter.apply("xlsxSheetName",{xlsx:i,name:this.title||this.language.translate("Data")}).name)],Sheets:{}},o=[],l=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"xslx"}).dataFields,e.pivot)h=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"xlsx"}).dataFieldsOrder,x.jh(l,function(t,i){var n=[];e.addColumnNames&&n.push(i);for(var r=d.data.length,s=0;s<r;s++){var a=d.data[s][t];n.push(d.convertToSpecialFormat(t,a,e,!0))}o.push(d.getExcelRow(n,e,void 0,!0))},function(t,e){var i=h.indexOf(t),n=h.indexOf(e);return i>n?1:i<n?-1:0});else for(e.addColumnNames&&o.push(this.getExcelRow(l,e,void 0,!0)),u=this.data.length,p=0;p<u;p++)o.push(this.getExcelRow(this.data[p],e,l));return a.Sheets[s]=i.utils.aoa_to_sheet(o),a=this.adapter.apply("xlsxWorkbook",{xlsx:i,workbook:a,options:e}).workbook,[2,this.adapter.apply("getExcel",{data:"data:"+this.getContentType(t)+";base64,"+i.write(a,n),options:e}).data]}})})},e.prototype.normalizeExcelSheetName=function(t){return t=t.replace(/([:\\\/?*\[\]]+)/g," "),O.Ce(t,31,"...",!0)},e.prototype.getExcelRow=function(t,e,i,n){var r=this;void 0===n&&(n=!1);var s=[];i||(i=t);var a=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"xlsx"}).dataFieldsOrder;return x.jh(i,function(i,a){var o=r.convertEmptyValue(i,t[i],e),l=n?o:r.convertToSpecialFormat(i,o,e,!0);s.push(l)},function(t,e){var i=a.indexOf(t),n=a.indexOf(e);return i>n?1:i<n?-1:0}),s},e.prototype.getCSV=function(t,e,i){return void 0===i&&(i=!0),(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l,h,u,p,d,c=this;return(0,r.YH)(this,function(r){if(C.a4(e)||(e=this.getFormatOptions("csv")),n="",s=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"csv"}).dataFields,a="",o=this.data,e.pivot)l=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"csv"}).dataFieldsOrder,x.jh(s,function(t,i){var r=[];e.addColumnNames&&r.push(i);for(var s=o.length,l=0;l<s;l++){var h=o[l][t];r.push(c.convertToSpecialFormat(t,h,e,!0))}n+=a+c.getCSVRow(r,e,void 0,!0),a="\n"},function(t,e){var i=l.indexOf(t),n=l.indexOf(e);return i>n?-1:+(i<n)});else{for(h=o.length,u=0;u<h;u++)p=this.getCSVRow(o[u],e,s),e.reverse?n=p+a+n:n+=a+p,a="\n";e.addColumnNames&&(n=this.getCSVRow(s,e,void 0,!0)+a+n)}return d=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getCSV",{data:i?"data:"+this.getContentType(t)+";"+d+","+encodeURIComponent(n):n,options:e}).data]})})}
1,e.prototype.getCSVRow=function(t,e,i,n){var r=this;void 0===n&&(n=!1);var s=e.separator||",",a=[];i||(i=t);var o=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"csv"}).dataFieldsOrder;return x.jh(i,function(i,o){var l=r.convertEmptyValue(i,t[i],e),h=n?l:r.convertToSpecialFormat(i,l,e);h=(h=""+h).replace(/"/g,'""'),(e.forceQuotes||h.search(RegExp('"|\n|'+s,"g"))>=0)&&(h='"'+h+'"'),a.push(h)},function(t,e){var i=o.indexOf(t),n=o.indexOf(e);return i>n?1:i<n?-1:0}),a.join(s)},e.prototype.getHTML=function(t,e,i){return void 0===i&&(i=!0),(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l,h,u,p=this;return(0,r.YH)(this,function(r){if(C.a4(e)||(e=this.getFormatOptions("html")),n="<table>",e.tableClass&&(n='<table class="'+e.tableClass+'">'),s=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,a=this.data,e.pivot)o=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,n+="\n<tbody>",x.jh(s,function(t,i){var r=[];e.addColumnNames&&r.push(i);for(var s=a.length,o=0;o<s;o++){var l=a[o][t];r.push(p.convertToSpecialFormat(t,l,e,!0))}n+="\n"+p.getHTMLRow(r,e,void 0,!0)},function(t,e){var i=o.indexOf(t),n=o.indexOf(e);return i>n?-1:+(i<n)}),n+="\n</tbody>";else{for(e.addColumnNames&&(n+="\n<thead>\n"+this.getHTMLRow(s,e,void 0,!0,!0)+"\n</thead>"),n+="\n<tbody>",l=a.length,h=0;h<l;h++)n+="\n"+this.getHTMLRow(a[h],e,s);n+="\n</tbody>"}return n+="\n</table>",u=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getHTML",{data:i?"data:"+this.getContentType(t)+";"+u+","+encodeURIComponent(n):n,options:e}).data]})})},e.prototype.getHTMLRow=function(t,e,i,n,r){var s=this;void 0===n&&(n=!1),void 0===r&&(r=!1);var a=" <tr>";e.rowClass&&(a=' <tr class="'+e.rowClass+'">'),i||(i=t);var o=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,l=r?"th":"td",h=!0;return x.jh(i,function(i,r){var o=s.convertEmptyValue(i,t[i],e),u=n?o:s.convertToSpecialFormat(i,o,e);u=(u=""+u).replace(/[\u00A0-\u9999<>\&]/gim,function(t){return"&#"+t.charCodeAt(0)+";"});var p=l;e.pivot&&h&&(p="th"),e.cellClass?a+="\n <"+p+' class="'+e.cellClass+'">'+u+"</"+p+">":a+="\n <"+p+">"+u+"</"+p+">",h=!1},function(t,e){var i=o.indexOf(t),n=o.indexOf(e);return i>n?1:i<n?-1:0}),a+="\n </tr>"},e.prototype.getJSON=function(t,e,i){return void 0===i&&(i=!0),(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l,h,u,p,d=this;return(0,r.YH)(this,function(r){if(C.a4(e)||(e=this.getFormatOptions("json")),s=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"json"}).dataFields,this._dynamicDataFields)n=this.data;else for(n=[],a=this.data,o=function(t,i){var r=a[i];if("object"==typeof r){var o={};x.__(r,function(t,i){C.a4(s[t])&&(o[s[t]]=d.convertToSpecialFormat(t,i,e))}),n.push(o)}},l=a.length,h=0;h<l;h++)o(l,h);return u=JSON.stringify(n,function(t,i){return"object"==typeof i&&x.__(i,function(t,n){i[t]=d.convertToSpecialFormat(t,n,e)}),i},e.indent),p=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getJSON",{data:i?"data:"+this.getContentType(t)+";"+p+","+encodeURIComponent(u):u,options:e}).data]})})},e.prototype.convertToSpecialFormat=function(t,e,i,n){if("number"==typeof e){if(this.isDateField(t))e=new Date(e);else if(this.isDurationField(t))return this.durationFormatter.format(e,this.durationFormat);else if(this.isNumberField(t)&&this.numberFormat)return this.numberFormatter.format(e,this.numberFormat)}return e instanceof Date?i.useTimestamps?e=e.getTime():i.useLocale?n||(e=e.toLocaleString()):e=this.dateFormatter.format(e,this.dateFormat):C.Kg(e)&&this.isDateField(t)&&this.dateFormat&&(e=this.dateFormatter.format(this.dateFormatter.parse(e),this.dateFormat)),e},e.prototype.convertEmptyValue=function(t,e,i){return C.a4(e)?e:i.emptyAs},e.prototype.download=function(t,e,i){return void 0===i&&(i=!1),(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o,l,h,u,p,d,c,f,g,y,m;return(0,r.YH)(this,function(r){if(this.msBlobDownloadSupport()){if(s=(n=t.split(";")).shift().replace(/data:/,""),t=decodeURIComponent(n.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv"].indexOf(s))return a=new Blob([t],{type:s}),window.navigator.msSaveBlob(a,e),[2,!0];try{t=atob(t)}catch(t){return[2,!1]}for(l=0,o=Array(t.length);l<t.length;++l)h=t.charCodeAt(l),o[l]=h;
1u=new Blob([new Uint8Array(o)],{type:s}),window.navigator.msSaveBlob(u,e)}else if(this.blobDownloadSupport()){if((p=document.createElement("a")).download=e,document.body.appendChild(p),s=(n=t.split(";")).shift().replace(/data:/,""),t=decodeURIComponent(n.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv","text/html"].indexOf(s))return i&&(t="\uFEFF"+t),d=new Blob([t],{type:s}),p.href=c=window.URL.createObjectURL(d),p.download=e,p.click(),setTimeout(function(){document.body.removeChild(p),window.URL.revokeObjectURL(c)},100),[2,!0];try{t=atob(t)}catch(t){return[2,!1]}for(l=0,o=Array(t.length);l<t.length;++l)h=t.charCodeAt(l),o[l]=h;i&&(o=[239,187,191].concat(o)),u=new Blob([new Uint8Array(o)],{type:s}),p.href=f=window.URL.createObjectURL(u),p.download=e,document.body.appendChild(p),p.click(),document.body.removeChild(p),setTimeout(function(){window.URL.revokeObjectURL(f)},100)}else this.linkDownloadSupport()?((g=document.createElement("a")).download=e,g.href=t,document.body.appendChild(g),g.click(),document.body.removeChild(g)):this.legacyIE()?4===(n=t.match(/^data:(.*);[ ]*([^,]*),(.*)$/)).length&&("base64"==n[2]?n[1].match(/^image\//)&&this.showModal('<img src="'+t+'" style="float: left; max-width: 50%; max-height: 80%; margin: 0 1em 0.5em 0; border: 1px solid #eee;" /><p>'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'</p><p style="text-align: center;"><small>'+this.language.translate("(Press ESC to close this message)")+"</small></p>",this.language.translate("Image Export Complete")):(s=void 0,e.match(/\.svg$/)?s="image/svg+xml":(s="text/plain",e+=".txt"),(y=document.createElement("iframe")).width="1px",y.height="1px",y.style.display="none",document.body.appendChild(y),(m=y.contentDocument).open(s,"replace"),m.write(decodeURIComponent(n[3])),m.close(),m.execCommand("SaveAs",!0,e),document.body.removeChild(y))):window.location.href=t;return[2,!0]})})},e.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},e.prototype.linkDownloadSupport=function(){var t=m.u.getCache("linkDownloadSupport");if(!1===t||!0===t)return t;var e=void 0!==document.createElement("a").download;
1return m.u.setCache("linkDownloadSupport",e),e},e.prototype.blobDownloadSupport=function(){return C.a4(window.Blob)},e.prototype.msBlobDownloadSupport=function(){return C.a4(window.navigator.msSaveOrOpenBlob)},e.prototype.legacyIE=function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lt IE 10]><i></i><![endif]--\x3e",1==t.getElementsByTagName("i").length},e.prototype.print=function(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){return(0,r.YH)(this,function(n){return"css"==e.printMethod?[2,this.printViaCSS(t,e,i)]:[2,this.printViaIframe(t,e,i)]})})},e.prototype.printViaCSS=function(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s,a,o;return(0,r.YH)(this,function(r){return n=document.documentElement.scrollTop||document.body.scrollTop,s=new b.aq(b.jG(this.container),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),i&&document&&document.title&&(a=document.title,document.title=i),(o=new Image).src=t,o.style.maxWidth="100%",o.style.display="block",o.style.position="relative",o.style.visibility="visible",o.style.opacity="1",o.style.clipPath="none",document.body.appendChild(o),this.setTimeout(function(){window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(o),s.dispose(),a&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},e.delay||500),[2,!0]})})},e.prototype.printViaIframe=function(t,e,i){return(0,r.sH)(this,void 0,void 0,function(){var n,s;return(0,r.YH)(this,function(r){return(n=document.createElement("iframe")).style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close(),(s=new Image).src=t,s.style.maxWidth="100%",s.style.height="auto",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(s),n.load=function(){n.contentWindow.document.body.appendChild(s)},this.setTimeout(function(){try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch(t){n.contentWindow.print()}},e.delay||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(n)},e.delay+50||100),[2,!0]})})},e.prototype.findBackgroundColor=function(t){var e=1,i=(0,b.L9)(t,"background-color");if((i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==i)&&(e=0),0!=e)return(0,y.yW)(i,e);var n=t.parentElement;return n?this.findBackgroundColor(n):(0,y.yW)("#fff")},Object.defineProperty(e.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(t){this._container=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(t){this._sprite=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(t){this._extraSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validateSprites",{get:function(){return this.adapter.apply("validateSprites",{validateSprites:this._validateSprites}).validateSprites},set:function(t){this._validateSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(t){this._data=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(t){this._dataFields=t,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),e.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0);var t=this.data.length>0;this._prevHasData!=t&&(this._prevHasData=t,this.menu&&this.menu.invalidate())},Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new p.p,this._dateFormatter.language=this.language),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(t){this._dateFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new h.B8),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields}
1,set:function(t){this._dateFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new c.K,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(t){this._numberFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this.adapter.apply("numberFormat",{numberFormat:this._numberFormat}).numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFields",{get:function(){return this._numberFields||(this._numberFields=new h.B8),this.adapter.apply("numberFields",{numberFields:this._numberFields}).numberFields},set:function(t){this._numberFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new d.n,this._durationFormatter.language=this.language),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(t){this._durationFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(t){this._durationFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new h.B8),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(t){this._durationFields=t},enumerable:!0,configurable:!0}),e.prototype.generateDataFields=function(){var t=this;this._dataFields={},this.data.length&&S.__(this.data,function(e){x.__(e,function(e,i){C.a4(t._dataFields[e])||(t._dataFields[e]=t.adapter.apply("dataFieldName",{name:e,field:e}).name)})})},e.prototype.isDateField=function(t){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(t),field:t}).isDateField},e.prototype.isNumberField=function(t){return this.adapter.apply("isNumberField",{isNumberField:this.numberFields.contains(t),field:t}).isNumberField},e.prototype.isDurationField=function(t){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(t),field:t}).isDurationField},e.prototype.getContentType=function(t){var e="";switch(t){case"png":case"gif":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"svg":e="image/svg+xml";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"html":e="text/html";break;case"pdf":case"pdfdata":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return this.adapter.apply("contentType",{contentType:e,type:t}).contentType},Object.defineProperty(e.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(t){this._filePrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(t){this._backgroundColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),e.prototype.showPreloader=function(){var t=this.preloader;t&&(t.progress=.5,t.label.text="...")},e.prototype.hidePreloader=function(){var t=this.preloader;t&&(t.progress=1)},Object.defineProperty(e.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),e.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},e.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()}
1,Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this._language=new f.T),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modal",{get:function(){return this._modal||(this._modal=new l.a,this._modal.adapter.add("classPrefix",function(t){return v.f.classNamePrefix+t})),this._modal},enumerable:!0,configurable:!0}),e.prototype.showModal=function(t,e){this.hideModal(),this.hidePreloader();var i=this.modal;i.container=this.sprite.svgContainer.SVGContainer,i.content=t,i.readerTitle=e,i.open()},e.prototype.hideModal=function(){this._modal&&this.modal.close()},e.prototype._canvg=function(){return(0,r.sH)(this,void 0,void 0,function(){var t;return(0,r.YH)(this,function(e){switch(e.label){case 0:return[4,i.e("587").then(i.bind(i,75295))];case 1:if(null!=(t=e.sent()).default)return[2,t.default];return[2,t]}})})},Object.defineProperty(e.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pdfmake",{get:function(){return null==n&&(n=function(){return(0,r.sH)(this,void 0,void 0,function(){var t,e,n,s;return(0,r.YH)(this,function(r){switch(r.label){case 0:return[4,Promise.all([i.e("190").then(i.t.bind(i,19536,23)),i.e("190").then(i.bind(i,1556))])];case 1:return e=(t=r.sent())[0],n=t[1],(s=window).pdfMake=s.pdfMake||{},s.pdfMake.vfs=n.default,e.vfs=n.default,[2,e]}})})}()),n},enumerable:!0,configurable:!0}),e.prototype._xlsx=function(){return(0,r.sH)(this,void 0,void 0,function(){return(0,r.YH)(this,function(t){switch(t.label){case 0:return[4,Promise.all([i.e("257"),i.e("699")]).then(i.t.bind(i,68032,23))];case 1:return[2,t.sent()]}})})},Object.defineProperty(e.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),e.prototype.setFormatOptions=function(t,e){this._formatOptions.setKey(t,e)},e.prototype.getFormatOptions=function(t){return this._formatOptions.getKey(t)},Object.defineProperty(e.prototype,"formatOptions",{get:function(){return this._formatOptions},enumerable:!0,configurable:!0}),e.prototype._disablePointers=function(){C.a4(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},e.prototype._releasePointers=function(){C.a4(this._spriteInteractionsEnabled)&&!this._exportRunning&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},e.prototype.hideNonExportableSprites=function(){var t=this;if(!this._objectsAlreadyHidden){var e=this.sprite.svgContainer;e&&S.__(e.nonExportableSprites,function(e){e.isHidden||e.isHiding||!e.visible||t._hiddenObjects.push(e),e.hide(0)}),this._objectsAlreadyHidden=!0}},e.prototype.restoreNonExportableSprites=function(){this._objectsAlreadyHidden&&(S.__(this._hiddenObjects,function(t){t.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},e.prototype.awaitValidSprites=function(){return(0,r.sH)(this,void 0,void 0,function(){var t;return(0,r.YH)(this,function(e){switch(e.label){case 0:if(t=[],this.validateSprites.length&&S.__(this.validateSprites,function(e,i){e.invalid&&t.push(new Promise(function(t,i){e.events.once("validated",function(e){t()})}))}),!t.length)return[3,2];return[4,Promise.all(t)];case 1:e.sent(),e.label=2;case 2:return[2]}})})},e.prototype.processConfig=function(e){m.u.registeredClasses.ExportMenu=s.w,e&&(C.a4(e.menu)&&!C.a4(e.menu.type)&&(e.menu.type="ExportMenu"),C.a4(e.dataFields)&&C.Gv(e.dataFields)&&(this.dataFields=e.dataFields,delete e.dataFields)),t.prototype.processConfig.call(this,e)},e.XLINK="http://www.w3.org/1999/xlink",e}(g.m)},92290:function(t,e,i){i.d(e,{w:function(){return v}});var n=i(3460),r=i(39049),s=i(35395),a=i(91489),o=i(37688),l=new a.bT,h=i(18586),u=i(42969),p=i(34788),d=i(99262),c=i(95026),f=i(73228),g=i(35580),y=i(22855),m=i(30101),v=function(t){function e(){var e=t.call(this)||this;return e.adapter=new h.Y3(e),e.closeDelay=1e3,e.closeOnClick=!0,e._language=new o.h1,e._menuTag="ul",e._itemTag="li",e._labelTag="a",e._iconTag="img",e._classPrefix="amexport",e._defaultStyles=!0,e._align="right",e._verticalAlign="top",e._tabindex=0,e._ignoreNextClose=!1,e._items=[{label:"...",menu:[{label:"Image",menu:[{type:"png",label:"PNG"},{type:"jpg",label:"JPG"},{type:"svg",label:"SVG"},{type:"pdf",label:"PDF"}]},{label:"Data",menu:[{type:"json",label:"JSON"},{type:"csv",label:"CSV"},{type:"xlsx",label:"XLSX"},{type:"html",label:"HTML"},{type:"pdfdata",label:"PDF"}]},{label:"Print",type:"print"}]}],e.className="ExportMenu",e._disposers.push(e._language),e.invali
1date(),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.validate=function(){this.draw(),t.prototype.validate.call(this)},e.prototype.draw=function(){var t=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),m._W(this._container).appendChild(this._element);for(var e=this.adapter.apply("items",{items:this._items}).items,i=e.length,n=0;n<i;n++)this.drawBranch(this._element,e[n],0);this._element=this.adapter.apply("menuElement",{menuElement:this._element}).menuElement,this._disposers.push((0,p.H)().body.events.on("down",function(e){e.pointer.touch||(t._ignoreNextClose=!1),t.close()})),this._disposers.push((0,p.H)().body.events.on("keydown",function(e){var i=f.Q.getEventKey(e.event);switch(i){case"esc":t.close();break;case"up":case"down":case"left":case"right":t._currentSelection&&e.event.preventDefault(),t.moveSelection(i)}})),this.defaultStyles&&this.loadDefaultCSS()},e.prototype.drawBranch=function(t,e,i){var n,r=this;if(!0!==(e=this.adapter.apply("branch",{branch:e,level:i}).branch).unsupported){e.ascendants||(e.ascendants=new u.B8);var s=e.type,a=this.createItemElement(i,s);e.icon?((n=this.createIconElement(i,s)).src=e.icon,(e.label||e.title)&&(n.title=e.title||e.label)):e.svg?(n=this.createSvgElement(i,s,e.svg),(e.label||e.title)&&(n.title=e.title||e.label)):((n=this.createLabelElement(i,s)).innerHTML=e.label?this.language.translate(e.label):"",e.title&&(n.title=e.title));var o=this.getReaderLabel(e,n.innerHTML);n.setAttribute("aria-label",o),a.appendChild(n),e.interactions=(0,p.H)().getInteraction(a),e.element=a,this.typeClickable(s)&&(e.interactions.events.on("hit",function(t){if(r.events.isEnabled("hit")&&!r.isDisposed()){var i={type:"hit",event:t.event,target:r,branch:e};r.events.dispatchImmediately("hit",i)}}),e.interactions.events.on("keyup",function(t){if(f.Q.isKey(t.event,"enter")&&r.events.isEnabled("enter")){var i={type:"enter",event:t.event,target:r,branch:e};r.events.dispatchImmediately("enter",i)}}));var l=this.getSubMenu(e);null!=l&&(e.interactions.events.on("keyup",function(t){f.Q.isKey(t.event,"enter")&&(r.selectBranch(l[0]),r.setFocus(l[0]))}),e.interactions.events.on("hit",function(t){r.selectBranch(e)})),e.interactions.events.on("over",function(t){if(t.pointer.touch&&(r._ignoreNextClose=!0),r.selectBranch(e),r.events.isEnabled("over")){var i={type:"over",event:t.event,target:r,branch:e};r.events.dispatchImmediately("over",i)}}),e.interactions.events.on("out",function(t){if(!r.isDisposed()&&(t.pointer.touch||r.delayUnselectBranch(e),r.events.isEnabled("out"))){var i={type:"out",event:t.event,target:r,branch:e};r.events.dispatchImmediately("out",i)}}),e.interactions.events.on("focus",function(t){r.selectBranch(e)}),e.interactions.events.on("blur",function(t){r.delayUnselectBranch(e)});var h=i+1;if(e.menu){var d=this.createMenuElement(h);e.submenuElement=d;for(var c=e.menu.length,g=0;g<c;g++){var y=new u.B8;e.menu[g].ascendants=y,e.ascendants.length&&y.copyFrom(e.ascendants),y.push(e),this.drawBranch(d,e.menu[g],h)}if(""==d.innerHTML)return;a.appendChild(d)}e.hidden&&this.hideBranch(e),e.id&&a.setAttribute("id",e.id),e.color&&(a.style.backgroundColor=e.color.hex),t.appendChild(a)}},e.prototype.createMenuElement=function(t){var e=document.createElement(this.menuTag);return e.className=this.getMenuItemClass(t),0===t?e.setAttribute("role","menubar"):e.setAttribute("role","menu"),e},e.prototype.getMenuItemClass=function(t){var e=this.classPrefix+"-menu "+this.classPrefix+"-menu-level-"+t;return 0===t&&(e+=" "+this.classPrefix+"-menu-root "+this.classPrefix+"-"+this.align+" "+this.classPrefix+"-"+this.verticalAlign),this.adapter.apply("menuClass",{className:e,level:t}).className},e.prototype.createItemElement=function(t,e){var i=document.createElement(this.itemTag),n=this.classPrefix+"-item "+this.classPrefix+"-item-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return i.className=this.adapter.apply("itemClass",{className:n,level:t,type:e}).className,i.setAttribute("role","menuitem"),i.setAttribute("tabindex",this.tabindex.toString()),i},e.prototype.createLabelElement=function(t,e){var i=document.createElement(this.labelTag),n=this.classPrefix+"-label "+this.classPrefix+"-label-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(n+=" "+this.classPrefix+"-clickable"),i.className=this.adapter.apply("labelClass",{className:n,level:t,type:e}).className,i},e.prototype.createIconElement=function(t,e){var i=document.createElement(this.iconTag),n=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(n+=" "+this.classPrefix+"-clickable"),i.className=this.adapter.apply("labelClass",{className:n,level:t,type:e}).className,i.setAttribute("tabindex",this.tabindex.toString()),i.setAttribute("role","menuitem"),i}
1,e.prototype.createSvgElement=function(t,e,i){var n=new DOMParser().parseFromString(i,"image/svg+xml").documentElement,r=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(r+=" "+this.classPrefix+"-clickable"),n.setAttribute("class",this.adapter.apply("labelClass",{className:r,level:t,type:e}).className),n.setAttribute("tabindex",this.tabindex.toString()),n.setAttribute("role","menuitem"),n},e.prototype.dispose=function(){!this._disposed&&(t.prototype.dispose.call(this),this._element&&this._element.parentNode&&this._element.parentNode.removeChild(this._element))},e.prototype.typeClickable=function(t){return m.a4(t)},e.prototype.hasSubMenu=function(t){return!!t.menu&&!!t.menu.length},e.prototype.getSubMenu=function(t){if(t.menu&&t.menu.length)return t.menu},e.prototype.getReaderLabel=function(t,e){return e=g.Kq(e),0==t.ascendants.length?e=("..."==e?this.language.translate("Export"):e)+(" ["+this.language.translate("Press ENTER or use arrow keys to navigate"))+"]":this.hasSubMenu(t)?e+=" ["+this.language.translate("Click, tap or press ENTER to open")+"]":"print"==t.type?e=this.language.translate("Click, tap or press ENTER to print."):this.typeClickable(t.type)&&(e=this.language.translate("Click, tap or press ENTER to export as %1.",void 0,e)),this.adapter.apply("rederLabel",{label:e,branch:t}).label},Object.defineProperty(e.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(t){this._items=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tag",{set:function(t){this._menuTag=t,this._itemTag="ul"==t?"li":"div",this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuTag",{get:function(){return this.adapter.apply("menuTag",{tag:this._menuTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemTag",{get:function(){return this.adapter.apply("itemTag",{tag:this._itemTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelTag",{get:function(){return this.adapter.apply("labelTag",{tag:this._labelTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconTag",{get:function(){return this.adapter.apply("iconTag",{tag:this._iconTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",{align:this._align}).align},set:function(t){this._align=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",{verticalAlign:this._verticalAlign}).verticalAlign},set:function(t){this._verticalAlign=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",{classPrefix:this._classPrefix}).classPrefix},set:function(t){this._classPrefix=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",{defaultStyles:this._defaultStyles}).defaultStyles},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t,t&&this.loadDefaultCSS()),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){var t,e,i;this._disposers.push((t=r.jG(this.container),e=this.classPrefix||"amexport",i=new s.T,l.insertKeyIfEmpty(e,function(){var n=new o.ZT([new r.aq(t,"."+e+"-menu *",{"box-sizing":"border-box"}),new r.aq(t,"."+e+"-menu-level-0",{position:"absolute",top:"5px",right:"5px"}),new r.aq(t,"."+e+"-menu-level-0."+e+"-left",{right:"auto",left:"5px"}),new r.aq(t,"."+e+"-menu-level-0."+e+"-right",{right:"5px",left:"auto"}),new r.aq(t,"."+e+"-menu-level-0."+e+"-top",{top:"5px",bottom:"auto"}),new r.aq(t,"."+e+"-menu-level-0."+e+"-bottom",{top:"auto",bottom:"5px"}),new r.aq(t,"."+e+"-item."+e+"-item-level-0",{opacity:"0.3",width:"30px","min-height":"30px",transition:"all 100ms ease-in-out"}),new r.aq(t,"div:hover > div > ."+e+"-menu ."+e+"-item."+e+"-item-level-0, ."+e+"-item."+e+"-item-level-0.active",{opacity:"0.9"}),new r.aq(t,"."+e+"-item."+e+"-item-level-0 > a",{padding:"0","text-align":"center",overflow:"hidden"}),new r.aq(t,"."+e+"-item."+e+"-item-level-0:before",{display:"block"}),new r.aq(t,"."+e+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":i.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:i.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new r.aq(t,"."+e+"-left ."+e+"-item",{margin:"1px 0 0 1px"}),new r.aq(t,"."+e+"-item:hover, ."+e+"-item.active",{background:i.getFor("secondaryButtonHover").hex,color:i.getFor("secondaryButtonText").hex}),new r.aq(t,"."+e+"-item > ."+e+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new r.aq(t,"."+e+"-left ."+e+"-item > ."+e+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new r.aq(t,"."+e+"-right ."+e+"-item > ."+e+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new r.aq(t,"."+e+"-top ."+e+"-item > ."+e+"-menu",{top:"-1px",bottom:"auto"}),new r.aq(t,"."+e+"-bottom ."+e+"-item > ."+e+"-menu",{top:"auto",bottom:"0"}),new r.aq(t,"."+e+"-item > ."+e+"-menu",{display:"none"}),new r.aq(t,"."+e+"-item:hover > ."+e+"-menu, ."+e+"-item.active > ."+e+"-menu",{display:"block"}),new r.aq(t,"."+e+"-item:hover > ."+e+"-menu > ."+e+"-item, ."+e+"-item.active > ."+e+"-menu > ."+e+"-item",{opacity:"1"}),new r.aq(t,"."+e+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new r.aq(t,"."+e+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new r.aq(t,"."+e+"-icon",{display:"block",cursor:"default",padding:"0.2em 0.4em",width:"1.2em",height:"1.2em","min-width":"32px","min-height":"32px",margin:"auto auto","border-radius":"3px"}),new r.aq(t,"."+e+"-item-level-0 > ."+e+"-icon",{padding:"0.1em 0.2em"}),new r.aq(t,"."+e+"-clickable",{cursor:"pointer"})]);return new o.Wr(function(){l.removeKey(e),n.dispose()})}).increment())),this._element&&(this._element.style.display="")},Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.adapter.apply("tabindex",{tabindex:this._tabindex}).tabindex},set:function(t){this._tabindex=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this,e=this._language.get();return null==e&&(e=new d.T,this._language.set(e,e.events.on("localechanged",function(e){t.invalidate()}))),e},set:function(t){var e=this;this._language.set(t,t.events.on("localechanged",function(t){e.invali
1date()})),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.close=function(){var t=this;if(!this.isDisposed()){if(this._ignoreNextClose){this._ignoreNextClose=!1;return}if(this.closeOnClick&&(this._element.style.pointerEvents="none",setTimeout(function(){t._element.style.pointerEvents="auto"},100)),this._currentSelection&&(this.setBlur(this._currentSelection),this._currentSelection=void 0),this._element)for(var e=this._element.getElementsByClassName("active"),i=e.length,n=i-1;n>=0;n--)e[n]&&r.vy(e[n],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},e.prototype.selectBranch=function(t){var e=this;!this.isDisposed()&&(t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.iQ(t.element,"active"),t.submenuElement&&t.submenuElement.setAttribute("aria-expanded","true"),this._currentSelection&&this._currentSelection!==t&&this._currentSelection.ascendants&&y.__(y.xW(y.ci([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(i){t.ascendants.contains(i)||t===i||e.unselectBranch(i,!0)}),y.__(t.ascendants.iterator(),function(t){t.closeTimeout&&(e.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.iQ(t.element,"active")}),this._currentSelection=t,this.events.isEnabled("branchselected")&&this.events.dispatchImmediately("branchselected",{type:"branchselected",target:this,branch:t}))},e.prototype.unselectBranch=function(t,e){!this.isDisposed()&&(r.vy(t.element,"active"),t.submenuElement&&t.submenuElement.removeAttribute("aria-expanded"),this._currentSelection==t&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected")&&this.events.dispatchImmediately("branchunselected",{type:"branchunselected",target:this,branch:t}))},e.prototype.delayUnselectBranch=function(t,e){var i=this;!this.isDisposed()&&(t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),t.closeTimeout=this.setTimeout(function(){i.unselectBranch(t,e)},this.closeDelay),!0!==e&&t.ascendants&&y.__(t.ascendants.iterator(),function(t){i.delayUnselectBranch(t,!0)}))},e.prototype.moveSelection=function(t){if(!this.isDisposed()&&this._currentSelection){if("up"==t)e=this.getPrevSibling(this._currentSelection);else if("down"==t)e=this.getNextSibling(this._currentSelection);else if("left"==t&&"right"==this.align||"right"==t&&"left"==this.align){var e,i=this.getSubMenu(this._currentSelection);null!=i&&(e=i[0])}else("right"==t&&"right"==this.align||"left"==t&&"left"==this.align)&&(e=this.getParentItem(this._currentSelection));e&&e!==this._currentSelection&&(this.selectBranch(e),this.setFocus(e),this._currentSelection=e)}},e.prototype.getSiblings=function(t){var e=this.getParentItem(t);return e&&e.menu?e.menu:[]},e.prototype.getParentItem=function(t){return t.ascendants&&t.ascendants.length?t.ascendants.getIndex(t.ascendants.length-1):void 0},e.prototype.getNextSibling=function(t){var e=this.getSiblings(t);if(!(e.length>1))return t;var i=e.indexOf(t)+1;return i=e.length==i?0:i,e[i].unsupported?this.getNextSibling(e[i]):e[i]},e.prototype.getPrevSibling=function(t){var e=this.getSiblings(t);if(!(e.length>1))return t;var i=e.indexOf(t)-1;return i=-1==i?e.length-1:i,e[i].unsupported?this.getPrevSibling(e[i]):e[i]},e.prototype.setFocus=function(t){if(t.interactions)try{t.interactions.element.focus()}catch(t){}},e.prototype.setBlur=function(t){if(t.interactions)try{t.interactions.element.blur()}catch(t){}},e.prototype.hideBranch=function(t){t.element.style.display="none"},e.prototype.showBranch=function(t){t.element.style.display=""},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e}(c.m)},87033:function(t,e,i){i.d(e,{p:function(){return d}});var n=i(3460),r=i(99262),s=i(85802),a=i(98340),o=i(31272),l=i(6183),h=i(35580),u=i(30101),p=i(86432),d=function(t){function e(){var e=t.call(this)||this;return e._dateFormat="yyyy-MM-dd",e._inputDateFormat="yyyy-MM-dd",e._utc=!1,e.timezoneMinutes=0,e._firstDayOfWeek=1,e.months=["January","February","March","April","May","June","July","August","September","October","November","December"],e.monthsShort=["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e.weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],e.weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e._outputFormat="svg",e.capitalize=!0,e.className="DateFormatter",e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},set:function(t){this._language=t,this.dateFormat=this._language.translate("_date")},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e,i){if(this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.T),(void 0===e||""===e)&&(e=this._dateFormat),s=u.Kg(t)?this.parse(t):h.yq(t),u.Gv(e))try{if(this.intlLocales)return new Intl.DateTimeFormat(this.intlLocales,e).format(s);return new Intl.DateTimeFormat(void 0,e).format(s)}catch(t){return"Invalid"}e=h.fZ(e);var n,s,a=this.parseFormat(e);return(u.a4(this.timezoneOffset)?s.setMinutes(s.getMinutes()+s.getTimezoneOffset()-this.timezoneOffset):u.a4(this.timezone)&&!1!==i&&(s=p.a6(s,this.timezone)),u.Et(s.getTime()))?(n=this.applyFormat(s,a,this.language),this.capitalize&&(n=n.replace(/^.{1}/,n.substr(0,1).toUpperCase())),n):this.language.translate("Invalid date")},e.prototype.parseFormat=function(t){var e=this.getCache(t);if(u.a4(e))return e;for(var i={template:"",parts:[]},n=(0,a.S)().chunk(t,!0),r=0;r<n.length;r++){var s=n[r];if("value"===s.type){s.text.match(/^date$/i)&&u.Kg(this._dateFormat)&&(s.text=this._dateFormat);var o=s.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|q|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(o)for(var h=0;h<o.length;h++)i.parts.push(o[h]),s.text=s.text.replace(o[h],l.Kx)}i.template+=s.text}return this.setCache(t,i),i},e.prototype.applyFormat=function(t,e,i){var n,r,s,a,o,u,p,d,c=e.template,f=t.getTimezoneOffset(),g=t.getTime();this.utc?(n=t.getUTCFullYear(),r=t.getUTCMonth(),s=t.getUTCDay(),a=t.getUTCDate(),o=t.getUTCHours(),u=t.getUTCMinutes(),p=t.getUTCSeconds(),d=t.getUTCMilliseconds()):(n=t.getFullYear(),r=t.getMonth(),s=t.getDay(),a=t.getDate(),o=t.getHours(),u=t.getMinutes(),p=t.getSeconds(),d=t.getMilliseconds());for(var y=0,m=e.parts.length;y<m;y++){var v="";switch(e.parts[y]){case"G":v=i.translate(n<0?"_era_bc":"_era_ad");break;case"yyyy":v=Math.abs(n).toString(),n<0&&(v+=i.translate("_era_bc"));break;case"yyy":case"yy":case"y":v=Math.abs(n).toString().substr(-e.parts[y].length),n<0&&(v+=i.translate("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":var b=h.Nr(t),_=n;1==b&&s>4&&_--,v="YYYY"==e.parts[y]?Math.abs(_).toString():Math.abs(_).toString().substr(-e.parts[y].length),_<0&&(v+=i.translate("_era_bc"));break;case"u":case"F":case"g":break;case"q":v=""+Math.ceil((t.getMonth()+1)/3);break;case"MMMMM":v=i.translate(this.months[r]).substr(0,1);break;case"MMMM":v=i.translate(this.months[r]);break;case"MMM":v=i.translate(this.monthsShort[r]);break;case"MM":v=h.tr(r+1,2,"0");break;case"M":v=(r+1).toString();break;case"ww":v=h.tr(h.Nr(t,this.utc),2,"0");break;case"w":v=h.Nr(t,this.utc).toString();break;case"W":v=h.L_(t,this.utc).toString();break;case"dd":v=h.tr(a,2,"0");break;case"d":v=a.toString();break;case"DD":case"DDD":v=h.tr(h._Q(t,this.utc).toString(),e.parts[y].length,"0");break;case"D":v=h._Q(t,this.utc).toString();break;case"t":v=i.translateFunc("_dateOrd").call(this,a);break;case"E":v=(s||7).toString();break;case"EE":v=h.tr((s||7).toString(),2,"0");break;case"EEE":case"eee":v=i.translate(this.weekdaysShort[s]);break;case"EEEE":case"eeee":v=i.translate(this.weekdays[s]);break;case"EEEEE":case"eeeee":v=i.translate(this.weekdays[s]).substr(0,1);break;case"e":case"ee":v=(s-this.firstDayOfWeek+1).toString(),"ee"==e.parts[y]&&(v=h.tr(v,2,"0"));break;case"a":v=o>=12?i.translate("PM"):i.translate("AM");break;case"aa":v=o>=12?i.translate("P.M."):i.translate("A.M.");break;case"aaa":v=o>=12?i.translate("P"):i.translate("A");break;case"h":v=h.Jx(o).toString();break;case"hh":v=h.tr(h.Jx(o),2,"0");break;case"H":v=o.toString();break;case"HH":v=h.tr(o,2,"0");break;case"K":v=h.Jx(o,0).toString();break;case"KK":v=h.tr(h.Jx(o,0),2,"0");break;case"k":v=(o+1).toString();break;case"kk":v=h.tr(o+1,2,"0");break;case"m":v=u.toString();break;case"mm":v=h.tr(u,2,"0");break;case"s":v=p.toString();break;case"ss":v=h.tr(p,2,"0");break;case"S":case"SS":case"SSS":v=Math.round(d/1e3*Math.pow(10,e.parts[y].length)).toString();break;case"x":v=g.toString();break;case"n":case"nn":case"nnn":v=h.tr(d,e.parts[y].length,"0");break;case"z":v=h.O(t,!1,!1,this.utc);break;case"zz":v=h.O(t,!0,!1,this.utc);break;case"zzz":v=h.O(t,!1,!0,this.utc);break;
1case"zzzz":v=h.O(t,!0,!0,this.utc);break;case"Z":case"ZZ":var x=Math.abs(f)/60,P=Math.floor(x),C=60*x-60*P;this.utc&&(P=0,C=0),v="Z"==e.parts[y]?"GMT"+(f>0?"-":"+")+(h.tr(P,2)+":")+h.tr(C,2):(f>0?"-":"+")+(h.tr(P,2)+h.tr(C,2));break;case"i":v=t.toISOString();break;case"I":v=t.toUTCString()}c=c.replace(l.Kx,v)}return c},e.prototype.parse=function(t,e){if(u.a4(e)||(e=this.inputDateFormat),t instanceof Date)return t;if("number"==typeof t)return new Date(t);"string"!=typeof t&&(t=t.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.T);var i,n="";e=(e=h.fZ(e)).substr(0,t.length);for(var s=this.parseFormat(e),a={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},o={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},l=0,p=0,d=0;d<s.parts.length;d++){switch(p=d+l+1,s.parts[d]){case"yyyy":case"YYYY":n+="([0-9]{4})",a.year=p;break;case"yyy":case"YYY":n+="([0-9]{3})",a.year3=p;break;case"yy":case"YY":n+="([0-9]{2})",a.year2=p;break;case"y":case"Y":n+="([0-9]{1})",a.year1=p;break;case"MMMM":n+="("+this.getStringList(this.months).join("|")+")",a.monthLong=p;break;case"MMM":n+="("+this.getStringList(this.monthsShort).join("|")+")",a.monthShort=p;break;case"MM":case"M":n+="([0-9]{2}|[0-9]{1})",a.month=p;break;case"ww":case"w":n+="([0-9]{2}|[0-9]{1})",a.week=p;break;case"dd":case"d":n+="([0-9]{2}|[0-9]{1})",a.day=p;break;case"DDD":case"DD":case"D":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.yearDay=p;break;case"dddd":n+="("+this.getStringList(this.weekdays).join("|")+")",a.weekdayLong=p;break;case"ddd":n+="("+this.getStringList(this.weekdaysShort).join("|")+")",a.weekdayShort=p;break;case"aaa":case"aa":case"a":n+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",a.am=p;break;case"hh":case"h":n+="([0-9]{2}|[0-9]{1})",a.hour12Base1=p;break;case"HH":case"H":n+="([0-9]{2}|[0-9]{1})",a.hourBase0=p;break;case"KK":case"K":n+="([0-9]{2}|[0-9]{1})",a.hour12Base0=p;break;case"kk":case"k":n+="([0-9]{2}|[0-9]{1})",a.hourBase1=p;break;case"mm":case"m":n+="([0-9]{2}|[0-9]{1})",a.minute=p;break;case"ss":case"s":n+="([0-9]{2}|[0-9]{1})",a.second=p;break;case"SSS":case"SS":case"S":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.millisecond=p,a.millisecondDigits=s.parts[d].length;break;case"nnn":case"nn":case"n":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.millisecond=p;break;case"x":n+="([0-9]{1,})",a.timestamp=p;break;case"Z":n+="GMT([-+]+[0-9]{2}:[0-9]{2})",a.zone=p;break;case"ZZ":n+="([\\-+]+[0-9]{2}[0-9]{2})",a.zone=p;break;case"i":n+="([0-9]{4})-?([0-9]{2})-?([0-9]{2})T?([0-9]{2}):?([0-9]{2}):?([0-9]{2}).?([0-9]{0,3})([zZ]|[+-][0-9]{2}:?[0-9]{2}|$)",a.iso=p,l+=7;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz"
1:case"zzz":case"zz":case"z":case"t":l--}n+="[^0-9]*"}var c=new RegExp(n),f=t.match(c);if(f){if(a.year>-1&&(o.year=parseInt(f[a.year])),a.year3>-1){var g=parseInt(f[a.year3]);o.year=g+=1e3}if(a.year2>-1){var g=parseInt(f[a.year2]);g>50?g+=1e3:g+=2e3,o.year=g}if(a.year1>-1){var g=parseInt(f[a.year1]);o.year=g=10*Math.floor(new Date().getFullYear()/10)+g}if(a.monthLong>-1&&(o.month=this.resolveMonth(f[a.monthLong])),a.monthShort>-1&&(o.month=this.resolveShortMonth(f[a.monthShort])),a.month>-1&&(o.month=parseInt(f[a.month])-1),a.week>-1&&-1===a.day&&(o.month=0,o.day=h.X2(parseInt(f[a.week]),o.year,1,this.utc)),a.day>-1&&(o.day=parseInt(f[a.day])),a.yearDay>-1&&(o.month=0,o.day=parseInt(f[a.yearDay])),a.hourBase0>-1&&(o.hour=parseInt(f[a.hourBase0])),a.hourBase1>-1&&(o.hour=parseInt(f[a.hourBase1])-1),a.hour12Base0>-1){var g=parseInt(f[a.hour12Base0]);11==g&&(g=0),a.am>-1&&!this.isAm(f[a.am])&&(g+=12),o.hour=g}if(a.hour12Base1>-1){var g=parseInt(f[a.hour12Base1]);12==g&&(g=0),a.am>-1&&!this.isAm(f[a.am])&&(g+=12),o.hour=g}if(a.minute>-1&&(o.minute=parseInt(f[a.minute])),a.second>-1&&(o.second=parseInt(f[a.second])),a.millisecond>-1){var g=parseInt(f[a.millisecond]);2==a.millisecondDigits?g*=10:1==a.millisecondDigits&&(g*=100),o.millisecond=g}if(a.timestamp>-1){o.timestamp=parseInt(f[a.timestamp]);var y=new Date(o.timestamp);o.year=y.getUTCFullYear(),o.month=y.getUTCMonth(),o.day=y.getUTCDate(),o.hour=y.getUTCHours(),o.minute=y.getUTCMinutes(),o.second=y.getUTCSeconds(),o.millisecond=y.getUTCMilliseconds()}a.zone>-1&&(o.offset=this.resolveTimezoneOffset(new Date(o.year,o.month,o.day),f[a.zone])),a.iso>-1&&(o.year=u.Ro(f[a.iso+0]),o.month=u.Ro(f[a.iso+1])-1,o.day=u.Ro(f[a.iso+2]),o.hour=u.Ro(f[a.iso+3]),o.minute=u.Ro(f[a.iso+4]),o.second=u.Ro(f[a.iso+5]),o.millisecond=u.Ro(f[a.iso+6]),"Z"==f[a.iso+7]||"z"==f[a.iso+7]?o.utc=!0:""!=f[a.iso+7]&&(o.offset=this.resolveTimezoneOffset(new Date(o.year,o.month,o.day),f[a.iso+7]))),i=o.utc?new Date(Date.UTC(o.year,o.month,o.day,o.hour,o.minute,o.second,o.millisecond)):new Date(o.year,o.month,o.day,o.hour,o.minute+o.offset,o.second,o.millisecond)}else i=new Date(t);return i},e.prototype.resolveTimezoneOffset=function(t,e){if(e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){var i=u._W(e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)),n=i[1],r=i[2],s=i[3],a=60*parseInt(r)+parseInt(s);return"+"==n&&(a*=-1),a-(t||new Date).getTimezoneOffset()}return 0},e.prototype.resolveMonth=function(t){var e=this.months.indexOf(t);return e>-1||this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.months).indexOf(t))>-1?e:0},e.prototype.resolveShortMonth=function(t){var e=this.monthsShort.indexOf(t);return e>-1||(e=this.months.indexOf(t))>-1||this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.monthsShort).indexOf(t))>-1?e:0},e.prototype.isAm=function(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i<t.length;i++)this.language?e.push(h.xp(this.language.translate(t[i]))):e.push(h.xp(t[i]));return e},Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputDateFormat",{get:function(){return this._inputDateFormat},set:function(t){this._inputDateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intlLocales",{get:function(){return this._intlLocales},set:function(t){this._intlLocales=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"utc",{get:function(){return this._utc},set:function(t){this._utc=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezoneOffset",{get:function(){return this._timezoneOffset},set:function(t){this._timezoneOffset!=t&&(this._timezoneOffset=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezone",{get:function(){return this._timezone},set:function(t){this._timezone!=t&&(this._timezone=t,this.timezoneMinutes=p.J8(t),this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstDayOfWeek",{get:function(){return this._firstDayOfWeek},set:function(t){this._firstDayOfWeek=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(s.b);o.u.registeredClasses.DateFormatter=d}
1,56789:function(t,e,i){i.d(e,{n:function(){return c}});var n=i(3460),r=i(99262),s=i(85802),a=i(98340),o=i(31272),l=i(6183),h=i(13866),u=i(35580),p=i(30101),d=i(39351),c=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._baseUnit="second",e._outputFormat="svg",e._unitValues={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},e._unitAliases={Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"},e.className="DurationFormatter",e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.format=function(t,e,i){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.T);var n,s=i||this._baseUnit;(void 0===e||""===e)&&(e=p.a4(this.durationFormat)?this.durationFormat:this.getFormat(p.Ro(t),null,s)),e=u.fZ(e);var a=this.parseFormat(e,s),o=Number(t);n=o>this._negativeBase?a.positive:o<this._negativeBase?a.negative:a.zero;var l=this.applyFormat(o,n);return""!==n.color&&("svg"===this._outputFormat?l="<tspan fill='"+n.color+"'>"+l+"</tspan>":"html"===this._outputFormat&&(l="<span style='color: "+n.color+";'>"+l+"</span>")),l},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(p.a4(n))return n;var r=e||this._baseUnit,s={positive:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1}},o=(t=t.replace("||",l.cb)).split("|");return s.positive.source=o[0],void 0===o[2]?s.zero=s.positive:s.zero.source=o[2],void 0===o[1]?s.negative=s.positive:s.negative.source=o[1],h.__(s,function(t,e){if(!e.parsed){if(void 0!==i.getCache(e.source)){s[t]=i.getCache(e.source);return}var n=e.source,r=[];(r=e.source.match(/^\[([^\]]*)\]/))&&r.length&&""!==r[0]&&(n=e.source.substr(r[0].length),e.color=r[1]);for(var o=(0,a.S)().chunk(n,!0),h=0;h<o.length;h++){var u=o[h];if(u.text=u.text.replace(l.cb,"|"),"value"===u.type){u.text.match(/[yYMdDwhHKkmsSn]+a/)&&(e.absolute=!0,u.text=u.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var d=u.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(d)for(var c=0;c<d.length;c++)p.a4(d[c])||(d[c]=i._unitAliases[d[c]]),e.parts.push(d[c]),u.text=u.text.replace(d[c],l.Kx)}e.template+=u.text}i.setCache(e.source,e),e.parsed=!0}}),this.setCache(t,s),s},e.prototype.applyFormat=function(t,e){var i=!e.absolute&&t<this._negativeBase;t=Math.abs(t);for(var n=this.toTimeStamp(t,e.baseUnit),r=e.template,s=0,a=e.parts.length;s<a;s++){var o=e.parts[s],h=this.toTimeUnit(o.substr(0,1)),p=o.length,d=Math.floor(n/this._unitValues[h]);r=r.replace(l.Kx,u.tr(d,p,"0")),n-=d*this._unitValues[h]}return i&&(r="-"+r),r},e.prototype.toTimeStamp=function(t,e){return t*this._unitValues[e]},e.prototype.toTimeUnit=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.getFormat=function(t,e,i){if(p.a4(this.durationFormat))return this.durationFormat;if(i||(i=this.baseUnit),p.a4(e)&&t!=e){t=Math.abs(t),e=Math.abs(e);var n=this.getValueUnit(d.T9(t,e),i);return this.durationFormats[i][n]}var r=this.getValueUnit(t,i);return this.durationFormats[i][r]},e.prototype.getValueUnit=function(t,e){e||(e=this.baseUnit);var i,n=this.getMilliseconds(t,e);return h.FY(this._unitValues,function(t,r){if(t==e||i){if(n/r<=1)return i||(i=t),!1;i=t}return!0}),i},e.prototype.getMilliseconds=function(t,e){return e||(e=this.baseUnit),t*this._unitValues[e]},Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this._durationFormat},set:function(t){this._durationFormat!=t&&(this._durationFormat=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormats",{get:function(){return this._durationFormats||(this._durationFormats={millisecond:{millisecond:this.language.translate("_duration_millisecond"),second:this.language.translate("_duration_millisecond_second"),minute:this.language.translate("_duration_millisecond_minute"),hour:this.language.translate("_duration_millisecond_hour"),day:this.language.translate("_duration_millisecond_day"),week:this.language.translate("_duration_millisecond_week"),month:this.language.translate("_duration_millisecond_month"),year:this.language.translate("_duration_millisecond_year")},second:{second:this.language.translate("_duration_second"),minute:this.language.translate("_duration_second_minute"),hour:this.language.translate("_duration_second_hour"),day:this.language.translate("_duration_second_day"),week:this.language.translate("_duration_second_week"),month:this.language.translate("_duration_second_month"),year:this.language.translate("_duration_second_year")},minute:{minute:this.language.translate("_duration_minute"),hour:this.language.translate("_duration_minute_hour"),day:this.language.translate("_duration_minute_day"),week:this.language.translate("_duration_minute_week"),month:this.language.translate("_duration_minute_month"),year:this.language.translate("_duration_minute_year")},hour:{hour:this.language.translate("_duration_hour"),day:this.language.translate("_duration_hour_day"),week:this.language.translate("_duration_hour_week"),month:this.language.translate("_duration_hour_month"),year:this.language.translate("_duration_hour_year")},day:{day:this.language.translate("_duration_day"),week:this.language.translate("_duration_day_week"),month:this.language.translate("_duration_day_month"),year:this.language.translate("_duration_day_year")},week:{week:this.language.translate("_duration_week"),month:this.language.translate("_duration_week_month"),year:this.language.translate("_duration_week_year")},month:{month:this.language.translate("_duration_month"),year:this.language.translate("_duration_month_year")},year:{year:this.language.translate("_duration_year")}}),this._durationFormats},set:function(t){this._durationFormats=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(s.b);o.u.registeredClasses.DurationFormatter=c}
1,16838:function(t,e,i){i.d(e,{K:function(){return c}});var n=i(3460),r=i(99262),s=i(85802),a=i(98340),o=i(31272),l=i(6183),h=i(13866),u=i(35580),p=i(30101),d=i(39351),c=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._numberFormat="#,###.#####",e._outputFormat="svg",e._smallNumberThreshold=1,e._forceLTR=!1,e.className="NumberFormatter",e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.language&&this.language.dispose()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this.sprite?this._language=this.sprite.language:this._language=new r.T),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e,i){(void 0===e||p.Kg(e)&&"number"===e.toLowerCase())&&(e=this._numberFormat);var n,r=Number(t);if(p.Gv(e))try{if(this.intlLocales)return new Intl.NumberFormat(this.intlLocales,e).format(r);return new Intl.NumberFormat(void 0,e).format(r)}catch(t){return"Invalid"}e=u.fZ(e);var s=this.parseFormat(e,this.language),a=void 0;return a=r>this._negativeBase?s.positive:r<this._negativeBase?s.negative:s.zero,p.a4(i)&&!a.mod&&((a=h.o8(a)).decimals.active=0==r?0:i),n=a.template.split(l.Kx).join(this.applyFormat(r,a)),this.forceLTR&&(n="â"+n),n},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(p.a4(n))return n;var r={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1}},s=(t=t.replace("||",l.cb)).split("|");return r.positive.source=s[0],void 0===s[2]?r.zero=r.positive:r.zero.source=s[2],void 0===s[1]?r.negative=r.positive:r.negative.source=s[1],h.__(r,function(t,e){if(!e.parsed){if(void 0!==i.getCache(e.source)){r[t]=i.getCache(e.source);return}var n=e.source;"number"===n.toLowerCase()&&(n=p.Kg(i._numberFormat)?i._numberFormat:"#,###.#####");for(var s=(0,a.S)().chunk(n,!0),o=0;o<s.length;o++){var h=s[o];if(h.text=h.text.replace(l.cb,"|"),"value"===h.type){var u=h.text.match(/[#0.,]+[ ]?[abesABES%!]?[abesABESâ°!]?/);if(u)if(null===u||""===u[0])e.template+=h.text;else{var d=u[0].match(/[abesABES%â°!]{2}|[abesABES%â°]{1}$/);d&&(e.mod=d[0].toLowerCase(),e.modSpacing=!!u[0].match(/[ ]{1}[abesABES%â°!]{1}$/));var c=u[0].split(".");if(""===c[0]);
1else{e.thousands.active=(c[0].match(/0/g)||[]).length,e.thousands.passive=(c[0].match(/\#/g)||[]).length+e.thousands.active;var f=c[0].split(",");1===f.length||(e.thousands.interval=p._W(f.pop()).length,0===e.thousands.interval&&(e.thousands.interval=-1))}void 0===c[1]||(e.decimals.active=(c[1].match(/0/g)||[]).length,e.decimals.passive=(c[1].match(/\#/g)||[]).length+e.decimals.active),e.template+=h.text.split(u[0]).join(l.Kx)}}else e.template+=h.text}i.setCache(e.source,e),e.parsed=!0}}),this.setCache(t,r),r},e.prototype.applyFormat=function(t,e){var i=t<0;t=Math.abs(t);var n="",r="",s=e.mod?e.mod.split(""):[];if(-1!==s.indexOf("b")){var a=this.applyPrefix(t,this.bytePrefixes,-1!==s.indexOf("!"));t=a[0],n=a[1],r=a[2],e.modSpacing&&(r=" "+r)}else if(-1!==s.indexOf("a")){var o=this.applyPrefix(t,t<this.smallNumberThreshold?this.smallNumberPrefixes:this.bigNumberPrefixes,-1!==s.indexOf("!"));t=o[0],n=o[1],r=o[2],e.modSpacing&&(r=" "+r)}else if(-1!==s.indexOf("%")){var l=d.jk(t.toString().length+2,21);t*=100,t=parseFloat(t.toPrecision(l)),r="%"}else if(-1!==s.indexOf("â°")){var l=d.jk(t.toString().length+3,21);t*=1e3,t=parseFloat(t.toPrecision(l)),r="â°"}if(-1!==s.indexOf("e")){var h=void 0;t=Number((h=e.decimals.passive>=0?t.toExponential(e.decimals.passive).split("e"):t.toExponential().split("e"))[0]),r="e"+h[1],e.modSpacing&&(r=" "+r)}else if(0===e.decimals.passive)t=Math.round(t);else if(e.decimals.passive>0){var p=Math.pow(10,e.decimals.passive);t=Math.round(t*p)/p}var c="",f=u.um(t).split("."),g=f[0];if(g.length<e.thousands.active&&(g=Array(e.thousands.active-g.length+1).join("0")+g),e.thousands.interval>0){for(var y=[],m=g.split("").reverse().join(""),v=0,b=g.length;v<=b;v+=e.thousands.interval){var _=m.substr(v,e.thousands.interval).split("").reverse().join("");""!==_&&y.unshift(_)}g=y.join(e.thousands.separator)}c+=g,1===f.length&&f.push("");var x=f[1];return x.length<e.decimals.active&&(x+=Array(e.decimals.active-x.length+1).join("0")),""!==x&&(c+=e.decimals.separator+x),""===c&&(c="0"),0!==t&&i&&-1===s.indexOf("s")&&(c="-"+c),n&&(c=n+c),r&&(c+=r),c},e.prototype.applyPrefix=function(t,e,i){void 0===i&&(i=!1);for(var n=t,r="",s="",a=!1,o=1,l=0,h=e.length;l<h;l++)e[l].number<=t&&(0===e[l].number?n=0:(n=t/e[l].number,o=e[l].number),r=e[l].prefix,s=e[l].suffix,a=!0);return!a&&i&&e.length&&0!=t&&(n=t/e[0].number,r=e[0].prefix,s=e[0].suffix,a=!0),a&&(n=parseFloat(n.toPrecision(d.jk(o.toString().length+Math.floor(n).toString().replace(/[^0-9]*/g,"").length,21)))),[n,r,s]},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this._numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intlLocales",{get:function(){return this._intlLocales},set:function(t){this._intlLocales=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"negativeBase",{get:function(){return this._negativeBase},set:function(t){this._negativeBase=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bigNumberPrefixes",{get:function(){return p.a4(this._bigNumberPrefixes)||(this._bigNumberPrefixes=[{number:1e3,suffix:this.language.translate("_big_number_suffix_3")},{number:1e6,suffix:this.language.translate("_big_number_suffix_6")},{number:1e9,suffix:this.language.translate("_big_number_suffix_9")},{number:1e12,suffix:this.language.translate("_big_number_suffix_12")},{number:1e15,suffix:this.language.translate("_big_number_suffix_15")},{number:1e18,suffix:this.language.translate("_big_number_suffix_18")},{number:1e21,suffix:this.language.translate("_big_number_suffix_21")},{number:1e24,suffix:this.language.translate("_big_number_suffix_24")}]),this._bigNumberPrefixes},set:function(t){this._bigNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smallNumberPrefixes",{get:function(){return p.a4(this._smallNumberPrefixes)||(this._smallNumberPrefixes=[{number:1e-24,suffix:this.language.translate("_small_number_suffix_24")},{number:1e-21,suffix:this.language.translate("_small_number_suffix_21")},{number:1e-18,suffix:this.language.translate("_small_number_suffix_18")},{number:1e-15,suffix:this.language.translate("_small_number_suffix_15")},{number:1e-12,suffix:this.language.translate("_small_number_suffix_12")},{number:1e-9,suffix:this.language.translate("_small_number_suffix_9")},{number:1e-6,suffix:this.language.translate("_small_number_suffix_6")},{number:.001,suffix:this.language.translate("_small_number_suffix_3")}]),this._smallNumberPrefixes},set:function(t){this._smallNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smallNumberThreshold",{get:function(){return this._smallNumberThreshold}
1,set:function(t){this._smallNumberThreshold=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bytePrefixes",{get:function(){return p.a4(this._bytePrefixes)||(this._bytePrefixes=[{number:1,suffix:this.language.translate("_byte_suffix_B")},{number:1024,suffix:this.language.translate("_byte_suffix_KB")},{number:1048576,suffix:this.language.translate("_byte_suffix_MB")},{number:0x40000000,suffix:this.language.translate("_byte_suffix_GB")},{number:0x10000000000,suffix:this.language.translate("_byte_suffix_TB")},{number:0x4000000000000,suffix:this.language.translate("_byte_suffix_PB")}]),this._bytePrefixes},set:function(t){this._bytePrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"forceLTR",{get:function(){return this._forceLTR},set:function(t){this._forceLTR=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.escape=function(t){return t.replace("||",l.cb)},e.prototype.unescape=function(t){return t.replace(l.cb,"|")},e}(s.b);o.u.registeredClasses.NumberFormatter=c},98340:function(t,e,i){i.d(e,{S:function(){return d}});var n,r=i(3460),s=i(85802),a=i(85898),o=i(18586),l=i(31272),h=i(6183),u=i(30101),p=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.Y3(e),e.className="TextFormatter",e.applyTheme(),e}return(0,r.C6)(e,t),e.prototype.debug=function(){},e.prototype.format=function(t,e){u.a4(e)||(e="svg");var i="",n=(t=this.escape(t)).match(/\[([^\]]*?)\]/gm);if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),s=0,a=r.length;s<a;s++){var o=r[s];if(""!==o){o=this.adapter.apply("chunk",o);var l="";s>0&&(l=n[s-1].replace("[","").replace("]","")),i+=this.wrap(o,l,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,l.u.getPlaceholder("1")).replace(/([^\/\]]{1})\]\]/g,"$1"+l.u.getPlaceholder("2")).replace(/\]\]/g,l.u.getPlaceholder("2")).replace(/\{\{/g,l.u.getPlaceholder("3")).replace(/\}\}/g,l.u.getPlaceholder("4")).replace(/\'\'/g,l.u.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(RegExp(l.u.getPlaceholder("1"),"g"),"[[").replace(RegExp(l.u.getPlaceholder("2"),"g"),"]]").replace(RegExp(l.u.getPlaceholder("3"),"g"),"{{").replace(RegExp(l.u.getPlaceholder("4"),"g"),"}}").replace(RegExp(l.u.getPlaceholder("5"),"g"),"''")},e.prototype.cleanUp=function(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},e.prototype.wrap=function(t,e,i){return((""===e||"/"===e)&&(e=""),"html"===i)?this.wrapHtml(t,this.translateStyleShortcuts(e)):this.wrapSvg(t,this.translateStyleShortcuts(e))},e.prototype.wrapSvg=function(t,e){return""===e?"<tspan>"+t+"</tspan>":"<tspan style='"+e+"'>"+t+"</tspan>"},e.prototype.getSvgElement=function(t,e){var i=new a.z("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.wrapHtml=function(t,e){return""===e?"<span>"+t+"</span>":"<span style='"+this.styleSvgToHtml(e)+"'>"+t+"</span>"},e.prototype.getHtmlElement=function(t,e){var i=document.createElement("span");return i.innerHTML=t,e&&i.setAttribute("style",e),i},e.prototype.styleSvgToHtml=function(t){return t.replace(/fill:/,"color:")},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=l.u.getCache("translateStyleShortcuts_"+t);if(e)return e;var i=t.match(/('[^']*')|("[^"]*")/gi);if(i)for(var n=0;n<i.length;n++)t=t.replace(i[n],i[n].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));var r=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w]+)|(\/)/gi);if(!r)return t;for(var n=0;n<r.length;n++)r[n].match(/^bold$/i)?r[n]="font-weight:"+r[n]:"/"==r[n]?r[n]="":r[n].match(/:/)?r[n]=r[n].replace(/\+/g," "):r[n]="fill:"+r[n];var s=r.join(";");return l.u.setCache("translateStyleShortcuts_"+t,s),s},e.prototype.chunk=function(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=[];t=this.escape(t);for(var r=e?t.split("'"):[t],s=0;s<r.length;s++){var a=r[s];if(""!==a)if(s%2==0)for(var o=(a=(a=a.replace(/\]\[/g,"]"+h.Kx+"[")).replace(/\[\]/g,"[ ]")).split(/[\[\]]+/),l=0;l<o.length;l++){var u=this.cleanUp(this.unescape(o[l]));u!==h.Kx&&""!==u&&(l%2==0?n.push({type:"value",text:this.adapter.apply("chunk",u)}):n.push({type:i?"value":"format",text:"["+u+"]"}))}else for(var o=a.split(/[\[\]]+/),l=0;l<o.length;l++){var u=this.cleanUp(this.unescape(o[l]));""!==u&&(l%2==0?n.push({type:"text",text:u}):this.isImage(u)?n.push({type:"image",text:"["+u+"]"}):n.push({type:"format",text:"["+u+"]"}))}}return n},e.prototype.isImage=function(t){return!!t.match(/img[ ]?:/)},e}(s.b);function d(){return null==n&&(n=new p),n}l.u.registeredClasses.TextFormatter=p}
1,77742:function(t,e,i){i.d(e,{p:function(){return l}});var n=i(3460),r=i(85802),s=i(34788),a=i(49023),o=i(30101),l=function(t){function e(e,i,n,r){var s=t.call(this)||this;return s.animations=[],s.className="Inertia",s.interaction=e,s.type=i,s.point=n,s.startPoint=r,s._disposers.push(new a.yo(s.animations)),s}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){o.Et(t)&&(this.point.x=t,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.point.y},set:function(t){o.Et(t)&&(this.point.y=t,this.handleMove())},enumerable:!0,configurable:!0}),e.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var t={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",t)}},e.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&(0,s.H)().processDragStop(this.interaction),this.dispose()},e}(r.b)},34788:function(t,e,i){i.d(e,{H:function(){return w}});var n=i(3460),r=i(85802),s=i(42969),a=i(49023),o=i(37688),l=i(56019),h=i(33910),u=i(91489),p=i(77742),d=i(39049),c=i(73228),f=i(10942),g=i(48093),y=i(11159),m=i(39351),v=i(42736),b=i(22855),_=i(30101),x=i(86432),P=function(t){function e(){var i=t.call(this)||this;return i._globalEventsAdded=!1,i._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},i._usePointerEventsOnly=!1,i._useTouchEventsOnly=!1,i._addHoverEvents=!0,i._passiveSupported=!1,i._delayedEvents={out:[]},i.overObjects=new s.B8,i.downObjects=new s.B8,i.trackedObjects=new s.B8,i.transformedObjects=new s.B8,i.pointers=new u.bT,i.inertiaOptions=new u.bT,i.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},i.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},i.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},i.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},i.mouseOptions={sensitivity:1},i.className="Interaction",i.body=i.getInteraction(document.body),i._disposers.push(i.body),window.hasOwnProperty("PointerEvent")?(i._pointerEvents.pointerdown="pointerdown",i._pointerEvents.pointerup="pointerup",i._pointerEvents.pointermove="pointermove",i._pointerEvents.pointercancel="pointercancel",i._pointerEvents.pointerover="pointerover",i._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")?(i._pointerEvents.pointerdown="MSPointerDown",i._pointerEvents.pointerup="MSPointerUp",i._pointerEvents.pointermove="MSPointerMove",i._pointerEvents.pointercancel="MSPointerUp",i._pointerEvents.pointerover="MSPointerOver",i._pointerEvents.pointerout="MSPointerOut"):"u">typeof matchMedia&&matchMedia("(pointer:fine)").matches?"ontouchstart"in window&&(i._addHoverEvents=!1,i._useTouchEventsOnly=!0):window.navigator.userAgent.match(/MSIE /)||i.fullFF()?i._usePointerEventsOnly=!0:i._useTouchEventsOnly=!0,"onwheel"in document.createElement("div")?i._pointerEvents.wheel="wheel":_.a4(document.onmousewheel)&&(i._pointerEvents.wheel="mousewheel"),i.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:y.yR}),i.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:y.yR}),i._passiveSupported=e.passiveSupported,i.applyTheme(),i}return(0,n.C6)(e,t),e.prototype.fullFF=function(){return window.navigator.userAgent.match(/Firefox/)&&!window.navigator.userAgent.match(/Android/)},e.prototype.debug=function(){},e.prototype.addGlobalEvents=function(){var t=this;this._globalEventsAdded||(this._useTouchEventsOnly||(this._disposers.push((0,d.q2)(document,this._pointerEvents.pointerdown,function(e){t.handleGlobalPointerDown(e)})),this._disposers.push((0,d.q2)(document,this._pointerEvents.pointermove,function(e){t.handleGlobalPointerMove(e)})),this._disposers.push((0,d.q2)(document,this._pointerEvents.pointerup,function(e){t.handleGlobalPointerUp(e)})),this._disposers.push((0,d.q2)(document,this._pointerEvents.pointercancel,function(e){t.handleGlobalPointerUp(e,!0)})),this._disposers.push((0,d.q2)(document,"mouseenter",function(e){_.a4(e.relatedTarget)||0!=e.buttons&&0!=e.which||t.handleDocumentLeave(e)}))),this._usePointerEventsOnly||(this._disposers.push((0,d.q2)(document,"touchstart",function(e){t.handleGlobalTouchStart(e)})),this._disposers.push((0,d.q2)(document,"touchmove",function(e){t.handleGlobalTouchMove(e)})),this._disposers.push((0,d.q2)(document,"touchend",function(e){t.handleGlobalTouchEnd(e)}))),this._disposers.push((0,d.q2)(document,"keydown",function(e){t.handleGlobalKeyDown(e)})),this._disposers.push((0,d.q2)(document,"keyup",function(e){t.handleGlobalKeyUp(e)})),this._globalEventsAdded=!0)},e.prototype.processClickable=function(t){this.processTouchable(t)}
1,e.prototype.processContextMenu=function(t){t.contextMenuDisabled?t.eventDisposers.hasKey("contextMenuDisabled")||t.eventDisposers.setKey("contextMenuDisabled",(0,d.q2)(t.element,"contextmenu",function(t){t.preventDefault()})):t.eventDisposers.hasKey("contextMenuDisabled")&&t.eventDisposers.getKey("contextMenuDisabled").dispose()},e.prototype.processHoverable=function(t){var e=this;if(t.hoverable||t.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(t),!t.eventDisposers.hasKey("hoverable")&&this._addHoverEvents&&t.eventDisposers.setKey("hoverable",new o.ZT([(0,d.q2)(t.element,this._pointerEvents.pointerout,function(i){return e.handlePointerOut(t,i)}),(0,d.q2)(t.element,this._pointerEvents.pointerover,function(i){return e.handlePointerOver(t,i)})])),t.trackable;else{var i=t.eventDisposers.getKey("hoverable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("hoverable"))}this.processTouchable(t)},e.prototype.processMovable=function(t){(t.draggable||t.swipeable||t.trackable||t.resizable)&&(this.isGlobalElement(t)||t.isTouchProtected||this.prepElement(t),this.applyCursorOverStyle(t)),this.processTouchable(t)},e.prototype.processTrackable=function(t){this.processHoverable(t),this.processMovable(t),t.trackable?this.trackedObjects.moveValue(t):this.trackedObjects.removeValue(t)},e.prototype.processDraggable=function(t){this.processMovable(t)},e.prototype.processSwipeable=function(t){this.processMovable(t)},e.prototype.processResizable=function(t){this.processMovable(t)},e.prototype.processWheelable=function(t){var e=this;if(t.wheelable)t.eventDisposers.hasKey("wheelable")||t.eventDisposers.setKey("wheelable",new o.ZT([(0,d.q2)(t.element,this._pointerEvents.wheel,function(i){return e.handleMouseWheel(t,i)},!!this._passiveSupported&&{passive:!1}),t.events.on("out",function(i){t.wheelable&&e.unlockWheel()}),t.events.on("over",function(i){t.wheelable&&e.lockWheel()})]));else{var i=t.eventDisposers.getKey("wheelable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("wheelable"))}},e.prototype.processFocusable=function(t){var e=this;if(!0===t.focusable&&t.tabindex>-1&&!this._useTouchEventsOnly)t.eventDisposers.hasKey("focusable")||t.eventDisposers.setKey("focusable",new o.ZT([(0,d.q2)(t.element,"focus",function(i){return e.handleFocus(t,i)}),(0,d.q2)(t.element,"blur",function(i){return e.handleBlur(t,i)}),(0,d.q2)(t.element,this._pointerEvents.pointerdown,function(i){return e.handleFocusBlur(t,i)}),(0,d.q2)(t.element,"touchstart",function(i){return e.handleFocusBlur(t,i)},!!this._passiveSupported&&{passive:!1})]));else{var i=t.eventDisposers.getKey("focusable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("focusable"))}},e.prototype.processTouchable=function(t){var e=this;if(t.clickable||t.hoverable||t.trackable||t.draggable||t.swipeable||t.resizable)this.addGlobalEvents(),!t.eventDisposers.hasKey("touchable")&&(this._useTouchEventsOnly||this._usePointerEventsOnly?this._useTouchEventsOnly?this._usePointerEventsOnly||t.eventDisposers.setKey("touchable",(0,d.q2)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})):t.eventDisposers.setKey("touchable",(0,d.q2)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)})):t.eventDisposers.setKey("touchable",new o.ZT([(0,d.q2)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)}),(0,d.q2)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})])));else{var i=t.eventDisposers.getKey("touchable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("touchable"))}},e.prototype.handleFocus=function(t,e){t.focusable?(t.isFocused=!0,t.events.isEnabled("focus")&&!f.q.isPaused&&t.events.dispatchImmediately("focus",{type:"focus",target:t,event:e})):e.preventDefault()},e.prototype.handleFocusBlur=function(t,e){!1!==t.focusable&&this.getHitOption(t,"noFocus")&&t.events.once("focus",function(){t.events.disableType("blur"),d.Ge(),t.sprite&&t.sprite.handleBlur(),t.events.enableType("blur")})},e.prototype.handleBlur=function(t,e){t.focusable?(t.isFocused=!1,t.events.isEnabled("blur")&&!f.q.isPau
1sed&&t.events.dispatchImmediately("blur",{type:"blur",target:t,event:e})):e.preventDefault()},e.prototype.handleGlobalKeyDown=function(t){if(this.focusedObject){if(c.Q.isKey(t,"esc"))d.Ge();else if(this.focusedObject.draggable&&c.Q.isKey(t,["up","down","left","right"])){t.preventDefault();var e=this.focusedObject,i="interactionKeyboardObject";if(e.eventDisposers.hasKey(i))return;var n=new h.p(e,t);switch(e.eventDisposers.setKey(i,n),c.Q.getEventKey(t)){case"up":n.directionY=-1;break;case"down":n.directionY=1;break;case"left":n.directionX=-1;break;case"right":n.directionX=1}}}},e.prototype.handleGlobalKeyUp=function(t){var e="interactionKeyboardObject";if(this.focusedObject){var i=this.focusedObject.eventDisposers.getKey(e);null!=i&&(t.preventDefault(),i.dispose(),this.focusedObject.eventDisposers.removeKey(e)),c.Q.isKey(t,"enter")&&this.focusedObject.sprite&&!this.focusedObject.sprite.events.isEnabled("toggled")&&(this.focusedObject.sprite.events.isEnabled("hit")?this.focusedObject.dispatchImmediately("hit"):"hit"==this.focusedObject.sprite.showTooltipOn&&this.focusedObject.dispatchImmediately("up"))}},e.prototype.handleGlobalPointerMove=function(t){var e=this.getPointer(t);if(e.point=this.getPointerPoint(t),this.events.isEnabled("track")&&!f.q.isPaused){var i={type:"track",target:this,event:t,pointer:e,touch:e.touch};this.events.dispatchImmediately("track",i)}this.addBreadCrumb(e,e.point),this.handleGlobalMove(e,t)},e.prototype.handleGlobalPointerDown=function(t){this.processDelayed();var e=this.getPointer(t);if(this.events.isEnabled("down")&&!f.q.isPaused){var i={type:"down",target:this,event:t,pointer:e,touch:e.touch};this.events.dispatchImmediately("down",i)}},e.prototype.preventTouchAction=function(t){t.defaultPrevented||t.preventDefault()},e.prototype.handleGlobalPointerUp=function(t,e){void 0===e&&(e=!1);var i=this.getPointer(t);if(this.events.isEnabled("up")&&!f.q.isPaused){var n={type:"up",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t,e)},e.prototype.handleGlobalTouchMove=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(i.point=this.getPointerPoint(t.changedTouches[e]),this.events.isEnabled("track")&&!f.q.isPaused){var n={type:"track",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("track",n)}this.addBreadCrumb(i,i.point),this.handleGlobalMove(i,t)}},e.prototype.handleGlobalTouchStart=function(t){this.processDelayed();for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(!this._usePointerEventsOnly&&this.events.isEnabled("down")&&!f.q.isPaused){var n={type:"down",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("down",n)}}},e.prototype.handleGlobalTouchEnd=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(this.events.isEnabled("up")&&!f.q.isPaused){var n={type:"up",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t)}},e.prototype.handlePointerDown=function(t,e){var i=this.getPointer(e);(i.touch||1==e.which||3==e.which)&&(i.button=e.which,this.resetPointer(i,e),this.handleDown(t,i,e))},e.prototype.handlePointerOver=function(t,e){var i=this.getPointer(e);this.handleOver(t,i,e)},e.prototype.handlePointerOut=function(t,e){var i=this.getPointer(e);this.handleOut(t,i,e)},e.prototype.handleMouseWheel=function(t,e){var i=this.getPointer(e);i.point=this.getPointerPoint(e);var n=0,r=0,s=1;if(1==e.deltaMode&&(s=50),s*=this.getMouseOption(t,"sensitivity"),e instanceof WheelEvent)n=Math.round(-1*e.wheelDeltaX||e.deltaX*s),r=Math.round(-1*e.wheelDeltaY||e.deltaY*s);else throw Error("Invalid event type");this.handleWheel(t,i,n,r,e)},e.prototype.handleTouchDown=function(t,e){for(var i=0;i<e.changedTouches.length;i++){var n=this.getPointer(e.changedTouches[i]);this.maybePreventDefault(t,e,n),this.resetPointer(n,e.changedTouches[i]),this.handleDown(t,n,e)}},e.prototype.handleHit=function(t,e,i){var n=x.WB();if(t.lastHit&&t.lastHit>=n-this.getHitOption(t,"doubleHitTime")){if(n-t.lastHit<100)return;if(t.lastHit=void 0,t.lastHitPointer=void 0,t.events.isEnabled("doublehit")&&!f.q.isPau
1sed){var r={type:"doublehit",target:t,point:e.point,event:i,touch:e.touch};t.events.dispatchImmediately("doublehit",r)}}else if(t.lastHit=n,t.lastHitPointer=e,3===e.button){if(t.events.isEnabled("rightclick")&&!f.q.isPaused){var r={type:"rightclick",target:t,event:i};t.events.dispatchImmediately("rightclick",r)}}else if(t.events.isEnabled("hit")&&!f.q.isPaused){var r={type:"hit",target:t,event:i,point:e.point,touch:e.touch};t.events.dispatchImmediately("hit",r)}},e.prototype.handleOver=function(t,e,i,n){if(void 0===n&&(n=!1),t.hoverable){var r=!1;if(this.shouldCancelHovers(e)&&this.areTransformed()&&this.moved(e,this.getHitOption(t,"hitTolerance"))&&(r=!0,this.cancelAllHovers(i)),this.processDelayed(),t.overPointers.moveValue(e),!t.isRealHover&&(r||(t.isHover=!0,t.isRealHover=!0,this.overObjects.moveValue(t)),this.handleTrack(this.body,e,i,!0),t.events.isEnabled("over")&&!f.q.isPaused&&!r)){var s={type:"over",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("over",s)}}},e.prototype.handleOut=function(t,e,i,n,r){var s=this;if(void 0===n&&(n=!1),void 0===r&&(r=!1),t.hoverable&&(t.overPointers.removeValue(e),t.isHover&&(!t.hasDelayedOut||r))){if(n&&t.overPointers.length)return;if(e&&e.touch&&!r&&!this.old(e)){var a=this.getHoverOption(t,"touchOutBehavior");if("leave"==a){this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:x.WB()+500}),t.hasDelayedOut=!0;return}if("delay"==a&&this.getHoverOption(t,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:x.WB()+500,timeout:this.setTimeout(function(){s.handleOut(t,e,i,!0)},this.getHoverOption(t,"touchOutDelay"))})}if(t.isHover=!1,this.overObjects.removeValue(t),!t.isDisposed()&&t.events.isEnabled("out")&&!f.q.isPaused){var o={type:"out",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("out",o)}t.overPointers.clear(),t.hasDelayedOut=!1}},e.prototype.processDelayed=function(){for(var t;t=this._delayedEvents.out.pop();)t.timeout&&t.timeout.dispose(),this.handleOut(t.io,t.pointer,t.event,!1,!0)},e.prototype.handleDown=function(t,e,i){if(this.maybePreventDefault(t,i,e),t.inert&&this.stopInertia(t),this.handleOver(t,e,i,!0),t.downPointers.moveValue(e),this.applyCursorDownStyle(t,e),!t.isDown&&(!1!==t.focusable&&this.getHitOption(t,"noFocus")&&this.focusedObject&&d.Ge(),t.isDown=!0,this.downObjects.moveValue(t),t.draggable&&this.processDragStart(t,e,i),t.resizable&&this.processResizeStart(t,e,i)),t.events.isEnabled("down")&&!f.q.isPaused){var n={type:"down",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("down",n)}},e.prototype.handleGlobalUp=function(t,e,i){var n=this;void 0===i&&(i=!1);var r=this.downObjects.values.slice();r.sort(function(t,e){if(!t||!e)return 0;var i=t.element.compareDocumentPosition(e.element);return i&Node.DOCUMENT_POSITION_CONTAINED_BY?1:i&Node.DOCUMENT_POSITION_CONTAINS?-1:0}),v.__(r,function(r){r&&r.downPointers.contains(t)&&n.handleUp(r,t,e,i)})},e.prototype.handleDocumentLeave=function(t){var e=this;b.__(this.downObjects.backwards().iterator(),function(i){i.downPointers.each(function(n){e.handleUp(i,n,t)})})},e.prototype.handleUp=function(t,e,i,n){if(void 0===n&&(n=!1),this.restoreCursorDownStyle(t,e),t.downPointers.removeValue(e),(e.touch||this._useTouchEventsOnly)&&this.handleOut(t,e,i,!0),t.isDown){if(0==t.downPointers.length&&(t.isDown=!1,this.downObjects.removeValue(t)),t.events.isEnabled("up")&&!f.q.isPaused){var r={type:"up",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("up",r)}!n&&(t.swipeable&&this.swiped(t,e)?this.handleSwipe(t,e,i):(t.clickable&&!this.moved(e,this.getHitOption(t,"hitTolerance"))&&this.handleHit(t,e,i),t.inert&&this.moved(e,this.getHitOption(t,"hitTolerance"))?this.handleInertia(t,e):t.draggable&&this.processDragStop(t,e,i),t.resizable&&this.processResizeStop(t,e,i)))}},e.prototype.maybePreventDefault=function(t,e,i){_.a4(e)&&(t.draggable||t.swipeable||t.trackable||t.resizable)&&!this.isGlobalElement(t)&&!1!==e.cancelable&&(!t.isTouchProtected||!i||!i.touch)&&e.preventDefault()},e.prototype.cancelAllHovers=function(t){var e=this;b.__(this.overObjects.backwards().iterator(),function(i){if(i){var n=i.overPointers.getIndex(0);e.handleOut(i,n,t,!0,!0)}})},e.prototype.shouldCancelHovers=function(t){return"always"==g.f.disableHoverOnTransform||"touch"==g.f.disableHoverOnTransform&&t.touch},e.prototype.handleGlobalMove=function(t,e){var i=this;if(!t.touch){var n=d.Mi(t.lastEvent);b.__(this.overObjects.backwards().iterator(),function(r){if(r&&r.overPointers.contains(t)&&r.hoverable){var s=!1;r.element&&t.lastEvent&&d.gR(r.element,n)||(s=!0),s&&i.handleOut(r,t,e,!0)}})}b.__(this.transformedObjects.backwards().iterator(),function(n){n.downPointers.contains(t)&&!(n.swipeable&&i.swiping(n,t))&&(n.draggable||n.resizable)&&i.handleTransform(n,e)}),b.__(this.trackedObjects.backwards().iterator(),function(n){n.overPointers.contains(t)||i.handleTrack(n,t,e)})}
1,e.prototype.handleTrack=function(t,e,i,n){if(void 0===n&&(n=!1),(n||this.moved(e,0))&&t.events.isEnabled("track")&&!f.q.isPaused){var r={type:"track",target:t,event:i,point:e.point,pointer:e,touch:e.touch};t.events.dispatchImmediately("track",r)}},e.prototype.handleSwipe=function(t,e,i){if(t.events.isEnabled("swipe")&&!f.q.isPaused){var n={type:"swipe",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swipe",n)}if(e.startPoint.x<e.point.x){if(t.events.isEnabled("swiperight")&&!f.q.isPaused){var n={type:"swiperight",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swiperight",n)}}else if(t.events.isEnabled("swipeleft")&&!f.q.isPaused){var n={type:"swipeleft",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swipeleft",n)}},e.prototype.handleWheel=function(t,e,i,n,r){var s={x:i,y:n};t.events.isEnabled("wheel")&&!f.q.isPaused&&t.events.dispatchImmediately("wheel",{type:"wheel",target:t,event:r,point:e.point,shift:s}),i<0?t.events.isEnabled("wheelleft")&&!f.q.isPaused&&t.events.dispatchImmediately("wheelleft",{type:"wheelleft",target:t,event:r,point:e.point,shift:s}):i>0?t.events.isEnabled("swiperight")&&!f.q.isPaused&&t.events.dispatchImmediately("wheelright",{type:"wheelright",target:t,event:r,point:e.point,shift:s}):n<0?t.events.isEnabled("wheelup")&&!f.q.isPaused&&t.events.dispatchImmediately("wheelup",{type:"wheelup",target:t,event:r,point:e.point,shift:s}):n>0&&t.events.isEnabled("wheeldown")&&!f.q.isPaused&&t.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:t,event:r,point:e.point,shift:s})},e.prototype.handleInertia=function(t,e){t.draggable&&0===t.downPointers.length&&this.handleMoveInertia(t,e),t.resizable&&t.downPointers.length>1&&this.handleResizeInertia(t,e)},e.prototype.handleMoveInertia=function(t,e){var i={x:e.point.x,y:e.point.y},n={x:e.startPoint.x,y:e.startPoint.y},r=new p.p(t,"move",i,n),s=this.getTrailPoint(e,x.WB()-this.getInertiaOption(t,"move","time"));if(void 0===s)return void this.processDragStop(t,e,e.lastUpEvent);var o=this.getInertiaOption(t,"move","factor"),l=[{to:e.point.x+(e.point.x-s.point.x)*o,property:"x"},{to:e.point.y+(e.point.y-s.point.y)*o,property:"y"}],h=new a.X5(r,l,this.getInertiaOption(t,"move","duration"),this.getInertiaOption(t,"move","easing")).start();this._disposers.push(h.events.on("animationended",function(t){r.done()})),t.inertias.setKey("move",r)},e.prototype.handleResizeInertia=function(t,e){},e.prototype.handleTransform=function(t,e){var i,n,r,s=t.downPointers.getIndex(0),a=null,o=null;s&&(a=s.point,o=s.startPoint),r=n={x:t.originalPosition.x,y:t.originalPosition.y};for(var l=!0,h=1;h<t.downPointers.length;h++){var u=t.downPointers.getIndex(h);if(o.x!=u.startPoint.x&&o.y!=u.startPoint.y){l=!1,n=(i=u).point,r=i.startPoint;break}}var p=s&&this.moved(s,0);if(t.draggable&&s&&s.dragStartEvents&&s.dragStartEvents.length&&p&&t.events.isEnabled("dragstart")&&!f.q.isPaused&&t.events.dispatchImmediately("dragstart",s.dragStartEvents.shift()),l&&t.draggable)this.handleTransformMove(t,a,o,e,p,s.touch),this.shouldCancelHovers(s)&&this.moved(s,this.getHitOption(t,"hitTolerance"))&&this.cancelAllHovers(e);else{var d=i&&this.moved(i,0);(this.shouldCancelHovers(s)&&this.moved(s,this.getHitOption(t,"hitTolerance"))||this.shouldCancelHovers(i)&&this.moved(i,this.getHitOption(t,"hitTolerance")))&&this.cancelAllHovers(e),t.draggable&&t.resizable?(this.handleTransformMove(t,a,o,e,p&&d,s.touch),this.handleTransformResize(t,a,o,n,r,e,p&&d,s.touch)):(t.draggable&&this.handleTransformMove(t,a,o,e,p,s.touch),t.resizable&&(!l||e.ctrlKey)&&this.handleTransformResize(t,a,o,n,r,e,p&&d,s.touch))}},e.prototype.handleTransformMove=function(t,e,i,n,r,s){if(r&&t.events.isEnabled("drag")&&!f.q.isPaused&&(!t.isTouchProtected||!s)){var a={type:"drag",target:t,event:n,shift:{x:e.x-i.x,y:e.y-i.y},startPoint:i,point:e,touch:s};t.events.dispatchImmediately("drag",a)}},e.prototype.handleTransformResize=function(t,e,i,n,r,s,a,o){if(t.events.isEnabled("resize")&&!f.q.isPaused&&(!t.isTouchProtected||!o)){var l={type:"resize",target:t,event:s,scale:m.X_(e,i,n,r),startPoint1:i,point1:e,startPoint2:r,point2:n,touch:o};t.events.dispatchImmediately("resize",l)}}
1,e.prototype.processDragStart=function(t,e,i){this.transformedObjects.moveValue(t),this.shouldCancelHovers(e)&&this.cancelAllHovers(i);var n={type:"dragstart",target:t,event:i,touch:!!e&&e.touch};e&&(e.dragTarget=t),e&&e.dragStartEvents?e.dragStartEvents.push(n):f.q.isPaused||t.dispatchImmediately("dragstart",n)},e.prototype.processDragStop=function(t,e,i){if(e||(e=this.getDragPointer(t)),e&&(e.dragTarget=void 0),this.transformedObjects.removeValue(t),(!e||this.moved(e,0))&&t.events.isEnabled("dragstop")&&!f.q.isPaused){var n={type:"dragstop",target:t,touch:!!e&&e.touch};t.events.dispatchImmediately("dragstop",n)}},e.prototype.processResizeStart=function(t,e,i){this.transformedObjects.moveValue(t)},e.prototype.processResizeStop=function(t,e,i){this.transformedObjects.removeValue(t)},e.prototype.dragStart=function(t,e){e||(e=this.getDragPointer(t)),e&&this.handleDown(t,e,e.lastDownEvent)},e.prototype.dragStop=function(t,e,i){e||(e=this.getDragPointer(t)),e&&!i&&this.handleGlobalUp(e,e.lastUpEvent,i)},e.prototype.getDragPointer=function(t){return t?t.downPointers.getIndex(0):this.transformedObjects.length?this.getDragPointer(this.transformedObjects.getIndex(0)):void 0},e.prototype.getPointerId=function(t){return(_.a4(t.identifier)?""+t.identifier:_.a4(t.pointerId)?""+t.pointerId:"m").replace("-","")},e.prototype.getPointerPoint=function(t){return{x:t.clientX,y:t.clientY}},e.prototype.getPointer=function(t){var e,i=this.getPointerId(t),n=this.getPointerPoint(t);return this.pointers.hasKey(i)?(e=this.pointers.getKey(i)).touch=this.isPointerTouch(t):(e={id:i,touch:this.isPointerTouch(t),startPoint:n,startTime:x.WB(),point:n,track:[],swipeCanceled:!1,dragStartEvents:[]},this.addBreadCrumb(e,n),this.pointers.setKey(i,e)),e.lastEvent=t,this.lastPointer=e,e},e.prototype.isPointerTouch=function(t){if("u">typeof Touch&&t instanceof Touch);else if("u">typeof PointerEvent&&t instanceof PointerEvent&&_.a4(t.pointerType))switch(t.pointerType){case"touch":case"pen":case 2:break;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(_.a4(t.type)&&t.type.match(/^mouse/))return!1;return!0},e.prototype.resetPointer=function(t,e){var i=this.getPointerPoint(e);t.startTime=x.WB(),t.startPoint={x:i.x,y:i.y},t.point={x:i.x,y:i.y},t.track=[],t.swipeCanceled=!1},e.prototype.addBreadCrumb=function(t,e){t.track.push({timestamp:x.WB(),point:e})},e.prototype.lockDocument=function(){this.prepElement(this.body)},e.prototype.unlockDocument=function(){0==this.transformedObjects.length&&this.restoreAllStyles(this.body)},e.prototype.lockElement=function(t){this.prepElement(t)},e.prototype.unlockElement=function(t){this.restoreAllStyles(t)},e.prototype.lockWheel=function(){window.addEventListener(this._pointerEvents.wheel,this.wheelLockEvent,!!this._passiveSupported&&{passive:!1})},e.prototype.unlockWheel=function(){window.removeEventListener(this._pointerEvents.wheel,this.wheelLockEvent)},e.prototype.isLocalElement=function(t,e,i){var n=this.getCache("local_pointer_"+t.id);if(_.a4(n))return n;var r=d.Zn(e)||document;if(r.elementFromPoint){var s=r.elementFromPoint(t.point.x,t.point.y),a=s&&d.gR(e,s);return this.setCache("local_pointer_"+t.id+"_"+i,a,100),a}return!1},e.prototype.wheelLockEvent=function(t){return t.preventDefault(),!1},e.prototype.prepElement=function(t){var e=t.element;if(e){for(var i=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],n=0;n<i.length;n++)i[n]in e.style&&this.setTemporaryStyle(t,i[n],"none");this.setTemporaryStyle(t,"tapHighlightColor","rgba(0, 0, 0, 0)")}},e.prototype.unprepElement=function(t){var e=t.element;if(e){for(var i=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","
1webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],n=0;n<i.length;n++)i[n]in e.style&&this.restoreStyle(t,i[n]);this.restoreStyle(t,"tapHighlightColor")}},e.prototype.getHitOption=function(t,e){var i=t.hitOptions[e];return void 0===i&&(i=this.hitOptions[e]),i},e.prototype.getHoverOption=function(t,e){var i=t.hoverOptions[e];return void 0===i&&(i=this.hoverOptions[e]),i},e.prototype.getSwipeOption=function(t,e){var i=t.swipeOptions[e];return void 0===i&&(i=this.swipeOptions[e]),i},e.prototype.getKeyboardOption=function(t,e){var i=t.keyboardOptions[e];return void 0===i&&(i=this.keyboardOptions[e]),i},e.prototype.getMouseOption=function(t,e){var i=t.mouseOptions[e];return void 0===i&&(i=this.mouseOptions[e]),i},e.prototype.getInertiaOption=function(t,e,i){var n=t.inertiaOptions.getKey(e);return n&&_.a4(n[i])?n[i]:this.inertiaOptions.getKey(e)[i]},e.prototype.stopInertia=function(t){for(var e,i=["move","resize"],n=0;n<i.length;n++)if(e=i[n],t.inertias.hasKey(e)){var r=t.inertias.getKey(e);if(r){r.dispose();continue}}},e.prototype.swiping=function(t,e){var i=x.WB();return!e.swipeCanceled&&!!t.swipeable&&!!(Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.swiped=function(t,e){var i=x.WB();return!e.swipeCanceled&&!!(Math.abs(e.startPoint.x-e.point.x)>this.getSwipeOption(t,"horizontalThreshold")&&Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.applyCursorOverStyle=function(t){var e=t.cursorOptions;if(_.a4(e.overStyle))for(var i=0;i<e.overStyle.length;i++)d.eC(t.element,e.overStyle[i].property,e.overStyle[i].value)},e.prototype.applyCursorDownStyle=function(t,e){if(!e||!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&_.a4(i))for(var n=0;n<i.length;n++)this.setTemporaryStyle(this.body,i[n].property,i[n].value),this.setTemporaryStyle(t,i[n].property,i[n].value)}},e.prototype.restoreCursorDownStyle=function(t,e){if(!e||!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&_.a4(i))for(var n=0;n<i.length;n++)this.restoreStyle(this.body,i[n].property),this.restoreStyle(t,i[n].property)}},e.prototype.setGlobalStyle=function(t){for(var e=w().body,i=_.cy(t)?t:[t],n=0;n<i.length;n++)this.setTemporaryStyle(e,i[n].property,i[n].value)},e.prototype.restoreGlobalStyle=function(t){for(var e=w().body,i=_.cy(t)?t:[t],n=0;n<i.length;n++)this.restoreStyle(e,i[n].property)},e.prototype.isGlobalElement=function(t){return document.body===t.element},e.prototype.moved=function(t,e,i){void 0===i&&(i=300);var n=this.getShift(t);return Math.abs(n.x)>e||Math.abs(n.y)>e},e.prototype.old=function(t,e){return void 0===e&&(e=300),x.WB()-t.startTime>e},e.prototype.getShift=function(t){return{x:t.startPoint.x-t.point.x,y:t.startPoint.y-t.point.y}},e.prototype.getTrailPoint=function(t,e){for(var i,n=0;n<t.track.length;n++)if(t.track[n].timestamp>=e){i=t.track[n];break}return i},e.prototype.pointerExists=function(t,e){var i=!1;return t.each(function(t){t!=e&&(i=t.point.x==e.point.x&&t.point.y==e.point.y)}),i},e.prototype.getInteraction=function(t){return new l.i(t)},e.prototype.setTemporaryStyle=function(t,e,i){var n=t.element;_.a4(n.style[e])&&!t.replacedStyles.hasKey(e)&&t.replacedStyles.setKey(e,n.style[e]),d.eC(n,e,i)},e.prototype.restoreStyle=function(t,e){t.replacedStyles.hasKey(e)?(t.element.style[e]=t.replacedStyles.getKey(e),t.replacedStyles.removeKey(e)):delete t.element.style[e]},e.prototype.restoreAllStyles=function(t){b.__(t.replacedStyles.iterator(),function(e){var i=e[0],n=e[1];t.element.style[i]=n,t.replacedStyles.removeKey(i)})},e.prototype.dispose=function(){this.isDisposed()||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},e.prototype.log=function(t,e,i){if(e.changedTouches){for(var n=0;n<e.changedTouches.length;n++)this.logTouch(t,e.type,e.changedTouches[n]);return}var r="";if(e.pointerType)switch(e.pointerType){case 2:r="touch";break;case 4:r="mouse";break;default:r=e.pointerType}else r="u">typeof TouchEvent&&e instanceof TouchEvent?"touch":e.type.match(/^mouse/)?"mouse":"???";var s="";s=_.a4(e.identifier)?e.identifier:_.a4(e.pointerId)?e.pointerId:"???",i?console.log(t+" ("+i.uid+") "+e.type+" "+r+" "+s):console.log(t+" "+e.type+" "+r+" "+s)},e.prototype.areTransformed=function(t){var e=this.transformedObjects.length;if(t)for(var i=_.cy(t)?t:[t],n=0;n<i.length;n++)this.transformedObjects.contains(i[n])&&e--;return e>0}
1,e.prototype.logTouch=function(t,e,i){console.log(t+" "+e+" touch "+i.identifier)},Object.defineProperty(e,"passiveSupported",{get:function(){var t=this;if(null==this._passiveSupported)try{var e=Object.defineProperty({},"passive",{get:function(){t._passiveSupported=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(t){this._passiveSupported=!1}return this._passiveSupported},enumerable:!0,configurable:!0}),e}(r._),C=null;function w(){return null==C&&(C=new P),C}},33910:function(t,e,i){i.d(e,{p:function(){return a}});var n=i(34788),r=i(10942),s=i(42736),a=function(){function t(t,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=t,this.keyboardEvent=e,this._startedOn=new Date().getTime(),(0,n.H)().processDragStart(t),r.q.animations.push(this),this.update()}return t.prototype.update=function(){var t=this.interaction,e=(0,n.H)().getKeyboardOption(t,"speed"),i=(0,n.H)().getKeyboardOption(t,"accelleration"),r=(0,n.H)().getKeyboardOption(t,"accellerationDelay"),s={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var a=new Date().getTime()-this._startedOn,o=a-r;if(i>0&&o>0){var l=a/r;a=r,s.x+=this.directionX*(e*i*l*o),s.y+=this.directionY*(e*i*l*o)}s.x+=this.directionX*(e*a),s.y+=this.directionY*(e*a),(0,n.H)().handleTransformMove(t,s,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||((0,n.H)().processDragStop(this.interaction),s.TF(r.q.animations,this))},t}()},56019:function(t,e,i){i.d(e,{i:function(){return u}});var n=i(3460),r=i(59342),s=i(85802),a=i(42969),o=i(91489),l=i(34788),h=i(30101),u=function(t){function e(e){var i=t.call(this)||this;return i._eventDispatcher=new r.T(i),i.eventDisposers=new o.bT,i.replacedStyles=new o.bT,i._clickable=!1,i._contextMenuDisabled=!1,i._hoverable=!1,i._trackable=!1,i._draggable=!1,i._swipeable=!1,i._resizable=!1,i._wheelable=!1,i._inert=!1,i._isHover=!1,i.isRealHover=!1,i._isHoverByTouch=!1,i._isDown=!1,i._isFocused=!1,i._isTouchProtected=!1,i._inertiaOptions=new o.bT,i.inertias=new o.bT,i._hitOptions={},i._hoverOptions={},i._swipeOptions={},i._keyboardOptions={},i._mouseOptions={},i._cursorOptions={defaultStyle:[{property:"cursor",value:"default"}]},i._disposers.push(i._eventDispatcher),i._element=e,i.className="InteractionObject",i._disposers.push(new o.ey(i.inertias)),i._disposers.push(new o.ey(i.eventDisposers)),i.applyTheme(),i}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHover",{get:function(){return this._isHover},set:function(t){this.isHover!=t&&(this._isHover=t,t?(0,l.H)().overObjects.moveValue(this):(this.isRealHover=!1,(0,l.H)().overObjects.removeValue(this)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHoverByTouch",{get:function(){return this._isHoverByTouch},set:function(t){this.isHoverByTouch!=t&&(this._isHoverByTouch=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overPointers",{get:function(){return this._overPointers||(this._overPointers=new a.B8),this._overPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return this._isDown},set:function(t){this.isDown!=t&&(this._isDown=t,t?(0,l.H)().downObjects.moveValue(this):(0,l.H)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new a.B8),this._downPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused},set:function(t){this.isFocused!=t&&(this._isFocused=t,t?(0,l.H)().focusedObject=this:(0,l.H)().focusedObject=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTouchProtected",{get:function(){return this._isTouchProtected},set:function(t){this._isTouchProtected!=t&&(this._isTouchProtected=t,t?(0,l.H)().unprepElement(this):(this.draggable||this.swipeable||this.trackable||this.resizable)&&(0,l.H)().prepElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clickable",{get:function(){return this._clickable},set:function(t){this._clickable!==t&&(this._clickable=t,(0,l.H)().processClickable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contextMenuDisabled",{get:function(){return this._contextMenuDisabled},set:function(t){this._contextMenuDisabled!==t&&(this._contextMenuDisabled=t,(0,l.H)().processContextMenu(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this._hoverable},set:function(t){this._hoverable!==t&&(this._hoverable=t,(0,l.H)().processHoverable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this._trackable},set:function(t){this._trackable!==t&&(this._trackable=t,(0,l.H)().processTrackable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(t){this._draggable!==t&&(this._draggable=t,(0,l.H)().processDraggable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this._swipeable},set:function(t){this._swipeable!==t&&(this._swipeable=t,(0,l.H)().processSwipeable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this._resizable},set:function(t){this._resizable!==t&&(this._resizable=t,(0,l.H)().processResizable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this._wheelable},set:function(t){this._wheelable!==t&&(this._wheelable=t,(0,l.H)().processWheelable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inert",{get:function(){return this._inert},set:function(t){this._inert!==t&&(this._inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusable",{get:function(){return this._focusable},set:function(t){this._focusable!==t&&(this._focusable=t,this._focusable&&-1==this.tabindex&&(this._tabindex=1),(0,l.H)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return h.ti(this._tabindex,-1)},set:function(t){this._tabindex!==t&&(this._tabindex=t,t>-1&&(this.focusable=!0),(0,l.H)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this._element=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(t){this._originalPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalScale",{get:function(){return h.ti(this._originalScale,1)},set:function(t){this._originalScale!==t&&(this._originalScale=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalAngle",{get:function(){return h.ti(this._originalAngle,0)},set:function(t){this._originalAngle!==t&&(this._originalAngle=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions}
1,set:function(t){this._inertiaOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hitOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hitOptions",this._hitOptions):this._hitOptions},set:function(t){this._hitOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hoverOptions",this._hoverOptions):this._hoverOptions},set:function(t){this._hoverOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("swipeOptions",this._swipeOptions):this._swipeOptions},set:function(t){this._swipeOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("keyboardOptions",this._keyboardOptions):this._keyboardOptions},set:function(t){this._keyboardOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mouseOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("mouseOptions",this._mouseOptions):this._mouseOptions},set:function(t){this._mouseOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("cursorOptions",this._cursorOptions):this._cursorOptions},set:function(t){this._cursorOptions=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.inertiaOptions=e.inertiaOptions,this.hitOptions=e.hitOptions,this.hoverOptions=e.hoverOptions,this.swipeOptions=e.swipeOptions,this.keyboardOptions=e.keyboardOptions,this.cursorOptions=e.cursorOptions,this.contextMenuDisabled=e.contextMenuDisabled,(0,l.H)().applyCursorOverStyle(this)},e.prototype.setEventDisposer=function(t,e,i){var n=this.eventDisposers.getKey(t);e?null==n&&this.eventDisposers.setKey(t,i()):null!=n&&(n.dispose(),this.eventDisposers.removeKey(t))},e.prototype.dispose=function(){t.prototype.dispose.call(this);var e=(0,l.H)();e.overObjects.removeValue(this),e.downObjects.removeValue(this),e.trackedObjects.removeValue(this),e.transformedObjects.removeValue(this),this.isHover&&this.wheelable&&e.unlockWheel(),e.focusedObject===this&&(e.focusedObject=void 0)},e}(s._)},59342:function(t,e,i){i.d(e,{T:function(){return a}});var n=i(3460),r=i(75300),s=i(37688),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._domEvents={},e}return(0,n.C6)(e,t),e.prototype._addDOMEvent=function(t,e,i,n){var r=this;if(!this._domEvents[t]){var a=function(t){i.call(n,e,t)};this.target.element.addEventListener(t,a,!1),this._domEvents[t]=new s.Wr(function(){delete r._domEvents[t],r.target.element.removeEventListener(t,a,!1)})}return this._domEvents[t].increment()},e.prototype._dispatchKeyboardEvent=function(t,e){this.target.events.isEnabled(t)&&this.target.events.dispatchImmediately(t,{type:t,target:this.target,event:e})},e.prototype._on=function(e,i,n,r,a,o){var l=t.prototype._on.call(this,e,i,n,r,a,o),h=[l.disposer];switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":case"out":this.target.hoverable=!0;break;case"focus":case"blur":case"focusin":case"focusout":this.target.focusable=!0;break;case"keydown":case"keyup":case"keypress":case"input":h.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this))}return l.disposer=new s.ZT(h),l},e}(r.K)},38719:function(t,e,i){i.d(e,{h:function(){return n}});var n=function(){function t(){}return t.grab=[{property:"cursor",value:"move"},{property:"cursor",value:"grab"},{property:"cursor",value:"-webkit-grab"}],t.grabbing=[{property:"cursor",value:"move"},{property:"cursor",value:"grabbing"},{property:"cursor",value:"-webkit-grabbing"}],t.pointer=[{property:"cursor",value:"pointer"}],t.default=[{property:"cursor",value:"default"}],t.horizontalResize=[{property:"cursor",value:"ew-resize"}],t.verticalResize=[{property:"cursor",value:"ns-resize"}],t.notAllowed=[{property:"cursor",value:"not-allowed"}
1],t.text=[{property:"cursor",value:"text"}],t}()},85898:function(t,e,i){i.d(e,{z:function(){return a}});var n=i(39049),r=i(13866),s=i(30101),a=function(){function t(t){this._isDisposed=!1,this._x=0,this._y=0,this._rotationY=0,this._rotationX=0,this._rotation=0,this._scale=1,"string"==typeof t?this.node=document.createElementNS(n.gm,t):this.node=t}return t.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(t.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),t.prototype.transform=function(){var t="translate("+this._x+","+this._y+")";if(1!=this._scale&&(t+=(t?" ":"")+"scale("+this._scale+")"),0!=this._rotation){var e="rotate("+this._rotation+")";this._rotationX&&this._rotationY&&(e="rotate("+this._rotation+" "+this._rotationX+" "+this._rotationY+")"),t+=(t?" ":"")+e}this._transformString=t,this.node.setAttribute("transform",t)},t.prototype.getBBox=function(){var t={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var e=this.node.getBBox();t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height}catch(t){}return t},t.prototype.moveTo=function(t){if(t){var e=t.x,i=t.y;(this._x!=e||this._y!=i)&&(this._x=e,this._y=i,this.transform())}},Object.defineProperty(t.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(t){this.node.textContent=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!=t&&(this._x=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!=t&&(this._y=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!=t&&(this._rotation=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationX",{get:function(){return this._rotationX},set:function(t){this._rotationX!=t&&(this._rotationX=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationY",{get:function(){return this._rotationY},set:function(t){this._rotationY!=t&&(this._rotationY=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale!=t&&(this._scale=t,this.transform())},enumerable:!0,configurable:!0}),t.prototype.removeAttr=function(t){this.node.removeAttribute(t)},t.prototype.attr=function(t){var e=this;return r.__(t,function(t,i){s.a4(i)?e.node.setAttribute(t,i):e.node.removeAttribute(t)}),this},t.prototype.getAttr=function(t){return this.node.getAttribute(t)},t.prototype.attrNS=function(t,e,i){return this.node.setAttributeNS(t,e,
1i),this},t.prototype.getAttrNS=function(t,e){return this.node.getAttributeNS(t,e)},t.prototype.removeStyle=function(t){this.node.style[t]=null,delete this.node.style[t]},t.prototype.getStyle=function(t){return this.node.style[t]},t.prototype.addStyle=function(t){var e=this;return r.__(t,function(t,i){s.a4(i)?e.node.style[t]=i:e.removeStyle(t)}),this},t.prototype.addClass=function(t){n.iQ(this.node,t)},t.prototype.removeClass=function(t){n.vy(this.node,t)},t.prototype.setClass=function(t){this.node.setAttribute("class",t)},t.prototype.removeChildNodes=function(){for(;this.node.childNodes.length>0;)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}()},59751:function(t,e,i){i.d(e,{Y:function(){return r}});var n=i(3460),r=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.add=function(t){t&&this.node.appendChild(t.node)},e.prototype.addToBack=function(t){if(t){var e=this.node.childNodes[0];e?e!=t.node&&this.node.insertBefore(t.node,e):this.node.appendChild(t.node)}},e.prototype.removeElement=function(t){if(t)try{t.node&&t.node.parentNode==this.node&&this.node.removeChild(t.node)}catch(t){}},e.prototype.hasChild=function(t){for(var e=0;e<this.node.childNodes.length;e++)if(this.node.childNodes[e]==t.node)return!0;return!1},Object.defineProperty(e.prototype,"content",{get:function(){return this.node.innerHTML},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),e.prototype.removeChildren=function(){if(this.node.childNodes)for(;this.node.childNodes.length>0;){var t=this.node.firstChild;t&&t.parentNode&&t.parentNode.removeChild(t)}},e.prototype.removeChildrenByTag=function(t){if(this.node.childNodes)for(var e=this.node.getElementsByTagName(t),i=0;i<e.length;i++)this.node.removeChild(e[i])},e}(i(85898).z)},97590:function(t,e,i){i.d(e,{t:function(){return o},w:function(){return h}});var n=i(85898),r=i(59751),s=i(30923),a=i(39049),o=function(){function t(t,e){this.container=t,this.id=e;var i=document.createElementNS(a.gm,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(a.ty,"xmlns",a.gm),i.setAttributeNS(a.ty,"xmlns:xlink",a.zK),i.setAttribute("role","group"),this.container.appendChild(i),this.defs=document.createElementNS(a.gm,"defs"),i.appendChild(this.defs),i.style.width="100%",i.style.height="100%",i.style.overflow="visible",this.svg=i}return t.prototype.add=function(t){return new n.z(t)},t.prototype.addGroup=function(t){return new r.Y(t)},t.prototype.append=function(t){t&&this.svg.appendChild(t.node)},t.prototype.appendDef=function(t){t&&this.defs.appendChild(t.node)},t.prototype.foreignObject=function(){return new n.z("foreignObject")},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),l=null;function h(){if(null===l){var t=document.createElement("div");t.hidden=!0,t.style.width="1px",t.style.height="1px",t.style.position="absolute",t.style.zIndex="-1000000",document.body.appendChild(t),l=new o(new s.U(t,!0).SVGContainer,"ghost")}return l}},40645:function(t,e,i){i.d(e,{Cc:function(){return f},Df:function(){return h},JL:function(){return c},Kf:function(){return d},OE:function(){return p},XJ:function(){return y},XL:function(){return a},YC:function(){return g},a5:function(){return l},pC:function(){return u},tw:function(){return o}});var n=i(39351),r=i(30101);i(97590);var s=i(48093);function a(t){var e=l(t[0]),i={x:0,y:0},a=s.f.minPolylineStep;r.Et(a)||(a=.5);for(var o=0,h=t.length;o<h;o++){var u=t[o];n.Yf(u,i)>a&&(e+=l(u),i=u)}return e}function o(t){return" M"+n.LI(t.x,4)+","+n.LI(t.y,4)+" "}function l(t){return" L"+n.LI(t.x,4)+","+n.LI(t.y,4)+" "}function h(t,e){return" Q"+n.LI(e.x,4)+","+n.LI(e.y,4)+" "+n.LI(t.x,4)+","+n.LI(t.y,4)}function u(t,e,i){return" C"+n.LI(e.x,4)+","+n.LI(e.y,4)+" "+n.LI(i.x,4)+","+n.LI(i.y,4)+" "+n.LI(t.x,4)+","+n.LI(t.y,4)}function p(){return" Z"}function d(t,e,i,s){if(0==e)return"";r.Et(s)||(s=i);var a="",o=Math.ceil(Math.abs(e)/180),h=1;e<0&&(h=0);var u=0,p=0,d=-n.gn(t)*i,c=-n.F8(t)*s;if(e<.5&&i>3e3){var f=t+e,g=n.LI(n.gn(f)*i,4),y=n.LI(n.F8(f)*s,4);return l({x:g,y:y})}for(var m=0;m<o;m++){var f=t+e/o*(m+1),g=n.LI(n.gn(f)*i+d-u,4),y=n.LI(n.F8(f)*s+c-p,4);a+=" a"+i+","+s+",0,0,"+h+","+g+","+y,u=g,p=y}return a}function c(t,e,i,s,a,h,u){if(0==e||(r.Et(s)||(s=0),0==i&&s<=0))return"";if(i<s){var p=i;i=s,s=p,r.Et(a)&&(a=a/s*i)}360==(e=n.jk(e,360))&&(h=0,u=0);var c=t+e,g=n.F8(n.jk(e,45)/2);a=r.Et(a)?a:i,h=h||0,u=r.Et(u)?u:h;var y=a/i*s,m=a/i*h,v=a/i*u;h=n.s_(h,0,(i-s)/2),m=n.s_(m,0,(a-y)/2),u=n.s_(u,0,(i-s)/2),v=n.s_(v,0,(a-y)/2),h=n.LI(n.s_(h,0,i*g),4),m=n.LI(n.s_(m,0,a*g),4),u=n.LI(n.s_(u,0,s*g),4),v=n.LI(n.s_(v,0,y*g),4);var b=Math.asin(h/i/2)*n.iR*2,_=Math.asin(m/a/2)*n.iR*2;s<u&&(s=u),y<v&&(y=v);var x=Math.asin(u/s/2)*n.iR*2,P=Math.asin(v/y/2)*n.iR*2;r.Et(x)||(x=0),r.Et(P)||(P=0);
1var C=t+e/2,w={x:n.LI(n.gn(C)*s,4),y:n.F8(C)*y},O={x:n.gn(t)*(s+u),y:n.F8(t)*(y+v)},S={x:n.gn(t)*(i-h),y:n.F8(t)*(a-m)},T={x:n.gn(c)*(i-h),y:n.F8(c)*(a-m)},I={x:n.gn(c)*(s+u),y:n.F8(c)*(y+v)},k={x:n.gn(t+b)*i,y:n.F8(t+_)*a},D={x:n.gn(c-x)*s,y:n.F8(c-P)*y};u+=u*n.F8(x/2),v+=v*n.F8(P/2),x>(c-t)/2&&(D=w);var F="";return F=(360==e?o(S):o(O)+l(S)+f(k,h,m,!0))+d(t+b,e-2*b,i,a),r.Et(s)&&0!=s?(360==e&&0==h?F+=o(I):(F+=f(T,h,m,!0),F+=l(I),F+=f(D,u,v,!0)),F+=d(c-x,-(e-2*x),s,y),(e<360||h>0)&&(F+=f(O,u,v,!0)),F+=l(O)):(F+=f(T,h,m,!0),e<360&&(F+=l(O))),F}function f(t,e,i,r,s,a){return 0==e?"":" A"+e+","+i+","+(a=a||0)+","+ +(s=!!s)+","+ +(r=!!r)+","+n.LI(t.x,4)+","+n.LI(t.y,4)}function g(t,e,i,n){return r.Et(i)||(i=0),r.Et(n)||(n=0),o({x:i,y:n})+l({x:i+t,y:n})+l({x:i+t,y:n+e})+l({x:i,y:n+e})+p()}function y(t,e){return e?"M"+t.x+","+t.y+" L"+t.x+","+(t.y+t.height)+" L"+(t.x+t.width)+","+(t.y+t.height)+" L"+(t.x+t.width)+","+t.y+" L"+t.x+","+t.y:"M"+t.x+","+t.y+" L"+(t.x+t.width)+","+t.y+" L"+(t.x+t.width)+","+(t.y+t.height)+" L"+t.x+","+(t.y+t.height)+" L"+t.x+","+t.y}},30923:function(t,e,i){i.d(e,{v:function(){return g},U:function(){return y}});var n=i(37380),r=i(79340),s=i(42969),a=i(35580),o=i(39049),l=i(42736),h=i(30101),u=i(13991),p=function(){function t(){var t=this;this._targets=[],this._observer=new ResizeObserver(function(e){l.__(e,function(e){l.__(t._targets,function(t){t.target===e.target&&t.callback()})})})}return t.prototype.addTarget=function(t,e){this._observer.observe(t,{box:"content-box"}),this._targets.push({target:t,callback:e})},t.prototype.removeTarget=function(t){this._observer.unobserve(t),l.TW(this._targets,function(e){return e.target!==t})},t}(),d=function(){function t(){this._targets=[]}return t.prototype.addTarget=function(e,i){var n=this;if(0===this._targets.length){var r=null,s=function(){var e=Date.now();(null===r||e>r+t.delay)&&(r=e,l.__(n._targets,function(t){var e=t.target.getBoundingClientRect();(e.width!==t.size.width||e.height!==t.size.height)&&(t.size=e,t.callback())})),n._timer=requestAnimationFrame(s)};this._timer=requestAnimationFrame(s)}var a=e.getBoundingClientRect();this._targets.push({target:e,callback:i,size:a})},t.prototype.removeTarget=function(t){l.TW(this._targets,function(e){return e.target!==t}),0===this._targets.length&&cancelAnimationFrame(this._timer)},t.delay=200,t}(),c=null,f=function(){function t(t,e){this._disposed=!1,this._sensor=(null===c&&(c="u">typeof ResizeObserver?new p:new d),c),this._element=t,this._sensor.addTarget(t,e)}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element))},Object.defineProperty(t.prototype,"sensor",{get:function(){return this._sensor},enumerable:!0,configurable:!0}),t.prototype.reset=function(){u.i("resizeSensor.reset() is no longer needed and can be removed")},t}(),g=[],y=function(){function t(t,e){var i=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this._printing=!1,this.htmlElement=t,e||(this._printing=!1,this.initSensor(),this._disposers.push(o.q2(window,"beforeprint",function(){i._printing=!0})),this._disposers.push(o.q2(window,"afterprint",function(){i._printing=!1}))),g.push(this);var n=document.createElement("div"),r=n.style;r.width="100%",r.height="100%",r.position="relative",t.appendChild(n),this.SVGContainer=n}return t.prototype.initSensor=function(){var t=this;this.resizeSensor&&this.resizeSensor.dispose(),this.resizeSensor=new f(this.htmlElement,function(){t.autoResize&&!t._printing&&t.measure()}),this._disposers.push(this.resizeSensor)},t.prototype.measure=function(){var t=a.VL(this.htmlElement),e=a.uJ(this.htmlElement),i=this.container;i&&((this.width!=t||this.height!=e)&&(this.width=t,this.height=e,t>0&&(i.maxWidth=t),e>0&&(i.maxHeight=e),o.Dl(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||l.TF(g,this),l.__(this._disposers,function(t){t.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(t){t?this.SVGContainer.style.overflow="hidden":this.SVGContainer.style.overflow=""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return h.a4(this._modal)||(this._modal=new r.a,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(t,e){this.closeModal();var i=this.modal;return i.content=t,i.readerTitle=e||"",i.title=e||"",i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!h.a4(this._popups)){var t=new n.z;t.container=this.SVGContainer,this._popups=new s.TS(t),this._disposers.push(new s.a(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(t,e){var i=this.popups.create();return i.content=t,h.a4(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(t){t.close()})},Object.defineProperty(t.prototype,"readerAlertElement",{get:function(){if(!h.a4(this._readerAlertElement)){var t=document.createElement("div");t.setAttribute("role","alert"),t.style.zIndex="-100000",t.style.opacity="0",t.style.position="absolute",t.style.top="0",this.SVGContainer.appendChild(t),this._readerAlertElement=t}return this._readerAlertElement},enumerable:!0,configurable:!0}),t.prototype.readerAlert=function(t){this.readerAlertElement.innerHTML=t},t.prototype.checkTransform=function(t){if(window.getComputedStyle){if(t&&t.style){var e=window.getComputedStyle(t,null);if(e){var i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");if(i&&"none"!==i){var n=i.split("(")[1].split(")")[0].split(","),r=Number(n[0]),s=Number(n[1]),a=Math.sqrt(r*r+s*s);
1isNaN(a)||(this.cssScale*=a)}}}t.parentNode&&t.parentNode instanceof HTMLElement&&this.checkTransform(t.parentNode)}},t}()},75462:function(t,e,i){i.d(e,{_h:function(){return u},hG:function(){return h},qV:function(){return f},vf:function(){return g}});var n=i(3460),r=i(31272),s=i(40645),a=i(42736),o=i(35580),l=i(39351),h=function(){function t(t,e){this._tensionX=t,this._tensionY=e}return t.prototype.smooth=function(t){for(var e=t.length-1;e>0;e--){var i=t[e],n=t[e-1];.1>Math.abs(i.x-n.x)&&.1>Math.abs(i.y-n.y)&&t.splice(e-1,1)}var r=this._tensionX,a=this._tensionY;if(t.length<3||r>=1&&a>=1)return s.XL(t);var o=t[0],h=t[t.length-1],u=!1;l.LI(o.x,3)==l.LI(h.x)&&l.LI(o.y)==l.LI(h.y)&&(u=!0);for(var p="",e=0,d=t.length-1;e<d;e++){var i=t[e-1],n=t[e],c=t[e+1],f=t[e+2];0===e?i=u?t[t.length-2]:t[e]:e==t.length-2&&(f=u?t[1]:t[e+1]);var g=l.Jc(i,n,c,f,r,a),y=l.Cu(i,n,c,f,r,a);p+=s.pC(c,g,y)}return p},t}();function u(t,e,i,n,a,u){var p=t.x,d=t.y,c=e.x,f=e.y,g=l.Yf(t,e);u&&(i=g/Math.round(g/i));var y=r.u.getCache(o.As(["wavedLine",t.x,e.x,t.y,e.y,i,n]));if(!y){if(g>0){var m=Math.atan2(f-d,c-p),v=Math.cos(m),b=Math.sin(m),_=i*v,x=i*b;if(i<=1||n<=1)y=s.a5(e);else{var P=Math.round(2*g/i),C=[],w=1;c<p&&(w*=-1),f<d&&(w*=-1);for(var O=0;O<=P;O++){var S=p+O*_/2+(w*=-1)*n/2*b,T=d+O*x/2-w*n/2*v;C.push({x:S,y:T})}y=new h(a,a).smooth(C)}}else y="";r.u.setCache(o.As(["wavedLine",t.x,e.x,t.y,e.y,i,n]),y)}return y}var p=function(){function t(t,e){this._reversed=t,this._closed=e.closed}return t.prototype._curve=function(t,e,i,n,r,a){var o=(e-t)/3;return this._reversed?s.pC({x:n,y:e},{x:i+o*r,y:t+o},{x:n-o*a,y:e-o}):s.pC({x:e,y:n},{x:t+o,y:i+o*r},{x:e-o,y:n-o*a})},t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,r=NaN,o=NaN,l=NaN,h=0,u="";switch(a.__(t,function(t){var a=t.x,p=t.y;if(e._reversed){var f=a;a=p,p=f}var g=NaN;if(a!==n||p!==o){switch(h){case 0:h=1,e._reversed?u+=s.a5({x:p,y:a}):u+=s.a5({x:a,y:p});break;case 1:h=2;break;case 2:h=3,u+=e._curve(i,n,r,o,d(i,n,r,o,g=c(i,n,r,o,a,p)),g);break;default:u+=e._curve(i,n,r,o,l,g=c(i,n,r,o,a,p))}i=n,n=a,r=o,o=p,l=g}}),h){case 2:this._reversed?u+=s.a5({x:o,y:n}):u+=s.a5({x:n,y:o});break;case 3:u+=this._curve(i,n,r,o,l,d(i,n,r,o,l))}return this._closed&&(u+=s.OE()),u},t}();function d(t,e,i,n,r){var s=e-t;return s?(3*(n-i)/s-r)/2:r}function c(t,e,i,n,r,s){var a=e-t,o=r-e,l=(n-i)/(a||o<0&&-0),h=(s-n)/(o||a<0&&-0);return((l<0?-1:1)+(h<0?-1:1))*Math.min(Math.abs(l),Math.abs(h),.5*Math.abs((l*o+h*a)/(a+o)))||0}var f=function(t){function e(e){return t.call(this,!1,e)||this}return(0,n.C6)(e,t),e}(p),g=function(t){function e(e){return t.call(this,!0,e)||this}return(0,n.C6)(e,t),e}(p);(function(t){this._closed=t.closed}).prototype.smooth=function(t){var e=this,i=NaN,n=NaN,r=NaN,o=NaN,l=NaN,h=NaN,u=NaN,p=NaN,d=NaN,c=NaN,f=0,g="",y=function(t,e){g+=s.pC({x:(i+4*n+t)/6,y:(h+4*u+e)/6},{x:(2*i+n)/3,y:(2*h+u)/3},{x:(i+2*n)/3,y:(h+2*u)/3})},m=function(t){var a=t.x,m=t.y;switch(f){case 0:f=1,e._closed?(r=a,p=m):g+=s.a5({x:a,y:m});break;case 1:f=2,e._closed&&(o=a,d=m);break;case 2:if(f=3,e._closed){l=a,c=m,g+=s.tw({x:(i+4*n+a)/6,y:(h+4*u+m)/6});break}g+=s.a5({x:(5*i+n)/6,y:(5*h+u)/6});default:y(a,m)}i=n,n=a,h=u,u=m};if(a.__(t,m),this._closed)switch(f){case 1:g+=s.tw({x:r,y:p}),g+=s.OE();break;case 2:g+=s.tw({x:(r+2*o)/3,y:(p+2*d)/3}),g+=s.a5({x:(o+2*r)/3,y:(d+2*p)/3}),g+=s.OE();break;case 3:m({x:r,y:p}),m({x:o,y:d}),m({x:l,y:c})}else{switch(f){case 3:y(n,u);case 2:g+=s.a5({x:n,y:u})}g+=s.OE()}return g}},30539:function(t,e,i){i.d(e,{f:function(){return a}});var n=i(3460),r=i(85802),s=i(31272),a=function(t){function e(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.modify=function(t){return t},e}(r.b);s.u.registeredClasses.ColorModifier=a},92876:function(t,e,i){i.d(e,{_:function(){return l}});var n=i(3460),r=i(30539),s=i(31272),a=i(39351),o=i(30101),l=function(t){function e(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(t){this._lightnesses=t,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(t){this._brightnesses=t,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacities",{get:function(){return this._opacities},set:function(t){this._opacities=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsets",{get:function(){return this._offsets},set:function(t){this._offsets=t},enumerable:!0,configurable:!0}),e.prototype.modify=function(t){this.gradient.clear();var e=0;this.opacities&&(e=a.T9(e,this.opacities.length)),this.lightnesses&&(e=a.T9(e,this.lightnesses.length)),this.brightnesses&&(e=a.T9(e,this.brightnesses.length));for(var i,n,r=1,s=0;s<e;s++){var l=t;this.opacities&&o.Et(this.opacities[s])&&(r=this.opacities[s]),this.lightnesses&&o.Et(this.lightnesses[s])&&(i=this.lightnesses[s],n=void 0),this.brightnesses&&o.Et(this.brightnesses[s])&&(n=this.brightnesses[s],i=void 0),o.Et(n)?l=t.brighten(this.brightnesses[s]):o.Et(i)&&(l=t.lighten(this.lightnesses[s]));var h=this.offsets[s];
1this.gradient.addColor(l,r,h)}return this.gradient},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this._offsets=e.offsets,this._brightnesses=e.brightnesses,this._lightnesses=e.lightnesses,this._opacities=e.opacities},e}(r.f);s.u.registeredClasses.GradientModifier=l},73176:function(t,e,i){i.d(e,{W:function(){return p}});var n=i(3460),r=i(85802),s=i(42969),a=i(97590),o=i(31272),l=i(22855),h=i(39351),u=i(30101),p=function(t){function e(){var e=t.call(this)||this;return e._stops=new s.B8,e._rotation=0,e.className="LinearGradient",e._stops.events.on("setIndex",e.validate,e),e._stops.events.on("inserted",e.validate,e),e.element=e.paper.addGroup("linearGradient"),e.id="gradient-"+o.u.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.validate=function(){var t=this,e=(this._rotation+90)*h.nr,i=Math.round(50+50*Math.sin(e+Math.PI))+"%",n=Math.round(50+50*Math.cos(e))+"%",r=Math.round(50+50*Math.sin(e))+"%",s=Math.round(50+50*Math.cos(e+Math.PI))+"%",a=this.element;a.removeChildNodes(),a.attr({x1:i,x2:r,y1:n,y2:s}),l.__(l.KF(this._stops.iterator()),function(e){var i=e[0],n=e[1],r=n.offset;u.Et(r)||(r=i/(t._stops.length-1));var s=t.paper.add("stop");u.a4(n.color)&&s.attr({"stop-color":n.color.toString()}),u.Et(n.opacity)&&s.attr({"stop-opacity":n.opacity}),u.Et(r)&&s.attr({offset:r}),a.add(s)})},e.prototype.clear=function(){this._stops.clear()},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,o
1pacity:e,offset:i})},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,a.w)()},set:function(t){this._paper!=t&&(this._paper=t,this.validate(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation=t,this.validate()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this._rotation=e.rotation},Object.defineProperty(e.prototype,"gradientUnits",{set:function(t){this.element.attr({gradientUnits:t})},enumerable:!0,configurable:!0}),e}(r.b);o.u.registeredClasses.LinearGradient=p},89293:function(t,e,i){i.d(e,{N:function(){return o}});var n=i(3460),r=i(73176),s=i(92876),a=i(31272),o=function(t){function e(){var e=t.call(this)||this;return e.className="LinearGradientModifier",e.gradient=new r.W,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(s._);a.u.registeredClasses.LinearGradientModifier=o},57427:function(t,e,i){i.d(e,{z:function(){return c}});var n=i(3460),r=i(85802),s=i(97590),a=i(42969),o=i(49023),l=i(31272),h=i(35395),u=i(22855),p=i(13866),d=i(30101),c=function(t){function e(){var e=t.call(this)||this;e._elements=new a.B8,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new h.T;return e.backgroundFill=i.getFor("background"),e.backgroundOpacity=0,e.fillOpacity=1,e.fill=i.getFor("alternativeBackground"),e.stroke=i.getFor("alternativeBackground"),e.strokeOpacity=1,e.strokeWidth=1,e.shapeRendering="crispEdges",e.rotation=0,e.element=e.paper.addGroup("pattern"),e.id="pattern-"+l.u.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new a.a(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){var t=this,e=this.element;if(e){e.removeChildNodes();var i=this.paper.add("rect");i.attr({width:this.width,height:this.height,"shape-rendering":"crispEdges",fill:this.backgroundFill.hex,"fill-opacity":this.backgroundOpacity,stroke:this.backgroundFill.hex,"stroke-opacity":0}),e.add(i),e.attr({x:this.x,y:this.y,width:this.width,height:this.height,stroke:this.stroke.hex,fill:this.fill.hex,"fill-opacity":this.fillOpacity,"stroke-opacity":this.strokeOpacity,"stroke-width":this.strokeWidth,"shape-rendering":this.shapeRendering,patternUnits:this.patternUnits,"stroke-dasharray":this.strokeDasharray}),u.__(this._elements.iterator(),function(e){e.rotation=t.rotation,e.rotationX=t.properties.rotationX,e.rotationY=t.properties.rotationY,t.element.add(e)})}},e.prototype.animate=function(t,e,i){return new o.X5(this,t,e,i).start()},e.prototype.addElement=function(t){this._elements.push(t),this._disposers.push(t)},e.prototype.removeElement=function(t){this._elements.removeValue(t),this.removeDispose(t)},Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(t){this.properties.fillOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.properties.fill},set:function(t){this.properties.fill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(t){this.properties.backgroundFill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(t){this.properties.backgroundOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(t){this.properties.strokeOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth}
1,set:function(t){this.properties.strokeWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(t){this.properties.shapeRendering=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(t){this.properties.rotation=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(t){this.properties.patternUnits=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.properties.x},set:function(t){this.properties.x=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.properties.y},set:function(t){this.properties.y=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,s.w)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),p.__(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new o.yo(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.properties.strokeDashArray},set:function(t){this.properties.strokeDashArray=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e&&d.a4(e.elements)&&d.cy(e.elements))for(var i=0,n=e.elements.length;i<n;i++){var s=e.elements[i];if(d.a4(s.type)){var a=this.createEntryInstance(s);a instanceof r.b&&(a.config=s),this.addElement(d.a4(s.typeProperty)?a[s.typeProperty]:a.element)}}t.prototype.processConfig.call(this,e)},e}(r.b);l.u.registeredClasses.Pattern=c},41014:function(t,e,i){i.d(e,{E:function(){return p}});
1var n=i(3460),r=i(85802),s=i(42969),a=i(97590),o=i(31272),l=i(22855),h=i(30101),u=i(66016),p=function(t){function e(){var e=t.call(this)||this;return e._stops=new s.B8,e.element=e.paper.addGroup("radialGradient"),e.id="gradient-"+o.u.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.draw=function(){var t=this,e=this.element;if(h.Et(this.cx)){var i=this.cx;i instanceof u.QE&&(i=i.percent+"%"),e.attr({cx:i})}if(h.Et(this.cy)){var i=this.cy;i instanceof u.QE&&(i=i.percent+"%"),e.attr({cy:i})}if(this.fx){var i=this.fx;i instanceof u.QE&&(i=i.percent+"%"),e.attr({fx:i})}if(this.fy){var i=this.fy;i instanceof u.QE&&(i=i.percent+"%"),e.attr({fy:i})}e.removeChildNodes(),l.__(l.KF(this._stops.iterator()),function(i){var n=i[0],r=i[1],s=r.offset;h.Et(s)||(s=n/(t._stops.length-1));var a=t.paper.add("stop");h.a4(r.color)&&a.attr({"stop-color":r.color.toString()}),h.Et(r.opacity)&&a.attr({"stop-opacity":r.opacity}),h.Et(s)&&a.attr({offset:s}),e.add(a)})},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,o
1pacity:e,offset:i}),this.draw()},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,a.w)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cx",{get:function(){return this._cx},set:function(t){this._cx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cy",{get:function(){return this._cy},set:function(t){this._cy=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fx",{get:function(){return this._fx},set:function(t){this._fx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fy",{get:function(){return this._fy},set:function(t){this._fy=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this.cx=e.cx,this.cy=e.cy,this.fx=e.fx,this.fy=e.fy},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._stops.clear()},e}(r.b);o.u.registeredClasses.RadialGradient=p},19062:function(t,e,i){i.d(e,{X:function(){return a}});var n=i(3460),r=i(74180),s=i(31272),a=function(t){function e(){var e=t.call(this)||this;return e.className="DesaturateFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"saturate"}),e.filterPrimitives.push(e.feColorMatrix),e.width=120,e.height=120,e.saturation=0,e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"saturation",{get:function(){return this.properties.saturation},set:function(t){this.properties.saturation=t,this.feColorMatrix.attr({values:t.toString()})},enumerable:!0,configurable:!0}),e}(r.d);s.u.registeredClasses.DesaturateFilter=a},4117:function(t,e,i){i.d(e,{G:function(){return o}});var n=i(3460),r=i(74180),s=i(88166),a=i(31272),o=function(t){function e(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=(0,s.yW)("#000"),e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.feOffset=e.paper.add("feOffset"),e.feOffset.attr({result:"offsetBlur"}),e.filterPrimitives.push(e.feOffset),e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":e.color}),e.filterPrimitives.push(e.feFlood),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({in2:"offsetBlur",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feMerge=e.paper.addGroup("feMerge"),e.feMerge.add(e.paper.add("feMergeNode")),e.feMerge.add(e.paper.add("feMergeNode").attr({in:"SourceGraphic"})),e.filterPrimitives.push(e.feMerge),e.width=200,e.height=200,e.blur=1.5,e.dx=3,e.dy=3,e.opacity=.5,e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.feFlood&&this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feFlood.attr({"flood-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.properties.dx},set:function(t){this.properties.dx=t,this.feOffset.attr({dx:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.properties.dy},set:function(t){this.properties.dy=t,this.feOffset.attr({dy:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},e}(r.d);a.u.registeredClasses.DropShadowFilter=o},74180:function(t,e,i){i.d(e,{d:function(){return u}});var n=i(3460),r=i(85802),s=i(97590),a=i(49023),o=i(42969),l=i(13866),h=i(22855),u=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new o.B8,e.properties.filterUnits="objectBoundingBox",e.filterPrimitives.events.on("inserted",function(t){e._disposers.push(t.newValue)}),e.width=120,e.height=120,e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.appendPrimitives=function(t){h.__(this.filterPrimitives.iterator(),function(e){t.add(e)})}
1,e.prototype.animate=function(t,e,i){return new a.X5(this,t,e,i).start()},Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),l.__(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,s.w)()},set:function(t){this._paper!=t&&(this._paper=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.yo(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale=t,this.updateScale()},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){},Object.defineProperty(e.prototype,"filterUnits",{get:function(){return this.properties.filterUnits},set:function(t){this.properties.filterUnits=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(t){this._nonScaling=t,t||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{set:function(t){this.setSprite(t)},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(t){this._sprite&&this._sprite!=t&&this._sprite.filters.removeValue(this),this._sprite=t},e}(r.b)},39253:function(t,e,i){i.d(e,{e:function(){return a}});var n=i(3460),r=i(74180),s=i(31272),a=function(t){function e(){var e=t.call(this)||this;return e.className="LightenFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.lightness=0,e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"lightness",{get:function(){return this.properties.lightness},set:function(t){this.properties.lightness=t;var e=t+1;this.feColorMatrix.attr({values:e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 1 0"})},enumerable:!0,configurable:!0}),e}(r.d);s.u.registeredClasses.LightenFilter=a},18586:function(t,e,i){i.d(e,{Y3:function(){return p},jv:function(){return u}});var n=i(85280),r=i(51980),s=i(44845),a=i(22855),o=i(42736),l=i(30101),h=i(13866),u=new(function(){function t(){this._callbackId=0,this._callbacks=new n.aG(function(t,e){return s.or(r.f(t.priority,e.priority),r.f(t.id,e.id))})}return t.prototype.addAll=function(t,e,i,n,r){void 0===n&&(n=0),this._callbacks.insert({id:++this._callbackId,key:e,callback:i,priority:n,scope:r,type:t})},t.prototype.isEnabled=function(t,e){return o.bz(this._callbacks.values,function(i){return i.key===e&&t instanceof i.type})},t.prototype.applyAll=function(t,e,i){var n=this._callbacks.values,r=n.length;if(0==r)return i;for(var s=0;s<r;++s){var a=n[s];a.key===e&&t instanceof a.type&&(i=a.callback.call(a.scope,i,t,e))}return i},t}()),p=function(){function t(t){this._callbackId=0,this._callbacks=new n.aG(function(t,e){return s.or(r.f(t.priority,e.priority),r.f(t.id,e.id))}),this._disabled={},this.object=t,this.events=this._callbacks.events}return t.prototype.add=function(t,e,i,n){void 0===i&&(i=0),this._callbacks.insert({id:++this._callbackId,key:t,callback:e,priority:i,scope:n})},t.prototype.has=function(t,e,i,n){return void 0===i&&(i=0),a.gR(this._callbacks.iterator(),function(r){return r.key===t&&r.callback===e&&r.priority===i&&r.scope===n})},t.prototype.remove=function(t,e){var i=this;o.__(a.$r(this._callbacks.iterator()),function(n){n.key!==t||l.Et(e)&&e!==n.priority||i._callbacks.remove(n)})},t.prototype.enableKey=function(t){delete this._disabled[t]},t.prototype.disableKey=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._hasListenersByType=function(t){return o.bz(this._callbacks.values,function(e){return e.key===t})},t.prototype.isEnabled=function(t){return null==this._disabled[t]&&(this._hasListenersByType(t)||u.isEnabled(this.object,t))},t.prototype._shouldDispatch=function(t){var e=this._disabled[t];return!l.Et(e)||(e<=1?delete this._disabled[t]:--this._disabled[t],!1)},t.prototype.apply=function(t,e){if(!this._shouldDispatch(t))return e;var i=this._callbacks.values,n=i.length;if(n>0)for(var r=0;r<n;++r){var s=i[r];s.key===t&&(e=s.callback.call(s.scope,e,this.object,t))}return u.applyAll(this.object,t,e)},t.prototype.keys=function(){return a.$r(a.Tj(this._callbacks.iterator(),function(t){return t.key}))},t.prototype.copyFrom=function(t){var e=this;a.__(t._callbacks.iterator(),function(t){e.add(t.key,t.callback,t.priority,t.scope)}),h.__(t._disabled,function(t,i){e._disabled[t]=i})},t.prototype.clear=function(){this._callbacks.clear()},t}()}
1,49023:function(t,e,i){i.d(e,{X5:function(){return x},yo:function(){return _}});var n=i(3460),r=i(85802),s=i(64560),a=i(37688),o=i(88166),l=i(66016);i(80114);var h=i(11159),u=i(17133),p=i(39351),d=i(42736),c=i(30101),f=i(10942),g=i(48093);function y(t,e,i){return e+(i-e)*t}function m(t,e,i){var n;return new l.QE((n=e.percent)+(i.percent-n)*t)}function v(t,e,i){var n=new o.Q1(u.GW(e.rgb,i.rgb,t));return e.alpha!=i.alpha&&(n.alpha=e.alpha+(i.alpha-e.alpha)*t),n}function b(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var _=function(){function t(t){this._disposer=new a.W_(function(){for(;0!==t.length;)t[0].dispose()})}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),x=function(t){function e(e,i,n,r){var s=t.call(this)||this;return s.duration=0,s.easing=h.sn,s.progress=0,s._loop=0,s._pause=!1,s._delayTimeout=null,s._time=0,s._isFinished=!1,s.className="Animation",!1===g.f.animationsEnabled&&(n=0),s.object=e,s.animationOptions=d.$r(i),s.duration=n,r&&(s.easing=r),s.applyTheme(),s}return(0,n.C6)(e,t),e.prototype.debug=function(){},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.pause()},e.prototype.delay=function(t){var e=this;if(t>0){this.pause(),d.Cy(this.object.animations,this);var i=setTimeout(function(){e._delayTimeout=null,e.start()},t);this._delayTimeout=new a.W_(function(){clearTimeout(i)})}return this},e.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,d.Cy(f.q.animations,this),d.Cy(this.object.animations,this),f.q.requestFrame()},e.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var t=this.animationOptions.length-1;t>=0;t--){var e=this.animationOptions[t];if(!c.a4(e.from)&&(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],c.a4(e.from)||(e.from=s.P[e.property]))),e.from==e.to)d.TF(this.animationOptions,e);else if(c.a4(e.from)&&(e.from instanceof l.QE||!(e.to instanceof l.QE))&&(!(e.from instanceof l.QE)||e.to instanceof l.QE))if(c.Et(e.to))if(e.updateMethod=y,e.from instanceof l.QE){var i=this.object[b(e.property,"pixel")];isNaN(i)?(this.staticOptions.push(e),d.TF(this.animationOptions,e)):e.from=i}else isNaN(e.from)&&(this.staticOptions.push(e),d.TF(this.animationOptions,e));else if(e.to instanceof o.Q1)e.from?e.updateMethod=v:(this.staticOptions.push(e),d.TF(this.animationOptions,e));else if(e.to instanceof l.QE){if(e.updateMethod=m,!isNaN(e.from)){var i=this.object[b(e.property,"relative")];isNaN(i)||(e.from=(0,l.KN)(100*i))}}else this.staticOptions.push(e),d.TF(this.animationOptions,e);else this.staticOptions.push(e),d.TF(this.animationOptions,e)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var n={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",n)}return this.update(),0===this.duration&&this.end(),this},e.prototype.loop=function(t){return c.Et(t)||(t=1/0),this._loop=t,this},e.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),d.TF(f.q.animations,this),d.TF(this.object.animations,this),this},e.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},e.prototype.end=function(){if(0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var t={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",t)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},e.prototype.kill=function(){this.pause(),this._isFinished=!0},e.prototype.isFinished=function(){return this._isFinished},e.prototype.applyStaticOptions=function(){var t=this;d.__(this.staticOptions,function(e){e.childObject?e.childObject[e.property]=1==t.progress?e.to:e.from:t.object[e.property]=1==t.progress?e.to:e.from})},e.prototype.stop=function(t){if(this.pause(),!t&&this.events.isEnabled("animationstopped")){var e={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",e)}return this},e.prototype.setProgress=function(t){var e=this;if(this._time=this.duration*t,d.__(this.animationOptions,function(i){if(i.updateMethod&&c.a4(i.from)){var n=i.updateMethod(t,i.from,i.to);i.childObject?i.childObject[i.property]=n:e.object[i.property]=n}}),this.progress=t,this.events.isEnabled("animationprogress")){var i={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",i)}f.q.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.s_(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!c.Et(t)||e>=1)&&(t=1),this.setProgress(t),1==p.LI(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(e.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),e.prototype.stopSameAnimations=function(){var t=this;d.__(d.C(this.object.animations),function(e){if(e!==t&&!e.delayed){var i=[];d.__(t.animationOptions,function(t){d.__(e.animationOptions,function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())})}),d.__(i,function(t){d.TF(e.animationOptions,t)})}})},e.prototype.asFunction=function(e){return"easing"==e||t.prototype.asIs.call(this,e)},e}(r._)}
1,42736:function(t,e,i){i.d(e,{$r:function(){return y},At:function(){return v},C:function(){return m},Cy:function(){return c},FY:function(){return h},HC:function(){return g},IU:function(){return _},SL:function(){return x},TF:function(){return d},TW:function(){return P},Tj:function(){return a},W$:function(){return l},WQ:function(){return f},__:function(){return o},bz:function(){return s},iI:function(){return p},q$:function(){return u},qh:function(){return r},xR:function(){return b}}),i(39351);var n=i(30101);function r(t,e){for(var i=t.length,n=0;n<i;++n)if(t[n]===e)return n;return -1}function s(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n]))return!0;return!1}function a(t,e){for(var i=t.length,n=Array(i),r=0;r<i;++r)n[r]=e(t[r],r);return n}function o(t,e){for(var i=t.length,n=0;n<i;++n)e(t[n],n)}function l(t,e){for(var i=t.length;i--;)e(t[i],i)}function h(t,e){for(var i=t.length,n=0;n<i&&e(t[n],n);++n);}function u(t,e){for(var i=t.length,n=e;n<i;++n)t[n-e]=t[n];t.length=i-e}function p(t,e){for(var i=e.length,n=0;n<i;++n)t.push(e[n])}function d(t,e){var i=!1,n=t.indexOf(e);if(-1!==n){i=!0,t.splice(n,1);for(var r=t.length;n<r;)t[n]===e?(t.splice(n,1),--r):++n}return i}function c(t,e,i){var n=r(t,e);-1!==n&&b(t,n),null==i?t.push(e):v(t,i,e)}function f(t,e,i){n.Et(i)?0===i?t.unshift(e):t.splice(i,0,e):t.push(e)}function g(t,e,i){var r=t.indexOf(e);-1!==r&&t.splice(r,1),n.Et(i)?t.splice(i,0,e):t.push(e)}function y(t){return Array.isArray(t)?t:[t]}function m(t){for(var e=t.length,i=Array(e),n=0;n<e;++n)i[n]=t[n];return i}function v(t,e,i){t.splice(e,0,i)}function b(t,e){t.splice(e,1)}function _(t,e,i){for(var n=0,r=t.length,s=!1;n<r;){var a=n+r>>1,o=e(i,t[a]);o<0?r=a:(0===o&&(s=!0),n=a+1)}return{found:s,index:s?n-1:n}}function x(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n],n))return n;return -1}function P(t,e){for(var i=t.length,n=0;n<i;)e(t[n])?++n:(t.splice(n,1),--i)}},80114:function(t,e,i){i.d(e,{IW:function(){return c},XN:function(){return y},dV:function(){return g},er:function(){return u},vr:function(){return f}});var n=i(42736),r=!1,s=[],a=[],o=[],l=[],h=1e3/60,u="function"==typeof requestAnimationFrame?function(t){requestAnimationFrame(t)}:function(t){setTimeout(t,h)};function p(){for(var t=Date.now(),e=s.length,i=0;i<e;++i)s[i](t);n.q$(s,e);for(var i=0;i<a.length;++i)a[i](t);a.length=0;for(var i=0;i<o.length;++i)o[i](t);o.length=0,0===s.length&&0===a.length?r=!1:u(p)}function d(){r||(r=!0,u(p))}function c(t){a.push(t),d()}function f(t){o.push(t),d()}function g(t){l.push(t)}function y(){for(var t=Date.now(),e=l.length,i=0;i<e;++i)l.shift()(t)}},65153:function(t,e,i){function n(){return/apple/i.test(navigator.vendor)}function r(){return/MSIE |Trident\//.test(navigator.userAgent)}i.d(e,{V:function(){return r},n:function(){return n}})},98479:function(t,e,i){i.d(e,{P:function(){return s}});var n=i(91489),r=i(30101),s=new(function(){function t(){this._storage=new n.bT,this.ttl=1e3}return t.prototype.set=function(t,e,i,s){var a=this._storage.insertKeyIfEmpty(t,function(){return new n.bT}),o={touched:new Date().getTime(),ttl:r.Et(s)?s:this.ttl,value:i};a.setKey(e,o)},t.prototype.get=function(t,e,i){if(void 0===i&&(i=void 0),!this._storage.hasKey(t))return i;var n=this._storage.getKey(t);if(!n.hasKey(e))return i;var r=n.getKey(e);return(r.ttl&&r.touched+r.ttl<new Date().getTime()&&(r.expired=!0),r.expired)?(n.removeKey(e),i):r.value},t.prototype.clear=function(t){t?this._storage.removeKey(t):this._storage.clear()},t}())},88166:function(t,e,i){i.d(e,{Q1:function(){return a},VR:function(){return l},yW:function(){return o}});var n=i(31272),r=i(17133),s=i(30101),a=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?r.Ob(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?r.ND(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return null!=this._value&&null!=this._value.a?this._value.a:1},set:function(t){this._value&&(this._value.a=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(t){this._lightColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(t){this._darkColor=t},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(e){return new t(r.a(this.rgb,e))},t.prototype.brighten=function(e){return new t(r.Uq(this.rgb,e))},t.prototype.saturate=function(e){return new t(r.Ih(this.rgb,e))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(null!=this.rgb)return r.T4(this.rgb)?this.darkColor:this.lightColor;throw Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function o(t,e){if(!s.a4(t))return new a(void 0);if("string"==typeof t){var i="_color_"+t+"_"+(e||"1"),o=n.u.getCache(i);if(o)return new a({r:o.r,g:o.g,b:o.b,a:o.a});var l=r.Qh(t,e);
1return n.u.setCache(i,l),new a(l)}return t instanceof a?(s.a4(e)&&(t.alpha=e),t):new a(t)}function l(t){return!s.a4(t)||t instanceof a?t:o(t)}},50992:function(t,e,i){i.d(e,{e:function(){return p}});var n=i(3460),r=i(85802),s=i(88166),a=i(31272),o=i(17133),l=i(30101),h=i(35580),u=i(39351),p=function(t){function e(){var e=t.call(this)||this;return e._list=[],e._currentStep=0,e._startIndex=0,e._currentPass=0,e.baseColor=new s.Q1({r:103,g:183,b:220}),e.stepOptions={},e.passOptions={brighten:-.2},e.step=1,e.minColors=20,e.minLightness=.2,e.maxLightness=.9,e.shuffle=!1,e.wrap=!0,e.reuse=!1,e.saturation=1,e.className="ColorSet",e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"list",{get:function(){return this._list||this.generate(this.minColors),this._list},set:function(t){this._list=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.getReusableColor=function(t){if(0==this._list.length)return this.generate(1),this.list[0];var e=t-Math.floor(t/this._list.length)*this.list.length;return this.list[e]},e.prototype.next=function(){var t;return this.list.length<=this._currentStep?this.reuse?t=this.getReusableColor(this._currentStep):(this.generate(u.T9(this.minColors,this._currentStep+1)),t=this.list[this._currentStep]):t=this.list[this._currentStep],this._currentStep+=this.step,t.saturate(this.saturation)},e.prototype.getIndex=function(t){var e;return this.list.length<=t?this.reuse?e=this.getReusableColor(t):(this.generate(this.minColors),e=this.getIndex(t)):e=this.list[t],e.saturate(this.saturation)},e.prototype.reset=function(){this._currentStep=this._startIndex},Object.defineProperty(e.prototype,"currentStep",{get:function(){return this._currentStep},set:function(t){this._currentStep=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return this._startIndex},set:function(t){this._startIndex=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.generate=function(t){var e=this.currentColor,i=o.K6(l._W(e.rgb)),n=l.a4(this.stepOptions.hue)?this.stepOptions.hue:1/t,r={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},a=[],u=+(0!=this.list.length);if(this.reuse)for(var p=u;p<=t;p++)a.push(o.K6(l._W(this._list[p].rgb)).h);else for(var p=u;p<=t;p++){var d=i.h+n*p;this.wrap&&d>1&&(d-=1),a.push(d)}this.shuffle&&a.sort(function(t,e){return Math.random()-.5});for(var p=0;p<t;p++){this.reuse?i=o.K6(l._W(this._list[p].rgb)):i.h=a.shift(),this.applyStepOptions(i,r,p,this._currentPass);var c=(0,s.yW)(o.YL(i)),f=(this.stepOptions.brighten||0)*p+(this.passOptions.brighten||0)*this._currentPass;0!=f&&(f=this.wrap?h.DJ(f,this.minLightness,this.maxLightness):h.tg(f,this.minLightness,this.maxLightness),c=c.brighten(f));var g=(this.stepOptions.lighten||0)*p+(this.passOptions.lighten||0)*this._currentPass;0!=g&&(g=this.wrap?h.DJ(g,this.minLightness,this.maxLightness):h.tg(g,this.minLightness,this.maxLightness),c=c.lighten(g)),this._list.push(c)}this._currentPass++},Object.defineProperty(e.prototype,"currentColor",{get:function(){return 0==this._list.length?this.baseColor.saturate(this.saturation):this._list[this._list.length-1].saturate(this.saturation)},enumerable:!0,configurable:!0}),e.prototype.applyStepOptions=function(t,e,i,n){t.l=e.lightness+(this.stepOptions.lightness||0)*i+(this.passOptions.lightness||0)*n,this.wrap?(t.l>1?t.l=t.l-Math.floor(t.l):t.l<0&&(t.l=-(t.l-Math.floor(t.l))),t.l=h.DJ(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=h.tg(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e){if(l.a4(e.list)&&l.cy(e.list))for(var i=0,n=e.list.length;i<n;i++)e.list[i]instanceof s.Q1||(e.list[i]=(0,s.yW)(e.list[i]));!l.a4(e.baseColor)||e.baseColor instanceof s.Q1||(e.baseColor=(0,s.yW)(e.baseColor))}t.prototype.processConfig.call(this,e)},e}(r.b);a.u.registeredClasses.ColorSet=p},17133:function(t,e,i){i.d(e,{GW:function(){return u},Ih:function(){return f},K6:function(){return y},ND:function(){return l},Ob:function(){return o},Qh:function(){return a},T4:function(){return m},Uq:function(){return c},YL:function(){return g},a:function(){return p}});var n=i(39351),r=i(30101),s={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgrey:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32}
1,gray:{r:128,g:128,b:128},grey:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgrey:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function a(t,e){var i,n,a,o,l;return s[t]?i=s[t]:"#"===t.charAt(0)?(n=(n=t).replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n){return e+e+i+i+n+n}),i=(a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n))?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:(o=(o=n).replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n,r){return e+e+i+i+n+n+r+r}),(l=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o))?{r:parseInt(l[1],16),g:parseInt(l[2],16),b:parseInt(l[3],16),a:parseInt(l[4],16)/256}:void 0)):t.match(/^rgba?\(/)&&(i=function(t){var e=(t=t.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(!(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return;return{r:parseInt(e[1]),g:parseInt(e[2]),b:parseInt(e[3]),a:parseFloat(e[4])}}(t)),i||(i={r:0,g:0,b:0,a:1}),r.a4(e)&&(i.a=e),i}function o(t){return"#"+h(t.r.toString(16))+h(t.g.toString(16))+h(t.b.toString(16))}function l(t){return r.a4(t.a)&&1!==t.a?"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb("+t.r+","+t.g+","+t.b+")"}function h(t){return 1==t.length?"0"+t:""+t}function u(t,e,i){if(i=n.s_(i,0,1),t)if(e)return{r:t.r+Math.round((e.r-t.r)*i),g:t.g+Math.round((e.g-t.g)*i),b:t.b+Math.round((e.b-t.b)*i),a:(t.a||1)+Math.round(((e.a||1)-(t.a||1))*i)};else return t;return e?e:t}function p(t,e){return t?{r:Math.max(0,Math.min(255,t.r+d(t.r,e))),g:Math.max(0,Math.min(255,t.g+d(t.g,e))),b:Math.max(0,Math.min(255,t.b+d(t.b,e))),a:t.a}:t}function d(t,e){return Math.round((e>0?255-t:t)*e)}function c(t,e){if(!t)return t;var i=d(Math.min(Math.max(t.r,t.g,t.b),230),e);return{r:Math.max(0,Math.min(255,Math.round(t.r+i))),g:Math.max(0,Math.min(255,Math.round(t.g+i))),b:Math.max(0,Math.min(255,Math.round(t.b+i))),a:t.a}}function f(t,e){if(null==t||1==e)return t;var i=y(t);return i.s=e,g(i)}function g(t){var e,i,n,r=t.h,s=t.s,a=t.l;if(0==s)e=i=n=a;
1else{var o=function(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},l=a<.5?a*(1+s):a+s-a*s,h=2*a-l;e=o(h,l,r+1/3),i=o(h,l,r),n=o(h,l,r-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function y(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),s=Math.min(e,i,n),a=0,o=0,l=(r+s)/2;if(r===s)a=o=0;else{var h=r-s;switch(o=l>.5?h/(2-r-s):h/(r+s),r){case e:a=(i-n)/h+6*(i<n);break;case i:a=(n-e)/h+2;break;case n:a=(e-i)/h+4}a/=6}return{h:a,s:o,l:l}}function m(t){return(299*t.r+587*t.g+114*t.b)/1e3>=128}},39049:function(t,e,i){i.d(e,{Dl:function(){return O},Gc:function(){return k},Ge:function(){return _},L9:function(){return b},Mi:function(){return w},Sd:function(){return function t(e){var i=b(e,"font-size");if(i)return i;var n=e.parentElement||e.parentNode;return n?t(n):void 0}},V6:function(){return g},VB:function(){return function t(e){var i=b(e,"font-family");if(i)return i;var n=e.parentElement||e.parentNode;return n?t(n):void 0}},YG:function(){return function t(e,i){var n=e.getBoundingClientRect(),r=u.cy(i)?i:i?[i]:[];if(r.length){for(var s=0;s<r.length;s++){var a=r[s];if(!t(a))break;var o=a.getBoundingClientRect();if(n.top>=0&&n.left>=0&&n.top<=o.top+o.height&&n.left<=o.left+o.width)return!0}return!1}return n.top>=0&&n.left>=0&&n.top<=(window.innerHeight||document.documentElement.clientHeight)&&n.left<=(window.innerWidth||document.documentElement.clientWidth)}},Zn:function(){return C},aq:function(){return S},eC:function(){return v},gR:function(){return x},gm:function(){return p},iQ:function(){return y},jG:function(){return P},q2:function(){return f},ty:function(){return d},vy:function(){return m},zK:function(){return c}});var n,r=i(3460),s=i(37688),a=i(80114),o=i(48093),l=i(13866),h=i(42736),u=i(30101),p="http://www.w3.org/2000/svg",d="http://www.w3.org/2000/xmlns/",c="http://www.w3.org/1999/xlink";function f(t,e,i,n){return t.addEventListener(e,i,n||!1),new s.W_(function(){t.removeEventListener(e,i,n||!1)})}function g(t){if(u.Kg(t)){var e=document.getElementById(t);if(null==e&&(e=document.getElementsByClassName(t)[0]),e instanceof HTMLElement)return e}else if(t instanceof HTMLElement)return t}function y(t,e){if(t)if(t.classList){var i=e.split(" ");h.__(i,function(e){t.classList.add(e)})}else{var n=t.getAttribute("class");n?t.setAttribute("class",n.split(" ").filter(function(t){return t!==e}).join(" ")+" "+e):t.setAttribute("class",e)}}function m(t,e){if(t)if(t.classList)t.classList.remove(e);else{var i=t.getAttribute("class");i&&t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" "))}}function v(t,e,i){t.style[e]=i}function b(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}function _(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{var t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)}}function x(t,e){for(var i=e;;)if(t===i)return!0;else if(null==i.parentNode)if(null==i.host)return!1;else i=i.host;else i=i.parentNode}function P(t){for(var e=t;;)if(null==e.parentNode)if(null!=e.host)return e;else return null;else e=e.parentNode}function C(t){for(var e=t.ownerDocument,i=t;;)if(null==i.parentNode)if(i===e||null!=i.host)return i;else return null;else i=i.parentNode}function w(t){return"function"==typeof t.composedPath?t.composedPath()[0]:t.target}function O(t){(0,a.IW)(function(){try{var e=t.getBoundingClientRect(),i=e.left-Math.round(e.left),n=e.top-Math.round(e.top);0!==i&&(0,a.vr)(function(){t.style.left=i+"px"}),0!==n&&(0,a.vr)(function(){t.style.top=n+"px"})}catch(t){}})}var S=function(t){function e(e,i,r){var s,a=this,p=function(t){if(null==t){if(!u.a4(n)){var e=document.createElement("style");e.type="text/css",""!=o.f.nonce&&e.setAttribute("nonce",o.f.nonce),document.head.appendChild(e),n=e.sheet}return n}var e=document.createElement("style");return e.type="text/css",""!=o.f.nonce&&e.setAttribute("nonce",o.f.nonce),t.appendChild(e),e.sheet}(e);return(a=t.call(this,function(){var t=h.qh(p.cssRules,a._rule);if(-1===t)throw Error("Could not dispose StyleRule");p.deleteRule(t)})||this)._rule=(s=p.cssRules.length,p.insertRule(i+"{}",s),p.cssRules[s]),l.__(r,function(t,e){a.setStyle(t,e)}),a}return(0,r.C6)(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(t){this._rule.selectorText=t},enumerable:!0,configurable:!0}),e.prototype._setVendorPrefixName=function(t,e){var i=this._rule.style;i.setProperty("-webkit-"+t,e,""),i.setProperty("-moz-"+t,e,""),i.setProperty("-ms-"+t,e,""),i.setProperty("-o-"+t,e,""),i.setProperty(t,e,"")},e.prototype.setStyle=function(t,e){"transition"===t?this._setVendorPrefixName(t,e):this._rule.style.setProperty(t,e,"")},e}(s.W_),T=0;function I(t,e,i){var n=this,r=u.a4(i)?i:"__style_"+ ++T+"__";return(n=S.call(this,t,"."+r,e)||this)._className=r,n}function k(t){if("loading"!==document.readyState)t();else{var e=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}}(0,r.C6)(I,S),Object.defineProperty(I.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t,this.selector="."+t},enumerable:!0,configurable:!0}),I.prototype.toString=function(){return this._className}}
1,91489:function(t,e,i){i.d(e,{Vt:function(){return p},bT:function(){return u},ey:function(){return h}});var n=i(3460),r=i(37688),s=i(75300),a=i(13866),o=i(22855),l=i(96120),h=function(t){function e(e){var i=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);return t.call(this,function(){i.dispose(),o.__(e.iterator(),function(t){t[1].dispose()})})||this}return(0,n.C6)(e,t),e}(r.W_),u=function(){function t(){this.events=new s.Q,this._dictionary={}}return t.prototype.hasKey=function(t){return a.CJ(this._dictionary,t)},t.prototype.getKey=function(t){return this._dictionary[t]},t.prototype.insertKey=function(t,e){if(a.CJ(this._dictionary,t))throw Error("Key "+t+" already exists in dictionary");this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.setKey=function(t,e){if(a.CJ(this._dictionary,t)){var i=this._dictionary[t];i!==e&&(this._dictionary[t]=e,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))}else this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.updateKey=function(t,e){if(a.CJ(this._dictionary,t)){var i=this._dictionary[t],n=e(i);i!==n&&(this._dictionary[t]=n,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:n}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))}else throw Error("Key "+t+" doesn't exist in dictionary")},t.prototype.removeKey=function(t){if(a.CJ(this._dictionary,t)){var e=this._dictionary[t];delete this._dictionary[t],this.events.isEnabled("removeKey")&&this.events.dispatchImmediately("removeKey",{type:"removeKey",target:this,key:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e})}},t.prototype.insertKeyIfEmpty=function(t,e){return this.hasKey(t)||this.insertKey(t,e()),this.getKey(t)},t.prototype.clear=function(){var t=this;this.events.isEnabled("removed")&&a.__(this._dictionary,function(e,i){t.events.dispatchImmediately("removed",{type:"removed",target:t,oldValue:i})}),this._dictionary={},this.events.isEnabled("cleared")&&this.events.dispatchImmediately("cleared",{type:"cleared",target:this})},t.prototype.copyFrom=function(t){var e=this;o.__(t.iterator(),function(t){e.setKey(t[0],t[1])})},t.prototype.iterator=function(){return a.jO(this._dictionary)},t.prototype[Symbol.iterator]=function(){var t,e,i,r;return(0,n.YH)(this,function(n){switch(n.label){case 0:for(e in t=[],this._dictionary)t.push(e);i=0,n.label=1;case 1:if(!(i<t.length))return[3,4];if(r=t[i],!a.CJ(this._dictionary,r))return[3,3];return[4,[r,this._dictionary[r]]];case 2:n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2]}})},t.prototype.each=function(t){o.__(this.iterator(),function(e){var i=(0,n.zs)(e,2);return t(i[0],i[1])})},t.prototype.sortedIterator=function(){return o.di(this.iterator(),function(t,e){return l.fq(t[0],e[0])})},t}(),p=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;o.__(t.iterator(),function(t){e.setKey(t[0],t[1].clone())})},e.prototype.create=function(t){var e=this;return this.insertKeyIfEmpty(t,function(){return e.template.clone()})},e}(u)},37688:function(t,e,i){i.d(e,{W_:function(){return a},Wr:function(){return h},ZT:function(){return o},h1:function(){return l}});var n=i(3460),r=i(42736),s=i(30101),a=function(){function t(t){this._disposed=!1,this._dispose=t}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._dispose())},t}(),o=function(t){function e(e){return t.call(this,function(){r.__(e,function(t){t.dispose()})})||this}return(0,n.C6)(e,t),e}(a),l=function(t){function e(){var e=t.call(this,function(){s.a4(e._disposer)&&(e._disposer.dispose(),e._disposer=void 0)})||this;return e}return(0,n.C6)(e,t),e.prototype.get=function(){return this._value},e.prototype.set=function(t,e){s.a4(this._disposer)&&this._disposer.dispose(),this._disposer=e,this._value=t},e.prototype.reset=function(){this.set(void 0,void 0)},e}(a),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._counter=0,e}return(0,n.C6)(e,t),e.prototype.increment=function(){var t=this;return++this._counter,new a(function(){--t._counter,0===t._counter&&t.dispose()})},e}(a)}
1,11159:function(t,e,i){i.d(e,{EY:function(){return p},Jx:function(){return d},sn:function(){return s},vq:function(){return u},yR:function(){return h}});var n=i(39351),r=i(31272);function s(t){return+t}function a(t,e){return Math.pow(t,e)}function o(t,e){return 1-Math.pow(1-t,e)}function l(t,e){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}function h(t){return o(t,3)}function u(t){return Math.sin(t*n.jw)}function p(t){return t*t*t}function d(t){return--t*t*t+1}r.u.registeredClasses["ease.linear"]=s,r.u.registeredClasses["ease.quadIn"]=function(t){return t*t},r.u.registeredClasses["ease.quadOut"]=function(t){return t*(2-t)},r.u.registeredClasses["ease.quadInOut"]=function(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2},r.u.registeredClasses["ease.polyIn"]=a,r.u.registeredClasses["ease.polyOut"]=o,r.u.registeredClasses["ease.polyInOut"]=l,r.u.registeredClasses["ease.polyIn3"]=function(t){return a(t,3)},r.u.registeredClasses["ease.polyOut3"]=h,r.u.registeredClasses["ease.polyInOut3"]=function(t){return l(t,3)},r.u.registeredClasses["ease.expIn"]=function(t){return Math.pow(2,10*t-10)},r.u.registeredClasses["ease.expOut"]=function(t){return 1-Math.pow(2,-10*t)},r.u.registeredClasses["ease.expInOut"]=function(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2},r.u.registeredClasses["ease.sinIn"]=function(t){return 1-Math.cos(t*n.jw)},r.u.registeredClasses["ease.sinOut"]=u,r.u.registeredClasses["ease.sinInOut"]=function(t){return(1-Math.cos(n.PI*t))/2},r.u.registeredClasses["ease.cubicIn"]=p,r.u.registeredClasses["ease.cubicOut"]=d,r.u.registeredClasses["ease.cubicInOut"]=function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2},r.u.registeredClasses["ease.circleIn"]=function(t){return 1-Math.sqrt(1-t*t)},r.u.registeredClasses["ease.circleOut"]=function(t){return Math.sqrt(1- --t*t)},r.u.registeredClasses["ease.circleInOut"]=function(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2};var c=4/11,f=6/11,g=8/11,y=3/4,m=9/11,v=10/11,b=15/16,_=21/22,x=63/64,P=1/(4/11)/(4/11);function C(t){return(t*=1)<c?P*t*t:t<g?P*(t-=f)*t+y:t<v?P*(t-=m)*t+b:P*(t-=_)*t+x}r.u.registeredClasses["ease.bounceIn"]=function(t){return 1-C(1-t)},r.u.registeredClasses["ease.bounceOut"]=C,r.u.registeredClasses["ease.bounceInOut"]=function(t){return((t*=2)<=1?1-C(1-t):C(t-1)+1)/2};var w=.3/(2*Math.PI),O=Math.asin(1)*w;r.u.registeredClasses["ease.elasticIn"]=function(t){return Math.pow(2,10*--t)*Math.sin((O-t)/w)},r.u.registeredClasses["ease.elasticOut"]=function(t){return 1-Math.pow(2,-10*(t*=1))*Math.sin((t+O)/w)},r.u.registeredClasses["ease.elasticInOut"]=function(t){return((t=2*t-1)<0?Math.pow(2,10*t)*Math.sin((O-t)/w):2-Math.pow(2,-10*t)*Math.sin((O+t)/w))/2}},75300:function(t,e,i){i.d(e,{K:function(){return h},Q:function(){return l}});var n=i(3460),r=i(37688),s=i(42736),a=i(80114),o=i(30101),l=function(){function t(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{s.__(t,function(t){t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}},t.prototype.hasListeners=function(){return 0!==this._listeners.length},t.prototype.hasListenersByType=function(t){return s.bz(this._listeners,function(e){return(null===e.type||e.type===t)&&!e.killed})},t.prototype.enable=function(){this._enabled=!0},t.prototype.disable=function(){this._enabled=!1},t.prototype.enableType=function(t){delete this._disabled[t]},t.prototype.disableType=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._removeListener=function(t){if(0===this._iterating){var e=this._listeners.indexOf(t);if(-1===e)throw Error("Invalid state: could not remove listener");this._listeners.splice(e,1)}else this._killed.push(t)},t.prototype._removeExistingListener=function(t,e,i,n){if(this._disposed)throw Error("EventDispatcher is disposed");this._eachListener(function(r){r.once===t&&r.type===e&&(null==i||r.callback===i)&&r.context===n&&r.disposer.dispose()})},t.prototype.isEnabled=function(t){if(this._disposed)throw Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(t)&&null==this._disabled[t]}
1,t.prototype.has=function(t,e,i){return -1!==s.SL(this._listeners,function(n){return!0!==n.once&&n.type===t&&(null==e||n.callback===e)&&n.context===i})},t.prototype._shouldDispatch=function(t){if(this._disposed)throw Error("EventDispatcher is disposed");var e=this._disabled[t];return o.Et(e)?(e<=1?delete this._disabled[t]:--this._disabled[t],!1):this._enabled},t.prototype._eachListener=function(t){var e=this;++this._iterating;try{s.__(this._listeners,t)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(s.__(this._killed,function(t){e._removeListener(t)}),this._killed.length=0)}},t.prototype.dispatchImmediately=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||i.dispatch(t,e)})},t.prototype.dispatch=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||a.dV(function(){i.killed||i.dispatch(t,e)})})},t.prototype._on=function(t,e,i,n,s,a){var o=this;if(this._disposed)throw Error("EventDispatcher is disposed");this._removeExistingListener(t,e,i,n);var l={type:e,callback:i,context:n,shouldClone:s,dispatch:a,killed:!1,once:t,disposer:new r.W_(function(){l.killed=!0,o._removeListener(l)})};return this._listeners.push(l),l},t.prototype.onAll=function(t,e,i){return void 0===i&&(i=!0),this._on(!1,null,t,e,i,function(i,n){return t.call(e,i,n)}).disposer},t.prototype.on=function(t,e,i,n){return void 0===n&&(n=!0),this._on(!1,t,e,i,n,function(t,n){return e.call(i,n)}).disposer},t.prototype.once=function(t,e,i,n){void 0===n&&(n=!0);var r=this._on(!0,t,e,i,n,function(t,n){r.disposer.dispose(),e.call(i,n)});return r.disposer},t.prototype.off=function(t,e,i){this._removeExistingListener(!1,t,e,i)},t.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw Error("EventDispatcher is disposed");if(t===this)throw Error("Cannot copyFrom the same TargetedEventDispatcher");s.__(t._listeners,function(t){!t.killed&&t.shouldClone&&(null===t.type?e.onAll(t.callback,t.context):t.once?e.once(t.type,t.callback,t.context):e.on(t.type,t.callback,t.context))})},t}(),h=function(t){function e(e){var i=t.call(this)||this;return i.target=e,i}return(0,n.C6)(e,t),e.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw Error("EventDispatcher is disposed");if(t===this)throw Error("Cannot copyFrom the same TargetedEventDispatcher");s.__(t._listeners,function(i){i.context!==t.target&&!i.killed&&i.shouldClone&&(null===i.type?e.onAll(i.callback,i.context):i.once?e.once(i.type,i.callback,i.context):e.on(i.type,i.callback,i.context))})},e}(l)},35395:function(t,e,i){i.d(e,{T:function(){return o}});var n=i(3460),r=i(85802),s=i(31272),a=i(88166),o=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:(0,a.yW)("#e5e5e5"),fill:(0,a.yW)("#f3f3f3"),primaryButton:(0,a.yW)("#6794dc"),primaryButtonHover:(0,a.yW)("#6771dc"),primaryButtonDown:(0,a.yW)("#68dc75"),primaryButtonActive:(0,a.yW)("#68dc75"),primaryButtonText:(0,a.yW)("#FFFFFF"),primaryButtonStroke:(0,a.yW)("#FFFFFF"),secondaryButton:(0,a.yW)("#d9d9d9"),secondaryButtonHover:(0,a.yW)("#d9d9d9").brighten(-.25),secondaryButtonDown:(0,a.yW)("#d9d9d9").brighten(-.35),secondaryButtonActive:(0,a.yW)("#d9d9d9").brighten(.35),secondaryButtonText:(0,a.yW)("#000000"),secondaryButtonStroke:(0,a.yW)("#FFFFFF"),grid:(0,a.yW)("#000000"),background:(0,a.yW)("#ffffff"),alternativeBackground:(0,a.yW)("#000000"),text:(0,a.yW)("#000000"),alternativeText:(0,a.yW)("#FFFFFF"),disabledBackground:(0,a.yW)("#999999"),positive:(0,a.yW)("#67dc75"),negative:(0,a.yW)("#dc6788")},e.className="InterfaceColorSet",e.applyTheme(),e}return(0,n.C6)(e,t),e.prototype.debug=function(){},e.prototype.getFor=function(t){return this._purposes[t]},e.prototype.setFor=function(t,e){this._purposes[t]=e},e}(r.b);s.u.registeredClasses.InterfaceColorSet=o},22855:function(t,e,i){i.d(e,{$r:function(){return a},Bq:function(){return d},Bw:function(){return s},FY:function(){return o},I6:function(){return f},KF:function(){return c},Tj:function(){return u},Vd:function(){return y},__:function(){return l},ci:function(){return r},di:function(){return h},gR:function(){return g},xW:function(){return p}});var n=i(42736);function r(t){return function(e){for(var i=t.length,n=0;n<i&&e(t[n]);++n);}}function s(t){var e=0;return t(function(t){return++e,!0}),e}function a(t){var e=[];return t(function(t){return e.push(t),!0}),e}function o(t,e){t(e)}function l(t,e){t(function(t){return e(t),!0})}function h(t,e){return r(a(t).sort(e))}function u(t,e){return function(i){return t(function(t){return i(e(t))})}}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){for(var i=!0,n=function(t){return i=e(t)},r=t.length,s=0;s<r&&(t[s](n),i);++s);}}function d(t){return function(e){var i=!0,n=function(t){return i=e(t)};t(function(t){return t(n),i})}}function c(t){return function(e){var i=0;t(function(t){return e([i++,t])})}}function f(t,e){var i;return t(function(t){return!e(t)||(i=t,!1)}),i}function g(t,e){var i=!1;return t(function(t){return!e(t)||(i=!0,!1)}),i}var y=function(){function t(t,e){this.createNewItems=!1,this.list=t,this._create=e,this.reset()}return t.prototype.reset=function(){this._listCopy=a(this.list.iterator())},t.prototype.clear=function(){this._listCopy.length=0},t.prototype.getFirst=function(){return this.returnItem(0)},t.prototype.getLast=function(){return this.returnItem(this._listCopy.length-1)},t.prototype.find=function(t){var e=n.SL(this._listCopy,t);if(-1===e)return this.getLast();var i=this._listCopy[e];return n.TF(this._listCopy,i),i},t.prototype.removeItem=function(t){return n.TF(this._listCopy,t)},t.prototype.returnItem=function(t){if(t>=0&&t<this._listCopy.length){var e=this._listCopy[t];return n.TF(this._listCopy,e),e}if(this.createNewItems)return this._create()},t.prototype.iterator=function(){return r(this._listCopy)},t}()}
1,73228:function(t,e,i){i.d(e,{Q:function(){return r}});var n=i(30101),r=new(function(){function t(){}return t.prototype.getEventKey=function(t){var e;switch(t.keyCode||t.which){case 38:e="up";break;case 40:e="down";break;case 37:e="left";break;case 39:e="right";break;case 13:e="enter";break;case 27:e="esc";break;case 36:case 36:e="home";break;case 35:case 35:e="end";break;case 9:e="tab";break;case 17:e="ctrl";break;case 18:e="alt";break;case 16:e="shift";break;case 32:e="space";break;case 33:e="pgup";break;case 34:e="pgdn";break;case 45:e="ins";break;case 46:e="del";break;case 107:e="plus";break;case 109:e="minus";break;default:e="other"}return e},t.prototype.isKey=function(t,e){var i=this.getEventKey(t);return n.Kg(e)&&(e=[e]),-1!==e.indexOf(i)},t.prototype.shiftKey=function(t){return t.shiftKey},t.prototype.ctrlKey=function(t){return t.ctrlKey},t.prototype.altKey=function(t){return t.altKey},t.prototype.metaKey=function(t){return t.metaKey},t}())},99262:function(t,e,i){i.d(e,{T:function(){return u}});var n=i(3460),r=i(85802),s=i(18586),a=i(42736),o=i(30101),l={_decimalSeparator:".",_thousandSeparator:",",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""},h=i(48093),u=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.Y3(e),e._locale=l,e._defaultLocale=l,e.className="Language",o.a4(h.f.defaultLocale)&&(e.locale=h.f.defaultLocale),e.a
1pplyTheme(),e}return(0,n.C6)(e,t),e.prototype.getLocale=function(t){return null==t&&(t=this._locale),this.adapter.apply("locale",{locale:t}).locale},e.prototype.translate=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];e=this.getLocale(e);var s=t,a=this.getTranslations(e)[t];if(null===a)a="";else if(o.a4(a))a&&(s=a);else if(e!==this._defaultLocale)return this.translate.apply(this,(0,n.gz)([t,this._defaultLocale],i));if(i.length)for(var l=i.length,h=0;h<l;++h)s=s.split("%"+(h+1)).join(i[h]);return this.adapter.apply("translate",{translation:s,locale:e}).translation},e.prototype.translateAny=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return this.translate.apply(this,(0,n.gz)([t,e],i))},e.prototype.setTranslationAny=function(t,e,i){(i||this.locale)[t]=e},e.prototype.translateEmpty=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var s=this.translate.apply(this,(0,n.gz)([t,e],i));return s==t?"":s},e.prototype.translateFunc=function(t,e){e=this.getLocale(e);var i=this.getTranslations(e)[t];return null!=i?i:e!==this._defaultLocale?this.translateFunc(t,this._defaultLocale):function(){return""}},e.prototype.translateAll=function(t,e){var i=this;return this.isDefault()?t:a.Tj(t,function(t){return i.translate(t,e)})},e.prototype.isDefault=function(){return this._defaultLocale===this._locale},Object.defineProperty(e.prototype,"locale",{get:function(){return this._locale},set:function(t){this._locale!=t&&(this._locale=t,this.events.isEnabled("localechanged")&&this.events.dispatchImmediately("localechanged",{type:"localechanged",locale:t,target:this}))},enumerable:!0,configurable:!0}),e.prototype.getTranslations=function(t){return this.adapter.apply("translations",{translations:t,locale:t}).translations},e}(r._)},42969:function(t,e,i){i.d(e,{B8:function(){return c},TS:function(){return f},a:function(){return p}});var n=i(3460),r=i(37688),s=i(75300),a=i(42736),o=i(22855),l=function(){function t(t,e,i){this._array=t,this._start=e,this._end=i}return t.prototype.iterator=function(){var t=this;return function(e){if(t._start!==t._end)if(t._start<t._end)for(var i=t._start;i<t._end&&e(t._array[i]);++i);else for(var i=t._start-1;i>=t._end&&e(t._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(e,i){if(e<=i)if(this._start===this._end)return this;else if(this._start<this._end){var n=i-e;return i=Math.min((e=Math.max(this._start+e,this._start))+n,this._end),new t(this._array,e,i)}else{var n=i-e;return i=Math.max((e=Math.max(this._start-e,this._end))-n,this._end),new t(this._array,e,i)}throw Error("Start index must be lower than end index")},t}(),h=r.ZT;function u(t,e,i){var n=h.call(this,[t.events.on("inserted",function(e){var i=e.newValue,r=n._getKey(i),s=0;o.FY(t.iterator(),function(t){return t!==i&&(n._getKey(t)===r&&++s,!0)}),n._insert(i,r,s)},void 0,!1),t.events.on("removed",function(t){n._remove(t.oldValue)},void 0,!1)])||this;return n._keys=[],n._groups={},n._getKey=e,n._sort=i,o.__(t.iterator(),function(t){n._insert(t,e(t))}),n}(0,n.C6)(u,h),u.prototype._insert=function(t,e,i){if(null==this._groups[e]){this._groups[e]=[];var n=a.IU(this._keys,this._sort,e),r=n.found,s=n.index;if(r)throw Error("Key already exists: "+e);a.At(this._keys,s,e)}null==i?this._groups[e].push(t):a.At(this._groups[e],i,t)},u.prototype._remove=function(t){var e=this._getKey(t),i=this._groups[e];if(null!=i&&(a.TF(i,t),0===i.length)){delete this._groups[e];var n=a.IU(this._keys,this._sort,e),r=n.found,s=n.index;if(r)a.xR(this._keys,s);else throw Error("Key doesn't exist: "+e)}},u.prototype.iterator=function(){var t=this;return o.Bq(o.Tj(o.ci(this._keys),function(e){return o.ci(t._groups[e])}))};var p=function(t){function e(e,i){void 0===i&&(i=!0);var n=this;if(i){var r=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);n=t.call(this,function(){r.dispose(),o.__(e.iterator(),function(t){t.dispose()})})||this}else n=t.call(this,function(){o.__(e.iterator(),function(t){t.dispose()})})||this;return n}return(0,n.C6)(e,t),e}(r.W_);function d(t,e){if(!(t>=0&&t<e))throw Error("Index out of bounds: "+t)}var c=function(){function t(t){void 0===t&&(t=[]),this.events=new s.Q,this._values=t}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype.contains=function(t){return -1!==this._values.indexOf(t)},t.prototype.removeValue=function(t){for(var e=0,i=this._values.length;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e},t.prototype.indexOf=function(t){return a.qh(this._values,t)},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.hasIndex=function(t){return t>=0&&t<this._values.length},t.prototype.getIndex=function(t){return this._values[t]},t.prototype.setIndex=function(t,e){d(t,this._values.length);var i=this._values[t];return i!==e&&(this._values[t]=e,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})),i},t.prototype.insertIndex=function(t,e){d(t,this._values.length+1),a.At(this._values,t,e),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})}
1,t.prototype._sortQuicksort=function(t,e,i){if(t<e){var n=this._sortPartition(t,e,i);this._sortQuicksort(t,n,i),this._sortQuicksort(n+1,e,i)}},t.prototype._sortPartition=function(t,e,i){for(var n=this._values,r=n[t],s=t-1,a=e+1;;){do++s;while(0>i(n[s],r));do--a;while(i(n[a],r)>0);if(s>=a)return a;this.swap(s,a)}},t.prototype.sort=function(t){this._sortQuicksort(0,this._values.length-1,t)},t.prototype.swap=function(t,e){var i=this._values.length;if(d(t,i),d(e,i),t!==e){var n=this._values[t],r=this._values[e];this._values[t]=r,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:n,newValue:r}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:r,newValue:n})}},t.prototype.removeIndex=function(t){d(t,this._values.length);var e=this._values[t];return a.xR(this._values,t),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(t,e){var i=this.indexOf(t);if(-1!==i){var n=this._values[i];a.xR(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}null==e?(e=this._values.length,this._values.push(t)):a.At(this._values,e,t),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),-1===i&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t})},t.prototype.push=function(t){var e=this._values.push(t)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t}),t},t.prototype.unshift=function(t){this.insertIndex(0,t)},t.prototype.pushAll=function(t){var e=this;a.__(t,function(t){e.push(t)})},t.prototype.copyFrom=function(t){this.pushAll(t._values)},t.prototype.pop=function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(t){var e=this,i=a.C(this._values);this._values.length=0,a.__(t,function(t){e._values.push(t)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&a.__(i,function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})}),this.events.isEnabled("inserted")&&a.__(this._values,function(t){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:t})})},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return o.ci(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return(0,n.YH)(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:if(!(e<t))return[3,4];return[4,this._values[e]];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}})},t.prototype.each=function(t){a.__(this._values,t)},t.prototype.range=function(t,e){if(t<=e){var i=e-t;return e=Math.min((t=Math.max(t,0))+i,this._values.length),new l(this._values,t,e)}throw Error("Start index must be lower than end index")},t.prototype.backwards=function(){return new l(this._values,this._values.length,0)},t}(),f=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;o.__(t.iterator(),function(t){e.push(t.clone())})},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.push(e),e},e.prototype.clone=function(){for(var t=new e(this.template),i=this.values,n=i.length,r=0;r<n;++r)t.push(i[r].clone());return t},e}(c)}
1,13991:function(t,e,i){i.d(e,{R:function(){return s},i:function(){return a}});var n=i(3460),r=i(48093);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];r.f.verbose&&console&&console.log.apply(console,(0,n.gz)(t))}function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];!r.f.suppressWarnings&&console&&console.warn.apply(console,(0,n.gz)(t))}},39351:function(t,e,i){i.d(e,{Bg:function(){return w},Ch:function(){return l},Cu:function(){return V},DW:function(){return D},E$:function(){return _},E6:function(){return b},F8:function(){return d},JV:function(){return L},Jc:function(){return A},Jl:function(){return B},LI:function(){return h},Ml:function(){return c},P8:function(){return S},PI:function(){return r},RX:function(){return j},T9:function(){return g},Tm:function(){return k},U7:function(){return I},X_:function(){return O},Yf:function(){return x},_H:function(){return T},gn:function(){return f},iR:function(){return o},jk:function(){return y},jw:function(){return s},kp:function(){return m},lH:function(){return F},mk:function(){return u},n0:function(){return M},nr:function(){return a},s_:function(){return p},wA:function(){return C},wF:function(){return P},y$:function(){return v}});var n=i(30101),r=Math.PI,s=r/2,a=r/180,o=180/r;function l(t,e,i){return n.a4(t)?p(t=n.Ro(t),e,i):t}function h(t,e,i){if(!n.Et(e)||e<=0){var r=Math.round(t);return i&&r-t==.5&&r--,r}var s=Math.pow(10,e);return Math.round(t*s)/s}function u(t,e){if(!n.Et(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i}function p(t,e,i){if(n.Et(e)){if(n.Et(i)&&i<e){var r=i;i=e,e=r}t<e&&(t=e)}return n.Et(i)&&t>i&&(t=i),t}function d(t){return h(Math.sin(a*t),10)}function c(t){return h(Math.tan(a*t),10)}function f(t){return h(Math.cos(a*t),10)}function g(t,e){if(n.Et(t))if(!n.Et(e))return t;else if(e>t)return e;else return t;return n.Et(e)?e:null}function y(t,e){if(n.Et(t))if(!n.Et(e))return t;else if(e<t)return e;else return t;return n.Et(e)?e:null}function m(t,e){return t.reduce(function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t})}function v(t,e){return Math.max(n._W(t.start),n._W(e.start))<=Math.min(n._W(t.end),n._W(e.end))}function b(t){var e=n._W(t.start);return{start:1-n._W(t.end),end:1-e}}function _(t,e){var i=n._W(t.start),r=n._W(e.start),s=n._W(t.end),a=n._W(e.end),o=Math.max(i,r),l=Math.min(s,a);if(!(l<o))return{start:o,end:l}}function x(t,e){return t?(e||(e={x:0,y:0}),Math.sqrt(Math.pow(Math.abs(t.x-e.x),2)+Math.pow(Math.abs(t.y-e.y),2))):0}function P(t,e){return t?(e||(e={x:0,y:0}),Math.abs(t.x-e.x)):0}function C(t,e){return t?(e||(e={x:0,y:0}),Math.abs(t.y-e.y)):0}function w(t,e,i,n,r){if(!t)return 0;e||(e={x:0,y:0});var s=0,a=t;if(r>0)for(var o=0;o<=r;o++){var l=F(t,e,i,n,o/r);s+=x(a,l),a=l}return s}function O(t,e,i,n){var r=x(e,n);return Math.abs(x(t,i)/r)}function S(t,e,i){return n.Et(i)||(i=.5),{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}}function T(t,e){e||(e={x:2*t.x,y:2*t.y});var i=e.x-t.x,n=Math.atan2(e.y-t.y,i)*o;return n<0&&(n+=360),M(n)}function I(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,s=void 0,a=void 0,o=0;o<e;o++){var l=t[o];(!n.Et(s)||l.x>s)&&(s=l.x),(!n.Et(r)||l.x<r)&&(r=l.x),(!n.Et(i)||l.y<i)&&(i=l.y),(!n.Et(a)||l.y>a)&&(a=l.y)}return{x:r,y:i,width:s-r,height:a-i}}}return{x:0,y:0,width:0,height:0}}function k(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,s=void 0,a=0;a<e;a++){var o=t[a];i=y(o.x,i),n=y(o.y,n),r=g(o.x+o.width,r),s=g(o.y+o.height,s)}return{x:i,y:n,width:r-i,height:s-n}}}function D(t,e,i,n){return{x:(1-n)*(1-n)*t.x+2*(1-n)*n*i.x+n*n*e.x,y:(1-n)*(1-n)*t.y+2*(1-n)*n*i.y+n*n*e.y}}function F(t,e,i,n,r){var s={x:0,y:0},a=1-r,o=a*a,l=o*a;return s.x=t.x*l+3*i.x*o*r+3*n.x*a*r*r+e.x*r*r*r,s.y=t.y*l+3*i.y*o*r+3*n.y*a*r*r+e.y*r*r*r,s}function A(t,e,i,n,r,s){return r=E(r),s=E(s),{x:(-t.x+e.x/r+i.x)*r,y:(-t.y+e.y/s+i.y)*s}}function V(t,e,i,n,r,s){return r=E(r),s=E(s),{x:(e.x+i.x/r-n.x)*r,y:(e.y+i.y/s-n.y)*s}}function E(t){return 1-t+1e-5}function M(t){return 360==t?360:t%360}function L(t,e,i){if(e>i){var n=e;e=i,i=n}t=M(t);var r=(e-M(e))/360;t<e&&(t+=360*(r+1));var s=e+(i-e)/2+180,a=e+(i-e)/2-180;return t>i&&(t-360>e?t-=360:t=t<s?i:e),t<e&&(t=t>a?e:i),t}function j(t,e,i){var r=Number.MAX_VALUE,s=Number.MAX_VALUE,a=-Number.MAX_VALUE,o=-Number.MAX_VALUE,l=[];n.Et(i)||(i=1),l.push(R(i,t)),l.push(R(i,e));
1for(var h=Math.min(90*Math.floor(t/90),90*Math.floor(e/90)),u=Math.max(90*Math.ceil(t/90),90*Math.ceil(e/90)),p=h;p<=u;p+=90)p>=t&&p<=e&&l.push(R(i,p));for(var d=0;d<l.length;d++){var c=l[d];c.x<r&&(r=c.x),c.y<s&&(s=c.y),c.x>a&&(a=c.x),c.y>o&&(o=c.y)}return{x:r,y:s,width:a-r,height:o-s}}function R(t,e){return{x:t*f(e),y:t*d(e)}}function B(t,e){return!!(t.x>=e.x)&&!!(t.x<=e.x+e.width)&&!!(t.y>=e.y)&&!!(t.y<=e.y+e.height)}},13318:function(t,e,i){i.d(e,{H:function(){return r}});var n=i(30101);function r(t,e,i){return new Promise(function(r,s){var a=n.a4(i)&&"blob"==i.responseType,o=new XMLHttpRequest;if(o.onload=function(){if(200===o.status){var t,i,n=void 0;if(a){return void(t=i=o.response,new Promise(function(e,i){var n=new FileReader;n.onload=function(t){e(n.result)},n.onerror=function(t){i(t)},n.readAsText(t)})).then(function(t){r({xhr:o,error:!1,response:t,blob:i,type:o.getResponseHeader("Content-Type"),target:e})})}n=o.responseText||o.response,r({xhr:o,error:!1,response:n,blob:i,type:o.getResponseHeader("Content-Type"),target:e})}else s({xhr:o,error:!0,type:o.getResponseHeader("Content-Type"),target:e})},o.onerror=function(){s({xhr:o,error:!0,type:o.getResponseHeader("Content-Type"),target:e})},o.open("GET",t,!0),i&&i.withCredentials&&(o.withCredentials=!0),n.a4(i)){if(n.a4(i.requestHeaders))for(var l=0;l<i.requestHeaders.length;l++){var h=i.requestHeaders[l];o.setRequestHeader(h.key,h.value)}n.a4(i.responseType)&&(o.responseType=i.responseType)}o.send()})}},51980:function(t,e,i){i.d(e,{f:function(){return n}});function n(t,e){return t===e?0:t<e?-1:1}},13866:function(t,e,i){i.d(e,{AP:function(){return f},CJ:function(){return o},FY:function(){return l},I4:function(){return g},Lb:function(){return c},__:function(){return h},h1:function(){return p},jO:function(){return s},jh:function(){return u},o8:function(){return d}});var n=i(42736),r=i(30101);function s(t){return function(e){for(var i in t)if(o(t,i)&&!e([i,t[i]]))break}}function a(t){var e=[];for(var i in t)o(t,i)&&e.push(i);return e}function o(t,e){return({}).hasOwnProperty.call(t,e)}function l(t,e){for(var i in t)if(o(t,i)&&!e(i,t[i]))break}function h(t,e){l(t,function(t,i){return e(t,i),!0})}function u(t,e,i){n.__(a(t).sort(i),function(i){e(i,t[i])})}function p(t,e){return Object.assign({},t,e)}function d(t){return JSON.parse(JSON.stringify(t))}function c(t,e,i){n.__(i,function(i){r.a4(t[i])&&(e[i]=t[i])})}function f(t,e,i){n.__(i,function(i){e[i]=t[i]})}function g(t,e){c(t,e,a(t))}},44845:function(t,e,i){function n(t){switch(t){case 0:return 0;case -1:return 1;case 1:return -1}}function r(t,e){return 0===t?e:t}i.d(e,{B:function(){return n},or:function(){return r}})},66016:function(t,e,i){i.d(e,{KN:function(){return r},QE:function(){return n},_3:function(){return s}});var n=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value/100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"percent",{get:function(){return this._value},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return""+this._value+"%"},t}();function r(t){return new n(t)}function s(t){return t instanceof n}},80999:function(t,e,i){i.d(e,{Ft:function(){return d},H$:function(){return f},Z4:function(){return c}});var n=i(3460),r=i(85802),s=i(42969),a=i(18586),o=i(31272),l=i(22855),h=i(42736),u=i(30101),p=i(13866),d=function(t){function e(){var e=t.call(this)||this;return e._rules=new s.B8,e._appliedRules={},e._appliedTargets=[],e._useDefault=!0,e.adapter=new a.Y3(e),e._enabled=!1,e._responsiveDisposers=[],e._noStates=[],e.className="Responsive",e.rules.events.on("inserted",function(){e.checkRules()},!0),e.rules.events.on("removed",function(){e.checkRules()},!0),e._disposers.push(e.rules.events),e.applyTheme(),e}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"component",{get:function(){return this._component},set:function(t){var e=this;t!=this._component&&(this.disposeResponsiveHandlers(),this._component=t,this._responsiveDisposers.push(u._W(this.component).events.on("sizechanged",function(){e.checkRules()},this)),this._responsiveDisposers.push(u._W(this.component).events.once("datavalidated",function(){e._component.isReady()&&e.checkRules(!0)},this)),this.enabled=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.adapter.apply("enabled",this._enabled)},set:function(t){this._enabled!=t&&(this._enabled=t,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefault",{get:function(){return this.adapter.apply("useDefault",this._useDefault)}
1,set:function(t){this._useDefault!=t&&(this._useDefault=t,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rules",{get:function(){return this.adapter.apply("rules",this._rules)},set:function(t){this._rules=t,this._enabled=!0,this.applyRules()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultRules",{get:function(){return this.adapter.apply("defaultRules",c)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allRules",{get:function(){var t=new s.B8;return this.useDefault&&t.copyFrom(this.defaultRules),t.copyFrom(this.rules),this.adapter.apply("allRules",t)},enumerable:!0,configurable:!0}),e.prototype.isApplied=function(t){var e=this._appliedRules[t];return!!u.a4(e)&&e},e.prototype.checkRules=function(t){var e=this;void 0===t&&(t=!1);var i=this.allRules;if(i&&0!=i.length){var n=!1,r=u._W(this.component);if(0!=r.pixelWidth&&0!=r.pixelHeight&&(l.__(i.iterator(),function(t){t.id||(t.id=o.u.getUniqueId());var i=t.relevant(r);(i&&!e.isApplied(t.id)||!i&&e.isApplied(t.id))&&(n=!0),e._appliedRules[t.id]=i}),t&&(n=!0),n)){if(!this.component.isReady()){r.hidden=!0,r.events.once("ready",function(t){t.target.show(0),e._applyRules()});return}this.dispatchImmediately("ruleschanged"),this._applyRules()}}},e.prototype._applyRules=function(){var t=this;this._timeout&&this._timeout.dispose(),this._timeout=this.setTimeout(function(){t.applyRules()},10)},e.prototype.applyRules=function(t){var e=this,i=u.a4(t)?t:u._W(this.component),n=!1;if(this.enabled){var r=!1;l.__(this.allRules.iterator(),function(t){var s=e.getState(t,i);s&&(n||(-1!==h.qh(e._appliedTargets,i.uid)&&i.setState(e.getDefaultState(i),0),n=!0),e.isApplied(u._W(t.id))&&(s.transitionDuration=0,e.setTargetState(i,s),e.dispatchImmediately("ruleapplied",{rule:t}),r=!0))}),r?h.HC(this._appliedTargets,i.uid):h.TF(this._appliedTargets,i.uid)}i.children&&l.__(i.children.iterator(),function(t){e.applyRules(t)})},e.prototype.getState=function(t,e){var i="responsive-"+t.id,n=e.uid+"_"+i;if(-1===h.qh(this._noStates,n)){if(e.states.hasKey(i))return e.states.getKey(i);var r=t.state(e,i);return r||this._noStates.push(n),r}},e.prototype.getDefaultState=function(t){return t.states.hasKey("responsive-default")?t.states.getKey("responsive-default"):t.states.create("responsive-default")},e.prototype.setTargetState=function(t,e){var i=this,n=this.getDefaultState(t);p.__(e.properties,function(e,r){u.a4(n.properties[e])||(n.properties[e]=i.getValue(t,e))}),t.setState(e)},e.prototype.getValue=function(t,e){var i=t.getPropertyValue(e);return!u.a4(i)&&u.a4(t[e])&&(i=t[e]),i},e.prototype.dispose=function(){this.disposeResponsiveHandlers(),t.prototype.dispose.call(this)},e.prototype.disposeResponsiveHandlers=function(){for(var t=this._responsiveDisposers.pop();t;)t.dispose(),t=this._responsiveDisposers.pop()},e}(r._),c=new s.B8;c.events.on("inserted",function(t){t.newValue.id=o.u.getUniqueId()});var f=function(){function t(){}return t.widthXXS=function(e){return e.pixelWidth<=t.XXS},t.widthXS=function(e){return e.pixelWidth<=t.XS},t.widthS=function(e){return e.pixelWidth<=t.S},t.widthM=function(e){return e.pixelWidth<=t.M},t.widthL=function(e){return e.pixelWidth<=t.L},t.widthXL=function(e){return e.pixelWidth<=t.XL},t.widthXXL=function(e){return e.pixelWidth<=t.XXL},t.heightXXS=function(e){return e.pixelHeight<=t.XXS},t.heightXS=function(e){return e.pixelHeight<=t.XS},t.heightS=function(e){return e.pixelHeight<=t.S},t.heightM=function(e){return e.pixelHeight<=t.M},t.heightL=function(e){return e.pixelHeight<=t.L},t.heightXL=function(e){return e.pixelHeight<=t.XL},t.heightXXL=function(e){return e.pixelHeight<=t.XXL},t.isXXS=function(e){return e.pixelWidth<=t.XXS&&e.pixelHeight<=t.XXS},t.isXS=function(e){return e.pixelWidth<=t.XS&&e.pixelHeight<=t.XS},t.isS=function(e){return e.pixelWidth<=t.S&&e.pixelHeight<=t.S},t.isM=function(e){return e.pixelWidth<=t.M&&e.pixelHeight<=t.M},t.isL=function(e){return e.pixelWidth<=t.L&&e.pixelHeight<=t.L},t.isXL=function(e){return e.pixelWidth<=t.XL&&e.pixelHeight<=t.XL},t.isXXL=function(e){return e.pixelWidth<=t.XXL&&e.pixelHeight<=t.XXL},t.maybeXXS=function(e){return e.pixelWidth<=t.XXS||e.pixelHeight<=t.XXS},t.maybeXS=function(e){return e.pixelWidth<=t.XS||e.pixelHeight<=t.XS},t.maybeS=function(e){return e.pixelWidth<=t.S||e.pixelHeight<=t.S},t.maybeM=function(e){return e.pixelWidth<=t.M||e.pixelHeight<=t.M},t.maybeL=function(e){return e.pixelWidth<=t.L||e.pixelHeight<=t.L},t.maybeXL=function(e){return e.pixelWidth<=t.XL||e.pixelHeight<=t.XL},t.maybeXXL=function(e){return e.pixelWidth<=t.XXL||e.pixelHeight<=t.XXL},t.XXS=100,t.XS=200,t.S=300,t.M=400,t.L=600,t.XL=800,t.XXL=1e3,t}()}
1,85280:function(t,e,i){i.d(e,{QE:function(){return p},aG:function(){return h},qc:function(){return u}});var n=i(3460),r=i(75300),s=i(42736),a=i(22855),o=i(30101),l=function(){function t(t){this._values=[],this.events=new r.Q,null!=t&&this.setAll(t)}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype._insert=function(t){return this._values.push(t),this._values.length-1},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.indexOf=function(t){return s.qh(this._values,t)},t.prototype.contains=function(t){return -1!==this.indexOf(t)},t.prototype.getIndex=function(t){return this._values[t]},Object.defineProperty(t.prototype,"first",{get:function(){return this._values[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._values[this._values.length-1]},enumerable:!0,configurable:!0}),t.prototype.insert=function(t){var e=this._insert(t);this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,index:e,newValue:t})},t.prototype.remove=function(t){var e=this.indexOf(t);if(-1!==e){var i=this._values[e];s.xR(this._values,e),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,index:e,oldValue:i})}},t.prototype.setAll=function(t){var e=this;s.W$(this._values,function(t,i){e._values.pop(),e.events.isEnabled("removed")&&e.events.dispatchImmediately("removed",{type:"removed",target:e,index:i,oldValue:t})}),s.__(t,function(t){e.insert(t)})},t.prototype.clear=function(){this.setAll([])},t.prototype.slice=function(e,i){var n=new t;return n._values=this._values.slice(e,i),n},t.prototype.findClosestIndex=function(t,e,i){void 0===i&&(i="any");var n,r,s=-1,l=0;return a.FY(this.iterator(),function(a){var h=e(a);if("any"===i){if(h===t)return s=l,!1;var u=Math.abs(t-h);(!o.a4(r)||r>u)&&(s=l,n=h,r=u)}else"left"===i&&h<t?(!o.a4(n)||n<h)&&(s=l,n=h):"right"===i&&h>=t&&(!o.a4(n)||n>=h)&&(s=l,n=h);return++l,!0}),-1===s&&("left"===i?s=0:"right"===i&&(s=this.length-1)),s},t.prototype.iterator=function(){return a.ci(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return(0,n.YH)(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:if(!(e<t))return[3,4];return[4,this._values[e]];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}})},t.prototype.each=function(t){s.__(this._values,t)},t}(),h=function(t){function e(e){var i=t.call(this)||this;return i._ordering=e,i}return(0,n.C6)(e,t),e.prototype._insert=function(t){var e=s.IU(this._values,this._ordering,t).index;return s.At(this._values,e,t),e},e.prototype.indexOf=function(t){var e=s.IU(this._values,this._ordering,t),i=e.found,n=e.index;return i?n:-1},e.prototype.update=function(t){var e=s.qh(this._values,t);if(-1!==e){var i=this._values.length-1;(0===e||0>this._ordering(this._values[e-1],t))&&(e===i||0>this._ordering(t,this._values[e+1]))||(s.xR(this._values,e),this._insert(t))}},e}(l),u=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.__(t.iterator(),function(t){e.insert(t.clone())})},e.prototype.slice=function(t,i){var n=new e(this.template);return n._values=this._values.slice(t,i),n},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(l),p=function(t){function e(e,i){var n=t.call(this,i)||this;return n.template=e,n}return(0,n.C6)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.__(t.iterator(),function(t){e.insert(t.clone())})},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(h)}
1,96120:function(t,e,i){function n(t,e){return t===e?0:t<e?-1:1}function r(t,e){return Array(e+1).join(t)}function s(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}i.d(e,{fq:function(){return n},ux:function(){return r},yT:function(){return s}})},6183:function(t,e,i){i.d(e,{An:function(){return n},Kx:function(){return o},cb:function(){return l},ft:function(){return a},uk:function(){return r},vH:function(){return s}});var n="string",r="number",s="date",a="duration",o="__\xa7\xa7\xa7__",l="__\xa7\xa7\xa7\xa7__"},86432:function(t,e,i){i.d(e,{$_:function(){return function t(e,i,n,r){e=new Date(e.getTime()),i=new Date(i.getTime());var a=0,o=0;r||"millisecond"==n||(a=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-a),o=i.getTimezoneOffset(),i.setUTCMinutes(i.getUTCMinutes()-o));var l=!1;switch(n){case"year":e.getUTCFullYear()!=i.getUTCFullYear()&&(l=!0);break;case"month":e.getUTCFullYear()!=i.getUTCFullYear()?l=!0:e.getUTCMonth()!=i.getUTCMonth()&&(l=!0);break;case"day":e.getUTCMonth()!=i.getUTCMonth()?l=!0:e.getUTCDate()!=i.getUTCDate()&&(l=!0);break;case"hour":e.getUTCHours()!=i.getUTCHours()&&(l=!0);break;case"minute":e.getUTCMinutes()!=i.getUTCMinutes()&&(l=!0);break;case"second":e.getUTCSeconds()!=i.getUTCSeconds()&&(l=!0);break;case"millisecond":e.getTime()!=i.getTime()&&(l=!0)}if(l)return!0;var h=s(n);return!!h&&(e.setUTCMinutes(e.getUTCMinutes()+a),i.setUTCMinutes(i.getUTCMinutes()+o),t(e,i,h,r))}},C:function(){return l},Ds:function(){return a},J8:function(){return p},LI:function(){return function t(e,i,r,s,o,l,h,p){void 0===h&&(h=0),n.Et(r)||(r=1);var d=0;switch(p&&-1!=["day","month","week","year"].indexOf(i)&&(e=u(e,p)),!o&&"millisecond"!=i&&(d=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-d)),i){case"day":var c=e.getUTCDate();if(r>1){if(l){l=t(l,"day",1);var f=Math.floor((e.getTime()-l.getTime())/a("day")/r),g=a("day",f*r);e.setTime(l.getTime()+g-d*a("minute"))}}else e.setUTCDate(c);e.setUTCHours(0,0,0,0);break;case"second":var y=e.getUTCSeconds();r>1&&(y=Math.floor(y/r)*r),e.setUTCSeconds(y,0);break;case"millisecond":if(1==r)return e;var m=e.getUTCMilliseconds();m=Math.floor(m/r)*r,e.setUTCMilliseconds(m);break;case"hour":var v=e.getUTCHours();r>1&&(v=Math.floor(v/r)*r),e.setUTCHours(v,h,0,0);break;case"minute":var b=e.getUTCMinutes();m=e.getUTCMilliseconds(),r>1&&(b=Math.floor(b/r)*r),e.setUTCMinutes(b,0,0);break;case"month":var _=e.getUTCMonth();r>1&&(_=Math.floor(_/r)*r),e.setUTCMonth(_,1),e.setUTCHours(0,h,0,0);break;case"year":var x=e.getUTCFullYear();r>1&&(x=Math.floor(x/r)*r),e.setUTCFullYear(x,0,1),e.setUTCHours(0,h,0,0);break;case"week":var P=e.getUTCDate(),C=e.getUTCDay();n.Et(s)||(s=1),P=C>=s?P-C+s:P-(7+C)+s,e.setUTCDate(P),e.setUTCHours(0,h,0,0)}if(!o&&"millisecond"!=i&&(e.setUTCMinutes(e.getUTCMinutes()+d),"day"==i||"week"==i||"month"==i||"year"==i)){var w=e.getTimezoneOffset();if(w!=d){var O=w-d;e.setUTCMinutes(e.getUTCMinutes()+O)}}return e}},WB:function(){return o},WQ:function(){return h},a6:function(){return u},qG:function(){return s}});var n=i(30101),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function s(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function a(t,e){return n.a4(e)||(e=1),r[t]*e}function o(){return new Date().getTime()}function l(t){return new Date(t.getTime())}function h(t,e,i,n){var r=0;switch(!n&&"millisecond"!=e&&(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r)),e){case"day":var s=t.getUTCDate();t.setUTCDate(s+i);break;case"second":var a=t.getUTCSeconds();t.setUTCSeconds(a+i);break;case"millisecond":var o=t.getUTCMilliseconds();t.setUTCMilliseconds(o+i);break;case"hour":var l=t.getUTCHours();t.setUTCHours(l+i);break;case"minute":var h=t.getUTCMinutes();t.setUTCMinutes(h+i);break;case"year":var u=t.getUTCFullYear();t.setUTCFullYear(u+i);break;case"month":var p=t.getUTCMonth();t.setUTCMonth(p+i);break;case"week":var d=t.getUTCDate();t.setUTCDate(d+7*i)}if(!n&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+r),"day"==e||"week"==e||"month"==e||"year"==e)){var c=t.getTimezoneOffset();if(c!=r){var f=c-r;t.setUTCMinutes(t.getUTCMinutes()+f),t.getTimezoneOffset()!=c&&t.setUTCMinutes(t.getUTCMinutes()-f)}}return t}
1function u(t,e){return new Date(t.toLocaleString("en-US",{timeZone:e}))}function p(t){var e=new Date;return e.setHours(0,0,0,0),u(e,t).getMinutes()}},30101:function(t,e,i){i.d(e,{$P:function(){return f},Et:function(){return y},F9:function(){return a},G4:function(){return o},Gv:function(){return m},Kg:function(){return g},Ro:function(){return l},_W:function(){return d},a4:function(){return p},cy:function(){return v},fE:function(){return h},nV:function(){return u},ti:function(){return c},yr:function(){return r}});var n=i(66016);function r(t){return Number(t)!==t}function s(t){return({}).toString.call(t)}function a(t){if("string"==typeof t)return t;if("number"==typeof t)return""+t;throw Error("Expected a string or number but got "+s(t))}function o(t){return!!t}function l(t){if(p(t)&&!y(t)){var e=Number(t);return r(e)&&g(t)&&""!=t?l(t.replace(/[^0-9.\-]+/g,"")):e}return t}function h(t){if(p(t)&&!g(t)){if(y(t))return a(t);else if(m(t))return t.toString()}return t}function u(t){return!p(t)||y(t)||(0,n._3)(t)?t:g(t)&&-1!=t.indexOf("%")?(0,n.KN)(l(t)):l(t)}function p(t){return null!=t}function d(t){if(p(t))return t;throw Error("Value doesn't exist")}function c(t,e){return p(t)?t:e}function f(t){return"[object Date]"===s(t)}function g(t){return"string"==typeof t}function y(t){return"number"==typeof t&&Number(t)==t}function m(t){return"object"==typeof t&&null!=t}function v(t){return Array.isArray(t)}},35580:function(t,e,i){i.d(e,{As:function(){return _},BO:function(){return O},Bq:function(){return w},C:function(){return f},Ce:function(){return C},DJ:function(){return Y},FN:function(){return G},JY:function(){return y},Jx:function(){return H},Kq:function(){return F},LG:function(){return m},L_:function(){return R},Lb:function(){return p},NB:function(){return S},Nr:function(){return j},O:function(){return W},VL:function(){return Q},X2:function(){return B},ZH:function(){return b},_Q:function(){return L},aw:function(){return c},bT:function(){return X},c9:function(){return P},fZ:function(){return D},gO:function(){return J},gV:function(){return k},hj:function(){return g},k0:function(){return Z},kH:function(){return u},lT:function(){return ta},oI:function(){return K},rq:function(){return z},sJ:function(){return v},tg:function(){return N},tj:function(){return U},to:function(){return M},tr:function(){return I},uJ:function(){return $},um:function(){return V},w1:function(){return tt},we:function(){return ts},wh:function(){return A},xp:function(){return x},yq:function(){return E},zn:function(){return q}}),i(66016);var n=i(65153),r=i(39351),s=i(30101),a=i(96120),o=i(6183),l=i(13866),h=i(42736);function u(t){}function p(t,e){return l.__(t,function(t,i){s.a4(i)&&(e[t]=i)}),e}function d(t){return/^[^#]*/.exec(t)[0]}function c(){var t="#";if((0,n.n)()){var e=document.baseURI;if(e){e=d(e);var i=d(location.href);e!==i&&(t=i+t)}}return t}function f(t,e){return l.__(t,function(t,i){e[t]=i}),e}function g(t){return s.a4(t)&&""!==t.toString()}function y(t,e){return s.Et(t)?t:null!=t&&s.Et(t.value)&&s.Et(e)?e*t.value:0}function m(t,e,i){var n;return s.Et(t)?(n=t)<0&&(n=i?e+n:e-n):null!=t&&s.Et(t.value)&&(n=e*t.value),n}function v(){return window.devicePixelRatio||1}function b(t){var e=t.split("");return e[0]=e[0].toUpperCase(),e.join("")}function _(t){return JSON.stringify(t)}function x(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function P(t,e,i,n,r){if(t.length<=e)return[t];var s=[];if(i){for(var a=-1,l=t.replace(/([,;:!?\\\/]+|[\s])/g,o.Kx+"$1"+o.Kx).split(o.Kx),h=1;h<l.length;h++){var u=l[h];("."==u||","==u)&&l[h-1].match(/[\w]+$/)&&(l[h-1]+=u,l[h]="")}for(var h=0;h<l.length;h++){var u=l[h],p=u.length;if(0!==p){if(p>e&&(!0!==i||!1!=r)){n&&(u=T(u));var d=u.match(RegExp(".{1,"+e+"}","g"));if(d){if(n)for(var c=0;c<d.length;c++)d[c]=T(d[c]);s=s.concat(d)}}else -1===a&&(s.push(""),a=0),s[a].length+p+1>e&&""!==s[a]&&(s.push(""),a++),s[a]+=u;a=s.length-1}}}else{var d=t.match(RegExp(".{1,"+e+"}","g"));if(d){if(n)for(var c=0;c<d.length;c++)d[c]=T(d[c]);s=d}}return 1==s.length&&i&&r&&s[0].length>e&&(s=[]),s}function C(t,e,i,n,r){return t.length<=e?t:((e-=i.length)<1&&(e=1),(P(t,e,n,r)[0]||"")+i)}function w(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function O(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")}function S(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")}function T(t){return t.split("").reverse().join("")}function I(t,e,i){return void 0===e&&(e=0),void 0===i&&(i="0"),"string"!=typeof t&&(t=t.toString()),e>t.length?Array(e-t.length+1).join(i)+t:t}function k(t){if(void 0===t)return o.An;var e=(t=(t=(t=t.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);return e?e[1]:t===o.uk?o.uk:t===o.vH?o.vH:t===o.ft?o.ft:t.match(/[#0]/)?o.uk:t.match(/[ymwdhnsqaxkzgtei]/)?o.vH:o.An}function D(t){return t.replace(/\/(date|number|duration)$/i,"")}function F(t){return t?t.replace(/<[^>]*>/g,""):t}function A(t){return t?F((""+t).replace(/[\n\r]+/g,". ")):t}function V(t){if(s.yr(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(0===t&&1/t==-1/0)return"-0";var e,i=t<0;t=Math.abs(t);var n=s._W(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),r=n[1],o=n[2]||"";if(null==n[3])e=""===o?r:r+"."+o;else{var l=+n[3];if(t<1){var h=l-1;e="0."+a.ux("0",h)+r+o}else{var h=l-o.length;e=0===h?r+o:h<0?r+o.slice(0,h)+"."+o.slice(h):r+o+a.ux("0",h)}}return i?"-"+e:e}function E(t){if(s.$P(t)){var e=new Date(t);return e.setMilliseconds(t.getMilliseconds()),e}if(s.Et(t))return new Date(t);var i=Number(t);return new Date(s.Et(i)?i:t)}function M(t){if(s.$P(t))return t.getTime();if(s.Et(t))return t;if(s.Kg(t)){var e=Number(t);if(!s.Et(e))return;return e}}function L(t,e){void 0===e&&(e=!1);var i=new Date(t.getFullYear(),0,0);return Math.floor((t.getTime()-i.getTime()+(i.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5)}function j(t,e){void 0===e&&(e=!1);var i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),n=i.getUTCDay()||7;i.setUTCDate(i.getUTCDate()+4-n);var r=new Date(Date.UTC(i.getUTCFullYear(),0,1));return Math.ceil(((i.getTime()-r.getTime())/864e5+1)/7)}function R(t,e){void 0===e&&(e=!1);var i=j(new Date(t.getFullYear(),t.getMonth(),1),e),n=j(t,e);return 1==n&&(n=53),n-i+1}function B(t,e,i,n){void 0===i&&(i=1),void 0===n&&(n=!1);var r=new Date(e,0,4,0,0,0,0);return n&&r.setUTCFullYear(e),7*t+i-((r.getDay()||7)+3)}function H(t,e){return t>12?t-=12:0===t&&(t=12),s.a4(e)?t+(e-1):t}function W(t,e,i,n){if(void 0===e&&(e=!1),void 0===i&&(i=!1),void 0===n&&(n=!1),n)return e?"Coordinated Universal Time":"UTC";
1var r=t.toLocaleString("UTC"),s=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);return!1===i&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),s}function N(t,e,i){return t>i?i:t<e?e:t}function Y(t,e,i){var n=i-e;return t>i?t=e+(t-n*Math.floor(t/n)):t<e&&(t=e+(t-n*Math.floor(t/n))),t}function X(t,e){var i=t.x,n=t.y,a=[];if(e){for(;s.a4(e.parent);)a.push(e),e=e.parent;a.reverse();for(var o=0;o<a.length;o++){var l=a[o],h=l.rotation,u=i-l.pixelX-l.ex,p=n-l.pixelY-l.ey;l.dx&&(i-=l.dx),l.dy&&(n-=l.dy);var d=l.scale;l.group&&(d=l.group.scale),i=(r.gn(-h)*u-r.F8(-h)*p)/d-l.pixelPaddingLeft,n=(r.gn(-h)*p+r.F8(-h)*u)/d-l.pixelPaddingTop}}return{x:i,y:n}}function z(t,e){var i=t.x,n=t.y;if(e)for(;s.a4(e.parent);){var a=e.rotation;i+=e.pixelPaddingLeft+e.ex,n+=e.pixelPaddingTop+e.ey;var o=e.scale;e.group&&(o=e.group.scale);var l=e.pixelX+(i*r.gn(a)-n*r.F8(a))*o,h=e.pixelY+(i*r.F8(a)+n*r.gn(a))*o;e.dx&&(l+=e.dx),e.dy&&(h+=e.dy),i=l,n=h,e=e.parent}return{x:i,y:n}}function K(t,e,i){return X(z(t,e),i)}function U(t,e){var i=z(t,e),n=z({x:t.x+t.width,y:t.y+t.height},e);return{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}}function G(t,e,i){try{var n=e.getBoundingClientRect();return s.Et(i)||(i=1),{x:(t.x-n.left)/i,y:(t.y-n.top)/i}}catch(e){return t}}function q(t,e){try{var i=e.getBoundingClientRect();return{x:t.x+i.left,y:t.y+i.top}}catch(e){return t}}function Z(t,e){return e&&e.htmlContainer?X(G(t,s._W(e.htmlContainer),e.svgContainer.cssScale),e):t}function J(t,e){return e&&e.htmlContainer?q(z(t,e),s._W(e.htmlContainer)):t}function Q(t){var e=getComputedStyle(t),i=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),n=parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth);return t.clientWidth-i-n}function $(t){var e=getComputedStyle(t),i=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),n=parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth);return t.clientHeight-i-n}function tt(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}var te=/^([a-zA-Z][a-zA-Z0-9\+\.\-]*:)?(?:(\/\/)([^\@]+\@)?([^\/\?\#\:]*)(\:[0-9]+)?)?([^\?\#]*)(\?[^\#]*)?(\#.*)?$/;function ti(t){var e=te.exec(t);return{protocol:e&&e[1]||"",separator:e&&e[2]||"",authority:e&&e[3]||"",domain:e&&e[4]||"",port:e&&e[5]||"",path:e&&e[6]||"",query:e&&e[7]||"",hash:e&&e[8]||""}}function tn(t){return t.protocol+t.separator+t.authority+t.domain+t.port+t.path+t.query+t.hash}function tr(t){return""===t.protocol&&""===t.separator&&""===t.authority&&""===t.domain&&""===t.port}function ts(t,e){var i=ti(t),n=ti(e);if(tr(i))throw Error("Left URL is not absolute");if(!tr(n))return tn(n);if(""!==n.path)if("/"===n.path[0])i.path=n.path;else{var r=i.path.split(/\//),s=n.path.split(/\//);if(0===r.length?0!==s.length&&r.push(""):r.length>1&&r.pop(),h.iI(r,s),i.path=r.join("/"),""!==i.path&&"/"!==i.path[0])throw Error("URL path must start with /")}return i.query=n.query,i.hash=n.hash,tn(i)}function ta(){return!!window.MSInputMethodContext&&!!document.documentMode}},95026:function(t,e,i){i.d(e,{m:function(){return a}});var n=i(3460),r=i(85802),s=i(31272),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._validateDisposer=null,e}return(0,n.C6)(e,t),e.prototype.invalidate=function(){null===this._validateDisposer&&(this._validateDisposer=s.u.events.on("exitframe",this.validate,this))},e.prototype.validate=function(){null!==this._validateDisposer&&(this._validateDisposer.dispose(),this._validateDisposer=null)},e.prototype.dispose=function(){null!==this._validateDisposer&&(this._validateDisposer.dispose(),this._validateDisposer=null),t.prototype.dispose.call(this)},e}(r._)},57124:function(t,e,i){i.d(e,{rW:function(){return t5},s$:function(){return L},a:function(){return t_},kW:function(){return eO},rt:function(){return ep},p:function(){return ie},cX:function(){return ty},FL:function(){return td},C1:function(){return tT},Im:function(){return tM},Av:function(){return ip},wh:function(){return t3}});var n,r,s=i(3460),a=i(31272),o=i(35376),l=i(37688),h=i(42969),u=i(1944),p=i(79779),d=i(85737),c=i(14230),f=i(35395),g=i(66016),y=i(40645),m=function(t){function e(){var e=t.call(this)||this;e.className="Grip";var i=new f.T;e.layout="absolute",e.padding(10,10,10,10),e.margin(3,3,3,3),e.background.fillOpacity=.3,e.background.cornerRadius(10,10,10,10);var n=new c.kx;n.element=e.paper.add("path");var r=y.tw({x:-6,y:0});return r+=y.a5({x:6,y:0}),r+=y.tw({x:-8,y:-6}),r+=y.a5({x:0,y:-12}),r+=y.a5({x:8,y:-6}),r+=y.tw({x:-8,y:6}),r+=y.a5({x:0,y:12}),n.path=r+=y.a5({x:8,y:6}
1),n.strokeWidth=2,n.fillOpacity=0,n.pixelPerfect=!0,n.padding(0,4,0,4),n.stroke=i.getFor("text"),n.strokeOpacity=.7,n.align="center",n.valign="middle",e.icon=n,e.label.dispose(),e.label=void 0,e.position="right",e.autoHideDelay=3e3,e.events.on("shown",function(t){e._autoHideTimeout&&e._autoHideTimeout.dispose(),e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.events.on("down",function(t){e._autoHideTimeout&&e._autoHideTimeout.dispose()}),e.events.on("out",function(t){e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){if(this.setPropertyValue("position",t))switch(t){case"left":this.align="left",this.valign="middle",this.horizontalCenter="left",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=(0,g.KN)(30);break;case"right":this.align="right",this.valign="middle",this.horizontalCenter="right",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=(0,g.KN)(30);break;case"top":this.align="center",this.valign="top",this.horizontalCenter="middle",this.verticalCenter="top",this.icon.rotation=90,this.width=(0,g.KN)(30),this.height=void 0;break;case"bottom":this.align="center",this.valign="bottom",this.horizontalCenter="middle",this.verticalCenter="bottom",this.icon.rotation=90,this.width=(0,g.KN)(30),this.height=void 0;break;default:this.align="center",this.valign="middle",this.horizontalCenter="middle",this.verticalCenter="middle",this.icon.rotation=90,this.width=(0,g.KN)(30),this.height=void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoHideDelay",{get:function(){return this.getPropertyValue("autoHideDelay")},set:function(t){this.setPropertyValue("autoHideDelay",t)},enumerable:!0,configurable:!0}),e}(d.$);a.u.registeredClasses.Grip=m;var v=i(53624),b=i(22855),_=i(30101),x=i(80999),P=function(t){function e(){var e=t.call(this)||this;return e.className="ChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(v.s),C=function(t){function e(){var i=t.call(this)||this;if(i._legend=new l.h1,i.constructor===e)throw Error("'Chart' cannot be instantiated directly. Please use a specific chart type.");i.className="Chart";var n=new p.J;i.titles=new h.TS(n),i._disposers.push(new h.a(i.titles)),i._disposers.push(n),i.width=(0,g.KN)(100),i.height=(0,g.KN)(100),i.layout="vertical";var r=i.createChild(u.m);r.shouldClone=!1,r.layout="vertical",r.width=(0,g.KN)(100),r.height=(0,g.KN)(100),i.chartAndLegendContainer=r;var s=r.createChild(u.m);return s.shouldClone=!1,s.width=(0,g.KN)(100),s.height=(0,g.KN)(100),i.chartContainer=s,i.showOnInit=!0,i._disposers.push(i._legend),i.titles.events.on("inserted",function(t){i.processTitle(t),i.updateReaderTitleReferences()},i,!1),i.titles.events.on("removed",function(t){i.updateReaderTitleReferences()},i,!1),i.role="region",i.defaultState.transitionDuration=1,i.applyTheme(),i}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Chart"))},e.prototype.draw=function(){this.fixLayout(),t.prototype.draw.call(this)},e.prototype.fixLayout=function(){var t=this.legend;if(t){var e=this.chartAndLegendContainer,i=this.chartContainer;switch(i.x=void 0,i.y=void 0,"absolute"!=t.position&&(t.x=void 0,t.y=void 0),t.position){case"left":e.layout="horizontal",t.toBack();break;case"right":e.layout="horizontal",t.toFront();break;case"top":e.layout="vertical",t.toBack();break;case"bottom":e.layout="vertical",t.toFront();break;case"absolute":t.isMeasured=!1}}},e.prototype.feedLegend=function(){},e.prototype.processTitle=function(t){var e=t.newValue;return e.parent=this,e.toBack(),e.shouldClone=!1,e.align="center",e.uidAttr(),e},e.prototype.updateReaderTitleReferences=function(){if(this.titles.length){var t=[];b.__(this.titles.iterator(),function(e){t.push(e.uid)}),this.setSVGAttribute({"aria-labelledby":t.join(" ")})}else this.removeSVGAttribute("aria-labelledby")},Object.defineProperty(e.prototype,"legend",{get:function(){return this._legend.get()},set:function(t){this.setLegend(t)},enumerable:!0,configurable:!0}),e.prototype.setLegend=function(t){var e=this;this._legend.get()!==t&&(t?(t.parent=this.chartAndLegendContainer,this._legend.set(t,t.events.on("propertychanged",function(t){"position"==t.property&&e.fixLayout()},void 0,!1)),t.addDisposer(new l.W_(function(){e.legend=void 0}))):this._legend.reset(),this.feedLegend())},e.prototype.dispose=function(){this.legend&&this.legend.dispose(),t.prototype.dispose.call(this)},e.prototype.processConfig=function(e){e&&_.a4(e.legend)&&!_.a4(e.legend.type)&&(e.legend.type="Legend"),t.prototype.processConfig.call(this,e)},e.prototype.copyFrom=function(e){this.titles.copyFrom(e.titles),this.chartContainer.copyFrom(e.chartContainer),e.legend&&(this.legend=e.legend.clone(),this.legend.removeChildren()),t.prototype.copyFrom.call(this,e)},Object.defineProperty(e.prototype,"dragGrip",{get:function(){var t=this;if(!this._dragGrip){var e=this.tooltipContainer.createChild(m);e.align="right",e.valign="middle",e.hide(0),e.events.on("down",function(e){e.touch&&(t.interactionsEnabled=!1)}),e.events.on("up",function(e){t.interactionsEnabled=!0}),this.events.on("down",function(t){t.touch&&e.show()}),this._dragGrip=e}return this._dragGrip},set:function(t){this._dragGrip=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusable",{get:function(){return this.parent.focusable},set:function(t){this.parent.focusable=t},enumerable:!0,configurable:!0}),e}(o.u);a.u.registeredClasses.Chart=C,x.Z4.push({relevant:x.H$.widthXS,state:function(t,e){if(t instanceof C){var i=t.states.create(e);return t.pixelPaddingLeft>10&&(i.properties.paddingLeft=10),t.pixelPaddingRight>10&&(i.properties.paddingRight=10),i}return null}}),x.Z4.push({relevant:x.H$.heightXS,state:function(t,e){if(t instanceof C){var i=t.states.create(e);return t.pixelPaddingTop>10&&(i.properties.paddingTop=10),t.pixelPaddingBottom>10&&(i.properties.paddingBottom=10),i}return null}}),x.Z4.push({relevant:x.H$.widthXXS,state:function(t,e){if(t instanceof C){var i=t.states.create(e);return i.properties.paddingLeft=0,i.properties.paddingRight=0,i}return null}}),x.Z4.push({relevant:x.H$.heightXXS,state:function(t,e){if(t instanceof C){var i=t.states.create(e);return i.properties.paddingTop=0,i.properties.paddingBottom=0,i}return null}});var w=i(91489),O=i(81614),S=function(t){function e(){var e=t.call(this)||this;return e.className="Bullet",e.isMeasured=!1,e.tooltipX=0,e.tooltipY=0,e.layout="none",e.applyOnClones=!0,e.copyToLegendMarker=!0,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){if(this.setPropertyValue("locationX",t)){var e=this.dataItem;
1e&&e.component&&e.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){if(this.setPropertyValue("locationY",t)){var e=this.dataItem;e&&e.component&&e.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xField",{get:function(){return this.getPropertyValue("xField")},set:function(t){this.setPropertyValue("xField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this.getPropertyValue("yField")},set:function(t){this.setPropertyValue("yField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDynamic",{get:function(){return this.getPropertyValue("isDynamic")},set:function(t){this.setPropertyValue("isDynamic",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copyToLegendMarker",{get:function(){return this.getPropertyValue("copyToLegendMarker")},set:function(t){this.setPropertyValue("copyToLegendMarker",t)},enumerable:!0,configurable:!0}),e}(u.m);a.u.registeredClasses.Bullet=S,x.Z4.push({relevant:x.H$.isXS,state:function(t,e){if(t instanceof S){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}});var T=i(17539),I=i(73228),k=i(34788),D=i(35580),F=i(39351),A=i(38719),V=i(8023),E=function(t){function e(){var e=t.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this._label=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new l.W_(function(){_.a4(t.component)&&t.component.labels.removeValue(e)}))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueLabel",{get:function(){var t=this;if(!this._valueLabel){var e=this.component.valueLabels.create();this._valueLabel=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new l.W_(function(){_.a4(t.component)&&t.component.valueLabels.removeValue(e)}))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemContainer",{get:function(){var t=this;if(!this._itemContainer){var e=this.component,i=e.itemContainers.create();i.parent=e,this._itemContainer=i,this.addSprite(i),this._disposers.push(i),i.togglable&&i.events.on("toggled",function(t){e.toggleDataItem(t.target.dataItem)},void 0,!1),i.focusable&&(i.events.on("hit",function(t){e.focusedItem=void 0},void 0,!1),i.events.on("focus",function(t){e.focusedItem=t.target.dataItem},void 0,!1),i.events.on("blur",function(t){e.focusedItem=void 0},void 0,!1)),this._disposers.push(new l.W_(function(){_.a4(t.component)&&t.component.itemContainers.removeValue(i)})),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var n=this.dataContext;if((n instanceof v.s||n instanceof c.kx)&&!n.isDisposed()){var r=function(t){i.readerChecked=t.visible,i.events.disableType("toggled"),i.isActive=!t.visible,i.events.enableType("toggled")};n.addDisposer(new l.W_(function(){t.component&&t.component.dataItems.remove(t)})),n instanceof c.kx?(i.addDisposer(n.events.on("visibilitychanged",r,void 0,!1)),i.addDisposer(n.events.on("hidden",function(t){i.readerChecked=!1,i.events.disableType("toggled"),i.isActive=!0,i.events.enableType("toggled")},void 0,!1)),i.addDisposer(n.events.on("shown",function(t){i.readerChecked=!0,i.events.disableType("toggled"),i.isActive=!1,i.events.enableType("toggled")},void 0,!1))):i.addDisposer(n.events.on("visibilitychanged",r,void 0,!1))}}return this._itemContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker",{get:function(){var t=this;if(!this._marker){var e=this.component.markers.create();this._marker=e,e.parent=this.itemContainer,this.addSprite(e),this._disposers.push(e),this._disposers.push(new l.W_(function(){_.a4(t.component)&&t.component.markers.removeValue(e)}))}return this._marker},enumerable:!0,configurable:!0}),e}(v.s),M=function(){this.createMarker=!0},L=function(t){function e(){var e=t.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("scrollable",!1),e.setPropertyValue("contentAlign","center");var i=new u.m;i.applyOnClones=!0,i.padding(8,0,8,0),i.margin(0,10,0,10),i.layout="horizontal",i.clickable=!0,i.focusable=!0,i.role="switch",i.togglable=!0,i.cursorOverStyle=A.h.pointer,i.background.fillOpacity=0,e.itemContainers=new h.TS(i),e._disposers.push(new h.a(e.itemContainers
1)),e._disposers.push(e.itemContainers.template),e._disposers.push((0,k.H)().body.events.on("keyup",function(t){if(I.Q.isKey(t.event,"enter")&&e.focusedItem){var i=e.focusedItem,n=i.itemContainer;n.togglable?e.toggleDataItem(i):n.clickable&&n.events.isEnabled("hit")&&(n.dispatchImmediately("hit",{event:t}),e.focusedItem=i)}},e));var n=new f.T,r=new u.m;r.width=23,r.height=23,r.interactionsEnabled=!1,r.applyOnClones=!0,r.setStateOnChildren=!0,r.background.fillOpacity=0,r.background.strokeOpacity=0,r.propertyFields.fill="fill",r.valign="middle";var s=n.getFor("disabledBackground");r.events.on("childadded",function(t){var e=t.newValue.states.create("active");e.properties.stroke=s,e.properties.fill=s}),e.markers=new h.TS(r),e._disposers.push(new h.a(e.markers)),e._disposers.push(e.markers.template);var a=r.createChild(T.T);a.width=(0,g.KN)(100),a.height=(0,g.KN)(100),a.applyOnClones=!0,a.propertyFields.fill="fill",a.strokeOpacity=0;var o=new p.J;o.text="{name}",o.margin(0,5,0,5),o.valign="middle",o.applyOnClones=!0,o.states.create("active").properties.fill=n.getFor("disabledBackground"),e.labels=new h.TS(o),e._disposers.push(new h.a(e.labels)),e._disposers.push(e.labels.template),o.interactionsEnabled=!1,o.truncate=!0,o.fullWords=!1;var l=new p.J;return l.margin(0,5,0,0),l.valign="middle",l.width=50,l.align="right",l.textAlign="end",l.applyOnClones=!0,l.states.create("active").properties.fill=n.getFor("disabledBackground"),l.interactionsEnabled=!1,e.valueLabels=new h.TS(l),e._disposers.push(new h.a(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",i.states.create("active"),i.setStateOnChildren=!0,e.role="group",e.events.on("layoutvalidated",e.handleScrollbar,e,!1),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},e.prototype.createDataItem=function(){return new E},e.prototype.validateDataElements=function(){this.scrollbar&&(this.scrollbar.start=0,this.scrollbar.end=1),t.prototype.validateDataElements.call(this)},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.itemContainer,n=e.marker;D.kH(e.label);var r=e.valueLabel;i.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var s=e.label.maxWidth;e.label.width instanceof g.QE||(e.label.width=void 0),s>0&&(e.label.maxWidth=s),"right"==r.align&&(r.width=void 0);var a=e.dataContext.legendSettings,o=e.dataContext;!o.createLegendMarker||this.useDefaultMarker&&o instanceof c.kx?this.markers.template.propertyFields.fill=void 0:e.childrenCreated||(o.createLegendMarker(n),e.childrenCreated=!0),o.updateLegendValue&&o.updateLegendValue(),o.component&&o.component.updateLegendValue&&o.component.updateLegendValue(o),r.invalid&&r.validate(),""==r.text||void 0==r.text?r.__disabled=!0:r.__disabled=!1,a&&(void 0!=a.itemValueText||void 0!=a.valueText)&&(r.__disabled=!1);var l=e.dataContext.visible;void 0===l&&(l=!0),l=_.G4(l),e.dataContext.visible=l,i.events.disableType("toggled"),i.isActive=!l,i.isActive?i.setState("active",0):i.setState("default",0),i.events.enableType("toggled")},e.prototype.afterDraw=function(){var e,i=this,n=this.getPropertyValue("maxWidth"),r=0;this.labels.each(function(t){t.invalid&&(t.maxWidth=void 0,t.validate()),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>r&&(r=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)});var s=0;this.valueLabels.each(function(t){t.invalid&&t.validate(),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>s&&(s=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)});var a=0;this.markers.each(function(t){t.invalid&&t.validate(),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>a&&(a=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)});var o=this.itemContainers.template,l=o.pixelMarginRight+o.pixelMarginLeft,h=r+s+a;_.Et(n)?((n-=l)>h&&(n=h),e=n-a-s):e=r,this.labels.each(function(t){"right"!=i.valueLabels.template.align&&!(t.measuredWidth>e)||t.width instanceof g.QE||(t.width=Math.min(t.maxWidth,e-t.pixelMarginLeft-t.pixelMarginRight),t.maxWidth=t.width)}),"right"==this.valueLabels.template.align&&this.valueLabels.each(function(t){t.width=s-t.pixelMarginRight-t.pixelMarginLeft}),t.prototype.afterDraw.call(this)},e.prototype.handleScrollbar=function(){var t=this.scrollbar;this.scrollable&&t&&(t.height=this.measuredHeight,t.x=this.measuredWidth-t.pixelWidth-t.pixelMarginLeft,this.contentHeight>this.measuredHeight?(t.visible=!0,t.thumb.height=t.height*this.measuredHeight/this.contentHeight,this.paddingRight=t.pixelWidth+t.pixelMarginLeft+ +t.pixelMarginRight):t.visible=!1,this.updateMasks())}
1,Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){this.setPropertyValue("position",t)&&("left"==t||"right"==t?(this.margin(10,5,10,10),this.valign="middle",this.contentAlign="none",this.valueLabels.template.align="right",_.Et(this.maxColumns)||(this.maxColumns=1),this.width=void 0,this.maxWidth=220):(this.maxColumns=void 0,this.width=(0,g.KN)(100),this.valueLabels.template.align="left"),this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultMarker",{get:function(){return this.getPropertyValue("useDefaultMarker")},set:function(t){this.setPropertyValue("useDefaultMarker",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollable",{get:function(){return this.getPropertyValue("scrollable")},set:function(t){if(this.setPropertyValue("scrollable",t,!0))if(t){var e=this.createChild(V.Z);this.scrollbar=e,e.isMeasured=!1,e.orientation="vertical",e.endGrip.__disabled=!0,e.startGrip.__disabled=!0,e.visible=!1,e.marginLeft=5,this._mouseWheelDisposer=this.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer),this._disposers.push(e.events.on("rangechanged",this.updateMasks,this,!1))}else this._mouseWheelDisposer&&(this._mouseWheelDisposer.dispose(),this.scrollbar&&(this.scrollbar.dispose(),this.scrollbar=void 0))},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){var e=t.shift.y,i=this.scrollbar;if(i){var n=e/1e3*this.measuredHeight/this.contentHeight,r=i.end-i.start;e>0?(i.start=F.T9(0,i.start-n),i.end=i.start+r):(i.end=F.jk(1,i.end-n),i.start=i.end-r)}},e.prototype.updateMasks=function(){var t=this;this.scrollbar&&this.itemContainers.each(function(e){e.dy=-t.scrollbar.thumb.pixelY*t.contentHeight/t.measuredHeight,e.maskRectangle={x:0,y:-e.dy,width:t.measuredWidth,height:t.measuredHeight}})},e.prototype.toggleDataItem=function(t){var e=t.dataContext;!e.visible||e.isHiding||e instanceof c.kx&&e.isHidden?(t.color=t.colorOrig,e.appeared=!0,t.itemContainer.isActive=!1,!0===e.hidden&&(e.hidden=!1),e.show?e.show():e.visible=!0,this.svgContainer.readerAlert(this.language.translate("%1 shown",this.language.locale,t.label.readerTitle))):(t.itemContainer.isActive=!0,e.appeared=!0,e.hide?e.hide():e.visible=!1,this.svgContainer.readerAlert(this.language.translate("%1 hidden",this.language.locale,t.label.readerTitle)),t.color=new f.T().getFor("disabledBackground"))},Object.defineProperty(e.prototype,"preloader",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.handleDataItemPropertyChange=function(t,e){t.valueLabel.invalidate(),t.label.invalidate()},e}(o.u);a.u.registeredClasses.Legend=L,x.Z4.push({relevant:x.H$.widthXS,state:function(t,e){if(t instanceof L&&("left"==t.position||"right"==t.position)){var i=t.states.create(e);return i.properties.position="bottom",i}return null}}),x.Z4.push({relevant:x.H$.heightXS,state:function(t,e){if(t instanceof L&&("top"==t.position||"bottom"==t.position)){var i=t.states.create(e);return i.properties.position="right",i}return null}}),x.Z4.push({relevant:x.H$.isXS,state:function(t,e){if(t instanceof L){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}});var j=i(48093),R=i(88166),B=i(11159),H=i(13866),W=i(42736),N=i(17133),Y=function(t){function e(){var e=t.call(this)||this;return e.className="SeriesDataItem",e.values.value={},e.values.value={},e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new w.bT,this._disposers.push(new w.ey(this._bullets))),this._bullets},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.bullets.clear(),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),e}(v.s),X=function(t){function e(){var i=t.call(this)||this;if(i._ignoreMinMax=!1,i._showBullets=!0,i.legendSettings=new M,i._tmin=new w.bT,
1i._tmax=new w.bT,i._smin=new w.bT,i._smax=new w.bT,i.dataItemsByAxis=new w.bT,i.skipFocusThreshold=20,i._itemReaderTextChanged=!1,i.calculatePercent=!1,i.usePercentHack=!0,i.autoDispose=!0,i.simplifiedProcessing=!1,i.constructor===e)throw Error("'Series' cannot be instantiated directly. Please use a specific series type.");i.className="Series",i.isMeasured=!1,i.layout="none",i.shouldClone=!1,i.setPropertyValue("hidden",!1),i.axisRanges=new h.B8,i.axisRanges.events.on("inserted",i.processAxisRange,i,!1),i.minBulletDistance=0,i.mainContainer=i.createChild(u.m),i.mainContainer.shouldClone=!1,i.mainContainer.mask=i.createChild(c.kx),i._disposers.push(i.mainContainer);var n=i.mainContainer.createChild(u.m);return i._shouldBeReady.push(n),n.shouldClone=!1,n.layout="none",n.virtualParent=i,i._disposers.push(n),i.bulletsContainer=n,i.tooltip=new O.m,i.tooltip.virtualParent=i,i._disposers.push(i.tooltip),i.hiddenState.transitionEasing=B.EY,i.dataItem=i.createDataItem(),i._disposers.push(i.dataItem),i.dataItem.component=i,i.role="group",i.applyTheme(),i}return(0,s.C6)(e,t),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),j.f.autoSetClassName&&this.bulletsContainer&&(this.bulletsContainer.className=this.className+"-bullets",this.bulletsContainer.setClassName())},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},e.prototype.createDataItem=function(){return new Y},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){},e.prototype.processBullet=function(t){var e=this,i=t.newValue;i.isTemplate=!0,this.events.once("datavalidated",function(t){e.itemsFocusable()&&(i.focusable=!0)}),this.invalidate()},e.prototype.removeBullet=function(t){var e=t.oldValue;this.dataItems.each(function(t){var i=t.bullets.getKey(e.uid);i&&i.dispose()}),this.invalidate()},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.processValues(!1)},e.prototype.getFirstValue=function(t,e){for(var i=e;i>=0;i--){var n=this.dataItems.getIndex(i).getActualWorkingValue(t);if(_.Et(n))return n}return null},e.prototype.getAbsoluteFirstValue=function(t){for(var e=0;e<this.dataItems.length;e++){var i=this.dataItems.getIndex(e).values[t].value;if(_.Et(i))return i}return null},e.prototype.rangeChangeUpdate=function(){t.prototype.rangeChangeUpdate.call(this),this.processValues(!0)},e.prototype.processValues=function(t){var e=this;if(!this.simplifiedProcessing){var i=this.dataItems,n={},r={},s={},a={},o={},l={},h={},u={},p={},d={},c=F.T9(0,this.startIndex);c=F.jk(c,this.dataItems.length);var f=F.jk(this.endIndex,this.dataItems.length);if(_.Et(c)||(c=0),_.Et(f)||(f=this.dataItems.length),c>0){var g=i.getIndex(c-1);H.__(g.values,function(t,e){var i=g.getActualWorkingValue(t);_.Et(i)&&(u[t]=i)})}for(var y=c;y<f;y++)!function(t){var f=i.getIndex(t);H.__(f.values,function(t,i){var g=f.getActualWorkingValue(t);if(_.Et(g)){_.Et(n[t])||(n[t]=0),n[t]++,_.Et(r[t])||(r[t]=0),r[t]+=g,_.Et(s[t])||(s[t]=0),s[t]+=Math.abs(g),_.Et(l[t])||(l[t]=g),h[t]=g,_.Et(a[t])?a[t]>g&&(a[t]=g):a[t]=g,_.Et(o[t])?o[t]<g&&(o[t]=g):o[t]=g,_.Et(p[t])||(p[t]=e.getFirstValue(t,c)),_.Et(d[t])||(d[t]=e.getAbsoluteFirstValue(t)),f.setCalculatedValue(t,g-p[t],"change"),f.setCalculatedValue(t,(g-p[t])/p[t]*100,"changePercent"),f.setCalculatedValue(t,g-d[t],"startChange"),f.setCalculatedValue(t,(g-d[t])/d[t]*100,"startChangePercent");var y=u[t];_.Et(y)||(y=g),f.setCalculatedValue(t,g-y,"previousChange"),f.setCalculatedValue(t,(g-y)/y*100,"previousChangePercent"),u[t]=g}})}(y);if(this.calculatePercent)for(var y=c;y<f;y++)!function(t){var n=i.getIndex(t);H.__(n.values,function(t){var i=s[t],r=n.getActualWorkingValue(t);if(_.Et(r))if(i>0){e.usePercentHack&&r==i&&(i=n.values[t].value);var a=r/i*100;n.setCalculatedValue(t,a,"percent")}else n.setCalculatedValue(t,0,"percent")})}(y);if(c>0){var m=i.getIndex(c-1);H.__(m.values,function(t){var e=m.values[t].value;m.setCalculatedValue(t,e-l[t],"change"),m.setCalculatedValue(t,(e-l[t])/l[t]*100,"changePercent")})}var v=this.dataItem;H.__(v.values,function(t){v.setCalculatedValue(t,r[t],"sum"),v.setCalculatedValue(t,s[t],"absoluteSum"),v.setCalculatedValue(t,r[t]/n[t],"average"),v.setCalculatedValue(t,l[t],"open"),v.setCalculatedValue(t,h[t],"close"),v.setCalculatedValue(t,a[t],"low"),v.setCalculatedValue(t,o[t],"high"),v.setCalculatedValue(t,n[t],"count")})}},e.prototype.validate=function(){D.lT()&&this.filters.clear(),b.__(this.axisRanges.iterator(),function(t){t.validate()}),t.prototype.validate.call(this);var e=this.bulletsContainer;if(e.fill=this.fill,e.stroke=this.stroke,e.x=this.pixelX,e.y=this.pixelY,this.bulletsContainer.children.length>0)if(this._showBullets){for(var i=0;i<this.startIndex;i++){var n=this.dataItems.getIndex(i);n&&n.bullets.each(function(t,e){e.__disabled=!0})}for(var i=this.dataItems.length-1;i>this.endIndex;i--){var n=this.dataItems.getIndex(i);n&&n.bullets.each(function(t,e){e.__disabled=!0})}}else this.bulletsContainer.children.each(function(t){t.__disabled=!0});this.updateTooltipBounds()},e.prototype.updateTooltipBounds=function(){if(this.topParent){var t=this.topParent.maxWidth,e=this.topParent.maxHeight;this.tooltip.setBounds({x:0,y:0,width:t,height:e})}},e.prototype.shouldCreateBullet=function(t,e){return!0},e.prototype.validateDataElement=function(e){var i=this;t.prototype.validateDataElement.call(this,e),this._showBullets?(this.isHidden||(this.bulletsContainer.visible=!0),this.bullets.each(function(t){var n=e.bullets.getKey(t.uid);if(i.shouldCreateBullet(e,t)){if(!n){var r=t.propertyFields.disabled,s=e.dataContext;r&&s&&!1===s[r]?(t.applyOnClones=!1,t.disabled=!1,n=t.clone(),t.disabled=!0,t.applyOnClones=!0):n=t.clone(),n.shouldClone=!1,e.addSprite(n),(!i.visible||i.isHiding)&&n.hide(0)}var a=n.dataItem;if(a!=e){a&&a.bullets.setKey(t.uid,void 0);var o=i.itemReaderText;n instanceof S&&(o||(o="{"+n.xField+"}: {"+n.yField+"}"),n.isDynamic&&(e.events.on("workingvaluechanged",n.deepInvalidate,n,!1),i.dataItem.events.on("workingvaluechanged",n.deepInvalidate,n,!1)),n.deepInvalidate()),n.focusable&&(n.events.on("focus",function(t){n.readerTitle=i.populateString(o,n.dataItem)},void 0,!1),n.events.on("blur",function(t){n.readerTitle=""},void 0,!1)),n.hoverable&&(n.events.on("over",function(t){n.readerTitle=i.populateString(o,n.dataItem)},void 0,!1),n.events.on("out",function(t){n.readerTitle=""},void 0,!1))}n.parent=i.bulletsContainer,e.bullets.setKey(t.uid,n),n.maxWidth=e.itemWidth,n.maxHeight=e.itemHeight,n.__disabled=!1,i.positionBullet(n)}else n&&(n.__disabled=!0)})):this.bulletsContainer.visible=!1},e.prototype.handleDataItemWorkingValueChange=function(t,e){this.dataRangeInvalid||this.invalidateProcessedData()},Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){this._ignoreMinMax=t,this.invalidateDataItems()},enumerable:!0,configurable:!0}),e.prototype.createMask=function(){},e.prototype.processAxisRange=function(t){this.rangesContainer||(this.rangesContainer=this.createChild(u.m),this.rangesContainer.shouldClone=!1,this.rangesContainer.isMeasured=!1);var e=t.newValue;e&&(e.contents.parent=this.rangesContainer,e.isRange=!0,e.events.on("valuechanged",this.invalidateDataItems,this,!1))},e.prototype.getAxisField=function(t){},e.prototype.showTooltipAtPosition=function(t,e){},Object.defineProperty(e.prototype,"minBulletDistance",{get:function(){return this.getPropertyValue("minBulletDistance")},set:function(t){this.setPropertyValue("minBulletDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new h.TS(new S),this._bullets.template.virtualParent=this,this._bullets.events.on("inserted",this.processBullet,this,!1),this._bullets.events.on("removed",this.removeBullet,this,!1),this._disposers.push(new h.a(this._bullets)),this._disposers.push(this._bullets.template)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){},Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.getPropertyValue("hiddenInLegend")},set:function(t){this.setPropertyValue("hiddenInLegend",t)&&this.chart&&this.chart.feedLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getPropertyValue("name")}
1,set:function(t){this.setPropertyValue("name",t);var e=this.legendDataItem;e&&(e.component.invalidate(),e.component.invalidateRawData()),this.readerTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemReaderText",{get:function(){var t=this._itemReaderText;return(!t&&(this.tooltipText?t=D.wh(this.tooltipText):this.tooltipHTML&&(t=D.wh(this.tooltipHTML))),this._adapterO)?this._adapterO.apply("itemReaderText",t):t},set:function(t){this._itemReaderText=t,this._itemReaderTextChanged=!0},enumerable:!0,configurable:!0}),e.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t,e){if(this.legendDataItem){var i=this.legendSettings,n=this.legendDataItem,r=n.label,s=n.valueLabel;t&&!t.isDisposed()||e?(s&&(i.itemValueText&&(s.text=i.itemValueText),s.dataItem=t),r&&(i.itemLabelText&&(r.text=i.itemLabelText),r.dataItem=t)):(r&&((i.labelText||void 0!=i.itemLabelText)&&(r.text=i.labelText),r.dataItem=this.dataItem),s&&((i.valueText||void 0!=i.itemValueText)&&(s.text=i.valueText),s.dataItem=this.dataItem))}},e.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.usePercentHack=e.usePercentHack,this.simplifiedProcessing=e.simplifiedProcessing,t.prototype.copyFrom.call(this,e)},e.prototype.raiseCriticalError=function(t){this._chart&&this._chart.modal&&(this._chart.modal.content=this._chart.adapter.apply("criticalError",t).message,this._chart.modal.closable=!1,j.f.suppressErrors||this._chart.modal.open(),this._chart.disabled=!0),j.f.verbose&&console.log(t)},e.prototype.applyFilters=function(){var e=this;t.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),b.__(this.filters.iterator(),function(t){e.bulletsContainer.filters.push(t.clone())})},Object.defineProperty(e.prototype,"heatRules",{get:function(){var t=this;return this._heatRules||(this._heatRules=new h.B8,this._heatRules.events.on("inserted",function(e){var i=e.newValue,n=i.target;if(n){var r=i.dataField;_.a4(r)||(r="value");var s=t.dataItem,a=i.property,o=_.Ro(i.minValue),l=_.Ro(i.maxValue);_.Et(o)||_.Et(l)||t.dataItem.events.on("calculatedvaluechanged",function(e){e.property==r&&b.__(t.dataItems.iterator(),function(t){var e=!1;W.__(t.sprites,function(t){t.clonedFrom==n&&(t[a]=t[a],e=!0)}),e||W.__(t.sprites,function(t){t instanceof u.m&&b.__(t.children.iterator(),function(t){t.className==n.className?t[a]=t[a]:t instanceof u.m&&t.deepInvalidate()})})})}),t.dataItems.template.events.on("workingvaluechanged",function(t){if(t.property==r){var e=t.target,i=!1;W.__(e.sprites,function(t){t.clonedFrom==n&&(t[a]=t[a],i=!0)}),i||W.__(e.sprites,function(t){t instanceof u.m&&b.__(t.children.iterator(),function(t){t.className==n.className?t[a]=t[a]:t instanceof u.m&&t.deepInvalidate()})})}}),n.adapter.add(a,function(t,e,n){var a=_.Ro(i.minValue),o=_.Ro(i.maxValue),l=i.min,h=i.max;if(e instanceof c.kx){var u=e.propertyFields[n];if(u&&e.dataItem){var p=e.dataItem.dataContext;if(p&&_.a4(p[u]))return t}}var d=e.dataItem;if(_.Et(a)||(a=s.values[r].low),_.Et(o)||(o=s.values[r].high),d&&d.values[r]){var f=d.getActualWorkingValue(r);if(_.a4(l)&&_.a4(h)&&_.Et(a)&&_.Et(o)&&_.Et(f)){var g=void 0;if(g=i.logarithmic?(Math.log(f)*Math.LOG10E-Math.log(a)*Math.LOG10E)/(Math.log(o)*Math.LOG10E-Math.log(a)*Math.LOG10E):(f-a)/(o-a),_.Et(f)&&(!_.Et(g)||Math.abs(g)==1/0)&&(g=.5),_.Et(l))return l+(h-l)*g;if(l instanceof R.Q1)return new R.Q1(N.GW(l.rgb,h.rgb,g))}}return t})}})),this._heatRules},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i;if(e){if(_.a4(e.bullets)&&_.cy(e.bullets))for(var n=0,r=e.bullets.length;n<r;n++){var s=e.bullets[n];_.a4(s.type)||(s.type="Bullet")}_.a4(e.heatRules)&&_.cy(e.heatRules)&&(i=e.heatRules,delete e.heatRules)}if(t.prototype.processConfig.call(this,e),i){for(var n=0,r=i.length;n<r;n++){var a=i[n],o=this;if(_.a4(a.target)&&_.Kg(a.target))if(this.map.hasKey(a.target))o=this.map.getKey(a.target);else for(var l=a.target.split("."),u=0;u<l.length;u++)if(o instanceof h.B8){var p=o.getIndex(_.Ro(l[u]));o=p||o[l[u]]}else{var d=l[u].match(/^(.*)\[([0-9]+)\]/);o=d?o[d[1]]instanceof h.B8?o[d[1]].getIndex(_.Ro(d[2])):o[d[1]][_.Ro(d[2])]:o[l[u]]}a.target=o,_.a4(a.min)&&(a.min=this.maybeColorOrPercent(a.min)),_.a4(a.max)&&(a.max=this.maybeColorOrPercent(a.max))}t.prototype.processConfig.call(this,{heatRules:i})}},e.prototype.configOrder=function(e,i){return e==i?0:"heatRules"==e?1:"heatRules"==i?-1:t.prototype.configOrder.call(this,e,i)},e.prototype.setVisibility=function(e){t.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},e}(o.u);a.u.registeredClasses.Series=X,a.u.registeredClasses.SeriesDataItem=Y;var z=i(50992),K=function(t){function e(){var e=t.call(this)||this;return e.className="SerialChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(P),U=function(t){function e(){var e=t.call(this)||this;e.className="SerialChart",e.colors=new z.e,e._usesData=!1;var i=e.chartContainer.createChild(u.m);i.shouldClone=!1,i.width=(0,g.KN)(100),i.height=(0,g.KN)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(u.m);return n.shouldClone=!1,n.width=(0,g.KN)(100),n.height=(0,g.KN)(100),n.isMeasured=!1,n.zIndex=3,n.layout="none",e.bulletsContainer=n,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.colors&&this.colors.dispose(),this.patterns&&this.patterns.dispose()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new h.TS(this.createSeries()),this._series.events.on("inserted",this.handleSeriesAdded,this,!1),this._series.events.on("removed",this.handleSeriesRemoved,this,!1),this._disposers.push(new h.a(this._series,!1)),this._disposers.push(this._series.template)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesRemoved=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),this.dataUsers.each(function(t){t.invalidateDataItems()}),e.autoDispose?e.dispose():(e.parent=void 0,e.bulletsContainer.parent=void 0);var i=this.legend;if(i){for(var n=this.legend.dataItems,r=n.length-1;r>=0;r--){var s=n.getIndex(r);s&&s.dataContext==e&&i.dataItems.remove(s)}for(var r=i.data.length-1;r>=0;r--){var a=i.data[r];a&&a==e&&W.TF(i.data,a)}}},e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;i.isDisposed()||(i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new l.W_(function(){e.dataUsers.removeValue(i)})),this.handleSeriesAdded2(i),this.handleLegendSeriesAdded(i))},e.prototype.handleLegendSeriesAdded=function(t){!t.hiddenInLegend&&this.legend&&this.legend.addData(t)},e.prototype.handleSeriesAdded2=function(t){var e=this;this.dataInvalid||this._disposers.push(a.u.events.once("exitframe",function(){(!t.data||0==t.data.length)&&(t.data=e.data,t.showOnInit&&(t.reinit(),t.setPropertyValue("showOnInit",!1),t.showOnInit=!0),t.isDisposed()||t.events.once("datavalidated",function(){t.data==e.data&&(t._data=[])}))}))},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];b.__(this.series.iterator(),function(t){t.hiddenInLegend||e.push(t)}),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new X},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(t){this.setPropertyValue("patterns",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},e.prototype.appear=function(){t.prototype.appear.call(this),this.series.each(function(t){t.showOnInit&&t.inited&&t.appear
1()})},e}(C);a.u.registeredClasses.SerialChart=U;var G=i(79200),q=function(t){function e(){var e=t.call(this)||this;e._axis=new l.h1,e.dataItems=new h.B8,e.className="AxisBreak",e.breakSize=.01,e.marginLeft=-5,e.marginRight=-5,e.marginTop=-5,e.marginBottom=-5;var i=new f.T,n=new G.a;n.fill=i.getFor("background"),n.stroke=(0,R.yW)(),n.fillOpacity=.9,n.zIndex=0,e._fillShape=n;var r=new G.a;r.fill=(0,R.yW)(),r.stroke=i.getFor("grid"),r.strokeOpacity=.3,r.zIndex=1,e._startLine=r;var s=new G.a;return s.fill=(0,R.yW)(),s.stroke=(0,R.yW)("#000000"),s.strokeOpacity=.3,s.zIndex=2,e._endLine=s,e._disposers.push(e._axis),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._fillShape&&this._fillShape.dispose(),this._startLine&&this._startLine.dispose(),this._endLine&&this._endLine.dispose()},Object.defineProperty(e.prototype,"startLine",{get:function(){return this._startLine},set:function(t){this._startLine&&this._startLine.dispose(),this._startLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLine",{get:function(){return this._endLine},set:function(t){this._endLine&&this._endLine.dispose(),this._endLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillShape",{get:function(){return this._fillShape},set:function(t){this._fillShape&&this._fillShape.dispose(),this._fillShape=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),e.prototype.addBreakSprite=function(t){t.parent=this,t.isMeasured=!1,this._disposers.push(t)},Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this._axis.get()!==t){this._axis.set(t,t.renderer.gridContainer.events.on("transformed",this.invalidate,this,!1)),t.renderer.createBreakSprites(this);var e=t.axisBreaks.template;this.startLine.copyFrom(e.startLine),this.endLine.copyFrom(e.endLine),this.fillShape.copyFrom(e.fillShape)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"breakSize",{get:function(){return this.getPropertyValue("breakSize")},set:function(t){this.setPropertyValue("breakSize",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.startPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.endPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPosition",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.draw=function(){t.prototype.draw.call(this),this.axis&&this.axis.renderer.updateBreakElement(this)},Object.defineProperty(e.prototype,"startValue",{get:function(){return this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(u.m);a.u.registeredClasses.AxisBreak=q;var Z=i(85280),J=i(51980),Q=function(t){function e(){var e=t.call(this)||this;return e.className="AxisDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if((i=t.axisRanges.template.grid).disabled)return;e=i.clone()}else{if((i=t.renderer.grid.template).disabled)return;e=t.renderer.grid.create(),this._disposers.push(new l.W_(function(){t.renderer.grid.removeValue(e)}))}this.grid=e,e.shouldClone=!1,this._disposers.push(e),e.axis=this.component}}return this._grid},set:function(t){this._grid&&this._grid!=t&&(W.TF(this.sprites,this._grid),this._grid.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(W.TF(t.dataItem.sprites,t),t.dataItem.grid=void 0),this.addSprite(t)),this._grid=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){if(!this._tick){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if((i=t.axisRanges.template.tick).disabled)return;e=i.clone()}else{if((i=t.renderer.ticks.template).disabled)return;
1e=t.renderer.ticks.create(),this._disposers.push(new l.W_(function(){t.renderer.ticks.removeValue(e)}))}this.tick=e,e.axis=this.component,e.shouldClone=!1,this._disposers.push(e)}}return this._tick},set:function(t){this._tick&&this._tick!=t&&(W.TF(this.sprites,this._tick),this._tick.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(W.TF(t.dataItem.sprites,t),t.dataItem.tick=void 0),this.addSprite(t)),this._tick=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){if(!this._label){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if((i=t.axisRanges.template.label).disabled)return;e=i.clone()}else{if((i=t.renderer.labels.template).disabled)return;e=t.renderer.labels.create(),this._disposers.push(new l.W_(function(){t.renderer.labels.removeValue(e)}))}this._disposers.push(e),this.label=e,e.shouldClone=!1,e.axis=this.component,e.virtualParent=t}}return this._label},set:function(t){this._label&&this._label!=t&&(W.TF(this.sprites,this._label),this._label.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(W.TF(t.dataItem.sprites,t),t.dataItem.label=void 0),this.addSprite(t)),this._label=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisFill",{get:function(){if(!this._axisFill){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if(i=t.axisRanges.template.axisFill,!this.isTemplate&&i.disabled)return;e=i.clone()}else{if((i=t.renderer.axisFills.template).disabled)return;e=t.renderer.axisFills.create(),this._disposers.push(new l.W_(function(){t.renderer.axisFills.removeValue(e)}))}this.axisFill=e,e.shouldClone=!1,this._disposers.push(e)}}return this._axisFill},set:function(t){this._axisFill&&this._axisFill!=t&&(W.TF(this.sprites,this._axisFill),this._axisFill.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(W.TF(t.dataItem.sprites,t),t.dataItem.axisFill=void 0),t.axis=this.component,this.addSprite(t)),this._axisFill=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t,this._label&&(this._label.text=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mask",{get:function(){return this._mask},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contents",{get:function(){if(!this._contents){var t=new u.m;this.addSprite(t),t.isMeasured=!1,this._contents=t;var e=this.component;if(e){var i=e.renderer.createFill(this.component);i.disabled=!1,i.axis=e,this.addSprite(i),this._mask=i,t.mask=i}}return this._contents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisBreak",{get:function(){return this._axisBreak},set:function(t){this._axisBreak&&this._axisBreak.dataItems.removeValue(this),t&&t.dataItems.push(this),this._axisBreak=t},enumerable:!0,configurable:!0}),e.prototype.validate=function(){this.component&&this.component.validateDataElement(this)},e.prototype.appendChildren=function(){this.component&&this.component.appendDataItem(this)},e.prototype.hasProperty=function(e){return"component"==e||t.prototype.hasProperty.call(this,e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.text=e.text,e.bullet&&(this.bullet=e.bullet.clone()),this.minPosition=e.minPosition,this.maxPosition=e.maxPosition},e.prototype.setVisibility=function(e,i){t.prototype.setVisibility.call(this,e,i),this._contents&&(this._contents.visible=e)},Object.defineProperty(e.prototype,"bullet",{get:function(){return this._bullet},set:function(t){this._bullet&&this._bullet!=t&&(W.TF(this.sprites,this._bullet),this._bullet.dataItem=void 0),this._bullet=t,t&&this.addSprite(t)},enumerable:!0,configurable:!0}),e}(v.s);(n=r||(r={}))[n.Start=0]="Start",n[n.Middle=.5]="Middle",n[n.End=1]="End";var $=function(t){function e(){var i=t.call(this)||this;if(i._gridCount=10,i._series=new h.B8,i.autoDispose=!0,i._axisItemCount=0,i.constructor===e)throw Error("'Axis' cannot be instantiated directly. Please use a specific axis type.");i.hideTooltipWhileZooming=!0,i.minWidth=1e-4,i.minHeight=1e-4,i.className="Axis",i.shouldClone=!1,i.setPropertyValue("cursorTooltipEnabled",!0),i.toggleZoomOutButton=!0,i.zoomable=!0;var n=new f.T;i.title=new p.J,i.title.shouldClone=!1,i._disposers.push(i.title),i.setPropertyValue("startLocation",0),i.setPropertyValue("endLocation",1),i._dataItemsIterator=new b.Vd(i.dataItems,function(){return i.dataItems.create()}),i._dataItemsIterator.createNewItems=!0;var r=new O.m;i._disposers.push(r),r.label.padding(5,10,5,10),r.background.pointerLength=5,r.fitPointerToBounds=!0,r.background.filters.clear(),r.virtualParent=i;var s=r.background;
1return s.cornerRadius=0,s.fill=n.getFor("alternativeBackground"),s.stroke=s.fill,s.strokeWidth=1,s.fillOpacity=1,r.label.fill=n.getFor("alternativeText"),i.tooltip=r,i.readerHidden=!0,i.events.on("rangechangestarted",function(){i.series.each(function(t){t.hideTooltipWhileZooming&&(t.tooltip.hide(),t.tooltip.preventShow=!0)}),i.hideTooltipWhileZooming&&(i.tooltip.hide(),i.tooltip.preventShow=!0)},void 0,!1),i.events.on("rangechangeended",function(){i.series.each(function(t){t.hideTooltipWhileZooming&&(t.tooltip.hide(),t.tooltip.preventShow=!1)}),i.hideTooltipWhileZooming&&(i.tooltip.hide(),i.tooltip.preventShow=!1)},void 0,!1),i.applyTheme(),i}return(0,s.C6)(e,t),e.prototype.fillRule=function(t,e){_.Et(e)||(e=t.index),e/2==Math.round(e/2)?(t.axisFill.__disabled=!0,t.axisFill.opacity=0):(t.axisFill.opacity=1,t.axisFill.__disabled=!1)},e.prototype.createDataItem=function(){return new Q},e.prototype.invalidateLayout=function(){t.prototype.invalidateLayout.call(this),b.__(this.series.iterator(),function(t){t.invalidateLayout()})},e.prototype.invalidateSeries=function(){b.__(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateDataElements=function(){this._axisItemCount=0,this.ghostLabel&&(this.renderer.updateLabelElement(this.ghostLabel,this.start,this.end),this.ghostLabel.validate())},e.prototype.updateGridCount=function(){if(this.renderer){var t=this.axisLength/this.renderer.minGridDistance;t!=this._gridCount&&(this._gridCount=t,this.clearCache())}},e.prototype.validateLayout=function(){this.axisFullLength=this.axisLength/(this.end-this.start),t.prototype.validateLayout.call(this),this.updateGridCount();var e=this.renderer;e&&(e.updateAxisLine(),e.updateTooltip(),e.updateBaseGridElement()),this._prevLength!=this.axisLength&&(this.dispatchImmediately("lengthchanged"),this._prevLength=this.axisLength)},e.prototype.initRenderer=function(){},e.prototype.appendDataItem=function(t){var e=this.renderer,i=t.tick;i&&(i.above?i.parent=e.bulletsContainer:i.parent=e.gridContainer),t.label&&(t.label.parent=e);var n=t.axisFill;n&&(n.above?n.parent=e.bulletsContainer:n.parent=e.gridContainer);var r=t.grid;r&&(r.above?r.parent=e.bulletsContainer:r.parent=e.gridContainer),t.bullet&&(t.bullet.parent=e.bulletsContainer)},e.prototype.validate=function(){t.prototype.validate.call(this),this.validateLayout(),this.renderer.updateGridContainer()},e.prototype.validateAxisRanges=function(){var t=this;b.__(this.axisRanges.iterator(),function(e){t.appendDataItem(e),t.validateDataElement(e),e.grid&&e.grid.validate(),e.tick&&e.tick.validate(),e.axisFill&&e.axisFill.validate(),e.label&&e.label.validate()})},e.prototype.validateBreaks=function(){this._axisBreaks&&b.__(this._axisBreaks.iterator(),function(t){t.invalidate()})},e.prototype.processBreak=function(t){var e=t.newValue;e.parent=this.renderer.breakContainer,e.axis=this},e.prototype.registerSeries=function(t){var e=this;return this.series.moveValue(t),new l.ZT([new l.W_(function(){e.series.removeValue(t)}),this.events.on("lengthchanged",t.invalidate,t,!1),this.events.on("lengthchanged",t.createMask,t,!1),this.events.on("startchanged",t.invalidate,t,!1),this.events.on("endchanged",t.invalidate,t,!1)])},Object.defineProperty(e.prototype,"renderer",{get:function(){return this._renderer},set:function(t){if(t!=this._renderer){this._renderer=t,t.chart=this.chart,t.axis=this,t.parent=this,this.title.parent=this,this.initRenderer(),this._disposers.push(t.gridContainer.events.on("maxsizechanged",this.invalidate,this,!1));var e=this.renderer.labels.create();this._disposers.push(e),e.dataItem=this.dataItems.template.clone(),e.text="L",e.parent=this.renderer,e.shouldClone=!1,e.fillOpacity=0,e.opacity=0,e.strokeOpacity=0,e.interactionsEnabled=!1,e.validate(),this.ghostLabel=e,this.events.on("beforedatavalidated",function(){e.text="L"},void 0,!1)}},enumerable:!0,configurable:!0}),e.prototype.positionToAngle=function(t){return this.renderer.positionToAngle(t)},e.prototype.pointToPosition=function(t){return this.renderer.pointToPosition(t)},e.prototype.positionToCoordinate=function(t){return this.renderer.positionToCoordinate(t)},e.prototype.getAnyRangePath=function(t,e){return this.renderer.getPositionRangePath(t,e)},e.prototype.anyToPosition=function(t){return 0},e.prototype.anyToPoint=function(t){return{x:0,y:0,angle:0}},e.prototype.getPositionRangePath=function(t,e){return this.renderer?this.renderer.getPositionRangePath(t,e):""}
1,Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.renderer?this.renderer.axisLength:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(t){this.setPropertyValue("cursorTooltipEnabled",t)&&(t&&this.renderer?this.renderer.updateTooltip():this.tooltip&&this.tooltip.hide(0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"toggleZoomOutButton",{get:function(){return this.getPropertyValue("toggleZoomOutButton")},set:function(t){this.setPropertyValue("toggleZoomOutButton",t)},enumerable:!0,configurable:!0}),e.prototype.hideTooltip=function(e){t.prototype.hideTooltip.call(this,e),this._tooltipPosition=void 0},e.prototype.showTooltipAtPosition=function(t,e){var i=this._tooltip;if(!i||this.dataItems.length<=0)this._tooltipPosition=void 0;else{if(e||(t=this.toAxisPosition(t)),!_.Et(t)||t<this.start||t>this.end){i.hide(0),this._tooltipPosition=void 0;return}var n=this.renderer;i.parent||(i.parent=this.tooltipContainer);var r=n.tooltipLocation,s=this.getCellStartPosition(t),a=this.getCellEndPosition(t);if("fixed"==this.tooltipPosition&&(t=s+(a-s)*r),t=F.s_(t,this.start,this.end),this._tooltipPosition!=t){this._tooltipPosition=t;var o=n.tooltipLocation2,l=n.positionToPoint(s,o),h=n.positionToPoint(a,o);this.currentItemStartPoint=l,this.currentItemEndPoint=h,n.fullWidthTooltip&&(i.width=h.x-l.x,i.height=h.y-l.y);var u=n.positionToPoint(t,o),p=D.rq(u,this.renderer.line);i.text=this.getTooltipText(t),i.text&&(i.delayedPointTo(p),i.show())}(!this.cursorTooltipEnabled||this.tooltip.disabled)&&i.hide(0)}},e.prototype.toAxisPosition=function(t){if(void 0!=(t=this.renderer.toAxisPosition(t)))return t*=this.end-this.start,t=this.renderer.inversed?this.end-t:this.start+t},e.prototype.toGlobalPosition=function(t){return this.renderer.inversed?t=this.end-t:t-=this.start,t/(this.end-this.start)},e.prototype.getTooltipText=function(t){},e.prototype.updateTooltip=function(t,e){var i=this._tooltip;i&&(i.fixDoc=!1,i.pointerOrientation=t,i.setBounds(D.tj(e,this.renderer.line)))},e.prototype.roundPosition=function(t,e,i){return t},e.prototype.getCellStartPosition=function(t){return t},e.prototype.getCellEndPosition=function(t){return t},Object.defineProperty(e.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var t=this.createDataItem();t.isRange=!0,t.axisFill=this.renderer.axisFills.template.clone(),t.grid=this.renderer.grid.template.clone(),t.tick=this.renderer.ticks.template.clone(),t.label=this.renderer.labels.template.clone(),t.isTemplate=!0,t.component=this,t.axisFill.disabled=!1,t.tick.disabled=!1,t.grid.disabled=!1,t.label.disabled=!1,this._axisRanges=new h.TS(t),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new h.a(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),e.prototype.processAxisRange=function(t){var e=t.newValue;e.component=this,e.isRange=!0},Object.defineProperty(e.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new Z.QE(this.createAxisBreak(),function(t,e){return J.f(t.adjustedStartValue,e.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new h.a(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),e.prototype.createAxisBreak=function(){return new q},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new h.B8),this._series},enumerable:!0,configurable:!0}),e.prototype.processSeriesDataItems=function(){},e.prototype.processSeriesDataItem=function(t,e){},e.prototype.postProcessSeriesDataItems=function(t){},e.prototype.postProcessSeriesDataItem=function(t){},e.prototype.updateAxisBySeries=function(){},e.prototype.hideUnusedDataItems=function(){var t=this,e=this._dataItemsIterator;e.createNewItems=!1,b.__(e.iterator(),function(e){t.validateDataElement(e),e.__disabled=!0}),e.clear(),e.createNewItems=!0}
1,e.prototype.getSeriesDataItem=function(t,e,i){},e.prototype.getAngle=function(t,e,i,n,r){},e.prototype.getX=function(t,e,i,n,r){},e.prototype.getPositionX=function(t,e,i,n,r){},e.prototype.getY=function(t,e,i,n,r){},e.prototype.getPositionY=function(t,e,i,n,r){},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.dataChangeUpdate=function(){},e.prototype.seriesDataChangeUpdate=function(t){},e.prototype.adjustDifference=function(t,e){var i=e-t;if(_.Et(i))return this._axisBreaks&&b.FY(this._axisBreaks.iterator(),function(n){var r=n.adjustedStartValue,s=n.adjustedEndValue;if(_.Et(r)&&_.Et(s)){if(r>e)return!1;if(s>=t&&_.Et(r)&&_.Et(s)){var a=n.breakSize,o=F.E$({start:r,end:s},{start:t,end:e});o&&(i-=(o.end-o.start)*(1-a))}return!0}}),i},e.prototype.isInBreak=function(t){if(this._axisBreaks)return b.I6(this._axisBreaks.iterator(),function(e){return t>=e.adjustedStartValue&&t<=e.adjustedEndValue})},e.prototype.fixAxisBreaks=function(){var t=this;if(this._axisBreaks){var e=this._axisBreaks;if(e.length>0){W.__(b.$r(e.iterator()),function(e){var i=F.jk(e.startValue,e.endValue),n=F.T9(e.startValue,e.endValue);e.adjustedStartValue=i,e.adjustedEndValue=n,t._axisBreaks.update(e)});var i=e.first,n=Math.min(i.startValue,i.endValue);b.__(e.iterator(),function(t){var e=t.adjustedStartValue,i=t.adjustedEndValue;e<n&&(e=n,i<n&&(i=n)),t.adjustedStartValue=e,t.adjustedEndValue=i})}}},Object.defineProperty(e.prototype,"startIndex",{get:function(){return 0},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endIndex",{get:function(){return this.dataItems.length},set:function(t){},enumerable:!0,configurable:!0}),e.prototype.getPositionLabel=function(t){return Math.round(100*t)+"%x"},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.createSeriesRange=function(t){var e=this.axisRanges.create();return e.component=this,e.axisFill=this.renderer.axisFills.template.clone(),e.axisFill.disabled=!1,e.axisFill.fillOpacity=0,e.grid=this.renderer.grid.template.clone(),e.grid.disabled=!0,e.tick=this.renderer.ticks.template.clone(),e.tick.disabled=!0,e.label=this.renderer.labels.template.clone(),e.label.disabled=!0,e.addDisposer(new l.W_(function(){t.axisRanges.removeValue(e)})),t.axisRanges.push(e),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.renderer?this.renderer.copyFrom(e.renderer):e.renderer&&(this.renderer=e.renderer.clone(),this._disposers.push(this.renderer)),e.title&&(this.title?this.title.copyFrom(e.title):(this.title=e.title.clone(),this.title.parent=this),this._disposers.push(this.title))},e.prototype.resetIterators=function(){this._dataItemsIterator.reset()},e.prototype.processConfig=function(e){if(e&&_.a4(e.axisRanges)&&_.cy(e.axisRanges))for(var i=0,n=e.axisRanges.length;i<n;i++){var r=e.axisRanges[i];_.a4(r.series)&&_.Kg(r.series)&&this.map.hasKey(r.series)&&(e.axisRanges[i]=this.createSeriesRange(this.map.getKey(r.series)),delete r.series,e.axisRanges[i].config=r)}t.prototype.processConfig.call(this,e)},e.prototype.configOrder=function(e,i){if(e==i)return 0;if("title"==e)return 1;if("title"==i)return -1;if("component"==e)return -1;if("component"==i)return 1;else return t.prototype.configOrder.call(this,e,i)},Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.renderer&&(this.renderer.gridContainer.disabled=e),i},Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(t){this._title&&this._title!=t&&this._title.dispose(),t&&(this._title=t,t.parent=this,t.shouldClone=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideTooltipWhileZooming",{get:function(){return this.getPropertyValue("hideTooltipWhileZooming")}
1,set:function(t){this.setPropertyValue("hideTooltipWhileZooming",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoomable",{get:function(){return this.getPropertyValue("zoomable")},set:function(t){this.setPropertyValue("zoomable",t)},enumerable:!0,configurable:!0}),e}(o.u);a.u.registeredClasses.Axis=$,a.u.registeredClasses.AxisDataItem=Q,x.Z4.push({relevant:x.H$.maybeXS,state:function(t,e){if(t instanceof $&&t.tooltip){var i=t.states.create(e);return i.properties.cursorTooltipEnabled=!1,i}return null}});var tt=function(t){function e(){var e=t.call(this)||this;return e.className="AxisLine",e.element=e.paper.add("path"),e.stroke=new f.T().getFor("grid"),e.strokeOpacity=.15,e.pixelPerfect=!0,e.fill=(0,R.yW)(),e.applyTheme(),e.interactionsEnabled=!1,e}return(0,s.C6)(e,t),e}(c.kx);a.u.registeredClasses.AxisLine=tt;var te=function(t){function e(e){var i=t.call(this)||this;return i.axis=e,i.element=i.paper.add("path"),i.className="AxisFill",i.isMeasured=!1,i.location=0,i.above=!1,i.fill=new f.T().getFor("alternativeBackground"),i.fillOpacity=0,i.applyTheme(),i}return(0,s.C6)(e,t),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e.prototype.draw=function(){t.prototype.draw.call(this),!this.__disabled&&!this.disabled&&this.axis&&_.Et(this.startPosition)&&_.Et(this.endPosition)&&(this.fillPath=this.axis.getPositionRangePath(this.startPosition,this.endPosition),this.path=this.fillPath,this.isMeasured&&this.measure())},Object.defineProperty(e.prototype,"startPosition",{get:function(){return this.getPropertyValue("startPosition")},set:function(t){this.setPropertyValue("startPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){return this.getPropertyValue("endPosition")},set:function(t){this.setPropertyValue("endPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setPath=function(t){return!!this.setPropertyValue("path",t)&&(this.element.attr({d:t}),!0)},Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")},set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e}(c.kx);a.u.registeredClasses.AxisFill=te;var ti=function(t){function e(){var e=t.call(this)||this;return e.className="Grid",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1,e.above=!1,e.stroke=new f.T().getFor("grid"),e.pixelPerfect=!0,e.strokeOpacity=.15,e.fill=(0,R.yW)(),e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")},set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(c.kx);a.u.registeredClasses.Grid=ti,x.Z4.push({relevant:x.H$.maybeXS,state:function(t,e){if(t instanceof ti){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}});var tn=function(t){function e(){var e=t.call(this)||this;return e.className="AxisLabel",e.isMeasured=!1,e.padding(10,10,10,10),e.location=.5,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(p.J);a.u.registeredClasses.AxisLabel=tn;var tr=function(t){function e(){var e=t.call(this)||this;e.className="Tick";var i=new f.T;return e.fillOpacity=0,e.length=6,e.strokeOpacity=.2,e.stroke=i.getFor("grid"),e.isMeasured=!1,e.nonScalingStroke=!0,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.disabled?0:this.getPropertyValue("length")},set:function(t){this.setPropertyValue("length",t,!0)},enumerable:!0,configurable:!0}),e}(c.kx);a.u.registeredClasses.Tick=tr;var ts=function(t){function e(){var e=t.call(this)||this;return e.className="AxisTick",e.element=e.paper.add("path"),e.location=.5,e.above=!1,e.isMeasured=!1,e.pixelPerfect=!0,e.strokeOpacity=0,e.length=5,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")}
1,set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(tr);a.u.registeredClasses.AxisTick=ts;var ta=function(t){function e(){var e=t.call(this)||this;e._chart=new l.h1,e.className="AxisRenderer",e.minGridDistance=50,e.inside=!1,e.inversed=!1,e.tooltipLocation=.5,e.fullWidthTooltip=!1,e.cellStartLocation=0,e.cellEndLocation=1,e.minLabelPosition=0,e.maxLabelPosition=1,e.shouldClone=!1;var i=e.createChild(u.m);i.shouldClone=!1,i.layout="none",i.virtualParent=e,i.width=(0,g.KN)(100),i.height=(0,g.KN)(100),e.gridContainer=i,i.events.on("maxsizechanged",function(){e.inited&&e.invalidateAxisItems()},e,!1);var n=e.createChild(u.m);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",n.width=(0,g.KN)(100),n.height=(0,g.KN)(100),e.breakContainer=n;var r=e.createChild(u.m);r.shouldClone=!1,r.isMeasured=!1,r.layout="none",r.width=(0,g.KN)(100),r.height=(0,g.KN)(100),e.bulletsContainer=r,e.line=e.createChild(tt),e.line.shouldClone=!1,e.line.strokeOpacity=0;var s=e.createChild(ti);s.shouldClone=!1,e.baseGrid=s;var a=e._disposers;return a.push(s),a.push(e.line),a.push(i),a.push(n),a.push(r),a.push(e._chart),e.ticks.template.disabled=!0,e.axisFills.template.disabled=!0,e.axisFills.template.interactionsEnabled=!1,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(t){this.setAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setAxis=function(t){this._axis=t,this.baseGrid.parent=t,this.line.parent=t,this.gridContainer.bind("opacity",t)},e.prototype.processRenderer=function(){this.events.on("sizechanged",this.updateTooltip,this,!1),this.events.on("positionchanged",this.updateTooltip,this,!1),this.labels.template.inside=this.inside,this.ticks.template.inside=this.inside},e.prototype.updateTooltip=function(){},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.positionItem=function(t,e){t&&t.moveTo(e)},e.prototype.positionToPoint=function(t,e){return{x:0,y:0}},e.prototype.positionToAngle=function(t){return 0},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(e.end-t)*i:(t-e.start)*i},e.prototype.updateGridContainer=function(){},e.prototype.getHeight=function(){var t=this.gridContainer;return t.parent?t.parent.pixelHeight:this.gridContainer.pixelHeight||0},e.prototype.getWidth=function(){var t=this.gridContainer;return t.parent?t.parent.pixelWidth:this.gridContainer.pixelWidth||0},e.prototype.coordinateToPosition=function(t,e){var i,n=this.axis,r=n.axisFullLength;return i=n.renderer.inversed?n.end-t/r:t/r+n.start,F.LI(i,5)},e.prototype.pointToPosition=function(t){return 0},e.prototype.getPositionRangePath=function(t,e){return""},e.prototype.invalidateAxisItems=function(){var t=this.axis;t&&t.invalidateDataItems()},e.prototype.updateGridElement=function(t,e,i){},e.prototype.updateTickElement=function(t,e,i){},e.prototype.updateBullet=function(t,e,i){},e.prototype.updateLabelElement=function(t,e,i,n){},e.prototype.updateFillElement=function(t,e,i){t.startPosition=e,t.endPosition=i},e.prototype.updateAxisLine=function(){},e.prototype.updateBaseGridElement=function(){},e.prototype.updateBreakElement=function(t){this.positionItem(t.startLine,t.startPoint),this.toggleVisibility(t.startLine,t.startPosition,0,1),this.positionItem(t.endLine,t.endPoint),this.toggleVisibility(t.endLine,t.endPosition,0,1)},Object.defineProperty(e.prototype,"minGridDistance",{get:function(){return this.getPropertyValue("minGridDistance")},set:function(t){this.setPropertyValue("minGridDistance",t)&&this.axis&&this.axis.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.toggleVisibility=function(t,e,i,n){var r=this.axis,s=t.dataItem;s&&s instanceof Q&&(_.Et(s.minPosition)&&(i=s.minPosition),_.Et(s.maxPosition)&&(n=s.maxPosition));var a=r.start+(r.end-r.start)*(i-1e-4),o=r.start+(r.end-r.start)*(n+1e-4);t.disabled||(e<a||e>o?t.__disabled=!0:t.__disabled=!1)},e.prototype.createBreakSprites=function(t){},Object.defineProperty(e.prototype,"axisFills",{get:function(){if(!this._axisFills){var t=this.createFill(this.axis);this._axisFills=new h.TS(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new h.a(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),e.prototype.createFill=function(t){return new te(t)},Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.createGrid();this._grid=new h.TS(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new h.a(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),e.prototype.createGrid=function(){return new ti},Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,t.isMeasured=!1,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._ticks=new h.TS(t),this._disposers.push(new h.a(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),e.prototype.createTick=function(){return new ts},Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();this._labels=new h.TS(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new h.a(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createLabel=function(){return new tn},Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t)&&this.axis&&this.axis.invalidate(),t?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")}
1,set:function(t){this.setPropertyValue("opposite",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(t){this.setPropertyValue("fullWidthTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation2",{get:function(){return this.getPropertyValue("tooltipLocation2")},set:function(t){this.setPropertyValue("tooltipLocation2",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(t){this.setPropertyValue("cellStartLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(t){this.setPropertyValue("cellEndLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(t){this.setPropertyValue("inversed",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(t){this.setPropertyValue("minLabelPosition",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(t){this.setPropertyValue("maxLabelPosition",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},e.prototype.toAxisPosition=function(t){return t},e.prototype.setVisibility=function(e){t.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},e}(u.m);a.u.registeredClasses.AxisRenderer=ta;var to=i(6229),tl=function(t){function e(){var e=t.call(this)||this;return e.className="AxisBullet",e.location=.5,e.isMeasured=!1,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(u.m);a.u.registeredClasses.AxisBullet=tl;var th=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererY",e.minGridDistance=40,e.opposite=!1,e.height=(0,g.KN)(100),e.labels.template.verticalCenter="middle",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="horizontal"},e.prototype.updateGridContainer=function(){var t=this.axis;if(t){var e=this.gridContainer;e.y=t.pixelY,e.height=t.axisLength}},e.prototype.toAxisPosition=function(t){var e=this.axis;if(e){var i=e.relativePositionSprite,n=e.pixelY;if(i?n=D.oI({x:0,y:this.pixelY},this.parent,i).y:i=e.parent,i)return 1-(1-t-n/i.innerHeight)/(e.axisLength/i.innerHeight)}return t},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){var i=e.title;i.valign="middle",e.height instanceof g.QE||(e.height=(0,g.KN)(100)),this.opposite?(i.rotation=90,this.line.toBack(),i.toFront()):(i.rotation=-90,i.toBack(),this.line.toFront())}},e.prototype.updateTooltip=function(){if(this.axis){var t=0,e=2e3,i=this.axisLength;this.opposite?this.inside&&(t=-2e3,e=2e3):this.inside||(t=-2e3,e=2e3),this.axis.updateTooltip("horizontal",{x:t,y:0,width:e,height:i})}}
1,Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredHeight-t.pixelPaddingTop-t.pixelPaddingBottom||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){return{x:0,y:this.positionToCoordinate(t)}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.y,t.x)},e.prototype.coordinateToPosition=function(t,e){var i,n=this.axis,r=n.axisFullLength;return i=n.renderer.inversed?1-n.start-t/r:t/r+(1-n.end),F.LI(i,5)},e.prototype.getPositionRangePath=function(t,e){var i=F.s_(this.positionToCoordinate(t),0,this.axisLength),n=F.s_(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),s=this.getWidth(),a=Math.min(i,n);return y.XJ({x:0,y:a,width:s,height:r},!0)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=y.tw({x:0,y:0})+y.a5({x:this.getWidth(),y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e),r=t.length;try{D.kH(this.axis.title.measuredWidth)}catch(t){}n.x=D.oI({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.opposite?r*=t.inside?-1:1:r*=t.inside?1:-1,t.path=y.tw({x:0,y:0})+y.a5({x:r,y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=y.tw({x:0,y:0})+y.a5({x:0,y:this.axisLength})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getWidth(),n=this.axisLength,r=e.basePoint.y,s=this.baseGrid;if(r<-.2||r>n+.2)s.hide(0);else{var a=D.oI({x:0,y:0},this.gridContainer,s.parent).x;s.path=y.tw({x:0,y:0})+y.a5({x:i,y:0}),s.moveTo({x:a,y:r}),s.show(0)}},e.prototype.updateLabelElement=function(t,e,i,n){_.a4(n)||(n=t.location),e+=(i-e)*n,t.isMeasured=!t.inside;var r,s=this.positionToPoint(e),a=0,o=this.gridContainer.maxWidth;this.opposite?(t.inside?(r="right","left"==t.align&&(a=-o,r="left"),"center"==t.align&&(a=-o/2,r="middle")):r="left",s.x=0+a):(t.inside?(r="left","right"==t.align&&(a=o,r="right"),"center"==t.align&&(a=o/2,r="middle")):r="right",s.x=this.measuredWidth+a),0==t.rotation&&(t.horizontalCenter=r),this.positionItem(t,s),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,s=e.startPoint,a=e.endPoint,o=e.pixelMarginLeft,l=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;s.y=F.s_(s.y,-1,this.axisLength+1),a.y=F.s_(a.y,-1,this.axisLength+1),s.y==a.y&&(s.y<0||s.y>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var h=Math.abs(l-o);i.x=o,i.height=0,i.width=h,n.x=o,n.height=0,n.width=h,r.width=h,r.height=Math.abs(a.y-s.y),r.x=o,r.y=a.y},e.prototype.createBreakSprites=function(t){t.startLine=new G.a,t.endLine=new G.a;var e=new to.D;e.setWavedSides(!0,!1,!0,!1),t.fillShape=e},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(t-e.start)*i:(e.end-t)*i},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof tl&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.x=D.oI({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(ta);a.u.registeredClasses.AxisRendererY=th,x.Z4.push({relevant:x.H$.widthS,state:function(t,e){if(t instanceof th){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),x.Z4.push({relevant:x.H$.widthXS,state:function(t,e){if(t instanceof th){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}});var tu=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisBreak",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),e}(q);a.u.registeredClasses.ValueAxisBreak=tu;var tp=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisDataItem",e.values.value={},e.values.endValue={},e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.values.endValue.value},set:function(t){this.setValue("endValue",t)},enumerable:!0,configurable:!0}),e}(Q),td=function(t){function e(){var e=t.call(this)||this;return e._stepDecimalPlaces=0,e._prevStepDecimalPlaces=0,e._adjustLabelPrecision=!0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e._deltaMinMax=1,e._dsc=!1,e.calculateTotals=!1,e.className="ValueAxis",e.axisFieldName="value",e.setPropertyValue("maxZoomFactor",1e3),e.setPropertyValue("extraMin",0),e.setPropertyValue("extraMax",0),e.setPropertyValue("strictMinMax",!1),e.setPropertyValue("maxPrecision",Number.MAX_VALUE),e.setPropertyValue("adjustLabelPrecision",!0),e.setPropertyValue("extraTooltipPrecision",0),e.keepSelection=!1,e.includeRangesInMinMax=!1,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component;t.axisFill.disabled||(F.LI(e/i.step/2,5)==Math.round(e/i.step/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1)},e.prototype.createDataItem=function(){return new tp},e.prototype.createAxisBreak=function(){return new tu},e.prototype.dataChangeUpdate=function(){this.clearCache(),this.keepSelection?(0!=this._start&&this.dispatchImmediately("startchanged"),1!=this._end&&this.dispatchImmediately("endchanged"),(0!=this._start||1!=this._end)&&this.dispatchImmediately("startendchanged")):(0!=this._start||1!=this._end)&&(this._start=0,this._end=1,this.dispatchImmediately("startendchanged")),this._maxZoomed=this._maxDefined,this._minZoomed=this._minDefined,this._maxAdjusted=this._maxDefined,this._minAdjusted=this._minDefined}
1,e.prototype.processSeriesDataItems=function(){if(this.calculateTotals){var t=this.series.getIndex(0),e=t.startIndex;if(t.dataItems.length>0){e>0&&e--;var i=t.endIndex;i<t.dataItems.length&&i++;for(var n=function(t){var e={},i={};r.series.each(function(n){if(!n.excludeFromTotal){var r=n.dataItems.getIndex(t);r&&H.__(r.values,function(t){var n=r.values[t].workingValue;_.Et(n)&&(_.Et(e[t])?e[t]+=Math.abs(n):e[t]=Math.abs(n),_.Et(i[t])?i[t]+=n:i[t]=n)})}}),r.series.each(function(n){if(!n.excludeFromTotal){var r=n.dataItems.getIndex(t);r&&H.__(r.values,function(t){var n=r.values[t].workingValue;_.Et(n)&&(r.setCalculatedValue(t,e[t],"total"),r.setCalculatedValue(t,100*n/e[t],"totalPercent"),r.setCalculatedValue(t,i[t],"sum"))})}})},r=this,s=e;s<i;++s)n(s)}}},e.prototype.validate=function(){this.axisLength<=0||(t.prototype.validate.call(this),this.getMinMax(),_.Et(this._minAdjusted)||this.dataItems.each(function(t){t.value=null}),this.fixAxisBreaks(),this.calculateZoom(),this.validateAxisElements(),this.validateAxisRanges(),this.validateBreaks(),this.hideUnusedDataItems(),this.renderer.invalidateLayout())},e.prototype.calculateZoom=function(){if(_.Et(this.min)&&_.Et(this.max)){var t=this.positionToValue(this.start),e=this.positionToValue(this.end),i=this.adjustDifference(t,e),n=this.adjustMinMax(t,e,i,this._gridCount,!0),r=D.w1(n.step);this._stepDecimalPlaces=r,t=F.LI(t,r),e=F.LI(e,r);var s=(n=this.adjustMinMax(t,e,i,this._gridCount,!0)).step;if(this.syncWithAxis){var a=this.getCache(t+"-"+e);_.Et(a)&&(s=a)}else t=n.min,e=n.max;(this._minZoomed!=t||this._maxZoomed!=e||this._step!=s||this._dsc)&&(this._dsc=!1,this._minZoomed=t,this._maxZoomed=e,this._step=s,this.dispatchImmediately("selectionextremeschanged"))}},e.prototype.fixSmallStep=function(t){return 1+t==1?(t*=2,this.fixSmallStep(t)):t},e.prototype.validateAxisElements=function(){var t=this;if(_.Et(this.max)&&_.Et(this.min)){var e=this.minZoomed-2*this._step;if(this.logarithmic){var i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;i>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E):0==(e=Math.floor(this.minZoomed/this._step)*this._step)&&(e=this.minZoomed)}else e=Math.floor(e/this._step)*this._step;var n=this._maxZoomed+this._step;this.resetIterators();var r=this._dataItemsIterator;if(0==this._step)return;this._step=this.fixSmallStep(this._step);var s=0,a=this._prevStepDecimalPlaces!=this._stepDecimalPlaces;for(this._prevStepDecimalPlaces=this._stepDecimalPlaces;e<=n;){if(!this.isInBreak(e)){var o=r.find(function(t){return t.value===e});o.__disabled&&(o.__disabled=!1),this.appendDataItem(o),o.axisBreak=void 0,(o.value!=e||a)&&(o.value=e,o.text=this.formatLabel(e),o.label&&o.label.invalid&&o.label.validate(),o.value>=this.min&&o.value<=this.max&&o.label&&("Y"==this.axisLetter&&o.label.measuredWidth>this.ghostLabel.measuredWidth||"X"==this.axisLetter&&o.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=o.label.currentText,this.ghostLabel.validate())),this.validateDataElement(o)}s++;var l=e;if(this.logarithmic){var i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;i>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E+s):e+=this._step}else e+=this._step;var h=Math.pow(10,Math.floor(Math.log(Math.abs(this._step))*Math.LOG10E));if(h<1){var u=Math.round(Math.abs(Math.log(Math.abs(h))*Math.LOG10E))+2;if(u=Math.min(13,u),l==(e=F.LI(e,u))){e=n;break}}}var p=this._axisBreaks;if(p){var d=this.renderer;b.__(p.iterator(),function(e){if(e.breakSize>0&&F.Yf(e.startPoint,e.endPoint)>d.minGridDistance)for(var i=e.adjustedMin;i<=e.adjustedMax;){if(i>=e.adjustedStartValue&&i<=e.adjustedEndValue){var n=r.find(function(t){return t.value===i});n.__disabled&&(n.__disabled=!1),t.appendDataItem(n),n.axisBreak=e,n.value!=i&&(n.value=i,n.text=t.formatLabel(i),n.label&&n.label.invalid&&n.label.validate()),t.validateDataElement(n)}i+=e.adjustedStep}})}}},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var i=this.renderer,n=e.value,r=e.endValue,s=this.valueToPosition(n);e.position=s;var a=s,o=this.valueToPosition(n+this._step);_.Et(r)&&(o=a=this.valueToPosition(r)),e.point=i.positionToPoint(s);var l=e.tick;l&&!l.disabled&&i.updateTickElement(l,s,a);var h=e.grid;h&&!h.disabled&&i.updateGridElement(h,s,a);var u=e.label;u&&!u.disabled&&i.updateLabelElement(u,s,a);var p=e.axisFill;p&&!p.disabled&&(i.updateFillElement(p,s,o),e.isRange||this.fillRule(e)),e.bullet&&i.updateBullet(e.bullet,s,a);var d=e.mask;d&&i.updateFillElement(d,s,o)},e.prototype.formatLabel=function(t){return this.adjustLabelPrecision&&0!=t?this.numberFormatter.format(t,void 0,this._stepDecimalPlaces):this.numberFormatter.format(t)},Object.defineProperty(e.prototype,"basePoint",{get:function(){var t=this.baseValue,e=this.valueToPosition(t);return this.renderer.positionToPoint(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseValue",{get:function(){var t=this._baseValue;return(this.logarithmic&&(t=this.min),this._adapterO)?this._adapterO.apply("baseValue",t):t},set:function(t){this._baseValue=t,this.invalidateLayout(),this.invalidateSeries()},enumerable:!0,configurable:!0}),e.prototype.anyToPosition=function(t){return this.valueToPosition(t)},e.prototype.valueToPoint=function(t){var e=this.valueToPosition(t),i=this.renderer.positionToPoint(e),n=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:n}},e.prototype.anyToPoint=function(t){return this.valueToPoint(t)},e.prototype.valueToPosition=function(t){if(_.Et(t)){var e=this.min,i=this.max;if(_.Et(e)&&_.Et(i)){var n=this._difference,r=this._axisBreaks;r&&r.length>0&&b.FY(r.iterator(),function(n){var r=n.adjustedStartValue,s=n.adjustedEndValue;
1if(_.Et(r)&&_.Et(s)){if(t<r)return!1;if(F.y$({start:r,end:s},{start:e,end:i})){r=Math.max(r,e),s=Math.min(s,i);var a=n.breakSize;t>s?e+=(s-r)*(1-a):t<r||(t=r+(t-r)*a)}}return!0});var s=void 0;if(this.logarithmic){var a=this.treatZeroAs;_.Et(a)&&t<=a&&(t=a),s=(Math.log(t)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)/(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)}else s=(t-e)/n;return s}}return 0},e.prototype.invalidateLabels=function(){t.prototype.invalidateLabels.call(this),this.dataItems&&(this.dataItems.each(function(t){t.value=void 0}),this.invalidate())},e.prototype.positionToValue=function(t){var e=this.min,i=this.max;if(_.Et(e)&&_.Et(i)){var n=i-e,r=null,s=this._axisBreaks;return s&&s.length>0&&b.FY(s.iterator(),function(s){var a=s.startPosition,o=s.endPosition,l=s.adjustedStartValue,h=s.adjustedEndValue;if(_.Et(l)&&_.Et(h)){if(l>i)return!1;if(F.y$({start:l,end:h},{start:e,end:i})){l=F.T9(l,e),h=F.jk(h,i);var u=s.breakSize;if(n-=(h-l)*(1-u),t>o)e+=(h-l)*(1-u);else if(!(t<a))return r=l+(t-a)/(o-a)*(h-l),!1}return!0}}),_.Et(r)||(r=this.logarithmic?Math.pow(Math.E,(t*(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)+Math.log(this.min)*Math.LOG10E)/Math.LOG10E):t*n+e),r}},e.prototype.xToValue=function(t){return this.positionToValue(this.pointToPosition({x:t,y:0}))},e.prototype.yToValue=function(t){return this.positionToValue(this.pointToPosition({x:0,y:t}))},e.prototype.pointToPosition=function(t){return this.renderer instanceof th?1-this.renderer.pointToPosition(t):this.renderer.pointToPosition(t)},e.prototype.animateMinMax=function(t,e){return this.animate([{property:"_minAdjusted",from:this._minAdjusted,to:t},{property:"_maxAdjusted",from:this._maxAdjusted,to:e}],this.rangeChangeDuration,this.rangeChangeEasing)},e.prototype.getMinMax=function(){var t=this;this.updateGridCount();var e=1/0,i=-1/0;if(_.Et(this._minDefined)&&_.Et(this._maxDefined)||(this.series.each(function(n){if(!n.ignoreMinMax){var r=n.min(t);_.Et(r)&&r<e&&(e=r);var s=n.max(t);_.Et(s)&&s>i&&(i=s)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(t){if(!t.ignoreMinMax){var n=F.jk(t.value,t.endValue),r=F.T9(t.value,t.endValue);(n<e||!_.Et(e))&&(e=n),(r>i||!_.Et(i))&&(i=r)}})),this.logarithmic){var n=this.treatZeroAs;_.Et(n)&&e<=0&&(e=n),e<=0&&this.raiseCriticalError(Error("Logarithmic value axis can not have values <= 0."),!0)}if(0==e&&0==i&&(i=.9,e=-.9),_.Et(this._minDefined)&&(e=this._minDefined),_.Et(this._maxDefined)&&(i=this._maxDefined),this._adapterO&&(e=this._adapterO.apply("min",e)),this._adapterO&&(i=this._adapterO.apply("max",i)),_.Et(e)&&_.Et(i)){this._minReal=e,this._maxReal=i,e==1/0&&(e=void 0),i==-1/0&&(i=void 0);var r=this.adjustDifference(e,i);if(e=this.fixMin(e),(i=this.fixMax(i))-e<=1e-15){if(i-e!=0)this._deltaMinMax=(i-e)/2;else{var s=Math.pow(10,Math.floor(Math.log(Math.abs(i))*Math.LOG10E));s/=10,this._deltaMinMax=s}e-=this._deltaMinMax,i+=this._deltaMinMax}e-=(i-e)*this.extraMin,i+=(i-e)*this.extraMax;var a=this.strictMinMax;_.Et(this._maxDefined)&&(a=!0);var o=this.adjustMinMax(e,i,r,this._gridCount,a);if(e=o.min,r=(i=o.max)-e,e=(o=this.adjustMinMax(e,i,i-e,this._gridCount,!0)).min,i=o.max,this.strictMinMax&&(e=_.Et(this._minDefined)?this._minDefined:this._minReal,(i=_.Et(this._maxDefined)?this._maxDefined:this._maxReal)-e<=1e-8&&(e-=this._deltaMinMax,i+=this._deltaMinMax),e-=(i-e)*this.extraMin,i+=(i-e)*this.extraMax),this._adapterO&&(e=this._adapterO.apply("min",e)),this._adapterO&&(i=this._adapterO.apply("max",i)),this._step=o.step,_.Et(e)||_.Et(i)||(this.start=0,this.end=1,this.renderer.labels.each(function(t){t.dataItem.text=""})),(this._minAdjusted!=e||this._maxAdjusted!=i)&&_.Et(e)&&_.Et(i)){var l=this._minMaxAnimation;if(this._extremesChanged&&_.Et(this._minAdjusted)&&_.Et(this._maxAdjusted)&&this.inited)if(l&&!l.isFinished()&&this._finalMax==i&&this._finalMin==e)return;else this._finalMin=e,this._finalMax=i,(l=this.animateMinMax(e,i))&&!l.isFinished()?(l.events.on("animationprogress",this.validateDataItems,this),l.events.on("animationended",function(){t.series.each(function(t){t.validate()}),t.validateDataItems(),t.handleSelectionExtremesChange()}),this._minMaxAnimation=l):this.series.each(function(t){t.invalidate()}),this.validateDataItems(),this.dispatchImmediately("extremeschanged"),this.handleSelectionExtremesChange();else{if(l&&!l.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._minAdjusted=e,this._maxAdjusted=i,this._finalMin=e,this._finalMax=i,this.invalidateDataItems(),this.dispatchImmediately("extremeschanged")}}this._extremesChanged=!1,this._difference=this.adjustDifference(e,i)}},e.prototype.fixMin=function(t){return t},e.prototype.fixMax=function(t){return t}
1,e.prototype.adjustMinMax=function(t,e,i,n,r){n<=1&&(n=1),n=Math.round(n);var s=t,a=e;0===i&&(i=Math.abs(e));var o=Math.log(Math.abs(i))*Math.LOG10E,l=Math.pow(10,Math.floor(o)),h=l/=10;r&&(h=0),this.logarithmic?(t<=0&&(t=this.baseValue),t==1/0&&(t=1),e==-1/0&&(e=10),this.strictMinMax?(this._minDefined>0&&(t=this._minDefined),this._maxDefined):(t=Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E)),e=Math.pow(10,Math.ceil(Math.log(Math.abs(e))*Math.LOG10E)))):(r?(t=Math.floor(t/l)*l,e=Math.ceil(e/l)*l):(t=Math.ceil(t/l)*l-h,e=Math.floor(e/l)*l+h),t<0&&s>=0&&(t=0),e>0&&a<=0&&(e=0)),l=Math.pow(10,Math.floor(o=Math.log(Math.abs(i))*Math.LOG10E))/10;var u=Math.ceil(i/n/l)*l,p=Math.pow(10,Math.floor(Math.log(Math.abs(u))*Math.LOG10E)),d=Math.ceil(u/p);d>5?d=10:d<=5&&d>2&&(d=5),u=Math.ceil(u/(p*d))*p*d,this.maxPrecision<Number.MAX_VALUE&&u!=F.mk(u,this.maxPrecision)&&(u=F.mk(u,this.maxPrecision));var c=0;if(p<1&&(c=Math.round(Math.abs(Math.log(Math.abs(p))*Math.LOG10E))+1,u=F.LI(u,c)),!this.logarithmic){var f=Math.floor(t/u);t=F.LI(u*f,c);var g=void 0;(g=r?Math.floor(e/u):Math.ceil(e/u))==f&&g++,(e=F.LI(u*g,c))<a&&(e+=u),t>s&&(t-=u)}return{min:t,max:e,step:u}},Object.defineProperty(e.prototype,"min",{get:function(){var t=this._minAdjusted;return _.Et(t)||(t=this._minDefined),t},set:function(t){this._minDefined!=t&&(this._minDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minDefined",{get:function(){return this._minDefined},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxDefined",{get:function(){return this._maxDefined},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMin",{get:function(){return this.getPropertyValue("extraMin")},set:function(t){this.setPropertyValue("extraMin",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMax",{get:function(){return this.getPropertyValue("extraMax")},set:function(t){this.setPropertyValue("extraMax",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){var t=this._maxAdjusted;return _.Et(t)||(t=this._maxDefined),t},set:function(t){this._maxDefined!=t&&(this._maxDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adjustLabelPrecision",{get:function(){return this.getPropertyValue("adjustLabelPrecision")},set:function(t){this.setPropertyValue("adjustLabelPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.registerSeries=function(e){return new l.ZT([t.prototype.registerSeries.call(this,e),e.events.on("extremeschanged",this.handleExtremesChange,this,!1),e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1),this.events.on("extremeschanged",e.invalidate,e,!1)])},e.prototype.handleSelectionExtremesChange=function(){var t,e,i=this,n=!0;if(b.__(this.series.iterator(),function(r){if(!r.ignoreMinMax&&!r.isHidden&&!r.outOfRange){r.visible&&!r.isHiding&&(n=!1);var s=r.selectionMin(i),a=r.selectionMax(i);_.Et(s)&&(!_.Et(t)||s<t)&&(t=s),_.Et(a)&&(!_.Et(e)||a>e)&&(e=a)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(i){if(!i.ignoreMinMax){var n=F.jk(i.value,i.endValue),r=F.T9(i.value,i.endValue);n<t&&(t=n),r>e&&(e=r)}}),_.Et(this._minDefined)?t=this.strictMinMax?this._minDefined:this.min:this.strictMinMax&&(t=this._minReal),_.Et(this._maxDefined)?e=this.strictMinMax?this._maxDefined:this.max:this.strictMinMax&&(e=this._maxReal),t==e){t-=this._deltaMinMax,e+=this._deltaMinMax;var r=this.adjustMinMax(t,e,0,this._gridCount,this.strictMinMax);t=r.min,e=r.max}var s=this.adjustDifference(t,e),a=this.adjustMinMax(t,e,s,this._gridCount);t=a.min,e=a.max,t-=(e-t)*this.extraMin,e+=(e-t)*this.extraMax,t=F.s_(t,this.min,this.max),e=F.s_(e,this.min,this.max),s=this.adjustDifference(t,e),t=(a=this.adjustMinMax(t,e,s,this._gridCount,!0)).min,e=a.max,this.strictMinMax&&(t=F.T9(t,this._minDefined),e=F.jk(e,this._maxDefined));var o=a.step;this.syncWithAxis&&(t=(a=this.syncAxes(t,e,o)).min,e=a.max,this.invalidate()),o=a.step,this._difference=this.adjustDifference(this.min,this.max);var l=this.valueToPosition(t),h=this.valueToPosition(e);n&&!this.syncWithAxis&&(l=0,h=1);var u=0;this.syncWithAxis?(u=5,this.setCache(t+"-"+e,o)):((this._step!=o||this._minZoomed!=t||this._maxZoomed!=e)&&(this._dsc=!0),this._step=o,this._minZoomed=t,this._maxZoomed=e),this.keepSelection||this.zoom({start:l,end:h},!1,!1,u)},Object.defineProperty(e.prototype,"strictMinMax",{get:function(){return this.getPropertyValue("strictMinMax")},set:function(t){this.setPropertyValue("strictMinMax",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logarithmic",{get:function(){return this.getPropertyValue("logarithmic")},set:function(t){this.setPropertyValue("logarithmic",t)&&(this.invalidate(),this.series.each(function(t){t.invalidateDataItems()}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepSelection",{get:function(){return this.getPropertyValue("keepSelection")},set:function(t){this.setPropertyValue("keepSelection",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"includeRangesInMinMax",{get:function(){return this.getPropertyValue("includeRangesInMinMax")},set:function(t){this.setPropertyValue("includeRangesInMinMax",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPrecision",{get:function(){return this.getPropertyValue("maxPrecision")},set:function(t){this.setPropertyValue("maxPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraTooltipPrecision",{get:function(){return this.getPropertyValue("extraTooltipPrecision")},set:function(t){this.setPropertyValue("extraTooltipPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.handleExtremesChange=function(){var t=this;this._extremesChanged=!0,this.getMinMax(),this.ghostLabel&&this.dataItems.each(function(e){e.label&&e.label.pixelWidth>0&&(t.ghostLabel.text=e.label.currentText)})}
1,e.prototype.getX=function(t,e,i,n,r){return this.renderer.positionToPoint(this.getPositionX(t,e,i,n,r)).x},e.prototype.getPositionX=function(t,e,i,n,r){var s=t.getWorkingValue(e);_.a4(n)||(n="valueX");var a=t.getValue(n,"stack");!_.Et(s)&&(s=this.baseValue,this.logarithmic&&a>0&&(s=0));var o=this.valueToPosition(s+a);return r&&(o=F.s_(o,r.start,r.end)),o},e.prototype.getY=function(t,e,i,n,r){return this.renderer.positionToPoint(this.getPositionY(t,e,i,n,r)).y},e.prototype.getPositionY=function(t,e,i,n,r){var s=t.getWorkingValue(e);_.a4(n)||(n="valueY");var a=t.getValue(n,"stack");!_.Et(s)&&(s=this.baseValue,this.logarithmic&&a>0&&(s=0));var o=this.valueToPosition(s+a);return r&&(o=F.s_(o,r.start,r.end)),o},e.prototype.getAngle=function(t,e,i,n,r){var s=t.getWorkingValue(e),a=t.getValue(n,"stack");_.Et(s)||(s=this.baseValue);var o=this.valueToPosition(s+a);return r&&(o=F.s_(o,r.start,r.end)),this.positionToAngle(o)},e.prototype.getAnyRangePath=function(t,e,i){var n=this.valueToPosition(t),r=this.valueToPosition(e);return this.getPositionRangePath(n,r)},e.prototype.getTooltipText=function(t){var e=F.LI(this.positionToValue(t),this._stepDecimalPlaces+this.extraTooltipPrecision),i=this.tooltip.numberFormatter.format(e);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},e.prototype.zoomToValues=function(t,e,i,n){var r=(t-this.min)/(this.max-this.min),s=(e-this.min)/(this.max-this.min);this.zoom({start:r,end:s},i,n)},Object.defineProperty(e.prototype,"minZoomed",{get:function(){return this.syncWithAxis?this._minZoomed:F.T9(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomed",{get:function(){return this.syncWithAxis?this._maxZoomed:F.jk(this.max,this._maxZoomed)},enumerable:!0,configurable:!0}),e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this._axisBreaks;i&&i.length>0&&i.each(function(t){var i=t.adjustedStartValue,n=t.adjustedEndValue,r=n-i,s=Math.ceil(r*t.breakSize)*e._gridCount/(e.max-e.min),a=e.adjustMinMax(i,n,r,s,!0);t.adjustedStep=a.step,t.adjustedMin=a.min,t.adjustedMax=a.max}),this._difference=this.adjustDifference(this.min,this.max)},e.prototype.getPositionLabel=function(t){var e=this.positionToValue(t);return this.numberFormatter.format(e)},e.prototype.showTooltipAt=function(t){this.showTooltipAtPosition(this.valueToPosition(t))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.min=e.min,this.max=e.max,this.calculateTotals=e.calculateTotals,this._baseValue=e.baseValue},Object.defineProperty(e.prototype,"syncWithAxis",{get:function(){return this.getPropertyValue("syncWithAxis")},set:function(t){var e=this;this.setPropertyValue("syncWithAxis",t,!0)&&t&&(this._disposers.push(t.events.on("extremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(t.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(t.events.on("startendchanged",this.handleSelectionExtremesChange,this,!1)),this.events.on("shown",this.handleSelectionExtremesChange,this,!1),this.events.on("maxsizechanged",function(){e.clearCache(),e._disposers.push(a.u.events.once("exitframe",function(){e.handleSelectionExtremesChange()}))},this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"treatZeroAs",{get:function(){return this.getPropertyValue("treatZeroAs")},set:function(t){this.setPropertyValue("treatZeroAs",t,!0)},enumerable:!0,configurable:!0}),e.prototype.syncAxes=function(t,e,i){var n=this.syncWithAxis;if(n){_.Et(t)||(t=this.min),_.Et(e)||(e=this.max),_.Et(i)||(i=this._step);var r=Math.round((n.maxZoomed-n.minZoomed)/n.step),s=Math.round((e-t)/i);if(_.Et(r)&&_.Et(s))for(var a=!1,o=0,l=(e-t)*.01,h=t,u=e,p=i;!0!=a;)if(a=this.checkSync(h,u,p,r),++o>1e3&&(a=!0),a)t=h,e=u,i=p;else{o/3==Math.round(o/3)?(h=t-l*o,t>=0&&h<0&&(h=0)):(u=e+l*o)<=0&&u>0&&(u=0);var d=this.adjustMinMax(h,u,u-h,this._gridCount,!0);h=d.min,u=d.max,p=d.step}}return{min:t,max:e,step:i}},e.prototype.checkSync=function(t,e,i,n){for(var r=(e-t)/i,s=1;s<n;s++)if(F.LI(r/s,1)==n||r*s==n)return!0;return!1},e.prototype.processConfig=function(e){e&&_.a4(e.syncWithAxis)&&_.Kg(e.syncWithAxis)&&(this.map.hasKey(e.syncWithAxis)?e.syncWithAxis=this.map.getKey(e.syncWithAxis):(this.processingErrors.push('[ValueAxis] No axis with id "'+e.syncWithAxis+'" found for `syncWithAxis`'),delete e.xAxis)),t.prototype.processConfig.call(this,e)},e}($);a.u.registeredClasses.ValueAxis=td,a.u.registeredClasses.ValueAxisDataItem=tp;var tc=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisBreak",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"startDate",{get:function(){return this.getPropertyValue("startDate")}
1,set:function(t){this.setPropertyValue("startDate",t)&&(this.startValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.getPropertyValue("endDate")},set:function(t){this.setPropertyValue("endDate",t)&&(this.endValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),e}(tu);a.u.registeredClasses.DateAxisBreak=tc;var tf=i(86432),tg=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisDataItem",e.applyTheme(),e.values.date={},e.values.endDate={},e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"date",{get:function(){return this.dates.date},set:function(t){this.setDate("date",t),this.value=t.getTime()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.dates.endDate},set:function(t){this.setDate("endDate",t),this.endValue=t.getTime()},enumerable:!0,configurable:!0}),e}(tp),ty=function(t){function e(){var e=t.call(this)||this;return e._gapBreaks=!1,e.gridIntervals=new h.B8,e.groupIntervals=new h.B8,e.dateFormats=new w.bT,e.periodChangeDateFormats=new w.bT,e._baseIntervalReal={timeUnit:"day",count:1},e._prevSeriesTime={},e._minDifference={},e._firstWeekDay=1,e.groupMin={},e.groupMax={},e.className="DateAxis",e.setPropertyValue("markUnitChange",!0),e.snapTooltip=!0,e.tooltipPosition="pointer",e.setPropertyValue("groupData",!1),e.groupCount=200,e.events.on("parentset",e.getDFFormatter,e,!1),e.gridIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:5},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:50},{timeUnit:"millisecond",count:100},{timeUnit:"millisecond",count:500},{timeUnit:"second",count:1},{timeUnit:"second",count:5},{timeUnit:"second",count:10},{timeUnit:"second",count:30},{timeUnit:"minute",count:1},{timeUnit:"minute",count:5},{timeUnit:"minute",count:10},{timeUnit:"minute",count:15},{timeUnit:"minute",count:30},{timeUnit:"hour",count:1},{timeUnit:"hour",count:3},{timeUnit:"hour",count:6},{timeUnit:"hour",count:12},{timeUnit:"day",count:1},{timeUnit:"day",count:2},{timeUnit:"day",count:3},{timeUnit:"day",count:4},{timeUnit:"day",count:5},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"month",count:2},{timeUnit:"month",count:3},{timeUnit:"month",count:6},{timeUnit:"year",count:1},{timeUnit:"year",count:2},{timeUnit:"year",count:5},{timeUnit:"year",count:10},{timeUnit:"year",count:50},{timeUnit:"year",count:100},{timeUnit:"year",count:200},{timeUnit:"year",count:500},{timeUnit:"year",count:1e3},{timeUnit:"year",count:2e3},{timeUnit:"year",count:5e3},{timeUnit:"year",count:1e4},{timeUnit:"year",count:1e5}]),e.groupIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:100},{timeUnit:"second",count:1},{timeUnit:"second",count:10},{timeUnit:"minute",count:1},{timeUnit:"minute",count:10},{timeUnit:"hour",count:1},{timeUnit:"day",count:1},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"year",count:1}]),e.axisFieldName="date",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component,n=i._gridInterval,r=tf.Ds(n.timeUnit,n.count);Math.round((e-i.min)/r)/2==Math.round(Math.round((e-i.min)/r)/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.dateFormats.hasKey("millisecond")||this.dateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.dateFormats.hasKey("second")||this.dateFormats.setKey("second",this.language.translate("_date_second")),this.dateFormats.hasKey("minute")||this.dateFormats.setKey("minute",this.language.translate("_date_minute")),this.dateFormats.hasKey("hour")||this.dateFormats.setKey("hour",this.language.translate("_date_hour")),this.dateFormats.hasKey("day")||this.dateFormats.setKey("day",this.language.translate("_date_day")),this.dateFormats.hasKey("week")||this.dateFormats.setKey("week",this.language.translate("_date_day")),this.dateFormats.hasKey("month")||this.dateFormats.setKey("month",this.language.translate("_date_month")),this.dateFormats.hasKey("year")||this.dateFormats.setKey("year",this.language.translate("_date_year")),this.periodChangeDateFormats.hasKey("millisecond")||this.periodChangeDateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.periodChangeDateFormats.hasKey("second")||this.periodChangeDateFormats.setKey("second",this.language.translate("_date_second")),this.periodChangeDateFormats.hasKey("minute")||this.periodChangeDateFormats.setKey("minute",this.language.translate("_date_minute")),this.periodChangeDateFormats.hasKey("hour")||this.periodChangeDateFormats.setKey("hour",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("day")||this.periodChangeDateFormats.setKey("day",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("week")||this.periodChangeDateFormats.setKey("week",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("month")||this.periodChangeDateFormats.setKey("month",this.language.translate("_date_month")+" "+this.language.translate("_date_year"))},e.prototype.createDataItem=function(){return new tg},e.prototype.createAxisBreak=function(){return new tc},e.prototype.validateDataItems=function(){var e=this.start,i=this.end,n=this.baseDuration,r=(this.max-this.min)/n;this._firstWeekDay=this.getFirstWeekDay(),this.getDFFormatter(),t.prototype.validateDataItems.call(this);var s=tf.Ds(this.mainBaseInterval.timeUnit,this.mainBaseInterval.count);this.maxZoomFactor=Math.max(1,(this.max-this.min)/s),this._deltaMinMax=this.baseDuration/2;var a=(this.max-this.min)/n;e+=(i-e)*(1-r/a),this.zoom({start:e,end:i},!1,!0)},e.prototype.handleSelectionExtremesChange=function(){},e.prototype.calculateZoom=function(){var e=this;t.prototype.calculateZoom.call(this);var i=this.adjustDifference(this._minZoomed,this._maxZoomed),n=!1;if(this.groupData&&_.a4(i)){var r=this.mainBaseInterval,a=i+(this.startLocation+(1-this.endLocation))*this.baseDuration,o=void 0;this.groupInterval?o=(0,s.Cl)({},this.groupInterval):(o=this.chooseInterval(0,a,this.groupCount,this.groupIntervals),tf.Ds(o.timeUnit,o.count)<tf.Ds(r.timeUnit,r.count)&&(o=(0,s.Cl)({},r))),this._groupInterval=o;var l=o.timeUnit+o.count;this._currentDataSetId!=l&&(this._currentDataSetId=l,this.dispatch("groupperiodchanged")),this.series.each(function(t){t.baseAxis==e&&t.setDataSet(e._currentDataSetId)&&(n=!0)})}var h=this.chooseInterval(0,i,this._gridCount);tf.Ds(h.timeUnit,h.count)<this.baseDuration&&(h=(0,s.Cl)({},this.baseInterval)),this._gridInterval=h,this._nextGridUnit=tf.qG(h.timeUnit),this._intervalDuration=tf.Ds(h.timeUnit,h.count),this._gridDate=tf.LI(new Date(this.minZoomed-tf.Ds(h.timeUnit,h.count)),h.timeUnit,h.count,this._firstWeekDay,this._df.utc,new Date(this.min),this._df.timezoneMinutes,this._df.timezone),b.__(this.series.iterator(),function(t){if(t.baseAxis==e){var i=t.getAxisField(e),r=tf.LI(new Date(e._minZoomed+.05*e.baseDuration),e.baseInterval.timeUnit,e.baseInterval.count,e._firstWeekDay,e._df.utc,void 0,e._df.timezoneMinutes,e._df.timezone).getTime(),s=r.toString(),a=t.dataItemsByAxis.getKey(e.uid).getKey(s+t.currentDataSetId),o=0;0!=e.start&&(o=a?(a=e.findFirst(a,r,i)).index:t.dataItems.findClosestIndex(e._minZoomed,function(t){return t[i]},"left"));var l=e.baseInterval,h=tf.WQ(tf.LI(new Date(e._maxZoomed),l.timeUnit,l.count,e._firstWeekDay,e._df.utc,void 0,e._df.timezoneMinutes,e._df.timezone),l.timeUnit,l.count,e._df.utc).getTime(),u=h.toString(),p=t.dataItemsByAxis.getKey(e.uid).getKey(u+t.currentDataSetId),d=t.dataItems.length;1!=e.end&&(p?d=p.index:(h-=1,d=t.dataItems.findClosestIndex(h,function(t){return t[i]},"right"),d++)),t.max(e)<r?(t.startIndex=t.dataItems.length,t.endIndex=t.dataItems.length,t.outOfRange=!0):t.min(e)>h?(t.startIndex=0,t.endIndex=0,t.outOfRange=!0):(t.outOfRange=!1,t.startIndex=o,t.endIndex=d),!n&&t.dataRangeInvalid&&t.validateDataRange()}})}
1,e.prototype.findFirst=function(t,e,i){var n=t.index;if(!(n>0))return t;var r=t.component.dataItems.getIndex(n-1),s=r[i];return!s||s.getTime()<e?t:this.findFirst(r,e,i)},e.prototype.validateData=function(){t.prototype.validateData.call(this),_.Et(this.baseInterval.count)||(this.baseInterval.count=1)},Object.defineProperty(e.prototype,"minDifference",{get:function(){var t=this,e=Number.MAX_VALUE;return this.series.each(function(i){e>t._minDifference[i.uid]&&(e=t._minDifference[i.uid])}),(e==Number.MAX_VALUE||0==e)&&(e=tf.Ds("day")),e},enumerable:!0,configurable:!0}),e.prototype.seriesDataChangeUpdate=function(t){this._minDifference[t.uid]=Number.MAX_VALUE},e.prototype.postProcessSeriesDataItems=function(t){var e=this;this._firstWeekDay=this.getFirstWeekDay(),t?this.seriesGroupUpdate(t):this.series.each(function(t){e.seriesGroupUpdate(t)}),this.addEmptyUnitsBreaks()},e.prototype.seriesGroupUpdate=function(t){var e=this;JSON.stringify(t._baseInterval[this.uid])!=JSON.stringify(this.mainBaseInterval)&&(t._baseInterval[this.uid]=this.mainBaseInterval,t.mainDataSet.each(function(t){e.postProcessSeriesDataItem(t)}
1),this.groupData&&this.groupSeriesData(t))},e.prototype.groupSeriesData=function(t){var e=this;if(t.baseAxis==this&&t.dataItems.length>0&&!t.dataGrouped){t.bulletsContainer.removeChildren();var i=[],n=this.mainBaseInterval,r=tf.Ds(n.timeUnit,n.count);this.groupIntervals.each(function(t){var n=tf.Ds(t.timeUnit,t.count);(n>r&&n<e.max-e.min||e.groupInterval)&&i.push(t)}),t._dataSets&&(t._dataSets.each(function(t,e){e.each(function(t){t.dispose()}),e.clear()}),t._dataSets.clear()),t.dataGrouped=!0,W.__(i,function(i){var n,r,s="date"+e.axisLetter,a=i.timeUnit+i.count,o=new Z.qc(t.mainDataSet.template.clone());t.dataSets.setKey(a,o);var l=t.mainDataSet,h=-1/0,u=0,p=[];H.__(t.dataFields,function(t,e){t!=s&&-1==t.indexOf("Show")&&p.push(t)}),l.each(function(a){var l=a.getDate(s);if(l){var d=l.getTime(),c=(r=tf.LI(new Date(d),i.timeUnit,i.count,e._df.firstDayOfWeek,e._df.utc,void 0,e._df.timezoneMinutes,e._df.timezone)).getTime();h<c?(n&&t._adapterO&&W.__(p,function(e){n.values[e].value=t._adapterO.apply("groupDataItem",{dataItem:n,interval:i,dataField:e,date:r,value:n.values[e].value}).value,n.values[e].workingValue=n.values[e].value}),(n=o.create()).dataContext={},n.setWorkingLocation("dateX",t.dataItems.template.locations.dateX,0),n.setWorkingLocation("openDateX",t.dataItems.template.locations.openDateX,0),n.setWorkingLocation("dateY",t.dataItems.template.locations.dateY,0),n.setWorkingLocation("openDateY",t.dataItems.template.locations.openDateY,0),n.component=t,n.setDate(s,r),n._index=u,u++,W.__(p,function(e){var s=a.values[e];if(s){var o=s.value;t._adapterO&&(o=t._adapterO.apply("groupValue",{dataItem:a,interval:i,dataField:e,date:r,value:o}).value);var l=n.values[e];_.Et(o)?(l.value=o,l.workingValue=o,l.open=o,l.close=o,l.low=o,l.high=o,l.sum=o,l.average=o,l.count=1):l.count=0}}),e.postProcessSeriesDataItem(n,i),H.__(t.propertyFields,function(t,e){var i=a.properties[t];_.a4(i)&&(n.hasProperties=!0,n.setProperty(t,i))}),n.groupDataItems=[a],h=c):n&&(W.__(p,function(e){var s=t.groupFields[e],o=a.values[e];if(o){var l=o.value;if(t._adapterO&&(l=t._adapterO.apply("groupValue",{dataItem:a,interval:i,dataField:e,date:r,value:l}).value),_.Et(l)){var h=n.values[e];_.Et(h.open)||(h.open=l),h.close=l,(h.low>l||!_.Et(h.low))&&(h.low=l),(h.high<l||!_.Et(h.high))&&(h.high=l),_.Et(h.sum)?h.sum+=l:h.sum=l,h.count++,h.average=h.sum/h.count,_.Et(h[s])&&(h.value=h[s],h.workingValue=h.value)}}}),D.Lb(a.properties,n.properties),H.__(t.propertyFields,function(t,e){var i=a.properties[t];_.a4(i)&&(n.hasProperties=!0,n.setProperty(t,i))}),n.groupDataItems.push(a))}n&&D.Lb(a.dataContext,n.dataContext)}),n&&t._adapterO&&W.__(p,function(e){n.values[e].value=t._adapterO.apply("groupDataItem",{dataItem:n,interval:i,dataField:e,date:r,value:n.values[e].value}).value,n.values[e].workingValue=n.values[e].value})}),this.calculateZoom()}},e.prototype.getDFFormatter=function(){this._df=this.dateFormatter},e.prototype.postProcessSeriesDataItem=function(t,e){var i=this,n="";e?n=e.timeUnit+e.count:e=this.mainBaseInterval;var r=t.component.dataItemsByAxis.getKey(this.uid);H.__(t.dates,function(s){var a=t.getDate(s).getTime(),o=tf.LI(new Date(a),e.timeUnit,e.count,i._firstWeekDay,i._df.utc,void 0,i._df.timezoneMinutes,i._df.timezone).getTime(),l=tf.WQ(new Date(o),e.timeUnit,e.count,i._df.utc);t.setCalculatedValue(s,o,"open"),t.setCalculatedValue(s,l.getTime(),"close"),r.setKey(o+n,t)})},e.prototype.addEmptyUnitsBreaks=function(){var t=this;if(this.skipEmptyPeriods&&_.Et(this.min)&&_.Et(this.max)){var e=this.baseInterval.timeUnit,i=this.baseInterval.count;this._axisBreaks&&this._axisBreaks.clear();for(var n=tf.LI(new Date(this.min),e,i,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),r=void 0,s=this;n.getTime()<this.max-this.baseDuration;)!function(){tf.WQ(n,e,i,s._df.utc);var a=n.getTime(),o=a.toString();b.gR(s.series.iterator(),function(e){return!!e.dataItemsByAxis.getKey(t.uid).getKey(o+e.currentDataSetId)})?r&&(r.endDate=new Date(a-1),r=void 0):r||((r=s.axisBreaks.create()).startDate=new Date(a),s._gapBreaks=!0)}()}},e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this._axisBreaks;i&&i.length>0&&i.each(function(t){var i=Math.ceil(e._gridCount*(Math.min(e.end,t.endPosition)-Math.max(e.start,t.startPosition))/(e.end-e.start));t.gridInterval=e.chooseInterval(0,t.adjustedEndValue-t.adjustedStartValue,i);var n=tf.LI(new Date(t.adjustedStartValue),t.gridInterval.timeUnit,t.gridInterval.count,e._firstWeekDay,e._df.utc,void 0,e._df.timezoneMinutes,e._df.timezone);n.getTime()>t.startDate.getTime()&&tf.WQ(n,t.gridInterval.timeUnit,t.gridInterval.count,e._df.utc),t.gridDate=n})},e.prototype.getFirstWeekDay=function(){return this._df?this._df.firstDayOfWeek:1},e.prototype.getGridDate=function(t,e){var i=this._gridInterval.timeUnit,n=this._gridInterval.count;tf.LI(t,i,1,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone);var r=t.getTime(),s=tf.C(t),a=tf.WQ(s,i,e,this._df.utc).getTime(),o=this.isInBreak(a);return(o&&o.endDate&&(s=new Date(o.endDate.getTime()),tf.LI(s,i,n,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),s.getTime()<o.endDate.getTime()&&tf.WQ(s,i,n,this._df.utc),a=s.getTime()),Math.round(this.adjustDifference(r,a)/tf.Ds(i))<n)?this.getGridDate(t,e+n):s}
1,e.prototype.getBreaklessDate=function(t,e,i){var n=new Date(t.endValue);tf.LI(n,e,i,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),tf.WQ(n,e,i,this._df.utc);var r=n.getTime();return(t=this.isInBreak(r))?this.getBreaklessDate(t,e,i):n},e.prototype.validateAxisElements=function(){var t=this;if(_.Et(this.max)&&_.Et(this.min)){this.calculateZoom();var e=this._gridDate.getTime(),i=this._gridInterval.timeUnit,n=this._gridInterval.count,r=tf.C(this._gridDate),s=this._dataItemsIterator;this.resetIterators();for(var a=this;e<=this._maxZoomed;)!function(){var t=a.getGridDate(tf.C(r),n);e=t.getTime();var o=tf.C(t);o=tf.WQ(o,i,n,a._df.utc);var l=a.dateFormats.getKey(i);a.markUnitChange&&r&&tf.$_(t,r,a._nextGridUnit,a._df.utc)&&"year"!==i&&(l=a.periodChangeDateFormats.getKey(i));var h=a._df.format(t,l),u=s.find(function(t){return t.text===h});u.__disabled&&(u.__disabled=!1),a.appendDataItem(u),u.axisBreak=void 0,u.date=t,u.endDate=o,u.text=h,a.validateDataElement(u),r=t}();var o=this.renderer;this._axisBreaks&&b.__(this._axisBreaks.iterator(),function(e){if(e.breakSize>0){var i=e.gridInterval.timeUnit,n=e.gridInterval.count;if(F.Yf(e.startPoint,e.endPoint)>4*o.minGridDistance)for(var r,a=e.gridDate.getTime(),l=0;a<=e.adjustedMax;)!function(){var o=tf.C(e.gridDate);if(a=tf.WQ(o,i,n*l,t._df.utc).getTime(),l++,a>e.adjustedStartValue&&a<e.adjustedEndValue){var h=tf.C(o);h=tf.WQ(h,i,n,t._df.utc);var u=t.dateFormats.getKey(i);t.markUnitChange&&r&&tf.$_(o,r,t._nextGridUnit,t._df.utc)&&"year"!==i&&(u=t.periodChangeDateFormats.getKey(i));var p=t._df.format(o,u),d=s.find(function(t){return t.text===p});d.__disabled&&(d.__disabled=!1),t.appendDataItem(d),d.axisBreak=e,e.dataItems.moveValue(d),d.date=o,d.endDate=h,d.text=p,r=o,t.validateDataElement(d)}}()}})}},e.prototype.validateDataElement=function(t){if(t.itemIndex=this._axisItemCount,this._axisItemCount++,_.Et(this.max)&&_.Et(this.min)){var e=this.renderer,i=t.value,n=t.endValue;_.Et(n)||(n=i);var r=this.valueToPosition(i),s=this.valueToPosition(n),a=s;!t.isRange&&this._gridInterval.count>this.baseInterval.count&&(s=r+(s-r)/(this._gridInterval.count/this.baseInterval.count)),t.position=r;var o=t.tick;o&&!o.disabled&&e.updateTickElement(o,r,s);var l=t.grid;l&&!l.disabled&&e.updateGridElement(l,r,s);var h=t.axisFill;h&&!h.disabled&&(e.updateFillElement(h,r,a),t.isRange||this.fillRule(t));var u=t.mask;u&&e.updateFillElement(u,r,s),t.bullet&&e.updateBullet(t.bullet,r,s);var p=t.label;if(p&&!p.disabled){var d=p.location;0==d&&(d=1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||t.isRange?0:.5),e.updateLabelElement(p,r,s,d)}}},Object.defineProperty(e.prototype,"baseDuration",{get:function(){return tf.Ds(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),e.prototype.adjustMinMax=function(t,e){return{min:t,max:e,step:this.baseDuration}},e.prototype.fixMin=function(t){var e=this.baseInterval,i=tf.LI(new Date(t),e.timeUnit,e.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone).getTime(),n=tf.WQ(new Date(i),e.timeUnit,e.count,this._df.utc).getTime();return i+(n-i)*this.startLocation},e.prototype.fixMax=function(t){var e=this.baseInterval,i=tf.LI(new Date(t),e.timeUnit,e.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone).getTime(),n=tf.WQ(new Date(i),e.timeUnit,e.count,this._df.utc).getTime();return i+(n-i)*this.endLocation},e.prototype.chooseInterval=function(t,e,i,n){n||(n=this.gridIntervals);var r=n.getIndex(t),a=tf.Ds(r.timeUnit,r.count),o=n.length-1;if(t>=o)return(0,s.Cl)({},n.getIndex(o));var l=Math.ceil(e/a);return e<a&&t>0?(0,s.Cl)({},n.getIndex(t-1)):l<=i?(0,s.Cl)({},n.getIndex(t)):t+1<n.length?this.chooseInterval(t+1,e,i,n):(0,s.Cl)({},n.getIndex(t))},e.prototype.formatLabel=function(t){return this._df.format(t)},e.prototype.dateToPosition=function(t){return this.valueToPosition(t.getTime())},e.prototype.anyToPosition=function(t){return t instanceof Date?this.dateToPosition(t):this.valueToPosition(t)},e.prototype.dateToPoint=function(t){var e=this.dateToPosition(t),i=this.renderer.positionToPoint(e),n=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:n}},e.prototype.anyToPoint=function(t){return t instanceof Date?this.dateToPoint(t):this.valueToPoint(t)},e.prototype.positionToDate=function(t){return new Date(this.positionToValue(t))}
1,e.prototype.getPositionX=function(t,e,i,n,r){var s=this.getTimeByLocation(t,e,i);_.Et(s)||(s=this.baseValue);var a=this.valueToPosition(s);return r&&(a=F.s_(a,r.start,r.end)),a},e.prototype.getPositionY=function(t,e,i,n,r){var s=this.getTimeByLocation(t,e,i),a=t.getValue("valueX","stack");_.Et(s)||(s=this.baseValue);var o=this.valueToPosition(s+a);return r&&(o=F.s_(o,r.start,r.end)),o},e.prototype.getAngle=function(t,e,i,n,r){var s=this.getTimeByLocation(t,e,i),a=t.getValue(n,"stack");_.Et(s)||(s=this.baseValue);var o=this.valueToPosition(s+a);return r&&(o=F.s_(o,r.start,r.end)),this.positionToAngle(o)},e.prototype.getTimeByLocation=function(t,e,i){if(_.a4(e)){!_.Et(i)&&(i=t.workingLocations[e],_.Et(i)||(i=0));var n=t.values[e].open,r=t.values[e].close,s=t.values[e].workingValue,a=t.values[e].value-s;if(n-=a,r-=a,_.Et(n)&&_.Et(r))return n+(r-n)*i}},e.prototype.processSeriesDataItem=function(t,e){var i,n,r=t.component,s=t["date"+e];if(_.Et(this.timezoneOffset)?(s.setTime(s.getTime()+(s.getTimezoneOffset()-this.timezoneOffset)*6e4),t.setValue("date"+e,s.getTime(),0)):_.a4(this.timezone)&&(s=tf.a6(s,this.timezone),t.setValue("date"+e,s.getTime(),0),t["date"+e]=s),s){i=s.getTime();var a=t["openDate"+e],o=this._prevSeriesTime[r.uid];if(a&&(n=a.getTime()),_.Et(n)){var l=Math.abs(i-n);this._minDifference[r.uid]>l&&(this._minDifference[r.uid]=l)}var h=i-o;h>0&&this._minDifference[r.uid]>h&&(this._minDifference[r.uid]=h),this._prevSeriesTime[r.uid]=i,r._baseInterval[this.uid]&&this.postProcessSeriesDataItem(t)}},e.prototype.updateAxisBySeries=function(){t.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this.minDifference,1);this.minDifference>=tf.Ds("day",27)&&"week"==e.timeUnit&&(e.timeUnit="month",e.count=1),"month"==e.timeUnit&&(this.minDifference>=tf.Ds("day",58)&&1==e.count&&(e.count=2),this.minDifference>=tf.Ds("day",87)&&2==e.count&&(e.count=3),this.minDifference>=tf.Ds("day",174)&&5==e.count&&(e.count=6)),this.minDifference>=tf.Ds("hour",23)&&"hour"==e.timeUnit&&(e.timeUnit="day",e.count=1),this.minDifference>=tf.Ds("week",1)-tf.Ds("hour",1)&&"day"==e.timeUnit&&(e.timeUnit="week",e.count=1),this.minDifference>=tf.Ds("year",1)-tf.Ds("day",1.01)&&"month"==e.timeUnit&&(e.timeUnit="year",e.count=1),this._baseIntervalReal=e,this._mainBaseInterval=e},Object.defineProperty(e.prototype,"baseInterval",{get:function(){return this._groupInterval?this._groupInterval:this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(t){JSON.stringify(this._baseInterval)!=JSON.stringify(t)&&(this._baseInterval=t,this._mainBaseInterval=t,_.Et(t.count)||(t.count=1),this.invalidate(),this.postProcessSeriesDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainBaseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._mainBaseInterval?this._mainBaseInterval:this._baseIntervalReal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(t){if(t){var e=this.axisBreaks.template;e.startLine.disabled=!0,e.endLine.disabled=!0,e.fillShape.disabled=!0,e.breakSize=0}else this._gapBreaks&&(this.axisBreaks.clear(),this._gapBreaks=!1);this.setPropertyValue("skipEmptyPeriods",t)&&(this.invalidate(),this.postProcessSeriesDataItems(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(t){this.setPropertyValue("tooltipDateFormat",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(t){this.setPropertyValue("markUnitChange",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e,i=this.positionToDate(t);if(i=tf.LI(i,this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,new Date(this.min),this._df.timezoneMinutes,this._df.timezone),this.tooltipDate=i,_.a4(this.tooltipDateFormat))e=this._df.format(i,this.tooltipDateFormat,-1==["day","month","week","year"].indexOf(this.baseInterval.timeUnit));else{var n=this.dateFormats.getKey(this.baseInterval.timeUnit);e=n?this._df.format(i,n):this.getPositionLabel(t)}
1return this._adapterO?this._adapterO.apply("getTooltipText",e):e},e.prototype.roundPosition=function(t,e,i){var n=this.baseInterval,r=n.timeUnit,s=n.count,a=this.positionToDate(t);if(tf.LI(a,r,s,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),e>0&&tf.WQ(a,r,e*s,this._df.utc),i>0&&i<1&&a.setTime(a.getTime()+this.baseDuration*i),this.isInBreak(a.getTime()))for(;a.getTime()<this.max&&(tf.WQ(a,r,s,this._df.utc),this.isInBreak(a.getTime())););return this.dateToPosition(a)},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getSeriesDataItem=function(t,e,i){var n,r=this.positionToValue(e),s=r-("Y"==this.axisLetter?t.dataItems.template.locations.dateY:t.dataItems.template.locations.dateX)*this.baseDuration,a=tf.LI(new Date(r),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone),o=tf.LI(new Date(r+this.baseDuration),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone);o.getTime()>a.getTime()&&Math.abs(o.getTime()-s)<Math.abs(s-a.getTime())&&(a=o);var l=t.dataItemsByAxis.getKey(this.uid).getKey(a.getTime()+t.currentDataSetId);return!l&&i&&(n="Y"==this.axisLetter?"dateY":"dateX",l=t.dataItems.getIndex(t.dataItems.findClosestIndex(a.getTime(),function(t){return t[n]?t[n].getTime():-1/0},"any"))),l},e.prototype.getPositionLabel=function(t){var e=this.positionToDate(t);return this._df.format(e,this.getCurrentLabelFormat())},e.prototype.getCurrentLabelFormat=function(){return this.dateFormats.getKey(this._gridInterval?this._gridInterval.timeUnit:"day")},e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this);var e=this.renderer;e&&(e.ticks.template.location=0,e.grid.template.location=0,e.labels.template.location=0,e.baseGrid.disabled=!0)},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.animateMinMax=function(t,e){var i=this,n=this.animate([{property:"_minAdjusted",from:this._minAdjusted,to:t},{property:"_maxAdjusted",from:this._maxAdjusted,to:e}],this.rangeChangeDuration,this.rangeChangeEasing);return n.events.on("animationprogress",function(){i.dispatch("extremeschanged")}),n},e.prototype.handleExtremesChange=function(){if(t.prototype.handleExtremesChange.call(this),this.groupData){var e=this.baseInterval.timeUnit+this.baseInterval.count;this.groupMin[e]=this._finalMin,this.groupMax[e]=this._finalMax}},e.prototype.zoomToDates=function(t,e,i,n,r){t=this._df.parse(t),e=this._df.parse(e),this.zoomToValues(t.getTime(),e.getTime(),i,n,r)},e.prototype.zoomToValues=function(t,e,i,n,r){var a=this;if(this.groupData){var o=this.adjustDifference(t,e),l=!1;e==this.max&&(l=!0);var h=!1;if(t==this.min&&(h=!0),_.a4(o)){var u=this.mainBaseInterval,p=this.chooseInterval(0,o,this.groupCount,this.groupIntervals);(p.timeUnit==u.timeUnit&&p.count<u.count||tf.Ds(p.timeUnit,1)<tf.Ds(u.timeUnit,1))&&(p=(0,s.Cl)({},u));var d=p.timeUnit+p.count,c=this.groupMin[d],f=this.groupMax[d];_.Et(c)&&_.Et(f)||(c=1/0,f=-1/0,this.series.each(function(t){var e=t.min(a),i=t.max(a);if(t._dataSets){var n=t._dataSets.getKey(p.timeUnit+p.count);if(n){var r=n.getIndex(0),s=n.getIndex(n.length-1);r&&(t.xAxis==a?e=r.dateX.getTime():t.yAxis==a&&(e=r.dateY.getTime())),s&&(t.xAxis==a?i=s.dateX.getTime():t.yAxis==a&&(i=s.dateY.getTime()))}}i=tf.LI(tf.WQ(new Date(i),p.timeUnit,1,a._df.utc),p.timeUnit,1,a._df.firstDayOfWeek,a._df.utc,void 0,a._df.timezoneMinutes,a._df.timezone).getTime(),e<c&&(c=e),i>f&&(f=i)}),this.groupMin[d]=c,this.groupMax[d]=f),t=F.s_(t,c,f),e=F.s_(e,c,f),r&&(l&&(t=e-o,t=F.s_(t,c,f)),h&&(e=t+o,e=F.s_(e,c,f)));var g=(t-c)/(f-c),y=(e-c)/(f-c);this.zoom({start:g,end:y},i,n)}}else{var g=this.valueToPosition(t),y=this.valueToPosition(e);this.zoom({start:g,end:y},i,n)}},e.prototype.asIs=function(e){return"baseInterval"==e||t.prototype.asIs.call(this,e)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.dateFormats=e.dateFormats,this.periodChangeDateFormats=e.periodChangeDateFormats,this.groupIntervals.clear(),e.groupIntervals.each(function(t){i.groupIntervals.push((0,s.Cl)({},t))}),this.gridIntervals.clear(),e.gridIntervals.each(function(t){i.gridIntervals.push((0,s.Cl)({},t))}),e._baseInterval&&(this.baseInterval=e._baseInterval)},e.prototype.showTooltipAtPosition=function(e,i){var n=this;if(i||(e=this.toAxisPosition(e)),this.snapTooltip){var r,s=this.positionToDate(e).getTime();if(this.series.each(function(t){if(t.baseAxis==n){var i=n.getSeriesDataItem(t,e,!0);if(i){var a=void 0;t.xAxis==n&&(a=i.dateX),t.yAxis==n&&(a=i.dateY),r?Math.abs(r.getTime()-s)>Math.abs(a.getTime()-s)&&(r=a):r=a}}}),r){var a=r.getTime();a=(r=tf.LI(new Date(a),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,void 0,this._df.timezoneMinutes,this._df.timezone)).getTime();var o=this.renderer.tooltipLocation;0==o&&(o=1e-4),r=new Date(r.getTime()+this.baseDuration*o),e=this.dateToPosition(r),this.chart.cursor&&this.chart.cursor.snapToSeries||this.series.each(function(t){var e=t.dataItemsByAxis.getKey(n.uid).getKey(a+t.currentDataSetId),i=t.showTooltipAtDataItem(e);i?n.chart._seriesPoints.push({series:t,point:i}):(t.tooltipText||t.tooltipHTML)&&t.hideTooltip()})}}t.prototype.showTooltipAtPosition.call(this,e,!0)},Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupData",{get:function(){return this.getPropertyValue("groupData")},set:function(t){var e=this;this.setPropertyValue("groupData",t)&&(this.series.each(function(i){i.setDataSet(""),t&&!i.dataGrouped&&i.inited&&(i._baseInterval[e.uid]=e.mainBaseInterval,e.groupSeriesD
1ata(i))}),this._currentDataSetId="",this._groupInterval=void 0,this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupInterval",{get:function(){return this.getPropertyValue("groupInterval")},set:function(t){this.setPropertyValue("groupInterval",t)&&(this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupCount",{get:function(){return this.getPropertyValue("groupCount")},set:function(t){this.setPropertyValue("groupCount",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezoneOffset",{get:function(){return this.getPropertyValue("timezoneOffset")},set:function(t){this.setPropertyValue("timezoneOffset",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezone",{get:function(){return this.getPropertyValue("timezone")},set:function(t){this.setPropertyValue("timezone",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridInterval",{get:function(){return this._gridInterval},enumerable:!0,configurable:!0}),e.prototype.makeGap=function(t,e){var i=t.component;if(t&&e&&!i.connect&&_.Et(i.autoGapCount)&&i.baseAxis==this){var n=t.dates["date"+this.axisLetter],r=e.dates["date"+this.axisLetter];if(n&&r&&n.getTime()-r.getTime()>i.autoGapCount*this.baseDuration)return!0}return!1},Object.defineProperty(e.prototype,"baseValue",{get:function(){return this.min},enumerable:!0,configurable:!0}),e}(td);a.u.registeredClasses.DateAxis=ty,a.u.registeredClasses.DateAxisDataItem=tg;var tm=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererX",e.minGridDistance=120,e.opposite=!1,e.rotation=0,e.width=(0,g.KN)(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="vertical"},e.prototype.updateGridContainer=function(){var t=this.axis;if(t){var e=this.gridContainer;e.x=t.pixelX,e.width=t.axisLength}},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){e.width instanceof g.QE||(e.width=(0,g.KN)(100)),D.kH(this.line);var i=e.title;i.rotation=0,i.align="center",this.opposite?(this.line.toFront(),i.toBack()):(i.toFront(),this.toBack(),this.line.toBack())}},e.prototype.updateTooltip=function(){if(this.axis){var t=this.line.pixelX,e=this.line.pixelY,i=this.axisLength,n=1e3;this.opposite?this.inside||(e=-1e3,n=1e3):this.inside&&(e=-1e3,n=1e3),this.axis.updateTooltip("vertical",{x:t,y:e,width:i,height:n})}},e.prototype.updateLabelElement=function(t,e,i,n){_.a4(n)||(n=t.location),e+=(i-e)*n;var r,s=this.positionToPoint(e);t.isMeasured=!t.inside;var a=0,o=this.gridContainer.maxHeight;this.opposite?(t.inside?(r="top","bottom"==t.valign&&(a=o,r="bottom"),"middle"==t.valign&&(a=o/2,r="middle")):r="bottom",s.y=a):(t.inside?(r="bottom","top"==t.valign&&(a=-o,r="top"),"middle"==t.valign&&(a=-o/2,r="middle")):r="top",s.y+=a),0==t.rotation&&(t.verticalCenter=r),this.positionItem(t,s),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredWidth-t.pixelPaddingRight-t.pixelPaddingLeft||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){return{x:this.positionToCoordinate(t),y:0}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.x,t.y)},e.prototype.getPositionRangePath=function(t,e){var i=F.s_(this.positionToCoordinate(t),0,this.axisLength),n=F.s_(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),s=this.getHeight(),a=Math.min(i,n);return y.XJ({x:a,y:0,width:r,height:s},!0)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,s=e.startPoint,a=e.endPoint,o=e.pixelMarginLeft,l=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;s.x=F.s_(s.x,-1,this.axisLength+1),a.x=F.s_(a.x,-1,this.axisLength+1),s.x==a.x&&(s.x<0||s.x>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,i.y=o,i.width=0,i.height=l,n.y=o,n.width=0,n.height=l,r.height=l,r.width=Math.abs(a.x-s.x),r.y=o,r.x=s.x}
1,e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=y.tw({x:0,y:0})+y.a5({x:0,y:this.getHeight()}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e),r=t.length;n.y=D.oI({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.opposite?r*=t.inside?1:-1:r*=t.inside?-1:1,t.path=y.tw({x:0,y:0})+y.a5({x:0,y:r}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=y.tw({x:0,y:0})+y.a5({x:this.axisLength,y:0})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getHeight(),n=this.axisLength,r=this.baseGrid,s=e.basePoint.x;if(s<-.2||s>n+.2)r.hide(0);else{var a=D.oI({x:0,y:0},this.gridContainer,r.parent).y;r.path=y.tw({x:0,y:0})+y.a5({x:0,y:i}),r.moveTo({x:s,y:a}),r.show(0)}},e.prototype.createBreakSprites=function(t){t.startLine=new G.a,t.endLine=new G.a;var e=new to.D;e.setWavedSides(!1,!0,!1,!0),t.fillShape=e},e.prototype.toAxisPosition=function(t){var e=this.axis;if(e){var i=e.relativePositionSprite,n=e.pixelX;if(i?n=D.oI({x:this.pixelX,y:0},this.parent,i).x:i=e.parent,i)return(t-n/i.innerWidth)/(e.axisLength/i.innerWidth)}return t},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof tl&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.y=D.oI({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(ta);a.u.registeredClasses.AxisRendererX=tm,x.Z4.push({relevant:x.H$.heightXS,state:function(t,e){if(t instanceof tm){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),x.Z4.push({relevant:x.H$.heightXXS,state:function(t,e){if(t instanceof tm){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}});var tv=function(t){function e(){var e=t.call(this)||this;return e.className="CategoryAxisBreak",e.properties.startLocation=.5,e.properties.endLocation=.5,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue,this.startLocation)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue,this.endLocation)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(t){this.setPropertyValue("startCategory",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(t){this.setPropertyValue("endCategory",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startValue",{get:function(){var t=this.getPropertyValue("startCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){var t=this.getPropertyValue("endCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(q);a.u.registeredClasses.CategoryAxisBreak=tv;var tb=function(t){function e(){var e=t.call(this)||this;return e.seriesDataItems={}
1,e.className="CategoryAxisDataItem",e.text="{category}",e.locations.category=0,e.locations.endCategory=1,e.deltaPosition=0,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"category",{get:function(){return this._adapterO&&this._adapterO.isEnabled("category")?this._adapterO.apply("category",this.properties.category):this.properties.category},set:function(t){var e=this.properties.category;this.setProperty("category",t),_.a4(e)&&e!=t&&this.component&&this.component.validateDataElement(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(t){this.setProperty("endCategory",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deltaPosition",{get:function(){return this.properties.deltaCoordinate},set:function(t){t!=this.properties.deltaCoordinate&&(this.setProperty("deltaCoordinate",t),this.component&&(this.component.invalidateDataItems(),this.component.invalidateSeries()))},enumerable:!0,configurable:!0}),e}(Q),t_=function(t){function e(){var e=t.call(this)||this;e.dataItemsByCategory=new w.bT,e.className="CategoryAxis",e.axisFieldName="category",e._lastDataItem=e.createDataItem(),e._lastDataItem.component=e,e._disposers.push(e._lastDataItem),e.applyTheme();var i=e.dataItemsByCategory;return e.addDisposer(e.mainDataSet.events.on("removed",function(t){i.removeKey(t.oldValue.category)})),e}return(0,s.C6)(e,t),e.prototype.createDataItem=function(){return new tb},e.prototype.createAxisBreak=function(){return new tv},e.prototype.processSeriesDataItem=function(e,i){t.prototype.processSeriesDataItem.call(this,e,i);var n=e["category"+this.axisLetter];if(_.a4(n)){var r=this.dataItemsByCategory.getKey(n);if(r){var s=e.component.uid,a=r.seriesDataItems[s];a||(a=[],r.seriesDataItems[s]=a),a.push(e)}}else e.component.dataItems.remove(e)},e.prototype.validateDataRange=function(){var i=this;t.prototype.validateDataRange.call(this),b.__(this._series.iterator(),function(t){if(t.xAxis instanceof e&&t.yAxis instanceof e)t.invalidateDataRange();else{var n=i.positionToIndex(i.start),r=i.positionToIndex(i.end);r>=i.dataItems.length&&r--;for(var s=t.uid,a=void 0,o=void 0,l=n;l<=r;l++){var h=i.dataItems.getIndex(l);if(h){var u=h.seriesDataItems[s];if(u)for(var p=0;p<u.length;p++){var d=u[p];if(d){var c=d.index;(!_.Et(a)||c<a)&&(a=c),(!_.Et(o)||c>o)&&(o=c)}}}}_.Et(a)?t.startIndex=a:t.start=i.start,_.Et(o)?t.endIndex=o+1:t.end=i.end,i._axisBreaks&&i._axisBreaks.length>0&&t.invalidateDataRange()}})},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this);var i=this.dataItems.length,n=F.s_(Math.floor(this.start*i-1),0,i),r=F.s_(Math.ceil(this.end*i),0,i);this.renderer.invalid&&this.renderer.validate();var s=this.renderer.axisLength/Math.max(this.renderer.minGridDistance,1/Number.MAX_SAFE_INTEGER),a=Math.min(this.dataItems.length,Math.ceil((r-n)/s));if(this._startIndex=Math.floor(n/a)*a,this._endIndex=Math.ceil(this.end*i),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=a,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),n=F.T9(0,this._startIndex-this._frequency),r=F.jk(this.dataItems.length,this._endIndex+this._frequency);for(var o=0,l=0;l<n;l++){var h=this.dataItems.getIndex(l);h.__disabled=!0}for(var l=r,u=this.dataItems.length;l<u;l++){var h=this.dataItems.getIndex(l);h.__disabled=!0}for(var l=n;l<r;l++)if(l<this.dataItems.length){var h=this.dataItems.getIndex(l);l/this._frequency==Math.round(l/this._frequency)?(this.isInBreak(l)||(this.appendDataItem(h),this.validateDataElement(h,o)),o++):h.__disabled=!0}this.appendDataItem(this._lastDataItem),this.validateDataElement(this._lastDataItem,o+1,this.dataItems.length),this._axisBreaks&&this._axisBreaks.each(function(t){var i=t.adjustedStartValue,n=t.adjustedEndValue;if(F.y$({start:i,end:n},{start:e._startIndex,end:e._endIndex})){for(var r=i;r<=n;r++){var s=e.dataItems.getIndex(r);s.__disabled=!0}var a=F.s_(Math.ceil(e._frequency/t.breakSize),1,n-i),o=0;if(t.breakSize>0)for(var r=i;r<=n;r+=a){var s=e.dataItems.getIndex(r);
1s.__disabled=!1,e.appendDataItem(s),e.validateDataElement(s,o),o++}}}),this.validateBreaks(),this.validateAxisRanges(),this.ghostLabel.invalidate(),this.renderer.invalidateLayout()}},e.prototype.validateDataElement=function(e,i,n){t.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var r,s,a,o=this.renderer;_.Et(n)||(n=this.categoryToIndex(e.category));var l=this.categoryToIndex(e.endCategory);_.Et(l)||(l=n);var h=this.indexToPosition(n,e.locations.category),u=this.indexToPosition(l,e.locations.endCategory);e.position=h,e.isRange&&(r=l,s=this.indexToPosition(n,e.locations.category),a=this.indexToPosition(r,e.locations.endCategory)),e.point=o.positionToPoint(h);var p=e.tick;p&&!p.disabled&&o.updateTickElement(p,h,u);var d=e.grid;d&&!d.disabled&&o.updateGridElement(d,h,u);var c=e.label;c&&!c.disabled&&(e.isRange&&void 0!=c.text||(e.text=e.text),o.updateLabelElement(c,h,u),(o instanceof th&&e.label.measuredWidth>this.ghostLabel.measuredWidth||o instanceof tm&&e.label.measuredHeight>this.ghostLabel.measuredHeight)&&(e.label.html?this.ghostLabel.html=e.label.currentText:this.ghostLabel.text=e.label.currentText));var f=e.axisFill;f&&!f.disabled&&(e.isRange||(r=n+this._frequency,s=this.indexToPosition(n,f.location),a=this.indexToPosition(r,f.location)),o.updateFillElement(f,s,a),e.isRange||this.fillRule(e,i)),e.bullet&&o.updateBullet(e.bullet,h,u);var g=e.mask;g&&o.updateFillElement(g,s,a)},e.prototype.disposeData=function(){this.dataItemsByCategory.clear(),t.prototype.disposeData.call(this)},e.prototype.processDataItem=function(e,i){e&&(t.prototype.processDataItem.call(this,e,i),_.a4(e.category)&&this.dataItemsByCategory.setKey(e.category,e))},e.prototype.getDataItem=function(t){var e=t[this.dataFields.category];if(_.a4(e)){var i=this.dataItemsByCategory.getKey(e);return i||this.dataItems.create()}},e.prototype.indexToPosition=function(t,e){_.Et(e)||(e=.5);var i=this.startIndex,n=this.endIndex,r=this.adjustDifference(i,n),s=this.startLocation,a=this.endLocation;if(r-=s,r-=1-a,this._axisBreaks){var o=this._axisBreaks;b.FY(o.iterator(),function(e){var r=e.adjustedStartValue,s=e.adjustedEndValue;if(t<i||!_.Et(r)||!_.Et(s))return!1;if(F.y$({start:r,end:s},{start:i,end:n})){r=Math.max(i,r),s=Math.min(n,s);var a=e.breakSize;t>s?i+=(s-r)*(1-a):t<r||(t=r+(t-r)*a)}return!0})}var l=0,h=this.dataItems.getIndex(t);return h&&(l=h.deltaPosition),F.LI(l+(t+e-s-i)/r,5)},e.prototype.categoryToPosition=function(t,e){var i=this.categoryToIndex(t);return this.indexToPosition(i,e)},e.prototype.categoryToPoint=function(t,e){var i=this.categoryToPosition(t,e),n=this.renderer.positionToPoint(i),r=this.renderer.positionToAngle(i);return{x:n.x,y:n.y,angle:r}},e.prototype.anyToPoint=function(t,e){return this.categoryToPoint(t,e)},e.prototype.anyToPosition=function(t,e){return this.categoryToPosition(t,e)},e.prototype.categoryToIndex=function(t){if(_.a4(t)){var e=this.dataItemsByCategory.getKey(t);if(e)return e.index}},e.prototype.zoomToCategories=function(t,e){this.zoomToIndexes(this.categoryToIndex(t),this.categoryToIndex(e)+1)},e.prototype.getAnyRangePath=function(t,e,i,n){var r=this.categoryToPosition(t,i),s=this.categoryToPosition(e,n);return this.getPositionRangePath(r,s)},e.prototype.roundPosition=function(t,e){var i=this.positionToIndex(t);return this.indexToPosition(i,e)},e.prototype.getFirstSeriesDataItem=function(t,e){for(var i=0;i<t.dataItems.length;i++){var n=t.dataItems.getIndex(i);if(t.xAxis==this&&n.categoryX==e||t.yAxis==this&&n.categoryY==e)return n}},e.prototype.getLastSeriesDataItem=function(t,e){for(var i=t.dataItems.length-1;i>=0;i--){var n=t.dataItems.getIndex(i);if(t.xAxis==this&&n.categoryX==e||t.yAxis==this&&n.categoryY==e)return n}},e.prototype.getSeriesDataItemByCategory=function(t,e){var i,n=this;return e.dataItems.each(function(r){e.xAxis==n?r.categoryX==t&&(i=r):e.yAxis==n&&r.categoryY==t&&(i=r)}),i},e.prototype.getSeriesDataItem=function(t,e,i){var n=this;if(_.Et(e)){var r=this.positionToIndex(e);r>=this.dataItems.length&&r--;var s=this.dataItems.getIndex(r);if(s){var a,o=s.category,l=t.dataItems.getIndex(r);return l&&(t.xAxis==this&&l.categoryX==o||t.yAxis==this&&l.categoryY==o)?l:(t.dataItems.each(function(e){t.xAxis==n&&e.categoryX==o&&(a||(a=e),Math.abs(r-a.index)>Math.abs(r-e.index)&&(a=e)),t.yAxis==n&&e.categoryY==o&&(a||(a=e),Math.abs(r-a.index)>Math.abs(r-e.index)&&(a=e))}),a)}}}
1,e.prototype.getX=function(t,e,i,n,r){var s=this.getPositionX(t,e,i,n,r);return _.yr(s)?this.basePoint.x:this.renderer.positionToPoint(s).x},e.prototype.getPositionX=function(t,e,i,n,r){var s;return _.a4(e)&&(s=this.categoryToPosition(t.categories[e],i)),r&&(s=F.s_(s,r.start,r.end)),s},e.prototype.getY=function(t,e,i,n,r){var s=this.getPositionY(t,e,i,n,r);return _.yr(s)?this.basePoint.y:this.renderer.positionToPoint(s).y},e.prototype.getPositionY=function(t,e,i,n,r){var s;return _.a4(e)&&(s=this.categoryToPosition(t.categories[e],i)),r&&(s=F.s_(s,r.start,r.end)),s},e.prototype.getAngle=function(t,e,i,n,r){var s=this.categoryToPosition(t.categories[e],i);return r&&(s=F.s_(s,r.start,r.end)),this.positionToAngle(s)},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getTooltipText=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return(this.tooltipDataItem=e,this.tooltip.dataItem=e,this.tooltipText)?this.tooltipText:this._adapterO?this._adapterO.apply("getTooltipText",e.category):e.category},e.prototype.positionToIndex=function(t){(t=F.LI(t,10))<0&&(t=0),t>1&&(t=1);var e=this.startIndex,i=this.endIndex,n=i-e-this.startLocation-(1-this.endLocation);t+=1/n*this.startLocation;var r=null;if(this._axisBreaks){var s=this._axisBreaks;b.FY(s.iterator(),function(s){var a=s.startPosition,o=s.endPosition,l=s.adjustedStartValue,h=s.adjustedEndValue;l=F.T9(l,e),h=F.jk(h,i);var u=s.breakSize;if(n-=(h-l)*(1-u),t>o)e+=(h-l)*(1-u);else if(!(t<a))return r=l+Math.round((t-a)/(o-a)*(h-l)),!1;return!0})}return _.Et(r)||(r=Math.floor(t*n+e)),r>=this.dataItems.length&&(r=this.dataItems.length-1),r},e.prototype.positionToCategory=function(t){return this.getPositionLabel(t)},e.prototype.getPositionLabel=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return e.category},Object.defineProperty(e.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this),this.renderer.baseGrid.disabled=!0},Object.defineProperty(e.prototype,"frequency",{get:function(){return this._frequency},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortBySeries",{get:function(){return this.getPropertyValue("sortBySeries")},set:function(t){this.setPropertyValue("sortBySeries",t,!0)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){e&&_.a4(e.sortBySeries)&&_.Kg(e.sortBySeries)&&(this.map.hasKey(e.sortBySeries)?e.sortBySeries=this.map.getKey(e.sortBySeries):(this.addDelayedMap("sortBySeries",e.sortBySeries),delete e.sortBySeries)),t.prototype.processConfig.call(this,e)},e}($);a.u.registeredClasses.CategoryAxis=t_,a.u.registeredClasses.CategoryAxisDataItem=tb;var tx=function(t){function e(){var e=t.call(this)||this;return e.className="XYSeriesDataItem",e.values.customValue={},e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customValue",{get:function(){return this.values.customValue.value},set:function(t){this.setValue("customValue",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(t){this.setDate("dateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(t){this.setDate("dateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryX",{get:function(){return this.categories.categoryX}
1,set:function(t){this.setCategory("categoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(t){this.setCategory("categoryY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(t){this.setValue("openValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(t){this.setValue("openValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(t){this.setDate("openDateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(t){this.setDate("openDateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(t){this.setCategory("openCategoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(t){this.setCategory("openCategoryY",t)},enumerable:!0,configurable:!0}),e.prototype.getMin=function(t,e,i){var n,r=this;return _.Et(i)||(i=0),W.__(t,function(t){var s;((s=(e?r.getWorkingValue(t):r.getValue(t))+i)<n||!_.Et(n))&&(n=s)}),n},e.prototype.getMax=function(t,e,i){var n,r=this;return _.Et(i)||(i=0),W.__(t,function(t){var s;((s=(e?r.getWorkingValue(t):r.getValue(t))+i)>n||!_.Et(n))&&(n=s)}),n},e}(Y),tP=function(t){function e(){var e=t.call(this)||this;return e.groupFields={},e._xAxis=new l.h1,e._yAxis=new l.h1,e._xValueFields=[],e._yValueFields=[],e._baseInterval={},e.dataGrouped=!1,e.usesShowFields=!1,e._dataSetChanged=!1,e._maxxX=1e5,e._maxxY=1e5,e._propertiesChanged=!1,e.outOfRange=!1,e.className="XYSeries",e.isMeasured=!1,e.groupFields.valueX="close",e.groupFields.valueY="close",e.groupFields.customValue="close",e.groupFields.openValueX="open",e.groupFields.openValueY="open",e.cursorTooltipEnabled=!0,e.cursorHoverEnabled=!0,e.excludeFromTotal=!1,e.mainContainer.mask=new c.kx,e.mainContainer.mask.setElement(e.paper.add("path")),e.stacked=!1,e.snapTooltip=!1,e._showBullets=!1,e.tooltip.pointerOrientation="horizontal",e.properties.stackToNegative=!0,e.hideTooltipWhileZooming=!0,e.setPropertyValue("maskBullets",!0),e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()},void 0,!1),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.observe(c.mM,function(){e.inited&&(e._propertiesChanged=!0,e.legendDataItem&&(e.legendDataItem.childrenCreated=!1),e.chart&&e.chart.legend&&e.chart.legend.invalidateDataItems(),e.invalidate())},void 0,!1),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},e.prototype.createDataItem=function(){return new tx},e.prototype.resetExtremes=function(){this._tmin.clear(),this._tmax.clear(),this._smin.clear(),this._smax.clear()},e.prototype.dataChangeUpdate=function(){this.dataGrouped=!1,this._baseInterval={},this._currentDataSetId="",this.resetExtremes(),this.xAxis&&this.xAxis.seriesDataChangeUpdate(this),this.yAxis&&this.yAxis.seriesDataChangeUpdate(this)},e.prototype.validateData=function(){this._baseInterval={};var e=this.dataFields;if(e.valueYShow||e.openValueXShow||e.openValueXShow||e.openValueYShow?this.usesShowFields=!0:this.usesShowFields=!1,this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),t.prototype.validateData.call(this),this.updateItemReaderText(),this.chart&&(!_.a4(this.dataFields[this._xField])||!_.a4(this.dataFields[this._yField])))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.');this.inited&&this.isHidden&&this.hide(0),this.dataGrouped=!1},e.prototype.processDataItem=function(e,i){try{t.prototype.processDataItem.call(this,e,i),this.xAxis.processSeriesD
1ataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y"),this.setInitialWorkingValues(e)}catch(t){this._chart&&this._chart.raiseCriticalError(t)}},e.prototype.updateDataItem=function(e){t.prototype.updateDataItem.call(this,e),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y")},e.prototype.setInitialWorkingValues=function(t){},e.prototype.disposeData=function(){t.prototype.disposeData.call(this);var e=this.xAxis,i=this.yAxis;if(e){var n=this.dataItemsByAxis.getKey(e.uid);n&&n.clear(),e instanceof t_&&this.clearCatAxis(e)}if(i){var r=this.dataItemsByAxis.getKey(i.uid);r&&r.clear(),i instanceof t_&&this.clearCatAxis(i)}},e.prototype.clearCatAxis=function(t){var e=this.uid;t.dataItems.each(function(t){t.seriesDataItems[e]&&(t.seriesDataItems[e]=[])})},e.prototype.defineFields=function(){var t=this.xAxis,e=this.yAxis;if(t&&e){var i=t.axisFieldName,n=i+"X",r="open"+D.ZH(i)+"X",s=e.axisFieldName,a=s+"Y",o="open"+D.ZH(s)+"Y";this._xField=n,this._yField=a,this.dataFields[r]&&(this._xOpenField=r),this.dataFields[o]&&(this._yOpenField=o),this.dataFields[o]||this.baseAxis!=e||(this._yOpenField=a),this.dataFields[r]||this.baseAxis!=t||(this._xOpenField=n),this.stacked&&this.baseAxis==t&&(this._xOpenField=n),this.stacked&&this.baseAxis==e&&(this._yOpenField=a),t instanceof t_&&e instanceof t_&&!this._yOpenField&&(this._yOpenField=a),this._xValueFields=[],this._yValueFields=[],this.addValueField(t,this._xValueFields,this._xField),this.addValueField(t,this._xValueFields,this._xOpenField),this.addValueField(e,this._yValueFields,this._yField),this.addValueField(e,this._yValueFields,this._yOpenField)}},e.prototype.addValueField=function(t,e,i){t instanceof td&&_.a4(this.dataFields[i])&&-1==e.indexOf(i)&&e.push(i)},e.prototype.setCategoryAxisField=function(t,e){_.a4(this.dataFields[t])||(this.dataFields[t]=e.dataFields.category)},e.prototype.setDateAxisField=function(t,e){_.a4(this.dataFields[t])||(this.dataFields[t]=e.dataFields.date)},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.createMask()},e.prototype.createMask=function(){if(this.mainContainer.mask){var t=this.getMaskPath();b.__(this.axisRanges.iterator(),function(e){e.axisFill.fillPath&&(e.axisFill.validate(),t+=e.axisFill.fillPath)}),this.mainContainer.mask.path=t}},e.prototype.getMaskPath=function(){return this.xAxis&&this.yAxis?y.XJ({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength}):""},e.prototype.getAxisField=function(t){return t==this.xAxis?this.xField:t==this.yAxis?this.yField:void 0},e.prototype.validateDataItems=function(){var e=this.chart;e&&(this._maxxX=F.T9(1e5,2*e.plotContainer.maxWidth),this._maxxY=F.T9(1e5,2*e.plotContainer.maxHeight));var i=this.xAxis,n=this.yAxis;i&&n&&(i.updateAxisBySeries(),n.updateAxisBySeries()),t.prototype.validateDataItems.call(this),i&&n&&(i.postProcessSeriesDataItems(this),n.postProcessSeriesDataItems(this))},e.prototype.validateDataRange=function(){var e=this.xAxis,i=this.yAxis;e&&i&&(e.dataRangeInvalid&&e.validateDataRange(),i.dataRangeInvalid&&i.validateDataRange()),t.prototype.validateDataRange.call(this)},e.prototype.validate=function(){var e=this.xAxis,i=this.yAxis;if(e&&i){e.invalid&&e.validate(),i.invalid&&i.validate(),this.y=i.pixelY,this.x=e.pixelX,this._showBullets=!0;var n=this.minBulletDistance;_.Et(n)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)<n&&(this._showBullets=!1)}if(this.updateTooltip(),(!(e instanceof ty)||!e.groupData||this.dataGrouped)&&(!(i instanceof ty)||!i.groupData||this.dataGrouped)){t.prototype.validate.call(this);var r=this.chart,s=this.maskBullets;r&&s&&"XYChart"==r.className&&(("vertical"==r.leftAxesContainer.layout||"vertical"==r.rightAxesContainer.layout)&&(this.yAxis?this.bulletsContainer.mask=this.yAxis.renderer.gridContainer:this.bulletsContainer.mask=void 0),("horizontal"==r.topAxesContainer.layout||"horizontal"==r.bottomAxesContainer.layout)&&(this.xAxis?this.bulletsContainer.mask=this.xAxis.renderer.gridContainer:this.bulletsContainer.mask=void 0))}},Object.defineProperty(e.prototype,"xAxis",{get:function(){if(this.chart){if(!this._xAxis.get()){var t=this.chart.xAxes.getIndex(0);if(!t)throw Error("There are no X axes on chart.");this.xAxis=t}return this._xAxis.get()}},set:function(t){this.setXAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setXAxis=function(t){var e=this._xAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._xAxis.dispose(),e.series.removeValue(this)),this._xAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new w.bT),this.invalidateData())}
1,Object.defineProperty(e.prototype,"yAxis",{get:function(){if(this.chart){if(!this._yAxis.get()){var t=this.chart.yAxes.getIndex(0);if(!t)throw Error("There are no Y axes on chart.");this.yAxis=t}return this._yAxis.get()}},set:function(t){this.setYAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setYAxis=function(t){var e=this._yAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._yAxis.dispose(),e.series.removeValue(this)),this._yAxis.set(t,t.registerSeries(this)),t.chart instanceof tT&&t.chart.handleYAxisSet(this),this.dataItemsByAxis.setKey(t.uid,new w.bT),this.invalidateData())},Object.defineProperty(e.prototype,"baseAxis",{get:function(){var t=this.xAxis,e=this.yAxis;return!this._baseAxis&&t&&e&&(e instanceof ty&&(this._baseAxis=e),t instanceof ty&&(this._baseAxis=t),e instanceof t_&&(this._baseAxis=e),t instanceof t_&&(this._baseAxis=t),this._baseAxis||(this._baseAxis=t)),this._baseAxis},set:function(t){this._baseAxis!=t&&(this._baseAxis=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.addData=function(e,i,n){t.prototype.addData.call(this,e,i,n),this.scrollbarSeries&&(this.scrollbarSeries.addData(e,i,!0),this.scrollbarSeries._parseDataFrom=this._parseDataFrom)},e.prototype.setData=function(e){t.prototype.setData.call(this,e),this.scrollbarSeries&&this.scrollbarSeries.setData(e)},e.prototype.setDataSet=function(e){var i=t.prototype.setDataSet.call(this,e);if(i){this._dataSetChanged=!0;var n=this.dataItems;if(this.resetExtremes(),n&&n.length>0){var r=this.xAxis,s=this.yAxis;this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.appeared||this.processValues(!1),r instanceof ty&&r==this.baseAxis&&(this._tmin.setKey(r.uid,n.getIndex(0).dateX.getTime()),this._tmax.setKey(r.uid,n.getIndex(n.length-1).dateX.getTime()),this.dispatch("extremeschanged")),s instanceof ty&&s==this.baseAxis&&(this._tmin.setKey(s.uid,n.getIndex(0).dateY.getTime()),this._tmax.setKey(s.uid,n.getIndex(n.length-1).dateY.getTime()),this.dispatch("extremeschanged"))}}return i},e.prototype.processValues=function(e){t.prototype.processValues.call(this,e);var i=this.xAxis,n=this.yAxis;if(i&&n){var r=this.dataItems,s=1/0,a=-1/0,o=1/0,l=-1/0,h=this.startIndex,u=this.endIndex,p=h,d=u;e||(h=0,u=this.dataItems.length);for(var c=h;c<u;c++){var f=r.getIndex(c);this.getStackValue(f,e);var g=f.getValue("valueX","stack"),y=f.getValue("valueY","stack");s=F.jk(f.getMin(this._xValueFields,e,g),s),o=F.jk(f.getMin(this._yValueFields,e,y),o),a=F.T9(f.getMax(this._xValueFields,e,g),a),l=F.T9(f.getMax(this._yValueFields,e,y),l),this.stacked&&(this.baseAxis==i&&(y<o&&(o=y),y>l&&(l=y)),this.baseAxis==n&&(g<s&&(s=g),g>a&&(a=g)))}i.processSeriesDataItems(),n.processSeriesDataItems();var m=i.uid,v=n.uid;if(this.xAxis instanceof td&&(s==1/0||a==-1/0)){this._smin.setKey(m,void 0),this._smax.setKey(m,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(this.yAxis instanceof td&&(o==1/0||l==-1/0)){this._smin.setKey(v,void 0),this._smax.setKey(v,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(!e&&(this._tmin.getKey(m)!=s||this._tmax.getKey(m)!=a||this._tmin.getKey(v)!=o||this._tmax.getKey(v)!=l)){this._tmin.setKey(m,s),this._tmax.setKey(m,a),this._tmin.setKey(v,o),this._tmax.setKey(v,l);var b=this.stackedSeries;b&&(b.isDisposed()?this.stackedSeries=void 0:b.processValues(!1)),this.dispatchImmediately("extremeschanged")}if(h!=p||u!=d){s=1/0,a=-1/0,o=1/0,l=-1/0;for(var c=p;c<d;c++){var f=r.getIndex(c);this.getStackValue(f,e);var g=f.getValue("valueX","stack"),y=f.getValue("valueY","stack");s=F.jk(f.getMin(this._xValueFields,e,g),s),o=F.jk(f.getMin(this._yValueFields,e,y),o),a=F.T9(f.getMax(this._xValueFields,e,g),a),l=F.T9(f.getMax(this._yValueFields,e,y),l),this.stacked&&(this.baseAxis==i&&(y<o&&(o=y),y>l&&(l=y)),this.baseAxis==n&&(g<s&&(s=g),g>a&&(a=g)))}}if(this.xAxis instanceof td&&(s==1/0||a==-1/0)){this._smin.setKey(m,void 0),this._smax.setKey(m,void 0),this.dispatchImmediately("selectionextremeschanged");return}if(this.yAxis instanceof td&&(o==1/0||l==-1/0)){this._smin.setKey(v,void 0),this._smax.setKey(v,void 0),this.dispatchImmediately("selectionextremeschanged");return}if((this._smin.getKey(m)!=s||this._smax.getKey(m)!=a||this._smin.getKey(v)!=o||this._smax.getKey(v)!=l)&&(this._smin.setKey(m,s),this._smax.setKey(m,a),this._smin.setKey(v,o),this._smax.setKey(v,l),this.appeared||0!=this.start||1!=this.end||this.dataItems!=this.mainDataSet)){var x=!1;if(n instanceof td&&!(n instanceof ty)){var P=this._tmin.getKey(v);(!_.Et(P)||(this.usesShowFields||this._dataSetChanged||i instanceof ty&&i.groupData&&this.isShowing)&&o<P||this.stackedSeries&&!this.isHidden)&&(this._tmin.setKey(v,o),x=!0);var C=this._tmax.getKey(v);(!_.Et(C)||(this.usesShowFields||this._dataSetChanged||i instanceof ty&&i.groupData&&this.isShowing)&&l>C||this.stackedSeries&&!this.isHidden)&&(this._tmax.setKey(v,l),x=!0)}if(i instanceof td&&!(i instanceof ty)){var P=this._tmin.getKey(m);(!_.Et(P)||(this.usesShowFields||this._dataSetChanged||n instanceof ty&&n.groupData&&this.isShowing)&&s<P||this.stackedSeries&&!this.isHidden)&&(this._tmin.setKey(m,s),x=!0);var C=this._tmax.getKey(m);(!_.Et(C)||(this.usesShowFields||this._dataSetChanged||n instanceof ty&&n.groupData&&this.isShowing)&&a>C||this.stackedSeries&&!this.isHidden)&&(this._tmax.setKey(m,a),x=!0)}x&&this.dispatchImmediately("extremeschanged"),0==this.start&&1==this.end&&(this._dataSetChanged=!1),this.dispatchImmediately("selectionextremeschanged")}!e&&this.stacked&&this.processValues(!0)}},e.prototype.hideTooltip=function(e){t.prototype.hideTooltip.call(this,e),this.returnBulletDefaultState(),this._prevTooltipDataItem=void 0},e.prototype.showTooltipAtPosition=function(t,e){var i;if(this.visible&&!this.isHiding&&!this.isShowing){var n=this._xAxis.get(),r=this._yAxis.get();
1n==this.baseAxis&&(i=n.getSeriesDataItem(this,n.toAxisPosition(t),this.snapTooltip)),r==this.baseAxis&&(i=r.getSeriesDataItem(this,r.toAxisPosition(e),this.snapTooltip));var s=this.showTooltipAtDataItem(i);if(s)return s;if(!this.tooltipText&&!this.tooltipHTML)return}this.hideTooltip()},e.prototype.getAdjustedXLocation=function(t,e,i){return t.locations[e]},e.prototype.getAdjustedYLocation=function(t,e,i){return t.locations[e]},e.prototype.showTooltipAtDataItem=function(t){var e,i,n=this.chart.cursor;if(n&&n.hideSeriesTooltipsOnSelection&&n.selection.visible&&n.downPoint)return void this.hideTooltip();if(this.returnBulletDefaultState(t),t&&t.visible){if(this.updateLegendValue(t),this.cursorTooltipEnabled){this.tooltipDataItem=t;var r=this.tooltipXField,a=this.tooltipYField;if(_.a4(t[r])&&_.a4(t[a])){var o=this.getPoint(t,r,a,this.getAdjustedXLocation(t,r),this.getAdjustedYLocation(t,a));if(o)if("XYChart"==this.chart.className&&(o.y<-1||o.y>this.yAxis.pixelHeight+1||o.x<-1||o.x>this.xAxis.pixelWidth+1));else{if(this.tooltipX=o.x,this.tooltipY=o.y,this._prevTooltipDataItem!=t&&(this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:t}),this._prevTooltipDataItem=t),this.cursorHoverEnabled)try{for(var l=(0,s.Ju)(t.sprites),h=l.next();!h.done;h=l.next()){var u=h.value;!u.parent.visible||u.isHidden||u.__disabled||u.disabled||u.isHiding||(u.interactions.isRealHover||(u.dispatchImmediately("over"),u.interactions.isRealHover=!0),u.isHover=!0)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(e)throw e.error}}return this.showTooltip()?D.rq({x:o.x,y:o.y},this):void 0}}}}else this.updateLegendValue(t,!0)},e.prototype.returnBulletDefaultState=function(t){var e,i;if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=t)try{for(var n=(0,s.Ju)(this._prevTooltipDataItem.sprites),r=n.next();!r.done;r=n.next()){var a=r.value;if(a.isDisposed())this._prevTooltipDataItem=void 0;else{var o=a.interactions.isRealHover;a.isHover=!1,o&&a.dispatchImmediately("out")}}}catch(t){e={error:t}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}},e.prototype.shouldCreateBullet=function(t,e){var i=e.xField;_.a4(i)||(i=this.xField);var n=e.yField;if(_.a4(n)||(n=this.yField),this.xAxis instanceof td&&!t.hasValue([i])||this.yAxis instanceof td&&!t.hasValue([n]))return!1;if(e.disabled){var r=e.propertyFields.disabled,s=t.dataContext;if(!s||!1!==s[r])return!1}return!0},e.prototype.updateTooltip=function(){this.hideTooltipWhileZooming||!this.tooltip||this.tooltip.isHidden||this.isHiding||this.isHidden||!this.tooltipDataItem||this.showTooltipAtDataItem(this.tooltipDataItem)},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem,n=e.xField;_.a4(n)||(n=this.xField);var r=e.yField;_.a4(r)||(r=this.yField);var s=this.xAxis,a=this.yAxis;if(s instanceof td&&!i.hasValue([n])||a instanceof td&&!i.hasValue([r]))e.visible=!1;else{var o=this.getBulletLocationX(e,n),l=this.getBulletLocationY(e,r);if(this.getPoint(i,n,r,o,l)){var h=this.xOpenField,u=this.yOpenField,p=void 0,d=void 0;if(s instanceof ty){_.Et(o)||(o=0);var c=void 0,f=i.getWorkingValue(n);h?c=i.getWorkingValue(h):s==this.baseAxis&&(c=s.baseValue),_.Et(c)||(c=f);var g=i.getValue("valueX","stack");if((c+=g)==(f+=g)){var y=s.baseInterval,m=s.dateFormatter;c=tf.LI(new Date(c),y.timeUnit,y.count,m.firstDayOfWeek,m.utc,void 0,m.timezoneMinutes,m.timezone).getTime(),f=tf.WQ(new Date(c),y.timeUnit,y.count,m.utc).getTime()}var v=void 0;v=s==this.baseAxis?c+(f-c)*o:c+(f-c)*(1-o),p=s.valueToPosition(v)}else if(s instanceof td){_.Et(o)||(o=0);var c=void 0,f=i.getWorkingValue(n);c=h?i.getWorkingValue(h):s.baseValue;var g=i.getValue("valueX","stack"),v=(c+=g)+((f+=g)-c)*(1-o);p=s.valueToPosition(v)}else if(s instanceof t_){var b=this.getAdjustedXLocation(i,n,e.locationX),x=this.getAdjustedXLocation(i,h,e.locationX);p=s.categoryToPosition(i[n],b);var P=void 0;h&&(P=s.categoryToPosition(i[h],x)),_.Et(P)||(P=1),p=P+(p-P)*o}if(a instanceof ty){_.Et(l)||(l=0);var c=void 0,f=i.getWorkingValue(r);u?c=i.getWorkingValue(u):a==this.baseAxis&&(c=a.baseValue),_.Et(c)||(c=f);var g=i.getValue("valueY","stack");if((c+=g)==(f+=g)){var y=a.baseInterval,m=a.dateFormatter;c=tf.LI(new Date(c),y.timeUnit,y.count,m.firstDayOfWeek,m.utc,void 0,m.timezoneMinutes,m.timezone).getTime(),f=tf.WQ(new Date(c),y.timeUnit,y.count,m.utc).getTime()}var v=void 0;v=a==this.baseAxis?c+(f-c)*l:c+(f-c)*(1-l),d=a.valueToPosition(v)}else if(a instanceof td){_.Et(l)||(l=0);var c=void 0,f=i.getWorkingValue(r);c=u?i.getWorkingValue(u):a.baseValue;var g=i.getValue("valueY","stack"),v=(c+=g)+((f+=g)-c)*(1-l);d=a.valueToPosition(v)}else if(a instanceof t_){d=a.categoryToPosition(i[r],l);var C=this.getAdjustedYLocation(i,r,e.locationY),w=this.getAdjustedYLocation(i,u,e.locationY);d=a.categoryToPosition(i[r],C);var O=void 0;u&&(O=a.categoryToPosition(i[u],w)),_.Et(O)||(O=1),d=O+(d-O)*l}e.visible=!0,this.positionBulletReal(e,p,d)}else e.visible=!1}}
1,e.prototype.positionBulletReal=function(t,e,i){t.x=this.xAxis.renderer.positionToPoint(e,i).x,t.y=this.yAxis.renderer.positionToPoint(i,e).y},e.prototype.getBulletLocationX=function(t,e){var i=t.locationX,n=t.dataItem;return _.Et(i)||(i=n.workingLocations[e]),i},e.prototype.getBulletLocationY=function(t,e){var i=t.locationY,n=t.dataItem;return _.Et(i)||(i=n.workingLocations[e]),i},e.prototype.updateStacking=function(){var t=this;this.invalidateDataItems(),this.chart&&this.chart.series.each(function(e){e.baseAxis==t.baseAxis&&(e.stackedSeries=void 0,e.invalidateDataItems(),e.invalidateProcessedData())})},Object.defineProperty(e.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(t){if(this.setPropertyValue("stacked",t,!0)){this.updateStacking();var e,i=this.xAxis,n=this.yAxis;!t&&(i!=this.baseAxis&&i instanceof td&&(e=this.xField),n!=this.baseAxis&&n instanceof td&&(e=this.yField),e&&this.dataItems.each(function(t){t.setCalculatedValue(e,0,"stack")}))}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i,n,r=this;this.isHidden&&(this.appeared&&this.xAxis instanceof ty&&this.xAxis.groupData&&(this._tmin.setKey(this.yAxis.uid,void 0),this._tmax.setKey(this.yAxis.uid,void 0)),this.appeared&&this.yAxis instanceof ty&&this.yAxis.groupData&&(this._tmin.setKey(this.xAxis.uid,void 0),this._tmax.setKey(this.xAxis.uid,void 0))),this.xAxis instanceof td&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof td&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var s=this.startIndex,a=this.endIndex,o=0,l=this.defaultState.transitionDuration;_.Et(e)&&(l=e),j.f.animationsEnabled||(l=0),b.__(b.KF(this.dataItems.iterator()),function(t){var e=t[0],h=t[1],u=l;(e<r.startIndex-10||e>r.endIndex+10)&&(u=0,o=0),r.sequencedInterpolation&&u>0&&(o=r.sequencedInterpolationDelay*e+l*(e-s)/(a-s)),n=h.show(u,o,i)}),this.dataSets.each(function(t,e){e!=r.dataItems&&e.each(function(t){t.events.disable(),t.show(0,0,i),t.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(t){t.events.disable(),t.show(0,0,i),t.events.enable()});var h=t.prototype.show.call(this,e);return n&&!n.isFinished()&&(h=n),this.hidden&&(this.dispatchImmediately("selectionextremeschanged"),this.hidden=!1),h},e.prototype.hide=function(e){var i,n,r,s=this,a=this.xAxis;a instanceof td&&a!=this.baseAxis&&(i=this._xValueFields,n=this.stacked||a.minZoomed<a.baseValue&&a.maxZoomed>a.baseValue||this.stackedSeries?a.baseValue:a.min);var o=this.yAxis;o instanceof td&&o!=this.baseAxis&&(i=this._yValueFields,n=this.stacked||o.minZoomed<o.baseValue&&o.maxZoomed>o.baseValue||this.stackedSeries?o.baseValue:o.min);var l=this.startIndex,h=this.endIndex,u=this.hiddenState.transitionDuration;_.Et(e)&&(u=e),j.f.animationsEnabled||(u=0);var p=0;b.__(b.KF(this.dataItems.iterator()),function(t){var e=t[0],a=t[1],o=u;(e<s.startIndex-10||e>s.endIndex+10)&&(o=0),0==o?a.hide(0,0,n,i):(s.sequencedInterpolation&&o>0&&(p=s.sequencedInterpolationDelay*e+u*(e-l)/(h-l)),r=a.hide(o,p,n,i))}),this.dataSets.each(function(t,e){e!=s.dataItems&&e.each(function(t){t.events.disable(),t.hide(0,0,n,i),t.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(t){t.events.disable(),t.hide(0,0,n,i),t.events.enable()});var d=t.prototype.hide.call(this,u);return d&&!d.isFinished()&&d.delay(p),r&&!r.isFinished()&&(d=r),this.validateDataElements(),d},e.prototype.handleDataItemWorkingValueChange=function(e,i){t.prototype.handleDataItemWorkingValueChange.call(this,e,i);var n=this.baseAxis.series;b.__(n.iterator(),function(t){(t.stacked||t.stackedSeries)&&t.invalidateProcessedData()})},e.prototype.getStackValue=function(t,e){var i=this,n=this.xAxis,r=this.yAxis;if(this.stacked&&n&&r){var s,a=this.chart,o=a.series.indexOf(this);n!=this.baseAxis&&n instanceof td&&(s=this.xField),r!=this.baseAxis&&r instanceof td&&(s=this.yField),s&&(t.setCalculatedValue(s,0,"stack"),b.FY(a.series.range(0,o).backwards().iterator(),function(a){if
1(a.xAxis==n&&a.yAxis==r&&a.className==i.className){a.stackedSeries=i;var o=a.dataItems.getIndex(t.index);if(o&&o.hasValue(i._xValueFields)&&o.hasValue(i._yValueFields)){var l=t.getValue(s),h=void 0,u=o.getValue(s)+o.getValue(s,"stack");if(h=e?o.getWorkingValue(s)+o.getValue(s,"stack"):o.getValue(s)+o.getValue(s,"stack"),!i.stackToNegative)return t.setCalculatedValue(s,h,"stack"),!1;if(l>=0&&u>=0||l<0&&u<0)return t.setCalculatedValue(s,h,"stack"),!1;if(!a.stacked)return!1}else if(!a.stacked)return!1}return!0}))}},Object.defineProperty(e.prototype,"stackToNegative",{get:function(){return this.getPropertyValue("stackToNegative")},set:function(t){this.setPropertyValue("stackToNegative",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(t){this._tooltipXField=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(t){this._tooltipYField=t},enumerable:!0,configurable:!0}),e.prototype.min=function(t){return this._tmin.getKey(t.uid)},e.prototype.max=function(t){return this._tmax.getKey(t.uid)},e.prototype.selectionMin=function(t){return this._smin.getKey(t.uid)},e.prototype.selectionMax=function(t){return this._smax.getKey(t.uid)},e.prototype.processConfig=function(e){if(e){if(_.a4(e.baseAxis)&&_.Kg(e.baseAxis)&&(this.map.hasKey(e.baseAxis)?e.baseAxis=this.map.getKey(e.baseAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.baseAxis+'" found for `baseAxis`.'),delete e.baseAxis)),_.a4(e.xAxis)&&_.Kg(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.xAxis+'" found for `xAxis`.'),delete e.xAxis)),_.a4(e.yAxis)&&_.Kg(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.yAxis+'" found for `yAxis`.'),delete e.yAxis)),_.a4(e.axisRanges)&&_.cy(e.axisRanges))for(var i=0,n=e.axisRanges.length;i<n;i++){var r=e.axisRanges[i];_.a4(r.type)||(r.type="AxisDataItem"),_.a4(r.axis)&&_.Kg(r.axis)&&this.map.hasKey(r.axis)?r.component=this.map.getKey(r.axis):_.a4(r.component)&&_.Kg(r.component)&&this.map.hasKey(r.component)&&(r.component=this.map.getKey(r.component))}_.a4(e.dataFields)&&_.Gv(e.dataFields)||this.processingErrors.push("`dataFields` is not set for series ["+(this.name||"unnamed")+"]")}t.prototype.processConfig.call(this,e)},e.prototype.getPoint=function(t,e,i,n,r,s,a){if(this.xAxis&&this.yAxis){var o=this.xAxis.getX(t,e,n),l=this.yAxis.getY(t,i,r);return{x:o=F.s_(o,-this._maxxX,this._maxxX),y:l=F.s_(l,-this._maxxY,this._maxxY)}}},e.prototype.updateItemReaderText=function(){if(!this._itemReaderTextChanged){var t="";H.__(this.dataFields,function(e,i){t+="{"+e+"} "}),this.itemReaderText=t,this._itemReaderTextChanged=!1}},Object.defineProperty(e.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(t){this.setPropertyValue("cursorTooltipEnabled",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorHoverEnabled",{get:function(){return this.getPropertyValue("cursorHoverEnabled")},set:function(t){this.setPropertyValue("cursorHoverEnabled",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"excludeFromTotal",{get:function(){return this.getPropertyValue("excludeFromTotal")},set:function(t){this.setPropertyValue("excludeFromTotal",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideTooltipWhileZooming",{get:function(){return this.getPropertyValue("hideTooltipWhileZooming")}
1,set:function(t){this.setPropertyValue("hideTooltipWhileZooming",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t);var e=this.chart;e&&(t?this.bulletsContainer.parent=e.bulletsContainer:this.bulletsContainer.parent=e.axisBulletsContainer)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){this.groupFields=D.Lb(e.groupFields,{}),t.prototype.copyFrom.call(this,e)},e.prototype.dispose=function(){this.scrollbarSeries&&this.scrollbarSeries.dispose(),t.prototype.dispose.call(this)},e}(X);a.u.registeredClasses.XYSeries=tP,a.u.registeredClasses.XYSeriesDataItem=tx;var tC=i(50620),tw=i(19062),tO=function(t){function e(){var e=t.call(this)||this;e._chart=new l.h1,e.className="XYChartScrollbar";var i=new f.T;e.padding(0,0,0,0);var n=e.createChild(tT);if(n.shouldClone=!1,n.margin(0,0,0,0),n.padding(0,0,0,0),n.interactionsEnabled=!1,e._scrollbarChart=n,!D.lT()){var r=new tw.X;r.filterUnits="userSpaceOnUse",n.plotContainer.filters.push(r)}e._disposers.push(e._scrollbarChart),e.minHeight=60,e.minWidth=60;var s=e.createChild(c.kx);s.shouldClone=!1,s.setElement(e.paper.add("path")),s.fill=i.getFor("background"),s.fillOpacity=.8,s.interactionsEnabled=!1,s.isMeasured=!1,s.toBack(),e._unselectedOverlay=s,e._disposers.push(e._unselectedOverlay),n.toBack(),e.background.cornerRadius(0,0,0,0);var a=e.thumb.background;a.cornerRadius(0,0,0,0),a.fillOpacity=0,a.fill=i.getFor("background");var o=a.states.getKey("hover");o&&(o.properties.fillOpacity=.2);var h=a.states.getKey("down");return h&&(h.properties.fillOpacity=.4),e._disposers.push(e._chart),e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new h.B8,this._disposers.push(this._series.events.on("inserted",this.handleSeriesAdded,this,!1)),this._disposers.push(this._series.events.on("removed",this.handleSeriesRemoved,this,!1))),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;if(i.xAxis&&i.yAxis){var n=this.scrollbarChart;n.zoomOutButton.disabled=!0,this.chart=i.chart,n.dateFormatter.inputDateFormat=this.chart.dateFormatter.inputDateFormat,n.language.locale=this.chart.language.locale;var r=!0,s=!0;b.__(this.series.iterator(),function(t){t!=i&&(t.xAxis==i.xAxis&&e.scrollbarChart.xAxes.length>0&&(r=!1),t.yAxis==i.yAxis&&e.scrollbarChart.yAxes.length>0&&(s=!1))}),i.events.on("beforedisposed",function(){e.series.removeValue(i)});var a=new f.T,o=i.clone();if((j.f.onlyShowOnViewport||j.f.queue)&&this.addDisposer(this.chart.events.on("removedfromqueue",function(){n.invalidateData()})),D.lT()&&(o.stroke=(0,R.yW)("#aaaaaa"),o.fill=o.stroke,o.propertyFields.fill=void 0,o.propertyFields.stroke=void 0),i.scrollbarSeries=o,r){var l=i.xAxis.clone();n.xAxes.moveValue(l),l.title.disabled=!0,l.rangeChangeDuration=0;var h=l.renderer;h.ticks.template.disabled=!0,h.inside=!0,h.labels.template.inside=!0,h.line.strokeOpacity=0,h.minLabelPosition=.02,h.maxLabelPosition=.98,h.line.disabled=!0,h.axisFills.template.disabled=!0,h.baseGrid.disabled=!0,h.grid.template.strokeOpacity=.05,h.minWidth=void 0,h.minHeight=void 0,h.padding(0,0,0,0),h.chart=n,h.margin(0,0,0,0),l.width=(0,g.KN)(100);var u=h.labels.template;if(u.fillOpacity=.5,l.maxZoomCount=void 0,l.minZoomCount=void 0,l instanceof ty){var p=i.xAxis;l.groupCount=5*p.groupCount,l.min=void 0,l.max=void 0,this._disposers.push(l.clonedFrom.events.on("extremeschanged",function(){_.Et(l.clonedFrom.minDefined)&&(l.min=l.clonedFrom.minDefined),_.Et(l.clonedFrom.maxDefined)&&(l.max=l.clonedFrom.maxDefined)},void 0,!1))}else l instanceof td&&(l.min=void 0,l.max=void 0,_.Et(l.clonedFrom.minDefined)||(l.min=void 0),_.Et(l.clonedFrom.maxDefined)||(l.max=void 0),this._disposers.push(l.clonedFrom.events.on("extremeschanged",function(){_.Et(l.clonedFrom.minDefined)&&(l.min=l.clonedFrom.min),_.Et(l.clonedFrom.maxDefined)&&(l.max=l.clonedFrom.max)},void 0,!1)));o.xAxis=l}else this.scrollbarChart.xAxes.each(function(t){t.clonedFrom==i.xAxis&&(o.xAxis=t)});if(s){var d=i.yAxis.clone();n.yAxes.moveValue(d),d.title.disabled=!0,d.rangeChangeDuration=0;var h=d.renderer;h.ticks.template.disabled=!0,h.inside=!0,h.labels.template.inside=!0,h.line.strokeOpacity=0,h.minLabelPosition=.02,h.maxLabelPosition=.98,h.line.disabled=!0,h.axisFills.template.disabled=!0,h.grid.template.stroke=a.getFor("background"),h.baseGrid.disabled=!0,h.grid.template.strokeOpacity=.05,h.minWidth=void 0,h.minHeight=void 0,h.chart=n,h.padding(0,0,0,0),h.margin(0,0,0,0),d.height=(0,g.KN)(100);var u=h.labels.template;if(u.fillOpacity=.5,o.yAxis=d,d.maxZoomCount=void 0,d.minZoomCount=void 0,d instanceof ty){d.min=void 0,d.max=void 0;var p=i.yAxis;d.groupCount=5*p.groupCount,this._disposers.push(d.clonedFrom.events.on("extremeschanged",function(){_.Et(d.clonedFrom.minDefined)&&(d.min=d.clonedFrom.minDefined),_.Et(d.clonedFrom.maxDefined)&&(d.max=d.clonedFrom.maxDefined)}))}else d instanceof td&&(d.min=void 0,d.max=void 0,_.Et(d.clonedFrom.minDefined)||(d.min=void 0),_.Et(d.clonedFrom.maxDefined)||(d.max=void 0),this._disposers.push(d.clonedFrom.events.on("extremeschanged",function(){_.Et(d.clonedFrom.minDefined)&&(d.min=d.clonedFrom.minDefined),_.Et(d.clonedFrom.maxDefined)&&(d.max=d.clonedFrom.maxDefined)})))}else this.scrollbarChart.yAxes.each(function(t){t.clonedFrom==i.yAxis&&(o.yAxis=t)});o.rangeChangeDuration=0,o.interpolationDuration=0,o.defaultState.transitionDuration=0,o.showOnInit=!1,this._disposers.push(o.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(i.events.on("datavalidated",function(){o.data!=i.data&&(o.data=i.data)},void 0,!1)),o.defaultState.properties.visible=!0,n.series.push(o),this.updateByOrientation()}},e.prototype.updateByOrientation=function(){var t=this;this._scrollbarChart&&(b.__(this._scrollbarChart.xAxes.iterator(),function(e){var i=e.renderer;"vertical"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}),b.__(this._scrollbarChart.yAxes.iterator(),function(e){var i=e.renderer;"horizontal"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}))},e.prototype.handleSeriesRemoved=function(t){var e=t.oldValue,i=this.scrollbarChart;i.series.each(function(t){t&&t.clonedFrom==e&&i.series.removeValue(t)}),0==i.series.length&&(i.xAxes.clear(),i.yAxes.clear());try{e.events.off("validated",this.zoomOutAxes,this)}catch(t){}},Object.defineProperty(e.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.get()!==t&&(this._chart.set(t,t.events.on("datavalidated",this.handleDataChanged,this,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unselectedOverlay",{get:function(){return this._unselectedOverlay},enumerable:!0,configurable:!0}),e.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data?this.scrollbarChart.data=this.chart.data:this.scrollbarChart.invalidateRawData()},e.prototype.zoomOutAxes=function(){var t=this.scrollbarChart;b.__(t.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}
1),b.__(t.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},e.prototype.updateThumb=function(e){if(void 0===e&&(e=!0),t.prototype.updateThumb.call(this,e),this._unselectedOverlay){var i=this.thumb,n=i.pixelX||0,r=i.pixelY||0,s=i.pixelWidth||0,a=i.pixelHeight||0,o="";o="horizontal"==this.orientation?y.XJ({x:-1,y:0,width:n,height:a})+y.XJ({x:n+s,y:0,width:(this.pixelWidth||0)-n-s,height:a}):y.XJ({x:0,y:0,width:s,height:r})+y.XJ({x:0,y:r+a,width:s,height:(this.pixelHeight||0)-r-a}),this._unselectedOverlay.path=o}},e.prototype.processConfig=function(e){if(e&&_.a4(e.series)&&_.cy(e.series))for(var i=0,n=e.series.length;i<n;i++){var r=e.series[i];if(_.a4(r)&&_.Kg(r))if(this.map.hasKey(r))e.series[i]=this.map.getKey(r);else throw Error("XYChartScrollbar error: Series with id `"+r+"` does not exist.")}t.prototype.processConfig.call(this,e)},e}(V.Z);a.u.registeredClasses.XYChartScrollbar=tO;var tS=function(t){function e(){var e=t.call(this)||this;return e.className="XYChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(K),tT=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=tm,e._axisRendererY=th,e._seriesPoints=[],e.className="XYChart",e.maskBullets=!0,e.arrangeTooltips=!0;var i=e.chartContainer;i.layout="vertical",e.padding(15,15,15,15);var n=i.createChild(u.m);n.shouldClone=!1,n.layout="vertical",n.width=(0,g.KN)(100),n.zIndex=1,e.topAxesContainer=n;var r=i.createChild(u.m);r.shouldClone=!1,r.layout="horizontal",r.width=(0,g.KN)(100),r.height=(0,g.KN)(100),r.zIndex=0,e.yAxesAndPlotContainer=r;var s=i.createChild(u.m);s.shouldClone=!1,s.width=(0,g.KN)(100),s.layout="vertical",s.zIndex=1,e.bottomAxesContainer=s;var a=r.createChild(u.m);a.shouldClone=!1,a.layout="horizontal",a.height=(0,g.KN)(100),a.contentAlign="right",a.events.on("transformed",e.updateXAxesMargins,e,!1),a.zIndex=1,e.leftAxesContainer=a;var o=r.createChild(u.m);o.shouldClone=!1,o.height=(0,g.KN)(100),o.width=(0,g.KN)(100),o.background.fillOpacity=0,e.plotContainer=o,e.mouseWheelBehavior="none",e._cursorContainer=o;var l=r.createChild(u.m);l.shouldClone=!1,l.layout="horizontal",l.height=(0,g.KN)(100),l.zIndex=1,l.events.on("transformed",e.updateXAxesMargins,e,!1),e.rightAxesContainer=l,e.seriesContainer.parent=o,e.bulletsContainer.parent=o;var h=o.createChild(tC.M);h.shouldClone=!1,h.align="right",h.valign="top",h.zIndex=Number.MAX_SAFE_INTEGER,h.marginTop=5,h.marginRight=5,h.hide(0),e.zoomOutButton=h;var p=e.plotContainer.createChild(u.m);return p.shouldClone=!1,p.width=(0,g.KN)(100),p.height=(0,g.KN)(100),p.isMeasured=!1,p.zIndex=4,p.layout="none",e.axisBulletsContainer=p,e._bulletMask=e.plotContainer,e.events.on("beforedatavalidated",function(){e.series.each(function(t){t.dataGrouped=!1,t._baseInterval={}})},e,!1),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.zoomOutButton.exportable=!1,_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y chart"))},e.prototype.draw=function(){t.prototype.draw.call(this),this.seriesContainer.toFront(),this.bulletsContainer.toFront(),this.maskBullets&&(this.bulletsContainer.mask=this._bulletMask),this.updateSeriesLegend()},e.prototype.updatePlotElements=function(){b.__(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateData=function(){0==this._parseDataFrom&&(b.__(this.xAxes.iterator(),function(t){t.dataChangeUpdate()}),b.__(this.yAxes.iterator(),function(t){t.dataChangeUpdate()}),b.__(this.series.iterator(),function(t){t.dataChangeUpdate()})),t.prototype.validateData.call(this)},e.prototype.updateXAxesMargins=function(){var t=this.leftAxesContainer.measuredWidth,e=this.rightAxesContainer.measuredWidth,i=this.bottomAxesContainer;(i.paddingLeft!=t||i.paddingRight!=e)&&(i.paddingLeft=t,i.paddingRight=e);var n=this.topAxesContainer;(n.paddingLeft!=t||n.paddingRight!=e)&&(n.paddingLeft=t,n.paddingRight=e)},e.prototype.reinit=function(){t.prototype.reinit.call(this),this.series.each(function(t){t.appeared=!1})},e.prototype.handleXAxisChange=function(t){this.updateXAxis(t.target)},e.prototype.handleYAxisChange=function(t){this.updateYAxis(t.target)},e.prototype.processXAxis=function(t){var e=t.newValue;e.chart=this,e.renderer||(e.renderer=new this._axisRendererX,e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleXAxisChange,this,
1!1)),e.axisLetter="X",e.events.on("startendchanged",this.handleXAxisRangeChange,this,!1),e.dataProvider=this,this.updateXAxis(e.renderer),this.processAxis(e)},e.prototype.processYAxis=function(t){var e=t.newValue;e.chart=this,e.renderer||(e.renderer=new this._axisRendererY,e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleYAxisChange,this,!1)),e.axisLetter="Y",e.events.on("startendchanged",this.handleYAxisRangeChange,this,!1),e.dataProvider=this,this.updateYAxis(e.renderer),this.processAxis(e)},e.prototype.handleXAxisRangeChange=function(){var t=this.getCommonAxisRange(this.xAxes);this.scrollbarX&&this.zoomAxes(this.xAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarX,t)},e.prototype.toggleZoomOutButton=function(){if(this.zoomOutButton){var t=!1;b.FY(this.xAxes.iterator(),function(e){if(e.toggleZoomOutButton){if(e.maxZoomCount>0){var i=e.maxZoomFactor/e.maxZoomCount;if(F.LI(e.end-e.start,3)<1/i)return t=!0,!1}else if(F.LI(e.start,3)>0||1>F.LI(e.end,3))return t=!0,!1}return!0}),b.FY(this.yAxes.iterator(),function(e){if(e.toggleZoomOutButton){if(e.maxZoomCount>0){var i=e.maxZoomFactor/e.maxZoomCount;if(F.LI(e.end-e.start,3)<1/i)return t=!0,!1}else if(F.LI(e.start,3)>0||1>F.LI(e.end,3))return t=!0,!1;return!0}}),this.seriesAppeared||(t=!1),t?this.zoomOutButton.show():this.zoomOutButton.hide()}},e.prototype.seriesAppeared=function(){var t=!1;return b.__(this.series.iterator(),function(e){if(!e.appeared)return t=!1,!1}),t},e.prototype.handleYAxisRangeChange=function(){var t=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,t)},e.prototype.updateScrollbar=function(t,e){t&&(t.skipRangeEvents(),t.start=e.start,t.end=e.end)},e.prototype.getCommonAxisRange=function(t){var e,i;return t.each(function(t){if(!t.zoomable||t instanceof td&&t.syncWithAxis);else{var n=t.start,r=t.end;t.renderer.inversed&&(n=1-t.end,r=1-t.start),(!_.Et(e)||n<e)&&(e=n),(!_.Et(i)||r>i)&&(i=r)}}),{start:e,end:i}},e.prototype.updateXAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.topAxesContainer,e.toFront()):(e.parent=this.bottomAxesContainer,e.toBack()),e.renderer&&e.renderer.processRenderer()},e.prototype.updateYAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.rightAxesContainer,e.toBack()):(e.parent=this.leftAxesContainer,e.toFront()),e.renderer&&e.renderer.processRenderer()},e.prototype.processAxis=function(t){var e=this;t instanceof t_&&this._dataUsers.moveValue(t);var i=t.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,t.addDisposer(new l.W_(function(){e.dataUsers.removeValue(t)})),i.bulletsContainer.parent=this.axisBulletsContainer,this._disposers.push(t.events.on("positionchanged",function(){var n=D.oI({x:0,y:0},t,e.axisBulletsContainer);t.renderer instanceof th&&(i.bulletsContainer.y=n.y),t.renderer instanceof tm&&(i.bulletsContainer.x=n.x)},void 0,!1)),this.plotContainer.events.on("maxsizechanged",function(){e.inited&&(t.invalidateDataItems(),e.updateSeriesMasks())},t,!1)},e.prototype.updateSeriesMasks=function(){D.lT()&&this.series.each(function(t){var e=t.mainContainer.mask;t.mainContainer.mask=void 0,t.mainContainer.mask=e})},e.prototype.handleSeriesRemoved=function(e){var i=e.oldValue;i&&(i.xAxis&&(i.xAxis.series.removeValue(i),i.xAxis.invalidateProcessedData()),i.yAxis&&(i.yAxis.series.removeValue(i),i.yAxis.invalidateProcessedData()),this.series.each(function(t){t.resetExtremes()})),t.prototype.handleSeriesRemoved.call(this,e)},Object.defineProperty(e.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new h.B8,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new h.a(this._xAxes,!1))),this._xAxes},enumerable:!0,configurable:!0}),e.prototype.handleAxisRemoval=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),e.autoDispose&&e.dispose()},Object.defineProperty(e.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new h.B8,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new h.a(this._yAxes,!1))),this._yAxes},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(e){try{t.prototype.handleSeriesAdded.call(this,e);var i=e.newValue;(0==this.xAxes.length||0==this.yAxes.length)&&(a.u.removeFromInvalidComponents(i),i.dataInvalid=!1),D.kH(i.xAxis),D.kH(i.yAxis),i.maskBullets=i.maskBullets,void 0==i.fill&&(this.patterns?(_.a4(i.stroke)||(i.stroke=this.colors.next()),i.fill=this.patterns.next(),_.a4(i.fillOpacity)&&(i.fill.backgroundOpacity=i.fillOpacity),i.stroke instanceof R.Q1&&(i.fill.stroke=i.stroke,i.fill.fill=i.stroke)):i.fill=this.colors.next()),_.a4(i.stroke)||(i.stroke=i.fill)}catch(t){this.raiseCriticalError(t)}},Object.defineProperty(e.prototype,"cursor",{get:function(){return this._cursor},set:function(t){this._cursor!=t&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=t,t&&(this._disposers.push(t),t.chart=this,t.shouldClone=!1,t.parent=this._cursorContainer,t.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,
1!1),t.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),t.events.on("zoomended",this.handleCursorZoomEnd,this,!1),t.events.on("panstarted",this.handleCursorPanStart,this,!1),t.events.on("panning",this.handleCursorPanning,this,!1),t.events.on("panended",this.handleCursorPanEnd,this,!1),t.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),t.events.on("hidden",this.handleHideCursor,this,!1),t.zIndex=Number.MAX_SAFE_INTEGER-1,this.tapToActivate&&this.setTapToActivate(this.tapToActivate)))},enumerable:!0,configurable:!0}),e.prototype.handleCursorPositionChange=function(){var t=this.cursor;if(t.visible&&!t.isHiding){var e=this.cursor.xPosition,i=this.cursor.yPosition;this.showSeriesTooltip({x:e,y:i});var n=[],r=t.snapToSeries;if(r&&!t.downPoint){r instanceof tP&&(r=[r]);var s=[];W.__(r,function(t){if(!t.isHidden&&!t.isHiding){var r=t.xAxis,a=t.yAxis;r instanceof td&&!(r instanceof ty)&&a instanceof td&&!(a instanceof ty)?(t.dataItems.each(function(t){s.push(t)}),W.Cy(n,t.yAxis),W.Cy(n,t.xAxis)):(t.baseAxis==t.xAxis&&(W.Cy(n,t.yAxis),s.push(r.getSeriesDataItem(t,r.toAxisPosition(e),!0))),t.baseAxis==t.yAxis&&(W.Cy(n,t.xAxis),s.push(a.getSeriesDataItem(t,a.toAxisPosition(i),!0))))}});var a=this.getClosest(s,e,i);a&&(this.series.each(function(t){var e=a.component;t!=e&&(t.hideTooltip(),t.xAxis!=e.xAxis&&(t.xAxis.hideTooltip(),n.push(t.xAxis)),t.yAxis!=e.yAxis&&(t.yAxis.hideTooltip(),n.push(t.yAxis)))}),a.component.showTooltipAtDataItem(a),t.handleSnap(a.component))}this._seriesPoints=[],this._cursorXPosition!=e&&this.showAxisTooltip(this.xAxes,e,n),this._cursorYPosition!=i&&this.showAxisTooltip(this.yAxes,i,n),this.arrangeTooltips&&this.sortSeriesTooltips(this._seriesPoints),this.legend&&this.legend.afterDraw()}},e.prototype.getClosest=function(t,e,i){var n,r=1/0;return W.FY(t,function(t){if(t){var s=t.component.xAxis,a=t.component.yAxis,o=s.positionToCoordinate(s.toGlobalPosition(s.toAxisPosition(e))),l=a.positionToCoordinate(a.toGlobalPosition(a.toAxisPosition(i))),h=t.component.xField,u=t.component.yField;if(s instanceof td&&!_.Et(t.getValue(h))||a instanceof td&&!_.Et(t.getValue(u)))return!0;var p=Math.sqrt(Math.pow(o-s.positionToCoordinate(s.toGlobalPosition(s.getPositionX(t,h,t.locations[h],"valueX"))),2)+Math.pow(l-a.positionToCoordinate(a.toGlobalPosition(a.getPositionY(t,u,t.locations[u],"valueY"))),2));return p<r&&(r=p,n=t),!0}}),n},e.prototype.handleHideCursor=function(){this.hideObjectTooltip(this.xAxes),this.hideObjectTooltip(this.yAxes),this.hideObjectTooltip(this.series),this._cursorXPosition=void 0,this._cursorYPosition=void 0,this.updateSeriesLegend()},e.prototype.updateSeriesLegend=function(){b.__(this.series.iterator(),function(t){t.updateLegendValue()})},e.prototype.hideObjectTooltip=function(t){b.__(t.iterator(),function(t){t.cursorTooltipEnabled&&t.hideTooltip(0)})},e.prototype.showSeriesTooltip=function(t){var e=this;if(!t)return void this.series.each(function(t){t.hideTooltip()});var i=[];this.series.each(function(n){if(n.xAxis instanceof ty&&n.xAxis.snapTooltip||n.yAxis instanceof ty&&n.yAxis.snapTooltip);else{var r=n.showTooltipAtPosition(t.x,t.y);r&&(n.tooltip.setBounds(D.tj({x:0,y:0,width:e.pixelWidth,height:e.pixelHeight},e)),i.push({series:n,point:r}))}}),this.arrangeTooltips&&this.sortSeriesTooltips(i)},e.prototype.sortSeriesTooltips=function(t){if(t.length>0){var e=this.cursor;if(e&&_.Et(e.maxTooltipDistance)){var i,n,r=D.rq({x:e.point.x,y:e.point.y},e),s=1/0;W.__(t,function(t){var e=t.series,a=t.point;if(a){var o={x:a.x,y:a.y},l=Math.abs(F.Yf(o,r));l<s&&(n=o,s=l,i=e)}});var a=[];i&&(W.__(t,function(t){if(Math.abs(F.Yf(t.point,n))<=Math.abs(e.maxTooltipDistance))a.push({series:t.series,point:t.point});else{var i=t.series.tooltipDataItem;i&&W.__(i.sprites,function(t){t.isHover=!1,t.handleOutReal()}),t.series.hideTooltip(0)}}),e.maxTooltipDistance<0&&(a.length>0&&W.__(a,function(t){i!=t.series&&t.series.hideTooltip(0)}),a=[{series:i,point:n}])),t=a}var o=D.rq({x:-.5,y:-.5},this.plotContainer),l=D.rq({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),h=0,u=[];W.__(t,function(t){var e=t.point;e&&F.Jl(e,{x:o.x,y:o.y,width:l.x-o.x,height:l.y-o.y})&&(u.push({point:e,series:t.series}),h+=e.y)}),t=u;var p=this.series.getIndex(0),d=!1;p&&p.yAxis&&p.yAxis.renderer.inversed&&(d=!0),d?t.sort(function(t,e){return J.f(t.point.y,e.point.y)}):(t.sort(function(t,e){return J.f(e.point.y,t.point.y)}),t.reverse());var c=h/t.length,f=D.zn({x:0,y:0},this.svgContainer.SVGContainer).y;if(t.length>0){var g=o.y,y=l.y;D.gO({x:0,y:g},this);var m=!1;if(c>g+(y-g)/2)for(var v=y,b=t.length-1;b>=0;b--){var x=t[b].series,P=x.tooltip,C=t[b].point.y;if(P.setBounds({x:0,y:-f,width:this.pixelWidth,height:v+f}),P.invalid&&P.validate(),P.toBack(),(v=D.rq({x:0,y:P.label.pixelY-P.pixelY+C-P.pixelMarginTop},P).y)<-f){m=!0;break}}if(c<=g+(y-g)/2||m)for(var w=g,b=0,O=t.length;b<O;b++){var x=t[b].series,C=t[b].point.y,P=x.tooltip;P.setBounds({x:0,y:w,width:this.pixelWidth,height:y}),P.invalid&&P.validate(),P.toBack(),w=D.rq({x:0,y:P.label.pixelY+P.label.measuredHeight-P.pixelY+C+P.pixelMarginBottom},P).y}}}}
1,e.prototype.showAxisTooltip=function(t,e,i){var n=this;b.__(t.iterator(),function(t){(!i||-1==i.indexOf(t))&&(n.dataItems.length>0||t.dataItems.length>0)&&t.showTooltipAtPosition(e)})},e.prototype.getUpdatedRange=function(t,e){if(t){t.renderer.inversed?(F.E6(e),i=1-t.end,n=1-t.start):(i=t.start,n=t.end);var i,n,r=n-i;return{start:i+e.start*r,end:i+e.end*r}}},e.prototype.handleCursorZoomEnd=function(t){var e=this.cursor,i=e.behavior;if("zoomX"==i||"zoomXY"==i){var n=e.xRange;n&&this.xAxes.length>0&&((n=this.getUpdatedRange(this.xAxes.getIndex(0),n)).priority="start",this.zoomAxes(this.xAxes,n))}if("zoomY"==i||"zoomXY"==i){var r=e.yRange;r&&this.yAxes.length>0&&((r=this.getUpdatedRange(this.yAxes.getIndex(0),r)).priority="start",this.zoomAxes(this.yAxes,r))}this.handleHideCursor()},e.prototype.handleCursorPanStart=function(t){var e=this.xAxes.getIndex(0);e&&(this._panStartXRange={start:e.start,end:e.end},e.renderer.inversed&&(this._panStartXRange=F.E6(this._panStartXRange)));var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end},i.renderer.inversed&&(this._panStartYRange=F.E6(this._panStartYRange)))},e.prototype.handleCursorPanEnd=function(t){var e=this.cursor,i=e.behavior;if(this._panEndXRange&&("panX"==i||"panXY"==i)){var n=this._panEndXRange,r=this._panStartXRange,s=0;n.start<0&&(s=n.start),r.end>1?n.end>r.end&&(s=n.end-r.end):n.end>1&&(s=n.end-1),this.zoomAxes(this.xAxes,{start:n.start-s,end:n.end-s},!1,e.snapOnPan),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&("panY"==i||"panXY"==i)){var n=this._panEndYRange,s=0;n.start<0&&(s=n.start),n.end>1&&(s=n.end-1),this.zoomAxes(this.yAxes,{start:n.start-s,end:n.end-s},!1,e.snapOnPan),this._panEndYRange=void 0,this._panStartYRange=void 0}},e.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},e.prototype.handleCursorPanning=function(t){var e=this.cursor,i=e.behavior,n=e.maxPanOut;if(this._panStartXRange&&("panX"==i||"panXY"==i)){var r=this._panStartXRange,s=e.xRange,a=this.getCommonAxisRange(this.xAxes),o=r.end-r.start,l=s.start*(a.end-a.start),h=Math.max(-n,l+r.start),u=Math.min(l+r.end,1+n);h<=0&&(u=h+o),u>=1&&(h=u-o);var p={start:h,end:u};this._panEndXRange=p,this.zoomAxes(this.xAxes,p,!1,!1,e.maxPanOut)}if(this._panStartYRange&&("panY"==i||"panXY"==i)){var r=this._panStartYRange,s=e.yRange,a=this.getCommonAxisRange(this.yAxes),o=r.end-r.start,l=s.start*(a.end-a.start),h=Math.max(-n,l+r.start),u=Math.min(l+r.end,1+n);h<=0&&(u=h+o),u>=1&&(h=u-o);var p={start:h,end:u};this._panEndYRange=p,this.zoomAxes(this.yAxes,p,!1,!1,e.maxPanOut)}this.handleHideCursor()},e.prototype.handleYAxisSet=function(t){},e.prototype.handleCursorZoomStart=function(t){},Object.defineProperty(e.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(t){var e=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=t,t&&(this._disposers.push(t),t.parent=this.topAxesContainer,t.shouldClone=!1,t.startGrip.exportable=!1,t.endGrip.exportable=!1,t.toBack(),t.orientation="horizontal",t.events.on("rangechanged",this.handleXScrollbarChange,this,!1),this.events.on("datavalidated",function(){return t.updateThumb(!1)},this,!1),t.adapter.add("positionValue",function(t){var i=e.xAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(i.renderer.inversed?1-t.position:t.position)),t}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(t){var e=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=t,t&&(this._disposers.push(t),t.parent=this.rightAxesContainer,t.startGrip.exportable=!1,t.shouldClone=!1,t.endGrip.exportable=!1,t.toFront(),t.orientation="vertical",t.events.on("rangechanged",this.handleYScrollbarChange,this,!1),this.events.on("datavalidated",function(){return t.updateThumb(!1)},this,!1),t.adapter.add("positionValue",function(t){var i=e.yAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),e.prototype.handleXScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;0==i.start&&(i.priority="start"),1==i.end&&(i.priority="end"),i=this.zoomAxes(this.xAxes,i),e.fixRange(i)}},e.prototype.handleYScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;1==i.end&&(i.priority="end"),0==i.start&&(i.priority="start"),i=this.zoomAxes(this.yAxes,i),e.fixRange(i)}}
1,e.prototype.zoomAxes=function(t,e,i,n,r,s){var a={start:0,end:1};this.showSeriesTooltip();var o=e;return this.dataInvalid||b.__(t.iterator(),function(t){var l=t.maxZoomFactor;if(_.Et(t.minZoomCount)&&(l/=t.minZoomCount),s&&1/(e.end-e.start)>=l);else if(t.zoomable){if(e=t.renderer.inversed?F.E6(o):o,t.hideTooltip(0),n)if(t instanceof t_){var h=t.getCellEndPosition(0)-t.getCellStartPosition(0);e.start=t.roundPosition(e.start+h/2-t.startLocation*h,t.startLocation),e.end=t.roundPosition(e.end-h/2+(1-t.endLocation)*h,t.endLocation)}else e.start=t.roundPosition(e.start+1e-4,0,t.startLocation),e.end=t.roundPosition(e.end+1e-4,0,t.endLocation);var u=t.zoom(e,i,i,r);t.renderer.inversed&&(u=F.E6(u)),a=u}}),a},Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)&&this.bulletsContainer&&(t?this.bulletsContainer.mask=this._bulletMask:this.bulletsContainer.mask=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrangeTooltips",{get:function(){return this.getPropertyValue("arrangeTooltips")},set:function(t){this.setPropertyValue("arrangeTooltips",t,!0)},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){var e=this.plotContainer,i=D.FN(t.point,this.htmlContainer,this.svgContainer.cssScale),n=D.bT(i,e),r=t.shift.y;this.handleWheelReal(r,this.mouseWheelBehavior,n)},e.prototype.handleHorizontalWheel=function(t){var e=this.plotContainer,i=D.FN(t.point,this.htmlContainer,this.svgContainer.cssScale),n=D.bT(i,e);this.handleWheelReal(t.shift.x,this.horizontalMouseWheelBehavior,n)},e.prototype.handleWheelReal=function(t,e,i){if(0!=t){var n=this.plotContainer,r=this.getCommonAxisRange(this.xAxes),s=this.getCommonAxisRange(this.yAxes);if("panX"==e||"panXY"==e){var a=r.end-r.start,o=Math.max(-0,r.start+.1*t/100*(r.end-r.start)),l=Math.min(r.end+.1*t/100*(r.end-r.start),1);o<=0&&(l=o+a),l>=1&&(o=l-a),this.zoomAxes(this.xAxes,{start:o,end:l})}if("panY"==e||"panXY"==e){t*=-1;var h=s.end-s.start,u=Math.max(-0,s.start+.1*t/100*(s.end-s.start)),p=Math.min(s.end+.1*t/100*(s.end-s.start),1);u<=0&&(p=u+h),p>=1&&(u=p-h),this.zoomAxes(this.yAxes,{start:u,end:p})}if("zoomX"==e||"zoomXY"==e){var d=i.x/n.maxWidth,c=this.xAxes.getIndex(0).toAxisPosition(d),o=Math.max(-0,r.start-.1*(r.end-r.start)*t/100*d);o=Math.min(o,c);var l=Math.min(r.end+.1*(r.end-r.start)*t/100*(1-d),1);l=Math.max(l,c),this.zoomAxes(this.xAxes,{start:o,end:l},void 0,void 0,void 0,!0)}if("zoomY"==e||"zoomXY"==e){var f=i.y/n.maxHeight,g=this.yAxes.getIndex(0).toAxisPosition(f),u=Math.max(-0,s.start-.1*(s.end-s.start)*t/100*(1-f));u=Math.min(u,g);var p=Math.min(s.end+.1*t/100*f*(s.end-s.start),1);p=Math.max(p,g),this.zoomAxes(this.yAxes,{start:u,end:p},void 0,void 0,void 0,!0)}}},Object.defineProperty(e.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(t){this.setPropertyValue("mouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalMouseWheelBehavior",{get:function(){return this.getPropertyValue("horizontalMouseWheelBehavior")},set:function(t){this.setPropertyValue("horizontalMouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer2=this.plotContainer.events.on("wheel",this.handleHorizontalWheel,this,!1),this._disposers.push(this._mouseWheelDisposer2)):this._mouseWheelDisposer2&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer2.dispose()))},enumerable:!0,configurable:!0}),e.prototype.dataSourceDateFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),b.__(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},e.prototype.dataSourceNumberFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),b.__(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},e.prototype.processConfig=function(e){if(e){var i=[],n=[];if(_.a4(e.xAxes)&&_.cy(e.xAxes))for(var r=0,s=e.xAxes.length;r<s;r++)if(e.xAxes[r].type){if(_.a4(e.xAxes[r].axisRanges)){for(var a=0,o=e.xAxes[r].axisRanges.length;a<o;a++){var l=e.xAxes[r].axisRanges[a];_.a4(l.date)&&_.Kg(l.date)&&(l.date=this.dateFormatter.parse(l.date)),_.a4(l.endDate)&&_.Kg(l.endDate)&&(l.endDate=this.dateFormatter.parse(l.endDate))}i.push({axisRanges:e.xAxes[r].axisRanges,index:r}),delete e.xAxes[r].axisRanges}}else throw Error("[XYChart error] No type set for xAxes["+r+"].");if(_.a4(e.yAxes)&&_.cy(e.yAxes))for(var r=0,s=e.yAxes.length;r<s;r++)if(e.yAxes[r].type){if(_.a4(e.yAxes[r].axisRanges)){for(var a=0,h=e.yAxes[r].axisRanges.length;a<h;a++){var l=e.yAxes[r].axisRanges[a];_.a4(l.date)&&_.Kg(l.date)&&(l.date=this.dateFormatter.parse(l.date)),_.a4(l.endDate)&&_.Kg(l.endDate)&&(l.endDate=this.dateFormatter.parse(l.endDate))}n.push({axisRanges:e.yAxes[r].axisRanges,index:r}),delete e.yAxes[r].axisRanges}}else throw Error("[XYChart error] No type set for yAxes["+r+"].");if(_.a4(e.series)&&_.cy(e.series))for(var r=0,s=e.series.length;r<s;r++)e.series[r].type=e.series[r].type||"LineSeries";if(_.a4(e.cursor)&&!_.a4(e.cursor.type)&&(e.cursor.type="XYCursor"),_.a4(e.scrollbarX)&&!_.a4(e.scrollbarX.type)&&(e.scrollbarX.type="Scrollbar"),_.a4(e.scrollbarY)&&!_.a4(e.scrollbarY.type)&&(e.scrollbarY.type="Scrollbar"),t.prototype.processConfig.call(this,e),n.length)for(var r=0,s=n.length;r<s;r++)this.yAxes.getIndex(n[r].index).config={axisRanges:n[r].axisRanges};if(i.length)for(var r=0,s=i.length;r<s;r++)this.xAxes.getIndex(i[r].index).config={axisRanges:i[r].axisRanges}}},e.prototype.configOrder=function(e,i){if(e==i)return 0;if("scrollbarX"==e)return 1;if("scrollbarX"==i)return -1;if("scrollbarY"==e)return 1;if("scrollbarY"==i)return -1;else if("cursor"==e)return 1;else if("cursor"==i)return -1;else if("series"==e)return 1;else if("series"==i)return -1;else return t.prototype.configOrder.call(this,e,i)},e.prototype.createSeries=function(){return new tP},Object.defineProperty(e.prototype,"zoomOutButton",{get:function(){return this._zoomOutButton},set:function(t){var e=this;this._zoomOutButton=t,t&&t.events.on("hit",function(){e.zoomAxes(e.xAxes,{start:0,end:1}),e.zoomAxes(e.yAxes,{start:0,end:1})},void 0,!1)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;e.xAxes.each(function(t){var e=i.xAxes.push(t.clone());e.chart=i,e.renderer.chart=i}),e.yAxes.each(function(t){var e=i.yAxes.push(t.clone());e.renderer.chart=i,e.chart=i}),t.prototype.copyFrom.call(this,e),e.cursor&&(this.cursor=e.cursor.clone()),e.scrollbarX&&(this.scrollbarX=e.scrollbarX.clone()),e.scrollbarY&&(this.scrollbarY=e.scrollbarY.clone())},e.prototype.disposeData=function(){t.prototype.disposeData.call(this);var e=this.scrollbarX;
1e&&e instanceof tO&&e.scrollbarChart.disposeData();var i=this.scrollbarY;i&&i instanceof tO&&i.scrollbarChart.disposeData(),this.xAxes.each(function(t){t instanceof t_&&t.disposeData()}),this.yAxes.each(function(t){t instanceof t_&&t.disposeData()})},e.prototype.addData=function(e,i){this.scrollbarX instanceof tO&&this.addScrollbarData(this.scrollbarX,i),this.scrollbarY instanceof tO&&this.addScrollbarData(this.scrollbarY,i),t.prototype.addData.call(this,e,i)},e.prototype.addScrollbarData=function(t,e){var i=t.scrollbarChart;i._parseDataFrom=i.data.length,i.invalidateData()},e.prototype.removeScrollbarData=function(t,e){var i=t.scrollbarChart;if(_.Et(e)){for(;e>0;){var n=this.dataItems.getIndex(0);n&&i.dataItems.remove(n),i.dataUsers.each(function(t){var e=t.dataItems.getIndex(0);e&&t.dataItems.remove(e)}),i._parseDataFrom--,e--}i.invalidateData()}},e.prototype.removeData=function(e){this.scrollbarX instanceof tO&&this.removeScrollbarData(this.scrollbarX,e),this.scrollbarY instanceof tO&&this.removeScrollbarData(this.scrollbarY,e),t.prototype.removeData.call(this,e)},e.prototype.setTapToActivate=function(e){t.prototype.setTapToActivate.call(this,e),this.cursor&&(this.cursor.interactions.isTouchProtected=e,this.plotContainer.interactions.isTouchProtected=e)},e.prototype.handleTapToActivate=function(){t.prototype.handleTapToActivate.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!1,this.plotContainer.interactions.isTouchProtected=!1)},e.prototype.handleTapToActivateDeactivation=function(){t.prototype.handleTapToActivateDeactivation.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!0,this.plotContainer.interactions.isTouchProtected=!0)},e}(U);a.u.registeredClasses.XYChart=tT,x.Z4.push({relevant:x.H$.maybeXS,state:function(t,e){if(t instanceof tT&&t.scrollbarX){var i=t.states.create(e);return t.scrollbarX.states.create(e).properties.disabled=!0,i}return null}}),x.Z4.push({relevant:x.H$.maybeXS,state:function(t,e){if(t instanceof tT&&t.scrollbarY){var i=t.states.create(e);return t.scrollbarY.states.create(e).properties.disabled=!0,i}return null}});var tI=i(75462),tk=function(t){function e(){var e=t.call(this)||this;e.className="LineSeriesSegment",e.isMeasured=!1,e.interactionsEnabled=!1,e.layout="none";var i=e.createChild(c.kx);e.fillSprite=i,i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1,e._disposers.push(i);var n=e.createChild(c.kx);return e.strokeSprite=n,n.shouldClone=!1,n.fill=(0,R.yW)(),n.setElement(e.paper.add("path")),n.isMeasured=!1,e._disposers.push(n),e}return(0,s.C6)(e,t),e.prototype.drawSegment=function(t,e,i,n){if(!this.disabled)if(t.length>0&&e.length>0&&_.Et(t[0].x)&&_.Et(t[0].y)){var r=y.tw({x:t[0].x-.2,y:t[0].y-.2})+y.tw(t[0]),s=this.series;"bezier"==s.smoothing?r+=new tI.hG(i,n).smooth(t):"monotoneX"==s.smoothing?r+=new tI.qV({closed:!1}
1).smooth(t):"monotoneY"==s.smoothing&&(r+=new tI.vf({closed:!1}).smooth(t)),0==this.strokeOpacity||0==this.strokeSprite.strokeOpacity||(this.strokeSprite.path=r),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&_.Et(e[0].x)&&_.Et(e[0].y)&&(r+=y.a5(e[0]),"bezier"==s.smoothing?r+=new tI.hG(i,n).smooth(e):"monotoneX"==s.smoothing?r+=new tI.qV({closed:!1}).smooth(e):"monotoneY"==s.smoothing&&(r+=new tI.vf({closed:!1}).smooth(e)),r+=y.a5(t[0]),r+=y.OE(),this.fillSprite.path=r)}else this.fillSprite.path="",this.strokeSprite.path=""},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e);var i=this.strokeSprite;H.Lb(e,i.properties,c.mM),i.events.copyFrom(e.strokeSprite.events),i.fillOpacity=0;var n=this.fillSprite;H.Lb(e,n.properties,c.mM),n.events.copyFrom(e.fillSprite.events),n.strokeOpacity=0},e}(u.m);a.u.registeredClasses.LineSeriesSegment=tk;var tD=function(t){function e(){var e=t.call(this)||this;return e.className="DurationAxisDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(tp),tF=function(t){function e(){var e=t.call(this)||this;return e._baseUnit="second",e.className="DurationAxis",e.setPropertyValue("maxZoomFactor",1e6),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.formatLabel=function(t,e){return this.durationFormatter.format(t,e||this.axisDurationFormat)},e.prototype.adjustMinMax=function(e,i,n,r,a){var o,l,h,u=this.baseUnit;if(this.setPropertyValue("maxPrecision",0),"millisecond"==u||"second"==u||"minute"==u||"hour"==u){r<=1&&(r=1),r=Math.round(r);var p=e,d=i;0===n&&(n=Math.abs(i));var c=n/r,f=[60,30,20,15,10,2,1],g=1;"hour"==u&&(f=[24,12,6,4,2,1]);try{for(var y=(0,s.Ju)(f),m=y.next();!m.done;m=y.next()){var v=m.value;if(n/v>r){g=v;break}}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=y.return)&&l.call(y)}finally{if(o)throw o.error}}var b=Math.ceil((i-e)/g/r),_=Math.pow(10,Math.floor(Math.log(Math.abs(b))*Math.LOG10E))/10,x=b/_;c=g*(b=F.kp(f,x)*_),this.durationFormatter.getValueUnit(c,this.baseUnit),e=Math.floor(e/c)*c,i=Math.ceil(i/c)*c,a&&((e-=c)<0&&p>=0&&(e=0),(i+=c)>0&&d<=0&&(i=0)),h={min:e,max:i,step:c}}else h=t.prototype.adjustMinMax.call(this,e,i,n,r,a);return this.axisDurationFormat=this.durationFormatter.getFormat(h.step,h.max,this.baseUnit),h},Object.defineProperty(e.prototype,"tooltipDurationFormat",{get:function(){return this._tooltipDurationFormat},set:function(t){this._tooltipDurationFormat=t},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e=F.LI(this.positionToValue(t),this._stepDecimalPlaces),i=this.formatLabel(e,this.tooltipDurationFormat);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit!=t&&(this._baseUnit=t,this.durationFormatter.baseUnit=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.baseUnit=e.baseUnit},e}(td);a.u.registeredClasses.DurationAxis=tF,a.u.registeredClasses.DurationAxisDataItem=tD;var tA=i(20411),tV=i(25332),tE=function(t){function e(){var e=t.call(this)||this;return e.className="LineSeriesDataItem",e}return(0,s.C6)(e,t),e}(tx),tM=function(t){function e(){var e=t.call(this)||this;return e.minDistance=.5,e.segments=new h.TS(e.createSegment()),e.segments.template.applyOnClones=!0,e._disposers.push(new h.a(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new b.Vd(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.autoGapCount=1.1,e.smoothing="bezier",e.segmentsContainer=e.mainContainer.createChild(u.m),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},e.prototype.createSegment=function(){return new tk},e.prototype.createDataItem=function(){return new tE},e.prototype.setInitialWorkingValues=function(t){var e=this._yAxis.get(),i=this._xAxis.get();if(this.appeared&&this.visible){var n=this.dataItems.getIndex(t.index-1);if(t.component=this,this.baseAxis==i&&e instanceof td){var r=e.minZoomed;if(n&&(r=n.values.valueY.workingValue),t.setWorkingValue("valueY",r,0),t.setWorkingValue("valueY",t.values.valueY.value),i instanceof ty)t.setWorkingLocation("dateX",t.locations.dateX-1,0),t.setWorkingLocation("dateX",t.locations.dateX);else if(i instanceof tF&&n){var s=t.valueX;t.setWorkingValue("valueX",n.valueX,0),t.setWorkingValue("valueX",s)}}if(this.baseAxis==e&&i instanceof td){var a=i.minZoomed;if(n&&(a=n.values.valueX.workingValue),t.setWorkingValue("valueX",a,0),t.setWorkingValue("valueX",t.values.valueX.value),e instanceof ty)t.setWorkingLocation("dateY",t.locations.dateX-1,0),t.setWorkingLocation("dateY",t.locations.dateY);else if(e instanceof tF&&n){var s=t.valueY;t.setWorkingValue("valueY",n.valueY,0),t.setWorkingValue("valueY",s)}}}else this.baseAxis==i&&e instanceof td&&(i instanceof ty&&t.setWorkingLocation("dateX",t.locations.dateX),i instanceof t_&&t.setWorkingLocation("categoryX",t.locations.categoryX)),this.baseAxis==e&&i instanceof td&&(e instanceof ty&&t.setWorkingLocation("dateY",t.locations.dateY),e instanceof t_&&t.setWorkingLocation("categoryY",t.locations.categoryY))},e.prototype.updateLegendValue=function(e,i){t.prototype.updateLegendValue.call(this,e,i),e&&e.segment&&(this.tooltipColorSource=e.segment)},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this.xAxis&&this.yAxis&&(this._segmentsIterator.reset(),this.openSegmentWrapper(this._adjustedStartIndex),b.__(this.axisRanges.iterator(),function(t){e.openSegmentWrapper(e._adjustedStartIndex,t)}),b.__(this._segmentsIterator.iterator(),function(t){t.__disabled=!0}))},e.prototype.sliceData=function(){for(var t=this.startIndex,e=this.endIndex,i=this.startIndex-1;i>=0;i--){var n=this.dataItems.getIndex(i);if(n&&n.hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){t=i;break}}this._adjustedStartIndex=this.findAdjustedIndex(t,["stroke","strokeWidth","strokeDasharray","strokeOpacity","fill","fillOpacity","opacity"]);for(var i=this.endIndex,r=this.dataItems.length;i<r;i++){var n=this.dataItems.getIndex(i);if(n&&n.hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){e=i+1;break}}this._workingStartIndex=t,this._workingEndIndex=e},e.prototype.findAdjustedIndex=function(t,e){var i=this,n=this.propertyFields,r=t;return W.__(e,function(e){if(_.a4(n[e]))for(var s=r;s>=0;s--){var a=i.dataItems.getIndex(s);if(a&&_.a4(a.properties[e])){t>s&&(t=s);break}}}),t},e.prototype.openSegmentWrapper=function(t,e){var i={index:t,axisRange:e};do i=this.openSegment(i.index,i.axisRange);while(i)},e.prototype.getSegment=function(){var t=this._segmentsIterator.getFirst();return(t.series=this,t.isDisposed())?(this.segments.removeValue(t),this.get
1Segment()):t},e.prototype.openSegment=function(t,e){var i,n=!1,r=[];t=Math.min(t,this.dataItems.length);var s=Math.min(this._workingEndIndex,this.dataItems.length);this._workingEndIndex=Math.min(this._workingEndIndex,this.dataItems.length);var a=!1,o=this.getSegment();o.strokeDasharray=void 0,o.__disabled=!1,e?(o.parent=e.contents,H.Lb(e.contents,o,c.mM)):(H.Lb(this,o,c.mM),o.filters.clear(),o.parent=this.segmentsContainer),this.group.node.removeAttribute("fill");for(var l=this.connect,h=!1,u=t;u<s;u++){var p=this.dataItems.getIndex(u);if(p.segment=o,p.hasProperties&&(u==t?this.updateSegmentProperties(p.properties,o):a=this.updateSegmentProperties(p.properties,o,!0)),p.hasValue(this._xValueFields)&&p.hasValue(this._yValueFields))this.addPoints(r,p,this.xField,this.yField),h=!0;else if(u==t)continue;else if(!l&&h){i=u;break}if(i=u,this.baseAxis instanceof ty){var d=this.dataItems.getIndex(u+1);if(d&&this.baseAxis.makeGap(d,p)){n=!0;break}}if(a)break}return this.closeSegment(o,r,t,i,e,n)},e.prototype.addPoints=function(t,e,i,n,r){var s=this.getPoint(e,i,n,e.workingLocations[i],e.workingLocations[n]);r||(e.point=s),t.push(s)},e.prototype.closeSegment=function(t,e,i,n,r,s){var a=[];if(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)for(var o=n;o>=i;o--){var l=this.dataItems.getIndex(o);l.hasValue(this._xValueFields)&&l.hasValue(this._yValueFields)&&this.addPoints(a,l,this.xOpenField,this.yOpenField,!0)}else{var h=this.baseAxis,u=e.length,p=this.xAxis,d=this.yAxis;u>0&&(h==p?(a.push({x:e[u-1].x,y:d.basePoint.y}),a.push({x:e[0].x,y:d.basePoint.y})):(a.push({x:p.basePoint.x,y:e[u-1].y}),a.push({x:p.basePoint.x,y:e[0].y})))}return(this.drawSegment(t,e,a),s&&n++,n<this._workingEndIndex-1)?{index:n,axisRange:r}:null},e.prototype.drawSegment=function(t,e,i){t.drawSegment(e,i,this.tensionX,this.tensionY)},e.prototype.updateSegmentProperties=function(t,e,i){var n=!1;return H.__(t,function(t,r){if(_.a4(r)){var s=e[t],a=void 0;s&&(a=s.toString?s.toString():s);var o=void 0;r&&(o=r.toString?r.toString():r),s==r||void 0!=a&&void 0!=o&&a==o||(i||(e[t]=r),n=!0)}}),n},Object.defineProperty(e.prototype,"connect",{get:function(){return this.getPropertyValue("connect")}
1,set:function(t){this.setPropertyValue("connect",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=this,i=t.pixelWidth,n=t.pixelHeight;t.disposeChildren();var r=t.createChild(tA.N);if(r.shouldClone=!1,H.Lb(this,r,c.mM),r.x2=i,r.y=n/2,r.y2=1e-5,r.visible=!0,this.fillOpacity>0){var s=t.createChild(tV.M);H.Lb(this,s,c.mM),s.width=i,s.height=n,s.y=0,s.strokeOpacity=0,s.visible=!0,r.y=0}var a=t.dataItem;a.color=this.stroke,a.colorOrig=this.fill,b.FY(this.bullets.iterator(),function(r){if(r instanceof S&&!r.copyToLegendMarker)return!1;var s=!1;if(r instanceof u.m&&b.__(r.children.iterator(),function(t){if(t instanceof p.J)return s=!0,!0}),!s){var a=r.clone();return a.parent=t,a.isMeasured=!0,a.tooltipText=void 0,a.x=i/2,e.fillOpacity>0?a.y=0:a.y=n/2,a.visible=!0,_.a4(a.fill)||(a.fill=e.fill),_.a4(a.stroke)||(a.stroke=e.stroke),!1}})},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.segments.clear()},Object.defineProperty(e.prototype,"autoGapCount",{get:function(){return this.getPropertyValue("autoGapCount")},set:function(t){this.setPropertyValue("autoGapCount",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smoothing",{get:function(){return this.getPropertyValue("smoothing")},set:function(t){this.setPropertyValue("smoothing",t,!0)},enumerable:!0,configurable:!0}),e}(tP);a.u.registeredClasses.LineSeries=tM,a.u.registeredClasses.LineSeriesDataItem=tE;var tL=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeriesDataItem",e.setLocation("dateX",0,0),e.setLocation("dateY",0,0),e.setLocation("categoryX",0,0),e.setLocation("categoryY",0,0),e.applyTheme(),e}return(0,s.C6)(e,t),e}(tE),tj=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeries",e.connectEnds=!0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.createDataItem=function(){return new tL},e.prototype.getPoint=function(t,e,i,n,r,s,a){s||(s="valueX"),a||(a="valueY");var o=this.yAxis.getX(t,i,r,a),l=this.yAxis.getY(t,i,r,a),h=F.Yf({x:o,y:l});0==h&&(h=1e-5);var u=this.xAxis.getAngle(t,e,n,s),p=this.chart.startAngle,d=this.chart.endAngle;if(!(u<p)&&!(u>d))return{x:h*F.gn(u),y:h*F.F8(u)}},e.prototype.addPoints=function(t,e,i,n,r){var s=this.getPoint(e,i,n,e.locations[i],e.locations[n]);s&&t.push(s)},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return y.JL(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e.prototype.drawSegment=function(e,i,n){var r=this.yAxis.renderer;this.connectEnds&&360==Math.abs(r.endAngle-r.startAngle)&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(i.push(i[0]),n.length>0&&n.unshift(n[n.length-1])),t.prototype.drawSegment.call(this,e,i,n)},Object.defineProperty(e.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(t){this.setPropertyValue("connectEnds",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionBulletReal=function(t,e,i){var n=this.xAxis,r=this.yAxis;(e<n.start||e>n.end||i<r.start||i>r.end)&&(t.visible=!1),t.moveTo(this.xAxis.renderer.positionToPoint(e,i))},e.prototype.setXAxis=function(e){t.prototype.setXAxis.call(this,e),this.updateRendererRefs()},e.prototype.setYAxis=function(e){t.prototype.setYAxis.call(this,e),this.updateRendererRefs()},e.prototype.updateRendererRefs=function(){this.xAxis.renderer.axisRendererY=this.yAxis.renderer},e}(tM);a.u.registeredClasses.RadarSeries=tj,a.u.registeredClasses.RadarSeriesDataItem=tL;var tR=i(78777),tB=function(t){function e(e){var i=t.call(this,e)||this;return i.className="AxisFillCircular",i.element=i.paper.add("path"),i.radius=(0,g.KN)(100),i.applyTheme(),i}return(0,s.C6)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),!this.__disabled&&!this.disabled&&this.axis){var e=this.axis.renderer;this.fillPath=e.getPositionRangePath(this.startPosition,this.endPosition,this.radius,_.a4(this.innerRadius)?this.innerRadius:e.innerRadius,this.cornerRadius),this.path=this.fillPath}}
1,Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(te);a.u.registeredClasses.AxisFillCircular=tB;var tH=function(t){function e(){var e=t.call(this)||this;return e.className="GridCircular",e.pixelPerfect=!1,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e}(ti);a.u.registeredClasses.GridCircular=tH;var tW=function(t){function e(){var e=t.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.locationOnPath=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(t){if(this.setPropertyValue("relativeRotation",t,!0),!_.a4(t)){this.rotation=void 0;var e=this.dataItem;e&&e.component&&e.component.invalidateDataItems()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bent",{get:function(){return this.getPropertyValue("bent")},set:function(t){this.setPropertyValue("bent",t,!0),this.setPropertyValue("wrap",!1),this.setPropertyValue("horizontalCenter","none"),this.setPropertyValue("verticalCenter","none"),t?(this.setPropertyValue("dx",0),this.setPropertyValue("dy",0),this.setPropertyValue("x",0),this.setPropertyValue("y",0),this.setPropertyValue("rotation",0),this.fdx=0,this.fdy=0,this.textAlign="middle"):this.textPathElement&&(this.textPathElement.dispose(),this.textPathElement=void 0)},enumerable:!0,configurable:!0}),e.prototype.pixelRadius=function(t){var e=1;return this.inside&&(e=-1),D.JY(this.radius,t)*e},e.prototype.pixelRadiusY=function(t,e){var i=1;this.inside&&(i=-1);var n=this.radius;return _.Et(n)?(n*=e/t,D.JY(n,t)*i):D.JY(n,e)*i},e.prototype.fixPosition=function(t,e,i,n,r){_.Et(i)||(i=e),_.Et(n)||(n=0),_.Et(r)||(r=0);var s={x:e*F.gn(t),y:i*F.F8(t)};this.invalid&&this.validate();var a=!1,o=this.radius;o instanceof g.QE&&o.value<0?a=!0:o<0&&(a=!0);var l=this.relativeRotation,h=this.pixelRadius(e);if(this.bent){var u={x:(e+h)*F.gn(t+180),y:(i+h*i/e)*F.F8(t+180)};this.path=y.tw(u)+y.Kf(t+180,360,e+h,i+h*i/e),this.textPathElement&&this.textPathElement.attr({startOffset:100*this.locationOnPath+"%"});return}if(_.Et(l)){this.horizontalCenter="none",this.verticalCenter="none",t=F.JV(t,-180,180);var p=this.bbox.width,d=this.bbox.height,c=this.pixelPaddingBottom,f=this.pixelPaddingTop,m=this.pixelPaddingLeft,v=this.pixelPaddingRight;t>90||t<-90?-90==l&&(l=90,p=0):(-90==l&&(d=-d),90==l&&(l=-90,p=-m-v,d=-d-f-c)),this.rotation=l+t+90;var b=F.F8(l)/2,x=F.gn(l)/2,P=this.rotation;this.dx=d*b*F.F8(P)-p*x*F.gn(P),this.dy=-d*b*F.gn(P)-p*x*F.F8(P),this.inside?t>90||t<-90?h-=(c+f)*F.gn(l)+(m+v)*F.F8(l):h+=(c+this.bbox.height+f)*F.gn(l)+(m+v+this.bbox.width)*F.F8(l):h+=(d+c+f)*F.gn(l)+(p+m+v)*F.F8(l),s.x+=F.gn(t)*h,s.y+=F.F8(t)*h*i/e}else this.horizontalCenter="middle",this.verticalCenter="middle",a?(this.dx=0,this.dy=0,s.x=(e+h)*F.gn(t),s.y=(i+h*i/e)*F.F8(t)):(this.dy=this._measuredHeight/2*F.F8(t),this.dx=this._measuredWidth/2*F.gn(t),s.x+=F.gn(t)*h,s.y+=F.F8(t)*h*i/e);s.x+=n,s.y+=r,this.fdx=this.dx,this.fdy=this.dy,this.moveTo(s)},e}(tn);a.u.registeredClasses.AxisLabelCircular=tW;var tN=function(t){function e(){var e=t.call(this)||this;return e.pixelRadiusReal=0,e.layout="none",e.className="AxisRendererCircular",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.useChartAngles=!0,e.radius=(0,g.KN)(100),e.isMeasured=!1,e.grid.template.location=0,e.labels.template.location=0,e.labels.template.radius=15,e.ticks.template.location=0,e.ticks.template.pixelPerfect=!1,e.tooltipLocation=0,e.line.strokeOpacity=0,e.a
1pplyTheme(),e}return(0,s.C6)(e,t),e.prototype.setAxis=function(e){var i=this;t.prototype.setAxis.call(this,e),e.isMeasured=!1;var n=e.tooltip;n.adapter.add("dx",function(t,e){var n=D.bT({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.cos(Math.atan2(n.y,n.x))-n.x}),n.adapter.add("dy",function(t,e){var n=D.bT({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.sin(Math.atan2(n.y,n.x))-n.y})},e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return D.LG(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){var t=this.chart,e=this.getPropertyValue("innerRadius");if(t){if(_.a4(e)){if(e instanceof g.QE&&t){var i=t.mr,n=e.value;n=Math.max(i*n,i-Math.min(t.plotContainer.innerHeight,t.plotContainer.innerWidth))/i,e=(0,g.KN)(100*n)}}else(e=t.innerRadius)instanceof g.QE&&t&&(e=(0,g.KN)(e.value*t.innerRadiusModifyer*100));return e}},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(t){this.setPropertyValue("useChartAngles",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return D.LG(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){_.Et(e)||(e=1);var i=this.positionToCoordinate(t),n=this.startAngle+(this.endAngle-this.startAngle)*i/this.axisLength,r=this.pixelRadius,s=this.pixelInnerRadius;if(this.axisRendererY){var a=F.s_(this.axisRendererY.positionToCoordinate(e),0,1/0);return 0==a&&(a=1e-6),{x:a*F.gn(n),y:a*F.F8(n)}}return{x:F.gn(n)*s+(r-s)*F.gn(n)*e,y:F.F8(n)*s+(r-s)*F.F8(n)*e}},e.prototype.positionToAngle=function(t){var e,i=this.axis,n=(this.endAngle-this.startAngle)/(i.end-i.start);return e=i.renderer.inversed?this.startAngle+(i.end-t)*n:this.startAngle+(t-i.start)*n,F.LI(e,3)},e.prototype.angleToPosition=function(t){var e,i=this.axis,n=(this.endAngle-this.startAngle)/(i.end-i.start);return e=i.renderer.inversed?i.end-(t-this.startAngle)/n:(t-this.startAngle)/n+i.start,F.LI(e,5)},e.prototype.updateAxisLine=function(){var t=this.pixelRadius,e=this.startAngle,i=this.endAngle,n=F.jk(360,i-e);this.line.path=y.tw({x:t*F.gn(e),y:t*F.F8(e)})+y.Kf(e,n,t,t)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(_.Et(n.x)&&_.Et(n.y)&&t.element){var r=F.iR*Math.atan2(n.y,n.x),s=D.LG(_.a4(t.radius)?t.radius:(0,g.KN)(100),this.pixelRadius),a=D.LG(t.innerRadius,this.pixelRadius);t.zIndex=0;var o=D.LG(_.Et(a)?a:this.innerRadius,this.pixelRadiusReal,!0);_.Et(o)||(o=0),t.path=y.tw({x:o*F.gn(r),y:o*F.F8(r)})+y.a5({x:s*F.gn(r),y:s*F.F8(r)})}this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=this.pixelRadius,s=F.iR*Math.atan2(n.y,n.x),a=t.length;t.inside&&(a=-a),t.zIndex=1,t.path=y.tw({x:r*F.gn(s),y:r*F.F8(s)})+y.a5({x:(r+a)*F.gn(s),y:(r+a)*F.F8(s)})}this.toggleVisibility(t,e,0,1)},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof tl&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e),s=this.pixelRadius,a=F.iR*Math.atan2(r.y,r.x);r={x:s*F.gn(a),y:s*F.F8(a)},this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i,n){_.a4(n)||(n=t.location),e+=(i-e)*n,t.fixPosition(this.positionToAngle(e),this.pixelRadius),t.zIndex=2,this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")}
1,set:function(t){this.setPropertyValue("startAngle",t)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e,i,n,r){var s="";if(_.Et(t)&&_.Et(e)){_.a4(i)||(i=this.radius),t=F.T9(t,this.axis.start),(e=F.jk(e,this.axis.end))<t&&(e=t);var a=D.LG(i,this.pixelRadius),o=D.LG(n,this.pixelRadius,!0),l=this.positionToAngle(t),h=this.positionToAngle(e);s=y.JL(l,h-l,a,o,a,r)}return s},e.prototype.createGrid=function(){return new tH},e.prototype.createFill=function(t){return new tB(t)},e.prototype.createLabel=function(){return new tW},e.prototype.pointToPosition=function(t){var e=F.JV(F._H(t),this.startAngle,this.endAngle);return this.coordinateToPosition((e-this.startAngle)/360*this.axisLength)},e}(ta);a.u.registeredClasses.AxisRendererCircular=tN;var tY=i(26622),tX=function(t){function e(){var e=t.call(this)||this;return e._chart=new l.h1,e.pixelRadiusReal=0,e.className="AxisRendererRadial",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.minGridDistance=30,e.gridType="circles",e.axisAngle=-90,e.isMeasured=!1,e.layout="none",e.radius=(0,g.KN)(100),e.line.strokeOpacity=0,e.labels.template.horizontalCenter="middle",e._disposers.push(e._chart),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.pixelRadius-this.pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return D.LG(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){var t=this.chart,e=this.getPropertyValue("innerRadius");if(t)if(_.a4(e)){if(e instanceof g.QE&&t){var i=t.mr,n=e.value;n=Math.max(i*n,i-Math.min(t.plotContainer.innerHeight,t.plotContainer.innerWidth))/i,e=(0,g.KN)(100*n)}}else(e=t.innerRadius)instanceof g.QE&&t&&(e=(0,g.KN)(e.value*t.innerRadiusModifyer*100));return e},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return D.LG(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){var i=F.s_(this.positionToCoordinate(t),0,1/0);return{x:i*F.gn(this.axisAngle),y:i*F.F8(this.axisAngle)}},e.prototype.updateAxisLine=function(){this.line.path=y.tw({x:this.pixelInnerRadius*F.gn(this.axisAngle),y:this.pixelInnerRadius*F.F8(this.axisAngle)})+y.a5({x:this.pixelRadius*F.gn(this.axisAngle),y:this.pixelRadius*F.F8(this.axisAngle)});var t=this.axis.title;t.valign="none",t.horizontalCenter="middle",t.verticalCenter="bottom",t.y=-this.axisLength/2;var e=90;this.opposite?this.inside||(e=-90):this.inside&&(e=-90),t.rotation=e},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n,r=this.positionToPoint(e),s=F.Yf(r),a=this.startAngle,o=this.endAngle,l=this.chart;if(_.Et(s)&&t.element&&l){var h=l.xAxes.getIndex(0),u=0,p=l.series.getIndex(0);if(p&&(u=p.dataItems.length),"polygons"==this.gridType&&u>0&&p&&h&&h instanceof t_){var d=h.renderer.grid.template.location,c=h.getAngle(p.dataItems.getIndex(0),"categoryX",d);n=y.tw({x:s*F.gn(c),y:s*F.F8(c)});for(var f=1;f<u;f++)c=h.getAngle(p.dataItems.getIndex(f),"categoryX",d),n+=y.a5({x:s*F.gn(c),y:s*F.F8(c)});c=h.getAngle(p.dataItems.getIndex(u-1),"categoryX",h.renderer.cellEndLocation),n+=y.a5({x:s*F.gn(c),y:s*F.F8(c)})}else n=y.tw({x:s*F.gn(a),y:s*F.F8(a)})+y.Kf(a,o-a,s,s);t.path=n}this.toggleVisibility(t,e,0,1)}
1,e.prototype.updateLabelElement=function(t,e,i,n){_.a4(n)||(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);this.positionItem(t,r),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBaseGridElement=function(){},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisAngle",{get:function(){return this.getPropertyValue("axisAngle")},set:function(t){this.setPropertyValue("axisAngle",F.n0(t)),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridType",{get:function(){return this.chart.xAxes.getIndex(0)instanceof t_?this.getPropertyValue("gridType"):"circles"},set:function(t){this.setPropertyValue("gridType",t,!0)},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e){var i,n=this.pixelInnerRadius,r=this.axisLength+n,s=F.s_(this.positionToCoordinate(t),n,r),a=F.s_(this.positionToCoordinate(e),n,r),o=this.startAngle,l=this.endAngle,h=this.chart,u=h.xAxes.getIndex(0),p=h.series.getIndex(0),d=0;if(p&&(d=p.dataItems.length),"polygons"==this.gridType&&d>0&&p&&u&&u instanceof t_){var c=u.renderer.grid.template.location,f=u.getAngle(p.dataItems.getIndex(0),"categoryX",c);i=y.tw({x:a*F.gn(f),y:a*F.F8(f)});for(var g=1;g<d;g++)f=u.getAngle(p.dataItems.getIndex(g),"categoryX",c),i+=y.a5({x:a*F.gn(f),y:a*F.F8(f)});f=u.getAngle(p.dataItems.getIndex(d-1),"categoryX",u.renderer.cellEndLocation),i+=y.a5({x:a*F.gn(f),y:a*F.F8(f)}),i+=y.tw({x:s*F.gn(f),y:s*F.F8(f)});for(var g=d-1;g>=0;g--)f=u.getAngle(p.dataItems.getIndex(g),"categoryX",c),i+=y.a5({x:s*F.gn(f),y:s*F.F8(f)})}else i=y.JL(o,l-o,a,s);return i},e.prototype.updateBreakElement=function(t){var e=t.startLine,i=t.endLine,n=t.fillShape,r=t.startPoint,s=t.endPoint;e.radius=Math.abs(r.y),i.radius=Math.abs(s.y),n.radius=Math.abs(s.y),n.innerRadius=Math.abs(r.y)},e.prototype.createBreakSprites=function(t){t.startLine=new tY.s,t.endLine=new tY.s,t.fillShape=new tY.s},e.prototype.updateTooltip=function(){if(this.axis){var t=this.axisAngle;t<0&&(t+=360);var e="vertical";(t>45&&t<135||t>225&&t<315)&&(e="horizontal"),this.axis.updateTooltip(e,{x:-4e3,y:-4e3,width:8e3,height:8e3})}},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=F.n0(this.axisAngle+90);r/90!=Math.round(r/90)?t.pixelPerfect=!1:t.pixelPerfect=!0;var s=-t.length;t.inside&&(s*=-1),t.path=y.tw({x:0,y:0})+y.a5({x:s*F.gn(r),y:s*F.F8(r)})}this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof tl&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,n=i.axisFullLength,r=this.pixelInnerRadius;return e=i.renderer.inversed?(i.end-t)*n+r:(t-i.start)*n+r,F.LI(e,1)},e.prototype.pointToPosition=function(t){var e=F.Yf(t)-this.pixelInnerRadius;return this.coordinateToPosition(e)},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e}(th);a.u.registeredClasses.AxisRendererRadial=tX;var tz=function(t){function e(){var e=t.call(this)||this;return e.className="RadarChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(tS),tK=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=tN,e._axisRendererY=tX,e.innerRadiusModifyer=1,e.mr=1,e.className="RadarChart",e.startAngle=-90,e.endAngle=270,e.radius=(0,g.KN)(80),e.innerRadius=0;var i=e.plotContainer.createChild(u.m);return i.shouldClone=!1,i.layout="absolute",i.align="center",i.valign="middle",e.seriesContainer.parent=i,e.radarContainer=i,e.bulletsContainer.parent=i,e.axisBulletsContainer=i,e._cursorContainer=i,e.chartContainer.events.on("maxsizechanged",e.invali
1date,e,!1),e._bulletMask=i.createChild(tR.j),e._bulletMask.shouldClone=!1,e._bulletMask.element=e.paper.add("path"),e._bulletMask.opacity=0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},e.prototype.processAxis=function(e){t.prototype.processAxis.call(this,e);var i=e.renderer;i.gridContainer.parent=i,i.breakContainer.parent=i,e.parent=this.radarContainer,i.toBack()},e.prototype.handleXAxisRangeChange=function(){t.prototype.handleXAxisRangeChange.call(this),b.__(this.yAxes.iterator(),function(t){t.invalidate()})},e.prototype.handleYAxisRangeChange=function(){t.prototype.handleYAxisRangeChange.call(this),b.__(this.xAxes.iterator(),function(t){t.invalidate()})},e.prototype.processConfig=function(e){if(e&&(_.a4(e.cursor)&&!_.a4(e.cursor.type)&&(e.cursor.type="RadarCursor"),_.a4(e.series)&&_.cy(e.series)))for(var i=0,n=e.series.length;i<n;i++)e.series[i].type=e.series[i].type||"RadarSeries";t.prototype.processConfig.call(this,e)},e.prototype.beforeDraw=function(){t.prototype.beforeDraw.call(this);var e=this.plotContainer,i=F.RX(this.startAngle,this.endAngle,1),n={x:0,y:0,width:0,height:0},r=e.innerWidth/i.width,s=e.innerHeight/i.height,a=this.innerRadius;if(a instanceof g.QE){var o=a.value,l=Math.min(r,s);this.mr=l,o=Math.max(l*o,l-Math.min(e.innerHeight,e.innerWidth))/l,n=F.RX(this.startAngle,this.endAngle,o),this.innerRadiusModifyer=o/a.value,a=(0,g.KN)(100*o)}i=F.Tm([i,n]);var h=Math.min(e.innerWidth/i.width,e.innerHeight/i.height),u=2*D.LG(this.radius,h)||0,p=u/2,d=this.startAngle,c=this.endAngle;this._pixelInnerRadius=D.LG(a,p),this._bulletMask.path=y.JL(d,c-d,p,this._pixelInnerRadius),b.__(this.xAxes.iterator(),function(t){t.renderer.useChartAngles&&(t.renderer.startAngle=d,t.renderer.endAngle=c),t.width=u,t.height=u,t.renderer.pixelRadiusReal=p}),b.__(this.yAxes.iterator(),function(t){t.renderer.startAngle=d,t.renderer.endAngle=c,t.width=u,t.height=u,t.renderer.pixelRadiusReal=p});var f=this.cursor;f&&(f.width=u,f.height=u,f.startAngle=d,f.endAngle=c),this.radarContainer.definedBBox={x:p*i.x,y:p*i.y,width:p*i.width,height:p*i.height},this.radarContainer.validatePosition()},e.prototype.createSeries=function(){return new tj},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.updateXAxis=function(t){t&&t.processRenderer()},e.prototype.updateYAxis=function(t){t&&t.processRenderer()},e}(tT);a.u.registeredClasses.RadarChart=tK;var tU=i(74593),tG=function(t){function e(){var e=t.call(this)||this;e._axis=new l.h1,e.className="ClockHand",e.fill=new f.T().getFor("alternativeBackground"),e.stroke=e.fill;var i=new tR.j;return i.radius=5,e.pin=i,e.isMeasured=!1,e.startWidth=5,e.endWidth=1,e.width=(0,g.KN)(100),e.height=(0,g.KN)(100),e.radius=(0,g.KN)(100),e.innerRadius=(0,g.KN)(0),e.hand=new tU.j,e._disposers.push(e._axis),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.hand;e.width=this.pixelWidth;var i=Math.max(this.startWidth,this.endWidth);if(e.height=i,e.leftSide=(0,g.KN)(this.startWidth/i*100),e.rightSide=(0,g.KN)(this.endWidth/i*100),this.axis){var n=this.axis.renderer,r=D.LG
1(this.innerRadius,n.pixelRadius),s=D.LG(this.radius,n.pixelRadius);e.x=r,e.y=-i/2,e.width=s-r}},Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin&&this.removeDispose(this._pin),t&&(this._pin=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hand",{get:function(){return this._hand},set:function(t){this._hand&&this.removeDispose(this._hand),t&&(this._hand=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startWidth",{get:function(){return this.getPropertyValue("startWidth")},set:function(t){this.setPropertyValue("startWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endWidth",{get:function(){return this.getPropertyValue("endWidth")},set:function(t){this.setPropertyValue("endWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationDirection",{get:function(){return this.getPropertyValue("rotationDirection")},set:function(t){this.setPropertyValue("rotationDirection",t)},enumerable:!0,configurable:!0}),e.prototype.showValue=function(t,e,i){if(this._value=t,void 0!=t&&(_.Et(e)||(e=0),this.axis)){var n=this.axis.renderer.positionToAngle(this.axis.anyToPosition(t)),r=this.rotation;"clockWise"==this.rotationDirection&&n<r&&(this.rotation=r-360),"counterClockWise"==this.rotationDirection&&n>r&&(this.rotation=r+360),this.animate({property:"rotation",to:n},e,i)}},Object.defineProperty(e.prototype,"currentPosition",{get:function(){if(this.axis)return this.axis.renderer.angleToPosition(this.rotation)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this.showValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this.axis!=t&&this._axis.set(t,new l.ZT([t.events.on("datavalidated",this.updateValue,this,
1!1),t.events.on("datarangechanged",this.updateValue,this,!1),t.events.on("dataitemsvalidated",this.updateValue,this,!1),t.events.on("propertychanged",this.invalidate,this,!1)])),t){var e=t.chart;e&&(this.rotation=e.startAngle)}this.parent=t.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),e.prototype.updateValue=function(){this.value=this.value},e.prototype.processConfig=function(e){e&&_.a4(e.axis)&&_.Kg(e.axis)&&this.map.hasKey(e.axis)&&(e.axis=this.map.getKey(e.axis)),t.prototype.processConfig.call(this,e)},e}(u.m);a.u.registeredClasses.ClockHand=tG,(0,s.C6)(function(){var t=tz.call(this)||this;return t.className="GaugeChartDataItem",t.applyTheme(),t},tz);var tq=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChart",e.startAngle=180,e.endAngle=360,e.hands=new h.TS(new tG),e.hands.events.on("inserted",e.processHand,e,!1),e._disposers.push(new h.a(e.hands)),e._disposers.push(e.hands.template),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},e.prototype.processHand=function(t){var e=t.newValue;e.axis||(e.axis=this.xAxes.getIndex(0))},e.prototype.configOrder=function(e,i){return e==i?0:"hands"==e?1:"hands"==i?-1:t.prototype.configOrder.call(this,e,i)},e}(tK);a.u.registeredClasses.GaugeChart=tq;var tZ=function(t){function e(){var e=t.call(this)||this;return e.className="PercentSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.uidAttr=function(){return this.slice.uidAttr()},e.prototype.hide=function(e,i,n,r){return r||(r=["value"]),t.prototype.hide.call(this,e,i,0,r)},e.prototype.setVisibility=function(e,i){i||(e?this.setWorkingValue("value",this.values.value.value,0,0):this.setWorkingValue("value",0,0,0)),t.prototype.setVisibility.call(this,e,i)},e.prototype.show=function(e,i,n){return n||(n=["value"]),t.prototype.show.call(this,e,i,n)},Object.defineProperty(e.prototype,"category",{get:function(){return this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){this.component.createLegendMarker(t,this)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,t.label&&(t.label.dataItem=this),t.valueLabel&&(t.valueLabel.dataItem=this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){var t=this;if(!this._tick){var e=this.component.ticks.create();this._tick=e,this.addSprite(e),this._disposers.push(e),e.parent=this.component.ticksContainer,this._disposers.push(new l.W_(function(){t.component&&t.component.ticks.removeValue(e)})),e.visible=this.visible}return this._tick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this.addSprite(e),this._label=e,this._disposers.push(e),e.parent=this.component.labelsContainer,this._disposers.push(new l.W_(function(){t.component&&t.component.labels.removeValue(e)})),e.visible=this.visible}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slice",{get:function(){var t=this;if(!this._slice){var e=this.component,i=e.slices.create();this.addSprite(i),this._slice=i,this._disposers.push(i),i.parent=e.slicesContainer,this._disposers.push(new l.W_(function(){e.slices.removeValue(i)})),i.visible=this.visible,e.itemsFocusable()?(_.a4(this.component.role)||(this.component.role="menu"),_.a4(i.role)||(i.role="menuitem"),i.focusable=!0):(_.a4(this.component.role)||(this.component.role="list"),_.a4(i.role)||(i.role="listitem"),i.focusable=!1),i.focusable&&(i.events.on("focus",function(n){i.readerTitle=e.populateString(e.itemReaderText,t)},void 0,!1),i.events.on("blur",function(t){i.readerTitle=""},void 0,!1)),i.hoverable&&(i.events.on("over",function(n){i.readerTitle=e.populateString(e.itemReaderText,t)},void 0,!1),i.events.on("out",function(t){i.readerTitle=""},void 0,!1))}return this._slice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.properties.hiddenInLegend},set:function(t){this.setProperty("hiddenInLegend",t)},enumerable:!0,configurable:!0}),e}(Y),tJ=function(t){function e(){var e=t.call(this)||this;e.className="PercentSeries",e._addAllDataItems=!1,e.colors=new z.e,e.colors.step=1,e.isMeasured=!0,e.calculatePercent=!0;var i=e.createChild(u.m);i.shouldClone=!1,i.isMeasured=!1,e.slicesContainer=i;var n=e.createChild(u.m);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",e.ticksContainer=n;var r=e.createChild(u.m);return r.shouldClone=!1,r.isMeasured=!1,r.layout="none",e.labelsContainer=r,e.alignLabels=!1,e.bulletsContainer.toFront(),e.skipFocusThreshold=50,e.defaultState.transitionEasing=B.vq,e.itemReaderText="{category}: {value.percent.formatNumber('#.#')}%",e.applyTheme(),e}
1return(0,s.C6)(e,t),e.prototype.createSlice=function(){return new c.kx},e.prototype.createTick=function(){return new tr},e.prototype.createLabel=function(){return new p.J},Object.defineProperty(e.prototype,"slices",{get:function(){if(!this._slices){var t=this.createSlice();t.applyOnClones=!0,this._disposers.push(t),this.initSlice(t),this._slices=new h.TS(t),this._disposers.push(new h.a(this._slices))}return this._slices},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,this._disposers.push(t),this.initTick(t),this._ticks=new h.TS(t),this._disposers.push(new h.a(this._ticks))}return this._ticks},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();t.applyOnClones=!0,this._disposers.push(t),this.initLabel(t),this._labels=new h.TS(t),this._disposers.push(new h.a(this._labels))}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createDataItem=function(){return new tZ},e.prototype.initSlice=function(t){},e.prototype.initLabel=function(t){t.text="{category}: {value.percent.formatNumber('#.0')}%",t.isMeasured=!1,t.padding(5,5,5,5)},e.prototype.initTick=function(t){},e.prototype.validateDataItems=function(){this.colors.reset(),this.patterns&&this.patterns.reset(),t.prototype.validateDataItems.call(this)},e.prototype.validateDataElement=function(e){var i=e.slice;i&&(void 0==i.fill?this.patterns?(_.a4(i.stroke)||(i.stroke=this.colors.next()),i.fill=this.patterns.next(),_.a4(i.fillOpacity)&&(i.fill.backgroundOpacity=i.fillOpacity),i.stroke instanceof R.Q1&&(i.fill.stroke=i.stroke,i.fill.fill=i.stroke)):i.fill=this.colors.next():this.colors.currentStep+=this.colors.step,void 0==i.stroke&&(i.stroke=i.fill)),t.prototype.validateDataElement.call(this,e),i&&e.bullets.each(function(t,e){void 0==e.fill&&(e.fill=i.fill),void 0==e.stroke&&(e.stroke=i.stroke)}),this.updateLegendValue(e)},e.prototype.validateData=function(){t.prototype.validateData.call(this),this.chart&&this.chart.feedLegend()},e.prototype.arrangeLabels=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e].label;if(n){n.invalid&&n.validate();var r=n.measuredHeight;n.visible||(r=0),n.pixelY-r/2<-this.maxHeight/2&&(n.y=-this.maxHeight/2+r/2);var s=this.getNextLabel(e+1,t),a=n.pixelY+r;s&&s.y<a&&(s.y=a)}}},e.prototype.arrangeLabels2=function(t){for(var e=this.maxHeight/2,i=t.length-1;i>=0;i--){var n=t[i].label;if(n){n.invalid&&n.validate();var r=n.measuredHeight;n.visible||(r=0),i==t.length-1&&(e+=r/2),n.pixelY+r>e&&(n.y=e-r,e=n.y)}}},e.prototype.getNextLabel=function(t,e){if(e.length>=t){var i=e[t];if(i)if(!i.label)return this.getNextLabel(t+1,e);else if(i.visible)return i.label;else return this.getNextLabel(t+1,e)}},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(t){this.setPropertyValue("patterns",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t,e){b.__(t.children.iterator(),function(i){var n=e.slice;i.defaultState.properties.fill=n.fill,i.defaultState.properties.stroke=n.stroke,i.defaultState.properties.fillOpacity=n.fillOpacity,i.defaultState.properties.strokeOpacity=n.strokeOpacity,i.fill=n.fill,i.stroke=n.stroke,i.fillOpacity=n.fillOpacity,i.strokeOpacity=n.strokeOpacity,void 0==i.fill&&(i.__disabled=!0);var r=t.dataItem;r.color=n.fill,r.colorOrig=n.fill,i.addDisposer(n.events.on("propertychanged",function(t){"fill"==t.property&&(i.__disabled=!1,i.isActive||(i.fill=n.fill),i.defaultState.properties.fill=n.fill,r.color=n.fill,r.colorOrig=n.fill),"stroke"==t.property&&(i.isActive||(i.stroke=n.stroke),i.defaultState.properties.stroke=n.stroke),"strokeOpacity"==t.property&&(i.isActive||(i.strokeOpacity=n.strokeOpacity),i.defaultState.properties.strokeOpacity=n.strokeOpacity)},void 0,!1))})},e.prototype.handleSliceScale=function(t){var e=this,i=t.target.dataItem;i&&i.bullets&&b.__(i.bullets.iterator(),function(t){var i=t[1];e.positionBullet(i)})},e.prototype.handleSliceMove=function(t){},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slice
1s.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template),this.colors=e.colors.clone()},Object.defineProperty(e.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(t){this.setAlignLabels(t)},enumerable:!0,configurable:!0}),e.prototype.setAlignLabels=function(t){this.setPropertyValue("alignLabels",t,!0)},Object.defineProperty(e.prototype,"ignoreZeroValues",{get:function(){return this.getPropertyValue("ignoreZeroValues")},set:function(t){this.setPropertyValue("ignoreZeroValues",t,!0)},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t){if(t){var e=t.legendDataItem,i=t.legendSettings;e&&i&&i&&(i.labelText&&(e.label.text=i.labelText),i.itemLabelText&&(e.label.text=i.itemLabelText),i.valueText&&(e.valueLabel.text=i.valueText),i.itemValueText&&(e.valueLabel.text=i.itemValueText))}},e}(X);a.u.registeredClasses.PercentSeries=tJ,a.u.registeredClasses.PercentSeriesDataItem=tZ,x.Z4.push({relevant:x.H$.maybeXS,state:function(t,e){if(t instanceof tJ){var i=t.states.create(e);return t.labels.template.states.create(e).properties.disabled=!0,t.ticks.template.states.create(e).properties.disabled=!0,i}return null}});var tQ=function(t){function e(){var e=t.call(this)||this;return e.className="PercentChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(K),t$=function(t){function e(){var e=t.call(this)||this;return e.className="PercentChart",e.align="none",e.valign="none",e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validateData=function(){t.prototype.validateData.call(this),this.feedLegend()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];b.__(this.series.iterator(),function(t){t.hiddenInLegend||b.__(t.dataItems.iterator(),function(i){!i.hiddenInLegend&&(e.push(i),i.legendSettings||(i.legendSettings=t.legendSettings))})}),t.data=e,t.dataFields.name="category"}},e.prototype.createSeries=function(){return new tJ},e.prototype.setLegend=function(e){t.prototype.setLegend.call(this,e),e&&(e.labels.template.text="{category}",e.valueLabels.template.text="{value.percent.formatNumber('#.0')}%",e.itemContainers.template.events.on("over",function(t){var e=t.target.dataItem.dataContext;if(e.visible&&!e.isHiding){var i=e.slice;i.dispatchImmediately("over"),i.isHover=!0,i.interactions.isRealHover=!0}}),e.itemContainers.template.events.on("out",function(t){var e=t.target.dataItem.dataContext.slice;e.dispatchImmediately("out"),e.isHover=!1}))},e}(U);a.u.registeredClasses.PercentChart=t$,a.u.registeredClasses.PercentChartDataItem=tQ;var t0=i(67811),t1=function(t){function e(){var e=t.call(this)||this;return e._label=new l.h1,e._slice=new l.h1,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=this.label,n=e.dataItem.component;if(e&&e.radius>
10&&i&&i.text){var r=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,s=e.dy+e.slice.dy+e.pixelY+e.iy*e.radiusY*e.scale,a=void 0,o=void 0,l=void 0,h=void 0;if(n.alignLabels)a=i.pixelX-this.length,o=i.pixelY,l=i.pixelX,h=o,"right"==i.horizontalCenter&&(a+=2*this.length,l=a-this.length);else{var u=i.pixelRadius(e.radius);a=r+u*e.ix,o=s+u*e.iy,l=a,h=o}this.element.attr({points:[r,s,a,o,l,h]})}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new l.ZT([t.events.on("transformed",this.invalidate,this),t.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),e}(tr);a.u.registeredClasses.PieTick=t1;var t2=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"radiusValue",{get:function(){return this.values.radiusValue.value},set:function(t){this.setValue("radiusValue",t)},enumerable:!0,configurable:!0}),e.prototype.hide=function(e,i,n,r){return t.prototype.hide.call(this,e,i,0,["value","radiusValue"])},e.prototype.show=function(e,i,n){return t.prototype.show.call(this,e,i,["value","radiusValue"])},e}(tZ),t3=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries",e.alignLabels=!0,e.layout="none",e.labels.template.radius=(0,g.KN)(5),e.addDisposer(e.labels.template.events.on("enabled",e.invalidate,e,!1)),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.createSlice=function(){return new t0.J},e.prototype.createTick=function(){return new t1},e.prototype.createLabel=function(){return new tW},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},e.prototype.createDataItem=function(){return new t2},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.scale=1.05,t.defaultState.properties.shiftRadius=0,t.togglable=!0,t.events.on("toggled",function(t){t.target.hideTooltip(),t.target.interactions.lastHitPointer&&t.target.interactions.lastHitPointer.touch&&!t.target.isActive&&(t.target.isHover=!1)}),t.states.create("active").properties.shiftRadius=.1},e.prototype.validate=function(){this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=F.RX(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;e<this.endIndex;e++){var i=this.dataItems.getIndex(e).values.radiusValue.percent;i>this._maxRadiusPercent&&(this._maxRadiusPercent=i)}t.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,n=(e.slice.middleAngle+360)%360;return(i>270&&(i-=360),n>270&&(n-=360),i<n)?-1:+(i>n)}),this._leftItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,n=(e.slice.middleAngle+360)%360;return i<n?1:i>n?-1:0}),this.arrangeLabels(this._rightItems),this.arrangeLabels2(this._rightItems),this.arrangeLabels(this._leftItems),this.arrangeLabels2(this._leftItems))},e.prototype.validateDataElement=function(e){if(this.pixelRadius>0){this.ignoreZeroValues&&(0==e.value||null==e.value)?e.__disabled=!0:e.__disabled=!1;var i=e.slice;if(i.radius=this.pixelRadius,_.Et(e.radiusValue)&&(i.radius=this.pixelInnerRadius+(this.pixelRadius-this.pixelInnerRadius)*e.values.radiusValue.percent/this._maxRadiusPercent),i.innerRadius instanceof g.QE||(i.innerRadius=this.pixelInnerRadius),i.startAngle=this._currentStartAngle,i.arc=Math.abs(e.values.value.percent)*(this.endAngle-this.startAngle)/100,!this.labels.template.disabled){var n=e.label,r=e.tick;r.slice=i,r.label=n;var s=(i.middleAngle+360)%360,a=void 0;if(this.alignLabels){var o=n.pixelRadius(i.radius),l=r.length+o;n.dx=0,n.dy=0,n.verticalCenter="middle";var h=this._arcRect;s>
1270||s<=90?(l+=(h.width+h.x)*this.pixelRadius,n.horizontalCenter="left",this._rightItems.push(e)):(l-=h.x*this.pixelRadius,n.horizontalCenter="right",this._leftItems.push(e),l*=-1);var u=i.radius+r.length+o;a={x:l,y:i.iy*u},n.moveTo(a)}else{var p=i.depth;_.Et(p)||(p=0),n.fixPosition(i.middleAngle,i.radius,i.radiusY,0,-p)}}this._currentStartAngle+=i.arc,t.prototype.validateDataElement.call(this,e)}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(t){this._pixelRadius!=t&&(this._pixelRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(t){this._pixelInnerRadius!=t&&(this._pixelInnerRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){var t=this.getPropertyValue("startAngle");return _.Et(t)?t:this._startAngleInternal},set:function(t){this.setPropertyValue("startAngle",F.n0(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){var t=this.getPropertyValue("endAngle");return _.Et(t)?t:this._endAngleInternal},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;_.Et(n)||(n=.5);var r=e.locationY;_.Et(r)||(r=1);var s=i.startAngle+i.arc*n;e.x=r*i.radius*F.gn(s),e.y=r*i.radiusY*F.F8(s)},e.prototype.handleSliceMove=function(t){if(!this.alignLabels){var e=t.target,i=e.dataItem;if(i){var n=i.label;n&&(n.dx=n.fdx+e.dx+e.pixelX,n.dy=n.fdy+e.dy+e.pixelY)}}},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var t=this.chart;return t?F.RX(t.startAngle,t.endAngle,this.pixelRadius):F.RX(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),e}(tJ);a.u.registeredClasses.PieSeries=t3,a.u.registeredClasses.PieSeriesDataItem=t2;var t4=function(t){function e(){var e=t.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(tQ),t5=function(t){function e(){var e=t.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=(0,g.KN)(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var i=e.seriesContainer;return i.isMeasured=!0,i.valign="middle",i.align="center",i.layout="absolute",i.width=void 0,i.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",e.updateRadius,e,!1),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.updateRadius()},e.prototype.handleSeriesAdded=function(e){t.prototype.handleSeriesAdded.call(this,e),this._chartPixelRadius=void 0,this.updateSeriesAngles()},e.prototype.updateSeriesAngles=function(){var t=this;this.series.each(function(e){e._startAngleInternal=t.startAngle,e._endAngleInternal=t.endAngle})},e.prototype.updateRadius=function(){var t=this.chartContainer,e=F.RX(this.startAngle,this.endAngle,1),i={x:0,y:0,width:0,height:0},n=this.innerRadius;n instanceof g.QE&&(i=F.RX(this.startAngle,this.endAngle,n.value)),e=F.Tm([e,i]);var r=Math.min(t.innerWidth/e.width,t.innerHeight/e.height);_.Et(r)||(r=0);var s=D.LG(this.radius,r),a=D.LG(this.innerRadius,r),o=(s-a)/this.series.length;(s!=this._chartPixelRadius||a!=this._chartPixelInnerRadius)&&(this._chartPixelRadius=s,this._chartPixelInnerRadius=a,b.__(b.KF(this.series.iterator()),function(t){var e=t[0],i=t[1],n=a+D.LG(i.radius,s-a),r
1=a+D.LG(i.innerRadius,s-a);_.Et(n)||(n=a+o*(e+1)),_.Et(r)||(r=a+o*e),i.pixelRadius=n,i.pixelInnerRadius=r}),this.seriesContainer.definedBBox={x:s*e.x,y:s*e.y,width:s*e.width,height:s*e.height},this.seriesContainer.invalidateLayout(),this.bulletsContainer.x=this.seriesContainer.x,this.bulletsContainer.y=this.seriesContainer.y)},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new t3},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),e}(t$);a.u.registeredClasses.PieChart=t5,a.u.registeredClasses.PieChartDataItem=t4;var t6=i(80719),t9=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3DDataItem",e.values.depthValue={},e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(t){this.setValue("depthValue",t)},enumerable:!0,configurable:!0}),e}(t2),t8=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3D",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.createDataItem=function(){return new t9},e.prototype.createSlice=function(){return new t6.o},e.prototype.validateDataElement=function(e){var i=e.slice,n=this.depth;_.Et(n)||(n=this.chart.depth);var r=e.values.depthValue.percent;_.Et(r)||(r=100),i.depth=r*n/100;var s=this.angle;_.Et(s)||(s=this.chart.angle),i.angle=s,t.prototype.validateDataElement.call(this,e)},e.prototype.validate=function(){t.prototype.validate.call(this);for(var e=this._workingStartIndex;e<this._workingEndIndex;e++){var i=this.dataItems.getIndex(e).slice,n=i.startAngle;n>=-90&&n<90?i.toFront():n>=90&&i.toBack()}},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice;e.y=e.pixelY-i.depth},e}(t3);a.u.registeredClasses.PieSeries3D=t8,a.u.registeredClasses.PieSeries3DDataItem=t9,(0,s.C6)(function(){var t=t4.call(this)||this;return t.className="PieChart3DDataItem",t.applyTheme(),t},t4);var t7=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3D",e.depth=20,e.angle=10,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){t=F.s_(t,0,90),this.setPropertyValue("angle",t)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new t8},e}(t5);a.u.registeredClasses.PieChart3D=t7;var et=function(t){function e(){var e=t.call(this)||this;return e.className="SlicedChartDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(tQ),ee=function(t){function e(){var e=t.call(this)||this;return e.className="SlicedChart",e.seriesContainer.layout="horizontal",e.padding(15,15,15,15),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Sliced chart"))},e.prototype.validate=function(){t.prototype.validate.call(this)},e}(t$);a.u.registeredClasses.SlicedChart=ee,a.u.registeredClasses.SlicedChartDataItem=et;var ei=i(96120),en=i(44845),er=function(t){function e(){var e=t.call(this)||this;return e.legendSettings=new M,e.className="FlowDiagramNode",e.isMeasured=!1,new f.T,e.draggable=!0,e.inert=!0,e.setStateOnChildren=!0,e.events.on("positionchanged",e.invali
1dateLinks,e,!1),e.events.on("sizechanged",e.invalidateLinks,e,!1),e}return(0,s.C6)(e,t),e.prototype.handleHit=function(t){this.isHidden||this.isHiding?this.show():this.hide()},e.prototype.show=function(e){var i=t.prototype.show.call(this,e);return this.outgoingDataItems.each(function(t){t.toNode&&(!t.toNode||t.toNode.isHidden)||(t.setWorkingValue("value",t.getValue("value"),e),t.link.show())}),this.incomingDataItems.each(function(t){t.fromNode&&(!t.fromNode||t.fromNode.isHidden)||(t.setWorkingValue("value",t.getValue("value"),e),t.link.show())}),i},e.prototype.hide=function(e){var i=t.prototype.hide.call(this,e);return this.outgoingDataItems.each(function(t){t.setWorkingValue("value",0,e),t.link.hide()}),this.incomingDataItems.each(function(t){t.setWorkingValue("value",0,e),t.link.hide()}),i},e.prototype.validate=function(){this.isDisposed()||(t.prototype.validate.call(this),this.invalidateLinks())},e.prototype.invalidateLinks=function(){var t=this;this.outgoingDataItems.each(function(e){var i=e.link;if("fromNode"==i.colorMode&&(i.fill=i.dataItem.fromNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var n=i.gradient.stops.getIndex(0);n&&(n.color=t.color,i.gradient.validate())}}),this.incomingDataItems.each(function(e){var i=e.link;if("toNode"==i.colorMode&&(i.fill=i.dataItem.toNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var n=i.gradient.stops.getIndex(1);n&&(n.color=t.color,i.gradient.validate())}})},Object.defineProperty(e.prototype,"incomingDataItems",{get:function(){var t=this;if(!this._incomingDataItems){var e=new h.B8;e.events.on("inserted",function(){"name"==t.chart.sortBy?t._incomingSorted=b.di(t._incomingDataItems.iterator(),function(t,e){return ei.fq(t.fromName,e.fromName)}):"value"==t.chart.sortBy?t._incomingSorted=b.di(t._incomingDataItems.iterator(),function(t,e){return en.B(J.f(t.value,e.value))}):t._incomingSorted=t._incomingDataItems.iterator()},void 0,!1),this._incomingDataItems=e}return this._incomingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outgoingDataItems",{get:function(){var t=this;if(!this._outgoingDataItems){var e=new h.B8;e.events.on("inserted",function(){"name"==t.chart.sortBy?t._outgoingSorted=b.di(t._outgoingDataItems.iterator(),function(t,e){return ei.fq(t.fromName,e.fromName)}):"value"==t.chart.sortBy?t._outgoingSorted=b.di(t._outgoingDataItems.iterator(),function(t,e){return en.B(J.f(t.value,e.value))}):t._outgoingSorted=t._outgoingDataItems.iterator()},void 0,!1),this._outgoingDataItems=e}return this._outgoingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(t){this.setPropertyValue("name",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"total",{get:function(){return this.getPropertyValue("total")},set:function(t){this.setPropertyValue("total",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalIncoming",{get:function(){return this.getPropertyValue("totalIncoming")},set:function(t){this.setPropertyValue("totalIncoming",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalOutgoing",{get:function(){return this.getPropertyValue("totalOutgoing")},set:function(t){this.setPropertyValue("totalOutgoing",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.getPropertyValue("color")}
1,set:function(t){this.setColorProperty("color",t),this._background&&(this._background.fill=t),this.fill=t},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var n=t.createChild(T.T);n.shouldClone=!1,H.Lb(this,n,c.mM),n.stroke=this.fill,n.copyFrom(this),n.padding(0,0,0,0),n.width=e,n.height=i;var r=t.dataItem;r.color=n.fill,r.colorOrig=n.fill},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e}(u.m);a.u.registeredClasses.FlowDiagramNode=er;var es=i(73176),ea=i(13949),eo=function(t){function e(){var e=t.call(this)||this;e.className="FlowDiagramLink";var i=new f.T;return e.maskBullets=!1,e.colorMode="fromNode",e.layout="none",e.isMeasured=!1,e.startAngle=0,e.endAngle=0,e.strokeOpacity=0,e.verticalCenter="none",e.horizontalCenter="none",e.tooltipText="{fromName}â{toName}:{value.value}",e.tooltipLocation=.5,e.link=e.createChild(c.kx),e.link.shouldClone=!1,e.link.setElement(e.paper.add("path")),e.link.isMeasured=!1,e.fillOpacity=.2,e.fill=i.getFor("alternativeBackground"),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.positionBullets=function(){var t=this;b.__(this.bullets.iterator(),function(e){e.parent=t.bulletsContainer,e.maxWidth=t.maxWidth,e.maxHeight=t.maxHeight,t.positionBullet(e)})},Object.defineProperty(e.prototype,"bulletsContainer",{get:function(){if(!this._bulletsContainer){var t=this.createChild(u.m);t.shouldClone=!1,t.layout="none",this._bulletsContainer=t}return this._bulletsContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bulletsMask",{get:function(){if(!this._bulletsMask){var t=this.createChild(c.kx);t.shouldClone=!1,t.setElement(this.paper.add("path")),t.isMeasured=!1,this._bulletsMask=t}return this._bulletsMask},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){var e,i=t.locationX;_.Et(i)||(i=t.locationY),_.Et(i)||(i=.5);var n=this.middleLine.positionToPoint(i);t.moveTo(n);var r=t.propertyFields.rotation;t.dataItem&&(e=t.dataItem.dataContext[r]),_.Et(e)||(e=n.angle),t.rotation=e},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorMode",{get:function(){return this.getPropertyValue("colorMode")},set:function(t){if("gradient"==t){var e=this.fill;this.gradient.stops.clear(),e instanceof R.Q1&&(this.gradient.addColor(e),this.gradient.addColor(e)),this.fill=this.gradient,this.stroke=this.gradient}this.setPropertyValue("colorMode",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){t.prototype.setFill.call(this,e);var i=this._gradient;i&&e instanceof R.Q1&&(i.stops.clear(),i.addColor(e),i.addColor(e))},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bullets",{get:function(){var t=this;return this._bullets||(this._bullets=new h.TS(new S),this._disposers.push(new h.a(this._bullets)),this._disposers.push(this._bullets.template),this._bullets.events.on("inserted",function(e){e.newValue.events.on("propertychanged",function(e){("locationX"==e.property||"locationY"==e.property)&&t.positionBullet(e.target)},void 0,!1)},void 0,!1)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.bullets.copyFrom(e.bullets);var i=this.middleLine;
1i&&(i instanceof tA.N&&e.middleLine instanceof tA.N&&i.copyFrom(e.middleLine),i instanceof ea.R&&e.middleLine instanceof ea.R&&i.copyFrom(e.middleLine)),this.link.copyFrom(e.link)},e.prototype.getTooltipX=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).x},e.prototype.getTooltipY=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).y},Object.defineProperty(e.prototype,"gradient",{get:function(){return this._gradient||(this._gradient=new es.W),this._gradient},enumerable:!0,configurable:!0}),e}(u.m);a.u.registeredClasses.FlowDiagramLink=eo;var el=i(89293),eh=function(t){function e(){var e=t.call(this)||this;return e.className="FlowDiagramDataItem",e.values.value={},e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"fromName",{get:function(){return this.properties.fromName},set:function(t){this.setProperty("fromName",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"toName",{get:function(){return this.properties.toName},set:function(t){this.setProperty("toName",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",(0,R.VR)(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"link",{get:function(){var t=this;if(!this._link){var e=this.component.links.create();this._link=e,this.addSprite(e),this._disposers.push(new l.W_(function(){t.component&&t.component.links.removeValue(e)}))}return this._link},enumerable:!0,configurable:!0}),e}(P),eu=function(t){function e(){var e=t.call(this)||this;e.colors=new z.e,e.className="FlowDiagram",e.nodePadding=20,e.sortBy="none",e.sequencedInterpolation=!0,e.colors.step=2,e.minNodeSize=.02;var i=e.chartContainer.createChild(u.m);i.shouldClone=!1,i.layout="none",i.isMeasured=!1,e.linksContainer=i;var n=e.chartContainer.createChild(u.m);return n.shouldClone=!1,n.layout="none",n.isMeasured=!1,e.nodesContainer=n,e.dataItem=e.createDataItem(),e.dataItem.component=e,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.dataItem.dispose()},e.prototype.validateData=function(){var e,i,n=this;0==this._parseDataFrom&&this.nodes.clear(),this.sortNodes(),this.colors.reset(),t.prototype.validateData.call(this);var r=0,s=0;b.__(this.dataItems.iterator(),function(t){var a=t.fromName;if(a){var o=n.nodes.getKey(a);o||((o=n.nodes.create(a)).name=a,o.chart=n,o.dataItem=t),t.fromNode=o,t.fromNode.outgoingDataItems.push(t)}var l=t.toName;if(l){var o=n.nodes.getKey(l);o||((o=n.nodes.create(l)).name=l,o.chart=n,o.dataItem=t),t.toNode=o,t.toNode.incomingDataItems.push(t)}if(!t.fromNode){var h=new el.N;h.opacities=[0,1],t.link.strokeModifier=h}if(!t.toNode){var u=new el.N;u.opacities=[1,0],t.link.strokeModifier=u}var p=t.value;_.Et(p)&&(r+=p,s++,(e>p||!_.Et(e))&&(e=p),(i<p||!_.Et(i))&&(i=p))});var a="value";this.dataItem.setCalculatedValue(a,i,"high"),this.dataItem.setCalculatedValue(a,e,"low"),this.dataItem.setCalculatedValue(a,r,"sum"),this.dataItem.setCalculatedValue(a,r/s,"average"),this.dataItem.setCalculatedValue(a,s,"count"),b.__(this.nodes.iterator(),function(t){var e=t[1];e.fill instanceof R.Q1&&(e.color=e.fill),void 0==e.color&&(e.color=n.colors.next()),void 0!=e.dataItem.color&&(e.color=e.dataItem.color),e.dataItem.visible||e.hide(0),n.getNodeValue(e)}),this.sortNodes(),this.feedLegend()},e.prototype.handleDataItemWorkingValueChange=function(t,e){this.invalidate()},e.prototype.sortNodes=function(){"name"==this.sortBy?this._sorted=this.nodes.sortedIterator():"value"==this.sortBy?this._sorted=b.di(this.nodes.iterator(),function(t,e){return en.B(J.f(t[1].total,e[1].total))}):this._sorted=this.nodes.iterator()},e.prototype.getNodeValue=function(t){var e=0,i=0;b.__(t.incomingDataItems.iterator(),function(t){var i=t.getWorkingValue("value");_.Et(i)&&(e+=i)}),b.__(t.outgoingDataItems.iterator(),function(t){var e=t.getWorkingValue("value");_.Et(e)&&(i+=e)}),t.total=e+i,t.totalIncoming=e,t.totalOutgoing=i},e.prototype.changeSorting=function(){this.sortNodes()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Flow diagram"))},e.prototype.createDataItem=function(){return new eh},Object.defineProperty(e.prototype,"nodePadding",{get:function(){return this.getPropertyValue("nodePadding")}
1,set:function(t){this.setPropertyValue("nodePadding",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortBy",{get:function(){return this.getPropertyValue("sortBy")},set:function(t){this.setPropertyValue("sortBy",t),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minNodeSize",{get:function(){return this.getPropertyValue("minNodeSize")},set:function(t){this.setPropertyValue("minNodeSize",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nodes",{get:function(){if(!this._nodes){var t=this.createNode();t.events.on("hit",function(t){t.target.handleHit(t)}),this._nodes=new w.Vt(t),this._disposers.push(new w.ey(this._nodes))}return this._nodes},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new er;return this._disposers.push(t),t},Object.defineProperty(e.prototype,"links",{get:function(){return this._links||(this._links=new h.TS(this.createLink()),this._disposers.push(new h.a(this._links))),this._links},enumerable:!0,configurable:!0}),e.prototype.createLink=function(){var t=new eo;return this._disposers.push(t),t},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];this.nodes.each(function(t,i){e.push(i)}),t.data=e,t.dataFields.name="name"}},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.nodes.clear()},e}(C);a.u.registeredClasses.FlowDiagram=eu;var ep=function(t){function e(){var e=t.call(this)||this;e.className="LabelBullet";var i=e.createChild(p.J);return i.shouldClone=!1,i.verticalCenter="middle",i.horizontalCenter="middle",i.truncate=!0,i.hideOversized=!1,i.maxWidth=500,i.maxHeight=500,i.stroke=(0,R.yW)(),i.strokeOpacity=0,i.fill=new f.T().getFor("text"),e.events.on("maxsizechanged",e.handleMaxSize,e,!1),e.label=i,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.handleMaxSize=function(){this.label.maxWidth=this.maxWidth,this.label.maxHeight=this.maxHeight},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label)},e}(S);a.u.registeredClasses.LabelBullet=ep;var ed=function(t){function e(){var e=t.call(this)||this;e.nextInCoord=0,e.nextOutCoord=0,e.className="SankeyNode",e.width=10,e.height=10;var i=e.createChild(ep);i.shouldClone=!1,i.locationX=1,i.locationY=.5,i.label.text="{name}",i.width=150,i.height=150,i.label.horizontalCenter="left",i.label.padding(0,5,0,5),e.nameLabel=i;var n=e.createChild(ep);n.shouldClone=!1,n.label.hideOversized=!1,n.locationX=.5,n.locationY=.5,n.width=150,n.height=150,n.label.horizontalCenter="middle",e.valueLabel=n;var r=e.hiddenState;return r.properties.fill=new f.T().getFor("disabledBackground"),r.properties.opacity=.5,r.properties.visible=!0,e.background.hiddenState.copyFrom(r),e}return(0,s.C6)(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this),this.nextInCoord=0,this.nextOutCoord=0;var i=this.chart;if(i){var n=i.orientation;this._incomingSorted&&b.__(this._incomingSorted,function(t){var r=t.link,s=t.getWorkingValue("value");if(_.Et(s)){r.parent=e.chart.linksContainer;var a=void 0,o=void 0,l=void 0;if("horizontal"==n?(a=e.pixelX+e.dx,o=e.nextInCoord+e.pixelY+e.dy,l=0):(o=e.pixelY+e.dy,a=e.nextInCoord+e.pixelX+e.dx,l=90),r.endX=a,r.endY=o,r.startAngle=l,r.endAngle=l,r.gradient.rotation=l,r.linkWidth=s*i.valueHeight,!t.fromNode){"horizontal"==n?(r.maxWidth=200,r.startX=e.pixelX+e.dx-r.maxWidth,r.startY=r.endY):(r.maxHeight=200,r.startX=r.endX,r.startY=e.pixelY+e.dy-r.maxHeight),D.kH(r.gradient),r.fill=t.toNode.color;var h=r.gradient.stops.getIndex(0);h&&("gradient"==r.colorMode&&(h.color=e.color),h.opacity=0,r.fill=r.gradient,r.stroke=r.gradient,r.gradient.validate())}e.nextInCoord+=r.linkWidth}}),this._outgoingSorted&&b.__(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var r=t.getWorkingValue("value");if(_.Et(r)){var s=void 0,a=void 0,o=void 0;if("horizontal"==n?(o=0,s=e.pixelX+e.pixelWidth+e.dx-1,a=e.nextOutCoord+e.pixelY+e.dy):(o=90,s=e.nextOutCoord+e.pixelX+e.dx,a=e.pixelY+e.pixelHeight+e.dy-1),i.startX=s,i.startY=a,i.startAngle=o,i.endAngle=o,i.gradient.rotation=o,i.linkWidth=r*e.chart.valueHeight,!t.toNode){"horizontal"==n?(i.maxWidth=200,i.endX=e.pixelX+i.maxWidth+e.dx,i.endY=i.startY):(i.maxHeight=200,i.endX=i.startX,i.endY=e.pixelY+i.maxHeight+e.dy),i.opacity=e.opacity;var l=i.gradient.stops.getIndex(1);l&&("gradient"==i.colorMode&&(l.color=e.color),l.opacity=0,i.fill=i.gradient,i.stroke=i.gradient,i.gradient.validate())}e.nextOutCoord+=i.linkWidth}})}this.positionBullet(this.nameLabel),this.positionBullet(this.valueLabel)},e.prototype.positionBullet=function(t){t&&(t.x=this.measuredWidth*t.locationX,t.y=this.measuredHeight*t.locationY)},Object.defineProperty(e.prototype,"level",{get:function(){return this.getPropertyValue("level")}
1,set:function(t){this.setPropertyValue("level",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.nameLabel.copyFrom(e.nameLabel),this.valueLabel.copyFrom(e.valueLabel)},e}(er);a.u.registeredClasses.SankeyNode=ed;var ec=i(3514),ef=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyLink",new f.T,e.tension=.8,e.controlPointDistance=.2,e.startAngle=0,e.endAngle=0,e.linkWidth=0,e.startX=0,e.endX=0,e.startY=0,e.endY=0,e.middleLine=e.createChild(ec.W),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.makeBackwards=function(){void 0!=this.states.getKey("backwards")&&this.setState("backwards")},e.prototype.validate=function(){var e,i,n,r;if(t.prototype.validate.call(this),!this.isTemplate){var a=this.startX,o=this.startY,l=this.endX,h=this.endY;if(this.states.getKey("backwards")&&this.setState("default"),this.dataItem){var u=this.dataItem.component;u&&("horizontal"==u.orientation?l<a&&(a=(e=(0,s.zs)([l,a],2))[0],l=e[1],o=(i=(0,s.zs)([h,o],2))[0],h=i[1],this.makeBackwards()):h<o&&(o=(n=(0,s.zs)([h,o],2))[0],h=n[1],a=(r=(0,s.zs)([l,a],2))[0],l=r[1],this.makeBackwards()))}_.Et(l)||(l=a),_.Et(h)||(h=o);var p=this.startAngle,d=this.endAngle,c=this.linkWidth,f="",g=a,m=o,v=l,b=h,x=a+c*F.F8(p),P=l+c*F.F8(d),C=o+c*F.gn(p),w=h+c*F.gn(d),O=a+c/2*F.F8(p),S=l+c/2*F.F8(d),T=o+c/2*F.gn(p),I=h+c/2*F.gn(d);this.zIndex=this.zIndex||this.dataItem.index;var k=this.tension+(1-this.tension)*F.F8(p),D=this.tension+(1-this.tension)*F.gn(p);if(this.middleLine.tensionX=k,this.middleLine.tensionY=D,_.Et(c)&&_.Et(a)&&_.Et(l)&&_.Et(o)&&_.Et(h)){F.LI(g,3)==F.LI(v,3)&&(v+=.01),F.LI(m,3)==F.LI(b,3)&&(b+=.01),F.LI(x,3)==F.LI(P,3)&&(P+=.01),F.LI(C,3)==F.LI(w,3)&&(w+=.01);var A=Math.min(x,P,g,v),V=Math.min(C,w,m,b),E=Math.max(x,P,g,v),M=Math.max(C,w,m,b);this._bbox={x:A,y:V,width:E-A,height:M-V};var L=this.controlPointDistance,j=g+(v-g)*L*F.gn(p),R=m+(b-m)*L*F.F8(p),B=v-(v-g)*L*F.gn(d),H=b-(b-m)*L*F.F8(d),W=O+(S-O)*L*F.gn(p),N=T+(I-T)*L*F.F8(p),Y=S-(S-O)*L*F.gn(d),X=I-(I-T)*L*F.F8(d),z=F._H({x:j,y:R},{x:B,y:H}),K=(c/F.gn(z)-c)/F.Ml(z)*F.gn(p),U=(c/F.F8(z)-c)*F.Ml(z)*F.F8(p),G=-K/2+x+(P-x)*L*F.gn(p),q=-U/2+C+(w-C)*L*F.F8(p),Z=-K/2+P-(P-x)*L*F.gn(d),J=-U/2+w-(w-C)*L*F.F8(d);this.middleLine.segments=[[{x:O,y:T},{x:W,y:N},{x:Y,y:X},{x:S,y:I}]],j+=K/2,R+=U/2,B+=K/2,H+=U/2,f+=y.tw({x:g,y:m}),f+=new tI.hG(k,D).smooth([{x:g,y:m},{x:j,y:R},{x:B,y:H},{x:v,y:b}]),f+=y.a5({x:P,y:w}),f+=new tI.hG(k,D).smooth([{x:P,y:w},{x:Z,y:J},{x:G,y:q},{x:x,y:C}]),f+=y.OE()}this.link.path=f,this.maskBullets&&(this.bulletsMask.path=f,this.bulletsContainer.mask=this.bulletsMask),this.positionBullets()}},Object.defineProperty(e.prototype,"startX",{get:function(){return this.getPropertyValue("startX")},set:function(t){this.setPropertyValue("startX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endX",{get:function(){return this.getPropertyValue("endX")},set:function(t){this.setPropertyValue("endX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startY",{get:function(){return this.getPropertyValue("startY")},set:function(t){this.setPropertyValue("startY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endY",{get:function(){return this.getPropertyValue("endY")},set:function(t){this.setPropertyValue("endY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkWidth",{get:function(){return this.getPropertyValue("linkWidth")},set:function(t){this.setPropertyValue("linkWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t,!0)},enumerable:!0,configurable:!0}),e}(eo);a.u.registeredClasses.SankeyLink=ef;var eg=i(49023),ey=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyDiagramDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(eh),em=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyDiagram",e.orientation="horizontal",e.nodeAlign="middle",e.nodesContainer.width=(0,g.KN)(100),e.nodesContainer.height=(0,g.KN)(100),e.linksContainer.width=(0,g.KN)(100),e.linksContainer.height=(0,g.KN)(100),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validateData=function(){var e=this;this._valueHeight=void 0,t.prototype.validateData.call(this),this._levelCount=0,this.nodes.each(function(t,e){e.level=void 0}),this.nodes.each(function(t,i){i.level=e.getNodeLevel(i,0),e._levelCount=F.T9(e._levelCount,i.level)})},e.prototype.getNodeLevel=function(t,e){var i=this,n=[e];return b.__(t.incomingDataItems.iterator(),function(t){t.fromNode&&(_.Et(t.fromNode.level)?n.push(t.fromNode.level+1):(i._counter=0,i.checkLoop(t.fromNode),i._counter<i.dataItems.length&&n.push(i.getNodeLevel(t.fromNode,e+1))))}),Math.max.apply(Math,(0,s.gz)(n))},e.prototype.checkLoop=function(t){var e=this;this._counter++,this._counter>this.dataItems.length||b.__(t.incomingDataItems.iterator(),function(t){e.checkLoop(t.fromNode)})},e.prototype.calculateValueHeight=function(){var t,e,i,n=this;this._levelSum={},this._levelNodesCount={},this.maxSum=0;var r=this.dataItem.values.value.sum;b.__(this._sorted,function(t){var e=t[1];n.getNodeValue(e)}),this.nodes.each(function(t,e){var i=e.level,s=Math.max(e.totalIncoming,e.totalOutgoing);s/r<n.minNodeSize&&(s=r*n.minNodeSize),_.Et(n._levelSum[i])?n._levelSum[i]+=s:n._levelSum[i]=s,_.Et(n._levelNodesCount[i])?n._levelNodesCount[i]++:n._levelNodesCount[i]=1}),t="horizontal"==this.orientation?this.chartContainer.maxHeight-1:this.chartContainer.maxWidth-1,H.__(this._levelSum,function(r,s){var a=(t-(n._levelNodesCount[r]-1)*n.nodePadding)/s;a==1/0&&(a=0),(i>a||!_.Et(i))&&(i=a,n.maxSum=s,e=_.Ro(r))}),this._maxSumLevel=e;var s=(t-(this._levelNodesCount[this._maxSumLevel]-1)*this.nodePadding)/this.maxSum;if(s==1/0&&(s=0),_.Et(this.valueHeight)){var a=void 0;try{a=this._heightAnimation.animationOptions[0].to}catch(t){}if(a!=s){var o=this.interpolationDuration;try{o=this.nodes.template.states.getKey("active").transitionDuration}catch(t){}this._heightAnimation=new eg.X5(this,{property:"valueHeight",from:this.valueHeight,to:s},o,this.interpolationEasing).start(),this._disposers.push(this._heightAnimation)}}else this.valueHeight=s},e.prototype.validate=function(){var e,i=this;t.prototype.validate.call(this),this.calculateValueHeight();var n=this.nodesContainer,r={},s=this._levelNodesCount[this._maxSumLevel],a=this.dataItem.values.value.sum;e="horizontal"==this.orientation?this.chartContainer.maxHeight-1:this.chartContainer.maxWidth-1,b.__(this._sorted,function(t){var o,l,h,u=t[1],p=u.level,d=0,c=i._levelNodesCount[p];switch(i.nodeAlign){case"bottom":d=(i.maxSum-i._levelSum[p])*i.valueHeight-(c-s)*i.nodePadding;break;case"middle":d=(i.maxSum-i._levelSum[p])*i.valueHeight/2-(c-s)*i.nodePadding/2}if(0==i.maxSum)switch(i.nodeAlign){case"bottom":d=e-c*(i.minNodeSize*e+i.nodePadding);break;case"middle":d=e/2-c/2*(i.minNodeSize*e+i.nodePadding)}u.parent=n;var f=Math.max(u.totalIncoming,u.totalOutgoing);if(f/a<i.minNodeSize&&(f=a*i.minNodeSize),"horizontal"==i.orientation){l=(o=(i.innerWidth-u.pixelWidth)/i._levelCount)*u.level,h=r[p]||d;var g=f*i.valueHeight;0==a&&0==g&&(g=i.minNodeSize*e),u.height=g,u.minX=l,u.maxX=l,r[p]=h+g+i.nodePadding}else{o=(i.innerHeight-u.pixelHeight)/i._levelCount,l=r[p]||d,h=o*u.level;var y=f*i.valueHeight;0==a&&0==y&&(y=i.minNodeSize*e),u.width=y,u.minY=h,u.maxY=h,r[p]=l+y+i.nodePadding}u.x=l,u.y=h})},e.prototype.showReal=function(e){var i=this;if(!this.preventShow){if(this.interpolationDuration>0){var n=this.nodesContainer,r=0;b.__(this.links.iterator(),function(t){t.hide(0)}),b.__(this._sorted,function(t){var e,s=t[1];"horizontal"==i.orientation?(s.dx=-(n.pixelWidth-s.pixelWidth)/Math.max(i._levelCount,1),e="dx"):(s.dy=-(n.pixelHeight-s.pixelHeight)/Math.max(i._levelCount,1),e="dy");var a=0,o=i.interpolationDuration;i.sequencedInterpolation&&(a=i.sequencedInterpolationDelay*r+o*r/b.Bw(i.nodes.iterator())),s.opacity=0,s.invalidateLinks(),s.animate([{property:"opacity",from:0,to:1},{property:e,to:0}],i.interpolationDuration,i.interpolationEasing).delay(a),b.__(s.outgoingDataItems.iterator(),function(t){var e=t.link.show(i.interpolationDuration);e&&!e.isFinished()&&e.delay(a)}),b.__(s.incomingDataItems.iterator(),function(t){if(!t.fromNode){var e=t.link.show(i.interpolationDuration);e&&!e.isFinished()&&e.delay(a)}}),r++})}return t.prototype.showReal.call(this)}},e.prototype.changeSorting=function(){var t=this;this.sortNodes();var e={};b.__(this._sorted,function(i){var n,r,s=i[1],a=s.level,o=(t.maxSum-t._levelSum[a])*t.valueHeight/2;"horizontal"==t.orientation?(n="y",r=s.pixelHeight):(n="x",r=s.pixelWidth),s.animate({property:n,to:e[a]||o},t.interpolationDuration,t.interpolationEasing),e[a]=(e[a]||o)+r+t.nodePadding,s.invalidateLinks()})},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Sankey diagram"))},e.prototype.createDataItem=function(){return new ey},Object.defineProperty(e.prototype,"nodeAlign",{get:function(){return this.getPropertyValue("nodeAlign")},set:function(t){this.setPropertyValue("nodeAlign",t),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.nodes.template.nameLabel;"vertical"==t?(this.nodes.template.width=void 0,e.label.horizontalCenter="middle",e.locationX=.5):(this.nodes.template.height=void 0,e.label.horizontalCenter="left",e.locationX=1)},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new ed;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new ef;return this._disposers.push(t),t},Object.defineProperty(e.prototype,"valueHeight",{get:function(){return this._valueHeight},set:function(t){t!=this._valueHeight&&(this._valueHeight=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this._sorted=this.nodes.iterator()},e}(eu);a.u.registeredClasses.SankeyDiagram=em;var ev=function(t){function e(){var e=t.call(this)||this;e.className="ChordNode";var i=e.createChild(tW);i.location=.5,i.radius=5,i.text="{name}",i.zIndex=1,i.shouldClone=!1,e.label=i,e.layout="none",e.events.on("positionchanged",e.updateRotation,e,!1),e.isMeasured=!1,e.slice=e.createChild(t0.J),e.slice.isMeasured=!1;var n=e.hiddenState;
1return n.properties.fill=new f.T().getFor("disabledBackground"),n.properties.opacity=.5,n.properties.visible=!0,e.setStateOnChildren=!1,e.slice.hiddenState.properties.visible=!0,e.adapter.add("tooltipX",function(t,e){return e.slice.ix*(e.slice.radius-(e.slice.radius-e.slice.pixelInnerRadius)/2)}),e.adapter.add("tooltipY",function(t,e){return e.slice.iy*(e.slice.radius-(e.slice.radius-e.slice.pixelInnerRadius)/2)}),e}return(0,s.C6)(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this);var i=this.label,n=this.slice,r=this.chart;if(r&&n){var s=this.total,a=n.arc,o=n.startAngle;this.children.each(function(t){if(t instanceof S){var e=t.locationX;_.Et(e)||(e=.5);var i=t.locationY;_.Et(i)||(i=1);var r=o+a*e,s=i*n.radius;t.x=s*F.gn(r),t.y=s*F.F8(r)}});var l=o+a*i.location,h=o+(1-s/this.adjustedTotal)*a*.5;_.yr(h)&&(h=o),i.fixPosition(l,n.radius),this.nextAngle=h,this._outgoingSorted&&b.__(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var s=t.getWorkingValue("value");if(_.Et(s)){if(r.nonRibbon){var l=i.percentWidth;_.Et(l)||(l=5),i.startAngle=o+a/2-a/2*(l/=100),i.arc=a*l}else i.arc=s*r.valueAngle,i.startAngle=e.nextAngle,e.nextAngle+=i.arc;t.toNode||(i.endAngle=i.startAngle),i.radius=n.pixelInnerRadius}}),this._incomingSorted&&b.__(this._incomingSorted,function(t){var i=t.link;if(i.radius=n.pixelInnerRadius,r.nonRibbon){var s=i.percentWidth;_.Et(s)||(s=5),i.endAngle=o+a/2-a/2*(s/=100),i.arc=a*s}else{i.endAngle=e.nextAngle;var l=t.getWorkingValue("value");_.Et(l)&&(i.arc=l*r.valueAngle,e.nextAngle+=i.arc)}t.fromNode||(i.startAngle=i.endAngle)})}},e.prototype.updateRotation=function(){var t=this.slice,e=this.trueStartAngle+t.arc/2,i=t.radius,n=i*F.gn(e),r=i*F.F8(e),s=F._H({x:n+this.pixelX,y:r+this.pixelY});t.startAngle=this.trueStartAngle+(s-e),this.dx=-this.pixelX,this.dy=-this.pixelY},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),this.slice.copyFrom(e.slice)},e}(er);a.u.registeredClasses.ChordNode=ev;var eb=function(t){function e(){var e=t.call(this)||this;return e.className="QuadraticCurve",e.element=e.paper.add("path"),e.pixelPerfect=!1,e.fill=(0,R.yW)(),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.draw=function(){if(_.Et(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},n=y.tw(t)+y.Df(e,i);this.path=n}},Object.defineProperty(e.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(t){this.setPropertyValue("cpx",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(t){this.setPropertyValue("cpy",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},n={x:this.x2,y:this.y2},r=F.DW(e,n,i,t),s=F.DW(e,n,i,t+.001);return{x:r.x,y:r.y,angle:F._H(r,s)}},e}(tA.N),e_=function(t){function e(){var e=t.call(this)||this;return e.className="ChordLink",e.middleLine=e.createChild(eb),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validate=function(){if(t.prototype.validate.call(this),!this.isTemplate){var e=this.startAngle,i=this.endAngle,n=this.arc,r=this.radius,s=this.dataItem.fromNode,a=this.dataItem.toNode,o=0,l=0;s&&(o=s.pixelX+s.dx,l=s.pixelY+s.dy);var h=0,u=0;if(a&&(h=a.pixelX+a.dx,u=a.pixelY+a.dy),r>0){var p=r*F.gn(e)+o,d=r*F.F8(e)+l,c=r*F.gn(i)+h,f=r*F.F8(i)+u,g={x:0,y:0},m=y.tw({x:p,y:d});m+=y.Kf(e,n,r),m+=y.Df({x:c,y:f},g),m+=y.Kf(i,n,r),m+=y.Df({x:p,y:d},g),n>0?this.link.path=m:this.link.path="",this.maskBullets&&(this.bulletsMask.path=m,this.bulletsContainer.mask=this.bulletsMask);var v=e+n/2,b=i+n/2,_=this.middleLine;_.x1=r*F.gn(v)+o,_.y1=r*F.F8(v)+l,_.x2=r*F.gn(b)+h,_.y2=r*F.F8(b)+u,_.cpx=0,_.cpy=0,_.stroke=this.fill,this.positionBullets()}}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),e}(eo);a.u.registeredClasses.ChordLink=e_;var ex=function(t){function e(){var e=t.call(this)||this;return e.className="ChordDiagramDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(eh),eP=function(t){function e(){var e=t.call(this)||this;e.valueAngle=0,e.className="ChordDiagram",e.startAngle=-90,e.endAngle=270,e.radius=(0,g.KN)(80),e.
1innerRadius=-15,e.nodePadding=5;var i=e.chartContainer.createChild(u.m);return i.align="center",i.valign="middle",i.shouldClone=!1,i.layout="absolute",e.chordContainer=i,e.nodesContainer.parent=i,e.linksContainer.parent=i,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validate=function(){var e=this,i=this.chartContainer,n=this.endAngle,r=this.startAngle+this.nodePadding/2,s=F.RX(this.startAngle,this.endAngle,1);s=F.Tm([s,{x:0,y:0,width:0,height:0}]);var a=Math.min(i.innerWidth/s.width,i.innerHeight/s.height);_.Et(a)||(a=0);var o=D.LG(this.radius,a),l=D.LG(this.innerRadius,o,!0),h=this.dataItem.values.value.sum,u=0,p=0;b.__(this._sorted,function(t){var i=t[1];e.getNodeValue(i),u++;var n=i.total;i.total/h<e.minNodeSize&&(n=h*e.minNodeSize),p+=n}),this.valueAngle=(n-this.startAngle-this.nodePadding*u)/p,b.__(this._sorted,function(t){var i,s=t[1],a=s.slice;a.radius=o,a.innerRadius=l;var p=s.total;s.total/h<e.minNodeSize&&(p=h*e.minNodeSize),s.adjustedTotal=p,a.arc=i=e.nonRibbon?(n-e.startAngle)/u-e.nodePadding:e.valueAngle*p,a.startAngle=r,s.trueStartAngle=r,s.parent=e.nodesContainer,s.validate(),r+=i+e.nodePadding}),this.chordContainer.definedBBox={x:o*s.x,y:o*s.y,width:o*s.width,height:o*s.height},this.chordContainer.invalidateLayout(),t.prototype.validate.call(this)},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Chord diagram"))},e.prototype.createDataItem=function(){return new ex},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonRibbon",{get:function(){return this.getPropertyValue("nonRibbon")},set:function(t){this.setPropertyValue("nonRibbon",t,!0),this.links.template.middleLine.strokeOpacity=1,this.links.template.link.fillOpacity=0},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new ev;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new e_;return this._disposers.push(t),t},e}(eu);a.u.registeredClasses.ChordDiagram=eP;var eC=function(t){function e(){var e=t.call(this)||this;return e.className="Column",e.width=(0,g.KN)(80),e.height=(0,g.KN)(80),e.events.disableType("transformed"),e.applyOnClones=!0,e.strokeOpacity=1,e.layout="none",e.createAssets(),e.events.on("childadded",e.handleKidAdded,e,!1),e}return(0,s.C6)(e,t),e.prototype.handleKidAdded=function(){"none"==this.layout&&(this.layout="absolute")},e.prototype.createAssets=function(){this.column=this.createChild(T.T),this.column.shouldClone=!1,this.column.isMeasured=!1,this.column.cornerRadius(0,0,0,0),this._disposers.push(this.column)},e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.column;e&&(e.width=F.jk(this.pixelWidth,this.maxWidth),e.height=F.jk(this.pixelHeight,this.maxHeight),e.invali
1d&&e.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column&&this.column.copyFrom(e.column)},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.column?{x:0,y:0,width:this.column.measuredWidth,height:this.column.measuredHeight}:{x:0,y:0,width:F.jk(this.pixelWidth,this.maxWidth),height:F.jk(this.pixelHeight,this.maxHeight)}},enumerable:!0,configurable:!0}),e}(u.m);a.u.registeredClasses.Column=eC;var ew=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.locations.dateX=.5,e.locations.dateY=.5,e.locations.categoryX=.5,e.locations.categoryY=.5,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"column",{get:function(){return this._column},set:function(t){this.setColumn(t)},enumerable:!0,configurable:!0}),e.prototype.setColumn=function(t){var e=this;if(this._column&&t!=this._column&&W.TF(this.sprites,this._column),this._column=t,t){var i=t.dataItem;i&&i!=this&&(i.column=void 0),this.addSprite(t),this._disposers.push(new l.W_(function(){e.component&&e.component.columns.removeValue(t)}))}},Object.defineProperty(e.prototype,"width",{get:function(){var t=this.properties.width;return this._adapterO&&(t=this._adapterO.apply("width",t)),t},set:function(t){this.properties.width!=t&&(this.properties.width=t,this.component&&this.component.validateDataElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){var t=this.properties.height;return this._adapterO&&(t=this._adapterO.apply("height",t)),t},set:function(t){this.properties.height!=t&&(this.properties.height=t,this.component&&this.component.validateDataElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rangesColumns",{get:function(){return this._rangesColumns||(this._rangesColumns=new w.bT),this._rangesColumns},enumerable:!0,configurable:!0}),e}(tx),eO=function(t){function e(){var e=t.call(this)||this;e._startLocation=0,e._endLocation=1,e.className="ColumnSeries",e.width=(0,g.KN)(100),e.height=(0,g.KN)(100),e.strokeOpacity=0,e.fillOpacity=1,e.clustered=!0;var i=e.mainContainer.createChild(u.m);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e._columnsContainer=i,e.columns.template.pixelPerfect=!1,e.tooltipColorSource=e.columns.template,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Column Series"))},e.prototype.createDataItem=function(){return new ew},e.prototype.validate=function(){var i=this;if(this.group.node.removeAttribute("fill"),this.chart&&this.xAxis&&this.yAxis){var n,r=this.chart.series,s=0,a=0,o=[];b.__(r.iterator(),function(t){if(t instanceof e&&i.baseAxis==t.baseAxis){var n;n=i.baseAxis==i.xAxis?i.chart.yAxes.indexOf(t.yAxis):i.chart.xAxes.indexOf(t.xAxis),o.push({series:t,axis:n})}}),o.sort(function(t,e){return t.axis-e.axis}),W.__(o,function(t){var r=t.series;r instanceof e&&((!r.stacked&&r.clustered||n!=t.axis&&r.clustered)&&s++,r==i&&(a=s-1)),n=t.axis}),this.clustered||(a=0,s=1);var l=this.baseAxis.renderer,h=l.cellStartLocation,u=l.cellEndLocation;this._startLocation=h+a/s*(u-h),this._endLocation=h+(a+1)/s*(u-h);var p=this.xAxis,d=this.yAxis;p instanceof t_&&d instanceof td&&p.sortBySeries==this&&this.sortCategoryAxis(p,"valueY"),d instanceof t_&&p instanceof td&&d.sortBySeries==this&&this.sortCategoryAxis(d,"valueX")}t.prototype.validate.call(this);for(var c=0;c<this.startIndex;c++){var f=this.dataItems.getIndex(c);this.disableUnusedColumns(f)}for(var c=this.dataItems.length-1;c>this.endIndex;c--){var f=this.dataItems.getIndex(c);this.disableUnusedColumns(f)}this._propertiesChanged=!1},e.prototype.sortCategoryAxis=function(t,e){var i=this;this.dataItems.values.sort(function(t,i){return i.values[e].workingValue-t.values[e].workingValue});var n=0;this.dataItems.each(function(t){t._index=n,n++}),t.dataItems.each(function(t){var e=t.component,n=e.categoryToPosition(t.category)-t.deltaPosition,r=e.getSeriesDataItemByCategory(t.category,i);if(r){var s=i.dataItems.indexOf(r);t._index=s;var a=F.LI((s+.5)/i.dataItems.length-n,3);t.deltaAnimation&&!t.deltaAnimation.isDisposed()&&t.deltaAnimation.animationOptions[0].to==a||a!=F.LI(t.deltaPosition,3)&&(t.deltaAnimation&&t.deltaAnimation.stop(),t.deltaAnimation=t.animate({property:"deltaPosition",from:-a,to:0},e.interpolationDuration,e.interpolationEasing),i._disposers.push(t.deltaAnimation))}}),t.dataItems.values.sort(function(t,e){return t.index-e.index})},e.prototype.validateDataElement=function(e){this.chart&&this.xAxis&&this.yAxis&&(this.validateDataElementReal(e),t.prototype.validateDataElement.call(this,e))},e.prototype.getStartLocation=function(t){var e=this._startLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xOpenField]-.5:e+=t.locations[this.yOpenField]-.5,e},e.prototype.getEndLocation=function(t){var e=this._endLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xField]-.5:e+=t.locations[this.yField]-.5,e},e.prototype.validateDataElementReal=function(t){var e,i,n,r,s,a=this,o=this.getStartLocation(t),l=this.getEndLocation(t),h=this.xField,u=this.xOpenField,p=this.yField,d=this.yOpenField,f=this.columns.template,y=f.percentWidth,m=f.percentHeight,v=f.pixelWidth,x=f.pixelHeight,P=f.maxWidth,C=f.maxHeight,w=f.pixelPaddingLeft,O=f.pixelPaddingRight,S=f.pixelPaddingTop,T=f.pixelPaddingBottom,I=!1,k=t.width;_.a4(k)&&(_.Et(k)&&(v=k),k instanceof g.QE&&(y=100*k.value));var D=t.height;if(_.a4(D)&&(_.Et(D)&&(x=D),D instanceof g.QE&&(m=100*D.value)),this.xAxis instanceof t_&&this.yAxis instanceof t_){if(!t.hasValue(this._xValueFields)||!t.hasValue(this._yValueFields))return;if(o=0,l=1,!_.yr(y)){var A=F.LI((l-o)*(1-y/100)/2,5);o+=A,l-=A}if(e=this.xAxis.getX(t,u,o),i=this.xAxis.getX(t,h,l),_.yr(y)){var A=(i-e-v)/2;e+=A,i-=A}if(!_.yr(P)&&P<Math.abs(i-e)){var A=(i-e-P)/2;e+=A,i-=A}if(o=0,l=1,!_.yr(m)){var A=F.LI((1-m/100)/2,5);o+=A,l-=A}if(n=this.yAxis.getY(t,d,o),r=this.yAxis.getY(t,p,l),_.yr(m)){var A=(r-n-x)/2;r+=A,n-=A}if(!_.yr(C)&&C<Math.abs(r-n)){var A=(r-n-C)/2;r+=A,n-=A}i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),n=this.fixVerticalCoordinate(n),r=this.fixVerticalCoordinate(r)}else if(this.baseAxis==this.xAxis){if(!t.hasValue(this._yValueFields))return;if(!_.yr(y)){var A=F.LI((l-o)*(1-y/100)/2,5);o+=A,l-=A}if(e=this.xAxis.getX(t,u,o),i=this.xAxis.getX(t,h,l),_.yr(y)){var A=(i-e-v)/2;e+=A,i-=A}if(!_.yr(P)&&P<Math.abs(i-e)){var A=(i-e-P)/2;e+=A,i-=A}var V=t.locations[d],E=t.locations[p];this.yAxis instanceof td&&this.dataFields[this.yField]!=this.dataFields[this.yOpenField]&&(V=0,E=0),r=this.yAxis.getY(t,d,V),n=this.yAxis.getY(t,p,E);var M=Math.ceil(this.yAxis.axisLength);(n<0&&r<0||n>M&&r>M)&&(I=!0),n=this.fixVerticalCoordinate(n),r=this.fixVerticalCoordinate(r),Math.abs(i-e)-w-O==0&&(I=!0)}else{if(!t.hasValue(this._xValueFields))return;if(!_.yr(m)){var A=F.LI((l-o)*(1-m/100)/2,5);o+=A,l-=A}if(n=this.yAxis.getY(t,d,o),r=this.yAxis.getY(t,p,l),_.yr(m)){var A=(r-n-x)/2;r-=A,n+=A}if(!_.yr(C)&&C<Math.abs(r-n)){var A=(r-n-C)/2;r-=A,n+=A}var L=t.locations[h],j=t.locations[u];this.xAxis instanceof td&&this.dataFields[this.xField]!=this.dataFields[this.xOpenField]&&(L=0,j=0),i=this.xAxis.getX(t,h,L),e=this.xAxis.getX(t,u,j);var M=Math.ceil(this.xAxis.axisLength);(i<0&&e<0||i>M&&e>M)&&(I=!0),i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),Math.abs(n-r)-S-T==0&&(I=!0)}var R=Math.abs(i-e),B=Math.abs(r-n),N=Math.min(e,i),Y=Math.min(n,r);I?this.disableUnusedColumns(t):(t.column?(s=t.column,this._propertiesChanged&&(H.Lb(this,s,c.mM),H.Lb(this.columns.template,s,c.mM),W.__(c.mM,function(t){s[t]=s[t]}))):(s=this.columns.create(),H.Lb(this,s,c.mM),H.Lb(this.columns.template,s,c.mM),t.addSprite(s),t.column=s,s.paper=this.paper,this.itemsFocusable()?(_.a4(this.role)||(this.role="menu"),_.a4(s.role)||(s.role="menuitem"),s.focusable=!0):(_.a4(this.role)||(this.role="list"),_.a4(s.role)||(s.role="listitem"),s.focusable=!1),s.focusable&&(s.events.on("focus",function(e){s.readerTitle=a.populateString(a.itemReaderText,t)},void 0,!1),s.events.on("blur",function(t){s.readerTitle=""},void 0,!1)),s.hoverable&&(s.events.on("over",function(e){s.readerTitle=a.populateString(a.itemReaderText,t)},void 0,!1),s.events.on("out",function(t){s.readerTitle=""},void 0,!1)),s.parent=this.columnsContainer,s.virtualParent=this),s.width=R,s.height=B,s.x=N,s.y=Y,s.realX=e,s.realY=n,s.realWidth=i-e,s.realHeight=r-n,this.setColumnStates(s),s.invalid&&s.validate(),s.__disabled=!1,b.__(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i||(i=a.columns.create(),H.Lb(e.contents,i,c.mM),t.addSprite(i),t.rangesColumns.setKey(e.uid,i),i.paper=a.paper),i.parent=e.contents,i.width=R,i.height=B,i.x=N,i.y=Y,a.setColumnStates(i),i.invalid&&i.validate(),i.__disabled=!1})),t.itemWidth=R,t.itemHeight=B},e.prototype.disableUnusedColumns=function(t){t&&(t.column&&(t.column.width=0,t.column.height=0,t.column.__disabled=!0),b.__(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)}))},e.prototype.setColumnStates=function(t){if(this._dropFromOpenState||this._dropFromPreviousState||this._riseFromOpenState||this._riseFromPreviousState){var e=t.dataItem;if(this.xAxis instanceof td||this.yAxis instanceof td){var i,n=void 0,r=void 0;this.baseAxis==this.yAxis?(this.xOpenField&&this.xField&&this.xAxis instanceof td&&(i=e.getValue(this.xOpenField),n=e.getValue(this.xField)),r=e.getValue(this.xAxis.axisFieldName+"X","previousChange")):(this.yOpenField&&this.yField&&this.yAxis instanceof td&&(i=e.getValue(this.yOpenField),n=e.getValue(this.yField)),r=e.getValue(this.yAxis.axisFieldName+"Y","previousChange")),n<i?(e.droppedFromOpen=!0,t.defaultState.copyFrom(this._dropFromOpenState),t.setState(this._dropFromOpenState,0)):(e.droppedFromOpen=!1,t.defaultState.copyFrom(this._riseFromOpenState),t.setState(this._riseFromOpenState,0)),r<0?(e.droppedFromPrevious=!0,t.defaultState.copyFrom(this._dropFromPreviousState),t.setState(this._dropFromPreviousState,0)):(e.droppedFromPrevious=!1,t.defaultState.copyFrom(this._riseFromPreviousState),t.setState(this._riseFromPreviousState,0))}}},Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns||(this._columns=new h.TS(this.createColumnTemplate()),this._disposers.push(new h.a(this._columns)),this._disposers.push(this._columns.template)),this._columns},enumerable:!0,configurable:!0}),e.prototype.createColumnTemplate=function(){return new eC},Object.defineProperty(e.prototype,"clustered",{get:function(){return this.getPropertyValue("clustered")},set:function(t){this.setPropertyValue("clustered",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromOpenState",{get:function(){return this._dropFromOpenState||(this._dropFromOpenState=this.states.create("dropFromOpenState")),this._dropFromOpenState},set:function(t){this._dropFromOpenState=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromPreviousState",{get:function(){return this._dropFromPreviousState||(this._dropFromPreviousState=this.states.create("dropFromPreviousState")),this._dropFromPreviousState},set:function(t){this._dropFromPreviousState=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromOpenState",{get:function(){return this._riseFromOpenState||(this._riseFromOpenState=this.states.create("riseFromOpenState")),this._riseFromOpenState},set:function(t){this._riseFromOpenState=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromPreviousState",{get:function(){return this._riseFromPreviousState||(this._riseFromPreviousState=this.states.create("riseFromPreviousState")),this._riseFromPreviousState},set:function(t){this._riseFromPreviousState=t},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(e,i){var n=this;if(t.prototype.updateLegendValue.call(this,e,i),this.legendDataItem){var r,s,a=this.legendDataItem.marker;e&&(r=e.droppedFromOpen?this._dropFromOpenState:this._riseFromOpenState,s=e.droppedFromPrevious?this._dropFromPreviousState:this._riseFromPreviousState),b.__(
1a.children.iterator(),function(t){e?(t.setState(s),t.setState(r)):(t.setState(n._riseFromPreviousState),t.setState(n._riseFromOpenState))})}},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var n=t.createChild(T.T);n.shouldClone=!1,H.Lb(this,n,c.mM),n.copyFrom(this.columns.template),n.padding(0,0,0,0),n.width=e,n.height=i;var r=t.dataItem;r.color=this.fill,r.colorOrig=this.fill},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.columns.template.copyFrom(e.columns.template)},e.prototype.getBulletLocationX=function(e,i){if(this.baseAxis!=this.xAxis)return t.prototype.getBulletLocationX.call(this,e,i);var n=e.locationX;_.Et(n)||(n=.5);var r=this.getEndLocation(e.dataItem);return r-(r-this.getStartLocation(e.dataItem))*n},e.prototype.getBulletLocationY=function(e,i){if(this.baseAxis!=this.yAxis)return t.prototype.getBulletLocationY.call(this,e,i);var n=e.locationY;_.Et(n)||(n=.5);var r=this.getEndLocation(e.dataItem);return r-(r-this.getStartLocation(e.dataItem))*n},e.prototype.getAdjustedXLocation=function(t,e,i){return _.Et(i)||(i=t?t.locations[e]:.5),this._endLocation-(this._endLocation-this._startLocation)*(1-i)},e.prototype.getAdjustedYLocation=function(t,e,i){return _.Et(i)||(i=t?t.locations[e]:.5),this._endLocation-(this._endLocation-this._startLocation)*i},e.prototype.fixVerticalCoordinate=function(t){var e=this.columns.template.pixelPaddingBottom,i=this.columns.template.pixelPaddingTop,n=this.yAxis.axisLength+e;return F.s_(t,-i,n)},e.prototype.fixHorizontalCoordinate=function(t){var e=this.columns.template.pixelPaddingLeft,i=this.columns.template.pixelPaddingRight,n=this.xAxis.axisLength+i;return F.s_(t,-e,n)},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.columns.clear()},e}(tP);a.u.registeredClasses.ColumnSeries=eO,a.u.registeredClasses.ColumnSeriesDataItem=ew;var eS=function(t){function e(){var e=t.call(this)||this;return e.className="TreeMapSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"parentName",{get:function(){var t=this.treeMapDataItem;if(t&&t.parent)return t.parent.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.treeMapDataItem;if(t)return t.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"treeMapDataItem",{get:function(){return this._dataContext},enumerable:!0,configurable:!0}),e.prototype.hide=function(e,i,n,r){var s=this.treeMapDataItem;return s&&s.hide(e),t.prototype.hide.call(this,e,i,n,r)},e.prototype.show=function(e,i,n){var r=this.treeMapDataItem;return r&&r.show(e,i,n),t.prototype.show.call(this,e,i,n)},e}(ew),eT=function(t){function e(){var e=t.call(this)||this;return e.className="TreeMapSeries",e.applyTheme(),e.fillOpacity=1,e.strokeOpacity=1,e.minBulletDistance=0,e.columns.template.tooltipText="{parentName} {name}: {value}",e.columns.template.configField="config",e.stroke=new f.T().getFor("background"),e.dataFields.openValueX="x0",e.dataFields.valueX="x1",e.dataFields.openValueY="y0",e.dataFields.valueY="y1",e.sequencedInterpolation=!1,e.showOnInit=!1,e.columns.template.pixelPerfect=!1,e}return(0,s.C6)(e,t),e.prototype.processDataItem=function(e,i){i.seriesDataItem=e,t.prototype.processDataItem.call(this,e,i)},e.prototype.createDataItem=function(){return new eS},e.prototype.show=function(e){if(!this.preventShow){var i=this.defaultState.transitionDuration;return _.Et(e)&&(i=e),this.dataItems.each(function(t){t.show(e)}),t.prototype.showReal.call(this,i)}},e.prototype.hide=function(e){var i=this.defaultState.transitionDuration;_.Et(e)&&(i=e);var n=t.prototype.hideReal.call(this,i);return this.dataItems.each(function(t){t.hide(e)}),n},e.prototype.processValues=function(){},e.prototype.getStartLocation=function(t){return 0},e.prototype.getEndLocation=function(t){return 1},e.prototype.dataChangeUpdate=function(){},e.prototype.processConfig=function(e){!e||_.a4(e.dataFields)&&_.Gv(e.dataFields)||(e.dataFields={}),t.prototype.processConfig.call(this,e)},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var n=t.createChild(T.T);n.shouldClone=!1,H.Lb(this,n,c.mM),n.padding(0,0,0,0),n.width=e,n.height=i;var r=t.dataItem;r.color=n.fill,r.colorOrig=n.fill},e.prototype.disableUnusedColumns=function(e){t.prototype.disableUnusedColumns.call(this,e),e.column&&(e.column.__disabled=!1)},e}(eO);a.u.registeredClasses.TreeMapSeries=eT,a.u.registeredClasses.TreeMapSeriesDataItem=eS;var eI=function(t){function e(){var e=t.call(this)||this;return e.rows=[],e.className="TreeMapDataItem",e.values.value={workingValue:0},e.values.x0={},e.values.y0={},e.values.x1={},e.values.y1={},e.hasChildren.children=!0,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,t.label&&(t.label.dataItem=this),t.valueLabel&&(t.valueLabel.dataItem=this)},enumerable:!0,configurable:!0}),e.prototype.getDuration=function(){return 0},Object.defineProperty(e.prototype,"value",{get:function(){var t=0;return this.children&&0!=this.children.length?b.__(this.children.iterator(),function(e){var i=e.value;_.Et(i)&&(t+=i)}):t=this.values.value.workingValue,t},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"percent",{get:function(){return this.parent?this.value/this.parent.value*100:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x0",{get:function(){return this.values.x0.value},set:function(t){this.setValue("x0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x1",{get:function(){return this.values.x1.value},set:function(t){this.setValue("x1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y0",{get:function(){return this.values.y0.value},set:function(t){this.setValue("y0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.values.y1.value},set:function(t){this.setValue("y1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.properties.children},set:function(t){this.setProperty("children",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"level",{get:function(){return this.parent?this.parent.level+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){var t=this.properties.color;return void 0==t&&this.parent&&(t=this.parent.color),void 0==t&&this.component&&(t=this.component.colors.getIndex(this.component.colors.step*this.index)),t},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.color},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){t!=this._series&&(this._series&&(this.component.series.removeValue(this._series),this._series.dispose()),this._series=t,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.hide=function(e,i,n,r){this.setWorkingValue("value",0),this.children&&this.children.each(function(t){t.hide(e,i,n,r)});var s=this.seriesDataItem;return s&&s.bullets.each(function(t,e){e.hide(),e.preventShow=!0}),t.prototype.hide.call(this,e,i,n,r)},e.prototype.show=function(e,i,n){this.setWorkingValue("value",this.values.value.value),this.children&&this.children.each(function(t){t.show(e,i,n)});var r=this.seriesDataItem;return r&&r.bullets.each(function(t,e){e.preventShow=!1}),t.prototype.show.call(this,e,i,n)},e}(tS),ek=function(t){function e(){var e=t.call(this)||this;e.layoutAlgorithm=e.squarify,e.zoomable=!0,e.className="TreeMap",e._usesData=!0,e.maxLevels=2,e.currentLevel=0,e.hideParentColumns=!1,e.colors=new z.e,e.sorting="descending";var i=e.xAxes.push(new td);i.title.disabled=!0,i.strictMinMax=!0;var n=i.renderer;n.inside=!0,n.labels.template.disabled=!0,n.ticks.template.disabled=!0,n.grid.template.disabled=!0,n.axisFills.template.disabled=!0,n.minGridDistance=100,n.line.disabled=!0,n.baseGrid.disabled=!0;var r=e.yAxes.push(new td);r.title.disabled=!0,r.strictMinMax=!0;var s=r.renderer;s.inside=!0,s.labels.template.disabled=!0,s.ticks.template.disabled=!0,s.grid.template.disabled=!0,s.axisFills.template.disabled=!0,s.minGridDistance=100,s.line.disabled=!0,s.baseGrid.disabled=!0,s.inversed=!0,e.xAxis=i,e.yAxis=r;var a=new eT;return e.seriesTemplates=new w.Vt(a),a.virtualParent=e,e._disposers.push(new w.ey(e.seriesTemplates)),e._disposers.push(a),e.zoomOutButton.events.on("hit",function(){e.zoomToChartDataItem(e._homeDataItem)},void 0,!1),e.seriesTemplates.events.on("insertKey",function(t){t.newValue.isTemplate=!0},void 0,!1),e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"navigationBar",{get:function(){return this._navigationBar},set:function(t){var e=this;this._navigationBar!=t&&(this._navigationBar=t,t.parent=this,t.toBack(),t.links.template.events.on("hit",function(t){var i=t.target.dataItem.dataContext;i.isDisposed()||(e.zoomToChartDataItem(i),e.createTreeSeries(i))},void 0,!0),this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.validateData=function(){this.series.clear(),this._tempSeries=[],t.prototype.validateData.call(this),this._homeDataItem&&this._homeDataItem.dispose();var e=this.dataItems.template.clone();this._homeDataItem=e,b.__(this.dataItems.iterator(),function(t){t.parent=e}),e.children=this.dataItems,e.x0=0,e.y0=0,e.name=this._homeText;var i=10*Math.round(1e3*this.pixelHeight/this.pixelWidth/10)||1e3;e.x1=1e3,e.y1=i,this.xAxis.min=0,this.xAxis.max=1e3,this.xAxis.getMinMax(),this.yAxis.min=0,this.yAxis.max=i,this.yAxis.getMinMax(),this.layoutItems(e),this.createTreeSeries(e),this.feedLegend()},e.prototype.layoutItems=function(t,e){if(t){var i=t.children;e||(e=this.sorting),"ascending"==e&&i.values.sort(function(t,e){return t.value-e.value}
1),"descending"==e&&i.values.sort(function(t,e){return e.value-t.value}),this._updateDataItemIndexes(0),this.layoutAlgorithm(t);for(var n=0,r=i.length;n<r;n++){var s=i.getIndex(n);s.children&&this.layoutItems(s)}}},e.prototype.createTreeSeries=function(t){var e=this;this._tempSeries=[];for(var i=[t],n=t.parent;void 0!=n;)this.initSeries(n),i.push(n),n=n.parent;i.reverse(),this.navigationBar&&(this.navigationBar.data=i),this.createTreeSeriesReal(t),W.__(this._tempSeries,function(t){-1==e.series.indexOf(t)&&e.series.push(t),t.zIndex=t.level})},e.prototype.createTreeSeriesReal=function(t){if(t.children&&t.level<this.currentLevel+this.maxLevels){this.initSeries(t);for(var e=0;e<t.children.length;e++){var i=t.children.getIndex(e);i.children&&this.createTreeSeriesReal(i)}}},e.prototype.setData=function(e){this.currentLevel=0,this.currentlyZoomed=void 0,this.xAxis.start=0,this.xAxis.end=1,this.yAxis.start=0,this.yAxis.end=1,t.prototype.setData.call(this,e)},e.prototype.seriesAppeared=function(){return!0},e.prototype.initSeries=function(t){var e=this;if(!t.series){var i=void 0,n=this.seriesTemplates.getKey(t.level.toString());(i=n?n.clone():this.series.create()).dataItem.dataContext=t,i.name=t.name,i.parentDataItem=t,t.series=i;var r=t.level;i.level=r;var s=t.dataContext;s&&(i.config=s.config),this.dataUsers.removeValue(i),i.data=t.children.values,i.fill=t.color,i.columnsContainer.hide(0),i.bulletsContainer.hide(0),i.columns.template.adapter.add("fill",function(t,e){var i=e.dataItem;if(i){var n=i.treeMapDataItem;if(n)return e.fill=n.color,e.adapter.remove("fill"),n.color}}),this.zoomable&&(t.level>this.currentLevel||t.children&&t.children.length>0)&&(i.columns.template.cursorOverStyle=A.h.pointer,this.zoomable&&i.columns.template.events.on("hit",function(i){var n=i.target.dataItem;t.level>e.currentLevel?e.zoomToChartDataItem(n.treeMapDataItem.parent):e.zoomToSeriesD
1ataItem(n)},this,void 0))}this._tempSeries.push(t.series)},e.prototype.toggleBullets=function(t){var e=this;b.__(this.series.iterator(),function(i){-1==e._tempSeries.indexOf(i)?(i.columnsContainer.hide(),i.bulletsContainer.hide(t)):(i.columnsContainer.show(),i.bulletsContainer.show(t),i.dataItems.each(function(t){t.bullets.each(function(t,e){e.show()})}),i.level<e.currentLevel?(e.hideParentColumns&&i.columnsContainer.hide(),i.bulletsContainer.hide(t)):i.level==e.currentLevel&&e.maxLevels>1&&i.dataItems.each(function(t){t.treeMapDataItem.children&&t.bullets.each(function(t,e){e.hide()})}))})},e.prototype.zoomToSeriesDataItem=function(t){this.zoomToChartDataItem(t.treeMapDataItem)},e.prototype.zoomToChartDataItem=function(t){var e=this;t||(t=this._homeDataItem);var i=this.zoomOutButton;if(i&&(t!=this._homeDataItem?i.show():i.hide()),t&&t.children){this.xAxis.zoomToValues(t.x0,t.x1),this.yAxis.zoomToValues(t.y0,t.y1),this.currentLevel=t.level,this.currentlyZoomed=t,this.createTreeSeries(t);var n=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;!n||n.isDisposed()||n.isFinished()?this.toggleBullets():(this._dataDisposers.push(n),n.events.once("animationended",function(){e.toggleBullets()}))}},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},e.prototype.createDataItem=function(){return new eI},Object.defineProperty(e.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(t){this.setPropertyValue("maxLevels",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(t){this.setPropertyValue("currentLevel",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideParentColumns",{get:function(){return this.getPropertyValue("hideParentColumns")},set:function(t){this.setPropertyValue("hideParentColumns",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(t){this.setPropertyValue("sorting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new eT},Object.defineProperty(e.prototype,"homeText",{get:function(){return this._homeText},set:function(t){this._homeText=t,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e){if(_.a4(e.layoutAlgorithm)&&_.Kg(e.layoutAlgorithm))switch(e.layoutAlgorithm){case"squarify":e.layoutAlgorithm=this.squarify;break;case"binaryTree":e.layoutAlgorithm=this.binaryTree;break;case"slice":e.layoutAlgorithm=this.slice;break;case"dice":e.layoutAlgorithm=this.dice;break;case"sliceDice":e.layoutAlgorithm=this.sliceDice;break;default:delete e.layoutAlgorithm}_.a4(e.navigationBar)&&!_.a4(e.navigationBar.type)&&(e.navigationBar.type="NavigationBar"),t.prototype.processConfig.call(this,e)}},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.layoutItems(this.currentlyZoomed)},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),b.__(this.series.iterator(),function(t){t.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},e.prototype.binaryTree=function(t){var e,i,n=t.children,r=n.length,s=Array(r+1);for(s[0]=i=e=0;e<r;++e)s[e+1]=i+=n.getIndex(e).value;r>0&&function t(e,i,r,a,o,l,h){if(e>=i-1){var u=n.getIndex(e);u.x0=a,u.y0=o,u.x1=l,u.y1=h;return}for(var p=s[e],d=r/2+p,c=e+1,f=i-1;c<f;){var g=c+f>>>1;s[g]<d?c=g+1:f=g}d-s[c-1]<s[c]-d&&e+1<c&&--c;var y=s[c]-p,m=r-y;if(0==r){var u=n.getIndex(e);u.x0=a,u.y0=o,u.x1=l,u.y1=h;return}if(l-a>h-o){var v=(a*m+l*y)/r;t(e,c,y,a,o,v,h),t(c,i,m,v,o,l,h)}else{var b=(o*m+h*y)/r;t(e,c,y,a,o,l,b),t(c,i,m,a,b,l,h)}}(0,r,t.value,t.x0,t.y0,t.x1,t.y1)},e.prototype.slice=function(t){for(var e,i=t.x0,n=t.x1,r=t.y0,s=t.y1,a=t.children,o=-1,l=a.length,h=t.value&&(s-r)/t.value;++o<l;)(e=a.getIndex(o)).x0=i,e.x1=n,e.y0=r,r+=e.value*h,e.y1=r},e.prototype.dice=function(t){for(var e,i=t.x0,n=t.x1,r=t.y0,s=t.y1,a=t.children,o=-1,l=a.length,h=t.value&&(n-i)/t.value;++o<l;)(e=a.getIndex(o)).y0=r,e.y1=s,e.x0=i,i+=e.value*h,e.x1=i},e.prototype.sliceDice=function(t){1&t.level?this.slice(t):this.dice(t)},e.prototype.squarify=function(t){for(var e,i,n,r,s,a,o,l,h,u,p=(1+Math.sqrt(5))/2,d=t.x0,c=t.x1,f=t.y0,g=t.y1,y=t.children,m=0,v=0,b=y.length,_=t.value;m<b;){i=c-d,n=g-f;do r=y.getIndex(v++).value;while(!r&&v<b);for(s=a=r,l=Math.max(a/(u=r*r*(h=Math.max(n/i,i/n)/(_*p))),u/s);v<b;++v){if(r+=e=y.getIndex(v).value,e<s&&(s=e),e>a&&(a=e),(o=Math.max(a/(u=r*r*h),u/s))>l){r-=e;break}l=o}var x=this.dataItems.template.clone();x.value=r,x.dice=i<n,x.children=y.slice(m,v),x.x0=d,x.y0=f,x.x1=c,x.y1=g,x.dice?(x.y1=_?f+=n*r/_:g,this.dice(x)):(x.x1=_?d+=i*r/_:c,this.slice(x)),_-=r,m=v}},e.prototype.handleSeriesAdded2=function(){},e.prototype.handleDataItemValueChange=function(t,e){"value"==e&&this.invalidateDataItems()},e.prototype.handleDataItemWorkingValueChange=function(t,e){"value"==e&&this.invalidateDataItems()},e.prototype.getLegendLevel=function(t){if(t&&t.children)if(t.children.length>1)return t;else{if(1!=t.children.length)return t;var e=t.children.getIndex(0);return e.children?this.getLegendLevel(e):t}},e.prototype.handleLegendSeriesAdded=function(t){},Object.defineProperty(e.prototype,"homeDataItem",{get:function(){return this._homeDataItem},enumerable:!0,configurable:!0}),e.prototype.feedLegend=function(){var t=this.legend;if(t){t.dataFields.name="name";var e=this.getLegendLevel(this._homeDataItem);if(e){var i=[];e.children.each(function(t){i.push(t)}),t.data=i}}},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this._homeDataItem=void 0,this.series.clear(),this.navigationBar&&this.navigationBar.disposeData(),this.xAxis.disposeData(),this.yAxis.disposeData()},e.prototype.getExporting=function(){var e=this,i=t.prototype.getExporting.call(this);return i.adapter.add("formatDataFields",function(t){return("csv"==t.format||"xlsx"==t.format)&&_.a4(e.dataFields.children)&&delete t.dataFields[e.dataFields.children],t}),i},e}(tT);a.u.registeredClasses.TreeMap=ek;var eD=function(t){function e(){var e=t.call(this)||this;return e._chart=new l.h1,e.className="AxisRendererX3D",e._disposers.push(e._chart),e.applyTheme(),e}
1return(0,s.C6)(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=this.chart.dx3D||0,s=this.chart.dy3D||0,a=this.getHeight();t.path=y.tw({x:r,y:s})+y.a5({x:r,y:a+s})+y.a5({x:0,y:a})}this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.getHeight(),i=this.chart.dx3D||0,n=this.chart.dy3D||0;this.baseGrid.path=y.tw({x:i,y:n})+y.a5({x:0,y:0})+y.a5({x:0,y:e})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){("depth"==t.property||"angle"==t.property)&&this.invalidate()},e}(tm);a.u.registeredClasses.AxisRendererX3D=eD;var eF=function(t){function e(){var e=t.call(this)||this;return e._chart=new l.h1,e.className="AxisRendererY3D",e._disposers.push(e._chart),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=this.chart.dx3D||0,s=this.chart.dy3D||0,a=this.getWidth();t.path=y.tw({x:0,y:0})+y.a5({x:r,y:s})+y.a5({x:a+r,y:s})}this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.chart.dx3D||0,i=this.chart.dy3D||0,n=this.getWidth();this.baseGrid.path=y.tw({x:0,y:0})+y.a5({x:n,y:0})+y.a5({x:n+e,y:i})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){("depth"==t.property||"angle"==t.property)&&this.invalidate()},e}(th),eA=i(61571),eV=function(t){function e(){var e=t.call(this)||this;return e.className="Column3D",e}return(0,s.C6)(e,t),e.prototype.createAssets=function(){this.column3D=this.createChild(eA.n),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},e.prototype.validate=function(){t.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight,this.column3D.invalid&&this.column3D.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column3D&&this.column3D.copyFrom(e.column3D)},e.prototype.setFill=function(e){t.prototype.setFill.call(this,e),this.column.fill=e},e}(eC);a.u.registeredClasses.Column3D=eV;var eE=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3DDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(ew),eM=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3D",e.columns.template.column3D.applyOnClones=!0,e.columns.template.hiddenState.properties.visible=!0,e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){var t=this.chart;return t&&t.columnsContainer&&"vertical"!=t.leftAxesContainer.layout&&"vertical"!=t.rightAxesContainer.layout&&"horizontal"!=t.bottomAxesContainer.layout&&"horizontal"!=t.topAxesContainer.layout?t.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e),e.column&&(e.column.dx=this.dx,e.column.dy=this.dy,e.column.visible=this.visible)},e.prototype.validateDataElements=function(){t.prototype.validateDataElements.call(this),this.chart&&this.chart.invalidateLayout()},e.prototype.createColumnTemplate=function(){return new eV},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0),this.columns.template.column3D.depth=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.columns.template.column3D.angle=t},enumerable:!0,configurable:!0}),e}(eO);a.u.registeredClasses.ColumnSeries3D=eM,a.u.registeredClasses.ColumnSeries3DDataItem=eE,(0,s.C6)(function(){var t=tS.call(this)||this;return t.className="XYChart3DDataItem",t.applyTheme(),t},tS);var eL=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=eD,e._axisRendererY=eF,e.className="XYChart3D",e.depth=30,e.angle=30;var i=e.seriesContainer.createChild(u.m);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e.columnsContainer=i,e.columnsContainer.mask=e.createChild(c.kx),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.updateSeriesMasks=function(){if(t.prototype.updateSeriesMasks.call(this),D.lT()){var e=this.columnsContainer,i=e.mask;e.mask=void 0,e.mask=i}}
1,Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx3D",{get:function(){return F.gn(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy3D",{get:function(){return-F.F8(this.angle)*this.depth},enumerable:!0,configurable:!0}),e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.fixColumns()},e.prototype.fixLayout=function(){this.chartContainer.paddingTop=-this.dy3D,this.chartContainer.paddingRight=this.dx3D,this.scrollbarX&&(this.scrollbarX.dy=this.dy3D,this.scrollbarX.dx=this.dx3D),this.scrollbarY&&(this.scrollbarY.dy=this.dy3D,this.scrollbarY.dx=this.dx3D),this.fixColumns(),t.prototype.fixLayout.call(this)},e.prototype.fixColumns=function(){var t=this,e=1,i=0;b.__(this.series.iterator(),function(t){t instanceof eM&&(!t.clustered&&i>0&&e++,t.depthIndex=e-1,i++)});var n=0;b.__(this.series.iterator(),function(i){if(i instanceof eM){i.depth=t.depth/e,i.angle=t.angle,i.columnsContainer==t.columnsContainer&&(i.dx=t.depth/e*F.gn(t.angle)*i.depthIndex,i.dy=-t.depth/e*F.F8(t.angle)*i.depthIndex);var r=!1;(i.baseAxis==i.xAxis&&i.xAxis.renderer.inversed||i.baseAxis==i.yAxis&&i.yAxis.renderer.inversed)&&(r=!0);var s=1;i.dataItems.each(function(t){var e=t.column;e&&(r?e.zIndex=1e3*(1e3-s)+n-100*i.depthIndex:e.zIndex=1e3*s+n-100*i.depthIndex),s++}),r?n--:n++}}),this.maskColumns()},e.prototype.processConfig=function(e){if(e&&_.a4(e.series)&&_.cy(e.series))for(var i=0,n=e.series.length;i<n;i++)e.series[i].type=e.series[i].type||"ColumnSeries3D";t.prototype.processConfig.call(this,e)},e.prototype.maskColumns=function(){var t=this.plotContainer.pixelWidth,e=this.plotContainer.pixelHeight,i=this.dx3D,n=this.dy3D,r=y.tw({x:0,y:0})+y.a5({x:i,y:n})+y.a5({x:t+i,y:n})+y.a5({x:t+i,y:e+n})+y.a5({x:t,y:e})+y.a5({x:t,y:e})+y.a5({x:0,y:e})+y.OE(),s=this.columnsContainer;s&&s.mask&&(s.mask.path=r)},e}(tT);a.u.registeredClasses.XYChart3D=eL;var ej=function(t){function e(){var e=t.call(this)||this;e.className="HeatLegend",e.markerContainer=e.createChild(u.m),e.markerContainer.shouldClone=!1,e.markerCount=1;var i=new T.T;return i.minHeight=20,i.minWidth=20,i.interactionsEnabled=!1,i.fillOpacity=1,i.cornerRadius(0,0,0,0),e.markerContainer.minHeight=20,e.markerContainer.minWidth=20,e.orientation="horizontal",e.markers=new h.TS(i),e._disposers.push(new h.a(e.markers)),e._disposers.push(e.markers.template),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.getMinFromRules=function(t){var e,i=this.series;if(i)return b.FY(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.min,!1)}),e},e.prototype.getMaxFromRules=function(t){var e,i=this.series;if(i)return b.__(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.max,!1)}),e},e.prototype.validate=function(){t.prototype.validate.call(this),this.valueAxis.renderer.inversed=this.reverseOrder;var e=this.series,i=this.minColor,n=this.maxColor;if(_.a4(i)||(i=(0,R.VR)(this.getMinFromRules("fill"))),_.a4(n)||(n=(0,R.VR)(this.getMaxFromRules("fill"))),e){var r=e.fill;!_.a4(i)&&r instanceof R.Q1&&(i=r),!_.a4(n)&&r instanceof R.Q1&&(n=r)}_.a4(n)||(n=(0,R.VR)(this.getMaxFromRules("fill")));var s=_.Ro(this.getMinFromRules("fillOpacity"));_.Et(s)||(s=1);var a=_.Ro(this.getMaxFromRules("fillOpacity"));_.Et(a)||(a=1);var o=_.Ro(this.getMinFromRules("strokeOpacity"));_.Et(o)||(o=1);var l=_.Ro(this.getMaxFromRules("strokeOpacity"));_.Et(l)||(l=1);for(var h=(0,R.VR)(this.getMinFromRules("stroke")),u=(0,R.VR)(this.getMaxFromRules("stroke")),p=0;p<this.markerCount;p++){var d=this.markers.getIndex(p);if(d||((d=this.markers.create()).parent=this.markerContainer,d.height=(0,g.KN)(100),d.width=(0,g.KN)(100)),1==this.markerCount){var c=new es.W;
1if(this.reverseOrder?(c.addColor(n,a),c.addColor(i,s)):(c.addColor(i,s),c.addColor(n,a)),"vertical"==this.orientation&&(c.rotation=-90),d.fill=c,_.a4(h)&&_.a4(u)){var f=new es.W;this.reverseOrder?(f.addColor(u,l),f.addColor(h,o)):(f.addColor(h,o),f.addColor(u,l)),"vertical"==this.orientation&&(f.rotation=-90),d.stroke=f}}else{var y=p;this.reverseOrder&&(y=this.markerCount-p-1);var m=new R.Q1(N.GW(i.rgb,n.rgb,y/this.markerCount));d.fill=m;var v=s+(a-s)*y/this.markerCount;if(d.fillOpacity=v,_.a4(h)&&_.a4(u)){var b=new R.Q1(N.GW(h.rgb,u.rgb,y/this.markerCount));d.stroke=b;var x=o+(l-o)*y/this.markerCount;d.strokeOpacity=x}}}var P=this.valueAxis.renderer;this.markerCount>1&&("horizontal"==this.orientation?P.minGridDistance=this.measuredWidth/this.markerCount:P.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();for(var p=this.markerCount,C=this.markers.length;p<C;p++)this.markers.getIndex(p).parent=void 0},Object.defineProperty(e.prototype,"minColor",{get:function(){return this.getPropertyValue("minColor")},set:function(t){t instanceof R.Q1||(t=(0,R.VR)(t)),this.setColorProperty("minColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColor",{get:function(){return this.getPropertyValue("maxColor")},set:function(t){t instanceof R.Q1||(t=(0,R.VR)(t)),this.setColorProperty("maxColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markerCount",{get:function(){return this.getPropertyValue("markerCount")},set:function(t){this.setPropertyValue("markerCount",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minValue",{get:function(){return this.getPropertyValue("minValue")},set:function(t){this.setPropertyValue("minValue",t),this.valueAxis.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxValue",{get:function(){return this.getPropertyValue("maxValue")},set:function(t){this.setPropertyValue("maxValue",t),this.valueAxis.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.markerContainer,i=this.valueAxis;"horizontal"==t?(_.a4(this.width)||(this.width=200),this.height=void 0,i.width=(0,g.KN)(100),i.height=void 0,i.tooltip.pointerOrientation="vertical",this.layout="vertical",e.width=(0,g.KN)(100),e.height=void 0,i.renderer instanceof tm||(i.renderer=new tm)):(_.a4(this.height)||(this.height=200),this.width=void 0,this.layout="horizontal",e.width=void 0,e.height=(0,g.KN)(100),i.height=(0,g.KN)(100),i.width=void 0,i.tooltip.pointerOrientation="horizontal",i.renderer instanceof th||(i.renderer=new th),i.renderer.inside=!0,i.renderer.labels.template.inside=!0,this.markerContainer.reverseOrder=!0);var n=i.renderer;n.grid.template.disabled=!0,n.axisFills.template.disabled=!0,n.baseGrid.disabled=!0,n.labels.template.padding(2,3,2,3),n.minHeight=void 0,n.minWidth=void 0,this.markerContainer.layout=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueAxis",{get:function(){return this._valueAxis||(this.valueAxis=this.createChild(td),this.valueAxis.shouldClone=!1),this._valueAxis},set:function(t){this._valueAxis=t,t.parent=this,t.strictMinMax=!0,this.orientation=this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){var e=this;this._series=t;var i="value";try{var n=t.heatRules.getIndex(0).dataField;n&&(i=n)}catch(t){}this.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high),t.dataItem.events.on("calculatedvaluechanged",function(n){e.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high)},void 0,!1),t.heatRules.events.on("inserted",this.invalidate,this,!1),t.heatRules.events.on("removed",this.invalidate,this,!1)},enumerable:!0,configurable:!0}),e.prototype.updateMinMax=function(t,e){var i=this.valueAxis;_.Et(this.minValue)||(i.min=t,i.invalidate()),_.Et(this.maxValue)||(i.max=e,i.invalidate())},e.prototype.processConfig=function(e){if(e&&_.a4(e.series)&&_.Kg(e.series)&&_.Kg(e.series))if(this.map.hasKey(e.series))e.series=this.map.getKey(e.series);else{var i=e.series,n=this.map.events.on("insertKey",function(t){t.key==i&&(this.series=t.newValue,n.dispose())},this);this._disposers.push(n),delete e.series}t.prototype.processConfig.call(this,e)},e}(u.m);a.u.registeredClasses.HeatLegend=ej;var eR=function(t){function e(){var e=t.call(this)||this;
1return e.className="Candlestick",e.layout="none",e}return(0,s.C6)(e,t),e.prototype.createAssets=function(){t.prototype.createAssets.call(this),this.lowLine=this.createChild(tA.N),this.lowLine.shouldClone=!1,this.highLine=this.createChild(tA.N),this.highLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.lowLine&&this.lowLine.copyFrom(e.lowLine),this.highLine&&this.highLine.copyFrom(e.highLine)},e}(eC);a.u.registeredClasses.Candlestick=eR;var eB=function(t){function e(){var e=t.call(this)||this;return e.values.lowValueX={},e.values.lowValueY={},e.values.highValueX={},e.values.highValueY={},e.className="CandlestickSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"lowValueX",{get:function(){return this.values.lowValueX.value},set:function(t){this.setValue("lowValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lowValueY",{get:function(){return this.values.lowValueY.value},set:function(t){this.setValue("lowValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueX",{get:function(){return this.values.highValueX.value},set:function(t){this.setValue("highValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueY",{get:function(){return this.values.highValueY.value},set:function(t){this.setValue("highValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),e}(ew),eH=function(t){function e(){var e=t.call(this)||this;e.className="CandlestickSeries",e.groupFields.lowValueX="low",e.groupFields.lowValueY="low",e.groupFields.highValueX="high",e.groupFields.highValueY="high",e.strokeOpacity=1;var i=new f.T,n=i.getFor("positive"),r=i.getFor("negative");return e.dropFromOpenState.properties.fill=r,e.dropFromOpenState.properties.stroke=r,e.riseFromOpenState.properties.fill=n,e.riseFromOpenState.properties.stroke=n,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Candlestick Series"))},e.prototype.createDataItem=function(){return new eB},e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e),this.validateCandlestick(e)},e.prototype.validateCandlestick=function(t){var e=t.column;if(e){var i=e.lowLine,n=e.highLine;if(this.baseAxis==this.xAxis){var r=e.pixelWidth/2;i.x=r,n.x=r;var s=t.getWorkingValue(this.yOpenField),a=t.getWorkingValue(this.yField),o=this.yAxis.getY(t,this.yOpenField),l=this.yAxis.getY(t,this.yField),h=this.yAxis.getY(t,this.yLowField),u=this.yAxis.getY(t,this.yHighField),p=e.pixelY;i.y1=h-p,n.y1=u-p,s<a?(i.y2=o-p,n.y2=l-p):(i.y2=l-p,n.y2=o-p)}if(this.baseAxis==this.yAxis){var d=e.pixelHeight/2;i.y=d,n.y=d;var c=t.getWorkingValue(this.xOpenField),f=t.getWorkingValue(this.xField),g=this.xAxis.getX(t,this.xOpenField),y=this.xAxis.getX(t,this.xField),m=this.xAxis.getX(t,this.xLowField),v=this.xAxis.getX(t,this.xHighField),_=e.pixelX;i.x1=m-_,n.x1=v-_,c<f?(i.x2=g-_,n.x2=y-_):(i.x2=y-_,n.x2=g-_)}b.__(this.axisRanges.iterator(),function(e){var r=t.rangesColumns.getKey(e.uid);if(r){var s=r.lowLine;s.x=i.x,s.y=i.y,s.x1=i.x1,s.x2=i.x2,s.y1=i.y1,s.y2=i.y2;var a=r.highLine;a.x=n.x,a.y=n.y,a.x1=n.x1,a.x2=n.x2,a.y1=n.y1,a.y2=n.y2}})}},Object.defineProperty(e.prototype,"xLowField",{get:function(){return this._xLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yLowField",{get:function(){return this._yLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xHighField",{get:function(){return this._xHighField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yHighField",{get:function(){return this._yHighField},enumerable:!0,configurable:!0}),e.prototype.defineFields=function(){t.prototype.defineFields.call(this);var e=this.xAxis,i=this.yAxis;if(e&&i){if(this.baseAxis==e){var n=D.ZH(i.axisFieldName);this._yLowField="low"+n+"Y",this._yHighField="high"+n+"Y"}if(this.baseAxis==i){var r=D.ZH(e.axisFieldName);this._xLowField="low"+r+"X",this._xHighField="high"+r+"X"}this.addValueField(e,this._xValueFields,this._xLowField),this.addValueField(e,this._xValueFields,this._xHighField),this.addValueField(i,this._yValueFields,this._yLowField),this.addValueField(i,this._yValueFields,this._yHighField)}},e.prototype.createLegendMarker=function(t){var e,i,n=t.pixelWidth,r=t.pixelHeight;t.removeChildren();var s=t.createChild(eR);s.shouldClone=!1,s.copyFrom(this.columns.template);var a=s.lowLine,o=s.highLine;this.baseAxis==this.yAxis?(e=n/3,i=r,a.y=r/2,o.y=r/2,a.x2=n/3,o.x2=n/3,o.x=n/3*2,s.column.x=n/3):(e=n,i=r/3,a.x=n/2,o.x=n/2,a.y2=r/3,o.y2=r/3,o.y=r/3*2,s.column.y=r/3),s.width=e,s.height=i,H.Lb(this,t,c.mM),H.Lb(this.columns.template,s,c.mM),s.stroke=this.riseFromOpenState.properties.stroke,s.fill=s.stroke;var l=t.dataItem;l.color=s.fill,l.colorOrig=s.fill},e.prototype.createColumnTemplate=function(){return new eR},e}(eO);a.u.registeredClasses.CandlestickSeries=eH,a.u.registeredClasses.CandlestickSeriesD
1ataItem=eB;var eW=function(t){function e(){var e=t.call(this)||this;return e.className="OHLC",e.layout="none",e}return(0,s.C6)(e,t),e.prototype.createAssets=function(){this.openLine=this.createChild(tA.N),this.openLine.shouldClone=!1,this.highLowLine=this.createChild(tA.N),this.highLowLine.shouldClone=!1,this.closeLine=this.createChild(tA.N),this.closeLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.openLine&&this.openLine.copyFrom(e.openLine),this.highLowLine&&this.highLowLine.copyFrom(e.highLowLine),this.closeLine&&this.closeLine.copyFrom(e.closeLine)},e}(eR);a.u.registeredClasses.OHLC=eW;var eN=function(t){function e(){var e=t.call(this)||this;return e.className="OHLCSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(eB),eY=function(t){function e(){var e=t.call(this)||this;return e.className="OHLCSeries",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("OHLC Series"))},e.prototype.createDataItem=function(){return new eN},e.prototype.validateCandlestick=function(t){var e=t.column;if(e){var i=e.openLine,n=e.highLowLine,r=e.closeLine;if(this.baseAxis==this.xAxis){var s=e.pixelWidth/2;n.x=s,t.getWorkingValue(this.yOpenField),t.getWorkingValue(this.yField);var a=this.yAxis.getY(t,this.yOpenField),o=this.yAxis.getY(t,this.yField),l=this.yAxis.getY(t,this.yLowField),h=this.yAxis.getY(t,this.yHighField),u=e.pixelY;i.y1=a-u,i.y2=a-u,i.x1=0,i.x2=s,r.y1=o-u,r.y2=o-u,r.x1=s,r.x2=2*s,n.y1=h-u,n.y2=l-u}if(this.baseAxis==this.yAxis){var p=e.pixelHeight/2;n.y=p,t.getWorkingValue(this.xOpenField),t.getWorkingValue(this.xField);var d=this.xAxis.getX(t,this.xOpenField),c=this.xAxis.getX(t,this.xField),f=this.xAxis.getX(t,this.xLowField),g=this.xAxis.getX(t,this.xHighField),y=e.pixelX;i.x1=d-y,i.x2=d-y,i.y1=p,i.y2=2*p,r.x1=c-y,r.x2=c-y,r.y1=0,r.y2=p,n.x1=g-y,n.x2=f-y}b.__(this.axisRanges.iterator(),function(e){var s=t.rangesColumns.getKey(e.uid);if(s){var a=s.openLine;a.x=i.x,a.y=i.y,a.x1=i.x1,a.x2=i.x2,a.y1=i.y1,a.y2=i.y2;var o=s.closeLine;o.x=r.x,o.y=r.y,o.x1=r.x1,o.x2=r.x2,o.y1=r.y1,o.y2=r.y2;var l=s.highLowLine;l.x=n.x,l.y=n.y,l.x1=n.x1,l.x2=n.x2,l.y1=n.y1,l.y2=n.y2}})}},e.prototype.createLegendMarker=function(t){var e,i,n=t.pixelWidth,r=t.pixelHeight;t.removeChildren();var s=t.createChild(eW);s.shouldClone=!1,s.copyFrom(this.columns.template);var a=s.openLine,o=s.closeLine,l=s.highLowLine;this.baseAxis==this.yAxis?(e=n/3,i=r,l.y=r/2,l.x2=n,a.x=n/3*2,a.y2=r/2,o.x=n/3,o.y2=r,o.y1=r/2):(e=n,i=r/3,l.x=n/2,l.y2=r,a.y=r/3*2,a.x2=n/2,o.y=r/3,o.x2=n,o.x1=n/2),s.width=e,s.height=i,H.Lb(this,t,c.mM),H.Lb(this.columns.template,s,c.mM),s.stroke=this.riseFromOpenState.properties.stroke;var h=t.dataItem;h.color=s.stroke,h.colorOrig=s.stroke},e.prototype.createColumnTemplate=function(){return new eW},e}(eH);a.u.registeredClasses.OHLCSeries=eY,a.u.registeredClasses.OHLCSeriesDataItem=eN;var eX=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesSegment",e}return(0,s.C6)(e,t),e.prototype.drawSegment=function(t,e,i,n,r,s){if(t.length>0&&e.length>0)if(r){var a=y.tw(t[0]);if(t.length>0)for(var o=1;o<t.length;o++){var l=t[o];o/2==Math.round(o/2)?a+=y.tw(l):a+=y.a5(l)}this.strokeSprite.path=a,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(a=y.tw(t[0])+y.XL(t)+(y.a5(e[0])+y.XL(e))+y.a5(t[0])+y.OE(),this.fillSprite.path=a)}else{var a=y.tw(t[0])+y.XL(t);this.strokeSprite.path=a,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(a+=y.a5(e[0])+y.XL(e),a+=y.a5(t[0]),a+=y.OE(),this.fillSprite.path=a)}else this.strokeSprite.path="",this.fillSprite.path=""},e}(tk);a.u.registeredClasses.StepLineSeriesSegment=eX;var ez=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(tE),eK=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeries",e.applyTheme(),e.startLocation=0,e.endLocation=1,e}return(0,s.C6)(e,t),e.prototype.createDataItem=function(){return new ez}
1,e.prototype.addPoints=function(t,e,i,n,r){this.baseAxis==this.xAxis&&(s=this.startLocation,a=this.endLocation,o=this.getAdjustedXLocation(e,this.yOpenField),l=this.getAdjustedXLocation(e,this.yField)),this.baseAxis==this.yAxis&&(o=this.startLocation,l=this.endLocation,s=this.getAdjustedXLocation(e,this.xOpenField),a=this.getAdjustedXLocation(e,this.xField));var s,a,o,l,h=this.xAxis.getX(e,i,s),u=this.yAxis.getY(e,n,o),p=this.xAxis.getX(e,i,a),d=this.yAxis.getY(e,n,l);if(h=F.s_(h,-1e5,1e5),u=F.s_(u,-1e5,1e5),p=F.s_(p,-1e5,1e5),d=F.s_(d,-1e5,1e5),!this.noRisers&&t.length>1){var c=t[t.length-1];this.baseAxis==this.xAxis&&(r?t.push({x:c.x,y:d}):t.push({x:h,y:c.y})),this.baseAxis==this.yAxis&&(r?t.push({x:p,y:c.y}):t.push({x:c.x,y:u}))}var f={x:h,y:u},g={x:p,y:d};r?t.push(g,f):t.push(f,g)},e.prototype.drawSegment=function(t,e,i){var n=!1;this.yAxis==this.baseAxis&&(n=!0),t.drawSegment(e,i,this.tensionX,this.tensionY,this.noRisers,n)},e.prototype.createSegment=function(){return new eX},Object.defineProperty(e.prototype,"noRisers",{get:function(){return this.getPropertyValue("noRisers")},set:function(t){this.setPropertyValue("noRisers",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e}(tM);a.u.registeredClasses.StepLineSeries=eK,a.u.registeredClasses.StepLineSeriesDataItem=ez;var eU=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumn",e}return(0,s.C6)(e,t),e.prototype.createAssets=function(){this.radarColumn=this.createChild(t0.J),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.radarColumn&&this.radarColumn.copyFrom(e.radarColumn)},e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");return _.Et(t)?t:this.radarColumn.getTooltipX()},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipX");return _.Et(t)?t:this.radarColumn.getTooltipY()},e}(eC);a.u.registeredClasses.RadarColumn=eU;var eG=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(ew),eq=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumnSeries",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.createColumnTemplate=function(){return new eU},e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.disableUnusedColumns=function(t){t&&(t.column&&(t.column.__disabled=!0),b.__(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i&&(i.__disabled=!0)}))},e.prototype.validateDataElementReal=function(t){var e,i,n,r,s=this,a=this.chart.startAngle,o=this.chart.endAngle,l=this.yField,h=this.yOpenField,u=this.xField,p=this.xOpenField,d=this.getStartLocation(t),f=this.getEndLocation(t),y=(o-a)/(this.dataItems.length*(this.end-this.start)),m=t.column;m||(t.column=m=this.columns.create(),H.Lb(this,m,c.mM),H.Lb(this.columns.template,m,c.mM),t.addSprite(m),m.paper=this.paper,this.setColumnStates(m));var v=m.width,x=100;v instanceof g.QE&&(x=v.percent);var P=F.LI((f-d)*(1-x/100)/2,5);if(d+=P,f-=P,this.xAxis instanceof t_&&this.yAxis instanceof t_)n=F.Yf({x:this.yAxis.getX(t,l,0,"valueY"),y:this.yAxis.getY(t,l,0,"valueY")}),r=F.Yf({x:this.yAxis.getX(t,h,1,"valueY"),y:this.yAxis.getY(t,h,1,"valueY")}),e=this.xAxis.getAngle(t,p,0,"valueX"),i=this.xAxis.getAngle(t,u,1,"valueX"),a+=d*y,o-=(1-f)*y;else if(this.baseAxis==this.xAxis)n=F.Yf({x:this.yAxis.getX(t,l,t.locations[l],"valueY"),y:this.yAxis.getY(t,l,t.locations[l],"valueY")}),r=F.Yf({x:this.yAxis.getX(t,h,t.locations[h],"valueY"),y:this.yAxis.getY(t,h,t.locations[h],"valueY")}),e=this.xAxis.getAngle(t,p,d,"valueX"),i=this.xAxis.getAngle(t,u,f,"valueX"),a+=d*y,o-=(1-f)*y;else{if(n=F.Yf({x:this.yAxis.getX(t,l,d,"valueY"),y:this.yAxis.getY(t,l,d,"valueY")}),r=F.Yf({x:this.yAxis.getX(t,h,f,"valueY"),y:this.yAxis.getY(t,h,f,"valueY")}),_.Et(v)){var C=Math.abs(n-r);if(C>v){var w=(C-v)/2;n+=w,r-=w}}e=this.xAxis.getAngle(t,u,t.locations[u],"valueX"),i=this.xAxis.getAngle(t,p,t.locations[p],"valueX")}if(i<e){var O=i;i=e,e=O}e=F.s_(e,a,o),i=F.s_(i,a,o);var S=m.radarColumn;S.startAngle=e;var T=i-e;T>0?(S.arc=T,S.radius=n,S.innerRadius=r,m.__disabled=!1,m.parent=this.columnsContainer,b.__(this.axisRanges.iterator(),function(i){var a=t.rangesColumns.getKey(i.uid);a||(a=s.columns.create(),H.AP(s.columns.template,a,c.mM),H.Lb(i.contents,a,c.mM),a.dataItem&&W.TF(a.dataItem.sprites,a),t.addSprite(a),a.paper=s.paper,s.setColumnStates(a),t.rangesColumns.setKey(i.uid,a));var o=a.radarColumn;o.startAngle=e,o.arc=T,o.radius=n,o.innerRadius=r,o.invalid&&(o.paper=s.paper,o.validate()),a.__disabled=!1,a.parent=i.contents})):this.disableUnusedColumns(t)}
1,e.prototype.getPoint=function(t,e,i,n,r,s,a){s||(s="valueX"),a||(a="valueY");var o=this.yAxis.getX(t,i,r,a),l=this.yAxis.getY(t,i,r,a),h=F.Yf({x:o,y:l});0==h&&(h=1e-5);var u=this.xAxis.getAngle(t,e,n,s);return{x:h*F.gn(u),y:h*F.F8(u)}},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return y.JL(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e.prototype.positionBulletReal=function(t,e,i){var n=this.xAxis,r=this.yAxis;(e<n.start||e>n.end||i<r.start||i>r.end)&&(t.visible=!1),t.moveTo(this.xAxis.renderer.positionToPoint(e,i))},e.prototype.setXAxis=function(e){t.prototype.setXAxis.call(this,e),this.updateRendererRefs()},e.prototype.setYAxis=function(e){t.prototype.setYAxis.call(this,e),this.updateRendererRefs()},e.prototype.updateRendererRefs=function(){this.xAxis.renderer.axisRendererY=this.yAxis.renderer},e}(eO);a.u.registeredClasses.RadarColumnSeries=eq,a.u.registeredClasses.RadarColumnSeriesDataItem=eG;var eZ=function(t){function e(){var e=t.call(this)||this;return e.slice=e.createChild(c.kx),e.slice.shouldClone=!1,e.slice.setElement(e.paper.add("path")),e.slice.isMeasured=!1,e.orientation="vertical",e.bottomWidth=(0,g.KN)(100),e.topWidth=(0,g.KN)(100),e.isMeasured=!1,e.width=10,e.height=10,e.expandDistance=0,e.className="FunnelSlice",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelPaddingTop,i=this.pixelPaddingBottom,n=this.pixelPaddingRight,r=this.pixelPaddingLeft,s=this.pixelWidth-n-r,a=this.pixelHeight-e-i,o=this.expandDistance,l="";if("vertical"==this.orientation){var h=D.JY(this.topWidth,s),u=D.JY(this.bottomWidth,s),p={x:(s-h)/2+r,y:e},d={x:(s+h)/2+r,y:e},c={x:(s+u)/2+r,y:e+a},f={x:(s-u)/2+r,y:e+a},g={x:d.x+(c.x-d.x)/2+o*a,y:d.y+.5*a},m={x:p.x+(f.x-p.x)/2-o*a,y:p.y+.5*a},v=y.a5(c),b=y.a5(p);0!=o&&(v=y.Df(c,g),b=y.Df(p,m)),l=y.tw(p)+y.a5(d)+v+y.a5(f)+b,this.tickPoint={x:d.x+(c.x-d.x)/2,y:d.y+(c.y-d.y)/2}}else{var h=D.JY(this.topWidth,a),u=D.JY(this.bottomWidth,a),_={x:r,y:(a-h)/2+e},x={x:r,y:(a+h)/2+e},P={x:r+s,y:(a-u)/2+e},C={x:r+s,y:(a+u)/2+e},g={y:_.y+(P.y-_.y)/2-o*s,x:_.x+.5*s},m={y:x.y+(C.y-x.y)/2+o*s,x:x.x+.5*s},v=y.a5(P),b=y.a5(x);0!=o&&(v=y.Df(P,g),b=y.Df(x,m)),l=y.tw(x)+y.a5(_)+v+y.a5(C)+b,this.tickPoint={y:x.y+(C.y-x.y)/2,x:x.x+(C.x-x.x)/2}}this.slice.path=l,this.invalidateLayout()},e.prototype.getPoint=function(t,e){var i=this.pixelPaddingTop,n=this.pixelPaddingBottom,r=this.pixelPaddingRight,s=this.pixelPaddingLeft,a=this.pixelWidth-r-s,o=this.pixelHeight-i-n;if("vertical"==this.orientation){var l=D.JY(this.topWidth,a),h=D.JY(this.bottomWidth,a),u={x:(a-l)/2+s},p={x:(a+l)/2+s,y:i},d={x:(a+h)/2+s,y:i+o},c={x:(a-h)/2+s},f=u.x+(c.x-u.x)*e;return{x:f+(p.x+(d.x-p.x)*e-f)*t,y:p.y+(d.y-p.y)*e}}var l=D.JY(this.topWidth,o),h=D.JY(this.bottomWidth,o),g={x:s,y:(o-l)/2+i},y={y:(o+l)/2+i},m={x:s+a,y:(o-h)/2+i},v={y:(o+h)/2+i},b=g.y+(m.y-g.y)*t;return{y:b+(y.y+(v.y-y.y)*t-b)*e,x:g.x+(m.x-g.x)*t}},Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(t){this.setPercentProperty("bottomWidth",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(t){this.setPercentProperty("topWidth",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandDistance",{get:function(){return this.getPropertyValue("expandDistance")},set:function(t){this.setPropertyValue("expandDistance",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slice&&this.slice.copyFrom(e.slice)},e}(u.m);a.u.registeredClasses.FunnelSlice=eZ;var eJ=function(t){function e(){var e=t.call(this)||this;return e._label=new l.h1,e._slice=new l.h1,e.className="FunnelTick",e.element=e.paper.add("path"),e._disposers.push(e._label),e._disposers.push(e._slice),e.setPropertyValue("locationX",0),e.setPropertyValue("locationY",0),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=e.getPoint(this.locationX,this.locationY);if(i){var n=this.label,r=e.dataItem.component,s=void 0,a=void 0,o=void 0;if("vertical"==r.orientation){var l=n.pixelX,h=n.pixelY;r.labelsOpposite||(l+=n.maxRight),s=D.oI(i,e,this.parent),o=D.oI({x:l,y:h},n.parent,this.parent),a={x:n.parent.pixelX-this.length,y:o.y},r.labelsOpposite||(a.x=n.parent.measuredWidth+this.length)}else{var l=n.pixelX,h=n.pixelY;r.labelsOpposite||(h+=n.maxBottom),s=D.oI(i,e,this.parent),a={x:(o=D.oI({x:l,y:h},n.parent,this.parent)).x,y:n.parent.pixelY-this.length},r.labelsOpposite||(a.y=n.parent.measuredHeight+this.length)}this.path=y.tw(s)+y.a5(a)+y.a5(o)}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new l.ZT([t.events.on("transformed",this.invalidate,this,
1!1),t.events.on("validated",this.invalidate,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){this.setPropertyValue("locationX",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){this.setPropertyValue("locationY",t,!1,!0)},enumerable:!0,configurable:!0}),e}(tr);a.u.registeredClasses.FunnelTick=eJ;var eQ=function(t){function e(){var e=t.call(this)||this;return e.className="FunnelSeriesDataItem",e.events.on("visibilitychanged",function(){e.component&&e.component.invalidateDataItems()},e,!1),e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"sliceLink",{get:function(){var t=this;if(!this._sliceLink){var e=this.component.sliceLinks.create();this._sliceLink=e,this._disposers.push(e),e.parent=this.component.slicesContainer,this._disposers.push(new l.W_(function(){t.component&&t.component.sliceLinks.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._sliceLink},enumerable:!0,configurable:!0}),e}(tZ),e$=function(t){function e(){var e=t.call(this)||this;return e._nextY=0,e.className="FunnelSeries",e.orientation="vertical",e.width=(0,g.KN)(100),e.height=(0,g.KN)(100),e.slicesContainer.width=(0,g.KN)(100),e.slicesContainer.height=(0,g.KN)(100),e._disposers.push(e.slicesContainer.events.on("maxsizechanged",e.invalidateDataItems,e,!1)),e.labelsOpposite=!0,e.labelsContainer.layout="absolute",e.bottomRatio=0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.createSlice=function(){return new eZ},e.prototype.createTick=function(){return new eJ},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Funnel Series"))},e.prototype.createDataItem=function(){return new eQ},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.expandDistance=.2},e.prototype.initLabel=function(e){t.prototype.initLabel.call(this,e),e.verticalCenter="middle",e.horizontalCenter="middle",e.isMeasured=!0,e.padding(5,5,5,5)},e.prototype.validate=function(){t.prototype.validate.call(this),this._nextY=0},e.prototype.validateDataElements=function(){var e=this,i=this.slicesContainer,n=this.labelsContainer,r=this.labels.template;this.alignLabels?(r.interactionsEnabled=!0,i.isMeasured=!0,n.isMeasured=!0):(r.interactionsEnabled=!1,i.isMeasured=!1,n.isMeasured=!1);var s=0,a=0;this.dataItems.each(function(t){_.a4(t.value)&&(a++,t.value>0?s+=Math.abs(t.getWorkingValue("value")/t.value):e.ignoreZeroValues||!t.visible||t.__disabled||t.isHiding?a--:s+=1)}),this._total=1/a*s,this._count=a,t.prototype.validateDataElements.call(this),this.arrangeLabels()},e.prototype.getNextValue=function(t){var e=t.index,i=t.getWorkingValue("value");if(e<this.dataItems.length-1){var n=this.dataItems.getIndex(e+1);if(i=n.getWorkingValue("value"),!n.visible||n.isHiding||n.__disabled||0==n.value&&this.ignoreZeroValues)return this.getNextValue(n)}return i},e.prototype.formDataElement=function(){},e.prototype.validateDataElement=function(e){var i=this,n=e.slice;n.orientation=this.orientation;var r=e.sliceLink;r.orientation=this.orientation;var s=e.tick,a=e.label;s.slice=n,s.label=a,_.a4(e.value)?(this.decorateSlice(e),W.__(e.sprites,function(t){0==e.value&&i.ignoreZeroValues?t.__disabled=!0:t.__disabled=!1})):W.__(e.sprites,function(t){t.__disabled=!0}),e.index==this.dataItems.length-1&&(r.disabled=!0),t.prototype.validateDataElement.call(this,e),r.fill=n.fill},e.prototype.decorateSlice=function(t){var e=t.slice,i=t.sliceLink,n=t.label,r=t.tick,s=this.slice
1sContainer.innerWidth,a=this.slicesContainer.innerHeight,o=this.getNextValue(t),l=Math.abs(t.getWorkingValue("value")),h=this.bottomRatio,u=1;if(0!=t.value?u=l/Math.abs(t.value):(t.__disabled||t.isHiding||!t.visible)&&(u=1e-6),this.ignoreZeroValues&&0==t.value){t.__disabled=!0;return}if(t.__disabled=!1,this._nextY==1/0&&(this._nextY=0),"vertical"==this.orientation){var p=i.pixelHeight*u;a+=p,e.topWidth=l/this.dataItem.values.value.high*s,e.bottomWidth=(l-(l-o)*h)/this.dataItem.values.value.high*s,i.topWidth=e.bottomWidth,i.bottomWidth=(l-(l-o))/this.dataItem.values.value.high*s,e.y=this._nextY,e.height=Math.min(1e5,F.T9(0,a/this._count*u/this._total-p)),e.x=s/2,this.alignLabels?n.x=void 0:n.x=e.x,n.y=e.pixelY+e.pixelHeight*r.locationY,this._nextY+=e.pixelHeight+p,i.y=this._nextY-p,i.x=e.x}else{var d=i.pixelWidth*u;s+=d,e.topWidth=l/this.dataItem.values.value.high*a,e.bottomWidth=(l-(l-o)*h)/this.dataItem.values.value.high*a,i.topWidth=e.bottomWidth,i.bottomWidth=(l-(l-o))/this.dataItem.values.value.high*a,e.x=this._nextY,e.width=Math.min(1e5,s/this._count*u*1/this._total-d),e.y=a/2,this.alignLabels?n.y=this.labelsContainer.measuredHeight:n.y=e.y,n.x=e.pixelX+e.pixelWidth*r.locationX,this._nextY+=e.pixelWidth+d,i.x=this._nextY-d,i.y=e.y}},e.prototype.getLastLabel=function(t){if(t>0){var e=this.labels.getIndex(t);return e.__disabled||!e.visible?this.getLastLabel(t-1):e}},e.prototype.arrangeLabels=function(){if(this.alignLabels){var t=this.labels.length;if(t>1){var e=this.getLastLabel(t-1);if(e){var i=e.pixelY,n=e.pixelX;if(t>1){for(var r=t-2;r>=0;r--){var s=this.labels.getIndex(r);s.visible&&!s.__disabled&&(s.invalid&&s.validate(),"vertical"==this.orientation?s.pixelY+s.measuredHeight>i&&(s.y=Math.min(1e6,i-s.measuredHeight)):s.pixelX+s.measuredWidth>n&&(s.x=Math.min(1e6,n-s.measuredWidth)),i=s.pixelY,n=s.pixelX)}i=0,n=0;for(var r=0;r<t;r++){var s=this.labels.getIndex(r);s.visible&&!s.__disabled&&(s.invalid&&s.validate(),"vertical"==this.orientation?s.pixelY<i&&(s.y=Math.min(1e6,i)):s.pixelX<n&&(s.x=Math.min(1e6,n)),i+=s.measuredHeight,n+=s.measuredWidth)}}}}}},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;_.Et(n)||(n=.5);var r=e.locationY;_.Et(r)||(r=1),e.x=i.pixelX+i.measuredWidth*n,e.y=i.pixelY+i.measuredHeight*r},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&(this.labelsOpposite=this.labelsOpposite,this.invalidate(),"vertical"==t?(this.ticks.template.locationX=1,this.ticks.template.locationY=.5,this.labels.template.rotation=0,this.layout="horizontal"):(this.ticks.template.locationX=.5,this.ticks.template.locationY=1,this.labels.template.rotation=-90,this.layout="vertical"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomRatio",{get:function(){return this.getPropertyValue("bottomRatio")},set:function(t){this.setPropertyValue("bottomRatio",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sliceLinks",{get:function(){if(!this._sliceLinks){var t=new eZ;t.applyOnClones=!0,t.fillOpacity=.5,t.expandDistance=-.3,t.hiddenState.properties.opacity=0,this._disposers.push(t),this._sliceLinks=new h.TS(t),this._disposers.push(new h.a(this._sliceLinks))}return this._sliceLinks},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i=this,n=this.startIndex,r=this.endIndex,s=this.defaultState.transitionDuration;_.Et(e)&&(s=e),j.f.animationsEnabled||(s=0);var a=0;return b.__(b.KF(this.dataItems.iterator()),function(t){var e=t[0],o=t[1];i.sequencedInterpolation&&(a=i.sequencedInterpolationDelay*e+s*(e-n)/(r-n)),o.show(s,a,["value"])}),t.prototype.show.call(this,e)},e.prototype.hide=function(e){var i=this,n=["value"],r=this.startIndex,s=this.endIndex,a=0,o=this.hiddenState.transitionDuration;_.Et(e)&&(o=e),j.f.animationsEnabled||(o=0),b.__(b.KF(this.dataItems.iterator()),function(t){var e=t[0],l=t[1];i.sequencedInterpolation&&(a=i.sequencedInterpolationDelay*e+o*(e-r)/(s-r)),l.hide(o,a,0,n)});var l=t.prototype.hide.call(this,e);return l&&!l.isFinished()&&l.delay(a),l},e.prototype.setAlignLabels=function(e){t.prototype.setAlignLabels.call(this,e),this.ticks.template.disabled=!e;var i=this.labelsContainer;i&&(e?(i.height=void 0,i.width=void 0,i.margin(10,10,10,10)):(i.width=(0,g.KN)(100),i.height=(0,g.KN)(100))),this.labelsOpposite=this.labelsOpposite},Object.defineProperty(e.prototype,"labelsOpposite",{get:function(){return this.getPropertyValue("labelsOpposite")}
1,set:function(t){this.setPropertyValue("labelsOpposite",t);var e=this.labels.template,i="none",n="none";this.alignLabels?t?(this.labelsContainer.toFront(),"vertical"==this.orientation?(this.ticks.template.locationX=1,e.horizontalCenter="left",i="right"):(this.ticks.template.locationY=1,e.horizontalCenter="right",n="bottom")):(this.labelsContainer.toBack(),"vertical"==this.orientation?(this.ticks.template.locationX=0,i="left"):(n="top",this.ticks.template.locationY=0)):"vertical"==this.orientation?i="center":n="middle",e.align=i,e.valign=n,this.validateLayout(),this.ticks.each(function(t){t.invalidate()}),this.invalidateDataItems()},enumerable:!0,configurable:!0}),e}(tJ);a.u.registeredClasses.FunnelSeries=e$,a.u.registeredClasses.FunnelSeriesDataItem=eQ;var e0=function(t){function e(){var e=t.call(this)||this;return e.className="PyramidSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(eQ),e1=function(t){function e(){var e=t.call(this)||this;return e.className="PyramidSeries",e.topWidth=(0,g.KN)(0),e.bottomWidth=(0,g.KN)(100),e.pyramidHeight=(0,g.KN)(100),e.valueIs="area",e.sliceLinks.template.width=0,e.sliceLinks.template.height=0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},e.prototype.createDataItem=function(){return new e0},e.prototype.validate=function(){t.prototype.validate.call(this),this._nextWidth=void 0},e.prototype.getNextValue=function(t){var e=t.index,i=t.getWorkingValue("value");return e<this.dataItems.length-1&&(i=this.dataItems.getIndex(e+1).getWorkingValue("value")),0==i&&(i=1e-6),i},e.prototype.validateDataElements=function(){var e=this,i=this.slicesContainer.innerWidth,n=this.slicesContainer.innerHeight;if(this.dataItems.each(function(t){if(t.value>0){var r=t.getWorkingValue("value")/t.value,s=t.sliceLink;"vertical"==e.orientation?n-=s.pixelHeight*r:i-=s.pixelWidth*r}}),this._pyramidHeight=D.JY(this.pyramidHeight,n),this._pyramidWidth=D.JY(this.pyramidHeight,i),"vertical"==this.orientation){var r=(n-this._pyramidHeight)/2;this.slicesContainer.y=r,this.labelsContainer.y=r,this.ticksContainer.y=r}else{var s=(i-this._pyramidWidth)/2;this.slicesContainer.x=s,this.labelsContainer.x=s,this.ticksContainer.x=s}t.prototype.validateDataElements.call(this)},e.prototype.decorateSlice=function(t){var e=this.dataItem.values.value.absoluteSum;if(0!=e){var i=t.slice,n=t.sliceLink,r=t.label,s=t.tick;this.getNextValue(t);var a=Math.abs(t.getWorkingValue("value")),o=this._pyramidWidth,l=this._pyramidHeight,h=this.slicesContainer.innerWidth,u=this.slicesContainer.innerHeight,p=n.pixelWidth,d=n.pixelHeight;if((0==t.value||null==t.value)&&this.ignoreZeroValues?t.__disabled=!0:t.__disabled=!1,"vertical"==this.orientation){var c=D.JY(this.topWidth,h);_.Et(this._nextWidth)||(this._nextWidth=c);var f=D.JY(this.bottomWidth,h),g=this._nextWidth,y=Math.atan2(l,c-f),m=Math.tan(Math.PI/2-y);0==m&&(m=1e-8);var v=void 0,b=void 0;if("area"==this.valueIs){var x=(c+f)/2*l,P=x*a/e,C=Math.abs(g*g-2*P*m);b=(v=(g-Math.sqrt(C))/m)>0?(2*P-v*g)/v:g}else b=g-(v=l*a/e)*m;i.height=v,i.width=h,i.bottomWidth=b,i.topWidth=g,n.topWidth=i.bottomWidth,n.bottomWidth=i.bottomWidth,i.y=this._nextY,this.alignLabels?r.x=0:r.x=h/2,r.y=i.pixelY+i.pixelHeight*s.locationY+i.dy,this._nextY+=i.pixelHeight+d*a/Math.max(Math.abs(t.value),1e-8),n.y=this._nextY-d,n.x=h/2}else{var c=D.JY(this.topWidth,u);_.Et(this._nextWidth)||(this._nextWidth=c);var f=D.JY(this.bottomWidth,u),g=this._nextWidth,y=Math.atan2(o,c-f),m=Math.tan(Math.PI/2-y);0==m&&(m=1e-8);var w=void 0,b=void 0;if("area"==this.valueIs){var x=(c+f)/2*o,P=x*a/e;w=(g-Math.sqrt(g*g-2*P*m))/m,b=(2*P-w*g)/w}else b=g-(w=o*a/e)*m;i.width=w,i.height=u,i.bottomWidth=b,i.topWidth=g,n.topWidth=i.bottomWidth,n.bottomWidth=i.bottomWidth,i.x=this._nextY,this.alignLabels?r.y=this.labelsContainer.measuredHeight:r.y=u/2,r.x=i.pixelX+i.pixelWidth*s.locationX+i.dx,this._nextY+=i.pixelWidth+p*a/Math.max(Math.abs(t.value),1e-8),n.x=this._nextY-p,n.y=u/2}this._nextWidth=i.bottomWidth}},Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")}
1,set:function(t){this.setPercentProperty("topWidth",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pyramidHeight",{get:function(){return this.getPropertyValue("pyramidHeight")},set:function(t){this.setPercentProperty("pyramidHeight",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(t){this.setPercentProperty("bottomWidth",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueIs",{get:function(){return this.getPropertyValue("valueIs")},set:function(t){this.setPropertyValue("valueIs",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e}(e$);a.u.registeredClasses.PyramidSeries=e1,a.u.registeredClasses.PyramidSeriesDataItem=e0;var e2=function(t){function e(){var e=t.call(this)||this;return e.className="PictorialStackedSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(e0),e3=function(t){function e(){var e=t.call(this)||this;return e.className="PictorialStackedSeries",e.topWidth=(0,g.KN)(100),e.bottomWidth=(0,g.KN)(100),e.valueIs="height",e.applyTheme(),e.startLocation=0,e.endLocation=1,e.align="center",e.valign="middle",e._maskSprite=e.slicesContainer.createChild(c.kx),e._maskSprite.visible=!1,e._maskSprite.zIndex=100,e._maskSprite.shouldClone=!1,e}return(0,s.C6)(e,t),e.prototype.validateDataElements=function(){var e,i,n=this.slicesContainer.maxWidth,r=this.slice
1sContainer.maxHeight,s=this._maskSprite,a=s.measuredWidth/s.scale,o=s.measuredHeight/s.scale,l=F.jk(r/o,n/a);l==1/0&&(l=1),l=F.T9(.001,l);var h=this.startLocation,u=this.endLocation,p=F.jk(n,a*l),d=F.jk(r,o*l);s.scale=l,"vertical"==this.orientation?(this.topWidth=p+4,this.bottomWidth=p+4,this.pyramidHeight=d*(u-h),s.x=n/2,s.y=d/2):(this.topWidth=d+4,this.bottomWidth=d+4,this.pyramidHeight=p*(u-h),s.valign="middle",s.x=p/2,s.y=r/2),s.verticalCenter="middle",s.horizontalCenter="middle",t.prototype.validateDataElements.call(this),"vertical"==this.orientation?("bottom"==this.valign&&(e=r-d),"middle"==this.valign&&(e=(r-d)/2),"top"==this.valign&&(e=0),"left"==this.align&&(i=-(n-p)/2),"center"==this.align&&(i=0),"right"==this.align&&(i=(n-p)/2),this.slices.template.dy=h*d,this.alignLabels&&(this.slicesContainer.dx=i)):("bottom"==this.valign&&(e=(r-d)/2),"middle"==this.valign&&(e=0),"top"==this.valign&&(e=-(r-d)/2),"left"==this.align&&(i=0),"center"==this.align&&(i=(n-p)/2),"right"==this.align&&(i=n-p),this.slices.template.dx=h*p,this.alignLabels&&(this.slice
1sContainer.dy=e)),this.slicesContainer.x=i,this.labelsContainer.x=i,this.ticksContainer.x=i,this.slicesContainer.y=e,this.labelsContainer.y=e,this.ticksContainer.y=e,p>0&&d>0&&(this.slicesContainer.mask=s)},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),_.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},e.prototype.createDataItem=function(){return new e2},Object.defineProperty(e.prototype,"maskSprite",{get:function(){return this._maskSprite},enumerable:!0,configurable:!0}),e.prototype.initSlice=function(e){t.prototype.initSlice.call(this,e);var i=e.states.getKey("hover");i&&(i.properties.expandDistance=0)},Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),e}(e1);a.u.registeredClasses.PictorialStackedSeries=e3,a.u.registeredClasses.PictorialStackedSeriesDataItem=e2;var e4=i(41442),e5=function(t){function e(){var e=t.call(this)||this;return e.className="ConeColumn",e}return(0,s.C6)(e,t),e.prototype.createAssets=function(){this.coneColumn=this.createChild(e4.S),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.coneColumn&&this.coneColumn.copyFrom(e.coneColumn)},e}(eC);a.u.registeredClasses.ConeColumn=e5;var e6=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(ew),e9=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeries",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.createColumnTemplate=function(){return new e5},e.prototype.getMaskPath=function(){var t=0,e=0,i=this.columns.getIndex(0);if(i)return this.baseAxis==this.xAxis?e=i.coneColumn.innerWidth/2+1:t=i.coneColumn.innerHeight/2+1,y.XJ({x:-t,y:0,width:this.xAxis.axisLength+t,height:this.yAxis.axisLength+e})},e.prototype.validateDataElementReal=function(e){if(t.prototype.validateDataElementReal.call(this,e),e.column){var i=e.column.coneColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"}},e}(eO);a.u.registeredClasses.ConeSeries=e9,a.u.registeredClasses.ConeSeriesDataItem=e6;var e8=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumn",e}return(0,s.C6)(e,t),e.prototype.createAssets=function(){this.curvedColumn=this.createChild(c.kx),this.curvedColumn.shouldClone=!1,this.setPropertyValue("tension",.7),this.width=(0,g.KN)(120),this.height=(0,g.KN)(120),this.column=this.curvedColumn},e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.realWidth,n=this.realHeight,r=this.realX-this.pixelX,s=this.realY-this.pixelY;D.kH(this.width);var a=1,o=1;"vertical"==this.orientation?(a=this.tension,e=[{x:0,y:n+s},{x:i/2,y:s},{x:i,y:n+s}]):(o=this.tension,e=[{x:r,y:n=Math.abs(n)},{x:r+i,y:n/2},{x:r,y:0}]);var l=y.tw(e[0])+new tI.hG(a,o).smooth(e);this.column.path=l},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.curvedColumn&&this.curvedColumn.copyFrom(e.curvedColumn)},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(eC);a.u.registeredClasses.CurvedColumn=e8;var e7=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumnSeriesDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),e}(ew),it=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumnSeries",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.createColumnTemplate=function(){return new e8},e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e);var i=e.column;(i=e.column)&&(e.column.curvedColumn.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical")},e}(eO);a.u.registeredClasses.CurvedColumnSeries=it,a.u.registeredClasses.CurvedColumnSeriesDataItem=e7;var ie=function(t){function e(){var e=t.call(this)||this;e.className="CircleBullet";var i=e.createChild(tR.j);return i.shouldClone=!1,i.radius=5,i.isMeasured=!1,e.circle=i,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.circle.copyFrom(e.circle)},e}(S);a.u.registeredClasses.CircleBullet=ie;var ii=function(t){function e(){var e=t.call(this)||this;return e.className="ErrorBullet",e.errorLine=e.createChild(c.kx),e.errorLine.shouldClone=!1,e.width=20,e.height=20,e.strokeOpacity=1,e.isDynamic=!0,e}return(0,s.C6)(e,t),e.prototype.validatePosition=function(){t.prototype.validatePosition.call(this);var e=this.pixelWidth/2,i=this.pixelHeight/2;this.errorLine.path=y.tw({x:-e,y:-i})+y.a5({x:e,y:-i})+y.tw({x:0,y:-i})+y.a5({x:0,y:i})+y.tw({x:-e,y:i})+y.a5({x:e,y:i})},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.errorLine.copyFrom(e.errorLine)},e}(S);a.u.registeredClasses.ErrorBullet=ii;var ir=i(60314),is=i(24105),ia=function(t){function e(){var e=t.call(this)||this;return e.className="NavigationBarDataItem",e.applyTheme(),e}return(0,s.C6)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),e}(v.s),io=function(t){function e(){var e=t.call(this)||this;e.className="NavigationBar";var i=new f.T,n=new ir.Y;n.valign="middle",n.paddingTop=8,n.paddingBottom=8,e.paddingBottom=2,e.links=new h.TS(n),e._disposers.push(new h.a(e.links)),e._disposers.push(n),e._linksIterator=new b.Vd(e.links,function(){return e.links.create()}),e._linksIterator.createNewItems=!0;var r=new is.l;r.direction="right",r.width=8,r.height=12,r.fill=i.getFor("alternativeBackgroun
1d"),r.fillOpacity=.5,r.valign="middle",r.marginLeft=10,r.marginRight=10,e.separators=new h.TS(r),e._disposers.push(new h.a(e.separators)),e._disposers.push(r);var s=new ir.Y;return e.activeLink=s,s.copyFrom(n),s.valign="middle",s.fontWeight="bold",e.width=(0,g.KN)(100),e.layout="grid",e.dataFields.name="name",e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),t.prototype.validateDataElements.call(this)},e.prototype.validateDataElement=function(e){if(t.prototype.validateDataElement.call(this,e),e.index<this.dataItems.length-1){(i=this._linksIterator.getLast()).parent=this;var i,n=this.separators.create();n.parent=this,n.valign="middle"}else(i=this.activeLink).events.copyFrom(this.links.template.events),i.hide(0),i.show(),i.parent=this;i.dataItem=e,i.text=e.name,i.validate()},e}(o.u);a.u.registeredClasses.NavigationBar=io,a.u.registeredClasses.NavigationBarDataItem=ia;var il=i(39049),ih=i(10942),iu=function(t){function e(){var e=t.call(this)||this;e.point={x:0,y:0},e._stick="none",e.className="Cursor",e.width=(0,g.KN)(100),e.height=(0,g.KN)(100),e.shouldClone=!1,e.hide(0),e.trackable=!0,e.clickable=!0,e.isMeasured=!1;var i=(0,k.H)();return e._disposers.push(i.body.events.on("down",e.handleCursorDown,e)),e._disposers.push(i.body.events.on("up",e.handleCursorUp,e)),e._disposers.push(i.body.events.on("track",e.handleCursorMove,e)),e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.handleCursorMove=function(t){if(this.interactionsEnabled&&(!this.interactions.isTouchProtected||!t.touch)){if(("zoom"!=this._generalBehavior&&"pan"!=this._generalBehavior||!this.downPoint)&&!(0,k.H)().isLocalElement(t.pointer,this.paper.svg,this.uid)){this.isHidden&&this.isHiding||this.hide();return}var e=D.k0(t.pointer.point,this);return"hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),"soft"==this._stick&&this._stickPoint&&!this.fitsToBounds(e)&&(e=this._stickPoint),this._adapterO&&this._adapterO.apply("cursorPoint",e),this.triggerMove(e),e}},e.prototype.hideReal=function(e){if("hard"!=this._stick&&"soft"!=this._stick||!this._stickPoint)return t.prototype.hideReal.call(this,e)},e.prototype.triggerMove=function(t,e,i){t.x=F.LI(t.x,1),t.y=F.LI(t.y,1),e&&(this._stick=e),("hard"==e||"soft"==e)&&(this._stickPoint=t),this.triggerMoveReal(t,i)},e.prototype.triggerMoveReal=function(t,e){(this.point.x!=t.x||this.point.y!=t.y||e)&&(this.point=t,this.invalidatePosition(),this.fitsToBounds(t)?this.show(0):this.downPoint||this.hide(0),this.visible&&(this.getPositions(),this.dispatch("cursorpositionchanged")))},e.prototype.triggerDown=function(t){this.triggerDownReal(t)},e.prototype.triggerDownReal=function(t){switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomstarted");break;case"select":this.dispatchImmediately("selectstarted");break;case"pan":this.dispatchImmediately("panstarted"),(0,k.H)().setGlobalStyle(A.h.grabbing)}},e.prototype.triggerUp=function(t){this.triggerUpReal(t)},e.prototype.triggerUpReal=function(t){ih.q.requestFrame(),this.updatePoint(this.upPoint);var e=(0,k.H)();if(F.Yf(this._upPointOrig,this._downPointOrig)>e.getHitOption(this.interactions,"hitTolerance")){switch(this._generalBehavior){case"zoom":this.dispatch("zoomended");break;case"select":this.dispatch("selectended");break;case"pan":this.dispatch("panended"),e.setGlobalStyle(A.h.default)}this.downPoint=void 0,this.updateSelection()}},e.prototype.updateSelection=function(){},e.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},e.prototype.handleCursorDown=function(t){if(this.interactionsEnabled&&(!this.interactions.isTouchProtected||!t.touch)&&(0,k.H)().isLocalElement(t.pointer,this.paper.svg,this.uid)){il.Ge();var e=D.k0(t.pointer.point,this);"hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),this._adapterO&&this._adapterO.apply("cursorPoint",e),this.fitsToBounds(e)&&(this._downPointOrig={x:e.x,y:e.y},t.event.cancelable&&this.shouldPreventGestures(t.touch)&&this.fitsToBounds(e)&&t.event.preventDefault(),this.triggerMove(e),this.triggerDown(e))}},e.prototype.shouldPreventGestures=function(t){return!0},e.prototype.updatePoint=function(t){},e.prototype.handleCursorUp=function(t){if(this.interactionsEnabled&&(this.downPoint||(0,k.H)().isLocalElement(t.pointer,this.paper.svg,this.uid))){var e=D.k0(t.pointer.point,this);this._adapterO&&this._adapterO.apply("cursorPoint",e),this.downPoint&&this.fitsToBounds(this.downPoint)&&("hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),this._upPointOrig={x:e.x,y:e.y},this.triggerMove(e),this.triggerUp(e))}},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t,_.a4(this._chart.plotContainer)&&(0,k.H)().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),e}(u.m);a.u.registeredClasses.Cursor=iu;var ip=function(t){function e(){var e=t.call(this)||this;e._lineX=new l.h1,e._lineY=new l.h1,e._xAxis=new l.h1,e._yAxis=new l.h1,e._snapToDisposers=[],e.className="XYCursor",e.behavior="zoomX",e.maxPanOut=.1;var i=new f.T;e.snapOnPan=!0;var n=e.createChild(c.kx);n.shouldClone=!1,n.fillOpacity=.2,n.fill=i.getFor("alternativeBackgroun
1d"),n.isMeasured=!1,n.visible=!1,n.interactionsEnabled=!1,e.selection=n,e._disposers.push(e.selection);var r=e.createChild(c.kx);r.shouldClone=!1,r.stroke=i.getFor("grid"),r.fill=(0,R.yW)(),r.strokeDasharray="3,3",r.isMeasured=!1,r.strokeOpacity=.4,r.interactionsEnabled=!1,r.y=0,e.lineX=r,e._disposers.push(e.lineX);var s=e.createChild(c.kx);return s.shouldClone=!1,s.stroke=i.getFor("grid"),s.fill=(0,R.yW)(),s.strokeDasharray="3,3",s.isMeasured=!1,s.strokeOpacity=.4,s.interactionsEnabled=!1,s.x=0,e.lineY=s,e._disposers.push(e.lineY),e.events.on("sizechanged",e.updateSize,e,!1),e._disposers.push(e._lineX),e._disposers.push(e._lineY),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.mask=e,e.hideSeriesTooltipsOnSelection=!0,e.applyTheme(),e}return(0,s.C6)(e,t),e.prototype.updateSize=function(){this.lineX&&(this.lineX.path=y.tw({x:0,y:0})+y.a5({x:0,y:this.innerHeight})),this.lineY&&(this.lineY.path=y.tw({x:0,y:0})+y.a5({x:this.innerWidth,y:0}))},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint,e=this.behavior;if(t){var i=this.point;this.lineX&&(i.x=this.lineX.pixelX),this.lineY&&(i.y=this.lineY.pixelY);var n=this.selection,r=Math.min(i.x,t.x),s=Math.min(i.y,t.y),a=F.LI(Math.abs(t.x-i.x),this._positionPrecision),o=F.LI(Math.abs(t.y-i.y),this._positionPrecision);switch(e){case"zoomX":case"selectX":s=0,o=this.pixelHeight;break;case"zoomY":case"selectY":r=0,a=this.pixelWidth}n.x=r,n.y=s,n.path=y.YC(a,o),n.validatePosition()}else"select"!=this._generalBehavior&&this.selection.hide()}},e.prototype.fixPoint=function(t){return t.x=Math.max(0,t.x),t.y=Math.max(0,t.y),t.x=Math.min(this.pixelWidth,t.x),t.y=Math.min(this.pixelHeight,t.y),t},e.prototype.triggerMoveReal=function(e,i){t.prototype.triggerMoveReal.call(this,e,i);var n=this.snapToSeries;if(n&&!this.downPoint)if(n instanceof tP)n.isHidden&&this.updateLinePositions(e);else{var r=!0;W.__(n,function(t){t.isHidden||(r=!1)}),r&&this.updateLinePositions(e)}else this.updateLinePositions(e);this.downPoint&&F.Yf(this.downPoint,e)>3&&"pan"==this._generalBehavior&&(this.getPanningRanges(),this.dispatch("panning"))},e.prototype.updateLinePositions=function(t){t=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=t.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=t.y),this.updateSelection()},e.prototype.triggerDownReal=function(e){if(this.visible&&!this.isHiding)if("select"==this._generalBehavior&&(this.selection.parent=this.parent),this.fitsToBounds(e)){this.downPoint={x:e.x,y:e.y},this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var i=this.selection,n=this.downPoint.x,r=this.downPoint.y;this._usesSelection&&(i.x=n,i.y=r,i.path="",i.show()),t.prototype.triggerDownReal.call(this,e)}else this.downPoint=void 0;else this.downPoint=void 0},e.prototype.updatePoint=function(t){this.lineX&&(t.x=this.lineX.pixelX),this.lineY&&(t.y=this.lineY.pixelY)},e.prototype.triggerUpReal=function(e){this.hasMoved()?this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),"pan"!=this._generalBehavior&&this.getRanges(),"select"!=this._generalBehavior&&this.selection.hide(),t.prototype.triggerUpReal.call(this,e)):("select"!=this._generalBehavior?this.selection.hide(0):(this.xRange=void 0,this.yRange=void 0,this.dispatchImmediately("selectended")),"pan"==this._generalBehavior&&(0,k.H)().setGlobalStyle(A.h.default),this.dispatchImmediately("behaviorcanceled")),this.downPoint=void 0,this.dispatch("cursorpositionchanged")},e.prototype.hasMoved=function(){return("zoomX"==this.behavior||"panX"==this.behavior?F.wF(this._upPointOrig,this._downPointOrig):"zoomY"==this.behavior||"panY"==this.behavior?F.wA(this._upPointOrig,this._downPointOrig):F.Yf(this._upPointOrig,this._downPointOrig))>(0,k.H)().getHitOption(this.interactions,"hitTolerance")},e.prototype.getPanningRanges=function(){var t=F.LI(this.downPoint.x/this.innerWidth,5),e=1-F.LI(this.downPoint.y/this.innerHeight,5),i=F.LI(this.point.x/this.innerWidth,5),n=1-F.LI(this.point.y/this.innerHeight,5),r=t-i,s=e-n;this.xRange={start:r,end:1+r},this.yRange={start:s,end:1+s},"panX"==this.behavior&&(this.yRange.start=0,this.yRange.end=1),"panY"==this.behavior&&(this.xRange.start=0,this.xRange.end=1)},e.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),D.kH(this.selection);var t=F.LI(this.downPoint.x/this.innerWidth,5),e=F.LI(this.upPoint.x/this.innerWidth,5),i=1-F.LI(this.downPoint.y/this.innerHeight,5),n=1-F.LI(this.upPoint.y/this.innerHeight,5);this.xRange={start:F.jk(t,e),end:F.T9(t,e)},this.yRange={start:F.jk(i,n),end:F.T9(i,n)}},Object.defineProperty(e.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")}
1,set:function(t){this.setPropertyValue("behavior",t,!0),this._usesSelection=!1,-1!=t.indexOf("zoom")&&(this._generalBehavior="zoom",this._usesSelection=!0),-1!=t.indexOf("select")&&(this._generalBehavior="select",this._usesSelection=!0),-1!=t.indexOf("pan")&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),e.prototype.shouldPreventGestures=function(t){return(!this.interactions.isTouchProtected||!t)&&"none"!=this.behavior},Object.defineProperty(e.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(t){this.setPropertyValue("fullWidthLineX",t),t||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(t){this.setPropertyValue("fullWidthLineY",t),t||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideSeriesTooltipsOnSelection",{get:function(){return this.getPropertyValue("hideSeriesTooltipsOnSelection")},set:function(t){this.setPropertyValue("hideSeriesTooltipsOnSelection",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxTooltipDistance",{get:function(){return this.getPropertyValue("maxTooltipDistance")},set:function(t){this.setPropertyValue("maxTooltipDistance",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(t){this.setPropertyValue("maxPanOut",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(t){var e=this;this._xAxis.get()!=t&&this._xAxis.set(t,new l.ZT([t.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this,!1),t.events.on("rangechangestarted",function(t){e.hide(0),e.preventShow=!0},void 0,!1),t.events.on("rangechangeended",function(t){e.preventShow=!1,e.hide(0),e.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(t){var e=this;this._yAxis.get()!=t&&this._yAxis.set(t,new l.ZT([t.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this,!1),t.events.on("rangechangestarted",function(t){e.hide(0),e.__disabled=!0},void 0,!1),t.events.on("rangechangeended",function(t){e.__disabled=!1,e.hide(0),e.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),e.prototype.handleXTooltipPosition=function(t){var e=this.xAxis.tooltip,i=D.bT({x:e.pixelX,y:e.pixelY},this),n=i.x;if(i.y=1,this.lineX&&(this.lineX.x=n,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var r=this.xAxis.currentItemStartPoint,s=this.xAxis.currentItemEndPoint;if(r&&s){this.lineX.x=n;var a=s.x-r.x;this.lineX.path=y.YC(a,this.innerHeight,-a/2)}}},e.prototype.handleYTooltipPosition=function(t){var e=this.yAxis.tooltip,i=D.bT({x:e.pixelX,y:e.pixelY},this),n=i.y;if(i.x=1,this.lineY&&(this.lineY.y=n,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var r=this.yAxis.currentItemStartPoint,s=this.yAxis.currentItemEndPoint;if(r&&s){this.lineY.y=n;var a=s.y-r.y;this.lineY.path=y.YC(this.innerWidth,a,0,-a/2)}}},Object.defineProperty(e.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineX.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.interactionsEnabled=!1,t.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineY.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.parent=this,t.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t,t&&(t.element=this.paper.add("path"),t.parent=this)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i=this;if(e&&(_.a4(e.xAxis)&&_.Kg(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.xAxis+'" found for `xAxis`'),delete e.xAxis)),_.a4(e.yAxis)&&_.Kg(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.yAxis+'" found for `yAxis`'),delete e.yAxis)),_.a4(e.snapToSeries))){var n=_.cy(e.snapToSeries)?e.snapToSeries:[e.snapToSeries],r=!1;W.__(n,function(t,e){_.Kg(t)&&(i.map.hasKey(t)?n[e]=i.map.getKey(t):(i.processingErrors.push('[XYCursor] No series with id "'+t+'" found for `series`'),r=!0))}),r?delete e.snapToSeries:e.snapToSeries=n}t.prototype.processConfig.call(this,e)},Object.defineProperty(e.prototype,"snapToSeries",{get:function(){return this.getPropertyValue("snapToSeries")},set:function(t){var e=this;this.setPropertyValue("snapToSeries",t)&&(t instanceof tP&&(t=[t]),this._snapToDisposers&&W.__(this._snapToDisposers,function(t){t.dispose()}),this._snapToDisposers=[],t&&W.__(t,function(t){e._snapToDisposers.push(t.events.on("tooltipshownat",function(){e.handleSnap(t)},void 0,!1))}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapOnPan",{get:function(){return this.getPropertyValue("snapOnPan")},set:function(t){this.setPropertyValue("snapOnPan",t)},enumerable:!0,configurable:!0}),e.prototype.handleSnap=function(t){if(!this.downPoint){var e=t.getTooltipX()+t.xAxis.pixelX,i=t.getTooltipY()+t.yAxis.pixelY,n=t.xAxis,r=t.yAxis;n&&n.renderer.opposite&&(i-=this.pixelHeight),this.point={x:e,y:i},this.getPositions();var s=e,a=i;e-=this.pixelWidth,r&&r.renderer.opposite&&(e+=this.pixelWidth);var o=t.tooltip,l=o.animationDuration,h=o.animationEasing;n instanceof td&&!(n instanceof ty)&&r instanceof td&&!(r instanceof ty)?(t.yAxis.showTooltipAtPosition(this.yPosition),t.xAxis.showTooltipAtPosition(this.xPosition)):(t.baseAxis==t.xAxis&&t.yAxis.showTooltipAtPosition(this.yPosition),t.baseAxis==t.yAxis&&t.xAxis.showTooltipAtPosition(this.xPosition)),this.lineY.x=e,this.lineX.y=i,this.xAxis||this.lineX.animate([{property:"x",to:s}],l,h),this.yAxis||this.lineY.animate([{property:"y",to:a}],l,h)}},e.prototype.dispose=function(){this.hide(0),t.prototype.dispose.call(this)},e}(iu);
1a.u.registeredClasses.XYCursor=ip;var id=function(t){function e(){var e=t.call(this)||this;return e.className="RadarCursor",e.radius=(0,g.KN)(100),e.innerRadius=(0,g.KN)(0),e.applyTheme(),e.mask=void 0,e}return(0,s.C6)(e,t),e.prototype.fitsToBounds=function(t){var e=F.Yf(t);return!!(e<this.truePixelRadius+1)&&!!(e>this.pixelInnerRadius-1)},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.triggerMoveReal=function(e,i){(!this.xAxis||this.xAxis&&(!this.xAxis.cursorTooltipEnabled||this.xAxis.tooltip.disabled))&&this.updateLineX(this.point),(!this.yAxis||this.yAxis&&(!this.yAxis.cursorTooltipEnabled||this.yAxis.tooltip.disabled))&&this.updateLineY(this.point),this.updateSelection(),t.prototype.triggerMoveReal.call(this,e,i)},e.prototype.updateLineX=function(t){var e=this.pixelRadius,i=this.startAngle,n=this.endAngle,r=this.pixelInnerRadius;if(e>0&&_.Et(i)&&_.Et(n)&&_.Et(r)){var s=F.JV(F._H(t),i,n),a=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var o=this.xAxis.currentItemStartPoint,l=this.xAxis.currentItemEndPoint;if(o&&l){var h=F.JV(F._H(o),i,n),u=F.JV(F._H(l),i,n)-h;i<n?u<0&&(u+=360):u>0&&(u-=360),s-=u/2,a=y.tw({x:r*F.gn(s),y:r*F.F8(s)})+y.a5({x:e*F.gn(s),y:e*F.F8(s)})+y.Kf(s,u,e)+y.a5({x:r*F.gn(s+u),y:r*F.F8(s+u)})+y.Kf(s+u,-u,r)}}a||(a=y.tw({x:r*F.gn(s),y:r*F.F8(s)})+y.a5({x:e*F.gn(s),y:e*F.F8(s)})),this.lineX.path=a}}},e.prototype.updateLineY=function(t){if(this.lineY&&this.lineY.visible){var e=this.startAngle,i=this.endAngle,n=this.truePixelRadius,r=F.s_(F.Yf(t),0,this.truePixelRadius);if(_.Et(r)&&_.Et(e)){this.lineY.moveTo({x:0,y:0});var s=void 0,a=i-e;if(this.yAxis&&this.fullWidthLineY){var o=this.yAxis.currentItemStartPoint,l=this.yAxis.currentItemEndPoint;if(o&&l){var h=F.s_(F.Yf(o),0,n);r=F.s_(F.Yf(l),0,n),s=y.tw({x:r*F.gn(e),y:r*F.F8(e)})+y.Kf(e,a,r)+(y.tw({x:h*F.gn(i),y:h*F.F8(i)})+y.Kf(i,-a,h))}}s||(s=y.tw({x:r*F.gn(e),y:r*F.F8(e)})+y.Kf(e,i-e,r)),this.lineY.path=s}}},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point,i=this.pixelRadius,n=this.truePixelRadius,r=this.pixelInnerRadius,s=Math.min(this.startAngle,this.endAngle),a=Math.max(this.startAngle,this.endAngle),o=F.JV(F._H(t),s,a),l=F.JV(F._H(e),s,a),h=F.Yf(t);if(h<n){var u=F.s_(F.Yf(e),0,n);this._prevAngle=l;var p=y.tw({x:0,y:0}),d=F.F8(o),c=F.gn(o),f=F.F8(l),g=F.gn(l),m=this.behavior;"zoomX"==m||"selectX"==m?p+=y.a5({x:i*c,y:i*d})+y.Kf(o,l-o,i)+y.a5({x:r*g,y:r*f})+y.Kf(l,o-l,r):"zoomY"==m||"selectY"==m?p=y.tw({x:u*F.gn(s),y:u*F.F8(s)})+y.Kf(s,a-s,u)+y.a5({x:h*F.gn(a),y:h*F.F8(a)})+y.Kf(a,s-a,h)+y.OE():"zoomXY"==m&&(p=y.tw({x:u*F.gn(o),y:u*F.F8(o)})+y.Kf(o,l-o,u)+y.a5({x:h*F.gn(l),y:h*F.F8(l)})+y.Kf(l,o-l,h)+y.OE()),this.selection.path=p}this.selection.moveTo({x:0,y:0})}}},e.prototype.getPositions=function(){if(this.chart){var t=this.pixelInnerRadius,e=this.truePixelRadius-t,i=this.startAngle,n=this.endAngle,r=(F.JV(F._H(this.point),i,n)-i)/(n-i);this.xPosition=r,this.yPosition=F.s_((F.Yf(this.point)-t)/e,0,1)}},e.prototype.updatePoint=function(t){},e.prototype.handleXTooltipPosition=function(t){if(this.xAxis.cursorTooltipEnabled){var e=this.xAxis.tooltip;this.updateLineX(D.bT({x:e.pixelX,y:e.pixelY},this))}},e.prototype.handleYTooltipPosition=function(t){if(this.yAxis.cursorTooltipEnabled){var e=this.yAxis.tooltip;this.updateLineY(D.bT({x:e.pixelX,y:e.pixelY},this))}},e.prototype.updateLinePositions=function(t){},e.prototype.getRanges=function(){var t=this.downPoint;if(t){var e=this.upPoint;if(this.chart){var i=this.pixelRadius,n=this.startAngle,r=this.endAngle,s=F.JV(F._H(t),this.startAngle,this.endAngle),a=F.JV(F._H(e),this.startAngle,this.endAngle),o=F.s_(F.Yf(t),0,i),l=F.s_(F.Yf(e),0,i),h=0,u=1,p=0,d=1,c=this.behavior;if("zoomX"==c||"selectX"==c||"zoomXY"==c||"selectXY"==c){var f=r-n;h=F.LI((s-n)/f,5),u=F.LI((a-n)/f,5)}("zoomY"==c||"selectY"==c||"zoomXY"==c||"selectXY"==c)&&(p=F.LI(o/i,5),d=F.LI(l/i,5)),this.xRange={start:Math.min(h,u),end:Math.max(h,u)},this.yRange={start:Math.min(p,d),end:Math.max(p,d)},"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide()}}},e.prototype.updateSize=function(){},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")}
1,set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return D.LG(this.radius,this.truePixelRadius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truePixelRadius",{get:function(){return D.JY((0,g.KN)(100),F.jk(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){var t=this.innerRadius;return t instanceof g.QE&&(t=(0,g.KN)(100*t.value*this.chart.innerRadiusModifyer)),D.LG(t,this.truePixelRadius)||0},enumerable:!0,configurable:!0}),e.prototype.fixPoint=function(t){return t},e}(ip);a.u.registeredClasses.RadarCursor=id},24542:function(t,e,i){i.d(e,{RlA:function(){return P},JU7:function(){return y.J},eUi:function(){return tt.e},yWT:function(){return $.yW},qF2:function(){return ty},DPo:function(){return tg},JQG:function(){return K},hF1:function(){return D.h},TEn:function(){return V.T},fFW:function(){return h.f},KNB:function(){return I.KN},mcf:function(){return a.m},Gc4:function(){return c.Gc},$GF:function(){return U},ZeV:function(){return E.Z},Jh8:function(){return tf},tZk:function(){return z},vtF:function(){return tc}});var n=i(10942),r=i(85802),s=i(35376),a=i(1944);i(53624);var o=i(14230);i(82787),i(56113);var l=i(31272),h=i(48093);i(49971),i(83209),i(14849),i(27771),i(57415),i(64560);var u=i(85737),p=i(78777);i(56147);var d=i(3460),c=i(39049),f=i(30101),g=function(t){function e(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return(0,d.C6)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;f.Et(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),f.Et(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(c.zK,"xlink:href",this.href)}},Object.defineProperty(e.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(t){this.setPropertyValue("href",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(t){this.setPropertyValue("widthRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(t){this.setPropertyValue("heightRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),e}(o.kx);l.u.registeredClasses.Image=g;var y=i(79779);i(20411),i(37380),i(79340),i(59477),i(71693);var m=i(13949),v=i(39351),b=i(40645),_=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return(0,d.C6)(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){var e="";this._realSegments=[];for(var i=0,n=t.length;i<n;i++){var r=t[i],s=[];if(this._realSegments.push(s),r.length>0){e+=b.tw(r[0]);for(var a=1;a<r.length;a++){var o=r[a-1],l=r[a],h=v.Yf(l,o),u=h*this.controlPointDistance,p=this.controlPointPosition,d=-v._H(o,l),c={x:o.x+(l.x-o.x)*p*.5-u*v.F8(d),y:o.y+(l.y-o.y)*p*.5-u*v.gn(d)},f={x:o.x+(l.x-o.x)*p*1.5-u*v.F8(d),y:o.y+(l.y-o.y)*p*1.5-u*v.gn(d)};e+=b.pC(l,c,f);var g=Math.ceil(h),y=o;if(g>0)for(var m=0;m<=g;m++){var _=v.lH(o,l,c,f,m/g);s.push(_),this._distance+=v.Yf(y,_),y=_}else s.push(o)}}}this.path=e}},Object.defineProperty(e.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(t){this.setPropertyValue("controlPointPosition",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t),this.makePath()},enumerable:!0,configurable:!0}),e}(m.R);l.u.registeredClasses.Polyarc=_;var x=i(49023),P=i(11159),C=function(t){function e(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=P.Jx,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}
1return(0,d.C6)(e,t),e.prototype.morphToPolygon=function(t,e,i){var n=this.morphable.currentPoints;if(n&&t){this.sortPoints(n),this.sortPoints(t),this._morphFromPointsReal=[],this._morphToPointsReal=[],f.a4(e)||(e=this.morphDuration),f.a4(i)||(i=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(t,n),this._morphToPointsReal=this.normalizePoints(n,t),this.morphable.currentPoints=this._morphFromPointsReal;var r=new x.X5(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(r),r.start(),r}},e.prototype.normalizePoints=function(t,e){for(var i=0,n=t.length;i<n;i++){var r=t[i][0],s=t[i][1],a=f._W(v.U7(r)),o=a.x+a.width,l=a.y+a.height;if(e[i]||(e[i]=[]),r&&!e[i][0]&&(e[i][0]=[{x:o,y:l},{x:o,y:l}]),e[i][0]){e[i][0]=this.addPoints(e[i][0],r.length);for(var h=1/0,u=0,p=0;p<e[i][0].length;p++){var d=v.Yf(e[i][0][p],r[0]);d<h&&(u=p,h=d)}var c=e[i][0].slice(0,u),g=e[i][0].slice(u);e[i][0]=g.concat(c)}s&&(e[i][1]||(e[i][1]=[{x:o,y:l},{x:o,y:l}]),e[i][1]=this.addPoints(e[i][1],s.length))}return e},e.prototype.sortPoints=function(t){t.sort(function(t,e){var i=f._W(v.U7(t[0])),n=f._W(v.U7(e[0]));return i.width*i.height>n.width*n.height?-1:1});for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i][0];r&&e.push(f._W(v.U7(r)))}return v.Tm(e)},e.prototype.morphToCircle=function(t,e,i){var n=this.morphable.points,r=this.sortPoints(n);this._morphFromPointsReal=[],this._morphToPointsReal=[],f.a4(e)||(e=this.morphDuration),f.a4(i)||(i=this.morphEasing);for(var s=0,a=n.length;s<a;s++){var o=n[s][0],l=n[s][1];if(this._morphFromPointsReal[s]=[],this._morphToPointsReal[s]=[],o){var h=o,u=o,p=f._W(v.U7(u));this.morphToSingle&&(p=f._W(r));var d=p.x+p.width/2,c=p.y+p.height/2,g=t;f.Et(g)||(g=Math.min(p.width/2,p.height/2)),h=[];var y=v._H({x:d,y:c},o[0]),m=100;o.length>m&&(m=o.length);for(var b=360/((m=(u=this.addPoints(o,m)).length)-1),_=0;_<m;_++){var P=b*_+y,C={x:d+g*v.gn(P),y:c+g*v.F8(P)};h[_]=C}if(l&&l.length>0)for(var w=0,O=l.length;w<O;w++)h.push({x:d,y:c});this._morphFromPointsReal[s][0]=u,this._morphToPointsReal[s][0]=h}}this.morphable.currentPoints=this._morphFromPointsReal;var S=new x.X5(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(S),S.start(),S},e.prototype.addPoints=function(t,e){for(var i=Math.round(e/t.length),n=[],r=0,s=t.length;r<s;r++){var a=t[r],o=void 0;o=r==t.length-1?t[0]:t[r+1],n.push(a);for(var l=1;l<i;l++){var h=l/i,u={x:a.x+(o.x-a.x)*h,y:a.y+(o.y-a.y)*h};n.push(u)}n.length+t.length-r==e&&(i=0)}if(n.length<e&&t.length>0)for(var p=t[t.length-1],l=n.length;l<e;l++)n.push({x:p.x,y:p.y});return n},e.prototype.morphToRectangle=function(t,e,i,n){var r=this.morphable.points;this.sortPoints(r),this._morphFromPointsReal=[],this._morphToPointsReal=[],f.a4(i)||(i=this.morphDuration),f.a4(n)||(n=this.morphEasing);for(var s=0,a=r.length;s<a;s++){var o=r[s][0],l=r[s][1];if(this._morphFromPointsReal[s]=[],this._morphToPointsReal[s]=[],o){var h=o,u=this._bboxes[s];this.morphToSingle;var p=u.x,d=u.y,c=t,g=e;if(f.Et(c)||(c=u.width),f.Et(g)||(g=u.height),h=[{x:p,y:d},{x:p+c,y:d},{x:p+c,y:d+g},{x:p,y:d+g}],h=this.addPoints(h,o.length),o.length<4)for(var y=o.length;y<4;y++)h.push({x:o[y].x,y:o[y].y});if(l&&l.length>0)for(var m=u.x+u.width/2,v=u.y+u.height/2,b=0,_=l.length;b<_;b++)h.push({x:m,y:v});this._morphFromPointsReal[s][0]=o,this._morphToPointsReal[s][0]=h}}this.morphable.currentPoints=this._morphFromPointsReal;var P=new x.X5(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(P),P.start(),P},Object.defineProperty(e.prototype,"morphProgress",{get:function(){return this._morphProgress},set:function(t){this._morphProgress=t;var e=[];if(null!=t){var i=this._morphFromPointsReal,n=this._morphToPointsReal;if(null!=i&&null!=n)for(var r=0,s=i.length;r<s;r++){var a=[];e.push(a);var o=i[r][0],l=i[r][1],h=n[r][0],u=n[r][1];if(o&&o.length>0&&h&&h.length>0){for(var p=[],d=0,c=o.length;d<c;d++){var f=o[d],g=h[d],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};p.push(y)}a[0]=p}if(l&&l.length>0&&u&&u.length>0){for(var m=[],v=0,b=l.length;v<b;v++){var f=l[v],g=u[v],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};m.push(y)}a[1]=m}}}this.morphable.currentPoints=e},enumerable:!0,configurable:!0}),e.prototype.morphBack=function(t,e){this._morphToPointsReal=this._morphFromPointsReal,this._morphFromPointsReal=this.morphable.currentPoints,f.a4(t)||(t=this.morphDuration),f.a4(e)||(e=this.morphEasing);var i=new x.X5(this,{property:"morphProgress",from:0,to:1},t,e);return this._disposers.push(i),i.start(),i},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new x.yo(this._animations))),this._animations},enumerable:!0,configurable:!0}),e}(r.b),w=function(t){function e(){var e=t.call(this)||this;return e.className="Polygon",e.element=e.paper.add("path"),e.shapeRendering="auto",e._currentPoints=[],e.applyTheme(),e}return(0,d.C6)(e,t),Object.defineProperty(e.prototype,"points",{get:function(){var t=this.getPropertyValue("points"),e=this.path;if(e&&(!t||0==t.length)){for(var i=e.slice(1,e.length-1).split("ZM"),n=0;n<i.length;n++){var r=i[n];if(r.length>0){var s=r.split("M"),a=s[0],o=s[1];if(a&&a.length>0){var l=a.split("L");if(l.length>0){var h=[],u=[h];t.push(u);for(var p=0;p<l.length;p++){var d=l[p].split(",");h.push({x:+d[0],y:+d[1]})}if(o&&o.length>0){var c=o.split("L");if(c.length>0){var f=[];u.push(f);for(var p=c.length-1;p>=0;p--){var d=c[p].split(",");f.push({x:+d[0],y:+d[1]})}}}}}}}this.setPropertyValue("points",t),this._currentPoints=t}return t},set:function(t){this.setPropertyValue("points",t,!0),this._currentPoints=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentPoints",{get:function(){return(!this._currentPoints||0==this._currentPoints.length)&&this.path&&(this._currentPoints=this.points),this._currentPoints},set:function(t){this._currentPoints!=t&&(this._currentPoints=t,this.draw())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){var e,i,n,r,s="",a=this._currentPoints;if(a.length>0){for(var o=0,l=a.length;o<l;o++){var h=a[o][0],u=a[o][1];if(h&&h.length>0){var p=h[0];s+=b.tw(p);for(var d=0;d<h.length;d++)p=h[d],s+=b.a5(p),(!f.Et(i)||i<p.x)&&(i=p.x),(!f.Et(e)||e>p.x)&&(e=p.x),(!f.Et(n)||n>p.y)&&(n=p.y),(!f.Et(r)||r<p.y)&&(r=p.y)}if(u&&u.length>0){var p=u[0];s+=b.tw(p);for(var c=0,g=u.length;c<g;c++)p=u[c],s+=b.a5(p)}}s&&(s+=b.OE()),this.bbox.x=e,this.bbox.y=n,this.bbox.width=i-e,this.bbox.height=r-n,t.prototype.setPath.call(this,s)}},e.prototype.setPath=function(e){return!!t.prototype.setPath.call(this,e)&&(this.points=[],this._bbox=this.group.getBBox(),!0)},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"centerPoint",{get:function(){return{x:this.bbox.x+this.bbox.width/2,y:this.bbox.y+this.bbox.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"morpher",{get:function(){return this._morpher||(this._morpher=new C(this),this._disposers.push(this._morpher)),this._morpher},enumerable:!0,configurable:!0}),e}(o.kx);l.u.registeredClasses.Polygon=w;var O=i(3514),S=i(35395),T=i(67811),I=i(66016),k=function(t){function e(){var e=t.call(this)||this;e.className="Preloader",e.width=(0,I.KN)(100),e.height=(0,I.KN)(100);var i=new S.T,n=e.createChild(a.m);n.shouldClone=!1;var r=n.createChild(T.J);r.shouldClone=!1,r.radius=53,r.arc=360,r.fill=i.getFor("fill"),r.fillOpacity=.8,r.innerRadius=42,r.isMeasured=!1,e.backgroundSlice=r;var s=n.createChild(T.J);s.shouldClone=!1,s.radius=50,s.innerRadius=45,s.fill=i.getFor("alternativeBackgroun
1d"),s.fillOpacity=.2,s.isMeasured=!1,e.progressSlice=s;var o=n.createChild(y.J);return o.shouldClone=!1,o.horizontalCenter="middle",o.verticalCenter="middle",o.isMeasured=!1,o.fill=i.getFor("text"),o.align="center",o.valign="middle",o.textAlign="middle",o.fillOpacity=.4,e.label=o,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=300,e.states.create("hidden").properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return(0,d.C6)(e,t),Object.defineProperty(e.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(t){var e=this;this.__disabled=!1,this.validateLayout(),this.setPropertyValue("progress",t),this.progressSlice.arc=360*t,this.label&&(this.label.text=Math.round(100*t)+"%"),t>=1?(this._started&&(this._started=void 0),l.u.events.once("enterframe",function(){var t=e.hide();t&&!t.isFinished()?t.events.once("animationended",function(){e.__disabled=!0}):e.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):t>0&&(this.delay?this._started?this._started+this.delay<=new Date().getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=new Date().getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(t){this.setPropertyValue("delay",t)},enumerable:!0,configurable:!0}),e}(a.m);l.u.registeredClasses.Preloader=k,i(25332),i(71053);var D=i(38719),F=function(t){function e(){var e=t.call(this)||this;e.className="CloseButton",e.padding(8,8,8,8),e.showSystemTooltip=!0,e.width=30,e.height=30;var i=new S.T;e.cursorOverStyle=D.h.pointer;var n=e.background;n.cornerRadius(20,20,20,20);var r=i.getFor("background");n.fill=r,n.stroke=i.getFor("primaryButton"),n.strokeOpacity=1,n.strokeWidth=1;var s=i.getFor("primaryButtonActive"),a=n.states.getKey("hover");a.properties.strokeWidth=3,a.properties.fill=r;var l=n.states.getKey("down");l.properties.stroke=s,l.properties.fill=r;var h=new o.kx;return h.element=e.paper.add("path"),h.stroke=n.stroke,e.icon=h,e.applyTheme(),e}return(0,d.C6)(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.pixelWidth/3,i=this.pixelHeight/3,n=b.tw({x:-e/2,y:-i/2});n+=b.a5({x:e/2,y:i/2}),n+=b.tw({x:e/2,y:-i/2}),n+=b.a5({x:-e/2,y:i/2}),this.icon.path=n,this.invalidateLayout()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),f.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Close"))},e}(u.$);l.u.registeredClasses.CloseButton=F;var A=function(t){function e(){var e=t.call(this)||this;e.className="SwitchButton",e.tooltipY=0,e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0,e.states.create("active");var i=new S.T,n=new y.J;n.fillOpacity=.3,n.states.create("active").properties.fillOpacity=1,n.isActive=!0,e.leftLabel=n;var r=new u.$,s=new p.j;r.contentValign="none",r.padding(0,0,0,0),s.radius=10,r.icon=s,r.icon.valign="middle",r.label=void 0;var a=(0,I.KN)(100);r.background.cornerRadius(a,a,a,a),r.width=3.5*s.radius,r.height=2.1*s.radius,r.marginLeft=8,r.marginRight=8,r.togglable=!0,s.dx=-(.7*s.radius),s.fill=i.getFor("primaryButton"),s.states.create("hover").properties.fill=i.getFor("primaryButtonHover");var o=s.states.create("active");o.properties.fill=i.getFor("primaryButtonActive"),o.properties.dx=.7*s.radius,e.switchButton=r,e.events.on("toggled",function(){e.leftLabel.isActive=!e.isActive,e.rightLabel.isActive=e.isActive});var l=new y.J;return l.fillOpacity=.3,l.states.create("active").properties.fillOpacity=1,e.rightLabel=l,e.role="button",e.focusable=!0,l.valign="middle",n.valign="middle",r.valign="middle",e.applyTheme(),e}return(0,d.C6)(e,t),Object.defineProperty(e.prototype,"leftLabel",{get:function(){return this._leftLabel},set:function(t){this._leftLabel&&this.removeDispose(this._leftLabel),this._leftLabel=t,t&&(t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this._disposers.push(this._leftLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightLabel",{get:function(){return this._rightLabel},set:function(t){this._rightLabel&&this.removeDispose(this._rightLabel),this._rightLabel=t,t&&(t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this._disposers.push(this._rightLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"switch",{get:function(){return this._switchButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"switchButton",{get:function(){return this._switchButton},set:function(t){this._switchButton&&this.removeDispose(this._switchButton),this._switchButton=t,t&&(t.parent=this,t.shouldClone=!1,this._disposers.push(this._switchButton))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.leftLabel&&this.left
1Label.copyFrom(e.leftLabel),e.rightLabel&&this.rightLabel.copyFrom(e.rightLabel),e.switchButton&&this.switchButton.copyFrom(e.switchButton)},e}(a.m);l.u.registeredClasses.SwitchButton=A;var V=i(17539),E=i(8023),M=function(t){function e(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return(0,d.C6)(e,t),Object.defineProperty(e.prototype,"__end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),e}(E.Z);l.u.registeredClasses.Slider=M,i(60314);var L=i(81614);i(74593);var j=i(24105);i(26622),i(79200),i(6229),i(50620);var R=function(t){function e(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new S.T,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new j.l;r.direction="right",r.width=9,r.height=11,r.marginLeft=1,r.marginRight=1,r.horizontalCenter="middle",r.verticalCenter="middle",r.stroke=i.getFor("primaryButtonText"),r.fill=r.stroke,e.icon=r;var s=new V.T;s.width=11,s.height=11,s.horizontalCenter="middle",s.verticalCenter="middle",s.cornerRadius(0,0,0,0),s.stroke=i.getFor("primaryButtonText"),s.fill=r.stroke,e.togglable=!0;var a=e.states.create("active");return a.transitionDuration=0,a.properties.icon=s,e.defaultState.transitionDuration=0,e.applyTheme(),e}return(0,d.C6)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),f.a4(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(u.$);l.u.registeredClasses.PlayButton=R,i(41442),i(61571),i(80719),i(80190),i(92290),i(87033),i(56789),i(16838),i(98340),i(77742),i(34788),i(33910),i(56019),i(59342),i(85898),i(59751);var B=i(97590);i(75462);var H=i(30923);i(30539);var W=i(73176);i(89293);var N=i(41014),Y=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new N.E,e.applyTheme(),e}return(0,d.C6)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(i(92876)._);l.u.registeredClasses.RadialGradientModifier=Y;var X=i(57427),z=function(t){function e(){var e=t.call(this)||this;return e.properties.gap=0,e._line=e.paper.add("path"),e.addElement(e._line),e}return(0,d.C6)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),Math.round(this.rotation/90)!=this.rotation/90&&(this.properties.shapeRendering="auto"),this._line){var e=this.width,i=this.height,n="";if(this.gap)for(var r=this.gap+this.strokeWidth,s=this.height/r,a=-s/2;a<1.5*s;a++)Math.round(this.rotation/90)!=this.rotation/90?(n+=b.tw({x:-e,y:(a+.5)*r})+b.a5({x:2*e,y:(a+.5)*r}),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2):n+=b.tw({x:-e,y:a*r})+b.a5({x:2*e,y:a*r});else Math.round(this.rotation/90)!=this.rotation/90?(n=b.tw({x:-e,y:i/2})+b.a5({x:2*e,y:i/2}),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2):n=b.tw({x:0,y:0})+b.a5({x:e,y:0});this._line.attr({d:n})}},Object.defineProperty(e.prototype,"gap",{get:function(){return this.properties.gap},set:function(t){this.properties.gap=t,this.draw()},enumerable:!0,configurable:!0}),e}(X.z);l.u.registeredClasses.LinePattern=z;var K=function(t){function e(){var e=t.call(this)||this;return e.properties.radius=2,e._circle=e.paper.add("circle"),e.addElement(e._circle),e.shapeRendering="auto",e}return(0,d.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this._circle&&this._circle.attr({r:this.radius,cx:this.width/2,cy:this.height/2})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.properties.radius},set:function(t){this.properties.radius=t,this.draw()},enumerable:!0,configurable:!0}),e}(X.z);l.u.registeredClasses.CirclePattern=K;var U=function(t){function e(){var e=t.call(this)||this;return e.rectHeight=1,e.rectWidth=1,e._rect=e.paper.add("rect"),e.addElement(e._rect),e}return(0,d.C6)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2,this._rect&&this._rect.attr({width:this.rectWidth,height:this.rectHeight,x:(this.width-this.rectWidth)/2,y:(this.height-this.rectHeight)/2})},Object.defineProperty(e.prototype,"rectWidth",{get:function(){return this.properties.rectWidth}
1,set:function(t){this.properties.rectWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rectHeight",{get:function(){return this.properties.rectHeight},set:function(t){this.properties.rectHeight=t,this.draw()},enumerable:!0,configurable:!0}),e}(X.z);l.u.registeredClasses.RectPattern=U;var G=i(74180),q=function(t){function e(){var e=t.call(this)||this;return e.className="ColorizeFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.intensity=1,e.applyTheme(),e}return(0,d.C6)(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,s=this.color;s&&s.rgb?(t=s.rgb.r/255*n,e=s.rgb.g/255*n,i=s.rgb.b/255*n):(t=0,e=0,i=0),this.feColorMatrix.attr({values:r+" 0 0 0 "+t+" 0 "+r+" 0 0 "+e+" 0 0 "+r+" 0 "+i+" 0 0 0 1 0"})},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.applyFilter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intensity",{get:function(){return this.properties.intensity},set:function(t){this.properties.intensity=t,this.applyFilter()},enumerable:!0,configurable:!0}),e}(G.d);l.u.registeredClasses.ColorizeFilter=q;var Z=i(19062);i(4117);var J=function(t){function e(){var e=t.call(this)||this;return e.className="BlurFilter",e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.width=200,e.height=200,e.blur=1.5,e.applyTheme(),e}return(0,d.C6)(e,t),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e}(G.d);l.u.registeredClasses.BlurFilter=J;var Q=function(t){function e(){var e=t.call(this)||this;return e.className="FocusFilter",e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":new S.T().getFor("primaryButtonHover"),result:"base"}),e.filterPrimitives.push(e.feFlood),e.feMorphology=e.paper.add("feMorphology"),e.feMorphology.attr({result:"bigger",in:"SourceGraphic",operator:"dilate",radius:"2"}),e.filterPrimitives.push(e.feMorphology),e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({result:"mask",in:"bigger",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),e.filterPrimitives.push(e.feColorMatrix),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({result:"drop",in:"base",in2:"mask",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feBlend=e.paper.add("feBlend"),e.feBlend.attr({in:"SourceGraphic",in2:"drop",mode:"normal"}),e.filterPrimitives.push(e.feBlend),e.width=130,e.height=130,e.applyTheme(),e}return(0,d.C6)(e,t),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.feMorphology.attr({radius:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feColorMatrix.attr({values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "+t+" 0"})},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.group.removeStyle("outline"),e.group.addStyle({outline:"none"}),t.prototype.setSprite.call(this,e)},e}(G.d);i(39253),i(18586),i(80114),i(98479);var $=i(88166),tt=i(50992),te=function(t){function e(){var e=t.call(this)||this;e._list=[],e._currentStep=0,e._startIndex=0,e._currentPass=0,e.baseColor=new $.Q1({r:103,g:183,b:220}),e.className="PatternSet";var i=new S.T;return e.list=[e.getLinePattern(1e3,45,1,6),e.getRectPattern(10,0,4),e.getLinePattern(1e3,-45,1,6),e.getCirclePattern(11,2,!0),e.getLinePattern(6,90,1),e.getRectPattern(12,45,6,!0),e.getLinePattern(6,0,1),e.getRectPattern(7,0,4),e.getLinePattern(1e3,45,2,3,"4,2"),e.getCirclePattern(9,3,!1),e.getLinePattern(1e3,-45,2,3,"4,2"),e.getRectPattern(10,45,Math.sqrt(50)),e.getLinePattern(1e3,-45,2,1),e.getRectPattern(10,0,9),e.getLinePattern(1e3,45,2,1),e.getLinePattern(1e3,0,3,1),e.getRectPattern(10,45,10),e.getLinePattern(1e3,90,3,1)],e.baseColor=i.getFor("stroke"),e.applyTheme(),e}
1return(0,d.C6)(e,t),e.prototype.getLinePattern=function(t,e,i,n,r){var s=new z;return s.width=t,s.height=t,s.stroke=this.baseColor,s.gap=n,s.strokeDasharray=r,s.strokeWidth=i,s.rotation=e,s},e.prototype.getRectPattern=function(t,e,i,n){var r=new U;return r.width=t,r.height=t,r.rectWidth=i,r.rectHeight=i,n?(r.stroke=this.baseColor,r.strokeWidth=1,r.fillOpacity=0):(r.fill=this.baseColor,r.strokeWidth=0),0!=e&&(r.shapeRendering="auto"),r.rotation=e,r},e.prototype.getCirclePattern=function(t,e,i){var n=new K;return n.width=t,n.height=t,n.shapeRendering="auto",n.radius=e,i?(n.stroke=this.baseColor,n.strokeWidth=1,n.fillOpacity=0):(n.fill=this.baseColor,n.strokeWidth=0),n},Object.defineProperty(e.prototype,"list",{get:function(){return this._list},set:function(t){this._list=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.next=function(){var t=this.getIndex(this.currentStep);return this._currentStep++,t},e.prototype.getIndex=function(t){for(;this.list.length<=t;)this.generatePatterns();return this.list[t].clone()},e.prototype.generatePatterns=function(){var t=this.list.length/(this._currentPass+1);this._currentPass++;for(var e=0;e<t;e++)this.list.push(this.list[e].clone())},e.prototype.reset=function(){this._currentStep=this._startIndex},Object.defineProperty(e.prototype,"currentStep",{get:function(){return this._currentStep},set:function(t){this._currentStep=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return this._startIndex},set:function(t){this._startIndex=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){t.prototype.processConfig.call(this,e)},e}(r.b);l.u.registeredClasses.PatternSet=te,i(91489);var ti=i(37688);function tn(){this._disposed=!1,this._disposers=[]}i(75300),i(22855),i(73228),i(99262),i(42969),tn.prototype.init=function(){},tn.prototype.isDisposed=function(){return this._disposed},tn.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;)t.shift().dispose()}},i(80999),i(85280),i(95026),i(17133);var tr=i(42736);i(13866),i(86432);var ts=i(35580);i(13318);var ta=function(t){function e(){var e=t.call(this)||this;e.className="AmChartsLogo",e.valign="bottom",e.opacity=.3,e.defaultState.properties.opacity=.4,e.url="https://www.amcharts.com/",e.urlTarget="_blank",e.showSystemTooltip=!0,e.readerTitle="Chart created using amCharts library",e.width=66,e.height=21,e.background.opacity=0;var i=(0,$.yW)("#474758");"#ffffff"==new S.T().getFor("background").alternative.hex&&(i=(0,$.yW)("#ffffff"));var n=new W.W;n.addColor(i),n.addColor(i,1,.75),n.addColor((0,$.yW)("#3cabff"),1,.755),n.rotation=-10;var r=e.createChild(O.W);r.shouldClone=!1,r.isMeasured=!1,r.segments=[[{x:15,y:15},{x:27,y:15},{x:36,y:6},{x:40.5,y:10.5},{x:45,y:6},{x:54,y:15},{x:60,y:15}]],r.strokeWidth=1.7999999999999998,r.tensionX=.8,r.tensionY=1,r.stroke=(0,$.yW)("#3cabff");var s=e.createChild(O.W);s.shouldClone=!1,s.isMeasured=!1,s.segments=[[{x:6,y:15},{x:15,y:15},{x:27,y:3.5999999999999996},{x:39.9,y:15},{x:51,y:15},{x:60,y:15}]],s.strokeWidth=1.7999999999999998,s.tensionX=.75,s.tensionY=1,s.stroke=n,e._disposers.push(s);var a=new Z.X;e.filters.push(a);var o=new Z.X;o.saturation=1;var l=e.states.create("hover");return l.properties.opacity=1,l.filters.push(o),e.applyTheme(),e}return(0,d.C6)(e,t),e}(a.m),to=i(13991);function tl(t,e){var i=c.V6(t),r=!1;if(i||((i=document.createElement("div")).style.width="200px",i.style.height="200px",i.style.top="0",i.style.left="0",i.style.visibility="hidden",i.style.position="absolute",document.body.appendChild(i),r=!0),i){i.innerHTML="";var s=new H.U(i),o=new B.t(s.SVGContainer,"svg-"+(H.v.length-1)),u=new a.m;u.htmlContainer=i,u.svgContainer=s,u.width=(0,I.KN)(100),u.height=(0,I.KN)(100),u.background.fillOpacity=0,u.paper=o,o.append(u.group),r&&c.Gc(function(){u.moveHtmlContainer(t)}),u.relativeWidth=1,u.relativeHeight=1,s.container=u;var p=u.createChild(e);p.topParent=u;var d=p.uid;l.u.invalidSprites[d]=[],l.u.invalidDatas[d]=[],l.u.invalidPositions[d]=[],l.u.invali
1dLayouts[d]=[],u.baseId=d,p.isBaseSprite=!0,p.focusFilter=new Q,l.u.baseSprites.push(p),l.u.baseSpritesByUid[d]=p,p.maskRectangle={x:0,y:0,width:Math.max(s.width||0,0),height:Math.max(s.height||0,0)},u.events.on("maxsizechanged",function(t){(0==t.previousWidth||0==t.previousHeight)&&u.deepInvalidate(),p.maskRectangle&&(p.maskRectangle={x:0,y:0,width:Math.max(s.width||0,0),height:Math.max(s.height||0,0)})});var g=null,y=function(){p.isDisposed()?g=null:null==c.Zn(p.dom)?(h.f.autoDispose?(u.htmlContainer=void 0,s.htmlElement=void 0,p.dispose()):to.i("Chart was not disposed",p.uid),g=null):g=window.setTimeout(y,1e3)};y(),p.addDisposer(new ti.W_(function(){null!==g&&clearTimeout(g),tr.TF(l.u.baseSprites,p),l.u.baseSpritesByUid[p.uid]=void 0})),p.addDisposer(u);var m=u.createChild(a.m);m.topParent=u,m.width=(0,I.KN)(100),m.height=(0,I.KN)(100),m.isMeasured=!1,u.tooltipContainer=m,p.tooltip=new L.m,p.tooltip.hide(0),p.tooltip.setBounds({x:0,y:0,width:m.maxWidth,height:m.maxHeight}),m.events.on("maxsizechanged",function(){f._W(p.tooltip).setBounds({x:0,y:0,width:m.maxWidth,height:m.maxHeight})},void 0,!1);var v=new k;if(v.events.on("inited",function(){v.__disabled=!0},void 0,!1),u.preloader=v,p instanceof a.m&&!p.hasLicense()){var b=m.createChild(ta);m.events.on("maxsizechanged",function(t){m.maxWidth<=100||m.maxHeight<=50?b.hide():(b.isHidden||b.isHiding)&&b.show()},void 0,!1),p.logo=b,b.align="left",b.valign="bottom"}if(ts.kH(p.numberFormatter),u.isStandaloneInstance=!0,h.f.onlyShowOnViewport)if(c.YG(i,h.f.viewportTarget))h.f.queue&&th(p);else{p.__disabled=!0,p.tooltipContainer.__disabled=!0;var _=[c.q2(window,"DOMContentLoaded",function(){tp(p)}),c.q2(window,"load",function(){tp(p)}),c.q2(window,"resize",function(){tp(p)}),c.q2(window,"scroll",function(){tp(p)})];if(h.f.viewportTarget)for(var x=f.cy(h.f.viewportTarget)?h.f.viewportTarget:h.f.viewportTarget?[h.f.viewportTarget]:[],P=0;P<x.length;P++){var C=x[P];_.push(c.q2(C,"resize",function(){tp(p)})),_.push(c.q2(C,"scroll",function(){tp(p)}))}var w=new ti.ZT(_);p.addDisposer(w),p.vpDisposer=w}else h.f.queue&&th(p);return p}throw n.q.log("html container not found"),Error("html container not found")}function th(t){-1==l.u.queue.indexOf(t)&&(t.__disabled=!0,t.tooltipContainer.__disabled=!0,t.events.disableType("appeared"),0==l.u.queue.length&&(l.u.events.once("exitframe",function(){td(t)}),n.q.requestFrame()),t.addDisposer(new ti.W_(function(){tu(t)})),l.u.queue.push(t))}
1function tu(t){var e=l.u.queue.indexOf(t);if(e>=0){l.u.queue.splice(l.u.queue.indexOf(t),1);var i=l.u.queue[e];i&&td(i)}}function tp(t){t.__disabled&&c.YG(t.htmlContainer,h.f.viewportTarget)&&(t.vpDisposer&&t.vpDisposer.dispose(),th(t))}function td(t){t&&t.tooltipContainer&&(t.__disabled=!1,t.tooltipContainer.__disabled=!1,t.events.enableType("appeared"),t.dispatch("removedfromqueue"),t.showOnInit&&t.events.on("appeared",function(){tu(t)}),t.vpDisposer&&t.vpDisposer.dispose(),t instanceof a.m&&t.invalidateLabels(),t.tooltipContainer&&t.tooltipContainer.invalidateLayout(),t instanceof s.u?(t.invalidateData(),t.reinit(),t.events.once("datavalidated",function(){t.showOnInit?t.appear():tu(t)})):(t.reinit(),t.events.once("inited",function(){tu(t)}),t.showOnInit&&t.appear()))}function tc(t,e){f.Kg(e)&&(f.a4(l.u.registeredClasses[e])?e=l.u.registeredClasses[e]:i=Error("Class ["+(e=l.u.registeredClasses.Container)+"] is not loaded."));var i,n=tl(t,e);return i&&n.raiseCriticalError(i),n}function tf(t,e,i){f.a4(i)||(i=t.type,delete t.type),f.a4(e)||(e=t.container,delete t.container),f.Kg(i)&&f.a4(l.u.registeredClasses[i])?n=l.u.registeredClasses[i]:"function"!=typeof i?(n=a.m,r=Error("Class ["+i+"] is not loaded.")):n=i;var n,r,s=tl(e,n);return r?s.raiseCriticalError(r):s.config=t,s}function tg(t){-1===l.u.themes.indexOf(t)&&l.u.themes.push(t)}function ty(){l.u.themes=[]}},19876:function(t,e){e.A={_decimalSeparator:".",_thousandSeparator:",",_date_millisecond:"mm::ss SSS",_date_second:"hh:mm:ss a",_date_minute:"hh:mm a",_date_hour:"hh:mm a",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""}},74703:function(t,e){e.A={_decimalSeparator:",",_thousandSeparator:" ",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"dd MMM",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"Ð
1½.Ñ.",_era_bc:"до н.Ñ.",A:"У",P:"Ð",AM:"ÑÑÑа",PM:"веÑеÑа","A.M.":"до полÑднÑ","P.M.":"поÑле полÑднÑ",January:"ÑнваÑÑ",February:"ÑевÑалÑ",March:"маÑÑа",April:"апÑелÑ",May:"маÑ",June:"иÑнÑ",July:"иÑлÑ",August:"авгÑÑÑа",September:"ÑенÑÑбÑÑ",October:"окÑÑбÑÑ",November:"ноÑбÑÑ",December:"декабÑÑ",Jan:"Ñнв.",Feb:"ÑевÑ.",Mar:"маÑÑ",Apr:"апÑ.","May(short)":"май",Jun:"иÑнÑ",Jul:"иÑлÑ",Aug:"авг.",Sep:"ÑенÑ.",Oct:"окÑ.",Nov:"ноÑб.",Dec:"дек.",Sunday:"воÑкÑеÑенÑе",Monday:"понеделÑник",Tuesday:"вÑоÑник",Wednesday:"ÑÑеда",Thursday:"ÑеÑвеÑг",Friday:"пÑÑниÑа",Saturday:"ÑÑббоÑа",Sun:"вÑ.",Mon:"пн.",Tue:"вÑ.",Wed:"ÑÑ.",Thu:"ÑÑ.",Fri:"пÑ.",Sat:"Ñб.",_dateOrd:function(t){return"-ое"},"Zoom Out":"УменÑÑиÑÑ",Play:"СÑаÑÑ",Stop:"СÑоп",Legend:"Ðегенда","Click, tap or press ENTER to toggle":"ЩелкниÑе, коÑниÑеÑÑ Ð¸Ð»Ð¸ нажмиÑе ÐÐÐÐ, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑеклÑÑиÑÑ",Loading:"ÐÐ´ÐµÑ Ð·Ð°Ð³ÑÑзка",Home:"ÐаÑало",Chart:"ÐÑаÑик","Serial chart":"СеÑÐ¸Ð¹Ð½Ð°Ñ Ð´Ð¸Ð°Ð³Ñамма","X/Y chart":"ÐиагÑамма X/Y","Pie chart":"ÐÑÑÐ³Ð¾Ð²Ð°Ñ Ð´Ð¸Ð°Ð³Ñамма","Gauge chart":"ÐаÑÑик-диагÑамма","Radar chart":"ÐепеÑÑÐºÐ¾Ð²Ð°Ñ Ð´Ð¸Ð°Ð³Ñамма","Sankey diagram":"ÐиагÑамма СÑнки","Chord diagram":"ÐиагÑамма Chord","Flow diagram":"ÐиагÑамма ÑлоÑ","TreeMap chart":"ÐеÑаÑÑ
иÑеÑÐºÐ°Ñ Ð´Ð¸Ð°Ð³Ñамма",Series:"СеÑиÑ","Candlestick Series":"СеÑиÑ-подÑвеÑник","Column Series":"СÑолбÑаÑÐ°Ñ ÑеÑиÑ","Line Series":"ÐÐ¸Ð½ÐµÐ¹Ð½Ð°Ñ ÑеÑиÑ","Pie Slice Series":"ÐÑÑÐ³Ð¾Ð²Ð°Ñ ÑеÑиÑ","X/Y Series":"X/Y ÑеÑиÑ",Map:"ÐаÑÑа","Press ENTER to zoom in":"ÐажмиÑе ÐÐÐÐ ÑÑÐ¾Ð±Ñ ÑвелиÑиÑÑ","Press ENTER to zoom out":"ÐажмиÑе ÐÐÐÐ ÑÑÐ¾Ð±Ñ ÑменÑÑиÑÑ","Use arrow keys to zoom in and out":"ÐÑполÑзÑйÑе клавиÑи-ÑÑÑелки ÑÑÐ¾Ð±Ñ ÑвелиÑиÑÑ Ð¸ ÑменÑÑиÑÑ","Use plus and minus keys on your keyboard to zoom in and out":"ÐÑполÑзÑйÑе клавиÑи плÑÑ Ð¸ минÑÑ Ð½Ð° клавиаÑÑÑе ÑÑÐ¾Ð±Ñ ÑвелиÑиÑÑ Ð¸ ÑменÑÑиÑÑ",Export:"ÐкÑпоÑÑиÑоваÑÑ",Image:"ÐзобÑажение",Data:"ÐаннÑе",Print:"ÐеÑаÑаÑÑ","Click, tap or press ENTER to open":"ЩелкниÑе, коÑниÑеÑÑ Ð¸Ð»Ð¸ нажмиÑе ÐÐÐÐ ÑÑÐ¾Ð±Ñ Ð¾ÑкÑÑÑÑ","Click, tap or press ENTER to print.":"ЩелкниÑе, коÑниÑеÑÑ Ð¸Ð»Ð¸ нажмиÑе ÐÐÐÐ ÑÑÐ¾Ð±Ñ ÑаÑпеÑаÑаÑÑ","Click, tap or press ENTER to export as %1.":"ЩелкниÑе, коÑниÑеÑÑ Ð¸Ð»Ð¸ нажмиÑе ÐÐÐÐ ÑÑÐ¾Ð±Ñ ÑкÑпоÑÑиÑоваÑÑ ÐºÐ°Ðº %1",'To save the image, right-click this link and choose "Save picture as..."':'ЧÑÐ¾Ð±Ñ ÑоÑ
ÑаниÑÑ Ð¸Ð·Ð¾Ð±Ñажение, ÑелкниÑе пÑавой кнопкой на ÑÑÑлке и вÑбеÑиÑе "СоÑ
ÑаниÑÑ Ð¸Ð·Ð¾Ð±Ñажение как..."','To save the image, right-click thumbnail on the left and choose "Save picture as..."':'ЧÑÐ¾Ð±Ñ ÑоÑ
ÑаниÑÑ Ð¸Ð·Ð¾Ð±Ñажение, ÑелкниÑе пÑавой кнопкой на каÑÑинке Ñлева и вÑбеÑиÑе "СоÑ
ÑаниÑÑ Ð¸Ð·Ð¾Ð±Ñажение как..."',"(Press ESC to close this message)":"(ÐажмиÑе ESC ÑÑÐ¾Ð±Ñ Ð·Ð°ÐºÑÑÑÑ ÑÑо ÑообÑение)","Image Export Complete":"ÐкÑпоÑÑ Ð¸Ð·Ð¾Ð±ÑÐ°Ð¶ÐµÐ½Ð¸Ñ Ð·Ð°Ð²ÐµÑÑен","Export operation took longer than expected. Something might have gone wrong.":"ÐкÑпоÑÑиÑование занÑло долÑÑе, Ñем планиÑовалоÑÑ. Ðозможно ÑÑо-Ñо поÑло не Ñак.","Saved from":"СоÑ
Ñанено из",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX","Use TAB to select grip buttons or left and right arrows to change selection":"ÐÑполÑзÑйÑе клавиÑÑ TAB, ÑÑÐ¾Ð±Ñ Ð²ÑбÑаÑÑ ÑÑкоÑÑки или клавиÑи ÑÑÑелок влево и впÑаво, ÑÑÐ¾Ð±Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ð²Ñделение","Use left and right arrows to move selection":"ÐÑполÑзÑйÑе ÑÑÑелки влево-впÑаво, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑедвинÑÑÑ Ð²Ñделение","Use left and right arrows to move left selection":"ÐÑполÑзÑйÑе ÑÑÑелки влево-впÑаво, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑедвинÑÑÑ Ð»ÐµÐ²Ð¾Ðµ вÑделение","Use left and right arrows to move right selection":"ÐÑполÑзÑйÑе ÑÑÑелки влево-впÑаво, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑедвинÑÑÑ Ð¿Ñавое вÑделение","Use TAB select grip buttons or up and down arrows to change selection":"ÐÑполÑзÑйÑе TAB, ÑÑÐ¾Ð±Ñ Ð²ÑбÑаÑÑ ÑÑкоÑÑки или клавиÑи ввеÑÑ
-вниз, ÑÑÐ¾Ð±Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ð²Ñделение","Use up and down arrows to move selection":"ÐÑполÑзÑйÑе ÑÑÑелки ввеÑÑ
-вниз, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑедвинÑÑÑ Ð²Ñделение","Use up and down arrows to move lower selection":"ÐÑполÑзÑйÑе ÑÑÑелки ввеÑÑ
-вниз, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑедвинÑÑÑ Ð½Ð¸Ð¶Ð½ÐµÐµ вÑделение","Use up and down arrows to move upper selection":"ÐÑполÑзÑйÑе ÑÑÑелки ввеÑÑ
-вниз, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑедвинÑÑÑ Ð²ÐµÑÑ
нее вÑделение","From %1 to %2":"ÐÑ %1 до %2","From %1":"ÐÑ %1","To %1":"Ðо %1","No parser available for file: %1":"ÐÐµÑ Ð°Ð½Ð°Ð»Ð¸Ð·Ð°ÑоÑа Ð´Ð»Ñ Ñайла: %1","Error parsing file: %1":"ÐÑибка пÑи ÑазбоÑе Ñайла: %1","Unable to load file: %1":"Ðе ÑдалоÑÑ Ð·Ð°Ð³ÑÑзиÑÑ Ñайл: %1","Invalid date":"ÐекоÑÑекÑÐ½Ð°Ñ Ð´Ð°Ñа"}},37747:function(t,e){e.A={_decimalSeparator:",",_thousandSeparator:"\xa0",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"Ð
1½. е.",_era_bc:"до н. е.",A:"дп",P:"пп",AM:"дп",PM:"пп","A.M.":"дп","P.M.":"пп",January:"ÑÑÑнÑ",February:"лÑÑого",March:"беÑезнÑ",April:"квÑÑнÑ",May:"ÑÑавнÑ",June:"ÑеÑвнÑ",July:"липнÑ",August:"ÑеÑпнÑ",September:"веÑеÑнÑ",October:"жовÑнÑ",November:"лиÑÑопада",December:"гÑÑднÑ",Jan:"ÑÑÑ.",Feb:"лÑÑ.",Mar:"беÑ.",Apr:"квÑÑ.","May(short)":"ÑÑав.",Jun:"ÑеÑв.",Jul:"лип.",Aug:"ÑеÑп.",Sep:"веÑ.",Oct:"жовÑ.",Nov:"лиÑÑ.",Dec:"гÑÑд.",Sunday:"недÑлÑ",Monday:"понедÑлок",Tuesday:"вÑвÑоÑок",Wednesday:"ÑеÑеда",Thursday:"ÑеÑвеÑ",Friday:"пʼÑÑниÑÑ",Saturday:"ÑÑбоÑа",Sun:"нд",Mon:"пн",Tue:"вÑ",Wed:"ÑÑ",Thu:"ÑÑ",Fri:"пÑ",Sat:"Ñб",_dateOrd:function(t){return""},"Zoom Out":"ÐаÑÑÑабÑваннÑ",Play:"ÐÑдÑвоÑÑваÑи",Stop:"ÐÑпинка",Legend:"Ðегенда","Click, tap or press ENTER to toggle":"",Loading:"ÐаванÑажÑÑÑÑÑÑ",Home:"Ðоловна ÑÑоÑÑнка",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"каÑÑа","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"ÐÑÑк",Image:"ÐобÑаженнÑ",Data:"ÐанÑ",Print:"ÐÑÑк","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"ÐÑд %1 до %2","From %1":"ÐÑд %1","To %1":"Ðо %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""}},99747:function(t,e,i){i.d(e,{A:function(){return r}});var n=i(31272),r=function(t){(0,n.is)(t,"SpriteState")&&(t.transitionDuration=400),(0,n.is)(t,"Component")&&(t.rangeChangeDuration=500,t.interpolationDuration=500,t.sequencedInterpolation=!1,(0,n.is)(t,"SankeyDiagram")&&(t.sequencedInterpolation=!0),(0,n.is)(t,"FunnelSeries")&&(t.sequencedInterpolation=!0)),(0,n.is)(t,"Chart")&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),(0,n.is)(t,"Tooltip")&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),(0,n.is)(t,"Scrollbar")&&(t.animationDuration=500),(0,n.is)(t,"Series")&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),(0,n.is)(t,"MapSeries")&&(t.hiddenState.properties.opacity=0),(0,n.is)(t,"PercentSeries")&&(t.hiddenState.properties.opacity=0),(0,n.is)(t,"FunnelSlice")&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),(0,n.is)(t,"Slice")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),(0,n.is)(t,"Preloader")&&(t.hiddenState.transitionDuration=2e3),(0,n.is)(t,"Column")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),(0,n.is)(t,"Column3D")&&(t.hiddenState.properties.opacity=0)}}
1,25154:function(t,e,i){i.d(e,{A:function(){return s}});var n=i(31272),r=i(88166),s=function(t){(0,n.is)(t,"ColorSet")&&(t.list=[(0,r.yW)("#283250"),(0,r.yW)("#902c2d"),(0,r.yW)("#d5433d"),(0,r.yW)("#f05440")],t.reuse=!1,t.stepOptions={lightness:.05,hue:0},t.passOptions={})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.