hydro-graph 1.0.14 → 1.0.15

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.
@@ -1,4 +1,4 @@
1
- (function(Ft,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("vue"),require("dayjs"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","dayjs","element-plus"],L):(Ft=typeof globalThis<"u"?globalThis:Ft||self,L(Ft.HydroGraph={},Ft.Vue,Ft.dayjs,Ft.ElementPlus))})(this,function(Ft,L,we,Hn){"use strict";/*! *****************************************************************************
1
+ (function(TA,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("vue"),require("dayjs"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","dayjs","element-plus"],R):(TA=typeof globalThis<"u"?globalThis:TA||self,R(TA.HydroGraph={},TA.Vue,TA.dayjs,TA.ElementPlus))})(this,(function(TA,R,xe,V1){"use strict";/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -11,8 +11,8 @@
11
11
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */var Ru=function(t,e){return Ru=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,r){A.__proto__=r}||function(A,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(A[n]=r[n])},Ru(t,e)};function Z(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ru(t,e);function A(){this.constructor=t}t.prototype=e===null?Object.create(e):(A.prototype=e.prototype,new A)}var K1=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),V1=function(){function t(){this.browser=new K1,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=typeof window<"u"}return t}(),sr=new V1;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(sr.wxa=!0,sr.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?sr.worker=!0:!sr.hasGlobalWindow||"Deno"in window?(sr.node=!0,sr.svgSupported=!0):G1(navigator.userAgent,sr);function G1(t,e){var A=e.browser,r=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),i=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(A.firefox=!0,A.version=r[1]),n&&(A.ie=!0,A.version=n[1]),i&&(A.edge=!0,A.version=i[1],A.newEdge=+i[1].split(".")[0]>18),a&&(A.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!A.ie&&!A.edge,e.pointerEventsSupported="onpointerdown"in window&&(A.edge||A.ie&&+A.version>=11),e.domSupported=typeof document<"u";var o=document.documentElement.style;e.transform3dSupported=(A.ie&&"transition"in o||A.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in o)&&!("OTransition"in o),e.transformSupported=e.transform3dSupported||A.ie&&+A.version>=9}const Qe=sr;var Pu=12,z1="sans-serif",Rr=Pu+"px "+z1,W1=20,Y1=100,X1="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function Z1(t){var e={};if(typeof JSON>"u")return e;for(var A=0;A<t.length;A++){var r=String.fromCharCode(A+32),n=(t.charCodeAt(A)-W1)/Y1;e[r]=n}return e}var J1=Z1(X1),On={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var t,e;return function(A,r){if(!t){var n=On.createCanvas();t=n&&n.getContext("2d")}if(t)return e!==r&&(e=t.font=r||Rr),t.measureText(A);A=A||"",r=r||Rr;var i=/((?:\d+)?\.?\d*)px/.exec(r),a=i&&+i[1]||Pu,o=0;if(r.indexOf("mono")>=0)o=a*A.length;else for(var s=0;s<A.length;s++){var l=J1[A[s]];o+=l==null?a:l*a}return{width:o}}}(),loadImage:function(t,e,A){var r=new Image;return r.onload=e,r.onerror=A,r.src=t,r}},_d=Pn(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),Qd=Pn(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),Rn=Object.prototype.toString,xo=Array.prototype,$1=xo.forEach,q1=xo.filter,Nu=xo.slice,j1=xo.map,Fd=(function(){}).constructor,Eo=Fd?Fd.prototype:null,ku="__proto__",eQ=2311;function xd(){return eQ++}function Pr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];typeof console<"u"&&console.error.apply(console,t)}function Ee(t){if(t==null||typeof t!="object")return t;var e=t,A=Rn.call(t);if(A==="[object Array]"){if(!Wi(t)){e=[];for(var r=0,n=t.length;r<n;r++)e[r]=Ee(t[r])}}else if(Qd[A]){if(!Wi(t)){var i=t.constructor;if(i.from)e=i.from(t);else{e=new i(t.length);for(var r=0,n=t.length;r<n;r++)e[r]=t[r]}}}else if(!_d[A]&&!Wi(t)&&!Nn(t)){e={};for(var a in t)t.hasOwnProperty(a)&&a!==ku&&(e[a]=Ee(t[a]))}return e}function De(t,e,A){if(!fe(e)||!fe(t))return A?Ee(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==ku){var n=t[r],i=e[r];fe(i)&&fe(n)&&!re(i)&&!re(n)&&!Nn(i)&&!Nn(n)&&!Ed(i)&&!Ed(n)&&!Wi(i)&&!Wi(n)?De(n,i,A):(A||!(r in t))&&(t[r]=Ee(e[r]))}return t}function Y(t,e){if(Object.assign)Object.assign(t,e);else for(var A in e)e.hasOwnProperty(A)&&A!==ku&&(t[A]=e[A]);return t}function He(t,e,A){for(var r=Ge(e),n=0,i=r.length;n<i;n++){var a=r[n];(A?e[a]!=null:t[a]==null)&&(t[a]=e[a])}return t}function Le(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var A=0,r=t.length;A<r;A++)if(t[A]===e)return A}return-1}function AQ(t,e){var A=t.prototype;function r(){}r.prototype=e.prototype,t.prototype=new r;for(var n in A)A.hasOwnProperty(n)&&(t.prototype[n]=A[n]);t.prototype.constructor=t,t.superClass=e}function xt(t,e,A){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=r[n];i!=="constructor"&&(A?e[i]!=null:t[i]==null)&&(t[i]=e[i])}else He(t,e,A)}function DA(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function S(t,e,A){if(t&&e)if(t.forEach&&t.forEach===$1)t.forEach(e,A);else if(t.length===+t.length)for(var r=0,n=t.length;r<n;r++)e.call(A,t[r],r,t);else for(var i in t)t.hasOwnProperty(i)&&e.call(A,t[i],i,t)}function he(t,e,A){if(!t)return[];if(!e)return Ku(t);if(t.map&&t.map===j1)return t.map(e,A);for(var r=[],n=0,i=t.length;n<i;n++)r.push(e.call(A,t[n],n,t));return r}function Pn(t,e,A,r){if(t&&e){for(var n=0,i=t.length;n<i;n++)A=e.call(r,A,t[n],n,t);return A}}function tA(t,e,A){if(!t)return[];if(!e)return Ku(t);if(t.filter&&t.filter===q1)return t.filter(e,A);for(var r=[],n=0,i=t.length;n<i;n++)e.call(A,t[n],n,t)&&r.push(t[n]);return r}function Ge(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var A in t)t.hasOwnProperty(A)&&e.push(A);return e}function tQ(t,e){for(var A=[],r=2;r<arguments.length;r++)A[r-2]=arguments[r];return function(){return t.apply(e,A.concat(Nu.call(arguments)))}}var pe=Eo&&de(Eo.bind)?Eo.call.bind(Eo.bind):tQ;function $e(t){for(var e=[],A=1;A<arguments.length;A++)e[A-1]=arguments[A];return function(){return t.apply(this,e.concat(Nu.call(arguments)))}}function re(t){return Array.isArray?Array.isArray(t):Rn.call(t)==="[object Array]"}function de(t){return typeof t=="function"}function ae(t){return typeof t=="string"}function Uo(t){return Rn.call(t)==="[object String]"}function ze(t){return typeof t=="number"}function fe(t){var e=typeof t;return e==="function"||!!t&&e==="object"}function Ed(t){return!!_d[Rn.call(t)]}function xA(t){return!!Qd[Rn.call(t)]}function Nn(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function So(t){return t.colorStops!=null}function rQ(t){return t.image!=null}function nQ(t){return Rn.call(t)==="[object RegExp]"}function zi(t){return t!==t}function Nr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var A=0,r=t.length;A<r;A++)if(t[A]!=null)return t[A]}function ye(t,e){return t??e}function kn(t,e,A){return t??e??A}function Ku(t){for(var e=[],A=1;A<arguments.length;A++)e[A-1]=arguments[A];return Nu.apply(t,e)}function Ud(t){if(typeof t=="number")return[t,t,t,t];var e=t.length;return e===2?[t[0],t[1],t[0],t[1]]:e===3?[t[0],t[1],t[2],t[1]]:t}function Ce(t,e){if(!t)throw new Error(e)}function Et(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Sd="__ec_primitive__";function Vu(t){t[Sd]=!0}function Wi(t){return t[Sd]}var iQ=function(){function t(){this.data={}}return t.prototype.delete=function(e){var A=this.has(e);return A&&delete this.data[e],A},t.prototype.has=function(e){return this.data.hasOwnProperty(e)},t.prototype.get=function(e){return this.data[e]},t.prototype.set=function(e,A){return this.data[e]=A,this},t.prototype.keys=function(){return Ge(this.data)},t.prototype.forEach=function(e){var A=this.data;for(var r in A)A.hasOwnProperty(r)&&e(A[r],r)},t}(),bd=typeof Map=="function";function aQ(){return bd?new Map:new iQ}var oQ=function(){function t(e){var A=re(e);this.data=aQ();var r=this;e instanceof t?e.each(n):e&&S(e,n);function n(i,a){A?r.set(i,a):r.set(a,i)}}return t.prototype.hasKey=function(e){return this.data.has(e)},t.prototype.get=function(e){return this.data.get(e)},t.prototype.set=function(e,A){return this.data.set(e,A),A},t.prototype.each=function(e,A){this.data.forEach(function(r,n){e.call(A,r,n)})},t.prototype.keys=function(){var e=this.data.keys();return bd?Array.from(e):e},t.prototype.removeKey=function(e){this.data.delete(e)},t}();function Be(t){return new oQ(t)}function sQ(t,e){for(var A=new t.constructor(t.length+e.length),r=0;r<t.length;r++)A[r]=t[r];for(var n=t.length,r=0;r<e.length;r++)A[r+n]=e[r];return A}function bo(t,e){var A;if(Object.create)A=Object.create(t);else{var r=function(){};r.prototype=t,A=new r}return e&&Y(A,e),A}function Id(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function kr(t,e){return t.hasOwnProperty(e)}function EA(){}var lQ=180/Math.PI;function Kn(t,e){return t==null&&(t=0),e==null&&(e=0),[t,e]}function uQ(t){return[t[0],t[1]]}function Td(t,e,A){return t[0]=e[0]+A[0],t[1]=e[1]+A[1],t}function fQ(t,e,A){return t[0]=e[0]-A[0],t[1]=e[1]-A[1],t}function cQ(t){return Math.sqrt(hQ(t))}function hQ(t){return t[0]*t[0]+t[1]*t[1]}function Gu(t,e,A){return t[0]=e[0]*A,t[1]=e[1]*A,t}function vQ(t,e){var A=cQ(e);return A===0?(t[0]=0,t[1]=0):(t[0]=e[0]/A,t[1]=e[1]/A),t}function zu(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Wu=zu;function dQ(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Vn=dQ;function Yu(t,e,A,r){return t[0]=e[0]+r*(A[0]-e[0]),t[1]=e[1]+r*(A[1]-e[1]),t}function ZA(t,e,A){var r=e[0],n=e[1];return t[0]=A[0]*r+A[2]*n+A[4],t[1]=A[1]*r+A[3]*n+A[5],t}function Gn(t,e,A){return t[0]=Math.min(e[0],A[0]),t[1]=Math.min(e[1],A[1]),t}function zn(t,e,A){return t[0]=Math.max(e[0],A[0]),t[1]=Math.max(e[1],A[1]),t}var Wn=function(){function t(e,A){this.target=e,this.topTarget=A&&A.topTarget}return t}(),gQ=function(){function t(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(e){for(var A=e.target;A&&!A.draggable;)A=A.parent||A.__hostTarget;A&&(this._draggingTarget=A,A.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Wn(A,e),"dragstart",e.event))},t.prototype._drag=function(e){var A=this._draggingTarget;if(A){var r=e.offsetX,n=e.offsetY,i=r-this._x,a=n-this._y;this._x=r,this._y=n,A.drift(i,a,e),this.handler.dispatchToElement(new Wn(A,e),"drag",e.event);var o=this.handler.findHover(r,n,A).target,s=this._dropTarget;this._dropTarget=o,A!==o&&(s&&o!==s&&this.handler.dispatchToElement(new Wn(s,e),"dragleave",e.event),o&&o!==s&&this.handler.dispatchToElement(new Wn(o,e),"dragenter",e.event))}},t.prototype._dragEnd=function(e){var A=this._draggingTarget;A&&(A.dragging=!1),this.handler.dispatchToElement(new Wn(A,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Wn(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},t}();const pQ=gQ;var BQ=function(){function t(e){e&&(this._$eventProcessor=e)}return t.prototype.on=function(e,A,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof A=="function"&&(n=r,r=A,A=null),!r||!e)return this;var a=this._$eventProcessor;A!=null&&a&&a.normalizeQuery&&(A=a.normalizeQuery(A)),i[e]||(i[e]=[]);for(var o=0;o<i[e].length;o++)if(i[e][o].h===r)return this;var s={h:r,query:A,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},t.prototype.isSilent=function(e){var A=this._$handlers;return!A||!A[e]||!A[e].length},t.prototype.off=function(e,A){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(A){if(r[e]){for(var n=[],i=0,a=r[e].length;i<a;i++)r[e][i].h!==A&&n.push(r[e][i]);r[e]=n}r[e]&&r[e].length===0&&delete r[e]}else delete r[e];return this},t.prototype.trigger=function(e){for(var A=[],r=1;r<arguments.length;r++)A[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=A.length,o=n.length,s=0;s<o;s++){var l=n[s];if(!(i&&i.filter&&l.query!=null&&!i.filter(e,l.query)))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,A[0]);break;case 2:l.h.call(l.ctx,A[0],A[1]);break;default:l.h.apply(l.ctx,A);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},t.prototype.triggerWithContext=function(e){for(var A=[],r=1;r<arguments.length;r++)A[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=A.length,o=A[a-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(e,u.query)))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,A[0]);break;case 2:u.h.call(o,A[0],A[1]);break;default:u.h.apply(o,A.slice(1,a-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},t}();const dt=BQ;var yQ=Math.log(2);function Xu(t,e,A,r,n,i){var a=r+"-"+n,o=t.length;if(i.hasOwnProperty(a))return i[a];if(e===1){var s=Math.round(Math.log((1<<o)-1&~n)/yQ);return t[A][s]}for(var l=r|1<<A,u=A+1;r&1<<u;)u++;for(var f=0,c=0,h=0;c<o;c++){var v=1<<c;v&n||(f+=(h%2?-1:1)*t[A][c]*Xu(t,e-1,u,l,n|v,i),h++)}return i[a]=f,f}function Dd(t,e){var A=[[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]]],r={},n=Xu(A,8,0,0,0,r);if(n!==0){for(var i=[],a=0;a<8;a++)for(var o=0;o<8;o++)i[o]==null&&(i[o]=0),i[o]+=((a+o)%2?-1:1)*Xu(A,7,a===0?1:0,1<<a,1<<o,r)/n*e[a];return function(s,l,u){var f=l*i[6]+u*i[7]+1;s[0]=(l*i[0]+u*i[1]+i[2])/f,s[1]=(l*i[3]+u*i[4]+i[5])/f}}}var Ld="___zrEVENTSAVED",Zu=[];function mQ(t,e,A,r,n){return Ju(Zu,e,r,n,!0)&&Ju(t,A,Zu[0],Zu[1])}function Ju(t,e,A,r,n){if(e.getBoundingClientRect&&Qe.domSupported&&!Md(e)){var i=e[Ld]||(e[Ld]={}),a=wQ(e,i),o=CQ(a,i,n);if(o)return o(t,A,r),!0}return!1}function wQ(t,e){var A=e.markers;if(A)return A;A=e.markers=[];for(var r=["left","right"],n=["top","bottom"],i=0;i<4;i++){var a=document.createElement("div"),o=a.style,s=i%2,l=(i>>1)%2;o.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",n[l]+":0",r[1-s]+":auto",n[1-l]+":auto",""].join("!important;"),t.appendChild(a),A.push(a)}return A}function CQ(t,e,A){for(var r=A?"invTrans":"trans",n=e[r],i=e.srcCoords,a=[],o=[],s=!0,l=0;l<4;l++){var u=t[l].getBoundingClientRect(),f=2*l,c=u.left,h=u.top;a.push(c,h),s=s&&i&&c===i[f]&&h===i[f+1],o.push(t[l].offsetLeft,t[l].offsetTop)}return s&&n?n:(e.srcCoords=a,e[r]=A?Dd(o,a):Dd(a,o))}function Md(t){return t.nodeName.toUpperCase()==="CANVAS"}var _Q=/([&<>"'])/g,QQ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function LA(t){return t==null?"":(t+"").replace(_Q,function(e,A){return QQ[A]})}var FQ=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,$u=[],xQ=Qe.browser.firefox&&+Qe.browser.version.split(".")[0]<39;function qu(t,e,A,r){return A=A||{},r?Hd(t,e,A):xQ&&e.layerX!=null&&e.layerX!==e.offsetX?(A.zrX=e.layerX,A.zrY=e.layerY):e.offsetX!=null?(A.zrX=e.offsetX,A.zrY=e.offsetY):Hd(t,e,A),A}function Hd(t,e,A){if(Qe.domSupported&&t.getBoundingClientRect){var r=e.clientX,n=e.clientY;if(Md(t)){var i=t.getBoundingClientRect();A.zrX=r-i.left,A.zrY=n-i.top;return}else if(Ju($u,t,r,n)){A.zrX=$u[0],A.zrY=$u[1];return}}A.zrX=A.zrY=0}function ju(t){return t||window.event}function JA(t,e,A){if(e=ju(e),e.zrX!=null)return e;var r=e.type,n=r&&r.indexOf("touch")>=0;if(n){var a=r!=="touchend"?e.targetTouches[0]:e.changedTouches[0];a&&qu(t,a,e,A)}else{qu(t,e,e,A);var i=EQ(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var o=e.button;return e.which==null&&o!==void 0&&FQ.test(e.type)&&(e.which=o&1?1:o&2?3:o&4?2:0),e}function EQ(t){var e=t.wheelDelta;if(e)return e;var A=t.deltaX,r=t.deltaY;if(A==null||r==null)return e;var n=Math.abs(r!==0?r:A),i=r>0?-1:r<0?1:A>0?-1:1;return 3*n*i}function UQ(t,e,A,r){t.addEventListener(e,A,r)}function SQ(t,e,A,r){t.removeEventListener(e,A,r)}var Yn=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function Od(t){return t.which===2||t.which===3}var bQ=function(){function t(){this._track=[]}return t.prototype.recognize=function(e,A,r){return this._doTrack(e,A,r),this._recognize(e)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(e,A,r){var n=e.touches;if(n){for(var i={points:[],touches:[],target:A,event:e},a=0,o=n.length;a<o;a++){var s=n[a],l=qu(r,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},t.prototype._recognize=function(e){for(var A in ef)if(ef.hasOwnProperty(A)){var r=ef[A](this._track,e);if(r)return r}},t}();function Rd(t){var e=t[1][0]-t[0][0],A=t[1][1]-t[0][1];return Math.sqrt(e*e+A*A)}function IQ(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ef={pinch:function(t,e){var A=t.length;if(A){var r=(t[A-1]||{}).points,n=(t[A-2]||{}).points||r;if(n&&n.length>1&&r&&r.length>1){var i=Rd(r)/Rd(n);!isFinite(i)&&(i=1),e.pinchScale=i;var a=IQ(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}};function Xn(){return[1,0,0,1,0,0]}function Af(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function TQ(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 Zn(t,e,A){var r=e[0]*A[0]+e[2]*A[1],n=e[1]*A[0]+e[3]*A[1],i=e[0]*A[2]+e[2]*A[3],a=e[1]*A[2]+e[3]*A[3],o=e[0]*A[4]+e[2]*A[5]+e[4],s=e[1]*A[4]+e[3]*A[5]+e[5];return t[0]=r,t[1]=n,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t}function tf(t,e,A){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+A[0],t[5]=e[5]+A[1],t}function rf(t,e,A,r){r===void 0&&(r=[0,0]);var n=e[0],i=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(A),f=Math.cos(A);return t[0]=n*f+o*u,t[1]=-n*u+o*f,t[2]=i*f+s*u,t[3]=-i*u+f*s,t[4]=f*(a-r[0])+u*(l-r[1])+r[0],t[5]=f*(l-r[1])-u*(a-r[0])+r[1],t}function DQ(t,e,A){var r=A[0],n=A[1];return t[0]=e[0]*r,t[1]=e[1]*n,t[2]=e[2]*r,t[3]=e[3]*n,t[4]=e[4]*r,t[5]=e[5]*n,t}function Io(t,e){var A=e[0],r=e[2],n=e[4],i=e[1],a=e[3],o=e[5],s=A*a-i*r;return s?(s=1/s,t[0]=a*s,t[1]=-i*s,t[2]=-r*s,t[3]=A*s,t[4]=(r*o-a*n)*s,t[5]=(i*n-A*o)*s,t):null}var LQ=function(){function t(e,A){this.x=e||0,this.y=A||0}return t.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(e,A){return this.x=e,this.y=A,this},t.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},t.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},t.prototype.scale=function(e){this.x*=e,this.y*=e},t.prototype.scaleAndAdd=function(e,A){this.x+=e.x*A,this.y+=e.y*A},t.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},t.prototype.dot=function(e){return this.x*e.x+this.y*e.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 e=this.len();return this.x/=e,this.y/=e,this},t.prototype.distance=function(e){var A=this.x-e.x,r=this.y-e.y;return Math.sqrt(A*A+r*r)},t.prototype.distanceSquare=function(e){var A=this.x-e.x,r=this.y-e.y;return A*A+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(e){if(e){var A=this.x,r=this.y;return this.x=e[0]*A+e[2]*r+e[4],this.y=e[1]*A+e[3]*r+e[5],this}},t.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},t.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},t.set=function(e,A,r){e.x=A,e.y=r},t.copy=function(e,A){e.x=A.x,e.y=A.y},t.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},t.lenSquare=function(e){return e.x*e.x+e.y*e.y},t.dot=function(e,A){return e.x*A.x+e.y*A.y},t.add=function(e,A,r){e.x=A.x+r.x,e.y=A.y+r.y},t.sub=function(e,A,r){e.x=A.x-r.x,e.y=A.y-r.y},t.scale=function(e,A,r){e.x=A.x*r,e.y=A.y*r},t.scaleAndAdd=function(e,A,r,n){e.x=A.x+r.x*n,e.y=A.y+r.y*n},t.lerp=function(e,A,r,n){var i=1-n;e.x=i*A.x+n*r.x,e.y=i*A.y+n*r.y},t}();const Fe=LQ;var To=Math.min,Do=Math.max,Kr=new Fe,Vr=new Fe,Gr=new Fe,zr=new Fe,Yi=new Fe,Xi=new Fe,MQ=function(){function t(e,A,r,n){r<0&&(e=e+r,r=-r),n<0&&(A=A+n,n=-n),this.x=e,this.y=A,this.width=r,this.height=n}return t.prototype.union=function(e){var A=To(e.x,this.x),r=To(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Do(e.x+e.width,this.x+this.width)-A:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=Do(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=A,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(e){var A=this,r=e.width/A.width,n=e.height/A.height,i=Xn();return tf(i,i,[-A.x,-A.y]),DQ(i,i,[r,n]),tf(i,i,[e.x,e.y]),i},t.prototype.intersect=function(e,A){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,n=r.x,i=r.x+r.width,a=r.y,o=r.y+r.height,s=e.x,l=e.x+e.width,u=e.y,f=e.y+e.height,c=!(i<s||l<n||o<u||f<a);if(A){var h=1/0,v=0,d=Math.abs(i-s),g=Math.abs(l-n),p=Math.abs(o-u),B=Math.abs(f-a),y=Math.min(d,g),m=Math.min(p,B);i<s||l<n?y>v&&(v=y,d<g?Fe.set(Xi,-d,0):Fe.set(Xi,g,0)):y<h&&(h=y,d<g?Fe.set(Yi,d,0):Fe.set(Yi,-g,0)),o<u||f<a?m>v&&(v=m,p<B?Fe.set(Xi,0,-p):Fe.set(Xi,0,B)):y<h&&(h=y,p<B?Fe.set(Yi,0,p):Fe.set(Yi,0,-B))}return A&&Fe.copy(A,c?Yi:Xi),c},t.prototype.contain=function(e,A){var r=this;return e>=r.x&&e<=r.x+r.width&&A>=r.y&&A<=r.y+r.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 this.width===0||this.height===0},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(e,A){e.x=A.x,e.y=A.y,e.width=A.width,e.height=A.height},t.applyTransform=function(e,A,r){if(!r){e!==A&&t.copy(e,A);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],i=r[3],a=r[4],o=r[5];e.x=A.x*n+a,e.y=A.y*i+o,e.width=A.width*n,e.height=A.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Kr.x=Gr.x=A.x,Kr.y=zr.y=A.y,Vr.x=zr.x=A.x+A.width,Vr.y=Gr.y=A.y+A.height,Kr.transform(r),zr.transform(r),Vr.transform(r),Gr.transform(r),e.x=To(Kr.x,Vr.x,Gr.x,zr.x),e.y=To(Kr.y,Vr.y,Gr.y,zr.y);var s=Do(Kr.x,Vr.x,Gr.x,zr.x),l=Do(Kr.y,Vr.y,Gr.y,zr.y);e.width=s-e.x,e.height=l-e.y},t}();const Me=MQ;var Pd="silent";function HQ(t,e,A){return{type:t,event:A,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:A.zrX,offsetY:A.zrY,gestureEvent:A.gestureEvent,pinchX:A.pinchX,pinchY:A.pinchY,pinchScale:A.pinchScale,wheelDelta:A.zrDelta,zrByTouch:A.zrByTouch,which:A.which,stop:OQ}}function OQ(){Yn(this.event)}var RQ=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.handler=null,A}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(dt),Zi=function(){function t(e,A){this.x=e,this.y=A}return t}(),PQ=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],nf=new Me(0,0,0,0),Nd=function(t){Z(e,t);function e(A,r,n,i,a){var o=t.call(this)||this;return o._hovered=new Zi(0,0),o.storage=A,o.painter=r,o.painterRoot=i,o._pointerSize=a,n=n||new RQ,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new pQ(o),o}return e.prototype.setHandlerProxy=function(A){this.proxy&&this.proxy.dispose(),A&&(S(PQ,function(r){A.on&&A.on(r,this[r],this)},this),A.handler=this),this.proxy=A},e.prototype.mousemove=function(A){var r=A.zrX,n=A.zrY,i=Kd(this,r,n),a=this._hovered,o=a.target;o&&!o.__zr&&(a=this.findHover(a.x,a.y),o=a.target);var s=this._hovered=i?new Zi(r,n):this.findHover(r,n),l=s.target,u=this.proxy;u.setCursor&&u.setCursor(l?l.cursor:"default"),o&&l!==o&&this.dispatchToElement(a,"mouseout",A),this.dispatchToElement(s,"mousemove",A),l&&l!==o&&this.dispatchToElement(s,"mouseover",A)},e.prototype.mouseout=function(A){var r=A.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",A),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:A})},e.prototype.resize=function(){this._hovered=new Zi(0,0)},e.prototype.dispatch=function(A,r){var n=this[A];n&&n.call(this,r)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(A){var r=this.proxy;r.setCursor&&r.setCursor(A)},e.prototype.dispatchToElement=function(A,r,n){A=A||{};var i=A.target;if(!(i&&i.silent)){for(var a="on"+r,o=HQ(r,A,n);i&&(i[a]&&(o.cancelBubble=!!i[a].call(i,o)),i.trigger(r,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(r,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[a]=="function"&&s[a].call(s,o),s.trigger&&s.trigger(r,o)}))}},e.prototype.findHover=function(A,r,n){var i=this.storage.getDisplayList(),a=new Zi(A,r);if(kd(i,a,A,r,n),this._pointerSize&&!a.target){for(var o=[],s=this._pointerSize,l=s/2,u=new Me(A-l,r-l,s,s),f=i.length-1;f>=0;f--){var c=i[f];c!==n&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(nf.copy(c.getBoundingRect()),c.transform&&nf.applyTransform(c.transform),nf.intersect(u)&&o.push(c))}if(o.length)for(var h=4,v=Math.PI/12,d=Math.PI*2,g=0;g<l;g+=h)for(var p=0;p<d;p+=v){var B=A+g*Math.cos(p),y=r+g*Math.sin(p);if(kd(o,a,B,y,n),a.target)return a}}return a},e.prototype.processGesture=function(A,r){this._gestureMgr||(this._gestureMgr=new bQ);var n=this._gestureMgr;r==="start"&&n.clear();var i=n.recognize(A,this.findHover(A.zrX,A.zrY,null).target,this.proxy.dom);if(r==="end"&&n.clear(),i){var a=i.type;A.gestureEvent=a;var o=new Zi;o.target=i.target,this.dispatchToElement(o,a,i.event)}},e}(dt);S(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){Nd.prototype[t]=function(e){var A=e.zrX,r=e.zrY,n=Kd(this,A,r),i,a;if((t!=="mouseup"||!n)&&(i=this.findHover(A,r),a=i.target),t==="mousedown")this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if(t==="mouseup")this._upEl=a;else if(t==="click"){if(this._downEl!==this._upEl||!this._downPoint||Wu(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}});function NQ(t,e,A){if(t[t.rectHover?"rectContain":"contain"](e,A)){for(var r=t,n=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var a=r.getClipPath();if(a&&!a.contain(e,A))return!1}r.silent&&(n=!0);var o=r.__hostTarget;r=o||r.parent}return n?Pd:!0}return!1}function kd(t,e,A,r,n){for(var i=t.length-1;i>=0;i--){var a=t[i],o=void 0;if(a!==n&&!a.ignore&&(o=NQ(a,A,r))&&(!e.topTarget&&(e.topTarget=a),o!==Pd)){e.target=a;break}}}function Kd(t,e,A){var r=t.painter;return e<0||e>r.getWidth()||A<0||A>r.getHeight()}const kQ=Nd;var Vd=32,Ji=7;function KQ(t){for(var e=0;t>=Vd;)e|=t&1,t>>=1;return t+e}function Gd(t,e,A,r){var n=e+1;if(n===A)return 1;if(r(t[n++],t[e])<0){for(;n<A&&r(t[n],t[n-1])<0;)n++;VQ(t,e,n)}else for(;n<A&&r(t[n],t[n-1])>=0;)n++;return n-e}function VQ(t,e,A){for(A--;e<A;){var r=t[e];t[e++]=t[A],t[A--]=r}}function zd(t,e,A,r,n){for(r===e&&r++;r<A;r++){for(var i=t[r],a=e,o=r,s;a<o;)s=a+o>>>1,n(i,t[s])<0?o=s:a=s+1;var l=r-a;switch(l){case 3:t[a+3]=t[a+2];case 2:t[a+2]=t[a+1];case 1:t[a+1]=t[a];break;default:for(;l>0;)t[a+l]=t[a+l-1],l--}t[a]=i}}function af(t,e,A,r,n,i){var a=0,o=0,s=1;if(i(t,e[A+n])>0){for(o=r-n;s<o&&i(t,e[A+n+s])>0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}else{for(o=n+1;s<o&&i(t,e[A+n-s])<=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}for(a++;a<s;){var u=a+(s-a>>>1);i(t,e[A+u])>0?a=u+1:s=u}return s}function of(t,e,A,r,n,i){var a=0,o=0,s=1;if(i(t,e[A+n])<0){for(o=n+1;s<o&&i(t,e[A+n-s])<0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}else{for(o=r-n;s<o&&i(t,e[A+n+s])>=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}for(a++;a<s;){var u=a+(s-a>>>1);i(t,e[A+u])<0?s=u:a=u+1}return s}function GQ(t,e){var A=Ji,r,n,i=0,a=[];r=[],n=[];function o(h,v){r[i]=h,n[i]=v,i+=1}function s(){for(;i>1;){var h=i-2;if(h>=1&&n[h-1]<=n[h]+n[h+1]||h>=2&&n[h-2]<=n[h]+n[h-1])n[h-1]<n[h+1]&&h--;else if(n[h]>n[h+1])break;u(h)}}function l(){for(;i>1;){var h=i-2;h>0&&n[h-1]<n[h+1]&&h--,u(h)}}function u(h){var v=r[h],d=n[h],g=r[h+1],p=n[h+1];n[h]=d+p,h===i-3&&(r[h+1]=r[h+2],n[h+1]=n[h+2]),i--;var B=of(t[g],t,v,d,0,e);v+=B,d-=B,d!==0&&(p=af(t[v+d-1],t,g,p,p-1,e),p!==0&&(d<=p?f(v,d,g,p):c(v,d,g,p)))}function f(h,v,d,g){var p=0;for(p=0;p<v;p++)a[p]=t[h+p];var B=0,y=d,m=h;if(t[m++]=t[y++],--g===0){for(p=0;p<v;p++)t[m+p]=a[B+p];return}if(v===1){for(p=0;p<g;p++)t[m+p]=t[y+p];t[m+g]=a[B];return}for(var _=A,C,Q,F;;){C=0,Q=0,F=!1;do if(e(t[y],a[B])<0){if(t[m++]=t[y++],Q++,C=0,--g===0){F=!0;break}}else if(t[m++]=a[B++],C++,Q=0,--v===1){F=!0;break}while((C|Q)<_);if(F)break;do{if(C=of(t[y],a,B,v,0,e),C!==0){for(p=0;p<C;p++)t[m+p]=a[B+p];if(m+=C,B+=C,v-=C,v<=1){F=!0;break}}if(t[m++]=t[y++],--g===0){F=!0;break}if(Q=af(a[B],t,y,g,0,e),Q!==0){for(p=0;p<Q;p++)t[m+p]=t[y+p];if(m+=Q,y+=Q,g-=Q,g===0){F=!0;break}}if(t[m++]=a[B++],--v===1){F=!0;break}_--}while(C>=Ji||Q>=Ji);if(F)break;_<0&&(_=0),_+=2}if(A=_,A<1&&(A=1),v===1){for(p=0;p<g;p++)t[m+p]=t[y+p];t[m+g]=a[B]}else{if(v===0)throw new Error;for(p=0;p<v;p++)t[m+p]=a[B+p]}}function c(h,v,d,g){var p=0;for(p=0;p<g;p++)a[p]=t[d+p];var B=h+v-1,y=g-1,m=d+g-1,_=0,C=0;if(t[m--]=t[B--],--v===0){for(_=m-(g-1),p=0;p<g;p++)t[_+p]=a[p];return}if(g===1){for(m-=v,B-=v,C=m+1,_=B+1,p=v-1;p>=0;p--)t[C+p]=t[_+p];t[m]=a[y];return}for(var Q=A;;){var F=0,E=0,U=!1;do if(e(a[y],t[B])<0){if(t[m--]=t[B--],F++,E=0,--v===0){U=!0;break}}else if(t[m--]=a[y--],E++,F=0,--g===1){U=!0;break}while((F|E)<Q);if(U)break;do{if(F=v-of(a[y],t,h,v,v-1,e),F!==0){for(m-=F,B-=F,v-=F,C=m+1,_=B+1,p=F-1;p>=0;p--)t[C+p]=t[_+p];if(v===0){U=!0;break}}if(t[m--]=a[y--],--g===1){U=!0;break}if(E=g-af(t[B],a,0,g,g-1,e),E!==0){for(m-=E,y-=E,g-=E,C=m+1,_=y+1,p=0;p<E;p++)t[C+p]=a[_+p];if(g<=1){U=!0;break}}if(t[m--]=t[B--],--v===0){U=!0;break}Q--}while(F>=Ji||E>=Ji);if(U)break;Q<0&&(Q=0),Q+=2}if(A=Q,A<1&&(A=1),g===1){for(m-=v,B-=v,C=m+1,_=B+1,p=v-1;p>=0;p--)t[C+p]=t[_+p];t[m]=a[y]}else{if(g===0)throw new Error;for(_=m-(g-1),p=0;p<g;p++)t[_+p]=a[p]}}return{mergeRuns:s,forceMergeRuns:l,pushRun:o}}function Lo(t,e,A,r){A||(A=0),r||(r=t.length);var n=r-A;if(!(n<2)){var i=0;if(n<Vd){i=Gd(t,A,r,e),zd(t,A,r,A+i,e);return}var a=GQ(t,e),o=KQ(n);do{if(i=Gd(t,A,r,e),i<o){var s=n;s>o&&(s=o),zd(t,A,A+s,A+i,e),i=s}a.pushRun(A,i),a.mergeRuns(),n-=i,A+=i}while(n!==0);a.forceMergeRuns()}}var VA=1,$i=2,Jn=4,Wd=!1;function sf(){Wd||(Wd=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Yd(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var zQ=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Yd}return t.prototype.traverse=function(e,A){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,A)},t.prototype.getDisplayList=function(e,A){A=A||!1;var r=this._displayList;return(e||!r.length)&&this.updateDisplayList(A),r},t.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var A=this._roots,r=this._displayList,n=0,i=A.length;n<i;n++)this._updateAndAddDisplayable(A[n],null,e);r.length=this._displayListLen,Lo(r,Yd)},t.prototype._updateAndAddDisplayable=function(e,A,r){if(!(e.ignore&&!r)){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath();if(e.ignoreClip)A=null;else if(n){A?A=A.slice():A=[];for(var i=n,a=e;i;)i.parent=a,i.updateTransform(),A.push(i),a=i,i=i.getClipPath()}if(e.childrenRef){for(var o=e.childrenRef(),s=0;s<o.length;s++){var l=o[s];e.__dirty&&(l.__dirty|=VA),this._updateAndAddDisplayable(l,A,r)}e.__dirty=0}else{var u=e;A&&A.length?u.__clipPaths=A:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(sf(),u.z=0),isNaN(u.z2)&&(sf(),u.z2=0),isNaN(u.zlevel)&&(sf(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var f=e.getDecalElement&&e.getDecalElement();f&&this._updateAndAddDisplayable(f,A,r);var c=e.getTextGuideLine();c&&this._updateAndAddDisplayable(c,A,r);var h=e.getTextContent();h&&this._updateAndAddDisplayable(h,A,r)}},t.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},t.prototype.delRoot=function(e){if(e instanceof Array){for(var A=0,r=e.length;A<r;A++)this.delRoot(e[A]);return}var n=Le(this._roots,e);n>=0&&this._roots.splice(n,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}();const WQ=zQ;var Xd;Xd=Qe.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};const lf=Xd;var Mo={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 t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?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,A=.1,r=.4;return t===0?0:t===1?1:(!A||A<1?(A=1,e=r/4):e=r*Math.asin(1/A)/(2*Math.PI),-(A*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)))},elasticOut:function(t){var e,A=.1,r=.4;return t===0?0:t===1?1:(!A||A<1?(A=1,e=r/4):e=r*Math.asin(1/A)/(2*Math.PI),A*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/r)+1)},elasticInOut:function(t){var e,A=.1,r=.4;return t===0?0:t===1?1:(!A||A<1?(A=1,e=r/4):e=r*Math.asin(1/A)/(2*Math.PI),(t*=2)<1?-.5*(A*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)):A*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*(t*t*((e+1)*t-e)):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Mo.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?Mo.bounceIn(t*2)*.5:Mo.bounceOut(t*2-1)*.5+.5}};const Zd=Mo;var Ho=Math.pow,lr=Math.sqrt,Oo=1e-8,Jd=1e-4,$d=lr(3),Ro=1/3,Ut=Kn(),$A=Kn(),$n=Kn();function ur(t){return t>-Oo&&t<Oo}function qd(t){return t>Oo||t<-Oo}function iA(t,e,A,r,n){var i=1-n;return i*i*(i*t+3*n*e)+n*n*(n*r+3*i*A)}function jd(t,e,A,r,n){var i=1-n;return 3*(((e-t)*i+2*(A-e)*n)*i+(r-A)*n*n)}function Po(t,e,A,r,n,i){var a=r+3*(e-A)-t,o=3*(A-e*2+t),s=3*(e-t),l=t-n,u=o*o-3*a*s,f=o*s-9*a*l,c=s*s-3*o*l,h=0;if(ur(u)&&ur(f))if(ur(o))i[0]=0;else{var v=-s/o;v>=0&&v<=1&&(i[h++]=v)}else{var d=f*f-4*u*c;if(ur(d)){var g=f/u,v=-o/a+g,p=-g/2;v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p)}else if(d>0){var B=lr(d),y=u*o+1.5*a*(-f+B),m=u*o+1.5*a*(-f-B);y<0?y=-Ho(-y,Ro):y=Ho(y,Ro),m<0?m=-Ho(-m,Ro):m=Ho(m,Ro);var v=(-o-(y+m))/(3*a);v>=0&&v<=1&&(i[h++]=v)}else{var _=(2*u*o-3*a*f)/(2*lr(u*u*u)),C=Math.acos(_)/3,Q=lr(u),F=Math.cos(C),v=(-o-2*Q*F)/(3*a),p=(-o+Q*(F+$d*Math.sin(C)))/(3*a),E=(-o+Q*(F-$d*Math.sin(C)))/(3*a);v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p),E>=0&&E<=1&&(i[h++]=E)}}return h}function eg(t,e,A,r,n){var i=6*A-12*e+6*t,a=9*e+3*r-3*t-9*A,o=3*e-3*t,s=0;if(ur(a)){if(qd(i)){var l=-o/i;l>=0&&l<=1&&(n[s++]=l)}}else{var u=i*i-4*a*o;if(ur(u))n[0]=-i/(2*a);else if(u>0){var f=lr(u),l=(-i+f)/(2*a),c=(-i-f)/(2*a);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function No(t,e,A,r,n,i){var a=(e-t)*n+t,o=(A-e)*n+e,s=(r-A)*n+A,l=(o-a)*n+a,u=(s-o)*n+o,f=(u-l)*n+l;i[0]=t,i[1]=a,i[2]=l,i[3]=f,i[4]=f,i[5]=u,i[6]=s,i[7]=r}function Ag(t,e,A,r,n,i,a,o,s,l,u){var f,c=.005,h=1/0,v,d,g,p;Ut[0]=s,Ut[1]=l;for(var B=0;B<1;B+=.05)$A[0]=iA(t,A,n,a,B),$A[1]=iA(e,r,i,o,B),g=Vn(Ut,$A),g<h&&(f=B,h=g);h=1/0;for(var y=0;y<32&&!(c<Jd);y++)v=f-c,d=f+c,$A[0]=iA(t,A,n,a,v),$A[1]=iA(e,r,i,o,v),g=Vn($A,Ut),v>=0&&g<h?(f=v,h=g):($n[0]=iA(t,A,n,a,d),$n[1]=iA(e,r,i,o,d),p=Vn($n,Ut),d<=1&&p<h?(f=d,h=p):c*=.5);return u&&(u[0]=iA(t,A,n,a,f),u[1]=iA(e,r,i,o,f)),lr(h)}function YQ(t,e,A,r,n,i,a,o,s){for(var l=t,u=e,f=0,c=1/s,h=1;h<=s;h++){var v=h*c,d=iA(t,A,n,a,v),g=iA(e,r,i,o,v),p=d-l,B=g-u;f+=Math.sqrt(p*p+B*B),l=d,u=g}return f}function vA(t,e,A,r){var n=1-r;return n*(n*t+2*r*e)+r*r*A}function tg(t,e,A,r){return 2*((1-r)*(e-t)+r*(A-e))}function XQ(t,e,A,r,n){var i=t-2*e+A,a=2*(e-t),o=t-r,s=0;if(ur(i)){if(qd(a)){var l=-o/a;l>=0&&l<=1&&(n[s++]=l)}}else{var u=a*a-4*i*o;if(ur(u)){var l=-a/(2*i);l>=0&&l<=1&&(n[s++]=l)}else if(u>0){var f=lr(u),l=(-a+f)/(2*i),c=(-a-f)/(2*i);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function rg(t,e,A){var r=t+A-2*e;return r===0?.5:(t-e)/r}function ko(t,e,A,r,n){var i=(e-t)*r+t,a=(A-e)*r+e,o=(a-i)*r+i;n[0]=t,n[1]=i,n[2]=o,n[3]=o,n[4]=a,n[5]=A}function ng(t,e,A,r,n,i,a,o,s){var l,u=.005,f=1/0;Ut[0]=a,Ut[1]=o;for(var c=0;c<1;c+=.05){$A[0]=vA(t,A,n,c),$A[1]=vA(e,r,i,c);var h=Vn(Ut,$A);h<f&&(l=c,f=h)}f=1/0;for(var v=0;v<32&&!(u<Jd);v++){var d=l-u,g=l+u;$A[0]=vA(t,A,n,d),$A[1]=vA(e,r,i,d);var h=Vn($A,Ut);if(d>=0&&h<f)l=d,f=h;else{$n[0]=vA(t,A,n,g),$n[1]=vA(e,r,i,g);var p=Vn($n,Ut);g<=1&&p<f?(l=g,f=p):u*=.5}}return s&&(s[0]=vA(t,A,n,l),s[1]=vA(e,r,i,l)),lr(f)}function ZQ(t,e,A,r,n,i,a){for(var o=t,s=e,l=0,u=1/a,f=1;f<=a;f++){var c=f*u,h=vA(t,A,n,c),v=vA(e,r,i,c),d=h-o,g=v-s;l+=Math.sqrt(d*d+g*g),o=h,s=v}return l}var JQ=/cubic-bezier\(([0-9,\.e ]+)\)/;function ig(t){var e=t&&JQ.exec(t);if(e){var A=e[1].split(","),r=+Et(A[0]),n=+Et(A[1]),i=+Et(A[2]),a=+Et(A[3]);if(isNaN(r+n+i+a))return;var o=[];return function(s){return s<=0?0:s>=1?1:Po(0,r,i,1,s,o)&&iA(0,n,a,1,o[0])}}}var $Q=function(){function t(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||EA,this.ondestroy=e.ondestroy||EA,this.onrestart=e.onrestart||EA,e.easing&&this.setEasing(e.easing)}return t.prototype.step=function(e,A){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=A;return}var r=this._life,n=e-this._startTime-this._pausedTime,i=n/r;i<0&&(i=0),i=Math.min(i,1);var a=this.easingFunc,o=a?a(i):i;if(this.onframe(o),i===1)if(this.loop){var s=n%r;this._startTime=e-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(e){this.easing=e,this.easingFunc=de(e)?e:Zd[e]||ig(e)},t}();const qQ=$Q;var ag=function(){function t(e){this.value=e}return t}(),jQ=function(){function t(){this._len=0}return t.prototype.insert=function(e){var A=new ag(e);return this.insertEntry(A),A},t.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},t.prototype.remove=function(e){var A=e.prev,r=e.next;A?A.next=r:this.head=r,r?r.prev=A:this.tail=A,e.next=e.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),eF=function(){function t(e){this._list=new jQ,this._maxSize=10,this._map={},this._maxSize=e}return t.prototype.put=function(e,A){var r=this._list,n=this._map,i=null;if(n[e]==null){var a=r.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete n[s.key],i=s.value,this._lastRemovedEntry=s}o?o.value=A:o=new ag(A),o.key=e,r.insertEntry(o),n[e]=o}return i},t.prototype.get=function(e){var A=this._map[e],r=this._list;if(A!=null)return A!==r.tail&&(r.remove(A),r.insertEntry(A)),A.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();const qi=eF;var og={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 fr(t){return t=Math.round(t),t<0?0:t>255?255:t}function uf(t){return t<0?0:t>1?1:t}function ff(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?fr(parseFloat(e)/100*255):fr(parseInt(e,10))}function ji(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?uf(parseFloat(e)/100):uf(parseFloat(e))}function cf(t,e,A){return A<0?A+=1:A>1&&(A-=1),A*6<1?t+(e-t)*A*6:A*2<1?e:A*3<2?t+(e-t)*(2/3-A)*6:t}function Ko(t,e,A){return t+(e-t)*A}function qA(t,e,A,r,n){return t[0]=e,t[1]=A,t[2]=r,t[3]=n,t}function hf(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var sg=new qi(20),Vo=null;function qn(t,e){Vo&&hf(Vo,e),Vo=sg.put(t,Vo||e.slice())}function Kt(t,e){if(t){e=e||[];var A=sg.get(t);if(A)return hf(e,A);t=t+"";var r=t.replace(/ /g,"").toLowerCase();if(r in og)return hf(e,og[r]),qn(t,e),e;var n=r.length;if(r.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(r.slice(1,4),16);if(!(i>=0&&i<=4095)){qA(e,0,0,0,1);return}return qA(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(r.slice(4),16)/15:1),qn(t,e),e}else if(n===7||n===9){var i=parseInt(r.slice(1,7),16);if(!(i>=0&&i<=16777215)){qA(e,0,0,0,1);return}return qA(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(r.slice(7),16)/255:1),qn(t,e),e}return}var a=r.indexOf("("),o=r.indexOf(")");if(a!==-1&&o+1===n){var s=r.substr(0,a),l=r.substr(a+1,o-(a+1)).split(","),u=1;switch(s){case"rgba":if(l.length!==4)return l.length===3?qA(e,+l[0],+l[1],+l[2],1):qA(e,0,0,0,1);u=ji(l.pop());case"rgb":if(l.length>=3)return qA(e,ff(l[0]),ff(l[1]),ff(l[2]),l.length===3?u:ji(l[3])),qn(t,e),e;qA(e,0,0,0,1);return;case"hsla":if(l.length!==4){qA(e,0,0,0,1);return}return l[3]=ji(l[3]),lg(l,e),qn(t,e),e;case"hsl":if(l.length!==3){qA(e,0,0,0,1);return}return lg(l,e),qn(t,e),e;default:return}}qA(e,0,0,0,1)}}function lg(t,e){var A=(parseFloat(t[0])%360+360)%360/360,r=ji(t[1]),n=ji(t[2]),i=n<=.5?n*(r+1):n+r-n*r,a=n*2-i;return e=e||[],qA(e,fr(cf(a,i,A+1/3)*255),fr(cf(a,i,A)*255),fr(cf(a,i,A-1/3)*255),1),t.length===4&&(e[3]=t[3]),e}function ug(t,e){var A=Kt(t);if(A){for(var r=0;r<3;r++)e<0?A[r]=A[r]*(1-e)|0:A[r]=(255-A[r])*e+A[r]|0,A[r]>255?A[r]=255:A[r]<0&&(A[r]=0);return Go(A,A.length===4?"rgba":"rgb")}}function AF(t,e,A){if(!(!(e&&e.length)||!(t>=0&&t<=1))){var r=t*(e.length-1),n=Math.floor(r),i=Math.ceil(r),a=Kt(e[n]),o=Kt(e[i]),s=r-n,l=Go([fr(Ko(a[0],o[0],s)),fr(Ko(a[1],o[1],s)),fr(Ko(a[2],o[2],s)),uf(Ko(a[3],o[3],s))],"rgba");return A?{color:l,leftIndex:n,rightIndex:i,value:r}:l}}function Go(t,e){if(!(!t||!t.length)){var A=t[0]+","+t[1]+","+t[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(A+=","+t[3]),e+"("+A+")"}}function zo(t,e){var A=Kt(t);return A?(.299*A[0]+.587*A[1]+.114*A[2])*A[3]/255+(1-A[3])*e:0}var fg=new qi(100);function cg(t){if(ae(t)){var e=fg.get(t);return e||(e=ug(t,-.1),fg.put(t,e)),e}else if(So(t)){var A=Y({},t);return A.colorStops=he(t.colorStops,function(r){return{offset:r.offset,color:ug(r.color,-.1)}}),A}return t}function tF(t){return t.type==="linear"}function rF(t){return t.type==="radial"}(function(){return Qe.hasGlobalWindow&&de(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:typeof Buffer<"u"?function(t){return Buffer.from(t).toString("base64")}:function(t){return process.env.NODE_ENV!=="production"&&Pr("Base64 isn't natively supported in the current environment."),null}})();var vf=Array.prototype.slice;function Vt(t,e,A){return(e-t)*A+t}function df(t,e,A,r){for(var n=e.length,i=0;i<n;i++)t[i]=Vt(e[i],A[i],r);return t}function nF(t,e,A,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){t[a]||(t[a]=[]);for(var o=0;o<i;o++)t[a][o]=Vt(e[a][o],A[a][o],r)}return t}function Wo(t,e,A,r){for(var n=e.length,i=0;i<n;i++)t[i]=e[i]+A[i]*r;return t}function hg(t,e,A,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){t[a]||(t[a]=[]);for(var o=0;o<i;o++)t[a][o]=e[a][o]+A[a][o]*r}return t}function iF(t,e){for(var A=t.length,r=e.length,n=A>r?e:t,i=Math.min(A,r),a=n[i-1]||{color:[0,0,0,0],offset:0},o=i;o<Math.max(A,r);o++)n.push({offset:a.offset,color:a.color.slice()})}function aF(t,e,A){var r=t,n=e;if(!(!r.push||!n.push)){var i=r.length,a=n.length;if(i!==a){var o=i>a;if(o)r.length=a;else for(var s=i;s<a;s++)r.push(A===1?n[s]:vf.call(n[s]))}for(var l=r[0]&&r[0].length,s=0;s<r.length;s++)if(A===1)isNaN(r[s])&&(r[s]=n[s]);else for(var u=0;u<l;u++)isNaN(r[s][u])&&(r[s][u]=n[s][u])}}function Yo(t){if(DA(t)){var e=t.length;if(DA(t[0])){for(var A=[],r=0;r<e;r++)A.push(vf.call(t[r]));return A}return vf.call(t)}return t}function Xo(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]=t[3]==null?1:t[3],"rgba("+t.join(",")+")"}function oF(t){return DA(t&&t[0])?2:1}var Zo=0,Jo=1,vg=2,ea=3,gf=4,pf=5,dg=6;function gg(t){return t===gf||t===pf}function $o(t){return t===Jo||t===vg}var Aa=[0,0,0,0],sF=function(){function t(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}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(e,A,r){this._needsSort=!0;var n=this.keyframes,i=n.length,a=!1,o=dg,s=A;if(DA(A)){var l=oF(A);o=l,(l===1&&!ze(A[0])||l===2&&!ze(A[0][0]))&&(a=!0)}else if(ze(A)&&!zi(A))o=Zo;else if(ae(A))if(!isNaN(+A))o=Zo;else{var u=Kt(A);u&&(s=u,o=ea)}else if(So(A)){var f=Y({},s);f.colorStops=he(A.colorStops,function(h){return{offset:h.offset,color:Kt(h.color)}}),tF(A)?o=gf:rF(A)&&(o=pf),s=f}i===0?this.valType=o:(o!==this.valType||o===dg)&&(a=!0),this.discrete=this.discrete||a;var c={time:e,value:s,rawValue:A,percent:0};return r&&(c.easing=r,c.easingFunc=de(r)?r:Zd[r]||ig(r)),n.push(c),c},t.prototype.prepare=function(e,A){var r=this.keyframes;this._needsSort&&r.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=r.length,a=r[i-1],o=this.discrete,s=$o(n),l=gg(n),u=0;u<i;u++){var f=r[u],c=f.value,h=a.value;f.percent=f.time/e,o||(s&&u!==i-1?aF(c,h,n):l&&iF(c.colorStops,h.colorStops))}if(!o&&n!==pf&&A&&this.needsAnimate()&&A.needsAnimate()&&n===A.valType&&!A._finished){this._additiveTrack=A;for(var v=r[0].value,u=0;u<i;u++)n===Zo?r[u].additiveValue=r[u].value-v:n===ea?r[u].additiveValue=Wo([],r[u].value,v,-1):$o(n)&&(r[u].additiveValue=n===Jo?Wo([],r[u].value,v,-1):hg([],r[u].value,v,-1))}},t.prototype.step=function(e,A){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,n=r?"additiveValue":"value",i=this.valType,a=this.keyframes,o=a.length,s=this.propName,l=i===ea,u,f=this._lastFr,c=Math.min,h,v;if(o===1)h=v=a[0];else{if(A<0)u=0;else if(A<this._lastFrP){var d=c(f+1,o-1);for(u=d;u>=0&&!(a[u].percent<=A);u--);u=c(u,o-2)}else{for(u=f;u<o&&!(a[u].percent>A);u++);u=c(u-1,o-2)}v=a[u+1],h=a[u]}if(h&&v){this._lastFr=u,this._lastFrP=A;var g=v.percent-h.percent,p=g===0?1:c((A-h.percent)/g,1);v.easingFunc&&(p=v.easingFunc(p));var B=r?this._additiveValue:l?Aa:e[s];if(($o(i)||l)&&!B&&(B=this._additiveValue=[]),this.discrete)e[s]=p<1?h.rawValue:v.rawValue;else if($o(i))i===Jo?df(B,h[n],v[n],p):nF(B,h[n],v[n],p);else if(gg(i)){var y=h[n],m=v[n],_=i===gf;e[s]={type:_?"linear":"radial",x:Vt(y.x,m.x,p),y:Vt(y.y,m.y,p),colorStops:he(y.colorStops,function(Q,F){var E=m.colorStops[F];return{offset:Vt(Q.offset,E.offset,p),color:Xo(df([],Q.color,E.color,p))}}),global:m.global},_?(e[s].x2=Vt(y.x2,m.x2,p),e[s].y2=Vt(y.y2,m.y2,p)):e[s].r=Vt(y.r,m.r,p)}else if(l)df(B,h[n],v[n],p),r||(e[s]=Xo(B));else{var C=Vt(h[n],v[n],p);r?this._additiveValue=C:e[s]=C}r&&this._addToTarget(e)}}},t.prototype._addToTarget=function(e){var A=this.valType,r=this.propName,n=this._additiveValue;A===Zo?e[r]=e[r]+n:A===ea?(Kt(e[r],Aa),Wo(Aa,Aa,n,1),e[r]=Xo(Aa)):A===Jo?Wo(e[r],e[r],n,1):A===vg&&hg(e[r],e[r],n,1)},t}(),lF=function(){function t(e,A,r,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=A,A&&n){Pr("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,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(e){this._target=e},t.prototype.when=function(e,A,r){return this.whenWithKeys(e,A,Ge(A),r)},t.prototype.whenWithKeys=function(e,A,r,n){for(var i=this._tracks,a=0;a<r.length;a++){var o=r[a],s=i[o];if(!s){s=i[o]=new sF(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var f=u.keyframes,c=f[f.length-1];l=c&&c.value,u.valType===ea&&l&&(l=Xo(l))}else l=this._target[o];if(l==null)continue;e>0&&s.addKeyframe(0,Yo(l),n),this._trackKeys.push(o)}s.addKeyframe(e,Yo(A[o]),n)}return this._maxTime=Math.max(this._maxTime,e),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(e){return this._maxTime=e,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var A=e.length,r=0;r<A;r++)e[r].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,A=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,A)for(var r=0;r<A.length;r++)A[r].call(this)},t.prototype._setTracksFinished=function(){for(var e=this._tracks,A=this._trackKeys,r=0;r<A.length;r++)e[A[r]].setFinished()},t.prototype._getAdditiveTrack=function(e){var A,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(e);i&&(A=i)}return A},t.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var A=this,r=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var a=this._trackKeys[i],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(n,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var f=l[u-1];f&&(A._target[o.propName]=f.rawValue),o.setFinished()}else r.push(o)}if(r.length||this._force){var c=new qQ({life:n,loop:this._loop,delay:this._delay||0,onframe:function(h){A._started=2;var v=A._additiveAnimators;if(v){for(var d=!1,g=0;g<v.length;g++)if(v[g]._clip){d=!0;break}d||(A._additiveAnimators=null)}for(var g=0;g<r.length;g++)r[g].step(A._target,h);var p=A._onframeCbs;if(p)for(var g=0;g<p.length;g++)p[g](A._target,h)},ondestroy:function(){A._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),e&&c.setEasing(e)}else this._doneCallback();return this}},t.prototype.stop=function(e){if(this._clip){var A=this._clip;e&&A.onframe(1),this._abortedCallback()}},t.prototype.delay=function(e){return this._delay=e,this},t.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},t.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},t.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(e){return this._tracks[e]},t.prototype.getTracks=function(){var e=this;return he(this._trackKeys,function(A){return e._tracks[A]})},t.prototype.stopTracks=function(e,A){if(!e.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var a=r[e[i]];a&&!a.isFinished()&&(A?a.step(this._target,1):this._started===1&&a.step(this._target,0),a.setFinished())}for(var o=!0,i=0;i<n.length;i++)if(!r[n[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveTo=function(e,A,r){if(e){A=A||this._trackKeys;for(var n=0;n<A.length;n++){var i=A[n],a=this._tracks[i];if(!(!a||a.isFinished())){var o=a.keyframes,s=o[r?0:o.length-1];s&&(e[i]=Yo(s.rawValue))}}}},t.prototype.__changeFinalValue=function(e,A){A=A||Ge(e);for(var r=0;r<A.length;r++){var n=A[r],i=this._tracks[n];if(i){var a=i.keyframes;if(a.length>1){var o=a.pop();i.addKeyframe(o.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}();const Bf=lF;function jn(){return new Date().getTime()}var uF=function(t){Z(e,t);function e(A){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,A=A||{},r.stage=A.stage||{},r}return e.prototype.addClip=function(A){A.animation&&this.removeClip(A),this._head?(this._tail.next=A,A.prev=this._tail,A.next=null,this._tail=A):this._head=this._tail=A,A.animation=this},e.prototype.addAnimator=function(A){A.animation=this;var r=A.getClip();r&&this.addClip(r)},e.prototype.removeClip=function(A){if(A.animation){var r=A.prev,n=A.next;r?r.next=n:this._head=n,n?n.prev=r:this._tail=r,A.next=A.prev=A.animation=null}},e.prototype.removeAnimator=function(A){var r=A.getClip();r&&this.removeClip(r),A.animation=null},e.prototype.update=function(A){for(var r=jn()-this._pausedTime,n=r-this._time,i=this._head;i;){var a=i.next,o=i.step(r,n);o&&(i.ondestroy(),this.removeClip(i)),i=a}this._time=r,A||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var A=this;this._running=!0;function r(){A._running&&(lf(r),!A._paused&&A.update())}lf(r)},e.prototype.start=function(){this._running||(this._time=jn(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=jn(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=jn()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var A=this._head;A;){var r=A.next;A.prev=A.next=A.animation=null,A=r}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(A,r){r=r||{},this.start();var n=new Bf(A,r.loop);return this.addAnimator(n),n},e}(dt);const fF=uF;var cF=300,yf=Qe.domSupported,mf=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],A={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=he(t,function(n){var i=n.replace("mouse","pointer");return A.hasOwnProperty(i)?i:n});return{mouse:t,touch:e,pointer:r}}(),pg={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Bg=!1;function wf(t){var e=t.pointerType;return e==="pen"||e==="touch"}function hF(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function Cf(t){t&&(t.zrByTouch=!0)}function vF(t,e){return JA(t.dom,new dF(t,e),!0)}function yg(t,e){for(var A=e,r=!1;A&&A.nodeType!==9&&!(r=A.domBelongToZr||A!==e&&A===t.painterRoot);)A=A.parentNode;return r}var dF=function(){function t(e,A){this.stopPropagation=EA,this.stopImmediatePropagation=EA,this.preventDefault=EA,this.type=A.type,this.target=this.currentTarget=e.dom,this.pointerType=A.pointerType,this.clientX=A.clientX,this.clientY=A.clientY}return t}(),gt={mousedown:function(t){t=JA(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=JA(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=JA(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=JA(this.dom,t);var e=t.toElement||t.relatedTarget;yg(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Bg=!0,t=JA(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Bg||(t=JA(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=JA(this.dom,t),Cf(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),gt.mousemove.call(this,t),gt.mousedown.call(this,t)},touchmove:function(t){t=JA(this.dom,t),Cf(t),this.handler.processGesture(t,"change"),gt.mousemove.call(this,t)},touchend:function(t){t=JA(this.dom,t),Cf(t),this.handler.processGesture(t,"end"),gt.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<cF&&gt.click.call(this,t)},pointerdown:function(t){gt.mousedown.call(this,t)},pointermove:function(t){wf(t)||gt.mousemove.call(this,t)},pointerup:function(t){gt.mouseup.call(this,t)},pointerout:function(t){wf(t)||gt.mouseout.call(this,t)}};S(["click","dblclick","contextmenu"],function(t){gt[t]=function(e){e=JA(this.dom,e),this.trigger(t,e)}});var _f={pointermove:function(t){wf(t)||_f.mousemove.call(this,t)},pointerup:function(t){_f.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 gF(t,e){var A=e.domHandlers;Qe.pointerEventsSupported?S(mf.pointer,function(r){qo(e,r,function(n){A[r].call(t,n)})}):(Qe.touchEventsSupported&&S(mf.touch,function(r){qo(e,r,function(n){A[r].call(t,n),hF(e)})}),S(mf.mouse,function(r){qo(e,r,function(n){n=ju(n),e.touching||A[r].call(t,n)})}))}function pF(t,e){Qe.pointerEventsSupported?S(pg.pointer,A):Qe.touchEventsSupported||S(pg.mouse,A);function A(r){function n(i){i=ju(i),yg(t,i.target)||(i=vF(t,i),e.domHandlers[r].call(t,i))}qo(e,r,n,{capture:!0})}}function qo(t,e,A,r){t.mounted[e]=A,t.listenerOpts[e]=r,UQ(t.domTarget,e,A,r)}function Qf(t){var e=t.mounted;for(var A in e)e.hasOwnProperty(A)&&SQ(t.domTarget,A,e[A],t.listenerOpts[A]);t.mounted={}}var mg=function(){function t(e,A){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=A}return t}(),BF=function(t){Z(e,t);function e(A,r){var n=t.call(this)||this;return n.__pointerCapturing=!1,n.dom=A,n.painterRoot=r,n._localHandlerScope=new mg(A,gt),yf&&(n._globalHandlerScope=new mg(document,_f)),gF(n,n._localHandlerScope),n}return e.prototype.dispose=function(){Qf(this._localHandlerScope),yf&&Qf(this._globalHandlerScope)},e.prototype.setCursor=function(A){this.dom.style&&(this.dom.style.cursor=A||"default")},e.prototype.__togglePointerCapture=function(A){if(this.__mayPointerCapture=null,yf&&+this.__pointerCapturing^+A){this.__pointerCapturing=A;var r=this._globalHandlerScope;A?pF(this,r):Qf(r)}},e}(dt);const yF=BF;var wg=1;Qe.hasGlobalWindow&&(wg=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var jo=wg,Ff=.4,xf="#333",Ef="#ccc",mF="#eee",Cg=Af,_g=5e-5;function Wr(t){return t>_g||t<-_g}var Yr=[],ei=[],Uf=Xn(),Sf=Math.abs,wF=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},t.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},t.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},t.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},t.prototype.needLocalTransform=function(){return Wr(this.rotation)||Wr(this.x)||Wr(this.y)||Wr(this.scaleX-1)||Wr(this.scaleY-1)||Wr(this.skewX)||Wr(this.skewY)},t.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,A=this.needLocalTransform(),r=this.transform;if(!(A||e)){r&&(Cg(r),this.invTransform=null);return}r=r||Xn(),A?this.getLocalTransform(r):Cg(r),e&&(A?Zn(r,e,r):TQ(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)},t.prototype._resolveGlobalScaleRatio=function(e){var A=this.globalScaleRatio;if(A!=null&&A!==1){this.getGlobalScale(Yr);var r=Yr[0]<0?-1:1,n=Yr[1]<0?-1:1,i=((Yr[0]-r)*A+r)/Yr[0]||0,a=((Yr[1]-n)*A+n)/Yr[1]||0;e[0]*=i,e[1]*=i,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||Xn(),Io(this.invTransform,e)},t.prototype.getComputedTransform=function(){for(var e=this,A=[];e;)A.push(e),e=e.parent;for(;e=A.pop();)e.updateTransform();return this.transform},t.prototype.setLocalTransform=function(e){if(e){var A=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(i),A=Math.sqrt(A),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=A,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,A=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||Xn(),Zn(ei,e.invTransform,A),A=ei);var r=this.originX,n=this.originY;(r||n)&&(Uf[4]=r,Uf[5]=n,Zn(ei,A,Uf),ei[4]-=r,ei[5]-=n,A=ei),this.setLocalTransform(A)}},t.prototype.getGlobalScale=function(e){var A=this.transform;return e=e||[],A?(e[0]=Math.sqrt(A[0]*A[0]+A[1]*A[1]),e[1]=Math.sqrt(A[2]*A[2]+A[3]*A[3]),A[0]<0&&(e[0]=-e[0]),A[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},t.prototype.transformCoordToLocal=function(e,A){var r=[e,A],n=this.invTransform;return n&&ZA(r,r,n),r},t.prototype.transformCoordToGlobal=function(e,A){var r=[e,A],n=this.transform;return n&&ZA(r,r,n),r},t.prototype.getLineScale=function(){var e=this.transform;return e&&Sf(e[0]-1)>1e-10&&Sf(e[3]-1)>1e-10?Math.sqrt(Sf(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){CF(this,e)},t.getLocalTransform=function(e,A){A=A||[];var r=e.originX||0,n=e.originY||0,i=e.scaleX,a=e.scaleY,o=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,f=e.y,c=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(r||n||o||s){var v=r+o,d=n+s;A[4]=-v*i-c*d*a,A[5]=-d*a-h*v*i}else A[4]=A[5]=0;return A[0]=i,A[3]=a,A[1]=h*i,A[2]=c*a,l&&rf(A,A,l),A[4]+=r+u,A[5]+=n+f,A},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),ta=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function CF(t,e){for(var A=0;A<ta.length;A++){var r=ta[A];t[r]=e[r]}}const es=wF;var Qg={};function GA(t,e){e=e||Rr;var A=Qg[e];A||(A=Qg[e]=new qi(500));var r=A.get(t);return r==null&&(r=On.measureText(t,e).width,A.put(t,r)),r}function Fg(t,e,A,r){var n=GA(t,e),i=If(e),a=ra(0,n,A),o=Ai(0,i,r),s=new Me(a,o,n,i);return s}function bf(t,e,A,r){var n=((t||"")+"").split(`
15
- `),i=n.length;if(i===1)return Fg(n[0],e,A,r);for(var a=new Me(0,0,0,0),o=0;o<n.length;o++){var s=Fg(n[o],e,A,r);o===0?a.copy(s):a.union(s)}return a}function ra(t,e,A){return A==="right"?t-=e:A==="center"&&(t-=e/2),t}function Ai(t,e,A){return A==="middle"?t-=e/2:A==="bottom"&&(t-=e),t}function If(t){return GA("国",t)}function cr(t,e){return typeof t=="string"?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function As(t,e,A){var r=e.position||"inside",n=e.distance!=null?e.distance:5,i=A.height,a=A.width,o=i/2,s=A.x,l=A.y,u="left",f="top";if(r instanceof Array)s+=cr(r[0],A.width),l+=cr(r[1],A.height),u=null,f=null;else switch(r){case"left":s-=n,l+=o,u="right",f="middle";break;case"right":s+=n+a,l+=o,f="middle";break;case"top":s+=a/2,l-=n,u="center",f="bottom";break;case"bottom":s+=a/2,l+=i+n,u="center";break;case"inside":s+=a/2,l+=o,u="center",f="middle";break;case"insideLeft":s+=n,l+=o,f="middle";break;case"insideRight":s+=a-n,l+=o,u="right",f="middle";break;case"insideTop":s+=a/2,l+=n,u="center";break;case"insideBottom":s+=a/2,l+=i-n,u="center",f="bottom";break;case"insideTopLeft":s+=n,l+=n;break;case"insideTopRight":s+=a-n,l+=n,u="right";break;case"insideBottomLeft":s+=n,l+=i-n,f="bottom";break;case"insideBottomRight":s+=a-n,l+=i-n,u="right",f="bottom";break}return t=t||{},t.x=s,t.y=l,t.align=u,t.verticalAlign=f,t}var Tf="__zr_normal__",Df=ta.concat(["ignore"]),_F=Pn(ta,function(t,e){return t[e]=!0,t},{ignore:!1}),ti={},QF=new Me(0,0,0,0),Lf=function(){function t(e){this.id=xd(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return t.prototype._init=function(e){this.attr(e)},t.prototype.drift=function(e,A,r){switch(this.draggable){case"horizontal":A=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=A,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(e){var A=this._textContent;if(A&&(!A.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=A.innerTransformable,a=void 0,o=void 0,s=!1;i.parent=n?this:null;var l=!1;if(i.copyTransform(A),r.position!=null){var u=QF;r.layoutRect?u.copy(r.layoutRect):u.copy(this.getBoundingRect()),n||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(ti,r,u):As(ti,r,u),i.x=ti.x,i.y=ti.y,a=ti.align,o=ti.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var c=void 0,h=void 0;f==="center"?(c=u.width*.5,h=u.height*.5):(c=cr(f[0],u.width),h=cr(f[1],u.height)),l=!0,i.originX=-i.x+c+(n?0:u.x),i.originY=-i.y+h+(n?0:u.y)}}r.rotation!=null&&(i.rotation=r.rotation);var v=r.offset;v&&(i.x+=v[0],i.y+=v[1],l||(i.originX=-v[0],i.originY=-v[1]));var d=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),p=void 0,B=void 0,y=void 0;d&&this.canBeInsideText()?(p=r.insideFill,B=r.insideStroke,(p==null||p==="auto")&&(p=this.getInsideTextFill()),(B==null||B==="auto")&&(B=this.getInsideTextStroke(p),y=!0)):(p=r.outsideFill,B=r.outsideStroke,(p==null||p==="auto")&&(p=this.getOutsideFill()),(B==null||B==="auto")&&(B=this.getOutsideStroke(p),y=!0)),p=p||"#000",(p!==g.fill||B!==g.stroke||y!==g.autoStroke||a!==g.align||o!==g.verticalAlign)&&(s=!0,g.fill=p,g.stroke=B,g.autoStroke=y,g.align=a,g.verticalAlign=o,A.setDefaultTextStyle(g)),A.__dirty|=VA,s&&A.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(e){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ef:xf},t.prototype.getOutsideStroke=function(e){var A=this.__zr&&this.__zr.getBackgroundColor(),r=typeof A=="string"&&Kt(A);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*n+(i?0:255)*(1-n);return r[3]=1,Go(r,"rgba")},t.prototype.traverse=function(e,A){},t.prototype.attrKV=function(e,A){e==="textConfig"?this.setTextConfig(A):e==="textContent"?this.setTextContent(A):e==="clipPath"?this.setClipPath(A):e==="extra"?(this.extra=this.extra||{},Y(this.extra,A)):this[e]=A},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(e,A){if(typeof e=="string")this.attrKV(e,A);else if(fe(e))for(var r=e,n=Ge(r),i=0;i<n.length;i++){var a=n[i];this.attrKV(a,e[a])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var A=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!(n.getLoop()||i&&i!==Tf)){var a=n.targetName,o=a?A[a]:A;n.saveTo(o)}}},t.prototype._innerSaveToNormal=function(e){var A=this._normalState;A||(A=this._normalState={}),e.textConfig&&!A.textConfig&&(A.textConfig=this.textConfig),this._savePrimaryToNormal(e,A,Df)},t.prototype._savePrimaryToNormal=function(e,A,r){for(var n=0;n<r.length;n++){var i=r[n];e[i]!=null&&!(i in A)&&(A[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(e){return this.states[e]},t.prototype.ensureState=function(e){var A=this.states;return A[e]||(A[e]={}),A[e]},t.prototype.clearStates=function(e){this.useState(Tf,!1,e)},t.prototype.useState=function(e,A,r,n){var i=e===Tf,a=this.hasState();if(!(!a&&i)){var o=this.currentStates,s=this.stateTransition;if(!(Le(o,e)>=0&&(A||o.length===1))){var l;if(this.stateProxy&&!i&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),!l&&!i){Pr("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,A,!r&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,c=this._textGuide;return f&&f.useState(e,A,r,u),c&&c.useState(e,A,r,u),i?(this.currentStates=[],this._normalState={}):A?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~VA),l}}},t.prototype.useStates=function(e,A,r){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,a=e.length,o=a===i.length;if(o){for(var s=0;s<a;s++)if(e[s]!==i[s]){o=!1;break}}if(o)return;for(var s=0;s<a;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&n.push(u)}var f=n[a-1],c=!!(f&&f.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(n),v=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!A&&!this.__inHover&&v&&v.duration>0,v);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,A,c),g&&g.useStates(e,A,c),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~VA)}},t.prototype.isSilent=function(){for(var e=this.silent,A=this.parent;!e&&A;){if(A.silent){e=!0;break}A=A.parent}return e},t.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var A=this.animators[e];A.targetName&&A.changeTarget(this[A.targetName])}},t.prototype.removeState=function(e){var A=Le(this.currentStates,e);if(A>=0){var r=this.currentStates.slice();r.splice(A,1),this.useStates(r)}},t.prototype.replaceState=function(e,A,r){var n=this.currentStates.slice(),i=Le(n,e),a=Le(n,A)>=0;i>=0?a?n.splice(i,1):n[i]=A:r&&!a&&n.push(A),this.useStates(n)},t.prototype.toggleState=function(e,A){A?this.useState(e,!0):this.removeState(e)},t.prototype._mergeStates=function(e){for(var A={},r,n=0;n<e.length;n++){var i=e[n];Y(A,i),i.textConfig&&(r=r||{},Y(r,i.textConfig))}return r&&(A.textConfig=r),A},t.prototype._applyStateObj=function(e,A,r,n,i,a){var o=!(A&&n);A&&A.textConfig?(this.textConfig=Y({},n?this.textConfig:r.textConfig),Y(this.textConfig,A.textConfig)):o&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},l=!1,u=0;u<Df.length;u++){var f=Df[u],c=i&&_F[f];A&&A[f]!=null?c?(l=!0,s[f]=A[f]):this[f]=A[f]:o&&r[f]!=null&&(c?(l=!0,s[f]=r[f]):this[f]=r[f])}if(!i)for(var u=0;u<this.animators.length;u++){var h=this.animators[u],v=h.targetName;h.getLoop()||h.__changeFinalValue(v?(A||r)[v]:A||r)}l&&this._transitionState(e,s,a)},t.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var A=this.__zr;A&&e.addSelfToZr(A),e.__zr=A,e.__hostTarget=this},t.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},t.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(e){var A=this._textContent;if(A!==e){if(A&&A!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new es,this._attachComponent(e),this._textContent=e,this.markRedraw()}},t.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Y(this.textConfig,e),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=VA;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var A=this._textContent,r=this._textGuide;A&&(A.__inHover=e),r&&(r.__inHover=e)},t.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var A=this.animators;if(A)for(var r=0;r<A.length;r++)e.animation.addAnimator(A[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var A=this.animators;if(A)for(var r=0;r<A.length;r++)e.animation.removeAnimator(A[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},t.prototype.animate=function(e,A,r){var n=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!n){Pr('Property "'+e+'" is not existed in element '+this.id);return}var i=new Bf(n,A,r);return e&&(i.targetName=e),this.addAnimator(i,e),i},t.prototype.addAnimator=function(e,A){var r=this.__zr,n=this;e.during(function(){n.updateDuringAnimation(A)}).done(function(){var i=n.animators,a=Le(i,e);a>=0&&i.splice(a,1)}),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(e){this.markRedraw()},t.prototype.stopAnimation=function(e,A){for(var r=this.animators,n=r.length,i=[],a=0;a<n;a++){var o=r[a];!e||e===o.scope?o.stop(A):i.push(o)}return this.animators=i,this},t.prototype.animateTo=function(e,A,r){Mf(this,e,A,r)},t.prototype.animateFrom=function(e,A,r){Mf(this,e,A,r,!0)},t.prototype._transitionState=function(e,A,r,n){for(var i=Mf(this,A,r,n),a=0;a<i.length;a++)i[a].__fromStateTransition=e},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=VA;var A={};function r(i,a,o){A[i+a+o]||(console.warn("DEPRECATED: '"+i+"' has been deprecated. use '"+a+"', '"+o+"' instead"),A[i+a+o]=!0)}function n(i,a,o,s){Object.defineProperty(e,i,{get:function(){if(process.env.NODE_ENV!=="production"&&r(i,o,s),!this[a]){var u=this[a]=[];l(this,u)}return this[a]},set:function(u){process.env.NODE_ENV!=="production"&&r(i,o,s),this[o]=u[0],this[s]=u[1],this[a]=u,l(this,u)}});function l(u,f){Object.defineProperty(f,0,{get:function(){return u[o]},set:function(c){u[o]=c}}),Object.defineProperty(f,1,{get:function(){return u[s]},set:function(c){u[s]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();xt(Lf,dt),xt(Lf,es);function Mf(t,e,A,r,n){A=A||{};var i=[];xg(t,"",t,e,A,r,i,n);var a=i.length,o=!1,s=A.done,l=A.aborted,u=function(){o=!0,a--,a<=0&&(o?s&&s():l&&l())},f=function(){a--,a<=0&&(o?s&&s():l&&l())};a||s&&s(),i.length>0&&A.during&&i[0].during(function(v,d){A.during(d)});for(var c=0;c<i.length;c++){var h=i[c];u&&h.done(u),f&&h.aborted(f),A.force&&h.duration(A.duration),h.start(A.easing)}return i}function Hf(t,e,A){for(var r=0;r<A;r++)t[r]=e[r]}function FF(t){return DA(t[0])}function xF(t,e,A){if(DA(e[A]))if(DA(t[A])||(t[A]=[]),xA(e[A])){var r=e[A].length;t[A].length!==r&&(t[A]=new e[A].constructor(r),Hf(t[A],e[A],r))}else{var n=e[A],i=t[A],a=n.length;if(FF(n))for(var o=n[0].length,s=0;s<a;s++)i[s]?Hf(i[s],n[s],o):i[s]=Array.prototype.slice.call(n[s]);else Hf(i,n,a);i.length=n.length}else t[A]=e[A]}function EF(t,e){return t===e||DA(t)&&DA(e)&&UF(t,e)}function UF(t,e){var A=t.length;if(A!==e.length)return!1;for(var r=0;r<A;r++)if(t[r]!==e[r])return!1;return!0}function xg(t,e,A,r,n,i,a,o){for(var s=Ge(r),l=n.duration,u=n.delay,f=n.additive,c=n.setToFinal,h=!fe(i),v=t.animators,d=[],g=0;g<s.length;g++){var p=s[g],B=r[p];if(B!=null&&A[p]!=null&&(h||i[p]))if(fe(B)&&!DA(B)&&!So(B)){if(e){o||(A[p]=B,t.updateDuringAnimation(e));continue}xg(t,p,A[p],B,n,i&&i[p],a,o)}else d.push(p);else o||(A[p]=B,t.updateDuringAnimation(e),d.push(p))}var y=d.length;if(!f&&y)for(var m=0;m<v.length;m++){var _=v[m];if(_.targetName===e){var C=_.stopTracks(d);if(C){var Q=Le(v,_);v.splice(Q,1)}}}if(n.force||(d=tA(d,function(x){return!EF(r[x],A[x])}),y=d.length),y>0||n.force&&!a.length){var F=void 0,E=void 0,U=void 0;if(o){E={},c&&(F={});for(var m=0;m<y;m++){var p=d[m];E[p]=A[p],c?F[p]=r[p]:A[p]=r[p]}}else if(c){U={};for(var m=0;m<y;m++){var p=d[m];U[p]=Yo(A[p]),xF(A,r,p)}}var _=new Bf(A,!1,!1,f?tA(v,function(b){return b.targetName===e}):null);_.targetName=e,n.scope&&(_.scope=n.scope),c&&F&&_.whenWithKeys(0,F,d),U&&_.whenWithKeys(0,U,d),_.whenWithKeys(l??500,o?E:r,d).delay(u||0),t.addAnimator(_,e),a.push(_)}}const Eg=Lf;var Ug=function(t){Z(e,t);function e(A){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(A),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(A){return this._children[A]},e.prototype.childOfName=function(A){for(var r=this._children,n=0;n<r.length;n++)if(r[n].name===A)return r[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(A){if(A&&(A!==this&&A.parent!==this&&(this._children.push(A),this._doAdd(A)),process.env.NODE_ENV!=="production"&&A.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(A,r){if(A&&A!==this&&A.parent!==this&&r&&r.parent===this){var n=this._children,i=n.indexOf(r);i>=0&&(n.splice(i,0,A),this._doAdd(A))}return this},e.prototype.replace=function(A,r){var n=Le(this._children,A);return n>=0&&this.replaceAt(r,n),this},e.prototype.replaceAt=function(A,r){var n=this._children,i=n[r];if(A&&A!==this&&A.parent!==this&&A!==i){n[r]=A,i.parent=null;var a=this.__zr;a&&i.removeSelfFromZr(a),this._doAdd(A)}return this},e.prototype._doAdd=function(A){A.parent&&A.parent.remove(A),A.parent=this;var r=this.__zr;r&&r!==A.__zr&&A.addSelfToZr(r),r&&r.refresh()},e.prototype.remove=function(A){var r=this.__zr,n=this._children,i=Le(n,A);return i<0?this:(n.splice(i,1),A.parent=null,r&&A.removeSelfFromZr(r),r&&r.refresh(),this)},e.prototype.removeAll=function(){for(var A=this._children,r=this.__zr,n=0;n<A.length;n++){var i=A[n];r&&i.removeSelfFromZr(r),i.parent=null}return A.length=0,this},e.prototype.eachChild=function(A,r){for(var n=this._children,i=0;i<n.length;i++){var a=n[i];A.call(r,a,i)}return this},e.prototype.traverse=function(A,r){for(var n=0;n<this._children.length;n++){var i=this._children[n],a=A.call(r,i);i.isGroup&&!a&&i.traverse(A,r)}return this},e.prototype.addSelfToZr=function(A){t.prototype.addSelfToZr.call(this,A);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.addSelfToZr(A)}},e.prototype.removeSelfFromZr=function(A){t.prototype.removeSelfFromZr.call(this,A);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.removeSelfFromZr(A)}},e.prototype.getBoundingRect=function(A){for(var r=new Me(0,0,0,0),n=A||this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o];if(!(s.ignore||s.invisible)){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(Me.applyTransform(r,l,u),a=a||r.clone(),a.union(r)):(a=a||l.clone(),a.union(l))}}return a||r},e}(Eg);Ug.prototype.type="group";const sA=Ug;/*!
14
+ ***************************************************************************** */var Qf=function(A,e){return Qf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Qf(A,e)};function X(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Qf(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var K1=(function(){function A(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return A})(),G1=(function(){function A(){this.browser=new K1,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=typeof window<"u"}return A})(),_e=new G1;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(_e.wxa=!0,_e.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?_e.worker=!0:!_e.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(_e.node=!0,_e.svgSupported=!0):z1(navigator.userAgent,_e);function z1(A,e){var t=e.browser,r=A.match(/Firefox\/([\d.]+)/),n=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),i=A.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(A);r&&(t.firefox=!0,t.version=r[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),a&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11);var o=e.domSupported=typeof document<"u";if(o){var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}}var xf=12,W1="sans-serif",yr=xf+"px "+W1,Y1=20,X1=100,Z1="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function J1(A){var e={};if(typeof JSON>"u")return e;for(var t=0;t<A.length;t++){var r=String.fromCharCode(t+32),n=(A.charCodeAt(t)-Y1)/X1;e[r]=n}return e}var q1=J1(Z1),Ar={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var A,e;return function(t,r){if(!A){var n=Ar.createCanvas();A=n&&n.getContext("2d")}if(A)return e!==r&&(e=A.font=r||yr),A.measureText(t);t=t||"",r=r||yr;var i=/((?:\d+)?\.?\d*)px/.exec(r),a=i&&+i[1]||xf,o=0;if(r.indexOf("mono")>=0)o=a*t.length;else for(var s=0;s<t.length;s++){var l=q1[t[s]];o+=l==null?a:l*a}return{width:o}}})(),loadImage:function(A,e,t){var r=new Image;return r.onload=e,r.onerror=t,r.src=A,r}},bp=Ai(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(A,e){return A["[object "+e+"]"]=!0,A},{}),Sp=Ai(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(A,e){return A["[object "+e+"Array]"]=!0,A},{}),ti=Object.prototype.toString,$o=Array.prototype,$1=$o.forEach,j1=$o.filter,Ff=$o.slice,ex=$o.map,Up=(function(){}).constructor,jo=Up?Up.prototype:null,Ef="__proto__",tx=2311;function Ip(){return tx++}function nn(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];typeof console<"u"&&console.error.apply(console,A)}function Se(A){if(A==null||typeof A!="object")return A;var e=A,t=ti.call(A);if(t==="[object Array]"){if(!va(A)){e=[];for(var r=0,n=A.length;r<n;r++)e[r]=Se(A[r])}}else if(Sp[t]){if(!va(A)){var i=A.constructor;if(i.from)e=i.from(A);else{e=new i(A.length);for(var r=0,n=A.length;r<n;r++)e[r]=A[r]}}}else if(!bp[t]&&!va(A)&&!ri(A)){e={};for(var a in A)A.hasOwnProperty(a)&&a!==Ef&&(e[a]=Se(A[a]))}return e}function Me(A,e,t){if(!ve(e)||!ve(A))return t?Se(e):A;for(var r in e)if(e.hasOwnProperty(r)&&r!==Ef){var n=A[r],i=e[r];ve(i)&&ve(n)&&!ie(i)&&!ie(n)&&!ri(i)&&!ri(n)&&!Tp(i)&&!Tp(n)&&!va(i)&&!va(n)?Me(n,i,t):(t||!(r in A))&&(A[r]=Se(e[r]))}return A}function W(A,e){if(Object.assign)Object.assign(A,e);else for(var t in e)e.hasOwnProperty(t)&&t!==Ef&&(A[t]=e[t]);return A}function Oe(A,e,t){for(var r=Ye(e),n=0,i=r.length;n<i;n++){var a=r[n];A[a]==null&&(A[a]=e[a])}return A}function Ie(A,e){if(A){if(A.indexOf)return A.indexOf(e);for(var t=0,r=A.length;t<r;t++)if(A[t]===e)return t}return-1}function Ax(A,e){var t=A.prototype;function r(){}r.prototype=e.prototype,A.prototype=new r;for(var n in t)t.hasOwnProperty(n)&&(A.prototype[n]=t[n]);A.prototype.constructor=A,A.superClass=e}function DA(A,e,t){if(A="prototype"in A?A.prototype:A,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=r[n];i!=="constructor"&&A[i]==null&&(A[i]=e[i])}else Oe(A,e)}function Pt(A){return!A||typeof A=="string"?!1:typeof A.length=="number"}function b(A,e,t){if(A&&e)if(A.forEach&&A.forEach===$1)A.forEach(e,t);else if(A.length===+A.length)for(var r=0,n=A.length;r<n;r++)e.call(t,A[r],r,A);else for(var i in A)A.hasOwnProperty(i)&&e.call(t,A[i],i,A)}function Be(A,e,t){if(!A)return[];if(!e)return bf(A);if(A.map&&A.map===ex)return A.map(e,t);for(var r=[],n=0,i=A.length;n<i;n++)r.push(e.call(t,A[n],n,A));return r}function Ai(A,e,t,r){if(A&&e){for(var n=0,i=A.length;n<i;n++)t=e.call(r,t,A[n],n,A);return t}}function rt(A,e,t){if(!A)return[];if(!e)return bf(A);if(A.filter&&A.filter===j1)return A.filter(e,t);for(var r=[],n=0,i=A.length;n<i;n++)e.call(t,A[n],n,A)&&r.push(A[n]);return r}function rx(A,e,t){if(A&&e){for(var r=0,n=A.length;r<n;r++)if(e.call(t,A[r],r,A))return A[r]}}function Ye(A){if(!A)return[];if(Object.keys)return Object.keys(A);var e=[];for(var t in A)A.hasOwnProperty(t)&&e.push(t);return e}function nx(A,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return function(){return A.apply(e,t.concat(Ff.call(arguments)))}}var ye=jo&&me(jo.bind)?jo.call.bind(jo.bind):nx;function nt(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return function(){return A.apply(this,e.concat(Ff.call(arguments)))}}function ie(A){return Array.isArray?Array.isArray(A):ti.call(A)==="[object Array]"}function me(A){return typeof A=="function"}function ue(A){return typeof A=="string"}function es(A){return ti.call(A)==="[object String]"}function We(A){return typeof A=="number"}function ve(A){var e=typeof A;return e==="function"||!!A&&e==="object"}function Tp(A){return!!bp[ti.call(A)]}function It(A){return!!Sp[ti.call(A)]}function ri(A){return typeof A=="object"&&typeof A.nodeType=="number"&&typeof A.ownerDocument=="object"}function ts(A){return A.colorStops!=null}function ix(A){return A.image!=null}function ax(A){return ti.call(A)==="[object RegExp]"}function ni(A){return A!==A}function ii(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];for(var t=0,r=A.length;t<r;t++)if(A[t]!=null)return A[t]}function de(A,e){return A??e}function wr(A,e,t){return A??e??t}function bf(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Ff.apply(A,e)}function Sf(A){if(typeof A=="number")return[A,A,A,A];var e=A.length;return e===2?[A[0],A[1],A[0],A[1]]:e===3?[A[0],A[1],A[2],A[1]]:A}function ce(A,e){if(!A)throw new Error(e)}function LA(A){return A==null?null:typeof A.trim=="function"?A.trim():A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Dp="__ec_primitive__";function Uf(A){A[Dp]=!0}function va(A){return A[Dp]}var ox=(function(){function A(){this.data={}}return A.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},A.prototype.has=function(e){return this.data.hasOwnProperty(e)},A.prototype.get=function(e){return this.data[e]},A.prototype.set=function(e,t){return this.data[e]=t,this},A.prototype.keys=function(){return Ye(this.data)},A.prototype.forEach=function(e){var t=this.data;for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)},A})(),Lp=typeof Map=="function";function sx(){return Lp?new Map:new ox}var lx=(function(){function A(e){var t=ie(e);this.data=sx();var r=this;e instanceof A?e.each(n):e&&b(e,n);function n(i,a){t?r.set(i,a):r.set(a,i)}}return A.prototype.hasKey=function(e){return this.data.has(e)},A.prototype.get=function(e){return this.data.get(e)},A.prototype.set=function(e,t){return this.data.set(e,t),t},A.prototype.each=function(e,t){this.data.forEach(function(r,n){e.call(t,r,n)})},A.prototype.keys=function(){var e=this.data.keys();return Lp?Array.from(e):e},A.prototype.removeKey=function(e){this.data.delete(e)},A})();function we(A){return new lx(A)}function ux(A,e){for(var t=new A.constructor(A.length+e.length),r=0;r<A.length;r++)t[r]=A[r];for(var n=A.length,r=0;r<e.length;r++)t[r+n]=e[r];return t}function As(A,e){var t;if(Object.create)t=Object.create(A);else{var r=function(){};r.prototype=A,t=new r}return e&&W(t,e),t}function Mp(A){var e=A.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function mA(A,e){return A.hasOwnProperty(e)}function Tt(){}var fx=180/Math.PI;function ai(A,e){return A==null&&(A=0),e==null&&(e=0),[A,e]}function cx(A){return[A[0],A[1]]}function Hp(A,e,t){return A[0]=e[0]+t[0],A[1]=e[1]+t[1],A}function hx(A,e,t){return A[0]=e[0]-t[0],A[1]=e[1]-t[1],A}function vx(A){return Math.sqrt(dx(A))}function dx(A){return A[0]*A[0]+A[1]*A[1]}function If(A,e,t){return A[0]=e[0]*t,A[1]=e[1]*t,A}function px(A,e){var t=vx(e);return t===0?(A[0]=0,A[1]=0):(A[0]=e[0]/t,A[1]=e[1]/t),A}function Tf(A,e){return Math.sqrt((A[0]-e[0])*(A[0]-e[0])+(A[1]-e[1])*(A[1]-e[1]))}var Df=Tf;function gx(A,e){return(A[0]-e[0])*(A[0]-e[0])+(A[1]-e[1])*(A[1]-e[1])}var oi=gx;function Lf(A,e,t,r){return A[0]=e[0]+r*(t[0]-e[0]),A[1]=e[1]+r*(t[1]-e[1]),A}function tA(A,e,t){var r=e[0],n=e[1];return A[0]=t[0]*r+t[2]*n+t[4],A[1]=t[1]*r+t[3]*n+t[5],A}function si(A,e,t){return A[0]=Math.min(e[0],t[0]),A[1]=Math.min(e[1],t[1]),A}function li(A,e,t){return A[0]=Math.max(e[0],t[0]),A[1]=Math.max(e[1],t[1]),A}var ui=(function(){function A(e,t){this.target=e,this.topTarget=t&&t.topTarget}return A})(),Bx=(function(){function A(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return A.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new ui(t,e),"dragstart",e.event))},A.prototype._drag=function(e){var t=this._draggingTarget;if(t){var r=e.offsetX,n=e.offsetY,i=r-this._x,a=n-this._y;this._x=r,this._y=n,t.drift(i,a,e),this.handler.dispatchToElement(new ui(t,e),"drag",e.event);var o=this.handler.findHover(r,n,t).target,s=this._dropTarget;this._dropTarget=o,t!==o&&(s&&o!==s&&this.handler.dispatchToElement(new ui(s,e),"dragleave",e.event),o&&o!==s&&this.handler.dispatchToElement(new ui(o,e),"dragenter",e.event))}},A.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new ui(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new ui(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},A})(),yA=(function(){function A(e){e&&(this._$eventProcessor=e)}return A.prototype.on=function(e,t,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t=="function"&&(n=r,r=t,t=null),!r||!e)return this;var a=this._$eventProcessor;t!=null&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),i[e]||(i[e]=[]);for(var o=0;o<i[e].length;o++)if(i[e][o].h===r)return this;var s={h:r,query:t,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},A.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},A.prototype.off=function(e,t){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(t){if(r[e]){for(var n=[],i=0,a=r[e].length;i<a;i++)r[e][i].h!==t&&n.push(r[e][i]);r[e]=n}r[e]&&r[e].length===0&&delete r[e]}else delete r[e];return this},A.prototype.trigger=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=t.length,o=n.length,s=0;s<o;s++){var l=n[s];if(!(i&&i.filter&&l.query!=null&&!i.filter(e,l.query)))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},A.prototype.triggerWithContext=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=t.length,o=t[a-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(e,u.query)))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,t[0]);break;case 2:u.h.call(o,t[0],t[1]);break;default:u.h.apply(o,t.slice(1,a-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},A})(),mx=Math.log(2);function Mf(A,e,t,r,n,i){var a=r+"-"+n,o=A.length;if(i.hasOwnProperty(a))return i[a];if(e===1){var s=Math.round(Math.log((1<<o)-1&~n)/mx);return A[t][s]}for(var l=r|1<<t,u=t+1;r&1<<u;)u++;for(var f=0,c=0,h=0;c<o;c++){var v=1<<c;v&n||(f+=(h%2?-1:1)*A[t][c]*Mf(A,e-1,u,l,n|v,i),h++)}return i[a]=f,f}function Op(A,e){var t=[[A[0],A[1],1,0,0,0,-e[0]*A[0],-e[0]*A[1]],[0,0,0,A[0],A[1],1,-e[1]*A[0],-e[1]*A[1]],[A[2],A[3],1,0,0,0,-e[2]*A[2],-e[2]*A[3]],[0,0,0,A[2],A[3],1,-e[3]*A[2],-e[3]*A[3]],[A[4],A[5],1,0,0,0,-e[4]*A[4],-e[4]*A[5]],[0,0,0,A[4],A[5],1,-e[5]*A[4],-e[5]*A[5]],[A[6],A[7],1,0,0,0,-e[6]*A[6],-e[6]*A[7]],[0,0,0,A[6],A[7],1,-e[7]*A[6],-e[7]*A[7]]],r={},n=Mf(t,8,0,0,0,r);if(n!==0){for(var i=[],a=0;a<8;a++)for(var o=0;o<8;o++)i[o]==null&&(i[o]=0),i[o]+=((a+o)%2?-1:1)*Mf(t,7,a===0?1:0,1<<a,1<<o,r)/n*e[a];return function(s,l,u){var f=l*i[6]+u*i[7]+1;s[0]=(l*i[0]+u*i[1]+i[2])/f,s[1]=(l*i[3]+u*i[4]+i[5])/f}}}var rs="___zrEVENTSAVED",Hf=[];function yx(A,e,t,r,n){return Of(Hf,e,r,n,!0)&&Of(A,t,Hf[0],Hf[1])}function Cx(A,e){A&&t(A),e&&t(e);function t(r){var n=r[rs];n&&(n.clearMarkers&&n.clearMarkers(),delete r[rs])}}function Of(A,e,t,r,n){if(e.getBoundingClientRect&&_e.domSupported&&!Rp(e)){var i=e[rs]||(e[rs]={}),a=_x(e,i),o=Qx(a,i,n);if(o)return o(A,t,r),!0}return!1}function _x(A,e){var t=e.markers;if(t)return t;t=e.markers=[];for(var r=["left","right"],n=["top","bottom"],i=0;i<4;i++){var a=document.createElement("div"),o=a.style,s=i%2,l=(i>>1)%2;o.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",n[l]+":0",r[1-s]+":auto",n[1-l]+":auto",""].join("!important;"),A.appendChild(a),t.push(a)}return e.clearMarkers=function(){b(t,function(u){u.parentNode&&u.parentNode.removeChild(u)})},t}function Qx(A,e,t){for(var r=t?"invTrans":"trans",n=e[r],i=e.srcCoords,a=[],o=[],s=!0,l=0;l<4;l++){var u=A[l].getBoundingClientRect(),f=2*l,c=u.left,h=u.top;a.push(c,h),s=s&&i&&c===i[f]&&h===i[f+1],o.push(A[l].offsetLeft,A[l].offsetTop)}return s&&n?n:(e.srcCoords=a,e[r]=t?Op(o,a):Op(a,o))}function Rp(A){return A.nodeName.toUpperCase()==="CANVAS"}var xx=/([&<>"'])/g,Fx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function kt(A){return A==null?"":(A+"").replace(xx,function(e,t){return Fx[t]})}var Ex=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Rf=[],bx=_e.browser.firefox&&+_e.browser.version.split(".")[0]<39;function Nf(A,e,t,r){return t=t||{},r?Np(A,e,t):bx&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):Np(A,e,t),t}function Np(A,e,t){if(_e.domSupported&&A.getBoundingClientRect){var r=e.clientX,n=e.clientY;if(Rp(A)){var i=A.getBoundingClientRect();t.zrX=r-i.left,t.zrY=n-i.top;return}else if(Of(Rf,A,r,n)){t.zrX=Rf[0],t.zrY=Rf[1];return}}t.zrX=t.zrY=0}function Pf(A){return A||window.event}function AA(A,e,t){if(e=Pf(e),e.zrX!=null)return e;var r=e.type,n=r&&r.indexOf("touch")>=0;if(n){var a=r!=="touchend"?e.targetTouches[0]:e.changedTouches[0];a&&Nf(A,a,e,t)}else{Nf(A,e,e,t);var i=Sx(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var o=e.button;return e.which==null&&o!==void 0&&Ex.test(e.type)&&(e.which=o&1?1:o&2?3:o&4?2:0),e}function Sx(A){var e=A.wheelDelta;if(e)return e;var t=A.deltaX,r=A.deltaY;if(t==null||r==null)return e;var n=Math.abs(r!==0?r:t),i=r>0?-1:r<0?1:t>0?-1:1;return 3*n*i}function Ux(A,e,t,r){A.addEventListener(e,t,r)}function Ix(A,e,t,r){A.removeEventListener(e,t,r)}var fi=function(A){A.preventDefault(),A.stopPropagation(),A.cancelBubble=!0};function Pp(A){return A.which===2||A.which===3}var Tx=(function(){function A(){this._track=[]}return A.prototype.recognize=function(e,t,r){return this._doTrack(e,t,r),this._recognize(e)},A.prototype.clear=function(){return this._track.length=0,this},A.prototype._doTrack=function(e,t,r){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},a=0,o=n.length;a<o;a++){var s=n[a],l=Nf(r,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},A.prototype._recognize=function(e){for(var t in kf)if(kf.hasOwnProperty(t)){var r=kf[t](this._track,e);if(r)return r}},A})();function kp(A){var e=A[1][0]-A[0][0],t=A[1][1]-A[0][1];return Math.sqrt(e*e+t*t)}function Dx(A){return[(A[0][0]+A[1][0])/2,(A[0][1]+A[1][1])/2]}var kf={pinch:function(A,e){var t=A.length;if(t){var r=(A[t-1]||{}).points,n=(A[t-2]||{}).points||r;if(n&&n.length>1&&r&&r.length>1){var i=kp(r)/kp(n);!isFinite(i)&&(i=1),e.pinchScale=i;var a=Dx(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:A[0].target,event:e}}}}};function rr(){return[1,0,0,1,0,0]}function Vf(A){return A[0]=1,A[1]=0,A[2]=0,A[3]=1,A[4]=0,A[5]=0,A}function Vp(A,e){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A[4]=e[4],A[5]=e[5],A}function da(A,e,t){var r=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],a=e[1]*t[2]+e[3]*t[3],o=e[0]*t[4]+e[2]*t[5]+e[4],s=e[1]*t[4]+e[3]*t[5]+e[5];return A[0]=r,A[1]=n,A[2]=i,A[3]=a,A[4]=o,A[5]=s,A}function Kf(A,e,t){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A[4]=e[4]+t[0],A[5]=e[5]+t[1],A}function Gf(A,e,t,r){r===void 0&&(r=[0,0]);var n=e[0],i=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(t),f=Math.cos(t);return A[0]=n*f+o*u,A[1]=-n*u+o*f,A[2]=i*f+s*u,A[3]=-i*u+f*s,A[4]=f*(a-r[0])+u*(l-r[1])+r[0],A[5]=f*(l-r[1])-u*(a-r[0])+r[1],A}function Lx(A,e,t){var r=t[0],n=t[1];return A[0]=e[0]*r,A[1]=e[1]*n,A[2]=e[2]*r,A[3]=e[3]*n,A[4]=e[4]*r,A[5]=e[5]*n,A}function ci(A,e){var t=e[0],r=e[2],n=e[4],i=e[1],a=e[3],o=e[5],s=t*a-i*r;return s?(s=1/s,A[0]=a*s,A[1]=-i*s,A[2]=-r*s,A[3]=t*s,A[4]=(r*o-a*n)*s,A[5]=(i*n-t*o)*s,A):null}var be=(function(){function A(e,t){this.x=e||0,this.y=t||0}return A.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},A.prototype.clone=function(){return new A(this.x,this.y)},A.prototype.set=function(e,t){return this.x=e,this.y=t,this},A.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},A.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},A.prototype.scale=function(e){this.x*=e,this.y*=e},A.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},A.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},A.prototype.dot=function(e){return this.x*e.x+this.y*e.y},A.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},A.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},A.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},A.prototype.distance=function(e){var t=this.x-e.x,r=this.y-e.y;return Math.sqrt(t*t+r*r)},A.prototype.distanceSquare=function(e){var t=this.x-e.x,r=this.y-e.y;return t*t+r*r},A.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},A.prototype.transform=function(e){if(e){var t=this.x,r=this.y;return this.x=e[0]*t+e[2]*r+e[4],this.y=e[1]*t+e[3]*r+e[5],this}},A.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},A.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},A.set=function(e,t,r){e.x=t,e.y=r},A.copy=function(e,t){e.x=t.x,e.y=t.y},A.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},A.lenSquare=function(e){return e.x*e.x+e.y*e.y},A.dot=function(e,t){return e.x*t.x+e.y*t.y},A.add=function(e,t,r){e.x=t.x+r.x,e.y=t.y+r.y},A.sub=function(e,t,r){e.x=t.x-r.x,e.y=t.y-r.y},A.scale=function(e,t,r){e.x=t.x*r,e.y=t.y*r},A.scaleAndAdd=function(e,t,r,n){e.x=t.x+r.x*n,e.y=t.y+r.y*n},A.lerp=function(e,t,r,n){var i=1-n;e.x=i*t.x+n*r.x,e.y=i*t.y+n*r.y},A})(),an=Math.min,hi=Math.max,zf=Math.abs,Kp=["x","y"],Mx=["width","height"],on=new be,sn=new be,ln=new be,un=new be,Yt=zp(),pa=Yt.minTv,Wf=Yt.maxTv,ga=[0,0],Fe=(function(){function A(e,t,r,n){A.set(this,e,t,r,n)}return A.set=function(e,t,r,n,i){return n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),e.x=t,e.y=r,e.width=n,e.height=i,e},A.prototype.union=function(e){var t=an(e.x,this.x),r=an(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=hi(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=hi(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=t,this.y=r},A.prototype.applyTransform=function(e){A.applyTransform(this,this,e)},A.prototype.calculateTransform=function(e){var t=this,r=e.width/t.width,n=e.height/t.height,i=rr();return Kf(i,i,[-t.x,-t.y]),Lx(i,i,[r,n]),Kf(i,i,[e.x,e.y]),i},A.prototype.intersect=function(e,t,r){return A.intersect(this,e,t,r)},A.intersect=function(e,t,r,n){r&&be.set(r,0,0);var i=n&&n.outIntersectRect||null,a=n&&n.clamp;if(i&&(i.x=i.y=i.width=i.height=NaN),!e||!t)return!1;e instanceof A||(e=A.set(Hx,e.x,e.y,e.width,e.height)),t instanceof A||(t=A.set(Ox,t.x,t.y,t.width,t.height));var o=!!r;Yt.reset(n,o);var s=Yt.touchThreshold,l=e.x+s,u=e.x+e.width-s,f=e.y+s,c=e.y+e.height-s,h=t.x+s,v=t.x+t.width-s,d=t.y+s,g=t.y+t.height-s;if(l>u||f>c||h>v||d>g)return!1;var p=!(u<h||v<l||c<d||g<f);return(o||i)&&(ga[0]=1/0,ga[1]=0,Gp(l,u,h,v,0,o,i,a),Gp(f,c,d,g,1,o,i,a),o&&be.copy(r,p?Yt.useDir?Yt.dirMinTv:pa:Wf)),p},A.contain=function(e,t,r){return t>=e.x&&t<=e.x+e.width&&r>=e.y&&r<=e.y+e.height},A.prototype.contain=function(e,t){return A.contain(this,e,t)},A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height)},A.prototype.copy=function(e){A.copy(this,e)},A.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},A.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},A.prototype.isZero=function(){return this.width===0||this.height===0},A.create=function(e){return new A(e.x,e.y,e.width,e.height)},A.copy=function(e,t){return e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e},A.applyTransform=function(e,t,r){if(!r){e!==t&&A.copy(e,t);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],i=r[3],a=r[4],o=r[5];e.x=t.x*n+a,e.y=t.y*i+o,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}on.x=ln.x=t.x,on.y=un.y=t.y,sn.x=un.x=t.x+t.width,sn.y=ln.y=t.y+t.height,on.transform(r),un.transform(r),sn.transform(r),ln.transform(r),e.x=an(on.x,sn.x,ln.x,un.x),e.y=an(on.y,sn.y,ln.y,un.y);var s=hi(on.x,sn.x,ln.x,un.x),l=hi(on.y,sn.y,ln.y,un.y);e.width=s-e.x,e.height=l-e.y},A})(),Hx=new Fe(0,0,0,0),Ox=new Fe(0,0,0,0);function Gp(A,e,t,r,n,i,a,o){var s=zf(e-t),l=zf(r-A),u=an(s,l),f=Kp[n],c=Kp[1-n],h=Mx[n];e<t||r<A?s<l?(i&&(Wf[f]=-s),o&&(a[f]=e,a[h]=0)):(i&&(Wf[f]=l),o&&(a[f]=A,a[h]=0)):(a&&(a[f]=hi(A,t),a[h]=an(e,r)-a[f]),i&&(u<ga[0]||Yt.useDir)&&(ga[0]=an(u,ga[0]),(s<l||!Yt.bidirectional)&&(pa[f]=s,pa[c]=0,Yt.useDir&&Yt.calcDirMTV()),(s>=l||!Yt.bidirectional)&&(pa[f]=-l,pa[c]=0,Yt.useDir&&Yt.calcDirMTV())))}function zp(){var A=0,e=new be,t=new be,r={minTv:new be,maxTv:new be,useDir:!1,dirMinTv:new be,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,a){r.touchThreshold=0,i&&i.touchThreshold!=null&&(r.touchThreshold=hi(0,i.touchThreshold)),r.negativeSize=!1,a&&(r.minTv.set(1/0,1/0),r.maxTv.set(0,0),r.useDir=!1,i&&i.direction!=null&&(r.useDir=!0,r.dirMinTv.copy(r.minTv),t.copy(r.minTv),A=i.direction,r.bidirectional=i.bidirectional==null||!!i.bidirectional,r.bidirectional||e.set(Math.cos(A),Math.sin(A))))},calcDirMTV:function(){var i=r.minTv,a=r.dirMinTv,o=i.y*i.y+i.x*i.x,s=Math.sin(A),l=Math.cos(A),u=s*i.y+l*i.x;if(n(u)){n(i.x)&&n(i.y)&&a.set(0,0);return}if(t.x=o*l/u,t.y=o*s/u,n(t.x)&&n(t.y)){a.set(0,0);return}(r.bidirectional||e.dot(t)>0)&&t.len()<a.len()&&a.copy(t)}};function n(i){return zf(i)<1e-10}return r}var Wp="silent";function Rx(A,e,t){return{type:A,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:Nx}}function Nx(){fi(this.event)}var Px=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e})(yA),Ba=(function(){function A(e,t){this.x=e,this.y=t}return A})(),kx=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Yf=new Fe(0,0,0,0),Yp=(function(A){X(e,A);function e(t,r,n,i,a){var o=A.call(this)||this;return o._hovered=new Ba(0,0),o.storage=t,o.painter=r,o.painterRoot=i,o._pointerSize=a,n=n||new Px,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new Bx(o),o}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(b(kx,function(r){t.on&&t.on(r,this[r],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var r=t.zrX,n=t.zrY,i=Zp(this,r,n),a=this._hovered,o=a.target;o&&!o.__zr&&(a=this.findHover(a.x,a.y),o=a.target);var s=this._hovered=i?new Ba(r,n):this.findHover(r,n),l=s.target,u=this.proxy;u.setCursor&&u.setCursor(l?l.cursor:"default"),o&&l!==o&&this.dispatchToElement(a,"mouseout",t),this.dispatchToElement(s,"mousemove",t),l&&l!==o&&this.dispatchToElement(s,"mouseover",t)},e.prototype.mouseout=function(t){var r=t.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Ba(0,0)},e.prototype.dispatch=function(t,r){var n=this[t];n&&n.call(this,r)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var r=this.proxy;r.setCursor&&r.setCursor(t)},e.prototype.dispatchToElement=function(t,r,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var a="on"+r,o=Rx(r,t,n);i&&(i[a]&&(o.cancelBubble=!!i[a].call(i,o)),i.trigger(r,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(r,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[a]=="function"&&s[a].call(s,o),s.trigger&&s.trigger(r,o)}))}},e.prototype.findHover=function(t,r,n){var i=this.storage.getDisplayList(),a=new Ba(t,r);if(Xp(i,a,t,r,n),this._pointerSize&&!a.target){for(var o=[],s=this._pointerSize,l=s/2,u=new Fe(t-l,r-l,s,s),f=i.length-1;f>=0;f--){var c=i[f];c!==n&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(Yf.copy(c.getBoundingRect()),c.transform&&Yf.applyTransform(c.transform),Yf.intersect(u)&&o.push(c))}if(o.length)for(var h=4,v=Math.PI/12,d=Math.PI*2,g=0;g<l;g+=h)for(var p=0;p<d;p+=v){var B=t+g*Math.cos(p),m=r+g*Math.sin(p);if(Xp(o,a,B,m,n),a.target)return a}}return a},e.prototype.processGesture=function(t,r){this._gestureMgr||(this._gestureMgr=new Tx);var n=this._gestureMgr;r==="start"&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if(r==="end"&&n.clear(),i){var a=i.type;t.gestureEvent=a;var o=new Ba;o.target=i.target,this.dispatchToElement(o,a,i.event)}},e})(yA);b(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(A){Yp.prototype[A]=function(e){var t=e.zrX,r=e.zrY,n=Zp(this,t,r),i,a;if((A!=="mouseup"||!n)&&(i=this.findHover(t,r),a=i.target),A==="mousedown")this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if(A==="mouseup")this._upEl=a;else if(A==="click"){if(this._downEl!==this._upEl||!this._downPoint||Df(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,A,e)}});function Vx(A,e,t){if(A[A.rectHover?"rectContain":"contain"](e,t)){for(var r=A,n=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var a=r.getClipPath();if(a&&!a.contain(e,t))return!1}r.silent&&(n=!0);var o=r.__hostTarget;r=o?r.ignoreHostSilent?null:o:r.parent}return n?Wp:!0}return!1}function Xp(A,e,t,r,n){for(var i=A.length-1;i>=0;i--){var a=A[i],o=void 0;if(a!==n&&!a.ignore&&(o=Vx(a,t,r))&&(!e.topTarget&&(e.topTarget=a),o!==Wp)){e.target=a;break}}}function Zp(A,e,t){var r=A.painter;return e<0||e>r.getWidth()||t<0||t>r.getHeight()}var Jp=32,ma=7;function Kx(A){for(var e=0;A>=Jp;)e|=A&1,A>>=1;return A+e}function qp(A,e,t,r){var n=e+1;if(n===t)return 1;if(r(A[n++],A[e])<0){for(;n<t&&r(A[n],A[n-1])<0;)n++;Gx(A,e,n)}else for(;n<t&&r(A[n],A[n-1])>=0;)n++;return n-e}function Gx(A,e,t){for(t--;e<t;){var r=A[e];A[e++]=A[t],A[t--]=r}}function $p(A,e,t,r,n){for(r===e&&r++;r<t;r++){for(var i=A[r],a=e,o=r,s;a<o;)s=a+o>>>1,n(i,A[s])<0?o=s:a=s+1;var l=r-a;switch(l){case 3:A[a+3]=A[a+2];case 2:A[a+2]=A[a+1];case 1:A[a+1]=A[a];break;default:for(;l>0;)A[a+l]=A[a+l-1],l--}A[a]=i}}function Xf(A,e,t,r,n,i){var a=0,o=0,s=1;if(i(A,e[t+n])>0){for(o=r-n;s<o&&i(A,e[t+n+s])>0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}else{for(o=n+1;s<o&&i(A,e[t+n-s])<=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}for(a++;a<s;){var u=a+(s-a>>>1);i(A,e[t+u])>0?a=u+1:s=u}return s}function Zf(A,e,t,r,n,i){var a=0,o=0,s=1;if(i(A,e[t+n])<0){for(o=n+1;s<o&&i(A,e[t+n-s])<0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}else{for(o=r-n;s<o&&i(A,e[t+n+s])>=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}for(a++;a<s;){var u=a+(s-a>>>1);i(A,e[t+u])<0?s=u:a=u+1}return s}function zx(A,e){var t=ma,r,n,i=0,a=[];r=[],n=[];function o(h,v){r[i]=h,n[i]=v,i+=1}function s(){for(;i>1;){var h=i-2;if(h>=1&&n[h-1]<=n[h]+n[h+1]||h>=2&&n[h-2]<=n[h]+n[h-1])n[h-1]<n[h+1]&&h--;else if(n[h]>n[h+1])break;u(h)}}function l(){for(;i>1;){var h=i-2;h>0&&n[h-1]<n[h+1]&&h--,u(h)}}function u(h){var v=r[h],d=n[h],g=r[h+1],p=n[h+1];n[h]=d+p,h===i-3&&(r[h+1]=r[h+2],n[h+1]=n[h+2]),i--;var B=Zf(A[g],A,v,d,0,e);v+=B,d-=B,d!==0&&(p=Xf(A[v+d-1],A,g,p,p-1,e),p!==0&&(d<=p?f(v,d,g,p):c(v,d,g,p)))}function f(h,v,d,g){var p=0;for(p=0;p<v;p++)a[p]=A[h+p];var B=0,m=d,y=h;if(A[y++]=A[m++],--g===0){for(p=0;p<v;p++)A[y+p]=a[B+p];return}if(v===1){for(p=0;p<g;p++)A[y+p]=A[m+p];A[y+g]=a[B];return}for(var _=t,C,Q,x;;){C=0,Q=0,x=!1;do if(e(A[m],a[B])<0){if(A[y++]=A[m++],Q++,C=0,--g===0){x=!0;break}}else if(A[y++]=a[B++],C++,Q=0,--v===1){x=!0;break}while((C|Q)<_);if(x)break;do{if(C=Zf(A[m],a,B,v,0,e),C!==0){for(p=0;p<C;p++)A[y+p]=a[B+p];if(y+=C,B+=C,v-=C,v<=1){x=!0;break}}if(A[y++]=A[m++],--g===0){x=!0;break}if(Q=Xf(a[B],A,m,g,0,e),Q!==0){for(p=0;p<Q;p++)A[y+p]=A[m+p];if(y+=Q,m+=Q,g-=Q,g===0){x=!0;break}}if(A[y++]=a[B++],--v===1){x=!0;break}_--}while(C>=ma||Q>=ma);if(x)break;_<0&&(_=0),_+=2}if(t=_,t<1&&(t=1),v===1){for(p=0;p<g;p++)A[y+p]=A[m+p];A[y+g]=a[B]}else{if(v===0)throw new Error;for(p=0;p<v;p++)A[y+p]=a[B+p]}}function c(h,v,d,g){var p=0;for(p=0;p<g;p++)a[p]=A[d+p];var B=h+v-1,m=g-1,y=d+g-1,_=0,C=0;if(A[y--]=A[B--],--v===0){for(_=y-(g-1),p=0;p<g;p++)A[_+p]=a[p];return}if(g===1){for(y-=v,B-=v,C=y+1,_=B+1,p=v-1;p>=0;p--)A[C+p]=A[_+p];A[y]=a[m];return}for(var Q=t;;){var x=0,F=0,S=!1;do if(e(a[m],A[B])<0){if(A[y--]=A[B--],x++,F=0,--v===0){S=!0;break}}else if(A[y--]=a[m--],F++,x=0,--g===1){S=!0;break}while((x|F)<Q);if(S)break;do{if(x=v-Zf(a[m],A,h,v,v-1,e),x!==0){for(y-=x,B-=x,v-=x,C=y+1,_=B+1,p=x-1;p>=0;p--)A[C+p]=A[_+p];if(v===0){S=!0;break}}if(A[y--]=a[m--],--g===1){S=!0;break}if(F=g-Xf(A[B],a,0,g,g-1,e),F!==0){for(y-=F,m-=F,g-=F,C=y+1,_=m+1,p=0;p<F;p++)A[C+p]=a[_+p];if(g<=1){S=!0;break}}if(A[y--]=A[B--],--v===0){S=!0;break}Q--}while(x>=ma||F>=ma);if(S)break;Q<0&&(Q=0),Q+=2}if(t=Q,t<1&&(t=1),g===1){for(y-=v,B-=v,C=y+1,_=B+1,p=v-1;p>=0;p--)A[C+p]=A[_+p];A[y]=a[m]}else{if(g===0)throw new Error;for(_=y-(g-1),p=0;p<g;p++)A[_+p]=a[p]}}return{mergeRuns:s,forceMergeRuns:l,pushRun:o}}function ns(A,e,t,r){t||(t=0),r||(r=A.length);var n=r-t;if(!(n<2)){var i=0;if(n<Jp){i=qp(A,t,r,e),$p(A,t,r,t+i,e);return}var a=zx(A,e),o=Kx(n);do{if(i=qp(A,t,r,e),i<o){var s=n;s>o&&(s=o),$p(A,t,t+s,t+i,e),i=s}a.pushRun(t,i),a.mergeRuns(),n-=i,t+=i}while(n!==0);a.forceMergeRuns()}}var Xt=1,ya=2,vi=4,jp=!1;function Jf(){jp||(jp=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function eg(A,e){return A.zlevel===e.zlevel?A.z===e.z?A.z2-e.z2:A.z-e.z:A.zlevel-e.zlevel}var Wx=(function(){function A(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=eg}return A.prototype.traverse=function(e,t){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,t)},A.prototype.getDisplayList=function(e,t){t=t||!1;var r=this._displayList;return(e||!r.length)&&this.updateDisplayList(t),r},A.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,r=this._displayList,n=0,i=t.length;n<i;n++)this._updateAndAddDisplayable(t[n],null,e);r.length=this._displayListLen,ns(r,eg)},A.prototype._updateAndAddDisplayable=function(e,t,r){if(!(e.ignore&&!r)){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath(),i=t&&t.length,a=0,o=e.__clipPaths;if(!e.ignoreClip&&(i||n)){if(o||(o=e.__clipPaths=[]),i)for(var s=0;s<t.length;s++)o[a++]=t[s];for(var l=n,u=e;l;)l.parent=u,l.updateTransform(),o[a++]=l,u=l,l=l.getClipPath()}if(o&&(o.length=a),e.childrenRef){for(var f=e.childrenRef(),c=0;c<f.length;c++){var h=f[c];e.__dirty&&(h.__dirty|=Xt),this._updateAndAddDisplayable(h,o,r)}e.__dirty=0}else{var v=e;isNaN(v.z)&&(Jf(),v.z=0),isNaN(v.z2)&&(Jf(),v.z2=0),isNaN(v.zlevel)&&(Jf(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var d=e.getDecalElement&&e.getDecalElement();d&&this._updateAndAddDisplayable(d,o,r);var g=e.getTextGuideLine();g&&this._updateAndAddDisplayable(g,o,r);var p=e.getTextContent();p&&this._updateAndAddDisplayable(p,o,r)}},A.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},A.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,r=e.length;t<r;t++)this.delRoot(e[t]);return}var n=Ie(this._roots,e);n>=0&&this._roots.splice(n,1)},A.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},A.prototype.getRoots=function(){return this._roots},A.prototype.dispose=function(){this._displayList=null,this._roots=null},A})(),is;is=_e.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(A){return setTimeout(A,16)};var wa={linear:function(A){return A},quadraticIn:function(A){return A*A},quadraticOut:function(A){return A*(2-A)},quadraticInOut:function(A){return(A*=2)<1?.5*A*A:-.5*(--A*(A-2)-1)},cubicIn:function(A){return A*A*A},cubicOut:function(A){return--A*A*A+1},cubicInOut:function(A){return(A*=2)<1?.5*A*A*A:.5*((A-=2)*A*A+2)},quarticIn:function(A){return A*A*A*A},quarticOut:function(A){return 1- --A*A*A*A},quarticInOut:function(A){return(A*=2)<1?.5*A*A*A*A:-.5*((A-=2)*A*A*A-2)},quinticIn:function(A){return A*A*A*A*A},quinticOut:function(A){return--A*A*A*A*A+1},quinticInOut:function(A){return(A*=2)<1?.5*A*A*A*A*A:.5*((A-=2)*A*A*A*A+2)},sinusoidalIn:function(A){return 1-Math.cos(A*Math.PI/2)},sinusoidalOut:function(A){return Math.sin(A*Math.PI/2)},sinusoidalInOut:function(A){return .5*(1-Math.cos(Math.PI*A))},exponentialIn:function(A){return A===0?0:Math.pow(1024,A-1)},exponentialOut:function(A){return A===1?1:1-Math.pow(2,-10*A)},exponentialInOut:function(A){return A===0?0:A===1?1:(A*=2)<1?.5*Math.pow(1024,A-1):.5*(-Math.pow(2,-10*(A-1))+2)},circularIn:function(A){return 1-Math.sqrt(1-A*A)},circularOut:function(A){return Math.sqrt(1- --A*A)},circularInOut:function(A){return(A*=2)<1?-.5*(Math.sqrt(1-A*A)-1):.5*(Math.sqrt(1-(A-=2)*A)+1)},elasticIn:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)))},elasticOut:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*A)*Math.sin((A-e)*(2*Math.PI)/r)+1)},elasticInOut:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),(A*=2)<1?-.5*(t*Math.pow(2,10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)):t*Math.pow(2,-10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)*.5+1)},backIn:function(A){var e=1.70158;return A*A*((e+1)*A-e)},backOut:function(A){var e=1.70158;return--A*A*((e+1)*A+e)+1},backInOut:function(A){var e=2.5949095;return(A*=2)<1?.5*(A*A*((e+1)*A-e)):.5*((A-=2)*A*((e+1)*A+e)+2)},bounceIn:function(A){return 1-wa.bounceOut(1-A)},bounceOut:function(A){return A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375},bounceInOut:function(A){return A<.5?wa.bounceIn(A*2)*.5:wa.bounceOut(A*2-1)*.5+.5}},as=Math.pow,Cr=Math.sqrt,os=1e-8,tg=1e-4,Ag=Cr(3),ss=1/3,MA=ai(),rA=ai(),di=ai();function _r(A){return A>-os&&A<os}function rg(A){return A>os||A<-os}function ft(A,e,t,r,n){var i=1-n;return i*i*(i*A+3*n*e)+n*n*(n*r+3*i*t)}function ng(A,e,t,r,n){var i=1-n;return 3*(((e-A)*i+2*(t-e)*n)*i+(r-t)*n*n)}function ls(A,e,t,r,n,i){var a=r+3*(e-t)-A,o=3*(t-e*2+A),s=3*(e-A),l=A-n,u=o*o-3*a*s,f=o*s-9*a*l,c=s*s-3*o*l,h=0;if(_r(u)&&_r(f))if(_r(o))i[0]=0;else{var v=-s/o;v>=0&&v<=1&&(i[h++]=v)}else{var d=f*f-4*u*c;if(_r(d)){var g=f/u,v=-o/a+g,p=-g/2;v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p)}else if(d>0){var B=Cr(d),m=u*o+1.5*a*(-f+B),y=u*o+1.5*a*(-f-B);m<0?m=-as(-m,ss):m=as(m,ss),y<0?y=-as(-y,ss):y=as(y,ss);var v=(-o-(m+y))/(3*a);v>=0&&v<=1&&(i[h++]=v)}else{var _=(2*u*o-3*a*f)/(2*Cr(u*u*u)),C=Math.acos(_)/3,Q=Cr(u),x=Math.cos(C),v=(-o-2*Q*x)/(3*a),p=(-o+Q*(x+Ag*Math.sin(C)))/(3*a),F=(-o+Q*(x-Ag*Math.sin(C)))/(3*a);v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p),F>=0&&F<=1&&(i[h++]=F)}}return h}function ig(A,e,t,r,n){var i=6*t-12*e+6*A,a=9*e+3*r-3*A-9*t,o=3*e-3*A,s=0;if(_r(a)){if(rg(i)){var l=-o/i;l>=0&&l<=1&&(n[s++]=l)}}else{var u=i*i-4*a*o;if(_r(u))n[0]=-i/(2*a);else if(u>0){var f=Cr(u),l=(-i+f)/(2*a),c=(-i-f)/(2*a);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function us(A,e,t,r,n,i){var a=(e-A)*n+A,o=(t-e)*n+e,s=(r-t)*n+t,l=(o-a)*n+a,u=(s-o)*n+o,f=(u-l)*n+l;i[0]=A,i[1]=a,i[2]=l,i[3]=f,i[4]=f,i[5]=u,i[6]=s,i[7]=r}function ag(A,e,t,r,n,i,a,o,s,l,u){var f,c=.005,h=1/0,v,d,g,p;MA[0]=s,MA[1]=l;for(var B=0;B<1;B+=.05)rA[0]=ft(A,t,n,a,B),rA[1]=ft(e,r,i,o,B),g=oi(MA,rA),g<h&&(f=B,h=g);h=1/0;for(var m=0;m<32&&!(c<tg);m++)v=f-c,d=f+c,rA[0]=ft(A,t,n,a,v),rA[1]=ft(e,r,i,o,v),g=oi(rA,MA),v>=0&&g<h?(f=v,h=g):(di[0]=ft(A,t,n,a,d),di[1]=ft(e,r,i,o,d),p=oi(di,MA),d<=1&&p<h?(f=d,h=p):c*=.5);return u&&(u[0]=ft(A,t,n,a,f),u[1]=ft(e,r,i,o,f)),Cr(h)}function Yx(A,e,t,r,n,i,a,o,s){for(var l=A,u=e,f=0,c=1/s,h=1;h<=s;h++){var v=h*c,d=ft(A,t,n,a,v),g=ft(e,r,i,o,v),p=d-l,B=g-u;f+=Math.sqrt(p*p+B*B),l=d,u=g}return f}function _t(A,e,t,r){var n=1-r;return n*(n*A+2*r*e)+r*r*t}function og(A,e,t,r){return 2*((1-r)*(e-A)+r*(t-e))}function Xx(A,e,t,r,n){var i=A-2*e+t,a=2*(e-A),o=A-r,s=0;if(_r(i)){if(rg(a)){var l=-o/a;l>=0&&l<=1&&(n[s++]=l)}}else{var u=a*a-4*i*o;if(_r(u)){var l=-a/(2*i);l>=0&&l<=1&&(n[s++]=l)}else if(u>0){var f=Cr(u),l=(-a+f)/(2*i),c=(-a-f)/(2*i);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function sg(A,e,t){var r=A+t-2*e;return r===0?.5:(A-e)/r}function fs(A,e,t,r,n){var i=(e-A)*r+A,a=(t-e)*r+e,o=(a-i)*r+i;n[0]=A,n[1]=i,n[2]=o,n[3]=o,n[4]=a,n[5]=t}function lg(A,e,t,r,n,i,a,o,s){var l,u=.005,f=1/0;MA[0]=a,MA[1]=o;for(var c=0;c<1;c+=.05){rA[0]=_t(A,t,n,c),rA[1]=_t(e,r,i,c);var h=oi(MA,rA);h<f&&(l=c,f=h)}f=1/0;for(var v=0;v<32&&!(u<tg);v++){var d=l-u,g=l+u;rA[0]=_t(A,t,n,d),rA[1]=_t(e,r,i,d);var h=oi(rA,MA);if(d>=0&&h<f)l=d,f=h;else{di[0]=_t(A,t,n,g),di[1]=_t(e,r,i,g);var p=oi(di,MA);g<=1&&p<f?(l=g,f=p):u*=.5}}return s&&(s[0]=_t(A,t,n,l),s[1]=_t(e,r,i,l)),Cr(f)}function Zx(A,e,t,r,n,i,a){for(var o=A,s=e,l=0,u=1/a,f=1;f<=a;f++){var c=f*u,h=_t(A,t,n,c),v=_t(e,r,i,c),d=h-o,g=v-s;l+=Math.sqrt(d*d+g*g),o=h,s=v}return l}var Jx=/cubic-bezier\(([0-9,\.e ]+)\)/;function ug(A){var e=A&&Jx.exec(A);if(e){var t=e[1].split(","),r=+LA(t[0]),n=+LA(t[1]),i=+LA(t[2]),a=+LA(t[3]);if(isNaN(r+n+i+a))return;var o=[];return function(s){return s<=0?0:s>=1?1:ls(0,r,i,1,s,o)&&ft(0,n,a,1,o[0])}}}var qx=(function(){function A(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Tt,this.ondestroy=e.ondestroy||Tt,this.onrestart=e.onrestart||Tt,e.easing&&this.setEasing(e.easing)}return A.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var r=this._life,n=e-this._startTime-this._pausedTime,i=n/r;i<0&&(i=0),i=Math.min(i,1);var a=this.easingFunc,o=a?a(i):i;if(this.onframe(o),i===1)if(this.loop){var s=n%r;this._startTime=e-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},A.prototype.pause=function(){this._paused=!0},A.prototype.resume=function(){this._paused=!1},A.prototype.setEasing=function(e){this.easing=e,this.easingFunc=me(e)?e:wa[e]||ug(e)},A})(),fg=(function(){function A(e){this.value=e}return A})(),$x=(function(){function A(){this._len=0}return A.prototype.insert=function(e){var t=new fg(e);return this.insertEntry(t),t},A.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},A.prototype.remove=function(e){var t=e.prev,r=e.next;t?t.next=r:this.head=r,r?r.prev=t:this.tail=t,e.next=e.prev=null,this._len--},A.prototype.len=function(){return this._len},A.prototype.clear=function(){this.head=this.tail=null,this._len=0},A})(),pi=(function(){function A(e){this._list=new $x,this._maxSize=10,this._map={},this._maxSize=e}return A.prototype.put=function(e,t){var r=this._list,n=this._map,i=null;if(n[e]==null){var a=r.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete n[s.key],i=s.value,this._lastRemovedEntry=s}o?o.value=t:o=new fg(t),o.key=e,r.insertEntry(o),n[e]=o}return i},A.prototype.get=function(e){var t=this._map[e],r=this._list;if(t!=null)return t!==r.tail&&(r.remove(t),r.insertEntry(t)),t.value},A.prototype.clear=function(){this._list.clear(),this._map={}},A.prototype.len=function(){return this._list.len()},A})(),cg={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 Qr(A){return A=Math.round(A),A<0?0:A>255?255:A}function qf(A){return A<0?0:A>1?1:A}function $f(A){var e=A;return e.length&&e.charAt(e.length-1)==="%"?Qr(parseFloat(e)/100*255):Qr(parseInt(e,10))}function fn(A){var e=A;return e.length&&e.charAt(e.length-1)==="%"?qf(parseFloat(e)/100):qf(parseFloat(e))}function jf(A,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?A+(e-A)*t*6:t*2<1?e:t*3<2?A+(e-A)*(2/3-t)*6:A}function cs(A,e,t){return A+(e-A)*t}function nA(A,e,t,r,n){return A[0]=e,A[1]=t,A[2]=r,A[3]=n,A}function ec(A,e){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A}var hg=new pi(20),hs=null;function gi(A,e){hs&&ec(hs,e),hs=hg.put(A,hs||e.slice())}function HA(A,e){if(A){e=e||[];var t=hg.get(A);if(t)return ec(e,t);A=A+"";var r=A.replace(/ /g,"").toLowerCase();if(r in cg)return ec(e,cg[r]),gi(A,e),e;var n=r.length;if(r.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(r.slice(1,4),16);if(!(i>=0&&i<=4095)){nA(e,0,0,0,1);return}return nA(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(r.slice(4),16)/15:1),gi(A,e),e}else if(n===7||n===9){var i=parseInt(r.slice(1,7),16);if(!(i>=0&&i<=16777215)){nA(e,0,0,0,1);return}return nA(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(r.slice(7),16)/255:1),gi(A,e),e}return}var a=r.indexOf("("),o=r.indexOf(")");if(a!==-1&&o+1===n){var s=r.substr(0,a),l=r.substr(a+1,o-(a+1)).split(","),u=1;switch(s){case"rgba":if(l.length!==4)return l.length===3?nA(e,+l[0],+l[1],+l[2],1):nA(e,0,0,0,1);u=fn(l.pop());case"rgb":if(l.length>=3)return nA(e,$f(l[0]),$f(l[1]),$f(l[2]),l.length===3?u:fn(l[3])),gi(A,e),e;nA(e,0,0,0,1);return;case"hsla":if(l.length!==4){nA(e,0,0,0,1);return}return l[3]=fn(l[3]),tc(l,e),gi(A,e),e;case"hsl":if(l.length!==3){nA(e,0,0,0,1);return}return tc(l,e),gi(A,e),e;default:return}}nA(e,0,0,0,1)}}function tc(A,e){var t=(parseFloat(A[0])%360+360)%360/360,r=fn(A[1]),n=fn(A[2]),i=n<=.5?n*(r+1):n+r-n*r,a=n*2-i;return e=e||[],nA(e,Qr(jf(a,i,t+1/3)*255),Qr(jf(a,i,t)*255),Qr(jf(a,i,t-1/3)*255),1),A.length===4&&(e[3]=A[3]),e}function jx(A){if(A){var e=A[0]/255,t=A[1]/255,r=A[2]/255,n=Math.min(e,t,r),i=Math.max(e,t,r),a=i-n,o=(i+n)/2,s,l;if(a===0)s=0,l=0;else{o<.5?l=a/(i+n):l=a/(2-i-n);var u=((i-e)/6+a/2)/a,f=((i-t)/6+a/2)/a,c=((i-r)/6+a/2)/a;e===i?s=c-f:t===i?s=1/3+u-c:r===i&&(s=2/3+f-u),s<0&&(s+=1),s>1&&(s-=1)}var h=[s*360,l,o];return A[3]!=null&&h.push(A[3]),h}}function vg(A,e){var t=HA(A);if(t){for(var r=0;r<3;r++)t[r]=t[r]*(1-e)|0,t[r]>255?t[r]=255:t[r]<0&&(t[r]=0);return Ca(t,t.length===4?"rgba":"rgb")}}function eF(A,e,t){if(!(!(e&&e.length)||!(A>=0&&A<=1))){var r=A*(e.length-1),n=Math.floor(r),i=Math.ceil(r),a=HA(e[n]),o=HA(e[i]),s=r-n,l=Ca([Qr(cs(a[0],o[0],s)),Qr(cs(a[1],o[1],s)),Qr(cs(a[2],o[2],s)),qf(cs(a[3],o[3],s))],"rgba");return t?{color:l,leftIndex:n,rightIndex:i,value:r}:l}}function Ac(A,e,t,r){var n=HA(A);if(A)return n=jx(n),t!=null&&(n[1]=fn(me(t)?t(n[1]):t)),r!=null&&(n[2]=fn(me(r)?r(n[2]):r)),Ca(tc(n),"rgba")}function Ca(A,e){if(!(!A||!A.length)){var t=A[0]+","+A[1]+","+A[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+A[3]),e+"("+t+")"}}function vs(A,e){var t=HA(A);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var dg=new pi(100);function pg(A){if(ue(A)){var e=dg.get(A);return e||(e=vg(A,-.1),dg.put(A,e)),e}else if(ts(A)){var t=W({},A);return t.colorStops=Be(A.colorStops,function(r){return{offset:r.offset,color:vg(r.color,-.1)}}),t}return A}function tF(A){return A.type==="linear"}function AF(A){return A.type==="radial"}(function(){return _e.hasGlobalWindow&&me(window.btoa)?function(A){return window.btoa(unescape(encodeURIComponent(A)))}:typeof Buffer<"u"?function(A){return Buffer.from(A).toString("base64")}:function(A){return process.env.NODE_ENV!=="production"&&nn("Base64 isn't natively supported in the current environment."),null}})();var rc=Array.prototype.slice;function nr(A,e,t){return(e-A)*t+A}function nc(A,e,t,r){for(var n=e.length,i=0;i<n;i++)A[i]=nr(e[i],t[i],r);return A}function rF(A,e,t,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){A[a]||(A[a]=[]);for(var o=0;o<i;o++)A[a][o]=nr(e[a][o],t[a][o],r)}return A}function ds(A,e,t,r){for(var n=e.length,i=0;i<n;i++)A[i]=e[i]+t[i]*r;return A}function gg(A,e,t,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){A[a]||(A[a]=[]);for(var o=0;o<i;o++)A[a][o]=e[a][o]+t[a][o]*r}return A}function nF(A,e){for(var t=A.length,r=e.length,n=t>r?e:A,i=Math.min(t,r),a=n[i-1]||{color:[0,0,0,0],offset:0},o=i;o<Math.max(t,r);o++)n.push({offset:a.offset,color:a.color.slice()})}function iF(A,e,t){var r=A,n=e;if(!(!r.push||!n.push)){var i=r.length,a=n.length;if(i!==a){var o=i>a;if(o)r.length=a;else for(var s=i;s<a;s++)r.push(t===1?n[s]:rc.call(n[s]))}for(var l=r[0]&&r[0].length,s=0;s<r.length;s++)if(t===1)isNaN(r[s])&&(r[s]=n[s]);else for(var u=0;u<l;u++)isNaN(r[s][u])&&(r[s][u]=n[s][u])}}function ps(A){if(Pt(A)){var e=A.length;if(Pt(A[0])){for(var t=[],r=0;r<e;r++)t.push(rc.call(A[r]));return t}return rc.call(A)}return A}function gs(A){return A[0]=Math.floor(A[0])||0,A[1]=Math.floor(A[1])||0,A[2]=Math.floor(A[2])||0,A[3]=A[3]==null?1:A[3],"rgba("+A.join(",")+")"}function aF(A){return Pt(A&&A[0])?2:1}var Bs=0,ms=1,Bg=2,_a=3,ic=4,ac=5,mg=6;function yg(A){return A===ic||A===ac}function ys(A){return A===ms||A===Bg}var Qa=[0,0,0,0],oF=(function(){function A(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return A.prototype.isFinished=function(){return this._finished},A.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},A.prototype.needsAnimate=function(){return this.keyframes.length>=1},A.prototype.getAdditiveTrack=function(){return this._additiveTrack},A.prototype.addKeyframe=function(e,t,r){this._needsSort=!0;var n=this.keyframes,i=n.length,a=!1,o=mg,s=t;if(Pt(t)){var l=aF(t);o=l,(l===1&&!We(t[0])||l===2&&!We(t[0][0]))&&(a=!0)}else if(We(t)&&!ni(t))o=Bs;else if(ue(t))if(!isNaN(+t))o=Bs;else{var u=HA(t);u&&(s=u,o=_a)}else if(ts(t)){var f=W({},s);f.colorStops=Be(t.colorStops,function(h){return{offset:h.offset,color:HA(h.color)}}),tF(t)?o=ic:AF(t)&&(o=ac),s=f}i===0?this.valType=o:(o!==this.valType||o===mg)&&(a=!0),this.discrete=this.discrete||a;var c={time:e,value:s,rawValue:t,percent:0};return r&&(c.easing=r,c.easingFunc=me(r)?r:wa[r]||ug(r)),n.push(c),c},A.prototype.prepare=function(e,t){var r=this.keyframes;this._needsSort&&r.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=r.length,a=r[i-1],o=this.discrete,s=ys(n),l=yg(n),u=0;u<i;u++){var f=r[u],c=f.value,h=a.value;f.percent=f.time/e,o||(s&&u!==i-1?iF(c,h,n):l&&nF(c.colorStops,h.colorStops))}if(!o&&n!==ac&&t&&this.needsAnimate()&&t.needsAnimate()&&n===t.valType&&!t._finished){this._additiveTrack=t;for(var v=r[0].value,u=0;u<i;u++)n===Bs?r[u].additiveValue=r[u].value-v:n===_a?r[u].additiveValue=ds([],r[u].value,v,-1):ys(n)&&(r[u].additiveValue=n===ms?ds([],r[u].value,v,-1):gg([],r[u].value,v,-1))}},A.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,n=r?"additiveValue":"value",i=this.valType,a=this.keyframes,o=a.length,s=this.propName,l=i===_a,u,f=this._lastFr,c=Math.min,h,v;if(o===1)h=v=a[0];else{if(t<0)u=0;else if(t<this._lastFrP){var d=c(f+1,o-1);for(u=d;u>=0&&!(a[u].percent<=t);u--);u=c(u,o-2)}else{for(u=f;u<o&&!(a[u].percent>t);u++);u=c(u-1,o-2)}v=a[u+1],h=a[u]}if(h&&v){this._lastFr=u,this._lastFrP=t;var g=v.percent-h.percent,p=g===0?1:c((t-h.percent)/g,1);v.easingFunc&&(p=v.easingFunc(p));var B=r?this._additiveValue:l?Qa:e[s];if((ys(i)||l)&&!B&&(B=this._additiveValue=[]),this.discrete)e[s]=p<1?h.rawValue:v.rawValue;else if(ys(i))i===ms?nc(B,h[n],v[n],p):rF(B,h[n],v[n],p);else if(yg(i)){var m=h[n],y=v[n],_=i===ic;e[s]={type:_?"linear":"radial",x:nr(m.x,y.x,p),y:nr(m.y,y.y,p),colorStops:Be(m.colorStops,function(Q,x){var F=y.colorStops[x];return{offset:nr(Q.offset,F.offset,p),color:gs(nc([],Q.color,F.color,p))}}),global:y.global},_?(e[s].x2=nr(m.x2,y.x2,p),e[s].y2=nr(m.y2,y.y2,p)):e[s].r=nr(m.r,y.r,p)}else if(l)nc(B,h[n],v[n],p),r||(e[s]=gs(B));else{var C=nr(h[n],v[n],p);r?this._additiveValue=C:e[s]=C}r&&this._addToTarget(e)}}},A.prototype._addToTarget=function(e){var t=this.valType,r=this.propName,n=this._additiveValue;t===Bs?e[r]=e[r]+n:t===_a?(HA(e[r],Qa),ds(Qa,Qa,n,1),e[r]=gs(Qa)):t===ms?ds(e[r],e[r],n,1):t===Bg&&gg(e[r],e[r],n,1)},A})(),oc=(function(){function A(e,t,r,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){nn("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=r}return A.prototype.getMaxTime=function(){return this._maxTime},A.prototype.getDelay=function(){return this._delay},A.prototype.getLoop=function(){return this._loop},A.prototype.getTarget=function(){return this._target},A.prototype.changeTarget=function(e){this._target=e},A.prototype.when=function(e,t,r){return this.whenWithKeys(e,t,Ye(t),r)},A.prototype.whenWithKeys=function(e,t,r,n){for(var i=this._tracks,a=0;a<r.length;a++){var o=r[a],s=i[o];if(!s){s=i[o]=new oF(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var f=u.keyframes,c=f[f.length-1];l=c&&c.value,u.valType===_a&&l&&(l=gs(l))}else l=this._target[o];if(l==null)continue;e>0&&s.addKeyframe(0,ps(l),n),this._trackKeys.push(o)}s.addKeyframe(e,ps(t[o]),n)}return this._maxTime=Math.max(this._maxTime,e),this},A.prototype.pause=function(){this._clip.pause(),this._paused=!0},A.prototype.resume=function(){this._clip.resume(),this._paused=!1},A.prototype.isPaused=function(){return!!this._paused},A.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},A.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,r=0;r<t;r++)e[r].call(this)},A.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var r=0;r<t.length;r++)t[r].call(this)},A.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,r=0;r<t.length;r++)e[t[r]].setFinished()},A.prototype._getAdditiveTrack=function(e){var t,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(e);i&&(t=i)}return t},A.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,r=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var a=this._trackKeys[i],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(n,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var f=l[u-1];f&&(t._target[o.propName]=f.rawValue),o.setFinished()}else r.push(o)}if(r.length||this._force){var c=new qx({life:n,loop:this._loop,delay:this._delay||0,onframe:function(h){t._started=2;var v=t._additiveAnimators;if(v){for(var d=!1,g=0;g<v.length;g++)if(v[g]._clip){d=!0;break}d||(t._additiveAnimators=null)}for(var g=0;g<r.length;g++)r[g].step(t._target,h);var p=t._onframeCbs;if(p)for(var g=0;g<p.length;g++)p[g](t._target,h)},ondestroy:function(){t._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),e&&c.setEasing(e)}else this._doneCallback();return this}},A.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},A.prototype.delay=function(e){return this._delay=e,this},A.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},A.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},A.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},A.prototype.getClip=function(){return this._clip},A.prototype.getTrack=function(e){return this._tracks[e]},A.prototype.getTracks=function(){var e=this;return Be(this._trackKeys,function(t){return e._tracks[t]})},A.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var a=r[e[i]];a&&!a.isFinished()&&(t?a.step(this._target,1):this._started===1&&a.step(this._target,0),a.setFinished())}for(var o=!0,i=0;i<n.length;i++)if(!r[n[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},A.prototype.saveTo=function(e,t,r){if(e){t=t||this._trackKeys;for(var n=0;n<t.length;n++){var i=t[n],a=this._tracks[i];if(!(!a||a.isFinished())){var o=a.keyframes,s=o[r?0:o.length-1];s&&(e[i]=ps(s.rawValue))}}}},A.prototype.__changeFinalValue=function(e,t){t=t||Ye(e);for(var r=0;r<t.length;r++){var n=t[r],i=this._tracks[n];if(i){var a=i.keyframes;if(a.length>1){var o=a.pop();i.addKeyframe(o.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},A})();function Bi(){return new Date().getTime()}var sF=(function(A){X(e,A);function e(t){var r=A.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,t=t||{},r.stage=t.stage||{},r}return 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 r=t.getClip();r&&this.addClip(r)},e.prototype.removeClip=function(t){if(t.animation){var r=t.prev,n=t.next;r?r.next=n:this._head=n,n?n.prev=r:this._tail=r,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var r=t.getClip();r&&this.removeClip(r),t.animation=null},e.prototype.update=function(t){for(var r=Bi()-this._pausedTime,n=r-this._time,i=this._head;i;){var a=i.next,o=i.step(r,n);o&&(i.ondestroy(),this.removeClip(i)),i=a}this._time=r,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function r(){t._running&&(is(r),!t._paused&&t.update())}is(r)},e.prototype.start=function(){this._running||(this._time=Bi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Bi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Bi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var r=t.next;t.prev=t.next=t.animation=null,t=r}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,r){r=r||{},this.start();var n=new oc(t,r.loop);return this.addAnimator(n),n},e})(yA),lF=300,sc=_e.domSupported,lc=(function(){var A=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Be(A,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:A,touch:e,pointer:r}})(),wg={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Cg=!1;function uc(A){var e=A.pointerType;return e==="pen"||e==="touch"}function uF(A){A.touching=!0,A.touchTimer!=null&&(clearTimeout(A.touchTimer),A.touchTimer=null),A.touchTimer=setTimeout(function(){A.touching=!1,A.touchTimer=null},700)}function fc(A){A&&(A.zrByTouch=!0)}function fF(A,e){return AA(A.dom,new cF(A,e),!0)}function _g(A,e){for(var t=e,r=!1;t&&t.nodeType!==9&&!(r=t.domBelongToZr||t!==e&&t===A.painterRoot);)t=t.parentNode;return r}var cF=(function(){function A(e,t){this.stopPropagation=Tt,this.stopImmediatePropagation=Tt,this.preventDefault=Tt,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return A})(),wA={mousedown:function(A){A=AA(this.dom,A),this.__mayPointerCapture=[A.zrX,A.zrY],this.trigger("mousedown",A)},mousemove:function(A){A=AA(this.dom,A);var e=this.__mayPointerCapture;e&&(A.zrX!==e[0]||A.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",A)},mouseup:function(A){A=AA(this.dom,A),this.__togglePointerCapture(!1),this.trigger("mouseup",A)},mouseout:function(A){A=AA(this.dom,A);var e=A.toElement||A.relatedTarget;_g(this,e)||(this.__pointerCapturing&&(A.zrEventControl="no_globalout"),this.trigger("mouseout",A))},wheel:function(A){Cg=!0,A=AA(this.dom,A),this.trigger("mousewheel",A)},mousewheel:function(A){Cg||(A=AA(this.dom,A),this.trigger("mousewheel",A))},touchstart:function(A){A=AA(this.dom,A),fc(A),this.__lastTouchMoment=new Date,this.handler.processGesture(A,"start"),wA.mousemove.call(this,A),wA.mousedown.call(this,A)},touchmove:function(A){A=AA(this.dom,A),fc(A),this.handler.processGesture(A,"change"),wA.mousemove.call(this,A)},touchend:function(A){A=AA(this.dom,A),fc(A),this.handler.processGesture(A,"end"),wA.mouseup.call(this,A),+new Date-+this.__lastTouchMoment<lF&&wA.click.call(this,A)},pointerdown:function(A){wA.mousedown.call(this,A)},pointermove:function(A){uc(A)||wA.mousemove.call(this,A)},pointerup:function(A){wA.mouseup.call(this,A)},pointerout:function(A){uc(A)||wA.mouseout.call(this,A)}};b(["click","dblclick","contextmenu"],function(A){wA[A]=function(e){e=AA(this.dom,e),this.trigger(A,e)}});var cc={pointermove:function(A){uc(A)||cc.mousemove.call(this,A)},pointerup:function(A){cc.mouseup.call(this,A)},mousemove:function(A){this.trigger("mousemove",A)},mouseup:function(A){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",A),e&&(A.zrEventControl="only_globalout",this.trigger("mouseout",A))}};function hF(A,e){var t=e.domHandlers;_e.pointerEventsSupported?b(lc.pointer,function(r){ws(e,r,function(n){t[r].call(A,n)})}):(_e.touchEventsSupported&&b(lc.touch,function(r){ws(e,r,function(n){t[r].call(A,n),uF(e)})}),b(lc.mouse,function(r){ws(e,r,function(n){n=Pf(n),e.touching||t[r].call(A,n)})}))}function vF(A,e){_e.pointerEventsSupported?b(wg.pointer,t):_e.touchEventsSupported||b(wg.mouse,t);function t(r){function n(i){i=Pf(i),_g(A,i.target)||(i=fF(A,i),e.domHandlers[r].call(A,i))}ws(e,r,n,{capture:!0})}}function ws(A,e,t,r){A.mounted[e]=t,A.listenerOpts[e]=r,Ux(A.domTarget,e,t,r)}function hc(A){var e=A.mounted;for(var t in e)e.hasOwnProperty(t)&&Ix(A.domTarget,t,e[t],A.listenerOpts[t]);A.mounted={}}var Qg=(function(){function A(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return A})(),dF=(function(A){X(e,A);function e(t,r){var n=A.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=r,n._localHandlerScope=new Qg(t,wA),sc&&(n._globalHandlerScope=new Qg(document,cc)),hF(n,n._localHandlerScope),n}return e.prototype.dispose=function(){hc(this._localHandlerScope),sc&&hc(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,sc&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var r=this._globalHandlerScope;t?vF(this,r):hc(r)}},e})(yA),xg=1;_e.hasGlobalWindow&&(xg=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Cs=xg,vc=.4,dc="#333",pc="#ccc",pF="#eee",Fg=Vf,Eg=5e-5;function cn(A){return A>Eg||A<-Eg}var hn=[],mi=[],gc=rr(),Bc=Math.abs,_s=(function(){function A(){}return A.prototype.getLocalTransform=function(e){return A.getLocalTransform(this,e)},A.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},A.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},A.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},A.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},A.prototype.needLocalTransform=function(){return cn(this.rotation)||cn(this.x)||cn(this.y)||cn(this.scaleX-1)||cn(this.scaleY-1)||cn(this.skewX)||cn(this.skewY)},A.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),r=this.transform;if(!(t||e)){r&&(Fg(r),this.invTransform=null);return}r=r||rr(),t?this.getLocalTransform(r):Fg(r),e&&(t?da(r,e,r):Vp(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)},A.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(hn);var r=hn[0]<0?-1:1,n=hn[1]<0?-1:1,i=((hn[0]-r)*t+r)/hn[0]||0,a=((hn[1]-n)*t+n)/hn[1]||0;e[0]*=i,e[1]*=i,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||rr(),ci(this.invTransform,e)},A.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},A.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=r,this.originX=0,this.originY=0}},A.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||rr(),da(mi,e.invTransform,t),t=mi);var r=this.originX,n=this.originY;(r||n)&&(gc[4]=r,gc[5]=n,da(mi,t,gc),mi[4]-=r,mi[5]-=n,t=mi),this.setLocalTransform(t)}},A.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},A.prototype.transformCoordToLocal=function(e,t){var r=[e,t],n=this.invTransform;return n&&tA(r,r,n),r},A.prototype.transformCoordToGlobal=function(e,t){var r=[e,t],n=this.transform;return n&&tA(r,r,n),r},A.prototype.getLineScale=function(){var e=this.transform;return e&&Bc(e[0]-1)>1e-10&&Bc(e[3]-1)>1e-10?Math.sqrt(Bc(e[0]*e[3]-e[2]*e[1])):1},A.prototype.copyTransform=function(e){mc(this,e)},A.getLocalTransform=function(e,t){t=t||[];var r=e.originX||0,n=e.originY||0,i=e.scaleX,a=e.scaleY,o=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,f=e.y,c=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(r||n||o||s){var v=r+o,d=n+s;t[4]=-v*i-c*d*a,t[5]=-d*a-h*v*i}else t[4]=t[5]=0;return t[0]=i,t[3]=a,t[1]=h*i,t[2]=c*a,l&&Gf(t,t,l),t[4]+=r+u,t[5]+=n+f,t},A.initDefaultProps=(function(){var e=A.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0})(),A})(),xa=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function mc(A,e){for(var t=0;t<xa.length;t++){var r=xa[t];A[r]=e[r]}}function OA(A){Qs||(Qs=new pi(100)),A=A||yr;var e=Qs.get(A);return e||(e={font:A,strWidthCache:new pi(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:Ar.measureText("国",A).width,asciiCharWidth:Ar.measureText("a",A).width},Qs.put(A,e)),e}var Qs;function gF(A){if(!(yc>=bg)){A=A||yr;for(var e=[],t=+new Date,r=0;r<=127;r++)e[r]=Ar.measureText(String.fromCharCode(r),A).width;var n=+new Date-t;return n>16?yc=bg:n>2&&yc++,e}}var yc=0,bg=5;function Sg(A,e){return A.asciiWidthMapTried||(A.asciiWidthMap=gF(A.font),A.asciiWidthMapTried=!0),0<=e&&e<=127?A.asciiWidthMap!=null?A.asciiWidthMap[e]:A.asciiCharWidth:A.stWideCharWidth}function RA(A,e){var t=A.strWidthCache,r=t.get(e);return r==null&&(r=Ar.measureText(e,A.font).width,t.put(e,r)),r}function Ug(A,e,t,r){var n=RA(OA(e),A),i=xs(e),a=yi(0,n,t),o=vn(0,i,r),s=new Fe(a,o,n,i);return s}function Ig(A,e,t,r){var n=((A||"")+"").split(`
15
+ `),i=n.length;if(i===1)return Ug(n[0],e,t,r);for(var a=new Fe(0,0,0,0),o=0;o<n.length;o++){var s=Ug(n[o],e,t,r);o===0?a.copy(s):a.union(s)}return a}function yi(A,e,t,r){return t==="right"?r?A+=e:A-=e:t==="center"&&(r?A+=e/2:A-=e/2),A}function vn(A,e,t,r){return t==="middle"?r?A+=e/2:A-=e/2:t==="bottom"&&(r?A+=e:A-=e),A}function xs(A){return OA(A).stWideCharWidth}function xr(A,e){return typeof A=="string"?A.lastIndexOf("%")>=0?parseFloat(A)/100*e:parseFloat(A):A}function Fs(A,e,t){var r=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,a=t.width,o=i/2,s=t.x,l=t.y,u="left",f="top";if(r instanceof Array)s+=xr(r[0],t.width),l+=xr(r[1],t.height),u=null,f=null;else switch(r){case"left":s-=n,l+=o,u="right",f="middle";break;case"right":s+=n+a,l+=o,f="middle";break;case"top":s+=a/2,l-=n,u="center",f="bottom";break;case"bottom":s+=a/2,l+=i+n,u="center";break;case"inside":s+=a/2,l+=o,u="center",f="middle";break;case"insideLeft":s+=n,l+=o,f="middle";break;case"insideRight":s+=a-n,l+=o,u="right",f="middle";break;case"insideTop":s+=a/2,l+=n,u="center";break;case"insideBottom":s+=a/2,l+=i-n,u="center",f="bottom";break;case"insideTopLeft":s+=n,l+=n;break;case"insideTopRight":s+=a-n,l+=n,u="right";break;case"insideBottomLeft":s+=n,l+=i-n,f="bottom";break;case"insideBottomRight":s+=a-n,l+=i-n,u="right",f="bottom";break}return A=A||{},A.x=s,A.y=l,A.align=u,A.verticalAlign=f,A}var wc="__zr_normal__",Cc=xa.concat(["ignore"]),BF=Ai(xa,function(A,e){return A[e]=!0,A},{ignore:!1}),wi={},mF=new Fe(0,0,0,0),Es=[],bs=(function(){function A(e){this.id=Ip(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return A.prototype._init=function(e){this.attr(e)},A.prototype.drift=function(e,t,r){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},A.prototype.beforeUpdate=function(){},A.prototype.afterUpdate=function(){},A.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},A.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=t.innerTransformable,a=void 0,o=void 0,s=!1;i.parent=n?this:null;var l=!1;i.copyTransform(t);var u=r.position!=null,f=r.autoOverflowArea,c=void 0;if((f||u)&&(c=mF,r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),n||c.applyTransform(this.transform)),u){this.calculateTextPosition?this.calculateTextPosition(wi,r,c):Fs(wi,r,c),i.x=wi.x,i.y=wi.y,a=wi.align,o=wi.verticalAlign;var h=r.origin;if(h&&r.rotation!=null){var v=void 0,d=void 0;h==="center"?(v=c.width*.5,d=c.height*.5):(v=xr(h[0],c.width),d=xr(h[1],c.height)),l=!0,i.originX=-i.x+v+(n?0:c.x),i.originY=-i.y+d+(n?0:c.y)}}r.rotation!=null&&(i.rotation=r.rotation);var g=r.offset;g&&(i.x+=g[0],i.y+=g[1],l||(i.originX=-g[0],i.originY=-g[1]));var p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var B=p.overflowRect=p.overflowRect||new Fe(0,0,0,0);i.getLocalTransform(Es),ci(Es,Es),Fe.copy(B,c),B.applyTransform(Es)}else p.overflowRect=null;var m=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,y=void 0,_=void 0,C=void 0;m&&this.canBeInsideText()?(y=r.insideFill,_=r.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(y),C=!0)):(y=r.outsideFill,_=r.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(y),C=!0)),y=y||"#000",(y!==p.fill||_!==p.stroke||C!==p.autoStroke||a!==p.align||o!==p.verticalAlign)&&(s=!0,p.fill=y,p.stroke=_,p.autoStroke=C,p.align=a,p.verticalAlign=o,t.setDefaultTextStyle(p)),t.__dirty|=Xt,s&&t.dirtyStyle(!0)}},A.prototype.canBeInsideText=function(){return!0},A.prototype.getInsideTextFill=function(){return"#fff"},A.prototype.getInsideTextStroke=function(e){return"#000"},A.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?pc:dc},A.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),r=typeof t=="string"&&HA(t);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*n+(i?0:255)*(1-n);return r[3]=1,Ca(r,"rgba")},A.prototype.traverse=function(e,t){},A.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},W(this.extra,t)):this[e]=t},A.prototype.hide=function(){this.ignore=!0,this.markRedraw()},A.prototype.show=function(){this.ignore=!1,this.markRedraw()},A.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(ve(e))for(var r=e,n=Ye(r),i=0;i<n.length;i++){var a=n[i];this.attrKV(a,e[a])}return this.markRedraw(),this},A.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!(n.getLoop()||i&&i!==wc)){var a=n.targetName,o=a?t[a]:t;n.saveTo(o)}}},A.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,Cc)},A.prototype._savePrimaryToNormal=function(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];e[i]!=null&&!(i in t)&&(t[i]=this[i])}},A.prototype.hasState=function(){return this.currentStates.length>0},A.prototype.getState=function(e){return this.states[e]},A.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},A.prototype.clearStates=function(e){this.useState(wc,!1,e)},A.prototype.useState=function(e,t,r,n){var i=e===wc,a=this.hasState();if(!(!a&&i)){var o=this.currentStates,s=this.stateTransition;if(!(Ie(o,e)>=0&&(t||o.length===1))){var l;if(this.stateProxy&&!i&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),!l&&!i){nn("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,t,!r&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,c=this._textGuide;return f&&f.useState(e,t,r,u),c&&c.useState(e,t,r,u),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Xt),l}}},A.prototype.useStates=function(e,t,r){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,a=e.length,o=a===i.length;if(o){for(var s=0;s<a;s++)if(e[s]!==i[s]){o=!1;break}}if(o)return;for(var s=0;s<a;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&n.push(u)}var f=n[a-1],c=!!(f&&f.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(n),v=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&v&&v.duration>0,v);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,t,c),g&&g.useStates(e,t,c),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Xt)}},A.prototype.isSilent=function(){for(var e=this;e;){if(e.silent)return!0;var t=e.__hostTarget;e=t?e.ignoreHostSilent?null:t:e.parent}return!1},A.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},A.prototype.removeState=function(e){var t=Ie(this.currentStates,e);if(t>=0){var r=this.currentStates.slice();r.splice(t,1),this.useStates(r)}},A.prototype.replaceState=function(e,t,r){var n=this.currentStates.slice(),i=Ie(n,e),a=Ie(n,t)>=0;i>=0?a?n.splice(i,1):n[i]=t:r&&!a&&n.push(t),this.useStates(n)},A.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},A.prototype._mergeStates=function(e){for(var t={},r,n=0;n<e.length;n++){var i=e[n];W(t,i),i.textConfig&&(r=r||{},W(r,i.textConfig))}return r&&(t.textConfig=r),t},A.prototype._applyStateObj=function(e,t,r,n,i,a){var o=!(t&&n);t&&t.textConfig?(this.textConfig=W({},n?this.textConfig:r.textConfig),W(this.textConfig,t.textConfig)):o&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},l=!1,u=0;u<Cc.length;u++){var f=Cc[u],c=i&&BF[f];t&&t[f]!=null?c?(l=!0,s[f]=t[f]):this[f]=t[f]:o&&r[f]!=null&&(c?(l=!0,s[f]=r[f]):this[f]=r[f])}if(!i)for(var u=0;u<this.animators.length;u++){var h=this.animators[u],v=h.targetName;h.getLoop()||h.__changeFinalValue(v?(t||r)[v]:t||r)}l&&this._transitionState(e,s,a)},A.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this},A.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},A.prototype.getClipPath=function(){return this._clipPath},A.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},A.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},A.prototype.getTextContent=function(){return this._textContent},A.prototype.setTextContent=function(e){var t=this._textContent;if(t!==e){if(t&&t!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new _s,this._attachComponent(e),this._textContent=e,this.markRedraw()}},A.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),W(this.textConfig,e),this.markRedraw()},A.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},A.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},A.prototype.getTextGuideLine=function(){return this._textGuide},A.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},A.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},A.prototype.markRedraw=function(){this.__dirty|=Xt;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},A.prototype.dirty=function(){this.markRedraw()},A.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,r=this._textGuide;t&&(t.__inHover=e),r&&(r.__inHover=e)},A.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.addAnimator(t[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},A.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.removeAnimator(t[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},A.prototype.animate=function(e,t,r){var n=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!n){nn('Property "'+e+'" is not existed in element '+this.id);return}var i=new oc(n,t,r);return e&&(i.targetName=e),this.addAnimator(i,e),i},A.prototype.addAnimator=function(e,t){var r=this.__zr,n=this;e.during(function(){n.updateDuringAnimation(t)}).done(function(){var i=n.animators,a=Ie(i,e);a>=0&&i.splice(a,1)}),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},A.prototype.updateDuringAnimation=function(e){this.markRedraw()},A.prototype.stopAnimation=function(e,t){for(var r=this.animators,n=r.length,i=[],a=0;a<n;a++){var o=r[a];!e||e===o.scope?o.stop(t):i.push(o)}return this.animators=i,this},A.prototype.animateTo=function(e,t,r){_c(this,e,t,r)},A.prototype.animateFrom=function(e,t,r){_c(this,e,t,r,!0)},A.prototype._transitionState=function(e,t,r,n){for(var i=_c(this,t,r,n),a=0;a<i.length;a++)i[a].__fromStateTransition=e},A.prototype.getBoundingRect=function(){return null},A.prototype.getPaintRect=function(){return null},A.initDefaultProps=(function(){var e=A.prototype;e.type="element",e.name="",e.ignore=e.silent=e.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Xt;var t={};function r(i,a,o){t[i+a+o]||(console.warn("DEPRECATED: '"+i+"' has been deprecated. use '"+a+"', '"+o+"' instead"),t[i+a+o]=!0)}function n(i,a,o,s){Object.defineProperty(e,i,{get:function(){if(process.env.NODE_ENV!=="production"&&r(i,o,s),!this[a]){var u=this[a]=[];l(this,u)}return this[a]},set:function(u){process.env.NODE_ENV!=="production"&&r(i,o,s),this[o]=u[0],this[s]=u[1],this[a]=u,l(this,u)}});function l(u,f){Object.defineProperty(f,0,{get:function(){return u[o]},set:function(c){u[o]=c}}),Object.defineProperty(f,1,{get:function(){return u[s]},set:function(c){u[s]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))})(),A})();DA(bs,yA),DA(bs,_s);function _c(A,e,t,r,n){t=t||{};var i=[];Tg(A,"",A,e,t,r,i,n);var a=i.length,o=!1,s=t.done,l=t.aborted,u=function(){o=!0,a--,a<=0&&(o?s&&s():l&&l())},f=function(){a--,a<=0&&(o?s&&s():l&&l())};a||s&&s(),i.length>0&&t.during&&i[0].during(function(v,d){t.during(d)});for(var c=0;c<i.length;c++){var h=i[c];u&&h.done(u),f&&h.aborted(f),t.force&&h.duration(t.duration),h.start(t.easing)}return i}function Qc(A,e,t){for(var r=0;r<t;r++)A[r]=e[r]}function yF(A){return Pt(A[0])}function wF(A,e,t){if(Pt(e[t]))if(Pt(A[t])||(A[t]=[]),It(e[t])){var r=e[t].length;A[t].length!==r&&(A[t]=new e[t].constructor(r),Qc(A[t],e[t],r))}else{var n=e[t],i=A[t],a=n.length;if(yF(n))for(var o=n[0].length,s=0;s<a;s++)i[s]?Qc(i[s],n[s],o):i[s]=Array.prototype.slice.call(n[s]);else Qc(i,n,a);i.length=n.length}else A[t]=e[t]}function CF(A,e){return A===e||Pt(A)&&Pt(e)&&_F(A,e)}function _F(A,e){var t=A.length;if(t!==e.length)return!1;for(var r=0;r<t;r++)if(A[r]!==e[r])return!1;return!0}function Tg(A,e,t,r,n,i,a,o){for(var s=Ye(r),l=n.duration,u=n.delay,f=n.additive,c=n.setToFinal,h=!ve(i),v=A.animators,d=[],g=0;g<s.length;g++){var p=s[g],B=r[p];if(B!=null&&t[p]!=null&&(h||i[p]))if(ve(B)&&!Pt(B)&&!ts(B)){if(e){o||(t[p]=B,A.updateDuringAnimation(e));continue}Tg(A,p,t[p],B,n,i&&i[p],a,o)}else d.push(p);else o||(t[p]=B,A.updateDuringAnimation(e),d.push(p))}var m=d.length;if(!f&&m)for(var y=0;y<v.length;y++){var _=v[y];if(_.targetName===e){var C=_.stopTracks(d);if(C){var Q=Ie(v,_);v.splice(Q,1)}}}if(n.force||(d=rt(d,function(E){return!CF(r[E],t[E])}),m=d.length),m>0||n.force&&!a.length){var x=void 0,F=void 0,S=void 0;if(o){F={},c&&(x={});for(var y=0;y<m;y++){var p=d[y];F[p]=t[p],c?x[p]=r[p]:t[p]=r[p]}}else if(c){S={};for(var y=0;y<m;y++){var p=d[y];S[p]=ps(t[p]),wF(t,r,p)}}var _=new oc(t,!1,!1,f?rt(v,function(I){return I.targetName===e}):null);_.targetName=e,n.scope&&(_.scope=n.scope),c&&x&&_.whenWithKeys(0,x,d),S&&_.whenWithKeys(0,S,d),_.whenWithKeys(l??500,o?F:r,d).delay(u||0),A.addAnimator(_,e),a.push(_)}}var st=(function(A){X(e,A);function e(t){var r=A.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(t),r}return 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 r=this._children,n=0;n<r.length;n++)if(r[n].name===t)return r[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),process.env.NODE_ENV!=="production"&&t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,r){if(t&&t!==this&&t.parent!==this&&r&&r.parent===this){var n=this._children,i=n.indexOf(r);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,r){var n=Ie(this._children,t);return n>=0&&this.replaceAt(r,n),this},e.prototype.replaceAt=function(t,r){var n=this._children,i=n[r];if(t&&t!==this&&t.parent!==this&&t!==i){n[r]=t,i.parent=null;var a=this.__zr;a&&i.removeSelfFromZr(a),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var r=this.__zr;r&&r!==t.__zr&&t.addSelfToZr(r),r&&r.refresh()},e.prototype.remove=function(t){var r=this.__zr,n=this._children,i=Ie(n,t);return i<0?this:(n.splice(i,1),t.parent=null,r&&t.removeSelfFromZr(r),r&&r.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,r=this.__zr,n=0;n<t.length;n++){var i=t[n];r&&i.removeSelfFromZr(r),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,r){for(var n=this._children,i=0;i<n.length;i++){var a=n[i];t.call(r,a,i)}return this},e.prototype.traverse=function(t,r){for(var n=0;n<this._children.length;n++){var i=this._children[n],a=t.call(r,i);i.isGroup&&!a&&i.traverse(t,r)}return this},e.prototype.addSelfToZr=function(t){A.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){A.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.removeSelfFromZr(t)}},e.prototype.getBoundingRect=function(t){for(var r=new Fe(0,0,0,0),n=t||this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o];if(!(s.ignore||s.invisible)){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(Fe.applyTransform(r,l,u),a=a||r.clone(),a.union(r)):(a=a||l.clone(),a.union(l))}}return a||r},e})(bs);st.prototype.type="group";/*!
16
16
  * ZRender, a high performance 2d drawing library.
17
17
  *
18
18
  * Copyright (c) 2013, Baidu Inc.
@@ -20,29 +20,29 @@
20
20
  *
21
21
  * LICENSE
22
22
  * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
23
- */var na={},Sg={};function SF(t){delete Sg[t]}function bF(t){if(!t)return!1;if(typeof t=="string")return zo(t,1)<Ff;if(t.colorStops){for(var e=t.colorStops,A=0,r=e.length,n=0;n<r;n++)A+=zo(e[n].color,1);return A/=r,A<Ff}return!1}var IF=function(){function t(e,A,r){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=A,this.id=e;var i=new WQ,a=r.renderer||"canvas";if(na[a]||(a=Ge(na)[0]),process.env.NODE_ENV!=="production"&&!na[a])throw new Error("Renderer '"+a+"' is not imported. Please import it first.");r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var o=new na[a](A,i,r,e),s=r.ssr||o.ssrOnly;this.storage=i,this.painter=o;var l=!Qe.node&&!Qe.worker&&!s?new yF(o.getViewportRoot(),o.root):null,u=r.useCoarsePointer,f=u==null||u==="auto"?Qe.touchEventsSupported:!!u,c=44,h;f&&(h=ye(r.pointerSize,c)),this.handler=new kQ(i,o,l,o.root,h),this.animation=new fF({stage:{update:s?null:function(){return n._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(e){this._disposed||!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},t.prototype.remove=function(e){this._disposed||!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(e,A){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,A),this.refresh())},t.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=bF(e))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(e){this._darkMode=e},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(e){this._disposed||(e||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(e){var A,r=jn();this._needsRefresh&&(A=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(A=!0,this.refreshHoverImmediately());var n=jn();A?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},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&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},t.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.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(e){this._disposed||this.handler.setCursorStyle(e)},t.prototype.findHover=function(e,A){if(!this._disposed)return this.handler.findHover(e,A)},t.prototype.on=function(e,A,r){return this._disposed||this.handler.on(e,A,r),this},t.prototype.off=function(e,A){this._disposed||this.handler.off(e,A)},t.prototype.trigger=function(e,A){this._disposed||this.handler.trigger(e,A)},t.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),A=0;A<e.length;A++)e[A]instanceof sA&&e[A].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){this._disposed||(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,SF(this.id))},t}();function bg(t,e){var A=new IF(xd(),t,e);return Sg[A.id]=A,A}function TF(t,e){na[t]=e}var Ig=1e-4,Tg=20;function DF(t){return t.replace(/^\s+|\s+$/g,"")}function dA(t,e,A,r){var n=e[0],i=e[1],a=A[0],o=A[1],s=i-n,l=o-a;if(s===0)return l===0?a:(a+o)/2;if(r)if(s>0){if(t<=n)return a;if(t>=i)return o}else{if(t>=n)return a;if(t<=i)return o}else{if(t===n)return a;if(t===i)return o}return(t-n)/s*l+a}function aA(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return ae(t)?DF(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):t==null?NaN:+t}function rA(t,e,A){return e==null&&(e=10),e=Math.min(Math.max(0,e),Tg),t=(+t).toFixed(e),A?t:+t}function ia(t){return t.sort(function(e,A){return e-A}),t}function Gt(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var e=1,A=0;A<15;A++,e*=10)if(Math.round(t*e)/e===t)return A}return Of(t)}function Of(t){var e=t.toString().toLowerCase(),A=e.indexOf("e"),r=A>0?+e.slice(A+1):0,n=A>0?A:e.length,i=e.indexOf("."),a=i<0?0:n-1-i;return Math.max(0,a-r)}function Dg(t,e){var A=Math.log,r=Math.LN10,n=Math.floor(A(t[1]-t[0])/r),i=Math.round(A(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-n+i,0),20);return isFinite(a)?a:20}function LF(t,e){var A=Math.max(Gt(t),Gt(e)),r=t+e;return A>Tg?r:rA(r,A)}function Lg(t){var e=Math.PI*2;return(t%e+e)%e}function ts(t){return t>-Ig&&t<Ig}var MF=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function zt(t){if(t instanceof Date)return t;if(ae(t)){var e=MF.exec(t);if(!e)return new Date(NaN);if(e[8]){var A=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(A-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,A,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(t==null)return new Date(NaN);return new Date(Math.round(t))}function HF(t){return Math.pow(10,rs(t))}function rs(t){if(t===0)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function Mg(t,e){var A=rs(t),r=Math.pow(10,A),n=t/r,i;return e?n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10:n<1?i=1:n<2?i=2:n<3?i=3:n<5?i=5:i=10,t=i*r,A>=-20?+t.toFixed(A<0?-A:0):t}function ns(t){var e=parseFloat(t);return e==t&&(e!==0||!ae(t)||t.indexOf("x")<=0)?e:NaN}function Hg(t){return!isNaN(ns(t))}function Og(){return Math.round(Math.random()*9)}function Rg(t,e){return e===0?t:Rg(e,t%e)}function Pg(t,e){return t==null?e:e==null?t:t*e/Rg(t,e)}var OF="[ECharts] ",Ng={},RF=typeof console<"u"&&console.warn&&console.log;function is(t,e,A){if(RF){if(A){if(Ng[e])return;Ng[e]=!0}console[t](OF+e)}}function PF(t,e){is("log",t,e)}function gA(t,e){is("warn",t,e)}function pA(t,e){is("error",t,e)}function pt(t){process.env.NODE_ENV!=="production"&&is("warn","DEPRECATED: "+t,!0)}function lA(t,e,A){process.env.NODE_ENV!=="production"&&pt((A?"["+A+"]":"")+(t+" is deprecated, use "+e+" instead."))}function as(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var A="";if(process.env.NODE_ENV!=="production"){var r=function(n){return n===void 0?"undefined":n===1/0?"Infinity":n===-1/0?"-Infinity":zi(n)?"NaN":n instanceof Date?"Date("+n.toISOString()+")":de(n)?"function () { ... }":nQ(n)?n+"":null};A=he(t,function(n){if(ae(n))return n;var i=r(n);if(i!=null)return i;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(n,function(a,o){var s=r(o);return s??o})}catch{return"?"}else return"?"}).join(" ")}return A}function MA(t){throw new Error(t)}function kg(t,e,A){return(e-t)*A+t}var Kg="series\0",NF="\0_ec_\0";function UA(t){return t instanceof Array?t:t==null?[]:[t]}function Vg(t,e,A){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,n=A.length;r<n;r++){var i=A[r];!t.emphasis[e].hasOwnProperty(i)&&t[e].hasOwnProperty(i)&&(t.emphasis[e][i]=t[e][i])}}}var Gg=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function aa(t){return fe(t)&&!re(t)&&!(t instanceof Date)?t.value:t}function kF(t){return fe(t)&&!(t instanceof Array)}function KF(t,e,A){var r=A==="normalMerge",n=A==="replaceMerge",i=A==="replaceAll";t=t||[],e=(e||[]).slice();var a=Be();S(e,function(s,l){if(!fe(s)){e[l]=null;return}process.env.NODE_ENV!=="production"&&(s.id!=null&&!Yg(s.id)&&Wg(s.id),s.name!=null&&!Yg(s.name)&&Wg(s.name))});var o=VF(t,a,A);return(r||n)&&GF(o,t,a,e),r&&zF(o,e),r||n?WF(o,e,n):i&&YF(o,e),XF(o),o}function VF(t,e,A){var r=[];if(A==="replaceAll")return r;for(var n=0;n<t.length;n++){var i=t[n];i&&i.id!=null&&e.set(i.id,n),r.push({existing:A==="replaceMerge"||ri(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}function GF(t,e,A,r){S(r,function(n,i){if(!(!n||n.id==null)){var a=oa(n.id),o=A.get(a);if(o!=null){var s=t[o];Ce(!s.newOption,'Duplicated option on id "'+a+'".'),s.newOption=n,s.existing=e[o],r[i]=null}}})}function zF(t,e){S(e,function(A,r){if(!(!A||A.name==null))for(var n=0;n<t.length;n++){var i=t[n].existing;if(!t[n].newOption&&i&&(i.id==null||A.id==null)&&!ri(A)&&!ri(i)&&zg("name",i,A)){t[n].newOption=A,e[r]=null;return}}})}function WF(t,e,A){S(e,function(r){if(r){for(var n,i=0;(n=t[i])&&(n.newOption||ri(n.existing)||n.existing&&r.id!=null&&!zg("id",r,n.existing));)i++;n?(n.newOption=r,n.brandNew=A):t.push({newOption:r,brandNew:A,existing:null,keyInfo:null}),i++}})}function YF(t,e){S(e,function(A){t.push({newOption:A,brandNew:!0,existing:null,keyInfo:null})})}function XF(t){var e=Be();S(t,function(A){var r=A.existing;r&&e.set(r.id,A)}),S(t,function(A){var r=A.newOption;Ce(!r||r.id==null||!e.get(r.id)||e.get(r.id)===A,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&e.set(r.id,A),!A.keyInfo&&(A.keyInfo={})}),S(t,function(A,r){var n=A.existing,i=A.newOption,a=A.keyInfo;if(fe(i)){if(a.name=i.name!=null?oa(i.name):n?n.name:Kg+r,n)a.id=oa(n.id);else if(i.id!=null)a.id=oa(i.id);else{var o=0;do a.id="\0"+a.name+"\0"+o++;while(e.get(a.id))}e.set(a.id,A)}})}function zg(t,e,A){var r=St(e[t],null),n=St(A[t],null);return r!=null&&n!=null&&r===n}function oa(t){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error;return St(t,"")}function St(t,e){return t==null?e:ae(t)?t:ze(t)||Uo(t)?t+"":e}function Wg(t){process.env.NODE_ENV!=="production"&&gA("`"+t+"` is invalid id or name. Must be a string or number.")}function Yg(t){return Uo(t)||Hg(t)}function Rf(t){var e=t.name;return!!(e&&e.indexOf(Kg))}function ri(t){return t&&t.id!=null&&oa(t.id).indexOf(NF)===0}function ZF(t,e,A){S(t,function(r){var n=r.newOption;fe(n)&&(r.keyInfo.mainType=e,r.keyInfo.subType=JF(e,n,r.existing,A))})}function JF(t,e,A,r){var n=e.type?e.type:A?A.subType:r.determineSubType(t,e);return n}function Xr(t,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return re(e.dataIndex)?he(e.dataIndex,function(A){return t.indexOfRawIndex(A)}):t.indexOfRawIndex(e.dataIndex);if(e.name!=null)return re(e.name)?he(e.name,function(A){return t.indexOfName(A)}):t.indexOfName(e.name)}function Xe(){var t="__ec_inner_"+$F++;return function(e){return e[t]||(e[t]={})}}var $F=Og();function Pf(t,e,A){var r=Nf(e,A),n=r.mainTypeSpecified,i=r.queryOptionMap,a=r.others,o=a,s=A?A.defaultMainType:null;return!n&&s&&i.set(s,{}),i.each(function(l,u){var f=sa(t,u,l,{useDefault:s===u,enableAll:A&&A.enableAll!=null?A.enableAll:!0,enableNone:A&&A.enableNone!=null?A.enableNone:!0});o[u+"Models"]=f.models,o[u+"Model"]=f.models[0]}),o}function Nf(t,e){var A;if(ae(t)){var r={};r[t+"Index"]=0,A=r}else A=t;var n=Be(),i={},a=!1;return S(A,function(o,s){if(s==="dataIndex"||s==="dataIndexInside"){i[s]=o;return}var l=s.match(/^(\w+)(Index|Id|Name)$/)||[],u=l[1],f=(l[2]||"").toLowerCase();if(!(!u||!f||e&&e.includeMainTypes&&Le(e.includeMainTypes,u)<0)){a=a||!!u;var c=n.get(u)||n.set(u,{});c[f]=o}}),{mainTypeSpecified:a,queryOptionMap:n,others:i}}var HA={useDefault:!0,enableAll:!1,enableNone:!1},qF={useDefault:!1,enableAll:!0,enableNone:!0};function sa(t,e,A,r){r=r||HA;var n=A.index,i=A.id,a=A.name,o={models:null,specified:n!=null||i!=null||a!=null};if(!o.specified){var s=void 0;return o.models=r.useDefault&&(s=t.getComponent(e))?[s]:[],o}return n==="none"||n===!1?(Ce(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),o.models=[],o):(n==="all"&&(Ce(r.enableAll,'`"all"` is not a valid value on index option.'),n=i=a=null),o.models=t.queryComponents({mainType:e,index:n,id:i,name:a}),o)}function Xg(t,e,A){t.setAttribute?t.setAttribute(e,A):t[e]=A}function jF(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function ex(t){return t==="auto"?Qe.domSupported?"html":"richText":t||"html"}function Zg(t,e,A,r,n){var i=e==null||e==="auto";if(r==null)return r;if(ze(r)){var a=kg(A||0,r,n);return rA(a,i?Math.max(Gt(A||0),Gt(r)):e)}else{if(ae(r))return n<1?A:r;for(var o=[],s=A,l=r,u=Math.max(s?s.length:0,l.length),f=0;f<u;++f){var c=t.getDimensionInfo(f);if(c&&c.type==="ordinal")o[f]=(n<1&&s?s:l)[f];else{var h=s&&s[f]?s[f]:0,v=l[f],a=kg(h,v,n);o[f]=rA(a,i?Math.max(Gt(h),Gt(v)):e)}}return o}}var Ax=".",Zr="___EC__COMPONENT__CONTAINER___",Jg="___EC__EXTENDED_CLASS___";function bt(t){var e={main:"",sub:""};if(t){var A=t.split(Ax);e.main=A[0]||"",e.sub=A[1]||""}return e}function tx(t){Ce(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function rx(t){return!!(t&&t[Jg])}function kf(t,e){t.$constructor=t,t.extend=function(A){process.env.NODE_ENV!=="production"&&S(e,function(i){A[i]||console.warn("Method `"+i+"` should be implemented"+(A.type?" in "+A.type:"")+".")});var r=this,n;return nx(r)?n=function(i){Z(a,i);function a(){return i.apply(this,arguments)||this}return a}(r):(n=function(){(A.$constructor||r).apply(this,arguments)},AQ(n,this)),Y(n.prototype,A),n[Jg]=!0,n.extend=this.extend,n.superCall=ox,n.superApply=sx,n.superClass=r,n}}function nx(t){return de(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function $g(t,e){t.extend=e.extend}var ix=Math.round(Math.random()*10);function ax(t){var e=["__\0is_clz",ix++].join("_");t.prototype[e]=!0,process.env.NODE_ENV!=="production"&&Ce(!t.isInstance,'The method "is" can not be defined.'),t.isInstance=function(A){return!!(A&&A[e])}}function ox(t,e){for(var A=[],r=2;r<arguments.length;r++)A[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,A)}function sx(t,e,A){return this.superClass.prototype[e].apply(t,A)}function os(t){var e={};t.registerClass=function(r){var n=r.type||r.prototype.type;if(n){tx(n),r.prototype.type=n;var i=bt(n);if(!i.sub)process.env.NODE_ENV!=="production"&&e[i.main]&&console.warn(i.main+" exists."),e[i.main]=r;else if(i.sub!==Zr){var a=A(i);a[i.sub]=r}}return r},t.getClass=function(r,n,i){var a=e[r];if(a&&a[Zr]&&(a=n?a[n]:null),i&&!a)throw new Error(n?"Component "+r+"."+(n||"")+" is used but not imported.":r+".type should be specified.");return a},t.getClassesByMainType=function(r){var n=bt(r),i=[],a=e[n.main];return a&&a[Zr]?S(a,function(o,s){s!==Zr&&i.push(o)}):i.push(a),i},t.hasClass=function(r){var n=bt(r);return!!e[n.main]},t.getAllClassMainTypes=function(){var r=[];return S(e,function(n,i){r.push(i)}),r},t.hasSubTypes=function(r){var n=bt(r),i=e[n.main];return i&&i[Zr]};function A(r){var n=e[r.main];return(!n||!n[Zr])&&(n=e[r.main]={},n[Zr]=!0),n}}function la(t,e){for(var A=0;A<t.length;A++)t[A][1]||(t[A][1]=t[A][0]);return e=e||!1,function(r,n,i){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(n&&Le(n,s)>=0||i&&Le(i,s)<0)){var l=r.getShallow(s,e);l!=null&&(a[t[o][0]]=l)}}return a}}var lx=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ux=la(lx),fx=function(){function t(){}return t.prototype.getAreaStyle=function(e,A){return ux(this,e,A)},t}(),Kf=new qi(50);function cx(t){if(typeof t=="string"){var e=Kf.get(t);return e&&e.image}else return t}function qg(t,e,A,r,n){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!A)return e;var i=Kf.get(t),a={hostEl:A,cb:r,cbPayload:n};return i?(e=i.image,!ss(e)&&i.pending.push(a)):(e=On.loadImage(t,jg,jg),e.__zrImageSrc=t,Kf.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}else return t;else return e}function jg(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var A=t.pending[e],r=A.cb;r&&r(this,A.cbPayload),A.hostEl.dirty()}t.pending.length=0}function ss(t){return t&&t.width&&t.height}var Vf=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function hx(t,e,A,r,n,i){if(!A){t.text="",t.isTruncated=!1;return}var a=(e+"").split(`
24
- `);i=ep(A,r,n,i);for(var o=!1,s={},l=0,u=a.length;l<u;l++)Ap(s,a[l],i),a[l]=s.textLine,o=o||s.isTruncated;t.text=a.join(`
25
- `),t.isTruncated=o}function ep(t,e,A,r){r=r||{};var n=Y({},r);n.font=e,A=ye(A,"..."),n.maxIterations=ye(r.maxIterations,2);var i=n.minChar=ye(r.minChar,0);n.cnCharWidth=GA("国",e);var a=n.ascCharWidth=GA("a",e);n.placeholder=ye(r.placeholder,"");for(var o=t=Math.max(0,t-1),s=0;s<i&&o>=a;s++)o-=a;var l=GA(A,e);return l>o&&(A="",l=0),o=t-l,n.ellipsis=A,n.ellipsisWidth=l,n.contentWidth=o,n.containerWidth=t,n}function Ap(t,e,A){var r=A.containerWidth,n=A.font,i=A.contentWidth;if(!r){t.textLine="",t.isTruncated=!1;return}var a=GA(e,n);if(a<=r){t.textLine=e,t.isTruncated=!1;return}for(var o=0;;o++){if(a<=i||o>=A.maxIterations){e+=A.ellipsis;break}var s=o===0?vx(e,i,A.ascCharWidth,A.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=GA(e,n)}e===""&&(e=A.placeholder),t.textLine=e,t.isTruncated=!0}function vx(t,e,A,r){for(var n=0,i=0,a=t.length;i<a&&n<e;i++){var o=t.charCodeAt(i);n+=0<=o&&o<=127?A:r}return i}function dx(t,e){t!=null&&(t+="");var A=e.overflow,r=e.padding,n=e.font,i=A==="truncate",a=If(n),o=ye(e.lineHeight,a),s=!!e.backgroundColor,l=e.lineOverflow==="truncate",u=!1,f=e.width,c;f!=null&&(A==="break"||A==="breakAll")?c=t?rp(t,e.font,f,A==="breakAll",0).lines:[]:c=t?t.split(`
26
- `):[];var h=c.length*o,v=ye(e.height,h);if(h>v&&l){var d=Math.floor(v/o);u=u||c.length>d,c=c.slice(0,d)}if(t&&i&&f!=null)for(var g=ep(f,n,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),p={},B=0;B<c.length;B++)Ap(p,c[B],g),c[B]=p.textLine,u=u||p.isTruncated;for(var y=v,m=0,B=0;B<c.length;B++)m=Math.max(GA(c[B],n),m);f==null&&(f=m);var _=m;return r&&(y+=r[0]+r[2],_+=r[1]+r[3],f+=r[1]+r[3]),s&&(_=f),{lines:c,height:v,outerWidth:_,outerHeight:y,lineHeight:o,calculatedLineHeight:a,contentWidth:m,contentHeight:h,width:f,isTruncated:u}}var gx=function(){function t(){}return t}(),tp=function(){function t(e){this.tokens=[],e&&(this.tokens=e)}return t}(),px=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return t}();function Bx(t,e){var A=new px;if(t!=null&&(t+=""),!t)return A;for(var r=e.width,n=e.height,i=e.overflow,a=(i==="break"||i==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:i==="breakAll"}:null,o=Vf.lastIndex=0,s;(s=Vf.exec(t))!=null;){var l=s.index;l>o&&Gf(A,t.substring(o,l),e,a),Gf(A,s[2],e,a,s[1]),o=Vf.lastIndex}o<t.length&&Gf(A,t.substring(o,t.length),e,a);var u=[],f=0,c=0,h=e.padding,v=i==="truncate",d=e.lineOverflow==="truncate",g={};function p(ie,ve,O){ie.width=ve,ie.lineHeight=O,f+=O,c=Math.max(c,ve)}e:for(var B=0;B<A.lines.length;B++){for(var y=A.lines[B],m=0,_=0,C=0;C<y.tokens.length;C++){var Q=y.tokens[C],F=Q.styleName&&e.rich[Q.styleName]||{},E=Q.textPadding=F.padding,U=E?E[1]+E[3]:0,x=Q.font=F.font||e.font;Q.contentHeight=If(x);var b=ye(F.height,Q.contentHeight);if(Q.innerHeight=b,E&&(b+=E[0]+E[2]),Q.height=b,Q.lineHeight=kn(F.lineHeight,e.lineHeight,b),Q.align=F&&F.align||e.align,Q.verticalAlign=F&&F.verticalAlign||"middle",d&&n!=null&&f+Q.lineHeight>n){var I=A.lines.length;C>0?(y.tokens=y.tokens.slice(0,C),p(y,_,m),A.lines=A.lines.slice(0,B+1)):A.lines=A.lines.slice(0,B),A.isTruncated=A.isTruncated||A.lines.length<I;break e}var T=F.width,D=T==null||T==="auto";if(typeof T=="string"&&T.charAt(T.length-1)==="%")Q.percentWidth=T,u.push(Q),Q.contentWidth=GA(Q.text,x);else{if(D){var R=F.backgroundColor,$=R&&R.image;$&&($=cx($),ss($)&&(Q.width=Math.max(Q.width,$.width*b/$.height)))}var G=v&&r!=null?r-_:null;G!=null&&G<Q.width?!D||G<U?(Q.text="",Q.width=Q.contentWidth=0):(hx(g,Q.text,G-U,x,e.ellipsis,{minChar:e.truncateMinChar}),Q.text=g.text,A.isTruncated=A.isTruncated||g.isTruncated,Q.width=Q.contentWidth=GA(Q.text,x)):Q.contentWidth=GA(Q.text,x)}Q.width+=U,_+=Q.width,F&&(m=Math.max(m,Q.lineHeight))}p(y,_,m)}A.outerWidth=A.width=ye(r,c),A.outerHeight=A.height=ye(n,f),A.contentHeight=f,A.contentWidth=c,h&&(A.outerWidth+=h[1]+h[3],A.outerHeight+=h[0]+h[2]);for(var B=0;B<u.length;B++){var Q=u[B],X=Q.percentWidth;Q.width=parseInt(X,10)/100*A.width}return A}function Gf(t,e,A,r,n){var i=e==="",a=n&&A.rich[n]||{},o=t.lines,s=a.font||A.font,l=!1,u,f;if(r){var c=a.padding,h=c?c[1]+c[3]:0;if(a.width!=null&&a.width!=="auto"){var v=cr(a.width,r.width)+h;o.length>0&&v+r.accumWidth>r.width&&(u=e.split(`
27
- `),l=!0),r.accumWidth=v}else{var d=rp(e,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=d.accumWidth+h,f=d.linesWidths,u=d.lines}}else u=e.split(`
28
- `);for(var g=0;g<u.length;g++){var p=u[g],B=new gx;if(B.styleName=n,B.text=p,B.isLineHolder=!p&&!i,typeof a.width=="number"?B.width=a.width:B.width=f?f[g]:GA(p,s),!g&&!l){var y=(o[o.length-1]||(o[0]=new tp)).tokens,m=y.length;m===1&&y[0].isLineHolder?y[0]=B:(p||!m||i)&&y.push(B)}else o.push(new tp([B]))}}function yx(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var mx=Pn(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function Cx(t){return yx(t)?!!mx[t]:!0}function rp(t,e,A,r,n){for(var i=[],a=[],o="",s="",l=0,u=0,f=0;f<t.length;f++){var c=t.charAt(f);if(c===`
29
- `){s&&(o+=s,u+=l),i.push(o),a.push(u),o="",s="",l=0,u=0;continue}var h=GA(c,e),v=r?!1:!Cx(c);if(i.length?u+h>A:n+u+h>A){u?(o||s)&&(v?(o||(o=s,s="",l=0,u=l),i.push(o),a.push(u-l),s+=c,l+=h,o="",u=l):(s&&(o+=s,s="",l=0),i.push(o),a.push(u),o=c,u=h)):v?(i.push(s),a.push(l),s=c,l=h):(i.push(c),a.push(h));continue}u+=h,v?(s+=c,l+=h):(s&&(o+=s,s="",l=0),o+=c)}return!i.length&&!o&&(o=t,s="",l=0),s&&(o+=s),o&&(i.push(o),a.push(u)),i.length===1&&(u+=n),{accumWidth:u,lines:i,linesWidths:a}}var zf="__zr_style_"+Math.round(Math.random()*10),Jr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ls={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Jr[zf]=!0;var np=["z","z2","invisible"],_x=["invisible"],Qx=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype._init=function(A){for(var r=Ge(A),n=0;n<r.length;n++){var i=r[n];i==="style"?this.useStyle(A[i]):t.prototype.attrKV.call(this,i,A[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(A,r,n,i){var a=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&Fx(this,A,r)||a&&!a[0]&&!a[3])return!1;if(n&&this.__clipPaths){for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1}if(i&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},e.prototype.contain=function(A,r){return this.rectContain(A,r)},e.prototype.traverse=function(A,r){A.call(r,this)},e.prototype.rectContain=function(A,r){var n=this.transformCoordToLocal(A,r),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var A=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,n=this.getBoundingRect(),i=this.style,a=i.shadowBlur||0,o=i.shadowOffsetX||0,s=i.shadowOffsetY||0;A=this._paintRect||(this._paintRect=new Me(0,0,0,0)),r?Me.applyTransform(A,n,r):A.copy(n),(a||o||s)&&(A.width+=a*2+Math.abs(o),A.height+=a*2+Math.abs(s),A.x=Math.min(A.x,A.x+o-a),A.y=Math.min(A.y,A.y+s-a));var l=this.dirtyRectTolerance;A.isZero()||(A.x=Math.floor(A.x-l),A.y=Math.floor(A.y-l),A.width=Math.ceil(A.width+1+l*2),A.height=Math.ceil(A.height+1+l*2))}return A},e.prototype.setPrevPaintRect=function(A){A?(this._prevPaintRect=this._prevPaintRect||new Me(0,0,0,0),this._prevPaintRect.copy(A)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(A){return this.animate("style",A)},e.prototype.updateDuringAnimation=function(A){A==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(A,r){A!=="style"?t.prototype.attrKV.call(this,A,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(A,r){return typeof A=="string"?this.style[A]=r:Y(this.style,A),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(A){A||this.markRedraw(),this.__dirty|=$i,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&$i)},e.prototype.styleUpdated=function(){this.__dirty&=~$i},e.prototype.createStyle=function(A){return bo(Jr,A)},e.prototype.useStyle=function(A){A[zf]||(A=this.createStyle(A)),this.__inHover?this.__hoverStyle=A:this.style=A,this.dirtyStyle()},e.prototype.isStyleObject=function(A){return A[zf]},e.prototype._innerSaveToNormal=function(A){t.prototype._innerSaveToNormal.call(this,A);var r=this._normalState;A.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(A,r,np)},e.prototype._applyStateObj=function(A,r,n,i,a,o){t.prototype._applyStateObj.call(this,A,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.style?a?i?l=r.style:(l=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(l,r.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:n.style),this._mergeStyle(l,r.style)):s&&(l=n.style),l)if(a){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var f=Ge(u),c=0;c<f.length;c++){var h=f[c];h in l&&(l[h]=l[h],this.style[h]=u[h])}for(var v=Ge(l),c=0;c<v.length;c++){var h=v[c];this.style[h]=this.style[h]}this._transitionState(A,{style:l},o,this.getAnimationStyleProps())}else this.useStyle(l);for(var d=this.__inHover?_x:np,c=0;c<d.length;c++){var h=d[c];r&&r[h]!=null?this[h]=r[h]:s&&n[h]!=null&&(this[h]=n[h])}},e.prototype._mergeStates=function(A){for(var r=t.prototype._mergeStates.call(this,A),n,i=0;i<A.length;i++){var a=A[i];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(A,r){return Y(A,r),A},e.prototype.getAnimationStyleProps=function(){return ls},e.initDefaultProps=function(){var A=e.prototype;A.type="displayable",A.invisible=!1,A.z=0,A.z2=0,A.zlevel=0,A.culling=!1,A.cursor="pointer",A.rectHover=!1,A.incremental=!1,A._rect=null,A.dirtyRectTolerance=0,A.__dirty=VA|$i}(),e}(Eg),Wf=new Me(0,0,0,0),Yf=new Me(0,0,0,0);function Fx(t,e,A){return Wf.copy(t.getBoundingRect()),t.transform&&Wf.applyTransform(t.transform),Yf.width=e,Yf.height=A,!Wf.intersect(Yf)}const ua=Qx;var jA=Math.min,et=Math.max,Xf=Math.sin,Zf=Math.cos,$r=Math.PI*2,us=Kn(),fs=Kn(),cs=Kn();function ip(t,e,A,r,n,i){n[0]=jA(t,A),n[1]=jA(e,r),i[0]=et(t,A),i[1]=et(e,r)}var ap=[],op=[];function xx(t,e,A,r,n,i,a,o,s,l){var u=eg,f=iA,c=u(t,A,n,a,ap);s[0]=1/0,s[1]=1/0,l[0]=-1/0,l[1]=-1/0;for(var h=0;h<c;h++){var v=f(t,A,n,a,ap[h]);s[0]=jA(v,s[0]),l[0]=et(v,l[0])}c=u(e,r,i,o,op);for(var h=0;h<c;h++){var d=f(e,r,i,o,op[h]);s[1]=jA(d,s[1]),l[1]=et(d,l[1])}s[0]=jA(t,s[0]),l[0]=et(t,l[0]),s[0]=jA(a,s[0]),l[0]=et(a,l[0]),s[1]=jA(e,s[1]),l[1]=et(e,l[1]),s[1]=jA(o,s[1]),l[1]=et(o,l[1])}function Ex(t,e,A,r,n,i,a,o){var s=rg,l=vA,u=et(jA(s(t,A,n),1),0),f=et(jA(s(e,r,i),1),0),c=l(t,A,n,u),h=l(e,r,i,f);a[0]=jA(t,n,c),a[1]=jA(e,i,h),o[0]=et(t,n,c),o[1]=et(e,i,h)}function Ux(t,e,A,r,n,i,a,o,s){var l=Gn,u=zn,f=Math.abs(n-i);if(f%$r<1e-4&&f>1e-4){o[0]=t-A,o[1]=e-r,s[0]=t+A,s[1]=e+r;return}if(us[0]=Zf(n)*A+t,us[1]=Xf(n)*r+e,fs[0]=Zf(i)*A+t,fs[1]=Xf(i)*r+e,l(o,us,fs),u(s,us,fs),n=n%$r,n<0&&(n=n+$r),i=i%$r,i<0&&(i=i+$r),n>i&&!a?i+=$r:n<i&&a&&(n+=$r),a){var c=i;i=n,n=c}for(var h=0;h<i;h+=Math.PI/2)h>n&&(cs[0]=Zf(h)*A+t,cs[1]=Xf(h)*r+e,l(o,cs,o),u(s,cs,s))}var Oe={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},qr=[],jr=[],It=[],hr=[],Tt=[],Dt=[],Jf=Math.min,$f=Math.max,en=Math.cos,An=Math.sin,Wt=Math.abs,qf=Math.PI,vr=qf*2,jf=typeof Float32Array<"u",fa=[];function ec(t){var e=Math.round(t/qf*1e8)/1e8;return e%2*qf}function Sx(t,e){var A=ec(t[0]);A<0&&(A+=vr);var r=A-t[0],n=t[1];n+=r,!e&&n-A>=vr?n=A+vr:e&&A-n>=vr?n=A-vr:!e&&A>n?n=A+(vr-ec(A-n)):e&&A<n&&(n=A-(vr-ec(n-A))),t[0]=A,t[1]=n}var bx=function(){function t(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(e,A,r){r=r||0,r>0&&(this._ux=Wt(r/jo/e)||0,this._uy=Wt(r/jo/A)||0)},t.prototype.setDPR=function(e){this.dpr=e},t.prototype.setContext=function(e){this._ctx=e},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(e,A){return this._drawPendingPt(),this.addData(Oe.M,e,A),this._ctx&&this._ctx.moveTo(e,A),this._x0=e,this._y0=A,this._xi=e,this._yi=A,this},t.prototype.lineTo=function(e,A){var r=Wt(e-this._xi),n=Wt(A-this._yi),i=r>this._ux||n>this._uy;if(this.addData(Oe.L,e,A),this._ctx&&i&&this._ctx.lineTo(e,A),i)this._xi=e,this._yi=A,this._pendingPtDist=0;else{var a=r*r+n*n;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=A,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(e,A,r,n,i,a){return this._drawPendingPt(),this.addData(Oe.C,e,A,r,n,i,a),this._ctx&&this._ctx.bezierCurveTo(e,A,r,n,i,a),this._xi=i,this._yi=a,this},t.prototype.quadraticCurveTo=function(e,A,r,n){return this._drawPendingPt(),this.addData(Oe.Q,e,A,r,n),this._ctx&&this._ctx.quadraticCurveTo(e,A,r,n),this._xi=r,this._yi=n,this},t.prototype.arc=function(e,A,r,n,i,a){this._drawPendingPt(),fa[0]=n,fa[1]=i,Sx(fa,a),n=fa[0],i=fa[1];var o=i-n;return this.addData(Oe.A,e,A,r,r,n,o,0,a?0:1),this._ctx&&this._ctx.arc(e,A,r,n,i,a),this._xi=en(i)*r+e,this._yi=An(i)*r+A,this},t.prototype.arcTo=function(e,A,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,A,r,n,i),this},t.prototype.rect=function(e,A,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,A,r,n),this.addData(Oe.R,e,A,r,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Oe.Z);var e=this._ctx,A=this._x0,r=this._y0;return e&&e.closePath(),this._xi=A,this._yi=r,this},t.prototype.fill=function(e){e&&e.fill(),this.toStatic()},t.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(e){var A=e.length;!(this.data&&this.data.length===A)&&jf&&(this.data=new Float32Array(A));for(var r=0;r<A;r++)this.data[r]=e[r];this._len=A},t.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var A=e.length,r=0,n=this._len,i=0;i<A;i++)r+=e[i].len();jf&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+r));for(var i=0;i<A;i++)for(var a=e[i].data,o=0;o<a.length;o++)this.data[n++]=a[o];this._len=n},t.prototype.addData=function(e,A,r,n,i,a,o,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var f=0;f<arguments.length;f++)u[this._len++]=arguments[f]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],A=0;A<this._len;A++)e[A]=this.data[A];this.data=e}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,jf&&this._len>11&&(this.data=new Float32Array(e)))}},t.prototype.getBoundingRect=function(){It[0]=It[1]=Tt[0]=Tt[1]=Number.MAX_VALUE,hr[0]=hr[1]=Dt[0]=Dt[1]=-Number.MAX_VALUE;var e=this.data,A=0,r=0,n=0,i=0,a;for(a=0;a<this._len;){var o=e[a++],s=a===1;switch(s&&(A=e[a],r=e[a+1],n=A,i=r),o){case Oe.M:A=n=e[a++],r=i=e[a++],Tt[0]=n,Tt[1]=i,Dt[0]=n,Dt[1]=i;break;case Oe.L:ip(A,r,e[a],e[a+1],Tt,Dt),A=e[a++],r=e[a++];break;case Oe.C:xx(A,r,e[a++],e[a++],e[a++],e[a++],e[a],e[a+1],Tt,Dt),A=e[a++],r=e[a++];break;case Oe.Q:Ex(A,r,e[a++],e[a++],e[a],e[a+1],Tt,Dt),A=e[a++],r=e[a++];break;case Oe.A:var l=e[a++],u=e[a++],f=e[a++],c=e[a++],h=e[a++],v=e[a++]+h;a+=1;var d=!e[a++];s&&(n=en(h)*f+l,i=An(h)*c+u),Ux(l,u,f,c,h,v,d,Tt,Dt),A=en(v)*f+l,r=An(v)*c+u;break;case Oe.R:n=A=e[a++],i=r=e[a++];var g=e[a++],p=e[a++];ip(n,i,n+g,i+p,Tt,Dt);break;case Oe.Z:A=n,r=i;break}Gn(It,It,Tt),zn(hr,hr,Dt)}return a===0&&(It[0]=It[1]=hr[0]=hr[1]=0),new Me(It[0],It[1],hr[0]-It[0],hr[1]-It[1])},t.prototype._calculateLength=function(){var e=this.data,A=this._len,r=this._ux,n=this._uy,i=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,f=0,c=0;c<A;){var h=e[c++],v=c===1;v&&(i=e[c],a=e[c+1],o=i,s=a);var d=-1;switch(h){case Oe.M:i=o=e[c++],a=s=e[c++];break;case Oe.L:{var g=e[c++],p=e[c++],B=g-i,y=p-a;(Wt(B)>r||Wt(y)>n||c===A-1)&&(d=Math.sqrt(B*B+y*y),i=g,a=p);break}case Oe.C:{var m=e[c++],_=e[c++],g=e[c++],p=e[c++],C=e[c++],Q=e[c++];d=YQ(i,a,m,_,g,p,C,Q,10),i=C,a=Q;break}case Oe.Q:{var m=e[c++],_=e[c++],g=e[c++],p=e[c++];d=ZQ(i,a,m,_,g,p,10),i=g,a=p;break}case Oe.A:var F=e[c++],E=e[c++],U=e[c++],x=e[c++],b=e[c++],I=e[c++],T=I+b;c+=1,v&&(o=en(b)*U+F,s=An(b)*x+E),d=$f(U,x)*Jf(vr,Math.abs(I)),i=en(T)*U+F,a=An(T)*x+E;break;case Oe.R:{o=i=e[c++],s=a=e[c++];var D=e[c++],R=e[c++];d=D*2+R*2;break}case Oe.Z:{var B=o-i,y=s-a;d=Math.sqrt(B*B+y*y),i=o,a=s;break}}d>=0&&(l[f++]=d,u+=d)}return this._pathLen=u,u},t.prototype.rebuildPath=function(e,A){var r=this.data,n=this._ux,i=this._uy,a=this._len,o,s,l,u,f,c,h=A<1,v,d,g=0,p=0,B,y=0,m,_;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,d=this._pathLen,B=A*d,!B)))e:for(var C=0;C<a;){var Q=r[C++],F=C===1;switch(F&&(l=r[C],u=r[C+1],o=l,s=u),Q!==Oe.L&&y>0&&(e.lineTo(m,_),y=0),Q){case Oe.M:o=l=r[C++],s=u=r[C++],e.moveTo(l,u);break;case Oe.L:{f=r[C++],c=r[C++];var E=Wt(f-l),U=Wt(c-u);if(E>n||U>i){if(h){var x=v[p++];if(g+x>B){var b=(B-g)/x;e.lineTo(l*(1-b)+f*b,u*(1-b)+c*b);break e}g+=x}e.lineTo(f,c),l=f,u=c,y=0}else{var I=E*E+U*U;I>y&&(m=f,_=c,y=I)}break}case Oe.C:{var T=r[C++],D=r[C++],R=r[C++],$=r[C++],G=r[C++],X=r[C++];if(h){var x=v[p++];if(g+x>B){var b=(B-g)/x;No(l,T,R,G,b,qr),No(u,D,$,X,b,jr),e.bezierCurveTo(qr[1],jr[1],qr[2],jr[2],qr[3],jr[3]);break e}g+=x}e.bezierCurveTo(T,D,R,$,G,X),l=G,u=X;break}case Oe.Q:{var T=r[C++],D=r[C++],R=r[C++],$=r[C++];if(h){var x=v[p++];if(g+x>B){var b=(B-g)/x;ko(l,T,R,b,qr),ko(u,D,$,b,jr),e.quadraticCurveTo(qr[1],jr[1],qr[2],jr[2]);break e}g+=x}e.quadraticCurveTo(T,D,R,$),l=R,u=$;break}case Oe.A:var ie=r[C++],ve=r[C++],O=r[C++],N=r[C++],H=r[C++],K=r[C++],P=r[C++],se=!r[C++],ne=O>N?O:N,xe=Wt(O-N)>.001,Ie=H+K,V=!1;if(h){var x=v[p++];g+x>B&&(Ie=H+K*(B-g)/x,V=!0),g+=x}if(xe&&e.ellipse?e.ellipse(ie,ve,O,N,P,H,Ie,se):e.arc(ie,ve,ne,H,Ie,se),V)break e;F&&(o=en(H)*O+ie,s=An(H)*N+ve),l=en(Ie)*O+ie,u=An(Ie)*N+ve;break;case Oe.R:o=l=r[C],s=u=r[C+1],f=r[C++],c=r[C++];var le=r[C++],Se=r[C++];if(h){var x=v[p++];if(g+x>B){var AA=B-g;e.moveTo(f,c),e.lineTo(f+Jf(AA,le),c),AA-=le,AA>0&&e.lineTo(f+le,c+Jf(AA,Se)),AA-=Se,AA>0&&e.lineTo(f+$f(le-AA,0),c+Se),AA-=le,AA>0&&e.lineTo(f,c+$f(Se-AA,0));break e}g+=x}e.rect(f,c,le,Se);break;case Oe.Z:if(h){var x=v[p++];if(g+x>B){var b=(B-g)/x;e.lineTo(l*(1-b)+o*b,u*(1-b)+s*b);break e}g+=x}e.closePath(),l=o,u=s}}},t.prototype.clone=function(){var e=new t,A=this.data;return e.data=A.slice?A.slice():Array.prototype.slice.call(A),e._len=this._len,e},t.CMD=Oe,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();const dr=bx;function ni(t,e,A,r,n,i,a){if(n===0)return!1;var o=n,s=0,l=t;if(a>e+o&&a>r+o||a<e-o&&a<r-o||i>t+o&&i>A+o||i<t-o&&i<A-o)return!1;if(t!==A)s=(e-r)/(t-A),l=(t*r-A*e)/(t-A);else return Math.abs(i-t)<=o/2;var u=s*i-a+l,f=u*u/(s*s+1);return f<=o/2*o/2}function Ix(t,e,A,r,n,i,a,o,s,l,u){if(s===0)return!1;var f=s;if(u>e+f&&u>r+f&&u>i+f&&u>o+f||u<e-f&&u<r-f&&u<i-f&&u<o-f||l>t+f&&l>A+f&&l>n+f&&l>a+f||l<t-f&&l<A-f&&l<n-f&&l<a-f)return!1;var c=Ag(t,e,A,r,n,i,a,o,l,u,null);return c<=f/2}function Tx(t,e,A,r,n,i,a,o,s){if(a===0)return!1;var l=a;if(s>e+l&&s>r+l&&s>i+l||s<e-l&&s<r-l&&s<i-l||o>t+l&&o>A+l&&o>n+l||o<t-l&&o<A-l&&o<n-l)return!1;var u=ng(t,e,A,r,n,i,o,s,null);return u<=l/2}var sp=Math.PI*2;function Yt(t){return t%=sp,t<0&&(t+=sp),t}var ca=Math.PI*2;function Dx(t,e,A,r,n,i,a,o,s){if(a===0)return!1;var l=a;o-=t,s-=e;var u=Math.sqrt(o*o+s*s);if(u-l>A||u+l<A)return!1;if(Math.abs(r-n)%ca<1e-4)return!0;if(i){var f=r;r=Yt(n),n=Yt(f)}else r=Yt(r),n=Yt(n);r>n&&(n+=ca);var c=Math.atan2(s,o);return c<0&&(c+=ca),c>=r&&c<=n||c+ca>=r&&c+ca<=n}function tn(t,e,A,r,n,i){if(i>e&&i>r||i<e&&i<r||r===e)return 0;var a=(i-e)/(r-e),o=r<e?1:-1;(a===1||a===0)&&(o=r<e?.5:-.5);var s=a*(A-t)+t;return s===n?1/0:s>n?o:0}var gr=dr.CMD,rn=Math.PI*2,Lx=1e-4;function Mx(t,e){return Math.abs(t-e)<Lx}var SA=[-1,-1,-1],At=[-1,-1];function Hx(){var t=At[0];At[0]=At[1],At[1]=t}function Ox(t,e,A,r,n,i,a,o,s,l){if(l>e&&l>r&&l>i&&l>o||l<e&&l<r&&l<i&&l<o)return 0;var u=Po(e,r,i,o,l,SA);if(u===0)return 0;for(var f=0,c=-1,h=void 0,v=void 0,d=0;d<u;d++){var g=SA[d],p=g===0||g===1?.5:1,B=iA(t,A,n,a,g);B<s||(c<0&&(c=eg(e,r,i,o,At),At[1]<At[0]&&c>1&&Hx(),h=iA(e,r,i,o,At[0]),c>1&&(v=iA(e,r,i,o,At[1]))),c===2?g<At[0]?f+=h<e?p:-p:g<At[1]?f+=v<h?p:-p:f+=o<v?p:-p:g<At[0]?f+=h<e?p:-p:f+=o<h?p:-p)}return f}function Rx(t,e,A,r,n,i,a,o){if(o>e&&o>r&&o>i||o<e&&o<r&&o<i)return 0;var s=XQ(e,r,i,o,SA);if(s===0)return 0;var l=rg(e,r,i);if(l>=0&&l<=1){for(var u=0,f=vA(e,r,i,l),c=0;c<s;c++){var h=SA[c]===0||SA[c]===1?.5:1,v=vA(t,A,n,SA[c]);v<a||(SA[c]<l?u+=f<e?h:-h:u+=i<f?h:-h)}return u}else{var h=SA[0]===0||SA[0]===1?.5:1,v=vA(t,A,n,SA[0]);return v<a?0:i<e?h:-h}}function Px(t,e,A,r,n,i,a,o){if(o-=e,o>A||o<-A)return 0;var s=Math.sqrt(A*A-o*o);SA[0]=-s,SA[1]=s;var l=Math.abs(r-n);if(l<1e-4)return 0;if(l>=rn-1e-4){r=0,n=rn;var u=i?1:-1;return a>=SA[0]+t&&a<=SA[1]+t?u:0}if(r>n){var f=r;r=n,n=f}r<0&&(r+=rn,n+=rn);for(var c=0,h=0;h<2;h++){var v=SA[h];if(v+t>a){var d=Math.atan2(o,v),u=i?1:-1;d<0&&(d=rn+d),(d>=r&&d<=n||d+rn>=r&&d+rn<=n)&&(d>Math.PI/2&&d<Math.PI*1.5&&(u=-u),c+=u)}}return c}function lp(t,e,A,r,n){for(var i=t.data,a=t.len(),o=0,s=0,l=0,u=0,f=0,c,h,v=0;v<a;){var d=i[v++],g=v===1;switch(d===gr.M&&v>1&&(A||(o+=tn(s,l,u,f,r,n))),g&&(s=i[v],l=i[v+1],u=s,f=l),d){case gr.M:u=i[v++],f=i[v++],s=u,l=f;break;case gr.L:if(A){if(ni(s,l,i[v],i[v+1],e,r,n))return!0}else o+=tn(s,l,i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case gr.C:if(A){if(Ix(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=Ox(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case gr.Q:if(A){if(Tx(s,l,i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=Rx(s,l,i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case gr.A:var p=i[v++],B=i[v++],y=i[v++],m=i[v++],_=i[v++],C=i[v++];v+=1;var Q=!!(1-i[v++]);c=Math.cos(_)*y+p,h=Math.sin(_)*m+B,g?(u=c,f=h):o+=tn(s,l,c,h,r,n);var F=(r-p)*m/y+p;if(A){if(Dx(p,B,m,_,_+C,Q,e,F,n))return!0}else o+=Px(p,B,m,_,_+C,Q,F,n);s=Math.cos(_+C)*y+p,l=Math.sin(_+C)*m+B;break;case gr.R:u=s=i[v++],f=l=i[v++];var E=i[v++],U=i[v++];if(c=u+E,h=f+U,A){if(ni(u,f,c,f,e,r,n)||ni(c,f,c,h,e,r,n)||ni(c,h,u,h,e,r,n)||ni(u,h,u,f,e,r,n))return!0}else o+=tn(c,f,c,h,r,n),o+=tn(u,h,u,f,r,n);break;case gr.Z:if(A){if(ni(s,l,u,f,e,r,n))return!0}else o+=tn(s,l,u,f,r,n);s=u,l=f;break}}return!A&&!Mx(l,f)&&(o+=tn(s,l,u,f,r,n)||0),o!==0}function Nx(t,e,A){return lp(t,0,!1,e,A)}function kx(t,e,A,r){return lp(t,e,!0,A,r)}var up=He({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Jr),Kx={style:He({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ls.style)},Ac=ta.concat(["invisible","culling","z","z2","zlevel","parent"]),Vx=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.update=function(){var A=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(s){A.buildPath(s,A.shape)}),n.silent=!0;var i=n.style;for(var a in r)i[a]!==r[a]&&(i[a]=r[a]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var o=0;o<Ac.length;++o)n[Ac[o]]=this[Ac[o]];n.__dirty|=VA}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(A){var r=Ge(A);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var a=r[i],o=A[a];a==="style"?this.style?Y(this.style,o):this.useStyle(o):a==="shape"?Y(this.shape,o):t.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var A=this.style.fill;if(A!=="none"){if(ae(A)){var r=zo(A,0);return r>.5?xf:r>.2?mF:Ef}else if(A)return Ef}return xf},e.prototype.getInsideTextStroke=function(A){var r=this.style.fill;if(ae(r)){var n=this.__zr,i=!!(n&&n.isDarkMode()),a=zo(A,0)<Ff;if(i===a)return r}},e.prototype.buildPath=function(A,r,n){},e.prototype.pathUpdated=function(){this.__dirty&=~Jn},e.prototype.getUpdatedPathProxy=function(A){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,A),this.path},e.prototype.createPathProxy=function(){this.path=new dr(!1)},e.prototype.hasStroke=function(){var A=this.style,r=A.stroke;return!(r==null||r==="none"||!(A.lineWidth>0))},e.prototype.hasFill=function(){var A=this.style,r=A.fill;return r!=null&&r!=="none"},e.prototype.getBoundingRect=function(){var A=this._rect,r=this.style,n=!A;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var a=this.path;(i||this.__dirty&Jn)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),A=a.getBoundingRect()}if(this._rect=A,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=A.clone());if(this.__dirty||n){o.copy(A);var s=r.strokeNoScale?this.getLineScale():1,l=r.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;l=Math.max(l,u??4)}s>1e-10&&(o.width+=l/s,o.height+=l/s,o.x-=l/s/2,o.y-=l/s/2)}return o}return A},e.prototype.contain=function(A,r){var n=this.transformCoordToLocal(A,r),i=this.getBoundingRect(),a=this.style;if(A=n[0],r=n[1],i.contain(A,r)){var o=this.path;if(this.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),kx(o,s/l,A,r)))return!0}if(this.hasFill())return Nx(o,A,r)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Jn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(A){return this.animate("shape",A)},e.prototype.updateDuringAnimation=function(A){A==="style"?this.dirtyStyle():A==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(A,r){A==="shape"?this.setShape(r):t.prototype.attrKV.call(this,A,r)},e.prototype.setShape=function(A,r){var n=this.shape;return n||(n=this.shape={}),typeof A=="string"?n[A]=r:Y(n,A),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Jn)},e.prototype.createStyle=function(A){return bo(up,A)},e.prototype._innerSaveToNormal=function(A){t.prototype._innerSaveToNormal.call(this,A);var r=this._normalState;A.shape&&!r.shape&&(r.shape=Y({},this.shape))},e.prototype._applyStateObj=function(A,r,n,i,a,o){t.prototype._applyStateObj.call(this,A,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.shape?a?i?l=r.shape:(l=Y({},n.shape),Y(l,r.shape)):(l=Y({},i?this.shape:n.shape),Y(l,r.shape)):s&&(l=n.shape),l)if(a){this.shape=Y({},this.shape);for(var u={},f=Ge(l),c=0;c<f.length;c++){var h=f[c];typeof l[h]=="object"?this.shape[h]=l[h]:u[h]=l[h]}this._transitionState(A,{shape:u},o)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(A){for(var r=t.prototype._mergeStates.call(this,A),n,i=0;i<A.length;i++){var a=A[i];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return Kx},e.prototype.isZeroArea=function(){return!1},e.extend=function(A){var r=function(i){Z(a,i);function a(o){var s=i.call(this,o)||this;return A.init&&A.init.call(s,o),s}return a.prototype.getDefaultStyle=function(){return Ee(A.style)},a.prototype.getDefaultShape=function(){return Ee(A.shape)},a}(e);for(var n in A)typeof A[n]=="function"&&(r.prototype[n]=A[n]);return r},e.initDefaultProps=function(){var A=e.prototype;A.type="path",A.strokeContainThreshold=5,A.segmentIgnoreThreshold=0,A.subPixelOptimize=!1,A.autoBatch=!1,A.__dirty=VA|$i|Jn}(),e}(ua);const Re=Vx;var Gx=He({strokeFirst:!0,font:Rr,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},up),fp=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.hasStroke=function(){var A=this.style,r=A.stroke;return r!=null&&r!=="none"&&A.lineWidth>0},e.prototype.hasFill=function(){var A=this.style,r=A.fill;return r!=null&&r!=="none"},e.prototype.createStyle=function(A){return bo(Gx,A)},e.prototype.setBoundingRect=function(A){this._rect=A},e.prototype.getBoundingRect=function(){var A=this.style;if(!this._rect){var r=A.text;r!=null?r+="":r="";var n=bf(r,A.font,A.textAlign,A.textBaseline);if(n.x+=A.x||0,n.y+=A.y||0,this.hasStroke()){var i=A.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var A=e.prototype;A.dirtyRectTolerance=10}(),e}(ua);fp.prototype.type="tspan";const tc=fp;var zx=He({x:0,y:0},Jr),Wx={style:He({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ls.style)};function Yx(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var cp=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.createStyle=function(A){return bo(zx,A)},e.prototype._getSize=function(A){var r=this.style,n=r[A];if(n!=null)return n;var i=Yx(r.image)?r.image:this.__image;if(!i)return 0;var a=A==="width"?"height":"width",o=r[a];return o==null?i[A]:i[A]/i[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Wx},e.prototype.getBoundingRect=function(){var A=this.style;return this._rect||(this._rect=new Me(A.x||0,A.y||0,this.getWidth(),this.getHeight())),this._rect},e}(ua);cp.prototype.type="image";const nn=cp;function Xx(t,e){var A=e.x,r=e.y,n=e.width,i=e.height,a=e.r,o,s,l,u;n<0&&(A=A+n,n=-n),i<0&&(r=r+i,i=-i),typeof a=="number"?o=s=l=u=a:a instanceof Array?a.length===1?o=s=l=u=a[0]:a.length===2?(o=l=a[0],s=u=a[1]):a.length===3?(o=a[0],s=u=a[1],l=a[2]):(o=a[0],s=a[1],l=a[2],u=a[3]):o=s=l=u=0;var f;o+s>n&&(f=o+s,o*=n/f,s*=n/f),l+u>n&&(f=l+u,l*=n/f,u*=n/f),s+l>i&&(f=s+l,s*=i/f,l*=i/f),o+u>i&&(f=o+u,o*=i/f,u*=i/f),t.moveTo(A+o,r),t.lineTo(A+n-s,r),s!==0&&t.arc(A+n-s,r+s,s,-Math.PI/2,0),t.lineTo(A+n,r+i-l),l!==0&&t.arc(A+n-l,r+i-l,l,0,Math.PI/2),t.lineTo(A+u,r+i),u!==0&&t.arc(A+u,r+i-u,u,Math.PI/2,Math.PI),t.lineTo(A,r+o),o!==0&&t.arc(A+o,r+o,o,Math.PI,Math.PI*1.5)}var ii=Math.round;function hp(t,e,A){if(e){var r=e.x1,n=e.x2,i=e.y1,a=e.y2;t.x1=r,t.x2=n,t.y1=i,t.y2=a;var o=A&&A.lineWidth;return o&&(ii(r*2)===ii(n*2)&&(t.x1=t.x2=an(r,o,!0)),ii(i*2)===ii(a*2)&&(t.y1=t.y2=an(i,o,!0))),t}}function vp(t,e,A){if(e){var r=e.x,n=e.y,i=e.width,a=e.height;t.x=r,t.y=n,t.width=i,t.height=a;var o=A&&A.lineWidth;return o&&(t.x=an(r,o,!0),t.y=an(n,o,!0),t.width=Math.max(an(r+i,o,!1)-t.x,i===0?0:1),t.height=Math.max(an(n+a,o,!1)-t.y,a===0?0:1)),t}}function an(t,e,A){if(!e)return t;var r=ii(t*2);return(r+ii(e))%2===0?r/2:(r+(A?1:-1))/2}var Zx=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Jx={},dp=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultShape=function(){return new Zx},e.prototype.buildPath=function(A,r){var n,i,a,o;if(this.subPixelOptimize){var s=vp(Jx,r,this.style);n=s.x,i=s.y,a=s.width,o=s.height,s.r=r.r,r=s}else n=r.x,i=r.y,a=r.width,o=r.height;r.r?Xx(A,r):A.rect(n,i,a,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Re);dp.prototype.type="rect";const Ze=dp;var gp={fill:"#000"},pp=2,$x={style:He({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},ls.style)},Bp=function(t){Z(e,t);function e(A){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=gp,r.attr(A),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var A=0;A<this._children.length;A++){var r=this._children[A];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 A=this.innerTransformable;A?(A.updateTransform(),A.transform&&(this.transform=A.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(A){var r=this.innerTransformable;return r?r.getLocalTransform(A):t.prototype.getLocalTransform.call(this,A)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,tE(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(A){t.prototype.addSelfToZr.call(this,A);for(var r=0;r<this._children.length;r++)this._children[r].__zr=A},e.prototype.removeSelfFromZr=function(A){t.prototype.removeSelfFromZr.call(this,A);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 A=new Me(0,0,0,0),r=this._children,n=[],i=null,a=0;a<r.length;a++){var o=r[a],s=o.getBoundingRect(),l=o.getLocalTransform(n);l?(A.copy(s),A.applyTransform(l),i=i||A.clone(),i.union(A)):(i=i||s.clone(),i.union(s))}this._rect=i||A}return this._rect},e.prototype.setDefaultTextStyle=function(A){this._defaultStyle=A||gp},e.prototype.setTextContent=function(A){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(A,r){if(!r)return A;var n=r.rich,i=A.rich||n&&{};return Y(A,r),n&&i?(this._mergeRich(i,n),A.rich=i):i&&(A.rich=i),A},e.prototype._mergeRich=function(A,r){for(var n=Ge(r),i=0;i<n.length;i++){var a=n[i];A[a]=A[a]||{},Y(A[a],r[a])}},e.prototype.getAnimationStyleProps=function(){return $x},e.prototype._getOrCreateChild=function(A){var r=this._children[this._childCursor];return(!r||!(r instanceof A))&&(r=new A),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},e.prototype._updatePlainTexts=function(){var A=this.style,r=A.font||Rr,n=A.padding,i=Fp(A),a=dx(i,A),o=rc(A),s=!!A.backgroundColor,l=a.outerHeight,u=a.outerWidth,f=a.contentWidth,c=a.lines,h=a.lineHeight,v=this._defaultStyle;this.isTruncated=!!a.isTruncated;var d=A.x||0,g=A.y||0,p=A.align||v.align||"left",B=A.verticalAlign||v.verticalAlign||"top",y=d,m=Ai(g,a.contentHeight,B);if(o||n){var _=ra(d,u,p),C=Ai(g,l,B);o&&this._renderBackground(A,A,_,C,u,l)}m+=h/2,n&&(y=Qp(d,p,n),B==="top"?m+=n[0]:B==="bottom"&&(m-=n[2]));for(var Q=0,F=!1,E=_p("fill"in A?A.fill:(F=!0,v.fill)),U=Cp("stroke"in A?A.stroke:!s&&(!v.autoStroke||F)?(Q=pp,v.stroke):null),x=A.textShadowBlur>0,b=A.width!=null&&(A.overflow==="truncate"||A.overflow==="break"||A.overflow==="breakAll"),I=a.calculatedLineHeight,T=0;T<c.length;T++){var D=this._getOrCreateChild(tc),R=D.createStyle();D.useStyle(R),R.text=c[T],R.x=y,R.y=m,p&&(R.textAlign=p),R.textBaseline="middle",R.opacity=A.opacity,R.strokeFirst=!0,x&&(R.shadowBlur=A.textShadowBlur||0,R.shadowColor=A.textShadowColor||"transparent",R.shadowOffsetX=A.textShadowOffsetX||0,R.shadowOffsetY=A.textShadowOffsetY||0),R.stroke=U,R.fill=E,U&&(R.lineWidth=A.lineWidth||Q,R.lineDash=A.lineDash,R.lineDashOffset=A.lineDashOffset||0),R.font=r,mp(R,A),m+=h,b&&D.setBoundingRect(new Me(ra(R.x,f,R.textAlign),Ai(R.y,I,R.textBaseline),f,I))}},e.prototype._updateRichTexts=function(){var A=this.style,r=Fp(A),n=Bx(r,A),i=n.width,a=n.outerWidth,o=n.outerHeight,s=A.padding,l=A.x||0,u=A.y||0,f=this._defaultStyle,c=A.align||f.align,h=A.verticalAlign||f.verticalAlign;this.isTruncated=!!n.isTruncated;var v=ra(l,a,c),d=Ai(u,o,h),g=v,p=d;s&&(g+=s[3],p+=s[0]);var B=g+i;rc(A)&&this._renderBackground(A,A,v,d,a,o);for(var y=!!A.backgroundColor,m=0;m<n.lines.length;m++){for(var _=n.lines[m],C=_.tokens,Q=C.length,F=_.lineHeight,E=_.width,U=0,x=g,b=B,I=Q-1,T=void 0;U<Q&&(T=C[U],!T.align||T.align==="left");)this._placeToken(T,A,F,p,x,"left",y),E-=T.width,x+=T.width,U++;for(;I>=0&&(T=C[I],T.align==="right");)this._placeToken(T,A,F,p,b,"right",y),E-=T.width,b-=T.width,I--;for(x+=(i-(x-g)-(B-b)-E)/2;U<=I;)T=C[U],this._placeToken(T,A,F,p,x+T.width/2,"center",y),x+=T.width,U++;p+=F}},e.prototype._placeToken=function(A,r,n,i,a,o,s){var l=r.rich[A.styleName]||{};l.text=A.text;var u=A.verticalAlign,f=i+n/2;u==="top"?f=i+A.height/2:u==="bottom"&&(f=i+n-A.height/2);var c=!A.isLineHolder&&rc(l);c&&this._renderBackground(l,r,o==="right"?a-A.width:o==="center"?a-A.width/2:a,f-A.height/2,A.width,A.height);var h=!!l.backgroundColor,v=A.textPadding;v&&(a=Qp(a,o,v),f-=A.height/2-v[0]-A.innerHeight/2);var d=this._getOrCreateChild(tc),g=d.createStyle();d.useStyle(g);var p=this._defaultStyle,B=!1,y=0,m=_p("fill"in l?l.fill:"fill"in r?r.fill:(B=!0,p.fill)),_=Cp("stroke"in l?l.stroke:"stroke"in r?r.stroke:!h&&!s&&(!p.autoStroke||B)?(y=pp,p.stroke):null),C=l.textShadowBlur>0||r.textShadowBlur>0;g.text=A.text,g.x=a,g.y=f,C&&(g.shadowBlur=l.textShadowBlur||r.textShadowBlur||0,g.shadowColor=l.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=A.font||Rr,g.opacity=kn(l.opacity,r.opacity,1),mp(g,l),_&&(g.lineWidth=kn(l.lineWidth,r.lineWidth,y),g.lineDash=ye(l.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=_),m&&(g.fill=m);var Q=A.contentWidth,F=A.contentHeight;d.setBoundingRect(new Me(ra(g.x,Q,g.textAlign),Ai(g.y,F,g.textBaseline),Q,F))},e.prototype._renderBackground=function(A,r,n,i,a,o){var s=A.backgroundColor,l=A.borderWidth,u=A.borderColor,f=s&&s.image,c=s&&!f,h=A.borderRadius,v=this,d,g;if(c||A.lineHeight||l&&u){d=this._getOrCreateChild(Ze),d.useStyle(d.createStyle()),d.style.fill=null;var p=d.shape;p.x=n,p.y=i,p.width=a,p.height=o,p.r=h,d.dirtyShape()}if(c){var B=d.style;B.fill=s||null,B.fillOpacity=ye(A.fillOpacity,1)}else if(f){g=this._getOrCreateChild(nn),g.onload=function(){v.dirtyStyle()};var y=g.style;y.image=s.image,y.x=n,y.y=i,y.width=a,y.height=o}if(l&&u){var B=d.style;B.lineWidth=l,B.stroke=u,B.strokeOpacity=ye(A.strokeOpacity,1),B.lineDash=A.borderDash,B.lineDashOffset=A.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(B.strokeFirst=!0,B.lineWidth*=2)}var m=(d||g).style;m.shadowBlur=A.shadowBlur||0,m.shadowColor=A.shadowColor||"transparent",m.shadowOffsetX=A.shadowOffsetX||0,m.shadowOffsetY=A.shadowOffsetY||0,m.opacity=kn(A.opacity,r.opacity,1)},e.makeFont=function(A){var r="";return AE(A)&&(r=[A.fontStyle,A.fontWeight,eE(A.fontSize),A.fontFamily||"sans-serif"].join(" ")),r&&Et(r)||A.textFont||A.font},e}(ua),qx={left:!0,right:1,center:1},jx={top:1,bottom:1,middle:1},yp=["fontStyle","fontWeight","fontSize","fontFamily"];function eE(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?Pu+"px":t+"px"}function mp(t,e){for(var A=0;A<yp.length;A++){var r=yp[A],n=e[r];n!=null&&(t[r]=n)}}function AE(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function tE(t){return wp(t),S(t.rich,wp),t}function wp(t){if(t){t.font=Bp.makeFont(t);var e=t.align;e==="middle"&&(e="center"),t.align=e==null||qx[e]?e:"left";var A=t.verticalAlign;A==="center"&&(A="middle"),t.verticalAlign=A==null||jx[A]?A:"top";var r=t.padding;r&&(t.padding=Ud(t.padding))}}function Cp(t,e){return t==null||e<=0||t==="transparent"||t==="none"?null:t.image||t.colorStops?"#000":t}function _p(t){return t==null||t==="none"?null:t.image||t.colorStops?"#000":t}function Qp(t,e,A){return e==="right"?t-A[1]:e==="center"?t+A[3]/2-A[1]/2:t+A[3]}function Fp(t){var e=t.text;return e!=null&&(e+=""),e}function rc(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const OA=Bp;var Te=Xe(),rE=function(t,e,A,r){if(r){var n=Te(r);n.dataIndex=A,n.dataType=e,n.seriesIndex=t,n.ssrType="chart",r.type==="group"&&r.traverse(function(i){var a=Te(i);a.seriesIndex=t,a.dataIndex=A,a.dataType=e,a.ssrType="chart"})}},xp=1,Ep={},Up=Xe(),nc=Xe(),ic=0,hs=1,vs=2,tt=["emphasis","blur","select"],ds=["normal","emphasis","blur","select"],nE=10,iE=9,on="highlight",gs="downplay",ha="select",ps="unselect",va="toggleSelect";function ai(t){return t!=null&&t!=="none"}function Bs(t,e,A){t.onHoverStateChange&&(t.hoverState||0)!==A&&t.onHoverStateChange(e),t.hoverState=A}function Sp(t){Bs(t,"emphasis",vs)}function bp(t){t.hoverState===vs&&Bs(t,"normal",ic)}function ac(t){Bs(t,"blur",hs)}function Ip(t){t.hoverState===hs&&Bs(t,"normal",ic)}function aE(t){t.selected=!0}function oE(t){t.selected=!1}function Tp(t,e,A){e(t,A)}function Xt(t,e,A){Tp(t,e,A),t.isGroup&&t.traverse(function(r){Tp(r,e,A)})}function Dp(t,e){switch(e){case"emphasis":t.hoverState=vs;break;case"normal":t.hoverState=ic;break;case"blur":t.hoverState=hs;break;case"select":t.selected=!0}}function sE(t,e,A,r){for(var n=t.style,i={},a=0;a<e.length;a++){var o=e[a],s=n[o];i[o]=s??(r&&r[o])}for(var a=0;a<t.animators.length;a++){var l=t.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(A)<0&&l.targetName==="style"&&l.saveTo(i,e)}return i}function lE(t,e,A,r){var n=A&&Le(A,"select")>=0,i=!1;if(t instanceof Re){var a=Up(t),o=n&&a.selectFill||a.normalFill,s=n&&a.selectStroke||a.normalStroke;if(ai(o)||ai(s)){r=r||{};var l=r.style||{};l.fill==="inherit"?(i=!0,r=Y({},r),l=Y({},l),l.fill=o):!ai(l.fill)&&ai(o)?(i=!0,r=Y({},r),l=Y({},l),l.fill=cg(o)):!ai(l.stroke)&&ai(s)&&(i||(r=Y({},r),l=Y({},l)),l.stroke=cg(s)),r.style=l}}if(r&&r.z2==null){i||(r=Y({},r));var u=t.z2EmphasisLift;r.z2=t.z2+(u??nE)}return r}function uE(t,e,A){if(A&&A.z2==null){A=Y({},A);var r=t.z2SelectLift;A.z2=t.z2+(r??iE)}return A}function fE(t,e,A){var r=Le(t.currentStates,e)>=0,n=t.style.opacity,i=r?null:sE(t,["opacity"],e,{opacity:1});A=A||{};var a=A.style||{};return a.opacity==null&&(A=Y({},A),a=Y({opacity:r?n:i.opacity*.1},a),A.style=a),A}function oc(t,e){var A=this.states[t];if(this.style){if(t==="emphasis")return lE(this,t,e,A);if(t==="blur")return fE(this,t,A);if(t==="select")return uE(this,t,A)}return A}function cE(t){t.stateProxy=oc;var e=t.getTextContent(),A=t.getTextGuideLine();e&&(e.stateProxy=oc),A&&(A.stateProxy=oc)}function Lp(t,e){!Pp(t,e)&&!t.__highByOuter&&Xt(t,Sp)}function Mp(t,e){!Pp(t,e)&&!t.__highByOuter&&Xt(t,bp)}function ys(t,e){t.__highByOuter|=1<<(e||0),Xt(t,Sp)}function ms(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Xt(t,bp)}function hE(t){Xt(t,ac)}function Hp(t){Xt(t,Ip)}function Op(t){Xt(t,aE)}function Rp(t){Xt(t,oE)}function Pp(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Np(t){var e=t.getModel(),A=[],r=[];e.eachComponent(function(n,i){var a=nc(i),o=n==="series",s=o?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!o&&r.push(s),a.isBlured&&(s.group.traverse(function(l){Ip(l)}),o&&A.push(i)),a.isBlured=!1}),S(r,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(A,!1,e)})}function sc(t,e,A,r){var n=r.getModel();A=A||"coordinateSystem";function i(l,u){for(var f=0;f<u.length;f++){var c=l.getItemGraphicEl(u[f]);c&&Hp(c)}}if(t!=null&&!(!e||e==="none")){var a=n.getSeriesByIndex(t),o=a.coordinateSystem;o&&o.master&&(o=o.master);var s=[];n.eachSeries(function(l){var u=a===l,f=l.coordinateSystem;f&&f.master&&(f=f.master);var c=f&&o?f===o:u;if(!(A==="series"&&!u||A==="coordinateSystem"&&!c||e==="series"&&u)){var h=r.getViewOfSeriesModel(l);if(h.group.traverse(function(g){g.__highByOuter&&u&&e==="self"||ac(g)}),DA(e))i(l.getData(),e);else if(fe(e))for(var v=Ge(e),d=0;d<v.length;d++)i(l.getData(v[d]),e[v[d]]);s.push(l),nc(l).isBlured=!0}}),n.eachComponent(function(l,u){if(l!=="series"){var f=r.getViewOfComponentModel(u);f&&f.toggleBlurSeries&&f.toggleBlurSeries(s,!0,n)}})}}function lc(t,e,A){if(!(t==null||e==null)){var r=A.getModel().getComponent(t,e);if(r){nc(r).isBlured=!0;var n=A.getViewOfComponentModel(r);!n||!n.focusBlurEnabled||n.group.traverse(function(i){ac(i)})}}}function vE(t,e,A){var r=t.seriesIndex,n=t.getData(e.dataType);if(!n){process.env.NODE_ENV!=="production"&&pA("Unknown dataType "+e.dataType);return}var i=Xr(n,e);i=(re(i)?i[0]:i)||0;var a=n.getItemGraphicEl(i);if(!a)for(var o=n.count(),s=0;!a&&s<o;)a=n.getItemGraphicEl(s++);if(a){var l=Te(a);sc(r,l.focus,l.blurScope,A)}else{var u=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);u!=null&&sc(r,u,f,A)}}function uc(t,e,A,r){var n={focusSelf:!1,dispatchers:null};if(t==null||t==="series"||e==null||A==null)return n;var i=r.getModel().getComponent(t,e);if(!i)return n;var a=r.getViewOfComponentModel(i);if(!a||!a.findHighDownDispatchers)return n;for(var o=a.findHighDownDispatchers(A),s,l=0;l<o.length;l++)if(process.env.NODE_ENV!=="production"&&!oi(o[l])&&pA("param should be highDownDispatcher"),Te(o[l]).focus==="self"){s=!0;break}return{focusSelf:s,dispatchers:o}}function dE(t,e,A){process.env.NODE_ENV!=="production"&&!oi(t)&&pA("param should be highDownDispatcher");var r=Te(t),n=uc(r.componentMainType,r.componentIndex,r.componentHighDownName,A),i=n.dispatchers,a=n.focusSelf;i?(a&&lc(r.componentMainType,r.componentIndex,A),S(i,function(o){return Lp(o,e)})):(sc(r.seriesIndex,r.focus,r.blurScope,A),r.focus==="self"&&lc(r.componentMainType,r.componentIndex,A),Lp(t,e))}function gE(t,e,A){process.env.NODE_ENV!=="production"&&!oi(t)&&pA("param should be highDownDispatcher"),Np(A);var r=Te(t),n=uc(r.componentMainType,r.componentIndex,r.componentHighDownName,A).dispatchers;n?S(n,function(i){return Mp(i,e)}):Mp(t,e)}function pE(t,e,A){if(cc(e)){var r=e.dataType,n=t.getData(r),i=Xr(n,e);re(i)||(i=[i]),t[e.type===va?"toggleSelect":e.type===ha?"select":"unselect"](i,r)}}function kp(t){var e=t.getAllData();S(e,function(A){var r=A.data,n=A.type;r.eachItemGraphicEl(function(i,a){t.isSelected(a,n)?Op(i):Rp(i)})})}function BE(t){var e=[];return t.eachSeries(function(A){var r=A.getAllData();S(r,function(n){n.data;var i=n.type,a=A.getSelectedDataIndices();if(a.length>0){var o={dataIndex:a,seriesIndex:A.seriesIndex};i!=null&&(o.dataType=i),e.push(o)}})}),e}function ws(t,e,A){Vp(t,!0),Xt(t,cE),mE(t,e,A)}function yE(t){Vp(t,!1)}function Cs(t,e,A,r){r?yE(t):ws(t,e,A)}function mE(t,e,A){var r=Te(t);e!=null?(r.focus=e,r.blurScope=A):r.focus&&(r.focus=null)}var Kp=["emphasis","blur","select"],wE={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function fc(t,e,A,r){A=A||"itemStyle";for(var n=0;n<Kp.length;n++){var i=Kp[n],a=e.getModel([i,A]),o=t.ensureState(i);o.style=r?r(a):a[wE[A]]()}}function Vp(t,e){var A=e===!1,r=t;t.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!A||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!A)}function oi(t){return!!(t&&t.__highDownDispatcher)}function CE(t){var e=Ep[t];return e==null&&xp<=32&&(e=Ep[t]=xp++),e}function cc(t){var e=t.type;return e===ha||e===ps||e===va}function Gp(t){var e=t.type;return e===on||e===gs}function _E(t){var e=Up(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var A=t.states.select||{};e.selectFill=A.style&&A.style.fill||null,e.selectStroke=A.style&&A.style.stroke||null}var si=dr.CMD,QE=[[],[],[]],zp=Math.sqrt,FE=Math.atan2;function xE(t,e){if(e){var A=t.data,r=t.len(),n,i,a,o,s,l,u=si.M,f=si.C,c=si.L,h=si.R,v=si.A,d=si.Q;for(a=0,o=0;a<r;){switch(n=A[a++],o=a,i=0,n){case u:i=1;break;case c:i=1;break;case f:i=3;break;case d:i=2;break;case v:var g=e[4],p=e[5],B=zp(e[0]*e[0]+e[1]*e[1]),y=zp(e[2]*e[2]+e[3]*e[3]),m=FE(-e[1]/y,e[0]/B);A[a]*=B,A[a++]+=g,A[a]*=y,A[a++]+=p,A[a++]*=B,A[a++]*=y,A[a++]+=m,A[a++]+=m,a+=2,o=a;break;case h:l[0]=A[a++],l[1]=A[a++],ZA(l,l,e),A[o++]=l[0],A[o++]=l[1],l[0]+=A[a++],l[1]+=A[a++],ZA(l,l,e),A[o++]=l[0],A[o++]=l[1]}for(s=0;s<i;s++){var _=QE[s];_[0]=A[a++],_[1]=A[a++],ZA(_,_,e),A[o++]=_[0],A[o++]=_[1]}}t.increaseVersion()}}var hc=Math.sqrt,_s=Math.sin,Qs=Math.cos,da=Math.PI;function Wp(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function vc(t,e){return(t[0]*e[0]+t[1]*e[1])/(Wp(t)*Wp(e))}function Yp(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(vc(t,e))}function Xp(t,e,A,r,n,i,a,o,s,l,u){var f=s*(da/180),c=Qs(f)*(t-A)/2+_s(f)*(e-r)/2,h=-1*_s(f)*(t-A)/2+Qs(f)*(e-r)/2,v=c*c/(a*a)+h*h/(o*o);v>1&&(a*=hc(v),o*=hc(v));var d=(n===i?-1:1)*hc((a*a*(o*o)-a*a*(h*h)-o*o*(c*c))/(a*a*(h*h)+o*o*(c*c)))||0,g=d*a*h/o,p=d*-o*c/a,B=(t+A)/2+Qs(f)*g-_s(f)*p,y=(e+r)/2+_s(f)*g+Qs(f)*p,m=Yp([1,0],[(c-g)/a,(h-p)/o]),_=[(c-g)/a,(h-p)/o],C=[(-1*c-g)/a,(-1*h-p)/o],Q=Yp(_,C);if(vc(_,C)<=-1&&(Q=da),vc(_,C)>=1&&(Q=0),Q<0){var F=Math.round(Q/da*1e6)/1e6;Q=da*2+F%2*da}u.addData(l,B,y,a,o,m,Q,f,i)}var EE=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,UE=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function SE(t){var e=new dr;if(!t)return e;var A=0,r=0,n=A,i=r,a,o=dr.CMD,s=t.match(EE);if(!s)return e;for(var l=0;l<s.length;l++){for(var u=s[l],f=u.charAt(0),c=void 0,h=u.match(UE)||[],v=h.length,d=0;d<v;d++)h[d]=parseFloat(h[d]);for(var g=0;g<v;){var p=void 0,B=void 0,y=void 0,m=void 0,_=void 0,C=void 0,Q=void 0,F=A,E=r,U=void 0,x=void 0;switch(f){case"l":A+=h[g++],r+=h[g++],c=o.L,e.addData(c,A,r);break;case"L":A=h[g++],r=h[g++],c=o.L,e.addData(c,A,r);break;case"m":A+=h[g++],r+=h[g++],c=o.M,e.addData(c,A,r),n=A,i=r,f="l";break;case"M":A=h[g++],r=h[g++],c=o.M,e.addData(c,A,r),n=A,i=r,f="L";break;case"h":A+=h[g++],c=o.L,e.addData(c,A,r);break;case"H":A=h[g++],c=o.L,e.addData(c,A,r);break;case"v":r+=h[g++],c=o.L,e.addData(c,A,r);break;case"V":r=h[g++],c=o.L,e.addData(c,A,r);break;case"C":c=o.C,e.addData(c,h[g++],h[g++],h[g++],h[g++],h[g++],h[g++]),A=h[g-2],r=h[g-1];break;case"c":c=o.C,e.addData(c,h[g++]+A,h[g++]+r,h[g++]+A,h[g++]+r,h[g++]+A,h[g++]+r),A+=h[g-2],r+=h[g-1];break;case"S":p=A,B=r,U=e.len(),x=e.data,a===o.C&&(p+=A-x[U-4],B+=r-x[U-3]),c=o.C,F=h[g++],E=h[g++],A=h[g++],r=h[g++],e.addData(c,p,B,F,E,A,r);break;case"s":p=A,B=r,U=e.len(),x=e.data,a===o.C&&(p+=A-x[U-4],B+=r-x[U-3]),c=o.C,F=A+h[g++],E=r+h[g++],A+=h[g++],r+=h[g++],e.addData(c,p,B,F,E,A,r);break;case"Q":F=h[g++],E=h[g++],A=h[g++],r=h[g++],c=o.Q,e.addData(c,F,E,A,r);break;case"q":F=h[g++]+A,E=h[g++]+r,A+=h[g++],r+=h[g++],c=o.Q,e.addData(c,F,E,A,r);break;case"T":p=A,B=r,U=e.len(),x=e.data,a===o.Q&&(p+=A-x[U-4],B+=r-x[U-3]),A=h[g++],r=h[g++],c=o.Q,e.addData(c,p,B,A,r);break;case"t":p=A,B=r,U=e.len(),x=e.data,a===o.Q&&(p+=A-x[U-4],B+=r-x[U-3]),A+=h[g++],r+=h[g++],c=o.Q,e.addData(c,p,B,A,r);break;case"A":y=h[g++],m=h[g++],_=h[g++],C=h[g++],Q=h[g++],F=A,E=r,A=h[g++],r=h[g++],c=o.A,Xp(F,E,A,r,C,Q,y,m,_,c,e);break;case"a":y=h[g++],m=h[g++],_=h[g++],C=h[g++],Q=h[g++],F=A,E=r,A+=h[g++],r+=h[g++],c=o.A,Xp(F,E,A,r,C,Q,y,m,_,c,e);break}}(f==="z"||f==="Z")&&(c=o.Z,e.addData(c),A=n,r=i),a=c}return e.toStatic(),e}var Zp=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.applyTransform=function(A){},e}(Re);function Jp(t){return t.setData!=null}function $p(t,e){var A=SE(t),r=Y({},e);return r.buildPath=function(n){if(Jp(n)){n.setData(A.data);var i=n.getContext();i&&n.rebuildPath(i,1)}else{var i=n;A.rebuildPath(i,1)}},r.applyTransform=function(n){xE(A,n),this.dirtyShape()},r}function bE(t,e){return new Zp($p(t,e))}function IE(t,e){var A=$p(t,e),r=function(n){Z(i,n);function i(a){var o=n.call(this,a)||this;return o.applyTransform=A.applyTransform,o.buildPath=A.buildPath,o}return i}(Zp);return r}function TE(t,e){for(var A=[],r=t.length,n=0;n<r;n++){var i=t[n];A.push(i.getUpdatedPathProxy(!0))}var a=new Re(e);return a.createPathProxy(),a.buildPath=function(o){if(Jp(o)){o.appendPath(A);var s=o.getContext();s&&o.rebuildPath(s,1)}},a}var DE=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),qp=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultShape=function(){return new DE},e.prototype.buildPath=function(A,r){A.moveTo(r.cx+r.r,r.cy),A.arc(r.cx,r.cy,r.r,0,Math.PI*2)},e}(Re);qp.prototype.type="circle";const dc=qp;var LE=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),jp=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultShape=function(){return new LE},e.prototype.buildPath=function(A,r){var n=.5522848,i=r.cx,a=r.cy,o=r.rx,s=r.ry,l=o*n,u=s*n;A.moveTo(i-o,a),A.bezierCurveTo(i-o,a-u,i-l,a-s,i,a-s),A.bezierCurveTo(i+l,a-s,i+o,a-u,i+o,a),A.bezierCurveTo(i+o,a+u,i+l,a+s,i,a+s),A.bezierCurveTo(i-l,a+s,i-o,a+u,i-o,a),A.closePath()},e}(Re);jp.prototype.type="ellipse";const eB=jp;var AB=Math.PI,gc=AB*2,sn=Math.sin,li=Math.cos,ME=Math.acos,BA=Math.atan2,tB=Math.abs,ga=Math.sqrt,pa=Math.max,Lt=Math.min,Bt=1e-4;function HE(t,e,A,r,n,i,a,o){var s=A-t,l=r-e,u=a-n,f=o-i,c=f*s-u*l;if(!(c*c<Bt))return c=(u*(e-i)-f*(t-n))/c,[t+c*s,e+c*l]}function Fs(t,e,A,r,n,i,a){var o=t-A,s=e-r,l=(a?i:-i)/ga(o*o+s*s),u=l*s,f=-l*o,c=t+u,h=e+f,v=A+u,d=r+f,g=(c+v)/2,p=(h+d)/2,B=v-c,y=d-h,m=B*B+y*y,_=n-i,C=c*d-v*h,Q=(y<0?-1:1)*ga(pa(0,_*_*m-C*C)),F=(C*y-B*Q)/m,E=(-C*B-y*Q)/m,U=(C*y+B*Q)/m,x=(-C*B+y*Q)/m,b=F-g,I=E-p,T=U-g,D=x-p;return b*b+I*I>T*T+D*D&&(F=U,E=x),{cx:F,cy:E,x0:-u,y0:-f,x1:F*(n/_-1),y1:E*(n/_-1)}}function OE(t){var e;if(re(t)){var A=t.length;if(!A)return t;A===1?e=[t[0],t[0],0,0]:A===2?e=[t[0],t[0],t[1],t[1]]:A===3?e=t.concat(t[2]):e=t}else e=[t,t,t,t];return e}function RE(t,e){var A,r=pa(e.r,0),n=pa(e.r0||0,0),i=r>0,a=n>0;if(!(!i&&!a)){if(i||(r=n,n=0),n>r){var o=r;r=n,n=o}var s=e.startAngle,l=e.endAngle;if(!(isNaN(s)||isNaN(l))){var u=e.cx,f=e.cy,c=!!e.clockwise,h=tB(l-s),v=h>gc&&h%gc;if(v>Bt&&(h=v),!(r>Bt))t.moveTo(u,f);else if(h>gc-Bt)t.moveTo(u+r*li(s),f+r*sn(s)),t.arc(u,f,r,s,l,!c),n>Bt&&(t.moveTo(u+n*li(l),f+n*sn(l)),t.arc(u,f,n,l,s,c));else{var d=void 0,g=void 0,p=void 0,B=void 0,y=void 0,m=void 0,_=void 0,C=void 0,Q=void 0,F=void 0,E=void 0,U=void 0,x=void 0,b=void 0,I=void 0,T=void 0,D=r*li(s),R=r*sn(s),$=n*li(l),G=n*sn(l),X=h>Bt;if(X){var ie=e.cornerRadius;ie&&(A=OE(ie),d=A[0],g=A[1],p=A[2],B=A[3]);var ve=tB(r-n)/2;if(y=Lt(ve,p),m=Lt(ve,B),_=Lt(ve,d),C=Lt(ve,g),E=Q=pa(y,m),U=F=pa(_,C),(Q>Bt||F>Bt)&&(x=r*li(l),b=r*sn(l),I=n*li(s),T=n*sn(s),h<AB)){var O=HE(D,R,I,T,x,b,$,G);if(O){var N=D-O[0],H=R-O[1],K=x-O[0],P=b-O[1],se=1/sn(ME((N*K+H*P)/(ga(N*N+H*H)*ga(K*K+P*P)))/2),ne=ga(O[0]*O[0]+O[1]*O[1]);E=Lt(Q,(r-ne)/(se+1)),U=Lt(F,(n-ne)/(se-1))}}}if(!X)t.moveTo(u+D,f+R);else if(E>Bt){var xe=Lt(p,E),Ie=Lt(B,E),V=Fs(I,T,D,R,r,xe,c),le=Fs(x,b,$,G,r,Ie,c);t.moveTo(u+V.cx+V.x0,f+V.cy+V.y0),E<Q&&xe===Ie?t.arc(u+V.cx,f+V.cy,E,BA(V.y0,V.x0),BA(le.y0,le.x0),!c):(xe>0&&t.arc(u+V.cx,f+V.cy,xe,BA(V.y0,V.x0),BA(V.y1,V.x1),!c),t.arc(u,f,r,BA(V.cy+V.y1,V.cx+V.x1),BA(le.cy+le.y1,le.cx+le.x1),!c),Ie>0&&t.arc(u+le.cx,f+le.cy,Ie,BA(le.y1,le.x1),BA(le.y0,le.x0),!c))}else t.moveTo(u+D,f+R),t.arc(u,f,r,s,l,!c);if(!(n>Bt)||!X)t.lineTo(u+$,f+G);else if(U>Bt){var xe=Lt(d,U),Ie=Lt(g,U),V=Fs($,G,x,b,n,-Ie,c),le=Fs(D,R,I,T,n,-xe,c);t.lineTo(u+V.cx+V.x0,f+V.cy+V.y0),U<F&&xe===Ie?t.arc(u+V.cx,f+V.cy,U,BA(V.y0,V.x0),BA(le.y0,le.x0),!c):(Ie>0&&t.arc(u+V.cx,f+V.cy,Ie,BA(V.y0,V.x0),BA(V.y1,V.x1),!c),t.arc(u,f,n,BA(V.cy+V.y1,V.cx+V.x1),BA(le.cy+le.y1,le.cx+le.x1),c),xe>0&&t.arc(u+le.cx,f+le.cy,xe,BA(le.y1,le.x1),BA(le.y0,le.x0),!c))}else t.lineTo(u+$,f+G),t.arc(u,f,n,l,s,c)}t.closePath()}}}var PE=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),rB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultShape=function(){return new PE},e.prototype.buildPath=function(A,r){RE(A,r)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Re);rB.prototype.type="sector";const Ba=rB;var NE=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),nB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultShape=function(){return new NE},e.prototype.buildPath=function(A,r){var n=r.cx,i=r.cy,a=Math.PI*2;A.moveTo(n+r.r,i),A.arc(n,i,r.r,0,a,!1),A.moveTo(n+r.r0,i),A.arc(n,i,r.r0,0,a,!0)},e}(Re);nB.prototype.type="ring";const iB=nB;function kE(t,e,A,r){var n=[],i=[],a=[],o=[],s,l,u,f;if(r){u=[1/0,1/0],f=[-1/0,-1/0];for(var c=0,h=t.length;c<h;c++)Gn(u,u,t[c]),zn(f,f,t[c]);Gn(u,u,r[0]),zn(f,f,r[1])}for(var c=0,h=t.length;c<h;c++){var v=t[c];if(A)s=t[c?c-1:h-1],l=t[(c+1)%h];else if(c===0||c===h-1){n.push(uQ(t[c]));continue}else s=t[c-1],l=t[c+1];fQ(i,l,s),Gu(i,i,e);var d=zu(v,s),g=zu(v,l),p=d+g;p!==0&&(d/=p,g/=p),Gu(a,i,-d),Gu(o,i,g);var B=Td([],v,a),y=Td([],v,o);r&&(zn(B,B,u),Gn(B,B,f),zn(y,y,u),Gn(y,y,f)),n.push(B),n.push(y)}return A&&n.push(n.shift()),n}function aB(t,e,A){var r=e.smooth,n=e.points;if(n&&n.length>=2){if(r){var i=kE(n,r,A,e.smoothConstraint);t.moveTo(n[0][0],n[0][1]);for(var a=n.length,o=0;o<(A?a:a-1);o++){var s=i[o*2],l=i[o*2+1],u=n[(o+1)%a];t.bezierCurveTo(s[0],s[1],l[0],l[1],u[0],u[1])}}else{t.moveTo(n[0][0],n[0][1]);for(var o=1,f=n.length;o<f;o++)t.lineTo(n[o][0],n[o][1])}A&&t.closePath()}}var KE=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),oB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultShape=function(){return new KE},e.prototype.buildPath=function(A,r){aB(A,r,!0)},e}(Re);oB.prototype.type="polygon";const pc=oB;var VE=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),sB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new VE},e.prototype.buildPath=function(A,r){aB(A,r,!1)},e}(Re);sB.prototype.type="polyline";const xs=sB;var GE={},zE=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),lB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new zE},e.prototype.buildPath=function(A,r){var n,i,a,o;if(this.subPixelOptimize){var s=hp(GE,r,this.style);n=s.x1,i=s.y1,a=s.x2,o=s.y2}else n=r.x1,i=r.y1,a=r.x2,o=r.y2;var l=r.percent;l!==0&&(A.moveTo(n,i),l<1&&(a=n*(1-l)+a*l,o=i*(1-l)+o*l),A.lineTo(a,o))},e.prototype.pointAt=function(A){var r=this.shape;return[r.x1*(1-A)+r.x2*A,r.y1*(1-A)+r.y2*A]},e}(Re);lB.prototype.type="line";const ln=lB;var RA=[],WE=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function uB(t,e,A){var r=t.cpx2,n=t.cpy2;return r!=null||n!=null?[(A?jd:iA)(t.x1,t.cpx1,t.cpx2,t.x2,e),(A?jd:iA)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(A?tg:vA)(t.x1,t.cpx1,t.x2,e),(A?tg:vA)(t.y1,t.cpy1,t.y2,e)]}var fB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new WE},e.prototype.buildPath=function(A,r){var n=r.x1,i=r.y1,a=r.x2,o=r.y2,s=r.cpx1,l=r.cpy1,u=r.cpx2,f=r.cpy2,c=r.percent;c!==0&&(A.moveTo(n,i),u==null||f==null?(c<1&&(ko(n,s,a,c,RA),s=RA[1],a=RA[2],ko(i,l,o,c,RA),l=RA[1],o=RA[2]),A.quadraticCurveTo(s,l,a,o)):(c<1&&(No(n,s,u,a,c,RA),s=RA[1],u=RA[2],a=RA[3],No(i,l,f,o,c,RA),l=RA[1],f=RA[2],o=RA[3]),A.bezierCurveTo(s,l,u,f,a,o)))},e.prototype.pointAt=function(A){return uB(this.shape,A,!1)},e.prototype.tangentAt=function(A){var r=uB(this.shape,A,!0);return vQ(r,r)},e}(Re);fB.prototype.type="bezier-curve";const cB=fB;var YE=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),hB=function(t){Z(e,t);function e(A){return t.call(this,A)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new YE},e.prototype.buildPath=function(A,r){var n=r.cx,i=r.cy,a=Math.max(r.r,0),o=r.startAngle,s=r.endAngle,l=r.clockwise,u=Math.cos(o),f=Math.sin(o);A.moveTo(u*a+n,f*a+i),A.arc(n,i,a,o,s,!l)},e}(Re);hB.prototype.type="arc";const Bc=hB;var XE=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type="compound",A}return e.prototype._updatePathDirty=function(){for(var A=this.shape.paths,r=this.shapeChanged(),n=0;n<A.length;n++)r=r||A[n].shapeChanged();r&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var A=this.shape.paths||[],r=this.getGlobalScale(),n=0;n<A.length;n++)A[n].path||A[n].createPathProxy(),A[n].path.setScale(r[0],r[1],A[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(A,r){for(var n=r.paths||[],i=0;i<n.length;i++)n[i].buildPath(A,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var A=this.shape.paths||[],r=0;r<A.length;r++)A[r].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Re.prototype.getBoundingRect.call(this)},e}(Re);const ZE=XE;var JE=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,A){this.colorStops.push({offset:e,color:A})},t}();const vB=JE;var $E=function(t){Z(e,t);function e(A,r,n,i,a,o){var s=t.call(this,a)||this;return s.x=A??0,s.y=r??0,s.x2=n??1,s.y2=i??0,s.type="linear",s.global=o||!1,s}return e}(vB);const dB=$E;var qE=function(t){Z(e,t);function e(A,r,n,i,a){var o=t.call(this,i)||this;return o.x=A??.5,o.y=r??.5,o.r=n??.5,o.type="radial",o.global=a||!1,o}return e}(vB);const jE=qE;var un=[0,0],fn=[0,0],Es=new Fe,Us=new Fe,eU=function(){function t(e,A){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new Fe;for(var r=0;r<2;r++)this._axes[r]=new Fe;e&&this.fromBoundingRect(e,A)}return t.prototype.fromBoundingRect=function(e,A){var r=this._corners,n=this._axes,i=e.x,a=e.y,o=i+e.width,s=a+e.height;if(r[0].set(i,a),r[1].set(o,a),r[2].set(o,s),r[3].set(i,s),A)for(var l=0;l<4;l++)r[l].transform(A);Fe.sub(n[0],r[1],r[0]),Fe.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(e,A){var r=!0,n=!A;return Es.set(1/0,1/0),Us.set(0,0),!this._intersectCheckOneSide(this,e,Es,Us,n,1)&&(r=!1,n)||!this._intersectCheckOneSide(e,this,Es,Us,n,-1)&&(r=!1,n)||n||Fe.copy(A,r?Es:Us),r},t.prototype._intersectCheckOneSide=function(e,A,r,n,i,a){for(var o=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,un),this._getProjMinMaxOnAxis(s,A._corners,fn),un[1]<fn[0]||un[0]>fn[1]){if(o=!1,i)return o;var u=Math.abs(fn[0]-un[1]),f=Math.abs(un[0]-fn[1]);Math.min(u,f)>n.len()&&(u<f?Fe.scale(n,l,-u*a):Fe.scale(n,l,f*a))}else if(r){var u=Math.abs(fn[0]-un[1]),f=Math.abs(un[0]-fn[1]);Math.min(u,f)<r.len()&&(u<f?Fe.scale(r,l,u*a):Fe.scale(r,l,-f*a))}}return o},t.prototype._getProjMinMaxOnAxis=function(e,A,r){for(var n=this._axes[e],i=this._origin,a=A[0].dot(n)+i[e],o=a,s=a,l=1;l<A.length;l++){var u=A[l].dot(n)+i[e];o=Math.min(u,o),s=Math.max(u,s)}r[0]=o,r[1]=s},t}();const Ss=eU;var AU=[],tU=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.notClear=!0,A.incremental=!0,A._displayables=[],A._temporaryDisplayables=[],A._cursor=0,A}return e.prototype.traverse=function(A,r){A.call(r,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(A,r){r?this._temporaryDisplayables.push(A):this._displayables.push(A),this.markRedraw()},e.prototype.addDisplayables=function(A,r){r=r||!1;for(var n=0;n<A.length;n++)this.addDisplayable(A[n],r)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(A){for(var r=this._cursor;r<this._displayables.length;r++)A&&A(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)A&&A(this._temporaryDisplayables[r])},e.prototype.update=function(){this.updateTransform();for(var A=this._cursor;A<this._displayables.length;A++){var r=this._displayables[A];r.parent=this,r.update(),r.parent=null}for(var A=0;A<this._temporaryDisplayables.length;A++){var r=this._temporaryDisplayables[A];r.parent=this,r.update(),r.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var A=new Me(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var n=this._displayables[r],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(AU)),A.union(i)}this._rect=A}return this._rect},e.prototype.contain=function(A,r){var n=this.transformCoordToLocal(A,r),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var a=0;a<this._displayables.length;a++){var o=this._displayables[a];if(o.contain(A,r))return!0}return!1},e}(ua);const rU=tU;var nU=Xe();function iU(t,e,A,r,n){var i;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();i=a&&a.animation}var o=e&&e.isAnimationEnabled(),s=t==="update";if(o){var l=void 0,u=void 0,f=void 0;r?(l=ye(r.duration,200),u=ye(r.easing,"cubicOut"),f=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),f=e.getShallow(s?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(l=i.duration),i.easing!=null&&(u=i.easing),i.delay!=null&&(f=i.delay)),de(f)&&(f=f(A,n)),de(l)&&(l=l(A));var c={duration:l||0,delay:f,easing:u};return c}else return null}function yc(t,e,A,r,n,i,a){var o=!1,s;de(n)?(a=i,i=n,n=null):fe(n)&&(i=n.cb,a=n.during,o=n.isFrom,s=n.removeOpt,n=n.dataIndex);var l=t==="leave";l||e.stopAnimation("leave");var u=iU(t,r,n,l?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,n):null);if(u&&u.duration>0){var f=u.duration,c=u.delay,h=u.easing,v={duration:f,delay:c||0,easing:h,done:i,force:!!i||!!a,setToFinal:!l,scope:t,during:a};o?e.animateFrom(A,v):e.animateTo(A,v)}else e.stopAnimation(),!o&&e.attr(A),a&&a(1),i&&i()}function yA(t,e,A,r,n,i){yc("update",t,e,A,r,n,i)}function rt(t,e,A,r,n,i){yc("enter",t,e,A,r,n,i)}function ui(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var A=t.animators[e];if(A.scope==="leave")return!0}return!1}function bs(t,e,A,r,n,i){ui(t)||yc("leave",t,e,A,r,n,i)}function gB(t,e,A,r){t.removeTextContent(),t.removeTextGuideLine(),bs(t,{style:{opacity:0}},e,A,r)}function mc(t,e,A){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(n){n.isGroup||gB(n,e,A,r)}):gB(t,e,A,r)}function pB(t){nU(t).oldStyle=t.style}var Is=Math.max,Ts=Math.min,wc={};function aU(t){return Re.extend(t)}var oU=IE;function sU(t,e){return oU(t,e)}function yt(t,e){wc[t]=e}function lU(t){if(wc.hasOwnProperty(t))return wc[t]}function Cc(t,e,A,r){var n=bE(t,e);return A&&(r==="center"&&(A=yB(A,n.getBoundingRect())),mB(n,A)),n}function BB(t,e,A){var r=new nn({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(n){if(A==="center"){var i={width:n.width,height:n.height};r.setStyle(yB(e,i))}}});return r}function yB(t,e){var A=e.width/e.height,r=t.height*A,n;r<=t.width?n=t.height:(r=t.width,n=r/A);var i=t.x+t.width/2,a=t.y+t.height/2;return{x:i-r/2,y:a-n/2,width:r,height:n}}var uU=TE;function mB(t,e){if(t.applyTransform){var A=t.getBoundingRect(),r=A.calculateTransform(e);t.applyTransform(r)}}function ya(t,e){return hp(t,t,{lineWidth:e}),t}function fU(t){return vp(t.shape,t.shape,t.style),t}var cU=an;function wB(t,e){for(var A=Af([]);t&&t!==e;)Zn(A,t.getLocalTransform(),A),t=t.parent;return A}function ma(t,e,A){return e&&!DA(e)&&(e=es.getLocalTransform(e)),A&&(e=Io([],e)),ZA([],t,e)}function CB(t,e,A){var r=e[4]===0||e[5]===0||e[0]===0?1:Math.abs(2*e[4]/e[0]),n=e[4]===0||e[5]===0||e[2]===0?1:Math.abs(2*e[4]/e[2]),i=[t==="left"?-r:t==="right"?r:0,t==="top"?-n:t==="bottom"?n:0];return i=ma(i,e,A),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function _B(t){return!t.isGroup}function hU(t){return t.shape!=null}function QB(t,e,A){if(!t||!e)return;function r(a){var o={};return a.traverse(function(s){_B(s)&&s.anid&&(o[s.anid]=s)}),o}function n(a){var o={x:a.x,y:a.y,rotation:a.rotation};return hU(a)&&(o.shape=Y({},a.shape)),o}var i=r(t);e.traverse(function(a){if(_B(a)&&a.anid){var o=i[a.anid];if(o){var s=n(a);a.attr(n(o)),yA(a,s,A,Te(a).dataIndex)}}})}function vU(t,e){return he(t,function(A){var r=A[0];r=Is(r,e.x),r=Ts(r,e.x+e.width);var n=A[1];return n=Is(n,e.y),n=Ts(n,e.y+e.height),[r,n]})}function dU(t,e){var A=Is(t.x,e.x),r=Ts(t.x+t.width,e.x+e.width),n=Is(t.y,e.y),i=Ts(t.y+t.height,e.y+e.height);if(r>=A&&i>=n)return{x:A,y:n,width:r-A,height:i-n}}function _c(t,e,A){var r=Y({rectHover:!0},e),n=r.style={strokeNoScale:!0};if(A=A||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(n.image=t.slice(8),He(n,A),new nn(r)):Cc(t.replace("path://",""),r,A,"center")}function gU(t,e,A,r,n){for(var i=0,a=n[n.length-1];i<n.length;i++){var o=n[i];if(FB(t,e,A,r,o[0],o[1],a[0],a[1]))return!0;a=o}}function FB(t,e,A,r,n,i,a,o){var s=A-t,l=r-e,u=a-n,f=o-i,c=Qc(u,f,s,l);if(pU(c))return!1;var h=t-n,v=e-i,d=Qc(h,v,s,l)/c;if(d<0||d>1)return!1;var g=Qc(h,v,u,f)/c;return!(g<0||g>1)}function Qc(t,e,A,r){return t*r-A*e}function pU(t){return t<=1e-6&&t>=-1e-6}function Ds(t){var e=t.itemTooltipOption,A=t.componentModel,r=t.itemName,n=ae(e)?{formatter:e}:e,i=A.mainType,a=A.componentIndex,o={componentType:i,name:r,$vars:["name"]};o[i+"Index"]=a;var s=t.formatterParamsExtra;s&&S(Ge(s),function(u){kr(o,u)||(o[u]=s[u],o.$vars.push(u))});var l=Te(t.el);l.componentMainType=i,l.componentIndex=a,l.tooltipConfig={name:r,option:He({content:r,encodeHTMLContent:!0,formatterParams:o},n)}}function xB(t,e){var A;t.isGroup&&(A=e(t)),A||t.traverse(e)}function Ls(t,e){if(t)if(re(t))for(var A=0;A<t.length;A++)xB(t[A],e);else xB(t,e)}yt("circle",dc),yt("ellipse",eB),yt("sector",Ba),yt("ring",iB),yt("polygon",pc),yt("polyline",xs),yt("rect",Ze),yt("line",ln),yt("bezierCurve",cB),yt("arc",Bc);const BU=Object.freeze(Object.defineProperty({__proto__:null,Arc:Bc,BezierCurve:cB,BoundingRect:Me,Circle:dc,CompoundPath:ZE,Ellipse:eB,Group:sA,Image:nn,IncrementalDisplayable:rU,Line:ln,LinearGradient:dB,OrientedBoundingRect:Ss,Path:Re,Point:Fe,Polygon:pc,Polyline:xs,RadialGradient:jE,Rect:Ze,Ring:iB,Sector:Ba,Text:OA,applyTransform:ma,clipPointsByRect:vU,clipRectByRect:dU,createIcon:_c,extendPath:sU,extendShape:aU,getShapeClass:lU,getTransform:wB,groupTransition:QB,initProps:rt,isElementRemoved:ui,lineLineIntersect:FB,linePolygonIntersect:gU,makeImage:BB,makePath:Cc,mergePath:uU,registerShape:yt,removeElement:bs,removeElementWithFadeOut:mc,resizePath:mB,setTooltipConfig:Ds,subPixelOptimize:cU,subPixelOptimizeLine:ya,subPixelOptimizeRect:fU,transformDirection:CB,traverseElements:Ls,updateProps:yA},Symbol.toStringTag,{value:"Module"}));var Ms={};function EB(t,e){for(var A=0;A<tt.length;A++){var r=tt[A],n=e[r],i=t.ensureState(r);i.style=i.style||{},i.style.text=n}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Fc(t,e,A){var r=t.labelFetcher,n=t.labelDataIndex,i=t.labelDimIndex,a=e.normal,o;r&&(o=r.getFormattedLabel(n,"normal",null,i,a&&a.get("formatter"),A!=null?{interpolatedValue:A}:null)),o==null&&(o=de(t.defaultText)?t.defaultText(n,t,A):t.defaultText);for(var s={normal:o},l=0;l<tt.length;l++){var u=tt[l],f=e[u];s[u]=ye(r?r.getFormattedLabel(n,u,null,i,f&&f.get("formatter")):null,o)}return s}function Hs(t,e,A,r){A=A||Ms;for(var n=t instanceof OA,i=!1,a=0;a<ds.length;a++){var o=e[ds[a]];if(o&&o.getShallow("show")){i=!0;break}}var s=n?t:t.getTextContent();if(i){n||(s||(s=new OA,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Fc(A,e),u=e.normal,f=!!u.getShallow("show"),c=cn(u,r&&r.normal,A,!1,!n);c.text=l.normal,n||t.setTextConfig(UB(u,A,!1));for(var a=0;a<tt.length;a++){var h=tt[a],o=e[h];if(o){var v=s.ensureState(h),d=!!ye(o.getShallow("show"),f);if(d!==f&&(v.ignore=!d),v.style=cn(o,r&&r[h],A,!0,!n),v.style.text=l[h],!n){var g=t.ensureState(h);g.textConfig=UB(o,A,!0)}}}s.silent=!!u.getShallow("silent"),s.style.x!=null&&(c.x=s.style.x),s.style.y!=null&&(c.y=s.style.y),s.ignore=!f,s.useStyle(c),s.dirty(),A.enableTextSetter&&(fi(s).setLabelText=function(p){var B=Fc(A,e,p);EB(s,B)})}else s&&(s.ignore=!0);t.dirty()}function Os(t,e){e=e||"label";for(var A={normal:t.getModel(e)},r=0;r<tt.length;r++){var n=tt[r];A[n]=t.getModel([n,e])}return A}function cn(t,e,A,r,n){var i={};return yU(i,t,A,r,n),e&&Y(i,e),i}function UB(t,e,A){e=e||{};var r={},n,i=t.getShallow("rotate"),a=ye(t.getShallow("distance"),A?null:5),o=t.getShallow("offset");return n=t.getShallow("position")||(A?null:"inside"),n==="outside"&&(n=e.defaultOutsidePosition||"top"),n!=null&&(r.position=n),o!=null&&(r.offset=o),i!=null&&(i*=Math.PI/180,r.rotation=i),a!=null&&(r.distance=a),r.outsideFill=t.get("color")==="inherit"?e.inheritColor||null:"auto",r}function yU(t,e,A,r,n){A=A||Ms;var i=e.ecModel,a=i&&i.option.textStyle,o=mU(e),s;if(o){s={};for(var l in o)if(o.hasOwnProperty(l)){var u=e.getModel(["rich",l]);TB(s[l]={},u,a,A,r,n,!1,!0)}}s&&(t.rich=s);var f=e.get("overflow");f&&(t.overflow=f);var c=e.get("minMargin");c!=null&&(t.margin=c),TB(t,e,a,A,r,n,!0,!1)}function mU(t){for(var e;t&&t!==t.ecModel;){var A=(t.option||Ms).rich;if(A){e=e||{};for(var r=Ge(A),n=0;n<r.length;n++){var i=r[n];e[i]=1}}t=t.parentModel}return e}var SB=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],bB=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],IB=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function TB(t,e,A,r,n,i,a,o){A=!n&&A||Ms;var s=r&&r.inheritColor,l=e.getShallow("color"),u=e.getShallow("textBorderColor"),f=ye(e.getShallow("opacity"),A.opacity);(l==="inherit"||l==="auto")&&(process.env.NODE_ENV!=="production"&&l==="auto"&&lA("color: 'auto'","color: 'inherit'"),s?l=s:l=null),(u==="inherit"||u==="auto")&&(process.env.NODE_ENV!=="production"&&u==="auto"&&lA("color: 'auto'","color: 'inherit'"),s?u=s:u=null),i||(l=l||A.color,u=u||A.textBorderColor),l!=null&&(t.fill=l),u!=null&&(t.stroke=u);var c=ye(e.getShallow("textBorderWidth"),A.textBorderWidth);c!=null&&(t.lineWidth=c);var h=ye(e.getShallow("textBorderType"),A.textBorderType);h!=null&&(t.lineDash=h);var v=ye(e.getShallow("textBorderDashOffset"),A.textBorderDashOffset);v!=null&&(t.lineDashOffset=v),!n&&f==null&&!o&&(f=r&&r.defaultOpacity),f!=null&&(t.opacity=f),!n&&!i&&t.fill==null&&r.inheritColor&&(t.fill=r.inheritColor);for(var d=0;d<SB.length;d++){var g=SB[d],p=ye(e.getShallow(g),A[g]);p!=null&&(t[g]=p)}for(var d=0;d<bB.length;d++){var g=bB[d],p=e.getShallow(g);p!=null&&(t[g]=p)}if(t.verticalAlign==null){var B=e.getShallow("baseline");B!=null&&(t.verticalAlign=B)}if(!a||!r.disableBox){for(var d=0;d<IB.length;d++){var g=IB[d],p=e.getShallow(g);p!=null&&(t[g]=p)}var y=e.getShallow("borderType");y!=null&&(t.borderDash=y),(t.backgroundColor==="auto"||t.backgroundColor==="inherit")&&s&&(process.env.NODE_ENV!=="production"&&t.backgroundColor==="auto"&&lA("backgroundColor: 'auto'","backgroundColor: 'inherit'"),t.backgroundColor=s),(t.borderColor==="auto"||t.borderColor==="inherit")&&s&&(process.env.NODE_ENV!=="production"&&t.borderColor==="auto"&&lA("borderColor: 'auto'","borderColor: 'inherit'"),t.borderColor=s)}}function wU(t,e){var A=e&&e.getModel("textStyle");return Et([t.fontStyle||A&&A.getShallow("fontStyle")||"",t.fontWeight||A&&A.getShallow("fontWeight")||"",(t.fontSize||A&&A.getShallow("fontSize")||12)+"px",t.fontFamily||A&&A.getShallow("fontFamily")||"sans-serif"].join(" "))}var fi=Xe();function CU(t,e,A,r){if(t){var n=fi(t);n.prevValue=n.value,n.value=A;var i=e.normal;n.valueAnimation=i.get("valueAnimation"),n.valueAnimation&&(n.precision=i.get("precision"),n.defaultInterpolatedText=r,n.statesModels=e)}}function _U(t,e,A,r,n){var i=fi(t);if(!i.valueAnimation||i.prevValue===i.value)return;var a=i.defaultInterpolatedText,o=ye(i.interpolatedValue,i.prevValue),s=i.value;function l(u){var f=Zg(A,i.precision,o,s,u);i.interpolatedValue=u===1?null:f;var c=Fc({labelDataIndex:e,labelFetcher:n,defaultText:a?a(f):f+""},i.statesModels,f);EB(t,c)}t.percent=0,(i.prevValue==null?rt:yA)(t,{percent:1},r,e,null,l)}var QU=["textStyle","color"],xc=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Ec=new OA,FU=function(){function t(){}return t.prototype.getTextColor=function(e){var A=this.ecModel;return this.getShallow("color")||(!e&&A?A.get(QU):null)},t.prototype.getFont=function(){return wU({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(e){for(var A={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<xc.length;r++)A[xc[r]]=this.getShallow(xc[r]);return Ec.useStyle(A),Ec.update(),Ec.getBoundingRect()},t}();const xU=FU;var DB=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],EU=la(DB),UU=function(){function t(){}return t.prototype.getLineStyle=function(e){return EU(this,e)},t}(),LB=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],SU=la(LB),bU=function(){function t(){}return t.prototype.getItemStyle=function(e,A){return SU(this,e,A)},t}(),hn=function(){function t(e,A,r){this.parentModel=A,this.ecModel=r,this.option=e}return t.prototype.init=function(e,A,r){},t.prototype.mergeOption=function(e,A){De(this.option,e,!0)},t.prototype.get=function(e,A){return e==null?this.option:this._doGet(this.parsePath(e),!A&&this.parentModel)},t.prototype.getShallow=function(e,A){var r=this.option,n=r==null?r:r[e];if(n==null&&!A){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},t.prototype.getModel=function(e,A){var r=e!=null,n=r?this.parsePath(e):null,i=r?this._doGet(n):this.option;return A=A||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(n)),new t(i,A,this.ecModel)},t.prototype.isEmpty=function(){return this.option==null},t.prototype.restoreData=function(){},t.prototype.clone=function(){var e=this.constructor;return new e(Ee(this.option))},t.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},t.prototype.resolveParentPath=function(e){return e},t.prototype.isAnimationEnabled=function(){if(!Qe.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(e,A){var r=this.option;if(!e)return r;for(var n=0;n<e.length&&!(e[n]&&(r=r&&typeof r=="object"?r[e[n]]:null,r==null));n++);return r==null&&A&&(r=A._doGet(this.resolveParentPath(e),A.parentModel)),r},t}();kf(hn),ax(hn),xt(hn,UU),xt(hn,bU),xt(hn,fx),xt(hn,xU);const mA=hn;var IU=Math.round(Math.random()*10);function Rs(t){return[t||"",IU++].join("_")}function TU(t){var e={};t.registerSubTypeDefaulter=function(A,r){var n=bt(A);e[n.main]=r},t.determineSubType=function(A,r){var n=r.type;if(!n){var i=bt(A).main;t.hasSubTypes(A)&&e[i]&&(n=e[i](r))}return n}}function DU(t,e){t.topologicalTravel=function(i,a,o,s){if(!i.length)return;var l=A(a),u=l.graph,f=l.noEntryList,c={};for(S(i,function(B){c[B]=!0});f.length;){var h=f.pop(),v=u[h],d=!!c[h];d&&(o.call(s,h,v.originalDeps.slice()),delete c[h]),S(v.successor,d?p:g)}S(c,function(){var B="";throw process.env.NODE_ENV!=="production"&&(B=as("Circular dependency may exists: ",c,i,a)),new Error(B)});function g(B){u[B].entryCount--,u[B].entryCount===0&&f.push(B)}function p(B){c[B]=!0,g(B)}};function A(i){var a={},o=[];return S(i,function(s){var l=r(a,s),u=l.originalDeps=e(s),f=n(u,i);l.entryCount=f.length,l.entryCount===0&&o.push(s),S(f,function(c){Le(l.predecessor,c)<0&&l.predecessor.push(c);var h=r(a,c);Le(h.successor,c)<0&&h.successor.push(s)})}),{graph:a,noEntryList:o}}function r(i,a){return i[a]||(i[a]={predecessor:[],successor:[]}),i[a]}function n(i,a){var o=[];return S(i,function(s){Le(a,s)>=0&&o.push(s)}),o}}function Ps(t,e){return De(De({},t,!0),e,!0)}const LU={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},MU={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var Ns="ZH",Uc="EN",ci=Uc,ks={},Sc={},MB=Qe.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||ci).toUpperCase();return t.indexOf(Ns)>-1?Ns:ci}():ci;function HB(t,e){t=t.toUpperCase(),Sc[t]=new mA(e),ks[t]=e}function HU(t){if(ae(t)){var e=ks[t.toUpperCase()]||{};return t===Ns||t===Uc?Ee(e):De(Ee(e),Ee(ks[ci]),!1)}else return De(Ee(t),Ee(ks[ci]),!1)}function OU(t){return Sc[t]}function RU(){return Sc[ci]}HB(Uc,LU),HB(Ns,MU);var bc=1e3,Ic=bc*60,wa=Ic*60,nt=wa*24,OB=nt*365,Ca={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Ks="{yyyy}-{MM}-{dd}",RB={year:"{yyyy}",month:"{yyyy}-{MM}",day:Ks,hour:Ks+" "+Ca.hour,minute:Ks+" "+Ca.minute,second:Ks+" "+Ca.second,millisecond:Ca.none},Tc=["year","month","day","hour","minute","second","millisecond"],PB=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pr(t,e){return t+="","0000".substr(0,e-t.length)+t}function hi(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function PU(t){return t===hi(t)}function NU(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Vs(t,e,A,r){var n=zt(t),i=n[Dc(A)](),a=n[vi(A)]()+1,o=Math.floor((a-1)/3)+1,s=n[Gs(A)](),l=n["get"+(A?"UTC":"")+"Day"](),u=n[_a(A)](),f=(u-1)%12+1,c=n[zs(A)](),h=n[Ws(A)](),v=n[Ys(A)](),d=u>=12?"pm":"am",g=d.toUpperCase(),p=r instanceof mA?r:OU(r||MB)||RU(),B=p.getModel("time"),y=B.get("month"),m=B.get("monthAbbr"),_=B.get("dayOfWeek"),C=B.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,d+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,pr(i%100+"",2)).replace(/{Q}/g,o+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,m[a-1]).replace(/{MM}/g,pr(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,pr(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,_[l]).replace(/{ee}/g,C[l]).replace(/{e}/g,l+"").replace(/{HH}/g,pr(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,pr(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,pr(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,pr(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,pr(v,3)).replace(/{S}/g,v+"")}function kU(t,e,A,r,n){var i=null;if(ae(A))i=A;else if(de(A))i=A(t.value,e,{level:t.level});else{var a=Y({},Ca);if(t.level>0)for(var o=0;o<Tc.length;++o)a[Tc[o]]="{primary|"+a[Tc[o]]+"}";var s=A?A.inherit===!1?A:He(A,a):a,l=NB(t.value,n);if(s[l])i=s[l];else if(s.inherit){for(var u=PB.indexOf(l),o=u-1;o>=0;--o)if(s[l]){i=s[l];break}i=i||a.none}if(re(i)){var f=t.level==null?0:t.level>=0?t.level:i.length+t.level;f=Math.min(f,i.length-1),i=i[f]}}return Vs(new Date(t.value),i,n,r)}function NB(t,e){var A=zt(t),r=A[vi(e)]()+1,n=A[Gs(e)](),i=A[_a(e)](),a=A[zs(e)](),o=A[Ws(e)](),s=A[Ys(e)](),l=s===0,u=l&&o===0,f=u&&a===0,c=f&&i===0,h=c&&n===1,v=h&&r===1;return v?"year":h?"month":c?"day":f?"hour":u?"minute":l?"second":"millisecond"}function kB(t,e,A){var r=ze(t)?zt(t):t;switch(e=e||NB(t,A),e){case"year":return r[Dc(A)]();case"half-year":return r[vi(A)]()>=6?1:0;case"quarter":return Math.floor((r[vi(A)]()+1)/4);case"month":return r[vi(A)]();case"day":return r[Gs(A)]();case"half-day":return r[_a(A)]()/24;case"hour":return r[_a(A)]();case"minute":return r[zs(A)]();case"second":return r[Ws(A)]();case"millisecond":return r[Ys(A)]()}}function Dc(t){return t?"getUTCFullYear":"getFullYear"}function vi(t){return t?"getUTCMonth":"getMonth"}function Gs(t){return t?"getUTCDate":"getDate"}function _a(t){return t?"getUTCHours":"getHours"}function zs(t){return t?"getUTCMinutes":"getMinutes"}function Ws(t){return t?"getUTCSeconds":"getSeconds"}function Ys(t){return t?"getUTCMilliseconds":"getMilliseconds"}function KU(t){return t?"setUTCFullYear":"setFullYear"}function KB(t){return t?"setUTCMonth":"setMonth"}function VB(t){return t?"setUTCDate":"setDate"}function GB(t){return t?"setUTCHours":"setHours"}function zB(t){return t?"setUTCMinutes":"setMinutes"}function WB(t){return t?"setUTCSeconds":"setSeconds"}function YB(t){return t?"setUTCMilliseconds":"setMilliseconds"}function XB(t){if(!Hg(t))return ae(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function ZB(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(A,r){return r.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Xs=Ud;function Lc(t,e,A){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(u){return u&&Et(u)?u:"-"}function i(u){return!!(u!=null&&!isNaN(u)&&isFinite(u))}var a=e==="time",o=t instanceof Date;if(a||o){var s=a?zt(t):t;if(isNaN(+s)){if(o)return"-"}else return Vs(s,r,A)}if(e==="ordinal")return Uo(t)?n(t):ze(t)&&i(t)?t+"":"-";var l=ns(t);return i(l)?XB(l):Uo(t)?n(t):typeof t=="boolean"?t+"":"-"}var JB=["a","b","c","d","e","f","g"],Mc=function(t,e){return"{"+t+(e??"")+"}"};function $B(t,e,A){re(e)||(e=[e]);var r=e.length;if(!r)return"";for(var n=e[0].$vars||[],i=0;i<n.length;i++){var a=JB[i];t=t.replace(Mc(a),Mc(a,0))}for(var o=0;o<r;o++)for(var s=0;s<n.length;s++){var l=e[o][n[s]];t=t.replace(Mc(JB[s],o),A?LA(l):l)}return t}function VU(t,e){var A=ae(t)?{color:t,extraCssText:e}:t||{},r=A.color,n=A.type;e=A.extraCssText;var i=A.renderMode||"html";if(!r)return"";if(i==="html")return n==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+LA(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+LA(r)+";"+(e||"")+'"></span>';var a=A.markerId||"markerX";return{renderMode:i,content:"{"+a+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function vn(t,e){return e=e||"transparent",ae(t)?t:fe(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}var Zs=S,GU=["left","right","top","bottom","width","height"],Js=[["width","left","right"],["height","top","bottom"]];function Hc(t,e,A,r,n){var i=0,a=0;r==null&&(r=1/0),n==null&&(n=1/0);var o=0;e.eachChild(function(s,l){var u=s.getBoundingRect(),f=e.childAt(l+1),c=f&&f.getBoundingRect(),h,v;if(t==="horizontal"){var d=u.width+(c?-c.x+u.x:0);h=i+d,h>r||s.newline?(i=0,h=d,a+=o+A,o=u.height):o=Math.max(o,u.height)}else{var g=u.height+(c?-c.y+u.y:0);v=a+g,v>n||s.newline?(i+=o+A,a=0,v=g,o=u.width):o=Math.max(o,u.width)}s.newline||(s.x=i,s.y=a,s.markRedraw(),t==="horizontal"?i=h+A:a=v+A)})}var Qa=Hc;$e(Hc,"vertical"),$e(Hc,"horizontal");function Fa(t,e,A){A=Xs(A||0);var r=e.width,n=e.height,i=aA(t.left,r),a=aA(t.top,n),o=aA(t.right,r),s=aA(t.bottom,n),l=aA(t.width,r),u=aA(t.height,n),f=A[2]+A[0],c=A[1]+A[3],h=t.aspect;switch(isNaN(l)&&(l=r-o-c-i),isNaN(u)&&(u=n-s-f-a),h!=null&&(isNaN(l)&&isNaN(u)&&(h>r/n?l=r*.8:u=n*.8),isNaN(l)&&(l=h*u),isNaN(u)&&(u=l/h)),isNaN(i)&&(i=r-o-l-c),isNaN(a)&&(a=n-s-u-f),t.left||t.right){case"center":i=r/2-l/2-A[3];break;case"right":i=r-l-c;break}switch(t.top||t.bottom){case"middle":case"center":a=n/2-u/2-A[0];break;case"bottom":a=n-u-f;break}i=i||0,a=a||0,isNaN(l)&&(l=r-c-i-(o||0)),isNaN(u)&&(u=n-f-a-(s||0));var v=new Me(i+A[3],a+A[0],l,u);return v.margin=A,v}function xa(t){var e=t.layoutMode||t.constructor.layoutMode;return fe(e)?e:e?{type:e}:null}function di(t,e,A){var r=A&&A.ignoreSize;!re(r)&&(r=[r,r]);var n=a(Js[0],0),i=a(Js[1],1);l(Js[0],t,n),l(Js[1],t,i);function a(u,f){var c={},h=0,v={},d=0,g=2;if(Zs(u,function(y){v[y]=t[y]}),Zs(u,function(y){o(e,y)&&(c[y]=v[y]=e[y]),s(c,y)&&h++,s(v,y)&&d++}),r[f])return s(e,u[1])?v[u[2]]=null:s(e,u[2])&&(v[u[1]]=null),v;if(d===g||!h)return v;if(h>=g)return c;for(var p=0;p<u.length;p++){var B=u[p];if(!o(c,B)&&o(t,B)){c[B]=t[B];break}}return c}function o(u,f){return u.hasOwnProperty(f)}function s(u,f){return u[f]!=null&&u[f]!=="auto"}function l(u,f,c){Zs(u,function(h){f[h]=c[h]})}}function Ea(t){return zU({},t)}function zU(t,e){return e&&t&&Zs(GU,function(A){e.hasOwnProperty(A)&&(t[A]=e[A])}),t}var WU=Xe(),gi=function(t){Z(e,t);function e(A,r,n){var i=t.call(this,A,r,n)||this;return i.uid=Rs("ec_cpt_model"),i}return e.prototype.init=function(A,r,n){this.mergeDefaultAndTheme(A,n)},e.prototype.mergeDefaultAndTheme=function(A,r){var n=xa(this),i=n?Ea(A):{},a=r.getTheme();De(A,a.get(this.mainType)),De(A,this.getDefaultOption()),n&&di(A,i,n)},e.prototype.mergeOption=function(A,r){De(this.option,A,!0);var n=xa(this);n&&di(this.option,A,n)},e.prototype.optionUpdated=function(A,r){},e.prototype.getDefaultOption=function(){var A=this.constructor;if(!rx(A))return A.defaultOption;var r=WU(this);if(!r.defaultOption){for(var n=[],i=A;i;){var a=i.prototype.defaultOption;a&&n.push(a),i=i.superClass}for(var o={},s=n.length-1;s>=0;s--)o=De(o,n[s],!0);r.defaultOption=o}return r.defaultOption},e.prototype.getReferringComponents=function(A,r){var n=A+"Index",i=A+"Id";return sa(this.ecModel,A,{index:this.get(n,!0),id:this.get(i,!0)},r)},e.prototype.getBoxLayoutParams=function(){var A=this;return{left:A.get("left"),top:A.get("top"),right:A.get("right"),bottom:A.get("bottom"),width:A.get("width"),height:A.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(A){this.option.zlevel=A},e.protoInitialize=function(){var A=e.prototype;A.type="component",A.id="",A.name="",A.mainType="",A.subType="",A.componentIndex=0}(),e}(mA);$g(gi,mA),os(gi),TU(gi),DU(gi,YU);function YU(t){var e=[];return S(gi.getClassesByMainType(t),function(A){e=e.concat(A.dependencies||A.prototype.dependencies||[])}),e=he(e,function(A){return bt(A).main}),t!=="dataset"&&Le(e,"dataset")<=0&&e.unshift("dataset"),e}const Ke=gi;var qB="";typeof navigator<"u"&&(qB=navigator.platform||"");var pi="rgba(0, 0, 0, 0.2)";const XU={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:pi,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:pi,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:pi,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:pi,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:pi,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:pi,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:qB.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Oc=Be(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),it="original",PA="arrayRows",Mt="objectRows",Zt="keyedColumns",Jt="typedArray",jB="unknown",$t="column",Bi="row",zA={Must:1,Might:2,Not:3},e0=Xe();function ZU(t){e0(t).datasetMap=Be()}function JU(t,e,A){var r={},n=A0(e);if(!n||!t)return r;var i=[],a=[],o=e.ecModel,s=e0(o).datasetMap,l=n.uid+"_"+A.seriesLayoutBy,u,f;t=t.slice(),S(t,function(d,g){var p=fe(d)?d:t[g]={name:d};p.type==="ordinal"&&u==null&&(u=g,f=v(p)),r[p.name]=[]});var c=s.get(l)||s.set(l,{categoryWayDim:f,valueWayDim:0});S(t,function(d,g){var p=d.name,B=v(d);if(u==null){var y=c.valueWayDim;h(r[p],y,B),h(a,y,B),c.valueWayDim+=B}else if(u===g)h(r[p],0,B),h(i,0,B);else{var y=c.categoryWayDim;h(r[p],y,B),h(a,y,B),c.categoryWayDim+=B}});function h(d,g,p){for(var B=0;B<p;B++)d.push(g+B)}function v(d){var g=d.dimsDef;return g?g.length:1}return i.length&&(r.itemName=i),a.length&&(r.seriesName=a),r}function A0(t){var e=t.get("data",!0);if(!e)return sa(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},HA).models[0]}function $U(t){return!t.get("transform",!0)&&!t.get("fromTransformResult",!0)?[]:sa(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},HA).models}function t0(t,e){return qU(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function qU(t,e,A,r,n,i){var a,o=5;if(xA(t))return zA.Not;var s,l;if(r){var u=r[i];fe(u)?(s=u.name,l=u.type):ae(u)&&(s=u)}if(l!=null)return l==="ordinal"?zA.Must:zA.Not;if(e===PA){var f=t;if(A===Bi){for(var c=f[i],h=0;h<(c||[]).length&&h<o;h++)if((a=m(c[n+h]))!=null)return a}else for(var h=0;h<f.length&&h<o;h++){var v=f[n+h];if(v&&(a=m(v[i]))!=null)return a}}else if(e===Mt){var d=t;if(!s)return zA.Not;for(var h=0;h<d.length&&h<o;h++){var g=d[h];if(g&&(a=m(g[s]))!=null)return a}}else if(e===Zt){var p=t;if(!s)return zA.Not;var c=p[s];if(!c||xA(c))return zA.Not;for(var h=0;h<c.length&&h<o;h++)if((a=m(c[h]))!=null)return a}else if(e===it)for(var B=t,h=0;h<B.length&&h<o;h++){var g=B[h],y=aa(g);if(!re(y))return zA.Not;if((a=m(y[i]))!=null)return a}function m(_){var C=ae(_);if(_!=null&&Number.isFinite(Number(_))&&_!=="")return C?zA.Might:zA.Not;if(C&&_!=="-")return zA.Must}return zA.Not}var jU=Be();function eS(t,e,A){var r=jU.get(e);if(!r)return A;var n=r(t);if(!n)return A;if(process.env.NODE_ENV!=="production")for(var i=0;i<n.length;i++)Ce(ri(n[i]));return A.concat(n)}var r0=Xe();Xe();var Rc=function(){function t(){}return t.prototype.getColorFromPalette=function(e,A,r){var n=UA(this.get("color",!0)),i=this.get("colorLayer",!0);return tS(this,r0,n,i,e,A,r)},t.prototype.clearColorPalette=function(){rS(this,r0)},t}();function AS(t,e){for(var A=t.length,r=0;r<A;r++)if(t[r].length>e)return t[r];return t[A-1]}function tS(t,e,A,r,n,i,a){i=i||t;var o=e(i),s=o.paletteIdx||0,l=o.paletteNameMap=o.paletteNameMap||{};if(l.hasOwnProperty(n))return l[n];var u=a==null||!r?A:AS(r,a);if(u=u||A,!(!u||!u.length)){var f=u[s];return n&&(l[n]=f),o.paletteIdx=(s+1)%u.length,f}}function rS(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var $s,Ua,n0,Pc="\0_ec_inner",i0=1,nS={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},iS={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},qs={};function aS(t){S(t,function(e,A){if(!Ke.hasClass(A)){var r=nS[A];r&&!qs[r]&&(pA("Component "+A+` is used but not imported.
23
+ */var Fa={},Dg={};function QF(A){delete Dg[A]}function xF(A){if(!A)return!1;if(typeof A=="string")return vs(A,1)<vc;if(A.colorStops){for(var e=A.colorStops,t=0,r=e.length,n=0;n<r;n++)t+=vs(e[n].color,1);return t/=r,t<vc}return!1}var FF=(function(){function A(e,t,r){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=t,this.id=e;var i=new Wx,a=r.renderer||"canvas";if(Fa[a]||(a=Ye(Fa)[0]),process.env.NODE_ENV!=="production"&&!Fa[a])throw new Error("Renderer '"+a+"' is not imported. Please import it first.");r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var o=new Fa[a](t,i,r,e),s=r.ssr||o.ssrOnly;this.storage=i,this.painter=o;var l=!_e.node&&!_e.worker&&!s?new dF(o.getViewportRoot(),o.root):null,u=r.useCoarsePointer,f=u==null||u==="auto"?_e.touchEventsSupported:!!u,c=44,h;f&&(h=de(r.pointerSize,c)),this.handler=new Yp(i,o,l,o.root,h),this.animation=new sF({stage:{update:s?null:function(){return n._flush(!0)}}}),s||this.animation.start()}return A.prototype.add=function(e){this._disposed||!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},A.prototype.remove=function(e){this._disposed||!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},A.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},A.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=xF(e))},A.prototype.getBackgroundColor=function(){return this._backgroundColor},A.prototype.setDarkMode=function(e){this._darkMode=e},A.prototype.isDarkMode=function(){return this._darkMode},A.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},A.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},A.prototype.flush=function(){this._disposed||this._flush(!1)},A.prototype._flush=function(e){var t,r=Bi();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var n=Bi();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},A.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},A.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},A.prototype.refreshHover=function(){this._needsRefreshHover=!0},A.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},A.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},A.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},A.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},A.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},A.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},A.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},A.prototype.on=function(e,t,r){return this._disposed||this.handler.on(e,t,r),this},A.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},A.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},A.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof st&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},A.prototype.dispose=function(){this._disposed||(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,QF(this.id))},A})();function Lg(A,e){var t=new FF(Ip(),A,e);return Dg[t.id]=t,t}function EF(A,e){Fa[A]=e}var Mg=1e-4,Hg=20;function bF(A){return A.replace(/^\s+|\s+$/g,"")}var Ea=Math.min,Zt=Math.max,NA=Math.abs;function vt(A,e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1],s=i-n,l=o-a;if(s===0)return l===0?a:(a+o)/2;if(r)if(s>0){if(A<=n)return a;if(A>=i)return o}else{if(A>=n)return a;if(A<=i)return o}else{if(A===n)return a;if(A===i)return o}return(A-n)/s*l+a}var ct=SF;function SF(A,e,t){switch(A){case"center":case"middle":A="50%";break;case"left":case"top":A="0%";break;case"right":case"bottom":A="100%";break}return xc(A,e,t)}function xc(A,e,t){return ue(A)?bF(A).match(/%$/)?parseFloat(A)/100*e+(t||0):parseFloat(A):A==null?NaN:+A}function yt(A,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Hg),A=(+A).toFixed(e),t?A:+A}function ba(A){return A.sort(function(e,t){return e-t}),A}function ir(A){if(A=+A,isNaN(A))return 0;if(A>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(A*e)/e===A)return t}return Fc(A)}function Fc(A){var e=A.toString().toLowerCase(),t=e.indexOf("e"),r=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),a=i<0?0:n-1-i;return Math.max(0,a-r)}function Og(A,e){var t=Math.log,r=Math.LN10,n=Math.floor(t(A[1]-A[0])/r),i=Math.round(t(NA(e[1]-e[0]))/r),a=Math.min(Math.max(-n+i,0),20);return isFinite(a)?a:20}function UF(A,e){var t=Math.max(ir(A),ir(e)),r=A+e;return t>Hg?r:yt(r,t)}function Rg(A){var e=Math.PI*2;return(A%e+e)%e}function Ss(A){return A>-Mg&&A<Mg}var IF=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Ci(A){if(A instanceof Date)return A;if(ue(A)){var e=IF.exec(A);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(A==null)return new Date(NaN);return new Date(Math.round(A))}function TF(A){return Math.pow(10,Us(A))}function Us(A){if(A===0)return 0;var e=Math.floor(Math.log(A)/Math.LN10);return A/Math.pow(10,e)>=10&&e++,e}function Ng(A,e){var t=Us(A),r=Math.pow(10,t),n=A/r,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,A=i*r,t>=-20?+A.toFixed(t<0?-t:0):A}function Is(A){var e=parseFloat(A);return e==A&&(e!==0||!ue(A)||A.indexOf("x")<=0)?e:NaN}function Pg(A){return!isNaN(Is(A))}function kg(){return Math.round(Math.random()*9)}function Vg(A,e){return e===0?A:Vg(e,A%e)}function Kg(A,e){return A==null?e:e==null?A:A*e/Vg(A,e)}var DF="[ECharts] ",Gg={},LF=typeof console<"u"&&console.warn&&console.log;function Ts(A,e,t){if(LF){if(t){if(Gg[e])return;Gg[e]=!0}console[A](DF+e)}}function zg(A,e){Ts("log",A,e)}function Qt(A,e){Ts("warn",A,e)}function Ke(A,e){Ts("error",A,e)}function PA(A){process.env.NODE_ENV!=="production"&&Ts("warn","DEPRECATED: "+A,!0)}function dt(A,e,t){process.env.NODE_ENV!=="production"&&PA((t?"["+t+"]":"")+(A+" is deprecated; use "+e+" instead."))}function Ds(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var t="";if(process.env.NODE_ENV!=="production"){var r=function(n){return n===void 0?"undefined":n===1/0?"Infinity":n===-1/0?"-Infinity":ni(n)?"NaN":n instanceof Date?"Date("+n.toISOString()+")":me(n)?"function () { ... }":ax(n)?n+"":null};t=Be(A,function(n){if(ue(n))return n;var i=r(n);if(i!=null)return i;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(n,function(a,o){var s=r(o);return s??o})}catch{return"?"}else return"?"}).join(" ")}return t}function Vt(A){throw new Error(A)}function Wg(A,e,t){return(e-A)*t+A}var Yg="series\0",MF="\0_ec_\0";function Dt(A){return A instanceof Array?A:A==null?[]:[A]}function Xg(A,e,t){if(A){A[e]=A[e]||{},A.emphasis=A.emphasis||{},A.emphasis[e]=A.emphasis[e]||{};for(var r=0,n=t.length;r<n;r++){var i=t[r];!A.emphasis[e].hasOwnProperty(i)&&A[e].hasOwnProperty(i)&&(A.emphasis[e][i]=A[e][i])}}}var Zg=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Sa(A){return ve(A)&&!ie(A)&&!(A instanceof Date)?A.value:A}function HF(A){return ve(A)&&!(A instanceof Array)}function OF(A,e,t){var r=t==="normalMerge",n=t==="replaceMerge",i=t==="replaceAll";A=A||[],e=(e||[]).slice();var a=we();b(e,function(s,l){if(!ve(s)){e[l]=null;return}process.env.NODE_ENV!=="production"&&(s.id!=null&&!$g(s.id)&&qg(s.id),s.name!=null&&!$g(s.name)&&qg(s.name))});var o=RF(A,a,t);return(r||n)&&NF(o,A,a,e),r&&PF(o,e),r||n?kF(o,e,n):i&&VF(o,e),KF(o),o}function RF(A,e,t){var r=[];if(t==="replaceAll")return r;for(var n=0;n<A.length;n++){var i=A[n];i&&i.id!=null&&e.set(i.id,n),r.push({existing:t==="replaceMerge"||_i(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}function NF(A,e,t,r){b(r,function(n,i){if(!(!n||n.id==null)){var a=Ua(n.id),o=t.get(a);if(o!=null){var s=A[o];ce(!s.newOption,'Duplicated option on id "'+a+'".'),s.newOption=n,s.existing=e[o],r[i]=null}}})}function PF(A,e){b(e,function(t,r){if(!(!t||t.name==null))for(var n=0;n<A.length;n++){var i=A[n].existing;if(!A[n].newOption&&i&&(i.id==null||t.id==null)&&!_i(t)&&!_i(i)&&Jg("name",i,t)){A[n].newOption=t,e[r]=null;return}}})}function kF(A,e,t){b(e,function(r){if(r){for(var n,i=0;(n=A[i])&&(n.newOption||_i(n.existing)||n.existing&&r.id!=null&&!Jg("id",r,n.existing));)i++;n?(n.newOption=r,n.brandNew=t):A.push({newOption:r,brandNew:t,existing:null,keyInfo:null}),i++}})}function VF(A,e){b(e,function(t){A.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}function KF(A){var e=we();b(A,function(t){var r=t.existing;r&&e.set(r.id,t)}),b(A,function(t){var r=t.newOption;ce(!r||r.id==null||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),b(A,function(t,r){var n=t.existing,i=t.newOption,a=t.keyInfo;if(ve(i)){if(a.name=i.name!=null?Ua(i.name):n?n.name:Yg+r,n)a.id=Ua(n.id);else if(i.id!=null)a.id=Ua(i.id);else{var o=0;do a.id="\0"+a.name+"\0"+o++;while(e.get(a.id))}e.set(a.id,t)}})}function Jg(A,e,t){var r=kA(e[A],null),n=kA(t[A],null);return r!=null&&n!=null&&r===n}function Ua(A){if(process.env.NODE_ENV!=="production"&&A==null)throw new Error;return kA(A,"")}function kA(A,e){return A==null?e:ue(A)?A:We(A)||es(A)?A+"":e}function qg(A){process.env.NODE_ENV!=="production"&&Qt("`"+A+"` is invalid id or name. Must be a string or number.")}function $g(A){return es(A)||Pg(A)}function Ec(A){var e=A.name;return!!(e&&e.indexOf(Yg))}function _i(A){return A&&A.id!=null&&Ua(A.id).indexOf(MF)===0}function GF(A,e,t){b(A,function(r){var n=r.newOption;ve(n)&&(r.keyInfo.mainType=e,r.keyInfo.subType=zF(e,n,r.existing,t))})}function zF(A,e,t,r){var n=e.type?e.type:t?t.subType:r.determineSubType(A,e);return n}function dn(A,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return ie(e.dataIndex)?Be(e.dataIndex,function(t){return A.indexOfRawIndex(t)}):A.indexOfRawIndex(e.dataIndex);if(e.name!=null)return ie(e.name)?Be(e.name,function(t){return A.indexOfName(t)}):A.indexOfName(e.name)}function Ge(){var A="__ec_inner_"+WF++;return function(e){return e[A]||(e[A]={})}}var WF=kg();function bc(A,e,t){var r=Sc(e,t),n=r.mainTypeSpecified,i=r.queryOptionMap,a=r.others,o=a,s=t?t.defaultMainType:null;return!n&&s&&i.set(s,{}),i.each(function(l,u){var f=Ia(A,u,l,{useDefault:s===u,enableAll:t&&t.enableAll!=null?t.enableAll:!0,enableNone:t&&t.enableNone!=null?t.enableNone:!0});o[u+"Models"]=f.models,o[u+"Model"]=f.models[0]}),o}function Sc(A,e){var t;if(ue(A)){var r={};r[A+"Index"]=0,t=r}else t=A;var n=we(),i={},a=!1;return b(t,function(o,s){if(s==="dataIndex"||s==="dataIndexInside"){i[s]=o;return}var l=s.match(/^(\w+)(Index|Id|Name)$/)||[],u=l[1],f=(l[2]||"").toLowerCase();if(!(!u||!f||e&&e.includeMainTypes&&Ie(e.includeMainTypes,u)<0)){a=a||!!u;var c=n.get(u)||n.set(u,{});c[f]=o}}),{mainTypeSpecified:a,queryOptionMap:n,others:i}}var Lt={useDefault:!0,enableAll:!1,enableNone:!1},YF={useDefault:!1,enableAll:!0,enableNone:!0};function Ia(A,e,t,r){r=r||Lt;var n=t.index,i=t.id,a=t.name,o={models:null,specified:n!=null||i!=null||a!=null};if(!o.specified){var s=void 0;return o.models=r.useDefault&&(s=A.getComponent(e))?[s]:[],o}if(n==="none"||n===!1){if(r.enableNone)return o.models=[],o;process.env.NODE_ENV!=="production"&&Ke('`"none"` or `false` is not a valid value on index option.'),n=-1}return n==="all"&&(r.enableAll?n=i=a=null:(process.env.NODE_ENV!=="production"&&Ke('`"all"` is not a valid value on index option.'),n=-1)),o.models=A.queryComponents({mainType:e,index:n,id:i,name:a}),o}function jg(A,e,t){A.setAttribute?A.setAttribute(e,t):A[e]=t}function XF(A,e){return A.getAttribute?A.getAttribute(e):A[e]}function ZF(A){return A==="auto"?_e.domSupported?"html":"richText":A||"html"}function e0(A,e,t,r,n){var i=e==null||e==="auto";if(r==null)return r;if(We(r)){var a=Wg(t||0,r,n);return yt(a,i?Math.max(ir(t||0),ir(r)):e)}else{if(ue(r))return n<1?t:r;for(var o=[],s=t,l=r,u=Math.max(s?s.length:0,l.length),f=0;f<u;++f){var c=A.getDimensionInfo(f);if(c&&c.type==="ordinal")o[f]=(n<1&&s?s:l)[f];else{var h=s&&s[f]?s[f]:0,v=l[f],a=Wg(h,v,n);o[f]=yt(a,i?Math.max(ir(h),ir(v)):e)}}return o}}var JF=".",pn="___EC__COMPONENT__CONTAINER___",t0="___EC__EXTENDED_CLASS___";function VA(A){var e={main:"",sub:""};if(A){var t=A.split(JF);e.main=t[0]||"",e.sub=t[1]||""}return e}function qF(A){ce(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(A),'componentType "'+A+'" illegal')}function $F(A){return!!(A&&A[t0])}function Uc(A,e){A.$constructor=A,A.extend=function(t){process.env.NODE_ENV!=="production"&&b(e,function(i){t[i]||console.warn("Method `"+i+"` should be implemented"+(t.type?" in "+t.type:"")+".")});var r=this,n;return jF(r)?n=(function(i){X(a,i);function a(){return i.apply(this,arguments)||this}return a})(r):(n=function(){(t.$constructor||r).apply(this,arguments)},Ax(n,this)),W(n.prototype,t),n[t0]=!0,n.extend=this.extend,n.superCall=AE,n.superApply=rE,n.superClass=r,n}}function jF(A){return me(A)&&/^class\s/.test(Function.prototype.toString.call(A))}function A0(A,e){A.extend=e.extend}var eE=Math.round(Math.random()*10);function tE(A){var e=["__\0is_clz",eE++].join("_");A.prototype[e]=!0,process.env.NODE_ENV!=="production"&&ce(!A.isInstance,'The method "is" can not be defined.'),A.isInstance=function(t){return!!(t&&t[e])}}function AE(A,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return this.superClass.prototype[e].apply(A,t)}function rE(A,e,t){return this.superClass.prototype[e].apply(A,t)}function Ls(A){var e={};A.registerClass=function(r){var n=r.type||r.prototype.type;if(n){qF(n),r.prototype.type=n;var i=VA(n);if(!i.sub)process.env.NODE_ENV!=="production"&&e[i.main]&&console.warn(i.main+" exists."),e[i.main]=r;else if(i.sub!==pn){var a=t(i);a[i.sub]=r}}return r},A.getClass=function(r,n,i){var a=e[r];if(a&&a[pn]&&(a=n?a[n]:null),i&&!a)throw new Error(n?"Component "+r+"."+(n||"")+" is used but not imported.":r+".type should be specified.");return a},A.getClassesByMainType=function(r){var n=VA(r),i=[],a=e[n.main];return a&&a[pn]?b(a,function(o,s){s!==pn&&i.push(o)}):i.push(a),i},A.hasClass=function(r){var n=VA(r);return!!e[n.main]},A.getAllClassMainTypes=function(){var r=[];return b(e,function(n,i){r.push(i)}),r},A.hasSubTypes=function(r){var n=VA(r),i=e[n.main];return i&&i[pn]};function t(r){var n=e[r.main];return(!n||!n[pn])&&(n=e[r.main]={},n[pn]=!0),n}}function Ta(A,e){for(var t=0;t<A.length;t++)A[t][1]||(A[t][1]=A[t][0]);return e=e||!1,function(r,n,i){for(var a={},o=0;o<A.length;o++){var s=A[o][1];if(!(n&&Ie(n,s)>=0||i&&Ie(i,s)<0)){var l=r.getShallow(s,e);l!=null&&(a[A[o][0]]=l)}}return a}}var nE=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],iE=Ta(nE),aE=(function(){function A(){}return A.prototype.getAreaStyle=function(e,t){return iE(this,e,t)},A})(),Ic=new pi(50);function oE(A){if(typeof A=="string"){var e=Ic.get(A);return e&&e.image}else return A}function r0(A,e,t,r,n){if(A)if(typeof A=="string"){if(e&&e.__zrImageSrc===A||!t)return e;var i=Ic.get(A),a={hostEl:t,cb:r,cbPayload:n};return i?(e=i.image,!Ms(e)&&i.pending.push(a)):(e=Ar.loadImage(A,n0,n0),e.__zrImageSrc=A,Ic.put(A,e.__cachedImgObj={image:e,pending:[a]})),e}else return A;else return e}function n0(){var A=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<A.pending.length;e++){var t=A.pending[e],r=t.cb;r&&r(this,t.cbPayload),t.hostEl.dirty()}A.pending.length=0}function Ms(A){return A&&A.width&&A.height}var Tc=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function sE(A,e,t,r,n,i){if(!t){A.text="",A.isTruncated=!1;return}var a=(e+"").split(`
24
+ `);i=i0(t,r,n,i);for(var o=!1,s={},l=0,u=a.length;l<u;l++)a0(s,a[l],i),a[l]=s.textLine,o=o||s.isTruncated;A.text=a.join(`
25
+ `),A.isTruncated=o}function i0(A,e,t,r){r=r||{};var n=W({},r);t=de(t,"..."),n.maxIterations=de(r.maxIterations,2);var i=n.minChar=de(r.minChar,0),a=n.fontMeasureInfo=OA(e),o=a.asciiCharWidth;n.placeholder=de(r.placeholder,"");for(var s=A=Math.max(0,A-1),l=0;l<i&&s>=o;l++)s-=o;var u=RA(a,t);return u>s&&(t="",u=0),s=A-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=A,n}function a0(A,e,t){var r=t.containerWidth,n=t.contentWidth,i=t.fontMeasureInfo;if(!r){A.textLine="",A.isTruncated=!1;return}var a=RA(i,e);if(a<=r){A.textLine=e,A.isTruncated=!1;return}for(var o=0;;o++){if(a<=n||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?lE(e,n,i):a>0?Math.floor(e.length*n/a):0;e=e.substr(0,s),a=RA(i,e)}e===""&&(e=t.placeholder),A.textLine=e,A.isTruncated=!0}function lE(A,e,t){for(var r=0,n=0,i=A.length;n<i&&r<e;n++)r+=Sg(t,A.charCodeAt(n));return n}function uE(A,e,t,r){var n=Lc(A),i=e.overflow,a=e.padding,o=a?a[1]+a[3]:0,s=a?a[0]+a[2]:0,l=e.font,u=i==="truncate",f=xs(l),c=de(e.lineHeight,f),h=e.lineOverflow==="truncate",v=!1,d=e.width;d==null&&t!=null&&(d=t-o);var g=e.height;g==null&&r!=null&&(g=r-s);var p;d!=null&&(i==="break"||i==="breakAll")?p=n?s0(n,e.font,d,i==="breakAll",0).lines:[]:p=n?n.split(`
26
+ `):[];var B=p.length*c;if(g==null&&(g=B),B>g&&h){var m=Math.floor(g/c);v=v||p.length>m,p=p.slice(0,m),B=p.length*c}if(n&&u&&d!=null)for(var y=i0(d,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),_={},C=0;C<p.length;C++)a0(_,p[C],y),p[C]=_.textLine,v=v||_.isTruncated;for(var Q=g,x=0,F=OA(l),C=0;C<p.length;C++)x=Math.max(RA(F,p[C]),x);d==null&&(d=x);var S=d;return Q+=s,S+=o,{lines:p,height:g,outerWidth:S,outerHeight:Q,lineHeight:c,calculatedLineHeight:f,contentWidth:x,contentHeight:B,width:d,isTruncated:v}}var fE=(function(){function A(){}return A})(),o0=(function(){function A(e){this.tokens=[],e&&(this.tokens=e)}return A})(),cE=(function(){function A(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return A})();function hE(A,e,t,r,n){var i=new cE,a=Lc(A);if(!a)return i;var o=e.padding,s=o?o[1]+o[3]:0,l=o?o[0]+o[2]:0,u=e.width;u==null&&t!=null&&(u=t-s);var f=e.height;f==null&&r!=null&&(f=r-l);for(var c=e.overflow,h=(c==="break"||c==="breakAll")&&u!=null?{width:u,accumWidth:0,breakAll:c==="breakAll"}:null,v=Tc.lastIndex=0,d;(d=Tc.exec(a))!=null;){var g=d.index;g>v&&Dc(i,a.substring(v,g),e,h),Dc(i,d[2],e,h,d[1]),v=Tc.lastIndex}v<a.length&&Dc(i,a.substring(v,a.length),e,h);var p=[],B=0,m=0,y=c==="truncate",_=e.lineOverflow==="truncate",C={};function Q(se,q,Le){se.width=q,se.lineHeight=Le,B+=Le,m=Math.max(m,q)}e:for(var x=0;x<i.lines.length;x++){for(var F=i.lines[x],S=0,E=0,I=0;I<F.tokens.length;I++){var U=F.tokens[I],T=U.styleName&&e.rich[U.styleName]||{},H=U.textPadding=T.padding,P=H?H[1]+H[3]:0,Z=U.font=T.font||e.font;U.contentHeight=xs(Z);var K=de(T.height,U.contentHeight);if(U.innerHeight=K,H&&(K+=H[0]+H[2]),U.height=K,U.lineHeight=wr(T.lineHeight,e.lineHeight,K),U.align=T&&T.align||n,U.verticalAlign=T&&T.verticalAlign||"middle",_&&f!=null&&B+U.lineHeight>f){var Y=i.lines.length;I>0?(F.tokens=F.tokens.slice(0,I),Q(F,E,S),i.lines=i.lines.slice(0,x+1)):i.lines=i.lines.slice(0,x),i.isTruncated=i.isTruncated||i.lines.length<Y;break e}var ee=T.width,D=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")U.percentWidth=ee,p.push(U),U.contentWidth=RA(OA(Z),U.text);else{if(D){var M=T.backgroundColor,L=M&&M.image;L&&(L=oE(L),Ms(L)&&(U.width=Math.max(U.width,L.width*K/L.height)))}var k=y&&u!=null?u-E:null;k!=null&&k<U.width?!D||k<P?(U.text="",U.width=U.contentWidth=0):(sE(C,U.text,k-P,Z,e.ellipsis,{minChar:e.truncateMinChar}),U.text=C.text,i.isTruncated=i.isTruncated||C.isTruncated,U.width=U.contentWidth=RA(OA(Z),U.text)):U.contentWidth=RA(OA(Z),U.text)}U.width+=P,E+=U.width,T&&(S=Math.max(S,U.lineHeight))}Q(F,E,S)}i.outerWidth=i.width=de(u,m),i.outerHeight=i.height=de(f,B),i.contentHeight=B,i.contentWidth=m,i.outerWidth+=s,i.outerHeight+=l;for(var x=0;x<p.length;x++){var U=p[x],O=U.percentWidth;U.width=parseInt(O,10)/100*i.width}return i}function Dc(A,e,t,r,n){var i=e==="",a=n&&t.rich[n]||{},o=A.lines,s=a.font||t.font,l=!1,u,f;if(r){var c=a.padding,h=c?c[1]+c[3]:0;if(a.width!=null&&a.width!=="auto"){var v=xr(a.width,r.width)+h;o.length>0&&v+r.accumWidth>r.width&&(u=e.split(`
27
+ `),l=!0),r.accumWidth=v}else{var d=s0(e,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=d.accumWidth+h,f=d.linesWidths,u=d.lines}}u||(u=e.split(`
28
+ `));for(var g=OA(s),p=0;p<u.length;p++){var B=u[p],m=new fE;if(m.styleName=n,m.text=B,m.isLineHolder=!B&&!i,typeof a.width=="number"?m.width=a.width:m.width=f?f[p]:RA(g,B),!p&&!l){var y=(o[o.length-1]||(o[0]=new o0)).tokens,_=y.length;_===1&&y[0].isLineHolder?y[0]=m:(B||!_||i)&&y.push(m)}else o.push(new o0([m]))}}function vE(A){var e=A.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var dE=Ai(",&?/;] ".split(""),function(A,e){return A[e]=!0,A},{});function pE(A){return vE(A)?!!dE[A]:!0}function s0(A,e,t,r,n){for(var i=[],a=[],o="",s="",l=0,u=0,f=OA(e),c=0;c<A.length;c++){var h=A.charAt(c);if(h===`
29
+ `){s&&(o+=s,u+=l),i.push(o),a.push(u),o="",s="",l=0,u=0;continue}var v=Sg(f,h.charCodeAt(0)),d=r?!1:!pE(h);if(i.length?u+v>t:n+u+v>t){u?(o||s)&&(d?(o||(o=s,s="",l=0,u=l),i.push(o),a.push(u-l),s+=h,l+=v,o="",u=l):(s&&(o+=s,s="",l=0),i.push(o),a.push(u),o=h,u=v)):d?(i.push(s),a.push(l),s=h,l=v):(i.push(h),a.push(v));continue}u+=v,d?(s+=h,l+=v):(s&&(o+=s,s="",l=0),o+=h)}return s&&(o+=s),o&&(i.push(o),a.push(u)),i.length===1&&(u+=n),{accumWidth:u,lines:i,linesWidths:a}}function l0(A,e,t,r,n,i){if(A.baseX=t,A.baseY=r,A.outerWidth=A.outerHeight=null,!!e){var a=e.width*2,o=e.height*2;Fe.set(u0,yi(t,a,n),vn(r,o,i),a,o),Fe.intersect(e,u0,null,f0);var s=f0.outIntersectRect;A.outerWidth=s.width,A.outerHeight=s.height,A.baseX=yi(s.x,s.width,n,!0),A.baseY=vn(s.y,s.height,i,!0)}}var u0=new Fe(0,0,0,0),f0={outIntersectRect:{},clamp:!0};function Lc(A){return A!=null?A+="":A=""}function gE(A){var e=Lc(A.text),t=A.font,r=RA(OA(t),e),n=xs(t);return Mc(A,r,n,null)}function Mc(A,e,t,r){var n=new Fe(yi(A.x||0,e,A.textAlign),vn(A.y||0,t,A.textBaseline),e,t),i=r??(c0(A)?A.lineWidth:0);return i>0&&(n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i),n}function c0(A){var e=A.stroke;return e!=null&&e!=="none"&&A.lineWidth>0}var Hc="__zr_style_"+Math.round(Math.random()*10),gn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Hs={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};gn[Hc]=!0;var h0=["z","z2","invisible"],BE=["invisible"],Da=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype._init=function(t){for(var r=Ye(t),n=0;n<r.length;n++){var i=r[n];i==="style"?this.useStyle(t[i]):A.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,r,n,i){var a=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&mE(this,t,r)||a&&!a[0]&&!a[3])return!1;if(n&&this.__clipPaths&&this.__clipPaths.length){for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1}if(i&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},e.prototype.contain=function(t,r){return this.rectContain(t,r)},e.prototype.traverse=function(t,r){t.call(r,this)},e.prototype.rectContain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,n=this.getBoundingRect(),i=this.style,a=i.shadowBlur||0,o=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Fe(0,0,0,0)),r?Fe.applyTransform(t,n,r):t.copy(n),(a||o||s)&&(t.width+=a*2+Math.abs(o),t.height+=a*2+Math.abs(s),t.x=Math.min(t.x,t.x+o-a),t.y=Math.min(t.y,t.y+s-a));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+l*2),t.height=Math.ceil(t.height+1+l*2))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Fe(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(t,r){t!=="style"?A.prototype.attrKV.call(this,t,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(t,r){return typeof t=="string"?this.style[t]=r:W(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=ya,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&ya)},e.prototype.styleUpdated=function(){this.__dirty&=~ya},e.prototype.createStyle=function(t){return As(gn,t)},e.prototype.useStyle=function(t){t[Hc]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Hc]},e.prototype._innerSaveToNormal=function(t){A.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,r,h0)},e.prototype._applyStateObj=function(t,r,n,i,a,o){A.prototype._applyStateObj.call(this,t,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.style?a?i?l=r.style:(l=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(l,r.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:n.style),this._mergeStyle(l,r.style)):s&&(l=n.style),l)if(a){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var f=Ye(u),c=0;c<f.length;c++){var h=f[c];h in l&&(l[h]=l[h],this.style[h]=u[h])}for(var v=Ye(l),c=0;c<v.length;c++){var h=v[c];this.style[h]=this.style[h]}this._transitionState(t,{style:l},o,this.getAnimationStyleProps())}else this.useStyle(l);for(var d=this.__inHover?BE:h0,c=0;c<d.length;c++){var h=d[c];r&&r[h]!=null?this[h]=r[h]:s&&n[h]!=null&&(this[h]=n[h])}},e.prototype._mergeStates=function(t){for(var r=A.prototype._mergeStates.call(this,t),n,i=0;i<t.length;i++){var a=t[i];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(t,r){return W(t,r),t},e.prototype.getAnimationStyleProps=function(){return Hs},e.initDefaultProps=(function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=Xt|ya})(),e})(bs),Oc=new Fe(0,0,0,0),Rc=new Fe(0,0,0,0);function mE(A,e,t){return Oc.copy(A.getBoundingRect()),A.transform&&Oc.applyTransform(A.transform),Rc.width=e,Rc.height=t,!Oc.intersect(Rc)}var iA=Math.min,aA=Math.max,Nc=Math.sin,Pc=Math.cos,Bn=Math.PI*2,Os=ai(),Rs=ai(),Ns=ai();function v0(A,e,t,r,n,i){n[0]=iA(A,t),n[1]=iA(e,r),i[0]=aA(A,t),i[1]=aA(e,r)}var d0=[],p0=[];function yE(A,e,t,r,n,i,a,o,s,l){var u=ig,f=ft,c=u(A,t,n,a,d0);s[0]=1/0,s[1]=1/0,l[0]=-1/0,l[1]=-1/0;for(var h=0;h<c;h++){var v=f(A,t,n,a,d0[h]);s[0]=iA(v,s[0]),l[0]=aA(v,l[0])}c=u(e,r,i,o,p0);for(var h=0;h<c;h++){var d=f(e,r,i,o,p0[h]);s[1]=iA(d,s[1]),l[1]=aA(d,l[1])}s[0]=iA(A,s[0]),l[0]=aA(A,l[0]),s[0]=iA(a,s[0]),l[0]=aA(a,l[0]),s[1]=iA(e,s[1]),l[1]=aA(e,l[1]),s[1]=iA(o,s[1]),l[1]=aA(o,l[1])}function wE(A,e,t,r,n,i,a,o){var s=sg,l=_t,u=aA(iA(s(A,t,n),1),0),f=aA(iA(s(e,r,i),1),0),c=l(A,t,n,u),h=l(e,r,i,f);a[0]=iA(A,n,c),a[1]=iA(e,i,h),o[0]=aA(A,n,c),o[1]=aA(e,i,h)}function CE(A,e,t,r,n,i,a,o,s){var l=si,u=li,f=Math.abs(n-i);if(f%Bn<1e-4&&f>1e-4){o[0]=A-t,o[1]=e-r,s[0]=A+t,s[1]=e+r;return}if(Os[0]=Pc(n)*t+A,Os[1]=Nc(n)*r+e,Rs[0]=Pc(i)*t+A,Rs[1]=Nc(i)*r+e,l(o,Os,Rs),u(s,Os,Rs),n=n%Bn,n<0&&(n=n+Bn),i=i%Bn,i<0&&(i=i+Bn),n>i&&!a?i+=Bn:n<i&&a&&(n+=Bn),a){var c=i;i=n,n=c}for(var h=0;h<i;h+=Math.PI/2)h>n&&(Ns[0]=Pc(h)*t+A,Ns[1]=Nc(h)*r+e,l(o,Ns,o),u(s,Ns,s))}var Re={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},mn=[],yn=[],KA=[],Fr=[],GA=[],zA=[],kc=Math.min,Vc=Math.max,wn=Math.cos,Cn=Math.sin,ar=Math.abs,Kc=Math.PI,Er=Kc*2,Gc=typeof Float32Array<"u",La=[];function zc(A){var e=Math.round(A/Kc*1e8)/1e8;return e%2*Kc}function _E(A,e){var t=zc(A[0]);t<0&&(t+=Er);var r=t-A[0],n=A[1];n+=r,!e&&n-t>=Er?n=t+Er:e&&t-n>=Er?n=t-Er:!e&&t>n?n=t+(Er-zc(t-n)):e&&t<n&&(n=t-(Er-zc(n-t))),A[0]=t,A[1]=n}var br=(function(){function A(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return A.prototype.increaseVersion=function(){this._version++},A.prototype.getVersion=function(){return this._version},A.prototype.setScale=function(e,t,r){r=r||0,r>0&&(this._ux=ar(r/Cs/e)||0,this._uy=ar(r/Cs/t)||0)},A.prototype.setDPR=function(e){this.dpr=e},A.prototype.setContext=function(e){this._ctx=e},A.prototype.getContext=function(){return this._ctx},A.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},A.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},A.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Re.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},A.prototype.lineTo=function(e,t){var r=ar(e-this._xi),n=ar(t-this._yi),i=r>this._ux||n>this._uy;if(this.addData(Re.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var a=r*r+n*n;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=a)}return this},A.prototype.bezierCurveTo=function(e,t,r,n,i,a){return this._drawPendingPt(),this.addData(Re.C,e,t,r,n,i,a),this._ctx&&this._ctx.bezierCurveTo(e,t,r,n,i,a),this._xi=i,this._yi=a,this},A.prototype.quadraticCurveTo=function(e,t,r,n){return this._drawPendingPt(),this.addData(Re.Q,e,t,r,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,r,n),this._xi=r,this._yi=n,this},A.prototype.arc=function(e,t,r,n,i,a){this._drawPendingPt(),La[0]=n,La[1]=i,_E(La,a),n=La[0],i=La[1];var o=i-n;return this.addData(Re.A,e,t,r,r,n,o,0,a?0:1),this._ctx&&this._ctx.arc(e,t,r,n,i,a),this._xi=wn(i)*r+e,this._yi=Cn(i)*r+t,this},A.prototype.arcTo=function(e,t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,r,n,i),this},A.prototype.rect=function(e,t,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,r,n),this.addData(Re.R,e,t,r,n),this},A.prototype.closePath=function(){this._drawPendingPt(),this.addData(Re.Z);var e=this._ctx,t=this._x0,r=this._y0;return e&&e.closePath(),this._xi=t,this._yi=r,this},A.prototype.fill=function(e){e&&e.fill(),this.toStatic()},A.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},A.prototype.len=function(){return this._len},A.prototype.setData=function(e){if(this._saveData){var t=e.length;!(this.data&&this.data.length===t)&&Gc&&(this.data=new Float32Array(t));for(var r=0;r<t;r++)this.data[r]=e[r];this._len=t}},A.prototype.appendPath=function(e){if(this._saveData){e instanceof Array||(e=[e]);for(var t=e.length,r=0,n=this._len,i=0;i<t;i++)r+=e[i].len();var a=this.data;if(Gc&&(a instanceof Float32Array||!a)&&(this.data=new Float32Array(n+r),n>0&&a))for(var o=0;o<n;o++)this.data[o]=a[o];for(var i=0;i<t;i++)for(var s=e[i].data,o=0;o<s.length;o++)this.data[n++]=s[o];this._len=n}},A.prototype.addData=function(e,t,r,n,i,a,o,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var f=0;f<arguments.length;f++)u[this._len++]=arguments[f]}},A.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},A.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},A.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,Gc&&this._len>11&&(this.data=new Float32Array(e)))}},A.prototype.getBoundingRect=function(){KA[0]=KA[1]=GA[0]=GA[1]=Number.MAX_VALUE,Fr[0]=Fr[1]=zA[0]=zA[1]=-Number.MAX_VALUE;var e=this.data,t=0,r=0,n=0,i=0,a;for(a=0;a<this._len;){var o=e[a++],s=a===1;switch(s&&(t=e[a],r=e[a+1],n=t,i=r),o){case Re.M:t=n=e[a++],r=i=e[a++],GA[0]=n,GA[1]=i,zA[0]=n,zA[1]=i;break;case Re.L:v0(t,r,e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Re.C:yE(t,r,e[a++],e[a++],e[a++],e[a++],e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Re.Q:wE(t,r,e[a++],e[a++],e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Re.A:var l=e[a++],u=e[a++],f=e[a++],c=e[a++],h=e[a++],v=e[a++]+h;a+=1;var d=!e[a++];s&&(n=wn(h)*f+l,i=Cn(h)*c+u),CE(l,u,f,c,h,v,d,GA,zA),t=wn(v)*f+l,r=Cn(v)*c+u;break;case Re.R:n=t=e[a++],i=r=e[a++];var g=e[a++],p=e[a++];v0(n,i,n+g,i+p,GA,zA);break;case Re.Z:t=n,r=i;break}si(KA,KA,GA),li(Fr,Fr,zA)}return a===0&&(KA[0]=KA[1]=Fr[0]=Fr[1]=0),new Fe(KA[0],KA[1],Fr[0]-KA[0],Fr[1]-KA[1])},A.prototype._calculateLength=function(){var e=this.data,t=this._len,r=this._ux,n=this._uy,i=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,f=0,c=0;c<t;){var h=e[c++],v=c===1;v&&(i=e[c],a=e[c+1],o=i,s=a);var d=-1;switch(h){case Re.M:i=o=e[c++],a=s=e[c++];break;case Re.L:{var g=e[c++],p=e[c++],B=g-i,m=p-a;(ar(B)>r||ar(m)>n||c===t-1)&&(d=Math.sqrt(B*B+m*m),i=g,a=p);break}case Re.C:{var y=e[c++],_=e[c++],g=e[c++],p=e[c++],C=e[c++],Q=e[c++];d=Yx(i,a,y,_,g,p,C,Q,10),i=C,a=Q;break}case Re.Q:{var y=e[c++],_=e[c++],g=e[c++],p=e[c++];d=Zx(i,a,y,_,g,p,10),i=g,a=p;break}case Re.A:var x=e[c++],F=e[c++],S=e[c++],E=e[c++],I=e[c++],U=e[c++],T=U+I;c+=1,v&&(o=wn(I)*S+x,s=Cn(I)*E+F),d=Vc(S,E)*kc(Er,Math.abs(U)),i=wn(T)*S+x,a=Cn(T)*E+F;break;case Re.R:{o=i=e[c++],s=a=e[c++];var H=e[c++],P=e[c++];d=H*2+P*2;break}case Re.Z:{var B=o-i,m=s-a;d=Math.sqrt(B*B+m*m),i=o,a=s;break}}d>=0&&(l[f++]=d,u+=d)}return this._pathLen=u,u},A.prototype.rebuildPath=function(e,t){var r=this.data,n=this._ux,i=this._uy,a=this._len,o,s,l,u,f,c,h=t<1,v,d,g=0,p=0,B,m=0,y,_;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,d=this._pathLen,B=t*d,!B)))e:for(var C=0;C<a;){var Q=r[C++],x=C===1;switch(x&&(l=r[C],u=r[C+1],o=l,s=u),Q!==Re.L&&m>0&&(e.lineTo(y,_),m=0),Q){case Re.M:o=l=r[C++],s=u=r[C++],e.moveTo(l,u);break;case Re.L:{f=r[C++],c=r[C++];var F=ar(f-l),S=ar(c-u);if(F>n||S>i){if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;e.lineTo(l*(1-I)+f*I,u*(1-I)+c*I);break e}g+=E}e.lineTo(f,c),l=f,u=c,m=0}else{var U=F*F+S*S;U>m&&(y=f,_=c,m=U)}break}case Re.C:{var T=r[C++],H=r[C++],P=r[C++],Z=r[C++],K=r[C++],Y=r[C++];if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;us(l,T,P,K,I,mn),us(u,H,Z,Y,I,yn),e.bezierCurveTo(mn[1],yn[1],mn[2],yn[2],mn[3],yn[3]);break e}g+=E}e.bezierCurveTo(T,H,P,Z,K,Y),l=K,u=Y;break}case Re.Q:{var T=r[C++],H=r[C++],P=r[C++],Z=r[C++];if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;fs(l,T,P,I,mn),fs(u,H,Z,I,yn),e.quadraticCurveTo(mn[1],yn[1],mn[2],yn[2]);break e}g+=E}e.quadraticCurveTo(T,H,P,Z),l=P,u=Z;break}case Re.A:var ee=r[C++],D=r[C++],M=r[C++],L=r[C++],k=r[C++],O=r[C++],se=r[C++],q=!r[C++],Le=M>L?M:L,ke=ar(M-L)>.001,Ae=k+O,fe=!1;if(h){var E=v[p++];g+E>B&&(Ae=k+O*(B-g)/E,fe=!0),g+=E}if(ke&&e.ellipse?e.ellipse(ee,D,M,L,se,k,Ae,q):e.arc(ee,D,Le,k,Ae,q),fe)break e;x&&(o=wn(k)*M+ee,s=Cn(k)*L+D),l=wn(Ae)*M+ee,u=Cn(Ae)*L+D;break;case Re.R:o=l=r[C],s=u=r[C+1],f=r[C++],c=r[C++];var le=r[C++],eA=r[C++];if(h){var E=v[p++];if(g+E>B){var et=B-g;e.moveTo(f,c),e.lineTo(f+kc(et,le),c),et-=le,et>0&&e.lineTo(f+le,c+kc(et,eA)),et-=eA,et>0&&e.lineTo(f+Vc(le-et,0),c+eA),et-=le,et>0&&e.lineTo(f,c+Vc(eA-et,0));break e}g+=E}e.rect(f,c,le,eA);break;case Re.Z:if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;e.lineTo(l*(1-I)+o*I,u*(1-I)+s*I);break e}g+=E}e.closePath(),l=o,u=s}}},A.prototype.clone=function(){var e=new A,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},A.prototype.canSave=function(){return!!this._saveData},A.CMD=Re,A.initDefaultProps=(function(){var e=A.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0})(),A})();function Qi(A,e,t,r,n,i,a){if(n===0)return!1;var o=n,s=0,l=A;if(a>e+o&&a>r+o||a<e-o&&a<r-o||i>A+o&&i>t+o||i<A-o&&i<t-o)return!1;if(A!==t)s=(e-r)/(A-t),l=(A*r-t*e)/(A-t);else return Math.abs(i-A)<=o/2;var u=s*i-a+l,f=u*u/(s*s+1);return f<=o/2*o/2}function QE(A,e,t,r,n,i,a,o,s,l,u){if(s===0)return!1;var f=s;if(u>e+f&&u>r+f&&u>i+f&&u>o+f||u<e-f&&u<r-f&&u<i-f&&u<o-f||l>A+f&&l>t+f&&l>n+f&&l>a+f||l<A-f&&l<t-f&&l<n-f&&l<a-f)return!1;var c=ag(A,e,t,r,n,i,a,o,l,u,null);return c<=f/2}function xE(A,e,t,r,n,i,a,o,s){if(a===0)return!1;var l=a;if(s>e+l&&s>r+l&&s>i+l||s<e-l&&s<r-l&&s<i-l||o>A+l&&o>t+l&&o>n+l||o<A-l&&o<t-l&&o<n-l)return!1;var u=lg(A,e,t,r,n,i,o,s,null);return u<=l/2}var g0=Math.PI*2;function or(A){return A%=g0,A<0&&(A+=g0),A}var Ma=Math.PI*2;function FE(A,e,t,r,n,i,a,o,s){if(a===0)return!1;var l=a;o-=A,s-=e;var u=Math.sqrt(o*o+s*s);if(u-l>t||u+l<t)return!1;if(Math.abs(r-n)%Ma<1e-4)return!0;if(i){var f=r;r=or(n),n=or(f)}else r=or(r),n=or(n);r>n&&(n+=Ma);var c=Math.atan2(s,o);return c<0&&(c+=Ma),c>=r&&c<=n||c+Ma>=r&&c+Ma<=n}function _n(A,e,t,r,n,i){if(i>e&&i>r||i<e&&i<r||r===e)return 0;var a=(i-e)/(r-e),o=r<e?1:-1;(a===1||a===0)&&(o=r<e?.5:-.5);var s=a*(t-A)+A;return s===n?1/0:s>n?o:0}var Sr=br.CMD,Qn=Math.PI*2,EE=1e-4;function bE(A,e){return Math.abs(A-e)<EE}var Mt=[-1,-1,-1],oA=[-1,-1];function SE(){var A=oA[0];oA[0]=oA[1],oA[1]=A}function UE(A,e,t,r,n,i,a,o,s,l){if(l>e&&l>r&&l>i&&l>o||l<e&&l<r&&l<i&&l<o)return 0;var u=ls(e,r,i,o,l,Mt);if(u===0)return 0;for(var f=0,c=-1,h=void 0,v=void 0,d=0;d<u;d++){var g=Mt[d],p=g===0||g===1?.5:1,B=ft(A,t,n,a,g);B<s||(c<0&&(c=ig(e,r,i,o,oA),oA[1]<oA[0]&&c>1&&SE(),h=ft(e,r,i,o,oA[0]),c>1&&(v=ft(e,r,i,o,oA[1]))),c===2?g<oA[0]?f+=h<e?p:-p:g<oA[1]?f+=v<h?p:-p:f+=o<v?p:-p:g<oA[0]?f+=h<e?p:-p:f+=o<h?p:-p)}return f}function IE(A,e,t,r,n,i,a,o){if(o>e&&o>r&&o>i||o<e&&o<r&&o<i)return 0;var s=Xx(e,r,i,o,Mt);if(s===0)return 0;var l=sg(e,r,i);if(l>=0&&l<=1){for(var u=0,f=_t(e,r,i,l),c=0;c<s;c++){var h=Mt[c]===0||Mt[c]===1?.5:1,v=_t(A,t,n,Mt[c]);v<a||(Mt[c]<l?u+=f<e?h:-h:u+=i<f?h:-h)}return u}else{var h=Mt[0]===0||Mt[0]===1?.5:1,v=_t(A,t,n,Mt[0]);return v<a?0:i<e?h:-h}}function TE(A,e,t,r,n,i,a,o){if(o-=e,o>t||o<-t)return 0;var s=Math.sqrt(t*t-o*o);Mt[0]=-s,Mt[1]=s;var l=Math.abs(r-n);if(l<1e-4)return 0;if(l>=Qn-1e-4){r=0,n=Qn;var u=i?1:-1;return a>=Mt[0]+A&&a<=Mt[1]+A?u:0}if(r>n){var f=r;r=n,n=f}r<0&&(r+=Qn,n+=Qn);for(var c=0,h=0;h<2;h++){var v=Mt[h];if(v+A>a){var d=Math.atan2(o,v),u=i?1:-1;d<0&&(d=Qn+d),(d>=r&&d<=n||d+Qn>=r&&d+Qn<=n)&&(d>Math.PI/2&&d<Math.PI*1.5&&(u=-u),c+=u)}}return c}function B0(A,e,t,r,n){for(var i=A.data,a=A.len(),o=0,s=0,l=0,u=0,f=0,c,h,v=0;v<a;){var d=i[v++],g=v===1;switch(d===Sr.M&&v>1&&(t||(o+=_n(s,l,u,f,r,n))),g&&(s=i[v],l=i[v+1],u=s,f=l),d){case Sr.M:u=i[v++],f=i[v++],s=u,l=f;break;case Sr.L:if(t){if(Qi(s,l,i[v],i[v+1],e,r,n))return!0}else o+=_n(s,l,i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Sr.C:if(t){if(QE(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=UE(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Sr.Q:if(t){if(xE(s,l,i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=IE(s,l,i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Sr.A:var p=i[v++],B=i[v++],m=i[v++],y=i[v++],_=i[v++],C=i[v++];v+=1;var Q=!!(1-i[v++]);c=Math.cos(_)*m+p,h=Math.sin(_)*y+B,g?(u=c,f=h):o+=_n(s,l,c,h,r,n);var x=(r-p)*y/m+p;if(t){if(FE(p,B,y,_,_+C,Q,e,x,n))return!0}else o+=TE(p,B,y,_,_+C,Q,x,n);s=Math.cos(_+C)*m+p,l=Math.sin(_+C)*y+B;break;case Sr.R:u=s=i[v++],f=l=i[v++];var F=i[v++],S=i[v++];if(c=u+F,h=f+S,t){if(Qi(u,f,c,f,e,r,n)||Qi(c,f,c,h,e,r,n)||Qi(c,h,u,h,e,r,n)||Qi(u,h,u,f,e,r,n))return!0}else o+=_n(c,f,c,h,r,n),o+=_n(u,h,u,f,r,n);break;case Sr.Z:if(t){if(Qi(s,l,u,f,e,r,n))return!0}else o+=_n(s,l,u,f,r,n);s=u,l=f;break}}return!t&&!bE(l,f)&&(o+=_n(s,l,u,f,r,n)||0),o!==0}function DE(A,e,t){return B0(A,0,!1,e,t)}function LE(A,e,t,r){return B0(A,e,!0,t,r)}var m0=Oe({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},gn),ME={style:Oe({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Hs.style)},Wc=xa.concat(["invisible","culling","z","z2","zlevel","parent"]),Ne=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.update=function(){var t=this;A.prototype.update.call(this);var r=this.style;if(r.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(s){t.buildPath(s,t.shape)}),n.silent=!0;var i=n.style;for(var a in r)i[a]!==r[a]&&(i[a]=r[a]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var o=0;o<Wc.length;++o)n[Wc[o]]=this[Wc[o]];n.__dirty|=Xt}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(t){var r=Ye(t);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var a=r[i],o=t[a];a==="style"?this.style?W(this.style,o):this.useStyle(o):a==="shape"?W(this.shape,o):A.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if(t!=="none"){if(ue(t)){var r=vs(t,0);return r>.5?dc:r>.2?pF:pc}else if(t)return pc}return dc},e.prototype.getInsideTextStroke=function(t){var r=this.style.fill;if(ue(r)){var n=this.__zr,i=!!(n&&n.isDarkMode()),a=vs(t,0)<vc;if(i===a)return r}},e.prototype.buildPath=function(t,r,n){},e.prototype.pathUpdated=function(){this.__dirty&=~vi},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new br(!1)},e.prototype.hasStroke=function(){var t=this.style,r=t.stroke;return!(r==null||r==="none"||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,r=t.fill;return r!=null&&r!=="none"},e.prototype.getBoundingRect=function(){var t=this._rect,r=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var a=this.path;(i||this.__dirty&vi)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),t=a.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var s=r.strokeNoScale?this.getLineScale():1,l=r.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;l=Math.max(l,u??4)}s>1e-10&&(o.width+=l/s,o.height+=l/s,o.x-=l/s/2,o.y-=l/s/2)}return o}return t},e.prototype.contain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect(),a=this.style;if(t=n[0],r=n[1],i.contain(t,r)){var o=this.path;if(this.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),LE(o,s/l,t,r)))return!0}if(this.hasFill())return DE(o,t,r)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=vi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(t,r){t==="shape"?this.setShape(r):A.prototype.attrKV.call(this,t,r)},e.prototype.setShape=function(t,r){var n=this.shape;return n||(n=this.shape={}),typeof t=="string"?n[t]=r:W(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&vi)},e.prototype.createStyle=function(t){return As(m0,t)},e.prototype._innerSaveToNormal=function(t){A.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.shape&&!r.shape&&(r.shape=W({},this.shape))},e.prototype._applyStateObj=function(t,r,n,i,a,o){A.prototype._applyStateObj.call(this,t,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.shape?a?i?l=r.shape:(l=W({},n.shape),W(l,r.shape)):(l=W({},i?this.shape:n.shape),W(l,r.shape)):s&&(l=n.shape),l)if(a){this.shape=W({},this.shape);for(var u={},f=Ye(l),c=0;c<f.length;c++){var h=f[c];typeof l[h]=="object"?this.shape[h]=l[h]:u[h]=l[h]}this._transitionState(t,{shape:u},o)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(t){for(var r=A.prototype._mergeStates.call(this,t),n,i=0;i<t.length;i++){var a=t[i];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return ME},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var r=(function(i){X(a,i);function a(o){var s=i.call(this,o)||this;return t.init&&t.init.call(s,o),s}return a.prototype.getDefaultStyle=function(){return Se(t.style)},a.prototype.getDefaultShape=function(){return Se(t.shape)},a})(e);for(var n in t)typeof t[n]=="function"&&(r.prototype[n]=t[n]);return r},e.initDefaultProps=(function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=Xt|ya|vi})(),e})(Da),HE=Oe({strokeFirst:!0,font:yr,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},m0),Ps=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.hasStroke=function(){return c0(this.style)},e.prototype.hasFill=function(){var t=this.style,r=t.fill;return r!=null&&r!=="none"},e.prototype.createStyle=function(t){return As(HE,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=gE(this.style)),this._rect},e.initDefaultProps=(function(){var t=e.prototype;t.dirtyRectTolerance=10})(),e})(Da);Ps.prototype.type="tspan";var OE=Oe({x:0,y:0},gn),RE={style:Oe({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Hs.style)};function NE(A){return!!(A&&typeof A!="string"&&A.width&&A.height)}var Ur=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return As(OE,t)},e.prototype._getSize=function(t){var r=this.style,n=r[t];if(n!=null)return n;var i=NE(r.image)?r.image:this.__image;if(!i)return 0;var a=t==="width"?"height":"width",o=r[a];return o==null?i[t]:i[t]/i[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return RE},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Fe(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e})(Da);Ur.prototype.type="image";function PE(A,e){var t=e.x,r=e.y,n=e.width,i=e.height,a=e.r,o,s,l,u;n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),typeof a=="number"?o=s=l=u=a:a instanceof Array?a.length===1?o=s=l=u=a[0]:a.length===2?(o=l=a[0],s=u=a[1]):a.length===3?(o=a[0],s=u=a[1],l=a[2]):(o=a[0],s=a[1],l=a[2],u=a[3]):o=s=l=u=0;var f;o+s>n&&(f=o+s,o*=n/f,s*=n/f),l+u>n&&(f=l+u,l*=n/f,u*=n/f),s+l>i&&(f=s+l,s*=i/f,l*=i/f),o+u>i&&(f=o+u,o*=i/f,u*=i/f),A.moveTo(t+o,r),A.lineTo(t+n-s,r),s!==0&&A.arc(t+n-s,r+s,s,-Math.PI/2,0),A.lineTo(t+n,r+i-l),l!==0&&A.arc(t+n-l,r+i-l,l,0,Math.PI/2),A.lineTo(t+u,r+i),u!==0&&A.arc(t+u,r+i-u,u,Math.PI/2,Math.PI),A.lineTo(t,r+o),o!==0&&A.arc(t+o,r+o,o,Math.PI,Math.PI*1.5)}var xi=Math.round;function y0(A,e,t){if(e){var r=e.x1,n=e.x2,i=e.y1,a=e.y2;A.x1=r,A.x2=n,A.y1=i,A.y2=a;var o=t&&t.lineWidth;return o&&(xi(r*2)===xi(n*2)&&(A.x1=A.x2=xn(r,o,!0)),xi(i*2)===xi(a*2)&&(A.y1=A.y2=xn(i,o,!0))),A}}function w0(A,e,t){if(e){var r=e.x,n=e.y,i=e.width,a=e.height;A.x=r,A.y=n,A.width=i,A.height=a;var o=t&&t.lineWidth;return o&&(A.x=xn(r,o,!0),A.y=xn(n,o,!0),A.width=Math.max(xn(r+i,o,!1)-A.x,i===0?0:1),A.height=Math.max(xn(n+a,o,!1)-A.y,a===0?0:1)),A}}function xn(A,e,t){if(!e)return A;var r=xi(A*2);return(r+xi(e))%2===0?r/2:(r+(t?1:-1))/2}var kE=(function(){function A(){this.x=0,this.y=0,this.width=0,this.height=0}return A})(),VE={},Je=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new kE},e.prototype.buildPath=function(t,r){var n,i,a,o;if(this.subPixelOptimize){var s=w0(VE,r,this.style);n=s.x,i=s.y,a=s.width,o=s.height,s.r=r.r,r=s}else n=r.x,i=r.y,a=r.width,o=r.height;r.r?PE(t,r):t.rect(n,i,a,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e})(Ne);Je.prototype.type="rect";var C0={fill:"#000"},_0=2,WA={},KE={style:Oe({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},Hs.style)},Ht=(function(A){X(e,A);function e(t){var r=A.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=C0,r.attr(t),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){A.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var r=this._children[t];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 t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):A.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(t){var r=this.innerTransformable;return r?r.getLocalTransform(t):A.prototype.getLocalTransform.call(this,t)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),A.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,XE(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(t){A.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=t},e.prototype.removeSelfFromZr=function(t){A.prototype.removeSelfFromZr.call(this,t);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 Fe(0,0,0,0),r=this._children,n=[],i=null,a=0;a<r.length;a++){var o=r[a],s=o.getBoundingRect(),l=o.getLocalTransform(n);l?(t.copy(s),t.applyTransform(l),i=i||t.clone(),i.union(t)):(i=i||s.clone(),i.union(s))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||C0},e.prototype.setTextContent=function(t){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,r){if(!r)return t;var n=r.rich,i=t.rich||n&&{};return W(t,r),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,r){for(var n=Ye(r),i=0;i<n.length;i++){var a=n[i];t[a]=t[a]||{},W(t[a],r[a])}},e.prototype.getAnimationStyleProps=function(){return KE},e.prototype._getOrCreateChild=function(t){var r=this._children[this._childCursor];return(!r||!(r instanceof t))&&(r=new t),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},e.prototype._updatePlainTexts=function(){var t=this.style,r=t.font||yr,n=t.padding,i=this._defaultStyle,a=t.x||0,o=t.y||0,s=t.align||i.align||"left",l=t.verticalAlign||i.verticalAlign||"top";l0(WA,i.overflowRect,a,o,s,l),a=WA.baseX,o=WA.baseY;var u=U0(t),f=uE(u,t,WA.outerWidth,WA.outerHeight),c=Yc(t),h=!!t.backgroundColor,v=f.outerHeight,d=f.outerWidth,g=f.lines,p=f.lineHeight;this.isTruncated=!!f.isTruncated;var B=a,m=vn(o,f.contentHeight,l);if(c||n){var y=yi(a,d,s),_=vn(o,v,l);c&&this._renderBackground(t,t,y,_,d,v)}m+=p/2,n&&(B=S0(a,s,n),l==="top"?m+=n[0]:l==="bottom"&&(m-=n[2]));for(var C=0,Q=!1,x=!1,F=b0("fill"in t?t.fill:(x=!0,i.fill)),S=E0("stroke"in t?t.stroke:!h&&(!i.autoStroke||x)?(C=_0,Q=!0,i.stroke):null),E=t.textShadowBlur>0,I=0;I<g.length;I++){var U=this._getOrCreateChild(Ps),T=U.createStyle();U.useStyle(T),T.text=g[I],T.x=B,T.y=m,T.textAlign=s,T.textBaseline="middle",T.opacity=t.opacity,T.strokeFirst=!0,E&&(T.shadowBlur=t.textShadowBlur||0,T.shadowColor=t.textShadowColor||"transparent",T.shadowOffsetX=t.textShadowOffsetX||0,T.shadowOffsetY=t.textShadowOffsetY||0),T.stroke=S,T.fill=F,S&&(T.lineWidth=t.lineWidth||C,T.lineDash=t.lineDash,T.lineDashOffset=t.lineDashOffset||0),T.font=r,x0(T,t),m+=p,U.setBoundingRect(Mc(T,f.contentWidth,f.calculatedLineHeight,Q?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,r=this._defaultStyle,n=t.align||r.align,i=t.verticalAlign||r.verticalAlign,a=t.x||0,o=t.y||0;l0(WA,r.overflowRect,a,o,n,i),a=WA.baseX,o=WA.baseY;var s=U0(t),l=hE(s,t,WA.outerWidth,WA.outerHeight,n),u=l.width,f=l.outerWidth,c=l.outerHeight,h=t.padding;this.isTruncated=!!l.isTruncated;var v=yi(a,f,n),d=vn(o,c,i),g=v,p=d;h&&(g+=h[3],p+=h[0]);var B=g+u;Yc(t)&&this._renderBackground(t,t,v,d,f,c);for(var m=!!t.backgroundColor,y=0;y<l.lines.length;y++){for(var _=l.lines[y],C=_.tokens,Q=C.length,x=_.lineHeight,F=_.width,S=0,E=g,I=B,U=Q-1,T=void 0;S<Q&&(T=C[S],!T.align||T.align==="left");)this._placeToken(T,t,x,p,E,"left",m),F-=T.width,E+=T.width,S++;for(;U>=0&&(T=C[U],T.align==="right");)this._placeToken(T,t,x,p,I,"right",m),F-=T.width,I-=T.width,U--;for(E+=(u-(E-g)-(B-I)-F)/2;S<=U;)T=C[S],this._placeToken(T,t,x,p,E+T.width/2,"center",m),E+=T.width,S++;p+=x}},e.prototype._placeToken=function(t,r,n,i,a,o,s){var l=r.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,f=i+n/2;u==="top"?f=i+t.height/2:u==="bottom"&&(f=i+n-t.height/2);var c=!t.isLineHolder&&Yc(l);c&&this._renderBackground(l,r,o==="right"?a-t.width:o==="center"?a-t.width/2:a,f-t.height/2,t.width,t.height);var h=!!l.backgroundColor,v=t.textPadding;v&&(a=S0(a,o,v),f-=t.height/2-v[0]-t.innerHeight/2);var d=this._getOrCreateChild(Ps),g=d.createStyle();d.useStyle(g);var p=this._defaultStyle,B=!1,m=0,y=!1,_=b0("fill"in l?l.fill:"fill"in r?r.fill:(B=!0,p.fill)),C=E0("stroke"in l?l.stroke:"stroke"in r?r.stroke:!h&&!s&&(!p.autoStroke||B)?(m=_0,y=!0,p.stroke):null),Q=l.textShadowBlur>0||r.textShadowBlur>0;g.text=t.text,g.x=a,g.y=f,Q&&(g.shadowBlur=l.textShadowBlur||r.textShadowBlur||0,g.shadowColor=l.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=t.font||yr,g.opacity=wr(l.opacity,r.opacity,1),x0(g,l),C&&(g.lineWidth=wr(l.lineWidth,r.lineWidth,m),g.lineDash=de(l.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=C),_&&(g.fill=_),d.setBoundingRect(Mc(g,t.contentWidth,t.contentHeight,y?0:null))},e.prototype._renderBackground=function(t,r,n,i,a,o){var s=t.backgroundColor,l=t.borderWidth,u=t.borderColor,f=s&&s.image,c=s&&!f,h=t.borderRadius,v=this,d,g;if(c||t.lineHeight||l&&u){d=this._getOrCreateChild(Je),d.useStyle(d.createStyle()),d.style.fill=null;var p=d.shape;p.x=n,p.y=i,p.width=a,p.height=o,p.r=h,d.dirtyShape()}if(c){var B=d.style;B.fill=s||null,B.fillOpacity=de(t.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Ur),g.onload=function(){v.dirtyStyle()};var m=g.style;m.image=s.image,m.x=n,m.y=i,m.width=a,m.height=o}if(l&&u){var B=d.style;B.lineWidth=l,B.stroke=u,B.strokeOpacity=de(t.strokeOpacity,1),B.lineDash=t.borderDash,B.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(B.strokeFirst=!0,B.lineWidth*=2)}var y=(d||g).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=wr(t.opacity,r.opacity,1)},e.makeFont=function(t){var r="";return YE(t)&&(r=[t.fontStyle,t.fontWeight,WE(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),r&&LA(r)||t.textFont||t.font},e})(Da),GE={left:!0,right:1,center:1},zE={top:1,bottom:1,middle:1},Q0=["fontStyle","fontWeight","fontSize","fontFamily"];function WE(A){return typeof A=="string"&&(A.indexOf("px")!==-1||A.indexOf("rem")!==-1||A.indexOf("em")!==-1)?A:isNaN(+A)?xf+"px":A+"px"}function x0(A,e){for(var t=0;t<Q0.length;t++){var r=Q0[t],n=e[r];n!=null&&(A[r]=n)}}function YE(A){return A.fontSize!=null||A.fontFamily||A.fontWeight}function XE(A){return F0(A),b(A.rich,F0),A}function F0(A){if(A){A.font=Ht.makeFont(A);var e=A.align;e==="middle"&&(e="center"),A.align=e==null||GE[e]?e:"left";var t=A.verticalAlign;t==="center"&&(t="middle"),A.verticalAlign=t==null||zE[t]?t:"top";var r=A.padding;r&&(A.padding=Sf(A.padding))}}function E0(A,e){return A==null||e<=0||A==="transparent"||A==="none"?null:A.image||A.colorStops?"#000":A}function b0(A){return A==null||A==="none"?null:A.image||A.colorStops?"#000":A}function S0(A,e,t){return e==="right"?A-t[1]:e==="center"?A+t[3]/2-t[1]/2:A+t[3]}function U0(A){var e=A.text;return e!=null&&(e+=""),e}function Yc(A){return!!(A.backgroundColor||A.lineHeight||A.borderWidth&&A.borderColor)}var Te=Ge(),ZE=function(A,e,t,r){if(r){var n=Te(r);n.dataIndex=t,n.dataType=e,n.seriesIndex=A,n.ssrType="chart",r.type==="group"&&r.traverse(function(i){var a=Te(i);a.seriesIndex=A,a.dataIndex=t,a.dataType=e,a.ssrType="chart"})}},I0=1,T0={},D0=Ge(),Xc=Ge(),Zc=0,ks=1,Vs=2,sA=["emphasis","blur","select"],Ks=["normal","emphasis","blur","select"],JE=10,qE=9,Fn="highlight",Gs="downplay",zs="select",Jc="unselect",Ws="toggleSelect",qc="selectchanged";function Fi(A){return A!=null&&A!=="none"}function Ys(A,e,t){A.onHoverStateChange&&(A.hoverState||0)!==t&&A.onHoverStateChange(e),A.hoverState=t}function L0(A){Ys(A,"emphasis",Vs)}function M0(A){A.hoverState===Vs&&Ys(A,"normal",Zc)}function $c(A){Ys(A,"blur",ks)}function H0(A){A.hoverState===ks&&Ys(A,"normal",Zc)}function $E(A){A.selected=!0}function jE(A){A.selected=!1}function O0(A,e,t){e(A,t)}function sr(A,e,t){O0(A,e,t),A.isGroup&&A.traverse(function(r){O0(r,e,t)})}function R0(A,e){switch(e){case"emphasis":A.hoverState=Vs;break;case"normal":A.hoverState=Zc;break;case"blur":A.hoverState=ks;break;case"select":A.selected=!0}}function eb(A,e,t,r){for(var n=A.style,i={},a=0;a<e.length;a++){var o=e[a],s=n[o];i[o]=s??(r&&r[o])}for(var a=0;a<A.animators.length;a++){var l=A.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(t)<0&&l.targetName==="style"&&l.saveTo(i,e)}return i}function tb(A,e,t,r){var n=t&&Ie(t,"select")>=0,i=!1;if(A instanceof Ne){var a=D0(A),o=n&&a.selectFill||a.normalFill,s=n&&a.selectStroke||a.normalStroke;if(Fi(o)||Fi(s)){r=r||{};var l=r.style||{};l.fill==="inherit"?(i=!0,r=W({},r),l=W({},l),l.fill=o):!Fi(l.fill)&&Fi(o)?(i=!0,r=W({},r),l=W({},l),l.fill=pg(o)):!Fi(l.stroke)&&Fi(s)&&(i||(r=W({},r),l=W({},l)),l.stroke=pg(s)),r.style=l}}if(r&&r.z2==null){i||(r=W({},r));var u=A.z2EmphasisLift;r.z2=A.z2+(u??JE)}return r}function Ab(A,e,t){if(t&&t.z2==null){t=W({},t);var r=A.z2SelectLift;t.z2=A.z2+(r??qE)}return t}function rb(A,e,t){var r=Ie(A.currentStates,e)>=0,n=A.style.opacity,i=r?null:eb(A,["opacity"],e,{opacity:1});t=t||{};var a=t.style||{};return a.opacity==null&&(t=W({},t),a=W({opacity:r?n:i.opacity*.1},a),t.style=a),t}function jc(A,e){var t=this.states[A];if(this.style){if(A==="emphasis")return tb(this,A,e,t);if(A==="blur")return rb(this,A,t);if(A==="select")return Ab(this,A,t)}return t}function nb(A){A.stateProxy=jc;var e=A.getTextContent(),t=A.getTextGuideLine();e&&(e.stateProxy=jc),t&&(t.stateProxy=jc)}function N0(A,e){!G0(A,e)&&!A.__highByOuter&&sr(A,L0)}function P0(A,e){!G0(A,e)&&!A.__highByOuter&&sr(A,M0)}function Xs(A,e){A.__highByOuter|=1<<(e||0),sr(A,L0)}function Zs(A,e){!(A.__highByOuter&=~(1<<(e||0)))&&sr(A,M0)}function ib(A){sr(A,$c)}function k0(A){sr(A,H0)}function V0(A){sr(A,$E)}function K0(A){sr(A,jE)}function G0(A,e){return A.__highDownSilentOnTouch&&e.zrByTouch}function z0(A){var e=A.getModel(),t=[],r=[];e.eachComponent(function(n,i){var a=Xc(i),o=n==="series",s=o?A.getViewOfSeriesModel(i):A.getViewOfComponentModel(i);!o&&r.push(s),a.isBlured&&(s.group.traverse(function(l){H0(l)}),o&&t.push(i)),a.isBlured=!1}),b(r,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function eh(A,e,t,r){var n=r.getModel();t=t||"coordinateSystem";function i(l,u){for(var f=0;f<u.length;f++){var c=l.getItemGraphicEl(u[f]);c&&k0(c)}}if(A!=null&&!(!e||e==="none")){var a=n.getSeriesByIndex(A),o=a.coordinateSystem;o&&o.master&&(o=o.master);var s=[];n.eachSeries(function(l){var u=a===l,f=l.coordinateSystem;f&&f.master&&(f=f.master);var c=f&&o?f===o:u;if(!(t==="series"&&!u||t==="coordinateSystem"&&!c||e==="series"&&u)){var h=r.getViewOfSeriesModel(l);if(h.group.traverse(function(g){g.__highByOuter&&u&&e==="self"||$c(g)}),Pt(e))i(l.getData(),e);else if(ve(e))for(var v=Ye(e),d=0;d<v.length;d++)i(l.getData(v[d]),e[v[d]]);s.push(l),Xc(l).isBlured=!0}}),n.eachComponent(function(l,u){if(l!=="series"){var f=r.getViewOfComponentModel(u);f&&f.toggleBlurSeries&&f.toggleBlurSeries(s,!0,n)}})}}function th(A,e,t){if(!(A==null||e==null)){var r=t.getModel().getComponent(A,e);if(r){Xc(r).isBlured=!0;var n=t.getViewOfComponentModel(r);!n||!n.focusBlurEnabled||n.group.traverse(function(i){$c(i)})}}}function ab(A,e,t){var r=A.seriesIndex,n=A.getData(e.dataType);if(!n){process.env.NODE_ENV!=="production"&&Ke("Unknown dataType "+e.dataType);return}var i=dn(n,e);i=(ie(i)?i[0]:i)||0;var a=n.getItemGraphicEl(i);if(!a)for(var o=n.count(),s=0;!a&&s<o;)a=n.getItemGraphicEl(s++);if(a){var l=Te(a);eh(r,l.focus,l.blurScope,t)}else{var u=A.get(["emphasis","focus"]),f=A.get(["emphasis","blurScope"]);u!=null&&eh(r,u,f,t)}}function Ah(A,e,t,r){var n={focusSelf:!1,dispatchers:null};if(A==null||A==="series"||e==null||t==null)return n;var i=r.getModel().getComponent(A,e);if(!i)return n;var a=r.getViewOfComponentModel(i);if(!a||!a.findHighDownDispatchers)return n;for(var o=a.findHighDownDispatchers(t),s,l=0;l<o.length;l++)if(process.env.NODE_ENV!=="production"&&!Ei(o[l])&&Ke("param should be highDownDispatcher"),Te(o[l]).focus==="self"){s=!0;break}return{focusSelf:s,dispatchers:o}}function ob(A,e,t){process.env.NODE_ENV!=="production"&&!Ei(A)&&Ke("param should be highDownDispatcher");var r=Te(A),n=Ah(r.componentMainType,r.componentIndex,r.componentHighDownName,t),i=n.dispatchers,a=n.focusSelf;i?(a&&th(r.componentMainType,r.componentIndex,t),b(i,function(o){return N0(o,e)})):(eh(r.seriesIndex,r.focus,r.blurScope,t),r.focus==="self"&&th(r.componentMainType,r.componentIndex,t),N0(A,e))}function sb(A,e,t){process.env.NODE_ENV!=="production"&&!Ei(A)&&Ke("param should be highDownDispatcher"),z0(t);var r=Te(A),n=Ah(r.componentMainType,r.componentIndex,r.componentHighDownName,t).dispatchers;n?b(n,function(i){return P0(i,e)}):P0(A,e)}function lb(A,e,t){if(nh(e)){var r=e.dataType,n=A.getData(r),i=dn(n,e);ie(i)||(i=[i]),A[e.type===Ws?"toggleSelect":e.type===zs?"select":"unselect"](i,r)}}function W0(A){var e=A.getAllData();b(e,function(t){var r=t.data,n=t.type;r.eachItemGraphicEl(function(i,a){A.isSelected(a,n)?V0(i):K0(i)})})}function ub(A){var e=[];return A.eachSeries(function(t){var r=t.getAllData();b(r,function(n){n.data;var i=n.type,a=t.getSelectedDataIndices();if(a.length>0){var o={dataIndex:a,seriesIndex:t.seriesIndex};i!=null&&(o.dataType=i),e.push(o)}})}),e}function Js(A,e,t){X0(A,!0),sr(A,nb),cb(A,e,t)}function fb(A){X0(A,!1)}function qs(A,e,t,r){r?fb(A):Js(A,e,t)}function cb(A,e,t){var r=Te(A);e!=null?(r.focus=e,r.blurScope=t):r.focus&&(r.focus=null)}var Y0=["emphasis","blur","select"],hb={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function rh(A,e,t,r){t=t||"itemStyle";for(var n=0;n<Y0.length;n++){var i=Y0[n],a=e.getModel([i,t]),o=A.ensureState(i);o.style=a[hb[t]]()}}function X0(A,e){var t=e===!1,r=A;A.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=A.highDownSilentOnTouch),(!t||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!t)}function Ei(A){return!!(A&&A.__highDownDispatcher)}function vb(A){var e=T0[A];return e==null&&I0<=32&&(e=T0[A]=I0++),e}function nh(A){var e=A.type;return e===zs||e===Jc||e===Ws}function Z0(A){var e=A.type;return e===Fn||e===Gs}function db(A){var e=D0(A);e.normalFill=A.style.fill,e.normalStroke=A.style.stroke;var t=A.states.select||{};e.selectFill=t.style&&t.style.fill||null,e.selectStroke=t.style&&t.style.stroke||null}var bi=br.CMD,pb=[[],[],[]],J0=Math.sqrt,gb=Math.atan2;function Bb(A,e){if(e){var t=A.data,r=A.len(),n,i,a,o,s,l,u=bi.M,f=bi.C,c=bi.L,h=bi.R,v=bi.A,d=bi.Q;for(a=0,o=0;a<r;){switch(n=t[a++],o=a,i=0,n){case u:i=1;break;case c:i=1;break;case f:i=3;break;case d:i=2;break;case v:var g=e[4],p=e[5],B=J0(e[0]*e[0]+e[1]*e[1]),m=J0(e[2]*e[2]+e[3]*e[3]),y=gb(-e[1]/m,e[0]/B);t[a]*=B,t[a++]+=g,t[a]*=m,t[a++]+=p,t[a++]*=B,t[a++]*=m,t[a++]+=y,t[a++]+=y,a+=2,o=a;break;case h:l[0]=t[a++],l[1]=t[a++],tA(l,l,e),t[o++]=l[0],t[o++]=l[1],l[0]+=t[a++],l[1]+=t[a++],tA(l,l,e),t[o++]=l[0],t[o++]=l[1]}for(s=0;s<i;s++){var _=pb[s];_[0]=t[a++],_[1]=t[a++],tA(_,_,e),t[o++]=_[0],t[o++]=_[1]}}A.increaseVersion()}}var ih=Math.sqrt,$s=Math.sin,js=Math.cos,Ha=Math.PI;function q0(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])}function ah(A,e){return(A[0]*e[0]+A[1]*e[1])/(q0(A)*q0(e))}function $0(A,e){return(A[0]*e[1]<A[1]*e[0]?-1:1)*Math.acos(ah(A,e))}function j0(A,e,t,r,n,i,a,o,s,l,u){var f=s*(Ha/180),c=js(f)*(A-t)/2+$s(f)*(e-r)/2,h=-1*$s(f)*(A-t)/2+js(f)*(e-r)/2,v=c*c/(a*a)+h*h/(o*o);v>1&&(a*=ih(v),o*=ih(v));var d=(n===i?-1:1)*ih((a*a*(o*o)-a*a*(h*h)-o*o*(c*c))/(a*a*(h*h)+o*o*(c*c)))||0,g=d*a*h/o,p=d*-o*c/a,B=(A+t)/2+js(f)*g-$s(f)*p,m=(e+r)/2+$s(f)*g+js(f)*p,y=$0([1,0],[(c-g)/a,(h-p)/o]),_=[(c-g)/a,(h-p)/o],C=[(-1*c-g)/a,(-1*h-p)/o],Q=$0(_,C);if(ah(_,C)<=-1&&(Q=Ha),ah(_,C)>=1&&(Q=0),Q<0){var x=Math.round(Q/Ha*1e6)/1e6;Q=Ha*2+x%2*Ha}u.addData(l,B,m,a,o,y,Q,f,i)}var mb=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,yb=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function wb(A){var e=new br;if(!A)return e;var t=0,r=0,n=t,i=r,a,o=br.CMD,s=A.match(mb);if(!s)return e;for(var l=0;l<s.length;l++){for(var u=s[l],f=u.charAt(0),c=void 0,h=u.match(yb)||[],v=h.length,d=0;d<v;d++)h[d]=parseFloat(h[d]);for(var g=0;g<v;){var p=void 0,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0,Q=void 0,x=t,F=r,S=void 0,E=void 0;switch(f){case"l":t+=h[g++],r+=h[g++],c=o.L,e.addData(c,t,r);break;case"L":t=h[g++],r=h[g++],c=o.L,e.addData(c,t,r);break;case"m":t+=h[g++],r+=h[g++],c=o.M,e.addData(c,t,r),n=t,i=r,f="l";break;case"M":t=h[g++],r=h[g++],c=o.M,e.addData(c,t,r),n=t,i=r,f="L";break;case"h":t+=h[g++],c=o.L,e.addData(c,t,r);break;case"H":t=h[g++],c=o.L,e.addData(c,t,r);break;case"v":r+=h[g++],c=o.L,e.addData(c,t,r);break;case"V":r=h[g++],c=o.L,e.addData(c,t,r);break;case"C":c=o.C,e.addData(c,h[g++],h[g++],h[g++],h[g++],h[g++],h[g++]),t=h[g-2],r=h[g-1];break;case"c":c=o.C,e.addData(c,h[g++]+t,h[g++]+r,h[g++]+t,h[g++]+r,h[g++]+t,h[g++]+r),t+=h[g-2],r+=h[g-1];break;case"S":p=t,B=r,S=e.len(),E=e.data,a===o.C&&(p+=t-E[S-4],B+=r-E[S-3]),c=o.C,x=h[g++],F=h[g++],t=h[g++],r=h[g++],e.addData(c,p,B,x,F,t,r);break;case"s":p=t,B=r,S=e.len(),E=e.data,a===o.C&&(p+=t-E[S-4],B+=r-E[S-3]),c=o.C,x=t+h[g++],F=r+h[g++],t+=h[g++],r+=h[g++],e.addData(c,p,B,x,F,t,r);break;case"Q":x=h[g++],F=h[g++],t=h[g++],r=h[g++],c=o.Q,e.addData(c,x,F,t,r);break;case"q":x=h[g++]+t,F=h[g++]+r,t+=h[g++],r+=h[g++],c=o.Q,e.addData(c,x,F,t,r);break;case"T":p=t,B=r,S=e.len(),E=e.data,a===o.Q&&(p+=t-E[S-4],B+=r-E[S-3]),t=h[g++],r=h[g++],c=o.Q,e.addData(c,p,B,t,r);break;case"t":p=t,B=r,S=e.len(),E=e.data,a===o.Q&&(p+=t-E[S-4],B+=r-E[S-3]),t+=h[g++],r+=h[g++],c=o.Q,e.addData(c,p,B,t,r);break;case"A":m=h[g++],y=h[g++],_=h[g++],C=h[g++],Q=h[g++],x=t,F=r,t=h[g++],r=h[g++],c=o.A,j0(x,F,t,r,C,Q,m,y,_,c,e);break;case"a":m=h[g++],y=h[g++],_=h[g++],C=h[g++],Q=h[g++],x=t,F=r,t+=h[g++],r+=h[g++],c=o.A,j0(x,F,t,r,C,Q,m,y,_,c,e);break}}(f==="z"||f==="Z")&&(c=o.Z,e.addData(c),t=n,r=i),a=c}return e.toStatic(),e}var eB=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.applyTransform=function(t){},e})(Ne);function tB(A){return A.setData!=null}function AB(A,e){var t=wb(A),r=W({},e);return r.buildPath=function(n){var i=tB(n);if(i&&n.canSave()){n.appendPath(t);var a=n.getContext();a&&n.rebuildPath(a,1)}else{var a=i?n.getContext():n;a&&t.rebuildPath(a,1)}},r.applyTransform=function(n){Bb(t,n),this.dirtyShape()},r}function Cb(A,e){return new eB(AB(A,e))}function _b(A,e){var t=AB(A,e),r=(function(n){X(i,n);function i(a){var o=n.call(this,a)||this;return o.applyTransform=t.applyTransform,o.buildPath=t.buildPath,o}return i})(eB);return r}function Qb(A,e){for(var t=[],r=A.length,n=0;n<r;n++){var i=A[n];t.push(i.getUpdatedPathProxy(!0))}var a=new Ne(e);return a.createPathProxy(),a.buildPath=function(o){if(tB(o)){o.appendPath(t);var s=o.getContext();s&&o.rebuildPath(s,1)}},a}var xb=(function(){function A(){this.cx=0,this.cy=0,this.r=0}return A})(),el=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new xb},e.prototype.buildPath=function(t,r){t.moveTo(r.cx+r.r,r.cy),t.arc(r.cx,r.cy,r.r,0,Math.PI*2)},e})(Ne);el.prototype.type="circle";var Fb=(function(){function A(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return A})(),oh=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Fb},e.prototype.buildPath=function(t,r){var n=.5522848,i=r.cx,a=r.cy,o=r.rx,s=r.ry,l=o*n,u=s*n;t.moveTo(i-o,a),t.bezierCurveTo(i-o,a-u,i-l,a-s,i,a-s),t.bezierCurveTo(i+l,a-s,i+o,a-u,i+o,a),t.bezierCurveTo(i+o,a+u,i+l,a+s,i,a+s),t.bezierCurveTo(i-l,a+s,i-o,a+u,i-o,a),t.closePath()},e})(Ne);oh.prototype.type="ellipse";var rB=Math.PI,sh=rB*2,En=Math.sin,Si=Math.cos,Eb=Math.acos,xt=Math.atan2,nB=Math.abs,Oa=Math.sqrt,Ra=Math.max,YA=Math.min,CA=1e-4;function bb(A,e,t,r,n,i,a,o){var s=t-A,l=r-e,u=a-n,f=o-i,c=f*s-u*l;if(!(c*c<CA))return c=(u*(e-i)-f*(A-n))/c,[A+c*s,e+c*l]}function tl(A,e,t,r,n,i,a){var o=A-t,s=e-r,l=(a?i:-i)/Oa(o*o+s*s),u=l*s,f=-l*o,c=A+u,h=e+f,v=t+u,d=r+f,g=(c+v)/2,p=(h+d)/2,B=v-c,m=d-h,y=B*B+m*m,_=n-i,C=c*d-v*h,Q=(m<0?-1:1)*Oa(Ra(0,_*_*y-C*C)),x=(C*m-B*Q)/y,F=(-C*B-m*Q)/y,S=(C*m+B*Q)/y,E=(-C*B+m*Q)/y,I=x-g,U=F-p,T=S-g,H=E-p;return I*I+U*U>T*T+H*H&&(x=S,F=E),{cx:x,cy:F,x0:-u,y0:-f,x1:x*(n/_-1),y1:F*(n/_-1)}}function Sb(A){var e;if(ie(A)){var t=A.length;if(!t)return A;t===1?e=[A[0],A[0],0,0]:t===2?e=[A[0],A[0],A[1],A[1]]:t===3?e=A.concat(A[2]):e=A}else e=[A,A,A,A];return e}function Ub(A,e){var t,r=Ra(e.r,0),n=Ra(e.r0||0,0),i=r>0,a=n>0;if(!(!i&&!a)){if(i||(r=n,n=0),n>r){var o=r;r=n,n=o}var s=e.startAngle,l=e.endAngle;if(!(isNaN(s)||isNaN(l))){var u=e.cx,f=e.cy,c=!!e.clockwise,h=nB(l-s),v=h>sh&&h%sh;if(v>CA&&(h=v),!(r>CA))A.moveTo(u,f);else if(h>sh-CA)A.moveTo(u+r*Si(s),f+r*En(s)),A.arc(u,f,r,s,l,!c),n>CA&&(A.moveTo(u+n*Si(l),f+n*En(l)),A.arc(u,f,n,l,s,c));else{var d=void 0,g=void 0,p=void 0,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0,Q=void 0,x=void 0,F=void 0,S=void 0,E=void 0,I=void 0,U=void 0,T=void 0,H=r*Si(s),P=r*En(s),Z=n*Si(l),K=n*En(l),Y=h>CA;if(Y){var ee=e.cornerRadius;ee&&(t=Sb(ee),d=t[0],g=t[1],p=t[2],B=t[3]);var D=nB(r-n)/2;if(m=YA(D,p),y=YA(D,B),_=YA(D,d),C=YA(D,g),F=Q=Ra(m,y),S=x=Ra(_,C),(Q>CA||x>CA)&&(E=r*Si(l),I=r*En(l),U=n*Si(s),T=n*En(s),h<rB)){var M=bb(H,P,U,T,E,I,Z,K);if(M){var L=H-M[0],k=P-M[1],O=E-M[0],se=I-M[1],q=1/En(Eb((L*O+k*se)/(Oa(L*L+k*k)*Oa(O*O+se*se)))/2),Le=Oa(M[0]*M[0]+M[1]*M[1]);F=YA(Q,(r-Le)/(q+1)),S=YA(x,(n-Le)/(q-1))}}}if(!Y)A.moveTo(u+H,f+P);else if(F>CA){var ke=YA(p,F),Ae=YA(B,F),fe=tl(U,T,H,P,r,ke,c),le=tl(E,I,Z,K,r,Ae,c);A.moveTo(u+fe.cx+fe.x0,f+fe.cy+fe.y0),F<Q&&ke===Ae?A.arc(u+fe.cx,f+fe.cy,F,xt(fe.y0,fe.x0),xt(le.y0,le.x0),!c):(ke>0&&A.arc(u+fe.cx,f+fe.cy,ke,xt(fe.y0,fe.x0),xt(fe.y1,fe.x1),!c),A.arc(u,f,r,xt(fe.cy+fe.y1,fe.cx+fe.x1),xt(le.cy+le.y1,le.cx+le.x1),!c),Ae>0&&A.arc(u+le.cx,f+le.cy,Ae,xt(le.y1,le.x1),xt(le.y0,le.x0),!c))}else A.moveTo(u+H,f+P),A.arc(u,f,r,s,l,!c);if(!(n>CA)||!Y)A.lineTo(u+Z,f+K);else if(S>CA){var ke=YA(d,S),Ae=YA(g,S),fe=tl(Z,K,E,I,n,-Ae,c),le=tl(H,P,U,T,n,-ke,c);A.lineTo(u+fe.cx+fe.x0,f+fe.cy+fe.y0),S<x&&ke===Ae?A.arc(u+fe.cx,f+fe.cy,S,xt(fe.y0,fe.x0),xt(le.y0,le.x0),!c):(Ae>0&&A.arc(u+fe.cx,f+fe.cy,Ae,xt(fe.y0,fe.x0),xt(fe.y1,fe.x1),!c),A.arc(u,f,n,xt(fe.cy+fe.y1,fe.cx+fe.x1),xt(le.cy+le.y1,le.cx+le.x1),c),ke>0&&A.arc(u+le.cx,f+le.cy,ke,xt(le.y1,le.x1),xt(le.y0,le.x0),!c))}else A.lineTo(u+Z,f+K),A.arc(u,f,n,l,s,c)}A.closePath()}}}var Ib=(function(){function A(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return A})(),Ui=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Ib},e.prototype.buildPath=function(t,r){Ub(t,r)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e})(Ne);Ui.prototype.type="sector";var Tb=(function(){function A(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return A})(),lh=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Tb},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.PI*2;t.moveTo(n+r.r,i),t.arc(n,i,r.r,0,a,!1),t.moveTo(n+r.r0,i),t.arc(n,i,r.r0,0,a,!0)},e})(Ne);lh.prototype.type="ring";function Db(A,e,t,r){var n=[],i=[],a=[],o=[],s,l,u,f;if(r){u=[1/0,1/0],f=[-1/0,-1/0];for(var c=0,h=A.length;c<h;c++)si(u,u,A[c]),li(f,f,A[c]);si(u,u,r[0]),li(f,f,r[1])}for(var c=0,h=A.length;c<h;c++){var v=A[c];if(t)s=A[c?c-1:h-1],l=A[(c+1)%h];else if(c===0||c===h-1){n.push(cx(A[c]));continue}else s=A[c-1],l=A[c+1];hx(i,l,s),If(i,i,e);var d=Tf(v,s),g=Tf(v,l),p=d+g;p!==0&&(d/=p,g/=p),If(a,i,-d),If(o,i,g);var B=Hp([],v,a),m=Hp([],v,o);r&&(li(B,B,u),si(B,B,f),li(m,m,u),si(m,m,f)),n.push(B),n.push(m)}return t&&n.push(n.shift()),n}function iB(A,e,t){var r=e.smooth,n=e.points;if(n&&n.length>=2){if(r){var i=Db(n,r,t,e.smoothConstraint);A.moveTo(n[0][0],n[0][1]);for(var a=n.length,o=0;o<(t?a:a-1);o++){var s=i[o*2],l=i[o*2+1],u=n[(o+1)%a];A.bezierCurveTo(s[0],s[1],l[0],l[1],u[0],u[1])}}else{A.moveTo(n[0][0],n[0][1]);for(var o=1,f=n.length;o<f;o++)A.lineTo(n[o][0],n[o][1])}t&&A.closePath()}}var Lb=(function(){function A(){this.points=null,this.smooth=0,this.smoothConstraint=null}return A})(),Al=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Lb},e.prototype.buildPath=function(t,r){iB(t,r,!0)},e})(Ne);Al.prototype.type="polygon";var Mb=(function(){function A(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return A})(),Na=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Mb},e.prototype.buildPath=function(t,r){iB(t,r,!1)},e})(Ne);Na.prototype.type="polyline";var Hb={},Ob=(function(){function A(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return A})(),Ir=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ob},e.prototype.buildPath=function(t,r){var n,i,a,o;if(this.subPixelOptimize){var s=y0(Hb,r,this.style);n=s.x1,i=s.y1,a=s.x2,o=s.y2}else n=r.x1,i=r.y1,a=r.x2,o=r.y2;var l=r.percent;l!==0&&(t.moveTo(n,i),l<1&&(a=n*(1-l)+a*l,o=i*(1-l)+o*l),t.lineTo(a,o))},e.prototype.pointAt=function(t){var r=this.shape;return[r.x1*(1-t)+r.x2*t,r.y1*(1-t)+r.y2*t]},e})(Ne);Ir.prototype.type="line";var Kt=[],Rb=(function(){function A(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return A})();function aB(A,e,t){var r=A.cpx2,n=A.cpy2;return r!=null||n!=null?[(t?ng:ft)(A.x1,A.cpx1,A.cpx2,A.x2,e),(t?ng:ft)(A.y1,A.cpy1,A.cpy2,A.y2,e)]:[(t?og:_t)(A.x1,A.cpx1,A.x2,e),(t?og:_t)(A.y1,A.cpy1,A.y2,e)]}var uh=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Rb},e.prototype.buildPath=function(t,r){var n=r.x1,i=r.y1,a=r.x2,o=r.y2,s=r.cpx1,l=r.cpy1,u=r.cpx2,f=r.cpy2,c=r.percent;c!==0&&(t.moveTo(n,i),u==null||f==null?(c<1&&(fs(n,s,a,c,Kt),s=Kt[1],a=Kt[2],fs(i,l,o,c,Kt),l=Kt[1],o=Kt[2]),t.quadraticCurveTo(s,l,a,o)):(c<1&&(us(n,s,u,a,c,Kt),s=Kt[1],u=Kt[2],a=Kt[3],us(i,l,f,o,c,Kt),l=Kt[1],f=Kt[2],o=Kt[3]),t.bezierCurveTo(s,l,u,f,a,o)))},e.prototype.pointAt=function(t){return aB(this.shape,t,!1)},e.prototype.tangentAt=function(t){var r=aB(this.shape,t,!0);return px(r,r)},e})(Ne);uh.prototype.type="bezier-curve";var Nb=(function(){function A(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return A})(),rl=(function(A){X(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Nb},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.max(r.r,0),o=r.startAngle,s=r.endAngle,l=r.clockwise,u=Math.cos(o),f=Math.sin(o);t.moveTo(u*a+n,f*a+i),t.arc(n,i,a,o,s,!l)},e})(Ne);rl.prototype.type="arc";var Pb=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="compound",t}return e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,r=this.shapeChanged(),n=0;n<t.length;n++)r=r||t[n].shapeChanged();r&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],r=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(r[0],r[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,r){for(var n=r.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],r=0;r<t.length;r++)t[r].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ne.prototype.getBoundingRect.call(this)},e})(Ne),oB=(function(){function A(e){this.colorStops=e||[]}return A.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},A})(),sB=(function(A){X(e,A);function e(t,r,n,i,a,o){var s=A.call(this,a)||this;return s.x=t??0,s.y=r??0,s.x2=n??1,s.y2=i??0,s.type="linear",s.global=o||!1,s}return e})(oB),kb=(function(A){X(e,A);function e(t,r,n,i,a){var o=A.call(this,i)||this;return o.x=t??.5,o.y=r??.5,o.r=n??.5,o.type="radial",o.global=a||!1,o}return e})(oB),fh=Math.min,Vb=Math.max,nl=Math.abs,bn=[0,0],Sn=[0,0],pt=zp(),il=pt.minTv,al=pt.maxTv,lB=(function(){function A(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new be;for(var r=0;r<2;r++)this._axes[r]=new be;e&&this.fromBoundingRect(e,t)}return A.prototype.fromBoundingRect=function(e,t){var r=this._corners,n=this._axes,i=e.x,a=e.y,o=i+e.width,s=a+e.height;if(r[0].set(i,a),r[1].set(o,a),r[2].set(o,s),r[3].set(i,s),t)for(var l=0;l<4;l++)r[l].transform(t);be.sub(n[0],r[1],r[0]),be.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])},A.prototype.intersect=function(e,t,r){var n=!0,i=!t;return t&&be.set(t,0,0),pt.reset(r,!i),!this._intersectCheckOneSide(this,e,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,i,-1)&&(n=!1,i)||!i&&!pt.negativeSize&&be.copy(t,n?pt.useDir?pt.dirMinTv:il:al),n},A.prototype._intersectCheckOneSide=function(e,t,r,n){for(var i=!0,a=0;a<2;a++){var o=e._axes[a];if(e._getProjMinMaxOnAxis(a,e._corners,bn),e._getProjMinMaxOnAxis(a,t._corners,Sn),pt.negativeSize||bn[1]<Sn[0]||bn[0]>Sn[1]){if(i=!1,pt.negativeSize||r)return i;var s=nl(Sn[0]-bn[1]),l=nl(bn[0]-Sn[1]);fh(s,l)>al.len()&&(s<l?be.scale(al,o,-s*n):be.scale(al,o,l*n))}else if(!r){var s=nl(Sn[0]-bn[1]),l=nl(bn[0]-Sn[1]);(pt.useDir||fh(s,l)<il.len())&&((s<l||!pt.bidirectional)&&(be.scale(il,o,s*n),pt.useDir&&pt.calcDirMTV()),(s>=l||!pt.bidirectional)&&(be.scale(il,o,-l*n),pt.useDir&&pt.calcDirMTV()))}}return i},A.prototype._getProjMinMaxOnAxis=function(e,t,r){for(var n=this._axes[e],i=this._origin,a=t[0].dot(n)+i[e],o=a,s=a,l=1;l<t.length;l++){var u=t[l].dot(n)+i[e];o=fh(u,o),s=Vb(u,s)}r[0]=o+pt.touchThreshold,r[1]=s-pt.touchThreshold,pt.negativeSize=r[1]<r[0]},A})(),Kb=[],Gb=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return e.prototype.traverse=function(t,r){t.call(r,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,r){r?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,r){r=r||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],r)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var r=this._cursor;r<this._displayables.length;r++)t&&t(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)t&&t(this._temporaryDisplayables[r])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var r=this._displayables[t];r.parent=this,r.update(),r.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var r=this._temporaryDisplayables[t];r.parent=this,r.update(),r.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Fe(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var n=this._displayables[r],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Kb)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var a=0;a<this._displayables.length;a++){var o=this._displayables[a];if(o.contain(t,r))return!0}return!1},e})(Da),zb=Ge();function Wb(A,e,t,r,n){var i;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();i=a&&a.animation}var o=e&&e.isAnimationEnabled(),s=A==="update";if(o){var l=void 0,u=void 0,f=void 0;r?(l=de(r.duration,200),u=de(r.easing,"cubicOut"),f=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),f=e.getShallow(s?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(l=i.duration),i.easing!=null&&(u=i.easing),i.delay!=null&&(f=i.delay)),me(f)&&(f=f(t,n)),me(l)&&(l=l(t));var c={duration:l||0,delay:f,easing:u};return c}else return null}function ch(A,e,t,r,n,i,a){var o=!1,s;me(n)?(a=i,i=n,n=null):ve(n)&&(i=n.cb,a=n.during,o=n.isFrom,s=n.removeOpt,n=n.dataIndex);var l=A==="leave";l||e.stopAnimation("leave");var u=Wb(A,r,n,l?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,n):null);if(u&&u.duration>0){var f=u.duration,c=u.delay,h=u.easing,v={duration:f,delay:c||0,easing:h,done:i,force:!!i||!!a,setToFinal:!l,scope:A,during:a};o?e.animateFrom(t,v):e.animateTo(t,v)}else e.stopAnimation(),!o&&e.attr(t),a&&a(1),i&&i()}function Ft(A,e,t,r,n,i){ch("update",A,e,t,r,n,i)}function lA(A,e,t,r,n,i){ch("enter",A,e,t,r,n,i)}function Ii(A){if(!A.__zr)return!0;for(var e=0;e<A.animators.length;e++){var t=A.animators[e];if(t.scope==="leave")return!0}return!1}function ol(A,e,t,r,n,i){Ii(A)||ch("leave",A,e,t,r,n,i)}function uB(A,e,t,r){A.removeTextContent(),A.removeTextGuideLine(),ol(A,{style:{opacity:0}},e,t,r)}function sl(A,e,t){function r(){A.parent&&A.parent.remove(A)}A.isGroup?A.traverse(function(n){n.isGroup||uB(n,e,t,r)}):uB(A,e,t,r)}function fB(A){zb(A).oldStyle=A.style}var hh={},Tr=["x","y"],Ti=["width","height"];function Yb(A){return Ne.extend(A)}var Xb=_b;function Zb(A,e){return Xb(A,e)}function _A(A,e){hh[A]=e}function Jb(A){if(hh.hasOwnProperty(A))return hh[A]}function vh(A,e,t,r){var n=Cb(A,e);return t&&(r==="center"&&(t=hB(t,n.getBoundingRect())),vB(n,t)),n}function cB(A,e,t){var r=new Ur({style:{image:A,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(n){if(t==="center"){var i={width:n.width,height:n.height};r.setStyle(hB(e,i))}}});return r}function hB(A,e){var t=e.width/e.height,r=A.height*t,n;r<=A.width?n=A.height:(r=A.width,n=r/t);var i=A.x+A.width/2,a=A.y+A.height/2;return{x:i-r/2,y:a-n/2,width:r,height:n}}var qb=Qb;function vB(A,e){if(A.applyTransform){var t=A.getBoundingRect(),r=t.calculateTransform(e);A.applyTransform(r)}}function Pa(A,e){return y0(A,A,{lineWidth:e}),A}function $b(A,e){return w0(A,A,e),A}var jb=xn;function dB(A,e){for(var t=Vf([]);A&&A!==e;)da(t,A.getLocalTransform(),t),A=A.parent;return t}function ka(A,e,t){return e&&!Pt(e)&&(e=_s.getLocalTransform(e)),t&&(e=ci([],e)),tA([],A,e)}function pB(A,e,t){var r=e[4]===0||e[5]===0||e[0]===0?1:NA(2*e[4]/e[0]),n=e[4]===0||e[5]===0||e[2]===0?1:NA(2*e[4]/e[2]),i=[A==="left"?-r:A==="right"?r:0,A==="top"?-n:A==="bottom"?n:0];return i=ka(i,e,t),NA(i[0])>NA(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function gB(A){return!A.isGroup}function eS(A){return A.shape!=null}function BB(A,e,t){if(!A||!e)return;function r(a){var o={};return a.traverse(function(s){gB(s)&&s.anid&&(o[s.anid]=s)}),o}function n(a){var o={x:a.x,y:a.y,rotation:a.rotation};return eS(a)&&(o.shape=Se(a.shape)),o}var i=r(A);e.traverse(function(a){if(gB(a)&&a.anid){var o=i[a.anid];if(o){var s=n(a);a.attr(n(o)),Ft(a,s,t,Te(a).dataIndex)}}})}function tS(A,e){return Be(A,function(t){var r=t[0];r=Zt(r,e.x),r=Ea(r,e.x+e.width);var n=t[1];return n=Zt(n,e.y),n=Ea(n,e.y+e.height),[r,n]})}function AS(A,e){var t=Zt(A.x,e.x),r=Ea(A.x+A.width,e.x+e.width),n=Zt(A.y,e.y),i=Ea(A.y+A.height,e.y+e.height);if(r>=t&&i>=n)return{x:t,y:n,width:r-t,height:i-n}}function dh(A,e,t){var r=W({rectHover:!0},e),n=r.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},A)return A.indexOf("image://")===0?(n.image=A.slice(8),Oe(n,t),new Ur(r)):vh(A.replace("path://",""),r,t,"center")}function rS(A,e,t,r,n){for(var i=0,a=n[n.length-1];i<n.length;i++){var o=n[i];if(mB(A,e,t,r,o[0],o[1],a[0],a[1]))return!0;a=o}}function mB(A,e,t,r,n,i,a,o){var s=t-A,l=r-e,u=a-n,f=o-i,c=ph(u,f,s,l);if(nS(c))return!1;var h=A-n,v=e-i,d=ph(h,v,s,l)/c;if(d<0||d>1)return!1;var g=ph(h,v,u,f)/c;return!(g<0||g>1)}function ph(A,e,t,r){return A*r-t*e}function nS(A){return A<=1e-6&&A>=-1e-6}function ll(A,e,t,r,n){return e==null||(We(e)?Xe[0]=Xe[1]=Xe[2]=Xe[3]=e:(process.env.NODE_ENV!=="production"&&ce(e.length===4),Xe[0]=e[0],Xe[1]=e[1],Xe[2]=e[2],Xe[3]=e[3]),r&&(Xe[0]=Zt(0,Xe[0]),Xe[1]=Zt(0,Xe[1]),Xe[2]=Zt(0,Xe[2]),Xe[3]=Zt(0,Xe[3])),t&&(Xe[0]=-Xe[0],Xe[1]=-Xe[1],Xe[2]=-Xe[2],Xe[3]=-Xe[3]),yB(A,Xe,"x","width",3,1,n&&n[0]||0),yB(A,Xe,"y","height",0,2,n&&n[1]||0)),A}var Xe=[0,0,0,0];function yB(A,e,t,r,n,i,a){var o=e[i]+e[n],s=A[r];A[r]+=o,a=Zt(0,Ea(a,s)),A[r]<a?(A[r]=a,A[t]+=e[n]>=0?-e[n]:e[i]>=0?s+e[i]:NA(o)>1e-8?(s-a)*e[n]/o:0):A[t]-=e[n]}function ul(A){var e=A.itemTooltipOption,t=A.componentModel,r=A.itemName,n=ue(e)?{formatter:e}:e,i=t.mainType,a=t.componentIndex,o={componentType:i,name:r,$vars:["name"]};o[i+"Index"]=a;var s=A.formatterParamsExtra;s&&b(Ye(s),function(u){mA(o,u)||(o[u]=s[u],o.$vars.push(u))});var l=Te(A.el);l.componentMainType=i,l.componentIndex=a,l.tooltipConfig={name:r,option:Oe({content:r,encodeHTMLContent:!0,formatterParams:o},n)}}function gh(A,e){var t;A.isGroup&&(t=e(A)),t||A.traverse(e)}function fl(A,e){if(A)if(ie(A))for(var t=0;t<A.length;t++)gh(A[t],e);else gh(A,e)}function Bh(A){return!A||NA(A[1])<cl&&NA(A[2])<cl||NA(A[0])<cl&&NA(A[3])<cl}var cl=1e-5;function Va(A,e){return A?Fe.copy(A,e):e.clone()}function mh(A,e){return e?Vp(A||rr(),e):void 0}function Ka(A){return{z:A.get("z")||0,zlevel:A.get("zlevel")||0}}function iS(A){var e=-1/0,t=1/0;gh(A,function(i){r(i),r(i.getTextContent()),r(i.getTextGuideLine())});function r(i){if(!(!i||i.isGroup)){var a=i.currentStates;if(a.length)for(var o=0;o<a.length;o++)n(i.states[a[o]]);n(i)}}function n(i){if(i){var a=i.z2;a>e&&(e=a),a<t&&(t=a)}}return t>e&&(t=e=0),{min:t,max:e}}function wB(A,e,t){CB(A,e,t,-1/0)}function CB(A,e,t,r){if(A.ignoreModelZ)return r;var n=A.getTextContent(),i=A.getTextGuideLine(),a=A.isGroup;if(a)for(var o=A.childrenRef(),s=0;s<o.length;s++)r=Zt(CB(o[s],e,t,r),r);else A.z=e,A.zlevel=t,r=Zt(A.z2||0,r);if(n&&(n.z=e,n.zlevel=t,isFinite(r)&&(n.z2=r+2)),i){var l=A.textGuideLineConfig;i.z=e,i.zlevel=t,isFinite(r)&&(i.z2=r+(l&&l.showAbove?1:-1))}return r}_A("circle",el),_A("ellipse",oh),_A("sector",Ui),_A("ring",lh),_A("polygon",Al),_A("polyline",Na),_A("rect",Je),_A("line",Ir),_A("bezierCurve",uh),_A("arc",rl);const aS=Object.freeze(Object.defineProperty({__proto__:null,Arc:rl,BezierCurve:uh,BoundingRect:Fe,Circle:el,CompoundPath:Pb,Ellipse:oh,Group:st,Image:Ur,IncrementalDisplayable:Gb,Line:Ir,LinearGradient:sB,OrientedBoundingRect:lB,Path:Ne,Point:be,Polygon:Al,Polyline:Na,RadialGradient:kb,Rect:Je,Ring:lh,Sector:Ui,Text:Ht,WH:Ti,XY:Tr,applyTransform:ka,calcZ2Range:iS,clipPointsByRect:tS,clipRectByRect:AS,createIcon:dh,ensureCopyRect:Va,ensureCopyTransform:mh,expandOrShrinkRect:ll,extendPath:Zb,extendShape:Yb,getShapeClass:Jb,getTransform:dB,groupTransition:BB,initProps:lA,isBoundingRectAxisAligned:Bh,isElementRemoved:Ii,lineLineIntersect:mB,linePolygonIntersect:rS,makeImage:cB,makePath:vh,mergePath:qb,registerShape:_A,removeElement:ol,removeElementWithFadeOut:sl,resizePath:vB,retrieveZInfo:Ka,setTooltipConfig:ul,subPixelOptimize:jb,subPixelOptimizeLine:Pa,subPixelOptimizeRect:$b,transformDirection:pB,traverseElements:fl,traverseUpdateZ:wB,updateProps:Ft},Symbol.toStringTag,{value:"Module"}));var hl={};function _B(A,e){for(var t=0;t<sA.length;t++){var r=sA[t],n=e[r],i=A.ensureState(r);i.style=i.style||{},i.style.text=n}var a=A.currentStates.slice();A.clearStates(!0),A.setStyle({text:e.normal}),A.useStates(a,!0)}function yh(A,e,t){var r=A.labelFetcher,n=A.labelDataIndex,i=A.labelDimIndex,a=e.normal,o;r&&(o=r.getFormattedLabel(n,"normal",null,i,a&&a.get("formatter"),t!=null?{interpolatedValue:t}:null)),o==null&&(o=me(A.defaultText)?A.defaultText(n,A,t):A.defaultText);for(var s={normal:o},l=0;l<sA.length;l++){var u=sA[l],f=e[u];s[u]=de(r?r.getFormattedLabel(n,u,null,i,f&&f.get("formatter")):null,o)}return s}function vl(A,e,t,r){t=t||hl;for(var n=A instanceof Ht,i=!1,a=0;a<Ks.length;a++){var o=e[Ks[a]];if(o&&o.getShallow("show")){i=!0;break}}var s=n?A:A.getTextContent();if(i){n||(s||(s=new Ht,A.setTextContent(s)),A.stateProxy&&(s.stateProxy=A.stateProxy));var l=yh(t,e),u=e.normal,f=!!u.getShallow("show"),c=Un(u,r&&r.normal,t,!1,!n);c.text=l.normal,n||A.setTextConfig(QB(u,t,!1));for(var a=0;a<sA.length;a++){var h=sA[a],o=e[h];if(o){var v=s.ensureState(h),d=!!de(o.getShallow("show"),f);if(d!==f&&(v.ignore=!d),v.style=Un(o,r&&r[h],t,!0,!n),v.style.text=l[h],!n){var g=A.ensureState(h);g.textConfig=QB(o,t,!0)}}}s.silent=!!u.getShallow("silent"),s.style.x!=null&&(c.x=s.style.x),s.style.y!=null&&(c.y=s.style.y),s.ignore=!f,s.useStyle(c),s.dirty(),t.enableTextSetter&&(Di(s).setLabelText=function(p){var B=yh(t,e,p);_B(s,B)})}else s&&(s.ignore=!0);A.dirty()}function dl(A,e){e=e||"label";for(var t={normal:A.getModel(e)},r=0;r<sA.length;r++){var n=sA[r];t[n]=A.getModel([n,e])}return t}function Un(A,e,t,r,n){var i={};return oS(i,A,t,r,n),e&&W(i,e),i}function QB(A,e,t){e=e||{};var r={},n,i=A.getShallow("rotate"),a=de(A.getShallow("distance"),t?null:5),o=A.getShallow("offset");return n=A.getShallow("position")||(t?null:"inside"),n==="outside"&&(n=e.defaultOutsidePosition||"top"),n!=null&&(r.position=n),o!=null&&(r.offset=o),i!=null&&(i*=Math.PI/180,r.rotation=i),a!=null&&(r.distance=a),r.outsideFill=A.get("color")==="inherit"?e.inheritColor||null:"auto",e.autoOverflowArea!=null&&(r.autoOverflowArea=e.autoOverflowArea),e.layoutRect!=null&&(r.layoutRect=e.layoutRect),r}function oS(A,e,t,r,n){t=t||hl;var i=e.ecModel,a=i&&i.option.textStyle,o=sS(e),s;if(o){s={};var l="richInheritPlainLabel",u=de(e.get(l),i?i.get(l):void 0);for(var f in o)if(o.hasOwnProperty(f)){var c=e.getModel(["rich",f]);bB(s[f]={},c,a,e,u,t,r,n,!1,!0)}}s&&(A.rich=s);var h=e.get("overflow");h&&(A.overflow=h);var v=e.get("lineOverflow");v&&(A.lineOverflow=v);var d=A,g=e.get("minMargin");if(g!=null)g=We(g)?g/2:0,d.margin=[g,g,g,g],d.__marginType=Li.minMargin;else{var p=e.get("textMargin");p!=null&&(d.margin=Sf(p),d.__marginType=Li.textMargin)}bB(A,e,a,null,null,t,r,n,!0,!1)}function sS(A){for(var e;A&&A!==A.ecModel;){var t=(A.option||hl).rich;if(t){e=e||{};for(var r=Ye(t),n=0;n<r.length;n++){var i=r[n];e[i]=1}}A=A.parentModel}return e}var xB=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],FB=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],EB=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function bB(A,e,t,r,n,i,a,o,s,l){t=!a&&t||hl;var u=i&&i.inheritColor,f=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=de(e.getShallow("opacity"),t.opacity);(f==="inherit"||f==="auto")&&(process.env.NODE_ENV!=="production"&&f==="auto"&&dt("color: 'auto'","color: 'inherit'"),u?f=u:f=null),(c==="inherit"||c==="auto")&&(process.env.NODE_ENV!=="production"&&c==="auto"&&dt("color: 'auto'","color: 'inherit'"),u?c=u:c=null),o||(f=f||t.color,c=c||t.textBorderColor),f!=null&&(A.fill=f),c!=null&&(A.stroke=c);var v=de(e.getShallow("textBorderWidth"),t.textBorderWidth);v!=null&&(A.lineWidth=v);var d=de(e.getShallow("textBorderType"),t.textBorderType);d!=null&&(A.lineDash=d);var g=de(e.getShallow("textBorderDashOffset"),t.textBorderDashOffset);g!=null&&(A.lineDashOffset=g),!a&&h==null&&!l&&(h=i&&i.defaultOpacity),h!=null&&(A.opacity=h),!a&&!o&&A.fill==null&&i.inheritColor&&(A.fill=i.inheritColor);for(var p=0;p<xB.length;p++){var B=xB[p],m=n!==!1&&r?wr(e.getShallow(B),r.getShallow(B),t[B]):de(e.getShallow(B),t[B]);m!=null&&(A[B]=m)}for(var p=0;p<FB.length;p++){var B=FB[p],m=e.getShallow(B);m!=null&&(A[B]=m)}if(A.verticalAlign==null){var y=e.getShallow("baseline");y!=null&&(A.verticalAlign=y)}if(!s||!i.disableBox){for(var p=0;p<EB.length;p++){var B=EB[p],m=e.getShallow(B);m!=null&&(A[B]=m)}var _=e.getShallow("borderType");_!=null&&(A.borderDash=_),(A.backgroundColor==="auto"||A.backgroundColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&A.backgroundColor==="auto"&&dt("backgroundColor: 'auto'","backgroundColor: 'inherit'"),A.backgroundColor=u),(A.borderColor==="auto"||A.borderColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&A.borderColor==="auto"&&dt("borderColor: 'auto'","borderColor: 'inherit'"),A.borderColor=u)}}function lS(A,e){var t=e&&e.getModel("textStyle");return LA([A.fontStyle||t&&t.getShallow("fontStyle")||"",A.fontWeight||t&&t.getShallow("fontWeight")||"",(A.fontSize||t&&t.getShallow("fontSize")||12)+"px",A.fontFamily||t&&t.getShallow("fontFamily")||"sans-serif"].join(" "))}var Di=Ge();function uS(A,e,t,r){if(A){var n=Di(A);n.prevValue=n.value,n.value=t;var i=e.normal;n.valueAnimation=i.get("valueAnimation"),n.valueAnimation&&(n.precision=i.get("precision"),n.defaultInterpolatedText=r,n.statesModels=e)}}function fS(A,e,t,r,n){var i=Di(A);if(!i.valueAnimation||i.prevValue===i.value)return;var a=i.defaultInterpolatedText,o=de(i.interpolatedValue,i.prevValue),s=i.value;function l(u){var f=e0(t,i.precision,o,s,u);i.interpolatedValue=u===1?null:f;var c=yh({labelDataIndex:e,labelFetcher:n,defaultText:a?a(f):f+""},i.statesModels,f);_B(A,c)}A.percent=0,(i.prevValue==null?lA:Ft)(A,{percent:1},r,e,null,l)}var Li={minMargin:1,textMargin:2},cS=["textStyle","color"],wh=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Ch=new Ht,hS=(function(){function A(){}return A.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(cS):null)},A.prototype.getFont=function(){return lS({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},A.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<wh.length;r++)t[wh[r]]=this.getShallow(wh[r]);return Ch.useStyle(t),Ch.update(),Ch.getBoundingRect()},A})(),SB=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],vS=Ta(SB),dS=(function(){function A(){}return A.prototype.getLineStyle=function(e){return vS(this,e)},A})(),UB=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],pS=Ta(UB),gS=(function(){function A(){}return A.prototype.getItemStyle=function(e,t){return pS(this,e,t)},A})(),je=(function(){function A(e,t,r){this.parentModel=t,this.ecModel=r,this.option=e}return A.prototype.init=function(e,t,r){},A.prototype.mergeOption=function(e,t){Me(this.option,e,!0)},A.prototype.get=function(e,t){return e==null?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},A.prototype.getShallow=function(e,t){var r=this.option,n=r==null?r:r[e];if(n==null&&!t){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},A.prototype.getModel=function(e,t){var r=e!=null,n=r?this.parsePath(e):null,i=r?this._doGet(n):this.option;return t=t||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(n)),new A(i,t,this.ecModel)},A.prototype.isEmpty=function(){return this.option==null},A.prototype.restoreData=function(){},A.prototype.clone=function(){var e=this.constructor;return new e(Se(this.option))},A.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},A.prototype.resolveParentPath=function(e){return e},A.prototype.isAnimationEnabled=function(){if(!_e.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},A.prototype._doGet=function(e,t){var r=this.option;if(!e)return r;for(var n=0;n<e.length&&!(e[n]&&(r=r&&typeof r=="object"?r[e[n]]:null,r==null));n++);return r==null&&t&&(r=t._doGet(this.resolveParentPath(e),t.parentModel)),r},A})();Uc(je),tE(je),DA(je,dS),DA(je,gS),DA(je,aE),DA(je,hS);var BS=Math.round(Math.random()*10);function pl(A){return[A||"",BS++].join("_")}function mS(A){var e={};A.registerSubTypeDefaulter=function(t,r){var n=VA(t);e[n.main]=r},A.determineSubType=function(t,r){var n=r.type;if(!n){var i=VA(t).main;A.hasSubTypes(t)&&e[i]&&(n=e[i](r))}return n}}function yS(A,e){A.topologicalTravel=function(i,a,o,s){if(!i.length)return;var l=t(a),u=l.graph,f=l.noEntryList,c={};for(b(i,function(B){c[B]=!0});f.length;){var h=f.pop(),v=u[h],d=!!c[h];d&&(o.call(s,h,v.originalDeps.slice()),delete c[h]),b(v.successor,d?p:g)}b(c,function(){var B="";throw process.env.NODE_ENV!=="production"&&(B=Ds("Circular dependency may exists: ",c,i,a)),new Error(B)});function g(B){u[B].entryCount--,u[B].entryCount===0&&f.push(B)}function p(B){c[B]=!0,g(B)}};function t(i){var a={},o=[];return b(i,function(s){var l=r(a,s),u=l.originalDeps=e(s),f=n(u,i);l.entryCount=f.length,l.entryCount===0&&o.push(s),b(f,function(c){Ie(l.predecessor,c)<0&&l.predecessor.push(c);var h=r(a,c);Ie(h.successor,c)<0&&h.successor.push(s)})}),{graph:a,noEntryList:o}}function r(i,a){return i[a]||(i[a]={predecessor:[],successor:[]}),i[a]}function n(i,a){var o=[];return b(i,function(s){Ie(a,s)>=0&&o.push(s)}),o}}function gl(A,e){return Me(Me({},A,!0),e,!0)}const wS={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},CS={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var Bl="ZH",_h="EN",Mi=_h,ml={},Qh={},IB=_e.domSupported?(function(){var A=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Mi).toUpperCase();return A.indexOf(Bl)>-1?Bl:Mi})():Mi;function TB(A,e){A=A.toUpperCase(),Qh[A]=new je(e),ml[A]=e}function _S(A){if(ue(A)){var e=ml[A.toUpperCase()]||{};return A===Bl||A===_h?Se(e):Me(Se(e),Se(ml[Mi]),!1)}else return Me(Se(A),Se(ml[Mi]),!1)}function QS(A){return Qh[A]}function xS(){return Qh[Mi]}TB(_h,wS),TB(Bl,CS);var FS=null;function yl(){return FS}var xh=1e3,Fh=xh*60,Ga=Fh*60,uA=Ga*24,DB=uA*365,ES={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},wl={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},bS="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",Cl="{yyyy}-{MM}-{dd}",LB={year:"{yyyy}",month:"{yyyy}-{MM}",day:Cl,hour:Cl+" "+wl.hour,minute:Cl+" "+wl.minute,second:Cl+" "+wl.second,millisecond:bS},In=["year","month","day","hour","minute","second","millisecond"],SS=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function US(A){return!ue(A)&&!me(A)?IS(A):A}function IS(A){A=A||{};var e={},t=!0;return b(In,function(r){t&&(t=A[r]==null)}),b(In,function(r,n){var i=A[r];e[r]={};for(var a=null,o=n;o>=0;o--){var s=In[o],l=ve(i)&&!ie(i)?i[s]:i,u=void 0;ie(l)?(u=l.slice(),a=u[0]||""):ue(l)?(a=l,u=[a]):(a==null?a=wl[r]:ES[s].test(a)||(a=e[s][s][0]+" "+a),u=[a],t&&(u[1]="{primary|"+a+"}")),e[r][s]=u}}),e}function Dr(A,e){return A+="","0000".substr(0,e-A.length)+A}function za(A){switch(A){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return A}}function TS(A){return A===za(A)}function DS(A){switch(A){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _l(A,e,t,r){var n=Ci(A),i=n[MB(t)](),a=n[bh(t)]()+1,o=Math.floor((a-1)/3)+1,s=n[Sh(t)](),l=n["get"+(t?"UTC":"")+"Day"](),u=n[Uh(t)](),f=(u-1)%12+1,c=n[Ih(t)](),h=n[Th(t)](),v=n[Dh(t)](),d=u>=12?"pm":"am",g=d.toUpperCase(),p=r instanceof je?r:QS(r||IB)||xS(),B=p.getModel("time"),m=B.get("month"),y=B.get("monthAbbr"),_=B.get("dayOfWeek"),C=B.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,d+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Dr(i%100+"",2)).replace(/{Q}/g,o+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,Dr(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Dr(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,_[l]).replace(/{ee}/g,C[l]).replace(/{e}/g,l+"").replace(/{HH}/g,Dr(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,Dr(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Dr(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,Dr(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Dr(v,3)).replace(/{S}/g,v+"")}function LS(A,e,t,r,n){var i=null;if(ue(t))i=t;else if(me(t)){var a={time:A.time,level:A.time.level},o=yl();o&&o.makeAxisLabelFormatterParamBreak(a,A.break),i=t(A.value,e,a)}else{var s=A.time;if(s){var l=t[s.lowerTimeUnit][s.upperTimeUnit];i=l[Math.min(s.level,l.length-1)]||""}else{var u=Ql(A.value,n);i=t[u][u][0]}}return _l(new Date(A.value),i,n,r)}function Ql(A,e){var t=Ci(A),r=t[bh(e)]()+1,n=t[Sh(e)](),i=t[Uh(e)](),a=t[Ih(e)](),o=t[Th(e)](),s=t[Dh(e)](),l=s===0,u=l&&o===0,f=u&&a===0,c=f&&i===0,h=c&&n===1,v=h&&r===1;return v?"year":h?"month":c?"day":f?"hour":u?"minute":l?"second":"millisecond"}function Eh(A,e,t){switch(e){case"year":A[HB(t)](0);case"month":A[OB(t)](1);case"day":A[RB(t)](0);case"hour":A[NB(t)](0);case"minute":A[PB(t)](0);case"second":A[kB(t)](0)}return A}function MB(A){return A?"getUTCFullYear":"getFullYear"}function bh(A){return A?"getUTCMonth":"getMonth"}function Sh(A){return A?"getUTCDate":"getDate"}function Uh(A){return A?"getUTCHours":"getHours"}function Ih(A){return A?"getUTCMinutes":"getMinutes"}function Th(A){return A?"getUTCSeconds":"getSeconds"}function Dh(A){return A?"getUTCMilliseconds":"getMilliseconds"}function MS(A){return A?"setUTCFullYear":"setFullYear"}function HB(A){return A?"setUTCMonth":"setMonth"}function OB(A){return A?"setUTCDate":"setDate"}function RB(A){return A?"setUTCHours":"setHours"}function NB(A){return A?"setUTCMinutes":"setMinutes"}function PB(A){return A?"setUTCSeconds":"setSeconds"}function kB(A){return A?"setUTCMilliseconds":"setMilliseconds"}function VB(A){if(!Pg(A))return ue(A)?A:"-";var e=(A+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function KB(A,e){return A=(A||"").toLowerCase().replace(/-(.)/g,function(t,r){return r.toUpperCase()}),e&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var xl=Sf;function Lh(A,e,t){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(u){return u&&LA(u)?u:"-"}function i(u){return!!(u!=null&&!isNaN(u)&&isFinite(u))}var a=e==="time",o=A instanceof Date;if(a||o){var s=a?Ci(A):A;if(isNaN(+s)){if(o)return"-"}else return _l(s,r,t)}if(e==="ordinal")return es(A)?n(A):We(A)&&i(A)?A+"":"-";var l=Is(A);return i(l)?VB(l):es(A)?n(A):typeof A=="boolean"?A+"":"-"}var GB=["a","b","c","d","e","f","g"],Mh=function(A,e){return"{"+A+(e??"")+"}"};function zB(A,e,t){ie(e)||(e=[e]);var r=e.length;if(!r)return"";for(var n=e[0].$vars||[],i=0;i<n.length;i++){var a=GB[i];A=A.replace(Mh(a),Mh(a,0))}for(var o=0;o<r;o++)for(var s=0;s<n.length;s++){var l=e[o][n[s]];A=A.replace(Mh(GB[s],o),t?kt(l):l)}return A}function HS(A,e){var t=ue(A)?{color:A,extraCssText:e}:A||{},r=t.color,n=t.type;e=t.extraCssText;var i=t.renderMode||"html";if(!r)return"";if(i==="html")return n==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+kt(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+kt(r)+";"+(e||"")+'"></span>';var a=t.markerId||"markerX";return{renderMode:i,content:"{"+a+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Tn(A,e){return e=e||"transparent",ue(A)?A:ve(A)&&A.colorStops&&(A.colorStops[0]||{}).color||e}var Fl={},Hh={},Oh=(function(){function A(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return A.prototype.create=function(e,t){this._nonSeriesBoxMasterList=r(Fl,!0),this._normalMasterList=r(Hh,!1);function r(n,i){var a=[];return b(n,function(o,s){var l=o.create(e,t);a=a.concat(l||[]),process.env.NODE_ENV!=="production"&&i&&b(l,function(u){return ce(!u.update)})}),a}},A.prototype.update=function(e,t){b(this._normalMasterList,function(r){r.update&&r.update(e,t)})},A.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},A.register=function(e,t){if(e==="matrix"||e==="calendar"){Fl[e]=t;return}Hh[e]=t},A.get=function(e){return Hh[e]||Fl[e]},A})();function OS(A){return!!Fl[A]}var WB={coord:1,coord2:2},RS=we();function NS(A){var e=A.getShallow("coord",!0),t=WB.coord;if(e==null){var r=RS.get(A.type);r&&r.getCoord2&&(t=WB.coord2,e=r.getCoord2(A))}return{coord:e,from:t}}var lr={none:0,dataCoordSys:1,boxCoordSys:2};function PS(A,e){var t=A.getShallow("coordinateSystem"),r=A.getShallow("coordinateSystemUsage",!0),n=r!=null,i=lr.none;if(t){var a=A.mainType==="series";r==null&&(r=a?"data":"box"),r==="data"?(i=lr.dataCoordSys,a||(process.env.NODE_ENV!=="production"&&n&&e&&Ke('coordinateSystemUsage "data" is not supported in non-series components.'),i=lr.none)):r==="box"&&(i=lr.boxCoordSys,!a&&!OS(t)&&(process.env.NODE_ENV!=="production"&&n&&e&&Ke('coordinateSystem "'+t+'" cannot be used'+(' as coordinateSystemUsage "box" for "'+A.type+'" yet.')),i=lr.none))}return{coordSysType:t,kind:i}}function kS(A){var e=A.targetModel,t=A.coordSysType,r=A.coordSysProvider,n=A.isDefaultDataCoordSys,i=A.allowNotFound;process.env.NODE_ENV!=="production"&&ce(!!t);var a=PS(e,!0),o=a.kind,s=a.coordSysType;if(n&&o!==lr.dataCoordSys&&(o=lr.dataCoordSys,s=t),o===lr.none||s!==t)return!1;var l=r(t,e);return l?(o===lr.dataCoordSys?(process.env.NODE_ENV!=="production"&&ce(e.mainType==="series"),e.coordinateSystem=l):e.boxCoordinateSystem=l,!0):(process.env.NODE_ENV!=="production"&&(i||Ke(t+" cannot be found for"+(" "+e.type+" (index: "+e.componentIndex+")."))),!1)}var El=b,VS=["left","right","top","bottom","width","height"],bl=[["width","left","right"],["height","top","bottom"]];function Rh(A,e,t,r,n){var i=0,a=0;r==null&&(r=1/0),n==null&&(n=1/0);var o=0;e.eachChild(function(s,l){var u=s.getBoundingRect(),f=e.childAt(l+1),c=f&&f.getBoundingRect(),h,v;if(A==="horizontal"){var d=u.width+(c?-c.x+u.x:0);h=i+d,h>r||s.newline?(i=0,h=d,a+=o+t,o=u.height):o=Math.max(o,u.height)}else{var g=u.height+(c?-c.y+u.y:0);v=a+g,v>n||s.newline?(i+=o+t,a=0,v=g,o=u.width):o=Math.max(o,u.width)}s.newline||(s.x=i,s.y=a,s.markRedraw(),A==="horizontal"?i=h+t:a=v+t)})}var Wa=Rh;nt(Rh,"vertical"),nt(Rh,"horizontal");function KS(A,e){return{left:A.getShallow("left",e),top:A.getShallow("top",e),right:A.getShallow("right",e),bottom:A.getShallow("bottom",e),width:A.getShallow("width",e),height:A.getShallow("height",e)}}function Hi(A,e,t){t=xl(t||0);var r=e.width,n=e.height,i=ct(A.left,r),a=ct(A.top,n),o=ct(A.right,r),s=ct(A.bottom,n),l=ct(A.width,r),u=ct(A.height,n),f=t[2]+t[0],c=t[1]+t[3],h=A.aspect;switch(isNaN(l)&&(l=r-o-c-i),isNaN(u)&&(u=n-s-f-a),h!=null&&(isNaN(l)&&isNaN(u)&&(h>r/n?l=r*.8:u=n*.8),isNaN(l)&&(l=h*u),isNaN(u)&&(u=l/h)),isNaN(i)&&(i=r-o-l-c),isNaN(a)&&(a=n-s-u-f),A.left||A.right){case"center":i=r/2-l/2-t[3];break;case"right":i=r-l-c;break}switch(A.top||A.bottom){case"middle":case"center":a=n/2-u/2-t[0];break;case"bottom":a=n-u-f;break}i=i||0,a=a||0,isNaN(l)&&(l=r-c-i-(o||0)),isNaN(u)&&(u=n-f-a-(s||0));var v=new Fe((e.x||0)+i+t[3],(e.y||0)+a+t[0],l,u);return v.margin=t,v}var Nh={rect:1};function Ph(A,e,t){var r,n,i,a=A.boxCoordinateSystem,o;if(a){var s=NS(A),l=s.coord,u=s.from;if(a.dataToLayout){i=Nh.rect,o=u;var f=a.dataToLayout(l);r=f.contentRect||f.rect}else process.env.NODE_ENV!=="production"&&Ke(A.type+"["+A.componentIndex+"]"+(" layout based on "+a.type+" is not supported."))}return i==null&&(i=Nh.rect),i===Nh.rect&&(r||(r={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),n=[r.x+r.width/2,r.y+r.height/2]),{type:i,refContainer:r,refPoint:n,boxCoordFrom:o}}function Ya(A){var e=A.layoutMode||A.constructor.layoutMode;return ve(e)?e:e?{type:e}:null}function Lr(A,e,t){var r=t&&t.ignoreSize;!ie(r)&&(r=[r,r]);var n=a(bl[0],0),i=a(bl[1],1);s(bl[0],A,n),s(bl[1],A,i);function a(l,u){var f={},c=0,h={},v=0,d=2;if(El(l,function(B){h[B]=A[B]}),El(l,function(B){mA(e,B)&&(f[B]=h[B]=e[B]),o(f,B)&&c++,o(h,B)&&v++}),r[u])return o(e,l[1])?h[l[2]]=null:o(e,l[2])&&(h[l[1]]=null),h;if(v===d||!c)return h;if(c>=d)return f;for(var g=0;g<l.length;g++){var p=l[g];if(!mA(f,p)&&mA(A,p)){f[p]=A[p];break}}return f}function o(l,u){return l[u]!=null&&l[u]!=="auto"}function s(l,u,f){El(l,function(c){u[c]=f[c]})}}function Oi(A){return GS({},A)}function GS(A,e){return e&&A&&El(VS,function(t){mA(e,t)&&(A[t]=e[t])}),A}var zS=Ge(),He=(function(A){X(e,A);function e(t,r,n){var i=A.call(this,t,r,n)||this;return i.uid=pl("ec_cpt_model"),i}return e.prototype.init=function(t,r,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,r){var n=Ya(this),i=n?Oi(t):{},a=r.getTheme();Me(t,a.get(this.mainType)),Me(t,this.getDefaultOption()),n&&Lr(t,i,n)},e.prototype.mergeOption=function(t,r){Me(this.option,t,!0);var n=Ya(this);n&&Lr(this.option,t,n)},e.prototype.optionUpdated=function(t,r){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!$F(t))return t.defaultOption;var r=zS(this);if(!r.defaultOption){for(var n=[],i=t;i;){var a=i.prototype.defaultOption;a&&n.push(a),i=i.superClass}for(var o={},s=n.length-1;s>=0;s--)o=Me(o,n[s],!0);r.defaultOption=o}return r.defaultOption},e.prototype.getReferringComponents=function(t,r){var n=t+"Index",i=t+"Id";return Ia(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},r)},e.prototype.getBoxLayoutParams=function(){return KS(this,!1)},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=(function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0})(),e})(je);A0(He,je),Ls(He),mS(He),yS(He,WS);function WS(A){var e=[];return b(He.getClassesByMainType(A),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=Be(e,function(t){return VA(t).main}),A!=="dataset"&&Ie(e,"dataset")<=0&&e.unshift("dataset"),e}var ae={color:{},darkColor:{},size:{}},tt=ae.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};W(tt,{primary:tt.neutral80,secondary:tt.neutral70,tertiary:tt.neutral60,quaternary:tt.neutral50,disabled:tt.neutral20,border:tt.neutral30,borderTint:tt.neutral20,borderShade:tt.neutral40,background:tt.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:tt.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:tt.neutral70,axisLineTint:tt.neutral40,axisTick:tt.neutral70,axisTickMinor:tt.neutral60,axisLabel:tt.neutral70,axisSplitLine:tt.neutral15,axisMinorSplitLine:tt.neutral05});for(var Dn in tt)if(tt.hasOwnProperty(Dn)){var YB=tt[Dn];Dn==="theme"?ae.darkColor.theme=tt.theme.slice():Dn==="highlight"?ae.darkColor.highlight="rgba(255,231,130,0.4)":Dn.indexOf("accent")===0?ae.darkColor[Dn]=Ac(YB,null,function(A){return A*.5},function(A){return Math.min(1,1.3-A)}):ae.darkColor[Dn]=Ac(YB,null,function(A){return A*.9},function(A){return 1-Math.pow(A,1.5)})}ae.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var XB="";typeof navigator<"u"&&(XB=navigator.platform||"");var Ri="rgba(0, 0, 0, 0.2)",ZB=ae.color.theme[0],YS=Ac(ZB,null,null,.9);const XS={darkMode:"auto",colorBy:"series",color:ae.color.theme,gradientColor:[YS,ZB],aria:{decal:{decals:[{color:Ri,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ri,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ri,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ri,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ri,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ri,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:XB.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var kh=we(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Jt="original",Et="arrayRows",QA="objectRows",XA="keyedColumns",ur="typedArray",JB="unknown",ZA="column",Ln="row",qt={Must:1,Might:2,Not:3},qB=Ge();function ZS(A){qB(A).datasetMap=we()}function JS(A,e,t){var r={},n=$B(e);if(!n||!A)return r;var i=[],a=[],o=e.ecModel,s=qB(o).datasetMap,l=n.uid+"_"+t.seriesLayoutBy,u,f;A=A.slice(),b(A,function(d,g){var p=ve(d)?d:A[g]={name:d};p.type==="ordinal"&&u==null&&(u=g,f=v(p)),r[p.name]=[]});var c=s.get(l)||s.set(l,{categoryWayDim:f,valueWayDim:0});b(A,function(d,g){var p=d.name,B=v(d);if(u==null){var m=c.valueWayDim;h(r[p],m,B),h(a,m,B),c.valueWayDim+=B}else if(u===g)h(r[p],0,B),h(i,0,B);else{var m=c.categoryWayDim;h(r[p],m,B),h(a,m,B),c.categoryWayDim+=B}});function h(d,g,p){for(var B=0;B<p;B++)d.push(g+B)}function v(d){var g=d.dimsDef;return g?g.length:1}return i.length&&(r.itemName=i),a.length&&(r.seriesName=a),r}function $B(A){var e=A.get("data",!0);if(!e)return Ia(A.ecModel,"dataset",{index:A.get("datasetIndex",!0),id:A.get("datasetId",!0)},Lt).models[0]}function qS(A){return!A.get("transform",!0)&&!A.get("fromTransformResult",!0)?[]:Ia(A.ecModel,"dataset",{index:A.get("fromDatasetIndex",!0),id:A.get("fromDatasetId",!0)},Lt).models}function jB(A,e){return $S(A.data,A.sourceFormat,A.seriesLayoutBy,A.dimensionsDefine,A.startIndex,e)}function $S(A,e,t,r,n,i){var a,o=5;if(It(A))return qt.Not;var s,l;if(r){var u=r[i];ve(u)?(s=u.name,l=u.type):ue(u)&&(s=u)}if(l!=null)return l==="ordinal"?qt.Must:qt.Not;if(e===Et){var f=A;if(t===Ln){for(var c=f[i],h=0;h<(c||[]).length&&h<o;h++)if((a=y(c[n+h]))!=null)return a}else for(var h=0;h<f.length&&h<o;h++){var v=f[n+h];if(v&&(a=y(v[i]))!=null)return a}}else if(e===QA){var d=A;if(!s)return qt.Not;for(var h=0;h<d.length&&h<o;h++){var g=d[h];if(g&&(a=y(g[s]))!=null)return a}}else if(e===XA){var p=A;if(!s)return qt.Not;var c=p[s];if(!c||It(c))return qt.Not;for(var h=0;h<c.length&&h<o;h++)if((a=y(c[h]))!=null)return a}else if(e===Jt)for(var B=A,h=0;h<B.length&&h<o;h++){var g=B[h],m=Sa(g);if(!ie(m))return qt.Not;if((a=y(m[i]))!=null)return a}function y(_){var C=ue(_);if(_!=null&&Number.isFinite(Number(_))&&_!=="")return C?qt.Might:qt.Not;if(C&&_!=="-")return qt.Must}return qt.Not}var jS=we();function eU(A,e,t){var r=jS.get(e);if(!r)return t;var n=r(A);if(!n)return t;if(process.env.NODE_ENV!=="production")for(var i=0;i<n.length;i++)ce(_i(n[i]));return t.concat(n)}var em=Ge();Ge();var Vh=(function(){function A(){}return A.prototype.getColorFromPalette=function(e,t,r){var n=Dt(this.get("color",!0)),i=this.get("colorLayer",!0);return AU(this,em,n,i,e,t,r)},A.prototype.clearColorPalette=function(){rU(this,em)},A})();function tU(A,e){for(var t=A.length,r=0;r<t;r++)if(A[r].length>e)return A[r];return A[t-1]}function AU(A,e,t,r,n,i,a){i=i||A;var o=e(i),s=o.paletteIdx||0,l=o.paletteNameMap=o.paletteNameMap||{};if(l.hasOwnProperty(n))return l[n];var u=a==null||!r?t:tU(r,a);if(u=u||t,!(!u||!u.length)){var f=u[s];return n&&(l[n]=f),o.paletteIdx=(s+1)%u.length,f}}function rU(A,e){e(A).paletteIdx=0,e(A).paletteNameMap={}}var Sl,Xa,tm,Kh="\0_ec_inner",Am=1,nU={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",matrix:"MatrixComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},iU={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",chord:"ChordChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},Ul={};function aU(A){b(A,function(e,t){if(!He.hasClass(t)){var r=nU[t];r&&!Ul[r]&&(Ke("Component "+t+` is used but not imported.
30
30
  import { `+r+` } from 'echarts/components';
31
- echarts.use([`+r+"]);"),qs[r]=!0)}})}var a0=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(A,r,n,i,a,o){i=i||{},this.option=null,this._theme=new mA(i),this._locale=new mA(a),this._optionManager=o},e.prototype.setOption=function(A,r,n){process.env.NODE_ENV!=="production"&&(Ce(A!=null,"option is null/undefined"),Ce(A[Pc]!==i0,"please use chart.getOption()"));var i=l0(r);this._optionManager.setOption(A,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(A,r){return this._resetOption(A,l0(r))},e.prototype._resetOption=function(A,r){var n=!1,i=this._optionManager;if(!A||A==="recreate"){var a=i.mountOption(A==="recreate");process.env.NODE_ENV!=="production"&&aS(a),!this.option||A==="recreate"?n0(this,a):(this.restoreData(),this._mergeOption(a,r)),n=!0}if((A==="timeline"||A==="media")&&this.restoreData(),!A||A==="recreate"||A==="timeline"){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,r))}if(!A||A==="recreate"||A==="media"){var s=i.getMediaOption(this);s.length&&S(s,function(l){n=!0,this._mergeOption(l,r)},this)}return n},e.prototype.mergeOption=function(A){this._mergeOption(A,null)},e.prototype._mergeOption=function(A,r){var n=this.option,i=this._componentsMap,a=this._componentsCount,o=[],s=Be(),l=r&&r.replaceMergeMainTypeMap;ZU(this),S(A,function(f,c){f!=null&&(Ke.hasClass(c)?c&&(o.push(c),s.set(c,!0)):n[c]=n[c]==null?Ee(f):De(n[c],f,!0))}),l&&l.each(function(f,c){Ke.hasClass(c)&&!s.get(c)&&(o.push(c),s.set(c,!0))}),Ke.topologicalTravel(o,Ke.getAllClassMainTypes(),u,this);function u(f){var c=eS(this,f,UA(A[f])),h=i.get(f),v=h?l&&l.get(f)?"replaceMerge":"normalMerge":"replaceAll",d=KF(h,c,v);ZF(d,f,Ke),n[f]=null,i.set(f,null),a.set(f,0);var g=[],p=[],B=0,y,m;S(d,function(_,C){var Q=_.existing,F=_.newOption;if(!F)Q&&(Q.mergeOption({},this),Q.optionUpdated({},!1));else{var E=f==="series",U=Ke.getClass(f,_.keyInfo.subType,!E);if(!U){if(process.env.NODE_ENV!=="production"){var x=_.keyInfo.subType,b=iS[x];qs[x]||(qs[x]=!0,pA(b?"Series "+x+` is used but not imported.
32
- import { `+b+` } from 'echarts/charts';
33
- echarts.use([`+b+"]);":"Unknown series "+x))}return}if(f==="tooltip"){if(y){process.env.NODE_ENV!=="production"&&(m||(gA("Currently only one tooltip component is allowed."),m=!0));return}y=!0}if(Q&&Q.constructor===U)Q.name=_.keyInfo.name,Q.mergeOption(F,this),Q.optionUpdated(F,!1);else{var I=Y({componentIndex:C},_.keyInfo);Q=new U(F,this,this,I),Y(Q,I),_.brandNew&&(Q.__requireNewView=!0),Q.init(F,this,this),Q.optionUpdated(null,!0)}}Q?(g.push(Q.option),p.push(Q),B++):(g.push(void 0),p.push(void 0))},this),n[f]=g,i.set(f,p),a.set(f,B),f==="series"&&$s(this)}this._seriesIndices||$s(this)},e.prototype.getOption=function(){var A=Ee(this.option);return S(A,function(r,n){if(Ke.hasClass(n)){for(var i=UA(r),a=i.length,o=!1,s=a-1;s>=0;s--)i[s]&&!ri(i[s])?o=!0:(i[s]=null,!o&&a--);i.length=a,A[n]=i}}),delete A[Pc],A},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(A){this._payload=A},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(A,r){var n=this._componentsMap.get(A);if(n){var i=n[r||0];if(i)return i;if(r==null){for(var a=0;a<n.length;a++)if(n[a])return n[a]}}},e.prototype.queryComponents=function(A){var r=A.mainType;if(!r)return[];var n=A.index,i=A.id,a=A.name,o=this._componentsMap.get(r);if(!o||!o.length)return[];var s;return n!=null?(s=[],S(UA(n),function(l){o[l]&&s.push(o[l])})):i!=null?s=o0("id",i,o):a!=null?s=o0("name",a,o):s=tA(o,function(l){return!!l}),s0(s,A)},e.prototype.findComponents=function(A){var r=A.query,n=A.mainType,i=o(r),a=i?this.queryComponents(i):tA(this._componentsMap.get(n),function(l){return!!l});return s(s0(a,A));function o(l){var u=n+"Index",f=n+"Id",c=n+"Name";return l&&(l[u]!=null||l[f]!=null||l[c]!=null)?{mainType:n,index:l[u],id:l[f],name:l[c]}:null}function s(l){return A.filter?tA(l,A.filter):l}},e.prototype.eachComponent=function(A,r,n){var i=this._componentsMap;if(de(A)){var a=r,o=A;i.each(function(f,c){for(var h=0;f&&h<f.length;h++){var v=f[h];v&&o.call(a,c,v,v.componentIndex)}})}else for(var s=ae(A)?i.get(A):fe(A)?this.findComponents(A):null,l=0;s&&l<s.length;l++){var u=s[l];u&&r.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(A){var r=St(A,null);return tA(this._componentsMap.get("series"),function(n){return!!n&&r!=null&&n.name===r})},e.prototype.getSeriesByIndex=function(A){return this._componentsMap.get("series")[A]},e.prototype.getSeriesByType=function(A){return tA(this._componentsMap.get("series"),function(r){return!!r&&r.subType===A})},e.prototype.getSeries=function(){return tA(this._componentsMap.get("series"),function(A){return!!A})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(A,r){Ua(this),S(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];A.call(r,i,n)},this)},e.prototype.eachRawSeries=function(A,r){S(this._componentsMap.get("series"),function(n){n&&A.call(r,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(A,r,n){Ua(this),S(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===A&&r.call(n,a,i)},this)},e.prototype.eachRawSeriesByType=function(A,r,n){return S(this.getSeriesByType(A),r,n)},e.prototype.isSeriesFiltered=function(A){return Ua(this),this._seriesIndicesMap.get(A.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(A,r){Ua(this);var n=[];S(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];A.call(r,a,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=Be(n)},e.prototype.restoreData=function(A){$s(this);var r=this._componentsMap,n=[];r.each(function(i,a){Ke.hasClass(a)&&n.push(a)}),Ke.topologicalTravel(n,Ke.getAllClassMainTypes(),function(i){S(r.get(i),function(a){a&&(i!=="series"||!oS(a,A))&&a.restoreData()})})},e.internalField=function(){$s=function(A){var r=A._seriesIndices=[];S(A._componentsMap.get("series"),function(n){n&&r.push(n.componentIndex)}),A._seriesIndicesMap=Be(r)},Ua=function(A){if(process.env.NODE_ENV!=="production"&&!A._seriesIndices)throw new Error("Option should contains series.")},n0=function(A,r){A.option={},A.option[Pc]=i0,A._componentsMap=Be({series:[]}),A._componentsCount=Be();var n=r.aria;fe(n)&&n.enabled==null&&(n.enabled=!0),sS(r,A._theme.option),De(r,XU,!1),A._mergeOption(r,null)}}(),e}(mA);function oS(t,e){if(e){var A=e.seriesIndex,r=e.seriesId,n=e.seriesName;return A!=null&&t.componentIndex!==A||r!=null&&t.id!==r||n!=null&&t.name!==n}}function sS(t,e){var A=t.color&&!t.colorLayer;S(e,function(r,n){n==="colorLayer"&&A||Ke.hasClass(n)||(typeof r=="object"?t[n]=t[n]?De(t[n],r,!1):Ee(r):t[n]==null&&(t[n]=r))})}function o0(t,e,A){if(re(e)){var r=Be();return S(e,function(i){if(i!=null){var a=St(i,null);a!=null&&r.set(i,!0)}}),tA(A,function(i){return i&&r.get(i[t])})}else{var n=St(e,null);return tA(A,function(i){return i&&n!=null&&i[t]===n})}}function s0(t,e){return e.hasOwnProperty("subType")?tA(t,function(A){return A&&A.subType===e.subType}):t}function l0(t){var e=Be();return t&&S(UA(t.replaceMerge),function(A){process.env.NODE_ENV!=="production"&&Ce(Ke.hasClass(A),'"'+A+'" is not valid component main type in "replaceMerge"'),e.set(A,!0)}),{replaceMergeMainTypeMap:e}}xt(a0,Rc);const u0=a0;var lS=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],uS=function(){function t(e){S(lS,function(A){this[A]=pe(e[A],e)},this)}return t}();const f0=uS;var Nc={},fS=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(e,A){var r=[];S(Nc,function(n,i){var a=n.create(e,A);r=r.concat(a||[])}),this._coordinateSystems=r},t.prototype.update=function(e,A){S(this._coordinateSystems,function(r){r.update&&r.update(e,A)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(e,A){Nc[e]=A},t.get=function(e){return Nc[e]},t}();const kc=fS;var cS=/^(min|max)?(.+)$/,hS=function(){function t(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return t.prototype.setOption=function(e,A,r){e&&(S(UA(e.series),function(a){a&&a.data&&xA(a.data)&&Vu(a.data)}),S(UA(e.dataset),function(a){a&&a.source&&xA(a.source)&&Vu(a.source)})),e=Ee(e);var n=this._optionBackup,i=vS(e,A,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},t.prototype.mountOption=function(e){var A=this._optionBackup;return this._timelineOptions=A.timelineOptions,this._mediaList=A.mediaList,this._mediaDefault=A.mediaDefault,this._currentMediaIndices=[],Ee(e?A.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(e){var A,r=this._timelineOptions;if(r.length){var n=e.getComponent("timeline");n&&(A=Ee(r[n.getCurrentIndex()]))}return A},t.prototype.getMediaOption=function(e){var A=this._api.getWidth(),r=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,a=[],o=[];if(!n.length&&!i)return o;for(var s=0,l=n.length;s<l;s++)dS(n[s].query,A,r)&&a.push(s);return!a.length&&i&&(a=[-1]),a.length&&!pS(a,this._currentMediaIndices)&&(o=he(a,function(u){return Ee(u===-1?i.option:n[u].option)})),this._currentMediaIndices=a,o},t}();function vS(t,e,A){var r=[],n,i,a=t.baseOption,o=t.timeline,s=t.options,l=t.media,u=!!t.media,f=!!(s||o||a&&a.timeline);a?(i=a,i.timeline||(i.timeline=o)):((f||u)&&(t.options=t.media=null),i=t),u&&(re(l)?S(l,function(h){process.env.NODE_ENV!=="production"&&h&&!h.option&&fe(h.query)&&fe(h.query.option)&&pA("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),h&&h.option&&(h.query?r.push(h):n||(n=h))}):process.env.NODE_ENV!=="production"&&pA("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),c(i),S(s,function(h){return c(h)}),S(r,function(h){return c(h.option)});function c(h){S(e,function(v){v(h,A)})}return{baseOption:i,timelineOptions:s||[],mediaDefault:n,mediaList:r}}function dS(t,e,A){var r={width:e,height:A,aspectratio:e/A},n=!0;return S(t,function(i,a){var o=a.match(cS);if(!(!o||!o[1]||!o[2])){var s=o[1],l=o[2].toLowerCase();gS(r[l],i,s)||(n=!1)}}),n}function gS(t,e,A){return A==="min"?t>=e:A==="max"?t<=e:t===e}function pS(t,e){return t.join(",")===e.join(",")}const BS=hS;var at=S,Sa=fe,c0=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Kc(t){var e=t&&t.itemStyle;if(e)for(var A=0,r=c0.length;A<r;A++){var n=c0[A],i=e.normal,a=e.emphasis;i&&i[n]&&(process.env.NODE_ENV!=="production"&&lA("itemStyle.normal."+n,n),t[n]=t[n]||{},t[n].normal?De(t[n].normal,i[n]):t[n].normal=i[n],i[n]=null),a&&a[n]&&(process.env.NODE_ENV!=="production"&&lA("itemStyle.emphasis."+n,"emphasis."+n),t[n]=t[n]||{},t[n].emphasis?De(t[n].emphasis,a[n]):t[n].emphasis=a[n],a[n]=null)}}function wA(t,e,A){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,n=t[e].emphasis;r&&(process.env.NODE_ENV!=="production"&&pt("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),A?(t[e].normal=t[e].emphasis=null,He(t[e],r)):t[e]=r),n&&(process.env.NODE_ENV!=="production"&&pt(e+".emphasis has been changed to emphasis."+e+" since 4.0"),t.emphasis=t.emphasis||{},t.emphasis[e]=n,n.focus&&(t.emphasis.focus=n.focus),n.blurScope&&(t.emphasis.blurScope=n.blurScope))}}function ba(t){wA(t,"itemStyle"),wA(t,"lineStyle"),wA(t,"areaStyle"),wA(t,"label"),wA(t,"labelLine"),wA(t,"upperLabel"),wA(t,"edgeLabel")}function qe(t,e){var A=Sa(t)&&t[e],r=Sa(A)&&A.textStyle;if(r){process.env.NODE_ENV!=="production"&&pt("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var n=0,i=Gg.length;n<i;n++){var a=Gg[n];r.hasOwnProperty(a)&&(A[a]=r[a])}}}function ot(t){t&&(ba(t),qe(t,"label"),t.emphasis&&qe(t.emphasis,"label"))}function yS(t){if(Sa(t)){Kc(t),ba(t),qe(t,"label"),qe(t,"upperLabel"),qe(t,"edgeLabel"),t.emphasis&&(qe(t.emphasis,"label"),qe(t.emphasis,"upperLabel"),qe(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Kc(e),ot(e));var A=t.markLine;A&&(Kc(A),ot(A));var r=t.markArea;r&&ot(r);var n=t.data;if(t.type==="graph"){n=n||t.nodes;var i=t.links||t.edges;if(i&&!xA(i))for(var a=0;a<i.length;a++)ot(i[a]);S(t.categories,function(l){ba(l)})}if(n&&!xA(n))for(var a=0;a<n.length;a++)ot(n[a]);if(e=t.markPoint,e&&e.data)for(var o=e.data,a=0;a<o.length;a++)ot(o[a]);if(A=t.markLine,A&&A.data)for(var s=A.data,a=0;a<s.length;a++)re(s[a])?(ot(s[a][0]),ot(s[a][1])):ot(s[a]);t.type==="gauge"?(qe(t,"axisLabel"),qe(t,"title"),qe(t,"detail")):t.type==="treemap"?(wA(t.breadcrumb,"itemStyle"),S(t.levels,function(l){ba(l)})):t.type==="tree"&&ba(t.leaves)}}function qt(t){return re(t)?t:t?[t]:[]}function h0(t){return(re(t)?t[0]:t)||{}}function mS(t,e){at(qt(t.series),function(r){Sa(r)&&yS(r)});var A=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&A.push("valueAxis","categoryAxis","logAxis","timeAxis"),at(A,function(r){at(qt(t[r]),function(n){n&&(qe(n,"axisLabel"),qe(n.axisPointer,"label"))})}),at(qt(t.parallel),function(r){var n=r&&r.parallelAxisDefault;qe(n,"axisLabel"),qe(n&&n.axisPointer,"label")}),at(qt(t.calendar),function(r){wA(r,"itemStyle"),qe(r,"dayLabel"),qe(r,"monthLabel"),qe(r,"yearLabel")}),at(qt(t.radar),function(r){qe(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name,process.env.NODE_ENV!=="production"&&pt("name property in radar component has been changed to axisName")),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap,process.env.NODE_ENV!=="production"&&pt("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&at(r.indicator,function(n){n.text&&lA("text","name","radar.indicator")})}),at(qt(t.geo),function(r){Sa(r)&&(ot(r),at(qt(r.regions),function(n){ot(n)}))}),at(qt(t.timeline),function(r){ot(r),wA(r,"label"),wA(r,"itemStyle"),wA(r,"controlStyle",!0);var n=r.data;re(n)&&S(n,function(i){fe(i)&&(wA(i,"label"),wA(i,"itemStyle"))})}),at(qt(t.toolbox),function(r){wA(r,"iconStyle"),at(r.feature,function(n){wA(n,"iconStyle")})}),qe(h0(t.axisPointer),"label"),qe(h0(t.tooltip).axisPointer,"label")}function wS(t,e){for(var A=e.split(","),r=t,n=0;n<A.length&&(r=r&&r[A[n]],r!=null);n++);return r}function CS(t,e,A,r){for(var n=e.split(","),i=t,a,o=0;o<n.length-1;o++)a=n[o],i[a]==null&&(i[a]={}),i=i[a];(r||i[n[o]]==null)&&(i[n[o]]=A)}function v0(t){t&&S(_S,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var _S=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],QS=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Vc=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Ia(t){var e=t&&t.itemStyle;if(e)for(var A=0;A<Vc.length;A++){var r=Vc[A][1],n=Vc[A][0];e[r]!=null&&(e[n]=e[r],process.env.NODE_ENV!=="production"&&lA(r,n))}}function d0(t){t&&t.alignTo==="edge"&&t.margin!=null&&t.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&lA("label.margin","label.edgeDistance","pie"),t.edgeDistance=t.margin)}function g0(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay,process.env.NODE_ENV!=="production"&&lA("downplay","blur","sunburst"))}function FS(t){t&&t.focusNodeAdjacency!=null&&(t.emphasis=t.emphasis||{},t.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&lA("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),t.emphasis.focus="adjacency"))}function p0(t,e){if(t)for(var A=0;A<t.length;A++)e(t[A]),t[A]&&p0(t[A].children,e)}function B0(t,e){mS(t,e),t.series=UA(t.series),S(t.series,function(A){if(fe(A)){var r=A.type;if(r==="line")A.clipOverflow!=null&&(A.clip=A.clipOverflow,process.env.NODE_ENV!=="production"&&lA("clipOverflow","clip","line"));else if(r==="pie"||r==="gauge"){A.clockWise!=null&&(A.clockwise=A.clockWise,process.env.NODE_ENV!=="production"&&lA("clockWise","clockwise")),d0(A.label);var n=A.data;if(n&&!xA(n))for(var i=0;i<n.length;i++)d0(n[i]);A.hoverOffset!=null&&(A.emphasis=A.emphasis||{},(A.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&lA("hoverOffset","emphasis.scaleSize"),A.emphasis.scaleSize=A.hoverOffset))}else if(r==="gauge"){var a=wS(A,"pointer.color");a!=null&&CS(A,"itemStyle.color",a)}else if(r==="bar"){Ia(A),Ia(A.backgroundStyle),Ia(A.emphasis);var n=A.data;if(n&&!xA(n))for(var i=0;i<n.length;i++)typeof n[i]=="object"&&(Ia(n[i]),Ia(n[i]&&n[i].emphasis))}else if(r==="sunburst"){var o=A.highlightPolicy;o&&(A.emphasis=A.emphasis||{},A.emphasis.focus||(A.emphasis.focus=o,process.env.NODE_ENV!=="production"&&lA("highlightPolicy","emphasis.focus","sunburst"))),g0(A),p0(A.data,g0)}else r==="graph"||r==="sankey"?FS(A):r==="map"&&(A.mapType&&!A.map&&(process.env.NODE_ENV!=="production"&&lA("mapType","map","map"),A.map=A.mapType),A.mapLocation&&(process.env.NODE_ENV!=="production"&&pt("`mapLocation` is not used anymore."),He(A,A.mapLocation)));A.hoverAnimation!=null&&(A.emphasis=A.emphasis||{},A.emphasis&&A.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&lA("hoverAnimation","emphasis.scale"),A.emphasis.scale=A.hoverAnimation)),v0(A)}}),t.dataRange&&(t.visualMap=t.dataRange),S(QS,function(A){var r=t[A];r&&(re(r)||(r=[r]),S(r,function(n){v0(n)}))})}function xS(t){var e=Be();t.eachSeries(function(A){var r=A.get("stack");if(r){var n=e.get(r)||e.set(r,[]),i=A.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:A};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;n.length&&i.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(a)}}),e.each(ES)}function ES(t){S(t,function(e,A){var r=[],n=[NaN,NaN],i=[e.stackResultDimension,e.stackedOverDimension],a=e.data,o=e.isStackedByIndex,s=e.seriesModel.get("stackStrategy")||"samesign";a.modify(i,function(l,u,f){var c=a.get(e.stackedDimension,f);if(isNaN(c))return n;var h,v;o?v=a.getRawIndex(f):h=a.get(e.stackedByDimension,f);for(var d=NaN,g=A-1;g>=0;g--){var p=t[g];if(o||(v=p.data.rawIndexOf(p.stackedByDimension,h)),v>=0){var B=p.data.getByRawIndex(p.stackResultDimension,v);if(s==="all"||s==="positive"&&B>0||s==="negative"&&B<0||s==="samesign"&&c>=0&&B>0||s==="samesign"&&c<=0&&B<0){c=LF(c,B),d=B;break}}}return r[0]=c,r[1]=d,r})})}var js=function(){function t(e){this.data=e.data||(e.sourceFormat===Zt?{}:[]),this.sourceFormat=e.sourceFormat||jB,this.seriesLayoutBy=e.seriesLayoutBy||$t,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var A=this.dimensionsDefine=e.dimensionsDefine;if(A)for(var r=0;r<A.length;r++){var n=A[r];n.type==null&&t0(this,r)===zA.Must&&(n.type="ordinal")}}return t}();function Gc(t){return t instanceof js}function zc(t,e,A){A=A||y0(t);var r=e.seriesLayoutBy,n=SS(t,A,r,e.sourceHeader,e.dimensions),i=new js({data:t,sourceFormat:A,seriesLayoutBy:r,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:Ee(e)});return i}function Wc(t){return new js({data:t,sourceFormat:xA(t)?Jt:it})}function US(t){return new js({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Ee(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function y0(t){var e=jB;if(xA(t))e=Jt;else if(re(t)){t.length===0&&(e=PA);for(var A=0,r=t.length;A<r;A++){var n=t[A];if(n!=null){if(re(n)||xA(n)){e=PA;break}else if(fe(n)){e=Mt;break}}}}else if(fe(t)){for(var i in t)if(kr(t,i)&&DA(t[i])){e=Zt;break}}return e}function SS(t,e,A,r,n){var i,a;if(!t)return{dimensionsDefine:m0(n),startIndex:a,dimensionsDetectedCount:i};if(e===PA){var o=t;r==="auto"||r==null?w0(function(l){l!=null&&l!=="-"&&(ae(l)?a==null&&(a=1):a=0)},A,o,10):a=ze(r)?r:r?1:0,!n&&a===1&&(n=[],w0(function(l,u){n[u]=l!=null?l+"":""},A,o,1/0)),i=n?n.length:A===Bi?o.length:o[0]?o[0].length:null}else if(e===Mt)n||(n=bS(t));else if(e===Zt)n||(n=[],S(t,function(l,u){n.push(u)}));else if(e===it){var s=aa(t[0]);i=re(s)&&s.length||1}else e===Jt&&process.env.NODE_ENV!=="production"&&Ce(!!n,"dimensions must be given if data is TypedArray.");return{startIndex:a,dimensionsDefine:m0(n),dimensionsDetectedCount:i}}function bS(t){for(var e=0,A;e<t.length&&!(A=t[e++]););if(A)return Ge(A)}function m0(t){if(t){var e=Be();return he(t,function(A,r){A=fe(A)?A:{name:A};var n={name:A.name,displayName:A.displayName,type:A.type};if(n.name==null)return n;n.name+="",n.displayName==null&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function w0(t,e,A,r){if(e===Bi)for(var n=0;n<A.length&&n<r;n++)t(A[n]?A[n][0]:null,n);else for(var i=A[0]||[],n=0;n<i.length&&n<r;n++)t(i[n],n)}function C0(t){var e=t.sourceFormat;return e===Mt||e===Zt}var dn,gn,pn,_0,Q0,F0=function(){function t(e,A){var r=Gc(e)?e:Wc(e);this._source=r;var n=this._data=r.data;if(r.sourceFormat===Jt){if(process.env.NODE_ENV!=="production"&&A==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=A,this._data=n}Q0(this,n,r)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(e,A){},t.prototype.appendData=function(e){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var e;Q0=function(a,o,s){var l=s.sourceFormat,u=s.seriesLayoutBy,f=s.startIndex,c=s.dimensionsDefine,h=_0[Xc(l,u)];if(process.env.NODE_ENV!=="production"&&Ce(h,"Invalide sourceFormat: "+l),Y(a,h),l===Jt)a.getItem=A,a.count=n,a.fillStorage=r;else{var v=E0(l,u);a.getItem=pe(v,null,o,f,c);var d=S0(l,u);a.count=pe(d,null,o,f,c)}};var A=function(a,o){a=a-this._offset,o=o||[];for(var s=this._data,l=this._dimSize,u=l*a,f=0;f<l;f++)o[f]=s[u+f];return o},r=function(a,o,s,l){for(var u=this._data,f=this._dimSize,c=0;c<f;c++){for(var h=l[c],v=h[0]==null?1/0:h[0],d=h[1]==null?-1/0:h[1],g=o-a,p=s[c],B=0;B<g;B++){var y=u[B*f+c];p[a+B]=y,y<v&&(v=y),y>d&&(d=y)}h[0]=v,h[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};_0=(e={},e[PA+"_"+$t]={pure:!0,appendData:i},e[PA+"_"+Bi]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[Mt]={pure:!0,appendData:i},e[Zt]={pure:!0,appendData:function(a){var o=this._data;S(a,function(s,l){for(var u=o[l]||(o[l]=[]),f=0;f<(s||[]).length;f++)u.push(s[f])})}},e[it]={appendData:i},e[Jt]={persistent:!1,pure:!0,appendData:function(a){process.env.NODE_ENV!=="production"&&Ce(xA(a),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(a){for(var o=0;o<a.length;o++)this._data.push(a[o])}}(),t}(),x0=function(t,e,A,r){return t[r]},IS=(dn={},dn[PA+"_"+$t]=function(t,e,A,r){return t[r+e]},dn[PA+"_"+Bi]=function(t,e,A,r,n){r+=e;for(var i=n||[],a=t,o=0;o<a.length;o++){var s=a[o];i[o]=s?s[r]:null}return i},dn[Mt]=x0,dn[Zt]=function(t,e,A,r,n){for(var i=n||[],a=0;a<A.length;a++){var o=A[a].name;if(process.env.NODE_ENV!=="production"&&o==null)throw new Error;var s=t[o];i[a]=s?s[r]:null}return i},dn[it]=x0,dn);function E0(t,e){var A=IS[Xc(t,e)];return process.env.NODE_ENV!=="production"&&Ce(A,'Do not support get item on "'+t+'", "'+e+'".'),A}var U0=function(t,e,A){return t.length},TS=(gn={},gn[PA+"_"+$t]=function(t,e,A){return Math.max(0,t.length-e)},gn[PA+"_"+Bi]=function(t,e,A){var r=t[0];return r?Math.max(0,r.length-e):0},gn[Mt]=U0,gn[Zt]=function(t,e,A){var r=A[0].name;if(process.env.NODE_ENV!=="production"&&r==null)throw new Error;var n=t[r];return n?n.length:0},gn[it]=U0,gn);function S0(t,e){var A=TS[Xc(t,e)];return process.env.NODE_ENV!=="production"&&Ce(A,'Do not support count on "'+t+'", "'+e+'".'),A}var Yc=function(t,e,A){return t[e]},DS=(pn={},pn[PA]=Yc,pn[Mt]=function(t,e,A){return t[A]},pn[Zt]=Yc,pn[it]=function(t,e,A){var r=aa(t);return r instanceof Array?r[e]:r},pn[Jt]=Yc,pn);function b0(t){var e=DS[t];return process.env.NODE_ENV!=="production"&&Ce(e,'Do not support get value on "'+t+'".'),e}function Xc(t,e){return t===PA?t+"_"+e:t}function yi(t,e,A){if(t){var r=t.getRawDataItem(e);if(r!=null){var n=t.getStore(),i=n.getSource().sourceFormat;if(A!=null){var a=t.getDimensionIndex(A),o=n.getDimensionProperty(a);return b0(i)(r,a,o)}else{var s=r;return i===it&&(s=aa(r)),s}}}}var LS=/\{@(.+?)\}/g,MS=function(){function t(){}return t.prototype.getDataParams=function(e,A){var r=this.getData(A),n=this.getRawValue(e,A),i=r.getRawIndex(e),a=r.getName(e),o=r.getRawDataItem(e),s=r.getItemVisual(e,"style"),l=s&&s[r.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,f=this.mainType,c=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:a,dataIndex:i,data:o,dataType:A,value:n,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(e,A,r,n,i,a){A=A||"normal";var o=this.getData(r),s=this.getDataParams(e,r);if(a&&(s.value=a.interpolatedValue),n!=null&&re(s.value)&&(s.value=s.value[n]),!i){var l=o.getItemModel(e);i=l.get(A==="normal"?["label","formatter"]:[A,"label","formatter"])}if(de(i))return s.status=A,s.dimensionIndex=n,i(s);if(ae(i)){var u=$B(i,s);return u.replace(LS,function(f,c){var h=c.length,v=c;v.charAt(0)==="["&&v.charAt(h-1)==="]"&&(v=+v.slice(1,h-1),process.env.NODE_ENV!=="production"&&isNaN(v)&&pA("Invalide label formatter: @"+c+", only support @[0], @[1], @[2], ..."));var d=yi(o,e,v);if(a&&re(a.interpolatedValue)){var g=o.getDimensionIndex(v);g>=0&&(d=a.interpolatedValue[g])}return d!=null?d+"":""})}},t.prototype.getRawValue=function(e,A){return yi(this.getData(A),e)},t.prototype.formatTooltip=function(e,A,r){},t}();function I0(t){var e,A;return fe(t)?t.type?A=t:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+as(t)):e=t,{text:e,frag:A}}function Ta(t){return new HS(t)}var HS=function(){function t(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return t.prototype.perform=function(e){var A=this._upstream,r=e&&e.skip;if(this._dirty&&A){var n=this.context;n.data=n.outputData=A.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!r&&(i=this._plan(this.context));var a=u(this._modBy),o=this._modDataCount||0,s=u(e&&e.modBy),l=e&&e.modDataCount||0;(a!==s||o!==l)&&(i="reset");function u(B){return!(B>=1)&&(B=1),B}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=s,this._modDataCount=l;var c=e&&e.step;if(A?(process.env.NODE_ENV!=="production"&&Ce(A._outputDueEnd!=null),this._dueEnd=A._outputDueEnd):(process.env.NODE_ENV!=="production"&&Ce(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var h=this._dueIndex,v=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!r&&(f||h<v)){var d=this._progress;if(re(d))for(var g=0;g<d.length;g++)this._doProgress(d[g],h,v,s,l);else this._doProgress(d,h,v,s,l)}this._dueIndex=v;var p=this._settedOutputEnd!=null?this._settedOutputEnd:v;process.env.NODE_ENV!=="production"&&Ce(p>=this._outputDueEnd),this._outputDueEnd=p}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(e,A,r,n,i){T0.reset(A,r,n,i),this._callingProgress=e,this._callingProgress({start:A,end:r,count:r-A,next:T0.next},this.context)},t.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var A,r;!e&&this._reset&&(A=this._reset(this.context),A&&A.progress&&(r=A.forceFirstProgress,A=A.progress),re(A)&&!A.length&&(A=null)),this._progress=A,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),r},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&Ce(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t}(),T0=function(){var t,e,A,r,n,i={reset:function(s,l,u,f){e=s,t=l,A=u,r=f,n=Math.ceil(r/A),i.next=A>1&&r>0?o:a}};return i;function a(){return e<t?e++:null}function o(){var s=e%n*A+Math.ceil(e/n),l=e>=t?null:s<r?s:e;return e++,l}}();function el(t,e){var A=e&&e.type;return A==="ordinal"?t:(A==="time"&&!ze(t)&&t!=null&&t!=="-"&&(t=+zt(t)),t==null||t===""?NaN:Number(t))}Be({number:function(t){return parseFloat(t)},time:function(t){return+zt(t)},trim:function(t){return ae(t)?Et(t):t}});var OS=function(){function t(e,A){var r=e==="desc";this._resultLT=r?1:-1,A==null&&(A=r?"min":"max"),this._incomparable=A==="min"?-1/0:1/0}return t.prototype.evaluate=function(e,A){var r=ze(e)?e:ns(e),n=ze(A)?A:ns(A),i=isNaN(r),a=isNaN(n);if(i&&(r=this._incomparable),a&&(n=this._incomparable),i&&a){var o=ae(e),s=ae(A);o&&(r=s?e:0),s&&(n=o?A:0)}return r<n?this._resultLT:r>n?-this._resultLT:0},t}(),RS=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(e){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(e){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(e,A){},t.prototype.retrieveValueFromItem=function(e,A){},t.prototype.convertValue=function(e,A){return el(e,A)},t}();function PS(t,e){var A=new RS,r=t.data,n=A.sourceFormat=t.sourceFormat,i=t.startIndex,a="";t.seriesLayoutBy!==$t&&(process.env.NODE_ENV!=="production"&&(a='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),MA(a));var o=[],s={},l=t.dimensionsDefine;if(l)S(l,function(d,g){var p=d.name,B={index:g,name:p,displayName:d.displayName};if(o.push(B),p!=null){var y="";kr(s,p)&&(process.env.NODE_ENV!=="production"&&(y='dimension name "'+p+'" duplicated.'),MA(y)),s[p]=B}});else for(var u=0;u<t.dimensionsDetectedCount;u++)o.push({index:u});var f=E0(n,$t);e.__isBuiltIn&&(A.getRawDataItem=function(d){return f(r,i,o,d)},A.getRawData=pe(NS,null,t)),A.cloneRawData=pe(kS,null,t);var c=S0(n,$t);A.count=pe(c,null,r,i,o);var h=b0(n);A.retrieveValue=function(d,g){var p=f(r,i,o,d);return v(p,g)};var v=A.retrieveValueFromItem=function(d,g){if(d!=null){var p=o[g];if(p)return h(d,g,p.name)}};return A.getDimensionInfo=pe(KS,null,o,s),A.cloneAllDimensionInfo=pe(VS,null,o),A}function NS(t){var e=t.sourceFormat;if(!Zc(e)){var A="";process.env.NODE_ENV!=="production"&&(A="`getRawData` is not supported in source format "+e),MA(A)}return t.data}function kS(t){var e=t.sourceFormat,A=t.data;if(!Zc(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`cloneRawData` is not supported in source format "+e),MA(r)}if(e===PA){for(var n=[],i=0,a=A.length;i<a;i++)n.push(A[i].slice());return n}else if(e===Mt){for(var n=[],i=0,a=A.length;i<a;i++)n.push(Y({},A[i]));return n}}function KS(t,e,A){if(A!=null){if(ze(A)||!isNaN(A)&&!kr(e,A))return t[A];if(kr(e,A))return e[A]}}function VS(t){return Ee(t)}var D0=Be();function GS(t){t=Ee(t);var e=t.type,A="";e||(process.env.NODE_ENV!=="production"&&(A="Must have a `type` when `registerTransform`."),MA(A));var r=e.split(":");r.length!==2&&(process.env.NODE_ENV!=="production"&&(A='Name must include namespace like "ns:regression".'),MA(A));var n=!1;r[0]==="echarts"&&(e=r[1],n=!0),t.__isBuiltIn=n,D0.set(e,t)}function zS(t,e,A){var r=UA(t),n=r.length,i="";n||(process.env.NODE_ENV!=="production"&&(i="If `transform` declared, it should at least contain one transform."),MA(i));for(var a=0,o=n;a<o;a++){var s=r[a];e=WS(s,e,A,n===1?null:a),a!==o-1&&(e.length=Math.max(e.length,1))}return e}function WS(t,e,A,r){var n="";e.length||(process.env.NODE_ENV!=="production"&&(n="Must have at least one upstream dataset."),MA(n)),fe(t)||(process.env.NODE_ENV!=="production"&&(n="transform declaration must be an object rather than "+typeof t+"."),MA(n));var i=t.type,a=D0.get(i);a||(process.env.NODE_ENV!=="production"&&(n='Can not find transform on type "'+i+'".'),MA(n));var o=he(e,function(u){return PS(u,a)}),s=UA(a.transform({upstream:o[0],upstreamList:o,config:Ee(t.config)}));if(process.env.NODE_ENV!=="production"&&t.print){var l=he(s,function(u){var f=r!=null?" === pipe index: "+r:"";return["=== dataset index: "+A.datasetIndex+f+" ===","- transform result data:",as(u.data),"- transform result dimensions:",as(u.dimensions)].join(`
31
+ echarts.use([`+r+"]);"),Ul[r]=!0)}})}var Gh=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.init=function(t,r,n,i,a,o){i=i||{},this.option=null,this._theme=new je(i),this._locale=new je(a),this._optionManager=o},e.prototype.setOption=function(t,r,n){process.env.NODE_ENV!=="production"&&(ce(t!=null,"option is null/undefined"),ce(t[Kh]!==Am,"please use chart.getOption()"));var i=im(r);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,r){return this._resetOption(t,im(r))},e.prototype._resetOption=function(t,r){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var a=i.mountOption(t==="recreate");process.env.NODE_ENV!=="production"&&aU(a),!this.option||t==="recreate"?tm(this,a):(this.restoreData(),this._mergeOption(a,r)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,r))}if(!t||t==="recreate"||t==="media"){var s=i.getMediaOption(this);s.length&&b(s,function(l){n=!0,this._mergeOption(l,r)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,r){var n=this.option,i=this._componentsMap,a=this._componentsCount,o=[],s=we(),l=r&&r.replaceMergeMainTypeMap;ZS(this),b(t,function(f,c){f!=null&&(He.hasClass(c)?c&&(o.push(c),s.set(c,!0)):n[c]=n[c]==null?Se(f):Me(n[c],f,!0))}),l&&l.each(function(f,c){He.hasClass(c)&&!s.get(c)&&(o.push(c),s.set(c,!0))}),He.topologicalTravel(o,He.getAllClassMainTypes(),u,this);function u(f){var c=eU(this,f,Dt(t[f])),h=i.get(f),v=h?l&&l.get(f)?"replaceMerge":"normalMerge":"replaceAll",d=OF(h,c,v);GF(d,f,He),n[f]=null,i.set(f,null),a.set(f,0);var g=[],p=[],B=0,m,y;b(d,function(_,C){var Q=_.existing,x=_.newOption;if(!x)Q&&(Q.mergeOption({},this),Q.optionUpdated({},!1));else{var F=f==="series",S=He.getClass(f,_.keyInfo.subType,!F);if(!S){if(process.env.NODE_ENV!=="production"){var E=_.keyInfo.subType,I=iU[E];Ul[E]||(Ul[E]=!0,Ke(I?"Series "+E+` is used but not imported.
32
+ import { `+I+` } from 'echarts/charts';
33
+ echarts.use([`+I+"]);":"Unknown series "+E))}return}if(f==="tooltip"){if(m){process.env.NODE_ENV!=="production"&&(y||(Qt("Currently only one tooltip component is allowed."),y=!0));return}m=!0}if(Q&&Q.constructor===S)Q.name=_.keyInfo.name,Q.mergeOption(x,this),Q.optionUpdated(x,!1);else{var U=W({componentIndex:C},_.keyInfo);Q=new S(x,this,this,U),W(Q,U),_.brandNew&&(Q.__requireNewView=!0),Q.init(x,this,this),Q.optionUpdated(null,!0)}}Q?(g.push(Q.option),p.push(Q),B++):(g.push(void 0),p.push(void 0))},this),n[f]=g,i.set(f,p),a.set(f,B),f==="series"&&Sl(this)}this._seriesIndices||Sl(this)},e.prototype.getOption=function(){var t=Se(this.option);return b(t,function(r,n){if(He.hasClass(n)){for(var i=Dt(r),a=i.length,o=!1,s=a-1;s>=0;s--)i[s]&&!_i(i[s])?o=!0:(i[s]=null,!o&&a--);i.length=a,t[n]=i}}),delete t[Kh],t},e.prototype.setTheme=function(t){this._theme=new je(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,r){var n=this._componentsMap.get(t);if(n){var i=n[r||0];if(i)return i;if(r==null){for(var a=0;a<n.length;a++)if(n[a])return n[a]}}},e.prototype.queryComponents=function(t){var r=t.mainType;if(!r)return[];var n=t.index,i=t.id,a=t.name,o=this._componentsMap.get(r);if(!o||!o.length)return[];var s;return n!=null?(s=[],b(Dt(n),function(l){o[l]&&s.push(o[l])})):i!=null?s=rm("id",i,o):a!=null?s=rm("name",a,o):s=rt(o,function(l){return!!l}),nm(s,t)},e.prototype.findComponents=function(t){var r=t.query,n=t.mainType,i=o(r),a=i?this.queryComponents(i):rt(this._componentsMap.get(n),function(l){return!!l});return s(nm(a,t));function o(l){var u=n+"Index",f=n+"Id",c=n+"Name";return l&&(l[u]!=null||l[f]!=null||l[c]!=null)?{mainType:n,index:l[u],id:l[f],name:l[c]}:null}function s(l){return t.filter?rt(l,t.filter):l}},e.prototype.eachComponent=function(t,r,n){var i=this._componentsMap;if(me(t)){var a=r,o=t;i.each(function(f,c){for(var h=0;f&&h<f.length;h++){var v=f[h];v&&o.call(a,c,v,v.componentIndex)}})}else for(var s=ue(t)?i.get(t):ve(t)?this.findComponents(t):null,l=0;s&&l<s.length;l++){var u=s[l];u&&r.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var r=kA(t,null);return rt(this._componentsMap.get("series"),function(n){return!!n&&r!=null&&n.name===r})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return rt(this._componentsMap.get("series"),function(r){return!!r&&r.subType===t})},e.prototype.getSeries=function(){return rt(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,r){Xa(this),b(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(r,i,n)},this)},e.prototype.eachRawSeries=function(t,r){b(this._componentsMap.get("series"),function(n){n&&t.call(r,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,r,n){Xa(this),b(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===t&&r.call(n,a,i)},this)},e.prototype.eachRawSeriesByType=function(t,r,n){return b(this.getSeriesByType(t),r,n)},e.prototype.isSeriesFiltered=function(t){return Xa(this),this._seriesIndicesMap.get(t.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,r){Xa(this);var n=[];b(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];t.call(r,a,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=we(n)},e.prototype.restoreData=function(t){Sl(this);var r=this._componentsMap,n=[];r.each(function(i,a){He.hasClass(a)&&n.push(a)}),He.topologicalTravel(n,He.getAllClassMainTypes(),function(i){b(r.get(i),function(a){a&&(i!=="series"||!oU(a,t))&&a.restoreData()})})},e.internalField=(function(){Sl=function(t){var r=t._seriesIndices=[];b(t._componentsMap.get("series"),function(n){n&&r.push(n.componentIndex)}),t._seriesIndicesMap=we(r)},Xa=function(t){if(process.env.NODE_ENV!=="production"&&!t._seriesIndices)throw new Error("Option should contains series.")},tm=function(t,r){t.option={},t.option[Kh]=Am,t._componentsMap=we({series:[]}),t._componentsCount=we();var n=r.aria;ve(n)&&n.enabled==null&&(n.enabled=!0),sU(r,t._theme.option),Me(r,XS,!1),t._mergeOption(r,null)}})(),e})(je);function oU(A,e){if(e){var t=e.seriesIndex,r=e.seriesId,n=e.seriesName;return t!=null&&A.componentIndex!==t||r!=null&&A.id!==r||n!=null&&A.name!==n}}function sU(A,e){var t=A.color&&!A.colorLayer;b(e,function(r,n){n==="colorLayer"&&t||n==="color"&&A.color||He.hasClass(n)||(typeof r=="object"?A[n]=A[n]?Me(A[n],r,!1):Se(r):A[n]==null&&(A[n]=r))})}function rm(A,e,t){if(ie(e)){var r=we();return b(e,function(i){if(i!=null){var a=kA(i,null);a!=null&&r.set(i,!0)}}),rt(t,function(i){return i&&r.get(i[A])})}else{var n=kA(e,null);return rt(t,function(i){return i&&n!=null&&i[A]===n})}}function nm(A,e){return e.hasOwnProperty("subType")?rt(A,function(t){return t&&t.subType===e.subType}):A}function im(A){var e=we();return A&&b(Dt(A.replaceMerge),function(t){process.env.NODE_ENV!=="production"&&ce(He.hasClass(t),'"'+t+'" is not valid component main type in "replaceMerge"'),e.set(t,!0)}),{replaceMergeMainTypeMap:e}}DA(Gh,Vh);var lU=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],am=(function(){function A(e){b(lU,function(t){this[t]=ye(e[t],e)},this)}return A})(),uU=/^(min|max)?(.+)$/,fU=(function(){function A(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return A.prototype.setOption=function(e,t,r){e&&(b(Dt(e.series),function(a){a&&a.data&&It(a.data)&&Uf(a.data)}),b(Dt(e.dataset),function(a){a&&a.source&&It(a.source)&&Uf(a.source)})),e=Se(e);var n=this._optionBackup,i=cU(e,t,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},A.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Se(e?t.baseOption:this._newBaseOption)},A.prototype.getTimelineOption=function(e){var t,r=this._timelineOptions;if(r.length){var n=e.getComponent("timeline");n&&(t=Se(r[n.getCurrentIndex()]))}return t},A.prototype.getMediaOption=function(e){var t=this._api.getWidth(),r=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,a=[],o=[];if(!n.length&&!i)return o;for(var s=0,l=n.length;s<l;s++)hU(n[s].query,t,r)&&a.push(s);return!a.length&&i&&(a=[-1]),a.length&&!dU(a,this._currentMediaIndices)&&(o=Be(a,function(u){return Se(u===-1?i.option:n[u].option)})),this._currentMediaIndices=a,o},A})();function cU(A,e,t){var r=[],n,i,a=A.baseOption,o=A.timeline,s=A.options,l=A.media,u=!!A.media,f=!!(s||o||a&&a.timeline);a?(i=a,i.timeline||(i.timeline=o)):((f||u)&&(A.options=A.media=null),i=A),u&&(ie(l)?b(l,function(h){process.env.NODE_ENV!=="production"&&h&&!h.option&&ve(h.query)&&ve(h.query.option)&&Ke("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),h&&h.option&&(h.query?r.push(h):n||(n=h))}):process.env.NODE_ENV!=="production"&&Ke("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),c(i),b(s,function(h){return c(h)}),b(r,function(h){return c(h.option)});function c(h){b(e,function(v){v(h,t)})}return{baseOption:i,timelineOptions:s||[],mediaDefault:n,mediaList:r}}function hU(A,e,t){var r={width:e,height:t,aspectratio:e/t},n=!0;return b(A,function(i,a){var o=a.match(uU);if(!(!o||!o[1]||!o[2])){var s=o[1],l=o[2].toLowerCase();vU(r[l],i,s)||(n=!1)}}),n}function vU(A,e,t){return t==="min"?A>=e:t==="max"?A<=e:A===e}function dU(A,e){return A.join(",")===e.join(",")}var fA=b,Za=ve,om=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function zh(A){var e=A&&A.itemStyle;if(e)for(var t=0,r=om.length;t<r;t++){var n=om[t],i=e.normal,a=e.emphasis;i&&i[n]&&(process.env.NODE_ENV!=="production"&&dt("itemStyle.normal."+n,n),A[n]=A[n]||{},A[n].normal?Me(A[n].normal,i[n]):A[n].normal=i[n],i[n]=null),a&&a[n]&&(process.env.NODE_ENV!=="production"&&dt("itemStyle.emphasis."+n,"emphasis."+n),A[n]=A[n]||{},A[n].emphasis?Me(A[n].emphasis,a[n]):A[n].emphasis=a[n],a[n]=null)}}function bt(A,e,t){if(A&&A[e]&&(A[e].normal||A[e].emphasis)){var r=A[e].normal,n=A[e].emphasis;r&&(process.env.NODE_ENV!=="production"&&PA("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),t?(A[e].normal=A[e].emphasis=null,Oe(A[e],r)):A[e]=r),n&&(process.env.NODE_ENV!=="production"&&PA(e+".emphasis has been changed to emphasis."+e+" since 4.0"),A.emphasis=A.emphasis||{},A.emphasis[e]=n,n.focus&&(A.emphasis.focus=n.focus),n.blurScope&&(A.emphasis.blurScope=n.blurScope))}}function Ja(A){bt(A,"itemStyle"),bt(A,"lineStyle"),bt(A,"areaStyle"),bt(A,"label"),bt(A,"labelLine"),bt(A,"upperLabel"),bt(A,"edgeLabel")}function it(A,e){var t=Za(A)&&A[e],r=Za(t)&&t.textStyle;if(r){process.env.NODE_ENV!=="production"&&PA("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var n=0,i=Zg.length;n<i;n++){var a=Zg[n];r.hasOwnProperty(a)&&(t[a]=r[a])}}}function cA(A){A&&(Ja(A),it(A,"label"),A.emphasis&&it(A.emphasis,"label"))}function pU(A){if(Za(A)){zh(A),Ja(A),it(A,"label"),it(A,"upperLabel"),it(A,"edgeLabel"),A.emphasis&&(it(A.emphasis,"label"),it(A.emphasis,"upperLabel"),it(A.emphasis,"edgeLabel"));var e=A.markPoint;e&&(zh(e),cA(e));var t=A.markLine;t&&(zh(t),cA(t));var r=A.markArea;r&&cA(r);var n=A.data;if(A.type==="graph"){n=n||A.nodes;var i=A.links||A.edges;if(i&&!It(i))for(var a=0;a<i.length;a++)cA(i[a]);b(A.categories,function(l){Ja(l)})}if(n&&!It(n))for(var a=0;a<n.length;a++)cA(n[a]);if(e=A.markPoint,e&&e.data)for(var o=e.data,a=0;a<o.length;a++)cA(o[a]);if(t=A.markLine,t&&t.data)for(var s=t.data,a=0;a<s.length;a++)ie(s[a])?(cA(s[a][0]),cA(s[a][1])):cA(s[a]);A.type==="gauge"?(it(A,"axisLabel"),it(A,"title"),it(A,"detail")):A.type==="treemap"?(bt(A.breadcrumb,"itemStyle"),b(A.levels,function(l){Ja(l)})):A.type==="tree"&&Ja(A.leaves)}}function fr(A){return ie(A)?A:A?[A]:[]}function sm(A){return(ie(A)?A[0]:A)||{}}function gU(A,e){fA(fr(A.series),function(r){Za(r)&&pU(r)});var t=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&t.push("valueAxis","categoryAxis","logAxis","timeAxis"),fA(t,function(r){fA(fr(A[r]),function(n){n&&(it(n,"axisLabel"),it(n.axisPointer,"label"))})}),fA(fr(A.parallel),function(r){var n=r&&r.parallelAxisDefault;it(n,"axisLabel"),it(n&&n.axisPointer,"label")}),fA(fr(A.calendar),function(r){bt(r,"itemStyle"),it(r,"dayLabel"),it(r,"monthLabel"),it(r,"yearLabel")}),fA(fr(A.radar),function(r){it(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name,process.env.NODE_ENV!=="production"&&PA("name property in radar component has been changed to axisName")),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap,process.env.NODE_ENV!=="production"&&PA("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&fA(r.indicator,function(n){n.text&&dt("text","name","radar.indicator")})}),fA(fr(A.geo),function(r){Za(r)&&(cA(r),fA(fr(r.regions),function(n){cA(n)}))}),fA(fr(A.timeline),function(r){cA(r),bt(r,"label"),bt(r,"itemStyle"),bt(r,"controlStyle",!0);var n=r.data;ie(n)&&b(n,function(i){ve(i)&&(bt(i,"label"),bt(i,"itemStyle"))})}),fA(fr(A.toolbox),function(r){bt(r,"iconStyle"),fA(r.feature,function(n){bt(n,"iconStyle")})}),it(sm(A.axisPointer),"label"),it(sm(A.tooltip).axisPointer,"label")}function BU(A,e){for(var t=e.split(","),r=A,n=0;n<t.length&&(r=r&&r[t[n]],r!=null);n++);return r}function mU(A,e,t,r){for(var n=e.split(","),i=A,a,o=0;o<n.length-1;o++)a=n[o],i[a]==null&&(i[a]={}),i=i[a];i[n[o]]==null&&(i[n[o]]=t)}function lm(A){A&&b(yU,function(e){e[0]in A&&!(e[1]in A)&&(A[e[1]]=A[e[0]])})}var yU=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],wU=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Wh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function qa(A){var e=A&&A.itemStyle;if(e)for(var t=0;t<Wh.length;t++){var r=Wh[t][1],n=Wh[t][0];e[r]!=null&&(e[n]=e[r],process.env.NODE_ENV!=="production"&&dt(r,n))}}function um(A){A&&A.alignTo==="edge"&&A.margin!=null&&A.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&dt("label.margin","label.edgeDistance","pie"),A.edgeDistance=A.margin)}function fm(A){A&&A.downplay&&!A.blur&&(A.blur=A.downplay,process.env.NODE_ENV!=="production"&&dt("downplay","blur","sunburst"))}function CU(A){A&&A.focusNodeAdjacency!=null&&(A.emphasis=A.emphasis||{},A.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&dt("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),A.emphasis.focus="adjacency"))}function cm(A,e){if(A)for(var t=0;t<A.length;t++)e(A[t]),A[t]&&cm(A[t].children,e)}function hm(A,e){gU(A,e),A.series=Dt(A.series),b(A.series,function(t){if(ve(t)){var r=t.type;if(r==="line")t.clipOverflow!=null&&(t.clip=t.clipOverflow,process.env.NODE_ENV!=="production"&&dt("clipOverflow","clip","line"));else if(r==="pie"||r==="gauge"){t.clockWise!=null&&(t.clockwise=t.clockWise,process.env.NODE_ENV!=="production"&&dt("clockWise","clockwise")),um(t.label);var n=t.data;if(n&&!It(n))for(var i=0;i<n.length;i++)um(n[i]);t.hoverOffset!=null&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&dt("hoverOffset","emphasis.scaleSize"),t.emphasis.scaleSize=t.hoverOffset))}else if(r==="gauge"){var a=BU(t,"pointer.color");a!=null&&mU(t,"itemStyle.color",a)}else if(r==="bar"){qa(t),qa(t.backgroundStyle),qa(t.emphasis);var n=t.data;if(n&&!It(n))for(var i=0;i<n.length;i++)typeof n[i]=="object"&&(qa(n[i]),qa(n[i]&&n[i].emphasis))}else if(r==="sunburst"){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o,process.env.NODE_ENV!=="production"&&dt("highlightPolicy","emphasis.focus","sunburst"))),fm(t),cm(t.data,fm)}else r==="graph"||r==="sankey"?CU(t):r==="map"&&(t.mapType&&!t.map&&(process.env.NODE_ENV!=="production"&&dt("mapType","map","map"),t.map=t.mapType),t.mapLocation&&(process.env.NODE_ENV!=="production"&&PA("`mapLocation` is not used anymore."),Oe(t,t.mapLocation)));t.hoverAnimation!=null&&(t.emphasis=t.emphasis||{},t.emphasis&&t.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&dt("hoverAnimation","emphasis.scale"),t.emphasis.scale=t.hoverAnimation)),lm(t)}}),A.dataRange&&(A.visualMap=A.dataRange),b(wU,function(t){var r=A[t];r&&(ie(r)||(r=[r]),b(r,function(n){lm(n)}))})}function _U(A){var e=we();A.eachSeries(function(t){var r=t.get("stack");if(r){var n=e.get(r)||e.set(r,[]),i=t.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;n.push(a)}}),e.each(function(t){if(t.length!==0){var r=t[0].seriesModel,n=r.get("stackOrder")||"seriesAsc";n==="seriesDesc"&&t.reverse(),b(t,function(i,a){i.data.setCalculationInfo("stackedOnSeries",a>0?t[a-1].seriesModel:null)}),QU(t)}})}function QU(A){b(A,function(e,t){var r=[],n=[NaN,NaN],i=[e.stackResultDimension,e.stackedOverDimension],a=e.data,o=e.isStackedByIndex,s=e.seriesModel.get("stackStrategy")||"samesign";a.modify(i,function(l,u,f){var c=a.get(e.stackedDimension,f);if(isNaN(c))return n;var h,v;o?v=a.getRawIndex(f):h=a.get(e.stackedByDimension,f);for(var d=NaN,g=t-1;g>=0;g--){var p=A[g];if(o||(v=p.data.rawIndexOf(p.stackedByDimension,h)),v>=0){var B=p.data.getByRawIndex(p.stackResultDimension,v);if(s==="all"||s==="positive"&&B>0||s==="negative"&&B<0||s==="samesign"&&c>=0&&B>0||s==="samesign"&&c<=0&&B<0){c=UF(c,B),d=B;break}}}return r[0]=c,r[1]=d,r})})}var Il=(function(){function A(e){this.data=e.data||(e.sourceFormat===XA?{}:[]),this.sourceFormat=e.sourceFormat||JB,this.seriesLayoutBy=e.seriesLayoutBy||ZA,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var r=0;r<t.length;r++){var n=t[r];n.type==null&&jB(this,r)===qt.Must&&(n.type="ordinal")}}return A})();function Yh(A){return A instanceof Il}function Xh(A,e,t){t=t||dm(A);var r=e.seriesLayoutBy,n=FU(A,t,r,e.sourceHeader,e.dimensions),i=new Il({data:A,sourceFormat:t,seriesLayoutBy:r,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:Se(e)});return i}function vm(A){return new Il({data:A,sourceFormat:It(A)?ur:Jt})}function xU(A){return new Il({data:A.data,sourceFormat:A.sourceFormat,seriesLayoutBy:A.seriesLayoutBy,dimensionsDefine:Se(A.dimensionsDefine),startIndex:A.startIndex,dimensionsDetectedCount:A.dimensionsDetectedCount})}function dm(A){var e=JB;if(It(A))e=ur;else if(ie(A)){A.length===0&&(e=Et);for(var t=0,r=A.length;t<r;t++){var n=A[t];if(n!=null){if(ie(n)||It(n)){e=Et;break}else if(ve(n)){e=QA;break}}}}else if(ve(A)){for(var i in A)if(mA(A,i)&&Pt(A[i])){e=XA;break}}return e}function FU(A,e,t,r,n){var i,a;if(!A)return{dimensionsDefine:pm(n),startIndex:a,dimensionsDetectedCount:i};if(e===Et){var o=A;r==="auto"||r==null?gm(function(l){l!=null&&l!=="-"&&(ue(l)?a==null&&(a=1):a=0)},t,o,10):a=We(r)?r:r?1:0,!n&&a===1&&(n=[],gm(function(l,u){n[u]=l!=null?l+"":""},t,o,1/0)),i=n?n.length:t===Ln?o.length:o[0]?o[0].length:null}else if(e===QA)n||(n=EU(A));else if(e===XA)n||(n=[],b(A,function(l,u){n.push(u)}));else if(e===Jt){var s=Sa(A[0]);i=ie(s)&&s.length||1}else e===ur&&process.env.NODE_ENV!=="production"&&ce(!!n,"dimensions must be given if data is TypedArray.");return{startIndex:a,dimensionsDefine:pm(n),dimensionsDetectedCount:i}}function EU(A){for(var e=0,t;e<A.length&&!(t=A[e++]););if(t)return Ye(t)}function pm(A){if(A){var e=we();return Be(A,function(t,r){t=ve(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(n.name==null)return n;n.name+="",n.displayName==null&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function gm(A,e,t,r){if(e===Ln)for(var n=0;n<t.length&&n<r;n++)A(t[n]?t[n][0]:null,n);else for(var i=t[0]||[],n=0;n<i.length&&n<r;n++)A(i[n],n)}function Bm(A){var e=A.sourceFormat;return e===QA||e===XA}var Mn,Hn,On,Rn,mm,ym,wm=(function(){function A(e,t){var r=Yh(e)?e:vm(e);this._source=r;var n=this._data=r.data,i=r.sourceFormat,a=r.seriesLayoutBy;if(i===ur){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=t,this._data=n}if(process.env.NODE_ENV!=="production"){var o=bU[Dl(i,a)];o&&o(n,r.dimensionsDefine)}ym(this,n,r)}return A.prototype.getSource=function(){return this._source},A.prototype.count=function(){return 0},A.prototype.getItem=function(e,t){},A.prototype.appendData=function(e){},A.prototype.clean=function(){},A.protoInitialize=(function(){var e=A.prototype;e.pure=!1,e.persistent=!0})(),A.internalField=(function(){var e;ym=function(a,o,s){var l=s.sourceFormat,u=s.seriesLayoutBy,f=s.startIndex,c=s.dimensionsDefine,h=mm[Dl(l,u)];if(process.env.NODE_ENV!=="production"&&ce(h,"Invalide sourceFormat: "+l),W(a,h),l===ur)a.getItem=t,a.count=n,a.fillStorage=r;else{var v=_m(l,u);a.getItem=ye(v,null,o,f,c);var d=xm(l,u);a.count=ye(d,null,o,f,c)}};var t=function(a,o){a=a-this._offset,o=o||[];for(var s=this._data,l=this._dimSize,u=l*a,f=0;f<l;f++)o[f]=s[u+f];return o},r=function(a,o,s,l){for(var u=this._data,f=this._dimSize,c=0;c<f;c++){for(var h=l[c],v=h[0]==null?1/0:h[0],d=h[1]==null?-1/0:h[1],g=o-a,p=s[c],B=0;B<g;B++){var m=u[B*f+c];p[a+B]=m,m<v&&(v=m),m>d&&(d=m)}h[0]=v,h[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};mm=(e={},e[Et+"_"+ZA]={pure:!0,appendData:i},e[Et+"_"+Ln]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[QA]={pure:!0,appendData:i},e[XA]={pure:!0,appendData:function(a){var o=this._data;b(a,function(s,l){for(var u=o[l]||(o[l]=[]),f=0;f<(s||[]).length;f++)u.push(s[f])})}},e[Jt]={appendData:i},e[ur]={persistent:!1,pure:!0,appendData:function(a){process.env.NODE_ENV!=="production"&&ce(It(a),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(a){for(var o=0;o<a.length;o++)this._data.push(a[o])}})(),A})(),Tl=function(A){ie(A)||Ke("series.data or dataset.source must be an array.")},bU=(Mn={},Mn[Et+"_"+ZA]=Tl,Mn[Et+"_"+Ln]=Tl,Mn[QA]=Tl,Mn[XA]=function(A,e){for(var t=0;t<e.length;t++){var r=e[t].name;r==null&&Ke("dimension name must not be null/undefined.")}},Mn[Jt]=Tl,Mn),Cm=function(A,e,t,r){return A[r]},SU=(Hn={},Hn[Et+"_"+ZA]=function(A,e,t,r){return A[r+e]},Hn[Et+"_"+Ln]=function(A,e,t,r,n){r+=e;for(var i=n||[],a=A,o=0;o<a.length;o++){var s=a[o];i[o]=s?s[r]:null}return i},Hn[QA]=Cm,Hn[XA]=function(A,e,t,r,n){for(var i=n||[],a=0;a<t.length;a++){var o=t[a].name,s=o!=null?A[o]:null;i[a]=s?s[r]:null}return i},Hn[Jt]=Cm,Hn);function _m(A,e){var t=SU[Dl(A,e)];return process.env.NODE_ENV!=="production"&&ce(t,'Do not support get item on "'+A+'", "'+e+'".'),t}var Qm=function(A,e,t){return A.length},UU=(On={},On[Et+"_"+ZA]=function(A,e,t){return Math.max(0,A.length-e)},On[Et+"_"+Ln]=function(A,e,t){var r=A[0];return r?Math.max(0,r.length-e):0},On[QA]=Qm,On[XA]=function(A,e,t){var r=t[0].name,n=r!=null?A[r]:null;return n?n.length:0},On[Jt]=Qm,On);function xm(A,e){var t=UU[Dl(A,e)];return process.env.NODE_ENV!=="production"&&ce(t,'Do not support count on "'+A+'", "'+e+'".'),t}var Zh=function(A,e,t){return A[e]},IU=(Rn={},Rn[Et]=Zh,Rn[QA]=function(A,e,t){return A[t]},Rn[XA]=Zh,Rn[Jt]=function(A,e,t){var r=Sa(A);return r instanceof Array?r[e]:r},Rn[ur]=Zh,Rn);function Fm(A){var e=IU[A];return process.env.NODE_ENV!=="production"&&ce(e,'Do not support get value on "'+A+'".'),e}function Dl(A,e){return A===Et?A+"_"+e:A}function Ni(A,e,t){if(A){var r=A.getRawDataItem(e);if(r!=null){var n=A.getStore(),i=n.getSource().sourceFormat;if(t!=null){var a=A.getDimensionIndex(t),o=n.getDimensionProperty(a);return Fm(i)(r,a,o)}else{var s=r;return i===Jt&&(s=Sa(r)),s}}}}var TU=/\{@(.+?)\}/g,DU=(function(){function A(){}return A.prototype.getDataParams=function(e,t){var r=this.getData(t),n=this.getRawValue(e,t),i=r.getRawIndex(e),a=r.getName(e),o=r.getRawDataItem(e),s=r.getItemVisual(e,"style"),l=s&&s[r.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,f=this.mainType,c=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:a,dataIndex:i,data:o,dataType:t,value:n,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},A.prototype.getFormattedLabel=function(e,t,r,n,i,a){t=t||"normal";var o=this.getData(r),s=this.getDataParams(e,r);if(a&&(s.value=a.interpolatedValue),n!=null&&ie(s.value)&&(s.value=s.value[n]),!i){var l=o.getItemModel(e);i=l.get(t==="normal"?["label","formatter"]:[t,"label","formatter"])}if(me(i))return s.status=t,s.dimensionIndex=n,i(s);if(ue(i)){var u=zB(i,s);return u.replace(TU,function(f,c){var h=c.length,v=c;v.charAt(0)==="["&&v.charAt(h-1)==="]"&&(v=+v.slice(1,h-1),process.env.NODE_ENV!=="production"&&isNaN(v)&&Ke("Invalide label formatter: @"+c+", only support @[0], @[1], @[2], ..."));var d=Ni(o,e,v);if(a&&ie(a.interpolatedValue)){var g=o.getDimensionIndex(v);g>=0&&(d=a.interpolatedValue[g])}return d!=null?d+"":""})}},A.prototype.getRawValue=function(e,t){return Ni(this.getData(t),e)},A.prototype.formatTooltip=function(e,t,r){},A})();function Em(A){var e,t;return ve(A)?A.type?t=A:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+Ds(A)):e=A,{text:e,frag:t}}function $a(A){return new LU(A)}var LU=(function(){function A(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return A.prototype.perform=function(e){var t=this._upstream,r=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!r&&(i=this._plan(this.context));var a=u(this._modBy),o=this._modDataCount||0,s=u(e&&e.modBy),l=e&&e.modDataCount||0;(a!==s||o!==l)&&(i="reset");function u(B){return!(B>=1)&&(B=1),B}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=s,this._modDataCount=l;var c=e&&e.step;if(t?(process.env.NODE_ENV!=="production"&&ce(t._outputDueEnd!=null),this._dueEnd=t._outputDueEnd):(process.env.NODE_ENV!=="production"&&ce(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var h=this._dueIndex,v=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!r&&(f||h<v)){var d=this._progress;if(ie(d))for(var g=0;g<d.length;g++)this._doProgress(d[g],h,v,s,l);else this._doProgress(d,h,v,s,l)}this._dueIndex=v;var p=this._settedOutputEnd!=null?this._settedOutputEnd:v;process.env.NODE_ENV!=="production"&&ce(p>=this._outputDueEnd),this._outputDueEnd=p}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},A.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},A.prototype._doProgress=function(e,t,r,n,i){bm.reset(t,r,n,i),this._callingProgress=e,this._callingProgress({start:t,end:r,count:r-t,next:bm.next},this.context)},A.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var t,r;!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(r=t.forceFirstProgress,t=t.progress),ie(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),r},A.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},A.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&ce(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},A.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},A.prototype.getUpstream=function(){return this._upstream},A.prototype.getDownstream=function(){return this._downstream},A.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},A})(),bm=(function(){var A,e,t,r,n,i={reset:function(s,l,u,f){e=s,A=l,t=u,r=f,n=Math.ceil(r/t),i.next=t>1&&r>0?o:a}};return i;function a(){return e<A?e++:null}function o(){var s=e%n*t+Math.ceil(e/n),l=e>=A?null:s<r?s:e;return e++,l}})();function Ll(A,e){var t=e&&e.type;return t==="ordinal"?A:(t==="time"&&!We(A)&&A!=null&&A!=="-"&&(A=+Ci(A)),A==null||A===""?NaN:Number(A))}we({number:function(A){return parseFloat(A)},time:function(A){return+Ci(A)},trim:function(A){return ue(A)?LA(A):A}});var MU=(function(){function A(e,t){var r=e==="desc";this._resultLT=r?1:-1,t==null&&(t=r?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return A.prototype.evaluate=function(e,t){var r=We(e)?e:Is(e),n=We(t)?t:Is(t),i=isNaN(r),a=isNaN(n);if(i&&(r=this._incomparable),a&&(n=this._incomparable),i&&a){var o=ue(e),s=ue(t);o&&(r=s?e:0),s&&(n=o?t:0)}return r<n?this._resultLT:r>n?-this._resultLT:0},A})(),HU=(function(){function A(){}return A.prototype.getRawData=function(){throw new Error("not supported")},A.prototype.getRawDataItem=function(e){throw new Error("not supported")},A.prototype.cloneRawData=function(){},A.prototype.getDimensionInfo=function(e){},A.prototype.cloneAllDimensionInfo=function(){},A.prototype.count=function(){},A.prototype.retrieveValue=function(e,t){},A.prototype.retrieveValueFromItem=function(e,t){},A.prototype.convertValue=function(e,t){return Ll(e,t)},A})();function OU(A,e){var t=new HU,r=A.data,n=t.sourceFormat=A.sourceFormat,i=A.startIndex,a="";A.seriesLayoutBy!==ZA&&(process.env.NODE_ENV!=="production"&&(a='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Vt(a));var o=[],s={},l=A.dimensionsDefine;if(l)b(l,function(d,g){var p=d.name,B={index:g,name:p,displayName:d.displayName};if(o.push(B),p!=null){var m="";mA(s,p)&&(process.env.NODE_ENV!=="production"&&(m='dimension name "'+p+'" duplicated.'),Vt(m)),s[p]=B}});else for(var u=0;u<A.dimensionsDetectedCount;u++)o.push({index:u});var f=_m(n,ZA);e.__isBuiltIn&&(t.getRawDataItem=function(d){return f(r,i,o,d)},t.getRawData=ye(RU,null,A)),t.cloneRawData=ye(NU,null,A);var c=xm(n,ZA);t.count=ye(c,null,r,i,o);var h=Fm(n);t.retrieveValue=function(d,g){var p=f(r,i,o,d);return v(p,g)};var v=t.retrieveValueFromItem=function(d,g){if(d!=null){var p=o[g];if(p)return h(d,g,p.name)}};return t.getDimensionInfo=ye(PU,null,o,s),t.cloneAllDimensionInfo=ye(kU,null,o),t}function RU(A){var e=A.sourceFormat;if(!Jh(e)){var t="";process.env.NODE_ENV!=="production"&&(t="`getRawData` is not supported in source format "+e),Vt(t)}return A.data}function NU(A){var e=A.sourceFormat,t=A.data;if(!Jh(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`cloneRawData` is not supported in source format "+e),Vt(r)}if(e===Et){for(var n=[],i=0,a=t.length;i<a;i++)n.push(t[i].slice());return n}else if(e===QA){for(var n=[],i=0,a=t.length;i<a;i++)n.push(W({},t[i]));return n}}function PU(A,e,t){if(t!=null){if(We(t)||!isNaN(t)&&!mA(e,t))return A[t];if(mA(e,t))return e[t]}}function kU(A){return Se(A)}var Sm=we();function VU(A){A=Se(A);var e=A.type,t="";e||(process.env.NODE_ENV!=="production"&&(t="Must have a `type` when `registerTransform`."),Vt(t));var r=e.split(":");r.length!==2&&(process.env.NODE_ENV!=="production"&&(t='Name must include namespace like "ns:regression".'),Vt(t));var n=!1;r[0]==="echarts"&&(e=r[1],n=!0),A.__isBuiltIn=n,Sm.set(e,A)}function KU(A,e,t){var r=Dt(A),n=r.length,i="";n||(process.env.NODE_ENV!=="production"&&(i="If `transform` declared, it should at least contain one transform."),Vt(i));for(var a=0,o=n;a<o;a++){var s=r[a];e=GU(s,e,t,n===1?null:a),a!==o-1&&(e.length=Math.max(e.length,1))}return e}function GU(A,e,t,r){var n="";e.length||(process.env.NODE_ENV!=="production"&&(n="Must have at least one upstream dataset."),Vt(n)),ve(A)||(process.env.NODE_ENV!=="production"&&(n="transform declaration must be an object rather than "+typeof A+"."),Vt(n));var i=A.type,a=Sm.get(i);a||(process.env.NODE_ENV!=="production"&&(n='Can not find transform on type "'+i+'".'),Vt(n));var o=Be(e,function(u){return OU(u,a)}),s=Dt(a.transform({upstream:o[0],upstreamList:o,config:Se(A.config)}));if(process.env.NODE_ENV!=="production"&&A.print){var l=Be(s,function(u){var f=r!=null?" === pipe index: "+r:"";return["=== dataset index: "+t.datasetIndex+f+" ===","- transform result data:",Ds(u.data),"- transform result dimensions:",Ds(u.dimensions)].join(`
34
34
  `)}).join(`
35
- `);PF(l)}return he(s,function(u,f){var c="";fe(u)||(process.env.NODE_ENV!=="production"&&(c="A transform should not return some empty results."),MA(c)),u.data||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be not be null or undefined"),MA(c));var h=y0(u.data);Zc(h)||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be array rows or object rows."),MA(c));var v,d=e[0];if(d&&f===0&&!u.dimensions){var g=d.startIndex;g&&(u.data=d.data.slice(0,g).concat(u.data)),v={seriesLayoutBy:$t,sourceHeader:g,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:$t,sourceHeader:0,dimensions:u.dimensions};return zc(u.data,v,null)})}function Zc(t){return t===PA||t===Mt}var Al="undefined",YS=typeof Uint32Array===Al?Array:Uint32Array,XS=typeof Uint16Array===Al?Array:Uint16Array,L0=typeof Int32Array===Al?Array:Int32Array,M0=typeof Float64Array===Al?Array:Float64Array,H0={float:M0,int:L0,ordinal:Array,number:Array,time:M0},Jc;function mi(t){return t>65535?YS:XS}function wi(){return[1/0,-1/0]}function ZS(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function O0(t,e,A,r,n){var i=H0[A||"float"];if(n){var a=t[e],o=a&&a.length;if(o!==r){for(var s=new i(r),l=0;l<o;l++)s[l]=a[l];t[e]=s}}else t[e]=new i(r)}var $c=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Be()}return t.prototype.initData=function(e,A,r){process.env.NODE_ENV!=="production"&&Ce(de(e.getItem)&&de(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=Jc[n.sourceFormat];this._dimValueGetter=r||i,this._rawExtent=[];var a=C0(n);this._dimensions=he(A,function(o){return process.env.NODE_ENV!=="production"&&a&&Ce(o.property!=null),{type:o.type,property:o.property}}),this._initDataFromProvider(0,e.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(e,A){var r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(e);if(i!=null){if(n[i].type===A)return i}else i=n.length;return n[i]={type:A},r.set(e,i),this._chunks[i]=new H0[A||"float"](this._rawCount),this._rawExtent[i]=wi(),i},t.prototype.collectOrdinalMeta=function(e,A){var r=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,a=n.ordinalOffset||0,o=r.length;a===0&&(i[e]=wi());for(var s=i[e],l=a;l<o;l++){var u=r[l]=A.parseAndCollect(r[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=A,n.ordinalOffset=o,n.type="ordinal"},t.prototype.getOrdinalMeta=function(e){var A=this._dimensions[e],r=A.ordinalMeta;return r},t.prototype.getDimensionProperty=function(e){var A=this._dimensions[e];return A&&A.property},t.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&Ce(!this._indices,"appendData can only be called on raw data.");var A=this._provider,r=this.count();A.appendData(e);var n=A.count();return A.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},t.prototype.appendValues=function(e,A){for(var r=this._chunks,n=this._dimensions,i=n.length,a=this._rawExtent,o=this.count(),s=o+Math.max(e.length,A||0),l=0;l<i;l++){var u=n[l];O0(r,l,u.type,s,!0)}for(var f=[],c=o;c<s;c++)for(var h=c-o,v=0;v<i;v++){var u=n[v],d=Jc.arrayRows.call(this,e[h]||f,u.property,h,v);r[v][c]=d;var g=a[v];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:o,end:s}},t.prototype._initDataFromProvider=function(e,A,r){for(var n=this._provider,i=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=he(a,function(B){return B.property}),u=0;u<o;u++){var f=a[u];s[u]||(s[u]=wi()),O0(i,u,f.type,A,r)}if(n.fillStorage)n.fillStorage(e,A,i,s);else for(var c=[],h=e;h<A;h++){c=n.getItem(h,c);for(var v=0;v<o;v++){var d=i[v],g=this._dimValueGetter(c,l[v],h,v);d[h]=g;var p=s[v];g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=A,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(e,A){if(!(A>=0&&A<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(A)]:NaN},t.prototype.getValues=function(e,A){var r=[],n=[];if(A==null){A=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;for(var i=0,a=n.length;i<a;i++)r.push(this.get(n[i],A));return r},t.prototype.getByRawIndex=function(e,A){if(!(A>=0&&A<this._rawCount))return NaN;var r=this._chunks[e];return r?r[A]:NaN},t.prototype.getSum=function(e){var A=this._chunks[e],r=0;if(A)for(var n=0,i=this.count();n<i;n++){var a=this.get(e,n);isNaN(a)||(r+=a)}return r},t.prototype.getMedian=function(e){var A=[];this.each([e],function(i){isNaN(i)||A.push(i)});var r=A.sort(function(i,a){return i-a}),n=this.count();return n===0?0:n%2===1?r[(n-1)/2]:(r[n/2]+r[n/2-1])/2},t.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var A=this._indices,r=A[e];if(r!=null&&r<this._count&&r===e)return e;for(var n=0,i=this._count-1;n<=i;){var a=(n+i)/2|0;if(A[a]<e)n=a+1;else if(A[a]>e)i=a-1;else return a}return-1},t.prototype.indicesOfNearest=function(e,A,r){var n=this._chunks,i=n[e],a=[];if(!i)return a;r==null&&(r=1/0);for(var o=1/0,s=-1,l=0,u=0,f=this.count();u<f;u++){var c=this.getRawIndex(u),h=A-i[c],v=Math.abs(h);v<=r&&((v<o||v===o&&h>=0&&s<0)&&(o=v,s=h,l=0),h===s&&(a[l++]=u))}return a.length=l,a},t.prototype.getIndices=function(){var e,A=this._indices;if(A){var r=A.constructor,n=this._count;if(r===Array){e=new r(n);for(var i=0;i<n;i++)e[i]=A[i]}else e=new r(A.buffer,0,n)}else{var r=mi(this._rawCount);e=new r(this.count());for(var i=0;i<e.length;i++)e[i]=i}return e},t.prototype.filter=function(e,A){if(!this._count)return this;for(var r=this.clone(),n=r.count(),i=mi(r._rawCount),a=new i(n),o=[],s=e.length,l=0,u=e[0],f=r._chunks,c=0;c<n;c++){var h=void 0,v=r.getRawIndex(c);if(s===0)h=A(c);else if(s===1){var d=f[u][v];h=A(d,c)}else{for(var g=0;g<s;g++)o[g]=f[e[g]][v];o[g]=c,h=A.apply(null,o)}h&&(a[l++]=v)}return l<n&&(r._indices=a),r._count=l,r._extent=[],r._updateGetRawIdx(),r},t.prototype.selectRange=function(e){var A=this.clone(),r=A._count;if(!r)return this;var n=Ge(e),i=n.length;if(!i)return this;var a=A.count(),o=mi(A._rawCount),s=new o(a),l=0,u=n[0],f=e[u][0],c=e[u][1],h=A._chunks,v=!1;if(!A._indices){var d=0;if(i===1){for(var g=h[n[0]],p=0;p<r;p++){var B=g[p];(B>=f&&B<=c||isNaN(B))&&(s[l++]=d),d++}v=!0}else if(i===2){for(var g=h[n[0]],y=h[n[1]],m=e[n[1]][0],_=e[n[1]][1],p=0;p<r;p++){var B=g[p],C=y[p];(B>=f&&B<=c||isNaN(B))&&(C>=m&&C<=_||isNaN(C))&&(s[l++]=d),d++}v=!0}}if(!v)if(i===1)for(var p=0;p<a;p++){var Q=A.getRawIndex(p),B=h[n[0]][Q];(B>=f&&B<=c||isNaN(B))&&(s[l++]=Q)}else for(var p=0;p<a;p++){for(var F=!0,Q=A.getRawIndex(p),E=0;E<i;E++){var U=n[E],B=h[U][Q];(B<e[U][0]||B>e[U][1])&&(F=!1)}F&&(s[l++]=A.getRawIndex(p))}return l<a&&(A._indices=s),A._count=l,A._extent=[],A._updateGetRawIdx(),A},t.prototype.map=function(e,A){var r=this.clone(e);return this._updateDims(r,e,A),r},t.prototype.modify=function(e,A){this._updateDims(this,e,A)},t.prototype._updateDims=function(e,A,r){for(var n=e._chunks,i=[],a=A.length,o=e.count(),s=[],l=e._rawExtent,u=0;u<A.length;u++)l[A[u]]=wi();for(var f=0;f<o;f++){for(var c=e.getRawIndex(f),h=0;h<a;h++)s[h]=n[A[h]][c];s[a]=f;var v=r&&r.apply(null,s);if(v!=null){typeof v!="object"&&(i[0]=v,v=i);for(var u=0;u<v.length;u++){var d=A[u],g=v[u],p=l[d],B=n[d];B&&(B[c]=g),g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}}},t.prototype.lttbDownSample=function(e,A){var r=this.clone([e],!0),n=r._chunks,i=n[e],a=this.count(),o=0,s=Math.floor(1/A),l=this.getRawIndex(0),u,f,c,h=new(mi(this._rawCount))(Math.min((Math.ceil(a/s)+2)*2,a));h[o++]=l;for(var v=1;v<a-1;v+=s){for(var d=Math.min(v+s,a-1),g=Math.min(v+s*2,a),p=(g+d)/2,B=0,y=d;y<g;y++){var m=this.getRawIndex(y),_=i[m];isNaN(_)||(B+=_)}B/=g-d;var C=v,Q=Math.min(v+s,a),F=v-1,E=i[l];u=-1,c=C;for(var U=-1,x=0,y=C;y<Q;y++){var m=this.getRawIndex(y),_=i[m];if(isNaN(_)){x++,U<0&&(U=m);continue}f=Math.abs((F-p)*(_-E)-(F-y)*(B-E)),f>u&&(u=f,c=m)}x>0&&x<Q-C&&(h[o++]=Math.min(U,c),c=Math.max(U,c)),h[o++]=c,l=c}return h[o++]=this.getRawIndex(a-1),r._count=o,r._indices=h,r.getRawIndex=this._getRawIdx,r},t.prototype.minmaxDownSample=function(e,A){for(var r=this.clone([e],!0),n=r._chunks,i=Math.floor(1/A),a=n[e],o=this.count(),s=new(mi(this._rawCount))(Math.ceil(o/i)*2),l=0,u=0;u<o;u+=i){var f=u,c=a[this.getRawIndex(f)],h=u,v=a[this.getRawIndex(h)],d=i;u+i>o&&(d=o-u);for(var g=0;g<d;g++){var p=this.getRawIndex(u+g),B=a[p];B<c&&(c=B,f=u+g),B>v&&(v=B,h=u+g)}var y=this.getRawIndex(f),m=this.getRawIndex(h);f<h?(s[l++]=y,s[l++]=m):(s[l++]=m,s[l++]=y)}return r._count=l,r._indices=s,r._updateGetRawIdx(),r},t.prototype.downSample=function(e,A,r,n){for(var i=this.clone([e],!0),a=i._chunks,o=[],s=Math.floor(1/A),l=a[e],u=this.count(),f=i._rawExtent[e]=wi(),c=new(mi(this._rawCount))(Math.ceil(u/s)),h=0,v=0;v<u;v+=s){s>u-v&&(s=u-v,o.length=s);for(var d=0;d<s;d++){var g=this.getRawIndex(v+d);o[d]=l[g]}var p=r(o),B=this.getRawIndex(Math.min(v+n(o,p)||0,u-1));l[B]=p,p<f[0]&&(f[0]=p),p>f[1]&&(f[1]=p),c[h++]=B}return i._count=h,i._indices=c,i._updateGetRawIdx(),i},t.prototype.each=function(e,A){if(this._count)for(var r=e.length,n=this._chunks,i=0,a=this.count();i<a;i++){var o=this.getRawIndex(i);switch(r){case 0:A(i);break;case 1:A(n[e[0]][o],i);break;case 2:A(n[e[0]][o],n[e[1]][o],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[e[s]][o];l[s]=i,A.apply(null,l)}}},t.prototype.getDataExtent=function(e){var A=this._chunks[e],r=wi();if(!A)return r;var n=this.count(),i=!this._indices,a;if(i)return this._rawExtent[e].slice();if(a=this._extent[e],a)return a.slice();a=r;for(var o=a[0],s=a[1],l=0;l<n;l++){var u=this.getRawIndex(l),f=A[u];f<o&&(o=f),f>s&&(s=f)}return a=[o,s],this._extent[e]=a,a},t.prototype.getRawDataItem=function(e){var A=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(A);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][A]);return r},t.prototype.clone=function(e,A){var r=new t,n=this._chunks,i=e&&Pn(e,function(o,s){return o[s]=!0,o},{});if(i)for(var a=0;a<n.length;a++)r._chunks[a]=i[a]?ZS(n[a]):n[a];else r._chunks=n;return this._copyCommonProps(r),A||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Ee(this._extent),e._rawExtent=Ee(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,A=void 0;if(e===Array){var r=this._indices.length;A=new e(r);for(var n=0;n<r;n++)A[n]=this._indices[n]}else A=new e(this._indices);return A}return null},t.prototype._getRawIdxIdentity=function(e){return e},t.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function e(A,r,n,i){return el(A[i],this._dimensions[i])}Jc={arrayRows:e,objectRows:function(A,r,n,i){return el(A[r],this._dimensions[i])},keyedColumns:e,original:function(A,r,n,i){var a=A&&(A.value==null?A:A.value);return el(a instanceof Array?a[i]:a,this._dimensions[i])},typedArray:function(A,r,n,i){return A[i]}}}(),t}(),JS=function(){function t(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(e,A){this._sourceList=e,this._upstreamSignList=A,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,A=this._getUpstreamSourceManagers(),r=!!A.length,n,i;if(Da(e)){var a=e,o=void 0,s=void 0,l=void 0;if(r){var u=A[0];u.prepareSource(),l=u.getSource(),o=l.data,s=l.sourceFormat,i=[u._getVersionSign()]}else o=a.get("data",!0),s=xA(o)?Jt:it,i=[];var f=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},h=ye(f.seriesLayoutBy,c.seriesLayoutBy)||null,v=ye(f.sourceHeader,c.sourceHeader),d=ye(f.dimensions,c.dimensions),g=h!==c.seriesLayoutBy||!!v!=!!c.sourceHeader||d;n=g?[zc(o,{seriesLayoutBy:h,sourceHeader:v,dimensions:d},s)]:[]}else{var p=e;if(r){var B=this._applyTransform(A);n=B.sourceList,i=B.upstreamSignList}else{var y=p.get("source",!0);n=[zc(y,this._getSourceMetaRawOption(),null)],i=[]}}process.env.NODE_ENV!=="production"&&Ce(n&&i),this._setLocalSource(n,i)},t.prototype._applyTransform=function(e){var A=this._sourceHost,r=A.get("transform",!0),n=A.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&Ce(n!=null||r!=null),n!=null){var i="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(i="When using `fromTransformResult`, there should be only one upstream dataset"),R0(i))}var a,o=[],s=[];return S(e,function(l){l.prepareSource();var u=l.getSource(n||0),f="";n!=null&&!u&&(process.env.NODE_ENV!=="production"&&(f="Can not retrieve result by `fromTransformResult`: "+n),R0(f)),o.push(u),s.push(l._getVersionSign())}),r?a=zS(r,o,{datasetIndex:A.componentIndex}):n!=null&&(a=[US(o[0])]),{sourceList:a,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),A=0;A<e.length;A++){var r=e[A];if(r._isDirty()||this._upstreamSignList[A]!==r._getVersionSign())return!0}},t.prototype.getSource=function(e){e=e||0;var A=this._sourceList[e];if(!A){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return A},t.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&Ce(Da(this._sourceHost),"Can only call getDataStore on series source manager.");var A=e.makeStoreSchema();return this._innerGetDataStore(A.dimensions,e.source,A.hash)},t.prototype._innerGetDataStore=function(e,A,r){var n=0,i=this._storeList,a=i[n];a||(a=i[n]={});var o=a[r];if(!o){var s=this._getUpstreamSourceManagers()[0];Da(this._sourceHost)&&s?o=s._innerGetDataStore(e,A,r):(o=new $c,o.initData(new F0(A,e.length),e)),a[r]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Da(e)){var A=A0(e);return A?[A.getSourceManager()]:[]}else return he($U(e),function(r){return r.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,A,r,n;if(Da(e))A=e.get("seriesLayoutBy",!0),r=e.get("sourceHeader",!0),n=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=e;A=i.get("seriesLayoutBy",!0),r=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:A,sourceHeader:r,dimensions:n}},t}();function Da(t){return t.mainType==="series"}function R0(t){throw new Error(t)}var $S="line-height:1";function P0(t){var e=t.lineHeight;return e==null?$S:"line-height:"+LA(e+"")+"px"}function N0(t,e){var A=t.color||"#6e7079",r=t.fontSize||12,n=t.fontWeight||"400",i=t.color||"#464646",a=t.fontSize||14,o=t.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+LA(r+"")+"px;color:"+LA(A)+";font-weight:"+LA(n+""),valueStyle:"font-size:"+LA(a+"")+"px;color:"+LA(i)+";font-weight:"+LA(o+"")}:{nameStyle:{fontSize:r,fill:A,fontWeight:n},valueStyle:{fontSize:a,fill:i,fontWeight:o}}}var qS=[0,10,20,30],jS=["",`
35
+ `);zg(l)}return Be(s,function(u,f){var c="";ve(u)||(process.env.NODE_ENV!=="production"&&(c="A transform should not return some empty results."),Vt(c)),u.data||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be not be null or undefined"),Vt(c));var h=dm(u.data);Jh(h)||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be array rows or object rows."),Vt(c));var v,d=e[0];if(d&&f===0&&!u.dimensions){var g=d.startIndex;g&&(u.data=d.data.slice(0,g).concat(u.data)),v={seriesLayoutBy:ZA,sourceHeader:g,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:ZA,sourceHeader:0,dimensions:u.dimensions};return Xh(u.data,v,null)})}function Jh(A){return A===Et||A===QA}var Ml="undefined",zU=typeof Uint32Array===Ml?Array:Uint32Array,WU=typeof Uint16Array===Ml?Array:Uint16Array,Um=typeof Int32Array===Ml?Array:Int32Array,Im=typeof Float64Array===Ml?Array:Float64Array,Tm={float:Im,int:Um,ordinal:Array,number:Array,time:Im},qh;function Pi(A){return A>65535?zU:WU}function ki(){return[1/0,-1/0]}function YU(A){var e=A.constructor;return e===Array?A.slice():new e(A)}function Dm(A,e,t,r,n){var i=Tm[t||"float"];if(n){var a=A[e],o=a&&a.length;if(o!==r){for(var s=new i(r),l=0;l<o;l++)s[l]=a[l];A[e]=s}}else A[e]=new i(r)}var $h=(function(){function A(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=we()}return A.prototype.initData=function(e,t,r){process.env.NODE_ENV!=="production"&&ce(me(e.getItem)&&me(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=qh[n.sourceFormat];this._dimValueGetter=r||i,this._rawExtent=[];var a=Bm(n);this._dimensions=Be(t,function(o){return process.env.NODE_ENV!=="production"&&a&&ce(o.property!=null),{type:o.type,property:o.property}}),this._initDataFromProvider(0,e.count())},A.prototype.getProvider=function(){return this._provider},A.prototype.getSource=function(){return this._provider.getSource()},A.prototype.ensureCalculationDimension=function(e,t){var r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(e);if(i!=null){if(n[i].type===t)return i}else i=n.length;return n[i]={type:t},r.set(e,i),this._chunks[i]=new Tm[t||"float"](this._rawCount),this._rawExtent[i]=ki(),i},A.prototype.collectOrdinalMeta=function(e,t){var r=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,a=n.ordinalOffset||0,o=r.length;a===0&&(i[e]=ki());for(var s=i[e],l=a;l<o;l++){var u=r[l]=t.parseAndCollect(r[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=t,n.ordinalOffset=o,n.type="ordinal"},A.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],r=t.ordinalMeta;return r},A.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},A.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&ce(!this._indices,"appendData can only be called on raw data.");var t=this._provider,r=this.count();t.appendData(e);var n=t.count();return t.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},A.prototype.appendValues=function(e,t){for(var r=this._chunks,n=this._dimensions,i=n.length,a=this._rawExtent,o=this.count(),s=o+Math.max(e.length,t||0),l=0;l<i;l++){var u=n[l];Dm(r,l,u.type,s,!0)}for(var f=[],c=o;c<s;c++)for(var h=c-o,v=0;v<i;v++){var u=n[v],d=qh.arrayRows.call(this,e[h]||f,u.property,h,v);r[v][c]=d;var g=a[v];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:o,end:s}},A.prototype._initDataFromProvider=function(e,t,r){for(var n=this._provider,i=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=Be(a,function(B){return B.property}),u=0;u<o;u++){var f=a[u];s[u]||(s[u]=ki()),Dm(i,u,f.type,t,r)}if(n.fillStorage)n.fillStorage(e,t,i,s);else for(var c=[],h=e;h<t;h++){c=n.getItem(h,c);for(var v=0;v<o;v++){var d=i[v],g=this._dimValueGetter(c,l[v],h,v);d[h]=g;var p=s[v];g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},A.prototype.count=function(){return this._count},A.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(t)]:NaN},A.prototype.getValues=function(e,t){var r=[],n=[];if(t==null){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;for(var i=0,a=n.length;i<a;i++)r.push(this.get(n[i],t));return r},A.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var r=this._chunks[e];return r?r[t]:NaN},A.prototype.getSum=function(e){var t=this._chunks[e],r=0;if(t)for(var n=0,i=this.count();n<i;n++){var a=this.get(e,n);isNaN(a)||(r+=a)}return r},A.prototype.getMedian=function(e){var t=[];this.each([e],function(i){isNaN(i)||t.push(i)});var r=t.sort(function(i,a){return i-a}),n=this.count();return n===0?0:n%2===1?r[(n-1)/2]:(r[n/2]+r[n/2-1])/2},A.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,r=t[e];if(r!=null&&r<this._count&&r===e)return e;for(var n=0,i=this._count-1;n<=i;){var a=(n+i)/2|0;if(t[a]<e)n=a+1;else if(t[a]>e)i=a-1;else return a}return-1},A.prototype.getIndices=function(){var e,t=this._indices;if(t){var r=t.constructor,n=this._count;if(r===Array){e=new r(n);for(var i=0;i<n;i++)e[i]=t[i]}else e=new r(t.buffer,0,n)}else{var r=Pi(this._rawCount);e=new r(this.count());for(var i=0;i<e.length;i++)e[i]=i}return e},A.prototype.filter=function(e,t){if(!this._count)return this;for(var r=this.clone(),n=r.count(),i=Pi(r._rawCount),a=new i(n),o=[],s=e.length,l=0,u=e[0],f=r._chunks,c=0;c<n;c++){var h=void 0,v=r.getRawIndex(c);if(s===0)h=t(c);else if(s===1){var d=f[u][v];h=t(d,c)}else{for(var g=0;g<s;g++)o[g]=f[e[g]][v];o[g]=c,h=t.apply(null,o)}h&&(a[l++]=v)}return l<n&&(r._indices=a),r._count=l,r._extent=[],r._updateGetRawIdx(),r},A.prototype.selectRange=function(e){var t=this.clone(),r=t._count;if(!r)return this;var n=Ye(e),i=n.length;if(!i)return this;var a=t.count(),o=Pi(t._rawCount),s=new o(a),l=0,u=n[0],f=e[u][0],c=e[u][1],h=t._chunks,v=!1;if(!t._indices){var d=0;if(i===1){for(var g=h[n[0]],p=0;p<r;p++){var B=g[p];(B>=f&&B<=c||isNaN(B))&&(s[l++]=d),d++}v=!0}else if(i===2){for(var g=h[n[0]],m=h[n[1]],y=e[n[1]][0],_=e[n[1]][1],p=0;p<r;p++){var B=g[p],C=m[p];(B>=f&&B<=c||isNaN(B))&&(C>=y&&C<=_||isNaN(C))&&(s[l++]=d),d++}v=!0}}if(!v)if(i===1)for(var p=0;p<a;p++){var Q=t.getRawIndex(p),B=h[n[0]][Q];(B>=f&&B<=c||isNaN(B))&&(s[l++]=Q)}else for(var p=0;p<a;p++){for(var x=!0,Q=t.getRawIndex(p),F=0;F<i;F++){var S=n[F],B=h[S][Q];(B<e[S][0]||B>e[S][1])&&(x=!1)}x&&(s[l++]=t.getRawIndex(p))}return l<a&&(t._indices=s),t._count=l,t._extent=[],t._updateGetRawIdx(),t},A.prototype.map=function(e,t){var r=this.clone(e);return this._updateDims(r,e,t),r},A.prototype.modify=function(e,t){this._updateDims(this,e,t)},A.prototype._updateDims=function(e,t,r){for(var n=e._chunks,i=[],a=t.length,o=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=ki();for(var f=0;f<o;f++){for(var c=e.getRawIndex(f),h=0;h<a;h++)s[h]=n[t[h]][c];s[a]=f;var v=r&&r.apply(null,s);if(v!=null){typeof v!="object"&&(i[0]=v,v=i);for(var u=0;u<v.length;u++){var d=t[u],g=v[u],p=l[d],B=n[d];B&&(B[c]=g),g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}}},A.prototype.lttbDownSample=function(e,t){var r=this.clone([e],!0),n=r._chunks,i=n[e],a=this.count(),o=0,s=Math.floor(1/t),l=this.getRawIndex(0),u,f,c,h=new(Pi(this._rawCount))(Math.min((Math.ceil(a/s)+2)*2,a));h[o++]=l;for(var v=1;v<a-1;v+=s){for(var d=Math.min(v+s,a-1),g=Math.min(v+s*2,a),p=(g+d)/2,B=0,m=d;m<g;m++){var y=this.getRawIndex(m),_=i[y];isNaN(_)||(B+=_)}B/=g-d;var C=v,Q=Math.min(v+s,a),x=v-1,F=i[l];u=-1,c=C;for(var S=-1,E=0,m=C;m<Q;m++){var y=this.getRawIndex(m),_=i[y];if(isNaN(_)){E++,S<0&&(S=y);continue}f=Math.abs((x-p)*(_-F)-(x-m)*(B-F)),f>u&&(u=f,c=y)}E>0&&E<Q-C&&(h[o++]=Math.min(S,c),c=Math.max(S,c)),h[o++]=c,l=c}return h[o++]=this.getRawIndex(a-1),r._count=o,r._indices=h,r.getRawIndex=this._getRawIdx,r},A.prototype.minmaxDownSample=function(e,t){for(var r=this.clone([e],!0),n=r._chunks,i=Math.floor(1/t),a=n[e],o=this.count(),s=new(Pi(this._rawCount))(Math.ceil(o/i)*2),l=0,u=0;u<o;u+=i){var f=u,c=a[this.getRawIndex(f)],h=u,v=a[this.getRawIndex(h)],d=i;u+i>o&&(d=o-u);for(var g=0;g<d;g++){var p=this.getRawIndex(u+g),B=a[p];B<c&&(c=B,f=u+g),B>v&&(v=B,h=u+g)}var m=this.getRawIndex(f),y=this.getRawIndex(h);f<h?(s[l++]=m,s[l++]=y):(s[l++]=y,s[l++]=m)}return r._count=l,r._indices=s,r._updateGetRawIdx(),r},A.prototype.downSample=function(e,t,r,n){for(var i=this.clone([e],!0),a=i._chunks,o=[],s=Math.floor(1/t),l=a[e],u=this.count(),f=i._rawExtent[e]=ki(),c=new(Pi(this._rawCount))(Math.ceil(u/s)),h=0,v=0;v<u;v+=s){s>u-v&&(s=u-v,o.length=s);for(var d=0;d<s;d++){var g=this.getRawIndex(v+d);o[d]=l[g]}var p=r(o),B=this.getRawIndex(Math.min(v+n(o,p)||0,u-1));l[B]=p,p<f[0]&&(f[0]=p),p>f[1]&&(f[1]=p),c[h++]=B}return i._count=h,i._indices=c,i._updateGetRawIdx(),i},A.prototype.each=function(e,t){if(this._count)for(var r=e.length,n=this._chunks,i=0,a=this.count();i<a;i++){var o=this.getRawIndex(i);switch(r){case 0:t(i);break;case 1:t(n[e[0]][o],i);break;case 2:t(n[e[0]][o],n[e[1]][o],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[e[s]][o];l[s]=i,t.apply(null,l)}}},A.prototype.getDataExtent=function(e){var t=this._chunks[e],r=ki();if(!t)return r;var n=this.count(),i=!this._indices,a;if(i)return this._rawExtent[e].slice();if(a=this._extent[e],a)return a.slice();a=r;for(var o=a[0],s=a[1],l=0;l<n;l++){var u=this.getRawIndex(l),f=t[u];f<o&&(o=f),f>s&&(s=f)}return a=[o,s],this._extent[e]=a,a},A.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][t]);return r},A.prototype.clone=function(e,t){var r=new A,n=this._chunks,i=e&&Ai(e,function(o,s){return o[s]=!0,o},{});if(i)for(var a=0;a<n.length;a++)r._chunks[a]=i[a]?YU(n[a]):n[a];else r._chunks=n;return this._copyCommonProps(r),t||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},A.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Se(this._extent),e._rawExtent=Se(this._rawExtent)},A.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var r=this._indices.length;t=new e(r);for(var n=0;n<r;n++)t[n]=this._indices[n]}else t=new e(this._indices);return t}return null},A.prototype._getRawIdxIdentity=function(e){return e},A.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},A.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},A.internalField=(function(){function e(t,r,n,i){return Ll(t[i],this._dimensions[i])}qh={arrayRows:e,objectRows:function(t,r,n,i){return Ll(t[r],this._dimensions[i])},keyedColumns:e,original:function(t,r,n,i){var a=t&&(t.value==null?t:t.value);return Ll(a instanceof Array?a[i]:a,this._dimensions[i])},typedArray:function(t,r,n,i){return t[i]}}})(),A})(),XU=(function(){function A(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return A.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},A.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},A.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},A.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},A.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),r=!!t.length,n,i;if(ja(e)){var a=e,o=void 0,s=void 0,l=void 0;if(r){var u=t[0];u.prepareSource(),l=u.getSource(),o=l.data,s=l.sourceFormat,i=[u._getVersionSign()]}else o=a.get("data",!0),s=It(o)?ur:Jt,i=[];var f=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},h=de(f.seriesLayoutBy,c.seriesLayoutBy)||null,v=de(f.sourceHeader,c.sourceHeader),d=de(f.dimensions,c.dimensions),g=h!==c.seriesLayoutBy||!!v!=!!c.sourceHeader||d;n=g?[Xh(o,{seriesLayoutBy:h,sourceHeader:v,dimensions:d},s)]:[]}else{var p=e;if(r){var B=this._applyTransform(t);n=B.sourceList,i=B.upstreamSignList}else{var m=p.get("source",!0);n=[Xh(m,this._getSourceMetaRawOption(),null)],i=[]}}process.env.NODE_ENV!=="production"&&ce(n&&i),this._setLocalSource(n,i)},A.prototype._applyTransform=function(e){var t=this._sourceHost,r=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&ce(n!=null||r!=null),n!=null){var i="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(i="When using `fromTransformResult`, there should be only one upstream dataset"),Lm(i))}var a,o=[],s=[];return b(e,function(l){l.prepareSource();var u=l.getSource(n||0),f="";n!=null&&!u&&(process.env.NODE_ENV!=="production"&&(f="Can not retrieve result by `fromTransformResult`: "+n),Lm(f)),o.push(u),s.push(l._getVersionSign())}),r?a=KU(r,o,{datasetIndex:t.componentIndex}):n!=null&&(a=[xU(o[0])]),{sourceList:a,upstreamSignList:s}},A.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var r=e[t];if(r._isDirty()||this._upstreamSignList[t]!==r._getVersionSign())return!0}},A.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return t},A.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&ce(ja(this._sourceHost),"Can only call getDataStore on series source manager.");var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},A.prototype._innerGetDataStore=function(e,t,r){var n=0,i=this._storeList,a=i[n];a||(a=i[n]={});var o=a[r];if(!o){var s=this._getUpstreamSourceManagers()[0];ja(this._sourceHost)&&s?o=s._innerGetDataStore(e,t,r):(o=new $h,o.initData(new wm(t,e.length),e)),a[r]=o}return o},A.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(ja(e)){var t=$B(e);return t?[t.getSourceManager()]:[]}else return Be(qS(e),function(r){return r.getSourceManager()})},A.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,t,r,n;if(ja(e))t=e.get("seriesLayoutBy",!0),r=e.get("sourceHeader",!0),n=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=e;t=i.get("seriesLayoutBy",!0),r=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:r,dimensions:n}},A})();function ja(A){return A.mainType==="series"}function Lm(A){throw new Error(A)}var ZU="line-height:1";function Mm(A){var e=A.lineHeight;return e==null?ZU:"line-height:"+kt(e+"")+"px"}function Hm(A,e){var t=A.color||ae.color.tertiary,r=A.fontSize||12,n=A.fontWeight||"400",i=A.color||ae.color.secondary,a=A.fontSize||14,o=A.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+kt(r+"")+"px;color:"+kt(t)+";font-weight:"+kt(n+""),valueStyle:"font-size:"+kt(a+"")+"px;color:"+kt(i)+";font-weight:"+kt(o+"")}:{nameStyle:{fontSize:r,fill:t,fontWeight:n},valueStyle:{fontSize:a,fill:i,fontWeight:o}}}var JU=[0,10,20,30],qU=["",`
36
36
  `,`
37
37
 
38
38
  `,`
39
39
 
40
40
 
41
- `];function La(t,e){return e.type=t,e}function qc(t){return t.type==="section"}function k0(t){return qc(t)?eb:Ab}function K0(t){if(qc(t)){var e=0,A=t.blocks.length,r=A>1||A>0&&!t.noHeader;return S(t.blocks,function(n){var i=K0(n);i>=e&&(e=i+ +(r&&(!i||qc(n)&&!n.noHeader)))}),e}return 0}function eb(t,e,A,r){var n=e.noHeader,i=tb(K0(e)),a=[],o=e.blocks||[];Ce(!o||re(o)),o=o||[];var s=t.orderMode;if(e.sortBlocks&&s){o=o.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(kr(l,s)){var u=new OS(l[s],null);o.sort(function(d,g){return u.evaluate(d.sortParam,g.sortParam)})}else s==="seriesDesc"&&o.reverse()}S(o,function(d,g){var p=e.valueFormatter,B=k0(d)(p?Y(Y({},t),{valueFormatter:p}):t,d,g>0?i.html:0,r);B!=null&&a.push(B)});var f=t.renderMode==="richText"?a.join(i.richText):jc(r,a.join(""),n?A:i.html);if(n)return f;var c=Lc(e.header,"ordinal",t.useUTC),h=N0(r,t.renderMode).nameStyle,v=P0(r);return t.renderMode==="richText"?G0(t,c,h)+i.richText+f:jc(r,'<div style="'+h+";"+v+';">'+LA(c)+"</div>"+f,A)}function Ab(t,e,A,r){var n=t.renderMode,i=e.noName,a=e.noValue,o=!e.markerType,s=e.name,l=t.useUTC,u=e.valueFormatter||t.valueFormatter||function(m){return m=re(m)?m:[m],he(m,function(_,C){return Lc(_,re(h)?h[C]:h,l)})};if(!(i&&a)){var f=o?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",n),c=i?"":Lc(s,"ordinal",l),h=e.valueType,v=a?[]:u(e.value,e.dataIndex),d=!o||!i,g=!o&&i,p=N0(r,n),B=p.nameStyle,y=p.valueStyle;return n==="richText"?(o?"":f)+(i?"":G0(t,c,B))+(a?"":ib(t,v,d,g,y)):jc(r,(o?"":f)+(i?"":rb(c,!o,B))+(a?"":nb(v,d,g,y)),A)}}function V0(t,e,A,r,n,i){if(t){var a=k0(t),o={useUTC:n,renderMode:A,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(o,t,0,i)}}function tb(t){return{html:qS[t],richText:jS[t]}}function jc(t,e,A){var r='<div style="clear:both"></div>',n="margin: "+A+"px 0 0",i=P0(t);return'<div style="'+n+";"+i+';">'+e+r+"</div>"}function rb(t,e,A){var r=e?"margin-left:2px":"";return'<span style="'+A+";"+r+'">'+LA(t)+"</span>"}function nb(t,e,A,r){var n=A?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return t=re(t)?t:[t],'<span style="'+i+";"+r+'">'+he(t,function(a){return LA(a)}).join("&nbsp;&nbsp;")+"</span>"}function G0(t,e,A){return t.markupStyleCreator.wrapRichTextStyle(e,A)}function ib(t,e,A,r,n){var i=[n],a=r?10:20;return A&&i.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(re(e)?e.join(" "):e,i)}function ab(t,e){var A=t.getData().getItemVisual(e,"style"),r=A[t.visualDrawType];return vn(r)}function z0(t,e){var A=t.get("padding");return A??(e==="richText"?[8,10]:10)}var eh=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Og()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(e,A,r){var n=r==="richText"?this._generateStyleName():null,i=VU({color:A,type:e,renderMode:r,markerId:n});return ae(i)?i:(process.env.NODE_ENV!=="production"&&Ce(n),this.richTextStyles[n]=i.style,i.content)},t.prototype.wrapRichTextStyle=function(e,A){var r={};re(A)?S(A,function(i){return Y(r,i)}):Y(r,A);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+e+"}"},t}();function ob(t){var e=t.series,A=t.dataIndex,r=t.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),a=i.length,o=e.getRawValue(A),s=re(o),l=ab(e,A),u,f,c,h;if(a>1||s&&!a){var v=sb(o,e,A,i,l);u=v.inlineValues,f=v.inlineValueTypes,c=v.blocks,h=v.inlineValues[0]}else if(a){var d=n.getDimensionInfo(i[0]);h=u=yi(n,A,i[0]),f=d.type}else h=u=s?o[0]:o;var g=Rf(e),p=g&&e.name||"",B=n.getName(A),y=r?p:B;return La("section",{header:p,noHeader:r||!g,sortParam:h,blocks:[La("nameValue",{markerType:"item",markerColor:l,name:y,noName:!Et(y),value:u,valueType:f,dataIndex:A})].concat(c||[])})}function sb(t,e,A,r,n){var i=e.getData(),a=Pn(t,function(f,c,h){var v=i.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),o=[],s=[],l=[];r.length?S(r,function(f){u(yi(i,A,f),f)}):S(t,u);function u(f,c){var h=i.getDimensionInfo(c);!h||h.otherDims.tooltip===!1||(a?l.push(La("nameValue",{markerType:"subItem",markerColor:n,name:h.displayName,value:f,valueType:h.type})):(o.push(f),s.push(h.type)))}return{inlineValues:o,inlineValueTypes:s,blocks:l}}var Br=Xe();function tl(t,e){return t.getName(e)||t.getId(e)}var lb="__universalTransitionEnabled",rl=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A._selectedDataIndicesMap={},A}return e.prototype.init=function(A,r,n){this.seriesIndex=this.componentIndex,this.dataTask=Ta({count:fb,reset:cb}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(A,n);var i=Br(this).sourceManager=new JS(this);i.prepareSource();var a=this.getInitialData(A,n);Y0(a,this),this.dataTask.context.data=a,process.env.NODE_ENV!=="production"&&Ce(a,"getInitialData returned invalid data."),Br(this).dataBeforeProcessed=a,W0(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(A,r){var n=xa(this),i=n?Ea(A):{},a=this.subType;Ke.hasClass(a)&&(a+="Series"),De(A,r.getTheme().get(this.subType)),De(A,this.getDefaultOption()),Vg(A,"label",["show"]),this.fillDataTextStyle(A.data),n&&di(A,i,n)},e.prototype.mergeOption=function(A,r){A=De(this.option,A,!0),this.fillDataTextStyle(A.data);var n=xa(this);n&&di(this.option,A,n);var i=Br(this).sourceManager;i.dirty(),i.prepareSource();var a=this.getInitialData(A,r);Y0(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Br(this).dataBeforeProcessed=a,W0(this),this._initSelectedMapFromData(a)},e.prototype.fillDataTextStyle=function(A){if(A&&!xA(A))for(var r=["show"],n=0;n<A.length;n++)A[n]&&A[n].label&&Vg(A[n],"label",r)},e.prototype.getInitialData=function(A,r){},e.prototype.appendData=function(A){var r=this.getRawData();r.appendData(A.data)},e.prototype.getData=function(A){var r=Ah(this);if(r){var n=r.context.data;return A==null||!n.getLinkedData?n:n.getLinkedData(A)}else return Br(this).data},e.prototype.getAllData=function(){var A=this.getData();return A&&A.getLinkedDataAll?A.getLinkedDataAll():[{data:A}]},e.prototype.setData=function(A){var r=Ah(this);if(r){var n=r.context;n.outputData=A,r!==this.dataTask&&(n.data=A)}Br(this).data=A},e.prototype.getEncode=function(){var A=this.get("encode",!0);if(A)return Be(A)},e.prototype.getSourceManager=function(){return Br(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Br(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var A=this.get("colorBy");return A||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var A=this.coordinateSystem;return A&&A.getBaseAxis&&A.getBaseAxis()},e.prototype.formatTooltip=function(A,r,n){return ob({series:this,dataIndex:A,multipleSeries:r})},e.prototype.isAnimationEnabled=function(){var A=this.ecModel;if(Qe.node&&!(A&&A.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(A,r,n){var i=this.ecModel,a=Rc.prototype.getColorFromPalette.call(this,A,r,n);return a||(a=i.getColorFromPalette(A,r,n)),a},e.prototype.coordDimToDataDim=function(A){return this.getRawData().mapDimensionsAll(A)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(A,r){this._innerSelect(this.getData(r),A)},e.prototype.unselect=function(A,r){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,a=this.getData(r);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<A.length;o++){var s=A[o],l=tl(a,s);n[l]=!1,this._selectedDataIndicesMap[l]=-1}}},e.prototype.toggleSelect=function(A,r){for(var n=[],i=0;i<A.length;i++)n[0]=A[i],this.isSelected(A[i],r)?this.unselect(n,r):this.select(n,r)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var A=this._selectedDataIndicesMap,r=Ge(A),n=[],i=0;i<r.length;i++){var a=A[r[i]];a>=0&&n.push(a)}return n},e.prototype.isSelected=function(A,r){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(r);return(n==="all"||n[tl(i,A)])&&!i.getItemModel(A).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[lb])return!0;var A=this.option.universalTransition;return A?A===!0?!0:A&&A.enabled:!1},e.prototype._innerSelect=function(A,r){var n,i,a=this.option,o=a.selectedMode,s=r.length;if(!(!o||!s)){if(o==="series")a.selectedMap="all";else if(o==="multiple"){fe(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u<s;u++){var f=r[u],c=tl(A,f);l[c]=!0,this._selectedDataIndicesMap[c]=A.getRawIndex(f)}}else if(o==="single"||o===!0){var h=r[s-1],c=tl(A,h);a.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=A.getRawIndex(h),i)}}},e.prototype._initSelectedMapFromData=function(A){if(!this.option.selectedMap){var r=[];A.hasItemOption&&A.each(function(n){var i=A.getRawDataItem(n);i&&i.selected&&r.push(n)}),r.length>0&&this._innerSelect(A,r)}},e.registerClass=function(A){return Ke.registerClass(A)},e.protoInitialize=function(){var A=e.prototype;A.type="series.__base__",A.seriesIndex=0,A.ignoreStyleOnData=!1,A.hasSymbolVisual=!1,A.defaultSymbol="circle",A.visualStyleAccessPath="itemStyle",A.visualDrawType="fill"}(),e}(Ke);xt(rl,MS),xt(rl,Rc),$g(rl,Ke);function W0(t){var e=t.name;Rf(t)||(t.name=ub(t)||e)}function ub(t){var e=t.getRawData(),A=e.mapDimensionsAll("seriesName"),r=[];return S(A,function(n){var i=e.getDimensionInfo(n);i.displayName&&r.push(i.displayName)}),r.join(" ")}function fb(t){return t.model.getRawData().count()}function cb(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),hb}function hb(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Y0(t,e){S(sQ(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(A){t.wrapMethod(A,$e(vb,e))})}function vb(t,e){var A=Ah(t);return A&&A.setOutputEnd((e||this).count()),e}function Ah(t){var e=(t.ecModel||{}).scheduler,A=e&&e.getPipeline(t.uid);if(A){var r=A.currentTask;if(r){var n=r.agentStubMap;n&&(r=n.get(t.uid))}return r}}const Bn=rl;var th=function(){function t(){this.group=new sA,this.uid=Rs("viewComponent")}return t.prototype.init=function(e,A){},t.prototype.render=function(e,A,r,n){},t.prototype.dispose=function(e,A){},t.prototype.updateView=function(e,A,r,n){},t.prototype.updateLayout=function(e,A,r,n){},t.prototype.updateVisual=function(e,A,r,n){},t.prototype.toggleBlurSeries=function(e,A,r){},t.prototype.eachRendered=function(e){var A=this.group;A&&A.traverse(e)},t}();kf(th),os(th);const jt=th;function rh(){var t=Xe();return function(e){var A=t(e),r=e.pipelineContext,n=!!A.large,i=!!A.progressiveRender,a=A.large=!!(r&&r.large),o=A.progressiveRender=!!(r&&r.progressiveRender);return(n!==a||i!==o)&&"reset"}}var X0=Xe(),db=rh(),nh=function(){function t(){this.group=new sA,this.uid=Rs("viewChart"),this.renderTask=Ta({plan:gb,reset:pb}),this.renderTask.context={view:this}}return t.prototype.init=function(e,A){},t.prototype.render=function(e,A,r,n){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},t.prototype.highlight=function(e,A,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&pA("Unknown dataType "+n.dataType);return}J0(i,n,"emphasis")},t.prototype.downplay=function(e,A,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&pA("Unknown dataType "+n.dataType);return}J0(i,n,"normal")},t.prototype.remove=function(e,A){this.group.removeAll()},t.prototype.dispose=function(e,A){},t.prototype.updateView=function(e,A,r,n){this.render(e,A,r,n)},t.prototype.updateLayout=function(e,A,r,n){this.render(e,A,r,n)},t.prototype.updateVisual=function(e,A,r,n){this.render(e,A,r,n)},t.prototype.eachRendered=function(e){Ls(this.group,e)},t.markUpdateMethod=function(e,A){X0(e).updateMethod=A},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function Z0(t,e,A){t&&oi(t)&&(e==="emphasis"?ys:ms)(t,A)}function J0(t,e,A){var r=Xr(t,e),n=e&&e.highlightKey!=null?CE(e.highlightKey):null;r!=null?S(UA(r),function(i){Z0(t.getItemGraphicEl(i),A,n)}):t.eachItemGraphicEl(function(i){Z0(i,A,n)})}kf(nh,["dispose"]),os(nh);function gb(t){return db(t.model)}function pb(t){var e=t.model,A=t.ecModel,r=t.api,n=t.payload,i=e.pipelineContext.progressiveRender,a=t.view,o=n&&X0(n).updateMethod,s=i?"incrementalPrepareRender":o&&a[o]?o:"render";return s!=="render"&&a[s](e,A,r,n),Bb[s]}var Bb={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)}}};const er=nh;var nl="\0__throttleOriginMethod",$0="\0__throttleRate",q0="\0__throttleType";function ih(t,e,A){var r,n=0,i=0,a=null,o,s,l,u;e=e||0;function f(){i=new Date().getTime(),a=null,t.apply(s,l||[])}var c=function(){for(var h=[],v=0;v<arguments.length;v++)h[v]=arguments[v];r=new Date().getTime(),s=this,l=h;var d=u||e,g=u||A;u=null,o=r-(g?n:i)-d,clearTimeout(a),g?a=setTimeout(f,d):o>=0?f():a=setTimeout(f,-o),n=r};return c.clear=function(){a&&(clearTimeout(a),a=null)},c.debounceNextCall=function(h){u=h},c}function il(t,e,A,r){var n=t[e];if(n){var i=n[nl]||n,a=n[q0],o=n[$0];if(o!==A||a!==r){if(A==null||!r)return t[e]=i;n=t[e]=ih(i,A,r==="debounce"),n[nl]=i,n[q0]=r,n[$0]=A}return n}}function al(t,e){var A=t[e];A&&A[nl]&&(A.clear&&A.clear(),t[e]=A[nl])}var j0=Xe(),ey={itemStyle:la(LB,!0),lineStyle:la(DB,!0)},yb={lineStyle:"stroke",itemStyle:"fill"};function Ay(t,e){var A=t.visualStyleMapper||ey[e];return A||(console.warn("Unknown style type '"+e+"'."),ey.itemStyle)}function ty(t,e){var A=t.visualDrawType||yb[e];return A||(console.warn("Unknown style type '"+e+"'."),"fill")}var mb={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var A=t.getData(),r=t.visualStyleAccessPath||"itemStyle",n=t.getModel(r),i=Ay(t,r),a=i(n),o=n.getShallow("decal");o&&(A.setVisual("decal",o),o.dirty=!0);var s=ty(t,r),l=a[s],u=de(l)?l:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[s]||u||f){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[s]||(a[s]=c,A.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||de(a.fill)?c:a.fill,a.stroke=a.stroke==="auto"||de(a.stroke)?c:a.stroke}if(A.setVisual("style",a),A.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return A.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var d=t.getDataParams(v),g=Y({},a);g[s]=u(d),h.setItemVisual(v,"style",g)}}}},Ma=new mA,wb={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var A=t.getData(),r=t.visualStyleAccessPath||"itemStyle",n=Ay(t,r),i=A.getVisual("drawType");return{dataEach:A.hasItemOption?function(a,o){var s=a.getRawDataItem(o);if(s&&s[r]){Ma.option=s[r];var l=n(Ma),u=a.ensureUniqueItemVisual(o,"style");Y(u,l),Ma.option.decal&&(a.setItemVisual(o,"decal",Ma.option.decal),Ma.option.decal.dirty=!0),i in l&&a.setItemVisual(o,"colorFromPalette",!1)}}:null}}}},Cb={performRawSeries:!0,overallReset:function(t){var e=Be();t.eachSeries(function(A){var r=A.getColorBy();if(!A.isColorBySeries()){var n=A.type+"-"+r,i=e.get(n);i||(i={},e.set(n,i)),j0(A).scope=i}}),t.eachSeries(function(A){if(!(A.isColorBySeries()||t.isSeriesFiltered(A))){var r=A.getRawData(),n={},i=A.getData(),a=j0(A).scope,o=A.visualStyleAccessPath||"itemStyle",s=ty(A,o);i.each(function(l){var u=i.getRawIndex(l);n[u]=l}),r.each(function(l){var u=n[l],f=i.getItemVisual(u,"colorFromPalette");if(f){var c=i.ensureUniqueItemVisual(u,"style"),h=r.getName(l)||l+"",v=r.count();c[s]=A.getColorFromPalette(h,a,v)}})}})}},ol=Math.PI;function _b(t,e){e=e||{},He(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var A=new sA,r=new Ze({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});A.add(r);var n=new OA({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new Ze({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});A.add(i);var a;return e.showSpinner&&(a=new Bc({shape:{startAngle:-ol/2,endAngle:-ol/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:ol*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:ol*3/2}).delay(300).start("circularInOut"),A.add(a)),A.resize=function(){var o=n.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-s*2-(e.showSpinner&&o?10:0)-o)/2-(e.showSpinner&&o?0:5+o/2)+(e.showSpinner?0:o/2)+(o?0:s),u=t.getHeight()/2;e.showSpinner&&a.setShape({cx:l,cy:u}),i.setShape({x:l-s,y:u-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},A.resize(),A}var Qb=function(){function t(e,A,r,n){this._stageTaskMap=Be(),this.ecInstance=e,this.api=A,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}return t.prototype.restoreData=function(e,A){e.restoreData(A),this._stageTaskMap.each(function(r){var n=r.overallTask;n&&n.dirty()})},t.prototype.getPerformArgs=function(e,A){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),n=r.context,i=!A&&r.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>r.blockIndex,a=i?r.step:null,o=n&&n.modDataCount,s=o!=null?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},t.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},t.prototype.updateStreamModes=function(e,A){var r=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),a=r.progressiveEnabled&&A.incrementalPrepareRender&&i>=r.threshold,o=e.get("large")&&i>=e.get("largeThreshold"),s=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=r.context={progressiveRender:a,modDataCount:s,large:o}},t.prototype.restorePipelines=function(e){var A=this,r=A._pipelineMap=Be();e.eachSeries(function(n){var i=n.getProgressive(),a=n.uid;r.set(a,{id:a,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),A._pipe(n,n.dataTask)})},t.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,A=this.api.getModel(),r=this.api;S(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),a="";process.env.NODE_ENV!=="production"&&(a='"reset" and "overallReset" must not be both specified.'),Ce(!(n.reset&&n.overallReset),a),n.reset&&this._createSeriesStageTask(n,i,A,r),n.overallReset&&this._createOverallStageTask(n,i,A,r)},this)},t.prototype.prepareView=function(e,A,r,n){var i=e.renderTask,a=i.context;a.model=A,a.ecModel=r,a.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(A,i)},t.prototype.performDataProcessorTasks=function(e,A){this._performStageTasks(this._dataProcessorHandlers,e,A,{block:!0})},t.prototype.performVisualTasks=function(e,A,r){this._performStageTasks(this._visualHandlers,e,A,r)},t.prototype._performStageTasks=function(e,A,r,n){n=n||{};var i=!1,a=this;S(e,function(s,l){if(!(n.visualType&&n.visualType!==s.visualType)){var u=a._stageTaskMap.get(s.uid),f=u.seriesTaskMap,c=u.overallTask;if(c){var h,v=c.agentStubMap;v.each(function(g){o(n,g)&&(g.dirty(),h=!0)}),h&&c.dirty(),a.updatePayload(c,r);var d=a.getPerformArgs(c,n.block);v.each(function(g){g.perform(d)}),c.perform(d)&&(i=!0)}else f&&f.each(function(g,p){o(n,g)&&g.dirty();var B=a.getPerformArgs(g,n.block);B.skip=!s.performRawSeries&&A.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(B)&&(i=!0)})}});function o(s,l){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(l.__pipeline.id))}this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(e){var A;e.eachSeries(function(r){A=r.dataTask.perform()||A}),this.unfinished=A||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(e){var A=e.tail;do{if(A.__block){e.blockIndex=A.__idxInPipeline;break}A=A.getUpstream()}while(A)})},t.prototype.updatePayload=function(e,A){A!=="remain"&&(e.context.payload=A)},t.prototype._createSeriesStageTask=function(e,A,r,n){var i=this,a=A.seriesTaskMap,o=A.seriesTaskMap=Be(),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,n).each(u);function u(f){var c=f.uid,h=o.set(c,a&&a.get(c)||Ta({plan:Sb,reset:bb,count:Tb}));h.context={model:f,ecModel:r,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(f,h)}},t.prototype._createOverallStageTask=function(e,A,r,n){var i=this,a=A.overallTask=A.overallTask||Ta({reset:Fb});a.context={ecModel:r,api:n,overallReset:e.overallReset,scheduler:i};var o=a.agentStubMap,s=a.agentStubMap=Be(),l=e.seriesType,u=e.getTargetSeries,f=!0,c=!1,h="";process.env.NODE_ENV!=="production"&&(h='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),Ce(!e.createOnAllSeries,h),l?r.eachRawSeriesByType(l,v):u?u(r,n).each(v):(f=!1,S(r.getSeries(),v));function v(d){var g=d.uid,p=s.set(g,o&&o.get(g)||(c=!0,Ta({reset:xb,onDirty:Ub})));p.context={model:d,overallProgress:f},p.agent=a,p.__block=f,i._pipe(d,p)}c&&a.dirty()},t.prototype._pipe=function(e,A){var r=e.uid,n=this._pipelineMap.get(r);!n.head&&(n.head=A),n.tail&&n.tail.pipe(A),n.tail=A,A.__idxInPipeline=n.count++,A.__pipeline=n},t.wrapStageHandler=function(e,A){return de(e)&&(e={overallReset:e,seriesType:Db(e)}),e.uid=Rs("stageHandler"),A&&(e.visualType=A),e},t}();function Fb(t){t.overallReset(t.ecModel,t.api,t.payload)}function xb(t){return t.overallProgress&&Eb}function Eb(){this.agent.dirty(),this.getDownstream().dirty()}function Ub(){this.agent&&this.agent.dirty()}function Sb(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function bb(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=UA(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?he(e,function(A,r){return ry(r)}):Ib}var Ib=ry(0);function ry(t){return function(e,A){var r=A.data,n=A.resetDefines[t];if(n&&n.dataEach)for(var i=e.start;i<e.end;i++)n.dataEach(r,i);else n&&n.progress&&n.progress(e,r)}}function Tb(t){return t.data.count()}function Db(t){sl=null;try{t(Ha,ny)}catch{}return sl}var Ha={},ny={},sl;iy(Ha,u0),iy(ny,f0),Ha.eachSeriesByType=Ha.eachRawSeriesByType=function(t){sl=t},Ha.eachComponent=function(t){t.mainType==="series"&&t.subType&&(sl=t.subType)};function iy(t,e){for(var A in e.prototype)t[A]=EA}const ay=Qb;var oy=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const Lb={color:oy,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],oy]};var CA="#B9B8CE",sy="#100C2A",ll=function(){return{axisLine:{lineStyle:{color:CA}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},ly=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],uy={darkMode:!0,color:ly,backgroundColor:sy,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:CA},pageTextStyle:{color:CA}},textStyle:{color:CA},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:CA}},dataZoom:{borderColor:"#71708A",textStyle:{color:CA},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:CA}},timeline:{lineStyle:{color:CA},label:{color:CA},controlStyle:{color:CA,borderColor:CA}},calendar:{itemStyle:{color:sy},dayLabel:{color:CA},monthLabel:{color:CA},yearLabel:{color:CA}},timeAxis:ll(),logAxis:ll(),valueAxis:ll(),categoryAxis:ll(),line:{symbol:"circle"},graph:{color:ly},gauge:{title:{color:CA},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:CA},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};uy.categoryAxis.splitLine.show=!1;const Mb=uy;var Hb=function(){function t(){}return t.prototype.normalizeQuery=function(e){var A={},r={},n={};if(ae(e)){var i=bt(e);A.mainType=i.main||null,A.subType=i.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};S(e,function(s,l){for(var u=!1,f=0;f<a.length;f++){var c=a[f],h=l.lastIndexOf(c);if(h>0&&h===l.length-c.length){var v=l.slice(0,h);v!=="data"&&(A.mainType=v,A[c.toLowerCase()]=s,u=!0)}}o.hasOwnProperty(l)&&(r[l]=s,u=!0),u||(n[l]=s)})}return{cptQuery:A,dataQuery:r,otherQuery:n}},t.prototype.filter=function(e,A){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,a=r.model,o=r.view;if(!a||!o)return!0;var s=A.cptQuery,l=A.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,A.otherQuery,n,i));function u(f,c,h,v){return f[h]==null||c[v||h]===f[h]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ah=["symbol","symbolSize","symbolRotate","symbolOffset"],fy=ah.concat(["symbolKeepAspect"]),Ob={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var A=t.getData();if(t.legendIcon&&A.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var r={},n={},i=!1,a=0;a<ah.length;a++){var o=ah[a],s=t.get(o);de(s)?(i=!0,n[o]=s):r[o]=s}if(r.symbol=r.symbol||t.defaultSymbol,A.setVisual(Y({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),e.isSeriesFiltered(t))return;var l=Ge(n);function u(f,c){for(var h=t.getRawValue(c),v=t.getDataParams(c),d=0;d<l.length;d++){var g=l[d];f.setItemVisual(c,g,n[g](h,v))}}return{dataEach:i?u:null}}},Rb={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.hasSymbolVisual||e.isSeriesFiltered(t))return;var A=t.getData();function r(n,i){for(var a=n.getItemModel(i),o=0;o<fy.length;o++){var s=fy[o],l=a.getShallow(s,!0);l!=null&&n.setItemVisual(i,s,l)}}return{dataEach:A.hasItemOption?r:null}}};function Pb(t,e,A){switch(A){case"color":var r=t.getItemVisual(e,"style");return r[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,A);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+A)}}function Nb(t,e){switch(e){case"color":var A=t.getVisual("style");return A[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function Ci(t,e,A,r,n){var i=t+e;A.isSilent(i)||(process.env.NODE_ENV!=="production"&&pt("event "+i+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},function(a){for(var o=a.seriesIndex,s=a.option.selectedMap,l=n.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===o){var f=a.getData(),c=Xr(f,n.fromActionPayload);A.trigger(i,{type:i,seriesId:a.id,name:re(c)?f.getName(c[0]):f.getName(c),selected:ae(s)?s:Y({},s)})}}))}function kb(t,e,A){t.on("selectchanged",function(r){var n=A.getModel();r.isFromClick?(Ci("map","selectchanged",e,n,r),Ci("pie","selectchanged",e,n,r)):r.fromAction==="select"?(Ci("map","selected",e,n,r),Ci("pie","selected",e,n,r)):r.fromAction==="unselect"&&(Ci("map","unselected",e,n,r),Ci("pie","unselected",e,n,r))})}function Oa(t,e,A){for(var r;t&&!(e(t)&&(r=t,A));)t=t.__hostTarget||t.parent;return r}var Kb=Math.round(Math.random()*9),Vb=typeof Object.defineProperty=="function",Gb=function(){function t(){this._id="__ec_inner_"+Kb++}return t.prototype.get=function(e){return this._guard(e)[this._id]},t.prototype.set=function(e,A){var r=this._guard(e);return Vb?Object.defineProperty(r,this._id,{value:A,enumerable:!1,configurable:!0}):r[this._id]=A,this},t.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},t.prototype.has=function(e){return!!this._guard(e)[this._id]},t.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},t}();const zb=Gb;var Wb=Re.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var A=e.cx,r=e.cy,n=e.width/2,i=e.height/2;t.moveTo(A,r-i),t.lineTo(A+n,r+i),t.lineTo(A-n,r+i),t.closePath()}}),Yb=Re.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var A=e.cx,r=e.cy,n=e.width/2,i=e.height/2;t.moveTo(A,r-i),t.lineTo(A+n,r),t.lineTo(A,r+i),t.lineTo(A-n,r),t.closePath()}}),Xb=Re.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var A=e.x,r=e.y,n=e.width/5*3,i=Math.max(n,e.height),a=n/2,o=a*a/(i-a),s=r-i+a+o,l=Math.asin(o/a),u=Math.cos(l)*a,f=Math.sin(l),c=Math.cos(l),h=a*.6,v=a*.7;t.moveTo(A-u,s+o),t.arc(A,s,a,Math.PI-l,Math.PI*2+l),t.bezierCurveTo(A+u-f*h,s+o+c*h,A,r-v,A,r),t.bezierCurveTo(A,r-v,A-u+f*h,s+o+c*h,A-u,s+o),t.closePath()}}),Zb=Re.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var A=e.height,r=e.width,n=e.x,i=e.y,a=r/3*2;t.moveTo(n,i),t.lineTo(n+a,i+A),t.lineTo(n,i+A/4*3),t.lineTo(n-a,i+A),t.lineTo(n,i),t.closePath()}}),Jb={line:ln,rect:Ze,roundRect:Ze,square:Ze,circle:dc,diamond:Yb,pin:Xb,arrow:Zb,triangle:Wb},$b={line:function(t,e,A,r,n){n.x1=t,n.y1=e+r/2,n.x2=t+A,n.y2=e+r/2},rect:function(t,e,A,r,n){n.x=t,n.y=e,n.width=A,n.height=r},roundRect:function(t,e,A,r,n){n.x=t,n.y=e,n.width=A,n.height=r,n.r=Math.min(A,r)/4},square:function(t,e,A,r,n){var i=Math.min(A,r);n.x=t,n.y=e,n.width=i,n.height=i},circle:function(t,e,A,r,n){n.cx=t+A/2,n.cy=e+r/2,n.r=Math.min(A,r)/2},diamond:function(t,e,A,r,n){n.cx=t+A/2,n.cy=e+r/2,n.width=A,n.height=r},pin:function(t,e,A,r,n){n.x=t+A/2,n.y=e+r/2,n.width=A,n.height=r},arrow:function(t,e,A,r,n){n.x=t+A/2,n.y=e+r/2,n.width=A,n.height=r},triangle:function(t,e,A,r,n){n.cx=t+A/2,n.cy=e+r/2,n.width=A,n.height=r}},ul={};S(Jb,function(t,e){ul[e]=new t});var qb=Re.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,A){var r=As(t,e,A),n=this.shape;return n&&n.symbolType==="pin"&&e.position==="inside"&&(r.y=A.y+A.height*.4),r},buildPath:function(t,e,A){var r=e.symbolType;if(r!=="none"){var n=ul[r];n||(r="rect",n=ul[r]),$b[r](e.x,e.y,e.width,e.height,n.shape),n.buildPath(t,n.shape,A)}}});function jb(t,e){if(this.type!=="image"){var A=this.style;this.__isEmptyBrush?(A.stroke=t,A.fill=e||"#fff",A.lineWidth=2):this.shape.symbolType==="line"?A.stroke=t:A.fill=t,this.markRedraw()}}function yr(t,e,A,r,n,i,a){var o=t.indexOf("empty")===0;o&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var s;return t.indexOf("image://")===0?s=BB(t.slice(8),new Me(e,A,r,n),a?"center":"cover"):t.indexOf("path://")===0?s=Cc(t.slice(7),{},new Me(e,A,r,n),a?"center":"cover"):s=new qb({shape:{symbolType:t,x:e,y:A,width:r,height:n}}),s.__isEmptyBrush=o,s.setColor=jb,i&&s.setColor(i),s}function eI(t){return re(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function cy(t,e){if(t!=null)return re(t)||(t=[t,t]),[aA(t[0],e[0])||0,aA(ye(t[1],t[0]),e[1])||0]}function yn(t){return isFinite(t)}function AI(t,e,A){var r=e.x==null?0:e.x,n=e.x2==null?1:e.x2,i=e.y==null?0:e.y,a=e.y2==null?0:e.y2;e.global||(r=r*A.width+A.x,n=n*A.width+A.x,i=i*A.height+A.y,a=a*A.height+A.y),r=yn(r)?r:0,n=yn(n)?n:1,i=yn(i)?i:0,a=yn(a)?a:0;var o=t.createLinearGradient(r,i,n,a);return o}function tI(t,e,A){var r=A.width,n=A.height,i=Math.min(r,n),a=e.x==null?.5:e.x,o=e.y==null?.5:e.y,s=e.r==null?.5:e.r;e.global||(a=a*r+A.x,o=o*n+A.y,s=s*i),a=yn(a)?a:.5,o=yn(o)?o:.5,s=s>=0&&yn(s)?s:.5;var l=t.createRadialGradient(a,o,0,a,o,s);return l}function oh(t,e,A){for(var r=e.type==="radial"?tI(t,e,A):AI(t,e,A),n=e.colorStops,i=0;i<n.length;i++)r.addColorStop(n[i].offset,n[i].color);return r}function rI(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var A=0;A<t.length;A++)if(t[A]!==e[A])return!0;return!1}function fl(t){return parseInt(t,10)}function cl(t,e,A){var r=["width","height"][e],n=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(A[r]!=null&&A[r]!=="auto")return parseFloat(A[r]);var o=document.defaultView.getComputedStyle(t);return(t[n]||fl(o[r])||fl(t.style[r]))-(fl(o[i])||0)-(fl(o[a])||0)|0}function nI(t,e){return!t||t==="solid"||!(e>0)?null:t==="dashed"?[4*e,2*e]:t==="dotted"?[e]:ze(t)?[t]:re(t)?t:null}function hy(t){var e=t.style,A=e.lineDash&&e.lineWidth>0&&nI(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(A){var n=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;n&&n!==1&&(A=he(A,function(i){return i/n}),r/=n)}return[A,r]}var iI=new dr(!0);function hl(t){var e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))}function vy(t){return typeof t=="string"&&t!=="none"}function vl(t){var e=t.fill;return e!=null&&e!=="none"}function dy(t,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var A=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=A}else t.fill()}function gy(t,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var A=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=A}else t.stroke()}function sh(t,e,A){var r=qg(e.image,e.__image,A);if(ss(r)){var n=t.createPattern(r,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*lQ),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function aI(t,e,A,r){var n,i=hl(A),a=vl(A),o=A.strokePercent,s=o<1,l=!e.path;(!e.silent||s)&&l&&e.createPathProxy();var u=e.path||iI,f=e.__dirty;if(!r){var c=A.fill,h=A.stroke,v=a&&!!c.colorStops,d=i&&!!h.colorStops,g=a&&!!c.image,p=i&&!!h.image,B=void 0,y=void 0,m=void 0,_=void 0,C=void 0;(v||d)&&(C=e.getBoundingRect()),v&&(B=f?oh(t,c,C):e.__canvasFillGradient,e.__canvasFillGradient=B),d&&(y=f?oh(t,h,C):e.__canvasStrokeGradient,e.__canvasStrokeGradient=y),g&&(m=f||!e.__canvasFillPattern?sh(t,c,e):e.__canvasFillPattern,e.__canvasFillPattern=m),p&&(_=f||!e.__canvasStrokePattern?sh(t,h,e):e.__canvasStrokePattern,e.__canvasStrokePattern=m),v?t.fillStyle=B:g&&(m?t.fillStyle=m:a=!1),d?t.strokeStyle=y:p&&(_?t.strokeStyle=_:i=!1)}var Q=e.getGlobalScale();u.setScale(Q[0],Q[1],e.segmentIgnoreThreshold);var F,E;t.setLineDash&&A.lineDash&&(n=hy(e),F=n[0],E=n[1]);var U=!0;(l||f&Jn)&&(u.setDPR(t.dpr),s?u.setContext(null):(u.setContext(t),U=!1),u.reset(),e.buildPath(u,e.shape,r),u.toStatic(),e.pathUpdated()),U&&u.rebuildPath(t,s?o:1),F&&(t.setLineDash(F),t.lineDashOffset=E),r||(A.strokeFirst?(i&&gy(t,A),a&&dy(t,A)):(a&&dy(t,A),i&&gy(t,A))),F&&t.setLineDash([])}function oI(t,e,A){var r=e.__image=qg(A.image,e.__image,e,e.onload);if(!(!r||!ss(r))){var n=A.x||0,i=A.y||0,a=e.getWidth(),o=e.getHeight(),s=r.width/r.height;if(a==null&&o!=null?a=o*s:o==null&&a!=null?o=a/s:a==null&&o==null&&(a=r.width,o=r.height),A.sWidth&&A.sHeight){var l=A.sx||0,u=A.sy||0;t.drawImage(r,l,u,A.sWidth,A.sHeight,n,i,a,o)}else if(A.sx&&A.sy){var l=A.sx,u=A.sy,f=a-l,c=o-u;t.drawImage(r,l,u,f,c,n,i,a,o)}else t.drawImage(r,n,i,a,o)}}function sI(t,e,A){var r,n=A.text;if(n!=null&&(n+=""),n){t.font=A.font||Rr,t.textAlign=A.textAlign,t.textBaseline=A.textBaseline;var i=void 0,a=void 0;t.setLineDash&&A.lineDash&&(r=hy(e),i=r[0],a=r[1]),i&&(t.setLineDash(i),t.lineDashOffset=a),A.strokeFirst?(hl(A)&&t.strokeText(n,A.x,A.y),vl(A)&&t.fillText(n,A.x,A.y)):(vl(A)&&t.fillText(n,A.x,A.y),hl(A)&&t.strokeText(n,A.x,A.y)),i&&t.setLineDash([])}}var py=["shadowBlur","shadowOffsetX","shadowOffsetY"],By=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function yy(t,e,A,r,n){var i=!1;if(!r&&(A=A||{},e===A))return!1;if(r||e.opacity!==A.opacity){NA(t,n),i=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Jr.opacity:a}(r||e.blend!==A.blend)&&(i||(NA(t,n),i=!0),t.globalCompositeOperation=e.blend||Jr.blend);for(var o=0;o<py.length;o++){var s=py[o];(r||e[s]!==A[s])&&(i||(NA(t,n),i=!0),t[s]=t.dpr*(e[s]||0))}return(r||e.shadowColor!==A.shadowColor)&&(i||(NA(t,n),i=!0),t.shadowColor=e.shadowColor||Jr.shadowColor),i}function my(t,e,A,r,n){var i=Ra(e,n.inHover),a=r?null:A&&Ra(A,n.inHover)||{};if(i===a)return!1;var o=yy(t,i,a,r,n);if((r||i.fill!==a.fill)&&(o||(NA(t,n),o=!0),vy(i.fill)&&(t.fillStyle=i.fill)),(r||i.stroke!==a.stroke)&&(o||(NA(t,n),o=!0),vy(i.stroke)&&(t.strokeStyle=i.stroke)),(r||i.opacity!==a.opacity)&&(o||(NA(t,n),o=!0),t.globalAlpha=i.opacity==null?1:i.opacity),e.hasStroke()){var s=i.lineWidth,l=s/(i.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(o||(NA(t,n),o=!0),t.lineWidth=l)}for(var u=0;u<By.length;u++){var f=By[u],c=f[0];(r||i[c]!==a[c])&&(o||(NA(t,n),o=!0),t[c]=i[c]||f[1])}return o}function lI(t,e,A,r,n){return yy(t,Ra(e,n.inHover),A&&Ra(A,n.inHover),r,n)}function wy(t,e){var A=e.transform,r=t.dpr||1;A?t.setTransform(r*A[0],r*A[1],r*A[2],r*A[3],r*A[4],r*A[5]):t.setTransform(r,0,0,r,0,0)}function uI(t,e,A){for(var r=!1,n=0;n<t.length;n++){var i=t[n];r=r||i.isZeroArea(),wy(e,i),e.beginPath(),i.buildPath(e,i.shape),e.clip()}A.allClipped=r}function fI(t,e){return t&&e?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&&!e)}var Cy=1,_y=2,Qy=3,Fy=4;function cI(t){var e=vl(t),A=hl(t);return!(t.lineDash||!(+e^+A)||e&&typeof t.fill!="string"||A&&typeof t.stroke!="string"||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function NA(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function Ra(t,e){return e&&t.__hoverStyle||t.style}function xy(t,e){mn(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function mn(t,e,A,r){var n=e.transform;if(!e.shouldBePainted(A.viewWidth,A.viewHeight,!1,!1)){e.__dirty&=~VA,e.__isRendered=!1;return}var i=e.__clipPaths,a=A.prevElClipPaths,o=!1,s=!1;if((!a||rI(i,a))&&(a&&a.length&&(NA(t,A),t.restore(),s=o=!0,A.prevElClipPaths=null,A.allClipped=!1,A.prevEl=null),i&&i.length&&(NA(t,A),t.save(),uI(i,t,A),o=!0),A.prevElClipPaths=i),A.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var l=A.prevEl;l||(s=o=!0);var u=e instanceof Re&&e.autoBatch&&cI(e.style);o||fI(n,l.transform)?(NA(t,A),wy(t,e)):u||NA(t,A);var f=Ra(e,A.inHover);e instanceof Re?(A.lastDrawType!==Cy&&(s=!0,A.lastDrawType=Cy),my(t,e,l,s,A),(!u||!A.batchFill&&!A.batchStroke)&&t.beginPath(),aI(t,e,f,u),u&&(A.batchFill=f.fill||"",A.batchStroke=f.stroke||"")):e instanceof tc?(A.lastDrawType!==Qy&&(s=!0,A.lastDrawType=Qy),my(t,e,l,s,A),sI(t,e,f)):e instanceof nn?(A.lastDrawType!==_y&&(s=!0,A.lastDrawType=_y),lI(t,e,l,s,A),oI(t,e,f)):e.getTemporalDisplayables&&(A.lastDrawType!==Fy&&(s=!0,A.lastDrawType=Fy),hI(t,e,A)),u&&r&&NA(t,A),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),A.prevEl=e,e.__dirty=0,e.__isRendered=!0}function hI(t,e,A){var r=e.getDisplayables(),n=e.getTemporalDisplayables();t.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:A.viewWidth,viewHeight:A.viewHeight,inHover:A.inHover},a,o;for(a=e.getCursor(),o=r.length;a<o;a++){var s=r[a];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),mn(t,s,i,a===o-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}for(var l=0,u=n.length;l<u;l++){var s=n[l];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),mn(t,s,i,l===u-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var lh=new zb,Ey=new qi(100),Uy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function uh(t,e){if(t==="none")return null;var A=e.getDevicePixelRatio(),r=e.getZr(),n=r.painter.type==="svg";t.dirty&&lh.delete(t);var i=lh.get(t);if(i)return i;var a=He(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});a.backgroundColor==="none"&&(a.backgroundColor=null);var o={repeat:"repeat"};return s(o),o.rotation=a.rotation,o.scaleX=o.scaleY=n?1:1/A,lh.set(t,o),t.dirty=!1,o;function s(l){for(var u=[A],f=!0,c=0;c<Uy.length;++c){var h=a[Uy[c]];if(h!=null&&!re(h)&&!ae(h)&&!ze(h)&&typeof h!="boolean"){f=!1;break}u.push(h)}var v;if(f){v=u.join(",")+(n?"-svg":"");var d=Ey.get(v);d&&(n?l.svgElement=d:l.image=d)}var g=by(a.dashArrayX),p=vI(a.dashArrayY),B=Sy(a.symbol),y=dI(g),m=Iy(p),_=!n&&On.createCanvas(),C=n&&{tag:"g",attrs:{},key:"dcl",children:[]},Q=E(),F;_&&(_.width=Q.width*A,_.height=Q.height*A,F=_.getContext("2d")),U(),f&&Ey.put(v,_||C),l.image=_,l.svgElement=C,l.svgWidth=Q.width,l.svgHeight=Q.height;function E(){for(var x=1,b=0,I=y.length;b<I;++b)x=Pg(x,y[b]);for(var T=1,b=0,I=B.length;b<I;++b)T=Pg(T,B[b].length);x*=T;var D=m*y.length*B.length;if(process.env.NODE_ENV!=="production"){var R=function($){console.warn("Calculated decal size is greater than "+$+" due to decal option settings so "+$+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+$+" to be larger to avoid incontinuity.")};x>a.maxTileWidth&&R("maxTileWidth"),D>a.maxTileHeight&&R("maxTileHeight")}return{width:Math.max(1,Math.min(x,a.maxTileWidth)),height:Math.max(1,Math.min(D,a.maxTileHeight))}}function U(){F&&(F.clearRect(0,0,_.width,_.height),a.backgroundColor&&(F.fillStyle=a.backgroundColor,F.fillRect(0,0,_.width,_.height)));for(var x=0,b=0;b<p.length;++b)x+=p[b];if(x<=0)return;for(var I=-m,T=0,D=0,R=0;I<Q.height;){if(T%2===0){for(var $=D/2%B.length,G=0,X=0,ie=0;G<Q.width*2;){for(var ve=0,b=0;b<g[R].length;++b)ve+=g[R][b];if(ve<=0)break;if(X%2===0){var O=(1-a.symbolSize)*.5,N=G+g[R][X]*O,H=I+p[T]*O,K=g[R][X]*a.symbolSize,P=p[T]*a.symbolSize,se=ie/2%B[$].length;ne(N,H,K,P,B[$][se])}G+=g[R][X],++ie,++X,X===g[R].length&&(X=0)}++R,R===g.length&&(R=0)}I+=p[T],++D,++T,T===p.length&&(T=0)}function ne(xe,Ie,V,le,Se){var AA=n?1:A,Nt=yr(Se,xe*AA,Ie*AA,V*AA,le*AA,a.color,a.symbolKeepAspect);if(n){var Or=r.painter.renderOneToVNode(Nt);Or&&C.children.push(Or)}else xy(F,Nt)}}}}function Sy(t){if(!t||t.length===0)return[["rect"]];if(ae(t))return[[t]];for(var e=!0,A=0;A<t.length;++A)if(!ae(t[A])){e=!1;break}if(e)return Sy([t]);for(var r=[],A=0;A<t.length;++A)ae(t[A])?r.push([t[A]]):r.push(t[A]);return r}function by(t){if(!t||t.length===0)return[[0,0]];if(ze(t)){var e=Math.ceil(t);return[[e,e]]}for(var A=!0,r=0;r<t.length;++r)if(!ze(t[r])){A=!1;break}if(A)return by([t]);for(var n=[],r=0;r<t.length;++r)if(ze(t[r])){var e=Math.ceil(t[r]);n.push([e,e])}else{var e=he(t[r],function(o){return Math.ceil(o)});e.length%2===1?n.push(e.concat(e)):n.push(e)}return n}function vI(t){if(!t||typeof t=="object"&&t.length===0)return[0,0];if(ze(t)){var e=Math.ceil(t);return[e,e]}var A=he(t,function(r){return Math.ceil(r)});return t.length%2?A.concat(A):A}function dI(t){return he(t,function(e){return Iy(e)})}function Iy(t){for(var e=0,A=0;A<t.length;++A)e+=t[A];return t.length%2===1?e*2:e}function gI(t,e){t.eachRawSeries(function(A){if(!t.isSeriesFiltered(A)){var r=A.getData();r.hasItemVisual()&&r.each(function(a){var o=r.getItemVisual(a,"decal");if(o){var s=r.ensureUniqueItemVisual(a,"style");s.decal=uh(o,e)}});var n=r.getVisual("decal");if(n){var i=r.getVisual("style");i.decal=uh(n,e)}}})}var pI=new dt;const mt=pI;var dl={};function BI(t,e){process.env.NODE_ENV!=="production"&&dl[t]&&pA("Already has an implementation of "+t+"."),dl[t]=e}function yI(t){return process.env.NODE_ENV!=="production"&&(dl[t]||pA("Implementation of "+t+" doesn't exists.")),dl[t]}var mI=1,wI=800,CI=900,_I=1e3,QI=2e3,FI=5e3,Ty=1e3,xI=1100,fh=2e3,Dy=3e3,EI=4e3,gl=4500,UI=4600,SI=5e3,bI=6e3,Ly=7e3,II={PROCESSOR:{FILTER:_I,SERIES_FILTER:wI,STATISTIC:FI},VISUAL:{LAYOUT:Ty,PROGRESSIVE_LAYOUT:xI,GLOBAL:fh,CHART:Dy,POST_CHART_LAYOUT:UI,COMPONENT:EI,BRUSH:SI,CHART_ITEM:gl,ARIA:bI,DECAL:Ly}},_A="__flagInMainProcess",kA="__pendingUpdate",ch="__needsUpdateStatus",My=/^[a-zA-Z0-9_]+$/,hh="__connectUpdateStatus",Hy=0,TI=1,DI=2;function Oy(t){return function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(this.isDisposed()){WA(this.id);return}return Py(this,t,e)}}function Ry(t){return function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];return Py(this,t,e)}}function Py(t,e,A){return A[0]=A[0]&&A[0].toLowerCase(),dt.prototype[e].apply(t,A)}var Ny=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(dt),ky=Ny.prototype;ky.on=Ry("on"),ky.off=Ry("off");var _i,vh,pl,mr,dh,gh,ph,Pa,Na,Ky,Vy,Bh,Gy,Bl,zy,Wy,st,Yy,Xy=function(t){Z(e,t);function e(A,r,n){var i=t.call(this,new Hb)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},ae(r)&&(r=Zy[r]),i._dom=A;var a="canvas",o="auto",s=!1;if(process.env.NODE_ENV!=="production"){var l=Qe.hasGlobalWindow?window:global;l&&(a=ye(l.__ECHARTS__DEFAULT__RENDERER__,a),o=ye(l.__ECHARTS__DEFAULT__COARSE_POINTER,o),s=ye(l.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,s))}n.ssr;var u=i._zr=bg(A,{renderer:n.renderer||a,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:ye(n.useDirtyRect,s),useCoarsePointer:ye(n.useCoarsePointer,o),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=ih(pe(u.flush,u),17),r=Ee(r),r&&B0(r,!0),i._theme=r,i._locale=HU(n.locale||MB),i._coordSysMgr=new kc;var f=i._api=zy(i);function c(h,v){return h.__prio-v.__prio}return Lo(ml,c),Lo(mh,c),i._scheduler=new ay(i,f,mh,ml),i._messageCenter=new Ny,i._initEvents(),i.resize=pe(i.resize,i),u.animation.on("frame",i._onframe,i),Ky(u,i),Vy(u,i),Vu(i),i}return e.prototype._onframe=function(){if(!this._disposed){Yy(this);var A=this._scheduler;if(this[kA]){var r=this[kA].silent;this[_A]=!0;try{_i(this),mr.update.call(this,null,this[kA].updateParams)}catch(s){throw this[_A]=!1,this[kA]=null,s}this._zr.flush(),this[_A]=!1,this[kA]=null,Pa.call(this,r),Na.call(this,r)}else if(A.unfinished){var n=mI,i=this._model,a=this._api;A.unfinished=!1;do{var o=+new Date;A.performSeriesTasks(i),A.performDataProcessorTasks(i),gh(this,i),A.performVisualTasks(i),Bl(this,this._model,a,"remain",{}),n-=+new Date-o}while(n>0&&A.unfinished);A.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(A,r,n){if(this[_A]){process.env.NODE_ENV!=="production"&&pA("`setOption` should not be called during main process.");return}if(this._disposed){WA(this.id);return}var i,a,o;if(fe(r)&&(n=r.lazyUpdate,i=r.silent,a=r.replaceMerge,o=r.transition,r=r.notMerge),this[_A]=!0,!this._model||r){var s=new BS(this._api),l=this._theme,u=this._model=new u0;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(A,{replaceMerge:a},wh);var f={seriesTransition:o,optionChanged:!0};if(n)this[kA]={silent:i,updateParams:f},this[_A]=!1,this.getZr().wakeUp();else{try{_i(this),mr.update.call(this,null,f)}catch(c){throw this[kA]=null,this[_A]=!1,c}this._ssr||this._zr.flush(),this[kA]=null,this[_A]=!1,Pa.call(this,i),Na.call(this,i)}},e.prototype.setTheme=function(){pt("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Qe.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(A){return process.env.NODE_ENV!=="production"&&lA("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(A)},e.prototype.renderToCanvas=function(A){A=A||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return r.getRenderedCanvas({backgroundColor:A.backgroundColor||this._model.get("backgroundColor"),pixelRatio:A.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(A){A=A||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return r.renderToString({useViewBox:A.useViewBox})},e.prototype.getSvgDataURL=function(){if(Qe.svgSupported){var A=this._zr,r=A.storage.getDisplayList();return S(r,function(n){n.stopAnimation(null,!0)}),A.painter.toDataURL()}},e.prototype.getDataURL=function(A){if(this._disposed){WA(this.id);return}A=A||{};var r=A.excludeComponents,n=this._model,i=[],a=this;S(r,function(s){n.eachComponent({mainType:s},function(l){var u=a._componentsMap[l.__viewId];u.group.ignore||(i.push(u),u.group.ignore=!0)})});var o=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(A).toDataURL("image/"+(A&&A.type||"png"));return S(i,function(s){s.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(A){if(this._disposed){WA(this.id);return}var r=A.type==="svg",n=this.group,i=Math.min,a=Math.max,o=1/0;if(Jy[n]){var s=o,l=o,u=-o,f=-o,c=[],h=A&&A.pixelRatio||this.getDevicePixelRatio();S(Ka,function(y,m){if(y.group===n){var _=r?y.getZr().painter.getSvgDom().innerHTML:y.renderToCanvas(Ee(A)),C=y.getDom().getBoundingClientRect();s=i(C.left,s),l=i(C.top,l),u=a(C.right,u),f=a(C.bottom,f),c.push({dom:_,left:C.left,top:C.top})}}),s*=h,l*=h,u*=h,f*=h;var v=u-s,d=f-l,g=On.createCanvas(),p=bg(g,{renderer:r?"svg":"canvas"});if(p.resize({width:v,height:d}),r){var B="";return S(c,function(y){var m=y.left-s,_=y.top-l;B+='<g transform="translate('+m+","+_+')">'+y.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=B,A.connectedBackgroundColor&&p.painter.setBackgroundColor(A.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}else return A.connectedBackgroundColor&&p.add(new Ze({shape:{x:0,y:0,width:v,height:d},style:{fill:A.connectedBackgroundColor}})),S(c,function(y){var m=new nn({style:{x:y.left*h-s,y:y.top*h-l,image:y.dom}});p.add(m)}),p.refreshImmediately(),g.toDataURL("image/"+(A&&A.type||"png"))}else return this.getDataURL(A)},e.prototype.convertToPixel=function(A,r){return dh(this,"convertToPixel",A,r)},e.prototype.convertFromPixel=function(A,r){return dh(this,"convertFromPixel",A,r)},e.prototype.containPixel=function(A,r){if(this._disposed){WA(this.id);return}var n=this._model,i,a=Pf(n,A);return S(a,function(o,s){s.indexOf("Models")>=0&&S(o,function(l){var u=l.coordinateSystem;if(u&&u.containPoint)i=i||!!u.containPoint(r);else if(s==="seriesModels"){var f=this._chartsMap[l.__viewId];f&&f.containPoint?i=i||f.containPoint(r,l):process.env.NODE_ENV!=="production"&&gA(s+": "+(f?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&gA(s+": containPoint is not supported")},this)},this),!!i},e.prototype.getVisual=function(A,r){var n=this._model,i=Pf(n,A,{defaultMainType:"series"}),a=i.seriesModel;process.env.NODE_ENV!=="production"&&(a||gA("There is no specified series model"));var o=a.getData(),s=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return s!=null?Pb(o,s,r):Nb(o,r)},e.prototype.getViewOfComponentModel=function(A){return this._componentsMap[A.__viewId]},e.prototype.getViewOfSeriesModel=function(A){return this._chartsMap[A.__viewId]},e.prototype._initEvents=function(){var A=this;S(LI,function(r){var n=function(i){var a=A.getModel(),o=i.target,s,l=r==="globalout";if(l?s={}:o&&Oa(o,function(v){var d=Te(v);if(d&&d.dataIndex!=null){var g=d.dataModel||a.getSeriesByIndex(d.seriesIndex);return s=g&&g.getDataParams(d.dataIndex,d.dataType,o)||{},!0}else if(d.eventData)return s=Y({},d.eventData),!0},!0),s){var u=s.componentType,f=s.componentIndex;(u==="markLine"||u==="markPoint"||u==="markArea")&&(u="series",f=s.seriesIndex);var c=u&&f!=null&&a.getComponent(u,f),h=c&&A[c.mainType==="series"?"_chartsMap":"_componentsMap"][c.__viewId];process.env.NODE_ENV!=="production"&&!l&&!(c&&h)&&gA("model or view can not be found by params"),s.event=i,s.type=r,A._$eventProcessor.eventInfo={targetEl:o,packedEvent:s,model:c,view:h},A.trigger(r,s)}};n.zrEventfulCallAtLast=!0,A._zr.on(r,n,A)}),S(ka,function(r,n){A._messageCenter.on(n,function(i){this.trigger(n,i)},A)}),S(["selectchanged"],function(r){A._messageCenter.on(r,function(n){this.trigger(r,n)},A)}),kb(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){WA(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){WA(this.id);return}this._disposed=!0;var A=this.getDom();A&&Xg(this.getDom(),_h,"");var r=this,n=r._api,i=r._model;S(r._componentsViews,function(a){a.dispose(i,n)}),S(r._chartsViews,function(a){a.dispose(i,n)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Ka[r.id]},e.prototype.resize=function(A){if(this[_A]){process.env.NODE_ENV!=="production"&&pA("`resize` should not be called during main process.");return}if(this._disposed){WA(this.id);return}this._zr.resize(A);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var n=r.resetOption("media"),i=A&&A.silent;this[kA]&&(i==null&&(i=this[kA].silent),n=!0,this[kA]=null),this[_A]=!0;try{n&&_i(this),mr.update.call(this,{type:"resize",animation:Y({duration:0},A&&A.animation)})}catch(a){throw this[_A]=!1,a}this[_A]=!1,Pa.call(this,i),Na.call(this,i)}},e.prototype.showLoading=function(A,r){if(this._disposed){WA(this.id);return}if(fe(A)&&(r=A,A=""),A=A||"default",this.hideLoading(),!Ch[A]){process.env.NODE_ENV!=="production"&&gA("Loading effects "+A+" not exists.");return}var n=Ch[A](this._api,r),i=this._zr;this._loadingFX=n,i.add(n)},e.prototype.hideLoading=function(){if(this._disposed){WA(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(A){var r=Y({},A);return r.type=ka[A.type],r},e.prototype.dispatchAction=function(A,r){if(this._disposed){WA(this.id);return}if(fe(r)||(r={silent:!!r}),!!yl[A.type]&&this._model){if(this[_A]){this._pendingActions.push(A);return}var n=r.silent;ph.call(this,A,n);var i=r.flush;i?this._zr.flush():i!==!1&&Qe.browser.weChat&&this._throttledZrFlush(),Pa.call(this,n),Na.call(this,n)}},e.prototype.updateLabelLayout=function(){mt.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(A){if(this._disposed){WA(this.id);return}var r=A.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(r);process.env.NODE_ENV!=="production"&&Ce(A.data&&i),i.appendData(A),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){_i=function(f){var c=f._scheduler;c.restorePipelines(f._model),c.prepareStageTasks(),vh(f,!0),vh(f,!1),c.plan()},vh=function(f,c){for(var h=f._model,v=f._scheduler,d=c?f._componentsViews:f._chartsViews,g=c?f._componentsMap:f._chartsMap,p=f._zr,B=f._api,y=0;y<d.length;y++)d[y].__alive=!1;c?h.eachComponent(function(C,Q){C!=="series"&&m(Q)}):h.eachSeries(m);function m(C){var Q=C.__requireNewView;C.__requireNewView=!1;var F="_ec_"+C.id+"_"+C.type,E=!Q&&g[F];if(!E){var U=bt(C.type),x=c?jt.getClass(U.main,U.sub):er.getClass(U.sub);process.env.NODE_ENV!=="production"&&Ce(x,U.sub+" does not exist."),E=new x,E.init(h,B),g[F]=E,d.push(E),p.add(E.group)}C.__viewId=E.__id=F,E.__alive=!0,E.__model=C,E.group.__ecComponentInfo={mainType:C.mainType,index:C.componentIndex},!c&&v.prepareView(E,C,h,B)}for(var y=0;y<d.length;){var _=d[y];_.__alive?y++:(!c&&_.renderTask.dispose(),p.remove(_.group),_.dispose(h,B),d.splice(y,1),g[_.__id]===_&&delete g[_.__id],_.__id=_.group.__ecComponentInfo=null)}},pl=function(f,c,h,v,d){var g=f._model;if(g.setUpdatePayload(h),!v){S([].concat(f._componentsViews).concat(f._chartsViews),_);return}var p={};p[v+"Id"]=h[v+"Id"],p[v+"Index"]=h[v+"Index"],p[v+"Name"]=h[v+"Name"];var B={mainType:v,query:p};d&&(B.subType=d);var y=h.excludeSeriesId,m;y!=null&&(m=Be(),S(UA(y),function(C){var Q=St(C,null);Q!=null&&m.set(Q,!0)})),g&&g.eachComponent(B,function(C){var Q=m&&m.get(C.id)!=null;if(!Q)if(Gp(h))if(C instanceof Bn)h.type===on&&!h.notBlur&&!C.get(["emphasis","disabled"])&&vE(C,h,f._api);else{var F=uc(C.mainType,C.componentIndex,h.name,f._api),E=F.focusSelf,U=F.dispatchers;h.type===on&&E&&!h.notBlur&&lc(C.mainType,C.componentIndex,f._api),U&&S(U,function(x){h.type===on?ys(x):ms(x)})}else cc(h)&&C instanceof Bn&&(pE(C,h,f._api),kp(C),st(f))},f),g&&g.eachComponent(B,function(C){var Q=m&&m.get(C.id)!=null;Q||_(f[v==="series"?"_chartsMap":"_componentsMap"][C.__viewId])},f);function _(C){C&&C.__alive&&C[c]&&C[c](C.__model,g,f._api,h)}},mr={prepareAndUpdate:function(f){_i(this),mr.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,c){var h=this._model,v=this._api,d=this._zr,g=this._coordSysMgr,p=this._scheduler;if(h){h.setUpdatePayload(f),p.restoreData(h,f),p.performSeriesTasks(h),g.create(h,v),p.performDataProcessorTasks(h,f),gh(this,h),g.update(h,v),A(h),p.performVisualTasks(h,f),Bh(this,h,v,f,c);var B=h.get("backgroundColor")||"transparent",y=h.get("darkMode");d.setBackgroundColor(B),y!=null&&y!=="auto"&&d.setDarkMode(y),mt.trigger("afterupdate",h,v)}},updateTransform:function(f){var c=this,h=this._model,v=this._api;if(h){h.setUpdatePayload(f);var d=[];h.eachComponent(function(p,B){if(p!=="series"){var y=c.getViewOfComponentModel(B);if(y&&y.__alive)if(y.updateTransform){var m=y.updateTransform(B,h,v,f);m&&m.update&&d.push(y)}else d.push(y)}});var g=Be();h.eachSeries(function(p){var B=c._chartsMap[p.__viewId];if(B.updateTransform){var y=B.updateTransform(p,h,v,f);y&&y.update&&g.set(p.uid,1)}else g.set(p.uid,1)}),A(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:g}),Bl(this,h,v,f,{},g),mt.trigger("afterupdate",h,v)}},updateView:function(f){var c=this._model;c&&(c.setUpdatePayload(f),er.markUpdateMethod(f,"updateView"),A(c),this._scheduler.performVisualTasks(c,f,{setDirty:!0}),Bh(this,c,this._api,f,{}),mt.trigger("afterupdate",c,this._api))},updateVisual:function(f){var c=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(v){v.getData().clearAllVisual()}),er.markUpdateMethod(f,"updateVisual"),A(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(v,d){if(v!=="series"){var g=c.getViewOfComponentModel(d);g&&g.__alive&&g.updateVisual(d,h,c._api,f)}}),h.eachSeries(function(v){var d=c._chartsMap[v.__viewId];d.updateVisual(v,h,c._api,f)}),mt.trigger("afterupdate",h,this._api))},updateLayout:function(f){mr.update.call(this,f)}},dh=function(f,c,h,v){if(f._disposed){WA(f.id);return}for(var d=f._model,g=f._coordSysMgr.getCoordinateSystems(),p,B=Pf(d,h),y=0;y<g.length;y++){var m=g[y];if(m[c]&&(p=m[c](d,B,v))!=null)return p}process.env.NODE_ENV!=="production"&&gA("No coordinate system that supports "+c+" found by the given finder.")},gh=function(f,c){var h=f._chartsMap,v=f._scheduler;c.eachSeries(function(d){v.updateStreamModes(d,h[d.__viewId])})},ph=function(f,c){var h=this,v=this.getModel(),d=f.type,g=f.escapeConnect,p=yl[d],B=p.actionInfo,y=(B.update||"update").split(":"),m=y.pop(),_=y[0]!=null&&bt(y[0]);this[_A]=!0;var C=[f],Q=!1;f.batch&&(Q=!0,C=he(f.batch,function(T){return T=He(Y({},T),f),T.batch=null,T}));var F=[],E,U=cc(f),x=Gp(f);if(x&&Np(this._api),S(C,function(T){if(E=p.action(T,h._model,h._api),E=E||Y({},T),E.type=B.event||E.type,F.push(E),x){var D=Nf(f),R=D.queryOptionMap,$=D.mainTypeSpecified,G=$?R.keys()[0]:"series";pl(h,m,T,G),st(h)}else U?(pl(h,m,T,"series"),st(h)):_&&pl(h,m,T,_.main,_.sub)}),m!=="none"&&!x&&!U&&!_)try{this[kA]?(_i(this),mr.update.call(this,f),this[kA]=null):mr[m].call(this,f)}catch(T){throw this[_A]=!1,T}if(Q?E={type:B.event||d,escapeConnect:g,batch:F}:E=F[0],this[_A]=!1,!c){var b=this._messageCenter;if(b.trigger(E.type,E),U){var I={type:"selectchanged",escapeConnect:g,selected:BE(v),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};b.trigger(I.type,I)}}},Pa=function(f){for(var c=this._pendingActions;c.length;){var h=c.shift();ph.call(this,h,f)}},Na=function(f){!f&&this.trigger("updated")},Ky=function(f,c){f.on("rendered",function(h){c.trigger("rendered",h),f.animation.isFinished()&&!c[kA]&&!c._scheduler.unfinished&&!c._pendingActions.length&&c.trigger("finished")})},Vy=function(f,c){f.on("mouseover",function(h){var v=h.target,d=Oa(v,oi);d&&(dE(d,h,c._api),st(c))}).on("mouseout",function(h){var v=h.target,d=Oa(v,oi);d&&(gE(d,h,c._api),st(c))}).on("click",function(h){var v=h.target,d=Oa(v,function(B){return Te(B).dataIndex!=null},!0);if(d){var g=d.selected?"unselect":"select",p=Te(d);c._api.dispatchAction({type:g,dataType:p.dataType,dataIndexInside:p.dataIndex,seriesIndex:p.seriesIndex,isFromClick:!0})}})};function A(f){f.clearColorPalette(),f.eachSeries(function(c){c.clearColorPalette()})}function r(f){var c=[],h=[],v=!1;if(f.eachComponent(function(B,y){var m=y.get("zlevel")||0,_=y.get("z")||0,C=y.getZLevelKey();v=v||!!C,(B==="series"?h:c).push({zlevel:m,z:_,idx:y.componentIndex,type:B,key:C})}),v){var d=c.concat(h),g,p;Lo(d,function(B,y){return B.zlevel===y.zlevel?B.z-y.z:B.zlevel-y.zlevel}),S(d,function(B){var y=f.getComponent(B.type,B.idx),m=B.zlevel,_=B.key;g!=null&&(m=Math.max(g,m)),_?(m===g&&_!==p&&m++,p=_):p&&(m===g&&m++,p=""),g=m,y.setZLevel(m)})}}Bh=function(f,c,h,v,d){r(c),Gy(f,c,h,v,d),S(f._chartsViews,function(g){g.__alive=!1}),Bl(f,c,h,v,d),S(f._chartsViews,function(g){g.__alive||g.remove(c,h)})},Gy=function(f,c,h,v,d,g){S(g||f._componentsViews,function(p){var B=p.__model;l(B,p),p.render(B,c,h,v),o(B,p),u(B,p)})},Bl=function(f,c,h,v,d,g){var p=f._scheduler;d=Y(d||{},{updatedSeries:c.getSeries()}),mt.trigger("series:beforeupdate",c,h,d);var B=!1;c.eachSeries(function(y){var m=f._chartsMap[y.__viewId];m.__alive=!0;var _=m.renderTask;p.updatePayload(_,v),l(y,m),g&&g.get(y.uid)&&_.dirty(),_.perform(p.getPerformArgs(_))&&(B=!0),m.group.silent=!!y.get("silent"),a(y,m),kp(y)}),p.unfinished=B||p.unfinished,mt.trigger("series:layoutlabels",c,h,d),mt.trigger("series:transition",c,h,d),c.eachSeries(function(y){var m=f._chartsMap[y.__viewId];o(y,m),u(y,m)}),i(f,c),mt.trigger("series:afterupdate",c,h,d)},st=function(f){f[ch]=!0,f.getZr().wakeUp()},Yy=function(f){f[ch]&&(f.getZr().storage.traverse(function(c){ui(c)||n(c)}),f[ch]=!1)};function n(f){for(var c=[],h=f.currentStates,v=0;v<h.length;v++){var d=h[v];d==="emphasis"||d==="blur"||d==="select"||c.push(d)}f.selected&&f.states.select&&c.push("select"),f.hoverState===vs&&f.states.emphasis?c.push("emphasis"):f.hoverState===hs&&f.states.blur&&c.push("blur"),f.useStates(c)}function i(f,c){var h=f._zr,v=h.storage,d=0;v.traverse(function(g){g.isGroup||d++}),d>c.get("hoverLayerThreshold")&&!Qe.node&&!Qe.worker&&c.eachSeries(function(g){if(!g.preventUsingHoverLayer){var p=f._chartsMap[g.__viewId];p.__alive&&p.eachRendered(function(B){B.states.emphasis&&(B.states.emphasis.hoverLayer=!0)})}})}function a(f,c){var h=f.get("blendMode")||null;c.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function o(f,c){if(!f.preventAutoZ){var h=f.get("z")||0,v=f.get("zlevel")||0;c.eachRendered(function(d){return s(d,h,v,-1/0),!0})}}function s(f,c,h,v){var d=f.getTextContent(),g=f.getTextGuideLine(),p=f.isGroup;if(p)for(var B=f.childrenRef(),y=0;y<B.length;y++)v=Math.max(s(B[y],c,h,v),v);else f.z=c,f.zlevel=h,v=Math.max(f.z2,v);if(d&&(d.z=c,d.zlevel=h,isFinite(v)&&(d.z2=v+2)),g){var m=f.textGuideLineConfig;g.z=c,g.zlevel=h,isFinite(v)&&(g.z2=v+(m&&m.showAbove?1:-1))}return v}function l(f,c){c.eachRendered(function(h){if(!ui(h)){var v=h.getTextContent(),d=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),d&&d.stateTransition&&(d.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function u(f,c){var h=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),d=h.get("duration"),g=d>0?{duration:d,delay:h.get("delay"),easing:h.get("easing")}:null;c.eachRendered(function(p){if(p.states&&p.states.emphasis){if(ui(p))return;if(p instanceof Re&&_E(p),p.__dirty){var B=p.prevStates;B&&p.useStates(B)}if(v){p.stateTransition=g;var y=p.getTextContent(),m=p.getTextGuideLine();y&&(y.stateTransition=g),m&&(m.stateTransition=g)}p.__dirty&&n(p)}})}zy=function(f){return new(function(c){Z(h,c);function h(){return c!==null&&c.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var d=v.__ecComponentInfo;if(d!=null)return f._model.getComponent(d.mainType,d.index);v=v.parent}},h.prototype.enterEmphasis=function(v,d){ys(v,d),st(f)},h.prototype.leaveEmphasis=function(v,d){ms(v,d),st(f)},h.prototype.enterBlur=function(v){hE(v),st(f)},h.prototype.leaveBlur=function(v){Hp(v),st(f)},h.prototype.enterSelect=function(v){Op(v),st(f)},h.prototype.leaveSelect=function(v){Rp(v),st(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},h}(f0))(f)},Wy=function(f){function c(h,v){for(var d=0;d<h.length;d++){var g=h[d];g[hh]=v}}S(ka,function(h,v){f._messageCenter.on(v,function(d){if(Jy[f.group]&&f[hh]!==Hy){if(d&&d.escapeConnect)return;var g=f.makeActionFromEvent(d),p=[];S(Ka,function(B){B!==f&&B.group===f.group&&p.push(B)}),c(p,Hy),S(p,function(B){B[hh]!==TI&&B.dispatchAction(g)}),c(p,DI)}})})}}(),e}(dt),yh=Xy.prototype;yh.on=Oy("on"),yh.off=Oy("off"),yh.one=function(t,e,A){var r=this;pt("ECharts#one is deprecated.");function n(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];e&&e.apply&&e.apply(this,i),r.off(t,n)}this.on.call(this,t,n,A)};var LI=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function WA(t){process.env.NODE_ENV!=="production"&&gA("Instance "+t+" has been disposed")}var yl={},ka={},mh=[],wh=[],ml=[],Zy={},Ch={},Ka={},Jy={},MI=+new Date-0,_h="_echarts_instance_";function HI(t,e,A){var r=!(A&&A.ssr);if(r){if(process.env.NODE_ENV!=="production"&&!t)throw new Error("Initialize failed: invalid dom.");var n=OI(t);if(n)return process.env.NODE_ENV!=="production"&&gA("There is a chart instance already initialized on the dom."),n;process.env.NODE_ENV!=="production"&&Nn(t)&&t.nodeName.toUpperCase()!=="CANVAS"&&(!t.clientWidth&&(!A||A.width==null)||!t.clientHeight&&(!A||A.height==null))&&gA("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var i=new Xy(t,e,A);return i.id="ec_"+MI++,Ka[i.id]=i,r&&Xg(t,_h,i.id),Wy(i),mt.trigger("afterinit",i),i}function OI(t){return Ka[jF(t,_h)]}function $y(t,e){Zy[t]=e}function qy(t){Le(wh,t)<0&&wh.push(t)}function jy(t,e){Fh(mh,t,e,QI)}function RI(t){Qh("afterinit",t)}function PI(t){Qh("afterupdate",t)}function Qh(t,e){mt.on(t,e)}function wn(t,e,A){de(e)&&(A=e,e="");var r=fe(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,!ka[e]&&(Ce(My.test(r)&&My.test(e)),yl[r]||(yl[r]={action:A,actionInfo:t}),ka[e]=r)}function NI(t,e){kc.register(t,e)}function kI(t,e){Fh(ml,t,e,Ty,"layout")}function Cn(t,e){Fh(ml,t,e,Dy,"visual")}var em=[];function Fh(t,e,A,r,n){if((de(e)||fe(e))&&(A=e,e=r),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");S(t,function(a){Ce(a.__raw!==A)})}if(!(Le(em,A)>=0)){em.push(A);var i=ay.wrapStageHandler(A,n);i.__prio=e,i.__raw=A,t.push(i)}}function Am(t,e){Ch[t]=e}function KI(t,e,A){var r=yI("registerMap");r&&r(t,e,A)}var VI=GS;Cn(fh,mb),Cn(gl,wb),Cn(gl,Cb),Cn(fh,Ob),Cn(gl,Rb),Cn(Ly,gI),qy(B0),jy(CI,xS),Am("default",_b),wn({type:on,event:on,update:on},EA),wn({type:gs,event:gs,update:gs},EA),wn({type:ha,event:ha,update:ha},EA),wn({type:ps,event:ps,update:ps},EA),wn({type:va,event:va,update:va},EA),$y("light",Lb),$y("dark",Mb);function Va(t){return t==null?0:t.length||1}function tm(t){return t}var GI=function(){function t(e,A,r,n,i,a){this._old=e,this._new=A,this._oldKeyGetter=r||tm,this._newKeyGetter=n||tm,this.context=i,this._diffModeMultiple=a==="multiple"}return t.prototype.add=function(e){return this._add=e,this},t.prototype.update=function(e){return this._update=e,this},t.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},t.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},t.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},t.prototype.remove=function(e){return this._remove=e,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var e=this._old,A=this._new,r={},n=new Array(e.length),i=new Array(A.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(A,r,i,"_newKeyGetter");for(var a=0;a<e.length;a++){var o=n[a],s=r[o],l=Va(s);if(l>1){var u=s.shift();s.length===1&&(r[o]=s[0]),this._update&&this._update(u,a)}else l===1?(r[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(i,r)},t.prototype._executeMultiple=function(){var e=this._old,A=this._new,r={},n={},i=[],a=[];this._initIndexMap(e,r,i,"_oldKeyGetter"),this._initIndexMap(A,n,a,"_newKeyGetter");for(var o=0;o<i.length;o++){var s=i[o],l=r[s],u=n[s],f=Va(l),c=Va(u);if(f>1&&c===1)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(f===1&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(f===1&&c===1)this._update&&this._update(u,l),n[s]=null;else if(f>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[s]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(a,n)},t.prototype._performRestAdd=function(e,A){for(var r=0;r<e.length;r++){var n=e[r],i=A[n],a=Va(i);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(i[o]);else a===1&&this._add&&this._add(i);A[n]=null}},t.prototype._initIndexMap=function(e,A,r,n){for(var i=this._diffModeMultiple,a=0;a<e.length;a++){var o="_ec_"+this[n](e[a],a);if(i||(r[a]=o),!!A){var s=A[o],l=Va(s);l===0?(A[o]=a,i&&r.push(o)):l===1?A[o]=[s,a]:s.push(a)}}},t}();const zI=GI;var WI=function(){function t(e,A){this._encode=e,this._schema=A}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function YI(t,e){var A={},r=A.encode={},n=Be(),i=[],a=[],o={};S(t.dimensions,function(c){var h=t.getDimensionInfo(c),v=h.coordDim;if(v){process.env.NODE_ENV!=="production"&&Ce(Oc.get(v)==null);var d=h.coordDimIndex;xh(r,v)[d]=c,h.isExtraCoord||(n.set(v,1),ZI(h.type)&&(i[0]=c),xh(o,v)[d]=t.getDimensionIndex(h.name)),h.defaultTooltip&&a.push(c)}Oc.each(function(g,p){var B=xh(r,p),y=h.otherDims[p];y!=null&&y!==!1&&(B[y]=h.name)})});var s=[],l={};n.each(function(c,h){var v=r[h];l[h]=v[0],s=s.concat(v)}),A.dataDimsOnCoord=s,A.dataDimIndicesOnCoord=he(s,function(c){return t.getDimensionInfo(c).storeDimIndex}),A.encodeFirstDimNotExtra=l;var u=r.label;u&&u.length&&(i=u.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=i.slice()),r.defaultedLabel=i,r.defaultedTooltip=a,A.userOutput=new WI(o,e),A}function xh(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function XI(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function ZI(t){return!(t==="ordinal"||t==="time")}var JI=function(){function t(e){this.otherDims={},e!=null&&Y(this,e)}return t}();const wl=JI;var $I=Xe(),qI={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},rm=function(){function t(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=am(this.source)))},t.prototype.getSourceDimensionIndex=function(e){return ye(this._dimNameMap.get(e),-1)},t.prototype.getSourceDimension=function(e){var A=this.source.dimensionsDefine;if(A)return A[e]},t.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,A=C0(this.source),r=!om(e),n="",i=[],a=0,o=0;a<e;a++){var s=void 0,l=void 0,u=void 0,f=this.dimensions[o];if(f&&f.storeDimIndex===a)s=A?f.name:null,l=f.type,u=f.ordinalMeta,o++;else{var c=this.getSourceDimension(a);c&&(s=A?c.name:null,l=c.type)}i.push({property:s,type:l,ordinalMeta:u}),A&&s!=null&&(!f||!f.isCalculationCoord)&&(n+=r?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=qI[l]||"f",u&&(n+=u.uid),n+="$"}var h=this.source,v=[h.seriesLayoutBy,h.startIndex,n].join("$$");return{dimensions:i,hash:v}},t.prototype.makeOutputDimensionNames=function(){for(var e=[],A=0,r=0;A<this._fullDimCount;A++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===A)i.isCalculationCoord||(n=i.name),r++;else{var a=this.getSourceDimension(A);a&&(n=a.name)}e.push(n)}return e},t.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function nm(t){return t instanceof rm}function im(t){for(var e=Be(),A=0;A<(t||[]).length;A++){var r=t[A],n=fe(r)?r.name:r;n!=null&&e.get(n)==null&&e.set(n,A)}return e}function am(t){var e=$I(t);return e.dimNameMap||(e.dimNameMap=im(t.dimensionsDefine))}function om(t){return t>30}var Ga=fe,wr=he,jI=typeof Int32Array>"u"?Array:Int32Array,eT="e\0\0",sm=-1,AT=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],tT=["_approximateExtent"],lm,Cl,za,Qi,Eh,Wa,Uh,rT=function(){function t(e,A){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,n=!1;nm(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,r=e),r=r||["x","y"];for(var i={},a=[],o={},s=!1,l={},u=0;u<r.length;u++){var f=r[u],c=ae(f)?new wl({name:f}):f instanceof wl?f:new wl(f),h=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=h,c.coordDimIndex=0);var v=c.otherDims=c.otherDims||{};a.push(h),i[h]=c,l[h]!=null&&(s=!0),c.createInvertedIndices&&(o[h]=[]),v.itemName===0&&(this._nameDimIdx=u),v.itemId===0&&(this._idDimIdx=u),process.env.NODE_ENV!=="production"&&Ce(n||c.storeDimIndex>=0),n&&(c.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=A,this._invertedIndicesMap=o,this._dimOmitted){var d=this._dimIdxToName=Be();S(a,function(g){d.set(i[g].storeDimIndex,g)})}}return t.prototype.getDimension=function(e){var A=this._recognizeDimIndex(e);if(A==null)return e;if(A=e,!this._dimOmitted)return this.dimensions[A];var r=this._dimIdxToName.get(A);if(r!=null)return r;var n=this._schema.getSourceDimension(A);if(n)return n.name},t.prototype.getDimensionIndex=function(e){var A=this._recognizeDimIndex(e);if(A!=null)return A;if(e==null)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},t.prototype._recognizeDimIndex=function(e){if(ze(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},t.prototype._getStoreDimIndex=function(e){var A=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&A==null)throw new Error("Unknown dimension "+e);return A},t.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},t.prototype._initGetDimensionInfo=function(e){var A=this._dimInfos;this._getDimInfo=e?function(r){return A.hasOwnProperty(r)?A[r]:void 0}:function(r){return A[r]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(e,A){var r=this._dimSummary;if(A==null)return r.encodeFirstDimNotExtra[e];var n=r.encode[e];return n?n[A]:null},t.prototype.mapDimensionsAll=function(e){var A=this._dimSummary,r=A.encode[e];return(r||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(e,A,r){var n=this,i;if(e instanceof $c&&(i=e),!i){var a=this.dimensions,o=Gc(e)||DA(e)?new F0(e,a.length):e;i=new $c;var s=wr(a,function(l){return{type:n._dimInfos[l].type,property:l}});i.initData(o,s,r)}this._store=i,this._nameList=(A||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=YI(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(e){var A=this._store.appendData(e);this._doInit(A[0],A[1])},t.prototype.appendValues=function(e,A){var r=this._store.appendValues(e,A&&A.length),n=r.start,i=r.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),A)for(var o=n;o<i;o++){var s=o-n;this._nameList[o]=A[s],a&&Uh(this,o)}},t.prototype._updateOrdinalMeta=function(){for(var e=this._store,A=this.dimensions,r=0;r<A.length;r++){var n=this._dimInfos[A[r]];n.ordinalMeta&&e.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==Jt&&!e.fillStorage},t.prototype._doInit=function(e,A){if(!(e>=A)){var r=this._store,n=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,a=this._idList,o=n.getSource().sourceFormat,s=o===it;if(s&&!n.pure)for(var l=[],u=e;u<A;u++){var f=n.getItem(u,l);if(!this.hasItemOption&&kF(f)&&(this.hasItemOption=!0),f){var c=f.name;i[u]==null&&c!=null&&(i[u]=St(c,null));var h=f.id;a[u]==null&&h!=null&&(a[u]=St(h,null))}}if(this._shouldMakeIdFromName())for(var u=e;u<A;u++)Uh(this,u);lm(this)}},t.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.setApproximateExtent=function(e,A){A=this.getDimension(A),this._approximateExtent[A]=e.slice()},t.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},t.prototype.setCalculationInfo=function(e,A){Ga(e)?Y(this._calculationInfo,e):this._calculationInfo[e]=A},t.prototype.getName=function(e){var A=this.getRawIndex(e),r=this._nameList[A];return r==null&&this._nameDimIdx!=null&&(r=za(this,this._nameDimIdx,A)),r==null&&(r=""),r},t.prototype._getCategory=function(e,A){var r=this._store.get(e,A),n=this._store.getOrdinalMeta(e);return n?n.categories[r]:r},t.prototype.getId=function(e){return Cl(this,this.getRawIndex(e))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(e,A){var r=this._store,n=this._dimInfos[e];if(n)return r.get(n.storeDimIndex,A)},t.prototype.getByRawIndex=function(e,A){var r=this._store,n=this._dimInfos[e];if(n)return r.getByRawIndex(n.storeDimIndex,A)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},t.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},t.prototype.getValues=function(e,A){var r=this,n=this._store;return re(e)?n.getValues(wr(e,function(i){return r._getStoreDimIndex(i)}),A):n.getValues(e)},t.prototype.hasValue=function(e){for(var A=this._dimSummary.dataDimIndicesOnCoord,r=0,n=A.length;r<n;r++)if(isNaN(this._store.get(A[r],e)))return!1;return!0},t.prototype.indexOfName=function(e){for(var A=0,r=this._store.count();A<r;A++)if(this.getName(A)===e)return A;return-1},t.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},t.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},t.prototype.rawIndexOf=function(e,A){var r=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Do not supported yet");var n=r&&r[A];return n==null||isNaN(n)?sm:n},t.prototype.indicesOfNearest=function(e,A,r){return this._store.indicesOfNearest(this._getStoreDimIndex(e),A,r)},t.prototype.each=function(e,A,r){de(e)&&(r=A,A=e,e=[]);var n=r||this,i=wr(Qi(e),this._getStoreDimIndex,this);this._store.each(i,n?pe(A,n):A)},t.prototype.filterSelf=function(e,A,r){de(e)&&(r=A,A=e,e=[]);var n=r||this,i=wr(Qi(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?pe(A,n):A),this},t.prototype.selectRange=function(e){var A=this,r={},n=Ge(e);return S(n,function(i){var a=A._getStoreDimIndex(i);r[a]=e[i]}),this._store=this._store.selectRange(r),this},t.prototype.mapArray=function(e,A,r){de(e)&&(r=A,A=e,e=[]),r=r||this;var n=[];return this.each(e,function(){n.push(A&&A.apply(this,arguments))},r),n},t.prototype.map=function(e,A,r,n){var i=r||n||this,a=wr(Qi(e),this._getStoreDimIndex,this),o=Wa(this);return o._store=this._store.map(a,i?pe(A,i):A),o},t.prototype.modify=function(e,A,r,n){var i=this,a=r||n||this;process.env.NODE_ENV!=="production"&&S(Qi(e),function(s){var l=i.getDimensionInfo(s);l.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var o=wr(Qi(e),this._getStoreDimIndex,this);this._store.modify(o,a?pe(A,a):A)},t.prototype.downSample=function(e,A,r,n){var i=Wa(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),A,r,n),i},t.prototype.minmaxDownSample=function(e,A){var r=Wa(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),A),r},t.prototype.lttbDownSample=function(e,A){var r=Wa(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),A),r},t.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},t.prototype.getItemModel=function(e){var A=this.hostModel,r=this.getRawDataItem(e);return new mA(r,A,A&&A.ecModel)},t.prototype.diff=function(e){var A=this;return new zI(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(r){return Cl(e,r)},function(r){return Cl(A,r)})},t.prototype.getVisual=function(e){var A=this._visual;return A&&A[e]},t.prototype.setVisual=function(e,A){this._visual=this._visual||{},Ga(e)?Y(this._visual,e):this._visual[e]=A},t.prototype.getItemVisual=function(e,A){var r=this._itemVisuals[e],n=r&&r[A];return n??this.getVisual(A)},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(e,A){var r=this._itemVisuals,n=r[e];n||(n=r[e]={});var i=n[A];return i==null&&(i=this.getVisual(A),re(i)?i=i.slice():Ga(i)&&(i=Y({},i)),n[A]=i),i},t.prototype.setItemVisual=function(e,A,r){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,Ga(A)?Y(n,A):n[A]=r},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(e,A){Ga(e)?Y(this._layout,e):this._layout[e]=A},t.prototype.getLayout=function(e){return this._layout[e]},t.prototype.getItemLayout=function(e){return this._itemLayouts[e]},t.prototype.setItemLayout=function(e,A,r){this._itemLayouts[e]=r?Y(this._itemLayouts[e]||{},A):A},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(e,A){var r=this.hostModel&&this.hostModel.seriesIndex;rE(r,this.dataType,e,A),this._graphicEls[e]=A},t.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},t.prototype.eachItemGraphicEl=function(e,A){S(this._graphicEls,function(r,n){r&&e&&e.call(A,r,n)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:wr(this.dimensions,this._getDimInfo,this),this.hostModel)),Eh(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(e,A){var r=this[e];de(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=r.apply(this,arguments);return A.apply(this,[n].concat(Ku(arguments)))})},t.internalField=function(){lm=function(e){var A=e._invertedIndicesMap;S(A,function(r,n){var i=e._dimInfos[n],a=i.ordinalMeta,o=e._store;if(a){r=A[n]=new jI(a.categories.length);for(var s=0;s<r.length;s++)r[s]=sm;for(var s=0;s<o.count();s++)r[o.get(i.storeDimIndex,s)]=s}})},za=function(e,A,r){return St(e._getCategory(A,r),null)},Cl=function(e,A){var r=e._idList[A];return r==null&&e._idDimIdx!=null&&(r=za(e,e._idDimIdx,A)),r==null&&(r=eT+A),r},Qi=function(e){return re(e)||(e=e!=null?[e]:[]),e},Wa=function(e){var A=new t(e._schema?e._schema:wr(e.dimensions,e._getDimInfo,e),e.hostModel);return Eh(A,e),A},Eh=function(e,A){S(AT.concat(A.__wrappedMethods||[]),function(r){A.hasOwnProperty(r)&&(e[r]=A[r])}),e.__wrappedMethods=A.__wrappedMethods,S(tT,function(r){e[r]=Ee(A[r])}),e._calculationInfo=Y({},A._calculationInfo)},Uh=function(e,A){var r=e._nameList,n=e._idList,i=e._nameDimIdx,a=e._idDimIdx,o=r[A],s=n[A];if(o==null&&i!=null&&(r[A]=o=za(e,i,A)),s==null&&a!=null&&(n[A]=s=za(e,a,A)),s==null&&o!=null){var l=e._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),n[A]=s}}}(),t}();const nT=rT;function iT(t,e){Gc(t)||(t=Wc(t)),e=e||{};var A=e.coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],n=Be(),i=[],a=oT(t,A,r,e.dimensionsCount),o=e.canOmitUnusedDimensions&&om(a),s=r===t.dimensionsDefine,l=s?am(t):im(r),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(t,a));for(var f=Be(u),c=new L0(a),h=0;h<c.length;h++)c[h]=-1;function v(E){var U=c[E];if(U<0){var x=r[E],b=fe(x)?x:{name:x},I=new wl,T=b.name;T!=null&&l.get(T)!=null&&(I.name=I.displayName=T),b.type!=null&&(I.type=b.type),b.displayName!=null&&(I.displayName=b.displayName);var D=i.length;return c[E]=D,I.storeDimIndex=E,i.push(I),I}return i[U]}if(!o)for(var h=0;h<a;h++)v(h);f.each(function(E,U){var x=UA(E).slice();if(x.length===1&&!ae(x[0])&&x[0]<0){f.set(U,!1);return}var b=f.set(U,[]);S(x,function(I,T){var D=ae(I)?l.get(I):I;D!=null&&D<a&&(b[T]=D,g(v(D),U,T))})});var d=0;S(A,function(E){var U,x,b,I;if(ae(E))U=E,I={};else{I=E,U=I.name;var T=I.ordinalMeta;I.ordinalMeta=null,I=Y({},I),I.ordinalMeta=T,x=I.dimsDef,b=I.otherDims,I.name=I.coordDim=I.coordDimIndex=I.dimsDef=I.otherDims=null}var D=f.get(U);if(D!==!1){if(D=UA(D),!D.length)for(var R=0;R<(x&&x.length||1);R++){for(;d<a&&v(d).coordDim!=null;)d++;d<a&&D.push(d++)}S(D,function($,G){var X=v($);if(s&&I.type!=null&&(X.type=I.type),g(He(X,I),U,G),X.name==null&&x){var ie=x[G];!fe(ie)&&(ie={name:ie}),X.name=X.displayName=ie.name,X.defaultTooltip=ie.defaultTooltip}b&&He(X.otherDims,b)})}});function g(E,U,x){Oc.get(U)!=null?E.otherDims[U]=x:(E.coordDim=U,E.coordDimIndex=x,n.set(U,!0))}var p=e.generateCoord,B=e.generateCoordCount,y=B!=null;B=p?B||1:0;var m=p||"value";function _(E){E.name==null&&(E.name=E.coordDim)}if(o)S(i,function(E){_(E)}),i.sort(function(E,U){return E.storeDimIndex-U.storeDimIndex});else for(var C=0;C<a;C++){var Q=v(C),F=Q.coordDim;F==null&&(Q.coordDim=sT(m,n,y),Q.coordDimIndex=0,(!p||B<=0)&&(Q.isExtraCoord=!0),B--),_(Q),Q.type==null&&(t0(t,C)===zA.Must||Q.isExtraCoord&&(Q.otherDims.itemName!=null||Q.otherDims.seriesName!=null))&&(Q.type="ordinal")}return aT(i),new rm({source:t,dimensions:i,fullDimensionCount:a,dimensionOmitted:o})}function aT(t){for(var e=Be(),A=0;A<t.length;A++){var r=t[A],n=r.name,i=e.get(n)||0;i>0&&(r.name=n+(i-1)),i++,e.set(n,i)}}function oT(t,e,A,r){var n=Math.max(t.dimensionsDetectedCount||1,e.length,A.length,r||0);return S(e,function(i){var a;fe(i)&&(a=i.dimsDef)&&(n=Math.max(n,a.length))}),n}function sT(t,e,A){if(A||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}var lT=function(){function t(e){this.coordSysDims=[],this.axisMap=Be(),this.categoryAxisMap=Be(),this.coordSysName=e}return t}();function uT(t){var e=t.get("coordinateSystem"),A=new lT(e),r=fT[e];if(r)return r(t,A,A.axisMap,A.categoryAxisMap),A}var fT={cartesian2d:function(t,e,A,r){var n=t.getReferringComponents("xAxis",HA).models[0],i=t.getReferringComponents("yAxis",HA).models[0];if(process.env.NODE_ENV!=="production"){if(!n)throw new Error('xAxis "'+Nr(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!i)throw new Error('yAxis "'+Nr(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],A.set("x",n),A.set("y",i),Fi(n)&&(r.set("x",n),e.firstCategoryDimIndex=0),Fi(i)&&(r.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,A,r){var n=t.getReferringComponents("singleAxis",HA).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],A.set("single",n),Fi(n)&&(r.set("single",n),e.firstCategoryDimIndex=0)},polar:function(t,e,A,r){var n=t.getReferringComponents("polar",HA).models[0],i=n.findAxisModel("radiusAxis"),a=n.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!a)throw new Error("angleAxis option not found");if(!i)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],A.set("radius",i),A.set("angle",a),Fi(i)&&(r.set("radius",i),e.firstCategoryDimIndex=0),Fi(a)&&(r.set("angle",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(t,e,A,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,A,r){var n=t.ecModel,i=n.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=i.dimensions.slice();S(i.parallelAxisIndex,function(o,s){var l=n.getComponent("parallelAxis",o),u=a[s];A.set(u,l),Fi(l)&&(r.set(u,l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=s))})}};function Fi(t){return t.get("type")==="category"}function cT(t,e,A){A=A||{};var r=A.byIndex,n=A.stackedCoordDimension,i,a,o;hT(e)?i=e:(a=e.schema,i=a.dimensions,o=e.store);var s=!!(t&&t.get("stack")),l,u,f,c;if(S(i,function(B,y){ae(B)&&(i[y]=B={name:B}),s&&!B.isExtraCoord&&(!r&&!l&&B.ordinalMeta&&(l=B),!u&&B.type!=="ordinal"&&B.type!=="time"&&(!n||n===B.coordDim)&&(u=B))}),u&&!r&&!l&&(r=!0),u){f="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var h=u.coordDim,v=u.type,d=0;S(i,function(B){B.coordDim===h&&d++});var g={name:f,coordDim:h,coordDimIndex:d,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},p={name:c,coordDim:c,coordDimIndex:d+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};a?(o&&(g.storeDimIndex=o.ensureCalculationDimension(c,v),p.storeDimIndex=o.ensureCalculationDimension(f,v)),a.appendCalculationDimension(g),a.appendCalculationDimension(p)):(i.push(g),i.push(p))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:r,stackedOverDimension:c,stackResultDimension:f}}function hT(t){return!nm(t.schema)}function xi(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function vT(t,e){return xi(t,e)?t.getCalculationInfo("stackResultDimension"):e}function dT(t,e){var A=t.get("coordinateSystem"),r=kc.get(A),n;return e&&e.coordSysDims&&(n=he(e.coordSysDims,function(i){var a={name:i},o=e.axisMap.get(i);if(o){var s=o.get("type");a.type=XI(s)}return a})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function gT(t,e,A){var r,n;return A&&S(t,function(i,a){var o=i.coordDim,s=A.categoryAxisMap.get(o);s&&(r==null&&(r=a),i.ordinalMeta=s.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&r!=null&&(t[r].otherDims.itemName=0),r}function Sh(t,e,A){A=A||{};var r=e.getSourceManager(),n,i=!1;t?(i=!0,n=Wc(t)):(n=r.getSource(),i=n.sourceFormat===it);var a=uT(e),o=dT(e,a),s=A.useEncodeDefaulter,l=de(s)?s:s?$e(JU,o,e):null,u={coordDimensions:o,generateCoord:A.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!i},f=iT(n,u),c=gT(f.dimensions,A.createInvertedIndices,a),h=i?null:r.getSharedDataStore(f),v=cT(e,{schema:f,store:h}),d=new nT(f,e);d.setCalculationInfo(v);var g=c!=null&&pT(n)?function(p,B,y,m){return m===c?y:this.defaultDimValueGetter(p,B,y,m)}:null;return d.hasItemOption=!1,d.initData(i?n:h,null,g),d}function pT(t){if(t.sourceFormat===it){var e=BT(t.data||[]);return!re(aa(e))}}function BT(t){for(var e=0;e<t.length&&t[e]==null;)e++;return t[e]}var um=function(){function t(e){this._setting=e||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(e){return this._setting[e]},t.prototype.unionExtent=function(e){var A=this._extent;e[0]<A[0]&&(A[0]=e[0]),e[1]>A[1]&&(A[1]=e[1])},t.prototype.unionExtentFromData=function(e,A){this.unionExtent(e.getApproximateExtent(A))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(e,A){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(A)||(r[1]=A)},t.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(e){this._isBlank=e},t}();os(um);const Ar=um;var yT=0,mT=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++yT}return t.createByAxisModel=function(e){var A=e.option,r=A.data,n=r&&he(r,wT);return new t({categories:n,needCollect:!n,deduplication:A.dedplication!==!1})},t.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},t.prototype.parseAndCollect=function(e){var A,r=this._needCollect;if(!ae(e)&&!r)return e;if(r&&!this._deduplication)return A=this.categories.length,this.categories[A]=e,A;var n=this._getOrCreateMap();return A=n.get(e),A==null&&(r?(A=this.categories.length,this.categories[A]=e,n.set(e,A)):A=NaN),A},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Be(this.categories))},t}();function wT(t){return fe(t)&&t.value!=null?t.value:t+""}const bh=mT;function CT(t){var e=Math.pow(10,rs(Math.abs(t))),A=Math.abs(t/e);return A===0||A===1||A===2||A===3||A===5}function Ih(t){return t.type==="interval"||t.type==="log"}function _T(t,e,A,r){var n={},i=t[1]-t[0],a=n.interval=Mg(i/e,!0);A!=null&&a<A&&(a=n.interval=A),r!=null&&a>r&&(a=n.interval=r);var o=n.intervalPrecision=fm(a),s=n.niceTickExtent=[rA(Math.ceil(t[0]/a)*a,o),rA(Math.floor(t[1]/a)*a,o)];return QT(s,t),n}function Th(t){var e=Math.pow(10,rs(t)),A=t/e;return A?A===2?A=3:A===3?A=5:A*=2:A=1,rA(A*e)}function fm(t){return Gt(t)+2}function cm(t,e,A){t[e]=Math.max(Math.min(t[e],A[1]),A[0])}function QT(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),cm(t,0,e),cm(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function _l(t,e){return t>=e[0]&&t<=e[1]}function Ql(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Fl(t,e){return t*(e[1]-e[0])+e[0]}var hm=function(t){Z(e,t);function e(A){var r=t.call(this,A)||this;r.type="ordinal";var n=r.getSetting("ordinalMeta");return n||(n=new bh({})),re(n)&&(n=new bh({categories:he(n,function(i){return fe(i)?i.value:i})})),r._ordinalMeta=n,r._extent=r.getSetting("extent")||[0,n.categories.length-1],r}return e.prototype.parse=function(A){return A==null?NaN:ae(A)?this._ordinalMeta.getOrdinal(A):Math.round(A)},e.prototype.contain=function(A){return A=this.parse(A),_l(A,this._extent)&&this._ordinalMeta.categories[A]!=null},e.prototype.normalize=function(A){return A=this._getTickNumber(this.parse(A)),Ql(A,this._extent)},e.prototype.scale=function(A){return A=Math.round(Fl(A,this._extent)),this.getRawOrdinalNumber(A)},e.prototype.getTicks=function(){for(var A=[],r=this._extent,n=r[0];n<=r[1];)A.push({value:n}),n++;return A},e.prototype.getMinorTicks=function(A){},e.prototype.setSortInfo=function(A){if(A==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=A.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],a=0,o=this._ordinalMeta.categories.length,s=Math.min(o,r.length);a<s;++a){var l=r[a];n[a]=l,i[l]=a}for(var u=0;a<o;++a){for(;i[u]!=null;)u++;n.push(u),i[u]=a}},e.prototype._getTickNumber=function(A){var r=this._ticksByOrdinalNumber;return r&&A>=0&&A<r.length?r[A]:A},e.prototype.getRawOrdinalNumber=function(A){var r=this._ordinalNumbersByTick;return r&&A>=0&&A<r.length?r[A]:A},e.prototype.getLabel=function(A){if(!this.isBlank()){var r=this.getRawOrdinalNumber(A.value),n=this._ordinalMeta.categories[r];return n==null?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(A,r){this.unionExtent(A.getApproximateExtent(r))},e.prototype.isInExtentRange=function(A){return A=this._getTickNumber(A),this._extent[0]<=A&&this._extent[1]>=A},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Ar);Ar.registerClass(hm);const vm=hm;var _n=rA,dm=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type="interval",A._interval=0,A._intervalPrecision=2,A}return e.prototype.parse=function(A){return A},e.prototype.contain=function(A){return _l(A,this._extent)},e.prototype.normalize=function(A){return Ql(A,this._extent)},e.prototype.scale=function(A){return Fl(A,this._extent)},e.prototype.setExtent=function(A,r){var n=this._extent;isNaN(A)||(n[0]=parseFloat(A)),isNaN(r)||(n[1]=parseFloat(r))},e.prototype.unionExtent=function(A){var r=this._extent;A[0]<r[0]&&(r[0]=A[0]),A[1]>r[1]&&(r[1]=A[1]),this.setExtent(r[0],r[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(A){this._interval=A,this._niceExtent=this._extent.slice(),this._intervalPrecision=fm(A)},e.prototype.getTicks=function(A){var r=this._interval,n=this._extent,i=this._niceExtent,a=this._intervalPrecision,o=[];if(!r)return o;var s=1e4;n[0]<i[0]&&(A?o.push({value:_n(i[0]-r,a)}):o.push({value:n[0]}));for(var l=i[0];l<=i[1]&&(o.push({value:l}),l=_n(l+r,a),l!==o[o.length-1].value);)if(o.length>s)return[];var u=o.length?o[o.length-1].value:i[1];return n[1]>u&&(A?o.push({value:_n(u+r,a)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(A){for(var r=this.getTicks(!0),n=[],i=this.getExtent(),a=1;a<r.length;a++){for(var o=r[a],s=r[a-1],l=0,u=[],f=o.value-s.value,c=f/A;l<A-1;){var h=_n(s.value+(l+1)*c);h>i[0]&&h<i[1]&&u.push(h),l++}n.push(u)}return n},e.prototype.getLabel=function(A,r){if(A==null)return"";var n=r&&r.precision;n==null?n=Gt(A.value)||0:n==="auto"&&(n=this._intervalPrecision);var i=_n(A.value,n,!0);return XB(i)},e.prototype.calcNiceTicks=function(A,r,n){A=A||5;var i=this._extent,a=i[1]-i[0];if(isFinite(a)){a<0&&(a=-a,i.reverse());var o=_T(i,A,r,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(A){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var n=Math.abs(r[0]);A.fixMax||(r[1]+=n/2),r[0]-=n/2}else r[1]=1;var i=r[1]-r[0];isFinite(i)||(r[0]=0,r[1]=1),this.calcNiceTicks(A.splitNumber,A.minInterval,A.maxInterval);var a=this._interval;A.fixMin||(r[0]=_n(Math.floor(r[0]/a)*a)),A.fixMax||(r[1]=_n(Math.ceil(r[1]/a)*a))},e.prototype.setNiceExtent=function(A,r){this._niceExtent=[A,r]},e.type="interval",e}(Ar);Ar.registerClass(dm);const Ya=dm;var gm=typeof Float32Array<"u",FT=gm?Float32Array:Array;function tr(t){return re(t)?gm?new Float32Array(t):t:new FT(t)}var xT="__ec_stack_";function Dh(t){return t.get("stack")||xT+t.seriesIndex}function Lh(t){return t.dim+t.index}function pm(t,e){var A=[];return e.eachSeriesByType(t,function(r){ym(r)&&A.push(r)}),A}function ET(t){var e={};S(t,function(s){var l=s.coordinateSystem,u=l.getBaseAxis();if(!(u.type!=="time"&&u.type!=="value"))for(var f=s.getData(),c=u.dim+"_"+u.index,h=f.getDimensionIndex(f.mapDimension(u.dim)),v=f.getStore(),d=0,g=v.count();d<g;++d){var p=v.get(h,d);e[c]?e[c].push(p):e[c]=[p]}});var A={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(n){n.sort(function(s,l){return s-l});for(var i=null,a=1;a<n.length;++a){var o=n[a]-n[a-1];o>0&&(i=i===null?o:Math.min(i,o))}A[r]=i}}return A}function Bm(t){var e=ET(t),A=[];return S(t,function(r){var n=r.coordinateSystem,i=n.getBaseAxis(),a=i.getExtent(),o;if(i.type==="category")o=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var s=i.dim+"_"+i.index,l=e[s],u=Math.abs(a[1]-a[0]),f=i.scale.getExtent(),c=Math.abs(f[1]-f[0]);o=l?u/c*l:u}else{var h=r.getData();o=Math.abs(a[1]-a[0])/h.count()}var v=aA(r.get("barWidth"),o),d=aA(r.get("barMaxWidth"),o),g=aA(r.get("barMinWidth")||(mm(r)?.5:1),o),p=r.get("barGap"),B=r.get("barCategoryGap");A.push({bandWidth:o,barWidth:v,barMaxWidth:d,barMinWidth:g,barGap:p,barCategoryGap:B,axisKey:Lh(i),stackId:Dh(r)})}),UT(A)}function UT(t){var e={};S(t,function(r,n){var i=r.axisKey,a=r.bandWidth,o=e[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},s=o.stacks;e[i]=o;var l=r.stackId;s[l]||o.autoWidthCount++,s[l]=s[l]||{width:0,maxWidth:0};var u=r.barWidth;u&&!s[l].width&&(s[l].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var f=r.barMaxWidth;f&&(s[l].maxWidth=f);var c=r.barMinWidth;c&&(s[l].minWidth=c);var h=r.barGap;h!=null&&(o.gap=h);var v=r.barCategoryGap;v!=null&&(o.categoryGap=v)});var A={};return S(e,function(r,n){A[n]={};var i=r.stacks,a=r.bandWidth,o=r.categoryGap;if(o==null){var s=Ge(i).length;o=Math.max(35-s*4,15)+"%"}var l=aA(o,a),u=aA(r.gap,1),f=r.remainedWidth,c=r.autoWidthCount,h=(f-l)/(c+(c-1)*u);h=Math.max(h,0),S(i,function(p){var B=p.maxWidth,y=p.minWidth;if(p.width){var m=p.width;B&&(m=Math.min(m,B)),y&&(m=Math.max(m,y)),p.width=m,f-=m+u*m,c--}else{var m=h;B&&B<m&&(m=Math.min(B,f)),y&&y>m&&(m=y),m!==h&&(p.width=m,f-=m+u*m,c--)}}),h=(f-l)/(c+(c-1)*u),h=Math.max(h,0);var v=0,d;S(i,function(p,B){p.width||(p.width=h),d=p,v+=p.width*(1+u)}),d&&(v-=d.width*u);var g=-v/2;S(i,function(p,B){A[n][B]=A[n][B]||{bandWidth:a,offset:g,width:p.width},g+=p.width*(1+u)})}),A}function ST(t,e,A){if(t&&e){var r=t[Lh(e)];return r!=null&&A!=null?r[Dh(A)]:r}}function bT(t,e){var A=pm(t,e),r=Bm(A);S(A,function(n){var i=n.getData(),a=n.coordinateSystem,o=a.getBaseAxis(),s=Dh(n),l=r[Lh(o)][s],u=l.offset,f=l.width;i.setLayout({bandWidth:l.bandWidth,offset:u,size:f})})}function IT(t){return{seriesType:t,plan:rh(),reset:function(e){if(ym(e)){var A=e.getData(),r=e.coordinateSystem,n=r.getBaseAxis(),i=r.getOtherAxis(n),a=A.getDimensionIndex(A.mapDimension(i.dim)),o=A.getDimensionIndex(A.mapDimension(n.dim)),s=e.get("showBackground",!0),l=A.mapDimension(i.dim),u=A.getCalculationInfo("stackResultDimension"),f=xi(A,l)&&!!A.getCalculationInfo("stackedOnSeries"),c=i.isHorizontal(),h=TT(n,i),v=mm(e),d=e.get("barMinHeight")||0,g=u&&A.getDimensionIndex(u),p=A.getLayout("size"),B=A.getLayout("offset");return{progress:function(y,m){for(var _=y.count,C=v&&tr(_*3),Q=v&&s&&tr(_*3),F=v&&tr(_),E=r.master.getRect(),U=c?E.width:E.height,x,b=m.getStore(),I=0;(x=y.next())!=null;){var T=b.get(f?g:a,x),D=b.get(o,x),R=h,$=void 0;f&&($=+T-b.get(a,x));var G=void 0,X=void 0,ie=void 0,ve=void 0;if(c){var O=r.dataToPoint([T,D]);if(f){var N=r.dataToPoint([$,D]);R=N[0]}G=R,X=O[1]+B,ie=O[0]-R,ve=p,Math.abs(ie)<d&&(ie=(ie<0?-1:1)*d)}else{var O=r.dataToPoint([D,T]);if(f){var N=r.dataToPoint([D,$]);R=N[1]}G=O[0]+B,X=R,ie=p,ve=O[1]-R,Math.abs(ve)<d&&(ve=(ve<=0?-1:1)*d)}v?(C[I]=G,C[I+1]=X,C[I+2]=c?ie:ve,Q&&(Q[I]=c?E.x:G,Q[I+1]=c?X:E.y,Q[I+2]=U),F[x]=x):m.setItemLayout(x,{x:G,y:X,width:ie,height:ve}),I+=3}v&&m.setLayout({largePoints:C,largeDataIndices:F,largeBackgroundPoints:Q,valueAxisHorizontal:c})}}}}}}function ym(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function mm(t){return t.pipelineContext&&t.pipelineContext.large}function TT(t,e){var A=e.model.get("startValue");return A||(A=0),e.toGlobalCoord(e.dataToCoord(e.type==="log"?A>0?A:1:A))}var DT=function(t,e,A,r){for(;A<r;){var n=A+r>>>1;t[n][1]<e?A=n+1:r=n}return A},wm=function(t){Z(e,t);function e(A){var r=t.call(this,A)||this;return r.type="time",r}return e.prototype.getLabel=function(A){var r=this.getSetting("useUTC");return Vs(A.value,RB[NU(hi(this._minLevelUnit))]||RB.second,r,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(A,r,n){var i=this.getSetting("useUTC"),a=this.getSetting("locale");return kU(A,r,n,a,i)},e.prototype.getTicks=function(){var A=this._interval,r=this._extent,n=[];if(!A)return n;n.push({value:r[0],level:0});var i=this.getSetting("useUTC"),a=NT(this._minLevelUnit,this._approxInterval,i,r);return n=n.concat(a),n.push({value:r[1],level:0}),n},e.prototype.calcNiceExtent=function(A){var r=this._extent;if(r[0]===r[1]&&(r[0]-=nt,r[1]+=nt),r[1]===-1/0&&r[0]===1/0){var n=new Date;r[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),r[0]=r[1]-nt}this.calcNiceTicks(A.splitNumber,A.minInterval,A.maxInterval)},e.prototype.calcNiceTicks=function(A,r,n){A=A||10;var i=this._extent,a=i[1]-i[0];this._approxInterval=a/A,r!=null&&this._approxInterval<r&&(this._approxInterval=r),n!=null&&this._approxInterval>n&&(this._approxInterval=n);var o=xl.length,s=Math.min(DT(xl,this._approxInterval,0,o),o-1);this._interval=xl[s][1],this._minLevelUnit=xl[Math.max(s-1,0)][0]},e.prototype.parse=function(A){return ze(A)?A:+zt(A)},e.prototype.contain=function(A){return _l(this.parse(A),this._extent)},e.prototype.normalize=function(A){return Ql(this.parse(A),this._extent)},e.prototype.scale=function(A){return Fl(A,this._extent)},e.type="time",e}(Ya),xl=[["second",bc],["minute",Ic],["hour",wa],["quarter-day",wa*6],["half-day",wa*12],["day",nt*1.2],["half-week",nt*3.5],["week",nt*7],["month",nt*31],["quarter",nt*95],["half-year",OB/2],["year",OB]];function LT(t,e,A,r){var n=zt(e),i=zt(A),a=function(v){return kB(n,v,r)===kB(i,v,r)},o=function(){return a("year")},s=function(){return o()&&a("month")},l=function(){return s()&&a("day")},u=function(){return l()&&a("hour")},f=function(){return u()&&a("minute")},c=function(){return f()&&a("second")},h=function(){return c()&&a("millisecond")};switch(t){case"year":return o();case"month":return s();case"day":return l();case"hour":return u();case"minute":return f();case"second":return c();case"millisecond":return h()}}function MT(t,e){return t/=nt,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function HT(t){var e=30*nt;return t/=e,t>6?6:t>3?3:t>2?2:1}function OT(t){return t/=wa,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function Cm(t,e){return t/=e?Ic:bc,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function RT(t){return Mg(t,!0)}function PT(t,e,A){var r=new Date(t);switch(hi(e)){case"year":case"month":r[KB(A)](0);case"day":r[VB(A)](1);case"hour":r[GB(A)](0);case"minute":r[zB(A)](0);case"second":r[WB(A)](0),r[YB(A)](0)}return r.getTime()}function NT(t,e,A,r){var n=1e4,i=PB,a=0;function o(U,x,b,I,T,D,R){for(var $=new Date(x),G=x,X=$[I]();G<b&&G<=r[1];)R.push({value:G}),X+=U,$[T](X),G=$.getTime();R.push({value:G,notAdd:!0})}function s(U,x,b){var I=[],T=!x.length;if(!LT(hi(U),r[0],r[1],A)){T&&(x=[{value:PT(new Date(r[0]),U,A)},{value:r[1]}]);for(var D=0;D<x.length-1;D++){var R=x[D].value,$=x[D+1].value;if(R!==$){var G=void 0,X=void 0,ie=void 0,ve=!1;switch(U){case"year":G=Math.max(1,Math.round(e/nt/365)),X=Dc(A),ie=KU(A);break;case"half-year":case"quarter":case"month":G=HT(e),X=vi(A),ie=KB(A);break;case"week":case"half-week":case"day":G=MT(e),X=Gs(A),ie=VB(A),ve=!0;break;case"half-day":case"quarter-day":case"hour":G=OT(e),X=_a(A),ie=GB(A);break;case"minute":G=Cm(e,!0),X=zs(A),ie=zB(A);break;case"second":G=Cm(e,!1),X=Ws(A),ie=WB(A);break;case"millisecond":G=RT(e),X=Ys(A),ie=YB(A);break}o(G,R,$,X,ie,ve,I),U==="year"&&b.length>1&&D===0&&b.unshift({value:b[0].value-G})}}for(var D=0;D<I.length;D++)b.push(I[D]);return I}}for(var l=[],u=[],f=0,c=0,h=0;h<i.length&&a++<n;++h){var v=hi(i[h]);if(PU(i[h])){s(i[h],l[l.length-1]||[],u);var d=i[h+1]?hi(i[h+1]):null;if(v!==d){if(u.length){c=f,u.sort(function(U,x){return U.value-x.value});for(var g=[],p=0;p<u.length;++p){var B=u[p].value;(p===0||u[p-1].value!==B)&&(g.push(u[p]),B>=r[0]&&B<=r[1]&&f++)}var y=(r[1]-r[0])/e;if(f>y*1.5&&c>y/1.5||(l.push(g),f>y||t===i[h]))break}u=[]}}}process.env.NODE_ENV!=="production"&&a>=n&&gA("Exceed safe limit.");for(var m=tA(he(l,function(U){return tA(U,function(x){return x.value>=r[0]&&x.value<=r[1]&&!x.notAdd})}),function(U){return U.length>0}),_=[],C=m.length-1,h=0;h<m.length;++h)for(var Q=m[h],F=0;F<Q.length;++F)_.push({value:Q[F].value,level:C-h});_.sort(function(U,x){return U.value-x.value});for(var E=[],h=0;h<_.length;++h)(h===0||_[h].value!==_[h-1].value)&&E.push(_[h]);return E}Ar.registerClass(wm);const kT=wm;var _m=Ar.prototype,Xa=Ya.prototype,KT=rA,VT=Math.floor,GT=Math.ceil,El=Math.pow,wt=Math.log,Mh=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type="log",A.base=10,A._originalScale=new Ya,A._interval=0,A}return e.prototype.getTicks=function(A){var r=this._originalScale,n=this._extent,i=r.getExtent(),a=Xa.getTicks.call(this,A);return he(a,function(o){var s=o.value,l=rA(El(this.base,s));return l=s===n[0]&&this._fixMin?Ul(l,i[0]):l,l=s===n[1]&&this._fixMax?Ul(l,i[1]):l,{value:l}},this)},e.prototype.setExtent=function(A,r){var n=wt(this.base);A=wt(Math.max(0,A))/n,r=wt(Math.max(0,r))/n,Xa.setExtent.call(this,A,r)},e.prototype.getExtent=function(){var A=this.base,r=_m.getExtent.call(this);r[0]=El(A,r[0]),r[1]=El(A,r[1]);var n=this._originalScale,i=n.getExtent();return this._fixMin&&(r[0]=Ul(r[0],i[0])),this._fixMax&&(r[1]=Ul(r[1],i[1])),r},e.prototype.unionExtent=function(A){this._originalScale.unionExtent(A);var r=this.base;A[0]=wt(A[0])/wt(r),A[1]=wt(A[1])/wt(r),_m.unionExtent.call(this,A)},e.prototype.unionExtentFromData=function(A,r){this.unionExtent(A.getApproximateExtent(r))},e.prototype.calcNiceTicks=function(A){A=A||10;var r=this._extent,n=r[1]-r[0];if(!(n===1/0||n<=0)){var i=HF(n),a=A/n*i;for(a<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[rA(GT(r[0]/i)*i),rA(VT(r[1]/i)*i)];this._interval=i,this._niceExtent=o}},e.prototype.calcNiceExtent=function(A){Xa.calcNiceExtent.call(this,A),this._fixMin=A.fixMin,this._fixMax=A.fixMax},e.prototype.parse=function(A){return A},e.prototype.contain=function(A){return A=wt(A)/wt(this.base),_l(A,this._extent)},e.prototype.normalize=function(A){return A=wt(A)/wt(this.base),Ql(A,this._extent)},e.prototype.scale=function(A){return A=Fl(A,this._extent),El(this.base,A)},e.type="log",e}(Ar),Qm=Mh.prototype;Qm.getMinorTicks=Xa.getMinorTicks,Qm.getLabel=Xa.getLabel;function Ul(t,e){return KT(t,Gt(e))}Ar.registerClass(Mh);const zT=Mh;var WT=function(){function t(e,A,r){this._prepareParams(e,A,r)}return t.prototype._prepareParams=function(e,A,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var n=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&A.getNeedCrossZero&&A.getNeedCrossZero();var i=A.get("min",!0);i==null&&(i=A.get("startValue",!0));var a=this._modelMinRaw=i;de(a)?this._modelMinNum=Sl(e,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=Sl(e,a));var o=this._modelMaxRaw=A.get("max",!0);if(de(o)?this._modelMaxNum=Sl(e,o({min:r[0],max:r[1]})):o!=="dataMax"&&(this._modelMaxNum=Sl(e,o)),n)this._axisDataLen=A.getCategories().length;else{var s=A.get("boundaryGap"),l=re(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[cr(l[0],1),cr(l[1],1)]}},t.prototype.calculate=function(){var e=this._isOrdinal,A=this._dataMin,r=this._dataMax,n=this._axisDataLen,i=this._boundaryGapInner,a=e?null:r-A||Math.abs(A),o=this._modelMinRaw==="dataMin"?A:this._modelMinNum,s=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,l=o!=null,u=s!=null;o==null&&(o=e?n?0:NaN:A-i[0]*a),s==null&&(s=e?n?n-1:NaN:r+i[1]*a),(o==null||!isFinite(o))&&(o=NaN),(s==null||!isFinite(s))&&(s=NaN);var f=zi(o)||zi(s)||e&&!n;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var c=this._determinedMin,h=this._determinedMax;return c!=null&&(o=c,l=!0),h!=null&&(s=h,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:f}},t.prototype.modifyDataMinMax=function(e,A){process.env.NODE_ENV!=="production"&&Ce(!this.frozen),this[XT[e]]=A},t.prototype.setDeterminedMinMax=function(e,A){var r=YT[e];process.env.NODE_ENV!=="production"&&Ce(!this.frozen&&this[r]==null),this[r]=A},t.prototype.freeze=function(){this.frozen=!0},t}(),YT={min:"_determinedMin",max:"_determinedMax"},XT={min:"_dataMin",max:"_dataMax"};function Fm(t,e,A){var r=t.rawExtentInfo;return r||(r=new WT(t,e,A),t.rawExtentInfo=r,r)}function Sl(t,e){return e==null?null:zi(e)?NaN:t.parse(e)}function xm(t,e){var A=t.type,r=Fm(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var n=r.min,i=r.max,a=e.ecModel;if(a&&A==="time"){var o=pm("bar",a),s=!1;if(S(o,function(f){s=s||f.getBaseAxis()===e.axis}),s){var l=Bm(o),u=ZT(n,i,e,l);n=u.min,i=u.max}}return{extent:[n,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function ZT(t,e,A,r){var n=A.axis.getExtent(),i=Math.abs(n[1]-n[0]),a=ST(r,A.axis);if(a===void 0)return{min:t,max:e};var o=1/0;S(a,function(h){o=Math.min(h.offset,o)});var s=-1/0;S(a,function(h){s=Math.max(h.offset+h.width,s)}),o=Math.abs(o),s=Math.abs(s);var l=o+s,u=e-t,f=1-(o+s)/i,c=u/f-u;return e+=c*(s/l),t-=c*(o/l),{min:t,max:e}}function Em(t,e){var A=e,r=xm(t,A),n=r.extent,i=A.get("splitNumber");t instanceof zT&&(t.base=A.get("logBase"));var a=t.type,o=A.get("interval"),s=a==="interval"||a==="time";t.setExtent(n[0],n[1]),t.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?A.get("minInterval"):null,maxInterval:s?A.get("maxInterval"):null}),o!=null&&t.setInterval&&t.setInterval(o)}function JT(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new vm({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new kT({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Ar.getClass(e)||Ya)}}function $T(t){var e=t.scale.getExtent(),A=e[0],r=e[1];return!(A>0&&r>0||A<0&&r<0)}function Ei(t){var e=t.getLabelModel().get("formatter"),A=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(r){return function(n,i){return t.scale.getFormattedLabel(n,i,r)}}(e):ae(e)?function(r){return function(n){var i=t.scale.getLabel(n),a=r.replace("{value}",i??"");return a}}(e):de(e)?function(r){return function(n,i){return A!=null&&(i=n.value-A),r(Hh(t,n),i,n.level!=null?{level:n.level}:null)}}(e):function(r){return t.scale.getLabel(r)}}function Hh(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function qT(t){var e=t.model,A=t.scale;if(!(!e.get(["axisLabel","show"])||A.isBlank())){var r,n,i=A.getExtent();A instanceof vm?n=A.count():(r=A.getTicks(),n=r.length);var a=t.getLabelModel(),o=Ei(t),s,l=1;n>40&&(l=Math.ceil(n/40));for(var u=0;u<n;u+=l){var f=r?r[u]:{value:i[0]+u},c=o(f,u),h=a.getTextRect(c),v=jT(h,a.get("rotate")||0);s?s.union(v):s=v}return s}}function jT(t,e){var A=e*Math.PI/180,r=t.width,n=t.height,i=r*Math.abs(Math.cos(A))+Math.abs(n*Math.sin(A)),a=r*Math.abs(Math.sin(A))+Math.abs(n*Math.cos(A)),o=new Me(t.x,t.y,i,a);return o}function Oh(t){var e=t.get("interval");return e??"auto"}function Um(t){return t.type==="category"&&Oh(t.getLabelModel())===0}function Sm(t,e){var A={};return S(t.mapDimensionsAll(e),function(r){A[vT(t,r)]=!0}),Ge(A)}function eD(t,e,A){e&&S(Sm(e,A),function(r){var n=e.getApproximateExtent(r);n[0]<t[0]&&(t[0]=n[0]),n[1]>t[1]&&(t[1]=n[1])})}var AD=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),bm=[],tD={registerPreprocessor:qy,registerProcessor:jy,registerPostInit:RI,registerPostUpdate:PI,registerUpdateLifecycle:Qh,registerAction:wn,registerCoordinateSystem:NI,registerLayout:kI,registerVisual:Cn,registerTransform:VI,registerLoading:Am,registerMap:KI,registerImpl:BI,PRIORITY:II,ComponentModel:Ke,ComponentView:jt,SeriesModel:Bn,ChartView:er,registerComponentModel:function(t){Ke.registerClass(t)},registerComponentView:function(t){jt.registerClass(t)},registerSeriesModel:function(t){Bn.registerClass(t)},registerChartView:function(t){er.registerClass(t)},registerSubTypeDefaulter:function(t,e){Ke.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){TF(t,e)}};function Ht(t){if(re(t)){S(t,function(e){Ht(e)});return}Le(bm,t)>=0||(bm.push(t),de(t)&&(t={install:t}),t.install(tD))}var Za=Xe();function Im(t,e){var A=he(e,function(r){return t.scale.parse(r)});return t.type==="time"&&A.length>0&&(A.sort(),A.unshift(A[0]),A.push(A[A.length-1])),A}function rD(t){var e=t.getLabelModel().get("customValues");if(e){var A=Ei(t),r=t.scale.getExtent(),n=Im(t,e),i=tA(n,function(a){return a>=r[0]&&a<=r[1]});return{labels:he(i,function(a){var o={value:a};return{formattedLabel:A(o),rawLabel:t.scale.getLabel(o),tickValue:a}})}}return t.type==="category"?iD(t):oD(t)}function nD(t,e){var A=t.getTickModel().get("customValues");if(A){var r=t.scale.getExtent(),n=Im(t,A);return{ticks:tA(n,function(i){return i>=r[0]&&i<=r[1]})}}return t.type==="category"?aD(t,e):{ticks:he(t.scale.getTicks(),function(i){return i.value})}}function iD(t){var e=t.getLabelModel(),A=Tm(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:A.labelCategoryInterval}:A}function Tm(t,e){var A=Dm(t,"labels"),r=Oh(e),n=Lm(A,r);if(n)return n;var i,a;return de(r)?i=Om(t,r):(a=r==="auto"?sD(t):r,i=Hm(t,a)),Mm(A,r,{labels:i,labelCategoryInterval:a})}function aD(t,e){var A=Dm(t,"ticks"),r=Oh(e),n=Lm(A,r);if(n)return n;var i,a;if((!e.get("show")||t.scale.isBlank())&&(i=[]),de(r))i=Om(t,r,!0);else if(r==="auto"){var o=Tm(t,t.getLabelModel());a=o.labelCategoryInterval,i=he(o.labels,function(s){return s.tickValue})}else a=r,i=Hm(t,a,!0);return Mm(A,r,{ticks:i,tickCategoryInterval:a})}function oD(t){var e=t.scale.getTicks(),A=Ei(t);return{labels:he(e,function(r,n){return{level:r.level,formattedLabel:A(r,n),rawLabel:t.scale.getLabel(r),tickValue:r.value}})}}function Dm(t,e){return Za(t)[e]||(Za(t)[e]=[])}function Lm(t,e){for(var A=0;A<t.length;A++)if(t[A].key===e)return t[A].value}function Mm(t,e,A){return t.push({key:e,value:A}),A}function sD(t){var e=Za(t).autoInterval;return e??(Za(t).autoInterval=t.calculateCategoryInterval())}function lD(t){var e=uD(t),A=Ei(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,n=t.scale,i=n.getExtent(),a=n.count();if(i[1]-i[0]<1)return 0;var o=1;a>40&&(o=Math.max(1,Math.floor(a/40)));for(var s=i[0],l=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(l*Math.cos(r)),f=Math.abs(l*Math.sin(r)),c=0,h=0;s<=i[1];s+=o){var v=0,d=0,g=bf(A({value:s}),e.font,"center","top");v=g.width*1.3,d=g.height*1.3,c=Math.max(c,v,7),h=Math.max(h,d,7)}var p=c/u,B=h/f;isNaN(p)&&(p=1/0),isNaN(B)&&(B=1/0);var y=Math.max(0,Math.floor(Math.min(p,B))),m=Za(t.model),_=t.getExtent(),C=m.lastAutoInterval,Q=m.lastTickCount;return C!=null&&Q!=null&&Math.abs(C-y)<=1&&Math.abs(Q-a)<=1&&C>y&&m.axisExtent0===_[0]&&m.axisExtent1===_[1]?y=C:(m.lastTickCount=a,m.lastAutoInterval=y,m.axisExtent0=_[0],m.axisExtent1=_[1]),y}function uD(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function Hm(t,e,A){var r=Ei(t),n=t.scale,i=n.getExtent(),a=t.getLabelModel(),o=[],s=Math.max((e||0)+1,1),l=i[0],u=n.count();l!==0&&s>1&&u/s>2&&(l=Math.round(Math.ceil(l/s)*s));var f=Um(t),c=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;c&&l!==i[0]&&d(i[0]);for(var v=l;v<=i[1];v+=s)d(v);h&&v-s!==i[1]&&d(i[1]);function d(g){var p={value:g};o.push(A?g:{formattedLabel:r(p),rawLabel:n.getLabel(p),tickValue:g})}return o}function Om(t,e,A){var r=t.scale,n=Ei(t),i=[];return S(r.getTicks(),function(a){var o=r.getLabel(a),s=a.value;e(a.value,o)&&i.push(A?s:{formattedLabel:n(a),rawLabel:o,tickValue:s})}),i}var Rm=[0,1],fD=function(){function t(e,A,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=A,this._extent=r||[0,0]}return t.prototype.contain=function(e){var A=this._extent,r=Math.min(A[0],A[1]),n=Math.max(A[0],A[1]);return e>=r&&e<=n},t.prototype.containData=function(e){return this.scale.contain(e)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(e){return Dg(e||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(e,A){var r=this._extent;r[0]=e,r[1]=A},t.prototype.dataToCoord=function(e,A){var r=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&n.type==="ordinal"&&(r=r.slice(),Pm(r,n.count())),dA(e,Rm,r,A)},t.prototype.coordToData=function(e,A){var r=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(r=r.slice(),Pm(r,n.count()));var i=dA(e,r,Rm,A);return this.scale.scale(i)},t.prototype.pointToData=function(e,A){},t.prototype.getTicksCoords=function(e){e=e||{};var A=e.tickModel||this.getTickModel(),r=nD(this,A),n=r.ticks,i=he(n,function(o){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(o):o),tickValue:o}},this),a=A.get("alignWithLabel");return cD(this,i,a,e.clamp),i},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),A=e.get("splitNumber");A>0&&A<100||(A=5);var r=this.scale.getMinorTicks(A),n=he(r,function(i){return he(i,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return n},t.prototype.getViewLabels=function(){return rD(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var e=this._extent,A=this.scale.getExtent(),r=A[1]-A[0]+(this.onBand?1:0);r===0&&(r=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/r},t.prototype.calculateCategoryInterval=function(){return lD(this)},t}();function Pm(t,e){var A=t[1]-t[0],r=e,n=A/r/2;t[0]+=n,t[1]-=n}function cD(t,e,A,r){var n=e.length;if(!t.onBand||A||!n)return;var i=t.getExtent(),a,o;if(n===1)e[0].coord=i[0],a=e[1]={coord:i[1],tickValue:e[0].tickValue};else{var s=e[n-1].tickValue-e[0].tickValue,l=(e[n-1].coord-e[0].coord)/s;S(e,function(h){h.coord-=l/2});var u=t.scale.getExtent();o=1+u[1]-e[n-1].tickValue,a={coord:e[n-1].coord+l*o,tickValue:u[1]+1},e.push(a)}var f=i[0]>i[1];c(e[0].coord,i[0])&&(r?e[0].coord=i[0]:e.shift()),r&&c(i[0],e[0].coord)&&e.unshift({coord:i[0]}),c(i[1],a.coord)&&(r?a.coord=i[1]:e.pop()),r&&c(a.coord,i[1])&&e.push({coord:i[1]});function c(h,v){return h=rA(h),v=rA(v),f?h>v:h<v}}const hD=fD;var Ja=Math.PI*2,Qn=dr.CMD,vD=["top","right","bottom","left"];function dD(t,e,A,r,n){var i=A.width,a=A.height;switch(t){case"top":r.set(A.x+i/2,A.y-e),n.set(0,-1);break;case"bottom":r.set(A.x+i/2,A.y+a+e),n.set(0,1);break;case"left":r.set(A.x-e,A.y+a/2),n.set(-1,0);break;case"right":r.set(A.x+i+e,A.y+a/2),n.set(1,0);break}}function gD(t,e,A,r,n,i,a,o,s){a-=t,o-=e;var l=Math.sqrt(a*a+o*o);a/=l,o/=l;var u=a*A+t,f=o*A+e;if(Math.abs(r-n)%Ja<1e-4)return s[0]=u,s[1]=f,l-A;if(i){var c=r;r=Yt(n),n=Yt(c)}else r=Yt(r),n=Yt(n);r>n&&(n+=Ja);var h=Math.atan2(o,a);if(h<0&&(h+=Ja),h>=r&&h<=n||h+Ja>=r&&h+Ja<=n)return s[0]=u,s[1]=f,l-A;var v=A*Math.cos(r)+t,d=A*Math.sin(r)+e,g=A*Math.cos(n)+t,p=A*Math.sin(n)+e,B=(v-a)*(v-a)+(d-o)*(d-o),y=(g-a)*(g-a)+(p-o)*(p-o);return B<y?(s[0]=v,s[1]=d,Math.sqrt(B)):(s[0]=g,s[1]=p,Math.sqrt(y))}function Rh(t,e,A,r,n,i,a,o){var s=n-t,l=i-e,u=A-t,f=r-e,c=Math.sqrt(u*u+f*f);u/=c,f/=c;var h=s*u+l*f,v=h/c;o&&(v=Math.min(Math.max(v,0),1)),v*=c;var d=a[0]=t+v*u,g=a[1]=e+v*f;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function Nm(t,e,A,r,n,i,a){A<0&&(t=t+A,A=-A),r<0&&(e=e+r,r=-r);var o=t+A,s=e+r,l=a[0]=Math.min(Math.max(n,t),o),u=a[1]=Math.min(Math.max(i,e),s);return Math.sqrt((l-n)*(l-n)+(u-i)*(u-i))}var Ct=[];function pD(t,e,A){var r=Nm(e.x,e.y,e.width,e.height,t.x,t.y,Ct);return A.set(Ct[0],Ct[1]),r}function BD(t,e,A){for(var r=0,n=0,i=0,a=0,o,s,l=1/0,u=e.data,f=t.x,c=t.y,h=0;h<u.length;){var v=u[h++];h===1&&(r=u[h],n=u[h+1],i=r,a=n);var d=l;switch(v){case Qn.M:i=u[h++],a=u[h++],r=i,n=a;break;case Qn.L:d=Rh(r,n,u[h],u[h+1],f,c,Ct,!0),r=u[h++],n=u[h++];break;case Qn.C:d=Ag(r,n,u[h++],u[h++],u[h++],u[h++],u[h],u[h+1],f,c,Ct),r=u[h++],n=u[h++];break;case Qn.Q:d=ng(r,n,u[h++],u[h++],u[h],u[h+1],f,c,Ct),r=u[h++],n=u[h++];break;case Qn.A:var g=u[h++],p=u[h++],B=u[h++],y=u[h++],m=u[h++],_=u[h++];h+=1;var C=!!(1-u[h++]);o=Math.cos(m)*B+g,s=Math.sin(m)*y+p,h<=1&&(i=o,a=s);var Q=(f-g)*y/B+g;d=gD(g,p,y,m,m+_,C,Q,c,Ct),r=Math.cos(m+_)*B+g,n=Math.sin(m+_)*y+p;break;case Qn.R:i=r=u[h++],a=n=u[h++];var F=u[h++],E=u[h++];d=Nm(i,a,F,E,f,c,Ct);break;case Qn.Z:d=Rh(r,n,i,a,f,c,Ct,!0),r=i,n=a;break}d<l&&(l=d,A.set(Ct[0],Ct[1]))}return l}var Fn=new Fe,uA=new Fe,YA=new Fe,Ui=new Fe,$a=new Fe;function km(t,e){if(t){var A=t.getTextGuideLine(),r=t.getTextContent();if(r&&A){var n=t.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],a=n.candidates||vD,o=r.getBoundingRect().clone();o.applyTransform(r.getComputedTransform());var s=1/0,l=n.anchor,u=t.getComputedTransform(),f=u&&Io([],u),c=e.get("length2")||0;l&&YA.copy(l);for(var h=0;h<a.length;h++){var v=a[h];dD(v,0,o,Fn,Ui),Fe.scaleAndAdd(uA,Fn,Ui,c),uA.transform(f);var d=t.getBoundingRect(),g=l?l.distance(uA):t instanceof Re?BD(uA,t.path,YA):pD(uA,d,YA);g<s&&(s=g,uA.transform(u),YA.transform(u),YA.toArray(i[0]),uA.toArray(i[1]),Fn.toArray(i[2]))}yD(i,e.get("minTurnAngle")),A.setShape({points:i})}}}var Km=[],xn=new Fe;function yD(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Fn.fromArray(t[0]),uA.fromArray(t[1]),YA.fromArray(t[2]),Fe.sub(Ui,Fn,uA),Fe.sub($a,YA,uA);var A=Ui.len(),r=$a.len();if(!(A<.001||r<.001)){Ui.scale(1/A),$a.scale(1/r);var n=Ui.dot($a),i=Math.cos(e);if(i<n){var a=Rh(uA.x,uA.y,YA.x,YA.y,Fn.x,Fn.y,Km,!1);xn.fromArray(Km),xn.scaleAndAdd($a,a/Math.tan(Math.PI-e));var o=YA.x!==uA.x?(xn.x-uA.x)/(YA.x-uA.x):(xn.y-uA.y)/(YA.y-uA.y);if(isNaN(o))return;o<0?Fe.copy(xn,uA):o>1&&Fe.copy(xn,YA),xn.toArray(t[1])}}}}function Ph(t,e,A,r){var n=A==="normal",i=n?t:t.ensureState(A);i.ignore=e;var a=r.get("smooth");a&&a===!0&&(a=.3),i.shape=i.shape||{},a>0&&(i.shape.smooth=a);var o=r.getModel("lineStyle").getLineStyle();n?t.useStyle(o):i.style=o}function mD(t,e){var A=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),A>0&&r.length>=3){var n=Wu(r[0],r[1]),i=Wu(r[1],r[2]);if(!n||!i){t.lineTo(r[1][0],r[1][1]),t.lineTo(r[2][0],r[2][1]);return}var a=Math.min(n,i)*A,o=Yu([],r[1],r[0],a/n),s=Yu([],r[1],r[2],a/i),l=Yu([],o,s,.5);t.bezierCurveTo(o[0],o[1],o[0],o[1],l[0],l[1]),t.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var u=1;u<r.length;u++)t.lineTo(r[u][0],r[u][1])}function wD(t,e,A){var r=t.getTextGuideLine(),n=t.getTextContent();if(!n){r&&t.removeTextGuideLine();return}for(var i=e.normal,a=i.get("show"),o=n.ignore,s=0;s<ds.length;s++){var l=ds[s],u=e[l],f=l==="normal";if(u){var c=u.get("show"),h=f?o:ye(n.states[l]&&n.states[l].ignore,o);if(h||!ye(c,a)){var v=f?r:r&&r.states[l];v&&(v.ignore=!0),r&&Ph(r,!0,l,u);continue}r||(r=new xs,t.setTextGuideLine(r),!f&&(o||!a)&&Ph(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),Ph(r,!1,l,u)}}if(r){He(r.style,A),r.style.fill=null;var d=i.get("showAbove"),g=t.textGuideLineConfig=t.textGuideLineConfig||{};g.showAbove=d||!1,r.buildPath=mD}}function CD(t,e){e=e||"labelLine";for(var A={normal:t.getModel(e)},r=0;r<tt.length;r++){var n=tt[r];A[n]=t.getModel([n,e])}return A}function Vm(t){for(var e=[],A=0;A<t.length;A++){var r=t[A];if(!r.defaultAttr.ignore){var n=r.label,i=n.getComputedTransform(),a=n.getBoundingRect(),o=!i||i[1]<1e-5&&i[2]<1e-5,s=n.style.margin||0,l=a.clone();l.applyTransform(i),l.x-=s/2,l.y-=s/2,l.width+=s,l.height+=s;var u=o?new Ss(a,i):null;e.push({label:n,labelLine:r.labelLine,rect:l,localRect:a,obb:u,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:o,transform:i})}}return e}function Gm(t,e,A,r,n,i){var a=t.length;if(a<2)return;t.sort(function(F,E){return F.rect[e]-E.rect[e]});for(var o=0,s,l=!1,u=0,f=0;f<a;f++){var c=t[f],h=c.rect;s=h[e]-o,s<0&&(h[e]-=s,c.label[e]-=s,l=!0);var v=Math.max(-s,0);u+=v,o=h[e]+h[A]}u>0&&i&&_(-u/a,0,a);var d=t[0],g=t[a-1],p,B;y(),p<0&&C(-p,.8),B<0&&C(B,.8),y(),m(p,B,1),m(B,p,-1),y(),p<0&&Q(-p),B<0&&Q(B);function y(){p=d.rect[e]-r,B=n-g.rect[e]-g.rect[A]}function m(F,E,U){if(F<0){var x=Math.min(E,-F);if(x>0){_(x*U,0,a);var b=x+F;b<0&&C(-b*U,1)}else C(-F*U,1)}}function _(F,E,U){F!==0&&(l=!0);for(var x=E;x<U;x++){var b=t[x],I=b.rect;I[e]+=F,b.label[e]+=F}}function C(F,E){for(var U=[],x=0,b=1;b<a;b++){var I=t[b-1].rect,T=Math.max(t[b].rect[e]-I[e]-I[A],0);U.push(T),x+=T}if(x){var D=Math.min(Math.abs(F)/x,E);if(F>0)for(var b=0;b<a-1;b++){var R=U[b]*D;_(R,0,b+1)}else for(var b=a-1;b>0;b--){var R=U[b-1]*D;_(-R,b,a)}}}function Q(F){var E=F<0?-1:1;F=Math.abs(F);for(var U=Math.ceil(F/(a-1)),x=0;x<a-1;x++)if(E>0?_(U,0,x+1):_(-U,a-x-1,a),F-=U,F<=0)return}return l}function _D(t,e,A,r){return Gm(t,"x","width",e,A,r)}function QD(t,e,A,r){return Gm(t,"y","height",e,A,r)}function zm(t){var e=[];t.sort(function(d,g){return g.priority-d.priority});var A=new Me(0,0,0,0);function r(d){if(!d.ignore){var g=d.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}d.ignore=!0}for(var n=0;n<t.length;n++){var i=t[n],a=i.axisAligned,o=i.localRect,s=i.transform,l=i.label,u=i.labelLine;A.copy(i.rect),A.width-=.1,A.height-=.1,A.x+=.05,A.y+=.05;for(var f=i.obb,c=!1,h=0;h<e.length;h++){var v=e[h];if(A.intersect(v.rect)){if(a&&v.axisAligned){c=!0;break}if(v.obb||(v.obb=new Ss(v.localRect,v.transform)),f||(f=new Ss(o,s)),f.intersect(v.obb)){c=!0;break}}}c?(r(l),u&&r(u)):(l.attr("ignore",i.defaultAttr.ignore),u&&u.attr("ignore",i.defaultAttr.labelGuideIgnore),e.push(i))}}function FD(t){if(t){for(var e=[],A=0;A<t.length;A++)e.push(t[A].slice());return e}}function xD(t,e){var A=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:A.style.align,verticalAlign:A.style.verticalAlign,labelLinePoints:FD(r&&r.shape.points)}}var Wm=["align","verticalAlign","width","height","fontSize"],bA=new es,Nh=Xe(),ED=Xe();function bl(t,e,A){for(var r=0;r<A.length;r++){var n=A[r];e[n]!=null&&(t[n]=e[n])}}var Il=["x","y","rotation"],UD=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(e,A,r,n,i){var a=n.style,o=n.__hostTarget,s=o.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();Me.applyTransform(u,u,l),l?bA.setLocalTransform(l):(bA.x=bA.y=bA.rotation=bA.originX=bA.originY=0,bA.scaleX=bA.scaleY=1),bA.rotation=Yt(bA.rotation);var f=n.__hostTarget,c;if(f){c=f.getBoundingRect().plain();var h=f.getComputedTransform();Me.applyTransform(c,c,h)}var v=c&&f.getTextGuideLine();this._labelList.push({label:n,labelLine:v,seriesModel:r,dataIndex:e,dataType:A,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:v&&v.ignore,x:bA.x,y:bA.y,scaleX:bA.scaleX,scaleY:bA.scaleY,rotation:bA.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:n.cursor,attachedPos:s.position,attachedRot:s.rotation}})},t.prototype.addLabelsOfSeries=function(e){var A=this;this._chartViewList.push(e);var r=e.__model,n=r.get("labelLayout");(de(n)||Ge(n).length)&&e.group.traverse(function(i){if(i.ignore)return!0;var a=i.getTextContent(),o=Te(i);a&&!a.disableLabelLayout&&A._addLabel(o.dataIndex,o.dataType,r,a,n)})},t.prototype.updateLayoutConfig=function(e){var A=e.getWidth(),r=e.getHeight();function n(y,m){return function(){km(y,m)}}for(var i=0;i<this._labelList.length;i++){var a=this._labelList[i],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;de(a.layoutOption)?u=a.layoutOption(xD(a,s)):u=a.layoutOption,u=u||{},a.computedLayoutOption=u;var f=Math.PI/180;s&&s.setTextConfig({local:!1,position:u.x!=null||u.y!=null?null:l.attachedPos,rotation:u.rotate!=null?u.rotate*f:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(u.x!=null?(o.x=aA(u.x,A),o.setStyle("x",0),c=!0):(o.x=l.x,o.setStyle("x",l.style.x)),u.y!=null?(o.y=aA(u.y,r),o.setStyle("y",0),c=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),c=!1)}var v=Nh(o);v.needsUpdateLabelLine=c,o.rotation=u.rotate!=null?u.rotate*f:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var d=0;d<Wm.length;d++){var g=Wm[d];o.setStyle(g,u[g]!=null?u[g]:l.style[g])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var p=a.seriesModel;if(a.dataIndex!=null){var B=a.seriesModel.getData(a.dataType);p=B.getItemModel(a.dataIndex)}o.on("drag",n(s,p.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},t.prototype.layout=function(e){var A=e.getWidth(),r=e.getHeight(),n=Vm(this._labelList),i=tA(n,function(s){return s.layoutOption.moveOverlap==="shiftX"}),a=tA(n,function(s){return s.layoutOption.moveOverlap==="shiftY"});_D(i,0,A),QD(a,0,r);var o=tA(n,function(s){return s.layoutOption.hideOverlap});zm(o)},t.prototype.processLabelsOverall=function(){var e=this;S(this._chartViewList,function(A){var r=A.__model,n=A.ignoreLabelLineUpdate,i=r.isAnimationEnabled();A.group.traverse(function(a){if(a.ignore&&!a.forceLabelAnimation)return!0;var o=!n,s=a.getTextContent();!o&&s&&(o=Nh(s).needsUpdateLabelLine),o&&e._updateLabelLine(a,r),i&&e._animateLabels(a,r)})})},t.prototype._updateLabelLine=function(e,A){var r=e.getTextContent(),n=Te(e),i=n.dataIndex;if(r&&i!=null){var a=A.getData(n.dataType),o=a.getItemModel(i),s={},l=a.getItemVisual(i,"style");if(l){var u=a.getVisual("drawType");s.stroke=l[u]}var f=o.getModel("labelLine");wD(e,CD(o),s),km(e,f)}},t.prototype._animateLabels=function(e,A){var r=e.getTextContent(),n=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!ui(e))){var i=Nh(r),a=i.oldLayout,o=Te(e),s=o.dataIndex,l={x:r.x,y:r.y,rotation:r.rotation},u=A.getData(o.dataType);if(a){r.attr(a);var c=e.prevStates;c&&(Le(c,"select")>=0&&r.attr(i.oldLayoutSelect),Le(c,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),yA(r,l,A,s)}else if(r.attr(l),!fi(r).valueAnimation){var f=ye(r.style.opacity,1);r.style.opacity=0,rt(r,{style:{opacity:f}},A,s)}if(i.oldLayout=l,r.states.select){var h=i.oldLayoutSelect={};bl(h,l,Il),bl(h,r.states.select,Il)}if(r.states.emphasis){var v=i.oldLayoutEmphasis={};bl(v,l,Il),bl(v,r.states.emphasis,Il)}_U(r,s,u,A,A)}if(n&&!n.ignore&&!n.invisible){var i=ED(n),a=i.oldLayout,d={points:n.shape.points};a?(n.attr({shape:a}),yA(n,{shape:d},A)):(n.setShape(d),n.style.strokePercent=0,rt(n,{style:{strokePercent:1}},A)),i.oldLayout=d}},t}();const SD=UD;var kh=Xe();function bD(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,A,r){var n=kh(A).labelManager;n||(n=kh(A).labelManager=new SD),n.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(e,A,r){var n=kh(A).labelManager;r.updatedSeries.forEach(function(i){n.addLabelsOfSeries(A.getViewOfSeriesModel(i))}),n.updateLayoutConfig(A),n.layout(A),n.processLabelsOverall()})}var ID=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A.hasSymbolVisual=!0,A}return e.prototype.getInitialData=function(A){if(process.env.NODE_ENV!=="production"){var r=A.coordinateSystem;if(r!=="polar"&&r!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return Sh(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(A){var r=new sA,n=yr("line",0,A.itemHeight/2,A.itemWidth,0,A.lineStyle.stroke,!1);r.add(n),n.setStyle(A.lineStyle);var i=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),o=i==="none"?"circle":i,s=A.itemHeight*.8,l=yr(o,(A.itemWidth-s)/2,(A.itemHeight-s)/2,s,s,A.itemStyle.fill);r.add(l),l.setStyle(A.itemStyle);var u=A.iconRotate==="inherit"?a:A.iconRotate||0;return l.rotation=u*Math.PI/180,l.setOrigin([A.itemWidth/2,A.itemHeight/2]),o.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),r},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Bn);const TD=ID;function Kh(t,e){var A=t.mapDimensionsAll("defaultedLabel"),r=A.length;if(r===1){var n=yi(t,e,A[0]);return n!=null?n+"":null}else if(r){for(var i=[],a=0;a<A.length;a++)i.push(yi(t,e,A[a]));return i.join(" ")}}function Ym(t,e){var A=t.mapDimensionsAll("defaultedLabel");if(!re(e))return e+"";for(var r=[],n=0;n<A.length;n++){var i=t.getDimensionIndex(A[n]);i>=0&&r.push(e[i])}return r.join(" ")}var DD=function(t){Z(e,t);function e(A,r,n,i){var a=t.call(this)||this;return a.updateData(A,r,n,i),a}return e.prototype._createSymbol=function(A,r,n,i,a){this.removeAll();var o=yr(A,-1,-1,2,2,null,a);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=LD,this._symbolType=A,this.add(o)},e.prototype.stopSymbolAnimation=function(A){this.childAt(0).stopAnimation(null,A)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){ys(this.childAt(0))},e.prototype.downplay=function(){ms(this.childAt(0))},e.prototype.setZ=function(A,r){var n=this.childAt(0);n.zlevel=A,n.z=r},e.prototype.setDraggable=function(A,r){var n=this.childAt(0);n.draggable=A,n.cursor=!r&&A?"move":n.cursor},e.prototype.updateData=function(A,r,n,i){this.silent=!1;var a=A.getItemVisual(r,"symbol")||"circle",o=A.hostModel,s=e.getSymbolSize(A,r),l=a!==this._symbolType,u=i&&i.disableAnimation;if(l){var f=A.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,A,r,s,f)}else{var c=this.childAt(0);c.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?c.attr(h):yA(c,h,o,r),pB(c)}if(this._updateCommon(A,r,s,n,i),l){var c=this.childAt(0);if(!u){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:c.style.opacity}};c.scaleX=c.scaleY=0,c.style.opacity=0,rt(c,h,o,r)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(A,r,n,i,a){var o=this.childAt(0),s=A.hostModel,l,u,f,c,h,v,d,g,p;if(i&&(l=i.emphasisItemStyle,u=i.blurItemStyle,f=i.selectItemStyle,c=i.focus,h=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,p=i.cursorStyle,v=i.emphasisDisabled),!i||A.hasItemOption){var B=i&&i.itemModel?i.itemModel:A.getItemModel(r),y=B.getModel("emphasis");l=y.getModel("itemStyle").getItemStyle(),f=B.getModel(["select","itemStyle"]).getItemStyle(),u=B.getModel(["blur","itemStyle"]).getItemStyle(),c=y.get("focus"),h=y.get("blurScope"),v=y.get("disabled"),d=Os(B),g=y.getShallow("scale"),p=B.getShallow("cursor")}var m=A.getItemVisual(r,"symbolRotate");o.attr("rotation",(m||0)*Math.PI/180||0);var _=cy(A.getItemVisual(r,"symbolOffset"),n);_&&(o.x=_[0],o.y=_[1]),p&&o.attr("cursor",p);var C=A.getItemVisual(r,"style"),Q=C.fill;if(o instanceof nn){var F=o.style;o.useStyle(Y({image:F.image,x:F.x,y:F.y,width:F.width,height:F.height},C))}else o.__isEmptyBrush?o.useStyle(Y({},C)):o.useStyle(C),o.style.decal=null,o.setColor(Q,a&&a.symbolInnerColor),o.style.strokeNoScale=!0;var E=A.getItemVisual(r,"liftZ"),U=this._z2;E!=null?U==null&&(this._z2=o.z2,o.z2+=E):U!=null&&(o.z2=U,this._z2=null);var x=a&&a.useNameLabel;Hs(o,d,{labelFetcher:s,labelDataIndex:r,defaultText:b,inheritColor:Q,defaultOpacity:C.opacity});function b(D){return x?A.getName(D):Kh(A,D)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var I=o.ensureState("emphasis");I.style=l,o.ensureState("select").style=f,o.ensureState("blur").style=u;var T=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;I.scaleX=this._sizeX*T,I.scaleY=this._sizeY*T,this.setSymbolScale(1),Cs(this,c,h,v)},e.prototype.setSymbolScale=function(A){this.scaleX=this.scaleY=A},e.prototype.fadeOut=function(A,r,n){var i=this.childAt(0),a=Te(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var s=i.getTextContent();s&&bs(s,{style:{opacity:0}},r,{dataIndex:a,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();bs(i,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:A,removeOpt:o})},e.getSymbolSize=function(A,r){return eI(A.getItemVisual(r,"symbolSize"))},e}(sA);function LD(t,e){this.parent.drift(t,e)}const Vh=DD;function Gh(t,e,A,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(A))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&t.getItemVisual(A,"symbol")!=="none"}function Xm(t){return t!=null&&!fe(t)&&(t={isIgnore:t}),t||{}}function Zm(t){var e=t.hostModel,A=e.getModel("emphasis");return{emphasisItemStyle:A.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:A.get("focus"),blurScope:A.get("blurScope"),emphasisDisabled:A.get("disabled"),hoverScale:A.get("scale"),labelStatesModels:Os(e),cursorStyle:e.get("cursor")}}var MD=function(){function t(e){this.group=new sA,this._SymbolCtor=e||Vh}return t.prototype.updateData=function(e,A){this._progressiveEls=null,A=Xm(A);var r=this.group,n=e.hostModel,i=this._data,a=this._SymbolCtor,o=A.disableAnimation,s=Zm(e),l={disableAnimation:o},u=A.getSymbolPoint||function(f){return e.getItemLayout(f)};i||r.removeAll(),e.diff(i).add(function(f){var c=u(f);if(Gh(e,c,f,A)){var h=new a(e,f,s,l);h.setPosition(c),e.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,c){var h=i.getItemGraphicEl(c),v=u(f);if(!Gh(e,v,f,A)){r.remove(h);return}var d=e.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==d)r.remove(h),h=new a(e,f,s,l),h.setPosition(v);else{h.updateData(e,f,s,l);var p={x:v[0],y:v[1]};o?h.attr(p):yA(h,p,n)}r.add(h),e.setItemGraphicEl(f,h)}).remove(function(f){var c=i.getItemGraphicEl(f);c&&c.fadeOut(function(){r.remove(c)},n)}).execute(),this._getSymbolPoint=u,this._data=e},t.prototype.updateLayout=function(){var e=this,A=this._data;A&&A.eachItemGraphicEl(function(r,n){var i=e._getSymbolPoint(n);r.setPosition(i),r.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=Zm(e),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(e,A,r){this._progressiveEls=[],r=Xm(r);function n(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i<e.end;i++){var a=A.getItemLayout(i);if(Gh(A,a,i,r)){var o=new this._SymbolCtor(A,i,this._seriesScope);o.traverse(n),o.setPosition(a),this.group.add(o),A.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},t.prototype.eachRendered=function(e){Ls(this._progressiveEls||this.group,e)},t.prototype.remove=function(e){var A=this.group,r=this._data;r&&e?r.eachItemGraphicEl(function(n){n.fadeOut(function(){A.remove(n)},r.hostModel)}):A.removeAll()},t}();const HD=MD;function Jm(t,e,A){var r=t.getBaseAxis(),n=t.getOtherAxis(r),i=OD(n,A),a=r.dim,o=n.dim,s=e.mapDimension(o),l=e.mapDimension(a),u=o==="x"||o==="radius"?1:0,f=he(t.dimensions,function(v){return e.mapDimension(v)}),c=!1,h=e.getCalculationInfo("stackResultDimension");return xi(e,f[0])&&(c=!0,f[0]=h),xi(e,f[1])&&(c=!0,f[1]=h),{dataDimsForPoint:f,valueStart:i,valueAxisDim:o,baseAxisDim:a,stacked:!!c,valueDim:s,baseDim:l,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function OD(t,e){var A=0,r=t.scale.getExtent();return e==="start"?A=r[0]:e==="end"?A=r[1]:ze(e)&&!isNaN(e)?A=e:r[0]>0?A=r[0]:r[1]<0&&(A=r[1]),A}function $m(t,e,A,r){var n=NaN;t.stacked&&(n=A.get(A.getCalculationInfo("stackedOverDimension"),r)),isNaN(n)&&(n=t.valueStart);var i=t.baseDataOffset,a=[];return a[i]=A.get(t.baseDim,r),a[1-i]=n,e.dataToPoint(a)}function RD(t,e){var A=[];return e.diff(t).add(function(r){A.push({cmd:"+",idx:r})}).update(function(r,n){A.push({cmd:"=",idx:n,idx1:r})}).remove(function(r){A.push({cmd:"-",idx:r})}).execute(),A}function PD(t,e,A,r,n,i,a,o){for(var s=RD(t,e),l=[],u=[],f=[],c=[],h=[],v=[],d=[],g=Jm(n,e,a),p=t.getLayout("points")||[],B=e.getLayout("points")||[],y=0;y<s.length;y++){var m=s[y],_=!0,C=void 0,Q=void 0;switch(m.cmd){case"=":C=m.idx*2,Q=m.idx1*2;var F=p[C],E=p[C+1],U=B[Q],x=B[Q+1];(isNaN(F)||isNaN(E))&&(F=U,E=x),l.push(F,E),u.push(U,x),f.push(A[C],A[C+1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(m.idx1));break;case"+":var b=m.idx,I=g.dataDimsForPoint,T=n.dataToPoint([e.get(I[0],b),e.get(I[1],b)]);Q=b*2,l.push(T[0],T[1]),u.push(B[Q],B[Q+1]);var D=$m(g,n,e,b);f.push(D[0],D[1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(b));break;case"-":_=!1}_&&(h.push(m),v.push(v.length))}v.sort(function(K,P){return d[K]-d[P]});for(var R=l.length,$=tr(R),G=tr(R),X=tr(R),ie=tr(R),ve=[],y=0;y<v.length;y++){var O=v[y],N=y*2,H=O*2;$[N]=l[H],$[N+1]=l[H+1],G[N]=u[H],G[N+1]=u[H+1],X[N]=f[H],X[N+1]=f[H+1],ie[N]=c[H],ie[N+1]=c[H+1],ve[y]=h[O]}return{current:$,next:G,stackedOnCurrent:X,stackedOnNext:ie,status:ve}}var Cr=Math.min,_r=Math.max;function En(t,e){return isNaN(t)||isNaN(e)}function zh(t,e,A,r,n,i,a,o,s){for(var l,u,f,c,h,v,d=A,g=0;g<r;g++){var p=e[d*2],B=e[d*2+1];if(d>=n||d<0)break;if(En(p,B)){if(s){d+=i;continue}break}if(d===A)t[i>0?"moveTo":"lineTo"](p,B),f=p,c=B;else{var y=p-l,m=B-u;if(y*y+m*m<.5){d+=i;continue}if(a>0){for(var _=d+i,C=e[_*2],Q=e[_*2+1];C===p&&Q===B&&g<r;)g++,_+=i,d+=i,C=e[_*2],Q=e[_*2+1],p=e[d*2],B=e[d*2+1],y=p-l,m=B-u;var F=g+1;if(s)for(;En(C,Q)&&F<r;)F++,_+=i,C=e[_*2],Q=e[_*2+1];var E=.5,U=0,x=0,b=void 0,I=void 0;if(F>=r||En(C,Q))h=p,v=B;else{U=C-l,x=Q-u;var T=p-l,D=C-p,R=B-u,$=Q-B,G=void 0,X=void 0;if(o==="x"){G=Math.abs(T),X=Math.abs(D);var ie=U>0?1:-1;h=p-ie*G*a,v=B,b=p+ie*X*a,I=B}else if(o==="y"){G=Math.abs(R),X=Math.abs($);var ve=x>0?1:-1;h=p,v=B-ve*G*a,b=p,I=B+ve*X*a}else G=Math.sqrt(T*T+R*R),X=Math.sqrt(D*D+$*$),E=X/(X+G),h=p-U*a*(1-E),v=B-x*a*(1-E),b=p+U*a*E,I=B+x*a*E,b=Cr(b,_r(C,p)),I=Cr(I,_r(Q,B)),b=_r(b,Cr(C,p)),I=_r(I,Cr(Q,B)),U=b-p,x=I-B,h=p-U*G/X,v=B-x*G/X,h=Cr(h,_r(l,p)),v=Cr(v,_r(u,B)),h=_r(h,Cr(l,p)),v=_r(v,Cr(u,B)),U=p-h,x=B-v,b=p+U*X/G,I=B+x*X/G}t.bezierCurveTo(f,c,h,v,p,B),f=b,c=I}else t.lineTo(p,B)}l=p,u=B,d+=i}return g}var qm=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),ND=function(t){Z(e,t);function e(A){var r=t.call(this,A)||this;return r.type="ec-polyline",r}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new qm},e.prototype.buildPath=function(A,r){var n=r.points,i=0,a=n.length/2;if(r.connectNulls){for(;a>0&&En(n[a*2-2],n[a*2-1]);a--);for(;i<a&&En(n[i*2],n[i*2+1]);i++);}for(;i<a;)i+=zh(A,n,i,a,a,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},e.prototype.getPointOn=function(A,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n=this.path,i=n.data,a=dr.CMD,o,s,l=r==="x",u=[],f=0;f<i.length;){var c=i[f++],h=void 0,v=void 0,d=void 0,g=void 0,p=void 0,B=void 0,y=void 0;switch(c){case a.M:o=i[f++],s=i[f++];break;case a.L:if(h=i[f++],v=i[f++],y=l?(A-o)/(h-o):(A-s)/(v-s),y<=1&&y>=0){var m=l?(v-s)*y+s:(h-o)*y+o;return l?[A,m]:[m,A]}o=h,s=v;break;case a.C:h=i[f++],v=i[f++],d=i[f++],g=i[f++],p=i[f++],B=i[f++];var _=l?Po(o,h,d,p,A,u):Po(s,v,g,B,A,u);if(_>0)for(var C=0;C<_;C++){var Q=u[C];if(Q<=1&&Q>=0){var m=l?iA(s,v,g,B,Q):iA(o,h,d,p,Q);return l?[A,m]:[m,A]}}o=p,s=B;break}}},e}(Re),kD=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(qm),KD=function(t){Z(e,t);function e(A){var r=t.call(this,A)||this;return r.type="ec-polygon",r}return e.prototype.getDefaultShape=function(){return new kD},e.prototype.buildPath=function(A,r){var n=r.points,i=r.stackedOnPoints,a=0,o=n.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;o>0&&En(n[o*2-2],n[o*2-1]);o--);for(;a<o&&En(n[a*2],n[a*2+1]);a++);}for(;a<o;){var l=zh(A,n,a,o,o,1,r.smooth,s,r.connectNulls);zh(A,i,a+l-1,l,o,-1,r.stackedOnSmooth,s,r.connectNulls),a+=l+1,A.closePath()}},e}(Re);function jm(t,e,A,r,n){var i=t.getArea(),a=i.x,o=i.y,s=i.width,l=i.height,u=A.get(["lineStyle","width"])||0;a-=u/2,o-=u/2,s+=u,l+=u,s=Math.ceil(s),a!==Math.floor(a)&&(a=Math.floor(a),s++);var f=new Ze({shape:{x:a,y:o,width:s,height:l}});if(e){var c=t.getBaseAxis(),h=c.isHorizontal(),v=c.inverse;h?(v&&(f.shape.x+=s),f.shape.width=0):(v||(f.shape.y+=l),f.shape.height=0);var d=de(n)?function(g){n(g,f)}:null;rt(f,{shape:{width:s,height:l,x:a,y:o}},A,null,r,d)}return f}function ew(t,e,A){var r=t.getArea(),n=rA(r.r0,1),i=rA(r.r,1),a=new Ba({shape:{cx:rA(t.cx,1),cy:rA(t.cy,1),r0:n,r:i,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var o=t.getBaseAxis().dim==="angle";o?a.shape.endAngle=r.startAngle:a.shape.r=n,rt(a,{shape:{endAngle:r.endAngle,r:i}},A)}return a}function VD(t,e,A,r,n){if(t){if(t.type==="polar")return ew(t,e,A);if(t.type==="cartesian2d")return jm(t,e,A,r,n)}else return null;return null}function Wh(t,e){return t.type===e}function Aw(t,e){if(t.length===e.length){for(var A=0;A<t.length;A++)if(t[A]!==e[A])return;return!0}}function tw(t){for(var e=1/0,A=1/0,r=-1/0,n=-1/0,i=0;i<t.length;){var a=t[i++],o=t[i++];isNaN(a)||(e=Math.min(a,e),r=Math.max(a,r)),isNaN(o)||(A=Math.min(o,A),n=Math.max(o,n))}return[[e,A],[r,n]]}function rw(t,e){var A=tw(t),r=A[0],n=A[1],i=tw(e),a=i[0],o=i[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]))}function nw(t){return ze(t)?t:t?.5:0}function GD(t,e,A){if(!A.valueDim)return[];for(var r=e.count(),n=tr(r*2),i=0;i<r;i++){var a=$m(A,t,e,i);n[i*2]=a[0],n[i*2+1]=a[1]}return n}function Qr(t,e,A,r,n){var i=A.getBaseAxis(),a=i.dim==="x"||i.dim==="radius"?0:1,o=[],s=0,l=[],u=[],f=[],c=[];if(n){for(s=0;s<t.length;s+=2){var h=e||t;!isNaN(h[s])&&!isNaN(h[s+1])&&c.push(t[s],t[s+1])}t=c}for(s=0;s<t.length-2;s+=2)switch(f[0]=t[s+2],f[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],o.push(u[0],u[1]),r){case"end":l[a]=f[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var v=(u[a]+f[a])/2,d=[];l[a]=d[a]=v,l[1-a]=u[1-a],d[1-a]=f[1-a],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[a]=u[a],l[1-a]=f[1-a],o.push(l[0],l[1])}return o.push(t[s++],t[s++]),o}function zD(t,e){var A=[],r=t.length,n,i;function a(u,f,c){var h=u.coord,v=(c-h)/(f.coord-h),d=AF(v,[u.color,f.color]);return{coord:c,color:d}}for(var o=0;o<r;o++){var s=t[o],l=s.coord;if(l<0)n=s;else if(l>e){i?A.push(a(i,s,e)):n&&A.push(a(n,s,0),a(n,s,e));break}else n&&(A.push(a(n,s,0)),n=null),A.push(s),i=s}return A}function WD(t,e,A){var r=t.getVisual("visualMeta");if(!(!r||!r.length||!t.count())){if(e.type!=="cartesian2d"){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style is only supported on cartesian2d.");return}for(var n,i,a=r.length-1;a>=0;a--){var o=t.getDimensionInfo(r[a].dimension);if(n=o&&o.coordDim,n==="x"||n==="y"){i=r[a];break}}if(!i){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var s=e.getAxis(n),l=he(i.stops,function(y){return{coord:s.toGlobalCoord(s.dataToCoord(y.value)),color:y.color}}),u=l.length,f=i.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),f.reverse());var c=zD(l,n==="x"?A.getWidth():A.getHeight()),h=c.length;if(!h&&u)return l[0].coord<0?f[1]?f[1]:l[u-1].color:f[0]?f[0]:l[0].color;var v=10,d=c[0].coord-v,g=c[h-1].coord+v,p=g-d;if(p<.001)return"transparent";S(c,function(y){y.offset=(y.coord-d)/p}),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var B=new dB(0,0,0,0,c,!0);return B[n]=d,B[n+"2"]=g,B}}function YD(t,e,A){var r=t.get("showAllSymbol"),n=r==="auto";if(!(r&&!n)){var i=A.getAxesByScale("ordinal")[0];if(i&&!(n&&XD(i,e))){var a=e.mapDimension(i.dim),o={};return S(i.getViewLabels(),function(s){var l=i.scale.getRawOrdinalNumber(s.tickValue);o[l]=1}),function(s){return!o.hasOwnProperty(e.get(a,s))}}}}function XD(t,e){var A=t.getExtent(),r=Math.abs(A[1]-A[0])/t.scale.count();isNaN(r)&&(r=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),a=0;a<n;a+=i)if(Vh.getSymbolSize(e,a)[t.isHorizontal()?1:0]*1.5>r)return!1;return!0}function ZD(t,e){return isNaN(t)||isNaN(e)}function JD(t){for(var e=t.length/2;e>0&&ZD(t[e*2-2],t[e*2-1]);e--);return e-1}function iw(t,e){return[t[e*2],t[e*2+1]]}function $D(t,e,A){for(var r=t.length/2,n=A==="x"?0:1,i,a,o=0,s=-1,l=0;l<r;l++)if(a=t[l*2+n],!(isNaN(a)||isNaN(t[l*2+1-n]))){if(l===0){i=a;continue}if(i<=e&&a>=e||i>=e&&a<=e){s=l;break}o=l,i=a}return{range:[o,s],t:(e-i)/(a-i)}}function aw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<tt.length;e++)if(t.get([tt[e],"endLabel","show"]))return!0;return!1}function Yh(t,e,A,r){if(Wh(e,"cartesian2d")){var n=r.getModel("endLabel"),i=n.get("valueAnimation"),a=r.getData(),o={lastFrameIndex:0},s=aw(r)?function(h,v){t._endLabelOnDuring(h,v,a,o,i,n,e)}:null,l=e.getBaseAxis().isHorizontal(),u=jm(e,A,r,function(){var h=t._endLabel;h&&A&&o.originalX!=null&&h.attr({x:o.originalX,y:o.originalY})},s);if(!r.get("clip",!0)){var f=u.shape,c=Math.max(f.width,f.height);l?(f.y-=c,f.height+=c*2):(f.x-=c,f.width+=c*2)}return s&&s(1,u),u}else return process.env.NODE_ENV!=="production"&&r.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),ew(e,A,r)}function qD(t,e){var A=e.getBaseAxis(),r=A.isHorizontal(),n=A.inverse,i=r?n?"right":"left":"center",a=r?"middle":n?"top":"bottom";return{normal:{align:t.get("align")||i,verticalAlign:t.get("verticalAlign")||a}}}var jD=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(){var A=new sA,r=new HD;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=A,this._changePolyState=pe(this._changePolyState,this)},e.prototype.render=function(A,r,n){var i=A.coordinateSystem,a=this.group,o=A.getData(),s=A.getModel("lineStyle"),l=A.getModel("areaStyle"),u=o.getLayout("points")||[],f=i.type==="polar",c=this._coordSys,h=this._symbolDraw,v=this._polyline,d=this._polygon,g=this._lineGroup,p=!r.ssr&&A.get("animation"),B=!l.isEmpty(),y=l.get("origin"),m=Jm(i,o,y),_=B&&GD(i,o,m),C=A.get("showSymbol"),Q=A.get("connectNulls"),F=C&&!f&&YD(A,o,i),E=this._data;E&&E.eachItemGraphicEl(function(K,P){K.__temp&&(a.remove(K),E.setItemGraphicEl(P,null))}),C||h.remove(),a.add(g);var U=f?!1:A.get("step"),x;i&&i.getArea&&A.get("clip",!0)&&(x=i.getArea(),x.width!=null?(x.x-=.1,x.y-=.1,x.width+=.2,x.height+=.2):x.r0&&(x.r0-=.5,x.r+=.5)),this._clipShapeForSymbol=x;var b=WD(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(!(v&&c.type===i.type&&U===this._step))C&&h.updateData(o,{isIgnore:F,clipShape:x,disableAnimation:!0,getSymbolPoint:function(K){return[u[K*2],u[K*2+1]]}}),p&&this._initSymbolLabelAnimation(o,i,x),U&&(_&&(_=Qr(_,u,i,U,Q)),u=Qr(u,null,i,U,Q)),v=this._newPolyline(u),B?d=this._newPolygon(u,_):d&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(A,i,vn(b)),g.setClipPath(Yh(this,i,!0,A));else{B&&!d?d=this._newPolygon(u,_):d&&!B&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(A,i,vn(b));var I=g.getClipPath();if(I){var T=Yh(this,i,!1,A);rt(I,{shape:T.shape},A)}else g.setClipPath(Yh(this,i,!0,A));C&&h.updateData(o,{isIgnore:F,clipShape:x,disableAnimation:!0,getSymbolPoint:function(K){return[u[K*2],u[K*2+1]]}}),(!Aw(this._stackedOnPoints,_)||!Aw(this._points,u))&&(p?this._doUpdateAnimation(o,_,i,n,U,y,Q):(U&&(_&&(_=Qr(_,u,i,U,Q)),u=Qr(u,null,i,U,Q)),v.setShape({points:u}),d&&d.setShape({points:u,stackedOnPoints:_})))}var D=A.getModel("emphasis"),R=D.get("focus"),$=D.get("blurScope"),G=D.get("disabled");if(v.useStyle(He(s.getLineStyle(),{fill:"none",stroke:b,lineJoin:"bevel"})),fc(v,A,"lineStyle"),v.style.lineWidth>0&&A.get(["emphasis","lineStyle","width"])==="bolder"){var X=v.getState("emphasis").style;X.lineWidth=+v.style.lineWidth+1}Te(v).seriesIndex=A.seriesIndex,Cs(v,R,$,G);var ie=nw(A.get("smooth")),ve=A.get("smoothMonotone");if(v.setShape({smooth:ie,smoothMonotone:ve,connectNulls:Q}),d){var O=o.getCalculationInfo("stackedOnSeries"),N=0;d.useStyle(He(l.getAreaStyle(),{fill:b,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),O&&(N=nw(O.get("smooth"))),d.setShape({smooth:ie,stackedOnSmooth:N,smoothMonotone:ve,connectNulls:Q}),fc(d,A,"areaStyle"),Te(d).seriesIndex=A.seriesIndex,Cs(d,R,$,G)}var H=this._changePolyState;o.eachItemGraphicEl(function(K){K&&(K.onHoverStateChange=H)}),this._polyline.onHoverStateChange=H,this._data=o,this._coordSys=i,this._stackedOnPoints=_,this._points=u,this._step=U,this._valueOrigin=y,A.get("triggerLineEvent")&&(this.packEventData(A,v),d&&this.packEventData(A,d))},e.prototype.packEventData=function(A,r){Te(r).eventData={componentType:"series",componentSubType:"line",componentIndex:A.componentIndex,seriesIndex:A.seriesIndex,seriesName:A.name,seriesType:"line"}},e.prototype.highlight=function(A,r,n,i){var a=A.getData(),o=Xr(a,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&o!=null&&o>=0){var s=a.getLayout("points"),l=a.getItemGraphicEl(o);if(!l){var u=s[o*2],f=s[o*2+1];if(isNaN(u)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u,f))return;var c=A.get("zlevel")||0,h=A.get("z")||0;l=new Vh(a,o),l.x=u,l.y=f,l.setZ(c,h);var v=l.getSymbolPath().getTextContent();v&&(v.zlevel=c,v.z=h,v.z2=this._polyline.z2+1),l.__temp=!0,a.setItemGraphicEl(o,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else er.prototype.highlight.call(this,A,r,n,i)},e.prototype.downplay=function(A,r,n,i){var a=A.getData(),o=Xr(a,i);if(this._changePolyState("normal"),o!=null&&o>=0){var s=a.getItemGraphicEl(o);s&&(s.__temp?(a.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else er.prototype.downplay.call(this,A,r,n,i)},e.prototype._changePolyState=function(A){var r=this._polygon;Dp(this._polyline,A),r&&Dp(r,A)},e.prototype._newPolyline=function(A){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new ND({shape:{points:A},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},e.prototype._newPolygon=function(A,r){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new KD({shape:{points:A,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(A,r,n){var i,a,o=r.getBaseAxis(),s=o.inverse;r.type==="cartesian2d"?(i=o.isHorizontal(),a=!1):r.type==="polar"&&(i=o.dim==="angle",a=!0);var l=A.hostModel,u=l.get("animationDuration");de(u)&&(u=u(null));var f=l.get("animationDelay")||0,c=de(f)?f(null):f;A.eachItemGraphicEl(function(h,v){var d=h;if(d){var g=[h.x,h.y],p=void 0,B=void 0,y=void 0;if(n)if(a){var m=n,_=r.pointToCoord(g);i?(p=m.startAngle,B=m.endAngle,y=-_[1]/180*Math.PI):(p=m.r0,B=m.r,y=_[0])}else{var C=n;i?(p=C.x,B=C.x+C.width,y=h.x):(p=C.y+C.height,B=C.y,y=h.y)}var Q=B===p?0:(y-p)/(B-p);s&&(Q=1-Q);var F=de(f)?f(v):u*Q+c,E=d.getSymbolPath(),U=E.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:F}),U&&U.animateFrom({style:{opacity:0}},{duration:300,delay:F}),E.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(A,r,n){var i=A.getModel("endLabel");if(aw(A)){var a=A.getData(),o=this._polyline,s=a.getLayout("points");if(!s){o.removeTextContent(),this._endLabel=null;return}var l=this._endLabel;l||(l=this._endLabel=new OA({z2:200}),l.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var u=JD(s);u>=0&&(Hs(o,Os(A,"endLabel"),{inheritColor:n,labelFetcher:A,labelDataIndex:u,defaultText:function(f,c,h){return h!=null?Ym(a,h):Kh(a,f)},enableTextSetter:!0},qD(i,r)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(A,r,n,i,a,o,s){var l=this._endLabel,u=this._polyline;if(l){A<1&&i.originalX==null&&(i.originalX=l.x,i.originalY=l.y);var f=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),v=o.get("precision"),d=o.get("distance")||0,g=s.getBaseAxis(),p=g.isHorizontal(),B=g.inverse,y=r.shape,m=B?p?y.x:y.y+y.height:p?y.x+y.width:y.y,_=(p?d:0)*(B?-1:1),C=(p?0:-d)*(B?-1:1),Q=p?"x":"y",F=$D(f,m,Q),E=F.range,U=E[1]-E[0],x=void 0;if(U>=1){if(U>1&&!h){var b=iw(f,E[0]);l.attr({x:b[0]+_,y:b[1]+C}),a&&(x=c.getRawValue(E[0]))}else{var b=u.getPointOn(m,Q);b&&l.attr({x:b[0]+_,y:b[1]+C});var I=c.getRawValue(E[0]),T=c.getRawValue(E[1]);a&&(x=Zg(n,v,I,T,F.t))}i.lastFrameIndex=E[0]}else{var D=A===1||i.lastFrameIndex>0?E[0]:0,b=iw(f,D);a&&(x=c.getRawValue(D)),l.attr({x:b[0]+_,y:b[1]+C})}if(a){var R=fi(l);typeof R.setLabelText=="function"&&R.setLabelText(x)}}},e.prototype._doUpdateAnimation=function(A,r,n,i,a,o,s){var l=this._polyline,u=this._polygon,f=A.hostModel,c=PD(this._data,A,this._stackedOnPoints,r,this._coordSys,n,this._valueOrigin),h=c.current,v=c.stackedOnCurrent,d=c.next,g=c.stackedOnNext;if(a&&(v=Qr(c.stackedOnCurrent,c.current,n,a,s),h=Qr(c.current,null,n,a,s),g=Qr(c.stackedOnNext,c.next,n,a,s),d=Qr(c.next,null,n,a,s)),rw(h,d)>3e3||u&&rw(v,g)>3e3){l.stopAnimation(),l.setShape({points:d}),u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:g}));return}l.shape.__points=c.current,l.shape.points=h;var p={shape:{points:d}};c.current!==h&&(p.shape.__points=c.next),l.stopAnimation(),yA(l,p,f),u&&(u.setShape({points:h,stackedOnPoints:v}),u.stopAnimation(),yA(u,{shape:{stackedOnPoints:g}},f),l.shape.points!==u.shape.points&&(u.shape.points=l.shape.points));for(var B=[],y=c.status,m=0;m<y.length;m++){var _=y[m].cmd;if(_==="="){var C=A.getItemGraphicEl(y[m].idx1);C&&B.push({el:C,ptIdx:m})}}l.animators&&l.animators.length&&l.animators[0].during(function(){u&&u.dirtyShape();for(var Q=l.shape.__points,F=0;F<B.length;F++){var E=B[F].el,U=B[F].ptIdx*2;E.x=Q[U],E.y=Q[U+1],E.markRedraw()}})},e.prototype.remove=function(A){var r=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(i,a){i.__temp&&(r.remove(i),n.setItemGraphicEl(a,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(er);const eL=jD;function AL(t,e){return{seriesType:t,plan:rh(),reset:function(A){var r=A.getData(),n=A.coordinateSystem,i=A.pipelineContext,a=e||i.large;if(n){var o=he(n.dimensions,function(h){return r.mapDimension(h)}).slice(0,2),s=o.length,l=r.getCalculationInfo("stackResultDimension");xi(r,o[0])&&(o[0]=l),xi(r,o[1])&&(o[1]=l);var u=r.getStore(),f=r.getDimensionIndex(o[0]),c=r.getDimensionIndex(o[1]);return s&&{progress:function(h,v){for(var d=h.end-h.start,g=a&&tr(d*s),p=[],B=[],y=h.start,m=0;y<h.end;y++){var _=void 0;if(s===1){var C=u.get(f,y);_=n.dataToPoint(C,null,B)}else p[0]=u.get(f,y),p[1]=u.get(c,y),_=n.dataToPoint(p,null,B);a?(g[m++]=_[0],g[m++]=_[1]):v.setItemLayout(y,_.slice())}a&&v.setLayout("points",g)}}}}}}var tL={average:function(t){for(var e=0,A=0,r=0;r<t.length;r++)isNaN(t[r])||(e+=t[r],A++);return A===0?NaN:e/A},sum:function(t){for(var e=0,A=0;A<t.length;A++)e+=t[A]||0;return e},max:function(t){for(var e=-1/0,A=0;A<t.length;A++)t[A]>e&&(e=t[A]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,A=0;A<t.length;A++)t[A]<e&&(e=t[A]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},rL=function(t){return Math.round(t.length/2)};function ow(t){return{seriesType:t,reset:function(e,A,r){var n=e.getData(),i=e.get("sampling"),a=e.coordinateSystem,o=n.count();if(o>10&&a.type==="cartesian2d"&&i){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),f=r.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(f||1),h=Math.round(o/c);if(isFinite(h)&&h>1){i==="lttb"?e.setData(n.lttbDownSample(n.mapDimension(l.dim),1/h)):i==="minmax"&&e.setData(n.minmaxDownSample(n.mapDimension(l.dim),1/h));var v=void 0;ae(i)?v=tL[i]:de(i)&&(v=i),v&&e.setData(n.downSample(n.mapDimension(l.dim),1/h,v,rL))}}}}}function nL(t){t.registerChartView(eL),t.registerSeriesModel(TD),t.registerLayout(AL("line",!0)),t.registerVisual({seriesType:"line",reset:function(e){var A=e.getData(),r=e.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=A.getVisual("style").fill),A.setVisual("legendLineStyle",r)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,ow("line"))}var sw=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.getInitialData=function(A,r){return Sh(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(A,r,n){var i=this.coordinateSystem;if(i&&i.clampData){var a=i.clampData(A),o=i.dataToPoint(a);if(n)S(i.getAxes(),function(c,h){if(c.type==="category"&&r!=null){var v=c.getTicksCoords(),d=c.getTickModel().get("alignWithLabel"),g=a[h],p=r[h]==="x1"||r[h]==="y1";if(p&&!d&&(g+=1),v.length<2)return;if(v.length===2){o[h]=c.toGlobalCoord(c.getExtent()[p?1:0]);return}for(var B=void 0,y=void 0,m=1,_=0;_<v.length;_++){var C=v[_].coord,Q=_===v.length-1?v[_-1].tickValue+m:v[_].tickValue;if(Q===g){y=C;break}else if(Q<g)B=C;else if(B!=null&&Q>g){y=(C+B)/2;break}_===1&&(m=Q-v[0].tickValue)}y==null&&(B?B&&(y=v[v.length-1].coord):y=v[0].coord),o[h]=c.toGlobalCoord(y)}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;o[f]+=l+u/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Bn);Bn.registerClass(sw);const lw=sw;var iL=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.getInitialData=function(){return Sh(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var A=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>A&&(A=r),A},e.prototype.brushSelector=function(A,r,n){return n.rect(r.getItemLayout(A))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Ps(lw.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(lw);const aL=iL;var oL=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),sL=function(t){Z(e,t);function e(A){var r=t.call(this,A)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new oL},e.prototype.buildPath=function(A,r){var n=r.cx,i=r.cy,a=Math.max(r.r0||0,0),o=Math.max(r.r,0),s=(o-a)*.5,l=a+s,u=r.startAngle,f=r.endAngle,c=r.clockwise,h=Math.PI*2,v=c?f-u<h:u-f<h;v||(u=f-(c?h:-h));var d=Math.cos(u),g=Math.sin(u),p=Math.cos(f),B=Math.sin(f);v?(A.moveTo(d*a+n,g*a+i),A.arc(d*l+n,g*l+i,s,-Math.PI+u,u,!c)):A.moveTo(d*o+n,g*o+i),A.arc(n,i,o,u,f,!c),A.arc(p*l+n,B*l+i,s,f-Math.PI*2,f-Math.PI,!c),a!==0&&A.arc(n,i,a,f,u,c)},e}(Re);const uw=sL;function lL(t,e){e=e||{};var A=e.isRoundCap;return function(r,n,i){var a=n.position;if(!a||a instanceof Array)return As(r,n,i);var o=t(a),s=n.distance!=null?n.distance:5,l=this.shape,u=l.cx,f=l.cy,c=l.r,h=l.r0,v=(c+h)/2,d=l.startAngle,g=l.endAngle,p=(d+g)/2,B=A?Math.abs(c-h)/2:0,y=Math.cos,m=Math.sin,_=u+c*y(d),C=f+c*m(d),Q="left",F="top";switch(o){case"startArc":_=u+(h-s)*y(p),C=f+(h-s)*m(p),Q="center",F="top";break;case"insideStartArc":_=u+(h+s)*y(p),C=f+(h+s)*m(p),Q="center",F="bottom";break;case"startAngle":_=u+v*y(d)+Tl(d,s+B,!1),C=f+v*m(d)+Dl(d,s+B,!1),Q="right",F="middle";break;case"insideStartAngle":_=u+v*y(d)+Tl(d,-s+B,!1),C=f+v*m(d)+Dl(d,-s+B,!1),Q="left",F="middle";break;case"middle":_=u+v*y(p),C=f+v*m(p),Q="center",F="middle";break;case"endArc":_=u+(c+s)*y(p),C=f+(c+s)*m(p),Q="center",F="bottom";break;case"insideEndArc":_=u+(c-s)*y(p),C=f+(c-s)*m(p),Q="center",F="top";break;case"endAngle":_=u+v*y(g)+Tl(g,s+B,!0),C=f+v*m(g)+Dl(g,s+B,!0),Q="left",F="middle";break;case"insideEndAngle":_=u+v*y(g)+Tl(g,-s+B,!0),C=f+v*m(g)+Dl(g,-s+B,!0),Q="right",F="middle";break;default:return As(r,n,i)}return r=r||{},r.x=_,r.y=C,r.align=Q,r.verticalAlign=F,r}}function uL(t,e,A,r){if(ze(r)){t.setTextConfig({rotation:r});return}else if(re(e)){t.setTextConfig({rotation:0});return}var n=t.shape,i=n.clockwise?n.startAngle:n.endAngle,a=n.clockwise?n.endAngle:n.startAngle,o=(i+a)/2,s,l=A(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":s=o;break;case"startAngle":case"insideStartAngle":s=i;break;case"endAngle":case"insideEndAngle":s=a;break;default:t.setTextConfig({rotation:0});return}var u=Math.PI*1.5-s;l==="middle"&&u>Math.PI/2&&u<Math.PI*1.5&&(u-=Math.PI),t.setTextConfig({rotation:u})}function Tl(t,e,A){return e*Math.sin(t)*(A?-1:1)}function Dl(t,e,A){return e*Math.cos(t)*(A?1:-1)}function fL(t,e,A){var r=t.get("borderRadius");if(r==null)return A?{cornerRadius:0}:null;re(r)||(r=[r,r,r,r]);var n=Math.abs(e.r||0-e.r0||0);return{cornerRadius:he(r,function(i){return cr(i,n)})}}var Xh=Math.max,Zh=Math.min;function cL(t,e){var A=t.getArea&&t.getArea();if(Wh(t,"cartesian2d")){var r=t.getBaseAxis();if(r.type!=="category"||!r.onBand){var n=e.getLayout("bandWidth");r.isHorizontal()?(A.x-=n,A.width+=n*2):(A.y-=n,A.height+=n*2)}}return A}var hL=function(t){Z(e,t);function e(){var A=t.call(this)||this;return A.type=e.type,A._isFirstFrame=!0,A}return e.prototype.render=function(A,r,n,i){this._model=A,this._removeOnRenderedListener(n),this._updateDrawMode(A);var a=A.get("coordinateSystem");a==="cartesian2d"||a==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(A,r,n):this._renderNormal(A,r,n,i)):process.env.NODE_ENV!=="production"&&gA("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(A){this._clear(),this._updateDrawMode(A),this._updateLargeClip(A)},e.prototype.incrementalRender=function(A,r){this._progressiveEls=[],this._incrementalRenderLarge(A,r)},e.prototype.eachRendered=function(A){Ls(this._progressiveEls||this.group,A)},e.prototype._updateDrawMode=function(A){var r=A.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(A,r,n,i){var a=this.group,o=A.getData(),s=this._data,l=A.coordinateSystem,u=l.getBaseAxis(),f;l.type==="cartesian2d"?f=u.isHorizontal():l.type==="polar"&&(f=u.dim==="angle");var c=A.isAnimationEnabled()?A:null,h=vL(A,l);h&&this._enableRealtimeSort(h,o,n);var v=A.get("clip",!0)||h,d=cL(l,o);a.removeClipPath();var g=A.get("roundCap",!0),p=A.get("showBackground",!0),B=A.getModel("backgroundStyle"),y=B.get("borderRadius")||0,m=[],_=this._backgroundEls,C=i&&i.isInitSort,Q=i&&i.type==="changeAxisOrder";function F(x){var b=Ll[l.type](o,x),I=wL(l,f,b);return I.useStyle(B.getItemStyle()),l.type==="cartesian2d"?I.setShape("r",y):I.setShape("cornerRadius",y),m[x]=I,I}o.diff(s).add(function(x){var b=o.getItemModel(x),I=Ll[l.type](o,x,b);if(p&&F(x),!(!o.hasValue(x)||!dw[l.type](I))){var T=!1;v&&(T=fw[l.type](d,I));var D=cw[l.type](A,o,x,I,f,c,u.model,!1,g);h&&(D.forceLabelAnimation=!0),pw(D,o,x,b,I,A,f,l.type==="polar"),C?D.attr({shape:I}):h?hw(h,c,D,I,x,f,!1,!1):rt(D,{shape:I},A,x),o.setItemGraphicEl(x,D),a.add(D),D.ignore=T}}).update(function(x,b){var I=o.getItemModel(x),T=Ll[l.type](o,x,I);if(p){var D=void 0;_.length===0?D=F(b):(D=_[b],D.useStyle(B.getItemStyle()),l.type==="cartesian2d"?D.setShape("r",y):D.setShape("cornerRadius",y),m[x]=D);var R=Ll[l.type](o,x),$=ww(f,R,l);yA(D,{shape:$},c,x)}var G=s.getItemGraphicEl(b);if(!o.hasValue(x)||!dw[l.type](T)){a.remove(G);return}var X=!1;if(v&&(X=fw[l.type](d,T),X&&a.remove(G)),G?pB(G):G=cw[l.type](A,o,x,T,f,c,u.model,!!G,g),h&&(G.forceLabelAnimation=!0),Q){var ie=G.getTextContent();if(ie){var ve=fi(ie);ve.prevValue!=null&&(ve.prevValue=ve.value)}}else pw(G,o,x,I,T,A,f,l.type==="polar");C?G.attr({shape:T}):h?hw(h,c,G,T,x,f,!0,Q):yA(G,{shape:T},A,x,null),o.setItemGraphicEl(x,G),G.ignore=X,a.add(G)}).remove(function(x){var b=s.getItemGraphicEl(x);b&&mc(b,A,x)}).execute();var E=this._backgroundGroup||(this._backgroundGroup=new sA);E.removeAll();for(var U=0;U<m.length;++U)E.add(m[U]);a.add(E),this._backgroundEls=m,this._data=o},e.prototype._renderLarge=function(A,r,n){this._clear(),yw(A,this.group),this._updateLargeClip(A)},e.prototype._incrementalRenderLarge=function(A,r){this._removeBackground(),yw(r,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(A){var r=A.get("clip",!0)&&VD(A.coordinateSystem,!1,A),n=this.group;r?n.setClipPath(r):n.removeClipPath()},e.prototype._enableRealtimeSort=function(A,r,n){var i=this;if(r.count()){var a=A.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,A,n),this._isFirstFrame=!1;else{var o=function(s){var l=r.getItemGraphicEl(s),u=l&&l.shape;return u&&Math.abs(a.isHorizontal()?u.height:u.width)||0};this._onRendered=function(){i._updateSortWithinSameData(r,o,a,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(A,r,n){var i=[];return A.each(A.mapDimension(r.dim),function(a,o){var s=n(o);s=s??NaN,i.push({dataIndex:o,mappedValue:s,ordinalNumber:a})}),i.sort(function(a,o){return o.mappedValue-a.mappedValue}),{ordinalNumbers:he(i,function(a){return a.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(A,r,n){for(var i=n.scale,a=A.mapDimension(n.dim),o=Number.MAX_VALUE,s=0,l=i.getOrdinalMeta().categories.length;s<l;++s){var u=A.rawIndexOf(a,i.getRawOrdinalNumber(s)),f=u<0?Number.MIN_VALUE:r(A.indexOfRawIndex(u));if(f>o)return!0;o=f}return!1},e.prototype._isOrderDifferentInView=function(A,r){for(var n=r.scale,i=n.getExtent(),a=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);a<=o;++a)if(A.ordinalNumbers[a]!==n.getRawOrdinalNumber(a))return!0},e.prototype._updateSortWithinSameData=function(A,r,n,i){if(this._isOrderChangedWithinSameData(A,r,n)){var a=this._dataSort(A,n,r);this._isOrderDifferentInView(a,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:a}))}},e.prototype._dispatchInitSort=function(A,r,n){var i=r.baseAxis,a=this._dataSort(A,i,function(o){return A.get(A.mapDimension(r.otherAxis.dim),o)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:a})},e.prototype.remove=function(A,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(A,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(A){this._onRendered&&(A.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(A){var r=this.group,n=this._data;A&&A.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){mc(i,A,Te(i).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(er),fw={cartesian2d:function(t,e){var A=e.width<0?-1:1,r=e.height<0?-1:1;A<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var n=t.x+t.width,i=t.y+t.height,a=Xh(e.x,t.x),o=Zh(e.x+e.width,n),s=Xh(e.y,t.y),l=Zh(e.y+e.height,i),u=o<a,f=l<s;return e.x=u&&a>n?o:a,e.y=f&&s>i?l:s,e.width=u?0:o-a,e.height=f?0:l-s,A<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),u||f},polar:function(t,e){var A=e.r0<=e.r?1:-1;if(A<0){var r=e.r;e.r=e.r0,e.r0=r}var n=Zh(e.r,t.r),i=Xh(e.r0,t.r0);e.r=n,e.r0=i;var a=n-i<0;if(A<0){var r=e.r;e.r=e.r0,e.r0=r}return a}},cw={cartesian2d:function(t,e,A,r,n,i,a,o,s){var l=new Ze({shape:Y({},r),z2:1});if(l.__dataIndex=A,l.name="item",i){var u=l.shape,f=n?"height":"width";u[f]=0}return l},polar:function(t,e,A,r,n,i,a,o,s){var l=!n&&s?uw:Ba,u=new l({shape:r,z2:1});u.name="item";var f=gw(n);if(u.calculateTextPosition=lL(f,{isRoundCap:l===uw}),i){var c=u.shape,h=n?"r":"endAngle",v={};c[h]=n?r.r0:r.startAngle,v[h]=r[h],(o?yA:rt)(u,{shape:v},i)}return u}};function vL(t,e){var A=t.get("realtimeSort",!0),r=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&A&&(r.type!=="category"&&gA("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&gA("`realtimeSort` will not work because this bar series is not on cartesian2d.")),A&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function hw(t,e,A,r,n,i,a,o){var s,l;i?(l={x:r.x,width:r.width},s={y:r.y,height:r.height}):(l={y:r.y,height:r.height},s={x:r.x,width:r.width}),o||(a?yA:rt)(A,{shape:s},e,n,null);var u=e?t.baseAxis.model:null;(a?yA:rt)(A,{shape:l},u,n)}function vw(t,e){for(var A=0;A<e.length;A++)if(!isFinite(t[e[A]]))return!0;return!1}var dL=["x","y","width","height"],gL=["cx","cy","r","startAngle","endAngle"],dw={cartesian2d:function(t){return!vw(t,dL)},polar:function(t){return!vw(t,gL)}},Ll={cartesian2d:function(t,e,A){var r=t.getItemLayout(e),n=A?BL(A,r):0,i=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+i*n/2,y:r.y+a*n/2,width:r.width-i*n,height:r.height-a*n}},polar:function(t,e,A){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function pL(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function gw(t){return function(e){var A=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+A;default:return r}}}(t)}function pw(t,e,A,r,n,i,a,o){var s=e.getItemVisual(A,"style");if(o){if(!i.get("roundCap")){var u=t.shape,f=fL(r.getModel("itemStyle"),u,!0);Y(u,f),t.setShape(u)}}else{var l=r.get(["itemStyle","borderRadius"])||0;t.setShape("r",l)}t.useStyle(s);var c=r.getShallow("cursor");c&&t.attr("cursor",c);var h=o?a?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":a?n.height>=0?"bottom":"top":n.width>=0?"right":"left",v=Os(r);Hs(t,v,{labelFetcher:i,labelDataIndex:A,defaultText:Kh(i.getData(),A),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var d=t.getTextContent();if(o&&d){var g=r.get(["label","position"]);t.textConfig.inside=g==="middle"?!0:null,uL(t,g==="outside"?h:g,gw(a),r.get(["label","rotate"]))}CU(d,v,i.getRawValue(A),function(B){return Ym(e,B)});var p=r.getModel(["emphasis"]);Cs(t,p.get("focus"),p.get("blurScope"),p.get("disabled")),fc(t,r),pL(n)&&(t.style.fill="none",t.style.stroke="none",S(t.states,function(B){B.style&&(B.style.fill=B.style.stroke="none")}))}function BL(t,e){var A=t.get(["itemStyle","borderColor"]);if(!A||A==="none")return 0;var r=t.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,n,i)}var yL=function(){function t(){}return t}(),Bw=function(t){Z(e,t);function e(A){var r=t.call(this,A)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new yL},e.prototype.buildPath=function(A,r){for(var n=r.points,i=this.baseDimIdx,a=1-this.baseDimIdx,o=[],s=[],l=this.barWidth,u=0;u<n.length;u+=3)s[i]=l,s[a]=n[u+2],o[i]=n[u+i],o[a]=n[u+a],A.rect(o[0],o[1],s[0],s[1])},e}(Re);function yw(t,e,A,r){var n=t.getData(),i=n.getLayout("valueAxisHorizontal")?1:0,a=n.getLayout("largeDataIndices"),o=n.getLayout("size"),s=t.getModel("backgroundStyle"),l=n.getLayout("largeBackgroundPoints");if(l){var u=new Bw({shape:{points:l},incremental:!!r,silent:!0,z2:0});u.baseDimIdx=i,u.largeDataIndices=a,u.barWidth=o,u.useStyle(s.getItemStyle()),e.add(u),A&&A.push(u)}var f=new Bw({shape:{points:n.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=i,f.largeDataIndices=a,f.barWidth=o,e.add(f),f.useStyle(n.getVisual("style")),f.style.stroke=null,Te(f).seriesIndex=t.seriesIndex,t.get("silent")||(f.on("mousedown",mw),f.on("mousemove",mw)),A&&A.push(f)}var mw=ih(function(t){var e=this,A=mL(e,t.offsetX,t.offsetY);Te(e).dataIndex=A>=0?A:null},30,!1);function mL(t,e,A){for(var r=t.baseDimIdx,n=1-r,i=t.shape.points,a=t.largeDataIndices,o=[],s=[],l=t.barWidth,u=0,f=i.length/3;u<f;u++){var c=u*3;if(s[r]=l,s[n]=i[c+2],o[r]=i[c+r],o[n]=i[c+n],s[n]<0&&(o[n]+=s[n],s[n]=-s[n]),e>=o[0]&&e<=o[0]+s[0]&&A>=o[1]&&A<=o[1]+s[1])return a[u]}return-1}function ww(t,e,A){if(Wh(A,"cartesian2d")){var r=e,n=A.getArea();return{x:t?r.x:n.x,y:t?n.y:r.y,width:t?r.width:n.width,height:t?n.height:r.height}}else{var n=A.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:t?n.r0:i.r0,r:t?n.r:i.r,startAngle:t?i.startAngle:0,endAngle:t?i.endAngle:Math.PI*2}}}function wL(t,e,A){var r=t.type==="polar"?Ba:Ze;return new r({shape:ww(e,A,t),silent:!0,z2:0})}const CL=hL;function _L(t){t.registerChartView(CL),t.registerSeriesModel(aL),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,$e(bT,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,IT("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,ow("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,A){var r=e.componentType||"series";A.eachComponent({mainType:r,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var QL=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Ke);const FL=QL;var Jh=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",HA).models[0]},e.type="cartesian2dAxis",e}(Ke);xt(Jh,AD);var Cw={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},xL=De({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Cw),$h=De({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Cw),EL=De({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},$h),UL=He({logBase:10},$h);const SL={category:xL,value:$h,time:EL,log:UL};var bL={value:1,category:1,time:1,log:1};function _w(t,e,A,r){S(bL,function(n,i){var a=De(De({},SL[i],!0),r,!0),o=function(s){Z(l,s);function l(){var u=s!==null&&s.apply(this,arguments)||this;return u.type=e+"Axis."+i,u}return l.prototype.mergeDefaultAndTheme=function(u,f){var c=xa(this),h=c?Ea(u):{},v=f.getTheme();De(u,v.get(i+"Axis")),De(u,this.getDefaultOption()),u.type=Qw(u),c&&di(u,h,c)},l.prototype.optionUpdated=function(){var u=this.option;u.type==="category"&&(this.__ordinalMeta=bh.createByAxisModel(this))},l.prototype.getCategories=function(u){var f=this.option;if(f.type==="category")return u?f.data:this.__ordinalMeta.categories},l.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},l.type=e+"Axis."+i,l.defaultOption=a,l}(A);t.registerComponentModel(o)}),t.registerSubTypeDefaulter(e+"Axis",Qw)}function Qw(t){return t.type||(t.data?"category":"value")}var IL=function(){function t(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return t.prototype.getAxis=function(e){return this._axes[e]},t.prototype.getAxes=function(){return he(this._dimList,function(e){return this._axes[e]},this)},t.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),tA(this.getAxes(),function(A){return A.scale.type===e})},t.prototype.addAxis=function(e){var A=e.dim;this._axes[A]=e,this._dimList.push(A)},t}();const TL=IL;var qh=["x","y"];function Fw(t){return t.type==="interval"||t.type==="time"}var DL=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type="cartesian2d",A.dimensions=qh,A}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var A=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!Fw(A)||!Fw(r))){var n=A.getExtent(),i=r.getExtent(),a=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),s=n[1]-n[0],l=i[1]-i[0];if(!(!s||!l)){var u=(o[0]-a[0])/s,f=(o[1]-a[1])/l,c=a[0]-n[0]*u,h=a[1]-i[0]*f,v=this._transform=[u,0,0,f,c,h];this._invTransform=Io([],v)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(A){var r=this.getAxis("x"),n=this.getAxis("y");return r.contain(r.toLocalCoord(A[0]))&&n.contain(n.toLocalCoord(A[1]))},e.prototype.containData=function(A){return this.getAxis("x").containData(A[0])&&this.getAxis("y").containData(A[1])},e.prototype.containZone=function(A,r){var n=this.dataToPoint(A),i=this.dataToPoint(r),a=this.getArea(),o=new Me(n[0],n[1],i[0]-n[0],i[1]-n[1]);return a.intersect(o)},e.prototype.dataToPoint=function(A,r,n){n=n||[];var i=A[0],a=A[1];if(this._transform&&i!=null&&isFinite(i)&&a!=null&&isFinite(a))return ZA(n,A,this._transform);var o=this.getAxis("x"),s=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,r)),n[1]=s.toGlobalCoord(s.dataToCoord(a,r)),n},e.prototype.clampData=function(A,r){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),o=i.getExtent(),s=n.parse(A[0]),l=i.parse(A[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),r},e.prototype.pointToData=function(A,r){var n=[];if(this._invTransform)return ZA(n,A,this._invTransform);var i=this.getAxis("x"),a=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(A[0]),r),n[1]=a.coordToData(a.toLocalCoord(A[1]),r),n},e.prototype.getOtherAxis=function(A){return this.getAxis(A.dim==="x"?"y":"x")},e.prototype.getArea=function(A){A=A||0;var r=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1])-A,a=Math.min(n[0],n[1])-A,o=Math.max(r[0],r[1])-i+A,s=Math.max(n[0],n[1])-a+A;return new Me(i,a,o,s)},e}(TL),LL=function(t){Z(e,t);function e(A,r,n,i,a){var o=t.call(this,A,r,n)||this;return o.index=0,o.type=i||"value",o.position=a||"bottom",o}return e.prototype.isHorizontal=function(){var A=this.position;return A==="top"||A==="bottom"},e.prototype.getGlobalExtent=function(A){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),A&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(A,r){return this.coordToData(this.toLocalCoord(A[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(A){if(this.type!=="category")return!1;this.model.option.categorySortInfo=A,this.scale.setSortInfo(A)},e}(hD);const ML=LL;function jh(t,e,A){A=A||{};var r=t.coordinateSystem,n=e.axis,i={},a=n.getAxesOnZeroOf()[0],o=n.position,s=a?"onZero":o,l=n.dim,u=r.getRect(),f=[u.x,u.x+u.width,u.y,u.y+u.height],c={left:0,right:1,top:0,bottom:1,onZero:2},h=e.get("offset")||0,v=l==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(a){var d=a.toGlobalCoord(a.dataToCoord(0));v[c.onZero]=Math.max(Math.min(d,v[1]),v[0])}i.position=[l==="y"?v[c[s]]:f[0],l==="x"?v[c[s]]:f[3]],i.rotation=Math.PI/2*(l==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=g[o],i.labelOffset=a?v[c[o]]-v[c.onZero]:0,e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),Nr(A.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var p=e.get(["axisLabel","rotate"]);return i.labelRotate=s==="top"?-p:p,i.z2=1,i}function xw(t){return t.get("coordinateSystem")==="cartesian2d"}function Ew(t){var e={xAxisModel:null,yAxisModel:null};return S(e,function(A,r){var n=r.replace(/Model$/,""),i=t.getReferringComponents(n,HA).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error(n+' "'+kn(t.get(n+"Index"),t.get(n+"Id"),0)+'" not found');e[r]=i}),e}var ev=Math.log;function HL(t,e,A){var r=Ya.prototype,n=r.getTicks.call(A),i=r.getTicks.call(A,!0),a=n.length-1,o=r.getInterval.call(A),s=xm(t,e),l=s.extent,u=s.fixMin,f=s.fixMax;if(t.type==="log"){var c=ev(t.base);l=[ev(l[0])/c,ev(l[1])/c]}t.setExtent(l[0],l[1]),t.calcNiceExtent({splitNumber:a,fixMin:u,fixMax:f});var h=r.getExtent.call(t);u&&(l[0]=h[0]),f&&(l[1]=h[1]);var v=r.getInterval.call(t),d=l[0],g=l[1];if(u&&f)v=(g-d)/a;else if(u)for(g=l[0]+v*a;g<l[1]&&isFinite(g)&&isFinite(l[1]);)v=Th(v),g=l[0]+v*a;else if(f)for(d=l[1]-v*a;d>l[0]&&isFinite(d)&&isFinite(l[0]);)v=Th(v),d=l[1]-v*a;else{var p=t.getTicks().length-1;p>a&&(v=Th(v));var B=v*a;g=Math.ceil(l[1]/v)*v,d=rA(g-B),d<0&&l[0]>=0?(d=0,g=rA(B)):g>0&&l[1]<=0&&(g=0,d=-rA(B))}var y=(n[0].value-i[0].value)/o,m=(n[a].value-i[a].value)/o;if(r.setExtent.call(t,d+v*y,g+v*m),r.setInterval.call(t,v),(y||m)&&r.setNiceExtent.call(t,d+v,g-v),process.env.NODE_ENV!=="production"){var _=r.getTicks.call(t);_[1]&&(!CT(v)||Of(_[1].value)>Of(v))&&gA("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}}var OL=function(){function t(e,A,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=qh,this._initCartesian(e,A,r),this.model=e}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(e,A){var r=this._axesMap;this._updateScale(e,this.model);function n(a){var o,s=Ge(a),l=s.length;if(l){for(var u=[],f=l-1;f>=0;f--){var c=+s[f],h=a[c],v=h.model,d=h.scale;Ih(d)&&v.get("alignTicks")&&v.get("interval")==null?u.push(h):(Em(d,v),Ih(d)&&(o=h))}u.length&&(o||(o=u.pop(),Em(o.scale,o.model)),S(u,function(g){HL(g.scale,g.model,o.scale)}))}}n(r.x),n(r.y);var i={};S(r.x,function(a){Uw(r,"y",a,i)}),S(r.y,function(a){Uw(r,"x",a,i)}),this.resize(this.model,A)},t.prototype.resize=function(e,A,r){var n=e.getBoxLayoutParams(),i=!r&&e.get("containLabel"),a=Fa(n,{width:A.getWidth(),height:A.getHeight()});this._rect=a;var o=this._axesList;s(),i&&(S(o,function(l){if(!l.model.get(["axisLabel","inside"])){var u=qT(l);if(u){var f=l.isHorizontal()?"height":"width",c=l.model.get(["axisLabel","margin"]);a[f]-=u[f]+c,l.position==="top"?a.y+=u.height+c:l.position==="left"&&(a.x+=u.width+c)}}}),s()),S(this._coordsList,function(l){l.calcAffineTransform()});function s(){S(o,function(l){var u=l.isHorizontal(),f=u?[0,a.width]:[0,a.height],c=l.inverse?1:0;l.setExtent(f[c],f[1-c]),RL(l,u?a.x:a.y)})}},t.prototype.getAxis=function(e,A){var r=this._axesMap[e];if(r!=null)return r[A||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(e,A){if(e!=null&&A!=null){var r="x"+e+"y"+A;return this._coordsMap[r]}fe(e)&&(A=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===e||i[n].getAxis("y").index===A)return i[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(e,A,r){var n=this._findConvertTarget(A);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},t.prototype.convertFromPixel=function(e,A,r){var n=this._findConvertTarget(A);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},t.prototype._findConvertTarget=function(e){var A=e.seriesModel,r=e.xAxisModel||A&&A.getReferringComponents("xAxis",HA).models[0],n=e.yAxisModel||A&&A.getReferringComponents("yAxis",HA).models[0],i=e.gridModel,a=this._coordsList,o,s;if(A)o=A.coordinateSystem,Le(a,o)<0&&(o=null);else if(r&&n)o=this.getCartesian(r.componentIndex,n.componentIndex);else if(r)s=this.getAxis("x",r.componentIndex);else if(n)s=this.getAxis("y",n.componentIndex);else if(i){var l=i.coordinateSystem;l===this&&(o=this._coordsList[0])}return{cartesian:o,axis:s}},t.prototype.containPoint=function(e){var A=this._coordsList[0];if(A)return A.containPoint(e)},t.prototype._initCartesian=function(e,A,r){var n=this,i=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(A.eachComponent("xAxis",l("x"),this),A.eachComponent("yAxis",l("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}this._axesMap=o,S(o.x,function(u,f){S(o.y,function(c,h){var v="x"+f+"y"+h,d=new DL(v);d.master=n,d.model=e,n._coordsMap[v]=d,n._coordsList.push(d),d.addAxis(u),d.addAxis(c)})});function l(u){return function(f,c){if(Av(f,e)){var h=f.get("position");u==="x"?h!=="top"&&h!=="bottom"&&(h=a.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=a.left?"right":"left"),a[h]=!0;var v=new ML(u,JT(f),[0,0],f.get("type"),h),d=v.type==="category";v.onBand=d&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=i,v.index=c,i._axesList.push(v),o[u][c]=v,s[u]++}}}},t.prototype._updateScale=function(e,A){S(this._axesList,function(n){if(n.scale.setExtent(1/0,-1/0),n.type==="category"){var i=n.model.get("categorySortInfo");n.scale.setSortInfo(i)}}),e.eachSeries(function(n){if(xw(n)){var i=Ew(n),a=i.xAxisModel,o=i.yAxisModel;if(!Av(a,A)||!Av(o,A))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=n.getData(),u=s.getAxis("x"),f=s.getAxis("y");r(l,u),r(l,f)}},this);function r(n,i){S(Sm(n,i.dim),function(a){i.scale.unionExtentFromData(n,a)})}},t.prototype.getTooltipAxes=function(e){var A=[],r=[];return S(this.getCartesians(),function(n){var i=e!=null&&e!=="auto"?n.getAxis(e):n.getBaseAxis(),a=n.getOtherAxis(i);Le(A,i)<0&&A.push(i),Le(r,a)<0&&r.push(a)}),{baseAxes:A,otherAxes:r}},t.create=function(e,A){var r=[];return e.eachComponent("grid",function(n,i){var a=new t(n,e,A);a.name="grid_"+i,a.resize(n,A,!0),n.coordinateSystem=a,r.push(a)}),e.eachSeries(function(n){if(xw(n)){var i=Ew(n),a=i.xAxisModel,o=i.yAxisModel,s=a.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!s)throw new Error('Grid "'+kn(a.get("gridIndex"),a.get("gridId"),0)+'" not found');if(a.getCoordSysModel()!==o.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var l=s.coordinateSystem;n.coordinateSystem=l.getCartesian(a.componentIndex,o.componentIndex)}}),r},t.dimensions=qh,t}();function Av(t,e){return t.getCoordSysModel()===e}function Uw(t,e,A,r){A.getAxesOnZeroOf=function(){return i?[i]:[]};var n=t[e],i,a=A.model,o=a.get(["axisLine","onZero"]),s=a.get(["axisLine","onZeroAxisIndex"]);if(!o)return;if(s!=null)Sw(n[s])&&(i=n[s]);else for(var l in n)if(n.hasOwnProperty(l)&&Sw(n[l])&&!r[u(n[l])]){i=n[l];break}i&&(r[u(i)]=!0);function u(f){return f.dim+"_"+f.index}}function Sw(t){return t&&t.type!=="category"&&t.type!=="time"&&$T(t)}function RL(t,e){var A=t.getExtent(),r=A[0]+A[1];t.toGlobalCoord=t.dim==="x"?function(n){return n+e}:function(n){return r-n+e},t.toLocalCoord=t.dim==="x"?function(n){return n-e}:function(n){return r-n+e}}const PL=OL;var Fr=Math.PI,Un=function(){function t(e,A){this.group=new sA,this.opt=A,this.axisModel=e,He(A,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new sA({x:A.position[0],y:A.position[1],rotation:A.rotation});r.updateTransform(),this._transformGroup=r}return t.prototype.hasBuilder=function(e){return!!bw[e]},t.prototype.add=function(e){bw[e](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(e,A,r){var n=Lg(A-e),i,a;return ts(n)?(a=r>0?"top":"bottom",i="center"):ts(n-Fr)?(a=r>0?"bottom":"top",i="center"):(a="middle",n>0&&n<Fr?i=r>0?"right":"left":i=r>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:a}},t.makeAxisEventDataBase=function(e){var A={componentType:e.mainType,componentIndex:e.componentIndex};return A[e.mainType+"Index"]=e.componentIndex,A},t.isLabelSilent=function(e){var A=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||A&&A.show)},t}(),bw={axisLine:function(t,e,A,r){var n=e.get(["axisLine","show"]);if(n==="auto"&&t.handleAutoShown&&(n=t.handleAutoShown("axisLine")),!!n){var i=e.axis.getExtent(),a=r.transform,o=[i[0],0],s=[i[1],0],l=o[0]>s[0];a&&(ZA(o,o,a),ZA(s,s,a));var u=Y({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new ln({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});ya(f.shape,f.style.lineWidth),f.anid="line",A.add(f);var c=e.get(["axisLine","symbol"]);if(c!=null){var h=e.get(["axisLine","symbolSize"]);ae(c)&&(c=[c,c]),(ae(h)||ze(h))&&(h=[h,h]);var v=cy(e.get(["axisLine","symbolOffset"])||0,h),d=h[0],g=h[1];S([{rotate:t.rotation+Math.PI/2,offset:v[0],r:0},{rotate:t.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((o[0]-s[0])*(o[0]-s[0])+(o[1]-s[1])*(o[1]-s[1]))}],function(p,B){if(c[B]!=="none"&&c[B]!=null){var y=yr(c[B],-d/2,-g/2,d,g,u.stroke,!0),m=p.r+p.offset,_=l?s:o;y.attr({rotation:p.rotate,x:_[0]+m*Math.cos(t.rotation),y:_[1]-m*Math.sin(t.rotation),silent:!0,z2:11}),A.add(y)}})}}},axisTickLabel:function(t,e,A,r){var n=KL(A,r,e,t),i=GL(A,r,e,t);if(kL(e,i,n),VL(A,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=Vm(he(i,function(o){return{label:o,priority:o.z2,defaultAttr:{ignore:o.ignore}}}));zm(a)}},axisName:function(t,e,A,r){var n=Nr(t.axisName,e.get("name"));if(n){var i=e.get("nameLocation"),a=t.nameDirection,o=e.getModel("nameTextStyle"),s=e.get("nameGap")||0,l=e.axis.getExtent(),u=l[0]>l[1]?-1:1,f=[i==="start"?l[0]-u*s:i==="end"?l[1]+u*s:(l[0]+l[1])/2,Tw(i)?t.labelOffset+a*s:0],c,h=e.get("nameRotate");h!=null&&(h=h*Fr/180);var v;Tw(i)?c=Un.innerTextLayout(t.rotation,h??t.rotation,a):(c=NL(t.rotation,i,h||0,l),v=t.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(c.rotation)),!isFinite(v)&&(v=null)));var d=o.getFont(),g=e.get("nameTruncate",!0)||{},p=g.ellipsis,B=Nr(t.nameTruncateMaxWidth,g.maxWidth,v),y=new OA({x:f[0],y:f[1],rotation:c.rotation,silent:Un.isLabelSilent(e),style:cn(o,{text:n,font:d,overflow:"truncate",width:B,ellipsis:p,fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:o.get("align")||c.textAlign,verticalAlign:o.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(Ds({el:y,componentModel:e,itemName:n}),y.__fullText=n,y.anid="name",e.get("triggerEvent")){var m=Un.makeAxisEventDataBase(e);m.targetType="axisName",m.name=n,Te(y).eventData=m}r.add(y),y.updateTransform(),A.add(y),y.decomposeTransform()}}};function NL(t,e,A,r){var n=Lg(A-t),i,a,o=r[0]>r[1],s=e==="start"&&!o||e!=="start"&&o;return ts(n-Fr/2)?(a=s?"bottom":"top",i="center"):ts(n-Fr*1.5)?(a=s?"top":"bottom",i="center"):(a="middle",n<Fr*1.5&&n>Fr/2?i=s?"left":"right":i=s?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:a}}function kL(t,e,A){if(!Um(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),n=t.get(["axisLabel","showMaxLabel"]);e=e||[],A=A||[];var i=e[0],a=e[1],o=e[e.length-1],s=e[e.length-2],l=A[0],u=A[1],f=A[A.length-1],c=A[A.length-2];r===!1?(lt(i),lt(l)):Iw(i,a)&&(r?(lt(a),lt(u)):(lt(i),lt(l))),n===!1?(lt(o),lt(f)):Iw(s,o)&&(n?(lt(s),lt(c)):(lt(o),lt(f)))}}function lt(t){t&&(t.ignore=!0)}function Iw(t,e){var A=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(!(!A||!r)){var n=Af([]);return rf(n,n,-t.rotation),A.applyTransform(Zn([],n,t.getLocalTransform())),r.applyTransform(Zn([],n,e.getLocalTransform())),A.intersect(r)}}function Tw(t){return t==="middle"||t==="center"}function Dw(t,e,A,r,n){for(var i=[],a=[],o=[],s=0;s<t.length;s++){var l=t[s].coord;a[0]=l,a[1]=0,o[0]=l,o[1]=A,e&&(ZA(a,a,e),ZA(o,o,e));var u=new ln({shape:{x1:a[0],y1:a[1],x2:o[0],y2:o[1]},style:r,z2:2,autoBatch:!0,silent:!0});ya(u.shape,u.style.lineWidth),u.anid=n+"_"+t[s].tickValue,i.push(u)}return i}function KL(t,e,A,r){var n=A.axis,i=A.getModel("axisTick"),a=i.get("show");if(a==="auto"&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),!(!a||n.scale.isBlank())){for(var o=i.getModel("lineStyle"),s=r.tickDirection*i.get("length"),l=n.getTicksCoords(),u=Dw(l,e.transform,s,He(o.getLineStyle(),{stroke:A.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<u.length;f++)t.add(u[f]);return u}}function VL(t,e,A,r){var n=A.axis,i=A.getModel("minorTick");if(!(!i.get("show")||n.scale.isBlank())){var a=n.getMinorTicksCoords();if(a.length)for(var o=i.getModel("lineStyle"),s=r*i.get("length"),l=He(o.getLineStyle(),He(A.getModel("axisTick").getLineStyle(),{stroke:A.get(["axisLine","lineStyle","color"])})),u=0;u<a.length;u++)for(var f=Dw(a[u],e.transform,s,l,"minorticks_"+u),c=0;c<f.length;c++)t.add(f[c])}}function GL(t,e,A,r){var n=A.axis,i=Nr(r.axisLabelShow,A.get(["axisLabel","show"]));if(!(!i||n.scale.isBlank())){var a=A.getModel("axisLabel"),o=a.get("margin"),s=n.getViewLabels(),l=(Nr(r.labelRotate,a.get("rotate"))||0)*Fr/180,u=Un.innerTextLayout(r.rotation,l,r.labelDirection),f=A.getCategories&&A.getCategories(!0),c=[],h=Un.isLabelSilent(A),v=A.get("triggerEvent");return S(s,function(d,g){var p=n.scale.type==="ordinal"?n.scale.getRawOrdinalNumber(d.tickValue):d.tickValue,B=d.formattedLabel,y=d.rawLabel,m=a;if(f&&f[p]){var _=f[p];fe(_)&&_.textStyle&&(m=new mA(_.textStyle,a,A.ecModel))}var C=m.getTextColor()||A.get(["axisLine","lineStyle","color"]),Q=n.dataToCoord(p),F=m.getShallow("align",!0)||u.textAlign,E=ye(m.getShallow("alignMinLabel",!0),F),U=ye(m.getShallow("alignMaxLabel",!0),F),x=m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||u.textVerticalAlign,b=ye(m.getShallow("verticalAlignMinLabel",!0),x),I=ye(m.getShallow("verticalAlignMaxLabel",!0),x),T=new OA({x:Q,y:r.labelOffset+r.labelDirection*o,rotation:u.rotation,silent:h,z2:10+(d.level||0),style:cn(m,{text:B,align:g===0?E:g===s.length-1?U:F,verticalAlign:g===0?b:g===s.length-1?I:x,fill:de(C)?C(n.type==="category"?y:n.type==="value"?p+"":p,g):C})});if(T.anid="label_"+p,Ds({el:T,componentModel:A,itemName:B,formatterParamsExtra:{isTruncated:function(){return T.isTruncated},value:y,tickIndex:g}}),v){var D=Un.makeAxisEventDataBase(A);D.targetType="axisLabel",D.value=y,D.tickIndex=g,n.type==="category"&&(D.dataIndex=p),Te(T).eventData=D}e.add(T),T.updateTransform(),c.push(T),t.add(T),T.decomposeTransform()}),c}}const Lw=Un;function zL(t,e){var A={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return WL(A,t,e),A.seriesInvolved&&XL(A,t),A}function WL(t,e,A){var r=e.getComponent("tooltip"),n=e.getComponent("axisPointer"),i=n.get("link",!0)||[],a=[];S(A.getCoordinateSystems(),function(o){if(!o.axisPointerEnabled)return;var s=qa(o.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=o;var u=o.model,f=u.getModel("tooltip",r);if(S(o.getAxes(),$e(d,!1,null)),o.getTooltipAxes&&r&&f.get("show")){var c=f.get("trigger")==="axis",h=f.get(["axisPointer","type"])==="cross",v=o.getTooltipAxes(f.get(["axisPointer","axis"]));(c||h)&&S(v.baseAxes,$e(d,h?"cross":!0,c)),h&&S(v.otherAxes,$e(d,"cross",!1))}function d(g,p,B){var y=B.model.getModel("axisPointer",n),m=y.get("show");if(!(!m||m==="auto"&&!g&&!nv(y))){p==null&&(p=y.get("triggerTooltip")),y=g?YL(B,f,n,e,g,p):y;var _=y.get("snap"),C=y.get("triggerEmphasis"),Q=qa(B.model),F=p||_||B.type==="category",E=t.axesInfo[Q]={key:Q,axis:B,coordSys:o,axisPointerModel:y,triggerTooltip:p,triggerEmphasis:C,involveSeries:F,snap:_,useHandle:nv(y),seriesModels:[],linkGroup:null};l[Q]=E,t.seriesInvolved=t.seriesInvolved||F;var U=ZL(i,B);if(U!=null){var x=a[U]||(a[U]={axesInfo:{}});x.axesInfo[Q]=E,x.mapper=i[U].mapper,E.linkGroup=x}}}})}function YL(t,e,A,r,n,i){var a=e.getModel("axisPointer"),o=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],s={};S(o,function(c){s[c]=Ee(a.get(c))}),s.snap=t.type!=="category"&&!!i,a.get("type")==="cross"&&(s.type="line");var l=s.label||(s.label={});if(l.show==null&&(l.show=!1),n==="cross"){var u=a.get(["label","show"]);if(l.show=u??!0,!i){var f=s.lineStyle=a.get("crossStyle");f&&He(l,f.textStyle)}}return t.model.getModel("axisPointer",new mA(s,A,r))}function XL(t,e){e.eachSeries(function(A){var r=A.coordinateSystem,n=A.get(["tooltip","trigger"],!0),i=A.get(["tooltip","show"],!0);!r||n==="none"||n===!1||n==="item"||i===!1||A.get(["axisPointer","show"],!0)===!1||S(t.coordSysAxesInfo[qa(r.model)],function(a){var o=a.axis;r.getAxis(o.dim)===o&&(a.seriesModels.push(A),a.seriesDataCount==null&&(a.seriesDataCount=0),a.seriesDataCount+=A.getData().count())})})}function ZL(t,e){for(var A=e.model,r=e.dim,n=0;n<t.length;n++){var i=t[n]||{};if(tv(i[r+"AxisId"],A.id)||tv(i[r+"AxisIndex"],A.componentIndex)||tv(i[r+"AxisName"],A.name))return n}}function tv(t,e){return t==="all"||re(t)&&Le(t,e)>=0||t===e}function JL(t){var e=rv(t);if(e){var A=e.axisPointerModel,r=e.axis.scale,n=A.option,i=A.get("status"),a=A.get("value");a!=null&&(a=r.parse(a));var o=nv(A);i==null&&(n.status=o?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(a==null||a>s[1])&&(a=s[1]),a<s[0]&&(a=s[0]),n.value=a,o&&(n.status=e.axis.scale.isBlank()?"hide":"show")}}function rv(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[qa(t)]}function $L(t){var e=rv(t);return e&&e.axisPointerModel}function nv(t){return!!t.get(["handle","show"])}function qa(t){return t.type+"||"+t.id}var iv={},qL=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.render=function(A,r,n,i){this.axisPointerClass&&JL(A),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(A,n,!0)},e.prototype.updateAxisPointer=function(A,r,n,i){this._doUpdateAxisPointerClass(A,n,!1)},e.prototype.remove=function(A,r){var n=this._axisPointer;n&&n.remove(r)},e.prototype.dispose=function(A,r){this._disposeAxisPointer(r),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(A,r,n){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var a=$L(A);a?(this._axisPointer||(this._axisPointer=new i)).render(A,a,r,n):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(A){this._axisPointer&&this._axisPointer.dispose(A),this._axisPointer=null},e.registerAxisPointerClass=function(A,r){if(process.env.NODE_ENV!=="production"&&iv[A])throw new Error("axisPointer "+A+" exists");iv[A]=r},e.getAxisPointerClass=function(A){return A&&iv[A]},e.type="axis",e}(jt);const Mw=qL;var av=Xe();function jL(t,e,A,r){var n=A.axis;if(!n.scale.isBlank()){var i=A.getModel("splitArea"),a=i.getModel("areaStyle"),o=a.get("color"),s=r.coordinateSystem.getRect(),l=n.getTicksCoords({tickModel:i,clamp:!0});if(l.length){var u=o.length,f=av(t).splitAreaColors,c=Be(),h=0;if(f)for(var v=0;v<l.length;v++){var d=f.get(l[v].tickValue);if(d!=null){h=(d+(u-1)*v)%u;break}}var g=n.toGlobalCoord(l[0].coord),p=a.getAreaStyle();o=re(o)?o:[o];for(var v=1;v<l.length;v++){var B=n.toGlobalCoord(l[v].coord),y=void 0,m=void 0,_=void 0,C=void 0;n.isHorizontal()?(y=g,m=s.y,_=B-y,C=s.height,g=y+_):(y=s.x,m=g,_=s.width,C=B-m,g=m+C);var Q=l[v-1].tickValue;Q!=null&&c.set(Q,h),e.add(new Ze({anid:Q!=null?"area_"+Q:null,shape:{x:y,y:m,width:_,height:C},style:He({fill:o[h]},p),autoBatch:!0,silent:!0})),h=(h+1)%u}av(t).splitAreaColors=c}}}function eM(t){av(t).splitAreaColors=null}var AM=["axisLine","axisTickLabel","axisName"],tM=["splitArea","splitLine","minorSplitLine"],Hw=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A.axisPointerClass="CartesianAxisPointer",A}return e.prototype.render=function(A,r,n,i){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new sA,this.group.add(this._axisGroup),!!A.get("show")){var o=A.getCoordSysModel(),s=jh(o,A),l=new Lw(A,Y({handleAutoShown:function(f){for(var c=o.coordinateSystem.getCartesians(),h=0;h<c.length;h++)if(Ih(c[h].getOtherAxis(A.axis).scale))return!0;return!1}},s));S(AM,l.add,l),this._axisGroup.add(l.getGroup()),S(tM,function(f){A.get([f,"show"])&&rM[f](this,this._axisGroup,A,o)},this);var u=i&&i.type==="changeAxisOrder"&&i.isInitSort;u||QB(a,this._axisGroup,A),t.prototype.render.call(this,A,r,n,i)}},e.prototype.remove=function(){eM(this)},e.type="cartesianAxis",e}(Mw),rM={splitLine:function(t,e,A,r){var n=A.axis;if(!n.scale.isBlank()){var i=A.getModel("splitLine"),a=i.getModel("lineStyle"),o=a.get("color"),s=i.get("showMinLine")!==!1,l=i.get("showMaxLine")!==!1;o=re(o)?o:[o];for(var u=r.coordinateSystem.getRect(),f=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:i}),v=[],d=[],g=a.getLineStyle(),p=0;p<h.length;p++){var B=n.toGlobalCoord(h[p].coord);if(!(p===0&&!s||p===h.length-1&&!l)){var y=h[p].tickValue;f?(v[0]=B,v[1]=u.y,d[0]=B,d[1]=u.y+u.height):(v[0]=u.x,v[1]=B,d[0]=u.x+u.width,d[1]=B);var m=c++%o.length,_=new ln({anid:y!=null?"line_"+y:null,autoBatch:!0,shape:{x1:v[0],y1:v[1],x2:d[0],y2:d[1]},style:He({stroke:o[m]},g),silent:!0});ya(_.shape,g.lineWidth),e.add(_)}}}},minorSplitLine:function(t,e,A,r){var n=A.axis,i=A.getModel("minorSplitLine"),a=i.getModel("lineStyle"),o=r.coordinateSystem.getRect(),s=n.isHorizontal(),l=n.getMinorTicksCoords();if(l.length)for(var u=[],f=[],c=a.getLineStyle(),h=0;h<l.length;h++)for(var v=0;v<l[h].length;v++){var d=n.toGlobalCoord(l[h][v].coord);s?(u[0]=d,u[1]=o.y,f[0]=d,f[1]=o.y+o.height):(u[0]=o.x,u[1]=d,f[0]=o.x+o.width,f[1]=d);var g=new ln({anid:"minor_line_"+l[h][v].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:f[0],y2:f[1]},style:c,silent:!0});ya(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,A,r){jL(t,e,A,r)}},Ow=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.type="xAxis",e}(Hw),nM=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=Ow.type,A}return e.type="yAxis",e}(Hw),iM=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type="grid",A}return e.prototype.render=function(A,r){this.group.removeAll(),A.get("show")&&this.group.add(new Ze({shape:A.coordinateSystem.getRect(),style:He({fill:A.get("backgroundColor")},A.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(jt),Rw={offset:0};function aM(t){t.registerComponentView(iM),t.registerComponentModel(FL),t.registerCoordinateSystem("cartesian2d",PL),_w(t,"x",Jh,Rw),_w(t,"y",Jh,Rw),t.registerComponentView(Ow),t.registerComponentView(nM),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var Pw="\0_ec_interaction_mutex";function Nw(t,e){return!!oM(t)[e]}function oM(t){return t[Pw]||(t[Pw]={})}wn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},EA);var sM=function(t){Z(e,t);function e(A){var r=t.call(this)||this;r._zr=A;var n=pe(r._mousedownHandler,r),i=pe(r._mousemoveHandler,r),a=pe(r._mouseupHandler,r),o=pe(r._mousewheelHandler,r),s=pe(r._pinchHandler,r);return r.enable=function(l,u){this.disable(),this._opt=He(Ee(u)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),l==null&&(l=!0),(l===!0||l==="move"||l==="pan")&&(A.on("mousedown",n),A.on("mousemove",i),A.on("mouseup",a)),(l===!0||l==="scale"||l==="zoom")&&(A.on("mousewheel",o),A.on("pinch",s))},r.disable=function(){A.off("mousedown",n),A.off("mousemove",i),A.off("mouseup",a),A.off("mousewheel",o),A.off("pinch",s)},r}return e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(A){this.pointerChecker=A},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(A){if(!Od(A)){for(var r=A.target;r;){if(r.draggable)return;r=r.__hostTarget||r.parent}var n=A.offsetX,i=A.offsetY;this.pointerChecker&&this.pointerChecker(A,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(A){if(!(!this._dragging||!Ml("moveOnMouseMove",A,this._opt)||A.gestureEvent==="pinch"||Nw(this._zr,"globalPan"))){var r=A.offsetX,n=A.offsetY,i=this._x,a=this._y,o=r-i,s=n-a;this._x=r,this._y=n,this._opt.preventDefaultMouseMove&&Yn(A.event),kw(this,"pan","moveOnMouseMove",A,{dx:o,dy:s,oldX:i,oldY:a,newX:r,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(A){Od(A)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(A){var r=Ml("zoomOnMouseWheel",A,this._opt),n=Ml("moveOnMouseWheel",A,this._opt),i=A.wheelDelta,a=Math.abs(i),o=A.offsetX,s=A.offsetY;if(!(i===0||!r&&!n)){if(r){var l=a>3?1.4:a>1?1.2:1.1,u=i>0?l:1/l;ov(this,"zoom","zoomOnMouseWheel",A,{scale:u,originX:o,originY:s,isAvailableBehavior:null})}if(n){var f=Math.abs(i),c=(i>0?1:-1)*(f>3?.4:f>1?.15:.05);ov(this,"scrollMove","moveOnMouseWheel",A,{scrollDelta:c,originX:o,originY:s,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(A){if(!Nw(this._zr,"globalPan")){var r=A.pinchScale>1?1.1:1/1.1;ov(this,"zoom",null,A,{scale:r,originX:A.pinchX,originY:A.pinchY,isAvailableBehavior:null})}},e}(dt);function ov(t,e,A,r,n){t.pointerChecker&&t.pointerChecker(r,n.originX,n.originY)&&(Yn(r.event),kw(t,e,A,r,n))}function kw(t,e,A,r,n){n.isAvailableBehavior=pe(Ml,null,A,r),t.trigger(e,n)}function Ml(t,e,A){var r=A[t];return!t||r&&(!ae(r)||e.event[r+"Key"])}const lM=sM;function Hl(t,e,A,r,n,i){t=t||0;var a=A[1]-A[0];if(n!=null&&(n=Si(n,[0,a])),i!=null&&(i=Math.max(i,n??0)),r==="all"){var o=Math.abs(e[1]-e[0]);o=Si(o,[0,a]),n=i=Si(o,[n,i]),r=0}e[0]=Si(e[0],A),e[1]=Si(e[1],A);var s=sv(e,r);e[r]+=t;var l=n||0,u=A.slice();s.sign<0?u[0]+=l:u[1]-=l,e[r]=Si(e[r],u);var f;return f=sv(e,r),n!=null&&(f.sign!==s.sign||f.span<n)&&(e[1-r]=e[r]+s.sign*n),f=sv(e,r),i!=null&&f.span>i&&(e[1-r]=e[r]+f.sign*i),e}function sv(t,e){var A=t[e]-t[1-e];return{span:Math.abs(A),sign:A>0?-1:A<0?1:e?-1:1}}function Si(t,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,t))}var Sn=Xe(),Kw=Ee,lv=pe,uM=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(e,A,r,n){var i=A.get("value"),a=A.get("status");if(this._axisModel=e,this._axisPointerModel=A,this._api=r,!(!n&&this._lastValue===i&&this._lastStatus===a)){this._lastValue=i,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||a==="hide"){o&&o.hide(),s&&s.hide();return}o&&o.show(),s&&s.show();var l={};this.makeElOption(l,i,e,A,r);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=u;var f=this._moveAnimation=this.determineAnimation(e,A);if(!o)o=this._group=new sA,this.createPointerEl(o,l,e,A),this.createLabelEl(o,l,e,A),r.getZr().add(o);else{var c=$e(Vw,A,f);this.updatePointerEl(o,l,c),this.updateLabelEl(o,l,c,A)}Ww(o,A,!0),this._renderHandle(i)}},t.prototype.remove=function(e){this.clear(e)},t.prototype.dispose=function(e){this.clear(e)},t.prototype.determineAnimation=function(e,A){var r=A.get("animation"),n=e.axis,i=n.type==="category",a=A.get("snap");if(!a&&!i)return!1;if(r==="auto"||r==null){var o=this.animationThreshold;if(i&&n.getBandWidth()>o)return!0;if(a){var s=rv(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return r===!0},t.prototype.makeElOption=function(e,A,r,n,i){},t.prototype.createPointerEl=function(e,A,r,n){var i=A.pointer;if(i){var a=Sn(e).pointerEl=new BU[i.type](Kw(A.pointer));e.add(a)}},t.prototype.createLabelEl=function(e,A,r,n){if(A.label){var i=Sn(e).labelEl=new OA(Kw(A.label));e.add(i),zw(i,n)}},t.prototype.updatePointerEl=function(e,A,r){var n=Sn(e).pointerEl;n&&A.pointer&&(n.setStyle(A.pointer.style),r(n,{shape:A.pointer.shape}))},t.prototype.updateLabelEl=function(e,A,r,n){var i=Sn(e).labelEl;i&&(i.setStyle(A.label.style),r(i,{x:A.label.x,y:A.label.y}),zw(i,n))},t.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var A=this._axisPointerModel,r=this._api.getZr(),n=this._handle,i=A.getModel("handle"),a=A.get("status");if(!i.get("show")||!a||a==="hide"){n&&r.remove(n),this._handle=null;return}var o;this._handle||(o=!0,n=this._handle=_c(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){Yn(l.event)},onmousedown:lv(this._onHandleDragMove,this,0,0),drift:lv(this._onHandleDragMove,this),ondragend:lv(this._onHandleDragEnd,this)}),r.add(n)),Ww(n,A,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=i.get("size");re(s)||(s=[s,s]),n.scaleX=s[0]/2,n.scaleY=s[1]/2,il(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)}},t.prototype._moveHandleToValue=function(e,A){Vw(this._axisPointerModel,!A&&this._moveAnimation,this._handle,uv(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(e,A){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(uv(r),[e,A],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(uv(n)),Sn(r).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var A=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:A.cursorPoint[0],y:A.cursorPoint[1],tooltipOption:A.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var A=this._axisPointerModel.get("value");this._moveHandleToValue(A),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var A=e.getZr(),r=this._group,n=this._handle;A&&r&&(this._lastGraphicKey=null,r&&A.remove(r),n&&A.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),al(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(e,A,r){return r=r||0,{x:e[r],y:e[1-r],width:A[r],height:A[1-r]}},t}();function Vw(t,e,A,r){Gw(Sn(A).lastProp,r)||(Sn(A).lastProp=r,e?yA(A,r,t):(A.stopAnimation(),A.attr(r)))}function Gw(t,e){if(fe(t)&&fe(e)){var A=!0;return S(e,function(r,n){A=A&&Gw(t[n],r)}),!!A}else return t===e}function zw(t,e){t[e.get(["label","show"])?"show":"hide"]()}function uv(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function Ww(t,e,A){var r=e.get("z"),n=e.get("zlevel");t&&t.traverse(function(i){i.type!=="group"&&(r!=null&&(i.z=r),n!=null&&(i.zlevel=n),i.silent=A)})}const fM=uM;function cM(t){var e=t.get("type"),A=t.getModel(e+"Style"),r;return e==="line"?(r=A.getLineStyle(),r.fill=null):e==="shadow"&&(r=A.getAreaStyle(),r.stroke=null),r}function hM(t,e,A,r,n){var i=A.get("value"),a=Yw(i,e.axis,e.ecModel,A.get("seriesDataIndices"),{precision:A.get(["label","precision"]),formatter:A.get(["label","formatter"])}),o=A.getModel("label"),s=Xs(o.get("padding")||0),l=o.getFont(),u=bf(a,l),f=n.position,c=u.width+s[1]+s[3],h=u.height+s[0]+s[2],v=n.align;v==="right"&&(f[0]-=c),v==="center"&&(f[0]-=c/2);var d=n.verticalAlign;d==="bottom"&&(f[1]-=h),d==="middle"&&(f[1]-=h/2),vM(f,c,h,r);var g=o.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),t.label={x:f[0],y:f[1],style:cn(o,{text:a,font:l,fill:o.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function vM(t,e,A,r){var n=r.getWidth(),i=r.getHeight();t[0]=Math.min(t[0]+e,n)-e,t[1]=Math.min(t[1]+A,i)-A,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function Yw(t,e,A,r,n){t=e.scale.parse(t);var i=e.scale.getLabel({value:t},{precision:n.precision}),a=n.formatter;if(a){var o={value:Hh(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};S(r,function(s){var l=A.getSeriesByIndex(s.seriesIndex),u=s.dataIndexInside,f=l&&l.getDataParams(u);f&&o.seriesData.push(f)}),ae(a)?i=a.replace("{value}",i):de(a)&&(i=a(o))}return i}function Xw(t,e,A){var r=Xn();return rf(r,r,A.rotation),tf(r,r,A.position),ma([t.dataToCoord(e),(A.labelOffset||0)+(A.labelDirection||1)*(A.labelMargin||0)],r)}function dM(t,e,A,r,n,i){var a=Lw.innerTextLayout(A.rotation,0,A.labelDirection);A.labelMargin=n.get(["label","margin"]),hM(e,r,n,i,{position:Xw(r.axis,t,A),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function gM(t,e,A){return A=A||0,{x1:t[A],y1:t[1-A],x2:e[A],y2:e[1-A]}}function pM(t,e,A){return A=A||0,{x:t[A],y:t[1-A],width:e[A],height:e[1-A]}}var BM=function(t){Z(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(A,r,n,i,a){var o=n.axis,s=o.grid,l=i.get("type"),u=Zw(s,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(r,!0));if(l&&l!=="none"){var c=cM(i),h=yM[l](o,f,u);h.style=c,A.graphicKey=h.type,A.pointer=h}var v=jh(s.model,n);dM(r,A,v,n,i,a)},e.prototype.getHandleTransform=function(A,r,n){var i=jh(r.axis.grid.model,r,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var a=Xw(r.axis,A,i);return{x:a[0],y:a[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(A,r,n,i){var a=n.axis,o=a.grid,s=a.getGlobalExtent(!0),l=Zw(o,a).getOtherAxis(a).getGlobalExtent(),u=a.dim==="x"?0:1,f=[A.x,A.y];f[u]+=r[u],f[u]=Math.min(s[1],f[u]),f[u]=Math.max(s[0],f[u]);var c=(l[1]+l[0])/2,h=[c,c];h[u]=f[u];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:A.rotation,cursorPoint:h,tooltipOption:v[u]}},e}(fM);function Zw(t,e){var A={};return A[e.dim+"AxisIndex"]=e.index,t.getCartesian(A)}var yM={line:function(t,e,A){var r=gM([e,A[0]],[e,A[1]],Jw(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,e,A){var r=Math.max(1,t.getBandWidth()),n=A[1]-A[0];return{type:"Rect",shape:pM([e-r/2,A[0]],[r,n],Jw(t))}}};function Jw(t){return t.dim==="x"?0:1}const mM=BM;var wM=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Ke);const CM=wM;var rr=Xe(),_M=S;function $w(t,e,A){if(!Qe.node){var r=e.getZr();rr(r).records||(rr(r).records={}),QM(r,e);var n=rr(r).records[t]||(rr(r).records[t]={});n.handler=A}}function QM(t,e){if(rr(t).initialized)return;rr(t).initialized=!0,A("click",$e(qw,"click")),A("mousemove",$e(qw,"mousemove")),A("globalout",xM);function A(r,n){t.on(r,function(i){var a=EM(e);_M(rr(t).records,function(o){o&&n(o,i,a.dispatchAction)}),FM(a.pendings,e)})}}function FM(t,e){var A=t.showTip.length,r=t.hideTip.length,n;A?n=t.showTip[A-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function xM(t,e,A){t.handler("leave",null,A)}function qw(t,e,A,r){e.handler(t,A,r)}function EM(t){var e={showTip:[],hideTip:[]},A=function(r){var n=e[r.type];n?n.push(r):(r.dispatchAction=A,t.dispatchAction(r))};return{dispatchAction:A,pendings:e}}function fv(t,e){if(!Qe.node){var A=e.getZr(),r=(rr(A).records||{})[t];r&&(rr(A).records[t]=null)}}var UM=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.render=function(A,r,n){var i=r.getComponent("tooltip"),a=A.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";$w("axisPointer",n,function(o,s,l){a!=="none"&&(o==="leave"||a.indexOf(o)>=0)&&l({type:"updateAxisPointer",currTrigger:o,x:s&&s.offsetX,y:s&&s.offsetY})})},e.prototype.remove=function(A,r){fv("axisPointer",r)},e.prototype.dispose=function(A,r){fv("axisPointer",r)},e.type="axisPointer",e}(jt);const SM=UM;function jw(t,e){var A=[],r=t.seriesIndex,n;if(r==null||!(n=e.getSeriesByIndex(r)))return{point:[]};var i=n.getData(),a=Xr(i,t);if(a==null||a<0||re(a))return{point:[]};var o=i.getItemGraphicEl(a),s=n.coordinateSystem;if(n.getTooltipPosition)A=n.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(t.isStacked){var l=s.getBaseAxis(),u=s.getOtherAxis(l),f=u.dim,c=l.dim,h=f==="x"||f==="radius"?1:0,v=i.mapDimension(c),d=[];d[h]=i.get(v,a),d[1-h]=i.get(i.getCalculationInfo("stackResultDimension"),a),A=s.dataToPoint(d)||[]}else A=s.dataToPoint(i.getValues(he(s.dimensions,function(p){return i.mapDimension(p)}),a))||[];else if(o){var g=o.getBoundingRect().clone();g.applyTransform(o.transform),A=[g.x+g.width/2,g.y+g.height/2]}return{point:A,el:o}}var eC=Xe();function bM(t,e,A){var r=t.currTrigger,n=[t.x,t.y],i=t,a=t.dispatchAction||pe(A.dispatchAction,A),o=e.getComponent("axisPointer").coordSysAxesInfo;if(o){Ol(n)&&(n=jw({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var s=Ol(n),l=i.axesInfo,u=o.axesInfo,f=r==="leave"||Ol(n),c={},h={},v={list:[],map:{}},d={showPointer:$e(TM,h),showTooltip:$e(DM,v)};S(o.coordSysMap,function(p,B){var y=s||p.containPoint(n);S(o.coordSysAxesInfo[B],function(m,_){var C=m.axis,Q=OM(l,m);if(!f&&y&&(!l||Q)){var F=Q&&Q.value;F==null&&!s&&(F=C.pointToData(n)),F!=null&&AC(m,F,d,!1,c)}})});var g={};return S(u,function(p,B){var y=p.linkGroup;y&&!h[B]&&S(y.axesInfo,function(m,_){var C=h[_];if(m!==p&&C){var Q=C.value;y.mapper&&(Q=p.axis.scale.parse(y.mapper(Q,tC(m),tC(p)))),g[p.key]=Q}})}),S(g,function(p,B){AC(u[B],p,d,!0,c)}),LM(h,u,c),MM(v,n,t,a),HM(u,a,A),c}}function AC(t,e,A,r,n){var i=t.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!t.involveSeries){A.showPointer(t,e);return}var a=IM(e,t),o=a.payloadBatch,s=a.snapToValue;o[0]&&n.seriesIndex==null&&Y(n,o[0]),!r&&t.snap&&i.containData(s)&&s!=null&&(e=s),A.showPointer(t,e,o),A.showTooltip(t,a,s)}}function IM(t,e){var A=e.axis,r=A.dim,n=t,i=[],a=Number.MAX_VALUE,o=-1;return S(e.seriesModels,function(s,l){var u=s.getData().mapDimensionsAll(r),f,c;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(u,t,A);c=h.dataIndices,f=h.nestestValue}else{if(c=s.getData().indicesOfNearest(u[0],t,A.type==="category"?.5:null),!c.length)return;f=s.getData().get(u[0],c[0])}if(!(f==null||!isFinite(f))){var v=t-f,d=Math.abs(v);d<=a&&((d<a||v>=0&&o<0)&&(a=d,o=v,n=f,i.length=0),S(c,function(g){i.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function TM(t,e,A,r){t[e.key]={value:A,payloadBatch:r}}function DM(t,e,A,r){var n=A.payloadBatch,i=e.axis,a=i.model,o=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var s=e.coordSys.model,l=qa(s),u=t.map[l];u||(u=t.map[l]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:i.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:o.get(["label","precision"]),formatter:o.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function LM(t,e,A){var r=A.axesInfo=[];S(e,function(n,i){var a=n.axisPointerModel.option,o=t[i];o?(!n.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!n.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:a.value})})}function MM(t,e,A,r){if(Ol(e)||!t.list.length){r({type:"hideTip"});return}var n=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:A.tooltipOption,position:A.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:t.list})}function HM(t,e,A){var r=A.getZr(),n="axisPointerLastHighlights",i=eC(r)[n]||{},a=eC(r)[n]={};S(t,function(l,u){var f=l.axisPointerModel.option;f.status==="show"&&l.triggerEmphasis&&S(f.seriesDataIndices,function(c){var h=c.seriesIndex+" | "+c.dataIndex;a[h]=c})});var o=[],s=[];S(i,function(l,u){!a[u]&&s.push(l)}),S(a,function(l,u){!i[u]&&o.push(l)}),s.length&&A.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),o.length&&A.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:o})}function OM(t,e){for(var A=0;A<(t||[]).length;A++){var r=t[A];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function tC(t){var e=t.axis.model,A={},r=A.axisDim=t.axis.dim;return A.axisIndex=A[r+"AxisIndex"]=e.componentIndex,A.axisName=A[r+"AxisName"]=e.name,A.axisId=A[r+"AxisId"]=e.id,A}function Ol(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function rC(t){Mw.registerAxisPointerClass("CartesianAxisPointer",mM),t.registerComponentModel(CM),t.registerComponentView(SM),t.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var A=e.axisPointer.link;A&&!re(A)&&(e.axisPointer.link=[A])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(e,A){e.getComponent("axisPointer").coordSysAxesInfo=zL(e,A)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},bM)}function RM(t){Ht(aM),Ht(rC)}var nC=["x","y","radius","angle","single"],PM=["cartesian2d","polar","singleAxis"];function NM(t){var e=t.get("coordinateSystem");return Le(PM,e)>=0}function xr(t){return process.env.NODE_ENV!=="production"&&Ce(t),t+"Axis"}function kM(t,e){var A=Be(),r=[],n=Be();t.eachComponent({mainType:"dataZoom",query:e},function(u){n.get(u.uid)||o(u)});var i;do i=!1,t.eachComponent("dataZoom",a);while(i);function a(u){!n.get(u.uid)&&s(u)&&(o(u),i=!0)}function o(u){n.set(u.uid,!0),r.push(u),l(u)}function s(u){var f=!1;return u.eachTargetAxis(function(c,h){var v=A.get(c);v&&v[h]&&(f=!0)}),f}function l(u){u.eachTargetAxis(function(f,c){(A.get(f)||A.set(f,[]))[c]=!0})}return r}function iC(t){var e=t.ecModel,A={infoList:[],infoMap:Be()};return t.eachTargetAxis(function(r,n){var i=e.getComponent(xr(r),n);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,s=A.infoMap.get(o);s||(s={model:a,axisModels:[]},A.infoList.push(s),A.infoMap.set(o,s)),s.axisModels.push(i)}}}),A}var cv=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},t}(),KM=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A._autoThrottle=!0,A._noTarget=!0,A._rangePropMode=["percent","percent"],A}return e.prototype.init=function(A,r,n){var i=aC(A);this.settledOption=i,this.mergeDefaultAndTheme(A,n),this._doInit(i)},e.prototype.mergeOption=function(A){var r=aC(A);De(this.option,A,!0),De(this.settledOption,r,!0),this._doInit(r)},e.prototype._doInit=function(A){var r=this.option;this._setDefaultThrottle(A),this._updateRangeUse(A);var n=this.settledOption;S([["start","startValue"],["end","endValue"]],function(i,a){this._rangePropMode[a]==="value"&&(r[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var A=this.get("orient",!0),r=this._targetAxisInfoMap=Be(),n=this._fillSpecifiedTargetAxis(r);n?this._orient=A||this._makeAutoOrientByTargetAxis():(this._orient=A||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(A){var r=!1;return S(nC,function(n){var i=this.getReferringComponents(xr(n),qF);if(i.specified){r=!0;var a=new cv;S(i.models,function(o){a.add(o.componentIndex)}),A.set(n,a)}},this),r},e.prototype._fillAutoTargetAxisByOrient=function(A,r){var n=this.ecModel,i=!0;if(i){var a=r==="vertical"?"y":"x",o=n.findComponents({mainType:a+"Axis"});s(o,a)}if(i){var o=n.findComponents({mainType:"singleAxis",filter:function(u){return u.get("orient",!0)===r}});s(o,"single")}function s(l,u){var f=l[0];if(f){var c=new cv;if(c.add(f.componentIndex),A.set(u,c),i=!1,u==="x"||u==="y"){var h=f.getReferringComponents("grid",HA).models[0];h&&S(l,function(v){f.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",HA).models[0]&&c.add(v.componentIndex)})}}}i&&S(nC,function(l){if(i){var u=n.findComponents({mainType:xr(l),filter:function(c){return c.get("type",!0)==="category"}});if(u[0]){var f=new cv;f.add(u[0].componentIndex),A.set(l,f),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var A;return this.eachTargetAxis(function(r){!A&&(A=r)},this),A==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(A){if(A.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(A){var r=this._rangePropMode,n=this.get("rangeMode");S([["start","startValue"],["end","endValue"]],function(i,a){var o=A[i[0]]!=null,s=A[i[1]]!=null;o&&!s?r[a]="percent":!o&&s?r[a]="value":n?r[a]=n[a]:o&&(r[a]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var A;return this.eachTargetAxis(function(r,n){A==null&&(A=this.ecModel.getComponent(xr(r),n))},this),A},e.prototype.eachTargetAxis=function(A,r){this._targetAxisInfoMap.each(function(n,i){S(n.indexList,function(a){A.call(r,i,a)})})},e.prototype.getAxisProxy=function(A,r){var n=this.getAxisModel(A,r);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(A,r){process.env.NODE_ENV!=="production"&&Ce(A&&r!=null);var n=this._targetAxisInfoMap.get(A);if(n&&n.indexMap[r])return this.ecModel.getComponent(xr(A),r)},e.prototype.setRawRange=function(A){var r=this.option,n=this.settledOption;S([["start","startValue"],["end","endValue"]],function(i){(A[i[0]]!=null||A[i[1]]!=null)&&(r[i[0]]=n[i[0]]=A[i[0]],r[i[1]]=n[i[1]]=A[i[1]])},this),this._updateRangeUse(A)},e.prototype.setCalculatedRange=function(A){var r=this.option;S(["start","startValue","end","endValue"],function(n){r[n]=A[n]})},e.prototype.getPercentRange=function(){var A=this.findRepresentativeAxisProxy();if(A)return A.getDataPercentWindow()},e.prototype.getValueRange=function(A,r){if(A==null&&r==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(A,r).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(A){if(A)return A.__dzAxisProxy;for(var r,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var a=n[i],o=this._targetAxisInfoMap.get(a),s=0;s<o.indexList.length;s++){var l=this.getAxisProxy(a,o.indexList[s]);if(l.hostedBy(this))return l;r||(r=l)}return r},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&Ce(this._orient),this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Ke);function aC(t){var e={};return S(["start","end","startValue","endValue","throttle"],function(A){t.hasOwnProperty(A)&&(e[A]=t[A])}),e}const Rl=KM;var VM=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.render=function(A,r,n,i){this.dataZoomModel=A,this.ecModel=r,this.api=n},e.type="dataZoom",e}(jt);const oC=VM;var bi=S,sC=ia,GM=function(){function t(e,A,r,n){this._dimName=e,this._axisIndex=A,this.ecModel=n,this._dataZoomModel=r}return t.prototype.hostedBy=function(e){return this._dataZoomModel===e},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(A){if(NM(A)){var r=xr(this._dimName),n=A.getReferringComponents(r,HA).models[0];n&&this._axisIndex===n.componentIndex&&e.push(A)}},this),e},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return Ee(this._minMaxSpan)},t.prototype.calculateDataWindow=function(e){var A=this._dataExtent,r=this.getAxisModel(),n=r.axis.scale,i=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[],l;bi(["start","end"],function(c,h){var v=e[c],d=e[c+"Value"];i[h]==="percent"?(v==null&&(v=a[h]),d=n.parse(dA(v,a,A))):(l=!0,d=d==null?A[h]:n.parse(d),v=dA(d,A,a)),s[h]=d==null||isNaN(d)?A[h]:d,o[h]=v==null||isNaN(v)?a[h]:v}),sC(s),sC(o);var u=this._minMaxSpan;l?f(s,o,A,a,!1):f(o,s,a,A,!0);function f(c,h,v,d,g){var p=g?"Span":"ValueSpan";Hl(0,c,v,"all",u["min"+p],u["max"+p]);for(var B=0;B<2;B++)h[B]=dA(c[B],v,d,!0),g&&(h[B]=n.parse(h[B]))}return{valueWindow:s,percentWindow:o}},t.prototype.reset=function(e){if(e===this._dataZoomModel){var A=this.getTargetSeriesModels();this._dataExtent=zM(this,this._dimName,A),this._updateMinMaxSpan();var r=this.calculateDataWindow(e.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(e,A){if(e!==this._dataZoomModel)return;var r=this._dimName,n=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;if(i==="none")return;bi(n,function(s){var l=s.getData(),u=l.mapDimensionsAll(r);if(u.length){if(i==="weakFilter"){var f=l.getStore(),c=he(u,function(h){return l.getDimensionIndex(h)},l);l.filterSelf(function(h){for(var v,d,g,p=0;p<u.length;p++){var B=f.get(c[p],h),y=!isNaN(B),m=B<a[0],_=B>a[1];if(y&&!m&&!_)return!0;y&&(g=!0),m&&(v=!0),_&&(d=!0)}return g&&v&&d})}else bi(u,function(h){if(i==="empty")s.setData(l=l.map(h,function(d){return o(d)?d:NaN}));else{var v={};v[h]=a,l.selectRange(v)}});bi(u,function(h){l.setApproximateExtent(a,h)})}});function o(s){return s>=a[0]&&s<=a[1]}},t.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},A=this._dataZoomModel,r=this._dataExtent;bi(["min","max"],function(n){var i=A.get(n+"Span"),a=A.get(n+"ValueSpan");a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a!=null?i=dA(r[0]+a,r,[0,100],!0):i!=null&&(a=dA(i,[0,100],r,!0)-r[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=a},this)},t.prototype._setAxisModel=function(){var e=this.getAxisModel(),A=this._percentWindow,r=this._valueWindow;if(A){var n=Dg(r,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;A[0]!==0&&i.setDeterminedMinMax("min",+r[0].toFixed(n)),A[1]!==100&&i.setDeterminedMinMax("max",+r[1].toFixed(n)),i.freeze()}},t}();function zM(t,e,A){var r=[1/0,-1/0];bi(A,function(a){eD(r,a.getData(),e)});var n=t.getAxisModel(),i=Fm(n.axis.scale,n,r).calculate();return[i.min,i.max]}const WM=GM;var YM={getTargetSeries:function(t){function e(n){t.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(a,o){var s=t.getComponent(xr(a),o);n(a,o,s,i)})})}e(function(n,i,a,o){a.__dzAxisProxy=null});var A=[];e(function(n,i,a,o){a.__dzAxisProxy||(a.__dzAxisProxy=new WM(n,i,o,t),A.push(a.__dzAxisProxy))});var r=Be();return S(A,function(n){S(n.getTargetSeriesModels(),function(i){r.set(i.uid,i)})}),r},overallReset:function(t,e){t.eachComponent("dataZoom",function(A){A.eachTargetAxis(function(r,n){A.getAxisProxy(r,n).reset(A)}),A.eachTargetAxis(function(r,n){A.getAxisProxy(r,n).filterData(A,e)})}),t.eachComponent("dataZoom",function(A){var r=A.findRepresentativeAxisProxy();if(r){var n=r.getDataPercentWindow(),i=r.getDataValueWindow();A.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};const XM=YM;function ZM(t){t.registerAction("dataZoom",function(e,A){var r=kM(A,e);S(r,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var lC=!1;function uC(t){lC||(lC=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,XM),ZM(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function JM(t,e){var A=Xs(e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),t=new Ze({shape:{x:t.x-A[3],y:t.y-A[0],width:t.width+A[1]+A[3],height:t.height+A[0]+A[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1}),t}var $M=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Ke);const qM=$M;function fC(t){var e=t.get("confine");return e!=null?!!e:t.get("renderMode")==="richText"}function cC(t){if(Qe.domSupported){for(var e=document.documentElement.style,A=0,r=t.length;A<r;A++)if(t[A]in e)return t[A]}}var hC=cC(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),jM=cC(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function vC(t,e){if(!t)return e;e=ZB(e,!0);var A=t.indexOf(e);return t=A===-1?e:"-"+t.slice(0,A)+"-"+e,t.toLowerCase()}function eH(t,e){var A=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return A?e?A[e]:A:null}var AH=vC(jM,"transition"),hv=vC(hC,"transform"),tH="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Qe.transform3dSupported?"will-change:transform;":"");function rH(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function nH(t,e,A){if(!ae(A)||A==="inside")return"";var r=t.get("backgroundColor"),n=t.get("borderWidth");e=vn(e);var i=rH(A),a=Math.max(Math.round(n)*1.5,6),o="",s=hv+":",l;Le(["left","right"],i)>-1?(o+="top:50%",s+="translateY(-50%) rotate("+(l=i==="left"?-225:-45)+"deg)"):(o+="left:50%",s+="translateX(-50%) rotate("+(l=i==="top"?225:45)+"deg)");var u=l*Math.PI/180,f=a+n,c=f*Math.abs(Math.cos(u))+f*Math.abs(Math.sin(u)),h=Math.round(((c-Math.SQRT2*n)/2+Math.SQRT2*n-(c-f)/2)*100)/100;o+=";"+i+":-"+h+"px";var v=e+" solid "+n+"px;",d=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",o+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'<div style="'+d.join("")+'"></div>'}function iH(t,e){var A="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+A,n="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+A,n+=Qe.transformSupported?","+hv+r:",left"+r+",top"+r),AH+":"+n}function dC(t,e,A){var r=t.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!Qe.transformSupported)return A?"top:"+n+";left:"+r+";":[["top",n],["left",r]];var i=Qe.transform3dSupported,a="translate"+(i?"3d":"")+"("+r+","+n+(i?",0":"")+")";return A?"top:0;left:0;"+hv+":"+a+";":[["top",0],["left",0],[hC,a]]}function aH(t){var e=[],A=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont());var n=ye(t.get("lineHeight"),Math.round(A*3/2));A&&e.push("line-height:"+n+"px");var i=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),S(["decoration","align"],function(l){var u=t.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function oH(t,e,A){var r=[],n=t.get("transitionDuration"),i=t.get("backgroundColor"),a=t.get("shadowBlur"),o=t.get("shadowColor"),s=t.get("shadowOffsetX"),l=t.get("shadowOffsetY"),u=t.getModel("textStyle"),f=z0(t,"html"),c=s+"px "+l+"px "+a+"px "+o;return r.push("box-shadow:"+c),e&&n&&r.push(iH(n,A)),i&&r.push("background-color:"+i),S(["width","color","radius"],function(h){var v="border-"+h,d=ZB(v),g=t.get(d);g!=null&&r.push(v+":"+g+(h==="color"?"":"px"))}),r.push(aH(u)),f!=null&&r.push("padding:"+Xs(f).join("px ")+"px"),r.join(";")+";"}function gC(t,e,A,r,n){var i=e&&e.painter;if(A){var a=i&&i.getViewportRoot();a&&mQ(t,a,A,r,n)}else{t[0]=r,t[1]=n;var o=i&&i.getViewportRootOffset();o&&(t[0]+=o.offsetLeft,t[1]+=o.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var sH=function(){function t(e,A){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Qe.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var n=this._zr=e.getZr(),i=A.appendTo,a=i&&(ae(i)?document.querySelector(i):Nn(i)?i:de(i)&&i(e.getDom()));gC(this._styleCoord,n,a,e.getWidth()/2,e.getHeight()/2),(a||e.getDom()).appendChild(r),this._api=e,this._container=a;var o=this;r.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!o._enterable){var l=n.handler,u=n.painter.getViewportRoot();JA(u,s,!0),l.dispatch("mousemove",s)}},r.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return t.prototype.update=function(e){if(!this._container){var A=this._api.getDom(),r=eH(A,"position"),n=A.style;n.position!=="absolute"&&r!=="absolute"&&(n.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},t.prototype.show=function(e,A){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,n=r.style,i=this._styleCoord;r.innerHTML?n.cssText=tH+oH(e,!this._firstShow,this._longHide)+dC(i[0],i[1],!0)+("border-color:"+vn(A)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(e,A,r,n,i){var a=this.el;if(e==null){a.innerHTML="";return}var o="";if(ae(i)&&r.get("trigger")==="item"&&!fC(r)&&(o=nH(r,n,i)),ae(e))a.innerHTML=e+o;else if(e){a.innerHTML="",re(e)||(e=[e]);for(var s=0;s<e.length;s++)Nn(e[s])&&e[s].parentNode!==a&&a.appendChild(e[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},t.prototype.moveTo=function(e,A){if(this.el){var r=this._styleCoord;if(gC(r,this._zr,this._container,e,A),r[0]!=null&&r[1]!=null){var n=this.el.style,i=dC(r[0],r[1]);S(i,function(a){n[a[0]]=a[1]})}}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],A=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),A*this._zr.getHeight())},t.prototype.hide=function(){var e=this,A=this.el.style;A.visibility="hidden",A.opacity="0",Qe.transform3dSupported&&(A.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(pe(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},t}();const lH=sH;var uH=function(){function t(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),BC(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return t.prototype.update=function(e){var A=e.get("alwaysShowContent");A&&this._moveIfResized(),this._alwaysShowContent=A},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(e,A,r,n,i){var a=this;fe(e)&&MA(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var o=r.getModel("textStyle");this.el=new OA({style:{rich:A.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:o.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:z0(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),S(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(l){a.el.style[l]=r.get(l)}),S(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(l){a.el.style[l]=o.get(l)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el,A=this.el.getBoundingRect(),r=pC(e.style);return[A.width+r.left+r.right,A.height+r.top+r.bottom]},t.prototype.moveTo=function(e,A){var r=this.el;if(r){var n=this._styleCoord;BC(n,this._zr,e,A),e=n[0],A=n[1];var i=r.style,a=Er(i.borderWidth||0),o=pC(i);r.x=e+a+o.left,r.y=A+a+o.top,r.markRedraw()}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],A=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),A*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(pe(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function Er(t){return Math.max(0,t)}function pC(t){var e=Er(t.shadowBlur||0),A=Er(t.shadowOffsetX||0),r=Er(t.shadowOffsetY||0);return{left:Er(e-A),right:Er(e+A),top:Er(e-r),bottom:Er(e+r)}}function BC(t,e,A,r){t[0]=A,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const fH=uH;var cH=new Ze({shape:{x:-1,y:-1,width:2,height:2}}),hH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.init=function(A,r){if(!(Qe.node||!r.getDom())){var n=A.getComponent("tooltip"),i=this._renderMode=ex(n.get("renderMode"));this._tooltipContent=i==="richText"?new fH(r):new lH(r,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(A,r,n){if(!(Qe.node||!n.getDom())){this.group.removeAll(),this._tooltipModel=A,this._ecModel=r,this._api=n;var i=this._tooltipContent;i.update(A),i.setEnterable(A.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&A.get("transitionDuration")?il(this,"_updatePosition",50,"fixRate"):al(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var A=this._tooltipModel,r=A.get("triggerOn");$w("itemTooltip",this._api,pe(function(n,i,a){r!=="none"&&(r.indexOf(n)>=0?this._tryShow(i,a):n==="leave"&&this._hide(a))},this))},e.prototype._keepShow=function(){var A=this._tooltipModel,r=this._ecModel,n=this._api,i=A.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&a.manuallyShowTip(A,r,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(A,r,n,i){if(!(i.from===this.uid||Qe.node||!n.getDom())){var a=yC(i,n);this._ticket="";var o=i.dataByCoordSys,s=pH(i,r,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},a)}else if(i.tooltip&&i.x!=null&&i.y!=null){var u=cH;u.x=i.x,u.y=i.y,u.update(),Te(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},a);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(A,r,n,i))return;var f=jw(i,r),c=f.point[0],h=f.point[1];c!=null&&h!=null&&this._tryShow({offsetX:c,offsetY:h,target:f.el,position:i.position,positionDefault:"bottom"},a)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},a))}},e.prototype.manuallyHideTip=function(A,r,n,i){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(yC(i,n))},e.prototype._manuallyAxisShowTip=function(A,r,n,i){var a=i.seriesIndex,o=i.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||o==null||s==null)){var l=r.getSeriesByIndex(a);if(l){var u=l.getData(),f=ja([u.getItemModel(o),l,(l.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(A,r){var n=A.target,i=this._tooltipModel;if(i){this._lastX=A.offsetX,this._lastY=A.offsetY;var a=A.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,A);else if(n){var o=Te(n);if(o.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,l;Oa(n,function(u){if(Te(u).dataIndex!=null)return s=u,!0;if(Te(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(A,s,r):l?this._showComponentItemTooltip(A,l,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(A,r){var n=A.get("showDelay");r=pe(r,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(r,n):r()},e.prototype._showAxisTooltip=function(A,r){var n=this._ecModel,i=this._tooltipModel,a=[r.offsetX,r.offsetY],o=ja([r.tooltipOption],i),s=this._renderMode,l=[],u=La("section",{blocks:[],noHeader:!0}),f=[],c=new eh;S(A,function(B){S(B.dataByAxis,function(y){var m=n.getComponent(y.axisDim+"Axis",y.axisIndex),_=y.value;if(!(!m||_==null)){var C=Yw(_,m.axis,n,y.seriesDataIndices,y.valueLabelOpt),Q=La("section",{header:C,noHeader:!Et(C),sortBlocks:!0,blocks:[]});u.blocks.push(Q),S(y.seriesDataIndices,function(F){var E=n.getSeriesByIndex(F.seriesIndex),U=F.dataIndexInside,x=E.getDataParams(U);if(!(x.dataIndex<0)){x.axisDim=y.axisDim,x.axisIndex=y.axisIndex,x.axisType=y.axisType,x.axisId=y.axisId,x.axisValue=Hh(m.axis,{value:_}),x.axisValueLabel=C,x.marker=c.makeTooltipMarker("item",vn(x.color),s);var b=I0(E.formatTooltip(U,!0,null)),I=b.frag;if(I){var T=ja([E],i).get("valueFormatter");Q.blocks.push(T?Y({valueFormatter:T},I):I)}b.text&&f.push(b.text),l.push(x)}})}})}),u.blocks.reverse(),f.reverse();var h=r.position,v=o.get("order"),d=V0(u,c,s,v,n.get("useUTC"),o.get("textStyle"));d&&f.unshift(d);var g=s==="richText"?`
41
+ `];function eo(A,e){return e.type=A,e}function jh(A){return A.type==="section"}function Om(A){return jh(A)?$U:jU}function Rm(A){if(jh(A)){var e=0,t=A.blocks.length,r=t>1||t>0&&!A.noHeader;return b(A.blocks,function(n){var i=Rm(n);i>=e&&(e=i+ +(r&&(!i||jh(n)&&!n.noHeader)))}),e}return 0}function $U(A,e,t,r){var n=e.noHeader,i=eI(Rm(e)),a=[],o=e.blocks||[];ce(!o||ie(o)),o=o||[];var s=A.orderMode;if(e.sortBlocks&&s){o=o.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(mA(l,s)){var u=new MU(l[s],null);o.sort(function(d,g){return u.evaluate(d.sortParam,g.sortParam)})}else s==="seriesDesc"&&o.reverse()}b(o,function(d,g){var p=e.valueFormatter,B=Om(d)(p?W(W({},A),{valueFormatter:p}):A,d,g>0?i.html:0,r);B!=null&&a.push(B)});var f=A.renderMode==="richText"?a.join(i.richText):ev(r,a.join(""),n?t:i.html);if(n)return f;var c=Lh(e.header,"ordinal",A.useUTC),h=Hm(r,A.renderMode).nameStyle,v=Mm(r);return A.renderMode==="richText"?Pm(A,c,h)+i.richText+f:ev(r,'<div style="'+h+";"+v+';">'+kt(c)+"</div>"+f,t)}function jU(A,e,t,r){var n=A.renderMode,i=e.noName,a=e.noValue,o=!e.markerType,s=e.name,l=A.useUTC,u=e.valueFormatter||A.valueFormatter||function(y){return y=ie(y)?y:[y],Be(y,function(_,C){return Lh(_,ie(h)?h[C]:h,l)})};if(!(i&&a)){var f=o?"":A.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||ae.color.secondary,n),c=i?"":Lh(s,"ordinal",l),h=e.valueType,v=a?[]:u(e.value,e.dataIndex),d=!o||!i,g=!o&&i,p=Hm(r,n),B=p.nameStyle,m=p.valueStyle;return n==="richText"?(o?"":f)+(i?"":Pm(A,c,B))+(a?"":rI(A,v,d,g,m)):ev(r,(o?"":f)+(i?"":tI(c,!o,B))+(a?"":AI(v,d,g,m)),t)}}function Nm(A,e,t,r,n,i){if(A){var a=Om(A),o={useUTC:n,renderMode:t,orderMode:r,markupStyleCreator:e,valueFormatter:A.valueFormatter};return a(o,A,0,i)}}function eI(A){return{html:JU[A],richText:qU[A]}}function ev(A,e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0",i=Mm(A);return'<div style="'+n+";"+i+';">'+e+r+"</div>"}function tI(A,e,t){var r=e?"margin-left:2px":"";return'<span style="'+t+";"+r+'">'+kt(A)+"</span>"}function AI(A,e,t,r){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return A=ie(A)?A:[A],'<span style="'+i+";"+r+'">'+Be(A,function(a){return kt(a)}).join("&nbsp;&nbsp;")+"</span>"}function Pm(A,e,t){return A.markupStyleCreator.wrapRichTextStyle(e,t)}function rI(A,e,t,r,n){var i=[n],a=r?10:20;return t&&i.push({padding:[0,0,0,a],align:"right"}),A.markupStyleCreator.wrapRichTextStyle(ie(e)?e.join(" "):e,i)}function nI(A,e){var t=A.getData().getItemVisual(e,"style"),r=t[A.visualDrawType];return Tn(r)}function km(A,e){var t=A.get("padding");return t??(e==="richText"?[8,10]:10)}var tv=(function(){function A(){this.richTextStyles={},this._nextStyleNameId=kg()}return A.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},A.prototype.makeTooltipMarker=function(e,t,r){var n=r==="richText"?this._generateStyleName():null,i=HS({color:t,type:e,renderMode:r,markerId:n});return ue(i)?i:(process.env.NODE_ENV!=="production"&&ce(n),this.richTextStyles[n]=i.style,i.content)},A.prototype.wrapRichTextStyle=function(e,t){var r={};ie(t)?b(t,function(i){return W(r,i)}):W(r,t);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+e+"}"},A})();function iI(A){var e=A.series,t=A.dataIndex,r=A.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),a=i.length,o=e.getRawValue(t),s=ie(o),l=nI(e,t),u,f,c,h;if(a>1||s&&!a){var v=aI(o,e,t,i,l);u=v.inlineValues,f=v.inlineValueTypes,c=v.blocks,h=v.inlineValues[0]}else if(a){var d=n.getDimensionInfo(i[0]);h=u=Ni(n,t,i[0]),f=d.type}else h=u=s?o[0]:o;var g=Ec(e),p=g&&e.name||"",B=n.getName(t),m=r?p:B;return eo("section",{header:p,noHeader:r||!g,sortParam:h,blocks:[eo("nameValue",{markerType:"item",markerColor:l,name:m,noName:!LA(m),value:u,valueType:f,dataIndex:t})].concat(c||[])})}function aI(A,e,t,r,n){var i=e.getData(),a=Ai(A,function(f,c,h){var v=i.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),o=[],s=[],l=[];r.length?b(r,function(f){u(Ni(i,t,f),f)}):b(A,u);function u(f,c){var h=i.getDimensionInfo(c);!h||h.otherDims.tooltip===!1||(a?l.push(eo("nameValue",{markerType:"subItem",markerColor:n,name:h.displayName,value:f,valueType:h.type})):(o.push(f),s.push(h.type)))}return{inlineValues:o,inlineValueTypes:s,blocks:l}}var Mr=Ge();function Hl(A,e){return A.getName(e)||A.getId(e)}var oI="__universalTransitionEnabled",JA=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return e.prototype.init=function(t,r,n){this.seriesIndex=this.componentIndex,this.dataTask=$a({count:lI,reset:uI}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Mr(this).sourceManager=new XU(this);i.prepareSource();var a=this.getInitialData(t,n);Km(a,this),this.dataTask.context.data=a,process.env.NODE_ENV!=="production"&&ce(a,"getInitialData returned invalid data."),Mr(this).dataBeforeProcessed=a,Vm(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,r){var n=Ya(this),i=n?Oi(t):{},a=this.subType;He.hasClass(a)&&(a+="Series"),Me(t,r.getTheme().get(this.subType)),Me(t,this.getDefaultOption()),Xg(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Lr(t,i,n)},e.prototype.mergeOption=function(t,r){t=Me(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Ya(this);n&&Lr(this.option,t,n);var i=Mr(this).sourceManager;i.dirty(),i.prepareSource();var a=this.getInitialData(t,r);Km(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Mr(this).dataBeforeProcessed=a,Vm(this),this._initSelectedMapFromData(a)},e.prototype.fillDataTextStyle=function(t){if(t&&!It(t))for(var r=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Xg(t[n],"label",r)},e.prototype.getInitialData=function(t,r){},e.prototype.appendData=function(t){var r=this.getRawData();r.appendData(t.data)},e.prototype.getData=function(t){var r=Av(this);if(r){var n=r.context.data;return t==null||!n.getLinkedData?n:n.getLinkedData(t)}else return Mr(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var r=Av(this);if(r){var n=r.context;n.outputData=t,r!==this.dataTask&&(n.data=t)}Mr(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return we(t)},e.prototype.getSourceManager=function(){return Mr(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Mr(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.indicesOfNearest=function(t,r,n,i){var a=this.getData(),o=this.coordinateSystem,s=o&&o.getAxis(t);if(!o||!s)return[];var l=s.dataToCoord(n);i==null&&(i=1/0);var u=[],f=1/0,c=-1,h=0;return a.each(r,function(v,d){var g=s.dataToCoord(v),p=l-g,B=Math.abs(p);B<=i&&((B<f||B===f&&p>=0&&c<0)&&(f=B,c=p,h=0),p===c&&(u[h++]=d))}),u.length=h,u},e.prototype.formatTooltip=function(t,r,n){return iI({series:this,dataIndex:t,multipleSeries:r})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(_e.node&&!(t&&t.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,r,n){var i=this.ecModel,a=Vh.prototype.getColorFromPalette.call(this,t,r,n);return a||(a=i.getColorFromPalette(t,r,n)),a},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,r){this._innerSelect(this.getData(r),t)},e.prototype.unselect=function(t,r){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,a=this.getData(r);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var s=t[o],l=Hl(a,s);n[l]=!1,this._selectedDataIndicesMap[l]=-1}}},e.prototype.toggleSelect=function(t,r){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],r)?this.unselect(n,r):this.select(n,r)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,r=Ye(t),n=[],i=0;i<r.length;i++){var a=t[r[i]];a>=0&&n.push(a)}return n},e.prototype.isSelected=function(t,r){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(r);return(n==="all"||n[Hl(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[oI])return!0;var t=this.option.universalTransition;return t?t===!0?!0:t&&t.enabled:!1},e.prototype._innerSelect=function(t,r){var n,i,a=this.option,o=a.selectedMode,s=r.length;if(!(!o||!s)){if(o==="series")a.selectedMap="all";else if(o==="multiple"){ve(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u<s;u++){var f=r[u],c=Hl(t,f);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(f)}}else if(o==="single"||o===!0){var h=r[s-1],c=Hl(t,h);a.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=t.getRawIndex(h),i)}}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var r=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&r.push(n)}),r.length>0&&this._innerSelect(t,r)}},e.registerClass=function(t){return He.registerClass(t)},e.protoInitialize=(function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"})(),e})(He);DA(JA,DU),DA(JA,Vh),A0(JA,He);function Vm(A){var e=A.name;Ec(A)||(A.name=sI(A)||e)}function sI(A){var e=A.getRawData(),t=e.mapDimensionsAll("seriesName"),r=[];return b(t,function(n){var i=e.getDimensionInfo(n);i.displayName&&r.push(i.displayName)}),r.join(" ")}function lI(A){return A.model.getRawData().count()}function uI(A){var e=A.model;return e.setData(e.getRawData().cloneShallow()),fI}function fI(A,e){e.outputData&&A.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Km(A,e){b(ux(A.CHANGABLE_METHODS,A.DOWNSAMPLE_METHODS),function(t){A.wrapMethod(t,nt(cI,e))})}function cI(A,e){var t=Av(A);return t&&t.setOutputEnd((e||this).count()),e}function Av(A){var e=(A.ecModel||{}).scheduler,t=e&&e.getPipeline(A.uid);if(t){var r=t.currentTask;if(r){var n=r.agentStubMap;n&&(r=n.get(A.uid))}return r}}var xA=(function(){function A(){this.group=new st,this.uid=pl("viewComponent")}return A.prototype.init=function(e,t){},A.prototype.render=function(e,t,r,n){},A.prototype.dispose=function(e,t){},A.prototype.updateView=function(e,t,r,n){},A.prototype.updateLayout=function(e,t,r,n){},A.prototype.updateVisual=function(e,t,r,n){},A.prototype.toggleBlurSeries=function(e,t,r){},A.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},A})();Uc(xA),Ls(xA);function rv(){var A=Ge();return function(e){var t=A(e),r=e.pipelineContext,n=!!t.large,i=!!t.progressiveRender,a=t.large=!!(r&&r.large),o=t.progressiveRender=!!(r&&r.progressiveRender);return(n!==a||i!==o)&&"reset"}}var Gm=Ge(),hI=rv(),FA=(function(){function A(){this.group=new st,this.uid=pl("viewChart"),this.renderTask=$a({plan:vI,reset:dI}),this.renderTask.context={view:this}}return A.prototype.init=function(e,t){},A.prototype.render=function(e,t,r,n){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},A.prototype.highlight=function(e,t,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&Ke("Unknown dataType "+n.dataType);return}Wm(i,n,"emphasis")},A.prototype.downplay=function(e,t,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&Ke("Unknown dataType "+n.dataType);return}Wm(i,n,"normal")},A.prototype.remove=function(e,t){this.group.removeAll()},A.prototype.dispose=function(e,t){},A.prototype.updateView=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.updateLayout=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.updateVisual=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.eachRendered=function(e){fl(this.group,e)},A.markUpdateMethod=function(e,t){Gm(e).updateMethod=t},A.protoInitialize=(function(){var e=A.prototype;e.type="chart"})(),A})();function zm(A,e,t){A&&Ei(A)&&(e==="emphasis"?Xs:Zs)(A,t)}function Wm(A,e,t){var r=dn(A,e),n=e&&e.highlightKey!=null?vb(e.highlightKey):null;r!=null?b(Dt(r),function(i){zm(A.getItemGraphicEl(i),t,n)}):A.eachItemGraphicEl(function(i){zm(i,t,n)})}Uc(FA,["dispose"]),Ls(FA);function vI(A){return hI(A.model)}function dI(A){var e=A.model,t=A.ecModel,r=A.api,n=A.payload,i=e.pipelineContext.progressiveRender,a=A.view,o=n&&Gm(n).updateMethod,s=i?"incrementalPrepareRender":o&&a[o]?o:"render";return s!=="render"&&a[s](e,t,r,n),pI[s]}var pI={incrementalPrepareRender:{progress:function(A,e){e.view.incrementalRender(A,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(A,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Ol="\0__throttleOriginMethod",Ym="\0__throttleRate",Xm="\0__throttleType";function nv(A,e,t){var r,n=0,i=0,a=null,o,s,l,u;e=e||0;function f(){i=new Date().getTime(),a=null,A.apply(s,l||[])}var c=function(){for(var h=[],v=0;v<arguments.length;v++)h[v]=arguments[v];r=new Date().getTime(),s=this,l=h;var d=u||e,g=u||t;u=null,o=r-(g?n:i)-d,clearTimeout(a),g?a=setTimeout(f,d):o>=0?f():a=setTimeout(f,-o),n=r};return c.clear=function(){a&&(clearTimeout(a),a=null)},c.debounceNextCall=function(h){u=h},c}function Rl(A,e,t,r){var n=A[e];if(n){var i=n[Ol]||n,a=n[Xm],o=n[Ym];if(o!==t||a!==r){if(t==null||!r)return A[e]=i;n=A[e]=nv(i,t,r==="debounce"),n[Ol]=i,n[Xm]=r,n[Ym]=t}return n}}function Nl(A,e){var t=A[e];t&&t[Ol]&&(t.clear&&t.clear(),A[e]=t[Ol])}var Zm=Ge(),Jm={itemStyle:Ta(UB,!0),lineStyle:Ta(SB,!0)},gI={lineStyle:"stroke",itemStyle:"fill"};function qm(A,e){var t=A.visualStyleMapper||Jm[e];return t||(console.warn("Unknown style type '"+e+"'."),Jm.itemStyle)}function $m(A,e){var t=A.visualDrawType||gI[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var BI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){var t=A.getData(),r=A.visualStyleAccessPath||"itemStyle",n=A.getModel(r),i=qm(A,r),a=i(n),o=n.getShallow("decal");o&&(t.setVisual("decal",o),o.dirty=!0);var s=$m(A,r),l=a[s],u=me(l)?l:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[s]||u||f){var c=A.getColorFromPalette(A.name,null,e.getSeriesCount());a[s]||(a[s]=c,t.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||me(a.fill)?c:a.fill,a.stroke=a.stroke==="auto"||me(a.stroke)?c:a.stroke}if(t.setVisual("style",a),t.setVisual("drawType",s),!e.isSeriesFiltered(A)&&u)return t.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var d=A.getDataParams(v),g=W({},a);g[s]=u(d),h.setItemVisual(v,"style",g)}}}},to=new je,mI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){if(!(A.ignoreStyleOnData||e.isSeriesFiltered(A))){var t=A.getData(),r=A.visualStyleAccessPath||"itemStyle",n=qm(A,r),i=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(a,o){var s=a.getRawDataItem(o);if(s&&s[r]){to.option=s[r];var l=n(to),u=a.ensureUniqueItemVisual(o,"style");W(u,l),to.option.decal&&(a.setItemVisual(o,"decal",to.option.decal),to.option.decal.dirty=!0),i in l&&a.setItemVisual(o,"colorFromPalette",!1)}}:null}}}},yI={performRawSeries:!0,overallReset:function(A){var e=we();A.eachSeries(function(t){var r=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+r,i=e.get(n);i||(i={},e.set(n,i)),Zm(t).scope=i}}),A.eachSeries(function(t){if(!(t.isColorBySeries()||A.isSeriesFiltered(t))){var r=t.getRawData(),n={},i=t.getData(),a=Zm(t).scope,o=t.visualStyleAccessPath||"itemStyle",s=$m(t,o);i.each(function(l){var u=i.getRawIndex(l);n[u]=l}),r.each(function(l){var u=n[l],f=i.getItemVisual(u,"colorFromPalette");if(f){var c=i.ensureUniqueItemVisual(u,"style"),h=r.getName(l)||l+"",v=r.count();c[s]=t.getColorFromPalette(h,a,v)}})}})}},Pl=Math.PI;function wI(A,e){e=e||{},Oe(e,{text:"loading",textColor:ae.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:ae.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var t=new st,r=new Je({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(r);var n=new Ht({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new Je({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});t.add(i);var a;return e.showSpinner&&(a=new rl({shape:{startAngle:-Pl/2,endAngle:-Pl/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:Pl*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:Pl*3/2}).delay(300).start("circularInOut"),t.add(a)),t.resize=function(){var o=n.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(A.getWidth()-s*2-(e.showSpinner&&o?10:0)-o)/2-(e.showSpinner&&o?0:5+o/2)+(e.showSpinner?0:o/2)+(o?0:s),u=A.getHeight()/2;e.showSpinner&&a.setShape({cx:l,cy:u}),i.setShape({x:l-s,y:u-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:A.getWidth(),height:A.getHeight()})},t.resize(),t}var jm=(function(){function A(e,t,r,n){this._stageTaskMap=we(),this.ecInstance=e,this.api=t,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}return A.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(r){var n=r.overallTask;n&&n.dirty()})},A.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),n=r.context,i=!t&&r.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>r.blockIndex,a=i?r.step:null,o=n&&n.modDataCount,s=o!=null?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},A.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},A.prototype.updateStreamModes=function(e,t){var r=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),a=r.progressiveEnabled&&t.incrementalPrepareRender&&i>=r.threshold,o=e.get("large")&&i>=e.get("largeThreshold"),s=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=r.context={progressiveRender:a,modDataCount:s,large:o}},A.prototype.restorePipelines=function(e){var t=this,r=t._pipelineMap=we();e.eachSeries(function(n){var i=n.getProgressive(),a=n.uid;r.set(a,{id:a,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(n,n.dataTask)})},A.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),r=this.api;b(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),a="";process.env.NODE_ENV!=="production"&&(a='"reset" and "overallReset" must not be both specified.'),ce(!(n.reset&&n.overallReset),a),n.reset&&this._createSeriesStageTask(n,i,t,r),n.overallReset&&this._createOverallStageTask(n,i,t,r)},this)},A.prototype.prepareView=function(e,t,r,n){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=r,a.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},A.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},A.prototype.performVisualTasks=function(e,t,r){this._performStageTasks(this._visualHandlers,e,t,r)},A.prototype._performStageTasks=function(e,t,r,n){n=n||{};var i=!1,a=this;b(e,function(s,l){if(!(n.visualType&&n.visualType!==s.visualType)){var u=a._stageTaskMap.get(s.uid),f=u.seriesTaskMap,c=u.overallTask;if(c){var h,v=c.agentStubMap;v.each(function(g){o(n,g)&&(g.dirty(),h=!0)}),h&&c.dirty(),a.updatePayload(c,r);var d=a.getPerformArgs(c,n.block);v.each(function(g){g.perform(d)}),c.perform(d)&&(i=!0)}else f&&f.each(function(g,p){o(n,g)&&g.dirty();var B=a.getPerformArgs(g,n.block);B.skip=!s.performRawSeries&&t.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(B)&&(i=!0)})}});function o(s,l){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(l.__pipeline.id))}this.unfinished=i||this.unfinished},A.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(r){t=r.dataTask.perform()||t}),this.unfinished=t||this.unfinished},A.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},A.prototype.updatePayload=function(e,t){t!=="remain"&&(e.context.payload=t)},A.prototype._createSeriesStageTask=function(e,t,r,n){var i=this,a=t.seriesTaskMap,o=t.seriesTaskMap=we(),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,n).each(u);function u(f){var c=f.uid,h=o.set(c,a&&a.get(c)||$a({plan:FI,reset:EI,count:SI}));h.context={model:f,ecModel:r,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(f,h)}},A.prototype._createOverallStageTask=function(e,t,r,n){var i=this,a=t.overallTask=t.overallTask||$a({reset:CI});a.context={ecModel:r,api:n,overallReset:e.overallReset,scheduler:i};var o=a.agentStubMap,s=a.agentStubMap=we(),l=e.seriesType,u=e.getTargetSeries,f=!0,c=!1,h="";process.env.NODE_ENV!=="production"&&(h='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),ce(!e.createOnAllSeries,h),l?r.eachRawSeriesByType(l,v):u?u(r,n).each(v):(f=!1,b(r.getSeries(),v));function v(d){var g=d.uid,p=s.set(g,o&&o.get(g)||(c=!0,$a({reset:_I,onDirty:xI})));p.context={model:d,overallProgress:f},p.agent=a,p.__block=f,i._pipe(d,p)}c&&a.dirty()},A.prototype._pipe=function(e,t){var r=e.uid,n=this._pipelineMap.get(r);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},A.wrapStageHandler=function(e,t){return me(e)&&(e={overallReset:e,seriesType:UI(e)}),e.uid=pl("stageHandler"),t&&(e.visualType=t),e},A})();function CI(A){A.overallReset(A.ecModel,A.api,A.payload)}function _I(A){return A.overallProgress&&QI}function QI(){this.agent.dirty(),this.getDownstream().dirty()}function xI(){this.agent&&this.agent.dirty()}function FI(A){return A.plan?A.plan(A.model,A.ecModel,A.api,A.payload):null}function EI(A){A.useClearVisual&&A.data.clearAllVisual();var e=A.resetDefines=Dt(A.reset(A.model,A.ecModel,A.api,A.payload));return e.length>1?Be(e,function(t,r){return ey(r)}):bI}var bI=ey(0);function ey(A){return function(e,t){var r=t.data,n=t.resetDefines[A];if(n&&n.dataEach)for(var i=e.start;i<e.end;i++)n.dataEach(r,i);else n&&n.progress&&n.progress(e,r)}}function SI(A){return A.data.count()}function UI(A){kl=null;try{A(Ao,ty)}catch{}return kl}var Ao={},ty={},kl;Ay(Ao,Gh),Ay(ty,am),Ao.eachSeriesByType=Ao.eachRawSeriesByType=function(A){kl=A},Ao.eachComponent=function(A){A.mainType==="series"&&A.subType&&(kl=A.subType)};function Ay(A,e){for(var t in e.prototype)A[t]=Tt}var $=ae.darkColor,II=$.background,ro=function(){return{axisLine:{lineStyle:{color:$.axisLine}},splitLine:{lineStyle:{color:$.axisSplitLine}},splitArea:{areaStyle:{color:[$.backgroundTint,$.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:$.axisMinorSplitLine}},axisLabel:{color:$.axisLabel},axisName:{}}},ry={label:{color:$.secondary},itemStyle:{borderColor:$.borderTint},dividerLineStyle:{color:$.border}},ny={darkMode:!0,color:$.theme,backgroundColor:II,axisPointer:{lineStyle:{color:$.border},crossStyle:{color:$.borderShade},label:{color:$.tertiary}},legend:{textStyle:{color:$.secondary},pageTextStyle:{color:$.tertiary}},textStyle:{color:$.secondary},title:{textStyle:{color:$.primary},subtextStyle:{color:$.quaternary}},toolbox:{iconStyle:{borderColor:$.accent50}},tooltip:{backgroundColor:$.neutral20,defaultBorderColor:$.border,textStyle:{color:$.tertiary}},dataZoom:{borderColor:$.accent10,textStyle:{color:$.tertiary},brushStyle:{color:$.backgroundTint},handleStyle:{color:$.neutral00,borderColor:$.accent20},moveHandleStyle:{color:$.accent40},emphasis:{handleStyle:{borderColor:$.accent50}},dataBackground:{lineStyle:{color:$.accent30},areaStyle:{color:$.accent20}},selectedDataBackground:{lineStyle:{color:$.accent50},areaStyle:{color:$.accent30}}},visualMap:{textStyle:{color:$.secondary},handleStyle:{borderColor:$.neutral30}},timeline:{lineStyle:{color:$.accent10},label:{color:$.tertiary},controlStyle:{color:$.accent30,borderColor:$.accent30}},calendar:{itemStyle:{color:$.neutral00,borderColor:$.neutral20},dayLabel:{color:$.tertiary},monthLabel:{color:$.secondary},yearLabel:{color:$.secondary}},matrix:{x:ry,y:ry,backgroundColor:{borderColor:$.axisLine},body:{itemStyle:{borderColor:$.borderTint}}},timeAxis:ro(),logAxis:ro(),valueAxis:ro(),categoryAxis:ro(),line:{symbol:"circle"},graph:{color:$.theme},gauge:{title:{color:$.secondary},axisLine:{lineStyle:{color:[[1,$.neutral05]]}},axisLabel:{color:$.axisLabel},detail:{color:$.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:$.background}},radar:(function(){var A=ro();return A.axisName={color:$.axisLabel},A.axisLine.lineStyle.color=$.neutral20,A})(),treemap:{breadcrumb:{itemStyle:{color:$.neutral20,textStyle:{color:$.secondary}},emphasis:{itemStyle:{color:$.neutral30}}}},sunburst:{itemStyle:{borderColor:$.background}},map:{itemStyle:{borderColor:$.border,areaColor:$.neutral10},label:{color:$.tertiary},emphasis:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}},select:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}}},geo:{itemStyle:{borderColor:$.border,areaColor:$.neutral10},emphasis:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}},select:{label:{color:$.primary},itemStyle:{color:$.highlight}}}};ny.categoryAxis.splitLine.show=!1;var TI=(function(){function A(){}return A.prototype.normalizeQuery=function(e){var t={},r={},n={};if(ue(e)){var i=VA(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};b(e,function(s,l){for(var u=!1,f=0;f<a.length;f++){var c=a[f],h=l.lastIndexOf(c);if(h>0&&h===l.length-c.length){var v=l.slice(0,h);v!=="data"&&(t.mainType=v,t[c.toLowerCase()]=s,u=!0)}}o.hasOwnProperty(l)&&(r[l]=s,u=!0),u||(n[l]=s)})}return{cptQuery:t,dataQuery:r,otherQuery:n}},A.prototype.filter=function(e,t){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,a=r.model,o=r.view;if(!a||!o)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,t.otherQuery,n,i));function u(f,c,h,v){return f[h]==null||c[v||h]===f[h]}},A.prototype.afterTrigger=function(){this.eventInfo=null},A})(),iv=["symbol","symbolSize","symbolRotate","symbolOffset"],iy=iv.concat(["symbolKeepAspect"]),DI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){var t=A.getData();if(A.legendIcon&&t.setVisual("legendIcon",A.legendIcon),!A.hasSymbolVisual)return;for(var r={},n={},i=!1,a=0;a<iv.length;a++){var o=iv[a],s=A.get(o);me(s)?(i=!0,n[o]=s):r[o]=s}if(r.symbol=r.symbol||A.defaultSymbol,t.setVisual(W({legendIcon:A.legendIcon||r.symbol,symbolKeepAspect:A.get("symbolKeepAspect")},r)),e.isSeriesFiltered(A))return;var l=Ye(n);function u(f,c){for(var h=A.getRawValue(c),v=A.getDataParams(c),d=0;d<l.length;d++){var g=l[d];f.setItemVisual(c,g,n[g](h,v))}}return{dataEach:i?u:null}}},LI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){if(!A.hasSymbolVisual||e.isSeriesFiltered(A))return;var t=A.getData();function r(n,i){for(var a=n.getItemModel(i),o=0;o<iy.length;o++){var s=iy[o],l=a.getShallow(s,!0);l!=null&&n.setItemVisual(i,s,l)}}return{dataEach:t.hasItemOption?r:null}}};function MI(A,e,t){switch(t){case"color":var r=A.getItemVisual(e,"style");return r[A.getVisual("drawType")];case"opacity":return A.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return A.getItemVisual(e,t);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+t)}}function HI(A,e){switch(e){case"color":var t=A.getVisual("style");return t[A.getVisual("drawType")];case"opacity":return A.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return A.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function Vi(A,e,t,r,n){var i=A+e;t.isSilent(i)||(process.env.NODE_ENV!=="production"&&PA("event "+i+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},function(a){for(var o=a.seriesIndex,s=a.option.selectedMap,l=n.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===o){var f=a.getData(),c=dn(f,n.fromActionPayload);t.trigger(i,{type:i,seriesId:a.id,name:ie(c)?f.getName(c[0]):f.getName(c),selected:ue(s)?s:W({},s)})}}))}function OI(A,e,t){A.on("selectchanged",function(r){var n=t.getModel();r.isFromClick?(Vi("map","selectchanged",e,n,r),Vi("pie","selectchanged",e,n,r)):r.fromAction==="select"?(Vi("map","selected",e,n,r),Vi("pie","selected",e,n,r)):r.fromAction==="unselect"&&(Vi("map","unselected",e,n,r),Vi("pie","unselected",e,n,r))})}function no(A,e,t){for(var r;A&&!(e(A)&&(r=A,t));)A=A.__hostTarget||A.parent;return r}var RI=Math.round(Math.random()*9),NI=typeof Object.defineProperty=="function",PI=(function(){function A(){this._id="__ec_inner_"+RI++}return A.prototype.get=function(e){return this._guard(e)[this._id]},A.prototype.set=function(e,t){var r=this._guard(e);return NI?Object.defineProperty(r,this._id,{value:t,enumerable:!1,configurable:!0}):r[this._id]=t,this},A.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},A.prototype.has=function(e){return!!this._guard(e)[this._id]},A.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},A})(),kI=Ne.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(A,e){var t=e.cx,r=e.cy,n=e.width/2,i=e.height/2;A.moveTo(t,r-i),A.lineTo(t+n,r+i),A.lineTo(t-n,r+i),A.closePath()}}),VI=Ne.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(A,e){var t=e.cx,r=e.cy,n=e.width/2,i=e.height/2;A.moveTo(t,r-i),A.lineTo(t+n,r),A.lineTo(t,r+i),A.lineTo(t-n,r),A.closePath()}}),KI=Ne.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(A,e){var t=e.x,r=e.y,n=e.width/5*3,i=Math.max(n,e.height),a=n/2,o=a*a/(i-a),s=r-i+a+o,l=Math.asin(o/a),u=Math.cos(l)*a,f=Math.sin(l),c=Math.cos(l),h=a*.6,v=a*.7;A.moveTo(t-u,s+o),A.arc(t,s,a,Math.PI-l,Math.PI*2+l),A.bezierCurveTo(t+u-f*h,s+o+c*h,t,r-v,t,r),A.bezierCurveTo(t,r-v,t-u+f*h,s+o+c*h,t-u,s+o),A.closePath()}}),GI=Ne.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(A,e){var t=e.height,r=e.width,n=e.x,i=e.y,a=r/3*2;A.moveTo(n,i),A.lineTo(n+a,i+t),A.lineTo(n,i+t/4*3),A.lineTo(n-a,i+t),A.lineTo(n,i),A.closePath()}}),zI={line:Ir,rect:Je,roundRect:Je,square:Je,circle:el,diamond:VI,pin:KI,arrow:GI,triangle:kI},WI={line:function(A,e,t,r,n){n.x1=A,n.y1=e+r/2,n.x2=A+t,n.y2=e+r/2},rect:function(A,e,t,r,n){n.x=A,n.y=e,n.width=t,n.height=r},roundRect:function(A,e,t,r,n){n.x=A,n.y=e,n.width=t,n.height=r,n.r=Math.min(t,r)/4},square:function(A,e,t,r,n){var i=Math.min(t,r);n.x=A,n.y=e,n.width=i,n.height=i},circle:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.r=Math.min(t,r)/2},diamond:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.width=t,n.height=r},pin:function(A,e,t,r,n){n.x=A+t/2,n.y=e+r/2,n.width=t,n.height=r},arrow:function(A,e,t,r,n){n.x=A+t/2,n.y=e+r/2,n.width=t,n.height=r},triangle:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.width=t,n.height=r}},Vl={};b(zI,function(A,e){Vl[e]=new A});var YI=Ne.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(A,e,t){var r=Fs(A,e,t),n=this.shape;return n&&n.symbolType==="pin"&&e.position==="inside"&&(r.y=t.y+t.height*.4),r},buildPath:function(A,e,t){var r=e.symbolType;if(r!=="none"){var n=Vl[r];n||(r="rect",n=Vl[r]),WI[r](e.x,e.y,e.width,e.height,n.shape),n.buildPath(A,n.shape,t)}}});function XI(A,e){if(this.type!=="image"){var t=this.style;this.__isEmptyBrush?(t.stroke=A,t.fill=e||ae.color.neutral00,t.lineWidth=2):this.shape.symbolType==="line"?t.stroke=A:t.fill=A,this.markRedraw()}}function Hr(A,e,t,r,n,i,a){var o=A.indexOf("empty")===0;o&&(A=A.substr(5,1).toLowerCase()+A.substr(6));var s;return A.indexOf("image://")===0?s=cB(A.slice(8),new Fe(e,t,r,n),a?"center":"cover"):A.indexOf("path://")===0?s=vh(A.slice(7),{},new Fe(e,t,r,n),a?"center":"cover"):s=new YI({shape:{symbolType:A,x:e,y:t,width:r,height:n}}),s.__isEmptyBrush=o,s.setColor=XI,i&&s.setColor(i),s}function ZI(A){return ie(A)||(A=[+A,+A]),[A[0]||0,A[1]||0]}function ay(A,e){if(A!=null)return ie(A)||(A=[A,A]),[ct(A[0],e[0])||0,ct(de(A[1],A[0]),e[1])||0]}function Nn(A){return isFinite(A)}function JI(A,e,t){var r=e.x==null?0:e.x,n=e.x2==null?1:e.x2,i=e.y==null?0:e.y,a=e.y2==null?0:e.y2;e.global||(r=r*t.width+t.x,n=n*t.width+t.x,i=i*t.height+t.y,a=a*t.height+t.y),r=Nn(r)?r:0,n=Nn(n)?n:1,i=Nn(i)?i:0,a=Nn(a)?a:0;var o=A.createLinearGradient(r,i,n,a);return o}function qI(A,e,t){var r=t.width,n=t.height,i=Math.min(r,n),a=e.x==null?.5:e.x,o=e.y==null?.5:e.y,s=e.r==null?.5:e.r;e.global||(a=a*r+t.x,o=o*n+t.y,s=s*i),a=Nn(a)?a:.5,o=Nn(o)?o:.5,s=s>=0&&Nn(s)?s:.5;var l=A.createRadialGradient(a,o,0,a,o,s);return l}function av(A,e,t){for(var r=e.type==="radial"?qI(A,e,t):JI(A,e,t),n=e.colorStops,i=0;i<n.length;i++)r.addColorStop(n[i].offset,n[i].color);return r}function $I(A,e){if(A===e||!A&&!e)return!1;if(!A||!e||A.length!==e.length)return!0;for(var t=0;t<A.length;t++)if(A[t]!==e[t])return!0;return!1}function Kl(A){return parseInt(A,10)}function Gl(A,e,t){var r=["width","height"][e],n=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(t[r]!=null&&t[r]!=="auto")return parseFloat(t[r]);var o=document.defaultView.getComputedStyle(A);return(A[n]||Kl(o[r])||Kl(A.style[r]))-(Kl(o[i])||0)-(Kl(o[a])||0)|0}function jI(A,e){return!A||A==="solid"||!(e>0)?null:A==="dashed"?[4*e,2*e]:A==="dotted"?[e]:We(A)?[A]:ie(A)?A:null}function oy(A){var e=A.style,t=e.lineDash&&e.lineWidth>0&&jI(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(t){var n=e.strokeNoScale&&A.getLineScale?A.getLineScale():1;n&&n!==1&&(t=Be(t,function(i){return i/n}),r/=n)}return[t,r]}var eT=new br(!0);function zl(A){var e=A.stroke;return!(e==null||e==="none"||!(A.lineWidth>0))}function sy(A){return typeof A=="string"&&A!=="none"}function Wl(A){var e=A.fill;return e!=null&&e!=="none"}function ly(A,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var t=A.globalAlpha;A.globalAlpha=e.fillOpacity*e.opacity,A.fill(),A.globalAlpha=t}else A.fill()}function uy(A,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var t=A.globalAlpha;A.globalAlpha=e.strokeOpacity*e.opacity,A.stroke(),A.globalAlpha=t}else A.stroke()}function ov(A,e,t){var r=r0(e.image,e.__image,t);if(Ms(r)){var n=A.createPattern(r,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*fx),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function tT(A,e,t,r){var n,i=zl(t),a=Wl(t),o=t.strokePercent,s=o<1,l=!e.path;(!e.silent||s)&&l&&e.createPathProxy();var u=e.path||eT,f=e.__dirty;if(!r){var c=t.fill,h=t.stroke,v=a&&!!c.colorStops,d=i&&!!h.colorStops,g=a&&!!c.image,p=i&&!!h.image,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0;(v||d)&&(C=e.getBoundingRect()),v&&(B=f?av(A,c,C):e.__canvasFillGradient,e.__canvasFillGradient=B),d&&(m=f?av(A,h,C):e.__canvasStrokeGradient,e.__canvasStrokeGradient=m),g&&(y=f||!e.__canvasFillPattern?ov(A,c,e):e.__canvasFillPattern,e.__canvasFillPattern=y),p&&(_=f||!e.__canvasStrokePattern?ov(A,h,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),v?A.fillStyle=B:g&&(y?A.fillStyle=y:a=!1),d?A.strokeStyle=m:p&&(_?A.strokeStyle=_:i=!1)}var Q=e.getGlobalScale();u.setScale(Q[0],Q[1],e.segmentIgnoreThreshold);var x,F;A.setLineDash&&t.lineDash&&(n=oy(e),x=n[0],F=n[1]);var S=!0;(l||f&vi)&&(u.setDPR(A.dpr),s?u.setContext(null):(u.setContext(A),S=!1),u.reset(),e.buildPath(u,e.shape,r),u.toStatic(),e.pathUpdated()),S&&u.rebuildPath(A,s?o:1),x&&(A.setLineDash(x),A.lineDashOffset=F),r||(t.strokeFirst?(i&&uy(A,t),a&&ly(A,t)):(a&&ly(A,t),i&&uy(A,t))),x&&A.setLineDash([])}function AT(A,e,t){var r=e.__image=r0(t.image,e.__image,e,e.onload);if(!(!r||!Ms(r))){var n=t.x||0,i=t.y||0,a=e.getWidth(),o=e.getHeight(),s=r.width/r.height;if(a==null&&o!=null?a=o*s:o==null&&a!=null?o=a/s:a==null&&o==null&&(a=r.width,o=r.height),t.sWidth&&t.sHeight){var l=t.sx||0,u=t.sy||0;A.drawImage(r,l,u,t.sWidth,t.sHeight,n,i,a,o)}else if(t.sx&&t.sy){var l=t.sx,u=t.sy,f=a-l,c=o-u;A.drawImage(r,l,u,f,c,n,i,a,o)}else A.drawImage(r,n,i,a,o)}}function rT(A,e,t){var r,n=t.text;if(n!=null&&(n+=""),n){A.font=t.font||yr,A.textAlign=t.textAlign,A.textBaseline=t.textBaseline;var i=void 0,a=void 0;A.setLineDash&&t.lineDash&&(r=oy(e),i=r[0],a=r[1]),i&&(A.setLineDash(i),A.lineDashOffset=a),t.strokeFirst?(zl(t)&&A.strokeText(n,t.x,t.y),Wl(t)&&A.fillText(n,t.x,t.y)):(Wl(t)&&A.fillText(n,t.x,t.y),zl(t)&&A.strokeText(n,t.x,t.y)),i&&A.setLineDash([])}}var fy=["shadowBlur","shadowOffsetX","shadowOffsetY"],cy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function hy(A,e,t,r,n){var i=!1;if(!r&&(t=t||{},e===t))return!1;if(r||e.opacity!==t.opacity){Gt(A,n),i=!0;var a=Math.max(Math.min(e.opacity,1),0);A.globalAlpha=isNaN(a)?gn.opacity:a}(r||e.blend!==t.blend)&&(i||(Gt(A,n),i=!0),A.globalCompositeOperation=e.blend||gn.blend);for(var o=0;o<fy.length;o++){var s=fy[o];(r||e[s]!==t[s])&&(i||(Gt(A,n),i=!0),A[s]=A.dpr*(e[s]||0))}return(r||e.shadowColor!==t.shadowColor)&&(i||(Gt(A,n),i=!0),A.shadowColor=e.shadowColor||gn.shadowColor),i}function vy(A,e,t,r,n){var i=io(e,n.inHover),a=r?null:t&&io(t,n.inHover)||{};if(i===a)return!1;var o=hy(A,i,a,r,n);if((r||i.fill!==a.fill)&&(o||(Gt(A,n),o=!0),sy(i.fill)&&(A.fillStyle=i.fill)),(r||i.stroke!==a.stroke)&&(o||(Gt(A,n),o=!0),sy(i.stroke)&&(A.strokeStyle=i.stroke)),(r||i.opacity!==a.opacity)&&(o||(Gt(A,n),o=!0),A.globalAlpha=i.opacity==null?1:i.opacity),e.hasStroke()){var s=i.lineWidth,l=s/(i.strokeNoScale&&e.getLineScale?e.getLineScale():1);A.lineWidth!==l&&(o||(Gt(A,n),o=!0),A.lineWidth=l)}for(var u=0;u<cy.length;u++){var f=cy[u],c=f[0];(r||i[c]!==a[c])&&(o||(Gt(A,n),o=!0),A[c]=i[c]||f[1])}return o}function nT(A,e,t,r,n){return hy(A,io(e,n.inHover),t&&io(t,n.inHover),r,n)}function dy(A,e){var t=e.transform,r=A.dpr||1;t?A.setTransform(r*t[0],r*t[1],r*t[2],r*t[3],r*t[4],r*t[5]):A.setTransform(r,0,0,r,0,0)}function iT(A,e,t){for(var r=!1,n=0;n<A.length;n++){var i=A[n];r=r||i.isZeroArea(),dy(e,i),e.beginPath(),i.buildPath(e,i.shape),e.clip()}t.allClipped=r}function aT(A,e){return A&&e?A[0]!==e[0]||A[1]!==e[1]||A[2]!==e[2]||A[3]!==e[3]||A[4]!==e[4]||A[5]!==e[5]:!(!A&&!e)}var py=1,gy=2,By=3,my=4;function oT(A){var e=Wl(A),t=zl(A);return!(A.lineDash||!(+e^+t)||e&&typeof A.fill!="string"||t&&typeof A.stroke!="string"||A.strokePercent<1||A.strokeOpacity<1||A.fillOpacity<1)}function Gt(A,e){e.batchFill&&A.fill(),e.batchStroke&&A.stroke(),e.batchFill="",e.batchStroke=""}function io(A,e){return e&&A.__hoverStyle||A.style}function yy(A,e){Pn(A,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Pn(A,e,t,r){var n=e.transform;if(!e.shouldBePainted(t.viewWidth,t.viewHeight,!1,!1)){e.__dirty&=~Xt,e.__isRendered=!1;return}var i=e.__clipPaths,a=t.prevElClipPaths,o=!1,s=!1;if((!a||$I(i,a))&&(a&&a.length&&(Gt(A,t),A.restore(),s=o=!0,t.prevElClipPaths=null,t.allClipped=!1,t.prevEl=null),i&&i.length&&(Gt(A,t),A.save(),iT(i,A,t),o=!0),t.prevElClipPaths=i),t.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var l=t.prevEl;l||(s=o=!0);var u=e instanceof Ne&&e.autoBatch&&oT(e.style);o||aT(n,l.transform)?(Gt(A,t),dy(A,e)):u||Gt(A,t);var f=io(e,t.inHover);e instanceof Ne?(t.lastDrawType!==py&&(s=!0,t.lastDrawType=py),vy(A,e,l,s,t),(!u||!t.batchFill&&!t.batchStroke)&&A.beginPath(),tT(A,e,f,u),u&&(t.batchFill=f.fill||"",t.batchStroke=f.stroke||"")):e instanceof Ps?(t.lastDrawType!==By&&(s=!0,t.lastDrawType=By),vy(A,e,l,s,t),rT(A,e,f)):e instanceof Ur?(t.lastDrawType!==gy&&(s=!0,t.lastDrawType=gy),nT(A,e,l,s,t),AT(A,e,f)):e.getTemporalDisplayables&&(t.lastDrawType!==my&&(s=!0,t.lastDrawType=my),sT(A,e,t)),u&&r&&Gt(A,t),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),t.prevEl=e,e.__dirty=0,e.__isRendered=!0}function sT(A,e,t){var r=e.getDisplayables(),n=e.getTemporalDisplayables();A.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:t.viewWidth,viewHeight:t.viewHeight,inHover:t.inHover},a,o;for(a=e.getCursor(),o=r.length;a<o;a++){var s=r[a];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),Pn(A,s,i,a===o-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}for(var l=0,u=n.length;l<u;l++){var s=n[l];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),Pn(A,s,i,l===u-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}e.clearTemporalDisplayables(),e.notClear=!0,A.restore()}var sv=new PI,wy=new pi(100),Cy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function lv(A,e){if(A==="none")return null;var t=e.getDevicePixelRatio(),r=e.getZr(),n=r.painter.type==="svg";A.dirty&&sv.delete(A);var i=sv.get(A);if(i)return i;var a=Oe(A,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});a.backgroundColor==="none"&&(a.backgroundColor=null);var o={repeat:"repeat"};return s(o),o.rotation=a.rotation,o.scaleX=o.scaleY=n?1:1/t,sv.set(A,o),A.dirty=!1,o;function s(l){for(var u=[t],f=!0,c=0;c<Cy.length;++c){var h=a[Cy[c]];if(h!=null&&!ie(h)&&!ue(h)&&!We(h)&&typeof h!="boolean"){f=!1;break}u.push(h)}var v;if(f){v=u.join(",")+(n?"-svg":"");var d=wy.get(v);d&&(n?l.svgElement=d:l.image=d)}var g=Qy(a.dashArrayX),p=lT(a.dashArrayY),B=_y(a.symbol),m=uT(g),y=xy(p),_=!n&&Ar.createCanvas(),C=n&&{tag:"g",attrs:{},key:"dcl",children:[]},Q=F(),x;_&&(_.width=Q.width*t,_.height=Q.height*t,x=_.getContext("2d")),S(),f&&wy.put(v,_||C),l.image=_,l.svgElement=C,l.svgWidth=Q.width,l.svgHeight=Q.height;function F(){for(var E=1,I=0,U=m.length;I<U;++I)E=Kg(E,m[I]);for(var T=1,I=0,U=B.length;I<U;++I)T=Kg(T,B[I].length);E*=T;var H=y*m.length*B.length;if(process.env.NODE_ENV!=="production"){var P=function(Z){console.warn("Calculated decal size is greater than "+Z+" due to decal option settings so "+Z+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Z+" to be larger to avoid incontinuity.")};E>a.maxTileWidth&&P("maxTileWidth"),H>a.maxTileHeight&&P("maxTileHeight")}return{width:Math.max(1,Math.min(E,a.maxTileWidth)),height:Math.max(1,Math.min(H,a.maxTileHeight))}}function S(){x&&(x.clearRect(0,0,_.width,_.height),a.backgroundColor&&(x.fillStyle=a.backgroundColor,x.fillRect(0,0,_.width,_.height)));for(var E=0,I=0;I<p.length;++I)E+=p[I];if(E<=0)return;for(var U=-y,T=0,H=0,P=0;U<Q.height;){if(T%2===0){for(var Z=H/2%B.length,K=0,Y=0,ee=0;K<Q.width*2;){for(var D=0,I=0;I<g[P].length;++I)D+=g[P][I];if(D<=0)break;if(Y%2===0){var M=(1-a.symbolSize)*.5,L=K+g[P][Y]*M,k=U+p[T]*M,O=g[P][Y]*a.symbolSize,se=p[T]*a.symbolSize,q=ee/2%B[Z].length;Le(L,k,O,se,B[Z][q])}K+=g[P][Y],++ee,++Y,Y===g[P].length&&(Y=0)}++P,P===g.length&&(P=0)}U+=p[T],++H,++T,T===p.length&&(T=0)}function Le(ke,Ae,fe,le,eA){var et=n?1:t,rn=Hr(eA,ke*et,Ae*et,fe*et,le*et,a.color,a.symbolKeepAspect);if(n){var w=r.painter.renderOneToVNode(rn);w&&C.children.push(w)}else yy(x,rn)}}}}function _y(A){if(!A||A.length===0)return[["rect"]];if(ue(A))return[[A]];for(var e=!0,t=0;t<A.length;++t)if(!ue(A[t])){e=!1;break}if(e)return _y([A]);for(var r=[],t=0;t<A.length;++t)ue(A[t])?r.push([A[t]]):r.push(A[t]);return r}function Qy(A){if(!A||A.length===0)return[[0,0]];if(We(A)){var e=Math.ceil(A);return[[e,e]]}for(var t=!0,r=0;r<A.length;++r)if(!We(A[r])){t=!1;break}if(t)return Qy([A]);for(var n=[],r=0;r<A.length;++r)if(We(A[r])){var e=Math.ceil(A[r]);n.push([e,e])}else{var e=Be(A[r],function(o){return Math.ceil(o)});e.length%2===1?n.push(e.concat(e)):n.push(e)}return n}function lT(A){if(!A||typeof A=="object"&&A.length===0)return[0,0];if(We(A)){var e=Math.ceil(A);return[e,e]}var t=Be(A,function(r){return Math.ceil(r)});return A.length%2?t.concat(t):t}function uT(A){return Be(A,function(e){return xy(e)})}function xy(A){for(var e=0,t=0;t<A.length;++t)e+=A[t];return A.length%2===1?e*2:e}function fT(A,e){A.eachRawSeries(function(t){if(!A.isSeriesFiltered(t)){var r=t.getData();r.hasItemVisual()&&r.each(function(a){var o=r.getItemVisual(a,"decal");if(o){var s=r.ensureUniqueItemVisual(a,"style");s.decal=lv(o,e)}});var n=r.getVisual("decal");if(n){var i=r.getVisual("style");i.decal=lv(n,e)}}})}var EA=new yA,Yl={};function cT(A,e){process.env.NODE_ENV!=="production"&&Yl[A]&&Ke("Already has an implementation of "+A+"."),Yl[A]=e}function hT(A){return process.env.NODE_ENV!=="production"&&(Yl[A]||Ke("Implementation of "+A+" doesn't exists.")),Yl[A]}var vT=1,dT=800,pT=900,gT=1e3,BT=2e3,mT=5e3,Fy=1e3,yT=1100,uv=2e3,Ey=3e3,wT=4e3,Xl=4500,CT=4600,_T=5e3,QT=6e3,by=7e3,xT={PROCESSOR:{FILTER:gT,SERIES_FILTER:dT,STATISTIC:mT},VISUAL:{LAYOUT:Fy,PROGRESSIVE_LAYOUT:yT,GLOBAL:uv,CHART:Ey,POST_CHART_LAYOUT:CT,COMPONENT:wT,BRUSH:_T,CHART_ITEM:Xl,ARIA:QT,DECAL:by}},lt="__flagInMainProcess",Zl="__mainProcessVersion",gt="__pendingUpdate",fv="__needsUpdateStatus",Sy=/^[a-zA-Z0-9_]+$/,cv="__connectUpdateStatus",Uy=0,FT=1,ET=2;function Iy(A){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this.isDisposed()){zt(this.id);return}return Dy(this,A,e)}}function Ty(A){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Dy(this,A,e)}}function Dy(A,e,t){return t[0]=t[0]&&t[0].toLowerCase(),yA.prototype[e].apply(A,t)}var Ly=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e})(yA),My=Ly.prototype;My.on=Ty("on"),My.off=Ty("off");var kn,hv,Jl,cr,ql,vv,dv,Ki,Gi,Hy,Oy,pv,Ry,$l,Ny,Py,hA,ky,zi,Vy=(function(A){X(e,A);function e(t,r,n){var i=A.call(this,new TI)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},i._dom=t;var a="canvas",o="auto",s=!1;if(i[Zl]=1,process.env.NODE_ENV!=="production"){var l=_e.hasGlobalWindow?window:global;l&&(a=de(l.__ECHARTS__DEFAULT__RENDERER__,a),o=de(l.__ECHARTS__DEFAULT__COARSE_POINTER,o),s=de(l.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,s))}n.ssr;var u=i._zr=Lg(t,{renderer:n.renderer||a,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:de(n.useDirtyRect,s),useCoarsePointer:de(n.useCoarsePointer,o),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=nv(ye(u.flush,u),17),i._updateTheme(r),i._locale=_S(n.locale||IB),i._coordSysMgr=new Oh;var f=i._api=Ny(i);function c(h,v){return h.__prio-v.__prio}return ns(tu,c),ns(mv,c),i._scheduler=new jm(i,f,mv,tu),i._messageCenter=new Ly,i._initEvents(),i.resize=ye(i.resize,i),u.animation.on("frame",i._onframe,i),Hy(u,i),Oy(u,i),Uf(i),i}return e.prototype._onframe=function(){if(!this._disposed){ky(this);var t=this._scheduler;if(this[gt]){var r=this[gt].silent;this[lt]=!0,zi(this);try{kn(this),cr.update.call(this,null,this[gt].updateParams)}catch(s){throw this[lt]=!1,this[gt]=null,s}this._zr.flush(),this[lt]=!1,this[gt]=null,Ki.call(this,r),Gi.call(this,r)}else if(t.unfinished){var n=vT,i=this._model,a=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),vv(this,i),t.performVisualTasks(i),$l(this,this._model,a,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,r,n){if(this[lt]){process.env.NODE_ENV!=="production"&&Ke("`setOption` should not be called during main process.");return}if(this._disposed){zt(this.id);return}var i,a,o;if(ve(r)&&(n=r.lazyUpdate,i=r.silent,a=r.replaceMerge,o=r.transition,r=r.notMerge),this[lt]=!0,zi(this),!this._model||r){var s=new fU(this._api),l=this._theme,u=this._model=new Gh;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(t,{replaceMerge:a},yv);var f={seriesTransition:o,optionChanged:!0};if(n)this[gt]={silent:i,updateParams:f},this[lt]=!1,this.getZr().wakeUp();else{try{kn(this),cr.update.call(this,null,f)}catch(c){throw this[gt]=null,this[lt]=!1,c}this._ssr||this._zr.flush(),this[gt]=null,this[lt]=!1,Ki.call(this,i),Gi.call(this,i)}},e.prototype.setTheme=function(t,r){if(this[lt]){process.env.NODE_ENV!=="production"&&Ke("`setTheme` should not be called during main process.");return}if(this._disposed){zt(this.id);return}var n=this._model;if(n){var i=r&&r.silent,a=null;this[gt]&&(i==null&&(i=this[gt].silent),a=this[gt].updateParams,this[gt]=null),this[lt]=!0,zi(this);try{this._updateTheme(t),n.setTheme(this._theme),kn(this),cr.update.call(this,{type:"setTheme"},a)}catch(o){throw this[lt]=!1,o}this[lt]=!1,Ki.call(this,i),Gi.call(this,i)}},e.prototype._updateTheme=function(t){ue(t)&&(t=Ky[t]),t&&(t=Se(t),t&&hm(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||_e.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return process.env.NODE_ENV!=="production"&&dt("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return r.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return r.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr,r=t.storage.getDisplayList();return b(r,function(n){n.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(this._disposed){zt(this.id);return}t=t||{};var r=t.excludeComponents,n=this._model,i=[],a=this;b(r,function(s){n.eachComponent({mainType:s},function(l){var u=a._componentsMap[l.__viewId];u.group.ignore||(i.push(u),u.group.ignore=!0)})});var o=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return b(i,function(s){s.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed){zt(this.id);return}var r=t.type==="svg",n=this.group,i=Math.min,a=Math.max,o=1/0;if(Gy[n]){var s=o,l=o,u=-o,f=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();b(ao,function(m,y){if(m.group===n){var _=r?m.getZr().painter.getSvgDom().innerHTML:m.renderToCanvas(Se(t)),C=m.getDom().getBoundingClientRect();s=i(C.left,s),l=i(C.top,l),u=a(C.right,u),f=a(C.bottom,f),c.push({dom:_,left:C.left,top:C.top})}}),s*=h,l*=h,u*=h,f*=h;var v=u-s,d=f-l,g=Ar.createCanvas(),p=Lg(g,{renderer:r?"svg":"canvas"});if(p.resize({width:v,height:d}),r){var B="";return b(c,function(m){var y=m.left-s,_=m.top-l;B+='<g transform="translate('+y+","+_+')">'+m.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=B,t.connectedBackgroundColor&&p.painter.setBackgroundColor(t.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}else return t.connectedBackgroundColor&&p.add(new Je({shape:{x:0,y:0,width:v,height:d},style:{fill:t.connectedBackgroundColor}})),b(c,function(m){var y=new Ur({style:{x:m.left*h-s,y:m.top*h-l,image:m.dom}});p.add(y)}),p.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}else return this.getDataURL(t)},e.prototype.convertToPixel=function(t,r,n){return ql(this,"convertToPixel",t,r,n)},e.prototype.convertToLayout=function(t,r,n){return ql(this,"convertToLayout",t,r,n)},e.prototype.convertFromPixel=function(t,r,n){return ql(this,"convertFromPixel",t,r,n)},e.prototype.containPixel=function(t,r){if(this._disposed){zt(this.id);return}var n=this._model,i,a=bc(n,t);return b(a,function(o,s){s.indexOf("Models")>=0&&b(o,function(l){var u=l.coordinateSystem;if(u&&u.containPoint)i=i||!!u.containPoint(r);else if(s==="seriesModels"){var f=this._chartsMap[l.__viewId];f&&f.containPoint?i=i||f.containPoint(r,l):process.env.NODE_ENV!=="production"&&Qt(s+": "+(f?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&Qt(s+": containPoint is not supported")},this)},this),!!i},e.prototype.getVisual=function(t,r){var n=this._model,i=bc(n,t,{defaultMainType:"series"}),a=i.seriesModel;process.env.NODE_ENV!=="production"&&(a||Qt("There is no specified series model"));var o=a.getData(),s=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return s!=null?MI(o,s,r):HI(o,r)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;b(bT,function(n){var i=function(a){var o=t.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&no(s,function(d){var g=Te(d);if(g&&g.dataIndex!=null){var p=g.dataModel||o.getSeriesByIndex(g.seriesIndex);return l=p&&p.getDataParams(g.dataIndex,g.dataType,s)||{},!0}else if(g.eventData)return l=W({},g.eventData),!0},!0),l){var f=l.componentType,c=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",c=l.seriesIndex);var h=f&&c!=null&&o.getComponent(f,c),v=h&&t[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];process.env.NODE_ENV!=="production"&&!u&&!(h&&v)&&Qt("model or view can not be found by params"),l.event=a,l.type=n,t._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:v},t.trigger(n,l)}};i.zrEventfulCallAtLast=!0,t._zr.on(n,i,t)});var r=this._messageCenter;b(Bv,function(n,i){r.on(i,function(a){t.trigger(i,a)})}),OI(r,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){zt(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){zt(this.id);return}this._disposed=!0;var t=this.getDom();t&&jg(this.getDom(),Cv,"");var r=this,n=r._api,i=r._model;b(r._componentsViews,function(a){a.dispose(i,n)}),b(r._chartsViews,function(a){a.dispose(i,n)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete ao[r.id]},e.prototype.resize=function(t){if(this[lt]){process.env.NODE_ENV!=="production"&&Ke("`resize` should not be called during main process.");return}if(this._disposed){zt(this.id);return}this._zr.resize(t);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var n=r.resetOption("media"),i=t&&t.silent;this[gt]&&(i==null&&(i=this[gt].silent),n=!0,this[gt]=null),this[lt]=!0,zi(this);try{n&&kn(this),cr.update.call(this,{type:"resize",animation:W({duration:0},t&&t.animation)})}catch(a){throw this[lt]=!1,a}this[lt]=!1,Ki.call(this,i),Gi.call(this,i)}},e.prototype.showLoading=function(t,r){if(this._disposed){zt(this.id);return}if(ve(t)&&(r=t,t=""),t=t||"default",this.hideLoading(),!wv[t]){process.env.NODE_ENV!=="production"&&Qt("Loading effects "+t+" not exists.");return}var n=wv[t](this._api,r),i=this._zr;this._loadingFX=n,i.add(n)},e.prototype.hideLoading=function(){if(this._disposed){zt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var r=W({},t);return r.type=eu[t.type],r},e.prototype.dispatchAction=function(t,r){if(this._disposed){zt(this.id);return}if(ve(r)||(r={silent:!!r}),!!jl[t.type]&&this._model){if(this[lt]){this._pendingActions.push(t);return}var n=r.silent;dv.call(this,t,n);var i=r.flush;i?this._zr.flush():i!==!1&&_e.browser.weChat&&this._throttledZrFlush(),Ki.call(this,n),Gi.call(this,n)}},e.prototype.updateLabelLayout=function(){EA.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){zt(this.id);return}var r=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(r);process.env.NODE_ENV!=="production"&&ce(t.data&&i),i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=(function(){kn=function(f){var c=f._scheduler;c.restorePipelines(f._model),c.prepareStageTasks(),hv(f,!0),hv(f,!1),c.plan()},hv=function(f,c){for(var h=f._model,v=f._scheduler,d=c?f._componentsViews:f._chartsViews,g=c?f._componentsMap:f._chartsMap,p=f._zr,B=f._api,m=0;m<d.length;m++)d[m].__alive=!1;c?h.eachComponent(function(C,Q){C!=="series"&&y(Q)}):h.eachSeries(y);function y(C){var Q=C.__requireNewView;C.__requireNewView=!1;var x="_ec_"+C.id+"_"+C.type,F=!Q&&g[x];if(!F){var S=VA(C.type),E=c?xA.getClass(S.main,S.sub):FA.getClass(S.sub);process.env.NODE_ENV!=="production"&&ce(E,S.sub+" does not exist."),F=new E,F.init(h,B),g[x]=F,d.push(F),p.add(F.group)}C.__viewId=F.__id=x,F.__alive=!0,F.__model=C,F.group.__ecComponentInfo={mainType:C.mainType,index:C.componentIndex},!c&&v.prepareView(F,C,h,B)}for(var m=0;m<d.length;){var _=d[m];_.__alive?m++:(!c&&_.renderTask.dispose(),p.remove(_.group),_.dispose(h,B),d.splice(m,1),g[_.__id]===_&&delete g[_.__id],_.__id=_.group.__ecComponentInfo=null)}},Jl=function(f,c,h,v,d){var g=f._model;if(g.setUpdatePayload(h),!v){b([].concat(f._componentsViews).concat(f._chartsViews),_);return}var p={};p[v+"Id"]=h[v+"Id"],p[v+"Index"]=h[v+"Index"],p[v+"Name"]=h[v+"Name"];var B={mainType:v,query:p};d&&(B.subType=d);var m=h.excludeSeriesId,y;m!=null&&(y=we(),b(Dt(m),function(C){var Q=kA(C,null);Q!=null&&y.set(Q,!0)})),g&&g.eachComponent(B,function(C){var Q=y&&y.get(C.id)!=null;if(!Q)if(Z0(h))if(C instanceof JA)h.type===Fn&&!h.notBlur&&!C.get(["emphasis","disabled"])&&ab(C,h,f._api);else{var x=Ah(C.mainType,C.componentIndex,h.name,f._api),F=x.focusSelf,S=x.dispatchers;h.type===Fn&&F&&!h.notBlur&&th(C.mainType,C.componentIndex,f._api),S&&b(S,function(E){h.type===Fn?Xs(E):Zs(E)})}else nh(h)&&C instanceof JA&&(lb(C,h,f._api),W0(C),hA(f))},f),g&&g.eachComponent(B,function(C){var Q=y&&y.get(C.id)!=null;Q||_(f[v==="series"?"_chartsMap":"_componentsMap"][C.__viewId])},f);function _(C){C&&C.__alive&&C[c]&&C[c](C.__model,g,f._api,h)}},cr={prepareAndUpdate:function(f){kn(this),cr.update.call(this,f,f&&{optionChanged:f.newOption!=null})},update:function(f,c){var h=this._model,v=this._api,d=this._zr,g=this._coordSysMgr,p=this._scheduler;if(h){h.setUpdatePayload(f),p.restoreData(h,f),p.performSeriesTasks(h),g.create(h,v),p.performDataProcessorTasks(h,f),vv(this,h),g.update(h,v),r(h),p.performVisualTasks(h,f);var B=h.get("backgroundColor")||"transparent";d.setBackgroundColor(B);var m=h.get("darkMode");m!=null&&m!=="auto"&&d.setDarkMode(m),pv(this,h,v,f,c),EA.trigger("afterupdate",h,v)}},updateTransform:function(f){var c=this,h=this._model,v=this._api;if(h){h.setUpdatePayload(f);var d=[];h.eachComponent(function(p,B){if(p!=="series"){var m=c.getViewOfComponentModel(B);if(m&&m.__alive)if(m.updateTransform){var y=m.updateTransform(B,h,v,f);y&&y.update&&d.push(m)}else d.push(m)}});var g=we();h.eachSeries(function(p){var B=c._chartsMap[p.__viewId];if(B.updateTransform){var m=B.updateTransform(p,h,v,f);m&&m.update&&g.set(p.uid,1)}else g.set(p.uid,1)}),r(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:g}),$l(this,h,v,f,{},g),EA.trigger("afterupdate",h,v)}},updateView:function(f){var c=this._model;c&&(c.setUpdatePayload(f),FA.markUpdateMethod(f,"updateView"),r(c),this._scheduler.performVisualTasks(c,f,{setDirty:!0}),pv(this,c,this._api,f,{}),EA.trigger("afterupdate",c,this._api))},updateVisual:function(f){var c=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(v){v.getData().clearAllVisual()}),FA.markUpdateMethod(f,"updateVisual"),r(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(v,d){if(v!=="series"){var g=c.getViewOfComponentModel(d);g&&g.__alive&&g.updateVisual(d,h,c._api,f)}}),h.eachSeries(function(v){var d=c._chartsMap[v.__viewId];d.updateVisual(v,h,c._api,f)}),EA.trigger("afterupdate",h,this._api))},updateLayout:function(f){cr.update.call(this,f)}};function t(f,c,h,v,d){if(f._disposed){zt(f.id);return}for(var g=f._model,p=f._coordSysMgr.getCoordinateSystems(),B,m=bc(g,h),y=0;y<p.length;y++){var _=p[y];if(_[c]&&(B=_[c](g,m,v,d))!=null)return B}process.env.NODE_ENV!=="production"&&Qt("No coordinate system that supports "+c+" found by the given finder.")}ql=t,vv=function(f,c){var h=f._chartsMap,v=f._scheduler;c.eachSeries(function(d){v.updateStreamModes(d,h[d.__viewId])})},dv=function(f,c){var h=this,v=this.getModel(),d=f.type,g=f.escapeConnect,p=jl[d],B=(p.update||"update").split(":"),m=B.pop(),y=B[0]!=null&&VA(B[0]);this[lt]=!0,zi(this);var _=[f],C=!1;f.batch&&(C=!0,_=Be(f.batch,function(P){return P=Oe(W({},P),f),P.batch=null,P}));var Q=[],x,F=[],S=p.nonRefinedEventType,E=nh(f),I=Z0(f);if(I&&z0(this._api),b(_,function(P){var Z=p.action(P,v,h._api);if(p.refineEvent?F.push(Z):x=Z,x=x||W({},P),x.type=S,Q.push(x),I){var K=Sc(f),Y=K.queryOptionMap,ee=K.mainTypeSpecified,D=ee?Y.keys()[0]:"series";Jl(h,m,P,D),hA(h)}else E?(Jl(h,m,P,"series"),hA(h)):y&&Jl(h,m,P,y.main,y.sub)}),m!=="none"&&!I&&!E&&!y)try{this[gt]?(kn(this),cr.update.call(this,f),this[gt]=null):cr[m].call(this,f)}catch(P){throw this[lt]=!1,P}if(C?x={type:S,escapeConnect:g,batch:Q}:x=Q[0],this[lt]=!1,!c){var U=void 0;if(p.refineEvent){var T=p.refineEvent(F,f,v,this._api).eventContent;ce(ve(T)),U=Oe({type:p.refinedEventType},T),U.fromAction=f.type,U.fromActionPayload=f,U.escapeConnect=!0}var H=this._messageCenter;H.trigger(x.type,x),U&&H.trigger(U.type,U)}},Ki=function(f){for(var c=this._pendingActions;c.length;){var h=c.shift();dv.call(this,h,f)}},Gi=function(f){!f&&this.trigger("updated")},Hy=function(f,c){f.on("rendered",function(h){c.trigger("rendered",h),f.animation.isFinished()&&!c[gt]&&!c._scheduler.unfinished&&!c._pendingActions.length&&c.trigger("finished")})},Oy=function(f,c){f.on("mouseover",function(h){var v=h.target,d=no(v,Ei);d&&(ob(d,h,c._api),hA(c))}).on("mouseout",function(h){var v=h.target,d=no(v,Ei);d&&(sb(d,h,c._api),hA(c))}).on("click",function(h){var v=h.target,d=no(v,function(B){return Te(B).dataIndex!=null},!0);if(d){var g=d.selected?"unselect":"select",p=Te(d);c._api.dispatchAction({type:g,dataType:p.dataType,dataIndexInside:p.dataIndex,seriesIndex:p.seriesIndex,isFromClick:!0})}})};function r(f){f.clearColorPalette(),f.eachSeries(function(c){c.clearColorPalette()})}function n(f){var c=[],h=[],v=!1;if(f.eachComponent(function(B,m){var y=m.get("zlevel")||0,_=m.get("z")||0,C=m.getZLevelKey();v=v||!!C,(B==="series"?h:c).push({zlevel:y,z:_,idx:m.componentIndex,type:B,key:C})}),v){var d=c.concat(h),g,p;ns(d,function(B,m){return B.zlevel===m.zlevel?B.z-m.z:B.zlevel-m.zlevel}),b(d,function(B){var m=f.getComponent(B.type,B.idx),y=B.zlevel,_=B.key;g!=null&&(y=Math.max(g,y)),_?(y===g&&_!==p&&y++,p=_):p&&(y===g&&y++,p=""),g=y,m.setZLevel(y)})}}pv=function(f,c,h,v,d){n(c),Ry(f,c,h,v,d),b(f._chartsViews,function(g){g.__alive=!1}),$l(f,c,h,v,d),b(f._chartsViews,function(g){g.__alive||g.remove(c,h)})},Ry=function(f,c,h,v,d,g){b(g||f._componentsViews,function(p){var B=p.__model;l(B,p),p.render(B,c,h,v),s(B,p),u(B,p)})},$l=function(f,c,h,v,d,g){var p=f._scheduler;d=W(d||{},{updatedSeries:c.getSeries()}),EA.trigger("series:beforeupdate",c,h,d);var B=!1;c.eachSeries(function(m){var y=f._chartsMap[m.__viewId];y.__alive=!0;var _=y.renderTask;p.updatePayload(_,v),l(m,y),g&&g.get(m.uid)&&_.dirty(),_.perform(p.getPerformArgs(_))&&(B=!0),y.group.silent=!!m.get("silent"),o(m,y),W0(m)}),p.unfinished=B||p.unfinished,EA.trigger("series:layoutlabels",c,h,d),EA.trigger("series:transition",c,h,d),c.eachSeries(function(m){var y=f._chartsMap[m.__viewId];s(m,y),u(m,y)}),a(f,c),EA.trigger("series:afterupdate",c,h,d)},hA=function(f){f[fv]=!0,f.getZr().wakeUp()},zi=function(f){f[Zl]=(f[Zl]+1)%1e3},ky=function(f){f[fv]&&(f.getZr().storage.traverse(function(c){Ii(c)||i(c)}),f[fv]=!1)};function i(f){for(var c=[],h=f.currentStates,v=0;v<h.length;v++){var d=h[v];d==="emphasis"||d==="blur"||d==="select"||c.push(d)}f.selected&&f.states.select&&c.push("select"),f.hoverState===Vs&&f.states.emphasis?c.push("emphasis"):f.hoverState===ks&&f.states.blur&&c.push("blur"),f.useStates(c)}function a(f,c){var h=f._zr,v=h.storage,d=0;v.traverse(function(g){g.isGroup||d++}),d>c.get("hoverLayerThreshold")&&!_e.node&&!_e.worker&&c.eachSeries(function(g){if(!g.preventUsingHoverLayer){var p=f._chartsMap[g.__viewId];p.__alive&&p.eachRendered(function(B){B.states.emphasis&&(B.states.emphasis.hoverLayer=!0)})}})}function o(f,c){var h=f.get("blendMode")||null;c.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function s(f,c){if(!f.preventAutoZ){var h=Ka(f);c.eachRendered(function(v){return wB(v,h.z,h.zlevel),!0})}}function l(f,c){c.eachRendered(function(h){if(!Ii(h)){var v=h.getTextContent(),d=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),d&&d.stateTransition&&(d.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function u(f,c){var h=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),d=h.get("duration"),g=d>0?{duration:d,delay:h.get("delay"),easing:h.get("easing")}:null;c.eachRendered(function(p){if(p.states&&p.states.emphasis){if(Ii(p))return;if(p instanceof Ne&&db(p),p.__dirty){var B=p.prevStates;B&&p.useStates(B)}if(v){p.stateTransition=g;var m=p.getTextContent(),y=p.getTextGuideLine();m&&(m.stateTransition=g),y&&(y.stateTransition=g)}p.__dirty&&i(p)}})}Ny=function(f){return new((function(c){X(h,c);function h(){return c!==null&&c.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var d=v.__ecComponentInfo;if(d!=null)return f._model.getComponent(d.mainType,d.index);v=v.parent}},h.prototype.enterEmphasis=function(v,d){Xs(v,d),hA(f)},h.prototype.leaveEmphasis=function(v,d){Zs(v,d),hA(f)},h.prototype.enterBlur=function(v){ib(v),hA(f)},h.prototype.leaveBlur=function(v){k0(v),hA(f)},h.prototype.enterSelect=function(v){V0(v),hA(f)},h.prototype.leaveSelect=function(v){K0(v),hA(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},h.prototype.getMainProcessVersion=function(){return f[Zl]},h})(am))(f)},Py=function(f){function c(h,v){for(var d=0;d<h.length;d++){var g=h[d];g[cv]=v}}b(eu,function(h,v){f._messageCenter.on(v,function(d){if(Gy[f.group]&&f[cv]!==Uy){if(d&&d.escapeConnect)return;var g=f.makeActionFromEvent(d),p=[];b(ao,function(B){B!==f&&B.group===f.group&&p.push(B)}),c(p,Uy),b(p,function(B){B[cv]!==FT&&B.dispatchAction(g)}),c(p,ET)}})})}})(),e})(yA),gv=Vy.prototype;gv.on=Iy("on"),gv.off=Iy("off"),gv.one=function(A,e,t){var r=this;PA("ECharts#one is deprecated.");function n(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];e&&e.apply&&e.apply(this,i),r.off(A,n)}this.on.call(this,A,n,t)};var bT=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function zt(A){process.env.NODE_ENV!=="production"&&Qt("Instance "+A+" has been disposed")}var jl={},eu={},Bv={},mv=[],yv=[],tu=[],Ky={},wv={},ao={},Gy={},ST=+new Date-0,Cv="_echarts_instance_";function UT(A,e,t){{if(process.env.NODE_ENV!=="production"&&!A)throw new Error("Initialize failed: invalid dom.");var r=IT(A);if(r)return process.env.NODE_ENV!=="production"&&Qt("There is a chart instance already initialized on the dom."),r;process.env.NODE_ENV!=="production"&&ri(A)&&A.nodeName.toUpperCase()!=="CANVAS"&&(!A.clientWidth&&!t||!A.clientHeight&&!t)&&Qt("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var n=new Vy(A,e,t);return n.id="ec_"+ST++,ao[n.id]=n,jg(A,Cv,n.id),Py(n),EA.trigger("afterinit",n),n}function IT(A){return ao[XF(A,Cv)]}function zy(A,e){Ky[A]=e}function Wy(A){Ie(yv,A)<0&&yv.push(A)}function Yy(A,e){Qv(mv,A,e,BT)}function TT(A){_v("afterinit",A)}function DT(A){_v("afterupdate",A)}function _v(A,e){EA.on(A,e)}function Vn(A,e,t){var r,n,i,a,o;me(e)&&(t=e,e=""),ve(A)?(r=A.type,n=A.event,a=A.update,o=A.publishNonRefinedEvent,t||(t=A.action),i=A.refineEvent):(r=A,n=e);function s(u){return u.toLowerCase()}n=s(n||r);var l=i?s(r):n;jl[r]||(ce(Sy.test(r)&&Sy.test(n)),i&&ce(n!==r),jl[r]={actionType:r,refinedEventType:n,nonRefinedEventType:l,update:a,action:t,refineEvent:i},Bv[n]=1,i&&o&&(Bv[l]=1),process.env.NODE_ENV!=="production"&&eu[l]&&Ke(l+' must not be shared; use "refineEvent" if you intend to share an event name.'),eu[l]=r)}function LT(A,e){Oh.register(A,e)}function MT(A,e){Qv(tu,A,e,Fy,"layout")}function Kn(A,e){Qv(tu,A,e,Ey,"visual")}var Xy=[];function Qv(A,e,t,r,n){if((me(e)||ve(e))&&(t=e,e=r),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");b(A,function(a){ce(a.__raw!==t)})}if(!(Ie(Xy,t)>=0)){Xy.push(t);var i=jm.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,A.push(i)}}function Zy(A,e){wv[A]=e}function HT(A,e,t){var r=hT("registerMap");r&&r(A,e,t)}var OT=VU;Kn(uv,BI),Kn(Xl,mI),Kn(Xl,yI),Kn(uv,DI),Kn(Xl,LI),Kn(by,fT),Wy(hm),Yy(pT,_U),Zy("default",wI),Vn({type:Fn,event:Fn,update:Fn},Tt),Vn({type:Gs,event:Gs,update:Gs},Tt),Vn({type:zs,event:qc,update:zs,action:Tt,refineEvent:xv,publishNonRefinedEvent:!0}),Vn({type:Jc,event:qc,update:Jc,action:Tt,refineEvent:xv,publishNonRefinedEvent:!0}),Vn({type:Ws,event:qc,update:Ws,action:Tt,refineEvent:xv,publishNonRefinedEvent:!0});function xv(A,e,t,r){return{eventContent:{selected:ub(t),isFromClick:e.isFromClick||!1}}}zy("default",{}),zy("dark",ny);function oo(A){return A==null?0:A.length||1}function Jy(A){return A}var RT=(function(){function A(e,t,r,n,i,a){this._old=e,this._new=t,this._oldKeyGetter=r||Jy,this._newKeyGetter=n||Jy,this.context=i,this._diffModeMultiple=a==="multiple"}return A.prototype.add=function(e){return this._add=e,this},A.prototype.update=function(e){return this._update=e,this},A.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},A.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},A.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},A.prototype.remove=function(e){return this._remove=e,this},A.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},A.prototype._executeOneToOne=function(){var e=this._old,t=this._new,r={},n=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(t,r,i,"_newKeyGetter");for(var a=0;a<e.length;a++){var o=n[a],s=r[o],l=oo(s);if(l>1){var u=s.shift();s.length===1&&(r[o]=s[0]),this._update&&this._update(u,a)}else l===1?(r[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(i,r)},A.prototype._executeMultiple=function(){var e=this._old,t=this._new,r={},n={},i=[],a=[];this._initIndexMap(e,r,i,"_oldKeyGetter"),this._initIndexMap(t,n,a,"_newKeyGetter");for(var o=0;o<i.length;o++){var s=i[o],l=r[s],u=n[s],f=oo(l),c=oo(u);if(f>1&&c===1)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(f===1&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(f===1&&c===1)this._update&&this._update(u,l),n[s]=null;else if(f>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[s]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(a,n)},A.prototype._performRestAdd=function(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=t[n],a=oo(i);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(i[o]);else a===1&&this._add&&this._add(i);t[n]=null}},A.prototype._initIndexMap=function(e,t,r,n){for(var i=this._diffModeMultiple,a=0;a<e.length;a++){var o="_ec_"+this[n](e[a],a);if(i||(r[a]=o),!!t){var s=t[o],l=oo(s);l===0?(t[o]=a,i&&r.push(o)):l===1?t[o]=[s,a]:s.push(a)}}},A})(),NT=(function(){function A(e,t){this._encode=e,this._schema=t}return A.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},A.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},A})();function PT(A,e){var t={},r=t.encode={},n=we(),i=[],a=[],o={};b(A.dimensions,function(c){var h=A.getDimensionInfo(c),v=h.coordDim;if(v){process.env.NODE_ENV!=="production"&&ce(kh.get(v)==null);var d=h.coordDimIndex;Fv(r,v)[d]=c,h.isExtraCoord||(n.set(v,1),VT(h.type)&&(i[0]=c),Fv(o,v)[d]=A.getDimensionIndex(h.name)),h.defaultTooltip&&a.push(c)}kh.each(function(g,p){var B=Fv(r,p),m=h.otherDims[p];m!=null&&m!==!1&&(B[m]=h.name)})});var s=[],l={};n.each(function(c,h){var v=r[h];l[h]=v[0],s=s.concat(v)}),t.dataDimsOnCoord=s,t.dataDimIndicesOnCoord=Be(s,function(c){return A.getDimensionInfo(c).storeDimIndex}),t.encodeFirstDimNotExtra=l;var u=r.label;u&&u.length&&(i=u.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=i.slice()),r.defaultedLabel=i,r.defaultedTooltip=a,t.userOutput=new NT(o,e),t}function Fv(A,e){return A.hasOwnProperty(e)||(A[e]=[]),A[e]}function kT(A){return A==="category"?"ordinal":A==="time"?"time":"float"}function VT(A){return!(A==="ordinal"||A==="time")}var Au=(function(){function A(e){this.otherDims={},e!=null&&W(this,e)}return A})(),KT=Ge(),GT={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},qy=(function(){function A(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return A.prototype.isDimensionOmitted=function(){return this._dimOmitted},A.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=ew(this.source)))},A.prototype.getSourceDimensionIndex=function(e){return de(this._dimNameMap.get(e),-1)},A.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},A.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=Bm(this.source),r=!tw(e),n="",i=[],a=0,o=0;a<e;a++){var s=void 0,l=void 0,u=void 0,f=this.dimensions[o];if(f&&f.storeDimIndex===a)s=t?f.name:null,l=f.type,u=f.ordinalMeta,o++;else{var c=this.getSourceDimension(a);c&&(s=t?c.name:null,l=c.type)}i.push({property:s,type:l,ordinalMeta:u}),t&&s!=null&&(!f||!f.isCalculationCoord)&&(n+=r?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=GT[l]||"f",u&&(n+=u.uid),n+="$"}var h=this.source,v=[h.seriesLayoutBy,h.startIndex,n].join("$$");return{dimensions:i,hash:v}},A.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,r=0;t<this._fullDimCount;t++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(n=i.name),r++;else{var a=this.getSourceDimension(t);a&&(n=a.name)}e.push(n)}return e},A.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},A})();function $y(A){return A instanceof qy}function jy(A){for(var e=we(),t=0;t<(A||[]).length;t++){var r=A[t],n=ve(r)?r.name:r;n!=null&&e.get(n)==null&&e.set(n,t)}return e}function ew(A){var e=KT(A);return e.dimNameMap||(e.dimNameMap=jy(A.dimensionsDefine))}function tw(A){return A>30}var so=ve,Or=Be,zT=typeof Int32Array>"u"?Array:Int32Array,WT="e\0\0",Aw=-1,YT=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],XT=["_approximateExtent"],rw,ru,lo,Wi,Ev,uo,bv,ZT=(function(){function A(e,t){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,n=!1;$y(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,r=e),r=r||["x","y"];for(var i={},a=[],o={},s=!1,l={},u=0;u<r.length;u++){var f=r[u],c=ue(f)?new Au({name:f}):f instanceof Au?f:new Au(f),h=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=h,c.coordDimIndex=0);var v=c.otherDims=c.otherDims||{};a.push(h),i[h]=c,l[h]!=null&&(s=!0),c.createInvertedIndices&&(o[h]=[]);var d=u;We(c.storeDimIndex)&&(d=c.storeDimIndex),v.itemName===0&&(this._nameDimIdx=d),v.itemId===0&&(this._idDimIdx=d),process.env.NODE_ENV!=="production"&&ce(n||c.storeDimIndex>=0),n&&(c.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=o,this._dimOmitted){var g=this._dimIdxToName=we();b(a,function(p){g.set(i[p].storeDimIndex,p)})}}return A.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(t==null)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var r=this._dimIdxToName.get(t);if(r!=null)return r;var n=this._schema.getSourceDimension(t);if(n)return n.name},A.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(t!=null)return t;if(e==null)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},A.prototype._recognizeDimIndex=function(e){if(We(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},A.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&t==null)throw new Error("Unknown dimension "+e);return t},A.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},A.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(r){return t.hasOwnProperty(r)?t[r]:void 0}:function(r){return t[r]}},A.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},A.prototype.mapDimension=function(e,t){var r=this._dimSummary;if(t==null)return r.encodeFirstDimNotExtra[e];var n=r.encode[e];return n?n[t]:null},A.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,r=t.encode[e];return(r||[]).slice()},A.prototype.getStore=function(){return this._store},A.prototype.initData=function(e,t,r){var n=this,i;if(e instanceof $h&&(i=e),!i){var a=this.dimensions,o=Yh(e)||Pt(e)?new wm(e,a.length):e;i=new $h;var s=Or(a,function(l){return{type:n._dimInfos[l].type,property:l}});i.initData(o,s,r)}this._store=i,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=PT(this,this._schema),this.userOutput=this._dimSummary.userOutput},A.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},A.prototype.appendValues=function(e,t){var r=this._store.appendValues(e,t&&t.length),n=r.start,i=r.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var o=n;o<i;o++){var s=o-n;this._nameList[o]=t[s],a&&bv(this,o)}},A.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,r=0;r<t.length;r++){var n=this._dimInfos[t[r]];n.ordinalMeta&&e.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},A.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==ur&&!e.fillStorage},A.prototype._doInit=function(e,t){if(!(e>=t)){var r=this._store,n=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,a=this._idList,o=n.getSource().sourceFormat,s=o===Jt;if(s&&!n.pure)for(var l=[],u=e;u<t;u++){var f=n.getItem(u,l);if(!this.hasItemOption&&HF(f)&&(this.hasItemOption=!0),f){var c=f.name;i[u]==null&&c!=null&&(i[u]=kA(c,null));var h=f.id;a[u]==null&&h!=null&&(a[u]=kA(h,null))}}if(this._shouldMakeIdFromName())for(var u=e;u<t;u++)bv(this,u);rw(this)}},A.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},A.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},A.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},A.prototype.setCalculationInfo=function(e,t){so(e)?W(this._calculationInfo,e):this._calculationInfo[e]=t},A.prototype.getName=function(e){var t=this.getRawIndex(e),r=this._nameList[t];return r==null&&this._nameDimIdx!=null&&(r=lo(this,this._nameDimIdx,t)),r==null&&(r=""),r},A.prototype._getCategory=function(e,t){var r=this._store.get(e,t),n=this._store.getOrdinalMeta(e);return n?n.categories[r]:r},A.prototype.getId=function(e){return ru(this,this.getRawIndex(e))},A.prototype.count=function(){return this._store.count()},A.prototype.get=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.get(n.storeDimIndex,t)},A.prototype.getByRawIndex=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.getByRawIndex(n.storeDimIndex,t)},A.prototype.getIndices=function(){return this._store.getIndices()},A.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},A.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},A.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},A.prototype.getValues=function(e,t){var r=this,n=this._store;return ie(e)?n.getValues(Or(e,function(i){return r._getStoreDimIndex(i)}),t):n.getValues(e)},A.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,r=0,n=t.length;r<n;r++)if(isNaN(this._store.get(t[r],e)))return!1;return!0},A.prototype.indexOfName=function(e){for(var t=0,r=this._store.count();t<r;t++)if(this.getName(t)===e)return t;return-1},A.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},A.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},A.prototype.rawIndexOf=function(e,t){var r=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Do not supported yet");var n=r&&r[t];return n==null||isNaN(n)?Aw:n},A.prototype.each=function(e,t,r){me(e)&&(r=t,t=e,e=[]);var n=r||this,i=Or(Wi(e),this._getStoreDimIndex,this);this._store.each(i,n?ye(t,n):t)},A.prototype.filterSelf=function(e,t,r){me(e)&&(r=t,t=e,e=[]);var n=r||this,i=Or(Wi(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?ye(t,n):t),this},A.prototype.selectRange=function(e){var t=this,r={},n=Ye(e);return b(n,function(i){var a=t._getStoreDimIndex(i);r[a]=e[i]}),this._store=this._store.selectRange(r),this},A.prototype.mapArray=function(e,t,r){me(e)&&(r=t,t=e,e=[]),r=r||this;var n=[];return this.each(e,function(){n.push(t&&t.apply(this,arguments))},r),n},A.prototype.map=function(e,t,r,n){var i=r||n||this,a=Or(Wi(e),this._getStoreDimIndex,this),o=uo(this);return o._store=this._store.map(a,i?ye(t,i):t),o},A.prototype.modify=function(e,t,r,n){var i=this,a=r||n||this;process.env.NODE_ENV!=="production"&&b(Wi(e),function(s){var l=i.getDimensionInfo(s);l.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var o=Or(Wi(e),this._getStoreDimIndex,this);this._store.modify(o,a?ye(t,a):t)},A.prototype.downSample=function(e,t,r,n){var i=uo(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,r,n),i},A.prototype.minmaxDownSample=function(e,t){var r=uo(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),t),r},A.prototype.lttbDownSample=function(e,t){var r=uo(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),r},A.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},A.prototype.getItemModel=function(e){var t=this.hostModel,r=this.getRawDataItem(e);return new je(r,t,t&&t.ecModel)},A.prototype.diff=function(e){var t=this;return new RT(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(r){return ru(e,r)},function(r){return ru(t,r)})},A.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},A.prototype.setVisual=function(e,t){this._visual=this._visual||{},so(e)?W(this._visual,e):this._visual[e]=t},A.prototype.getItemVisual=function(e,t){var r=this._itemVisuals[e],n=r&&r[t];return n??this.getVisual(t)},A.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},A.prototype.ensureUniqueItemVisual=function(e,t){var r=this._itemVisuals,n=r[e];n||(n=r[e]={});var i=n[t];return i==null&&(i=this.getVisual(t),ie(i)?i=i.slice():so(i)&&(i=W({},i)),n[t]=i),i},A.prototype.setItemVisual=function(e,t,r){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,so(t)?W(n,t):n[t]=r},A.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},A.prototype.setLayout=function(e,t){so(e)?W(this._layout,e):this._layout[e]=t},A.prototype.getLayout=function(e){return this._layout[e]},A.prototype.getItemLayout=function(e){return this._itemLayouts[e]},A.prototype.setItemLayout=function(e,t,r){this._itemLayouts[e]=r?W(this._itemLayouts[e]||{},t):t},A.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},A.prototype.setItemGraphicEl=function(e,t){var r=this.hostModel&&this.hostModel.seriesIndex;ZE(r,this.dataType,e,t),this._graphicEls[e]=t},A.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},A.prototype.eachItemGraphicEl=function(e,t){b(this._graphicEls,function(r,n){r&&e&&e.call(t,r,n)})},A.prototype.cloneShallow=function(e){return e||(e=new A(this._schema?this._schema:Or(this.dimensions,this._getDimInfo,this),this.hostModel)),Ev(e,this),e._store=this._store,e},A.prototype.wrapMethod=function(e,t){var r=this[e];me(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=r.apply(this,arguments);return t.apply(this,[n].concat(bf(arguments)))})},A.internalField=(function(){rw=function(e){var t=e._invertedIndicesMap;b(t,function(r,n){var i=e._dimInfos[n],a=i.ordinalMeta,o=e._store;if(a){r=t[n]=new zT(a.categories.length);for(var s=0;s<r.length;s++)r[s]=Aw;for(var s=0;s<o.count();s++)r[o.get(i.storeDimIndex,s)]=s}})},lo=function(e,t,r){return kA(e._getCategory(t,r),null)},ru=function(e,t){var r=e._idList[t];return r==null&&e._idDimIdx!=null&&(r=lo(e,e._idDimIdx,t)),r==null&&(r=WT+t),r},Wi=function(e){return ie(e)||(e=e!=null?[e]:[]),e},uo=function(e){var t=new A(e._schema?e._schema:Or(e.dimensions,e._getDimInfo,e),e.hostModel);return Ev(t,e),t},Ev=function(e,t){b(YT.concat(t.__wrappedMethods||[]),function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e.__wrappedMethods=t.__wrappedMethods,b(XT,function(r){e[r]=Se(t[r])}),e._calculationInfo=W({},t._calculationInfo)},bv=function(e,t){var r=e._nameList,n=e._idList,i=e._nameDimIdx,a=e._idDimIdx,o=r[t],s=n[t];if(o==null&&i!=null&&(r[t]=o=lo(e,i,t)),s==null&&a!=null&&(n[t]=s=lo(e,a,t)),s==null&&o!=null){var l=e._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),n[t]=s}}})(),A})();function JT(A,e){Yh(A)||(A=vm(A)),e=e||{};var t=e.coordDimensions||[],r=e.dimensionsDefine||A.dimensionsDefine||[],n=we(),i=[],a=$T(A,t,r,e.dimensionsCount),o=e.canOmitUnusedDimensions&&tw(a),s=r===A.dimensionsDefine,l=s?ew(A):jy(r),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(A,a));for(var f=we(u),c=new Um(a),h=0;h<c.length;h++)c[h]=-1;function v(F){var S=c[F];if(S<0){var E=r[F],I=ve(E)?E:{name:E},U=new Au,T=I.name;T!=null&&l.get(T)!=null&&(U.name=U.displayName=T),I.type!=null&&(U.type=I.type),I.displayName!=null&&(U.displayName=I.displayName);var H=i.length;return c[F]=H,U.storeDimIndex=F,i.push(U),U}return i[S]}if(!o)for(var h=0;h<a;h++)v(h);f.each(function(F,S){var E=Dt(F).slice();if(E.length===1&&!ue(E[0])&&E[0]<0){f.set(S,!1);return}var I=f.set(S,[]);b(E,function(U,T){var H=ue(U)?l.get(U):U;H!=null&&H<a&&(I[T]=H,g(v(H),S,T))})});var d=0;b(t,function(F){var S,E,I,U;if(ue(F))S=F,U={};else{U=F,S=U.name;var T=U.ordinalMeta;U.ordinalMeta=null,U=W({},U),U.ordinalMeta=T,E=U.dimsDef,I=U.otherDims,U.name=U.coordDim=U.coordDimIndex=U.dimsDef=U.otherDims=null}var H=f.get(S);if(H!==!1){if(H=Dt(H),!H.length)for(var P=0;P<(E&&E.length||1);P++){for(;d<a&&v(d).coordDim!=null;)d++;d<a&&H.push(d++)}b(H,function(Z,K){var Y=v(Z);if(s&&U.type!=null&&(Y.type=U.type),g(Oe(Y,U),S,K),Y.name==null&&E){var ee=E[K];!ve(ee)&&(ee={name:ee}),Y.name=Y.displayName=ee.name,Y.defaultTooltip=ee.defaultTooltip}I&&Oe(Y.otherDims,I)})}});function g(F,S,E){kh.get(S)!=null?F.otherDims[S]=E:(F.coordDim=S,F.coordDimIndex=E,n.set(S,!0))}var p=e.generateCoord,B=e.generateCoordCount,m=B!=null;B=p?B||1:0;var y=p||"value";function _(F){F.name==null&&(F.name=F.coordDim)}if(o)b(i,function(F){_(F)}),i.sort(function(F,S){return F.storeDimIndex-S.storeDimIndex});else for(var C=0;C<a;C++){var Q=v(C),x=Q.coordDim;x==null&&(Q.coordDim=jT(y,n,m),Q.coordDimIndex=0,(!p||B<=0)&&(Q.isExtraCoord=!0),B--),_(Q),Q.type==null&&(jB(A,C)===qt.Must||Q.isExtraCoord&&(Q.otherDims.itemName!=null||Q.otherDims.seriesName!=null))&&(Q.type="ordinal")}return qT(i),new qy({source:A,dimensions:i,fullDimensionCount:a,dimensionOmitted:o})}function qT(A){for(var e=we(),t=0;t<A.length;t++){var r=A[t],n=r.name,i=e.get(n)||0;i>0&&(r.name=n+(i-1)),i++,e.set(n,i)}}function $T(A,e,t,r){var n=Math.max(A.dimensionsDetectedCount||1,e.length,t.length,r||0);return b(e,function(i){var a;ve(i)&&(a=i.dimsDef)&&(n=Math.max(n,a.length))}),n}function jT(A,e,t){if(t||e.hasKey(A)){for(var r=0;e.hasKey(A+r);)r++;A+=r}return e.set(A,!0),A}var eD=(function(){function A(e){this.coordSysDims=[],this.axisMap=we(),this.categoryAxisMap=we(),this.coordSysName=e}return A})();function tD(A){var e=A.get("coordinateSystem"),t=new eD(e),r=AD[e];if(r)return r(A,t,t.axisMap,t.categoryAxisMap),t}var AD={cartesian2d:function(A,e,t,r){var n=A.getReferringComponents("xAxis",Lt).models[0],i=A.getReferringComponents("yAxis",Lt).models[0];if(process.env.NODE_ENV!=="production"){if(!n)throw new Error('xAxis "'+ii(A.get("xAxisIndex"),A.get("xAxisId"),0)+'" not found');if(!i)throw new Error('yAxis "'+ii(A.get("xAxisIndex"),A.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],t.set("x",n),t.set("y",i),Yi(n)&&(r.set("x",n),e.firstCategoryDimIndex=0),Yi(i)&&(r.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(A,e,t,r){var n=A.getReferringComponents("singleAxis",Lt).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],t.set("single",n),Yi(n)&&(r.set("single",n),e.firstCategoryDimIndex=0)},polar:function(A,e,t,r){var n=A.getReferringComponents("polar",Lt).models[0],i=n.findAxisModel("radiusAxis"),a=n.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!a)throw new Error("angleAxis option not found");if(!i)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],t.set("radius",i),t.set("angle",a),Yi(i)&&(r.set("radius",i),e.firstCategoryDimIndex=0),Yi(a)&&(r.set("angle",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(A,e,t,r){e.coordSysDims=["lng","lat"]},parallel:function(A,e,t,r){var n=A.ecModel,i=n.getComponent("parallel",A.get("parallelIndex")),a=e.coordSysDims=i.dimensions.slice();b(i.parallelAxisIndex,function(o,s){var l=n.getComponent("parallelAxis",o),u=a[s];t.set(u,l),Yi(l)&&(r.set(u,l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=s))})},matrix:function(A,e,t,r){var n=A.getReferringComponents("matrix",Lt).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("matrix coordinate system should be specified.");e.coordSysDims=["x","y"];var i=n.getDimensionModel("x"),a=n.getDimensionModel("y");t.set("x",i),t.set("y",a),r.set("x",i),r.set("y",a)}};function Yi(A){return A.get("type")==="category"}function rD(A,e,t){t=t||{};var r=t.byIndex,n=t.stackedCoordDimension,i,a,o;nD(e)?i=e:(a=e.schema,i=a.dimensions,o=e.store);var s=!!(A&&A.get("stack")),l,u,f,c;if(b(i,function(B,m){ue(B)&&(i[m]=B={name:B}),s&&!B.isExtraCoord&&(!r&&!l&&B.ordinalMeta&&(l=B),!u&&B.type!=="ordinal"&&B.type!=="time"&&(!n||n===B.coordDim)&&(u=B))}),u&&!r&&!l&&(r=!0),u){f="__\0ecstackresult_"+A.id,c="__\0ecstackedover_"+A.id,l&&(l.createInvertedIndices=!0);var h=u.coordDim,v=u.type,d=0;b(i,function(B){B.coordDim===h&&d++});var g={name:f,coordDim:h,coordDimIndex:d,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},p={name:c,coordDim:c,coordDimIndex:d+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};a?(o&&(g.storeDimIndex=o.ensureCalculationDimension(c,v),p.storeDimIndex=o.ensureCalculationDimension(f,v)),a.appendCalculationDimension(g),a.appendCalculationDimension(p)):(i.push(g),i.push(p))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:r,stackedOverDimension:c,stackResultDimension:f}}function nD(A){return!$y(A.schema)}function Xi(A,e){return!!e&&e===A.getCalculationInfo("stackedDimension")}function iD(A,e){return Xi(A,e)?A.getCalculationInfo("stackResultDimension"):e}function aD(A,e){var t=A.get("coordinateSystem"),r=Oh.get(t),n;return e&&e.coordSysDims&&(n=Be(e.coordSysDims,function(i){var a={name:i},o=e.axisMap.get(i);if(o){var s=o.get("type");a.type=kT(s)}return a})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function oD(A,e,t){var r,n;return t&&b(A,function(i,a){var o=i.coordDim,s=t.categoryAxisMap.get(o);s&&(r==null&&(r=a),i.ordinalMeta=s.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&r!=null&&(A[r].otherDims.itemName=0),r}function Sv(A,e,t){t=t||{};var r=e.getSourceManager(),n,i=!1;n=r.getSource(),i=n.sourceFormat===Jt;var a=tD(e),o=aD(e,a),s=t.useEncodeDefaulter,l=me(s)?s:s?nt(JS,o,e):null,u={coordDimensions:o,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!i},f=JT(n,u),c=oD(f.dimensions,t.createInvertedIndices,a),h=i?null:r.getSharedDataStore(f),v=rD(e,{schema:f,store:h}),d=new ZT(f,e);d.setCalculationInfo(v);var g=c!=null&&sD(n)?function(p,B,m,y){return y===c?m:this.defaultDimValueGetter(p,B,m,y)}:null;return d.hasItemOption=!1,d.initData(i?n:h,null,g),d}function sD(A){if(A.sourceFormat===Jt){var e=lD(A.data||[]);return!ie(Sa(e))}}function lD(A){for(var e=0;e<A.length&&A[e]==null;)e++;return A[e]}function uD(A){var e=Math.pow(10,Us(Math.abs(A))),t=Math.abs(A/e);return t===0||t===1||t===2||t===3||t===5}function Uv(A){return A.type==="interval"||A.type==="log"}function fD(A,e,t,r,n){var i={},a=i.interval=Ng(e/t);r!=null&&a<r&&(a=i.interval=r),n!=null&&a>n&&(a=i.interval=n);var o=i.intervalPrecision=fo(a),s=i.niceTickExtent=[yt(Math.ceil(A[0]/a)*a,o),yt(Math.floor(A[1]/a)*a,o)];return cD(s,A),i}function Iv(A){var e=Math.pow(10,Us(A)),t=A/e;return t?t===2?t=3:t===3?t=5:t*=2:t=1,yt(t*e)}function fo(A){return ir(A)+2}function nw(A,e,t){A[e]=Math.max(Math.min(A[e],t[1]),t[0])}function cD(A,e){!isFinite(A[0])&&(A[0]=e[0]),!isFinite(A[1])&&(A[1]=e[1]),nw(A,0,e),nw(A,1,e),A[0]>A[1]&&(A[0]=A[1])}function Tv(A,e){return A>=e[0]&&A<=e[1]}var hD=(function(){function A(){this.normalize=iw,this.scale=aw}return A.prototype.updateMethods=function(e){e.hasBreaks()?(this.normalize=ye(e.normalize,e),this.scale=ye(e.scale,e)):(this.normalize=iw,this.scale=aw)},A})();function iw(A,e){return e[1]===e[0]?.5:(A-e[0])/(e[1]-e[0])}function aw(A,e){return A*(e[1]-e[0])+e[0]}function Dv(A,e,t){var r=Math.log(A);return[Math.log(t?e[0]:Math.max(0,e[0]))/r,Math.log(t?e[1]:Math.max(0,e[1]))/r]}var Rr=(function(){function A(e){this._calculator=new hD,this._setting=e||{},this._extent=[1/0,-1/0]}return A.prototype.getSetting=function(e){return this._setting[e]},A.prototype._innerUnionExtent=function(e){var t=this._extent;this._innerSetExtent(e[0]<t[0]?e[0]:t[0],e[1]>t[1]?e[1]:t[1])},A.prototype.unionExtentFromData=function(e,t){this._innerUnionExtent(e.getApproximateExtent(t))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.setExtent=function(e,t){this._innerSetExtent(e,t)},A.prototype._innerSetExtent=function(e,t){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(t)||(r[1]=t),this._brkCtx&&this._brkCtx.update(r)},A.prototype.setBreaksFromOption=function(e){},A.prototype._innerSetBreak=function(e){this._brkCtx&&(this._brkCtx.setBreaks(e),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},A.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},A.prototype.hasBreaks=function(){return this._brkCtx?this._brkCtx.hasBreaks():!1},A.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},A.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},A.prototype.isBlank=function(){return this._isBlank},A.prototype.setBlank=function(e){this._isBlank=e},A})();Ls(Rr);var vD=0,Lv=(function(){function A(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++vD,this._onCollect=e.onCollect}return A.createByAxisModel=function(e){var t=e.option,r=t.data,n=r&&Be(r,dD);return new A({categories:n,needCollect:!n,deduplication:t.dedplication!==!1})},A.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},A.prototype.parseAndCollect=function(e){var t,r=this._needCollect;if(!ue(e)&&!r)return e;if(r&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,this._onCollect&&this._onCollect(e,t),t;var n=this._getOrCreateMap();return t=n.get(e),t==null&&(r?(t=this.categories.length,this.categories[t]=e,n.set(e,t),this._onCollect&&this._onCollect(e,t)):t=NaN),t},A.prototype._getOrCreateMap=function(){return this._map||(this._map=we(this.categories))},A})();function dD(A){return ve(A)&&A.value!=null?A.value:A+""}var ow=(function(A){X(e,A);function e(t){var r=A.call(this,t)||this;r.type="ordinal";var n=r.getSetting("ordinalMeta");return n||(n=new Lv({})),ie(n)&&(n=new Lv({categories:Be(n,function(i){return ve(i)?i.value:i})})),r._ordinalMeta=n,r._extent=r.getSetting("extent")||[0,n.categories.length-1],r}return e.prototype.parse=function(t){return t==null?NaN:ue(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Tv(t,this._extent)&&t>=0&&t<this._ordinalMeta.categories.length},e.prototype.normalize=function(t){return t=this._getTickNumber(t),this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(this._calculator.scale(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],r=this._extent,n=r[0];n<=r[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(t==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],a=0,o=this._ordinalMeta.categories.length,s=Math.min(o,r.length);a<s;++a){var l=r[a];n[a]=l,i[l]=a}for(var u=0;a<o;++a){for(;i[u]!=null;)u++;n.push(u),i[u]=a}},e.prototype._getTickNumber=function(t){var r=this._ticksByOrdinalNumber;return r&&t>=0&&t<r.length?r[t]:t},e.prototype.getRawOrdinalNumber=function(t){var r=this._ordinalNumbersByTick;return r&&t>=0&&t<r.length?r[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var r=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[r];return n==null?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e})(Rr);Rr.registerClass(ow);var Nr=yt,Zi=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return e.prototype.parse=function(t){return t==null||t===""?NaN:Number(t)},e.prototype.contain=function(t){return Tv(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=fo(t)},e.prototype.getTicks=function(t){t=t||{};var r=this._interval,n=this._extent,i=this._niceExtent,a=this._intervalPrecision,o=yl(),s=[];if(!r)return s;t.breakTicks;var l=1e4;n[0]<i[0]&&(t.expandToNicedExtent?s.push({value:Nr(i[0]-r,a)}):s.push({value:n[0]}));for(var u=function(v,d){return Math.round((d-v)/r)},f=i[0];f<=i[1];){if(s.push({value:f}),f=Nr(f+r,a),this._brkCtx){var c=this._brkCtx.calcNiceTickMultiple(f,u);c>=0&&(f=Nr(f+c*r,a))}if(s.length>0&&f===s[s.length-1].value)break;if(s.length>l)return[]}var h=s.length?s[s.length-1].value:i[1];return n[1]>h&&(t.expandToNicedExtent?s.push({value:Nr(h+r,a)}):s.push({value:n[1]})),t.breakTicks,s},e.prototype.getMinorTicks=function(t){for(var r=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),a=1;a<r.length;a++){var o=r[a],s=r[a-1];if(!(s.break||o.break)){for(var l=0,u=[],f=o.value-s.value,c=f/t,h=fo(c);l<t-1;){var v=Nr(s.value+(l+1)*c,h);v>i[0]&&v<i[1]&&u.push(v),l++}var d=yl();d&&d.pruneTicksByBreak("auto",u,this._getNonTransBreaks(),function(g){return g},this._interval,i),n.push(u)}}return n},e.prototype._getNonTransBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},e.prototype.getLabel=function(t,r){if(t==null)return"";var n=r&&r.precision;n==null?n=ir(t.value)||0:n==="auto"&&(n=this._intervalPrecision);var i=Nr(t.value,n,!0);return VB(i)},e.prototype.calcNiceTicks=function(t,r,n){t=t||5;var i=this._extent.slice(),a=this._getExtentSpanWithBreaks();if(isFinite(a)){a<0&&(a=-a,i.reverse(),this._innerSetExtent(i[0],i[1]),i=this._extent.slice());var o=fD(i,a,t,r,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var r=this._extent.slice();if(r[0]===r[1])if(r[0]!==0){var n=Math.abs(r[0]);t.fixMax||(r[1]+=n/2),r[0]-=n/2}else r[1]=1;var i=r[1]-r[0];isFinite(i)||(r[0]=0,r[1]=1),this._innerSetExtent(r[0],r[1]),r=this._extent.slice(),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval,o=this._intervalPrecision;t.fixMin||(r[0]=Nr(Math.floor(r[0]/a)*a,o)),t.fixMax||(r[1]=Nr(Math.ceil(r[1]/a)*a,o)),this._innerSetExtent(r[0],r[1])},e.prototype.setNiceExtent=function(t,r){this._niceExtent=[t,r]},e.type="interval",e})(Rr);Rr.registerClass(Zi);var sw=typeof Float32Array<"u",pD=sw?Float32Array:Array;function hr(A){return ie(A)?sw?new Float32Array(A):A:new pD(A)}var gD="__ec_stack_";function lw(A){return A.get("stack")||gD+A.seriesIndex}function Mv(A){return A.dim+A.index}function uw(A,e){var t=[];return e.eachSeriesByType(A,function(r){cw(r)&&t.push(r)}),t}function BD(A){var e={};b(A,function(s){var l=s.coordinateSystem,u=l.getBaseAxis();if(!(u.type!=="time"&&u.type!=="value"))for(var f=s.getData(),c=u.dim+"_"+u.index,h=f.getDimensionIndex(f.mapDimension(u.dim)),v=f.getStore(),d=0,g=v.count();d<g;++d){var p=v.get(h,d);e[c]?e[c].push(p):e[c]=[p]}});var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(n){n.sort(function(s,l){return s-l});for(var i=null,a=1;a<n.length;++a){var o=n[a]-n[a-1];o>0&&(i=i===null?o:Math.min(i,o))}t[r]=i}}return t}function fw(A){var e=BD(A),t=[];return b(A,function(r){var n=r.coordinateSystem,i=n.getBaseAxis(),a=i.getExtent(),o;if(i.type==="category")o=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var s=i.dim+"_"+i.index,l=e[s],u=Math.abs(a[1]-a[0]),f=i.scale.getExtent(),c=Math.abs(f[1]-f[0]);o=l?u/c*l:u}else{var h=r.getData();o=Math.abs(a[1]-a[0])/h.count()}var v=ct(r.get("barWidth"),o),d=ct(r.get("barMaxWidth"),o),g=ct(r.get("barMinWidth")||(hw(r)?.5:1),o),p=r.get("barGap"),B=r.get("barCategoryGap"),m=r.get("defaultBarGap");t.push({bandWidth:o,barWidth:v,barMaxWidth:d,barMinWidth:g,barGap:p,barCategoryGap:B,defaultBarGap:m,axisKey:Mv(i),stackId:lw(r)})}),mD(t)}function mD(A){var e={};b(A,function(r,n){var i=r.axisKey,a=r.bandWidth,o=e[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:r.defaultBarGap||0,stacks:{}},s=o.stacks;e[i]=o;var l=r.stackId;s[l]||o.autoWidthCount++,s[l]=s[l]||{width:0,maxWidth:0};var u=r.barWidth;u&&!s[l].width&&(s[l].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var f=r.barMaxWidth;f&&(s[l].maxWidth=f);var c=r.barMinWidth;c&&(s[l].minWidth=c);var h=r.barGap;h!=null&&(o.gap=h);var v=r.barCategoryGap;v!=null&&(o.categoryGap=v)});var t={};return b(e,function(r,n){t[n]={};var i=r.stacks,a=r.bandWidth,o=r.categoryGap;if(o==null){var s=Ye(i).length;o=Math.max(35-s*4,15)+"%"}var l=ct(o,a),u=ct(r.gap,1),f=r.remainedWidth,c=r.autoWidthCount,h=(f-l)/(c+(c-1)*u);h=Math.max(h,0),b(i,function(p){var B=p.maxWidth,m=p.minWidth;if(p.width){var y=p.width;B&&(y=Math.min(y,B)),m&&(y=Math.max(y,m)),p.width=y,f-=y+u*y,c--}else{var y=h;B&&B<y&&(y=Math.min(B,f)),m&&m>y&&(y=m),y!==h&&(p.width=y,f-=y+u*y,c--)}}),h=(f-l)/(c+(c-1)*u),h=Math.max(h,0);var v=0,d;b(i,function(p,B){p.width||(p.width=h),d=p,v+=p.width*(1+u)}),d&&(v-=d.width*u);var g=-v/2;b(i,function(p,B){t[n][B]=t[n][B]||{bandWidth:a,offset:g,width:p.width},g+=p.width*(1+u)})}),t}function yD(A,e,t){if(A&&e){var r=A[Mv(e)];return r}}function wD(A,e){var t=uw(A,e),r=fw(t);b(t,function(n){var i=n.getData(),a=n.coordinateSystem,o=a.getBaseAxis(),s=lw(n),l=r[Mv(o)][s],u=l.offset,f=l.width;i.setLayout({bandWidth:l.bandWidth,offset:u,size:f})})}function CD(A){return{seriesType:A,plan:rv(),reset:function(e){if(cw(e)){var t=e.getData(),r=e.coordinateSystem,n=r.getBaseAxis(),i=r.getOtherAxis(n),a=t.getDimensionIndex(t.mapDimension(i.dim)),o=t.getDimensionIndex(t.mapDimension(n.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),f=Xi(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),c=i.isHorizontal(),h=_D(n,i),v=hw(e),d=e.get("barMinHeight")||0,g=u&&t.getDimensionIndex(u),p=t.getLayout("size"),B=t.getLayout("offset");return{progress:function(m,y){for(var _=m.count,C=v&&hr(_*3),Q=v&&s&&hr(_*3),x=v&&hr(_),F=r.master.getRect(),S=c?F.width:F.height,E,I=y.getStore(),U=0;(E=m.next())!=null;){var T=I.get(f?g:a,E),H=I.get(o,E),P=h,Z=void 0;f&&(Z=+T-I.get(a,E));var K=void 0,Y=void 0,ee=void 0,D=void 0;if(c){var M=r.dataToPoint([T,H]);if(f){var L=r.dataToPoint([Z,H]);P=L[0]}K=P,Y=M[1]+B,ee=M[0]-P,D=p,Math.abs(ee)<d&&(ee=(ee<0?-1:1)*d)}else{var M=r.dataToPoint([H,T]);if(f){var L=r.dataToPoint([H,Z]);P=L[1]}K=M[0]+B,Y=P,ee=p,D=M[1]-P,Math.abs(D)<d&&(D=(D<=0?-1:1)*d)}v?(C[U]=K,C[U+1]=Y,C[U+2]=c?ee:D,Q&&(Q[U]=c?F.x:K,Q[U+1]=c?Y:F.y,Q[U+2]=S),x[E]=E):y.setItemLayout(E,{x:K,y:Y,width:ee,height:D}),U+=3}v&&y.setLayout({largePoints:C,largeDataIndices:x,largeBackgroundPoints:Q,valueAxisHorizontal:c})}}}}}}function cw(A){return A.coordinateSystem&&A.coordinateSystem.type==="cartesian2d"}function hw(A){return A.pipelineContext&&A.pipelineContext.large}function _D(A,e){var t=e.model.get("startValue");return t||(t=0),e.toGlobalCoord(e.dataToCoord(e.type==="log"?t>0?t:1:t))}var QD=function(A,e,t,r){for(;t<r;){var n=t+r>>>1;A[n][1]<e?t=n+1:r=n}return t},vw=(function(A){X(e,A);function e(t){var r=A.call(this,t)||this;return r.type="time",r}return e.prototype.getLabel=function(t){var r=this.getSetting("useUTC");return _l(t.value,LB[DS(za(this._minLevelUnit))]||LB.second,r,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,r,n){var i=this.getSetting("useUTC"),a=this.getSetting("locale");return LS(t,r,n,a,i)},e.prototype.getTicks=function(t){var r=this._interval,n=this._extent,i=[];if(!r)return i;var a=this.getSetting("useUTC"),o=Ql(n[1],a);i.push({value:n[0],time:{level:0,upperTimeUnit:o,lowerTimeUnit:o}});var s=TD(this._minLevelUnit,this._approxInterval,a,n,this._getExtentSpanWithBreaks(),this._brkCtx);i=i.concat(s);var l=Ql(n[1],a);i.push({value:n[1],time:{level:0,upperTimeUnit:l,lowerTimeUnit:l}}),this.getSetting("useUTC");var u=In.length-1,f=0;return b(i,function(c){u=Math.min(u,Ie(In,c.time.upperTimeUnit)),f=Math.max(f,c.time.level)}),i},e.prototype.calcNiceExtent=function(t){var r=this.getExtent();if(r[0]===r[1]&&(r[0]-=uA,r[1]+=uA),r[1]===-1/0&&r[0]===1/0){var n=new Date;r[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),r[0]=r[1]-uA}this._innerSetExtent(r[0],r[1]),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,r,n){t=t||10;var i=this._getExtentSpanWithBreaks();this._approxInterval=i/t,r!=null&&this._approxInterval<r&&(this._approxInterval=r),n!=null&&this._approxInterval>n&&(this._approxInterval=n);var a=nu.length,o=Math.min(QD(nu,this._approxInterval,0,a),a-1);this._interval=nu[o][1],this._intervalPrecision=fo(this._interval),this._minLevelUnit=nu[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return We(t)?t:+Ci(t)},e.prototype.contain=function(t){return Tv(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.type="time",e})(Zi),nu=[["second",xh],["minute",Fh],["hour",Ga],["quarter-day",Ga*6],["half-day",Ga*12],["day",uA*1.2],["half-week",uA*3.5],["week",uA*7],["month",uA*31],["quarter",uA*95],["half-year",DB/2],["year",DB]];function xD(A,e,t,r){return Eh(new Date(e),A,r).getTime()===Eh(new Date(t),A,r).getTime()}function FD(A,e){return A/=uA,A>16?16:A>7.5?7:A>3.5?4:A>1.5?2:1}function ED(A){var e=30*uA;return A/=e,A>6?6:A>3?3:A>2?2:1}function bD(A){return A/=Ga,A>12?12:A>6?6:A>3.5?4:A>2?2:1}function dw(A,e){return A/=e?Fh:xh,A>30?30:A>20?20:A>15?15:A>10?10:A>5?5:A>2?2:1}function SD(A){return Ng(A)}function UD(A,e,t){var r=Math.max(0,Ie(In,e)-1);return Eh(new Date(A),In[r],t).getTime()}function ID(A,e){var t=new Date(0);t[A](1);var r=t.getTime();t[A](1+e);var n=t.getTime()-r;return function(i,a){return Math.max(0,Math.round((a-i)/n))}}function TD(A,e,t,r,n,i){var a=1e4,o=SS,s=0;function l(U,T,H,P,Z,K,Y){for(var ee=ID(Z,U),D=T,M=new Date(D);D<H&&D<=r[1];){if(Y.push({value:D}),s++>a){process.env.NODE_ENV!=="production"&&Qt("Exceed safe limit in time scale.");break}if(M[Z](M[P]()+U),D=M.getTime(),i){var L=i.calcNiceTickMultiple(D,ee);L>0&&(M[Z](M[P]()+L*U),D=M.getTime())}}Y.push({value:D,notAdd:!0})}function u(U,T,H){var P=[],Z=!T.length;if(!xD(za(U),r[0],r[1],t)){Z&&(T=[{value:UD(r[0],U,t)},{value:r[1]}]);for(var K=0;K<T.length-1;K++){var Y=T[K].value,ee=T[K+1].value;if(Y!==ee){var D=void 0,M=void 0,L=void 0,k=!1;switch(U){case"year":D=Math.max(1,Math.round(e/uA/365)),M=MB(t),L=MS(t);break;case"half-year":case"quarter":case"month":D=ED(e),M=bh(t),L=HB(t);break;case"week":case"half-week":case"day":D=FD(e),M=Sh(t),L=OB(t),k=!0;break;case"half-day":case"quarter-day":case"hour":D=bD(e),M=Uh(t),L=RB(t);break;case"minute":D=dw(e,!0),M=Ih(t),L=NB(t);break;case"second":D=dw(e,!1),M=Th(t),L=PB(t);break;case"millisecond":D=SD(e),M=Dh(t),L=kB(t);break}ee>=r[0]&&Y<=r[1]&&l(D,Y,ee,M,L,k,P),U==="year"&&H.length>1&&K===0&&H.unshift({value:H[0].value-D})}}for(var K=0;K<P.length;K++)H.push(P[K])}}for(var f=[],c=[],h=0,v=0,d=0;d<o.length;++d){var g=za(o[d]);if(TS(o[d])){u(o[d],f[f.length-1]||[],c);var p=o[d+1]?za(o[d+1]):null;if(g!==p){if(c.length){v=h,c.sort(function(U,T){return U.value-T.value});for(var B=[],m=0;m<c.length;++m){var y=c[m].value;(m===0||c[m-1].value!==y)&&(B.push(c[m]),y>=r[0]&&y<=r[1]&&h++)}var _=n/e;if(h>_*1.5&&v>_/1.5||(f.push(B),h>_||A===o[d]))break}c=[]}}}for(var C=rt(Be(f,function(U){return rt(U,function(T){return T.value>=r[0]&&T.value<=r[1]&&!T.notAdd})}),function(U){return U.length>0}),Q=[],x=C.length-1,d=0;d<C.length;++d)for(var F=C[d],S=0;S<F.length;++S){var E=Ql(F[S].value,t);Q.push({value:F[S].value,time:{level:x-d,upperTimeUnit:E,lowerTimeUnit:E}})}Q.sort(function(U,T){return U.value-T.value});for(var I=[],d=0;d<Q.length;++d)(d===0||Q[d].value!==Q[d-1].value)&&I.push(Q[d]);return I}Rr.registerClass(vw);var Hv=yt,DD=Math.floor,LD=Math.ceil,iu=Math.pow,au=Math.log,pw=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new Zi,t}return e.prototype.getTicks=function(t){t=t||{};var r=this._extent.slice(),n=this._originalScale.getExtent(),i=A.prototype.getTicks.call(this,t),a=this.base;return this._originalScale._innerGetBreaks(),Be(i,function(o){var s=o.value,l=null,u=iu(a,s);s===r[0]&&this._fixMin?l=n[0]:s===r[1]&&this._fixMax&&(l=n[1]);var f;return l!=null&&(u=Ov(u,l)),{value:u,break:f}},this)},e.prototype._getNonTransBreaks=function(){return this._originalScale._innerGetBreaks()},e.prototype.setExtent=function(t,r){this._originalScale.setExtent(t,r);var n=Dv(this.base,[t,r]);A.prototype.setExtent.call(this,n[0],n[1])},e.prototype.getExtent=function(){var t=this.base,r=A.prototype.getExtent.call(this);r[0]=iu(t,r[0]),r[1]=iu(t,r[1]);var n=this._originalScale.getExtent();return this._fixMin&&(r[0]=Ov(r[0],n[0])),this._fixMax&&(r[1]=Ov(r[1],n[1])),r},e.prototype.unionExtentFromData=function(t,r){this._originalScale.unionExtentFromData(t,r);var n=Dv(this.base,t.getApproximateExtent(r),!0);this._innerUnionExtent(n)},e.prototype.calcNiceTicks=function(t){t=t||10;var r=this._extent.slice(),n=this._getExtentSpanWithBreaks();if(!(!isFinite(n)||n<=0)){var i=TF(n),a=t/n*i;for(a<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[Hv(LD(r[0]/i)*i),Hv(DD(r[1]/i)*i)];this._interval=i,this._intervalPrecision=fo(i),this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){A.prototype.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.contain=function(t){return t=au(t)/au(this.base),A.prototype.contain.call(this,t)},e.prototype.normalize=function(t){return t=au(t)/au(this.base),A.prototype.normalize.call(this,t)},e.prototype.scale=function(t){return t=A.prototype.scale.call(this,t),iu(this.base,t)},e.prototype.setBreaksFromOption=function(t){},e.type="log",e})(Zi);function Ov(A,e){return Hv(A,ir(e))}Rr.registerClass(pw);var MD=(function(){function A(e,t,r){this._prepareParams(e,t,r)}return A.prototype._prepareParams=function(e,t,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var n=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=t.get("min",!0);i==null&&(i=t.get("startValue",!0));var a=this._modelMinRaw=i;me(a)?this._modelMinNum=ou(e,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=ou(e,a));var o=this._modelMaxRaw=t.get("max",!0);if(me(o)?this._modelMaxNum=ou(e,o({min:r[0],max:r[1]})):o!=="dataMax"&&(this._modelMaxNum=ou(e,o)),n)this._axisDataLen=t.getCategories().length;else{var s=t.get("boundaryGap"),l=ie(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[xr(l[0],1),xr(l[1],1)]}},A.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,r=this._dataMax,n=this._axisDataLen,i=this._boundaryGapInner,a=e?null:r-t||Math.abs(t),o=this._modelMinRaw==="dataMin"?t:this._modelMinNum,s=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,l=o!=null,u=s!=null;o==null&&(o=e?n?0:NaN:t-i[0]*a),s==null&&(s=e?n?n-1:NaN:r+i[1]*a),(o==null||!isFinite(o))&&(o=NaN),(s==null||!isFinite(s))&&(s=NaN);var f=ni(o)||ni(s)||e&&!n;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var c=this._determinedMin,h=this._determinedMax;return c!=null&&(o=c,l=!0),h!=null&&(s=h,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:f}},A.prototype.modifyDataMinMax=function(e,t){process.env.NODE_ENV!=="production"&&ce(!this.frozen),this[OD[e]]=t},A.prototype.setDeterminedMinMax=function(e,t){var r=HD[e];process.env.NODE_ENV!=="production"&&ce(!this.frozen&&this[r]==null),this[r]=t},A.prototype.freeze=function(){this.frozen=!0},A})(),HD={min:"_determinedMin",max:"_determinedMax"},OD={min:"_dataMin",max:"_dataMax"};function gw(A,e,t){var r=A.rawExtentInfo;return r||(r=new MD(A,e,t),A.rawExtentInfo=r,r)}function ou(A,e){return e==null?null:ni(e)?NaN:A.parse(e)}function Bw(A,e){var t=A.type,r=gw(A,e,A.getExtent()).calculate();A.setBlank(r.isBlank);var n=r.min,i=r.max,a=e.ecModel;if(a&&t==="time"){var o=uw("bar",a),s=!1;if(b(o,function(f){s=s||f.getBaseAxis()===e.axis}),s){var l=fw(o),u=RD(n,i,e,l);n=u.min,i=u.max}}return{extent:[n,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function RD(A,e,t,r){var n=t.axis.getExtent(),i=Math.abs(n[1]-n[0]),a=yD(r,t.axis);if(a===void 0)return{min:A,max:e};var o=1/0;b(a,function(h){o=Math.min(h.offset,o)});var s=-1/0;b(a,function(h){s=Math.max(h.offset+h.width,s)}),o=Math.abs(o),s=Math.abs(s);var l=o+s,u=e-A,f=1-(o+s)/i,c=u/f-u;return e+=c*(s/l),A-=c*(o/l),{min:A,max:e}}function mw(A,e){var t=e,r=Bw(A,t),n=r.extent,i=t.get("splitNumber");A instanceof pw&&(A.base=t.get("logBase"));var a=A.type,o=t.get("interval"),s=a==="interval"||a==="time";A.setBreaksFromOption(Cw(t)),A.setExtent(n[0],n[1]),A.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?t.get("minInterval"):null,maxInterval:s?t.get("maxInterval"):null}),o!=null&&A.setInterval&&A.setInterval(o)}function ND(A,e){if(e=e||A.get("type"),e)switch(e){case"category":return new ow({ordinalMeta:A.getOrdinalMeta?A.getOrdinalMeta():A.getCategories(),extent:[1/0,-1/0]});case"time":return new vw({locale:A.ecModel.getLocaleModel(),useUTC:A.ecModel.get("useUTC")});default:return new(Rr.getClass(e)||Zi)}}function PD(A){var e=A.scale.getExtent(),t=e[0],r=e[1];return!(t>0&&r>0||t<0&&r<0)}function co(A){var e=A.getLabelModel().get("formatter");if(A.type==="time"){var t=US(e);return function(n,i){return A.scale.getFormattedLabel(n,i,t)}}else{if(ue(e))return function(n){var i=A.scale.getLabel(n),a=e.replace("{value}",i??"");return a};if(me(e)){if(A.type==="category")return function(n,i){return e(su(A,n),n.value-A.scale.getExtent()[0],null)};var r=yl();return function(n,i){var a=null;return r&&(a=r.makeAxisLabelFormatterParamBreak(a,n.break)),e(su(A,n),i,a)}}else return function(n){return A.scale.getLabel(n)}}}function su(A,e){return A.type==="category"?A.scale.getLabel(e):e.value}function Rv(A){var e=A.get("interval");return e??"auto"}function yw(A){return A.type==="category"&&Rv(A.getLabelModel())===0}function ww(A,e){var t={};return b(A.mapDimensionsAll(e),function(r){t[iD(A,r)]=!0}),Ye(t)}function kD(A,e,t){e&&b(ww(e,t),function(r){var n=e.getApproximateExtent(r);n[0]<A[0]&&(A[0]=n[0]),n[1]>A[1]&&(A[1]=n[1])})}function Ji(A){return A==="middle"||A==="center"}function ho(A){return A.getShallow("show")}function Cw(A){var e=A.get("breaks",!0);if(e!=null){process.env.NODE_ENV!=="production"&&Ke('Must `import {AxisBreak} from "echarts/features.js"; use(AxisBreak);` first if using breaks option.');return}}var VD=(function(){function A(){}return A.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},A.prototype.getCoordSysModel=function(){},A})(),_w=[],KD={registerPreprocessor:Wy,registerProcessor:Yy,registerPostInit:TT,registerPostUpdate:DT,registerUpdateLifecycle:_v,registerAction:Vn,registerCoordinateSystem:LT,registerLayout:MT,registerVisual:Kn,registerTransform:OT,registerLoading:Zy,registerMap:HT,registerImpl:cT,PRIORITY:xT,ComponentModel:He,ComponentView:xA,SeriesModel:JA,ChartView:FA,registerComponentModel:function(A){He.registerClass(A)},registerComponentView:function(A){xA.registerClass(A)},registerSeriesModel:function(A){JA.registerClass(A)},registerChartView:function(A){FA.registerClass(A)},registerCustomSeries:function(A,e){},registerSubTypeDefaulter:function(A,e){He.registerSubTypeDefaulter(A,e)},registerPainter:function(A,e){EF(A,e)}};function qA(A){if(ie(A)){b(A,function(e){qA(e)});return}Ie(_w,A)>=0||(_w.push(A),me(A)&&(A={install:A}),A.install(KD))}var GD=Ge(),vo=Ge(),bA={estimate:1,determine:2};function lu(A){return{out:{noPxChangeTryDetermine:[]},kind:A}}function Qw(A,e){var t=Be(e,function(r){return A.scale.parse(r)});return A.type==="time"&&t.length>0&&(t.sort(),t.unshift(t[0]),t.push(t[t.length-1])),t}function zD(A,e){var t=A.getLabelModel().get("customValues");if(t){var r=co(A),n=A.scale.getExtent(),i=Qw(A,t),a=rt(i,function(o){return o>=n[0]&&o<=n[1]});return{labels:Be(a,function(o){var s={value:o};return{formattedLabel:r(s),rawLabel:A.scale.getLabel(s),tickValue:o,time:void 0,break:void 0}})}}return A.type==="category"?YD(A,e):ZD(A)}function WD(A,e,t){var r=A.getTickModel().get("customValues");if(r){var n=A.scale.getExtent(),i=Qw(A,r);return{ticks:rt(i,function(a){return a>=n[0]&&a<=n[1]})}}return A.type==="category"?XD(A,e):{ticks:Be(A.scale.getTicks(t),function(a){return a.value})}}function YD(A,e){var t=A.getLabelModel(),r=xw(A,t,e);return!t.get("show")||A.scale.isBlank()?{labels:[]}:r}function xw(A,e,t){var r=qD(A),n=Rv(e),i=t.kind===bA.estimate;if(!i){var a=Ew(r,n);if(a)return a}var o,s;me(n)?o=Uw(A,n):(s=n==="auto"?$D(A,t):n,o=Sw(A,s));var l={labels:o,labelCategoryInterval:s};return i?t.out.noPxChangeTryDetermine.push(function(){return Nv(r,n,l),!0}):Nv(r,n,l),l}function XD(A,e){var t=JD(A),r=Rv(e),n=Ew(t,r);if(n)return n;var i,a;if((!e.get("show")||A.scale.isBlank())&&(i=[]),me(r))i=Uw(A,r,!0);else if(r==="auto"){var o=xw(A,A.getLabelModel(),lu(bA.determine));a=o.labelCategoryInterval,i=Be(o.labels,function(s){return s.tickValue})}else a=r,i=Sw(A,a,!0);return Nv(t,r,{ticks:i,tickCategoryInterval:a})}function ZD(A){var e=A.scale.getTicks(),t=co(A);return{labels:Be(e,function(r,n){return{formattedLabel:t(r,n),rawLabel:A.scale.getLabel(r),tickValue:r.value,time:r.time,break:r.break}})}}var JD=Fw("axisTick"),qD=Fw("axisLabel");function Fw(A){return function(t){return vo(t)[A]||(vo(t)[A]={list:[]})}}function Ew(A,e){for(var t=0;t<A.list.length;t++)if(A.list[t].key===e)return A.list[t].value}function Nv(A,e,t){return A.list.push({key:e,value:t}),t}function $D(A,e){if(e.kind===bA.estimate){var t=A.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return vo(A).autoInterval=t,!0}),t}var r=vo(A).autoInterval;return r??(vo(A).autoInterval=A.calculateCategoryInterval(e))}function jD(A,e){var t=e.kind,r=tL(A),n=co(A),i=(r.axisRotate-r.labelRotate)/180*Math.PI,a=A.scale,o=a.getExtent(),s=a.count();if(o[1]-o[0]<1)return 0;var l=1,u=40;s>u&&(l=Math.max(1,Math.floor(s/u)));for(var f=o[0],c=A.dataToCoord(f+1)-A.dataToCoord(f),h=Math.abs(c*Math.cos(i)),v=Math.abs(c*Math.sin(i)),d=0,g=0;f<=o[1];f+=l){var p=0,B=0,m=Ig(n({value:f}),r.font,"center","top");p=m.width*1.3,B=m.height*1.3,d=Math.max(d,p,7),g=Math.max(g,B,7)}var y=d/h,_=g/v;isNaN(y)&&(y=1/0),isNaN(_)&&(_=1/0);var C=Math.max(0,Math.floor(Math.min(y,_)));if(t===bA.estimate)return e.out.noPxChangeTryDetermine.push(ye(eL,null,A,C,s)),C;var Q=bw(A,C,s);return Q??C}function eL(A,e,t){return bw(A,e,t)==null}function bw(A,e,t){var r=GD(A.model),n=A.getExtent(),i=r.lastAutoInterval,a=r.lastTickCount;if(i!=null&&a!=null&&Math.abs(i-e)<=1&&Math.abs(a-t)<=1&&i>e&&r.axisExtent0===n[0]&&r.axisExtent1===n[1])return i;r.lastTickCount=t,r.lastAutoInterval=e,r.axisExtent0=n[0],r.axisExtent1=n[1]}function tL(A){var e=A.getLabelModel();return{axisRotate:A.getRotate?A.getRotate():A.isHorizontal&&!A.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function Sw(A,e,t){var r=co(A),n=A.scale,i=n.getExtent(),a=A.getLabelModel(),o=[],s=Math.max((e||0)+1,1),l=i[0],u=n.count();l!==0&&s>1&&u/s>2&&(l=Math.round(Math.ceil(l/s)*s));var f=yw(A),c=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;c&&l!==i[0]&&d(i[0]);for(var v=l;v<=i[1];v+=s)d(v);h&&v-s!==i[1]&&d(i[1]);function d(g){var p={value:g};o.push(t?g:{formattedLabel:r(p),rawLabel:n.getLabel(p),tickValue:g,time:void 0,break:void 0})}return o}function Uw(A,e,t){var r=A.scale,n=co(A),i=[];return b(r.getTicks(),function(a){var o=r.getLabel(a),s=a.value;e(a.value,o)&&i.push(t?s:{formattedLabel:n(a),rawLabel:o,tickValue:s,time:void 0,break:void 0})}),i}var Iw=[0,1],AL=(function(){function A(e,t,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=r||[0,0]}return A.prototype.contain=function(e){var t=this._extent,r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=r&&e<=n},A.prototype.containData=function(e){return this.scale.contain(this.scale.parse(e))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.getPixelPrecision=function(e){return Og(e||this.scale.getExtent(),this._extent)},A.prototype.setExtent=function(e,t){var r=this._extent;r[0]=e,r[1]=t},A.prototype.dataToCoord=function(e,t){var r=this._extent,n=this.scale;return e=n.normalize(n.parse(e)),this.onBand&&n.type==="ordinal"&&(r=r.slice(),Tw(r,n.count())),vt(e,Iw,r,t)},A.prototype.coordToData=function(e,t){var r=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(r=r.slice(),Tw(r,n.count()));var i=vt(e,r,Iw,t);return this.scale.scale(i)},A.prototype.pointToData=function(e,t){},A.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),r=WD(this,t,{breakTicks:e.breakTicks,pruneByBreak:e.pruneByBreak}),n=r.ticks,i=Be(n,function(o){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(o):o),tickValue:o}},this),a=t.get("alignWithLabel");return rL(this,i,a,e.clamp),i},A.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var r=this.scale.getMinorTicks(t),n=Be(r,function(i){return Be(i,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return n},A.prototype.getViewLabels=function(e){return e=e||lu(bA.determine),zD(this,e).labels},A.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},A.prototype.getTickModel=function(){return this.model.getModel("axisTick")},A.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),r=t[1]-t[0]+(this.onBand?1:0);r===0&&(r=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/r},A.prototype.calculateCategoryInterval=function(e){return e=e||lu(bA.determine),jD(this,e)},A})();function Tw(A,e){var t=A[1]-A[0],r=e,n=t/r/2;A[0]+=n,A[1]-=n}function rL(A,e,t,r){var n=e.length;if(!A.onBand||t||!n)return;var i=A.getExtent(),a,o;if(n===1)e[0].coord=i[0],e[0].onBand=!0,a=e[1]={coord:i[1],tickValue:e[0].tickValue,onBand:!0};else{var s=e[n-1].tickValue-e[0].tickValue,l=(e[n-1].coord-e[0].coord)/s;b(e,function(h){h.coord-=l/2,h.onBand=!0});var u=A.scale.getExtent();o=1+u[1]-e[n-1].tickValue,a={coord:e[n-1].coord+l*o,tickValue:u[1]+1,onBand:!0},e.push(a)}var f=i[0]>i[1];c(e[0].coord,i[0])&&(r?e[0].coord=i[0]:e.shift()),r&&c(i[0],e[0].coord)&&e.unshift({coord:i[0],onBand:!0}),c(i[1],a.coord)&&(r?a.coord=i[1]:e.pop()),r&&c(a.coord,i[1])&&e.push({coord:i[1],onBand:!0});function c(h,v){return h=yt(h),v=yt(v),f?h>v:h<v}}var po=Math.PI*2,Gn=br.CMD,nL=["top","right","bottom","left"];function iL(A,e,t,r,n){var i=t.width,a=t.height;switch(A){case"top":r.set(t.x+i/2,t.y-e),n.set(0,-1);break;case"bottom":r.set(t.x+i/2,t.y+a+e),n.set(0,1);break;case"left":r.set(t.x-e,t.y+a/2),n.set(-1,0);break;case"right":r.set(t.x+i+e,t.y+a/2),n.set(1,0);break}}function aL(A,e,t,r,n,i,a,o,s){a-=A,o-=e;var l=Math.sqrt(a*a+o*o);a/=l,o/=l;var u=a*t+A,f=o*t+e;if(Math.abs(r-n)%po<1e-4)return s[0]=u,s[1]=f,l-t;if(i){var c=r;r=or(n),n=or(c)}else r=or(r),n=or(n);r>n&&(n+=po);var h=Math.atan2(o,a);if(h<0&&(h+=po),h>=r&&h<=n||h+po>=r&&h+po<=n)return s[0]=u,s[1]=f,l-t;var v=t*Math.cos(r)+A,d=t*Math.sin(r)+e,g=t*Math.cos(n)+A,p=t*Math.sin(n)+e,B=(v-a)*(v-a)+(d-o)*(d-o),m=(g-a)*(g-a)+(p-o)*(p-o);return B<m?(s[0]=v,s[1]=d,Math.sqrt(B)):(s[0]=g,s[1]=p,Math.sqrt(m))}function Pv(A,e,t,r,n,i,a,o){var s=n-A,l=i-e,u=t-A,f=r-e,c=Math.sqrt(u*u+f*f);u/=c,f/=c;var h=s*u+l*f,v=h/c;o&&(v=Math.min(Math.max(v,0),1)),v*=c;var d=a[0]=A+v*u,g=a[1]=e+v*f;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function Dw(A,e,t,r,n,i,a){t<0&&(A=A+t,t=-t),r<0&&(e=e+r,r=-r);var o=A+t,s=e+r,l=a[0]=Math.min(Math.max(n,A),o),u=a[1]=Math.min(Math.max(i,e),s);return Math.sqrt((l-n)*(l-n)+(u-i)*(u-i))}var SA=[];function oL(A,e,t){var r=Dw(e.x,e.y,e.width,e.height,A.x,A.y,SA);return t.set(SA[0],SA[1]),r}function sL(A,e,t){for(var r=0,n=0,i=0,a=0,o,s,l=1/0,u=e.data,f=A.x,c=A.y,h=0;h<u.length;){var v=u[h++];h===1&&(r=u[h],n=u[h+1],i=r,a=n);var d=l;switch(v){case Gn.M:i=u[h++],a=u[h++],r=i,n=a;break;case Gn.L:d=Pv(r,n,u[h],u[h+1],f,c,SA,!0),r=u[h++],n=u[h++];break;case Gn.C:d=ag(r,n,u[h++],u[h++],u[h++],u[h++],u[h],u[h+1],f,c,SA),r=u[h++],n=u[h++];break;case Gn.Q:d=lg(r,n,u[h++],u[h++],u[h],u[h+1],f,c,SA),r=u[h++],n=u[h++];break;case Gn.A:var g=u[h++],p=u[h++],B=u[h++],m=u[h++],y=u[h++],_=u[h++];h+=1;var C=!!(1-u[h++]);o=Math.cos(y)*B+g,s=Math.sin(y)*m+p,h<=1&&(i=o,a=s);var Q=(f-g)*m/B+g;d=aL(g,p,m,y,y+_,C,Q,c,SA),r=Math.cos(y+_)*B+g,n=Math.sin(y+_)*m+p;break;case Gn.R:i=r=u[h++],a=n=u[h++];var x=u[h++],F=u[h++];d=Dw(i,a,x,F,f,c,SA);break;case Gn.Z:d=Pv(r,n,i,a,f,c,SA,!0),r=i,n=a;break}d<l&&(l=d,t.set(SA[0],SA[1]))}return l}var zn=new be,Bt=new be,$t=new be,qi=new be,go=new be;function Lw(A,e){if(A){var t=A.getTextGuideLine(),r=A.getTextContent();if(r&&t){var n=A.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],a=n.candidates||nL,o=r.getBoundingRect().clone();o.applyTransform(r.getComputedTransform());var s=1/0,l=n.anchor,u=A.getComputedTransform(),f=u&&ci([],u),c=e.get("length2")||0;l&&$t.copy(l);for(var h=0;h<a.length;h++){var v=a[h];iL(v,0,o,zn,qi),be.scaleAndAdd(Bt,zn,qi,c),Bt.transform(f);var d=A.getBoundingRect(),g=l?l.distance(Bt):A instanceof Ne?sL(Bt,A.path,$t):oL(Bt,d,$t);g<s&&(s=g,Bt.transform(u),$t.transform(u),$t.toArray(i[0]),Bt.toArray(i[1]),zn.toArray(i[2]))}lL(i,e.get("minTurnAngle")),t.setShape({points:i})}}}var Mw=[],Wn=new be;function lL(A,e){if(e<=180&&e>0){e=e/180*Math.PI,zn.fromArray(A[0]),Bt.fromArray(A[1]),$t.fromArray(A[2]),be.sub(qi,zn,Bt),be.sub(go,$t,Bt);var t=qi.len(),r=go.len();if(!(t<.001||r<.001)){qi.scale(1/t),go.scale(1/r);var n=qi.dot(go),i=Math.cos(e);if(i<n){var a=Pv(Bt.x,Bt.y,$t.x,$t.y,zn.x,zn.y,Mw,!1);Wn.fromArray(Mw),Wn.scaleAndAdd(go,a/Math.tan(Math.PI-e));var o=$t.x!==Bt.x?(Wn.x-Bt.x)/($t.x-Bt.x):(Wn.y-Bt.y)/($t.y-Bt.y);if(isNaN(o))return;o<0?be.copy(Wn,Bt):o>1&&be.copy(Wn,$t),Wn.toArray(A[1])}}}}function kv(A,e,t,r){var n=t==="normal",i=n?A:A.ensureState(t);i.ignore=e;var a=r.get("smooth");a&&a===!0&&(a=.3),i.shape=i.shape||{},a>0&&(i.shape.smooth=a);var o=r.getModel("lineStyle").getLineStyle();n?A.useStyle(o):i.style=o}function uL(A,e){var t=e.smooth,r=e.points;if(r)if(A.moveTo(r[0][0],r[0][1]),t>0&&r.length>=3){var n=Df(r[0],r[1]),i=Df(r[1],r[2]);if(!n||!i){A.lineTo(r[1][0],r[1][1]),A.lineTo(r[2][0],r[2][1]);return}var a=Math.min(n,i)*t,o=Lf([],r[1],r[0],a/n),s=Lf([],r[1],r[2],a/i),l=Lf([],o,s,.5);A.bezierCurveTo(o[0],o[1],o[0],o[1],l[0],l[1]),A.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var u=1;u<r.length;u++)A.lineTo(r[u][0],r[u][1])}function fL(A,e,t){var r=A.getTextGuideLine(),n=A.getTextContent();if(!n){r&&A.removeTextGuideLine();return}for(var i=e.normal,a=i.get("show"),o=n.ignore,s=0;s<Ks.length;s++){var l=Ks[s],u=e[l],f=l==="normal";if(u){var c=u.get("show"),h=f?o:de(n.states[l]&&n.states[l].ignore,o);if(h||!de(c,a)){var v=f?r:r&&r.states[l];v&&(v.ignore=!0),r&&kv(r,!0,l,u);continue}r||(r=new Na,A.setTextGuideLine(r),!f&&(o||!a)&&kv(r,!0,"normal",e.normal),A.stateProxy&&(r.stateProxy=A.stateProxy)),kv(r,!1,l,u)}}if(r){Oe(r.style,t),r.style.fill=null;var d=i.get("showAbove"),g=A.textGuideLineConfig=A.textGuideLineConfig||{};g.showAbove=d||!1,r.buildPath=uL}}function cL(A,e){e=e||"labelLine";for(var t={normal:A.getModel(e)},r=0;r<sA.length;r++){var n=sA[r];t[n]=A.getModel([n,e])}return t}var Hw=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"],hL=1,uu=2,Ow=hL|uu;function fu(A,e,t){t=t||Ow,e?A.dirty|=t:A.dirty&=~t}function Rw(A,e){return e=e||Ow,A.dirty==null||!!(A.dirty&e)}function Pr(A){if(A)return Rw(A)&&vL(A,A.label,A),A}function vL(A,e,t){var r=e.getComputedTransform();A.transform=mh(A.transform,r);var n=A.localRect=Va(A.localRect,e.getBoundingRect()),i=e.style,a=i.margin,o=t&&t.marginForce,s=t&&t.minMarginForce,l=t&&t.marginDefault,u=i.__marginType;u==null&&l&&(a=l,u=Li.textMargin);for(var f=0;f<4;f++)Vv[f]=u===Li.minMargin&&s&&s[f]!=null?s[f]:o&&o[f]!=null?o[f]:a?a[f]:0;u===Li.textMargin&&ll(n,Vv,!1,!1);var c=A.rect=Va(A.rect,n);return r&&c.applyTransform(r),u===Li.minMargin&&ll(c,Vv,!1,!1),A.axisAligned=Bh(r),(A.label=A.label||{}).ignore=e.ignore,fu(A,!1),fu(A,!0,uu),A}var Vv=[0,0,0,0];function dL(A,e,t){return A.transform=mh(A.transform,t),A.localRect=Va(A.localRect,e),A.rect=Va(A.rect,e),t&&A.rect.applyTransform(t),A.axisAligned=Bh(t),A.obb=void 0,(A.label=A.label||{}).ignore=!1,A}function pL(A,e){if(A){A.label.x+=e.x,A.label.y+=e.y,A.label.markRedraw();var t=A.transform;t&&(t[4]+=e.x,t[5]+=e.y);var r=A.rect;r&&(r.x+=e.x,r.y+=e.y);var n=A.obb;n&&n.fromBoundingRect(A.localRect,t)}}function Kv(A,e){for(var t=0;t<Hw.length;t++){var r=Hw[t];A[r]==null&&(A[r]=e[r])}return Pr(A)}function Nw(A){var e=A.obb;return(!e||Rw(A,uu))&&(A.obb=e=e||new lB,e.fromBoundingRect(A.localRect,A.transform),fu(A,!1,uu)),e}function Pw(A,e,t,r,n){var i=A.length,a=Tr[e],o=Ti[e];if(i<2)return!1;A.sort(function(Q,x){return Q.rect[a]-x.rect[a]});for(var s=0,l,u=!1,f=0;f<i;f++){var c=A[f],h=c.rect;l=h[a]-s,l<0&&(h[a]-=l,c.label[a]-=l,u=!0),s=h[a]+h[o]}var v=A[0],d=A[i-1],g,p;B(),g<0&&_(-g,.8),p<0&&_(p,.8),B(),m(g,p,1),m(p,g,-1),B(),g<0&&C(-g),p<0&&C(p);function B(){g=v.rect[a]-t,p=r-d.rect[a]-d.rect[o]}function m(Q,x,F){if(Q<0){var S=Math.min(x,-Q);if(S>0){y(S*F,0,i);var E=S+Q;E<0&&_(-E*F,1)}else _(-Q*F,1)}}function y(Q,x,F){Q!==0&&(u=!0);for(var S=x;S<F;S++){var E=A[S],I=E.rect;I[a]+=Q,E.label[a]+=Q}}function _(Q,x){for(var F=[],S=0,E=1;E<i;E++){var I=A[E-1].rect,U=Math.max(A[E].rect[a]-I[a]-I[o],0);F.push(U),S+=U}if(S){var T=Math.min(Math.abs(Q)/S,x);if(Q>0)for(var E=0;E<i-1;E++){var H=F[E]*T;y(H,0,E+1)}else for(var E=i-1;E>0;E--){var H=F[E-1]*T;y(-H,E,i)}}}function C(Q){var x=Q<0?-1:1;Q=Math.abs(Q);for(var F=Math.ceil(Q/(i-1)),S=0;S<i-1;S++)if(x>0?y(F,0,S+1):y(-F,i-S-1,i),Q-=F,Q<=0)return}return u}function gL(A){for(var e=0;e<A.length;e++){var t=A[e],r=t.defaultAttr,n=t.labelLine;t.label.attr("ignore",r.ignore),n&&n.attr("ignore",r.labelGuideIgnore)}}function kw(A){var e=[];A.sort(function(l,u){return(u.suggestIgnore?1:0)-(l.suggestIgnore?1:0)||u.priority-l.priority});function t(l){if(!l.ignore){var u=l.ensureState("emphasis");u.ignore==null&&(u.ignore=!1)}l.ignore=!0}for(var r=0;r<A.length;r++){var n=Pr(A[r]);if(!n.label.ignore){for(var i=n.label,a=n.labelLine,o=!1,s=0;s<e.length;s++)if(Gv(n,e[s],null,{touchThreshold:.05})){o=!0;break}o?(t(i),a&&t(a)):e.push(n)}}}function Gv(A,e,t,r){return!A||!e||A.label&&A.label.ignore||e.label&&e.label.ignore||!A.rect.intersect(e.rect,t,r)?!1:A.axisAligned&&e.axisAligned?!0:Nw(A).intersect(Nw(e),t,r)}function BL(A){if(A){for(var e=[],t=0;t<A.length;t++)e.push(A[t].slice());return e}}function mL(A,e){var t=A.label,r=e&&e.getTextGuideLine();return{dataIndex:A.dataIndex,dataType:A.dataType,seriesIndex:A.seriesModel.seriesIndex,text:A.label.style.text,rect:A.hostRect,labelRect:A.rect,align:t.style.align,verticalAlign:t.style.verticalAlign,labelLinePoints:BL(r&&r.shape.points)}}var Vw=["align","verticalAlign","width","height","fontSize"],Ot=new _s,zv=Ge(),yL=Ge();function cu(A,e,t){for(var r=0;r<t.length;r++){var n=t[r];e[n]!=null&&(A[n]=e[n])}}var hu=["x","y","rotation"],wL=(function(){function A(){this._labelList=[],this._chartViewList=[]}return A.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},A.prototype._addLabel=function(e,t,r,n,i){var a=n.style,o=n.__hostTarget,s=o.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();Fe.applyTransform(u,u,l),l?Ot.setLocalTransform(l):(Ot.x=Ot.y=Ot.rotation=Ot.originX=Ot.originY=0,Ot.scaleX=Ot.scaleY=1),Ot.rotation=or(Ot.rotation);var f=n.__hostTarget,c;if(f){c=f.getBoundingRect().plain();var h=f.getComputedTransform();Fe.applyTransform(c,c,h)}var v=c&&f.getTextGuideLine();this._labelList.push({label:n,labelLine:v,seriesModel:r,dataIndex:e,dataType:t,layoutOptionOrCb:i,layoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:v&&v.ignore,x:Ot.x,y:Ot.y,scaleX:Ot.scaleX,scaleY:Ot.scaleY,rotation:Ot.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:n.cursor,attachedPos:s.position,attachedRot:s.rotation}})},A.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var r=e.__model,n=r.get("labelLayout");(me(n)||Ye(n).length)&&e.group.traverse(function(i){if(i.ignore)return!0;var a=i.getTextContent(),o=Te(i);a&&!a.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,r,a,n)})},A.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),r=e.getHeight();function n(m,y){return function(){Lw(m,y)}}for(var i=0;i<this._labelList.length;i++){var a=this._labelList[i],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;me(a.layoutOptionOrCb)?u=a.layoutOptionOrCb(mL(a,s)):u=a.layoutOptionOrCb,u=u||{},a.layoutOption=u;var f=Math.PI/180;s&&s.setTextConfig({local:!1,position:u.x!=null||u.y!=null?null:l.attachedPos,rotation:u.rotate!=null?u.rotate*f:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(u.x!=null?(o.x=ct(u.x,t),o.setStyle("x",0),c=!0):(o.x=l.x,o.setStyle("x",l.style.x)),u.y!=null?(o.y=ct(u.y,r),o.setStyle("y",0),c=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),c=!1)}var v=zv(o);v.needsUpdateLabelLine=c,o.rotation=u.rotate!=null?u.rotate*f:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var d=0;d<Vw.length;d++){var g=Vw[d];o.setStyle(g,u[g]!=null?u[g]:l.style[g])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var p=a.seriesModel;if(a.dataIndex!=null){var B=a.seriesModel.getData(a.dataType);p=B.getItemModel(a.dataIndex)}o.on("drag",n(s,p.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},A.prototype.layout=function(e){var t=e.getWidth(),r=e.getHeight(),n=[];b(this._labelList,function(s){s.defaultAttr.ignore||n.push(Kv({},s))});var i=rt(n,function(s){return s.layoutOption.moveOverlap==="shiftX"}),a=rt(n,function(s){return s.layoutOption.moveOverlap==="shiftY"});Pw(i,0,0,t),Pw(a,1,0,r);var o=rt(n,function(s){return s.layoutOption.hideOverlap});gL(o),kw(o)},A.prototype.processLabelsOverall=function(){var e=this;b(this._chartViewList,function(t){var r=t.__model,n=t.ignoreLabelLineUpdate,i=r.isAnimationEnabled();t.group.traverse(function(a){if(a.ignore&&!a.forceLabelAnimation)return!0;var o=!n,s=a.getTextContent();!o&&s&&(o=zv(s).needsUpdateLabelLine),o&&e._updateLabelLine(a,r),i&&e._animateLabels(a,r)})})},A.prototype._updateLabelLine=function(e,t){var r=e.getTextContent(),n=Te(e),i=n.dataIndex;if(r&&i!=null){var a=t.getData(n.dataType),o=a.getItemModel(i),s={},l=a.getItemVisual(i,"style");if(l){var u=a.getVisual("drawType");s.stroke=l[u]}var f=o.getModel("labelLine");fL(e,cL(o),s),Lw(e,f)}},A.prototype._animateLabels=function(e,t){var r=e.getTextContent(),n=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!Ii(e))){var i=zv(r),a=i.oldLayout,o=Te(e),s=o.dataIndex,l={x:r.x,y:r.y,rotation:r.rotation},u=t.getData(o.dataType);if(a){r.attr(a);var c=e.prevStates;c&&(Ie(c,"select")>=0&&r.attr(i.oldLayoutSelect),Ie(c,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),Ft(r,l,t,s)}else if(r.attr(l),!Di(r).valueAnimation){var f=de(r.style.opacity,1);r.style.opacity=0,lA(r,{style:{opacity:f}},t,s)}if(i.oldLayout=l,r.states.select){var h=i.oldLayoutSelect={};cu(h,l,hu),cu(h,r.states.select,hu)}if(r.states.emphasis){var v=i.oldLayoutEmphasis={};cu(v,l,hu),cu(v,r.states.emphasis,hu)}fS(r,s,u,t,t)}if(n&&!n.ignore&&!n.invisible){var i=yL(n),a=i.oldLayout,d={points:n.shape.points};a?(n.attr({shape:a}),Ft(n,{shape:d},t)):(n.setShape(d),n.style.strokePercent=0,lA(n,{style:{strokePercent:1}},t)),i.oldLayout=d}},A})(),Wv=Ge();function CL(A){A.registerUpdateLifecycle("series:beforeupdate",function(e,t,r){var n=Wv(t).labelManager;n||(n=Wv(t).labelManager=new wL),n.clearLabels()}),A.registerUpdateLifecycle("series:layoutlabels",function(e,t,r){var n=Wv(t).labelManager;r.updatedSeries.forEach(function(i){n.addLabelsOfSeries(t.getViewOfSeriesModel(i))}),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()})}var _L=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t){if(process.env.NODE_ENV!=="production"){var r=t.coordinateSystem;if(r!=="polar"&&r!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return Sv(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var r=new st,n=Hr("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);r.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),o=i==="none"?"circle":i,s=t.itemHeight*.8,l=Hr(o,(t.itemWidth-s)/2,(t.itemHeight-s)/2,s,s,t.itemStyle.fill);r.add(l),l.setStyle(t.itemStyle);var u=t.iconRotate==="inherit"?a:t.iconRotate||0;return l.rotation=u*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill=ae.color.neutral00,l.style.lineWidth=2),r},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e})(JA);function Yv(A,e){var t=A.mapDimensionsAll("defaultedLabel"),r=t.length;if(r===1){var n=Ni(A,e,t[0]);return n!=null?n+"":null}else if(r){for(var i=[],a=0;a<t.length;a++)i.push(Ni(A,e,t[a]));return i.join(" ")}}function Kw(A,e){var t=A.mapDimensionsAll("defaultedLabel");if(!ie(e))return e+"";for(var r=[],n=0;n<t.length;n++){var i=A.getDimensionIndex(t[n]);i>=0&&r.push(e[i])}return r.join(" ")}var Xv=(function(A){X(e,A);function e(t,r,n,i){var a=A.call(this)||this;return a.updateData(t,r,n,i),a}return e.prototype._createSymbol=function(t,r,n,i,a,o){this.removeAll();var s=Hr(t,-1,-1,2,2,null,o);s.attr({z2:de(a,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=QL,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Xs(this.childAt(0))},e.prototype.downplay=function(){Zs(this.childAt(0))},e.prototype.setZ=function(t,r){var n=this.childAt(0);n.zlevel=t,n.z=r},e.prototype.setDraggable=function(t,r){var n=this.childAt(0);n.draggable=t,n.cursor=!r&&t?"move":n.cursor},e.prototype.updateData=function(t,r,n,i){this.silent=!1;var a=t.getItemVisual(r,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,r),l=e.getSymbolZ2(t,r),u=a!==this._symbolType,f=i&&i.disableAnimation;if(u){var c=t.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,t,r,s,l,c)}else{var h=this.childAt(0);h.silent=!1;var v={scaleX:s[0]/2,scaleY:s[1]/2};f?h.attr(v):Ft(h,v,o,r),fB(h)}if(this._updateCommon(t,r,s,n,i),u){var h=this.childAt(0);if(!f){var v={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,lA(h,v,o,r)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,r,n,i,a){var o=this.childAt(0),s=t.hostModel,l,u,f,c,h,v,d,g,p;if(i&&(l=i.emphasisItemStyle,u=i.blurItemStyle,f=i.selectItemStyle,c=i.focus,h=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,p=i.cursorStyle,v=i.emphasisDisabled),!i||t.hasItemOption){var B=i&&i.itemModel?i.itemModel:t.getItemModel(r),m=B.getModel("emphasis");l=m.getModel("itemStyle").getItemStyle(),f=B.getModel(["select","itemStyle"]).getItemStyle(),u=B.getModel(["blur","itemStyle"]).getItemStyle(),c=m.get("focus"),h=m.get("blurScope"),v=m.get("disabled"),d=dl(B),g=m.getShallow("scale"),p=B.getShallow("cursor")}var y=t.getItemVisual(r,"symbolRotate");o.attr("rotation",(y||0)*Math.PI/180||0);var _=ay(t.getItemVisual(r,"symbolOffset"),n);_&&(o.x=_[0],o.y=_[1]),p&&o.attr("cursor",p);var C=t.getItemVisual(r,"style"),Q=C.fill;if(o instanceof Ur){var x=o.style;o.useStyle(W({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},C))}else o.__isEmptyBrush?o.useStyle(W({},C)):o.useStyle(C),o.style.decal=null,o.setColor(Q,a&&a.symbolInnerColor),o.style.strokeNoScale=!0;var F=t.getItemVisual(r,"liftZ"),S=this._z2;F!=null?S==null&&(this._z2=o.z2,o.z2+=F):S!=null&&(o.z2=S,this._z2=null);var E=a&&a.useNameLabel;vl(o,d,{labelFetcher:s,labelDataIndex:r,defaultText:I,inheritColor:Q,defaultOpacity:C.opacity});function I(H){return E?t.getName(H):Yv(t,H)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var U=o.ensureState("emphasis");U.style=l,o.ensureState("select").style=f,o.ensureState("blur").style=u;var T=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;U.scaleX=this._sizeX*T,U.scaleY=this._sizeY*T,this.setSymbolScale(1),qs(this,c,h,v)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,r,n){var i=this.childAt(0),a=Te(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var s=i.getTextContent();s&&ol(s,{style:{opacity:0}},r,{dataIndex:a,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();ol(i,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:t,removeOpt:o})},e.getSymbolSize=function(t,r){return ZI(t.getItemVisual(r,"symbolSize"))},e.getSymbolZ2=function(t,r){return t.getItemVisual(r,"z2")},e})(st);function QL(A,e){this.parent.drift(A,e)}function Zv(A,e,t,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(t))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&A.getItemVisual(t,"symbol")!=="none"}function Gw(A){return A!=null&&!ve(A)&&(A={isIgnore:A}),A||{}}function zw(A){var e=A.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:dl(e),cursorStyle:e.get("cursor")}}var xL=(function(){function A(e){this.group=new st,this._SymbolCtor=e||Xv}return A.prototype.updateData=function(e,t){this._progressiveEls=null,t=Gw(t);var r=this.group,n=e.hostModel,i=this._data,a=this._SymbolCtor,o=t.disableAnimation,s=zw(e),l={disableAnimation:o},u=t.getSymbolPoint||function(f){return e.getItemLayout(f)};i||r.removeAll(),e.diff(i).add(function(f){var c=u(f);if(Zv(e,c,f,t)){var h=new a(e,f,s,l);h.setPosition(c),e.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,c){var h=i.getItemGraphicEl(c),v=u(f);if(!Zv(e,v,f,t)){r.remove(h);return}var d=e.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==d)r.remove(h),h=new a(e,f,s,l),h.setPosition(v);else{h.updateData(e,f,s,l);var p={x:v[0],y:v[1]};o?h.attr(p):Ft(h,p,n)}r.add(h),e.setItemGraphicEl(f,h)}).remove(function(f){var c=i.getItemGraphicEl(f);c&&c.fadeOut(function(){r.remove(c)},n)}).execute(),this._getSymbolPoint=u,this._data=e},A.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(r,n){var i=e._getSymbolPoint(n);r.setPosition(i),r.markRedraw()})},A.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=zw(e),this._data=null,this.group.removeAll()},A.prototype.incrementalUpdate=function(e,t,r){this._progressiveEls=[],r=Gw(r);function n(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i<e.end;i++){var a=t.getItemLayout(i);if(Zv(t,a,i,r)){var o=new this._SymbolCtor(t,i,this._seriesScope);o.traverse(n),o.setPosition(a),this.group.add(o),t.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},A.prototype.eachRendered=function(e){fl(this._progressiveEls||this.group,e)},A.prototype.remove=function(e){var t=this.group,r=this._data;r&&e?r.eachItemGraphicEl(function(n){n.fadeOut(function(){t.remove(n)},r.hostModel)}):t.removeAll()},A})();function Ww(A,e,t){var r=A.getBaseAxis(),n=A.getOtherAxis(r),i=FL(n,t),a=r.dim,o=n.dim,s=e.mapDimension(o),l=e.mapDimension(a),u=o==="x"||o==="radius"?1:0,f=Be(A.dimensions,function(v){return e.mapDimension(v)}),c=!1,h=e.getCalculationInfo("stackResultDimension");return Xi(e,f[0])&&(c=!0,f[0]=h),Xi(e,f[1])&&(c=!0,f[1]=h),{dataDimsForPoint:f,valueStart:i,valueAxisDim:o,baseAxisDim:a,stacked:!!c,valueDim:s,baseDim:l,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function FL(A,e){var t=0,r=A.scale.getExtent();return e==="start"?t=r[0]:e==="end"?t=r[1]:We(e)&&!isNaN(e)?t=e:r[0]>0?t=r[0]:r[1]<0&&(t=r[1]),t}function Yw(A,e,t,r){var n=NaN;A.stacked&&(n=t.get(t.getCalculationInfo("stackedOverDimension"),r)),isNaN(n)&&(n=A.valueStart);var i=A.baseDataOffset,a=[];return a[i]=t.get(A.baseDim,r),a[1-i]=n,e.dataToPoint(a)}function EL(A,e){var t=[];return e.diff(A).add(function(r){t.push({cmd:"+",idx:r})}).update(function(r,n){t.push({cmd:"=",idx:n,idx1:r})}).remove(function(r){t.push({cmd:"-",idx:r})}).execute(),t}function bL(A,e,t,r,n,i,a,o){for(var s=EL(A,e),l=[],u=[],f=[],c=[],h=[],v=[],d=[],g=Ww(n,e,a),p=A.getLayout("points")||[],B=e.getLayout("points")||[],m=0;m<s.length;m++){var y=s[m],_=!0,C=void 0,Q=void 0;switch(y.cmd){case"=":C=y.idx*2,Q=y.idx1*2;var x=p[C],F=p[C+1],S=B[Q],E=B[Q+1];(isNaN(x)||isNaN(F))&&(x=S,F=E),l.push(x,F),u.push(S,E),f.push(t[C],t[C+1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(y.idx1));break;case"+":var I=y.idx,U=g.dataDimsForPoint,T=n.dataToPoint([e.get(U[0],I),e.get(U[1],I)]);Q=I*2,l.push(T[0],T[1]),u.push(B[Q],B[Q+1]);var H=Yw(g,n,e,I);f.push(H[0],H[1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(I));break;case"-":_=!1}_&&(h.push(y),v.push(v.length))}v.sort(function(O,se){return d[O]-d[se]});for(var P=l.length,Z=hr(P),K=hr(P),Y=hr(P),ee=hr(P),D=[],m=0;m<v.length;m++){var M=v[m],L=m*2,k=M*2;Z[L]=l[k],Z[L+1]=l[k+1],K[L]=u[k],K[L+1]=u[k+1],Y[L]=f[k],Y[L+1]=f[k+1],ee[L]=c[k],ee[L+1]=c[k+1],D[m]=h[M]}return{current:Z,next:K,stackedOnCurrent:Y,stackedOnNext:ee,status:D}}var kr=Math.min,Vr=Math.max;function Yn(A,e){return isNaN(A)||isNaN(e)}function Jv(A,e,t,r,n,i,a,o,s){for(var l,u,f,c,h,v,d=t,g=0;g<r;g++){var p=e[d*2],B=e[d*2+1];if(d>=n||d<0)break;if(Yn(p,B)){if(s){d+=i;continue}break}if(d===t)A[i>0?"moveTo":"lineTo"](p,B),f=p,c=B;else{var m=p-l,y=B-u;if(m*m+y*y<.5){d+=i;continue}if(a>0){for(var _=d+i,C=e[_*2],Q=e[_*2+1];C===p&&Q===B&&g<r;)g++,_+=i,d+=i,C=e[_*2],Q=e[_*2+1],p=e[d*2],B=e[d*2+1],m=p-l,y=B-u;var x=g+1;if(s)for(;Yn(C,Q)&&x<r;)x++,_+=i,C=e[_*2],Q=e[_*2+1];var F=.5,S=0,E=0,I=void 0,U=void 0;if(x>=r||Yn(C,Q))h=p,v=B;else{S=C-l,E=Q-u;var T=p-l,H=C-p,P=B-u,Z=Q-B,K=void 0,Y=void 0;if(o==="x"){K=Math.abs(T),Y=Math.abs(H);var ee=S>0?1:-1;h=p-ee*K*a,v=B,I=p+ee*Y*a,U=B}else if(o==="y"){K=Math.abs(P),Y=Math.abs(Z);var D=E>0?1:-1;h=p,v=B-D*K*a,I=p,U=B+D*Y*a}else K=Math.sqrt(T*T+P*P),Y=Math.sqrt(H*H+Z*Z),F=Y/(Y+K),h=p-S*a*(1-F),v=B-E*a*(1-F),I=p+S*a*F,U=B+E*a*F,I=kr(I,Vr(C,p)),U=kr(U,Vr(Q,B)),I=Vr(I,kr(C,p)),U=Vr(U,kr(Q,B)),S=I-p,E=U-B,h=p-S*K/Y,v=B-E*K/Y,h=kr(h,Vr(l,p)),v=kr(v,Vr(u,B)),h=Vr(h,kr(l,p)),v=Vr(v,kr(u,B)),S=p-h,E=B-v,I=p+S*Y/K,U=B+E*Y/K}A.bezierCurveTo(f,c,h,v,p,B),f=I,c=U}else A.lineTo(p,B)}l=p,u=B,d+=i}return g}var Xw=(function(){function A(){this.smooth=0,this.smoothConstraint=!0}return A})(),SL=(function(A){X(e,A);function e(t){var r=A.call(this,t)||this;return r.type="ec-polyline",r}return e.prototype.getDefaultStyle=function(){return{stroke:ae.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new Xw},e.prototype.buildPath=function(t,r){var n=r.points,i=0,a=n.length/2;if(r.connectNulls){for(;a>0&&Yn(n[a*2-2],n[a*2-1]);a--);for(;i<a&&Yn(n[i*2],n[i*2+1]);i++);}for(;i<a;)i+=Jv(t,n,i,a,a,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},e.prototype.getPointOn=function(t,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n=this.path,i=n.data,a=br.CMD,o,s,l=r==="x",u=[],f=0;f<i.length;){var c=i[f++],h=void 0,v=void 0,d=void 0,g=void 0,p=void 0,B=void 0,m=void 0;switch(c){case a.M:o=i[f++],s=i[f++];break;case a.L:if(h=i[f++],v=i[f++],m=l?(t-o)/(h-o):(t-s)/(v-s),m<=1&&m>=0){var y=l?(v-s)*m+s:(h-o)*m+o;return l?[t,y]:[y,t]}o=h,s=v;break;case a.C:h=i[f++],v=i[f++],d=i[f++],g=i[f++],p=i[f++],B=i[f++];var _=l?ls(o,h,d,p,t,u):ls(s,v,g,B,t,u);if(_>0)for(var C=0;C<_;C++){var Q=u[C];if(Q<=1&&Q>=0){var y=l?ft(s,v,g,B,Q):ft(o,h,d,p,Q);return l?[t,y]:[y,t]}}o=p,s=B;break}}},e})(Ne),UL=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e})(Xw),IL=(function(A){X(e,A);function e(t){var r=A.call(this,t)||this;return r.type="ec-polygon",r}return e.prototype.getDefaultShape=function(){return new UL},e.prototype.buildPath=function(t,r){var n=r.points,i=r.stackedOnPoints,a=0,o=n.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;o>0&&Yn(n[o*2-2],n[o*2-1]);o--);for(;a<o&&Yn(n[a*2],n[a*2+1]);a++);}for(;a<o;){var l=Jv(t,n,a,o,o,1,r.smooth,s,r.connectNulls);Jv(t,i,a+l-1,l,o,-1,r.stackedOnSmooth,s,r.connectNulls),a+=l+1,t.closePath()}},e})(Ne);function Zw(A,e,t,r,n){var i=A.getArea(),a=i.x,o=i.y,s=i.width,l=i.height,u=t.get(["lineStyle","width"])||0;a-=u/2,o-=u/2,s+=u,l+=u,s=Math.ceil(s),a!==Math.floor(a)&&(a=Math.floor(a),s++);var f=new Je({shape:{x:a,y:o,width:s,height:l}});if(e){var c=A.getBaseAxis(),h=c.isHorizontal(),v=c.inverse;h?(v&&(f.shape.x+=s),f.shape.width=0):(v||(f.shape.y+=l),f.shape.height=0);var d=me(n)?function(g){n(g,f)}:null;lA(f,{shape:{width:s,height:l,x:a,y:o}},t,null,r,d)}return f}function Jw(A,e,t){var r=A.getArea(),n=yt(r.r0,1),i=yt(r.r,1),a=new Ui({shape:{cx:yt(A.cx,1),cy:yt(A.cy,1),r0:n,r:i,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var o=A.getBaseAxis().dim==="angle";o?a.shape.endAngle=r.startAngle:a.shape.r=n,lA(a,{shape:{endAngle:r.endAngle,r:i}},t)}return a}function TL(A,e,t,r,n){if(A){if(A.type==="polar")return Jw(A,e,t);if(A.type==="cartesian2d")return Zw(A,e,t,r,n)}else return null;return null}function qv(A,e){return A.type===e}function qw(A,e){if(A.length===e.length){for(var t=0;t<A.length;t++)if(A[t]!==e[t])return;return!0}}function $w(A){for(var e=1/0,t=1/0,r=-1/0,n=-1/0,i=0;i<A.length;){var a=A[i++],o=A[i++];isNaN(a)||(e=Math.min(a,e),r=Math.max(a,r)),isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n))}return[[e,t],[r,n]]}function jw(A,e){var t=$w(A),r=t[0],n=t[1],i=$w(e),a=i[0],o=i[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]))}function eC(A){return We(A)?A:A?.5:0}function DL(A,e,t){if(!t.valueDim)return[];for(var r=e.count(),n=hr(r*2),i=0;i<r;i++){var a=Yw(t,A,e,i);n[i*2]=a[0],n[i*2+1]=a[1]}return n}function Kr(A,e,t,r,n){var i=t.getBaseAxis(),a=i.dim==="x"||i.dim==="radius"?0:1,o=[],s=0,l=[],u=[],f=[],c=[];if(n){for(s=0;s<A.length;s+=2){var h=e||A;!isNaN(h[s])&&!isNaN(h[s+1])&&c.push(A[s],A[s+1])}A=c}for(s=0;s<A.length-2;s+=2)switch(f[0]=A[s+2],f[1]=A[s+3],u[0]=A[s],u[1]=A[s+1],o.push(u[0],u[1]),r){case"end":l[a]=f[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var v=(u[a]+f[a])/2,d=[];l[a]=d[a]=v,l[1-a]=u[1-a],d[1-a]=f[1-a],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[a]=u[a],l[1-a]=f[1-a],o.push(l[0],l[1])}return o.push(A[s++],A[s++]),o}function LL(A,e){var t=[],r=A.length,n,i;function a(u,f,c){var h=u.coord,v=(c-h)/(f.coord-h),d=eF(v,[u.color,f.color]);return{coord:c,color:d}}for(var o=0;o<r;o++){var s=A[o],l=s.coord;if(l<0)n=s;else if(l>e){i?t.push(a(i,s,e)):n&&t.push(a(n,s,0),a(n,s,e));break}else n&&(t.push(a(n,s,0)),n=null),t.push(s),i=s}return t}function ML(A,e,t){var r=A.getVisual("visualMeta");if(!(!r||!r.length||!A.count())){if(e.type!=="cartesian2d"){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style is only supported on cartesian2d.");return}for(var n,i,a=r.length-1;a>=0;a--){var o=A.getDimensionInfo(r[a].dimension);if(n=o&&o.coordDim,n==="x"||n==="y"){i=r[a];break}}if(!i){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var s=e.getAxis(n),l=Be(i.stops,function(m){return{coord:s.toGlobalCoord(s.dataToCoord(m.value)),color:m.color}}),u=l.length,f=i.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),f.reverse());var c=LL(l,n==="x"?t.getWidth():t.getHeight()),h=c.length;if(!h&&u)return l[0].coord<0?f[1]?f[1]:l[u-1].color:f[0]?f[0]:l[0].color;var v=10,d=c[0].coord-v,g=c[h-1].coord+v,p=g-d;if(p<.001)return"transparent";b(c,function(m){m.offset=(m.coord-d)/p}),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var B=new sB(0,0,0,0,c,!0);return B[n]=d,B[n+"2"]=g,B}}function HL(A,e,t){var r=A.get("showAllSymbol"),n=r==="auto";if(!(r&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&OL(i,e))){var a=e.mapDimension(i.dim),o={};return b(i.getViewLabels(),function(s){var l=i.scale.getRawOrdinalNumber(s.tickValue);o[l]=1}),function(s){return!o.hasOwnProperty(e.get(a,s))}}}}function OL(A,e){var t=A.getExtent(),r=Math.abs(t[1]-t[0])/A.scale.count();isNaN(r)&&(r=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),a=0;a<n;a+=i)if(Xv.getSymbolSize(e,a)[A.isHorizontal()?1:0]*1.5>r)return!1;return!0}function RL(A,e){return isNaN(A)||isNaN(e)}function NL(A){for(var e=A.length/2;e>0&&RL(A[e*2-2],A[e*2-1]);e--);return e-1}function tC(A,e){return[A[e*2],A[e*2+1]]}function PL(A,e,t){for(var r=A.length/2,n=t==="x"?0:1,i,a,o=0,s=-1,l=0;l<r;l++)if(a=A[l*2+n],!(isNaN(a)||isNaN(A[l*2+1-n]))){if(l===0){i=a;continue}if(i<=e&&a>=e||i>=e&&a<=e){s=l;break}o=l,i=a}return{range:[o,s],t:(e-i)/(a-i)}}function AC(A){if(A.get(["endLabel","show"]))return!0;for(var e=0;e<sA.length;e++)if(A.get([sA[e],"endLabel","show"]))return!0;return!1}function $v(A,e,t,r){if(qv(e,"cartesian2d")){var n=r.getModel("endLabel"),i=n.get("valueAnimation"),a=r.getData(),o={lastFrameIndex:0},s=AC(r)?function(h,v){A._endLabelOnDuring(h,v,a,o,i,n,e)}:null,l=e.getBaseAxis().isHorizontal(),u=Zw(e,t,r,function(){var h=A._endLabel;h&&t&&o.originalX!=null&&h.attr({x:o.originalX,y:o.originalY})},s);if(!r.get("clip",!0)){var f=u.shape,c=Math.max(f.width,f.height);l?(f.y-=c,f.height+=c*2):(f.x-=c,f.width+=c*2)}return s&&s(1,u),u}else return process.env.NODE_ENV!=="production"&&r.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),Jw(e,t,r)}function kL(A,e){var t=e.getBaseAxis(),r=t.isHorizontal(),n=t.inverse,i=r?n?"right":"left":"center",a=r?"middle":n?"top":"bottom";return{normal:{align:A.get("align")||i,verticalAlign:A.get("verticalAlign")||a}}}var VL=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.init=function(){var t=new st,r=new xL;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=t,this._changePolyState=ye(this._changePolyState,this)},e.prototype.render=function(t,r,n){var i=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.getLayout("points")||[],f=i.type==="polar",c=this._coordSys,h=this._symbolDraw,v=this._polyline,d=this._polygon,g=this._lineGroup,p=!r.ssr&&t.get("animation"),B=!l.isEmpty(),m=l.get("origin"),y=Ww(i,o,m),_=B&&DL(i,o,y),C=t.get("showSymbol"),Q=t.get("connectNulls"),x=C&&!f&&HL(t,o,i),F=this._data;F&&F.eachItemGraphicEl(function(O,se){O.__temp&&(a.remove(O),F.setItemGraphicEl(se,null))}),C||h.remove(),a.add(g);var S=f?!1:t.get("step"),E;i&&i.getArea&&t.get("clip",!0)&&(E=i.getArea(),E.width!=null?(E.x-=.1,E.y-=.1,E.width+=.2,E.height+=.2):E.r0&&(E.r0-=.5,E.r+=.5)),this._clipShapeForSymbol=E;var I=ML(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(!(v&&c.type===i.type&&S===this._step))C&&h.updateData(o,{isIgnore:x,clipShape:E,disableAnimation:!0,getSymbolPoint:function(O){return[u[O*2],u[O*2+1]]}}),p&&this._initSymbolLabelAnimation(o,i,E),S&&(_&&(_=Kr(_,u,i,S,Q)),u=Kr(u,null,i,S,Q)),v=this._newPolyline(u),B?d=this._newPolygon(u,_):d&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(t,i,Tn(I)),g.setClipPath($v(this,i,!0,t));else{B&&!d?d=this._newPolygon(u,_):d&&!B&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(t,i,Tn(I));var U=g.getClipPath();if(U){var T=$v(this,i,!1,t);lA(U,{shape:T.shape},t)}else g.setClipPath($v(this,i,!0,t));C&&h.updateData(o,{isIgnore:x,clipShape:E,disableAnimation:!0,getSymbolPoint:function(O){return[u[O*2],u[O*2+1]]}}),(!qw(this._stackedOnPoints,_)||!qw(this._points,u))&&(p?this._doUpdateAnimation(o,_,i,n,S,m,Q):(S&&(_&&(_=Kr(_,u,i,S,Q)),u=Kr(u,null,i,S,Q)),v.setShape({points:u}),d&&d.setShape({points:u,stackedOnPoints:_})))}var H=t.getModel("emphasis"),P=H.get("focus"),Z=H.get("blurScope"),K=H.get("disabled");if(v.useStyle(Oe(s.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),rh(v,t,"lineStyle"),v.style.lineWidth>0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var Y=v.getState("emphasis").style;Y.lineWidth=+v.style.lineWidth+1}Te(v).seriesIndex=t.seriesIndex,qs(v,P,Z,K);var ee=eC(t.get("smooth")),D=t.get("smoothMonotone");if(v.setShape({smooth:ee,smoothMonotone:D,connectNulls:Q}),d){var M=o.getCalculationInfo("stackedOnSeries"),L=0;d.useStyle(Oe(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),M&&(L=eC(M.get("smooth"))),d.setShape({smooth:ee,stackedOnSmooth:L,smoothMonotone:D,connectNulls:Q}),rh(d,t,"areaStyle"),Te(d).seriesIndex=t.seriesIndex,qs(d,P,Z,K)}var k=this._changePolyState;o.eachItemGraphicEl(function(O){O&&(O.onHoverStateChange=k)}),this._polyline.onHoverStateChange=k,this._data=o,this._coordSys=i,this._stackedOnPoints=_,this._points=u,this._step=S,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,v),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,r){Te(r).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,r,n,i){var a=t.getData(),o=dn(a,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&o!=null&&o>=0){var s=a.getLayout("points"),l=a.getItemGraphicEl(o);if(!l){var u=s[o*2],f=s[o*2+1];if(isNaN(u)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u,f))return;var c=t.get("zlevel")||0,h=t.get("z")||0;l=new Xv(a,o),l.x=u,l.y=f,l.setZ(c,h);var v=l.getSymbolPath().getTextContent();v&&(v.zlevel=c,v.z=h,v.z2=this._polyline.z2+1),l.__temp=!0,a.setItemGraphicEl(o,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else FA.prototype.highlight.call(this,t,r,n,i)},e.prototype.downplay=function(t,r,n,i){var a=t.getData(),o=dn(a,i);if(this._changePolyState("normal"),o!=null&&o>=0){var s=a.getItemGraphicEl(o);s&&(s.__temp?(a.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else FA.prototype.downplay.call(this,t,r,n,i)},e.prototype._changePolyState=function(t){var r=this._polygon;R0(this._polyline,t),r&&R0(r,t)},e.prototype._newPolyline=function(t){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new SL({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},e.prototype._newPolygon=function(t,r){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new IL({shape:{points:t,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,r,n){var i,a,o=r.getBaseAxis(),s=o.inverse;r.type==="cartesian2d"?(i=o.isHorizontal(),a=!1):r.type==="polar"&&(i=o.dim==="angle",a=!0);var l=t.hostModel,u=l.get("animationDuration");me(u)&&(u=u(null));var f=l.get("animationDelay")||0,c=me(f)?f(null):f;t.eachItemGraphicEl(function(h,v){var d=h;if(d){var g=[h.x,h.y],p=void 0,B=void 0,m=void 0;if(n)if(a){var y=n,_=r.pointToCoord(g);i?(p=y.startAngle,B=y.endAngle,m=-_[1]/180*Math.PI):(p=y.r0,B=y.r,m=_[0])}else{var C=n;i?(p=C.x,B=C.x+C.width,m=h.x):(p=C.y+C.height,B=C.y,m=h.y)}var Q=B===p?0:(m-p)/(B-p);s&&(Q=1-Q);var x=me(f)?f(v):u*Q+c,F=d.getSymbolPath(),S=F.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),S&&S.animateFrom({style:{opacity:0}},{duration:300,delay:x}),F.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,r,n){var i=t.getModel("endLabel");if(AC(t)){var a=t.getData(),o=this._polyline,s=a.getLayout("points");if(!s){o.removeTextContent(),this._endLabel=null;return}var l=this._endLabel;l||(l=this._endLabel=new Ht({z2:200}),l.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var u=NL(s);u>=0&&(vl(o,dl(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:u,defaultText:function(f,c,h){return h!=null?Kw(a,h):Yv(a,f)},enableTextSetter:!0},kL(i,r)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,r,n,i,a,o,s){var l=this._endLabel,u=this._polyline;if(l){t<1&&i.originalX==null&&(i.originalX=l.x,i.originalY=l.y);var f=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),v=o.get("precision"),d=o.get("distance")||0,g=s.getBaseAxis(),p=g.isHorizontal(),B=g.inverse,m=r.shape,y=B?p?m.x:m.y+m.height:p?m.x+m.width:m.y,_=(p?d:0)*(B?-1:1),C=(p?0:-d)*(B?-1:1),Q=p?"x":"y",x=PL(f,y,Q),F=x.range,S=F[1]-F[0],E=void 0;if(S>=1){if(S>1&&!h){var I=tC(f,F[0]);l.attr({x:I[0]+_,y:I[1]+C}),a&&(E=c.getRawValue(F[0]))}else{var I=u.getPointOn(y,Q);I&&l.attr({x:I[0]+_,y:I[1]+C});var U=c.getRawValue(F[0]),T=c.getRawValue(F[1]);a&&(E=e0(n,v,U,T,x.t))}i.lastFrameIndex=F[0]}else{var H=t===1||i.lastFrameIndex>0?F[0]:0,I=tC(f,H);a&&(E=c.getRawValue(H)),l.attr({x:I[0]+_,y:I[1]+C})}if(a){var P=Di(l);typeof P.setLabelText=="function"&&P.setLabelText(E)}}},e.prototype._doUpdateAnimation=function(t,r,n,i,a,o,s){var l=this._polyline,u=this._polygon,f=t.hostModel,c=bL(this._data,t,this._stackedOnPoints,r,this._coordSys,n,this._valueOrigin),h=c.current,v=c.stackedOnCurrent,d=c.next,g=c.stackedOnNext;if(a&&(v=Kr(c.stackedOnCurrent,c.current,n,a,s),h=Kr(c.current,null,n,a,s),g=Kr(c.stackedOnNext,c.next,n,a,s),d=Kr(c.next,null,n,a,s)),jw(h,d)>3e3||u&&jw(v,g)>3e3){l.stopAnimation(),l.setShape({points:d}),u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:g}));return}l.shape.__points=c.current,l.shape.points=h;var p={shape:{points:d}};c.current!==h&&(p.shape.__points=c.next),l.stopAnimation(),Ft(l,p,f),u&&(u.setShape({points:h,stackedOnPoints:v}),u.stopAnimation(),Ft(u,{shape:{stackedOnPoints:g}},f),l.shape.points!==u.shape.points&&(u.shape.points=l.shape.points));for(var B=[],m=c.status,y=0;y<m.length;y++){var _=m[y].cmd;if(_==="="){var C=t.getItemGraphicEl(m[y].idx1);C&&B.push({el:C,ptIdx:y})}}l.animators&&l.animators.length&&l.animators[0].during(function(){u&&u.dirtyShape();for(var Q=l.shape.__points,x=0;x<B.length;x++){var F=B[x].el,S=B[x].ptIdx*2;F.x=Q[S],F.y=Q[S+1],F.markRedraw()}})},e.prototype.remove=function(t){var r=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(i,a){i.__temp&&(r.remove(i),n.setItemGraphicEl(a,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e})(FA);function KL(A,e){return{seriesType:A,plan:rv(),reset:function(t){var r=t.getData(),n=t.coordinateSystem;if(t.pipelineContext,!!n){var i=Be(n.dimensions,function(f){return r.mapDimension(f)}).slice(0,2),a=i.length,o=r.getCalculationInfo("stackResultDimension");Xi(r,i[0])&&(i[0]=o),Xi(r,i[1])&&(i[1]=o);var s=r.getStore(),l=r.getDimensionIndex(i[0]),u=r.getDimensionIndex(i[1]);return a&&{progress:function(f,c){for(var h=f.end-f.start,v=hr(h*a),d=[],g=[],p=f.start,B=0;p<f.end;p++){var m=void 0;if(a===1){var y=s.get(l,p);m=n.dataToPoint(y,null,g)}else d[0]=s.get(l,p),d[1]=s.get(u,p),m=n.dataToPoint(d,null,g);v[B++]=m[0],v[B++]=m[1]}c.setLayout("points",v)}}}}}}var GL={average:function(A){for(var e=0,t=0,r=0;r<A.length;r++)isNaN(A[r])||(e+=A[r],t++);return t===0?NaN:e/t},sum:function(A){for(var e=0,t=0;t<A.length;t++)e+=A[t]||0;return e},max:function(A){for(var e=-1/0,t=0;t<A.length;t++)A[t]>e&&(e=A[t]);return isFinite(e)?e:NaN},min:function(A){for(var e=1/0,t=0;t<A.length;t++)A[t]<e&&(e=A[t]);return isFinite(e)?e:NaN},nearest:function(A){return A[0]}},zL=function(A){return Math.round(A.length/2)};function rC(A){return{seriesType:A,reset:function(e,t,r){var n=e.getData(),i=e.get("sampling"),a=e.coordinateSystem,o=n.count();if(o>10&&a.type==="cartesian2d"&&i){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),f=r.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(f||1),h=Math.round(o/c);if(isFinite(h)&&h>1){i==="lttb"?e.setData(n.lttbDownSample(n.mapDimension(l.dim),1/h)):i==="minmax"&&e.setData(n.minmaxDownSample(n.mapDimension(l.dim),1/h));var v=void 0;ue(i)?v=GL[i]:me(i)&&(v=i),v&&e.setData(n.downSample(n.mapDimension(l.dim),1/h,v,zL))}}}}}function WL(A){A.registerChartView(VL),A.registerSeriesModel(_L),A.registerLayout(KL("line")),A.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),r=e.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",r)}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,rC("line"))}var jv=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,r){return Sv(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,r,n){var i=this.coordinateSystem;if(i&&i.clampData){var a=i.clampData(t),o=i.dataToPoint(a);if(n)b(i.getAxes(),function(c,h){if(c.type==="category"&&r!=null){var v=c.getTicksCoords(),d=c.getTickModel().get("alignWithLabel"),g=a[h],p=r[h]==="x1"||r[h]==="y1";if(p&&!d&&(g+=1),v.length<2)return;if(v.length===2){o[h]=c.toGlobalCoord(c.getExtent()[p?1:0]);return}for(var B=void 0,m=void 0,y=1,_=0;_<v.length;_++){var C=v[_].coord,Q=_===v.length-1?v[_-1].tickValue+y:v[_].tickValue;if(Q===g){m=C;break}else if(Q<g)B=C;else if(B!=null&&Q>g){m=(C+B)/2;break}_===1&&(y=Q-v[0].tickValue)}m==null&&(B?B&&(m=v[v.length-1].coord):m=v[0].coord),o[h]=c.toGlobalCoord(m)}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;o[f]+=l+u/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},e})(JA);JA.registerClass(jv);var YL=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return Sv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>t&&(t=r),t},e.prototype.brushSelector=function(t,r,n){return n.rect(r.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=gl(jv.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:ae.color.primary,borderWidth:2}},realtimeSort:!1}),e})(jv),XL=(function(){function A(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return A})(),nC=(function(A){X(e,A);function e(t){var r=A.call(this,t)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new XL},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.max(r.r0||0,0),o=Math.max(r.r,0),s=(o-a)*.5,l=a+s,u=r.startAngle,f=r.endAngle,c=r.clockwise,h=Math.PI*2,v=c?f-u<h:u-f<h;v||(u=f-(c?h:-h));var d=Math.cos(u),g=Math.sin(u),p=Math.cos(f),B=Math.sin(f);v?(t.moveTo(d*a+n,g*a+i),t.arc(d*l+n,g*l+i,s,-Math.PI+u,u,!c)):t.moveTo(d*o+n,g*o+i),t.arc(n,i,o,u,f,!c),t.arc(p*l+n,B*l+i,s,f-Math.PI*2,f-Math.PI,!c),a!==0&&t.arc(n,i,a,f,u,c)},e})(Ne);function ZL(A,e){e=e||{};var t=e.isRoundCap;return function(r,n,i){var a=n.position;if(!a||a instanceof Array)return Fs(r,n,i);var o=A(a),s=n.distance!=null?n.distance:5,l=this.shape,u=l.cx,f=l.cy,c=l.r,h=l.r0,v=(c+h)/2,d=l.startAngle,g=l.endAngle,p=(d+g)/2,B=t?Math.abs(c-h)/2:0,m=Math.cos,y=Math.sin,_=u+c*m(d),C=f+c*y(d),Q="left",x="top";switch(o){case"startArc":_=u+(h-s)*m(p),C=f+(h-s)*y(p),Q="center",x="top";break;case"insideStartArc":_=u+(h+s)*m(p),C=f+(h+s)*y(p),Q="center",x="bottom";break;case"startAngle":_=u+v*m(d)+vu(d,s+B,!1),C=f+v*y(d)+du(d,s+B,!1),Q="right",x="middle";break;case"insideStartAngle":_=u+v*m(d)+vu(d,-s+B,!1),C=f+v*y(d)+du(d,-s+B,!1),Q="left",x="middle";break;case"middle":_=u+v*m(p),C=f+v*y(p),Q="center",x="middle";break;case"endArc":_=u+(c+s)*m(p),C=f+(c+s)*y(p),Q="center",x="bottom";break;case"insideEndArc":_=u+(c-s)*m(p),C=f+(c-s)*y(p),Q="center",x="top";break;case"endAngle":_=u+v*m(g)+vu(g,s+B,!0),C=f+v*y(g)+du(g,s+B,!0),Q="left",x="middle";break;case"insideEndAngle":_=u+v*m(g)+vu(g,-s+B,!0),C=f+v*y(g)+du(g,-s+B,!0),Q="right",x="middle";break;default:return Fs(r,n,i)}return r=r||{},r.x=_,r.y=C,r.align=Q,r.verticalAlign=x,r}}function JL(A,e,t,r){if(We(r)){A.setTextConfig({rotation:r});return}else if(ie(e)){A.setTextConfig({rotation:0});return}var n=A.shape,i=n.clockwise?n.startAngle:n.endAngle,a=n.clockwise?n.endAngle:n.startAngle,o=(i+a)/2,s,l=t(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":s=o;break;case"startAngle":case"insideStartAngle":s=i;break;case"endAngle":case"insideEndAngle":s=a;break;default:A.setTextConfig({rotation:0});return}var u=Math.PI*1.5-s;l==="middle"&&u>Math.PI/2&&u<Math.PI*1.5&&(u-=Math.PI),A.setTextConfig({rotation:u})}function vu(A,e,t){return e*Math.sin(A)*(t?-1:1)}function du(A,e,t){return e*Math.cos(A)*(t?1:-1)}function qL(A,e,t){var r=A.get("borderRadius");if(r==null)return{cornerRadius:0};ie(r)||(r=[r,r,r,r]);var n=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Be(r,function(i){return xr(i,n)})}}var ed=Math.max,td=Math.min;function $L(A,e){var t=A.getArea&&A.getArea();if(qv(A,"cartesian2d")){var r=A.getBaseAxis();if(r.type!=="category"||!r.onBand){var n=e.getLayout("bandWidth");r.isHorizontal()?(t.x-=n,t.width+=n*2):(t.y-=n,t.height+=n*2)}}return t}var jL=(function(A){X(e,A);function e(){var t=A.call(this)||this;return t.type=e.type,t._isFirstFrame=!0,t}return e.prototype.render=function(t,r,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var a=t.get("coordinateSystem");a==="cartesian2d"||a==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,r,n):this._renderNormal(t,r,n,i)):process.env.NODE_ENV!=="production"&&Qt("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,r){this._progressiveEls=[],this._incrementalRenderLarge(t,r)},e.prototype.eachRendered=function(t){fl(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var r=t.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(t,r,n,i){var a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),f;l.type==="cartesian2d"?f=u.isHorizontal():l.type==="polar"&&(f=u.dim==="angle");var c=t.isAnimationEnabled()?t:null,h=eM(t,l);h&&this._enableRealtimeSort(h,o,n);var v=t.get("clip",!0)||h,d=$L(l,o);a.removeClipPath();var g=t.get("roundCap",!0),p=t.get("showBackground",!0),B=t.getModel("backgroundStyle"),m=B.get("borderRadius")||0,y=[],_=this._backgroundEls,C=i&&i.isInitSort,Q=i&&i.type==="changeAxisOrder";function x(E){var I=pu[l.type](o,E);if(!I)return null;var U=oM(l,f,I);return U.useStyle(B.getItemStyle()),l.type==="cartesian2d"?U.setShape("r",m):U.setShape("cornerRadius",m),y[E]=U,U}o.diff(s).add(function(E){var I=o.getItemModel(E),U=pu[l.type](o,E,I);if(U&&(p&&x(E),!(!o.hasValue(E)||!lC[l.type](U)))){var T=!1;v&&(T=iC[l.type](d,U));var H=aC[l.type](t,o,E,U,f,c,u.model,!1,g);h&&(H.forceLabelAnimation=!0),fC(H,o,E,I,U,t,f,l.type==="polar"),C?H.attr({shape:U}):h?oC(h,c,H,U,E,f,!1,!1):lA(H,{shape:U},t,E),o.setItemGraphicEl(E,H),a.add(H),H.ignore=T}}).update(function(E,I){var U=o.getItemModel(E),T=pu[l.type](o,E,U);if(T){if(p){var H=void 0;_.length===0?H=x(I):(H=_[I],H.useStyle(B.getItemStyle()),l.type==="cartesian2d"?H.setShape("r",m):H.setShape("cornerRadius",m),y[E]=H);var P=pu[l.type](o,E),Z=dC(f,P,l);Ft(H,{shape:Z},c,E)}var K=s.getItemGraphicEl(I);if(!o.hasValue(E)||!lC[l.type](T)){a.remove(K);return}var Y=!1;v&&(Y=iC[l.type](d,T),Y&&a.remove(K));var ee=K&&(K.type==="sector"&&g||K.type==="sausage"&&!g);if(ee&&(K&&sl(K,t,I),K=null),K?fB(K):K=aC[l.type](t,o,E,T,f,c,u.model,!0,g),h&&(K.forceLabelAnimation=!0),Q){var D=K.getTextContent();if(D){var M=Di(D);M.prevValue!=null&&(M.prevValue=M.value)}}else fC(K,o,E,U,T,t,f,l.type==="polar");C?K.attr({shape:T}):h?oC(h,c,K,T,E,f,!0,Q):Ft(K,{shape:T},t,E,null),o.setItemGraphicEl(E,K),K.ignore=Y,a.add(K)}}).remove(function(E){var I=s.getItemGraphicEl(E);I&&sl(I,t,E)}).execute();var F=this._backgroundGroup||(this._backgroundGroup=new st);F.removeAll();for(var S=0;S<y.length;++S)F.add(y[S]);a.add(F),this._backgroundEls=y,this._data=o},e.prototype._renderLarge=function(t,r,n){this._clear(),hC(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,r){this._removeBackground(),hC(r,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var r=t.get("clip",!0)&&TL(t.coordinateSystem,!1,t),n=this.group;r?n.setClipPath(r):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,r,n){var i=this;if(r.count()){var a=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,t,n),this._isFirstFrame=!1;else{var o=function(s){var l=r.getItemGraphicEl(s),u=l&&l.shape;return u&&Math.abs(a.isHorizontal()?u.height:u.width)||0};this._onRendered=function(){i._updateSortWithinSameData(r,o,a,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,r,n){var i=[];return t.each(t.mapDimension(r.dim),function(a,o){var s=n(o);s=s??NaN,i.push({dataIndex:o,mappedValue:s,ordinalNumber:a})}),i.sort(function(a,o){return o.mappedValue-a.mappedValue}),{ordinalNumbers:Be(i,function(a){return a.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,r,n){for(var i=n.scale,a=t.mapDimension(n.dim),o=Number.MAX_VALUE,s=0,l=i.getOrdinalMeta().categories.length;s<l;++s){var u=t.rawIndexOf(a,i.getRawOrdinalNumber(s)),f=u<0?Number.MIN_VALUE:r(t.indexOfRawIndex(u));if(f>o)return!0;o=f}return!1},e.prototype._isOrderDifferentInView=function(t,r){for(var n=r.scale,i=n.getExtent(),a=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);a<=o;++a)if(t.ordinalNumbers[a]!==n.getRawOrdinalNumber(a))return!0},e.prototype._updateSortWithinSameData=function(t,r,n,i){if(this._isOrderChangedWithinSameData(t,r,n)){var a=this._dataSort(t,n,r);this._isOrderDifferentInView(a,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:a}))}},e.prototype._dispatchInitSort=function(t,r,n){var i=r.baseAxis,a=this._dataSort(t,i,function(o){return t.get(t.mapDimension(r.otherAxis.dim),o)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:a})},e.prototype.remove=function(t,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(t,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var r=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){sl(i,t,Te(i).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e})(FA),iC={cartesian2d:function(A,e){var t=e.width<0?-1:1,r=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var n=A.x+A.width,i=A.y+A.height,a=ed(e.x,A.x),o=td(e.x+e.width,n),s=ed(e.y,A.y),l=td(e.y+e.height,i),u=o<a,f=l<s;return e.x=u&&a>n?o:a,e.y=f&&s>i?l:s,e.width=u?0:o-a,e.height=f?0:l-s,t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),u||f},polar:function(A,e){var t=e.r0<=e.r?1:-1;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}var n=td(e.r,A.r),i=ed(e.r0,A.r0);e.r=n,e.r0=i;var a=n-i<0;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}return a}},aC={cartesian2d:function(A,e,t,r,n,i,a,o,s){var l=new Je({shape:W({},r),z2:1});if(l.__dataIndex=t,l.name="item",i){var u=l.shape,f=n?"height":"width";u[f]=0}return l},polar:function(A,e,t,r,n,i,a,o,s){var l=!n&&s?nC:Ui,u=new l({shape:r,z2:1});u.name="item";var f=uC(n);if(u.calculateTextPosition=ZL(f,{isRoundCap:l===nC}),i){var c=u.shape,h=n?"r":"endAngle",v={};c[h]=n?r.r0:r.startAngle,v[h]=r[h],(o?Ft:lA)(u,{shape:v},i)}return u}};function eM(A,e){var t=A.get("realtimeSort",!0),r=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&t&&(r.type!=="category"&&Qt("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&Qt("`realtimeSort` will not work because this bar series is not on cartesian2d.")),t&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function oC(A,e,t,r,n,i,a,o){var s,l;i?(l={x:r.x,width:r.width},s={y:r.y,height:r.height}):(l={y:r.y,height:r.height},s={x:r.x,width:r.width}),o||(a?Ft:lA)(t,{shape:s},e,n,null);var u=e?A.baseAxis.model:null;(a?Ft:lA)(t,{shape:l},u,n)}function sC(A,e){for(var t=0;t<e.length;t++)if(!isFinite(A[e[t]]))return!0;return!1}var tM=["x","y","width","height"],AM=["cx","cy","r","startAngle","endAngle"],lC={cartesian2d:function(A){return!sC(A,tM)},polar:function(A){return!sC(A,AM)}},pu={cartesian2d:function(A,e,t){var r=A.getItemLayout(e);if(!r)return null;var n=t?nM(t,r):0,i=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+i*n/2,y:r.y+a*n/2,width:r.width-i*n,height:r.height-a*n}},polar:function(A,e,t){var r=A.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function rM(A){return A.startAngle!=null&&A.endAngle!=null&&A.startAngle===A.endAngle}function uC(A){return(function(e){var t=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+t;default:return r}}})(A)}function fC(A,e,t,r,n,i,a,o){var s=e.getItemVisual(t,"style");if(o){if(!i.get("roundCap")){var u=A.shape,f=qL(r.getModel("itemStyle"),u);W(u,f),A.setShape(u)}}else{var l=r.get(["itemStyle","borderRadius"])||0;A.setShape("r",l)}A.useStyle(s);var c=r.getShallow("cursor");c&&A.attr("cursor",c);var h=o?a?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":a?n.height>=0?"bottom":"top":n.width>=0?"right":"left",v=dl(r);vl(A,v,{labelFetcher:i,labelDataIndex:t,defaultText:Yv(i.getData(),t),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var d=A.getTextContent();if(o&&d){var g=r.get(["label","position"]);A.textConfig.inside=g==="middle"?!0:null,JL(A,g==="outside"?h:g,uC(a),r.get(["label","rotate"]))}uS(d,v,i.getRawValue(t),function(B){return Kw(e,B)});var p=r.getModel(["emphasis"]);qs(A,p.get("focus"),p.get("blurScope"),p.get("disabled")),rh(A,r),rM(n)&&(A.style.fill="none",A.style.stroke="none",b(A.states,function(B){B.style&&(B.style.fill=B.style.stroke="none")}))}function nM(A,e){var t=A.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var r=A.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,n,i)}var iM=(function(){function A(){}return A})(),cC=(function(A){X(e,A);function e(t){var r=A.call(this,t)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new iM},e.prototype.buildPath=function(t,r){for(var n=r.points,i=this.baseDimIdx,a=1-this.baseDimIdx,o=[],s=[],l=this.barWidth,u=0;u<n.length;u+=3)s[i]=l,s[a]=n[u+2],o[i]=n[u+i],o[a]=n[u+a],t.rect(o[0],o[1],s[0],s[1])},e})(Ne);function hC(A,e,t,r){var n=A.getData(),i=n.getLayout("valueAxisHorizontal")?1:0,a=n.getLayout("largeDataIndices"),o=n.getLayout("size"),s=A.getModel("backgroundStyle"),l=n.getLayout("largeBackgroundPoints");if(l){var u=new cC({shape:{points:l},incremental:!!r,silent:!0,z2:0});u.baseDimIdx=i,u.largeDataIndices=a,u.barWidth=o,u.useStyle(s.getItemStyle()),e.add(u),t&&t.push(u)}var f=new cC({shape:{points:n.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=i,f.largeDataIndices=a,f.barWidth=o,e.add(f),f.useStyle(n.getVisual("style")),f.style.stroke=null,Te(f).seriesIndex=A.seriesIndex,A.get("silent")||(f.on("mousedown",vC),f.on("mousemove",vC)),t&&t.push(f)}var vC=nv(function(A){var e=this,t=aM(e,A.offsetX,A.offsetY);Te(e).dataIndex=t>=0?t:null},30,!1);function aM(A,e,t){for(var r=A.baseDimIdx,n=1-r,i=A.shape.points,a=A.largeDataIndices,o=[],s=[],l=A.barWidth,u=0,f=i.length/3;u<f;u++){var c=u*3;if(s[r]=l,s[n]=i[c+2],o[r]=i[c+r],o[n]=i[c+n],s[n]<0&&(o[n]+=s[n],s[n]=-s[n]),e>=o[0]&&e<=o[0]+s[0]&&t>=o[1]&&t<=o[1]+s[1])return a[u]}return-1}function dC(A,e,t){if(qv(t,"cartesian2d")){var r=e,n=t.getArea();return{x:A?r.x:n.x,y:A?n.y:r.y,width:A?r.width:n.width,height:A?n.height:r.height}}else{var n=t.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:A?n.r0:i.r0,r:A?n.r:i.r,startAngle:A?i.startAngle:0,endAngle:A?i.endAngle:Math.PI*2}}}function oM(A,e,t){var r=A.type==="polar"?Ui:Je;return new r({shape:dC(e,t,A),silent:!0,z2:0})}function sM(A){A.registerChartView(jL),A.registerSeriesModel(YL),A.registerLayout(A.PRIORITY.VISUAL.LAYOUT,nt(wD,"bar")),A.registerLayout(A.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,CD("bar")),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,rC("bar")),A.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var pC={left:0,right:0,top:0,bottom:0},gu=["25%","25%"],lM=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.mergeDefaultAndTheme=function(t,r){var n=Oi(t.outerBounds);A.prototype.mergeDefaultAndTheme.apply(this,arguments),n&&t.outerBounds&&Lr(t.outerBounds,n)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&t.outerBounds&&Lr(this.option.outerBounds,t.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:pC,outerBoundsContain:"all",outerBoundsClampWidth:gu[0],outerBoundsClampHeight:gu[1],backgroundColor:ae.color.transparent,borderWidth:1,borderColor:ae.color.neutral30},e})(He),Ad=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Lt).models[0]},e.type="cartesian2dAxis",e})(He);DA(Ad,VD);var gC={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:ae.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:ae.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:ae.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[ae.color.backgroundTint,ae.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:ae.color.neutral00,borderColor:ae.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},uM=Me({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},gC),rd=Me({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:ae.color.axisMinorSplitLine,width:1}}},gC),fM=Me({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},rd),cM=Oe({logBase:10},rd);const hM={category:uM,value:rd,time:fM,log:cM};var vM={value:1,category:1,time:1,log:1},dM=null;function pM(){return dM}function BC(A,e,t,r){b(vM,function(n,i){var a=Me(Me({},hM[i],!0),r,!0),o=(function(s){X(l,s);function l(){var u=s!==null&&s.apply(this,arguments)||this;return u.type=e+"Axis."+i,u}return l.prototype.mergeDefaultAndTheme=function(u,f){var c=Ya(this),h=c?Oi(u):{},v=f.getTheme();Me(u,v.get(i+"Axis")),Me(u,this.getDefaultOption()),u.type=mC(u),c&&Lr(u,h,c)},l.prototype.optionUpdated=function(){var u=this.option;u.type==="category"&&(this.__ordinalMeta=Lv.createByAxisModel(this))},l.prototype.getCategories=function(u){var f=this.option;if(f.type==="category")return u?f.data:this.__ordinalMeta.categories},l.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},l.prototype.updateAxisBreaks=function(u){return{breaks:[]}},l.type=e+"Axis."+i,l.defaultOption=a,l})(t);A.registerComponentModel(o)}),A.registerSubTypeDefaulter(e+"Axis",mC)}function mC(A){return A.type||(A.data?"category":"value")}var gM=(function(){function A(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return A.prototype.getAxis=function(e){return this._axes[e]},A.prototype.getAxes=function(){return Be(this._dimList,function(e){return this._axes[e]},this)},A.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),rt(this.getAxes(),function(t){return t.scale.type===e})},A.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},A})(),nd=["x","y"];function yC(A){return(A.type==="interval"||A.type==="time")&&!A.hasBreaks()}var BM=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=nd,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!yC(t)||!yC(r))){var n=t.getExtent(),i=r.getExtent(),a=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),s=n[1]-n[0],l=i[1]-i[0];if(!(!s||!l)){var u=(o[0]-a[0])/s,f=(o[1]-a[1])/l,c=a[0]-n[0]*u,h=a[1]-i[0]*f,v=this._transform=[u,0,0,f,c,h];this._invTransform=ci([],v)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var r=this.getAxis("x"),n=this.getAxis("y");return r.contain(r.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,r){var n=this.dataToPoint(t),i=this.dataToPoint(r),a=this.getArea(),o=new Fe(n[0],n[1],i[0]-n[0],i[1]-n[1]);return a.intersect(o)},e.prototype.dataToPoint=function(t,r,n){n=n||[];var i=t[0],a=t[1];if(this._transform&&i!=null&&isFinite(i)&&a!=null&&isFinite(a))return tA(n,t,this._transform);var o=this.getAxis("x"),s=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,r)),n[1]=s.toGlobalCoord(s.dataToCoord(a,r)),n},e.prototype.clampData=function(t,r){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),o=i.getExtent(),s=n.parse(t[0]),l=i.parse(t[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),r},e.prototype.pointToData=function(t,r,n){if(n=n||[],this._invTransform)return tA(n,t,this._invTransform);var i=this.getAxis("x"),a=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),r),n[1]=a.coordToData(a.toLocalCoord(t[1]),r),n},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(t){t=t||0;var r=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1])-t,a=Math.min(n[0],n[1])-t,o=Math.max(r[0],r[1])-i+t,s=Math.max(n[0],n[1])-a+t;return new Fe(i,a,o,s)},e})(gM),mM=(function(A){X(e,A);function e(t,r,n,i,a){var o=A.call(this,t,r,n)||this;return o.index=0,o.type=i||"value",o.position=a||"bottom",o}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),t&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(t,r){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e})(AL),yM="expandAxisBreak",Gr=Math.PI,wM=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],CM=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],Bo=Ge(),wC=Ge(),CC=(function(){function A(e){this.recordMap={},this.resolveAxisNameOverlap=e}return A.prototype.ensureRecord=function(e){var t=e.axis.dim,r=e.componentIndex,n=this.recordMap,i=n[t]||(n[t]=[]);return i[r]||(i[r]={ready:{}})},A})();function _M(A,e,t,r){var n=t.axis,i=e.ensureRecord(t),a=[],o,s=ad(A.axisName)&&Ji(A.nameLocation);b(r,function(v){var d=Pr(v);if(!(!d||d.label.ignore)){a.push(d);var g=i.transGroup;s&&(g.transform?ci(mo,g.transform):Vf(mo),d.transform&&da(mo,mo,d.transform),Fe.copy(Bu,d.localRect),Bu.applyTransform(mo),o?o.union(Bu):Fe.copy(o=new Fe(0,0,0,0),Bu))}});var l=Math.abs(i.dirVec.x)>.1?"x":"y",u=i.transGroup[l];if(a.sort(function(v,d){return Math.abs(v.label[l]-u)-Math.abs(d.label[l]-u)}),s&&o){var f=n.getExtent(),c=Math.min(f[0],f[1]),h=Math.max(f[0],f[1])-c;o.union(new Fe(c,0,h,1))}i.stOccupiedRect=o,i.labelInfoList=a}var mo=rr(),Bu=new Fe(0,0,0,0),_C=function(A,e,t,r,n,i){if(Ji(A.nameLocation)){var a=i.stOccupiedRect;a&&QC(dL({},a,i.transGroup.transform),r,n)}else xC(i.labelInfoList,i.dirVec,r,n)};function QC(A,e,t){var r=new be;Gv(A,e,r,{direction:Math.atan2(t.y,t.x),bidirectional:!1,touchThreshold:.05})&&pL(e,r)}function xC(A,e,t,r){for(var n=be.dot(r,e)>=0,i=0,a=A.length;i<a;i++){var o=A[n?i:a-1-i];o.label.ignore||QC(o,t,r)}}var zr=(function(){function A(e,t,r,n){this.group=new st,this._axisModel=e,this._api=t,this._local={},this._shared=n||new CC(_C),this._resetCfgDetermined(r)}return A.prototype.updateCfg=function(e){if(process.env.NODE_ENV!=="production"){var t=this._shared.ensureRecord(this._axisModel).ready;ce(!t.axisLine&&!t.axisTickLabelDetermine),t.axisName=t.axisTickLabelEstimate=!1}var r=this._cfg.raw;r.position=e.position,r.labelOffset=e.labelOffset,this._resetCfgDetermined(r)},A.prototype.__getRawCfg=function(){return this._cfg.raw},A.prototype._resetCfgDetermined=function(e){var t=this._axisModel,r=t.getDefaultOption?t.getDefaultOption():{},n=de(e.axisName,t.get("name")),i=t.get("nameMoveOverlap");(i==null||i==="auto")&&(i=de(e.defaultNameMoveOverlap,!0));var a={raw:e,position:e.position,rotation:e.rotation,nameDirection:de(e.nameDirection,1),tickDirection:de(e.tickDirection,1),labelDirection:de(e.labelDirection,1),labelOffset:de(e.labelOffset,0),silent:de(e.silent,!0),axisName:n,nameLocation:wr(t.get("nameLocation"),r.nameLocation,"end"),shouldNameMoveOverlap:ad(n)&&i,optionHideOverlap:t.get(["axisLabel","hideOverlap"]),showMinorTicks:t.get(["minorTick","show"])};process.env.NODE_ENV!=="production"&&(ce(a.position!=null),ce(a.rotation!=null)),this._cfg=a;var o=new st({x:a.position[0],y:a.position[1],rotation:a.rotation});o.updateTransform(),this._transformGroup=o;var s=this._shared.ensureRecord(t);s.transGroup=this._transformGroup,s.dirVec=new be(Math.cos(-a.rotation),Math.sin(-a.rotation))},A.prototype.build=function(e,t){var r=this;return e||(e={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),b(QM,function(n){e[n]&&xM[n](r._cfg,r._local,r._shared,r._axisModel,r.group,r._transformGroup,r._api,t||{})}),this},A.innerTextLayout=function(e,t,r){var n=Rg(t-e),i,a;return Ss(n)?(a=r>0?"top":"bottom",i="center"):Ss(n-Gr)?(a=r>0?"bottom":"top",i="center"):(a="middle",n>0&&n<Gr?i=r>0?"right":"left":i=r>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:a}},A.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},A.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},A})(),QM=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],xM={axisLine:function(A,e,t,r,n,i,a){if(process.env.NODE_ENV!=="production"){var o=t.ensureRecord(r).ready;ce(!o.axisLine),o.axisLine=!0}var s=r.get(["axisLine","show"]);if(s==="auto"&&(s=!0,A.raw.axisLineAutoShow!=null&&(s=!!A.raw.axisLineAutoShow)),!!s){var l=r.axis.getExtent(),u=i.transform,f=[l[0],0],c=[l[1],0],h=f[0]>c[0];u&&(tA(f,f,u),tA(c,c,u));var v=W({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:A.raw.strokeContainThreshold||5,silent:!0,z2:1,style:v};if(r.get(["axisLine","breakLine"])&&r.axis.scale.hasBreaks())pM().buildAxisBreakLine(r,n,i,d);else{var g=new Ir(W({shape:{x1:f[0],y1:f[1],x2:c[0],y2:c[1]}},d));Pa(g.shape,g.style.lineWidth),g.anid="line",n.add(g)}var p=r.get(["axisLine","symbol"]);if(p!=null){var B=r.get(["axisLine","symbolSize"]);ue(p)&&(p=[p,p]),(ue(B)||We(B))&&(B=[B,B]);var m=ay(r.get(["axisLine","symbolOffset"])||0,B),y=B[0],_=B[1];b([{rotate:A.rotation+Math.PI/2,offset:m[0],r:0},{rotate:A.rotation-Math.PI/2,offset:m[1],r:Math.sqrt((f[0]-c[0])*(f[0]-c[0])+(f[1]-c[1])*(f[1]-c[1]))}],function(C,Q){if(p[Q]!=="none"&&p[Q]!=null){var x=Hr(p[Q],-y/2,-_/2,y,_,v.stroke,!0),F=C.r+C.offset,S=h?c:f;x.attr({rotation:C.rotate,x:S[0]+F*Math.cos(A.rotation),y:S[1]-F*Math.sin(A.rotation),silent:!0,z2:11}),n.add(x)}})}}},axisTickLabelEstimate:function(A,e,t,r,n,i,a,o){if(process.env.NODE_ENV!=="production"){var s=t.ensureRecord(r).ready;ce(!s.axisTickLabelDetermine),s.axisTickLabelEstimate=!0}var l=bC(e,n,o);l&&FC(A,e,t,r,n,i,a,bA.estimate)},axisTickLabelDetermine:function(A,e,t,r,n,i,a,o){if(process.env.NODE_ENV!=="production"){var s=t.ensureRecord(r).ready;s.axisTickLabelDetermine=!0}var l=bC(e,n,o);l&&FC(A,e,t,r,n,i,a,bA.determine);var u=SM(A,n,i,r);bM(A,e.labelLayoutList,u),UM(A,n,i,r,A.tickDirection)},axisName:function(A,e,t,r,n,i,a,o){var s=t.ensureRecord(r);if(process.env.NODE_ENV!=="production"){var l=s.ready;ce(l.axisTickLabelEstimate||l.axisTickLabelDetermine),l.axisName=!0}e.nameEl&&(n.remove(e.nameEl),e.nameEl=s.nameLayout=s.nameLocation=null);var u=A.axisName;if(ad(u)){var f=A.nameLocation,c=A.nameDirection,h=r.getModel("nameTextStyle"),v=r.get("nameGap")||0,d=r.axis.getExtent(),g=r.axis.inverse?-1:1,p=new be(0,0),B=new be(0,0);f==="start"?(p.x=d[0]-g*v,B.x=-g):f==="end"?(p.x=d[1]+g*v,B.x=g):(p.x=(d[0]+d[1])/2,p.y=A.labelOffset+c*v,B.y=c);var m=rr();B.transform(Gf(m,m,A.rotation));var y=r.get("nameRotate");y!=null&&(y=y*Gr/180);var _,C;Ji(f)?_=zr.innerTextLayout(A.rotation,y??A.rotation,c):(_=FM(A.rotation,f,y||0,d),C=A.raw.axisNameAvailableWidth,C!=null&&(C=Math.abs(C/Math.sin(_.rotation)),!isFinite(C)&&(C=null)));var Q=h.getFont(),x=r.get("nameTruncate",!0)||{},F=x.ellipsis,S=ii(A.raw.nameTruncateMaxWidth,x.maxWidth,C),E=o.nameMarginLevel||0,I=new Ht({x:p.x,y:p.y,rotation:_.rotation,silent:zr.isLabelSilent(r),style:Un(h,{text:u,font:Q,overflow:"truncate",width:S,ellipsis:F,fill:h.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:h.get("align")||_.textAlign,verticalAlign:h.get("verticalAlign")||_.textVerticalAlign}),z2:1});if(ul({el:I,componentModel:r,itemName:u}),I.__fullText=u,I.anid="name",r.get("triggerEvent")){var U=zr.makeAxisEventDataBase(r);U.targetType="axisName",U.name=u,Te(I).eventData=U}i.add(I),I.updateTransform(),e.nameEl=I;var T=s.nameLayout=Pr({label:I,priority:I.z2,defaultAttr:{ignore:I.ignore},marginDefault:Ji(f)?wM[E]:CM[E]});if(s.nameLocation=f,n.add(I),I.decomposeTransform(),A.shouldNameMoveOverlap&&T){var H=t.ensureRecord(r);process.env.NODE_ENV!=="production"&&ce(H.labelInfoList),t.resolveAxisNameOverlap(A,t,r,T,B,H)}}}};function FC(A,e,t,r,n,i,a,o){SC(e)||IM(A,e,n,o,r,a);var s=e.labelLayoutList;TM(A,r,s,i),A.rotation;var l=A.optionHideOverlap;EM(r,s,l),l&&kw(rt(s,function(u){return u&&!u.label.ignore})),_M(A,t,r,s)}function FM(A,e,t,r){var n=Rg(t-A),i,a,o=r[0]>r[1],s=e==="start"&&!o||e!=="start"&&o;return Ss(n-Gr/2)?(a=s?"bottom":"top",i="center"):Ss(n-Gr*1.5)?(a=s?"top":"bottom",i="center"):(a="middle",n<Gr*1.5&&n>Gr/2?i=s?"left":"right":i=s?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:a}}function EM(A,e,t){if(yw(A.axis))return;function r(o,s,l){var u=Pr(e[s]),f=Pr(e[l]);if(!(!u||!f)){if(o===!1||u.suggestIgnore){yo(u.label);return}if(f.suggestIgnore){yo(f.label);return}var c=.1;if(!t){var h=[0,0,0,0];u=Kv({marginForce:h},u),f=Kv({marginForce:h},f)}Gv(u,f,null,{touchThreshold:c})&&yo(o?f.label:u.label)}}var n=A.get(["axisLabel","showMinLabel"]),i=A.get(["axisLabel","showMaxLabel"]),a=e.length;r(n,0,1),r(i,a-1,a-2)}function bM(A,e,t){A.showMinorTicks||b(e,function(r){if(r&&r.label.ignore)for(var n=0;n<t.length;n++){var i=t[n],a=wC(i),o=Bo(r.label);if(a.tickValue!=null&&!a.onBand&&a.tickValue===o.tickValue){yo(i);return}}})}function yo(A){A&&(A.ignore=!0)}function EC(A,e,t,r,n){for(var i=[],a=[],o=[],s=0;s<A.length;s++){var l=A[s].coord;a[0]=l,a[1]=0,o[0]=l,o[1]=t,e&&(tA(a,a,e),tA(o,o,e));var u=new Ir({shape:{x1:a[0],y1:a[1],x2:o[0],y2:o[1]},style:r,z2:2,autoBatch:!0,silent:!0});Pa(u.shape,u.style.lineWidth),u.anid=n+"_"+A[s].tickValue,i.push(u);var f=wC(u);f.onBand=!!A[s].onBand,f.tickValue=A[s].tickValue}return i}function SM(A,e,t,r){var n=r.axis,i=r.getModel("axisTick"),a=i.get("show");if(a==="auto"&&(a=!0,A.raw.axisTickAutoShow!=null&&(a=!!A.raw.axisTickAutoShow)),!a||n.scale.isBlank())return[];for(var o=i.getModel("lineStyle"),s=A.tickDirection*i.get("length"),l=n.getTicksCoords(),u=EC(l,t.transform,s,Oe(o.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<u.length;f++)e.add(u[f]);return u}function UM(A,e,t,r,n){var i=r.axis,a=r.getModel("minorTick");if(!(!A.showMinorTicks||i.scale.isBlank())){var o=i.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=n*a.get("length"),u=Oe(s.getLineStyle(),Oe(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),f=0;f<o.length;f++)for(var c=EC(o[f],t.transform,l,u,"minorticks_"+f),h=0;h<c.length;h++)e.add(c[h])}}function bC(A,e,t){if(SC(A)){var r=A.axisLabelsCreationContext;process.env.NODE_ENV!=="production"&&ce(A.labelGroup&&r);var n=r.out.noPxChangeTryDetermine;if(t.noPxChange){for(var i=!0,a=0;a<n.length;a++)i=i&&n[a]();if(i)return!1}n.length&&(e.remove(A.labelGroup),id(A,null,null,null))}return!0}function IM(A,e,t,r,n,i){var a=n.axis,o=ii(A.raw.axisLabelShow,n.get(["axisLabel","show"])),s=new st;t.add(s);var l=lu(r);if(!o||a.scale.isBlank()){id(e,[],s,l);return}var u=n.getModel("axisLabel"),f=a.getViewLabels(l),c=(ii(A.raw.labelRotate,u.get("rotate"))||0)*Gr/180,h=zr.innerTextLayout(A.rotation,c,A.labelDirection),v=n.getCategories&&n.getCategories(!0),d=[],g=n.get("triggerEvent"),p=1/0,B=-1/0;b(f,function(y,_){var C,Q=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(y.tickValue):y.tickValue,x=y.formattedLabel,F=y.rawLabel,S=u;if(v&&v[Q]){var E=v[Q];ve(E)&&E.textStyle&&(S=new je(E.textStyle,u,n.ecModel))}var I=S.getTextColor()||n.get(["axisLine","lineStyle","color"]),U=S.getShallow("align",!0)||h.textAlign,T=de(S.getShallow("alignMinLabel",!0),U),H=de(S.getShallow("alignMaxLabel",!0),U),P=S.getShallow("verticalAlign",!0)||S.getShallow("baseline",!0)||h.textVerticalAlign,Z=de(S.getShallow("verticalAlignMinLabel",!0),P),K=de(S.getShallow("verticalAlignMaxLabel",!0),P),Y=10+(((C=y.time)===null||C===void 0?void 0:C.level)||0);p=Math.min(p,Y),B=Math.max(B,Y);var ee=new Ht({x:0,y:0,rotation:0,silent:zr.isLabelSilent(n),z2:Y,style:Un(S,{text:x,align:_===0?T:_===f.length-1?H:U,verticalAlign:_===0?Z:_===f.length-1?K:P,fill:me(I)?I(a.type==="category"?F:a.type==="value"?Q+"":Q,_):I})});ee.anid="label_"+Q;var D=Bo(ee);if(D.break=y.break,D.tickValue=Q,D.layoutRotation=h.rotation,ul({el:ee,componentModel:n,itemName:x,formatterParamsExtra:{isTruncated:function(){return ee.isTruncated},value:F,tickIndex:_}}),g){var M=zr.makeAxisEventDataBase(n);M.targetType="axisLabel",M.value=F,M.tickIndex=_,y.break&&(M.break={start:y.break.parsedBreak.vmin,end:y.break.parsedBreak.vmax}),a.type==="category"&&(M.dataIndex=Q),Te(ee).eventData=M,y.break&&LM(n,i,ee,y.break)}d.push(ee),s.add(ee)});var m=Be(d,function(y){return{label:y,priority:Bo(y).break?y.z2+(B-p+1):y.z2,defaultAttr:{ignore:y.ignore}}});id(e,m,s,l)}function SC(A){return!!A.labelLayoutList}function id(A,e,t,r){A.labelLayoutList=e,A.labelGroup=t,A.axisLabelsCreationContext=r}function TM(A,e,t,r){var n=e.get(["axisLabel","margin"]);b(t,function(i,a){var o=Pr(i);if(o){var s=o.label,l=Bo(s);o.suggestIgnore=s.ignore,s.ignore=!1,mc(vr,DM),vr.x=e.axis.dataToCoord(l.tickValue),vr.y=A.labelOffset+A.labelDirection*n,vr.rotation=l.layoutRotation,r.add(vr),vr.updateTransform(),r.remove(vr),vr.decomposeTransform(),mc(s,vr),s.markRedraw(),fu(o,!0),Pr(o)}})}var vr=new Je,DM=new Je;function ad(A){return!!A}function LM(A,e,t,r){t.on("click",function(n){var i={type:yM,breaks:[{start:r.parsedBreak.breakOption.start,end:r.parsedBreak.breakOption.end}]};i[A.axis.dim+"AxisIndex"]=A.componentIndex,e.dispatchAction(i)})}function Lk(A,e,t){}function mu(A,e,t){t=t||{};var r=e.axis,n={},i=r.getAxesOnZeroOf()[0],a=r.position,o=i?"onZero":a,s=r.dim,l=[A.x,A.x+A.width,A.y,A.y+A.height],u={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,c=s==="x"?[l[2]-f,l[3]+f]:[l[0]-f,l[1]+f];if(i){var h=i.toGlobalCoord(i.dataToCoord(0));c[u.onZero]=Math.max(Math.min(h,c[1]),c[0])}n.position=[s==="y"?c[u[o]]:l[0],s==="x"?c[u[o]]:l[3]],n.rotation=Math.PI/2*(s==="x"?0:1);var v={top:-1,bottom:1,left:-1,right:1};n.labelDirection=n.tickDirection=n.nameDirection=v[a],n.labelOffset=i?c[u[a]]-c[u.onZero]:0,e.get(["axisTick","inside"])&&(n.tickDirection=-n.tickDirection),ii(t.labelInside,e.get(["axisLabel","inside"]))&&(n.labelDirection=-n.labelDirection);var d=e.get(["axisLabel","rotate"]);return n.labelRotate=o==="top"?-d:d,n.z2=1,n}function MM(A){return A.coordinateSystem&&A.coordinateSystem.type==="cartesian2d"}function UC(A){var e={xAxisModel:null,yAxisModel:null};return b(e,function(t,r){var n=r.replace(/Model$/,""),i=A.getReferringComponents(n,Lt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error(n+' "'+wr(A.get(n+"Index"),A.get(n+"Id"),0)+'" not found');e[r]=i}),e}function HM(A,e,t,r,n,i){for(var a=mu(A,t),o=!1,s=!1,l=0;l<e.length;l++)Uv(e[l].getOtherAxis(t.axis).scale)&&(o=s=!0,t.axis.type==="category"&&t.axis.onBand&&(s=!1));return a.axisLineAutoShow=o,a.axisTickAutoShow=s,a.defaultNameMoveOverlap=i,new zr(t,r,a,n)}function OM(A,e,t){var r=mu(e,t);if(process.env.NODE_ENV!=="production"){var n=A.__getRawCfg();b(Ye(r),function(i){i!=="position"&&i!=="labelOffset"&&ce(r[i]===n[i])})}A.updateCfg(r)}function RM(A,e,t){var r,n=Zi.prototype,i=n.getTicks.call(t),a=n.getTicks.call(t,{expandToNicedExtent:!0}),o=i.length-1,s=n.getInterval.call(t),l=Bw(A,e),u=l.extent,f=l.fixMin,c=l.fixMax;A.type==="log"&&(u=Dv(A.base,u,!0)),A.setBreaksFromOption(Cw(e)),A.setExtent(u[0],u[1]),A.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:c});var h=n.getExtent.call(A);f&&(u[0]=h[0]),c&&(u[1]=h[1]);var v=n.getInterval.call(A),d=u[0],g=u[1];if(f&&c)v=(g-d)/o;else if(f)for(g=u[0]+v*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)v=Iv(v),g=u[0]+v*o;else if(c)for(d=u[1]-v*o;d>u[0]&&isFinite(d)&&isFinite(u[0]);)v=Iv(v),d=u[1]-v*o;else{var p=A.getTicks().length-1;p>o&&(v=Iv(v));var B=v*o;g=Math.ceil(u[1]/v)*v,d=yt(g-B),d<0&&u[0]>=0?(d=0,g=yt(B)):g>0&&u[1]<=0&&(g=0,d=-yt(B))}var m=(i[0].value-a[0].value)/s,y=(i[o].value-a[o].value)/s;if(n.setExtent.call(A,d+v*m,g+v*y),n.setInterval.call(A,v),(m||y)&&n.setNiceExtent.call(A,d+v,g-v),process.env.NODE_ENV!=="production"){var _=n.getTicks.call(A);_[1]&&(!uD(v)||Fc(_[1].value)>Fc(v))&&Qt("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+(" and alignTicks: true. ("+((r=e.axis)===null||r===void 0?void 0:r.dim)+"AxisIndex: "+e.componentIndex+")"),!0)}}var IC=[[3,1],[0,2]],NM=(function(){function A(e,t,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=nd,this._initCartesian(e,t,r),this.model=e}return A.prototype.getRect=function(){return this._rect},A.prototype.update=function(e,t){var r=this._axesMap;this._updateScale(e,this.model);function n(a){var o,s=Ye(a),l=s.length;if(l){for(var u=[],f=l-1;f>=0;f--){var c=+s[f],h=a[c],v=h.model,d=h.scale;Uv(d)&&v.get("alignTicks")&&v.get("interval")==null?u.push(h):(mw(d,v),Uv(d)&&(o=h))}u.length&&(o||(o=u.pop(),mw(o.scale,o.model)),b(u,function(g){RM(g.scale,g.model,o.scale)}))}}n(r.x),n(r.y);var i={};b(r.x,function(a){TC(r,"y",a,i)}),b(r.y,function(a){TC(r,"x",a,i)}),this.resize(this.model,t)},A.prototype.resize=function(e,t,r){var n=Ph(e,t),i=this._rect=Hi(e.getBoxLayoutParams(),n.refContainer),a=this._axesMap,o=this._coordsList,s=e.get("containLabel");if(LC(a,i),!r){var l=kM(i,o,a,s,t),u=void 0;if(s)process.env.NODE_ENV!=="production"&&zg("Specified `grid.containLabel` but no `use(LegacyGridContainLabel)`;use `grid.outerBounds` instead.",!0),u=HC(i.clone(),"axisLabel",null,i,a,l,n);else{var f=VM(e,i,n),c=f.outerBoundsRect,h=f.parsedOuterBoundsContain,v=f.outerBoundsClamp;c&&(u=HC(c,h,v,i,a,l,n))}OC(i,a,bA.determine,null,u,n)}b(this._coordsList,function(d){d.calcAffineTransform()})},A.prototype.getAxis=function(e,t){var r=this._axesMap[e];if(r!=null)return r[t||0]},A.prototype.getAxes=function(){return this._axesList.slice()},A.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var r="x"+e+"y"+t;return this._coordsMap[r]}ve(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===e||i[n].getAxis("y").index===t)return i[n]},A.prototype.getCartesians=function(){return this._coordsList.slice()},A.prototype.convertToPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},A.prototype.convertFromPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},A.prototype._findConvertTarget=function(e){var t=e.seriesModel,r=e.xAxisModel||t&&t.getReferringComponents("xAxis",Lt).models[0],n=e.yAxisModel||t&&t.getReferringComponents("yAxis",Lt).models[0],i=e.gridModel,a=this._coordsList,o,s;if(t)o=t.coordinateSystem,Ie(a,o)<0&&(o=null);else if(r&&n)o=this.getCartesian(r.componentIndex,n.componentIndex);else if(r)s=this.getAxis("x",r.componentIndex);else if(n)s=this.getAxis("y",n.componentIndex);else if(i){var l=i.coordinateSystem;l===this&&(o=this._coordsList[0])}return{cartesian:o,axis:s}},A.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},A.prototype._initCartesian=function(e,t,r){var n=this,i=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}this._axesMap=o,b(o.x,function(u,f){b(o.y,function(c,h){var v="x"+f+"y"+h,d=new BM(v);d.master=n,d.model=e,n._coordsMap[v]=d,n._coordsList.push(d),d.addAxis(u),d.addAxis(c)})});function l(u){return function(f,c){if(od(f,e)){var h=f.get("position");u==="x"?h!=="top"&&h!=="bottom"&&(h=a.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=a.left?"right":"left"),a[h]=!0;var v=new mM(u,ND(f),[0,0],f.get("type"),h),d=v.type==="category";v.onBand=d&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=i,v.index=c,i._axesList.push(v),o[u][c]=v,s[u]++}}}},A.prototype._updateScale=function(e,t){b(this._axesList,function(n){if(n.scale.setExtent(1/0,-1/0),n.type==="category"){var i=n.model.get("categorySortInfo");n.scale.setSortInfo(i)}}),e.eachSeries(function(n){if(MM(n)){var i=UC(n),a=i.xAxisModel,o=i.yAxisModel;if(!od(a,t)||!od(o,t))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=n.getData(),u=s.getAxis("x"),f=s.getAxis("y");r(l,u),r(l,f)}},this);function r(n,i){b(ww(n,i.dim),function(a){i.scale.unionExtentFromData(n,a)})}},A.prototype.getTooltipAxes=function(e){var t=[],r=[];return b(this.getCartesians(),function(n){var i=e!=null&&e!=="auto"?n.getAxis(e):n.getBaseAxis(),a=n.getOtherAxis(i);Ie(t,i)<0&&t.push(i),Ie(r,a)<0&&r.push(a)}),{baseAxes:t,otherAxes:r}},A.create=function(e,t){var r=[];return e.eachComponent("grid",function(n,i){var a=new A(n,e,t);a.name="grid_"+i,a.resize(n,t,!0),n.coordinateSystem=a,r.push(a)}),e.eachSeries(function(n){kS({targetModel:n,coordSysType:"cartesian2d",coordSysProvider:i});function i(){var a=UC(n),o=a.xAxisModel,s=a.yAxisModel,l=o.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!l)throw new Error('Grid "'+wr(o.get("gridIndex"),o.get("gridId"),0)+'" not found');if(o.getCoordSysModel()!==s.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var u=l.coordinateSystem;return u.getCartesian(o.componentIndex,s.componentIndex)}}),r},A.dimensions=nd,A})();function od(A,e){return A.getCoordSysModel()===e}function TC(A,e,t,r){t.getAxesOnZeroOf=function(){return i?[i]:[]};var n=A[e],i,a=t.model,o=a.get(["axisLine","onZero"]),s=a.get(["axisLine","onZeroAxisIndex"]);if(!o)return;if(s!=null)DC(n[s])&&(i=n[s]);else for(var l in n)if(n.hasOwnProperty(l)&&DC(n[l])&&!r[u(n[l])]){i=n[l];break}i&&(r[u(i)]=!0);function u(f){return f.dim+"_"+f.index}}function DC(A){return A&&A.type!=="category"&&A.type!=="time"&&PD(A)}function PM(A,e){var t=A.getExtent(),r=t[0]+t[1];A.toGlobalCoord=A.dim==="x"?function(n){return n+e}:function(n){return r-n+e},A.toLocalCoord=A.dim==="x"?function(n){return n-e}:function(n){return r-n+e}}function LC(A,e){b(A.x,function(t){return MC(t,e.x,e.width)}),b(A.y,function(t){return MC(t,e.y,e.height)})}function MC(A,e,t){var r=[0,t],n=A.inverse?1:0;A.setExtent(r[n],r[1-n]),PM(A,e)}function HC(A,e,t,r,n,i,a){process.env.NODE_ENV!=="production"&&ce(e==="all"||e==="axisLabel"),OC(r,n,bA.estimate,e,!1,a);var o=[0,0,0,0];l(0),l(1),u(r,0,NaN),u(r,1,NaN);var s=rx(o,function(c){return c>0})==null;return ll(r,o,!0,!0,t),LC(n,r),s;function l(c){b(n[Tr[c]],function(h){if(ho(h.model)){var v=i.ensureRecord(h.model),d=v.labelInfoList;if(d)for(var g=0;g<d.length;g++){var p=d[g],B=h.scale.normalize(Bo(p.label).tickValue);B=c===1?1-B:B,u(p.rect,c,B),u(p.rect,1-c,NaN)}var m=v.nameLayout;if(m){var B=Ji(v.nameLocation)?.5:NaN;u(m.rect,c,B),u(m.rect,1-c,NaN)}}})}function u(c,h,v){var d=A[Tr[h]]-c[Tr[h]],g=c[Ti[h]]+c[Tr[h]]-(A[Ti[h]]+A[Tr[h]]);d=f(d,1-v),g=f(g,v);var p=IC[h][0],B=IC[h][1];o[p]=Zt(o[p],d),o[B]=Zt(o[B],g)}function f(c,h){return c>0&&!ni(h)&&h>1e-4&&(c/=h),c}}function kM(A,e,t,r,n){var i=new CC(KM);return b(t,function(a){return b(a,function(o){if(ho(o.model)){var s=!r;o.axisBuilder=HM(A,e,o.model,n,i,s)}})}),i}function OC(A,e,t,r,n,i){var a=t===bA.determine;b(e,function(l){return b(l,function(u){ho(u.model)&&(OM(u.axisBuilder,A,u.model),u.axisBuilder.build(a?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:n}))})});var o={x:0,y:0};s(0),s(1);function s(l){o[Tr[1-l]]=A[Ti[l]]<=i.refContainer[Ti[l]]*.5?0:1-l===1?2:1}b(e,function(l,u){return b(l,function(f){ho(f.model)&&((r==="all"||a)&&f.axisBuilder.build({axisName:!0},{nameMarginLevel:o[u]}),a&&f.axisBuilder.build({axisLine:!0}))})})}function VM(A,e,t){var r,n=A.get("outerBoundsMode",!0);n==="same"?r=e.clone():n==null||n==="auto"?r=Hi(A.get("outerBounds",!0)||pC,t.refContainer):n!=="none"&&process.env.NODE_ENV!=="production"&&Ke("Invalid grid["+A.componentIndex+"].outerBoundsMode.");var i=A.get("outerBoundsContain",!0),a;i==null||i==="auto"?a="all":Ie(["all","axisLabel"],i)<0?(process.env.NODE_ENV!=="production"&&Ke("Invalid grid["+A.componentIndex+"].outerBoundsContain."),a="all"):a=i;var o=[xc(de(A.get("outerBoundsClampWidth",!0),gu[0]),e.width),xc(de(A.get("outerBoundsClampHeight",!0),gu[1]),e.height)];return{outerBoundsRect:r,parsedOuterBoundsContain:a,outerBoundsClamp:o}}var KM=function(A,e,t,r,n,i){var a=t.axis.dim==="x"?"y":"x";_C(A,e,t,r,n,i),Ji(A.nameLocation)||b(e.recordMap[a],function(o){o&&o.labelInfoList&&o.dirVec&&xC(o.labelInfoList,o.dirVec,r,n)})};function GM(A,e){var t={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return zM(t,A,e),t.seriesInvolved&&YM(t,A),t}function zM(A,e,t){var r=e.getComponent("tooltip"),n=e.getComponent("axisPointer"),i=n.get("link",!0)||[],a=[];b(t.getCoordinateSystems(),function(o){if(!o.axisPointerEnabled)return;var s=wo(o.model),l=A.coordSysAxesInfo[s]={};A.coordSysMap[s]=o;var u=o.model,f=u.getModel("tooltip",r);if(b(o.getAxes(),nt(d,!1,null)),o.getTooltipAxes&&r&&f.get("show")){var c=f.get("trigger")==="axis",h=f.get(["axisPointer","type"])==="cross",v=o.getTooltipAxes(f.get(["axisPointer","axis"]));(c||h)&&b(v.baseAxes,nt(d,h?"cross":!0,c)),h&&b(v.otherAxes,nt(d,"cross",!1))}function d(g,p,B){var m=B.model.getModel("axisPointer",n),y=m.get("show");if(!(!y||y==="auto"&&!g&&!ud(m))){p==null&&(p=m.get("triggerTooltip")),m=g?WM(B,f,n,e,g,p):m;var _=m.get("snap"),C=m.get("triggerEmphasis"),Q=wo(B.model),x=p||_||B.type==="category",F=A.axesInfo[Q]={key:Q,axis:B,coordSys:o,axisPointerModel:m,triggerTooltip:p,triggerEmphasis:C,involveSeries:x,snap:_,useHandle:ud(m),seriesModels:[],linkGroup:null};l[Q]=F,A.seriesInvolved=A.seriesInvolved||x;var S=XM(i,B);if(S!=null){var E=a[S]||(a[S]={axesInfo:{}});E.axesInfo[Q]=F,E.mapper=i[S].mapper,F.linkGroup=E}}}})}function WM(A,e,t,r,n,i){var a=e.getModel("axisPointer"),o=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],s={};b(o,function(c){s[c]=Se(a.get(c))}),s.snap=A.type!=="category"&&!!i,a.get("type")==="cross"&&(s.type="line");var l=s.label||(s.label={});if(l.show==null&&(l.show=!1),n==="cross"){var u=a.get(["label","show"]);if(l.show=u??!0,!i){var f=s.lineStyle=a.get("crossStyle");f&&Oe(l,f.textStyle)}}return A.model.getModel("axisPointer",new je(s,t,r))}function YM(A,e){e.eachSeries(function(t){var r=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);!r||!r.model||n==="none"||n===!1||n==="item"||i===!1||t.get(["axisPointer","show"],!0)===!1||b(A.coordSysAxesInfo[wo(r.model)],function(a){var o=a.axis;r.getAxis(o.dim)===o&&(a.seriesModels.push(t),a.seriesDataCount==null&&(a.seriesDataCount=0),a.seriesDataCount+=t.getData().count())})})}function XM(A,e){for(var t=e.model,r=e.dim,n=0;n<A.length;n++){var i=A[n]||{};if(sd(i[r+"AxisId"],t.id)||sd(i[r+"AxisIndex"],t.componentIndex)||sd(i[r+"AxisName"],t.name))return n}}function sd(A,e){return A==="all"||ie(A)&&Ie(A,e)>=0||A===e}function ZM(A){var e=ld(A);if(e){var t=e.axisPointerModel,r=e.axis.scale,n=t.option,i=t.get("status"),a=t.get("value");a!=null&&(a=r.parse(a));var o=ud(t);i==null&&(n.status=o?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(a==null||a>s[1])&&(a=s[1]),a<s[0]&&(a=s[0]),n.value=a,o&&(n.status=e.axis.scale.isBlank()?"hide":"show")}}function ld(A){var e=(A.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[wo(A)]}function JM(A){var e=ld(A);return e&&e.axisPointerModel}function ud(A){return!!A.get(["handle","show"])}function wo(A){return A.type+"||"+A.id}var fd={},RC=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n,i){this.axisPointerClass&&ZM(t),A.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,n,!0)},e.prototype.updateAxisPointer=function(t,r,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,r){var n=this._axisPointer;n&&n.remove(r)},e.prototype.dispose=function(t,r){this._disposeAxisPointer(r),A.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,r,n){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var a=JM(t);a?(this._axisPointer||(this._axisPointer=new i)).render(t,a,r,n):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,r){if(process.env.NODE_ENV!=="production"&&fd[t])throw new Error("axisPointer "+t+" exists");fd[t]=r},e.getAxisPointerClass=function(t){return t&&fd[t]},e.type="axis",e})(xA),cd=Ge();function qM(A,e,t,r){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitArea"),a=i.getModel("areaStyle"),o=a.get("color"),s=r.coordinateSystem.getRect(),l=n.getTicksCoords({tickModel:i,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(l.length){var u=o.length,f=cd(A).splitAreaColors,c=we(),h=0;if(f)for(var v=0;v<l.length;v++){var d=f.get(l[v].tickValue);if(d!=null){h=(d+(u-1)*v)%u;break}}var g=n.toGlobalCoord(l[0].coord),p=a.getAreaStyle();o=ie(o)?o:[o];for(var v=1;v<l.length;v++){var B=n.toGlobalCoord(l[v].coord),m=void 0,y=void 0,_=void 0,C=void 0;n.isHorizontal()?(m=g,y=s.y,_=B-m,C=s.height,g=m+_):(m=s.x,y=g,_=s.width,C=B-y,g=y+C);var Q=l[v-1].tickValue;Q!=null&&c.set(Q,h),e.add(new Je({anid:Q!=null?"area_"+Q:null,shape:{x:m,y,width:_,height:C},style:Oe({fill:o[h]},p),autoBatch:!0,silent:!0})),h=(h+1)%u}cd(A).splitAreaColors=c}}}function $M(A){cd(A).splitAreaColors=null}var jM=["splitArea","splitLine","minorSplitLine","breakArea"],NC=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="CartesianAxisPointer",t}return e.prototype.render=function(t,r,n,i){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new st,this.group.add(this._axisGroup),!!ho(t)){this._axisGroup.add(t.axis.axisBuilder.group),b(jM,function(s){t.get([s,"show"])&&eH[s](this,this._axisGroup,t,t.getCoordSysModel(),n)},this);var o=i&&i.type==="changeAxisOrder"&&i.isInitSort;o||BB(a,this._axisGroup,t),A.prototype.render.call(this,t,r,n,i)}},e.prototype.remove=function(){$M(this)},e.type="cartesianAxis",e})(RC),eH={splitLine:function(A,e,t,r,n){var i=t.axis;if(!i.scale.isBlank()){var a=t.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color"),l=a.get("showMinLine")!==!1,u=a.get("showMaxLine")!==!1;s=ie(s)?s:[s];for(var f=r.coordinateSystem.getRect(),c=i.isHorizontal(),h=0,v=i.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),d=[],g=[],p=o.getLineStyle(),B=0;B<v.length;B++){var m=i.toGlobalCoord(v[B].coord);if(!(B===0&&!l||B===v.length-1&&!u)){var y=v[B].tickValue;c?(d[0]=m,d[1]=f.y,g[0]=m,g[1]=f.y+f.height):(d[0]=f.x,d[1]=m,g[0]=f.x+f.width,g[1]=m);var _=h++%s.length,C=new Ir({anid:y!=null?"line_"+y:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},style:Oe({stroke:s[_]},p),silent:!0});Pa(C.shape,p.lineWidth),e.add(C)}}}},minorSplitLine:function(A,e,t,r,n){var i=t.axis,a=t.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var f=[],c=[],h=o.getLineStyle(),v=0;v<u.length;v++)for(var d=0;d<u[v].length;d++){var g=i.toGlobalCoord(u[v][d].coord);l?(f[0]=g,f[1]=s.y,c[0]=g,c[1]=s.y+s.height):(f[0]=s.x,f[1]=g,c[0]=s.x+s.width,c[1]=g);var p=new Ir({anid:"minor_line_"+u[v][d].tickValue,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:c[0],y2:c[1]},style:h,silent:!0});Pa(p.shape,h.lineWidth),e.add(p)}},splitArea:function(A,e,t,r,n){qM(A,e,t,r)},breakArea:function(A,e,t,r,n){t.axis.scale}},PC=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="xAxis",e})(NC),tH=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=PC.type,t}return e.type="yAxis",e})(NC),AH=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="grid",t}return e.prototype.render=function(t,r){this.group.removeAll(),t.get("show")&&this.group.add(new Je({shape:t.coordinateSystem.getRect(),style:Oe({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e})(xA),kC={offset:0};function rH(A){A.registerComponentView(AH),A.registerComponentModel(lM),A.registerCoordinateSystem("cartesian2d",NM),BC(A,"x",Ad,kC),BC(A,"y",Ad,kC),A.registerComponentView(PC),A.registerComponentView(tH),A.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var nH=Ge();function VC(A,e){return!!nH(A)[e]}Vn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Tt);var iH={axisPointer:1,tooltip:1,brush:1};function aH(A,e,t){var r=e.getComponentByElement(A.topTarget);if(!r||r===t||iH.hasOwnProperty(r.mainType))return!1;var n=r.coordinateSystem;if(!n||n.model===t)return!1;var i=Ka(r),a=Ka(t);return!((i.zlevel-a.zlevel||i.z-a.z)<=0)}var oH=(function(A){X(e,A);function e(t){var r=A.call(this)||this;r._zr=t;var n=ye(r._mousedownHandler,r),i=ye(r._mousemoveHandler,r),a=ye(r._mouseupHandler,r),o=ye(r._mousewheelHandler,r),s=ye(r._pinchHandler,r);return r.enable=function(l,u){var f=u.zInfo,c=Ka(f.component),h=c.z,v=c.zlevel,d={component:f.component,z:h,zlevel:v,z2:de(f.z2,-1/0)},g=W({},u.triggerInfo);this._opt=Oe(W({},u),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:d,triggerInfo:g}),l==null&&(l=!0),(!this._enabled||this._controlType!==l)&&(this._enabled=!0,this.disable(),(l===!0||l==="move"||l==="pan")&&(_o(t,"mousedown",n,d),_o(t,"mousemove",i,d),_o(t,"mouseup",a,d)),(l===!0||l==="scale"||l==="zoom")&&(_o(t,"mousewheel",o,d),_o(t,"pinch",s,d)))},r.disable=function(){this._enabled=!1,Qo(t,"mousedown",n),Qo(t,"mousemove",i),Qo(t,"mouseup",a),Qo(t,"mousewheel",o),Qo(t,"pinch",s)},r}return e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,r,n){var i=this._opt,a=i.zInfoParsed;if(aH(t,i.api,a.component))return!1;var o=i.triggerInfo,s=o.roamTrigger,l=!1;return s==="global"&&(l=!0),l||(l=o.isInSelf(t,r,n)),l&&o.isInClip&&!o.isInClip(t,r,n)&&(l=!1),l},e.prototype._decideCursorStyle=function(t,r,n,i){var a=t.target;if(!a&&this._checkPointer(t,r,n))return"grab";if(i)return a&&a.cursor||"default"},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(Pp(t)||Co(t))){for(var r=t.target;r;){if(r.draggable)return;r=r.__hostTarget||r.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var r=this._zr;if(!(t.gestureEvent==="pinch"||VC(r,"globalPan")||Co(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!wu("moveOnMouseMove",t,this._opt)){var a=this._decideCursorStyle(t,n,i,!1);a&&r.setCursorStyle(a);return}r.setCursorStyle("grabbing");var o=this._x,s=this._y,l=n-o,u=i-s;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&fi(t.event),t.__ecRoamConsumed=!0,KC(this,"pan","moveOnMouseMove",t,{dx:l,dy:u,oldX:o,oldY:s,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!Co(t)){var r=this._zr;if(!Pp(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&r.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!Co(t)){var r=wu("zoomOnMouseWheel",t,this._opt),n=wu("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,a=Math.abs(i),o=t.offsetX,s=t.offsetY;if(!(i===0||!r&&!n)){if(r){var l=a>3?1.4:a>1?1.2:1.1,u=i>0?l:1/l;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:u,originX:o,originY:s,isAvailableBehavior:null})}if(n){var f=Math.abs(i),c=(i>0?1:-1)*(f>3?.4:f>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:s,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(VC(this._zr,"globalPan")||Co(t))){var r=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:r,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,r,n,i,a){t._checkPointer(i,a.originX,a.originY)&&(fi(i.event),i.__ecRoamConsumed=!0,KC(t,r,n,i,a))},e})(yA);function Co(A){return A.__ecRoamConsumed}var sH=Ge();function yu(A){var e=sH(A);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function _o(A,e,t,r){for(var n=yu(A),i=n.roam,a=i[e]=i[e]||[],o=0;o<a.length;o++){var s=a[o].zInfoParsed;if((s.zlevel-r.zlevel||s.z-r.z||s.z2-r.z2)<=0)break}a.splice(o,0,{listener:t,zInfoParsed:r}),lH(A,e)}function Qo(A,e,t){for(var r=yu(A),n=r.roam[e]||[],i=0;i<n.length;i++)if(n[i].listener===t){n.splice(i,1),n.length||uH(A,e);return}}function lH(A,e){var t=yu(A);t.uniform[e]||A.on(e,t.uniform[e]=function(r){var n=t.roam[e];if(n)for(var i=0;i<n.length;i++)n[i].listener(r)})}function uH(A,e){var t=yu(A),r=t.uniform;r[e]&&(A.off(e,r[e]),r[e]=null)}function KC(A,e,t,r,n){n.isAvailableBehavior=ye(wu,null,t,r),A.trigger(e,n)}function wu(A,e,t){var r=t[A];return!A||r&&(!ue(r)||e.event[r+"Key"])}function xo(A,e,t,r,n,i){A=A||0;var a=t[1]-t[0];if(n!=null&&(n=$i(n,[0,a])),i!=null&&(i=Math.max(i,n??0)),r==="all"){var o=Math.abs(e[1]-e[0]);o=$i(o,[0,a]),n=i=$i(o,[n,i]),r=0}e[0]=$i(e[0],t),e[1]=$i(e[1],t);var s=hd(e,r);e[r]+=A;var l=n||0,u=t.slice();s.sign<0?u[0]+=l:u[1]-=l,e[r]=$i(e[r],u);var f;return f=hd(e,r),n!=null&&(f.sign!==s.sign||f.span<n)&&(e[1-r]=e[r]+s.sign*n),f=hd(e,r),i!=null&&f.span>i&&(e[1-r]=e[r]+f.sign*i),e}function hd(A,e){var t=A[e]-A[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function $i(A,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,A))}var Xn=Ge(),GC=Se,vd=ye,fH=(function(){function A(){this._dragging=!1,this.animationThreshold=15}return A.prototype.render=function(e,t,r,n){var i=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=r,!(!n&&this._lastValue===i&&this._lastStatus===a)){this._lastValue=i,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||a==="hide"){o&&o.hide(),s&&s.hide();return}o&&o.show(),s&&s.show();var l={};this.makeElOption(l,i,e,t,r);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=u;var f=this._moveAnimation=this.determineAnimation(e,t);if(!o)o=this._group=new st,this.createPointerEl(o,l,e,t),this.createLabelEl(o,l,e,t),r.getZr().add(o);else{var c=nt(zC,t,f);this.updatePointerEl(o,l,c),this.updateLabelEl(o,l,c,t)}XC(o,t,!0),this._renderHandle(i)}},A.prototype.remove=function(e){this.clear(e)},A.prototype.dispose=function(e){this.clear(e)},A.prototype.determineAnimation=function(e,t){var r=t.get("animation"),n=e.axis,i=n.type==="category",a=t.get("snap");if(!a&&!i)return!1;if(r==="auto"||r==null){var o=this.animationThreshold;if(i&&n.getBandWidth()>o)return!0;if(a){var s=ld(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return r===!0},A.prototype.makeElOption=function(e,t,r,n,i){},A.prototype.createPointerEl=function(e,t,r,n){var i=t.pointer;if(i){var a=Xn(e).pointerEl=new aS[i.type](GC(t.pointer));e.add(a)}},A.prototype.createLabelEl=function(e,t,r,n){if(t.label){var i=Xn(e).labelEl=new Ht(GC(t.label));e.add(i),YC(i,n)}},A.prototype.updatePointerEl=function(e,t,r){var n=Xn(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),r(n,{shape:t.pointer.shape}))},A.prototype.updateLabelEl=function(e,t,r,n){var i=Xn(e).labelEl;i&&(i.setStyle(t.label.style),r(i,{x:t.label.x,y:t.label.y}),YC(i,n))},A.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,r=this._api.getZr(),n=this._handle,i=t.getModel("handle"),a=t.get("status");if(!i.get("show")||!a||a==="hide"){n&&r.remove(n),this._handle=null;return}var o;this._handle||(o=!0,n=this._handle=dh(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){fi(l.event)},onmousedown:vd(this._onHandleDragMove,this,0,0),drift:vd(this._onHandleDragMove,this),ondragend:vd(this._onHandleDragEnd,this)}),r.add(n)),XC(n,t,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=i.get("size");ie(s)||(s=[s,s]),n.scaleX=s[0]/2,n.scaleY=s[1]/2,Rl(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)}},A.prototype._moveHandleToValue=function(e,t){zC(this._axisPointerModel,!t&&this._moveAnimation,this._handle,dd(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},A.prototype._onHandleDragMove=function(e,t){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(dd(r),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(dd(n)),Xn(r).lastProp=null,this._doDispatchAxisPointer()}},A.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},A.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},A.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),r=this._group,n=this._handle;t&&r&&(this._lastGraphicKey=null,r&&t.remove(r),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Nl(this,"_doDispatchAxisPointer")},A.prototype.doClear=function(){},A.prototype.buildLabel=function(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}},A})();function zC(A,e,t,r){WC(Xn(t).lastProp,r)||(Xn(t).lastProp=r,e?Ft(t,r,A):(t.stopAnimation(),t.attr(r)))}function WC(A,e){if(ve(A)&&ve(e)){var t=!0;return b(e,function(r,n){t=t&&WC(A[n],r)}),!!t}else return A===e}function YC(A,e){A[e.get(["label","show"])?"show":"hide"]()}function dd(A){return{x:A.x||0,y:A.y||0,rotation:A.rotation||0}}function XC(A,e,t){var r=e.get("z"),n=e.get("zlevel");A&&A.traverse(function(i){i.type!=="group"&&(r!=null&&(i.z=r),n!=null&&(i.zlevel=n),i.silent=t)})}function cH(A){var e=A.get("type"),t=A.getModel(e+"Style"),r;return e==="line"?(r=t.getLineStyle(),r.fill=null):e==="shadow"&&(r=t.getAreaStyle(),r.stroke=null),r}function hH(A,e,t,r,n){var i=t.get("value"),a=ZC(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),o=t.getModel("label"),s=xl(o.get("padding")||0),l=o.getFont(),u=Ig(a,l),f=n.position,c=u.width+s[1]+s[3],h=u.height+s[0]+s[2],v=n.align;v==="right"&&(f[0]-=c),v==="center"&&(f[0]-=c/2);var d=n.verticalAlign;d==="bottom"&&(f[1]-=h),d==="middle"&&(f[1]-=h/2),vH(f,c,h,r);var g=o.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),A.label={x:f[0],y:f[1],style:Un(o,{text:a,font:l,fill:o.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function vH(A,e,t,r){var n=r.getWidth(),i=r.getHeight();A[0]=Math.min(A[0]+e,n)-e,A[1]=Math.min(A[1]+t,i)-t,A[0]=Math.max(A[0],0),A[1]=Math.max(A[1],0)}function ZC(A,e,t,r,n){A=e.scale.parse(A);var i=e.scale.getLabel({value:A},{precision:n.precision}),a=n.formatter;if(a){var o={value:su(e,{value:A}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};b(r,function(s){var l=t.getSeriesByIndex(s.seriesIndex),u=s.dataIndexInside,f=l&&l.getDataParams(u);f&&o.seriesData.push(f)}),ue(a)?i=a.replace("{value}",i):me(a)&&(i=a(o))}return i}function JC(A,e,t){var r=rr();return Gf(r,r,t.rotation),Kf(r,r,t.position),ka([A.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],r)}function dH(A,e,t,r,n,i){var a=zr.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),hH(e,r,n,i,{position:JC(r.axis,A,t),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function pH(A,e,t){return t=t||0,{x1:A[t],y1:A[1-t],x2:e[t],y2:e[1-t]}}function gH(A,e,t){return t=t||0,{x:A[t],y:A[1-t],width:e[t],height:e[1-t]}}var BH=(function(A){X(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,r,n,i,a){var o=n.axis,s=o.grid,l=i.get("type"),u=qC(s,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(r,!0));if(l&&l!=="none"){var c=cH(i),h=mH[l](o,f,u);h.style=c,t.graphicKey=h.type,t.pointer=h}var v=mu(s.getRect(),n);dH(r,t,v,n,i,a)},e.prototype.getHandleTransform=function(t,r,n){var i=mu(r.axis.grid.getRect(),r,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var a=JC(r.axis,t,i);return{x:a[0],y:a[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,r,n,i){var a=n.axis,o=a.grid,s=a.getGlobalExtent(!0),l=qC(o,a).getOtherAxis(a).getGlobalExtent(),u=a.dim==="x"?0:1,f=[t.x,t.y];f[u]+=r[u],f[u]=Math.min(s[1],f[u]),f[u]=Math.max(s[0],f[u]);var c=(l[1]+l[0])/2,h=[c,c];h[u]=f[u];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:h,tooltipOption:v[u]}},e})(fH);function qC(A,e){var t={};return t[e.dim+"AxisIndex"]=e.index,A.getCartesian(t)}var mH={line:function(A,e,t){var r=pH([e,t[0]],[e,t[1]],$C(A));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(A,e,t){var r=Math.max(1,A.getBandWidth()),n=t[1]-t[0];return{type:"Rect",shape:gH([e-r/2,t[0]],[r,n],$C(A))}}};function $C(A){return A.dim==="x"?0:1}var yH=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:ae.color.border,width:1,type:"dashed"},shadowStyle:{color:ae.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:ae.color.neutral00,padding:[5,7,5,7],backgroundColor:ae.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:ae.color.accent40,throttle:40}},e})(He),dr=Ge(),wH=b;function jC(A,e,t){if(!_e.node){var r=e.getZr();dr(r).records||(dr(r).records={}),CH(r,e);var n=dr(r).records[A]||(dr(r).records[A]={});n.handler=t}}function CH(A,e){if(dr(A).initialized)return;dr(A).initialized=!0,t("click",nt(e_,"click")),t("mousemove",nt(e_,"mousemove")),t("globalout",QH);function t(r,n){A.on(r,function(i){var a=xH(e);wH(dr(A).records,function(o){o&&n(o,i,a.dispatchAction)}),_H(a.pendings,e)})}}function _H(A,e){var t=A.showTip.length,r=A.hideTip.length,n;t?n=A.showTip[t-1]:r&&(n=A.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function QH(A,e,t){A.handler("leave",null,t)}function e_(A,e,t,r){e.handler(A,t,r)}function xH(A){var e={showTip:[],hideTip:[]},t=function(r){var n=e[r.type];n?n.push(r):(r.dispatchAction=t,A.dispatchAction(r))};return{dispatchAction:t,pendings:e}}function pd(A,e){if(!_e.node){var t=e.getZr(),r=(dr(t).records||{})[A];r&&(dr(t).records[A]=null)}}var FH=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n){var i=r.getComponent("tooltip"),a=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";jC("axisPointer",n,function(o,s,l){a!=="none"&&(o==="leave"||a.indexOf(o)>=0)&&l({type:"updateAxisPointer",currTrigger:o,x:s&&s.offsetX,y:s&&s.offsetY})})},e.prototype.remove=function(t,r){pd("axisPointer",r)},e.prototype.dispose=function(t,r){pd("axisPointer",r)},e.type="axisPointer",e})(xA);function t_(A,e){var t=[],r=A.seriesIndex,n;if(r==null||!(n=e.getSeriesByIndex(r)))return{point:[]};var i=n.getData(),a=dn(i,A);if(a==null||a<0||ie(a))return{point:[]};var o=i.getItemGraphicEl(a),s=n.coordinateSystem;if(n.getTooltipPosition)t=n.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(A.isStacked){var l=s.getBaseAxis(),u=s.getOtherAxis(l),f=u.dim,c=l.dim,h=f==="x"||f==="radius"?1:0,v=i.mapDimension(c),d=[];d[h]=i.get(v,a),d[1-h]=i.get(i.getCalculationInfo("stackResultDimension"),a),t=s.dataToPoint(d)||[]}else t=s.dataToPoint(i.getValues(Be(s.dimensions,function(p){return i.mapDimension(p)}),a))||[];else if(o){var g=o.getBoundingRect().clone();g.applyTransform(o.transform),t=[g.x+g.width/2,g.y+g.height/2]}return{point:t,el:o}}var A_=Ge();function EH(A,e,t){var r=A.currTrigger,n=[A.x,A.y],i=A,a=A.dispatchAction||ye(t.dispatchAction,t),o=e.getComponent("axisPointer").coordSysAxesInfo;if(o){Cu(n)&&(n=t_({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var s=Cu(n),l=i.axesInfo,u=o.axesInfo,f=r==="leave"||Cu(n),c={},h={},v={list:[],map:{}},d={showPointer:nt(SH,h),showTooltip:nt(UH,v)};b(o.coordSysMap,function(p,B){var m=s||p.containPoint(n);b(o.coordSysAxesInfo[B],function(y,_){var C=y.axis,Q=LH(l,y);if(!f&&m&&(!l||Q)){var x=Q&&Q.value;x==null&&!s&&(x=C.pointToData(n)),x!=null&&r_(y,x,d,!1,c)}})});var g={};return b(u,function(p,B){var m=p.linkGroup;m&&!h[B]&&b(m.axesInfo,function(y,_){var C=h[_];if(y!==p&&C){var Q=C.value;m.mapper&&(Q=p.axis.scale.parse(m.mapper(Q,n_(y),n_(p)))),g[p.key]=Q}})}),b(g,function(p,B){r_(u[B],p,d,!0,c)}),IH(h,u,c),TH(v,n,A,a),DH(u,a,t),c}}function r_(A,e,t,r,n){var i=A.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!A.involveSeries){t.showPointer(A,e);return}var a=bH(e,A),o=a.payloadBatch,s=a.snapToValue;o[0]&&n.seriesIndex==null&&W(n,o[0]),!r&&A.snap&&i.containData(s)&&s!=null&&(e=s),t.showPointer(A,e,o),t.showTooltip(A,a,s)}}function bH(A,e){var t=e.axis,r=t.dim,n=A,i=[],a=Number.MAX_VALUE,o=-1;return b(e.seriesModels,function(s,l){var u=s.getData().mapDimensionsAll(r),f,c;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(u,A,t);c=h.dataIndices,f=h.nestestValue}else{if(c=s.indicesOfNearest(r,u[0],A,t.type==="category"?.5:null),!c.length)return;f=s.getData().get(u[0],c[0])}if(!(f==null||!isFinite(f))){var v=A-f,d=Math.abs(v);d<=a&&((d<a||v>=0&&o<0)&&(a=d,o=v,n=f,i.length=0),b(c,function(g){i.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function SH(A,e,t,r){A[e.key]={value:t,payloadBatch:r}}function UH(A,e,t,r){var n=t.payloadBatch,i=e.axis,a=i.model,o=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var s=e.coordSys.model,l=wo(s),u=A.map[l];u||(u=A.map[l]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},A.list.push(u)),u.dataByAxis.push({axisDim:i.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:o.get(["label","precision"]),formatter:o.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function IH(A,e,t){var r=t.axesInfo=[];b(e,function(n,i){var a=n.axisPointerModel.option,o=A[i];o?(!n.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!n.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:a.value})})}function TH(A,e,t,r){if(Cu(e)||!A.list.length){r({type:"hideTip"});return}var n=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:A.list})}function DH(A,e,t){var r=t.getZr(),n="axisPointerLastHighlights",i=A_(r)[n]||{},a=A_(r)[n]={};b(A,function(l,u){var f=l.axisPointerModel.option;f.status==="show"&&l.triggerEmphasis&&b(f.seriesDataIndices,function(c){var h=c.seriesIndex+" | "+c.dataIndex;a[h]=c})});var o=[],s=[];b(i,function(l,u){!a[u]&&s.push(l)}),b(a,function(l,u){!i[u]&&o.push(l)}),s.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),o.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:o})}function LH(A,e){for(var t=0;t<(A||[]).length;t++){var r=A[t];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function n_(A){var e=A.axis.model,t={},r=t.axisDim=A.axis.dim;return t.axisIndex=t[r+"AxisIndex"]=e.componentIndex,t.axisName=t[r+"AxisName"]=e.name,t.axisId=t[r+"AxisId"]=e.id,t}function Cu(A){return!A||A[0]==null||isNaN(A[0])||A[1]==null||isNaN(A[1])}function i_(A){RC.registerAxisPointerClass("CartesianAxisPointer",BH),A.registerComponentModel(yH),A.registerComponentView(FH),A.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!ie(t)&&(e.axisPointer.link=[t])}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=GM(e,t)}),A.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},EH)}function MH(A){qA(rH),qA(i_)}var a_=["x","y","radius","angle","single"],HH=["cartesian2d","polar","singleAxis"];function OH(A){var e=A.get("coordinateSystem");return Ie(HH,e)>=0}function Wr(A){return process.env.NODE_ENV!=="production"&&ce(A),A+"Axis"}function RH(A,e){var t=we(),r=[],n=we();A.eachComponent({mainType:"dataZoom",query:e},function(u){n.get(u.uid)||o(u)});var i;do i=!1,A.eachComponent("dataZoom",a);while(i);function a(u){!n.get(u.uid)&&s(u)&&(o(u),i=!0)}function o(u){n.set(u.uid,!0),r.push(u),l(u)}function s(u){var f=!1;return u.eachTargetAxis(function(c,h){var v=t.get(c);v&&v[h]&&(f=!0)}),f}function l(u){u.eachTargetAxis(function(f,c){(t.get(f)||t.set(f,[]))[c]=!0})}return r}function o_(A){var e=A.ecModel,t={infoList:[],infoMap:we()};return A.eachTargetAxis(function(r,n){var i=e.getComponent(Wr(r),n);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,s=t.infoMap.get(o);s||(s={model:a,axisModels:[]},t.infoList.push(s),t.infoMap.set(o,s)),s.axisModels.push(i)}}}),t}var gd=(function(){function A(){this.indexList=[],this.indexMap=[]}return A.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},A})(),_u=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,r,n){var i=s_(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var r=s_(t);Me(this.option,t,!0),Me(this.settledOption,r,!0),this._doInit(r)},e.prototype._doInit=function(t){var r=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;b([["start","startValue"],["end","endValue"]],function(i,a){this._rangePropMode[a]==="value"&&(r[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),r=this._targetAxisInfoMap=we(),n=this._fillSpecifiedTargetAxis(r);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var r=!1;return b(a_,function(n){var i=this.getReferringComponents(Wr(n),YF);if(i.specified){r=!0;var a=new gd;b(i.models,function(o){a.add(o.componentIndex)}),t.set(n,a)}},this),r},e.prototype._fillAutoTargetAxisByOrient=function(t,r){var n=this.ecModel,i=!0;if(i){var a=r==="vertical"?"y":"x",o=n.findComponents({mainType:a+"Axis"});s(o,a)}if(i){var o=n.findComponents({mainType:"singleAxis",filter:function(u){return u.get("orient",!0)===r}});s(o,"single")}function s(l,u){var f=l[0];if(f){var c=new gd;if(c.add(f.componentIndex),t.set(u,c),i=!1,u==="x"||u==="y"){var h=f.getReferringComponents("grid",Lt).models[0];h&&b(l,function(v){f.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",Lt).models[0]&&c.add(v.componentIndex)})}}}i&&b(a_,function(l){if(i){var u=n.findComponents({mainType:Wr(l),filter:function(c){return c.get("type",!0)==="category"}});if(u[0]){var f=new gd;f.add(u[0].componentIndex),t.set(l,f),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(r){!t&&(t=r)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var r=this._rangePropMode,n=this.get("rangeMode");b([["start","startValue"],["end","endValue"]],function(i,a){var o=t[i[0]]!=null,s=t[i[1]]!=null;o&&!s?r[a]="percent":!o&&s?r[a]="value":n?r[a]=n[a]:o&&(r[a]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(r,n){t==null&&(t=this.ecModel.getComponent(Wr(r),n))},this),t},e.prototype.eachTargetAxis=function(t,r){this._targetAxisInfoMap.each(function(n,i){b(n.indexList,function(a){t.call(r,i,a)})})},e.prototype.getAxisProxy=function(t,r){var n=this.getAxisModel(t,r);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,r){process.env.NODE_ENV!=="production"&&ce(t&&r!=null);var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[r])return this.ecModel.getComponent(Wr(t),r)},e.prototype.setRawRange=function(t){var r=this.option,n=this.settledOption;b([["start","startValue"],["end","endValue"]],function(i){(t[i[0]]!=null||t[i[1]]!=null)&&(r[i[0]]=n[i[0]]=t[i[0]],r[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var r=this.option;b(["start","startValue","end","endValue"],function(n){r[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,r){if(t==null&&r==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(t,r).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var r,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var a=n[i],o=this._targetAxisInfoMap.get(a),s=0;s<o.indexList.length;s++){var l=this.getAxisProxy(a,o.indexList[s]);if(l.hostedBy(this))return l;r||(r=l)}return r},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&ce(this._orient),this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e})(He);function s_(A){var e={};return b(["start","end","startValue","endValue","throttle"],function(t){A.hasOwnProperty(t)&&(e[t]=A[t])}),e}var l_=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n,i){this.dataZoomModel=t,this.ecModel=r,this.api=n},e.type="dataZoom",e})(xA),ji=b,u_=ba,NH=(function(){function A(e,t,r,n){this._dimName=e,this._axisIndex=t,this.ecModel=n,this._dataZoomModel=r}return A.prototype.hostedBy=function(e){return this._dataZoomModel===e},A.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},A.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},A.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if(OH(t)){var r=Wr(this._dimName),n=t.getReferringComponents(r,Lt).models[0];n&&this._axisIndex===n.componentIndex&&e.push(t)}},this),e},A.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},A.prototype.getMinMaxSpan=function(){return Se(this._minMaxSpan)},A.prototype.calculateDataWindow=function(e){var t=this._dataExtent,r=this.getAxisModel(),n=r.axis.scale,i=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[],l;ji(["start","end"],function(c,h){var v=e[c],d=e[c+"Value"];i[h]==="percent"?(v==null&&(v=a[h]),d=n.parse(vt(v,a,t))):(l=!0,d=d==null?t[h]:n.parse(d),v=vt(d,t,a)),s[h]=d==null||isNaN(d)?t[h]:d,o[h]=v==null||isNaN(v)?a[h]:v}),u_(s),u_(o);var u=this._minMaxSpan;l?f(s,o,t,a,!1):f(o,s,a,t,!0);function f(c,h,v,d,g){var p=g?"Span":"ValueSpan";xo(0,c,v,"all",u["min"+p],u["max"+p]);for(var B=0;B<2;B++)h[B]=vt(c[B],v,d,!0),g&&(h[B]=n.parse(h[B]))}return{valueWindow:s,percentWindow:o}},A.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=PH(this,this._dimName,t),this._updateMinMaxSpan();var r=this.calculateDataWindow(e.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},A.prototype.filterData=function(e,t){if(e!==this._dataZoomModel)return;var r=this._dimName,n=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;if(i==="none")return;ji(n,function(s){var l=s.getData(),u=l.mapDimensionsAll(r);if(u.length){if(i==="weakFilter"){var f=l.getStore(),c=Be(u,function(h){return l.getDimensionIndex(h)},l);l.filterSelf(function(h){for(var v,d,g,p=0;p<u.length;p++){var B=f.get(c[p],h),m=!isNaN(B),y=B<a[0],_=B>a[1];if(m&&!y&&!_)return!0;m&&(g=!0),y&&(v=!0),_&&(d=!0)}return g&&v&&d})}else ji(u,function(h){if(i==="empty")s.setData(l=l.map(h,function(d){return o(d)?d:NaN}));else{var v={};v[h]=a,l.selectRange(v)}});ji(u,function(h){l.setApproximateExtent(a,h)})}});function o(s){return s>=a[0]&&s<=a[1]}},A.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,r=this._dataExtent;ji(["min","max"],function(n){var i=t.get(n+"Span"),a=t.get(n+"ValueSpan");a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a!=null?i=vt(r[0]+a,r,[0,100],!0):i!=null&&(a=vt(i,[0,100],r,!0)-r[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=a},this)},A.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,r=this._valueWindow;if(t){var n=Og(r,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;t[0]!==0&&i.setDeterminedMinMax("min",+r[0].toFixed(n)),t[1]!==100&&i.setDeterminedMinMax("max",+r[1].toFixed(n)),i.freeze()}},A})();function PH(A,e,t){var r=[1/0,-1/0];ji(t,function(a){kD(r,a.getData(),e)});var n=A.getAxisModel(),i=gw(n.axis.scale,n,r).calculate();return[i.min,i.max]}var kH={getTargetSeries:function(A){function e(n){A.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(a,o){var s=A.getComponent(Wr(a),o);n(a,o,s,i)})})}e(function(n,i,a,o){a.__dzAxisProxy=null});var t=[];e(function(n,i,a,o){a.__dzAxisProxy||(a.__dzAxisProxy=new NH(n,i,o,A),t.push(a.__dzAxisProxy))});var r=we();return b(t,function(n){b(n.getTargetSeriesModels(),function(i){r.set(i.uid,i)})}),r},overallReset:function(A,e){A.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).reset(t)}),t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).filterData(t,e)})}),A.eachComponent("dataZoom",function(t){var r=t.findRepresentativeAxisProxy();if(r){var n=r.getDataPercentWindow(),i=r.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};function VH(A){A.registerAction("dataZoom",function(e,t){var r=RH(t,e);b(r,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var f_=!1;function c_(A){f_||(f_=!0,A.registerProcessor(A.PRIORITY.PROCESSOR.FILTER,kH),VH(A),A.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function KH(A,e){var t=xl(e.get("padding")),r=e.getItemStyle(["color","opacity"]);r.fill=e.get("backgroundColor");var n=new Je({shape:{x:A.x-t[3],y:A.y-t[0],width:A.width+t[1]+t[3],height:A.height+t[0]+t[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1});return n}var GH=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:ae.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:ae.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:ae.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:ae.color.tertiary,fontSize:14}},e})(He);function h_(A){var e=A.get("confine");return e!=null?!!e:A.get("renderMode")==="richText"}function v_(A){if(_e.domSupported){for(var e=document.documentElement.style,t=0,r=A.length;t<r;t++)if(A[t]in e)return A[t]}}var d_=v_(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),zH=v_(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function p_(A,e){if(!A)return e;e=KB(e,!0);var t=A.indexOf(e);return A=t===-1?e:"-"+A.slice(0,t)+"-"+e,A.toLowerCase()}function WH(A,e){var t=A.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(A);return t?t[e]:null}var YH=p_(zH,"transition"),Bd=p_(d_,"transform"),XH="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(_e.transform3dSupported?"will-change:transform;":"");function ZH(A){return A=A==="left"?"right":A==="right"?"left":A==="top"?"bottom":"top",A}function JH(A,e,t){if(!ue(t)||t==="inside")return"";var r=A.get("backgroundColor"),n=A.get("borderWidth");e=Tn(e);var i=ZH(t),a=Math.max(Math.round(n)*1.5,6),o="",s=Bd+":",l;Ie(["left","right"],i)>-1?(o+="top:50%",s+="translateY(-50%) rotate("+(l=i==="left"?-225:-45)+"deg)"):(o+="left:50%",s+="translateX(-50%) rotate("+(l=i==="top"?225:45)+"deg)");var u=l*Math.PI/180,f=a+n,c=f*Math.abs(Math.cos(u))+f*Math.abs(Math.sin(u)),h=Math.round(((c-Math.SQRT2*n)/2+Math.SQRT2*n-(c-f)/2)*100)/100;o+=";"+i+":-"+h+"px";var v=e+" solid "+n+"px;",d=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",o+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'<div style="'+d.join("")+'"></div>'}function qH(A,e,t){var r="cubic-bezier(0.23,1,0.32,1)",n="",i="";return t&&(n=" "+A/2+"s "+r,i="opacity"+n+",visibility"+n),e||(n=" "+A+"s "+r,i+=(i.length?",":"")+(_e.transformSupported?""+Bd+n:",left"+n+",top"+n)),YH+":"+i}function g_(A,e,t){var r=A.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!_e.transformSupported)return t?"top:"+n+";left:"+r+";":[["top",n],["left",r]];var i=_e.transform3dSupported,a="translate"+(i?"3d":"")+"("+r+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+Bd+":"+a+";":[["top",0],["left",0],[d_,a]]}function $H(A){var e=[],t=A.get("fontSize"),r=A.getTextColor();r&&e.push("color:"+r),e.push("font:"+A.getFont());var n=de(A.get("lineHeight"),Math.round(t*3/2));t&&e.push("line-height:"+n+"px");var i=A.get("textShadowColor"),a=A.get("textShadowBlur")||0,o=A.get("textShadowOffsetX")||0,s=A.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),b(["decoration","align"],function(l){var u=A.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function jH(A,e,t,r){var n=[],i=A.get("transitionDuration"),a=A.get("backgroundColor"),o=A.get("shadowBlur"),s=A.get("shadowColor"),l=A.get("shadowOffsetX"),u=A.get("shadowOffsetY"),f=A.getModel("textStyle"),c=km(A,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),e&&i>0&&n.push(qH(i,t,r)),a&&n.push("background-color:"+a),b(["width","color","radius"],function(v){var d="border-"+v,g=KB(d),p=A.get(g);p!=null&&n.push(d+":"+p+(v==="color"?"":"px"))}),n.push($H(f)),c!=null&&n.push("padding:"+xl(c).join("px ")+"px"),n.join(";")+";"}function B_(A,e,t,r,n){var i=e&&e.painter;if(t){var a=i&&i.getViewportRoot();a&&yx(A,a,t,r,n)}else{A[0]=r,A[1]=n;var o=i&&i.getViewportRootOffset();o&&(A[0]+=o.offsetLeft,A[1]+=o.offsetTop)}A[2]=A[0]/e.getWidth(),A[3]=A[1]/e.getHeight()}var e2=(function(){function A(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,_e.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var n=this._zr=e.getZr(),i=t.appendTo,a=i&&(ue(i)?document.querySelector(i):ri(i)?i:me(i)&&i(e.getDom()));B_(this._styleCoord,n,a,e.getWidth()/2,e.getHeight()/2),(a||e.getDom()).appendChild(r),this._api=e,this._container=a;var o=this;r.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!o._enterable){var l=n.handler,u=n.painter.getViewportRoot();AA(u,s,!0),l.dispatch("mousemove",s)}},r.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return A.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),r=WH(t,"position"),n=t.style;n.position!=="absolute"&&r!=="absolute"&&(n.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this._enableDisplayTransition=e.get("displayTransition")&&e.get("transitionDuration")>0,this.el.className=e.get("className")||""},A.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,n=r.style,i=this._styleCoord;r.innerHTML?n.cssText=XH+jH(e,!this._firstShow,this._longHide,this._enableDisplayTransition)+g_(i[0],i[1],!0)+("border-color:"+Tn(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},A.prototype.setContent=function(e,t,r,n,i){var a=this.el;if(e==null){a.innerHTML="";return}var o="";if(ue(i)&&r.get("trigger")==="item"&&!h_(r)&&(o=JH(r,n,i)),ue(e))a.innerHTML=e+o;else if(e){a.innerHTML="",ie(e)||(e=[e]);for(var s=0;s<e.length;s++)ri(e[s])&&e[s].parentNode!==a&&a.appendChild(e[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}},A.prototype.setEnterable=function(e){this._enterable=e},A.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},A.prototype.moveTo=function(e,t){if(this.el){var r=this._styleCoord;if(B_(r,this._zr,this._container,e,t),r[0]!=null&&r[1]!=null){var n=this.el.style,i=g_(r[0],r[1]);b(i,function(a){n[a[0]]=a[1]})}}},A.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},A.prototype.hide=function(){var e=this,t=this.el.style;this._enableDisplayTransition?(t.visibility="hidden",t.opacity="0"):t.display="none",_e.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},A.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(ye(this.hide,this),e)):this.hide())},A.prototype.isShow=function(){return this._show},A.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this._zr;Cx(e&&e.painter&&e.painter.getViewportRoot(),this._container);var t=this.el;if(t){t.onmouseenter=t.onmousemove=t.onmouseleave=null;var r=t.parentNode;r&&r.removeChild(t)}this.el=this._container=null},A})(),t2=(function(){function A(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),y_(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return A.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},A.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},A.prototype.setContent=function(e,t,r,n,i){var a=this;ve(e)&&Vt(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var o=r.getModel("textStyle");this.el=new Ht({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:o.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:km(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),b(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(l){a.el.style[l]=r.get(l)}),b(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(l){a.el.style[l]=o.get(l)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},A.prototype.setEnterable=function(e){this._enterable=e},A.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),r=m_(e.style);return[t.width+r.left+r.right,t.height+r.top+r.bottom]},A.prototype.moveTo=function(e,t){var r=this.el;if(r){var n=this._styleCoord;y_(n,this._zr,e,t),e=n[0],t=n[1];var i=r.style,a=Yr(i.borderWidth||0),o=m_(i);r.x=e+a+o.left,r.y=t+a+o.top,r.markRedraw()}},A.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},A.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},A.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(ye(this.hide,this),e)):this.hide())},A.prototype.isShow=function(){return this._show},A.prototype.dispose=function(){this._zr.remove(this.el)},A})();function Yr(A){return Math.max(0,A)}function m_(A){var e=Yr(A.shadowBlur||0),t=Yr(A.shadowOffsetX||0),r=Yr(A.shadowOffsetY||0);return{left:Yr(e-t),right:Yr(e+t),top:Yr(e-r),bottom:Yr(e+r)}}function y_(A,e,t,r){A[0]=t,A[1]=r,A[2]=A[0]/e.getWidth(),A[3]=A[1]/e.getHeight()}var A2=new Je({shape:{x:-1,y:-1,width:2,height:2}}),r2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){if(!(_e.node||!r.getDom())){var n=t.getComponent("tooltip"),i=this._renderMode=ZF(n.get("renderMode"));this._tooltipContent=i==="richText"?new t2(r):new e2(r,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,r,n){if(!(_e.node||!n.getDom())){this.group.removeAll(),this._tooltipModel=t,this._ecModel=r,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&t.get("transitionDuration")?Rl(this,"_updatePosition",50,"fixRate"):Nl(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,r=t.get("triggerOn");jC("itemTooltip",this._api,ye(function(n,i,a){r!=="none"&&(r.indexOf(n)>=0?this._tryShow(i,a):n==="leave"&&this._hide(a))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,r=this._ecModel,n=this._api,i=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&a.manuallyShowTip(t,r,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,r,n,i){if(!(i.from===this.uid||_e.node||!n.getDom())){var a=w_(i,n);this._ticket="";var o=i.dataByCoordSys,s=o2(i,r,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},a)}else if(i.tooltip&&i.x!=null&&i.y!=null){var u=A2;u.x=i.x,u.y=i.y,u.update(),Te(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},a);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(t,r,n,i))return;var f=t_(i,r),c=f.point[0],h=f.point[1];c!=null&&h!=null&&this._tryShow({offsetX:c,offsetY:h,target:f.el,position:i.position,positionDefault:"bottom"},a)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},a))}},e.prototype.manuallyHideTip=function(t,r,n,i){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(w_(i,n))},e.prototype._manuallyAxisShowTip=function(t,r,n,i){var a=i.seriesIndex,o=i.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||o==null||s==null)){var l=r.getSeriesByIndex(a);if(l){var u=l.getData(),f=Fo([u.getItemModel(o),l,(l.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,r){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,t);else if(n){var o=Te(n);if(o.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,l;no(n,function(u){if(u.tooltipDisabled)return s=l=null,!0;s||l||(Te(u).dataIndex!=null?s=u:Te(u).tooltipConfig!=null&&(l=u))},!0),s?this._showSeriesItemTooltip(t,s,r):l?this._showComponentItemTooltip(t,l,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(t,r){var n=t.get("showDelay");r=ye(r,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(r,n):r()},e.prototype._showAxisTooltip=function(t,r){var n=this._ecModel,i=this._tooltipModel,a=[r.offsetX,r.offsetY],o=Fo([r.tooltipOption],i),s=this._renderMode,l=[],u=eo("section",{blocks:[],noHeader:!0}),f=[],c=new tv;b(t,function(B){b(B.dataByAxis,function(m){var y=n.getComponent(m.axisDim+"Axis",m.axisIndex),_=m.value;if(!(!y||_==null)){var C=ZC(_,y.axis,n,m.seriesDataIndices,m.valueLabelOpt),Q=eo("section",{header:C,noHeader:!LA(C),sortBlocks:!0,blocks:[]});u.blocks.push(Q),b(m.seriesDataIndices,function(x){var F=n.getSeriesByIndex(x.seriesIndex),S=x.dataIndexInside,E=F.getDataParams(S);if(!(E.dataIndex<0)){E.axisDim=m.axisDim,E.axisIndex=m.axisIndex,E.axisType=m.axisType,E.axisId=m.axisId,E.axisValue=su(y.axis,{value:_}),E.axisValueLabel=C,E.marker=c.makeTooltipMarker("item",Tn(E.color),s);var I=Em(F.formatTooltip(S,!0,null)),U=I.frag;if(U){var T=Fo([F],i).get("valueFormatter");Q.blocks.push(T?W({valueFormatter:T},U):U)}I.text&&f.push(I.text),l.push(E)}})}})}),u.blocks.reverse(),f.reverse();var h=r.position,v=o.get("order"),d=Nm(u,c,s,v,n.get("useUTC"),o.get("textStyle"));d&&f.unshift(d);var g=s==="richText"?`
42
42
 
43
- `:"<br/>",p=f.join(g);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(A,l)?this._updatePosition(o,h,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(o,p,l,Math.random()+"",a[0],a[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(A,r,n){var i=this._ecModel,a=Te(r),o=a.seriesIndex,s=i.getSeriesByIndex(o),l=a.dataModel||s,u=a.dataIndex,f=a.dataType,c=l.getData(f),h=this._renderMode,v=A.positionDefault,d=ja([c.getItemModel(u),l,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var p=l.getDataParams(u,f),B=new eh;p.marker=B.makeTooltipMarker("item",vn(p.color),h);var y=I0(l.formatTooltip(u,!1,f)),m=d.get("order"),_=d.get("valueFormatter"),C=y.frag,Q=C?V0(_?Y({valueFormatter:_},C):C,B,h,m,i.get("useUTC"),d.get("textStyle")):y.text,F="item_"+l.name+"_"+u;this._showOrMove(d,function(){this._showTooltipContent(d,Q,p,F,A.offsetX,A.offsetY,A.position,A.target,B)}),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(A,r,n){var i=this._renderMode==="html",a=Te(r),o=a.tooltipConfig,s=o.option||{},l=s.encodeHTMLContent;if(ae(s)){var u=s;s={content:u,formatter:u},l=!0}l&&i&&s.content&&(s=Ee(s),s.content=LA(s.content));var f=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&f.push(c),f.push({formatter:s.content});var h=A.positionDefault,v=ja(f,this._tooltipModel,h?{position:h}:null),d=v.get("content"),g=Math.random()+"",p=new eh;this._showOrMove(v,function(){var B=Ee(v.get("formatterParams")||{});this._showTooltipContent(v,d,B,g,A.offsetX,A.offsetY,A.position,r,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(A,r,n,i,a,o,s,l,u){if(this._ticket="",!(!A.get("showContent")||!A.get("show"))){var f=this._tooltipContent;f.setEnterable(A.get("enterable"));var c=A.get("formatter");s=s||A.get("position");var h=r,v=this._getNearestPoint([a,o],n,A.get("trigger"),A.get("borderColor")),d=v.color;if(c)if(ae(c)){var g=A.ecModel.get("useUTC"),p=re(n)?n[0]:n,B=p&&p.axisType&&p.axisType.indexOf("time")>=0;h=c,B&&(h=Vs(p.axisValue,h,g)),h=$B(h,n,!0)}else if(de(c)){var y=pe(function(m,_){m===this._ticket&&(f.setContent(_,u,A,d,s),this._updatePosition(A,s,a,o,f,n,l))},this);this._ticket=i,h=c(n,i,y)}else h=c;f.setContent(h,u,A,d,s),f.show(A,d),this._updatePosition(A,s,a,o,f,n,l)}},e.prototype._getNearestPoint=function(A,r,n,i){if(n==="axis"||re(r))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!re(r))return{color:i||r.color||r.borderColor}},e.prototype._updatePosition=function(A,r,n,i,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();r=r||A.get("position");var f=a.getSize(),c=A.get("align"),h=A.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),de(r)&&(r=r([n,i],o,a.el,v,{viewSize:[l,u],contentSize:f.slice()})),re(r))n=aA(r[0],l),i=aA(r[1],u);else if(fe(r)){var d=r;d.width=f[0],d.height=f[1];var g=Fa(d,{width:l,height:u});n=g.x,i=g.y,c=null,h=null}else if(ae(r)&&s){var p=gH(r,v,f,A.get("borderWidth"));n=p[0],i=p[1]}else{var p=vH(n,i,a,l,u,c?null:20,h?null:20);n=p[0],i=p[1]}if(c&&(n-=mC(c)?f[0]/2:c==="right"?f[0]:0),h&&(i-=mC(h)?f[1]/2:h==="bottom"?f[1]:0),fC(A)){var p=dH(n,i,a,l,u);n=p[0],i=p[1]}a.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(A,r){var n=this._lastDataByCoordSys,i=this._cbParamsList,a=!!n&&n.length===A.length;return a&&S(n,function(o,s){var l=o.dataByAxis||[],u=A[s]||{},f=u.dataByAxis||[];a=a&&l.length===f.length,a&&S(l,function(c,h){var v=f[h]||{},d=c.seriesDataIndices||[],g=v.seriesDataIndices||[];a=a&&c.value===v.value&&c.axisType===v.axisType&&c.axisId===v.axisId&&d.length===g.length,a&&S(d,function(p,B){var y=g[B];a=a&&p.seriesIndex===y.seriesIndex&&p.dataIndex===y.dataIndex}),i&&S(c.seriesDataIndices,function(p){var B=p.seriesIndex,y=r[B],m=i[B];y&&m&&m.data!==y.data&&(a=!1)})})}),this._lastDataByCoordSys=A,this._cbParamsList=r,!!a},e.prototype._hide=function(A){this._lastDataByCoordSys=null,A({type:"hideTip",from:this.uid})},e.prototype.dispose=function(A,r){Qe.node||!r.getDom()||(al(this,"_updatePosition"),this._tooltipContent.dispose(),fv("itemTooltip",r))},e.type="tooltip",e}(jt);function ja(t,e,A){var r=e.ecModel,n;A?(n=new mA(A,r,r),n=new mA(e.option,n,r)):n=e;for(var i=t.length-1;i>=0;i--){var a=t[i];a&&(a instanceof mA&&(a=a.get("tooltip",!0)),ae(a)&&(a={formatter:a}),a&&(n=new mA(a,n,r)))}return n}function yC(t,e){return t.dispatchAction||pe(e.dispatchAction,e)}function vH(t,e,A,r,n,i,a){var o=A.getSize(),s=o[0],l=o[1];return i!=null&&(t+s+i+2>r?t-=s+i:t+=i),a!=null&&(e+l+a>n?e-=l+a:e+=a),[t,e]}function dH(t,e,A,r,n){var i=A.getSize(),a=i[0],o=i[1];return t=Math.min(t+a,r)-a,e=Math.min(e+o,n)-o,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function gH(t,e,A,r){var n=A[0],i=A[1],a=Math.ceil(Math.SQRT2*r)+8,o=0,s=0,l=e.width,u=e.height;switch(t){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-i/2;break;case"top":o=e.x+l/2-n/2,s=e.y-i-a;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-i/2;break;case"right":o=e.x+l+a,s=e.y+u/2-i/2}return[o,s]}function mC(t){return t==="center"||t==="middle"}function pH(t,e,A){var r=Nf(t).queryOptionMap,n=r.keys()[0];if(!(!n||n==="series")){var i=sa(e,n,r.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),a=i.models[0];if(a){var o=A.getViewOfComponentModel(a),s;if(o.group.traverse(function(l){var u=Te(l).tooltipConfig;if(u&&u.name===t.name)return s=l,!0}),s)return{componentMainType:n,componentIndex:a.componentIndex,el:s}}}}const BH=hH;function yH(t){Ht(rC),t.registerComponentModel(qM),t.registerComponentView(BH),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},EA),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},EA)}var mH=function(t,e){if(e==="all")return{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}},wH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A.layoutMode={type:"box",ignoreSize:!0},A}return e.prototype.init=function(A,r,n){this.mergeDefaultAndTheme(A,n),A.selected=A.selected||{},this._updateSelector(A)},e.prototype.mergeOption=function(A,r){t.prototype.mergeOption.call(this,A,r),this._updateSelector(A)},e.prototype._updateSelector=function(A){var r=A.selector,n=this.ecModel;r===!0&&(r=A.selector=["all","inverse"]),re(r)&&S(r,function(i,a){ae(i)&&(i={type:i}),r[a]=De(i,mH(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var A=this._data;if(A[0]&&this.get("selectedMode")==="single"){for(var r=!1,n=0;n<A.length;n++){var i=A[n].get("name");if(this.isSelected(i)){this.select(i),r=!0;break}}!r&&this.select(A[0].get("name"))}},e.prototype._updateData=function(A){var r=[],n=[];A.eachRawSeries(function(s){var l=s.name;n.push(l);var u;if(s.legendVisualProvider){var f=s.legendVisualProvider,c=f.getAllNames();A.isSeriesFiltered(s)||(n=n.concat(c)),c.length?r=r.concat(c):u=!0}else u=!0;u&&Rf(s)&&r.push(s.name)}),this._availableNames=n;var i=this.get("data")||r,a=Be(),o=he(i,function(s){return(ae(s)||ze(s))&&(s={name:s}),a.get(s.name)?null:(a.set(s.name,!0),new mA(s,this,this.ecModel))},this);this._data=tA(o,function(s){return!!s})},e.prototype.getData=function(){return this._data},e.prototype.select=function(A){var r=this.option.selected,n=this.get("selectedMode");if(n==="single"){var i=this._data;S(i,function(a){r[a.get("name")]=!1})}r[A]=!0},e.prototype.unSelect=function(A){this.get("selectedMode")!=="single"&&(this.option.selected[A]=!1)},e.prototype.toggleSelected=function(A){var r=this.option.selected;r.hasOwnProperty(A)||(r[A]=!0),this[r[A]?"unSelect":"select"](A)},e.prototype.allSelect=function(){var A=this._data,r=this.option.selected;S(A,function(n){r[n.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var A=this._data,r=this.option.selected;S(A,function(n){var i=n.get("name",!0);r.hasOwnProperty(i)||(r[i]=!0),r[i]=!r[i]})},e.prototype.isSelected=function(A){var r=this.option.selected;return!(r.hasOwnProperty(A)&&!r[A])&&Le(this._availableNames,A)>=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Ke);const vv=wH;var Ii=$e,dv=S,Pl=sA,CH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A.newlineDisabled=!1,A}return e.prototype.init=function(){this.group.add(this._contentGroup=new Pl),this.group.add(this._selectorGroup=new Pl),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(A,r,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!A.get("show",!0)){var a=A.get("align"),o=A.get("orient");(!a||a==="auto")&&(a=A.get("left")==="right"&&o==="vertical"?"right":"left");var s=A.get("selector",!0),l=A.get("selectorPosition",!0);s&&(!l||l==="auto")&&(l=o==="horizontal"?"end":"start"),this.renderInner(a,A,r,n,s,o,l);var u=A.getBoxLayoutParams(),f={width:n.getWidth(),height:n.getHeight()},c=A.get("padding"),h=Fa(u,f,c),v=this.layoutInner(A,a,h,i,s,l),d=Fa(He({width:v.width,height:v.height},u),f,c);this.group.x=d.x-v.x,this.group.y=d.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=JM(v,A))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(A,r,n,i,a,o,s){var l=this.getContentGroup(),u=Be(),f=r.get("selectedMode"),c=[];n.eachRawSeries(function(h){!h.get("legendHoverLink")&&c.push(h.id)}),dv(r.getData(),function(h,v){var d=h.get("name");if(!this.newlineDisabled&&(d===""||d===`
44
- `)){var g=new Pl;g.newline=!0,l.add(g);return}var p=n.getSeriesByName(d)[0];if(!u.get(d)){if(p){var B=p.getData(),y=B.getVisual("legendLineStyle")||{},m=B.getVisual("legendIcon"),_=B.getVisual("style"),C=this._createItem(p,d,v,h,r,A,y,_,m,f,i);C.on("click",Ii(wC,d,null,i,c)).on("mouseover",Ii(gv,p.name,null,i,c)).on("mouseout",Ii(pv,p.name,null,i,c)),n.ssr&&C.eachChild(function(Q){var F=Te(Q);F.seriesIndex=p.seriesIndex,F.dataIndex=v,F.ssrType="legend"}),u.set(d,!0)}else n.eachRawSeries(function(Q){if(!u.get(d)&&Q.legendVisualProvider){var F=Q.legendVisualProvider;if(!F.containName(d))return;var E=F.indexOfName(d),U=F.getItemVisual(E,"style"),x=F.getItemVisual(E,"legendIcon"),b=Kt(U.fill);b&&b[3]===0&&(b[3]=.2,U=Y(Y({},U),{fill:Go(b,"rgba")}));var I=this._createItem(Q,d,v,h,r,A,{},U,x,f,i);I.on("click",Ii(wC,null,d,i,c)).on("mouseover",Ii(gv,null,d,i,c)).on("mouseout",Ii(pv,null,d,i,c)),n.ssr&&I.eachChild(function(T){var D=Te(T);D.seriesIndex=Q.seriesIndex,D.dataIndex=v,D.ssrType="legend"}),u.set(d,!0)}},this);process.env.NODE_ENV!=="production"&&(u.get(d)||console.warn(d+" series not exists. Legend data should be same with series name or data name."))}},this),a&&this._createSelector(a,r,i,o,s)},e.prototype._createSelector=function(A,r,n,i,a){var o=this.getSelectorGroup();dv(A,function(l){var u=l.type,f=new OA({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:u==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});o.add(f);var c=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);Hs(f,{normal:c,emphasis:h},{defaultText:l.title}),ws(f)})},e.prototype._createItem=function(A,r,n,i,a,o,s,l,u,f,c){var h=A.visualDrawType,v=a.get("itemWidth"),d=a.get("itemHeight"),g=a.isSelected(r),p=i.get("symbolRotate"),B=i.get("symbolKeepAspect"),y=i.get("icon");u=y||u||"roundRect";var m=_H(u,i,s,l,h,g,c),_=new Pl,C=i.getModel("textStyle");if(de(A.getLegendIcon)&&(!y||y==="inherit"))_.add(A.getLegendIcon({itemWidth:v,itemHeight:d,icon:u,iconRotate:p,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:B}));else{var Q=y==="inherit"&&A.getData().getVisual("symbol")?p==="inherit"?A.getData().getVisual("symbolRotate"):p:0;_.add(QH({itemWidth:v,itemHeight:d,icon:u,iconRotate:Q,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:B}))}var F=o==="left"?v+5:-5,E=o,U=a.get("formatter"),x=r;ae(U)&&U?x=U.replace("{name}",r??""):de(U)&&(x=U(r));var b=g?C.getTextColor():i.get("inactiveColor");_.add(new OA({style:cn(C,{text:x,x:F,y:d/2,fill:b,align:E,verticalAlign:"middle"},{inheritColor:b})}));var I=new Ze({shape:_.getBoundingRect(),style:{fill:"transparent"}}),T=i.getModel("tooltip");return T.get("show")&&Ds({el:I,componentModel:a,itemName:r,itemTooltipOption:T.option}),_.add(I),_.eachChild(function(D){D.silent=!0}),I.silent=!f,this.getContentGroup().add(_),ws(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(A,r,n,i,a,o){var s=this.getContentGroup(),l=this.getSelectorGroup();Qa(A.get("orient"),s,A.get("itemGap"),n.width,n.height);var u=s.getBoundingRect(),f=[-u.x,-u.y];if(l.markRedraw(),s.markRedraw(),a){Qa("horizontal",l,A.get("selectorItemGap",!0));var c=l.getBoundingRect(),h=[-c.x,-c.y],v=A.get("selectorButtonGap",!0),d=A.getOrient().index,g=d===0?"width":"height",p=d===0?"height":"width",B=d===0?"y":"x";o==="end"?h[d]+=u[g]+v:f[d]+=c[g]+v,h[1-d]+=u[p]/2-c[p]/2,l.x=h[0],l.y=h[1],s.x=f[0],s.y=f[1];var y={x:0,y:0};return y[g]=u[g]+v+c[g],y[p]=Math.max(u[p],c[p]),y[B]=Math.min(0,c[B]+h[1-d]),y}else return s.x=f[0],s.y=f[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(jt);function _H(t,e,A,r,n,i,a){function o(g,p){g.lineWidth==="auto"&&(g.lineWidth=p.lineWidth>0?2:0),dv(g,function(B,y){g[y]==="inherit"&&(g[y]=p[y])})}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=t.lastIndexOf("empty",0)===0?"fill":"stroke",f=s.getShallow("decal");l.decal=!f||f==="inherit"?r.decal:uh(f,a),l.fill==="inherit"&&(l.fill=r[n]),l.stroke==="inherit"&&(l.stroke=r[u]),l.opacity==="inherit"&&(l.opacity=(n==="fill"?r:A).opacity),o(l,r);var c=e.getModel("lineStyle"),h=c.getLineStyle();if(o(h,A),l.fill==="auto"&&(l.fill=r.fill),l.stroke==="auto"&&(l.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!i){var v=e.get("inactiveBorderWidth"),d=l[u];l.lineWidth=v==="auto"?r.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),h.stroke=c.get("inactiveColor"),h.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:h}}function QH(t){var e=t.icon||"roundRect",A=yr(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return A.setStyle(t.itemStyle),A.rotation=(t.iconRotate||0)*Math.PI/180,A.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(A.style.stroke=A.style.fill,A.style.fill="#fff",A.style.lineWidth=2),A}function wC(t,e,A,r){pv(t,e,A,r),A.dispatchAction({type:"legendToggleSelect",name:t??e}),gv(t,e,A,r)}function CC(t){for(var e=t.getZr().storage.getDisplayList(),A,r=0,n=e.length;r<n&&!(A=e[r].states.emphasis);)r++;return A&&A.hoverLayer}function gv(t,e,A,r){CC(A)||A.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:r})}function pv(t,e,A,r){CC(A)||A.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:r})}const _C=CH;function FH(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(A){for(var r=0;r<e.length;r++)if(!e[r].isSelected(A.name))return!1;return!0})}function eo(t,e,A){var r=t==="allSelect"||t==="inverseSelect",n={},i=[];A.eachComponent({mainType:"legend",query:e},function(o){r?o[t]():o[t](e.name),QC(o,n),i.push(o.componentIndex)});var a={};return A.eachComponent("legend",function(o){S(n,function(s,l){o[s?"select":"unSelect"](l)}),QC(o,a)}),r?{selected:a,legendIndex:i}:{name:e.name,selected:a}}function QC(t,e){var A=e||{};return S(t.getData(),function(r){var n=r.get("name");if(!(n===`
45
- `||n==="")){var i=t.isSelected(n);kr(A,n)?A[n]=A[n]&&i:A[n]=i}}),A}function xH(t){t.registerAction("legendToggleSelect","legendselectchanged",$e(eo,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",$e(eo,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",$e(eo,"inverseSelect")),t.registerAction("legendSelect","legendselected",$e(eo,"select")),t.registerAction("legendUnSelect","legendunselected",$e(eo,"unSelect"))}function FC(t){t.registerComponentModel(vv),t.registerComponentView(_C),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,FH),t.registerSubTypeDefaulter("legend",function(){return"plain"}),xH(t)}var EH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.prototype.setScrollDataIndex=function(A){this.option.scrollDataIndex=A},e.prototype.init=function(A,r,n){var i=Ea(A);t.prototype.init.call(this,A,r,n),xC(this,A,i)},e.prototype.mergeOption=function(A,r){t.prototype.mergeOption.call(this,A,r),xC(this,this.option,A)},e.type="legend.scroll",e.defaultOption=Ps(vv.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(vv);function xC(t,e,A){var r=t.getOrient(),n=[1,1];n[r.index]=0,di(e,A,{type:"box",ignoreSize:!!n})}const UH=EH;var EC=sA,Bv=["width","height"],yv=["x","y"],SH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A.newlineDisabled=!0,A._currentIndex=0,A}return e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new EC),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new EC)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(A,r,n,i,a,o,s){var l=this;t.prototype.renderInner.call(this,A,r,n,i,a,o,s);var u=this._controllerGroup,f=r.get("pageIconSize",!0),c=re(f)?f:[f,f];v("pagePrev",0);var h=r.getModel("pageTextStyle");u.add(new OA({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(d,g){var p=d+"DataIndex",B=_c(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:pe(l._pageGo,l,p,r,i)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});B.name=d,u.add(B)}},e.prototype.layoutInner=function(A,r,n,i,a,o){var s=this.getSelectorGroup(),l=A.getOrient().index,u=Bv[l],f=yv[l],c=Bv[1-l],h=yv[1-l];a&&Qa("horizontal",s,A.get("selectorItemGap",!0));var v=A.get("selectorButtonGap",!0),d=s.getBoundingRect(),g=[-d.x,-d.y],p=Ee(n);a&&(p[u]=n[u]-d[u]-v);var B=this._layoutContentAndController(A,i,p,l,u,c,h,f);if(a){if(o==="end")g[l]+=B[u]+v;else{var y=d[u]+v;g[l]-=y,B[f]-=y}B[u]+=d[u]+v,g[1-l]+=B[h]+B[c]/2-d[c]/2,B[c]=Math.max(B[c],d[c]),B[h]=Math.min(B[h],d[h]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return B},e.prototype._layoutContentAndController=function(A,r,n,i,a,o,s,l){var u=this.getContentGroup(),f=this._containerGroup,c=this._controllerGroup;Qa(A.get("orient"),u,A.get("itemGap"),i?n.width:null,i?null:n.height),Qa("horizontal",c,A.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),v=c.getBoundingRect(),d=this._showController=h[a]>n[a],g=[-h.x,-h.y];r||(g[i]=u[l]);var p=[0,0],B=[-v.x,-v.y],y=ye(A.get("pageButtonGap",!0),A.get("itemGap",!0));if(d){var m=A.get("pageButtonPosition",!0);m==="end"?B[i]+=n[a]-v[a]:p[i]+=v[a]+y}B[1-i]+=h[o]/2-v[o]/2,u.setPosition(g),f.setPosition(p),c.setPosition(B);var _={x:0,y:0};if(_[a]=d?n[a]:h[a],_[o]=Math.max(h[o],v[o]),_[s]=Math.min(0,v[s]+B[1-i]),f.__rectSize=n[a],d){var C={x:0,y:0};C[a]=Math.max(n[a]-v[a]-y,0),C[o]=_[o],f.setClipPath(new Ze({shape:C})),f.__rectSize=C[a]}else c.eachChild(function(F){F.attr({invisible:!0,silent:!0})});var Q=this._getPageInfo(A);return Q.pageIndex!=null&&yA(u,{x:Q.contentPosition[0],y:Q.contentPosition[1]},d?A:null),this._updatePageInfoView(A,Q),_},e.prototype._pageGo=function(A,r,n){var i=this._getPageInfo(r)[A];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:r.id})},e.prototype._updatePageInfoView=function(A,r){var n=this._controllerGroup;S(["pagePrev","pageNext"],function(u){var f=u+"DataIndex",c=r[f]!=null,h=n.childOfName(u);h&&(h.setStyle("fill",c?A.get("pageIconColor",!0):A.get("pageIconInactiveColor",!0)),h.cursor=c?"pointer":"default")});var i=n.childOfName("pageText"),a=A.get("pageFormatter"),o=r.pageIndex,s=o!=null?o+1:0,l=r.pageCount;i&&a&&i.setStyle("text",ae(a)?a.replace("{current}",s==null?"":s+"").replace("{total}",l==null?"":l+""):a({current:s,total:l}))},e.prototype._getPageInfo=function(A){var r=A.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,a=A.getOrient().index,o=Bv[a],s=yv[a],l=this._findTargetItemIndex(r),u=n.children(),f=u[l],c=u.length,h=c?1:0,v={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var d=m(f);v.contentPosition[a]=-d.s;for(var g=l+1,p=d,B=d,y=null;g<=c;++g)y=m(u[g]),(!y&&B.e>p.s+i||y&&!_(y,p.s))&&(B.i>p.i?p=B:p=y,p&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=p.i),++v.pageCount)),B=y;for(var g=l-1,p=d,B=d,y=null;g>=-1;--g)y=m(u[g]),(!y||!_(B,y.s))&&p.i<B.i&&(B=p,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=p.i),++v.pageCount,++v.pageIndex),p=y;return v;function m(C){if(C){var Q=C.getBoundingRect(),F=Q[s]+C[s];return{s:F,e:F+Q[o],i:C.__legendDataIndex}}}function _(C,Q){return C.e>=Q&&C.s<=Q+i}},e.prototype._findTargetItemIndex=function(A){if(!this._showController)return 0;var r,n=this.getContentGroup(),i;return n.eachChild(function(a,o){var s=a.__legendDataIndex;i==null&&s!=null&&(i=o),s===A&&(r=o)}),r??i},e.type="legend.scroll",e}(_C);const bH=SH;function IH(t){t.registerAction("legendScroll","legendscroll",function(e,A){var r=e.scrollDataIndex;r!=null&&A.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(r)})})}function TH(t){Ht(FC),t.registerComponentModel(UH),t.registerComponentView(bH),IH(t)}function DH(t){Ht(FC),Ht(TH)}var LH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.type="dataZoom.inside",e.defaultOption=Ps(Rl.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(Rl);const MH=LH;var mv=Xe();function HH(t,e,A){mv(t).coordSysRecordMap.each(function(r){var n=r.dataZoomInfoMap.get(e.uid);n&&(n.getRange=A)})}function OH(t,e){for(var A=mv(t).coordSysRecordMap,r=A.keys(),n=0;n<r.length;n++){var i=r[n],a=A.get(i),o=a.dataZoomInfoMap;if(o){var s=e.uid,l=o.get(s);l&&(o.removeKey(s),o.keys().length||UC(A,a))}}}function UC(t,e){if(e){t.removeKey(e.model.uid);var A=e.controller;A&&A.dispose()}}function RH(t,e){var A={model:e,containsPoint:$e(NH,e),dispatchAction:$e(PH,t),dataZoomInfoMap:null,controller:null},r=A.controller=new lM(t.getZr());return S(["pan","zoom","scrollMove"],function(n){r.on(n,function(i){var a=[];A.dataZoomInfoMap.each(function(o){if(i.isAvailableBehavior(o.model.option)){var s=(o.getRange||{})[n],l=s&&s(o.dzReferCoordSysInfo,A.model.mainType,A.controller,i);!o.model.get("disabled",!0)&&l&&a.push({dataZoomId:o.model.id,start:l[0],end:l[1]})}}),a.length&&A.dispatchAction(a)})}),A}function PH(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function NH(t,e,A,r){return t.coordinateSystem.containPoint([A,r])}function kH(t){var e,A="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},n=!0;return t.each(function(i){var a=i.model,o=a.get("disabled",!0)?!1:a.get("zoomLock",!0)?"move":!0;r[A+o]>r[A+e]&&(e=o),n=n&&a.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function KH(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(e,A){var r=mv(A),n=r.coordSysRecordMap||(r.coordSysRecordMap=Be());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var a=iC(i);S(a.infoList,function(o){var s=o.model.uid,l=n.get(s)||n.set(s,RH(A,o.model)),u=l.dataZoomInfoMap||(l.dataZoomInfoMap=Be());u.set(i.uid,{dzReferCoordSysInfo:o,model:i,getRange:null})})}),n.each(function(i){var a=i.controller,o,s=i.dataZoomInfoMap;if(s){var l=s.keys()[0];l!=null&&(o=s.get(l))}if(!o){UC(n,i);return}var u=kH(s);a.enable(u.controlType,u.opt),a.setPointerChecker(i.containsPoint),il(i,"dispatchAction",o.model.get("throttle",!0),"fixRate")})})}var VH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type="dataZoom.inside",A}return e.prototype.render=function(A,r,n){if(t.prototype.render.apply(this,arguments),A.noTarget()){this._clear();return}this.range=A.getPercentRange(),HH(n,A,{pan:pe(wv.pan,this),zoom:pe(wv.zoom,this),scrollMove:pe(wv.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){OH(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(oC),wv={zoom:function(t,e,A,r){var n=this.range,i=n.slice(),a=t.axisModels[0];if(a){var o=Cv[e](null,[r.originX,r.originY],a,A,t),s=(o.signal>0?o.pixelStart+o.pixelLength-o.pixel:o.pixel-o.pixelStart)/o.pixelLength*(i[1]-i[0])+i[0],l=Math.max(1/r.scale,0);i[0]=(i[0]-s)*l+s,i[1]=(i[1]-s)*l+s;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Hl(0,i,[0,100],0,u.minSpan,u.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:SC(function(t,e,A,r,n,i){var a=Cv[r]([i.oldX,i.oldY],[i.newX,i.newY],e,n,A);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:SC(function(t,e,A,r,n,i){var a=Cv[r]([0,0],[i.scrollDelta,i.scrollDelta],e,n,A);return a.signal*(t[1]-t[0])*i.scrollDelta})};function SC(t){return function(e,A,r,n){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=t(a,o,e,A,r,n);if(Hl(s,a,[0,100],"all"),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}}}var Cv={grid:function(t,e,A,r,n){var i=A.axis,a={},o=n.model.coordinateSystem.getRect();return t=t||[0,0],i.dim==="x"?(a.pixel=e[0]-t[0],a.pixelLength=o.width,a.pixelStart=o.x,a.signal=i.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=o.height,a.pixelStart=o.y,a.signal=i.inverse?-1:1),a},polar:function(t,e,A,r,n){var i=A.axis,a={},o=n.model.coordinateSystem,s=o.getRadiusAxis().getExtent(),l=o.getAngleAxis().getExtent();return t=t?o.pointToCoord(t):[0,0],e=o.pointToCoord(e),A.mainType==="radiusAxis"?(a.pixel=e[0]-t[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=i.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=i.inverse?-1:1),a},singleAxis:function(t,e,A,r,n){var i=A.axis,a=n.model.coordinateSystem.getRect(),o={};return t=t||[0,0],i.orient==="horizontal"?(o.pixel=e[0]-t[0],o.pixelLength=a.width,o.pixelStart=a.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=a.height,o.pixelStart=a.y,o.signal=i.inverse?-1:1),o}};const GH=VH;function zH(t){uC(t),t.registerComponentModel(MH),t.registerComponentView(GH),KH(t)}var WH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Ps(Rl.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(Rl);const YH=WH;var Ao=Ze,bC=7,XH=1,_v=30,ZH=7,to="horizontal",IC="vertical",JH=5,$H=["line","bar","candlestick","scatter"],qH={easing:"cubicOut",duration:100,delay:0},jH=function(t){Z(e,t);function e(){var A=t!==null&&t.apply(this,arguments)||this;return A.type=e.type,A._displayables={},A}return e.prototype.init=function(A,r){this.api=r,this._onBrush=pe(this._onBrush,this),this._onBrushEnd=pe(this._onBrushEnd,this)},e.prototype.render=function(A,r,n,i){if(t.prototype.render.apply(this,arguments),il(this,"_dispatchZoomAction",A.get("throttle"),"fixRate"),this._orient=A.getOrient(),A.get("show")===!1){this.group.removeAll();return}if(A.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){al(this,"_dispatchZoomAction");var A=this.api.getZr();A.off("mousemove",this._onBrush),A.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var A=this.group;A.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new sA;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),A.add(r),this._positionGroup()},e.prototype._resetLocation=function(){var A=this.dataZoomModel,r=this.api,n=A.get("brushSelect"),i=n?ZH:0,a=this._findCoordRect(),o={width:r.getWidth(),height:r.getHeight()},s=this._orient===to?{right:o.width-a.x-a.width,top:o.height-_v-bC-i,width:a.width,height:_v}:{right:bC,top:a.y,width:_v,height:a.height},l=Ea(A.option);S(["right","top","width","height"],function(f){l[f]==="ph"&&(l[f]=s[f])});var u=Fa(l,o);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===IC&&this._size.reverse()},e.prototype._positionGroup=function(){var A=this.group,r=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),a=i&&i.get("inverse"),o=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n===to&&!a?{scaleY:s?1:-1,scaleX:1}:n===to&&a?{scaleY:s?1:-1,scaleX:-1}:n===IC&&!a?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var l=A.getBoundingRect([o]);A.x=r.x-l.x,A.y=r.y-l.y,A.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var A=this.dataZoomModel,r=this._size,n=this._displayables.sliderGroup,i=A.get("brushSelect");n.add(new Ao({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:A.get("backgroundColor")},z2:-40}));var a=new Ao({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:pe(this._onClickPanel,this)}),o=this.api.getZr();i?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(a)},e.prototype._renderDataShadow=function(){var A=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!A)return;var r=this._size,n=this._shadowSize||[],i=A.series,a=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),s=o&&a.getDimensionInfo(o)?i.getShadowDim():A.otherDim;if(s==null)return;var l=this._shadowPolygonPts,u=this._shadowPolylinePts;if(a!==this._shadowData||s!==this._shadowDim||r[0]!==n[0]||r[1]!==n[1]){var f=a.getDataExtent(s),c=(f[1]-f[0])*.3;f=[f[0]-c,f[1]+c];var h=[0,r[1]],v=[0,r[0]],d=[[r[0],0],[0,0]],g=[],p=v[1]/(a.count()-1),B=0,y=Math.round(a.count()/r[0]),m;a.each([s],function(E,U){if(y>0&&U%y){B+=p;return}var x=E==null||isNaN(E)||E==="",b=x?0:dA(E,f,h,!0);x&&!m&&U?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!x&&m&&(d.push([B,0]),g.push([B,0])),d.push([B,b]),g.push([B,b]),B+=p,m=x}),l=this._shadowPolygonPts=d,u=this._shadowPolylinePts=g}this._shadowData=a,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var _=this.dataZoomModel;function C(E){var U=_.getModel(E?"selectedDataBackground":"dataBackground"),x=new sA,b=new pc({shape:{points:l},segmentIgnoreThreshold:1,style:U.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),I=new xs({shape:{points:u},segmentIgnoreThreshold:1,style:U.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return x.add(b),x.add(I),x}for(var Q=0;Q<3;Q++){var F=C(Q===1);this._displayables.sliderGroup.add(F),this._displayables.dataShadowSegs.push(F)}},e.prototype._prepareDataShadowInfo=function(){var A=this.dataZoomModel,r=A.get("showDataShadow");if(r!==!1){var n,i=this.ecModel;return A.eachTargetAxis(function(a,o){var s=A.getAxisProxy(a,o).getTargetSeriesModels();S(s,function(l){if(!n&&!(r!==!0&&Le($H,l.get("type"))<0)){var u=i.getComponent(xr(a),o).axis,f=e2(a),c,h=l.coordinateSystem;f!=null&&h.getOtherAxis&&(c=h.getOtherAxis(u).inverse),f=l.getData().mapDimension(f),n={thisAxis:u,series:l,thisDim:a,otherDim:f,otherAxisInverse:c}}},this)},this),n}},e.prototype._renderHandle=function(){var A=this.group,r=this._displayables,n=r.handles=[null,null],i=r.handleLabels=[null,null],a=this._displayables.sliderGroup,o=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,f=s.get("brushSelect"),c=r.filler=new Ao({silent:f,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});a.add(c),a.add(new Ao({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:XH,fill:"rgba(0,0,0,0)"}})),S([0,1],function(y){var m=s.get("handleIcon");!ul[m]&&m.indexOf("path://")<0&&m.indexOf("image://")<0&&(m="path://"+m,process.env.NODE_ENV!=="production"&&pt("handleIcon now needs 'path://' prefix when using a path string"));var _=yr(m,-1,0,2,2,null,!0);_.attr({cursor:TC(this._orient),draggable:!0,drift:pe(this._onDragMove,this,y),ondragend:pe(this._onDragEnd,this),onmouseover:pe(this._showDataInfo,this,!0),onmouseout:pe(this._showDataInfo,this,!1),z2:5});var C=_.getBoundingRect(),Q=s.get("handleSize");this._handleHeight=aA(Q,this._size[1]),this._handleWidth=C.width/C.height*this._handleHeight,_.setStyle(s.getModel("handleStyle").getItemStyle()),_.style.strokeNoScale=!0,_.rectHover=!0,_.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),ws(_);var F=s.get("handleColor");F!=null&&(_.style.fill=F),a.add(n[y]=_);var E=s.getModel("textStyle"),U=s.get("handleLabel")||{},x=U.show||!1;A.add(i[y]=new OA({silent:!0,invisible:!x,style:cn(E,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:E.getTextColor(),font:E.getFont()}),z2:10}))},this);var h=c;if(f){var v=aA(s.get("moveHandleSize"),o[1]),d=r.moveHandle=new Ze({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:v}}),g=v*.8,p=r.moveHandleIcon=yr(s.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);p.silent=!0,p.y=o[1]+v/2-.5,d.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var B=Math.min(o[1]/2,Math.max(v,10));h=r.moveZone=new Ze({invisible:!0,shape:{y:o[1]-B,height:v+B}}),h.on("mouseover",function(){l.enterEmphasis(d)}).on("mouseout",function(){l.leaveEmphasis(d)}),a.add(d),a.add(p),a.add(h)}h.attr({draggable:!0,cursor:TC(this._orient),drift:pe(this._onDragMove,this,"all"),ondragstart:pe(this._showDataInfo,this,!0),ondragend:pe(this._onDragEnd,this),onmouseover:pe(this._showDataInfo,this,!0),onmouseout:pe(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var A=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[dA(A[0],[0,100],r,!0),dA(A[1],[0,100],r,!0)]},e.prototype._updateInterval=function(A,r){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];Hl(r,i,a,n.get("zoomLock")?"all":A,o.minSpan!=null?dA(o.minSpan,s,a,!0):null,o.maxSpan!=null?dA(o.maxSpan,s,a,!0):null);var l=this._range,u=this._range=ia([dA(i[0],a,s,!0),dA(i[1],a,s,!0)]);return!l||l[0]!==u[0]||l[1]!==u[1]},e.prototype._updateView=function(A){var r=this._displayables,n=this._handleEnds,i=ia(n.slice()),a=this._size;S([0,1],function(h){var v=r.handles[h],d=this._handleHeight;v.attr({scaleX:d/2,scaleY:d/2,x:n[h]+(h?-1:1),y:a[1]/2-d/2})},this),r.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:a[1]});var o={x:i[0],width:i[1]-i[0]};r.moveHandle&&(r.moveHandle.setShape(o),r.moveZone.setShape(o),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",o.x+o.width/2));for(var s=r.dataShadowSegs,l=[0,i[0],i[1],a[0]],u=0;u<s.length;u++){var f=s[u],c=f.getClipPath();c||(c=new Ze,f.setClipPath(c)),c.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:a[1]})}this._updateDataInfo(A)},e.prototype._updateDataInfo=function(A){var r=this.dataZoomModel,n=this._displayables,i=n.handleLabels,a=this._orient,o=["",""];if(r.get("showDetail")){var s=r.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,f=A?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(f[0],l),this._formatLabel(f[1],l)]}}var c=ia(this._handleEnds.slice());h.call(this,0),h.call(this,1);function h(v){var d=wB(n.handles[v].parent,this.group),g=CB(v===0?"right":"left",d),p=this._handleWidth/2+JH,B=ma([c[v]+(v===0?-p:p),this._size[1]/2],d);i[v].setStyle({x:B[0],y:B[1],verticalAlign:a===to?"middle":g,align:a===to?g:"center",text:o[v]})}},e.prototype._formatLabel=function(A,r){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");(a==null||a==="auto")&&(a=r.getPixelPrecision());var o=A==null||isNaN(A)?"":r.type==="category"||r.type==="time"?r.scale.getLabel({value:Math.round(A)}):A.toFixed(Math.min(a,20));return de(i)?i(A,o):ae(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(A){var r=this.dataZoomModel.get("handleLabel")||{},n=r.show||!1,i=this.dataZoomModel.getModel(["emphasis","handleLabel"]),a=i.get("show")||!1,o=A||this._dragging?a:n,s=this._displayables,l=s.handleLabels;l[0].attr("invisible",!o),l[1].attr("invisible",!o),s.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](s.moveHandle,1)},e.prototype._onDragMove=function(A,r,n,i){this._dragging=!0,Yn(i.event);var a=this._displayables.sliderGroup.getLocalTransform(),o=ma([r,n],a,!0),s=this._updateInterval(A,o[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),s&&l&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var A=this.dataZoomModel.get("realtime");!A&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(A){var r=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(A.offsetX,A.offsetY);if(!(n[0]<0||n[0]>r[0]||n[1]<0||n[1]>r[1])){var i=this._handleEnds,a=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-a);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(A){var r=A.offsetX,n=A.offsetY;this._brushStart=new Fe(r,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(A){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var n=r.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var a=this._getViewExtent(),o=[0,100];this._range=ia([dA(n.x,a,o,!0),dA(n.x+n.width,a,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(A){this._brushing&&(Yn(A.event),this._updateBrushRect(A.offsetX,A.offsetY))},e.prototype._updateBrushRect=function(A,r){var n=this._displayables,i=this.dataZoomModel,a=n.brushRect;a||(a=n.brushRect=new Ao({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(a)),a.attr("ignore",!1);var o=this._brushStart,s=this._displayables.sliderGroup,l=s.transformCoordToLocal(A,r),u=s.transformCoordToLocal(o.x,o.y),f=this._size;l[0]=Math.max(Math.min(f[0],l[0]),0),a.setShape({x:u[0],y:0,width:l[0]-u[0],height:f[1]})},e.prototype._dispatchZoomAction=function(A){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:A?qH:null,start:r[0],end:r[1]})},e.prototype._findCoordRect=function(){var A,r=iC(this.dataZoomModel).infoList;if(!A&&r.length){var n=r[0].model.coordinateSystem;A=n.getRect&&n.getRect()}if(!A){var i=this.api.getWidth(),a=this.api.getHeight();A={x:i*.2,y:a*.2,width:i*.6,height:a*.6}}return A},e.type="dataZoom.slider",e}(oC);function e2(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function TC(t){return t==="vertical"?"ns-resize":"ew-resize"}const A2=jH;function t2(t){t.registerComponentModel(YH),t.registerComponentView(A2),uC(t)}function r2(t){Ht(zH),Ht(t2)}function DC(t,e,A){var r=On.createCanvas(),n=e.getWidth(),i=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=n+"px",a.height=i+"px",r.setAttribute("data-zr-dom-id",t)),r.width=n*A,r.height=i*A,r}var n2=function(t){Z(e,t);function e(A,r,n){var i=t.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var a;n=n||jo,typeof A=="string"?a=DC(A,r,n):fe(A)&&(a=A,A=a.id),i.id=A,i.dom=a;var o=a.style;return o&&(Id(a),a.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),i.painter=r,i.dpr=n,i}return 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 A=this.dpr;this.domBack=DC("back-"+this.id,this.painter,A),this.ctxBack=this.domBack.getContext("2d"),A!==1&&this.ctxBack.scale(A,A)},e.prototype.createRepaintRects=function(A,r,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var a=[],o=this.maxRepaintRectCount,s=!1,l=new Me(0,0,0,0);function u(B){if(!(!B.isFinite()||B.isZero()))if(a.length===0){var y=new Me(0,0,0,0);y.copy(B),a.push(y)}else{for(var m=!1,_=1/0,C=0,Q=0;Q<a.length;++Q){var F=a[Q];if(F.intersect(B)){var E=new Me(0,0,0,0);E.copy(F),E.union(B),a[Q]=E,m=!0;break}else if(s){l.copy(B),l.union(F);var U=B.width*B.height,x=F.width*F.height,b=l.width*l.height,I=b-U-x;I<_&&(_=I,C=Q)}}if(s&&(a[C].union(B),m=!0),!m){var y=new Me(0,0,0,0);y.copy(B),a.push(y)}s||(s=a.length>=o)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var c=A[f];if(c){var h=c.shouldBePainted(n,i,!0,!0),v=c.__isRendered&&(c.__dirty&VA||!h)?c.getPrevPaintRect():null;v&&u(v);var d=h&&(c.__dirty&VA||!c.__isRendered)?c.getPaintRect():null;d&&u(d)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var c=r[f],h=c&&c.shouldBePainted(n,i,!0,!0);if(c&&(!h||!c.__zr)&&c.__isRendered){var v=c.getPrevPaintRect();v&&u(v)}}var g;do{g=!1;for(var f=0;f<a.length;){if(a[f].isZero()){a.splice(f,1);continue}for(var p=f+1;p<a.length;)a[f].intersect(a[p])?(g=!0,a[f].union(a[p]),a.splice(p,1)):p++;f++}}while(g);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(A,r){var n=this.dpr,i=this.dom,a=i.style,o=this.domBack;a&&(a.width=A+"px",a.height=r+"px"),i.width=A*n,i.height=r*n,o&&(o.width=A*n,o.height=r*n,n!==1&&this.ctxBack.scale(n,n))},e.prototype.clear=function(A,r,n){var i=this.dom,a=this.ctx,o=i.width,s=i.height;r=r||this.clearColor;var l=this.motionBlur&&!A,u=this.lastFrameAlpha,f=this.dpr,c=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/f,s/f));var h=this.domBack;function v(d,g,p,B){if(a.clearRect(d,g,p,B),r&&r!=="transparent"){var y=void 0;if(So(r)){var m=r.global||r.__width===p&&r.__height===B;y=m&&r.__canvasGradient||oh(a,r,{x:0,y:0,width:p,height:B}),r.__canvasGradient=y,r.__width=p,r.__height=B}else rQ(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,y=sh(a,r,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));a.save(),a.fillStyle=y||r,a.fillRect(d,g,p,B),a.restore()}l&&(a.save(),a.globalAlpha=u,a.drawImage(h,d,g,p,B),a.restore())}!n||l?v(0,0,o,s):n.length&&S(n,function(d){v(d.x*f,d.y*f,d.width*f,d.height*f)})},e}(dt);const Qv=n2;var LC=1e5,bn=314159,Nl=.01,i2=.001;function a2(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function o2(t,e){var A=document.createElement("div");return A.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",A}var s2=function(){function t(e,A,r,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=r=Y({},r||{}),this.dpr=r.devicePixelRatio||jo,this._singleCanvas=i,this.root=e;var a=e.style;a&&(Id(e),e.innerHTML=""),this.storage=A;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,f=u.width,c=u.height;r.width!=null&&(f=r.width),r.height!=null&&(c=r.height),this.dpr=r.devicePixelRatio||1,u.width=f*this.dpr,u.height=c*this.dpr,this._width=f,this._height=c;var h=new Qv(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[bn]=h,h.zlevel=bn,o.push(bn),this._domRoot=e}else{this._width=cl(e,0,r),this._height=cl(e,1,r);var l=this._domRoot=o2(this._width,this._height);e.appendChild(l)}}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 e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.refresh=function(e){var A=this.storage.getDisplayList(!0),r=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(A,r,e,this._redrawId);for(var i=0;i<n.length;i++){var a=n[i],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=i===0?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=A.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(e){var A=e.length,r=this._hoverlayer;if(r&&r.clear(),!!A){for(var n={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,a=0;a<A;a++){var o=e[a];o.__inHover&&(r||(r=this._hoverlayer=this.getLayer(LC)),i||(i=r.ctx,i.save()),mn(i,o,n,a===A-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(LC)},t.prototype.paintOne=function(e,A){xy(e,A)},t.prototype._paintList=function(e,A,r,n){if(this._redrawId===n){r=r||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,A,r),a=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(e),a)this.eachLayer(function(l){l.afterBrush&&l.afterBrush()});else{var s=this;lf(function(){s._paintList(e,A,r,n)})}}},t.prototype._compositeManually=function(){var e=this.getLayer(bn).ctx,A=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,A,r),this.eachBuiltinLayer(function(n){n.virtual&&e.drawImage(n.dom,0,0,A,r)})},t.prototype._doPaintList=function(e,A,r){for(var n=this,i=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||r)&&i.push(l)}for(var u=!0,f=!1,c=function(d){var g=i[d],p=g.ctx,B=a&&g.createRepaintRects(e,A,h._width,h._height),y=r?g.__startIndex:g.__drawIndex,m=!r&&g.incremental&&Date.now,_=m&&Date.now(),C=g.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,C,B);else if(y===g.__startIndex){var Q=e[y];(!Q.incremental||!Q.notClear||r)&&g.clear(!1,C,B)}y===-1&&(console.error("For some unknown reason. drawIndex is -1"),y=g.__startIndex);var F,E=function(I){var T={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(F=y;F<g.__endIndex;F++){var D=e[F];if(D.__inHover&&(f=!0),n._doPaintEl(D,g,a,I,T,F===g.__endIndex-1),m){var R=Date.now()-_;if(R>15)break}}T.prevElClipPaths&&p.restore()};if(B)if(B.length===0)F=g.__endIndex;else for(var U=h.dpr,x=0;x<B.length;++x){var b=B[x];p.save(),p.beginPath(),p.rect(b.x*U,b.y*U,b.width*U,b.height*U),p.clip(),E(b),p.restore()}else p.save(),E(),p.restore();g.__drawIndex=F,g.__drawIndex<g.__endIndex&&(u=!1)},h=this,v=0;v<i.length;v++)c(v);return Qe.wxa&&S(this._layers,function(d){d&&d.ctx&&d.ctx.draw&&d.ctx.draw()}),{finished:u,needsRefreshHover:f}},t.prototype._doPaintEl=function(e,A,r,n,i,a){var o=A.ctx;if(r){var s=e.getPaintRect();(!n||s&&s.intersect(n))&&(mn(o,e,i,a),e.setPrevPaintRect(s))}else mn(o,e,i,a)},t.prototype.getLayer=function(e,A){this._singleCanvas&&!this._needsManuallyCompositing&&(e=bn);var r=this._layers[e];return r||(r=new Qv("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?De(r,this._layerConfig[e],!0):this._layerConfig[e-Nl]&&De(r,this._layerConfig[e-Nl],!0),A&&(r.virtual=A),this.insertLayer(e,r),r.initContext()),r},t.prototype.insertLayer=function(e,A){var r=this._layers,n=this._zlevelList,i=n.length,a=this._domRoot,o=null,s=-1;if(r[e]){process.env.NODE_ENV!=="production"&&Pr("ZLevel "+e+" has been used already");return}if(!a2(A)){process.env.NODE_ENV!=="production"&&Pr("Layer of zlevel "+e+" is not valid");return}if(i>0&&e>n[0]){for(s=0;s<i-1&&!(n[s]<e&&n[s+1]>e);s++);o=r[n[s]]}if(n.splice(s+1,0,e),r[e]=A,!A.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(A.dom,l.nextSibling):a.appendChild(A.dom)}else a.firstChild?a.insertBefore(A.dom,a.firstChild):a.appendChild(A.dom);A.painter||(A.painter=this)},t.prototype.eachLayer=function(e,A){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n];e.call(A,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(e,A){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__&&e.call(A,a,i)}},t.prototype.eachOtherLayer=function(e,A){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__||e.call(A,a,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(f,c){f.__dirty=f.__used=!1});function A(f){i&&(i.__endIndex!==f&&(i.__dirty=!0),i.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<e.length;r++){var n=e[r];if(n.zlevel!==e[r-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var i=null,a=0,o,s;for(s=0;s<e.length;s++){var n=e[s],l=n.zlevel,u=void 0;o!==l&&(o=l,a=0),n.incremental?(u=this.getLayer(l+i2,this._needsManuallyCompositing),u.incremental=!0,a=1):u=this.getLayer(l+(a>0?Nl:0),this._needsManuallyCompositing),u.__builtin__||Pr("ZLevel "+l+" has been used by unkown layer "+u.id),u!==i&&(u.__used=!0,u.__startIndex!==s&&(u.__dirty=!0),u.__startIndex=s,u.incremental?u.__drawIndex=-1:u.__drawIndex=s,A(s),i=u),n.__dirty&VA&&!n.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=s))}A(s),this.eachBuiltinLayer(function(f,c){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(e){e.clear()},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e,S(this._layers,function(A){A.setUnpainted()})},t.prototype.configLayer=function(e,A){if(A){var r=this._layerConfig;r[e]?De(r[e],A,!0):r[e]=A;for(var n=0;n<this._zlevelList.length;n++){var i=this._zlevelList[n];if(i===e||i===e+Nl){var a=this._layers[i];De(a,r[e],!0)}}}},t.prototype.delLayer=function(e){var A=this._layers,r=this._zlevelList,n=A[e];n&&(n.dom.parentNode.removeChild(n.dom),delete A[e],r.splice(Le(r,e),1))},t.prototype.resize=function(e,A){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;if(e!=null&&(n.width=e),A!=null&&(n.height=A),e=cl(i,0,n),A=cl(i,1,n),r.style.display="",this._width!==e||A!==this._height){r.style.width=e+"px",r.style.height=A+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,A);this.refresh(!0)}this._width=e,this._height=A}else{if(e==null||A==null)return;this._width=e,this._height=A,this.getLayer(bn).resize(e,A)}return this},t.prototype.clearLayer=function(e){var A=this._layers[e];A&&A.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[bn].dom;var A=new Qv("image",this,e.pixelRatio||this.dpr);A.initContext(),A.clear(!1,e.backgroundColor||this._backgroundColor);var r=A.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var n=A.dom.width,i=A.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,n,i):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];mn(r,u,a,s===l-1)}return A.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const l2=s2;function u2(t){t.registerPainter("canvas",l2)}function f2(){let t=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(A){const r=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(A=="x"?r:r&3|8).toString(16)})}const MC=["#E3A8F7","#5C2D91","#8AE2C2","#FF6B8B","#3A7BD5","#F9D423","#7B4397","#40E0D0","#FF416C","#11998E","#C94B4B","#4CA1AF","#FF8008","#8A2387","#8EC5FC","#E0C3FC","#74EBD5","#FFD89B","#FD6585","#A3CB38","#6A11CB","#FF5E62","#3494E6","#EC6EAD","#FFE000","#799F0C","#00416A","#834D9B","#0052D4","#43C6AC","#8E2DE2","#4A00E0","#FF4B1F","#1CB5E0","#FF7E5F","#FBD3E9","#BB377D","#FF5F6D","#FFC371","#159957","#155799","#3CA55C","#D66D75","#F3904F","#B3FFAB","#12FFF7","#AA076B","#61045F","#FF7A00","#FFD200","#00B4DB","#0083B0"];function kl(t){let e=/^(\d{4})-(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,A=/^(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,r=/^(\d{4})-(\d{2})-(\d{2})$/;return e.test(t)||A.test(t)||r.test(t)}function be(t,e,A){let r="";return e-t<=1?r=.1:e-t<=5?r=.5:e-t<=10?r=1:e-t<=25?r=2.5:e-t<=50?r=5:e-t<=100?r=10:e-t<=250?r=25:e-t<=500?r=50:e-t<=1e3?r=100:e-t<=2500?r=250:e-t<=5e3?r=500:e-t<=1e4?r=1e3:e-t<=2e4?r=2e3:e-t<=3e4?r=3e3:e-t<=4e4?r=4e3:e-t<=5e4?r=5e3:e-t<=6e4?r=6e3:e-t<=7e4?r=7e3:e-t<=8e4?r=8e3:e-t<=9e4?r=9e3:e-t<=1e5?r=1e4:e-t<=11e4?r=11e3:e-t<=12e4?r=12e3:e-t<=13e4?r=13e3:e-t<=14e4?r=14e3:e-t<=15e4?r=15e3:e-t<=16e4?r=16e3:e-t<=17e4?r=17e3:e-t<=18e4?r=18e3:e-t<=19e4?r=19e3:e-t<=2e5&&(r=2e4),A==1&&(r=r*2),r}function Ti(t){if(isNaN(t))return"";var e=parseFloat(t);if(e>1){for(var A=0,r=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],n=0;n<r.length;n++)e>=r[n]&&e<r[n+1]&&(A=r[n]);if(A==0)return e.toString();var i=Math.round(e/A*100)/100;return i=i*A,i>=100?i.toFixed(0):i>=10?i.toFixed(1):i.toFixed(2)}else{if(e>=0)return e.toFixed(3);if(e<0)return"-"+Ti(Math.abs(e))}}function HC(t,e,A){const r=[];let n=new Date(t);for(;n<=e;){const i=n.getMinutes();i%A===0&&r.push(we(new Date(n)).format("YYYY-MM-DD HH:mm")),n.setMinutes(i+1)}return r}function c2(t,e){t=t.sort((n,i)=>Date.parse(n)-Date.parse(i));let A,r=[];for(let n=0;n<t.length;n++){n==0&&(A=t[n]);let i=we(t[n]).add(e,"minute").format("YYYY-MM-DD HH:mm");t.includes(i)||(r.push({startTm:A,endTm:t[n]}),n+1<t.length&&(A=t[n+1]))}return r}const h2=t=>new Promise(e=>{setTimeout(()=>{e({statusCode:200,data:t.rzw*1e3})},100)});/*!
43
+ `:"<br/>",p=f.join(g);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,h,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(o,p,l,Math.random()+"",a[0],a[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(t,r,n){var i=this._ecModel,a=Te(r),o=a.seriesIndex,s=i.getSeriesByIndex(o),l=a.dataModel||s,u=a.dataIndex,f=a.dataType,c=l.getData(f),h=this._renderMode,v=t.positionDefault,d=Fo([c.getItemModel(u),l,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var p=l.getDataParams(u,f),B=new tv;p.marker=B.makeTooltipMarker("item",Tn(p.color),h);var m=Em(l.formatTooltip(u,!1,f)),y=d.get("order"),_=d.get("valueFormatter"),C=m.frag,Q=C?Nm(_?W({valueFormatter:_},C):C,B,h,y,i.get("useUTC"),d.get("textStyle")):m.text,x="item_"+l.name+"_"+u;this._showOrMove(d,function(){this._showTooltipContent(d,Q,p,x,t.offsetX,t.offsetY,t.position,t.target,B)}),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,r,n){var i=this._renderMode==="html",a=Te(r),o=a.tooltipConfig,s=o.option||{},l=s.encodeHTMLContent;if(ue(s)){var u=s;s={content:u,formatter:u},l=!0}l&&i&&s.content&&(s=Se(s),s.content=kt(s.content));var f=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&f.push(c),f.push({formatter:s.content});var h=t.positionDefault,v=Fo(f,this._tooltipModel,h?{position:h}:null),d=v.get("content"),g=Math.random()+"",p=new tv;this._showOrMove(v,function(){var B=Se(v.get("formatterParams")||{});this._showTooltipContent(v,d,B,g,t.offsetX,t.offsetY,t.position,r,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,r,n,i,a,o,s,l,u){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var f=this._tooltipContent;f.setEnterable(t.get("enterable"));var c=t.get("formatter");s=s||t.get("position");var h=r,v=this._getNearestPoint([a,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)),d=v.color;if(c)if(ue(c)){var g=t.ecModel.get("useUTC"),p=ie(n)?n[0]:n,B=p&&p.axisType&&p.axisType.indexOf("time")>=0;h=c,B&&(h=_l(p.axisValue,h,g)),h=zB(h,n,!0)}else if(me(c)){var m=ye(function(y,_){y===this._ticket&&(f.setContent(_,u,t,d,s),this._updatePosition(t,s,a,o,f,n,l))},this);this._ticket=i,h=c(n,i,m)}else h=c;f.setContent(h,u,t,d,s),f.show(t,d),this._updatePosition(t,s,a,o,f,n,l)}},e.prototype._getNearestPoint=function(t,r,n,i,a){if(n==="axis"||ie(r))return{color:i||a};if(!ie(r))return{color:i||r.color||r.borderColor}},e.prototype._updatePosition=function(t,r,n,i,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();r=r||t.get("position");var f=a.getSize(),c=t.get("align"),h=t.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),me(r)&&(r=r([n,i],o,a.el,v,{viewSize:[l,u],contentSize:f.slice()})),ie(r))n=ct(r[0],l),i=ct(r[1],u);else if(ve(r)){var d=r;d.width=f[0],d.height=f[1];var g=Hi(d,{width:l,height:u});n=g.x,i=g.y,c=null,h=null}else if(ue(r)&&s){var p=a2(r,v,f,t.get("borderWidth"));n=p[0],i=p[1]}else{var p=n2(n,i,a,l,u,c?null:20,h?null:20);n=p[0],i=p[1]}if(c&&(n-=C_(c)?f[0]/2:c==="right"?f[0]:0),h&&(i-=C_(h)?f[1]/2:h==="bottom"?f[1]:0),h_(t)){var p=i2(n,i,a,l,u);n=p[0],i=p[1]}a.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,r){var n=this._lastDataByCoordSys,i=this._cbParamsList,a=!!n&&n.length===t.length;return a&&b(n,function(o,s){var l=o.dataByAxis||[],u=t[s]||{},f=u.dataByAxis||[];a=a&&l.length===f.length,a&&b(l,function(c,h){var v=f[h]||{},d=c.seriesDataIndices||[],g=v.seriesDataIndices||[];a=a&&c.value===v.value&&c.axisType===v.axisType&&c.axisId===v.axisId&&d.length===g.length,a&&b(d,function(p,B){var m=g[B];a=a&&p.seriesIndex===m.seriesIndex&&p.dataIndex===m.dataIndex}),i&&b(c.seriesDataIndices,function(p){var B=p.seriesIndex,m=r[B],y=i[B];m&&y&&y.data!==m.data&&(a=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=r,!!a},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,r){_e.node||!r.getDom()||(Nl(this,"_updatePosition"),this._tooltipContent.dispose(),pd("itemTooltip",r))},e.type="tooltip",e})(xA);function Fo(A,e,t){var r=e.ecModel,n;t?(n=new je(t,r,r),n=new je(e.option,n,r)):n=e;for(var i=A.length-1;i>=0;i--){var a=A[i];a&&(a instanceof je&&(a=a.get("tooltip",!0)),ue(a)&&(a={formatter:a}),a&&(n=new je(a,n,r)))}return n}function w_(A,e){return A.dispatchAction||ye(e.dispatchAction,e)}function n2(A,e,t,r,n,i,a){var o=t.getSize(),s=o[0],l=o[1];return i!=null&&(A+s+i+2>r?A-=s+i:A+=i),a!=null&&(e+l+a>n?e-=l+a:e+=a),[A,e]}function i2(A,e,t,r,n){var i=t.getSize(),a=i[0],o=i[1];return A=Math.min(A+a,r)-a,e=Math.min(e+o,n)-o,A=Math.max(A,0),e=Math.max(e,0),[A,e]}function a2(A,e,t,r){var n=t[0],i=t[1],a=Math.ceil(Math.SQRT2*r)+8,o=0,s=0,l=e.width,u=e.height;switch(A){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-i/2;break;case"top":o=e.x+l/2-n/2,s=e.y-i-a;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-i/2;break;case"right":o=e.x+l+a,s=e.y+u/2-i/2}return[o,s]}function C_(A){return A==="center"||A==="middle"}function o2(A,e,t){var r=Sc(A).queryOptionMap,n=r.keys()[0];if(!(!n||n==="series")){var i=Ia(e,n,r.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),a=i.models[0];if(a){var o=t.getViewOfComponentModel(a),s;if(o.group.traverse(function(l){var u=Te(l).tooltipConfig;if(u&&u.name===A.name)return s=l,!0}),s)return{componentMainType:n,componentIndex:a.componentIndex,el:s}}}}function s2(A){qA(i_),A.registerComponentModel(GH),A.registerComponentView(r2),A.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Tt),A.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Tt)}var l2=function(A,e){if(e==="all")return{type:"all",title:A.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:A.getLocaleModel().get(["legend","selector","inverse"])}},md=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,r,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.call(this,t,r),this._updateSelector(t)},e.prototype._updateSelector=function(t){var r=t.selector,n=this.ecModel;r===!0&&(r=t.selector=["all","inverse"]),ie(r)&&b(r,function(i,a){ue(i)&&(i={type:i}),r[a]=Me(i,l2(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var r=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),r=!0;break}}!r&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var r=[],n=[];t.eachRawSeries(function(s){var l=s.name;n.push(l);var u;if(s.legendVisualProvider){var f=s.legendVisualProvider,c=f.getAllNames();t.isSeriesFiltered(s)||(n=n.concat(c)),c.length?r=r.concat(c):u=!0}else u=!0;u&&Ec(s)&&r.push(s.name)}),this._availableNames=n;var i=this.get("data")||r,a=we(),o=Be(i,function(s){return(ue(s)||We(s))&&(s={name:s}),a.get(s.name)?null:(a.set(s.name,!0),new je(s,this,this.ecModel))},this);this._data=rt(o,function(s){return!!s})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var r=this.option.selected,n=this.get("selectedMode");if(n==="single"){var i=this._data;b(i,function(a){r[a.get("name")]=!1})}r[t]=!0},e.prototype.unSelect=function(t){this.get("selectedMode")!=="single"&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var r=this.option.selected;r.hasOwnProperty(t)||(r[t]=!0),this[r[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,r=this.option.selected;b(t,function(n){r[n.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,r=this.option.selected;b(t,function(n){var i=n.get("name",!0);r.hasOwnProperty(i)||(r[i]=!0),r[i]=!r[i]})},e.prototype.isSelected=function(t){var r=this.option.selected;return!(r.hasOwnProperty(t)&&!r[t])&&Ie(this._availableNames,t)>=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:ae.size.m,align:"auto",backgroundColor:ae.color.transparent,borderColor:ae.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:ae.color.disabled,inactiveBorderColor:ae.color.disabled,inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:ae.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:ae.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:ae.color.tertiary,borderWidth:1,borderColor:ae.color.border},emphasis:{selectorLabel:{show:!0,color:ae.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},e})(He),ea=nt,yd=b,Qu=st,__=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new Qu),this.group.add(this._selectorGroup=new Qu),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,r,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var a=t.get("align"),o=t.get("orient");(!a||a==="auto")&&(a=t.get("left")==="right"&&o==="vertical"?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);s&&(!l||l==="auto")&&(l=o==="horizontal"?"end":"start"),this.renderInner(a,t,r,n,s,o,l);var u=Ph(t,n).refContainer,f=t.getBoxLayoutParams(),c=t.get("padding"),h=Hi(f,u,c),v=this.layoutInner(t,a,h,i,s,l),d=Hi(Oe({width:v.width,height:v.height},f),u,c);this.group.x=d.x-v.x,this.group.y=d.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=KH(v,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,r,n,i,a,o,s){var l=this.getContentGroup(),u=we(),f=r.get("selectedMode"),c=r.get("triggerEvent"),h=[];n.eachRawSeries(function(v){!v.get("legendHoverLink")&&h.push(v.id)}),yd(r.getData(),function(v,d){var g=this,p=v.get("name");if(!this.newlineDisabled&&(p===""||p===`
44
+ `)){var B=new Qu;B.newline=!0,l.add(B);return}var m=n.getSeriesByName(p)[0];if(!u.get(p)){if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},C=y.getVisual("legendIcon"),Q=y.getVisual("style"),x=this._createItem(m,p,d,v,r,t,_,Q,C,f,i);x.on("click",ea(Q_,p,null,i,h)).on("mouseover",ea(wd,m.name,null,i,h)).on("mouseout",ea(Cd,m.name,null,i,h)),n.ssr&&x.eachChild(function(F){var S=Te(F);S.seriesIndex=m.seriesIndex,S.dataIndex=d,S.ssrType="legend"}),c&&x.eachChild(function(F){g.packEventData(F,r,m,d,p)}),u.set(p,!0)}else n.eachRawSeries(function(F){var S=this;if(!u.get(p)&&F.legendVisualProvider){var E=F.legendVisualProvider;if(!E.containName(p))return;var I=E.indexOfName(p),U=E.getItemVisual(I,"style"),T=E.getItemVisual(I,"legendIcon"),H=HA(U.fill);H&&H[3]===0&&(H[3]=.2,U=W(W({},U),{fill:Ca(H,"rgba")}));var P=this._createItem(F,p,d,v,r,t,{},U,T,f,i);P.on("click",ea(Q_,null,p,i,h)).on("mouseover",ea(wd,null,p,i,h)).on("mouseout",ea(Cd,null,p,i,h)),n.ssr&&P.eachChild(function(Z){var K=Te(Z);K.seriesIndex=F.seriesIndex,K.dataIndex=d,K.ssrType="legend"}),c&&P.eachChild(function(Z){S.packEventData(Z,r,F,d,p)}),u.set(p,!0)}},this);process.env.NODE_ENV!=="production"&&(u.get(p)||console.warn(p+" series not exists. Legend data should be same with series name or data name."))}},this),a&&this._createSelector(a,r,i,o,s)},e.prototype.packEventData=function(t,r,n,i,a){var o={componentType:"legend",componentIndex:r.componentIndex,dataIndex:i,value:a,seriesIndex:n.seriesIndex};Te(t).eventData=o},e.prototype._createSelector=function(t,r,n,i,a){var o=this.getSelectorGroup();yd(t,function(l){var u=l.type,f=new Ht({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:u==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});o.add(f);var c=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);vl(f,{normal:c,emphasis:h},{defaultText:l.title}),Js(f)})},e.prototype._createItem=function(t,r,n,i,a,o,s,l,u,f,c){var h=t.visualDrawType,v=a.get("itemWidth"),d=a.get("itemHeight"),g=a.isSelected(r),p=i.get("symbolRotate"),B=i.get("symbolKeepAspect"),m=i.get("icon");u=m||u||"roundRect";var y=u2(u,i,s,l,h,g,c),_=new Qu,C=i.getModel("textStyle");if(me(t.getLegendIcon)&&(!m||m==="inherit"))_.add(t.getLegendIcon({itemWidth:v,itemHeight:d,icon:u,iconRotate:p,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:B}));else{var Q=m==="inherit"&&t.getData().getVisual("symbol")?p==="inherit"?t.getData().getVisual("symbolRotate"):p:0;_.add(f2({itemWidth:v,itemHeight:d,icon:u,iconRotate:Q,itemStyle:y.itemStyle,symbolKeepAspect:B}))}var x=o==="left"?v+5:-5,F=o,S=a.get("formatter"),E=r;ue(S)&&S?E=S.replace("{name}",r??""):me(S)&&(E=S(r));var I=g?C.getTextColor():i.get("inactiveColor");_.add(new Ht({style:Un(C,{text:E,x,y:d/2,fill:I,align:F,verticalAlign:"middle"},{inheritColor:I})}));var U=new Je({shape:_.getBoundingRect(),style:{fill:"transparent"}}),T=i.getModel("tooltip");return T.get("show")&&ul({el:U,componentModel:a,itemName:r,itemTooltipOption:T.option}),_.add(U),_.eachChild(function(H){H.silent=!0}),U.silent=!f,this.getContentGroup().add(_),Js(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,r,n,i,a,o){var s=this.getContentGroup(),l=this.getSelectorGroup();Wa(t.get("orient"),s,t.get("itemGap"),n.width,n.height);var u=s.getBoundingRect(),f=[-u.x,-u.y];if(l.markRedraw(),s.markRedraw(),a){Wa("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),h=[-c.x,-c.y],v=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",p=d===0?"height":"width",B=d===0?"y":"x";o==="end"?h[d]+=u[g]+v:f[d]+=c[g]+v,h[1-d]+=u[p]/2-c[p]/2,l.x=h[0],l.y=h[1],s.x=f[0],s.y=f[1];var m={x:0,y:0};return m[g]=u[g]+v+c[g],m[p]=Math.max(u[p],c[p]),m[B]=Math.min(0,c[B]+h[1-d]),m}else return s.x=f[0],s.y=f[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e})(xA);function u2(A,e,t,r,n,i,a){function o(g,p){g.lineWidth==="auto"&&(g.lineWidth=p.lineWidth>0?2:0),yd(g,function(B,m){g[m]==="inherit"&&(g[m]=p[m])})}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=A.lastIndexOf("empty",0)===0?"fill":"stroke",f=s.getShallow("decal");l.decal=!f||f==="inherit"?r.decal:lv(f,a),l.fill==="inherit"&&(l.fill=r[n]),l.stroke==="inherit"&&(l.stroke=r[u]),l.opacity==="inherit"&&(l.opacity=(n==="fill"?r:t).opacity),o(l,r);var c=e.getModel("lineStyle"),h=c.getLineStyle();if(o(h,t),l.fill==="auto"&&(l.fill=r.fill),l.stroke==="auto"&&(l.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!i){var v=e.get("inactiveBorderWidth"),d=l[u];l.lineWidth=v==="auto"?r.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),h.stroke=c.get("inactiveColor"),h.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:h}}function f2(A){var e=A.icon||"roundRect",t=Hr(e,0,0,A.itemWidth,A.itemHeight,A.itemStyle.fill,A.symbolKeepAspect);return t.setStyle(A.itemStyle),t.rotation=(A.iconRotate||0)*Math.PI/180,t.setOrigin([A.itemWidth/2,A.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill=ae.color.neutral00,t.style.lineWidth=2),t}function Q_(A,e,t,r){Cd(A,e,t,r),t.dispatchAction({type:"legendToggleSelect",name:A??e}),wd(A,e,t,r)}function x_(A){for(var e=A.getZr().storage.getDisplayList(),t,r=0,n=e.length;r<n&&!(t=e[r].states.emphasis);)r++;return t&&t.hoverLayer}function wd(A,e,t,r){x_(t)||t.dispatchAction({type:"highlight",seriesName:A,name:e,excludeSeriesId:r})}function Cd(A,e,t,r){x_(t)||t.dispatchAction({type:"downplay",seriesName:A,name:e,excludeSeriesId:r})}function c2(A){var e=A.findComponents({mainType:"legend"});e&&e.length&&A.filterSeries(function(t){for(var r=0;r<e.length;r++)if(!e[r].isSelected(t.name))return!1;return!0})}function Eo(A,e,t){var r=A==="allSelect"||A==="inverseSelect",n={},i=[];t.eachComponent({mainType:"legend",query:e},function(o){r?o[A]():o[A](e.name),F_(o,n),i.push(o.componentIndex)});var a={};return t.eachComponent("legend",function(o){b(n,function(s,l){o[s?"select":"unSelect"](l)}),F_(o,a)}),r?{selected:a,legendIndex:i}:{name:e.name,selected:a}}function F_(A,e){var t=e||{};return b(A.getData(),function(r){var n=r.get("name");if(!(n===`
45
+ `||n==="")){var i=A.isSelected(n);mA(t,n)?t[n]=t[n]&&i:t[n]=i}}),t}function h2(A){A.registerAction("legendToggleSelect","legendselectchanged",nt(Eo,"toggleSelected")),A.registerAction("legendAllSelect","legendselectall",nt(Eo,"allSelect")),A.registerAction("legendInverseSelect","legendinverseselect",nt(Eo,"inverseSelect")),A.registerAction("legendSelect","legendselected",nt(Eo,"select")),A.registerAction("legendUnSelect","legendunselected",nt(Eo,"unSelect"))}function E_(A){A.registerComponentModel(md),A.registerComponentView(__),A.registerProcessor(A.PRIORITY.PROCESSOR.SERIES_FILTER,c2),A.registerSubTypeDefaulter("legend",function(){return"plain"}),h2(A)}var v2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(t,r,n){var i=Oi(t);A.prototype.init.call(this,t,r,n),b_(this,t,i)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.call(this,t,r),b_(this,this.option,t)},e.type="legend.scroll",e.defaultOption=gl(md.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:ae.color.accent50,pageIconInactiveColor:ae.color.accent10,pageIconSize:15,pageTextStyle:{color:ae.color.tertiary},animationDurationUpdate:800}),e})(md);function b_(A,e,t){var r=A.getOrient(),n=[1,1];n[r.index]=0,Lr(e,t,{type:"box",ignoreSize:!!n})}var S_=st,_d=["width","height"],Qd=["x","y"],d2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!0,t._currentIndex=0,t}return e.prototype.init=function(){A.prototype.init.call(this),this.group.add(this._containerGroup=new S_),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new S_)},e.prototype.resetInner=function(){A.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(t,r,n,i,a,o,s){var l=this;A.prototype.renderInner.call(this,t,r,n,i,a,o,s);var u=this._controllerGroup,f=r.get("pageIconSize",!0),c=ie(f)?f:[f,f];v("pagePrev",0);var h=r.getModel("pageTextStyle");u.add(new Ht({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(d,g){var p=d+"DataIndex",B=dh(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:ye(l._pageGo,l,p,r,i)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});B.name=d,u.add(B)}},e.prototype.layoutInner=function(t,r,n,i,a,o){var s=this.getSelectorGroup(),l=t.getOrient().index,u=_d[l],f=Qd[l],c=_d[1-l],h=Qd[1-l];a&&Wa("horizontal",s,t.get("selectorItemGap",!0));var v=t.get("selectorButtonGap",!0),d=s.getBoundingRect(),g=[-d.x,-d.y],p=Se(n);a&&(p[u]=n[u]-d[u]-v);var B=this._layoutContentAndController(t,i,p,l,u,c,h,f);if(a){if(o==="end")g[l]+=B[u]+v;else{var m=d[u]+v;g[l]-=m,B[f]-=m}B[u]+=d[u]+v,g[1-l]+=B[h]+B[c]/2-d[c]/2,B[c]=Math.max(B[c],d[c]),B[h]=Math.min(B[h],d[h]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return B},e.prototype._layoutContentAndController=function(t,r,n,i,a,o,s,l){var u=this.getContentGroup(),f=this._containerGroup,c=this._controllerGroup;Wa(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),Wa("horizontal",c,t.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),v=c.getBoundingRect(),d=this._showController=h[a]>n[a],g=[-h.x,-h.y];r||(g[i]=u[l]);var p=[0,0],B=[-v.x,-v.y],m=de(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var y=t.get("pageButtonPosition",!0);y==="end"?B[i]+=n[a]-v[a]:p[i]+=v[a]+m}B[1-i]+=h[o]/2-v[o]/2,u.setPosition(g),f.setPosition(p),c.setPosition(B);var _={x:0,y:0};if(_[a]=d?n[a]:h[a],_[o]=Math.max(h[o],v[o]),_[s]=Math.min(0,v[s]+B[1-i]),f.__rectSize=n[a],d){var C={x:0,y:0};C[a]=Math.max(n[a]-v[a]-m,0),C[o]=_[o],f.setClipPath(new Je({shape:C})),f.__rectSize=C[a]}else c.eachChild(function(x){x.attr({invisible:!0,silent:!0})});var Q=this._getPageInfo(t);return Q.pageIndex!=null&&Ft(u,{x:Q.contentPosition[0],y:Q.contentPosition[1]},d?t:null),this._updatePageInfoView(t,Q),_},e.prototype._pageGo=function(t,r,n){var i=this._getPageInfo(r)[t];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:r.id})},e.prototype._updatePageInfoView=function(t,r){var n=this._controllerGroup;b(["pagePrev","pageNext"],function(u){var f=u+"DataIndex",c=r[f]!=null,h=n.childOfName(u);h&&(h.setStyle("fill",c?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),h.cursor=c?"pointer":"default")});var i=n.childOfName("pageText"),a=t.get("pageFormatter"),o=r.pageIndex,s=o!=null?o+1:0,l=r.pageCount;i&&a&&i.setStyle("text",ue(a)?a.replace("{current}",s==null?"":s+"").replace("{total}",l==null?"":l+""):a({current:s,total:l}))},e.prototype._getPageInfo=function(t){var r=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,a=t.getOrient().index,o=_d[a],s=Qd[a],l=this._findTargetItemIndex(r),u=n.children(),f=u[l],c=u.length,h=c?1:0,v={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var d=y(f);v.contentPosition[a]=-d.s;for(var g=l+1,p=d,B=d,m=null;g<=c;++g)m=y(u[g]),(!m&&B.e>p.s+i||m&&!_(m,p.s))&&(B.i>p.i?p=B:p=m,p&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=p.i),++v.pageCount)),B=m;for(var g=l-1,p=d,B=d,m=null;g>=-1;--g)m=y(u[g]),(!m||!_(B,m.s))&&p.i<B.i&&(B=p,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=p.i),++v.pageCount,++v.pageIndex),p=m;return v;function y(C){if(C){var Q=C.getBoundingRect(),x=Q[s]+C[s];return{s:x,e:x+Q[o],i:C.__legendDataIndex}}}function _(C,Q){return C.e>=Q&&C.s<=Q+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var r,n=this.getContentGroup(),i;return n.eachChild(function(a,o){var s=a.__legendDataIndex;i==null&&s!=null&&(i=o),s===t&&(r=o)}),r??i},e.type="legend.scroll",e})(__);function p2(A){A.registerAction("legendScroll","legendscroll",function(e,t){var r=e.scrollDataIndex;r!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(r)})})}function g2(A){qA(E_),A.registerComponentModel(v2),A.registerComponentView(d2),p2(A)}function B2(A){qA(E_),qA(g2)}var m2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=gl(_u.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e})(_u),xd=Ge();function y2(A,e,t){xd(A).coordSysRecordMap.each(function(r){var n=r.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function w2(A,e){for(var t=xd(A).coordSysRecordMap,r=t.keys(),n=0;n<r.length;n++){var i=r[n],a=t.get(i),o=a.dataZoomInfoMap;if(o){var s=e.uid,l=o.get(s);l&&(o.removeKey(s),o.keys().length||U_(t,a))}}}function U_(A,e){if(e){A.removeKey(e.model.uid);var t=e.controller;t&&t.dispose()}}function C2(A,e){var t={model:e,containsPoint:nt(Q2,e),dispatchAction:nt(_2,A),dataZoomInfoMap:null,controller:null},r=t.controller=new oH(A.getZr());return b(["pan","zoom","scrollMove"],function(n){r.on(n,function(i){var a=[];t.dataZoomInfoMap.each(function(o){if(i.isAvailableBehavior(o.model.option)){var s=(o.getRange||{})[n],l=s&&s(o.dzReferCoordSysInfo,t.model.mainType,t.controller,i);!o.model.get("disabled",!0)&&l&&a.push({dataZoomId:o.model.id,start:l[0],end:l[1]})}}),a.length&&t.dispatchAction(a)})}),t}function _2(A,e){A.isDisposed()||A.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function Q2(A,e,t,r){return A.coordinateSystem.containPoint([t,r])}function x2(A,e,t){var r,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return A.each(function(o){var s=o.model,l=s.get("disabled",!0)?!1:s.get("zoomLock",!0)?"move":!0;i[n+l]>i[n+r]&&(r=l),a=a&&s.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a,api:t,zInfo:{component:e.model},triggerInfo:{roamTrigger:null,isInSelf:e.containsPoint}}}}function F2(A){A.registerProcessor(A.PRIORITY.PROCESSOR.FILTER,function(e,t){var r=xd(t),n=r.coordSysRecordMap||(r.coordSysRecordMap=we());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var a=o_(i);b(a.infoList,function(o){var s=o.model.uid,l=n.get(s)||n.set(s,C2(t,o.model)),u=l.dataZoomInfoMap||(l.dataZoomInfoMap=we());u.set(i.uid,{dzReferCoordSysInfo:o,model:i,getRange:null})})}),n.each(function(i){var a=i.controller,o,s=i.dataZoomInfoMap;if(s){var l=s.keys()[0];l!=null&&(o=s.get(l))}if(!o){U_(n,i);return}var u=x2(s,i,t);a.enable(u.controlType,u.opt),Rl(i,"dispatchAction",o.model.get("throttle",!0),"fixRate")})})}var E2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,r,n){if(A.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),y2(n,t,{pan:ye(Fd.pan,this),zoom:ye(Fd.zoom,this),scrollMove:ye(Fd.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),A.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){w2(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e})(l_),Fd={zoom:function(A,e,t,r){var n=this.range,i=n.slice(),a=A.axisModels[0];if(a){var o=Ed[e](null,[r.originX,r.originY],a,t,A),s=(o.signal>0?o.pixelStart+o.pixelLength-o.pixel:o.pixel-o.pixelStart)/o.pixelLength*(i[1]-i[0])+i[0],l=Math.max(1/r.scale,0);i[0]=(i[0]-s)*l+s,i[1]=(i[1]-s)*l+s;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(xo(0,i,[0,100],0,u.minSpan,u.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:I_(function(A,e,t,r,n,i){var a=Ed[r]([i.oldX,i.oldY],[i.newX,i.newY],e,n,t);return a.signal*(A[1]-A[0])*a.pixel/a.pixelLength}),scrollMove:I_(function(A,e,t,r,n,i){var a=Ed[r]([0,0],[i.scrollDelta,i.scrollDelta],e,n,t);return a.signal*(A[1]-A[0])*i.scrollDelta})};function I_(A){return function(e,t,r,n){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=A(a,o,e,t,r,n);if(xo(s,a,[0,100],"all"),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}}}var Ed={grid:function(A,e,t,r,n){var i=t.axis,a={},o=n.model.coordinateSystem.getRect();return A=A||[0,0],i.dim==="x"?(a.pixel=e[0]-A[0],a.pixelLength=o.width,a.pixelStart=o.x,a.signal=i.inverse?1:-1):(a.pixel=e[1]-A[1],a.pixelLength=o.height,a.pixelStart=o.y,a.signal=i.inverse?-1:1),a},polar:function(A,e,t,r,n){var i=t.axis,a={},o=n.model.coordinateSystem,s=o.getRadiusAxis().getExtent(),l=o.getAngleAxis().getExtent();return A=A?o.pointToCoord(A):[0,0],e=o.pointToCoord(e),t.mainType==="radiusAxis"?(a.pixel=e[0]-A[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=i.inverse?1:-1):(a.pixel=e[1]-A[1],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=i.inverse?-1:1),a},singleAxis:function(A,e,t,r,n){var i=t.axis,a=n.model.coordinateSystem.getRect(),o={};return A=A||[0,0],i.orient==="horizontal"?(o.pixel=e[0]-A[0],o.pixelLength=a.width,o.pixelStart=a.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-A[1],o.pixelLength=a.height,o.pixelStart=a.y,o.signal=i.inverse?-1:1),o}};function b2(A){c_(A),A.registerComponentModel(m2),A.registerComponentView(E2),F2(A)}var S2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=gl(_u.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:ae.color.accent10,borderRadius:0,backgroundColor:ae.color.transparent,dataBackground:{lineStyle:{color:ae.color.accent30,width:.5},areaStyle:{color:ae.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:ae.color.accent40,width:.5},areaStyle:{color:ae.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:ae.color.neutral00,borderColor:ae.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:ae.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:ae.color.tertiary},brushSelect:!0,brushStyle:{color:ae.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:ae.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e})(_u),bo=Je,U2=1,bd=30,I2=7,So="horizontal",T_="vertical",T2=5,D2=["line","bar","candlestick","scatter"],L2={easing:"cubicOut",duration:100,delay:0},M2=(function(A){X(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,r){this.api=r,this._onBrush=ye(this._onBrush,this),this._onBrushEnd=ye(this._onBrushEnd,this)},e.prototype.render=function(t,r,n,i){if(A.prototype.render.apply(this,arguments),Rl(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),A.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Nl(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new st;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(r),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,r=this.api,n=t.get("brushSelect"),i=n?I2:0,a=Ph(t,r).refContainer,o=this._findCoordRect(),s=t.get("defaultLocationEdgeGap",!0)||0,l=this._orient===So?{right:a.width-o.x-o.width,top:a.height-bd-s-i,width:o.width,height:bd}:{right:s,top:o.y,width:bd,height:o.height},u=Oi(t.option);b(["right","top","width","height"],function(c){u[c]==="ph"&&(u[c]=l[c])});var f=Hi(u,a);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===T_&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,r=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),a=i&&i.get("inverse"),o=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n===So&&!a?{scaleY:s?1:-1,scaleX:1}:n===So&&a?{scaleY:s?1:-1,scaleX:-1}:n===T_&&!a?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var l=t.getBoundingRect([o]);t.x=r.x-l.x,t.y=r.y-l.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,r=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new bo({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var a=new bo({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:ye(this._onClickPanel,this)}),o=this.api.getZr();i?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(a)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var r=this._size,n=this._shadowSize||[],i=t.series,a=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),s=o&&a.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(s==null)return;var l=this._shadowPolygonPts,u=this._shadowPolylinePts;if(a!==this._shadowData||s!==this._shadowDim||r[0]!==n[0]||r[1]!==n[1]){var f=a.getDataExtent(t.thisDim),c=a.getDataExtent(s),h=(c[1]-c[0])*.3;c=[c[0]-h,c[1]+h];var v=[0,r[1]],d=[0,r[0]],g=[[r[0],0],[0,0]],p=[],B=d[1]/Math.max(1,a.count()-1),m=r[0]/(f[1]-f[0]),y=t.thisAxis.type==="time",_=-B,C=Math.round(a.count()/r[0]),Q;a.each([t.thisDim,s],function(I,U,T){if(C>0&&T%C){y||(_+=B);return}_=y?(+I-f[0])*m:_+B;var H=U==null||isNaN(U)||U==="",P=H?0:vt(U,c,v,!0);H&&!Q&&T?(g.push([g[g.length-1][0],0]),p.push([p[p.length-1][0],0])):!H&&Q&&(g.push([_,0]),p.push([_,0])),H||(g.push([_,P]),p.push([_,P])),Q=H}),l=this._shadowPolygonPts=g,u=this._shadowPolylinePts=p}this._shadowData=a,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var x=this.dataZoomModel;function F(I){var U=x.getModel(I?"selectedDataBackground":"dataBackground"),T=new st,H=new Al({shape:{points:l},segmentIgnoreThreshold:1,style:U.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),P=new Na({shape:{points:u},segmentIgnoreThreshold:1,style:U.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return T.add(H),T.add(P),T}for(var S=0;S<3;S++){var E=F(S===1);this._displayables.sliderGroup.add(E),this._displayables.dataShadowSegs.push(E)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,r=t.get("showDataShadow");if(r!==!1){var n,i=this.ecModel;return t.eachTargetAxis(function(a,o){var s=t.getAxisProxy(a,o).getTargetSeriesModels();b(s,function(l){if(!n&&!(r!==!0&&Ie(D2,l.get("type"))<0)){var u=i.getComponent(Wr(a),o).axis,f=H2(a),c,h=l.coordinateSystem;f!=null&&h.getOtherAxis&&(c=h.getOtherAxis(u).inverse),f=l.getData().mapDimension(f);var v=l.getData().mapDimension(a);n={thisAxis:u,series:l,thisDim:v,otherDim:f,otherAxisInverse:c}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,r=this._displayables,n=r.handles=[null,null],i=r.handleLabels=[null,null],a=this._displayables.sliderGroup,o=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,f=s.get("brushSelect"),c=r.filler=new bo({silent:f,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});a.add(c),a.add(new bo({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:U2,fill:ae.color.transparent}})),b([0,1],function(m){var y=s.get("handleIcon");!Vl[y]&&y.indexOf("path://")<0&&y.indexOf("image://")<0&&(y="path://"+y,process.env.NODE_ENV!=="production"&&PA("handleIcon now needs 'path://' prefix when using a path string"));var _=Hr(y,-1,0,2,2,null,!0);_.attr({cursor:O2(this._orient),draggable:!0,drift:ye(this._onDragMove,this,m),ondragend:ye(this._onDragEnd,this),onmouseover:ye(this._showDataInfo,this,!0),onmouseout:ye(this._showDataInfo,this,!1),z2:5});var C=_.getBoundingRect(),Q=s.get("handleSize");this._handleHeight=ct(Q,this._size[1]),this._handleWidth=C.width/C.height*this._handleHeight,_.setStyle(s.getModel("handleStyle").getItemStyle()),_.style.strokeNoScale=!0,_.rectHover=!0,_.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),Js(_);var x=s.get("handleColor");x!=null&&(_.style.fill=x),a.add(n[m]=_);var F=s.getModel("textStyle"),S=s.get("handleLabel")||{},E=S.show||!1;t.add(i[m]=new Ht({silent:!0,invisible:!E,style:Un(F,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:F.getTextColor(),font:F.getFont()}),z2:10}))},this);var h=c;if(f){var v=ct(s.get("moveHandleSize"),o[1]),d=r.moveHandle=new Je({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:v}}),g=v*.8,p=r.moveHandleIcon=Hr(s.get("moveHandleIcon"),-g/2,-g/2,g,g,ae.color.neutral00,!0);p.silent=!0,p.y=o[1]+v/2-.5,d.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var B=Math.min(o[1]/2,Math.max(v,10));h=r.moveZone=new Je({invisible:!0,shape:{y:o[1]-B,height:v+B}}),h.on("mouseover",function(){l.enterEmphasis(d)}).on("mouseout",function(){l.leaveEmphasis(d)}),a.add(d),a.add(p),a.add(h)}h.attr({draggable:!0,cursor:"default",drift:ye(this._onDragMove,this,"all"),ondragstart:ye(this._showDataInfo,this,!0),ondragend:ye(this._onDragEnd,this),onmouseover:ye(this._showDataInfo,this,!0),onmouseout:ye(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[vt(t[0],[0,100],r,!0),vt(t[1],[0,100],r,!0)]},e.prototype._updateInterval=function(t,r){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];xo(r,i,a,n.get("zoomLock")?"all":t,o.minSpan!=null?vt(o.minSpan,s,a,!0):null,o.maxSpan!=null?vt(o.maxSpan,s,a,!0):null);var l=this._range,u=this._range=ba([vt(i[0],a,s,!0),vt(i[1],a,s,!0)]);return!l||l[0]!==u[0]||l[1]!==u[1]},e.prototype._updateView=function(t){var r=this._displayables,n=this._handleEnds,i=ba(n.slice()),a=this._size;b([0,1],function(h){var v=r.handles[h],d=this._handleHeight;v.attr({scaleX:d/2,scaleY:d/2,x:n[h]+(h?-1:1),y:a[1]/2-d/2})},this),r.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:a[1]});var o={x:i[0],width:i[1]-i[0]};r.moveHandle&&(r.moveHandle.setShape(o),r.moveZone.setShape(o),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",o.x+o.width/2));for(var s=r.dataShadowSegs,l=[0,i[0],i[1],a[0]],u=0;u<s.length;u++){var f=s[u],c=f.getClipPath();c||(c=new Je,f.setClipPath(c)),c.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:a[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var r=this.dataZoomModel,n=this._displayables,i=n.handleLabels,a=this._orient,o=["",""];if(r.get("showDetail")){var s=r.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,f=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(f[0],l),this._formatLabel(f[1],l)]}}var c=ba(this._handleEnds.slice());h.call(this,0),h.call(this,1);function h(v){var d=dB(n.handles[v].parent,this.group),g=pB(v===0?"right":"left",d),p=this._handleWidth/2+T2,B=ka([c[v]+(v===0?-p:p),this._size[1]/2],d);i[v].setStyle({x:B[0],y:B[1],verticalAlign:a===So?"middle":g,align:a===So?g:"center",text:o[v]})}},e.prototype._formatLabel=function(t,r){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");(a==null||a==="auto")&&(a=r.getPixelPrecision());var o=t==null||isNaN(t)?"":r.type==="category"||r.type==="time"?r.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(a,20));return me(i)?i(t,o):ue(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){var r=this.dataZoomModel.get("handleLabel")||{},n=r.show||!1,i=this.dataZoomModel.getModel(["emphasis","handleLabel"]),a=i.get("show")||!1,o=t||this._dragging?a:n,s=this._displayables,l=s.handleLabels;l[0].attr("invisible",!o),l[1].attr("invisible",!o),s.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](s.moveHandle,1)},e.prototype._onDragMove=function(t,r,n,i){this._dragging=!0,fi(i.event);var a=this._displayables.sliderGroup.getLocalTransform(),o=ka([r,n],a,!0),s=this._updateInterval(t,o[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),s&&l&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var r=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>r[0]||n[1]<0||n[1]>r[1])){var i=this._handleEnds,a=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-a);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var r=t.offsetX,n=t.offsetY;this._brushStart=new be(r,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var n=r.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var a=this._getViewExtent(),o=[0,100],s=this._handleEnds=[n.x,n.x+n.width],l=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();xo(0,s,a,0,l.minSpan!=null?vt(l.minSpan,o,a,!0):null,l.maxSpan!=null?vt(l.maxSpan,o,a,!0):null),this._range=ba([vt(s[0],a,o,!0),vt(s[1],a,o,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(fi(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,r){var n=this._displayables,i=this.dataZoomModel,a=n.brushRect;a||(a=n.brushRect=new bo({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(a)),a.attr("ignore",!1);var o=this._brushStart,s=this._displayables.sliderGroup,l=s.transformCoordToLocal(t,r),u=s.transformCoordToLocal(o.x,o.y),f=this._size;l[0]=Math.max(Math.min(f[0],l[0]),0),a.setShape({x:u[0],y:0,width:l[0]-u[0],height:f[1]})},e.prototype._dispatchZoomAction=function(t){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?L2:null,start:r[0],end:r[1]})},e.prototype._findCoordRect=function(){var t,r=o_(this.dataZoomModel).infoList;if(!t&&r.length){var n=r[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),a=this.api.getHeight();t={x:i*.2,y:a*.2,width:i*.6,height:a*.6}}return t},e.type="dataZoom.slider",e})(l_);function H2(A){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[A]}function O2(A){return A==="vertical"?"ns-resize":"ew-resize"}function R2(A){A.registerComponentModel(S2),A.registerComponentView(M2),c_(A)}function N2(A){qA(b2),qA(R2)}function D_(A,e,t){var r=Ar.createCanvas(),n=e.getWidth(),i=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=n+"px",a.height=i+"px",r.setAttribute("data-zr-dom-id",A)),r.width=n*t,r.height=i*t,r}var Sd=(function(A){X(e,A);function e(t,r,n){var i=A.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var a;n=n||Cs,typeof t=="string"?a=D_(t,r,n):ve(t)&&(a=t,t=a.id),i.id=t,i.dom=a;var o=a.style;return o&&(Mp(a),a.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),i.painter=r,i.dpr=n,i}return 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=D_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),t!==1&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,r,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var a=[],o=this.maxRepaintRectCount,s=!1,l=new Fe(0,0,0,0);function u(B){if(!(!B.isFinite()||B.isZero()))if(a.length===0){var m=new Fe(0,0,0,0);m.copy(B),a.push(m)}else{for(var y=!1,_=1/0,C=0,Q=0;Q<a.length;++Q){var x=a[Q];if(x.intersect(B)){var F=new Fe(0,0,0,0);F.copy(x),F.union(B),a[Q]=F,y=!0;break}else if(s){l.copy(B),l.union(x);var S=B.width*B.height,E=x.width*x.height,I=l.width*l.height,U=I-S-E;U<_&&(_=U,C=Q)}}if(s&&(a[C].union(B),y=!0),!y){var m=new Fe(0,0,0,0);m.copy(B),a.push(m)}s||(s=a.length>=o)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var c=t[f];if(c){var h=c.shouldBePainted(n,i,!0,!0),v=c.__isRendered&&(c.__dirty&Xt||!h)?c.getPrevPaintRect():null;v&&u(v);var d=h&&(c.__dirty&Xt||!c.__isRendered)?c.getPaintRect():null;d&&u(d)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var c=r[f],h=c&&c.shouldBePainted(n,i,!0,!0);if(c&&(!h||!c.__zr)&&c.__isRendered){var v=c.getPrevPaintRect();v&&u(v)}}var g;do{g=!1;for(var f=0;f<a.length;){if(a[f].isZero()){a.splice(f,1);continue}for(var p=f+1;p<a.length;)a[f].intersect(a[p])?(g=!0,a[f].union(a[p]),a.splice(p,1)):p++;f++}}while(g);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,r){var n=this.dpr,i=this.dom,a=i.style,o=this.domBack;a&&(a.width=t+"px",a.height=r+"px"),i.width=t*n,i.height=r*n,o&&(o.width=t*n,o.height=r*n,n!==1&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,r,n){var i=this.dom,a=this.ctx,o=i.width,s=i.height;r=r||this.clearColor;var l=this.motionBlur&&!t,u=this.lastFrameAlpha,f=this.dpr,c=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/f,s/f));var h=this.domBack;function v(d,g,p,B){if(a.clearRect(d,g,p,B),r&&r!=="transparent"){var m=void 0;if(ts(r)){var y=r.global||r.__width===p&&r.__height===B;m=y&&r.__canvasGradient||av(a,r,{x:0,y:0,width:p,height:B}),r.__canvasGradient=m,r.__width=p,r.__height=B}else ix(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,m=ov(a,r,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));a.save(),a.fillStyle=m||r,a.fillRect(d,g,p,B),a.restore()}l&&(a.save(),a.globalAlpha=u,a.drawImage(h,d,g,p,B),a.restore())}!n||l?v(0,0,o,s):n.length&&b(n,function(d){v(d.x*f,d.y*f,d.width*f,d.height*f)})},e})(yA),L_=1e5,Zn=314159,xu=.01,P2=.001;function k2(A){return A?A.__builtin__?!0:!(typeof A.resize!="function"||typeof A.refresh!="function"):!1}function V2(A,e){var t=document.createElement("div");return t.style.cssText=["position:relative","width:"+A+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",t}var K2=(function(){function A(e,t,r,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=r=W({},r||{}),this.dpr=r.devicePixelRatio||Cs,this._singleCanvas=i,this.root=e;var a=e.style;a&&(Mp(e),e.innerHTML=""),this.storage=t;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,f=u.width,c=u.height;r.width!=null&&(f=r.width),r.height!=null&&(c=r.height),this.dpr=r.devicePixelRatio||1,u.width=f*this.dpr,u.height=c*this.dpr,this._width=f,this._height=c;var h=new Sd(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Zn]=h,h.zlevel=Zn,o.push(Zn),this._domRoot=e}else{this._width=Gl(e,0,r),this._height=Gl(e,1,r);var l=this._domRoot=V2(this._width,this._height);e.appendChild(l)}}return A.prototype.getType=function(){return"canvas"},A.prototype.isSingleCanvas=function(){return this._singleCanvas},A.prototype.getViewportRoot=function(){return this._domRoot},A.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},A.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),r=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,r,e,this._redrawId);for(var i=0;i<n.length;i++){var a=n[i],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=i===0?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},A.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},A.prototype._paintHoverList=function(e){var t=e.length,r=this._hoverlayer;if(r&&r.clear(),!!t){for(var n={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,a=0;a<t;a++){var o=e[a];o.__inHover&&(r||(r=this._hoverlayer=this.getLayer(L_)),i||(i=r.ctx,i.save()),Pn(i,o,n,a===t-1))}i&&i.restore()}},A.prototype.getHoverLayer=function(){return this.getLayer(L_)},A.prototype.paintOne=function(e,t){yy(e,t)},A.prototype._paintList=function(e,t,r,n){if(this._redrawId===n){r=r||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,r),a=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(e),a)this.eachLayer(function(l){l.afterBrush&&l.afterBrush()});else{var s=this;is(function(){s._paintList(e,t,r,n)})}}},A.prototype._compositeManually=function(){var e=this.getLayer(Zn).ctx,t=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,t,r),this.eachBuiltinLayer(function(n){n.virtual&&e.drawImage(n.dom,0,0,t,r)})},A.prototype._doPaintList=function(e,t,r){for(var n=this,i=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||r)&&i.push(l)}for(var u=!0,f=!1,c=function(d){var g=i[d],p=g.ctx,B=a&&g.createRepaintRects(e,t,h._width,h._height),m=r?g.__startIndex:g.__drawIndex,y=!r&&g.incremental&&Date.now,_=y&&Date.now(),C=g.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,C,B);else if(m===g.__startIndex){var Q=e[m];(!Q.incremental||!Q.notClear||r)&&g.clear(!1,C,B)}m===-1&&(console.error("For some unknown reason. drawIndex is -1"),m=g.__startIndex);var x,F=function(U){var T={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(x=m;x<g.__endIndex;x++){var H=e[x];if(H.__inHover&&(f=!0),n._doPaintEl(H,g,a,U,T,x===g.__endIndex-1),y){var P=Date.now()-_;if(P>15)break}}T.prevElClipPaths&&p.restore()};if(B)if(B.length===0)x=g.__endIndex;else for(var S=h.dpr,E=0;E<B.length;++E){var I=B[E];p.save(),p.beginPath(),p.rect(I.x*S,I.y*S,I.width*S,I.height*S),p.clip(),F(I),p.restore()}else p.save(),F(),p.restore();g.__drawIndex=x,g.__drawIndex<g.__endIndex&&(u=!1)},h=this,v=0;v<i.length;v++)c(v);return _e.wxa&&b(this._layers,function(d){d&&d.ctx&&d.ctx.draw&&d.ctx.draw()}),{finished:u,needsRefreshHover:f}},A.prototype._doPaintEl=function(e,t,r,n,i,a){var o=t.ctx;if(r){var s=e.getPaintRect();(!n||s&&s.intersect(n))&&(Pn(o,e,i,a),e.setPrevPaintRect(s))}else Pn(o,e,i,a)},A.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Zn);var r=this._layers[e];return r||(r=new Sd("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?Me(r,this._layerConfig[e],!0):this._layerConfig[e-xu]&&Me(r,this._layerConfig[e-xu],!0),t&&(r.virtual=t),this.insertLayer(e,r),r.initContext()),r},A.prototype.insertLayer=function(e,t){var r=this._layers,n=this._zlevelList,i=n.length,a=this._domRoot,o=null,s=-1;if(r[e]){process.env.NODE_ENV!=="production"&&nn("ZLevel "+e+" has been used already");return}if(!k2(t)){process.env.NODE_ENV!=="production"&&nn("Layer of zlevel "+e+" is not valid");return}if(i>0&&e>n[0]){for(s=0;s<i-1&&!(n[s]<e&&n[s+1]>e);s++);o=r[n[s]]}if(n.splice(s+1,0,e),r[e]=t,!t.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(t.dom,l.nextSibling):a.appendChild(t.dom)}else a.firstChild?a.insertBefore(t.dom,a.firstChild):a.appendChild(t.dom);t.painter||(t.painter=this)},A.prototype.eachLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n];e.call(t,this._layers[i],i)}},A.prototype.eachBuiltinLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__&&e.call(t,a,i)}},A.prototype.eachOtherLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__||e.call(t,a,i)}},A.prototype.getLayers=function(){return this._layers},A.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(f,c){f.__dirty=f.__used=!1});function t(f){i&&(i.__endIndex!==f&&(i.__dirty=!0),i.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<e.length;r++){var n=e[r];if(n.zlevel!==e[r-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var i=null,a=0,o,s;for(s=0;s<e.length;s++){var n=e[s],l=n.zlevel,u=void 0;o!==l&&(o=l,a=0),n.incremental?(u=this.getLayer(l+P2,this._needsManuallyCompositing),u.incremental=!0,a=1):u=this.getLayer(l+(a>0?xu:0),this._needsManuallyCompositing),u.__builtin__||nn("ZLevel "+l+" has been used by unkown layer "+u.id),u!==i&&(u.__used=!0,u.__startIndex!==s&&(u.__dirty=!0),u.__startIndex=s,u.incremental?u.__drawIndex=-1:u.__drawIndex=s,t(s),i=u),n.__dirty&Xt&&!n.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=s))}t(s),this.eachBuiltinLayer(function(f,c){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},A.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},A.prototype._clearLayer=function(e){e.clear()},A.prototype.setBackgroundColor=function(e){this._backgroundColor=e,b(this._layers,function(t){t.setUnpainted()})},A.prototype.configLayer=function(e,t){if(t){var r=this._layerConfig;r[e]?Me(r[e],t,!0):r[e]=t;for(var n=0;n<this._zlevelList.length;n++){var i=this._zlevelList[n];if(i===e||i===e+xu){var a=this._layers[i];Me(a,r[e],!0)}}}},A.prototype.delLayer=function(e){var t=this._layers,r=this._zlevelList,n=t[e];n&&(n.dom.parentNode.removeChild(n.dom),delete t[e],r.splice(Ie(r,e),1))},A.prototype.resize=function(e,t){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;if(e!=null&&(n.width=e),t!=null&&(n.height=t),e=Gl(i,0,n),t=Gl(i,1,n),r.style.display="",this._width!==e||t!==this._height){r.style.width=e+"px",r.style.height=t+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(e==null||t==null)return;this._width=e,this._height=t,this.getLayer(Zn).resize(e,t)}return this},A.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},A.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},A.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Zn].dom;var t=new Sd("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var r=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,n,i):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];Pn(r,u,a,s===l-1)}return t.dom},A.prototype.getWidth=function(){return this._width},A.prototype.getHeight=function(){return this._height},A})();function G2(A){A.registerPainter("canvas",K2)}function z2(){let A=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(A+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const r=(A+Math.random()*16)%16|0;return A=Math.floor(A/16),(t=="x"?r:r&3|8).toString(16)})}const M_=["#E3A8F7","#5C2D91","#8AE2C2","#FF6B8B","#3A7BD5","#F9D423","#7B4397","#40E0D0","#FF416C","#11998E","#C94B4B","#4CA1AF","#FF8008","#8A2387","#8EC5FC","#E0C3FC","#74EBD5","#FFD89B","#FD6585","#A3CB38","#6A11CB","#FF5E62","#3494E6","#EC6EAD","#FFE000","#799F0C","#00416A","#834D9B","#0052D4","#43C6AC","#8E2DE2","#4A00E0","#FF4B1F","#1CB5E0","#FF7E5F","#FBD3E9","#BB377D","#FF5F6D","#FFC371","#159957","#155799","#3CA55C","#D66D75","#F3904F","#B3FFAB","#12FFF7","#AA076B","#61045F","#FF7A00","#FFD200","#00B4DB","#0083B0"];function Fu(A){let e=/^(\d{4})-(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,t=/^(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,r=/^(\d{4})-(\d{2})-(\d{2})$/;return e.test(A)||t.test(A)||r.test(A)}function De(A,e,t){let r="";return e-A<=1?r=.1:e-A<=5?r=.5:e-A<=10?r=1:e-A<=25?r=2.5:e-A<=50?r=5:e-A<=100?r=10:e-A<=250?r=25:e-A<=500?r=50:e-A<=1e3?r=100:e-A<=2500?r=250:e-A<=5e3?r=500:e-A<=1e4?r=1e3:e-A<=2e4?r=2e3:e-A<=3e4?r=3e3:e-A<=4e4?r=4e3:e-A<=5e4?r=5e3:e-A<=6e4?r=6e3:e-A<=7e4?r=7e3:e-A<=8e4?r=8e3:e-A<=9e4?r=9e3:e-A<=1e5?r=1e4:e-A<=11e4?r=11e3:e-A<=12e4?r=12e3:e-A<=13e4?r=13e3:e-A<=14e4?r=14e3:e-A<=15e4?r=15e3:e-A<=16e4?r=16e3:e-A<=17e4?r=17e3:e-A<=18e4?r=18e3:e-A<=19e4?r=19e3:e-A<=2e5&&(r=2e4),t==1&&(r=r*2),r}function ta(A){if(isNaN(A))return"";var e=parseFloat(A);if(e>1){for(var t=0,r=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],n=0;n<r.length;n++)e>=r[n]&&e<r[n+1]&&(t=r[n]);if(t==0)return e.toString();var i=Math.round(e/t*100)/100;return i=i*t,i>=100?i.toFixed(0):i>=10?i.toFixed(1):i.toFixed(2)}else{if(e>=0)return e.toFixed(3);if(e<0)return"-"+ta(Math.abs(e))}}function H_(A,e,t){const r=[];let n=new Date(A);for(;n<=e;){const i=n.getMinutes();i%t===0&&r.push(xe(new Date(n)).format("YYYY-MM-DD HH:mm")),n.setMinutes(i+1)}return r}function W2(A,e){A=A.sort((n,i)=>Date.parse(n)-Date.parse(i));let t,r=[];for(let n=0;n<A.length;n++){n==0&&(t=A[n]);let i=xe(A[n]).add(e,"minute").format("YYYY-MM-DD HH:mm");A.includes(i)||(r.push({startTm:t,endTm:A[n]}),n+1<A.length&&(t=A[n+1]))}return r}const Y2=A=>new Promise(e=>{setTimeout(()=>{e({statusCode:200,data:A.rzw*1e3})},100)});/*!
46
46
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
47
47
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
48
48
  * Released under MIT License
@@ -59,14 +59,14 @@ echarts.use([`+b+"]);":"Unknown series "+x))}return}if(f==="tooltip"){if(y){proc
59
59
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
60
60
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
61
61
  PERFORMANCE OF THIS SOFTWARE.
62
- ***************************************************************************** */var Fv=function(t,e){return Fv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,r){A.__proto__=r}||function(A,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(A[n]=r[n])},Fv(t,e)};function _t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Fv(t,e);function A(){this.constructor=t}t.prototype=e===null?Object.create(e):(A.prototype=e.prototype,new A)}var xv=function(){return xv=Object.assign||function(e){for(var A,r=1,n=arguments.length;r<n;r++){A=arguments[r];for(var i in A)Object.prototype.hasOwnProperty.call(A,i)&&(e[i]=A[i])}return e},xv.apply(this,arguments)};function IA(t,e,A,r){function n(i){return i instanceof A?i:new A(function(a){a(i)})}return new(A||(A=Promise))(function(i,a){function o(u){try{l(r.next(u))}catch(f){a(f)}}function s(u){try{l(r.throw(u))}catch(f){a(f)}}function l(u){u.done?i(u.value):n(u.value).then(o,s)}l((r=r.apply(t,e||[])).next())})}function QA(t,e){var A={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(l){return function(u){return s([l,u])}}function s(l){if(r)throw new TypeError("Generator is already executing.");for(;A;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return A.label++,{value:l[1],done:!1};case 5:A.label++,n=l[1],l=[0];continue;case 7:l=A.ops.pop(),A.trys.pop();continue;default:if(i=A.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){A=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){A.label=l[1];break}if(l[0]===6&&A.label<i[1]){A.label=i[1],i=l;break}if(i&&A.label<i[2]){A.label=i[2],A.ops.push(l);break}i[2]&&A.ops.pop(),A.trys.pop();continue}l=e.call(t,A)}catch(u){l=[6,u],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Kl(t,e,A){if(A||arguments.length===2)for(var r=0,n=e.length,i;r<n;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||e)}for(var nr=function(){function t(e,A,r,n){this.left=e,this.top=A,this.width=r,this.height=n}return t.prototype.add=function(e,A,r,n){return new t(this.left+e,this.top+A,this.width+r,this.height+n)},t.fromClientRect=function(e,A){return new t(A.left+e.windowBounds.left,A.top+e.windowBounds.top,A.width,A.height)},t.fromDOMRectList=function(e,A){var r=Array.from(A).find(function(n){return n.width!==0});return r?new t(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),Vl=function(t,e){return nr.fromClientRect(t,e.getBoundingClientRect())},v2=function(t){var e=t.body,A=t.documentElement;if(!e||!A)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,A.scrollWidth),Math.max(e.offsetWidth,A.offsetWidth),Math.max(e.clientWidth,A.clientWidth)),n=Math.max(Math.max(e.scrollHeight,A.scrollHeight),Math.max(e.offsetHeight,A.offsetHeight),Math.max(e.clientHeight,A.clientHeight));return new nr(0,0,r,n)},Gl=function(t){for(var e=[],A=0,r=t.length;A<r;){var n=t.charCodeAt(A++);if(n>=55296&&n<=56319&&A<r){var i=t.charCodeAt(A++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),A--)}else e.push(n)}return e},je=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var A=t.length;if(!A)return"";for(var r=[],n=-1,i="";++n<A;){var a=t[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===A||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},OC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d2=typeof Uint8Array>"u"?[]:new Uint8Array(256),zl=0;zl<OC.length;zl++)d2[OC.charCodeAt(zl)]=zl;for(var RC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ro=typeof Uint8Array>"u"?[]:new Uint8Array(256),Wl=0;Wl<RC.length;Wl++)ro[RC.charCodeAt(Wl)]=Wl;for(var g2=function(t){var e=t.length*.75,A=t.length,r,n=0,i,a,o,s;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<A;r+=4)i=ro[t.charCodeAt(r)],a=ro[t.charCodeAt(r+1)],o=ro[t.charCodeAt(r+2)],s=ro[t.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},p2=function(t){for(var e=t.length,A=[],r=0;r<e;r+=2)A.push(t[r+1]<<8|t[r]);return A},B2=function(t){for(var e=t.length,A=[],r=0;r<e;r+=4)A.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return A},In=5,Ev=6+5,Uv=2,y2=Ev-In,PC=65536>>In,m2=1<<In,Sv=m2-1,w2=1024>>In,C2=PC+w2,_2=C2,Q2=32,F2=_2+Q2,x2=65536>>Ev,E2=1<<y2,U2=E2-1,NC=function(t,e,A){return t.slice?t.slice(e,A):new Uint16Array(Array.prototype.slice.call(t,e,A))},S2=function(t,e,A){return t.slice?t.slice(e,A):new Uint32Array(Array.prototype.slice.call(t,e,A))},b2=function(t,e){var A=g2(t),r=Array.isArray(A)?B2(A):new Uint32Array(A),n=Array.isArray(A)?p2(A):new Uint16Array(A),i=24,a=NC(n,i/2,r[4]/2),o=r[5]===2?NC(n,(i+r[4])/2):S2(r,Math.ceil((i+r[4])/4));return new I2(r[0],r[1],r[2],r[3],a,o)},I2=function(){function t(e,A,r,n,i,a){this.initialValue=e,this.errorValue=A,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return t.prototype.get=function(e){var A;if(e>=0){if(e<55296||e>56319&&e<=65535)return A=this.index[e>>In],A=(A<<Uv)+(e&Sv),this.data[A];if(e<=65535)return A=this.index[PC+(e-55296>>In)],A=(A<<Uv)+(e&Sv),this.data[A];if(e<this.highStart)return A=F2-x2+(e>>Ev),A=this.index[A],A+=e>>In&U2,A=this.index[A],A=(A<<Uv)+(e&Sv),this.data[A];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),kC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T2=typeof Uint8Array>"u"?[]:new Uint8Array(256),Yl=0;Yl<kC.length;Yl++)T2[kC.charCodeAt(Yl)]=Yl;var D2="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",KC=50,L2=1,VC=2,GC=3,M2=4,H2=5,zC=7,WC=8,YC=9,Ur=10,bv=11,XC=12,Iv=13,O2=14,no=15,Tv=16,Xl=17,io=18,R2=19,ZC=20,Dv=21,ao=22,Lv=23,Di=24,XA=25,oo=26,so=27,Li=28,P2=29,Tn=30,N2=31,Zl=32,Jl=33,Mv=34,Hv=35,Ov=36,lo=37,Rv=38,$l=39,ql=40,Pv=41,JC=42,k2=43,K2=[9001,65288],$C="!",Ue="×",jl="÷",Nv=b2(D2),ir=[Tn,Ov],kv=[L2,VC,GC,H2],qC=[Ur,WC],jC=[so,oo],V2=kv.concat(qC),e_=[Rv,$l,ql,Mv,Hv],G2=[no,Iv],z2=function(t,e){e===void 0&&(e="strict");var A=[],r=[],n=[];return t.forEach(function(i,a){var o=Nv.get(i);if(o>KC?(n.push(!0),o-=KC):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(a),A.push(Tv);if(o===M2||o===bv){if(a===0)return r.push(a),A.push(Tn);var s=A[a-1];return V2.indexOf(s)===-1?(r.push(r[a-1]),A.push(s)):(r.push(a),A.push(Tn))}if(r.push(a),o===N2)return A.push(e==="strict"?Dv:lo);if(o===JC||o===P2)return A.push(Tn);if(o===k2)return i>=131072&&i<=196605||i>=196608&&i<=262141?A.push(lo):A.push(Tn);A.push(o)}),[r,A,n]},Kv=function(t,e,A,r){var n=r[A];if(Array.isArray(t)?t.indexOf(n)!==-1:t===n)for(var i=A;i<=r.length;){i++;var a=r[i];if(a===e)return!0;if(a!==Ur)break}if(n===Ur)for(var i=A;i>0;){i--;var o=r[i];if(Array.isArray(t)?t.indexOf(o)!==-1:t===o)for(var s=A;s<=r.length;){s++;var a=r[s];if(a===e)return!0;if(a!==Ur)break}if(o!==Ur)break}return!1},A_=function(t,e){for(var A=t;A>=0;){var r=e[A];if(r===Ur)A--;else return r}return 0},W2=function(t,e,A,r,n){if(A[r]===0)return Ue;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Ue;var a=i-1,o=i+1,s=e[i],l=a>=0?e[a]:0,u=e[o];if(s===VC&&u===GC)return Ue;if(kv.indexOf(s)!==-1)return $C;if(kv.indexOf(u)!==-1||qC.indexOf(u)!==-1)return Ue;if(A_(i,e)===WC)return jl;if(Nv.get(t[i])===bv||(s===Zl||s===Jl)&&Nv.get(t[o])===bv||s===zC||u===zC||s===YC||[Ur,Iv,no].indexOf(s)===-1&&u===YC||[Xl,io,R2,Di,Li].indexOf(u)!==-1||A_(i,e)===ao||Kv(Lv,ao,i,e)||Kv([Xl,io],Dv,i,e)||Kv(XC,XC,i,e))return Ue;if(s===Ur)return jl;if(s===Lv||u===Lv)return Ue;if(u===Tv||s===Tv)return jl;if([Iv,no,Dv].indexOf(u)!==-1||s===O2||l===Ov&&G2.indexOf(s)!==-1||s===Li&&u===Ov||u===ZC||ir.indexOf(u)!==-1&&s===XA||ir.indexOf(s)!==-1&&u===XA||s===so&&[lo,Zl,Jl].indexOf(u)!==-1||[lo,Zl,Jl].indexOf(s)!==-1&&u===oo||ir.indexOf(s)!==-1&&jC.indexOf(u)!==-1||jC.indexOf(s)!==-1&&ir.indexOf(u)!==-1||[so,oo].indexOf(s)!==-1&&(u===XA||[ao,no].indexOf(u)!==-1&&e[o+1]===XA)||[ao,no].indexOf(s)!==-1&&u===XA||s===XA&&[XA,Li,Di].indexOf(u)!==-1)return Ue;if([XA,Li,Di,Xl,io].indexOf(u)!==-1)for(var f=i;f>=0;){var c=e[f];if(c===XA)return Ue;if([Li,Di].indexOf(c)!==-1)f--;else break}if([so,oo].indexOf(u)!==-1)for(var f=[Xl,io].indexOf(s)!==-1?a:i;f>=0;){var c=e[f];if(c===XA)return Ue;if([Li,Di].indexOf(c)!==-1)f--;else break}if(Rv===s&&[Rv,$l,Mv,Hv].indexOf(u)!==-1||[$l,Mv].indexOf(s)!==-1&&[$l,ql].indexOf(u)!==-1||[ql,Hv].indexOf(s)!==-1&&u===ql||e_.indexOf(s)!==-1&&[ZC,oo].indexOf(u)!==-1||e_.indexOf(u)!==-1&&s===so||ir.indexOf(s)!==-1&&ir.indexOf(u)!==-1||s===Di&&ir.indexOf(u)!==-1||ir.concat(XA).indexOf(s)!==-1&&u===ao&&K2.indexOf(t[o])===-1||ir.concat(XA).indexOf(u)!==-1&&s===io)return Ue;if(s===Pv&&u===Pv){for(var h=A[i],v=1;h>0&&(h--,e[h]===Pv);)v++;if(v%2!==0)return Ue}return s===Zl&&u===Jl?Ue:jl},Y2=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var A=z2(t,e.lineBreak),r=A[0],n=A[1],i=A[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[XA,Tn,JC].indexOf(o)!==-1?lo:o}));var a=e.wordBreak==="keep-all"?i.map(function(o,s){return o&&t[s]>=19968&&t[s]<=40959}):void 0;return[r,n,a]},X2=function(){function t(e,A,r,n){this.codePoints=e,this.required=A===$C,this.start=r,this.end=n}return t.prototype.slice=function(){return je.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),Z2=function(t,e){var A=Gl(t),r=Y2(A,e),n=r[0],i=r[1],a=r[2],o=A.length,s=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=Ue;l<o&&(u=W2(A,i,n,++l,a))===Ue;);if(u!==Ue||l===o){var f=new X2(A,u,s,l);return s=l,{value:f,done:!1}}return{done:!0,value:null}}}},J2=1,$2=2,uo=4,t_=8,eu=10,r_=47,fo=92,q2=9,j2=32,Au=34,co=61,eO=35,AO=36,tO=37,tu=39,ru=40,ho=41,rO=95,KA=45,nO=33,iO=60,aO=62,oO=64,sO=91,lO=93,uO=61,fO=123,nu=63,cO=125,n_=124,hO=126,vO=128,i_=65533,Vv=42,Dn=43,dO=44,gO=58,pO=59,vo=46,BO=0,yO=8,mO=11,wO=14,CO=31,_O=127,Ot=-1,a_=48,o_=97,s_=101,QO=102,FO=117,xO=122,l_=65,u_=69,f_=70,EO=85,UO=90,FA=function(t){return t>=a_&&t<=57},SO=function(t){return t>=55296&&t<=57343},Mi=function(t){return FA(t)||t>=l_&&t<=f_||t>=o_&&t<=QO},bO=function(t){return t>=o_&&t<=xO},IO=function(t){return t>=l_&&t<=UO},TO=function(t){return bO(t)||IO(t)},DO=function(t){return t>=vO},iu=function(t){return t===eu||t===q2||t===j2},au=function(t){return TO(t)||DO(t)||t===rO},c_=function(t){return au(t)||FA(t)||t===KA},LO=function(t){return t>=BO&&t<=yO||t===mO||t>=wO&&t<=CO||t===_O},Sr=function(t,e){return t!==fo?!1:e!==eu},ou=function(t,e,A){return t===KA?au(e)||Sr(e,A):au(t)?!0:!!(t===fo&&Sr(t,e))},Gv=function(t,e,A){return t===Dn||t===KA?FA(e)?!0:e===vo&&FA(A):FA(t===vo?e:t)},MO=function(t){var e=0,A=1;(t[e]===Dn||t[e]===KA)&&(t[e]===KA&&(A=-1),e++);for(var r=[];FA(t[e]);)r.push(t[e++]);var n=r.length?parseInt(je.apply(void 0,r),10):0;t[e]===vo&&e++;for(var i=[];FA(t[e]);)i.push(t[e++]);var a=i.length,o=a?parseInt(je.apply(void 0,i),10):0;(t[e]===u_||t[e]===s_)&&e++;var s=1;(t[e]===Dn||t[e]===KA)&&(t[e]===KA&&(s=-1),e++);for(var l=[];FA(t[e]);)l.push(t[e++]);var u=l.length?parseInt(je.apply(void 0,l),10):0;return A*(n+o*Math.pow(10,-a))*Math.pow(10,s*u)},HO={type:2},OO={type:3},RO={type:4},PO={type:13},NO={type:8},kO={type:21},KO={type:9},VO={type:10},GO={type:11},zO={type:12},WO={type:14},su={type:23},YO={type:1},XO={type:25},ZO={type:24},JO={type:26},$O={type:27},qO={type:28},jO={type:29},eR={type:31},zv={type:32},h_=function(){function t(){this._value=[]}return t.prototype.write=function(e){this._value=this._value.concat(Gl(e))},t.prototype.read=function(){for(var e=[],A=this.consumeToken();A!==zv;)e.push(A),A=this.consumeToken();return e},t.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Au:return this.consumeStringToken(Au);case eO:var A=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(c_(A)||Sr(r,n)){var i=ou(A,r,n)?$2:J2,a=this.consumeName();return{type:5,value:a,flags:i}}break;case AO:if(this.peekCodePoint(0)===co)return this.consumeCodePoint(),PO;break;case tu:return this.consumeStringToken(tu);case ru:return HO;case ho:return OO;case Vv:if(this.peekCodePoint(0)===co)return this.consumeCodePoint(),WO;break;case Dn:if(Gv(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case dO:return RO;case KA:var o=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Gv(o,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(ou(o,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===KA&&l===aO)return this.consumeCodePoint(),this.consumeCodePoint(),ZO;break;case vo:if(Gv(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case r_:if(this.peekCodePoint(0)===Vv)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===Vv&&(u=this.consumeCodePoint(),u===r_))return this.consumeToken();if(u===Ot)return this.consumeToken()}break;case gO:return JO;case pO:return $O;case iO:if(this.peekCodePoint(0)===nO&&this.peekCodePoint(1)===KA&&this.peekCodePoint(2)===KA)return this.consumeCodePoint(),this.consumeCodePoint(),XO;break;case oO:var f=this.peekCodePoint(0),c=this.peekCodePoint(1),h=this.peekCodePoint(2);if(ou(f,c,h)){var a=this.consumeName();return{type:7,value:a}}break;case sO:return qO;case fo:if(Sr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case lO:return jO;case uO:if(this.peekCodePoint(0)===co)return this.consumeCodePoint(),NO;break;case fO:return GO;case cO:return zO;case FO:case EO:var v=this.peekCodePoint(0),d=this.peekCodePoint(1);return v===Dn&&(Mi(d)||d===nu)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case n_:if(this.peekCodePoint(0)===co)return this.consumeCodePoint(),KO;if(this.peekCodePoint(0)===n_)return this.consumeCodePoint(),kO;break;case hO:if(this.peekCodePoint(0)===co)return this.consumeCodePoint(),VO;break;case Ot:return zv}return iu(e)?(this.consumeWhiteSpace(),eR):FA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):au(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:je(e)}},t.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},t.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},t.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},t.prototype.consumeUnicodeRangeToken=function(){for(var e=[],A=this.consumeCodePoint();Mi(A)&&e.length<6;)e.push(A),A=this.consumeCodePoint();for(var r=!1;A===nu&&e.length<6;)e.push(A),A=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(je.apply(void 0,e.map(function(s){return s===nu?a_:s})),16),i=parseInt(je.apply(void 0,e.map(function(s){return s===nu?f_:s})),16);return{type:30,start:n,end:i}}var a=parseInt(je.apply(void 0,e),16);if(this.peekCodePoint(0)===KA&&Mi(this.peekCodePoint(1))){this.consumeCodePoint(),A=this.consumeCodePoint();for(var o=[];Mi(A)&&o.length<6;)o.push(A),A=this.consumeCodePoint();var i=parseInt(je.apply(void 0,o),16);return{type:30,start:a,end:i}}else return{type:30,start:a,end:a}},t.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===ru?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ru?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},t.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ot)return{type:22,value:""};var A=this.peekCodePoint(0);if(A===tu||A===Au){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ot||this.peekCodePoint(0)===ho)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),su)}for(;;){var n=this.consumeCodePoint();if(n===Ot||n===ho)return{type:22,value:je.apply(void 0,e)};if(iu(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ot||this.peekCodePoint(0)===ho?(this.consumeCodePoint(),{type:22,value:je.apply(void 0,e)}):(this.consumeBadUrlRemnants(),su);if(n===Au||n===tu||n===ru||LO(n))return this.consumeBadUrlRemnants(),su;if(n===fo)if(Sr(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),su;else e.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;iu(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===ho||e===Ot)return;Sr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(e){for(var A=5e4,r="";e>0;){var n=Math.min(A,e);r+=je.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(e){var A="",r=0;do{var n=this._value[r];if(n===Ot||n===void 0||n===e)return A+=this.consumeStringSlice(r),{type:0,value:A};if(n===eu)return this._value.splice(0,r),YO;if(n===fo){var i=this._value[r+1];i!==Ot&&i!==void 0&&(i===eu?(A+=this.consumeStringSlice(r),r=-1,this._value.shift()):Sr(n,i)&&(A+=this.consumeStringSlice(r),A+=je(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},t.prototype.consumeNumber=function(){var e=[],A=uo,r=this.peekCodePoint(0);for((r===Dn||r===KA)&&e.push(this.consumeCodePoint());FA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===vo&&FA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),A=t_;FA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===u_||r===s_)&&((n===Dn||n===KA)&&FA(i)||FA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),A=t_;FA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[MO(e),A]},t.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),A=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(ou(n,i,a)){var o=this.consumeName();return{type:15,number:A,flags:r,unit:o}}return n===tO?(this.consumeCodePoint(),{type:16,number:A,flags:r}):{type:17,number:A,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Mi(e)){for(var A=je(e);Mi(this.peekCodePoint(0))&&A.length<6;)A+=je(this.consumeCodePoint());iu(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(A,16);return r===0||SO(r)||r>1114111?i_:r}return e===Ot?i_:e},t.prototype.consumeName=function(){for(var e="";;){var A=this.consumeCodePoint();if(c_(A))e+=je(A);else if(Sr(A,this.peekCodePoint(0)))e+=je(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(A),e}},t}(),v_=function(){function t(e){this._tokens=e}return t.create=function(e){var A=new h_;return A.write(e),new t(A.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var A=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return A;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var e=[];;){var A=this.consumeComponentValue();if(A.type===32)return e;e.push(A),e.push()}},t.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},t.prototype.consumeSimpleBlock=function(e){for(var A={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||tR(r,e))return A;this.reconsumeToken(r),A.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(e){for(var A={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return A;this.reconsumeToken(r),A.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?zv:e},t.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},t}(),go=function(t){return t.type===15},Hi=function(t){return t.type===17},ke=function(t){return t.type===20},AR=function(t){return t.type===0},Wv=function(t,e){return ke(t)&&t.value===e},d_=function(t){return t.type!==31},Oi=function(t){return t.type!==31&&t.type!==4},Rt=function(t){var e=[],A=[];return t.forEach(function(r){if(r.type===4){if(A.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(A),A=[];return}r.type!==31&&A.push(r)}),A.length&&e.push(A),e},tR=function(t,e){return e===11&&t.type===12||e===28&&t.type===29?!0:e===2&&t.type===3},br=function(t){return t.type===17||t.type===15},nA=function(t){return t.type===16||br(t)},g_=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},cA={type:17,number:0,flags:uo},Yv={type:16,number:50,flags:uo},Ir={type:16,number:100,flags:uo},po=function(t,e,A){var r=t[0],n=t[1];return[Ve(r,e),Ve(typeof n<"u"?n:r,A)]},Ve=function(t,e){if(t.type===16)return t.number/100*e;if(go(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},p_="deg",B_="grad",y_="rad",m_="turn",lu={name:"angle",parse:function(t,e){if(e.type===15)switch(e.unit){case p_:return Math.PI*e.number/180;case B_:return Math.PI/200*e.number;case y_:return e.number;case m_:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},w_=function(t){return t.type===15&&(t.unit===p_||t.unit===B_||t.unit===y_||t.unit===m_)},C_=function(t){var e=t.filter(ke).map(function(A){return A.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[cA,cA];case"to top":case"bottom":return ut(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[cA,Ir];case"to right":case"left":return ut(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ir,Ir];case"to bottom":case"top":return ut(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ir,cA];case"to left":case"right":return ut(270)}return 0},ut=function(t){return Math.PI*t/180},Tr={name:"color",parse:function(t,e){if(e.type===18){var A=rR[e.name];if(typeof A>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return A(t,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return Lr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),a=e.value.substring(3,4);return Lr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return Lr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),a=e.value.substring(6,8);return Lr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(e.type===20){var o=ar[e.value.toUpperCase()];if(typeof o<"u")return o}return ar.TRANSPARENT}},Dr=function(t){return(255&t)===0},fA=function(t){var e=255&t,A=255&t>>8,r=255&t>>16,n=255&t>>24;return e<255?"rgba("+n+","+r+","+A+","+e/255+")":"rgb("+n+","+r+","+A+")"},Lr=function(t,e,A,r){return(t<<24|e<<16|A<<8|Math.round(r*255)<<0)>>>0},__=function(t,e){if(t.type===17)return t.number;if(t.type===16){var A=e===3?1:255;return e===3?t.number/100*A:Math.round(t.number/100*A)}return 0},Q_=function(t,e){var A=e.filter(Oi);if(A.length===3){var r=A.map(__),n=r[0],i=r[1],a=r[2];return Lr(n,i,a,1)}if(A.length===4){var o=A.map(__),n=o[0],i=o[1],a=o[2],s=o[3];return Lr(n,i,a,s)}return 0};function Xv(t,e,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(e-t)*A*6+t:A<1/2?e:A<2/3?(e-t)*6*(2/3-A)+t:t}var F_=function(t,e){var A=e.filter(Oi),r=A[0],n=A[1],i=A[2],a=A[3],o=(r.type===17?ut(r.number):lu.parse(t,r))/(Math.PI*2),s=nA(n)?n.number/100:0,l=nA(i)?i.number/100:0,u=typeof a<"u"&&nA(a)?Ve(a,1):1;if(s===0)return Lr(l*255,l*255,l*255,1);var f=l<=.5?l*(s+1):l+s-l*s,c=l*2-f,h=Xv(c,f,o+1/3),v=Xv(c,f,o),d=Xv(c,f,o-1/3);return Lr(h*255,v*255,d*255,u)},rR={hsl:F_,hsla:F_,rgb:Q_,rgba:Q_},Bo=function(t,e){return Tr.parse(t,v_.create(e).parseComponentValue())},ar={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},nR={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(A){if(ke(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},iR={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},uu=function(t,e){var A=Tr.parse(t,e[0]),r=e[1];return r&&nA(r)?{color:A,stop:r}:{color:A,stop:null}},x_=function(t,e){var A=t[0],r=t[t.length-1];A.stop===null&&(A.stop=cA),r.stop===null&&(r.stop=Ir);for(var n=[],i=0,a=0;a<t.length;a++){var o=t[a].stop;if(o!==null){var s=Ve(o,e);s>i?n.push(s):n.push(i),i=s}else n.push(null)}for(var l=null,a=0;a<n.length;a++){var u=n[a];if(u===null)l===null&&(l=a);else if(l!==null){for(var f=a-l,c=n[l-1],h=(u-c)/(f+1),v=1;v<=f;v++)n[l+v-1]=h*v;l=null}}return t.map(function(d,g){var p=d.color;return{color:p,stop:Math.max(Math.min(1,n[g]/e),0)}})},aR=function(t,e,A){var r=e/2,n=A/2,i=Ve(t[0],e)-r,a=n-Ve(t[1],A);return(Math.atan2(a,i)+Math.PI*2)%(Math.PI*2)},oR=function(t,e,A){var r=typeof t=="number"?t:aR(t,e,A),n=Math.abs(e*Math.sin(r))+Math.abs(A*Math.cos(r)),i=e/2,a=A/2,o=n/2,s=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,i-l,i+l,a-s,a+s]},Qt=function(t,e){return Math.sqrt(t*t+e*e)},E_=function(t,e,A,r,n){var i=[[0,0],[0,e],[t,0],[t,e]];return i.reduce(function(a,o){var s=o[0],l=o[1],u=Qt(A-s,r-l);return(n?u<a.optimumDistance:u>a.optimumDistance)?{optimumCorner:o,optimumDistance:u}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},sR=function(t,e,A,r,n){var i=0,a=0;switch(t.size){case 0:t.shape===0?i=a=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(A),Math.abs(A-n)):t.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),a=Math.min(Math.abs(A),Math.abs(A-n)));break;case 2:if(t.shape===0)i=a=Math.min(Qt(e,A),Qt(e,A-n),Qt(e-r,A),Qt(e-r,A-n));else if(t.shape===1){var o=Math.min(Math.abs(A),Math.abs(A-n))/Math.min(Math.abs(e),Math.abs(e-r)),s=E_(r,n,e,A,!0),l=s[0],u=s[1];i=Qt(l-e,(u-A)/o),a=o*i}break;case 1:t.shape===0?i=a=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(A),Math.abs(A-n)):t.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),a=Math.max(Math.abs(A),Math.abs(A-n)));break;case 3:if(t.shape===0)i=a=Math.max(Qt(e,A),Qt(e,A-n),Qt(e-r,A),Qt(e-r,A-n));else if(t.shape===1){var o=Math.max(Math.abs(A),Math.abs(A-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=E_(r,n,e,A,!1),l=f[0],u=f[1];i=Qt(l-e,(u-A)/o),a=o*i}break}return Array.isArray(t.size)&&(i=Ve(t.size[0],r),a=t.size.length===2?Ve(t.size[1],n):i),[i,a]},lR=function(t,e){var A=ut(180),r=[];return Rt(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&a.value==="to"){A=C_(n);return}else if(w_(a)){A=lu.parse(t,a);return}}var o=uu(t,n);r.push(o)}),{angle:A,stops:r,type:1}},fu=function(t,e){var A=ut(180),r=[];return Rt(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){A=C_(n);return}else if(w_(a)){A=(lu.parse(t,a)+ut(270))%ut(360);return}}var o=uu(t,n);r.push(o)}),{angle:A,stops:r,type:1}},uR=function(t,e){var A=ut(180),r=[],n=1,i=0,a=3,o=[];return Rt(e).forEach(function(s,l){var u=s[0];if(l===0){if(ke(u)&&u.value==="linear"){n=1;return}else if(ke(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){var f=Tr.parse(t,u.values[0]);r.push({stop:cA,color:f})}else if(u.name==="to"){var f=Tr.parse(t,u.values[0]);r.push({stop:Ir,color:f})}else if(u.name==="color-stop"){var c=u.values.filter(Oi);if(c.length===2){var f=Tr.parse(t,c[1]),h=c[0];Hi(h)&&r.push({stop:{type:16,number:h.number*100,flags:h.flags},color:f})}}}}),n===1?{angle:(A+ut(180))%ut(360),stops:r,type:n}:{size:a,shape:i,stops:r,position:o,type:n}},U_="closest-side",S_="farthest-side",b_="closest-corner",I_="farthest-corner",T_="circle",D_="ellipse",L_="cover",M_="contain",fR=function(t,e){var A=0,r=3,n=[],i=[];return Rt(e).forEach(function(a,o){var s=!0;if(o===0){var l=!1;s=a.reduce(function(f,c){if(l)if(ke(c))switch(c.value){case"center":return i.push(Yv),f;case"top":case"left":return i.push(cA),f;case"right":case"bottom":return i.push(Ir),f}else(nA(c)||br(c))&&i.push(c);else if(ke(c))switch(c.value){case T_:return A=0,!1;case D_:return A=1,!1;case"at":return l=!0,!1;case U_:return r=0,!1;case L_:case S_:return r=1,!1;case M_:case b_:return r=2,!1;case I_:return r=3,!1}else if(br(c)||nA(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return f},s)}if(s){var u=uu(t,a);n.push(u)}}),{size:r,shape:A,stops:n,position:i,type:2}},cu=function(t,e){var A=0,r=3,n=[],i=[];return Rt(e).forEach(function(a,o){var s=!0;if(o===0?s=a.reduce(function(u,f){if(ke(f))switch(f.value){case"center":return i.push(Yv),!1;case"top":case"left":return i.push(cA),!1;case"right":case"bottom":return i.push(Ir),!1}else if(nA(f)||br(f))return i.push(f),!1;return u},s):o===1&&(s=a.reduce(function(u,f){if(ke(f))switch(f.value){case T_:return A=0,!1;case D_:return A=1,!1;case M_:case U_:return r=0,!1;case S_:return r=1,!1;case b_:return r=2,!1;case L_:case I_:return r=3,!1}else if(br(f)||nA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},s)),s){var l=uu(t,a);n.push(l)}}),{size:r,shape:A,stops:n,position:i,type:2}},cR=function(t){return t.type===1},hR=function(t){return t.type===2},Zv={name:"image",parse:function(t,e){if(e.type===22){var A={url:e.value,type:0};return t.cache.addImage(e.value),A}if(e.type===18){var r=H_[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function vR(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!H_[t.name])}var H_={"linear-gradient":lR,"-moz-linear-gradient":fu,"-ms-linear-gradient":fu,"-o-linear-gradient":fu,"-webkit-linear-gradient":fu,"radial-gradient":fR,"-moz-radial-gradient":cu,"-ms-radial-gradient":cu,"-o-radial-gradient":cu,"-webkit-radial-gradient":cu,"-webkit-gradient":uR},dR={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var A=e[0];return A.type===20&&A.value==="none"?[]:e.filter(function(r){return Oi(r)&&vR(r)}).map(function(r){return Zv.parse(t,r)})}},gR={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(A){if(ke(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},pR={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return Rt(e).map(function(A){return A.filter(nA)}).map(g_)}},BR={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return Rt(e).map(function(A){return A.filter(ke).map(function(r){return r.value}).join(" ")}).map(yR)}},yR=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ri;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Ri||(Ri={}));var mR={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return Rt(e).map(function(A){return A.filter(wR)})}},wR=function(t){return ke(t)||nA(t)},hu=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},CR=hu("top"),_R=hu("right"),QR=hu("bottom"),FR=hu("left"),vu=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(e,A){return g_(A.filter(nA))}}},xR=vu("top-left"),ER=vu("top-right"),UR=vu("bottom-right"),SR=vu("bottom-left"),du=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,A){switch(A){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},bR=du("top"),IR=du("right"),TR=du("bottom"),DR=du("left"),gu=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return go(A)?A.number:0}}},LR=gu("top"),MR=gu("right"),HR=gu("bottom"),OR=gu("left"),RR={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},PR={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},NR={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(ke).reduce(function(A,r){return A|kR(r.value)},0)}},kR=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},KR={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},VR={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},pu;(function(t){t.NORMAL="normal",t.STRICT="strict"})(pu||(pu={}));var GR={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return pu.STRICT;case"normal":default:return pu.NORMAL}}},zR={name:"line-height",initialValue:"normal",prefix:!1,type:4},O_=function(t,e){return ke(t)&&t.value==="normal"?1.2*e:t.type===17?e*t.number:nA(t)?Ve(t,e):e},WR={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return e.type===20&&e.value==="none"?null:Zv.parse(t,e)}},YR={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Jv={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Bu=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},XR=Bu("top"),ZR=Bu("right"),JR=Bu("bottom"),$R=Bu("left"),qR={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(ke).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},jR={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},yu=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},eP=yu("top"),AP=yu("right"),tP=yu("bottom"),rP=yu("left"),nP={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},iP={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},aP={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Wv(e[0],"none")?[]:Rt(e).map(function(A){for(var r={color:ar.TRANSPARENT,offsetX:cA,offsetY:cA,blur:cA},n=0,i=0;i<A.length;i++){var a=A[i];br(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=Tr.parse(t,a)}return r})}},oP={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},sP={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var A=fP[e.name];if(typeof A>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return A(e.values)}return null}},lP=function(t){var e=t.filter(function(A){return A.type===17}).map(function(A){return A.number});return e.length===6?e:null},uP=function(t){var e=t.filter(function(s){return s.type===17}).map(function(s){return s.number}),A=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var a=e[12],o=e[13];return e[14],e[15],e.length===16?[A,r,n,i,a,o]:null},fP={matrix:lP,matrix3d:uP},R_={type:16,number:50,flags:uo},cP=[R_,R_],hP={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var A=e.filter(nA);return A.length!==2?cP:[A[0],A[1]]}},vP={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},yo;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(yo||(yo={}));for(var dP={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return yo.BREAK_ALL;case"keep-all":return yo.KEEP_ALL;case"normal":default:return yo.NORMAL}}},gP={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(e.type===20)return{auto:!0,order:0};if(Hi(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},P_={name:"time",parse:function(t,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},pP={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return Hi(e)?e.number:1}},BP={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yP={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(ke).map(function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(A){return A!==0})}},mP={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var A=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:A.push(n.value);break;case 17:A.push(n.number.toString());break;case 4:r.push(A.join(" ")),A.length=0;break}}),A.length&&r.push(A.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},wP={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},CP={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(Hi(e))return e.number;if(ke(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},_P={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(ke).map(function(A){return A.value})}},QP={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},oA=function(t,e){return(t&e)!==0},FP={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var A=e[0];return A.type===20&&A.value==="none"?[]:e}},xP={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var A=e[0];if(A.type===20&&A.value==="none")return null;for(var r=[],n=e.filter(d_),i=0;i<n.length;i++){var a=n[i],o=n[i+1];if(a.type===20){var s=o&&Hi(o)?o.number:1;r.push({counter:a.value,increment:s})}}return r}},EP={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return[];for(var A=[],r=e.filter(d_),n=0;n<r.length;n++){var i=r[n],a=r[n+1];if(ke(i)&&i.value!=="none"){var o=a&&Hi(a)?a.number:0;A.push({counter:i.value,reset:o})}}return A}},UP={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(go).map(function(A){return P_.parse(t,A)})}},SP={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var A=e[0];if(A.type===20&&A.value==="none")return null;var r=[],n=e.filter(AR);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var a=n[i].value,o=n[i+1].value;r.push({open:a,close:o})}return r}},N_=function(t,e,A){if(!t)return"";var r=t[Math.min(e,t.length-1)];return r?A?r.open:r.close:""},bP={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Wv(e[0],"none")?[]:Rt(e).map(function(A){for(var r={color:255,offsetX:cA,offsetY:cA,blur:cA,spread:cA,inset:!1},n=0,i=0;i<A.length;i++){var a=A[i];Wv(a,"inset")?r.inset=!0:br(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=Tr.parse(t,a)}return r})}},IP={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var A=[0,1,2],r=[];return e.filter(ke).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),A.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},TP={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},DP={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return go(e)?e.number:0}},LP=function(){function t(e,A){var r,n;this.animationDuration=j(e,UP,A.animationDuration),this.backgroundClip=j(e,nR,A.backgroundClip),this.backgroundColor=j(e,iR,A.backgroundColor),this.backgroundImage=j(e,dR,A.backgroundImage),this.backgroundOrigin=j(e,gR,A.backgroundOrigin),this.backgroundPosition=j(e,pR,A.backgroundPosition),this.backgroundRepeat=j(e,BR,A.backgroundRepeat),this.backgroundSize=j(e,mR,A.backgroundSize),this.borderTopColor=j(e,CR,A.borderTopColor),this.borderRightColor=j(e,_R,A.borderRightColor),this.borderBottomColor=j(e,QR,A.borderBottomColor),this.borderLeftColor=j(e,FR,A.borderLeftColor),this.borderTopLeftRadius=j(e,xR,A.borderTopLeftRadius),this.borderTopRightRadius=j(e,ER,A.borderTopRightRadius),this.borderBottomRightRadius=j(e,UR,A.borderBottomRightRadius),this.borderBottomLeftRadius=j(e,SR,A.borderBottomLeftRadius),this.borderTopStyle=j(e,bR,A.borderTopStyle),this.borderRightStyle=j(e,IR,A.borderRightStyle),this.borderBottomStyle=j(e,TR,A.borderBottomStyle),this.borderLeftStyle=j(e,DR,A.borderLeftStyle),this.borderTopWidth=j(e,LR,A.borderTopWidth),this.borderRightWidth=j(e,MR,A.borderRightWidth),this.borderBottomWidth=j(e,HR,A.borderBottomWidth),this.borderLeftWidth=j(e,OR,A.borderLeftWidth),this.boxShadow=j(e,bP,A.boxShadow),this.color=j(e,RR,A.color),this.direction=j(e,PR,A.direction),this.display=j(e,NR,A.display),this.float=j(e,KR,A.cssFloat),this.fontFamily=j(e,mP,A.fontFamily),this.fontSize=j(e,wP,A.fontSize),this.fontStyle=j(e,QP,A.fontStyle),this.fontVariant=j(e,_P,A.fontVariant),this.fontWeight=j(e,CP,A.fontWeight),this.letterSpacing=j(e,VR,A.letterSpacing),this.lineBreak=j(e,GR,A.lineBreak),this.lineHeight=j(e,zR,A.lineHeight),this.listStyleImage=j(e,WR,A.listStyleImage),this.listStylePosition=j(e,YR,A.listStylePosition),this.listStyleType=j(e,Jv,A.listStyleType),this.marginTop=j(e,XR,A.marginTop),this.marginRight=j(e,ZR,A.marginRight),this.marginBottom=j(e,JR,A.marginBottom),this.marginLeft=j(e,$R,A.marginLeft),this.opacity=j(e,pP,A.opacity);var i=j(e,qR,A.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=j(e,jR,A.overflowWrap),this.paddingTop=j(e,eP,A.paddingTop),this.paddingRight=j(e,AP,A.paddingRight),this.paddingBottom=j(e,tP,A.paddingBottom),this.paddingLeft=j(e,rP,A.paddingLeft),this.paintOrder=j(e,IP,A.paintOrder),this.position=j(e,iP,A.position),this.textAlign=j(e,nP,A.textAlign),this.textDecorationColor=j(e,BP,(r=A.textDecorationColor)!==null&&r!==void 0?r:A.color),this.textDecorationLine=j(e,yP,(n=A.textDecorationLine)!==null&&n!==void 0?n:A.textDecoration),this.textShadow=j(e,aP,A.textShadow),this.textTransform=j(e,oP,A.textTransform),this.transform=j(e,sP,A.transform),this.transformOrigin=j(e,hP,A.transformOrigin),this.visibility=j(e,vP,A.visibility),this.webkitTextStrokeColor=j(e,TP,A.webkitTextStrokeColor),this.webkitTextStrokeWidth=j(e,DP,A.webkitTextStrokeWidth),this.wordBreak=j(e,dP,A.wordBreak),this.zIndex=j(e,gP,A.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return Dr(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return oA(this.display,4)||oA(this.display,33554432)||oA(this.display,268435456)||oA(this.display,536870912)||oA(this.display,67108864)||oA(this.display,134217728)},t}(),MP=function(){function t(e,A){this.content=j(e,FP,A.content),this.quotes=j(e,SP,A.quotes)}return t}(),k_=function(){function t(e,A){this.counterIncrement=j(e,xP,A.counterIncrement),this.counterReset=j(e,EP,A.counterReset)}return t}(),j=function(t,e,A){var r=new h_,n=A!==null&&typeof A<"u"?A.toString():e.initialValue;r.write(n);var i=new v_(r.read());switch(e.type){case 2:var a=i.parseComponentValue();return e.parse(t,ke(a)?a.value:e.initialValue);case 0:return e.parse(t,i.parseComponentValue());case 1:return e.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return lu.parse(t,i.parseComponentValue());case"color":return Tr.parse(t,i.parseComponentValue());case"image":return Zv.parse(t,i.parseComponentValue());case"length":var o=i.parseComponentValue();return br(o)?o:cA;case"length-percentage":var s=i.parseComponentValue();return nA(s)?s:cA;case"time":return P_.parse(t,i.parseComponentValue())}break}},HP="data-html2canvas-debug",OP=function(t){var e=t.getAttribute(HP);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},$v=function(t,e){var A=OP(t);return A===1||e===A},Pt=function(){function t(e,A){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,$v(A,3))debugger;this.styles=new LP(e,window.getComputedStyle(A,null)),fd(A)&&(this.styles.animationDuration.some(function(r){return r>0})&&(A.style.animationDuration="0s"),this.styles.transform!==null&&(A.style.transform="none")),this.bounds=Vl(this.context,A),$v(A,4)&&(this.flags|=16)}return t}(),RP="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",K_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mo=typeof Uint8Array>"u"?[]:new Uint8Array(256),mu=0;mu<K_.length;mu++)mo[K_.charCodeAt(mu)]=mu;for(var PP=function(t){var e=t.length*.75,A=t.length,r,n=0,i,a,o,s;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<A;r+=4)i=mo[t.charCodeAt(r)],a=mo[t.charCodeAt(r+1)],o=mo[t.charCodeAt(r+2)],s=mo[t.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},NP=function(t){for(var e=t.length,A=[],r=0;r<e;r+=2)A.push(t[r+1]<<8|t[r]);return A},kP=function(t){for(var e=t.length,A=[],r=0;r<e;r+=4)A.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return A},Ln=5,qv=6+5,jv=2,KP=qv-Ln,V_=65536>>Ln,VP=1<<Ln,ed=VP-1,GP=1024>>Ln,zP=V_+GP,WP=zP,YP=32,XP=WP+YP,ZP=65536>>qv,JP=1<<KP,$P=JP-1,G_=function(t,e,A){return t.slice?t.slice(e,A):new Uint16Array(Array.prototype.slice.call(t,e,A))},qP=function(t,e,A){return t.slice?t.slice(e,A):new Uint32Array(Array.prototype.slice.call(t,e,A))},jP=function(t,e){var A=PP(t),r=Array.isArray(A)?kP(A):new Uint32Array(A),n=Array.isArray(A)?NP(A):new Uint16Array(A),i=24,a=G_(n,i/2,r[4]/2),o=r[5]===2?G_(n,(i+r[4])/2):qP(r,Math.ceil((i+r[4])/4));return new eN(r[0],r[1],r[2],r[3],a,o)},eN=function(){function t(e,A,r,n,i,a){this.initialValue=e,this.errorValue=A,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return t.prototype.get=function(e){var A;if(e>=0){if(e<55296||e>56319&&e<=65535)return A=this.index[e>>Ln],A=(A<<jv)+(e&ed),this.data[A];if(e<=65535)return A=this.index[V_+(e-55296>>Ln)],A=(A<<jv)+(e&ed),this.data[A];if(e<this.highStart)return A=XP-ZP+(e>>qv),A=this.index[A],A+=e>>Ln&$P,A=this.index[A],A=(A<<jv)+(e&ed),this.data[A];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),z_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",AN=typeof Uint8Array>"u"?[]:new Uint8Array(256),wu=0;wu<z_.length;wu++)AN[z_.charCodeAt(wu)]=wu;var tN=1,Ad=2,td=3,W_=4,Y_=5,rN=7,X_=8,rd=9,nd=10,Z_=11,J_=12,$_=13,q_=14,id=15,nN=function(t){for(var e=[],A=0,r=t.length;A<r;){var n=t.charCodeAt(A++);if(n>=55296&&n<=56319&&A<r){var i=t.charCodeAt(A++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),A--)}else e.push(n)}return e},iN=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var A=t.length;if(!A)return"";for(var r=[],n=-1,i="";++n<A;){var a=t[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===A||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},aN=jP(RP),ft="×",ad="÷",oN=function(t){return aN.get(t)},sN=function(t,e,A){var r=A-2,n=e[r],i=e[A-1],a=e[A];if(i===Ad&&a===td)return ft;if(i===Ad||i===td||i===W_||a===Ad||a===td||a===W_)return ad;if(i===X_&&[X_,rd,Z_,J_].indexOf(a)!==-1||(i===Z_||i===rd)&&(a===rd||a===nd)||(i===J_||i===nd)&&a===nd||a===$_||a===Y_||a===rN||i===tN)return ft;if(i===$_&&a===q_){for(;n===Y_;)n=e[--r];if(n===q_)return ft}if(i===id&&a===id){for(var o=0;n===id;)o++,n=e[--r];if(o%2===0)return ft}return ad},lN=function(t){var e=nN(t),A=e.length,r=0,n=0,i=e.map(oN);return{next:function(){if(r>=A)return{done:!0,value:null};for(var a=ft;r<A&&(a=sN(e,i,++r))===ft;);if(a!==ft||r===A){var o=iN.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},uN=function(t){for(var e=lN(t),A=[],r;!(r=e.next()).done;)r.value&&A.push(r.value.slice());return A},fN=function(t){var e=123;if(t.createRange){var A=t.createRange();if(A.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=e+"px",r.style.display="block",t.body.appendChild(r),A.selectNode(r);var n=A.getBoundingClientRect(),i=Math.round(n.height);if(t.body.removeChild(r),i===e)return!0}}return!1},cN=function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var A=t.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Gl(r.data).map(function(s){return je(s)}),i=0,a={},o=n.every(function(s,l){A.setStart(r,i),A.setEnd(r,i+s.length);var u=A.getBoundingClientRect();i+=s.length;var f=u.x>a.x||u.y>a.y;return a=u,l===0?!0:f});return t.body.removeChild(e),o},hN=function(){return typeof new Image().crossOrigin<"u"},vN=function(){return typeof new XMLHttpRequest().responseType=="string"},dN=function(t){var e=new Image,A=t.createElement("canvas"),r=A.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),A.toDataURL()}catch{return!1}return!0},j_=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},gN=function(t){var e=t.createElement("canvas"),A=100;e.width=A,e.height=A;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,A,A);var n=new Image,i=e.toDataURL();n.src=i;var a=od(A,A,0,0,n);return r.fillStyle="red",r.fillRect(0,0,A,A),e1(a).then(function(o){r.drawImage(o,0,0);var s=r.getImageData(0,0,A,A).data;r.fillStyle="red",r.fillRect(0,0,A,A);var l=t.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=A+"px",j_(s)?e1(od(A,A,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),j_(r.getImageData(0,0,A,A).data)}).catch(function(){return!1})},od=function(t,e,A,r,n){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",t.toString()),a.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",A.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(o),o.appendChild(n),a},e1=function(t){return new Promise(function(e,A){var r=new Image;r.onload=function(){return e(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},hA={get SUPPORT_RANGE_BOUNDS(){var t=fN(document);return Object.defineProperty(hA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=hA.SUPPORT_RANGE_BOUNDS&&cN(document);return Object.defineProperty(hA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=dN(document);return Object.defineProperty(hA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?gN(document):Promise.resolve(!1);return Object.defineProperty(hA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=hN();return Object.defineProperty(hA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=vN();return Object.defineProperty(hA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(hA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(hA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},wo=function(){function t(e,A){this.text=e,this.bounds=A}return t}(),pN=function(t,e,A,r){var n=mN(e,A),i=[],a=0;return n.forEach(function(o){if(A.textDecorationLine.length||o.trim().length>0)if(hA.SUPPORT_RANGE_BOUNDS){var s=A1(r,a,o.length).getClientRects();if(s.length>1){var l=sd(o),u=0;l.forEach(function(c){i.push(new wo(c,nr.fromDOMRectList(t,A1(r,u+a,c.length).getClientRects()))),u+=c.length})}else i.push(new wo(o,nr.fromDOMRectList(t,s)))}else{var f=r.splitText(o.length);i.push(new wo(o,BN(t,r))),r=f}else hA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));a+=o.length}),i},BN=function(t,e){var A=e.ownerDocument;if(A){var r=A.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=Vl(t,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return nr.EMPTY},A1=function(t,e,A){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,e),n.setEnd(t,e+A),n},sd=function(t){if(hA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(A){return A.segment})}return uN(t)},yN=function(t,e){if(hA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(A.segment(t)).map(function(r){return r.segment})}return CN(t,e)},mN=function(t,e){return e.letterSpacing!==0?sd(t):yN(t,e)},wN=[32,160,4961,65792,65793,4153,4241],CN=function(t,e){for(var A=Z2(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var a=n.value.slice(),o=Gl(a),s="";o.forEach(function(l){wN.indexOf(l)===-1?s+=je(l):(s.length&&r.push(s),r.push(je(l)),s="")}),s.length&&r.push(s)}};!(n=A.next()).done;)i();return r},_N=function(){function t(e,A,r){this.text=QN(A.data,r.textTransform),this.textBounds=pN(e,this.text,r,A)}return t}(),QN=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(FN,xN);case 2:return t.toUpperCase();default:return t}},FN=/(^|\s|:|-|\(|\))([a-z])/g,xN=function(t,e,A){return t.length>0?e+A.toUpperCase():t},t1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Pt),r1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Pt),n1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this,i=new XMLSerializer,a=Vl(A,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Pt),i1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.value=r.value,n}return e}(Pt),ld=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Pt),EN=[{type:15,flags:0,unit:"px",number:3}],UN=[{type:16,flags:0,number:50}],SN=function(t){return t.width>t.height?new nr(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new nr(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},bN=function(t){var e=t.type===IN?new Array(t.value.length+1).join("•"):t.value;return e.length===0?t.placeholder||"":e},Cu="checkbox",_u="radio",IN="password",a1=707406591,ud=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=bN(r),(n.type===Cu||n.type===_u)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=SN(n.bounds)),n.type){case Cu:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=EN;break;case _u:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=UN;break}return n}return e}(Pt),o1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return e}(Pt),s1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.value=r.value,n}return e}(Pt),l1=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=f1(A,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Bo(A,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):ar.TRANSPARENT,a=r.contentWindow.document.body?Bo(A,getComputedStyle(r.contentWindow.document.body).backgroundColor):ar.TRANSPARENT;n.backgroundColor=Dr(i)?Dr(a)?n.styles.backgroundColor:a:i}}catch{}return n}return e}(Pt),TN=["OL","UL","MENU"],Qu=function(t,e,A,r){for(var n=e.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,c1(n)&&n.data.trim().length>0)A.textNodes.push(new _N(t,n,A.styles));else if(Pi(n))if(B1(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return Qu(t,o,A,r)});else{var a=u1(t,n);a.styles.isVisible()&&(DN(n,a,r)?a.flags|=4:LN(a.styles)&&(a.flags|=2),TN.indexOf(n.tagName)!==-1&&(a.flags|=8),A.elements.push(a),n.slot,n.shadowRoot?Qu(t,n.shadowRoot,a,r):!xu(n)&&!h1(n)&&!Eu(n)&&Qu(t,n,a,r))}},u1=function(t,e){return hd(e)?new t1(t,e):v1(e)?new r1(t,e):h1(e)?new n1(t,e):MN(e)?new i1(t,e):HN(e)?new ld(t,e):ON(e)?new ud(t,e):Eu(e)?new o1(t,e):xu(e)?new s1(t,e):g1(e)?new l1(t,e):new Pt(t,e)},f1=function(t,e){var A=u1(t,e);return A.flags|=4,Qu(t,e,A,A),A},DN=function(t,e,A){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||cd(t)&&A.styles.isTransparent()},LN=function(t){return t.isPositioned()||t.isFloating()},c1=function(t){return t.nodeType===Node.TEXT_NODE},Pi=function(t){return t.nodeType===Node.ELEMENT_NODE},fd=function(t){return Pi(t)&&typeof t.style<"u"&&!Fu(t)},Fu=function(t){return typeof t.className=="object"},MN=function(t){return t.tagName==="LI"},HN=function(t){return t.tagName==="OL"},ON=function(t){return t.tagName==="INPUT"},RN=function(t){return t.tagName==="HTML"},h1=function(t){return t.tagName==="svg"},cd=function(t){return t.tagName==="BODY"},v1=function(t){return t.tagName==="CANVAS"},d1=function(t){return t.tagName==="VIDEO"},hd=function(t){return t.tagName==="IMG"},g1=function(t){return t.tagName==="IFRAME"},p1=function(t){return t.tagName==="STYLE"},PN=function(t){return t.tagName==="SCRIPT"},xu=function(t){return t.tagName==="TEXTAREA"},Eu=function(t){return t.tagName==="SELECT"},B1=function(t){return t.tagName==="SLOT"},y1=function(t){return t.tagName.indexOf("-")>0},NN=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(e){var A=this.counters[e];return A&&A.length?A[A.length-1]:1},t.prototype.getCounterValues=function(e){var A=this.counters[e];return A||[]},t.prototype.pop=function(e){var A=this;e.forEach(function(r){return A.counters[r].pop()})},t.prototype.parse=function(e){var A=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(o){var s=A.counters[o.counter];s&&o.increment!==0&&(i=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=o.increment)});var a=[];return i&&n.forEach(function(o){var s=A.counters[o.counter];a.push(o.counter),s||(s=A.counters[o.counter]=[]),s.push(o.reset)}),a},t}(),m1={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},w1={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},kN={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},KN={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Ni=function(t,e,A,r,n,i){return t<e||t>A?_o(t,n,i.length>0):r.integers.reduce(function(a,o,s){for(;t>=o;)t-=o,a+=r.values[s];return a},"")+i},C1=function(t,e,A,r){var n="";do A||t--,n=r(t)+n,t/=e;while(t*e>=e);return n},eA=function(t,e,A,r,n){var i=A-e+1;return(t<0?"-":"")+(C1(Math.abs(t),i,r,function(a){return je(Math.floor(a%i)+e)})+n)},Mn=function(t,e,A){A===void 0&&(A=". ");var r=e.length;return C1(Math.abs(t),r,!1,function(n){return e[Math.floor(n%r)]})+A},ki=1,Mr=2,Hr=4,Co=8,or=function(t,e,A,r,n,i){if(t<-9999||t>9999)return _o(t,4,n.length>0);var a=Math.abs(t),o=n;if(a===0)return e[0]+o;for(var s=0;a>0&&s<=4;s++){var l=a%10;l===0&&oA(i,ki)&&o!==""?o=e[l]+o:l>1||l===1&&s===0||l===1&&s===1&&oA(i,Mr)||l===1&&s===1&&oA(i,Hr)&&t>100||l===1&&s>1&&oA(i,Co)?o=e[l]+(s>0?A[s-1]:"")+o:l===1&&s>0&&(o=A[s-1]+o),a=Math.floor(a/10)}return(t<0?r:"")+o},_1="十百千萬",Q1="拾佰仟萬",F1="マイナス",vd="마이너스",_o=function(t,e,A){var r=A?". ":"",n=A?"、":"",i=A?", ":"",a=A?" ":"";switch(e){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var o=eA(t,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Mn(t,"〇一二三四五六七八九",n);case 6:return Ni(t,1,3999,m1,3,r).toLowerCase();case 7:return Ni(t,1,3999,m1,3,r);case 8:return eA(t,945,969,!1,r);case 9:return eA(t,97,122,!1,r);case 10:return eA(t,65,90,!1,r);case 11:return eA(t,1632,1641,!0,r);case 12:case 49:return Ni(t,1,9999,w1,3,r);case 35:return Ni(t,1,9999,w1,3,r).toLowerCase();case 13:return eA(t,2534,2543,!0,r);case 14:case 30:return eA(t,6112,6121,!0,r);case 15:return Mn(t,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Mn(t,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return or(t,"零一二三四五六七八九",_1,"負",n,Mr|Hr|Co);case 47:return or(t,"零壹貳參肆伍陸柒捌玖",Q1,"負",n,ki|Mr|Hr|Co);case 42:return or(t,"零一二三四五六七八九",_1,"负",n,Mr|Hr|Co);case 41:return or(t,"零壹贰叁肆伍陆柒捌玖",Q1,"负",n,ki|Mr|Hr|Co);case 26:return or(t,"〇一二三四五六七八九","十百千万",F1,n,0);case 25:return or(t,"零壱弐参四伍六七八九","拾百千万",F1,n,ki|Mr|Hr);case 31:return or(t,"영일이삼사오육칠팔구","십백천만",vd,i,ki|Mr|Hr);case 33:return or(t,"零一二三四五六七八九","十百千萬",vd,i,0);case 32:return or(t,"零壹貳參四五六七八九","拾百千",vd,i,ki|Mr|Hr);case 18:return eA(t,2406,2415,!0,r);case 20:return Ni(t,1,19999,KN,3,r);case 21:return eA(t,2790,2799,!0,r);case 22:return eA(t,2662,2671,!0,r);case 22:return Ni(t,1,10999,kN,3,r);case 23:return Mn(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Mn(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return eA(t,3302,3311,!0,r);case 28:return Mn(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Mn(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return eA(t,3792,3801,!0,r);case 37:return eA(t,6160,6169,!0,r);case 38:return eA(t,4160,4169,!0,r);case 39:return eA(t,2918,2927,!0,r);case 40:return eA(t,1776,1785,!0,r);case 43:return eA(t,3046,3055,!0,r);case 44:return eA(t,3174,3183,!0,r);case 45:return eA(t,3664,3673,!0,r);case 46:return eA(t,3872,3881,!0,r);case 3:default:return eA(t,48,57,!0,r)}},x1="data-html2canvas-ignore",E1=function(){function t(e,A,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=A,this.counters=new NN,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(e,A){var r=this,n=VN(e,A);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,o=n.contentWindow,s=o.document,l=WN(n).then(function(){return IA(r,void 0,void 0,function(){var u,f;return QA(this,function(c){switch(c.label){case 0:return this.scrolledElements.forEach(JN),o&&(o.scrollTo(A.left,A.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==A.top||o.scrollX!==A.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-A.left,o.scrollY-A.top,0,0))),u=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:c.sent(),c.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,zN(s)]:[3,4];case 3:c.sent(),c.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(s,f)}).then(function(){return n})]:[2,n]}})})});return s.open(),s.write(XN(document.doctype)+"<html></html>"),ZN(this.referenceElement.ownerDocument,i,a),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),l},t.prototype.createElementClone=function(e){if($v(e,2))debugger;if(v1(e))return this.createCanvasClone(e);if(d1(e))return this.createVideoClone(e);if(p1(e))return this.createStyleClone(e);var A=e.cloneNode(!1);return hd(A)&&(hd(e)&&e.currentSrc&&e.currentSrc!==e.src&&(A.src=e.currentSrc,A.srcset=""),A.loading==="lazy"&&(A.loading="eager")),y1(A)?this.createCustomElementClone(A):A},t.prototype.createCustomElementClone=function(e){var A=document.createElement("html2canvascustomelement");return dd(e.style,A),A},t.prototype.createStyleClone=function(e){try{var A=e.sheet;if(A&&A.cssRules){var r=[].slice.call(A.cssRules,0).reduce(function(i,a){return a&&typeof a.cssText=="string"?i+a.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},t.prototype.createCanvasClone=function(e){var A;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(A=e.getContext("webgl2"))!==null&&A!==void 0?A:e.getContext("webgl");if(o){var s=o.getContextAttributes();(s==null?void 0:s.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}a.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},t.prototype.createVideoClone=function(e){var A=e.ownerDocument.createElement("canvas");A.width=e.offsetWidth,A.height=e.offsetHeight;var r=A.getContext("2d");try{return r&&(r.drawImage(e,0,0,A.width,A.height),this.options.allowTaint||r.getImageData(0,0,A.width,A.height)),A}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},t.prototype.appendChildNode=function(e,A,r){(!Pi(A)||!PN(A)&&!A.hasAttribute(x1)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A)))&&(!this.options.copyStyles||!Pi(A)||!p1(A))&&e.appendChild(this.cloneNode(A,r))},t.prototype.cloneChildNodes=function(e,A,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Pi(i)&&B1(i)&&typeof i.assignedNodes=="function"){var a=i.assignedNodes();a.length&&a.forEach(function(o){return n.appendChildNode(A,o,r)})}else this.appendChildNode(A,i,r)},t.prototype.cloneNode=function(e,A){if(c1(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Pi(e)&&(fd(e)||Fu(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),a=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&fd(n)&&(this.clonedReferenceElement=n),cd(n)&&jN(n);var s=this.counters.parse(new k_(this.context,i)),l=this.resolvePseudoContent(e,n,a,Qo.BEFORE);y1(e)&&(A=!0),d1(e)||this.cloneChildNodes(e,n,A),l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,o,Qo.AFTER);return u&&n.appendChild(u),this.counters.pop(s),(i&&(this.options.copyStyles||Fu(e))&&!g1(e)||A)&&dd(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(xu(e)||Eu(e))&&(xu(n)||Eu(n))&&(n.value=e.value),n}return e.cloneNode(!1)},t.prototype.resolvePseudoContent=function(e,A,r,n){var i=this;if(r){var a=r.content,o=A.ownerDocument;if(!(!o||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new k_(this.context,r));var s=new MP(this.context,r),l=o.createElement("html2canvaspseudoelement");dd(r,l),s.content.forEach(function(f){if(f.type===0)l.appendChild(o.createTextNode(f.value));else if(f.type===22){var c=o.createElement("img");c.src=f.value,c.style.opacity="1",l.appendChild(c)}else if(f.type===18){if(f.name==="attr"){var h=f.values.filter(ke);h.length&&l.appendChild(o.createTextNode(e.getAttribute(h[0].value)||""))}else if(f.name==="counter"){var v=f.values.filter(Oi),d=v[0],g=v[1];if(d&&ke(d)){var p=i.counters.getCounterValue(d.value),B=g&&ke(g)?Jv.parse(i.context,g.value):3;l.appendChild(o.createTextNode(_o(p,B,!1)))}}else if(f.name==="counters"){var y=f.values.filter(Oi),d=y[0],m=y[1],g=y[2];if(d&&ke(d)){var _=i.counters.getCounterValues(d.value),C=g&&ke(g)?Jv.parse(i.context,g.value):3,Q=m&&m.type===0?m.value:"",F=_.map(function(x){return _o(x,C,!1)}).join(Q);l.appendChild(o.createTextNode(F))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(o.createTextNode(N_(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(N_(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(f.value))}}),l.className=gd+" "+pd;var u=n===Qo.BEFORE?" "+gd:" "+pd;return Fu(A)?A.className.baseValue+=u:A.className+=u,l}}},t.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},t}(),Qo;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Qo||(Qo={}));var VN=function(t,e){var A=t.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=e.width.toString(),A.height=e.height.toString(),A.scrolling="no",A.setAttribute(x1,"true"),t.body.appendChild(A),A},GN=function(t){return new Promise(function(e){if(t.complete){e();return}if(!t.src){e();return}t.onload=e,t.onerror=e})},zN=function(t){return Promise.all([].slice.call(t.images,0).map(GN))},WN=function(t){return new Promise(function(e,A){var r=t.contentWindow;if(!r)return A("No window assigned for iframe");var n=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(t))},50)}})},YN=["all","d","content"],dd=function(t,e){for(var A=t.length-1;A>=0;A--){var r=t.item(A);YN.indexOf(r)===-1&&e.style.setProperty(r,t.getPropertyValue(r))}return e},XN=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},ZN=function(t,e,A){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||A!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,A)},JN=function(t){var e=t[0],A=t[1],r=t[2];e.scrollLeft=A,e.scrollTop=r},$N=":before",qN=":after",gd="___html2canvas___pseudoelement_before",pd="___html2canvas___pseudoelement_after",U1=`{
62
+ ***************************************************************************** */var Ud=function(A,e){return Ud=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Ud(A,e)};function UA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ud(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Id=function(){return Id=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Id.apply(this,arguments)};function Rt(A,e,t,r){function n(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function o(u){try{l(r.next(u))}catch(f){a(f)}}function s(u){try{l(r.throw(u))}catch(f){a(f)}}function l(u){u.done?i(u.value):n(u.value).then(o,s)}l((r=r.apply(A,[])).next())})}function St(A,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(l){return function(u){return s([l,u])}}function s(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1],i=l;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(l);break}i[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(u){l=[6,u],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Eu(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,i;r<n;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return A.concat(i||e)}for(var pr=(function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A})(),bu=function(A,e){return pr.fromClientRect(A,e.getBoundingClientRect())},X2=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new pr(0,0,r,n)},Su=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=A.charCodeAt(t++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},at=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},O_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Z2=typeof Uint8Array>"u"?[]:new Uint8Array(256),Uu=0;Uu<O_.length;Uu++)Z2[O_.charCodeAt(Uu)]=Uu;for(var R_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Uo=typeof Uint8Array>"u"?[]:new Uint8Array(256),Iu=0;Iu<R_.length;Iu++)Uo[R_.charCodeAt(Iu)]=Iu;for(var J2=function(A){var e=A.length*.75,t=A.length,r,n=0,i,a,o,s;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)i=Uo[A.charCodeAt(r)],a=Uo[A.charCodeAt(r+1)],o=Uo[A.charCodeAt(r+2)],s=Uo[A.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},q2=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},$2=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},Jn=5,Td=11,Dd=2,j2=Td-Jn,N_=65536>>Jn,eO=1<<Jn,Ld=eO-1,tO=1024>>Jn,AO=N_+tO,rO=AO,nO=32,iO=rO+nO,aO=65536>>Td,oO=1<<j2,sO=oO-1,P_=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},lO=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},uO=function(A,e){var t=J2(A),r=Array.isArray(t)?$2(t):new Uint32Array(t),n=Array.isArray(t)?q2(t):new Uint16Array(t),i=24,a=P_(n,i/2,r[4]/2),o=r[5]===2?P_(n,(i+r[4])/2):lO(r,Math.ceil((i+r[4])/4));return new fO(r[0],r[1],r[2],r[3],a,o)},fO=(function(){function A(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Jn],t=(t<<Dd)+(e&Ld),this.data[t];if(e<=65535)return t=this.index[N_+(e-55296>>Jn)],t=(t<<Dd)+(e&Ld),this.data[t];if(e<this.highStart)return t=iO-aO+(e>>Td),t=this.index[t],t+=e>>Jn&sO,t=this.index[t],t=(t<<Dd)+(e&Ld),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),k_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cO=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tu=0;Tu<k_.length;Tu++)cO[k_.charCodeAt(Tu)]=Tu;var hO="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",V_=50,vO=1,K_=2,G_=3,dO=4,pO=5,z_=7,W_=8,Y_=9,Xr=10,Md=11,X_=12,Hd=13,gO=14,Io=15,Od=16,Du=17,To=18,BO=19,Z_=20,Rd=21,Do=22,Nd=23,Aa=24,jt=25,Lo=26,Mo=27,ra=28,mO=29,qn=30,yO=31,Lu=32,Mu=33,Pd=34,kd=35,Vd=36,Ho=37,Kd=38,Hu=39,Ou=40,Gd=41,J_=42,wO=43,CO=[9001,65288],q_="!",Ue="×",Ru="÷",zd=uO(hO),gr=[qn,Vd],Wd=[vO,K_,G_,pO],$_=[Xr,W_],j_=[Mo,Lo],_O=Wd.concat($_),eQ=[Kd,Hu,Ou,Pd,kd],QO=[Io,Hd],xO=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(i,a){var o=zd.get(i);if(o>V_?(n.push(!0),o-=V_):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(a),t.push(Od);if(o===dO||o===Md){if(a===0)return r.push(a),t.push(qn);var s=t[a-1];return _O.indexOf(s)===-1?(r.push(r[a-1]),t.push(s)):(r.push(a),t.push(qn))}if(r.push(a),o===yO)return t.push(e==="strict"?Rd:Ho);if(o===J_||o===mO)return t.push(qn);if(o===wO)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(Ho):t.push(qn);t.push(o)}),[r,t,n]},Yd=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var i=t;i<=r.length;){i++;var a=r[i];if(a===e)return!0;if(a!==Xr)break}if(n===Xr)for(var i=t;i>0;){i--;var o=r[i];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var s=t;s<=r.length;){s++;var a=r[s];if(a===e)return!0;if(a!==Xr)break}if(o!==Xr)break}return!1},tQ=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Xr)t--;else return r}return 0},FO=function(A,e,t,r,n){if(t[r]===0)return Ue;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Ue;var a=i-1,o=i+1,s=e[i],l=a>=0?e[a]:0,u=e[o];if(s===K_&&u===G_)return Ue;if(Wd.indexOf(s)!==-1)return q_;if(Wd.indexOf(u)!==-1||$_.indexOf(u)!==-1)return Ue;if(tQ(i,e)===W_)return Ru;if(zd.get(A[i])===Md||(s===Lu||s===Mu)&&zd.get(A[o])===Md||s===z_||u===z_||s===Y_||[Xr,Hd,Io].indexOf(s)===-1&&u===Y_||[Du,To,BO,Aa,ra].indexOf(u)!==-1||tQ(i,e)===Do||Yd(Nd,Do,i,e)||Yd([Du,To],Rd,i,e)||Yd(X_,X_,i,e))return Ue;if(s===Xr)return Ru;if(s===Nd||u===Nd)return Ue;if(u===Od||s===Od)return Ru;if([Hd,Io,Rd].indexOf(u)!==-1||s===gO||l===Vd&&QO.indexOf(s)!==-1||s===ra&&u===Vd||u===Z_||gr.indexOf(u)!==-1&&s===jt||gr.indexOf(s)!==-1&&u===jt||s===Mo&&[Ho,Lu,Mu].indexOf(u)!==-1||[Ho,Lu,Mu].indexOf(s)!==-1&&u===Lo||gr.indexOf(s)!==-1&&j_.indexOf(u)!==-1||j_.indexOf(s)!==-1&&gr.indexOf(u)!==-1||[Mo,Lo].indexOf(s)!==-1&&(u===jt||[Do,Io].indexOf(u)!==-1&&e[o+1]===jt)||[Do,Io].indexOf(s)!==-1&&u===jt||s===jt&&[jt,ra,Aa].indexOf(u)!==-1)return Ue;if([jt,ra,Aa,Du,To].indexOf(u)!==-1)for(var f=i;f>=0;){var c=e[f];if(c===jt)return Ue;if([ra,Aa].indexOf(c)!==-1)f--;else break}if([Mo,Lo].indexOf(u)!==-1)for(var f=[Du,To].indexOf(s)!==-1?a:i;f>=0;){var c=e[f];if(c===jt)return Ue;if([ra,Aa].indexOf(c)!==-1)f--;else break}if(Kd===s&&[Kd,Hu,Pd,kd].indexOf(u)!==-1||[Hu,Pd].indexOf(s)!==-1&&[Hu,Ou].indexOf(u)!==-1||[Ou,kd].indexOf(s)!==-1&&u===Ou||eQ.indexOf(s)!==-1&&[Z_,Lo].indexOf(u)!==-1||eQ.indexOf(u)!==-1&&s===Mo||gr.indexOf(s)!==-1&&gr.indexOf(u)!==-1||s===Aa&&gr.indexOf(u)!==-1||gr.concat(jt).indexOf(s)!==-1&&u===Do&&CO.indexOf(A[o])===-1||gr.concat(jt).indexOf(u)!==-1&&s===To)return Ue;if(s===Gd&&u===Gd){for(var h=t[i],v=1;h>0&&(h--,e[h]===Gd);)v++;if(v%2!==0)return Ue}return s===Lu&&u===Mu?Ue:Ru},EO=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=xO(A,e.lineBreak),r=t[0],n=t[1],i=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[jt,qn,J_].indexOf(o)!==-1?Ho:o}));var a=e.wordBreak==="keep-all"?i.map(function(o,s){return o&&A[s]>=19968&&A[s]<=40959}):void 0;return[r,n,a]},bO=(function(){function A(e,t,r,n){this.codePoints=e,this.required=t===q_,this.start=r,this.end=n}return A.prototype.slice=function(){return at.apply(void 0,this.codePoints.slice(this.start,this.end))},A})(),SO=function(A,e){var t=Su(A),r=EO(t,e),n=r[0],i=r[1],a=r[2],o=t.length,s=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=Ue;l<o&&(u=FO(t,i,n,++l,a))===Ue;);if(u!==Ue||l===o){var f=new bO(t,u,s,l);return s=l,{value:f,done:!1}}return{done:!0,value:null}}}},UO=1,IO=2,Oo=4,AQ=8,Nu=10,rQ=47,Ro=92,TO=9,DO=32,Pu=34,No=61,LO=35,MO=36,HO=37,ku=39,Vu=40,Po=41,OO=95,Wt=45,RO=33,NO=60,PO=62,kO=64,VO=91,KO=93,GO=61,zO=123,Ku=63,WO=125,nQ=124,YO=126,XO=128,iQ=65533,Xd=42,$n=43,ZO=44,JO=58,qO=59,ko=46,$O=0,jO=8,eR=11,tR=14,AR=31,rR=127,$A=-1,aQ=48,oQ=97,sQ=101,nR=102,iR=117,aR=122,lQ=65,uQ=69,fQ=70,oR=85,sR=90,Ut=function(A){return A>=aQ&&A<=57},lR=function(A){return A>=55296&&A<=57343},na=function(A){return Ut(A)||A>=lQ&&A<=fQ||A>=oQ&&A<=nR},uR=function(A){return A>=oQ&&A<=aR},fR=function(A){return A>=lQ&&A<=sR},cR=function(A){return uR(A)||fR(A)},hR=function(A){return A>=XO},Gu=function(A){return A===Nu||A===TO||A===DO},zu=function(A){return cR(A)||hR(A)||A===OO},cQ=function(A){return zu(A)||Ut(A)||A===Wt},vR=function(A){return A>=$O&&A<=jO||A===eR||A>=tR&&A<=AR||A===rR},Zr=function(A,e){return A!==Ro?!1:e!==Nu},Wu=function(A,e,t){return A===Wt?zu(e)||Zr(e,t):zu(A)?!0:!!(A===Ro&&Zr(A,e))},Zd=function(A,e,t){return A===$n||A===Wt?Ut(e)?!0:e===ko&&Ut(t):Ut(A===ko?e:A)},dR=function(A){var e=0,t=1;(A[e]===$n||A[e]===Wt)&&(A[e]===Wt&&(t=-1),e++);for(var r=[];Ut(A[e]);)r.push(A[e++]);var n=r.length?parseInt(at.apply(void 0,r),10):0;A[e]===ko&&e++;for(var i=[];Ut(A[e]);)i.push(A[e++]);var a=i.length,o=a?parseInt(at.apply(void 0,i),10):0;(A[e]===uQ||A[e]===sQ)&&e++;var s=1;(A[e]===$n||A[e]===Wt)&&(A[e]===Wt&&(s=-1),e++);for(var l=[];Ut(A[e]);)l.push(A[e++]);var u=l.length?parseInt(at.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-a))*Math.pow(10,s*u)},pR={type:2},gR={type:3},BR={type:4},mR={type:13},yR={type:8},wR={type:21},CR={type:9},_R={type:10},QR={type:11},xR={type:12},FR={type:14},Yu={type:23},ER={type:1},bR={type:25},SR={type:24},UR={type:26},IR={type:27},TR={type:28},DR={type:29},LR={type:31},Jd={type:32},hQ=(function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Su(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Jd;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Pu:return this.consumeStringToken(Pu);case LO:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(cQ(t)||Zr(r,n)){var i=Wu(t,r,n)?IO:UO,a=this.consumeName();return{type:5,value:a,flags:i}}break;case MO:if(this.peekCodePoint(0)===No)return this.consumeCodePoint(),mR;break;case ku:return this.consumeStringToken(ku);case Vu:return pR;case Po:return gR;case Xd:if(this.peekCodePoint(0)===No)return this.consumeCodePoint(),FR;break;case $n:if(Zd(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case ZO:return BR;case Wt:var o=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Zd(o,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Wu(o,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===Wt&&l===PO)return this.consumeCodePoint(),this.consumeCodePoint(),SR;break;case ko:if(Zd(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case rQ:if(this.peekCodePoint(0)===Xd)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===Xd&&(u=this.consumeCodePoint(),u===rQ))return this.consumeToken();if(u===$A)return this.consumeToken()}break;case JO:return UR;case qO:return IR;case NO:if(this.peekCodePoint(0)===RO&&this.peekCodePoint(1)===Wt&&this.peekCodePoint(2)===Wt)return this.consumeCodePoint(),this.consumeCodePoint(),bR;break;case kO:var f=this.peekCodePoint(0),c=this.peekCodePoint(1),h=this.peekCodePoint(2);if(Wu(f,c,h)){var a=this.consumeName();return{type:7,value:a}}break;case VO:return TR;case Ro:if(Zr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case KO:return DR;case GO:if(this.peekCodePoint(0)===No)return this.consumeCodePoint(),yR;break;case zO:return QR;case WO:return xR;case iR:case oR:var v=this.peekCodePoint(0),d=this.peekCodePoint(1);return v===$n&&(na(d)||d===Ku)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case nQ:if(this.peekCodePoint(0)===No)return this.consumeCodePoint(),CR;if(this.peekCodePoint(0)===nQ)return this.consumeCodePoint(),wR;break;case YO:if(this.peekCodePoint(0)===No)return this.consumeCodePoint(),_R;break;case $A:return Jd}return Gu(e)?(this.consumeWhiteSpace(),LR):Ut(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):zu(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:at(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();na(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Ku&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(at.apply(void 0,e.map(function(s){return s===Ku?aQ:s})),16),i=parseInt(at.apply(void 0,e.map(function(s){return s===Ku?fQ:s})),16);return{type:30,start:n,end:i}}var a=parseInt(at.apply(void 0,e),16);if(this.peekCodePoint(0)===Wt&&na(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];na(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var i=parseInt(at.apply(void 0,o),16);return{type:30,start:a,end:i}}else return{type:30,start:a,end:a}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Vu?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Vu?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===ku||t===Pu){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Po)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Yu)}for(;;){var n=this.consumeCodePoint();if(n===$A||n===Po)return{type:22,value:at.apply(void 0,e)};if(Gu(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Po?(this.consumeCodePoint(),{type:22,value:at.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Yu);if(n===Pu||n===ku||n===Vu||vR(n))return this.consumeBadUrlRemnants(),Yu;if(n===Ro)if(Zr(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Yu;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Gu(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Po||e===$A)return;Zr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=at.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===$A||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Nu)return this._value.splice(0,r),ER;if(n===Ro){var i=this._value[r+1];i!==$A&&i!==void 0&&(i===Nu?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Zr(n,i)&&(t+=this.consumeStringSlice(r),t+=at(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Oo,r=this.peekCodePoint(0);for((r===$n||r===Wt)&&e.push(this.consumeCodePoint());Ut(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===ko&&Ut(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=AQ;Ut(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===uQ||r===sQ)&&((n===$n||n===Wt)&&Ut(i)||Ut(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=AQ;Ut(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[dR(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(Wu(n,i,a)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===HO?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(na(e)){for(var t=at(e);na(this.peekCodePoint(0))&&t.length<6;)t+=at(this.consumeCodePoint());Gu(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||lR(r)||r>1114111?iQ:r}return e===$A?iQ:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(cQ(t))e+=at(t);else if(Zr(t,this.peekCodePoint(0)))e+=at(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A})(),vQ=(function(){function A(e){this._tokens=e}return A.create=function(e){var t=new hQ;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||HR(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Jd:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A})(),Vo=function(A){return A.type===15},ia=function(A){return A.type===17},ze=function(A){return A.type===20},MR=function(A){return A.type===0},qd=function(A,e){return ze(A)&&A.value===e},dQ=function(A){return A.type!==31},aa=function(A){return A.type!==31&&A.type!==4},jA=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},HR=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Jr=function(A){return A.type===17||A.type===15},ut=function(A){return A.type===16||Jr(A)},pQ=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},wt={type:17,number:0,flags:Oo},$d={type:16,number:50,flags:Oo},qr={type:16,number:100,flags:Oo},Ko=function(A,e,t){var r=A[0],n=A[1];return[Ze(r,e),Ze(typeof n<"u"?n:r,t)]},Ze=function(A,e){if(A.type===16)return A.number/100*e;if(Vo(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},gQ="deg",BQ="grad",mQ="rad",yQ="turn",Xu={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case gQ:return Math.PI*e.number/180;case BQ:return Math.PI/200*e.number;case mQ:return e.number;case yQ:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},wQ=function(A){return A.type===15&&(A.unit===gQ||A.unit===BQ||A.unit===mQ||A.unit===yQ)},CQ=function(A){var e=A.filter(ze).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[wt,wt];case"to top":case"bottom":return vA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[wt,qr];case"to right":case"left":return vA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[qr,qr];case"to bottom":case"top":return vA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[qr,wt];case"to left":case"right":return vA(270)}return 0},vA=function(A){return Math.PI*A/180},$r={name:"color",parse:function(A,e){if(e.type===18){var t=OR[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return en(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),a=e.value.substring(3,4);return en(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return en(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),a=e.value.substring(6,8);return en(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(e.type===20){var o=Br[e.value.toUpperCase()];if(typeof o<"u")return o}return Br.TRANSPARENT}},jr=function(A){return(255&A)===0},mt=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},en=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},_Q=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},QQ=function(A,e){var t=e.filter(aa);if(t.length===3){var r=t.map(_Q),n=r[0],i=r[1],a=r[2];return en(n,i,a,1)}if(t.length===4){var o=t.map(_Q),n=o[0],i=o[1],a=o[2],s=o[3];return en(n,i,a,s)}return 0};function jd(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var xQ=function(A,e){var t=e.filter(aa),r=t[0],n=t[1],i=t[2],a=t[3],o=(r.type===17?vA(r.number):Xu.parse(A,r))/(Math.PI*2),s=ut(n)?n.number/100:0,l=ut(i)?i.number/100:0,u=typeof a<"u"&&ut(a)?Ze(a,1):1;if(s===0)return en(l*255,l*255,l*255,1);var f=l<=.5?l*(s+1):l+s-l*s,c=l*2-f,h=jd(c,f,o+1/3),v=jd(c,f,o),d=jd(c,f,o-1/3);return en(h*255,v*255,d*255,u)},OR={hsl:xQ,hsla:xQ,rgb:QQ,rgba:QQ},Go=function(A,e){return $r.parse(A,vQ.create(e).parseComponentValue())},Br={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},RR={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(ze(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},NR={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Zu=function(A,e){var t=$r.parse(A,e[0]),r=e[1];return r&&ut(r)?{color:t,stop:r}:{color:t,stop:null}},FQ=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=wt),r.stop===null&&(r.stop=qr);for(var n=[],i=0,a=0;a<A.length;a++){var o=A[a].stop;if(o!==null){var s=Ze(o,e);s>i?n.push(s):n.push(i),i=s}else n.push(null)}for(var l=null,a=0;a<n.length;a++){var u=n[a];if(u===null)l===null&&(l=a);else if(l!==null){for(var f=a-l,c=n[l-1],h=(u-c)/(f+1),v=1;v<=f;v++)n[l+v-1]=h*v;l=null}}return A.map(function(d,g){var p=d.color;return{color:p,stop:Math.max(Math.min(1,n[g]/e),0)}})},PR=function(A,e,t){var r=e/2,n=t/2,i=Ze(A[0],e)-r,a=n-Ze(A[1],t);return(Math.atan2(a,i)+Math.PI*2)%(Math.PI*2)},kR=function(A,e,t){var r=typeof A=="number"?A:PR(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),i=e/2,a=t/2,o=n/2,s=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,i-l,i+l,a-s,a+s]},IA=function(A,e){return Math.sqrt(A*A+e*e)},EQ=function(A,e,t,r,n){var i=[[0,0],[0,e],[A,0],[A,e]];return i.reduce(function(a,o){var s=o[0],l=o[1],u=IA(t-s,r-l);return(n?u<a.optimumDistance:u>a.optimumDistance)?{optimumCorner:o,optimumDistance:u}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},VR=function(A,e,t,r,n){var i=0,a=0;switch(A.size){case 0:A.shape===0?i=a=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),a=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)i=a=Math.min(IA(e,t),IA(e,t-n),IA(e-r,t),IA(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),s=EQ(r,n,e,t,!0),l=s[0],u=s[1];i=IA(l-e,(u-t)/o),a=o*i}break;case 1:A.shape===0?i=a=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),a=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)i=a=Math.max(IA(e,t),IA(e,t-n),IA(e-r,t),IA(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=EQ(r,n,e,t,!1),l=f[0],u=f[1];i=IA(l-e,(u-t)/o),a=o*i}break}return Array.isArray(A.size)&&(i=Ze(A.size[0],r),a=A.size.length===2?Ze(A.size[1],n):i),[i,a]},KR=function(A,e){var t=vA(180),r=[];return jA(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&a.value==="to"){t=CQ(n);return}else if(wQ(a)){t=Xu.parse(A,a);return}}var o=Zu(A,n);r.push(o)}),{angle:t,stops:r,type:1}},Ju=function(A,e){var t=vA(180),r=[];return jA(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){t=CQ(n);return}else if(wQ(a)){t=(Xu.parse(A,a)+vA(270))%vA(360);return}}var o=Zu(A,n);r.push(o)}),{angle:t,stops:r,type:1}},GR=function(A,e){var t=vA(180),r=[],n=1,i=0,a=3,o=[];return jA(e).forEach(function(s,l){var u=s[0];if(l===0){if(ze(u)&&u.value==="linear"){n=1;return}else if(ze(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){var f=$r.parse(A,u.values[0]);r.push({stop:wt,color:f})}else if(u.name==="to"){var f=$r.parse(A,u.values[0]);r.push({stop:qr,color:f})}else if(u.name==="color-stop"){var c=u.values.filter(aa);if(c.length===2){var f=$r.parse(A,c[1]),h=c[0];ia(h)&&r.push({stop:{type:16,number:h.number*100,flags:h.flags},color:f})}}}}),n===1?{angle:(t+vA(180))%vA(360),stops:r,type:n}:{size:a,shape:i,stops:r,position:o,type:n}},bQ="closest-side",SQ="farthest-side",UQ="closest-corner",IQ="farthest-corner",TQ="circle",DQ="ellipse",LQ="cover",MQ="contain",zR=function(A,e){var t=0,r=3,n=[],i=[];return jA(e).forEach(function(a,o){var s=!0;if(o===0){var l=!1;s=a.reduce(function(f,c){if(l)if(ze(c))switch(c.value){case"center":return i.push($d),f;case"top":case"left":return i.push(wt),f;case"right":case"bottom":return i.push(qr),f}else(ut(c)||Jr(c))&&i.push(c);else if(ze(c))switch(c.value){case TQ:return t=0,!1;case DQ:return t=1,!1;case"at":return l=!0,!1;case bQ:return r=0,!1;case LQ:case SQ:return r=1,!1;case MQ:case UQ:return r=2,!1;case IQ:return r=3,!1}else if(Jr(c)||ut(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return f},s)}if(s){var u=Zu(A,a);n.push(u)}}),{size:r,shape:t,stops:n,position:i,type:2}},qu=function(A,e){var t=0,r=3,n=[],i=[];return jA(e).forEach(function(a,o){var s=!0;if(o===0?s=a.reduce(function(u,f){if(ze(f))switch(f.value){case"center":return i.push($d),!1;case"top":case"left":return i.push(wt),!1;case"right":case"bottom":return i.push(qr),!1}else if(ut(f)||Jr(f))return i.push(f),!1;return u},s):o===1&&(s=a.reduce(function(u,f){if(ze(f))switch(f.value){case TQ:return t=0,!1;case DQ:return t=1,!1;case MQ:case bQ:return r=0,!1;case SQ:return r=1,!1;case UQ:return r=2,!1;case LQ:case IQ:return r=3,!1}else if(Jr(f)||ut(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},s)),s){var l=Zu(A,a);n.push(l)}}),{size:r,shape:t,stops:n,position:i,type:2}},WR=function(A){return A.type===1},YR=function(A){return A.type===2},ep={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=HQ[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function XR(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!HQ[A.name])}var HQ={"linear-gradient":KR,"-moz-linear-gradient":Ju,"-ms-linear-gradient":Ju,"-o-linear-gradient":Ju,"-webkit-linear-gradient":Ju,"radial-gradient":zR,"-moz-radial-gradient":qu,"-ms-radial-gradient":qu,"-o-radial-gradient":qu,"-webkit-radial-gradient":qu,"-webkit-gradient":GR},ZR={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return aa(r)&&XR(r)}).map(function(r){return ep.parse(A,r)})}},JR={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(ze(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qR={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return jA(e).map(function(t){return t.filter(ut)}).map(pQ)}},$R={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return jA(e).map(function(t){return t.filter(ze).map(function(r){return r.value}).join(" ")}).map(jR)}},jR=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},oa;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(oa||(oa={}));var eN={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return jA(e).map(function(t){return t.filter(tN)})}},tN=function(A){return ze(A)||ut(A)},$u=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},AN=$u("top"),rN=$u("right"),nN=$u("bottom"),iN=$u("left"),ju=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return pQ(t.filter(ut))}}},aN=ju("top-left"),oN=ju("top-right"),sN=ju("bottom-right"),lN=ju("bottom-left"),ef=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},uN=ef("top"),fN=ef("right"),cN=ef("bottom"),hN=ef("left"),tf=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Vo(t)?t.number:0}}},vN=tf("top"),dN=tf("right"),pN=tf("bottom"),gN=tf("left"),BN={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},mN={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},yN={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(ze).reduce(function(t,r){return t|wN(r.value)},0)}},wN=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},CN={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},_N={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Af;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Af||(Af={}));var QN={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Af.STRICT;case"normal":default:return Af.NORMAL}}},xN={name:"line-height",initialValue:"normal",prefix:!1,type:4},OQ=function(A,e){return ze(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:ut(A)?Ze(A,e):e},FN={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:ep.parse(A,e)}},EN={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},tp={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},rf=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},bN=rf("top"),SN=rf("right"),UN=rf("bottom"),IN=rf("left"),TN={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(ze).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},DN={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},nf=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},LN=nf("top"),MN=nf("right"),HN=nf("bottom"),ON=nf("left"),RN={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},NN={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},PN={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&qd(e[0],"none")?[]:jA(e).map(function(t){for(var r={color:Br.TRANSPARENT,offsetX:wt,offsetY:wt,blur:wt},n=0,i=0;i<t.length;i++){var a=t[i];Jr(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=$r.parse(A,a)}return r})}},kN={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},VN={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=zN[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},KN=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},GN=function(A){var e=A.filter(function(s){return s.type===17}).map(function(s){return s.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var a=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,i,a,o]:null},zN={matrix:KN,matrix3d:GN},RQ={type:16,number:50,flags:Oo},WN=[RQ,RQ],YN={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(ut);return t.length!==2?WN:[t[0],t[1]]}},XN={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},zo;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(zo||(zo={}));for(var ZN={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return zo.BREAK_ALL;case"keep-all":return zo.KEEP_ALL;case"normal":default:return zo.NORMAL}}},JN={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(ia(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},NQ={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},qN={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return ia(e)?e.number:1}},$N={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jN={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(ze).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},eP={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},tP={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},AP={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(ia(e))return e.number;if(ze(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},rP={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(ze).map(function(t){return t.value})}},nP={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ht=function(A,e){return(A&e)!==0},iP={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},aP={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(dQ),i=0;i<n.length;i++){var a=n[i],o=n[i+1];if(a.type===20){var s=o&&ia(o)?o.number:1;r.push({counter:a.value,increment:s})}}return r}},oP={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(dQ),n=0;n<r.length;n++){var i=r[n],a=r[n+1];if(ze(i)&&i.value!=="none"){var o=a&&ia(a)?a.number:0;t.push({counter:i.value,reset:o})}}return t}},sP={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Vo).map(function(t){return NQ.parse(A,t)})}},lP={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(MR);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var a=n[i].value,o=n[i+1].value;r.push({open:a,close:o})}return r}},PQ=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},uP={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&qd(e[0],"none")?[]:jA(e).map(function(t){for(var r={color:255,offsetX:wt,offsetY:wt,blur:wt,spread:wt,inset:!1},n=0,i=0;i<t.length;i++){var a=t[i];qd(a,"inset")?r.inset=!0:Jr(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=$r.parse(A,a)}return r})}},fP={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(ze).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},cP={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},hP={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Vo(e)?e.number:0}},vP=(function(){function A(e,t){var r,n;this.animationDuration=te(e,sP,t.animationDuration),this.backgroundClip=te(e,RR,t.backgroundClip),this.backgroundColor=te(e,NR,t.backgroundColor),this.backgroundImage=te(e,ZR,t.backgroundImage),this.backgroundOrigin=te(e,JR,t.backgroundOrigin),this.backgroundPosition=te(e,qR,t.backgroundPosition),this.backgroundRepeat=te(e,$R,t.backgroundRepeat),this.backgroundSize=te(e,eN,t.backgroundSize),this.borderTopColor=te(e,AN,t.borderTopColor),this.borderRightColor=te(e,rN,t.borderRightColor),this.borderBottomColor=te(e,nN,t.borderBottomColor),this.borderLeftColor=te(e,iN,t.borderLeftColor),this.borderTopLeftRadius=te(e,aN,t.borderTopLeftRadius),this.borderTopRightRadius=te(e,oN,t.borderTopRightRadius),this.borderBottomRightRadius=te(e,sN,t.borderBottomRightRadius),this.borderBottomLeftRadius=te(e,lN,t.borderBottomLeftRadius),this.borderTopStyle=te(e,uN,t.borderTopStyle),this.borderRightStyle=te(e,fN,t.borderRightStyle),this.borderBottomStyle=te(e,cN,t.borderBottomStyle),this.borderLeftStyle=te(e,hN,t.borderLeftStyle),this.borderTopWidth=te(e,vN,t.borderTopWidth),this.borderRightWidth=te(e,dN,t.borderRightWidth),this.borderBottomWidth=te(e,pN,t.borderBottomWidth),this.borderLeftWidth=te(e,gN,t.borderLeftWidth),this.boxShadow=te(e,uP,t.boxShadow),this.color=te(e,BN,t.color),this.direction=te(e,mN,t.direction),this.display=te(e,yN,t.display),this.float=te(e,CN,t.cssFloat),this.fontFamily=te(e,eP,t.fontFamily),this.fontSize=te(e,tP,t.fontSize),this.fontStyle=te(e,nP,t.fontStyle),this.fontVariant=te(e,rP,t.fontVariant),this.fontWeight=te(e,AP,t.fontWeight),this.letterSpacing=te(e,_N,t.letterSpacing),this.lineBreak=te(e,QN,t.lineBreak),this.lineHeight=te(e,xN,t.lineHeight),this.listStyleImage=te(e,FN,t.listStyleImage),this.listStylePosition=te(e,EN,t.listStylePosition),this.listStyleType=te(e,tp,t.listStyleType),this.marginTop=te(e,bN,t.marginTop),this.marginRight=te(e,SN,t.marginRight),this.marginBottom=te(e,UN,t.marginBottom),this.marginLeft=te(e,IN,t.marginLeft),this.opacity=te(e,qN,t.opacity);var i=te(e,TN,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=te(e,DN,t.overflowWrap),this.paddingTop=te(e,LN,t.paddingTop),this.paddingRight=te(e,MN,t.paddingRight),this.paddingBottom=te(e,HN,t.paddingBottom),this.paddingLeft=te(e,ON,t.paddingLeft),this.paintOrder=te(e,fP,t.paintOrder),this.position=te(e,NN,t.position),this.textAlign=te(e,RN,t.textAlign),this.textDecorationColor=te(e,$N,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=te(e,jN,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=te(e,PN,t.textShadow),this.textTransform=te(e,kN,t.textTransform),this.transform=te(e,VN,t.transform),this.transformOrigin=te(e,YN,t.transformOrigin),this.visibility=te(e,XN,t.visibility),this.webkitTextStrokeColor=te(e,cP,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=te(e,hP,t.webkitTextStrokeWidth),this.wordBreak=te(e,ZN,t.wordBreak),this.zIndex=te(e,JN,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return jr(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return ht(this.display,4)||ht(this.display,33554432)||ht(this.display,268435456)||ht(this.display,536870912)||ht(this.display,67108864)||ht(this.display,134217728)},A})(),dP=(function(){function A(e,t){this.content=te(e,iP,t.content),this.quotes=te(e,lP,t.quotes)}return A})(),kQ=(function(){function A(e,t){this.counterIncrement=te(e,aP,t.counterIncrement),this.counterReset=te(e,oP,t.counterReset)}return A})(),te=function(A,e,t){var r=new hQ,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var i=new vQ(r.read());switch(e.type){case 2:var a=i.parseComponentValue();return e.parse(A,ze(a)?a.value:e.initialValue);case 0:return e.parse(A,i.parseComponentValue());case 1:return e.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return Xu.parse(A,i.parseComponentValue());case"color":return $r.parse(A,i.parseComponentValue());case"image":return ep.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Jr(o)?o:wt;case"length-percentage":var s=i.parseComponentValue();return ut(s)?s:wt;case"time":return NQ.parse(A,i.parseComponentValue())}break}},pP="data-html2canvas-debug",gP=function(A){var e=A.getAttribute(pP);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ap=function(A,e){var t=gP(A);return t===1||e===t},er=(function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Ap(t,3))debugger;this.styles=new vP(e,window.getComputedStyle(t,null)),pp(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=bu(this.context,t),Ap(t,4)&&(this.flags|=16)}return A})(),BP="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",VQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wo=typeof Uint8Array>"u"?[]:new Uint8Array(256),af=0;af<VQ.length;af++)Wo[VQ.charCodeAt(af)]=af;for(var mP=function(A){var e=A.length*.75,t=A.length,r,n=0,i,a,o,s;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)i=Wo[A.charCodeAt(r)],a=Wo[A.charCodeAt(r+1)],o=Wo[A.charCodeAt(r+2)],s=Wo[A.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},yP=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},wP=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},jn=5,rp=11,np=2,CP=rp-jn,KQ=65536>>jn,_P=1<<jn,ip=_P-1,QP=1024>>jn,xP=KQ+QP,FP=xP,EP=32,bP=FP+EP,SP=65536>>rp,UP=1<<CP,IP=UP-1,GQ=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},TP=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},DP=function(A,e){var t=mP(A),r=Array.isArray(t)?wP(t):new Uint32Array(t),n=Array.isArray(t)?yP(t):new Uint16Array(t),i=24,a=GQ(n,i/2,r[4]/2),o=r[5]===2?GQ(n,(i+r[4])/2):TP(r,Math.ceil((i+r[4])/4));return new LP(r[0],r[1],r[2],r[3],a,o)},LP=(function(){function A(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>jn],t=(t<<np)+(e&ip),this.data[t];if(e<=65535)return t=this.index[KQ+(e-55296>>jn)],t=(t<<np)+(e&ip),this.data[t];if(e<this.highStart)return t=bP-SP+(e>>rp),t=this.index[t],t+=e>>jn&IP,t=this.index[t],t=(t<<np)+(e&ip),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),zQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",MP=typeof Uint8Array>"u"?[]:new Uint8Array(256),of=0;of<zQ.length;of++)MP[zQ.charCodeAt(of)]=of;var HP=1,ap=2,op=3,WQ=4,YQ=5,OP=7,XQ=8,sp=9,lp=10,ZQ=11,JQ=12,qQ=13,$Q=14,up=15,RP=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=A.charCodeAt(t++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},NP=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},PP=DP(BP),dA="×",fp="÷",kP=function(A){return PP.get(A)},VP=function(A,e,t){var r=t-2,n=e[r],i=e[t-1],a=e[t];if(i===ap&&a===op)return dA;if(i===ap||i===op||i===WQ||a===ap||a===op||a===WQ)return fp;if(i===XQ&&[XQ,sp,ZQ,JQ].indexOf(a)!==-1||(i===ZQ||i===sp)&&(a===sp||a===lp)||(i===JQ||i===lp)&&a===lp||a===qQ||a===YQ||a===OP||i===HP)return dA;if(i===qQ&&a===$Q){for(;n===YQ;)n=e[--r];if(n===$Q)return dA}if(i===up&&a===up){for(var o=0;n===up;)o++,n=e[--r];if(o%2===0)return dA}return fp},KP=function(A){var e=RP(A),t=e.length,r=0,n=0,i=e.map(kP);return{next:function(){if(r>=t)return{done:!0,value:null};for(var a=dA;r<t&&(a=VP(e,i,++r))===dA;);if(a!==dA||r===t){var o=NP.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},GP=function(A){for(var e=KP(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},zP=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),i=Math.round(n.height);if(A.body.removeChild(r),i===e)return!0}}return!1},WP=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Su(r.data).map(function(s){return at(s)}),i=0,a={},o=n.every(function(s,l){t.setStart(r,i),t.setEnd(r,i+s.length);var u=t.getBoundingClientRect();i+=s.length;var f=u.x>a.x||u.y>a.y;return a=u,l===0?!0:f});return A.body.removeChild(e),o},YP=function(){return typeof new Image().crossOrigin<"u"},XP=function(){return typeof new XMLHttpRequest().responseType=="string"},ZP=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},jQ=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},JP=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=e.toDataURL();n.src=i;var a=cp(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),e1(a).then(function(o){r.drawImage(o,0,0);var s=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=t+"px",jQ(s)?e1(cp(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),jQ(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},cp=function(A,e,t,r,n){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(o),o.appendChild(n),a},e1=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Ct={get SUPPORT_RANGE_BOUNDS(){var A=zP(document);return Object.defineProperty(Ct,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Ct.SUPPORT_RANGE_BOUNDS&&WP(document);return Object.defineProperty(Ct,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=ZP(document);return Object.defineProperty(Ct,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?JP(document):Promise.resolve(!1);return Object.defineProperty(Ct,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=YP();return Object.defineProperty(Ct,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=XP();return Object.defineProperty(Ct,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ct,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ct,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Yo=(function(){function A(e,t){this.text=e,this.bounds=t}return A})(),qP=function(A,e,t,r){var n=e4(e,t),i=[],a=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(Ct.SUPPORT_RANGE_BOUNDS){var s=t1(r,a,o.length).getClientRects();if(s.length>1){var l=hp(o),u=0;l.forEach(function(c){i.push(new Yo(c,pr.fromDOMRectList(A,t1(r,u+a,c.length).getClientRects()))),u+=c.length})}else i.push(new Yo(o,pr.fromDOMRectList(A,s)))}else{var f=r.splitText(o.length);i.push(new Yo(o,$P(A,r))),r=f}else Ct.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));a+=o.length}),i},$P=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=bu(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return pr.EMPTY},t1=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},hp=function(A){if(Ct.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return GP(A)},jP=function(A,e){if(Ct.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return A4(A,e)},e4=function(A,e){return e.letterSpacing!==0?hp(A):jP(A,e)},t4=[32,160,4961,65792,65793,4153,4241],A4=function(A,e){for(var t=SO(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var a=n.value.slice(),o=Su(a),s="";o.forEach(function(l){t4.indexOf(l)===-1?s+=at(l):(s.length&&r.push(s),r.push(at(l)),s="")}),s.length&&r.push(s)}};!(n=t.next()).done;)i();return r},r4=(function(){function A(e,t,r){this.text=n4(t.data,r.textTransform),this.textBounds=qP(e,this.text,r,t)}return A})(),n4=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(i4,a4);case 2:return A.toUpperCase();default:return A}},i4=/(^|\s|:|-|\(|\))([a-z])/g,a4=function(A,e,t){return A.length>0?e+t.toUpperCase():A},A1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e})(er),r1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e})(er),n1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=new XMLSerializer,a=bu(t,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e})(er),i1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(er),vp=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e})(er),o4=[{type:15,flags:0,unit:"px",number:3}],s4=[{type:16,flags:0,number:50}],l4=function(A){return A.width>A.height?new pr(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new pr(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},u4=function(A){var e=A.type===f4?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},sf="checkbox",lf="radio",f4="password",a1=707406591,dp=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=u4(r),(n.type===sf||n.type===lf)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=l4(n.bounds)),n.type){case sf:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=o4;break;case lf:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=s4;break}return n}return e})(er),o1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return e})(er),s1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(er),l1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=f1(t,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Go(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Br.TRANSPARENT,a=r.contentWindow.document.body?Go(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):Br.TRANSPARENT;n.backgroundColor=jr(i)?jr(a)?n.styles.backgroundColor:a:i}}catch{}return n}return e})(er),c4=["OL","UL","MENU"],uf=function(A,e,t,r){for(var n=e.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,c1(n)&&n.data.trim().length>0)t.textNodes.push(new r4(A,n,t.styles));else if(sa(n))if(B1(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return uf(A,o,t,r)});else{var a=u1(A,n);a.styles.isVisible()&&(h4(n,a,r)?a.flags|=4:v4(a.styles)&&(a.flags|=2),c4.indexOf(n.tagName)!==-1&&(a.flags|=8),t.elements.push(a),n.slot,n.shadowRoot?uf(A,n.shadowRoot,a,r):!cf(n)&&!h1(n)&&!hf(n)&&uf(A,n,a,r))}},u1=function(A,e){return Bp(e)?new A1(A,e):v1(e)?new r1(A,e):h1(e)?new n1(A,e):d4(e)?new i1(A,e):p4(e)?new vp(A,e):g4(e)?new dp(A,e):hf(e)?new o1(A,e):cf(e)?new s1(A,e):p1(e)?new l1(A,e):new er(A,e)},f1=function(A,e){var t=u1(A,e);return t.flags|=4,uf(A,e,t,t),t},h4=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||gp(A)&&t.styles.isTransparent()},v4=function(A){return A.isPositioned()||A.isFloating()},c1=function(A){return A.nodeType===Node.TEXT_NODE},sa=function(A){return A.nodeType===Node.ELEMENT_NODE},pp=function(A){return sa(A)&&typeof A.style<"u"&&!ff(A)},ff=function(A){return typeof A.className=="object"},d4=function(A){return A.tagName==="LI"},p4=function(A){return A.tagName==="OL"},g4=function(A){return A.tagName==="INPUT"},B4=function(A){return A.tagName==="HTML"},h1=function(A){return A.tagName==="svg"},gp=function(A){return A.tagName==="BODY"},v1=function(A){return A.tagName==="CANVAS"},d1=function(A){return A.tagName==="VIDEO"},Bp=function(A){return A.tagName==="IMG"},p1=function(A){return A.tagName==="IFRAME"},g1=function(A){return A.tagName==="STYLE"},m4=function(A){return A.tagName==="SCRIPT"},cf=function(A){return A.tagName==="TEXTAREA"},hf=function(A){return A.tagName==="SELECT"},B1=function(A){return A.tagName==="SLOT"},m1=function(A){return A.tagName.indexOf("-")>0},y4=(function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(o){var s=t.counters[o.counter];s&&o.increment!==0&&(i=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=o.increment)});var a=[];return i&&n.forEach(function(o){var s=t.counters[o.counter];a.push(o.counter),s||(s=t.counters[o.counter]=[]),s.push(o.reset)}),a},A})(),y1={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},w1={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},w4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},C4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},la=function(A,e,t,r,n,i){return A<e||A>t?Zo(A,n,i.length>0):r.integers.reduce(function(a,o,s){for(;A>=o;)A-=o,a+=r.values[s];return a},"")+i},C1=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},ot=function(A,e,t,r,n){var i=t-e+1;return(A<0?"-":"")+(C1(Math.abs(A),i,r,function(a){return at(Math.floor(a%i)+e)})+n)},ei=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return C1(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},ua=1,tn=2,An=4,Xo=8,mr=function(A,e,t,r,n,i){if(A<-9999||A>9999)return Zo(A,4,n.length>0);var a=Math.abs(A),o=n;if(a===0)return e[0]+o;for(var s=0;a>0&&s<=4;s++){var l=a%10;l===0&&ht(i,ua)&&o!==""?o=e[l]+o:l>1||l===1&&s===0||l===1&&s===1&&ht(i,tn)||l===1&&s===1&&ht(i,An)&&A>100||l===1&&s>1&&ht(i,Xo)?o=e[l]+(s>0?t[s-1]:"")+o:l===1&&s>0&&(o=t[s-1]+o),a=Math.floor(a/10)}return(A<0?r:"")+o},_1="十百千萬",Q1="拾佰仟萬",x1="マイナス",mp="마이너스",Zo=function(A,e,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",a=t?" ":"";switch(e){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var o=ot(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return ei(A,"〇一二三四五六七八九",n);case 6:return la(A,1,3999,y1,3,r).toLowerCase();case 7:return la(A,1,3999,y1,3,r);case 8:return ot(A,945,969,!1,r);case 9:return ot(A,97,122,!1,r);case 10:return ot(A,65,90,!1,r);case 11:return ot(A,1632,1641,!0,r);case 12:case 49:return la(A,1,9999,w1,3,r);case 35:return la(A,1,9999,w1,3,r).toLowerCase();case 13:return ot(A,2534,2543,!0,r);case 14:case 30:return ot(A,6112,6121,!0,r);case 15:return ei(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ei(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return mr(A,"零一二三四五六七八九",_1,"負",n,tn|An|Xo);case 47:return mr(A,"零壹貳參肆伍陸柒捌玖",Q1,"負",n,ua|tn|An|Xo);case 42:return mr(A,"零一二三四五六七八九",_1,"负",n,tn|An|Xo);case 41:return mr(A,"零壹贰叁肆伍陆柒捌玖",Q1,"负",n,ua|tn|An|Xo);case 26:return mr(A,"〇一二三四五六七八九","十百千万",x1,n,0);case 25:return mr(A,"零壱弐参四伍六七八九","拾百千万",x1,n,ua|tn|An);case 31:return mr(A,"영일이삼사오육칠팔구","십백천만",mp,i,ua|tn|An);case 33:return mr(A,"零一二三四五六七八九","十百千萬",mp,i,0);case 32:return mr(A,"零壹貳參四五六七八九","拾百千",mp,i,ua|tn|An);case 18:return ot(A,2406,2415,!0,r);case 20:return la(A,1,19999,C4,3,r);case 21:return ot(A,2790,2799,!0,r);case 22:return ot(A,2662,2671,!0,r);case 22:return la(A,1,10999,w4,3,r);case 23:return ei(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ei(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ot(A,3302,3311,!0,r);case 28:return ei(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ei(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ot(A,3792,3801,!0,r);case 37:return ot(A,6160,6169,!0,r);case 38:return ot(A,4160,4169,!0,r);case 39:return ot(A,2918,2927,!0,r);case 40:return ot(A,1776,1785,!0,r);case 43:return ot(A,3046,3055,!0,r);case 44:return ot(A,3174,3183,!0,r);case 45:return ot(A,3664,3673,!0,r);case 46:return ot(A,3872,3881,!0,r);case 3:default:return ot(A,48,57,!0,r)}},F1="data-html2canvas-ignore",E1=(function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new y4,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=_4(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,o=n.contentWindow,s=o.document,l=F4(n).then(function(){return Rt(r,void 0,void 0,function(){var u,f;return St(this,function(c){switch(c.label){case 0:return this.scrolledElements.forEach(U4),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),u=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:c.sent(),c.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,x4(s)]:[3,4];case 3:c.sent(),c.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(s,f)}).then(function(){return n})]:[2,n]}})})});return s.open(),s.write(b4(document.doctype)+"<html></html>"),S4(this.referenceElement.ownerDocument,i,a),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),l},A.prototype.createElementClone=function(e){if(Ap(e,2))debugger;if(v1(e))return this.createCanvasClone(e);if(d1(e))return this.createVideoClone(e);if(g1(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Bp(t)&&(Bp(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),m1(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return yp(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,a){return a&&typeof a.cssText=="string"?i+a.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var s=o.getContextAttributes();(s==null?void 0:s.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}a.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!sa(t)||!m4(t)&&!t.hasAttribute(F1)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!sa(t)||!g1(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(sa(i)&&B1(i)&&typeof i.assignedNodes=="function"){var a=i.assignedNodes();a.length&&a.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,i,r)},A.prototype.cloneNode=function(e,t){if(c1(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&sa(e)&&(pp(e)||ff(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),a=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&pp(n)&&(this.clonedReferenceElement=n),gp(n)&&D4(n);var s=this.counters.parse(new kQ(this.context,i)),l=this.resolvePseudoContent(e,n,a,Jo.BEFORE);m1(e)&&(t=!0),d1(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,o,Jo.AFTER);return u&&n.appendChild(u),this.counters.pop(s),(i&&(this.options.copyStyles||ff(e))&&!p1(e)||t)&&yp(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(cf(e)||hf(e))&&(cf(n)||hf(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var a=r.content,o=t.ownerDocument;if(!(!o||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new kQ(this.context,r));var s=new dP(this.context,r),l=o.createElement("html2canvaspseudoelement");yp(r,l),s.content.forEach(function(f){if(f.type===0)l.appendChild(o.createTextNode(f.value));else if(f.type===22){var c=o.createElement("img");c.src=f.value,c.style.opacity="1",l.appendChild(c)}else if(f.type===18){if(f.name==="attr"){var h=f.values.filter(ze);h.length&&l.appendChild(o.createTextNode(e.getAttribute(h[0].value)||""))}else if(f.name==="counter"){var v=f.values.filter(aa),d=v[0],g=v[1];if(d&&ze(d)){var p=i.counters.getCounterValue(d.value),B=g&&ze(g)?tp.parse(i.context,g.value):3;l.appendChild(o.createTextNode(Zo(p,B,!1)))}}else if(f.name==="counters"){var m=f.values.filter(aa),d=m[0],y=m[1],g=m[2];if(d&&ze(d)){var _=i.counters.getCounterValues(d.value),C=g&&ze(g)?tp.parse(i.context,g.value):3,Q=y&&y.type===0?y.value:"",x=_.map(function(E){return Zo(E,C,!1)}).join(Q);l.appendChild(o.createTextNode(x))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(o.createTextNode(PQ(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(PQ(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(f.value))}}),l.className=wp+" "+Cp;var u=n===Jo.BEFORE?" "+wp:" "+Cp;return ff(t)?t.className.baseValue+=u:t.className+=u,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A})(),Jo;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Jo||(Jo={}));var _4=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(F1,"true"),A.body.appendChild(t),t},Q4=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},x4=function(A){return Promise.all([].slice.call(A.images,0).map(Q4))},F4=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(A))},50)}})},E4=["all","d","content"],yp=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);E4.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},b4=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},S4=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},U4=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},I4=":before",T4=":after",wp="___html2canvas___pseudoelement_before",Cp="___html2canvas___pseudoelement_after",b1=`{
63
63
  content: "" !important;
64
64
  display: none !important;
65
- }`,jN=function(t){e4(t,"."+gd+$N+U1+`
66
- .`+pd+qN+U1)},e4=function(t,e){var A=t.ownerDocument;if(A){var r=A.createElement("style");r.textContent=e,t.appendChild(r)}},S1=function(){function t(){}return t.getOrigin=function(e){var A=t._link;return A?(A.href=e,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),A4=function(){function t(e,A){this.context=e,this._options=A,this._cache={}}return t.prototype.addImage=function(e){var A=Promise.resolve();return this.has(e)||(yd(e)||i4(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),A},t.prototype.match=function(e){return this._cache[e]},t.prototype.loadImage=function(e){return IA(this,void 0,void 0,function(){var A,r,n,i,a=this;return QA(this,function(o){switch(o.label){case 0:return A=S1.isSameOrigin(e),r=!Bd(e)&&this._options.useCORS===!0&&hA.SUPPORT_CORS_IMAGES&&!A,n=!Bd(e)&&!A&&!yd(e)&&typeof this._options.proxy=="string"&&hA.SUPPORT_CORS_XHR&&!r,!A&&this._options.allowTaint===!1&&!Bd(e)&&!yd(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(s,l){var u=new Image;u.onload=function(){return s(u)},u.onerror=l,(a4(i)||r)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return s(u)},500),a._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},t.prototype.has=function(e){return typeof this._cache[e]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(e){var A=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,a){var o=hA.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(s.status===200)if(o==="text")i(s.response);else{var f=new FileReader;f.addEventListener("load",function(){return i(f.result)},!1),f.addEventListener("error",function(c){return a(c)},!1),f.readAsDataURL(s.response)}else a("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=o),A._options.imageTimeout){var u=A._options.imageTimeout;s.timeout=u,s.ontimeout=function(){return a("Timed out ("+u+"ms) proxying "+n)}}s.send()})},t}(),t4=/^data:image\/svg\+xml/i,r4=/^data:image\/.*;base64,/i,n4=/^data:image\/.*/i,i4=function(t){return hA.SUPPORT_SVG_DRAWING||!o4(t)},Bd=function(t){return n4.test(t)},a4=function(t){return r4.test(t)},yd=function(t){return t.substr(0,4)==="blob"},o4=function(t){return t.substr(-3).toLowerCase()==="svg"||t4.test(t)},q=function(){function t(e,A){this.type=0,this.x=e,this.y=A}return t.prototype.add=function(e,A){return new t(this.x+e,this.y+A)},t}(),Ki=function(t,e,A){return new q(t.x+(e.x-t.x)*A,t.y+(e.y-t.y)*A)},Uu=function(){function t(e,A,r,n){this.type=1,this.start=e,this.startControl=A,this.endControl=r,this.end=n}return t.prototype.subdivide=function(e,A){var r=Ki(this.start,this.startControl,e),n=Ki(this.startControl,this.endControl,e),i=Ki(this.endControl,this.end,e),a=Ki(r,n,e),o=Ki(n,i,e),s=Ki(a,o,e);return A?new t(this.start,r,a,s):new t(s,o,i,this.end)},t.prototype.add=function(e,A){return new t(this.start.add(e,A),this.startControl.add(e,A),this.endControl.add(e,A),this.end.add(e,A))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),ct=function(t){return t.type===1},s4=function(){function t(e){var A=e.styles,r=e.bounds,n=po(A.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],o=po(A.borderTopRightRadius,r.width,r.height),s=o[0],l=o[1],u=po(A.borderBottomRightRadius,r.width,r.height),f=u[0],c=u[1],h=po(A.borderBottomLeftRadius,r.width,r.height),v=h[0],d=h[1],g=[];g.push((i+s)/r.width),g.push((v+f)/r.width),g.push((a+d)/r.height),g.push((l+c)/r.height);var p=Math.max.apply(Math,g);p>1&&(i/=p,a/=p,s/=p,l/=p,f/=p,c/=p,v/=p,d/=p);var B=r.width-s,y=r.height-c,m=r.width-f,_=r.height-d,C=A.borderTopWidth,Q=A.borderRightWidth,F=A.borderBottomWidth,E=A.borderLeftWidth,U=Ve(A.paddingTop,e.bounds.width),x=Ve(A.paddingRight,e.bounds.width),b=Ve(A.paddingBottom,e.bounds.width),I=Ve(A.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?Ye(r.left+E/3,r.top+C/3,i-E/3,a-C/3,Pe.TOP_LEFT):new q(r.left+E/3,r.top+C/3),this.topRightBorderDoubleOuterBox=i>0||a>0?Ye(r.left+B,r.top+C/3,s-Q/3,l-C/3,Pe.TOP_RIGHT):new q(r.left+r.width-Q/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=f>0||c>0?Ye(r.left+m,r.top+y,f-Q/3,c-F/3,Pe.BOTTOM_RIGHT):new q(r.left+r.width-Q/3,r.top+r.height-F/3),this.bottomLeftBorderDoubleOuterBox=v>0||d>0?Ye(r.left+E/3,r.top+_,v-E/3,d-F/3,Pe.BOTTOM_LEFT):new q(r.left+E/3,r.top+r.height-F/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?Ye(r.left+E*2/3,r.top+C*2/3,i-E*2/3,a-C*2/3,Pe.TOP_LEFT):new q(r.left+E*2/3,r.top+C*2/3),this.topRightBorderDoubleInnerBox=i>0||a>0?Ye(r.left+B,r.top+C*2/3,s-Q*2/3,l-C*2/3,Pe.TOP_RIGHT):new q(r.left+r.width-Q*2/3,r.top+C*2/3),this.bottomRightBorderDoubleInnerBox=f>0||c>0?Ye(r.left+m,r.top+y,f-Q*2/3,c-F*2/3,Pe.BOTTOM_RIGHT):new q(r.left+r.width-Q*2/3,r.top+r.height-F*2/3),this.bottomLeftBorderDoubleInnerBox=v>0||d>0?Ye(r.left+E*2/3,r.top+_,v-E*2/3,d-F*2/3,Pe.BOTTOM_LEFT):new q(r.left+E*2/3,r.top+r.height-F*2/3),this.topLeftBorderStroke=i>0||a>0?Ye(r.left+E/2,r.top+C/2,i-E/2,a-C/2,Pe.TOP_LEFT):new q(r.left+E/2,r.top+C/2),this.topRightBorderStroke=i>0||a>0?Ye(r.left+B,r.top+C/2,s-Q/2,l-C/2,Pe.TOP_RIGHT):new q(r.left+r.width-Q/2,r.top+C/2),this.bottomRightBorderStroke=f>0||c>0?Ye(r.left+m,r.top+y,f-Q/2,c-F/2,Pe.BOTTOM_RIGHT):new q(r.left+r.width-Q/2,r.top+r.height-F/2),this.bottomLeftBorderStroke=v>0||d>0?Ye(r.left+E/2,r.top+_,v-E/2,d-F/2,Pe.BOTTOM_LEFT):new q(r.left+E/2,r.top+r.height-F/2),this.topLeftBorderBox=i>0||a>0?Ye(r.left,r.top,i,a,Pe.TOP_LEFT):new q(r.left,r.top),this.topRightBorderBox=s>0||l>0?Ye(r.left+B,r.top,s,l,Pe.TOP_RIGHT):new q(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||c>0?Ye(r.left+m,r.top+y,f,c,Pe.BOTTOM_RIGHT):new q(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=v>0||d>0?Ye(r.left,r.top+_,v,d,Pe.BOTTOM_LEFT):new q(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?Ye(r.left+E,r.top+C,Math.max(0,i-E),Math.max(0,a-C),Pe.TOP_LEFT):new q(r.left+E,r.top+C),this.topRightPaddingBox=s>0||l>0?Ye(r.left+Math.min(B,r.width-Q),r.top+C,B>r.width+Q?0:Math.max(0,s-Q),Math.max(0,l-C),Pe.TOP_RIGHT):new q(r.left+r.width-Q,r.top+C),this.bottomRightPaddingBox=f>0||c>0?Ye(r.left+Math.min(m,r.width-E),r.top+Math.min(y,r.height-F),Math.max(0,f-Q),Math.max(0,c-F),Pe.BOTTOM_RIGHT):new q(r.left+r.width-Q,r.top+r.height-F),this.bottomLeftPaddingBox=v>0||d>0?Ye(r.left+E,r.top+Math.min(_,r.height-F),Math.max(0,v-E),Math.max(0,d-F),Pe.BOTTOM_LEFT):new q(r.left+E,r.top+r.height-F),this.topLeftContentBox=i>0||a>0?Ye(r.left+E+I,r.top+C+U,Math.max(0,i-(E+I)),Math.max(0,a-(C+U)),Pe.TOP_LEFT):new q(r.left+E+I,r.top+C+U),this.topRightContentBox=s>0||l>0?Ye(r.left+Math.min(B,r.width+E+I),r.top+C+U,B>r.width+E+I?0:s-E+I,l-(C+U),Pe.TOP_RIGHT):new q(r.left+r.width-(Q+x),r.top+C+U),this.bottomRightContentBox=f>0||c>0?Ye(r.left+Math.min(m,r.width-(E+I)),r.top+Math.min(y,r.height+C+U),Math.max(0,f-(Q+x)),c-(F+b),Pe.BOTTOM_RIGHT):new q(r.left+r.width-(Q+x),r.top+r.height-(F+b)),this.bottomLeftContentBox=v>0||d>0?Ye(r.left+E+I,r.top+_,Math.max(0,v-(E+I)),d-(F+b),Pe.BOTTOM_LEFT):new q(r.left+E+I,r.top+r.height-(F+b))}return t}(),Pe;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Pe||(Pe={}));var Ye=function(t,e,A,r,n){var i=4*((Math.sqrt(2)-1)/3),a=A*i,o=r*i,s=t+A,l=e+r;switch(n){case Pe.TOP_LEFT:return new Uu(new q(t,l),new q(t,l-o),new q(s-a,e),new q(s,e));case Pe.TOP_RIGHT:return new Uu(new q(t,e),new q(t+a,e),new q(s,l-o),new q(s,l));case Pe.BOTTOM_RIGHT:return new Uu(new q(s,e),new q(s,e+o),new q(t+a,l),new q(t,l));case Pe.BOTTOM_LEFT:default:return new Uu(new q(s,l),new q(s-a,l),new q(t,e+o),new q(t,e))}},Su=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},l4=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},bu=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},u4=function(){function t(e,A,r){this.offsetX=e,this.offsetY=A,this.matrix=r,this.type=0,this.target=6}return t}(),Iu=function(){function t(e,A){this.path=e,this.target=A,this.type=1}return t}(),f4=function(){function t(e){this.opacity=e,this.type=2,this.target=6}return t}(),c4=function(t){return t.type===0},b1=function(t){return t.type===1},h4=function(t){return t.type===2},I1=function(t,e){return t.length===e.length?t.some(function(A,r){return A===e[r]}):!1},v4=function(t,e,A,r,n){return t.map(function(i,a){switch(a){case 0:return i.add(e,A);case 1:return i.add(e+r,A);case 2:return i.add(e+r,A+n);case 3:return i.add(e,A+n)}return i})},T1=function(){function t(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),D1=function(){function t(e,A){if(this.container=e,this.parent=A,this.effects=[],this.curves=new s4(this.container),this.container.styles.opacity<1&&this.effects.push(new f4(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new u4(r,n,i))}if(this.container.styles.overflowX!==0){var a=Su(this.curves),o=bu(this.curves);I1(a,o)?this.effects.push(new Iu(a,6)):(this.effects.push(new Iu(a,2)),this.effects.push(new Iu(o,4)))}}return t.prototype.getEffects=function(e){for(var A=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(s){return!b1(s)});if(A||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),A=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=Su(r.curves),o=bu(r.curves);I1(a,o)||n.unshift(new Iu(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(s){return oA(s.target,e)})},t}(),md=function(t,e,A,r){t.container.elements.forEach(function(n){var i=oA(n.flags,4),a=oA(n.flags,2),o=new D1(n,t);oA(n.styles.display,2048)&&r.push(o);var s=oA(n.flags,8)?[]:r;if(i||a){var l=i||n.styles.isPositioned()?A:e,u=new T1(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var c=0;l.negativeZIndex.some(function(v,d){return f>v.element.container.styles.zIndex.order?(c=d,!1):c>0}),l.negativeZIndex.splice(c,0,u)}else if(f>0){var h=0;l.positiveZIndex.some(function(v,d){return f>=v.element.container.styles.zIndex.order?(h=d+1,!1):h>0}),l.positiveZIndex.splice(h,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);md(o,u,i?u:A,s)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),md(o,e,A,s);oA(n.flags,8)&&L1(n,s)})},L1=function(t,e){for(var A=t instanceof ld?t.start:1,r=t instanceof ld?t.reversed:!1,n=0;n<e.length;n++){var i=e[n];i.container instanceof i1&&typeof i.container.value=="number"&&i.container.value!==0&&(A=i.container.value),i.listValue=_o(A,i.container.styles.listStyleType,!0),A+=r?-1:1}},d4=function(t){var e=new D1(t,null),A=new T1(e),r=[];return md(e,A,A,r),L1(e.container,r),A},M1=function(t,e){switch(e){case 0:return ht(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return ht(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return ht(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return ht(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},g4=function(t,e){switch(e){case 0:return ht(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return ht(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return ht(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return ht(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},p4=function(t,e){switch(e){case 0:return ht(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return ht(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return ht(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return ht(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},B4=function(t,e){switch(e){case 0:return Tu(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return Tu(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return Tu(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return Tu(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},Tu=function(t,e){var A=[];return ct(t)?A.push(t.subdivide(.5,!1)):A.push(t),ct(e)?A.push(e.subdivide(.5,!0)):A.push(e),A},ht=function(t,e,A,r){var n=[];return ct(t)?n.push(t.subdivide(.5,!1)):n.push(t),ct(A)?n.push(A.subdivide(.5,!0)):n.push(A),ct(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),ct(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},H1=function(t){var e=t.bounds,A=t.styles;return e.add(A.borderLeftWidth,A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth),-(A.borderTopWidth+A.borderBottomWidth))},Du=function(t){var e=t.styles,A=t.bounds,r=Ve(e.paddingLeft,A.width),n=Ve(e.paddingRight,A.width),i=Ve(e.paddingTop,A.width),a=Ve(e.paddingBottom,A.width);return A.add(r+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+i+a))},y4=function(t,e){return t===0?e.bounds:t===2?Du(e):H1(e)},m4=function(t,e){return t===0?e.bounds:t===2?Du(e):H1(e)},wd=function(t,e,A){var r=y4(Gi(t.styles.backgroundOrigin,e),t),n=m4(Gi(t.styles.backgroundClip,e),t),i=w4(Gi(t.styles.backgroundSize,e),A,r),a=i[0],o=i[1],s=po(Gi(t.styles.backgroundPosition,e),r.width-a,r.height-o),l=C4(Gi(t.styles.backgroundRepeat,e),s,i,r,n),u=Math.round(r.left+s[0]),f=Math.round(r.top+s[1]);return[l,u,f,a,o]},Vi=function(t){return ke(t)&&t.value===Ri.AUTO},Lu=function(t){return typeof t=="number"},w4=function(t,e,A){var r=e[0],n=e[1],i=e[2],a=t[0],o=t[1];if(!a)return[0,0];if(nA(a)&&o&&nA(o))return[Ve(a,A.width),Ve(o,A.height)];var s=Lu(i);if(ke(a)&&(a.value===Ri.CONTAIN||a.value===Ri.COVER)){if(Lu(i)){var l=A.width/A.height;return l<i!=(a.value===Ri.COVER)?[A.width,A.width/i]:[A.height*i,A.height]}return[A.width,A.height]}var u=Lu(r),f=Lu(n),c=u||f;if(Vi(a)&&(!o||Vi(o))){if(u&&f)return[r,n];if(!s&&!c)return[A.width,A.height];if(c&&s){var h=u?r:n*i,v=f?n:r/i;return[h,v]}var d=u?r:A.width,g=f?n:A.height;return[d,g]}if(s){var p=0,B=0;return nA(a)?p=Ve(a,A.width):nA(o)&&(B=Ve(o,A.height)),Vi(a)?p=B*i:(!o||Vi(o))&&(B=p/i),[p,B]}var y=null,m=null;if(nA(a)?y=Ve(a,A.width):o&&nA(o)&&(m=Ve(o,A.height)),y!==null&&(!o||Vi(o))&&(m=u&&f?y/r*n:A.height),m!==null&&Vi(a)&&(y=u&&f?m/n*r:A.width),y!==null&&m!==null)return[y,m];throw new Error("Unable to calculate background-size for element")},Gi=function(t,e){var A=t[e];return typeof A>"u"?t[0]:A},C4=function(t,e,A,r,n){var i=e[0],a=e[1],o=A[0],s=A[1];switch(t){case 2:return[new q(Math.round(r.left),Math.round(r.top+a)),new q(Math.round(r.left+r.width),Math.round(r.top+a)),new q(Math.round(r.left+r.width),Math.round(s+r.top+a)),new q(Math.round(r.left),Math.round(s+r.top+a))];case 3:return[new q(Math.round(r.left+i),Math.round(r.top)),new q(Math.round(r.left+i+o),Math.round(r.top)),new q(Math.round(r.left+i+o),Math.round(r.height+r.top)),new q(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new q(Math.round(r.left+i),Math.round(r.top+a)),new q(Math.round(r.left+i+o),Math.round(r.top+a)),new q(Math.round(r.left+i+o),Math.round(r.top+a+s)),new q(Math.round(r.left+i),Math.round(r.top+a+s))];default:return[new q(Math.round(n.left),Math.round(n.top)),new q(Math.round(n.left+n.width),Math.round(n.top)),new q(Math.round(n.left+n.width),Math.round(n.height+n.top)),new q(Math.round(n.left),Math.round(n.height+n.top))]}},_4="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",O1="Hidden Text",Q4=function(){function t(e){this._data={},this._document=e}return t.prototype.parseMetrics=function(e,A){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=A,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=_4,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=A,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(O1)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(O1)),r.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:o,middle:s}},t.prototype.getMetrics=function(e,A){var r=e+" "+A;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,A)),this._data[r]},t}(),R1=function(){function t(e,A){this.context=e,this.options=A}return t}(),F4=1e4,x4=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new Q4(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(A){for(var r=this;this._activeEffects.length;)this.popEffect();A.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(A){this.ctx.save(),h4(A)&&(this.ctx.globalAlpha=A.opacity),c4(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),b1(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return IA(this,void 0,void 0,function(){var r;return QA(this,function(n){switch(n.label){case 0:return r=A.element.container.styles,r.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(A){return IA(this,void 0,void 0,function(){return QA(this,function(r){switch(r.label){case 0:if(oA(A.container.flags,16))debugger;return A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(A)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(A,r,n){var i=this;if(r===0)this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+n);else{var a=sd(A.text);a.reduce(function(o,s){return i.ctx.fillText(s,o,A.bounds.top+n),o+i.ctx.measureText(s).width},A.bounds.left)}},e.prototype.createFontStyle=function(A){var r=A.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=I4(A.fontFamily).join(", "),i=go(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,r,A.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(A,r){return IA(this,void 0,void 0,function(){var n,i,a,o,s,l,u,f,c=this;return QA(this,function(h){return n=this.createFontStyle(r),i=n[0],a=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(a,o),l=s.baseline,u=s.middle,f=r.paintOrder,A.textBounds.forEach(function(v){f.forEach(function(d){switch(d){case 0:c.ctx.fillStyle=fA(r.color),c.renderTextWithLetterSpacing(v,r.letterSpacing,l);var g=r.textShadow;g.length&&v.text.trim().length&&(g.slice(0).reverse().forEach(function(p){c.ctx.shadowColor=fA(p.color),c.ctx.shadowOffsetX=p.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=p.offsetY.number*c.options.scale,c.ctx.shadowBlur=p.blur.number,c.renderTextWithLetterSpacing(v,r.letterSpacing,l)}),c.ctx.shadowColor="",c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),r.textDecorationLine.length&&(c.ctx.fillStyle=fA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top+l),v.bounds.width,1);break;case 2:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top),v.bounds.width,1);break;case 3:c.ctx.fillRect(v.bounds.left,Math.ceil(v.bounds.top+u),v.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&v.text.trim().length&&(c.ctx.strokeStyle=fA(r.webkitTextStrokeColor),c.ctx.lineWidth=r.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?"miter":"round",c.ctx.strokeText(v.text,v.bounds.left,v.bounds.top+l)),c.ctx.strokeStyle="",c.ctx.lineWidth=0,c.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(A,r,n){if(n&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var i=Du(A),a=bu(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,A.intrinsicWidth,A.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return IA(this,void 0,void 0,function(){var r,n,i,a,o,s,B,B,l,u,f,c,m,h,v,_,d,g,p,B,y,m,_;return QA(this,function(C){switch(C.label){case 0:this.applyEffects(A.getEffects(4)),r=A.container,n=A.curves,i=r.styles,a=0,o=r.textNodes,C.label=1;case 1:return a<o.length?(s=o[a],[4,this.renderTextNode(s,i)]):[3,4];case 2:C.sent(),C.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof t1))return[3,8];C.label=5;case 5:return C.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,8];case 7:return C.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof r1&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof n1))return[3,12];C.label=9;case 9:return C.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,12];case 11:return C.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof l1&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:u=C.sent(),r.width&&r.height&&this.ctx.drawImage(u,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),C.label=14;case 14:if(r instanceof ud&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===Cu?r.checked&&(this.ctx.save(),this.path([new q(r.bounds.left+f*.39363,r.bounds.top+f*.79),new q(r.bounds.left+f*.16,r.bounds.top+f*.5549),new q(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new q(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new q(r.bounds.left+f*.72983,r.bounds.top+f*.23),new q(r.bounds.left+f*.84,r.bounds.top+f*.34085),new q(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=fA(a1),this.ctx.fill(),this.ctx.restore()):r.type===_u&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=fA(a1),this.ctx.fill(),this.ctx.restore())),E4(r)&&r.value.length){switch(c=this.createFontStyle(i),m=c[0],h=c[1],v=this.fontMetrics.getMetrics(m,h).baseline,this.ctx.font=m,this.ctx.fillStyle=fA(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=S4(r.styles.textAlign),_=Du(r),d=0,r.styles.textAlign){case 1:d+=_.width/2;break;case 2:d+=_.width;break}g=_.add(d,0,0,-_.height/2+1),this.ctx.save(),this.path([new q(_.left,_.top),new q(_.left+_.width,_.top),new q(_.left+_.width,_.top+_.height),new q(_.left,_.top+_.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new wo(r.value,g),i.letterSpacing,v),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!oA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(p=r.styles.listStyleImage,p.type!==0)return[3,18];B=void 0,y=p.url,C.label=15;case 15:return C.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return B=C.sent(),this.ctx.drawImage(B,r.bounds.left-(B.width+10),r.bounds.top),[3,18];case 17:return C.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:A.listValue&&r.styles.listStyleType!==-1&&(m=this.createFontStyle(i)[0],this.ctx.font=m,this.ctx.fillStyle=fA(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_=new nr(r.bounds.left,r.bounds.top+Ve(r.styles.paddingTop,r.bounds.width),r.bounds.width,O_(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new wo(A.listValue,_),i.letterSpacing,O_(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),C.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(A){return IA(this,void 0,void 0,function(){var r,n,p,i,a,p,o,s,p,l,u,p,f,c,p,h,v,p,d,g,p;return QA(this,function(B){switch(B.label){case 0:if(oA(A.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:B.sent(),r=0,n=A.negativeZIndex,B.label=2;case 2:return r<n.length?(p=n[r],[4,this.renderStack(p)]):[3,5];case 3:B.sent(),B.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:B.sent(),i=0,a=A.nonInlineLevel,B.label=7;case 7:return i<a.length?(p=a[i],[4,this.renderNode(p)]):[3,10];case 8:B.sent(),B.label=9;case 9:return i++,[3,7];case 10:o=0,s=A.nonPositionedFloats,B.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:B.sent(),B.label=13;case 13:return o++,[3,11];case 14:l=0,u=A.nonPositionedInlineLevel,B.label=15;case 15:return l<u.length?(p=u[l],[4,this.renderStack(p)]):[3,18];case 16:B.sent(),B.label=17;case 17:return l++,[3,15];case 18:f=0,c=A.inlineLevel,B.label=19;case 19:return f<c.length?(p=c[f],[4,this.renderNode(p)]):[3,22];case 20:B.sent(),B.label=21;case 21:return f++,[3,19];case 22:h=0,v=A.zeroOrAutoZIndexOrTransformedOrOpacity,B.label=23;case 23:return h<v.length?(p=v[h],[4,this.renderStack(p)]):[3,26];case 24:B.sent(),B.label=25;case 25:return h++,[3,23];case 26:d=0,g=A.positiveZIndex,B.label=27;case 27:return d<g.length?(p=g[d],[4,this.renderStack(p)]):[3,30];case 28:B.sent(),B.label=29;case 29:return d++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var r=this;A.forEach(function(n,i){var a=ct(n)?n.start:n;i===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),ct(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(A,r,n,i){this.path(A),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},e.prototype.resizeImage=function(A,r,n){var i;if(A.width===r&&A.height===n)return A;var a=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,o=a.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var s=o.getContext("2d");return s.drawImage(A,0,0,A.width,A.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(A){return IA(this,void 0,void 0,function(){var r,n,i,a,o,s;return QA(this,function(l){switch(l.label){case 0:r=A.styles.backgroundImage.length-1,n=function(u){var f,c,h,U,R,$,I,T,F,v,U,R,$,I,T,d,g,p,B,y,m,_,C,Q,F,E,U,x,b,I,T,D,R,$,G,X,ie,ve,O,N,H,K;return QA(this,function(P){switch(P.label){case 0:if(u.type!==0)return[3,5];f=void 0,c=u.url,P.label=1;case 1:return P.trys.push([1,3,,4]),[4,i.context.cache.match(c)];case 2:return f=P.sent(),[3,4];case 3:return P.sent(),i.context.logger.error("Error loading background-image "+c),[3,4];case 4:return f&&(h=wd(A,r,[f.width,f.height,f.width/f.height]),U=h[0],R=h[1],$=h[2],I=h[3],T=h[4],F=i.ctx.createPattern(i.resizeImage(f,I,T),"repeat"),i.renderRepeat(U,F,R,$)),[3,6];case 5:cR(u)?(v=wd(A,r,[null,null,null]),U=v[0],R=v[1],$=v[2],I=v[3],T=v[4],d=oR(u.angle,I,T),g=d[0],p=d[1],B=d[2],y=d[3],m=d[4],_=document.createElement("canvas"),_.width=I,_.height=T,C=_.getContext("2d"),Q=C.createLinearGradient(p,y,B,m),x_(u.stops,g).forEach(function(se){return Q.addColorStop(se.stop,fA(se.color))}),C.fillStyle=Q,C.fillRect(0,0,I,T),I>0&&T>0&&(F=i.ctx.createPattern(_,"repeat"),i.renderRepeat(U,F,R,$))):hR(u)&&(E=wd(A,r,[null,null,null]),U=E[0],x=E[1],b=E[2],I=E[3],T=E[4],D=u.position.length===0?[Yv]:u.position,R=Ve(D[0],I),$=Ve(D[D.length-1],T),G=sR(u,R,$,I,T),X=G[0],ie=G[1],X>0&&ie>0&&(ve=i.ctx.createRadialGradient(x+R,b+$,0,x+R,b+$,X),x_(u.stops,X*2).forEach(function(se){return ve.addColorStop(se.stop,fA(se.color))}),i.path(U),i.ctx.fillStyle=ve,X!==ie?(O=A.bounds.left+.5*A.bounds.width,N=A.bounds.top+.5*A.bounds.height,H=ie/X,K=1/H,i.ctx.save(),i.ctx.translate(O,N),i.ctx.transform(1,0,0,H,0,0),i.ctx.translate(-O,-N),i.ctx.fillRect(x,K*(b-N)+N,I,T*K),i.ctx.restore()):i.ctx.fill())),P.label=6;case 6:return r--,[2]}})},i=this,a=0,o=A.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<o.length?(s=o[a],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(A,r,n){return IA(this,void 0,void 0,function(){return QA(this,function(i){return this.path(M1(n,r)),this.ctx.fillStyle=fA(A),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(A,r,n,i){return IA(this,void 0,void 0,function(){var a,o;return QA(this,function(s){switch(s.label){case 0:return r<3?[4,this.renderSolidBorder(A,n,i)]:[3,2];case 1:return s.sent(),[2];case 2:return a=g4(i,n),this.path(a),this.ctx.fillStyle=fA(A),this.ctx.fill(),o=p4(i,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(A){return IA(this,void 0,void 0,function(){var r,n,i,a,o,s,l,u,f=this;return QA(this,function(c){switch(c.label){case 0:return this.applyEffects(A.getEffects(2)),r=A.container.styles,n=!Dr(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=U4(Gi(r.backgroundClip,0),A.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),Dr(r.backgroundColor)||(this.ctx.fillStyle=fA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(h){f.ctx.save();var v=Su(A.curves),d=h.inset?0:F4,g=v4(v,-d+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(f.path(v),f.ctx.clip(),f.mask(g)):(f.mask(v),f.ctx.clip(),f.path(g)),f.ctx.shadowOffsetX=h.offsetX.number+d,f.ctx.shadowOffsetY=h.offsetY.number,f.ctx.shadowColor=fA(h.color),f.ctx.shadowBlur=h.blur.number,f.ctx.fillStyle=h.inset?fA(h.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),c.label=2;case 2:o=0,s=0,l=i,c.label=3;case 3:return s<l.length?(u=l[s],u.style!==0&&!Dr(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,A.curves,2)]:[3,11]):[3,13];case 4:return c.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,A.curves,3)];case 6:return c.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,A.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,A.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(A,r,n,i,a){return IA(this,void 0,void 0,function(){var o,s,l,u,f,c,h,v,d,g,p,B,y,m,_,C,_,C;return QA(this,function(Q){return this.ctx.save(),o=B4(i,n),s=M1(i,n),a===2&&(this.path(s),this.ctx.clip()),ct(s[0])?(l=s[0].start.x,u=s[0].start.y):(l=s[0].x,u=s[0].y),ct(s[1])?(f=s[1].end.x,c=s[1].end.y):(f=s[1].x,c=s[1].y),n===0||n===2?h=Math.abs(l-f):h=Math.abs(u-c),this.ctx.beginPath(),a===3?this.formatPath(o):this.formatPath(s.slice(0,2)),v=r<3?r*3:r*2,d=r<3?r*2:r,a===3&&(v=r,d=r),g=!0,h<=v*2?g=!1:h<=v*2+d?(p=h/(2*v+d),v*=p,d*=p):(B=Math.floor((h+d)/(v+d)),y=(h-B*v)/(B-1),m=(h-(B+1)*v)/B,d=m<=0||Math.abs(d-y)<Math.abs(d-m)?y:m),g&&(a===3?this.ctx.setLineDash([0,v+d]):this.ctx.setLineDash([v,d])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=fA(A),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(ct(s[0])&&(_=s[3],C=s[0],this.ctx.beginPath(),this.formatPath([new q(_.end.x,_.end.y),new q(C.start.x,C.start.y)]),this.ctx.stroke()),ct(s[1])&&(_=s[1],C=s[2],this.ctx.beginPath(),this.formatPath([new q(_.end.x,_.end.y),new q(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(A){return IA(this,void 0,void 0,function(){var r;return QA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=fA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=d4(A),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(R1),E4=function(t){return t instanceof s1||t instanceof o1?!0:t instanceof ud&&t.type!==_u&&t.type!==Cu},U4=function(t,e){switch(t){case 0:return Su(e);case 2:return l4(e);case 1:default:return bu(e)}},S4=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},b4=["-apple-system","system-ui"],I4=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(e){return b4.indexOf(e)===-1}):t},T4=function(t){_t(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(A){return IA(this,void 0,void 0,function(){var r,n;return QA(this,function(i){switch(i.label){case 0:return r=od(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,D4(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=fA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(R1),D4=function(t){return new Promise(function(e,A){var r=new Image;r.onload=function(){e(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},L4=function(){function t(e){var A=e.id,r=e.enabled;this.id=A,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Kl([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Kl([this.id,this.getTime()+"ms"],e))},t.prototype.warn=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Kl([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.error=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Kl([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.instances={},t}(),M4=function(){function t(e,A){var r;this.windowBounds=A,this.instanceName="#"+t.instanceCount++,this.logger=new L4({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new A4(this,e)}return t.instanceCount=1,t}(),P1=function(t,e){return e===void 0&&(e={}),H4(t,e)};typeof window<"u"&&S1.setContext(window);var H4=function(t,e){return IA(void 0,void 0,void 0,function(){var A,r,n,i,a,o,s,l,u,f,c,h,v,d,g,p,B,y,m,_,Q,C,Q,F,E,U,x,b,I,T,D,R,$,G,X,ie,ve,O,N,H;return QA(this,function(K){switch(K.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(A=t.ownerDocument,!A)throw new Error("Element is not attached to a Document");if(r=A.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(F=e.allowTaint)!==null&&F!==void 0?F:!1,imageTimeout:(E=e.imageTimeout)!==null&&E!==void 0?E:15e3,proxy:e.proxy,useCORS:(U=e.useCORS)!==null&&U!==void 0?U:!1},i=xv({logging:(x=e.logging)!==null&&x!==void 0?x:!0,cache:e.cache},n),a={windowWidth:(b=e.windowWidth)!==null&&b!==void 0?b:r.innerWidth,windowHeight:(I=e.windowHeight)!==null&&I!==void 0?I:r.innerHeight,scrollX:(T=e.scrollX)!==null&&T!==void 0?T:r.pageXOffset,scrollY:(D=e.scrollY)!==null&&D!==void 0?D:r.pageYOffset},o=new nr(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),s=new M4(i,o),l=(R=e.foreignObjectRendering)!==null&&R!==void 0?R:!1,u={allowTaint:($=e.allowTaint)!==null&&$!==void 0?$:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},s.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),f=new E1(s,t,u),c=f.clonedReferenceElement,c?[4,f.toIFrame(A,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=K.sent(),v=cd(c)||RN(c)?v2(c.ownerDocument):Vl(s,c),d=v.width,g=v.height,p=v.left,B=v.top,y=O4(s,c,e.backgroundColor),m={canvas:e.canvas,backgroundColor:y,scale:(X=(G=e.scale)!==null&&G!==void 0?G:r.devicePixelRatio)!==null&&X!==void 0?X:1,x:((ie=e.x)!==null&&ie!==void 0?ie:0)+p,y:((ve=e.y)!==null&&ve!==void 0?ve:0)+B,width:(O=e.width)!==null&&O!==void 0?O:Math.ceil(d),height:(N=e.height)!==null&&N!==void 0?N:Math.ceil(g)},l?(s.logger.debug("Document cloned, using foreign object rendering"),Q=new T4(s,m),[4,Q.render(c)]):[3,3];case 2:return _=K.sent(),[3,5];case 3:return s.logger.debug("Document cloned, element located at "+p+","+B+" with size "+d+"x"+g+" using computed rendering"),s.logger.debug("Starting DOM parsing"),C=f1(s,c),y===C.styles.backgroundColor&&(C.styles.backgroundColor=ar.TRANSPARENT),s.logger.debug("Starting renderer for element at "+m.x+","+m.y+" with size "+m.width+"x"+m.height),Q=new x4(s,m),[4,Q.render(C)];case 4:_=K.sent(),K.label=5;case 5:return(!((H=e.removeContainer)!==null&&H!==void 0)||H)&&(E1.destroy(h)||s.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),s.logger.debug("Finished rendering"),[2,_]}})})},O4=function(t,e,A){var r=e.ownerDocument,n=r.documentElement?Bo(t,getComputedStyle(r.documentElement).backgroundColor):ar.TRANSPARENT,i=r.body?Bo(t,getComputedStyle(r.body).backgroundColor):ar.TRANSPARENT,a=typeof A=="string"?Bo(t,A):A===null?ar.TRANSPARENT:4294967295;return e===r.documentElement?Dr(n)?Dr(i)?a:i:n:a};/*! Element Plus Icons Vue v2.3.2 */var R4=L.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(t){return(e,A)=>(L.openBlock(),L.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[L.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),N1=R4;const P4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAk1BMVEUAAAAyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzM3NzcyMjIzMzMyMjIzMzMzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzM0NDQzMzMzMzMzMzMzMzMzMzMzMzM0NDQzMzMzMzMzMzMyMjI6OjozMzMnMcQ8AAAAMHRSTlMAgprMx7VSMqV6CWbkjtXRv5RiD/hEOe91cSng21w/Lq6piBwX6mtXTUkg9J68JAbdlNjNAAAFP0lEQVR42u3d13biMBAG4N/gDqabYnrokIR5/6fbmrMe7LCAJWFx9N3tDRtF1sxopBgYhmEYhmEYhmEYhmEYhmEYhmEYhmEY9wvn8X7X2Y6CYLTt7PbxPIRuju6w0qpTRr1VGbor6OHYeZ/QVY32rvSDiaMq3cSOYpTWcWjTHezhEWXk+j26U893UTLrYZMeUq2hRLxoQz/pPpT9kn7RfSifFSrOfv5aGW1ICN/DM8UfJErP6uJp3uiaU9OJglFt6saxO62Ngshpnq4m/CmeY/39Iu99DPtr5Fj3R8736eYNz9Cvflt9uCGuCA9vNuVzEig3HVCeSTTDDWbRhPKMXShmUR7fPeNGZ9enPBZUyl/mFQ938Sq5nwKFoivDKDwUB8o4lLH08BBvSRlNKDLOVks7PKyT/bgNlOhlMp8VooBVO5uHoECmuHI8FOQ2MlEc0jVkxMuVn8mqkMwmrrGHEKMecUtI5RDnryDIrKlyJG3iIohztIlrQ5qO3HLig7gOJJlvJJdFPjGbOeRwJDxXnJVXrGj5v7QVlMJ7YlqQwidmD/FsXl2FkOL8ITsvBryESCDJJ986BhBsPpA95fmP8GAORvCzO4REQ147QKgdpb1DqndK20GkKluBXUjVtVlYgUA1SoshWUxpU1kTUoF0rCfxIWlCBgmkS1iMPMiZkAAKBFJ2JjUVKZ0L2e+uL6M4qUGJmoQtVv+OYCgnvtS74vu8NShSE79XbLIJUaYqeu8Tq5+Q7JR4KC7iD6sy3brgreJEbVLPT+8NwTHrAIUOlDJDUSN2cKFUU2g9sXje+Z4lNG4NHikVxGfik8gPm0CxscBFErCYpZgv8LFusd2zYh2BDcF0VlpDsVU6F6OQ8FnBNxuAQxQxv7sJJG2RzFGES/+MoBjPJC7u5XWsWTen6xdDuU6R7uZbj4jGs2zhtoZycYHgX2E7gFb2XkWYJFDlyOLvg73wFX6qZj5oVCdqdKDI40clW/rSW/MiYYGf1gu15ePm4ei/TW1musCA9/e9qqp2Y/bCyOTxeLs4gy+2Q131hdDWw6n9OGA/O+uSddKDhBLLVM+5yAFx+h9vAalP8+3H73B1W5SvfcehhZTUjjt9Noi571JreWYE6A+Iue8iaGnWCItczI3VQkmi1m/bcjxXmTxSaI1lbXFdOTI7Kx2Z2/cFpai1eF8uq9fH/5Sj+mXHE1njFW5Qiv1Ipjv2wMFbOXaIX7q9h9NHSfbsXxJi7qivytZFiZ/+p1yi+lpTem43aM06jWJa2Kcd1JuK6/3OJn/DbgzleFq2RBTSm2iOZ2gIPURce0mIp0jYiZXGhiyFacxmp7r6mvFzdn1F7OaDvi7uoujr4naQvuwXiVlTfoNOXx/8mpi2XH7LVF8Ov/erLbZCFtBW2KSU57+PR8zVeBvaSga8Rastn/UE9Y29AaUNoSuX0lrQVcJ7tQfoyrk4HNNVhdLq5XyV421t65cIvdZl21xTFjG2rinEJ+aka9X7ay/1AvvCo01cBC31m0T0AruQzoA4R78XaOe+026iZcD6XNCl0r80O09tTJc+oR/v73To3nsPTvSb5p3eWpUyxvo9V3nDIHsNvSSjKuVY6JU/vKBF/2h6Vnjlfb9NbXbooXftDczvZV8e5+7qc97fWYsJXbEp+b52uqzTLd4TlNqSblIte8u9Qbc4BWeUm0W3qJS/Jqm8xjAA5zWG8d+lXrX0GAa7GJPReNNo27Gnb9iRNtXIH76m32OVNdX2m8UuzUe+47et7fSg4Xe9GYZhGIZhGIZhGIZhvJIfLCr2GzAyoncAAAAASUVORK5CYII=",N4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAaVBMVEUAAAAQFBgQExcQEhYLFRcQExcQExYPExcQEhcOFBUQEhcQExcPEhcPExcQEhcQExYQERcPExYPEhcQExYQEhcTExMUFBQQExcQExcQExcQFBcPEhcPExcPFBYSEhgcHBwRExcOExgQExdmmIFTAAAAInRSTlMAQL+AFuzVxbEj3KOWdF9OR7qnnmgZDPrkyY5WQzIqCXs2T8mN8gAAAeVJREFUeNrt3dlqwzAQRmFFdpx9X7omaf/3f8iSrSW0FqFy0Micc+2bDxsGI9A4IiIiIqJHNJuMFz5hxWzQiGOs9PU30Yzdk0y0jnSUstI+DtKTlXpRjkJ2KmIgK9mp344vS+rGQLo65V3KOjoXM01kCdIBAgQIECChgAABEg4IECDhgAABEg4IkLZBNrPipul7lpB1pV+95AcpF/qrIjfIVmoHxLcEstajIV6XHgsZqaZ5ZpCqxrF0eUFKnfO3rQqXGaT2CSBAgAABAgQIECBAgAABAgQIEFsQr38HBAgQIECAOF+bLvm6bEFaM9mBAAECBAgQIECAAAECBAgQIECAADlBruUO+Q4IECA/AQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCGYQ8XyCdpOncJgKykJ2Gd7wz0xuTri1jIFPZaRoDcUtZaeyiIK4rIx0iIe5VFqoGLhbi5r3ky8Wqj2aubd12JkXC5uX9IzPzgFgLiLWANN1h1w7IvlLvrQWQgY695Q/p69gwf8hQp/KHCAiQU0CAAAkHBAiQcAYhgyskbQ0s+36WnV7i/gTsNGKz/7GhrDRyUb3LSlt3V9bP1rqfLrZypPS9uiaaTVY+Yf3JvHRERERERA/oC7GKf5yH1bdrAAAAAElFTkSuQmCC",k4="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAsVBMVEUAAAAEAAAEAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAADAAAEAAAFAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAAEAAADAAAGAAAAAAAAAAAEAAAEAAAEAAAAAAADAAAEAAAFAAAEAAAEAAAEAAADAAADAAAFAAAHAAAFAAAAAAAFAAAEAAAAAAAEAAAFAAADAAADAAAEAAAEAAADAAAEAAAFAAADAAAEAAAAAAADAAADAAAEAADKKhWhAAAAOnRSTlMAQIC/qMxgiXfrmPcyx2s677H74nJVKRQS0LmFCd22LtjUrJ2RNiUgGaNEDXxmW0nz5k6OZFK9Flfau44tfQAAB5tJREFUeNrs29lu2lAUheFlMGAwEAhDCXEgATOEMDQUMqz3f7CqalVtN8DGDLZP5e8J+C8W8jmykUqlUqlUKpVKpVKpVGJYS2c7humm8wf+Uu/AZK0e/3qHqfr+dwo2jORVc/xHHuaZPfOrOgwzyTS4Ux8m+ehynwyMUfZr3O8JZvCqdzxsCwOsbO5k1j/w732r3AkSbfnGIzlIrlGpxqPlkFAvzRxDWSGJVgMqvvtl2BRKSJzx/QMV3Q8AsCgUPSRLXt13Yz7FbxUKVSTIzVDd9/MMfzkU3pAUHX3fuaoHYXybwCfHtbrvmt9HUHDuPxC/cUHdd6+Fr1qB7SBuG3Xfn/Mpdvqk8IE43QyLPOz22cI+hYQcFN8ddd+VhYf9RpQ6iMd2cMvDXn/0cdhb7AfFtr7v+haqaswHxUWXiifnHdB1ahRuECmrpO3bHVo40jCug+JU33d2g+OtKLiISsvW9t0otBHKHYUFotAvfFIxWCOsecQHRU/fd875hvDGlCa4rpm671rpBqepU/BxRROnQkU3j5MtKRQREO2+PzNjnKMRwSVE+f5RfSRc40w+hS6E6PZdqXZwthElD0DE+y76I1xEYIJO1PuuL3Ep1WsdFFu2qz0Szse4nG8uhX5k+3aHM1zWM4UhLuBl06Miu3jBpa0oXWLfr+ojYRnX8Ehheea+m+q+B5mroVDJ7LUZedr523ZphAdL2bc5Rtits+nRLG3sYPmvNE0F/3rR9/3A5HE9BN08aU+29jrLBCojoKqdXJtTIJEhFqQZDymWLABGhJS4X2/jAaaE3HGPx/s+AHNCatzFfd4CMCqky6+yzQlgWkiB/2j4FoBDIXUH8WhnavtDLAY5L4ASYiE2vQO/o0LpA9BC7hCf/IEQh5Klh2QRH+vAbx27/0kIbAoFg0NaFIoGhwTfO1gbHFKgMDA4ZESpY25I8DGlaXBI8L0Dg0PeaxRG5oZgSKFkcMiKwu1pIZ384Kn2/TG77ECIOCR4TlyeEDLNvPKP18wUQrQhcwpv4UPaT8rFbFQhbUqTsCGWcjEbXQjqFDIhQyzlYjbKkDyFRsiQnPL9RJQhaFCYhQpZcIcFjla+aIhPwQ4VUjnzk5Z6+/QQba+dECEj5bJGM6d9coh6UVINEXLPne5xHMsly5cMaVLIhQgZcqchjuJlSfZODdHfOygfH9LlTl0o5KnOOjFEf+/APz7EPufjyO3P9s5tKZUYiKI9owKDIBdHFJWLHEUQlYsoVP//h52qI3U0FWB3JzOUY8169sGl1clOdwIwiOpF3vkbM7nIGxuo3oGM2uCiGRLB9w4uxCIL3sqaBJTNovQXsZefrljkts5bmE10HdALVxGcHIEIGHqVCdPqgBO2g4i9/jyLRSpw5GpjLxOFZETs0NTZI4LLPSRMbM5lEhShyEiOYhE6ctkNaxHzjjQxrXmKlI1fRipiz726BLE30jp9UikdcVEhgpPjRC5C4Zz/Mw9JQLj1Mfvo821s30PEPiK9KERoFG72tras9zA9tUfJtKzyhp5GBDUhqlDEpHcRx+uARFyBezyxp8iluYQCEQ/u0XMBTxEaGOOr1EReGTHUioDxVToij23ew7xxU6hdeYpQx0iOKYn82XM37KUy8d0Q7V26kY7I2e5XTUO3nR0nxzREKp0dd8OeCLKcS0TsuFFKSgQfKe8fSURcF4jY46sUREq8hUZAUlY3TZEIzYzkmLhIELFFu0AaemNLBD9+SFrktssW4cTpvxpoMn9z4iuC23mvpGfaxyJ0ZyTHZEXerazYrJELV8ccqAL2UaIiI+sIdj4iR+IAytrJUS+yKN1KsmKV3Al0F+6KTiLBKXenOCv2KUHwB67oRSoRM8+KKzJotdnknFJmbiRHvciws8lOhb1ZMbqk5MBNiIFaZPV1Yh4Pd2fFWY0SBSdHpcjt958+j2nDQ4cNmgvS4f9sVinSYIPryvasWCAV4YP3iaGtExlb3ZFwW1Yckw6OXsmBpnGCASKwpX0S0FPEBvOhVoQ59D0zlBUiRd7KW5dNzkgvwseXflcMZhOxyDPLGJCLCJ+AhQ41IZZSkTOWUe+5iXAdLBEgOX4IRQospEhqwPxemBwNEZjRMT1nEX2hfKhFniIWckyOIqhQcHIEIsbOjVl4ifBMVyh1NgAiRrQFVMlDRF8oZSBinf3ExN4iPFAUSksjMumymPrKX4TbikJpK0SOWc41uWAluII+OWKRMiu4IRd8NiMsYrfw9WtWLxDBNg1poQyEIiFriFbgjyDnTlgogUwkZhVdMmAfmsJCOZeILFlH6C2iL5RQILIOlSy8RfSFcgVF/GFf+jXCHGVARFQoF1kQERXKaSZEBIVSzoYIvtzZ+i0i1M+EiGANPsuCSJEE/HwRYU4Z/HSRvlNy9KdK6UQUTMSJUp+kExoxISdL5RAxHidHf9Z0gIMVTo7+PNMBjro4OfozppSaDxhOlDs6RDsIJ0d/WpROgw4z5EQp0QFapjg5+lOlQzSxcXL0p0IpjRUw6S7A+kGPM0GyEPmN3jLNV3lknE3kzOLXIW+/MJB5fkN5/CNb34QMrjn9CsIHysnJycnJycnJycnJycnB/AUiHJaNu/P1RgAAAABJRU5ErkJggg==",ek="",k1=(t,e)=>{const A=t.__vccOpts||t;for(const[r,n]of e)A[r]=n;return A},K4={class:"title"},V4={class:"subTitle"},G4={style:{width:"20px",display:"flex","justify-content":"center"}},z4={class:"mychart"},W4=["id"],Mu=k1({__name:"HydroGraph",props:{id:{type:String,default(){return f2()}},chartOption:{type:Object,default(){return{}}},legendList:{type:Array,default(){return[]}},width:{type:String,default(){return"100%"}},height:{type:String,default(){return"100%"}},backgroundColor:{type:String,default(){return"#fff"}}},setup(t,{expose:e,emit:A}){Ht([yH,RM,DH,r2,nL,_L,bD,u2]);const r=L.ref(),n=t;n.chartOption.series||(n.chartOption.series=[]);let i={};const a=A;let o={};L.watch(()=>n.chartOption,()=>{L.nextTick(()=>{let O=setInterval(()=>{document.getElementById(n.id)&&document.getElementById(n.id).offsetHeight>100&&document.getElementById(n.id).offsetWidth>100&&(m&&m.getOption()&&!n.chartOption.restoreZoom&&(o={...m.getOption().dataZoom[0],moveOnMouseMove:n.chartOption.series.some(N=>N.openBarDrag&&(N.type=="line"||N.type=="markLine"))?"ctrl":!0}),Q(),clearInterval(O))},100)})},{deep:!0,immediate:!0});let s={};L.watch(()=>n.legendList,()=>{m&&(s=m.getOption().legend[0].selected);let O=n.legendList.map(H=>{let K=u.find(P=>P.code==H.name);return K?{...H,...K}:{...H}}),N=JSON.parse(JSON.stringify(c.value));i={},c.value=O.map(H=>{const K=N.find(se=>se.name==H.name);i[H.name]=H,H.children&&(H.children=H.children.map(se=>{i[se.name]=se;let ne="";return n.chartOption.isDefaultElement===!1?ne=s[se.name]!=null?s[se.name]:se.isSelected:K&&K.children&&K.children.find(xe=>xe.name==se.name)?ne=K.children.find(xe=>xe.name==se.name).isSelected:ne=se.isSelected,{...se,isSelected:ne,id:Math.random()}}));let P="";return n.chartOption.isDefaultElement===!1?P=s[H.name]!=null?s[H.name]:H.isSelected:H.compel?P=H.isSelected:K?P=K.isSelected:P=H.isSelected,{...H,isSelected:P,id:Math.random()}})},{deep:!0});const l=[{name:"实况雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"实测水位",type:"line",color:"#304755",unit:"m"},{name:"库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"5分钟水位",type:"line",color:"#304755",unit:"m"},{name:"5分钟库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"校核洪水位",type:"markLine",color:"#ffa500",unit:"m"},{name:"设计洪水位",type:"markLine",color:"#a52a2a",unit:"m"},{name:"正常高水位",type:"markLine",color:"#008000",unit:"m"},{name:"死水位",type:"markLine",color:"#000000",unit:"m"},{name:"坝顶高程",type:"markLine",color:"#cf0ce1",unit:"m"},{name:"梅汛期",code:"MXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"台汛期",code:"TXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"累计降雨",type:"line",color:"red",unit:"mm"},{name:"可纳雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"作业预报时间",type:"markLine",color:"#ff0000"}],u=[{name:"实况雨量",code:"P",color:"#0000ff",icon:"histogram"},{name:"实测水位",code:"RZ",color:"#304755",icon:"straightLine",iconWidth:"30",iconHeight:"30"},{name:"库容",code:"W",color:"#197e2b",icon:"straightLine",iconWidth:"30",iconHeight:"30"}],f=["校核洪水位","设计洪水位","正常高水位","坝顶高程","死水位","主汛期"],c=L.ref(n.legendList.map((O,N)=>{let H=u.find(K=>K.code==O.name);return O.color||(O.color=MC[N]),H?{...O,...H}:{...O}}));c.value.forEach(O=>{i[O.name]=O,O.children&&O.children.forEach(N=>{i[N.name]=N})});const h=L.ref(!0);let v=null;const d=O=>{var H;let N=[];h.value=O,c.value.forEach(K=>{K.isSelected=O,N.push(K.name),K.children&&K.children.forEach(P=>{P.isSelected=O,N.push(P.name)})}),N.forEach(K=>{y[K]=O,E(K,O)}),o={...(H=m.getOption())==null?void 0:H.dataZoom[0]},Q()},g=(O,N)=>{var K;let H=[];c.value.forEach(P=>{P.name==N?(P.isSelected=O,P.children?P.children.forEach(se=>{se.isSelected=O,H.push(se.name)}):H.push(P.name)):P.children&&P.children.forEach(se=>{se.name==N&&(se.isSelected=O,H.push(se.name),P.children.filter(ne=>ne.isSelected).length==P.children.length?P.isSelected=!0:P.isSelected=!1)})}),H.forEach(P=>{Array.isArray(P)?(y[P[0]]=O,y[P[1]]=O,E(P[0],O),E(P[1],O)):(y[P]=O,E(P,O))}),v=c.value.some(P=>P.isSelected==!1),v?h.value=!1:h.value=!0,o={...(K=m.getOption())==null?void 0:K.dataZoom[0]},Q()};L.onMounted(()=>{window.addEventListener("keydown",B)});let p={};const B=O=>{if(O.key==="i"){let N=JSON.parse(JSON.stringify(m.getOption()));N.series.forEach(H=>{H.markPoint&&H.markPoint.data.length!=0?H.markPoint.data=[]:H.markPoint&&H.markPoint.data==0&&(H.markPoint=p[H.name])}),m.setOption(N)}};let y={},m,_;const C=L.ref({}),Q=async()=>{let O=n.chartOption.series.map(w=>{let J="";return w.code?J=l.find(M=>M.code==w.code):J=l.find(M=>M.name==w.name),J?{...J,...w}:{...w}});c.value.forEach(w=>{y[w.name]=w.isSelected,w.children&&w.children.forEach(J=>{y[J.name]=J.isSelected})}),_=document.getElementById(n.id),m||(m=HI(_));let N=O.filter(w=>Array.isArray(w.data));const H=N.every(w=>Array.isArray(w.data)&&w.data.length===0),K=HC(new Date(we().subtract(5,"day").format("YYYY-MM-DD 08:00")),new Date(we().format("YYYY-MM-DD HH:00")),60).map(w=>[w,""]);let P=[];N.forEach(w=>{P=P.concat(w.data)}),P=[...new Set(P.map(w=>w[0]))],P.sort((w,J)=>Date.parse(w)-Date.parse(J)),P.some(w=>kl(w))&&(P=P.filter(w=>kl(w)));let se=P[0];n.chartOption.series.forEach(w=>{w.name=="开始"&&w.sectionStartTime&&(se=w.sectionStartTime)});let ne=JSON.parse(JSON.stringify(n.chartOption.grid)),xe=n.chartOption.xAxis.map((w,J)=>{let M="";w.show==!1||ne.length>1&&J==0?M=!1:M=!0;let te={type:w.type,logBase:w.logBase||10,gridIndex:w.gridIndex,name:M&&w.type=="time"?"时间":w.name,nameLocation:M&&w.type=="time"?"end":"middle",nameTextStyle:{color:"#333",verticalAlign:M&&w.type=="time"?"top":""},position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,nameGap:M&&w.type=="time"?45:w.nameGap?w.nameGap:w.name?25:0,axisLabel:{show:M,rotate:w.rotate,formatter:function(ce){return w.type=="time"?U(we(we(ce).format("YYYY-MM-DD HH:mm")))?n.chartOption.xTimeType?`{a|${n.chartOption.xTimeType}}`:"{a|{yyyy}-{MM}-{dd} {HH}:{mm}}":n.chartOption.xTimeType?n.chartOption.xTimeType:"{MM}-{dd} {HH}:{mm}":w.name?w.name.includes("m³/s")?Ti(ce):w.name.includes("万m³")?ce.toFixed(2):w.name.includes("mm")?ce.toFixed(1):w.name.includes("m")?ce.toFixed(2):(ce||ce==0)&&w.toFixed?Number(ce).toFixed(w.toFixed):ce:ce},rich:{a:{fontWeight:"bold"}},color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333",hideOverlap:!0},axisLine:{show:!0,lineStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#8a949c"}},splitLine:{show:w.splitLineHide?!1:w.gridIndex!=2,lineStyle:{color:"#e0e6f1"}},axisTick:{show:w.show==!1?!1:!(ne.length>1&&J==0),alignWithLabel:n.chartOption.alignWithLabel!=null?n.chartOption.alignWithLabel:!0},boundaryGap:w.boundaryGap?w.boundaryGap:["1%","1%"]};if(w.data&&(te.data=w.data),w.type=="value"||w.type=="log"){let ce=0,_e=100,ee=10;w.name.includes("m³/s")?(_e=1e3,ee=100):w.name.includes("万m³")&&(_e=1e4,ee=1e3);let k=n.chartOption.series.filter(Ae=>Ae.yAxisIndex==J),oe=[],z=[],W=0,me=100;k.forEach(Ae=>{Ae.data instanceof Array&&(oe=oe.concat(Ae.data))}),oe[0]instanceof Array&&(z=oe.filter(Ae=>Ae[0]!=""&&Ae[0]!=null&&Ae[0]!=null&&!isNaN(Ae[0])).map(Ae=>Number(Ae[0]))),z.length>0&&(W=Math.min(...z),me=Math.max(...z),k.some(Ae=>Ae.type=="bar")||w.name.includes("雨")?(ce=0,(W!==0||me!==0)&&(_e=Math.ceil(me/be(0,me))*be(0,me),ee=be(0,me))):w.min||w.min==0?(ce=w.min,(W!==0||me!==0)&&(_e=Math.ceil(me/be(w.min,me))*be(w.min,me),ee=be(w.min,me))):(W!==0||me!==0)&&(ce=Math.floor(W/be(W,me))*be(W,me),_e=Math.ceil(me/be(W,me))*be(W,me),ee=be(W,me))),te.min=w.min!=""&&w.min!=null?w.min:ce,te.max=w.max!=""&&w.max!=null?w.max:_e,te.interval=w.interval&&w.max&&(w.min||w.min==0)?w.interval:ee,w.interval&&w.max&&(w.min||w.min==0)&&w.interval,te.minorTick={show:!!w.isMinorSplitLineShow}}return te}),Ie=n.chartOption.yAxis.map((w,J)=>{let M=0,te=100,ce=10;if(w.name.includes("m³/s")?(te=1e3,ce=100):w.name.includes("万m³")&&(te=1e4,ce=1e3),w.name=="可纳雨量(mm)")return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:"#333"},nameGap:w.nameGap,type:"value",position:w.position,offset:w.offset,min:w.min,max:w.max,interval:w.interval,axisLabel:{formatter:_e=>_e.toFixed(1),color:"#333"},axisLine:{show:!0,lineStyle:{color:"#8a949c"}},splitLine:{show:!1},minorTick:{show:!0},axisTick:{show:!0}};{let _e=n.chartOption.series.filter(Ae=>Ae.yAxisIndex==J&&(y[Ae.name]||!Object.keys(y).includes(Ae.name))),ee=[],k=[],oe=[],z=0,W=100,me=null;if(_e.forEach(Ae=>{Ae.data instanceof Array?((Ae.data2?Ae.data2:Ae.data).forEach(ge=>{if(ge instanceof Array&&ge.length>=2){const Ne=ge[1];if(Ne!=""&&Ne!=null&&Ne!=null&&!isNaN(Ne)){const We=Number(Ne);me===null&&(me=We)}}}),ee=Ae.data2?ee.concat(Ae.data2):ee.concat(Ae.data)):Ae.data.name=="yAxis"&&Ae.data.value&&oe.push(Number(Ae.data.value))}),ee[0]instanceof Array?k=ee.filter(Ae=>Ae[1]!=""&&Ae[1]!=null&&Ae[1]!=null&&!isNaN(Ae[1])).map(Ae=>Number(Ae[1])):ee[0]instanceof Object&&ee[0].value?k=ee.map(ue=>ue.value).filter(ue=>ue!=""&&ue!=null&&ue!=null&&!isNaN(ue)).map(ue=>Number(ue)):k=ee.filter(Ae=>Ae!=""&&Ae!=null&&Ae!=null&&!isNaN(Ae)).map(Ae=>Number(Ae)),k.length>0||oe.length>0){if(z=Math.min(...k,...oe),W=Math.max(...k,...oe),_e.some(Ae=>Ae.type=="bar")||w.name.includes("雨"))M=0,n.chartOption.xAxis.length>1&&w.inverse?(z!==0||W!==0)&&(te=Math.ceil(W/be(0,W,1))*be(0,W,1)+be(0,W,1)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ce=be(0,W,1)):(z!==0||W!==0)&&(te=Math.ceil(W/be(0,W))*be(0,W)+be(0,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ce=be(0,W));else if(w.min||w.min==0)M=w.min,(z!==0||W!==0)&&(te=Math.ceil(W/be(w.min,W))*be(w.min,W)+be(w.min,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ce=be(w.min,W));else if(z!==0||W!==0)if(n.chartOption.xAxis.some(ue=>ue.type==="value")&&me!==null){M=me;const ue=be(M,W);te=Math.ceil((W-M)/ue)*ue+M+ue*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ce=ue}else M=Math.floor(z/be(z,W))*be(z,W)-be(z,W)*(w.downIntervalNumber!=null?w.downIntervalNumber:1),te=Math.ceil(W/be(z,W))*be(z,W)+be(z,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ce=be(z,W)}if(w.rangeType==1){let Ae="",ue="";Math.abs(W)>Math.abs(z)?ue=Math.abs(W):ue=Math.abs(z),Ae=Math.ceil(ue/be(0,ue))*be(0,ue),te=Ae,M=0-Ae,ce=be(0,Math.abs(Ae))}return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333"},nameGap:w.nameGap,type:w.type||"value",logBase:w.logBase||10,position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,min:w.min!=""&&w.min!=null?w.min:M,max:w.max!=""&&w.max!=null?w.max:te,interval:w.interval&&w.max&&(w.min||w.min==0)?w.interval:ce,axisLabel:{formatter:Ae=>w.name.includes("m³/s")?Ti(Ae):w.name.includes("万m³")?Ae.toFixed(2):w.name.includes("mm")?Ae.toFixed(1):w.name.includes("m")?Ae.toFixed(2):Ae,color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333"},axisLine:{show:!0,lineStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#8a949c"}},axisTick:{show:!0},splitLine:{show:!(ne.length>1&&w.index==1&&w.position=="right"||ne.length==1&&w.index==0&&w.position=="right"||w.splitLineHide),lineStyle:{color:"#e0e6f1"}},minorTick:{show:!0},minorSplitLine:{show:ne.length>1&&w.index==1&&w.position=="right"||ne.length==1&&w.index==0&&w.position=="right"||w.splitLineHide?!1:!w.minorSplitLineHide,lineStyle:{color:"#f4f7fd"}},axisTick:{show:!0}}}}),V=O.some(w=>w.openBarDrag),le=O.map((w,J)=>{var te,ce,_e;let M={};if(w.type=="bar")w.name=="可纳雨量"?M={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,barWidth:w.barWidth,data:H?K:w.data,label:{show:!0,position:"top",color:"black",fontFamily:"Times New Roman"},itemStyle:{color:function(ee){if(w.barColor=="1"){if(ee.dataIndex===0)return"#ff0000";if(ee.dataIndex===1)return"#a52a2a";if(ee.dataIndex===2)return"#ffa500";if(ee.dataIndex===3)return"#cf0ce1"}else return"#00a651"}},zlevel:9,z:9}:M={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,label:{show:w.isLabelShow?w.isLabelShow:!1,position:"top",fontFamily:"Times New Roman",formatter:function(ee){return"{a0|"+(Array.isArray(ee.value)?ee.value[1]:ee.value)+"}"},rich:{a0:{color:i[w.name]?i[w.name].color:w.color,fontSize:12}}},stack:w.stack?w.stack:"",tooltip:{show:w.isTooltipShow!=!1,trigger:"axis",type:"none"},itemStyle:w.itemStyle?w.itemStyle:{color:function(ee){let k=i[w.name]?i[w.name].color:w.color?w.color:MC[J];return w.color2&&ee.value[1]<0?w.color2:k},decal:{symbol:w.pattern?w.pattern:"none"}},barCategoryGap:w.barCategoryGap?w.barCategoryGap:Ie[w.yAxisIndex].inverse?"0%":"20%",barGap:w.barGap?w.barGap:"0%",data:H?K:w.data,zlevel:9,z:9},w.barWidth&&(M.barWidth=w.barWidth,w.barGap?M.barGap=w.barGap:M.barGap="20%"),w.barMaxWidth&&(M.barMaxWidth=w.barMaxWidth,w.barGap?M.barGap=w.barGap:M.barGap="20%");else if(w.type=="line"){let ee="rgba(0, 0, 0, 0)";n.chartOption.isFace&&(n.chartOption.faceNames?n.chartOption.faceNames.includes(w.name)&&(i[w.name]?ee=i[w.name].color:ee=w.color):i[w.name]?ee=i[w.name].color:ee=w.color);let k="",oe=!1;if(w.showSymbol||((te=i[w.name])==null?void 0:te.icon)=="dottedLine"?w.symbolSize?k=w.symbolSize:k=5:n.chartOption.isTooltipItem?(k=10,oe=!0):k=0,M={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,opacity:w.showSymbol||((ce=i[w.name])==null?void 0:ce.icon)=="dottedLine"?1:0},lineStyle:w.lineStyle?w.lineStyle:{type:((_e=i[w.name])==null?void 0:_e.icon)=="dotted"?"dotted":"solid"},areaStyle:{color:ee,opacity:.5},smooth:w.smooth!=null?w.smooth:!1,showSymbol:!0,symbol:w.symbol?w.symbol:"circle",connectNulls:!0,symbolSize:k,data:H?K:w.data,silent:V?w.openBarDrag!==!0:!1,triggerLineEvent:oe,zlevel:9,z:9},w.isMaxMinShow&&w.data.length>0){let z=w.data.filter(ge=>!ge[2]).filter(ge=>ge[1]),W=z.reduce((ge,Ne)=>parseFloat(Ne[1])>parseFloat(ge[1])?Ne:ge,z[0]),me=W?W[0]:"",Ae=W?W[1]:"",ue;P.forEach((ge,Ne)=>{we(ge).isValid()&&ge==me&&(ge.markPointOffset||(Ne>=P.length/5*4?ue=[-200,0]:Ne>=P.length/5*3?ue=[-150,0]:Ne>=P.length/5*2?ue=[-100,0]:Ne>=P.length/5*1?ue=[-50,0]:Ne>=0&&(ue=[0,0])))}),M.markPoint={symbol:"pin",symbolSize:20,label:{show:w.isMarkPointLabelShow!==!1,position:"top",align:"left",fontSize:16,backgroundColor:w.backgroundColor?w.backgroundColor:i[w.name]?i[w.name].color:w.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:w.markPointColor?w.markPointColor:"#fff",formatter:ge=>{let Ne="";if(ge.data&&ge.data.coord&&ge.data.coord[0]){let kt=w.tmType?w.tmType:"YYYY-MM-DD HH:mm";Ne=we(ge.data.coord[0]).format(kt)}let We="",vt="";if(ge.name=="Max")return We=w.maxText?w.maxText:"最大值",w.unit.includes("m³")?vt=ge.value?Ti(ge.value):"--":w.unit.includes("mm")?vt=ge.value?Number(ge.value).toFixed(1):"--":w.unit.includes("m")?vt=ge.value?Number(ge.value).toFixed(2):"--":vt=ge.value,w.tmText?`${We}: {a0|${vt}} ${w.unit}
67
- ${w.tmText}: {a1|${Ne}}`:`${w.tmText2?w.tmText2:"相应时间"}: {a1|${Ne}}
68
- ${We}: {a0|${vt}} ${w.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:[{name:"Max",label:{offset:w.markPointOffset?w.markPointOffset:ue||[-120,0]},xAxis:me,yAxis:Ae,value:Ae}]}}}else if(w.type=="markLine"){let ee={},k=[];w.labelType==2?(w.name=="开始"?k=[0,0,-80,180]:w.name=="结束"&&(k=[0,180,-120,0]),ee={show:!w.labelHide,position:"end",fontWeight:"bold",padding:k,fontFamily:"Times New Roman",lineHeight:20,fontSize:15}):ee={show:!w.labelHide,position:"insideStartTop",fontFamily:"Times New Roman",lineHeight:20,fontSize:15},M={name:w.name,type:"line",xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,markLine:{symbol:"none",label:ee,data:[{lineStyle:{type:w.markLineStyle?w.markLineStyle:w.name=="开始"||w.name=="结束"?"dashed":[5,2],dashOffset:0,color:i[w.name]?i[w.name].color:w.color,width:w.name=="开始"||w.name=="结束"?5:1},[w.data.name]:String(w.data.value),label:{color:i[w.name]?i[w.name].color:w.color,fontFamily:"Times New Roman, serif",distance:-2,position:w.position?w.position:"insideStartTop",formatter:function(oe){if(w.labelType==2){let z="";return w.name=="开始"?z=`${w.name}: ${oe.value}`:w.name=="结束"&&(z=`${w.name}: ${ve(oe.value)}`),w.labelArr&&w.labelArr.forEach(W=>{z+=`{a1|
69
- ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w.name.includes("梅汛期")||w.name.includes("台汛期"))&&(z="{a0|▽}"),w.data.name=="xAxis"?w.name:` ${z}${w.name}: ${w.data.value} ${w.unit} `}},rich:{a0:{fontSize:15},a1:{color:"red",fontSize:16,fontFamily:"黑体"}}},emphasis:{lineStyle:{width:w.name=="开始"||w.name=="结束"?6:3}}}]}}}else w.type=="scatter"?M={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,symbolSize:w.symbolSize,itemStyle:{color:i[w.name]?i[w.name].color:w.color},data:H?K:w.data,zlevel:9,z:9}:w.type=="boxplot"&&(M={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,borderWidth:2,borderColor:"black"},boxWidth:w.boxWidth?w.boxWidth:30,emphasis:{itemStyle:{borderWidth:2}},data:H?K:w.data,zlevel:9,z:9});return w.markArea&&(w.markArea.data?M.markArea={silent:w.markArea.silent?w.markArea.silent:!1,label:w.markArea.label?w.markArea.label:{},itemStyle:w.markArea.itemStyle?w.markArea.itemStyle:{},data:w.markArea.data}:M.markArea={silent:!0,itemStyle:{opacity:w.markArea.opacity?w.markArea.opacity:.3,color:w.markArea.color?w.markArea.color:"#BEE6E6",borderColor:w.markArea.borderColor?w.markArea.borderColor:"red",borderWidth:w.markArea.borderWidth?w.markArea.borderWidth:2},data:[[{xAxis:w.markArea.start},{xAxis:w.markArea.end}]]}),M}),Se=Ie.map(w=>w.name),AA={},Nt={};if(Se.includes("水位(m)")&&Se.includes("库容(万m³)")&&n.chartOption.stationCode){let w=Ie.find(k=>k.name=="水位(m)"),J=[];for(let k=w.min;k<=w.max;k+=w.interval)J.push(k);let M=[];for(let k=0;k<J.length;k++)if(w.max==100)M.push(k*1e3);else if(J[k]==0)M.push(0);else{let oe=await X(J[k],k);M.push(oe)}Ie.forEach(k=>{k.name=="水位(m)"?k.offset=80:k.name=="库容(万m³)"&&(k.offset=80,k.nameGap=-70,k.splitLine.show=!1,k.minorSplitLine.show=!1,k.axisLabel.inside=!0,k.axisTick.inside=!0,ne.length>1?k.gridIndex==0?(ne[k.gridIndex].left=150,ne[k.gridIndex].right=20,ne[1].left=150,ne[1].right=20):k.gridIndex==1&&(ne[0].left=150,ne[0].right=70,ne[k.gridIndex].left=150,ne[k.gridIndex].right=70):ne.length==1&&(ne[k.gridIndex].left=150,ne[k.gridIndex].right=20),k.position="left",k.max=w.max,k.min=w.min,k.interval=w.interval,k.axisLabel.formatter=(oe,z)=>M[z]||M[z]==0?Number(M[z]).toFixed(2):"")});let te=le.find(k=>k.name=="库容"),ce=le.find(k=>k.name=="5分钟库容"),_e=le.find(k=>k.name=="实测水位"||k.name=="水位"),ee=le.find(k=>k.name=="5分钟水位");te&&te.data&&te.data.forEach(k=>{AA[k[0]]=k[1]}),ce&&ce.data&&ce.data.forEach(k=>{Nt[k[0]]=k[1]}),le.forEach(k=>{k.name=="库容"?k.data=_e.data:k.name=="5分钟库容"&&(k.data=ee.data)})}let Or=[...P];if(P.some(w=>kl(w))&&(Or=Or.filter(w=>{let J=we(w);if(kl(w)&&J.minute()===0&&J.second()===0)return w})),ne.length==1?le.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:n.chartOption.series.length==0?K:Or.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}):le.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:n.chartOption.series.length==0?K:Or.map(w=>[w,void 0]),type:"line",z:9,zlevel:9},{name:"b",xAxisIndex:1,yAxisIndex:Ie.findIndex(w=>w.gridIndex==1),data:n.chartOption.series.length==0?K:Or.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}),ne.length==1?ne.forEach((w,J)=>{w.top=w.newTop?w.newTop:10,w.bottom=w.newBottom?w.newBottom:n.chartOption.xAxis[J].name?40:20}):ne.length==2?ne.forEach((w,J)=>{J==0?(w.top=10,w.height=n.chartOption.isTwoXAxis?"48%":"26%"):J==1&&(w.top=n.chartOption.isTwoXAxis?"52%":"30%",w.bottom=n.chartOption.xAxis[J].name?40:20)}):ne.length==3&&ne.forEach((w,J)=>{J==0?(w.top=10,w.height="26%"):(J==1||J==2)&&(w.top="30%",w.bottom=40)}),C.value={animation:!0,tooltip:{show:!(n.chartOption.isTooltipItem||n.chartOption.tooltipShow==!1),hideDelay:0,triggerOn:"mousemove",trigger:n.chartOption.tooltipType=="1"?"item":"axis",axisPointer:{animation:!1,animationDuration:1e3,animationDurationUpdate:200},formatter:function(w){if(n.chartOption.tooltipType=="1"){if(w.componentSubType=="boxplot"){let J=N[0]?N[0].unit:"",M=w.name+"<br/>";return M+=`<div style='padding-right:8px'>
65
+ }`,D4=function(A){L4(A,"."+wp+I4+b1+`
66
+ .`+Cp+T4+b1)},L4=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},S1=(function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A})(),M4=(function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Qp(e)||N4(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return Rt(this,void 0,void 0,function(){var t,r,n,i,a=this;return St(this,function(o){switch(o.label){case 0:return t=S1.isSameOrigin(e),r=!_p(e)&&this._options.useCORS===!0&&Ct.SUPPORT_CORS_IMAGES&&!t,n=!_p(e)&&!t&&!Qp(e)&&typeof this._options.proxy=="string"&&Ct.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!_p(e)&&!Qp(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(s,l){var u=new Image;u.onload=function(){return s(u)},u.onerror=l,(P4(i)||r)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return s(u)},500),a._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,a){var o=Ct.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(s.status===200)if(o==="text")i(s.response);else{var f=new FileReader;f.addEventListener("load",function(){return i(f.result)},!1),f.addEventListener("error",function(c){return a(c)},!1),f.readAsDataURL(s.response)}else a("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=o),t._options.imageTimeout){var u=t._options.imageTimeout;s.timeout=u,s.ontimeout=function(){return a("Timed out ("+u+"ms) proxying "+n)}}s.send()})},A})(),H4=/^data:image\/svg\+xml/i,O4=/^data:image\/.*;base64,/i,R4=/^data:image\/.*/i,N4=function(A){return Ct.SUPPORT_SVG_DRAWING||!k4(A)},_p=function(A){return R4.test(A)},P4=function(A){return O4.test(A)},Qp=function(A){return A.substr(0,4)==="blob"},k4=function(A){return A.substr(-3).toLowerCase()==="svg"||H4.test(A)},j=(function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A})(),fa=function(A,e,t){return new j(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},vf=(function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=fa(this.start,this.startControl,e),n=fa(this.startControl,this.endControl,e),i=fa(this.endControl,this.end,e),a=fa(r,n,e),o=fa(n,i,e),s=fa(a,o,e);return t?new A(this.start,r,a,s):new A(s,o,i,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A})(),pA=function(A){return A.type===1},V4=(function(){function A(e){var t=e.styles,r=e.bounds,n=Ko(t.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],o=Ko(t.borderTopRightRadius,r.width,r.height),s=o[0],l=o[1],u=Ko(t.borderBottomRightRadius,r.width,r.height),f=u[0],c=u[1],h=Ko(t.borderBottomLeftRadius,r.width,r.height),v=h[0],d=h[1],g=[];g.push((i+s)/r.width),g.push((v+f)/r.width),g.push((a+d)/r.height),g.push((l+c)/r.height);var p=Math.max.apply(Math,g);p>1&&(i/=p,a/=p,s/=p,l/=p,f/=p,c/=p,v/=p,d/=p);var B=r.width-s,m=r.height-c,y=r.width-f,_=r.height-d,C=t.borderTopWidth,Q=t.borderRightWidth,x=t.borderBottomWidth,F=t.borderLeftWidth,S=Ze(t.paddingTop,e.bounds.width),E=Ze(t.paddingRight,e.bounds.width),I=Ze(t.paddingBottom,e.bounds.width),U=Ze(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?$e(r.left+F/3,r.top+C/3,i-F/3,a-C/3,Pe.TOP_LEFT):new j(r.left+F/3,r.top+C/3),this.topRightBorderDoubleOuterBox=i>0||a>0?$e(r.left+B,r.top+C/3,s-Q/3,l-C/3,Pe.TOP_RIGHT):new j(r.left+r.width-Q/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=f>0||c>0?$e(r.left+y,r.top+m,f-Q/3,c-x/3,Pe.BOTTOM_RIGHT):new j(r.left+r.width-Q/3,r.top+r.height-x/3),this.bottomLeftBorderDoubleOuterBox=v>0||d>0?$e(r.left+F/3,r.top+_,v-F/3,d-x/3,Pe.BOTTOM_LEFT):new j(r.left+F/3,r.top+r.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?$e(r.left+F*2/3,r.top+C*2/3,i-F*2/3,a-C*2/3,Pe.TOP_LEFT):new j(r.left+F*2/3,r.top+C*2/3),this.topRightBorderDoubleInnerBox=i>0||a>0?$e(r.left+B,r.top+C*2/3,s-Q*2/3,l-C*2/3,Pe.TOP_RIGHT):new j(r.left+r.width-Q*2/3,r.top+C*2/3),this.bottomRightBorderDoubleInnerBox=f>0||c>0?$e(r.left+y,r.top+m,f-Q*2/3,c-x*2/3,Pe.BOTTOM_RIGHT):new j(r.left+r.width-Q*2/3,r.top+r.height-x*2/3),this.bottomLeftBorderDoubleInnerBox=v>0||d>0?$e(r.left+F*2/3,r.top+_,v-F*2/3,d-x*2/3,Pe.BOTTOM_LEFT):new j(r.left+F*2/3,r.top+r.height-x*2/3),this.topLeftBorderStroke=i>0||a>0?$e(r.left+F/2,r.top+C/2,i-F/2,a-C/2,Pe.TOP_LEFT):new j(r.left+F/2,r.top+C/2),this.topRightBorderStroke=i>0||a>0?$e(r.left+B,r.top+C/2,s-Q/2,l-C/2,Pe.TOP_RIGHT):new j(r.left+r.width-Q/2,r.top+C/2),this.bottomRightBorderStroke=f>0||c>0?$e(r.left+y,r.top+m,f-Q/2,c-x/2,Pe.BOTTOM_RIGHT):new j(r.left+r.width-Q/2,r.top+r.height-x/2),this.bottomLeftBorderStroke=v>0||d>0?$e(r.left+F/2,r.top+_,v-F/2,d-x/2,Pe.BOTTOM_LEFT):new j(r.left+F/2,r.top+r.height-x/2),this.topLeftBorderBox=i>0||a>0?$e(r.left,r.top,i,a,Pe.TOP_LEFT):new j(r.left,r.top),this.topRightBorderBox=s>0||l>0?$e(r.left+B,r.top,s,l,Pe.TOP_RIGHT):new j(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||c>0?$e(r.left+y,r.top+m,f,c,Pe.BOTTOM_RIGHT):new j(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=v>0||d>0?$e(r.left,r.top+_,v,d,Pe.BOTTOM_LEFT):new j(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?$e(r.left+F,r.top+C,Math.max(0,i-F),Math.max(0,a-C),Pe.TOP_LEFT):new j(r.left+F,r.top+C),this.topRightPaddingBox=s>0||l>0?$e(r.left+Math.min(B,r.width-Q),r.top+C,B>r.width+Q?0:Math.max(0,s-Q),Math.max(0,l-C),Pe.TOP_RIGHT):new j(r.left+r.width-Q,r.top+C),this.bottomRightPaddingBox=f>0||c>0?$e(r.left+Math.min(y,r.width-F),r.top+Math.min(m,r.height-x),Math.max(0,f-Q),Math.max(0,c-x),Pe.BOTTOM_RIGHT):new j(r.left+r.width-Q,r.top+r.height-x),this.bottomLeftPaddingBox=v>0||d>0?$e(r.left+F,r.top+Math.min(_,r.height-x),Math.max(0,v-F),Math.max(0,d-x),Pe.BOTTOM_LEFT):new j(r.left+F,r.top+r.height-x),this.topLeftContentBox=i>0||a>0?$e(r.left+F+U,r.top+C+S,Math.max(0,i-(F+U)),Math.max(0,a-(C+S)),Pe.TOP_LEFT):new j(r.left+F+U,r.top+C+S),this.topRightContentBox=s>0||l>0?$e(r.left+Math.min(B,r.width+F+U),r.top+C+S,B>r.width+F+U?0:s-F+U,l-(C+S),Pe.TOP_RIGHT):new j(r.left+r.width-(Q+E),r.top+C+S),this.bottomRightContentBox=f>0||c>0?$e(r.left+Math.min(y,r.width-(F+U)),r.top+Math.min(m,r.height+C+S),Math.max(0,f-(Q+E)),c-(x+I),Pe.BOTTOM_RIGHT):new j(r.left+r.width-(Q+E),r.top+r.height-(x+I)),this.bottomLeftContentBox=v>0||d>0?$e(r.left+F+U,r.top+_,Math.max(0,v-(F+U)),d-(x+I),Pe.BOTTOM_LEFT):new j(r.left+F+U,r.top+r.height-(x+I))}return A})(),Pe;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Pe||(Pe={}));var $e=function(A,e,t,r,n){var i=4*((Math.sqrt(2)-1)/3),a=t*i,o=r*i,s=A+t,l=e+r;switch(n){case Pe.TOP_LEFT:return new vf(new j(A,l),new j(A,l-o),new j(s-a,e),new j(s,e));case Pe.TOP_RIGHT:return new vf(new j(A,e),new j(A+a,e),new j(s,l-o),new j(s,l));case Pe.BOTTOM_RIGHT:return new vf(new j(s,e),new j(s,e+o),new j(A+a,l),new j(A,l));case Pe.BOTTOM_LEFT:default:return new vf(new j(s,l),new j(s-a,l),new j(A,e+o),new j(A,e))}},df=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},K4=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},pf=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},G4=(function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A})(),gf=(function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A})(),z4=(function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A})(),W4=function(A){return A.type===0},U1=function(A){return A.type===1},Y4=function(A){return A.type===2},I1=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},X4=function(A,e,t,r,n){return A.map(function(i,a){switch(a){case 0:return i.add(e,t);case 1:return i.add(e+r,t);case 2:return i.add(e+r,t+n);case 3:return i.add(e,t+n)}return i})},T1=(function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A})(),D1=(function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new V4(this.container),this.container.styles.opacity<1&&this.effects.push(new z4(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new G4(r,n,i))}if(this.container.styles.overflowX!==0){var a=df(this.curves),o=pf(this.curves);I1(a,o)?this.effects.push(new gf(a,6)):(this.effects.push(new gf(a,2)),this.effects.push(new gf(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(s){return!U1(s)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=df(r.curves),o=pf(r.curves);I1(a,o)||n.unshift(new gf(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(s){return ht(s.target,e)})},A})(),xp=function(A,e,t,r){A.container.elements.forEach(function(n){var i=ht(n.flags,4),a=ht(n.flags,2),o=new D1(n,A);ht(n.styles.display,2048)&&r.push(o);var s=ht(n.flags,8)?[]:r;if(i||a){var l=i||n.styles.isPositioned()?t:e,u=new T1(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var c=0;l.negativeZIndex.some(function(v,d){return f>v.element.container.styles.zIndex.order?(c=d,!1):c>0}),l.negativeZIndex.splice(c,0,u)}else if(f>0){var h=0;l.positiveZIndex.some(function(v,d){return f>=v.element.container.styles.zIndex.order?(h=d+1,!1):h>0}),l.positiveZIndex.splice(h,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);xp(o,u,i?u:t,s)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),xp(o,e,t,s);ht(n.flags,8)&&L1(n,s)})},L1=function(A,e){for(var t=A instanceof vp?A.start:1,r=A instanceof vp?A.reversed:!1,n=0;n<e.length;n++){var i=e[n];i.container instanceof i1&&typeof i.container.value=="number"&&i.container.value!==0&&(t=i.container.value),i.listValue=Zo(t,i.container.styles.listStyleType,!0),t+=r?-1:1}},Z4=function(A){var e=new D1(A,null),t=new T1(e),r=[];return xp(e,t,t,r),L1(e.container,r),t},M1=function(A,e){switch(e){case 0:return gA(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return gA(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return gA(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return gA(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},J4=function(A,e){switch(e){case 0:return gA(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return gA(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return gA(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return gA(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},q4=function(A,e){switch(e){case 0:return gA(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return gA(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return gA(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return gA(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},$4=function(A,e){switch(e){case 0:return Bf(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Bf(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Bf(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return Bf(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},Bf=function(A,e){var t=[];return pA(A)?t.push(A.subdivide(.5,!1)):t.push(A),pA(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},gA=function(A,e,t,r){var n=[];return pA(A)?n.push(A.subdivide(.5,!1)):n.push(A),pA(t)?n.push(t.subdivide(.5,!0)):n.push(t),pA(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),pA(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},H1=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},mf=function(A){var e=A.styles,t=A.bounds,r=Ze(e.paddingLeft,t.width),n=Ze(e.paddingRight,t.width),i=Ze(e.paddingTop,t.width),a=Ze(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+i+a))},j4=function(A,e){return A===0?e.bounds:A===2?mf(e):H1(e)},ek=function(A,e){return A===0?e.bounds:A===2?mf(e):H1(e)},Fp=function(A,e,t){var r=j4(ha(A.styles.backgroundOrigin,e),A),n=ek(ha(A.styles.backgroundClip,e),A),i=tk(ha(A.styles.backgroundSize,e),t,r),a=i[0],o=i[1],s=Ko(ha(A.styles.backgroundPosition,e),r.width-a,r.height-o),l=Ak(ha(A.styles.backgroundRepeat,e),s,i,r,n),u=Math.round(r.left+s[0]),f=Math.round(r.top+s[1]);return[l,u,f,a,o]},ca=function(A){return ze(A)&&A.value===oa.AUTO},yf=function(A){return typeof A=="number"},tk=function(A,e,t){var r=e[0],n=e[1],i=e[2],a=A[0],o=A[1];if(!a)return[0,0];if(ut(a)&&o&&ut(o))return[Ze(a,t.width),Ze(o,t.height)];var s=yf(i);if(ze(a)&&(a.value===oa.CONTAIN||a.value===oa.COVER)){if(yf(i)){var l=t.width/t.height;return l<i!=(a.value===oa.COVER)?[t.width,t.width/i]:[t.height*i,t.height]}return[t.width,t.height]}var u=yf(r),f=yf(n),c=u||f;if(ca(a)&&(!o||ca(o))){if(u&&f)return[r,n];if(!s&&!c)return[t.width,t.height];if(c&&s){var h=u?r:n*i,v=f?n:r/i;return[h,v]}var d=u?r:t.width,g=f?n:t.height;return[d,g]}if(s){var p=0,B=0;return ut(a)?p=Ze(a,t.width):ut(o)&&(B=Ze(o,t.height)),ca(a)?p=B*i:(!o||ca(o))&&(B=p/i),[p,B]}var m=null,y=null;if(ut(a)?m=Ze(a,t.width):o&&ut(o)&&(y=Ze(o,t.height)),m!==null&&(!o||ca(o))&&(y=u&&f?m/r*n:t.height),y!==null&&ca(a)&&(m=u&&f?y/n*r:t.width),m!==null&&y!==null)return[m,y];throw new Error("Unable to calculate background-size for element")},ha=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},Ak=function(A,e,t,r,n){var i=e[0],a=e[1],o=t[0],s=t[1];switch(A){case 2:return[new j(Math.round(r.left),Math.round(r.top+a)),new j(Math.round(r.left+r.width),Math.round(r.top+a)),new j(Math.round(r.left+r.width),Math.round(s+r.top+a)),new j(Math.round(r.left),Math.round(s+r.top+a))];case 3:return[new j(Math.round(r.left+i),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.height+r.top)),new j(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new j(Math.round(r.left+i),Math.round(r.top+a)),new j(Math.round(r.left+i+o),Math.round(r.top+a)),new j(Math.round(r.left+i+o),Math.round(r.top+a+s)),new j(Math.round(r.left+i),Math.round(r.top+a+s))];default:return[new j(Math.round(n.left),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.height+n.top)),new j(Math.round(n.left),Math.round(n.height+n.top))]}},rk="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",O1="Hidden Text",nk=(function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=rk,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(O1)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(O1)),r.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:o,middle:s}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A})(),R1=(function(){function A(e,t){this.context=e,this.options=t}return A})(),ik=1e4,ak=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new nk(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),Y4(t)&&(this.ctx.globalAlpha=t.opacity),W4(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),U1(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return Rt(this,void 0,void 0,function(){var r;return St(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return Rt(this,void 0,void 0,function(){return St(this,function(r){switch(r.label){case 0:if(ht(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var a=hp(t.text);a.reduce(function(o,s){return i.ctx.fillText(s,o,t.bounds.top+n),o+i.ctx.measureText(s).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=fk(t.fontFamily).join(", "),i=Vo(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(t,r){return Rt(this,void 0,void 0,function(){var n,i,a,o,s,l,u,f,c=this;return St(this,function(h){return n=this.createFontStyle(r),i=n[0],a=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(a,o),l=s.baseline,u=s.middle,f=r.paintOrder,t.textBounds.forEach(function(v){f.forEach(function(d){switch(d){case 0:c.ctx.fillStyle=mt(r.color),c.renderTextWithLetterSpacing(v,r.letterSpacing,l);var g=r.textShadow;g.length&&v.text.trim().length&&(g.slice(0).reverse().forEach(function(p){c.ctx.shadowColor=mt(p.color),c.ctx.shadowOffsetX=p.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=p.offsetY.number*c.options.scale,c.ctx.shadowBlur=p.blur.number,c.renderTextWithLetterSpacing(v,r.letterSpacing,l)}),c.ctx.shadowColor="",c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),r.textDecorationLine.length&&(c.ctx.fillStyle=mt(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top+l),v.bounds.width,1);break;case 2:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top),v.bounds.width,1);break;case 3:c.ctx.fillRect(v.bounds.left,Math.ceil(v.bounds.top+u),v.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&v.text.trim().length&&(c.ctx.strokeStyle=mt(r.webkitTextStrokeColor),c.ctx.lineWidth=r.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?"miter":"round",c.ctx.strokeText(v.text,v.bounds.left,v.bounds.top+l)),c.ctx.strokeStyle="",c.ctx.lineWidth=0,c.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=mf(t),a=pf(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return Rt(this,void 0,void 0,function(){var r,n,i,a,o,s,B,B,l,u,f,c,y,h,v,_,d,g,p,B,m,y,_;return St(this,function(C){switch(C.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,a=0,o=r.textNodes,C.label=1;case 1:return a<o.length?(s=o[a],[4,this.renderTextNode(s,i)]):[3,4];case 2:C.sent(),C.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof A1))return[3,8];C.label=5;case 5:return C.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,8];case 7:return C.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof r1&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof n1))return[3,12];C.label=9;case 9:return C.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,12];case 11:return C.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof l1&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:u=C.sent(),r.width&&r.height&&this.ctx.drawImage(u,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),C.label=14;case 14:if(r instanceof dp&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===sf?r.checked&&(this.ctx.save(),this.path([new j(r.bounds.left+f*.39363,r.bounds.top+f*.79),new j(r.bounds.left+f*.16,r.bounds.top+f*.5549),new j(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new j(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new j(r.bounds.left+f*.72983,r.bounds.top+f*.23),new j(r.bounds.left+f*.84,r.bounds.top+f*.34085),new j(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=mt(a1),this.ctx.fill(),this.ctx.restore()):r.type===lf&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=mt(a1),this.ctx.fill(),this.ctx.restore())),ok(r)&&r.value.length){switch(c=this.createFontStyle(i),y=c[0],h=c[1],v=this.fontMetrics.getMetrics(y,h).baseline,this.ctx.font=y,this.ctx.fillStyle=mt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=lk(r.styles.textAlign),_=mf(r),d=0,r.styles.textAlign){case 1:d+=_.width/2;break;case 2:d+=_.width;break}g=_.add(d,0,0,-_.height/2+1),this.ctx.save(),this.path([new j(_.left,_.top),new j(_.left+_.width,_.top),new j(_.left+_.width,_.top+_.height),new j(_.left,_.top+_.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Yo(r.value,g),i.letterSpacing,v),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ht(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(p=r.styles.listStyleImage,p.type!==0)return[3,18];B=void 0,m=p.url,C.label=15;case 15:return C.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return B=C.sent(),this.ctx.drawImage(B,r.bounds.left-(B.width+10),r.bounds.top),[3,18];case 17:return C.sent(),this.context.logger.error("Error loading list-style-image "+m),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(y=this.createFontStyle(i)[0],this.ctx.font=y,this.ctx.fillStyle=mt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_=new pr(r.bounds.left,r.bounds.top+Ze(r.styles.paddingTop,r.bounds.width),r.bounds.width,OQ(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Yo(t.listValue,_),i.letterSpacing,OQ(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),C.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return Rt(this,void 0,void 0,function(){var r,n,p,i,a,p,o,s,p,l,u,p,f,c,p,h,v,p,d,g,p;return St(this,function(B){switch(B.label){case 0:if(ht(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:B.sent(),r=0,n=t.negativeZIndex,B.label=2;case 2:return r<n.length?(p=n[r],[4,this.renderStack(p)]):[3,5];case 3:B.sent(),B.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:B.sent(),i=0,a=t.nonInlineLevel,B.label=7;case 7:return i<a.length?(p=a[i],[4,this.renderNode(p)]):[3,10];case 8:B.sent(),B.label=9;case 9:return i++,[3,7];case 10:o=0,s=t.nonPositionedFloats,B.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:B.sent(),B.label=13;case 13:return o++,[3,11];case 14:l=0,u=t.nonPositionedInlineLevel,B.label=15;case 15:return l<u.length?(p=u[l],[4,this.renderStack(p)]):[3,18];case 16:B.sent(),B.label=17;case 17:return l++,[3,15];case 18:f=0,c=t.inlineLevel,B.label=19;case 19:return f<c.length?(p=c[f],[4,this.renderNode(p)]):[3,22];case 20:B.sent(),B.label=21;case 21:return f++,[3,19];case 22:h=0,v=t.zeroOrAutoZIndexOrTransformedOrOpacity,B.label=23;case 23:return h<v.length?(p=v[h],[4,this.renderStack(p)]):[3,26];case 24:B.sent(),B.label=25;case 25:return h++,[3,23];case 26:d=0,g=t.positiveZIndex,B.label=27;case 27:return d<g.length?(p=g[d],[4,this.renderStack(p)]):[3,30];case 28:B.sent(),B.label=29;case 29:return d++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,i){var a=pA(n)?n.start:n;i===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),pA(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,i){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},e.prototype.resizeImage=function(t,r,n){var i;if(t.width===r&&t.height===n)return t;var a=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,o=a.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var s=o.getContext("2d");return s.drawImage(t,0,0,t.width,t.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(t){return Rt(this,void 0,void 0,function(){var r,n,i,a,o,s;return St(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(u){var f,c,h,S,P,Z,U,T,x,v,S,P,Z,U,T,d,g,p,B,m,y,_,C,Q,x,F,S,E,I,U,T,H,P,Z,K,Y,ee,D,M,L,k,O;return St(this,function(se){switch(se.label){case 0:if(u.type!==0)return[3,5];f=void 0,c=u.url,se.label=1;case 1:return se.trys.push([1,3,,4]),[4,i.context.cache.match(c)];case 2:return f=se.sent(),[3,4];case 3:return se.sent(),i.context.logger.error("Error loading background-image "+c),[3,4];case 4:return f&&(h=Fp(t,r,[f.width,f.height,f.width/f.height]),S=h[0],P=h[1],Z=h[2],U=h[3],T=h[4],x=i.ctx.createPattern(i.resizeImage(f,U,T),"repeat"),i.renderRepeat(S,x,P,Z)),[3,6];case 5:WR(u)?(v=Fp(t,r,[null,null,null]),S=v[0],P=v[1],Z=v[2],U=v[3],T=v[4],d=kR(u.angle,U,T),g=d[0],p=d[1],B=d[2],m=d[3],y=d[4],_=document.createElement("canvas"),_.width=U,_.height=T,C=_.getContext("2d"),Q=C.createLinearGradient(p,m,B,y),FQ(u.stops,g).forEach(function(q){return Q.addColorStop(q.stop,mt(q.color))}),C.fillStyle=Q,C.fillRect(0,0,U,T),U>0&&T>0&&(x=i.ctx.createPattern(_,"repeat"),i.renderRepeat(S,x,P,Z))):YR(u)&&(F=Fp(t,r,[null,null,null]),S=F[0],E=F[1],I=F[2],U=F[3],T=F[4],H=u.position.length===0?[$d]:u.position,P=Ze(H[0],U),Z=Ze(H[H.length-1],T),K=VR(u,P,Z,U,T),Y=K[0],ee=K[1],Y>0&&ee>0&&(D=i.ctx.createRadialGradient(E+P,I+Z,0,E+P,I+Z,Y),FQ(u.stops,Y*2).forEach(function(q){return D.addColorStop(q.stop,mt(q.color))}),i.path(S),i.ctx.fillStyle=D,Y!==ee?(M=t.bounds.left+.5*t.bounds.width,L=t.bounds.top+.5*t.bounds.height,k=ee/Y,O=1/k,i.ctx.save(),i.ctx.translate(M,L),i.ctx.transform(1,0,0,k,0,0),i.ctx.translate(-M,-L),i.ctx.fillRect(E,O*(I-L)+L,U,T*O),i.ctx.restore()):i.ctx.fill())),se.label=6;case 6:return r--,[2]}})},i=this,a=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<o.length?(s=o[a],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return Rt(this,void 0,void 0,function(){return St(this,function(i){return this.path(M1(n,r)),this.ctx.fillStyle=mt(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,i){return Rt(this,void 0,void 0,function(){var a,o;return St(this,function(s){switch(s.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,i)]:[3,2];case 1:return s.sent(),[2];case 2:return a=J4(i,n),this.path(a),this.ctx.fillStyle=mt(t),this.ctx.fill(),o=q4(i,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return Rt(this,void 0,void 0,function(){var r,n,i,a,o,s,l,u,f=this;return St(this,function(c){switch(c.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!jr(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=sk(ha(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),jr(r.backgroundColor)||(this.ctx.fillStyle=mt(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(h){f.ctx.save();var v=df(t.curves),d=h.inset?0:ik,g=X4(v,-d+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(f.path(v),f.ctx.clip(),f.mask(g)):(f.mask(v),f.ctx.clip(),f.path(g)),f.ctx.shadowOffsetX=h.offsetX.number+d,f.ctx.shadowOffsetY=h.offsetY.number,f.ctx.shadowColor=mt(h.color),f.ctx.shadowBlur=h.blur.number,f.ctx.fillStyle=h.inset?mt(h.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),c.label=2;case 2:o=0,s=0,l=i,c.label=3;case 3:return s<l.length?(u=l[s],u.style!==0&&!jr(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return c.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,3)];case 6:return c.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,t.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,t.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,i,a){return Rt(this,void 0,void 0,function(){var o,s,l,u,f,c,h,v,d,g,p,B,m,y,_,C,_,C;return St(this,function(Q){return this.ctx.save(),o=$4(i,n),s=M1(i,n),a===2&&(this.path(s),this.ctx.clip()),pA(s[0])?(l=s[0].start.x,u=s[0].start.y):(l=s[0].x,u=s[0].y),pA(s[1])?(f=s[1].end.x,c=s[1].end.y):(f=s[1].x,c=s[1].y),n===0||n===2?h=Math.abs(l-f):h=Math.abs(u-c),this.ctx.beginPath(),a===3?this.formatPath(o):this.formatPath(s.slice(0,2)),v=r<3?r*3:r*2,d=r<3?r*2:r,a===3&&(v=r,d=r),g=!0,h<=v*2?g=!1:h<=v*2+d?(p=h/(2*v+d),v*=p,d*=p):(B=Math.floor((h+d)/(v+d)),m=(h-B*v)/(B-1),y=(h-(B+1)*v)/B,d=y<=0||Math.abs(d-m)<Math.abs(d-y)?m:y),g&&(a===3?this.ctx.setLineDash([0,v+d]):this.ctx.setLineDash([v,d])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=mt(t),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(pA(s[0])&&(_=s[3],C=s[0],this.ctx.beginPath(),this.formatPath([new j(_.end.x,_.end.y),new j(C.start.x,C.start.y)]),this.ctx.stroke()),pA(s[1])&&(_=s[1],C=s[2],this.ctx.beginPath(),this.formatPath([new j(_.end.x,_.end.y),new j(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return Rt(this,void 0,void 0,function(){var r;return St(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=mt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=Z4(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e})(R1),ok=function(A){return A instanceof s1||A instanceof o1?!0:A instanceof dp&&A.type!==lf&&A.type!==sf},sk=function(A,e){switch(A){case 0:return df(e);case 2:return K4(e);case 1:default:return pf(e)}},lk=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},uk=["-apple-system","system-ui"],fk=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return uk.indexOf(e)===-1}):A},ck=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return Rt(this,void 0,void 0,function(){var r,n;return St(this,function(i){switch(i.label){case 0:return r=cp(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,hk(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=mt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e})(R1),hk=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},vk=(function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Eu([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Eu([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Eu([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Eu([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A})(),dk=(function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new vk({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new M4(this,e)}return A.instanceCount=1,A})(),N1=function(A,e){return e===void 0&&(e={}),pk(A,e)};typeof window<"u"&&S1.setContext(window);var pk=function(A,e){return Rt(void 0,void 0,void 0,function(){var t,r,n,i,a,o,s,l,u,f,c,h,v,d,g,p,B,m,y,_,Q,C,Q,x,F,S,E,I,U,T,H,P,Z,K,Y,ee,D,M,L,k;return St(this,function(O){switch(O.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(x=e.allowTaint)!==null&&x!==void 0?x:!1,imageTimeout:(F=e.imageTimeout)!==null&&F!==void 0?F:15e3,proxy:e.proxy,useCORS:(S=e.useCORS)!==null&&S!==void 0?S:!1},i=Id({logging:(E=e.logging)!==null&&E!==void 0?E:!0,cache:e.cache},n),a={windowWidth:(I=e.windowWidth)!==null&&I!==void 0?I:r.innerWidth,windowHeight:(U=e.windowHeight)!==null&&U!==void 0?U:r.innerHeight,scrollX:(T=e.scrollX)!==null&&T!==void 0?T:r.pageXOffset,scrollY:(H=e.scrollY)!==null&&H!==void 0?H:r.pageYOffset},o=new pr(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),s=new dk(i,o),l=(P=e.foreignObjectRendering)!==null&&P!==void 0?P:!1,u={allowTaint:(Z=e.allowTaint)!==null&&Z!==void 0?Z:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},s.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),f=new E1(s,A,u),c=f.clonedReferenceElement,c?[4,f.toIFrame(t,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=O.sent(),v=gp(c)||B4(c)?X2(c.ownerDocument):bu(s,c),d=v.width,g=v.height,p=v.left,B=v.top,m=gk(s,c,e.backgroundColor),y={canvas:e.canvas,backgroundColor:m,scale:(Y=(K=e.scale)!==null&&K!==void 0?K:r.devicePixelRatio)!==null&&Y!==void 0?Y:1,x:((ee=e.x)!==null&&ee!==void 0?ee:0)+p,y:((D=e.y)!==null&&D!==void 0?D:0)+B,width:(M=e.width)!==null&&M!==void 0?M:Math.ceil(d),height:(L=e.height)!==null&&L!==void 0?L:Math.ceil(g)},l?(s.logger.debug("Document cloned, using foreign object rendering"),Q=new ck(s,y),[4,Q.render(c)]):[3,3];case 2:return _=O.sent(),[3,5];case 3:return s.logger.debug("Document cloned, element located at "+p+","+B+" with size "+d+"x"+g+" using computed rendering"),s.logger.debug("Starting DOM parsing"),C=f1(s,c),m===C.styles.backgroundColor&&(C.styles.backgroundColor=Br.TRANSPARENT),s.logger.debug("Starting renderer for element at "+y.x+","+y.y+" with size "+y.width+"x"+y.height),Q=new ak(s,y),[4,Q.render(C)];case 4:_=O.sent(),O.label=5;case 5:return(!((k=e.removeContainer)!==null&&k!==void 0)||k)&&(E1.destroy(h)||s.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),s.logger.debug("Finished rendering"),[2,_]}})})},gk=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Go(A,getComputedStyle(r.documentElement).backgroundColor):Br.TRANSPARENT,i=r.body?Go(A,getComputedStyle(r.body).backgroundColor):Br.TRANSPARENT,a=typeof t=="string"?Go(A,t):t===null?Br.TRANSPARENT:4294967295;return e===r.documentElement?jr(n)?jr(i)?a:i:n:a};/*! Element Plus Icons Vue v2.3.2 */var Bk=R.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(A){return(e,t)=>(R.openBlock(),R.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[R.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),P1=Bk;const mk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAk1BMVEUAAAAyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzM3NzcyMjIzMzMyMjIzMzMzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzM0NDQzMzMzMzMzMzMzMzMzMzMzMzM0NDQzMzMzMzMzMzMyMjI6OjozMzMnMcQ8AAAAMHRSTlMAgprMx7VSMqV6CWbkjtXRv5RiD/hEOe91cSng21w/Lq6piBwX6mtXTUkg9J68JAbdlNjNAAAFP0lEQVR42u3d13biMBAG4N/gDqabYnrokIR5/6fbmrMe7LCAJWFx9N3tDRtF1sxopBgYhmEYhmEYhmEYhmEYhmEYhmEYhmEY9wvn8X7X2Y6CYLTt7PbxPIRuju6w0qpTRr1VGbor6OHYeZ/QVY32rvSDiaMq3cSOYpTWcWjTHezhEWXk+j26U893UTLrYZMeUq2hRLxoQz/pPpT9kn7RfSifFSrOfv5aGW1ICN/DM8UfJErP6uJp3uiaU9OJglFt6saxO62Ngshpnq4m/CmeY/39Iu99DPtr5Fj3R8736eYNz9Cvflt9uCGuCA9vNuVzEig3HVCeSTTDDWbRhPKMXShmUR7fPeNGZ9enPBZUyl/mFQ938Sq5nwKFoivDKDwUB8o4lLH08BBvSRlNKDLOVks7PKyT/bgNlOhlMp8VooBVO5uHoECmuHI8FOQ2MlEc0jVkxMuVn8mqkMwmrrGHEKMecUtI5RDnryDIrKlyJG3iIohztIlrQ5qO3HLig7gOJJlvJJdFPjGbOeRwJDxXnJVXrGj5v7QVlMJ7YlqQwidmD/FsXl2FkOL8ITsvBryESCDJJ986BhBsPpA95fmP8GAORvCzO4REQ147QKgdpb1DqndK20GkKluBXUjVtVlYgUA1SoshWUxpU1kTUoF0rCfxIWlCBgmkS1iMPMiZkAAKBFJ2JjUVKZ0L2e+uL6M4qUGJmoQtVv+OYCgnvtS74vu8NShSE79XbLIJUaYqeu8Tq5+Q7JR4KC7iD6sy3brgreJEbVLPT+8NwTHrAIUOlDJDUSN2cKFUU2g9sXje+Z4lNG4NHikVxGfik8gPm0CxscBFErCYpZgv8LFusd2zYh2BDcF0VlpDsVU6F6OQ8FnBNxuAQxQxv7sJJG2RzFGES/+MoBjPJC7u5XWsWTen6xdDuU6R7uZbj4jGs2zhtoZycYHgX2E7gFb2XkWYJFDlyOLvg73wFX6qZj5oVCdqdKDI40clW/rSW/MiYYGf1gu15ePm4ei/TW1musCA9/e9qqp2Y/bCyOTxeLs4gy+2Q131hdDWw6n9OGA/O+uSddKDhBLLVM+5yAFx+h9vAalP8+3H73B1W5SvfcehhZTUjjt9Noi571JreWYE6A+Iue8iaGnWCItczI3VQkmi1m/bcjxXmTxSaI1lbXFdOTI7Kx2Z2/cFpai1eF8uq9fH/5Sj+mXHE1njFW5Qiv1Ipjv2wMFbOXaIX7q9h9NHSfbsXxJi7qivytZFiZ/+p1yi+lpTem43aM06jWJa2Kcd1JuK6/3OJn/DbgzleFq2RBTSm2iOZ2gIPURce0mIp0jYiZXGhiyFacxmp7r6mvFzdn1F7OaDvi7uoujr4naQvuwXiVlTfoNOXx/8mpi2XH7LVF8Ov/erLbZCFtBW2KSU57+PR8zVeBvaSga8Rastn/UE9Y29AaUNoSuX0lrQVcJ7tQfoyrk4HNNVhdLq5XyV421t65cIvdZl21xTFjG2rinEJ+aka9X7ay/1AvvCo01cBC31m0T0AruQzoA4R78XaOe+026iZcD6XNCl0r80O09tTJc+oR/v73To3nsPTvSb5p3eWpUyxvo9V3nDIHsNvSSjKuVY6JU/vKBF/2h6Vnjlfb9NbXbooXftDczvZV8e5+7qc97fWYsJXbEp+b52uqzTLd4TlNqSblIte8u9Qbc4BWeUm0W3qJS/Jqm8xjAA5zWG8d+lXrX0GAa7GJPReNNo27Gnb9iRNtXIH76m32OVNdX2m8UuzUe+47et7fSg4Xe9GYZhGIZhGIZhGIZhvJIfLCr2GzAyoncAAAAASUVORK5CYII=",yk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAaVBMVEUAAAAQFBgQExcQEhYLFRcQExcQExYPExcQEhcOFBUQEhcQExcPEhcPExcQEhcQExYQERcPExYPEhcQExYQEhcTExMUFBQQExcQExcQExcQFBcPEhcPExcPFBYSEhgcHBwRExcOExgQExdmmIFTAAAAInRSTlMAQL+AFuzVxbEj3KOWdF9OR7qnnmgZDPrkyY5WQzIqCXs2T8mN8gAAAeVJREFUeNrt3dlqwzAQRmFFdpx9X7omaf/3f8iSrSW0FqFy0Micc+2bDxsGI9A4IiIiIqJHNJuMFz5hxWzQiGOs9PU30Yzdk0y0jnSUstI+DtKTlXpRjkJ2KmIgK9mp344vS+rGQLo65V3KOjoXM01kCdIBAgQIECChgAABEg4IECDhgAABEg4IkLZBNrPipul7lpB1pV+95AcpF/qrIjfIVmoHxLcEstajIV6XHgsZqaZ5ZpCqxrF0eUFKnfO3rQqXGaT2CSBAgAABAgQIECBAgAABAgQIEFsQr38HBAgQIECAOF+bLvm6bEFaM9mBAAECBAgQIECAAAECBAgQIECAADlBruUO+Q4IECA/AQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCGYQ8XyCdpOncJgKykJ2Gd7wz0xuTri1jIFPZaRoDcUtZaeyiIK4rIx0iIe5VFqoGLhbi5r3ky8Wqj2aubd12JkXC5uX9IzPzgFgLiLWANN1h1w7IvlLvrQWQgY695Q/p69gwf8hQp/KHCAiQU0CAAAkHBAiQcAYhgyskbQ0s+36WnV7i/gTsNGKz/7GhrDRyUb3LSlt3V9bP1rqfLrZypPS9uiaaTVY+Yf3JvHRERERERA/oC7GKf5yH1bdrAAAAAElFTkSuQmCC",wk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAsVBMVEUAAAAEAAAEAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAADAAAEAAAFAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAAEAAADAAAGAAAAAAAAAAAEAAAEAAAEAAAAAAADAAAEAAAFAAAEAAAEAAAEAAADAAADAAAFAAAHAAAFAAAAAAAFAAAEAAAAAAAEAAAFAAADAAADAAAEAAAEAAADAAAEAAAFAAADAAAEAAAAAAADAAADAAAEAADKKhWhAAAAOnRSTlMAQIC/qMxgiXfrmPcyx2s677H74nJVKRQS0LmFCd22LtjUrJ2RNiUgGaNEDXxmW0nz5k6OZFK9Flfau44tfQAAB5tJREFUeNrs29lu2lAUheFlMGAwEAhDCXEgATOEMDQUMqz3f7CqalVtN8DGDLZP5e8J+C8W8jmykUqlUqlUKpVKpVKpVGJYS2c7humm8wf+Uu/AZK0e/3qHqfr+dwo2jORVc/xHHuaZPfOrOgwzyTS4Ux8m+ehynwyMUfZr3O8JZvCqdzxsCwOsbO5k1j/w732r3AkSbfnGIzlIrlGpxqPlkFAvzRxDWSGJVgMqvvtl2BRKSJzx/QMV3Q8AsCgUPSRLXt13Yz7FbxUKVSTIzVDd9/MMfzkU3pAUHX3fuaoHYXybwCfHtbrvmt9HUHDuPxC/cUHdd6+Fr1qB7SBuG3Xfn/Mpdvqk8IE43QyLPOz22cI+hYQcFN8ddd+VhYf9RpQ6iMd2cMvDXn/0cdhb7AfFtr7v+haqaswHxUWXiifnHdB1ahRuECmrpO3bHVo40jCug+JU33d2g+OtKLiISsvW9t0otBHKHYUFotAvfFIxWCOsecQHRU/fd875hvDGlCa4rpm671rpBqepU/BxRROnQkU3j5MtKRQREO2+PzNjnKMRwSVE+f5RfSRc40w+hS6E6PZdqXZwthElD0DE+y76I1xEYIJO1PuuL3Ep1WsdFFu2qz0Szse4nG8uhX5k+3aHM1zWM4UhLuBl06Miu3jBpa0oXWLfr+ojYRnX8Ehheea+m+q+B5mroVDJ7LUZedr523ZphAdL2bc5Rtits+nRLG3sYPmvNE0F/3rR9/3A5HE9BN08aU+29jrLBCojoKqdXJtTIJEhFqQZDymWLABGhJS4X2/jAaaE3HGPx/s+AHNCatzFfd4CMCqky6+yzQlgWkiB/2j4FoBDIXUH8WhnavtDLAY5L4ASYiE2vQO/o0LpA9BC7hCf/IEQh5Klh2QRH+vAbx27/0kIbAoFg0NaFIoGhwTfO1gbHFKgMDA4ZESpY25I8DGlaXBI8L0Dg0PeaxRG5oZgSKFkcMiKwu1pIZ384Kn2/TG77ECIOCR4TlyeEDLNvPKP18wUQrQhcwpv4UPaT8rFbFQhbUqTsCGWcjEbXQjqFDIhQyzlYjbKkDyFRsiQnPL9RJQhaFCYhQpZcIcFjla+aIhPwQ4VUjnzk5Z6+/QQba+dECEj5bJGM6d9coh6UVINEXLPne5xHMsly5cMaVLIhQgZcqchjuJlSfZODdHfOygfH9LlTl0o5KnOOjFEf+/APz7EPufjyO3P9s5tKZUYiKI9owKDIBdHFJWLHEUQlYsoVP//h52qI3U0FWB3JzOUY8169sGl1clOdwIwiOpF3vkbM7nIGxuo3oGM2uCiGRLB9w4uxCIL3sqaBJTNovQXsZefrljkts5bmE10HdALVxGcHIEIGHqVCdPqgBO2g4i9/jyLRSpw5GpjLxOFZETs0NTZI4LLPSRMbM5lEhShyEiOYhE6ctkNaxHzjjQxrXmKlI1fRipiz726BLE30jp9UikdcVEhgpPjRC5C4Zz/Mw9JQLj1Mfvo821s30PEPiK9KERoFG72tras9zA9tUfJtKzyhp5GBDUhqlDEpHcRx+uARFyBezyxp8iluYQCEQ/u0XMBTxEaGOOr1EReGTHUioDxVToij23ew7xxU6hdeYpQx0iOKYn82XM37KUy8d0Q7V26kY7I2e5XTUO3nR0nxzREKp0dd8OeCLKcS0TsuFFKSgQfKe8fSURcF4jY46sUREq8hUZAUlY3TZEIzYzkmLhIELFFu0AaemNLBD9+SFrktssW4cTpvxpoMn9z4iuC23mvpGfaxyJ0ZyTHZEXerazYrJELV8ccqAL2UaIiI+sIdj4iR+IAytrJUS+yKN1KsmKV3Al0F+6KTiLBKXenOCv2KUHwB67oRSoRM8+KKzJotdnknFJmbiRHvciws8lOhb1ZMbqk5MBNiIFaZPV1Yh4Pd2fFWY0SBSdHpcjt958+j2nDQ4cNmgvS4f9sVinSYIPryvasWCAV4YP3iaGtExlb3ZFwW1Yckw6OXsmBpnGCASKwpX0S0FPEBvOhVoQ59D0zlBUiRd7KW5dNzkgvwseXflcMZhOxyDPLGJCLCJ+AhQ41IZZSkTOWUe+5iXAdLBEgOX4IRQospEhqwPxemBwNEZjRMT1nEX2hfKhFniIWckyOIqhQcHIEIsbOjVl4ifBMVyh1NgAiRrQFVMlDRF8oZSBinf3ExN4iPFAUSksjMumymPrKX4TbikJpK0SOWc41uWAluII+OWKRMiu4IRd8NiMsYrfw9WtWLxDBNg1poQyEIiFriFbgjyDnTlgogUwkZhVdMmAfmsJCOZeILFlH6C2iL5RQILIOlSy8RfSFcgVF/GFf+jXCHGVARFQoF1kQERXKaSZEBIVSzoYIvtzZ+i0i1M+EiGANPsuCSJEE/HwRYU4Z/HSRvlNy9KdK6UQUTMSJUp+kExoxISdL5RAxHidHf9Z0gIMVTo7+PNMBjro4OfozppSaDxhOlDs6RDsIJ0d/WpROgw4z5EQp0QFapjg5+lOlQzSxcXL0p0IpjRUw6S7A+kGPM0GyEPmN3jLNV3lknE3kzOLXIW+/MJB5fkN5/CNb34QMrjn9CsIHysnJycnJycnJycnJycnB/AUiHJaNu/P1RgAAAABJRU5ErkJggg==",k1=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},Ck={class:"title"},_k={class:"subTitle"},Qk={style:{width:"20px",display:"flex","justify-content":"center"}},xk={class:"mychart"},Fk=["id"],wf=k1({__name:"HydroGraph",props:{id:{type:String,default(){return z2()}},chartOption:{type:Object,default(){return{}}},legendList:{type:Array,default(){return[]}},width:{type:String,default(){return"100%"}},height:{type:String,default(){return"100%"}},backgroundColor:{type:String,default(){return"#fff"}}},setup(A,{expose:e,emit:t}){const r=A;qA([s2,MH,B2,N2,WL,sM,CL,G2]);const n=R.ref();r.chartOption.series||(r.chartOption.series=[]);let i={},a={};R.watch(()=>r.chartOption,()=>{R.nextTick(()=>{let D=setInterval(()=>{document.getElementById(r.id)&&document.getElementById(r.id).offsetHeight>100&&document.getElementById(r.id).offsetWidth>100&&(m&&m.getOption()&&!r.chartOption.restoreZoom&&(a={...m.getOption().dataZoom[0],moveOnMouseMove:r.chartOption.series.some(M=>M.openBarDrag&&(M.type=="line"||M.type=="markLine"))?"ctrl":!0}),C(),clearInterval(D))},100)})},{deep:!0,immediate:!0});let o={};R.watch(()=>r.legendList,()=>{m&&(o=m.getOption().legend[0].selected);let D=r.legendList.map(L=>{let k=l.find(O=>O.code==L.name);return k?{...L,...k}:{...L}}),M=JSON.parse(JSON.stringify(f.value));i={},f.value=D.map(L=>{const k=M.find(se=>se.name==L.name);i[L.name]=L,L.children&&(L.children=L.children.map(se=>{i[se.name]=se;let q="";return r.chartOption.isDefaultElement===!1?q=o[se.name]!=null?o[se.name]:se.isSelected:k&&k.children&&k.children.find(Le=>Le.name==se.name)?q=k.children.find(Le=>Le.name==se.name).isSelected:q=se.isSelected,{...se,isSelected:q,id:Math.random()}}));let O="";return r.chartOption.isDefaultElement===!1?O=o[L.name]!=null?o[L.name]:L.isSelected:L.compel?O=L.isSelected:k?O=k.isSelected:O=L.isSelected,{...L,isSelected:O,id:Math.random()}})},{deep:!0});const s=[{name:"实况雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"实测水位",type:"line",color:"#304755",unit:"m"},{name:"库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"5分钟水位",type:"line",color:"#304755",unit:"m"},{name:"5分钟库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"校核洪水位",type:"markLine",color:"#ffa500",unit:"m"},{name:"设计洪水位",type:"markLine",color:"#a52a2a",unit:"m"},{name:"正常高水位",type:"markLine",color:"#008000",unit:"m"},{name:"死水位",type:"markLine",color:"#000000",unit:"m"},{name:"坝顶高程",type:"markLine",color:"#cf0ce1",unit:"m"},{name:"梅汛期",code:"MXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"台汛期",code:"TXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"累计降雨",type:"line",color:"red",unit:"mm"},{name:"可纳雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"作业预报时间",type:"markLine",color:"#ff0000"}],l=[{name:"实况雨量",code:"P",color:"#0000ff",icon:"histogram"},{name:"实测水位",code:"RZ",color:"#304755",icon:"straightLine",iconWidth:"30",iconHeight:"30"},{name:"库容",code:"W",color:"#197e2b",icon:"straightLine",iconWidth:"30",iconHeight:"30"}],u=["校核洪水位","设计洪水位","正常高水位","坝顶高程","死水位","主汛期"],f=R.ref(r.legendList.map((D,M)=>{let L=l.find(k=>k.code==D.name);return D.color||(D.color=M_[M]),L?{...D,...L}:{...D}}));f.value.forEach(D=>{i[D.name]=D,D.children&&D.children.forEach(M=>{i[M.name]=M})});const c=R.ref(!0);let h=null;const v=D=>{var L;let M=[];c.value=D,f.value.forEach(k=>{k.isSelected=D,M.push(k.name),k.children&&k.children.forEach(O=>{O.isSelected=D,M.push(O.name)})}),M.forEach(k=>{B[k]=D,x(k,D)}),a={...(L=m.getOption())==null?void 0:L.dataZoom[0]},C()},d=(D,M)=>{var k;let L=[];f.value.forEach(O=>{O.name==M?(O.isSelected=D,O.children?O.children.forEach(se=>{se.isSelected=D,L.push(se.name)}):L.push(O.name)):O.children&&O.children.forEach(se=>{se.name==M&&(se.isSelected=D,L.push(se.name),O.children.filter(q=>q.isSelected).length==O.children.length?O.isSelected=!0:O.isSelected=!1)})}),L.forEach(O=>{Array.isArray(O)?(B[O[0]]=D,B[O[1]]=D,x(O[0],D),x(O[1],D)):(B[O]=D,x(O,D))}),h=f.value.some(O=>O.isSelected==!1),h?c.value=!1:c.value=!0,a={...(k=m.getOption())==null?void 0:k.dataZoom[0]},C()};R.onMounted(()=>{window.addEventListener("keydown",p)});let g={};const p=D=>{if(D.key==="i"){let M=JSON.parse(JSON.stringify(m.getOption()));M.series.forEach(L=>{L.markPoint&&L.markPoint.data.length!=0?L.markPoint.data=[]:L.markPoint&&L.markPoint.data==0&&(L.markPoint=g[L.name])}),m.setOption(M)}};let B={},m,y;const _=R.ref({}),C=async()=>{let D=r.chartOption.series.map(w=>{let J="";return w.code?J=s.find(N=>N.code==w.code):J=s.find(N=>N.name==w.name),J?{...J,...w}:{...w}});f.value.forEach(w=>{B[w.name]=w.isSelected,w.children&&w.children.forEach(J=>{B[J.name]=J.isSelected})}),y=document.getElementById(r.id),m||(m=UT(y));let M=D.filter(w=>Array.isArray(w.data));const L=M.every(w=>Array.isArray(w.data)&&w.data.length===0),k=H_(new Date(xe().subtract(5,"day").format("YYYY-MM-DD 08:00")),new Date(xe().format("YYYY-MM-DD HH:00")),60).map(w=>[w,""]);let O=[];M.forEach(w=>{O=O.concat(w.data)}),O=[...new Set(O.map(w=>w[0]))],O.sort((w,J)=>Date.parse(w)-Date.parse(J)),O.some(w=>Fu(w))&&(O=O.filter(w=>Fu(w)));let se=O[0];r.chartOption.series.forEach(w=>{w.name=="开始"&&w.sectionStartTime&&(se=w.sectionStartTime)});let q=JSON.parse(JSON.stringify(r.chartOption.grid)),Le=r.chartOption.xAxis.map((w,J)=>{let N="";w.show==!1||q.length>1&&J==0?N=!1:N=!0;let oe={type:w.type,logBase:w.logBase||10,gridIndex:w.gridIndex,name:N&&w.type=="time"?"时间":w.name,nameLocation:N&&w.type=="time"?"end":"middle",nameTextStyle:{color:"#333",verticalAlign:N&&w.type=="time"?"top":""},position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,nameGap:N&&w.type=="time"?45:w.nameGap?w.nameGap:w.name?25:0,axisLabel:{show:N,rotate:w.rotate,formatter:function(ge){return w.type=="time"?F(xe(xe(ge).format("YYYY-MM-DD HH:mm")))?r.chartOption.xTimeType?`{a|${r.chartOption.xTimeType}}`:"{a|{yyyy}-{MM}-{dd} {HH}:{mm}}":r.chartOption.xTimeType?r.chartOption.xTimeType:"{MM}-{dd} {HH}:{mm}":w.name?w.name.includes("m³/s")?ta(ge):w.name.includes("万m³")?ge.toFixed(2):w.name.includes("mm")?ge.toFixed(1):w.name.includes("m")?ge.toFixed(2):(ge||ge==0)&&w.toFixed?Number(ge).toFixed(w.toFixed):ge:ge},rich:{a:{fontWeight:"bold"}},color:r.chartOption.yAxisColor?r.chartOption.yAxisColor:"#333",hideOverlap:!0},axisLine:{show:!0,lineStyle:{color:r.chartOption.yAxisColor?r.chartOption.yAxisColor:"#8a949c"}},splitLine:{show:w.splitLineHide?!1:w.gridIndex!=2,lineStyle:{color:"#e0e6f1"}},axisTick:{show:w.show==!1?!1:!(q.length>1&&J==0),alignWithLabel:r.chartOption.alignWithLabel!=null?r.chartOption.alignWithLabel:!0},boundaryGap:w.boundaryGap?w.boundaryGap:["1%","1%"]};if(w.data&&(oe.data=w.data),w.type=="value"||w.type=="log"){let ge=0,Ee=100,re=10;w.name.includes("m³/s")?(Ee=1e3,re=100):w.name.includes("万m³")&&(Ee=1e4,re=1e3);let V=r.chartOption.series.filter(ne=>ne.yAxisIndex==J),he=[],G=[],z=0,Qe=100;V.forEach(ne=>{ne.data instanceof Array&&(he=he.concat(ne.data))}),he[0]instanceof Array&&(G=he.filter(ne=>ne[0]!=""&&ne[0]!=null&&ne[0]!=null&&!isNaN(ne[0])).map(ne=>Number(ne[0]))),G.length>0&&(z=Math.min(...G),Qe=Math.max(...G),V.some(ne=>ne.type=="bar")||w.name.includes("雨")?(ge=0,(z!==0||Qe!==0)&&(Ee=Math.ceil(Qe/De(0,Qe))*De(0,Qe),re=De(0,Qe))):w.min||w.min==0?(ge=w.min,(z!==0||Qe!==0)&&(Ee=Math.ceil(Qe/De(w.min,Qe))*De(w.min,Qe),re=De(w.min,Qe))):(z!==0||Qe!==0)&&(ge=Math.floor(z/De(z,Qe))*De(z,Qe),Ee=Math.ceil(Qe/De(z,Qe))*De(z,Qe),re=De(z,Qe))),oe.min=w.min!=""&&w.min!=null?w.min:ge,oe.max=w.max!=""&&w.max!=null?w.max:Ee,oe.interval=w.interval&&w.max&&(w.min||w.min==0)?w.interval:re,w.interval&&w.max&&(w.min||w.min==0)&&w.interval,oe.minorTick={show:!!w.isMinorSplitLineShow}}return oe}),ke=r.chartOption.yAxis.map((w,J)=>{let N=0,oe=100,ge=10;if(w.name.includes("m³/s")?(oe=1e3,ge=100):w.name.includes("万m³")&&(oe=1e4,ge=1e3),w.name=="可纳雨量(mm)")return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:"#333"},nameGap:w.nameGap,type:"value",position:w.position,offset:w.offset,min:w.min,max:w.max,interval:w.interval,axisLabel:{formatter:Ee=>Ee.toFixed(1),color:"#333"},axisLine:{show:!0,lineStyle:{color:"#8a949c"}},splitLine:{show:!1},minorTick:{show:!0},axisTick:{show:!0}};{let Ee=r.chartOption.series.filter(ne=>ne.yAxisIndex==J&&(B[ne.name]||!Object.keys(B).includes(ne.name))),re=[],V=[],he=[],G=0,z=100,Qe=null;if(Ee.forEach(ne=>{ne.data instanceof Array?((ne.data2?ne.data2:ne.data).forEach(Ce=>{if(Ce instanceof Array&&Ce.length>=2){const Ve=Ce[1];if(Ve!=""&&Ve!=null&&Ve!=null&&!isNaN(Ve)){const qe=Number(Ve);Qe===null&&(Qe=qe)}}}),re=ne.data2?re.concat(ne.data2):re.concat(ne.data)):ne.data.name=="yAxis"&&ne.data.value&&he.push(Number(ne.data.value))}),re[0]instanceof Array?V=re.filter(ne=>ne[1]!=""&&ne[1]!=null&&ne[1]!=null&&!isNaN(ne[1])).map(ne=>Number(ne[1])):re[0]instanceof Object&&re[0].value?V=re.map(pe=>pe.value).filter(pe=>pe!=""&&pe!=null&&pe!=null&&!isNaN(pe)).map(pe=>Number(pe)):V=re.filter(ne=>ne!=""&&ne!=null&&ne!=null&&!isNaN(ne)).map(ne=>Number(ne)),V.length>0||he.length>0){if(G=Math.min(...V,...he),z=Math.max(...V,...he),Ee.some(ne=>ne.type=="bar")||w.name.includes("雨"))N=0,r.chartOption.xAxis.length>1&&w.inverse?(G!==0||z!==0)&&(oe=Math.ceil(z/De(0,z,1))*De(0,z,1)+De(0,z,1)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=De(0,z,1)):(G!==0||z!==0)&&(oe=Math.ceil(z/De(0,z))*De(0,z)+De(0,z)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=De(0,z));else if(w.min||w.min==0)N=w.min,(G!==0||z!==0)&&(oe=Math.ceil(z/De(w.min,z))*De(w.min,z)+De(w.min,z)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=De(w.min,z));else if(G!==0||z!==0)if(r.chartOption.xAxis.some(pe=>pe.type==="value")&&Qe!==null){N=Qe;const pe=De(N,z);oe=Math.ceil((z-N)/pe)*pe+N+pe*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=pe}else N=Math.floor(G/De(G,z))*De(G,z)-De(G,z)*(w.downIntervalNumber!=null?w.downIntervalNumber:1),oe=Math.ceil(z/De(G,z))*De(G,z)+De(G,z)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=De(G,z)}if(w.rangeType==1){let ne="",pe="";Math.abs(z)>Math.abs(G)?pe=Math.abs(z):pe=Math.abs(G),ne=Math.ceil(pe/De(0,pe))*De(0,pe),oe=ne,N=0-ne,ge=De(0,Math.abs(ne))}return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:r.chartOption.yAxisColor?r.chartOption.yAxisColor:"#333"},nameGap:w.nameGap,type:w.type||"value",logBase:w.logBase||10,position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,min:w.min!=""&&w.min!=null?w.min:N,max:w.max!=""&&w.max!=null?w.max:oe,interval:w.interval&&w.max&&(w.min||w.min==0)?w.interval:ge,axisLabel:{formatter:ne=>w.name.includes("m³/s")?ta(ne):w.name.includes("万m³")?ne.toFixed(2):w.name.includes("mm")?ne.toFixed(1):w.name.includes("m")?ne.toFixed(2):ne,color:r.chartOption.yAxisColor?r.chartOption.yAxisColor:"#333"},axisLine:{show:!0,lineStyle:{color:r.chartOption.yAxisColor?r.chartOption.yAxisColor:"#8a949c"}},axisTick:{show:!0},splitLine:{show:!(q.length>1&&w.index==1&&w.position=="right"||q.length==1&&w.index==0&&w.position=="right"||w.splitLineHide),lineStyle:{color:"#e0e6f1"}},minorTick:{show:!0},minorSplitLine:{show:q.length>1&&w.index==1&&w.position=="right"||q.length==1&&w.index==0&&w.position=="right"||w.splitLineHide?!1:!w.minorSplitLineHide,lineStyle:{color:"#f4f7fd"}},axisTick:{show:!0}}}}),Ae=D.some(w=>w.openBarDrag),fe=D.map((w,J)=>{var oe,ge,Ee;let N={};if(w.type=="bar")w.name=="可纳雨量"?N={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,barWidth:w.barWidth,data:L?k:w.data,label:{show:!0,position:"top",color:"black",fontFamily:"Times New Roman"},itemStyle:{color:function(re){if(w.barColor=="1"){if(re.dataIndex===0)return"#ff0000";if(re.dataIndex===1)return"#a52a2a";if(re.dataIndex===2)return"#ffa500";if(re.dataIndex===3)return"#cf0ce1"}else return"#00a651"}},zlevel:9,z:9}:N={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,label:{show:w.isLabelShow?w.isLabelShow:!1,position:"top",fontFamily:"Times New Roman",formatter:function(re){return"{a0|"+(Array.isArray(re.value)?re.value[1]:re.value)+"}"},rich:{a0:{color:i[w.name]?i[w.name].color:w.color,fontSize:12}}},stack:w.stack?w.stack:"",tooltip:{show:w.isTooltipShow!=!1,trigger:"axis",type:"none"},itemStyle:w.itemStyle?w.itemStyle:{color:function(re){let V=i[w.name]?i[w.name].color:w.color?w.color:M_[J];return w.color2&&re.value[1]<0?w.color2:V},decal:{symbol:w.pattern?w.pattern:"none"}},barCategoryGap:w.barCategoryGap?w.barCategoryGap:ke[w.yAxisIndex].inverse?"0%":"20%",barGap:w.barGap?w.barGap:"0%",data:L?k:w.data,zlevel:9,z:9},w.barWidth&&(N.barWidth=w.barWidth,w.barGap?N.barGap=w.barGap:N.barGap="20%"),w.barMaxWidth&&(N.barMaxWidth=w.barMaxWidth,w.barGap?N.barGap=w.barGap:N.barGap="20%");else if(w.type=="line"){let re="rgba(0, 0, 0, 0)";r.chartOption.isFace&&(r.chartOption.faceNames?r.chartOption.faceNames.includes(w.name)&&(i[w.name]?re=i[w.name].color:re=w.color):i[w.name]?re=i[w.name].color:re=w.color);let V="",he=!1;if(w.showSymbol||((oe=i[w.name])==null?void 0:oe.icon)=="dottedLine"?w.symbolSize?V=w.symbolSize:V=5:r.chartOption.isTooltipItem?(V=10,he=!0):V=0,N={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,opacity:w.showSymbol||((ge=i[w.name])==null?void 0:ge.icon)=="dottedLine"?1:0},lineStyle:w.lineStyle?w.lineStyle:{type:((Ee=i[w.name])==null?void 0:Ee.icon)=="dotted"?"dotted":"solid"},areaStyle:{color:re,opacity:.5},smooth:w.smooth!=null?w.smooth:!1,showSymbol:!0,symbol:w.symbol?w.symbol:"circle",connectNulls:!0,symbolSize:V,data:L?k:w.data,silent:Ae?w.openBarDrag!==!0:!1,triggerLineEvent:he,zlevel:9,z:9},w.isMaxMinShow&&w.data.length>0){let G=w.data.filter(Ce=>!Ce[2]).filter(Ce=>Ce[1]),z=G.reduce((Ce,Ve)=>parseFloat(Ve[1])>parseFloat(Ce[1])?Ve:Ce,G[0]),Qe=z?z[0]:"",ne=z?z[1]:"",pe;O.forEach((Ce,Ve)=>{xe(Ce).isValid()&&Ce==Qe&&(Ce.markPointOffset||(Ve>=O.length/5*4?pe=[-200,0]:Ve>=O.length/5*3?pe=[-150,0]:Ve>=O.length/5*2?pe=[-100,0]:Ve>=O.length/5*1?pe=[-50,0]:Ve>=0&&(pe=[0,0])))}),N.markPoint={symbol:"pin",symbolSize:20,label:{show:w.isMarkPointLabelShow!==!1,position:"top",align:"left",fontSize:16,backgroundColor:w.backgroundColor?w.backgroundColor:i[w.name]?i[w.name].color:w.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:w.markPointColor?w.markPointColor:"#fff",formatter:Ce=>{let Ve="";if(Ce.data&&Ce.data.coord&&Ce.data.coord[0]){let tr=w.tmType?w.tmType:"YYYY-MM-DD HH:mm";Ve=xe(Ce.data.coord[0]).format(tr)}let qe="",BA="";if(Ce.name=="Max")return qe=w.maxText?w.maxText:"最大值",w.unit.includes("m³")?BA=Ce.value?ta(Ce.value):"--":w.unit.includes("mm")?BA=Ce.value?Number(Ce.value).toFixed(1):"--":w.unit.includes("m")?BA=Ce.value?Number(Ce.value).toFixed(2):"--":BA=Ce.value,w.tmText?`${qe}: {a0|${BA}} ${w.unit}
67
+ ${w.tmText}: {a1|${Ve}}`:`${w.tmText2?w.tmText2:"相应时间"}: {a1|${Ve}}
68
+ ${qe}: {a0|${BA}} ${w.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:[{name:"Max",label:{offset:w.markPointOffset?w.markPointOffset:pe||[-120,0]},xAxis:Qe,yAxis:ne,value:ne}]}}}else if(w.type=="markLine"){let re={},V=[];w.labelType==2?(w.name=="开始"?V=[0,0,-80,180]:w.name=="结束"&&(V=[0,180,-120,0]),re={show:!w.labelHide,position:"end",fontWeight:"bold",padding:V,fontFamily:"Times New Roman",lineHeight:20,fontSize:15}):re={show:!w.labelHide,position:"insideStartTop",fontFamily:"Times New Roman",lineHeight:20,fontSize:15},N={name:w.name,type:"line",xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,markLine:{symbol:"none",label:re,data:[{lineStyle:{type:w.markLineStyle?w.markLineStyle:w.name=="开始"||w.name=="结束"?"dashed":[5,2],dashOffset:0,color:i[w.name]?i[w.name].color:w.color,width:w.name=="开始"||w.name=="结束"?5:1},[w.data.name]:String(w.data.value),label:{color:i[w.name]?i[w.name].color:w.color,fontFamily:"Times New Roman, serif",distance:-2,position:w.position?w.position:"insideStartTop",formatter:function(he){if(w.labelType==2){let G="";return w.name=="开始"?G=`${w.name}: ${he.value}`:w.name=="结束"&&(G=`${w.name}: ${ee(he.value)}`),w.labelArr&&w.labelArr.forEach(z=>{G+=`{a1|
69
+ ${z.name}: ${z.value} ${z.unit}}`}),G}else{let G="";return(u.includes(w.name)||w.name.includes("梅汛期")||w.name.includes("台汛期"))&&(G="{a0|▽}"),w.data.name=="xAxis"?w.name:` ${G}${w.name}: ${w.data.value} ${w.unit} `}},rich:{a0:{fontSize:15},a1:{color:"red",fontSize:16,fontFamily:"黑体"}}},emphasis:{lineStyle:{width:w.name=="开始"||w.name=="结束"?6:3}}}]}}}else w.type=="scatter"?N={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,symbolSize:w.symbolSize,itemStyle:{color:i[w.name]?i[w.name].color:w.color},data:L?k:w.data,zlevel:9,z:9}:w.type=="boxplot"&&(N={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,borderWidth:2,borderColor:"black"},boxWidth:w.boxWidth?w.boxWidth:30,emphasis:{itemStyle:{borderWidth:2}},data:L?k:w.data,zlevel:9,z:9});return w.markArea&&(w.markArea.data?N.markArea={silent:w.markArea.silent?w.markArea.silent:!1,label:w.markArea.label?w.markArea.label:{},itemStyle:w.markArea.itemStyle?w.markArea.itemStyle:{},data:w.markArea.data}:N.markArea={silent:!0,itemStyle:{opacity:w.markArea.opacity?w.markArea.opacity:.3,color:w.markArea.color?w.markArea.color:"#BEE6E6",borderColor:w.markArea.borderColor?w.markArea.borderColor:"red",borderWidth:w.markArea.borderWidth?w.markArea.borderWidth:2},data:[[{xAxis:w.markArea.start},{xAxis:w.markArea.end}]]}),N}),le=ke.map(w=>w.name),eA={},et={};if(le.includes("水位(m)")&&le.includes("库容(万m³)")&&r.chartOption.stationCode){let w=ke.find(V=>V.name=="水位(m)"),J=[];for(let V=w.min;V<=w.max;V+=w.interval)J.push(V);let N=[];for(let V=0;V<J.length;V++)if(w.max==100)N.push(V*1e3);else if(J[V]==0)N.push(0);else{let he=await K(J[V],V);N.push(he)}ke.forEach(V=>{V.name=="水位(m)"?V.offset=80:V.name=="库容(万m³)"&&(V.offset=80,V.nameGap=-70,V.splitLine.show=!1,V.minorSplitLine.show=!1,V.axisLabel.inside=!0,V.axisTick.inside=!0,q.length>1?V.gridIndex==0?(q[V.gridIndex].left=150,q[V.gridIndex].right=20,q[1].left=150,q[1].right=20):V.gridIndex==1&&(q[0].left=150,q[0].right=70,q[V.gridIndex].left=150,q[V.gridIndex].right=70):q.length==1&&(q[V.gridIndex].left=150,q[V.gridIndex].right=20),V.position="left",V.max=w.max,V.min=w.min,V.interval=w.interval,V.axisLabel.formatter=(he,G)=>N[G]||N[G]==0?Number(N[G]).toFixed(2):"")});let oe=fe.find(V=>V.name=="库容"),ge=fe.find(V=>V.name=="5分钟库容"),Ee=fe.find(V=>V.name=="实测水位"||V.name=="水位"),re=fe.find(V=>V.name=="5分钟水位");oe&&oe.data&&oe.data.forEach(V=>{eA[V[0]]=V[1]}),ge&&ge.data&&ge.data.forEach(V=>{et[V[0]]=V[1]}),fe.forEach(V=>{V.name=="库容"?V.data=Ee.data:V.name=="5分钟库容"&&(V.data=re.data)})}let rn=[...O];if(O.some(w=>Fu(w))&&(rn=rn.filter(w=>{let J=xe(w);if(Fu(w)&&J.minute()===0&&J.second()===0)return w})),q.length==1?fe.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:r.chartOption.series.length==0?k:rn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}):fe.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:r.chartOption.series.length==0?k:rn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9},{name:"b",xAxisIndex:1,yAxisIndex:ke.findIndex(w=>w.gridIndex==1),data:r.chartOption.series.length==0?k:rn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}),q.length==1?q.forEach((w,J)=>{w.top=w.newTop?w.newTop:10,w.bottom=w.newBottom?w.newBottom:r.chartOption.xAxis[J].name?40:20}):q.length==2?q.forEach((w,J)=>{J==0?(w.top=10,w.height=r.chartOption.isTwoXAxis?"48%":"26%"):J==1&&(w.top=r.chartOption.isTwoXAxis?"52%":"30%",w.bottom=r.chartOption.xAxis[J].name?40:20)}):q.length==3&&q.forEach((w,J)=>{J==0?(w.top=10,w.height="26%"):(J==1||J==2)&&(w.top="30%",w.bottom=40)}),_.value={animation:!0,tooltip:{show:!(r.chartOption.isTooltipItem||r.chartOption.tooltipShow==!1),hideDelay:0,triggerOn:"mousemove",trigger:r.chartOption.tooltipType=="1"?"item":"axis",axisPointer:{animation:!1,animationDuration:1e3,animationDurationUpdate:200},formatter:function(w){if(r.chartOption.tooltipType=="1"){if(w.componentSubType=="boxplot"){let J=M[0]?M[0].unit:"",N=w.name+"<br/>";return N+=`<div style='padding-right:8px'>
70
70
  <div style='display:flex;flex-direction: column;'>
71
71
  <div>${w.marker} ${w.seriesName}</div>
72
72
  <div style='display:flex;align-items: center;margin-left: 18px'>
@@ -82,43 +82,43 @@ ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w
82
82
  <div style='width:30px'>${J}</div>
83
83
  </div>
84
84
  </div>
85
- </div>`,M}}else if(n.chartOption.tooltipType=="2"||n.chartOption.tooltipType=="4"){let J="";return N.forEach(M=>{let te=w.find(ce=>ce.seriesName==M.name);if(te){let ce=te.axisId,_e=/[\u4e00-\u9fa5]+|\([^)]+\)/g,ee=ce.match(_e),k=ee[0],oe=ee[1]?ee[1].replace(/[\(\)]/g,""):ee[0],z=n.chartOption.yAxis[0].name.match(_e),W=z[0],me=z[1]?z[1].replace(/[\(\)]/g,""):z[0];n.chartOption.tooltipType=="4"&&(J+=`<div style='font-weight: bold;color: ${M.color};'>${te.seriesName}</div>`),J+=`<div style='padding-right:8px'>
85
+ </div>`,N}}else if(r.chartOption.tooltipType=="2"||r.chartOption.tooltipType=="4"){let J="";return M.forEach(N=>{let oe=w.find(ge=>ge.seriesName==N.name);if(oe){let ge=oe.axisId,Ee=/[\u4e00-\u9fa5]+|\([^)]+\)/g,re=ge.match(Ee),V=re[0],he=re[1]?re[1].replace(/[\(\)]/g,""):re[0],G=r.chartOption.yAxis[0].name.match(Ee),z=G[0],Qe=G[1]?G[1].replace(/[\(\)]/g,""):G[0];r.chartOption.tooltipType=="4"&&(J+=`<div style='font-weight: bold;color: ${N.color};'>${oe.seriesName}</div>`),J+=`<div style='padding-right:8px'>
86
86
  <div style='display:flex;align-items: center;justify-content: space-between'>
87
- <div style='margin-right:8px;'>${W}</div>
87
+ <div style='margin-right:8px;'>${z}</div>
88
88
  <div style='display:flex;align-items: center;'>
89
- <div style='margin-right:5px;'>${te.value[1]||te.value[1]===0?te.value[1]:"--"}</div>
90
- <div style='width:30px'>${me||""}</div>
89
+ <div style='margin-right:5px;'>${oe.value[1]||oe.value[1]===0?oe.value[1]:"--"}</div>
90
+ <div style='width:30px'>${Qe||""}</div>
91
91
  </div>
92
92
  </div>
93
93
  <div style='display:flex;align-items: center;justify-content: space-between'>
94
- <div style='margin-right:8px;'>${k}</div>
94
+ <div style='margin-right:8px;'>${V}</div>
95
95
  <div style='display:flex;align-items: center;'>
96
- <div style='margin-right:5px;'>${te.value[0]||te.value[0]===0?te.value[0]:"--"}</div>
97
- <div style='width:30px'>${oe||""}</div>
96
+ <div style='margin-right:5px;'>${oe.value[0]||oe.value[0]===0?oe.value[0]:"--"}</div>
97
+ <div style='width:30px'>${he||""}</div>
98
98
  </div>
99
99
  </div>
100
- </div>`}}),J}else if(n.chartOption.tooltipType=="3"){let J=[];w.forEach(ee=>{J.push(ee.seriesName.replace(/\d+/g,""))});let M="预报潮位",te=w[0].value[0]+"<br/>",ce=0,_e="";return N.forEach((ee,k)=>{let oe=w.find(W=>W.seriesName==ee.name),z="";if(ee.name.includes(M)?(z=n.chartOption.plan[ce],ce++,N.find(W=>W.name=="预报潮位1")&&(_e=`<div>${z}</div>`)):_e="",oe){let W="";oe.value[1]&&(W=`<div style='padding-right:8px'>
101
- ${_e}
100
+ </div>`}}),J}else if(r.chartOption.tooltipType=="3"){let J=[];w.forEach(re=>{J.push(re.seriesName.replace(/\d+/g,""))});let N="预报潮位",oe=w[0].value[0]+"<br/>",ge=0,Ee="";return M.forEach((re,V)=>{let he=w.find(z=>z.seriesName==re.name),G="";if(re.name.includes(N)?(G=r.chartOption.plan[ge],ge++,M.find(z=>z.name=="预报潮位1")&&(Ee=`<div>${G}</div>`)):Ee="",he){let z="";he.value[1]&&(z=`<div style='padding-right:8px'>
101
+ ${Ee}
102
102
  <div style='display:flex;align-items: center;justify-content: space-between'>
103
- <div style='margin-right:8px;'>${oe.marker} ${oe.seriesName.replace(/\d+/g,"")}</div>
103
+ <div style='margin-right:8px;'>${he.marker} ${he.seriesName.replace(/\d+/g,"")}</div>
104
104
  <div style='display:flex;align-items: center;'>
105
- <div style='margin-right:5px;'>${oe.value[1]?oe.value[1]:"--"}</div>
106
- <div style='width:30px'>${ee.unit?ee.unit:""}</div>
105
+ <div style='margin-right:5px;'>${he.value[1]?he.value[1]:"--"}</div>
106
+ <div style='width:30px'>${re.unit?re.unit:""}</div>
107
107
  </div>
108
108
  </div>
109
- </div>`),te+=W}}),te}else{let J="";return n.chartOption.tooltipNameTimeType?Array.isArray(w[0].value)?J=we(w[0].value[0]).format(n.chartOption.tooltipNameTimeType)+"<br/>":J=we(w[0].name).format(n.chartOption.tooltipNameTimeType)+"<br/>":Array.isArray(w[0].value)?J=String(w[0].value[0]).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")+"<br/>":J=w[0].name+"<br/>",N.forEach(M=>{var ce;let te=w.find(_e=>_e.seriesName==M.name);if(te&&!(Array.isArray(te.value)&&te.value[2]===!0)){let _e="";M.key?_e=M.key:c.value.forEach(oe=>{oe.name==te.seriesName?_e=oe.key?oe.key:M.name:oe.children&&oe.children.forEach(z=>{z.name==te.seriesName&&(_e=z.key)})});let ee="",k="";if(te.marker=='<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:transparent;"></span>'?k=`<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:${(ce=i[M.name])==null?void 0:ce.color};"></span>`:k=te.marker,te.value){let oe="";M.data2?oe=M.data2.find(W=>W[0]==te.value[0])[1]:Array.isArray(te.value)?oe=te.value[1]:oe=te.value,JSON.stringify(AA)!="{}"&&te.seriesName=="库容"?oe=AA[w[0].value[0]]:JSON.stringify(Nt)!="{}"&&te.seriesName=="5分钟库容"&&(oe=Nt[w[0].value[0]]),ee=`<div style='padding-right:8px'>
109
+ </div>`),oe+=z}}),oe}else{let J="";return r.chartOption.tooltipNameTimeType?Array.isArray(w[0].value)?J=xe(w[0].value[0]).format(r.chartOption.tooltipNameTimeType)+"<br/>":J=xe(w[0].name).format(r.chartOption.tooltipNameTimeType)+"<br/>":Array.isArray(w[0].value)?J=String(w[0].value[0]).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")+"<br/>":J=w[0].name+"<br/>",M.forEach(N=>{var ge;let oe=w.find(Ee=>Ee.seriesName==N.name);if(oe&&!(Array.isArray(oe.value)&&oe.value[2]===!0)){let Ee="";N.key?Ee=N.key:f.value.forEach(he=>{he.name==oe.seriesName?Ee=he.key?he.key:N.name:he.children&&he.children.forEach(G=>{G.name==oe.seriesName&&(Ee=G.key)})});let re="",V="";if(oe.marker=='<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:transparent;"></span>'?V=`<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:${(ge=i[N.name])==null?void 0:ge.color};"></span>`:V=oe.marker,oe.value){let he="";N.data2?he=N.data2.find(z=>z[0]==oe.value[0])[1]:Array.isArray(oe.value)?he=oe.value[1]:he=oe.value,JSON.stringify(eA)!="{}"&&oe.seriesName=="库容"?he=eA[w[0].value[0]]:JSON.stringify(et)!="{}"&&oe.seriesName=="5分钟库容"&&(he=et[w[0].value[0]]),re=`<div style='padding-right:8px'>
110
110
  <div style='display:flex;align-items: center;justify-content: space-between'>
111
- <div style='margin-right:8px;'>${k} ${_e||te.seriesName}</div>
111
+ <div style='margin-right:8px;'>${V} ${Ee||oe.seriesName}</div>
112
112
  <div style='display:flex;align-items: center;'>
113
- <div style='margin-right:5px;'>${oe||oe===0?oe:"--"}</div>
114
- <div style='width:30px'>${M.unit?M.unit:""}</div>
113
+ <div style='margin-right:5px;'>${he||he===0?he:"--"}</div>
114
+ <div style='width:30px'>${N.unit?N.unit:""}</div>
115
115
  </div>
116
116
  </div>
117
- </div>`}J+=ee}}),J}}},legend:{show:!1,selected:y},grid:ne,axisPointer:{link:{xAxisIndex:"all"}},xAxis:xe,yAxis:Ie,dataZoom:[{type:"inside",xAxisIndex:[0,1],zoomLock:!!n.chartOption.zoomLock,start:n.chartOption.viewDataRange?n.chartOption.viewDataRange[0]:0,end:n.chartOption.viewDataRange?n.chartOption.viewDataRange[1]:100,moveOnMouseMove:n.chartOption.series.some(w=>w.openBarDrag&&(w.type=="line"||w.type=="markLine"))?"ctrl":!0}],series:le},n.chartOption.visualMap&&(C.value.visualMap=n.chartOption.visualMap.map(w=>{let J=le[w.seriesIndex],M=[],te=[];return w.step?te=c2(w.pieces,w.step):te=w.pieces,te.forEach((ce,_e)=>{let ee=new Date(ce.startTm).getTime(),k=new Date(ce.endTm).getTime();_e==0?M.push({lt:ee,color:J.itemStyle.color},{gte:ee,lte:k,color:w.color?w.color:"red"}):M.push({gt:M[M.length-1].lte,lt:ee,color:J.itemStyle.color},{gte:ee,lte:k,color:w.color?w.color:"red"})}),M.push({gt:M[M.length-1].lte,color:J.itemStyle.color}),{show:!1,dimension:w.dimension?w.dimension:0,seriesIndex:w.seriesIndex,pieces:M}})),JSON.stringify(o)!="{}"&&(C.value.dataZoom[0]=o),console.log(C.value),m.setOption(C.value,!0),m.getOption().series.map(w=>{w.markPoint&&(p[w.name]=w.markPoint)}),n.chartOption.isTooltipItem){let w=document.createElement("div");w.className="line-name-tooltip-style",_.appendChild(w),m.on("mouseover",function(J){J.componentType==="series"&&J.seriesType==="line"?(w.innerText=`${J.seriesName}`,w.style.left=`${J.event.offsetX}px`,w.style.top=`${J.event.offsetY}px`,w.style.opacity="1"):w&&(w.style.opacity="0")}),m.on("mouseout",function(J){w&&(w.style.opacity="0")})}else{const w=_.querySelectorAll(".line-name-tooltip-style");w.length>0&&w.forEach(J=>{J.remove()})}m.off("click"),m.on("click",w=>{var J;if(N.find(M=>M.name==w.seriesName)){let M=N.find(te=>te.name==w.seriesName);if(w.seriesType==="line"){const te=w.data,ce=w.seriesIndex;let _e=m.getOption().series[ce].markPoint?m.getOption().series[ce].markPoint.data:[],ee=_e.filter(z=>z.name!="Max"&&z.name!="Min").map(z=>z.coord[0]),k=[],oe;P.forEach((z,W)=>{we(z).isValid()&&z==te[0]&&(W>=P.length/5*4?oe=[-200,0]:W>=P.length/5*3?oe=[-150,0]:W>=P.length/5*2?oe=[-100,0]:W>=P.length/5*1?oe=[-50,0]:W>=0&&(oe=[0,0]))}),ee.includes(w.value[0])?k=_e.filter(z=>z.name=="Max"||z.name=="Min"||z.coord[0]!=w.value[0]):k=[..._e,{coord:te,name:`${te[0]}
118
- ${w.seriesName}: ${te[1]} ${M.unit}`,label:{offset:oe||[-120,0]}}],C.value.series[ce].markPoint={symbol:"pin",symbolSize:20,label:{show:!0,position:"top",align:"left",fontSize:16,backgroundColor:M.backgroundColor?M.backgroundColor:i[M.name]?i[M.name].color:M.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:M.markPointColor?M.markPointColor:"#fff",formatter:z=>{let W="",me=M.tmType?M.tmType:"YYYY-MM-DD HH:mm";z.data&&z.data.coord&&z.data.coord[0]&&(W=we(z.data.coord[0]).format(me));let Ae="",ue="";if(z.name=="Max"||z.name=="Min"){if(z.name=="Max")return Ae=M.maxText?M.maxText:"最大值",M.unit.includes("m³")?ue=z.value?Ti(z.value):"--":M.unit.includes("mm")?ue=z.value?Number(z.value).toFixed(1):"--":M.unit.includes("m")?ue=z.value?Number(z.value).toFixed(2):"--":ue=z.value,M.tmText?`${Ae}: {a0|${ue}} ${M.unit}
119
- ${M.tmText}: {a1|${W}}`:`${M.tmText2?M.tmText2:"相应时间"}: {a1|${W}}
120
- ${Ae}: {a0|${ue}} ${M.unit}`}else return`相应时间: {a1|${we(z.data.coord[0]).format(me)}}
121
- ${M.name}: {a0|${z.data.coord[1]}} ${M.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:k},C.value.dataZoom[0]={...(J=m.getOption())==null?void 0:J.dataZoom[0]},m.setOption(C.value,!0),m.getOption().series.map(z=>{z.markPoint&&(p[z.name]=z.markPoint)})}}}),m.on("mousedown",function(w){m.setOption({tooltip:{show:!1}}),m.dispatchAction({type:"hideTip"});let J=w.seriesIndex,M=n.chartOption.series[J],te=M.stepTM?M.stepTM:60,ce="",_e="",ee="";if(M.openBarDrag){let k={},oe={},z=n.chartOption.yAxis[M.yAxisIndex],W=[];w.componentType=="markLine"&&M.data.name=="xAxis"?W=C.value.series.map((ge,Ne)=>ge.name=="开始"||ge.name=="结束"?JSON.parse(JSON.stringify(ge)):{}):W=C.value.series.map((ge,Ne)=>Ne==J?{data:JSON.parse(JSON.stringify(ge.data))}:{});let me,Ae,ue;n.chartOption.fixedTimePeriod&&(ce=n.chartOption.series.find(ge=>ge.name=="开始").data.value,_e=n.chartOption.series.find(ge=>ge.name=="结束").data.value,ee=we(_e).diff(we(ce),"hour")),m.getZr().off("mousemove"),m.getZr().off("mouseup"),m.getZr().on("mousemove",function(ge){if(w.componentType=="markLine"&&M.data.name=="xAxis"){let Ne=m.convertFromPixel({xAxisIndex:M.xAxisIndex},ge.offsetX),We=we(Ne).format("YYYY-MM-DD HH:00");if(We!==me){const vt=we(We),kt=we(P[P.length-1]),Hu=se?we(se):"";if(vt.isAfter(kt)||vt.isBefore(Hu))return;if(n.chartOption.fixedTimePeriod){if(M.name=="开始"?ue=we(We).add(ee,"hours").format("YYYY-MM-DD HH:00"):M.name=="结束"&&(ue=we(We).add(-ee,"hours").format("YYYY-MM-DD HH:00")),M.name=="开始"&&we(ue).isAfter(kt))return;if(M.name=="结束"&&we(ue).isBefore(Hu))return;W.forEach(Je=>{M.name=="开始"?Je.name=="开始"?(Je.markLine.data[0].xAxis=We,Je.markArea.data[0][0].xAxis=We,Je.markArea.data[0][1].xAxis=ue):Je.name=="结束"&&(Je.markLine.data[0].xAxis=ue):M.name=="结束"&&(Je.name=="开始"?(Je.markLine.data[0].xAxis=ue,Je.markArea.data[0][0].xAxis=ue,Je.markArea.data[0][1].xAxis=We):Je.name=="结束"&&(Je.markLine.data[0].xAxis=We))})}else W.forEach(Je=>{M.name=="开始"?Je.name=="开始"&&(Je.markLine.data[0].xAxis=We,Je.markArea.data[0][0].xAxis=We):M.name=="结束"&&(Je.name=="开始"?Je.markArea.data[0][1].xAxis=We:Je.name=="结束"&&(Je.markLine.data[0].xAxis=We))});m.setOption({series:W},{notMerge:!1,lazyUpdate:!0}),me=We}}else{let[Ne,We]=m.convertFromPixel({seriesIndex:J},[ge.offsetX,ge.offsetY]);if(we(Ne).format("YYYY-MM-DD HH:00")!==me||!Ae||Math.abs(We-Ae)>=.5){const vt=we(Ne).format("YYYY-MM-DD HH:00");oe[vt]=We;let kt=Object.keys(oe),Hu=new Set(kt);W[J].data.forEach(TA=>{Hu.has(TA[0])&&(TA[1]=oe[TA[0]])});let Je=HC(new Date(kt[0]),new Date(kt[kt.length-1]),te),Cd=Object.entries(oe),$4=new Set(kt);Je.forEach(TA=>{$4.has(TA)||Cd.push(ie(Cd,TA))});let Fo={};Cd.forEach(TA=>{Fo[TA[0]]=TA[1]});let q4=Object.keys(Fo),j4=new Set(q4);W[J].data.forEach(TA=>{if(j4.has(TA[0])){let Ou="";z.name.includes("m³")?Ou=Ti(Fo[TA[0]]):z.name.includes("mm")?Ou=Fo[TA[0]].toFixed(1):z.name.includes("m")&&(Ou=Fo[TA[0]].toFixed(2)),TA[1]=Ou}}),m.setOption({series:W},{notMerge:!1,lazyUpdate:!0}),me=vt,Ae=We}}}),m.getZr().on("mouseup",function(){if(m.getZr().off("mousemove"),m.getZr().off("mouseup"),w.componentType=="markLine"&&M.data.name=="xAxis"){if(me)if(ue){const ge=we(P[P.length-1]),Ne=se?we(se):"";M.name=="开始"&&we(ue).isAfter(ge)?ue=we(me).add(ee,"hours").format("YYYY-MM-DD HH:00"):M.name=="结束"&&we(ue).isBefore(Ne)&&(ue=we(me).add(-ee,"hours").format("YYYY-MM-DD HH:00")),k={name:"开始/结束",value:M.name=="开始"?`${me}/${ue}`:`${ue}/${me}`}}else k={name:M.name,value:me}}else k={name:w.seriesName,data:W[J].data};k.name&&a("getNewSeriesData",k),m.getZr().on("mousemove",function(ge){let Ne=ge.offsetX,We=ge.offsetY;m.dispatchAction({type:"showTip",x:Ne,y:We})})})}}),window.onresize=function(){m.resize()}},F=O=>{L.nextTick(()=>{m&&m.resize()})},E=(O,N)=>{m.dispatchAction({type:N?"legendSelect":"legendUnSelect",name:O})};function U(O){return O.month()===0&&O.date()===1&&O.hour()===0&&O.minute()===0}function x(O){O.preventDefault();let N=document.querySelector("body .chartMenu");N&&N.remove();let H=O.pageX,K=O.pageY,P=document.createElement("ul");P.style.position="absolute",P.style.left=H+"px",P.style.top=K+"px",P.className="chartMenu";let se=document.createElement("li");se.style.cursor="pointer",se.innerHTML=`<div><img src='${P4}'><span>还原缩放</span></div>`,P.appendChild(se);let ne=document.createElement("li");ne.style.cursor="pointer",ne.innerHTML=`<div><img src='${N4}'><span>复制图片</span></div>`,P.appendChild(ne);let xe=document.createElement("li");xe.style.cursor="pointer",xe.innerHTML=`<div><img src='${k4}'><span>导出图片</span></div>`,P.appendChild(xe),se.addEventListener("click",()=>{m.dispatchAction({type:"dataZoom",dataZoomIndex:0,start:0,end:100})}),ne.addEventListener("click",()=>{P1(r.value,{useCORS:!0,scale:2,width:r.value.offsetWidth,height:r.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(Ie=>{const V=Ie.toDataURL("image/png"),le=b(V,"图片");I(le),Hn.ElMessage.success("复制成功")})}),xe.addEventListener("click",()=>{R()}),document.body.appendChild(P),document.addEventListener("click",()=>{P.parentNode&&document.body.removeChild(P)})}const b=(O,N="file")=>{const H=O.split(","),K=H[0].match(/:(.*?);/)[1],P=K.split("/")[1],se=window.atob(H[1]);let ne=se.length;const xe=new Uint8Array(ne);for(;ne--;)xe[ne]=se.charCodeAt(ne);return new File([xe],`${N}.${P}`,{type:K})},I=O=>{const N=new FileReader;N.onload=H=>{const K=H.target.result.toString(),P=new Image;P.src=K,P.onload=()=>{let se=T(P),ne=D(se.replace("data:image/png;base64,",""),"image/png",512);navigator.clipboard.write([new ClipboardItem({"image/png":ne})])}},N.readAsDataURL(O)},T=O=>{let N=document.createElement("canvas");return N.width=O.width,N.height=O.height,N.getContext("2d").drawImage(O,0,0,O.width,O.height),N.toDataURL("image/png")},D=(O,N,H)=>{N=N||"",H=H||512;let K=window.atob(O),P=[];for(let ne=0;ne<K.length;ne+=H){let xe=K.slice(ne,ne+H),Ie=new Array(xe.length);for(let le=0;le<xe.length;le++)Ie[le]=xe.charCodeAt(le);let V=new Uint8Array(Ie);P.push(V)}return new Blob(P,{type:N})},R=()=>{P1(r.value,{useCORS:!0,scale:1,width:r.value.offsetWidth,height:r.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(O=>{const N=O.toDataURL("image/png"),H=document.createElement("a");H.href=N,H.download=n.chartOption.title,H.click()})},$=L.ref();function G(){return $.value?$.value.offsetHeight:0}function X(O,N){return new Promise(H=>{h2({STCD:n.chartOption.stationCode,rzw:O,rzwType:"rz"}).then(K=>{K.statusCode==200&&K.data?H(K.data):H(N*1e3)})})}function ie(O,N){if(O.length>0){let H=O.filter(P=>we(P[0]).isBefore(we(N))),K=O.filter(P=>we(P[0]).isAfter(we(N)));if(H.length==0)return[N,K[0][1]];if(K.length==0)return[N,H[H.length-1][1]];{let P=we(N).diff(we(H[H.length-1][0]),"seconds"),se=K[0][1]-H[H.length-1][1],ne=we(K[0][0]).diff(we(H[H.length-1][0]),"seconds"),xe=P*se/ne+H[H.length-1][1];return[N,Number(xe)]}}}function ve(O){var ne;let N=(ne=n.chartOption.series.find(xe=>xe.name=="开始"))==null?void 0:ne.data.value;const H=we(N),K=we(O),P=H.year()===K.year();return P&&H.month()===K.month()?K.format("DD HH:mm"):P?K.format("MM-DD HH:mm"):K.format("YYYY-MM-DD HH:mm")}return e({getLegendBoxHeight:G,onChange:g}),(O,N)=>{const H=L.resolveComponent("el-checkbox"),K=L.resolveComponent("svg-icon"),P=L.resolveComponent("el-icon"),se=L.resolveComponent("el-dropdown-item"),ne=L.resolveComponent("el-dropdown-menu"),xe=L.resolveComponent("el-dropdown"),Ie=L.resolveDirective("resize");return L.withDirectives((L.openBlock(),L.createElementBlock("div",{class:"box",ref_key:"chartBox",ref:r,onContextmenu:N[1]||(N[1]=V=>x(V))},[L.withDirectives((L.openBlock(),L.createElementBlock("div",K4,[L.createTextVNode(L.toDisplayString(t.chartOption.title),1)])),[[L.vShow,t.chartOption.title],[Ie,F]]),L.withDirectives((L.openBlock(),L.createElementBlock("div",V4,[L.createTextVNode(L.toDisplayString(t.chartOption.subTitle),1)])),[[L.vShow,t.chartOption.subTitle],[Ie,F]]),L.withDirectives((L.openBlock(),L.createElementBlock("div",{class:"legend-box",ref_key:"myLegend",ref:$},[c.value.length>1?(L.openBlock(),L.createBlock(H,{key:0,modelValue:h.value,"onUpdate:modelValue":N[0]||(N[0]=V=>h.value=V),label:"全选",onChange:d,style:{"--fill-color":"#409EFF"}},null,8,["modelValue"])):L.createCommentVNode("",!0),(L.openBlock(!0),L.createElementBlock(L.Fragment,null,L.renderList(c.value,(V,le)=>(L.openBlock(),L.createElementBlock(L.Fragment,{key:le},[V.children?L.createCommentVNode("",!0):(L.openBlock(),L.createBlock(H,{key:0,modelValue:V.isSelected,"onUpdate:modelValue":Se=>V.isSelected=Se,onChange:Se=>g(Se,V.name),style:L.normalizeStyle({"--fill-color":V.color?V.color:"#409EFF"})},{default:L.withCtx(()=>[V.icon?(L.openBlock(),L.createBlock(K,{key:0,"icon-class":V.icon,style:L.normalizeStyle({width:V.iconWidth?V.iconWidth+"px":"20px",height:V.iconHeight?V.iconHeight+"px":"20px"}),color:V.color},null,8,["icon-class","style","color"])):L.createCommentVNode("",!0),L.createElementVNode("span",{style:L.normalizeStyle({color:V.color,marginLeft:"3px"})},L.toDisplayString(V.key?V.key:V.name),5),V.children&&V.children.length>0?(L.openBlock(),L.createBlock(P,{key:1,class:"el-icon--right"},{default:L.withCtx(()=>[L.createVNode(L.unref(N1))]),_:1})):L.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])),V.children&&V.children.length>0?(L.openBlock(),L.createBlock(xe,{key:1,"hide-on-click":!1},{dropdown:L.withCtx(()=>[L.createVNode(ne,null,{default:L.withCtx(()=>[(L.openBlock(!0),L.createElementBlock(L.Fragment,null,L.renderList(V.children,(Se,AA)=>(L.openBlock(),L.createBlock(se,{key:AA},{default:L.withCtx(()=>[L.createVNode(H,{modelValue:Se.isSelected,"onUpdate:modelValue":Nt=>Se.isSelected=Nt,onChange:Nt=>g(Nt,Se.name),style:L.normalizeStyle({"--fill-color":Se.color?Se.color:"#409EFF"})},{default:L.withCtx(()=>[L.createElementVNode("div",G4,[Se.icon?(L.openBlock(),L.createBlock(K,{key:0,"icon-class":Se.icon,style:L.normalizeStyle({width:Se.iconWidth?Se.iconWidth+"px":"20px",height:Se.iconHeight?Se.iconHeight+"px":"20px"}),color:Se.color},null,8,["icon-class","style","color"])):L.createCommentVNode("",!0)]),L.createElementVNode("span",{style:L.normalizeStyle({color:Se.color,marginLeft:"3px"})},L.toDisplayString(Se.key?Se.key:Se.name),5)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024))),128))]),_:2},1024)]),default:L.withCtx(()=>[L.createVNode(H,{modelValue:V.isSelected,"onUpdate:modelValue":Se=>V.isSelected=Se,onChange:Se=>g(Se,V.name),style:L.normalizeStyle({"--fill-color":V.color?V.color:"#409EFF"})},{default:L.withCtx(()=>[V.icon?(L.openBlock(),L.createBlock(K,{key:0,"icon-class":V.icon,style:L.normalizeStyle({width:V.iconWidth?V.iconWidth+"px":"20px",height:V.iconHeight?V.iconHeight+"px":"20px"}),color:V.color},null,8,["icon-class","style","color"])):L.createCommentVNode("",!0),L.createElementVNode("span",{style:L.normalizeStyle({color:V.color,marginLeft:"3px"})},L.toDisplayString(V.key?V.key:V.name),5),V.children&&V.children.length>0?(L.openBlock(),L.createBlock(P,{key:1,class:"el-icon--right"},{default:L.withCtx(()=>[L.createVNode(L.unref(N1))]),_:1})):L.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024)):L.createCommentVNode("",!0)],64))),128))])),[[Ie,F]]),L.createElementVNode("div",z4,[L.createElementVNode("div",{id:t.id,style:L.normalizeStyle({width:t.width,height:t.height})},null,12,W4)])],32)),[[Ie,F]])}}},[["__scopeId","data-v-f5865c11"]]),tk="",Y4=L.defineComponent({props:{iconClass:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""}},setup(t){return{iconName:L.computed(()=>`#icon-${t.iconClass}`),svgClass:L.computed(()=>t.className?`svg-icon ${t.className}`:"svg-icon")}}}),X4=["xlink:href","fill"];function Z4(t,e,A,r,n,i){return L.openBlock(),L.createElementBlock("svg",{class:L.normalizeClass(t.svgClass),"aria-hidden":"true"},[L.createElementVNode("use",{"xlink:href":t.iconName,fill:t.color},null,8,X4)],2)}const J4=k1(Y4,[["render",Z4]]);Mu.install=t=>{const e=document.createElement("style");e.textContent=`
117
+ </div>`}J+=re}}),J}}},legend:{show:!1,selected:B},grid:q,axisPointer:{link:{xAxisIndex:"all"}},xAxis:Le,yAxis:ke,dataZoom:[{type:"inside",xAxisIndex:[0,1],zoomLock:!!r.chartOption.zoomLock,start:r.chartOption.viewDataRange?r.chartOption.viewDataRange[0]:0,end:r.chartOption.viewDataRange?r.chartOption.viewDataRange[1]:100,moveOnMouseMove:r.chartOption.series.some(w=>w.openBarDrag&&(w.type=="line"||w.type=="markLine"))?"ctrl":!0}],series:fe},r.chartOption.visualMap&&(_.value.visualMap=r.chartOption.visualMap.map(w=>{let J=fe[w.seriesIndex],N=[],oe=[];return w.step?oe=W2(w.pieces,w.step):oe=w.pieces,oe.forEach((ge,Ee)=>{let re=new Date(ge.startTm).getTime(),V=new Date(ge.endTm).getTime();Ee==0?N.push({lt:re,color:J.itemStyle.color},{gte:re,lte:V,color:w.color?w.color:"red"}):N.push({gt:N[N.length-1].lte,lt:re,color:J.itemStyle.color},{gte:re,lte:V,color:w.color?w.color:"red"})}),N.push({gt:N[N.length-1].lte,color:J.itemStyle.color}),{show:!1,dimension:w.dimension?w.dimension:0,seriesIndex:w.seriesIndex,pieces:N}})),JSON.stringify(a)!="{}"&&(_.value.dataZoom[0]=a),console.log(_.value),m.setOption(_.value,!0),m.getOption().series.map(w=>{w.markPoint&&(g[w.name]=w.markPoint)}),r.chartOption.isTooltipItem){let w=document.createElement("div");w.className="line-name-tooltip-style",y.appendChild(w),m.on("mouseover",function(J){J.componentType==="series"&&J.seriesType==="line"?(w.innerText=`${J.seriesName}`,w.style.left=`${J.event.offsetX}px`,w.style.top=`${J.event.offsetY}px`,w.style.opacity="1"):w&&(w.style.opacity="0")}),m.on("mouseout",function(J){w&&(w.style.opacity="0")})}else{const w=y.querySelectorAll(".line-name-tooltip-style");w.length>0&&w.forEach(J=>{J.remove()})}m.off("click"),m.on("click",w=>{var J;if(M.find(N=>N.name==w.seriesName)){let N=M.find(oe=>oe.name==w.seriesName);if(w.seriesType==="line"){const oe=w.data,ge=w.seriesIndex;let Ee=m.getOption().series[ge].markPoint?m.getOption().series[ge].markPoint.data:[],re=Ee.filter(G=>G.name!="Max"&&G.name!="Min").map(G=>G.coord[0]),V=[],he;O.forEach((G,z)=>{xe(G).isValid()&&G==oe[0]&&(z>=O.length/5*4?he=[-200,0]:z>=O.length/5*3?he=[-150,0]:z>=O.length/5*2?he=[-100,0]:z>=O.length/5*1?he=[-50,0]:z>=0&&(he=[0,0]))}),re.includes(w.value[0])?V=Ee.filter(G=>G.name=="Max"||G.name=="Min"||G.coord[0]!=w.value[0]):V=[...Ee,{coord:oe,name:`${oe[0]}
118
+ ${w.seriesName}: ${oe[1]} ${N.unit}`,label:{offset:he||[-120,0]}}],_.value.series[ge].markPoint={symbol:"pin",symbolSize:20,label:{show:!0,position:"top",align:"left",fontSize:16,backgroundColor:N.backgroundColor?N.backgroundColor:i[N.name]?i[N.name].color:N.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:N.markPointColor?N.markPointColor:"#fff",formatter:G=>{let z="",Qe=N.tmType?N.tmType:"YYYY-MM-DD HH:mm";G.data&&G.data.coord&&G.data.coord[0]&&(z=xe(G.data.coord[0]).format(Qe));let ne="",pe="";if(G.name=="Max"||G.name=="Min"){if(G.name=="Max")return ne=N.maxText?N.maxText:"最大值",N.unit.includes("m³")?pe=G.value?ta(G.value):"--":N.unit.includes("mm")?pe=G.value?Number(G.value).toFixed(1):"--":N.unit.includes("m")?pe=G.value?Number(G.value).toFixed(2):"--":pe=G.value,N.tmText?`${ne}: {a0|${pe}} ${N.unit}
119
+ ${N.tmText}: {a1|${z}}`:`${N.tmText2?N.tmText2:"相应时间"}: {a1|${z}}
120
+ ${ne}: {a0|${pe}} ${N.unit}`}else return`相应时间: {a1|${xe(G.data.coord[0]).format(Qe)}}
121
+ ${N.name}: {a0|${G.data.coord[1]}} ${N.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:V},_.value.dataZoom[0]={...(J=m.getOption())==null?void 0:J.dataZoom[0]},m.setOption(_.value,!0),m.getOption().series.map(G=>{G.markPoint&&(g[G.name]=G.markPoint)})}}}),m.on("mousedown",function(w){m.setOption({tooltip:{show:!1}}),m.dispatchAction({type:"hideTip"});let J=w.seriesIndex,N=r.chartOption.series[J],oe=N.stepTM?N.stepTM:60,ge="",Ee="",re="";if(N.openBarDrag){let V={},he={},G=r.chartOption.yAxis[N.yAxisIndex],z=[];w.componentType=="markLine"&&N.data.name=="xAxis"?z=_.value.series.map((Ce,Ve)=>Ce.name=="开始"||Ce.name=="结束"?JSON.parse(JSON.stringify(Ce)):{}):z=_.value.series.map((Ce,Ve)=>Ve==J?{data:JSON.parse(JSON.stringify(Ce.data))}:{});let Qe,ne,pe;r.chartOption.fixedTimePeriod&&(ge=r.chartOption.series.find(Ce=>Ce.name=="开始").data.value,Ee=r.chartOption.series.find(Ce=>Ce.name=="结束").data.value,re=xe(Ee).diff(xe(ge),"hour")),m.getZr().off("mousemove"),m.getZr().off("mouseup"),m.getZr().on("mousemove",function(Ce){if(w.componentType=="markLine"&&N.data.name=="xAxis"){let Ve=m.convertFromPixel({xAxisIndex:N.xAxisIndex},Ce.offsetX),qe=xe(Ve).format("YYYY-MM-DD HH:00");if(qe!==Qe){const BA=xe(qe),tr=xe(O[O.length-1]),Cf=se?xe(se):"";if(BA.isAfter(tr)||BA.isBefore(Cf))return;if(r.chartOption.fixedTimePeriod){if(N.name=="开始"?pe=xe(qe).add(re,"hours").format("YYYY-MM-DD HH:00"):N.name=="结束"&&(pe=xe(qe).add(-re,"hours").format("YYYY-MM-DD HH:00")),N.name=="开始"&&xe(pe).isAfter(tr))return;if(N.name=="结束"&&xe(pe).isBefore(Cf))return;z.forEach(At=>{N.name=="开始"?At.name=="开始"?(At.markLine.data[0].xAxis=qe,At.markArea.data[0][0].xAxis=qe,At.markArea.data[0][1].xAxis=pe):At.name=="结束"&&(At.markLine.data[0].xAxis=pe):N.name=="结束"&&(At.name=="开始"?(At.markLine.data[0].xAxis=pe,At.markArea.data[0][0].xAxis=pe,At.markArea.data[0][1].xAxis=qe):At.name=="结束"&&(At.markLine.data[0].xAxis=qe))})}else z.forEach(At=>{N.name=="开始"?At.name=="开始"&&(At.markLine.data[0].xAxis=qe,At.markArea.data[0][0].xAxis=qe):N.name=="结束"&&(At.name=="开始"?At.markArea.data[0][1].xAxis=qe:At.name=="结束"&&(At.markLine.data[0].xAxis=qe))});m.setOption({series:z},{notMerge:!1,lazyUpdate:!0}),Qe=qe}}else{let[Ve,qe]=m.convertFromPixel({seriesIndex:J},[Ce.offsetX,Ce.offsetY]);if(xe(Ve).format("YYYY-MM-DD HH:00")!==Qe||!ne||Math.abs(qe-ne)>=.5){const BA=xe(Ve).format("YYYY-MM-DD HH:00");he[BA]=qe;let tr=Object.keys(he),Cf=new Set(tr);z[J].data.forEach(Nt=>{Cf.has(Nt[0])&&(Nt[1]=he[Nt[0]])});let At=H_(new Date(tr[0]),new Date(tr[tr.length-1]),oe),Ep=Object.entries(he),Ik=new Set(tr);At.forEach(Nt=>{Ik.has(Nt)||Ep.push(Y(Ep,Nt))});let qo={};Ep.forEach(Nt=>{qo[Nt[0]]=Nt[1]});let Tk=Object.keys(qo),Dk=new Set(Tk);z[J].data.forEach(Nt=>{if(Dk.has(Nt[0])){let _f="";G.name.includes("m³")?_f=ta(qo[Nt[0]]):G.name.includes("mm")?_f=qo[Nt[0]].toFixed(1):G.name.includes("m")&&(_f=qo[Nt[0]].toFixed(2)),Nt[1]=_f}}),m.setOption({series:z},{notMerge:!1,lazyUpdate:!0}),Qe=BA,ne=qe}}}),m.getZr().on("mouseup",function(){if(m.getZr().off("mousemove"),m.getZr().off("mouseup"),w.componentType=="markLine"&&N.data.name=="xAxis"){if(Qe)if(pe){const Ce=xe(O[O.length-1]),Ve=se?xe(se):"";N.name=="开始"&&xe(pe).isAfter(Ce)?pe=xe(Qe).add(re,"hours").format("YYYY-MM-DD HH:00"):N.name=="结束"&&xe(pe).isBefore(Ve)&&(pe=xe(Qe).add(-re,"hours").format("YYYY-MM-DD HH:00")),V={name:"开始/结束",value:N.name=="开始"?`${Qe}/${pe}`:`${pe}/${Qe}`}}else V={name:N.name,value:Qe}}else V={name:w.seriesName,data:z[J].data};V.name&&t("getNewSeriesData",V),m.getZr().on("mousemove",function(Ce){let Ve=Ce.offsetX,qe=Ce.offsetY;m.dispatchAction({type:"showTip",x:Ve,y:qe})})})}}),window.onresize=function(){m.resize()}},Q=D=>{R.nextTick(()=>{m&&m.resize()})},x=(D,M)=>{m.dispatchAction({type:M?"legendSelect":"legendUnSelect",name:D})};function F(D){return D.month()===0&&D.date()===1&&D.hour()===0&&D.minute()===0}function S(D){D.preventDefault();let M=document.querySelector("body .chartMenu");M&&M.remove();let L=D.pageX,k=D.pageY,O=document.createElement("ul");O.style.position="absolute",O.style.left=L+"px",O.style.top=k+"px",O.className="chartMenu";let se=document.createElement("li");se.style.cursor="pointer",se.innerHTML=`<div><img src='${mk}'><span>还原缩放</span></div>`,O.appendChild(se);let q=document.createElement("li");q.style.cursor="pointer",q.innerHTML=`<div><img src='${yk}'><span>复制图片</span></div>`,O.appendChild(q);let Le=document.createElement("li");Le.style.cursor="pointer",Le.innerHTML=`<div><img src='${wk}'><span>导出图片</span></div>`,O.appendChild(Le),se.addEventListener("click",()=>{m.dispatchAction({type:"dataZoom",dataZoomIndex:0,start:0,end:100})}),q.addEventListener("click",()=>{N1(n.value,{useCORS:!0,scale:2,width:n.value.offsetWidth,height:n.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(ke=>{const Ae=ke.toDataURL("image/png"),fe=E(Ae,"图片");I(fe),V1.ElMessage.success("复制成功")})}),Le.addEventListener("click",()=>{H()}),document.body.appendChild(O),document.addEventListener("click",()=>{O.parentNode&&document.body.removeChild(O)})}const E=(D,M="file")=>{const L=D.split(","),k=L[0].match(/:(.*?);/)[1],O=k.split("/")[1],se=window.atob(L[1]);let q=se.length;const Le=new Uint8Array(q);for(;q--;)Le[q]=se.charCodeAt(q);return new File([Le],`${M}.${O}`,{type:k})},I=D=>{const M=new FileReader;M.onload=L=>{const k=L.target.result.toString(),O=new Image;O.src=k,O.onload=()=>{let se=U(O),q=T(se.replace("data:image/png;base64,",""),"image/png",512);navigator.clipboard.write([new ClipboardItem({"image/png":q})])}},M.readAsDataURL(D)},U=D=>{let M=document.createElement("canvas");return M.width=D.width,M.height=D.height,M.getContext("2d").drawImage(D,0,0,D.width,D.height),M.toDataURL("image/png")},T=(D,M,L)=>{M=M||"",L=L||512;let k=window.atob(D),O=[];for(let q=0;q<k.length;q+=L){let Le=k.slice(q,q+L),ke=new Array(Le.length);for(let fe=0;fe<Le.length;fe++)ke[fe]=Le.charCodeAt(fe);let Ae=new Uint8Array(ke);O.push(Ae)}return new Blob(O,{type:M})},H=()=>{N1(n.value,{useCORS:!0,scale:1,width:n.value.offsetWidth,height:n.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(D=>{const M=D.toDataURL("image/png"),L=document.createElement("a");L.href=M,L.download=r.chartOption.title,L.click()})},P=R.ref();function Z(){return P.value?P.value.offsetHeight:0}function K(D,M){return new Promise(L=>{Y2({STCD:r.chartOption.stationCode,rzw:D}).then(k=>{k.statusCode==200&&k.data?L(k.data):L(M*1e3)})})}function Y(D,M){if(D.length>0){let L=D.filter(O=>xe(O[0]).isBefore(xe(M))),k=D.filter(O=>xe(O[0]).isAfter(xe(M)));if(L.length==0)return[M,k[0][1]];if(k.length==0)return[M,L[L.length-1][1]];{let O=xe(M).diff(xe(L[L.length-1][0]),"seconds"),se=k[0][1]-L[L.length-1][1],q=xe(k[0][0]).diff(xe(L[L.length-1][0]),"seconds"),Le=O*se/q+L[L.length-1][1];return[M,Number(Le)]}}}function ee(D){var q;let M=(q=r.chartOption.series.find(Le=>Le.name=="开始"))==null?void 0:q.data.value;const L=xe(M),k=xe(D),O=L.year()===k.year();return O&&L.month()===k.month()?k.format("DD HH:mm"):O?k.format("MM-DD HH:mm"):k.format("YYYY-MM-DD HH:mm")}return e({getLegendBoxHeight:Z,onChange:d}),(D,M)=>{const L=R.resolveComponent("el-checkbox"),k=R.resolveComponent("svg-icon"),O=R.resolveComponent("el-icon"),se=R.resolveComponent("el-dropdown-item"),q=R.resolveComponent("el-dropdown-menu"),Le=R.resolveComponent("el-dropdown"),ke=R.resolveDirective("resize");return R.withDirectives((R.openBlock(),R.createElementBlock("div",{class:"box",ref_key:"chartBox",ref:n,onContextmenu:M[1]||(M[1]=Ae=>S(Ae))},[R.withDirectives((R.openBlock(),R.createElementBlock("div",Ck,[R.createTextVNode(R.toDisplayString(A.chartOption.title),1)])),[[R.vShow,A.chartOption.title],[ke,Q]]),R.withDirectives((R.openBlock(),R.createElementBlock("div",_k,[R.createTextVNode(R.toDisplayString(A.chartOption.subTitle),1)])),[[R.vShow,A.chartOption.subTitle],[ke,Q]]),R.withDirectives((R.openBlock(),R.createElementBlock("div",{class:"legend-box",ref_key:"myLegend",ref:P},[f.value.length>1?(R.openBlock(),R.createBlock(L,{key:0,modelValue:c.value,"onUpdate:modelValue":M[0]||(M[0]=Ae=>c.value=Ae),label:"全选",onChange:v,style:{"--fill-color":"#409EFF"}},null,8,["modelValue"])):R.createCommentVNode("",!0),(R.openBlock(!0),R.createElementBlock(R.Fragment,null,R.renderList(f.value,(Ae,fe)=>(R.openBlock(),R.createElementBlock(R.Fragment,{key:fe},[Ae.children?R.createCommentVNode("",!0):(R.openBlock(),R.createBlock(L,{key:0,modelValue:Ae.isSelected,"onUpdate:modelValue":le=>Ae.isSelected=le,onChange:le=>d(le,Ae.name),style:R.normalizeStyle({"--fill-color":Ae.color?Ae.color:"#409EFF"})},{default:R.withCtx(()=>[Ae.icon?(R.openBlock(),R.createBlock(k,{key:0,"icon-class":Ae.icon,style:R.normalizeStyle({width:Ae.iconWidth?Ae.iconWidth+"px":"20px",height:Ae.iconHeight?Ae.iconHeight+"px":"20px"}),color:Ae.color},null,8,["icon-class","style","color"])):R.createCommentVNode("",!0),R.createElementVNode("span",{style:R.normalizeStyle({color:Ae.color,marginLeft:"3px"})},R.toDisplayString(Ae.key?Ae.key:Ae.name),5),Ae.children&&Ae.children.length>0?(R.openBlock(),R.createBlock(O,{key:1,class:"el-icon--right"},{default:R.withCtx(()=>[R.createVNode(R.unref(P1))]),_:1})):R.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])),Ae.children&&Ae.children.length>0?(R.openBlock(),R.createBlock(Le,{key:1,"hide-on-click":!1},{dropdown:R.withCtx(()=>[R.createVNode(q,null,{default:R.withCtx(()=>[(R.openBlock(!0),R.createElementBlock(R.Fragment,null,R.renderList(Ae.children,(le,eA)=>(R.openBlock(),R.createBlock(se,{key:eA},{default:R.withCtx(()=>[R.createVNode(L,{modelValue:le.isSelected,"onUpdate:modelValue":et=>le.isSelected=et,onChange:et=>d(et,le.name),style:R.normalizeStyle({"--fill-color":le.color?le.color:"#409EFF"})},{default:R.withCtx(()=>[R.createElementVNode("div",Qk,[le.icon?(R.openBlock(),R.createBlock(k,{key:0,"icon-class":le.icon,style:R.normalizeStyle({width:le.iconWidth?le.iconWidth+"px":"20px",height:le.iconHeight?le.iconHeight+"px":"20px"}),color:le.color},null,8,["icon-class","style","color"])):R.createCommentVNode("",!0)]),R.createElementVNode("span",{style:R.normalizeStyle({color:le.color,marginLeft:"3px"})},R.toDisplayString(le.key?le.key:le.name),5)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024))),128))]),_:2},1024)]),default:R.withCtx(()=>[R.createVNode(L,{modelValue:Ae.isSelected,"onUpdate:modelValue":le=>Ae.isSelected=le,onChange:le=>d(le,Ae.name),style:R.normalizeStyle({"--fill-color":Ae.color?Ae.color:"#409EFF"})},{default:R.withCtx(()=>[Ae.icon?(R.openBlock(),R.createBlock(k,{key:0,"icon-class":Ae.icon,style:R.normalizeStyle({width:Ae.iconWidth?Ae.iconWidth+"px":"20px",height:Ae.iconHeight?Ae.iconHeight+"px":"20px"}),color:Ae.color},null,8,["icon-class","style","color"])):R.createCommentVNode("",!0),R.createElementVNode("span",{style:R.normalizeStyle({color:Ae.color,marginLeft:"3px"})},R.toDisplayString(Ae.key?Ae.key:Ae.name),5),Ae.children&&Ae.children.length>0?(R.openBlock(),R.createBlock(O,{key:1,class:"el-icon--right"},{default:R.withCtx(()=>[R.createVNode(R.unref(P1))]),_:1})):R.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024)):R.createCommentVNode("",!0)],64))),128))])),[[ke,Q]]),R.createElementVNode("div",xk,[R.createElementVNode("div",{id:A.id,style:R.normalizeStyle({width:A.width,height:A.height})},null,12,Fk)])],32)),[[ke,Q]])}}},[["__scopeId","data-v-f5865c11"]]),Ek=R.defineComponent({props:{iconClass:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""}},setup(A){return{iconName:R.computed(()=>`#icon-${A.iconClass}`),svgClass:R.computed(()=>A.className?`svg-icon ${A.className}`:"svg-icon")}}}),bk=["xlink:href","fill"];function Sk(A,e,t,r,n,i){return R.openBlock(),R.createElementBlock("svg",{class:R.normalizeClass(A.svgClass),"aria-hidden":"true"},[R.createElementVNode("use",{"xlink:href":A.iconName,fill:A.color},null,8,bk)],2)}const Uk=k1(Ek,[["render",Sk]]);wf.install=A=>{const e=document.createElement("style");e.textContent=`
122
122
  * {
123
123
  margin: 0;
124
124
  padding: 0;
@@ -212,4 +212,4 @@ ${M.name}: {a0|${z.data.coord[1]}} ${M.unit}`},rich:{a0:{fontSize:25,fontFamily:
212
212
  border-color: var(--fill-color) !important;
213
213
  }
214
214
  }
215
- `,document.head.appendChild(e),t.component("ElCheckbox",Hn.ElCheckbox),t.component("ElIcon",Hn.ElIcon),t.component("ElDropdown",Hn.ElDropdown),t.component("ElDropdownMenu",Hn.ElDropdownMenu),t.component("ElDropdownItem",Hn.ElDropdownItem),t.component("SvgIcon",J4),t.component("HydroGraph",Mu)},Ft.HydroGraph=Mu,Ft.default=Mu,Object.defineProperties(Ft,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
215
+ `,document.head.appendChild(e),A.component("SvgIcon",Uk),A.component("HydroGraph",wf)},TA.HydroGraph=wf,TA.default=wf,Object.defineProperties(TA,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));