1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3875],{84245:(tt,k,m)=>{m.d(k,{L:()=>n,y:()=>f});var C=m(19845),B=m(23962),j=m(8136),L=m(5863),A=m(75080),D=m(63351),T=m(80383),x=m(61346),M=m(27481),_=m(9450),p=m(34430),u=m(17478),s=m(50954),i=m(89196),n=function(){function h(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return h.prototype.debug=function(){},Object.defineProperty(h.prototype,"uid",{get:function(){return this._uid||(this._uid=_.i.getUniqueId(),_.i.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"id",{get:function(){return this._id},set:function(o){this._id=o},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"map",{get:function(){return this._map||(this._map=new L.Xy),this._map},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"delayedMap",{get:function(){return this._delayedMap||(this._delayedMap=new L.Xy),this._delayedMap},enumerable:!0,configurable:!0}),h.prototype.addDelayedMap=function(o,a){var c=this.delayedMap;c.hasKey(a)||c.setKey(a,[]),c.getKey(a).push({property:o,target:this})},h.prototype.processDelayedMap=function(){var o=this;this.delayedMap.each(function(a,c){if(o.map.hasKey(a)){var d=o.map.getKey(a);u.each(c,function(r){r.target[r.property]=d}),o.delayedMap.removeKey(a)}})},h.prototype.applyTheme=function(){var o=this;if(_.i){var a=this.getCurrentThemes();a&&u.each(a,function(c,d){c(o)})}},Object.defineProperty(h.prototype,"themes",{get:function(){return this._themes},set:function(o){this._themes=o},enumerable:!0,configurable:!0}),h.prototype.getCurrentThemes=function(){return this.themes||_.i.themes},h.prototype.isDisposed=function(){return this._disposed},h.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var o=this._disposers;for(this._disposers=null;0!==o.length;)o.shift().dispose();this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var c=this._uid;null!=c&&_.i.map.removeKey(c)}},h.prototype.addDisposer=function(o){this._disposers.push(o)},h.prototype.removeDispose=function(o){if(!this._disposed){var a=u.indexOf(this._disposers,o);a>-1&&this._disposers.splice(a,1)}o.dispose()},h.prototype.clone=function(o){o||(o="clone-"+_.i.getUniqueId());var a=new this.constructor;return a.cloneId=o,a.copyFrom(this),a},Object.defineProperty(h.prototype,"clones",{get:function(){return this._clones||(this._clones=new B.aV),this._clones},enumerable:!0,configurable:!0}),h.prototype.copyFrom=function(o){o.clones.push(this),this.clonedFrom=o},Object.defineProperty(h.prototype,"className",{get:function(){return this._className},set:function(o){this._className=o},enumerable:!0,configurable:!0}),h.prototype.setCache=function(o,a,c){p.F.set(this.uid,o,a,c)},h.prototype.getCache=function(o,a){return void 0===a&&(a=void 0),p.F.get(this.uid,o,a)},h.prototype.clearCache=function(){p.F.clear(this.uid)},h.prototype.setTimeout=function(o,a){var c=this,d=setTimeout(function(){c.removeDispose(r),o()},a),r=new A.ku(function(){clearTimeout(d)});return this._disposers.push(r),r},h.prototype.setInterval=function(o,a){var c=this,d=setInterval(function(){c.removeDispose(r),o()},a),r=new A.ku(function(){clearTimeout(d)});return this._disposers.push(r),r},Object.defineProperty(h.prototype,"config",{set:function(o){try{this.processConfig(o)}catch(a){this.raiseCriticalError(a)}},enumerable:!0,configurable:!0}),h.prototype.processConfig=function(o){var a=this;if(o){var c=this;if(s.eachOrdered(o,function(r,b){var e,v=b;if("callback"==r&&"function"==typeof b&&b.call(c),a.hasProperty(r))if(!i.isObject(v)||!i.hasValue(v.type)||i.isObject(c[r])&&i.hasValue(c[r].className)&&!v.forceCreate&&c[r].className==v.type||a.asIs(r)?e=c[r]:(e=a.createClassInstance(v.type))?c[r]=e:e=c[r],e instanceof T.L1)a.processAdapters(e,v);else if(e instanceof D.p)a.processEvents(e,v);else if("locale"==r&&i.isString(v))window["am4lang_"+v]&&(c[r]=window["am4lang_"+v]);else if("parent"==r&&i.isString(v)){var g=a.map.getKey(v);g?c[r]=g:a.addDelayedMap("parent",v)}else if(a.asIs(r))c[r]=v;else if(a.asFunction(r)&&i.isString(v)){if(!i.hasValue(_.i.registeredClasses[v]))throw Error("Invalid easing function: "+v);c[r]=_.i.registeredClasses[v]}else if(v instanceof h)c[r]=v;else if(e instanceof h)e.config=v;else if(e instanceof B.o||e instanceof j.IK||e instanceof j.Rj){if(i.isArray(v))e instanceof B.o?a.processListTemplate(v,e):a.processOrderedTemplate(v,e);else if(i.isObject(v))if(v instanceof h)e.template=v;else{var P;P=i.hasValue(v.template)?v.template:v,e.template instanceof h?e.template.config=P:s.each(P,function(E,I){var W=e.template[E];W instanceof T.L1?a.processAdapters(W,I):W instanceof D.p?a.processEvents(W,I):W instanceof L.NE?a.processDictionaryTemplate(W,I):e.template[E]instanceof h?e.template[E].config=I:i.isObject(I
1)&&i.hasValue(I.type)?(W=a.createClassInstance(I.type))?(W instanceof h&&(W.config=I),e.template[E]=W):e.template[E]=I:W instanceof B.aV?a.processList(I,W):e.template[E]=a.maybeColorOrPercent(I)}),i.hasValue(v.values)&&(e instanceof B.o?a.processListTemplate(v.values,e):a.processOrderedTemplate(v.values,e))}}else e instanceof B.aV?"children"==r?a.processList(v,e,a):a.processList(v,e):e instanceof L.NE?a.processDictionaryTemplate(e,v):e instanceof L.Xy?a.processDictionary(e,v):e instanceof x.Il||e instanceof M.gG?c[r]=a.maybeColorOrPercent(v):i.isObject(e)&&i.isObject(v)?s.copyAllProperties(v,e):(v=a.maybeColorOrPercent(v),c[r]=v);else a.isReserved(r)||(c[r]=v)},this.configOrder),this.processingErrors.length){var d=this.processingErrors.join("\n");throw this._processingErrors=[],Error(d)}}},h.prototype.maybeColorOrPercent=function(o){if(i.isString(o)){if(o.match(/^[\-]?[0-9.]+\%$/))return(0,M.aQ)(i.toNumber(o));if(o.match(/^\#[0-9abcdef]{3,}$/i))return(0,x.$_)(o)}return o},h.prototype.processAdapters=function(o,a){var c=this;i.isArray(a)?u.each(a,function(d,r){o.add(d.key,d.callback,d.priority||0,c)}):i.isObject(a)&&s.each(a,function(d,r){o.has(d,r)||o.add(d,r)})},h.prototype.processEvents=function(o,a){var c=this;i.isArray(a)?u.each(a,function(d,r){o.on(d.type,d.callback,c)}):i.isObject(a)&&s.each(a,function(d,r){o.has(d,r)||o.on(d,r)})},h.prototype.processDictionaryTemplate=function(o,a){i.isObject(a)&&s.each(a,function(c,d){var r;(r="template"==c?o.template:o.hasKey(c)?o.getKey(c):o.create(c))instanceof h?r.config=d:i.isObject(r)&&i.isObject(d)?s.copyAllProperties(d,r):r.setKey(c,d)})},h.prototype.processDictionary=function(o,a){i.isObject(a)&&s.each(a,function(c,d){o.setKey(c,d)})},h.prototype.processListTemplate=function(o,a){var c=this;for(u.each(o,function(d,r){var v,b=c.getConfigEntryType(d);if(a.hasIndex(r)&&!d.forceCreate)v=a.getIndex(r);else{if(d instanceof h)return void a.push(d);v=b?a.create(b):a.create()}d===v||i.isObject(d)&&(v instanceof h?v.config=d:i.isObject(v)&&i.isObject(d)?s.copyAllProperties(d,v):a.setIndex(a.indexOf(v),d))});o.length>a.length;)a.pop()},h.prototype.processOrderedTemplate=function(o,a){var c=this;u.each(o,function(d,r){var v,b=c.getConfigEntryType(d);v=b?a.create(b):a.create(),i.isObject(d)&&(v instanceof h?v.config=d:i.isObject(v)&&i.isObject(d)?s.copyAllProperties(d,v):a.insert(d))})},h.prototype.processList=function(o,a,c){var d=this;i.isArray(o)||(o=[o]);var r=a.length,b=0;for(u.each(o,function(v,e){if(i.isObject(v)){var g=void 0;if(e<r&&!v.forceCreate)g=a.getIndex(e);else{if(v instanceof h)return void a.push(v);b++,g=d.createEntryInstance(v),c?g.parent=c:a.push(g)}g instanceof h?g.config=v:i.isObject(g)&&i.isObject(v)&&s.copyAllProperties(v,g)}else a.hasIndex(e)?a.setIndex(e,v):a.push(v)});!c&&o.length+b<a.length;)a.pop()},h.prototype.configOrder=function(o,a){return o==a?0:"language"==o?-1:"language"==a?1:0},h.prototype.asIs=function(o){return-1!=u.indexOf(["locale"],o)},h.prototype.asFunction=function(o){return!1},h.prototype.createClassInstance=function(o){if(i.hasValue(_.i.registeredClasses[o]))return new _.i.registeredClasses[o];throw Error('Invalid type: "'+o+'".')},h.prototype.createEntryInstance=function(o){var a;return i.hasValue(o.type)&&(a=this.createClassInstance(o.type)),a||o},h.prototype.getConfigEntryType=function(o){if(i.hasValue(o.type)){if(i.hasValue(_.i.registeredClasses[o.type]))return _.i.registeredClasses[o.type];throw Error('Invalid type: "'+o.type+'".')}},h.prototype.hasProperty=function(o){return o in this},h.prototype.isReserved=function(o){return-1!==["type","forceCreate"].indexOf(o)},Object.defineProperty(h.prototype,"processingErrors",{get:function(){return this._processingErrors||(this._processingErrors=[]),this._processingErrors},enumerable:!0,configurable:!0}),h}(),f=function(h){function o(){var a=h.call(this)||this;return a.className="BaseObjectEvents",a}return(0,C.ZT)(o,h),Object.defineProperty(o.prototype,"events",{get:function(){return this._eventDispatcher||(this._eventDispatcher=new D.p,this._disposers.push(this._eventDispatcher)),this._eventDispatcher},enumerable:!0,configurable:!0}),o.prototype.dispatch=function(a,c){this._eventDispatcher&&this.events.isEnabled(a)&&(c?(c.type=a,c.target=c.target||this,this.events.dispatch(a,{type:a,target:this})):this.events.dispatch(a,{type:a,target:this}))},o.prototype.dispatchImmediately=function(a,c){this._eventDispatcher&&this.events.isEnabled(a)&&(c?(c.type=a,c.target=c.target||this,this.events.dispatchImmediately(a,c)):this.events.dispatchImmediately(a,{type:a,target:this}))},o.prototype.copyFrom=function(a){h.prototype.copyFrom.call(this,a),a._eventDispatcher&&this.events.copyFrom(a._eventDispatcher)},o}(n)},33160:(tt,k,m)=>{m.d(k,{w:()=>a});var C=m(19845),B=m(6668),j=m(23962),L=m(8136),A=m(5863),D=m(75080),T=m(36438),x=m(59625),M=m(22964),_=m(49601),p=m(9450),u=m(90868),s=m(17478),i=m(71834),n=m(86234),f=m(43856),h=m(50954),o=m(89196),a=function(c){function d(){var r=c.call(this)||this;return r.dataFields={},r._dataSources={},r._parseDataFrom=0,r._dataDisposers=[],r._currentDataSetId="",r._start=0,r._end=1,r.ski
1pRangeEvent=!1,r.rangeChangeDuration=0,r.rangeChangeEasing=i.cubicOut,r.parsingStepDuration=50,r.dataInvalid=!1,r.rawDataInvalid=!1,r.dataRangeInvalid=!1,r.dataItemsInvalid=!1,r.interpolationDuration=0,r.interpolationEasing=i.cubicOut,r.sequencedInterpolation=!0,r.sequencedInterpolationDelay=0,r.dataValidationProgress=0,r._addAllDataItems=!0,r._usesData=!0,r.className="Component",r.minZoomCount=1,r.maxZoomCount=0,r._dataItems=new L.IK(r.createDataItem()),r._dataItems.events.on("inserted",r.handleDataItemAdded,r,!1),r._dataItems.events.on("removed",r.handleDataItemRemoved,r,!1),r._disposers.push(new j.zQ(r._dataItems)),r._disposers.push(r._dataItems.template),r.invalidateData(),r.dataUsers.events.on("inserted",r.handleDataUserAdded,r,!1),r._disposers.push(new D.FV(r._dataDisposers)),r._start=0,r._end=1,r.maxZoomDeclination=1,r.applyTheme(),r}return(0,C.ZT)(d,c),d.prototype.createDataItem=function(){return new _.z},d.prototype.handleDataUserAdded=function(r){r.newValue.dataProvider=this},d.prototype.handleDataItemValueChange=function(r,b){this.dataItemsInvalid||this.invalidateDataItems()},d.prototype.handleDataItemWorkingValueChange=function(r,b){},d.prototype.handleDataItemWorkingLocationChange=function(r,b){},d.prototype.handleDataItemCalculatedValueChange=function(r,b){},d.prototype.handleDataItemPropertyChange=function(r,b){},d.prototype.processDataItem=function(r,b){var v=this;if(r){b||(b={}),r.dataContext=b;var e=!1;h.each(this.dataFields,function(g,P){var E=g,I=b[P];if(v._adapterO&&v._adapterO.isEnabled("dataContextValue")&&(I=v._adapterO.apply("dataContextValue",{field:E,value:I,dataItem:r}).value),o.hasValue(I))if(e=!0,r.hasChildren[E]){var W=v.createDataItem();W.copyFrom(v.mainDataSet.template);var R=new L.IK(W);R.events.on("inserted",v.handleDataItemAdded,v,!1),R.events.on("removed",v.handleDataItemRemoved,v,!1),v._dataDisposers.push(new j.zQ(R));for(var Z=I.length,$=0;$<Z;$++){var Y=I[$],q=R.create();q.parent=r,v.processDataItem(q,Y)}r[E]=R}else r[E]=I}),h.each(this.propertyFields,function(g,P){var E=g,I=b[P];o.hasValue(I)&&(e=!0,r.setProperty(E,I))}),!this._addAllDataItems&&!e&&this.mainDataSet.remove(r)}},d.prototype.updateDataItem=function(r){var b=this;if(r){var v=r.dataContext;h.each(this.dataFields,function(e,g){var P=e,E=v[g];b._adapterO&&(E=b._adapterO.apply("dataContextValue",{field:P,value:E,dataItem:r}).value),o.hasValue(E)&&(r.hasChildren[P]?r[P].each(function(R){b.updateDataItem(R)}):r[P]=E)}),h.each(this.propertyFields,function(e,g){var P=e,E=v[g];o.hasValue(E)&&r.setProperty(P,E)})}},d.prototype.validateDataElements=function(){for(var r=this.endIndex,b=this.startIndex;b<r;b++){var v=this.dataItems.getIndex(b);v&&this.validateDataElement(v)}},d.prototype.validate=function(){this.validateDataElements(),c.prototype.validate.call(this)},d.prototype.validateDataElement=function(r){},d.prototype.addData=function(r,b,v){var e=this;if(!this.dataInvalid&&this.inited&&(this._parseDataFrom=this.data.length),v||(r instanceof Array?s.each(r,function(g){e.data.push(g)}):this.data.push(r)),this.inited)this.removeData(b,v);else if(o.isNumber(b))for(;b>0;)this.data.shift(),b--;this.invalidateData()},d.prototype.removeData=function(r,b){if(o.isNumber(r)&&r>0){for(;r>0;){var v=this.mainDataSet.getIndex(0);v&&this.mainDataSet.remove(v),this.dataUsers.each(function(e){if(!e.data||0==e.data.length){var g=e.mainDataSet.getIndex(0);g&&e.mainDataSet.remove(g)}}),b||this.data.shift(),this._parseDataFrom>0&&this._parseDataFrom--,r--}this.invalidateDataItems()}},d.prototype.invalidateData=function(){this.disabled||this.isTemplate||(p.i.addToInvalidComponents(this),M.B.requestFrame(),this.dataInvalid=!0,f.each(this.dataUsers.iterator(),function(r){r.invalidateDataItems()}))},d.prototype.invalidateDataUsers=function(){f.each(this.dataUsers.iterator(),function(r){r.invalidate()})},d.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(s.move(p.i.invalidDataItems,this),M.B.requestFrame(),this.dataItemsInvalid=!0,f.each(this.dataUsers.iterator(),function(r){r.invalidateDataItems()}))},d.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,s.move(p.i.invalidDataRange,this),M.B.requestFrame())},d.prototype.validateDataRange=function(){s.remove(p.i.invalidDataRange,this),this.dataRangeInvalid=!1,(this.startIndex!=this._prevStartIndex||this.endIndex!=this._prevEndIndex)&&(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},d.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},d.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},d.prototype.appendDataItems=function(){for(var r=this.endIndex,b=this.startIndex;b<r;b++)(v=this.dataItems.getIndex(b))&&(v.__disabled=!1);for(b=0;b<this.startIndex;b++)(v=this.dataItems.getIndex(b))&&(v.__disabled=!0);for(b=this.endIndex;b<this.dataItems.length;b++){var v;(v=this.dataItems.getIndex(b))&&(v.__disabled=!0)}},d.prototype.invalidateRawData=function(){this.disabled||this.isTemplate||(s.move(p.i.invalidRawDatas,this),M.B.requestFrame(),this.rawDataInvalid=!0,f.each(this.dataUsers.iterator(),function(r){r.invalidateRawData()}))},d.prototype.validateRawData=function(){var r=this;s.remove(p.i.invalidRawDatas,this),f.each(this.mainDataSet.iterator(),function(b){b&&r.updateDataItem(b)})},d.prototype.dispose=function(){var r=this;this.mainDataSet.template.clones.clear(),h.each(this._dataSources,function(b,v){r.removeDispose(v)}),this.disposeData(),c.prototype.dispose.call(this)},d.prototype.disposeData=function(){this.mainDataSet.template.clones.clear(),s.each(this._dataDisposers,function(r){r.dispose()}),f.each(this.dataUsers.iterator(),function(r){r.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()},d.prototype.getDataItem=function(r){return this.mainDataSet.create()},d.prototype.validateData=function(){if(this.dispatchImmediately("beforedatavalidated"),this.dataInvalid=!1,p.i.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&&(this._data=this.dataItem.dataContext[this.dataFields.data]),0===this._parseDataFrom&&this.data.length>0&&this.disposeData(),this.data.length>0){var b=this.preloader;f.each(this.dataUsers.iterator(),function(R){R._startIndex=void 0,R._endIndex=void 0});for(var v=0,e=Date.now(),g=this._parseDataFrom,P=this.data.length,E=function(){var R=I.data[g];if(I._usesData){var Z=I.getDataItem(R);I.processDataItem(Z,R)}if(I.dataUsers.each(function(Y){if(0==Y.data.length){var q=Y.getDataItem(R);Y.processDataItem(q,R)}}),100==++v&&(v=0,Date.now()-e>I.parsingStepDuration&&g<I.data.length-10))return I._parseDataFrom=g+1,b&&(g/I.data.length>.5&&!b.visible||(b.progress=g/I.data.length)),I.dataValidationProgress=g/I.data.length,g=I.data.length,I.invalidateData(),{value:void 0}},I=this;g<P;g++){var W=E();if("object"==typeof W)return W.value}b&&(b.progress=1),this.dataUsers.each(function(R){(R.hidden||R.appeared&&!R.visible&&R.stacked)&&R.hide(0)})}this.dataValidationProgress=1,this._parseDataFrom=0,this.invalidateDataItems(),this._internalDefaultsApplied||this.applyInternalDefaults(),this.dispatch("datavalidated")}},d.prototype.validateDataItems=function(){s.remove(p.i.invalidDataItems,this),this.dataItemsInvali
1d=!1,this.invalidateDataRange(),this.invalidate(),this.dispatch("dataitemsvalidated")},Object.defineProperty(d.prototype,"data",{get:function(){return this._data||(this._data=[]),this._adapterO?this._adapterO.apply("data",this._data):this._data},set:function(r){this.setData(r)},enumerable:!0,configurable:!0}),d.prototype.setData=function(r){this.isDisposed()||(this._parseDataFrom=0,this.disposeData(),this._data=r,r&&r.length>0?this.invalidateData():(this.dispatchImmediately("beforedatavalidated"),this.dispatch("datavalidated")))},d.prototype.getDataSource=function(r){var b=this;return o.hasValue(this._dataSources[r])||(this._dataSources[r]=new T.o,this._dataSources[r].component=this,this.setDataSourceEvents(this._dataSources[r],r),this._dataSources[r].adapter.add("dateFields",function(v){return b.dataSourceDateFields(v)}),this._dataSources[r].adapter.add("numberFields",function(v){return b.dataSourceNumberFields(v)}),this.events.on("inited",function(){b.loadData(r)},this,!1)),this._dataSources[r]},Object.defineProperty(d.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(r){var b=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=r,this._dataSources.data.component=this,this.events.on("inited",function(){b.loadData("data")},this,!1),this.setDataSourceEvents(r,"data")},enumerable:!0,configurable:!0}),d.prototype.loadData=function(r){this._dataSources[r].load()},d.prototype.dataSourceDateFields=function(r){return r},d.prototype.dataSourceNumberFields=function(r){return r},d.prototype.populateDataSourceFields=function(r,b,v){return s.each(v,function(e){b[e]&&-1===s.indexOf(r,b[e])&&r.push(b[e])}),r},d.prototype.setDataSourceEvents=function(r,b){var v=this;r.events.on("started",function(e){var g=v.preloader;g&&(g.progress=0)},void 0,!1),r.events.on("loadstarted",function(e){var g=v.preloader;g&&(g.progress=.25)},void 0,!1),r.events.on("loadended",function(e){var g=v.preloader;g&&(g.progress=.5)},void 0,!1),r.events.on("parseended",function(e){var g=v.preloader;g&&(g.progress=.75)},void 0,!1),r.events.on("ended",function(e){var g=v.preloader;g&&(g.progress=1)},void 0,!1),r.events.on("error",function(e){var g=v.preloader;g&&(g.progress=1),v.openModal(e.message)},void 0,!1),b&&r.events.on("done",function(e){var g=v.preloader;g&&(g.progress=1),"data"==b&&!o.isArray(e.data)&&(e.data=[e.data]),r.incremental&&"data"==b&&v.data.length?v.addData(e.data,r.keepCount?e.data.length:0):r.updateCurrentData&&"data"==b&&v.data.length?(s.each(v.data,function(P,E){o.hasValue(e.data[E])&&h.each(P,function(I,W){o.hasValue(e.data[E][I])&&(P[I]=e.data[E][I])})}),v.invalidateRawData()):v[b]=e.data})},Object.defineProperty(d.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new x.Et,this._responsive.component=this),this._responsive},set:function(r){this._responsive=r,this._responsive.component=this},enumerable:!0,configurable:!0}),d.prototype.zoom=function(r,b,v,e){var g=this;void 0===b&&(b=!1),void 0===v&&(v=!1);var P=r.start,E=r.end,I=r.priority;if(r.start==r.end&&(r.start=r.start-.5/this.maxZoomFactor,r.end=r.end+.5/this.maxZoomFactor),"end"==I&&1==E&&0!=P&&P<this.start&&(I="start"),"start"==I&&0==P&&E>this.end&&(I="end"),o.isNumber(e)||(e=this.maxZoomDeclination),!o.isNumber(P)||!o.isNumber(E))return{start:this.start,end:this.end};if(this._finalStart!=P||this._finalEnd!=E){var W=this.maxZoomFactor/this.minZoomCount,R=this.maxZoomFactor/this.maxZoomCount;if("start"==I?(this.maxZoomCount>0&&1/(E-P)<R&&(E=P+1/R),1/(E-P)>W&&(E=P+1/W),E>1&&E-P<1/W&&(P=E-1/W)):(this.maxZoomCount>0&&1/(E-P)<R&&(P=E-1/R),1/(E-P)>W&&(P<=0?E=P+1/W:P=E-1/W),P<0&&E-P<1/W&&(E=P+1/W)),P<-e&&(P=-e),1/(E-P)>W&&(E=P+1/W),E>1+e&&(E=1+e),1/(E-P)>W&&(P=E-1/W),this._finalEnd=E,this._finalStart=P,this.skipRangeEvent=b,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!v){var Z=this.rangeChangeAnimation;if(Z&&Z.progress<1){var $=Z.animationOptions;if($.length>1){if($[0].to==P&&$[1].to==E)return{start:P,end:E};Z.isDisposed()||Z.stop()}}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),Z=this.animate([{property:"start",to:P},{property:"end",to:E}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=Z,Z&&!Z.isFinished()?Z.events.on("animationended",function(){g.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=P,this.end=E,this.dispatch("rangechangeended")}return{start:P,end:E}},d.prototype.zoomToIndexes=function(r,b,v,e){o.isNumber(r)&&o.isNumber(b)&&this.zoom({start:r/this.dataItems.length,end:b/this.dataItems.length},v,e)},Object.defineProperty(d.prototype,"zoomFactor",{get:function(){return u.fitToRange(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")}
1,set:function(r){this.setPropertyValue("maxZoomFactor",r)&&(1==r&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(r){this.setPropertyValue("maxZoomDeclination",r)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"startIndex",{get:function(){return o.isNumber(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(r){this._startIndex=u.fitToRange(Math.round(r),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),d.prototype.indexToPosition=function(r){return r/this.dataItems.length},Object.defineProperty(d.prototype,"endIndex",{get:function(){var r=this.dataItems.length;return(!o.isNumber(this._endIndex)||this._endIndex>r)&&(this._endIndex=r),this._endIndex},set:function(r){this._endIndex=u.fitToRange(Math.round(r),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"start",{get:function(){return this._adapterO?this._adapterO.apply("start",this._start):this._start},set:function(r){if(this._start!=r){this._start=r;var b=Math.max(0,Math.floor(this.dataItems.length*r)||0);this._startIndex=Math.min(b,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"end",{get:function(){return this._adapterO?this._adapterO.apply("end",this._end):this._end},set:function(r){this._end!=r&&(this._end=r,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*r)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),d.prototype.removeFromInvalids=function(){c.prototype.removeFromInvalids.call(this),p.i.removeFromInvalidComponents(this),s.remove(p.i.invalidDataItems,this),s.remove(p.i.invalidDataRange,this),s.remove(p.i.invalidRawDatas,this)},Object.defineProperty(d.prototype,"dataItems",{get:function(){if(""!=this._currentDataSetId){var r=this.dataSets.getKey(this._currentDataSetId);if(r)return r}return this._dataItems},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataSets",{get:function(){return this._dataSets||(this._dataSets=new A.Xy),this._dataSets},enumerable:!0,configurable:!0}),d.prototype.setDataSet=function(r){if(this._currentDataSetId!=r){if(this.dataSets.getKey(r))return this.dataItems.each(function(v){v.__disabled=!0}),this._currentDataSetId=r,this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(v){v.__disabled=!1}),!0;if(""!=this._currentDataSetId)return this.dataItems.each(function(v){v.__disabled=!0}),this._currentDataSetId="",this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(v){v.__disabled=!1}),!0}return!1},Object.defineProperty(d.prototype,"currentDataSetId",{get:function(){return this._currentDataSetId},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"mainDataSet",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),d.prototype._updateDataItemIndexes=function(r){for(var b=this.mainDataSet.values,v=b.length,e=r;e<v;++e)b[e]._index=e},d.prototype.handleDataItemAdded=function(r){r.newValue.component=this,this._updateDataItemIndexes(r.index),this.dataItemsInvalid||this.invalidateDataItems()},d.prototype.handleDataItemRemoved=function(r){this._updateDataItemIndexes(r.index),this.dataItemsInvalid||this.invalidateDataItems()},d.prototype.bindDataField=function(r,b){this.dataFields[r]=b,this.invalidateDataRange()},d.prototype.invalidateProcessedData=function(){this.resetProcessedRange(),this.invalidateDataRange()},d.prototype.resetProcessedRange=function(){this._prevEndIndex=null,this._prevStartIndex=null},Object.defineProperty(d.prototype,"dataUsers",{get:function(){var r=this;return this._dataUsers||(this._dataUsers=new j.aV,this._disposers.push(new D.ku(function(){f.each(r._dataUsers.iterator(),function(b){b.dispose()})}))),this._dataUsers},enumerable:!0,configurable:!0}),d.prototype.clone=function(){var r=c.prototype.clone.call(this);return r.dataFields=n.copyProperties(this.dataFields,{}),r},d.prototype.copyFrom=function(r){c.prototype.copyFrom.call(this,r),this.data=r.data,this.sequencedInterpolation=r.sequencedInterpolation,this.sequencedInterpolationDelay=r.sequencedInterpolationDelay,this.interpolationDuration=r.interpolationDuration,this.interpolationEasing=r.interpolationEasing},d.prototype.reinit=function(){this._inited=!1,this.deepInvalidate()},d.prototype.getExporting=function(){var r=c.prototype.getExporting.call(this);return r.adapter.has("data",this._exportData,-1,this)||(r.adapter.add("data",this._exportData,-1,this),this.events.on("datavalidated",function(b){r.handleDataUpdated()})),r},d.prototype._exportData=function(r){return r.data=this.data,r},d.prototype.setDisabled=function(r){var b=c.prototype.setDisabled.call(this,r);return b&&this.invalidateData(),b},d.prototype.setShowOnInit=function(r){r!=this.getPropertyValue("showOnInit")&&(!r||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))),c.prototype.setShowOnInit.call(this,r)},d.prototype.setBaseId=function(r){r!=this._baseId&&this.dataInvalid&&(this.dataInvalid=!1,p.i.removeFromInvalidComponents(this),this._baseId=r,this.invalidateData()),c.prototype.setBaseId.call(this,r)},Object.defineProperty(d.prototype,"minZoomCount",{get:function(){return this.getPropertyValue("minZoomCount")}
1,set:function(r){this.setPropertyValue("minZoomCount",r)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxZoomCount",{get:function(){return this.getPropertyValue("maxZoomCount")},set:function(r){this.setPropertyValue("maxZoomCount",r)},enumerable:!0,configurable:!0}),d.prototype._systemCheckIfValidate=function(){return!(this.dataInvalid||this.dataProvider&&this.dataProvider.dataInvalid)},d.prototype.asFunction=function(r){return"interpolationEasing"==r||"rangeChangeEasing"==r||c.prototype.asIs.call(this,r)},d}(B.W);p.i.registeredClasses.Component=a},6668:(tt,k,m)=>{m.d(k,{W:()=>a});var C=m(19845),B=m(31991),j=m(47936),L=m(23962),A=m(75080),D=m(5863),T=m(23282),x=m(85044),M=m(27481),_=m(9450),p=m(94131),u=m(43856),s=m(17478),i=m(90868),n=m(89196),f=m(47744),h=m(22964),o=m(15241),a=function(c){function d(){var r=c.call(this)||this;return r._childrenByLayout=[],r._childrenDisposers=new D.Xy,r.hasFocused=!1,r.setStateOnSprites=[],r.layoutInvalid=!1,r._absoluteWidth=0,r._absoluteHeight=0,r._shouldBeReady=[],r._tapToActivate=!1,r.tapTimeout=3e3,r.className="Container",r._element=r.paper.addGroup("g"),r.group.add(r.element),r.setPropertyValue("pixelPerfect",!1),r.setPropertyValue("layout","absolute"),r.setPropertyValue("fixedWidthGrid",!1),r.setPropertyValue("verticalCenter","none"),r.setPropertyValue("horizontalCenter","none"),r._positionPrecision=4,r._disposers.push(new D.a7(r._childrenDisposers)),r.children.events.on("inserted",r.handleChildAdded,r),r.children.events.on("removed",r.handleChildRemoved,r),r.applyTheme(),r}return(0,C.ZT)(d,c),d.prototype.handleChildAdded=function(r){this.processChild(r.newValue)},d.prototype.processChild=function(r){try{this._childrenDisposers.insertKey(r.uid,new A.FV([r.events.on("transformed",this.handleChildTransform,this),r.events.on("zIndexChanged",this.sortAndAdd,this)]))}catch{}this.element&&this.element.add(r.group),r.parent=this,r.paper=this.paper,this.dispatchImmediately("childadded",{type:"childadded",newValue:r}),this.invalidate()},d.prototype.sortAndAdd=function(){this.sortChildren(),this.addChildren()},d.prototype.handleChildRemoved=function(r){var b=r.oldValue;this._childrenDisposers.removeKey(b.uid),this.element&&this.element.removeElement(b.group),b.isMeasured&&this.invalidateLayout(),this.dispatchImmediately("childremoved",{type:"childremoved",oldValue:b})},d.prototype.handleChildTransform=function(r){r.target.isMeasured&&this.invalidateLayout()},d.prototype.invalidateLayout=function(){this.layoutInvalid||this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||(this.layoutInvalid=!0,_.i.addToInvalidLayouts(this),h.B.requestFrame())},d.prototype.invalidate=function(){c.prototype.invalidate.call(this),this.invalidateLayout()},d.prototype.deepInvalidate=function(){c.prototype.invalidate.call(this),s.each(this._childrenByLayout,function(r){r instanceof d?r.deepInvalidate():r.invalidate()}),this.invalidateLayout()},Object.defineProperty(d.prototype,"children",{get:function(){return this._children||(this._children=new L.aV),this._children},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(r){this.setPropertyValue("minWidth",r)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(r){this.setPropertyValue("minHeight",r)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),d.prototype.removeElement=function(){},d.prototype.sortChildren=function(){var r=this;if(this._childrenByLayout=[],"none"!=this.layout&&"absolute"!=this.layout&&this.layout){var b=[],v=[];u.each(this.children.iterator(),function(e){"horizontal"==r.layout||"grid"==r.layout?n.isNumber(e.percentWidth)?v.push(e):b.push(e):"vertical"==r.layout&&n.isNumber(e.percentHeight)?v.push(e):b.push(e)}),this._childrenByLayout=b.concat(v)}else this._childrenByLayout=this.children.values;this.calculateRelativeSize()},d.prototype.calculateRelativeSize=function(){var r=this,b=0,v=0;s.each(this._childrenByLayout,function(e){e.isMeasured&&(n.isNumber(e.percentWidth)&&(b+=e.percentWidth),n.isNumber(e.percentHeight)&&(v+=e.percentHeight))}),s.each(this._childrenByLayout,function(e){e.isMeasured&&("horizontal"==r.layout&&(n.isNumber(e.percentWidth)&&(e.relativeWidth=e.percentWidth/b),n.isNumber(e.percentHeight)&&(e.relativeHeight=e.percentHeight/100)),"vertical"==r.layout&&(n.isNumber(e.percentHeight)&&(e.relativeHeight=e.percentHeight/v),n.isNumber(e.percentWidth)&&(e.relativeWidth=e.percentWidth/100)),"grid"==r.layout&&(n.isNumber(e.percentHeight)&&(e.relativeHeight=e.percentHeight/100),n.isNumber(e.percentWidth)&&(e.relativeWidth=e.percentWidth/100))),("absolute"==r.layout||!e.isMeasured)&&(n.isNumber(e.percentWidth)&&(e.relativeWidth=e.percentWidth/100),n.isNumber(e.percentHeight)&&(e.relativeHeight=e.percentHeight/100))})},d.prototype.addChildren=function(){if(this.element){var r=s.copy(this.children.values),b=r.map(function(E,I){return{idx:I,data:E}});
1b.sort(function(E,I){var W=E.data.zIndex||0,R=I.data.zIndex||0;return W<R?-1:W>R?1:E.idx-I.idx}),r=b.map(function(E){return E.data});var v=this.element,e=!0;if(v.node&&v.node.childNodes)for(var g=0,P=v.node.childNodes.length;g<P;g++)if(v.node.childNodes[g]!=r[g].group.node){e=!1;break}e||(s.each(r,function(E){E.group&&v.add(E.group)}),this._background&&this.group.addToBack(this._background.group),this.invalidateLayout())}},d.prototype.createChild=function(r){var b=new r;return b.parent=this,b},d.prototype.removeChildren=function(){for(;this.children.length>0;){var r=this.children.getIndex(0);r.parent=void 0,this.children.removeValue(r)}},d.prototype.disposeChildren=function(){for(;this.children.length>0;){var r=this.children.getIndex(0);r.dispose(),this.children.removeValue(r)}},Object.defineProperty(d.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(r){this._background&&this.background!=r&&this.removeDispose(this._background),r&&(this._background=r,this._disposers.push(r),this.processBackground())},enumerable:!0,configurable:!0}),d.prototype.handleGlobalScale=function(){c.prototype.handleGlobalScale.call(this),this.children.each(function(r){r.handleGlobalScale()})},d.prototype.createBackground=function(){return new x.A},d.prototype.processBackground=function(){var r=this._background;r&&(r.isMeasured=!1,this._background.fill=(new p.h).getFor("background"),r.parent=this,r.isMeasured=!1,this.children.removeValue(r),this._disposers.push(r),this.group.addToBack(this._background.group))},d.prototype.validateLayout=function(){var r=this;_.i.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var b=0,v=0,e=!0;this.children&&(this.sortChildren(),s.each(this._childrenByLayout,function(g){var P,E;if(n.isNumber(g.relativeWidth)?(P=i.round(r._availableWidth*g.relativeWidth,2),"horizontal"==r.layout&&(P-=g.pixelMarginRight+g.pixelMarginLeft)):"horizontal"==r.layout&&g.invalid&&g.validate(),n.isNumber(g.relativeHeight)?(E=i.round(r._availableHeight*g.relativeHeight,2),"vertical"==r.layout&&(E-=g.pixelMarginTop+g.pixelMarginBottom)):"vertical"==r.layout&&g.invalid&&g.validate(),0==g.invalid){if(n.isNumber(g.relativeWidth)&&(g.maxWidth=P),n.isNumber(g.relativeHeight)&&(g.maxHeight=E),g.isMeasured){"horizontal"==r.layout&&(n.isNumber(g.percentWidth)||g.measuredWidth>0&&(r._availableWidth-=g.measuredWidth+g.pixelMarginLeft+g.pixelMarginRight)),"vertical"==r.layout&&(n.isNumber(g.percentHeight)||g.measuredHeight>0&&(r._availableHeight-=g.measuredHeight+g.pixelMarginTop+g.pixelMarginBottom));var I=g.measuredWidth,W=g.measuredHeight;"none"!=g.align&&(I+=g.pixelMarginLeft+g.pixelMarginRight),"none"!=g.valign&&(W+=g.pixelMarginTop+g.pixelMarginBottom),b=Math.max(b,I),v=Math.max(v,W)}}else g.isMeasured&&(n.isNumber(g.relativeWidth)&&g.maxWidth!=P&&(g.maxWidth=P,e=!1),n.isNumber(g.relativeHeight)&&g.maxHeight!=E&&(g.maxHeight=E,e=!1))})),this._absoluteWidth=b,this._absoluteHeight=v,e&&this.arrange()},d.prototype.arrange=function(){var E,I,W,R,S,F,V,et,rt,at,st,r=this,b=this.children,v=0,e=0,g=i.max(this.innerWidth,this._absoluteWidth),P=i.max(this.innerHeight,this._absoluteHeight),Z=this.pixelPaddingLeft,$=this.pixelPaddingRight,Y=this.pixelPaddingTop,q=this.pixelPaddingBottom,it=0,K=0,l=0,t=0,y=[],O=[],w=this.maxWidth,U=this.maxHeight,N=this.minWidth,z=this.minHeight,G=s.copy(b.values);if(this.reverseOrder&&G.reverse(),"grid"==this.layout){F=w,S=1;for(var X=0,J=G.length;X<J;X++)if((H=G[X]).isMeasured&&!H.disabled&&!H.__disabled){var Q=H.measuredWidth;Q<F&&(F=Q),Q>S&&(S=Q)}F=i.fitToRange(F,1,w),S=i.fitToRange(S,1,w),V=this.fixedWidthGrid?w/S:w/F,V=i.max(1,Math.floor(V)),V=i.min(this.maxColumns,V),y=this.getColumnWidth(G,V,S)}for(X=0,J=G.length;X<J;X++){var H;if(!(H=G[X]).isMeasured||H.disabled||H.__disabled)H.validatePosition();else{var nt=void 0,ot=void 0,ht=H.pixelMarginLeft,pt=H.pixelMarginRight,dt=H.pixelMarginTop,gt=H.pixelMarginBottom,St=H.measuredWidth,_t=H.measuredHeight,mt=void 0,yt=void 0,vt=void 0,bt=void 0;switch(this.layout){case"none":break;case"absolute":switch(H.align){case"left":nt=ht-H.maxLeft;break;case"center":nt=(g-St)/2-H.maxLeft;break;case"right":nt=g-pt-H.maxRight;break;default:H.x instanceof M.gG||(nt=H.pixelX)}switch(H.valign){case"top":ot=dt-H.maxTop;break;case"middle":ot=(P-_t)/2-H.maxTop;break;case"bottom":ot=P-gt-H.maxBottom;break;default:H.y instanceof M.gG||(ot=H.pixelY)}break;case"vertical":switch(H.align){case"left":nt=ht-H.maxLeft;break;case"center":nt=(g-St)/2-H.maxLeft;break;case"right":nt=g-pt-H.maxRight;break;default:nt=H.pixelX}
1K=(ot=K+dt-H.maxTop)+H.maxBottom+gt;break;case"horizontal":switch(H.valign){case"top":ot=dt-H.maxTop;break;case"middle":ot=(P-_t)/2-H.maxTop;break;case"bottom":ot=P-gt-H.maxBottom;break;default:ot=H.pixelY}it=(nt=it+ht-H.maxLeft)+H.maxRight+pt;break;case"grid":switch(nt=it+ht-H.maxLeft,H.valign){case"top":ot=K+dt-H.maxTop;break;case"middle":ot=K+(P-_t)/2-H.maxTop;break;case"bottom":ot=K+P-gt-H.maxBottom;break;default:ot=K-H.maxTop}it+=y[t],O[l]=i.max(O[l],_t);var Mt=y[++t];if(n.isNumber(Mt)||(Mt=S),it>i.min(this.innerWidth,w)-Mt+1&&t<V){V=t,it=0,K=0,l=0,t=0,y=this.getColumnWidth(G,V,S),O=[],X=-1;continue}t>=V&&(t=0,K+=O[l],l++,it=0)}"none"!==this.layout&&(H.moveTo({x:nt,y:ot}),mt=nt+H.maxLeft-ht,vt=ot+H.maxTop-dt,bt=ot+H.maxBottom+gt,((yt=nt+H.maxRight+pt)>I||!n.isNumber(I))&&(I=yt),(mt<E||!n.isNumber(E))&&(E=mt),(vt<W||!n.isNumber(W))&&(W=vt),(bt>R||!n.isNumber(R))&&(R=bt),(yt>rt||!n.isNumber(rt))&&(rt=yt),(mt<et||!n.isNumber(et))&&(et=mt),(vt<at||!n.isNumber(at))&&(at=vt),bt>st||n.isNumber(st))}}if("none"==this.layout){var ft=this.bbox;E=ft.x,I=ft.x+ft.width,W=ft.y,R=ft.y+ft.height}n.isNumber(E)||(E=0,et=0),n.isNumber(I)||(rt=I=this._availableWidth),n.isNumber(W)||(W=0,at=0),n.isNumber(R)||(st=R=this._availableHeight),n.isNumber(at)||(at=0),n.isNumber(st)||(st=at),n.isNumber(et)||(et=0),n.isNumber(rt)||(rt=et),v=I-E,e=R-W,n.isNumber(this.relativeWidth)&&(E=0,I=v=w-Z-$),n.isNumber(this.relativeHeight)&&(W=0,R=e=U-Y-q),n.isNumber(this._pixelWidth)&&(E=0,v=this._pixelWidth-Z-$),n.isNumber(N)&&v<N&&(E=0,v=this.minWidth-Z-$),n.isNumber(this._pixelHeight)&&(W=0,e=this._pixelHeight-Y-q),n.isNumber(z)&&e<z&&(W=0,e=z-Y-q);var Pt=rt-et,Ot=st-at;if("none"!=this.layout&&(this.contentAlign||this.contentValign)&&b.length>0){var Et,Dt,xt=v,Tt=e;xt<Pt&&(xt=Pt),Tt<Ot&&(Tt=Ot),"center"==this.contentAlign&&(Et=(xt-Pt)/2),"right"==this.contentAlign&&(Et=xt-Pt),"middle"==this.contentValign&&(Dt=(Tt-Ot)/2),"bottom"==this.contentValign&&(Dt=Tt-Ot),n.isNumber(Et)&&u.each(b.iterator(),function(lt){var ct=lt.maxLeft,ut=Et;"horizontal"==r.layout&&(lt.x=lt.pixelX+ut),"grid"==r.layout&&(lt.x=lt.pixelX+ut),"vertical"==r.layout&&(ut+=lt.pixelMarginLeft,"none"==lt.align&&(lt.x=ut-ct)),"absolute"==r.layout&&(ut+=lt.pixelMarginLeft,"none"==lt.align&&(lt.x=ut-ct))}),n.isNumber(Dt)&&u.each(b.iterator(),function(lt){var ct=lt.maxTop,ut=Dt;"horizontal"==r.layout&&(ut+=lt.pixelMarginTop,"none"==lt.valign&&(lt.y=ut-ct)),"grid"==r.layout&&(lt.y=(ut+=lt.pixelMarginTop)-ct),"vertical"==r.layout&&(lt.y=lt.pixelY+ut),"absolute"==r.layout&&(ut+=lt.pixelMarginTop,"none"==lt.valign&&(lt.y=ut-ct))})}var Ct=this.bbox;v=i.max(v,N),e=i.max(e,z),this.contentWidth=v,this.contentHeight=e,v=i.min(v,w),e=i.min(e,U),this._bbox={x:E,y:W,width:v,height:e};var wt=this.maxLeft,Rt=this.maxTop,At=this.maxBottom,Lt=this.maxRight;if(this.measure(),(wt!=this.maxLeft||Lt!=this.maxRight||Rt!=this.maxTop||At!=this.maxBottom)&&this.events.isEnabled("transformed")){var It={type:"transformed",target:this};Ct&&(It.dummyData=Ct.width+" "+v+" "+Ct.height+" "+e),this.events.dispatchImmediately("transformed",It)}this.dispatchImmediately("layoutvalidated")},d.prototype.updateCenter=function(){c.prototype.updateCenter.call(this),this.updateBackgroun
1d()},d.prototype.updateBackground=function(){var r=this._background;r&&(r.x=this.maxLeft,r.y=this.maxTop,r.width=this.maxRight-this.maxLeft,r.height=this.maxBottom-this.maxTop)},d.prototype.getColumnWidth=function(r,b,v){var e=this,g=[],P=0;return s.each(r,function(E){E.isMeasured&&!E.disabled&&!E.__disabled&&(g[P]=e.fixedWidthGrid?v:i.max(g[P],E.measuredWidth+E.pixelMarginRight+E.pixelMarginLeft),++P==b&&(P=0))}),g},Object.defineProperty(d.prototype,"layout",{get:function(){return this.getPropertyValue("layout")},set:function(r){this.setPropertyValue("layout",r)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"contentValign",{get:function(){return this.getPropertyValue("contentValign")},set:function(r){this.setPropertyValue("contentValign",r,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"contentAlign",{get:function(){return this.getPropertyValue("contentAlign")},set:function(r){this.setPropertyValue("contentAlign",r,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fixedWidthGrid",{get:function(){return this.getPropertyValue("fixedWidthGrid")},set:function(r){this.setPropertyValue("fixedWidthGrid",r,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxColumns",{get:function(){return this.getPropertyValue("maxColumns")},set:function(r){this.setPropertyValue("maxColumns",r,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"reverseOrder",{get:function(){return this.getPropertyValue("reverseOrder")},set:function(r){this.setPropertyValue("reverseOrder",r,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"setStateOnChildren",{get:function(){return this.getPropertyValue("setStateOnChildren")},set:function(r){this.setPropertyValue("setStateOnChildren",r,!0)},enumerable:!0,configurable:!0}),d.prototype.fitsToBounds=function(r){var b=r.x,v=r.y,e=.5;return b>=-e&&b<=this.pixelWidth+e&&v>=-e&&v<=this.pixelHeight+e},d.prototype.copyFrom=function(r){var b=this;c.prototype.copyFrom.call(this,r),this.layout=r.layout,this.setStateOnChildren=r.setStateOnChildren,r._background&&(this.background=r._background.clone(),this.background.copyFrom(r._background)),u.each(r.children.iterator(),function(v){v.shouldClone&&(v.clone().parent=b)})},Object.defineProperty(d.prototype,"preloader",{get:function(){return this._preloader||(this.parent?this.parent.preloader:void 0)},set:function(r){this._preloader&&this.removeDispose(this._preloader),this._preloader=r,r&&(r.parent=this.tooltipContainer,this._disposers.push(r))},enumerable:!0,configurable:!0}),d.prototype.setPaper=function(r){var b=this,v=c.prototype.setPaper.call(this,r);return v&&(this._background&&(this._background.paper=r,this._background.topParent=this.topParent),this.children.each(function(e){e.setPaper(r),e.topParent=b.topParent})),v},d.prototype.removeFromInvalids=function(){c.prototype.removeFromInvalids.call(this),_.i.removeFromInvalidLayouts(this)},d.prototype.setDataItem=function(r){this._dataItem!=r&&(u.each(this.children.iterator(),function(b){b.dataItem=r}),this._background&&(this._background.dataItem=r)),c.prototype.setDataItem.call(this,r)},d.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},Object.defineProperty(d.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(r){this.setPropertyValue("fontFamily",r,!0)&&(this.setSVGAttribute({"font-family":r}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(r){this.setPropertyValue("fontSize",r,!0)&&(this.setSVGAttribute({"font-size":r}),this.invalidateLabels())},enumerable:!0,configurable:!0}),d.prototype.invalidateLabels=function(){this.children.each(function(r){r.hardInvalidate?(r.hardInvalidate(),r.events.once("validated",r.handleValidate,r,!1)):r instanceof d&&r.invalidateLabels()})},Object.defineProperty(d.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")}
1,set:function(r){this.setPropertyValue("fontWeight",r),this.setSVGAttribute({"font-weight":r})},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(r){this.setPropertyValue("textDecoration",r),this.setSVGAttribute({"text-decoration":r})},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),c.prototype.dispose.call(this)},d.prototype.setState=function(r,b,v){var e=r;return r instanceof j.q&&(e=r.name),this.setStateOnChildren&&u.each(this.children.iterator(),function(g){g.setState(e,b,v),"active"!=e&&(g.isActive=!1)}),this._background&&this._background.setState(e),this.setStateOnSprites.length&&s.each(this.setStateOnSprites,function(g){g.setState(e,b,v)}),c.prototype.setState.call(this,r,b,v)},d.prototype.setActive=function(r){c.prototype.setActive.call(this,r),this._background&&(this._background.isActive=r)},d.prototype.dispatchReady=function(){var r=this;if(!this.isReady()&&!this.isDisposed()){var b=!0;u.eachContinue(this.children.iterator(),function(v){return!!(v.__disabled||v.disabled||v.isReady())||(b=!1,!1)}),s.eachContinue(this._shouldBeReady,function(v){return!!(v.__disabled||v.disabled||v.isReady())||(b=!1,!1)}),b?c.prototype.dispatchReady.call(this):_.i.events.once("exitframe",function(){r.dispatchReady(),h.B.requestFrame()},void 0,!1)}},d.prototype._systemUpdate=function(r){this.children.each(function(b){b.invalid&&(b._systemCheckIfValidate()?b.dataItem&&b.dataItem.component&&b.dataItem.component.dataInvalid?r.push(b):b.validate():r.push(b))}),c.prototype._systemUpdate.call(this,r)},d.prototype._systemValidatePositions=function(){this.children.each(function(r){r.positionInvalid&&r.validatePosition()}),c.prototype._systemValidatePositions.call(this)},d.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(d.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(r){this._tapToActivate!=r&&this.setTapToActivate(r)},enumerable:!0,configurable:!0}),d.prototype.setTapToActivate=function(r){var b=this;this._tapToActivate=r,this.interactions.isTouchProtected=r,r&&this.interactions.setEventDisposer("container-tapToActivate",r,function(){return new A.FV([b.events.on("hit",b.handleTapToActivate,b,!1),b.events.on("down",b.initTapTimeout,b,!1),b.events.on("track",b.initTapTimeout,b,!1),(0,T.S)().body.events.on("down",function(v){(0,T.S)().isLocalElement(v.pointer,b.paper.svg,b.uid)||b.handleTapToActivateDeactivation()},b,!1)])}),(0,T.S)()},d.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},d.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},d.prototype.initTapTimeout=function(){var r=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){r.handleTapToActivateDeactivation()},this.tapTimeout))},d.prototype.moveHtmlContainer=function(r){var b=f.sb(r);if(b){this.htmlContainer=b;var v=this.svgContainer;v.htmlElement=b,v.htmlElement.appendChild(v.SVGContainer),v.initSensor(),v.measure()}else n.isString(r)&&""!=r&&h.B.log("html container '"+r+"' not found")},d.prototype.hasLicense=function(){if(o.Y.commercialLicense)return!0;for(var r=0;r<o.Y.licenses.length;r++)if(o.Y.licenses[r].match(/^CH.{5,}/i))return!0;return!1},d}(B.jy);_.i.registeredClasses.Container=a},49601:(tt,k,m)=>{m.d(k,{z:()=>x});var C=m(19845),B=m(84245),j=m(80383),L=m(11920),A=m(86234),D=m(17478),T=m(89196),x=function(M){function _(){var p=M.call(this)||this;return p._disabled=!1,p.hasProperties=!1,p.values={},p.categories={},p.dates={},p.locations={},p.workingLocations={},p.properties={},p.sprites=[],p.isTemplate=!1,p._index=null,p._visible=!0,p._hidden=!1,p._ignoreMinMax=!1,p.hasChildren={},p.isHiding=!1,p._valueAnimations={},p._locationAnimations={},p.className="DataItem",p.applyTheme(),p}return(0,C.ZT)(_,M),Object.defineProperty(_.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new j.L1(this)),this._adapterO},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"index",{get:function(){return this.component&&null!=this._index?this._index:-1},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new L.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"visible",{get:function(){return!this._hidden&&this._visible},set:function(p){p&&(this.hidden=!1),this._visible!=p&&this.setVisibility(p)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"hidden",{get:function(){return this._hidden},set:function(p){this._hidden!=p&&(this._hidden=p,p?this.setVisibility(!1):this.setVisibility(!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"__disabled",{get:function(){return this._disabled},set:function(p){this._disabled=p,D.each(this.sprites,function(u){u.__disabled=p})},enumerable:!0,configurable:!0}),_.prototype.setVisibility=function(p,u){D.each(this.sprites,function(i){i.visible=p?i.defaultState.properties.visible:!!i.hiddenState&&i.hiddenState.properties.visible}),this._visible=p,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("visibilitychanged")&&this.events.dispatchImmediately("visibilitychanged",{type:"visibilitychanged",target:this,visible:p})},_.prototype.show=function(p,u,s){var n,i=this;if(!this.hidden)return this.setVisibility(!0,!0),this.isHiding=!1,this._hideDisposer&&this.removeDispose(this._hideDisposer),s&&D.each(s,function(f){n=i.setWorkingValue(f,i.values[f].value,p,u)}),D.each(this.sprites,function(f){var h=f.show(p);null!=h&&!h.isFinished()&&(i._disposers.push(h),null!=u&&u>0&&h.delay(u))}),n},_.prototype.dispose=function(){M.prototype.dispose.call(this),D.each(this.sprites,function(p){p.dispose()}),this.sprites=[]},_.prototype.hide=function(p,u,s,i){var n=this;if(this.isHiding=!0,D.each(this.sprites,function(h){var o=h.hide(p);null!=o&&!o.isFinished()&&(n._disposers.push(o),null!=u&&u>0&&o.delay(u))}),T.isNumber(s)&&i){var f;if(D.each(i,function(h){var o=n.setWorkingValue(h,s,p,u);o&&(f=o)}),f&&!f.isFinished())return this._hideDisposer=f.events.on("animationended",function(){n.setVisibility(!1,!0),n.isHiding=!1}),this._disposers.push(this._hideDisposer),f;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},_.prototype.getDuration=function(p){if(!T.isNumber(p)){var u=this.component;u&&(p=u.interpolationDuration)}if(null!=p)return this._adapterO?this._adapterO.apply("duration",p):p},_.prototype.getValue=function(p,u){if(p&&this.component){u||(u=this.component.dataFields[p+"Show"])||(u="value");var s=this.values[p][u];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:s,field:p}).value:s}},_.prototype.getWorkingValue=function(p){if(p&&this.component){var u=this.component.dataFields[p+"Show"];return u||(u="workingValue"),this._adapterO?this._adapterO.apply("workingValue",{workingValue:this.values[p][u],field:p}).workingValue:this.values[p][u]}},_.prototype.getActualWorkingValue=function(p){return this.values[p].workingValue},_.prototype.setValue=function(p,u,s,i){var n=this.values[p].value,f=this.getDuration(s);n!==(u=T.toNumber(u))&&(this.values[p].value=u,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")&&this.events.dispatchImmediately("valuechanged",{type:"valuechanged",target:this,property:p}),this.component&&this.component.handleDataItemValueChange(this,p)),this.setWorkingValue(p,u,f,i)},_.prototype.setCalculatedValue=function(p,u,s){this.values[p][s]!==u&&T.isNumber(u)&&(this.values[p][s]=u,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")&&this.events.dispatchImmediately("calculatedvaluechanged",{type:"calculatedvaluechanged",target:this,property:p}),this.component&&this.component.handleDataItemCalculatedValueChange(this,p))},_.prototype.setWorkingValue=function(p,u,s,i){if(T.isNumber(this.values[p].value)){var n=this.getDuration(s),f=this.values[p].workingValue;if(null!=n&&n>0&&T.isNumber(f)&&this.component){if(f!=u){var h=this.animate({childObject:this.values[p],property:"workingValue",from:f,to:u,dummyData:p},n,this.component.interpolationEasing);return null!=i&&h.delay(i),h.events.on("animationstarted",this.handleInterpolationProgress,this),h.events.on("animationprogress",this.handleInterpolationProgress,this),h.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[p]=h,h}(o=this._valueAnimations[p])&&o.stop(),this.values[p].workingValue=u}else{var o;(o=this._valueAnimations[p])&&o.stop(),this.values[p].workingValue=u,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")&&this.events.dispatchImmediately("workingvaluechanged",{type:"workingvaluechanged",target:this,property:p}),this.component&&this.component.handleDataItemWorkingValueChange(this,p)}}},_.prototype.setLocation=function(p,u,s,i){this.locations[p]!==u&&(this.locations[p]=u,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")&&this.events.dispatchImmediately("locationchanged",{type:"locationchanged",target:this,property:p}),this.component&&this.component.handleDataItemValueChange(this,p),this.setWorkingLocation(p,u,s,i))},_.prototype.setWorkingLocation=function(p,u,s,i){var n=this.getDuration(s),f=this.workingLocations[p];if(null!=n&&n>0&&T.isNumber(f)&&this.component){if(f!=u){var h=this.animate({childObject:this.workingLocations,property:p,from:f,to:u,dummyData:p},n,this.component.interpolationEasing);return null!=i&&h.delay(i),h.events.on("animationstarted",this.handleInterpolationProgress,this),h.events.on("animationprogress",this.handleInterpolationProgress,this),h.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[p]=h,h}(o=this._locationAnimations[p])&&o.stop(),this.workingLocations[p]=u}else{var o;(o=this._locationAnimations[p])&&o.stop(),this.workingLocations[p]=u,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")&&this.events.dispatchImmediately("workinglocationchanged",{type:"workinglocationchanged",target:this,property:p}),this.component&&this.component.handleDataItemWorkingLocationChange(this,p)}},_.prototype.setDate=function(p,u,s){!T.isDate(u)&&this.component&&(u=this.component.dateFormatter.parse(u)),this.dates[p]!==u&&(this.dates[p]=u,this.setValue(p,u.getTime(),s))},_.prototype.getDate=function(p){return this._adapterO?this._adapterO.apply("date",{date:this.dates[p],field:p}).date:this.dates[p]},_.prototype.setProperty=function(p,u){this.properties[p]!==u&&(this.hasProperties=!0,this.properties[p]=u,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")&&this.events.dispatchImmediately("propertychanged",{type:"propertychanged",target:this,property:p,value:u}),this.component&&this.component.handleDataItemPropertyChange(this,p))},_.prototype.setCategory=function(p,u){T.isString(u)||(u=T.castString(u)),this.categories[p]!==u&&(this.categories[p]=u)},_.prototype.copyFrom=function(p){M.prototype.copyFrom.call(this,p),p.dataContext&&(this.dataContext=A.copy(p.dataContext,{})),A.copyProperties(p.locations,this.locations),p._adapterO&&this.adapter.copyFrom(p._adapterO),this.component=p.component},Object.defineProperty(_.prototype,"opacity",{set:function(p){D.each(this.sprites,function(u){u.opacity=p})},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(p){this._ignoreMinMax=p,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")&&this.events.dispatchImmediately("propertychanged",{type:"propertychanged",target:this,property:"ignoreMinMax",value:p}),this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),_.prototype.animate=function(p,u,s){return new L.fw(this,p,u,s).start()},_.prototype.handleInterpolationProgress=function(p){var s=p.target.animationOptions[0];s&&(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")&&this.events.dispatchImmediately("workingvaluechanged",{type:"workingvaluechanged",target:this,property:s.dummyData}),this.component&&this.component.handleDataItemWorkingValueChange(this,s.dummyData))},_.prototype.hasValue=function(p){for(var u=0,s=p.length;u<s;u++){var i=this.values[p[u]];if(!i||!T.hasValue(i.value))return!1}return!0},Object.defineProperty(_.prototype,"depth",{get:function(){return this.parent?this.parent.depth+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"dataContext",{get:function(){return this._dataContext},set:function(p){this._dataContext=p},enumerable:!0,configurable:!0}),_.prototype.addSprite=function(p){p.dataItem&&p.dataItem!=this&&D.remove(p.dataItem.sprites,p),this.visible||p.hide(0),this.isHiding&&p.hide(),this.sprites.push(p),p.dataItem=this},_}(B.y)},15241:(tt,k,m)=>{m.d(k,{Y:()=>C});var C={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}},31991:(tt,k,m)=>{m.d(k,{hh:()=>q,jy:()=>it});
1var C=m(19845),B=m(47936),j=m(76488),L=m(84245),A=m(80383),D=m(5863),T=m(23962),x=m(75080),M=m(11920),_=m(67050),p=m(6668),u=m(10867),s=m(75150),i=m(91826),n=m(61346),f=m(23282),h=m(9976),o=m(15241),a=m(9450),c=m(89233),d=m(19459),r=m(97394),b=m(34441),v=m(87037),e=m(92468),g=m(86234),P=m(90868),E=m(59012),I=m(17478),W=m(50954),R=m(89196),Z=m(43856),$=m(22964),Y=m(27481),q=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin"],it=function(K){function l(){var t=K.call(this)||this;return t.properties={},t._eventDispatcher=new j.g(t),t._bindings={},t._isTemplate=!1,t._isPath=!1,t._inited=!1,t._ready=!1,t.isHiding=!1,t._isHidden=!1,t.isShowing=!1,t.isStandaloneInstance=!1,t._isActive=!1,t._mask=new x.cx,t._positionPrecision=3,t._language=new x.cx,t._exporting=new x.cx,t._exportable=!0,t._bbox={x:0,y:0,width:0,height:0},t.invalid=!1,t.positionInvalid=!1,t.propertyFields={},t.applyOnClones=!1,t._measuredWidthSelf=0,t._measuredHeightSelf=0,t.maxLeft=0,t.maxRight=0,t.maxTop=0,t.maxBottom=0,t.maxLeftSelf=0,t.maxRightSelf=0,t.maxTopSelf=0,t.maxBottomSelf=0,t._isDragged=!1,t._isResized=!1,t._disabled=!1,t._internalDisabled=!1,t._updateDisabled=!1,t._internalDefaultsApplied=!1,t.rollOutDelay=0,t.isBaseSprite=!1,t.shouldClone=!0,t.appeared=!1,t.ex=0,t.ey=0,t.dragWhileResize=!1,t.measureFailed=!1,t.preventShow=!1,t.cloneTooltip=!0,t.className="Sprite",t._disposers.push(t._eventDispatcher),g.used(t.uid),t.group=t.paper.addGroup("g"),t.setPropertyValue("scale",1),t.setPropertyValue("rotation",0),t.setPropertyValue("align","none"),t.setPropertyValue("valign","none"),t.setPropertyValue("pixelPerfect",!1),t.setPropertyValue("visible",!0),t.setPropertyValue("tooltipPosition","fixed"),t.setPropertyValue("verticalCenter","none"),t.setPropertyValue("horizontalCenter","none"),t.setPropertyValue("tooltipX",(0,Y.aQ)(50)),t.setPropertyValue("tooltipX",(0,Y.aQ)(50)),t.setPropertyValue("marginTop",0),t.setPropertyValue("marginBottom",0),t.setPropertyValue("marginLeft",0),t.setPropertyValue("marginRight",0),t.setPropertyValue("dx",0),t.setPropertyValue("dy",0),t.setPropertyValue("paddingTop",0),t.setPropertyValue("paddingBottom",0),t.setPropertyValue("paddingRight",0),t.setPropertyValue("paddingLeft",0),t.setPropertyValue("togglable",!1),t.setPropertyValue("hidden",!1),t.setPropertyValue("urlTarget","_self"),t.setPropertyValue("alwaysShowTooltip",!1),t.setPropertyValue("showTooltipOn","hover"),t._prevMeasuredWidth=0,t._prevMeasuredHeight=0,t._measuredWidth=0,t._measuredHeight=0,t._isMeasured=!0,t.invalidate(),t.applyTheme(),t._disposers.push(t.events),t._disposers.push(t.group),t._disposers.push(t._mask),t._disposers.push(t._language),t._disposers.push(t._exporting),t._disposers.push(new x.ku(function(){W.each(t._bindings,function(y,O){O.dispose()})})),t.setPropertyValue("interactionsEnabled",!0),t}return(0,C.ZT)(l,K),Object.defineProperty(l.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new A.L1(this)),this._adapterO},enumerable:!0,configurable:!0}),l.prototype.applyTheme=function(){K.prototype.applyTheme.call(this),o.Y.autoSetClassName&&this.setClassName()},l.prototype.getCurrentThemes=function(){var t=this._themes;if(t)return t;var y=this._parent;return y?y.getCurrentThemes():a.i.themes},l.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},l.prototype.invalidate=function(){this.disabled||this._isTemplate||this.__disabled||this.invalid||(this.invalid=!0,a.i.addToInvalidSprites(this),$.B.requestFrame())},l.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,a.i.removeFromInvalidSprites(this),this.afterDraw()},l.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,a.i.addToInvalidPositions(this),$.B.requestFrame())},l.prototype.validatePosition=function(){var t=this.pixelX,y=this.pixelY,O=this.dx,S=this.dy,F=t+O,V=y+S;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var w=this.measure(),U=this.group.transformString;this.group.moveTo({x:F,y:V}),this.group.rotation=this.rotation,this.group.scale=this.nonScaling?this.scale/this.globalScale:this.scale,(U!=this.group.transformString||w)&&(null==U?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged"),("hit"==this.showTooltipOn||"always"==this.showTooltipOn)&&this.updateTooltipPosition()),t+O==F&&y+S==V&&(a.i.removeFromInvalidPositions(this),this.positionInvalid=!1);var N=this._maskRectangle;N&&this._clipElement.moveTo({x:N.x-t,y:N.y-y})},l.prototype.beforeDraw=function(){},l.prototype.draw=function(){},l.prototype.afterDraw=function(){var t,y;if((this.isMeasured||"none"!==this.horizontalCenter||"none"!==this.verticalCenter)&&this.measureElement(),this._inited)this.dispatch("validated");else{if(this._adapterO)try{for(var O=(0,C.XA)(this._adapterO.keys()),S=O.next();!S.done;S=O.next()){var F=S.value;switch(F){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[F]=this[F]}}}catch(V){t={error:V}}finally{try{S&&!S.done&&(y=O.return)&&y.call(O)}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())},l.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},l.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},l.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.validatePosition(),this.updateFilterScale()},l.prototype.updateFilterScale=function(){var t=this;Z.each(this.filters.iterator(),function(y){y.scale=t.globalScale})},l.prototype.removeFromInvalids=function(){a.i.removeFromInvalidSprites(this),a.i.removeFromInvalidPositions(this)},l.prototype.copyFrom=function(t){var y=this;K.prototype.copyFrom.call(this,t),this.isMeasured=t.isMeasured,this.states.copyFrom(t.states),t.filters.length>0&&t.filters.each(function(O){y.filters.push(O.clone())}),t._adapterO&&this.adapter.copyFrom(t._adapterO),t._interaction&&this.interactions.copyFrom(t.interactions),t._plugins&&this.plugins.copyFrom(t.plugins),this.configField=t.configField,this.applyOnClones=t.applyOnClones,this.disabled=t.disabled,this.virtualParent=t.virtualParent,this.exportable=t.exportable,t._tooltip&&(this._tooltip?this._tooltip.copyFrom(t.tooltip):t.cloneTooltip?this.tooltip=t.tooltip.clone():this._tooltip=t.tooltip),this._showSystemTooltip=t.showSystemTooltip,g.copyProperties(t.propertyFields,this.propertyFields),g.copyProperties(t.properties,this),t.fillModifier&&(this.fillModifier=t.fillModifier.clone()),t.strokeModifier&&(this.strokeModifier=t.strokeModifier.clone()),t.focusFilter&&(this.focusFilter=t.focusFilter.clone())},l.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(K.prototype.dispose.call(this),this._adapterO&&this._adapterO.clear(),this.applyOnClones&&this._clones)for(var t=this._clones.length-1;t>=0;t--)this._clones.getIndex(t).dispose();
1this._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 O=this.stroke;O&&!(O instanceof n.Il)&&O.dispose&&(this.clonedFrom&&this.clonedFrom.stroke==O||O.dispose());var S=this.fill;if(S&&!(S instanceof n.Il)&&S.dispose&&(this.clonedFrom&&this.clonedFrom.fill==S||S.dispose()),R.hasValue(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var F=this._filters.getIndex(0);F.dispose(),this._filters.removeValue(F)}this._alwaysShowDisposers=void 0}},Object.defineProperty(l.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(t){t=R.toBoolean(t),this._isTemplate!=t&&(this._isTemplate=t,this instanceof p.W&&Z.each(this.children.iterator(),function(y){y.isTemplate=t}),t?(this.parent=this._parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"showSystemTooltip",{get:function(){return R.hasValue(this._showSystemTooltip)?this._showSystemTooltip:this.virtualParent?this.virtualParent.showSystemTooltip:!!this._parent&&this._parent.showSystemTooltip},set:function(t){t=R.toBoolean(t),this._showSystemTooltip!=t&&(this._showSystemTooltip=t,this.applyAccessibility())},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"parent",{get:function(){return this._parent},set:function(t){if(!this._isTemplate){g.used(this.paper);var y=this._parent;y!=t&&(y&&y.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}),l.prototype.handleAlwaysShow=function(){this.showTooltip()},l.prototype.handleAlwaysShowTooltip=function(){var t=this,y=this._alwaysShowDisposers;if(y&&I.each(y,function(S){S.dispose()}),this._alwaysShowDisposers=[],"always"==this.showTooltipOn)for(;null!=t;){var O=t.events.on("visibilitychanged",this.handleAlwaysShow,this,!1);this.addDisposer(O),this._alwaysShowDisposers.push(O),t=t.parent}},Object.defineProperty(l.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(t){this._virtualParent=t,this.dataItem&&this.applyAccessibility()},enumerable:!0,configurable:!0}),l.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var t=this.fill;t&&t.element&&this.paper.appendDef(t.element);var y=this.stroke;if(y&&y.element&&this.paper.appendDef(y.element),this.fillModifier&&this.fill instanceof n.Il){var O=this.fillModifier.modify(this.fill);O&&O.element&&this.paper.appendDef(O.element)}if(this.strokeModifier&&this.stroke instanceof n.Il){var S=this.strokeModifier.modify(this.stroke);S&&S.element&&this.paper.appendDef(S.element)}this._clipPath&&this.paper.appendDef(this._clipPath),!1===this._exportable&&(this.exportable=!1)},Object.defineProperty(l.prototype,"map",{get:function(){var t=this.topParent;return t?t.map:(this._map||(this._map=new D.Xy),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"delayedMap",{get:function(){var t=this.topParent;return t?t.delayedMap:(this._delayedMap||(this._delayedMap=new D.Xy),this._delayedMap)},enumerable:!0,configurable:!0}),Object.defineProperty(l.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),o.Y.autoSetClassName&&this.setClassName()}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"paper",{get:function(){if(this._paper)return this._paper;var t=this._parent;return t?t.paper:(0,_.V)()},set:function(t){this.setPaper(t)},enumerable:!0,configurable:!0}),l.prototype.setPaper=function(t){return this._paper!=t&&(this._paper=t,this.appendDefs(),!0)},Object.defineProperty(l.prototype,"htmlContainer",{get:function(){if(this._htmlContainer)return this._htmlContainer;var t=this._parent;return t?t.htmlContainer:void 0},set:function(t){this._htmlContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.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(l.prototype,"filters",{get:function(){return this._filters||(this._filters=new T.aV,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new T.zQ(this._filters))),this._filters},enumerable:!0,configurable:!0}),l.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},l.prototype.setSVGAttribute=function(t){this.group.attr(t)},l.prototype.removeSVGAttribute=function(t){this.group.removeAttr(t)},l.prototype.setClassName=function(){var t=this.className,y=o.Y.classNamePrefix;this.element&&this.element.addClass(y+t),this.group.addClass(y+t+"-group"),R.hasValue(this.id
1)&&this.group.addClass(y+this.id),this.userClassName&&this.group.addClass(this.userClassName)},l.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},l.prototype.updateClipPath=function(){var t=this._clipElement;t&&t.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},l.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var t=a.i.getUniqueId();this._clipPath.attr({id:t}),this.group.attr({"clip-path":'url("'+g.getBaseURI()+t+'")'})}},l.prototype.applyMask=function(){var t=this.mask;if(this._clipPath&&t)if(t instanceof p.W){this._clipElement.attr({width:P.max(0,t.pixelWidth),height:P.max(0,t.pixelHeight)});var y=g.spritePointToSprite({x:t.pixelX,y:t.pixelY},t.parent,this);this._clipPath.x=y.x,this._clipPath.y=y.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},l.prototype.applyFilters=function(){var t=this;if(this._filters&&this._filters.length>0){var y=100,O=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var S="filter-"+this.uid;this.filterElement.attr({id:S}),Z.each(this.filters.iterator(),function(w){w.sprite=t,w.paper=t.paper,t.filterElement.attr({filterUnits:w.filterUnits}),w.appendPrimitives(t.filterElement),w.width>y&&(y=w.width),w.height>O&&(O=w.height),w.scale=t.globalScale}),this.filterElement.attr({width:y+"%",height:O+"%",x:-(y-100)/2+"%",y:-(O-100)/2+"%"}),this.group.attr({filter:'url("'+g.getBaseURI()+S+'")'})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},l.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},l.prototype.setElement=function(t){this.element=t,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(l.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(),o.Y.autoSetClassName&&this.setClassName()},enumerable:!0,configurable:!0}),Object.defineProperty(l.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}),l.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}}},l.prototype.updateCenter=function(){if(this.element){var t=this.element.transformString,y=this.bbox,O=0,S=0,F=y.x,V=y.y,w=y.width,U=y.height,N=this.pixelPaddingLeft,z=this.pixelPaddingRight,G=this.pixelPaddingTop,X=this.pixelPaddingBottom,J=P.max(w+N+z,this.pixelWidth),H=P.max(U+G+X,this.pixelHeight),Q=y.x,et=y.x+J,rt=y.y,at=y.y+H,nt=this.verticalCenter;switch(this.horizontalCenter){case"none":O=F+N;break;case"left":O=N;break;case"middle":O=N-(w+z+N)/2;break;case"right":O=-z-w}switch(nt){case"none":S=V+G;break;case"top":S=G;break;case"middle":S=G-(U+X+G)/2;break;case"bottom":S=-X-U}this._measuredHeight=H,this._measuredWidth=J;var ot=P.round(O-F,this._positionPrecision,!0),ht=P.round(S-V,this._positionPrecision,!0);this.ex=ot-N,this.ey=ht-G,this.maxLeft=Q+ot-N,this.maxRight=et+ot-N,this.maxTop=rt+ht-G,this.maxBottom=at+ht-G,this.pixelPerfect&&0==o.Y.pixelPerfectPrecision&&(ot-=.5,ht-=.5),this.element.moveTo({x:ot,y:ht}),t!=this.element.transformString&&this.dispatchImmediately("transformed")}},l.prototype.measure=function(){this.updateCenter();var t=this._measuredWidth,y=this._measuredHeight,O=this.maxLeft,S=this.maxRight,F=this.maxTop,V=this.maxBottom;this._measuredWidthSelf=t,this._measuredHeightSelf=y;var w=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 U=this.paper.svg,N=U.createSVGMatrix(),z=this.rotation,G=this.scale;this.nonScaling&&(G=this.scale/this.globalScale),N.a=P.cos(z)*G,N.c=-P.sin(z)*G,N.e=0,N.b=P.sin(z)*G,N.d=P.cos(z)*G,N.f=0;var X=U.createSVGPoint();X.x=O,X.y=F;var J=U.createSVGPoint();J.x=S,J.y=F;var H=U.createSVGPoint();H.x=S,H.y=V;var Q=U.createSVGPoint();Q.x=O,Q.y=V;var et=X.matrixTransform(N),rt=J.matrixTransform(N),at=H.matrixTransform(N),st=Q.matrixTransform(N);O=Math.min(et.x,rt.x,at.x,st.x),S=Math.max(et.x,rt.x,at.x,st.x),F=Math.min(et.y,rt.y,at.y,st.y),t=S-O,y=(V=Math.max(et.y,rt.y,at.y,st.y))-F,this.maxLeft=P.round(O,w,!0),this.maxRight=P.round(S,w,!0),this.maxTop=P.round(F,w,!0),this.maxBottom=P.round(V,w,!0)}return this._measuredWidth=P.round(t,w,!0),this._measuredHeight=P.round(y,w,!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&&(R.hasValue(this.tooltipText)||R.hasValue(this.tooltipHTML))&&this.updateTooltipPosition(),!0)},l.prototype.insertBefore=function(t){var y=this._parent;if(y){var O=y.children.indexOf(t);-1!==O&&(y.children.moveValue(this,O),y.sortChildren())}return this},l.prototype.insertAfter=function(t){var y=this._parent;if(y){var O=y.children.indexOf(t);-1!==O&&(y.children.moveValue(this,O+1),y.sortChildren())}return this},l.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},l.prototype.getRelativeX=function(t){return t instanceof Y.gG?t.value:this._parent?t/this._parent.innerWidth:0},l.prototype.getRelativeY=function(t){return t instanceof Y.gG?t.value:this._parent?t/this._parent.innerHe
1ight:0},l.prototype.getPixelX=function(t){var y=0;return R.isNumber(t)?y=t:t instanceof Y.gG&&this._parent&&(y=P.round(this._parent.innerWidth*t.value,this._positionPrecision,!0)),y},l.prototype.getPixelY=function(t){var y=0;return R.isNumber(t)?y=t:t instanceof Y.gG&&this._parent&&(y=P.round(this._parent.innerHeight*t.value,this._positionPrecision,!0)),y},l.prototype.moveTo=function(t,y,O,S){this.isDragged&&!S||(t&&(R.isNumber(t.x)&&this.setPropertyValue("x",P.round(t.x,this._positionPrecision,!0)),R.isNumber(t.y)&&this.setPropertyValue("y",P.round(t.y,this._positionPrecision,!0))),R.isNumber(y)&&(this.rotation=y),R.isNumber(O)&&(this.scale=O),this.invalidatePosition())},Object.defineProperty(l.prototype,"mask",{get:function(){return this._adapterO?this._adapterO.apply("mask",this._mask.get()):this._mask.get()},set:function(t){var y=this;this._mask.get()!==t&&(t?(this.createClipPath(),t instanceof p.W?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 x.FV([t.events.on("maxsizechanged",function(){y.inited&&y.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(l.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(l.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(t){(t=R.toBoolean(t))||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=t&&(this._isMeasured=t,this.invalidatePosition())},enumerable:!0,configurable:!0}),l.prototype.hitTest=function(t){this.invalid&&this.validate(),t.invalid&&t.validate();var y=this.pixelX+this.maxLeft,O=this.pixelY+this.maxTop,V=t.pixelX+t.maxLeft,w=t.pixelY+t.maxTop;return!(V>y+this.maxRight||V+t.maxRight<y||w>O+this.maxBottom||w+t.maxBottom<O)},Object.defineProperty(l.prototype,"inited",{get:function(){return this._inited},enumerable:!0,configurable:!0}),l.prototype.isReady=function(){return this._ready},Object.defineProperty(l.prototype,"states",{get:function(){if(!this._states){var t=new B.q;this._states=new D.NE(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 D.a7(this._states)),this._disposers.push(t)}return this._states},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"defaultState",{get:function(){return this.states.getKey("default")||(this.states.create("default").properties.opacity=1),this.states.getKey("default")},enumerable:!0,configurable:!0}),l.prototype.processState=function(t){var y=t.newValue;if(y.sprite=this,y.name=t.key,(this.states.hasKey("hover")||"hover"==this.showTooltipOn&&(R.hasValue(this.tooltipHTML)||R.hasValue(this.tooltipText)))&&(this.hoverable=!0),(this.states.hasKey("down")||"hover"==this.showTooltipOn&&(R.hasValue(this.tooltipHTML)||R.hasValue(this.tooltipText)))&&(this.clickable=!0),this.states.hasKey("focus")&&(this.focusable=!0),this.applyOnClones)for(var O=this.clones.values,S=O.length,F=0;F<S;++F){var V=O[F];V.isDisposed()||V.states.setKey(y.name,y)}},Object.defineProperty(l.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new M.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),l.prototype.getSvgPoint=function(t){try{var y=this.htmlContainer.getBoundingClientRect();return{x:t.x-y.left,y:t.y-y.top}}catch{return t}},l.prototype.animate=function(t,y,O){return new M.fw(this,t,y,O).start()},l.prototype.setState=function(t,y,O){var S;if(t instanceof B.q)this.states.setKey(t.name,t),S=t;else if(!(S=this.states.getKey(t)))return;if("hover"==S.name){if(this.isHidden)return;this.isHover=!0}return"hidden"==S.name?this.isHiding=!0:this.visible||this.setVisibility(S.properties.visible||this.defaultState.properties.visible),"active"==S.name&&(this.isActive=!0),R.isNumber(y)||(y=S.transitionDuration),R.hasValue(O)||(O=S.transitionEasing),this.transitTo(S,y,O)},l.prototype.applyCurrentState=function(t){var y=this.setState(this.defaultState,t);return this.isHover&&(y=this.setState("hover",t)),this.isDown&&this.interactions.downPointers.length&&(y=this.setState("down",t)),this.isFocused=this.isFocused,this.isActive&&(y=this.setState("active",t),this.isHover&&this.states.hasKey("hoverActive")&&(y=this.setState("hoverActive",t))),y},l.prototype.transitTo=function(t,y,O){var w,S=this,F=[];if(W.each(t.allValues,function(N,z){var G=S[N];z!=G&&null==S.defaultState.properties[N]&&(S.defaultState.properties[N]=G),"__unset"!=z&&F.push({from:G,to:z,property:N})}),F.length>0&&((w=this.animate(F,y,O))&&!w.isFinished()?this._disposers.push(w.events.on("animationended",function(){S.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),t.filters.length>0){var U=[];Z.each(t.filters.iterator(),function(N){var z=N.clone();U.push(z);var G=[];Z.each(S.filters.iterator(),function(X){X.className==z.className&&(Z.c
1ontains(S.defaultState.filters.iterator(),function(J){return J.className===z.className})||S.defaultState.filters.push(X),W.each(z.properties,function(J,H){var Q=X.properties[J];Q!=H&&G.push({property:J,from:Q,to:H})}))}),z.animate(G,y,O)}),this.filters.clear(),this.filters.pushAll(U)}return w},l.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(l.prototype,"isHover",{get:function(){return!!this.isInteractive()&&this.interactions.isHover},set:function(t){(t=R.toBoolean(t))!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=t,t?this.handleOver():(this.interactions.isRealHover=!1,this.handleOut()))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isResized",{get:function(){return this._isResized},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isDown",{get:function(){return!!this.isInteractive()&&this.interactions.isDown},set:function(t){t=R.toBoolean(t),this.isInteractive()&&this.isDown!=t&&(this.interactions.isDown=t,t?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isFocused",{get:function(){return!!this.isInteractive()&&this.interactions.isFocused},set:function(t){t=R.toBoolean(t),this.focusable&&this.isFocused!=t&&this.isInteractive()&&(this.interactions.isFocused=t,!0===t?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this.setActive(t)},enumerable:!0,configurable:!0}),l.prototype.setActive=function(t){t=R.toBoolean(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(l.prototype,"disabled",{get:function(){var t=this.getPropertyValue("disabled");return R.hasValue(t)?t:this.virtualParent?this.virtualParent.disabled:!!this._parent&&this._parent.disabled},set:function(t){this.setDisabled(t)},enumerable:!0,configurable:!0}),l.prototype.setDisabled=function(t){if(t=R.toBoolean(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 O=this._parent.element;O.hasChild(this.group)||O.add(this.group)}this instanceof p.W?(this.deepInvalidate(),this._background&&this._background.invalidate()):this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),$.B.requestFrame(),!0}return!1},Object.defineProperty(l.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(l.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this._parent?this._parent.numberFormatter:(this._numberFormatter=new c.e,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(t){this._numberFormatter=t,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this._parent?this._parent.dateFormatter:(this._dateFormatter=new d.C,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(t){this._dateFormatter=t,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this._parent?this._parent.durationFormatter:(this._durationFormatter=new r.$,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(t){this._durationFormatter=t,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"language",{get:function(){var t=this._language.get();return t||(this.virtualParent?this.virtualParent.language:this._parent?this._parent.language:(t=new v.S,this.language=t,t))},set:function(t){var y=this;this._language.get()!==t&&this._language.set(t,t.events.on("localechanged",function(O){if(y._numberFormatter&&(y._numberFormatter.language=y.language),y._dateFormatter&&(y._dateFormatter.language=y.language),y._durationFormatter&&(y._durationFormatter.language=y.language),y._exporting.get()){var S=y._exporting.get();S.numberFormatter.language=y.language,S.dateFormatter.language=y.language,S.durationFormatter.language=y.language,S.language=y.language}y instanceof p.W&&y.deepInvalidate()}))},enumerable:!0,configurable:!0}),l.prototype.populateString=function(t,y){if(R.hasValue(t)){t=R.castString(t);var O=(t=(0,b.k)().escape(t)).match(/\{([^}]+)\}/g),S=void 0;if(O)for(S=0;S<O.length;S++){var F=O[S].replace(/\{([^}]+)\}/,"$1"),V=this.getTagValue(F,"",y);R.hasValue(V)||(V=""),t=t.split(O[S]).join(V)}t=(0,b.k)().unescape(t)}else t="";return this._adapterO?this._adapterO.apply("populateString",t):t},l.prototype.getTagValue=function(t,y,O){var S;R.hasValue(O)||(O=this.dataItem);for(var w,F=[],V=/([^.]+)\(([^)]*)\)|([^.]+)/g;null!==(w=V.exec(t));)if(w[3])F.push({prop:w[3]});else{var U=[];if(""!=g.trim(w[2]))for(var N=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,z=void 0;null!==(z=N.exec(w[2]));)U.push(z[1]||z[2]||z[3]);F.push({method:w[1],params:U})}if(O){S=this.getTagValueFromObject(F,O.values),(!R.hasValue(S)||R.isObject(S))&&(S=this.getTagValueFromObject(F,O));var G=O.dataContext;!R.hasValue(S)&&G&&(S=this.getTagValueFromObject(F,O.dataContext),R.hasValue(S)||(S=this.getTagValueFromObject([{prop:t}],G)),!R.hasValue(S)&&G.dataContext&&(S=this.getTagValueFromObject(F,G.dataContext))),!R.hasValue(S)&&O.component&&O.component.dataItem!==O&&(S=O.component.getTagValue(t,y))}return R.hasValue(S)||(S=this.getTagValueFromObject(F,this.populateStringFrom||this)),!R.hasValue(S)&&this._parent&&(S=this._parent.getTagValue(t,y)),S},l.prototype.getTagValueFromObject=function(t,y,O){for(var S=y,F=!1,V=0,w=t.length;V<w;V++){var U=t[V];if(U.prop){if(!R.hasValue(S=S[U.prop]))return}else switch(U.method){case"formatNumber":var N=g.anyToNumber(S);R.hasValue(N)&&(S=this.numberFormatter.format(N,O||U.params[0]||void 0),F=!0);break;case"formatDate":var z=void 0;if(z=R.isString(S)?this.dateFormatter.parse(S):g.anyToDate(S),!R.isDate(z)||R.isNaN(z.getTime()))return;R.hasValue(z)&&(S=this.dateFormatter.format(z,O||U.params[0]||void 0),F=!0);break;case"formatDuration":var G=g.anyToNumber(S);R.hasValue(G)&&(S=this.durationFormatter.format(G,O||U.params[0]||void 0,U.params[1]||void 0),F=!0);break;case"urlEncode":case"encodeURIComponent":S=encodeURIComponent(S);break;default:S[U.method]&&S[U.method].apply(this,U.params)}}if(!F){var X=[{method:"",params:O}];if(R.hasValue(O)){var J=g.getFormat(O);J===E.Wu?X[0].method="formatNumber":J===E.Hu?X[0].method="formatDate":J===E.th&&(X[0].method="formatDuration")}else R.isNumber(S)?(X[0].method="formatNumber",X[0].params=""):R.isDate(S)&&(X[0].method="formatDate",X[0].params="");X[0].method&&(S=this.getTagValueFromObject(X,S))}return S},Object.defineProperty(l.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}),l.prototype.setDataItem=function(t){var y=this;if(this._dataItem!=t){if(this._dataItem=t,t){if(this.configField){var O=t.dataContext;O&&(this.config=O[this.configField],!this.config&&O.dataContext&&(this.config=O.dataContext[this.configField]))}var S=t.dataContext;if(S){var F=S.dataContext;W.each(this.propertyFields,function(V,w){if(R.hasValue(S[w]))y[V]=S[w];else if(F){var N=F[w];R.hasValue(N)&&(y[V]=N)}})}}this.invalidate()}},l.prototype.getPropertyValue=function(t){var y=this.properties[t];return this._isTemplate||(this._adapterO&&(y=this._adapterO.apply(t,y)),y=A.FA.applyAll(this,t,y)),y},l.prototype.setColorProperty=function(t,y,O){var S=this.properties[t];return!(y instanceof n.Il&&S instanceof n.Il&&y.toString()==S.toString())&&this.setPropertyValue(t,y,O)},l.prototype.setPercentProperty=function(t,y,O,S,F,V){if(y=R.toNumberOrPercent(y),R.isNumber(y))return R.isNumber(F)&&(y=P.round(y,F,V)),this.setPropertyValue(t,y,O,S);var w=this.properties[t];return!(y instanceof Y.gG&&w instanceof Y.gG&&y.value==w.value)&&this.setPropertyValue(t,y,O,S)},l.prototype.setPropertyValue=function(t,y,O,S){if(this.properties[t]!==y&&!this.isDisposed()){if(this.properties[t]=y,this.events.isEnabled("propertychanged")&&this.events.dispatchImmediately("propertychanged",{type:"propertychanged",target:this,property:t}),O&&this.invalidate(),S&&this.invalidatePosition(),this.applyOnClones)for(var V=this.clones.values,w=V.length,U=0;U<w;++U){var N=V[U];N.isDisposed()||(N[t]=y)}return!0}return!1},l.prototype.bind=function(t,y,O,S){var F=this;void 0===O&&(O=t),R.hasValue(this._bindings[t])&&this._bindings[t].dispose(),this[t]=y[O],this._bindings[t]=y.events.on("propertychanged",function(V){if(V.property===O){var w=y[O];S&&(w=S(w)),F[t]=w}})},l.prototype.observe=function(t,y,O,S){var F=this;return new x.FV(I.map(I.toArray(t),function(V){return F.events.on("propertychanged",function(w){
1w.property===V&&y.call(O,w)},O,S)}))},l.prototype.applyAccessibility=function(){var t=this.readerTitle,y=this.readerDescription,O=this.role,S=this.readerHidden,F=this.readerChecked,V=this.readerControls,w=this.readerLive,U=this.readerOrientation,N=this.readerValueNow,z=this.readerValueText,G=[],X=[],J=this.readerLabelledBy;J&&G.push(J);var H=this.readerDescribedBy;if(H&&X.push(H),t)if(G.length||this.showSystemTooltip){var Q=this.titleElement,et=this.uid+"-title";Q.node.textContent!=t&&(Q.node.textContent=t,Q.attr({id:et})),G.push(et)}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(y){var rt=this.descriptionElement,at=this.uid+"-description";rt.node.textContent!=y&&(rt.node.textContent=y,rt.attr({id:at})),X.push(at)}else this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0);G.length?this.setSVGAttribute({"aria-labelledby":G.join(" ")}):this.removeSVGAttribute("aria-labelledby"),X.length?this.setSVGAttribute({"aria-describedby":X.join(" ")}):this.removeSVGAttribute("aria-describedby"),O?this.setSVGAttribute({role:O}):this.removeSVGAttribute("role"),S?this.setSVGAttribute({"aria-hidden":"true"}):this.removeSVGAttribute("aria-hidden"),F?this.setSVGAttribute({"aria-checked":"true"}):!1===F?this.setSVGAttribute({"aria-checked":"false"}):this.removeSVGAttribute("aria-checked"),V?this.setSVGAttribute({"aria-controls":V}):this.removeSVGAttribute("aria-controls"),w?this.setSVGAttribute({"aria-live":w}):this.removeSVGAttribute("aria-live"),U?this.setSVGAttribute({"aria-orientation":U}):this.removeSVGAttribute("aria-orientation"),N?this.setSVGAttribute({"aria-valuenow":N}):this.removeSVGAttribute("aria-valuenow"),z?this.setSVGAttribute({"aria-valuetext":z}):this.removeSVGAttribute("aria-valuetext")},Object.defineProperty(l.prototype,"readerTitle",{get:function(){var t=this.getPropertyValue("readerTitle");return R.hasValue(t)&&this.dataItem?this.populateString(t):t},set:function(t){t=R.toText(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerDescription",{get:function(){var t=this.getPropertyValue("readerDescription");return R.hasValue(t)&&this.dataItem?this.populateString(t):this.getPropertyValue("readerDescription")},set:function(t){t=R.toText(t),this.setPropertyValue("readerDescription",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"role",{get:function(){return this.getPropertyValue("role")},set:function(t){t=R.toText(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(l.prototype,"readerHidden",{get:function(){return this.getPropertyValue("readerHidden")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("readerHidden",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerChecked",{get:function(){return this.getPropertyValue("readerChecked")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("readerChecked",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerControls",{get:function(){return this.getPropertyValue("readerControls")},set:function(t){t=R.toText(t),this.setPropertyValue("readerControls",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerLive",{get:function(){return this.getPropertyValue("readerLive")},set:function(t){t=R.toText(t),this.setPropertyValue("readerLive",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerLabelledBy",{get:function(){return this.getPropertyValue("readerLabelledBy")},set:function(t){t=R.toText(t),this.setPropertyValue("readerLabelledBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerDescribedBy",{get:function(){return this.getPropertyValue("readerDescribedBy")},set:function(t){t=R.toText(t),this.setPropertyValue("readerDescribedBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerOrientation",{get:function(){return this.getPropertyValue("readerOrientation")},set:function(t){t=R.toText(t),this.setPropertyValue("readerOrientation",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerValueNow",{get:function(){return this.getPropertyValue("readerValueNow")},set:function(t){t=R.toText(t),this.setPropertyValue("readerValueNow",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readerValueText",{get:function(){return this.getPropertyValue("readerValueText")}
1,set:function(t){t=R.toText(t),this.setPropertyValue("readerValueText",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.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(l.prototype,"interactions",{get:function(){if(!this._interaction){var t=(0,f.S)().getInteraction(this.dom);this._interaction=t,t.clickable=this.clickable,t.hoverable=this.hoverable,t.trackable=this.trackable,t.draggable=this.draggable,t.swipeable=this.swipeable,t.resizable=this.resizable,t.wheelable=this.wheelable,t.contextMenuDisabled=this.contextMenuDisabled,t.inert=this.inert,t.sprite=this,this._disposers.push(t)}return this._interaction},enumerable:!0,configurable:!0}),l.prototype.isInteractive=function(){return!!this._interaction},Object.defineProperty(l.prototype,"focusable",{get:function(){return this.getPropertyValue("focusable")},set:function(t){var y=this;t=R.toBoolean(t),this.setPropertyValue("focusable",t)&&(!t&&!this.isInteractive()||(this.interactions.focusable=t,t?(this.setSVGAttribute({focusable:t}),R.hasValue(this._tabindex)||(this.tabindex=0)):(this.removeSVGAttribute("focusable"),this.tabindex=void 0),this.interactions.setEventDisposer("sprite-focusable",t,function(){return new x.FV([y.events.on("blur",y.handleBlur,y,!1),y.events.on("focus",y.handleFocus,y,!1)])})))},enumerable:!0,configurable:!0}),l.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()))},l.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(l.prototype,"focusFilter",{get:function(){return this._focusFilter||(this.virtualParent?this.virtualParent.focusFilter:this._parent?this._parent.focusFilter:void 0)},set:function(t){this._focusFilter=t},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hoverOnFocus",{get:function(){return this.getPropertyValue("hoverOnFocus")},set:function(t){t!==this.hoverOnFocus&&this.setPropertyValue("hoverOnFocus",t)},enumerable:!0,configurable:!0}),Object.defineProperty(l.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=R.toNumber(t),this.setPropertyValue("tabindex",t)&&R.isNumber(t)&&(this.interactions.tabindex=t,this.setSVGAttribute({tabindex:t}),this._tabindex=t,this.focusable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"inertiaOptions",{get:function(){return!this.interactions.inertiaOptions&&this._parent?this._parent.inertiaOptions:this.interactions.inertiaOptions},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"draggable",{get:function(){return this.getPropertyValue("draggable")},set:function(t){var y=this;t=R.toBoolean(t),this.setPropertyValue("draggable",t)&&(!t&&!this.isInteractive()||(this.applyCursorStyle(),this.interactions.draggable=t,this.interactions.setEventDisposer("sprite-draggable",t,function(){return new x.FV([y.events.on("down",y.handleDown,y,!1),y.events.on("dragstart",y.handleDragStart,y,!1),y.events.on("drag",y.handleDragMove,y,!1),y.events.on("dragstop",y.handleDragStop,y,!1)])})))},enumerable:!0,configurable:!0}),l.prototype.handleDragStart=function(t){(!this.interactions.isTouchProtected||!t.touch)&&(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this._isDragged=!0,this.hideTooltip(0))},l.prototype.dragStart=function(t){this._isDragged=!0,(0,f.S)().dragStart(this.interactions,t)},l.prototype.handleDragStop=function(t){(!this.interactions.isTouchProtected||!t.touch)&&(this._isDragged=!1,this.showTooltip(),this.interactions.originalPosition=void 0)},l.prototype.dragStop=function(t,y){this._isDragged=!1,(0,f.S)().dragStop(this.interactions,t,y)},l.prototype.handleDragMove=function(t){if(!this.interactions.isTouchProtected||!t.touch){var y=this.interactions.originalPosition;if(y&&this._isDragged){var O=this._parent.globalScale*this.svgContainer.cssScale;this.moveTo({x:y.x+t.shift.x/O,y:y.y+t.shift.y/O},void 0,void 0,!0)}this.dispatchImmediately("dragged",t)}}
1,Object.defineProperty(l.prototype,"inert",{get:function(){return this.getPropertyValue("inert")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("inert",t)&&(!t&&!this.isInteractive()||(this.interactions.inert=t))},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"hoverable",{get:function(){return this.getPropertyValue("hoverable")},set:function(t){var y=this;t=R.toBoolean(t),this.setPropertyValue("hoverable",t)&&(!t&&!this.isInteractive()||(this.applyCursorStyle(),this.interactions.hoverable=t,this.interactions.setEventDisposer("sprite-hoverable",t,function(){return new x.FV([y.events.on("over",y.handleOver,y,!1),y.events.on("out",y.handleOut,y,!1)])})))},enumerable:!0,configurable:!0}),l.prototype.handleOver=function(t){if(this._outTimeout&&this._outTimeout.dispose(),this.isHover){this.states.hasKey("hover")&&(this.isHidden||this.applyCurrentState());var y=void 0;t&&t.pointer&&(y=g.documentPointToSvg(t.pointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale)),"hover"==this.showTooltipOn&&this.showTooltip(y)}else"hover"==this.showTooltipOn&&this.hideTooltip(),!this.isHidden&&this.states.hasKey("hover")&&this.applyCurrentState()},l.prototype.handleOut=function(t){var y=this;this.tooltip&&this.tooltip.targetSprite==this&&this.tooltip.keepTargetHover?this._outTimeout=this.setTimeout(function(){y.tooltip.isHover||(y.tooltip.targetSprite==y&&y.hideTooltip(),y._outTimeout=y.setTimeout(y.handleOutReal.bind(y),y.rollOutDelay))},10):("hover"==this.showTooltipOn&&this.hideTooltip(),this._outTimeout=this.setTimeout(this.handleOutReal.bind(this),this.rollOutDelay))},l.prototype.handleOutReal=function(){!this.isHidden&&!this.isHiding&&this.states.hasKey("hover")&&this.applyCurrentState()},Object.defineProperty(l.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}),l.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"))},l.prototype.handleUp=function(t){var y=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(a.i.events.once("exitframe",function(){y.showTooltip()})),this._disposers.push((0,f.S)().body.events.once("down",function(O){y.hideTooltip()})))},Object.defineProperty(l.prototype,"clickable",{get:function(){return this.getPropertyValue("clickable")},set:function(t){var y=this;t=R.toBoolean(t),this.setPropertyValue("clickable",t)&&(!t&&!this.isInteractive()||(this.applyCursorStyle(),this.interactions.clickable=t,this.interactions.setEventDisposer("sprite-clickable",t,function(){return new x.FV([y.events.on("down",y.handleDown,y,!1),y.events.on("up",y.handleUp,y,!1)])})))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"togglable",{get:function(){return this.getPropertyValue("togglable")},set:function(t){var y=this;t=R.toBoolean(t),this.setPropertyValue("togglable",t)&&(!t&&!this.isInteractive()||this.interactions.setEventDisposer("sprite-togglable",t,function(){return y.events.on("hit",y.handleToggle,y,!1)}))},enumerable:!0,configurable:!0}),l.prototype.handleToggle=function(t){this.isActive=!this.isActive},Object.defineProperty(l.prototype,"contextMenuDisabled",{get:function(){return this.getPropertyValue("contextMenuDisabled")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("contextMenuDisabled",t)&&(this.interactions.contextMenuDisabled=t)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"url",{get:function(){return this.getPropertyValue("url")}
1,set:function(t){this.setPropertyValue("url",t)&&(this._urlDisposer&&this._urlDisposer.dispose(),g.isNotEmpty(t)&&(this._urlDisposer=this.events.on("hit",this.urlHandler,this,!1),this.clickable=!0,this.cursorOverStyle=h.c.pointer))},enumerable:!0,configurable:!0}),Object.defineProperty(l.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}),l.prototype.setBaseId=function(t){t!=this._baseId&&(this.invalid&&(this.invalid=!1,a.i.removeFromInvalidSprites(this),this.invalidate()),this._baseId=t)},Object.defineProperty(l.prototype,"baseSprite",{get:function(){return this.isBaseSprite?this:this._parent?this._parent.baseSprite:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"urlTarget",{get:function(){return this.getPropertyValue("urlTarget")},set:function(t){this.setPropertyValue("urlTarget",t)},enumerable:!0,configurable:!0}),l.prototype.urlHandler=function(t){if(g.isNotEmpty(this.url)){var y=this.populateString(this.url);"_self"===this.urlTarget?window.location.href=y:window.open(y,this.urlTarget)}},Object.defineProperty(l.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(l.prototype,"swipeable",{get:function(){return this.getPropertyValue("swipeable")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("swipeable",t)&&(this.applyCursorStyle(),!t&&!this.isInteractive()||(this.interactions.swipeable=t))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"trackable",{get:function(){return this.getPropertyValue("trackable")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("trackable",t)&&(!t&&!this.isInteractive()||(this.applyCursorStyle(),this.interactions.trackable=t))},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"resizable",{get:function(){return this.getPropertyValue("resizable")},set:function(t){var y=this;t=R.toBoolean(t),this.setPropertyValue("resizable",t)&&(!t&&!this.isInteractive()||(this.applyCursorStyle(),this.interactions.resizable=t,this.interactions.setEventDisposer("sprite-resizable",t,function(){return new x.FV([y.events.on("down",y.handleDown,y,!1),y.events.on("resize",y.handleResize,y,!1)])})))},enumerable:!0,configurable:!0}),l.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 y=g.documentPointToSvg(t.point1,this.htmlContainer,this.svgContainer.cssScale),O=g.documentPointToSvg(t.point2,this.htmlContainer,this.svgContainer.cssScale),S=P.getMidPoint(y,O),F=g.documentPointToSprite(t.startPoint1,this._parent),V=g.documentPointToSprite(t.startPoint2,this._parent),w=this.interactions.originalPosition,U=this.interactions.originalScale;if(w){var G=P.getMidPoint({x:(F.x-w.x)/U,y:(F.y-w.y)/U},{x:(V.x-w.x)/U,y:(V.y-w.y)/U}),X=g.svgPointToSprite(S,this._parent);this.moveTo({x:X.x-G.x*this.scale,y:X.y-G.y*this.scale},void 0,void 0,!0)}}},Object.defineProperty(l.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(l.prototype,"cursorOverStyle",{set:function(t){this.cursorOptions.overStyle||(this.interactions.cursorOptions={defaultStyle:this.cursorOptions.defaultStyle}),this.cursorOptions.overStyle=t,(0,f.S)().applyCursorOverStyle(this.interactions)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"cursorDownStyle",{set:function(t){this.cursorOptions.downStyle=t},enumerable:!0,configurable:!0}),l.prototype.applyCursorStyle=function(){},Object.defineProperty(l.prototype,"interactionsEnabled",{get:function(){return!1!==this.getPropertyValue("interactionsEnabled")&&(this.virtualParent?this.virtualParent.interactionsEnabled:!this._parent||this._parent.interactionsEnabled)}
1,set:function(t){if(t=R.toBoolean(t),this.setPropertyValue("interactionsEnabled",t)){var y=null;t?this.group.node.style.pointerEvents="":y="none",this.group.node.style.pointerEvents=y}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"exporting",{get:function(){return this.getExporting()},set:function(t){this._exporting.set(t,t)},enumerable:!0,configurable:!0}),l.prototype.getExporting=function(){var t=this._exporting.get();return t||(!this.isStandaloneInstance&&this._parent?this._parent.exporting:((t=new e.D(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),t))},Object.defineProperty(l.prototype,"exportable",{get:function(){return this._exportable},set:function(t){var y=this.svgContainer;this._exportable=t,y&&(t?I.remove(y.nonExportableSprites,this):-1==I.indexOf(y.nonExportableSprites,this)&&y.nonExportableSprites.push(this))},enumerable:!0,configurable:!0}),l.prototype.modalPrefix=function(t){return o.Y.classNamePrefix+t},Object.defineProperty(l.prototype,"modal",{get:function(){var t=this.svgContainer;if(t){var y=t.modal;return y.adapter.has("classPrefix",this.modalPrefix)||y.adapter.add("classPrefix",this.modalPrefix),y}},enumerable:!0,configurable:!0}),l.prototype.openModal=function(t,y){var O=this.svgContainer;if(O)return O.openModal(t,y)},l.prototype.closeModal=function(){var t=this.svgContainer;t&&t.closeModal()},Object.defineProperty(l.prototype,"popups",{get:function(){var t=this.svgContainer;if(t){var y=t.popups;return y.template.sprite=this,y.template.adapter.has("classPrefix",this.modalPrefix)||y.template.adapter.add("classPrefix",this.modalPrefix),y}},enumerable:!0,configurable:!0}),l.prototype.openPopup=function(t,y){var O=this.svgContainer;if(O)return O.openPopup(t,y)},l.prototype.closeAllPopups=function(){var t=this.svgContainer;t&&t.closeAllPopups()},Object.defineProperty(l.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(l.prototype,"pixelX",{get:function(){var t=P.fitToRange(this.getPixelX(this.x),this.minX,this.maxX);return this._adapterO?this._adapterO.apply("pixelX",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"minX",{get:function(){return this.getPropertyValue("minX")},set:function(t){R.isNumber(t)&&(t=P.round(t,this._positionPrecision,!0),this.setPropertyValue("minX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"maxX",{get:function(){return this.getPropertyValue("maxX")},set:function(t){R.isNumber(t)&&(t=P.round(t,this._positionPrecision,!0),this.setPropertyValue("maxX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"pixelY",{get:function(){var t=P.fitToRange(this.getPixelY(this.y),this.minY,this.maxY);return this._adapterO?this._adapterO.apply("pixelY",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"minY",{get:function(){return this.getPropertyValue("minY")},set:function(t){R.isNumber(t)&&(t=P.round(t,this._positionPrecision,!0),this.setPropertyValue("minY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"maxY",{get:function(){return this.getPropertyValue("maxY")},set:function(t){R.isNumber(t)&&(t=P.round(t,this._positionPrecision,!0),this.setPropertyValue("maxY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dx",{get:function(){return this.getPropertyValue("dx")},set:function(t){R.isNumber(t)&&(t=P.round(t,this._positionPrecision,!0),this.setPropertyValue("dx",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dy",{get:function(){return this.getPropertyValue("dy")},set:function(t){R.isNumber(t)&&(t=P.round(t,this._positionPrecision,!0),this.setPropertyValue("dy",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rotation",{get:function(){return this.getPropertyValue("rotation")},set:function(t){t=R.toNumber(t),R.isNumber(t)||(t=0),this.setPropertyValue("rotation",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"align",{get:function(){return this.getPropertyValue("align")},set:function(t){t=R.toText(t),this.setPropertyValue("align",t)&&this._parent&&this._parent.invali
1dateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"valign",{get:function(){return this.getPropertyValue("valign")},set:function(t){t=R.toText(t),this.setPropertyValue("valign",t)&&this._parent&&this._parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"horizontalCenter",{get:function(){return this.getPropertyValue("horizontalCenter")},set:function(t){t=R.toText(t),this.setPropertyValue("horizontalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"verticalCenter",{get:function(){return this.getPropertyValue("verticalCenter")},set:function(t){t=R.toText(t),this.setPropertyValue("verticalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"maxWidth",{get:function(){var t=this.getPropertyValue("maxWidth");if(!R.isNumber(t)&&this._parent){var y=this._parent.maxWidth;return"absolute"!=this._parent.layout&&"none"!=this.align&&null!=this.align&&(y=y-this.pixelMarginLeft-this.pixelMarginRight),y}return t},set:function(t){this.setMaxWidth(t)},enumerable:!0,configurable:!0}),l.prototype.setMaxWidth=function(t){var y=this.maxWidth,O=this.maxHeight;this.setPropertyValue("maxWidth",t)&&(R.isNumber(this.relativeWidth)&&this.invalidate(),this.dispatchImmediately("maxsizechanged",{type:"maxsizechanged",target:this,previousWidth:y,previousHeight:O}))},Object.defineProperty(l.prototype,"maxHeight",{get:function(){var t=this.getPropertyValue("maxHeight");if(!R.isNumber(t)&&this._parent){var y=this._parent.maxHeight;
1return"absolute"!=this._parent.layout&&"none"!=this.valign&&null!=this.valign&&(y=y-this.pixelMarginTop-this.pixelMarginBottom),y}return t},set:function(t){this.setMaxHeight(t)},enumerable:!0,configurable:!0}),l.prototype.setMaxHeight=function(t){var y=this.maxWidth,O=this.maxHeight;this.setPropertyValue("maxHeight",t)&&(R.isNumber(this.relativeHeight)&&this.invalidate(),this.dispatchImmediately("maxsizechanged",{type:"maxsizechanged",target:this,previousWidth:y,previousHeight:O}))},Object.defineProperty(l.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.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 Y.gG?(this.percentWidth=t.percent,R.isNumber(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(l.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 Y.gG?(this.percentHeight=t.percent,R.isNumber(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(l.prototype,"pixelWidth",{get:function(){var t;t=R.isNumber(this.percentWidth)?this.maxWidth:R.isNumber(this._pixelWidth)?this._pixelWidth:0;var y=this.minWidth;null!=y&&t<y&&(t=y);var O=P.round(t,this._positionPrecision,!0);return this._adapterO?this._adapterO.apply("pixelWidth",O):O},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pixelHeight",{get:function(){var t;t=R.isNumber(this.percentHeight)?this.maxHeight:R.isNumber(this._pixelHeight)?this._pixelHeight:0;var y=this.minHeight;null!=y&&t<y&&(t=y);var O=P.round(t,this._positionPrecision,!0);return this._adapterO?this._adapterO.apply("pixelHeight",O):O},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"relativeWidth",{get:function(){var t=this._relativeWidth;if(R.isNumber(t))return this._adapterO?this._adapterO.apply("relativeWidth",t):t},set:function(t){this._relativeWidth!=t&&(this._relativeWidth=t)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"relativeHeight",{get:function(){var t=this._relativeHeight;if(R.isNumber(t))return this._adapterO?this._adapterO.apply("relativeHeight",t):t},set:function(t){this._relativeHeight!=t&&(this._relativeHeight=t)},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.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(l.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(l.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(l.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(l.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(l.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(l.prototype,"scale",{get:function(){return this.getPropertyValue("scale")},set:function(t){(t=R.toNumber(t))<0&&(t=0),t!=this.getPropertyValue("scale")&&(this.setPropertyValue("scale",t,!1,!0),this.handleGlobalScale())},enumerable:!0,configurable:!0}),l.prototype.margin=function(t,y,O,S){return this.marginTop=t,this.marginRight=y,this.marginBottom=O,this.marginLeft=S,this},Object.defineProperty(l.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(l.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(l.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(l.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(l.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(l.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(l.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(l.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(l.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(l.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(l.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(l.prototype,"relativeMarginBottom",{get:function(){var t=this.getRelativeY(this.marginBottom);return this._adapterO?this._adapterO.apply("relativeMarginBottom",t):t},enumerable:!0,configurable:!0}),l.prototype.padding=function(t,y,O,S){return this.paddingTop=t,this.paddingRight=y,this.paddingBottom=O,this.paddingLeft=S,this},Object.defineProperty(l.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(l.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(l.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(l.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(l.prototype,"pixelPaddingRight",{get:function(){return this.getPixelX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"relativePaddingRight",{get:function(){return this.getRelativeX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pixelPaddingLeft",{get:function(){return this.getPixelX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"relativePaddingLeft",{get:function(){return this.getRelativeX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pixelPaddingTop",{get:function(){return this.getPixelY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"relativePaddingTop",{get:function(){return this.getRelativeY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pixelPaddingBottom",{get:function(){return this.getPixelY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"relativePaddingBottom",{get:function(){return this.getRelativeY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPath(t)},enumerable:!0,configurable:!0}),l.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),R.hasValue(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(l.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(l.prototype,"strokeModifier",{get:function(){return this.getPropertyValue("strokeModifier")},set:function(t){this.setPropertyValue("strokeModifier",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fillOpacity",{get:function(){return this.getPropertyValue("fillOpacity")},set:function(t){t=P.toNumberRange(t,0,1),this.setPropertyValue("fillOpacity",t)&&this.setSVGAttribute({"fill-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fill",{get:function(){return this.getPropertyValue("fill")}
1,set:function(t){this.setFill(t)},enumerable:!0,configurable:!0}),l.prototype.setFill=function(t){if((!R.isObject(t)||"r"in t)&&(t=(0,n.p9)(t)),this.setColorProperty("fill",t)||this.fillModifier)if(t instanceof n.Il&&this.fillModifier&&(t=this.fillModifier.modify(t)),this.realFill=t,t instanceof n.Il)this.setSVGAttribute({fill:t.toString()});else if(R.hasValue(t)){if(t instanceof u.c||t instanceof s.o||t instanceof i.X){var y=t;y.paper=this.paper,this.setSVGAttribute({fill:'url("'+g.getBaseURI()+y.id+'")'})}}else this.removeSVGAttribute("fill")},Object.defineProperty(l.prototype,"opacity",{get:function(){return this.getPropertyValue("opacity")},set:function(t){t=P.toNumberRange(t,0,1),this.setPropertyValue("opacity",t)&&this.setSVGAttribute({opacity:t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"stroke",{get:function(){return this.getPropertyValue("stroke")},set:function(t){this.setStroke(t)},enumerable:!0,configurable:!0}),l.prototype.setStroke=function(t){if((!R.isObject(t)||"r"in t)&&(t=(0,n.p9)(t)),this.setColorProperty("stroke",t)||this.strokeModifier)if(t instanceof n.Il&&this.strokeModifier&&(t=this.strokeModifier.modify(t)),this.realStroke=t,t instanceof n.Il)"none"==t.hex?this.removeSVGAttribute("stroke"):this.setSVGAttribute({stroke:t.toString()});else if(R.hasValue(t)){if(t instanceof u.c||t instanceof s.o||t instanceof i.X){var y=t;y.paper=this.paper,this.setSVGAttribute({stroke:'url("'+g.getBaseURI()+y.id+'")'})}}else this.removeSVGAttribute("stroke")},Object.defineProperty(l.prototype,"strokeOpacity",{get:function(){return this.getPropertyValue("strokeOpacity")},set:function(t){t=P.toNumberRange(t,0,1),this.setPropertyValue("strokeOpacity",t)&&this.setSVGAttribute({"stroke-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"nonScalingStroke",{get:function(){return this.getPropertyValue("nonScalingStroke")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("nonScalingStroke",t)&&(this.strokeWidth=this.strokeWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"nonScaling",{get:function(){return this.getPropertyValue("nonScaling")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("nonScaling",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"strokeWidth",{get:function(){return this.getPropertyValue("strokeWidth")},set:function(t){t=R.toNumber(t),this.setPropertyValue("strokeWidth",t,!0),this.nonScalingStroke&&(R.isNumber(t)||(t=1),t/=this.globalScale),this.setSVGAttribute({"stroke-width":t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"strokeDasharray",{get:function(){return this.getPropertyValue("strokeDasharray")},set:function(t){t=R.toText(t),this.setPropertyValue("strokeDasharray",t)&&this.setSVGAttribute({"stroke-dasharray":t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"strokeDashoffset",{get:function(){return this.getPropertyValue("strokeDashoffset")},set:function(t){t=R.toNumber(t),this.setPropertyValue("strokeDashoffset",t)&&this.setSVGAttribute({"stroke-dashoffset":t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.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(l.prototype,"shapeRendering",{get:function(){return this.getPropertyValue("shapeRendering")},set:function(t){t=R.toText(t),this.setPropertyValue("shapeRendering",t)&&this.setSVGAttribute({"shape-rendering":t})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pixelPerfect",{get:function(){return this.getPropertyValue("pixelPerfect")},set:function(t){t=R.toBoolean(t),this._positionPrecision=t?o.Y.pixelPerfectPrecision:3,this.setPropertyValue("pixelPerfect",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rtl",{get:function(){return R.hasValue(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(t){t=R.toBoolean(t),this.isBaseSprite&&(this.topParent.rtl=t),this._rtl=t},enumerable:!0,configurable:!0}),l.prototype.show=function(t){return this.showReal(t)},l.prototype.showReal=function(t){var y=this;if(!this.preventShow){var O,S=this.defaultState.properties;if(!this.disabled&&(this.isHidden||!this.visible||this.isHiding||null!=S.opacity&&this.opacity<S.opacity&&!this.isShowing)&&!this.isDisposed()){this.invalid&&this.validate(),this.positionInvalid&&this.validatePosition(),R.isNumber(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,(O=this.applyCurrentState(t))&&
1!O.isFinished()?(this._showHideDisposer=O.events.on("animationended",function(){y.isShowing=!1}),this._disposers.push(this._showHideDisposer)):this.isShowing=!1;var F=this.defaultState.properties.visible;R.hasValue(F)||(F=!0),this.visible=F,this.readerHidden=!1,this.dispatchImmediately("shown")}return O}},l.prototype.hide=function(t){return this.hideReal(t)},l.prototype.hideReal=function(t){var O,y=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 S=this.hiddenState;S?(O=this.setState(S,t,void 0))&&!O.isFinished()?(this._hideAnimation=O,this._showHideDisposer=O.events.on("animationended",function(){y.isHiding=!1,y._isHidden=!0,0==S.properties.visible&&(y.visible=!1)},this),this._disposers.push(this._showHideDisposer),this._disposers.push(O)):(this.isHiding=!1,this._isHidden=!0):(this.visible=!1,this.isHiding=!1,this._isHidden=!0),this.readerHidden=!0,this.dispatchImmediately("hidden"),this.invalidate()}return R.isNumber(t)||(t=this.hiddenState.transitionDuration),O},Object.defineProperty(l.prototype,"visible",{get:function(){return this.getVisibility()},set:function(t){t=R.toBoolean(t),this.setVisibility(t)},enumerable:!0,configurable:!0}),l.prototype.getVisibility=function(){var t=this.getPropertyValue("visible");return R.hasValue(t)||(t=!0),t},l.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(l.prototype,"zIndex",{get:function(){return this.getPropertyValue("zIndex")},set:function(t){t=R.toNumber(t),this.setPropertyValue("zIndex",t)&&this.dispatch("zIndexChanged")},enumerable:!0,configurable:!0}),l.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"))},l.prototype.toBack=function(){var t=this._parent;t&&0!=t.children.indexOf(this)&&(t.children.moveValue(this,0),this.dispatch("zIndexChanged"))},Object.defineProperty(l.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(l.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(l.prototype,"tooltipDataItem",{get:function(){return this._tooltipDataItem||this.dataItem},set:function(t){this._tooltipDataItem=t},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tooltipColorSource",{get:function(){return this._tooltipColorSource},set:function(t){this._tooltipColorSource=t},enumerable:!0,configurable:!0}),l.prototype.showTooltip=function(t){"always"==this.showTooltipOn&&!this._tooltip&&this.tooltip&&(this._tooltip=this.tooltip.clone()),!t&&"pointer"==this.tooltipPosition&&this.isHover&&(t=g.documentPointToSvg((0,f.S)().lastPointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale));for(var y=this;null!=y;){if(!y.visible||y.disabled||y.__disabled)return void(this._tooltip&&this._tooltip.visible&&this._tooltip.hide(0));y=y.parent}if(R.hasValue(this.tooltipText)||R.hasValue(this.tooltipHTML)){var O=this.tooltip,S=this.tooltipDataItem;if(O){O.targetSprite=this;var F=this,V=this.tooltipColorSource;if((O.getStrokeFromObject||O.getFillFromObject)&&V&&(V.isTemplate?S&&I.eachContinue(S.sprites,function(X){return X.clonedFrom!=V||(F=X,!1)}):F=V),O.getStrokeFromObject){for(var w=this.stroke,U=F;null!=U.parent&&(null==(w=U.stroke)&&(U=U.parent),null==w););w instanceof n.Il?O.background.animate({property:"stroke",to:w},O.animationDuration):O.background.stroke=w}if(O.dataItem=S,O.label.populateStringFrom=this,O.getFillFromObject){var N=this.fill;for(U=F;null!=U.parent;)if(null==(N=U.fill)||N instanceof n.Il&&null==N.rgb)U=U.parent;else if(null!=N)break;null==N&&(N=(0,n.$_)("#000000")),N instanceof n.Il&&O.visible?O.background.animate({property:"fill",to:N},O.animationDuration):O.background.fill=N,O.autoTextColor&&N instanceof n.Il&&(O.label.fill=N.alternative)}var z="";if(this.tooltipHTML&&(O.html=this.tooltipHTML,z=this.tooltipHTML),this.tooltipText&&(O.text=this.tooltipText,z=this.tooltipText),this.updateTooltipPosition(t)){if(O.readerDescribedBy=this.uidAttr(),O.label.invali
1d&&O.label.validate(),null!=z&&""!=z&&""!=O.label.currentText){O&&!O.parent&&(O.parent=this.tooltipContainer);var G=O.defaultState.transitionDuration;return G<=0&&(G=1),O.show(G),O.currentSprite=this,!0}this.hideTooltip(0)}else this.hideTooltip(0)}}return!1},l.prototype.updateTooltipPosition=function(t){var y=this;if("pointer"!=this.tooltipPosition){var O=g.spritePointToSvg({x:this.getTooltipX(),y:this.getTooltipY()},this);return this.pointTooltipTo(O)}if(this._interactionDisposer&&this._interactionDisposer.dispose(),this._interactionDisposer=(0,f.S)().body.events.on("track",function(S){return y.pointTooltipTo(g.documentPointToSvg(S.point,y.svgContainer.SVGContainer,y.svgContainer.cssScale),!0)}),t)return this.pointTooltipTo(t,!0)},l.prototype.pointTooltipTo=function(t,y){var O=this.tooltip;return!(!O||!this.topParent||!O.showInViewport&&!P.isInRectangle(t,{x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight})||(O.pointTo(t,y),0))},l.prototype.hideTooltip=function(t){if("always"!=this.showTooltipOn){var y=this.tooltip;y&&(y.targetSprite==this&&(y.targetSprite=void 0),y.hide(t),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0))}},Object.defineProperty(l.prototype,"tooltipHTML",{get:function(){return this.getPropertyValue("tooltipHTML")},set:function(t){t=R.toText(t),this.hoverable=!0,this.setPropertyValue("tooltipHTML",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tooltipText",{get:function(){return this.getPropertyValue("tooltipText")},set:function(t){(t=R.toText(t))&&(this.hoverable=!0),this.setPropertyValue("tooltipText",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.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(l.prototype,"alwaysShowTooltip",{get:function(){return"always"==this.getPropertyValue("showTooltipOn")},set:function(t){(t=R.toBoolean(t))&&(this.showTooltipOn="always")},enumerable:!0,configurable:!0}),Object.defineProperty(l.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(l.prototype,"tooltipPosition",{get:function(){return this.getPropertyValue("tooltipPosition")},set:function(t){this.setPropertyValue("tooltipPosition",t)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tooltipY",{get:function(){return this.getTooltipY()},set:function(t){this.setPercentProperty("tooltipY",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),l.prototype.getTooltipX=function(){var y,t=this.getPropertyValue("tooltipX");return R.hasValue(t)||(t=(0,Y.aQ)(50)),R.isNumber(t)&&(y=t),t instanceof Y.gG&&(y=this.maxLeftSelf+this._measuredWidthSelf*t.value-this.pixelPaddingLeft-this.ex),R.isNumber(y)||(y=0),y},l.prototype.getTooltipY=function(){var y,t=this.getPropertyValue("tooltipY");return R.hasValue(t)||(t=(0,Y.aQ)(50)),R.isNumber(t)&&(y=t),t instanceof Y.gG&&(y=this.maxTopSelf+this._measuredHeightSelf*t.value-this.pixelPaddingTop-this.ey),R.isNumber(y)||(y=0),y},l.prototype.raiseCriticalError=function(t,y){this.svgContainer&&(this.modal.content=this._adapterO?this._adapterO.apply("criticalError",t).message:t.message,y?this.modal.closable=!0:this.disabled=!0,o.Y.suppressErrors||this.modal.open()),o.Y.verbose&&console.log(t)},l.prototype.processConfig=function(t){t&&(R.hasValue(t.tooltipColorSource)&&R.isString(t.tooltipColorSource)&&this.map.hasKey(t.tooltipColorSource)&&(t.tooltipColorSource=this.map.getKey(t.tooltipColorSource)),R.hasValue(t.cursorOverStyle)&&R.isString(t.cursorOverStyle)&&(t.cursorOverStyle=this.getCursorStyle(t.cursorOverStyle)),R.hasValue(t.cursorDowntyle)&&R.isString(t.cursorDowntyle)&&(t.cursorDowntyle=this.getCursorStyle(t.cursorDowntyle)),R.hasValue(t.cursorOptions)&&(R.hasValue(t.cursorOptions.overStyle)&&R.isString(t.cursorOptions.overStyle)&&(t.cursorOptions.overStyle=this.getCursorStyle(t.cursorOptions.overStyle)),R.hasValue(t.cursorOptions.downStyle)&&R.isString(t.cursorOptions.downStyle)&&(t.cursorOptions.downStyle=this.getCursorStyle(t.cursorOptions.downStyle)))),K.prototype.processConfig.call(this,t),this.processDelayedMap()},l.prototype.getCursorStyle=function(t){switch(t){case"grab":return h.c.grab;case"grabbing":return h.c.grabbing;case"pointer":return h.c.pointer;case"horizontalResize":return h.c.horizontalResize;case"verticalResize":return h.c.verticalResize;default:return h.c.default}},l.prototype.configOrder=function(t,y){return t==y?0:"tooltipColorSource"==t?1:"tooltipColorSource"==y?-1:K.prototype.configOrder.call(this,t,y)},Object.defineProperty(l.prototype,"isHidden",{get:function(){return this._isHidden?this._isHidden:!!this._parent&&this._parent.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"showOnInit",{get:function(){return this.getPropertyValue("showOnInit")}
1,set:function(t){t=R.toBoolean(t),this.setShowOnInit(t)},enumerable:!0,configurable:!0}),l.prototype.setShowOnInit=function(t){this.setPropertyValue("showOnInit",t)&&(this.isTemplate||(!t||this.inited||this.hidden?this._showOnInitDisposer&&this._showOnInitDisposer.dispose():(this._showOnInitDisposer=new x.FV([a.i.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))))},l.prototype.hideInitially=function(){this.isDisposed()||(this.appeared=!1,this.inited||this.hide(0))},l.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 y=this.show();y&&!y.isFinished()?this.addDisposer(y.events.on("animationended",function(){t.appeared=!0,t.dispatch("appeared")})):(this.appeared=!0,this.dispatch("appeared"))}},Object.defineProperty(l.prototype,"hidden",{get:function(){return this.getPropertyValue("hidden")},set:function(t){t=R.toBoolean(t),this.setPropertyValue("hidden",t)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this._bbox},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"plugins",{get:function(){var t=this;return this._plugins||(this._plugins=new T.aV,this._disposers.push(this._plugins.events.on("inserted",function(y){y.newValue.target=t,y.newValue.init()})),this._disposers.push(new T.zQ(this._plugins))),this._plugins},enumerable:!0,configurable:!0}),l.prototype._systemUpdate=function(t){this.validate()},l.prototype._systemCheckIfValidate=function(){return!0},l.prototype._systemValidatePositions=function(){this.validatePosition()},l.prototype._systemValidateLayouts=function(){},l}(L.y);a.i.registeredClasses.Sprite=it},76488:(tt,k,m)=>{m.d(k,{g:()=>T});var C=m(19845),B=m(5863),j=m(63351),L=m(75080),A=m(86234),D=m(50954),T=function(x){function M(){var _=null!==x&&x.apply(this,arguments)||this;return _._interactionEvents=new B.Xy,_}return(0,C.ZT)(M,x),M.prototype._dispatchSpriteEvent=function(_){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(_.type)){var p=D.merge(_,{target:this.target});this.target.events.dispatchImmediately(p.type,p)}},M.prototype._dispatchSpritePointEvent=function(_){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(_.type)){var p=D.merge(_,{target:this.target,spritePoint:_.point?A.documentPointToSprite(_.point,this.target):void 0,svgPoint:this.target.getSvgPoint(_.point)});this.target.events.dispatchImmediately(p.type,p)}},M.prototype._addInteractionObjectEvent=function(_,p,u,s){var i=this,n=s+"-"+_;return this._interactionEvents.insertKeyIfEmpty(n,function(){var h=i.target.interactions.events.on(_,p,u,s);return new L.DM(function(){i._interactionEvents.removeKey(n),h.dispose()})}).increment()},M.prototype._on=function(_,p,u,s,i,n){var f=x.prototype._on.call(this,_,p,u,s,i,n),h=[f.disposer];switch(p){case"hit":case"track":case"doublehit":case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":h.push(this._addInteractionObjectEvent(p,this._dispatchSpritePointEvent,this,i));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(p,this._dispatchSpriteEvent,this,i))}switch(p){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;
1case"focus":case"blur":this.target.focusable=!0}return f.disposer=new L.FV(h),f},M}(j.r)},47936:(tt,k,m)=>{m.d(k,{q:()=>u});var C=m(19845),B=m(84245),j=m(9450),L=m(80383),A=m(23962),D=m(61346),T=m(27481),x=m(86234),M=m(71834),_=m(50954),p=m(89196),u=function(s){function i(){var n=s.call(this)||this;return n.transitionDuration=0,n.transitionEasing=M.cubicOut,n.properties={},n.propertyFields={},n.filters=new A.aV,n.isTemplate=!1,n.className="SpriteState",n._disposers.push(new A.zQ(n.filters)),n.applyTheme(),n}return(0,C.ZT)(i,s),Object.defineProperty(i.prototype,"adapter",{get:function(){var n=this;return this._adapterO||(this._adapterO=new L.L1(this),this._adapterO.events.on("inserted",function(f){n[f.newValue.key]=n[f.newValue.key]},void 0,!1),this._adapterO.events.on("removed",function(f){n[f.newValue.key]=n[f.newValue.key]},void 0,!1)),this._adapterO},enumerable:!0,configurable:!0}),i.prototype.getPropertyValue=function(n){var f=this.properties[n],h=this.sprite;if(h){var o=this.propertyFields[n];if(p.hasValue(o)&&(h.dataItem&&(f=h.dataItem.dataContext[o]),null==f&&(f="__unset")),p.hasValue(f))this._adapterO&&(f=this._adapterO.apply(n,f));else{var a=h.getPropertyValue(n);(f=this._adapterO?this._adapterO.apply(n,a):a)==a&&(f=void 0)}}return f},i.prototype.copyFrom=function(n){n&&n!=this&&(this.transitionDuration=n.transitionDuration,this.transitionEasing=n.transitionEasing,x.copyProperties(n.properties,this.properties),x.copyProperties(n.propertyFields,this.propertyFields),this.filters.copyFrom(n.filters),n._adapterO&&this.adapter.copyFrom(n._adapterO))},Object.defineProperty(i.prototype,"allValues",{get:function(){var n=this,f={};if(_.each(this.properties,function(a,c){f[a]=n.getPropertyValue(a)}),this._adapterO){var h=this._adapterO.keys();_.each(h,function(a,c){var d=n.getPropertyValue(c);f[c]=d})}return _.each(this.propertyFields,function(a){var c=n.getPropertyValue(a);f[a]=c}),f},enumerable:!0,configurable:!0}),i.prototype.reset=function(){this.properties={},this.filters.clear()},i.prototype.processConfig=function(n){p.hasValue(n)&&p.hasValue(n.properties)&&_.each(n.properties,function(f,h){p.isString(h)&&(h.match(/^[0-9.\-]+\%$/)?n.properties[f]=(0,T.aQ)(p.toNumber(h)):h.match(/^\#[0-9abcdef]{3,}$/i)&&(n.properties[f]=(0,D.p9)(h)))}),s.prototype.processConfig.call(this,n)},i.prototype.asFunction=function(n){return"transitionEasing"==n||s.prototype.asIs.call(this,n)},i}(B.L);j.i.registeredClasses.SpriteState=u},22964:(tt,k,m)=>{m.d(k,{B:()=>x,x:()=>T});var C=m(9450),B=m(6668),j=m(28585),L=m(17478),A=m(50954),D=m(62566),T=function(){function M(){this._isPaused=!1,this.animations=[],this.uid=C.i.getUniqueId(),this.dummyCounter=0,this._frameRequested=!1,this.updateStepDuration=45,this.time=Date.now()}return M.prototype.reportTime=function(_,p){p&&(this.time=Date.now())},M.prototype.update=function(){var _=this;if(!this._isPaused){this._frameRequested=!1;var p=Date.now();for(var s in C.i.dispatchImmediately("enterframe"),C.i.invalidDatas)if(A.hasKey(C.i.invalidDatas,s)){for(var i=C.i.invalidDatas[s];i.length>0;){var f=(n=i[0]).dataProvider;if(n.isDisposed())L.remove(i,n);else if(f&&f.dataInvalid)try{if(f.validateData(),f.dataValidationProgress<1)break}catch(c){L.remove(i,f),f.raiseCriticalError(c)}else try{if(n.validateData(),n.dataValidationProgress<1)break}catch(c){L.remove(i,n),n.raiseCriticalError(c)}}if(Date.now()-p>this.updateStepDuration)break}for(;C.i.invalidRawDatas.length>0;)if((n=C.i.invalidRawDatas[0]).isDisposed())L.remove(C.i.invalidRawDatas,n);else try{n.validateRawData()}catch(d){L.remove(C.i.invalidRawDatas,n),n.raiseCriticalError(d)}for(;C.i.invalidDataItems.length>0;){if(f=(n=C.i.invalidDataItems[0]).dataProvider,!(n.isDisposed()||n.dataInvalid||f&&f.dataInvalid))try{n.validateDataItems()}catch(r){L.remove(C.i.invalidDataItems,n),n.raiseCriticalError(r)}L.remove(C.i.invalidDataItems,n)}for(;C.i.invalidDataRange.length>0;){var n;if(f=(n=C.i.invalidDataRange[0]).dataProvider,!(n.isDisposed()||n.dataInvalid||f&&f.dataInvalid))try{n.validateDataRange(),n.skipRangeEvent||n.dispatchImmediately("datarangechanged"),n.skipRangeEvent=!1}catch(r){L.remove(C.i.invalidDataRange,n),n.raiseCriticalError(r)}L.remove(C.i.invalidDataRange,n)}var h=[];A.each(C.i.invalidLayouts,function(c){_.validateLayouts(c)}),A.each(C.i.invalidPositions,function(c){_.validatePositions(c)});var o=!1;if(p=Date.now(),A.each(C.i.invalidSprites,function(c,d){for(var r=0;d.length>0;){if(_.validateLayouts(c),_.validatePositions(c),5==++r){if(Date.now()-p>_.updateStepDuration)break;r=0}var b=d[d.length-1];if(b&&!b.isDisposed()){if(b._systemCheckIfValidate())if(_.checkIfValidate2(b))try{b._systemUpdate(h)}catch(v){b.invalid=!1,L.remove(d,b),b.raiseCriticalError(v)}else h.push(b);else h.push(b);b.invalid=!1}L.remove(d,b)}C.i.invalidSprites[c]=C.i.invalidSprites[c].concat(h)}),A.each(C.i.invalidSprites,function(c,d){d.length>0&&(o=!0)}),A.each(C.i.invalidDatas,function(c,d){d.length>0&&(o=!0)}),L.each(L.copy(this.animations),function(c){c.update()}),A.each(C.i.invalidLayouts,function(c){_.validateLayouts(c)}),A.each(C.i.invalidPositions,function(c){_.validatePositions(c)}),(0,j.YO)(),A.each(C.i.invalidLayouts,function(c){_.validateLayouts(c)}),A.each(C.i.invalidPositions,function(c){_.validatePositions(c)}),C.i.dispatchImmediately("exitframe"),(o||this.animations.length>0||[].length>0)&&this.requestFrame(),this.updateStepDuration<200){var a=!0;A.each(C.i.invalidDatas,function(c,d){d.length>0&&(a=!1)}),A.each(C.i.invalidSprites,function(c,d){d.length>0&&(a=!1)}),a&&(this.updateStepDuration=200)}}},M.prototype.checkIfValidate2=function(_){return!(_.dataItem&&_.dataItem.component&&_.dataItem.component.dataInvalid&&!_.dataItem.component.isTemplate)},M.prototype.requestFrame=function(){var _=this;
1this._frameRequested||((0,j.Wn)(function(){_.update()}),this._frameRequested=!0)},M.prototype.softInvalidate=function(_){var p=this;_.children.each(function(u){u instanceof B.W&&p.softInvalidate(u),u.measureFailed&&((0,C.is)(u,"Label")?u.hardInvalidate():u.invalidate(),u.measureFailed=!1)})},M.prototype.validatePositions=function(_){for(var p=C.i.invalidPositions[_];p.length>0;){var u=p[p.length-1];if(u.isDisposed())L.remove(p,u);else try{u._systemValidatePositions()}catch(s){u.positionInvalid=!1,L.remove(p,u),u.raiseCriticalError(s)}}},M.prototype.validateLayouts=function(_){for(var p=C.i.invalidLayouts[_];p.length>0;){var u=p[p.length-1];if(u.isDisposed())L.remove(p,u);else try{u.children.each(function(s){s._systemValidateLayouts()}),u.validateLayout()}catch(s){u.layoutInvalid=!1,L.remove(p,u),u.raiseCriticalError(s)}}},M.prototype.log=function(_){D.c(_)},Object.defineProperty(M.prototype,"isPaused",{get:function(){return this._isPaused},set:function(_){this._isPaused=_,_||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),M.VERSION="4.10.36",M}(),x=new T},2280:(tt,k,m)=>{m.d(k,{t:()=>D});var C=m(19845),B=m(83264),j=m(89196),L=m(17478),A=[",",";","\t"],D=function(T){function x(){var M=null!==T&&T.apply(this,arguments)||this;return M.contentType="text/csv",M.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},M}return(0,C.ZT)(x,T),x.isCSV=function(M){return!!x.getDelimiterFromData(M)},x.getDelimiterFromData=function(M){var u,_=M.split("\n"),p=_.length;return L.each(A,function(s){for(var i=0,n=0,f=0;f<p;++f){if(!((i=_[f].split(s).length)>1)){n=0;break}if(0===n)n=i;else if(i!=n){n=0;break}}n&&(u=s)}),u},x.prototype.parse=function(M){this.options.delimiter||(this.options.delimiter=x.getDelimiterFromData(M));var f,h,a,_=this.CSVToArray(M,this.options.delimiter),p=j.hasValue(this.options.emptyAs),u=this.parsableNumbers,s=this.parsableDates,i=[],n=[];for(h=0;h<this.options.skipRows;h++)_.shift();if(this.options.useColumnNames){n=_.shift();for(var o=0;o<n.length;o++)""===(f=j.hasValue(n[o])?n[o].replace(/^\s+|\s+$/gm,""):"")&&(f="col"+o),n[o]=f}for(;a=this.options.reverse?_.pop():_.shift();)if(!this.options.skipEmpty||1!==a.length||""!==a[0]){var c={};for(h=0;h<a.length;h++)c[f=void 0===n[h]?"col"+h:n[h]]=""===a[h]?this.options.emptyAs:a[h],p&&(c[f]=this.maybeToEmpty(c[f])),u&&(c[f]=this.maybeToNumber(f,c[f])),s&&(c[f]=this.maybeToDate(f,c[f]));i.push(c)}return i},x.prototype.CSVToArray=function(M,_){_=_||",";for(var p=new RegExp("(\\"+_+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+_+"\\r\\n]*))","gi"),u=[[]],s=null;s=p.exec(M);){var i=s[1];i.length&&i!==_&&u.push([]);var n;n=s[2]?s[2].replace(new RegExp('""',"g"),'"'):s[3],u[u.length-1].push(n)}return u},x}(B._)},23198:(tt,k,m)=>{m.d(k,{R:()=>D,x:()=>T});var C=m(2280),B=m(24934),j=m(80383),L=m(75331),A=m(17478),D=function(){function x(){this.adapter=new j.L1(this)}return x.prototype.load=function(M){var _=Array.isArray(M)?M:[M],p=A.map(_,function(u){return u.dispatchImmediately("started"),u.dispatchImmediately("loadstarted"),L.load(u.url,u,u.requestOptions)});Promise.all(p).then(function(u){A.each(u,function(s){var i=s.target;i.dispatchImmediately("loadended"),s.error?i.events.isEnabled("error")&&i.events.dispatchImmediately("error",{type:"error",code:s.xhr.status,message:i.language.translate("Unable to load file: %1",null,i.url),target:i}):i.processData(s.response,s.type),i.dispatchImmediately("ended")})}).catch(function(u){u.target&&(u.target.dispatchImmediately("loadended"),u.target.events.isEnabled("error")&&u.target.events.dispatchImmediately("error",{type:"error",code:u.xhr.status,message:u.target.language.translate("Unable to load file: %1",null,u.target.url),target:u.target}),u.target.dispatchImmediately("ended"))})},x.prototype.getParserByType=function(M){return this.adapter.apply("getParserByType",{parser:null,type:M}).parser||("csv"==M||"text/csv"==M||"application/vnd.ms-excel"==M?new C.t:"json"==M||"application/json"==M?new B.c:void 0)},x.prototype.getParserByData=function(M,_){var p=this.adapter.apply("getParserByData",{parser:null,data:M,type:_}).parser;if(!p){if(p=this.getParserByType(_))return p;if(B.c.isJSON(M))return this.getParserByType("json");
1if(C.t.isCSV(M))return this.getParserByType("csv")}return p},x}(),T=new D},83264:(tt,k,m)=>{m.d(k,{_:()=>L});var C=m(19459),B=m(86234),j=m(89196),L=function(){function A(){}return A.prototype.parse=function(D){return[]},Object.defineProperty(A.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),A.prototype.maybeToNumber=function(D,T){return-1!==this.options.numberFields.indexOf(D)?B.anyToNumber(T):T},Object.defineProperty(A.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),A.prototype.maybeToDate=function(D,T){return-1!==this.options.dateFields.indexOf(D)?this.options.dateFormatter.parse(T,this.dateFormat):T},A.prototype.maybeToEmpty=function(D){return j.hasValue(D)&&""!=D||!j.hasValue(this.options.emptyAs)?D:this.options.emptyAs},Object.defineProperty(A.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new C.C,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),A}()},36438:(tt,k,m)=>{m.d(k,{o:()=>u});var C=m(19845),B=m(23198),j=m(24934),L=m(2280),A=m(84245),D=m(80383),T=m(87037),x=m(19459),M=m(9450),_=m(89196),p=m(50954),u=function(s){function i(n,f){var h=s.call(this)||this;return h.adapter=new D.L1(h),h._requestOptions={},h._incremental=!1,h._incrementalParams={},h._keepCount=!1,h._updateCurrentData=!1,h.showPreloader=!0,h.className="DataSource",n&&(h.url=n),f&&(h.parser="string"==typeof f?B.x.getParserByType(f):f),h}return(0,C.ZT)(i,s),i.prototype.processData=function(n,f){if(this.dispatchImmediately("parsestarted"),this.parser||(this.parser=B.x.getParserByData(n,f),this.parser)){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",n))),!_.hasValue(this.data)&&this.events.isEnabled("parseerror")){var o={type:"parseerror",message:this.language.translate("Error parsing file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",o)}this.dispatchImmediately("parseended"),_.hasValue(this.data)&&this.dispatchImmediately("done",{data:this.data}),this.lastLoad=new Date}else{if(this.events.isEnabled("parseerror")){var h={type:"parseerror",message:this.language.translate("No parser available for file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",h)}this.dispatchImmediately("parseended")}},Object.defineProperty(i.prototype,"url",{get:function(){var n=this.disableCache?this.timestampUrl(this._url):this._url;return this.incremental&&this.component.data.length&&(n=this.addUrlParams(n,this.incrementalParams)),this.adapter.apply("url",n)},set:function(n){this._url=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"requestOptions",{get:function(){return this.adapter.apply("requestOptions",this._requestOptions)},set:function(n){this._requestOptions=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"parser",{get:function(){return this._parser||(this._parser=new j.c),this.adapter.apply("parser",this._parser)},set:function(n){this._parser=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"reloadFrequency",{get:function(){return this.adapter.apply("reloadTimeout",this._reloadFrequency)},set:function(n){var f=this;this._reloadFrequency!=n&&(this._reloadFrequency=n,n?_.hasValue(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",function(h){f._reloadTimeout=setTimeout(function(){f.load()},f.reloadFrequency)})):_.hasValue(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"incremental",{get:function(){return this.adapter.apply("incremental",this._incremental)},set:function(n){this._incremental=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"incrementalParams",{get:function(){return this.adapter.apply("incrementalParams",this._incrementalParams)},set:function(n){this._incrementalParams=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"keepCount",{get:function(){return this.adapter.apply("keepCount",this._keepCount)},set:function(n){this._keepCount=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"updateCurrentData",{get:function(){return this.adapter.apply("updateCurrentData",this._updateCurrentData)},set:function(n){this._updateCurrentData=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"language",{get:function(){return this._language?this._language:this.component?(this._language=this.component.language,this._language):(this.language=new T.S,this.language)},set:function(n){this._language=n},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.component?(this._dateFormatter=this.component.dateFormatter,this._dateFormatter):(this.dateFormatter=new x.C,this.dateFormatter)},set:function(n){this._dateFormatter=n},enumerable:!0,configurable:!0}),i.prototype.timestampUrl=function(n){var h={};return h[(new Date).getTime().toString()]="",this.addUrlParams(n,h)},i.prototype.dispose=function(){s.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout),_.hasValue(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0)},i.prototype.load=function(){this.url&&(this._reloadTimeout&&clearTimeout(this._reloadTimeout),B.x.load(this))},i.prototype.addUrlParams=function(n,f){var h=n.match(/\?/)?"&":"?",o=[];return p.each(f,function(a,c){o.push(""!=c?a+"="+encodeURIComponent(c):a)}),o.length?n+h+o.join("&"):n},i.prototype.processConfig=function(n){M.i.registeredClasses.json=j.c,M.i.registeredClasses.JSONParser=j.c,M.i.registeredClasses.csv=L.t,M.i.registeredClasses.CSVParser=L.t,s.prototype.processConfig.call(this,n)},i}(A.y)},24934:(tt,k,m)=>{m.d(k,{c:()=>A});var C=m(19845),B=m(83264),j=m(50954),L=m(89196),A=function(D){function T(){var x=null!==D&&D.apply(this,arguments)||this;return x.contentType="application/json",x.options={},x}return(0,C.ZT)(T,D),T.isJSON=function(x){try{return JSON.parse(x),!0}catch{return!1}},T.prototype.parse=function(x){var _,M=this;try{L.hasValue(JSON)&&(_=JSON.parse(x))}catch{return}var p=L.hasValue(this.options.emptyAs),u=this.parsableNumbers,s=this.parsableDates;if(Array.isArray(_)&&(u||s||p))for(var i=function(h,o){var a=_[h];j.each(a,function(c,d){p&&(a[c]=M.maybeToEmpty(a[c])),u&&(a[c]=M.maybeToNumber(c,a[c])),s&&(a[c]=M.maybeToDate(c,a[c]))})},n=0,f=_.length;n<f;n++)i(n);return _},T}(B._)},84979:(tt,k,m)=>{m.d(k,{n:()=>B});var C=m(61346),B=function(){function j(){}return j.opacity=1,j.strokeOpacity=1,j.strokeWidth=1,j.fillOpacity=1,j.fill=(0,C.$_)("#000000"),j.stroke=(0,C.$_)("#000000"),j.focusable=void 0,j.tabindex=0,j}()},16569:(tt,k,m)=>{m.d(k,{z:()=>T});var C=m(19845),B=m(6668),j=m(81646),L=m(68049),A=m(94131),D=m(9450),T=function(x){function M(){var _=x.call(this)||this;_.className="Button",_.tooltipY=0,_.iconPosition="left",_.layout="horizontal",_.contentAlign="center",_.contentValign="middle",_.padding(8,16,8,16),_.setStateOnChildren=!0;var p=new A.h,u=_.background;u.fill=p.getFor("secondaryButton"),u.stroke=p.getFor("secondaryButtonStroke"),u.fillOpacity=1,u.strokeOpacity=1,u.cornerRadius(3,3,3,3),_.label=new j._,_.label.fill=p.getFor("secondaryButtonText"),_.label.shouldClone=!1;var s=u.states.create("hover");s.properties.fillOpacity=1,s.properties.fill=p.getFor("secondaryButtonHover");var i=u.states.create("down");return i.transitionDuration=100,i.properties.fill=p.getFor("secondaryButtonDown"),i.properties.fillOpacity=1,_.role="button",_.focusable=!0,_.applyTheme(),_}return(0,C.ZT)(M,x),Object.defineProperty(M.prototype,"icon",{get:function(){return this._icon},set:function(_){var p=this._icon;p&&(p.parent=void 0),_&&(this._icon=_,_.parent=this,_.interactionsEnabled=!1,_.shouldClone=!1,this.iconPosition=this.iconPosition,this._disposers.push(_))},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(_){this.setPropertyValue("iconPosition",_),this.icon&&("left"==_?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"label",{get:function(){return this._label},set:function(_){this._label&&this.removeDispose(this._label),this._label=_,_&&(_.parent=this,_.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}
1),M.prototype.createBackground=function(){return new L.c},M.prototype.copyFrom=function(_){x.prototype.copyFrom.call(this,_),_.label&&this.label.copyFrom(_.label),_.icon&&(this.icon=_.icon.clone())},M}(B.W);D.i.registeredClasses.Button=T},799:(tt,k,m)=>{m.d(k,{C:()=>T});var C=m(19845),B=m(31991),j=m(27481),L=m(9450),A=m(86234),D=m(90868),T=function(x){function M(){var _=x.call(this)||this;return _.className="Circle",_.element=_.paper.add("circle"),_.setPercentProperty("radius",(0,j.aQ)(100)),_.setPropertyValue("horizontalCenter","middle"),_.setPropertyValue("verticalCenter","middle"),_.applyTheme(),_}return(0,C.ZT)(M,x),M.prototype.draw=function(){x.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(M.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(_){this.setPercentProperty("radius",_,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"pixelRadius",{get:function(){return A.relativeToValue(this.radius,D.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),M.prototype.measureElement=function(){var _=this.pixelRadius;this._bbox={x:-_,y:-_,width:2*_,height:2*_}},M}(B.jy);L.i.registeredClasses.Circle=T},81646:(tt,k,m)=>{m.d(k,{_:()=>s});var C=m(19845),B=m(6668),j=m(9450),L=m(34441),A=m(75080),D=m(94131),T=m(90868),x=m(86234),M=m(89196),_=m(47744),p=m(59625),u=m(15241),s=function(i){function n(){var f=i.call(this)||this;return f.isOversized=!1,f.className="Label",f.fill=(new D.h).getFor("text"),f.wrap=!1,f.truncate=!1,f.fullWords=!0,f.ellipsis="\u2026",f.textAlign="start",f.textValign="top",f.layout="absolute",f.baseLineRatio=-.27,f._positionPrecision=1,f.events.on("maxsizechanged",function(){f.inited&&f.handleMaxSize()},f,!1),f.events.once("validated",f.handleValidate,f,!1),f.applyTheme(),f}return(0,C.ZT)(n,i),n.prototype.afterDraw=function(){i.prototype.afterDraw.call(this),this.validatePosition()},n.prototype.setPaper=function(f){var h=i.prototype.setPaper.call(this,f);return h&&this.hardInvalidate(),h},n.prototype.handleValidate=function(){(this.currentText||this.text)&&(0==this.bbox.width||0==this.bbox.height)&&j.i.events.once("exitframe",this.hardInvalidate,this)},n.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()},n.prototype.arrange=function(){},n.prototype.updateCurrentText=function(){var f,h;x.isNotEmpty(this.html)&&this.paper.supportsForeignObject()?(f="html",h=this.html):(f="svg",h=this.text),M.isObject(h)&&(h=h.toString()),M.hasValue(h)&&""!==h&&(h=this.populateString(h,this.dataItem)),"html"==f?this._adapterO&&(h=this._adapterO.apply("htmlOutput",h)):this._adapterO&&(h=this._adapterO.apply("textOutput",h));var o=h!=this.currentText||f!=this._currentFormat;return this.currentText=h,this._currentFormat=f,o},n.prototype.hardInvalidate=function(){this._prevStatus="",this.invalidate()},n.prototype.getLineBBox=function(f){var h=f&&f.element,o=h&&h.node;o&&o.parentNode&&(f.bbox=h.getBBox())},n.prototype.draw=function(){i.prototype.draw.call(this);var f=this.bbox.width,h=this.bbox.height,o=this.topParent;if(!o||o.maxWidth&&o.maxHeight){var a=T.max(this.availableWidth-this.pixelPaddingLeft-this.pixelPaddingRight,0),c=T.max(this.availableHeight-this.pixelPaddingTop-this.pixelPaddingBottom,0),d=c+","+a+this.wrap+this.truncate+this.fullWords+this.rtl+this.ellipsis;if(this.updateCurrentText()||!this.inited||this._prevStatus!=d){this._measuredWidth=0,this._measuredHeight=0,this.isOversized=!1;var r=this._currentFormat,b=this.currentText;if(!M.hasValue(b)||""==b)return void this.element.attr({display:"none"});var v=b.split("\n");this._prevStatus=d,this.textAlign=this.textAlign;var e=this.group.getAttr("display");if("none"==e&&this.group.removeAttr("display"),this.textPathElement&&this.textPathElement.removeChildren(),"svg"===r){this.element.removeAttr("display");var g=this.element;this.resetBBox();for(var P=0,E="",I=0;I<v.length;I++){var W=v[I];if(""!=W){var Y=(0,L.k)().chunk(W,null,this.ignoreFormatting),q=0,it=!0,K=!1,l=this.getLineInfo(I);l?(l.text="",l.element.textContent=""):(l={text:"",element:this.getSVGLineElement("",0),complex:!1},g.add(l.element)),l.element.removeAttr("display"),l.element.removeChildren(),this.textPathElement&&l.element.add(this.textPathElement);for(var t=0;t<Y.length;t++){t&&(l.complex=!0);var y=Y[t];if("format"===y.type)E=y.text;else{if(K)continue;if(l.text=y.text,l.style=(0,L.k)().translateStyleShortcuts(E),this.get
1SvgElement(l.text,l.style,this.textPathElement?this.textPathElement:l.element),this.getLineBBox(l),l.bbox.width=Math.ceil(l.bbox.width),q<l.bbox.height&&(q=l.bbox.height),(this.wrap||this.truncate)&&l.bbox.width>a){this.isOversized=!0;var O=l.element.textContent,S=l.bbox.width/O.length,F=T.min(Math.ceil((l.bbox.width-a)/S),O.length);if(this.truncate){var V=!1,w=l.element.node;if(w&&w.childNodes)for(var U=l.element.node.childNodes.length-1;U>=0;U--){var N=l.element.node.childNodes[U];if(V&&l.bbox.width<=a&&(N.textContent+=" "+this.ellipsis,l.bbox=l.element.getBBox(),l.bbox.width=Math.floor(l.bbox.width),l.bbox.width<=a))break;V=!1;var z=N.textContent;for(O=l.element.textContent,F=T.min(Math.ceil((l.bbox.width-a)/S),O.length);l.bbox.width>a&&F<=O.length&&F>0;)(G=T.max(O.length-F-this.ellipsis.length,1))<=1&&(F=0,U>0&&(V=!0,l.element.node.removeChild(N))),(z=x.truncateWithEllipsis(z,G,this.ellipsis,this.fullWords,this.rtl)).length>G&&this.fullWords&&(z=x.truncateWithEllipsis(z,G,this.ellipsis,!1,this.rtl)),N.textContent=z,l.bbox=l.element.getBBox(),l.bbox.width=Math.floor(l.bbox.width),F=Math.ceil(1.1*F);K=!0}}else if(l.element.node){for(var J=l.element.node.lastChild,H=void 0;l.bbox.width>a&&F<=O.length&&F>0;){var G=T.max(y.text.length-F,1);if(it?H=x.splitTextByCharCount(y.text,G,!0,this.rtl):((H=x.splitTextByCharCount(y.text,G,!0,this.rtl,!1))[0].length>G||1===G)&&(l.element.node.removeChild(J),F=0),F>0){var Q=H.shift();it&&(Q=x.trim(Q)),J.textContent=(0,L.k)().cleanUp(Q)}l.bbox=l.element.getBBox(),l.bbox.width=Math.floor(l.bbox.width),F++}if(H.length>0){var et="";M.hasValue(H)&&(et+=this.rtl?H.join("")+E:E+H.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var rt=t+1;rt<Y.length;rt++)et+="value"==Y[rt].type?Y[rt].text.replace(/([\[\]]{1})/g,"$1$1"):Y[rt].text;v.splice(I+1,0,et)}K=!0}}this.bbox.width<l.bbox.width&&(this.bbox.width=l.bbox.width),this.bbox.height=P+q,l.element.attr(this.textPathElement?{dy:-this.paddingBottom.toString()}:{x:"0",y:P+q,dy:T.round(this.baseLineRatio*q,3).toString()}),it=!1}}var at=l.element.node;at&&(J=at.lastChild)&&(J.textContent=this.rtl?x.ltrim(J.textContent):x.rtrim(J.textContent)),P+=q,this.addLineInfo(l,I)}else{var R=this.getSVGLineElement("",0);R.add(this.getSvgElement(".",(0,L.k)().translateStyleShortcuts(E))),g.add(R);var Z=Math.ceil(R.getBBox().height);Z>0&&(P+=Z),g.removeElement(R);var $=this.getLineInfo(I);$&&($.text="",$.element.textContent="")}}this.maybeHideOversized(),this.measureFailed=!1,(0==this.bbox.width||0==this.bbox.height)&&(this.measureFailed=!0),this._measuredWidth=T.round(T.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight)),this._measuredHeight=T.round(T.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom)),this.alignSVGText(),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,(h!=this._measuredHeight||f!=this._measuredWidth)&&this.dispatch("transformed"),this.hideUnused(v.length)}else{this.element.removeAttr("display"),this.resetBBox(),(g=this.element).removeChildren(),this.setCache("lineInfo",[],0);var st=this.paper.foreignObject();g.add(st),this.maxWidth&&st.attr({width:this.maxWidth-this.pixelPaddingLeft-this.pixelPaddingRight}),this.maxHeight&&st.attr({height:this.maxHeight-this.pixelPaddingTop-this.pixelPaddingBottom});var nt=this.getHTMLLineElement(b);st.node.appendChild(nt),nt.style.display="inline-block";var ot=nt.clientWidth,ht=nt.clientHeight;nt.style.display="block",this._bbox={x:0,y:0,width:ot,height:ht},st.attr({width:ot+1,height:ht}),this.maybeHideOversized(),this._measuredWidth=T.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=T.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(nt.style.overflow="hidden"),(ot>a||ht>c)&&(this.isOversized=!0)}
1this.setStyles(),this.updateCenter(),this.updateBackground(),"none"==e&&this.group.attr({display:"none"}),this.pathElement&&this.paper.appendDef(this.pathElement)}}else o.events.once("maxsizechanged",this.hardInvalidate,this,!1)},n.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))},n.prototype.alignSVGText=function(){var f=this.element,h=f.node.children||f.node.childNodes;if(h&&(!h||0!=h.length)){var o=this._measuredWidth,a=this._measuredHeight;x.used(this.pixelPaddingLeft),x.used(this.pixelPaddingRight),x.used(this.pixelPaddingTop),x.used(this.pixelPaddingBottom),this.rtl?f.attr({direction:"rtl"}):f.removeAttr("direction");for(var c=h.length-1;c>=0;c--){var d=h[c];if(d.setAttribute("text-anchor",this.textAlign),this.textPathElement)d.removeAttribute("x"),d.removeAttribute("y");else{switch(this.textAlign){case"middle":d.setAttribute("x",(o/2).toString()+"px");break;case"end":this.rtl||d.setAttribute("x",o.toString());break;default:this.rtl?d.setAttribute("x",o.toString()):d.removeAttribute("text-anchor")}var r=M.toNumber(d.getAttribute("y"));switch(this.textValign){case"middle":d.setAttribute("y",((r||0)+(a-this.bbox.height)/2).toString());break;case"bottom":d.setAttribute("y",((r||0)+a-this.bbox.height).toString());break;default:d.setAttribute("y",(r||0).toString())}}}}},n.prototype.getSVGLineElement=function(f,h){var o=this.paper.addGroup("text");return o.textContent=f,o.attr({x:"0"}),M.hasValue(h)&&o.attr({y:h.toString()}),(this.truncate||this.wrap)&&o.attr({overflow:"hidden"}),o},Object.defineProperty(n.prototype,"rtl",{get:function(){return M.hasValue(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(f){f=M.toBoolean(f),this._rtl=f,this.element&&this.alignSVGText()},enumerable:!0,configurable:!0}),n.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},n.prototype.getHTMLLineElement=function(f){var h=document.createElement("div");switch(h.innerHTML=f,this.textAlign){case"middle":h.style.textAlign="center";break;case"end":h.style.textAlign="right"}return this.wrap?h.style.wordWrap="break-word":h.style.whiteSpace="nowrap",this.rtl&&(h.style.direction="rtl"),M.hasValue(this.fill)&&(h.style.color=this.fill.toString()),h},n.prototype.setStyles=function(){var f=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?f.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(f.removeStyle("webkitUserSelect"),f.removeStyle("msUserSelect"))},n.prototype.hideUnused=function(f){this.initLineCache();var h=this.getCache("lineInfo");if(h.length>=f)for(var o=f;o<h.length;o++){var a=h[o];a&&a.element&&a.element.attr({display:"none"})}},Object.defineProperty(n.prototype,"text",{get:function(){return this.getPropertyValue("text")},set:function(f){this.setPropertyValue("text",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(f){this.setPropertyValue("path",f,!0)&&(this.pathElement&&this.pathElement.dispose(),this.textPathElement&&this.textPathElement.dispose(),this.pathElement=this.paper.add("path"),this.pathElement.attr({d:f}),this.pathElement.attr({id:"text-path-"+this.uid}),this._disposers.push(this.pathElement),this.textPathElement=this.paper.addGroup("textPath"),this.textPathElement.attrNS(_.Xz,"xlink:href","#text-path-"+this.uid),this.textPathElement.attr({path:f}),this._disposers.push(this.textPathElement),this.hardInvalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"locationOnPath",{get:function(){return this.getPropertyValue("locationOnPath")},set:function(f){this.setPropertyValue("locationOnPath",f),this.textPathElement&&this.textPathElement.attr({startOffset:100*f+"%"})},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"baseLineRatio",{get:function(){return this.getPropertyValue("baseLineRatio")},set:function(f){this.setPropertyValue("baseLineRatio",f)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"wrap",{get:function(){return this.getPropertyValue("wrap")},set:function(f){this.resetBBox(),this.setPropertyValue("wrap",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"truncate",{get:function(){return this.getPropertyValue("truncate")}
1,set:function(f){this.resetBBox(),this.setPropertyValue("truncate",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fullWords",{get:function(){return this.getPropertyValue("fullWords")},set:function(f){this.setPropertyValue("fullWords",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ellipsis",{get:function(){return this.getPropertyValue("ellipsis")},set:function(f){this.setPropertyValue("ellipsis",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectable",{get:function(){return this.getPropertyValue("selectable")},set:function(f){this.setPropertyValue("selectable",f,!0),this.setStyles()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textAlign",{get:function(){return this.getPropertyValue("textAlign")},set:function(f){this.setPropertyValue("textAlign",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textValign",{get:function(){return this.getPropertyValue("textValign")},set:function(f){this.setPropertyValue("textValign",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"html",{get:function(){return this.getPropertyValue("html")},set:function(f){this.setPropertyValue("html",f,!0),M.hasValue(f)||this.element.removeChildrenByTag("foreignObject")},enumerable:!0,configurable:!0}),n.prototype.setFill=function(f){if(i.prototype.setFill.call(this,f),this.html)for(var o=this.element.node.getElementsByTagName("div"),a=0;a<o.length;a++){var c=o[a];M.hasValue(this.fill)&&(c.style.color=this.fill.toString())}},Object.defineProperty(n.prototype,"hideOversized",{get:function(){return this.getPropertyValue("hideOversized")},set:function(f){this.setPropertyValue("hideOversized",f,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ignoreFormatting",{get:function(){return this.getPropertyValue("ignoreFormatting")},set:function(f){this.setPropertyValue("ignoreFormatting",f,!0)},enumerable:!0,configurable:!0}),n.prototype.measureElement=function(){},n.prototype.getLineInfo=function(f){this.initLineCache();var h=this.getCache("lineInfo");return h.length>f?h[f]:void 0},n.prototype.addLineInfo=function(f,h){this.initLineCache(),this.getCache("lineInfo")[h]=f},n.prototype.initLineCache=function(){M.hasValue(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},n.prototype.setDataItem=function(f){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),f&&(this._sourceDataItemEvents=new A.FV([f.events.on("valuechanged",this.invalidate,this,!1),f.events.on("workingvaluechanged",this.invalidate,this,!1),f.events.on("calculatedvaluechanged",this.invalidate,this,!1),f.events.on("propertychanged",this.invalidate,this,!1)])),i.prototype.setDataItem.call(this,f)},Object.defineProperty(n.prototype,"availableWidth",{get:function(){return M.hasValue(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"availableHeight",{get:function(){return M.hasValue(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),n.prototype.getSvgElement=function(f,h,o){var a=this.paper.add("tspan");if(a.textContent=f,h)if(u.Y.nonce&&o){var c="amcharts_element_style_"+btoa(h).replace(/[^\w]*/g,"");a.node.setAttribute("class",c);var d=document.createElementNS(_.qu,"defs");o.node.appendChild(d);var r=document.createElement("style");r.type="text/css",r.innerHTML="."+c+" { "+h+"}",r.setAttribute("nonce",u.Y.nonce),d.appendChild(r)}else a.node.setAttribute("style",h);return o&&o.add(a),a},n.prototype.deepInvalidate=function(){i.prototype.deepInvalidate.call(this),this.hardInvalidate()},Object.defineProperty(n.prototype,"readerTitle",{get:function(){var f=this.getPropertyValue("readerTitle");return f?this.dataItem&&(f=this.populateString(f)):f=this.populateString(x.plainText(x.isNotEmpty(this.html)?this.html:this.text)),f},set:function(f){f=M.toText(f),this.setPropertyValue("readerTitle",f)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),n}(B.W);j.i.registeredClasses.Label=s,p.IH.push({relevant:p.Xf.heightXS,state:function(i,n){if(i instanceof s&&i.parent&&i.parent.isBaseSprite){var f=i.states.create(n);return f.properties.disabled=!0,f}return null}})},93993:(tt,k,m)=>{m.d(k,{x:()=>x});var C=m(19845),B=m(31991),j=m(61346),L=m(75150),A=m(9450),D=m(89196),T=m(90868),x=function(M){function _(){var p=M.call(this)||this;return p.className="Line",p.element=p.paper.add("line"),p.fill=(0,j.$_)(),p.x1=0,p.y1=0,p.applyTheme(),p}return(0,C.ZT)(_,M),_.prototype.draw=function(){M.prototype.draw.call(this),this.pixelPerfect=this.x1==this.x2||this.y1==this.y2,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(_.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(p){D.isNumber(p)||(p=0);var u=0;this.pixelPerfect&&this.stroke instanceof L.o&&(u=1e-5),this.setPropertyValue("x1",p,!0),this.element.attr({x1:p+u})},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"x2",{get:function(){var p=this.getPropertyValue("x2");return D.isNumber(p)||(p=this.pixelWidth),p},set:function(p){D.isNumber(p)||(p=0),this.setPropertyValue("x2",p,!0),this.element.attr({x2:p})},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(p){D.isNumber(p)||(p=0);var u=0;this.pixelPerfect&&this.stroke instanceof L.o&&(u=1e-5),this.setPropertyValue("y1",p,!0),this.element.attr({y1:p+u})},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"y2",{get:function(){var p=this.getPropertyValue("y2");return D.isNumber(p)||(p=this.pixelHeight),p}
1,set:function(p){D.isNumber(p)||(p=0),this.setPropertyValue("y2",p,!0),this.element.attr({y2:p})},enumerable:!0,configurable:!0}),_.prototype.positionToPoint=function(p){var u={x:this.x1,y:this.y1},s={x:this.x2,y:this.y2},i=T.getMidPoint(u,s,p),n=T.getAngle(u,s);return{x:i.x,y:i.y,angle:n}},_}(B.jy);A.i.registeredClasses.Line=x},61401:(tt,k,m)=>{m.d(k,{u:()=>L});var C=m(19845),B=m(68887),j=m(80383),L=function(A){function D(){var T=A.call(this)||this;return T.adapter=new j.L1(T),T.className="Modal",T.showCurtain=!0,T.draggable=!1,T}return(0,C.ZT)(D,A),D}(B.G)},70004:(tt,k,m)=>{m.d(k,{i:()=>L});var C=m(19845),B=m(63767),j=m(90868),L=function(A){function D(){var T=A.call(this)||this;return T.className="PointedRectangle",T.element=T.paper.add("path"),T.cornerRadius=6,T.applyTheme(),T}return(0,C.ZT)(D,A),D.prototype.draw=function(){A.prototype.draw.call(this);var T=this.cornerRadius,x=this.innerWidth,M=this.innerHeight;if(x>0&&M>0){var Z,$,_=this.pointerX,p=this.pointerY,u=this.pointerBaseWidth/2,s=j.min(x/2,M/2),i=j.fitToRange(T,0,s),n=j.fitToRange(T,0,s),f=j.fitToRange(T,0,s),h=j.fitToRange(T,0,s),g=void 0,P=void 0,E=void 0,I=void 0,W=(_-0)*(M-0)-(p-0)*(x-0),R=(_-0)*(0-M)-(p-M)*(x-0);g=W>0&&R>0?"M"+i+",0 L"+((Z=j.fitToRange(_,i+u,x-u-n))-u)+",0 L"+_+","+(p=j.fitToRange(p,-1/0,0))+" L"+(Z+u)+",0 L"+(x-n)+",0":"M"+i+",0 L"+(x-n)+",0",E=W<0&&R<0?" L"+(x-f)+","+M+" L"+((Z=j.fitToRange(_,h+u,x-u-f))+u)+","+M+" L"+_+","+(p=j.fitToRange(p,M,1/0))+" L"+(Z-u)+","+M+" L"+h+","+M:" L"+h+","+M,I=W<0&&R>0?" L0,"+(M-h)+" L0,"+(($=j.fitToRange(p,i+u,M-h-u))+u)+" L"+(_=j.fitToRange(_,-1/0,0))+","+p+" L0,"+($-u)+" L0,"+i:" L0,"+i,P=W>0&&R<0?" L"+x+","+n+" L"+x+","+(($=j.fitToRange(p,n+u,M-u-f))-u)+" L"+(_=j.fitToRange(_,x,1/0))+","+p+" L"+x+","+($+u)+" L"+x+","+(M-f):" L"+x+","+(M-f),this.path=g+" a"+n+","+n+" 0 0 1 "+n+","+n+P+" a"+f+","+f+" 0 0 1 -"+f+","+f+E+" a"+h+","+h+" 0 0 1 -"+h+",-"+h+I+" a"+i+","+i+" 0 0 1 "+i+",-"+i}},Object.defineProperty(D.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(T){this.setPropertyValue("cornerRadius",T,!0)},enumerable:!0,configurable:!0}),D}(B.j)},63767:(tt,k,m)=>{m.d(k,{j:()=>L});var C=m(19845),B=m(31991),j=m(89196),L=function(A){function D(){var T=A.call(this)||this;return T.className="PointedShape",T.pointerBaseWidth=15,T.pointerLength=10,T.pointerY=0,T.pointerX=0,T.applyTheme(),T}return(0,C.ZT)(D,A),D.prototype.draw=function(){A.prototype.draw.call(this),j.isNumber(this.pointerX)||(this.pointerX=this.pixelWidth/2),j.isNumber(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(D.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(T){this.setPropertyValue("pointerBaseWidth",T,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(T){this.setPropertyValue("pointerLength",T,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(T){this.setPropertyValue("pointerX",T,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(T){this.setPropertyValue("pointerY",T,!0)},enumerable:!0,configurable:!0}),D}(B.jy)},67775:(tt,k,m)=>{m.d(k,{a:()=>T});var C=m(19845),B=m(31991),j=m(61346),L=m(9450),A=m(70181),D=m(90868),T=function(x){function M(){var _=x.call(this)||this;return _._distance=0,_.className="Polyline",_.element=_.paper.add("path"),_.shapeRendering="auto",_.fill=(0,j.$_)(),_.strokeOpacity=1,_.applyTheme(),_}return(0,C.ZT)(M,x),M.prototype.makePath=function(){this._distance=0;var _=this.segments;if(_&&_.length>0){for(var p="",u=0,s=_.length;u<s;u++){var i=_[u];if(i.length>0){p+=A.moveTo(i[0]);for(var n=1;n<i.length;n++){var f=i[n];p+=A.lineTo(f),this._distance+=D.getDistance(i[n-1],f)}}}this.path=p}this._realSegments=_},Object.defineProperty(M.prototype,"segments",{get:function(){return this.getPropertyValue("segments")},set:function(_){this.setPropertyValue("segments",_),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"distance",{get:function(){return this._distance},enumerable:!0,configurable:!0}),M.prototype.positionToPoint=function(_){var p=0;_<0&&(_=Math.abs(_),p=180);var u=this._realSegments;if(u){for(var s=this.distance,i=0,f=0,h=0,o=void 0,a=void 0,c=0;c<u.length;c++){var d=u[c];if(d.length>1){for(var r=1;r<d.length;r++)if(f=i/s,h=(i+=D.getDistance(o=d[r-1],a=d[r]))/s,f<=_&&h>_){c=u.length;break}}else 1==d.length&&(o=d[0],a=d[0],f=0,h=1)}if(o&&a){var v=D.getMidPoint(o,a,(_-f)/(h-f));return{x:v.x,y:v.y,angle:p+D.getAngle(o,a)}}}return{x:0,y:0,angle:0}},Object.defineProperty(M.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),M}(B.jy);L.i.registeredClasses.Polyline=T},56644:(tt,k,m)=>{m.d(k,{o:()=>T});var C=m(19845),B=m(67775),j=m(9450),L=m(90868),A=m(89196),D=m(70181),T=function(x){function M(){var _=x.call(this)||this;return _.className="Polyspline",_.tensionX=.5,_.tensionY=.5,_.applyTheme(),_}return(0,C.ZT)(M,x),M.prototype.makePath=function(){this._distance=0;var _=this.segments,p=this.tensionX,u=this.tensionY;if(this.allPoints=[],_&&_.length>0){var s="";this._realSegments=[];for(var i=0,n=_.length;i<n;i++){var f=_[i],h=[];if(this._realSegments.push(h),f.length>0){var o=f[0],a=f[f.length-1],c=!1;
1L.round(o.x,3)==L.round(a.x)&&L.round(o.y)==L.round(a.y)&&(c=!0),s+=D.moveTo(f[0]);for(var d=0;d<f.length-1;d++){var r=f[d-1],b=f[d],v=f[d+1],e=f[d+2];0===d?r=f[d]:d==f.length-2&&(e=f[d+1]),e||(e=v),0===d?r=c?f[f.length-2]:f[i]:d==f.length-2&&(e=c?f[1]:f[d+1]);var g=L.getCubicControlPointA(r,b,v,e,p,u),P=L.getCubicControlPointB(r,b,v,e,p,u);s+=D.cubicCurveTo(v,g,P);var E=1.2*Math.ceil(L.getCubicCurveDistance(b,v,g,P,20)),I=b;if(E>0)for(var W=0;W<=E;W++){var R=L.getPointOnCubicCurve(b,v,g,P,W/E);if(R.x!=I.x||R.y!=I.y){h.push(R);var Z=L.round(L.getAngle(I,R),5);this._distance+=L.getDistance(I,R),this.allPoints[Math.floor(this._distance)]={x:R.x,y:R.y,angle:Z},I=R}}else h.push(r)}}var $=this.allPoints;if($.length>1)for(var Y=0;Y<$.length;Y++)if(!$[Y])if(Y>1)$[Y]=$[Y-1];else for(var q=1;q<$.length;q++)if($[q]){$[Y]=$[q];break}}this.path=s}},M.prototype.getClosestPointIndex=function(_){var u,p=this.allPoints,s=1/0;if(p.length>1)for(var i=1;i<p.length;i++){var n=L.getDistance(_,p[i]);n<s&&(u=i,s=n)}return u},Object.defineProperty(M.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(_){this.setPropertyValue("tensionX",_),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(_){this.setPropertyValue("tensionY",_,!0),this.makePath()},enumerable:!0,configurable:!0}),M.prototype.positionToPoint=function(_,p){var u=0,s=this.allPoints,i=s.length;if(A.isNumber(_)||(_=0),i>1){if(p&&i>3){var n,f,h,o;if(_<0)return _<-.01&&(_=-.01),{x:h=(n=s[0]).x-(n.x-(f=s[1]).x)*i*_,y:o=n.y-(n.y-f.y)*i*_,angle:L.getAngle(n,f)};if(_>1)return _>1.01&&(_=1.01),{x:h=(n=s[s.length-2]).x+(n.x-(f=s[s.length-3]).x)*i*(_-1),y:o=n.y+(n.y-f.y)*i*(_-1),angle:L.getAngle(n,{x:h,y:o})};if(1==_){var a=s[s.length-1];return{x:a.x,y:a.y,angle:a.angle}}}else _<0&&(_=Math.abs(_),u=180),_>=1&&(_=.9999999999999);var c;return{x:(c=s[Math.floor(_*i)]).x,y:c.y,angle:c.angle+u}}return 1==i?{x:(c=s[0]).x,y:c.y,angle:c.angle}:{x:0,y:0,angle:0}},M}(B.a);j.i.registeredClasses.Polyspline=T},68887:(tt,k,m)=>{m.d(k,{G:()=>i});var C=m(19845),B=m(47744),j=m(5863),L=m(75080),A=m(94131),D=new j.Xy,x=m(80383),M=m(84245),_=m(23282),p=m(84974),u=m(89196),s=m(50954),i=function(n){function f(){var h=n.call(this)||this;return h.adapter=new x.L1(h),h._elements={},h._IOs={},h._content="",h._title="",h._classPrefix="ampopup",h._defaultStyles=!0,h._showCurtain=!1,h._draggable=!0,h._align="center",h._dynamicResize=!0,h._verticalAlign="middle",h._shift={x:0,y:0},h._tempShift={x:0,y:0},h._readerTitle="",h._closable=!0,h._cssLoaded=!1,h._fitTo="window",h.isTemplate=!1,h._sized=!1,h.className="Popup",h}return(0,C.ZT)(f,n),f.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"))},f.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()},f.prototype.dispose=function(){this.close(),n.prototype.dispose.call(this)},f.prototype.positionElement=function(h){var o=this;void 0===h&&(h=!0),this._elements.wrapper&&setTimeout(function(){if(o._elements.wrapper){if(h||!o._sized){o._elements.wrapper.style.opacity="0.01",o._elements.wrapper.style.left="0",o._elements.wrapper.style.top="0",o._elements.wrapper.style.margin="0 0 0 0",o._elements.wrapper.style.width="",o._elements.wrapper.style.height="";var a=o._elements.wrapper.getBoundingClientRect();o._elements.wrapper.style.width=a.width+"px",o._elements.wrapper.style.height=a.height+"px",o._sized=!0}if(o.dynamicResize)for(var c=o._elements.wrapper.getElementsByTagName("img"),d=0;d<c.length;d++){var r=c[d];if(!r.complete){r.addEventListener("load",function(){o.positionElement(!0)});break}}setTimeout(function(){if(o._elements.wrapper){var b;switch(!h&&o._sized||!o._bbox?(b=o._elements.wrapper.getBoundingClientRect(),o._elements.wrapper.style.opacity=""):b=o._bbox,o.align){case"left":o._elements.wrapper.style.left="0",o._elements.wrapper.style.right="auto",o._elements.wrapper.style.marginLeft=o.toStyle(o._shift.x+o._tempShift.x);break;case"center":o._elements.wrapper.style.left="50%",o._elements.wrapper.style.right="auto",o._elements.wrapper.style.marginLeft=o.toStyle(Math.round(-b.width/2)+(o._shift.x+o._tempShift.x));break;case"right":o._elements.wrapper.style.left="auto",o._elements.wrapper.style.right="0",o._elements.wrapper.style.marginLeft=o.toStyle(o._shift.x+o._tempShift.x);break;default:o._elements.wrapper.style.left=o.toStyle(o.left)||"auto",o._elements.wrapper.style.right=o.toStyle(o.right)||"auto",o._elements.wrapper.style.marginLeft=o.toStyle(o._shift.x+o._tempShift.x)}switch(o.verticalAlign){case"top":o._elements.wrapper.style.top="0",o._elements.wrapper.style.bottom="auto",o._elements.wrapper.style.marginTop=o.toStyle(o._shift.y+o._tempShift.y);break;case"middle":o._elements.wrapper.style.top="50%",o._elements.wrapper.style.bottom="auto",o._elements.wrapper.style.marginTop=o.toStyle(Math.round(-b.height/2)+(o._shift.y+o._tempShift.y));break;case"bottom":o._elements.wrapper.style.top="auto",o._elements.wrapper.style.bottom="0",o._elements.wrapper.style.marginTop=o.toStyle(o._shift.y+o._tempShift.y);break;default:o._elements.wrapper.style.top=o.toStyle(o.top)||"auto",o._elements.wrapper.style.bottom=o.toStyle(o.bottom)||"auto",o._elements.wrapper.style.marginTop=o.toStyle(o._shift.y+o._tempShift.y)}}},1)}},1)},f.prototype.setupDragging=function(){var h=this;this.draggable?(this._IOs.header.events.has("drag")||this._IOs.header.events.on("drag",function(o){h._tempShift.x=o.shift.x,h._tempShift.y=o.shift.y,h.positionElement(!1)}),this._IOs.header.events.has("dragstop")||this._IOs.header.events.on("dragstop",function(o){h._shift.x+=h._tempShift.x,h._shift.y+=h._tempShift.y,h._tempShift.x=0,h._tempShift.y=0,h.positionElement(!1)})):this._IOs.header&&((0,_.S)().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"))},f.prototype.toStyle=function(h){return u.hasValue(h)?u.isNumber(h)?h+"px":h.toString():null},Object.defineProperty(f.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",this._classPrefix)},set:function(h){this._classPrefix=h},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classPrefixRaw",{get:function(){return this._classPrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"content",{get:function(){return this.adapter.apply("content",this._content)},set:function(h){this._content!=h&&(this._content=h,this._elements.content||this.createContentElement(),this._elements.content.innerHTML=h,this.positionElement())},enumerable:!0,configurable:!0}),f.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"})},f.prototype.createContentElement=function(){if(!this._elements.wrapper){var h=this.getClassNames(),o=document.createElement("div");o.className=h.contentClass,o.style.opacity="0.01";var a=document.createElement("a");a.className=h.closeClass;var c=document.createElement("div");c.className=h.headerClass;var d=document.createElement("div");d.innerHTML=this.title,d.className=h.titleClass,this.title||(d.style.display="none");var r=document.createElement("div");r.className=h.insideClass,r.innerHTML=this.content,this._IOs.wrapper=(0,_.S)().getInteraction(o),this._IOs.header=(0,_.S)().getInteraction(c),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,_.S)().getInteraction(a),this._disposers.push(this._IOs.close),a.style.visibility="hidden",o.setAttribute("role","dialog"),c.appendChild(a),c.appendChild(d),o.appendChild(c),o.appendChild(r),this.container.appendChild(o),this._elements.wrapper=o,this._elements.header=c,this._elements.content=r,this._elements.title=d,this._elements.close=a,this.defaultStyles&&this.loadDefaultCSS(),this.createCurtainElement(),this.applyEvents(),this.applyReaderSettings(),this.setupDragging()}},Object.defineProperty(f.prototype,"title",{get:function(){return this.adapter.apply("title",this._title)},set:function(h){this._title!=h&&(this._title=h,this._elements.content||this.createContentElement(),this._elements.title.innerHTML=h,this.positionElement(),this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"readerTitle",{get:function(){return this.adapter.apply("readerTitle",""!=this._readerTitle?this._readerTitle:this.title)},set:function(h){this._readerTitle!=h&&(this._readerTitle=h,this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"closable",{get:function(){return this.adapter.apply("closable",this._closable)},set:function(h){h!==this._closable&&(this._closable=h,this.applyEvents())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"fitTo",{get:function(){return this.adapter.apply("fitTo",this._fitTo)},set:function(h){h!=this._fitTo&&(this._fitTo=h,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",this._defaultStyles)},set:function(h){this._defaultStyles!=h&&(this._defaultStyles=h)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"showCurtain",{get:function(){return this.adapter.apply("showCurtain",this._showCurtain)}
1,set:function(h){this._showCurtain!=h&&(this._showCurtain=h,this._elements.curtain&&(this._elements.curtain.style.display=h?"block":"none"))},enumerable:!0,configurable:!0}),f.prototype.createCurtainElement=function(){var h=this.getClassNames(),o=document.createElement("div");o.className=h.curtainClass,this.container.appendChild(o),this._IOs.curtain=(0,_.S)().getInteraction(o),this._disposers.push(this._IOs.curtain),this._IOs.curtain.events.on("over",this.disablePointers,this),this._IOs.curtain.events.on("out",this.releasePointers,this),o.style.display=this.showCurtain?"block":"none",this._elements.curtain=o},Object.defineProperty(f.prototype,"draggable",{get:function(){return this.adapter.apply("draggable",this._draggable)},set:function(h){this._draggable!=h&&(this._draggable=h,this.setupDragging())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"dynamicResize",{get:function(){return this.adapter.apply("dynamicResize",this._dynamicResize)},set:function(h){this._dynamicResize!=h&&(this._dynamicResize=h,this.positionElement(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"align",{get:function(){return this.adapter.apply("align",this._align)},set:function(h){this._align!=h&&(this._align=h,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",this._verticalAlign)},set:function(h){this._verticalAlign!=h&&(this._verticalAlign=h,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"left",{get:function(){return this.adapter.apply("left",this._left)},set:function(h){this.left!=h&&(this._left=h,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"right",{get:function(){return this.adapter.apply("right",this._right)},set:function(h){this.right!=h&&(this._right=h,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"top",{get:function(){return this.adapter.apply("top",this._top)},set:function(h){this.top!=h&&(this._top=h,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"bottom",{get:function(){return this.adapter.apply("bottom",this._bottom)},set:function(h){this.bottom!=h&&(this._bottom=h,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),f.prototype.loadDefaultCSS=function(){this._cssLoaded||(this._disposers.push(function T(n,f){f||(f="ampopup");var h=new A.h,o=h.getFor("text"),a=h.getFor("background");a.alpha=.8;var c=h.getFor("alternativeBackground");return c.alpha=.05,D.insertKeyIfEmpty(f,function(){var r=new L.FV([new B.u0(n,"."+f,{overflow:"visible",position:"absolute",top:"0",left:"0","z-index":"2000"}),new B.u0(n,"."+f+"-curtain",{width:"100%",height:"100%",position:"absolute",top:"0",left:"0","z-index":"2001","background-color":a.hex,opacity:"0.5"}),new B.u0(n,"."+f+"-header",{display:"block",width:"100%","min-height":"1.8em",background:c.rgba}),new B.u0(n,"."+f+"-title",{"font-weight":"bold","font-size":"110%",padding:"0.5em 1.2em 0.5em 1em"}),new B.u0(n,"."+f+"-content",{background:a.hex,"background-color":a.rgba,color:o.hex,display:"inline-block",position:"absolute",top:"0",left:"0","max-width":"90%","max-height":"90%",overflow:"auto","z-index":"2002"}),new B.u0(n,"."+f+"-inside",{padding:"1em"}),new B.u0(n,"."+f+"-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 L.DM(function(){D.removeKey(f),r.dispose()})}).increment()}((0,B.Ay)(this.container),this.classPrefix)),s.each(this._elements,function(h,o){o.style.display=""}),this._cssLoaded=!0)},f.prototype.applyEvents=function(){var h=this;if(this._IOs.close)if(this.closable){this._IOs.close.element.style.visibility="visible";var o=[(0,_.S)().body.events.on("keyup",function(a){p.d.isKey(a.event,"esc")&&h.closable&&h.close()}),this._IOs.close.events.on("hit",function(a){h.close()})];o.push(this._IOs.curtain.events.on("hit",function(a){h.showCurtain&&h.closable&&h.close()})),this._disposers.push(new L.FV(o))}else this._IOs.close.element.style.visibility="hidden"},f.prototype.disablePointers=function(){this.sprite&&(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled,this.sprite.interactionsEnabled=!1)},f.prototype.releasePointers=function(){u.hasValue(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled,this._spriteInteractionsEnabled=void 0)},f.prototype.applyReaderSettings=function(){this.elements.wrapper.setAttribute("aria-label",this.readerTitle)},f.prototype.copyFrom=function(h){n.prototype.copyFrom.call(this,h),this.container=h.container,this.sprite=h.sprite,this.classPrefix=h.classPrefixRaw,this.content=h.content,this.title=h.title,this.readerTitle=h.readerTitle,this.defaultStyles=h.defaultStyles,this.showCurtain=h.showCurtain,this.align=h.align,this.verticalAlign=h.verticalAlign,this.left=h.left,this.right=h.right,this.top=h.top,this.bottom=h.bottom,this.adapter.copyFrom(h.adapter)},f}(M.y)},85044:(tt,k,m)=>{m.d(k,{A:()=>A});var C=m(19845),B=m(31991),j=m(9450),L=m(90868),A=function(D){function T(){var x=D.call(this)||this;return x.className="Rectangle",x.element=x.paper.add("rect"),x.applyTheme(),x}return(0,C.ZT)(T,D),T.prototype.draw=function(){D.prototype.draw.call(this);var x=this._positionPrecision;this.pixelPerfect&&(x=0);var M=L.round(this.innerWidth,x),_=L.round(this.innerHeight,x);this.element.attr({width:M,height:_})},T.prototype.measureElement=function(){},Object.defineProperty(T.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}),T}(B.jy);j.i.registeredClasses.Rectangle=A},39601:(tt,k,m)=>{m.d(k,{H:()=>T});var C=m(19845),B=m(16569),j=m(31991),L=m(94131),A=m(9450),D=m(70181),T=function(x){function M(){var _=x.call(this)||this;_.className="ResizeButton",_.orientation="horizontal",_.layout="absolute",_.horizontalCenter="middle",_.verticalCenter="middle",_.draggable=!0,_.padding(8,8,8,8),_.background.cornerRadius(20,20,20,20);var p=new j.jy;p.element=_.paper.add("path");var u=D.moveTo({x:-2,y:-6});return u+=D.lineTo({x:-2,y:6}),u+=D.moveTo({x:2,y:-6}),u+=D.lineTo({x:2,y:6}),p.path=u,p.pixelPerfect=!0,p.padding(0,4,0,4),p.stroke=(new L.h).getFor("alternativeText"),p.strokeOpacity=.7,_.icon=p,_.label.dispose(),_.label=void 0,_.applyTheme(),_}return(0,C.ZT)(M,x),Object.defineProperty(M.prototype,"orientation",{set:function(_){var p=this.icon;p&&(p.rotation="horizontal"==_?0:-90)},enumerable:!0,configurable:!0}),M}(B.z);A.i.registeredClasses.ResizeButton=T},68049:(tt,k,m)=>{m.d(k,{c:()=>T});var C=m(19845),B=m(31991),j=m(9450),L=m(90868),A=m(89196),D=m(86234),T=function(x){function M(){var _=x.call(this)||this;return _.className="RoundedRectangle",_.element=_.paper.add("path"),_.cornerRadius(3,3,3,3),_.a
1pplyTheme(),_}return(0,C.ZT)(M,x),M.prototype.draw=function(){x.prototype.draw.call(this);var _=this.innerWidth,p=this.innerHeight;if(A.isNumber(_)&&A.isNumber(p)){var u=L.min(_,p)/2,s=D.relativeToValue(this.cornerRadiusTopLeft,u),i=D.relativeToValue(this.cornerRadiusTopRight,u),n=D.relativeToValue(this.cornerRadiusBottomRight,u),f=D.relativeToValue(this.cornerRadiusBottomLeft,u),h=L.min(Math.abs(_/2),Math.abs(p/2)),o=L.fitToRange(s,0,h),a=L.fitToRange(i,0,h),c=L.fitToRange(n,0,h),d=L.fitToRange(f,0,h);this.path="M"+o+",0 L"+(_-a)+",0 a"+a+","+a+" 0 0 1 "+a+","+a+" L"+_+","+(p-c)+" a"+c+","+c+" 0 0 1 -"+c+","+c+" L"+d+","+p+" a"+d+","+d+" 0 0 1 -"+d+",-"+d+" L0,"+o+" a"+o+","+o+" 0 0 1 "+o+",-"+o+" Z"}},M.prototype.cornerRadius=function(_,p,u,s){this.cornerRadiusTopLeft=_,this.cornerRadiusTopRight=p,this.cornerRadiusBottomLeft=u,this.cornerRadiusBottomRight=s},Object.defineProperty(M.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(_){this.setPercentProperty("cornerRadiusTopLeft",_,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(_){this.setPercentProperty("cornerRadiusTopRight",_,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(_){this.setPercentProperty("cornerRadiusBottomRight",_,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(_){this.setPercentProperty("cornerRadiusBottomLeft",_,!0)},enumerable:!0,configurable:!0}),M.prototype.measureElement=function(){},Object.defineProperty(M.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}),M}(B.jy);j.i.registeredClasses.RoundedRectangle=T},23572:(tt,k,m)=>{m.d(k,{L:()=>f});var C=m(19845),B=m(6668),j=m(39601),L=m(16569),A=m(23282),D=m(9976),T=m(68049),x=m(9450),M=m(84974),_=m(94131),p=m(27481),u=m(90868),s=m(71834),i=m(89196),n=m(86234),f=function(h){function o(){var a=h.call(this)||this;a._previousStart=0,a._previousEnd=1,a._prevStart=0,a._prevEnd=1,a._isBusy=!1,a._skipRangeEvents=!1,a.updateWhileMoving=!0,a.className="Scrollbar",a.minHeight=12,a.minWidth=12,a.animationDuration=0,a.animationEasing=s.cubicOut,a.margin(10,10,10,10);var c=new _.h,d=a.background;return d.cornerRadius(10,10,10,10),d.fill=c.getFor("fill"),d.fillOpacity=.5,a.showSystemTooltip=!0,a.startGrip=new j.H,a.endGrip=new j.H,a.events.on("transformed",function(){a.updateThumb()},a,!1),a.start=0,a.end=1,a.role="scrollbar",a.thumb.role="slider",a.thumb.readerLive="polite",a.startGrip.role="slider",a.endGrip.role="slider",a.events.once("inited",function(){a._previousStart=void 0,a.dispatchRangeChange()},void 0,!1),a.hideGrips=!1,a.orientation="horizontal",a.setSVGAttribute({"aria-valuemin":"0"}),a.setSVGAttribute({"aria-valuemax":"100"}),a.applyTheme(),a}return(0,C.ZT)(o,h),o.prototype.applyInternalDefaults=function(){h.prototype.applyInternalDefaults.call(this),"horizontal"===this.orientation?(i.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),i.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),i.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),i.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(i.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),i.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),i.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),i.hasValue(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()},o.prototype.validateLayout=function(){this.updateSize(),h.prototype.validateLayout.call(this),this.updateExtremes()}
1,o.prototype.processBackground=function(){h.prototype.processBackground.call(this);var a=this.background;a.clickable=!0,a.events.on("hit",this.handleBgHit,this,void 0)},o.prototype.handleBgHit=function(a){this.makeBusy();var c=a.spritePoint;c=n.spritePointToSprite(c,this.background,this);var d=this.thumb;if("horizontal"==this.orientation){var r=c.x-d.pixelWidth/2;r=u.fitToRange(r,0,this.innerWidth-d.pixelWidth),this._thumbAnimation=d.animate({property:"x",to:r},this.animationDuration,this.animationEasing)}else{var b=c.y-d.pixelHeight/2;b=u.fitToRange(b,0,this.innerHeight-d.pixelHeight),this._thumbAnimation=d.animate({property:"y",to:b},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},o.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},o.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},o.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},o.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},o.prototype.dispatchRangeChange=function(){(this._previousEnd!=this.end||this._previousStart!=this.start)&&(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},o.prototype.updateThumb=function(a){if(void 0===a&&(a=!0),this.parent){var E,I,c=this.thumb,d=this.start,r=this.end,b=this.startGrip,v=this.endGrip,e=this.adapter.apply("positionValueDirection",{flipped:!1}).flipped,g=e?"To %1":"From %1",P=e?"From %1":"To %1";if("horizontal"==this.orientation){var W=this.innerWidth;c.width=W*(r-d),c.maxX=W-c.pixelWidth,c.x=d*W,b.moveTo({x:c.pixelX,y:0},void 0,void 0,!0),v.moveTo({x:c.pixelX+c.pixelWidth,y:0},void 0,void 0,!0),E=this.adapter.apply("positionValue",{value:Math.round(100*d)+"%",position:d}).value,I=this.adapter.apply("positionValue",{value:Math.round(100*r)+"%",position:r}).value,b.readerTitle=this.language.translate(g,void 0,E),b.readerValueNow=""+Math.round(100*d),b.readerValueText=b.readerTitle,v.readerTitle=this.language.translate(P,void 0,I),v.readerValueNow=""+Math.round(100*r),v.readerValueText=v.readerTitle}else{var R=this.innerHeight;c.height=R*(r-d),c.maxY=R-c.pixelHeight,c.y=(1-r)*R,b.moveTo({x:0,y:c.pixelY+c.pixelHeight},void 0,void 0,!0),v.moveTo({x:0,y:c.pixelY},void 0,void 0,!0),E=this.adapter.apply("positionValue",{value:Math.round(100*(1-d))+"%",position:1-d}).value,I=this.adapter.apply("positionValue",{value:Math.round(100*(1-r))+"%",position:1-r}).value,b.readerTitle=this.language.translate(P,void 0,E),b.readerValueNow=""+Math.round(100*d),b.readerValueText=b.readerTitle,v.readerTitle=this.language.translate(g,void 0,I),v.readerValueNow=""+Math.round(100*r),v.readerValueText=v.readerTitle}c.readerTitle=this.language.translate("From %1 to %2",void 0,E,I),c.readerValueNow=""+Math.round(100*d),c.readerValueText=c.readerTitle,this.readerValueNow=""+Math.round(100*d),this.readerValueText=c.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&a&&this.dispatchRangeChange()}},o.prototype.updateExtremes=function(){var c=0,d=0,r=0,b=0;"horizontal"==this.orientation?(r=this.innerWidth,d=b=this.innerHeight/2):(b=this.innerHeight,c=r=this.innerWidth/2);var v=this.startGrip;v.minX=c,v.maxX=r,v.minY=d,v.maxY=b;var e=this.endGrip;e.minX=c,e.maxX=r,e.minY=d,e.maxY=b;var g=this.thumb;g.minX=c,g.maxX=r,g.minY=d,g.maxY=b},o.prototype.updateSize=function(){var a=this.orientation,c=this.startGrip;c&&(c.orientation=a),this.endGrip&&(this.endGrip.orientation=a);var d=this.thumb;d&&("horizontal"==a?(i.isNumber(this._pixelWidth)||this.width instanceof p.gG||(this.width=(0,p.aQ)(100)),i.hasValue(this.percentHeight)&&(this.height=this.minHeight),d.height=this.innerHeight,d.verticalCenter="middle",d.horizontalCenter="left"):(i.isNumber(this._pixelHeight)||this.height instanceof p.gG||(this.height=(0,p.aQ)(100)),i.hasValue(this.percentWidth)&&(this.width=this.minWidth),d.width=this.innerWidth,d.verticalCenter="top",d.horizontalCenter="middle"))},Object.defineProperty(o.prototype,"isBusy",{get:function(){return this._isBusy},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(a){this._isBusy||(this.__start=a)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"__start",{get:function(){return this._start},set:function(a){this._start=this.getPosition(a),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(a){this._isBusy||(this.__end=a)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"__end",{get:function(){return this._end},set:function(a){this._end=this.getPosition(a),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),o.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},o.prototype.fixRange=function(a){(a.start!=u.round(this._start,2)||a.end!=u.round(this._end,2))&&(this._start=a.start,this._end=a.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},o.prototype.getPosition=function(a){return u.fitToRange(u.round(a,4),0,1)},Object.defineProperty(o.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(a){this.setPropertyValue("orientation",a)&&("horizontal"===a?(this.startGrip.cursorOverStyle=D.c.horizontalResize,this.endGrip.cursorOverStyle=D.c.horizontalResize):(this.startGrip.cursorOverStyle=D.c.verticalResize,this.endGrip.cursorOverStyle=D.c.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),o.prototype.updateByOrientation=function(){},Object.defineProperty(o.prototype,"startGrip",{get:function(){return this._startGrip},set:function(a){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=a,this.processGrip(a)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"endGrip",{get:function(){return this._endGrip},set:function(a){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=a,this.processGrip(a)},enumerable:!0,configurable:!0}),o.prototype.processGrip=function(a){a.parent=this,a.isMeasured=!1,a.focusable=!0,a.shouldClone=!1,a.zIndex=100,a.events.on("drag",this.handleGripDrag,this,
1!1),a.events.on("dragstop",this.makeUnbusy,this,!1),a.events.on("down",this.makeBusy,this,!1),a.events.on("up",this.makeUnbusy,this,!1),this._disposers.push(a)},o.prototype.handleGripDrag=function(a){this.makeBusy(),this._usingGrip=a.target===this._startGrip?"start":"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(o.prototype,"thumb",{get:function(){if(!this._thumb){var a=new L.z;a.background.cornerRadius(10,10,10,10),a.padding(0,0,0,0),this.thumb=a}return this._thumb},set:function(a){var c=this;a&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=a,a.parent=this,a.isMeasured=!1,a.inert=!0,a.draggable=!0,a.clickable=!0,a.hoverable=!0,a.focusable=!0,a.shouldClone=!1,a.zIndex=0,a.cursorOverStyle=D.c.grab,a.cursorDownStyle=D.c.grabbing,a.events.on("dragstart",this.makeBusy,this,!1),a.events.on("dragstop",this.makeUnbusy,this,!1),a.events.on("positionchanged",this.handleThumbPosition,this,!1),a.events.on("sizechanged",this.handleThumbPosition,this,!1),a.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push((0,A.S)().body.events.on("keyup",function(d){M.d.isKey(d.event,["space","enter"])&&c.thumb.isFocused&&(d.event.preventDefault(),c.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),o.prototype.handleDoubleClick=function(){this.makeBusy();var a=0,c=1;0!=this.start||1!=this.end?(this._prevStart=this.start,this._prevEnd=this.end):(a=this._prevStart,c=this._prevEnd);var d=this.animate([{property:"__start",to:a},{property:"__end",to:c}],this.animationDuration,this.animationEasing);d&&!d.isFinished()?(d.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=d):this.makeUnbusy()},o.prototype.handleThumbPosition=function(){var a=this.thumb;if("horizontal"==this.orientation){var c=this.innerWidth,d=a.innerWidth,r=a.pixelX;this._start=r/c,this._end=(r+d)/c,this.updateThumb()}else{var b=this.innerHeight,v=a.innerHeight,e=a.pixelY;e+v>b&&(a.y=e=b-v),this._start=1-(e+v)/b,this._end=1-e/b,this.updateThumb()}},o.prototype.createBackground=function(){return new T.c},Object.defineProperty(o.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(a){var c=this;this._hideGrips=a,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),a?(this._overDisposer=this.events.on("over",function(){c.startGrip.show(),c.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){c.startGrip.hide(),c.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(a){this.setPropertyValue("animationDuration",a)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(a){this.setPropertyValue("animationEasing",a)},enumerable:!0,configurable:!0}),o.prototype.asFunction=function(a){return"animationEasing"==a||h.prototype.asIs.call(this,a)},o}(B.W);x.i.registeredClasses.Scrollbar=f},47886:(tt,k,m)=>{m.d(k,{u:()=>u});var C=m(19845),B=m(6668),j=m(9450),L=m(70004),A=m(81646),D=m(11920),T=m(61346),x=m(17547),M=m(90868),_=m(71834),p=m(86234),u=function(s){function i(){var n=s.call(this)||this;n._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},n._pointTo={x:0,y:0},n.fitPointerToBounds=!1,n._verticalOrientation="up",n.fixDoc=!0,n.className="Tooltip",n.isMeasured=!1,n.getFillFromObject=!0,n.margin(5,5,5,5),n.defaultState.transitionDuration=1,n.hiddenState.transitionDuration=1;var f=n.background;f.interactionsEnabled=!1,f.fillOpacity=.9,f.strokeWidth=1,f.strokeOpacity=1,f.stroke=(0,T.$_)("#ffffff"),f.cornerRadius=3,f.pointerLength=6,f.pointerBaseWidth=10;var h=new x.p;h.dy=1,h.dx=1,h.opacity=.5,f.filters.push(h),n.autoTextColor=!0;var o=n.createChild(A._);return o.shouldClone=!1,n.label=o,o.padding(7,12,4,12),o.interactionsEnabled=!1,o.horizontalCenter="middle",o.fill=(0,T.$_)("#ffffff"),n._disposers.push(o),n.label.events.on("sizechanged",n.drawBackgroun
1d,n),n.label.zIndex=1,n.pointerOrientation="vertical",n.animationDuration=0,n.animationEasing=_.cubicOut,n.setPropertyValue("showInViewport",!1),n.role="tooltip",n.visible=!1,n.opacity=0,n.x=0,n.y=0,n.events.on("visibilitychanged",n.handleVisibility,n),n.applyTheme(),n}return(0,C.ZT)(i,s),i.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(i.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(n){this.setPropertyValue("getStrokeFromObject",n,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")},set:function(n){this.setPropertyValue("autoTextColor",n,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"keepTargetHover",{get:function(){return this.getPropertyValue("keepTargetHover")},set:function(n){var f=this;this.setPropertyValue("keepTargetHover",n,!0)&&n&&(this.hoverable=!0,this.background.interactionsEnabled=!0,this._disposers.push(this.events.on("over",function(h){f.targetSprite&&f.targetSprite.hoverable&&(f.targetSprite.isHover=!0)})),this._disposers.push(this.events.on("out",function(h){f.targetSprite&&f.targetSprite.hoverable&&(f.targetSprite.isHover=!1)})))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"showInViewport",{get:function(){return this.getPropertyValue("showInViewport")},set:function(n){this.setPropertyValue("showInViewport",n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(n){this.setPropertyValue("getFillFromObject",n,!0)},enumerable:!0,configurable:!0}),i.prototype.createBackground=function(){return new L.i},Object.defineProperty(i.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(n){this.setPropertyValue("pointerOrientation",n,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(n){this.setPropertyValue("animationDuration",n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(n){this.setPropertyValue("animationEasing",n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"html",{get:function(){return this.label.html},set:function(n){this.label.html!=n&&(this.label.html=n,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"text",{get:function(){return this.label.text},set:function(n){this.label.text!=n&&(this.label.text=n,this.invalidate())},enumerable:!0,configurable:!0}),i.prototype.draw=function(){s.prototype.draw.call(this);var n=this.label;n.invalid&&n.validate();var r,b,f=this._pointTo.x,h=this._pointTo.y,o=this._boundingRect,a=n.measuredWidth,c=n.measuredHeight,d=this.background.pointerLength;if(this.ignoreBounds&&(o=void 0),o&&this.fixDoc&&a>o.width){p.spritePointToDocument({x:o.x,y:o.y},this.parent);var v=p.spritePointToDocument({x:o.x+o.width,y:o.y+o.height}
1,this.parent),e=document.body.offsetWidth;p.used(document.body.offsetHeight),v.x>e/2?o.x=o.width-a:o.width=o.x+a}var g=this.pointerOrientation;"horizontal"==g||"left"==g||"right"==g?(b=-c/2,r="horizontal"==g?o&&f>o.x+o.width/2?-a/2-d:a/2+d:"left"==g?a/2+d:-a/2-d):(o&&(r=M.fitToRange(0,o.x-f+a/2,o.x-f+o.width-a/2)),"vertical"==g?o&&h>o.y+c+d?(b=-c-d,this._verticalOrientation="up"):(b=d,this._verticalOrientation="down"):"down"==g?(b=-c-d,this._verticalOrientation="up"):(b=d,this._verticalOrientation="down")),o&&(b=M.fitToRange(b,o.y-h,o.y+o.height-c-h)),n.x=r,n.y=b,this.drawBackground()},i.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},i.prototype.drawBackground=function(){var n=this.label,f=this.background,h=n.measuredWidth,a=this._boundingRect,c=h,r=n.measuredHeight,b=n.pixelY,g=a.x-this._pointTo.x,P=g+a.width,E=a.y-this._pointTo.y,I=E+a.height;f.x=n.pixelX-h/2,f.y=b,f.width=c,f.height=r,this.fitPointerToBounds?(f.pointerX=M.fitToRange(-f.x,g-f.x,P-f.x),f.pointerY=M.fitToRange(-f.y,E-f.y,I-f.y)):(f.pointerX=-f.x,f.pointerY=-f.y),f.validate()},i.prototype.delayedPointTo=function(n,f){var h=this;this._pointToDisposer&&this._pointToDisposer.dispose(),this._pointToDisposer=j.i.events.once("exitframe",function(){h.pointTo(n,f)}),this.addDisposer(this._pointToDisposer)},i.prototype.pointTo=function(n,f){(this._pointTo.x!=n.x||this._pointTo.y!=n.y)&&(this._pointTo=n,this.invalidate(),!this.visible||f?(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 D.fw(this,[{property:"x",to:n.x,from:this.pixelX},{property:"y",to:n.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},i.prototype.setBounds=function(n){var f=this._boundingRect;(f.x!=n.x||f.y!=n.y||f.width!=n.width||f.height!=n.height)&&(this._boundingRect=n,this.invalidate())},Object.defineProperty(i.prototype,"boundingContainer",{set:function(n){this._boundingContainer=n,n.events.on("sizechanged",this.updateBounds,this),n.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),i.prototype.updateBounds=function(){var n=this._boundingContainer,f=p.spriteRectToSvg({x:n.pixelX,y:n.pixelY,width:n.maxWidth,height:n.maxHeight},n);this.setBounds(f)},Object.defineProperty(i.prototype,"ignoreBounds",{get:function(){return this.getPropertyValue("ignoreBounds")},set:function(n){this.setPropertyValue("ignoreBounds",n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),i.prototype.copyFrom=function(n){s.prototype.copyFrom.call(this,n),this.label.copyFrom(n.label),n._boundingRect&&(this._boundingRect=n._boundingRect)},i.prototype.asFunction=function(n){return"animationEasing"==n||s.prototype.asIs.call(this,n)},i}(B.W);j.i.registeredClasses.Tooltip=u},45955:(tt,k,m)=>{m.d(k,{C:()=>A});var C=m(19845),B=m(31991),j=m(9450),L=m(70181),A=function(D){function T(){var x=D.call(this)||this;return x.className="Triangle",x.element=x.paper.add("path"),x.direction="top",x.applyTheme(),x}return(0,C.ZT)(T,D),T.prototype.draw=function(){D.prototype.draw.call(this);var _,x=this.pixelWidth,M=this.pixelHeight;switch(this.direction){case"right":_=L.moveTo({x:0,y:0})+L.lineTo({x,y:M/2})+L.lineTo({x:0,y:M})+L.closePath();break;case"left":_=L.moveTo({x,y:0})+L.lineTo({x:0,y:M/2})+L.lineTo({x,y:M})+L.closePath();break;case"bottom":_=L.moveTo({x:0,y:0})+L.lineTo({x,y:0})+L.lineTo({x:x/2,y:M})+L.closePath();break;case"top":_=L.moveTo({x:x/2,y:0})+L.lineTo({x,y:M})+L.lineTo({x:0,y:M})+L.closePath()}this.path=_},Object.defineProperty(T.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(x){this.setPropertyValue("direction",x,!0)},enumerable:!0,configurable:!0}),T}(B.jy);j.i.registeredClasses.Triangle=A},99178:(tt,k,m)=>{m.d(k,{$:()=>D});var C=m(19845),B=m(93993),j=m(61346),L=m(50364),A=m(70181),D=function(T){function x(){var M=T.call(this)||this;return M.className="WavedLine",M.element=M.paper.add("path"),M.waveLength=16,M.waveHeight=4,M.tension=.8,M.pixelPerfect=!1,M.fill=(0,j.$_)(),M.applyTheme(),M}return(0,C.ZT)(x,T),x.prototype.draw=function(){var M={x:this.x1,y:this.y1},_={x:this.x2,y:this.y2};this.path=A.moveTo(M)+(0,L.A0)(M,_,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(x.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(M){this.setPropertyValue("waveLength",M),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")}
1,set:function(M){this.setPropertyValue("waveHeight",M),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(M){this.setPropertyValue("tension",M),this.invalidate()},enumerable:!0,configurable:!0}),x}(B.x)},2832:(tt,k,m)=>{m.d(k,{T:()=>A});var C=m(19845),B=m(85044),j=m(50364),L=m(70181),A=function(D){function T(){var x=D.call(this)||this;return x.className="WavedRectangle",x.element=x.paper.add("path"),x.waveLength=16,x.waveHeight=4,x.tension=.8,x.setPropertyValue("wavedLeft",!0),x.setPropertyValue("wavedRight",!0),x.setPropertyValue("wavedTop",!0),x.setPropertyValue("wavedBottom",!0),x.applyTheme(),x}return(0,C.ZT)(T,D),T.prototype.draw=function(){D.prototype.draw.call(this);var x=this.pixelWidth,M=this.pixelHeight;if(x>0&&M>0){var _={x:0,y:0},p={x,y:0},u={x,y:M},s={x:0,y:M},i=Math.min(x,this.waveLength),n=Math.min(M,this.waveHeight),f=Math.min(M,this.waveLength),h=Math.min(x,this.waveHeight),o="",a="",c="",d="";this.wavedTop&&(o=(0,j.A0)(_,p,i,n,this.tension,!0)),this.wavedRight&&(a=(0,j.A0)(p,u,f,h,this.tension,!0)),this.wavedBottom&&(c=(0,j.A0)(u,s,i,n,this.tension,!0)),this.wavedLeft&&(d=(0,j.A0)(s,_,f,h,this.tension,!0)),this.path=L.moveTo(_)+o+L.lineTo(p)+a+L.lineTo(u)+c+L.lineTo(s)+d+"z"}},Object.defineProperty(T.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(x){this.setPropertyValue("waveLength",x),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(x){this.setPropertyValue("waveHeight",x),this.invalidate()},enumerable:!0,configurable:!0}),T.prototype.setWavedSides=function(x,M,_,p){this.wavedTop=x,this.wavedRight=M,this.wavedBottom=_,this.wavedLeft=p},Object.defineProperty(T.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(x){this.setPropertyValue("tension",x),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"wavedRight",{get:function(){return this.getPropertyValue("wavedRight")},set:function(x){this.setPropertyValue("wavedRight",x,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"wavedLeft",{get:function(){return this.getPropertyValue("wavedLeft")},set:function(x){this.setPropertyValue("wavedLeft",x,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"wavedTop",{get:function(){return this.getPropertyValue("wavedTop")},set:function(x){this.setPropertyValue("wavedTop",x,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"wavedBottom",{get:function(){return this.getPropertyValue("wavedBottom")},set:function(x){this.setPropertyValue("wavedBottom",x,!0)},enumerable:!0,configurable:!0}),T}(B.A)},92468:(tt,k,m)=>{m.d(k,{D:()=>q});var g,C=m(19845),B=m(94813),j=m(80383),L=m(31991),A=m(61401),D=m(23962),T=m(5863),x=m(19459),M=m(97394),_=m(89233),p=m(87037),u=m(86280),s=m(61346),i=m(9450),n=m(15241),f=m(47744),h=m(83407),o=m(50954),a=m(75331),c=m(89196),d=m(62566),r=m(86234),b=m(17478),v=m(90868),e=m(59012),E=/src: ([^;]+);/;function W(it){return new Promise(function(K,l){var t=new FileReader;t.onload=function(y){K(t.result)},t.onerror=function(y){l(y)},t.readAsDataURL(it)})}function R(it){return(0,C.mG)(this,void 0,void 0,function(){var K;return(0,C.Jh)(this,function(t){switch(t.label){case 0:K=it.sheet,t.label=1;
1case 1:return t.trys.push([1,2,,4]),[2,K.cssRules];case 2:return t.sent(),[4,new Promise(function(y,O){it.addEventListener("load",function(){y(K.cssRules)},!0),it.addEventListener("error",function(S){O(S)},!0),setTimeout(function(){O(new Error("Timeout while waiting for <style> to load"))},1e4)})];case 3:return[2,t.sent()];case 4:return[2]}})})}function Z(it,K,l){return(0,C.mG)(this,void 0,void 0,function(){var t,y,O,S;return(0,C.Jh)(this,function(F){switch(F.label){case 0:return F.trys.push([0,2,,3]),[4,a.load(K)];case 1:return t=F.sent(),[3,3];case 2:return y=F.sent(),console.error("Failed to load stylesheet",K,y),[2];case 3:(O=it.createElement("style")).textContent=t.response,""!=n.Y.nonce&&O.setAttribute("nonce",n.Y.nonce),it.head.appendChild(O),F.label=4;case 4:return F.trys.push([4,,7,8]),[4,R(O)];case 5:return S=F.sent(),[4,$(it,K,S,l)];case 6:return F.sent(),[3,8];case 7:return it.head.removeChild(O),[7];case 8:return[2]}})})}function $(it,K,l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S,F,V;return(0,C.Jh)(this,function(w){switch(w.label){case 0:for(y=[],O=l.length,S=0;S<O;S++)(F=l[S]).type===CSSRule.IMPORT_RULE?(V=F.href)&&(V=r.joinUrl(K,V),y.push(Z(it,V,t))):t(K,F);return y.length?[4,Promise.all(y)]:[3,2];case 1:w.sent(),w.label=2;case 2:return[2]}})})}function Y(it){return(0,C.mG)(this,void 0,void 0,function(){var K,l;return(0,C.Jh)(this,function(t){switch(t.label){case 0:(K=document.createElement("iframe")).src="about:blank",K.setAttribute("title",""),document.head.appendChild(K),t.label=1;case 1:return t.trys.push([1,,3,4]),l=K.contentDocument,[4,Promise.all(b.map(document.styleSheets,function(y){var O=y.href;return null==O?$(l,location.href,y.cssRules,it):(O=r.joinUrl(location.href,O),Z(l,O,it))}))];case 2:return t.sent(),[3,4];case 3:return document.head.removeChild(K),[7];case 4:return[2]}})})}var q=function(it){function K(l){var t=it.call(this)||this;return t.adapter=new j.L1(t),t._formatOptions=new T.Xy,t._extraSprites=[],t._validateSprites=[],t.dataFieldsOrder=[],t._dynamicDataFields=!0,t._removedObjects=new D.aV,t._hiddenObjects=[],t._objectsAlreadyHidden=!1,t._filePrefix="amCharts",t.useWebFonts=!0,t.useRetina=!0,t.useSimplifiedExport=!0,t.timeoutDelay=2e3,t._exportRunning=!1,t._prevHasData=!1,t._container=l,t.className="Export",t._formatOptions.setKey("png",{}),t._formatOptions.setKey("jpg",{quality:.8}),t._formatOptions.setKey("gif",{}),t._formatOptions.setKey("svg",{}),t._formatOptions.setKey("pdf",{fontSize:14,imageFormat:"png",align:"left",addURL:!0,addColumnNames:!0}),t._formatOptions.setKey("json",{indent:2,useLocale:!0}),t._formatOptions.setKey("csv",{addColumnNames:!0,emptyAs:"",addBOM:!0}),t._formatOptions.setKey("xlsx",{addColumnNames:!0,useLocale:!0,emptyAs:""}),t._formatOptions.setKey("html",{addColumnNames:!0,emptyAs:""}),t._formatOptions.setKey("pdfdata",{fontSize:14,imageFormat:"png",addURL:!0,addColumnNames:!0,emptyAs:""}),t._formatOptions.setKey("print",{delay:500,printMethod:"iframe"}),t.adapter.add("options",function(y){var O=t._formatOptions.getKey(y.type);return y.options=y.options?o.merge(O,y.options):O,y}),t.applyTheme(),t.dispatchImmediately("inited"),t}return(0,C.ZT)(K,it),Object.defineProperty(K.prototype,"menu",{get:function(){return this._menu},set:function(l){var t=this;this._menu&&this.removeDispose(this._menu),this._menu=l,this._menu.container=this.container,this._menu.language=this._language,this._menu.adapter.add("branch",function(y){return y.branch.unsupported=!t.typeSupported(y.branch.type),y}),this._menu.events.on("hit",function(y){t.export(y.branch.type,y.branch.options),t.menu.close()}),this._menu.events.on("enter",function(y){t.export(y.branch.type,y.branch.options),t.menu.close()}),this._menu.events.on("over",function(y){t._disablePointers()}),this._menu.events.on("out",function(y){setTimeout(function(){t._releasePointers()},10)}),this.dispatchImmediately("menucreated"),this._menu.adapter.add("classPrefix",function(y){return y.classPrefix=n.Y.classNamePrefix+y.classPrefix,y}),this._disposers.push(this._menu)},enumerable:!0,configurable:!0}
1),K.prototype.typeSupported=function(l){var t=!0,y=this.getFormatOptions(l);return c.hasValue(y)&&y.disabled?t=!1:"pdf"===l||("xlsx"===l?t=!!this._hasData():("print"==l&&!window.print||-1!==["json","csv","html","pdfdata"].indexOf(l)&&!this._hasData())&&(t=!1)),this.adapter.apply("supported",{supported:t,type:l}).supported},K.prototype._hasData=function(){return this.data&&this.data.length},K.prototype._getFunction=function(l){switch(l){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}},K.prototype.export=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var O,S,w=this;return(0,C.Jh)(this,function(U){switch(U.label){case 0:return"custom"==l?(this.handleCustom(t),[2,!0]):(this._exportRunning=!0,this.events.isEnabled("exportstarted")&&this.events.dispatchImmediately("exportstarted",{type:"exportstarted",target:this,format:l,options:t}),this.showPreloader(),this.timeoutDelay&&(this.hideTimeout(),this._timeoutTimeout=this.setTimeout(function(){w.events.isEnabled("exporttimedout")&&w.events.dispatchImmediately("exporttimedout",{type:"exporttimedout",target:w,format:l,options:t}),w.showTimeout()},this.timeoutDelay)),this.hideNonExportableSprites(),O=this._getFunction(l),t=this.adapter.apply("options",{options:t,type:l}).options,[4,(O=this.adapter.apply("exportFunction",{func:O,type:l,options:t}).func).call(this,l,t)]);case 1:return S=U.sent(),this._exportRunning=!1,this._releasePointers(),this.restoreNonExportableSprites(),S?(this.events.isEnabled("exportfinished")&&this.events.dispatchImmediately("exportfinished",{type:"exportfinished",target:this,format:l,options:t}),this.hidePreloader(),this.hideTimeout(),this.menu&&this.menu.close(),"print"===l?[2,this.print(S,t,this.adapter.apply("title",{title:this.title,options:t}).title)]:"pdfdata"==l?[2,this.download(S,this.filePrefix+".pdf")]:[2,this.download(S,this.filePrefix+"."+l,t&&t.addBOM)]):(this.events.isEnabled("error")&&this.events.dispatchImmediately("error",{type:"error",target:this,format:l,options:t}),[2,!1])}})})},K.prototype.unsupported=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){return(0,C.Jh)(this,function(y){return[2,""]})})},K.prototype.handleCustom=function(l){c.hasValue(l)&&c.hasValue(l.callback)&&l.callback.call(l.callbackTarget||this,l)},K.prototype.getPrint=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){return(0,C.Jh)(this,function(y){return[2,this.getImage("png",t)]})})},K.prototype.getFontFamilies=function(){return(0,C.mG)(this,void 0,void 0,function(){var l,t,y,O,S=this;return(0,C.Jh)(this,function(F){switch(F.label){case 0:return l=this.getDOMURL(),t=[],y=[],[4,Y(function(V,w){if(w.type===CSSRule.FONT_FACE_RULE){var U=w.cssText,N=E.exec(U);if(null!==N){var z=N[1].split(/ *, */).map(function(G){return(0,C.mG)(S,void 0,void 0,function(){var X,J,H,Q,et,rt;return(0,C.Jh)(this,function(at){switch(at.label){case 0:return null!==(X=/^url\(["']?([^"'\)]+)["']?\)([^,]*)$/.exec(G))?[3,1]:[2,G];case 1:if(J=X[2],H=r.joinUrl(V,X[1]),this.webFontFilter&&!H.match(this.webFontFilter))return[2,null];at.label=2;case 2:return at.trys.push([2,7,,8]),[4,a.load(H,void 0,{responseType:"blob"})];case 3:return Q=at.sent(),function I(){return null!=window.navigator.msSaveOrOpenBlob}()?(et=l.createObjectURL(Q.blob),t.push(et),[3,6]):[3,4];case 4:return[4,W(Q.blob)];case 5:et=at.sent(),at.label=6;case 6:return[2,'url("'+et+'")'+J];case 7:return rt=at.sent(),console.error("Failed to load font",H,rt),[2,null];case 8:return[2]}})})});y.push(Promise.all(z).then(function(G){return 0===(G=G.filter(function(X){return null!=X})).length?"":U.replace(E,"src: "+G.join(", ")+";")}))}}})];case 1:return F.sent(),[4,Promise.all(y)];case 2:return O=F.sent(),[2,{blobs:t,cssText:O.filter(function(V){return!!V}).join("\n")}]}})})},K.prototype.getImage=function(l,t,y){return(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U;return(0,C.Jh)(this,function(N){switch(N.label){case 0:return(O=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),c.hasValue(t)||(t=this.getFormatOptions(l)),[4,this.awaitValidSprites()];case 1:return N.sent(),[4,this.simplifiedImageExport()];case 2:if(!N.sent())return[3,10];S=void 0,N.label=3;case 3:return N.trys.push([3,7,,9]),[4,this.getCanvas(t)];case 4:return S=N.sent(),!1===y?[3,6]:[4,this.addExtras(S,t)];case 5:F=N.sent(),this.disposeCanvas(S),S=F,N.label=6;case 6:return V=S.toDataURL(this.getContentType(l),t.quality),this.disposeCanvas(S),O||this.restoreNonExportableSprites(),[2,V];case 7:return w=N.sent(),console.error(w.message+"\n"+w.stack),d.Z("Simple export failed, falling back to advanced export"),S&&this.disposeCanvas(S),[4,this.getImageAdvanced(l,t,y)];case 8:return U=N.sent(),O||this.restoreNonExportableSprites(),[2,U];case 9:return[3,12];case 10:return[4,this.getImageAdvanced(l,t,y)];case 11:return U=N.sent(),O||this.restoreNonExportableSprites(),[2,U];case 12:return[2]}})})},K.prototype.addExtras=function(l,t,y){return(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U,N,z,G,X,J,H,Q,et,rt=this;return(0,C.Jh)(this,function(at){switch(at.label){case 0:return this.extraSprites.length?(O=0,S=0,F=l.width,V=l.height,w=0,U=0,[4,Promise.all(b.map(this.extraSprites,function(st){return(0,C.mG)(rt,void 0,void 0,function(){var nt,ot,ht,pt;return(0,C.Jh)(this,function(dt){switch(dt.label){case 0:return(nt=st instanceof L.jy?{sprite:st,position:"bottom"}:st).position=nt.position||"bottom",nt.marginTop=nt.marginTop||0,nt.marginRight=nt.marginRight||0,nt.marginBottom=nt.marginBottom||0,nt.marginLeft=nt.marginLeft||0,y?[4,nt.sprite.exporting.getCanvasAdvanced(t)]:[3,2];case 1:return ot=dt.sent(),[3,4];case 2:return[4,nt.sprite.exporting.getCanvas(t)];case 3:ot=dt.sent(),dt.label=4;case 4:return ht=ot.width+nt.marginLeft+nt.marginRight,pt=ot.height+nt.marginTop+nt.marginBottom,"top"==nt.position?(F=nt.crop?V:v.max(F,ht),S+=pt):"right"==nt.position?(V=nt.crop?V:v.max(V,pt),w+=ht):"left"==nt.position?(V=nt.crop?V:v.max(V,pt),O+=ht):"bottom"===nt.position&&(F=nt.crop?V:v.max(F,ht),U+=
1pt),[2,{canvas:ot,position:nt.position,left:nt.marginLeft,top:nt.marginTop,width:ht,height:pt}]}})})}))]):[3,2];case 1:return N=at.sent(),(z=this.getDisposableCanvas()).width=O+F+w,z.height=S+V+U,G=z.getContext("2d"),(X=this.backgroundColor||this.findBackgroundColor(this.sprite.dom))&&(G.fillStyle=X.toString(),G.fillRect(0,0,z.width,z.height)),Q=(J=O)+F,et=(H=S)+V,b.each(N,function(st){"top"==st.position?G.drawImage(st.canvas,O+st.left,(H-=st.height)+st.top):"right"==st.position?(G.drawImage(st.canvas,Q+st.left,S+st.top),Q+=st.width):"left"==st.position?G.drawImage(st.canvas,(J-=st.width)+st.left,S+st.top):"bottom"===st.position&&(G.drawImage(st.canvas,O+st.left,et+st.top),et+=st.height),rt.disposeCanvas(st.canvas)}),G.drawImage(l,O,S),[2,z];case 2:return[2,l]}})})},K.prototype.getCanvas=function(l){return(0,C.mG)(this,void 0,void 0,function(){var t,y,O,S,F,V,w,U,N,z,G,X,J,H,Q,et,rt;return(0,C.Jh)(this,function(at){switch(at.label){case 0:c.hasValue(l)||(l={}),t=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),y=this.getDOMURL(),O=null,S=null,at.label=1;case 1:return at.trys.push([1,,4,5]),V=this.sprite.pixelWidth,w=this.sprite.pixelHeight,U=f.gR(this.sprite.dom),N=f.w(this.sprite.dom),z=l.scale||1,G=this.getPixelRatio(l),z=this.getAdjustedScale(V*G,w*G,z,l),(F=this.getDisposableCanvas()).style.width=V*z+"px",F.style.height=w*z+"px",F.width=V*z,F.height=w*z,X=F.getContext("2d"),t&&(X.fillStyle=t.toString(),X.fillRect(0,0,V*z,w*z)),J=[],this.useWebFonts&&J.push(this.getFontFamilies().then(function(st){return S=st.blobs,st.cssText})),J.push(this.imagesToDataURI(this.sprite.dom,l)),J.push(this.prepForeignObjects(this.sprite.dom,l)),[4,Promise.all(J)];case 2:return H=at.sent(),Q=this.normalizeSVG("<style>"+H[0]+"</style>"+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),l,V,w,z,U,N),et=new Blob([Q],{type:"image/svg+xml"}),O=y.createObjectURL(et),[4,this.loadNewImage(O,V*z*G,w*z*G,"anonymous")];case 3:return rt=at.sent(),X.drawImage(rt,0,0),[3,5];case 4:return null!==O&&y.revokeObjectURL(O),null!==S&&b.each(S,function(st){y.revokeObjectURL(st)}),this.restoreRemovedObjects(),[7];case 5:return[2,F]}})})},K.prototype.getCanvasAdvanced=function(l){return(0,C.mG)(this,void 0,void 0,function(){var t,y,O,S,F,V,w,U,N,z,G;return(0,C.Jh)(this,function(X){switch(X.label){case 0:return c.hasValue(l)||(l={}),[4,this.imagesToDataURI(this.sprite.dom,l)];case 1:return X.sent(),t=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),[4,this.canvg];case 2:return y=X.sent(),O=this.sprite.pixelWidth,S=this.sprite.pixelHeight,F=f.gR(this.sprite.dom),V=f.w(this.sprite.dom),w=l.scale||1,U=this.getPixelRatio(l),w=this.getAdjustedScale(O*U,S*U,w,l),N=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),l,O,S,w,F,V,t),(z=this.getDisposableCanvas()).style.width=O*U*w+"px",z.style.height=S*U*w+"px",z.width=O*U*w,z.height=S*U*w,G={useCORS:!0},1!=U&&(G.ignoreDimensions=!0,G.scaleWidth=O*U*w,G.scaleHeight=S*U*w),[4,y.fromString(z.getContext("2d"),N,G).render()];case 3:return X.sent(),[2,z]}})})},K.prototype.getImageAdvanced=function(l,t,y){return(0,C.mG)(this,void 0,void 0,function(){var O,S,F;return(0,C.Jh)(this,function(V){switch(V.label){case 0:return(O=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),c.hasValue(t)||(t=this.getFormatOptions(l)),[4,this.getCanvasAdvanced(t)];case 1:return S=V.sent(),!1===y?[3,3]:[4,this.addExtras(S,t,!0)];case 2:S=V.sent(),V.label=3;case 3:return F=S.toDataURL(this.getContentType(l),t.quality),this.disposeCanvas(S),O||this.restoreNonExportableSprites(),[2,F]}})})},K.prototype.getDisposableCanvas=function(){var l=document.createElement("canvas");return l.style.position="fixed",l.style.top="-10000px",document.body.appendChild(l),l},K.prototype.disposeCanvas=function(l){document.body.contains(l)&&document.body.removeChild(l)},K.prototype.getPixelRatio=function(l){return this.useRetina?r.getPixelRatio():1},K.prototype.getAdjustedScale=function(l,t,y,O){if(!O)return y;var V,w,S=l*y,F=l*y;return O.maxWidth&&S>O.maxWidth&&(V=O.maxWidth/l),O.maxHeight&&F>O.maxHeight&&(w=O.maxHeight/t),V||w?v.min(V,w):(O.minWidth&&S<O.minWidth&&(V=O.minWidth/l),O.minHeight&&F<O.minHeight&&(w=O.minHeight/t),V||w?v.max(V,w):y)},K.prototype.imagesToDataURI=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S,F,V,w;return(0,C.Jh)(this,function(U){switch(U.label){case 0:if(!(y=l.querySelectorAll("image")).length)return[3,2];for(O=[],S=y.length,F=0;F<S;F++)(w=(V=y[F]).getAttributeNS(K.XLINK,"href"))&&(-1!==w.indexOf("data:image")||(-1!==w.indexOf(".svg")?O.push(this.svgToDataURI(V,t)):O.push(this.imageToDataURI(V,t))));return[4,Promise.all(O)];case 1:return U.sent(),[2];case 2:return[2]}})})},K.prototype.prepForeignObjects=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S;return(0,C.Jh)(this,function(F){if((y=l.querySelectorAll("foreignObject")).length)for(O=y.length,S=0;S<O;S++)this.temporarilyRemoveObject(y[S]);return[2]})})},K.prototype.imageToDataURI=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S;return(0,C.Jh)(this,function(V){switch(V.label){case 0:return V.trys.push([0,2,,3]),[4,this.loadNewImage(l.getAttributeNS(K.XLINK,"href"),null,null,"anonymous")];case 1:y=V.sent(),(O=document.createElement("canvas")).width=y.width,O.height=y.height,O.getContext("2d").drawImage(y,0,0);try{return S=O.toDataURL(),l.setAttribute("href",S),[2,S]}catch{return!1!==t.keepTainted&&this.temporarilyRemoveObject(l),[2,void 0]}return[3,3];case 2:return V.sent(),(!t||!1!==t.keepTainted)&&this.temporarilyRemoveObject(l),[2,void 0];case 3:return[2]}})})},K.prototype.svgToDataURI=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S,F;return(0,C.Jh)(this,function(w){switch(w.label){case 0:y=l.getAttributeNS(K.XLINK,"href"),w.label=1;case 1:return w.trys.push([1,3,,4]),[4,a.load(y)];case 2:return O=w.sent(),S=this.adapter.apply("charset",{charset:"base64",type:"svg",options:t}).charset,F=this.adapter.apply("svgToDataURI",{data:"data:"+this.getContentType("svg")+";"+S+","+btoa(O.response),options:t}).data,l.setAttributeNS(K.XLINK,"href",F),[2,F];case 3:return w.sent(),(!t||!1!==t.keepTainted)&&this.temporarilyRemoveObject(l),[2,void 0];case 4:return[2]}})})},K.prototype.temporarilyRemoveObject=function(l,t){var y=l.parentElement||l.parentNode;t||(t=this.sprite.paper.add("g").node),y.insertBefore(t,l),y.removeChild(l),this._removedObjects.push({element:l,placeholder:t})},K.prototype.restoreRemovedObjects=function(){for(var l;l=this._removedObjects.pop();)(l.placeholder.parentElement||l.placeholder.parentNode).insertBefore(l.element,l.placeholder)},K.prototype.simplifiedImageExport=function(){return(0,C.mG)(this,void 0,void 0,function(){var l,t,y,O,S,F,V;return(0,C.Jh)(this,function(N){switch(N.label){case 0:if(!1===this.useSimplifiedExport)return[2,!1];if(!1===(l=i.i.getCache("simplifiedImageExport"))||!0===l)return[2,l];N.label=1;case 1:N.trys.push([1,6,,7]),(t=document.createElement("canvas")).width=1,t.height=1,y=t.getContext("2d"),O=this.getDOMURL(),S=new Blob([this.normalizeSVG("<g></g>",{}
1,1,1)],{type:"image/svg+xml"}),F=O.createObjectURL(S),V=void 0,N.label=2;case 2:return N.trys.push([2,4,,5]),[4,this.loadNewImage(F,1,1)];case 3:return V=N.sent(),[3,5];case 4:return N.sent(),[2,!1];case 5:y.drawImage(V,0,0),O.revokeObjectURL(F);try{return i.i.setCache("simplifiedImageExport",!0),[2,!0]}catch{return i.i.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return N.sent(),i.i.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},K.prototype.loadNewImage=function(l,t,y,O){return new Promise(function(S,F){var V;function w(){if(O){var U=V.src;V.onerror=function(){F(new Error('Loading image "'+l+'" failed'))},V.removeAttribute("crossorigin"),V.src="",V.src=U}else F(new Error('Loading image "'+l+'" failed'))}V=t&&y?new Image(t,y):new Image,O&&V.setAttribute("crossOrigin",O),V.onload=function(){S(V)},V.onabort=w,V.onerror=w,V.src=l})},K.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},K.prototype.getSVG=function(l,t,y){return void 0===y&&(y=!0),(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U,N,z,G,X;return(0,C.Jh)(this,function(J){switch(J.label){case 0:return(O=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),c.hasValue(t)||(t=this.getFormatOptions("svg")),[4,this.awaitValidSprites()];case 1:return J.sent(),S=this.sprite.pixelWidth,F=this.sprite.pixelHeight,V=f.gR(this.sprite.dom),w=f.w(this.sprite.dom),U=t.scale||1,N=this.getPixelRatio(t),U=this.getAdjustedScale(S*N,F*N,U,t),z=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,S,F,U,V,w),G=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:t}).charset,X=this.adapter.apply("getSVG",{data:y?"data:"+this.getContentType(l)+";"+G+","+encodeURIComponent(z):z,options:t}).data,O||this.restoreNonExportableSprites(),[2,X]}})})},K.prototype.normalizeSVG=function(l,t,y,O,S,F,V,w){var U="";y&&(U+='width="'+Math.round(y*(S||1))+'px" '),O&&(U+='height="'+Math.round(O*(S||1))+'px" ');var N="";F&&(N+="font-family: "+F.replace(/"/g,"")+";"),V&&(N+="font-size: "+V+";"),S&&(U+='viewBox="0 0 '+y+" "+O+'" ');var z=[],G=l.match(/<foreignObject[\s\S]*<\/foreignObject>/gi);if(G)for(var X=0;X<G.length;X++)l=l.replace(G[X],e.l7),z.push(G[X]);l.match(/<svg/)?""!==U&&(l=(l=(l=l.replace(/(<svg[^>]*)width="[^"]*"/,"$1")).replace(/(<svg[^>]*)height="[^"]*"/,"$1")).replace(/(<svg)/,"$1"+U)):l='<?xml version="1.0" encoding="utf-8"?><svg '+U+' style="'+N+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+l+"</svg>",w&&(l=l.replace(/(<svg[^>]*>)/,'$1<rect width="100%" height="100%" fill="'+w.rgba+'"/>')),h.w()&&(l=l.replace(/<feColorMatrix [^\/>]*\/>/gi,""));var J=new RegExp("url\\("+r.escapeForRgex(r.getBaseURI()),"g");if(l=(l=l.replace(J,"url(#")).replace(/url\("([^)]*)"\)/gm,"url($1)"),z.length)for(X=0;X<z.length;X++)l=l.replace(e.l7,z[X]);return this.adapter.apply("normalizeSVG",{data:l,options:t}).data},K.prototype.serializeElement=function(l){return(new XMLSerializer).serializeToString(l)},K.prototype.getPDF=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){function y(H){var Q={};Q.normal=H.normal.path,J[H.normal.path]=H.normal.bytes,H.bold?(Q.bold=H.bold.path,J[H.bold.path]=H.bold.bytes):Q.bold=H.normal.path,H.italics?(Q.italics=H.italics.path,J[H.italics.path]=H.italics.bytes):Q.italics=H.normal.path,H.bolditalics?(Q.bolditalics=H.bolditalics.path,J[H.bolditalics.path]=H.bolditalics.bytes):Q.bolditalics=H.normal.path,X[H.name]=Q}var O,S,F,V,w,U,N,z,G,X,J;return(0,C.Jh)(this,function(H){switch(H.label){case 0:return[4,this.getImage(t.imageFormat||"png",t)];case 1:return O=H.sent(),[4,this.pdfmake];case 2:return S=H.sent(),F=[30,30,30,30],V={pageSize:t.pageSize||"A4",pageOrientation:t.pageOrientation||"portrait",pageMargins:t.pageMargins||F,defaultStyle:{font:t.font?t.font.name:void 0},content:[]},w=this.adapter.apply("title",{title:this.title,options:t}).title,U=0,w&&(V.content.push({text:w,fontSize:t.fontSize||14,bold:!0,margin:[0,0,0,15]}),U+=50),t.addURL&&(V.content.push({text:this.language.translate("Saved from")+": "+document.location.href,fontSize:t.fontSize,margin:[0,0,0,15]}),U+=50),"pdfdata"!=l&&V.content.push({image:O,alignment:t.align||"left",fit:this.getPageSizeFit(V.pageSize,V.pageMargins,U)}),"pdfdata"==l||t.addData?(z=(N=V.content).push,G={},[4,this.getPDFData("pdf",t)]):[3,4];case 3:z.apply(N,[(G.table=H.sent(),G.fontSize=t.fontSize||14,G)]),H.label=4;case 4:return V=this.adapter.apply("pdfmakeDocument",{doc:V,options:t}).doc,X=null,J=null,t.font&&(X={},J={},y(t.font),t.extraFonts&&b.each(t.extraFonts,y)),[4,new Promise(function(Q,et){S.createPdf(V,null,X,J).getDataUrl(function(rt){Q(rt)})})];case 5:return[2,H.sent()]}})})},K.prototype.getPDFData=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S,F,V,w,U=this;return(0,C.Jh)(this,function(N){if(y={body:[]},O=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"pdf"}).dataFields,S=this.data,t.pivot)F=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"pdfdata"}).dataFieldsOrder,o.eachOrdered(O,function(z,G){var X=[];t.addColumnNames&&X.push(G);for(var J=S.length,H=0;H<J;H++)X.push(U.convertToSpecialFormat(z,S[H][z],t,!0));y.body.push(U.getPDFDataRow(X,t,void 0,!0))},function(z,G){var X=F.indexOf(z),J=F.indexOf(G);return X>J?1:X<J?-1:0});else for(t.addColumnNames&&(y.body.push(this.getPDFDataRow(O,t,void 0,!0)),y.headerRows=1),V=S.length,w=0;w<V;w++)y.body.push(this.getPDFDataRow(S[w],t,O));return[2,this.adapter.apply("pdfmakeTable",{table:y,options:t}).table]})})},K.prototype.getPDFDataRow=function(l,t,y,O){var S=this;void 0===O&&(O=!1);var F=[];y||(y=l);var V=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"pdfdata"}).dataFieldsOrder;return o.eachOrdered(y,function(w,U){var N=S.convertEmptyValue(w,l[w],t),z=O?N:S.convertToSpecialFormat(w,N,t);F.push(z=""+z)}
1,function(w,U){var N=V.indexOf(w),z=V.indexOf(U);return N>z?1:N<z?-1:0}),F},K.prototype.getPageSizeFit=function(l,t,y){void 0===y&&(y=0);var O=[0,0,0,0];"number"==typeof t?O=[t,t,t,t]:2==t.length?O=[t[0],t[1],t[0],t[1]]:4==t.length&&(O=t);var F={"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]}[l];return F[0]-=O[0]+O[2],F[1]-=O[1]+O[3]+y,F},K.prototype.getExcel=function(l,t){return(0,C.mG)(this,void 0,void 0,function(){var y,O,S,F,V,w,U,N,z,X=this;return(0,C.Jh)(this,function(J){switch(J.label){case 0:return c.hasValue(t)||(t=this.getFormatOptions("xlsx")),[4,this.xlsx];case 1:if(y=J.sent(),O=this.adapter.apply("xlsxWorkbookOptions",{xlsx:y,options:{bookType:"xlsx",bookSST:!1,type:"base64"}}).options,S=this.normalizeExcelSheetName(this.adapter.apply("xlsxSheetName",{xlsx:y,name:this.title||this.language.translate("Data")}).name),F={SheetNames:[S],Sheets:{}},V=[],w=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"xslx"}).dataFields,t.pivot)U=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"xlsx"}).dataFieldsOrder,o.eachOrdered(w,function(H,Q){var et=[];t.addColumnNames&&et.push(Q);for(var rt=X.data.length,at=0;at<rt;at++)et.push(X.convertToSpecialFormat(H,X.data[at][H],t,!0));V.push(X.getExcelRow(et,t,void 0,!0))},function(H,Q){var et=U.indexOf(H),rt=U.indexOf(Q);return et>rt?1:et<rt?-1:0});else for(t.addColumnNames&&V.push(this.getExcelRow(w,t,void 0,!0)),N=this.data.length,z=0;z<N;z++)V.push(this.getExcelRow(this.data[z],t,w));return F.Sheets[S]=y.utils.aoa_to_sheet(V),F=this.adapter.apply("xlsxWorkbook",{xlsx:y,workbook:F,options:t}).workbook,[2,this.adapter.apply("getExcel",{data:"data:"+this.getContentType(l)+";base64,"+y.write(F,O),options:t}).data]}})})},K.prototype.normalizeExcelSheetName=function(l){return l=l.replace(/([:\\\/?*\[\]]+)/g," "),r.truncateWithEllipsis(l,31,"...",!0)},K.prototype.getExcelRow=function(l,t,y,O){var S=this;void 0===O&&(O=!1);var F=[];y||(y=l);var V=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"xlsx"}).dataFieldsOrder;return o.eachOrdered(y,function(w,U){var N=S.convertEmptyValue(w,l[w],t),z=O?N:S.convertToSpecialFormat(w,N,t,!0);F.push(z)},function(w,U){var N=V.indexOf(w),z=V.indexOf(U);return N>z?1:N<z?-1:0}),F},K.prototype.getCSV=function(l,t,y){return void 0===y&&(y=!0),(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U,N,z,G,J=this;return(0,C.Jh)(this,function(H){if(c.hasValue(t)||(t=this.getFormatOptions("csv")),O="",S=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"csv"}).dataFields,F="",V=this.data,t.pivot)w=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"csv"}).dataFieldsOrder,o.eachOrdered(S,function(Q,et){var rt=[];t.addColumnNames&&rt.push(et);for(var at=V.length,st=0;st<at;st++)rt.push(J.convertToSpecialFormat(Q,V[st][Q],t,!0));O+=F+J.getCSVRow(rt,t,void 0,!0),F="\n"},function(Q,et){var rt=w.indexOf(Q),at=w.indexOf(et);return rt>at?-1:rt<at?1:0});else{for(U=V.length,N=0;N<U;N++)z=this.getCSVRow(V[N],t,S),t.reverse?O=z+F+O:O+=F+z,F="\n";t.addColumnNames&&(O=this.getCSVRow(S,t,void 0,!0)+F+O)}return G=this.adapter.apply("charset",{charset:"charset=utf-8",type:l,options:t}).charset,[2,this.adapter.apply("getCSV",{data:y?"data:"+this.getContentType(l)+";"+G+","+encodeURIComponent(O):O,options:t}).data]})})},K.prototype.getCSVRow=function(l,t,y,O){var S=this;void 0===O&&(O=!1);var F=t.separator||",",V=[];y||(y=l);var w=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"csv"}).dataFieldsOrder;return o.eachOrdered(y,function(U,N){var z=S.convertEmptyValue(U,l[U],t),G=O?z:S.convertToSpecialFormat(U,z,t);G=(G=""+G).replace(/"/g,'""'),(t.forceQuotes||G.search(new RegExp('"|\n|'+F,"g"))>=0)&&(G='"'+G+'"'),V.push(G)},function(U,N){var z=w.indexOf(U),G=w.indexOf(N);return z>G?1:z<G?-1:0}),V.join(F)},K.prototype.getHTML=function(l,t,y){return void 0===y&&(y=!0),(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U,N,G=this;return(0,C.Jh)(this,function(X){if(c.hasValue(t)||(t=this.getFormatOptions("html")),O="<table>",t.tableClass&&(O='<table class="'+t.tableClass+'">'),S=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,F=this.data,t.pivot)V=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,O+="\n<tbody>",o.eachOrdered(S,function(J,H){var Q=[];t.addColumnNames&&Q.push(H);for(var et=F.length,rt=0;rt<et;rt++)Q.push(G.convertToSpecialFormat(J,F[rt][J],t,!0));
1O+="\n"+G.getHTMLRow(Q,t,void 0,!0)},function(J,H){var Q=V.indexOf(J),et=V.indexOf(H);return Q>et?-1:Q<et?1:0}),O+="\n</tbody>";else{for(t.addColumnNames&&(O+="\n<thead>\n"+this.getHTMLRow(S,t,void 0,!0,!0)+"\n</thead>"),O+="\n<tbody>",w=F.length,U=0;U<w;U++)O+="\n"+this.getHTMLRow(F[U],t,S);O+="\n</tbody>"}return O+="\n</table>",N=this.adapter.apply("charset",{charset:"charset=utf-8",type:l,options:t}).charset,[2,this.adapter.apply("getHTML",{data:y?"data:"+this.getContentType(l)+";"+N+","+encodeURIComponent(O):O,options:t}).data]})})},K.prototype.getHTMLRow=function(l,t,y,O,S){var F=this;void 0===O&&(O=!1),void 0===S&&(S=!1);var V="\t<tr>";t.rowClass&&(V='\t<tr class="'+t.rowClass+'">'),y||(y=l);var w=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,U=S?"th":"td",N=!0;return o.eachOrdered(y,function(z,G){var X=F.convertEmptyValue(z,l[z],t),J=O?X:F.convertToSpecialFormat(z,X,t);J=(J=""+J).replace(/[\u00A0-\u9999<>\&]/gim,function(Q){return"&#"+Q.charCodeAt(0)+";"});var H=U;t.pivot&&N&&(H="th"),V+=t.cellClass?"\n\t\t<"+H+' class="'+t.cellClass+'">'+J+"</"+H+">":"\n\t\t<"+H+">"+J+"</"+H+">",N=!1},function(z,G){var X=w.indexOf(z),J=w.indexOf(G);return X>J?1:X<J?-1:0}),V+="\n\t</tr>"},K.prototype.getJSON=function(l,t,y){return void 0===y&&(y=!0),(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U,N,z,X=this;return(0,C.Jh)(this,function(J){if(c.hasValue(t)||(t=this.getFormatOptions("json")),S=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"json"}).dataFields,this._dynamicDataFields)O=this.data;else for(O=[],V=function(H,Q){var et=F[Q];if("object"==typeof et){var rt={};o.each(et,function(at,st){c.hasValue(S[at])&&(rt[S[at]]=X.convertToSpecialFormat(at,st,t))}),O.push(rt)}},w=(F=this.data).length,U=0;U<w;U++)V(0,U);return N=JSON.stringify(O,function(H,Q){return"object"==typeof Q&&o.each(Q,function(et,rt){Q[et]=X.convertToSpecialFormat(et,rt,t)}),Q},t.indent),z=this.adapter.apply("charset",{charset:"charset=utf-8",type:l,options:t}).charset,[2,this.adapter.apply("getJSON",{data:y?"data:"+this.getContentType(l)+";"+z+","+encodeURIComponent(N):N,options:t}).data]})})},K.prototype.convertToSpecialFormat=function(l,t,y,O){if("number"==typeof t)if(this.isDateField(l))t=new Date(t);else{if(this.isDurationField(l))return this.durationFormatter.format(t,this.durationFormat);if(this.isNumberField(l)&&this.numberFormat)return this.numberFormatter.format(t,this.numberFormat)}return t instanceof Date?y.useTimestamps?t=t.getTime():y.useLocale?O||(t=t.toLocaleString()):t=this.dateFormatter.format(t,this.dateFormat):c.isString(t)&&this.isDateField(l)&&this.dateFormat&&(t=this.dateFormatter.format(this.dateFormatter.parse(t),this.dateFormat)),t},K.prototype.convertEmptyValue=function(l,t,y){return c.hasValue(t)?t:y.emptyAs},K.prototype.download=function(l,t,y){return void 0===y&&(y=!1),(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V,w,U,N,z,G,X,J,H,Q,et,rt;return(0,C.Jh)(this,function(at){if(this.msBlobDownloadSupport()){if(H=l.split(";"),Q=H.shift().replace(/data:/,""),l=decodeURIComponent(H.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv"].indexOf(Q))return O=new Blob([l],{type:Q}),window.navigator.msSaveBlob(O,t),[2,!0];try{F=atob(l),l=F}catch{return[2,!1]}for(U=new Array(l.length),N=0;N<l.length;++N)z=l.charCodeAt(N),U[N]=z;G=new Blob([new Uint8Array(U)],{type:Q}),window.navigator.msSaveBlob(G,t)}else if(this.blobDownloadSupport()){if((S=document.createElement("a")).download=t,document.body.appendChild(S),H=l.split(";"),Q=H.shift().replace(/data:/,""),l=decodeURIComponent(H.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv","text/html"].indexOf(Q))return y&&(l="\ufeff"+l),V=new Blob([l],{type:Q}),w=window.URL.createObjectURL(V),S.href=w,S.download=t,S.click(),setTimeout(function(){document.body.removeChild(S),window.URL.revokeObjectURL(w)},100),[2,!0];try{F=atob(l),l=F}catch{return[2,!1]}for(U=new Array(l.length),N=0;N<l.length;++N)z=l.charCodeAt(N),U[N]=z;y&&(U=[239,187,191].concat(U)),G=new Blob([new Uint8Array(U)],{type:Q}),X=window.URL.createObjectURL(G),S.href=X,S.download=t,document.body.appendChild(S),S.click(),document.body.removeChild(S),setTimeout(function(){window.URL.revokeObjectURL(X)},100)}else this.linkDownloadSupport()?((J=document.createElement("a")).download=t,J.href=l,document.body.appendChild(J),J.click(),document.body.removeChild(J)):this.legacyIE()?4===(H=l.match(/^data:(.*);[ ]*([^,]*),(.*)$/)).length&&("base64"==H[2]?H[1].match(/^image\//)&&this.showModal('<img src="'+l+'" 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")):(Q=void 0,t.match(/\.svg$/)?Q="image/svg+xml":(Q="text/plain",t+=".txt"),(et=document.createElement("iframe")).width="1px",et.height="1px",et.style.display="none",document.body.appendChild(et),(rt=et.contentDocument).open(Q,"replace"),rt.write(decodeURIComponent(H[3])),rt.close(),rt.execCommand("SaveAs",!0,t),document.body.removeChild(et))):window.location.href=l;return[2,!0]})})},K.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},K.prototype.linkDownloadSupport=function(){var l=i.i.getCache("linkDownloadSupport");if(!1===l||!0===l)return l;var y=typeof document.createElement("a").download<"u";return i.i.setCache("linkDownloadSupport",y),y},K.prototype.blobDownloadSupport=function(){return c.hasValue(window.Blob)},K.prototype.msBlobDownloadSupport=function(){return c.hasValue(window.navigator.msSaveOrOpenBlob)},K.prototype.legacyIE=function(){var l=document.createElement("div");return l.innerHTML="\x3c!--[if lt IE 10]><i></i><![endif]--\x3e",1==l.getElementsByTagName("i").length},K.prototype.print=function(l,t,y){return(0,C.mG)(this,void 0,void 0,function(){return(0,C.Jh)(this,function(O){return"css"==t.printMethod?[2,this.printViaCSS(l,t,y)]:[2,this.printViaIframe(l,t,y)]})})},K.prototype.printViaCSS=function(l,t,y){return(0,C.mG)(this,void 0,void 0,function(){var O,S,F,V;return(0,C.Jh)(this,function(U){return O=document.documentElement.scrollTop||document.body.scrollTop,S=new f.u0(f.Ay(this.container),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"pol
1ygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),y&&document&&document.title&&(F=document.title,document.title=y),(V=new Image).src=l,V.style.maxWidth="100%",V.style.display="block",V.style.position="relative",V.style.visibility="visible",V.style.opacity="1",V.style.clipPath="none",document.body.appendChild(V),this.setTimeout(function(){window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&t.delay<1e3?t.delay=1e3:t.delay<100&&(t.delay=100),this.setTimeout(function(){document.body.removeChild(V),S.dispose(),F&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=O},t.delay||500),[2,!0]})})},K.prototype.printViaIframe=function(l,t,y){return(0,C.mG)(this,void 0,void 0,function(){var O,S;return(0,C.Jh)(this,function(V){return(O=document.createElement("iframe")).style.visibility="hidden",document.body.appendChild(O),O.contentWindow.document.open(),O.contentWindow.document.close(),(S=new Image).src=l,S.style.maxWidth="100%",S.style.height="auto",y&&(O.contentWindow.document.title=y),O.contentWindow.document.body.appendChild(S),O.load=function(){O.contentWindow.document.body.appendChild(S)},this.setTimeout(function(){try{O.contentWindow.document.execCommand("print",!1,null)||O.contentWindow.print()}catch{O.contentWindow.print()}},t.delay||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&t.delay<1e3?t.delay=1e3:t.delay<100&&(t.delay=100),this.setTimeout(function(){document.body.removeChild(O)},t.delay+50||100),[2,!0]})})},K.prototype.findBackgroundColor=function(l){var t=1,y=(0,f.Dx)(l,"background-color");if((y.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==y)&&(t=0),0==t){var O=l.parentElement;return O?this.findBackgroundColor(O):(0,s.$_)("#fff")}return(0,s.$_)(y,t)},Object.defineProperty(K.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(l){this._container=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(l){this._sprite=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(l){this._extraSprites=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"validateSprites",{get:function(){return this.adapter.apply("validateSprites",{validateSprites:this._validateSprites}).validateSprites},set:function(l){this._validateSprites=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(l){this._data=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(l){this._dataFields=l,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),K.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0);var l=this.data.length>0;this._prevHasData!=l&&(this._prevHasData=l,this.menu&&this.menu.invalidate())},Object.defineProperty(K.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new x.C,this._dateFormatter.language=this.language),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(l){this._dateFormatter=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(l){this._dateFormat=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new D.aV),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(l){this._dateFields=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new _.e,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(l){this._numberFormatter=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"numberFormat",{get:function(){return this.adapter.apply("numberFormat",{numberFormat:this._numberFormat}).numberFormat},set:function(l){this._numberFormat=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"numberFields",{get:function(){return this._numberFields||(this._numberFields=new D.aV),this.adapter.apply("numberFields",{numberFields:this._numberFields}).numberFields}
1,set:function(l){this._numberFields=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new M.$,this._durationFormatter.language=this.language),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(l){this._durationFormatter=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(l){this._durationFormat=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new D.aV),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(l){this._durationFields=l},enumerable:!0,configurable:!0}),K.prototype.generateDataFields=function(){var l=this;this._dataFields={},this.data.length&&b.each(this.data,function(t){o.each(t,function(y,O){c.hasValue(l._dataFields[y])||(l._dataFields[y]=l.adapter.apply("dataFieldName",{name:y,field:y}).name)})})},K.prototype.isDateField=function(l){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(l),field:l}).isDateField},K.prototype.isNumberField=function(l){return this.adapter.apply("isNumberField",{isNumberField:this.numberFields.contains(l),field:l}).isNumberField},K.prototype.isDurationField=function(l){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(l),field:l}).isDurationField},K.prototype.getContentType=function(l){var t="";switch(l){case"png":case"gif":t="image/"+l;break;case"jpg":t="image/jpeg";break;case"svg":t="image/svg+xml";break;case"csv":t="text/csv";break;case"json":t="application/json";break;case"html":t="text/html";break;case"pdf":case"pdfdata":t="application/pdf";break;case"xlsx":t="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return this.adapter.apply("contentType",{contentType:t,type:l}).contentType},Object.defineProperty(K.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(l){this._filePrefix=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(l){this._backgroundColor=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(l){this._title=l},enumerable:!0,configurable:!0}),K.prototype.showPreloader=function(){var l=this.preloader;l&&(l.progress=.5,l.label.text="...")},K.prototype.hidePreloader=function(){var l=this.preloader;l&&(l.progress=1)},Object.defineProperty(K.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),K.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)},K.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()},Object.defineProperty(K.prototype,"language",{get:function(){return this._language||(this._language=new p.S),this._language},set:function(l){this._language=l},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"modal",{get:function(){return this._modal||(this._modal=new A.u,this._modal.adapter.add("classPrefix",function(l){return n.Y.classNamePrefix+l})),this._modal},enumerable:!0,configurable:!0}),K.prototype.showModal=function(l,t){this.hideModal(),this.hidePreloader();var y=this.modal;y.container=this.sprite.svgContainer.SVGContainer,y.content=l,y.readerTitle=t,y.open()},K.prototype.hideModal=function(){this._modal&&this.modal.close()},K.prototype._canvg=function(){return(0,C.mG)(this,void 0,void 0,function(){var l;return(0,C.Jh)(this,function(t){switch(t.label){case 0:return[4,m.e
1(2265).then(m.bind(m,16584))];case 1:return null!=(l=t.sent()).default?[2,l.default]:[2,l]}})})},Object.defineProperty(K.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"pdfmake",{get:function(){return null==g&&(g=function P(){return(0,C.mG)(this,void 0,void 0,function(){var it,K,l,t;return(0,C.Jh)(this,function(y){switch(y.label){case 0:return[4,Promise.all([m.e(643).then(m.t.bind(m,11387,23)),m.e(643).then(m.bind(m,9677))])];case 1:return it=y.sent(),K=it[0],l=it[1],(t=window).pdfMake=t.pdfMake||{},t.pdfMake.vfs=l.default,K.vfs=l.default,[2,K]}})})}()),g},enumerable:!0,configurable:!0}),K.prototype._xlsx=function(){return(0,C.mG)(this,void 0,void 0,function(){return(0,C.Jh)(this,function(l){switch(l.label){case 0:return[4,m.e(4297).then(m.bind(m,20497))];case 1:return[2,l.sent()]}})})},Object.defineProperty(K.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),K.prototype.setFormatOptions=function(l,t){this._formatOptions.setKey(l,t)},K.prototype.getFormatOptions=function(l){return this._formatOptions.getKey(l)},Object.defineProperty(K.prototype,"formatOptions",{get:function(){return this._formatOptions},enumerable:!0,configurable:!0}),K.prototype._disablePointers=function(){c.hasValue(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},K.prototype._releasePointers=function(){c.hasValue(this._spriteInteractionsEnabled)&&!this._exportRunning&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},K.prototype.hideNonExportableSprites=function(){var l=this;if(!this._objectsAlreadyHidden){var t=this.sprite.svgContainer;t&&b.each(t.nonExportableSprites,function(y){!y.isHidden&&!y.isHiding&&y.visible&&l._hiddenObjects.push(y),y.hide(0)}),this._objectsAlreadyHidden=!0}},K.prototype.restoreNonExportableSprites=function(){this._objectsAlreadyHidden&&(b.each(this._hiddenObjects,function(l){l.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},K.prototype.awaitValidSprites=function(){return(0,C.mG)(this,void 0,void 0,function(){var l;return(0,C.Jh)(this,function(t){switch(t.label){case 0:return l=[],this.validateSprites.length&&b.each(this.validateSprites,function(y,O){y.invalid&&l.push(new Promise(function(S,F){y.events.once("validated",function(V){S()})}))}),l.length?[4,Promise.all(l)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},K.prototype.processConfig=function(l){i.i.registeredClasses.ExportMenu=B.G,l&&(c.hasValue(l.menu)&&!c.hasValue(l.menu.type)&&(l.menu.type="ExportMenu"),c.hasValue(l.dataFields)&&c.isObject(l.dataFields)&&(this.dataFields=l.dataFields,delete l.dataFields)),it.prototype.processConfig.call(this,l)},K.XLINK="http://www.w3.org/1999/xlink",K}(u.c)},94813:(tt,k,m)=>{m.d(k,{G:()=>h});var C=m(19845),B=m(47744),j=m(94131),L=m(5863),A=m(75080),D=new L.Xy,x=m(80383),M=m(23962),_=m(23282),p=m(87037),u=m(86280),s=m(84974),i=m(86234),n=m(43856),f=m(89196),h=function(o){function a(){var c=o.call(this)||this;return c.adapter=new x.L1(c),c.closeDelay=1e3,c.closeOnClick=!0,c._language=new A.cx,c._menuTag="ul",c._itemTag="li",c._labelTag="a",c._iconTag="img",c._classPrefix="amexport",c._defaultStyles=!0,c._align="right",c._verticalAlign="top",c._tabindex=0,c._ignoreNextClose=!1,c._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"}]}],c.className="ExportMenu",c._disposers.push(c._language),c.invalidate(),c.applyTheme(),c}return(0,C.ZT)(a,o),a.prototype.validate=function(){this.draw(),o.prototype.validate.call(this)},a.prototype.draw=function(){var c=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),f.getValue(this._container).appendChild(this._element);for(var d=this.adapter.apply("items",{items:this._items}).items,r=d.length,b=0;b<r;b++)this.drawBranch(this._element,d[b],0);this._element=this.adapter.apply("menuElement",{menuElement:this._element}).menuElement,this._disposers.push((0,_.S)().body.events.on("down",function(v){v.pointer.touch||(c._ignoreNextClose=!1),c.close()})),this._disposers.push((0,_.S)().body.events.on("keydown",function(v){var e=s.d.getEventKey(v.event);switch(e){case"esc":c.close();break;case"up":case"down":case"left":case"right":c._currentSelection&&v.event.preventDefault(),c.moveSelection(e)}})),this.defaultStyles&&this.loadDefaultCSS()},a.prototype.drawBranch=function(c,d,r){var b=this;if(!0!==(d=this.adapter.apply("branch",{branch:d,level:r}).branch).unsupported){d.ascendants||(d.ascendants=new M.aV);var g,v=d.type,e=this.createItemElement(r,v);d.icon?((g=this.createIconElement(r,v)).src=d.icon,(d.label||d.title)&&(g.title=d.title||d.label)):d.svg?(g=this.createSvgElement(r,v,d.svg),(d.label||d.title)&&(g.title=d.title||d.label)):((g=this.createLabelElement(r,v)).innerHTML=d.label?this.language.translate(d.label):"",d.title&&(g.title=d.title));var P=this.getReaderLabel(d,g.innerHTML);g.setAttribute("aria-label",P),e.appendChild(g),d.interactions=(0,_.S)().getInteraction(e),d.element=e,this.typeClickable(v)&&(d.interactions.events.on("hit",function(Y){b.events.isEnabled("hit")&&!b.isDisposed()&&b.events.dispatchImmediately("hit",{type:"hit",event:Y.event,target:b,branch:d})}),d.interactions.events.on("keyup",function(Y){s.d.isKey(Y.event,"enter")&&b.events.isEnabled("enter")&&b.events.dispatchImmediately("enter",{type:"enter",event:Y.event,target:b,branch:d})}));var E=this.getSubMenu(d);null!=E&&(d.interactions.events.on("keyup",function(Y){s.d.isKey(Y.event,"enter")&&(b.selectBranch(E[0]),b.setFocus(E[0]))}),d.interactions.events.on("hit",function(Y){b.selectBranch(d)})),d.interactions.events.on("over",function(Y){Y.pointer.touch&&(b._ignoreNextClose=!0),b.selectBranch(d),b.events.isEnabled("over")&&b.events.dispatchImmediately("over",{type:"over",event:Y.event,target:b,branch:d})}),d.interactions.events.on("out",function(Y){!b.isDisposed()&&(Y.pointer.touch||b.delayUnselectBranch(d),b.events.isEnabled("out"))&&b.events.dispatchImmediately("out",{type:"out",event:Y.event,target:b,branch:d})}),d.interactions.events.on("focus",function(Y){b.selectBranch(d)}),d.interactions.events.on("blur",function(Y){b.delayUnselectBranch(d)});var I=r+1;if(d.menu){var W=this.createMenuElement(I);d.submenuElement=W;for(var R=d.menu.length,Z=0;Z<R;Z++){var $=new M.aV;d.menu[Z].ascendants=$,d.ascendants.length&&$.copyFrom(d.ascendants),$.push(d),this.drawBranch(W,d.menu[Z],I)}if(""==W.innerHTML)return;e.appendChild(W)}d.hidden&&this.hideBranch(d),d.id&&e.setAttribute("id",d.id),d.color&&(e.style.backgroundColor=d.color.hex),c.appendChild(e)}},a.prototype.createMenuElement=function(c){var d=document.createElement(this.menuTag);return d.className=this.getMenuItemClass(c),d.setAttribute("role",0===c?"menubar":"menu"),d},a.prototype.getMenuItemClass=function(c){var d=this.classPrefix+"-menu "+this.classPrefix+"-menu-level-"+c;
1return 0===c&&(d+=" "+this.classPrefix+"-menu-root "+this.classPrefix+"-"+this.align+" "+this.classPrefix+"-"+this.verticalAlign),this.adapter.apply("menuClass",{className:d,level:c}).className},a.prototype.createItemElement=function(c,d){var r=document.createElement(this.itemTag);return r.className=this.adapter.apply("itemClass",{className:this.classPrefix+"-item "+this.classPrefix+"-item-level-"+c+" "+this.classPrefix+"-item-"+(d||"blank"),level:c,type:d}).className,r.setAttribute("role","menuitem"),r.setAttribute("tabindex",this.tabindex.toString()),r},a.prototype.createLabelElement=function(c,d){var r=document.createElement(this.labelTag),b=this.classPrefix+"-label "+this.classPrefix+"-label-level-"+c+" "+this.classPrefix+"-item-"+(d||"blank");return this.typeClickable(d)&&(b+=" "+this.classPrefix+"-clickable"),r.className=this.adapter.apply("labelClass",{className:b,level:c,type:d}).className,r},a.prototype.createIconElement=function(c,d){var r=document.createElement(this.iconTag),b=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+c+" "+this.classPrefix+"-item-"+(d||"blank");return this.typeClickable(d)&&(b+=" "+this.classPrefix+"-clickable"),r.className=this.adapter.apply("labelClass",{className:b,level:c,type:d}).className,r.setAttribute("tabindex",this.tabindex.toString()),r.setAttribute("role","menuitem"),r},a.prototype.createSvgElement=function(c,d,r){var v=(new DOMParser).parseFromString(r,"image/svg+xml").documentElement,e=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+c+" "+this.classPrefix+"-item-"+(d||"blank");return this.typeClickable(d)&&(e+=" "+this.classPrefix+"-clickable"),v.setAttribute("class",this.adapter.apply("labelClass",{className:e,level:c,type:d}).className),v.setAttribute("tabindex",this.tabindex.toString()),v.setAttribute("role","menuitem"),v},a.prototype.dispose=function(){this._disposed||(o.prototype.dispose.call(this),this._element&&this._element.parentNode&&this._element.parentNode.removeChild(this._element))},a.prototype.typeClickable=function(c){return f.hasValue(c)},a.prototype.hasSubMenu=function(c){return!(!c.menu||!c.menu.length)},a.prototype.getSubMenu=function(c){if(c.menu&&c.menu.length)return c.menu},a.prototype.getReaderLabel=function(c,d){return d=i.stripTags(d),0==c.ascendants.length?(d="..."==d?this.language.translate("Export"):d,d+=" ["+this.language.translate("Press ENTER or use arrow keys to navigate")+"]"):this.hasSubMenu(c)?d+=" ["+this.language.translate("Click, tap or press ENTER to open")+"]":"print"==c.type?d=this.language.translate("Click, tap or press ENTER to print."):this.typeClickable(c.type)&&(d=this.language.translate("Click, tap or press ENTER to export as %1.",void 0,d)),this.adapter.apply("rederLabel",{label:d,branch:c}).label},Object.defineProperty(a.prototype,"container",{get:function(){return this._container},set:function(c){this._container=c,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"items",{get:function(){return this._items},set:function(c){this._items=c,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tag",{set:function(c){this._menuTag=c,this._itemTag="ul"==c?"li":"div",this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"menuTag",{get:function(){return this.adapter.apply("menuTag",{tag:this._menuTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"itemTag",{get:function(){return this.adapter.apply("itemTag",{tag:this._itemTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"labelTag",{get:function(){return this.adapter.apply("labelTag",{tag:this._labelTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"iconTag",{get:function(){return this.adapter.apply("iconTag",{tag:this._iconTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"align",{get:function(){return this.adapter.apply("align",{align:this._align}).align},set:function(c){this._align=c,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",{verticalAlign:this._verticalAlign}).verticalAlign},set:function(c){this._verticalAlign=c,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",{classPrefix:this._classPrefix}).classPrefix},set:function(c){this._classPrefix=c,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",{defaultStyles:this._defaultStyles}).defaultStyles},set:function(c){this._defaultStyles!=c&&(this._defaultStyles=c,c&&this.loadDefaultCSS()),this.invalidate()},enumerable:!0,configurable:!0}),a.prototype.loadDefaultCSS=function(){this._disposers.push(function T(o,a){var c=a||"amexport",d=new j.h;return D.insertKeyIfEmpty(c,function(){var b=new A.FV([new B.u0(o,"."+c+"-menu *",{"box-sizing":"border-box"}),new B.u0(o,"."+c+"-menu-level-0",{position:"absolute",top:"5px",right:"5
1px"}),new B.u0(o,"."+c+"-menu-level-0."+c+"-left",{right:"auto",left:"5px"}),new B.u0(o,"."+c+"-menu-level-0."+c+"-right",{right:"5px",left:"auto"}),new B.u0(o,"."+c+"-menu-level-0."+c+"-top",{top:"5px",bottom:"auto"}),new B.u0(o,"."+c+"-menu-level-0."+c+"-bottom",{top:"auto",bottom:"5px"}),new B.u0(o,"."+c+"-item."+c+"-item-level-0",{opacity:"0.3",width:"30px","min-height":"30px",transition:"all 100ms ease-in-out"}),new B.u0(o,"div:hover > div > ."+c+"-menu ."+c+"-item."+c+"-item-level-0, ."+c+"-item."+c+"-item-level-0.active",{opacity:"0.9"}),new B.u0(o,"."+c+"-item."+c+"-item-level-0 > a",{padding:"0","text-align":"center",overflow:"hidden"}),new B.u0(o,"."+c+"-item."+c+"-item-level-0:before",{display:"block"}),new B.u0(o,"."+c+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":d.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:d.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new B.u0(o,"."+c+"-left ."+c+"-item",{margin:"1px 0 0 1px"}),new B.u0(o,"."+c+"-item:hover, ."+c+"-item.active",{background:d.getFor("secondaryButtonHover").hex,color:d.getFor("secondaryButtonText").hex}),new B.u0(o,"."+c+"-item > ."+c+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new B.u0(o,"."+c+"-left ."+c+"-item > ."+c+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new B.u0(o,"."+c+"-right ."+c+"-item > ."+c+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new B.u0(o,"."+c+"-top ."+c+"-item > ."+c+"-menu",{top:"-1px",bottom:"auto"}),new B.u0(o,"."+c+"-bottom ."+c+"-item > ."+c+"-menu",{top:"auto",bottom:"0"}),new B.u0(o,"."+c+"-item > ."+c+"-menu",{display:"none"}),new B.u0(o,"."+c+"-item:hover > ."+c+"-menu, ."+c+"-item.active > ."+c+"-menu",{display:"block"}),new B.u0(o,"."+c+"-item:hover > ."+c+"-menu > ."+c+"-item, ."+c+"-item.active > ."+c+"-menu > ."+c+"-item",{opacity:"1"}),new B.u0(o,"."+c+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new B.u0(o,"."+c+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new B.u0(o,"."+c+"-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 B.u0(o,"."+c+"-item-level-0 > ."+c+"-icon",{padding:"0.1em 0.2em"}),new B.u0(o,"."+c+"-clickable",{cursor:"pointer"})]);return new A.DM(function(){D.removeKey(c),b.dispose()})}).increment()}(B.Ay(this.container),this.classPrefix)),this._element&&(this._element.style.display="")},Object.defineProperty(a.prototype,"tabindex",{get:function(){return this.adapter.apply("tabindex",{tabindex:this._tabindex}).tabindex},set:function(c){this._tabindex=c,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"language",{get:function(){var c=this,d=this._language.get();return null==d&&(d=new p.S,this._language.set(d,d.events.on("localechanged",function(r){c.invalidate()}))),d},set:function(c){var d=this;this._language.set(c,c.events.on("localechanged",function(r){d.invalidate()})),this.invalidate()},enumerable:!0,configurable:!0}),a.prototype.close=function(){var c=this;if(!this.isDisposed()){if(this._ignoreNextClose)return void(this._ignoreNextClose=!1);if(this.closeOnClick&&(this._element.style.pointerEvents="none",setTimeout(function(){c._element.style.pointerEvents="auto"},100)),this._currentSelection&&(this.setBlur(this._currentSelection),this._currentSelection=void 0),this._element)for(var d=this._element.getElementsByClassName("active"),b=d.length-1;b>=0;b--)d[b]&&B.IV(d[b],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},a.prototype.selectBranch=function(c){var d=this;!this.isDisposed()&&(c.closeTimeout&&(this.removeDispose(c.closeTimeout),c.closeTimeout=void 0),B.cn(c.element,"active"),c.submenuElement&&c.submenuElement.setAttribute("aria-expanded","true"),this._currentSelection&&this._currentSelection!==c&&this._currentSelection.ascendants&&n.each(n.concat(n.fromArray([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(b){!c.ascendants.contains(b)&&c!==b&&d.unselectBranch(b,!0)}),n.each(c.ascendants.iterator(),function(b){b.closeTimeout&&(d.removeDispose(b.closeTimeout),b.closeTimeout=void 0),B.cn(b.element,"active")}),this._currentSelection=c,this.events.isEnabled("branchselected"))&&this.events.dispatchImmediately("branchselected",{type:"branchselected",target:this,branch:c})},a.prototype.unselectBranch=function(c,d){!this.isDisposed()&&(B.IV(c.element,"active"),c.submenuElement&&c.submenuElement.removeAttribute("aria-expanded"),this._currentSelection==c&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected"))&&this.events.dispatchImmediately("branchunselected",{type:"branchunselected",target:this,branch:c})},a.prototype.delayUnselectBranch=function(c,d){var r=this;this.isDisposed()||(c.closeTimeout&&(this.removeDispose(c.closeTimeout),c.closeTimeout=void 0),c.closeTimeout=this.setTimeout(function(){r.unselectBranch(c,d)},this.closeDelay),!0!==d&&c.ascendants&&n.each(c.ascendants.iterator(),function(b){r.delayUnselectBranch(b,!0)}))},a.prototype.moveSelection=function(c){if(!this.isDisposed()&&this._currentSelection){var d;if("up"==c)d=this.getPrevSibling(this._currentSelection);else if("down"==c)d=this.getNextSibling(this._currentSelection);else if("left"==c&&"right"==this.align||"right"==c&&"left"==this.align){var r=this.getSubMenu(this._currentSelection);null!=r&&(d=r[0])}else("right"==c&&"right"==this.align||"left"==c&&"left"==this.align)&&(d=this.getParentItem(this._currentSelection));d&&d!==this._currentSelection&&(this.selectBranch(d),this.setFocus(d),this._currentSelection=d)}},a.prototype.getSiblings=function(c){var d=this.getParentItem(c);return d&&d.menu?d.menu:[]},a.prototype.getParentItem=function(c){if(c.ascendants&&c.ascendants.length)return c.ascendants.getIndex(c.ascendants.length-1)},a.prototype.getNextSibling=function(c){var d=this.getSiblings(c);if(d.length>1){var r=d.indexOf(c)+1;return d[r=d.length==r?0:r].unsupported?this.getNextSibling(d[r]):d[r]}return c},a.prototype.getPrevSibling=function(c){var d=this.getSiblings(c);if(d.length>1){var r=d.indexOf(c)-1;return d[r=-1==r?d.length-1:r].unsupported?this.getPrevSibling(d[r]):d[r]}return c},a.prototype.setFocus=function(c){if(c.interactions)try{c.interactions.element.focus()}catch{}},a.prototype.setBlur=function(c){if(c.interactions)try{c.interactions.element.blur()}catch{}},a.prototype.hideBranch=function(c){c.element.style.display="none"},a.prototype.showBranch=function(c){c.element.style.display=""},Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),a}(u.c)},19459:(tt,k,m)=>{m.d(k,{C:()=>_});var C=m(19845),B=m(87037),j=m(84245),L=m(34441),A=m(9450),D=m(59012),T=m(86234),x=m(89196),M=m(80732),_=function(p){function u(){var s=p.call(this)||this;return s._dateFormat="yyyy-MM-dd",s._inputDateFormat="yyyy-MM-dd",s._utc=!1,s.timezoneMinutes=0,s._firstDayOfWeek=1,s.months=["January","February","March","April","May","June","July","August","September","October","November","December"],s.monthsShort=["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],s.weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],s.weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s._outputFormat="svg",s.capitalize=!0,s.className="DateFormatter",s.applyTheme(),s}return(0,C.ZT)(u,p),Object.defineProperty(u.prototype,"language",{get:function(){return this._language},set:function(s){this._language=s,this.dateFormat=this._language.translate("_date")},enumerable:!0,configurable:!0}),u.prototype.format=function(s,i,n){var f,h;if(this.language||(this.language=this.sprite?this.sprite.language:new B.S),(typeof i>"u"||""===i)&&(i=this._dateFormat),h=x.isString(s)?this.parse(s):T.anyToDate(s),x.isObject(i))try{return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,i).format(h):new Intl.DateTimeFormat(void 0,i).format(h)}catch{return"Invalid"}else{i=T.cleanFormat(i);var o=this.parseFormat(i);if(x.hasValue(this.timezoneOffset)?h.setMinutes(h.getMinutes()+h.getTimezoneOffset()-this.timezoneOffset):x.hasValue(this.timezone)&&!1!==n&&(h=M.setTimezone(h,this.timezone)),!x.isNumber(h.getTime()))return this.language.translate("Invalid date");f=this.applyFormat(h,o,this.language),this.capitalize&&(f=f.replace(/^.{1}/,f.substr(0,1).toUpperCase()))}return f},u.prototype.parseFormat=function(s){var i=this.getCache(s);if(x.hasValue(i))return i;for(var n={template:"",parts:[]},f=(0,L.k)().chunk(s,!0),h=0;h<f.length;h++){var o=f[h];if("value"===o.type){o.text.match(/^date$/i)&&x.isString(this._dateFormat)&&(o.text=this._dateFormat);var a=o.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(a)for(var c=0;c<a.length;c++)n.parts.push(a[c]),o.text=o.text.replace(a[c],D.l7)}n.template+=o.text}return this.setCache(s,n),n},u.prototype.applyFormat=function(s,i,n){var h,o,a,c,d,r,b,v,f=i.template,e=s.getTimezoneOffset(),g=s.getTime();this.utc?(h=s.getUTCFullYear(),o=s.getUTCMonth(),a=s.getUTCDay(),c=s.getUTCDate(),d=s.getUTCHours(),r=s.getUTCMinutes(),b=s.getUTCSeconds(),v=s.getUTCMilliseconds()):(h=s.getFullYear(),o=s.getMonth(),a=s.getDay(),c=s.getDate(),d=s.getHours(),r=s.getMinutes(),b=s.getSeconds(),v=s.getMilliseconds());for(var P=0,E=i.parts.length;P<E;P++){var I="";switch(i.parts[P]){case"G":I=n.translate(h<0?"_era_bc":"_era_ad");break;case"yyyy":I=Math.abs(h).toString(),h<0&&(I+=n.translate("_era_bc"));break;case"yyy":case"yy":case"y":I=Math.abs(h).toString().substr(-i.parts[P].length),h<0&&(I+=n.translate("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":var R=h;1==T.getWeek(s)&&a>4&&R--,I="YYYY"==i.parts[P]?Math.abs(R).toString():Math.abs(R).toString().substr(-i.parts[P].length),R<0&&(I+=n.translate("_era_bc"));break;case"u":case"F":case"g":break;case"q":I=""+Math.ceil((s.getMonth()+1)/3);break;case"MMMMM":I=n.translate(this.months[o]).substr(0,1);break;case"MMMM":I=n.translate(this.months[o]);break;case"MMM":I=n.translate(this.monthsShort[o]);break;case"MM":I=T.padString(o+1,2,"0");break;case"M":I=(o+1).toString();break;case"ww":I=T.padString(T.getWeek(s,this.utc),2,"0");break;case"w":I=T.getWeek(s,this.utc).toString();break;case"W":I=T.getMonthWeek(s,this.utc).toString();break;case"dd":I=T.padString(c,2,"0");break;case"d":I=c.toString();break;case"DD":case"DDD":I=T.padString(T.getYearDay(s,this.utc).toString(),i.parts[P].length,"0");break;case"D":I=T.getYearDay(s,this.utc).toString();break;case"t":I=n.translateFunc("_dateOrd").call(this,c);break;case"E":I=(a||7).toString();break;case"EE":I=T.padString((a||7).toString(),2,"0");break;case"EEE":case"eee":I=n.translate(this.weekdaysShort[a]);break;case"EEEE":case"eeee":I=n.translate(this.weekdays[a]);break;case"EEEEE":case"eeeee":I=n.translate(this.weekdays[a]).substr(0,1);break;case"e":case"ee":I=(a-this.firstDayOfWeek+1).toString(),"ee"==i.parts[P]&&(I=T.padString(I,2,"0"));break;case"a":I=n.translate(d>=12?"PM":"AM");break;case"aa":I=n.translate(d>=12?"P.M.":"A.M.");break;case"aaa":I=n.translate(d>=12?"P":"A");break;case"h":I=T.get12Hours(d).toString();break;case"hh":I=T.padString(T.get12Hours(d),2,"0");break;case"H":I=d.toString();break;case"HH":I=T.padString(d,2,"0");break;case"K":I=T.get12Hours(d,0).toString();break;case"KK":I=T.padString(T.get12Hours(d,0),2,"0");break;case"k":I=(d+1).toString();break;case"kk":I=T.padString(d+1,2,"0");break;case"m":I=r.toString();break;case"mm":I=T.padString(r,2,"0");break;case"s":I=b.toString();break;case"ss":I=T.padString(b,2,"0");break;case"S":case"SS":case"SSS":I=Math.round(v/1e3*Math.pow(10,i.parts[P].length)).toString();break;case"x":I=g.toString();break;case"n":case"nn":case"nnn":I=T.padString(v,i.parts[P].length,"0");break;case"z":I=T.getTimeZone(s,!1,!1,this.utc);break;case"zz":I=T.getTimeZone(s,!0,!1,this.utc);break;case"zzz":I=T.getTimeZone(s,!1,!0,this.utc);break;
1case"zzzz":I=T.getTimeZone(s,!0,!0,this.utc);break;case"Z":case"ZZ":var Z=Math.abs(e)/60,$=Math.floor(Z),Y=60*Z-60*$;this.utc&&($=0,Y=0),"Z"==i.parts[P]?(I="GMT",I+=e>0?"-":"+",I+=T.padString($,2)+":"+T.padString(Y,2)):(I=e>0?"-":"+",I+=T.padString($,2)+T.padString(Y,2));break;case"i":I=s.toISOString();break;case"I":I=s.toUTCString()}f=f.replace(D.l7,I)}return f},u.prototype.parse=function(s,i){if(x.hasValue(i)||(i=this.inputDateFormat),s instanceof Date)return s;if("number"==typeof s)return new Date(s);"string"!=typeof s&&(s=s.toString()),this.language||(this.language=this.sprite?this.sprite.language:new B.S);var n,f="";i=(i=T.cleanFormat(i)).substr(0,s.length);for(var h=this.parseFormat(i),o={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},a={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},c=0,d=0,r=0;r<h.parts.length;r++){switch(d=r+c+1,h.parts[r]){case"yyyy":case"YYYY":f+="([0-9]{4})",o.year=d;break;case"yyy":case"YYY":f+="([0-9]{3})",o.year3=d;break;case"yy":case"YY":f+="([0-9]{2})",o.year2=d;break;case"y":case"Y":f+="([0-9]{1})",o.year1=d;break;case"MMMM":f+="("+this.getStringList(this.months).join("|")+")",o.monthLong=d;break;case"MMM":f+="("+this.getStringList(this.monthsShort).join("|")+")",o.monthShort=d;break;case"MM":case"M":f+="([0-9]{2}|[0-9]{1})",o.month=d;break;case"ww":case"w":f+="([0-9]{2}|[0-9]{1})",o.week=d;break;case"dd":case"d":f+="([0-9]{2}|[0-9]{1})",o.day=d;break;case"DDD":case"DD":case"D":f+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.yearDay=d;break;case"dddd":f+="("+this.getStringList(this.weekdays).join("|")+")",o.weekdayLong=d;break;case"ddd":f+="("+this.getStringList(this.weekdaysShort).join("|")+")",o.weekdayShort=d;break;case"aaa":case"aa":case"a":f+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",o.am=d;break;case"hh":case"h":f+="([0-9]{2}|[0-9]{1})",o.hour12Base1=d;break;case"HH":case"H":f+="([0-9]{2}|[0-9]{1})",o.hourBase0=d;break;case"KK":case"K":f+="([0-9]{2}|[0-9]{1})",o.hour12Base0=d;break;case"kk":case"k":f+="([0-9]{2}|[0-9]{1})",o.hourBase1=d;break;case"mm":case"m":f+="([0-9]{2}|[0-9]{1})",o.minute=d;break;case"ss":case"s":f+="([0-9]{2}|[0-9]{1})",o.second=d;break;case"SSS":case"SS":case"S":f+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.millisecond=d,o.millisecondDigits=h.parts[r].length;break;case"nnn":case"nn":case"n":f+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.millisecond=d;break;case"x":f+="([0-9]{1,})",o.timestamp=d;break;case"Z":f+="GMT([-+]+[0-9]{2}:[0-9]{2})",o.zone=d;break;case"ZZ":f+="([\\-+]+[0-9]{2}[0-9]{2})",o.zone=d;break;case"i":f+="([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}|$)",o.iso=d,c+=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":c--}f+="[^0-9]*"}var b=new RegExp(f),v=s.match(b);if(v){if(o.year>-1&&(a.year=parseInt(v[o.year])),o.year3>-1){var e=parseInt(v[o.year3]);a.year=e+=1e3}if(o.year2>-1&&(e=parseInt(v[o.year2]),a.year=e+=e>50?1e3:2e3),o.year1>-1&&(e=parseInt(v[o.year1]),e=10*Math.floor((new Date).getFullYear()/10)+e,a.year=e),o.monthLong>-1&&(a.month=this.resolveMonth(v[o.monthLong])),o.monthShort>-1&&(a.month=this.resolveShortMonth(v[o.monthShort])),o.month>-1&&(a.month=parseInt(v[o.month])-1),o.week>-1&&-1===o.day&&(a.month=0,a.day=T.getDayFromWeek(parseInt(v[o.week]),a.year,1,this.utc)),o.day>-1&&(a.day=parseInt(v[o.day])),o.yearDay>-1&&(a.month=0,a.day=parseInt(v[o.yearDay])),o.hourBase0>-1&&(a.hour=parseInt(v[o.hourBase0])),o.hourBase1>-1&&(a.hour=parseInt(v[o.hourBase1])-1),o.hour12Base0>-1&&(11==(e=parseInt(v[o.hour12Base0]))&&(e=0),o.am>-1&&!this.isAm(v[o.am])&&(e+=12),a.hour=e),o.hour12Base1>-1&&(12==(e=parseInt(v[o.hour12Base1]))&&(e=0),o.am>-1&&!this.isAm(v[o.am])&&(e+=12),a.hour=e),o.minute>-1&&(a.minute=parseInt(v[o.minute])),o.second>-1&&(a.second=parseInt(v[o.second])),o.millisecond>-1&&(e=parseInt(v[o.millisecond]),2==o.millisecondDigits?e*=10:1==o.millisecondDigits&&(e*=100),a.millisecond=e),o.timestamp>-1){a.timestamp=parseInt(v[o.timestamp]);var g=new Date(a.timestamp);a.year=g.getUTCFullYear(),a.month=g.getUTCMonth(),a.day=g.getUTCDate(),a.hour=g.getUTCHours(),a.minute=g.getUTCMinutes(),a.second=g.getUTCSeconds(),a.millisecond=g.getUTCMilliseconds()}o.zone>-1&&(a.offset=this.resolveTimezoneOffset(new Date(a.year,a.month,a.day),v[o.zone])),o.iso>-1&&(a.year=x.toNumber(v[o.iso+0]),a.month=x.toNumber(v[o.iso+1])-1,a.day=x.toNumber(v[o.iso+2]),a.hour=x.toNumber(v[o.iso+3]),a.minute=x.toNumber(v[o.iso+4]),a.second=x.toNumber(v[o.iso+5]),a.millisecond=x.toNumber(v[o.iso+6]),"Z"==v[o.iso+7]||"z"==v[o.iso+7]?a.utc=!0:""!=v[o.iso+7]&&(a.offset=this.resolveTimezoneOffset(new Date(a.year,a.month,a.day),v[o.iso+7]))),n=a.utc?new Date(Date.UTC(a.year,a.month,a.day,a.hour,a.minute,a.second,a.millisecond)):new Date(a.year,a.month,a.day,a.hour,a.minute+a.offset,a.second,a.millisecond)}else n=new Date(s);return n},u.prototype.resolveTimezoneOffset=function(s,i){if(i.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){var f=x.getValue(i.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)),h=f[1],a=f[3],c=60*parseInt(f[2])+parseInt(a);return"+"==h&&(c*=-1),c-(s||new Date).getTimezoneOffset()}return 0},u.prototype.resolveMonth=function(s){var i=this.months.indexOf(s);return i>-1||this.language&&!this.language.isDefault()&&(i=this.language.translateAll(this.months).indexOf(s))>-1?i:0},u.prototype.resolveShortMonth=function(s){var i=this.monthsShort.indexOf(s);return i>-1||(i=this.months.indexOf(s))>-1||this.language&&!this.language.isDefault()&&(i=this.language.translateAll(this.monthsShort).indexOf(s))>-1?i:0},u.prototype.isAm=function(s){return this.getStringList(["AM","A.M.","A"]).indexOf(s.toUpperCase())>-1},u.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},u.prototype.getStringList=function(s){for(var i=[],n=0;n<s.length;n++)i.push(T.escapeForRgex(this.language?this.language.translate(s[n]):s[n]));return i},Object.defineProperty(u.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(s){this._dateFormat=s,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"inputDateFormat",{get:function(){return this._inputDateFormat},set:function(s){this._inputDateFormat=s,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"intlLocales",{get:function(){return this._intlLocales},set:function(s){this._intlLocales=s,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"utc",{get:function(){return this._utc},set:function(s){this._utc=s,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"timezoneOffset",{get:function(){return this._timezoneOffset},set:function(s){this._timezoneOffset!=s&&(this._timezoneOffset=s,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"timezone",{get:function(){return this._timezone},set:function(s){this._timezone!=s&&(this._timezone=s,this.timezoneMinutes=M.getTimezoneMinutes(s),this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"firstDayOfWeek",{get:function(){return this._firstDayOfWeek},set:function(s){this._firstDayOfWeek=s,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(s){this._outputFormat=s.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),u}(j.L);A.i.registeredClasses.DateFormatter=_},97394:(tt,k,m)=>{m.d(k,{$:()=>p});var C=m(19845),B=m(87037),j=m(84245),L=m(34441),A=m(9450),D=m(59012),T=m(50954),x=m(86234),M=m(89196),_=m(90868),p=function(u){function s(){var i=u.call(this)||this;return i._negativeBase=0,i._baseUnit="second",i._outputFormat="svg",i._unitValues={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},i._unitAliases={Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"},i.className="DurationFormatter",i.applyTheme(),i}return(0,C.ZT)(s,u),s.prototype.format=function(i,n,f){this.language||(this.language=this.sprite?this.sprite.language:new B.S);var h=f||this._baseUnit;(typeof n>"u"||""===n)&&(n=M.hasValue(this.durationFormat)?this.durationFormat:this.getFormat(M.toNumber(i),null,h)),n=x.cleanFormat(n);var c,o=this.parseFormat(n,h),a=Number(i),d=this.applyFormat(a,c=a>this._negativeBase?o.positive:a<this._negativeBase?o.negative:o.zero);return""!==c.color&&("svg"===this._outputFormat?d="<tspan fill='"+c.color+"'>"+d+"</tspan>":"html"===this._outputFormat&&(d="<span style='color: "+c.color+";'>"+d+"</span>")),d},s.prototype.parseFormat=function(i,n){var f=this,h=this.getCache(i);if(M.hasValue(h))return h;var o=n||this._baseUnit,a={positive:{color:"",template:"",parts:[],source:"",baseUnit:o,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:o,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:o,parsed:!1,absolute:!1}},c=(i=i.replace("||",D.Cb)).split("|");return a.positive.source=c[0],typeof c[2]>"u"?a.zero=a.positive:a.zero.source=c[2],typeof c[1]>"u"?a.negative=a.positive:a.negative.source=c[1],T.each(a,function(d,r){if(!r.parsed){if(typeof f.getCache(r.source)<"u")return void(a[d]=f.getCache(r.source));var v,b=r.source;(v=r.source.match(/^\[([^\]]*)\]/))&&v.length&&""!==v[0]&&(b=r.source.substr(v[0].length),r.color=v[1]);for(var e=(0,L.k)().chunk(b,!0),g=0;g<e.length;g++){var P=e[g];if(P.text=P.text.replace(D.Cb,"|"),"value"===P.type){P.text.match(/[yYMdDwhHKkmsSn]+a/)&&(r.absolute=!0,P.text=P.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var E=P.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(E)for(var I=0;I<E.length;I++)M.hasValue(E[I])||(E[I]=f._unitAliases[E[I]]),r.parts.push(E[I]),P.text=P.text.replace(E[I],D.l7)}r.template+=P.text}
1f.setCache(r.source,r),r.parsed=!0}}),this.setCache(i,a),a},s.prototype.applyFormat=function(i,n){var f=!n.absolute&&i<this._negativeBase;i=Math.abs(i);for(var h=this.toTimeStamp(i,n.baseUnit),o=n.template,a=0,c=n.parts.length;a<c;a++){var d=n.parts[a],r=this.toTimeUnit(d.substr(0,1)),b=d.length,v=Math.floor(h/this._unitValues[r]);o=o.replace(D.l7,x.padString(v,b,"0")),h-=v*this._unitValues[r]}return f&&(o="-"+o),o},s.prototype.toTimeStamp=function(i,n){return i*this._unitValues[n]},s.prototype.toTimeUnit=function(i){switch(i){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"}},s.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(s.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(i){this._baseUnit=i,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(i){this._outputFormat=i.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),s.prototype.getFormat=function(i,n,f){if(M.hasValue(this.durationFormat))return this.durationFormat;if(f||(f=this.baseUnit),M.hasValue(n)&&i!=n){i=Math.abs(i),n=Math.abs(n);var h=this.getValueUnit(_.max(i,n),f);return this.durationFormats[f][h]}var o=this.getValueUnit(i,f);return this.durationFormats[f][o]},s.prototype.getValueUnit=function(i,n){n||(n=this.baseUnit);var f,h=this.getMilliseconds(i,n);return T.eachContinue(this._unitValues,function(o,a){if(o==n||f){if(h/a<=1)return f||(f=o),!1;f=o}return!0}),f},s.prototype.getMilliseconds=function(i,n){return n||(n=this.baseUnit),i*this._unitValues[n]},Object.defineProperty(s.prototype,"durationFormat",{get:function(){return this._durationFormat},set:function(i){this._durationFormat!=i&&(this._durationFormat=i,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(s.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(i){this._durationFormats=i,this.invalidateSprite()},enumerable:!0,configurable:!0}),s}(j.L);A.i.registeredClasses.DurationFormatter=p},89233:(tt,k,m)=>{m.d(k,{e:()=>p});var C=m(19845),B=m(87037),j=m(84245),L=m(34441),A=m(9450),D=m(59012),T=m(50954),x=m(86234),M=m(89196),_=m(90868),p=function(u){function s(){var i=u.call(this)||this;return i._negativeBase=0,i._numberFormat="#,###.#####",i._outputFormat="svg",i._smallNumberThreshold=1,i._forceLTR=!1,i.className="NumberFormatter",i.applyTheme(),i}return(0,C.ZT)(s,u),s.prototype.dispose=function(){u.prototype.dispose.call(this),this.language&&this.language.dispose()},Object.defineProperty(s.prototype,"language",{get:function(){return this._language||(this._language=this.sprite?this.sprite.language:new B.S),this._language},set:function(i){this._language=i},enumerable:!0,configurable:!0}),s.prototype.format=function(i,n,f){(typeof n>"u"||M.isString(n)&&"number"===n.toLowerCase())&&(n=this._numberFormat);var h,o=Number(i);if(M.isObject(n))try{return this.intlLocales?new Intl.NumberFormat(this.intlLocales,n).format(
1o):new Intl.NumberFormat(void 0,n).format(o)}catch{return"Invalid"}else{n=x.cleanFormat(n);var a=this.parseFormat(n,this.language),c=void 0;c=o>this._negativeBase?a.positive:o<this._negativeBase?a.negative:a.zero,M.hasValue(f)&&!c.mod&&((c=T.clone(c)).decimals.active=0==o?0:f),h=c.template.split(D.l7).join(this.applyFormat(o,c))}return this.forceLTR&&(h="\u200e"+h),h},s.prototype.parseFormat=function(i,n){var f=this,h=this.getCache(i);if(M.hasValue(h))return h;var o={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:n.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:n.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:n.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:n.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:n.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:n.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1}},a=(i=i.replace("||",D.Cb)).split("|");return o.positive.source=a[0],typeof a[2]>"u"?o.zero=o.positive:o.zero.source=a[2],typeof a[1]>"u"?o.negative=o.positive:o.negative.source=a[1],T.each(o,function(c,d){if(!d.parsed){if(typeof f.getCache(d.source)<"u")return void(o[c]=f.getCache(d.source));var r=d.source;"number"===r.toLowerCase()&&(r=M.isString(f._numberFormat)?f._numberFormat:"#,###.#####");for(var b=(0,L.k)().chunk(r,!0),v=0;v<b.length;v++){var e=b[v];if(e.text=e.text.replace(D.Cb,"|"),"value"===e.type){var g=e.text.match(/[#0.,]+[ ]?[abespABESP%!]?[abespABESP\u2030!]?/);if(g)if(null===g||""===g[0])d.template+=e.text;else{var P=g[0].match(/[abespABESP%\u2030!]{2}|[abespABESP%\u2030]{1}$/);P&&(d.mod=P[0].toLowerCase(),d.modSpacing=!!g[0].match(/[ ]{1}[abespABESP%\u2030!]{1}$/));var E=g[0].split(".");if(""!==E[0]){d.thousands.active=(E[0].match(/0/g)||[]).length,d.thousands.passive=(E[0].match(/\#/g)||[]).length+d.thousands.active;var I=E[0].split(",");1===I.length||(d.thousands.interval=M.getValue(I.pop()).length,0===d.thousands.interval&&(d.thousands.interval=-1))}typeof E[1]>"u"||(d.decimals.active=(E[1].match(/0/g)||[]).length,d.decimals.passive=(E[1].match(/\#/g)||[]).length+d.decimals.active),d.template+=e.text.split(g[0]).join(D.l7)}}else d.template+=e.text}f.setCache(d.source,d),d.parsed=!0}}),this.setCache(i,o),o},s.prototype.applyFormat=function(i,n){var f=i<0;i=Math.abs(i);var h="",o="",a=n.mod?n.mod.split(""):[];if(-1!==a.indexOf("b")){var c=this.applyPrefix(i,this.bytePrefixes,-1!==a.indexOf("!"));i=c[0],h=c[1],o=c[2],n.modSpacing&&(o=" "+o)}else if(-1!==a.indexOf("a")){var d=this.applyPrefix(i,i<this.smallNumberThreshold?this.smallNumberPrefixes:this.bigNumberPrefixes,-1!==a.indexOf("!"));i=d[0],h=d[1],o=d[2],n.modSpacing&&(o=" "+o)}else if(-1!==a.indexOf("p")){var r=Math.min(i.toString().length+2,21);i=parseFloat(i.toPrecision(r)),h=this.language.translate("_percentPrefix")||"",o=this.language.translate("_percentSuffix")||"",""==h&&""==o&&(o="%")}else-1!==a.indexOf("%")?(r=_.min(i.toString().length+2,21),i*=100,i=parseFloat(i.toPrecision(r)),o="%"):-1!==a.indexOf("\u2030")&&(r=_.min(i.toString().length+3,21),i*=1e3,i=parseFloat(i.toPrecision(r)),o="\u2030");if(-1!==a.indexOf("e")){var b;b=n.decimals.passive>=0?i.toExponential(n.decimals.passive).split("e"):i.toExponential().split("e"),i=Number(b[0]),o="e"+b[1],n.modSpacing&&(o=" "+o)}else if(0===n.decimals.passive)i=Math.round(i);else if(n.decimals.passive>0){var v=Math.pow(10,n.decimals.passive);i=Math.round(i*v)/v}var e="",g=x.numberToString(i).split("."),P=g[0];if(P.length<n.thousands.active&&(P=Array(n.thousands.active-P.length+1).join("0")+P),n.thousands.interval>0){for(var E=[],I=P.split("").reverse().join(""),W=0,R=P.length;W<=R;W+=n.thousands.interval){var Z=I.substr(W,n.thousands.interval).split("").reverse().join("");""!==Z&&E.unshift(Z)}P=E.join(n.thousands.separator)}e+=P,1===g.length&&g.push("");var $=g[1];return $.length<n.decimals.active&&($+=Array(n.decimals.active-$.length+1).join("0")),""!==$&&(e+=n.decimals.separator+$),""===e&&(e="0"),0!==i&&f&&-1===a.indexOf("s")&&(e="-"+e),h&&(e=h+e),o&&(e+=o),e},s.prototype.applyPrefix=function(i,n,f){void 0===f&&(f=!1);for(var h=i,o="",a="",c=!1,d=1,r=0,b=n.length;r<b;r++)n[r].number<=i&&(0===n[r].number?h=0:(h=i/n[r].number,d=n[r].number),o=n[r].prefix,a=n[r].suffix,c=!0);return!c&&f&&n.length&&0!=i&&(h=i/n[0].number,o=n[0].prefix,a=n[0].suffix,c=!0),c&&(h=parseFloat(h.toPrecision(_.min(d.toString().length+Math.floor(h).toString().replace(/[^0-9]*/g,"").length,21)))),[h,o,a]},s.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invali
1date()},Object.defineProperty(s.prototype,"numberFormat",{get:function(){return this._numberFormat},set:function(i){this._numberFormat=i},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"intlLocales",{get:function(){return this._intlLocales},set:function(i){this._intlLocales=i,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"negativeBase",{get:function(){return this._negativeBase},set:function(i){this._negativeBase=i},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"bigNumberPrefixes",{get:function(){return M.hasValue(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(i){this._bigNumberPrefixes=i},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"smallNumberPrefixes",{get:function(){return M.hasValue(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(i){this._smallNumberPrefixes=i},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"smallNumberThreshold",{get:function(){return this._smallNumberThreshold},set:function(i){this._smallNumberThreshold=i},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"bytePrefixes",{get:function(){return M.hasValue(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:1073741824,suffix:this.language.translate("_byte_suffix_GB")},{number:1099511627776,suffix:this.language.translate("_byte_suffix_TB")},{number:0x4000000000000,suffix:this.language.translate("_byte_suffix_PB")}]),this._bytePrefixes},set:function(i){this._bytePrefixes=i},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(i){this._outputFormat=i.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"forceLTR",{get:function(){return this._forceLTR},set:function(i){this._forceLTR=i,this.invalidateSprite()},enumerable:!0,configurable:!0}),s.prototype.escape=function(i){return i.replace("||",D.Cb)},s.prototype.unescape=function(i){return i.replace(D.Cb,"|")},s}(j.L);A.i.registeredClasses.NumberFormatter=p},34441:(tt,k,m)=>{m.d(k,{V:()=>x,k:()=>_});var M,C=m(19845),B=m(84245),j=m(119),L=m(80383),A=m(9450),D=m(59012),T=m(89196),x=function(p){function u(){var s=p.call(this)||this;return s.adapter=new L.L1(s),s.className="TextFormatter",s.applyTheme(),s}return(0,C.ZT)(u,p),u.prototype.debug=function(){},u.prototype.format=function(s,i){T.hasValue(i)||(i="svg");var n="",f=(s=this.escape(s)).match(/\[([^\]]*?)\]/gm);if(!f)return this.wrap(s,"",i);for(var h=s.split(/\[[^\[\]]*\]/),o=0,a=h.length;o<a;o++){var c=h[o];if(""!==c){c=this.adapter.apply("chunk",c);var d="";o>0&&(d=f[o-1].replace("[","").replace("]","")),n+=this.wrap(c,d,i)}}return n=this.unescape(n),this.cleanUp(n)},u.prototype.escape=function(s){return s.replace(/\[\[/g,A.i.getPlaceholder("1")).replace(/([^\/\]]{1})\]\]/g,"$1"+A.i.getPlaceholder("2")).replace(/\]\]/g,A.i.getPlaceholder("2")).replace(/\{\{/g,A.i.getPlaceholder("3")).replace(/\}\}/g,A.i.getPlaceholder("4")).replace(/\'\'/g,A.i.getPlaceholder("5"))},u.prototype.unescape=function(s){return s.replace(new RegExp(A.i.getPlaceholder("1"),"g"),"[[").replace(new RegExp(A.i.getPlaceholder("2"),"g"),"]]").replace(new RegExp(A.i.getPlaceholder("3"),"g"),"{{").replace(new RegExp(A.i.getPlaceholder("4"),"g"),"}}").replace(new RegExp(A.i.getPlaceholder("5"),"g"),"''")},u.prototype.cleanUp=function(s){return s.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},u.prototype.wrap=function(s,i,n){return"html"===((""===i||"/"===i)&&(i=""),n)?this.wrapHtml(s,this.translateStyleShortcuts(i)):this.wrapSvg(s,this.translateStyleShortcuts(i))},u.prototype.wrapSvg=function(s,i){return""===i?"<tspan>"+s+"</tspan>":"<tspan style='"+i+"'>"+s+"</tspan>"},u.prototype.getSvgElement=function(s,i){var n=new j._("tspan");return n.textContent=s,i&&n.node.setAttribute("style",i),n},u.prototype.wrapHtml=function(s,i){return""===i?"<span>"+s+"</span>":"<span style='"+this.styleSvgToHtml(i)+"'>"+s+"</span>"},u.prototype.getHtmlElement=function(s,i){var n=document.createElement("span");return n.innerHTML=s,i&&n.setAttribute("style",i),n},u.prototype.styleSvgToHtml=function(s){return s.replace(/fill:/,"color:")},u.prototype.translateStyleShortcuts=function(s){if(""==s||"[ ]"==s)return"";var i=A.i.getCache("translateStyleShortcuts_"+s);if(i)return i;var n=s.match(/('[^']*')|("[^"]*")/gi);if(n)for(var f=0;f<n.length;f++)s=s.replace(n[f],n[f].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));var h=s.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w]+)|(\/)/gi);if(!h)return s;for(f=0;f<h.length;f++)h[f]=h[f].match(/^bold$/i)?"font-weight:"+h[f]:"/"==h[f]?"":h[f].match(/:/)?h[f].replace(/\+/g," "):"fill:"+h[f];var o=h.join(";");return A.i.setCache("translateStyleShortcuts_"+s,o),o},u.prototype.chunk=function(s,i,n){void 0===i&&(i=!1),void 0===n&&(n=!1);var f=[];s=this.escape(s);for(var h=i?s.split("'"):[s],o=0;o<h.length;o++){var a=h[o];if(""!==a)if(o%2==0)for(var c=(a=(a=a.replace(/\]\[/g,"]"+D.l7+"[")).replace(/\[\]/g,"[ ]")).split(/[\[\]]+/),d=0;d<c.length;d++)(r=this.cleanUp(this.unescape(c[d])))!==D.l7&&""!==r&&f.push(d%2==0?{type:"value",text:this.adapter.apply("chunk",r)}:{type:n?"value":"format",text:"["+r+"]"});else for(c=a.split(/[\[\]]+/),d=0;d<c.length;d++){var r;""!==(r=this.cleanUp(this.unescape(c[d])))&&(d%2==0?f.push({type:"text",text:r}):this.isImage(r)?f.push({type:"image",text:"["+r+"]"}):f.push({type:"format",text:"["+r+"]"}))}}return f},u.prototype.isImage=function(s){return!!s.match(/img[ ]?:/)},u}(B.L);function _(){return null==M&&(M=new x),M}A.i.registeredClasses.TextFormatter=x},85174:(tt,k,m)=>{m.d(k,{r:()=>D});var C=m(19845),B=m(84245),j=m(23282),L=m(11920),A=m(89196),D=function(T){function x(M,_,p,u){var s=T.call(this)||this;return s.animations=[],s.className="Inertia",s.interaction=M,s.type=_,s.point=p,s.startPoint=u,s._disposers.push(new L.w3(s.animations)),s}return(0,C.ZT)(x,T),Object.defineProperty(x.prototype,"x",{get:function(){return this.point.x}
1,set:function(M){A.isNumber(M)&&(this.point.x=M,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"y",{get:function(){return this.point.y},set:function(M){A.isNumber(M)&&(this.point.y=M,this.handleMove())},enumerable:!0,configurable:!0}),x.prototype.handleMove=function(){this.interaction.events.isEnabled("drag")&&this.interaction.events.dispatchImmediately("drag",{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})},x.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&(0,j.S)().processDragStop(this.interaction),this.dispose()},x}(B.L)},23282:(tt,k,m)=>{m.d(k,{S:()=>r,U:()=>c});var C=m(19845),B=m(84245),j=m(23962),L=m(11920),A=m(75080),D=m(29039),T=m(55499),x=m(5863),M=m(85174),_=m(47744),p=m(84974),u=m(22964),s=m(15241),i=m(71834),n=m(90868),f=m(17478),h=m(43856),o=m(89196),a=m(80732),c=function(b){function v(){var e=b.call(this)||this;return e._globalEventsAdded=!1,e._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},e._usePointerEventsOnly=!1,e._useTouchEventsOnly=!1,e._addHoverEvents=!0,e._passiveSupported=!1,e._delayedEvents={out:[]},e.overObjects=new j.aV,e.downObjects=new j.aV,e.trackedObjects=new j.aV,e.transformedObjects=new j.aV,e.pointers=new x.Xy,e.inertiaOptions=new x.Xy,e.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},e.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},e.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},e.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},e.mouseOptions={sensitivity:1},e.className="Interaction",e.body=e.getInteraction(document.body),e._disposers.push(e.body),window.hasOwnProperty("PointerEvent")?(e._pointerEvents.pointerdown="pointerdown",e._pointerEvents.pointerup="pointerup",e._pointerEvents.pointermove="pointermove",e._pointerEvents.pointercancel="pointercancel",e._pointerEvents.pointerover="pointerover",e._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")?(e._pointerEvents.pointerdown="MSPointerDown",e._pointerEvents.pointerup="MSPointerUp",e._pointerEvents.pointermove="MSPointerMove",e._pointerEvents.pointercancel="MSPointerUp",e._pointerEvents.pointerover="MSPointerOver",e._pointerEvents.pointerout="MSPointerOut"):typeof matchMedia<"u"&&matchMedia("(pointer:fine)").matches?"ontouchstart"in window&&(e._addHoverEvents=!1,e._useTouchEventsOnly=!0):window.navigator.userAgent.match(/MSIE /)||e.fullFF()?e._usePointerEventsOnly=!0:e._useTouchEventsOnly=!0,"onwheel"in document.createElement("div")?e._pointerEvents.wheel="wheel":o.hasValue(document.onmousewheel)&&(e._pointerEvents.wheel="mousewheel"),e.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:i.polyOut3}),e.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:i.polyOut3}),e._passiveSupported=v.passiveSupported,e.applyTheme(),e}return(0,C.ZT)(v,b),v.prototype.fullFF=function(){return window.navigator.userAgent.match(/Firefox/)&&!window.navigator.userAgent.match(/Android/)},v.prototype.debug=function(){},v.prototype.addGlobalEvents=function(){var e=this;this._globalEventsAdded||(this._useTouchEventsOnly||(this._disposers.push((0,_.Oo)(document,this._pointerEvents.pointerdown,function(g){e.handleGlobalPointerDown(g)})),this._disposers.push((0,_.Oo)(document,this._pointerEvents.pointermove,function(g){e.handleGlobalPointerMove(g)})),this._disposers.push((0,_.Oo)(document,this._pointerEvents.pointerup,function(g){e.handleGlobalPointerUp(g)})),this._disposers.push((0,_.Oo)(document,this._pointerEvents.pointercancel,function(g){e.handleGlobalPointerUp(g,!0)})),this._disposers.push((0,_.Oo)(document,"mouseenter",function(g){!o.hasValue(g.relatedTarget)&&(0==g.buttons||0==g.which)&&e.handleDocumentLeave(g)}))),this._usePointerEventsOnly||(this._disposers.push((0,_.Oo)(document,"touchstart",function(g){e.handleGlobalTouchStart(g)})),this._disposers.push((0,_.Oo)(document,"touchmove",function(g){e.handleGlobalTouchMove(g)})),this._disposers.push((0,_.Oo)(document,"touchend",function(g){e.handleGlobalTouchEnd(g)}))),this._disposers.push((0,_.Oo)(document,"keydown",function(g){e.handleGlobalKeyDown(g)})),this._disposers.push((0,_.Oo)(document,"keyup",function(g){e.handleGlobalKeyUp(g)})),this._globalEventsAdded=!0)},v.prototype.processClickable=function(e){this.processTouchable(e)},v.prototype.processContextMenu=function(e){e.contextMenuDisabled?e.eventDisposers.hasKey("contextMenuDisabled")||e.eventDisposers.setKey("contextMenuDisabled",(0,_.Oo)(e.element,"contextmenu",function(g){g.preventDefault()})):e.eventDisposers.hasKey("contextMenuDisabled")&&e.eventDisposers.getKey("contextMenuDisabled").dispose()},v.prototype.processHoverable=function(e){var g=this;if(e.hoverable||e.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(e),!e.eventDisposers.hasKey("hoverable")&&this._addHover
1Events&&e.eventDisposers.setKey("hoverable",new A.FV([(0,_.Oo)(e.element,this._pointerEvents.pointerout,function(E){return g.handlePointerOut(e,E)}),(0,_.Oo)(e.element,this._pointerEvents.pointerover,function(E){return g.handlePointerOver(e,E)})]));else{var P=e.eventDisposers.getKey("hoverable");null!=P&&(P.dispose(),e.eventDisposers.removeKey("hoverable"))}this.processTouchable(e)},v.prototype.processMovable=function(e){(e.draggable||e.swipeable||e.trackable||e.resizable)&&(!this.isGlobalElement(e)&&!e.isTouchProtected&&this.prepElement(e),this.applyCursorOverStyle(e)),this.processTouchable(e)},v.prototype.processTrackable=function(e){this.processHoverable(e),this.processMovable(e),e.trackable?this.trackedObjects.moveValue(e):this.trackedObjects.removeValue(e)},v.prototype.processDraggable=function(e){this.processMovable(e)},v.prototype.processSwipeable=function(e){this.processMovable(e)},v.prototype.processResizable=function(e){this.processMovable(e)},v.prototype.processWheelable=function(e){var g=this;if(e.wheelable)e.eventDisposers.hasKey("wheelable")||e.eventDisposers.setKey("wheelable",new A.FV([(0,_.Oo)(e.element,this._pointerEvents.wheel,function(E){return g.handleMouseWheel(e,E)},!!this._passiveSupported&&{passive:!1}),e.events.on("out",function(E){e.wheelable&&g.unlockWheel()}),e.events.on("over",function(E){e.wheelable&&g.lockWheel()})]));else{var P=e.eventDisposers.getKey("wheelable");null!=P&&(P.dispose(),e.eventDisposers.removeKey("wheelable"))}},v.prototype.processFocusable=function(e){var g=this;if(!0===e.focusable&&e.tabindex>-1&&!this._useTouchEventsOnly)e.eventDisposers.hasKey("focusable")||e.eventDisposers.setKey("focusable",new A.FV([(0,_.Oo)(e.element,"focus",function(E){return g.handleFocus(e,E)}),(0,_.Oo)(e.element,"blur",function(E){return g.handleBlur(e,E)}),(0,_.Oo)(e.element,this._pointerEvents.pointerdown,function(E){return g.handleFocusBlur(e,E)}),(0,_.Oo)(e.element,"touchstart",function(E){return g.handleFocusBlur(e,E)},!!this._passiveSupported&&{passive:!1})]));else{var P=e.eventDisposers.getKey("focusable");null!=P&&(P.dispose(),e.eventDisposers.removeKey("focusable"))}},v.prototype.processTouchable=function(e){var g=this;if(e.clickable||e.hoverable||e.trackable||e.draggable||e.swipeable||e.resizable)this.addGlobalEvents(),e.eventDisposers.hasKey("touchable")||(this._useTouchEventsOnly||this._usePointerEventsOnly?this._useTouchEventsOnly?this._usePointerEventsOnly||e.eventDisposers.setKey("touchable",(0,_.Oo)(e.element,"touchstart",function(E){return g.handleTouchDown(e,E)},!!this._passiveSupported&&{passive:!1})):e.eventDisposers.setKey("touchable",(0,_.Oo)(e.element,this._pointerEvents.pointerdown,function(E){return g.handlePointerDown(e,E)})):e.eventDisposers.setKey("touchable",new A.FV([(0,_.Oo)(e.element,this._pointerEvents.pointerdown,function(E){return g.handlePointerDown(e,E)}),(0,_.Oo)(e.element,"touchstart",function(E){return g.handleTouchDown(e,E)},!!this._passiveSupported&&{passive:!1})])));else{var P=e.eventDisposers.getKey("touchable");null!=P&&(P.dispose(),e.eventDisposers.removeKey("touchable"))}},v.prototype.handleFocus=function(e,g){e.focusable?(e.isFocused=!0,e.events.isEnabled("focus")&&!u.B.isPaused&&e.events.dispatchImmediately("focus",{type:"focus",target:e,event:g})):g.preventDefault()},v.prototype.handleFocusBlur=function(e,g){!1!==e.focusable&&this.getHitOption(e,"noFocus")&&e.events.once("focus",function(){e.events.disableType("blur"),_.yv(),e.sprite&&e.sprite.handleBlur(),e.events.enableType("blur")})},v.prototype.handleBlur=function(e,g){e.focusable?(e.isFocused=!1,e.events.isEnabled("blur")&&!u.B.isPaused&&e.events.dispatchImmediately("blur",{type:"blur",target:e,event:g})):g.preventDefault()},v.prototype.handleGlobalKeyDown=function(e){if(this.focusedObject)if(p.d.isKey(e,"esc"))_.yv();else if(this.focusedObject.draggable&&p.d.isKey(e,["up","down","left","right"])){e.preventDefault();var g=this.focusedObject,P="interactionKeyboardObject";if(g.eventDisposers.hasKey(P))return;var E=new T.J(g,e);switch(g.eventDisposers.setKey(P,E),p.d.getEventKey(e)){case"up":E.directionY=-1;break;case"down":E.directionY=1;break;case"left":E.directionX=-1;break;case"right":E.directionX=1}}},v.prototype.handleGlobalKeyUp=function(e){var g="interactionKeyboardObject";if(this.focusedObject){var P=this.focusedObject.eventDisposers.getKey(g);null!=P&&(e.preventDefault(),P.dispose(),this.focusedObject.eventDisposers.removeKey(g));
1var E=this.focusedObject.sprite;p.d.isKey(e,"enter")&&E&&(E.events.isEnabled("hit")||E.events.isEnabled("toggled")?this.focusedObject.dispatchImmediately("hit"):"hit"==E.showTooltipOn&&this.focusedObject.dispatchImmediately("up"))}},v.prototype.handleGlobalPointerMove=function(e){var g=this.getPointer(e);g.point=this.getPointerPoint(e),this.events.isEnabled("track")&&!u.B.isPaused&&this.events.dispatchImmediately("track",{type:"track",target:this,event:e,pointer:g,touch:g.touch}),this.addBreadCrumb(g,g.point),this.handleGlobalMove(g,e)},v.prototype.handleGlobalPointerDown=function(e){this.processDelayed();var g=this.getPointer(e);this.events.isEnabled("down")&&!u.B.isPaused&&this.events.dispatchImmediately("down",{type:"down",target:this,event:e,pointer:g,touch:g.touch})},v.prototype.preventTouchAction=function(e){e.defaultPrevented||e.preventDefault()},v.prototype.handleGlobalPointerUp=function(e,g){void 0===g&&(g=!1);var P=this.getPointer(e);this.events.isEnabled("up")&&!u.B.isPaused&&this.events.dispatchImmediately("up",{type:"up",target:this,event:e,pointer:P,touch:P.touch}),this.handleGlobalUp(P,e,g)},v.prototype.handleGlobalTouchMove=function(e){for(var g=0;g<e.changedTouches.length;g++){var P=this.getPointer(e.changedTouches[g]);P.point=this.getPointerPoint(e.changedTouches[g]),this.events.isEnabled("track")&&!u.B.isPaused&&this.events.dispatchImmediately("track",{type:"track",target:this,event:e,pointer:P,touch:P.touch}),this.addBreadCrumb(P,P.point),this.handleGlobalMove(P,e)}},v.prototype.handleGlobalTouchStart=function(e){this.processDelayed();for(var g=0;g<e.changedTouches.length;g++){var P=this.getPointer(e.changedTouches[g]);this._usePointerEventsOnly||!this.events.isEnabled("down")||u.B.isPaused||this.events.dispatchImmediately("down",{type:"down",target:this,event:e,pointer:P,touch:P.touch})}},v.prototype.handleGlobalTouchEnd=function(e){for(var g=0;g<e.changedTouches.length;g++){var P=this.getPointer(e.changedTouches[g]);this.events.isEnabled("up")&&!u.B.isPaused&&this.events.dispatchImmediately("up",{type:"up",target:this,event:e,pointer:P,touch:P.touch}),this.handleGlobalUp(P,e)}},v.prototype.handlePointerDown=function(e,g){var P=this.getPointer(g);!P.touch&&1!=g.which&&3!=g.which||(P.button=g.which,this.resetPointer(P,g),this.handleDown(e,P,g))},v.prototype.handlePointerOver=function(e,g){var P=this.getPointer(g);this.handleOver(e,P,g)},v.prototype.handlePointerOut=function(e,g){var P=this.getPointer(g);this.handleOut(e,P,g)},v.prototype.handleMouseWheel=function(e,g){var P=this.getPointer(g);P.point=this.getPointerPoint(g);var E,I,W=1;if(1==g.deltaMode&&(W=50),W*=this.getMouseOption(e,"sensitivity"),!(g instanceof WheelEvent))throw new Error("Invalid event type");E=Math.round(-1*g.wheelDeltaX||g.deltaX*W),I=Math.round(-1*g.wheelDeltaY||g.deltaY*W),this.handleWheel(e,P,E,I,g)},v.prototype.handleTouchDown=function(e,g){for(var P=0;P<g.changedTouches.length;P++){var E=this.getPointer(g.changedTouches[P]);this.maybePreventDefault(e,g,E),this.resetPointer(E,g.changedTouches[P]),this.handleDown(e,E,g)}},v.prototype.handleHit=function(e,g,P){var E=a.getTime();if(e.lastHit&&e.lastHit>=E-this.getHitOption(e,"doubleHitTime")){if(E-e.lastHit<100)return;e.lastHit=void 0,e.lastHitPointer=void 0,e.events.isEnabled("doublehit")&&!u.B.isPaused&&e.events.dispatchImmediately("doublehit",{type:"doublehit",target:e,point:g.point,event:P,touch:g.touch})}else e.lastHit=E,e.lastHitPointer=g,3===g.button?e.events.isEnabled("rightclick")&&!u.B.isPaused&&e.events.dispatchImmediately("rightclick",{type:"rightclick",target:e,event:P}):e.events.isEnabled("hit")&&!u.B.isPaused&&e.events.dispatchImmediately("hit",{type:"hit",target:e,event:P,point:g.point,touch:g.touch})},v.prototype.handleOver=function(e,g,P,E){if(void 0===E&&(E=!1),e.hoverable){var I=!1;this.shouldCancelHovers(g)&&this.areTransformed()&&this.moved(g,this.getHitOption(e,"hitTolerance"))&&(I=!0,this.cancelAllHovers(P)),this.processDelayed(),e.overPointers.moveValue(g),e.isRealHover||(I||(e.isHover=!0,e.isRealHover=!0,this.overObjects.moveValue(e)),this.handleTrack(this.body,g,P,!0),!e.events.isEnabled("over")||u.B.isPaused||I)||e.events.dispatchImmediately("over",{type:"over",target:e,event:P,pointer:g,touch:g.touch})}},v.prototype.handleOut=function(e,g,P,E,I){var W=this;if(void 0===E&&(E=!1),void 0===I&&(I=!1),e.hoverable&&(e.overPointers.removeValue(g),e.isHover&&(!e.hasDelayedOut||I))){if(E&&e.overPointers.length)return;if(g&&g.touch&&!I&&!this.old(g)){var R=this.getHoverOption(e,"touchOutBehavior");if("leave"==R)return this._delayedEvents.out.push({type:"out",io:e,pointer:g,event:P,keepUntil:a.getTime()+500}),void(e.hasDelayedOut=!0);if("delay"==R&&this.getHoverOption(e,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:e,pointer:g,event:P,keepUntil:a.getTime()+500,timeout:this.setTimeout(function(){W.handleOut(e,g,P,!0)},this.getHoverOption(e,"touchOutDelay"))})}e.isHover=!1,this.overObjects.removeValue(e),e.isDisposed()||!e.events.isEnabled("out")||u.B.isPaused||e.events.dispatchImmediately("out",{type:"out",target:e,event:P,pointer:g,touch:g.touch}),e.overPointers.clear(),e.hasDelayedOut=!1}},v.prototype.processDelayed=function(){for(var e;e=this._delayedEvents.out.pop();)e.timeout&&e.timeout.dispose(),this.handleOut(e.io,e.pointer,e.event,!1,!0)},v.prototype.handleDown=function(e,g,P){this.maybePreventDefault(e,P,g),e.inert&&this.stopInertia(e),this.handleOver(e,g,P,!0),e.downPointers.moveValue(g),this.applyCursorDownStyle(e,g),e.isDown||(!1!==e.focusable&&this.getHitOption(e,"noFocus")&&this.focusedObject&&_.yv(),e.isDown=!0,this.downObjects.moveValue(e),e.draggable&&this.processDragStart(e,g,P),e.resizable&&this.processResizeStart(e,g,P)),e.events.isEnabled("down")&&!u.B.isPaused&&e.events.dispatchImmediately("down",{type:"down",target:e,event:P,pointer:g,touch:g.touch})},v.prototype.handleGlobalUp=function(e,g,P){var E=this;void 0===P&&(P=!1);var I=this.downObjects.values.slice();I.sort(function(W,R){if(W&&R){var Z=W.element.compareDocumentPosition(R.element);return Z&Node.DOCUMENT_POSITION_CONTAINED_BY?1:Z&Node.DOCUMENT_POSITION_CONTAINS?-1:0}return 0}),f.each(I,function(W){W&&W.downPointers.contains(e)&&E.handleUp(W,e,g,P)})},v.prototype.handleDocumentLeave=function(e){var g=this;h.each(this.downObjects.backwards().iterator(),function(P){P.downPointers.each(function(E){g.handleUp(P,E,e)})})},v.prototype.handleUp=function(e,g,P,E){void 0===E&&(E=!1),this.restoreCursorDownStyle(e,g),e.downPointers.removeValue(g),(g&&g.touch||this._useTouchEventsOnly)&&this.handleOut(e,g,P,!0),e.isDown&&(0==e.downPointers.length&&(e.isDown=!1,this.downObjects.removeValue(e)),e.events.isEnabled("up")&&!u.B.isPaused&&g&&e.events.dispatchImmediately("up",{type:"up",target:e,event:P,pointer:g,touch:g.touch}),E||(e.swipeable&&this.swiped(e,g)?this.handleSwipe(e,g,P):(e.clickable&&!this.moved(g,this.getHitOption(e,"hitTolerance"))&&this.handleHit(e,g,P),e.inert&&this.moved(g,this.getHitOption(e,"hitTolerance"))?this.handleInertia(e,g):e.draggable&&this.processDragStop(e,g,P),e.resizable&&this.processResizeStop(e,g,P))))},v.prototype.maybePreventDefault=function(e,g,P){o.hasValue(g)&&(e.draggable||e.swipeable||e.trackable||e.resizable)&&!this.isGlobalElement(e)&&!1!==g.cancelable&&(!e.isTouchProtected||!P||!P.touch)&&g.preventDefault()},v.prototype.cancelAllHovers=function(e){var g=this;h.each(this.overObjects.backwards().iterator(),function(P){if(P){var E=P.overPointers.getIndex(0);g.handleOut(P,E,e,!0,!0)}})},v.prototype.shouldCancelHovers=function(e){return"always"==s.Y.disableHoverOnTransform||"touch"==s.Y.disableHoverOnTransform&&e.touch},v.prototype.handleGlobalMove=function(e,g){var P=this;if(!e.touch){var E=_.kM(e.lastEvent);h.each(this.overObjects.backwards().iterator(),function(I){if(I&&I.overPointers.contains(e)&&I.hoverable){var W=!1;I.element&&e.lastEvent&&_.r3(I.element,E)||(W=!0),W&&P.handleOut(I,e,g,!0)}})}h.each(this.transformedObjects.backwards().iterator(),function(I){I.downPointers.contains(e)&&(!I.swipeable||!P.swiping(I,e))&&(I.draggable||I.resizable)&&P.handleTransform(I,g)}),h.each(this.trackedObjects.backwards().iterator(),function(I){I.overPointers.contains(e)||P.handleTrack(I,e,g)})},v.prototype.handleTrack=function(e,g,P,E){void 0===E&&(E=!1),(E||this.moved(g,0))&&e.events.isEnabled("track")&&!u.B.isPaused&&e.events.dispatchImmediately("track",{type:"track",target:e,event:P,point:g.point,pointer:g,touch:g.touch})},v.prototype.handleSwipe=function(e,g,P){e.events.isEnabled("swipe")&&!u.B.isPaused&&e.events.dispatchImmediately("swipe",{type:"swipe",target:e,event:P,touch:g.touch}),g.startPoint.x<g.point.x?e.events.isEnabled("swiperight")&&!u.B.isPaused&&e.events.dispatchImmediately("swiperight",{type:"swiperight",target:e,event:P,touch:g.touch}):e.events.isEnabled("swipeleft")&&!u.B.isPaused&&e.events.dispatchImmediately("swipeleft",{type:"swipeleft",target:e,event:P,touch:g.touch})},v.prototype.handleWheel=function(e,g,P,E,I){var W={x:P,y:E};e.events.isEnabled("wheel")&&!u.B.isPaused&&e.events.dispatchImmediately("wheel",{type:"wheel",target:e,event:I,point:g.point,shift:W}),P<0?e.events.isEnabled("wheelleft")&&!u.B.isPaused&&e.events.dispatchImmediately("wheelleft",{type:"wheelleft",target:e,event:I,point:g.point,shift:W}):P>0?e.events.isEnabled("swiperight")&&!u.B.isPaused&&e.events.dispatchImmediately("wheelright",{type:"wheelright",target:e,event:I,point:g.point,shift:W}):E<0?e.events.isEnabled("wheelup")&&!u.B.isPaused&&e.events.dispatchImmediately("wheelup",{type:"wheelup",target:e,event:I,point:g.point,shift:W}):E>0&&e.events.isEnabled("wheeldown")&&!u.B.isPaused&&e.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:e,event:I,point:g.point,shift:W})},v.prototype.handleInertia=function(e,g){e.draggable&&0===e.downPointers.length&&this.handleMoveInertia(e,g),e.resizable&&e.downPointers.length>1&&this.handleResizeInertia(e,g)},v.prototype.handleMoveInertia=function(e,g){var R=new M.r(e,"move",{x:g.point.x,y:g.point.y},{x:g.startPoint.x,y:g.startPoint.y}),Z=this.getTrailPoint(g,a.getTime()-this.getInertiaOption(e,"move","time"));if(typeof Z>"u")this.processDragStop(e,g,g.lastUpEvent);else{var $=this.getInertiaOption(e,"move","factor"),q=new L.fw(R,[{to:g.point.x+(g.point.x-Z.point.x)*$,property:"x"},{to:g.point.y+(g.point.y-Z.point.y)*$,property:"y"}],this.getInertiaOption(e,"move","duration"),this.getInertiaOption(e,"move","easing")).start();this._disposers.push(q.events.on("animationended",function(it){R.done()})),e.inertias.setKey("move",R)}},v.prototype.handleResizeInertia=function(e,g){},v.prototype.handleTransform=function(e,g){var W,R,Z,P=e.downPointers.getIndex(0),E=null,I=null;P&&(E=P.point,I=P.startPoint),Z=R={x:e.originalPosition.x,y:e.originalPosition.y};for(var $=!0,Y=1;Y<e.downPointers.length;Y++){var q=e.downPointers.getIndex(Y);if(I.x!=q.startPoint.x&&I.y!=q.startPoint.y){$=!1,R=(W=q).point,Z=W.startPoint;break}}var it=P&&this.moved(P,0);if(e.draggable&&P&&P.dragStartEvents&&P.dragStartEvents.length&&it&&e.events.isEnabled("dragstart")&&!u.B.isPaused&&e.events.dispatchImmediately("dragstart",P.dragStartEvents.shift()),$&&e.draggable)this.handleTransformMove(e,E,I,g,it,P.touch),this.shouldCancelHovers(P)&&this.moved(P,this.getHitOption(e,"hitTolerance"))&&this.cancelAllHovers(g);else{var K=W&&this.moved(W,0);(this.shouldCancelHovers(P)&&this.moved(P,this.getHitOption(e,"hitTolerance"))||this.shouldCancelHovers(W)&&this.moved(W,this.getHitOption(e,"hitTolerance")))&&this.cancelAllHovers(g),e.draggable&&e.resizable?(this.handleTransformMove(e,E,I,g,it&&K,P.touch),this.handleTransformResize(e,E,I,R,Z,g,it&&K,P.touch)):(e.draggable&&this.handleTransformMove(e,E,I,g,it,P.touch),e.resizable&&(!$||g.ctrlKey)&&this.handleTransformResize(e,E,I,R,Z,g,it&&K,P.touch))}},v.prototype.handleTransformMove=function(e,g,P,E,I,W){!I||!e.events.isEnabled("drag")||u.B.isPaused||e.isTouchProtected&&W||e.events.dispatchImmediately("drag",{type:"drag",target:e,event:E,shift:{x:g.x-P.x,y:g.y-P.y},startPoint:P,point:g,touch:W})},v.prototype.handleTransformResize=function(e,g,P,E,I,W,R,Z){if(e.events.isEnabled("resize")&&!u.B.isPaused&&(!e.isTouchProtected||!Z)){var $={type:"resize",target:e,event:W,scale:n.getScale(g,P,E,I),startPoint1:P,point1:g,startPoint2:I,point2:E,touch:Z};e.events.dispatchImmediately("resize",$)}},v.prototype.processDragStart=function(e,g,P){this.transformedObjects.moveValue(e),this.shouldCancelHovers(g)&&this.cancelAllHovers(P);var E={type:"dragstart",target:e,event:P,touch:!!g&&g.touch};g&&(g.dragTarget=e),g&&g.dragStartEvents?g.dragStartEvents.push(E):u.B.isPaused||e.dispatchImmediately("dragstart",E)},v.prototype.processDragStop=function(e,g,P){g||(g=this.getDragPointer(e)),g&&(g.dragTarget=void 0),this.transformedObjects.removeValue(e),g&&!this.moved(g,0)||!e.events.isEnabled("dragstop")||u.B.isPaused||e.events.dispatchImmediately("dragstop",{type:"dragstop",target:e,touch:!!g&&g.touch})},v.prototype.processResizeStart=function(e,g,P){this.transformedObjects.moveValue(e)},v.prototype.processResizeStop=function(e,g,P){this.transformedObjects.removeValue(e)},v.prototype.dragStart=function(e,g){g||(g=this.getDragPointer(e)),g&&this.handleDown(e,g,g.lastDownEvent)},v.prototype.dragStop=function(e,g,P){g||(g=this.getDragPointer(e)),g&&!P&&this.handleGlobalUp(g,g.lastUpEvent,P)},v.prototype.getDragPointer=function(e){return e?e.downPointers.getIndex(0):this.transformedObjects.length?this.getDragPointer(this.transformedObjects.getIndex(0)):void 0},v.prototype.getPointerId=function(e){return(o.hasValue(e.identifier)?""+e.identifier:o.hasValue(e.pointerId)?""+e.pointerId:"m").replace("-","")},v.prototype.getPointerPoint=function(e){return{x:e.clientX,y:e.clientY}},v.prototype.getPointer=function(e){var E,g=this.getPointerId(e),P=this.getPointerPoint(e);return this.pointers.hasKey(g)?(E=this.pointers.getKey(g)).touch=this.isPointerTouch(e):(E={id:g,touch:this.isPointerTouch(e),startPoint:P,startTime:a.getTime(),point:P,track:[],swipeCanceled:!1,dragStartEvents:[]},this.addBreadCrumb(E,P),this.pointers.setKey(g,E)),E.lastEvent=e,this.lastPointer=E,E},v.prototype.isPointerTouch=function(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;
1if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&o.hasValue(e.pointerType))switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(o.hasValue(e.type)&&e.type.match(/^mouse/))return!1;return!0},v.prototype.resetPointer=function(e,g){var P=this.getPointerPoint(g);e.startTime=a.getTime(),e.startPoint={x:P.x,y:P.y},e.point={x:P.x,y:P.y},e.track=[],e.swipeCanceled=!1},v.prototype.addBreadCrumb=function(e,g){e.track.push({timestamp:a.getTime(),point:g})},v.prototype.lockDocument=function(){this.prepElement(this.body)},v.prototype.unlockDocument=function(){0==this.transformedObjects.length&&this.restoreAllStyles(this.body)},v.prototype.lockElement=function(e){this.prepElement(e)},v.prototype.unlockElement=function(e){this.restoreAllStyles(e)},v.prototype.lockWheel=function(){window.addEventListener(this._pointerEvents.wheel,this.wheelLockEvent,!!this._passiveSupported&&{passive:!1})},v.prototype.unlockWheel=function(){window.removeEventListener(this._pointerEvents.wheel,this.wheelLockEvent)},v.prototype.isLocalElement=function(e,g,P){var E=this.getCache("local_pointer_"+e.id);if(o.hasValue(E))return E;var I=_.yj(g)||document;if(I.elementFromPoint){var W=I.elementFromPoint(e.point.x,e.point.y),R=W&&_.r3(g,W);return this.setCache("local_pointer_"+e.id+"_"+P,R,100),R}return!1},v.prototype.wheelLockEvent=function(e){return e.preventDefault(),!1},v.prototype.prepElement=function(e){var g=e.element;if(g){for(var P=["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"],E=0;E<P.length;E++)P[E]in g.style&&this.setTemporaryStyle(e,P[E],"none");this.setTemporaryStyle(e,"tapHighlightColor","rgba(0, 0, 0, 0)")}},v.prototype.unprepElement=function(e){var g=e.element;if(g){for(var P=["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"],E=0;E<P.length;E++)P[E]in g.style&&this.restoreStyle(e,P[E]);this.restoreStyle(e,"tapHighlightColor")}},v.prototype.getHitOption=function(e,g){var P=e.hitOptions[g];return typeof P>"u"&&(P=this.hitOptions[g]),P},v.prototype.getHoverOption=function(e,g){var P=e.hoverOptions[g];return typeof P>"u"&&(P=this.hoverOptions[g]),P},v.prototype.getSwipeOption=function(e,g){var P=e.swipeOptions[g];return typeof P>"u"&&(P=this.swipeOptions[g]),P},v.prototype.getKeyboardOption=function(e,g){var P=e.keyboardOptions[g];return typeof P>"u"&&(P=this.keyboardOptions[g]),P},v.prototype.getMouseOption=function(e,g){var P=e.mouseOptions[g];return typeof P>"u"&&(P=this.mouseOptions[g]),P},v.prototype.getInertiaOption=function(e,g,P){var E=e.inertiaOptions.getKey(g);return E&&o.hasValue(E[P])?E[P]:this.inertiaOptions.getKey(g)[P]},v.prototype.stopInertia=function(e){for(var g,P=["move","resize"],E=0;E<P.length;E++)if(e.inertias.hasKey(g=P[E])){var I=e.inertias.getKey(g);if(I){I.dispose();continue}}},v.prototype.swiping=function(e,g){var P=a.getTime();return!(g.swipeCanceled||!e.swipeable)&&Math.abs(g.startPoint.y-g.point.y)<this.getSwipeOption(e,"verticalThreshold")&&g.startTime>P-this.getSwipeOption(e,"time")},v.prototype.swiped=function(e,g){var P=a.getTime();return!g.swipeCanceled&&Math.abs(g.startPoint.x-g.point.x)>this.getSwipeOption(e,"horizontalThreshold")&&Math.abs(g.startPoint.y-g.point.y)<this.getSwipeOption(e,"verticalThreshold")&&g.startTime>P-this.getSwipeOption(e,"time")},v.prototype.applyCursorOverStyle=function(e){var g=e.cursorOptions;if(o.hasValue(g.overStyle))for(var P=0;P<g.overStyle.length;P++)_.A_(e.element,g.overStyle[P].property,g.overStyle[P].value)},v.prototype.applyCursorDownStyle=function(e,g){if(!g||!g.touch){var P=e.cursorOptions.downStyle;if(e.downPointers.contains(g)&&o.hasValue(P))for(var E=0;E<P.length;E++)this.setTemporaryStyle(this.body,P[E].property,P[E].value),this.setTemporaryStyle(e,P[E].property,P[E].value)}},v.prototype.restoreCursorDownStyle=function(e,g){if(!g||!g.touch){var P=e.cursorOptions.downStyle;if(e.downPointers.contains(g)&&o.hasValue(P))for(var E=0;E<P.length;E++)this.restoreStyle(this.body,P[E].property),this.restoreStyle(e,P[E].property)}},v.prototype.setGlobalStyle=function(e){for(var g=r().body,P=o.isArray(e)?e:[e],E=0;E<P.length;E++)this.setTemporaryStyle(g,P[E].property,P[E].value)},v.prototype.restoreGlobalStyle=function(e){for(var g=r().body,P=o.isArray(e)?e:[e],E=0;E<P.length;E++)this.restoreStyle(g,P[E].property)},v.prototype.isGlobalElement=function(e){return document.body===e.element},v.prototype.moved=function(e,g,P){void 0===P&&(P=300);var E=this.getShift(e);return Math.abs(E.x)>g||Math.abs(E.y)>g},v.prototype.old=function(e,g){return void 0===g&&(g=300),a.getTime()-e.startTime>g},v.prototype.getShift=function(e){return{x:e.startPoint.x-e.point.x,y:e.startPoint.y-e.point.y}},v.prototype.getTrailPoint=function(e,g){for(var P,E=0;
1E<e.track.length;E++)if(e.track[E].timestamp>=g){P=e.track[E];break}return P},v.prototype.pointerExists=function(e,g){var P=!1;return e.each(function(E){E!=g&&(P=E.point.x==g.point.x&&E.point.y==g.point.y)}),P},v.prototype.getInteraction=function(e){return new D.E(e)},v.prototype.setTemporaryStyle=function(e,g,P){var E=e.element;o.hasValue(E.style[g])&&!e.replacedStyles.hasKey(g)&&e.replacedStyles.setKey(g,E.style[g]),_.A_(E,g,P)},v.prototype.restoreStyle=function(e,g){e.replacedStyles.hasKey(g)?(e.element.style[g]=e.replacedStyles.getKey(g),e.replacedStyles.removeKey(g)):delete e.element.style[g]},v.prototype.restoreAllStyles=function(e){h.each(e.replacedStyles.iterator(),function(g){var P=g[0];e.element.style[P]=g[1],e.replacedStyles.removeKey(P)})},v.prototype.dispose=function(){this.isDisposed()||(b.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},v.prototype.log=function(e,g,P){if(g.changedTouches)for(var I=0;I<g.changedTouches.length;I++)this.logTouch(e,g.type,g.changedTouches[I]);else{var W="";if(g.pointerType)switch(g.pointerType){case 2:W="touch";break;case 4:W="mouse";break;default:W=g.pointerType}else W=typeof TouchEvent<"u"&&g instanceof TouchEvent?"touch":g.type.match(/^mouse/)?"mouse":"???";var R;R=o.hasValue(g.identifier)?g.identifier:o.hasValue(g.pointerId)?g.pointerId:"???",console.log(P?e+" ("+P.uid+") "+g.type+" "+W+" "+R:e+" "+g.type+" "+W+" "+R)}},v.prototype.areTransformed=function(e){var g=this.transformedObjects.length;if(e)for(var P=o.isArray(e)?e:[e],E=0;E<P.length;E++)this.transformedObjects.contains(P[E])&&g--;return g>0},v.prototype.logTouch=function(e,g,P){console.log(e+" "+g+" touch "+P.identifier)},Object.defineProperty(v,"passiveSupported",{get:function(){var e=this;if(null==this._passiveSupported)try{var g=Object.defineProperty({},"passive",{get:function(){e._passiveSupported=!0}
1});window.addEventListener("test",g,g),window.removeEventListener("test",g,g)}catch{this._passiveSupported=!1}return this._passiveSupported},enumerable:!0,configurable:!0}),v}(B.y),d=null;function r(){return null==d&&(d=new c),d}},55499:(tt,k,m)=>{m.d(k,{J:()=>L});var C=m(23282),B=m(22964),j=m(17478),L=function(){function A(D,T){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=D,this.keyboardEvent=T,this._startedOn=(new Date).getTime(),(0,C.S)().processDragStart(D),B.B.animations.push(this),this.update()}return A.prototype.update=function(){var D=this.interaction,T=(0,C.S)().getKeyboardOption(D,"speed"),x=(0,C.S)().getKeyboardOption(D,"accelleration"),M=(0,C.S)().getKeyboardOption(D,"accellerationDelay"),_={x:0,y:0};this.keyboardEvent.shiftKey?(T*=.5,x=1):this.keyboardEvent.ctrlKey&&(T*=2);var p=(new Date).getTime()-this._startedOn,u=p-M;if(x>0&&u>0){var s=p/M;p=M,_.x+=this.directionX*(T*x*s*u),_.y+=this.directionY*(T*x*s*u)}_.x+=this.directionX*(T*p),_.y+=this.directionY*(T*p),(0,C.S)().handleTransformMove(D,_,{x:0,y:0},this.keyboardEvent,!0,!1)},A.prototype.isDisposed=function(){return this._disposed},A.prototype.dispose=function(){this._disposed||((0,C.S)().processDragStop(this.interaction),j.remove(B.B.animations,this))},A}()},29039:(tt,k,m)=>{m.d(k,{E:()=>x});var C=m(19845),B=m(8057),j=m(84245),L=m(23962),A=m(5863),D=m(23282),T=m(89196),x=function(M){function _(p){var u=M.call(this)||this;return u._eventDispatcher=new B.A(u),u.eventDisposers=new A.Xy,u.replacedStyles=new A.Xy,u._clickable=!1,u._contextMenuDisabled=!1,u._hoverable=!1,u._trackable=!1,u._draggable=!1,u._swipeable=!1,u._resizable=!1,u._wheelable=!1,u._inert=!1,u._isHover=!1,u.isRealHover=!1,u._isHoverByTouch=!1,u._isDown=!1,u._isFocused=!1,u._isTouchProtected=!1,u._inertiaOptions=new A.Xy,u.inertias=new A.Xy,u._hitOptions={},u._hoverOptions={},u._swipeOptions={},u._keyboardOptions={},u._mouseOptions={},u._cursorOptions={defaultStyle:[{property:"cursor",value:"default"}]},u._disposers.push(u._eventDispatcher),u._element=p,u.className="InteractionObject",u._disposers.push(new A.a7(u.inertias)),u._disposers.push(new A.a7(u.eventDisposers)),u.applyTheme(),u}return(0,C.ZT)(_,M),Object.defineProperty(_.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"isHover",{get:function(){return this._isHover},set:function(p){this.isHover!=p&&(this._isHover=p,p?(0,D.S)().overObjects.moveValue(this):(this.isRealHover=!1,(0,D.S)().overObjects.removeValue(this)))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"isHoverByTouch",{get:function(){return this._isHoverByTouch},set:function(p){this.isHoverByTouch!=p&&(this._isHoverByTouch=p)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"overPointers",{get:function(){return this._overPointers||(this._overPointers=new L.aV),this._overPointers},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"isDown",{get:function(){return this._isDown},set:function(p){this.isDown!=p&&(this._isDown=p,p?(0,D.S)().downObjects.moveValue(this):(0,D.S)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new L.aV),this._downPointers},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"isFocused",{get:function(){return this._isFocused},set:function(p){this.isFocused!=p&&(this._isFocused=p,(0,D.S)().focusedObject=p?this:void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"isTouchProtected",{get:function(){return this._isTouchProtected},set:function(p){this._isTouchProtected!=p&&(this._isTouchProtected=p,p?(0,D.S)().unprepElement(this):(this.draggable||this.swipeable||this.trackable||this.resizable)&&(0,D.S)().prepElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"clickable",{get:function(){return this._clickable},set:function(p){this._clickable!==p&&(this._clickable=p,(0,D.S)().processClickable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"contextMenuDisabled",{get:function(){return this._contextMenuDisabled},set:function(p){this._contextMenuDisabled!==p&&(this._contextMenuDisabled=p,(0,D.S)().processContextMenu(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"hoverable",{get:function(){return this._hoverable},set:function(p){this._hoverable!==p&&(this._hoverable=p,(0,D.S)().processHoverable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"trackable",{get:function(){return this._trackable},set:function(p){this._trackable!==p&&(this._trackable=p,(0,D.S)().processTrackable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"draggable",{get:function(){return this._draggable},set:function(p){this._draggable!==p&&(this._draggable=p,(0,D.S)().processDraggable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"swipeable",{get:function(){return this._swipeable},set:function(p){this._swipeable!==p&&(this._swipeable=p,(0,D.S)().processSwipeable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"resizable",{get:function(){return this._resizable},set:function(p){this._resizable!==p&&(this._resizable=p,(0,D.S)().processResizable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"wheelable",{get:function(){return this._wheelable},set:function(p){this._wheelable!==p&&(this._wheelable=p,(0,D.S)().processWheelable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"inert",{get:function(){return this._inert},set:function(p){this._inert!==p&&(this._inert=p)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"focusable",{get:function(){return this._focusable},set:function(p){this._focusable!==p&&(this._focusable=p,this._focusable&&-1==this.tabindex&&(this._tabindex=1),(0,D.S)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"tabindex",{get:function(){return T.getValueDefault(this._tabindex,-1)}
1,set:function(p){this._tabindex!==p&&(this._tabindex=p,p>-1&&(this.focusable=!0),(0,D.S)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"element",{get:function(){return this._element},set:function(p){this._element=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(p){this._originalPosition=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"originalScale",{get:function(){return T.getValueDefault(this._originalScale,1)},set:function(p){this._originalScale!==p&&(this._originalScale=p)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"originalAngle",{get:function(){return T.getValueDefault(this._originalAngle,0)},set:function(p){this._originalAngle!==p&&(this._originalAngle=p)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"inertiaOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions},set:function(p){this._inertiaOptions=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"hitOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hitOptions",this._hitOptions):this._hitOptions},set:function(p){this._hitOptions=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"hoverOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hoverOptions",this._hoverOptions):this._hoverOptions},set:function(p){this._hoverOptions=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"swipeOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("swipeOptions",this._swipeOptions):this._swipeOptions},set:function(p){this._swipeOptions=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"keyboardOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("keyboardOptions",this._keyboardOptions):this._keyboardOptions},set:function(p){this._keyboardOptions=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"mouseOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("mouseOptions",this._mouseOptions):this._mouseOptions},set:function(p){this._mouseOptions=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"cursorOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("cursorOptions",this._cursorOptions):this._cursorOptions},set:function(p){this._cursorOptions=p},enumerable:!0,configurable:!0}),_.prototype.copyFrom=function(p){M.prototype.copyFrom.call(this,p),this.inertiaOptions=p.inertiaOptions,this.hitOptions=p.hitOptions,this.hoverOptions=p.hoverOptions,this.swipeOptions=p.swipeOptions,this.keyboardOptions=p.keyboardOptions,this.cursorOptions=p.cursorOptions,this.contextMenuDisabled=p.contextMenuDisabled,(0,D.S)().applyCursorOverStyle(this)},_.prototype.setEventDisposer=function(p,u,s){var i=this.eventDisposers.getKey(p);u?null==i&&this.eventDisposers.setKey(p,s()):null!=i&&(i.dispose(),this.eventDisposers.removeKey(p))},_.prototype.dispose=function(){M.prototype.dispose.call(this);var p=(0,D.S)();p.overObjects.removeValue(this),p.downObjects.removeValue(this),p.trackedObjects.removeValue(this),p.transformedObjects.removeValue(this),this.isHover&&this.wheelable&&p.unlockWheel(),p.focusedObject===this&&(p.focusedObject=void 0)},_}(j.y)},8057:(tt,k,m)=>{m.d(k,{A:()=>L});var C=m(19845),B=m(63351),j=m(75080),L=function(A){function D(){var T=null!==A&&A.apply(this,arguments)||this;return T._domEvents={},T}return(0,C.ZT)(D,A),D.prototype._addDOMEvent=function(T,x,M,_){var p=this;if(!this._domEvents[T]){var u=function(s){M.call(_,x,s)};this.target.element.addEventListener(T,u,!1),this._domEvents[T]=new j.DM(function(){delete p._domEvents[T],p.target.element.removeEventListener(T,u,!1)})}return this._domEvents[T].increment()},D.prototype._dispatchKeyboardEvent=function(T,x){this.target.events.isEnabled(T)&&this.target.events.dispatchImmediately(T,{type:T,target:this.target,event:x})}
1,D.prototype._on=function(T,x,M,_,p,u){var s=A.prototype._on.call(this,T,x,M,_,p,u),i=[s.disposer];switch(x){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":i.push(this._addDOMEvent(x,x,this._dispatchKeyboardEvent,this))}return s.disposer=new j.FV(i),s},D}(B.r)},9976:(tt,k,m)=>{m.d(k,{c:()=>C});var C=function(){function B(){}return B.grab=[{property:"cursor",value:"move"},{property:"cursor",value:"grab"},{property:"cursor",value:"-webkit-grab"}],B.grabbing=[{property:"cursor",value:"move"},{property:"cursor",value:"grabbing"},{property:"cursor",value:"-webkit-grabbing"}],B.pointer=[{property:"cursor",value:"pointer"}],B.default=[{property:"cursor",value:"default"}],B.horizontalResize=[{property:"cursor",value:"ew-resize"}],B.verticalResize=[{property:"cursor",value:"ns-resize"}],B.notAllowed=[{property:"cursor",value:"not-allowed"}],B.text=[{property:"cursor",value:"text"}],B}()},119:(tt,k,m)=>{m.d(k,{_:()=>L});var C=m(47744),B=m(50954),j=m(89196),L=function(){function A(D){this._isDisposed=!1,this._x=0,this._y=0,this._rotationY=0,this._rotationX=0,this._rotation=0,this._scale=1,this.node="string"==typeof D?document.createElementNS(C.qu,D):D}return A.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(A.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),A.prototype.transform=function(){var D="translate("+this._x+","+this._y+")";if(1!=this._scale&&(D+=(D?" ":"")+"scale("+this._scale+")"),0!=this._rotation){var T="rotate("+this._rotation+")";this._rotationX&&this._rotationY&&(T="rotate("+this._rotation+" "+this._rotationX+" "+this._rotationY+")"),D+=(D?" ":"")+T}this._transformString=D,this.node.setAttribute("transform",D)},A.prototype.getBBox=function(){var D={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var T=this.node.getBBox();D.x=T.x,D.y=T.y,D.width=T.width,D.height=T.height}catch{}return D},A.prototype.moveTo=function(D){if(D){var T=D.x,x=D.y;(this._x!=T||this._y!=x)&&(this._x=T,this._y=x,this.transform())}},Object.defineProperty(A.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(D){this.node.innerHTML=D},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(D){this.node.textContent=D},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"x",{get:function(){return this._x},set:function(D){this._x!=D&&(this._x=D,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"y",{get:function(){return this._y},set:function(D){this._y!=D&&(this._y=D,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"rotation",{get:function(){return this._rotation},set:function(D){this._rotation!=D&&(this._rotation=D,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"rotationX",{get:function(){return this._rotationX},set:function(D){this._rotationX!=D&&(this._rotationX=D,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"rotationY",{get:function(){return this._rotationY},set:function(D){this._rotationY!=D&&(this._rotationY=D,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"scale",{get:function(){return this._scale},set:function(D){this._scale!=D&&(this._scale=D,this.transform())},enumerable:!0,configurable:!0}),A.prototype.removeAttr=function(D){this.node.removeAttribute(D)},A.prototype.attr=function(D){var T=this;return B.each(D,function(x,M){j.hasValue(M)?T.node.setAttribute(x,M):T.node.removeAttribute(x)}),this},A.prototype.getAttr=function(D){return this.node.getAttribute(D)},A.prototype.attrNS=function(D,T,x){return this.node.setAttributeNS(D,T,x),this},A.prototype.getAttrNS=function(D,T){return this.node.getAttributeNS(D,T)},A.prototype.removeStyle=function(D){this.node.style[D]=null,delete this.node.style[D]},A.prototype.getStyle=function(D){return this.node.style[D]},A.prototype.addStyle=function(D){var T=this;return B.each(D,function(x,M){j.hasValue(M)?T.node.style[x]=M:T.removeStyle(x
1)}),this},A.prototype.addClass=function(D){C.cn(this.node,D)},A.prototype.removeClass=function(D){C.IV(this.node,D)},A.prototype.setClass=function(D){this.node.setAttribute("class",D)},A.prototype.removeChildNodes=function(){for(;this.node.childNodes.length>0;)this.node.removeChild(this.node.firstChild)},A.prototype.isDisposed=function(){return this._isDisposed},A.prototype.dispose=function(){this.removeNode()},A}()},52794:(tt,k,m)=>{m.d(k,{Z:()=>j});var C=m(19845),j=function(L){function A(D){return L.call(this,D)||this}return(0,C.ZT)(A,L),A.prototype.add=function(D){D&&this.node.appendChild(D.node)},A.prototype.addToBack=function(D){if(D){var T=this.node.childNodes[0];T?T!=D.node&&this.node.insertBefore(D.node,T):this.node.appendChild(D.node)}},A.prototype.removeElement=function(D){if(D)try{D.node&&D.node.parentNode==this.node&&this.node.removeChild(D.node)}catch{}},A.prototype.hasChild=function(D){for(var T=0;T<this.node.childNodes.length;T++)if(this.node.childNodes[T]==D.node)return!0;return!1},Object.defineProperty(A.prototype,"content",{get:function(){return this.node.innerHTML},set:function(D){this.node.innerHTML=D},enumerable:!0,configurable:!0}),A.prototype.removeChildren=function(){if(this.node.childNodes)for(;this.node.childNodes.length>0;){var D=this.node.firstChild;D&&D.parentNode&&D.parentNode.removeChild(D)}},A.prototype.removeChildrenByTag=function(D){if(this.node.childNodes)for(var T=this.node.getElementsByTagName(D),x=0;x<T.length;x++)this.node.removeChild(T[x])},A}(m(119)._)},67050:(tt,k,m)=>{m.d(k,{V:()=>T,X:()=>A});var C=m(119),B=m(52794),j=m(50457),L=m(47744),A=function(){function x(M,_){this.container=M,this.id=_;var p=document.createElementNS(L.qu,"svg");p.setAttribute("version","1.1"),p.setAttributeNS(L.rv,"xmlns",L.qu),p.setAttributeNS(L.rv,"xmlns:xlink",L.Xz),p.setAttribute("role","group"),this.container.appendChild(p),this.defs=document.createElementNS(L.qu,"defs"),p.appendChild(this.defs),p.style.width="100%",p.style.height="100%",p.style.overflow="visible",this.svg=p}return x.prototype.add=function(M){return new C._(M)},x.prototype.addGroup=function(M){return new B.Z(M)},x.prototype.append=function(M){M&&this.svg.appendChild(M.node)},x.prototype.appendDef=function(M){M&&this.defs.appendChild(M.node)},x.prototype.foreignObject=function(){return new C._("foreignObject")},x.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},x}(),D=null;function T(){if(null===D){var x=document.createElement("div");x.hidden=!0,x.style.width="1px",x.style.height="1px",x.style.position="absolute",x.style.zIndex="-1000000",document.body.appendChild(x);var M=new j.g(x,!0);D=new A(M.SVGContainer,"ghost")}return D}},70181:(tt,k,m)=>{m.r(k),m.d(k,{arc:()=>u,arcTo:()=>p,arcToPoint:()=>s,closePath:()=>_,cubicCurveTo:()=>M,lineTo:()=>T,moveTo:()=>D,pathToPoints:()=>f,pointsToPath:()=>o,polyline:()=>A,quadraticCurveTo:()=>x,rectToPath:()=>n,rectangle:()=>i,spiralPoints:()=>h});var C=m(90868),B=m(89196),j=m(67050),L=m(15241);function A(a){var c=T(a[0]),d={x:0,y:0},r=L.Y.minPolylineStep;B.isNumber(r)||(r=.5);for(var b=0,v=a.length;b<v;b++){var e=a[b];C.getDistance(e,d)>r&&(c+=T(e),d=e)}return c}function D(a){return" M"+C.round(a.x,4)+","+C.round(a.y,4)+" "}function T(a){return" L"+C.round(a.x,4)+","+C.round(a.y,4)+" "}function x(a,c){return" Q"+C.round(c.x,4)+","+C.round(c.y,4)+" "+C.round(a.x,4)+","+C.round(a.y,4)}function M(a,c,d){return" C"+C.round(c.x,4)+","+C.round(c.y,4)+" "+C.round(d.x,4)+","+C.round(d.y,4)+" "+C.round(a.x,4)+","+C.round(a.y,4)}function _(){return" Z"}function p(a,c,d,r){if(0==c)return"";B.isNumber(r)||(r=d);var b="",v=",",e=Math.ceil(Math.abs(c)/180),g=1;c<0&&(g=0);var P=0,E=0,I=-C.cos(a)*d,W=-C.sin(a)*r;if(c<.5&&d>3e3)return T({x:Z=C.round(C.cos(R=a+c)*d,4),y:$=C.round(C.sin(R)*r,4)});for(var Y=0;Y<e;Y++){var R,Z,$;b+=" a"+d+v+r+v+0+v+0+v+g+v+(Z=C.round(C.cos(R=a+c/e*(Y+1))*d+I-P,4))+v+($=C.round(C.sin(R)*r+W-E,4)),P=Z,E=$}return b}function u(a,c,d,r,b,v,e){if(0==c||(B.isNumber(r)||(r=0),0==d&&r<=0))return"";
1if(d<r){var g=d;d=r,r=g,B.isNumber(b)&&(b=b/r*d)}360==(c=C.min(c,360))&&(v=0,e=0);var P=a+c,E=C.sin(C.min(c,45)/2),I=(b=B.isNumber(b)?b:d)/d*r,W=b/d*(v=v||0),R=b/d*(e=B.isNumber(e)?e:v);v=C.fitToRange(v,0,(d-r)/2),W=C.fitToRange(W,0,(b-I)/2),e=C.fitToRange(e,0,(d-r)/2),R=C.fitToRange(R,0,(b-I)/2),v=C.round(C.fitToRange(v,0,d*E),4),W=C.round(C.fitToRange(W,0,b*E),4),e=C.round(C.fitToRange(e,0,r*E),4),R=C.round(C.fitToRange(R,0,I*E),4);var Z=Math.asin(v/d/2)*C.DEGREES*2,$=Math.asin(W/b/2)*C.DEGREES*2;r<e&&(r=e),I<R&&(I=R);var Y=Math.asin(e/r/2)*C.DEGREES*2,q=Math.asin(R/I/2)*C.DEGREES*2;B.isNumber(Y)||(Y=0),B.isNumber(q)||(q=0);var it=a+c/2,K={x:C.round(C.cos(it)*r,4),y:C.sin(it)*I},l={x:C.cos(a)*(r+e),y:C.sin(a)*(I+R)},t={x:C.cos(a)*(d-v),y:C.sin(a)*(b-W)},y={x:C.cos(P)*(d-v),y:C.sin(P)*(b-W)},O={x:C.cos(P)*(r+e),y:C.sin(P)*(I+R)},S={x:C.cos(a+Z)*d,y:C.sin(a+$)*b},F={x:C.cos(P-Y)*r,y:C.sin(P-q)*I};e+=e*C.sin(Y/2),R+=R*C.sin(q/2),Y>(P-a)/2&&(F=K);var V="";return 360==c?V=D(t):(V=D(l),V+=T(t),V+=s(S,v,W,!0)),V+=p(a+Z,c-2*Z,d,b),B.isNumber(r)&&0!=r?(360==c&&0==v?V+=D(O):(V+=s(y,v,W,!0),V+=T(O),V+=s(F,e,R,!0)),V+=p(P-Y,-(c-2*Y),r,I),(c<360||v>0)&&(V+=s(l,e,R,!0)),V+=T(l)):(V+=s(y,v,W,!0),c<360&&(V+=T(l))),V}function s(a,c,d,r,b,v){if(0==c)return"";var e=",";return" A"+c+e+d+e+(v=v||0)+e+ +(b=Boolean(b))+e+ +(r=Boolean(r))+e+C.round(a.x,4)+e+C.round(a.y,4)}function i(a,c,d,r){return B.isNumber(d)||(d=0),B.isNumber(r)||(r=0),D({x:d,y:r})+T({x:d+a,y:r})+T({x:d+a,y:r+c})+T({x:d,y:r+c})+" Z"}function n(a,c){var d=",",r=" L";return c?"M"+a.x+d+a.y+r+a.x+d+(a.y+a.height)+r+(a.x+a.width)+d+(a.y+a.height)+r+(a.x+a.width)+d+a.y+r+a.x+d+a.y:"M"+a.x+d+a.y+r+(a.x+a.width)+d+a.y+r+(a.x+a.width)+d+(a.y+a.height)+r+a.x+d+(a.y+a.height)+r+a.x+d+a.y}function f(a,c){var r=(0,j.V)().add("path").node;if(r.setAttribute("d",a),r.getPointAtLength&&r.getTotalLength){for(var b=r.getTotalLength(),v=[],e=0;e<c;e++){var g=r.getPointAtLength(e/c*b);v.push({x:g.x,y:g.y})}return v}r.remove()}function h(a,c,d,r,b,v,e,g,P){B.isNumber(g)||(g=0),B.isNumber(g)||(P=g);for(var E=b+.01,I=g*C.RADIANS,W=[];E<d+e;){var R=v;if(R/2>E&&(R=2*E),(I+=2*Math.asin(R/2/E))*C.DEGREES>P+(d-b)/e*360)break;var Z=I*C.DEGREES,$={x:a+E*Math.cos(I),y:c+E*r/d*Math.sin(I)};W.push($),E=b+Z/360*e}return W.shift(),W}function o(a){if(!a||0==a.length)return"";var c=D(a[0]);if(a&&a.length>0)for(var d=1;d<a.length;d++)c+=T(a[d]);return c}},50457:(tt,k,m)=>{m.d(k,{g:()=>n,k:()=>i});var C=m(68887),B=m(61401),j=m(23962),L=m(86234),A=m(47744),D=m(17478),T=m(89196),x=m(62566),M=function(){function f(){var h=this;this._targets=[],this._observer=new ResizeObserver(function(o){D.each(o,function(a){D.each(h._targets,function(c){c.target===a.target&&c.callback()})})})}return f.prototype.addTarget=function(h,o){this._observer.observe(h,{box:"content-box"}),this._targets.push({target:h,callback:o})},f.prototype.removeTarget=function(h){this._observer.unobserve(h),D.keepIf(this._targets,function(o){return o.target!==h})},f}(),_=function(){function f(){this._targets=[]}return f.prototype.addTarget=function(h,o){var a=this;if(0===this._targets.length){var c=null,d=function(){var b=Date.now();(null===c||b>c+f.delay)&&(c=b,D.each(a._targets,function(v){var e=v.target.getBoundingClientRect();(e.width!==v.size.width||e.height!==v.size.height)&&(v.size=e,v.callback())})),a._timer=requestAnimationFrame(d)};this._timer=requestAnimationFrame(d)}var r=h.getBoundingClientRect();this._targets.push({target:h,callback:o,size:r})},f.prototype.removeTarget=function(h){D.keepIf(this._targets,function(o){return o.target!==h}),0===this._targets.length&&cancelAnimationFrame(this._timer)},f.delay=200,f}(),p=null,s=function(){function f(h,o){this._disposed=!1,this._sensor=function u(){return null===p&&(p=typeof ResizeObserver<"u"?new M:new _),p}(),this._element=h,this._sensor.addTarget(h,o)}return f.prototype.isDisposed=function(){return this._disposed},f.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element))},Object.defineProperty(f.prototype,"sensor",{get:function(){return this._sensor},enumerable:!0,configurable:!0}),f.prototype.reset=function(){x.Z("resizeSensor.reset() is no longer needed and can be removed")},f}(),i=[],n=function(){function f(h,o){var a=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this._printing=!1,this.htmlElement=h,o||(this._printing=!1,this.initSensor(),this._disposers.push(A.Oo(window,"beforeprint",function(){a._printing=!0})),this._disposers.push(A.Oo(window,"afterprint",function(){a._printing=!1}))),i.push(this);var c=document.createElement("div"),d=c.style;d.width="100%",d.height="100%",d.position="relative",h.appendChild(c),this.SVGContainer=c}return f.prototype.initSensor=function(){var h=this;this.resizeSensor&&this.resizeSensor.dispose(),this.resizeSensor=new s(this.htmlElement,function(){h.autoResize&&!h._printing&&h.measure()}),this._disposers.push(this.resizeSensor)},f.prototype.measure=function(){var h=L.width(this.htmlElement),o=L.height(this.htmlElement),a=this.container;a&&((this.width!=h||this.height!=o)&&(this.width=h,this.height=o,h>0&&(a.maxWidth=h),o>0&&(a.maxHeight=o),A.C(this.SVGContainer)),a.maxWidth||(a.maxWidth=0),a.maxHeight||(a.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(f.prototype,"container",{get:function(){return this._container},set:function(h){this._container=h,this.measure()},enumerable:!0,configurable:!0}),f.prototype.isDisposed=function(){return this._disposed},f.prototype.dispose=function(){this._disposed||D.remove(i,this),D.each(this._disposers,function(h){h.dispose()})},Object.defineProperty(f.prototype,"hideOverflow",{set:function(h){this.SVGContainer.style.overflow=h?"hidden":""},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"modal",{get:function(){return T.hasValue(this._modal)||(this._modal=new B.u,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),f.prototype.openModal=function(h,o){this.closeModal();var a=this.modal;return a.content=h,a.readerTitle=o||"",a.title=o||"",a.open(),a},f.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(f.prototype,"popups",{get:function(){if(!T.hasValue(this._popups)){var h=new C.G;h.container=this.SVGContainer,this._popups=new j.o(h),this._disposers.push(new j.zQ(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),f.prototype.openPopup=function(h,o){var a=this.popups.create();return a.content=h,T.hasValue(o)&&(a.title=o),a.open(),a},f.prototype.closeAllPopups=function(){this.popups.each(function(h){h.close()})},Object.defineProperty(f.prototype,"readerAlertElement",{get:function(){if(!T.hasValue(this._readerAlertElement)){var h=document.createElement("div");h.setAttribute("role","alert"),h.style.zIndex="-100000",h.style.opacity="0",h.style.position="absolute",h.style.top="0",this.SVGContainer.appendChild(h),this._readerAlertElement=h}return this._readerAlertElement},enumerable:!0,configurable:!0}),f.prototype.readerAlert=function(h){this.readerAlertElement.innerHTML=h},f.prototype.checkTransform=function(h){if(window.getComputedStyle){if(h&&h.style){var o=window.getComputedStyle(h,null);if(o){var a=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("-moz-transform")||o.getPropertyValue("-ms-transform")||o.getPropertyValue("-o-transform")||o.getPropertyValue("transform");if(a&&"none"!==a){var c=a.split("(")[1].split(")")[0].split(","),d=Number(c[0]),r=Number(c[1]),b=Math.sqrt(d*d+r*r);isNaN(b)||(this.cssScale*=b)}}}h.parentNode&&h.parentNode instanceof HTMLElement&&this.checkTransform(h.parentNode)}},f}()},50364:(tt,k,m)=>{m.d(k,{A0:()=>x,Jb:()=>T,Yi:()=>s,br:()=>i,fE:()=>n});var C=m(19845),B=m(9450),j=m(70181),L=m(17478),A=m(86234),D=m(90868),T=function(){function f(h,o){this._tensionX=h,this._tensionY=o}return f.prototype.smooth=function(h){for(var o=h.length-1;o>0;o--){var a=h[o],c=h[o-1];Math.abs(a.x-c.x)<.1&&Math.abs(a.y-c.y)<.1&&h.splice(o-1,1)}var d=this._tensionX,r=this._tensionY;if(h.length<3||d>=1&&r>=1)return j.polyline(h);var b=h[0],v=h[h.length-1],e=!1;
1D.round(b.x,3)==D.round(v.x)&&D.round(b.y)==D.round(v.y)&&(e=!0);for(var g="",P=(o=0,h.length-1);o<P;o++){a=h[o-1];var E=h[o+1],I=h[o+2];0===o?a=e?h[h.length-2]:h[o]:o==h.length-2&&(I=e?h[1]:h[o+1]);var W=D.getCubicControlPointA(a,c=h[o],E,I,d,r),R=D.getCubicControlPointB(a,c,E,I,d,r);g+=j.cubicCurveTo(E,W,R)}return g},f}();function x(f,h,o,a,c,d){var r=f.x,b=f.y,v=h.x,e=h.y,g=D.getDistance(f,h);d&&(o=g/Math.round(g/o));var P=B.i.getCache(A.stringify(["wavedLine",f.x,h.x,f.y,h.y,o,a]));if(!P){if(g>0){var E=Math.atan2(e-b,v-r),I=Math.cos(E),W=Math.sin(E),R=o*I,Z=o*W;if(o<=1||a<=1)P=j.lineTo(h);else{var $=Math.round(2*g/o),Y=[],q=1;v<r&&(q*=-1),e<b&&(q*=-1);for(var it=0;it<=$;it++)Y.push({x:r+it*R/2+(q*=-1)*a/2*W,y:b+it*Z/2-q*a/2*I});P=new T(c,c).smooth(Y)}}else P="";B.i.setCache(A.stringify(["wavedLine",f.x,h.x,f.y,h.y,o,a]),P)}return P}var M=function(){function f(h,o){this._reversed=h,this._closed=o.closed}return f.prototype._curve=function(h,o,a,c,d,r){var b=(o-h)/3;return this._reversed?j.cubicCurveTo({x:c,y:o},{x:a+b*d,y:h+b},{x:c-b*r,y:o-b}):j.cubicCurveTo({x:o,y:c},{x:h+b,y:a+b*d},{x:o-b,y:c-b*r})},f.prototype.smooth=function(h){var o=this,a=NaN,c=NaN,d=NaN,r=NaN,b=NaN,v=0,e="";switch(L.each(h,function(g){var P=g.x,E=g.y;if(o._reversed){var I=P;P=E,E=I}var W=NaN;if(P!==c||E!==r){switch(v){case 0:v=1,e+=j.lineTo(o._reversed?{x:E,y:P}:{x:P,y:E});break;case 1:v=2;break;case 2:v=3,e+=o._curve(a,c,d,r,p(a,c,d,r,W=u(a,c,d,r,P,E)),W);break;default:e+=o._curve(a,c,d,r,b,W=u(a,c,d,r,P,E))}a=c,c=P,d=r,r=E,b=W}}),v){case 2:e+=j.lineTo(this._reversed?{x:r,y:c}:{x:c,y:r});break;case 3:e+=this._curve(a,c,d,r,b,p(a,c,d,r,b))}return this._closed&&(e+=j.closePath()),e},f}();function _(f){return f<0?-1:1}function p(f,h,o,a,c){var d=h-f;return d?(3*(a-o)/d-c)/2:c}function u(f,h,o,a,c,d){var r=h-f,b=c-h,v=(a-o)/(r||b<0&&-0),e=(d-a)/(b||r<0&&-0),g=(v*b+e*r)/(r+b);return(_(v)+_(e))*Math.min(Math.abs(v),Math.abs(e),.5*Math.abs(g))||0}var s=function(f){function h(o){return f.call(this,!1,o)||this}return(0,C.ZT)(h,f),h}(M),i=function(f){function h(o){return f.call(this,!0,o)||this}return(0,C.ZT)(h,f),h}(M),n=function(){function f(h){this._closed=h.closed}return f.prototype.smooth=function(h){var o=this,a=NaN,c=NaN,d=NaN,r=NaN,b=NaN,v=NaN,e=NaN,g=NaN,P=NaN,E=NaN,I=0,W="",R=function($,Y){W+=j.cubicCurveTo({x:(a+4*c+$)/6,y:(v+4*e+Y)/6},{x:(2*a+c)/3,y:(2*v+e)/3},{x:(a+2*c)/3,y:(v+2*e)/3})},Z=function($){var Y=$.x,q=$.y;switch(I){case 0:I=1,o._closed?(d=Y,g=q):W+=j.lineTo({x:Y,y:q});break;case 1:I=2,o._closed&&(r=Y,P=q);break;case 2:if(I=3,o._closed){b=Y,E=q,W+=j.moveTo({x:(a+4*c+Y)/6,y:(v+4*e+q)/6});break}W+=j.lineTo({x:(5*a+c)/6,y:(5*v+e)/6});default:R(Y,q)}a=c,c=Y,v=e,e=q};if(L.each(h,Z),this._closed)switch(I){case 1:W+=j.moveTo({x:d,y:g}),W+=j.closePath();break;case 2:W+=j.moveTo({x:(d+2*r)/3,y:(g+2*P)/3}),W+=j.lineTo({x:(r+2*d)/3,y:(P+2*g)/3}),W+=j.closePath();break;case 3:Z({x:d,y:g}),Z({x:r,y:P}),Z({x:b,y:E})}else{switch(I){case 3:R(c,e);case 2:W+=j.lineTo({x:c,y:e})}W+=j.closePath()}return W},f}()},75150:(tt,k,m)=>{m.d(k,{o:()=>M});var C=m(19845),B=m(84245),j=m(23962),L=m(67050),A=m(9450),D=m(43856),T=m(90868),x=m(89196),M=function(_){function p(){var u=_.call(this)||this;return u._stops=new j.aV,u._rotation=0,u.className="LinearGradient",u._stops.events.on("setIndex",u.validate,u),u._stops.events.on("inserted",u.validate,u),u.element=u.paper.addGroup("linearGradient"),u.id="gradient-"+A.i.getUniqueId(),u.element.attr({id:u.id}),u._disposers.push(u.element),u.applyTheme(),u}return(0,C.ZT)(p,_),p.prototype.validate=function(){var u=this,s=(this._rotation+90)*T.RADIANS,i=Math.round(50+50*Math.sin(s+Math.PI))+"%",n=Math.round(50+50*Math.cos(s))+"%",f=Math.round(50+50*Math.sin(s))+"%",h=Math.round(50+50*Math.cos(s+Math.PI))+"%",o=this.element;o.removeChildNodes(),o.attr({x1:i,x2:f,y1:n,y2:h}),D.each(D.indexed(this._stops.iterator()),function(a){var c=a[0],d=a[1],r=d.offset;x.isNumber(r)||(r=c/(u._stops.length-1));var b=u.paper.add("stop");x.hasValue(d.color)&&b.attr({"stop-color":d.color.toString()}),x.isNumber(d.opacity)&&b.attr({"stop-opacity":d.opacity}),x.isNumber(r)&&b.attr({offset:r}),o.add(b)})},p.prototype.clear=function(){this._stops.clear()},p.prototype.addColor=function(u,s,i){this._stops.push({color:u,opacity:s,offset:i})},Object.defineProperty(p.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"paper",{get:function(){return this._paper?this._paper:(0,L.V)()},set:function(u){this._paper!=u&&(this._paper=u,this.validate(),u.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"rotation",{get:function(){return this._rotation},set:function(u){this._rotation=u,this.validate()},enumerable:!0,configurable:!0}),p.prototype.copyFrom=function(u){_.prototype.copyFrom.call(this,u),this.stops.copyFrom(u.stops),this._rotation=u.rotation},Object.defineProperty(p.prototype,"gradientUnits",{set:function(u){this.element.attr({gradientUnits:u})},enumerable:!0,configurable:!0}),p}(B.L);A.i.registeredClasses.LinearGradient=M},10867:(tt,k,m)=>{m.d(k,{c:()=>p});var C=m(19845),B=m(84245),j=m(67050),L=m(23962),A=m(11920),D=m(9450),T=m(94131),x=m(43856),M=m(50954),_=m(89196),p=function(u){function s(){var i=u.call(this)||this;i._elements=new L.aV,i.properties={},i.className="Pattern",i.width=10,i.height=10,i.x=0,i.y=0,i.patternUnits="userSpaceOnUse";var n=new T.h;return i.backgroundFill=n.getFor("background"),i.backgroundOpacity=0,i.fillOpacity=1,i.fill=n.getFor("alternativeBackgroun
1d"),i.stroke=n.getFor("alternativeBackground"),i.strokeOpacity=1,i.strokeWidth=1,i.shapeRendering="crispEdges",i.rotation=0,i.element=i.paper.addGroup("pattern"),i.id="pattern-"+D.i.getUniqueId(),i.element.attr({id:i.id}),i._disposers.push(i.element),i._disposers.push(new L.zQ(i._elements)),i.patternUnits=i.patternUnits,i.width=i.width,i.height=i.height,i.applyTheme(),i}return(0,C.ZT)(s,u),s.prototype.draw=function(){var i=this,n=this.element;if(n){n.removeChildNodes();var f=this.paper.add("rect");f.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}),n.add(f),n.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}),x.each(this._elements.iterator(),function(h){h.rotation=i.rotation,h.rotationX=i.properties.rotationX,h.rotationY=i.properties.rotationY,i.element.add(h)})}},s.prototype.animate=function(i,n,f){return new A.fw(this,i,n,f).start()},s.prototype.addElement=function(i){this._elements.push(i),this._disposers.push(i)},s.prototype.removeElement=function(i){this._elements.removeValue(i),this.removeDispose(i)},Object.defineProperty(s.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(i){this.properties.fillOpacity=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"fill",{get:function(){return this.properties.fill},set:function(i){this.properties.fill=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(i){this.properties.backgroundFill=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(i){this.properties.backgroundOpacity=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(i){this.properties.stroke=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(i){this.properties.strokeOpacity=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(i){this.properties.strokeWidth=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(i){this.properties.shapeRendering=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(i){this.properties.rotation=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(i){this.properties.patternUnits=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"width",{get:function(){return this.properties.width},set:function(i){this.properties.width=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this.properties.height},set:function(i){this.properties.height=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"x",{get:function(){return this.properties.x},set:function(i){this.properties.x=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"y",{get:function(){return this.properties.y},set:function(i){this.properties.y=i,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"paper",{get:function(){return this._paper?this._paper:(0,j.V)()},set:function(i){this._paper!=i&&(this._paper=i,this.draw(),i.appendDef(this.element))},enumerable:!0,configurable:!0}),s.prototype.copyFrom=function(i){var n=this;u.prototype.copyFrom.call(this,i),M.each(i.properties,function(f,h){n[f]=h})},Object.defineProperty(s.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new A.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"strokeDasharray",{get:function(){return this.properties.strokeDashArray}
1,set:function(i){this.properties.strokeDashArray=i,this.draw()},enumerable:!0,configurable:!0}),s.prototype.processConfig=function(i){if(i&&_.hasValue(i.elements)&&_.isArray(i.elements))for(var n=0,f=i.elements.length;n<f;n++){var h=i.elements[n];if(_.hasValue(h.type)){var o=this.createEntryInstance(h);o instanceof B.L&&(o.config=h),this.addElement(_.hasValue(h.typeProperty)?o[h.typeProperty]:o.element)}}u.prototype.processConfig.call(this,i)},s}(B.L);D.i.registeredClasses.Pattern=p},91826:(tt,k,m)=>{m.d(k,{X:()=>M});var C=m(19845),B=m(84245),j=m(23962),L=m(67050),A=m(9450),D=m(43856),T=m(89196),x=m(27481),M=function(_){function p(){var u=_.call(this)||this;return u._stops=new j.aV,u.element=u.paper.addGroup("radialGradient"),u.id="gradient-"+A.i.getUniqueId(),u.element.attr({id:u.id}),u._disposers.push(u.element),u.applyTheme(),u}return(0,C.ZT)(p,_),p.prototype.draw=function(){var i,u=this,s=this.element;T.isNumber(this.cx)&&((i=this.cx)instanceof x.gG&&(i=i.percent+"%"),s.attr({cx:i})),T.isNumber(this.cy)&&((i=this.cy)instanceof x.gG&&(i=i.percent+"%"),s.attr({cy:i})),this.fx&&((i=this.fx)instanceof x.gG&&(i=i.percent+"%"),s.attr({fx:i})),this.fy&&((i=this.fy)instanceof x.gG&&(i=i.percent+"%"),s.attr({fy:i})),s.removeChildNodes(),D.each(D.indexed(this._stops.iterator()),function(n){var f=n[0],h=n[1],o=h.offset;T.isNumber(o)||(o=f/(u._stops.length-1));var a=u.paper.add("stop");
1T.hasValue(h.color)&&a.attr({"stop-color":h.color.toString()}),T.isNumber(h.opacity)&&a.attr({"stop-opacity":h.opacity}),T.isNumber(o)&&a.attr({offset:o}),s.add(a)})},p.prototype.addColor=function(u,s,i){this._stops.push({color:u,opacity:s,offset:i}),this.draw()},Object.defineProperty(p.prototype,"paper",{get:function(){return this._paper?this._paper:(0,L.V)()},set:function(u){this._paper!=u&&(this._paper=u,this.draw(),u.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"cx",{get:function(){return this._cx},set:function(u){this._cx=u,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"cy",{get:function(){return this._cy},set:function(u){this._cy=u,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"fx",{get:function(){return this._fx},set:function(u){this._fx=u,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"fy",{get:function(){return this._fy},set:function(u){this._fy=u,this.draw()},enumerable:!0,configurable:!0}),p.prototype.copyFrom=function(u){_.prototype.copyFrom.call(this,u),this.stops.copyFrom(u.stops),this.cx=u.cx,this.cy=u.cy,this.fx=u.fx,this.fy=u.fy},Object.defineProperty(p.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),p.prototype.clear=function(){this._stops.clear()},p}(B.L);A.i.registeredClasses.RadialGradient=M},17547:(tt,k,m)=>{m.d(k,{p:()=>A});var C=m(19845),B=m(10936),j=m(61346),L=m(9450),A=function(D){function T(){var x=D.call(this)||this;return x.className="DropShadowFilter",x.color=(0,j.$_)("#000"),x.feGaussianBlur=x.paper.add("feGaussianBlur"),x.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),x.filterPrimitives.push(x.feGaussianBlur),x.feOffset=x.paper.add("feOffset"),x.feOffset.attr({result:"offsetBlur"}),x.filterPrimitives.push(x.feOffset),x.feFlood=x.paper.add("feFlood"),x.feFlood.attr({"flood-color":x.color}),x.filterPrimitives.push(x.feFlood),x.feComposite=x.paper.add("feComposite"),x.feComposite.attr({in2:"offsetBlur",operator:"in"}),x.filterPrimitives.push(x.feComposite),x.feMerge=x.paper.addGroup("feMerge"),x.feMerge.add(x.paper.add("feMergeNode")),x.feMerge.add(x.paper.add("feMergeNode").attr({in:"SourceGraphic"})),x.filterPrimitives.push(x.feMerge),x.width=200,x.height=200,x.blur=1.5,x.dx=3,x.dy=3,x.opacity=.5,x.applyTheme(),x}return(0,C.ZT)(T,D),Object.defineProperty(T.prototype,"color",{get:function(){return this.properties.color},set:function(x){this.properties.color=x,this.feFlood&&this.feFlood.attr({"flood-color":x})},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(x){this.properties.opacity=x,this.feFlood.attr({"flood-opacity":x})},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"dx",{get:function(){return this.properties.dx},set:function(x){this.properties.dx=x,this.feOffset.attr({dx:x/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"dy",{get:function(){return this.properties.dy},set:function(x){this.properties.dy=x,this.feOffset.attr({dy:x/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"blur",{get:function(){return this.properties.blur},set:function(x){this.properties.blur=x,this.feGaussianBlur.attr({stdDeviation:x/this.scale})},enumerable:!0,configurable:!0}),T.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},T}(B.w);L.i.registeredClasses.DropShadowFilter=A},10936:(tt,k,m)=>{m.d(k,{w:()=>x});var C=m(19845),B=m(84245),j=m(67050),L=m(11920),A=m(23962),D=m(50954),T=m(43856),x=function(M){function _(){var p=M.call(this)||this;return p.properties={},p.isTemplate=!1,p._scale=1,p._nonScaling=!0,p.className="Filter",p.filterPrimitives=new A.aV,p.properties.filterUnits="objectBoundingBox",p.filterPrimitives.events.on("inserted",function(u){p._disposers.push(u.newValue)}),p.width=120,p.height=120,p.applyTheme(),p}return(0,C.ZT)(_,M),_.prototype.appendPrimitives=function(p){T.each(this.filterPrimitives.iterator(),function(u){p.add(u)})},_.prototype.animate=function(p,u,s){return new L.fw(this,p,u,s).start()}
1,Object.defineProperty(_.prototype,"width",{get:function(){return this.properties.width},set:function(p){this.properties.width=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"height",{get:function(){return this.properties.height},set:function(p){this.properties.height=p},enumerable:!0,configurable:!0}),_.prototype.copyFrom=function(p){var u=this;M.prototype.copyFrom.call(this,p),D.each(p.properties,function(s,i){u[s]=i})},Object.defineProperty(_.prototype,"paper",{get:function(){return this._paper?this._paper:(0,j.V)()},set:function(p){this._paper!=p&&(this._paper=p)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new L.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"scale",{get:function(){return this._scale},set:function(p){this._scale=p,this.updateScale()},enumerable:!0,configurable:!0}),_.prototype.updateScale=function(){},Object.defineProperty(_.prototype,"filterUnits",{get:function(){return this.properties.filterUnits},set:function(p){this.properties.filterUnits=p},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(p){this._nonScaling=p,p||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"sprite",{set:function(p){this.setSprite(p)},enumerable:!0,configurable:!0}),_.prototype.setSprite=function(p){this._sprite&&this._sprite!=p&&this._sprite.filters.removeValue(this),this._sprite=p},_}(B.L)},80383:(tt,k,m)=>{m.d(k,{FA:()=>M,L1:()=>_,Sh:()=>x});var C=m(8136),B=m(96376),j=m(86324),L=m(43856),A=m(17478),D=m(89196),T=m(50954),x=function(){function p(){this._callbackId=0,this._callbacks=new C.$X(function(u,s){return j.or(B.order(u.priority,s.priority),B.order(u.id,s.id))})}return p.prototype.addAll=function(u,s,i,n,f){void 0===n&&(n=0),this._callbacks.insert({id:++this._callbackId,key:s,callback:i,priority:n,scope:f,type:u})},p.prototype.isEnabled=function(u,s){return A.any(this._callbacks.values,function(i){return i.key===s&&u instanceof i.type})},p.prototype.applyAll=function(u,s,i){var n=this._callbacks.values,f=n.length;if(0==f)return i;for(var h=0;h<f;++h){var o=n[h];o.key===s&&u instanceof o.type&&(i=o.callback.call(o.scope,i,u,s))}return i},p}(),M=new x,_=function(){function p(u){this._callbackId=0,this._callbacks=new C.$X(function(s,i){return j.or(B.order(s.priority,i.priority),B.order(s.id,i.id))}),this._disabled={},this.object=u,this.events=this._callbacks.events}return p.prototype.add=function(u,s,i,n){void 0===i&&(i=0),this._callbacks.insert({id:++this._callbackId,key:u,callback:s,priority:i,scope:n})},p.prototype.has=function(u,s,i,n){return void 0===i&&(i=0),L.contains(this._callbacks.iterator(),function(f){return f.key===u&&f.callback===s&&f.priority===i&&f.scope===n})},p.prototype.remove=function(u,s){var i=this;A.each(L.toArray(this._callbacks.iterator()),function(n){n.key===u&&(!D.isNumber(s)||s===n.priority)&&i._callbacks.remove(n)})},p.prototype.enableKey=function(u){delete this._disabled[u]},p.prototype.disableKey=function(u,s){void 0===s&&(s=1/0),this._disabled[u]=s},p.prototype._hasListenersByType=function(u){return A.any(this._callbacks.values,function(s){return s.key===u})},p.prototype.isEnabled=function(u){return null==this._disabled[u]&&(this._hasListenersByType(u)||M.isEnabled(this.object,u))},p.prototype._shouldDispatch=function(u){var s=this._disabled[u];return!D.isNumber(s)||(s<=1?delete this._disabled[u]:--this._disabled[u],!1)},p.prototype.apply=function(u,s){if(this._shouldDispatch(u)){var i=this._callbacks.values,n=i.length;if(n>0)for(var f=0;f<n;++f){var h=i[f];h.key===u&&(s=h.callback.call(h.scope,s,this.object,u))}return M.applyAll(this.object,u,s)}return s},p.prototype.keys=function(){return L.toArray(L.map(this._callbacks.iterator(),function(u){return u.key}))},p.prototype.copyFrom=function(u){var s=this;L.each(u._callbacks.iterator(),function(i){s.add(i.key,i.callback,i.priority,i.scope)}),T.each(u._disabled,function(i,n){s._disabled[i]=n})},p.prototype.clear=function(){this._callbacks.clear()},p}()},11920:(tt,k,m)=>{m.d(k,{fw:()=>d,jt:()=>n,w3:()=>c});var C=m(19845),B=m(84245),j=m(84979),L=m(75080),A=m(61346),D=m(27481),T=m(28585),x=m(71834),M=m(38105
1),_=m(90868),p=m(17478),u=m(89196),s=m(22964),i=m(15241);function n(r,b){var v=!1,e=Date.now();return T.gl(function g(P){if(!v){var E=P-e;E>=r?b(1):(T.gl(g),b(E/r))}}),new L.ku(function(){v=!0})}function f(r,b,v){return b+(v-b)*r}function h(r,b,v){return new D.gG(f(r,b.percent,v.percent))}function o(r,b,v){var e=new A.Il(M.interpolate(b.rgb,v.rgb,r));return b.alpha!=v.alpha&&(e.alpha=b.alpha+(v.alpha-b.alpha)*r),e}function a(r,b){return b+r.charAt(0).toUpperCase()+r.substr(1)}var c=function(){function r(b){this._disposer=new L.ku(function(){for(;0!==b.length;)b[0].dispose()})}return r.prototype.isDisposed=function(){return this._disposer.isDisposed()},r.prototype.dispose=function(){this._disposer.dispose()},r}(),d=function(r){function b(v,e,g,P){var E=r.call(this)||this;return E.duration=0,E.easing=x.linear,E.progress=0,E._loop=0,E._pause=!1,E._delayTimeout=null,E._time=0,E._isFinished=!1,E.className="Animation",!1===i.Y.animationsEnabled&&(g=0),E.object=v,E.animationOptions=p.toArray(e),E.duration=g,P&&(E.easing=P),E.applyTheme(),E}return(0,C.ZT)(b,r),b.prototype.debug=function(){},b.prototype.dispose=function(){r.prototype.dispose.call(this),this.pause()},b.prototype.delay=function(v){var e=this;if(v>0){this.pause(),p.move(this.object.animations,this);var g=setTimeout(function(){e._delayTimeout=null,e.start()},v);this._delayTimeout=new L.ku(function(){clearTimeout(g)})}return this},b.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,p.move(s.B.animations,this),p.move(this.object.animations,this),s.B.requestFrame()},b.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var v=this.animationOptions.length-1;v>=0;v--){var e=this.animationOptions[v];if(u.hasValue(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],u.hasValue(e.from)||(e.from=j.n[e.property]))),e.from==e.to)p.remove(this.animationOptions,e);else if(!u.hasValue(e.from)||!(e.from instanceof D.gG)&&e.to instanceof D.gG||e.from instanceof D.gG&&!(e.to instanceof D.gG))this.staticOptions.push(e),p.remove(this.animationOptions,e);else if(u.isNumber(e.to))if(e.updateMethod=f,e.from instanceof D.gG){var g=this.object[a(e.property,"pixel")];isNaN(g)?(this.staticOptions.push(e),p.remove(this.animationOptions,e)):e.from=g}else isNaN(e.from)&&(this.staticOptions.push(e),p.remove(this.animationOptions,e));else e.to instanceof A.Il?e.from?e.updateMethod=o:(this.staticOptions.push(e),p.remove(this.animationOptions,e)):e.to instanceof D.gG?(e.updateMethod=h,isNaN(e.from)||(g=this.object[a(e.property,"relative")],isNaN(g)||(e.from=(0,D.aQ)(100*g)))):(this.staticOptions.push(e),p.remove(this.animationOptions,e))}return this.applyStaticOptions(),this.events.isEnabled("animationstarted")&&this.events.dispatchImmediately("animationstarted",{type:"animationstarted",target:this,progress:this.progress}),this.update(),0===this.duration&&this.end(),this},b.prototype.loop=function(v){return u.isNumber(v)||(v=1/0),this._loop=v,this},b.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),p.remove(s.B.animations,this),p.remove(this.object.animations,this),this},b.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},b.prototype.end=function(){return 0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")&&this.events.dispatchImmediately("animationended",{type:"animationended",target:this,progress:this.progress}),this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},b.prototype.kill=function(){this.pause(),this._isFinished=!0},b.prototype.isFinished=function(){return this._isFinished},b.prototype.applyStaticOptions=function(){var v=this;p.each(this.staticOptions,function(e){e.childObject?e.childObject[e.property]=1==v.progress?e.to:e.from:v.object[e.property]=1==v.progress?e.to:e.from})},b.prototype.stop=function(v){return this.pause(),!v&&this.events.isEnabled("animationstopped")&&this.events.dispatchImmediately("animationstopped",{type:"animationstopped",target:this,progress:this.progress}),this},b.prototype.setProgress=function(v){var e=this;this._time=this.duration*v,p.each(this.animationOptions,function(P){if(P.updateMethod&&u.hasValue(P.from)){var E=P.updateMethod(v,P.from,P.to);P.childObject?P.childObject[P.property]=E:e.object[P.property]=E}}),this.progress=v,this.events.isEnabled("animationprogress")&&this.events.dispatchImmediately("animationprogress",{type:"animationprogress",target:this,progress:this.progress}),s.B.requestFrame()},b.prototype.update=function(){if(!this._pause){var v=void 0;this._time=_.fitToRange(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;v=this.easing(e),(0==this.duration||!u.isNumber(v)||e>=1)&&(v=1),this.setProgress(v),1==_.round(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(b.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),b.prototype.stopSameAnimations=function(){var v=this;p.each(p.copy(this.object.animations),function(e){if(e!==v&&!e.delayed){var g=[];p.each(v.animationOptions,function(P){p.each(e.animationOptions,function(E){P.property==E.property&&P.childObject==E.childObject&&(g.push(E),0==e.animationOptions.length&&e.kill())})}),p.each(g,function(P){p.remove(e.animationOptions,P)})}})},b.prototype.asFunction=function(v){return"easing"==v||r.prototype.asIs.call(this,v)},b}(B.y)},61346:(tt,k,m)=>{m.d(k,{$_:()=>A,D5:()=>D,GM:()=>T,Il:()=>L,p9:()=>x});
1var C=m(9450),B=m(38105),j=m(89196),L=function(){function M(_){this._value=_}return Object.defineProperty(M.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"hex",{get:function(){return this._value?B.rgbToHex(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"rgba",{get:function(){return this._value?B.rgbToRGBA(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"alpha",{get:function(){return null!=this._value&&null!=this._value.a?this._value.a:1},set:function(_){this._value&&(this._value.a=_)},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new M({r:255,g:255,b:255})),this._lightColor},set:function(_){this._lightColor=_},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new M({r:0,g:0,b:0})),this._darkColor},set:function(_){this._darkColor=_},enumerable:!0,configurable:!0}),M.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},M.prototype.lighten=function(_){return new M(B.lighten(this.rgb,_))},M.prototype.brighten=function(_){return new M(B.brighten(this.rgb,_))},M.prototype.saturate=function(_){return new M(B.saturate(this.rgb,_))},Object.defineProperty(M.prototype,"alternative",{get:function(){if(null!=this.rgb)return B.isLight(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),M}();function A(M,_){if(!j.hasValue(M))return new L(void 0);if("string"==typeof M){var p="_color_"+M+"_"+(_||"1"),u=C.i.getCache(p);if(u)return new L({r:u.r,g:u.g,b:u.b,a:u.a});var s=B.rgb(M,_);return C.i.setCache(p,s),new L(s)}return M instanceof L?(j.hasValue(_)&&(M.alpha=_),M):new L(M)}function D(M){return M instanceof L}function T(M){return A(M)}function x(M){return j.hasValue(M)&&!D(M)?T(M):M}},6114:(tt,k,m)=>{m.d(k,{U:()=>M});var C=m(19845),B=m(84245),j=m(61346),L=m(9450),A=m(38105),D=m(89196),T=m(86234),x=m(90868),M=function(_){function p(){var u=_.call(this)||this;return u._list=[],u._currentStep=0,u._startIndex=0,u._currentPass=0,u.baseColor=new j.Il({r:103,g:183,b:220}),u.stepOptions={},u.passOptions={brighten:-.2},u.step=1,u.minColors=20,u.minLightness=.2,u.maxLightness=.9,u.shuffle=!1,u.wrap=!0,u.reuse=!1,u.saturation=1,u.className="ColorSet",u.applyTheme(),u}return(0,C.ZT)(p,_),Object.defineProperty(p.prototype,"list",{get:function(){return this._list||this.generate(this.minColors),this._list},set:function(u){this._list=u,this.reset()},enumerable:!0,configurable:!0}),p.prototype.getReusableColor=function(u){if(0==this._list.length)return this.generate(1),this.list[0];var s=u-Math.floor(u/this._list.length)*this.list.length;return this.list[s]},p.prototype.next=function(){var u;return this.list.length<=this._currentStep?this.reuse?u=this.getReusableColor(this._currentStep):(this.generate(x.max(this.minColors,this._currentStep+1)),u=this.list[this._currentStep]):u=this.list[this._currentStep],this._currentStep+=this.step,u.saturate(this.saturation)},p.prototype.getIndex=function(u){var s;return this.list.length<=u?this.reuse?s=this.getReusableColor(u):(this.generate(this.minColors),s=this.getIndex(u)):s=this.list[u],s.saturate(this.saturation)},p.prototype.reset=function(){this._currentStep=this._startIndex},Object.defineProperty(p.prototype,"currentStep",{get:function(){return this._currentStep},set:function(u){this._currentStep=u},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"startIndex",{get:function(){return this._startIndex},set:function(u){this._startIndex=u,this.reset()},enumerable:!0,configurable:!0}),p.prototype.generate=function(u){var i=A.rgbToHsl(D.getValue(this.currentColor.rgb)),n=D.hasValue(this.stepOptions.hue)?this.stepOptions.hue:1/u,f={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},h=[],o=0==this.list.length?0:1;if(this.reuse)for(var a=o;a<=u;a++)h.push(A.rgbToHsl(D.getValue(this._list[a].rgb)).h);else for(a=o;a<=u;a++){var c=i.h+n*a;this.wrap&&c>1&&(c-=1),h.push(c)}for(this.shuffle&&h.sort(function(v,e){return Math.random()-.5}),a=0;a<u;a++){this.reuse?i=A.rgbToHsl(D.getValue(this._list[a].rgb)):i.h=h.shift(),this.applyStepOptions(i,f,a,this._currentPass);var d=(0,j.$_)(A.hslToRgb(i)),r=(this.stepOptions.brighten||0)*a+(this.passOptions.brighten||0)*this._currentPass;0!=r&&(r=this.wrap?T.fitNumberRelative(r,this.minLightness,this.maxLightness):T.fitNumber(r,this.minLightness,this.maxLightness),d=d.brighten(r));var b=(this.stepOptions.lighten||0)*a+(this.passOptions.lighten||0)*this._currentPass;0!=b&&(b=this.wrap?T.fitNumberRelative(b,this.minLightness,this.maxLightness):T.fitNumber(b,this.minLightness,this.maxLightness),d=d.lighten(b)),this._list.push(d)}this._currentPass++},Object.defineProperty(p.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}),p.prototype.applyStepOptions=function(u,s,i,n){u.l=s.lightness+(this.stepOptions.lightness||0)*i+(this.passOptions.lightness||0)*n,this.wrap?(u.l>1?u.l=u.l-Math.floor(u.l):u.l<0&&(u.l=-(u.l-Math.floor(u.l))),u.l=T.fitNumberRelative(u.l,this.minLightness,this.maxLightness)):(u.l>1?u.l=1:u.l<0&&(u.l=0),u.l=T.fitNumber(u.l,this.minLightness,this.maxLightness))},p.prototype.processConfig=function(u){if(u){if(D.hasValue(u.list)&&D.isArray(u.list))for(var s=0,i=u.list.length;s<i;s++)u.list[s]instanceof j.Il||(u.list[s]=(0,j.$_)(u.list[s]));D.hasValue(u.baseColor)&&!(u.baseColor instanceof j.Il)&&(u.baseColor=(0,j.$_)(u.baseColor))}_.prototype.processConfig.call(this,u)},p}(B.L);L.i.registeredClasses.ColorSet=M},38105:(tt,k,m)=>{m.r(k),m.d(k,{brighten:()=>i,getBrightnessStep:()=>n,getLightnessStep:()=>s,hexToRgb:()=>A,hexToRgbWithAlpha:()=>D,hslToRgb:()=>h,hsvToRgb:()=>c,interpolate:()=>p,isLight:()=>d,lighten:()=>u,pad2:()=>_,rgb:()=>L,rgbToHex:()=>x,rgbToHsl:()=>o,rgbToHsv:()=>
1a,rgbToRGBA:()=>M,rgbaToRgb:()=>T,saturate:()=>f});var C=m(90868),B=m(89196),j={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},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}
1,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 L(r,b){var v;return j[r]?v=j[r]:"#"===r.charAt(0)?v=A(r):r.match(/^rgba?\(/)&&(v=T(r)),v||(v={r:0,g:0,b:0,a:1}),B.hasValue(b)&&(v.a=b),v}function A(r){r=r.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,g,P,E){return g+g+P+P+E+E});var v=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);return v?{r:parseInt(v[1],16),g:parseInt(v[2],16),b:parseInt(v[3],16)}:D(r)}function D(r){r=r.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])$/i,function(e,g,P,E,I){return g+g+P+P+E+E+I+I});var v=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);return v?{r:parseInt(v[1],16),g:parseInt(v[2],16),b:parseInt(v[3],16),a:parseInt(v[4],16)/256}:void 0}function T(r){var b=(r=r.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(b)b.push("1");else if(!(b=r.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return;return{r:parseInt(b[1]),g:parseInt(b[2]),b:parseInt(b[3]),a:parseFloat(b[4])}}function x(r){return"#"+_(r.r.toString(16))+_(r.g.toString(16))+_(r.b.toString(16))}function M(r){return B.hasValue(r.a)&&1!==r.a?"rgba("+r.r+","+r.g+","+r.b+","+r.a+")":"rgb("+r.r+","+r.g+","+r.b+")"}function _(r){return 1==r.length?"0"+r:""+r}function p(r,b,v){return v=C.fitToRange(v,0,1),r?b?{r:r.r+Math.round((b.r-r.r)*v),g:r.g+Math.round((b.g-r.g)*v),b:r.b+Math.round((b.b-r.b)*v),a:(r.a||1)+Math.round(((b.a||1)-(r.a||1))*v)}:r:b||r}function u(r,b){return r&&{r:Math.max(0,Math.min(255,r.r+s(r.r,b))),g:Math.max(0,Math.min(255,r.g+s(r.g,b))),b:Math.max(0,Math.min(255,r.b+s(r.b,b))),a:r.a}}function s(r,b){return Math.round((b>0?255-r:r)*b)}function i(r,b){if(r){var e=s(Math.min(Math.max(r.r,r.g,r.b),230),b);return{r:Math.max(0,Math.min(255,Math.round(r.r+e))),g:Math.max(0,Math.min(255,Math.round(r.g+e))),b:Math.max(0,Math.min(255,Math.round(r.b+e))),a:r.a}}return r}function n(r,b){return Math.round(255*b)}function f(r,b){if(null==r||1==b)return r;var v=o(r);return v.s=b,h(v)}function h(r){var b,v,e,g=r.h,P=r.s,E=r.l;if(0==P)b=v=e=E;else{var I=function($,Y,q){return q<0&&(q+=1),q>1&&(q-=1),q<.16666666666666666?$+6*(Y-$)*q:q<.5?Y:q<.6666666666666666?$+(Y-$)*(.6666666666666666-q)*6:$},W=E<.5?E*(1+P):E+P-E*P,R=2*E-W;b=I(R,W,g+1/3),v=I(R,W,g),e=I(R,W,g-1/3)}return{r:Math.round(255*b),g:Math.round(255*v),b:Math.round(255*e)}}function o(r){var b=r.r/255,v=r.g/255,e=r.b/255,g=Math.max(b,v,e),P=Math.min(b,v,e),E=0,I=0,W=(g+P)/2;if(g===P)E=I=0;else{var R=g-P;switch(I=W>.5?R/(2-g-P):R/(g+P),g){case b:E=(v-e)/R+(v<e?6:0);break;case v:E=(e-b)/R+2;break;case e:E=(b-v)/R+4}E/=6}return{h:E,s:I,l:W}}function a(r){var I,b=r.r/255,v=r.g/255,e=r.b/255,g=Math.max(b,v,e),P=Math.min(b,v,e),E=0,W=g,R=g-P;if(I=0==g?0:R/g,g==P)E=0;else{switch(g){case b:E=(v-e)/R+(v<e?6:0);break;case v:E=(e-b)/R+2;break;case e:E=(b-v)/R+4}E/=6}return{h:E,s:I,v:W}}function c(r){var b=0,v=0,e=0,g=r.h,P=r.s,E=r.v,I=Math.floor(6*g),W=6*g-I,R=E*(1-P),Z=E*(1-W*P),$=E*(1-(1-W)*P);switch(I%6){case 0:b=E,v=$,e=R;break;case 1:b=Z,v=E,e=R;break;case 2:b=R,v=E,e=$;break;case 3:b=R,v=Z,e=E;break;case 4:b=$,v=R,e=E;break;case 5:b=E,v=R,e=Z}return{r:Math.round(255*b),g:Math.round(255*v),b:Math.round(255*e)}}function d(r){return(299*r.r+587*r.g+114*r.b)/1e3>=128}},47744:(tt,k,m)=>{m.d(k,{A_:()=>n,Ay:()=>r,C:()=>g,Cd:()=>$,DM:()=>e,Dx:()=>f,IV:()=>i,Oo:()=>p,PZ:()=>K,Rt:()=>a,T_:()=>o,Xz:()=>_,cn:()=>s,gR:()=>Y,hw:()=>Z,kK:()=>c,kM:()=>v,qu:()=>x,r3:()=>d,rv:()=>M,sb:()=>u,u0:()=>W,w:()=>q,yj:()=>b,yv:()=>h});var P,C=m(19845),B=m(75080),j=m(28585),L=m(15241),A=m(50954),D=m(17478),T=m(89196),x="http://www.w3.org/2000/svg",M="http://www.w3.org/2000/xmlns/",_="http://www.w3.org/1999/xlink";function p(l,t,y,O){return l.addEventListener(t,y,O||!1),new B.ku(function(){l.removeEventListener(t,y,O||!1)})}function u(l){if(T.isString(l)){var t=document.getElementById(l);if(null==t&&(t=document.getElementsByClassName(l)[0]),t instanceof HTMLElement)return t}else if(l instanceof HTMLElement)return l}function s(l,t){if(l)if(l.classList){var y=t.split(" ");D.each(y,function(S){l.classList.add(S)})}else{var O=l.getAttribute("class");l.setAttribute("class",O?O.split(" ").filter(function(S){return S!==t}).join(" ")+" "+t:t)}}function i(l,t){if(l)if(l.classList)l.classList.remove(t);else{var y=l.getAttribute("class");y&&l.setAttribute("class",y.split(" ").filter(function(O){return O!==t}).join(" "))}}function n(l,t,y){l.style[t]=y}function f(l,t){return l.currentStyle?l.currentStyle[t]:document.defaultView.getComputedStyle(l,null).getPropertyValue(t)}function h(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{var l=document.createElement("button");l.style.position="fixed",l.style.top="0px",l.style.left="-10000px",document.body.appendChild(l),l.focus(),l.blur(),document.body.removeChild(l)}}function o(l){if(l instanceof HTMLElement)l.focus();else{var t=document.createElement("input"),y=document.createElementNS(x,"foreignObject");y.appendChild(t),l.appendChild(y),t.focus(),t.disabled=!0,y.remove()}}function a(l){if(l.outerHTML)return l.outerHTML;var t=document.createElement("div"),y=l.cloneNode(!0);return t.appendChild(y),t.innerHTML}function c(l){return l instanceof Object&&l&&1===l.nodeType}function d(l,t){for(var y=t;;){if(l===y)return!0;
1if(null==y.parentNode){if(null==y.host)return!1;y=y.host}else y=y.parentNode}}function r(l){for(var t=l;;){if(null==t.parentNode)return null!=t.host?t:null;t=t.parentNode}}function b(l){for(var t=l.ownerDocument,y=l;;){if(null==y.parentNode)return y===t||null!=y.host?y:null;y=y.parentNode}}function v(l){return"function"==typeof l.composedPath?l.composedPath()[0]:l.target}function e(l,t){D.each(l.attributes,function(y){null!=y.value&&t.setAttribute(y.name,y.value)})}function g(l){(0,j.Eo)(function(){try{var t=l.getBoundingClientRect(),y=t.left-Math.round(t.left),O=t.top-Math.round(t.top);0!==y&&(0,j.rA)(function(){l.style.left=y+"px"}),0!==O&&(0,j.rA)(function(){l.style.top=O+"px"})}catch{}})}var W=function(l){function t(y,O,S){var F=this,V=function E(l){return null==l?(T.hasValue(P)||((t=document.createElement("style")).type="text/css",""!=L.Y.nonce&&t.setAttribute("nonce",L.Y.nonce),document.head.appendChild(t),P=t.sheet),P):((t=document.createElement("style")).type="text/css",""!=L.Y.nonce&&t.setAttribute("nonce",L.Y.nonce),l.appendChild(t),t.sheet);var t}(y);return(F=l.call(this,function(){var w=D.indexOf(V.cssRules,F._rule);if(-1===w)throw new Error("Could not dispose StyleRule");V.deleteRule(w)})||this)._rule=function I(l,t){var y=l.cssRules.length;return l.insertRule(t+"{}",y),l.cssRules[y]}(V,O),A.each(S,function(w,U){F.setStyle(w,U)}),F}return(0,C.ZT)(t,l),Object.defineProperty(t.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(y){this._rule.selectorText=y},enumerable:!0,configurable:!0}),t.prototype._setVendorPrefixName=function(y,O){var S=this._rule.style;S.setProperty("-webkit-"+y,O,""),S.setProperty("-moz-"+y,O,""),S.setProperty("-ms-"+y,O,""),S.setProperty("-o-"+y,O,""),S.setProperty(y,O,"")},t.prototype.setStyle=function(y,O){"transition"===y?this._setVendorPrefixName(y,O):this._rule.style.setProperty(y,O,"")},t}(B.ku),R=0,Z=function(l){function t(y,O,S){var F=this,V=T.hasValue(S)?S:"__style_"+ ++R+"__";return(F=l.call(this,y,"."+V,O)||this)._className=V,F}return(0,C.ZT)(t,l),Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(y){this._className=y,this.selector="."+y},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this._className},t}(W);function $(l){if("loading"!==document.readyState)l();else{var t=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",t),l())};document.addEventListener("readystatechange",t)}}function Y(l){var t=f(l,"font-family");if(t)return t;var y=l.parentElement||l.parentNode;return y?Y(y):void 0}function q(l){var t=f(l,"font-size");if(t)return t;var y=l.parentElement||l.parentNode;return y?q(y):void 0}function K(l,t){var y=l.getBoundingClientRect(),O=T.isArray(t)?t:t?[t]:[];if(O.length){for(var S=0;S<O.length;S++){var F=O[S];if(!K(F))return!1;var V=F.getBoundingClientRect();if(y.top>=0&&y.left>=0&&y.top<=V.top+V.height&&y.left<=V.left+V.width)return!0}return!1}return y.top>=0&&y.left>=0&&y.top<=(window.innerHeight||document.documentElement.clientHeight)&&y.left<=(window.innerWidth||document.documentElement.clientWidth)}},71834:(tt,k,m)=>{m.r(k),m.d(k,{bounceIn:()=>q,bounceInOut:()=>K,bounceOut:()=>it,circleIn:()=>r,circleInOut:()=>v,circleOut:()=>b,cubicIn:()=>a,cubicInOut:()=>d,cubicOut:()=>c,elasticIn:()=>S,elasticInOut:()=>V,elasticOut:()=>F,expIn:()=>s,expInOut:()=>n,expOut:()=>i,linear:()=>j,polyIn:()=>T,polyIn3:()=>_,polyInOut:()=>M,polyInOut3:()=>u,polyOut:()=>x,polyOut3:()=>p,quadIn:()=>L,quadInOut:()=>D,quadOut:()=>A,sinIn:()=>f,sinInOut:()=>o,sinOut:()=>h});var C=m(90868),B=m(9450);function j(w){return+w}function L(w){return w*w}function A(w){return w*(2-w)}function D(w){return((w*=2)<=1?w*w:--w*(2-w)+1)/2}function T(w,U){return Math.pow(w,U)}function x(w,U){return 1-Math.pow(1-w,U)}function M(w,U){return((w*=2)<=1?Math.pow(w,U):2-Math.pow(2-w,U))/2}function _(w){return T(w,3)}function p(w){return x(w,3)}function u(w){return M(w,3)}function s(w){return Math.pow(2,10*w-10)}function i(w){return 1-Math.pow(2,-10*w)}function n(w){return((w*=2)<=1?Math.pow(2,10*w-10):2-Math.pow(2,10-10*w))/2}function f(w){return 1-Math.cos(w*C.HALFPI)}function h(w){return Math.sin(w*C.HALFPI)}function o(w){return(1-Math.cos(C.PI*w))/2}function a(w){return w*w*w}function c(w){return--w*w*w+1}function d(w){return((w*=2)<=1?w*w*w:(w-=2)*w*w+2)/2}function r(w){return 1-Math.sqrt(1-w*w)}function b(w){return Math.sqrt(1- --w*w)}function v(w){return((w*=2)<=1?1-Math.sqrt(1-w*w):Math.sqrt(1-(w-=2)*w)+1)/2}B.i.registeredClasses["ease.linear"]=j,B.i.registeredClasses["ease.quadIn"]=L,B.i.registeredClasses["ease.quadOut"]=A,B.i.registeredClasses["ease.quadInOut"]=D,B.i.registeredClasses["ease.polyIn"]=T,B.i.registeredClasses["ease.polyOut"]=x,B.i.registeredClasses["ease.polyInOut"]=M,B.i.registeredClasses["ease.polyIn3"]=_,B.i.registeredClasses["ease.polyOut3"]=p,B.i.registeredClasses["ease.polyInOut3"]=u,B.i.registeredClasses["ease.expIn"]=s,B.i.registeredClasses["ease.expOut"]=i,B.i.registeredClasses["ease.expInOut"]=n,B.i.registeredClasses["ease.sinIn"]=f,B.i.registeredClasses["ease.sinOut"]=h,B.i.registeredClasses["ease.sinInOut"]=o,B.i.registeredClasses["ease.cubicIn"]=a,B.i.registeredClasses["ease.cubicOut"]=c,B.i.registeredClasses["ease.cubicInOut"]=d,B.i.registeredClasses["ease.circleIn"]=r,B.i.registeredClasses["ease.circleOut"]=b,B.i.registeredClasses["ease.circleInOut"]=v;var e=4/11,g=6/11,P=8/11,E=3/4,I=9/11,W=10/11,R=15/16,Z=21/22,$=63/64,Y=1/e/e;function q(w){return 1-it(1-w)}function it(w){return(w=+w)<e?Y*w*w:w<P?Y*(w-=g)*w+E:w<W?Y*(w-=I)*w+R:Y*(w-=Z)*w+$}function K(w){return((w*=2)<=1?1-it(1-w):it(w-1)+1)/2}B.i.registeredClasses["ease.bounceIn"]=q,B.i.registeredClasses["ease.bounceOut"]=it,B.i.registeredClasses["ease.bounceInOut"]=K;var l=2*Math.PI,t=1,y=.3/l,O=Math.asin(1/t)*y;function S(w){return t*Math.pow(2,10*--w)*Math.sin((O-w)/y)}function F(w){return 1-t*Math.pow(2,-10*(w=+w))*Math.sin((w+O)/y)}function V(w){return((w=2*w-1)<0?t*Math.pow(2,10*w)*Math.sin((O-w)/y):2-t*Math.pow(2,-10*w)*Math.sin((O+w)/y))/2}B.i.registeredClasses["ease.elasticIn"]=S,B.i.registeredClasses["ease.elasticOut"]=F,B.i.registeredClasses["ease.elasticInOut"]=V},94131:(tt,k,m)=>{m.d(k,{h:()=>A});var C=m(19845),B=m(84245),j=m(9450),L=m(61346),A=function(D){function T(){var x=D.call(this)||this;return x._purposes={stroke:(0,L.$_)("#e5e5e5"),fill:(0,L.$_)("#f3f3f3"),primaryButton:(0,L.$_)("#6794dc"),primaryButtonHover:(0,L.$_)("#6771dc"),primaryButtonDown:(0,L.$_)("#68dc75"),primaryButtonActive:(0,L.$_)("#68dc75"),primaryButtonText:(0,L.$_)("#FFFFFF"),primaryButtonStroke:(0,L.$_)("#FFFFFF"),secondaryButton:(0,L.$_)("#d9d9d9"),secondaryButtonHover:(0,L.$_)("#d9d9d9").brighten(-.25),secondaryButtonDown:(0,L.$_)("#d9d9d9").brighten(-.35),secondaryButtonActive:(0,L.$_)("#d9d9d9").brighten(.35),secondaryButtonText:(0,L.$_)("#000000"),secondaryButtonStroke:(0,L.$_)("#FFFFFF"),grid:(0,L.$_)("#000000"),background:(0,L.$_)("#ffffff"),alternativeBackgroun
1d:(0,L.$_)("#000000"),text:(0,L.$_)("#000000"),alternativeText:(0,L.$_)("#FFFFFF"),disabledBackground:(0,L.$_)("#999999"),positive:(0,L.$_)("#67dc75"),negative:(0,L.$_)("#dc6788")},x.className="InterfaceColorSet",x.applyTheme(),x}return(0,C.ZT)(T,D),T.prototype.debug=function(){},T.prototype.getFor=function(x){return this._purposes[x]},T.prototype.setFor=function(x,M){this._purposes[x]=M},T}(B.L);j.i.registeredClasses.InterfaceColorSet=A},84974:(tt,k,m)=>{m.d(k,{N:()=>B,d:()=>j});var C=m(89196),B=function(){function L(){}return L.prototype.getEventKey=function(A){var T;switch(A.keyCode||A.which){case 38:T="up";break;case 40:T="down";break;case 37:T="left";break;case 39:T="right";break;case 13:T="enter";break;case 27:T="esc";break;case 36:case 36:T="home";break;case 35:case 35:T="end";break;case 9:T="tab";break;case 17:T="ctrl";break;case 18:T="alt";break;case 16:T="shift";break;case 32:T="space";break;case 33:T="pgup";break;case 34:T="pgdn";break;case 45:T="ins";break;case 46:T="del";break;case 107:T="plus";break;case 109:T="minus";break;default:T="other"}return T},L.prototype.isKey=function(A,D){var T=this.getEventKey(A);return C.isString(D)&&(D=[D]),-1!==D.indexOf(T)},L.prototype.shiftKey=function(A){return A.shiftKey},L.prototype.ctrlKey=function(A){return A.ctrlKey},L.prototype.altKey=function(A){return A.altKey},L.prototype.metaKey=function(A){return A.metaKey},L}(),j=new B},87037:(tt,k,m)=>{m.d(k,{S:()=>x});var C=m(19845),B=m(84245),j=m(80383),L=m(17478),A=m(89196);const D={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_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:"\u03bc",_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(M){var _="th";if(M<11||M>13)switch(M%10){case 1:_="st";break;case 2:_="nd";break;case 3:_="rd"}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":"","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:""};var T=m(15241),x=function(M){function _(){var p=M.call(this)||this;return p.adapter=new j.L1(p),p._locale=D,p._defaultLocale=D,p.className="Language",A.hasValue(T.Y.defaultLocale)&&(p.locale=T.Y.defaultLocale),p.applyTheme(),p}return(0,C.ZT)(_,M),_.prototype.getLocale=function(p){return null==p&&(p=this._locale),this.adapter.apply("locale",{locale:p}).locale},_.prototype.translate=function(p,u){for(var s=[],i=2;i<arguments.length;i++)s[i-2]=arguments[i];u=this.getLocale(u);var n=p,h=this.getTranslations(u)[p];if(null===h)n="";else if(A.hasValue(h))h&&(n=h);else if(u!==this._defaultLocale)return this.translate.apply(this,(0,C.fl)([p,this._defaultLocale],s));if(s.length)for(var o=s.length,a=0;a<o;++a)n=n.split("%"+(a+1)).join(s[a]);return this.adapter.apply("translate",{translation:n,locale:u}).translation},_.prototype.translateAny=function(p,u){for(var s=[],i=2;i<arguments.length;i++)s[i-2]=arguments[i];return this.translate.apply(this,(0,C.fl)([p,u],s))},_.prototype.setTranslationAny=function(p,u,s){(s||this.locale)[p]=u},_.prototype.translateEmpty=function(p,u){for(var s=[],i=2;i<arguments.length;i++)s[i-2]=arguments[i];var n=this.translate.apply(this,(0,C.fl)([p,u],s));return n==p?"":n},_.prototype.translateFunc=function(p,u){return u=this.getLocale(u),this.getTranslations(u)[p]??(u!==this._defaultLocale?this.translateFunc(p,this._defaultLocale):function(){return""})},_.prototype.translateAll=function(p,u){var s=this;return this.isDefault()?p:L.map(p,function(i){return s.translate(i,u)})},_.prototype.isDefault=function(){return this._defaultLocale===this._locale},Object.defineProperty(_.prototype,"locale",{get:function(){return this._locale},set:function(p){this._locale!=p&&(this._locale=p,this.events.isEnabled("localechanged"))&&this.events.dispatchImmediately("localechanged",{type:"localechanged",locale:p,target:this})},enumerable:!0,configurable:!0}),_.prototype.getTranslations=function(p){return this.adapter.apply("translations",{translations:p,locale:p}).translations},_}(B.y)},23962:(tt,k,m)=>{m.d(k,{Wk:()=>T,aV:()=>_,o:()=>p,pE:()=>D,zQ:()=>x});var C=m(19845),B=m(75080),j=m(63351),L=m(17478),A=m(43856),D=function(){function u(s,i,n){this._array=s,this._start=i,this._end=n}return u.prototype.iterator=function(){var s=this;return function(i){if(s._start!==s._end)if(s._start<s._end)for(var n=s._start;n<s._end&&i(s._array[n]);++n);else for(n=s._start-1;n>=s._end&&i(s._array[n]);--n);}},u.prototype.backwards=function(){return new u(this._array,this._end,this._start)}
1,u.prototype.range=function(s,i){if(s<=i){if(this._start===this._end)return this;if(this._start<this._end){var n=i-s;return s=Math.max(this._start+s,this._start),i=Math.min(s+n,this._end),new u(this._array,s,i)}return n=i-s,s=Math.max(this._start-s,this._end),i=Math.max(s-n,this._end),new u(this._array,s,i)}throw new Error("Start index must be lower than end index")},u}(),T=function(u){function s(i,n,f){var h=u.call(this,[i.events.on("inserted",function(o){var a=o.newValue,c=h._getKey(a),d=0;A.eachContinue(i.iterator(),function(r){return r!==a&&(h._getKey(r)===c&&++d,!0)}),h._insert(a,c,d)},void 0,!1),i.events.on("removed",function(o){h._remove(o.oldValue)},void 0,!1)])||this;return h._keys=[],h._groups={},h._getKey=n,h._sort=f,A.each(i.iterator(),function(o){h._insert(o,n(o))}),h}return(0,C.ZT)(s,u),s.prototype._insert=function(i,n,f){if(null==this._groups[n]){this._groups[n]=[];var h=L.getSortedIndex(this._keys,this._sort,n),a=h.index;if(h.found)throw new Error("Key already exists: "+n);L.insertIndex(this._keys,a,n)}null==f?this._groups[n].push(i):L.insertIndex(this._groups[n],f,i)},s.prototype._remove=function(i){var n=this._getKey(i),f=this._groups[n];if(null!=f&&(L.remove(f,i),0===f.length)){delete this._groups[n];var h=L.getSortedIndex(this._keys,this._sort,n),a=h.index;if(!h.found)throw new Error("Key doesn't exist: "+n);L.removeIndex(this._keys,a)}},s.prototype.iterator=function(){var i=this;return A.flatten(A.map(A.fromArray(this._keys),function(n){return A.fromArray(i._groups[n])}))},s}(B.FV),x=function(u){function s(i,n){void 0===n&&(n=!0);var f=this;if(n){var h=i.events.on("removed",function(o){o.oldValue.dispose()},void 0,!1);f=u.call(this,function(){h.dispose(),A.each(i.iterator(),function(o){o.dispose()})})||this}else f=u.call(this,function(){A.each(i.iterator(),function(o){o.dispose()})})||this;return f}return(0,C.ZT)(s,u),s}(B.ku);function M(u,s){if(!(u>=0&&u<s))throw new Error("Index out of bounds: "+u)}var _=function(){function u(s){void 0===s&&(s=[]),this.events=new j.p,this._values=s}return Object.defineProperty(u.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),u.prototype.contains=function(s){return-1!==this._values.indexOf(s)},u.prototype.removeValue=function(s){for(var i=0,n=this._values.length;i<n;)this._values[i]===s?(this.removeIndex(i),--n):++i},u.prototype.indexOf=function(s){return L.indexOf(this._values,s)},Object.defineProperty(u.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),u.prototype.hasIndex=function(s){return s>=0&&s<this._values.length},u.prototype.getIndex=function(s){return this._values[s]},u.prototype.setIndex=function(s,i){M(s,this._values.length);var n=this._values[s];return n!==i&&(this._values[s]=i,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:s,oldValue:n,newValue:i}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:n}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:i})),n},u.prototype.insertIndex=function(s,i){M(s,this._values.length+1),L.insertIndex(this._values,s,i),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:s,newValue:i}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:i})},u.prototype._sortQuicksort=function(s,i,n){if(s<i){var f=this._sortPartition(s,i,n);this._sortQuicksort(s,f,n),this._sortQuicksort(f+1,i,n)}},u.prototype._sortPartition=function(s,i,n){for(var f=this._values,h=f[s],o=s-1,a=i+1;;){do{++o}while(n(f[o],h)<0);do{--a}while(n(f[a],h)>0);if(o>=a)return a;this.swap(o,a)}},u.prototype.sort=function(s){this._sortQuicksort(0,this._values.length-1,s)},u.prototype.swap=function(s,i){var n=this._values.length;if(M(s,n),M(i,n),s!==i){var f=this._values[s],h=this._values[i];this._values[s]=h,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:s,oldValue:f,newValue:h}),this._values[i]=f,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:i,oldValue:h,newValue:f})}},u.prototype.removeIndex=function(s){M(s,this._values.length);var i=this._values[s];return L.removeIndex(this._values,s),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:s,oldValue:i}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}),i},u.prototype.moveValue=function(s,i){var n=this.indexOf(s);if(-1!==n){var f=this._values[n];L.removeIndex(this._values,n),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:n,oldValue:f})}null==i?(i=this._values.length,this._values.push(s)):L.insertIndex(this._values,i,s),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:i,newValue:s}),-1===n&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:s})},u.prototype.push=function(s){var i=this._values.push(s)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:i,newValue:s}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:s}),s},u.prototype.unshift=function(s){this.insertIndex(0,s)},u.prototype.pushAll=function(s){var i=this;L.each(s,function(n){i.push(n)})},u.prototype.copyFrom=function(s){this.pushAll(s._values)},u.prototype.pop=function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)},u.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},u.prototype.setAll=function(s){var i=this,n=L.copy(this._values);this._values.length=0,L.each(s,function(f){i._values.push(f)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:n,newArray:this._values}),this.events.isEnabled("removed")&&L.each(n,function(f){i.events.dispatchImmediately("removed",{type:"removed",target:i,oldValue:f})}),this.events.isEnabled("inserted")&&L.each(this._values,function(f){i.events.dispatchImmediately("inserted",{type:"inserted",target:i,newValue:f})})},u.prototype.clear=function(){this.setAll([])},u.prototype.iterator=function(){return A.fromArray(this._values)},u.prototype[Symbol.iterator]=function(){var s,i;return(0,C.Jh)(this,function(n){switch(n.label){case 0:s=this._values.length,i=0,n.label=1;case 1:return i<s?[4,this._values[i]]:[3,4];case 2:n.sent(),n.label=3;case 3:return++i,[3,1];case 4:return[2]}})},u.prototype.each=function(s){L.each(this._values,s)}
1,u.prototype.range=function(s,i){if(s<=i){var n=i-s;return s=Math.max(s,0),i=Math.min(s+n,this._values.length),new D(this._values,s,i)}throw new Error("Start index must be lower than end index")},u.prototype.backwards=function(){return new D(this._values,this._values.length,0)},u}(),p=function(u){function s(i){var n=u.call(this)||this;return n.template=i,n}return(0,C.ZT)(s,u),Object.defineProperty(s.prototype,"template",{get:function(){return this._template},set:function(i){i.isTemplate=!0,this._template=i},enumerable:!0,configurable:!0}),s.prototype.copyFrom=function(i){var n=this;A.each(i.iterator(),function(f){n.push(f.clone())})},s.prototype.create=function(i){var n=null!=i?new i:this.template.clone();return this.push(n),n},s.prototype.clone=function(){for(var i=new s(this.template),n=this.values,f=n.length,h=0;h<f;++h)i.push(n[h].clone());return i},s}(_)},62566:(tt,k,m)=>{m.d(k,{Z:()=>L,c:()=>j});var C=m(19845),B=m(15241);function j(){for(var A=[],D=0;D<arguments.length;D++)A[D]=arguments[D];B.Y.verbose&&console&&console.log.apply(console,(0,C.fl)(A))}function L(){for(var A=[],D=0;D<arguments.length;D++)A[D]=arguments[D];B.Y.suppressWarnings||console&&console.warn.apply(console,(0,C.fl)(A))}},75331:(tt,k,m)=>{m.r(k),m.d(k,{load:()=>B,readBlob:()=>j});var C=m(89196);function B(L,A,D){return new Promise(function(T,x){var M=C.hasValue(D)&&"blob"==D.responseType,_=new XMLHttpRequest;if(_.onload=function(){if(200===_.status){var i;if(M)return void j(i=_.response).then(function(f){var h={xhr:_,error:!1,response:f,blob:i,type:_.getResponseHeader("Content-Type"),target:A};T(h)});var n={xhr:_,error:!1,response:_.responseText||_.response,blob:i,type:_.getResponseHeader("Content-Type"),target:A};T(n)}else x({xhr:_,error:!0,type:_.getResponseHeader("Content-Type"),target:A})},_.onerror=function(){x({xhr:_,error:!0,type:_.getResponseHeader("Content-Type"),target:A})},_.open("GET",L,!0),D&&D.withCredentials&&(_.withCredentials=!0),C.hasValue(D)){if(C.hasValue(D.requestHeaders))for(var p=0;p<D.requestHeaders.length;p++){var u=D.requestHeaders[p];_.setRequestHeader(u.key,u.value)}C.hasValue(D.responseType)&&(_.responseType=D.responseType)}_.send()})}function j(L){return new Promise(function(A,D){var T=new FileReader;T.onload=function(x){A(T.result)},T.onerror=function(x){D(x)},T.readAsText(L)})}},96376:(tt,k,m)=>{function C(B,j){return B===j?0:B<j?-1:1}m.r(k),m.d(k,{order:()=>C})},86324:(tt,k,m)=>{function C(j){switch(j){case 0:return 0;case-1:return 1;case 1:return-1}}function B(j,L){return 0===j?L:j}m.d(k,{G:()=>C,or:()=>B})},59625:(tt,k,m)=>{m.d(k,{Et:()=>_,IH:()=>p,Xf:()=>u});var C=m(19845),B=m(84245),j=m(23962),L=m(80383),A=m(9450),D=m(43856),T=m(17478),x=m(89196),M=m(50954),_=function(s){function i(){var n=s.call(this)||this;return n._rules=new j.aV,n._appliedRules={},n._appliedTargets=[],n._useDefault=!0,n.adapter=new L.L1(n),n._enabled=!1,n._responsiveDisposers=[],n._noStates=[],n.className="Responsive",n.rules.events.on("inserted",function(){n.checkRules()},!0),n.rules.events.on("removed",function(){n.checkRules()},!0),n._disposers.push(n.rules.events),n.applyTheme(),n}return(0,C.ZT)(i,s),Object.defineProperty(i.prototype,"component",{get:function(){return this._component},set:function(n){var f=this;n!=this._component&&(this.disposeResponsiveHandlers(),this._component=n,this._responsiveDisposers.push(x.getValue(this.component).events.on("sizechanged",function(){f.checkRules()},this)),this._responsiveDisposers.push(x.getValue(this.component).events.once("datavalidated",function(){f._component.isReady()&&f.checkRules(!0)},this)),this.enabled=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"enabled",{get:function(){return this.adapter.apply("enabled",this._enabled)},set:function(n){this._enabled!=n&&(this._enabled=n,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"useDefault",{get:function(){return this.adapter.apply("useDefault",this._useDefault)},set:function(n){this._useDefault!=n&&(this._useDefault=n,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rules",{get:function(){return this.adapter.apply("rules",this._rules)},set:function(n){this._rules=n,this._enabled=!0,this.applyRules()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"defaultRules",{get:function(){return this.adapter.apply("defaultRules",p)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"allRules",{get:function(){var n=new j.aV;return this.useDefault&&n.copyFrom(this.defaultRules),n.copyFrom(this.rules),this.adapter.apply("allRules",n)},enumerable:!0,configurable:!0}),i.prototype.isApplied=function(n){var f=this._appliedRules[n];return!!x.hasValue(f)&&f},i.prototype.checkRules=function(n){var f=this;void 0===n&&(n=!1);var h=this.allRules;if(h&&0!=h.length){var o=!1,a=x.getValue(this.component);
1if(0!=a.pixelWidth&&0!=a.pixelHeight&&(D.each(h.iterator(),function(c){c.id||(c.id=A.i.getUniqueId());var d=c.relevant(a);(d&&!f.isApplied(c.id)||!d&&f.isApplied(c.id))&&(o=!0),f._appliedRules[c.id]=d}),n&&(o=!0),o)){if(!this.component.isReady())return a.hidden=!0,void a.events.once("ready",function(c){c.target.show(0),f._applyRules()});this.dispatchImmediately("ruleschanged"),this._applyRules()}}},i.prototype._applyRules=function(){var n=this;this._timeout&&this._timeout.dispose(),this._timeout=this.setTimeout(function(){n.applyRules()},10)},i.prototype.applyRules=function(n){var f=this,h=x.hasValue(n)?n:x.getValue(this.component),o=!1;if(this.enabled){var a=!1;D.each(this.allRules.iterator(),function(c){var d=f.getState(c,h);d&&(o||(-1!==T.indexOf(f._appliedTargets,h.uid)&&h.setState(f.getDefaultState(h),0),o=!0),f.isApplied(x.getValue(c.id))&&(d.transitionDuration=0,f.setTargetState(h,d),f.dispatchImmediately("ruleapplied",{rule:c}),a=!0))}),a?T.replace(this._appliedTargets,h.uid):T.remove(this._appliedTargets,h.uid)}h.children&&D.each(h.children.iterator(),function(c){f.applyRules(c)})},i.prototype.getState=function(n,f){var h="responsive-"+n.id,o=f.uid+"_"+h;if(-1===T.indexOf(this._noStates,o)){if(f.states.hasKey(h))return f.states.getKey(h);var a=n.state(f,h);return a||this._noStates.push(o),a}},i.prototype.getDefaultState=function(n){return n.states.hasKey("responsive-default")?n.states.getKey("responsive-default"):n.states.create("responsive-default")},i.prototype.setTargetState=function(n,f){var h=this,o=this.getDefaultState(n);M.each(f.properties,function(a,c){x.hasValue(o.properties[a])||(o.properties[a]=h.getValue(n,a))}),n.setState(f)},i.prototype.getValue=function(n,f){var h=n.getPropertyValue(f);return!x.hasValue(h)&&x.hasValue(n[f])&&(h=n[f]),h},i.prototype.dispose=function(){this.disposeResponsiveHandlers(),s.prototype.dispose.call(this)},i.prototype.disposeResponsiveHandlers=function(){for(var n=this._responsiveDisposers.pop();n;)n.dispose(),n=this._responsiveDisposers.pop()},i}(B.y),p=new j.aV;p.events.on("inserted",function(s){s.newValue.id=A.i.getUniqueId()});var u=function(){function s(){}return s.widthXXS=function(i){return i.pixelWidth<=s.XXS},s.widthXS=function(i){return i.pixelWidth<=s.XS},s.widthS=function(i){return i.pixelWidth<=s.S},s.widthM=function(i){return i.pixelWidth<=s.M},s.widthL=function(i){return i.pixelWidth<=s.L},s.widthXL=function(i){return i.pixelWidth<=s.XL},s.widthXXL=function(i){return i.pixelWidth<=s.XXL},s.heightXXS=function(i){return i.pixelHeight<=s.XXS},s.heightXS=function(i){return i.pixelHeight<=s.XS},s.heightS=function(i){return i.pixelHeight<=s.S},s.heightM=function(i){return i.pixelHeight<=s.M},s.heightL=function(i){return i.pixelHeight<=s.L},s.heightXL=function(i){return i.pixelHeight<=s.XL},s.heightXXL=function(i){return i.pixelHeight<=s.XXL},s.isXXS=function(i){return i.pixelWidth<=s.XXS&&i.pixelHeight<=s.XXS},s.isXS=function(i){return i.pixelWidth<=s.XS&&i.pixelHeight<=s.XS},s.isS=function(i){return i.pixelWidth<=s.S&&i.pixelHeight<=s.S},s.isM=function(i){return i.pixelWidth<=s.M&&i.pixelHeight<=s.M},s.isL=function(i){return i.pixelWidth<=s.L&&i.pixelHeight<=s.L},s.isXL=function(i){return i.pixelWidth<=s.XL&&i.pixelHeight<=s.XL},s.isXXL=function(i){return i.pixelWidth<=s.XXL&&i.pixelHeight<=s.XXL},s.maybeXXS=function(i){return i.pixelWidth<=s.XXS||i.pixelHeight<=s.XXS},s.maybeXS=function(i){return i.pixelWidth<=s.XS||i.pixelHeight<=s.XS},s.maybeS=function(i){return i.pixelWidth<=s.S||i.pixelHeight<=s.S},s.maybeM=function(i){return i.pixelWidth<=s.M||i.pixelHeight<=s.M},s.maybeL=function(i){return i.pixelWidth<=s.L||i.pixelHeight<=s.L},s.maybeXL=function(i){return i.pixelWidth<=s.XL||i.pixelHeight<=s.XL},s.maybeXXL=function(i){return i.pixelWidth<=s.XXL||i.pixelHeight<=s.XXL},s.XXS=100,s.XS=200,s.S=300,s.M=400,s.L=600,s.XL=800,s.XXL=1e3,s}()},8136:(tt,k,m)=>{m.d(k,{$X:()=>T,GS:()=>D,IK:()=>x,Rj:()=>M});var C=m(19845),B=m(63351),j=m(17478),L=m(43856),A=m(89196),D=function(){function _(p){this._values=[],this.events=new B.p,null!=p&&this.setAll(p)}return Object.defineProperty(_.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),_.prototype._insert=function(p){return this._values.push(p),this._values.length-1},Object.defineProperty(_.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),_.prototype.indexOf=function(p){return j.indexOf(this._values,p)},_.prototype.contains=function(p){return-1!==this.indexOf(p)},_.prototype.getIndex=function(p){return this._values[p]},Object.defineProperty(_.prototype,"first",{get:function(){return this._values[0]},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"last",{get:function(){return this._values[this._values.length-1]},enumerable:!0,configurable:!0}),_.prototype.insert=function(p){var u=this._insert(p);this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,index:u,newValue:p})},_.prototype.remove=function(p){var u=this.indexOf(p);if(-1!==u){var s=this._values[u];j.removeIndex(this._values,u),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,index:u,oldValue:s})}},_.prototype.setAll=function(p){var u=this;j.eachReverse(this._values,function(s,i){u._values.pop(),u.events.isEnabled("removed")&&u.events.dispatchImmediately("removed",{type:"removed",target:u,index:i,oldValue:s})}),j.each(p,function(s){u.insert(s)})},_.prototype.clear=function(){this.setAll([])},_.prototype.slice=function(p,u){var s=new _;return s._values=this._values.slice(p,u),s},_.prototype.findClosestIndex=function(p,u,s){void 0===s&&(s="any");var n,f,i=-1,h=0;return L.eachContinue(this.iterator(),function(o){var a=u(o);if("any"===s){if(a===p)return i=h,!1;var c=Math.abs(p-a);(!A.hasValue(f)||f>c)&&(i=h,n=a,f=c)}else"left"===s&&a<p?(!A.hasValue(n)||n<a)&&(i=h,n=a):"right"===s&&a>=p&&(!A.hasValue(n)||n>=a)&&(i=h,n=a);return++h,!0}),-1===i&&("left"===s?i=0:"right"===s&&(i=this.length-1)),i},_.prototype.iterator=function(){return L.fromArray(this._values)},_.prototype[Symbol.iterator]=function(){var p,u;return(0,C.Jh)(this,function(s){switch(s.label){case 0:p=this._values.length,u=0,s.label=1;case 1:return u<p?[4,this._values[u]]:[3,4];case 2:s.sent(),s.label=3;case 3:return++u,[3,1];case 4:return[2]}})}
1,_.prototype.each=function(p){j.each(this._values,p)},_}(),T=function(_){function p(u){var s=_.call(this)||this;return s._ordering=u,s}return(0,C.ZT)(p,_),p.prototype._insert=function(u){var s=j.getSortedIndex(this._values,this._ordering,u).index;return j.insertIndex(this._values,s,u),s},p.prototype.indexOf=function(u){var s=j.getSortedIndex(this._values,this._ordering,u);return s.found?s.index:-1},p.prototype.update=function(u){var s=j.indexOf(this._values,u);if(-1!==s){var i=this._values.length-1;(0===s||this._ordering(this._values[s-1],u)<0)&&(s===i||this._ordering(u,this._values[s+1])<0)||(j.removeIndex(this._values,s),this._insert(u))}},p}(D),x=function(_){function p(u){var s=_.call(this)||this;return s.template=u,s}return(0,C.ZT)(p,_),Object.defineProperty(p.prototype,"template",{get:function(){return this._template},set:function(u){u.isTemplate=!0,this._template=u},enumerable:!0,configurable:!0}),p.prototype.copyFrom=function(u){var s=this;L.each(u.iterator(),function(i){s.insert(i.clone())})},p.prototype.slice=function(u,s){var i=new p(this.template);return i._values=this._values.slice(u,s),i},p.prototype.create=function(u){var s=null!=u?new u:this.template.clone();return this.insert(s),s},p}(D),M=function(_){function p(u,s){var i=_.call(this,s)||this;return i.template=u,i}return(0,C.ZT)(p,_),Object.defineProperty(p.prototype,"template",{get:function(){return this._template},set:function(u){u.isTemplate=!0,this._template=u},enumerable:!0,configurable:!0}),p.prototype.copyFrom=function(u){var s=this;L.each(u.iterator(),function(i){s.insert(i.clone())})},p.prototype.create=function(u){var s=null!=u?new u:this.template.clone();return this.insert(s),s},p}(T)},80732:(tt,k,m)=>{m.r(k),m.d(k,{add:()=>M,checkChange:()=>x,copy:()=>T,getDuration:()=>L,getNextUnit:()=>j,getTime:()=>D,getTimezoneMinutes:()=>u,now:()=>A,round:()=>_,setTimezone:()=>p,timeUnitDurations:()=>B});var C=m(89196),B={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function j(s){switch(s){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 L(s,i){return C.hasValue(i)||(i=1),B[s]*i}function A(){return new Date}function D(){return A().getTime()}function T(s){return new Date(s.getTime())}function x(s,i,n,f){s=new Date(s.getTime()),i=new Date(i.getTime());var h=0,o=0;!f&&"millisecond"!=n&&(h=s.getTimezoneOffset(),s.setUTCMinutes(s.getUTCMinutes()-h),o=i.getTimezoneOffset(),i.setUTCMinutes(i.getUTCMinutes()-o));var a=!1;switch(n){case"year":s.getUTCFullYear()!=i.getUTCFullYear()&&(a=!0);break;case"month":(s.getUTCFullYear()!=i.getUTCFullYear()||s.getUTCMonth()!=i.getUTCMonth())&&(a=!0);break;case"day":(s.getUTCMonth()!=i.getUTCMonth()||s.getUTCDate()!=i.getUTCDate())&&(a=!0);break;case"hour":s.getUTCHours()!=i.getUTCHours()&&(a=!0);break;case"minute":s.getUTCMinutes()!=i.getUTCMinutes()&&(a=!0);break;case"second":s.getUTCSeconds()!=i.getUTCSeconds()&&(a=!0);break;case"millisecond":s.getTime()!=i.getTime()&&(a=!0)}if(a)return!0;var c=j(n);return!!c&&(s.setUTCMinutes(s.getUTCMinutes()+h),i.setUTCMinutes(i.getUTCMinutes()+o),x(s,i,c,f))}function M(s,i,n,f){var h=0;switch(!f&&"millisecond"!=i&&(h=s.getTimezoneOffset(),s.setUTCMinutes(s.getUTCMinutes()-h)),i){case"day":var o=s.getUTCDate();s.setUTCDate(o+n);break;case"second":var a=s.getUTCSeconds();s.setUTCSeconds(a+n);break;case"millisecond":var c=s.getUTCMilliseconds();s.setUTCMilliseconds(c+n);break;case"hour":var d=s.getUTCHours();s.setUTCHours(d+n);break;case"minute":var r=s.getUTCMinutes();s.setUTCMinutes(r+n);break;case"year":var b=s.getUTCFullYear();s.setUTCFullYear(b+n);break;case"month":var v=s.getUTCMonth();s.setUTCMonth(v+n);break;case"week":var e=s.getUTCDate();s.setUTCDate(e+7*n)}if(!f&&"millisecond"!=i&&(s.setUTCMinutes(s.getUTCMinutes()+h),"day"==i||"week"==i||"month"==i||"year"==i)){var g=s.getTimezoneOffset();if(g!=h){var P=g-h;s.setUTCMinutes(s.getUTCMinutes()+P),s.getTimezoneOffset()!=g&&s.setUTCMinutes(s.getUTCMinutes()-P)}}return s}function _(s,i,n,f,h,o,a,c){void 0===a&&(a=0),C.isNumber(n)||(n=1);var d=0;switch(c&&-1!=["day","month","week","year"].indexOf(i)&&(s=p(s,c)),!h&&"millisecond"!=i&&(d=s.getTimezoneOffset(),s.setUTCMinutes(s.getUTCMinutes()-d)),i){case"day":var r=s.getUTCDate();if(n>
11){if(o){o=_(o,"day",1);var b=s.getTime()-o.getTime(),v=Math.floor(b/L("day")/n),e=L("day",v*n);s.setTime(o.getTime()+e-d*L("minute"))}}else s.setUTCDate(r);s.setUTCHours(0,0,0,0);break;case"second":var g=s.getUTCSeconds();n>1&&(g=Math.floor(g/n)*n),s.setUTCSeconds(g,0);break;case"millisecond":if(1==n)return s;var P=s.getUTCMilliseconds();P=Math.floor(P/n)*n,s.setUTCMilliseconds(P);break;case"hour":var E=s.getUTCHours();n>1&&(E=Math.floor(E/n)*n),s.setUTCHours(E,a,0,0);break;case"minute":var I=s.getUTCMinutes();P=s.getUTCMilliseconds(),n>1&&(I=Math.floor(I/n)*n),s.setUTCMinutes(I,0,0);break;case"month":var W=s.getUTCMonth();n>1&&(W=Math.floor(W/n)*n),s.setUTCMonth(W,1),s.setUTCHours(0,a,0,0);break;case"year":var R=s.getUTCFullYear();n>1&&(R=Math.floor(R/n)*n),s.setUTCFullYear(R,0,1),s.setUTCHours(0,a,0,0);break;case"week":var Z=s.getUTCDate(),$=s.getUTCDay();C.isNumber(f)||(f=1),s.setUTCDate(Z=$>=f?Z-$+f:Z-(7+$)+f),s.setUTCHours(0,a,0,0)}if(!h&&"millisecond"!=i&&(s.setUTCMinutes(s.getUTCMinutes()+d),"day"==i||"week"==i||"month"==i||"year"==i)){var Y=s.getTimezoneOffset();if(Y!=d){var q=Y-d;s.setUTCMinutes(s.getUTCMinutes()+q)}}return s}function p(s,i){return new Date(s.toLocaleString("en-US",{timeZone:i}))}function u(s){var i=new Date;return i.setHours(0,0,0,0),p(i,s).getMinutes()}},86280:(tt,k,m)=>{m.d(k,{c:()=>L});var C=m(19845),B=m(84245),j=m(9450),L=function(A){function D(){var T=null!==A&&A.apply(this,arguments)||this;return T._validateDisposer=null,T}return(0,C.ZT)(D,A),D.prototype.invalidate=function(){null===this._validateDisposer&&(this._validateDisposer=j.i.events.on("exitframe",this.validate,this))},D.prototype.validate=function(){null!==this._validateDisposer&&(this._validateDisposer.dispose(),this._validateDisposer=null)},D.prototype.dispose=function(){null!==this._validateDisposer&&(this._validateDisposer.dispose(),this._validateDisposer=null),A.prototype.dispose.call(this)},D}(B.y)}}]);
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.