@rsdoctor/client 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/resource/css/{index.27c3165c.css → index.2e484d77.css} +1 -1
- package/dist/resource/js/187.892c5bc9.js +1 -0
- package/dist/resource/js/31.e37348c3.js +1 -0
- package/dist/resource/js/339.d97a5eb5.js +194 -0
- package/dist/resource/js/413.463df149.js +1 -0
- package/dist/resource/js/715.beadd8b5.js +1 -0
- package/dist/resource/js/ant-design-0.8a716a60.js +81 -0
- package/dist/resource/js/ant-design-1.fd736134.js +235 -0
- package/dist/resource/js/ant-design-2.2e00f600.js +133 -0
- package/dist/resource/js/ant-design-3.cf9e3262.js +106 -0
- package/dist/resource/js/ant-design-4.59c4f277.js +255 -0
- package/dist/resource/js/ant-design-icons.1ca4a07e.js +1 -0
- package/dist/resource/js/index.b1d41f5e.js +2 -0
- package/dist/resource/js/rc-0.201d292e.js +1 -0
- package/dist/resource/js/rc-1.ad04108d.js +1 -0
- package/dist/resource/js/react.9f38b670.js +1 -0
- package/dist/resource/js/vender.77ed69e7.js +1 -0
- package/package.json +8 -8
- package/dist/resource/js/831.f6f6777b.js +0 -2
- package/dist/resource/js/ant-design-0.f3023675.js +0 -136
- package/dist/resource/js/ant-design-1.986ef0aa.js +0 -223
- package/dist/resource/js/ant-design-icons.f48afb52.js +0 -1
- package/dist/resource/js/index.5f251458.js +0 -194
- package/dist/resource/js/rc-0.66d40987.js +0 -1
- package/dist/resource/js/rc-1.66ef9f30.js +0 -1
- package/dist/resource/js/react.a788229c.js +0 -1
- package/dist/resource/js/vender.bf18c7c2.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["413"],{42605:function(t,e,r){r.d(e,{Z:()=>x});var i=r(76109),n=r(26951),o=r(92638),a=r(43945),s=r(84861),h=r(4418),l=r(74683),u=r(61537),c=r(79629),f=s.Yf(),p=(0,u.Z)(),d=function(){function t(){this.group=new n.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,l.v)({plan:g,reset:_}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,r,i){},t.prototype.highlight=function(t,e,r,i){var n=t.getData(i&&i.dataType);n&&v(n,i,"emphasis")},t.prototype.downplay=function(t,e,r,i){var n=t.getData(i&&i.dataType);n&&v(n,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,r,i){this.render(t,e,r,i)},t.prototype.updateLayout=function(t,e,r,i){this.render(t,e,r,i)},t.prototype.updateVisual=function(t,e,r,i){this.render(t,e,r,i)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function y(t,e,r){t&&(0,h.Av)(t)&&("emphasis"===e?h.fD:h.Mh)(t,r)}function v(t,e,r){var n=s.gO(t,e),o=e&&null!=e.highlightKey?(0,h.RW)(e.highlightKey):null;null!=n?(0,i.each)(s.kF(n),function(e){y(t.getItemGraphicEl(e),r,o)}):t.eachItemGraphicEl(function(t){y(t,r,o)})}function g(t){return p(t.model)}function _(t){var e=t.model,r=t.ecModel,i=t.api,n=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=n&&f(n).updateMethod,h=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==h&&a[h](e,r,i,n),m[h]}a.dm(d,["dispose"]),a.au(d);var m={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let x=d},80224:function(t,e,r){r.d(e,{Z:()=>s});var i=r(26951),n=r(92638),o=r(43945),a=function(){function t(){this.group=new i.Z,this.uid=n.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,r,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,r,i){},t.prototype.updateLayout=function(t,e,r,i){},t.prototype.updateVisual=function(t,e,r,i){},t.prototype.toggleBlurSeries=function(t,e,r){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.dm(a),o.au(a);let s=a},2645:function(t,e,r){r.d(e,{Z:()=>m});var i=r(76109),n=r(41420),o=r(2668),a=i.each,s=i.isObject,h=function(){function t(e){var r,n,o=e.mappingMethod,s=e.type,h=this.option=i.clone(e);this.type=s,this.mappingMethod=o,this._normalizeData=_[o];var u=t.visualHandlers[s];this.applyVisual=u.applyVisual,this.getColorMapper=u.getColorMapper,this._normalizedToVisual=u._normalizedToVisual[o],"piecewise"===o?(l(h),n=(r=h).pieceList,r.hasSpecialVisual=!1,i.each(n,function(t,e){t.originIndex=e,null!=t.visual&&(r.hasSpecialVisual=!0)})):"category"===o?h.categories?function(t){var e=t.categories,r=t.categoryMap={},n=t.visual;if(a(e,function(t,e){r[t]=e}),!i.isArray(n)){var o=[];i.isObject(n)?a(n,function(t,e){var i=r[e];o[null!=i?i:-1]=t}):o[-1]=n,n=g(t,o)}for(var s=e.length-1;s>=0;s--)null==n[s]&&(delete r[e[s]],e.pop())}(h):l(h,!0):(i.assert("linear"!==o||h.dataExtent),l(h))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return i.bind(this._normalizeData,this)},t.listVisualTypes=function(){return i.keys(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,r){i.isObject(t)?i.each(t,e,r):e.call(r,t)},t.mapVisual=function(e,r,n){var o,a=i.isArray(e)?[]:i.isObject(e)?{}:(o=!0,null);return t.eachVisual(e,function(t,e){var i=r.call(n,t,e);o?a=i:a[e]=i}),a},t.retrieveVisuals=function(e){var r,i={};return e&&a(t.visualHandlers,function(t,n){e.hasOwnProperty(n)&&(i[n]=e[n],r=!0)}),r?i:null},t.prepareVisualTypes=function(t){if(i.isArray(t))t=t.slice();else{if(!s(t))return[];var e=[];a(t,function(t,r){e.push(r)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!!(t&&0===t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,r){for(var n,o=1/0,a=0,s=e.length;a<s;a++){var h=e[a].value;if(null!=h){if(h===t||i.isString(h)&&h===t+"")return a;r&&k(h,a)}}for(var a=0,s=e.length;a<s;a++){var l,u,c,f,p,d,y,v,g,_,m,x,w=e[a],b=w.interval,S=w.close;if(b){if(b[0]===-1/0){if(l=S[1],u=t,c=b[1],l?u<=c:u<c)return a}else if(b[1]===1/0){if(f=S[0],p=b[0],d=t,f?p<=d:p<d)return a}else{if(y=S[0],v=b[0],g=t,(y?v<=g:v<g)&&(_=S[1],m=t,x=b[1],_?m<=x:m<x))return a}r&&k(b[0],a),r&&k(b[1],a)}}if(r)return t===1/0?e.length-1:t===-1/0?0:n;function k(e,r){var i=Math.abs(e-t);i<o&&(o=i,n=r)}},t.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var t=this.option;return i.bind("category"===t.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),p.call(this,t)}:function(e,r,i){var o=!!i;return r||(e=this._normalizeData(e)),i=n.fastLerp(e,t.parsedVisual,i),o?i:n.stringify(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return n.stringify(n.fastLerp(t,this.option.parsedVisual),"rgba")},category:p,piecewise:function(t,e){var r=v.call(this,e);return null==r&&(r=n.stringify(n.fastLerp(t,this.option.parsedVisual),"rgba")),r},fixed:d}},colorHue:u(function(t,e){return n.modifyHSL(t,e)}),colorSaturation:u(function(t,e){return n.modifyHSL(t,null,e)}),colorLightness:u(function(t,e){return n.modifyHSL(t,null,null,e)}),colorAlpha:u(function(t,e){return n.modifyAlpha(t,e)}),decal:{applyVisual:f("decal"),_normalizedToVisual:{linear:null,category:p,piecewise:null,fixed:null}},opacity:{applyVisual:f("opacity"),_normalizedToVisual:y([0,1])},liftZ:{applyVisual:f("liftZ"),_normalizedToVisual:{linear:d,category:d,piecewise:d,fixed:d}},symbol:{applyVisual:function(t,e,r){r("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:c,category:p,piecewise:function(t,e){var r=v.call(this,e);return null==r&&(r=c.call(this,t)),r},fixed:d}},symbolSize:{applyVisual:f("symbolSize"),_normalizedToVisual:y([0,1])}},t}();function l(t,e){var r=t.visual,n=[];i.isObject(r)?a(r,function(t){n.push(t)}):null!=r&&n.push(r),e||1!==n.length||({color:1,symbol:1}).hasOwnProperty(t.type)||(n[1]=n[0]),g(t,n)}function u(t){return{applyVisual:function(e,r,i){var n=this.mapValueToVisual(e);i("color",t(r("color"),n))},_normalizedToVisual:y([0,1])}}function c(t){var e=this.option.visual;return e[Math.round((0,o.NU)(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,r,i){i(t,this.mapValueToVisual(e))}}function p(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function d(){return this.option.visual[0]}function y(t){return{linear:function(e){return(0,o.NU)(e,t,this.option.visual,!0)},category:p,piecewise:function(e,r){var i=v.call(this,r);return null==i&&(i=(0,o.NU)(e,t,this.option.visual,!0)),i},fixed:d}}function v(t){var e=this.option,r=e.pieceList;if(e.hasSpecialVisual){var i=h.findPieceIndex(t,r),n=r[i];if(n&&n.visual)return n.visual[this.type]}}function g(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=i.map(e,function(t){return n.parse(t)||[0,0,0,1]})),e}var _={linear:function(t){return(0,o.NU)(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,r=h.findPieceIndex(t,e,!0);if(null!=r)return(0,o.NU)(r,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:i.noop};let m=h},67192:function(t,e,r){r.d(e,{Z:()=>n});var i=r(92711);function n(t,e){t.eachRawSeries(function(r){if(!t.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(t){var r=n.getItemVisual(t,"decal");r&&(n.ensureUniqueItemVisual(t,"style").decal=(0,i.I)(r,e))});var o=n.getVisual("decal");o&&(n.getVisual("style").decal=(0,i.I)(o,e))}})}},31706:function(t,e,r){function i(t,e,r){switch(r){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,r)}}function n(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}r.d(e,{Or:()=>i,UL:()=>n})},90247:function(t,e,r){r.d(e,{$P:()=>v,TD:()=>p,Tn:()=>y});var i=r(76109),n=r(49341),o=r(52382),a=r(56853),s=r(72673),h=(0,r(84861).Yf)(),l={itemStyle:(0,n.Z)(o.t,!0),lineStyle:(0,n.Z)(a.v,!0)},u={lineStyle:"stroke",itemStyle:"fill"};function c(t,e){var r=t.visualStyleMapper||l[e];return r||(console.warn("Unknown style type '"+e+"'."),l.itemStyle)}function f(t,e){var r=t.visualDrawType||u[e];return r||(console.warn("Unknown style type '"+e+"'."),"fill")}var p={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",o=t.getModel(n),a=c(t,n)(o),s=o.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var h=f(t,n),l=a[h],u=(0,i.isFunction)(l)?l:null,p="auto"===a.fill||"auto"===a.stroke;if(!a[h]||u||p){var d=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[h]||(a[h]=d,r.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||(0,i.isFunction)(a.fill)?d:a.fill,a.stroke="auto"===a.stroke||(0,i.isFunction)(a.stroke)?d:a.stroke}if(r.setVisual("style",a),r.setVisual("drawType",h),!e.isSeriesFiltered(t)&&u)return r.setVisual("colorFromPalette",!1),{dataEach:function(e,r){var n=t.getDataParams(r),o=(0,i.extend)({},a);o[h]=u(n),e.setItemVisual(r,"style",o)}}}},d=new s.Z,y={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",o=c(t,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(t,e){var r=t.getRawDataItem(e);if(r&&r[n]){d.option=r[n];var s=o(d),h=t.ensureUniqueItemVisual(e,"style");(0,i.extend)(h,s),d.option.decal&&(t.setItemVisual(e,"decal",d.option.decal),d.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},v={performRawSeries:!0,overallReset:function(t){var e=(0,i.createHashMap)();t.eachSeries(function(t){var r=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+r,n=e.get(i);n||(n={},e.set(i,n)),h(t).scope=n}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var r=e.getRawData(),i={},n=e.getData(),o=h(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=f(e,a);n.each(function(t){i[n.getRawIndex(t)]=t}),r.each(function(t){var a=i[t];if(n.getItemVisual(a,"colorFromPalette")){var h=n.ensureUniqueItemVisual(a,"style"),l=r.getName(t)||t+"",u=r.count();h[s]=e.getColorFromPalette(l,o,u)}})}})}}},95522:function(t,e,r){r.d(e,{m:()=>s,n:()=>a});var i=r(76109),n=["symbol","symbolSize","symbolRotate","symbolOffset"],o=n.concat(["symbolKeepAspect"]),a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData();if(t.legendIcon&&r.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var o={},a={},s=!1,h=0;h<n.length;h++){var l=n[h],u=t.get(l);(0,i.isFunction)(u)?(s=!0,a[l]=u):o[l]=u}if(o.symbol=o.symbol||t.defaultSymbol,r.setVisual((0,i.extend)({legendIcon:t.legendIcon||o.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},o)),!e.isSeriesFiltered(t)){var c=(0,i.keys)(a);return{dataEach:s?function(e,r){for(var i=t.getRawValue(r),n=t.getDataParams(r),o=0;o<c.length;o++){var s=c[o];e.setItemVisual(r,s,a[s](i,n))}}:null}}}}},s={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var r=t.getItemModel(e),i=0;i<o.length;i++){var n=o[i],a=r.getShallow(n,!0);null!=a&&t.setItemVisual(e,n,a)}}:null}}}},86196:function(t,e,r){r.d(e,{Z:()=>x});var i=r(68943),n=r(83246),o=r(94757),a=r(86944),s=r(95260),h=r(76109),l=r(8862),u=r(41420),c=r(54709),f="__zr_normal__",p=i.dN.concat(["ignore"]),d=(0,h.reduce)(i.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),y={},v=new o.Z(0,0,0,0),g=function(){function t(t){this.id=(0,h.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,r){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,n=e.innerTransformable,o=void 0,a=void 0,h=!1;n.parent=i?this:null;var l=!1;if(n.copyTransform(e),null!=r.position){r.layoutRect?v.copy(r.layoutRect):v.copy(this.getBoundingRect()),i||v.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(y,r,v):(0,s.wI)(y,r,v),n.x=y.x,n.y=y.y,o=y.align,a=y.verticalAlign;var u=r.origin;if(u&&null!=r.rotation){var f=void 0,p=void 0;"center"===u?(f=.5*v.width,p=.5*v.height):(f=(0,s.GM)(u[0],v.width),p=(0,s.GM)(u[1],v.height)),l=!0,n.originX=-n.x+f+(i?0:v.x),n.originY=-n.y+p+(i?0:v.y)}}null!=r.rotation&&(n.rotation=r.rotation);var d=r.offset;d&&(n.x+=d[0],n.y+=d[1],l||(n.originX=-d[0],n.originY=-d[1]));var g=null==r.inside?"string"==typeof r.position&&r.position.indexOf("inside")>=0:r.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,x=void 0,w=void 0;g&&this.canBeInsideText()?(m=r.insideFill,x=r.insideStroke,(null==m||"auto"===m)&&(m=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(m),w=!0)):(m=r.outsideFill,x=r.outsideStroke,(null==m||"auto"===m)&&(m=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(m),w=!0)),((m=m||"#000")!==_.fill||x!==_.stroke||w!==_.autoStroke||o!==_.align||a!==_.verticalAlign)&&(h=!0,_.fill=m,_.stroke=x,_.autoStroke=w,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),e.__dirty|=c.YV,h&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?l.GD:l.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r="string"==typeof e&&(0,u.parse)(e);r||(r=[255,255,255,1]);for(var i=r[3],n=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*i+255*!n*(1-i);return r[3]=1,(0,u.stringify)(r,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,h.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,h.isObject)(t))for(var r=(0,h.keys)(t),i=0;i<r.length;i++){var n=r[i];this.attrKV(n,t[n])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,r=0;r<this.animators.length;r++){var i=this.animators[r],n=i.__fromStateTransition;if(!i.getLoop()&&(!n||n===f)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,p)},t.prototype._savePrimaryToNormal=function(t,e,r){for(var i=0;i<r.length;i++){var n=r[i];null==t[n]||n in e||(e[n]=this[n])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,r,i){var n,o=t===f;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,h.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(n=this.stateProxy(t)),n||(n=this.states&&this.states[t]),!n&&!o)return void(0,h.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(n);var l=!!(n&&n.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,n,this._normalState,e,!r&&!this.__inHover&&s&&s.duration>0,s);var u=this._textContent,p=this._textGuide;return u&&u.useState(t,e,r,l),p&&p.useState(t,e,r,l),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),n}}},t.prototype.useStates=function(t,e,r){if(t.length){var i=[],n=this.currentStates,o=t.length,a=o===n.length;if(a){for(var s=0;s<o;s++)if(t[s]!==n[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var h=t[s],l=void 0;this.stateProxy&&(l=this.stateProxy(h,t)),l||(l=this.states[h]),l&&i.push(l)}var u=i[o-1],f=!!(u&&u.hoverLayer||r);f&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(i),d=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var y=this._textContent,v=this._textGuide;y&&y.useStates(t,e,f),v&&v.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,h.indexOf)(this.currentStates,t);if(e>=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},t.prototype.replaceState=function(t,e,r){var i=this.currentStates.slice(),n=(0,h.indexOf)(i,t),o=(0,h.indexOf)(i,e)>=0;n>=0?o?i.splice(n,1):i[n]=e:r&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,r={},i=0;i<t.length;i++){var n=t[i];(0,h.extend)(r,n),n.textConfig&&(e=e||{},(0,h.extend)(e,n.textConfig))}return e&&(r.textConfig=e),r},t.prototype._applyStateObj=function(t,e,r,i,n,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,h.extend)({},i?this.textConfig:r.textConfig),(0,h.extend)(this.textConfig,e.textConfig)):a&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},l=!1,u=0;u<p.length;u++){var c=p[u],f=n&&d[c];e&&null!=e[c]?f?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=r[c]&&(f?(l=!0,s[c]=r[c]):this[c]=r[c])}if(!n)for(var u=0;u<this.animators.length;u++){var y=this.animators[u],v=y.targetName;y.getLoop()||y.__changeFinalValue(v?(e||r)[v]:e||r)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,h.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,r=this._textGuide;e&&(e.__inHover=t),r&&(r.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.addAnimator(e[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.removeAnimator(e[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,r){var i=t?this[t]:this,o=new n.Z(i,e,r);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var r=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,r=(0,h.indexOf)(e,t);r>=0&&e.splice(r,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var r=this.animators,i=r.length,n=[],o=0;o<i;o++){var a=r[o];t&&t!==a.scope?n.push(a):a.stop(e)}return this.animators=n,this},t.prototype.animateTo=function(t,e,r){_(this,t,e,r)},t.prototype.animateFrom=function(t,e,r){_(this,t,e,r,!0)},t.prototype._transitionState=function(t,e,r,i){for(var n=_(this,e,r,i),o=0;o<n.length;o++)n[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function r(t,r,i,n){Object.defineProperty(e,t,{get:function(){return this[r]||o(this,this[r]=[]),this[r]},set:function(t){this[i]=t[0],this[n]=t[1],this[r]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[n]},set:function(e){t[n]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV,Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function _(t,e,r,i,o){var a=[];!function t(e,r,i,o,a,s,l,u){for(var c=(0,h.keys)(o),f=a.duration,p=a.delay,d=a.additive,y=a.setToFinal,v=!(0,h.isObject)(s),g=e.animators,_=[],x=0;x<c.length;x++){var w=c[x],b=o[w];if(null!=b&&null!=i[w]&&(v||s[w]))if(!(0,h.isObject)(b)||(0,h.isArrayLike)(b)||(0,h.isGradientObject)(b))_.push(w);else{if(r){u||(i[w]=b,e.updateDuringAnimation(r));continue}t(e,w,i[w],b,a,s&&s[w],l,u)}else u||(i[w]=b,e.updateDuringAnimation(r),_.push(w))}var S=_.length;if(!d&&S)for(var k=0;k<g.length;k++){var T=g[k];if(T.targetName===r&&T.stopTracks(_)){var C=(0,h.indexOf)(g,T);g.splice(C,1)}}if(a.force||(S=(_=(0,h.filter)(_,function(t){var e,r;return!((e=o[t])===(r=i[t])||(0,h.isArrayLike)(e)&&(0,h.isArrayLike)(r)&&function(t,e){var r=t.length;if(r!==e.length)return!1;for(var i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}(e,r))})).length),S>0||a.force&&!l.length){var P=void 0,M=void 0,A=void 0;if(u){M={},y&&(P={});for(var k=0;k<S;k++){var w=_[k];M[w]=i[w],y?P[w]=o[w]:i[w]=o[w]}}else if(y){A={};for(var k=0;k<S;k++){var w=_[k];A[w]=(0,n.V)(i[w]),function(t,e,r){if((0,h.isArrayLike)(e[r]))if((0,h.isArrayLike)(t[r])||(t[r]=[]),(0,h.isTypedArray)(e[r])){var i=e[r].length;t[r].length!==i&&(t[r]=new e[r].constructor(i),m(t[r],e[r],i))}else{var n=e[r],o=t[r],a=n.length;if((0,h.isArrayLike)(n[0]))for(var s=n[0].length,l=0;l<a;l++)o[l]?m(o[l],n[l],s):o[l]=Array.prototype.slice.call(n[l]);else m(o,n,a);o.length=n.length}else t[r]=e[r]}(i,o,w)}}var T=new n.Z(i,!1,!1,d?(0,h.filter)(g,function(t){return t.targetName===r}):null);T.targetName=r,a.scope&&(T.scope=a.scope),y&&P&&T.whenWithKeys(0,P,_),A&&T.whenWithKeys(0,A,_),T.whenWithKeys(null==f?500:f,u?M:o,_).delay(p||0),e.addAnimator(T,r),l.push(T)}}(t,"",t,e,r=r||{},i,a,o);var s=a.length,l=!1,u=r.done,c=r.aborted,f=function(){l=!0,--s<=0&&(l?u&&u():c&&c())},p=function(){--s<=0&&(l?u&&u():c&&c())};!s&&u&&u(),a.length>0&&r.during&&a[0].during(function(t,e){r.during(e)});for(var d=0;d<a.length;d++){var y=a[d];f&&y.done(f),p&&y.aborted(p),r.force&&y.duration(r.duration),y.start(r.easing)}return a}function m(t,e,r){for(var i=0;i<r;i++)t[i]=e[i]}(0,h.mixin)(g,a.Z),(0,h.mixin)(g,i.ZP);let x=g},83246:function(t,e,r){r.d(e,{V:()=>v,Z:()=>b});var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),(t*=2)<1)?-.5*(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):r*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=r(76109),o=r(6171),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var r=e[1].split(","),i=+(0,n.trim)(r[0]),s=+(0,n.trim)(r[1]),h=+(0,n.trim)(r[2]),l=+(0,n.trim)(r[3]);if(isNaN(i+s+h+l))return;var u=[];return function(t){return t<=0?0:t>=1?1:(0,o.kD)(0,i,h,1,t,u)&&(0,o.af)(0,s,l,1,u[0])}}}var h=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||n.noop,this.ondestroy=t.ondestroy||n.noop,this.onrestart=t.onrestart||n.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var r=this._life,i=t-this._startTime-this._pausedTime,n=i/r;n<0&&(n=0),n=Math.min(n,1);var o=this.easingFunc,a=o?o(n):n;if(this.onframe(a),1===n)if(!this.loop)return!0;else this._startTime=t-i%r,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,n.isFunction)(t)?t:i[t]||s(t)},t}(),l=r(41420),u=r(91254),c=r(57861).Buffer;u.Z.hasGlobalWindow&&(0,n.isFunction)(window.btoa);var f=Array.prototype.slice;function p(t,e,r,i){for(var n,o=e.length,a=0;a<o;a++)t[a]=(n=e[a],(r[a]-n)*i+n);return t}function d(t,e,r,i){for(var n=e.length,o=0;o<n;o++)t[o]=e[o]+r[o]*i;return t}function y(t,e,r,i){for(var n=e.length,o=n&&e[0].length,a=0;a<n;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+r[a][s]*i}return t}function v(t){if((0,n.isArrayLike)(t)){var e=t.length;if((0,n.isArrayLike)(t[0])){for(var r=[],i=0;i<e;i++)r.push(f.call(t[i]));return r}return f.call(t)}return t}function g(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function _(t){return 4===t||5===t}function m(t){return 1===t||2===t}var x=[0,0,0,0],w=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,r){this._needsSort=!0;var o=this.keyframes,a=o.length,h=!1,u=6,c=e;if((0,n.isArrayLike)(e)){var f=(0,n.isArrayLike)(e&&e[0])?2:1;u=f,(1!==f||(0,n.isNumber)(e[0]))&&(2!==f||(0,n.isNumber)(e[0][0]))||(h=!0)}else if((0,n.isNumber)(e)&&!(0,n.eqNaN)(e))u=0;else if((0,n.isString)(e))if(isNaN(+e)){var p=l.parse(e);p&&(c=p,u=3)}else u=0;else if((0,n.isGradientObject)(e)){var d=(0,n.extend)({},c);(d.colorStops=(0,n.map)(e.colorStops,function(t){return{offset:t.offset,color:l.parse(t.color)}}),"linear"===e.type)?u=4:"radial"===e.type&&(u=5),c=d}0===a?this.valType=u:(u!==this.valType||6===u)&&(h=!0),this.discrete=this.discrete||h;var y={time:t,value:c,rawValue:e,percent:0};return r&&(y.easing=r,y.easingFunc=(0,n.isFunction)(r)?r:i[r]||s(r)),o.push(y),y},t.prototype.prepare=function(t,e){var r=this.keyframes;this._needsSort&&r.sort(function(t,e){return t.time-e.time});for(var i=this.valType,n=r.length,o=r[n-1],a=this.discrete,s=m(i),h=_(i),l=0;l<n;l++){var u=r[l],c=u.value,p=o.value;u.percent=u.time/t,!a&&(s&&l!==n-1?function(t,e,r){if(t.push&&e.push){var i=t.length,n=e.length;if(i!==n)if(i>n)t.length=n;else for(var o=i;o<n;o++)t.push(1===r?e[o]:f.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===r)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(c,p,i):h&&function(t,e){for(var r=t.length,i=e.length,n=r>i?e:t,o=Math.min(r,i),a=n[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(r,i);s++)n.push({offset:a.offset,color:a.color.slice()})}(c.colorStops,p.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var v=r[0].value,l=0;l<n;l++)0===i?r[l].additiveValue=r[l].value-v:3===i?r[l].additiveValue=d([],r[l].value,v,-1):m(i)&&(r[l].additiveValue=1===i?d([],r[l].value,v,-1):y([],r[l].value,v,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",h=this.valType,l=this.keyframes,u=l.length,c=this.propName,f=3===h,d=this._lastFr,y=Math.min;if(1===u)i=o=l[0];else{if(e<0)r=0;else if(e<this._lastFrP){for(r=y(d+1,u-1);r>=0&&!(l[r].percent<=e);r--);r=y(r,u-2)}else{for(r=d;r<u&&!(l[r].percent>e);r++);r=y(r-1,u-2)}o=l[r+1],i=l[r]}if(i&&o){this._lastFr=r,this._lastFrP=e;var v=o.percent-i.percent,w=0===v?1:y((e-i.percent)/v,1);o.easingFunc&&(w=o.easingFunc(w));var b=a?this._additiveValue:f?x:t[c];if((m(h)||f)&&!b&&(b=this._additiveValue=[]),this.discrete)t[c]=w<1?i.rawValue:o.rawValue;else if(m(h))1===h?p(b,i[s],o[s],w):function(t,e,r,i){for(var n=e.length,o=n&&e[0].length,a=0;a<n;a++){t[a]||(t[a]=[]);for(var s,h=0;h<o;h++)t[a][h]=(s=e[a][h],(r[a][h]-s)*i+s)}}(b,i[s],o[s],w);else if(_(h)){var S,k,T,C,P,M=i[s],A=o[s],D=4===h;(t[c]={type:D?"linear":"radial",x:(S=M.x,(A.x-S)*w+S),y:(k=M.y,(A.y-k)*w+k),colorStops:(0,n.map)(M.colorStops,function(t,e){var r,i=A.colorStops[e];return{offset:(r=t.offset,(i.offset-r)*w+r),color:g(p([],t.color,i.color,w))}}),global:A.global},D)?(t[c].x2=(T=M.x2,(A.x2-T)*w+T),t[c].y2=(C=M.y2,(A.y2-C)*w+C)):t[c].r=(P=M.r,(A.r-P)*w+P)}else if(f)p(b,i[s],o[s],w),a||(t[c]=g(b));else{var L,Z=(L=i[s],(o[s]-L)*w+L);a?this._additiveValue=Z:t[c]=Z}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,r=this.propName,i=this._additiveValue;0===e?t[r]=t[r]+i:3===e?(l.parse(t[r],x),d(x,x,i,1),t[r]=g(x)):1===e?d(t[r],t[r],i,1):2===e&&y(t[r],t[r],i,1)},t}();let b=function(){function t(t,e,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i)return void(0,n.logError)("Can' use additive animation on looped animation.");this._additiveAnimators=i,this._allowDiscrete=r}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,r){return this.whenWithKeys(t,e,(0,n.keys)(e),r)},t.prototype.whenWithKeys=function(t,e,r,i){for(var n=this._tracks,o=0;o<r.length;o++){var a=r[o],s=n[a];if(!s){s=n[a]=new w(a);var h=void 0,l=this._getAdditiveTrack(a);if(l){var u=l.keyframes,c=u[u.length-1];h=c&&c.value,3===l.valType&&h&&(h=g(h))}else h=this._target[a];if(null==h)continue;t>0&&s.addKeyframe(0,v(h),i),this._trackKeys.push(a)}s.addKeyframe(t,v(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,r=0;r<e;r++)t[r].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var r=0;r<e.length;r++)e[r].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,r=0;r<e.length;r++)t[e[r]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,r=this._additiveAnimators;if(r)for(var i=0;i<r.length;i++){var n=r[i].getTrack(t);n&&(e=n)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,r=[],i=this._maxTime||0,n=0;n<this._trackKeys.length;n++){var o=this._trackKeys[n],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else r.push(a)}if(r.length||this._force){var f=new h({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var n=!1,o=0;o<i.length;o++)if(i[o]._clip){n=!0;break}n||(e._additiveAnimators=null)}for(var o=0;o<r.length;o++)r[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,n.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var r=this._tracks,i=this._trackKeys,n=0;n<t.length;n++){var o=r[t[n]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,n=0;n<i.length;n++)if(!r[i[n]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,r){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var n=e[i],o=this._tracks[n];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[r?0:a.length-1];s&&(t[n]=v(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,n.keys)(t);for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},87450:function(t,e,r){r.d(e,{Z:()=>i});let i=r(91254).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},93017:function(t,e,r){r.d(e,{Z:()=>v});var i=r(8862),n=r(76109),o=r(377),a=r(86944),s=r(25479),h=r(84583),l=r(94757),u=r(54709),c=r(28988);function f(t,e,r){var i=c.qW.createCanvas(),n=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=n+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=n*r,i.height=o*r,i}var p=function(t){function e(e,r,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.KL,"string"==typeof e?a=f(e,r,o):n.isObject(e)&&(e=(a=e).id),s.id=e,s.dom=a;var h=a.style;return h&&(n.disableUserSelect(a),a.onselectstart=function(){return!1},h.padding="0",h.margin="0",h.borderWidth="0"),s.painter=r,s.dpr=o,s}return(0,o.__extends)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,r,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var n,o=[],a=this.maxRepaintRectCount,s=!1,h=new l.Z(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new l.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var r=!1,i=1/0,n=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var f=new l.Z(0,0,0,0);f.copy(c),f.union(t),o[u]=f,r=!0;break}if(s){h.copy(t),h.union(c);var p=t.width*t.height,d=c.width*c.height,y=h.width*h.height-p-d;y<i&&(i=y,n=u)}}if(s&&(o[n].union(t),r=!0),!r){var e=new l.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var p=t[f];if(p){var d=p.shouldBePainted(r,i,!0,!0),y=p.__isRendered&&(p.__dirty&u.YV||!d)?p.getPrevPaintRect():null;y&&c(y);var v=d&&(p.__dirty&u.YV||!p.__isRendered)?p.getPaintRect():null;v&&c(v)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var p=e[f],d=p&&p.shouldBePainted(r,i,!0,!0);if(p&&(!d||!p.__zr)&&p.__isRendered){var y=p.getPrevPaintRect();y&&c(y)}}do{n=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var g=f+1;g<o.length;)o[f].intersect(o[g])?(n=!0,o[f].union(o[g]),o.splice(g,1)):g++;f++}}while(n);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var r=this.dpr,i=this.dom,n=i.style,o=this.domBack;n&&(n.width=t+"px",n.height=e+"px"),i.width=t*r,i.height=e*r,o&&(o.width=t*r,o.height=e*r,1!==r&&this.ctxBack.scale(r,r))},e.prototype.clear=function(t,e,r){var i=this.dom,o=this.ctx,a=i.width,l=i.height;e=e||this.clearColor;var u=this.motionBlur&&!t,c=this.lastFrameAlpha,f=this.dpr,p=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/f,l/f));var d=this.domBack;function y(t,r,i,a){if(o.clearRect(t,r,i,a),e&&"transparent"!==e){var l=void 0;n.isGradientObject(e)?(l=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=l,e.__width=i,e.__height=a):n.isImagePatternObject(e)&&(e.scaleX=e.scaleX||f,e.scaleY=e.scaleY||f,l=(0,h.RZ)(o,e,{dirty:function(){p.setUnpainted(),p.painter.refresh()}})),o.save(),o.fillStyle=l||e,o.fillRect(t,r,i,a),o.restore()}u&&(o.save(),o.globalAlpha=c,o.drawImage(d,t,r,i,a),o.restore())}!r||u?y(0,0,a,l):r.length&&n.each(r,function(t){y(t.x*f,t.y*f,t.width*f,t.height*f)})},e}(a.Z),d=r(87450),y=r(91254);let v=function(){function t(t,e,r,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=r=n.extend({},r||{}),this.dpr=r.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t,t.style&&(n.disableUserSelect(t),t.innerHTML=""),this.storage=e;var h=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(a){var u=t.width,c=t.height;null!=r.width&&(u=r.width),null!=r.height&&(c=r.height),this.dpr=r.devicePixelRatio||1,t.width=u*this.dpr,t.height=c*this.dpr,this._width=u,this._height=c;var f=new p(t,this,this.dpr);f.__builtin__=!0,f.initContext(),l[314159]=f,f.zlevel=314159,h.push(314159),this._domRoot=t}else{this._width=(0,s.ap)(t,0,r),this._height=(0,s.ap)(t,1,r);var d,y,v,g=this._domRoot=(d=this._width,y=this._height,(v=document.createElement("div")).style.cssText=["position:relative","width:"+d+"px","height:"+y+"px","padding:0","margin:0","border-width:0"].join(";")+";",v);t.appendChild(g)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),r=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,r,t,this._redrawId);for(var n=0;n<i.length;n++){var o=i[n],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===n?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,r=t.length,i=this._hoverlayer;if(i&&i.clear(),r){for(var n={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<r;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),e||(e=i.ctx).save(),(0,h.Dm)(e,a,n,o===r-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,h.RV)(t,e)},t.prototype._paintList=function(t,e,r,i){if(this._redrawId===i){r=r||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e,r),o=n.finished,a=n.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,d.Z)(function(){s._paintList(t,e,r,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,e,r),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,r)})},t.prototype._doPaintList=function(t,e,r){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var h=this._zlevelList[s],l=this._layers[h];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||r)&&o.push(l)}for(var u=!0,c=!1,f=this,p=0;p<o.length;p++)!function(n){var s,h=o[n],l=h.ctx,p=a&&h.createRepaintRects(t,e,f._width,f._height),d=r?h.__startIndex:h.__drawIndex,y=!r&&h.incremental&&Date.now,v=y&&Date.now(),g=h.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(h.__startIndex===h.__endIndex)h.clear(!1,g,p);else if(d===h.__startIndex){var _=t[d];_.incremental&&_.notClear&&!r||h.clear(!1,g,p)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=h.__startIndex);var m=function(e){var r={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=d;s<h.__endIndex;s++){var n=t[s];if(n.__inHover&&(c=!0),i._doPaintEl(n,h,a,e,r,s===h.__endIndex-1),y&&Date.now()-v>15)break}r.prevElClipPaths&&l.restore()};if(p)if(0===p.length)s=h.__endIndex;else for(var x=f.dpr,w=0;w<p.length;++w){var b=p[w];l.save(),l.beginPath(),l.rect(b.x*x,b.y*x,b.width*x,b.height*x),l.clip(),m(b),l.restore()}else l.save(),m(),l.restore();h.__drawIndex=s,h.__drawIndex<h.__endIndex&&(u=!1)}(p);return y.Z.wxa&&n.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:u,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,r,i,n,o){var a=e.ctx;if(r){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,h.Dm)(a,t,n,o),t.setPrevPaintRect(s))}else(0,h.Dm)(a,t,n,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var r=this._layers[t];return r||((r=new p("zr_"+t,this,this.dpr)).zlevel=t,r.__builtin__=!0,this._layerConfig[t]?n.merge(r,this._layerConfig[t],!0):this._layerConfig[t-.01]&&n.merge(r,this._layerConfig[t-.01],!0),e&&(r.virtual=e),this.insertLayer(t,r),r.initContext()),r},t.prototype.insertLayer=function(t,e){var r=this._layers,i=this._zlevelList,n=i.length,o=this._domRoot,a=null,s=-1;if(!r[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(n>0&&t>i[0]){for(s=0;s<n-1&&(!(i[s]<t)||!(i[s+1]>t));s++);a=r[i[s]]}if(i.splice(s+1,0,t),r[t]=e,!e.virtual)if(a){var h=a.dom;h.nextSibling?o.insertBefore(e.dom,h.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var n=r[i];t.call(e,this._layers[n],n)}},t.prototype.eachBuiltinLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var n=r[i],o=this._layers[n];o.__builtin__&&t.call(e,o,n)}},t.prototype.eachOtherLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var n=r[i],o=this._layers[n];o.__builtin__||t.call(e,o,n)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var r,i,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,h=0;for(i=0;i<t.length;i++){var a=t[i],l=a.zlevel,c=void 0;r!==l&&(r=l,h=0),a.incremental?((c=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,h=1):c=this.getLayer(l+.01*(h>0),this._needsManuallyCompositing),c.__builtin__||n.logError("ZLevel "+l+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),s=c),a.__dirty&u.YV&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,n.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?n.merge(r[t],e,!0):r[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+.01){var a=this._layers[o];n.merge(a,r[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,r=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],r.splice(n.indexOf(r,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var i=this._opts,n=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(n,0,i),e=(0,s.ap)(n,1,i),r.style.display="",this._width!==t||e!==this._height){for(var o in r.style.width=t+"px",r.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new p("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var r=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,n=e.dom.height;this.eachLayer(function(t){t.__builtin__?r.drawImage(t.dom,0,0,i,n):t.renderToCanvas&&(r.save(),t.renderToCanvas(r),r.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];(0,h.Dm)(r,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}()},84583:function(t,e,r){r.d(e,{Dm:()=>A,RZ:()=>x,RV:()=>M});var i=r(52274),n=r(46675),o=r(12703),a=r(25479),s=r(80598),h=r(10781),l=r(19291),u=r(76109);function c(t){var e,r,i=t.style,n=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,r=i.lineWidth,e&&"solid"!==e&&r>0?"dashed"===e?[4*r,2*r]:"dotted"===e?[r]:(0,u.isNumber)(e)?[e]:(0,u.isArray)(e)?e:null:null),o=i.lineDashOffset;if(n){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(n=(0,u.map)(n,function(t){return t/a}),o/=a)}return[n,o]}var f=r(54709),p=r(28988),d=new n.Z(!0);function y(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function v(t){return"string"==typeof t&&"none"!==t}function g(t){var e=t.fill;return null!=e&&"none"!==e}function _(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function m(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function x(t,e,r){var i=(0,o.Gq)(e.image,e.__image,r);if((0,o.v5)(i)){var n=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&n&&n.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*u.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(a)}return n}}var w=["shadowBlur","shadowOffsetX","shadowOffsetY"],b=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,r,n,o){var a=!1;if(!n&&e===(r=r||{}))return!1;if(n||e.opacity!==r.opacity){C(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(n||e.blend!==r.blend)&&(a||(C(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var h=0;h<w.length;h++){var l=w[h];(n||e[l]!==r[l])&&(a||(C(t,o),a=!0),t[l]=t.dpr*(e[l]||0))}return(n||e.shadowColor!==r.shadowColor)&&(a||(C(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function k(t,e,r,i,n){var o=P(e,n.inHover),a=i?null:r&&P(r,n.inHover)||{};if(o===a)return!1;var s=S(t,o,a,i,n);if((i||o.fill!==a.fill)&&(s||(C(t,n),s=!0),v(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(C(t,n),s=!0),v(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(C(t,n),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var h=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==h&&(s||(C(t,n),s=!0),t.lineWidth=h)}for(var l=0;l<b.length;l++){var u=b[l],c=u[0];(i||o[c]!==a[c])&&(s||(C(t,n),s=!0),t[c]=o[c]||u[1])}return s}function T(t,e){var r=e.transform,i=t.dpr||1;r?t.setTransform(i*r[0],i*r[1],i*r[2],i*r[3],i*r[4],i*r[5]):t.setTransform(i,0,0,i,0,0)}function C(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function P(t,e){return e&&t.__hoverStyle||t.style}function M(t,e){A(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function A(t,e,r,i){var n,u=e.transform;if(!e.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){e.__dirty&=~f.YV,e.__isRendered=!1;return}var v=e.__clipPaths,w=r.prevElClipPaths,b=!1,M=!1;if(!w||(0,a.cF)(v,w)){if(w&&w.length&&(C(t,r),t.restore(),M=b=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),v&&v.length){C(t,r),t.save();for(var D=!1,L=0;L<v.length;L++){var Z=v[L];D=D||Z.isZeroArea(),T(t,Z),t.beginPath(),Z.buildPath(t,Z.shape),t.clip()}r.allClipped=D,b=!0}r.prevElClipPaths=v}if(r.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var O=r.prevEl;O||(M=b=!0);var z=e instanceof s.ZP&&e.autoBatch&&(F=g(I=e.style),B=y(I),!(I.lineDash||!(F^B)||F&&"string"!=typeof I.fill||B&&"string"!=typeof I.stroke||I.strokePercent<1||I.strokeOpacity<1||I.fillOpacity<1));!b&&(H=O.transform,u&&H?u[0]===H[0]&&u[1]===H[1]&&u[2]===H[2]&&u[3]===H[3]&&u[4]===H[4]&&u[5]===H[5]:+(!u&&!H))?z||C(t,r):(C(t,r),T(t,e));var R=P(e,r.inHover);if(e instanceof s.ZP)1!==r.lastDrawType&&(M=!0,r.lastDrawType=1),k(t,e,O,M,r),z&&(r.batchFill||r.batchStroke)||t.beginPath(),function(t,e,r,i){var n,o,s,h=y(r),l=g(r),u=r.strokePercent,p=u<1,v=!e.path;(!e.silent||p)&&v&&e.createPathProxy();var w=e.path||d,b=e.__dirty;if(!i){var S=r.fill,k=r.stroke,T=l&&!!S.colorStops,C=h&&!!k.colorStops,P=l&&!!S.image,M=h&&!!k.image,A=void 0,D=void 0,L=void 0,Z=void 0,O=void 0;(T||C)&&(O=e.getBoundingRect()),T&&(A=b?(0,a.ZF)(t,S,O):e.__canvasFillGradient,e.__canvasFillGradient=A),C&&(D=b?(0,a.ZF)(t,k,O):e.__canvasStrokeGradient,e.__canvasStrokeGradient=D),P&&(L=b||!e.__canvasFillPattern?x(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=L),M&&(Z=b||!e.__canvasStrokePattern?x(t,k,e):e.__canvasStrokePattern,e.__canvasStrokePattern=L),T?t.fillStyle=A:P&&(L?t.fillStyle=L:l=!1),C?t.strokeStyle=D:M&&(Z?t.strokeStyle=Z:h=!1)}var z=e.getGlobalScale();w.setScale(z[0],z[1],e.segmentIgnoreThreshold),t.setLineDash&&r.lineDash&&(o=(n=c(e))[0],s=n[1]);var R=!0;(v||b&f.RH)&&(w.setDPR(t.dpr),p?w.setContext(null):(w.setContext(t),R=!1),w.reset(),e.buildPath(w,e.shape,i),w.toStatic(),e.pathUpdated()),R&&w.rebuildPath(t,p?u:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!i&&(r.strokeFirst?(h&&m(t,r),l&&_(t,r)):(l&&_(t,r),h&&m(t,r))),o&&t.setLineDash([])}(t,e,R,z),z&&(r.batchFill=R.fill||"",r.batchStroke=R.stroke||"");else if(e instanceof l.Z){3!==r.lastDrawType&&(M=!0,r.lastDrawType=3),k(t,e,O,M,r);var I,F,B,H,V,E=R.text;if(null!=E&&(E+=""),E){t.font=R.font||p.Uo,t.textAlign=R.textAlign,t.textBaseline=R.textBaseline;var W=void 0,N=void 0;t.setLineDash&&R.lineDash&&(W=(V=c(e))[0],N=V[1]),W&&(t.setLineDash(W),t.lineDashOffset=N),R.strokeFirst?(y(R)&&t.strokeText(E,R.x,R.y),g(R)&&t.fillText(E,R.x,R.y)):(g(R)&&t.fillText(E,R.x,R.y),y(R)&&t.strokeText(E,R.x,R.y)),W&&t.setLineDash([])}}else e instanceof h.ZP?(2!==r.lastDrawType&&(M=!0,r.lastDrawType=2),n=M,S(t,P(e,r.inHover),O&&P(O,r.inHover),n,r),function(t,e,r){var i=e.__image=(0,o.Gq)(r.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var n=r.x||0,a=r.y||0,s=e.getWidth(),h=e.getHeight(),l=i.width/i.height;if(null==s&&null!=h?s=h*l:null==h&&null!=s?h=s/l:null==s&&null==h&&(s=i.width,h=i.height),r.sWidth&&r.sHeight){var u=r.sx||0,c=r.sy||0;t.drawImage(i,u,c,r.sWidth,r.sHeight,n,a,s,h)}else if(r.sx&&r.sy){var u=r.sx,c=r.sy,f=s-u,p=h-c;t.drawImage(i,u,c,f,p,n,a,s,h)}else t.drawImage(i,n,a,s,h)}}(t,e,R)):e.getTemporalDisplayables&&(4!==r.lastDrawType&&(M=!0,r.lastDrawType=4),function(t,e,r){var i,n,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover};for(i=e.getCursor(),n=o.length;i<n;i++){var h=o[i];h.beforeBrush&&h.beforeBrush(),h.innerBeforeBrush(),A(t,h,s,i===n-1),h.innerAfterBrush(),h.afterBrush&&h.afterBrush(),s.prevEl=h}for(var l=0,u=a.length;l<u;l++){var h=a[l];h.beforeBrush&&h.beforeBrush(),h.innerBeforeBrush(),A(t,h,s,l===u-1),h.innerAfterBrush(),h.afterBrush&&h.afterBrush(),s.prevEl=h}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,r));z&&i&&C(t,r),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),r.prevEl=e,e.__dirty=0,e.__isRendered=!0}},25479:function(t,e,r){function i(t){return isFinite(t)}function n(t,e,r){for(var n,o,a,s,h,l,u,c,f,p,d="radial"===e.type?(a=Math.min(n=r.width,o=r.height),s=null==e.x?.5:e.x,h=null==e.y?.5:e.y,l=null==e.r?.5:e.r,e.global||(s=s*n+r.x,h=h*o+r.y,l*=a),s=i(s)?s:.5,h=i(h)?h:.5,l=l>=0&&i(l)?l:.5,t.createRadialGradient(s,h,0,s,h,l)):(u=null==e.x?0:e.x,c=null==e.x2?1:e.x2,f=null==e.y?0:e.y,p=null==e.y2?0:e.y2,e.global||(u=u*r.width+r.x,c=c*r.width+r.x,f=f*r.height+r.y,p=p*r.height+r.y),u=i(u)?u:0,c=i(c)?c:1,f=i(f)?f:0,p=i(p)?p:0,t.createLinearGradient(u,f,c,p)),y=e.colorStops,v=0;v<y.length;v++)d.addColorStop(y[v].offset,y[v].color);return d}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,r){var i=["width","height"][e],n=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=r[i]&&"auto"!==r[i])return parseFloat(r[i]);var h=document.defaultView.getComputedStyle(t);return(t[n]||a(h[i])||a(t.style[i]))-(a(h[o])||0)-(a(h[s])||0)|0}r.d(e,{ZF:()=>n,ap:()=>s,cF:()=>o})},8862:function(t,e,r){r.d(e,{Ak:()=>a,GD:()=>h,KL:()=>o,iv:()=>l,vU:()=>s});var i=r(91254),n=1;i.Z.hasGlobalWindow&&(n=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=n,a=.4,s="#333",h="#ccc",l="#eee"},67472:function(t,e,r){r.d(e,{X:()=>o});var i=r(8110);function n(t,e){return 1e-8>Math.abs(t-e)}function o(t,e,r){var o=0,a=t[0];if(!a)return!1;for(var s=1;s<t.length;s++){var h=t[s];o+=(0,i.Z)(a[0],a[1],h[0],h[1],e,r),a=h}var l=t[0];return n(a[0],l[0])&&n(a[1],l[1])||(o+=(0,i.Z)(a[0],a[1],l[0],l[1],e,r)),0!==o}},95260:function(t,e,r){r.d(e,{Dp:()=>f,GM:()=>p,M3:()=>u,dz:()=>s,lP:()=>l,mU:()=>c,wI:()=>d});var i=r(94757),n=r(87054),o=r(28988),a={};function s(t,e){var r=a[e=e||o.Uo];r||(r=a[e]=new n.ZP(500));var i=r.get(t);return null==i&&(i=o.qW.measureText(t,e).width,r.put(t,i)),i}function h(t,e,r,n){var o=s(t,e),a=f(e),h=u(0,o,r),l=c(0,a,n);return new i.Z(h,l,o,a)}function l(t,e,r,n){var o=((t||"")+"").split("\n");if(1===o.length)return h(o[0],e,r,n);for(var a=new i.Z(0,0,0,0),s=0;s<o.length;s++){var l=h(o[s],e,r,n);0===s?a.copy(l):a.union(l)}return a}function u(t,e,r){return"right"===r?t-=e:"center"===r&&(t-=e/2),t}function c(t,e,r){return"middle"===r?t-=e/2:"bottom"===r&&(t-=e),t}function f(t){return s("国",t)}function p(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,r){var i=e.position||"inside",n=null!=e.distance?e.distance:5,o=r.height,a=r.width,s=o/2,h=r.x,l=r.y,u="left",c="top";if(i instanceof Array)h+=p(i[0],r.width),l+=p(i[1],r.height),u=null,c=null;else switch(i){case"left":h-=n,l+=s,u="right",c="middle";break;case"right":h+=n+a,l+=s,c="middle";break;case"top":h+=a/2,l-=n,u="center",c="bottom";break;case"bottom":h+=a/2,l+=o+n,u="center";break;case"inside":h+=a/2,l+=s,u="center",c="middle";break;case"insideLeft":h+=n,l+=s,c="middle";break;case"insideRight":h+=a-n,l+=s,u="right",c="middle";break;case"insideTop":h+=a/2,l+=n,u="center";break;case"insideBottom":h+=a/2,l+=o-n,u="center",c="bottom";break;case"insideTopLeft":h+=n,l+=n;break;case"insideTopRight":h+=a-n,l+=n,u="right";break;case"insideBottomLeft":h+=n,l+=o-n,c="bottom";break;case"insideBottomRight":h+=a-n,l+=o-n,u="right",c="bottom"}return(t=t||{}).x=h,t.y=l,t.align=u,t.verticalAlign=c,t}},69755:function(t,e,r){r.d(e,{m:()=>n});var i=2*Math.PI;function n(t){return(t%=i)<0&&(t+=i),t}},8110:function(t,e,r){r.d(e,{Z:()=>i});function i(t,e,r,i,n,o){if(o>e&&o>i||o<e&&o<i||i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;(1===a||0===a)&&(s=i<e?.5:-.5);var h=a*(r-t)+t;return h===n?1/0:h>n?s:0}},94757:function(t,e,r){r.d(e,{Z:()=>p});var i=r(59296),n=r(51905),o=Math.min,a=Math.max,s=new n.Z,h=new n.Z,l=new n.Z,u=new n.Z,c=new n.Z,f=new n.Z;let p=function(){function t(t,e,r,i){r<0&&(t+=r,r=-r),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=r,this.height=i}return t.prototype.union=function(t){var e=o(t.x,this.x),r=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,r=t.height/this.height,n=i.create();return i.translate(n,n,[-this.x,-this.y]),i.scale(n,n,[e,r]),i.translate(n,n,[t.x,t.y]),n},t.prototype.intersect=function(e,r){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,h=e.x,l=e.x+e.width,u=e.y,p=e.y+e.height,d=!(o<h||l<i||s<u||p<a);if(r){var y=1/0,v=0,g=Math.abs(o-h),_=Math.abs(l-i),m=Math.abs(s-u),x=Math.abs(p-a),w=Math.min(g,_),b=Math.min(m,x);o<h||l<i?w>v&&(v=w,g<_?n.Z.set(f,-g,0):n.Z.set(f,_,0)):w<y&&(y=w,g<_?n.Z.set(c,g,0):n.Z.set(c,-_,0)),s<u||p<a?b>v&&(v=b,m<x?n.Z.set(f,0,-m):n.Z.set(f,0,x)):w<y&&(y=w,m<x?n.Z.set(c,0,m):n.Z.set(c,0,-x))}return r&&n.Z.copy(r,d?c:f),d},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,r,i){if(!i){e!==r&&t.copy(e,r);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],c=i[3],f=i[4],p=i[5];e.x=r.x*n+f,e.y=r.y*c+p,e.width=r.width*n,e.height=r.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=l.x=r.x,s.y=u.y=r.y,h.x=u.x=r.x+r.width,h.y=l.y=r.y+r.height,s.transform(i),u.transform(i),h.transform(i),l.transform(i),e.x=o(s.x,h.x,l.x,u.x),e.y=o(s.y,h.y,l.y,u.y);var d=a(s.x,h.x,l.x,u.x),y=a(s.y,h.y,l.y,u.y);e.width=d-e.x,e.height=y-e.y},t}()},86944:function(t,e,r){r.d(e,{Z:()=>i});let i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,i){this._$handlers||(this._$handlers={});var n=this._$handlers;if("function"==typeof e&&(i=r,r=e,e=null),!r||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),n[t]||(n[t]=[]);for(var a=0;a<n[t].length;a++)if(n[t][a].h===r)return this;var s={h:r,query:e,ctx:i||this,callAtLast:r.zrEventfulCallAtLast},h=n[t].length-1,l=n[t][h];return l&&l.callAtLast?n[t].splice(h,0,s):n[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var i=[],n=0,o=r[t].length;n<o;n++)r[t][n].h!==e&&i.push(r[t][n]);r[t]=i}r[t]&&0===r[t].length&&delete r[t]}else delete r[t];return this},t.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],n=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var h=i[s];if(!n||!n.filter||null==h.query||n.filter(t,h.query))switch(o){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,e[0]);break;case 2:h.h.call(h.ctx,e[0],e[1]);break;default:h.h.apply(h.ctx,e)}}return n&&n.afterTrigger&&n.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],n=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,h=0;h<s;h++){var l=i[h];if(!n||!n.filter||null==l.query||n.filter(t,l.query))switch(o){case 0:l.h.call(a);break;case 1:l.h.call(a,e[0]);break;case 2:l.h.call(a,e[0],e[1]);break;default:l.h.apply(a,e.slice(1,o-1))}}return n&&n.afterTrigger&&n.afterTrigger(t),this},t}()},87054:function(t,e,r){r.d(e,{ZP:()=>o});var i=function(t){this.value=t},n=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();let o=function(){function t(t){this._list=new n,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,n=this._map,o=null;if(null==n[t]){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var h=r.head;r.remove(h),delete n[h.key],o=h.value,this._lastRemovedEntry=h}s?s.value=e:s=new i(e),s.key=t,r.insertEntry(s),n[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},91907:function(t,e,r){r.d(e,{Z:()=>h});var i=r(51905),n=[0,0],o=[0,0],a=new i.Z,s=new i.Z;let h=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new i.Z;for(var r=0;r<2;r++)this._axes[r]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var r=this._corners,n=this._axes,o=t.x,a=t.y,s=o+t.width,h=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,h),r[3].set(o,h),e)for(var l=0;l<4;l++)r[l].transform(e);i.Z.sub(n[0],r[1],r[0]),i.Z.sub(n[1],r[3],r[0]),n[0].normalize(),n[1].normalize();for(var l=0;l<2;l++)this._origin[l]=n[l].dot(r[0])},t.prototype.intersect=function(t,e){var r=!0,n=!e;return(a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,n,1)&&(r=!1,n)||!this._intersectCheckOneSide(t,this,a,s,n,-1)&&(r=!1,n))?r:(n||i.Z.copy(e,r?a:s),r)},t.prototype._intersectCheckOneSide=function(t,e,r,a,s,h){for(var l=!0,u=0;u<2;u++){var c=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,n),this._getProjMinMaxOnAxis(u,e._corners,o),n[1]<o[0]||n[0]>o[1]){if(l=!1,s)return l;var f=Math.abs(o[0]-n[1]),p=Math.abs(n[0]-o[1]);Math.min(f,p)>a.len()&&(f<p?i.Z.scale(a,c,-f*h):i.Z.scale(a,c,p*h))}else if(r){var f=Math.abs(o[0]-n[1]),p=Math.abs(n[0]-o[1]);Math.min(f,p)<r.len()&&(f<p?i.Z.scale(r,c,f*h):i.Z.scale(r,c,-p*h))}}return l},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var i=this._axes[t],n=this._origin,o=e[0].dot(i)+n[t],a=o,s=o,h=1;h<e.length;h++){var l=e[h].dot(i)+n[t];a=Math.min(l,a),s=Math.max(l,s)}r[0]=a,r[1]=s},t}()},46675:function(t,e,r){r.d(e,{Z:()=>R});var i=r(19894),n=r(94757),o=r(8862),a=r(6171),s=Math.min,h=Math.max,l=Math.sin,u=Math.cos,c=2*Math.PI,f=i.create(),p=i.create(),d=i.create();function y(t,e,r,i,n,o){n[0]=s(t,r),n[1]=s(e,i),o[0]=h(t,r),o[1]=h(e,i)}var v=[],g=[],_={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},m=[],x=[],w=[],b=[],S=[],k=[],T=Math.min,C=Math.max,P=Math.cos,M=Math.sin,A=Math.abs,D=Math.PI,L=2*D,Z="undefined"!=typeof Float32Array,O=[];function z(t){return Math.round(t/D*1e8)/1e8%2*D}let R=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,r){(r=r||0)>0&&(this._ux=A(r/o.KL/t)||0,this._uy=A(r/o.KL/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(_.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var r=A(t-this._xi),i=A(e-this._yi),n=r>this._ux||i>this._uy;if(this.addData(_.L,t,e),this._ctx&&n&&this._ctx.lineTo(t,e),n)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=r*r+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,r,i,n,o){return this._drawPendingPt(),this.addData(_.C,t,e,r,i,n,o),this._ctx&&this._ctx.bezierCurveTo(t,e,r,i,n,o),this._xi=n,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,r,i){return this._drawPendingPt(),this.addData(_.Q,t,e,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,e,r,i,n,o){this._drawPendingPt(),O[0]=i,O[1]=n,(a=z(O[0]))<0&&(a+=L),s=a-O[0],h=O[1]+s,!o&&h-a>=L?h=a+L:o&&a-h>=L?h=a-L:!o&&a>h?h=a+(L-z(a-h)):o&&a<h&&(h=a-(L-z(h-a))),O[0]=a,O[1]=h,i=O[0];var a,s,h,l=(n=O[1])-i;return this.addData(_.A,t,e,r,r,i,l,0,+!o),this._ctx&&this._ctx.arc(t,e,r,i,n,o),this._xi=P(n)*r+t,this._yi=M(n)*r+e,this},e.prototype.arcTo=function(t,e,r,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,i,n),this},e.prototype.rect=function(t,e,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,i),this.addData(_.R,t,e,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(_.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&Z&&(this.data=new Float32Array(e));for(var r=0;r<e;r++)this.data[r]=t[r];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,r=0,i=this._len,n=0;n<e;n++)r+=t[n].len();Z&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+r));for(var n=0;n<e;n++)for(var o=t[n].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},e.prototype.addData=function(t,e,r,i,n,o,a,s,h){if(this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var u=0;u<arguments.length;u++)l[this._len++]=arguments[u]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Z&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){w[0]=w[1]=S[0]=S[1]=Number.MAX_VALUE,b[0]=b[1]=k[0]=k[1]=-Number.MAX_VALUE;var t,e=this.data,r=0,o=0,m=0,x=0;for(t=0;t<this._len;){var T=e[t++],C=1===t;switch(C&&(r=e[t],o=e[t+1],m=r,x=o),T){case _.M:r=m=e[t++],o=x=e[t++],S[0]=m,S[1]=x,k[0]=m,k[1]=x;break;case _.L:y(r,o,e[t],e[t+1],S,k),r=e[t++],o=e[t++];break;case _.C:!function(t,e,r,i,n,o,l,u,c,f){var p=a.pP,d=a.af,y=p(t,r,n,l,v);c[0]=1/0,c[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var _=0;_<y;_++){var m=d(t,r,n,l,v[_]);c[0]=s(m,c[0]),f[0]=h(m,f[0])}y=p(e,i,o,u,g);for(var _=0;_<y;_++){var x=d(e,i,o,u,g[_]);c[1]=s(x,c[1]),f[1]=h(x,f[1])}c[0]=s(t,c[0]),f[0]=h(t,f[0]),c[0]=s(l,c[0]),f[0]=h(l,f[0]),c[1]=s(e,c[1]),f[1]=h(e,f[1]),c[1]=s(u,c[1]),f[1]=h(u,f[1])}(r,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],S,k),r=e[t++],o=e[t++];break;case _.Q:!function(t,e,r,i,n,o,l,u){var c=a.QC,f=a.Zm,p=h(s(c(t,r,n),1),0),d=h(s(c(e,i,o),1),0),y=f(t,r,n,p),v=f(e,i,o,d);l[0]=s(t,n,y),l[1]=s(e,o,v),u[0]=h(t,n,y),u[1]=h(e,o,v)}(r,o,e[t++],e[t++],e[t],e[t+1],S,k),r=e[t++],o=e[t++];break;case _.A:var A=e[t++],D=e[t++],L=e[t++],Z=e[t++],O=e[t++],z=e[t++]+O;t+=1;var R=!e[t++];C&&(m=P(O)*L+A,x=M(O)*Z+D),function(t,e,r,n,o,a,s,h,y){var v=i.min,g=i.max,_=Math.abs(o-a);if(_%c<1e-4&&_>1e-4){h[0]=t-r,h[1]=e-n,y[0]=t+r,y[1]=e+n;return}if(f[0]=u(o)*r+t,f[1]=l(o)*n+e,p[0]=u(a)*r+t,p[1]=l(a)*n+e,v(h,f,p),g(y,f,p),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var m=a;a=o,o=m}for(var x=0;x<a;x+=Math.PI/2)x>o&&(d[0]=u(x)*r+t,d[1]=l(x)*n+e,v(h,d,h),g(y,d,y))}(A,D,L,Z,O,z,R,S,k),r=P(z)*L+A,o=M(z)*Z+D;break;case _.R:y(m=r=e[t++],x=o=e[t++],m+e[t++],x+e[t++],S,k);break;case _.Z:r=m,o=x}i.min(w,w,S),i.max(b,b,k)}return 0===t&&(w[0]=w[1]=b[0]=b[1]=0),new n.Z(w[0],w[1],b[0]-w[0],b[1]-w[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,r=this._ux,i=this._uy,n=0,o=0,s=0,h=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,f=0;f<e;){var p=t[f++],d=1===f;d&&(n=t[f],o=t[f+1],s=n,h=o);var y=-1;switch(p){case _.M:n=s=t[f++],o=h=t[f++];break;case _.L:var v=t[f++],g=t[f++],m=v-n,x=g-o;(A(m)>r||A(x)>i||f===e-1)&&(y=Math.sqrt(m*m+x*x),n=v,o=g);break;case _.C:var w=t[f++],b=t[f++],v=t[f++],g=t[f++],S=t[f++],k=t[f++];y=(0,a.Ci)(n,o,w,b,v,g,S,k,10),n=S,o=k;break;case _.Q:var w=t[f++],b=t[f++],v=t[f++],g=t[f++];y=(0,a.wQ)(n,o,w,b,v,g,10),n=v,o=g;break;case _.A:var D=t[f++],Z=t[f++],O=t[f++],z=t[f++],R=t[f++],I=t[f++],F=I+R;f+=1,d&&(s=P(R)*O+D,h=M(R)*z+Z),y=C(O,z)*T(L,Math.abs(I)),n=P(F)*O+D,o=M(F)*z+Z;break;case _.R:s=n=t[f++],h=o=t[f++],y=2*t[f++]+2*t[f++];break;case _.Z:var m=s-n,x=h-o;y=Math.sqrt(m*m+x*x),n=s,o=h}y>=0&&(l[c++]=y,u+=y)}return this._pathLen=u,u},e.prototype.rebuildPath=function(t,e){var r,i,n,o,s,h,l,u,c,f,p=this.data,d=this._ux,y=this._uy,v=this._len,g=e<1,w=0,b=0,S=0;if(!g||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var k=0;k<v;){var D=p[k++],L=1===k;switch(L&&(n=p[k],o=p[k+1],r=n,i=o),D!==_.L&&S>0&&(t.lineTo(c,f),S=0),D){case _.M:r=n=p[k++],i=o=p[k++],t.moveTo(n,o);break;case _.L:s=p[k++],h=p[k++];var Z=A(s-n),O=A(h-o);if(Z>d||O>y){if(g){var z=l[b++];if(w+z>u){var R=(u-w)/z;t.lineTo(n*(1-R)+s*R,o*(1-R)+h*R);break t}w+=z}t.lineTo(s,h),n=s,o=h,S=0}else{var I=Z*Z+O*O;I>S&&(c=s,f=h,S=I)}break;case _.C:var F=p[k++],B=p[k++],H=p[k++],V=p[k++],E=p[k++],W=p[k++];if(g){var z=l[b++];if(w+z>u){var R=(u-w)/z;(0,a.Vz)(n,F,H,E,R,m),(0,a.Vz)(o,B,V,W,R,x),t.bezierCurveTo(m[1],x[1],m[2],x[2],m[3],x[3]);break t}w+=z}t.bezierCurveTo(F,B,H,V,E,W),n=E,o=W;break;case _.Q:var F=p[k++],B=p[k++],H=p[k++],V=p[k++];if(g){var z=l[b++];if(w+z>u){var R=(u-w)/z;(0,a.Lx)(n,F,H,R,m),(0,a.Lx)(o,B,V,R,x),t.quadraticCurveTo(m[1],x[1],m[2],x[2]);break t}w+=z}t.quadraticCurveTo(F,B,H,V),n=H,o=V;break;case _.A:var N=p[k++],q=p[k++],Y=p[k++],X=p[k++],j=p[k++],G=p[k++],U=p[k++],K=!p[k++],Q=Y>X?Y:X,$=A(Y-X)>.001,J=j+G,tt=!1;if(g){var z=l[b++];w+z>u&&(J=j+G*(u-w)/z,tt=!0),w+=z}if($&&t.ellipse?t.ellipse(N,q,Y,X,U,j,J,K):t.arc(N,q,Q,j,J,K),tt)break t;L&&(r=P(j)*Y+N,i=M(j)*X+q),n=P(J)*Y+N,o=M(J)*X+q;break;case _.R:r=n=p[k],i=o=p[k+1],s=p[k++],h=p[k++];var te=p[k++],tr=p[k++];if(g){var z=l[b++];if(w+z>u){var ti=u-w;t.moveTo(s,h),t.lineTo(s+T(ti,te),h),(ti-=te)>0&&t.lineTo(s+te,h+T(ti,tr)),(ti-=tr)>0&&t.lineTo(s+C(te-ti,0),h+tr),(ti-=te)>0&&t.lineTo(s,h+C(tr-ti,0));break t}w+=z}t.rect(s,h,te,tr);break;case _.Z:if(g){var z=l[b++];if(w+z>u){var R=(u-w)/z;t.lineTo(n*(1-R)+r*R,o*(1-R)+i*R);break t}w+=z}t.closePath(),n=r,o=i}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=_,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},51905:function(t,e,r){r.d(e,{Z:()=>i});let i=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,r){t.x=e,t.y=r},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,r){t.x=e.x+r.x,t.y=e.y+r.y},t.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},t.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},t.scaleAndAdd=function(t,e,r,i){t.x=e.x+r.x*i,t.y=e.y+r.y*i},t.lerp=function(t,e,r,i){var n=1-i;t.x=n*e.x+i*r.x,t.y=n*e.y+i*r.y},t}()},68943:function(t,e,r){r.d(e,{ZP:()=>p,dN:()=>f});var i=r(59296),n=r(19894),o=i.identity;function a(t){return t>5e-5||t<-5e-5}var s=[],h=[],l=i.create(),u=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;if(!(e||t)){r&&(o(r),this.invTransform=null);return}r=r||i.create(),e?this.getLocalTransform(r):o(r),t&&(e?i.mul(r,t,r):i.copy(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var r=s[0]<0?-1:1,n=s[1]<0?-1:1,o=((s[0]-r)*e+r)/s[0]||0,a=((s[1]-n)*e+n)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),n=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(n),e=Math.sqrt(e),this.skewX=n,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.create(),i.mul(h,t.invTransform,e),e=h);var r=this.originX,n=this.originY;(r||n)&&(l[4]=r,l[5]=n,i.mul(h,e,l),h[4]-=r,h[5]-=n,e=h),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var r=[t,e],i=this.invTransform;return i&&n.applyTransform(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],i=this.transform;return i&&n.applyTransform(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&u(t[0]-1)>1e-10&&u(t[3]-1)>1e-10?Math.sqrt(u(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){for(var e=this,r=t,i=0;i<f.length;i++){var n=f[i];e[n]=r[n]}},e.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,n=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,h=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(r||n||s||h){var d=r+s,y=n+h;e[4]=-d*o-f*y*a,e[5]=-y*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,l&&i.rotate(e,e,l),e[4]+=r+u,e[5]+=n+c,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let p=c},19182:function(t,e,r){r.d(e,{Z:()=>o});var i=Math.round(9*Math.random()),n="function"==typeof Object.defineProperty;let o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var r=this._guard(t);return n?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}()},6171:function(t,e,r){r.d(e,{AZ:()=>w,Ci:()=>m,Jz:()=>b,Lx:()=>k,QC:()=>S,Vz:()=>g,Wr:()=>T,X_:()=>d,Zm:()=>x,af:()=>p,kD:()=>y,pP:()=>v,t1:()=>_,wQ:()=>C});var i=r(19894),n=Math.pow,o=Math.sqrt,a=o(3),s=1/3,h=(0,i.create)(),l=(0,i.create)(),u=(0,i.create)();function c(t){return t>-1e-8&&t<1e-8}function f(t){return t>1e-8||t<-1e-8}function p(t,e,r,i,n){var o=1-n;return o*o*(o*t+3*n*e)+n*n*(n*i+3*o*r)}function d(t,e,r,i,n){var o=1-n;return 3*(((e-t)*o+2*(r-e)*n)*o+(i-r)*n*n)}function y(t,e,r,i,h,l){var u=i+3*(e-r)-t,f=3*(r-2*e+t),p=3*(e-t),d=t-h,y=f*f-3*u*p,v=f*p-9*u*d,g=p*p-3*f*d,_=0;if(c(y)&&c(v))if(c(f))l[0]=0;else{var m=-p/f;m>=0&&m<=1&&(l[_++]=m)}else{var x=v*v-4*y*g;if(c(x)){var w=v/y,m=-f/u+w,b=-w/2;m>=0&&m<=1&&(l[_++]=m),b>=0&&b<=1&&(l[_++]=b)}else if(x>0){var S=o(x),k=y*f+1.5*u*(-v+S),T=y*f+1.5*u*(-v-S),m=(-f-((k=k<0?-n(-k,s):n(k,s))+(T=T<0?-n(-T,s):n(T,s))))/(3*u);m>=0&&m<=1&&(l[_++]=m)}else{var C=Math.acos((2*y*f-3*u*v)/(2*o(y*y*y)))/3,P=o(y),M=Math.cos(C),m=(-f-2*P*M)/(3*u),b=(-f+P*(M+a*Math.sin(C)))/(3*u),A=(-f+P*(M-a*Math.sin(C)))/(3*u);m>=0&&m<=1&&(l[_++]=m),b>=0&&b<=1&&(l[_++]=b),A>=0&&A<=1&&(l[_++]=A)}}return _}function v(t,e,r,i,n){var a=6*r-12*e+6*t,s=9*e+3*i-3*t-9*r,h=3*e-3*t,l=0;if(c(s)){if(f(a)){var u=-h/a;u>=0&&u<=1&&(n[l++]=u)}}else{var p=a*a-4*s*h;if(c(p))n[0]=-a/(2*s);else if(p>0){var d=o(p),u=(-a+d)/(2*s),y=(-a-d)/(2*s);u>=0&&u<=1&&(n[l++]=u),y>=0&&y<=1&&(n[l++]=y)}}return l}function g(t,e,r,i,n,o){var a=(e-t)*n+t,s=(r-e)*n+e,h=(i-r)*n+r,l=(s-a)*n+a,u=(h-s)*n+s,c=(u-l)*n+l;o[0]=t,o[1]=a,o[2]=l,o[3]=c,o[4]=c,o[5]=u,o[6]=h,o[7]=i}function _(t,e,r,n,a,s,c,f,d,y,v){var g,_,m,x,w,b=.005,S=1/0;h[0]=d,h[1]=y;for(var k=0;k<1;k+=.05)l[0]=p(t,r,a,c,k),l[1]=p(e,n,s,f,k),(x=(0,i.distSquare)(h,l))<S&&(g=k,S=x);S=1/0;for(var T=0;T<32&&!(b<1e-4);T++)_=g-b,m=g+b,l[0]=p(t,r,a,c,_),l[1]=p(e,n,s,f,_),x=(0,i.distSquare)(l,h),_>=0&&x<S?(g=_,S=x):(u[0]=p(t,r,a,c,m),u[1]=p(e,n,s,f,m),w=(0,i.distSquare)(u,h),m<=1&&w<S?(g=m,S=w):b*=.5);return v&&(v[0]=p(t,r,a,c,g),v[1]=p(e,n,s,f,g)),o(S)}function m(t,e,r,i,n,o,a,s,h){for(var l=t,u=e,c=0,f=1/h,d=1;d<=h;d++){var y=d*f,v=p(t,r,n,a,y),g=p(e,i,o,s,y),_=v-l,m=g-u;c+=Math.sqrt(_*_+m*m),l=v,u=g}return c}function x(t,e,r,i){var n=1-i;return n*(n*t+2*i*e)+i*i*r}function w(t,e,r,i){return 2*((1-i)*(e-t)+i*(r-e))}function b(t,e,r,i,n){var a=t-2*e+r,s=2*(e-t),h=t-i,l=0;if(c(a)){if(f(s)){var u=-h/s;u>=0&&u<=1&&(n[l++]=u)}}else{var p=s*s-4*a*h;if(c(p)){var u=-s/(2*a);u>=0&&u<=1&&(n[l++]=u)}else if(p>0){var d=o(p),u=(-s+d)/(2*a),y=(-s-d)/(2*a);u>=0&&u<=1&&(n[l++]=u),y>=0&&y<=1&&(n[l++]=y)}}return l}function S(t,e,r){var i=t+r-2*e;return 0===i?.5:(t-e)/i}function k(t,e,r,i,n){var o=(e-t)*i+t,a=(r-e)*i+e,s=(a-o)*i+o;n[0]=t,n[1]=o,n[2]=s,n[3]=s,n[4]=a,n[5]=r}function T(t,e,r,n,a,s,c,f,p){var d,y=.005,v=1/0;h[0]=c,h[1]=f;for(var g=0;g<1;g+=.05){l[0]=x(t,r,a,g),l[1]=x(e,n,s,g);var _=(0,i.distSquare)(h,l);_<v&&(d=g,v=_)}v=1/0;for(var m=0;m<32&&!(y<1e-4);m++){var w=d-y,b=d+y;l[0]=x(t,r,a,w),l[1]=x(e,n,s,w);var _=(0,i.distSquare)(l,h);if(w>=0&&_<v)d=w,v=_;else{u[0]=x(t,r,a,b),u[1]=x(e,n,s,b);var S=(0,i.distSquare)(u,h);b<=1&&S<v?(d=b,v=S):y*=.5}}return p&&(p[0]=x(t,r,a,d),p[1]=x(e,n,s,d)),o(v)}function C(t,e,r,i,n,o,a){for(var s=t,h=e,l=0,u=1/a,c=1;c<=a;c++){var f=c*u,p=x(t,r,n,f),d=x(e,i,o,f),y=p-s,v=d-h;l+=Math.sqrt(y*y+v*v),s=p,h=d}return l}},26199:function(t,e,r){r.d(e,{A4:()=>u,F1:()=>d,UK:()=>c,YB:()=>l});var i=r(91254),n=Math.log(2);function o(t,e,r,i,a,s){var h=i+"-"+a,l=t.length;if(s.hasOwnProperty(h))return s[h];if(1===e){var u=Math.round(Math.log((1<<l)-1&~a)/n);return t[r][u]}for(var c=i|1<<r,f=r+1;i&1<<f;)f++;for(var p=0,d=0,y=0;d<l;d++){var v=1<<d;!(v&a)&&(p+=(y%2?-1:1)*t[r][d]*o(t,e-1,f,c,a|v,s),y++)}return s[h]=p,p}function a(t,e){var r=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},n=o(r,8,0,0,0,i);if(0!==n){for(var a=[],s=0;s<8;s++)for(var h=0;h<8;h++)null==a[h]&&(a[h]=0),a[h]+=((s+h)%2?-1:1)*o(r,7,+(0===s),1<<s,1<<h,i)/n*e[s];return function(t,e,r){var i=e*a[6]+r*a[7]+1;t[0]=(e*a[0]+r*a[1]+a[2])/i,t[1]=(e*a[3]+r*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",h=[];function l(t,e,r,i,n){return u(h,e,i,n,!0)&&u(t,r,h[0],h[1])}function u(t,e,r,n,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!c(e)){var h=e[s]||(e[s]={}),l=function(t,e,r){for(var i=r?"invTrans":"trans",n=e[i],o=e.srcCoords,s=[],h=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),f=2*u,p=c.left,d=c.top;s.push(p,d),l=l&&o&&p===o[f]&&d===o[f+1],h.push(t[u].offsetLeft,t[u].offsetTop)}return l&&n?n:(e.srcCoords=s,e[i]=r?a(h,s):a(s,h))}(function(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var i=["left","right"],n=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,h=o%2,l=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[h]+":0",n[l]+":0",i[1-h]+":auto",n[1-l]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}(e,h),h,o);if(l)return l(t,r,n),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(t){return null==t?"":(t+"").replace(f,function(t,e){return p[e]})}},91254:function(t,e,r){r.d(e,{Z:()=>p});var i,n,o,a,s,h,l,u,c=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},f=new function(){this.browser=new c,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(f.wxa=!0,f.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?f.worker=!0:!f.hasGlobalWindow||"Deno"in window?(f.node=!0,f.svgSupported=!0):(i=navigator.userAgent,o=(n=f).browser,a=i.match(/Firefox\/([\d.]+)/),s=i.match(/MSIE\s([\d.]+)/)||i.match(/Trident\/.+?rv:(([\d.]+))/),h=i.match(/Edge?\/([\d.]+)/),l=/micromessenger/i.test(i),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),h&&(o.edge=!0,o.version=h[1],o.newEdge=+h[1].split(".")[0]>18),l&&(o.weChat=!0),n.svgSupported="undefined"!=typeof SVGRect,n.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,n.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),n.domSupported="undefined"!=typeof document,u=document.documentElement.style,n.transform3dSupported=(o.ie&&"transition"in u||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),n.transformSupported=n.transform3dSupported||o.ie&&+o.version>=9);let p=f},76542:function(t,e,r){r.d(e,{OD:()=>c,Oo:()=>f,eV:()=>h,iP:()=>u,sT:()=>d,x1:()=>y,xg:()=>p});var i=r(91254),n=r(26199),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&39>+i.Z.browser.version.split(".")[0];function h(t,e,r,i){return r=r||{},i?l(t,e,r):s&&null!=e.layerX&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):null!=e.offsetX?(r.zrX=e.offsetX,r.zrY=e.offsetY):l(t,e,r),r}function l(t,e,r){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,n.UK)(t)){var h=t.getBoundingClientRect();r.zrX=o-h.left,r.zrY=s-h.top;return}if((0,n.A4)(a,t,o,s)){r.zrX=a[0],r.zrY=a[1];return}}r.zrX=r.zrY=0}function u(t){return t||window.event}function c(t,e,r){if(null!=(e=u(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var n="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];n&&h(t,n,e,r)}else{h(t,e,e,r);var a=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,i=t.deltaY;return null==r||null==i?e:3*(0!==i?Math.abs(i):Math.abs(r))*(i>0?-1:i<0?1:r>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function f(t,e,r,i){t.addEventListener(e,r,i)}function p(t,e,r,i){t.removeEventListener(e,r,i)}var d=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}},59296:function(t,e,r){function i(){return[1,0,0,1,0,0]}function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,r){var i=e[0]*r[0]+e[2]*r[1],n=e[1]*r[0]+e[3]*r[1],o=e[0]*r[2]+e[2]*r[3],a=e[1]*r[2]+e[3]*r[3],s=e[0]*r[4]+e[2]*r[5]+e[4],h=e[1]*r[4]+e[3]*r[5]+e[5];return t[0]=i,t[1]=n,t[2]=o,t[3]=a,t[4]=s,t[5]=h,t}function s(t,e,r){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+r[0],t[5]=e[5]+r[1],t}function h(t,e,r,i){void 0===i&&(i=[0,0]);var n=e[0],o=e[2],a=e[4],s=e[1],h=e[3],l=e[5],u=Math.sin(r),c=Math.cos(r);return t[0]=n*c+s*u,t[1]=-n*u+s*c,t[2]=o*c+h*u,t[3]=-o*u+c*h,t[4]=c*(a-i[0])+u*(l-i[1])+i[0],t[5]=c*(l-i[1])-u*(a-i[0])+i[1],t}function l(t,e,r){var i=r[0],n=r[1];return t[0]=e[0]*i,t[1]=e[1]*n,t[2]=e[2]*i,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*n,t}function u(t,e){var r=e[0],i=e[2],n=e[4],o=e[1],a=e[3],s=e[5],h=r*a-o*i;return h?(h=1/h,t[0]=a*h,t[1]=-o*h,t[2]=-i*h,t[3]=r*h,t[4]=(i*s-a*n)*h,t[5]=(o*n-r*s)*h,t):null}function c(t){var e=i();return o(e,t),e}r.r(e),r.d(e,{clone:()=>c,copy:()=>o,create:()=>i,identity:()=>n,invert:()=>u,mul:()=>a,rotate:()=>h,scale:()=>l,translate:()=>s})},28988:function(t,e,r){r.d(e,{Uo:()=>a,g2:()=>l,n5:()=>o,qW:()=>h});var i,n,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var r=0;r<t.length;r++){var i=String.fromCharCode(r+32),n=(t.charCodeAt(r)-20)/100;e[i]=n}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),h={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var r=h.createCanvas();i=r&&r.getContext("2d")}if(i)return n!==e&&(n=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var l=/((?:\d+)?\.?\d*)px/.exec(e),u=l&&+l[1]||o,c=0;if(e.indexOf("mono")>=0)c=u*t.length;else for(var f=0;f<t.length;f++){var p=s[t[f]];c+=null==p?u:p*u}return{width:c}},loadImage:function(t,e,r){var i=new Image;return i.onload=e,i.onerror=r,i.src=t,i}};function l(t){for(var e in h)t[e]&&(h[e]=t[e])}},99349:function(t,e,r){function i(t,e,r,i){var n=e+1;if(n===r)return 1;if(0>i(t[n++],t[e])){for(;n<r&&0>i(t[n],t[n-1]);)n++;var o=t,a=e,s=n;for(s--;a<s;){var h=o[a];o[a++]=o[s],o[s--]=h}}else for(;n<r&&i(t[n],t[n-1])>=0;)n++;return n-e}function n(t,e,r,i,n){for(i===e&&i++;i<r;i++){for(var o,a=t[i],s=e,h=i;s<h;)0>n(a,t[o=s+h>>>1])?h=o:s=o+1;var l=i-s;switch(l){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;l>0;)t[s+l]=t[s+l-1],l--}t[s]=a}}function o(t,e,r,i,n,o){var a=0,s=0,h=1;if(o(t,e[r+n])>0){for(s=i-n;h<s&&o(t,e[r+n+h])>0;)a=h,(h=(h<<1)+1)<=0&&(h=s);h>s&&(h=s),a+=n,h+=n}else{for(s=n+1;h<s&&0>=o(t,e[r+n-h]);)a=h,(h=(h<<1)+1)<=0&&(h=s);h>s&&(h=s);var l=a;a=n-h,h=n-l}for(a++;a<h;){var u=a+(h-a>>>1);o(t,e[r+u])>0?a=u+1:h=u}return h}function a(t,e,r,i,n,o){var a=0,s=0,h=1;if(0>o(t,e[r+n])){for(s=n+1;h<s&&0>o(t,e[r+n-h]);)a=h,(h=(h<<1)+1)<=0&&(h=s);h>s&&(h=s);var l=a;a=n-h,h=n-l}else{for(s=i-n;h<s&&o(t,e[r+n+h])>=0;)a=h,(h=(h<<1)+1)<=0&&(h=s);h>s&&(h=s),a+=n,h+=n}for(a++;a<h;){var u=a+(h-a>>>1);0>o(t,e[r+u])?h=u:a=u+1}return h}function s(t,e,r,s){r||(r=0),s||(s=t.length);var h=s-r;if(!(h<2)){var l=0;if(h<32){l=i(t,r,s,e),n(t,r,s,r+l,e);return}var u=function(t,e){var r,i,n=7,s=0,h=[];function l(l){var u=r[l],c=i[l],f=r[l+1],p=i[l+1];i[l]=c+p,l===s-3&&(r[l+1]=r[l+2],i[l+1]=i[l+2]),s--;var d=a(t[f],t,u,c,0,e);u+=d,0!=(c-=d)&&0!==(p=o(t[u+c-1],t,f,p,p-1,e))&&(c<=p?function(r,i,s,l){var u,c,f,p=0;for(p=0;p<i;p++)h[p]=t[r+p];var d=0,y=s,v=r;if(t[v++]=t[y++],0==--l){for(p=0;p<i;p++)t[v+p]=h[d+p];return}if(1===i){for(p=0;p<l;p++)t[v+p]=t[y+p];t[v+l]=h[d];return}for(var g=n;;){u=0,c=0,f=!1;do if(0>e(t[y],h[d])){if(t[v++]=t[y++],c++,u=0,0==--l){f=!0;break}}else if(t[v++]=h[d++],u++,c=0,1==--i){f=!0;break}while((u|c)<g);if(f)break;do{if(0!==(u=a(t[y],h,d,i,0,e))){for(p=0;p<u;p++)t[v+p]=h[d+p];if(v+=u,d+=u,(i-=u)<=1){f=!0;break}}if(t[v++]=t[y++],0==--l){f=!0;break}if(0!==(c=o(h[d],t,y,l,0,e))){for(p=0;p<c;p++)t[v+p]=t[y+p];if(v+=c,y+=c,0==(l-=c)){f=!0;break}}if(t[v++]=h[d++],1==--i){f=!0;break}g--}while(u>=7||c>=7);if(f)break;g<0&&(g=0),g+=2}if((n=g)<1&&(n=1),1===i){for(p=0;p<l;p++)t[v+p]=t[y+p];t[v+l]=h[d]}else if(0===i)throw Error();else for(p=0;p<i;p++)t[v+p]=h[d+p]}(u,c,f,p):function(r,i,s,l){var u=0;for(u=0;u<l;u++)h[u]=t[s+u];var c=r+i-1,f=l-1,p=s+l-1,d=0,y=0;if(t[p--]=t[c--],0==--i){for(u=0,d=p-(l-1);u<l;u++)t[d+u]=h[u];return}if(1===l){for(p-=i,c-=i,y=p+1,d=c+1,u=i-1;u>=0;u--)t[y+u]=t[d+u];t[p]=h[f];return}for(var v=n;;){var g=0,_=0,m=!1;do if(0>e(h[f],t[c])){if(t[p--]=t[c--],g++,_=0,0==--i){m=!0;break}}else if(t[p--]=h[f--],_++,g=0,1==--l){m=!0;break}while((g|_)<v);if(m)break;do{if(0!=(g=i-a(h[f],t,r,i,i-1,e))){for(p-=g,c-=g,i-=g,y=p+1,d=c+1,u=g-1;u>=0;u--)t[y+u]=t[d+u];if(0===i){m=!0;break}}if(t[p--]=h[f--],1==--l){m=!0;break}if(0!=(_=l-o(t[c],h,0,l,l-1,e))){for(p-=_,f-=_,l-=_,y=p+1,d=f+1,u=0;u<_;u++)t[y+u]=h[d+u];if(l<=1){m=!0;break}}if(t[p--]=t[c--],0==--i){m=!0;break}v--}while(g>=7||_>=7);if(m)break;v<0&&(v=0),v+=2}if((n=v)<1&&(n=1),1===l){for(p-=i,c-=i,y=p+1,d=c+1,u=i-1;u>=0;u--)t[y+u]=t[d+u];t[p]=h[f]}else if(0===l)throw Error();else for(u=0,d=p-(l-1);u<l;u++)t[d+u]=h[u]}(u,c,f,p))}return r=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;l(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,l(t)}},pushRun:function(t,e){r[s]=t,i[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(h);do{if((l=i(t,r,s,e))<c){var f=h;f>c&&(f=c),n(t,r,r+f,r+l,e),l=f}u.pushRun(r,l),u.mergeRuns(),h-=l,r+=l}while(0!==h);u.forceMergeRuns()}}r.d(e,{Z:()=>s})},76109:function(t,e,r){r.r(e),r.d(e,{HashMap:()=>ts,RADIAN_TO_DEGREE:()=>td,assert:()=>tt,bind:()=>z,clone:()=>_,concatArray:()=>tl,createCanvas:()=>S,createHashMap:()=>th,createObject:()=>tu,curry:()=>R,defaults:()=>b,disableUserSelect:()=>tc,each:()=>M,eqNaN:()=>G,extend:()=>w,filter:()=>L,find:()=>Z,guid:()=>v,hasOwn:()=>tf,indexOf:()=>k,inherits:()=>T,isArray:()=>I,isArrayLike:()=>P,isBuiltInObject:()=>W,isDom:()=>q,isFunction:()=>F,isGradientObject:()=>Y,isImagePatternObject:()=>X,isNumber:()=>V,isObject:()=>E,isPrimitive:()=>tn,isRegExp:()=>j,isString:()=>B,isStringSafe:()=>H,isTypedArray:()=>N,keys:()=>O,logError:()=>g,map:()=>A,merge:()=>m,mergeAll:()=>x,mixin:()=>C,noop:()=>tp,normalizeCssArray:()=>J,reduce:()=>D,retrieve:()=>U,retrieve2:()=>K,retrieve3:()=>Q,setAsPrimitive:()=>ti,slice:()=>$,trim:()=>te});var i=r(28988),n=D(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=D(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,h=s.forEach,l=s.filter,u=s.slice,c=s.map,f=(function(){}).constructor,p=f?f.prototype:null,d="__proto__",y=2311;function v(){return y++}function g(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function _(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!t[tr]){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=_(t[i])}}else if(o[r]){if(!t[tr]){var h=t.constructor;if(h.from)e=h.from(t);else{e=new h(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!n[r]&&!t[tr]&&!q(t))for(var l in e={},t)t.hasOwnProperty(l)&&l!==d&&(e[l]=_(t[l]));return e}function m(t,e,r){if(!E(e)||!E(t))return r?_(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==d){var n=t[i],o=e[i];!(E(o)&&E(n))||I(o)||I(n)||q(o)||q(n)||W(o)||W(n)||o[tr]||n[tr]?!r&&i in t||(t[i]=_(e[i])):m(n,o,r)}return t}function x(t,e){for(var r=t[0],i=1,n=t.length;i<n;i++)r=m(r,t[i],e);return r}function w(t,e){if(Object.assign)Object.assign(t,e);else for(var r in e)e.hasOwnProperty(r)&&r!==d&&(t[r]=e[r]);return t}function b(t,e,r){for(var i=O(e),n=0,o=i.length;n<o;n++){var a=i[n];(r?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var S=i.qW.createCanvas;function k(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r}return -1}function T(t,e){var r=t.prototype;function i(){}for(var n in i.prototype=e.prototype,t.prototype=new i,r)r.hasOwnProperty(n)&&(t.prototype[n]=r[n]);t.prototype.constructor=t,t.superClass=e}function C(t,e,r){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),n=0;n<i.length;n++){var o=i[n];"constructor"!==o&&(r?null!=e[o]:null==t[o])&&(t[o]=e[o])}else b(t,e,r)}function P(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function M(t,e,r){if(t&&e)if(t.forEach&&t.forEach===h)t.forEach(e,r);else if(t.length===+t.length)for(var i=0,n=t.length;i<n;i++)e.call(r,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(r,t[o],o,t)}function A(t,e,r){if(!t)return[];if(!e)return $(t);if(t.map&&t.map===c)return t.map(e,r);for(var i=[],n=0,o=t.length;n<o;n++)i.push(e.call(r,t[n],n,t));return i}function D(t,e,r,i){if(t&&e){for(var n=0,o=t.length;n<o;n++)r=e.call(i,r,t[n],n,t);return r}}function L(t,e,r){if(!t)return[];if(!e)return $(t);if(t.filter&&t.filter===l)return t.filter(e,r);for(var i=[],n=0,o=t.length;n<o;n++)e.call(r,t[n],n,t)&&i.push(t[n]);return i}function Z(t,e,r){if(t&&e){for(var i=0,n=t.length;i<n;i++)if(e.call(r,t[i],i,t))return t[i]}}function O(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}var z=p&&F(p.bind)?p.call.bind(p.bind):function(t,e){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return function(){return t.apply(e,r.concat(u.call(arguments)))}};function R(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return function(){return t.apply(this,e.concat(u.call(arguments)))}}function I(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function F(t){return"function"==typeof t}function B(t){return"string"==typeof t}function H(t){return"[object String]"===a.call(t)}function V(t){return"number"==typeof t}function E(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function W(t){return!!n[a.call(t)]}function N(t){return!!o[a.call(t)]}function q(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function Y(t){return null!=t.colorStops}function X(t){return null!=t.image}function j(t){return"[object RegExp]"===a.call(t)}function G(t){return t!=t}function U(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0,i=t.length;r<i;r++)if(null!=t[r])return t[r]}function K(t,e){return null!=t?t:e}function Q(t,e,r){return null!=t?t:null!=e?e:r}function $(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return u.apply(t,e)}function J(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw Error(e)}function te(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var tr="__ec_primitive__";function ti(t){t[tr]=!0}function tn(t){return t[tr]}var to=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return O(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)},t}(),ta="function"==typeof Map,ts=function(){function t(e){var r=I(e);this.data=ta?new Map:new to;var i=this;function n(t,e){r?i.set(t,e):i.set(e,t)}e instanceof t?e.each(n):e&&M(e,n)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(r,i){t.call(e,r,i)})},t.prototype.keys=function(){var t=this.data.keys();return ta?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function th(t){return new ts(t)}function tl(t,e){for(var r=new t.constructor(t.length+e.length),i=0;i<t.length;i++)r[i]=t[i];for(var n=t.length,i=0;i<e.length;i++)r[i+n]=e[i];return r}function tu(t,e){var r;if(Object.create)r=Object.create(t);else{var i=function(){};i.prototype=t,r=new i}return e&&w(r,e),r}function tc(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tf(t,e){return t.hasOwnProperty(e)}function tp(){}var td=180/Math.PI},19894:function(t,e,r){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function n(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,r){return t[0]=e,t[1]=r,t}function s(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function h(t,e,r,i){return t[0]=e[0]+r[0]*i,t[1]=e[1]+r[1]*i,t}function l(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function u(t){return Math.sqrt(f(t))}r.r(e),r.d(e,{add:()=>s,applyTransform:()=>T,clone:()=>o,copy:()=>n,create:()=>i,dist:()=>x,distSquare:()=>b,distance:()=>m,distanceSquare:()=>w,div:()=>y,dot:()=>v,len:()=>u,lenSquare:()=>f,length:()=>c,lengthSquare:()=>p,lerp:()=>k,max:()=>P,min:()=>C,mul:()=>d,negate:()=>S,normalize:()=>_,scale:()=>g,scaleAndAdd:()=>h,set:()=>a,sub:()=>l});var c=u;function f(t){return t[0]*t[0]+t[1]*t[1]}var p=f;function d(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t}function y(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function g(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function _(t,e){var r=u(e);return 0===r?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function m(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=m;function w(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var b=w;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function k(t,e,r,i){return t[0]=e[0]+i*(r[0]-e[0]),t[1]=e[1]+i*(r[1]-e[1]),t}function T(t,e,r){var i=e[0],n=e[1];return t[0]=r[0]*i+r[2]*n+r[4],t[1]=r[1]*i+r[3]*n+r[5],t}function C(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function P(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}},61706:function(t,e,r){r.d(e,{Z:()=>o});var i=r(377),n=r(80598);let o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.__extends)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),r=0;r<t.length;r++)e=e||t[r].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),r=0;r<t.length;r++)t[r].path||t[r].createPathProxy(),t[r].path.setScale(e[0],e[1],t[r].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var r=e.paths||[],i=0;i<r.length;i++)r[i].buildPath(t,r[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),n.ZP.prototype.getBoundingRect.call(this)},e}(n.ZP)},52274:function(t,e,r){r.d(e,{ZP:()=>v,ik:()=>u,tj:()=>l});var i=r(377),n=r(86196),o=r(94757),a=r(76109),s=r(54709),h="__zr_style_"+Math.round(10*Math.random()),l={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},u={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};l[h]=!0;var c=["z","z2","invisible"],f=["invisible"],p=function(t){var e;function r(e){return t.call(this,e)||this}return(0,i.__extends)(r,t),r.prototype._init=function(e){for(var r=(0,a.keys)(e),i=0;i<r.length;i++){var n=r[i];"style"===n?this.useStyle(e[n]):t.prototype.attrKV.call(this,n,e[n])}this.style||this.useStyle({})},r.prototype.beforeBrush=function(){},r.prototype.afterBrush=function(){},r.prototype.innerBeforeBrush=function(){},r.prototype.innerAfterBrush=function(){},r.prototype.shouldBePainted=function(t,e,r,i){var n,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(n=this,o=t,a=e,d.copy(n.getBoundingRect()),n.transform&&d.applyTransform(n.transform),y.width=o,y.height=a,!d.intersect(y))||s&&!s[0]&&!s[3])return!1;if(r&&this.__clipPaths){for(var h=0;h<this.__clipPaths.length;++h)if(this.__clipPaths[h].isZeroArea())return!1}if(i&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},r.prototype.contain=function(t,e){return this.rectContain(t,e)},r.prototype.traverse=function(t,e){t.call(e,this)},r.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(r[0],r[1])},r.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),i=this.style,n=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,r,e):t.copy(r),(n||a||s)&&(t.width+=2*n+Math.abs(a),t.height+=2*n+Math.abs(s),t.x=Math.min(t.x,t.x+a-n),t.y=Math.min(t.y,t.y+s-n));var h=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-h),t.y=Math.floor(t.y-h),t.width=Math.ceil(t.width+1+2*h),t.height=Math.ceil(t.height+1+2*h))}return t},r.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},r.prototype.getPrevPaintRect=function(){return this._prevPaintRect},r.prototype.animateStyle=function(t){return this.animate("style",t)},r.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},r.prototype.attrKV=function(e,r){"style"!==e?t.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},r.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},r.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},r.prototype.dirty=function(){this.dirtyStyle()},r.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},r.prototype.styleUpdated=function(){this.__dirty&=~s.SE},r.prototype.createStyle=function(t){return(0,a.createObject)(l,t)},r.prototype.useStyle=function(t){t[h]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},r.prototype.isStyleObject=function(t){return t[h]},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,c)},r.prototype._applyStateObj=function(e,r,i,n,o,s){t.prototype._applyStateObj.call(this,e,r,i,n,o,s);var h,l=!(r&&n);if(r&&r.style?o?n?h=r.style:(h=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(h,r.style)):(h=this._mergeStyle(this.createStyle(),n?this.style:i.style),this._mergeStyle(h,r.style)):l&&(h=i.style),h)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var p=(0,a.keys)(u),d=0;d<p.length;d++){var y=p[d];y in h&&(h[y]=h[y],this.style[y]=u[y])}for(var v=(0,a.keys)(h),d=0;d<v.length;d++){var y=v[d];this.style[y]=this.style[y]}this._transitionState(e,{style:h},s,this.getAnimationStyleProps())}else this.useStyle(h);for(var g=this.__inHover?f:c,d=0;d<g.length;d++){var y=g[d];r&&null!=r[y]?this[y]=r[y]:l&&null!=i[y]&&(this[y]=i[y])}},r.prototype._mergeStates=function(e){for(var r,i=t.prototype._mergeStates.call(this,e),n=0;n<e.length;n++){var o=e[n];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(i.style=r),i},r.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},r.prototype.getAnimationStyleProps=function(){return u},r.initDefaultProps=void((e=r.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.YV|s.SE),r}(n.Z),d=new o.Z(0,0,0,0),y=new o.Z(0,0,0,0);let v=p},85721:function(t,e,r){r.d(e,{Z:()=>i});let i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},26951:function(t,e,r){r.d(e,{Z:()=>h});var i=r(377),n=r(76109),o=r(86196),a=r(94757),s=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return(0,i.__extends)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,r=0;r<e.length;r++)if(e[r].name===t)return e[r]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var r=this._children,i=r.indexOf(e);i>=0&&(r.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=n.indexOf(this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,i=r[e];if(t&&t!==this&&t.parent!==this&&t!==i){r[e]=t,i.parent=null;var n=this.__zr;n&&i.removeSelfFromZr(n),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,r=this._children,i=n.indexOf(r,t);return i<0||(r.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,r=0;r<t.length;r++){var i=t[r];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var r=this._children,i=0;i<r.length;i++){var n=r[i];t.call(e,n,i)}return this},e.prototype.traverse=function(t,e){for(var r=0;r<this._children.length;r++){var i=this._children[r],n=t.call(e,i);i.isGroup&&!n&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),r=t||this._children,i=[],n=null,o=0;o<r.length;o++){var s=r[o];if(!s.ignore&&!s.invisible){var h=s.getBoundingRect(),l=s.getLocalTransform(i);l?(a.Z.applyTransform(e,h,l),(n=n||e.clone()).union(e)):(n=n||h.clone()).union(h)}}return n||e},e}(o.Z);s.prototype.type="group";let h=s},10781:function(t,e,r){r.d(e,{ZP:()=>u});var i=r(377),n=r(52274),o=r(94757),a=r(76109),s=(0,a.defaults)({x:0,y:0},n.tj),h={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},n.ik.style)},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,r=this.style,i=r[t];if(null!=i)return i;var n=(e=r.image)&&"string"!=typeof e&&e.width&&e.height?r.image:this.__image;if(!n)return 0;var o="width"===t?"height":"width",a=r[o];return null==a?n[t]:n[t]/n[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return h},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(n.ZP);l.prototype.type="image";let u=l},2191:function(t,e,r){r.d(e,{Z:()=>s});var i=r(377),n=r(52274),o=r(94757),a=[];let s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.__extends)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var r=0;r<t.length;r++)this.addDisplayable(t[r],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var r=this._displayables[e],i=r.getBoundingRect().clone();r.needLocalTransform()&&i.applyTransform(r.getLocalTransform(a)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(r[0],r[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(n.ZP)},16217:function(t,e,r){r.d(e,{Z:()=>n});var i=r(377);let n=function(t){function e(e,r,i,n,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==r?0:r,s.x2=null==i?1:i,s.y2=null==n?0:n,s.type="linear",s.global=a||!1,s}return(0,i.__extends)(e,t),e}(r(85721).Z)},80598:function(t,e,r){r.d(e,{$t:()=>w,ZP:()=>k});var i=r(377),n=r(52274),o=r(46675);function a(t,e,r,i,n,o,a){if(0===n)return!1;var s=0,h=t;if(a>e+n&&a>i+n||a<e-n&&a<i-n||o>t+n&&o>r+n||o<t-n&&o<r-n)return!1;if(t===r)return Math.abs(o-t)<=n/2;s=(e-i)/(t-r);var l=s*o-a+(h=(t*i-r*e)/(t-r));return l*l/(s*s+1)<=n/2*n/2}var s=r(6171),h=r(69755),l=2*Math.PI,u=r(8110),c=o.Z.CMD,f=2*Math.PI,p=[-1,-1,-1],d=[-1,-1];function y(t,e,r,i,n){for(var o,y,v=t.data,g=t.len(),_=0,m=0,x=0,w=0,b=0,S=0;S<g;){var k,T,C,P,M,A,D,L,Z,O,z,R,I,F,B=v[S++],H=1===S;switch(B===c.M&&S>1&&!r&&(_+=(0,u.Z)(m,x,w,b,i,n)),H&&(m=v[S],x=v[S+1],w=m,b=x),B){case c.M:w=v[S++],b=v[S++],m=w,x=b;break;case c.L:if(r){if(a(m,x,v[S],v[S+1],e,i,n))return!0}else _+=(0,u.Z)(m,x,v[S],v[S+1],i,n)||0;m=v[S++],x=v[S++];break;case c.C:if(r){if(k=m,T=x,C=v[S++],P=v[S++],M=v[S++],A=v[S++],D=v[S],L=v[S+1],0!==e&&(!(n>T+e)||!(n>P+e)||!(n>A+e)||!(n>L+e))&&(!(n<T-e)||!(n<P-e)||!(n<A-e)||!(n<L-e))&&(!(i>k+e)||!(i>C+e)||!(i>M+e)||!(i>D+e))&&(!(i<k-e)||!(i<C-e)||!(i<M-e)||!(i<D-e))&&s.t1(k,T,C,P,M,A,D,L,i,n,null)<=e/2)return!0}else _+=function(t,e,r,i,n,o,a,h,l,u){if(u>e&&u>i&&u>o&&u>h||u<e&&u<i&&u<o&&u<h)return 0;var c=s.kD(e,i,o,h,u,p);if(0===c)return 0;for(var f=0,y=-1,v=void 0,g=void 0,_=0;_<c;_++){var m=p[_],x=0===m||1===m?.5:1;s.af(t,r,n,a,m)<l||(y<0&&(y=s.pP(e,i,o,h,d),d[1]<d[0]&&y>1&&function(){var t=d[0];d[0]=d[1],d[1]=t}(),v=s.af(e,i,o,h,d[0]),y>1&&(g=s.af(e,i,o,h,d[1]))),2===y?m<d[0]?f+=v<e?x:-x:m<d[1]?f+=g<v?x:-x:f+=h<g?x:-x:m<d[0]?f+=v<e?x:-x:f+=h<v?x:-x)}return f}(m,x,v[S++],v[S++],v[S++],v[S++],v[S],v[S+1],i,n)||0;m=v[S++],x=v[S++];break;case c.Q:if(r){if(Z=m,O=x,z=v[S++],R=v[S++],I=v[S],F=v[S+1],0!==e&&(!(n>O+e)||!(n>R+e)||!(n>F+e))&&(!(n<O-e)||!(n<R-e)||!(n<F-e))&&(!(i>Z+e)||!(i>z+e)||!(i>I+e))&&(!(i<Z-e)||!(i<z-e)||!(i<I-e))&&(0,s.Wr)(Z,O,z,R,I,F,i,n,null)<=e/2)return!0}else _+=function(t,e,r,i,n,o,a,h){if(h>e&&h>i&&h>o||h<e&&h<i&&h<o)return 0;var l=s.Jz(e,i,o,h,p);if(0===l)return 0;var u=s.QC(e,i,o);if(u>=0&&u<=1){for(var c=0,f=s.Zm(e,i,o,u),d=0;d<l;d++){var y=0===p[d]||1===p[d]?.5:1,v=s.Zm(t,r,n,p[d]);v<a||(p[d]<u?c+=f<e?y:-y:c+=o<f?y:-y)}return c}var y=0===p[0]||1===p[0]?.5:1,v=s.Zm(t,r,n,p[0]);return v<a?0:o<e?y:-y}(m,x,v[S++],v[S++],v[S],v[S+1],i,n)||0;m=v[S++],x=v[S++];break;case c.A:var V=v[S++],E=v[S++],W=v[S++],N=v[S++],q=v[S++],Y=v[S++];S+=1;var X=!!(1-v[S++]);o=Math.cos(q)*W+V,y=Math.sin(q)*N+E,H?(w=o,b=y):_+=(0,u.Z)(m,x,o,y,i,n);var j=(i-V)*N/W+V;if(r){if(function(t,e,r,i,n,o,a,s,u){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(u-=e)*u);if(c-a>r||c+a<r)return!1;if(Math.abs(i-n)%l<1e-4)return!0;if(o){var f=i;i=(0,h.m)(n),n=(0,h.m)(f)}else i=(0,h.m)(i),n=(0,h.m)(n);i>n&&(n+=l);var p=Math.atan2(u,s);return p<0&&(p+=l),p>=i&&p<=n||p+l>=i&&p+l<=n}(V,E,N,q,q+Y,X,e,j,n))return!0}else _+=function(t,e,r,i,n,o,a,s){if((s-=e)>r||s<-r)return 0;var h=Math.sqrt(r*r-s*s);p[0]=-h,p[1]=h;var l=Math.abs(i-n);if(l<1e-4)return 0;if(l>=f-1e-4){i=0,n=f;var u=o?1:-1;return a>=p[0]+t&&a<=p[1]+t?u:0}if(i>n){var c=i;i=n,n=c}i<0&&(i+=f,n+=f);for(var d=0,y=0;y<2;y++){var v=p[y];if(v+t>a){var g=Math.atan2(s,v),u=o?1:-1;g<0&&(g=f+g),(g>=i&&g<=n||g+f>=i&&g+f<=n)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),d+=u)}}return d}(V,E,N,q,q+Y,X,j,n);m=Math.cos(q+Y)*W+V,x=Math.sin(q+Y)*N+E;break;case c.R:w=m=v[S++],b=x=v[S++];var G=v[S++],U=v[S++];if(o=w+G,y=b+U,r){if(a(w,b,o,b,e,i,n)||a(o,b,o,y,e,i,n)||a(o,y,w,y,e,i,n)||a(w,y,w,b,e,i,n))return!0}else _+=(0,u.Z)(o,b,o,y,i,n),_+=(0,u.Z)(w,y,w,b,i,n);break;case c.Z:if(r){if(a(m,x,w,b,e,i,n))return!0}else _+=(0,u.Z)(m,x,w,b,i,n);m=w,x=b}}return r||1e-4>Math.abs(x-b)||(_+=(0,u.Z)(m,x,w,b,i,n)||0),0!==_}var v=r(76109),g=r(41420),_=r(8862),m=r(54709),x=r(68943),w=(0,v.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},n.tj),b={style:(0,v.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},n.ik.style)},S=x.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let k=function(t){var e;function r(e){return t.call(this,e)||this}return(0,i.__extends)(r,t),r.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var n=this._decalEl=this._decalEl||new r;n.buildPath===r.prototype.buildPath&&(n.buildPath=function(t){e.buildPath(t,e.shape)}),n.silent=!0;var o=n.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<S.length;++s)n[S[s]]=this[S[s]];n.__dirty|=m.YV}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(e){var r=(0,v.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var n=0;n<r.length;n++){var o=r[n],a=e[o];"style"===o?this.style?(0,v.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,v.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.isString)(t)){var e=(0,g.lum)(t,0);return e>.5?_.vU:e>.2?_.iv:_.GD}else if(t)return _.GD}return _.vU},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.isString)(e)){var r=this.__zr;if(!!(r&&r.isDarkMode())==(0,g.lum)(t,0)<_.Ak)return e}},r.prototype.buildPath=function(t,e,r){},r.prototype.pathUpdated=function(){this.__dirty&=~m.RH},r.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},r.prototype.createPathProxy=function(){this.path=new o.Z(!1)},r.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},r.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},r.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,r=!t;if(r){var i=!1;this.path||(i=!0,this.createPathProxy());var n=this.path;(i||this.__dirty&m.RH)&&(n.beginPath(),this.buildPath(n,this.shape,!1),this.pathUpdated()),t=n.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||r){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var h=this.strokeContainThreshold;s=Math.max(s,null==h?4:h)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},r.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),n=this.style;if(t=r[0],e=r[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=n.lineWidth,s=n.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=m.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(t){return this.animate("shape",t)},r.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},r.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"==typeof t?r[t]=e:(0,v.extend)(r,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&m.RH)},r.prototype.createStyle=function(t){return(0,v.createObject)(w,t)},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=(0,v.extend)({},this.shape))},r.prototype._applyStateObj=function(e,r,i,n,o,a){t.prototype._applyStateObj.call(this,e,r,i,n,o,a);var s,h=!(r&&n);if(r&&r.shape?o?n?s=r.shape:(s=(0,v.extend)({},i.shape),(0,v.extend)(s,r.shape)):(s=(0,v.extend)({},n?this.shape:i.shape),(0,v.extend)(s,r.shape)):h&&(s=i.shape),s)if(o){this.shape=(0,v.extend)({},this.shape);for(var l={},u=(0,v.keys)(s),c=0;c<u.length;c++){var f=u[c];"object"==typeof s[f]?this.shape[f]=s[f]:l[f]=s[f]}this._transitionState(e,{shape:l},a)}else this.shape=s,this.dirtyShape()},r.prototype._mergeStates=function(e){for(var r,i=t.prototype._mergeStates.call(this,e),n=0;n<e.length;n++){var o=e[n];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(i.shape=r),i},r.prototype.getAnimationStyleProps=function(){return b},r.prototype.isZeroArea=function(){return!1},r.extend=function(t){var e=function(e){function r(r){var i=e.call(this,r)||this;return t.init&&t.init.call(i,r),i}return(0,i.__extends)(r,e),r.prototype.getDefaultStyle=function(){return(0,v.clone)(t.style)},r.prototype.getDefaultShape=function(){return(0,v.clone)(t.shape)},r}(r);for(var n in t)"function"==typeof t[n]&&(e.prototype[n]=t[n]);return e},r.initDefaultProps=void((e=r.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=m.YV|m.SE|m.RH),r}(n.ZP)},7276:function(t,e,r){r.d(e,{Z:()=>n});var i=r(377);let n=function(t){function e(e,r,i,n,o){var a=t.call(this,n)||this;return a.x=null==e?.5:e,a.y=null==r?.5:r,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.__extends)(e,t),e}(r(85721).Z)},19291:function(t,e,r){r.d(e,{Z:()=>c});var i=r(377),n=r(52274),o=r(95260),a=r(80598),s=r(76109),h=r(28988),l=(0,s.defaults)({strokeFirst:!0,font:h.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.createObject)(l,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var r=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(r.x+=t.x||0,r.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;r.x-=i/2,r.y-=i/2,r.width+=i,r.height+=i}this._rect=r}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(n.ZP);u.prototype.type="tspan";let c=u},71839:function(t,e,r){r.d(e,{ZP:()=>C});var i=r(377),n=r(21496),o=r(19291),a=r(76109),s=r(95260),h=r(10781),l=r(1946),u=r(94757),c=r(52274),f=r(28988),p={fill:"#000"},d={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},c.ik.style)},y=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=p,r.attr(e),r}return(0,i.__extends)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var r=this._children[e];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var r=this.innerTransformable;return r?r.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,x(t=this.style),(0,a.each)(t.rich,x),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new u.Z(0,0,0,0),e=this._children,r=[],i=null,n=0;n<e.length;n++){var o=e[n],a=o.getBoundingRect(),s=o.getLocalTransform(r);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||p},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var r=e.rich,i=t.rich||r&&{};return(0,a.extend)(t,e),r&&i?(this._mergeRich(i,r),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var r=(0,a.keys)(e),i=0;i<r.length;i++){var n=r[i];t[n]=t[n]||{},(0,a.extend)(t[n],e[n])}},e.prototype.getAnimationStyleProps=function(){return d},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||f.Uo,r=t.padding,i=k(t),a=(0,n.NY)(i,t),h=T(t),l=!!t.backgroundColor,c=a.outerHeight,p=a.outerWidth,d=a.contentWidth,y=a.lines,v=a.lineHeight,g=this._defaultStyle;this.isTruncated=!!a.isTruncated;var _=t.x||0,x=t.y||0,C=t.align||g.align||"left",P=t.verticalAlign||g.verticalAlign||"top",M=_,A=(0,s.mU)(x,a.contentHeight,P);if(h||r){var D=(0,s.M3)(_,p,C),L=(0,s.mU)(x,c,P);h&&this._renderBackground(t,t,D,L,p,c)}A+=v/2,r&&(M=S(_,C,r),"top"===P?A+=r[0]:"bottom"===P&&(A-=r[2]));for(var Z=0,O=!1,z=b("fill"in t?t.fill:(O=!0,g.fill)),R=w("stroke"in t?t.stroke:l||g.autoStroke&&!O?null:(Z=2,g.stroke)),I=t.textShadowBlur>0,F=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),B=a.calculatedLineHeight,H=0;H<y.length;H++){var V=this._getOrCreateChild(o.Z),E=V.createStyle();V.useStyle(E),E.text=y[H],E.x=M,E.y=A,C&&(E.textAlign=C),E.textBaseline="middle",E.opacity=t.opacity,E.strokeFirst=!0,I&&(E.shadowBlur=t.textShadowBlur||0,E.shadowColor=t.textShadowColor||"transparent",E.shadowOffsetX=t.textShadowOffsetX||0,E.shadowOffsetY=t.textShadowOffsetY||0),E.stroke=R,E.fill=z,R&&(E.lineWidth=t.lineWidth||Z,E.lineDash=t.lineDash,E.lineDashOffset=t.lineDashOffset||0),E.font=e,m(E,t),A+=v,F&&V.setBoundingRect(new u.Z((0,s.M3)(E.x,d,E.textAlign),(0,s.mU)(E.y,B,E.textBaseline),d,B))}},e.prototype._updateRichTexts=function(){var t=this.style,e=k(t),r=(0,n.$F)(e,t),i=r.width,o=r.outerWidth,a=r.outerHeight,h=t.padding,l=t.x||0,u=t.y||0,c=this._defaultStyle,f=t.align||c.align,p=t.verticalAlign||c.verticalAlign;this.isTruncated=!!r.isTruncated;var d=(0,s.M3)(l,o,f),y=(0,s.mU)(u,a,p),v=d,g=y;h&&(v+=h[3],g+=h[0]);var _=v+i;T(t)&&this._renderBackground(t,t,d,y,o,a);for(var m=!!t.backgroundColor,x=0;x<r.lines.length;x++){for(var w=r.lines[x],b=w.tokens,S=b.length,C=w.lineHeight,P=w.width,M=0,A=v,D=_,L=S-1,Z=void 0;M<S&&(!(Z=b[M]).align||"left"===Z.align);)this._placeToken(Z,t,C,g,A,"left",m),P-=Z.width,A+=Z.width,M++;for(;L>=0&&"right"===(Z=b[L]).align;)this._placeToken(Z,t,C,g,D,"right",m),P-=Z.width,D-=Z.width,L--;for(A+=(i-(A-v)-(_-D)-P)/2;M<=L;)Z=b[M],this._placeToken(Z,t,C,g,A+Z.width/2,"center",m),A+=Z.width,M++;g+=C}},e.prototype._placeToken=function(t,e,r,i,n,h,l){var c=e.rich[t.styleName]||{};c.text=t.text;var p=t.verticalAlign,d=i+r/2;"top"===p?d=i+t.height/2:"bottom"===p&&(d=i+r-t.height/2),!t.isLineHolder&&T(c)&&this._renderBackground(c,e,"right"===h?n-t.width:"center"===h?n-t.width/2:n,d-t.height/2,t.width,t.height);var y=!!c.backgroundColor,v=t.textPadding;v&&(n=S(n,h,v),d-=t.height/2-v[0]-t.innerHeight/2);var g=this._getOrCreateChild(o.Z),_=g.createStyle();g.useStyle(_);var x=this._defaultStyle,k=!1,C=0,P=b("fill"in c?c.fill:"fill"in e?e.fill:(k=!0,x.fill)),M=w("stroke"in c?c.stroke:"stroke"in e?e.stroke:y||l||x.autoStroke&&!k?null:(C=2,x.stroke)),A=c.textShadowBlur>0||e.textShadowBlur>0;_.text=t.text,_.x=n,_.y=d,A&&(_.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,_.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",_.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,_.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),_.textAlign=h,_.textBaseline="middle",_.font=t.font||f.Uo,_.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),m(_,c),M&&(_.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,C),_.lineDash=(0,a.retrieve2)(c.lineDash,e.lineDash),_.lineDashOffset=e.lineDashOffset||0,_.stroke=M),P&&(_.fill=P);var D=t.contentWidth,L=t.contentHeight;g.setBoundingRect(new u.Z((0,s.M3)(_.x,D,_.textAlign),(0,s.mU)(_.y,L,_.textBaseline),D,L))},e.prototype._renderBackground=function(t,e,r,i,n,o){var s,u,c=t.backgroundColor,f=t.borderWidth,p=t.borderColor,d=c&&c.image,y=c&&!d,v=t.borderRadius,g=this;if(y||t.lineHeight||f&&p){(s=this._getOrCreateChild(l.Z)).useStyle(s.createStyle()),s.style.fill=null;var _=s.shape;_.x=r,_.y=i,_.width=n,_.height=o,_.r=v,s.dirtyShape()}if(y){var m=s.style;m.fill=c||null,m.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(d){(u=this._getOrCreateChild(h.ZP)).onload=function(){g.dirtyStyle()};var x=u.style;x.image=c.image,x.x=r,x.y=i,x.width=n,x.height=o}if(f&&p){var m=s.style;m.lineWidth=f,m.stroke=p,m.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var w=(s||u).style;w.shadowBlur=t.shadowBlur||0,w.shadowColor=t.shadowColor||"transparent",w.shadowOffsetX=t.shadowOffsetX||0,w.shadowOffsetY=t.shadowOffsetY||0,w.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,r,i="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(i=[t.fontStyle,t.fontWeight,"string"==typeof(r=t.fontSize)&&(-1!==r.indexOf("px")||-1!==r.indexOf("rem")||-1!==r.indexOf("em"))?r:isNaN(+r)?f.n5+"px":r+"px",t.fontFamily||"sans-serif"].join(" ")),i&&(0,a.trim)(i)||t.textFont||t.font},e}(c.ZP),v={left:!0,right:1,center:1},g={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function m(t,e){for(var r=0;r<_.length;r++){var i=_[r],n=e[i];null!=n&&(t[i]=n)}}function x(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var r=t.verticalAlign;"center"===r&&(r="middle"),t.verticalAlign=null==r||g[r]?r:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function w(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function b(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function S(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function k(t){var e=t.text;return null!=e&&(e+=""),e}function T(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let C=y},54709:function(t,e,r){r.d(e,{RH:()=>o,SE:()=>n,YV:()=>i});var i=1,n=2,o=4},12703:function(t,e,r){r.d(e,{Gq:()=>s,ko:()=>a,v5:()=>l});var i=r(87054),n=r(28988),o=new i.ZP(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,r,i,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!r)return e;var s=o.get(t),u={hostEl:r,cb:i,cbPayload:a};return s?l(e=s.image)||s.pending.push(u):((e=n.qW.loadImage(t,h,h)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[u]})),e}function h(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var r=t.pending[e],i=r.cb;i&&i(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}},21496:function(t,e,r){r.d(e,{$F:()=>y,NY:()=>c,aF:()=>s});var i=r(12703),n=r(76109),o=r(95260),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,r,i,n){var o={};return h(o,t,e,r,i,n),o.text}function h(t,e,r,i,n,o){if(!r){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=l(r,i,n,o);for(var s=!1,h={},c=0,f=a.length;c<f;c++)u(h,a[c],o),a[c]=h.textLine,s=s||h.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function l(t,e,r,i){i=i||{};var a=(0,n.extend)({},i);a.font=e,r=(0,n.retrieve2)(r,"..."),a.maxIterations=(0,n.retrieve2)(i.maxIterations,2);var s=a.minChar=(0,n.retrieve2)(i.minChar,0);a.cnCharWidth=(0,o.dz)("国",e);var h=a.ascCharWidth=(0,o.dz)("a",e);a.placeholder=(0,n.retrieve2)(i.placeholder,"");for(var l=t=Math.max(0,t-1),u=0;u<s&&l>=h;u++)l-=h;var c=(0,o.dz)(r,e);return c>l&&(r="",c=0),l=t-c,a.ellipsis=r,a.ellipsisWidth=c,a.contentWidth=l,a.containerWidth=t,a}function u(t,e,r){var i=r.containerWidth,n=r.font,a=r.contentWidth;if(!i){t.textLine="",t.isTruncated=!1;return}var s=(0,o.dz)(e,n);if(s<=i){t.textLine=e,t.isTruncated=!1;return}for(var h=0;;h++){if(s<=a||h>=r.maxIterations){e+=r.ellipsis;break}var l=0===h?function(t,e,r,i){for(var n=0,o=0,a=t.length;o<a&&n<e;o++){var s=t.charCodeAt(o);n+=0<=s&&s<=127?r:i}return o}(e,a,r.ascCharWidth,r.cnCharWidth):s>0?Math.floor(e.length*a/s):0;e=e.substr(0,l),s=(0,o.dz)(e,n)}""===e&&(e=r.placeholder),t.textLine=e,t.isTruncated=!0}function c(t,e){null!=t&&(t+="");var r,i=e.overflow,a=e.padding,s=e.font,h=(0,o.Dp)(s),c=(0,n.retrieve2)(e.lineHeight,h),f=!!e.backgroundColor,p="truncate"===e.lineOverflow,d=!1,y=e.width,v=(r=null!=y&&("break"===i||"breakAll"===i)?t?_(t,e.font,y,"breakAll"===i,0).lines:[]:t?t.split("\n"):[]).length*c,g=(0,n.retrieve2)(e.height,v);if(v>g&&p){var m=Math.floor(g/c);d=d||r.length>m,r=r.slice(0,m)}if(t&&"truncate"===i&&null!=y)for(var x=l(y,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),w={},b=0;b<r.length;b++)u(w,r[b],x),r[b]=w.textLine,d=d||w.isTruncated;for(var S=g,k=0,b=0;b<r.length;b++)k=Math.max((0,o.dz)(r[b],s),k);null==y&&(y=k);var T=k;return a&&(S+=a[0]+a[2],T+=a[1]+a[3],y+=a[1]+a[3]),f&&(T=y),{lines:r,height:g,outerWidth:T,outerHeight:S,lineHeight:c,calculatedLineHeight:h,contentWidth:k,contentHeight:v,width:y,isTruncated:d}}var f=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},d=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function y(t,e){var r,s=new d;if(null!=t&&(t+=""),!t)return s;for(var l=e.width,u=e.height,c=e.overflow,f=("break"===c||"breakAll"===c)&&null!=l?{width:l,accumWidth:0,breakAll:"breakAll"===c}:null,p=a.lastIndex=0;null!=(r=a.exec(t));){var y=r.index;y>p&&v(s,t.substring(p,y),e,f),v(s,r[2],e,f,r[1]),p=a.lastIndex}p<t.length&&v(s,t.substring(p,t.length),e,f);var g=[],_=0,m=0,x=e.padding,w="truncate"===c,b="truncate"===e.lineOverflow,S={};function k(t,e,r){t.width=e,t.lineHeight=r,_+=r,m=Math.max(m,e)}e:for(var T=0;T<s.lines.length;T++){for(var C=s.lines[T],P=0,M=0,A=0;A<C.tokens.length;A++){var D=C.tokens[A],L=D.styleName&&e.rich[D.styleName]||{},Z=D.textPadding=L.padding,O=Z?Z[1]+Z[3]:0,z=D.font=L.font||e.font;D.contentHeight=(0,o.Dp)(z);var R=(0,n.retrieve2)(L.height,D.contentHeight);if(D.innerHeight=R,Z&&(R+=Z[0]+Z[2]),D.height=R,D.lineHeight=(0,n.retrieve3)(L.lineHeight,e.lineHeight,R),D.align=L&&L.align||e.align,D.verticalAlign=L&&L.verticalAlign||"middle",b&&null!=u&&_+D.lineHeight>u){var I=s.lines.length;A>0?(C.tokens=C.tokens.slice(0,A),k(C,M,P),s.lines=s.lines.slice(0,T+1)):s.lines=s.lines.slice(0,T),s.isTruncated=s.isTruncated||s.lines.length<I;break e}var F=L.width,B=null==F||"auto"===F;if("string"==typeof F&&"%"===F.charAt(F.length-1))D.percentWidth=F,g.push(D),D.contentWidth=(0,o.dz)(D.text,z);else{if(B){var H=L.backgroundColor,V=H&&H.image;V&&(V=i.ko(V),i.v5(V)&&(D.width=Math.max(D.width,V.width*R/V.height)))}var E=w&&null!=l?l-M:null;null!=E&&E<D.width?!B||E<O?(D.text="",D.width=D.contentWidth=0):(h(S,D.text,E-O,z,e.ellipsis,{minChar:e.truncateMinChar}),D.text=S.text,s.isTruncated=s.isTruncated||S.isTruncated,D.width=D.contentWidth=(0,o.dz)(D.text,z)):D.contentWidth=(0,o.dz)(D.text,z)}D.width+=O,M+=D.width,L&&(P=Math.max(P,D.lineHeight))}k(C,M,P)}s.outerWidth=s.width=(0,n.retrieve2)(l,m),s.outerHeight=s.height=(0,n.retrieve2)(u,_),s.contentHeight=_,s.contentWidth=m,x&&(s.outerWidth+=x[1]+x[3],s.outerHeight+=x[0]+x[2]);for(var T=0;T<g.length;T++){var D=g[T],W=D.percentWidth;D.width=parseInt(W,10)/100*s.width}return s}function v(t,e,r,i,n){var a,s,h=""===e,l=n&&r.rich[n]||{},u=t.lines,c=l.font||r.font,d=!1;if(i){var y=l.padding,v=y?y[1]+y[3]:0;if(null!=l.width&&"auto"!==l.width){var g=(0,o.GM)(l.width,i.width)+v;u.length>0&&g+i.accumWidth>i.width&&(a=e.split("\n"),d=!0),i.accumWidth=g}else{var m=_(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+v,s=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var x=0;x<a.length;x++){var w=a[x],b=new f;if(b.styleName=n,b.text=w,b.isLineHolder=!w&&!h,"number"==typeof l.width?b.width=l.width:b.width=s?s[x]:(0,o.dz)(w,c),x||d)u.push(new p([b]));else{var S=(u[u.length-1]||(u[0]=new p)).tokens,k=S.length;1===k&&S[0].isLineHolder?S[0]=b:(w||!k||h)&&S.push(b)}}}var g=(0,n.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function _(t,e,r,i,n){for(var a=[],s=[],h="",l="",u=0,c=0,f=0;f<t.length;f++){var p=t.charAt(f);if("\n"===p){l&&(h+=l,c+=u),a.push(h),s.push(c),h="",l="",u=0,c=0;continue}var d=(0,o.dz)(p,e),y=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!g[t]}(p);if(a.length?c+d>r:n+c+d>r){c?(h||l)&&(y?(h||(h=l,l="",c=u=0),a.push(h),s.push(c-u),l+=p,u+=d,h="",c=u):(l&&(h+=l,l="",u=0),a.push(h),s.push(c),h=p,c=d)):y?(a.push(l),s.push(u),l=p,u=d):(a.push(p),s.push(d));continue}c+=d,y?(l+=p,u+=d):(l&&(h+=l,l="",u=0),h+=p)}return a.length||h||(h=t,l="",u=0),l&&(h+=l),h&&(a.push(h),s.push(c)),1===a.length&&(c+=n),{accumWidth:c,lines:a,linesWidths:s}}},1279:function(t,e,r){r.d(e,{L:()=>n});var i=r(19894);function n(t,e,r){var n=e.smooth,o=e.points;if(o&&o.length>=2){if(n){var a=function(t,e,r,n){var o,a,s,h,l=[],u=[],c=[],f=[];if(n){s=[1/0,1/0],h=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)(0,i.min)(s,s,t[p]),(0,i.max)(h,h,t[p]);(0,i.min)(s,s,n[0]),(0,i.max)(h,h,n[1])}for(var p=0,d=t.length;p<d;p++){var y=t[p];if(r)o=t[p?p-1:d-1],a=t[(p+1)%d];else if(0===p||p===d-1){l.push((0,i.clone)(t[p]));continue}else o=t[p-1],a=t[p+1];(0,i.sub)(u,a,o),(0,i.scale)(u,u,e);var v=(0,i.distance)(y,o),g=(0,i.distance)(y,a),_=v+g;0!==_&&(v/=_,g/=_),(0,i.scale)(c,u,-v),(0,i.scale)(f,u,g);var m=(0,i.add)([],y,c),x=(0,i.add)([],y,f);n&&((0,i.max)(m,m,s),(0,i.min)(m,m,h),(0,i.max)(x,x,s),(0,i.min)(x,x,h)),l.push(m),l.push(x)}return r&&l.push(l.shift()),l}(o,n,r,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,h=0;h<(r?s:s-1);h++){var l=a[2*h],u=a[2*h+1],c=o[(h+1)%s];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var h=1,f=o.length;h<f;h++)t.lineTo(o[h][0],o[h][1])}r&&t.closePath()}}},31719:function(t,e,r){r.d(e,{Pw:()=>o,_3:()=>n,vu:()=>a});var i=Math.round;function n(t,e,r){if(e){var n=e.x1,o=e.x2,s=e.y1,h=e.y2;t.x1=n,t.x2=o,t.y1=s,t.y2=h;var l=r&&r.lineWidth;return l&&(i(2*n)===i(2*o)&&(t.x1=t.x2=a(n,l,!0)),i(2*s)===i(2*h)&&(t.y1=t.y2=a(s,l,!0))),t}}function o(t,e,r){if(e){var i=e.x,n=e.y,o=e.width,s=e.height;t.x=i,t.y=n,t.width=o,t.height=s;var h=r&&r.lineWidth;return h&&(t.x=a(i,h,!0),t.y=a(n,h,!0),t.width=Math.max(a(i+o,h,!1)-t.x,+(0!==o)),t.height=Math.max(a(n+s,h,!1)-t.y,+(0!==s))),t}}function a(t,e,r){if(!e)return t;var n=i(2*t);return(n+i(e))%2==0?n/2:(n+(r?1:-1))/2}},26449:function(t,e,r){r.d(e,{Z:()=>s});var i=r(377),n=r(80598),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,i=e.cy,n=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,h=Math.cos(o),l=Math.sin(o);t.moveTo(h*n+r,l*n+i),t.arc(r,i,n,o,a,!s)},e}(n.ZP);a.prototype.type="arc";let s=a},49015:function(t,e,r){r.d(e,{Z:()=>c});var i=r(377),n=r(80598),o=r(19894),a=r(6171),s=[],h=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function l(t,e,r){var i=t.cpx2,n=t.cpy2;return null!=i||null!=n?[(r?a.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(r?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var u=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.x1,i=e.y1,n=e.x2,o=e.y2,h=e.cpx1,l=e.cpy1,u=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(r,i),null==u||null==c?(f<1&&((0,a.Lx)(r,h,n,f,s),h=s[1],n=s[2],(0,a.Lx)(i,l,o,f,s),l=s[1],o=s[2]),t.quadraticCurveTo(h,l,n,o)):(f<1&&((0,a.Vz)(r,h,u,n,f,s),h=s[1],u=s[2],n=s[3],(0,a.Vz)(i,l,c,o,f,s),l=s[1],c=s[2],o=s[3]),t.bezierCurveTo(h,l,u,c,n,o)))},e.prototype.pointAt=function(t){return l(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=l(this.shape,t,!0);return o.normalize(e,e)},e}(n.ZP);u.prototype.type="bezier-curve";let c=u},497:function(t,e,r){r.d(e,{Z:()=>s});var i=r(377),n=r(80598),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(n.ZP);a.prototype.type="circle";let s=a},66917:function(t,e,r){r.d(e,{Z:()=>s});var i=r(377),n=r(80598),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,i=e.cy,n=e.rx,o=e.ry,a=.5522848*n,s=.5522848*o;t.moveTo(r-n,i),t.bezierCurveTo(r-n,i-s,r-a,i-o,r,i-o),t.bezierCurveTo(r+a,i-o,r+n,i-s,r+n,i),t.bezierCurveTo(r+n,i+s,r+a,i+o,r,i+o),t.bezierCurveTo(r-a,i+o,r-n,i+s,r-n,i),t.closePath()},e}(n.ZP);a.prototype.type="ellipse";let s=a},67747:function(t,e,r){r.d(e,{Z:()=>l});var i=r(377),n=r(80598),o=r(31719),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},h=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var r,i,n,s,h=(0,o._3)(a,e,this.style);r=h.x1,i=h.y1,n=h.x2,s=h.y2}else r=e.x1,i=e.y1,n=e.x2,s=e.y2;var l=e.percent;0!==l&&(t.moveTo(r,i),l<1&&(n=r*(1-l)+n*l,s=i*(1-l)+s*l),t.lineTo(n,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(n.ZP);h.prototype.type="line";let l=h},5227:function(t,e,r){r.d(e,{Z:()=>h});var i=r(377),n=r(80598),o=r(1279),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(n.ZP);s.prototype.type="polygon";let h=s},16127:function(t,e,r){r.d(e,{Z:()=>h});var i=r(377),n=r(80598),o=r(1279),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!1)},e}(n.ZP);s.prototype.type="polyline";let h=s},1946:function(t,e,r){r.d(e,{Z:()=>l});var i=r(377),n=r(80598),o=r(31719),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},h=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var r,i,n,a,h,l,u,c,f,p,d,y,v,g,_,m=(0,o.Pw)(s,e,this.style);y=m.x,v=m.y,g=m.width,_=m.height,m.r=e.r,e=m}else y=e.x,v=e.y,g=e.width,_=e.height;e.r?(u=(r=e).x,c=r.y,f=r.width,p=r.height,d=r.r,f<0&&(u+=f,f=-f),p<0&&(c+=p,p=-p),"number"==typeof d?i=n=a=h=d:d instanceof Array?1===d.length?i=n=a=h=d[0]:2===d.length?(i=a=d[0],n=h=d[1]):3===d.length?(i=d[0],n=h=d[1],a=d[2]):(i=d[0],n=d[1],a=d[2],h=d[3]):i=n=a=h=0,i+n>f&&(l=i+n,i*=f/l,n*=f/l),a+h>f&&(l=a+h,a*=f/l,h*=f/l),n+a>p&&(l=n+a,n*=p/l,a*=p/l),i+h>p&&(l=i+h,i*=p/l,h*=p/l),t.moveTo(u+i,c),t.lineTo(u+f-n,c),0!==n&&t.arc(u+f-n,c+n,n,-Math.PI/2,0),t.lineTo(u+f,c+p-a),0!==a&&t.arc(u+f-a,c+p-a,a,0,Math.PI/2),t.lineTo(u+h,c+p),0!==h&&t.arc(u+h,c+p-h,h,Math.PI/2,Math.PI),t.lineTo(u,c+i),0!==i&&t.arc(u+i,c+i,i,Math.PI,1.5*Math.PI)):t.rect(y,v,g,_)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(n.ZP);h.prototype.type="rect";let l=h},45542:function(t,e,r){r.d(e,{Z:()=>s});var i=r(377),n=r(80598),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,i=e.cy,n=2*Math.PI;t.moveTo(r+e.r,i),t.arc(r,i,e.r,0,n,!1),t.moveTo(r+e.r0,i),t.arc(r,i,e.r0,0,n,!0)},e}(n.ZP);a.prototype.type="ring";let s=a},27959:function(t,e,r){r.d(e,{C:()=>m});var i=r(377),n=r(80598),o=r(76109),a=Math.PI,s=2*a,h=Math.sin,l=Math.cos,u=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,y=Math.min;function v(t,e,r,i,n,o,a){var s=t-r,h=e-i,l=(a?o:-o)/p(s*s+h*h),u=l*h,c=-l*s,f=t+u,y=e+c,v=r+u,g=i+c,_=(f+v)/2,m=(y+g)/2,x=v-f,w=g-y,b=x*x+w*w,S=n-o,k=f*g-v*y,T=(w<0?-1:1)*p(d(0,S*S*b-k*k)),C=(k*w-x*T)/b,P=(-k*x-w*T)/b,M=(k*w+x*T)/b,A=(-k*x+w*T)/b,D=C-_,L=P-m,Z=M-_,O=A-m;return D*D+L*L>Z*Z+O*O&&(C=M,P=A),{cx:C,cy:P,x0:-u,y0:-c,x1:C*(n/S-1),y1:P*(n/S-1)}}var g=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},_=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new g},e.prototype.buildPath=function(t,e){!function(t,e){var r,i=d(e.r,0),n=d(e.r0||0,0),g=i>0,_=n>0;if(g||_){if(g||(i=n,n=0),n>i){var m=i;i=n,n=m}var x=e.startAngle,w=e.endAngle;if(!(isNaN(x)||isNaN(w))){var b=e.cx,S=e.cy,k=!!e.clockwise,T=f(w-x),C=T>s&&T%s;if(C>1e-4&&(T=C),i>1e-4)if(T>s-1e-4)t.moveTo(b+i*l(x),S+i*h(x)),t.arc(b,S,i,x,w,!k),n>1e-4&&(t.moveTo(b+n*l(w),S+n*h(w)),t.arc(b,S,n,w,x,k));else{var P=void 0,M=void 0,A=void 0,D=void 0,L=void 0,Z=void 0,O=void 0,z=void 0,R=void 0,I=void 0,F=void 0,B=void 0,H=void 0,V=void 0,E=void 0,W=void 0,N=i*l(x),q=i*h(x),Y=n*l(w),X=n*h(w),j=T>1e-4;if(j){var G=e.cornerRadius;G&&(P=(r=function(t){var e;if((0,o.isArray)(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}(G))[0],M=r[1],A=r[2],D=r[3]);var U=f(i-n)/2;if(L=y(U,A),Z=y(U,D),O=y(U,P),z=y(U,M),F=R=d(L,Z),B=I=d(O,z),(R>1e-4||I>1e-4)&&(H=i*l(w),V=i*h(w),E=n*l(x),W=n*h(x),T<a)){var K=function(t,e,r,i,n,o,a,s){var h=r-t,l=i-e,u=a-n,c=s-o,f=c*h-u*l;if(!(f*f<1e-4))return f=(u*(e-o)-c*(t-n))/f,[t+f*h,e+f*l]}(N,q,E,W,H,V,Y,X);if(K){var Q=N-K[0],$=q-K[1],J=H-K[0],tt=V-K[1],te=1/h(u((Q*J+$*tt)/(p(Q*Q+$*$)*p(J*J+tt*tt)))/2),tr=p(K[0]*K[0]+K[1]*K[1]);F=y(R,(i-tr)/(te+1)),B=y(I,(n-tr)/(te-1))}}}if(j)if(F>1e-4){var ti=y(A,F),tn=y(D,F),to=v(E,W,N,q,i,ti,k),ta=v(H,V,Y,X,i,tn,k);t.moveTo(b+to.cx+to.x0,S+to.cy+to.y0),F<R&&ti===tn?t.arc(b+to.cx,S+to.cy,F,c(to.y0,to.x0),c(ta.y0,ta.x0),!k):(ti>0&&t.arc(b+to.cx,S+to.cy,ti,c(to.y0,to.x0),c(to.y1,to.x1),!k),t.arc(b,S,i,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!k),tn>0&&t.arc(b+ta.cx,S+ta.cy,tn,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!k))}else t.moveTo(b+N,S+q),t.arc(b,S,i,x,w,!k);else t.moveTo(b+N,S+q);if(n>1e-4&&j)if(B>1e-4){var ti=y(P,B),tn=y(M,B),to=v(Y,X,H,V,n,-tn,k),ta=v(N,q,E,W,n,-ti,k);t.lineTo(b+to.cx+to.x0,S+to.cy+to.y0),B<I&&ti===tn?t.arc(b+to.cx,S+to.cy,B,c(to.y0,to.x0),c(ta.y0,ta.x0),!k):(tn>0&&t.arc(b+to.cx,S+to.cy,tn,c(to.y0,to.x0),c(to.y1,to.x1),!k),t.arc(b,S,n,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),k),ti>0&&t.arc(b+ta.cx,S+ta.cy,ti,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!k))}else t.lineTo(b+Y,S+X),t.arc(b,S,n,w,x,k);else t.lineTo(b+Y,S+X)}else t.moveTo(b,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(n.ZP);_.prototype.type="sector";let m=_},41420:function(t,e,r){r.r(e),r.d(e,{fastLerp:()=>x,fastMapToColor:()=>w,lerp:()=>b,lift:()=>_,liftColor:()=>D,lum:()=>P,mapToColor:()=>S,modifyAlpha:()=>T,modifyHSL:()=>k,parse:()=>v,random:()=>M,stringify:()=>C,toHex:()=>m});var i=r(87054),n=r(76109),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function h(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function u(t,e,r){return(r<0?r+=1:r>1&&(r-=1),6*r<1)?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function c(t,e,r,i,n){return t[0]=e,t[1]=r,t[2]=i,t[3]=n,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i.ZP(20),d=null;function y(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function v(t,e){if(t){e=e||[];var r=p.get(t);if(r)return f(e,r);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return f(e,o[i]),y(t,e),e;var n=i.length;if("#"===i.charAt(0)){if(4===n||5===n){var a=parseInt(i.slice(1,4),16);return a>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===n?parseInt(i.slice(4),16)/15:1),y(t,e),e):void c(e,0,0,0,1)}if(7===n||9===n){var a=parseInt(i.slice(1,7),16);return a>=0&&a<=0xffffff?(c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===n?parseInt(i.slice(7),16)/255:1),y(t,e),e):void c(e,0,0,0,1)}return}var s=i.indexOf("("),u=i.indexOf(")");if(-1!==s&&u+1===n){var d=i.substr(0,s),v=i.substr(s+1,u-(s+1)).split(","),_=1;switch(d){case"rgba":if(4!==v.length)return 3===v.length?c(e,+v[0],+v[1],+v[2],1):c(e,0,0,0,1);_=l(v.pop());case"rgb":if(v.length>=3)return c(e,h(v[0]),h(v[1]),h(v[2]),3===v.length?_:l(v[3])),y(t,e),e;return void c(e,0,0,0,1);case"hsla":if(4!==v.length)return void c(e,0,0,0,1);return v[3]=l(v[3]),g(v,e),y(t,e),e;case"hsl":if(3!==v.length)return void c(e,0,0,0,1);return g(v,e),y(t,e),e;default:return}}c(e,0,0,0,1)}}function g(t,e){var r=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),n=l(t[2]),o=n<=.5?n*(i+1):n+i-n*i,s=2*n-o;return c(e=e||[],a(255*u(s,o,r+1/3)),a(255*u(s,o,r)),a(255*u(s,o,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function _(t,e){var r=v(t);if(r){for(var i=0;i<3;i++)e<0?r[i]=r[i]*(1-e)|0:r[i]=(255-r[i])*e+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return C(r,4===r.length?"rgba":"rgb")}}function m(t){var e=v(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function x(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var i,n,o,h,l=t*(e.length-1),u=Math.floor(l),c=Math.ceil(l),f=e[u],p=e[c],d=l-u;return r[0]=a((i=f[0],i+(p[0]-i)*d)),r[1]=a((n=f[1],n+(p[1]-n)*d)),r[2]=a((o=f[2],o+(p[2]-o)*d)),r[3]=s((h=f[3],h+(p[3]-h)*d)),r}}var w=x;function b(t,e,r){if(e&&e.length&&t>=0&&t<=1){var i,n,o,h,l=t*(e.length-1),u=Math.floor(l),c=Math.ceil(l),f=v(e[u]),p=v(e[c]),d=l-u,y=C([a((i=f[0],i+(p[0]-i)*d)),a((n=f[1],n+(p[1]-n)*d)),a((o=f[2],o+(p[2]-o)*d)),s((h=f[3],h+(p[3]-h)*d))],"rgba");return r?{color:y,leftIndex:u,rightIndex:c,value:l}:y}}var S=b;function k(t,e,r,i){var n,o=v(t);if(t)return o=function(t){if(t){var e,r,i=t[0]/255,n=t[1]/255,o=t[2]/255,a=Math.min(i,n,o),s=Math.max(i,n,o),h=s-a,l=(s+a)/2;if(0===h)e=0,r=0;else{r=l<.5?h/(s+a):h/(2-s-a);var u=((s-i)/6+h/2)/h,c=((s-n)/6+h/2)/h,f=((s-o)/6+h/2)/h;i===s?e=f-c:n===s?e=1/3+u-f:o===s&&(e=2/3+c-u),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,r,l];return null!=t[3]&&p.push(t[3]),p}}(o),null!=e&&(o[0]=(n=Math.round(n=e))<0?0:n>360?360:n),null!=r&&(o[1]=l(r)),null!=i&&(o[2]=l(i)),C(g(o),"rgba")}function T(t,e){var r=v(t);if(r&&null!=e)return r[3]=s(e),C(r,"rgba")}function C(t,e){if(t&&t.length){var r=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(r+=","+t[3]),e+"("+r+")"}}function P(t,e){var r=v(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}function M(){return C([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var A=new i.ZP(100);function D(t){if((0,n.isString)(t)){var e=A.get(t);return e||(e=_(t,-.1),A.put(t,e)),e}if((0,n.isGradientObject)(t)){var r=(0,n.extend)({},t);return r.colorStops=(0,n.map)(t.colorStops,function(t){return{offset:t.offset,color:_(t.color,-.1)}}),r}return t}},58346:function(t,e,r){r.d(e,{iR:()=>T,AA:()=>P,Pc:()=>C});var i=r(377),n=r(80598),o=r(46675),a=r(19894),s=o.Z.CMD,h=[[],[],[]],l=Math.sqrt,u=Math.atan2,c=r(76109),f=Math.sqrt,p=Math.sin,d=Math.cos,y=Math.PI;function v(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function g(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(g(t,e))}function m(t,e,r,i,n,o,a,s,h,l,u){var c=y/180*h,v=d(c)*(t-r)/2+p(c)*(e-i)/2,m=-1*p(c)*(t-r)/2+d(c)*(e-i)/2,x=v*v/(a*a)+m*m/(s*s);x>1&&(a*=f(x),s*=f(x));var w=(n===o?-1:1)*f((a*a*(s*s)-a*a*(m*m)-s*s*(v*v))/(a*a*(m*m)+s*s*(v*v)))||0,b=w*a*m/s,S=-(w*s)*v/a,k=(t+r)/2+d(c)*b-p(c)*S,T=(e+i)/2+p(c)*b+d(c)*S,C=_([1,0],[(v-b)/a,(m-S)/s]),P=[(v-b)/a,(m-S)/s],M=[(-1*v-b)/a,(-1*m-S)/s],A=_(P,M);if(-1>=g(P,M)&&(A=y),g(P,M)>=1&&(A=0),A<0){var D=Math.round(A/y*1e6)/1e6;A=2*y+D%2*y}u.addData(l,k,T,a,s,C,A,c,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.applyTransform=function(t){},e}(n.ZP);function S(t){return null!=t.setData}function k(t,e){var r=function(t){var e,r=new o.Z;if(!t)return r;var i=0,n=0,a=0,s=0,h=o.Z.CMD,l=t.match(x);if(!l)return r;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),p=void 0,d=c.match(w)||[],y=d.length,v=0;v<y;v++)d[v]=parseFloat(d[v]);for(var g=0;g<y;){var _=void 0,b=void 0,S=void 0,k=void 0,T=void 0,C=void 0,P=void 0,M=i,A=n,D=void 0,L=void 0;switch(f){case"l":i+=d[g++],n+=d[g++],p=h.L,r.addData(p,i,n);break;case"L":i=d[g++],n=d[g++],p=h.L,r.addData(p,i,n);break;case"m":i+=d[g++],n+=d[g++],p=h.M,r.addData(p,i,n),a=i,s=n,f="l";break;case"M":i=d[g++],n=d[g++],p=h.M,r.addData(p,i,n),a=i,s=n,f="L";break;case"h":i+=d[g++],p=h.L,r.addData(p,i,n);break;case"H":i=d[g++],p=h.L,r.addData(p,i,n);break;case"v":n+=d[g++],p=h.L,r.addData(p,i,n);break;case"V":n=d[g++],p=h.L,r.addData(p,i,n);break;case"C":p=h.C,r.addData(p,d[g++],d[g++],d[g++],d[g++],d[g++],d[g++]),i=d[g-2],n=d[g-1];break;case"c":p=h.C,r.addData(p,d[g++]+i,d[g++]+n,d[g++]+i,d[g++]+n,d[g++]+i,d[g++]+n),i+=d[g-2],n+=d[g-1];break;case"S":_=i,b=n,D=r.len(),L=r.data,e===h.C&&(_+=i-L[D-4],b+=n-L[D-3]),p=h.C,M=d[g++],A=d[g++],i=d[g++],n=d[g++],r.addData(p,_,b,M,A,i,n);break;case"s":_=i,b=n,D=r.len(),L=r.data,e===h.C&&(_+=i-L[D-4],b+=n-L[D-3]),p=h.C,M=i+d[g++],A=n+d[g++],i+=d[g++],n+=d[g++],r.addData(p,_,b,M,A,i,n);break;case"Q":M=d[g++],A=d[g++],i=d[g++],n=d[g++],p=h.Q,r.addData(p,M,A,i,n);break;case"q":M=d[g++]+i,A=d[g++]+n,i+=d[g++],n+=d[g++],p=h.Q,r.addData(p,M,A,i,n);break;case"T":_=i,b=n,D=r.len(),L=r.data,e===h.Q&&(_+=i-L[D-4],b+=n-L[D-3]),i=d[g++],n=d[g++],p=h.Q,r.addData(p,_,b,i,n);break;case"t":_=i,b=n,D=r.len(),L=r.data,e===h.Q&&(_+=i-L[D-4],b+=n-L[D-3]),i+=d[g++],n+=d[g++],p=h.Q,r.addData(p,_,b,i,n);break;case"A":S=d[g++],k=d[g++],T=d[g++],C=d[g++],P=d[g++],M=i,A=n,i=d[g++],m(M,A,i,n=d[g++],C,P,S,k,T,p=h.A,r);break;case"a":S=d[g++],k=d[g++],T=d[g++],C=d[g++],P=d[g++],M=i,A=n,i+=d[g++],m(M,A,i,n+=d[g++],C,P,S,k,T,p=h.A,r)}}("z"===f||"Z"===f)&&(p=h.Z,r.addData(p),i=a,n=s),e=p}return r.toStatic(),r}(t),i=(0,c.extend)({},e);return i.buildPath=function(t){if(S(t)){t.setData(r.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;r.rebuildPath(e,1)}},i.applyTransform=function(t){!function(t,e){if(e){var r,i,n,o,c,f,p=t.data,d=t.len(),y=s.M,v=s.C,g=s.L,_=s.R,m=s.A,x=s.Q;for(n=0,o=0;n<d;){switch(r=p[n++],o=n,i=0,r){case y:case g:i=1;break;case v:i=3;break;case x:i=2;break;case m:var w=e[4],b=e[5],S=l(e[0]*e[0]+e[1]*e[1]),k=l(e[2]*e[2]+e[3]*e[3]),T=u(-e[1]/k,e[0]/S);p[n]*=S,p[n++]+=w,p[n]*=k,p[n++]+=b,p[n++]*=S,p[n++]*=k,p[n++]+=T,p[n++]+=T,n+=2,o=n;break;case _:f[0]=p[n++],f[1]=p[n++],(0,a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1],f[0]+=p[n++],f[1]+=p[n++],(0,a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1]}for(c=0;c<i;c++){var C=h[c];C[0]=p[n++],C[1]=p[n++],(0,a.applyTransform)(C,C,e),p[o++]=C[0],p[o++]=C[1]}}t.increaseVersion()}}(r,t),this.dirtyShape()},i}function T(t,e){return new b(k(t,e))}function C(t,e){var r=k(t,e),n=b;function o(t){var e=n.call(this,t)||this;return e.applyTransform=r.applyTransform,e.buildPath=r.buildPath,e}return(0,i.__extends)(o,n),o}function P(t,e){for(var r=[],i=t.length,o=0;o<i;o++){var a=t[o];r.push(a.getUpdatedPathProxy(!0))}var s=new n.ZP(e);return s.createPathProxy(),s.buildPath=function(t){if(S(t)){t.appendPath(r);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}},50221:function(t,e,r){r.r(e),r.d(e,{getInstance:()=>ts,registerPainter:()=>th,getElementSSRData:()=>tl,registerSSRDataGetter:()=>tu,dispose:()=>to,disposeAll:()=>ta,init:()=>tn,version:()=>tc});var i,n,o,a,s=r(91254),h=r(76109),l=r(377),u=r(19894),c=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},f=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new c(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,i=t.offsetY,n=r-this._x,o=i-this._y;this._x=r,this._y=i,e.drift(n,o,t),this.handler.dispatchToElement(new c(e,t),"drag",t.event);var a=this.handler.findHover(r,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new c(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new c(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new c(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new c(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=r(86944),d=r(76542),y=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,r){var i=t.touches;if(i){for(var n={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],h=d.eV(r,s,{});n.points.push([h.zrX,h.zrY]),n.touches.push(s)}this._track.push(n)}},t.prototype._recognize=function(t){for(var e in g)if(g.hasOwnProperty(e)){var r=g[e](this._track,t);if(r)return r}},t}();function v(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}var g={pinch:function(t,e){var r=t.length;if(r){var i=(t[r-1]||{}).points,n=(t[r-2]||{}).points||i;if(n&&n.length>1&&i&&i.length>1){var o=v(i)/v(n);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},_=r(94757),m="silent";function x(){d.sT(this.event)}var w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.__extends)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.Z),b=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],k=new _.Z(0,0,0,0),T=function(t){function e(e,r,i,n,o){var a=t.call(this)||this;return a._hovered=new b(0,0),a.storage=e,a.painter=r,a.painterRoot=n,a._pointerSize=o,i=i||new w,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new f(a),a}return(0,l.__extends)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(h.each(S,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,r=t.zrY,i=P(this,e,r),n=this._hovered,o=n.target;o&&!o.__zr&&(o=(n=this.findHover(n.x,n.y)).target);var a=this._hovered=i?new b(e,r):this.findHover(e,r),s=a.target,h=this.proxy;h.setCursor&&h.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new b(0,0)},e.prototype.dispatch=function(t,e){var r=this[t];r&&r.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,r){var i=(t=t||{}).target;if(!i||!i.silent){for(var n,o="on"+e,a={type:e,event:r,target:(n=t).target,topTarget:n.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:x};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,r){var i=this.storage.getDisplayList(),n=new b(t,e);if(C(i,n,t,e,r),this._pointerSize&&!n.target){for(var o=[],a=this._pointerSize,s=a/2,h=new _.Z(t-s,e-s,a,a),l=i.length-1;l>=0;l--){var u=i[l];u===r||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(k.copy(u.getBoundingRect()),u.transform&&k.applyTransform(u.transform),k.intersect(h)&&o.push(u))}if(o.length){for(var c=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=4)for(var d=0;d<f;d+=c)if(C(o,n,t+p*Math.cos(d),e+p*Math.sin(d),r),n.target)return n}}return n},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new y);var r=this._gestureMgr;"start"===e&&r.clear();var i=r.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&r.clear(),i){var n=i.type;t.gestureEvent=n;var o=new b;o.target=i.target,this.dispatchToElement(o,n,i.event)}},e}(p.Z);function C(t,e,r,i,n){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==n&&!a.ignore&&(s=function(t,e,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var i=t,n=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,r))return!1}i.silent&&(n=!0),i=i.__hostTarget||i.parent}return!n||m}return!1}(a,r,i))&&(e.topTarget||(e.topTarget=a),s!==m)){e.target=a;break}}}function P(t,e,r){var i=t.painter;return e<0||e>i.getWidth()||r<0||r>i.getHeight()}h.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){T.prototype[t]=function(e){var r,i,n=e.zrX,o=e.zrY,a=P(this,n,o);if("mouseup"===t&&a||(i=(r=this.findHover(n,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||u.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}});var M=r(99349),A=r(54709),D=!1;function L(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Z(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var O=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Z}return t.prototype.traverse=function(t,e){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(e),r},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,r=this._displayList,i=0,n=e.length;i<n;i++)this._updateAndAddDisplayable(e[i],null,t);r.length=this._displayListLen,(0,M.Z)(r,Z)},t.prototype._updateAndAddDisplayable=function(t,e,r){if(!t.ignore||r){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var n=i,o=t;n;)n.parent=o,n.updateTransform(),e.push(n),o=n,n=n.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var h=a[s];t.__dirty&&(h.__dirty|=A.YV),this._updateAndAddDisplayable(h,e,r)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(L(),t.z=0),isNaN(t.z2)&&(L(),t.z2=0),isNaN(t.zlevel)&&(L(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var l=t.getDecalElement&&t.getDecalElement();l&&this._updateAndAddDisplayable(l,e,r);var u=t.getTextGuideLine();u&&this._updateAndAddDisplayable(u,e,r);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,e,r)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,r=t.length;e<r;e++)this.delRoot(t[e]);return}var i=h.indexOf(this._roots,t);i>=0&&this._roots.splice(i,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),z=r(87450),R=r(83246);function I(){return new Date().getTime()}var F=function(t){function e(e){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,r.stage=(e=e||{}).stage||{},r}return(0,l.__extends)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,r=t.next;e?e.next=r:this._head=r,r?r.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=I()-this._pausedTime,r=e-this._time,i=this._head;i;){var n=i.next;i.step(e,r)&&(i.ondestroy(),this.removeClip(i)),i=n}this._time=e,!t&&(this.trigger("frame",r),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,z.Z)(function e(){t._running&&((0,z.Z)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=I(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=I(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=I()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var r=new R.Z(t,e.loop);return this.addAnimator(r),r},e}(p.Z),B=s.Z.domSupported,H=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=h.map(i,function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),V={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},E=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function N(t){t&&(t.zrByTouch=!0)}function q(t,e){for(var r=e,i=!1;r&&9!==r.nodeType&&!(i=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return i}var Y=function(t,e){this.stopPropagation=h.noop,this.stopImmediatePropagation=h.noop,this.preventDefault=h.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},X={mousedown:function(t){t=(0,d.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.OD)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,d.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){q(this,(t=(0,d.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){E=!0,t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){E||(t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){N(t=(0,d.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),X.mousemove.call(this,t),X.mousedown.call(this,t)},touchmove:function(t){N(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"change"),X.mousemove.call(this,t)},touchend:function(t){N(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"end"),X.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&X.click.call(this,t)},pointerdown:function(t){X.mousedown.call(this,t)},pointermove:function(t){W(t)||X.mousemove.call(this,t)},pointerup:function(t){X.mouseup.call(this,t)},pointerout:function(t){W(t)||X.mouseout.call(this,t)}};h.each(["click","dblclick","contextmenu"],function(t){X[t]=function(e){e=(0,d.OD)(this.dom,e),this.trigger(t,e)}});var j={pointermove:function(t){W(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function G(t,e,r,i){t.mounted[e]=r,t.listenerOpts[e]=i,(0,d.Oo)(t.domTarget,e,r,i)}function U(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&(0,d.xg)(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Q=function(t){function e(e,r){var i,n,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=r,o._localHandlerScope=new K(e,X),B&&(o._globalHandlerScope=new K(document,j)),n=(i=o._localHandlerScope).domHandlers,s.Z.pointerEventsSupported?h.each(H.pointer,function(t){G(i,t,function(e){n[t].call(o,e)})}):(s.Z.touchEventsSupported&&h.each(H.touch,function(t){G(i,t,function(e){n[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),h.each(H.mouse,function(t){G(i,t,function(e){e=(0,d.iP)(e),i.touching||n[t].call(o,e)})})),o}return(0,l.__extends)(e,t),e.prototype.dispose=function(){U(this._localHandlerScope),B&&U(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,B&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.Z.pointerEventsSupported?h.each(V.pointer,r):s.Z.touchEventsSupported||h.each(V.mouse,r);function r(r){G(e,r,function(i){if(!q(t,(i=(0,d.iP)(i)).target)){var n;n=i,i=(0,d.OD)(t.dom,new Y(t,n),!0),e.domHandlers[r].call(t,i)}},{capture:!0})}}(this,e):U(e)}},e}(p.Z),$=r(41420),J=r(8862),tt=r(26951),te={},tr={},ti=function(){function t(t,e,r){var i,n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=e,this.id=t;var o=new O,a=r.renderer||"canvas";te[a]||(a=h.keys(te)[0]),r.useDirtyRect=null!=r.useDirtyRect&&r.useDirtyRect;var l=new te[a](e,o,r,t),u=r.ssr||l.ssrOnly;this.storage=o,this.painter=l;var c=s.Z.node||s.Z.worker||u?null:new Q(l.getViewportRoot(),l.root),f=r.useCoarsePointer;(null==f||"auto"===f?s.Z.touchEventsSupported:!!f)&&(i=h.retrieve2(r.pointerSize,44)),this.handler=new T(o,l,c,l.root,i),this.animation=new F({stage:{update:u?null:function(){return n._flush(!0)}}}),u||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,$.lum)(t,1)<J.Ak;if(t.colorStops){for(var e=t.colorStops,r=0,i=e.length,n=0;n<i;n++)r+=(0,$.lum)(e[n].color,1);return(r/=i)<J.Ak}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,r=I();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=I();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,r){return this._disposed||this.handler.on(t,e,r),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof tt.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete tr[t]}},t}();function tn(t,e){var r=new ti(h.guid(),t,e);return tr[r.id]=r,r}function to(t){t.dispose()}function ta(){for(var t in tr)tr.hasOwnProperty(t)&&tr[t].dispose();tr={}}function ts(t){return tr[t]}function th(t,e){te[t]=e}function tl(t){if("function"==typeof a)return a(t)}function tu(t){a=t}var tc="5.6.1"}}]);
|