@rsdoctor/client 1.5.2 → 1.5.3

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.
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["375"],{85087(t,e,r){"use strict";r.r(e),r.d(e,{yellowDark:()=>L,grey:()=>T,generate:()=>p,presetPalettes:()=>O,presetPrimaryColors:()=>d,green:()=>x,goldDark:()=>R,blueDark:()=>N,orangeDark:()=>D,lime:()=>b,greenDark:()=>B,gray:()=>C,red:()=>g,presetDarkPalettes:()=>U,cyan:()=>w,volcanoDark:()=>I,limeDark:()=>P,cyanDark:()=>F,yellow:()=>_,magentaDark:()=>H,greyDark:()=>V,geekblueDark:()=>z,gold:()=>m,purple:()=>M,volcano:()=>y,orange:()=>v,magenta:()=>k,geekblue:()=>A,purpleDark:()=>j,redDark:()=>E,blue:()=>S});var n=r(5908);let i=Math.round;function o(t,e){let r=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(t=>parseFloat(t));for(let t=0;t<3;t+=1)n[t]=e(n[t]||0,r[t]||"",t);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}let a=(t,e,r)=>0===r?t:t/100;function s(t,e){let r=e||255;return t>r?r:t<0?0:t}class l{constructor(t){function e(e){return e[0]in t&&e[1]in t&&e[2]in t}if((0,n.A)(this,"isValid",!0),(0,n.A)(this,"r",0),(0,n.A)(this,"g",0),(0,n.A)(this,"b",0),(0,n.A)(this,"a",1),(0,n.A)(this,"_h",void 0),(0,n.A)(this,"_s",void 0),(0,n.A)(this,"_l",void 0),(0,n.A)(this,"_v",void 0),(0,n.A)(this,"_max",void 0),(0,n.A)(this,"_min",void 0),(0,n.A)(this,"_brightness",void 0),t)if("string"==typeof t){const e=t.trim();function r(t){return e.startsWith(t)}/^#?[A-F\d]{3,8}$/i.test(e)?this.fromHexString(e):r("rgb")?this.fromRgbString(e):r("hsl")?this.fromHslString(e):(r("hsv")||r("hsb"))&&this.fromHsvString(e)}else if(t instanceof l)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(e("rgb"))this.r=s(t.r),this.g=s(t.g),this.b=s(t.b),this.a="number"==typeof t.a?s(t.a,1):1;else if(e("hsl"))this.fromHsl(t);else if(e("hsv"))this.fromHsv(t);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let e=this.toHsv();return e.h=t,this._c(e)}getLuminance(){function t(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}return .2126*t(this.r)+.7152*t(this.g)+.0722*t(this.b)}getHue(){if(void 0===this._h){let t=this.getMax()-this.getMin();0===t?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/t+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(void 0===this._s){let t=this.getMax()-this.getMin();0===t?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(t=10){let e=this.getHue(),r=this.getSaturation(),n=this.getLightness()-t/100;return n<0&&(n=0),this._c({h:e,s:r,l:n,a:this.a})}lighten(t=10){let e=this.getHue(),r=this.getSaturation(),n=this.getLightness()+t/100;return n>1&&(n=1),this._c({h:e,s:r,l:n,a:this.a})}mix(t,e=50){let r=this._c(t),n=e/100,o=t=>(r[t]-this[t])*n+this[t],a={r:i(o("r")),g:i(o("g")),b:i(o("b")),a:i(100*o("a"))/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let e=this._c(t),r=this.a+e.a*(1-this.a),n=t=>i((this[t]*this.a+e[t]*e.a*(1-this.a))/r);return this._c({r:n("r"),g:n("g"),b:n("b"),a:r})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",e=(this.r||0).toString(16);t+=2===e.length?e:"0"+e;let r=(this.g||0).toString(16);t+=2===r.length?r:"0"+r;let n=(this.b||0).toString(16);if(t+=2===n.length?n:"0"+n,"number"==typeof this.a&&this.a>=0&&this.a<1){let e=i(255*this.a).toString(16);t+=2===e.length?e:"0"+e}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),e=i(100*this.getSaturation()),r=i(100*this.getLightness());return 1!==this.a?`hsla(${t},${e}%,${r}%,${this.a})`:`hsl(${t},${e}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,e,r){let n=this.clone();return n[t]=s(e,r),n}_c(t){return new this.constructor(t)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let e=t.replace("#","");function r(t,r){return parseInt(e[t]+e[r||t],16)}e.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=e[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=e[6]?r(6,7)/255:1)}fromHsl({h:t,s:e,l:r,a:n}){if(this._h=t%360,this._s=e,this._l=r,this.a="number"==typeof n?n:1,e<=0){let t=i(255*r);this.r=t,this.g=t,this.b=t}let o=0,a=0,s=0,l=t/60,u=(1-Math.abs(2*r-1))*e,c=u*(1-Math.abs(l%2-1));l>=0&&l<1?(o=u,a=c):l>=1&&l<2?(o=c,a=u):l>=2&&l<3?(a=u,s=c):l>=3&&l<4?(a=c,s=u):l>=4&&l<5?(o=c,s=u):l>=5&&l<6&&(o=u,s=c);let h=r-u/2;this.r=i((o+h)*255),this.g=i((a+h)*255),this.b=i((s+h)*255)}fromHsv({h:t,s:e,v:r,a:n}){this._h=t%360,this._s=e,this._v=r,this.a="number"==typeof n?n:1;let o=i(255*r);if(this.r=o,this.g=o,this.b=o,e<=0)return;let a=t/60,s=Math.floor(a),l=a-s,u=i(r*(1-e)*255),c=i(r*(1-e*l)*255),h=i(r*(1-e*(1-l))*255);switch(s){case 0:this.g=h,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=h;break;case 3:this.r=u,this.g=c;break;case 4:this.r=h,this.g=u;break;default:this.g=u,this.b=c}}fromHsvString(t){let e=o(t,a);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(t){let e=o(t,a);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(t){let e=o(t,(t,e)=>e.includes("%")?i(t/100*255):t);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}}var u=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function c(t,e,r){var n;return(n=Math.round(t.h)>=60&&240>=Math.round(t.h)?r?Math.round(t.h)-2*e:Math.round(t.h)+2*e:r?Math.round(t.h)+2*e:Math.round(t.h)-2*e)<0?n+=360:n>=360&&(n-=360),n}function h(t,e,r){var n;return 0===t.h&&0===t.s?t.s:((n=r?t.s-.16*e:4===e?t.s+.16:t.s+.05*e)>1&&(n=1),r&&5===e&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(100*n)/100)}function f(t,e,r){return Math.round(100*Math.max(0,Math.min(1,r?t.v+.05*e:t.v-.15*e)))/100}function p(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=new l(t),i=n.toHsv(),o=5;o>0;o-=1){var a=new l({h:c(i,o,!0),s:h(i,o,!0),v:f(i,o,!0)});r.push(a)}r.push(n);for(var s=1;s<=4;s+=1){var p=new l({h:c(i,s),s:h(i,s),v:f(i,s)});r.push(p)}return"dark"===e.theme?u.map(function(t){var n=t.index,i=t.amount;return new l(e.backgroundColor||"#141414").mix(r[n],i).toHexString()}):r.map(function(t){return t.toHexString()})}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},g=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];g.primary=g[5];var y=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];y.primary=y[5];var v=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];v.primary=v[5];var m=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];m.primary=m[5];var _=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];_.primary=_[5];var b=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];b.primary=b[5];var x=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];x.primary=x[5];var w=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];w.primary=w[5];var S=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];S.primary=S[5];var A=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];A.primary=A[5];var M=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];M.primary=M[5];var k=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];k.primary=k[5];var T=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];T.primary=T[5];var C=T,O={red:g,volcano:y,orange:v,gold:m,yellow:_,lime:b,green:x,cyan:w,blue:S,geekblue:A,purple:M,magenta:k,grey:T},E=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];E.primary=E[5];var I=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];I.primary=I[5];var D=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];D.primary=D[5];var R=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];R.primary=R[5];var L=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];L.primary=L[5];var P=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];P.primary=P[5];var B=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];B.primary=B[5];var F=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];F.primary=F[5];var N=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];N.primary=N[5];var z=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];z.primary=z[5];var j=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];j.primary=j[5];var H=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];H.primary=H[5];var V=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];V.primary=V[5];var U={red:E,volcano:I,orange:D,gold:R,yellow:L,lime:P,green:B,cyan:F,blue:N,geekblue:z,purple:j,magenta:H,grey:V}},64558(t,e,r){"use strict";r.r(e),r.d(e,{unit:()=>tr,createTheme:()=>W,legacyNotSelectorLinter:()=>tq,useCSSVarRegister:()=>t8,Theme:()=>V,useStyleRegister:()=>t6,useCacheToken:()=>tg,parentSelectorLinter:()=>t$,Keyframes:()=>ee,StyleProvider:()=>k,legacyLogicalPropertiesTransformer:()=>eo,token2CSSVar:()=>ti,createCache:()=>A,getComputedToken:()=>tp,NaNLinter:()=>tG,_experimental:()=>el,logicalPropertiesLinter:()=>tZ,extractStyle:()=>et,genCalc:()=>N,px2remTransformer:()=>es});var n,i,o=r(97251),a=r(5908),s=r(91639),l=r(57970);let u=function(t){for(var e,r=0,n=0,i=t.length;i>=4;++n,i-=4)e=(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))*0x5bd1e995+((e>>>16)*59797<<16),e^=e>>>24,r=(65535&e)*0x5bd1e995+((e>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&t.charCodeAt(n+2))<<16;case 2:r^=(255&t.charCodeAt(n+1))<<8;case 1:r^=255&t.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)};var c=r(36283),h=r(22155),f=r.t(h,2),p=r(80416),d=r(4462),g=r(39184),y=r(23850),v=r(45804);function m(t){return t.join("%")}var _=function(){function t(e){(0,y.A)(this,t),(0,a.A)(this,"instanceId",void 0),(0,a.A)(this,"cache",new Map),this.instanceId=e}return(0,v.A)(t,[{key:"get",value:function(t){return this.opGet(m(t))}},{key:"opGet",value:function(t){return this.cache.get(t)||null}},{key:"update",value:function(t,e){return this.opUpdate(m(t),e)}},{key:"opUpdate",value:function(t,e){var r=e(this.cache.get(t));null===r?this.cache.delete(t):this.cache.set(t,r)}}]),t}(),b=["children"],x="data-token-hash",w="data-css-hash",S="__cssinjs_instance__";function A(){var t=Math.random().toString(12).slice(2);if("u">typeof document&&document.head&&document.body){var e=document.body.querySelectorAll("style[".concat(w,"]"))||[],r=document.head.firstChild;Array.from(e).forEach(function(e){e[S]=e[S]||t,e[S]===t&&document.head.insertBefore(e,r)});var n={};Array.from(document.querySelectorAll("style[".concat(w,"]"))).forEach(function(e){var r,i=e.getAttribute(w);n[i]?e[S]===t&&(null==(r=e.parentNode)||r.removeChild(e)):n[i]=!0})}return new _(t)}var M=h.createContext({hashPriority:"low",cache:A(),defaultCache:!0}),k=function(t){var e=t.children,r=(0,p.A)(t,b),n=h.useContext(M),i=(0,d.A)(function(){var t=(0,l.A)({},n);Object.keys(r).forEach(function(e){var n=r[e];void 0!==r[e]&&(t[e]=n)});var e=r.cache;return t.cache=t.cache||A(),t.defaultCache=!e&&n.defaultCache,t},[n,r],function(t,e){return!(0,g.A)(t[0],e[0],!0)||!(0,g.A)(t[1],e[1],!0)});return h.createElement(M.Provider,{value:i},e)},T=r(45983),C=r(1568),O=r(9548),E=r(60410),I=r(80451),D=(0,v.A)(function t(){(0,y.A)(this,t)}),R="CALC_UNIT",L=RegExp(R,"g");function P(t){return"number"==typeof t?"".concat(t).concat(R):t}var B=function(t){(0,E.A)(r,t);var e=(0,I.A)(r);function r(t,n){(0,y.A)(this,r),i=e.call(this),(0,a.A)((0,O.A)(i),"result",""),(0,a.A)((0,O.A)(i),"unitlessCssVar",void 0),(0,a.A)((0,O.A)(i),"lowPriority",void 0);var i,o=(0,T.A)(t);return i.unitlessCssVar=n,t instanceof r?i.result="(".concat(t.result,")"):"number"===o?i.result=P(t):"string"===o&&(i.result=t),i}return(0,v.A)(r,[{key:"add",value:function(t){return t instanceof r?this.result="".concat(this.result," + ").concat(t.getResult()):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," + ").concat(P(t))),this.lowPriority=!0,this}},{key:"sub",value:function(t){return t instanceof r?this.result="".concat(this.result," - ").concat(t.getResult()):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," - ").concat(P(t))),this.lowPriority=!0,this}},{key:"mul",value:function(t){return this.lowPriority&&(this.result="(".concat(this.result,")")),t instanceof r?this.result="".concat(this.result," * ").concat(t.getResult(!0)):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," * ").concat(t)),this.lowPriority=!1,this}},{key:"div",value:function(t){return this.lowPriority&&(this.result="(".concat(this.result,")")),t instanceof r?this.result="".concat(this.result," / ").concat(t.getResult(!0)):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," / ").concat(t)),this.lowPriority=!1,this}},{key:"getResult",value:function(t){return this.lowPriority||t?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(t){var e=this,r=(t||{}).unit,n=!0;return("boolean"==typeof r?n=r:Array.from(this.unitlessCssVar).some(function(t){return e.result.includes(t)})&&(n=!1),this.result=this.result.replace(L,n?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),r}(D),F=function(t){(0,E.A)(r,t);var e=(0,I.A)(r);function r(t){var n;return(0,y.A)(this,r),n=e.call(this),(0,a.A)((0,O.A)(n),"result",0),t instanceof r?n.result=t.result:"number"==typeof t&&(n.result=t),n}return(0,v.A)(r,[{key:"add",value:function(t){return t instanceof r?this.result+=t.result:"number"==typeof t&&(this.result+=t),this}},{key:"sub",value:function(t){return t instanceof r?this.result-=t.result:"number"==typeof t&&(this.result-=t),this}},{key:"mul",value:function(t){return t instanceof r?this.result*=t.result:"number"==typeof t&&(this.result*=t),this}},{key:"div",value:function(t){return t instanceof r?this.result/=t.result:"number"==typeof t&&(this.result/=t),this}},{key:"equal",value:function(){return this.result}}]),r}(D);let N=function(t,e){var r="css"===t?B:F;return function(t){return new r(t,e)}};var z=function(){function t(){(0,y.A)(this,t),(0,a.A)(this,"cache",void 0),(0,a.A)(this,"keys",void 0),(0,a.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,v.A)(t,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={map:this.cache};return t.forEach(function(t){if(i){var e;i=null==(e=i)||null==(e=e.map)?void 0:e.get(t)}else i=void 0}),null!=(e=i)&&e.value&&n&&(i.value[1]=this.cacheCallTimes++),null==(r=i)?void 0:r.value}},{key:"get",value:function(t){var e;return null==(e=this.internalGet(t,!0))?void 0:e[0]}},{key:"has",value:function(t){return!!this.internalGet(t)}},{key:"set",value:function(e,r){var n=this;if(!this.has(e)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(t,e){var r=(0,o.A)(t,2)[1];return n.internalGet(e)[1]<r?[e,n.internalGet(e)[1]]:t},[this.keys[0],this.cacheCallTimes]),a=(0,o.A)(i,1)[0];this.delete(a)}this.keys.push(e)}var s=this.cache;e.forEach(function(t,i){if(i===e.length-1)s.set(t,{value:[r,n.cacheCallTimes++]});else{var o=s.get(t);o?o.map||(o.map=new Map):s.set(t,{map:new Map}),s=s.get(t).map}})}},{key:"deleteByPath",value:function(t,e){var r,n=t.get(e[0]);if(1===e.length)return n.map?t.set(e[0],{map:n.map}):t.delete(e[0]),null==(r=n.value)?void 0:r[0];var i=this.deleteByPath(n.map,e.slice(1));return n.map&&0!==n.map.size||n.value||t.delete(e[0]),i}},{key:"delete",value:function(t){if(this.has(t))return this.keys=this.keys.filter(function(e){return!function(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}(e,t)}),this.deleteByPath(this.cache,t)}}]),t}();(0,a.A)(z,"MAX_CACHE_SIZE",20),(0,a.A)(z,"MAX_CACHE_OFFSET",5);var j=r(76400),H=0,V=function(){function t(e){(0,y.A)(this,t),(0,a.A)(this,"derivatives",void 0),(0,a.A)(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=H,0===e.length&&(0,j.$e)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),H+=1}return(0,v.A)(t,[{key:"getDerivativeToken",value:function(t){return this.derivatives.reduce(function(e,r){return r(t,e)},void 0)}}]),t}(),U=new z;function W(t){var e=Array.isArray(t)?t:[t];return U.has(e)||U.set(e,new V(e)),U.get(e)}var q=new WeakMap,Z={},G=new WeakMap;function $(t){var e=G.get(t)||"";return e||(Object.keys(t).forEach(function(r){var n=t[r];e+=r,n instanceof V?e+=n.id:n&&"object"===(0,T.A)(n)?e+=$(n):e+=n}),e=u(e),G.set(t,e)),e}function Y(t,e){return u("".concat(e,"_").concat($(t)))}var X="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),K="_bAmBoO_";function J(t,e,r){if((0,C.A)()){(0,c.BD)(t,X);var n,i,o=document.createElement("div");o.style.position="fixed",o.style.left="0",o.style.top="0",null==e||e(o),document.body.appendChild(o);var a=r?r(o):null==(n=getComputedStyle(o).content)?void 0:n.includes(K);return null==(i=o.parentNode)||i.removeChild(o),(0,c.m6)(X),a}return!1}var Q=void 0,tt=void 0,te=(0,C.A)();function tr(t){return"number"==typeof t?"".concat(t,"px"):t}function tn(t,e,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return t;var s=(0,l.A)((0,l.A)({},i),{},(n={},(0,a.A)(n,x,e),(0,a.A)(n,w,r),n)),u=Object.keys(s).map(function(t){var e=s[t];return e?"".concat(t,'="').concat(e,'"'):null}).filter(function(t){return t}).join(" ");return"<style ".concat(u,">").concat(t,"</style>")}var ti=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(e?"".concat(e,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},to=function(t,e,r){var n,i={},a={};return Object.entries(t).forEach(function(t){var e=(0,o.A)(t,2),n=e[0],s=e[1];if(null!=r&&null!=(l=r.preserve)&&l[n])a[n]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=r&&null!=(u=r.ignore)&&u[n])){var l,u,c,h=ti(n,null==r?void 0:r.prefix);i[h]="number"!=typeof s||null!=r&&null!=(c=r.unitless)&&c[n]?String(s):"".concat(s,"px"),a[n]="var(".concat(h,")")}}),[a,(n={scope:null==r?void 0:r.scope},Object.keys(i).length?".".concat(e).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(i).map(function(t){var e=(0,o.A)(t,2),r=e[0],n=e[1];return"".concat(r,":").concat(n,";")}).join(""),"}"):"")]},ta=r(57975),ts=(0,l.A)({},f).useInsertionEffect,tl=ts?function(t,e,r){return ts(function(){return t(),e()},r)}:function(t,e,r){h.useMemo(t,r),(0,ta.A)(function(){return e(!0)},r)},tu=void 0!==(0,l.A)({},f).useInsertionEffect?function(t){var e=[],r=!1;return h.useEffect(function(){return r=!1,function(){r=!0,e.length&&e.forEach(function(t){return t()})}},t),function(t){r||e.push(t)}}:function(){return function(t){t()}};function tc(t,e,r,n,i){var a=h.useContext(M).cache,l=m([t].concat((0,s.A)(e))),u=tu([l]),c=function(t){a.opUpdate(l,function(e){var n=(0,o.A)(e||[void 0,void 0],2),i=n[0],a=[void 0===i?0:i,n[1]||r()];return t?t(a):a})};h.useMemo(function(){c()},[l]);var f=a.opGet(l)[1];return tl(function(){null==i||i(f)},function(t){return c(function(e){var r=(0,o.A)(e,2),n=r[0],a=r[1];return t&&0===n&&(null==i||i(f)),[n+1,a]}),function(){a.opUpdate(l,function(e){var r=(0,o.A)(e||[],2),i=r[0],s=void 0===i?0:i,c=r[1];return 0==s-1?(u(function(){(t||!a.opGet(l))&&(null==n||n(c,!1))}),null):[s-1,c]})}},[l]),f}var th={},tf=new Map,tp=function(t,e,r,n){var i=r.getDerivativeToken(t),o=(0,l.A)((0,l.A)({},i),e);return n&&(o=n(o)),o},td="token";function tg(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(0,h.useContext)(M),i=n.cache.instanceId,a=n.container,f=r.salt,p=void 0===f?"":f,d=r.override,g=void 0===d?th:d,y=r.formatToken,v=r.getComputedToken,m=r.cssVar,_=function(t,e){for(var r=q,n=0;n<e.length;n+=1){var i=e[n];r.has(i)||r.set(i,new WeakMap),r=r.get(i)}return r.has(Z)||r.set(Z,t()),r.get(Z)}(function(){return Object.assign.apply(Object,[{}].concat((0,s.A)(e)))},e),b=$(_),A=$(g),k=m?$(m):"";return tc(td,[p,t.id,b,A,k],function(){var e,r=v?v(_,g,t):tp(_,g,t,y),n=(0,l.A)({},r),i="";if(m){var a=to(r,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),s=(0,o.A)(a,2);r=s[0],i=s[1]}var c=Y(r,p);r._tokenKey=c,n._tokenKey=Y(n,p);var h=null!=(e=null==m?void 0:m.key)?e:c;r._themeKey=h,tf.set(h,(tf.get(h)||0)+1);var f="".concat("css","-").concat(u(c));return r._hashId=f,[r,f,n,i,(null==m?void 0:m.key)||""]},function(t){var e,r,n;e=t[0]._themeKey,tf.set(e,(tf.get(e)||0)-1),n=(r=Array.from(tf.keys())).filter(function(t){return 0>=(tf.get(t)||0)}),r.length-n.length>0&&n.forEach(function(t){"u">typeof document&&document.querySelectorAll("style[".concat(x,'="').concat(t,'"]')).forEach(function(t){if(t[S]===i){var e;null==(e=t.parentNode)||e.removeChild(t)}}),tf.delete(t)})},function(t){var e=(0,o.A)(t,4),r=e[0],n=e[3];if(m&&n){var s=(0,c.BD)(n,u("css-variables-".concat(r._themeKey)),{mark:w,prepend:"queue",attachTo:a,priority:-999});s[S]=i,s.setAttribute(x,r._themeKey)}})}var ty=r(77161);let tv={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var tm="comm",t_="rule",tb="decl",tx=Math.abs,tw=String.fromCharCode;function tS(t,e,r){return t.replace(e,r)}function tA(t,e){return 0|t.charCodeAt(e)}function tM(t,e,r){return t.slice(e,r)}function tk(t){return t.length}function tT(t,e){return e.push(t),t}function tC(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function tO(t,e,r,n){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case tb:return t.return=t.return||t.value;case tm:return"";case"@keyframes":return t.return=t.value+"{"+tC(t.children,n)+"}";case t_:if(!tk(t.value=t.props.join(",")))return""}return tk(r=tC(t.children,n))?t.return=t.value+"{"+r+"}":""}var tE=1,tI=1,tD=0,tR=0,tL=0,tP="";function tB(t,e,r,n,i,o,a,s){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:tE,column:tI,length:a,return:"",siblings:s}}function tF(){return tL=tR<tD?tA(tP,tR++):0,tI++,10===tL&&(tI=1,tE++),tL}function tN(){return tA(tP,tR)}function tz(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tj(t){var e,r;return(e=tR-1,r=function t(e){for(;tF();)switch(tL){case e:return tR;case 34:case 39:34!==e&&39!==e&&t(tL);break;case 40:41===e&&t(e);break;case 92:tF()}return tR}(91===t?t+2:40===t?t+1:t),tM(tP,e,r)).trim()}function tH(t,e,r,n,i,o,a,s,l,u,c,h){for(var f=i-1,p=0===i?o:[""],d=p.length,g=0,y=0,v=0;g<n;++g)for(var m=0,_=tM(t,f+1,f=tx(y=a[g])),b=t;m<d;++m)(b=(y>0?p[m]+" "+_:tS(_,/&\f/g,p[m])).trim())&&(l[v++]=b);return tB(t,e,r,0===i?t_:s,l,u,c,h)}function tV(t,e,r,n,i){return tB(t,e,r,tb,tM(t,0,n),tM(t,n+1,-1),n,i)}function tU(t,e){var r=e.path,n=e.parentSelectors;(0,j.Ay)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(t).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}function tW(t){var e;return((null==(e=t.match(/:not\(([^)]*)\)/))?void 0:e[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(function(t){return t}).length>1}let tq=function(t,e,r){var n=r.parentSelectors.reduce(function(t,e){return t?e.includes("&")?e.replace(/&/g,t):"".concat(t," ").concat(e):e},"").match(/:not\([^)]*\)/g)||[];n.length>0&&n.some(tW)&&tU("Concat ':not' selector not support in legacy browsers.",r)},tZ=function(t,e,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":tU("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof e){var n=e.split(" ").map(function(t){return t.trim()});4===n.length&&n[1]!==n[3]&&tU("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":("left"===e||"right"===e)&&tU("You seem to be using non-logical value '".concat(e,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":"string"==typeof e&&e.split("/").map(function(t){return t.trim()}).reduce(function(t,e){if(t)return t;var r=e.split(" ").map(function(t){return t.trim()});return r.length>=2&&r[0]!==r[1]||3===r.length&&r[1]!==r[2]||4===r.length&&r[2]!==r[3]||t},!1)&&tU("You seem to be using non-logical value '".concat(e,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return}},tG=function(t,e,r){("string"==typeof e&&/NaN/g.test(e)||Number.isNaN(e))&&tU("Unexpected 'NaN' in property '".concat(t,": ").concat(e,"'."),r)},t$=function(t,e,r){r.parentSelectors.some(function(t){return t.split(",").some(function(t){return t.split("&").length>2})})&&tU("Should not use more than one `&` in a selector.",r)};var tY="data-ant-cssinjs-cache-path",tX="_FILE_STYLE__",tK=!0,tJ="_multi_value_";function tQ(t){var e,r,n;return tC((n=function t(e,r,n,i,o,a,s,l,u){for(var c,h,f,p,d,g,y=0,v=0,m=s,_=0,b=0,x=0,w=1,S=1,A=1,M=0,k="",T=o,C=a,O=i,E=k;S;)switch(x=M,M=tF()){case 40:if(108!=x&&58==tA(E,m-1)){-1!=(d=E+=tS(tj(M),"&","&\f"),g=tx(y?l[y-1]:0),d.indexOf("&\f",g))&&(A=-1);break}case 34:case 39:case 91:E+=tj(M);break;case 9:case 10:case 13:case 32:E+=function(t){for(;tL=tN();)if(tL<33)tF();else break;return tz(t)>2||tz(tL)>3?"":" "}(x);break;case 92:E+=function(t,e){for(var r;--e&&tF()&&!(tL<48)&&!(tL>102)&&(!(tL>57)||!(tL<65))&&(!(tL>70)||!(tL<97)););return r=tR+(e<6&&32==tN()&&32==tF()),tM(tP,t,r)}(tR-1,7);continue;case 47:switch(tN()){case 42:case 47:tT((c=function(t,e){for(;tF();)if(t+tL===57)break;else if(t+tL===84&&47===tN())break;return"/*"+tM(tP,e,tR-1)+"*"+tw(47===t?t:tF())}(tF(),tR),h=r,f=n,p=u,tB(c,h,f,tm,tw(tL),tM(c,2,-2),0,p)),u),(5==tz(x||1)||5==tz(tN()||1))&&tk(E)&&" "!==tM(E,-1,void 0)&&(E+=" ");break;default:E+="/"}break;case 123*w:l[y++]=tk(E)*A;case 125*w:case 59:case 0:switch(M){case 0:case 125:S=0;case 59+v:-1==A&&(E=tS(E,/\f/g,"")),b>0&&(tk(E)-m||0===w&&47===x)&&tT(b>32?tV(E+";",i,n,m-1,u):tV(tS(E," ","")+";",i,n,m-2,u),u);break;case 59:E+=";";default:if(tT(O=tH(E,r,n,y,v,o,l,k,T=[],C=[],m,a),a),123===M)if(0===v)t(E,r,O,O,T,a,m,l,C);else switch(99===_&&110===tA(E,3)?100:_){case 100:case 108:case 109:case 115:t(e,O,O,i&&tT(tH(e,O,O,0,0,o,l,k,o,T=[],m,C),C),o,C,m,l,i?T:C);break;default:t(E,O,O,O,[""],C,0,l,C)}}y=v=b=0,w=A=1,k=E="",m=s;break;case 58:m=1+tk(E),b=x;default:if(w<1){if(123==M)--w;else if(125==M&&0==w++&&125==(tL=tR>0?tA(tP,--tR):0,tI--,10===tL&&(tI=1,tE--),tL))continue}switch(E+=tw(M),M*w){case 38:A=v>0?1:(E+="\f",-1);break;case 44:l[y++]=(tk(E)-1)*A,A=1;break;case 64:45===tN()&&(E+=tj(tF())),_=tN(),v=m=tk(k=E+=function(t){for(;!tz(tN());)tF();return tM(tP,t,tR)}(tR)),M++;break;case 45:45===x&&2==tk(E)&&(w=0)}}return a}("",null,null,null,[""],(r=e=t,tE=tI=1,tD=tk(tP=r),tR=0,e=[]),0,[0],e),tP="",n),tO).replace(/\{%%%\:[^;];}/g,";")}function t0(t,e,r){if(!e)return t;var n=".".concat(e),i="low"===r?":where(".concat(n,")"):n;return t.split(",").map(function(t){var e,r=t.trim().split(/\s+/),n=r[0]||"",o=(null==(e=n.match(/^\w+/))?void 0:e[0])||"";return[n="".concat(o).concat(i).concat(n.slice(o.length))].concat((0,s.A)(r.slice(1))).join(" ")}).join(",")}var t1=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=n.root,a=n.injectHash,u=n.parentSelectors,c=r.hashId,h=r.layer,f=(r.path,r.hashPriority),p=r.transformers,d=void 0===p?[]:p,g=(r.linters,""),y={};function v(e){var n=e.getName(c);if(!y[n]){var i=t(e.style,r,{root:!1,parentSelectors:u}),a=(0,o.A)(i,1)[0];y[n]="@keyframes ".concat(e.getName(c)).concat(a)}}return(function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(function(e){Array.isArray(e)?t(e,r):e&&r.push(e)}),r})(Array.isArray(e)?e:[e]).forEach(function(e){var n="string"!=typeof e||i?e:{};if("string"==typeof n)g+="".concat(n,"\n");else if(n._keyframe)v(n);else{var h=d.reduce(function(t,e){var r;return(null==e||null==(r=e.visit)?void 0:r.call(e,t))||t},n);Object.keys(h).forEach(function(e){var n=h[e];if("object"!==(0,T.A)(n)||!n||"animationName"===e&&n._keyframe||"object"===(0,T.A)(n)&&n&&("_skip_check_"in n||tJ in n)){function p(t,e){var r=t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())}),n=e;tv[t]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===t&&null!=e&&e._keyframe&&(v(e),n=e.getName(c)),g+="".concat(r,":").concat(n,";")}var d,m=null!=(d=null==n?void 0:n.value)?d:n;"object"===(0,T.A)(n)&&null!=n&&n[tJ]&&Array.isArray(m)?m.forEach(function(t){p(e,t)}):p(e,m)}else{var _=!1,b=e.trim(),x=!1;(i||a)&&c?b.startsWith("@")?_=!0:b="&"===b?t0("",c,f):t0(e,c,f):i&&!c&&("&"===b||""===b)&&(b="",x=!0);var w=t(n,r,{root:x,injectHash:_,parentSelectors:[].concat((0,s.A)(u),[b])}),S=(0,o.A)(w,2),A=S[0],M=S[1];y=(0,l.A)((0,l.A)({},y),M),g+="".concat(b).concat(A)}})}}),i?h&&(g&&(g="@layer ".concat(h.name," {").concat(g,"}")),h.dependencies&&(y["@layer ".concat(h.name)]=h.dependencies.map(function(t){return"@layer ".concat(t,", ").concat(h.name,";")}).join("\n"))):g="{".concat(g,"}"),[g,y]};function t2(t,e){return u("".concat(t.join("%")).concat(e))}function t5(){return null}var t3="style";function t6(t,e){var r=t.token,i=t.path,u=t.hashId,f=t.layer,p=t.nonce,d=t.clientOnly,g=t.order,y=void 0===g?0:g,v=h.useContext(M),m=v.autoClear,_=(v.mock,v.defaultCache),b=v.hashPriority,A=v.container,k=v.ssrInline,T=v.transformers,O=v.linters,E=v.cache,I=v.layer,D=r._tokenKey,R=[D];I&&R.push("layer"),R.push.apply(R,(0,s.A)(i));var L=tc(t3,R,function(){var t=R.join("|");if(function(t){if(!n&&(n={},(0,C.A)())){var e,r=document.createElement("div");r.className=tY,r.style.position="fixed",r.style.visibility="hidden",r.style.top="-9999px",document.body.appendChild(r);var i=getComputedStyle(r).content||"";(i=i.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(t){var e=t.split(":"),r=(0,o.A)(e,2),i=r[0],a=r[1];n[i]=a});var a=document.querySelector("style[".concat(tY,"]"));a&&(tK=!1,null==(e=a.parentNode)||e.removeChild(a)),document.body.removeChild(r)}return!!n[t]}(t)){var r=function(t){var e=n[t],r=null;if(e&&(0,C.A)())if(tK)r=tX;else{var i=document.querySelector("style[".concat(w,'="').concat(n[t],'"]'));i?r=i.innerHTML:delete n[t]}return[r,e]}(t),a=(0,o.A)(r,2),s=a[0],l=a[1];if(s)return[s,D,l,{},d,y]}var c=t1(e(),{hashId:u,hashPriority:b,layer:I?f:void 0,path:i.join("-"),transformers:T,linters:O}),h=(0,o.A)(c,2),p=h[0],g=h[1],v=tQ(p),m=t2(R,v);return[v,D,m,g,d,y]},function(t,e){var r=(0,o.A)(t,3)[2];(e||m)&&te&&(0,c.m6)(r,{mark:w})},function(t){var e=(0,o.A)(t,4),r=e[0],n=(e[1],e[2]),i=e[3];if(te&&r!==tX){var a={mark:w,prepend:!I&&"queue",attachTo:A,priority:y},s="function"==typeof p?p():p;s&&(a.csp={nonce:s});var u=[],h=[];Object.keys(i).forEach(function(t){t.startsWith("@layer")?u.push(t):h.push(t)}),u.forEach(function(t){(0,c.BD)(tQ(i[t]),"_layer-".concat(t),(0,l.A)((0,l.A)({},a),{},{prepend:!0}))});var f=(0,c.BD)(r,n,a);f[S]=E.instanceId,f.setAttribute(x,D),h.forEach(function(t){(0,c.BD)(tQ(i[t]),"_effect-".concat(t),a)})}}),P=(0,o.A)(L,3),B=P[0],F=P[1],N=P[2];return function(t){var e,r;return e=k&&!te&&_?h.createElement("style",(0,ty.A)({},(r={},(0,a.A)(r,x,F),(0,a.A)(r,w,N),r),{dangerouslySetInnerHTML:{__html:B}})):h.createElement(t5,null),h.createElement(h.Fragment,null,e,t)}}var t4="cssVar";let t8=function(t,e){var r=t.key,n=t.prefix,i=t.unitless,a=t.ignore,l=t.token,u=t.scope,f=void 0===u?"":u,p=(0,h.useContext)(M),d=p.cache.instanceId,g=p.container,y=l._tokenKey,v=[].concat((0,s.A)(t.path),[r,f,y]);return tc(t4,v,function(){var t=to(e(),r,{prefix:n,unitless:i,ignore:a,scope:f}),s=(0,o.A)(t,2),l=s[0],u=s[1],c=t2(v,u);return[l,u,c,r]},function(t){var e=(0,o.A)(t,3)[2];te&&(0,c.m6)(e,{mark:w})},function(t){var e=(0,o.A)(t,3),n=e[1],i=e[2];if(n){var a=(0,c.BD)(n,i,{mark:w,prepend:"queue",attachTo:g,priority:-999});a[S]=d,a.setAttribute(x,r)}})};var t9=(i={},(0,a.A)(i,t3,function(t,e,r){var n=(0,o.A)(t,6),i=n[0],a=n[1],s=n[2],l=n[3],u=n[4],c=n[5],h=(r||{}).plain;if(u)return null;var f=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return f=tn(i,a,s,p,h),l&&Object.keys(l).forEach(function(t){if(!e[t]){e[t]=!0;var r=tn(tQ(l[t]),a,"_effect-".concat(t),p,h);t.startsWith("@layer")?f=r+f:f+=r}}),[c,s,f]}),(0,a.A)(i,td,function(t,e,r){var n=(0,o.A)(t,5),i=n[2],a=n[3],s=n[4],l=(r||{}).plain;if(!a)return null;var u=i._tokenKey,c=tn(a,s,u,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,u,c]}),(0,a.A)(i,t4,function(t,e,r){var n=(0,o.A)(t,4),i=n[1],a=n[2],s=n[3],l=(r||{}).plain;if(!i)return null;var u=tn(i,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,a,u]}),i);function t7(t){return null!==t}function et(t,e){var r="boolean"==typeof e?{plain:e}:e||{},n=r.plain,i=void 0!==n&&n,s=r.types,l=void 0===s?["style","token","cssVar"]:s,u=new RegExp("^(".concat(("string"==typeof l?[l]:l).join("|"),")%")),c=Array.from(t.cache.keys()).filter(function(t){return u.test(t)}),h={},f={},p="";return c.map(function(e){var r=e.replace(u,"").replace(/%/g,"|"),n=e.split("%"),a=(0,t9[(0,o.A)(n,1)[0]])(t.cache.get(e)[1],h,{plain:i});if(!a)return null;var s=(0,o.A)(a,3),l=s[0],c=s[1],p=s[2];return e.startsWith("style")&&(f[r]=c),[l,p]}).filter(t7).sort(function(t,e){return(0,o.A)(t,1)[0]-(0,o.A)(e,1)[0]}).forEach(function(t){var e=(0,o.A)(t,2)[1];p+=e}),p+=tn(".".concat(tY,'{content:"').concat(Object.keys(f).map(function(t){var e=f[t];return"".concat(t,":").concat(e)}).join(";"),'";}'),void 0,void 0,(0,a.A)({},tY,tY),i)}let ee=function(){function t(e,r){(0,y.A)(this,t),(0,a.A)(this,"name",void 0),(0,a.A)(this,"style",void 0),(0,a.A)(this,"_keyframe",!0),this.name=e,this.style=r}return(0,v.A)(t,[{key:"getName",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),t}();function er(t){return t.notSplit=!0,t}var en={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:er(["borderTop","borderBottom"]),borderBlockStart:er(["borderTop"]),borderBlockEnd:er(["borderBottom"]),borderInline:er(["borderLeft","borderRight"]),borderInlineStart:er(["borderLeft"]),borderInlineEnd:er(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function ei(t,e){var r=t;return e&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}let eo={visit:function(t){var e={};return Object.keys(t).forEach(function(r){var n=t[r],i=en[r];if(i&&("number"==typeof n||"string"==typeof n)){var a=function(t){if("number"==typeof t)return[[t],!1];var e=String(t).trim(),r=e.match(/(.*)(!important)/),n=(r?r[1]:e).trim().split(/\s+/),i=[],o=0;return[n.reduce(function(t,e){if(e.includes("(")||e.includes(")")){var r=e.split("(").length-1,n=e.split(")").length-1;o+=r-n}return o>=0&&i.push(e),0===o&&(t.push(i.join(" ")),i=[]),t},[]),!!r]}(n),s=(0,o.A)(a,2),l=s[0],u=s[1];i.length&&i.notSplit?i.forEach(function(t){e[t]=ei(n,u)}):1===i.length?e[i[0]]=ei(l[0],u):2===i.length?i.forEach(function(t,r){var n;e[t]=ei(null!=(n=l[r])?n:l[0],u)}):4===i.length?i.forEach(function(t,r){var n,i;e[t]=ei(null!=(n=null!=(i=l[r])?i:l[r-2])?n:l[0],u)}):e[r]=n}else e[r]=n}),e}};var ea=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;let es=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.rootValue,r=void 0===e?16:e,n=t.precision,i=void 0===n?5:n,a=t.mediaQuery,s=void 0!==a&&a,u=function(t,e){if(!e)return t;var n,o=parseFloat(e);if(o<=1)return t;var a=10*Math.round(Math.floor(o/r*(n=Math.pow(10,i+1)))/10)/n;return"".concat(a,"rem")};return{visit:function(t){var e=(0,l.A)({},t);return Object.entries(t).forEach(function(t){var r=(0,o.A)(t,2),n=r[0],i=r[1];if("string"==typeof i&&i.includes("px")){var a=i.replace(ea,u);e[n]=a}tv[n]||"number"!=typeof i||0===i||(e[n]="".concat(i,"px").replace(ea,u));var l=n.trim();l.startsWith("@")&&l.includes("px")&&s&&(e[n.replace(ea,u)]=e[n],delete e[n])}),e}}};var el={supportModernCSS:function(){return void 0===Q&&(Q=J(":where(.".concat(X,') { content: "').concat(K,'"!important; }'),function(t){t.className=X})),Q&&(void 0===tt&&(tt=J(".".concat(X," { inset-block: 93px !important; }"),function(t){t.className=X},function(t){return"93px"===getComputedStyle(t).bottom})),tt)}}},18956(t,e,r){"use strict";r.d(e,{H:()=>h,K6:()=>o,Me:()=>u,Ob:()=>c,YL:()=>s,_:()=>i,g8:()=>g,n6:()=>d,oS:()=>y,wE:()=>l,xq:()=>f,z4:()=>p});var n=r(60024);function i(t,e,r){return{r:255*(0,n.Cg)(t,255),g:255*(0,n.Cg)(e,255),b:255*(0,n.Cg)(r,255)}}function o(t,e,r){t=(0,n.Cg)(t,255);var i=Math.max(t,e=(0,n.Cg)(e,255),r=(0,n.Cg)(r,255)),o=Math.min(t,e,r),a=0,s=0,l=(i+o)/2;if(i===o)s=0,a=0;else{var u=i-o;switch(s=l>.5?u/(2-i-o):u/(i+o),i){case t:a=(e-r)/u+6*(e<r);break;case e:a=(r-t)/u+2;break;case r:a=(t-e)/u+4}a/=6}return{h:a,s:s,l:l}}function a(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+6*r*(e-t):r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function s(t,e,r){if(t=(0,n.Cg)(t,360),e=(0,n.Cg)(e,100),r=(0,n.Cg)(r,100),0===e)o=r,s=r,i=r;else{var i,o,s,l=r<.5?r*(1+e):r+e-r*e,u=2*r-l;i=a(u,l,t+1/3),o=a(u,l,t),s=a(u,l,t-1/3)}return{r:255*i,g:255*o,b:255*s}}function l(t,e,r){t=(0,n.Cg)(t,255);var i=Math.max(t,e=(0,n.Cg)(e,255),r=(0,n.Cg)(r,255)),o=Math.min(t,e,r),a=0,s=i-o;if(i===o)a=0;else{switch(i){case t:a=(e-r)/s+6*(e<r);break;case e:a=(r-t)/s+2;break;case r:a=(t-e)/s+4}a/=6}return{h:a,s:0===i?0:s/i,v:i}}function u(t,e,r){t=6*(0,n.Cg)(t,360),e=(0,n.Cg)(e,100),r=(0,n.Cg)(r,100);var i=Math.floor(t),o=t-i,a=r*(1-e),s=r*(1-o*e),l=r*(1-(1-o)*e),u=i%6;return{r:255*[r,s,a,a,l,r][u],g:255*[l,r,r,s,a,a][u],b:255*[a,a,l,r,r,s][u]}}function c(t,e,r,i){var o=[(0,n.wl)(Math.round(t).toString(16)),(0,n.wl)(Math.round(e).toString(16)),(0,n.wl)(Math.round(r).toString(16))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function h(t,e,r,i,o){var a=[(0,n.wl)(Math.round(t).toString(16)),(0,n.wl)(Math.round(e).toString(16)),(0,n.wl)(Math.round(r).toString(16)),(0,n.wl)(p(i))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function f(t,e,r,i){return[(0,n.wl)(p(i)),(0,n.wl)(Math.round(t).toString(16)),(0,n.wl)(Math.round(e).toString(16)),(0,n.wl)(Math.round(r).toString(16))].join("")}function p(t){return Math.round(255*parseFloat(t)).toString(16)}function d(t){return g(t)/255}function g(t){return parseInt(t,16)}function y(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}},60718(t,e,r){"use strict";r.d(e,{D:()=>n});var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},57358(t,e,r){"use strict";r.d(e,{IA:()=>h,RO:()=>a,ib:()=>f});var n=r(18956),i=r(60718),o=r(60024);function a(t){var e={r:0,g:0,b:0},r=1,i=null,a=null,s=null,l=!1,u=!1;return"string"==typeof t&&(t=h(t)),"object"==typeof t&&(f(t.r)&&f(t.g)&&f(t.b)?(e=(0,n._)(t.r,t.g,t.b),l=!0,u="%"===String(t.r).substr(-1)?"prgb":"rgb"):f(t.h)&&f(t.s)&&f(t.v)?(i=(0,o.Px)(t.s),a=(0,o.Px)(t.v),e=(0,n.Me)(t.h,i,a),l=!0,u="hsv"):f(t.h)&&f(t.s)&&f(t.l)&&(i=(0,o.Px)(t.s),s=(0,o.Px)(t.l),e=(0,n.YL)(t.h,i,s),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(r=t.a)),r=(0,o.TV)(r),{ok:l,format:t.format||u,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c={CSS_UNIT:new RegExp(s),rgb:RegExp("rgb"+l),rgba:RegExp("rgba"+u),hsl:RegExp("hsl"+l),hsla:RegExp("hsla"+u),hsv:RegExp("hsv"+l),hsva:RegExp("hsva"+u),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function h(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(i.D[t])t=i.D[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var r=c.rgb.exec(t);return r?{r:r[1],g:r[2],b:r[3]}:(r=c.rgba.exec(t))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=c.hsl.exec(t))?{h:r[1],s:r[2],l:r[3]}:(r=c.hsla.exec(t))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=c.hsv.exec(t))?{h:r[1],s:r[2],v:r[3]}:(r=c.hsva.exec(t))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=c.hex8.exec(t))?{r:(0,n.g8)(r[1]),g:(0,n.g8)(r[2]),b:(0,n.g8)(r[3]),a:(0,n.n6)(r[4]),format:e?"name":"hex8"}:(r=c.hex6.exec(t))?{r:(0,n.g8)(r[1]),g:(0,n.g8)(r[2]),b:(0,n.g8)(r[3]),format:e?"name":"hex"}:(r=c.hex4.exec(t))?{r:(0,n.g8)(r[1]+r[1]),g:(0,n.g8)(r[2]+r[2]),b:(0,n.g8)(r[3]+r[3]),a:(0,n.n6)(r[4]+r[4]),format:e?"name":"hex8"}:!!(r=c.hex3.exec(t))&&{r:(0,n.g8)(r[1]+r[1]),g:(0,n.g8)(r[2]+r[2]),b:(0,n.g8)(r[3]+r[3]),format:e?"name":"hex"}}function f(t){return!!c.CSS_UNIT.exec(String(t))}},32006(t,e,r){"use strict";r.d(e,{q:()=>s,y:()=>l});var n=r(18956),i=r(60718),o=r(57358),a=r(60024),s=function(){function t(e,r){if(void 0===e&&(e=""),void 0===r&&(r={}),e instanceof t)return e;"number"==typeof e&&(e=(0,n.oS)(e)),this.originalInput=e;var i,a=(0,o.RO)(e);this.originalInput=e,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(i=r.format)?i:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return t.prototype.isDark=function(){return 128>this.getBrightness()},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,r=t.g/255,n=t.b/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=(0,a.TV)(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var t=(0,n.wE)(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=(0,n.wE)(this.r,this.g,this.b),e=Math.round(360*t.h),r=Math.round(100*t.s),i=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=(0,n.K6)(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=(0,n.K6)(this.r,this.g,this.b),e=Math.round(360*t.h),r=Math.round(100*t.s),i=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),(0,n.Ob)(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),(0,n.H)(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toHexShortString=function(t){return void 0===t&&(t=!1),1===this.a?this.toHexString(t):this.toHex8String(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(r,")"):"rgba(".concat(t,", ").concat(e,", ").concat(r,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*(0,a.Cg)(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*(0,a.Cg)(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+(0,n.Ob)(this.r,this.g,this.b,!1),e=0,r=Object.entries(i.D);e<r.length;e++){var o=r[e],a=o[0];if(t===o[1])return a}return!1},t.prototype.toString=function(t){var e=!!t;t=null!=t?t:this.format;var r=!1,n=this.a<1&&this.a>=0;return!e&&n&&(t.startsWith("hex")||"name"===t)?"name"===t&&0===this.a?this.toName():this.toRgbString():("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),("hex"===t||"hex6"===t)&&(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.l+=e/100,r.l=(0,a.J$)(r.l),new t(r)},t.prototype.brighten=function(e){void 0===e&&(e=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(e/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(e/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(e/100*255)))),new t(r)},t.prototype.darken=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.l-=e/100,r.l=(0,a.J$)(r.l),new t(r)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.s-=e/100,r.s=(0,a.J$)(r.s),new t(r)},t.prototype.saturate=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.s+=e/100,r.s=(0,a.J$)(r.s),new t(r)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var r=this.toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,new t(r)},t.prototype.mix=function(e,r){void 0===r&&(r=50);var n=this.toRgb(),i=new t(e).toRgb(),o=r/100;return new t({r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a})},t.prototype.analogous=function(e,r){void 0===e&&(e=6),void 0===r&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*e>>1)+720)%360;--e;)n.h=(n.h+i)%360,o.push(new t(n));return o},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/e;e--;)a.push(new t({h:n,s:i,v:o})),o=(o+s)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),r=e.h;return[this,new t({h:(r+72)%360,s:e.s,l:e.l}),new t({h:(r+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var r=this.toRgb(),n=new t(e).toRgb(),i=r.a+n.a*(1-r.a);return new t({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var r=this.toHsl(),n=r.h,i=[this],o=360/e,a=1;a<e;a++)i.push(new t({h:(n+a*o)%360,s:r.s,l:r.l}));return i},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}();function l(t,e){return void 0===t&&(t=""),void 0===e&&(e={}),new s(t,e)}},60024(t,e,r){"use strict";function n(t,e){"string"==typeof(r=t)&&-1!==r.indexOf(".")&&1===parseFloat(r)&&(t="100%");var r,n,i="string"==typeof(n=t)&&-1!==n.indexOf("%");return(t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),i&&(t=parseInt(String(t*e),10)/100),1e-6>Math.abs(t-e))?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function i(t){return Math.min(1,Math.max(0,t))}function o(t){return(isNaN(t=parseFloat(t))||t<0||t>1)&&(t=1),t}function a(t){return t<=1?"".concat(100*Number(t),"%"):t}function s(t){return 1===t.length?"0"+t:String(t)}r.d(e,{Cg:()=>n,J$:()=>i,Px:()=>a,TV:()=>o,wl:()=>s})},10795(t,e,r){"use strict";r.d(e,{A:()=>U});var n,i=r(57970),o=r(91639),a=r(45983),s=r(23850),l=r(45804),u=r(5908);function c(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var h=c(),f=r(9548),p=r(60410),d=r(80451),g=r(60185),y=r(11285),v=r(81703);function m(t){var e="function"==typeof Map?new Map:void 0;return(m=function(t){if(null===t||!function(t){try{return -1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if((0,v.A)())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var i=new(t.bind.apply(t,n));return r&&(0,y.A)(i,r.prototype),i}(t,arguments,(0,g.A)(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,y.A)(r,t)})(t)}var _=r(85409),b=/%[sdj%]/g;function x(t){if(!t||!t.length)return null;var e={};return t.forEach(function(t){var r=t.field;e[r]=e[r]||[],e[r].push(t)}),e}function w(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=0,o=r.length;return"function"==typeof t?t.apply(null,r):"string"==typeof t?t.replace(b,function(t){if("%%"===t)return"%";if(i>=o)return t;switch(t){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(t){return"[Circular]"}default:return t}}):t}function S(t,e){return!!(null==t||"array"===e&&Array.isArray(t)&&!t.length)||("string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e)&&"string"==typeof t&&!t||!1}function A(t,e,r){var n=0,i=t.length;!function o(a){if(a&&a.length)return void r(a);var s=n;n+=1,s<i?e(t[s],o):r([])}([])}void 0!==_&&_.env;var M=function(t){(0,p.A)(r,t);var e=(0,d.A)(r);function r(t,n){var i;return(0,s.A)(this,r),i=e.call(this,"Async Validation Error"),(0,u.A)((0,f.A)(i),"errors",void 0),(0,u.A)((0,f.A)(i),"fields",void 0),i.errors=t,i.fields=n,i}return(0,l.A)(r)}(m(Error));function k(t,e){return function(r){var n;return(n=t.fullFields?function(t,e){for(var r=t,n=0;n<e.length&&void 0!=r;n++)r=r[e[n]];return r}(e,t.fullFields):e[r.field||t.fullField],r&&void 0!==r.message)?(r.field=r.field||t.fullField,r.fieldValue=n,r):{message:"function"==typeof r?r():r,fieldValue:n,field:r.field||t.fullField}}}function T(t,e){if(e){for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];"object"===(0,a.A)(n)&&"object"===(0,a.A)(t[r])?t[r]=(0,i.A)((0,i.A)({},t[r]),n):t[r]=n}}return t}var C="enum";let O=function(t,e,r,n,i,o){t.required&&(!r.hasOwnProperty(t.field)||S(e,o||t.type))&&n.push(w(i.messages.required,t.fullField))},E=function(){if(n)return n;var t="[a-fA-F\\d:]",e=function(e){return e&&e.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(t,")|(?<=").concat(t,")(?=\\s|$))"):""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",i="[a-fA-F\\d]{1,4}",o=["(?:".concat(i,":){7}(?:").concat(i,"|:)"),"(?:".concat(i,":){6}(?:").concat(r,"|:").concat(i,"|:)"),"(?:".concat(i,":){5}(?::").concat(r,"|(?::").concat(i,"){1,2}|:)"),"(?:".concat(i,":){4}(?:(?::").concat(i,"){0,1}:").concat(r,"|(?::").concat(i,"){1,3}|:)"),"(?:".concat(i,":){3}(?:(?::").concat(i,"){0,2}:").concat(r,"|(?::").concat(i,"){1,4}|:)"),"(?:".concat(i,":){2}(?:(?::").concat(i,"){0,3}:").concat(r,"|(?::").concat(i,"){1,5}|:)"),"(?:".concat(i,":){1}(?:(?::").concat(i,"){0,4}:").concat(r,"|(?::").concat(i,"){1,6}|:)"),"(?::(?:(?::".concat(i,"){0,5}:").concat(r,"|(?::").concat(i,"){1,7}|:))")],a="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),s=new RegExp("(?:^".concat(r,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(r,"$")),u=new RegExp("^".concat(a,"$")),c=function(t){return t&&t.exact?s:RegExp("(?:".concat(e(t)).concat(r).concat(e(t),")|(?:").concat(e(t)).concat(a).concat(e(t),")"),"g")};c.v4=function(t){return t&&t.exact?l:RegExp("".concat(e(t)).concat(r).concat(e(t)),"g")},c.v6=function(t){return t&&t.exact?u:RegExp("".concat(e(t)).concat(a).concat(e(t)),"g")};var h=c.v4().source,f=c.v6().source,p="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(h,"|").concat(f,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return n=RegExp("(?:^".concat(p,"$)"),"i")};var I=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,D=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,R={integer:function(t){return R.number(t)&&parseInt(t,10)===t},float:function(t){return R.number(t)&&!R.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return new RegExp(t),!0}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear&&!isNaN(t.getTime())},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(0,a.A)(t)&&!R.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&t.length<=320&&!!t.match(I)},url:function(t){return"string"==typeof t&&t.length<=2048&&!!t.match(E())},hex:function(t){return"string"==typeof t&&!!t.match(D)}};let L=O,P=function(t,e,r,n,i){(/^\s+$/.test(e)||""===e)&&n.push(w(i.messages.whitespace,t.fullField))},B=function(t,e,r,n,i){if(t.required&&void 0===e)return void O(t,e,r,n,i);var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?R[o](e)||n.push(w(i.messages.types[o],t.fullField,t.type)):o&&(0,a.A)(e)!==t.type&&n.push(w(i.messages.types[o],t.fullField,t.type))},F=function(t,e,r,n,i){var o="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,l=e,u=null,c="number"==typeof e,h="string"==typeof e,f=Array.isArray(e);if(c?u="number":h?u="string":f&&(u="array"),!u)return!1;f&&(l=e.length),h&&(l=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==t.len&&n.push(w(i.messages[u].len,t.fullField,t.len)):a&&!s&&l<t.min?n.push(w(i.messages[u].min,t.fullField,t.min)):s&&!a&&l>t.max?n.push(w(i.messages[u].max,t.fullField,t.max)):a&&s&&(l<t.min||l>t.max)&&n.push(w(i.messages[u].range,t.fullField,t.min,t.max))},N=function(t,e,r,n,i){t[C]=Array.isArray(t[C])?t[C]:[],-1===t[C].indexOf(e)&&n.push(w(i.messages[C],t.fullField,t[C].join(", ")))},z=function(t,e,r,n,i){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||n.push(w(i.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||n.push(w(i.messages.pattern.mismatch,t.fullField,e,t.pattern))))},j=function(t,e,r,n,i){var o=t.type,a=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e,o)&&!t.required)return r();L(t,e,n,a,i,o),S(e,o)||B(t,e,n,a,i)}r(a)},H={string:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e,"string")&&!t.required)return r();L(t,e,n,o,i,"string"),S(e,"string")||(B(t,e,n,o,i),F(t,e,n,o,i),z(t,e,n,o,i),!0===t.whitespace&&P(t,e,n,o,i))}r(o)},method:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&B(t,e,n,o,i)}r(o)},number:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(""===e&&(e=void 0),S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&(B(t,e,n,o,i),F(t,e,n,o,i))}r(o)},boolean:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&B(t,e,n,o,i)}r(o)},regexp:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),S(e)||B(t,e,n,o,i)}r(o)},integer:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&(B(t,e,n,o,i),F(t,e,n,o,i))}r(o)},float:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&(B(t,e,n,o,i),F(t,e,n,o,i))}r(o)},array:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(null==e&&!t.required)return r();L(t,e,n,o,i,"array"),null!=e&&(B(t,e,n,o,i),F(t,e,n,o,i))}r(o)},object:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&B(t,e,n,o,i)}r(o)},enum:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i),void 0!==e&&N(t,e,n,o,i)}r(o)},pattern:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e,"string")&&!t.required)return r();L(t,e,n,o,i),S(e,"string")||z(t,e,n,o,i)}r(o)},date:function(t,e,r,n,i){var o,a=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e,"date")&&!t.required)return r();L(t,e,n,a,i),!S(e,"date")&&(o=e instanceof Date?e:new Date(e),B(t,o,n,a,i),o&&F(t,o.getTime(),n,a,i))}r(a)},url:j,hex:j,email:j,required:function(t,e,r,n,i){var o=[],s=Array.isArray(e)?"array":(0,a.A)(e);L(t,e,n,o,i,s),r(o)},any:function(t,e,r,n,i){var o=[];if(t.required||!t.required&&n.hasOwnProperty(t.field)){if(S(e)&&!t.required)return r();L(t,e,n,o,i)}r(o)}};var V=function(){function t(e){(0,s.A)(this,t),(0,u.A)(this,"rules",null),(0,u.A)(this,"_messages",h),this.define(e)}return(0,l.A)(t,[{key:"define",value:function(t){var e=this;if(!t)throw Error("Cannot configure a schema with no rules");if("object"!==(0,a.A)(t)||Array.isArray(t))throw Error("Rules must be an object");this.rules={},Object.keys(t).forEach(function(r){var n=t[r];e.rules[r]=Array.isArray(n)?n:[n]})}},{key:"messages",value:function(t){return t&&(this._messages=T(c(),t)),this._messages}},{key:"validate",value:function(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,u=n,f=s;if("function"==typeof u&&(f=u,u={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(null,l),Promise.resolve(l);if(u.messages){var p=this.messages();p===h&&(p=c()),T(p,u.messages),u.messages=p}else u.messages=this.messages();var d={};(u.keys||Object.keys(this.rules)).forEach(function(t){var n=r.rules[t],o=l[t];n.forEach(function(n){var s=n;"function"==typeof s.transform&&(l===e&&(l=(0,i.A)({},l)),null!=(o=l[t]=s.transform(o))&&(s.type=s.type||(Array.isArray(o)?"array":(0,a.A)(o)))),(s="function"==typeof s?{validator:s}:(0,i.A)({},s)).validator=r.getValidationMethod(s),s.validator&&(s.field=t,s.fullField=s.fullField||t,s.type=r.getType(s),d[t]=d[t]||[],d[t].push({rule:s,value:o,source:l,field:t}))})});var g={};return function(t,e,r,n,i){if(e.first){var a=new Promise(function(e,a){var s;A((s=[],Object.keys(t).forEach(function(e){s.push.apply(s,(0,o.A)(t[e]||[]))}),s),r,function(t){return n(t),t.length?a(new M(t,x(t))):e(i)})});return a.catch(function(t){return t}),a}var s=!0===e.firstFields?Object.keys(t):e.firstFields||[],l=Object.keys(t),u=l.length,c=0,h=[],f=new Promise(function(e,a){var f=function(t){if(h.push.apply(h,t),++c===u)return n(h),h.length?a(new M(h,x(h))):e(i)};l.length||(n(h),e(i)),l.forEach(function(e){var n=t[e];if(-1!==s.indexOf(e))A(n,r,f);else{var i=[],a=0,l=n.length;function u(t){i.push.apply(i,(0,o.A)(t||[])),++a===l&&f(i)}n.forEach(function(t){r(t,u)})}})});return f.catch(function(t){return t}),f}(d,u,function(e,r){var n,s,c,h=e.rule,f=("object"===h.type||"array"===h.type)&&("object"===(0,a.A)(h.fields)||"object"===(0,a.A)(h.defaultField));function p(t,e){return(0,i.A)((0,i.A)({},e),{},{fullField:"".concat(h.fullField,".").concat(t),fullFields:h.fullFields?[].concat((0,o.A)(h.fullFields),[t]):[t]})}function d(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Array.isArray(n)?n:[n];!u.suppressWarning&&a.length&&t.warning("async-validator:",a),a.length&&void 0!==h.message&&(a=[].concat(h.message));var s=a.map(k(h,l));if(u.first&&s.length)return g[h.field]=1,r(s);if(f){if(h.required&&!e.value)return void 0!==h.message?s=[].concat(h.message).map(k(h,l)):u.error&&(s=[u.error(h,w(u.messages.required,h.field))]),r(s);var c={};h.defaultField&&Object.keys(e.value).map(function(t){c[t]=h.defaultField});var d={};Object.keys(c=(0,i.A)((0,i.A)({},c),e.rule.fields)).forEach(function(t){var e=c[t],r=Array.isArray(e)?e:[e];d[t]=r.map(p.bind(null,t))});var y=new t(d);y.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),y.validate(e.value,e.rule.options||u,function(t){var e=[];s&&s.length&&e.push.apply(e,(0,o.A)(s)),t&&t.length&&e.push.apply(e,(0,o.A)(t)),r(e.length?e:null)})}else r(s)}if(f=f&&(h.required||!h.required&&e.value),h.field=e.field,h.asyncValidator)n=h.asyncValidator(h,e.value,d,e.source,u);else if(h.validator){try{n=h.validator(h,e.value,d,e.source,u)}catch(t){null==(s=(c=console).error)||s.call(c,t),u.suppressValidatorError||setTimeout(function(){throw t},0),d(t.message)}!0===n?d():!1===n?d("function"==typeof h.message?h.message(h.fullField||h.field):h.message||"".concat(h.fullField||h.field," fails")):n instanceof Array?d(n):n instanceof Error&&d(n.message)}n&&n.then&&n.then(function(){return d()},function(t){return d(t)})},function(t){for(var e=[],r={},n=0;n<t.length;n++)!function(t){if(Array.isArray(t)){var r;e=(r=e).concat.apply(r,(0,o.A)(t))}else e.push(t)}(t[n]);e.length?(r=x(e),f(e,r)):f(null,l)},l)}},{key:"getType",value:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!H.hasOwnProperty(t.type))throw Error(w("Unknown rule type %s",t.type));return t.type||"string"}},{key:"getValidationMethod",value:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),r=e.indexOf("message");return(-1!==r&&e.splice(r,1),1===e.length&&"required"===e[0])?H.required:H[this.getType(t)]||void 0}}]),t}();(0,u.A)(V,"register",function(t,e){if("function"!=typeof e)throw Error("Cannot register a validator by type, validator is not a function");H[t]=e}),(0,u.A)(V,"warning",function(){}),(0,u.A)(V,"messages",h),(0,u.A)(V,"validators",H);let U=V},96704(t,e,r){"use strict";r.d(e,{Ho:()=>p,q6:()=>u,NT:()=>c});var n=r(97251),i=r(18106),o=r(57975),a=r(39184),s=r(22155),l=r(70316);function u(t){var e=s.createContext(void 0);return{Context:e,Provider:function(t){var r=t.value,i=t.children,a=s.useRef(r);a.current=r;var u=s.useState(function(){return{getValue:function(){return a.current},listeners:new Set}}),c=(0,n.A)(u,1)[0];return(0,o.A)(function(){(0,l.unstable_batchedUpdates)(function(){c.listeners.forEach(function(t){t(r)})})},[r]),s.createElement(e.Provider,{value:c},i)},defaultValue:t}}function c(t,e){var r=(0,i.A)("function"==typeof e?e:function(t){if(void 0===e)return t;if(!Array.isArray(e))return t[e];var r={};return e.forEach(function(e){r[e]=t[e]}),r}),l=s.useContext(null==t?void 0:t.Context),u=l||{},c=u.listeners,h=u.getValue,f=s.useRef();f.current=r(l?h():null==t?void 0:t.defaultValue);var p=s.useState({}),d=(0,n.A)(p,2)[1];return(0,o.A)(function(){if(l)return c.add(t),function(){c.delete(t)};function t(t){var e=r(t);(0,a.A)(f.current,e,!0)||d({})}},[l]),f.current}var h=r(77161),f=r(185);function p(){var t=s.createContext(null);function e(){return s.useContext(t)}return{makeImmutable:function(r,n){var i=(0,f.f3)(r),o=function(o,a){var l=i?{ref:a}:{},u=s.useRef(0),c=s.useRef(o);return null!==e()?s.createElement(r,(0,h.A)({},o,l)):((!n||n(c.current,o))&&(u.current+=1),c.current=o,s.createElement(t.Provider,{value:u.current},s.createElement(r,(0,h.A)({},o,l))))};return i?s.forwardRef(o):o},responseImmutable:function(t,r){var n=(0,f.f3)(t),i=function(r,i){return e(),s.createElement(t,(0,h.A)({},r,n?{ref:i}:{}))};return n?s.memo(s.forwardRef(i),r):s.memo(i,r)},useImmutableMark:e}}var d=p();d.makeImmutable,d.responseImmutable,d.useImmutableMark},65577(t,e,r){"use strict";r.d(e,{A:()=>v});var n=r(97251),i=r(22155),o=r(70316),a=r(1568);r(76400);var s=r(185),l=i.createContext(null),u=r(91639),c=r(57975),h=[],f=r(36283),p=r(57621),d="rc-util-locker-".concat(Date.now()),g=0,y=function(t){return!1!==t&&((0,a.A)()&&t?"string"==typeof t?document.querySelector(t):"function"==typeof t?t():t:null)};let v=i.forwardRef(function(t,e){var r,v,m,_=t.open,b=t.autoLock,x=t.getContainer,w=(t.debug,t.autoDestroy),S=void 0===w||w,A=t.children,M=i.useState(_),k=(0,n.A)(M,2),T=k[0],C=k[1],O=T||_;i.useEffect(function(){(S||_)&&C(_)},[_,S]);var E=i.useState(function(){return y(x)}),I=(0,n.A)(E,2),D=I[0],R=I[1];i.useEffect(function(){var t=y(x);R(null!=t?t:null)});var L=function(t,e){var r=i.useState(function(){return(0,a.A)()?document.createElement("div"):null}),o=(0,n.A)(r,1)[0],s=i.useRef(!1),f=i.useContext(l),p=i.useState(h),d=(0,n.A)(p,2),g=d[0],y=d[1],v=f||(s.current?void 0:function(t){y(function(e){return[t].concat((0,u.A)(e))})});function m(){o.parentElement||document.body.appendChild(o),s.current=!0}function _(){var t;null==(t=o.parentElement)||t.removeChild(o),s.current=!1}return(0,c.A)(function(){return t?f?f(m):m():_(),_},[t]),(0,c.A)(function(){g.length&&(g.forEach(function(t){return t()}),y(h))},[g]),[o,v]}(O&&!D,0),P=(0,n.A)(L,2),B=P[0],F=P[1],N=null!=D?D:B;r=!!(b&&_&&(0,a.A)()&&(N===B||N===document.body)),v=i.useState(function(){return g+=1,"".concat(d,"_").concat(g)}),m=(0,n.A)(v,1)[0],(0,c.A)(function(){if(r){var t=(0,p.V)(document.body).width,e=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(e?"width: calc(100% - ".concat(t,"px);"):"","\n}"),m)}else(0,f.m6)(m);return function(){(0,f.m6)(m)}},[r,m]);var z=null;A&&(0,s.f3)(A)&&e&&(z=A.ref);var j=(0,s.xK)(z,e);if(!O||!(0,a.A)()||void 0===D)return null;var H=!1===N,V=A;return e&&(V=i.cloneElement(A,{ref:j})),i.createElement(l.Provider,{value:F},H?V:(0,o.createPortal)(V,N))})},11994(t,e,r){"use strict";r.d(e,{A:()=>H});var n=r(57970),i=r(97251),o=r(80416),a=r(65577),s=r(30395),l=r.n(s),u=r(6511),c=r(12994),h=r(8507),f=r(18106),p=r(22449),d=r(57975),g=r(73976),y=r(22155),v=r(77161),m=r(71739),_=r(185);function b(t){var e=t.prefixCls,r=t.align,n=t.arrow,i=t.arrowPos,o=n||{},a=o.className,s=o.content,u=i.x,c=i.y,h=y.useRef();if(!r||!r.points)return null;var f={position:"absolute"};if(!1!==r.autoArrow){var p=r.points[0],d=r.points[1],g=p[0],v=p[1],m=d[0],_=d[1];g!==m&&["t","b"].includes(g)?"t"===g?f.top=0:f.bottom=0:f.top=void 0===c?0:c,v!==_&&["l","r"].includes(v)?"l"===v?f.left=0:f.right=0:f.left=void 0===u?0:u}return y.createElement("div",{ref:h,className:l()("".concat(e,"-arrow"),a),style:f},s)}function x(t){var e=t.prefixCls,r=t.open,n=t.zIndex,i=t.mask,o=t.motion;return i?y.createElement(m.default,(0,v.A)({},o,{motionAppear:!0,visible:r,removeOnLeave:!0}),function(t){var r=t.className;return y.createElement("div",{style:{zIndex:n},className:l()("".concat(e,"-mask"),r)})}):null}var w=y.memo(function(t){return t.children},function(t,e){return e.cache}),S=y.forwardRef(function(t,e){var r=t.popup,o=t.className,a=t.prefixCls,s=t.style,c=t.target,h=t.onVisibleChanged,f=t.open,p=t.keepDom,g=t.fresh,S=t.onClick,A=t.mask,M=t.arrow,k=t.arrowPos,T=t.align,C=t.motion,O=t.maskMotion,E=t.forceRender,I=t.getPopupContainer,D=t.autoDestroy,R=t.portal,L=t.zIndex,P=t.onMouseEnter,B=t.onMouseLeave,F=t.onPointerEnter,N=t.onPointerDownCapture,z=t.ready,j=t.offsetX,H=t.offsetY,V=t.offsetR,U=t.offsetB,W=t.onAlign,q=t.onPrepare,Z=t.stretch,G=t.targetWidth,$=t.targetHeight,Y="function"==typeof r?r():r,X=f||p,K=(null==I?void 0:I.length)>0,J=y.useState(!I||!K),Q=(0,i.A)(J,2),tt=Q[0],te=Q[1];if((0,d.A)(function(){!tt&&K&&c&&te(!0)},[tt,K,c]),!tt)return null;var tr="auto",tn={left:"-1000vw",top:"-1000vh",right:tr,bottom:tr};if(z||!f){var ti,to=T.points,ta=T.dynamicInset||(null==(ti=T._experimental)?void 0:ti.dynamicInset),ts=ta&&"r"===to[0][1],tl=ta&&"b"===to[0][0];ts?(tn.right=V,tn.left=tr):(tn.left=j,tn.right=tr),tl?(tn.bottom=U,tn.top=tr):(tn.top=H,tn.bottom=tr)}var tu={};return Z&&(Z.includes("height")&&$?tu.height=$:Z.includes("minHeight")&&$&&(tu.minHeight=$),Z.includes("width")&&G?tu.width=G:Z.includes("minWidth")&&G&&(tu.minWidth=G)),f||(tu.pointerEvents="none"),y.createElement(R,{open:E||X,getContainer:I&&function(){return I(c)},autoDestroy:D},y.createElement(x,{prefixCls:a,open:f,zIndex:L,mask:A,motion:O}),y.createElement(u.default,{onResize:W,disabled:!f},function(t){return y.createElement(m.default,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:E,leavedClassName:"".concat(a,"-hidden")},C,{onAppearPrepare:q,onEnterPrepare:q,visible:f,onVisibleChanged:function(t){var e;null==C||null==(e=C.onVisibleChanged)||e.call(C,t),h(t)}}),function(r,i){var u=r.className,c=r.style,h=l()(a,u,o);return y.createElement("div",{ref:(0,_.K4)(t,e,i),className:h,style:(0,n.A)((0,n.A)((0,n.A)((0,n.A)({"--arrow-x":"".concat(k.x||0,"px"),"--arrow-y":"".concat(k.y||0,"px")},tn),tu),c),{},{boxSizing:"border-box",zIndex:L},s),onMouseEnter:P,onMouseLeave:B,onPointerEnter:F,onClick:S,onPointerDownCapture:N},M&&y.createElement(b,{prefixCls:a,arrow:M,arrowPos:k,align:T}),y.createElement(w,{cache:!f&&!g},Y))})}))}),A=y.forwardRef(function(t,e){var r=t.children,n=t.getTriggerDOMNode,i=(0,_.f3)(r),o=y.useCallback(function(t){(0,_.Xf)(e,n?n(t):t)},[n]),a=(0,_.xK)(o,(0,_.A9)(r));return i?y.cloneElement(r,{ref:a}):r}),M=y.createContext(null);function k(t){return t?Array.isArray(t)?t:[t]:[]}var T=r(56869);function C(t,e,r,n){return e||(r?{motionName:"".concat(t,"-").concat(r)}:n?{motionName:n}:null)}function O(t){return t.ownerDocument.defaultView}function E(t){for(var e=[],r=null==t?void 0:t.parentElement,n=["hidden","scroll","clip","auto"];r;){var i=O(r).getComputedStyle(r);[i.overflowX,i.overflowY,i.overflow].some(function(t){return n.includes(t)})&&e.push(r),r=r.parentElement}return e}function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function D(t){return I(parseFloat(t),0)}function R(t,e){var r=(0,n.A)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=O(t).getComputedStyle(t),n=e.overflow,i=e.overflowClipMargin,o=e.borderTopWidth,a=e.borderBottomWidth,s=e.borderLeftWidth,l=e.borderRightWidth,u=t.getBoundingClientRect(),c=t.offsetHeight,h=t.clientHeight,f=t.offsetWidth,p=t.clientWidth,d=D(o),g=D(a),y=D(s),v=D(l),m=I(Math.round(u.width/f*1e3)/1e3),_=I(Math.round(u.height/c*1e3)/1e3),b=d*_,x=y*m,w=0,S=0;if("clip"===n){var A=D(i);w=A*m,S=A*_}var M=u.x+x-w,k=u.y+b-S,T=M+u.width+2*w-x-v*m-(f-p-y-v)*m,C=k+u.height+2*S-b-g*_-(c-h-d-g)*_;r.left=Math.max(r.left,M),r.top=Math.max(r.top,k),r.right=Math.min(r.right,T),r.bottom=Math.min(r.bottom,C)}}),r}function L(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r="".concat(e),n=r.match(/^(.*)\%$/);return n?t*(parseFloat(n[1])/100):parseFloat(r)}function P(t,e){var r=(0,i.A)(e||[],2),n=r[0],o=r[1];return[L(t.width,n),L(t.height,o)]}function B(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function F(t,e){var r,n=e[0],i=e[1];return r="t"===n?t.y:"b"===n?t.y+t.height:t.y+t.height/2,{x:"l"===i?t.x:"r"===i?t.x+t.width:t.x+t.width/2,y:r}}function N(t,e){var r={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,n){return n===e?r[t]||"c":t}).join("")}var z=r(91639);r(76400);var j=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return y.forwardRef(function(e,r){var a,s,v,m,_,b,x,w,D,L,H,V,U,W,q,Z,G,$=e.prefixCls,Y=void 0===$?"rc-trigger-popup":$,X=e.children,K=e.action,J=e.showAction,Q=e.hideAction,tt=e.popupVisible,te=e.defaultPopupVisible,tr=e.onPopupVisibleChange,tn=e.afterPopupVisibleChange,ti=e.mouseEnterDelay,to=e.mouseLeaveDelay,ta=void 0===to?.1:to,ts=e.focusDelay,tl=e.blurDelay,tu=e.mask,tc=e.maskClosable,th=e.getPopupContainer,tf=e.forceRender,tp=e.autoDestroy,td=e.destroyPopupOnHide,tg=e.popup,ty=e.popupClassName,tv=e.popupStyle,tm=e.popupPlacement,t_=e.builtinPlacements,tb=void 0===t_?{}:t_,tx=e.popupAlign,tw=e.zIndex,tS=e.stretch,tA=e.getPopupClassNameFromAlign,tM=e.fresh,tk=e.alignPoint,tT=e.onPopupClick,tC=e.onPopupAlign,tO=e.arrow,tE=e.popupMotion,tI=e.maskMotion,tD=e.popupTransitionName,tR=e.popupAnimation,tL=e.maskTransitionName,tP=e.maskAnimation,tB=e.className,tF=e.getTriggerDOMNode,tN=(0,o.A)(e,j),tz=y.useState(!1),tj=(0,i.A)(tz,2),tH=tj[0],tV=tj[1];(0,d.A)(function(){tV((0,g.A)())},[]);var tU=y.useRef({}),tW=y.useContext(M),tq=y.useMemo(function(){return{registerSubPopup:function(t,e){tU.current[t]=e,null==tW||tW.registerSubPopup(t,e)}}},[tW]),tZ=(0,p.A)(),tG=y.useState(null),t$=(0,i.A)(tG,2),tY=t$[0],tX=t$[1],tK=y.useRef(null),tJ=(0,f.A)(function(t){tK.current=t,(0,c.fk)(t)&&tY!==t&&tX(t),null==tW||tW.registerSubPopup(tZ,t)}),tQ=y.useState(null),t0=(0,i.A)(tQ,2),t1=t0[0],t2=t0[1],t5=y.useRef(null),t3=(0,f.A)(function(t){(0,c.fk)(t)&&t1!==t&&(t2(t),t5.current=t)}),t6=y.Children.only(X),t4=(null==t6?void 0:t6.props)||{},t8={},t9=(0,f.A)(function(t){var e,r;return(null==t1?void 0:t1.contains(t))||(null==(e=(0,h.j)(t1))?void 0:e.host)===t||t===t1||(null==tY?void 0:tY.contains(t))||(null==(r=(0,h.j)(tY))?void 0:r.host)===t||t===tY||Object.values(tU.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t7=C(Y,tE,tR,tD),et=C(Y,tI,tP,tL),ee=y.useState(te||!1),er=(0,i.A)(ee,2),en=er[0],ei=er[1],eo=null!=tt?tt:en,ea=(0,f.A)(function(t){void 0===tt&&ei(t)});(0,d.A)(function(){ei(tt||!1)},[tt]);var es=y.useRef(eo);es.current=eo;var el=y.useRef([]);el.current=[];var eu=(0,f.A)(function(t){var e;ea(t),(null!=(e=el.current[el.current.length-1])?e:eo)!==t&&(el.current.push(t),null==tr||tr(t))}),ec=y.useRef(),eh=function(){clearTimeout(ec.current)},ef=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;eh(),0===e?eu(t):ec.current=setTimeout(function(){eu(t)},1e3*e)};y.useEffect(function(){return eh},[]);var ep=y.useState(!1),ed=(0,i.A)(ep,2),eg=ed[0],ey=ed[1];(0,d.A)(function(t){(!t||eo)&&ey(!0)},[eo]);var ev=y.useState(null),em=(0,i.A)(ev,2),e_=em[0],eb=em[1],ex=y.useState(null),ew=(0,i.A)(ex,2),eS=ew[0],eA=ew[1],eM=function(t){eA([t.clientX,t.clientY])},ek=(a=tk&&null!==eS?eS:t1,s=y.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:tb[tm]||{}}),m=(v=(0,i.A)(s,2))[0],_=v[1],b=y.useRef(0),x=y.useMemo(function(){return tY?E(tY):[]},[tY]),w=y.useRef({}),eo||(w.current={}),D=(0,f.A)(function(){if(tY&&a&&eo){var t=tY.ownerDocument,e=O(tY).getComputedStyle(tY),r=e.width,o=e.height,s=e.position,l=tY.style.left,u=tY.style.top,h=tY.style.right,f=tY.style.bottom,p=tY.style.overflow,d=(0,n.A)((0,n.A)({},tb[tm]),tx),g=t.createElement("div");if(null==(S=tY.parentElement)||S.appendChild(g),g.style.left="".concat(tY.offsetLeft,"px"),g.style.top="".concat(tY.offsetTop,"px"),g.style.position=s,g.style.height="".concat(tY.offsetHeight,"px"),g.style.width="".concat(tY.offsetWidth,"px"),tY.style.left="0",tY.style.top="0",tY.style.right="auto",tY.style.bottom="auto",tY.style.overflow="hidden",Array.isArray(a))C={x:a[0],y:a[1],width:0,height:0};else{var y,v,m,b,S,A,M,k,C,E,D,L=a.getBoundingClientRect();L.x=null!=(E=L.x)?E:L.left,L.y=null!=(D=L.y)?D:L.top,C={x:L.x,y:L.y,width:L.width,height:L.height}}var z=tY.getBoundingClientRect();z.x=null!=(A=z.x)?A:z.left,z.y=null!=(M=z.y)?M:z.top;var j=t.documentElement,H=j.clientWidth,V=j.clientHeight,U=j.scrollWidth,W=j.scrollHeight,q=j.scrollTop,Z=j.scrollLeft,G=z.height,$=z.width,Y=C.height,X=C.width,K=d.htmlRegion,J="visible",Q="visibleFirst";"scroll"!==K&&K!==Q&&(K=J);var tt=K===Q,te=R({left:-Z,top:-q,right:U-Z,bottom:W-q},x),tr=R({left:0,top:0,right:H,bottom:V},x),tn=K===J?tr:te,ti=tt?tr:tn;tY.style.left="auto",tY.style.top="auto",tY.style.right="0",tY.style.bottom="0";var to=tY.getBoundingClientRect();tY.style.left=l,tY.style.top=u,tY.style.right=h,tY.style.bottom=f,tY.style.overflow=p,null==(k=tY.parentElement)||k.removeChild(g);var ta=I(Math.round($/parseFloat(r)*1e3)/1e3),ts=I(Math.round(G/parseFloat(o)*1e3)/1e3);if(!(0===ta||0===ts||(0,c.fk)(a)&&!(0,T.A)(a))){var tl=d.offset,tu=d.targetOffset,tc=P(z,tl),th=(0,i.A)(tc,2),tf=th[0],tp=th[1],td=P(C,tu),tg=(0,i.A)(td,2),ty=tg[0],tv=tg[1];C.x-=ty,C.y-=tv;var t_=d.points||[],tw=(0,i.A)(t_,2),tS=tw[0],tA=B(tw[1]),tM=B(tS),tk=F(C,tA),tT=F(z,tM),tO=(0,n.A)({},d),tE=tk.x-tT.x+tf,tI=tk.y-tT.y+tp,tD=ec(tE,tI),tR=ec(tE,tI,tr),tL=F(C,["t","l"]),tP=F(z,["t","l"]),tB=F(C,["b","r"]),tF=F(z,["b","r"]),tN=d.overflow||{},tz=tN.adjustX,tj=tN.adjustY,tH=tN.shiftX,tV=tN.shiftY,tU=function(t){return"boolean"==typeof t?t:t>=0};eh();var tW=tU(tj),tq=tM[0]===tA[0];if(tW&&"t"===tM[0]&&(v>ti.bottom||w.current.bt)){var tZ=tI;tq?tZ-=G-Y:tZ=tL.y-tF.y-tp;var tG=ec(tE,tZ),t$=ec(tE,tZ,tr);tG>tD||tG===tD&&(!tt||t$>=tR)?(w.current.bt=!0,tI=tZ,tp=-tp,tO.points=[N(tM,0),N(tA,0)]):w.current.bt=!1}if(tW&&"b"===tM[0]&&(y<ti.top||w.current.tb)){var tX=tI;tq?tX+=G-Y:tX=tB.y-tP.y-tp;var tK=ec(tE,tX),tJ=ec(tE,tX,tr);tK>tD||tK===tD&&(!tt||tJ>=tR)?(w.current.tb=!0,tI=tX,tp=-tp,tO.points=[N(tM,0),N(tA,0)]):w.current.tb=!1}var tQ=tU(tz),t0=tM[1]===tA[1];if(tQ&&"l"===tM[1]&&(b>ti.right||w.current.rl)){var t1=tE;t0?t1-=$-X:t1=tL.x-tF.x-tf;var t2=ec(t1,tI),t5=ec(t1,tI,tr);t2>tD||t2===tD&&(!tt||t5>=tR)?(w.current.rl=!0,tE=t1,tf=-tf,tO.points=[N(tM,1),N(tA,1)]):w.current.rl=!1}if(tQ&&"r"===tM[1]&&(m<ti.left||w.current.lr)){var t3=tE;t0?t3+=$-X:t3=tB.x-tP.x-tf;var t6=ec(t3,tI),t4=ec(t3,tI,tr);t6>tD||t6===tD&&(!tt||t4>=tR)?(w.current.lr=!0,tE=t3,tf=-tf,tO.points=[N(tM,1),N(tA,1)]):w.current.lr=!1}eh();var t8=!0===tH?0:tH;"number"==typeof t8&&(m<tr.left&&(tE-=m-tr.left-tf,C.x+X<tr.left+t8&&(tE+=C.x-tr.left+X-t8)),b>tr.right&&(tE-=b-tr.right-tf,C.x>tr.right-t8&&(tE+=C.x-tr.right+t8)));var t9=!0===tV?0:tV;"number"==typeof t9&&(y<tr.top&&(tI-=y-tr.top-tp,C.y+Y<tr.top+t9&&(tI+=C.y-tr.top+Y-t9)),v>tr.bottom&&(tI-=v-tr.bottom-tp,C.y>tr.bottom-t9&&(tI+=C.y-tr.bottom+t9)));var t7=z.x+tE,et=z.y+tI,ee=C.x,er=C.y,en=Math.max(t7,ee),ei=Math.min(t7+$,ee+X),ea=Math.max(et,er),es=Math.min(et+G,er+Y);null==tC||tC(tY,tO);var el=to.right-z.x-(tE+z.width),eu=to.bottom-z.y-(tI+z.height);1===ta&&(tE=Math.round(tE),el=Math.round(el)),1===ts&&(tI=Math.round(tI),eu=Math.round(eu)),_({ready:!0,offsetX:tE/ta,offsetY:tI/ts,offsetR:el/ta,offsetB:eu/ts,arrowX:((en+ei)/2-t7)/ta,arrowY:((ea+es)/2-et)/ts,scaleX:ta,scaleY:ts,align:tO})}function ec(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tn,n=z.x+t,i=z.y+e,o=Math.max(n,r.left),a=Math.max(i,r.top);return Math.max(0,(Math.min(n+$,r.right)-o)*(Math.min(i+G,r.bottom)-a))}function eh(){v=(y=z.y+tI)+G,b=(m=z.x+tE)+$}}}),L=function(){_(function(t){return(0,n.A)((0,n.A)({},t),{},{ready:!1})})},(0,d.A)(L,[tm]),(0,d.A)(function(){eo||L()},[eo]),[m.ready,m.offsetX,m.offsetY,m.offsetR,m.offsetB,m.arrowX,m.arrowY,m.scaleX,m.scaleY,m.align,function(){b.current+=1;var t=b.current;Promise.resolve().then(function(){b.current===t&&D()})}]),eT=(0,i.A)(ek,11),eC=eT[0],eO=eT[1],eE=eT[2],eI=eT[3],eD=eT[4],eR=eT[5],eL=eT[6],eP=eT[7],eB=eT[8],eF=eT[9],eN=eT[10],ez=(H=void 0===K?"hover":K,y.useMemo(function(){var t=k(null!=J?J:H),e=k(null!=Q?Q:H),r=new Set(t),n=new Set(e);return tH&&(r.has("hover")&&(r.delete("hover"),r.add("click")),n.has("hover")&&(n.delete("hover"),n.add("click"))),[r,n]},[tH,H,J,Q])),ej=(0,i.A)(ez,2),eH=ej[0],eV=ej[1],eU=eH.has("click"),eW=eV.has("click")||eV.has("contextMenu"),eq=(0,f.A)(function(){eg||eN()});V=function(){es.current&&tk&&eW&&ef(!1)},(0,d.A)(function(){if(eo&&t1&&tY){var t=E(t1),e=E(tY),r=O(tY),n=new Set([r].concat((0,z.A)(t),(0,z.A)(e)));function i(){eq(),V()}return n.forEach(function(t){t.addEventListener("scroll",i,{passive:!0})}),r.addEventListener("resize",i,{passive:!0}),eq(),function(){n.forEach(function(t){t.removeEventListener("scroll",i),r.removeEventListener("resize",i)})}}},[eo,t1,tY]),(0,d.A)(function(){eq()},[eS,tm]),(0,d.A)(function(){eo&&!(null!=tb&&tb[tm])&&eq()},[JSON.stringify(tx)]);var eZ=y.useMemo(function(){var t=function(t,e,r,n){for(var i=r.points,o=Object.keys(t),a=0;a<o.length;a+=1){var s,l=o[a];if(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return r?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null==(s=t[l])?void 0:s.points,i,n))return"".concat(e,"-placement-").concat(l)}return""}(tb,Y,eF,tk);return l()(t,null==tA?void 0:tA(eF))},[eF,tA,tb,Y,tk]);y.useImperativeHandle(r,function(){return{nativeElement:t5.current,popupElement:tK.current,forceAlign:eq}});var eG=y.useState(0),e$=(0,i.A)(eG,2),eY=e$[0],eX=e$[1],eK=y.useState(0),eJ=(0,i.A)(eK,2),eQ=eJ[0],e0=eJ[1],e1=function(){if(tS&&t1){var t=t1.getBoundingClientRect();eX(t.width),e0(t.height)}};function e2(t,e,r,n){t8[t]=function(i){var o;null==n||n(i),ef(e,r);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];null==(o=t4[t])||o.call.apply(o,[t4,i].concat(s))}}(0,d.A)(function(){e_&&(eN(),e_(),eb(null))},[e_]),(eU||eW)&&(t8.onClick=function(t){var e;es.current&&eW?ef(!1):!es.current&&eU&&(eM(t),ef(!0));for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];null==(e=t4.onClick)||e.call.apply(e,[t4,t].concat(n))});var e5=(U=void 0===tc||tc,(W=y.useRef(eo)).current=eo,q=y.useRef(!1),y.useEffect(function(){if(eW&&tY&&(!tu||U)){var t=function(){q.current=!1},e=function(t){var e;!W.current||t9((null==(e=t.composedPath)||null==(e=e.call(t))?void 0:e[0])||t.target)||q.current||ef(!1)},r=O(tY);r.addEventListener("pointerdown",t,!0),r.addEventListener("mousedown",e,!0),r.addEventListener("contextmenu",e,!0);var n=(0,h.j)(t1);return n&&(n.addEventListener("mousedown",e,!0),n.addEventListener("contextmenu",e,!0)),function(){r.removeEventListener("pointerdown",t,!0),r.removeEventListener("mousedown",e,!0),r.removeEventListener("contextmenu",e,!0),n&&(n.removeEventListener("mousedown",e,!0),n.removeEventListener("contextmenu",e,!0))}}},[eW,t1,tY,tu,U]),function(){q.current=!0}),e3=eH.has("hover"),e6=eV.has("hover");e3&&(e2("onMouseEnter",!0,ti,function(t){eM(t)}),e2("onPointerEnter",!0,ti,function(t){eM(t)}),Z=function(t){(eo||eg)&&null!=tY&&tY.contains(t.target)&&ef(!0,ti)},tk&&(t8.onMouseMove=function(t){var e;null==(e=t4.onMouseMove)||e.call(t4,t)})),e6&&(e2("onMouseLeave",!1,ta),e2("onPointerLeave",!1,ta),G=function(){ef(!1,ta)}),eH.has("focus")&&e2("onFocus",!0,ts),eV.has("focus")&&e2("onBlur",!1,tl),eH.has("contextMenu")&&(t8.onContextMenu=function(t){var e;es.current&&eV.has("contextMenu")?ef(!1):(eM(t),ef(!0)),t.preventDefault();for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];null==(e=t4.onContextMenu)||e.call.apply(e,[t4,t].concat(n))}),tB&&(t8.className=l()(t4.className,tB));var e4=(0,n.A)((0,n.A)({},t4),t8),e8={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(function(t){tN[t]&&(e8[t]=function(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];null==(e=e4[t])||e.call.apply(e,[e4].concat(n)),tN[t].apply(tN,n)})});var e9=y.cloneElement(t6,(0,n.A)((0,n.A)({},e4),e8)),e7=tO?(0,n.A)({},!0!==tO?tO:{}):null;return y.createElement(y.Fragment,null,y.createElement(u.default,{disabled:!eo,ref:t3,onResize:function(){e1(),eq()}},y.createElement(A,{getTriggerDOMNode:tF},e9)),y.createElement(M.Provider,{value:tq},y.createElement(S,{portal:t,ref:tJ,prefixCls:Y,popup:tg,className:l()(ty,eZ),style:tv,target:t1,onMouseEnter:Z,onMouseLeave:G,onPointerEnter:Z,zIndex:tw,open:eo,keepDom:eg,fresh:tM,onClick:tT,onPointerDownCapture:e5,mask:tu,motion:t7,maskMotion:et,onVisibleChanged:function(t){ey(!1),eN(),null==tn||tn(t)},onPrepare:function(){return new Promise(function(t){e1(),eb(function(){return t})})},forceRender:tf,autoDestroy:tp||td||!1,getPopupContainer:th,align:eF,arrow:e7,arrowPos:{x:eR,y:eL},ready:eC,offsetX:eO,offsetY:eE,offsetR:eI,offsetB:eD,onAlign:eq,stretch:tS,targetWidth:eY/eP,targetHeight:eQ/eB})))})}(a.A)},38126(t,e,r){"use strict";var n,i,o,a;function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,{Gh:()=>M,HS:()=>k,Oi:()=>c,Rr:()=>g,TM:()=>u,pX:()=>I,pb:()=>b,rc:()=>n,tH:()=>E,ue:()=>y,yD:()=>A}),(o=n||(n={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";let l="popstate";function u(t){return void 0===t&&(t={}),function(t,e,r,i){void 0===i&&(i={});let{window:o=document.defaultView,v5Compat:a=!1}=i,u=o.history,h=n.Pop,g=null,y=v();function v(){return(u.state||{idx:null}).idx}function m(){h=n.Pop;let t=v(),e=null==t?null:t-y;y=t,g&&g({action:h,location:b.location,delta:e})}function _(t){let e="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof t?t:d(t);return c(e,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,e)}null==y&&(y=0,u.replaceState(s({},u.state,{idx:y}),""));let b={get action(){return h},get location(){return t(o,u)},listen(t){if(g)throw Error("A history only accepts one active listener");return o.addEventListener(l,m),g=t,()=>{o.removeEventListener(l,m),g=null}},createHref:t=>e(o,t),createURL:_,encodeLocation(t){let e=_(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:function(t,e){h=n.Push;let i=p(b.location,t,e);r&&r(i,t);let s=f(i,y=v()+1),l=b.createHref(i);try{u.pushState(s,"",l)}catch(t){if(t instanceof DOMException&&"DataCloneError"===t.name)throw t;o.location.assign(l)}a&&g&&g({action:h,location:b.location,delta:1})},replace:function(t,e){h=n.Replace;let i=p(b.location,t,e);r&&r(i,t);let o=f(i,y=v()),s=b.createHref(i);u.replaceState(o,"",s),a&&g&&g({action:h,location:b.location,delta:0})},go:t=>u.go(t)};return b}(function(t,e){let{pathname:r="/",search:n="",hash:i=""}=g(t.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),p("",{pathname:r,search:n,hash:i},e.state&&e.state.usr||null,e.state&&e.state.key||"default")},function(t,e){let r=t.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let e=t.location.href,r=e.indexOf("#");n=-1===r?e:e.slice(0,r)}return n+"#"+("string"==typeof e?e:d(e))},function(t,e){h("/"===t.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(e)+")")},t)}function c(t,e){if(!1===t||null==t)throw Error(e)}function h(t,e){if(!t){"u">typeof console&&console.warn(e);try{throw Error(e)}catch(t){}}}function f(t,e){return{usr:t.state,key:t.key,idx:e}}function p(t,e,r,n){return void 0===r&&(r=null),s({pathname:"string"==typeof t?t:t.pathname,search:"",hash:""},"string"==typeof e?g(e):e,{state:r,key:e&&e.key||n||Math.random().toString(36).substr(2,8)})}function d(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&"?"!==r&&(e+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function g(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function y(t,e,r){return void 0===r&&(r="/"),function(t,e,r,n){let i=b(("string"==typeof e?g(e):e).pathname||"/",r);if(null==i)return null;let o=function t(e,r,n,i){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===i&&(i="");let o=(e,o,a)=>{var s,l;let u,h,f={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};f.relativePath.startsWith("/")&&(c(f.relativePath.startsWith(i),'Absolute route path "'+f.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),f.relativePath=f.relativePath.slice(i.length));let p=k([i,f.relativePath]),d=n.concat(f);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+p+'".'),t(e.children,r,d,p)),(null!=e.path||e.index)&&r.push({path:p,score:(s=p,l=e.index,h=(u=s.split("/")).length,u.some(m)&&(h+=-2),l&&(h+=2),u.filter(t=>!m(t)).reduce((t,e)=>t+(v.test(e)?3:""===e?1:10),h)),routesMeta:d})};return e.forEach((t,e)=>{var r;if(""!==t.path&&null!=(r=t.path)&&r.includes("?"))for(let r of function t(e){let r=e.split("/");if(0===r.length)return[];let[n,...i]=r,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===i.length)return o?[a,""]:[a];let s=t(i.join("/")),l=[];return l.push(...s.map(t=>""===t?a:[a,t].join("/"))),o&&l.push(...s),l.map(t=>e.startsWith("/")&&""===t?"/":t)}(t.path))o(t,e,r);else o(t,e)}),r}(t);o.sort((t,e)=>{var r,n;return t.score!==e.score?e.score-t.score:(r=t.routesMeta.map(t=>t.childrenIndex),n=e.routesMeta.map(t=>t.childrenIndex),r.length===n.length&&r.slice(0,-1).every((t,e)=>t===n[e])?r[r.length-1]-n[n.length-1]:0)});let a=null;for(let t=0;null==a&&t<o.length;++t){let e=function(t){try{return t.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(e){return h(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+e+")."),t}}(i);a=function(t,e,r){void 0===r&&(r=!1);let{routesMeta:n}=t,i={},o="/",a=[];for(let t=0;t<n.length;++t){let s=n[t],l=t===n.length-1,u="/"===o?e:e.slice(o.length)||"/",c=_({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u),h=s.route;if(!c&&l&&r&&!n[n.length-1].route.index&&(c=_({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},u)),!c)return null;Object.assign(i,c.params),a.push({params:i,pathname:k([o,c.pathname]),pathnameBase:T(k([o,c.pathnameBase])),route:h}),"/"!==c.pathnameBase&&(o=k([o,c.pathnameBase]))}return a}(o[t],e,n)}return a}(t,e,r,!1)}(a=i||(i={})).data="data",a.deferred="deferred",a.redirect="redirect",a.error="error";let v=/^:[\w-]+$/,m=t=>"*"===t;function _(t,e){var r,n,i;let o,a;"string"==typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[s,l]=(r=t.path,n=t.caseSensitive,i=t.end,void 0===n&&(n=!1),void 0===i&&(i=!0),h("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],a="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(t,e,r)=>(o.push({paramName:e,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),a+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?a+="\\/*$":""!==r&&"/"!==r&&(a+="(?:(?=\\/|$))"),[new RegExp(a,n?void 0:"i"),o]),u=e.match(s);if(!u)return null;let c=u[0],f=c.replace(/(.)\/+$/,"$1"),p=u.slice(1);return{params:l.reduce((t,e,r)=>{let{paramName:n,isOptional:i}=e;if("*"===n){let t=p[r]||"";f=c.slice(0,c.length-t.length).replace(/(.)\/+$/,"$1")}let o=p[r];return i&&!o?t[n]=void 0:t[n]=(o||"").replace(/%2F/g,"/"),t},{}),pathname:c,pathnameBase:f,pattern:t}}function b(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&"/"!==n?null:t.slice(r)||"/"}let x=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function w(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(t=>{".."===t?r.length>1&&r.pop():"."!==t&&r.push(t)}),r.length>1?r.join("/"):"/"}function S(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function A(t,e){let r=t.filter((t,e)=>0===e||t.route.path&&t.route.path.length>0);return e?r.map((t,e)=>e===r.length-1?t.pathname:t.pathnameBase):r.map(t=>t.pathnameBase)}function M(t,e,r,n){let i,o;void 0===n&&(n=!1),"string"==typeof t?i=g(t):(c(!(i=s({},t)).pathname||!i.pathname.includes("?"),S("?","pathname","search",i)),c(!i.pathname||!i.pathname.includes("#"),S("#","pathname","hash",i)),c(!i.search||!i.search.includes("#"),S("#","search","hash",i)));let a=""===t||""===i.pathname,l=a?"/":i.pathname;if(null==l)o=r;else{let t=e.length-1;if(!n&&l.startsWith("..")){let e=l.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}o=t>=0?e[t]:"/"}let u=function(t,e){let r;void 0===e&&(e="/");let{pathname:n,search:i="",hash:o=""}="string"==typeof t?g(t):t;if(n){let t;(t=n,x.test(t))?r=n:(n.includes("//")&&h(!1,"Pathnames cannot have embedded double slashes - normalizing "+n+" -> "+(n=n.replace(/\/\/+/g,"/"))),r=n.startsWith("/")?w(n.substring(1),"/"):w(n,e))}else r=e;return{pathname:r,search:C(i),hash:O(o)}}(i,o),f=l&&"/"!==l&&l.endsWith("/"),p=(a||"."===l)&&r.endsWith("/");return!u.pathname.endsWith("/")&&(f||p)&&(u.pathname+="/"),u}let k=t=>t.join("/").replace(/\/\/+/g,"/"),T=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),C=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",O=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";class E extends Error{}function I(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}Symbol("deferred")},79560(t){"use strict";let e=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],r=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&amp;|%[A-Fa-f0-9]{2})+)/gm;class n{static escapeForHtml(t){return new n().escapeForHtml(t)}static linkify(t){return new n().linkify(t)}static ansiToHtml(t,e){return new n().ansiToHtml(t,e)}static ansiToJson(t,e){return new n().ansiToJson(t,e)}static ansiToText(t){return new n().ansiToText(t)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let t=0;t<2;++t)for(let r=0;r<8;++r)this.PALETTE_COLORS.push(e[t][r].color);let t=[0,95,135,175,215,255],r=(e,r,n)=>t[e]+", "+t[r]+", "+t[n];for(let t=0;t<6;++t)for(let e=0;e<6;++e)for(let n=0;n<6;++n)this.PALETTE_COLORS.push(r(t,e,n));let n=8;for(let t=0;t<24;++t,n+=10)this.PALETTE_COLORS.push(n+", "+n+", "+n)}escapeForHtml(t){return t.replace(/[&<>\"]/gm,t=>"&"==t?"&amp;":'"'==t?"&quot;":"<"==t?"&lt;":">"==t?"&gt;":"")}linkify(t){return t.replace(r,t=>`<a href="${t}">${t}</a>`)}ansiToHtml(t,e){return this.process(t,e,!0)}ansiToJson(t,e){return(e=e||{}).json=!0,e.clearLine=!1,this.process(t,e,!0)}ansiToText(t){return this.process(t,{},!1)}process(t,e,r){let n=t.split(/\033\[/),i=n.shift();null==e&&(e={}),e.clearLine=/\r/.test(t);let o=n.map(t=>this.processChunk(t,e,r));if(e&&e.json){let t=this.processChunkJson("");return t.content=i,t.clearLine=e.clearLine,o.unshift(t),e.remove_empty&&(o=o.filter(t=>!t.isEmpty())),o}return o.unshift(i),o.join("")}processChunkJson(t,r,n){let i=(r=void 0===r?{}:r).use_classes=void 0!==r.use_classes&&r.use_classes,o=r.key=i?"class":"color",a={content:t,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:r.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!a.content},s=t.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!s)return a;a.content=s[4];let l=s[2].split(";");if(""!==s[1]||"m"!==s[3]||!n)return a;for(;l.length>0;){let t=parseInt(l.shift());if(isNaN(t)||0===t)this.fg=this.bg=null,this.decorations=[];else if(1===t)this.decorations.push("bold");else if(2===t)this.decorations.push("dim");else if(3===t)this.decorations.push("italic");else if(4===t)this.decorations.push("underline");else if(5===t)this.decorations.push("blink");else if(7===t)this.decorations.push("reverse");else if(8===t)this.decorations.push("hidden");else if(9===t)this.decorations.push("strikethrough");else if(21===t)this.removeDecoration("bold");else if(22===t)this.removeDecoration("bold"),this.removeDecoration("dim");else if(23===t)this.removeDecoration("italic");else if(24===t)this.removeDecoration("underline");else if(25===t)this.removeDecoration("blink");else if(27===t)this.removeDecoration("reverse");else if(28===t)this.removeDecoration("hidden");else if(29===t)this.removeDecoration("strikethrough");else if(39===t)this.fg=null;else if(49===t)this.bg=null;else if(t>=30&&t<38)this.fg=e[0][t%10][o];else if(t>=90&&t<98)this.fg=e[1][t%10][o];else if(t>=40&&t<48)this.bg=e[0][t%10][o];else if(t>=100&&t<108)this.bg=e[1][t%10][o];else if(38===t||48===t){let r=38===t;if(l.length>=1){let t=l.shift();if("5"===t&&l.length>=1){let t=parseInt(l.shift());if(t>=0&&t<=255)if(i){let n=t>=16?"ansi-palette-"+t:e[+(t>7)][t%8].class;r?this.fg=n:this.bg=n}else this.PALETTE_COLORS||this.setupPalette(),r?this.fg=this.PALETTE_COLORS[t]:this.bg=this.PALETTE_COLORS[t]}else if("2"===t&&l.length>=3){let t=parseInt(l.shift()),e=parseInt(l.shift()),n=parseInt(l.shift());if(t>=0&&t<=255&&e>=0&&e<=255&&n>=0&&n<=255){let o=t+", "+e+", "+n;i?r?(this.fg="ansi-truecolor",this.fg_truecolor=o):(this.bg="ansi-truecolor",this.bg_truecolor=o):r?this.fg=o:this.bg=o}}}}}return null===this.fg&&null===this.bg&&0===this.decorations.length||(a.fg=this.fg,a.bg=this.bg,a.fg_truecolor=this.fg_truecolor,a.bg_truecolor=this.bg_truecolor,a.decorations=this.decorations,a.decoration=this.decorations.slice(-1).pop()||null,a.was_processed=!0),a}processChunk(t,r,n){r=r||{};let i=this.processChunkJson(t,r,n),o=r.use_classes;if(i.decorations=i.decorations.filter(t=>{if("reverse"===t){i.fg||(i.fg=e[0][7][o?"class":"color"]),i.bg||(i.bg=e[0][0][o?"class":"color"]);let t=i.fg;i.fg=i.bg,i.bg=t;let r=i.fg_truecolor;return i.fg_truecolor=i.bg_truecolor,i.bg_truecolor=r,i.isInverted=!0,!1}return!0}),r.json)return i;if(i.isEmpty())return"";if(!i.was_processed)return i.content;let a=[],s=[],l=[],u={},c=t=>{let e,r=[];for(e in t)t.hasOwnProperty(e)&&r.push("data-"+e+'="'+this.escapeForHtml(t[e])+'"');return r.length>0?" "+r.join(" "):""};return(i.isInverted&&(u["ansi-is-inverted"]="true"),i.fg&&(o?(a.push(i.fg+"-fg"),null!==i.fg_truecolor&&(u["ansi-truecolor-fg"]=i.fg_truecolor,i.fg_truecolor=null)):a.push("color:rgb("+i.fg+")")),i.bg&&(o?(a.push(i.bg+"-bg"),null!==i.bg_truecolor&&(u["ansi-truecolor-bg"]=i.bg_truecolor,i.bg_truecolor=null)):a.push("background-color:rgb("+i.bg+")")),i.decorations.forEach(t=>{o?s.push("ansi-"+t):"bold"===t?s.push("font-weight:bold"):"dim"===t?s.push("opacity:0.5"):"italic"===t?s.push("font-style:italic"):"hidden"===t?s.push("visibility:hidden"):"strikethrough"===t?l.push("line-through"):l.push(t)}),l.length&&s.push("text-decoration:"+l.join(" ")),o)?'<span class="'+a.concat(s).join(" ")+'"'+c(u)+">"+i.content+"</span>":'<span style="'+a.concat(s).join(";")+'"'+c(u)+">"+i.content+"</span>"}removeDecoration(t){let e=this.decorations.indexOf(t);e>=0&&this.decorations.splice(e,1)}}t.exports=n},96131(t,e,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||(n=function(t){return(n=Object.getOwnPropertyNames||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[e.length]=r);return e})(t)},function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r=n(t),a=0;a<r.length;a++)"default"!==r[a]&&i(e,t,r[a]);return o(e,t),e}),s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){let{className:e,useClasses:r,children:n,linkify:i}=t;return h.createElement("code",{className:e},(function(t,e=!1){return t=(0,u.escapeCarriageReturn)(function(t){let e=t;do e=(t=e).replace(/[^\n]\x08/gm,"");while(e.length<t.length);return t}(t)),l.default.ansiToJson(t,{json:!0,remove_empty:!0,use_classes:e})})(null!=n?n:"",null!=r&&r).map(f.bind(null,null!=i&&i,null!=r&&r)))};let l=s(r(79560)),u=r(86505),c=s(r(56598)),h=a(r(22155));function f(t,e,r,n){let i,o=e?null:function(t){let e={};switch(t.bg&&(e.backgroundColor=`rgb(${t.bg})`),t.fg&&(e.color=`rgb(${t.fg})`),t.decoration){case"bold":e.fontWeight="bold";break;case"dim":e.opacity="0.5";break;case"italic":e.fontStyle="italic";break;case"hidden":e.visibility="hidden";break;case"strikethrough":e.textDecoration="line-through";break;case"underline":e.textDecoration="underline";break;case"blink":e.textDecoration="blink"}return e}(r),a=e?(i="",(r.bg&&(i+=`${r.bg}-bg `),r.fg&&(i+=`${r.fg}-fg `),r.decoration&&(i+=`ansi-${r.decoration} `),""===i)?null:i=i.substring(0,i.length-1)):null;return t?"fuzzy"===t?function(t,e,r,n){var i;let o=(0,c.default)({fuzzyEmail:!1}).tlds(["io"],!0);if(!o.pretest(t.content))return h.createElement("span",{style:r,key:e,className:n},t.content);let a=o.match(t.content);if(!a)return h.createElement("span",{style:r,key:e,className:n},t.content);let s=[t.content.substring(0,null==(i=a[0])?void 0:i.index)];return a.forEach((e,r)=>{var n;s.push(h.createElement("a",{href:e.url,target:"_blank",key:r},t.content.substring(e.index,e.lastIndex))),a[r+1]&&s.push(t.content.substring(a[r].lastIndex,null==(n=a[r+1])?void 0:n.index))}),a[a.length-1].lastIndex!==t.content.length&&s.push(t.content.substring(a[a.length-1].lastIndex,t.content.length)),h.createElement("span",{style:r,key:e,className:n},s)}(r,n,o,a):function(t,e,r,n){let i,o=[],a=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,s=0;for(;null!==(i=a.exec(t.content));){let[,e,r]=i,n=i.index+e.length;n>s&&o.push(t.content.substring(s,n));let l=r.startsWith("www.")?`http://${r}`:r;o.push(h.createElement("a",{key:s,href:l,target:"_blank"},`${r}`)),s=a.lastIndex}return s<t.content.length&&o.push(t.content.substring(s)),h.createElement("span",{style:r,key:e,className:n},o)}(r,n,o,a):h.createElement("span",{style:o,key:n,className:a},r.content)}},46732(t,e,r){"use strict";var n,i,o,a=r(85409);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var l=r(35349).codes,u=l.ERR_AMBIGUOUS_ARGUMENT,c=l.ERR_INVALID_ARG_TYPE,h=l.ERR_INVALID_ARG_VALUE,f=l.ERR_INVALID_RETURN_VALUE,p=l.ERR_MISSING_ARGS,d=r(96342),g=r(1344).inspect,y=r(1344).types,v=y.isPromise,m=y.isRegExp,_=r(43921)(),b=r(12197)(),x=r(11187)("RegExp.prototype.test");function w(){var t=r(31235);i=t.isDeepEqual,o=t.isDeepStrictEqual}var S=!1,A=t.exports=C,M={};function k(t){if(t.message instanceof Error)throw t.message;throw new d(t)}function T(t,e,r,n){if(!r){var i=!1;if(0===e)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new d({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw o.generatedMessage=i,o}}function C(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];T.apply(void 0,[C,e.length].concat(e))}A.fail=function t(e,r,n,i,o){var s,l=arguments.length;if(0===l?s="Failed":1===l?(n=e,e=void 0):(!1===S&&(S=!0,(a.emitWarning?a.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===l&&(i="!=")),n instanceof Error)throw n;var u={actual:e,expected:r,operator:void 0===i?"fail":i,stackStartFn:o||t};void 0!==n&&(u.message=n);var c=new d(u);throw s&&(c.message=s,c.generatedMessage=!0),c},A.AssertionError=d,A.ok=C,A.equal=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");e!=r&&k({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},A.notEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");e==r&&k({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},A.deepEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===i&&w(),i(e,r)||k({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},A.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===i&&w(),i(e,r)&&k({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},A.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===i&&w(),o(e,r)||k({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},A.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===i&&w(),o(e,r)&&k({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},A.strictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");b(e,r)||k({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},A.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");b(e,r)&&k({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var O=(Object.defineProperty(n=function t(e,r,n){var i=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");r.forEach(function(t){t in e&&(void 0!==n&&"string"==typeof n[t]&&m(e[t])&&x(e[t],n[t])?i[t]=n[t]:i[t]=e[t])})},"prototype",{writable:!1}),n);function E(t,e,r,n){if("function"!=typeof e){if(m(e))return x(e,t);if(2==arguments.length)throw new c("expected",["Function","RegExp"],e);if("object"!==s(t)||null===t){var a=new d({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:n});throw a.operator=n.name,a}var l=Object.keys(e);if(e instanceof Error)l.push("name","message");else if(0===l.length)throw new h("error",e,"may not be an empty object");return void 0===i&&w(),l.forEach(function(i){if(!("string"==typeof t[i]&&m(e[i])&&x(e[i],t[i]))&&(!(i in t)||!o(t[i],e[i]))){if(!r){var a=new d({actual:new O(t,l),expected:new O(e,l,t),operator:"deepStrictEqual",stackStartFn:n});throw a.actual=t,a.expected=e,a.operator=n.name,a}k({actual:t,expected:e,message:r,operator:n.name,stackStartFn:n})}}),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function I(t){if("function"!=typeof t)throw new c("fn","Function",t);try{t()}catch(t){return t}return M}function D(t){return v(t)||null!==t&&"object"===s(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function R(t){return Promise.resolve().then(function(){var e;if("function"==typeof t){if(!D(e=t()))throw new f("instance of Promise","promiseFn",e)}else if(D(t))e=t;else throw new c("promiseFn",["Function","Promise"],t);return Promise.resolve().then(function(){return e}).then(function(){return M}).catch(function(t){return t})})}function L(t,e,r,n){if("string"==typeof r){if(4==arguments.length)throw new c("error",["Object","Error","Function","RegExp"],r);if("object"===s(e)&&null!==e){if(e.message===r)throw new u("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new u("error/message",'The error "'.concat(e,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==s(r)&&"function"!=typeof r)throw new c("error",["Object","Error","Function","RegExp"],r);if(e===M){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var o="rejects"===t.name?"rejection":"exception";k({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:t})}if(r&&!E(e,r,n,t))throw e}function P(t,e,r,n){if(e!==M){if("string"==typeof r&&(n=r,r=void 0),!r||E(e,r)){var i=n?": ".concat(n):".",o="doesNotReject"===t.name?"rejection":"exception";k({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function B(t,e,r,n,i){if(!m(e))throw new c("regexp","RegExp",e);var o="match"===i;if("string"!=typeof t||x(e,t)!==o){if(r instanceof Error)throw r;var a=!r;r=r||("string"!=typeof t?'The "string" argument must be of type string. Received type '+"".concat(s(t)," (").concat(g(t),")"):(o?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(g(e),". Input:\n\n").concat(g(t),"\n"));var l=new d({actual:t,expected:e,message:r,operator:i,stackStartFn:n});throw l.generatedMessage=a,l}}function F(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];T.apply(void 0,[F,e.length].concat(e))}A.throws=function t(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];L.apply(void 0,[t,I(e)].concat(n))},A.rejects=function t(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return R(e).then(function(e){return L.apply(void 0,[t,e].concat(n))})},A.doesNotThrow=function t(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];P.apply(void 0,[t,I(e)].concat(n))},A.doesNotReject=function t(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return R(e).then(function(e){return P.apply(void 0,[t,e].concat(n))})},A.ifError=function t(e){if(null!=e){var r="ifError got unwanted exception: ";"object"===s(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=g(e);var n=new d({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),i=e.stack;if("string"==typeof i){var o=i.split("\n");o.shift();for(var a=n.stack.split("\n"),l=0;l<o.length;l++){var u=a.indexOf(o[l]);if(-1!==u){a=a.slice(0,u);break}}n.stack="".concat(a.join("\n"),"\n").concat(o.join("\n"))}throw n}},A.match=function t(e,r,n){B(e,r,n,t,"match")},A.doesNotMatch=function t(e,r,n){B(e,r,n,t,"doesNotMatch")},A.strict=_(F,A,{equal:A.strictEqual,deepEqual:A.deepStrictEqual,notEqual:A.notStrictEqual,notDeepEqual:A.notDeepStrictEqual}),A.strict.strict=A.strict},96342(t,e,r){"use strict";var n=r(85409);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=a(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t){var e=function(t,e){if("object"!==d(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===d(e)?e:String(e)}function s(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return l(t)}function l(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return(u=function(t){var r;if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,p(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)})(t)}function c(t,e,r){return(c=h()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return r&&f(i,r.prototype),i}).apply(null,arguments)}function h(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g=r(1344).inspect,y=r(35349).codes.ERR_INVALID_ARG_TYPE;function v(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}var m="",_="",b="",x="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach(function(e){r[e]=t[e]}),Object.defineProperty(r,"message",{value:t.message}),r}function A(t){return g(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}t.exports=function(t,e){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");c.prototype=Object.create(t&&t.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),t&&f(c,t);var r,i,u=(r=h(),function(){var t,e=p(c);return t=r?Reflect.construct(e,arguments,p(this).constructor):e.apply(this,arguments),s(this,t)});function c(t){if(!(this instanceof c))throw TypeError("Cannot call a class as a function");if("object"!==d(t)||null===t)throw new y("options","Object",t);var e,r=t.message,i=t.operator,o=t.stackStartFn,a=t.actual,h=t.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)e=u.call(this,String(r));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(m="\x1b[34m",_="\x1b[32m",x="\x1b[39m",b="\x1b[31m"):(m="",_="",x="",b="")),"object"===d(a)&&null!==a&&"object"===d(h)&&null!==h&&"stack"in a&&a instanceof Error&&"stack"in h&&h instanceof Error&&(a=S(a),h=S(h)),"deepStrictEqual"===i||"strictEqual"===i)e=u.call(this,function(t,e,r){var i="",o="",a=0,s="",l=!1,u=A(t),c=u.split("\n"),h=A(e).split("\n"),f=0,p="";if("strictEqual"===r&&"object"===d(t)&&"object"===d(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===c.length&&1===h.length&&c[0]!==h[0]){var g=c[0].length+h[0].length;if(g<=10){if(("object"!==d(t)||null===t)&&("object"!==d(e)||null===e)&&(0!==t||0!==e))return"".concat(w[r],"\n\n")+"".concat(c[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==r&&g<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;c[0][f]===h[0][f];)f++;f>2&&(p="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",f),"^"),f=0)}}for(var y=c[c.length-1],S=h[h.length-1];y===S&&(f++<2?s="\n ".concat(y).concat(s):i=y,c.pop(),h.pop(),0!==c.length&&0!==h.length);)y=c[c.length-1],S=h[h.length-1];var M=Math.max(c.length,h.length);if(0===M){var k=u.split("\n");if(k.length>30)for(k[26]="".concat(m,"...").concat(x);k.length>27;)k.pop();return"".concat(w.notIdentical,"\n\n").concat(k.join("\n"),"\n")}f>3&&(s="\n".concat(m,"...").concat(x).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var T=0,C=w[r]+"\n".concat(_,"+ actual").concat(x," ").concat(b,"- expected").concat(x),O=" ".concat(m,"...").concat(x," Lines skipped");for(f=0;f<M;f++){var E=f-a;if(c.length<f+1)E>1&&f>2&&(E>4?(o+="\n".concat(m,"...").concat(x),l=!0):E>3&&(o+="\n ".concat(h[f-2]),T++),o+="\n ".concat(h[f-1]),T++),a=f,i+="\n".concat(b,"-").concat(x," ").concat(h[f]),T++;else if(h.length<f+1)E>1&&f>2&&(E>4?(o+="\n".concat(m,"...").concat(x),l=!0):E>3&&(o+="\n ".concat(c[f-2]),T++),o+="\n ".concat(c[f-1]),T++),a=f,o+="\n".concat(_,"+").concat(x," ").concat(c[f]),T++;else{var I=h[f],D=c[f],R=D!==I&&(!v(D,",")||D.slice(0,-1)!==I);R&&v(I,",")&&I.slice(0,-1)===D&&(R=!1,D+=","),R?(E>1&&f>2&&(E>4?(o+="\n".concat(m,"...").concat(x),l=!0):E>3&&(o+="\n ".concat(c[f-2]),T++),o+="\n ".concat(c[f-1]),T++),a=f,o+="\n".concat(_,"+").concat(x," ").concat(D),i+="\n".concat(b,"-").concat(x," ").concat(I),T+=2):(o+=i,i="",(1===E||0===f)&&(o+="\n ".concat(D),T++))}if(T>20&&f<M-2)return"".concat(C).concat(O,"\n").concat(o,"\n").concat(m,"...").concat(x).concat(i,"\n")+"".concat(m,"...").concat(x)}return"".concat(C).concat(l?O:"","\n").concat(o).concat(i).concat(s).concat(p)}(a,h,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var p=w[i],g=A(a).split("\n");if("notStrictEqual"===i&&"object"===d(a)&&null!==a&&(p=w.notStrictEqualObject),g.length>30)for(g[26]="".concat(m,"...").concat(x);g.length>27;)g.pop();e=1===g.length?u.call(this,"".concat(p," ").concat(g[0])):u.call(this,"".concat(p,"\n\n").concat(g.join("\n"),"\n"))}else{var M=A(a),k="",T=w[i];"notDeepEqual"===i||"notEqual"===i?(M="".concat(w[i],"\n\n").concat(M)).length>1024&&(M="".concat(M.slice(0,1021),"...")):(k="".concat(A(h)),M.length>512&&(M="".concat(M.slice(0,509),"...")),k.length>512&&(k="".concat(k.slice(0,509),"...")),"deepEqual"===i||"equal"===i?M="".concat(T,"\n\n").concat(M,"\n\nshould equal\n\n"):k=" ".concat(i," ").concat(k)),e=u.call(this,"".concat(M).concat(k))}return Error.stackTraceLimit=f,e.generatedMessage=!r,Object.defineProperty(l(e),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),e.code="ERR_ASSERTION",e.actual=a,e.expected=h,e.operator=i,Error.captureStackTrace&&Error.captureStackTrace(l(e),o),e.stack,e.name="AssertionError",s(e)}return i=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(t,e){return g(this,o(o({},e),{},{customInspect:!1,depth:0}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}(c.prototype,i),Object.defineProperty(c,"prototype",{writable:!1}),c}(u(Error),g.custom)},35349(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var a,s,l={};function u(t,e,r){r||(r=Error);var a=function(r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&i(l,r);var a,s=(a=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=o(l);return t=a?Reflect.construct(e,arguments,o(this).constructor):e.apply(this,arguments),function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function l(r,n,i){var o;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");return(o=s.call(this,"string"==typeof e?e:e(r,n,i))).code=t,o}return Object.defineProperty(l,"prototype",{writable:!1}),l}(r);l[t]=a}function c(t,e){if(!Array.isArray(t))return"of ".concat(e," ").concat(String(t));var r=t.length;return(t=t.map(function(t){return String(t)}),r>2)?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(t,e,i){if((void 0===a&&(a=r(46732)),a("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(o="not ",e.substr(0,o.length)===o))?(h="must not be",e=e.replace(/^not /,"")):h="must be",s=" argument",(void 0===l||l>t.length)&&(l=t.length),t.substring(l-s.length,l)===s)f="The ".concat(t," ").concat(h," ").concat(c(e,"type"));else{var o,s,l,u,h,f,p=("number"!=typeof u&&(u=0),u+1>t.length||-1===t.indexOf(".",u))?"argument":"property";f='The "'.concat(t,'" ').concat(p," ").concat(h," ").concat(c(e,"type"))}return f+". Received type ".concat(n(i))},TypeError),u("ERR_INVALID_ARG_VALUE",function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=r(1344));var i=s.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(i)},TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",function(t,e,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===a&&(a=r(46732)),a(e.length>0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map(function(t){return'"'.concat(t,'"')}),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments")}return"".concat(i," must be specified")},TypeError),t.exports.codes=l},31235(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=void 0!==/a/g.flags,s=function(t){var e=[];return t.forEach(function(t){return e.push(t)}),e},l=function(t){var e=[];return t.forEach(function(t,r){return e.push([r,t])}),e},u=Object.is?Object.is:r(19068),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},h=Number.isNaN?Number.isNaN:r(14954);function f(t){return t.call.bind(t)}var p=f(Object.prototype.hasOwnProperty),d=f(Object.prototype.propertyIsEnumerable),g=f(Object.prototype.toString),y=r(1344).types,v=y.isAnyArrayBuffer,m=y.isArrayBufferView,_=y.isDate,b=y.isMap,x=y.isRegExp,w=y.isSet,S=y.isNativeError,A=y.isBoxedPrimitive,M=y.isNumberObject,k=y.isStringObject,T=y.isBooleanObject,C=y.isBigIntObject,O=y.isSymbolObject,E=y.isFloat32Array,I=y.isFloat64Array;function D(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=0x100000000}function R(t){return Object.keys(t).filter(D).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function L(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)}var P=void 0;function B(t,e,r,n){if(t===e)return 0!==t||!r||u(t,e);if(r){if("object"!==o(t))return"number"==typeof t&&h(t)&&h(e);if("object"!==o(e)||null===t||null===e||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var i=g(t);if(i!==g(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var s=R(t,P),l=R(e,P);return s.length===l.length&&N(t,e,r,n,1,s)}if("[object Object]"===i&&(!b(t)&&b(e)||!w(t)&&w(e)))return!1;if(_(t)){if(!_(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(x(t)){if(!x(e)||(a?t.source!==e.source||t.flags!==e.flags:RegExp.prototype.toString.call(t)!==RegExp.prototype.toString.call(e)))return!1}else if(S(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else if(m(t)){if(!r&&(E(t)||I(t))){if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}(t,e))return!1}else if(t.byteLength!==e.byteLength||0!==L(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)))return!1;var c=R(t,P),f=R(e,P);return c.length===f.length&&N(t,e,r,n,0,c)}else if(w(t))return!!w(e)&&t.size===e.size&&N(t,e,r,n,2);else if(b(t))return!!b(e)&&t.size===e.size&&N(t,e,r,n,3);else if(v(t)){if(t.byteLength!==e.byteLength||0!==L(new Uint8Array(t),new Uint8Array(e)))return!1}else if(A(t)&&(M(t)?!(M(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e))):k(t)?!k(e)||String.prototype.valueOf.call(t)!==String.prototype.valueOf.call(e):T(t)?!T(e)||Boolean.prototype.valueOf.call(t)!==Boolean.prototype.valueOf.call(e):C(t)?!C(e)||BigInt.prototype.valueOf.call(t)!==BigInt.prototype.valueOf.call(e):!O(e)||Symbol.prototype.valueOf.call(t)!==Symbol.prototype.valueOf.call(e)))return!1;return N(t,e,r,n,0)}function F(t,e){return e.filter(function(e){return d(t,e)})}function N(t,e,r,i,a,u){if(5==arguments.length){u=Object.keys(t);var h=Object.keys(e);if(u.length!==h.length)return!1}for(var f=0;f<u.length;f++)if(!p(e,u[f]))return!1;if(r&&5==arguments.length){var g=c(t);if(0!==g.length){var y=0;for(f=0;f<g.length;f++){var v=g[f];if(d(t,v)){if(!d(e,v))return!1;u.push(v),y++}else if(d(e,v))return!1}var m=c(e);if(g.length!==m.length&&F(e,m).length!==y)return!1}else{var _=c(e);if(0!==_.length&&0!==F(e,_).length)return!1}}if(0===u.length&&(0===a||1===a&&0===t.length||0===t.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var b=i.val1.get(t);if(void 0!==b){var x=i.val2.get(e);if(void 0!==x)return b===x}i.position++}i.val1.set(t,i.position),i.val2.set(e,i.position);var w=function(t,e,r,i,a,u){var c=0;if(2===u){if(!function(t,e,r,n){for(var i=null,a=s(t),l=0;l<a.length;l++){var u=a[l];if("object"===o(u)&&null!==u)null===i&&(i=new Set),i.add(u);else if(!e.has(u)){if(r||!function(t,e,r){var n=j(r);return null!=n?n:e.has(n)&&!t.has(n)}(t,e,u))return!1;null===i&&(i=new Set),i.add(u)}}if(null!==i){for(var c=s(e),h=0;h<c.length;h++){var f=c[h];if("object"===o(f)&&null!==f){if(!z(i,f,r,n))return!1}else if(!r&&!t.has(f)&&!z(i,f,r,n))return!1}return 0===i.size}return!0}(t,e,r,a))return!1}else if(3===u){if(!function(t,e,r,i){for(var a=null,s=l(t),u=0;u<s.length;u++){var c=n(s[u],2),h=c[0],f=c[1];if("object"===o(h)&&null!==h)null===a&&(a=new Set),a.add(h);else{var p=e.get(h);if(void 0===p&&!e.has(h)||!B(f,p,r,i)){if(r||!function(t,e,r,n,i){var o=j(r);if(null!=o)return o;var a=e.get(o);return(void 0!==a||!!e.has(o))&&!!B(n,a,!1,i)&&!t.has(o)&&B(n,a,!1,i)}(t,e,h,f,i))return!1;null===a&&(a=new Set),a.add(h)}}}if(null!==a){for(var d=l(e),g=0;g<d.length;g++){var y=n(d[g],2),v=y[0],m=y[1];if("object"===o(v)&&null!==v){if(!H(a,t,v,m,r,i))return!1}else if(!r&&(!t.has(v)||!B(t.get(v),m,!1,i))&&!H(a,t,v,m,!1,i))return!1}return 0===a.size}return!0}(t,e,r,a))return!1}else if(1===u)for(;c<t.length;c++)if(p(t,c)){if(!p(e,c)||!B(t[c],e[c],r,a))return!1}else{if(p(e,c))return!1;for(var h=Object.keys(t);c<h.length;c++){var f=h[c];if(!p(e,f)||!B(t[f],e[f],r,a))return!1}if(h.length!==Object.keys(e).length)return!1;return!0}for(c=0;c<i.length;c++){var d=i[c];if(!B(t[d],e[d],r,a))return!1}return!0}(t,e,r,u,i,a);return i.val1.delete(t),i.val2.delete(e),w}function z(t,e,r,n){for(var i=s(t),o=0;o<i.length;o++){var a=i[o];if(B(e,a,r,n))return t.delete(a),!0}return!1}function j(t){switch(o(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t*=1;case"number":if(h(t))return!1}return!0}function H(t,e,r,n,i,o){for(var a=s(t),l=0;l<a.length;l++){var u=a[l];if(B(r,u,i,o)&&B(n,e.get(u),i,o))return t.delete(u),!0}return!1}t.exports={isDeepEqual:function(t,e){return B(t,e,!1)},isDeepStrictEqual:function(t,e){return B(t,e,!0)}}},84933(t,e){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=l(t),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[c++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},46025(t,e,r){"use strict";var n=r(8963).Buffer,i=r(85409),o=r(46732),a=r(84179),s=r(78250),l=r(81090),u=r(10756);for(var c in u)e[c]=u[c];function h(t){if("number"!=typeof t||t<e.DEFLATE||t>e.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7,h.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=e.UNZIP),this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===e.INFLATE||this.mode===e.GUNZIP||this.mode===e.INFLATERAW||this.mode===e.UNZIP)&&l.inflateEnd(this.strm),this.mode=e.NONE,this.dictionary=null},h.prototype.write=function(t,e,r,n,i,o,a){return this._write(!0,t,e,r,n,i,o,a)},h.prototype.writeSync=function(t,e,r,n,i,o,a){return this._write(!1,t,e,r,n,i,o,a)},h.prototype._write=function(t,r,a,s,l,u,c,h){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==e.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==e.Z_NO_FLUSH&&r!==e.Z_PARTIAL_FLUSH&&r!==e.Z_SYNC_FLUSH&&r!==e.Z_FULL_FLUSH&&r!==e.Z_FINISH&&r!==e.Z_BLOCK)throw Error("Invalid flush value");if(null==a&&(a=n.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=h,this.strm.output=u,this.strm.next_out=c,this.flush=r,!t)return(this._process(),this._checkError())?this._afterSync():void 0;var f=this;return i.nextTick(function(){f._process(),f._after()}),this},h.prototype._afterSync=function(){var t=this.strm.avail_out,e=this.strm.avail_in;return this.write_in_progress=!1,[e,t]},h.prototype._process=function(){var t=null;switch(this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case e.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31===this.strm.input[t]){if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break}else{this.mode=e.INFLATE;break}case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=e.GUNZIP):this.mode=e.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:for(this.err=l.inflate(this.strm,this.flush),this.err===e.Z_NEED_DICT&&this.dictionary&&(this.err=l.inflateSetDictionary(this.strm,this.dictionary),this.err===e.Z_OK?this.err=l.inflate(this.strm,this.flush):this.err===e.Z_DATA_ERROR&&(this.err=e.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===e.GUNZIP&&this.err===e.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=l.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}},h.prototype._checkError=function(){switch(this.err){case e.Z_OK:case e.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===e.Z_FINISH)return this._error("unexpected end of file"),!1;break;case e.Z_STREAM_END:break;case e.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},h.prototype._after=function(){if(this._checkError()){var t=this.strm.avail_out,e=this.strm.avail_in;this.write_in_progress=!1,this.callback(e,t),this.pending_close&&this.close()}},h.prototype._error=function(t){this.strm.msg&&(t=this.strm.msg),this.onerror(t,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},h.prototype.init=function(t,r,n,i,a){o(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(t>=8&&t<=15,"invalid windowBits"),o(r>=-1&&r<=9,"invalid compression level"),o(n>=1&&n<=9,"invalid memlevel"),o(i===e.Z_FILTERED||i===e.Z_HUFFMAN_ONLY||i===e.Z_RLE||i===e.Z_FIXED||i===e.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,t,n,i,a),this._setDictionary()},h.prototype.params=function(){throw Error("deflateParams Not supported")},h.prototype.reset=function(){this._reset(),this._setDictionary()},h.prototype._init=function(t,r,n,i,o){switch(this.level=t,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=e.Z_NO_FLUSH,this.err=e.Z_OK,(this.mode===e.GZIP||this.mode===e.GUNZIP)&&(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),(this.mode===e.DEFLATERAW||this.mode===e.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:this.err=l.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==e.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},h.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==e.Z_OK&&this._error("Failed to set dictionary")}},h.prototype._reset=function(){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:case e.GZIP:this.err=s.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:case e.GUNZIP:this.err=l.inflateReset(this.strm)}this.err!==e.Z_OK&&this._error("Failed to reset stream")},e.Zlib=h},46068(t,e,r){"use strict";var n=r(85409),i=r(8963).Buffer,o=r(43803).Transform,a=r(46025),s=r(1344),l=r(46732).ok,u=r(8963).kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+u.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var h=Object.keys(a),f=0;f<h.length;f++){var p=h[f];p.match(/^Z/)&&Object.defineProperty(e,p,{enumerable:!0,value:a[p],writable:!1})}for(var d={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},g=Object.keys(d),y=0;y<g.length;y++){var v=g[y];d[d[v]]=v}function m(t,e,r){var n=[],o=0;function a(){for(var e;null!==(e=t.read());)n.push(e),o+=e.length;t.once("readable",a)}function s(){var e,a=null;o>=u?a=RangeError(c):e=i.concat(n,o),n=[],t.close(),r(a,e)}t.on("error",function(e){t.removeListener("end",s),t.removeListener("readable",a),r(e)}),t.on("end",s),t.end(e),a()}function _(t,e){if("string"==typeof e&&(e=i.from(e)),!i.isBuffer(e))throw TypeError("Not a string or buffer");var r=t._finishFlushFlag;return t._processChunk(e,r)}function b(t){if(!(this instanceof b))return new b(t);C.call(this,t,a.DEFLATE)}function x(t){if(!(this instanceof x))return new x(t);C.call(this,t,a.INFLATE)}function w(t){if(!(this instanceof w))return new w(t);C.call(this,t,a.GZIP)}function S(t){if(!(this instanceof S))return new S(t);C.call(this,t,a.GUNZIP)}function A(t){if(!(this instanceof A))return new A(t);C.call(this,t,a.DEFLATERAW)}function M(t){if(!(this instanceof M))return new M(t);C.call(this,t,a.INFLATERAW)}function k(t){if(!(this instanceof k))return new k(t);C.call(this,t,a.UNZIP)}function T(t){return t===a.Z_NO_FLUSH||t===a.Z_PARTIAL_FLUSH||t===a.Z_SYNC_FLUSH||t===a.Z_FULL_FLUSH||t===a.Z_FINISH||t===a.Z_BLOCK}function C(t,r){var n=this;if(this._opts=t=t||{},this._chunkSize=t.chunkSize||e.Z_DEFAULT_CHUNK,o.call(this,t),t.flush&&!T(t.flush))throw Error("Invalid flush flag: "+t.flush);if(t.finishFlush&&!T(t.finishFlush))throw Error("Invalid flush flag: "+t.finishFlush);if(this._flushFlag=t.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==t.finishFlush?t.finishFlush:a.Z_FINISH,t.chunkSize&&(t.chunkSize<e.Z_MIN_CHUNK||t.chunkSize>e.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBits<e.Z_MIN_WINDOWBITS||t.windowBits>e.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.level<e.Z_MIN_LEVEL||t.level>e.Z_MAX_LEVEL))throw Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevel<e.Z_MIN_MEMLEVEL||t.memLevel>e.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=e.Z_FILTERED&&t.strategy!=e.Z_HUFFMAN_ONLY&&t.strategy!=e.Z_RLE&&t.strategy!=e.Z_FIXED&&t.strategy!=e.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!i.isBuffer(t.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(t,r){O(s),s._hadError=!0;var n=Error(t);n.errno=r,n.code=e.codes[r],s.emit("error",n)};var l=e.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(l=t.level);var u=e.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(u=t.strategy),this._handle.init(t.windowBits||e.Z_DEFAULT_WINDOWBITS,l,t.memLevel||e.Z_DEFAULT_MEMLEVEL,u,t.dictionary),this._buffer=i.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!n._handle},configurable:!0,enumerable:!0})}function O(t,e){e&&n.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}function E(t){t.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(d),writable:!1}),e.Deflate=b,e.Inflate=x,e.Gzip=w,e.Gunzip=S,e.DeflateRaw=A,e.InflateRaw=M,e.Unzip=k,e.createDeflate=function(t){return new b(t)},e.createInflate=function(t){return new x(t)},e.createDeflateRaw=function(t){return new A(t)},e.createInflateRaw=function(t){return new M(t)},e.createGzip=function(t){return new w(t)},e.createGunzip=function(t){return new S(t)},e.createUnzip=function(t){return new k(t)},e.deflate=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new b(e),t,r)},e.deflateSync=function(t,e){return _(new b(e),t)},e.gzip=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new w(e),t,r)},e.gzipSync=function(t,e){return _(new w(e),t)},e.deflateRaw=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new A(e),t,r)},e.deflateRawSync=function(t,e){return _(new A(e),t)},e.unzip=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new k(e),t,r)},e.unzipSync=function(t,e){return _(new k(e),t)},e.inflate=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new x(e),t,r)},e.inflateSync=function(t,e){return _(new x(e),t)},e.gunzip=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new S(e),t,r)},e.gunzipSync=function(t,e){return _(new S(e),t)},e.inflateRaw=function(t,e,r){return"function"==typeof e&&(r=e,e={}),m(new M(e),t,r)},e.inflateRawSync=function(t,e){return _(new M(e),t)},s.inherits(C,o),C.prototype.params=function(t,r,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+t);if(r!=e.Z_FILTERED&&r!=e.Z_HUFFMAN_ONLY&&r!=e.Z_RLE&&r!=e.Z_FIXED&&r!=e.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+r);if(this._level!==t||this._strategy!==r){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){l(o._handle,"zlib binding closed"),o._handle.params(t,r),!o._hadError&&(o._level=t,o._strategy=r,i&&i())})}else n.nextTick(i)},C.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},C.prototype._flush=function(t){this._transform(i.alloc(0),"",t)},C.prototype.flush=function(t,e){var r=this,o=this._writableState;"function"!=typeof t&&(void 0!==t||e)||(e=t,t=a.Z_FULL_FLUSH),o.ended?e&&n.nextTick(e):o.ending?e&&this.once("end",e):o.needDrain?e&&this.once("drain",function(){return r.flush(t,e)}):(this._flushFlag=t,this.write(i.alloc(0),"",e))},C.prototype.close=function(t){O(this,t),n.nextTick(E,this)},C.prototype._transform=function(t,e,r){var n,o=this._writableState,s=(o.ending||o.ended)&&(!t||o.length===t.length);return null===t||i.isBuffer(t)?this._handle?void(s?n=this._finishFlushFlag:(n=this._flushFlag,t.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),this._processChunk(t,n,r)):r(Error("zlib binding closed")):r(Error("invalid input"))},C.prototype._processChunk=function(t,e,r){var n=t&&t.length,o=this._chunkSize-this._offset,a=0,s=this,h="function"==typeof r;if(!h){var f,p=[],d=0;this.on("error",function(t){f=t}),l(this._handle,"zlib binding closed");do var g=this._handle.writeSync(e,t,a,n,this._buffer,this._offset,o);while(!this._hadError&&m(g[0],g[1]));if(this._hadError)throw f;if(d>=u)throw O(this),RangeError(c);var y=i.concat(p,d);return O(this),y}l(this._handle,"zlib binding closed");var v=this._handle.write(e,t,a,n,this._buffer,this._offset,o);function m(u,c){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var f=o-c;if(l(f>=0,"have should not go down"),f>0){var g=s._buffer.slice(s._offset,s._offset+f);s._offset+=f,h?s.push(g):(p.push(g),d+=g.length)}if((0===c||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=i.allocUnsafe(s._chunkSize)),0===c){if(a+=n-u,n=u,!h)return!0;var y=s._handle.write(e,t,a,n,s._buffer,s._offset,s._chunkSize);return y.callback=m,void(y.buffer=t)}if(!h)return!1;r()}}v.buffer=t,v.callback=m},s.inherits(b,C),s.inherits(x,C),s.inherits(w,C),s.inherits(S,C),s.inherits(A,C),s.inherits(M,C),s.inherits(k,C)},8963(t,e,r){"use strict";var n=r(84933),i=r(63328),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|d(n,i),l=a(o),u=l.write(n,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(t)){var c=t;if(O(c,Uint8Array)){var g=new Uint8Array(c);return f(g.buffer,g.byteOffset,g.byteLength)}return h(c)}if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(O(t,ArrayBuffer)||t&&O(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(O(t,SharedArrayBuffer)||t&&O(t.buffer,SharedArrayBuffer)))return f(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var y=t.valueOf&&t.valueOf();if(null!=y&&y!==t)return s.from(y,e,r);var v=function(t){if(s.isBuffer(t)){var e=0|p(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(v)return v;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return u(t),a(t<0?0:0|p(t))}function h(t){for(var e=t.length<0?0:0|p(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function f(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}function p(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||O(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(t).length;default:if(i)return n?-1:k(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){var i,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=E[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return _(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return m(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function m(t,e,r,n,i){var o,a=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return -1}function _(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,l,u=t[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:(192&(o=t[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}var f=n,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var d="",g=0;g<p;)d+=String.fromCharCode.apply(String,f.slice(g,g+=4096));return d}function b(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function x(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function w(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function S(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function A(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(O(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(O(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=d,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?_(this,0,t):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(O(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,l=Math.min(o,a),u=this.slice(n,i),c=t.slice(e,r),h=0;h<l;++h)if(u[h]!==c[h]){o=u[h],a=c[h];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,h,f=this.length-e;if((void 0===r||r>f)&&(r=f),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,l=parseInt(e.substr(2*a,2),16);if((s=l)!=s)break;t[r+a]=l}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,C(k(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=r,C(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(t),this,a,s);case"base64":return l=e,u=r,C(T(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,h=r,C(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-c),this,c,h);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||x(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return S(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return S(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return A(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return A(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),l=a.length;if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%l]}return this};var M=/[^+/0-9A-Za-z-_]/g;function k(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function T(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function O(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var E=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},97785(t,e,r){"use strict";var n=r(79524),i=r(64811),o=r(46255);t.exports=r(12728)||n.call(o,i)},96440(t,e,r){"use strict";var n=r(79524),i=r(64811),o=r(97785);t.exports=function(){return o(n,i,arguments)}},64811(t){"use strict";t.exports=Function.prototype.apply},46255(t){"use strict";t.exports=Function.prototype.call},92427(t,e,r){"use strict";var n=r(79524),i=r(71102),o=r(46255),a=r(97785);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new i("a function is required");return a(n,o,t)}},12728(t){"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},11187(t,e,r){"use strict";var n=r(49336),i=r(17695),o=i(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i(r):r}},17695(t,e,r){"use strict";var n=r(7755),i=r(39886),o=r(92427),a=r(96440);t.exports=function(t){var e=o(arguments),r=t.length-(arguments.length-1);return n(e,1+(r>0?r:0),!0)},i?i(t.exports,"apply",{value:a}):t.exports.apply=a},98801(t,e,r){"use strict";var n=r(49336),i=r(92427),o=i([n("%String.prototype.indexOf%")]);t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i([r]):r}},59585(t,e,r){"use strict";var n=r(39687),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var r,o,a,s,l,u,c,h,f=!1;e||(e={}),a=e.debug||!1;try{if(l=n(),u=document.createRange(),c=document.getSelection(),(h=document.createElement("span")).textContent=t,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),void 0===r.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=i[e.format]||i.default;window.clipboardData.setData(n,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))}),document.body.appendChild(h),u.selectNodeContents(h),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(n){a&&console.error("unable to copy using execCommand: ",n),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),f=!0}catch(n){a&&console.error("unable to copy using clipboardData: ",n),a&&console.error("falling back to prompt"),r="message"in e?e.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=r.replace(/#{\s*key\s*}/g,o),window.prompt(s,t)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),h&&document.body.removeChild(h),l()}return f}},18814(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",n="hour",i="week",o="month",a="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},p="en",d={};d[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",y=function(t){return t instanceof b||!(!t||!t[g])},v=function t(e,r,n){var i;if(!e)return p;if("string"==typeof e){var o=e.toLowerCase();d[o]&&(i=o),r&&(d[o]=r,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;d[s]=e,i=s}return!n&&i&&(p=i),i||!n&&p},m=function(t,e){if(y(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new b(r)},_={s:f,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,o),a=r-i<0,s=e.clone().add(n+(a?-1:1),o);return+(-(n+(r-i)/(a?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(u){return({M:o,y:s,w:i,d:"day",D:l,h:n,m:r,s:e,ms:t,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};_.l=v,_.i=y,_.w=function(t,e){return m(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function f(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var p=f.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(_.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(c);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return _},p.isValid=function(){return this.$d.toString()!==u},p.isSame=function(t,e){var r=m(t);return this.startOf(e)<=r&&r<=this.endOf(e)},p.isAfter=function(t,e){return m(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<m(t)},p.$g=function(t,e,r){return _.u(t)?this[e]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,a){var u=this,c=!!_.u(a)||a,h=_.p(t),f=function(t,e){var r=_.w(u.$u?Date.UTC(u.$y,e,t):new Date(u.$y,e,t),u);return c?r:r.endOf("day")},p=function(t,e){return _.w(u.toDate()[t].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),u)},d=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case s:return c?f(1,0):f(31,11);case o:return c?f(1,g):f(0,g+1);case i:var m=this.$locale().weekStart||0,b=(d<m?d+7:d)-m;return f(c?y-b:y+(6-b),g);case"day":case l:return p(v+"Hours",0);case n:return p(v+"Minutes",1);case r:return p(v+"Seconds",2);case e:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(i,a){var u,c=_.p(i),h="set"+(this.$u?"UTC":""),f=((u={}).day=h+"Date",u[l]=h+"Date",u[o]=h+"Month",u[s]=h+"FullYear",u[n]=h+"Hours",u[r]=h+"Minutes",u[e]=h+"Seconds",u[t]=h+"Milliseconds",u)[c],p="day"===c?this.$D+(a-this.$W):a;if(c===o||c===s){var d=this.clone().set(l,1);d.$d[f](p),d.init(),this.$d=d.set(l,Math.min(this.$D,d.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[_.p(t)]()},p.add=function(t,a){var l,u=this;t=Number(t);var c=_.p(a),h=function(e){var r=m(u);return _.w(r.date(r.date()+Math.round(e*t)),u)};if(c===o)return this.set(o,this.$M+t);if(c===s)return this.set(s,this.$y+t);if("day"===c)return h(1);if(c===i)return h(7);var f=((l={})[r]=6e4,l[n]=36e5,l[e]=1e3,l)[c]||1,p=this.$d.getTime()+t*f;return _.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||u;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),o=this.$H,a=this.$m,s=this.$M,l=r.weekdays,c=r.months,f=r.meridiem,p=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].slice(0,o)},d=function(t){return _.s(o%12||12,t,"0")},g=f||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(h,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return _.s(e.$y,4,"0");case"M":return s+1;case"MM":return _.s(s+1,2,"0");case"MMM":return p(r.monthsShort,s,c,3);case"MMMM":return p(c,s);case"D":return e.$D;case"DD":return _.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(r.weekdaysMin,e.$W,l,2);case"ddd":return p(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return _.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return g(o,a,!0);case"A":return g(o,a,!1);case"m":return String(a);case"mm":return _.s(a,2,"0");case"s":return String(e.$s);case"ss":return _.s(e.$s,2,"0");case"SSS":return _.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,l,u){var c,h=this,f=_.p(l),p=m(t),d=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,y=function(){return _.m(h,p)};switch(f){case s:c=y()/12;break;case o:c=y();break;case a:c=y()/3;break;case i:c=(g-d)/6048e5;break;case"day":c=(g-d)/864e5;break;case n:c=g/36e5;break;case r:c=g/6e4;break;case e:c=g/1e3;break;default:c=g}return u?c:_.a(c)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return d[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=v(t,e,!0);return n&&(r.$L=n),r},p.clone=function(){return _.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),x=b.prototype;return m.prototype=x,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),m.extend=function(t,e){return t.$i||(t(e,b,m),t.$i=!0),m},m.locale=v,m.isDayjs=y,m.unix=function(t){return m(1e3*t)},m.en=d[p],m.Ls=d,m.p={},m}()},20022(t,e,r){"use strict";var n=r(39886),i=r(63429),o=r(71102),a=r(25667);t.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!a&&a(t,e);if(n)n(t,e,{configurable:null===u&&h?h.configurable:!u,enumerable:null===s&&h?h.enumerable:!s,value:r,writable:null===l&&h?h.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[e]=r}},4938(t,e,r){"use strict";var n=r(5187),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=r(20022),l=r(491)(),u=function(t,e,r,n){if(e in t){if(!0===n){if(t[e]===r)return}else if("function"!=typeof n||"[object Function]"!==o.call(n)||!n())return}l?s(t,e,r,!0):s(t,e,r)},c=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;s<o.length;s+=1)u(t,o[s],e[o[s]],r[o[s]])};c.supportsDescriptors=!!l,t.exports=c},57678(t,e,r){"use strict";var n,i=r(92427),o=r(25667);try{n=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;t.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(t){return l(null==t?t:s(t))}},62188(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r(65959),i=r(22155),o=r(49741);function a(t,e){var r={};return e.forEach(function(e){r[e]=t[e]}),r}function s(t){return"function"==typeof t}var l=r(67371),u=r.n(l);let c=function(t){function e(e){var r=t.call(this,e)||this;return r.echarts=e.echarts,r.ele=null,r.isInitialResize=!0,r.eventHandlerRefs={},r}return(0,n.C6)(e,t),e.prototype.componentDidMount=function(){this.renderNewEcharts()},e.prototype.componentDidUpdate=function(t){var e=this.props.shouldSetOption;if(!s(e)||e(t,this.props)){if(!u()(t.theme,this.props.theme)||!u()(t.opts,this.props.opts)){this.dispose(),this.renderNewEcharts();return}var r=this.getEchartsInstance();u()(t.onEvents,this.props.onEvents)||(this.unbindEvents(r),this.bindEvents(r,this.props.onEvents));var n=["option","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption"];u()(a(this.props,n),a(t,n))||this.updateEChartsOption(),u()(t.style,this.props.style)&&u()(t.className,this.props.className)||this.resize()}},e.prototype.componentWillUnmount=function(){this.dispose()},e.prototype.initEchartsInstance=function(){return(0,n.sH)(this,void 0,void 0,function(){var t=this;return(0,n.YH)(this,function(e){return[2,new Promise(function(e){t.echarts.init(t.ele,t.props.theme,t.props.opts),t.getEchartsInstance().on("finished",function(){var r=t.ele.clientWidth,i=t.ele.clientHeight;t.echarts.dispose(t.ele);var o=(0,n.Cl)({width:r,height:i},t.props.opts);e(t.echarts.init(t.ele,t.props.theme,o))})})]})})},e.prototype.getEchartsInstance=function(){return this.echarts.getInstanceByDom(this.ele)},e.prototype.dispose=function(){if(this.ele){try{(0,o.clear)(this.ele)}catch(t){console.warn(t)}this.echarts.dispose(this.ele)}},e.prototype.renderNewEcharts=function(){return(0,n.sH)(this,void 0,void 0,function(){var t,e,r,i,a,l,u=this;return(0,n.YH)(this,function(n){switch(n.label){case 0:return e=(t=this.props).onEvents,r=t.onChartReady,a=void 0===(i=t.autoResize)||i,[4,this.initEchartsInstance()];case 1:return n.sent(),l=this.updateEChartsOption(),this.bindEvents(l,e||{}),s(r)&&r(l),this.ele&&a&&(0,o.bind)(this.ele,function(){u.resize()}),[2]}})})},e.prototype.bindEvents=function(t,e){var r=this,n=function(e,n){if("string"==typeof e&&s(n)){var i=function(e){n(e,t)};t.on(e,i),r.eventHandlerRefs[e]=i}};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n(i,e[i])},e.prototype.unbindEvents=function(t){for(var e=0,r=Object.entries(this.eventHandlerRefs);e<r.length;e++){var n=r[e],i=n[0],o=n[1];t.off(i,o)}this.eventHandlerRefs={}},e.prototype.updateEChartsOption=function(){var t=this.props,e=t.option,r=t.notMerge,n=t.replaceMerge,i=t.lazyUpdate,o=t.showLoading,a=t.loadingOption,s=this.getEchartsInstance();return s.setOption(e,{notMerge:void 0!==r&&r,replaceMerge:void 0===n?null:n,lazyUpdate:void 0!==i&&i}),o?s.showLoading(void 0===a?null:a):s.hideLoading(),s},e.prototype.resize=function(){var t=this.getEchartsInstance();if(!this.isInitialResize)try{t.resize({width:"auto",height:"auto"})}catch(t){console.warn(t)}this.isInitialResize=!1},e.prototype.render=function(){var t=this,e=this.props,r=e.style,o=e.className,a=(e.echarts,e.option,e.theme,e.notMerge,e.replaceMerge,e.lazyUpdate,e.showLoading,e.loadingOption,e.opts,e.onChartReady,e.onEvents,e.shouldSetOption,e.autoResize,(0,n.Tt)(e,["style","className","echarts","option","theme","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption","opts","onChartReady","onEvents","shouldSetOption","autoResize"])),s=(0,n.Cl)({height:300},r);return i.createElement("div",(0,n.Cl)({ref:function(e){t.ele=e},style:s,className:"echarts-for-react ".concat(void 0===o?"":o)},a))},e}(i.PureComponent)},39886(t){"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},38004(t){"use strict";t.exports=EvalError},41488(t){"use strict";t.exports=Error},96469(t){"use strict";t.exports=RangeError},12557(t){"use strict";t.exports=ReferenceError},63429(t){"use strict";t.exports=SyntaxError},71102(t){"use strict";t.exports=TypeError},85966(t){"use strict";t.exports=URIError},25153(t){"use strict";t.exports=Object},86505(t){function e(t){if(!t)return"";if(!/\r/.test(t))return t;for(t=t.replace(/\r+\n/gm,"\n");/\r./.test(t);)t=t.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm,function(t,e,r){return r+e.slice(r.length)});return t}function r(t){if(!/\r/.test(t))return t;for(var e=t.split("\r"),r=[];e.length>0;){var n=function(t){for(var e=0,r=0;r<t.length;r++)t[e].length<=t[r].length&&(e=r);return e}(e);r.push(e[n]),e=e.slice(n+1)}return r.join("\r")}t.exports=e,t.exports.escapeCarriageReturn=e,t.exports.escapeCarriageReturnSafe=function(t){if(!t)return"";if(!/\r/.test(t))return t;if(!/\n/.test(t))return r(t);var n=(t=t.replace(/\r+\n/gm,"\n")).lastIndexOf("\n");return e(t.slice(0,n))+"\n"+r(t.slice(n+1))}},80381(t){"use strict";var e,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};e=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise(function(r,n){var i,o,a;function s(r){t.removeListener(e,l),n(r)}function l(){"function"==typeof t.removeListener&&t.removeListener("error",s),r([].slice.call(arguments))}g(t,e,l,{once:!0}),"error"!==e&&(i=t,o=s,a={once:!0},"function"==typeof i.on&&g(i,"error",o,a))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function u(t,e,r,n){if(s(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),void 0===a)a=o[e]=r,++t._eventsCount;else if("function"==typeof a?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(t))>0&&a.length>i&&!a.warned){a.warned=!0;var i,o,a,u=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,console&&console.warn&&console.warn(u)}return t}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function f(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):d(i,i.length)}function p(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function d(t,e){for(var r=Array(e),n=0;n<e;++n)r[n]=t[n];return r}function g(t,e,r,n){if("function"==typeof t.on)n.once?t.once(e,r):t.on(e,r);else if("function"==typeof t.addEventListener)t.addEventListener(e,function i(o){n.once&&t.removeEventListener(e,i),r(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"==typeof l)n(l,this,e);else for(var u=l.length,c=d(l,u),r=0;r<u;++r)n(c[r],this,e);return!0},o.prototype.addListener=function(t,e){return u(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return u(this,t,e,!0)},o.prototype.once=function(t,e){return s(e),this.on(t,h(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,h(this,t,e)),this},o.prototype.removeListener=function(t,e){var r,n,i,o,a;if(s(e),void 0===(n=this._events)||void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0==arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):p.call(t,e)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},67371(t){"use strict";t.exports=function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;if(Array.isArray(e)){if((n=e.length)!=r.length)return!1;for(i=n;0!=i--;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var n,i,o,a=o[i];if(!t(e[a],r[a]))return!1}return!0}return e!=e&&r!=r}},14086(t,e,r){"use strict";var n=r(22956),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,a=function(t,e,r){for(var n=0,i=t.length;n<i;n++)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))},s=function(t,e,r){for(var n=0,i=t.length;n<i;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)},l=function(t,e,r){for(var n in t)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))};t.exports=function(t,e,r){var o;if(!n(e))throw TypeError("iterator must be a function");arguments.length>=3&&(o=r),"[object Array]"===i.call(t)?a(t,e,o):"string"==typeof t?s(t,e,o):l(t,e,o)}},69992(t){"use strict";var e=Object.prototype.toString,r=Math.max,n=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var i=0;i<e.length;i+=1)r[i+t.length]=e[i];return r},i=function(t,e){for(var r=[],n=e||0,i=0;n<t.length;n+=1,i+=1)r[i]=t[n];return r},o=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};t.exports=function(t){var a,s=this;if("function"!=typeof s||"[object Function]"!==e.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=r(0,s.length-l.length),c=[],h=0;h<u;h++)c[h]="$"+h;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var e=s.apply(this,n(l,arguments));return Object(e)===e?e:this}return s.apply(t,n(l,arguments))}),s.prototype){var f=function(){};f.prototype=s.prototype,a.prototype=new f,f.prototype=null}return a}},79524(t,e,r){"use strict";var n=r(69992);t.exports=Function.prototype.bind||n},49336(t,e,r){"use strict";var n,i=r(25153),o=r(41488),a=r(38004),s=r(96469),l=r(12557),u=r(63429),c=r(71102),h=r(85966),f=r(77412),p=r(52418),d=r(57958),g=r(47384),y=r(250),v=r(51844),m=r(47279),_=Function,b=function(t){try{return _('"use strict"; return ('+t+").constructor;")()}catch(t){}},x=r(25667),w=r(39886),S=function(){throw new c},A=x?function(){try{return arguments.callee,S}catch(t){try{return x(arguments,"callee").get}catch(t){return S}}}():S,M=r(21514)(),k=r(14252),T=r(23752),C=r(60248),O=r(64811),E=r(46255),I={},D="u">typeof Uint8Array&&k?k(Uint8Array):n,R={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":M&&k?k([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":I,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M&&k?k(k([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&M&&k?k(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&M&&k?k(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M&&k?k(""[Symbol.iterator]()):n,"%Symbol%":M?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":A,"%TypedArray%":D,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":h,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":E,"%Function.prototype.apply%":O,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":T,"%Math.abs%":f,"%Math.floor%":p,"%Math.max%":d,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":v,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(k)try{null.error}catch(t){var L=k(k(t));R["%Error.prototype%"]=L}var P=function t(e){var r;if("%AsyncFunction%"===e)r=b("async function () {}");else if("%GeneratorFunction%"===e)r=b("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=b("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&k&&(r=k(i.prototype))}return R[e]=r,r},B={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=r(79524),N=r(75630),z=F.call(E,Array.prototype.concat),j=F.call(O,Array.prototype.splice),H=F.call(E,String.prototype.replace),V=F.call(E,String.prototype.slice),U=F.call(E,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,q=/\\(\\)?/g,Z=function(t){var e=V(t,0,1),r=V(t,-1);if("%"===e&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return H(t,W,function(t,e,r,i){n[n.length]=r?H(i,q,"$1"):e||t}),n},G=function(t,e){var r,n=t;if(N(B,n)&&(n="%"+(r=B[n])[0]+"%"),N(R,n)){var i=R[n];if(i===I&&(i=P(n)),void 0===i&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=Z(t),n=r.length>0?r[0]:"",i=G("%"+n+"%",e),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],j(r,z([0,1],l)));for(var h=1,f=!0;h<r.length;h+=1){var p=r[h],d=V(p,0,1),g=V(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===g||"'"===g||"`"===g)&&d!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&f||(s=!0),n+="."+p,N(R,o="%"+n+"%"))a=R[o];else if(null!=a){if(!(p in a)){if(!e)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(x&&h+1>=r.length){var y=x(a,p);a=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else f=N(a,p),a=a[p];f&&!s&&(R[o]=a)}}return a}},23752(t,e,r){"use strict";t.exports=r(25153).getPrototypeOf||null},60248(t){"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},14252(t,e,r){"use strict";var n=r(60248),i=r(23752),o=r(57678);t.exports=n?function(t){return n(t)}:i?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return i(t)}:o?function(t){return o(t)}:null},51333(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},25667(t,e,r){"use strict";var n=r(51333);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},491(t,e,r){"use strict";var n=r(39886),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},21514(t,e,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(9712);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},9712(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},77185(t,e,r){"use strict";var n=r(9712);t.exports=function(){return n()&&!!Symbol.toStringTag}},75630(t,e,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;t.exports=r(79524).call(n,i)},63328(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,h=r?i-1:0,f=r?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=u}return(p?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,f=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,g=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+h>=1?e+=f/l:e+=f*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+p]=255&a,p+=d,a/=256,u-=8);t[r+p-d]|=128*g}},91193(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},56531(t,e,r){"use strict";var n=r(77185)(),i=r(98801)("Object.prototype.toString"),o=function(t){return(!n||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===i(t)},a=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i(t)&&"callee"in t&&"[object Function]"===i(t.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},22956(t){"use strict";var e,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i(function(){throw 42},null,e)}catch(t){t!==r&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(t){try{var e=n.call(t);return o.test(e)}catch(t){return!1}},s=function(t){try{if(a(t))return!1;return n.call(t),!0}catch(t){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var f=document.all;l.call(f)===l.call(document.all)&&(h=function(t){if((c||!t)&&(void 0===t||"object"==typeof t))try{var e=l.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=i?function(t){if(h(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;try{i(t,null,e)}catch(t){if(t!==r)return!1}return!a(t)&&s(t)}:function(t){if(h(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;if(u)return s(t);if(a(t))return!1;var e=l.call(t);return("[object Function]"===e||"[object GeneratorFunction]"===e||!!/^\[object HTML/.test(e))&&s(t)}},94204(t,e,r){"use strict";var n,i=r(98801),o=r(43282)(/^\s*(?:function)?\*/),a=r(77185)(),s=r(14252),l=i("Object.prototype.toString"),u=i("Function.prototype.toString"),c=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}};t.exports=function(t){if("function"!=typeof t)return!1;if(o(u(t)))return!0;if(!a)return"[object GeneratorFunction]"===l(t);if(!s)return!1;if(void 0===n){var e=c();n=!!e&&s(e)}return s(t)===n}},84770(t){"use strict";t.exports=function(t){return t!=t}},14954(t,e,r){"use strict";var n=r(17695),i=r(4938),o=r(84770),a=r(2219),s=r(54445),l=n(a(),Number);i(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},2219(t,e,r){"use strict";var n=r(84770);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},54445(t,e,r){"use strict";var n=r(4938),i=r(2219);t.exports=function(){var t=i();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},10092(t,e,r){"use strict";var n,i=r(98801),o=r(77185)(),a=r(75630),s=r(25667);if(o){var l=i("RegExp.prototype.exec"),u={},c=function(){throw u},h={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(h[Symbol.toPrimitive]=c),n=function(t){if(!t||"object"!=typeof t)return!1;var e=s(t,"lastIndex");if(!(e&&a(e,"value")))return!1;try{l(t,h)}catch(t){return t===u}}}else{var f=i("Object.prototype.toString");n=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"[object RegExp]"===f(t)}}t.exports=n},40006(t,e,r){"use strict";var n=r(19033);t.exports=function(t){return!!n(t)}},56598(t,e,r){"use strict";function n(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){e&&Object.keys(e).forEach(function(r){t[r]=e[r]})}),t}function i(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===i(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(t,e,r){var n=t.slice(e);return(r.re.http||(r.re.http=RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n))?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return(r.re.no_http||(r.re.no_http=RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n))?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function c(){return function(t,e){e.normalize(t)}}function h(t){var e=t.re=r(40869)(t.__opts__),n=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var l=[];function u(t,e){throw Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var r=t.__schemas__[e];if(null!==r){var n,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===i(r)){"[object RegExp]"===i(r.validate)?(n=r.validate,a.validate=function(t,e){var r=t.slice(e);return n.test(r)?r.match(n)[0].length:0}):o(r.validate)?a.validate=r.validate:u(e,r),o(r.normalize)?a.normalize=r.normalize:r.normalize?u(e,r):a.normalize=c();return}if("[object String]"===i(r))return void l.push(e);u(e,r)}}),l.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:c()};var h=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),t.__index__=-1,t.__text_cache__=""}function f(t,e){var r=t.__index__,n=t.__last_index__,i=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=i,this.text=i,this.url=i}function p(t,e){var r=new f(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function d(t,e){if(!(this instanceof d))return new d(t,e);!e&&Object.keys(t||{}).reduce(function(t,e){return t||s.hasOwnProperty(e)},!1)&&(e=t,t={}),this.__opts__=n({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},l,t),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},h(this)}d.prototype.add=function(t,e){return this.__schemas__[t]=e,h(this),this},d.prototype.set=function(t){return this.__opts__=n(this.__opts__,t),this},d.prototype.test=function(t){var e,r,n,i,o,a,s,l;if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;if(this.re.schema_test.test(t)){for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(i=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&null!==(n=t.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(t){return this.re.pretest.test(t)},d.prototype.testSchemaAt=function(t,e,r){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,r,this):0},d.prototype.match=function(t){var e=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(p(this,e)),e=this.__last_index__);for(var n=e?t.slice(e):t;this.test(n);)r.push(p(this,e)),n=n.slice(this.__last_index__),e+=this.__last_index__;return r.length?r:null},d.prototype.tlds=function(t,e){return(t=Array.isArray(t)?t:[t],e)?this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,r){return t!==r[e-1]}).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),h(this),this},d.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},d.prototype.onCompile=function(){},t.exports=d},40869(t,e,r){"use strict";t.exports=function(t){var e={};e.src_Any=r(17571).source,e.src_Cc=r(62552).source,e.src_Z=r(31106).source,e.src_P=r(99828).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+").|;(?!"+e.src_ZCc+").|\\!+(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},77412(t){"use strict";t.exports=Math.abs},52418(t){"use strict";t.exports=Math.floor},19313(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},57958(t){"use strict";t.exports=Math.max},47384(t){"use strict";t.exports=Math.min},250(t){"use strict";t.exports=Math.pow},51844(t){"use strict";t.exports=Math.round},47279(t,e,r){"use strict";var n=r(19313);t.exports=function(t){return n(t)||0===t?t:t<0?-1:1}},30656(t){"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:!!(t===r||e(t)&&e(r))}},19068(t,e,r){"use strict";var n=r(4938),i=r(17695),o=r(30656),a=r(12197),s=r(49235),l=i(a(),Object);n(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},12197(t,e,r){"use strict";var n=r(30656);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},49235(t,e,r){"use strict";var n=r(12197),i=r(4938);t.exports=function(){var t=n();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},25717(t,e,r){"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(14635),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(t){var e=t.constructor;return e&&e.prototype===t},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("u"<typeof window)return!1;for(var t in window)try{if(!f["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{h(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),d=function(t){if("u"<typeof window||!p)return h(t);try{return h(t)}catch(t){return!1}};n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),n=a(t),s=e&&"[object String]"===o.call(t),h=[];if(!e&&!r&&!n)throw TypeError("Object.keys called on a non-object");var f=u&&r;if(s&&t.length>0&&!i.call(t,0))for(var p=0;p<t.length;++p)h.push(String(p));if(n&&t.length>0)for(var g=0;g<t.length;++g)h.push(String(g));else for(var y in t)!(f&&"prototype"===y)&&i.call(t,y)&&h.push(String(y));if(l)for(var v=d(t),m=0;m<c.length;++m)!(v&&"constructor"===c[m])&&i.call(t,c[m])&&h.push(c[m]);return h}}t.exports=n},5187(t,e,r){"use strict";var n=Array.prototype.slice,i=r(14635),o=Object.keys,a=o?function(t){return o(t)}:r(25717),s=Object.keys;a.shim=function(){return Object.keys?!function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)&&(Object.keys=function(t){return i(t)?s(n.call(t)):s(t)}):Object.keys=a,Object.keys||a},t.exports=a},14635(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},1924(t,e,r){"use strict";var n=r(5187),i=r(9712)(),o=r(98801),a=r(25153),s=o("Array.prototype.push"),l=o("Object.prototype.propertyIsEnumerable"),u=i?a.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw TypeError("target must be an object");var r=a(t);if(1==arguments.length)return r;for(var o=1;o<arguments.length;++o){var c=a(arguments[o]),h=n(c),f=i&&(a.getOwnPropertySymbols||u);if(f)for(var p=f(c),d=0;d<p.length;++d){var g=p[d];l(c,g)&&s(h,g)}for(var y=0;y<h.length;++y){var v=h[y];if(l(c,v)){var m=c[v];r[v]=m}}}return r}},43921(t,e,r){"use strict";var n=r(1924),i=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),r={},n=0;n<e.length;++n)r[e[n]]=e[n];var i=Object.assign({},r),o="";for(var a in i)o+=a;return t!==o},o=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}return!1};t.exports=function(){return!Object.assign||i()||o()?n:Object.assign}},35207(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"u">typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"u">typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},50020(t,e){"use strict";var r="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)return void t.set(e.subarray(r,r+n),i);for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){var e,r,n,i,o,a;for(e=0,n=0,r=t.length;e<r;e++)n+=t[e].length;for(e=0,a=new Uint8Array(n),i=0,r=t.length;e<r;e++)o=t[e],a.set(o,i),i+=o.length;return a}},i={arraySet:function(t,e,r,n,i){for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(r)},81356(t){"use strict";t.exports=function(t,e,r,n){for(var i=65535&t,o=t>>>16&65535,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do o=o+(i=i+e[n++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16}},10756(t){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},49910(t){"use strict";var e=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?0xedb88320^t>>>1:t>>>1;e[r]=t}return e}();t.exports=function(t,r,n,i){var o=i+n;t^=-1;for(var a=i;a<o;a++)t=t>>>8^e[(t^r[a])&255];return -1^t}},78250(t,e,r){"use strict";var n,i=r(50020),o=r(9984),a=r(81356),s=r(49910),l=r(5317),u=573;function c(t,e){return t.msg=l[e],e}function h(t){return(t<<1)-9*(t>4)}function f(t){for(var e=t.length;--e>=0;)t[e]=0}function p(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function d(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,p(t.strm)}function g(t,e){t.pending_buf[t.pending++]=e}function y(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function v(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,u=t.window,c=t.w_mask,h=t.prev,f=t.strstart+258,p=u[o+a-1],d=u[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(r=e)+a]!==d||u[r+a-1]!==p||u[r]!==u[o]||u[++r]!==u[o+1])continue;o+=2,r++;do;while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<f);if(n=258-(f-o),o=f-258,n>a){if(t.match_start=e,a=n,n>=s)break;p=u[o+a-1],d=u[o+a]}}while((e=h[e&c])>l&&0!=--i);return a<=t.lookahead?a:t.lookahead}function m(t){var e,r,n,o,l,u=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=u+(u-262)){i.arraySet(t.window,t.window,u,u,0),t.match_start-=u,t.strstart-=u,t.block_start-=u,e=r=t.hash_size;do n=t.head[--e],t.head[e]=n>=u?n-u:0;while(--r);e=r=u;do n=t.prev[--e],t.prev[e]=n>=u?n-u:0;while(--r);o+=u}if(0===t.strm.avail_in)break;if(r=function(t,e,r,n){var o=t.avail_in;return(o>n&&(o=n),0===o)?0:(t.avail_in-=o,i.arraySet(e,t.input,t.next_in,o,r),1===t.state.wrap?t.adler=a(t.adler,e,o,r):2===t.state.wrap&&(t.adler=s(t.adler,e,o,r)),t.next_in+=o,t.total_in+=o,o)}(t.strm,t.window,t.strstart+t.lookahead,o),t.lookahead+=r,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+3-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function _(t,e){for(var r,n;;){if(t.lookahead<262){if(m(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=v(t,r)),t.match_length>=3)if(n=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(d(t,!1),0===t.strm.avail_out))return 1}return(t.insert=t.strstart<2?t.strstart:2,4===e)?(d(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function b(t,e){for(var r,n,i;;){if(t.lookahead<262){if(m(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=v(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(d(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=o._tr_tally(t,0,t.window[t.strstart-1]))&&d(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return(t.match_available&&(n=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e)?(d(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function x(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*u),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=+(2!==e.wrap),e.last_flush=0,o._tr_init(e),0):c(t,-2)}function A(t){var e,r=S(t);return 0===r&&((e=t.state).window_size=2*e.w_size,f(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function M(t,e,r,n,o,a){if(!t)return -2;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),o<1||o>9||8!==r||n<8||n>15||e<0||e>9||a<0||a>4)return c(t,-2);8===n&&(n=9);var l=new w;return t.state=l,l.strm=t,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=r,A(t)}n=[new x(0,0,0,0,function(t,e){var r=65535;for(65535>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(m(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,d(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(d(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(d(t,!0),0===t.strm.avail_out)?3:4:(t.strstart>t.block_start&&(d(t,!1),t.strm.avail_out),1)}),new x(4,4,8,4,_),new x(4,5,16,8,_),new x(4,6,32,32,_),new x(4,4,16,16,b),new x(8,16,32,32,b),new x(8,16,128,128,b),new x(8,32,128,256,b),new x(32,128,258,1024,b),new x(32,258,258,4096,b)],e.deflateInit=function(t,e){return M(t,e,8,15,8,0)},e.deflateInit2=M,e.deflateReset=A,e.deflateResetKeep=S,e.deflateSetHeader=function(t,e){return t&&t.state&&2===t.state.wrap?(t.state.gzhead=e,0):-2},e.deflate=function(t,e){if(!t||!t.state||e>5||e<0)return t?c(t,-2):-2;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return c(t,0===t.avail_out?-5:-2);if(i.strm=t,r=i.last_flush,i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,g(i,31),g(i,139),g(i,8),i.gzhead?(g(i,+!!i.gzhead.text+2*!!i.gzhead.hcrc+4*!!i.gzhead.extra+8*!!i.gzhead.name+16*!!i.gzhead.comment),g(i,255&i.gzhead.time),g(i,i.gzhead.time>>8&255),g(i,i.gzhead.time>>16&255),g(i,i.gzhead.time>>24&255),g(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),g(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(g(i,255&i.gzhead.extra.length),g(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(g(i,0),g(i,0),g(i,0),g(i,0),g(i,0),g(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),g(i,3),i.status=113);else{var r,i,a,l,u=8+(i.w_bits-8<<4)<<8;u|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(u|=32),u+=31-u%31,i.status=113,y(i,u),0!==i.strstart&&(y(i,t.adler>>>16),y(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),p(t),a=i.pending,i.pending!==i.pending_buf_size));)g(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),p(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,g(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),p(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,g(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&p(t),i.pending+2<=i.pending_buf_size&&(g(i,255&t.adler),g(i,t.adler>>8&255),t.adler=0,i.status=113)):i.status=113),0!==i.pending){if(p(t),0===t.avail_out)return i.last_flush=-1,0}else if(0===t.avail_in&&h(e)<=h(r)&&4!==e)return c(t,-5);if(666===i.status&&0!==t.avail_in)return c(t,-5);if(0!==t.avail_in||0!==i.lookahead||0!==e&&666!==i.status){var v=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(m(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(d(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(d(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=258){if(m(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+258;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(d(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(d(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):n[i.level].func(i,e);if((3===v||4===v)&&(i.status=666),1===v||3===v)return 0===t.avail_out&&(i.last_flush=-1),0;if(2===v&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),p(t),0===t.avail_out))return i.last_flush=-1,0}return 4!==e?0:i.wrap<=0?1:(2===i.wrap?(g(i,255&t.adler),g(i,t.adler>>8&255),g(i,t.adler>>16&255),g(i,t.adler>>24&255),g(i,255&t.total_in),g(i,t.total_in>>8&255),g(i,t.total_in>>16&255),g(i,t.total_in>>24&255)):(y(i,t.adler>>>16),y(i,65535&t.adler)),p(t),i.wrap>0&&(i.wrap=-i.wrap),+(0===i.pending))},e.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?c(t,-2):(t.state=null,113===e?c(t,-3):0):-2},e.deflateSetDictionary=function(t,e){var r,n,o,s,l,u,c,h,p=e.length;if(!t||!t.state||2===(s=(r=t.state).wrap)||1===s&&42!==r.status||r.lookahead)return -2;for(1===s&&(t.adler=a(t.adler,e,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,e,p-r.w_size,r.w_size,0),e=h,p=r.w_size),l=t.avail_in,u=t.next_in,c=t.input,t.avail_in=p,t.next_in=0,t.input=e,m(r);r.lookahead>=3;){n=r.strstart,o=r.lookahead-2;do r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++;while(--o);r.strstart=n,r.lookahead=2,m(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=u,t.input=c,t.avail_in=l,r.wrap=s,0},e.deflateInfo="pako deflate (from Nodeca project)"},15436(t){"use strict";t.exports=function(t,e){var r,n,i,o,a,s,l,u,c,h,f,p,d,g,y,v,m,_,b,x,w,S,A,M,k;r=t.state,n=t.next_in,M=t.input,i=n+(t.avail_in-5),o=t.next_out,k=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,h=r.wnext,f=r.window,p=r.hold,d=r.bits,g=r.lencode,y=r.distcode,v=(1<<r.lenbits)-1,m=(1<<r.distbits)-1;t:do for(d<15&&(p+=M[n++]<<d,d+=8,p+=M[n++]<<d,d+=8),_=g[p&v];;){if(p>>>=b=_>>>24,d-=b,0==(b=_>>>16&255))k[o++]=65535&_;else if(16&b)for(x=65535&_,(b&=15)&&(d<b&&(p+=M[n++]<<d,d+=8),x+=p&(1<<b)-1,p>>>=b,d-=b),d<15&&(p+=M[n++]<<d,d+=8,p+=M[n++]<<d,d+=8),_=y[p&m];;){if(p>>>=b=_>>>24,d-=b,16&(b=_>>>16&255)){if(w=65535&_,d<(b&=15)&&(p+=M[n++]<<d,(d+=8)<b&&(p+=M[n++]<<d,d+=8)),(w+=p&(1<<b)-1)>l){t.msg="invalid distance too far back",r.mode=30;break t}if(p>>>=b,d-=b,w>(b=o-a)){if((b=w-b)>c&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(S=0,A=f,0===h){if(S+=u-b,b<x){x-=b;do k[o++]=f[S++];while(--b);S=o-w,A=k}}else if(h<b){if(S+=u+h-b,(b-=h)<x){x-=b;do k[o++]=f[S++];while(--b);if(S=0,h<x){x-=b=h;do k[o++]=f[S++];while(--b);S=o-w,A=k}}}else if(S+=h-b,b<x){x-=b;do k[o++]=f[S++];while(--b);S=o-w,A=k}for(;x>2;)k[o++]=A[S++],k[o++]=A[S++],k[o++]=A[S++],x-=3;x&&(k[o++]=A[S++],x>1&&(k[o++]=A[S++]))}else{S=o-w;do k[o++]=k[S++],k[o++]=k[S++],k[o++]=k[S++],x-=3;while(x>2);x&&(k[o++]=k[S++],x>1&&(k[o++]=k[S++]))}}else if((64&b)==0){_=y[(65535&_)+(p&(1<<b)-1)];continue}else{t.msg="invalid distance code",r.mode=30;break t}break}else if((64&b)==0){_=g[(65535&_)+(p&(1<<b)-1)];continue}else if(32&b){r.mode=12;break t}else{t.msg="invalid literal/length code",r.mode=30;break t}break}while(n<i&&o<s);n-=x=d>>3,d-=x<<3,p&=(1<<d)-1,t.next_in=n,t.next_out=o,t.avail_in=n<i?5+(i-n):5-(n-i),t.avail_out=o<s?257+(s-o):257-(o-s),r.hold=p,r.bits=d}},81090(t,e,r){"use strict";var n,i,o=r(50020),a=r(81356),s=r(49910),l=r(15436),u=r(4805);function c(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new o.Buf32(852),e.distcode=e.distdyn=new o.Buf32(592),e.sane=1,e.back=-1,0):-2}function p(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,f(t)):-2}function d(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15))?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,p(t)):-2}function g(t,e){var r,n;return t?(t.state=n=new h,n.window=null,0!==(r=d(t,e))&&(t.state=null),r):-2}var y=!0;function v(t,e,r,n){var i,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new o.Buf8(a.wsize)),n>=a.wsize?(o.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),o.arraySet(a.window,e,r-n,i,a.wnext),(n-=i)?(o.arraySet(a.window,e,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}e.inflateReset=p,e.inflateReset2=d,e.inflateResetKeep=f,e.inflateInit=function(t){return g(t,15)},e.inflateInit2=g,e.inflate=function(t,e){var r,h,f,p,d,g,m,_,b,x,w,S,A,M,k,T,C,O,E,I,D,R,L,P,B=0,F=new o.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return -2;12===(r=t.state).mode&&(r.mode=13),d=t.next_out,f=t.output,m=t.avail_out,p=t.next_in,h=t.input,g=t.avail_in,_=r.hold,b=r.bits,x=g,w=m,R=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;b<16;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(2&r.wrap&&35615===_){r.check=0,F[0]=255&_,F[1]=_>>>8&255,r.check=s(r.check,F,2,0),_=0,b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&_)<<8)+(_>>8))%31){t.msg="incorrect header check",r.mode=30;break}if((15&_)!=8){t.msg="unknown compression method",r.mode=30;break}if(_>>>=4,b-=4,D=(15&_)+8,0===r.wbits)r.wbits=D;else if(D>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<D,t.adler=r.check=1,r.mode=512&_?10:12,_=0,b=0;break;case 2:for(;b<16;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(r.flags=_,(255&r.flags)!=8){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=_>>8&1),512&r.flags&&(F[0]=255&_,F[1]=_>>>8&255,r.check=s(r.check,F,2,0)),_=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}r.head&&(r.head.time=_),512&r.flags&&(F[0]=255&_,F[1]=_>>>8&255,F[2]=_>>>16&255,F[3]=_>>>24&255,r.check=s(r.check,F,4,0)),_=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}r.head&&(r.head.xflags=255&_,r.head.os=_>>8),512&r.flags&&(F[0]=255&_,F[1]=_>>>8&255,r.check=s(r.check,F,2,0)),_=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}r.length=_,r.head&&(r.head.extra_len=_),512&r.flags&&(F[0]=255&_,F[1]=_>>>8&255,r.check=s(r.check,F,2,0)),_=0,b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>g&&(S=g),S&&(r.head&&(D=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),o.arraySet(r.head.extra,h,p,S,D)),512&r.flags&&(r.check=s(r.check,h,S,p)),g-=S,p+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break e;S=0;do D=h[p+S++],r.head&&D&&r.length<65536&&(r.head.name+=String.fromCharCode(D));while(D&&S<g);if(512&r.flags&&(r.check=s(r.check,h,S,p)),g-=S,p+=S,D)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break e;S=0;do D=h[p+S++],r.head&&D&&r.length<65536&&(r.head.comment+=String.fromCharCode(D));while(D&&S<g);if(512&r.flags&&(r.check=s(r.check,h,S,p)),g-=S,p+=S,D)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;b<16;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(_!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}_=0,b=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;b<32;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}t.adler=r.check=c(_),_=0,b=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=d,t.avail_out=m,t.next_in=p,t.avail_in=g,r.hold=_,r.bits=b,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break e;case 13:if(r.last){_>>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}switch(r.last=1&_,b-=1,3&(_>>>=1)){case 0:r.mode=14;break;case 1:if(!function(t){if(y){var e;for(n=new o.Buf32(512),i=new o.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(u(1,t.lens,0,288,n,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;u(2,t.lens,0,32,i,0,t.work,{bits:5}),y=!1}t.lencode=n,t.lenbits=9,t.distcode=i,t.distbits=5}(r),r.mode=20,6===e){_>>>=2,b-=2;break e}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}_>>>=2,b-=2;break;case 14:for(_>>>=7&b,b-=7&b;b<32;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if((65535&_)!=(_>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&_,_=0,b=0,r.mode=15,6===e)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>g&&(S=g),S>m&&(S=m),0===S)break e;o.arraySet(f,h,p,S,d),g-=S,p+=S,m-=S,d+=S,r.length-=S;break}r.mode=12;break;case 17:for(;b<14;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(r.nlen=(31&_)+257,b-=5,r.ndist=(31&(_>>>=5))+1,b-=5,r.ncode=(15&(_>>>=5))+4,_>>>=4,b-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;b<3;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}r.lens[N[r.have++]]=7&_,_>>>=3,b-=3}for(;r.have<19;)r.lens[N[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,L={bits:r.lenbits},R=u(0,r.lens,0,19,r.lencode,0,r.work,L),r.lenbits=L.bits,R){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;k=(B=r.lencode[_&(1<<r.lenbits)-1])>>>24,T=B>>>16&255,C=65535&B,!(k<=b);){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(C<16)_>>>=k,b-=k,r.lens[r.have++]=C;else{if(16===C){for(P=k+2;b<P;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(_>>>=k,b-=k,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}D=r.lens[r.have-1],S=3+(3&_),_>>>=2,b-=2}else if(17===C){for(P=k+3;b<P;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}_>>>=k,b-=k,D=0,S=3+(7&_),_>>>=3,b-=3}else{for(P=k+7;b<P;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}_>>>=k,b-=k,D=0,S=11+(127&_),_>>>=7,b-=7}if(r.have+S>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=D}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,L={bits:r.lenbits},R=u(1,r.lens,0,r.nlen,r.lencode,0,r.work,L),r.lenbits=L.bits,R){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,L={bits:r.distbits},R=u(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,L),r.distbits=L.bits,R){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break e;case 20:r.mode=21;case 21:if(g>=6&&m>=258){t.next_out=d,t.avail_out=m,t.next_in=p,t.avail_in=g,r.hold=_,r.bits=b,l(t,w),d=t.next_out,f=t.output,m=t.avail_out,p=t.next_in,h=t.input,g=t.avail_in,_=r.hold,b=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;k=(B=r.lencode[_&(1<<r.lenbits)-1])>>>24,T=B>>>16&255,C=65535&B,!(k<=b);){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(T&&(240&T)==0){for(O=k,E=T,I=C;k=(B=r.lencode[I+((_&(1<<O+E)-1)>>O)])>>>24,T=B>>>16&255,C=65535&B,!(O+k<=b);){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}_>>>=O,b-=O,r.back+=O}if(_>>>=k,b-=k,r.back+=k,r.length=C,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(P=r.extra;b<P;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}r.length+=_&(1<<r.extra)-1,_>>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;k=(B=r.distcode[_&(1<<r.distbits)-1])>>>24,T=B>>>16&255,C=65535&B,!(k<=b);){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if((240&T)==0){for(O=k,E=T,I=C;k=(B=r.distcode[I+((_&(1<<O+E)-1)>>O)])>>>24,T=B>>>16&255,C=65535&B,!(O+k<=b);){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}_>>>=O,b-=O,r.back+=O}if(_>>>=k,b-=k,r.back+=k,64&T){t.msg="invalid distance code",r.mode=30;break}r.offset=C,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(P=r.extra;b<P;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}r.offset+=_&(1<<r.extra)-1,_>>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===m)break e;if(S=w-m,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}S>r.wnext?(S-=r.wnext,A=r.wsize-S):A=r.wnext-S,S>r.length&&(S=r.length),M=r.window}else M=f,A=d-r.offset,S=r.length;S>m&&(S=m),m-=S,r.length-=S;do f[d++]=M[A++];while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===m)break e;f[d++]=r.length,m--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===g)break e;g--,_|=h[p++]<<b,b+=8}if(w-=m,t.total_out+=w,r.total+=w,w&&(t.adler=r.check=r.flags?s(r.check,f,w,d-w):a(r.check,f,w,d-w)),w=m,(r.flags?_:c(_))!==r.check){t.msg="incorrect data check",r.mode=30;break}_=0,b=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;b<32;){if(0===g)break e;g--,_+=h[p++]<<b,b+=8}if(_!==(0|r.total)){t.msg="incorrect length check",r.mode=30;break}_=0,b=0}r.mode=29;case 29:R=1;break e;case 30:R=-3;break e;case 31:return -4;default:return -2}return(t.next_out=d,t.avail_out=m,t.next_in=p,t.avail_in=g,r.hold=_,r.bits=b,(r.wsize||w!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&v(t,t.output,t.next_out,w-t.avail_out))?(r.mode=31,-4):(x-=t.avail_in,w-=t.avail_out,t.total_in+=x,t.total_out+=w,r.total+=w,r.wrap&&w&&(t.adler=r.check=r.flags?s(r.check,f,w,t.next_out-w):a(r.check,f,w,t.next_out-w)),t.data_type=r.bits+64*!!r.last+128*(12===r.mode)+256*(20===r.mode||15===r.mode),(0===x&&0===w||4===e)&&0===R&&(R=-5),R)},e.inflateEnd=function(t){if(!t||!t.state)return -2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},e.inflateGetHeader=function(t,e){var r;return t&&t.state&&(2&(r=t.state).wrap)!=0?(r.head=e,e.done=!1,0):-2},e.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state&&(0===(r=t.state).wrap||11===r.mode)?11===r.mode&&a(1,e,n,0)!==r.check?-3:v(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},e.inflateInfo="pako inflate (from Nodeca project)"},4805(t,e,r){"use strict";var n=r(50020),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,r,l,u,c,h,f){var p,d,g,y,v,m,_,b,x,w=f.bits,S=0,A=0,M=0,k=0,T=0,C=0,O=0,E=0,I=0,D=0,R=null,L=0,P=new n.Buf16(16),B=new n.Buf16(16),F=null,N=0;for(S=0;S<=15;S++)P[S]=0;for(A=0;A<l;A++)P[e[r+A]]++;for(k=15,T=w;k>=1&&0===P[k];k--);if(T>k&&(T=k),0===k)return u[c++]=0x1400000,u[c++]=0x1400000,f.bits=1,0;for(M=1;M<k&&0===P[M];M++);for(T<M&&(T=M),E=1,S=1;S<=15;S++)if(E<<=1,(E-=P[S])<0)return -1;if(E>0&&(0===t||1!==k))return -1;for(S=1,B[1]=0;S<15;S++)B[S+1]=B[S]+P[S];for(A=0;A<l;A++)0!==e[r+A]&&(h[B[e[r+A]]++]=A);if(0===t?(R=F=h,m=19):1===t?(R=i,L-=257,F=o,N-=257,m=256):(R=a,F=s,m=-1),D=0,A=0,S=M,v=c,C=T,O=0,g=-1,y=(I=1<<T)-1,1===t&&I>852||2===t&&I>592)return 1;for(;;){_=S-O,h[A]<m?(b=0,x=h[A]):h[A]>m?(b=F[N+h[A]],x=R[L+h[A]]):(b=96,x=0),p=1<<S-O,M=d=1<<C;do u[v+(D>>O)+(d-=p)]=_<<24|b<<16|x;while(0!==d);for(p=1<<S-1;D&p;)p>>=1;if(0!==p?(D&=p-1,D+=p):D=0,A++,0==--P[S]){if(S===k)break;S=e[r+h[A]]}if(S>T&&(D&y)!==g){for(0===O&&(O=T),v+=M,E=1<<(C=S-O);C+O<k&&!((E-=P[C+O])<=0);)C++,E<<=1;if(I+=1<<C,1===t&&I>852||2===t&&I>592)return 1;u[g=D&y]=T<<24|C<<16|v-c}}return 0!==D&&(u[v+D]=S-O<<24|4194304),f.bits=T,0}},5317(t){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},9984(t,e,r){"use strict";var n,i,o,a=r(50020);function s(t){for(var e=t.length;--e>=0;)t[e]=0}var l=573,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=Array(576);s(p);var d=Array(60);s(d);var g=Array(512);s(g);var y=Array(256);s(y);var v=Array(29);s(v);var m=Array(30);function _(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function b(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function x(t){return t<256?g[t]:g[256+(t>>>7)]}function w(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function A(t,e,r){S(t,r[2*e],r[2*e+1])}function M(t,e){var r=0;do r|=1&t,t>>>=1,r<<=1;while(--e>0);return r>>>1}function k(t,e,r){var n,i,o=Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=M(o[s]++,s))}}function T(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function C(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function O(t,e,r,n){var i=2*e,o=2*r;return t[i]<t[o]||t[i]===t[o]&&n[e]<=n[r]}function E(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&O(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!O(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function I(t,e,r){var n,i,o,a,s=0;if(0!==t.last_lit)do n=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],i=t.pending_buf[t.l_buf+s],s++,0===n?A(t,i,e):(A(t,(o=y[i])+256+1,e),0!==(a=u[o])&&S(t,i-=v[o],a),A(t,o=x(--n),r),0!==(a=c[o])&&S(t,n-=m[o],a));while(s<t.last_lit);A(t,256,e)}function D(t,e){var r,n,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(r=0,t.heap_len=0,t.heap_max=l;r<u;r++)0!==o[2*r]?(t.heap[++t.heap_len]=c=r,t.depth[r]=0):o[2*r+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,r=t.heap_len>>1;r>=1;r--)E(t,o,r);i=u;do r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],E(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*i]=o[2*r]+o[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=i,t.heap[1]=i++,E(t,o,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,o,a,s,u=e.dyn_tree,c=e.max_code,h=e.stat_desc.static_tree,f=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,g=e.stat_desc.max_length,y=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<l;r++)(o=u[2*u[2*(n=t.heap[r])+1]+1]+1)>g&&(o=g,y++),u[2*n+1]=o,!(n>c)&&(t.bl_count[o]++,a=0,n>=d&&(a=p[n-d]),s=u[2*n],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(h[2*n+1]+a)));if(0!==y){do{for(o=g-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[g]--,y-=2}while(y>0);for(o=g;0!==o;o--)for(n=t.bl_count[o];0!==n;)!((i=t.heap[--r])>c)&&(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(t,e),k(o,c,t.bl_count)}function R(t,e,r){var n,i,o=-1,a=e[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),e[(r+1)*2+1]=65535,n=0;n<=r;n++)i=a,a=e[(n+1)*2+1],++s<l&&i===a||(s<u?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function L(t,e,r){var n,i,o=-1,a=e[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=e[(n+1)*2+1],!(++s<l)||i!==a){if(s<u)do A(t,i,t.bl_tree);while(0!=--s);else 0!==i?(i!==o&&(A(t,i,t.bl_tree),s--),A(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(A(t,17,t.bl_tree),S(t,s-3,3)):(A(t,18,t.bl_tree),S(t,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}s(m);var P=!1;function B(t,e,r,n){S(t,0+ +!!n,3),C(t),w(t,r),w(t,~r),a.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}e._tr_init=function(t){P||(!function(){var t,e,r,a,s,l=Array(16);for(a=0,r=0;a<28;a++)for(t=0,v[a]=r;t<1<<u[a];t++)y[r++]=a;for(y[r-1]=a,s=0,a=0;a<16;a++)for(t=0,m[a]=s;t<1<<c[a];t++)g[s++]=a;for(s>>=7;a<30;a++)for(t=0,m[a]=s<<7;t<1<<c[a]-7;t++)g[256+s++]=a;for(e=0;e<=15;e++)l[e]=0;for(t=0;t<=143;)p[2*t+1]=8,t++,l[8]++;for(;t<=255;)p[2*t+1]=9,t++,l[9]++;for(;t<=279;)p[2*t+1]=7,t++,l[7]++;for(;t<=287;)p[2*t+1]=8,t++,l[8]++;for(k(p,287,l),t=0;t<30;t++)d[2*t+1]=5,d[2*t]=M(t,5);n=new _(p,u,257,286,15),i=new _(d,c,0,30,15),o=new _([],h,0,19,7)}(),P=!0),t.l_desc=new b(t.dyn_ltree,n),t.d_desc=new b(t.dyn_dtree,i),t.bl_desc=new b(t.bl_tree,o),t.bi_buf=0,t.bi_valid=0,T(t)},e._tr_stored_block=B,e._tr_flush_block=function(t,e,r,n){var i,o,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=0xf3ffc07f;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),D(t,t.l_desc),D(t,t.d_desc),a=function(t){var e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),D(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==e?B(t,e,r,n):4===t.strategy||o===i?(S(t,2+ +!!n,3),I(t,p,d)):(S(t,4+ +!!n,3),function(t,e,r,n){var i;for(S(t,e-257,5),S(t,r-1,5),S(t,n-4,4),i=0;i<n;i++)S(t,t.bl_tree[2*f[i]+1],3);L(t,t.dyn_ltree,e-1),L(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),I(t,t.dyn_ltree,t.dyn_dtree)),T(t),n&&C(t)},e._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[(y[r]+256+1)*2]++,t.dyn_dtree[2*x(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){S(t,2,3),A(t,256,p),16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},84179(t){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},13078(t,e,r){"use strict";var n=r(85409);function i(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function o(t,e){for(var r,n="",i=0,o=-1,a=0,s=0;s<=t.length;++s){if(s<t.length)r=t.charCodeAt(s);else if(47===r)break;else r=47;if(47===r){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),o=s,a=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=s,a=0;continue}}e&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+t.slice(o+1,s):n=t.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var a={resolve:function(){for(var t,e,r="",a=!1,s=arguments.length-1;s>=-1&&!a;s--)s>=0?e=arguments[s]:(void 0===t&&(t=n.cwd()),e=t),i(e),0!==e.length&&(r=e+"/"+r,a=47===e.charCodeAt(0));if(r=o(r,!a),a)if(r.length>0)return"/"+r;else return"/";return r.length>0?r:"."},normalize:function(t){if(i(t),0===t.length)return".";var e=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return(0!==(t=o(t,!e)).length||e||(t="."),t.length>0&&r&&(t+="/"),e)?"/"+t:t},isAbsolute:function(t){return i(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,e=0;e<arguments.length;++e){var r=arguments[e];i(r),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":a.normalize(t)},relative:function(t,e){if(i(t),i(e),t===e||(t=a.resolve(t))===(e=a.resolve(e)))return"";for(var r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var n=t.length,o=n-r,s=1;s<e.length&&47===e.charCodeAt(s);++s);for(var l=e.length-s,u=o<l?o:l,c=-1,h=0;h<=u;++h){if(h===u){if(l>u){if(47===e.charCodeAt(s+h))return e.slice(s+h+1);else if(0===h)return e.slice(s+h)}else o>u&&(47===t.charCodeAt(r+h)?c=h:0===h&&(c=0));break}var f=t.charCodeAt(r+h);if(f!==e.charCodeAt(s+h))break;47===f&&(c=h)}var p="";for(h=r+c+1;h<=n;++h)(h===n||47===t.charCodeAt(h))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+e.slice(s+c):(s+=c,47===e.charCodeAt(s)&&++s,e.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(i(t),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(e=t.charCodeAt(a))){if(!o){n=a;break}}else o=!1;return -1===n?r?"/":".":r&&1===n?"//":t.slice(0,n)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw TypeError('"ext" argument must be a string');i(t);var r,n=0,o=-1,a=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var s=e.length-1,l=-1;for(r=t.length-1;r>=0;--r){var u=t.charCodeAt(r);if(47===u){if(!a){n=r+1;break}}else -1===l&&(a=!1,l=r+1),s>=0&&(u===e.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return n===o?o=l:-1===o&&(o=t.length),t.slice(n,o)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!a){n=r+1;break}}else -1===o&&(a=!1,o=r+1);return -1===o?"":t.slice(n,o)},extname:function(t){i(t);for(var e=-1,r=0,n=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47===l){if(!o){r=s+1;break}continue}-1===n&&(o=!1,n=s+1),46===l?-1===e?e=s:1!==a&&(a=1):-1!==e&&(a=-1)}return -1===e||-1===n||0===a||1===a&&e===n-1&&e===r+1?"":t.slice(e,n)},format:function(t){var e,r;if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return e=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||""),e?e===t.root?e+r:e+"/"+r:r},parse:function(t){i(t);var e,r={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return r;var n=t.charCodeAt(0),o=47===n;o?(r.root="/",e=1):e=0;for(var a=-1,s=0,l=-1,u=!0,c=t.length-1,h=0;c>=e;--c){if(47===(n=t.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===n?-1===a?a=c:1!==h&&(h=1):-1!==a&&(h=-1)}return -1===a||-1===l||0===h||1===h&&a===l-1&&a===s+1?-1!==l&&(0===s&&o?r.base=r.name=t.slice(1,l):r.base=r.name=t.slice(s,l)):(0===s&&o?(r.name=t.slice(1,a),r.base=t.slice(1,l)):(r.name=t.slice(s,a),r.base=t.slice(s,l)),r.ext=t.slice(a,l)),s>0?r.dir=t.slice(0,s-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,t.exports=a},97142(t){var e=String,r=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};t.exports=r(),t.exports.createColors=r},9773(t){"use strict";t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},85409(t){var e,r,n,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}var l=[],u=!1,c=-1;function h(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&f())}function f(){if(!u){var t=s(h);u=!0;for(var e=l.length;e;){for(n=l,l=[];++c<e;)n&&n[c].run();c=-1,e=l.length}n=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function d(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new p(t,e)),1!==l.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},76682(t,e){"use strict";var r,n=Object.prototype.hasOwnProperty;function i(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){var i,a,s=[];for(a in"string"!=typeof(e=e||"")&&(e="?"),t)if(n.call(t,a)){if(!(i=t[a])&&(null===i||i===r||isNaN(i))&&(i=""),a=o(a),i=o(i),null===a||null===i)continue;s.push(a+"="+i)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,r=/([^=?#&]+)=?([^&]*)/g,n={};e=r.exec(t);){var o=i(e[1]),a=i(e[2]);null===o||null===a||o in n||(n[o]=a)}return n}},20289(t){"use strict";var e={};function r(t,r,n){n||(n=Error);var i=function(t){function e(e,n,i){return t.call(this,"string"==typeof r?r:r(e,n,i))||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,e}(n);i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function n(t,e){if(!Array.isArray(t))return"of ".concat(e," ").concat(String(t));var r=t.length;return(t=t.map(function(t){return String(t)}),r>2)?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}r("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(t,e,r){if("string"==typeof e&&(i="not ",e.substr(0,i.length)===i)?(l="must not be",e=e.replace(/^not /,"")):l="must be",o=" argument",(void 0===a||a>t.length)&&(a=t.length),t.substring(a-o.length,a)===o)u="The ".concat(t," ").concat(l," ").concat(n(e,"type"));else{var i,o,a,s,l,u,c=("number"!=typeof s&&(s=0),s+1>t.length||-1===t.indexOf(".",s))?"argument":"property";u='The "'.concat(t,'" ').concat(c," ").concat(l," ").concat(n(e,"type"))}return u+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=e},35707(t,e,r){"use strict";var n=r(85409),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=c;var o=r(23033),a=r(92553);r(91193)(c,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(t){if(!(this instanceof c))return new c(t);o.call(this,t),a.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||n.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},75271(t,e,r){"use strict";t.exports=i;var n=r(50141);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(91193)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},23033(t,e,r){"use strict";var n,i,o,a,s,l=r(85409);t.exports=M,M.ReadableState=A,r(80381).EventEmitter;var u=function(t,e){return t.listeners(e).length},c=r(82534),h=r(8963).Buffer,f=(void 0!==r.g?r.g:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},p=r(3710);i=p&&p.debuglog?p.debuglog("stream"):function(){};var d=r(70020),g=r(50917),y=r(65750).getHighWaterMark,v=r(20289).codes,m=v.ERR_INVALID_ARG_TYPE,_=v.ERR_STREAM_PUSH_AFTER_EOF,b=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(91193)(M,c);var w=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function A(t,e,i){n=n||r(35707),t=t||{},"boolean"!=typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=y(this,t,"readableHighWaterMark",i),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(o||(o=r(86704).StringDecoder),this.decoder=new o(t.encoding),this.encoding=t.encoding)}function M(t){if(n=n||r(35707),!(this instanceof M))return new M(t);var e=this instanceof n;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function k(t,e,r,n,o){i("readableAddChunk",e);var a,s,l=t._readableState;if(null===e)l.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?O(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,E(t)))}}(t,l);else if(o||(s=function(t,e){var r;return h.isBuffer(e)||e instanceof f||"string"==typeof e||void 0===e||t.objectMode||(r=new m("chunk",["string","Buffer","Uint8Array"],e)),r}(l,e)),s)w(t,s);else if(l.objectMode||e&&e.length>0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===h.prototype||(a=e,e=h.from(a)),n)l.endEmitted?w(t,new x):T(t,l,e,!0);else if(l.ended)w(t,new _);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(e=l.decoder.write(e),l.objectMode||0!==e.length?T(t,l,e,!1):I(t,l)):T(t,l,e,!1)}else n||(l.reading=!1,I(t,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function T(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&O(t)),I(t,e)}function C(t,e){var r;if(t<=0||0===e.length&&e.ended)return 0;if(e.objectMode)return 1;if(t!=t)if(e.flowing&&e.length)return e.buffer.head.data.length;else return e.length;return(t>e.highWaterMark&&((r=t)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),e.highWaterMark=r),t<=e.length)?t:e.ended?e.length:(e.needReadable=!0,0)}function O(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,l.nextTick(E,t))}function E(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,B(t)}function I(t,e){e.readingMore||(e.readingMore=!0,l.nextTick(D,t,e))}function D(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(i("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function R(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function L(t){i("readable nexttick read 0"),t.read(0)}function P(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),B(t),e.flowing&&!e.reading&&t.read(0)}function B(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){var r;return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r)}function N(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,l.nextTick(z,e,t))}function z(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function j(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return -1}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=g.destroy,M.prototype._undestroy=g.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=h.from(t,e),e=""),r=!0),k(this,t,e,!1,r)},M.prototype.unshift=function(t){return k(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){o||(o=r(86704).StringDecoder);var e=new o(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e,r=this._readableState,n=t;if(0!==t&&(r.emittedReadable=!1),0===t&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?N(this):O(this),null;if(0===(t=C(t,r))&&r.ended)return 0===r.length&&N(this),null;var o=r.needReadable;return i("need readable",o),(0===r.length||r.length-t<r.highWaterMark)&&i("length less than watermark",o=!0),r.ended||r.reading?i("reading or ended",o=!1):o&&(i("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(t=C(n,r))),null===(e=t>0?F(t,r):null)?(r.needReadable=r.length<=r.highWaterMark,t=0):(r.length-=t,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==t&&r.ended&&N(this)),null!==e&&this.emit("data",e),e},M.prototype._read=function(t){w(this,new b("_read()"))},M.prototype.pipe=function(t,e){var r,n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,i("pipe count=%d opts=%j",o.pipesCount,e);var a=e&&!1===e.end||t===l.stdout||t===l.stderr?y:s;function s(){i("onend"),t.end()}o.endEmitted?l.nextTick(a):n.once("end",a),t.on("unpipe",function e(r,a){i("onunpipe"),r===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",d),t.removeListener("finish",g),t.removeListener("drain",c),t.removeListener("error",p),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",y),n.removeListener("data",f),h=!0,o.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&c())});var c=(r=n,function(){var t=r._readableState;i("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&u(r,"data")&&(t.flowing=!0,B(r))});t.on("drain",c);var h=!1;function f(e){i("ondata");var r=t.write(e);i("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==j(o.pipes,t))&&!h&&(i("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function p(e){i("onerror",e),y(),t.removeListener("error",p),0===u(t,"error")&&w(t,e)}function d(){t.removeListener("finish",g),y()}function g(){i("onfinish"),t.removeListener("close",d),y()}function y(){i("unpipe"),n.unpipe(t)}return n.on("data",f),!function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",d),t.once("finish",g),t.emit("pipe",n),o.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return -1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},M.prototype.on=function(t,e){var r=c.prototype.on.call(this,t,e),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"!==t||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?O(this):n.reading||l.nextTick(L,this)),r},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var r=c.prototype.removeListener.call(this,t,e);return"readable"===t&&l.nextTick(R,this),r},M.prototype.removeAllListeners=function(t){var e=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&l.nextTick(R,this),e},M.prototype.resume=function(){var t,e,r=this._readableState;return r.flowing||(i("resume"),r.flowing=!r.readableListening,t=this,(e=r).resumeScheduled||(e.resumeScheduled=!0,l.nextTick(P,t,e))),r.paused=!1,this},M.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},M.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var o in t.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(o){i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<S.length;a++)t.on(S[a],this.emit.bind(this,S[a]));return this._read=function(e){i("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===a&&(a=r(39536)),a(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===s&&(s=r(34918)),s(M,t,e)})},50141(t,e,r){"use strict";t.exports=c;var n=r(20289).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(35707);function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(t){if(!(this instanceof c))return new c(t);l.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(e,r){f(t,e,r)})}function f(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(91193)(c,l),c.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},c.prototype._transform=function(t,e,r){r(new i("_transform()"))},c.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},c.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,function(t){e(t)})}},92553(t,e,r){"use strict";var n,i,o=r(85409);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){var r=e,n=t,i=r.entry;for(r.entry=null;i;){var o=i.callback;n.pendingcb--,o(void 0),i=i.next}n.corkedRequestsFree.next=r}}t.exports=M,M.WritableState=A;var s={deprecate:r(91947)},l=r(82534),u=r(8963).Buffer,c=(void 0!==r.g?r.g:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},h=r(50917),f=r(65750).getHighWaterMark,p=r(20289).codes,d=p.ERR_INVALID_ARG_TYPE,g=p.ERR_METHOD_NOT_IMPLEMENTED,y=p.ERR_MULTIPLE_CALLBACK,v=p.ERR_STREAM_CANNOT_PIPE,m=p.ERR_STREAM_DESTROYED,_=p.ERR_STREAM_NULL_VALUES,b=p.ERR_STREAM_WRITE_AFTER_END,x=p.ERR_UNKNOWN_ENCODING,w=h.errorOrDestroy;function S(){}function A(t,e,i){n=n||r(35707),t=t||{},"boolean"!=typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new y;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,e)--r.pendingcb,n?(o.nextTick(i,e),o.nextTick(I,t,r),t._writableState.errorEmitted=!0,w(t,e)):(i(e),t._writableState.errorEmitted=!0,w(t,e),I(t,r));else{var a=O(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(t,r),n?o.nextTick(T,t,r,a,i):T(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}r(91193)(M,l),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e};try{Object.defineProperty(A.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}function M(t){var e=this instanceof(n=n||r(35707));if(!e&&!i.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function k(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new m("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function T(t,e,r,n){var i,o;r||(i=t,0===(o=e).length&&o.needDrain&&(o.needDrain=!1,i.emit("drain"))),e.pendingcb--,n(),I(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=Array(e.bufferedRequestCount),i=e.corkedRequestsFree;i.entry=r;for(var o=0,s=!0;r;)n[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;n.allBuffers=s,k(t,e,!0,e.length,n,"",i.finish),e.pendingcb++,e.lastBufferedRequest=null,i.next?(e.corkedRequestsFree=i.next,i.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,h=e.objectMode?1:l.length;if(k(t,e,!1,h,l,u,c),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function E(t,e){t._final(function(r){e.pendingcb--,r&&w(t,r),e.prefinished=!0,t.emit("prefinish"),I(t,e)})}function I(t,e){var r=O(e);if(r&&(e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,o.nextTick(E,t,e))),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!i.call(this,t)||this===M&&t&&t._writableState instanceof A}})):i=function(t){return t instanceof this},M.prototype.pipe=function(){w(this,new v)},M.prototype.write=function(t,e,r){var n,i,a,s,l,h,f,p=this._writableState,g=!1,y=!p.objectMode&&(n=t,u.isBuffer(n)||n instanceof c);return(y&&!u.isBuffer(t)&&(i=t,t=u.from(i)),"function"==typeof e&&(r=e,e=null),y?e="buffer":e||(e=p.defaultEncoding),"function"!=typeof r&&(r=S),p.ending)?(a=r,w(this,s=new b),o.nextTick(a,s)):(y||(l=t,h=r,null===l?f=new _:"string"==typeof l||p.objectMode||(f=new d("chunk",["string","Buffer"],l)),!f||(w(this,f),o.nextTick(h,f),0)))&&(p.pendingcb++,g=function(t,e,r,n,i,o){if(!r){var a,s,l=(a=n,s=i,e.objectMode||!1===e.decodeStrings||"string"!=typeof a||(a=u.from(a,s)),a);n!==l&&(r=!0,i="buffer",n=l)}var c=e.objectMode?1:n.length;e.length+=c;var h=e.length<e.highWaterMark;if(h||(e.needDrain=!0),e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else k(t,e,!1,c,n,i,o);return h}(this,p,y,t,e,r)),g},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,r){r(new g("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,r){var n,i,a,s=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),s.corked&&(s.corked=1,this.uncork()),s.ending||(n=this,i=s,a=r,i.ending=!0,I(n,i),a&&(i.finished?o.nextTick(a):n.once("finish",a)),i.ended=!0,n.writable=!1),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=h.destroy,M.prototype._undestroy=h.undestroy,M.prototype._destroy=function(t,e){e(t)}},39536(t,e,r){"use strict";var n,i=r(85409);function o(t,e,r){var n;return(e="symbol"==typeof(n=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?n:String(n))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=r(32339),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),f=Symbol("handlePromise"),p=Symbol("stream");function d(t,e){return{value:t,done:e}}function g(t){var e=t[s];if(null!==e){var r=t[p].read();null!==r&&(t[h]=null,t[s]=null,t[l]=null,e(d(r,!1)))}}function y(t){i.nextTick(g,t)}var v=Object.getPrototypeOf(function(){}),m=Object.setPrototypeOf((o(n={get stream(){return this[p]},next:function(){var t,e,r=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(d(void 0,!0));if(this[p].destroyed)return new Promise(function(t,e){i.nextTick(function(){r[u]?e(r[u]):t(d(void 0,!0))})});var o=this[h];if(o)e=new Promise((t=this,function(e,r){o.then(function(){t[c]?e(d(void 0,!0)):t[f](e,r)},r)}));else{var a=this[p].read();if(null!==a)return Promise.resolve(d(a,!1));e=new Promise(this[f])}return this[h]=e,e}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var t=this;return new Promise(function(e,r){t[p].destroy(null,function(t){t?r(t):e(d(void 0,!0))})})}),n),v);t.exports=function(t){var e,r=Object.create(m,(o(e={},p,{value:t,writable:!0}),o(e,s,{value:null,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,u,{value:null,writable:!0}),o(e,c,{value:t._readableState.endEmitted,writable:!0}),o(e,f,{value:function(t,e){var n=r[p].read();n?(r[h]=null,r[s]=null,r[l]=null,t(d(n,!1))):(r[s]=t,r[l]=e)},writable:!0}),e));return r[h]=null,a(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[l];null!==e&&(r[h]=null,r[s]=null,r[l]=null,e(t)),r[u]=t;return}var n=r[s];null!==n&&(r[h]=null,r[s]=null,r[l]=null,n(d(void 0,!0))),r[c]=!0}),t.on("readable",y.bind(null,r)),r}},70020(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){var n,i,a;n=t,i=e,a=r[e],(i=o(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function o(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var a=r(8963).Buffer,s=r(50902).inspect,l=s&&s.custom||"inspect";t.exports=function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return t=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n=a.allocUnsafe(t>>>0),i=this.head,o=0;i;)e=i.data,r=o,a.prototype.copy.call(e,n,r),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0==(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:l,value:function(t,e){return s(this,i(i({},e),{},{depth:0,customInspect:!1}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},50917(t,e,r){"use strict";var n=r(85409);function i(t,e){a(t,e),o(t)}function o(t){t._writableState&&!t._writableState.emitClose||(!t._readableState||t._readableState.emitClose)&&t.emit("close")}function a(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,t)):n.nextTick(a,this,t)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,t)):n.nextTick(i,r,t):e?(n.nextTick(o,r),e(t)):n.nextTick(o,r)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}},32339(t,e,r){"use strict";var n=r(20289).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];a.apply(this,e)}};var a,s,l=r.readable||!1!==r.readable&&e.readable,u=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||f()},h=e._writableState&&e._writableState.finished,f=function(){u=!1,h=!0,l||o.call(e)},p=e._readableState&&e._readableState.endEmitted,d=function(){l=!1,p=!0,u||o.call(e)},g=function(t){o.call(e,t)},y=function(){var t;return l&&!p?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):u&&!h?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},v=function(){e.req.on("finish",f)};return e.setHeader&&"function"==typeof e.abort?(e.on("complete",f),e.on("abort",y),e.req?v():e.on("request",v)):u&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",d),e.on("finish",f),!1!==r.error&&e.on("error",g),e.on("close",y),function(){e.removeListener("complete",f),e.removeListener("abort",y),e.removeListener("request",v),e.req&&e.req.removeListener("finish",f),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",f),e.removeListener("end",d),e.removeListener("error",g),e.removeListener("close",y)}}},34918(t){t.exports=function(){throw Error("Readable.from is not available in the browser")}},35481(t,e,r){"use strict";var n,i=r(20289).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function u(t,e){return t.pipe(e)}t.exports=function(){for(var t,e,i=arguments.length,c=Array(i),h=0;h<i;h++)c[h]=arguments[h];var f=(t=c).length&&"function"==typeof t[t.length-1]?t.pop():s;if(Array.isArray(c[0])&&(c=c[0]),c.length<2)throw new o("streams");var p=c.map(function(t,i){var o,s,u,h,d,g,y=i<c.length-1;return o=i>0,u=s=function(t){e||(e=t),t&&p.forEach(l),y||(p.forEach(l),f(e))},h=!1,s=function(){h||(h=!0,u.apply(void 0,arguments))},d=!1,t.on("close",function(){d=!0}),void 0===n&&(n=r(32339)),n(t,{readable:y,writable:o},function(t){if(t)return s(t);d=!0,s()}),g=!1,function(e){if(!d&&!g){if(g=!0,t.setHeader&&"function"==typeof t.abort)return t.abort();if("function"==typeof t.destroy)return t.destroy();s(e||new a("pipe"))}}});return c.reduce(u)}},65750(t,e,r){"use strict";var n=r(20289).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=null!=e.highWaterMark?e.highWaterMark:i?e[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},82534(t,e,r){t.exports=r(80381).EventEmitter},57995(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t*=1))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},87922(t,e,r){"use strict";r.d(e,{A:()=>w});var n=function(){if("u">typeof Map)return Map;function t(t,e){var r=-1;return t.some(function(t,n){return t[0]===e&&(r=n,!0)}),r}function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];t.call(e,i[1],i[0])}},e}(),i="u">typeof window&&"u">typeof document&&window.document===document,o=void 0!==r.g&&r.g.Math===Math?r.g:"u">typeof self&&self.Math===Math?self:"u">typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],l="u">typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,i=0;function o(){r&&(r=!1,t()),n&&l()}function s(){a(o)}function l(){var t=Date.now();if(r){if(t-i<2)return;n=!0}else r=!0,n=!1,setTimeout(s,20);i=t}return l}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;s.some(function(t){return!!~r.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},f=y(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce(function(e,r){return e+p(t["border-"+r+"-width"])},0)}var g="u">typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function y(t,e,r,n){return{x:t,y:e,width:r,height:n}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!i)return f;if(g(t)){var e;return y(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e,r=t.clientWidth,n=t.clientHeight;if(!r&&!n)return f;var i=h(t).getComputedStyle(t),o=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=t["padding-"+i];e[i]=p(o)}return e}(i),a=o.left+o.right,s=o.top+o.bottom,l=p(i.width),u=p(i.height);if("border-box"===i.boxSizing&&(Math.round(l+a)!==r&&(l-=d(i,"left","right")+a),Math.round(u+s)!==n&&(u-=d(i,"top","bottom")+s)),(e=t)!==h(e).document.documentElement){var c=Math.round(l+a)-r,g=Math.round(u+s)-n;1!==Math.abs(c)&&(l-=c),1!==Math.abs(g)&&(u-=g)}return y(o.left,o.top,l,u)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),m=function(t,e){var r,n,i,o,a,s=(r=e.x,n=e.y,i=e.width,o=e.height,c(a=Object.create(("u">typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:i,height:o,top:n,right:r+i,bottom:o+n,left:r}),a);c(this,{target:t,contentRect:s})},_=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if(!("u"<typeof Element)&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if(!("u"<typeof Element)&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new m(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),b="u">typeof WeakMap?new WeakMap:new n,x=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var r=new _(e,u.getInstance(),this);b.set(this,r)};["observe","unobserve","disconnect"].forEach(function(t){x.prototype[t]=function(){var e;return(e=b.get(this))[t].apply(e,arguments)}});let w=void 0!==o.ResizeObserver?o.ResizeObserver:x},56608(t,e,r){var n=r(8963),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return n.SlowBuffer(t)}},43282(t,e,r){"use strict";var n=r(98801),i=r(10092),o=n("RegExp.prototype.exec"),a=r(71102);t.exports=function(t){if(!i(t))throw new a("`regex` must be a RegExp");return function(e){return null!==o(t,e)}}},73910(t,e){"use strict";function r(t,e){var r=t.length;for(t.push(e);0<r;){var n=r-1>>>1,i=t[n];if(0<o(i,e))t[n]=e,t[r]=i,r=n;else break}}function n(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var e=t[0],r=t.pop();if(r!==e){t[0]=r;for(var n=0,i=t.length,a=i>>>1;n<a;){var s=2*(n+1)-1,l=t[s],u=s+1,c=t[u];if(0>o(l,r))u<i&&0>o(c,l)?(t[n]=c,t[u]=r,n=u):(t[n]=l,t[s]=r,n=s);else if(u<i&&0>o(c,r))t[n]=c,t[u]=r,n=u;else break}}return e}function o(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],h=[],f=1,p=null,d=3,g=!1,y=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,_="function"==typeof clearTimeout?clearTimeout:null,b="u">typeof setImmediate?setImmediate:null;function x(t){for(var e=n(h);null!==e;){if(null===e.callback)i(h);else if(e.startTime<=t)i(h),e.sortIndex=e.expirationTime,r(c,e);else break;e=n(h)}}function w(t){if(v=!1,x(t),!y)if(null!==n(c))y=!0,R(S);else{var e=n(h);null!==e&&L(w,e.startTime-t)}}function S(t,r){y=!1,v&&(v=!1,_(k),k=-1),g=!0;var o=d;try{for(x(r),p=n(c);null!==p&&(!(p.expirationTime>r)||t&&!O());){var a=p.callback;if("function"==typeof a){p.callback=null,d=p.priorityLevel;var s=a(p.expirationTime<=r);r=e.unstable_now(),"function"==typeof s?p.callback=s:p===n(c)&&i(c),x(r)}else i(c);p=n(c)}if(null!==p)var l=!0;else{var u=n(h);null!==u&&L(w,u.startTime-r),l=!1}return l}finally{p=null,d=o,g=!1}}"u">typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A=!1,M=null,k=-1,T=5,C=-1;function O(){return!(e.unstable_now()-C<T)}function E(){if(null!==M){var t=e.unstable_now();C=t;var r=!0;try{r=M(!0,t)}finally{r?a():(A=!1,M=null)}}else A=!1}if("function"==typeof b)a=function(){b(E)};else if("u">typeof MessageChannel){var I=new MessageChannel,D=I.port2;I.port1.onmessage=E,a=function(){D.postMessage(null)}}else a=function(){m(E,0)};function R(t){M=t,A||(A=!0,a())}function L(t,r){k=m(function(){t(e.unstable_now())},r)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,R(S))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(t){switch(d){case 1:case 2:case 3:var e=3;break;default:e=d}var r=d;d=e;try{return t()}finally{d=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=d;d=t;try{return e()}finally{d=r}},e.unstable_scheduleCallback=function(t,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,t={id:f++,callback:i,priorityLevel:t,startTime:o,expirationTime:s,sortIndex:-1},o>a?(t.sortIndex=o,r(h,t),null===n(c)&&t===n(h)&&(v?(_(k),k=-1):v=!0,L(w,o-a))):(t.sortIndex=s,r(c,t),y||g||(y=!0,R(S))),t},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(t){var e=d;return function(){var r=d;d=e;try{return t.apply(this,arguments)}finally{d=r}}}},9593(t,e,r){"use strict";t.exports=r(73910)},7755(t,e,r){"use strict";var n=r(49336),i=r(20022),o=r(491)(),a=r(25667),s=r(71102),l=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>0xffffffff||l(e)!==e)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in t&&a){var c=a(t,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},87633(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeSensorId=e.SensorTabIndex=e.SensorClassName=void 0,e.SizeSensorId="size-sensor-id",e.SensorClassName="size-sensor-object",e.SensorTabIndex="-1"},15962(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=null;return function(){for(var n=this,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(r),r=setTimeout(function(){t.apply(n,o)},e)}}},18616(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=1;e.default=function(){return"".concat(r++)}},49741(t,e,r){"use strict";e.clear=e.bind=void 0;var n=r(4105);e.bind=function(t,e){var r=(0,n.getSensor)(t);return r.bind(e),function(){r.unbind(e)}},e.clear=function(t){var e=(0,n.getSensor)(t);(0,n.removeSensor)(e)}},4105(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeSensor=e.getSensor=e.Sensors=void 0;var n,i=(n=r(18616))&&n.__esModule?n:{default:n},o=r(25825),a=r(87633),s={};function l(t){t&&s[t]&&delete s[t]}e.Sensors=s,e.getSensor=function(t){var e=t.getAttribute(a.SizeSensorId);if(e&&s[e])return s[e];var r=(0,i.default)();t.setAttribute(a.SizeSensorId,r);var n=(0,o.createSensor)(t,function(){return l(r)});return s[r]=n,n},e.removeSensor=function(t){var e=t.element.getAttribute(a.SizeSensorId);t.destroy(),l(e)}},25825(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var n=r(67066),i=r(31159);e.createSensor="u">typeof ResizeObserver?i.createSensor:n.createSensor},67066(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var n,i=(n=r(15962))&&n.__esModule?n:{default:n},o=r(87633);e.createSensor=function(t,e){var r=void 0,n=[],a=function(){"static"===getComputedStyle(t).position&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",s),s()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",o.SensorClassName),e.setAttribute("tabindex",o.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e},s=(0,i.default)(function(){n.forEach(function(e){e(t)})}),l=function(){r&&r.parentNode&&(r.contentDocument&&r.contentDocument.defaultView.removeEventListener("resize",s),r.parentNode.removeChild(r),t.removeAttribute(o.SizeSensorId),r=void 0,n=[],e&&e())};return{element:t,bind:function(t){r||(r=a()),-1===n.indexOf(t)&&n.push(t)},destroy:l,unbind:function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),0===n.length&&r&&l()}}}},31159(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var n,i=r(87633),o=(n=r(15962))&&n.__esModule?n:{default:n};e.createSensor=function(t,e){var r=void 0,n=[],a=(0,o.default)(function(){n.forEach(function(e){e(t)})}),s=function(){var e=new ResizeObserver(a);return e.observe(t),a(),e},l=function(){r.disconnect(),n=[],r=void 0,t.removeAttribute(i.SizeSensorId),e&&e()};return{element:t,bind:function(t){r||(r=s()),-1===n.indexOf(t)&&n.push(t)},destroy:l,unbind:function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),0===n.length&&r&&l()}}}},43803(t,e,r){t.exports=i;var n=r(80381).EventEmitter;function i(){n.call(this)}r(91193)(i,n),i.Readable=r(23033),i.Writable=r(92553),i.Duplex=r(35707),i.Transform=r(50141),i.PassThrough=r(75271),i.finished=r(32339),i.pipeline=r(35481),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(c(),0===n.listenerCount(this,"error"))throw t}function c(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),t.removeListener("close",c)}return r.on("error",u),t.on("error",u),r.on("end",c),r.on("close",c),t.on("close",c),t.emit("pipe",r),t}},86704(t,e,r){"use strict";var n=r(56608).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){var e;if(!t)return"utf8";for(;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=h,e=3;break;default:this.write=f,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if((192&e[0])!=128)return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if((192&e[1])!=128)return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&(192&e[2])!=128)return t.lastNeed=2,"�"}}(this,t,0);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length)}function l(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function c(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){var e,r;if(0===t.length)return"";if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},39687(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,r=[],n=0;n<t.rangeCount;n++)r.push(t.getRangeAt(n));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||r.forEach(function(e){t.addRange(e)}),e&&e.focus()}}},9741(t,e){e.isatty=function(){return!1},e.ReadStream=function(){throw Error("tty.ReadStream is not implemented")},e.WriteStream=function(){throw Error("tty.WriteStream is not implemented")}},62552(t){t.exports=/[\0-\x1F\x7F-\x9F]/},99828(t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},31106(t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},17571(t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},31337(t,e,r){"use strict";var n=r(57995),i=r(76682),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function h(t){return(t||"").toString().replace(o,"")}var f=[["#","hash"],["?","query"],function(t,e){return g(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function d(t){var e,n=("u">typeof window?window:void 0!==r.g?r.g:"u">typeof self?self:{}).location||{},i={},o=typeof(t=t||n);if("blob:"===t.protocol)i=new v(unescape(t.pathname),{});else if("string"===o)for(e in i=new v(t,{}),p)delete i[e];else if("object"===o){for(e in t)e in p||(i[e]=t[e]);void 0===i.slashes&&(i.slashes=s.test(t.href))}return i}function g(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function y(t,e){t=(t=h(t)).replace(a,""),e=e||{};var r,n=u.exec(t),i=n[1]?n[1].toLowerCase():"",o=!!n[2],s=!!n[3],l=0;return o?s?(r=n[2]+n[3]+n[4],l=n[2].length+n[3].length):(r=n[2]+n[4],l=n[2].length):s?(r=n[3]+n[4],l=n[3].length):r=n[4],"file:"===i?l>=2&&(r=r.slice(2)):g(i)?r=n[4]:i?o&&(r=r.slice(2)):l>=2&&g(e.protocol)&&(r=n[4]),{protocol:i,slashes:o||g(i),slashesCount:l,rest:r}}function v(t,e,r){if(t=(t=h(t)).replace(a,""),!(this instanceof v))return new v(t,e,r);var o,s,l,u,p,m,_=f.slice(),b=typeof e,x=0;for("object"!==b&&"string"!==b&&(r=e,e=null),r&&"function"!=typeof r&&(r=i.parse),o=!(s=y(t||"",e=d(e))).protocol&&!s.slashes,this.slashes=s.slashes||o&&e.slashes,this.protocol=s.protocol||e.protocol||"",t=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(t))||!s.slashes&&(s.protocol||s.slashesCount<2||!g(this.protocol)))&&(_[3]=[/(.*)/,"pathname"]);x<_.length;x++){if("function"==typeof(u=_[x])){t=u(t,this);continue}l=u[0],m=u[1],l!=l?this[m]=t:"string"==typeof l?~(p="@"===l?t.lastIndexOf(l):t.indexOf(l))&&("number"==typeof u[2]?(this[m]=t.slice(0,p),t=t.slice(p+u[2])):(this[m]=t.slice(p),t=t.slice(0,p))):(p=l.exec(t))&&(this[m]=p[1],t=t.slice(0,p.index)),this[m]=this[m]||o&&u[3]&&e[m]||"",u[4]&&(this[m]=this[m].toLowerCase())}r&&(this.query=r(this.query)),o&&e.slashes&&"/"!==this.pathname.charAt(0)&&(""!==this.pathname||""!==e.pathname)&&(this.pathname=function(t,e){if(""===t)return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,i=r[n-1],o=!1,a=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),a++):a&&(0===n&&(o=!0),r.splice(n,1),a--);return o&&r.unshift(""),("."===i||".."===i)&&r.push(""),r.join("/")}(this.pathname,e.pathname)),"/"!==this.pathname.charAt(0)&&g(this.protocol)&&(this.pathname="/"+this.pathname),n(this.port,this.protocol)||(this.host=this.hostname,this.port=""),this.username=this.password="",this.auth&&(~(p=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,p),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(p+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(this.auth)),this.auth=this.password?this.username+":"+this.password:this.username),this.origin="file:"!==this.protocol&&g(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString()}v.prototype={set:function(t,e,r){switch(t){case"query":"string"==typeof e&&e.length&&(e=(r||i.parse)(e)),this[t]=e;break;case"port":this[t]=e,n(e,this.protocol)?e&&(this.host=this.hostname+":"+e):(this.host=this.hostname,this[t]="");break;case"hostname":this[t]=e,this.port&&(e+=":"+this.port),this.host=e;break;case"host":this[t]=e,l.test(e)?(e=e.split(":"),this.port=e.pop(),this.hostname=e.join(":")):(this.hostname=e,this.port="");break;case"protocol":this.protocol=e.toLowerCase(),this.slashes=!r;break;case"pathname":case"hash":if(e){var o="pathname"===t?"/":"#";this[t]=e.charAt(0)!==o?o+e:e}else this[t]=e;break;case"username":case"password":this[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(this.username=e.slice(0,a),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=e.slice(a+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(e))}for(var s=0;s<f.length;s++){var u=f[s];u[4]&&(this[u[1]]=this[u[1]].toLowerCase())}return this.auth=this.password?this.username+":"+this.password:this.username,this.origin="file:"!==this.protocol&&g(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString(),this},toString:function(t){t&&"function"==typeof t||(t=i.stringify);var e,r=this.host,n=this.protocol;n&&":"!==n.charAt(n.length-1)&&(n+=":");var o=n+(this.protocol&&this.slashes||g(this.protocol)?"//":"");return this.username?(o+=this.username,this.password&&(o+=":"+this.password),o+="@"):this.password?(o+=":"+this.password,o+="@"):"file:"!==this.protocol&&g(this.protocol)&&!r&&"/"!==this.pathname&&(o+="@"),(":"===r[r.length-1]||l.test(this.hostname)&&!this.port)&&(r+=":"),o+=r+this.pathname,(e="object"==typeof this.query?t(this.query):this.query)&&(o+="?"!==e.charAt(0)?"?"+e:e),this.hash&&(o+=this.hash),o}},v.extractProtocol=y,v.location=d,v.trimLeft=h,v.qs=i,t.exports=v},91947(t,e,r){t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}};function n(t){try{if(!r.g.localStorage)return!1}catch(t){return!1}var e=r.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}},56640(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},90515(t,e,r){"use strict";var n=r(56531),i=r(94204),o=r(19033),a=r(40006);function s(t){return t.call.bind(t)}var l="u">typeof BigInt,u="u">typeof Symbol,c=s(Object.prototype.toString),h=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(l)var d=s(BigInt.prototype.valueOf);if(u)var g=s(Symbol.prototype.valueOf);function y(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function v(t){return"[object Map]"===c(t)}function m(t){return"[object Set]"===c(t)}function _(t){return"[object WeakMap]"===c(t)}function b(t){return"[object WeakSet]"===c(t)}function x(t){return"[object ArrayBuffer]"===c(t)}function w(t){return!("u"<typeof ArrayBuffer)&&(x.working?x(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===c(t)}function A(t){return!("u"<typeof DataView)&&(S.working?S(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=a,e.isPromise=function(t){return"u">typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||A(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},v.working="u">typeof Map&&v(new Map),e.isMap=function(t){return!("u"<typeof Map)&&(v.working?v(t):t instanceof Map)},m.working="u">typeof Set&&m(new Set),e.isSet=function(t){return!("u"<typeof Set)&&(m.working?m(t):t instanceof Set)},_.working="u">typeof WeakMap&&_(new WeakMap),e.isWeakMap=function(t){return!("u"<typeof WeakMap)&&(_.working?_(t):t instanceof WeakMap)},b.working="u">typeof WeakSet&&b(new WeakSet),e.isWeakSet=function(t){return b(t)},x.working="u">typeof ArrayBuffer&&x(new ArrayBuffer),e.isArrayBuffer=w,S.working="u">typeof ArrayBuffer&&"u">typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=A;var M="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function k(t){return"[object SharedArrayBuffer]"===c(t)}function T(t){return void 0!==M&&(void 0===k.working&&(k.working=k(new M)),k.working?k(t):t instanceof M)}function C(t){return y(t,h)}function O(t){return y(t,f)}function E(t){return y(t,p)}function I(t){return l&&y(t,d)}function D(t){return u&&y(t,g)}e.isSharedArrayBuffer=T,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===c(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===c(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===c(t)},e.isGeneratorObject=function(t){return"[object Generator]"===c(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===c(t)},e.isNumberObject=C,e.isStringObject=O,e.isBooleanObject=E,e.isBigIntObject=I,e.isSymbolObject=D,e.isBoxedPrimitive=function(t){return C(t)||O(t)||E(t)||I(t)||D(t)},e.isAnyArrayBuffer=function(t){return"u">typeof Uint8Array&&(w(t)||T(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},1344(t,e,r){var n=r(85409),i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},o=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(l(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,i=n.length,a=String(t).replace(o,function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),s=n[r];r<i;s=n[++r])y(s)||!x(s)?a+=" "+s:a+=" "+l(s);return a},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return t.apply(this,arguments)}};var a={},s=/^$/;function l(t,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&e._extend(n,r),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),h(n,t,n.depth)}function u(t,e){var r=l.styles[e];return r?"\x1b["+l.colors[r][0]+"m"+t+"\x1b["+l.colors[r][1]+"m":t}function c(t,e){return t}function h(t,r,n){if(t.customInspect&&r&&A(r.inspect)&&r.inspect!==e.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,a,s,l,u,c=r.inspect(n,t);return m(c)||(c=h(t,c,n)),c}var x=function(t,e){if(_(e))return t.stylize("undefined","undefined");if(m(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return v(e)?t.stylize(""+e,"number"):g(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}(t,r);if(x)return x;var M=Object.keys(r),k=(l={},M.forEach(function(t,e){l[t]=!0}),l);if(t.showHidden&&(M=Object.getOwnPropertyNames(r)),S(r)&&(M.indexOf("message")>=0||M.indexOf("description")>=0))return f(r);if(0===M.length){if(A(r)){var T=r.name?": "+r.name:"";return t.stylize("[Function"+T+"]","special")}if(b(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return t.stylize(Date.prototype.toString.call(r),"date");if(S(r))return f(r)}var O="",E=!1,I=["{","}"];if(d(r)&&(E=!0,I=["[","]"]),A(r)&&(O=" [Function"+(r.name?": "+r.name:"")+"]"),b(r)&&(O=" "+RegExp.prototype.toString.call(r)),w(r)&&(O=" "+Date.prototype.toUTCString.call(r)),S(r)&&(O=" "+f(r)),0===M.length&&(!E||0==r.length))return I[0]+O+I[1];if(n<0)if(b(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");else return t.stylize("[Object]","special");return t.seen.push(r),u=E?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)C(e,String(a))?o.push(p(t,e,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(p(t,e,r,n,i,!0))}),o}(t,r,n,k,M):M.map(function(e){return p(t,r,n,k,e,E)}),t.seen.pop(),i=u,o=O,a=I,s=0,i.reduce(function(t,e){return s++,e.indexOf("\n")>=0&&s++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===o?"":o+"\n ")+" "+i.join(",\n ")+" "+a[1]:a[0]+o+" "+i.join(", ")+" "+a[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),C(n,i)||(a="["+i+"]"),!s&&(0>t.seen.indexOf(l.value)?(s=y(r)?h(t,l.value,null):h(t,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n")):s=t.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function g(t){return"boolean"==typeof t}function y(t){return null===t}function v(t){return"number"==typeof t}function m(t){return"string"==typeof t}function _(t){return void 0===t}function b(t){return x(t)&&"[object RegExp]"===M(t)}function x(t){return"object"==typeof t&&null!==t}function w(t){return x(t)&&"[object Date]"===M(t)}function S(t){return x(t)&&("[object Error]"===M(t)||t instanceof Error)}function A(t){return"function"==typeof t}function M(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(!a[t=t.toUpperCase()])if(s.test(t)){var r=n.pid;a[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else a[t]=function(){};return a[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(90515),e.isArray=d,e.isBoolean=g,e.isNull=y,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=m,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=_,e.isRegExp=b,e.types.isRegExp=b,e.isObject=x,e.isDate=w,e.types.isDate=w,e.isError=S,e.types.isNativeError=S,e.isFunction=A,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(56640);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[k((t=new Date).getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":"),[t.getDate(),T[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(91193),e._extend=function(t,e){if(!e||!x(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var O="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function E(t,e){if(!t){var r=Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(O&&t[O]){var e=t[O];if("function"!=typeof e)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,O,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise(function(t,n){e=t,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(t,n){t?r(t):e(n)});try{t.apply(this,i)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),O&&Object.defineProperty(e,O,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=O,e.callbackify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var i=e.pop();if("function"!=typeof i)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then(function(t){n.nextTick(a.bind(null,null,t))},function(t){n.nextTick(E.bind(null,t,a))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},19033(t,e,r){"use strict";var n=r(14086),i=r(64379),o=r(17695),a=r(98801),s=r(25667),l=a("Object.prototype.toString"),u=r(77185)(),c="u"<typeof globalThis?r.g:globalThis,h=i(),f=a("String.prototype.slice"),p=Object.getPrototypeOf,d=a("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return -1},g={__proto__:null};u&&s&&p?n(h,function(t){var e=new c[t];if(Symbol.toStringTag in e){var r=p(e),n=s(r,Symbol.toStringTag);n||(n=s(p(r),Symbol.toStringTag)),g["$"+t]=o(n.get)}}):n(h,function(t){var e=new c[t],r=e.slice||e.set;r&&(g["$"+t]=o(r))});var y=function(t){var e=!1;return n(g,function(r,n){if(!e)try{"$"+r(t)===n&&(e=f(n,1))}catch(t){}}),e},v=function(t){var e=!1;return n(g,function(r,n){if(!e)try{r(t),e=f(n,1)}catch(t){}}),e};t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!u){var e=f(l(t),8,-1);return d(h,e)>-1?e:"Object"===e&&v(t)}return s?y(t):null}},64379(t,e,r){"use strict";var n=r(9773),i="u"<typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof i[n[e]]&&(t[t.length]=n[e]);return t}},30395(t){!function(){"use strict";var e={}.hasOwnProperty;function r(){for(var t="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(t=n(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var i="";for(var o in t)e.call(t,o)&&t[o]&&(i=n(i,o));return i}(o)))}return t}function n(t,e){return e?t?t+" "+e:t+e:t}t.exports?(r.default=r,t.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()},2106(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{A:()=>n})},14754(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,{A:()=>n})},9548(t,e,r){"use strict";function n(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,{A:()=>n})},47420(t,e,r){"use strict";function n(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,i)}function i(t){return function(){var e=this,r=arguments;return new Promise(function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,l,"next",t)}function l(t){n(a,i,o,s,l,"throw",t)}s(void 0)})}}r.d(e,{A:()=>i})},60535(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(60185),i=r(81703),o=r(56323);function a(t,e,r){return e=(0,n.A)(e),(0,o.A)(t,(0,i.A)()?Reflect.construct(e,r||[],(0,n.A)(t).constructor):e.apply(t,r))}},23850(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}r.d(e,{A:()=>n})},45804(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(68891);function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(0,n.A)(i.key),i)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}},80451(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(60185),i=r(81703),o=r(56323);function a(t){var e=(0,i.A)();return function(){var r,i=(0,n.A)(t);return r=e?Reflect.construct(i,arguments,(0,n.A)(this).constructor):i.apply(this,arguments),(0,o.A)(this,r)}}},5908(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(68891);function i(t,e,r){return(e=(0,n.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},77161(t,e,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(null,arguments)}r.d(e,{A:()=>n})},60185(t,e,r){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,{A:()=>n})},60410(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(11285);function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,n.A)(t,e)}},81703(t,e,r){"use strict";function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!t})()}r.d(e,{A:()=>n})},26268(t,e,r){"use strict";function n(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,{A:()=>n})},98371(t,e,r){"use strict";function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,{A:()=>n})},55413(t,e,r){"use strict";function n(t){if(null==t)throw TypeError("Cannot destructure "+t)}r.d(e,{A:()=>n})},57970(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(5908);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){(0,n.A)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}},80416(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],-1===e.indexOf(r)&&({}).propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}r.d(e,{A:()=>n})},56323(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(45983),i=r(9548);function o(t,e){if(e&&("object"==(0,n.A)(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return(0,i.A)(t)}},69943(t,e,r){"use strict";function n(t,e){this.v=t,this.k=e}function i(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(i=function(t,e,r,n){function a(e,r){i(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(a("next",0),a("throw",1),a("return",2))})(t,e,r,n)}function o(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",a=r.toStringTag||"@@toStringTag";function s(r,n,o,a){var s=Object.create((n&&n.prototype instanceof u?n:u).prototype);return i(s,"_invoke",function(r,n,i){var o,a,s,u=0,c=i||[],h=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,r){return o=e,a=0,s=t,f.n=r,l}};function p(r,n){for(a=r,s=n,e=0;!h&&u&&!i&&e<c.length;e++){var i,o=c[e],p=f.p,d=o[2];r>3?(i=d===n)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=r<2&&p<o[1])?(a=0,f.v=n,f.n=o[1]):p<d&&(i=r<3||o[0]>n||n>d)&&(o[4]=r,o[5]=n,f.n=d,a=0))}if(i||r>1)return l;throw h=!0,n}return function(i,c,d){if(u>1)throw TypeError("Generator is already running");for(h&&1===c&&p(c,d),a=c,s=d;(e=a<2?t:s)||!h;){o||(a?a<3?(a>1&&(f.n=-1),p(a,s)):f.n=s:f.v=s);try{if(u=2,o){if(a||(i="next"),e=o[i]){if(!(e=e.call(o,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,a<2&&(a=0)}else 1===a&&(e=o.return)&&e.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((e=(h=f.n<0)?s:r.call(n,f))!==l)break}catch(e){o=t,a=1,s=e}finally{u=1}}return{value:e,done:h}}}(r,o,a),!0),s}var l={};function u(){}function c(){}function h(){}e=Object.getPrototypeOf;var f=h.prototype=u.prototype=Object.create([][n]?e(e([][n]())):(i(e={},n,function(){return this}),e));function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,i(t,a,"GeneratorFunction")),t.prototype=Object.create(f),t}return c.prototype=h,i(f,"constructor",h),i(h,"constructor",c),c.displayName="GeneratorFunction",i(h,a,"GeneratorFunction"),i(f),i(f,a,"Generator"),i(f,n,function(){return this}),i(f,"toString",function(){return"[object Generator]"}),(o=function(){return{w:s,m:p}})()}function a(t,e){var r;this.next||(i(a.prototype),i(a.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(i,o,a){function s(){return new e(function(r,o){!function r(i,o,a,s){try{var l=t[i](o),u=l.value;return u instanceof n?e.resolve(u.v).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):e.resolve(u).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,s)})}catch(t){s(t)}}(i,a,r,o)})}return r=r?r.then(s,s):s()},!0)}function s(t,e,r,n,i){return new a(o().w(t,e,r,n),i||Promise)}function l(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}}r.d(e,{A:()=>h});var u=r(45983);function c(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw TypeError((0,u.A)(t)+" is not iterable")}function h(){var t=o(),e=t.m(h),r=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function i(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===r||"GeneratorFunction"===(e.displayName||e.name))}var u={throw:1,return:2,break:3,continue:3};function f(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,u[t],e)},delegateYield:function(t,i,o){return e.resultName=i,r(n.d,c(t),o)},finish:function(t){return r(n.f,t)}},r=function(t,r,i){n.p=e.prev,n.n=e.next;try{return t(r,i)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(h=function(){return{wrap:function(e,r,n,i){return t.w(f(e),r,n,i&&i.reverse())},isGeneratorFunction:i,mark:t.m,awrap:function(t,e){return new n(t,e)},AsyncIterator:a,async:function(t,e,r,n,o){return(i(e)?s:function(t,e,r,n,i){var o=s(t,e,r,n,i);return o.next().then(function(t){return t.done?t.value:o.next()})})(f(t),e,r,n,o)},keys:l,values:c}})()}},11285(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.d(e,{A:()=>n})},97251(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(14754),i=r(98963),o=r(98371);function a(t,e){return(0,n.A)(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||(0,i.A)(t,e)||(0,o.A)()}},82586(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(14754),i=r(26268),o=r(98963),a=r(98371);function s(t){return(0,n.A)(t)||(0,i.A)(t)||(0,o.A)(t)||(0,a.A)()}},91639(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(2106),i=r(26268),o=r(98963);function a(t){return function(t){if(Array.isArray(t))return(0,n.A)(t)}(t)||(0,i.A)(t)||(0,o.A)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},68891(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(45983);function i(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=(0,n.A)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,n.A)(e)?e:e+""}},45983(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,{A:()=>n})},98963(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(2106);function i(t,e){if(t){if("string"==typeof t)return(0,n.A)(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.A)(t,e):void 0}}},83021(t,e,r){"use strict";r.d(e,{zC:()=>q,KE:()=>$,Ay:()=>Y});function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t){return function e(){for(var r=this,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return i.length>=t.length?t.apply(this,i):function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.apply(r,[].concat(i,n))}}}function s(t){return({}).toString.call(t).includes("Object")}function l(t){return"function"==typeof t}var u,c,h=a(function(t,e){throw Error(t[e]||t.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),f=function(t,e){return s(e)||h("changeType"),Object.keys(e).some(function(e){return!Object.prototype.hasOwnProperty.call(t,e)})&&h("changeField"),e},p=function(t){l(t)||h("selectorType")},d=function(t){l(t)||s(t)||h("handlerType"),s(t)&&Object.values(t).some(function(t){return!l(t)})&&h("handlersType")},g=function(t){t||h("initialIsRequired"),s(t)||h("initialType"),Object.keys(t).length||h("initialContent")};function y(t,e){return l(e)?e(t.current):e}function v(t,e){return t.current=o(o({},t.current),e),e}function m(t,e,r){return l(e)?e(t.current):Object.keys(r).forEach(function(r){var n;return null==(n=e[r])?void 0:n.call(e,t.current[r])}),r}var _={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},b=(u=function(t,e){throw Error(t[e]||t.default)},function t(){for(var e=this,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return n.length>=u.length?u.apply(this,n):function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return t.apply(e,[].concat(n,i))}})(_);let x=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduceRight(function(t,e){return e(t)},t)}};var w={type:"cancelation",msg:"operation is manually canceled"};let S=function(t){var e=!1,r=new Promise(function(r,n){t.then(function(t){return e?n(w):r(t)}),t.catch(n)});return r.cancel=function(){return e=!0},r};var A=function(t){if(Array.isArray(t))return t}(c=({create:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g(t),d(e);var r={current:t},n=a(m)(r,e),i=a(v)(r),o=a(f)(t),s=a(y)(r);return[function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return p(t),t(r.current)},function(t){(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduceRight(function(t,e){return e(t)},t)}})(n,i,o,s)(t)}]}}).create({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}))||function(t,e){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),2!==r.length);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(c,2)||function(t,e){if(t){if("string"==typeof t)return n(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,2)}}(c,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),M=A[0],k=A[1];function T(t){return document.body.appendChild(t)}function C(t){var e,r,n=M(function(t){return{config:t.config,reject:t.reject}}),i=(e="".concat(n.config.paths.vs,"/loader.js"),r=document.createElement("script"),e&&(r.src=e),r);return i.onload=function(){return t()},i.onerror=n.reject,i}function O(){var t=M(function(t){return{config:t.config,resolve:t.resolve,reject:t.reject}}),e=window.require;e.config(t.config),e(["vs/editor/editor.main"],function(e){E(e),t.resolve(e)},function(e){t.reject(e)})}function E(t){M().monaco||k({monaco:t})}var I=new Promise(function(t,e){return k({resolve:t,reject:e})});let D=function(){var t=M(function(t){return{monaco:t.monaco,isInitialized:t.isInitialized,resolve:t.resolve}});if(!t.isInitialized){if(k({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),S(I);if(window.monaco&&window.monaco.editor)return E(window.monaco),t.resolve(window.monaco),S(I);x(T,C)(O)}return S(I)};var R=r(22155),L={display:"flex",position:"relative",textAlign:"initial"},P={width:"100%"},B={display:"none"},F={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},N=function({children:t}){return R.createElement("div",{style:F},t)},z=(0,R.memo)(function({width:t,height:e,isEditorReady:r,loading:n,_ref:i,className:o,wrapperProps:a}){return R.createElement("section",{style:{...L,width:t,height:e},...a},!r&&R.createElement(N,null,n),R.createElement("div",{ref:i,style:{...P,...!r&&B},className:o}))}),j=function(t){(0,R.useEffect)(t,[])},H=function(t,e,r=!0){let n=(0,R.useRef)(!0);(0,R.useEffect)(n.current||!r?()=>{n.current=!1}:t,e)};function V(){}function U(t,e,r,n){var i,o,a,s,l,u;return i=t,o=n,i.editor.getModel(W(i,o))||(a=t,s=e,l=r,u=n,a.editor.createModel(s,l,u?W(a,u):void 0))}function W(t,e){return t.Uri.parse(e)}var q=(0,R.memo)(function({original:t,modified:e,language:r,originalLanguage:n,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:a,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:l=!1,theme:u="light",loading:c="Loading...",options:h={},height:f="100%",width:p="100%",className:d,wrapperProps:g={},beforeMount:y=V,onMount:v=V}){let[m,_]=(0,R.useState)(!1),[b,x]=(0,R.useState)(!0),w=(0,R.useRef)(null),S=(0,R.useRef)(null),A=(0,R.useRef)(null),M=(0,R.useRef)(v),k=(0,R.useRef)(y),T=(0,R.useRef)(!1);j(()=>{let t=D();return t.then(t=>(S.current=t)&&x(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>{let e;return w.current?(e=w.current?.getModel(),void(s||e?.original?.dispose(),l||e?.modified?.dispose(),w.current?.dispose())):t.cancel()}}),H(()=>{if(w.current&&S.current){let e=w.current.getOriginalEditor(),i=U(S.current,t||"",n||r||"text",o||"");i!==e.getModel()&&e.setModel(i)}},[o],m),H(()=>{if(w.current&&S.current){let t=w.current.getModifiedEditor(),n=U(S.current,e||"",i||r||"text",a||"");n!==t.getModel()&&t.setModel(n)}},[a],m),H(()=>{let t=w.current.getModifiedEditor();t.getOption(S.current.editor.EditorOption.readOnly)?t.setValue(e||""):e!==t.getValue()&&(t.executeEdits("",[{range:t.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),t.pushUndoStop())},[e],m),H(()=>{w.current?.getModel()?.original.setValue(t||"")},[t],m),H(()=>{let{original:t,modified:e}=w.current.getModel();S.current.editor.setModelLanguage(t,n||r||"text"),S.current.editor.setModelLanguage(e,i||r||"text")},[r,n,i],m),H(()=>{S.current?.editor.setTheme(u)},[u],m),H(()=>{w.current?.updateOptions(h)},[h],m);let C=(0,R.useCallback)(()=>{if(!S.current)return;k.current(S.current);let s=U(S.current,t||"",n||r||"text",o||""),l=U(S.current,e||"",i||r||"text",a||"");w.current?.setModel({original:s,modified:l})},[r,e,i,t,n,o,a]),O=(0,R.useCallback)(()=>{!T.current&&A.current&&(w.current=S.current.editor.createDiffEditor(A.current,{automaticLayout:!0,...h}),C(),S.current?.editor.setTheme(u),_(!0),T.current=!0)},[h,u,C]);return(0,R.useEffect)(()=>{m&&M.current(w.current,S.current)},[m]),(0,R.useEffect)(()=>{b||m||O()},[b,m,O]),R.createElement(z,{width:p,height:f,isEditorReady:m,loading:c,_ref:A,className:d,wrapperProps:g})}),Z=function(t){let e=(0,R.useRef)();return(0,R.useEffect)(()=>{e.current=t},[t]),e.current},G=new Map,$=(0,R.memo)(function({defaultValue:t,defaultLanguage:e,defaultPath:r,value:n,language:i,path:o,theme:a="light",line:s,loading:l="Loading...",options:u={},overrideServices:c={},saveViewState:h=!0,keepCurrentModel:f=!1,width:p="100%",height:d="100%",className:g,wrapperProps:y={},beforeMount:v=V,onMount:m=V,onChange:_,onValidate:b=V}){let[x,w]=(0,R.useState)(!1),[S,A]=(0,R.useState)(!0),M=(0,R.useRef)(null),k=(0,R.useRef)(null),T=(0,R.useRef)(null),C=(0,R.useRef)(m),O=(0,R.useRef)(v),E=(0,R.useRef)(),I=(0,R.useRef)(n),L=Z(o),P=(0,R.useRef)(!1),B=(0,R.useRef)(!1);j(()=>{let t=D();return t.then(t=>(M.current=t)&&A(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>k.current?void(E.current?.dispose(),f?h&&G.set(o,k.current.saveViewState()):k.current.getModel()?.dispose(),k.current.dispose()):t.cancel()}),H(()=>{let a=U(M.current,t||n||"",e||i||"",o||r||"");a!==k.current?.getModel()&&(h&&G.set(L,k.current?.saveViewState()),k.current?.setModel(a),h&&k.current?.restoreViewState(G.get(o)))},[o],x),H(()=>{k.current?.updateOptions(u)},[u],x),H(()=>{k.current&&void 0!==n&&(k.current.getOption(M.current.editor.EditorOption.readOnly)?k.current.setValue(n):n!==k.current.getValue()&&(B.current=!0,k.current.executeEdits("",[{range:k.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),k.current.pushUndoStop(),B.current=!1))},[n],x),H(()=>{let t=k.current?.getModel();t&&i&&M.current?.editor.setModelLanguage(t,i)},[i],x),H(()=>{void 0!==s&&k.current?.revealLine(s)},[s],x),H(()=>{M.current?.editor.setTheme(a)},[a],x);let F=(0,R.useCallback)(()=>{if(!(!T.current||!M.current)&&!P.current){O.current(M.current);let l=o||r,f=U(M.current,n||t||"",e||i||"",l||"");k.current=M.current?.editor.create(T.current,{model:f,automaticLayout:!0,...u},c),h&&k.current.restoreViewState(G.get(l)),M.current.editor.setTheme(a),void 0!==s&&k.current.revealLine(s),w(!0),P.current=!0}},[t,e,r,n,i,o,u,c,h,a,s]);return(0,R.useEffect)(()=>{x&&C.current(k.current,M.current)},[x]),(0,R.useEffect)(()=>{S||x||F()},[S,x,F]),I.current=n,(0,R.useEffect)(()=>{x&&_&&(E.current?.dispose(),E.current=k.current?.onDidChangeModelContent(t=>{B.current||_(k.current.getValue(),t)}))},[x,_]),(0,R.useEffect)(()=>{if(x){let t=M.current.editor.onDidChangeMarkers(t=>{let e=k.current.getModel()?.uri;if(e&&t.find(t=>t.path===e.path)){let t=M.current.editor.getModelMarkers({resource:e});b?.(t)}});return()=>{t?.dispose()}}return()=>{}},[x,b]),R.createElement(z,{width:p,height:d,isEditorReady:x,loading:l,_ref:T,className:g,wrapperProps:y})}),Y=$},35779(t,e,r){"use strict";function n(t){if(t){var e=t;for(var r in n.prototype)e[r]=n.prototype[r];return e}}r.d(e,{v:()=>n}),n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},n.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<n.length;i++)if((r=n[i])===e||r.fn===e){n.splice(i,1);break}return 0===n.length&&delete this._callbacks["$"+t],this},n.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=Array(arguments.length-1),r=this._callbacks["$"+t],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,i=r.length;n<i;++n)r[n].apply(this,e)}return this},n.prototype.emitReserved=n.prototype.emit,n.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},n.prototype.hasListeners=function(t){return!!this.listeners(t).length}},57837(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{_:()=>n})},70851(t,e,r){"use strict";r.d(e,{A:()=>n});let n=function(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=function t(e){var r,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(n=t(e[r]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}(t))&&(n&&(n+=" "),n+=e);return n}},30029(t,e,r){"use strict";r.r(e),r.d(e,{List:()=>d.A,helper:()=>n,ChartView:()=>p.A,getMap:()=>u.ZB,registerUpdateLifecycle:()=>u.xV,registerProcessor:()=>u.qg,parseGeoJson:()=>tt,Axis:()=>tT.A,registerVisual:()=>u.AF,throttle:()=>b.nF,dispose:()=>u.AS,color:()=>_,extendChartView:()=>tD,registerPostUpdate:()=>u.tb,dependencies:()=>u.El,disConnect:()=>u.zm,getInstanceByDom:()=>u.FP,getCoordinateSystemDimensions:()=>u.Bo,PRIORITY:()=>u.FQ,registerTheme:()=>u.bf,registerPostInit:()=>u.cf,setPlatformAPI:()=>N.Gs,ComponentModel:()=>c.A,registerLoading:()=>u.Ej,setCanvasCreator:()=>u.vV,parseGeoJSON:()=>tt,registerTransform:()=>u.iY,registerAction:()=>u.OH,dataTool:()=>u.p5,innerDrawElementOnCanvas:()=>tC.Xi,extendSeriesModel:()=>tI,vector:()=>v,registerLayout:()=>u.Oh,use:()=>F.Y,Model:()=>A.A,extendComponentView:()=>tE,getInstanceById:()=>u.aQ,graphic:()=>a,zrUtil:()=>m,env:()=>tk.A,extendComponentModel:()=>tO,registerMap:()=>u.mz,init:()=>u.Ts,time:()=>o,SeriesModel:()=>f.A,registerCoordinateSystem:()=>u.pX,zrender:()=>g,matrix:()=>y,util:()=>l,registerLocale:()=>u.E,registerPreprocessor:()=>u.lP,disconnect:()=>u.Zf,format:()=>s,ComponentView:()=>h.A,connect:()=>u.Ng,number:()=>i,version:()=>u.rE});var n={};r.r(n),r.d(n,{createDimensions:()=>O.M,createList:()=>D,createScale:()=>L,createSymbol:()=>E.v5,createTextStyle:()=>B,dataStack:()=>R,enableHoverEmphasis:()=>I.iJ,getECData:()=>T.z,getLayoutRect:()=>M.dV,mixinAxisModelCommonMethods:()=>P});var i={};r.r(i),r.d(i,{MAX_SAFE_INTEGER:()=>te.Is,asc:()=>te.Y6,getPercentWithPrecision:()=>te.wp,getPixelPrecision:()=>te.hb,getPrecision:()=>te.XV,getPrecisionSafe:()=>te.y6,isNumeric:()=>te.kf,isRadianAroundZero:()=>te.dh,linearMap:()=>te.Cb,nice:()=>te.Cm,numericToNumber:()=>te.Sm,parseDate:()=>te._U,quantile:()=>te.YV,quantity:()=>te.au,quantityExponent:()=>te.NX,reformIntervals:()=>te.sL,remRadian:()=>te._7,round:()=>te.LI});var o={};r.r(o),r.d(o,{format:()=>tr.GP,parse:()=>te._U});var a={};r.r(a),r.d(a,{Arc:()=>tv.A,BezierCurve:()=>ty.A,BoundingRect:()=>j.A,Circle:()=>tl.A,CompoundPath:()=>t_.A,Ellipse:()=>tu.A,Group:()=>to.A,Image:()=>ta.Ay,IncrementalDisplayable:()=>tm.A,Line:()=>tg.A,LinearGradient:()=>tb.A,Polygon:()=>tf.A,Polyline:()=>tp.A,RadialGradient:()=>tx.A,Rect:()=>td.A,Ring:()=>th.A,Sector:()=>tc.A,Text:()=>ts.Ay,clipPointsByRect:()=>tn.clipPointsByRect,clipRectByRect:()=>tn.clipRectByRect,createIcon:()=>tn.createIcon,extendPath:()=>tn.extendPath,extendShape:()=>tn.extendShape,getShapeClass:()=>tn.getShapeClass,getTransform:()=>tn.getTransform,initProps:()=>ti.LW,makeImage:()=>tn.makeImage,makePath:()=>tn.makePath,mergePath:()=>tn.mergePath,registerShape:()=>tn.registerShape,resizePath:()=>tn.resizePath,updateProps:()=>ti.oi});var s={};r.r(s),r.d(s,{addCommas:()=>tw.ob,capitalFirst:()=>tw.x5,encodeHTML:()=>tS.Me,formatTime:()=>tw.fU,formatTpl:()=>tw.YK,getTextRect:()=>tM,getTooltipMarker:()=>tw.qg,normalizeCssArray:()=>tw.QX,toCamelCase:()=>tw.Cb,truncateText:()=>tA.EJ});var l={};r.r(l),r.d(l,{bind:()=>m.bind,clone:()=>m.clone,curry:()=>m.curry,defaults:()=>m.defaults,each:()=>m.each,extend:()=>m.extend,filter:()=>m.filter,indexOf:()=>m.indexOf,inherits:()=>m.inherits,isArray:()=>m.isArray,isFunction:()=>m.isFunction,isObject:()=>m.isObject,isString:()=>m.isString,map:()=>m.map,merge:()=>m.merge,reduce:()=>m.reduce});var u=r(8737),c=r(77993),h=r(60987),f=r(51296),p=r(49927),d=r(70984),g=r(36587),y=r(67612),v=r(20914),m=r(60969),_=r(4783),b=r(62813),x=r(5652),w=r(58741),S=r(43724),A=r(8350),M=r(45263),k=r(32750),T=r(23764),C=r(5606),O=r(35037),E=r(27137),I=r(73327);function D(t){return(0,x.A)(null,t)}var R={isDimensionStacked:k.sJ,enableDataStack:k.iJ,getStackedDimension:k.me};function L(t,e){var r=e;e instanceof A.A||(r=new A.A(e));var n=w.f$(r);return n.setExtent(t[0],t[1]),w.af(n,r),n}function P(t){m.mixin(t,S.L)}function B(t,e){return e=e||{},(0,C.VB)(t,null,null,"normal"!==e.state)}var F=r(36473),N=r(17578),z=r(65959),j=r(87443),H=r(56638);function V(t,e){return 1e-8>Math.abs(t-e)}function U(t,e,r){var n=0,i=t[0];if(!i)return!1;for(var o=1;o<t.length;o++){var a=t[o];n+=(0,H.A)(i[0],i[1],a[0],a[1],e,r),i=a}var s=t[0];return V(i[0],s[0])&&V(i[1],s[1])||(n+=(0,H.A)(i[0],i[1],s[0],s[1],e,r)),0!==n}var W=[];function q(t,e){for(var r=0;r<t.length;r++)v.applyTransform(t[r],t[r],e)}function Z(t,e,r,n){for(var i=0;i<t.length;i++){var o=t[i];n&&(o=n.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(v.min(e,e,o),v.max(r,r,o))}}var G=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),$=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},Y=function(t){this.type="linestring",this.points=t},X=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.type="geoJSON",i.geometries=r,i._center=n&&[n[0],n[1]],i}return(0,z.C6)(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,r=0,n=0;n<e.length;n++){var i=e[n],o=i.exterior,a=o&&o.length;a>r&&(t=i,r=a)}if(t)return function(t){for(var e=0,r=0,n=0,i=t.length,o=t[i-1][0],a=t[i-1][1],s=0;s<i;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,r+=(o+l)*c,n+=(a+u)*c,o=l,a=u}return e?[r/e/3,n/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var r=[1/0,1/0],n=[-1/0,-1/0],i=this.geometries;return(0,m.each)(i,function(e){"polygon"===e.type?Z(e.exterior,r,n,t):(0,m.each)(e.points,function(e){Z(e,r,n,t)})}),isFinite(r[0])&&isFinite(r[1])&&isFinite(n[0])&&isFinite(n[1])||(r[0]=r[1]=n[0]=n[1]=0),e=new j.A(r[0],r[1],n[0]-r[0],n[1]-r[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),r=this.geometries;if(!e.contain(t[0],t[1]))return!1;r:for(var n=0,i=r.length;n<i;n++){var o=r[n];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(U(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(U(s[l],t[0],t[1]))continue r;return!0}}}return!1},e.prototype.transformTo=function(t,e,r,n){var i=this.getBoundingRect(),o=i.width/i.height;r?n||(n=r/o):r=o*n;for(var a=new j.A(t,e,r,n),s=i.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(q(c.exterior,s),(0,m.each)(c.interiors,function(t){q(t,s)})):(0,m.each)(c.points,function(t){q(t,s)})}(i=this._rect).copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var r=new e(t,this.geometries,this._center);return r._rect=this._rect,r.transformTo=null,r},e}(G);function K(t,e){var r=G.call(this,t)||this;return r.type="geoSVG",r._elOnlyForCalculate=e,r}function J(t,e,r){for(var n=0;n<t.length;n++)t[n]=Q(t[n],e[n],r)}function Q(t,e,r){for(var n=[],i=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;l=l>>1^-(1&l),s=(s>>1^-(1&s))+i,l+=o,i=s,o=l,n.push([s/r,l/r])}return n}function tt(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);var r=t.features;return m.each(r,function(t){var r=t.geometry,n=r.encodeOffsets,i=r.coordinates;if(n)switch(r.type){case"LineString":r.coordinates=Q(i,n,e);break;case"Polygon":case"MultiLineString":J(i,n,e);break;case"MultiPolygon":m.each(i,function(t,r){return J(t,n[r],e)})}}),t.UTF8Encoding=!1,t}(t),m.map(m.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var r=t.properties,n=t.geometry,i=[];switch(n.type){case"Polygon":var o=n.coordinates;i.push(new $(o[0],o.slice(1)));break;case"MultiPolygon":m.each(n.coordinates,function(t){t[0]&&i.push(new $(t[0],t.slice(1)))});break;case"LineString":i.push(new Y([n.coordinates]));break;case"MultiLineString":i.push(new Y(n.coordinates))}var a=new X(r[e||"name"],i,r.cp);return a.properties=r,a})}(0,z.C6)(K,G),K.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),r=[e.x+e.width/2,e.y+e.height/2],n=y.identity(W),i=t;i&&!i.isGeoSVGGraphicRoot;)y.mul(n,i.getLocalTransform(),n),i=i.parent;return y.invert(n,n),v.applyTransform(r,r,n),r};var te=r(30296),tr=r(31940),tn=r(36443),ti=r(65336),to=r(58377),ta=r(62963),ts=r(50583),tl=r(97642),tu=r(92170),tc=r(90473),th=r(14328),tf=r(80618),tp=r(14870),td=r(71734),tg=r(40964),ty=r(58730),tv=r(38464),tm=r(30682),t_=r(34742),tb=r(75241),tx=r(72243),tw=r(41606),tS=r(45175),tA=r(37083);function tM(t,e,r,n,i,o,a,s){return new ts.Ay({style:{text:t,font:e,align:r,verticalAlign:n,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}var tk=r(88934),tT=r(61435),tC=r(23623);function tO(t){var e=c.A.extend(t);return c.A.registerClass(e),e}function tE(t){var e=h.A.extend(t);return h.A.registerClass(e),e}function tI(t){var e=f.A.extend(t);return f.A.registerClass(e),e}function tD(t){var e=p.A.extend(t);return p.A.registerClass(e),e}var tR=r(31592),tL=r(82393),tP=r(92443),tB=r(60358),tF=r(71874),tN=r(98504),tz=r(46854),tj=2*Math.PI,tH=tF.A.CMD,tV=["top","right","bottom","left"];function tU(t,e,r,n,i,o,a,s){var l=r-t,u=n-e,c=Math.sqrt(l*l+u*u),h=((i-t)*(l/=c)+(o-e)*(u/=c))/c;s&&(h=Math.min(Math.max(h,0),1)),h*=c;var f=a[0]=t+h*l,p=a[1]=e+h*u;return Math.sqrt((f-i)*(f-i)+(p-o)*(p-o))}function tW(t,e,r,n,i,o,a){r<0&&(t+=r,r=-r),n<0&&(e+=n,n=-n);var s=t+r,l=e+n,u=a[0]=Math.min(Math.max(i,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var tq=[],tZ=new tP.A,tG=new tP.A,t$=new tP.A,tY=new tP.A,tX=new tP.A;function tK(t,e){if(t){var r=t.getTextGuideLine(),n=t.getTextContent();if(n&&r){var i=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||tV,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=i.anchor,c=t.getComputedTransform(),h=c&&(0,y.invert)([],c),f=e.get("length2")||0;u&&t$.copy(u);for(var p=0;p<a.length;p++){!function(t,e,r,n,i){var o=r.width,a=r.height;switch(t){case"top":n.set(r.x+o/2,r.y-0),i.set(0,-1);break;case"bottom":n.set(r.x+o/2,r.y+a+0),i.set(0,1);break;case"left":n.set(r.x-0,r.y+a/2),i.set(-1,0);break;case"right":n.set(r.x+o+0,r.y+a/2),i.set(1,0)}}(a[p],0,s,tZ,tY),tP.A.scaleAndAdd(tG,tZ,tY,f),tG.transform(h);var d=t.getBoundingRect(),g=u?u.distance(tG):t instanceof tB.Ay?function(t,e,r){for(var n,i,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,f=t.y,p=0;p<c.length;){var d=c[p++];1===p&&(o=c[p],a=c[p+1],s=o,l=a);var g=u;switch(d){case tH.M:s=c[p++],l=c[p++],o=s,a=l;break;case tH.L:g=tU(o,a,c[p],c[p+1],h,f,tq,!0),o=c[p++],a=c[p++];break;case tH.C:g=(0,tz.Et)(o,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],h,f,tq),o=c[p++],a=c[p++];break;case tH.Q:g=(0,tz.kh)(o,a,c[p++],c[p++],c[p],c[p+1],h,f,tq),o=c[p++],a=c[p++];break;case tH.A:var y=c[p++],v=c[p++],m=c[p++],_=c[p++],b=c[p++],x=c[p++];p+=1;var w=!!(1-c[p++]);n=Math.cos(b)*m+y,i=Math.sin(b)*_+v,p<=1&&(s=n,l=i);var S=(h-y)*_/m+y;g=function(t,e,r,n,i,o,a,s,l){var u=Math.sqrt((a-=t)*a+(s-=e)*s),c=(a/=u)*r+t,h=(s/=u)*r+e;if(Math.abs(n-i)%tj<1e-4)return l[0]=c,l[1]=h,u-r;if(o){var f=n;n=(0,tN.n)(i),i=(0,tN.n)(f)}else n=(0,tN.n)(n),i=(0,tN.n)(i);n>i&&(i+=tj);var p=Math.atan2(s,a);if(p<0&&(p+=tj),p>=n&&p<=i||p+tj>=n&&p+tj<=i)return l[0]=c,l[1]=h,u-r;var d=r*Math.cos(n)+t,g=r*Math.sin(n)+e,y=r*Math.cos(i)+t,v=r*Math.sin(i)+e,m=(d-a)*(d-a)+(g-s)*(g-s),_=(y-a)*(y-a)+(v-s)*(v-s);return m<_?(l[0]=d,l[1]=g,Math.sqrt(m)):(l[0]=y,l[1]=v,Math.sqrt(_))}(y,v,_,b,b+x,w,S,f,tq),o=Math.cos(b+x)*m+y,a=Math.sin(b+x)*_+v;break;case tH.R:g=tW(s=o=c[p++],l=a=c[p++],c[p++],c[p++],h,f,tq);break;case tH.Z:g=tU(o,a,s,l,h,f,tq,!0),o=s,a=l}g<u&&(u=g,r.set(tq[0],tq[1]))}return u}(tG,t.path,t$):function(t,e,r){var n=tW(e.x,e.y,e.width,e.height,t.x,t.y,tq);return r.set(tq[0],tq[1]),n}(tG,d,t$);g<l&&(l=g,tG.transform(c),t$.transform(c),t$.toArray(o[0]),tG.toArray(o[1]),tZ.toArray(o[2]))}(function(t,e){if(e<=180&&e>0){e=e/180*Math.PI,tZ.fromArray(t[0]),tG.fromArray(t[1]),t$.fromArray(t[2]),tP.A.sub(tY,tZ,tG),tP.A.sub(tX,t$,tG);var r=tY.len(),n=tX.len();if(!(r<.001)&&!(n<.001)&&(tY.scale(1/r),tX.scale(1/n),Math.cos(e)<tY.dot(tX))){var i=tU(tG.x,tG.y,t$.x,t$.y,tZ.x,tZ.y,tJ,!1);tQ.fromArray(tJ),tQ.scaleAndAdd(tX,i/Math.tan(Math.PI-e));var o=t$.x!==tG.x?(tQ.x-tG.x)/(t$.x-tG.x):(tQ.y-tG.y)/(t$.y-tG.y);if(isNaN(o))return;o<0?tP.A.copy(tQ,tG):o>1&&tP.A.copy(tQ,t$),tQ.toArray(t[1])}}})(o,e.get("minTurnAngle")),r.setShape({points:o})}}}var tJ=[],tQ=new tP.A;function t0(t,e,r,n){var i="normal"===r,o=i?t:t.ensureState(r);o.ignore=e;var a=n.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=n.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function t1(t,e){var r=e.smooth,n=e.points;if(n)if(t.moveTo(n[0][0],n[0][1]),r>0&&n.length>=3){var i=v.dist(n[0],n[1]),o=v.dist(n[1],n[2]);if(!i||!o){t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]);return}var a=Math.min(i,o)*r,s=v.lerp([],n[1],n[0],a/i),l=v.lerp([],n[1],n[2],a/o),u=v.lerp([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)t.lineTo(n[c][0],n[c][1])}var t2=r(73581),t5=["align","verticalAlign","width","height","fontSize"],t3=new tL.Ay,t6=(0,tR.$r)(),t4=(0,tR.$r)();function t8(t,e,r){for(var n=0;n<r.length;n++){var i=r[n];null!=e[i]&&(t[i]=e[i])}}var t9=["x","y","rotation"],t7=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,r,n,i){var o,a=n.style,s=n.__hostTarget.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();j.A.applyTransform(u,u,l),l?t3.setLocalTransform(l):(t3.x=t3.y=t3.rotation=t3.originX=t3.originY=0,t3.scaleX=t3.scaleY=1),t3.rotation=(0,tN.n)(t3.rotation);var c=n.__hostTarget;if(c){o=c.getBoundingRect().plain();var h=c.getComputedTransform();j.A.applyTransform(o,o,h)}var f=o&&c.getTextGuideLine();this._labelList.push({label:n,labelLine:f,seriesModel:r,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:o,priority:o?o.width*o.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:f&&f.ignore,x:t3.x,y:t3.y,scaleX:t3.scaleX,scaleY:t3.scaleY,rotation:t3.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(t){var e=this;this._chartViewList.push(t);var r=t.__model,n=r.get("labelLayout");((0,m.isFunction)(n)||(0,m.keys)(n).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var i=t.getTextContent(),o=(0,T.z)(t);i&&!i.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,r,i,n)})},t.prototype.updateLayoutConfig=function(t){for(var e=t.getWidth(),r=t.getHeight(),n=0;n<this._labelList.length;n++){var i=this._labelList[n],o=i.label,a=o.__hostTarget,s=i.defaultAttr,l=void 0;l=(l=(0,m.isFunction)(i.layoutOption)?i.layoutOption(function(t,e){var r=t.label,n=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:r.style.align,verticalAlign:r.style.verticalAlign,labelLinePoints:function(t){if(t){for(var e=[],r=0;r<t.length;r++)e.push(t[r].slice());return e}}(n&&n.shape.points)}}(i,a)):i.layoutOption)||{},i.computedLayoutOption=l;var u=Math.PI/180;a&&a.setTextConfig({local:!1,position:null!=l.x||null!=l.y?null:s.attachedPos,rotation:null!=l.rotate?l.rotate*u:s.attachedRot,offset:[l.dx||0,l.dy||0]});var c=!1;if(null!=l.x?(o.x=(0,te.lo)(l.x,e),o.setStyle("x",0),c=!0):(o.x=s.x,o.setStyle("x",s.style.x)),null!=l.y?(o.y=(0,te.lo)(l.y,r),o.setStyle("y",0),c=!0):(o.y=s.y,o.setStyle("y",s.style.y)),l.labelLinePoints){var h=a.getTextGuideLine();h&&(h.setShape({points:l.labelLinePoints}),c=!1)}t6(o).needsUpdateLabelLine=c,o.rotation=null!=l.rotate?l.rotate*u:s.rotation,o.scaleX=s.scaleX,o.scaleY=s.scaleY;for(var f=0;f<t5.length;f++){var p=t5[f];o.setStyle(p,null!=l[p]?l[p]:s.style[p])}if(l.draggable){if(o.draggable=!0,o.cursor="move",a){var d=i.seriesModel;null!=i.dataIndex&&(d=i.seriesModel.getData(i.dataType).getItemModel(i.dataIndex)),o.on("drag",function(t,e){return function(){tK(t,e)}}(a,d.getModel("labelLine")))}}else o.off("drag"),o.cursor=s.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),r=t.getHeight(),n=(0,t2.os)(this._labelList),i=(0,m.filter)(n,function(t){return"shiftX"===t.layoutOption.moveOverlap}),o=(0,m.filter)(n,function(t){return"shiftY"===t.layoutOption.moveOverlap});(0,t2.QX)(i,0,e),(0,t2.Xe)(o,0,r);var a=(0,m.filter)(n,function(t){return t.layoutOption.hideOverlap});(0,t2.If)(a)},t.prototype.processLabelsOverall=function(){var t=this;(0,m.each)(this._chartViewList,function(e){var r=e.__model,n=e.ignoreLabelLineUpdate,i=r.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!n,a=e.getTextContent();!o&&a&&(o=t6(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,r),i&&t._animateLabels(e,r)})})},t.prototype._updateLabelLine=function(t,e){var r=t.getTextContent(),n=(0,T.z)(t),i=n.dataIndex;if(r&&null!=i){var o=e.getData(n.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style");l&&(s.stroke=l[o.getVisual("drawType")]);var u=a.getModel("labelLine");!function(t,e,r){var n=t.getTextGuideLine(),i=t.getTextContent();if(!i){n&&t.removeTextGuideLine();return}for(var o=e.normal,a=o.get("show"),s=i.ignore,l=0;l<I.wV.length;l++){var u=I.wV[l],c=e[u],h="normal"===u;if(c){var f=c.get("show");if((h?s:(0,m.retrieve2)(i.states[u]&&i.states[u].ignore,s))||!(0,m.retrieve2)(f,a)){var p=h?n:n&&n.states[u];p&&(p.ignore=!0),n&&t0(n,!0,u,c);continue}!n&&(n=new tp.A,t.setTextGuideLine(n),h||!s&&a||t0(n,!0,"normal",e.normal),t.stateProxy&&(n.stateProxy=t.stateProxy)),t0(n,!1,u,c)}}if(n){(0,m.defaults)(n.style,r),n.style.fill=null;var d=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=d||!1,n.buildPath=t1}}(t,function(t,e){e=e||"labelLine";for(var r={normal:t.getModel(e)},n=0;n<I.BV.length;n++){var i=I.BV[n];r[i]=t.getModel([i,e])}return r}(a),s),tK(t,u)}},t.prototype._animateLabels=function(t,e){var r=t.getTextContent(),n=t.getTextGuideLine();if(r&&(t.forceLabelAnimation||!r.ignore&&!r.invisible&&!t.disableLabelAnimation&&!(0,ti.LR)(t))){var i=t6(r),o=i.oldLayout,a=(0,T.z)(t),s=a.dataIndex,l={x:r.x,y:r.y,rotation:r.rotation},u=e.getData(a.dataType);if(o){r.attr(o);var c=t.prevStates;c&&((0,m.indexOf)(c,"select")>=0&&r.attr(i.oldLayoutSelect),(0,m.indexOf)(c,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),(0,ti.oi)(r,l,e,s)}else if(r.attr(l),!(0,C.Lu)(r).valueAnimation){var h=(0,m.retrieve2)(r.style.opacity,1);r.style.opacity=0,(0,ti.LW)(r,{style:{opacity:h}},e,s)}if(i.oldLayout=l,r.states.select){var f=i.oldLayoutSelect={};t8(f,l,t9),t8(f,r.states.select,t9)}if(r.states.emphasis){var p=i.oldLayoutEmphasis={};t8(p,l,t9),t8(p,r.states.emphasis,t9)}(0,C.xb)(r,s,u,e,e)}if(n&&!n.ignore&&!n.invisible){var i=t4(n),o=i.oldLayout,d={points:n.shape.points};o?(n.attr({shape:o}),(0,ti.oi)(n,{shape:d},e)):(n.setShape(d),n.style.strokePercent=0,(0,ti.LW)(n,{style:{strokePercent:1}},e)),i.oldLayout=d}},t}(),et=(0,tR.$r)();(0,F.Y)(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,r){var n=et(e).labelManager;n||(n=et(e).labelManager=new t7),n.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,r){var n=et(e).labelManager;r.updatedSeries.forEach(function(t){n.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),n.updateLayoutConfig(e),n.layout(e),n.processLabelsOverall()})})},65336(t,e,r){"use strict";r.d(e,{Jw:()=>i,LR:()=>l,LW:()=>s,Nz:()=>u,oi:()=>a,t5:()=>h});var n=r(60969);function i(t,e,r,i,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var c=void 0,h=void 0,f=void 0;return i?(c=(0,n.retrieve2)(i.duration,200),h=(0,n.retrieve2)(i.easing,"cubicOut"),f=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),f=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(f=a.delay)),(0,n.isFunction)(f)&&(f=f(r,o)),(0,n.isFunction)(c)&&(c=c(r)),{duration:c||0,delay:f,easing:h}}function o(t,e,r,o,a,s,l){var u,c=!1;(0,n.isFunction)(a)?(l=s,s=a,a=null):(0,n.isObject)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var f=i(t,o,a,h?u||{}:null,o&&o.getAnimationDelayParams?o.getAnimationDelayParams(e,a):null);if(f&&f.duration>0){var p={duration:f.duration,delay:f.delay||0,easing:f.easing,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(r,p):e.animateTo(r,p)}else e.stopAnimation(),c||e.attr(r),l&&l(1),s&&s()}function a(t,e,r,n,i,a){o("update",t,e,r,n,i,a)}function s(t,e,r,n,i,a){o("enter",t,e,r,n,i,a)}function l(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function u(t,e,r,n,i,a){l(t)||o("leave",t,e,r,n,i,a)}function c(t,e,r,n){t.removeTextContent(),t.removeTextGuideLine(),u(t,{style:{opacity:0}},e,r,n)}function h(t,e,r){function n(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||c(t,e,r,n)}):c(t,e,r,n)}(0,r(31592).$r)()},44491(t,e,r){"use strict";r.d(e,{a:()=>tT});var n=r(65959),i=r(5652),o=r(31592),a=r(51296),s={color:"fill",borderColor:"stroke"},l={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u=(0,o.$r)(),c=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,n.C6)(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return(0,i.A)(null,this)},e.prototype.getDataParams=function(e,r,n){var i=t.prototype.getDataParams.call(this,e,r);return n&&(i.info=u(n).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(a.A),h=r(60969),f=r(60358),p=r(36443),d=r(62963),g=r(50583),y=r(58377),v=r(73327),m=r(5606),_=r(24589);function b(t,e){var r=t.mapDimensionsAll("defaultedLabel"),n=r.length;if(1===n){var i=(0,_.QE)(t,e,r[0]);return null!=i?i+"":null}if(n){for(var o=[],a=0;a<r.length;a++)o.push((0,_.QE)(t,e,r[a]));return o.join(" ")}}var x=r(68518),w=r(19621),S=r(49927),A=r(71734),M=r(65336),k=r(90473),T=r(30296);function C(t,e){return e=e||[0,0],h.map(["x","y"],function(r,n){var i=this.getAxis(r),o=e[n],a=t[n]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))},this)}function O(t,e){return e=e||[0,0],h.map([0,1],function(r){var n=e[r],i=t[r]/2,o=[],a=[];return o[r]=n-i,a[r]=n+i,o[1-r]=a[1-r]=e[1-r],Math.abs(this.dataToPoint(o)[r]-this.dataToPoint(a)[r])},this)}function E(t,e){var r=this.getAxis(),n=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(n-i)-r.dataToCoord(n+i))}function I(t,e){return e=e||[0,0],h.map(["Radius","Angle"],function(r,n){var i=this["get"+r+"Axis"](),o=e[n],a=t[n]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===r&&(s=s*Math.PI/180),s},this)}var D=r(48504);function R(t,e){e&&(e.font=e.textFont||e.font,(0,h.hasOwn)(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),(0,h.hasOwn)(e,"textAlign")&&(t.align=e.textAlign),(0,h.hasOwn)(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),(0,h.hasOwn)(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),(0,h.hasOwn)(e,"textWidth")&&(t.width=e.textWidth),(0,h.hasOwn)(e,"textHeight")&&(t.height=e.textHeight),(0,h.hasOwn)(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),(0,h.hasOwn)(e,"textPadding")&&(t.padding=e.textPadding),(0,h.hasOwn)(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),(0,h.hasOwn)(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),(0,h.hasOwn)(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),(0,h.hasOwn)(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),(0,h.hasOwn)(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),(0,h.hasOwn)(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),(0,h.hasOwn)(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function L(t,e,r){t.textPosition=t.textPosition||r.position||"inside",null!=r.offset&&(t.textOffset=r.offset),null!=r.rotation&&(t.textRotation=r.rotation),null!=r.distance&&(t.textDistance=r.distance);var n=t.textPosition.indexOf("inside")>=0,i=t.fill||"#000";P(t,e);var o=null==t.textFill;return n?o&&(t.textFill=r.insideFill||"#fff",!t.textStroke&&r.insideStroke&&(t.textStroke=r.insideStroke),t.textStroke||(t.textStroke=i),null==t.textStrokeWidth&&(t.textStrokeWidth=2)):(o&&(t.textFill=t.fill||r.outsideFill||"#000"),!t.textStroke&&r.outsideStroke&&(t.textStroke=r.outsideStroke)),t.text=e.text,t.rich=e.rich,(0,h.each)(e.rich,function(t){P(t,t)}),t}function P(t,e){e&&((0,h.hasOwn)(e,"fill")&&(t.textFill=e.fill),(0,h.hasOwn)(e,"stroke")&&(t.textStroke=e.fill),(0,h.hasOwn)(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),(0,h.hasOwn)(e,"font")&&(t.font=e.font),(0,h.hasOwn)(e,"fontStyle")&&(t.fontStyle=e.fontStyle),(0,h.hasOwn)(e,"fontWeight")&&(t.fontWeight=e.fontWeight),(0,h.hasOwn)(e,"fontSize")&&(t.fontSize=e.fontSize),(0,h.hasOwn)(e,"fontFamily")&&(t.fontFamily=e.fontFamily),(0,h.hasOwn)(e,"align")&&(t.textAlign=e.align),(0,h.hasOwn)(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),(0,h.hasOwn)(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),(0,h.hasOwn)(e,"width")&&(t.textWidth=e.width),(0,h.hasOwn)(e,"height")&&(t.textHeight=e.height),(0,h.hasOwn)(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),(0,h.hasOwn)(e,"padding")&&(t.textPadding=e.padding),(0,h.hasOwn)(e,"borderColor")&&(t.textBorderColor=e.borderColor),(0,h.hasOwn)(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),(0,h.hasOwn)(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),(0,h.hasOwn)(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),(0,h.hasOwn)(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),(0,h.hasOwn)(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),(0,h.hasOwn)(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),(0,h.hasOwn)(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),(0,h.hasOwn)(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),(0,h.hasOwn)(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),(0,h.hasOwn)(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var B=r(46755),F=r(33290),N=r(21542),z=r(82393),j={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},H=(0,h.keys)(j);(0,h.reduce)(z.Wx,function(t,e){return t[e]=1,t},{}),z.Wx.join(", ");var V=["","style","shape","extra"],U=(0,o.$r)();function W(t,e,r,n,i){var o=t+"Animation",a=(0,M.Jw)(t,n,i)||{},s=U(e).userDuring;return a.duration>0&&(a.during=s?(0,h.bind)(Y,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),(0,h.extend)(a,r[o]),a}function q(t,e,r,n){if(t){var i=t.parent,o=U(t).leaveToProps;if(o){var a=W("update",t,e,r,0);a.done=function(){i.remove(t),n&&n()},t.animateTo(o,a)}else i.remove(t),n&&n()}}function Z(t){return"all"===t}var G={},$={setTransform:function(t,e){return G.el[t]=e,this},getTransform:function(t){return G.el[t]},setShape:function(t,e){var r=G.el;return(r.shape||(r.shape={}))[t]=e,r.dirtyShape&&r.dirtyShape(),this},getShape:function(t){var e=G.el.shape;if(e)return e[t]},setStyle:function(t,e){var r=G.el,n=r.style;return n&&(n[t]=e,r.dirtyStyle&&r.dirtyStyle()),this},getStyle:function(t){var e=G.el.style;if(e)return e[t]},setExtra:function(t,e){return(G.el.extra||(G.el.extra={}))[t]=e,this},getExtra:function(t){var e=G.el.extra;if(e)return e[t]}};function Y(){var t=this.el;if(t){var e=U(t).userDuring,r=this.userDuring;if(e!==r){this.el=this.userDuring=null;return}G.el=t,r($)}}function X(t,e,r,n){var i,a=r[t];if(a){var s=e[t];if(s){var l=r.transition,u=a.transition;if(u)if(i||(i=n[t]={}),Z(u))(0,h.extend)(i,s);else for(var c=(0,o.qB)(u),f=0;f<c.length;f++){var p=c[f],d=s[p];i[p]=d}else if(Z(l)||(0,h.indexOf)(l,t)>=0){i||(i=n[t]={});for(var g=(0,h.keys)(s),f=0;f<g.length;f++){var y,v,p=g[f],d=s[p];y=a[p],v=d,((0,h.isArrayLike)(y)?y!==v:null!=y&&isFinite(y))&&(i[p]=d)}}}}}function K(t,e,r){var n=e[t];if(n)for(var i=r[t]={},o=(0,h.keys)(n),a=0;a<o.length;a++){var s=o[a];i[s]=(0,N.F)(n[s])}}var J=(0,o.$r)(),Q=["percent","easing","shape","style","extra"],tt="emphasis",te="normal",tr="blur",tn="select",ti=[te,tt,tr,tn],to={normal:["itemStyle"],emphasis:[tt,"itemStyle"],blur:[tr,"itemStyle"],select:[tn,"itemStyle"]},ta={normal:["label"],emphasis:[tt,"label"],blur:[tr,"label"],select:[tn,"label"]},ts=["x","y"],tl={normal:{},emphasis:{},blur:{},select:{}},tu={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:h.bind(C,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:h.bind(O,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:(0,h.bind)(E,t)}}},polar:function(t){var e=t.getRadiusAxis(),r=t.getAngleAxis(),n=e.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:n[1],r0:n[0]},api:{coord:function(n){var i=e.dataToRadius(n[0]),o=r.dataToAngle(n[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:h.bind(I,t)}}},calendar:function(t){var e=t.getRect(),r=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:r.start,end:r.end,weeks:r.weeks,dayCount:r.allDay}},api:{coord:function(e,r){return t.dataToPoint(e,r)}}}}};function tc(t){return t instanceof f.Ay}function th(t){return t instanceof D.Ay}var tf=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,n.C6)(e,t),e.prototype.render=function(t,e,r,n){this._progressiveEls=null;var i=this._data,o=t.getData(),a=this.group,s=ty(t,o,e,r);i||a.removeAll(),o.diff(i).add(function(e){tv(r,null,e,s(e,n),t,a,o)}).remove(function(e){var r=i.getItemGraphicEl(e);r&&q(r,u(r).option,t)}).update(function(e,l){tv(r,i.getItemGraphicEl(l),e,s(e,n),t,a,o)}).execute();var l=t.get("clip",!0)?function(t,e,r,n,i){if(t){if("polar"===t.type){var o,a,s,l;return o=t.getArea(),a=(0,T.LI)(o.r0,1),s=(0,T.LI)(o.r,1),l=new k.A({shape:{cx:(0,T.LI)(t.cx,1),cy:(0,T.LI)(t.cy,1),r0:a,r:s,startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}}),e&&("angle"===t.getBaseAxis().dim?l.shape.endAngle=o.startAngle:l.shape.r=a,M.LW(l,{shape:{endAngle:o.endAngle,r:s}},r)),l}else if("cartesian2d"===t.type)return function(t,e,r,n,i){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=r.get(["lineStyle","width"])||0;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var f=new A.A({shape:{x:a,y:s,width:l,height:u}});if(e){var p=t.getBaseAxis(),d=p.isHorizontal(),g=p.inverse;d?(g&&(f.shape.x+=l),f.shape.width=0):(g||(f.shape.y+=u),f.shape.height=0);var y=(0,h.isFunction)(i)?function(t){i(t,f)}:null;M.LW(f,{shape:{width:l,height:u,x:a,y:s}},r,null,n,y)}return f}(t,e,r,void 0,void 0)}return null}(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,r){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,r,n,i){var o=e.getData(),a=ty(e,o,r,n),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=tv(null,null,u,a(u,i),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){p.traverseElements(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,r,n){var i=e.element;if(null==i||r.name===i)return!0;for(;(r=r.__hostTarget||r.parent)&&r!==this.group;)if(r.name===i)return!0;return!1},e.type="custom",e}(S.A);function tp(t){var e,r=t.type;if("path"===r){var n=t.shape,i=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=tk(n);u(e=p.makePath(o,null,i,n.layout||"center")).customPathData=o}else if("image"===r)u(e=new d.Ay({})).customImagePath=t.style.image;else if("text"===r)e=new g.Ay({});else if("group"===r)e=new y.A;else if("compoundPath"===r)throw Error('"compoundPath" is not supported yet.');else{var a=p.getShapeClass(r);a||(0,B.$8)(""),e=new a}return u(e).customGraphicType=r,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function td(t,e,r,n,i,a,s){e.stopAnimation("keyframe"),e.attr(J(e));var l=i&&i.normal.cfg;l&&e.setTextConfig(l),n&&null==n.transition&&(n.transition=ts);var u=n&&n.style;if(u){"text"===e.type&&((0,h.hasOwn)(u,"textFill")&&(u.fill=u.textFill),(0,h.hasOwn)(u,"textStroke")&&(u.stroke=u.textStroke));var c=void 0,p=tc(e)?u.decal:null;t&&p&&(p.dirty=!0,c=(0,F.w)(p,t)),u.__decalPattern=c}if(th(e)&&u){var c=u.__decalPattern;c&&(u.decal=c)}!function(t,e,r,n){var i,a,s=(n=n||{}).dataIndex,l=n.isInit,u=n.clearStyle,c=r.isAnimationEnabled(),p=U(t),d=e.style;p.userDuring=e.during;var g={},y={};if(function(t,e,r){for(var n=0;n<H.length;n++){var i=H[n],o=j[i],a=e[i];a&&(r[o[0]]=a[0],r[o[1]]=a[1])}for(var n=0;n<z.Wx.length;n++){var s=z.Wx[n];null!=e[s]&&(r[s]=e[s])}}(0,e,y),K("shape",e,y),K("extra",e,y),!l&&c&&(function(t,e,r){for(var n=e.transition,i=Z(n)?z.Wx:(0,o.qB)(n||[]),a=0;a<i.length;a++){var s=i[a];if("style"!==s&&"shape"!==s&&"extra"!==s){var l=t[s];r[s]=l}}}(t,e,g),X("shape",t,e,g),X("extra",t,e,g),function(t,e,r,n){if(r){var i,a=t.style;if(a){var s=r.transition,l=e.transition;if(s&&!Z(s)){var u=(0,o.qB)(s);i||(i=n.style={});for(var c=0;c<u.length;c++){var f=u[c],p=a[f];i[f]=p}}else if(t.getAnimationStyleProps&&(Z(l)||Z(s)||(0,h.indexOf)(l,"style")>=0)){var d=t.getAnimationStyleProps(),g=d?d.style:null;if(g){i||(i=n.style={});for(var y=(0,h.keys)(r),c=0;c<y.length;c++){var f=y[c];if(g[f]){var p=a[f];i[f]=p}}}}}}}(t,e,d,g)),y.style=d,function(t,e,r){var n=e.style;if(!t.isGroup&&n){if(r){t.useStyle({});for(var i=t.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(n)}e&&(e.style=null,e&&t.attr(e),e.style=n)}(t,y,u),i=t,a=e,(0,h.hasOwn)(a,"silent")&&(i.silent=a.silent),(0,h.hasOwn)(a,"ignore")&&(i.ignore=a.ignore),i instanceof D.Ay&&(0,h.hasOwn)(a,"invisible")&&(i.invisible=a.invisible),i instanceof f.Ay&&(0,h.hasOwn)(a,"autoBatch")&&(i.autoBatch=a.autoBatch),c)if(l){var v={};(0,h.each)(V,function(t){var r=t?e[t]:e;r&&r.enterFrom&&(t&&(v[t]=v[t]||{}),(0,h.extend)(t?v[t]:v,r.enterFrom))});var m=W("enter",t,e,r,s);m.duration>0&&t.animateFrom(v,m)}else{var _=t,b=e,x=s||0,w=r,S=g;if(S){var A=W("update",_,b,w,x);A.duration>0&&_.animateFrom(S,A)}}(function(t,e){for(var r=U(t).leaveToProps,n=0;n<V.length;n++){var i=V[n],o=i?e[i]:e;o&&o.leaveTo&&(r||(r=U(t).leaveToProps={}),i&&(r[i]=r[i]||{}),(0,h.extend)(i?r[i]:r,o.leaveTo))}})(t,e),d?t.dirty():t.markRedraw()}(e,n,a,{dataIndex:r,isInit:s,clearStyle:!0}),function t(e,r,n){if(n.isAnimationEnabled()&&r){if((0,h.isArray)(r))return void(0,h.each)(r,function(r){t(e,r,n)});var i=r.keyframes,o=r.duration;if(n&&null==o){var a=(0,M.Jw)("enter",n,0);o=a&&a.duration}if(i&&o){var s=J(e);(0,h.each)(V,function(t){var n;t&&!e[t]||(i.sort(function(t,e){return t.percent-e.percent}),(0,h.each)(i,function(i){var a=e.animators,l=t?i[t]:i;if(l){var u=(0,h.keys)(l);if(t||(u=(0,h.filter)(u,function(t){return 0>(0,h.indexOf)(Q,t)})),u.length){n||((n=e.animate(t,r.loop,!0)).scope="keyframe");for(var c=0;c<a.length;c++)a[c]!==n&&a[c].targetName===n.targetName&&a[c].stopTracks(u);t&&(s[t]=s[t]||{});var f=t?s[t]:s;(0,h.each)(u,function(r){f[r]=((t?e[t]:e)||{})[r]}),n.whenWithKeys(o*i.percent,l,u,i.easing)}}}),n&&n.delay(r.delay||0).duration(o).start(r.easing))})}}}(e,n.keyframeAnimation,a)}function tg(t,e,r,n,i){var o=e.isGroup?null:e,a=i&&i[t].cfg;if(o){var s=o.ensureState(t);if(!1===n){var l=o.getState(t);l&&(l.style=null)}else s.style=n||null;a&&(s.textConfig=a),(0,v.DW)(o)}}function ty(t,e,r,n){var i,o,a,u,c=t.get("renderItem"),f=t.coordinateSystem,p={};f&&(p=f.prepareCustoms?f.prepareCustoms(f):tu[f.type](f));for(var d=(0,h.defaults)({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,r){return null==r&&(r=a),e.getStore().get(e.getDimensionIndex(t||0),r)},style:function(r,n){null==n&&(n=a);var i=e.getItemVisual(n,"style"),o=i&&i.fill,s=i&&i.opacity,l=k(n,te).getItemStyle();null!=o&&(l.fill=o),null!=s&&(l.opacity=s);var u={inheritColor:(0,h.isString)(o)?o:"#000"},c=T(n,te),f=m.VB(c,null,u,!1,!0);f.text=c.getShallow("show")?(0,h.retrieve2)(t.getFormattedLabel(n,te),b(e,n)):null;var p=m.sD(c,u,!1);return O(r,l),l=L(l,f,p),r&&C(l,r),l.legacy=!0,l},ordinalRawValue:function(t,r){null==r&&(r=a),t=t||0;var n=e.getDimensionInfo(t);if(!n){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,r):void 0}var o=e.get(n.name,r),s=n&&n.ordinalMeta;return s?s.categories[o]:o},styleEmphasis:function(r,n){null==n&&(n=a);var i=k(n,tt).getItemStyle(),o=T(n,tt),s=m.VB(o,null,null,!0,!0);s.text=o.getShallow("show")?(0,h.retrieve3)(t.getFormattedLabel(n,tt),t.getFormattedLabel(n,te),b(e,n)):null;var l=m.sD(o,null,!0);return O(r,i),i=L(i,s,l),r&&C(i,r),i.legacy=!0,i},visual:function(t,r){if(null==r&&(r=a),(0,h.hasOwn)(s,t)){var n=e.getItemVisual(r,"style");return n?n[s[t]]:null}if((0,h.hasOwn)(l,t))return e.getItemVisual(r,t)},barLayout:function(t){if("cartesian2d"===f.type){var e=f.getBaseAxis();return(0,x.DL)((0,h.defaults)({axis:e},t))}},currentSeriesIndices:function(){return r.getCurrentSeriesIndices()},font:function(t){return m.c8(t,r)}},p.api||{}),g={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:p.coordSys,dataInsideLength:e.count(),encode:(i=t.getData(),o={},(0,h.each)(i.dimensions,function(t){var e=i.getDimensionInfo(t);if(!e.isExtraCoord){var r=e.coordDim;(o[r]=o[r]||[])[e.coordDimIndex]=i.getDimensionIndex(t)}}),o)},y={},v={},_={},w={},S=0;S<ti.length;S++){var A=ti[S];_[A]=t.getModel(to[A]),w[A]=t.getModel(ta[A])}function M(t){return t===a?u||(u=e.getItemModel(t)):e.getItemModel(t)}function k(t,r){return e.hasItemOption?t===a?y[r]||(y[r]=M(t).getModel(to[r])):M(t).getModel(to[r]):_[r]}function T(t,r){return e.hasItemOption?t===a?v[r]||(v[r]=M(t).getModel(ta[r])):M(t).getModel(ta[r]):w[r]}return function(t,r){return a=t,u=null,y={},v={},c&&c((0,h.defaults)({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:r?r.type:null},g),d)};function C(t,e){for(var r in e)(0,h.hasOwn)(e,r)&&(t[r]=e[r])}function O(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function tv(t,e,r,n,i,o,a){if(!n)return void o.remove(e);var s=tm(t,e,r,n,i,o);return s&&a.setItemGraphicEl(r,s),s&&(0,v.Lm)(s,n.focus,n.blurScope,n.emphasisDisabled),s}function tm(t,e,r,n,i,o){var a,s=-1,l=e;e&&t_(e,n,i)&&(s=(0,h.indexOf)(o.childrenRef(),e),e=null);var c=!e,f=e;f?f.clearStates():(f=tp(n),l&&((a=f).copyTransform(l),th(a)&&th(l)&&(a.setStyle(l.style),a.z=l.z,a.z2=l.z2,a.zlevel=l.zlevel,a.invisible=l.invisible,a.ignore=l.ignore,tc(a)&&tc(l)&&a.setShape(l.shape)))),!1===n.morph?f.disableMorphing=!0:f.disableMorphing&&(f.disableMorphing=!1),tl.normal.cfg=tl.normal.conOpt=tl.emphasis.cfg=tl.emphasis.conOpt=tl.blur.cfg=tl.blur.conOpt=tl.select.cfg=tl.select.conOpt=null,tl.isLegacy=!1,function(t,e,r,n,i,o){if(!t.isGroup){tb(r,null,o),tb(r,tt,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=tp(a),t.setTextContent(c)),td(null,c,e,a,null,n,i);for(var h=a&&a.style,f=0;f<ti.length;f++){var p=ti[f];if(p!==te){var d=o[p].conOpt;tg(p,c,d,tw(a,d,p),null)}}h?c.dirty():c.markRedraw()}}}}(f,r,n,i,c,tl),function(t,e,r,n,i){var o=r.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&t_(a,o,n)&&(a=null),a||(a=tp(o),t.setClipPath(a)),td(null,a,e,o,null,n,i)}}(f,r,n,i,c),td(t,f,r,n,tl,i,c),(0,h.hasOwn)(n,"info")&&(u(f).info=n.info);for(var p=0;p<ti.length;p++){var d=ti[p];if(d!==te){var g=tx(n,d),y=tw(n,g,d);tg(d,f,g,y,tl)}}var v=f;if(!v.isGroup){var m=i.currentZ,_=i.currentZLevel;v.z=m,v.zlevel=_;var b=n.z2;null!=b&&(v.z2=b||0);for(var x=0;x<ti.length;x++)!function(t,e,r){var n=r===te,i=n?e:tx(e,r),o=i?i.z2:null;null!=o&&((n?t:t.ensureState(r)).z2=o||0)}(v,n,ti[x])}return"group"===n.type&&function(t,e,r,n,i){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,c=!1===s;if(a||l||c){if(l){return g={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:r,seriesModel:i,group:e},new w.A(g.oldChildren,g.newChildren,tS,tS,g).add(tA).update(tA).remove(tM).execute()}c&&e.removeAll();for(var h=0;h<a;h++){var f=o[h],p=e.childAt(h);f?(null==f.ignore&&(f.ignore=!1),tm(t,p,r,f,i,e)):p.ignore=!0}for(var d=e.childCount()-1;d>=h;d--){var g,y,v,m,_=e.childAt(d);y=e,v=_,m=i,v&&q(v,u(y).option,m)}}}(t,f,r,n,i),s>=0?o.replaceAt(f,s):o.add(f),f}function t_(t,e,r){var n,i=u(t),o=e.type,a=e.shape,s=e.style;return r.isUniversalTransitionEnabled()||null!=o&&o!==i.customGraphicType||"path"===o&&(n=a)&&((0,h.hasOwn)(n,"pathData")||(0,h.hasOwn)(n,"d"))&&tk(a)!==i.customPathData||"image"===o&&(0,h.hasOwn)(s,"image")&&s.image!==i.customImagePath}function tb(t,e,r){var n,i,o=e?tx(t,e):t,a=e?tw(t,o,tt):t.style,s=t.type,l=o?o.textConfig:null,u=t.textContent,c=u?e?tx(u,e):u:null;if(a&&(r.isLegacy||(n=!!l,i=!!c,a&&(a.legacy||!1!==a.legacy&&!n&&!i&&"tspan"!==s&&("text"===s||(0,h.hasOwn)(a,"text")))))){r.isLegacy=!0;var f=function(t,e,r){var n,i,o;if("text"===e)o=t;else{o={},(0,h.hasOwn)(t,"text")&&(o.text=t.text),(0,h.hasOwn)(t,"rich")&&(o.rich=t.rich),(0,h.hasOwn)(t,"textFill")&&(o.fill=t.textFill),(0,h.hasOwn)(t,"textStroke")&&(o.stroke=t.textStroke),(0,h.hasOwn)(t,"fontFamily")&&(o.fontFamily=t.fontFamily),(0,h.hasOwn)(t,"fontSize")&&(o.fontSize=t.fontSize),(0,h.hasOwn)(t,"fontStyle")&&(o.fontStyle=t.fontStyle),(0,h.hasOwn)(t,"fontWeight")&&(o.fontWeight=t.fontWeight),i={type:"text",style:o,silent:!0},n={};var a=(0,h.hasOwn)(t,"textPosition");r?n.position=a?t.textPosition:"inside":a&&(n.position=t.textPosition),(0,h.hasOwn)(t,"textPosition")&&(n.position=t.textPosition),(0,h.hasOwn)(t,"textOffset")&&(n.offset=t.textOffset),(0,h.hasOwn)(t,"textRotation")&&(n.rotation=t.textRotation),(0,h.hasOwn)(t,"textDistance")&&(n.distance=t.textDistance)}return R(o,t),(0,h.each)(o.rich,function(t){R(t,t)}),{textConfig:n,textContent:i}}(a,s,!e);!l&&f.textConfig&&(l=f.textConfig),!c&&f.textContent&&(c=f.textContent)}if(!e&&c){var p=c;p.type||(p.type="text")}var d=e?r[e]:r.normal;d.cfg=l,d.conOpt=c}function tx(t,e){return e?t?t[e]:null:t}function tw(t,e,r){var n=e&&e.style;return null==n&&r===tt&&t&&(n=t.styleEmphasis),n}function tS(t,e){var r=t&&t.name;return null!=r?r:"e\0\0"+e}function tA(t,e){var r=this.context,n=null!=t?r.newChildren[t]:null,i=null!=e?r.oldChildren[e]:null;tm(r.api,i,r.dataIndex,n,r.seriesModel,r.group)}function tM(t){var e=this.context,r=e.oldChildren[t];r&&q(r,u(r).option,e.seriesModel)}function tk(t){return t&&(t.pathData||t.d)}function tT(t){t.registerChartView(tf),t.registerSeriesModel(c)}},5652(t,e,r){"use strict";r.d(e,{A:()=>y});var n=r(60969),i=r(70984),o=r(35037),a=r(90318),s=r(31592),l=r(42399),u=function(t){this.coordSysDims=[],this.axisMap=(0,n.createHashMap)(),this.categoryAxisMap=(0,n.createHashMap)(),this.coordSysName=t},c={cartesian2d:function(t,e,r,n){var i=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],r.set("x",i),r.set("y",o),h(i)&&(n.set("x",i),e.firstCategoryDimIndex=0),h(o)&&(n.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,r,n){var i=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],r.set("single",i),h(i)&&(n.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,r,n){var i=t.getReferringComponents("polar",s.US).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],r.set("radius",o),r.set("angle",a),h(o)&&(n.set("radius",o),e.firstCategoryDimIndex=0),h(a)&&(n.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,r,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,r,i){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,n.each)(a.parallelAxisIndex,function(t,n){var a=o.getComponent("parallelAxis",t),l=s[n];r.set(l,a),h(a)&&(i.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=n))})}};function h(t){return"category"===t.get("type")}var f=r(19684),p=r(32750),d=r(87013),g=r(52116);let y=function(t,e,r){r=r||{};var h,y,v,m,_,b,x,w,S=e.getSourceManager(),A=!1;t?(A=!0,w=(0,f.AF)(t)):A=(w=S.getSource()).sourceFormat===g.mK;var M=function(t){var e=t.get("coordinateSystem"),r=new u(e),n=c[e];if(n)return n(t,r,r.axisMap,r.categoryAxisMap),r}(e),k=(y=e.get("coordinateSystem"),v=l.A.get(y),M&&M.coordSysDims&&(h=n.map(M.coordSysDims,function(t){var e={name:t},r=M.axisMap.get(t);if(r){var n=r.get("type");e.type=(0,a.B)(n)}return e})),h||(h=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),h),T=r.useEncodeDefaulter,C=n.isFunction(T)?T:T?n.curry(d.OC,k,e):null,O={coordDimensions:k,generateCoord:r.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:C,canOmitUnusedDimensions:!A},E=(0,o.A)(w,O),I=(m=E.dimensions,_=r.createInvertedIndices,M&&n.each(m,function(t,e){var r=t.coordDim,n=M.categoryAxisMap.get(r);n&&(null==b&&(b=e),t.ordinalMeta=n.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(x=!0)}),x||null==b||(m[b].otherDims.itemName=0),b),D=A?null:S.getSharedDataStore(E),R=(0,p.iJ)(e,{schema:E,store:D}),L=new i.A(E,e);L.setCalculationInfo(R);var P=null!=I&&function(t){if(t.sourceFormat===g.mK){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!n.isArray((0,s.vj)(e))}}(w)?function(t,e,r,n){return n===I?r:this.defaultDimValueGetter(t,e,r,n)}:null;return L.hasItemOption=!1,L.initData(A?w:D,null,P),L}},22570(t,e,r){"use strict";r.d(e,{a:()=>tB});var n=r(60969);function i(t,e,r){if(t&&n.indexOf(e,t.type)>=0){var i=r.getData().tree.root,o=t.targetNode;if(n.isString(o)&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}}function o(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function a(t,e){var r=o(t);return n.indexOf(r,e)>=0}function s(t,e){for(var r=[];t;){var n=t.dataIndex;r.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return r.reverse(),r}var l=["treemapZoomToNode","treemapRender","treemapMove"],u=r(65959),c=r(51296),h=r(31592),f=(0,h.$r)();function p(t,e){var r;if(r=this,f(r).mainData===r){var i=(0,n.extend)({},f(this).datas);i[this.dataType]=e,m(e,i,t)}else _(e,this.dataType,f(this).mainData,t);return e}function d(t,e){return t.struct&&t.struct.update(),e}function g(t,e){return(0,n.each)(f(e).datas,function(r,n){r!==e&&_(r.cloneShallow(),n,e,t)}),e}function y(t){var e=f(this).mainData;return null==t||null==e?e:f(e).datas[t]}function v(){var t=f(this).mainData;return null==t?[{data:t}]:(0,n.map)((0,n.keys)(f(t).datas),function(e){return{type:e,data:f(t).datas[e]}})}function m(t,e,r){f(t).datas={},(0,n.each)(e,function(e,n){_(e,n,t,r)})}function _(t,e,r,n){f(r).datas[e]=t,f(t).mainData=r,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=y,t.getLinkedDataAll=v}let b=function(t){var e=t.mainData,r=t.datas;r||(r={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,m(e,r,t),(0,n.each)(r,function(r){(0,n.each)(e.TRANSFERABLE_METHODS,function(e){r.wrapMethod(e,(0,n.curry)(p,t))})}),e.wrapMethod("cloneShallow",(0,n.curry)(g,t)),(0,n.each)(e.CHANGABLE_METHODS,function(r){e.wrapMethod(r,(0,n.curry)(d,t))}),(0,n.assert)(r[e.dataType]===e)};var x=r(70984),w=r(35037),S=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,r){n.isFunction(t)&&(r=e,e=t,t=null),t=t||{},n.isString(t)&&(t={order:t});var i,o=t.order||"preorder",a=this[t.attr||"children"];"preorder"===o&&(i=e.call(r,this));for(var s=0;!i&&s<a.length;s++)a[s].eachNode(t,e,r);"postorder"===o&&e.call(r,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var r=0;r<this.children.length;r++){var n=this.children[r];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,r=this.children,n=r.length;e<n;e++){var i=r[e].getNodeById(t);if(i)return i}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,r=this.children,n=r.length;e<n;e++){var i=r[e].contains(t);if(i)return i}},t.prototype.getAncestors=function(t){for(var e=[],r=t?this:this.parentNode;r;)e.push(r),r=r.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e}return -1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),A=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,r){this.root.eachNode(t,e,r)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,r=0,n=e.length;r<n;r++)e[r].dataIndex=-1;for(var r=0,n=t.count();r<n;r++)e[t.getRawIndex(r)].dataIndex=r},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,r,i){var o=new t(r),a=[],s=1;!function t(e,r){var i,l,u,c=e.value;s=Math.max(s,n.isArray(c)?c.length:1),a.push(e);var f=new S((0,h.vS)(e.name,""),o);r?(i=f,u=(l=r).children,i.parentNode!==l&&(u.push(i),i.parentNode=l)):o.root=f,o._nodes.push(f);var p=e.children;if(p)for(var d=0;d<p.length;d++)t(p[d],f)}(e),o.root.updateDepthAndHeight(0);var l=(0,w.A)(a,{coordDimensions:["value"],dimensionsCount:s}).dimensions,u=new x.A(l,r);return u.initData(a),i&&i(u),b({mainData:u,struct:o,structAttr:"tree"}),o.update(),o},t}(),M=r(8350),k=r(69511),T=r(36127),C=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.preventUsingHoverLayer=!0,r}return(0,u.C6)(e,t),e.prototype.getInitialData=function(t,e){var r={name:t.name,children:t.data};!function t(e){var r=0;n.each(e.children,function(e){t(e);var i=e.value;n.isArray(i)&&(i=i[0]),r+=i});var i=e.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=r),i<0&&(i=0),n.isArray(e.value)?e.value[0]=i:e.value=i}(r);var i=t.levels||[],o=this.designatedVisualItemStyle={},a=new M.A({itemStyle:o},this,e);i=t.levels=function(t,e){var r,i,o=(0,h.qB)(e.get("color")),a=(0,h.qB)(e.get(["aria","decal","decals"]));if(o){t=t||[],n.each(t,function(t){var e=new M.A(t),n=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(r=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)});var s=t[0]||(t[0]={});return r||(s.color=o.slice()),!i&&a&&(s.decal=a.slice()),t}}(i,e);var s=n.map(i||[],function(t){return new M.A(t,a,e)},this),l=A.createTree(r,this,function(t){t.wrapMethod("getItemModel",function(t,e){var r=l.getNodeByDataIndex(e);return t.parentModel=(r?s[r.depth]:null)||a,t})});return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,r){var n=this.getData(),i=this.getRawValue(t),o=n.getName(t);return(0,k.Qx)("nameValue",{name:o,value:i})},e.prototype.getDataParams=function(e){var r=t.prototype.getDataParams.apply(this,arguments);return r.treeAncestors=s(this.getData().tree.getNodeByDataIndex(e),this),r.treePathInfo=r.treeAncestors,r},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},n.extend(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=n.createHashMap(),this._idIndexMapCount=0);var r=e.get(t);return null==r&&e.set(t,r=this._idIndexMapCount++),r},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){var t,e,r;t=this,e=t.getData().tree,r={},e.eachNode(function(e){for(var n=e;n&&n.depth>1;)n=n.parentNode;var i=(0,T.x)(t.ecModel,n.name||n.dataIndex+"",r);e.setVisual("decal",i)})},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(c.A),O=r(58377),E=r(71734),I=r(23764),D=r(73327),R=r(19621),L=r(80618),P=r(50583),B=r(45263),F=r(5606),N=function(){function t(t){this.group=new O.A,t.add(this.group)}return t.prototype.render=function(t,e,r,n){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&r){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,c,l),this._renderContent(t,c,a,s,l,u,n),B.m$(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,r){for(var n=t;n;n=n.parentNode){var i=(0,h.vS)(n.getModel().get("name"),""),o=Math.max(r.getTextRect(i).width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:n,text:i,width:o})}},t.prototype._renderContent=function(t,e,r,i,o,a,l){for(var u=0,c=e.emptyItemWidth,h=t.get(["breadcrumb","height"]),f=B.HU(e.pos,e.box),p=e.totalWidth,d=e.renderList,g=i.getModel("itemStyle").getItemStyle(),y=d.length-1;y>=0;y--){var v,m,_,b=d[y],x=b.node,w=b.width,S=b.text;p>f.width&&(p-=w-c,w=c,S=null);var A=new L.A({shape:{points:function(t,e,r,n,i,o){var a=[[i?t:t-5,0],[t+r,0],[t+r,0+n],[i?t:t-5,0+n]];return o||a.splice(2,0,[t+r+5,0+n/2]),i||a.push([t,0+n/2]),a}(u,0,w,h,y===d.length-1,0===y)},style:(0,n.defaults)(r.getItemStyle(),{lineJoin:"bevel"}),textContent:new P.Ay({style:(0,F.VB)(o,{text:S})}),textConfig:{position:"inside"},z2:1e4*D.CA,onclick:(0,n.curry)(l,x)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=(0,F.VB)(a,{text:S}),A.ensureState("emphasis").style=g,(0,D.Lm)(A,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(A),v=A,m=t,_=x,(0,I.z)(v).eventData={componentType:"series",componentSubType:"treemap",componentIndex:m.componentIndex,seriesIndex:m.seriesIndex,seriesName:m.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:_&&_.dataIndex,name:_&&_.name},treePathInfo:_&&s(_,m)},u+=w+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),z=r(20463),j=r(87443),H=r(67612),V=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,r,n,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:r,delay:n,easing:i}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,r=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},n=0,i=this._storage.length;n<i;n++){var o=this._storage[n];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:r,aborted:r})}return this},t}(),U=r(27750),W=r(49927),q=r(48504),Z=r(41606),G=O.A,$=E.A,Y="label",X="upperLabel",K=10*D.CA,J=2*D.CA,Q=3*D.CA,tt=(0,U.A)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),te=function(t){var e=tt(t);return e.stroke=e.fill=e.lineWidth=null,e},tr=(0,h.$r)(),tn=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r._state="ready",r._storage=ti(),r}return(0,u.C6)(e,t),e.prototype.render=function(t,e,r,o){var a=e.findComponents({mainType:"series",subType:"treemap",query:o});if(!(0>(0,n.indexOf)(a,t))){this.seriesModel=t,this.api=r,this.ecModel=e;var s=i(o,["treemapZoomToNode","treemapRootToNode"],t),l=o&&o.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,f="treemapRootToNode"===l&&s&&h?{rootNodeGroup:h.nodeGroup[s.node.getRawIndex()],direction:o.direction}:null,p=this._giveContainerGroup(u),d=t.get("animation"),g=this._doRender(p,t,f);!d||c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?g.renderFinally():this._doAnimation(p,g,t,f),this._resetController(r),this._renderBreadcrumb(t,r,s)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new G,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,r){var i,o,a=e.getData().tree,s=this._oldTree,l=ti(),u=ti(),c=this._storage,f=[];!function t(i,o,a,s,p){function d(t){return t.getId()}function g(d,g){var y=null!=d?i[d]:null,v=null!=g?o[g]:null,m=function(t,e,r,i,o,a,s,l,u,c){if(s){var f=s.getLayout(),p=t.getData(),d=s.getModel();if(p.setItemGraphicEl(s.dataIndex,null),f&&f.isInView){var g=f.width,y=f.height,v=f.borderWidth,m=f.invisible,_=s.getRawIndex(),b=l&&l.getRawIndex(),x=s.viewChildren,w=f.upperHeight,S=x&&x.length,A=d.getModel("itemStyle"),M=d.getModel(["emphasis","itemStyle"]),k=d.getModel(["blur","itemStyle"]),T=d.getModel(["select","itemStyle"]),C=A.get("borderRadius")||0,E=Z("nodeGroup",G);if(E){if(u.add(E),E.x=f.x||0,E.y=f.y||0,E.markRedraw(),tr(E).nodeWidth=g,tr(E).nodeHeight=y,f.isAboveViewRoot)return E;var R=Z("background",$,c,J);R&&function(e,r,n){var i=(0,I.z)(r);if(i.dataIndex=s.dataIndex,i.seriesIndex=t.seriesIndex,r.setShape({x:0,y:0,width:g,height:y,r:C}),m)V(r);else{r.invisible=!1;var o=s.getVisual("style"),a=o.stroke,l=te(A);l.fill=a;var u=tt(M);u.fill=M.get("borderColor");var c=tt(k);c.fill=k.get("borderColor");var h=tt(T);if(h.fill=T.get("borderColor"),n){var f=g-2*v;U(r,a,o.opacity,{x:v,y:0,width:f,height:w})}else r.removeTextContent();r.setStyle(l),r.ensureState("emphasis").style=u,r.ensureState("blur").style=c,r.ensureState("select").style=h,(0,D.DW)(r)}e.add(r)}(E,R,S&&f.upperLabelHeight);var L=d.getModel("emphasis"),P=L.get("focus"),B=L.get("blurScope"),N=L.get("disabled"),z="ancestor"===P?s.getAncestorsIndices():"descendant"===P?s.getDescendantIndices():P;if(S)(0,D.u6)(E)&&(0,D.ix)(E,!1),R&&((0,D.ix)(R,!N),p.setItemGraphicEl(s.dataIndex,R),(0,D.gR)(R,z,B));else{var j=Z("content",$,c,Q);j&&function(e,r){var n=(0,I.z)(r);n.dataIndex=s.dataIndex,n.seriesIndex=t.seriesIndex;var i=Math.max(g-2*v,0),o=Math.max(y-2*v,0);if(r.culling=!0,r.setShape({x:v,y:v,width:i,height:o,r:C}),m)V(r);else{r.invisible=!1;var a=s.getVisual("style"),l=a.fill,u=te(A);u.fill=l,u.decal=a.decal;var c=tt(M),h=tt(k),f=tt(T);U(r,l,a.opacity,null),r.setStyle(u),r.ensureState("emphasis").style=c,r.ensureState("blur").style=h,r.ensureState("select").style=f,(0,D.DW)(r)}e.add(r)}(E,j),R.disableMorphing=!0,R&&(0,D.u6)(R)&&(0,D.ix)(R,!1),(0,D.ix)(E,!N),p.setItemGraphicEl(s.dataIndex,E);var H=d.getShallow("cursor");H&&j.attr("cursor",H),(0,D.gR)(E,z,B)}return E}}}function V(t){t.invisible||a.push(t)}function U(e,r,i,o){var a=d.getModel(o?X:Y),l=(0,h.vS)(d.get("name"),null),u=a.getShallow("show");(0,F.qM)(e,(0,F.lx)(d,o?X:Y),{defaultText:u?l:null,inheritColor:r,defaultOpacity:i,labelFetcher:t,labelDataIndex:s.dataIndex});var c=e.getTextContent();if(c){var p=c.style,g=(0,n.normalizeCssArray)(p.padding||0);o&&(e.setTextConfig({layoutRect:o}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((o?o.width:e.shape.width)-g[1]-g[3],0),r=Math.max((o?o.height:e.shape.height)-g[0]-g[2],0);(p.width!==t||p.height!==r)&&c.setStyle({width:t,height:r})},p.truncateMinChar=2,p.lineOverflow="truncate",W(p,o,f);var y=c.getState("emphasis");W(y?y.style:null,o,f)}}function W(e,r,n){var i=e?e.text:null;if(!r&&n.isLeafRoot&&null!=i){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+i:i}}function Z(t,a,l,u){var c,h,f,p=null!=b&&r[t][b],d=o[t];return p?(r[t][b]=null,c=d,h=p,f=c[_]={},h instanceof G?(f.oldX=h.x,f.oldY=h.y):f.oldShape=(0,n.extend)({},h.shape)):m||((p=new a)instanceof q.Ay&&(p.z2=l*K+u),function(t,e){var r=t[_]={},n=s.parentNode,a=e instanceof O.A;if(n&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=o.background[n.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),a?(r.oldX=0,r.oldY=u):r.oldShape={x:l,y:u,width:0,height:0}}r.fadein=!a}(d,p)),e[t][_]=p}}(e,u,c,r,l,f,y,v,a,p);m&&t(y&&y.viewChildren||[],v&&v.viewChildren||[],m,s,p+1)}s?(o=i,(0,n.each)(i,function(t,e){t.isRemoved()||g(e,e)})):new R.A(o,i,d,d).add(g).update(g).remove((0,n.curry)(g,null)).execute()}(a.root?[a.root]:[],s&&s.root?[s.root]:[],t,a===s||!s,0);var p=(i=c,o=ti(),i&&(0,n.each)(i,function(t,e){var r=o[e];(0,n.each)(t,function(t){t&&(r.push(t),tr(t).willDelete=!0)})}),o);if(this._oldTree=a,this._storage=u,this._controllerHost){var d=this.seriesModel.layoutInfo,g=a.root.getLayout();g.width===d.width&&g.height===d.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:l,willDeleteEls:p,renderFinally:function(){(0,n.each)(p,function(t){(0,n.each)(t,function(t){t.parent&&t.parent.remove(t)})}),(0,n.each)(f,function(t){t.invisible=!0,t.dirty()})}}},e.prototype._doAnimation=function(t,e,r,i){var o=r.get("animationDurationUpdate"),a=r.get("animationEasing"),s=((0,n.isFunction)(o)?0:o)||0,l=((0,n.isFunction)(a)?null:a)||"cubicOut",u=new V;(0,n.each)(e.willDeleteEls,function(t,e){(0,n.each)(t,function(t,r){if(!t.invisible){var n,o=t.parent,a=tr(o);if(i&&"drillDown"===i.direction)n=o===i.rootNodeGroup?{shape:{x:0,y:0,width:a.nodeWidth,height:a.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;a.willDelete||(c=a.nodeWidth/2,h=a.nodeHeight/2),n="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}n&&u.add(t,n,s,0,l)}})}),(0,n.each)(this._storage,function(t,r){(0,n.each)(t,function(t,i){var o=e.lastsForAnimation[r][i],a={};o&&(t instanceof O.A?null!=o.oldX&&(a.x=t.x,a.y=t.y,t.x=o.oldX,t.y=o.oldY):(o.oldShape&&(a.shape=(0,n.extend)({},t.shape),t.setShape(o.oldShape)),o.fadein?(t.setStyle("opacity",0),a.style={opacity:1}):1!==t.style.opacity&&(a.style={opacity:1})),u.add(t,a,s,0,l))})},this),this._state="animating",u.finished((0,n.bind)(function(){this._state="ready",e.renderFinally()},this)).start()},e.prototype._resetController=function(t){var e=this._controller,r=this._controllerHost;r||(this._controllerHost={target:this.group},r=this._controllerHost),e||((e=this._controller=new z.A(t.getZr())).enable(this.seriesModel.get("roam")),r.zoomLimit=this.seriesModel.get("scaleLimit"),r.zoom=this.seriesModel.get("zoom"),e.on("pan",(0,n.bind)(this._onPan,this)),e.on("zoom",(0,n.bind)(this._onZoom,this)));var i=new j.A(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,r){return i.contain(e,r)})},e.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(e){var r=e.getLayout();r&&this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x+t.dx,y:r.y+t.dy,width:r.width,height:r.height}})}}},e.prototype._onZoom=function(t){var e=t.originX,r=t.originY,n=t.scale;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new j.A(o.x,o.y,o.width,o.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=n,s){var c=s.min||0;u=Math.max(Math.min(s.max||1/0,u),c)}var h=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo;e-=f.x,r-=f.y;var p=H.create();H.translate(p,p,[-e,-r]),H.scale(p,p,[h,h]),H.translate(p,p,[e,r]),a.applyTransform(p),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var r=e.seriesModel.get("nodeClick",!0);if(r){var n=e.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)e._rootToNode(n);else if("zoomToNode"===r)e._zoomToNode(n);else if("link"===r){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&(0,Z.JW)(a,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,r){var n=this;!r&&((r=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(r={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new N(this.group))).render(t,e,r.node,function(e){"animating"!==n._state&&(a(t.getViewRoot(),e)?n._rootToNode({node:e}):n._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=ti(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var r;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var i=this._storage.background[n.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.shape;if(!(a.x<=o[0])||!(o[0]<=a.x+a.width)||!(a.y<=o[1])||!(o[1]<=a.y+a.height))return!1;r={node:n,offsetX:o[0],offsetY:o[1]}}},this),r},e.type="treemap",e}(W.A);function ti(){return{nodeGroup:[],background:[],content:[]}}var to=r(4783),ta=r(30296),ts=n.each,tl=n.isObject,tu=function(){function t(e){var r,i,o=e.mappingMethod,a=e.type,s=this.option=n.clone(e);this.type=a,this.mappingMethod=o,this._normalizeData=t_[o];var l=t.visualHandlers[a];this.applyVisual=l.applyVisual,this.getColorMapper=l.getColorMapper,this._normalizedToVisual=l._normalizedToVisual[o],"piecewise"===o?(tc(s),i=(r=s).pieceList,r.hasSpecialVisual=!1,n.each(i,function(t,e){t.originIndex=e,null!=t.visual&&(r.hasSpecialVisual=!0)})):"category"===o?s.categories?function(t){var e=t.categories,r=t.categoryMap={},i=t.visual;if(ts(e,function(t,e){r[t]=e}),!n.isArray(i)){var o=[];n.isObject(i)?ts(i,function(t,e){var n=r[e];o[null!=n?n:-1]=t}):o[-1]=i,i=tm(t,o)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete r[e[a]],e.pop())}(s):tc(s,!0):(n.assert("linear"!==o||s.dataExtent),tc(s))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return n.bind(this._normalizeData,this)},t.listVisualTypes=function(){return n.keys(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,r){n.isObject(t)?n.each(t,e,r):e.call(r,t)},t.mapVisual=function(e,r,i){var o,a=n.isArray(e)?[]:n.isObject(e)?{}:(o=!0,null);return t.eachVisual(e,function(t,e){var n=r.call(i,t,e);o?a=n:a[e]=n}),a},t.retrieveVisuals=function(e){var r,n={};return e&&ts(t.visualHandlers,function(t,i){e.hasOwnProperty(i)&&(n[i]=e[i],r=!0)}),r?n:null},t.prepareVisualTypes=function(t){if(n.isArray(t))t=t.slice();else{if(!tl(t))return[];var e=[];ts(t,function(t,r){e.push(r)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!!(t&&0===t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,r){for(var i,o=1/0,a=0,s=e.length;a<s;a++){var l=e[a].value;if(null!=l){if(l===t||n.isString(l)&&l===t+"")return a;r&&A(l,a)}}for(var a=0,s=e.length;a<s;a++){var u,c,h,f,p,d,g,y,v,m,_,b,x=e[a],w=x.interval,S=x.close;if(w){if(w[0]===-1/0){if(u=S[1],c=t,h=w[1],u?c<=h:c<h)return a}else if(w[1]===1/0){if(f=S[0],p=w[0],d=t,f?p<=d:p<d)return a}else{if(g=S[0],y=w[0],v=t,(g?y<=v:y<v)&&(m=S[1],_=t,b=w[1],m?_<=b:_<b))return a}r&&A(w[0],a),r&&A(w[1],a)}}if(r)return t===1/0?e.length-1:t===-1/0?0:i;function A(e,r){var n=Math.abs(e-t);n<o&&(o=n,i=r)}},t.visualHandlers={color:{applyVisual:tp("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),td.call(this,t)}:function(e,r,n){var i=!!n;return r||(e=this._normalizeData(e)),n=to.fastLerp(e,t.parsedVisual,n),i?n:to.stringify(n,"rgba")},this)},_normalizedToVisual:{linear:function(t){return to.stringify(to.fastLerp(t,this.option.parsedVisual),"rgba")},category:td,piecewise:function(t,e){var r=tv.call(this,e);return null==r&&(r=to.stringify(to.fastLerp(t,this.option.parsedVisual),"rgba")),r},fixed:tg}},colorHue:th(function(t,e){return to.modifyHSL(t,e)}),colorSaturation:th(function(t,e){return to.modifyHSL(t,null,e)}),colorLightness:th(function(t,e){return to.modifyHSL(t,null,null,e)}),colorAlpha:th(function(t,e){return to.modifyAlpha(t,e)}),decal:{applyVisual:tp("decal"),_normalizedToVisual:{linear:null,category:td,piecewise:null,fixed:null}},opacity:{applyVisual:tp("opacity"),_normalizedToVisual:ty([0,1])},liftZ:{applyVisual:tp("liftZ"),_normalizedToVisual:{linear:tg,category:tg,piecewise:tg,fixed:tg}},symbol:{applyVisual:function(t,e,r){r("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:tf,category:td,piecewise:function(t,e){var r=tv.call(this,e);return null==r&&(r=tf.call(this,t)),r},fixed:tg}},symbolSize:{applyVisual:tp("symbolSize"),_normalizedToVisual:ty([0,1])}},t}();function tc(t,e){var r=t.visual,i=[];n.isObject(r)?ts(r,function(t){i.push(t)}):null!=r&&i.push(r),e||1!==i.length||({color:1,symbol:1}).hasOwnProperty(t.type)||(i[1]=i[0]),tm(t,i)}function th(t){return{applyVisual:function(e,r,n){var i=this.mapValueToVisual(e);n("color",t(r("color"),i))},_normalizedToVisual:ty([0,1])}}function tf(t){var e=this.option.visual;return e[Math.round((0,ta.Cb)(t,[0,1],[0,e.length-1],!0))]||{}}function tp(t){return function(e,r,n){n(t,this.mapValueToVisual(e))}}function td(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function tg(){return this.option.visual[0]}function ty(t){return{linear:function(e){return(0,ta.Cb)(e,t,this.option.visual,!0)},category:td,piecewise:function(e,r){var n=tv.call(this,r);return null==n&&(n=(0,ta.Cb)(e,t,this.option.visual,!0)),n},fixed:tg}}function tv(t){var e=this.option,r=e.pieceList;if(e.hasSpecialVisual){var n=tu.findPieceIndex(t,r),i=r[n];if(i&&i.visual)return i.visual[this.type]}}function tm(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return to.parse(t)||[0,0,0,1]})),e}var t_={linear:function(t){return(0,ta.Cb)(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,r=tu.findPieceIndex(t,e,!0);if(null!=r)return(0,ta.Cb)(r,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:n.noop},tb=(0,h.$r)();let tx={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||function t(e,r,i,o){var a=e.getModel(),s=e.getLayout(),l=e.hostTree.data;if(s&&!s.invisible&&s.isInView){var u,c,h,f,p,d,g,y=a.getModel("itemStyle"),v=(u=y,c=r,h=o,f=(0,n.extend)({},c),p=h.designatedVisualItemStyle,(0,n.each)(["color","colorAlpha","colorSaturation"],function(t){p[t]=c[t];var e=u.get(t);p[t]=null,null!=e&&(f[t]=e)}),f),m=l.ensureUniqueItemVisual(e.dataIndex,"style"),_=y.get("borderColor"),b=y.get("borderColorSaturation");null!=b&&(d=b,_=null!=(g=tw(v))?(0,to.modifyHSL)(g,null,null,d):null),m.stroke=_;var x=e.viewChildren;if(x&&x.length){var w=function(t,e,r,n,i,o){if(o&&o.length){var a=tA(e,"color")||null!=i.color&&"none"!==i.color&&(tA(e,"colorAlpha")||tA(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=r.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"===h.type&&("index"===c||"id"===c)?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var f=new tu(h);return tb(f).drColorMappingBy=c,f}}}(0,a,s,0,v,x);(0,n.each)(x,function(e,r){if(e.depth>=i.length||e===i[e.depth]){var s=function(t,e,r,i,o,a){var s=(0,n.extend)({},e);if(o){var l=o.type,u="color"===l&&tb(o).drColorMappingBy,c="index"===u?i:"id"===u?a.mapIdToIndex(r.getId()):r.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(c)}return s}(a,v,e,r,w,o);t(e,s,i,o)}})}else m.fill=tw(v)}}(e,{},t.getViewRoot().getAncestors(),t)}};function tw(t){var e=tS(t,"color");if(e){var r=tS(t,"colorAlpha"),n=tS(t,"colorSaturation");return n&&(e=(0,to.modifyHSL)(e,null,null,n)),r&&(e=(0,to.modifyAlpha)(e,r)),e}}function tS(t,e){var r=t[e];if(null!=r&&"none"!==r)return r}function tA(t,e){var r=t.get(e);return(0,n.isArray)(r)&&r.length?{name:e,range:r}:null}var tM=Math.max,tk=Math.min,tT=n.retrieve,tC=n.each,tO=["itemStyle","borderWidth"],tE=["itemStyle","gapWidth"],tI=["upperLabel","show"],tD=["upperLabel","height"];let tR={seriesType:"treemap",reset:function(t,e,r,a){var s=r.getWidth(),l=r.getHeight(),u=t.option,c=B.dV(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),h=u.size||[],f=(0,ta.lo)(tT(c.width,h[0]),s),p=(0,ta.lo)(tT(c.height,h[1]),l),d=a&&a.type,g=i(a,["treemapZoomToNode","treemapRootToNode"],t),y="treemapRender"===d||"treemapMove"===d?a.rootRect:null,v=t.getViewRoot(),m=o(v);if("treemapMove"!==d){var _="treemapZoomToNode"===d?function(t,e,r,n,i){var o,a=(e||{}).node,s=[n,i];if(!a||a===r)return s;for(var l=n*i,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var c=0,h=o.children,f=0,p=h.length;f<p;f++)c+=h[f].getValue();var d=a.getValue();if(0===d)return s;u*=c/d;var g=o.getModel(),y=g.get(tO),v=Math.max(y,tP(g));(u+=4*y*y+(3*y+v)*Math.pow(u,.5))>ta.Is&&(u=ta.Is),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[n*m,i*m]}(t,g,v,f,p):y?[y.width,y.height]:[f,p],b=u.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var x={squareRatio:u.squareRatio,sort:b,leafDepth:u.leafDepth};v.hostTree.clearLayouts();var w={x:0,y:0,width:_[0],height:_[1],area:_[0]*_[1]};v.setLayout(w),function t(e,r,i,o){if(!e.isRemoved()){var a,s,l=e.getLayout();a=l.width,s=l.height;var u=e.getModel(),c=u.get(tO),h=u.get(tE)/2,f=tP(u),p=Math.max(c,f),d=c-h,g=p-h;e.setLayout({borderWidth:c,upperHeight:p,upperLabelHeight:f},!0);var y=(a=tM(a-2*d,0))*(s=tM(s-d-g,0)),v=function(t,e,r,i,o,a){var s,l,u=t.children||[],c=i.sort;"asc"!==c&&"desc"!==c&&(c=null);var h=null!=i.leafDepth&&i.leafDepth<=a;if(o&&!h)return t.viewChildren=[];s=u=n.filter(u,function(t){return!t.isRemoved()}),(l=c)&&s.sort(function(t,e){var r="asc"===l?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0===r?"asc"===l?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:r});var f=function(t,e,r){for(var n,i=0,o=0,a=e.length;o<a;o++)i+=e[o].getValue();var s=t.get("visualDimension");return e&&e.length?"value"===s&&r?(n=[e[e.length-1].getValue(),e[0].getValue()],"asc"===r&&n.reverse()):(n=[1/0,-1/0],tC(e,function(t){var e=t.getValue(s);e<n[0]&&(n[0]=e),e>n[1]&&(n[1]=e)})):n=[NaN,NaN],{sum:i,dataExtent:n}}(e,u,c);if(0===f.sum||(f.sum=function(t,e,r,n,i){if(!n)return r;for(var o=t.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===n?a-l-1:l].getValue();u/r*e<o&&(s=l,r-=u)}return"asc"===n?i.splice(0,a-s):i.splice(s,a-s),r}(e,r,f.sum,c,u),0===f.sum))return t.viewChildren=[];for(var p=0,d=u.length;p<d;p++){var g=u[p].getValue()/f.sum*r;u[p].setLayout({area:g})}return h&&(u.length&&t.setLayout({isLeafRoot:!0},!0),u.length=0),t.viewChildren=u,t.setLayout({dataExtent:f.dataExtent},!0),u}(e,u,y,r,i,o);if(v.length){var m={x:d,y:g,width:a,height:s},_=tk(a,s),b=1/0,x=[];x.area=0;for(var w=0,S=v.length;w<S;){var A=v[w];x.push(A),x.area+=A.getLayout().area;var M=function(t,e,r){for(var n=0,i=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<i&&(i=a),a>n&&(n=a));var l=t.area*t.area,u=e*e*r;return l?tM(u*n/l,l/(u*i)):1/0}(x,_,r.squareRatio);M<=b?(w++,b=M):(x.area-=x.pop().getLayout().area,tL(x,_,m,h,!1),_=tk(m.width,m.height),x.length=x.area=0,b=1/0)}if(x.length&&tL(x,_,m,h,!0),!i){var k=u.get("childrenVisibleMin");null!=k&&y<k&&(i=!0)}for(var w=0,S=v.length;w<S;w++)t(v[w],r,i,o+1)}}}(v,x,!1,0),w=v.getLayout(),tC(m,function(t,e){var r=(m[e+1]||v).getValue();t.setLayout(n.extend({dataExtent:[r,r],borderWidth:0,upperHeight:0},w))})}var S=t.getData().tree.root;S.setLayout(function(t,e,r){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!r)return n;var i=r.node,o=i.getLayout();if(!o)return n;for(var a=[o.width/2,o.height/2],s=i;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(c,y,g),!0),t.setLayoutInfo(c),function t(e,r,n,i,o){var a=e.getLayout(),s=n[o],l=s&&s===e;if((!s||l)&&(o!==n.length||e===i)){e.setLayout({isInView:!0,invisible:!l&&!r.intersect(a),isAboveViewRoot:l},!0);var u=new j.A(r.x-a.x,r.y-a.y,r.width,r.height);tC(e.viewChildren||[],function(e){t(e,u,n,i,o+1)})}}(S,new j.A(-c.x,-c.y,s,l),m,v,0)}};function tL(t,e,r,n,i){var o=+(e!==r.width),a=1-o,s=["x","y"],l=["width","height"],u=r[s[o]],c=e?t.area/e:0;(i||c>r[l[a]])&&(c=r[l[a]]);for(var h=0,f=t.length;h<f;h++){var p=t[h],d={},g=c?p.getLayout().area/c:0,y=d[l[a]]=tM(c-2*n,0),v=r[s[o]]+r[l[o]]-u,m=h===f-1||v<g?v:g,_=d[l[o]]=tM(m-2*n,0);d[s[a]]=r[s[a]]+tk(n,y/2),d[s[o]]=u+tk(n,_/2),u+=m,p.setLayout(d,!0)}r[s[a]]+=c,r[l[a]]-=c}function tP(t){return t.get(tI)?t.get(tD):0}function tB(t){t.registerSeriesModel(C),t.registerChartView(tn),t.registerVisual(tx),t.registerLayout(tR);for(var e=0;e<l.length;e++)t.registerAction({type:l[e],update:"updateView"},n.noop);t.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,r){var n=i(t,["treemapZoomToNode","treemapRootToNode"],e);if(n){var o=e.getViewRoot();o&&(t.direction=a(o,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}})})}},19320(t,e,r){"use strict";r.d(e,{A:()=>A});var n=r(60969),i=r(58377),o=r(40964),a=r(36443),s=r(50583),l=r(23764),u=r(5606),c=r(8350),h=r(30296),f=r(27137),p=r(67612),d=r(20914),g=r(58741),y=r(73581),v=Math.PI,m=function(){function t(t,e){this.group=new i.A,this.opt=e,this.axisModel=t,(0,n.defaults)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new i.A({x:e.position[0],y:e.position[1],rotation:e.rotation});r.updateTransform(),this._transformGroup=r}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,r){var n,i,o=(0,h._7)(e-t);return(0,h.dh)(o)?(i=r>0?"top":"bottom",n="center"):(0,h.dh)(o-v)?(i=r>0?"bottom":"top",n="center"):(i="middle",n=o>0&&o<v?r>0?"right":"left":r>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:i}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,r,i){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=i.transform,c=[l[0],0],h=[l[1],0],p=c[0]>h[0];u&&((0,d.applyTransform)(c,c,u),(0,d.applyTransform)(h,h,u));var g=(0,n.extend)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.A({shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",r.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,n.isString)(v)&&(v=[v,v]),((0,n.isString)(m)||(0,n.isNumber)(m))&&(m=[m,m]);var _=(0,f.hV)(e.get(["axisLine","symbolOffset"])||0,m),b=m[0],x=m[1];(0,n.each)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((c[0]-h[0])*(c[0]-h[0])+(c[1]-h[1])*(c[1]-h[1]))}],function(e,n){if("none"!==v[n]&&null!=v[n]){var i=(0,f.v5)(v[n],-b/2,-x/2,b,x,g.stroke,!0),o=e.r+e.offset,a=p?h:c;i.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),r.add(i)}})}}},axisTickLabel:function(t,e,r,i){var o=function(t,e,r,i){var o=r.axis,a=r.getModel("axisTick"),s=a.get("show");if("auto"===s&&i.handleAutoShown&&(s=i.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=i.tickDirection*a.get("length"),c=S(o.getTicksCoords(),e.transform,u,(0,n.defaults)(l.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)t.add(c[h]);return c}}(r,i,e,t),h=function(t,e,r,i){var o=r.axis;if(!(!(0,n.retrieve)(i.axisLabelShow,r.get(["axisLabel","show"]))||o.scale.isBlank())){var h=r.getModel("axisLabel"),f=h.get("margin"),p=o.getViewLabels(),d=((0,n.retrieve)(i.labelRotate,h.get("rotate"))||0)*v/180,g=m.innerTextLayout(i.rotation,d,i.labelDirection),y=r.getCategories&&r.getCategories(!0),_=[],b=m.isLabelSilent(r),x=r.get("triggerEvent");return(0,n.each)(p,function(d,v){var w="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(d.tickValue):d.tickValue,S=d.formattedLabel,A=d.rawLabel,M=h;if(y&&y[w]){var k=y[w];(0,n.isObject)(k)&&k.textStyle&&(M=new c.A(k.textStyle,h,r.ecModel))}var T=M.getTextColor()||r.get(["axisLine","lineStyle","color"]),C=o.dataToCoord(w),O=M.getShallow("align",!0)||g.textAlign,E=(0,n.retrieve2)(M.getShallow("alignMinLabel",!0),O),I=(0,n.retrieve2)(M.getShallow("alignMaxLabel",!0),O),D=M.getShallow("verticalAlign",!0)||M.getShallow("baseline",!0)||g.textVerticalAlign,R=(0,n.retrieve2)(M.getShallow("verticalAlignMinLabel",!0),D),L=(0,n.retrieve2)(M.getShallow("verticalAlignMaxLabel",!0),D),P=new s.Ay({x:C,y:i.labelOffset+i.labelDirection*f,rotation:g.rotation,silent:b,z2:10+(d.level||0),style:(0,u.VB)(M,{text:S,align:0===v?E:v===p.length-1?I:O,verticalAlign:0===v?R:v===p.length-1?L:D,fill:(0,n.isFunction)(T)?T("category"===o.type?A:"value"===o.type?w+"":w,v):T})});if(P.anid="label_"+w,a.setTooltipConfig({el:P,componentModel:r,itemName:S,formatterParamsExtra:{isTruncated:function(){return P.isTruncated},value:A,tickIndex:v}}),x){var B=m.makeAxisEventDataBase(r);B.targetType="axisLabel",B.value=A,B.tickIndex=v,"category"===o.type&&(B.dataIndex=w),(0,l.z)(P).eventData=B}e.add(P),P.updateTransform(),_.push(P),t.add(P),P.decomposeTransform()}),_}}(r,i,e,t);if(function(t,e,r){if(!(0,g.PJ)(t.axis)){var n=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);r=r||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=r[0],c=r[1],h=r[r.length-1],f=r[r.length-2];!1===n?(b(o),b(u)):x(o,a)&&(n?(b(a),b(c)):(b(o),b(u))),!1===i?(b(s),b(h)):x(l,s)&&(i?(b(l),b(f)):(b(s),b(h)))}}(e,h,o),function(t,e,r,i){var o=r.axis,a=r.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=i*a.get("length"),c=(0,n.defaults)(l.getLineStyle(),(0,n.defaults)(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),h=0;h<s.length;h++)for(var f=S(s[h],e.transform,u,c,"minorticks_"+h),p=0;p<f.length;p++)t.add(f[p])}}(r,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var f=(0,y.os)((0,n.map)(h,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));(0,y.If)(f)}},axisName:function(t,e,r,i){var o,c,f=(0,n.retrieve)(t.axisName,e.get("name"));if(f){var p,d,g,y,_,b,x,S,A,M=e.get("nameLocation"),k=t.nameDirection,T=e.getModel("nameTextStyle"),C=e.get("nameGap")||0,O=e.axis.getExtent(),E=O[0]>O[1]?-1:1,I=["start"===M?O[0]-E*C:"end"===M?O[1]+E*C:(O[0]+O[1])/2,w(M)?t.labelOffset+k*C:0],D=e.get("nameRotate");null!=D&&(D=D*v/180),w(M)?o=m.innerTextLayout(t.rotation,null!=D?D:t.rotation,k):(p=t.rotation,d=M,g=D||0,y=O,x=(0,h._7)(g-p),S=y[0]>y[1],A="start"===d&&!S||"start"!==d&&S,(0,h.dh)(x-v/2)?(b=A?"bottom":"top",_="center"):(0,h.dh)(x-1.5*v)?(b=A?"top":"bottom",_="center"):(b="middle",_=x<1.5*v&&x>v/2?A?"left":"right":A?"right":"left"),o={rotation:x,textAlign:_,textVerticalAlign:b},null!=(c=t.axisNameAvailableWidth)&&(isFinite(c=Math.abs(c/Math.sin(o.rotation)))||(c=null)));var R=T.getFont(),L=e.get("nameTruncate",!0)||{},P=L.ellipsis,B=(0,n.retrieve)(t.nameTruncateMaxWidth,L.maxWidth,c),F=new s.Ay({x:I[0],y:I[1],rotation:o.rotation,silent:m.isLabelSilent(e),style:(0,u.VB)(T,{text:f,font:R,overflow:"truncate",width:B,ellipsis:P,fill:T.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:T.get("align")||o.textAlign,verticalAlign:T.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:F,componentModel:e,itemName:f}),F.__fullText=f,F.anid="name",e.get("triggerEvent")){var N=m.makeAxisEventDataBase(e);N.targetType="axisName",N.name=f,(0,l.z)(F).eventData=N}i.add(F),F.updateTransform(),r.add(F),F.decomposeTransform()}}};function b(t){t&&(t.ignore=!0)}function x(t,e){var r=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(r&&n){var i=p.identity([]);return p.rotate(i,i,-t.rotation),r.applyTransform(p.mul([],i,t.getLocalTransform())),n.applyTransform(p.mul([],i,e.getLocalTransform())),r.intersect(n)}}function w(t){return"middle"===t||"center"===t}function S(t,e,r,n,i){for(var s=[],l=[],u=[],c=0;c<t.length;c++){var h=t[c].coord;l[0]=h,l[1]=0,u[0]=h,u[1]=r,e&&((0,d.applyTransform)(l,l,e),(0,d.applyTransform)(u,u,e));var f=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:n,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(f.shape,f.style.lineWidth),f.anid=i+"_"+t[c].tickValue,s.push(f)}return s}let A=m},4910(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(65959),i=r(5672),o=r(60987),a={};let s=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,n.C6)(e,t),e.prototype.render=function(e,r,n,o){this.axisPointerClass&&i.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,n,!0)},e.prototype.updateAxisPointer=function(t,e,r,n){this._doUpdateAxisPointerClass(t,r,!1)},e.prototype.remove=function(t,e){var r=this._axisPointer;r&&r.remove(e)},e.prototype.dispose=function(e,r){this._disposeAxisPointer(r),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,r,n){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=i.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).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,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},34091(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(60969),i=r(31592);function o(t,e){var r,o=[],a=t.seriesIndex;if(null==a||!(r=e.getSeriesByIndex(a)))return{point:[]};var s=r.getData(),l=i.le(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=r.coordinateSystem;if(r.getTooltipPosition)o=r.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(t.isStacked){var h=c.getBaseAxis(),f=c.getOtherAxis(h).dim,p=h.dim,d=+("x"===f||"radius"===f),g=s.mapDimension(p),y=[];y[d]=s.get(g,l),y[1-d]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=c.dataToPoint(y)||[]}else o=c.dataToPoint(s.getValues(n.map(c.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},81818(t,e,r){"use strict";r.d(e,{h:()=>c,k:()=>s});var n=r(60969),i=r(88934),o=(0,r(31592).$r)(),a=n.each;function s(t,e,r){if(!i.A.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,r("click",n.curry(u,"click")),r("mousemove",n.curry(u,"mousemove")),r("globalout",l));function r(r,n){t.on(r,function(r){var i,s,l,u,c,h,f,p,d=(i=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,i.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&n(t,r,d.dispatchAction)}),u=d.pendings,c=e,f=u.showTip.length,p=u.hideTip.length,f?h=u.showTip[f-1]:p&&(h=u.hideTip[p-1]),h&&(h.dispatchAction=null,c.dispatchAction(h))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=r}}function l(t,e,r){t.handler("leave",null,r)}function u(t,e,r,n){e.handler(t,r,n)}function c(t,e){if(!i.A.node){var r=e.getZr();(o(r).records||{})[t]&&(o(r).records[t]=null)}}},81672(t,e,r){"use strict";r.d(e,{a:()=>z});var n=r(4910),i=r(65959),o=r(60969),a=r(58377),s=r(36443),l=r(50583),u=r(65336),c=r(5672),h=r(59433),f=r(62813),p=r(31592),d=(0,p.$r)(),g=o.clone,y=o.bind,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,r,n){var i=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=r,n||this._lastValue!==i||this._lastStatus!==s){this._lastValue=i,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var c={};this.makeElOption(c,i,t,e,r);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=h;var f=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=o.curry(m,e,f);this.updatePointerEl(l,c,p),this.updateLabelEl(l,c,p,e)}else l=this._group=new a.A,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),r.getZr().add(l);x(l,e,!0),this._renderHandle(i)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var r=e.get("animation"),n=t.axis,i="category"===n.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===r||null==r){var a=this.animationThreshold;if(i&&n.getBandWidth()>a)return!0;if(o){var s=c.Yc(t).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===r},t.prototype.makeElOption=function(t,e,r,n,i){},t.prototype.createPointerEl=function(t,e,r,n){var i=e.pointer;if(i){var o=d(t).pointerEl=new s[i.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,r,n){if(e.label){var i=d(t).labelEl=new l.Ay(g(e.label));t.add(i),_(i,n)}},t.prototype.updatePointerEl=function(t,e,r){var n=d(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),r(n,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,r,n){var i=d(t).labelEl;i&&(i.setStyle(e.label.style),r(i,{x:e.label.x,y:e.label.y}),_(i,n))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),l=r.get("status");if(!a.get("show")||!l||"hide"===l){i&&n.remove(i),this._handle=null;return}this._handle||(e=!0,i=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){h.ds(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),n.add(i)),x(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.isArray(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,f.N(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,b(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(b(r),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(b(n)),d(r).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),r=this._group,n=this._handle;e&&r&&(this._lastGraphicKey=null,r&&e.remove(r),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),f.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,r){return{x:t[r=r||0],y:t[1-r],width:e[r],height:e[1-r]}},t}();function m(t,e,r,n){!function t(e,r){if(!(o.isObject(e)&&o.isObject(r)))return e===r;var n=!0;return o.each(r,function(r,i){n=n&&t(e[i],r)}),!!n}(d(r).lastProp,n)&&(d(r).lastProp=n,e?u.oi(r,n,t):(r.stopAnimation(),r.attr(n)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function b(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function x(t,e,r){var n=e.get("z"),i=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i),t.silent=r)})}var w=r(23132),S=r(14952),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.makeElOption=function(t,e,r,n,i){var o=r.axis,a=o.grid,s=n.get("type"),l=M(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=w.bY(n),h=k[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var f=S.Zp(a.model,r);w.DA(e,t,f,r,n,i)},e.prototype.getHandleTransform=function(t,e,r){var n=S.Zp(e.axis.grid.model,e,{labelInside:!1});n.labelMargin=r.get(["handle","margin"]);var i=w.Tc(e.axis,t,n);return{x:i[0],y:i[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,r,n){var i=r.axis,o=i.grid,a=i.getGlobalExtent(!0),s=M(o,i).getOtherAxis(i).getGlobalExtent(),l=+("x"!==i.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];return h[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function M(t,e){var r={};return r[e.dim+"AxisIndex"]=e.index,t.getCartesian(r)}var k={line:function(t,e,r){return{type:"Line",subPixelOptimize:!0,shape:w.MU([e,r[0]],[e,r[1]],T(t))}},shadow:function(t,e,r){var n=Math.max(1,t.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:w.cU([e-n/2,r[0]],[n,i],T(t))}}};function T(t){return+("x"!==t.dim)}var C=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),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}(r(77993).A),O=r(81818),E=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.prototype.render=function(t,e,r){var n=e.getComponent("tooltip"),i=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";O.k("axisPointer",r,function(t,e,r){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&r({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){O.h("axisPointer",e)},e.prototype.dispose=function(t,e){O.h("axisPointer",e)},e.type="axisPointer",e}(r(60987).A),I=r(34091),D=(0,p.$r)();function R(t,e,r){var n=t.currTrigger,i=[t.x,t.y],a=t.dispatchAction||(0,o.bind)(r.dispatchAction,r),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){N(i)&&(i=(0,I.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,c,h,f,p,d,g,y,v,m,_=N(i),b=t.axesInfo,x=s.axesInfo,w="leave"===n||N(i),S={},A={},M={list:[],map:{}},k={showPointer:(0,o.curry)(P,A),showTooltip:(0,o.curry)(B,M)};(0,o.each)(s.coordSysMap,function(t,e){var r=_||t.containPoint(i);(0,o.each)(s.coordSysAxesInfo[e],function(t,e){var n=t.axis,o=function(t,e){for(var r=0;r<(t||[]).length;r++){var n=t[r];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(b,t);if(!w&&r&&(!b||o)){var a=o&&o.value;null!=a||_||(a=n.pointToData(i)),null!=a&&L(t,a,k,!1,S)}})});var T={};return(0,o.each)(x,function(t,e){var r=t.linkGroup;r&&!A[e]&&(0,o.each)(r.axesInfo,function(e,n){var i=A[n];if(e!==t&&i){var o=i.value;r.mapper&&(o=t.axis.scale.parse(r.mapper(o,F(e),F(t)))),T[t.key]=o}})}),(0,o.each)(T,function(t,e){L(x[e],t,k,!0,S)}),l=A,u=x,c=S.axesInfo=[],(0,o.each)(u,function(t,e){var r=t.axisPointerModel.option,n=l[e];n?(t.useHandle||(r.status="show"),r.value=n.value,r.seriesDataIndices=(n.payloadBatch||[]).slice()):t.useHandle||(r.status="hide"),"show"===r.status&&c.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}),function(t,e,r,n){if(N(e)||!t.list.length)return n({type:"hideTip"});var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}(M,i,t,a),h=x,p=(f=r).getZr(),d="axisPointerLastHighlights",g=D(p)[d]||{},y=D(p)[d]={},(0,o.each)(h,function(t,e){var r=t.axisPointerModel.option;"show"===r.status&&t.triggerEmphasis&&(0,o.each)(r.seriesDataIndices,function(t){y[t.seriesIndex+" | "+t.dataIndex]=t})}),v=[],m=[],(0,o.each)(g,function(t,e){y[e]||m.push(t)}),(0,o.each)(y,function(t,e){g[e]||v.push(t)}),m.length&&f.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:m}),v.length&&f.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:v}),S}}function L(t,e,r,n,i){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries)return void r.showPointer(t,e);var s,l,u,c,h,f,p,d,g=(s=e,c=(u=(l=t).axis).dim,h=s,f=[],p=Number.MAX_VALUE,d=-1,(0,o.each)(l.seriesModels,function(t,e){var r,n,i=t.getData().mapDimensionsAll(c);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(i,s,u);n=a.dataIndices,r=a.nestestValue}else{if(!(n=t.getData().indicesOfNearest(i[0],s,"category"===u.type?.5:null)).length)return;r=t.getData().get(i[0],n[0])}if(null!=r&&isFinite(r)){var l=s-r,g=Math.abs(l);g<=p&&((g<p||l>=0&&d<0)&&(p=g,d=l,h=r,f.length=0),(0,o.each)(n,function(e){f.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:f,snapToValue:h}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==i.seriesIndex&&(0,o.extend)(i,y[0]),!n&&t.snap&&a.containData(v)&&null!=v&&(e=v),r.showPointer(t,e,y),r.showTooltip(t,g,v)}}function P(t,e,r,n){t[e.key]={value:r,payloadBatch:n}}function B(t,e,r,n){var i=r.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var l=e.coordSys.model,u=c.og(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function F(t){var e=t.axis.model,r={},n=r.axisDim=t.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=e.componentIndex,r.axisName=r[n+"AxisName"]=e.name,r.axisId=r[n+"AxisId"]=e.id,r}function N(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function z(t){n.A.registerAxisPointerClass("CartesianAxisPointer",A),t.registerComponentModel(C),t.registerComponentView(E),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,c.Fo)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},R)}},5672(t,e,r){"use strict";r.d(e,{Fo:()=>o,Yc:()=>l,h_:()=>s,mg:()=>u,og:()=>h});var n=r(8350),i=r(60969);function o(t,e){var r,o,s,l,u,f,p,d,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return r=g,o=t,s=e,l=o.getComponent("tooltip"),f=(u=o.getComponent("axisPointer")).get("link",!0)||[],p=[],(0,i.each)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=h(t.model),s=r.coordSysAxesInfo[e]={};r.coordSysMap[e]=t;var d=t.model.getModel("tooltip",l);if((0,i.each)(t.getAxes(),(0,i.curry)(m,!1,null)),t.getTooltipAxes&&l&&d.get("show")){var g="axis"===d.get("trigger"),y="cross"===d.get(["axisPointer","type"]),v=t.getTooltipAxes(d.get(["axisPointer","axis"]));(g||y)&&(0,i.each)(v.baseAxes,(0,i.curry)(m,!y||"cross",g)),y&&(0,i.each)(v.otherAxes,(0,i.curry)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||c(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,r,o,a,s){var l=e.getModel("axisPointer"),u={};(0,i.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,i.clone)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===a){var h=l.get(["label","show"]);if(c.show=null==h||h,!s){var f=u.lineStyle=l.get("crossStyle");f&&(0,i.defaults)(c,f.textStyle)}}return t.model.getModel("axisPointer",new n.A(u,r,o))}(g,d,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),b=h(g.model),x=l||m||"category"===g.type,w=r.axesInfo[b]={key:b,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:x,snap:m,useHandle:c(y),seriesModels:[],linkGroup:null};s[b]=w,r.seriesInvolved=r.seriesInvolved||x;var S=function(t,e){for(var r=e.model,n=e.dim,i=0;i<t.length;i++){var o=t[i]||{};if(a(o[n+"AxisId"],r.id)||a(o[n+"AxisIndex"],r.componentIndex)||a(o[n+"AxisName"],r.name))return i}}(f,g);if(null!=S){var A=p[S]||(p[S]={axesInfo:{}});A.axesInfo[b]=w,A.mapper=f[S].mapper,w.linkGroup=A}}}}),g.seriesInvolved&&(d=g,t.eachSeries(function(t){var e=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),n=t.get(["tooltip","show"],!0);e&&"none"!==r&&!1!==r&&"item"!==r&&!1!==n&&!1!==t.get(["axisPointer","show"],!0)&&(0,i.each)(d.coordSysAxesInfo[h(e.model)],function(r){var n=r.axis;e.getAxis(n.dim)===n&&(r.seriesModels.push(t),null==r.seriesDataCount&&(r.seriesDataCount=0),r.seriesDataCount+=t.getData().count())})})),g}function a(t,e){return"all"===t||(0,i.isArray)(t)&&(0,i.indexOf)(t,e)>=0||t===e}function s(t){var e=l(t);if(e){var r=e.axisPointerModel,n=e.axis.scale,i=r.option,o=r.get("status"),a=r.get("value");null!=a&&(a=n.parse(a));var s=c(r);null==o&&(i.status=s?"show":"hide");var u=n.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),i.value=a,s&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function c(t){return!!t.get(["handle","show"])}function h(t){return t.type+"||"+t.id}},23132(t,e,r){"use strict";r.d(e,{DA:()=>d,MU:()=>g,Tc:()=>p,_F:()=>f,bY:()=>h,cU:()=>y});var n=r(60969),i=r(36443),o=r(76479),a=r(41606),s=r(67612),l=r(58741),u=r(19320),c=r(5606);function h(t){var e,r=t.get("type"),n=t.getModel(r+"Style");return"line"===r?(e=n.getLineStyle()).fill=null:"shadow"===r&&((e=n.getAreaStyle()).stroke=null),e}function f(t,e,r,i,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.each(i,function(t){var e=r.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,i=e&&e.getDataParams(n);i&&u.seriesData.push(i)}),n.isString(s)?a=s.replace("{value}",a):n.isFunction(s)&&(a=s(u))}return a}function p(t,e,r){var n=s.create();return s.rotate(n,n,r.rotation),s.translate(n,n,r.position),i.applyTransform([t.dataToCoord(e),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function d(t,e,r,n,i,s){var l,h,d,g,y,v,m,_,b,x,w,S,A,M,k,T,C,O,E=u.A.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),m={position:p(n.axis,t,r),align:E.textAlign,verticalAlign:E.textVerticalAlign},_=f(i.get("value"),n.axis,n.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),b=i.getModel("label"),x=a.QX(b.get("padding")||0),w=b.getFont(),S=o.NO(_,w),A=m.position,M=S.width+x[1]+x[3],k=S.height+x[0]+x[2],"right"===(T=m.align)&&(A[0]-=M),"center"===T&&(A[0]-=M/2),"bottom"===(C=m.verticalAlign)&&(A[1]-=k),"middle"===C&&(A[1]-=k/2),l=A,h=M,d=k,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+h,y)-h,l[1]=Math.min(l[1]+d,v)-d,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(O=b.get("backgroundColor"))&&"auto"!==O||(O=n.get(["axisLine","lineStyle","color"])),e.label={x:A[0],y:A[1],style:(0,c.VB)(b,{text:_,font:w,fill:b.getTextColor(),padding:x,backgroundColor:O}),z2:10}}function g(t,e,r){return{x1:t[r=r||0],y1:t[1-r],x2:e[r],y2:e[1-r]}}function y(t,e,r){return{x:t[r=r||0],y:t[1-r],width:e[r],height:e[1-r]}}},33840(t,e,r){"use strict";r.d(e,{a:()=>tl});var n=r(36473),i=r(65959),o=r(60969),a=r(77993),s=["x","y","radius","angle","single"],l=["cartesian2d","polar","singleAxis"];function u(t){return t+"Axis"}function c(t){var e=t.ecModel,r={infoList:[],infoMap:(0,o.createHashMap)()};return t.eachTargetAxis(function(t,n){var i=e.getComponent(u(t),n);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=r.infoMap.get(a);s||(s={model:o,axisModels:[]},r.infoList.push(s),r.infoMap.set(a,s)),s.axisModels.push(i)}}}),r}var h=r(31592),f=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),p=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return(0,i.C6)(e,t),e.prototype.init=function(t,e,r){var n=d(t);this.settledOption=n,this.mergeDefaultAndTheme(t,r),this._doInit(n)},e.prototype.mergeOption=function(t){var e=d(t);(0,o.merge)(this.option,t,!0),(0,o.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var r=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=r[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,o.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,o.each)(s,function(r){var n=this.getReferringComponents(u(r),h.UW);if(n.specified){e=!0;var i=new f;(0,o.each)(n.models,function(t){i.add(t.componentIndex)}),t.set(r,i)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var r=this.ecModel,n=!0,i="vertical"===e?"y":"x",a=r.findComponents({mainType:i+"Axis"});if(l(a,i),n){var a=r.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});l(a,"single")}function l(e,r){var i=e[0];if(i){var a=new f;if(a.add(i.componentIndex),t.set(r,a),n=!1,"x"===r||"y"===r){var s=i.getReferringComponents("grid",h.US).models[0];s&&(0,o.each)(e,function(t){i.componentIndex!==t.componentIndex&&s===t.getReferringComponents("grid",h.US).models[0]&&a.add(t.componentIndex)})}}}n&&(0,o.each)(s,function(e){if(n){var i=r.findComponents({mainType:u(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new f;o.add(i[0].componentIndex),t.set(e,o),n=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,r=this.get("rangeMode");(0,o.each)([["start","startValue"],["end","endValue"]],function(n,i){var o=null!=t[n[0]],a=null!=t[n[1]];o&&!a?e[i]="percent":!o&&a?e[i]="value":r?e[i]=r[i]:o&&(e[i]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,r){null==t&&(t=this.ecModel.getComponent(u(e),r))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(r,n){(0,o.each)(r.indexList,function(r){t.call(e,n,r)})})},e.prototype.getAxisProxy=function(t,e){var r=this.getAxisModel(t,e);if(r)return r.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var r=this._targetAxisInfoMap.get(t);if(r&&r.indexMap[e])return this.ecModel.getComponent(u(t),e)},e.prototype.setRawRange=function(t){var e=this.option,r=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],function(n){(null!=t[n[0]]||null!=t[n[1]])&&(e[n[0]]=r[n[0]]=t[n[0]],e[n[1]]=r[n[1]]=t[n[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,o.each)(["start","startValue","end","endValue"],function(r){e[r]=t[r]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var r=this.findRepresentativeAxisProxy();if(r)return r.getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,r=this._targetAxisInfoMap.keys(),n=0;n<r.length;n++)for(var i=r[n],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return 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}(a.A);function d(t){var e={};return(0,o.each)(["start","end","startValue","endValue","throttle"],function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var g=r(96358),y=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,g.G_)(p.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(p),v=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.prototype.render=function(t,e,r,n){this.dataZoomModel=t,this.ecModel=e,this.api=r},e.type="dataZoom",e}(r(60987).A);function m(t,e,r,n,i,o){t=t||0;var a,s=r[1]-r[0];if(null!=i&&(i=b(i,[0,s])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===n){var l=Math.abs(e[1]-e[0]);l=b(l,[0,s]),i=o=b(l,[i,o]),n=0}e[0]=b(e[0],r),e[1]=b(e[1],r);var u=_(e,n);e[n]+=t;var c=i||0,h=r.slice();return u.sign<0?h[0]+=c:h[1]-=c,e[n]=b(e[n],h),a=_(e,n),null!=i&&(a.sign!==u.sign||a.span<i)&&(e[1-n]=e[n]+u.sign*i),a=_(e,n),null!=o&&a.span>o&&(e[1-n]=e[n]+a.sign*o),e}function _(t,e){var r=t[e]-t[1-e];return{span:Math.abs(r),sign:r>0?-1:r<0?1:e?-1:1}}function b(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var x=r(20463),w=r(62813),S=(0,h.$r)();function A(t,e){if(e){t.removeKey(e.model.uid);var r=e.controller;r&&r.dispose()}}function M(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function k(t,e,r,n){return t.coordinateSystem.containPoint([r,n])}var T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,i.C6)(e,t),e.prototype.render=function(e,r,n){var i;(t.prototype.render.apply(this,arguments),e.noTarget())?this._clear():(this.range=e.getPercentRange(),i={pan:(0,o.bind)(C.pan,this),zoom:(0,o.bind)(C.zoom,this),scrollMove:(0,o.bind)(C.scrollMove,this)},S(n).coordSysRecordMap.each(function(t){var r=t.dataZoomInfoMap.get(e.uid);r&&(r.getRange=i)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var r=S(t).coordSysRecordMap,n=r.keys(),i=0;i<n.length;i++){var o=n[i],a=r.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||A(r,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(v),C={zoom:function(t,e,r,n){var i=this.range,o=i.slice(),a=t.axisModels[0];if(a){var s=E[e](null,[n.originX,n.originY],a,r,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/n.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(m(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:O(function(t,e,r,n,i,o){var a=E[n]([o.oldX,o.oldY],[o.newX,o.newY],e,i,r);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:O(function(t,e,r,n,i,o){return E[n]([0,0],[o.scrollDelta,o.scrollDelta],e,i,r).signal*(t[1]-t[0])*o.scrollDelta})};function O(t){return function(e,r,n,i){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s&&(m(t(a,s,e,r,n,i),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]))return a}}var E={grid:function(t,e,r,n,i){var o=r.axis,a={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,r,n,i){var o=r.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===r.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,r,n,i){var o=r.axis,a=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},I=r(30296),D=r(58741),R=r(40176),L=o.each,P=I.Y6,B=function(){function t(t,e,r,n){this._dimName=t,this._axisIndex=e,this.ecModel=n,this._dataZoomModel=r}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(r=e.get("coordinateSystem"),(0,o.indexOf)(l,r)>=0){var r,n=u(this._dimName),i=e.getReferringComponents(n,h.US).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return o.clone(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,r=this._dataExtent,n=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];L(["start","end"],function(l,u){var c=t[l],h=t[l+"Value"];"percent"===i[u]?(null==c&&(c=o[u]),h=n.parse(I.Cb(c,o,r))):(e=!0,h=null==h?r[u]:n.parse(h),c=I.Cb(h,r,o)),s[u]=null==h||isNaN(h)?r[u]:h,a[u]=null==c||isNaN(c)?o[u]:c}),P(s),P(a);var l=this._minMaxSpan;function u(t,e,r,i,o){var a=o?"Span":"ValueSpan";m(0,t,r,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=I.Cb(t[s],r,i,!0),o&&(e[s]=n.parse(e[s]))}return e?u(s,a,r,o,!1):u(a,s,o,r,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e,r,n,i,o,a=this.getTargetSeriesModels();this._dataExtent=(e=this,r=this._dimName,n=[1/0,-1/0],L(a,function(t){(0,D.PN)(n,t.getData(),r)}),i=e.getAxisModel(),[(o=(0,R.Tc)(i.axis.scale,i,n).calculate()).min,o.max]),this._updateMinMaxSpan();var s=this.calculateDataWindow(t.settledOption);this._valueWindow=s.valueWindow,this._percentWindow=s.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var r=this._dimName,n=this.getTargetSeriesModels(),i=t.get("filterMode"),a=this._valueWindow;"none"!==i&&L(n,function(t){var e=t.getData(),n=e.mapDimensionsAll(r);if(n.length){if("weakFilter"===i){var s=e.getStore(),l=o.map(n,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,r,i,o=0;o<n.length;o++){var u=s.get(l[o],t),c=!isNaN(u),h=u<a[0],f=u>a[1];if(c&&!h&&!f)return!0;c&&(i=!0),h&&(e=!0),f&&(r=!0)}return i&&e&&r})}else L(n,function(r){if("empty"===i)t.setData(e=e.map(r,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:NaN}));else{var n={};n[r]=a,e.selectRange(n)}});L(n,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,r=this._dataExtent;L(["min","max"],function(n){var i=e.get(n+"Span"),o=e.get(n+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=I.Cb(r[0]+o,r,[0,100],!0):null!=i&&(o=I.Cb(i,[0,100],r,!0)-r[0]),t[n+"Span"]=i,t[n+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,r=this._valueWindow;if(e){var n=I.hb(r,[0,500]);n=Math.min(n,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+r[0].toFixed(n)),100!==e[1]&&i.setDeterminedMinMax("max",+r[1].toFixed(n)),i.freeze()}},t}();let F={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(r){r.eachTargetAxis(function(n,i){var o=t.getComponent(u(n),i);e(n,i,o,r)})})}e(function(t,e,r,n){r.__dzAxisProxy=null});var r=[];e(function(e,n,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new B(e,n,o,t),r.push(i.__dzAxisProxy))});var n=(0,o.createHashMap)();return(0,o.each)(r,function(t){(0,o.each)(t.getTargetSeriesModels(),function(t){n.set(t.uid,t)})}),n},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,r){t.getAxisProxy(e,r).reset(t)}),t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var r=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setCalculatedRange({start:r[0],end:r[1],startValue:n[0],endValue:n[1]})}})}};var N=!1;function z(t){N||(N=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,F),t.registerAction("dataZoom",function(t,e){var r=function(t,e){var r,n=(0,o.createHashMap)(),i=[],a=(0,o.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do r=!1,t.eachComponent("dataZoom",s);while(r);function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,r){var i=n.get(t);i&&i[r]&&(e=!0)}),e)&&(l(t),r=!0)}function l(t){a.set(t.uid,!0),i.push(t),t.eachTargetAxis(function(t,e){(n.get(t)||n.set(t,[]))[e]=!0})}return i}(e,t);(0,o.each)(r,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function j(t){z(t),t.registerComponentModel(y),t.registerComponentView(T),t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var r=S(e),n=r.coordSysRecordMap||(r.coordSysRecordMap=(0,o.createHashMap)());n.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var r=c(t);(0,o.each)(r.infoList,function(r){var i,a,s,l=r.model.uid,u=n.get(l)||n.set(l,(s=(a={model:i=r.model,containsPoint:(0,o.curry)(k,i),dispatchAction:(0,o.curry)(M,e),dataZoomInfoMap:null,controller:null}).controller=new x.A(e.getZr()),(0,o.each)(["pan","zoom","scrollMove"],function(t){s.on(t,function(e){var r=[];a.dataZoomInfoMap.each(function(n){if(e.isAvailableBehavior(n.model.option)){var i=(n.getRange||{})[t],o=i&&i(n.dzReferCoordSysInfo,a.model.mainType,a.controller,e);!n.model.get("disabled",!0)&&o&&r.push({dataZoomId:n.model.id,start:o[0],end:o[1]})}}),r.length&&a.dispatchAction(r)})}),a));(u.dataZoomInfoMap||(u.dataZoomInfoMap=(0,o.createHashMap)())).set(t.uid,{dzReferCoordSysInfo:r,model:t,getRange:null})})}),n.each(function(t){var e,r,i,o,a,s=t.controller,l=t.dataZoomInfoMap;if(l){var u=l.keys()[0];null!=u&&(a=l.get(u))}if(!a)return void A(n,t);var c=(r="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0,l.each(function(t){var n=t.model,a=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");i[r+a]>i[r+e]&&(e=a),o=o&&n.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}});s.enable(c.controlType,c.opt),s.setPointerChecker(t.containsPoint),w.N(t,"dispatchAction",a.model.get("throttle",!0),"fixRate")})})}var H=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,i.C6)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,g.G_)(p.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}(p),V=r(59433),U=r(71734),W=r(58377),q=r(80618),Z=r(14870),G=r(50583),$=r(36443),Y=r(92443),X=r(45263),K=r(73327),J=r(27137),Q=r(5606),tt=U.A,te="horizontal",tr="vertical",tn=["line","bar","candlestick","scatter"],ti={easing:"cubicOut",duration:100,delay:0},to=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r._displayables={},r}return(0,i.C6)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,o.bind)(this._onBrush,this),this._onBrushEnd=(0,o.bind)(this._onBrushEnd,this)},e.prototype.render=function(e,r,n,i){if(t.prototype.render.apply(this,arguments),w.N(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show"))return void this.group.removeAll();if(e.noTarget()){this._clear(),this.group.removeAll();return}i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){w.IU(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 e=this._displayables.sliderGroup=new W.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,r=t.get("brushSelect"),n=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},a=this._orient===te?{right:i.width-n.x-n.width,top:i.height-30-7-7*!!r,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},s=X.vs(t.option);(0,o.each)(["right","top","width","height"],function(t){"ph"===s[t]&&(s[t]=a[t])});var l=X.dV(s,i);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===tr&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,r=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),i=n&&n.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(r!==te||i?r===te&&i?{scaleY:a?1:-1,scaleX:-1}:r!==tr||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,r=this._displayables.sliderGroup,n=t.get("brushSelect");r.add(new tt({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new tt({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,o.bind)(this._onClickPanel,this)}),a=this.api.getZr();n?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),r.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,r=this._shadowSize||[],n=t.series,i=n.getRawData(),o=n.getShadowDim&&n.getShadowDim(),a=o&&i.getDimensionInfo(o)?n.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||e[0]!==r[0]||e[1]!==r[1]){var u,c=i.getDataExtent(a),h=(c[1]-c[0])*.3;c=[c[0]-h,c[1]+h];var f=[0,e[1]],p=[0,e[0]],d=[[e[0],0],[0,0]],g=[],y=p[1]/(i.count()-1),v=0,m=Math.round(i.count()/e[0]);i.each([a],function(t,e){if(m>0&&e%m){v+=y;return}var r=null==t||isNaN(t)||""===t,n=r?0:(0,I.Cb)(t,c,f,!0);r&&!u&&e?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!r&&u&&(d.push([v,0]),g.push([v,0])),d.push([v,n]),g.push([v,n]),v+=y,u=r}),s=this._shadowPolygonPts=d,l=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,b=0;b<3;b++){var x=function(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),r=new W.A,n=new q.A({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new Z.A({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return r.add(n),r.add(i),r}(1===b);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,r=e.get("showDataShadow");if(!1!==r){var n=this.ecModel;return e.eachTargetAxis(function(i,a){var s=e.getAxisProxy(i,a).getTargetSeriesModels();(0,o.each)(s,function(e){if(!t&&!(!0!==r&&0>(0,o.indexOf)(tn,e.get("type")))){var s,l=n.getComponent(u(i),a).axis,c={x:"y",y:"x",radius:"angle",angle:"radius"}[i],h=e.coordinateSystem;null!=c&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),c=e.getData().mapDimension(c),t={thisAxis:l,series:e,thisDim:i,otherDim:c,otherAxisInverse:s}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,r=e.handles=[null,null],n=e.handleLabels=[null,null],i=this._displayables.sliderGroup,a=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,c=s.get("brushSelect"),h=e.filler=new tt({silent:c,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});i.add(h),i.add(new tt({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),(0,o.each)([0,1],function(e){var a=s.get("handleIcon");!J.$V[a]&&0>a.indexOf("path://")&&0>a.indexOf("image://")&&(a="path://"+a);var l=(0,J.v5)(a,-1,0,2,2,null,!0);l.attr({cursor:ta(this._orient),draggable:!0,drift:(0,o.bind)(this._onDragMove,this,e),ondragend:(0,o.bind)(this._onDragEnd,this),onmouseover:(0,o.bind)(this._showDataInfo,this,!0),onmouseout:(0,o.bind)(this._showDataInfo,this,!1),z2:5});var u=l.getBoundingRect(),c=s.get("handleSize");this._handleHeight=(0,I.lo)(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(s.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,K.iJ)(l);var h=s.get("handleColor");null!=h&&(l.style.fill=h),i.add(r[e]=l);var f=s.getModel("textStyle"),p=(s.get("handleLabel")||{}).show||!1;t.add(n[e]=new G.Ay({silent:!0,invisible:!p,style:(0,Q.VB)(f,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:f.getTextColor(),font:f.getFont()}),z2:10}))},this);var f=h;if(c){var p=(0,I.lo)(s.get("moveHandleSize"),a[1]),d=e.moveHandle=new U.A({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:p}}),g=.8*p,y=e.moveHandleIcon=(0,J.v5)(s.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=a[1]+p/2-.5,d.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(a[1]/2,Math.max(p,10));(f=e.moveZone=new U.A({invisible:!0,shape:{y:a[1]-v,height:p+v}})).on("mouseover",function(){l.enterEmphasis(d)}).on("mouseout",function(){l.leaveEmphasis(d)}),i.add(d),i.add(y),i.add(f)}f.attr({draggable:!0,cursor:ta(this._orient),drift:(0,o.bind)(this._onDragMove,this,"all"),ondragstart:(0,o.bind)(this._showDataInfo,this,!0),ondragend:(0,o.bind)(this._onDragEnd,this),onmouseover:(0,o.bind)(this._showDataInfo,this,!0),onmouseout:(0,o.bind)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,I.Cb)(t[0],[0,100],e,!0),(0,I.Cb)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var r=this.dataZoomModel,n=this._handleEnds,i=this._getViewExtent(),o=r.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];m(e,n,i,r.get("zoomLock")?"all":t,null!=o.minSpan?(0,I.Cb)(o.minSpan,a,i,!0):null,null!=o.maxSpan?(0,I.Cb)(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=(0,I.Y6)([(0,I.Cb)(n[0],i,a,!0),(0,I.Cb)(n[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,r=this._handleEnds,n=(0,I.Y6)(r.slice()),i=this._size;(0,o.each)([0,1],function(t){var n=e.handles[t],o=this._handleHeight;n.attr({scaleX:o/2,scaleY:o/2,x:r[t]+(t?-1:1),y:i[1]/2-o/2})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:i[1]});var a={x:n[0],width:n[1]-n[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var s=e.dataShadowSegs,l=[0,n[0],n[1],i[0]],u=0;u<s.length;u++){var c=s[u],h=c.getClipPath();h||(h=new U.A,c.setClipPath(h)),h.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,r=this._displayables,n=r.handleLabels,i=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=(0,I.Y6)(this._handleEnds.slice());function h(t){var e=$.getTransform(r.handles[t].parent,this.group),a=$.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=$.applyTransform([c[t]+(0===t?-s:s),this._size[1]/2],e);n[t].setStyle({x:l[0],y:l[1],verticalAlign:i===te?"middle":a,align:i===te?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var r=this.dataZoomModel,n=r.get("labelFormatter"),i=r.get("labelPrecision");(null==i||"auto"===i)&&(i=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return(0,o.isFunction)(n)?n(t,a):(0,o.isString)(n)?n.replace("{value}",a):a},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,r=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,n=t||this._dragging?r:e,i=this._displayables,o=i.handleLabels;o[0].attr("invisible",!n),o[1].attr("invisible",!n),i.moveHandle&&this.api[n?"enterEmphasis":"leaveEmphasis"](i.moveHandle,1)},e.prototype._onDragMove=function(t,e,r,n){this._dragging=!0,V.ds(n.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=$.applyTransform([e,r],i,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,r=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(r[0]<0)&&!(r[0]>e[0])&&!(r[1]<0)&&!(r[1]>e[1])){var n=this._handleEnds,i=(n[0]+n[1])/2,o=this._updateInterval("all",r[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,r=t.offsetY;this._brushStart=new Y.A(e,r),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var r=e.shape;if(!(new Date-this._brushStartTime<200&&5>Math.abs(r.width))){var n=this._getViewExtent(),i=[0,100];this._range=(0,I.Y6)([(0,I.Cb)(r.x,n,i,!0),(0,I.Cb)(r.x+r.width,n,i,!0)]),this._handleEnds=[r.x,r.x+r.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(V.ds(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var r=this._displayables,n=this.dataZoomModel,i=r.brushRect;i||(i=r.brushRect=new tt({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),r.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?ti:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=c(this.dataZoomModel).infoList;if(!t&&e.length){var r=e[0].model.coordinateSystem;t=r.getRect&&r.getRect()}if(!t){var n=this.api.getWidth(),i=this.api.getHeight();t={x:.2*n,y:.2*i,width:.6*n,height:.6*i}}return t},e.type="dataZoom.slider",e}(v);function ta(t){return"vertical"===t?"ns-resize":"ew-resize"}function ts(t){t.registerComponentModel(H),t.registerComponentView(to),z(t)}function tl(t){(0,n.Y)(j),(0,n.Y)(ts)}},43653(t,e,r){"use strict";r.d(e,{a:()=>ti});var n=r(65959),i=r(60987),o=r(77993),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),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}(o.A),s=r(71734),l=r(60969),u=r(43724),c=r(31592),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",c.US).models[0]},e.type="cartesian2dAxis",e}(o.A);l.mixin(h,u.L);var f={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)"]}}},p=l.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),d=l.merge({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}}},f),g=l.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},d),y=l.defaults({logBase:10},d);let v={category:p,value:d,time:g,log:y};var m=r(45263),_=r(33461),b={value:1,category:1,time:1,log:1};function x(t,e,r,i){(0,l.each)(b,function(o,a){var s=(0,l.merge)((0,l.merge)({},v[a],!0),i,!0),u=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e+"Axis."+a,r}return(0,n.C6)(r,t),r.prototype.mergeDefaultAndTheme=function(t,e){var r=(0,m.ad)(this),n=r?(0,m.vs)(t):{},i=e.getTheme();(0,l.merge)(t,i.get(a+"Axis")),(0,l.merge)(t,this.getDefaultOption()),t.type=w(t),r&&(0,m.YA)(t,n,r)},r.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=_.A.createByAxisModel(this))},r.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},r.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},r.type=e+"Axis."+a,r.defaultOption=s,r}(r);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",w)}function w(t){return t.type||(t.data?"category":"value")}var S=r(58741),A=r(87443),M=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return l.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),k=r(67612),T=r(20914),C=["x","y"];function O(t){return"interval"===t.type||"time"===t.type}var E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=C,e}return(0,n.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(O(t)&&O(e)){var r=t.getExtent(),n=e.getExtent(),i=this.dataToPoint([r[0],n[0]]),o=this.dataToPoint([r[1],n[1]]),a=r[1]-r[0],s=n[1]-n[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-r[0]*l,h=i[1]-n[0]*u,f=this._transform=[l,0,0,u,c,h];this._invTransform=(0,k.invert)([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),r=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&r.contain(r.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,e){var r=this.dataToPoint(t),n=this.dataToPoint(e),i=this.getArea(),o=new A.A(r[0],r[1],n[0]-r[0],n[1]-r[1]);return i.intersect(o)},e.prototype.dataToPoint=function(t,e,r){r=r||[];var n=t[0],i=t[1];if(this._transform&&null!=n&&isFinite(n)&&null!=i&&isFinite(i))return(0,T.applyTransform)(r,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return r[0]=o.toGlobalCoord(o.dataToCoord(n,e)),r[1]=a.toGlobalCoord(a.dataToCoord(i,e)),r},e.prototype.clampData=function(t,e){var r=this.getAxis("x").scale,n=this.getAxis("y").scale,i=r.getExtent(),o=n.getExtent(),a=r.parse(t[0]),s=n.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var r=[];if(this._invTransform)return(0,T.applyTransform)(r,t,this._invTransform);var n=this.getAxis("x"),i=this.getAxis("y");return r[0]=n.coordToData(n.toLocalCoord(t[0]),e),r[1]=i.coordToData(i.toLocalCoord(t[1]),e),r},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1])-t,i=Math.min(r[0],r[1])-t,o=Math.max(e[0],e[1])-n+t,a=Math.max(r[0],r[1])-i+t;return new A.A(n,i,o,a)},e}(M),I=function(t){function e(e,r,n,i,o){var a=t.call(this,e,r,n)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return(0,n.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(r(61435).A),D=r(14952),R=r(29557),L=r(30296),P=r(53224),B=Math.log,F=function(){function t(t,e,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=C,this._initCartesian(t,e,r),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var r=this._axesMap;function n(t){var e,r=(0,l.keys)(t),n=r.length;if(n){for(var i=[],o=n-1;o>=0;o--){var a=t[+r[o]],s=a.model,u=a.scale;(0,R.rf)(u)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):((0,S.af)(u,s),(0,R.rf)(u)&&(e=a))}i.length&&(e||(e=i.pop(),(0,S.af)(e.scale,e.model)),(0,l.each)(i,function(t){!function(t,e,r){var n=P.A.prototype,i=n.getTicks.call(r),o=n.getTicks.call(r,!0),a=i.length-1,s=n.getInterval.call(r),l=(0,S.Rx)(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var f=B(t.base);u=[B(u[0])/f,B(u[1])/f]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var p=n.getExtent.call(t);c&&(u[0]=p[0]),h&&(u[1]=p[1]);var d=n.getInterval.call(t),g=u[0],y=u[1];if(c&&h)d=(y-g)/a;else if(c)for(y=u[0]+d*a;y<u[1]&&isFinite(y)&&isFinite(u[1]);)d=(0,R.kH)(d),y=u[0]+d*a;else if(h)for(g=u[1]-d*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)d=(0,R.kH)(d),g=u[1]-d*a;else{t.getTicks().length-1>a&&(d=(0,R.kH)(d));var v=d*a;y=Math.ceil(u[1]/d)*d,(g=(0,L.LI)(y-v))<0&&u[0]>=0?(g=0,y=(0,L.LI)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,L.LI)(v))}var m=(i[0].value-o[0].value)/s,_=(i[a].value-o[a].value)/s;n.setExtent.call(t,g+d*m,y+d*_),n.setInterval.call(t,d),(m||_)&&n.setNiceExtent.call(t,g+d,y-d)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),n(r.x),n(r.y);var i={};(0,l.each)(r.x,function(t){z(r,"y",t,i)}),(0,l.each)(r.y,function(t){z(r,"x",t,i)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,r){var n=t.getBoxLayoutParams(),i=!r&&t.get("containLabel"),o=(0,m.dV)(n,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.each)(a,function(t){var e,r,n,i,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,r=a?o.x:o.y,i=(n=e.getExtent())[0]+n[1],e.toGlobalCoord="x"===e.dim?function(t){return t+r}:function(t){return i-t+r},e.toLocalCoord="x"===e.dim?function(t){return t-r}:function(t){return i-t+r}})}s(),i&&((0,l.each)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,S.Og)(t);if(e){var r=t.isHorizontal()?"height":"width",n=t.model.get(["axisLabel","margin"]);o[r]-=e[r]+n,"top"===t.position?o.y+=e.height+n:"left"===t.position&&(o.x+=e.width+n)}}}),s()),(0,l.each)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var r=this._axesMap[t];if(null!=r)return r[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var r="x"+t+"y"+e;return this._coordsMap[r]}(0,l.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===t||i[n].getAxis("y").index===e)return i[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,r){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},t.prototype.convertFromPixel=function(t,e,r){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},t.prototype._findConvertTarget=function(t){var e,r,n=t.seriesModel,i=t.xAxisModel||n&&n.getReferringComponents("xAxis",c.US).models[0],o=t.yAxisModel||n&&n.getReferringComponents("yAxis",c.US).models[0],a=t.gridModel,s=this._coordsList;return n?(e=n.coordinateSystem,0>(0,l.indexOf)(s,e)&&(e=null)):i&&o?e=this.getCartesian(i.componentIndex,o.componentIndex):i?r=this.getAxis("x",i.componentIndex):o?r=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:r}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,r){var n=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(r,n){if(N(r,t)){var l=r.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new I(e,(0,S.f$)(r),[0,0],r.get("type"),l),c="category"===u.type;u.onBand=c&&r.get("boundaryGap"),u.inverse=r.get("inverse"),r.axis=u,u.model=r,u.grid=i,u.index=n,i._axesList.push(u),a[e][n]=u,s[e]++}}}this._axesMap=a,(0,l.each)(a.x,function(e,r){(0,l.each)(a.y,function(i,o){var a="x"+r+"y"+o,s=new E(a);s.master=n,s.model=t,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(e),s.addAxis(i)})})},t.prototype._updateScale=function(t,e){function r(t,e){(0,l.each)((0,S.wq)(t,e.dim),function(r){e.scale.unionExtentFromData(t,r)})}(0,l.each)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,D.gO)(t)){var n=(0,D.LR)(t),i=n.xAxisModel,o=n.yAxisModel;if(N(i,e)&&N(o,e)){var a=this.getCartesian(i.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");r(s,l),r(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],r=[];return(0,l.each)(this.getCartesians(),function(n){var i=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),o=n.getOtherAxis(i);0>(0,l.indexOf)(e,i)&&e.push(i),0>(0,l.indexOf)(r,o)&&r.push(o)}),{baseAxes:e,otherAxes:r}},t.create=function(e,r){var n=[];return e.eachComponent("grid",function(i,o){var a=new t(i,e,r);a.name="grid_"+o,a.resize(i,r,!0),i.coordinateSystem=a,n.push(a)}),e.eachSeries(function(t){if((0,D.gO)(t)){var e=(0,D.LR)(t),r=e.xAxisModel,n=e.yAxisModel;t.coordinateSystem=r.getCoordSysModel().coordinateSystem.getCartesian(r.componentIndex,n.componentIndex)}}),n},t.dimensions=C,t}();function N(t,e){return t.getCoordSysModel()===e}function z(t,e,r,n){r.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=t[e],a=r.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)j(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&j(o[u])&&!n[c(o[u])]){i=o[u];break}i&&(n[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function j(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,S.JJ)(t)}var H=r(58377),V=r(36443),U=r(40964),W=r(19320),q=r(4910),Z=(0,c.$r)(),G=["axisLine","axisTickLabel","axisName"],$=["splitArea","splitLine","minorSplitLine"],Y=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="CartesianAxisPointer",r}return(0,n.C6)(e,t),e.prototype.render=function(e,r,n,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new H.A,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=D.Zp(a,e),u=new W.A(e,l.extend({handleAutoShown:function(t){for(var r=a.coordinateSystem.getCartesians(),n=0;n<r.length;n++)if((0,R.rf)(r[n].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.each(G,u.add,u),this._axisGroup.add(u.getGroup()),l.each($,function(t){e.get([t,"show"])&&X[t](this,this._axisGroup,e,a)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||V.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,r,n,i)}},e.prototype.remove=function(){Z(this).splitAreaColors=null},e.type="cartesianAxis",e}(q.A),X={splitLine:function(t,e,r,n){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),u=!1!==o.get("showMinLine"),c=!1!==o.get("showMaxLine");s=l.isArray(s)?s:[s];for(var h=n.coordinateSystem.getRect(),f=i.isHorizontal(),p=0,d=i.getTicksCoords({tickModel:o}),g=[],y=[],v=a.getLineStyle(),m=0;m<d.length;m++){var _=i.toGlobalCoord(d[m].coord);if((0!==m||u)&&(m!==d.length-1||c)){var b=d[m].tickValue;f?(g[0]=_,g[1]=h.y,y[0]=_,y[1]=h.y+h.height):(g[0]=h.x,g[1]=_,y[0]=h.x+h.width,y[1]=_);var x=p++%s.length,w=new U.A({anid:null!=b?"line_"+b:null,autoBatch:!0,shape:{x1:g[0],y1:g[1],x2:y[0],y2:y[1]},style:l.defaults({stroke:s[x]},v),silent:!0});V.subPixelOptimizeLine(w.shape,v.lineWidth),e.add(w)}}}},minorSplitLine:function(t,e,r,n){var i=r.axis,o=r.getModel("minorSplitLine").getModel("lineStyle"),a=n.coordinateSystem.getRect(),s=i.isHorizontal(),l=i.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),f=0;f<l.length;f++)for(var p=0;p<l[f].length;p++){var d=i.toGlobalCoord(l[f][p].coord);s?(u[0]=d,u[1]=a.y,c[0]=d,c[1]=a.y+a.height):(u[0]=a.x,u[1]=d,c[0]=a.x+a.width,c[1]=d);var g=new U.A({anid:"minor_line_"+l[f][p].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0});V.subPixelOptimizeLine(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,r,n){!function(t,e,r,n){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),c=n.coordinateSystem.getRect(),h=i.getTicksCoords({tickModel:o,clamp:!0});if(h.length){var f=u.length,p=Z(t).splitAreaColors,d=l.createHashMap(),g=0;if(p)for(var y=0;y<h.length;y++){var v=p.get(h[y].tickValue);if(null!=v){g=(v+(f-1)*y)%f;break}}var m=i.toGlobalCoord(h[0].coord),_=a.getAreaStyle();u=l.isArray(u)?u:[u];for(var y=1;y<h.length;y++){var b=i.toGlobalCoord(h[y].coord),x=void 0,w=void 0,S=void 0,A=void 0;i.isHorizontal()?(x=m,w=c.y,S=b-x,A=c.height,m=x+S):(x=c.x,w=m,S=c.width,A=b-w,m=w+A);var M=h[y-1].tickValue;null!=M&&d.set(M,g),e.add(new s.A({anid:null!=M?"area_"+M:null,shape:{x:x,y:w,width:S,height:A},style:l.defaults({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%f}Z(t).splitAreaColors=d}}}(t,e,r,n)}},K=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,n.C6)(e,t),e.type="xAxis",e}(Y),J=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=K.type,e}return(0,n.C6)(e,t),e.type="yAxis",e}(Y),Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,n.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.A({shape:t.coordinateSystem.getRect(),style:(0,l.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(i.A),tt={offset:0};function te(t){t.registerComponentView(Q),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",F),x(t,"x",h,tt),x(t,"y",h,tt),t.registerComponentView(K),t.registerComponentView(J),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var tr=r(81672),tn=r(36473);function ti(t){(0,tn.Y)(te),(0,tn.Y)(tr.a)}},20463(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r(65959),i=r(54714),o=r(59433),a=r(8737),s=r(60969),l="\0_ec_interaction_mutex";function u(t){return t[l]||(t[l]={})}function c(t,e,r,n,i){t.pointerChecker&&t.pointerChecker(n,i.originX,i.originY)&&(o.ds(n.event),h(t,e,r,n,i))}function h(t,e,r,n,i){i.isAvailableBehavior=(0,s.bind)(f,null,r,n),t.trigger(e,i)}function f(t,e,r){var n=r[t];return!t||n&&(!(0,s.isString)(n)||e.event[n+"Key"])}a.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},s.noop);let p=function(t){function e(e){var r=t.call(this)||this;r._zr=e;var n=(0,s.bind)(r._mousedownHandler,r),i=(0,s.bind)(r._mousemoveHandler,r),o=(0,s.bind)(r._mouseupHandler,r),a=(0,s.bind)(r._mousewheelHandler,r),l=(0,s.bind)(r._pinchHandler,r);return r.enable=function(t,r){this.disable(),this._opt=(0,s.defaults)((0,s.clone)(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),(!0===t||"move"===t||"pan"===t)&&(e.on("mousedown",n),e.on("mousemove",i),e.on("mouseup",o)),(!0===t||"scale"===t||"zoom"===t)&&(e.on("mousewheel",a),e.on("pinch",l))},r.disable=function(){e.off("mousedown",n),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",l)},r}return(0,n.C6)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!o.W5(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var r=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,r,n)&&(this._x=r,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(!(!this._dragging||!f("moveOnMouseMove",t,this._opt)||"pinch"===t.gestureEvent||u(this._zr).globalPan)){var e=t.offsetX,r=t.offsetY,n=this._x,i=this._y;this._x=e,this._y=r,this._opt.preventDefaultMouseMove&&o.ds(t.event),h(this,"pan","moveOnMouseMove",t,{dx:e-n,dy:r-i,oldX:n,oldY:i,newX:e,newY:r,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){o.W5(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=f("zoomOnMouseWheel",t,this._opt),r=f("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,i=Math.abs(n),o=t.offsetX,a=t.offsetY;if(0!==n&&(e||r)){if(e){var s=i>3?1.4:i>1?1.2:1.1;c(this,"zoom","zoomOnMouseWheel",t,{scale:n>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(r){var l=Math.abs(n);c(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(n>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!u(this._zr).globalPan){var e=t.pinchScale>1?1.1:1/1.1;c(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(i.A)},30574(t,e,r){"use strict";r.d(e,{a:()=>g});var n=r(65959),i=r(60969),o=r(50583),a=r(71734),s=r(23764),l=r(5606),u=r(45263),c=r(77993),h=r(60987),f=r(41606),p=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.layoutMode={type:"box",ignoreSize:!0},r}return(0,n.C6)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(c.A),d=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,n.C6)(e,t),e.prototype.render=function(t,e,r){if(this.group.removeAll(),t.get("show")){var n=this.group,c=t.getModel("textStyle"),h=t.getModel("subtextStyle"),p=t.get("textAlign"),d=i.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.Ay({style:(0,l.VB)(c,{text:t.get("text"),fill:c.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.Ay({style:(0,l.VB)(h,{text:v,fill:h.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),b=t.get("sublink"),x=t.get("triggerEvent",!0);g.silent=!_&&!x,m.silent=!b&&!x,_&&g.on("click",function(){(0,f.JW)(_,"_"+t.get("target"))}),b&&m.on("click",function(){(0,f.JW)(b,"_"+t.get("subtarget"))}),(0,s.z)(g).eventData=(0,s.z)(m).eventData=x?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(g),v&&n.add(m);var w=n.getBoundingRect(),S=t.getBoxLayoutParams();S.width=w.width,S.height=w.height;var A=(0,u.dV)(S,{width:r.getWidth(),height:r.getHeight()},t.get("padding"));p||("middle"===(p=t.get("left")||t.get("right"))&&(p="center"),"right"===p?A.x+=A.width:"center"===p&&(A.x+=A.width/2)),d||("center"===(d=t.get("top")||t.get("bottom"))&&(d="middle"),"bottom"===d?A.y+=A.height:"middle"===d&&(A.y+=A.height/2),d=d||"top"),n.x=A.x,n.y=A.y,n.markRedraw();var M={align:p,verticalAlign:d};g.setStyle(M),m.setStyle(M),w=n.getBoundingRect();var k=A.margin,T=t.getItemStyle(["color","opacity"]);T.fill=t.get("backgroundColor");var C=new a.A({shape:{x:w.x-k[3],y:w.y-k[0],width:w.width+k[1]+k[3],height:w.height+k[0]+k[2],r:t.get("borderRadius")},style:T,subPixelOptimize:!0,silent:!0});n.add(C)}},e.type="title",e}(h.A);function g(t){t.registerComponentModel(p),t.registerComponentView(d)}},26658(t,e,r){"use strict";r.d(e,{a:()=>X});var n=r(81672),i=r(36473),o=r(65959),a=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,o.C6)(e,t),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}(r(77993).A),s=r(60969),l=r(88934),u=r(59433),c=r(45175),h=r(41606);function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function p(t){if(l.A.domSupported){for(var e=document.documentElement.style,r=0,n=t.length;r<n;r++)if(t[r]in e)return t[r]}}var d=p(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=p(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,h.Cb)(e,!0);var r=t.indexOf(e);return(t=-1===r?e:"-"+t.slice(0,r)+"-"+e).toLowerCase()}var v=r(69511),m=y(g,"transition"),_=y(d,"transform"),b="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.A.transform3dSupported?"will-change:transform;":"");function x(t,e,r){var n=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!l.A.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var o=l.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+n+","+i+(o?",0":"")+")";return r?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[d,a]]}function w(t,e,r,n,i){var o=e&&e.painter;if(r){var a=o&&o.getViewportRoot();a&&(0,c.lJ)(t,a,r,n,i)}else{t[0]=n,t[1]=i;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var S=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.A.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var n=this._zr=t.getZr(),i=e.appendTo,o=i&&((0,s.isString)(i)?document.querySelector(i):(0,s.isDom)(i)?i:(0,s.isFunction)(i)&&i(t.getDom()));w(this._styleCoord,n,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(r),this._api=t,this._container=o;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=n.handler,r=n.painter.getViewportRoot();(0,u.e0)(r,t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,r,n=this._api.getDom(),i=(e="position",(r=n.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(n))?e?r[e]:r:null),o=n.style;"absolute"!==o.position&&"absolute"!==i&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r,n,i,o,a,u,c,f,p,d,g,y,w,S,A,M,k,T,C,O,E,I,D=this.el,R=D.style,L=this._styleCoord;D.innerHTML?R.cssText=b+(r=!this._firstShow,n=this._longHide,i=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),c=t.get("shadowColor"),f=t.get("shadowOffsetX"),p=t.get("shadowOffsetY"),d=t.getModel("textStyle"),g=(0,v.CO)(t,"html"),y=f+"px "+p+"px "+u+"px "+c,i.push("box-shadow:"+y),r&&o&&i.push((S="opacity"+(w=" "+o/2+"s cubic-bezier(0.23,1,0.32,1)")+",visibility"+w,n||(w=" "+o+"s cubic-bezier(0.23,1,0.32,1)",S+=l.A.transformSupported?","+_+w:",left"+w+",top"+w),m+":"+S)),a&&i.push("background-color:"+a),(0,s.each)(["width","color","radius"],function(e){var r="border-"+e,n=(0,h.Cb)(r),o=t.get(n);null!=o&&i.push(r+":"+o+("color"===e?"":"px"))}),i.push((A=[],M=d.get("fontSize"),(k=d.getTextColor())&&A.push("color:"+k),A.push("font:"+d.getFont()),T=(0,s.retrieve2)(d.get("lineHeight"),Math.round(3*M/2)),M&&A.push("line-height:"+T+"px"),C=d.get("textShadowColor"),O=d.get("textShadowBlur")||0,E=d.get("textShadowOffsetX")||0,I=d.get("textShadowOffsetY")||0,C&&O&&A.push("text-shadow:"+E+"px "+I+"px "+O+"px "+C),(0,s.each)(["decoration","align"],function(t){var e=d.get(t);e&&A.push("text-"+t+":"+e)}),A.join(";"))),null!=g&&i.push("padding:"+(0,h.QX)(g).join("px ")+"px"),i.join(";")+";")+x(L[0],L[1],!0)+"border-color:"+(0,h.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):R.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,r,n,i){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.isString)(i)&&"item"===r.get("trigger")&&!f(r)&&(a=function(t,e,r){if(!(0,s.isString)(r)||"inside"===r)return"";var n,i,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,h.he)(e);var l=n="left"===(n=r)?"right":"right"===n?"left":"top"===n?"bottom":"top",u=Math.max(1.5*Math.round(a),6),c="",f=_+":";(0,s.indexOf)(["left","right"],l)>-1?(c+="top:50%",f+="translateY(-50%) rotate("+(i="left"===l?-225:-45)+"deg)"):(c+="left:50%",f+="translateX(-50%) rotate("+(i="top"===l?225:45)+"deg)");var p=i*Math.PI/180,d=u+a,g=d*Math.abs(Math.cos(p))+d*Math.abs(Math.sin(p));c+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-d)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",c+";"+f+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(r,n,i)),(0,s.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.isArray)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.isDom)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var r=this._styleCoord;if(w(r,this._zr,this._container,t,e),null!=r[0]&&null!=r[1]){var n=this.el.style,i=x(r[0],r[1]);(0,s.each)(i,function(t){n[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),A=r(50583),M=r(46755),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),O(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,r,n,i){var o=this;s.isObject(t)&&(0,M.$8)(""),this.el&&this._zr.remove(this.el);var a=r.getModel("textStyle");this.el=new A.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:a.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:(0,v.CO)(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),s.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=r.get(t)}),s.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),r=C(t.style);return[e.width+r.left+r.right,e.height+r.top+r.bottom]},t.prototype.moveTo=function(t,e){var r=this.el;if(r){var n=this._styleCoord;O(n,this._zr,t,e),t=n[0],e=n[1];var i=r.style,o=T(i.borderWidth||0),a=C(i);r.x=t+o+a.left,r.y=e+o+a.top,r.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function T(t){return Math.max(0,t)}function C(t){var e=T(t.shadowBlur||0),r=T(t.shadowOffsetX||0),n=T(t.shadowOffsetY||0);return{left:T(e-r),right:T(e+r),top:T(e-n),bottom:T(e+n)}}function O(t,e,r,n){t[0]=r,t[1]=n,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var E=r(30296),I=r(71734),D=r(34091),R=r(45263),L=r(8350),P=r(81818),B=r(58741),F=r(23132),N=r(31592),z=r(60987),j=r(31940),H=r(23764),V=r(75493),U=r(97781),W=r(62813),q=new I.A({shape:{x:-1,y:-1,width:2,height:2}}),Z=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r}return(0,o.C6)(e,t),e.prototype.init=function(t,e){if(!l.A.node&&e.getDom()){var r=t.getComponent("tooltip"),n=this._renderMode=(0,N.XJ)(r.get("renderMode"));this._tooltipContent="richText"===n?new k(e):new S(e,{appendTo:r.get("appendToBody",!0)?"body":r.get("appendTo",!0)})}},e.prototype.render=function(t,e,r){if(!l.A.node&&r.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=r;var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,W.N)(this,"_updatePosition",50,"fixRate"):(0,W.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");P.k("itemTooltip",this._api,(0,s.bind)(function(e,r,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(r,n):"leave"===e&&this._hide(n))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,r=this._api,n=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==n&&"click"!==n){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){r.isDisposed()||i.manuallyShowTip(t,e,r,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,r,n){if(n.from!==this.uid&&!l.A.node&&r.getDom()){var i=$(n,r);this._ticket="";var o=n.dataByCoordSys,a=function(t,e,r){var n,i=(0,N.HB)(t).queryOptionMap,o=i.keys()[0];if(o&&"series"!==o){var a=(0,N.JO)(e,o,i.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(r.getViewOfComponentModel(a).group.traverse(function(e){var r=(0,H.z)(e).tooltipConfig;if(r&&r.name===t.name)return n=e,!0}),n))return{componentMainType:o,componentIndex:a.componentIndex,el:n}}}(n,e,r);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:n.position,positionDefault:"bottom"},i)}else if(n.tooltip&&null!=n.x&&null!=n.y)q.x=n.x,q.y=n.y,q.update(),(0,H.z)(q).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:q},i);else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:o,tooltipOption:n.tooltipOption},i);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,r,n))return;var u=(0,D.A)(n,e),c=u.point[0],h=u.point[1];null!=c&&null!=h&&this._tryShow({offsetX:c,offsetY:h,target:u.el,position:n.position,positionDefault:"bottom"},i)}else null!=n.x&&null!=n.y&&(r.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:r.getZr().findHover(n.x,n.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,r,n){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide($(n,r))},e.prototype._manuallyAxisShowTip=function(t,e,r,n){var i=n.seriesIndex,o=n.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s&&"axis"===G([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return r.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:n.position}),!0}},e.prototype._tryShow=function(t,e){var r=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n,i,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(r){if("legend"===(0,H.z)(r).ssrType)return;this._lastDataByCoordSys=null,(0,U.R)(r,function(t){return null!=(0,H.z)(t).dataIndex?(n=t,!0):null!=(0,H.z)(t).tooltipConfig?(i=t,!0):void 0},!0),n?this._showSeriesItemTooltip(t,n,e):i?this._showComponentItemTooltip(t,i,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var r=t.get("showDelay");e=(0,s.bind)(e,this),clearTimeout(this._showTimout),r>0?this._showTimout=setTimeout(e,r):e()},e.prototype._showAxisTooltip=function(t,e){var r=this._ecModel,n=this._tooltipModel,i=[e.offsetX,e.offsetY],o=G([e.tooltipOption],n),a=this._renderMode,l=[],u=(0,v.Qx)("section",{blocks:[],noHeader:!0}),c=[],f=new v.lb;(0,s.each)(t,function(t){(0,s.each)(t.dataByAxis,function(t){var e=r.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=F._F(i,e.axis,r,t.seriesDataIndices,t.valueLabelOpt),p=(0,v.Qx)("section",{header:o,noHeader:!(0,s.trim)(o),sortBlocks:!0,blocks:[]});u.blocks.push(p),(0,s.each)(t.seriesDataIndices,function(u){var d=r.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=d.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=B.Dt(e.axis,{value:i}),y.axisValueLabel=o,y.marker=f.makeTooltipMarker("item",(0,h.he)(y.color),a);var v=(0,V.L)(d.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=G([d],n).get("valueFormatter");p.blocks.push(_?(0,s.extend)({valueFormatter:_},m):m)}v.text&&c.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),c.reverse();var p=e.position,d=o.get("order"),g=(0,v.Yu)(u,f,a,d,r.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=c.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,p,i[0],i[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",i[0],i[1],p,null,f)})},e.prototype._showSeriesItemTooltip=function(t,e,r){var n=this._ecModel,i=(0,H.z)(e),o=i.seriesIndex,a=n.getSeriesByIndex(o),l=i.dataModel||a,u=i.dataIndex,c=i.dataType,f=l.getData(c),p=this._renderMode,d=t.positionDefault,g=G([f.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,c),_=new v.lb;m.marker=_.makeTooltipMarker("item",(0,h.he)(m.color),p);var b=(0,V.L)(l.formatTooltip(u,!1,c)),x=g.get("order"),w=g.get("valueFormatter"),S=b.frag,A=S?(0,v.Yu)(w?(0,s.extend)({valueFormatter:w},S):S,_,p,x,n.get("useUTC"),g.get("textStyle")):b.text,M="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,A,m,M,t.offsetX,t.offsetY,t.position,t.target,_)}),r({type:"showTip",dataIndexInside:u,dataIndex:f.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,r){var n="html"===this._renderMode,i=(0,H.z)(e),o=i.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,s.isString)(o)){var l=o;o={content:l,formatter:l},a=!0}a&&n&&o.content&&((o=(0,s.clone)(o)).content=(0,c.Me)(o.content));var u=[o],h=this._ecModel.getComponent(i.componentMainType,i.componentIndex);h&&u.push(h),u.push({formatter:o.content});var f=t.positionDefault,p=G(u,this._tooltipModel,f?{position:f}:null),d=p.get("content"),g=Math.random()+"",y=new v.lb;this._showOrMove(p,function(){var r=(0,s.clone)(p.get("formatterParams")||{});this._showTooltipContent(p,d,r,g,t.offsetX,t.offsetY,t.position,e,y)}),r({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,r,n,i,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var f=t.get("formatter");a=a||t.get("position");var p=e,d=this._getNearestPoint([i,o],r,t.get("trigger"),t.get("borderColor")).color;if(f)if((0,s.isString)(f)){var g=t.ecModel.get("useUTC"),y=(0,s.isArray)(r)?r[0]:r,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;p=f,v&&(p=(0,j.GP)(y.axisValue,p,g)),p=(0,h.YK)(p,r,!0)}else if((0,s.isFunction)(f)){var m=(0,s.bind)(function(e,n){e===this._ticket&&(c.setContent(n,u,t,d,a),this._updatePosition(t,a,i,o,c,r,l))},this);this._ticket=n,p=f(r,n,m)}else p=f;c.setContent(p,u,t,d,a),c.show(t,d),this._updatePosition(t,a,i,o,c,r,l)}},e.prototype._getNearestPoint=function(t,e,r,n){return"axis"===r||(0,s.isArray)(e)?{color:n||("html"===this._renderMode?"#fff":"none")}:(0,s.isArray)(e)?void 0:{color:n||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,r,n,i,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=i.getSize(),h=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,s.isFunction)(e)&&(e=e([r,n],o,i.el,d,{viewSize:[l,u],contentSize:c.slice()})),(0,s.isArray)(e))r=(0,E.lo)(e[0],l),n=(0,E.lo)(e[1],u);else if((0,s.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var y=(0,R.dV)(g,{width:l,height:u});r=y.x,n=y.y,h=null,p=null}else if((0,s.isString)(e)&&a){var v=function(t,e,r,n){var i=r[0],o=r[1],a=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-i/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-i/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-i/2,l=e.y+c+a;break;case"left":s=e.x-i-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,d,c,t.get("borderWidth"));r=v[0],n=v[1]}else{var m,_,b,x,w,S,A,M,k,T,v=(m=r,_=n,b=i,x=l,w=u,S=h?null:20,A=p?null:20,k=(M=b.getSize())[0],T=M[1],null!=S&&(m+k+S+2>x?m-=k+S:m+=S),null!=A&&(_+T+A>w?_-=T+A:_+=A),[m,_]);r=v[0],n=v[1]}if(h&&(r-=Y(h)?c[0]/2:"right"===h?c[0]:0),p&&(n-=Y(p)?c[1]/2:"bottom"===p?c[1]:0),f(t)){var C,O,I,D,L,P,B,F,v=(C=r,O=n,I=i,D=l,L=u,B=(P=I.getSize())[0],F=P[1],C=Math.min(C+B,D)-B,O=Math.min(O+F,L)-F,[C=Math.max(C,0),O=Math.max(O,0)]);r=v[0],n=v[1]}i.moveTo(r,n)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var r=this._lastDataByCoordSys,n=this._cbParamsList,i=!!r&&r.length===t.length;return i&&(0,s.each)(r,function(r,o){var a=r.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(i=i&&a.length===l.length)&&(0,s.each)(a,function(t,r){var o=l[r]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.each)(a,function(t,e){var r=u[e];i=i&&t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex}),n&&(0,s.each)(t.seriesDataIndices,function(t){var r=t.seriesIndex,o=e[r],a=n[r];o&&a&&a.data!==o.data&&(i=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.A.node&&e.getDom()&&((0,W.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),P.h("itemTooltip",e))},e.type="tooltip",e}(z.A);function G(t,e,r){var n,i=e.ecModel;r?(n=new L.A(r,i,i),n=new L.A(e.option,n,i)):n=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof L.A&&(a=a.get("tooltip",!0)),(0,s.isString)(a)&&(a={formatter:a}),a&&(n=new L.A(a,n,i)))}return n}function $(t,e){return t.dispatchAction||(0,s.bind)(e.dispatchAction,e)}function Y(t){return"center"===t||"middle"===t}function X(t){(0,i.Y)(n.a),t.registerComponentModel(a),t.registerComponentView(Z),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.noop)}},69511(t,e,r){"use strict";r.d(e,{CO:()=>b,Qx:()=>f,Yu:()=>y,aw:()=>_,lb:()=>x});var n=r(45175),i=r(41606),o=r(60969),a=r(89927),s=r(30296);function l(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,n.Me)(e+"")+"px"}function u(t,e){var r=t.color||"#6e7079",i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,n.Me)(i+"")+"px;color:"+(0,n.Me)(r)+";font-weight:"+(0,n.Me)(o+""),valueStyle:"font-size:"+(0,n.Me)(s+"")+"px;color:"+(0,n.Me)(a)+";font-weight:"+(0,n.Me)(l+"")}:{nameStyle:{fontSize:i,fill:r,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var c=[0,10,20,30],h=["","\n","\n\n","\n\n\n"];function f(t,e){return e.type=t,e}function p(t){return"section"===t.type}function d(t,e,r,s){var f,y=e.noHeader,_={html:c[f=function t(e){if(p(e)){var r=0,n=e.blocks.length,i=n>1||n>0&&!e.noHeader;return(0,o.each)(e.blocks,function(e){var n=t(e);n>=r&&(r=n+ +(i&&(!n||p(e)&&!e.noHeader)))}),r}return 0}(e)],richText:h[f]},b=[],x=e.blocks||[];(0,o.assert)(!x||(0,o.isArray)(x)),x=x||[];var w=t.orderMode;if(e.sortBlocks&&w){x=x.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,w)){var A=new a.Fl(S[w],null);x.sort(function(t,e){return A.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&x.reverse()}(0,o.each)(x,function(r,n){var i=e.valueFormatter,a=(p(r)?d:g)(i?(0,o.extend)((0,o.extend)({},t),{valueFormatter:i}):t,r,n>0?_.html:0,s);null!=a&&b.push(a)});var M="richText"===t.renderMode?b.join(_.richText):v(s,b.join(""),y?r:_.html);if(y)return M;var k=(0,i.yC)(e.header,"ordinal",t.useUTC),T=u(s,t.renderMode).nameStyle,C=l(s);return"richText"===t.renderMode?m(t,k,T)+_.richText+M:v(s,'<div style="'+T+";"+C+';">'+(0,n.Me)(k)+"</div>"+M,r)}function g(t,e,r,a){var s=t.renderMode,l=e.noName,c=e.noValue,h=!e.markerType,f=e.name,p=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,i.yC)(t,(0,o.isArray)(O)?O[e]:O,p)})};if(!l||!c){var g,y,_,b,x,w,S,A,M,k,T=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),C=l?"":(0,i.yC)(f,"ordinal",p),O=e.valueType,E=c?[]:d(e.value,e.dataIndex),I=!h||!l,D=!h&&l,R=u(a,s),L=R.nameStyle,P=R.valueStyle;return"richText"===s?(h?"":T)+(l?"":m(t,C,L))+(c?"":(g=t,y=E,_=I,b=D,x=[P],_&&x.push({padding:[0,0,0,b?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(y)?y.join(" "):y,x))):v(a,(h?"":T)+(l?"":(w=C,'<span style="'+L+";"+(h?"":"margin-left:2px")+'">'+(0,n.Me)(w)+"</span>"))+(c?"":(S=E,A=I,M=D,k=P,S=(0,o.isArray)(S)?S:[S],'<span style="'+(A?"float:right;margin-left:"+(M?"10px":"20px"):"")+";"+k+'">'+(0,o.map)(S,function(t){return(0,n.Me)(t)}).join("&nbsp;&nbsp;")+"</span>")),r)}}function y(t,e,r,n,i,o){if(t)return(p(t)?d:g)({useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e,r){return'<div style="margin: '+r+"px 0 0;"+l(t)+';">'+e+'<div style="clear:both"></div></div>'}function m(t,e,r){return t.markupStyleCreator.wrapRichTextStyle(e,r)}function _(t,e){var r=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.he)(r)}function b(t,e){var r=t.get("padding");return null!=r?r:"richText"===e?[8,10]:10}var x=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,r){var n="richText"===r?this._generateStyleName():null,a=(0,i.qg)({color:e,type:t,renderMode:r,markerId:n});return(0,o.isString)(a)?a:(this.richTextStyles[n]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var r={};(0,o.isArray)(e)?(0,o.each)(e,function(t){return(0,o.extend)(r,t)}):(0,o.extend)(r,e);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+t+"}"},t}()},61435(t,e,r){"use strict";r.d(e,{A:()=>m});var n=r(60969),i=r(30296),o=r(76479),a=r(31592),s=r(58741),l=(0,a.$r)();function u(t,e){var r=n.map(e,function(e){return t.scale.parse(e)});return"time"===t.type&&r.length>0&&(r.sort(),r.unshift(r[0]),r.push(r[r.length-1])),r}function c(t,e){var r,i,o,a,u=h(t,"labels"),c=(0,s.j2)(e),y=f(u,c);return y||(n.isFunction(c)?o=g(t,c):(a="auto"===c?null!=(i=l(r=t).autoInterval)?i:l(r).autoInterval=r.calculateCategoryInterval():c,o=d(t,a)),p(u,c,{labels:o,labelCategoryInterval:a}))}function h(t,e){return l(t)[e]||(l(t)[e]=[])}function f(t,e){for(var r=0;r<t.length;r++)if(t[r].key===e)return t[r].value}function p(t,e,r){return t.push({key:e,value:r}),r}function d(t,e,r){var n=(0,s.ry)(t),i=t.scale,o=i.getExtent(),a=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),c=o[0],h=i.count();0!==c&&u>1&&h/u>2&&(c=Math.round(Math.ceil(c/u)*u));var f=(0,s.PJ)(t),p=a.get("showMinLabel")||f,d=a.get("showMaxLabel")||f;p&&c!==o[0]&&y(o[0]);for(var g=c;g<=o[1];g+=u)y(g);function y(t){var e={value:t};l.push(r?t:{formattedLabel:n(e),rawLabel:i.getLabel(e),tickValue:t})}return d&&g-u!==o[1]&&y(o[1]),l}function g(t,e,r){var i=t.scale,o=(0,s.ry)(t),a=[];return n.each(i.getTicks(),function(t){var n=i.getLabel(t),s=t.value;e(t.value,n)&&a.push(r?s:{formattedLabel:o(t),rawLabel:n,tickValue:s})}),a}var y=[0,1];function v(t,e){var r=(t[1]-t[0])/e/2;t[0]+=r,t[1]-=r}let m=function(){function t(t,e,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=r||[0,0]}return t.prototype.contain=function(t){var e=this._extent,r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=r&&t<=n},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,i.hb)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var r=this._extent;r[0]=t,r[1]=e},t.prototype.dataToCoord=function(t,e){var r=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&v(r=r.slice(),n.count()),(0,i.Cb)(t,y,r,e)},t.prototype.coordToData=function(t,e){var r=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&v(r=r.slice(),n.count());var o=(0,i.Cb)(t,r,y,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),r=function(t,e){var r=t.getTickModel().get("customValues");if(r){var i=t.scale.getExtent(),o=u(t,r);return{ticks:n.filter(o,function(t){return t>=i[0]&&t<=i[1]})}}return"category"===t.type?function(t,e){var r,i,o=h(t,"ticks"),a=(0,s.j2)(e),l=f(o,a);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(r=[]),n.isFunction(a))r=g(t,a,!0);else if("auto"===a){var u=c(t,t.getLabelModel());i=u.labelCategoryInterval,r=n.map(u.labels,function(t){return t.tickValue})}else r=d(t,i=a,!0);return p(o,a,{ticks:r,tickCategoryInterval:i})}(t,e):{ticks:n.map(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,o=(0,n.map)(r,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,r,o){var a,s,l=e.length;if(t.onBand&&!r&&l){var u=t.getExtent();if(1===l)e[0].coord=u[0],a=e[1]={coord:u[1],tickValue:e[0].tickValue};else{var c=e[l-1].tickValue-e[0].tickValue,h=(e[l-1].coord-e[0].coord)/c;(0,n.each)(e,function(t){t.coord-=h/2});var f=t.scale.getExtent();s=1+f[1]-e[l-1].tickValue,a={coord:e[l-1].coord+h*s,tickValue:f[1]+1},e.push(a)}var p=u[0]>u[1];d(e[0].coord,u[0])&&(o?e[0].coord=u[0]:e.shift()),o&&d(u[0],e[0].coord)&&e.unshift({coord:u[0]}),d(u[1],a.coord)&&(o?a.coord=u[1]:e.pop()),o&&d(a.coord,u[1])&&e.push({coord:u[1]})}function d(t,e){return t=(0,i.LI)(t),e=(0,i.LI)(e),p?t>e:t<e}}(this,o,e.get("alignWithLabel"),t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,n.map)(e,function(t){return(0,n.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return function(t){var e,r,i,o,a,l,h=t.getLabelModel().get("customValues");if(h){var f=(0,s.ry)(t),p=t.scale.getExtent(),d=u(t,h),g=n.filter(d,function(t){return t>=p[0]&&t<=p[1]});return{labels:n.map(g,function(e){var r={value:e};return{formattedLabel:f(r),rawLabel:t.scale.getLabel(r),tickValue:e}})}}return"category"===t.type?(r=(e=t).getLabelModel(),i=c(e,r),!r.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i):(a=(o=t).scale.getTicks(),l=(0,s.ry)(o),{labels:n.map(a,function(t,e){return{level:t.level,formattedLabel:l(t,e),rawLabel:o.scale.getLabel(t),tickValue:t.value}})})}(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 t=this._extent,e=this.scale.getExtent(),r=e[1]-e[0]+ +!!this.onBand;return 0===r&&(r=1),Math.abs(Math.abs(t[1]-t[0]))/r},t.prototype.calculateCategoryInterval=function(){return function(t){var e,r,n=(r=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:r.get("rotate")||0,font:r.getFont()}),i=(0,s.ry)(t),a=(n.axisRotate-n.labelRotate)/180*Math.PI,u=t.scale,c=u.getExtent(),h=u.count();if(c[1]-c[0]<1)return 0;var f=1;h>40&&(f=Math.max(1,Math.floor(h/40)));for(var p=c[0],d=t.dataToCoord(p+1)-t.dataToCoord(p),g=Math.abs(d*Math.cos(a)),y=Math.abs(d*Math.sin(a)),v=0,m=0;p<=c[1];p+=f){var _=0,b=0,x=o.NO(i({value:p}),n.font,"center","top");_=1.3*x.width,b=1.3*x.height,v=Math.max(v,_,7),m=Math.max(m,b,7)}var w=v/g,S=m/y;isNaN(w)&&(w=1/0),isNaN(S)&&(S=1/0);var A=Math.max(0,Math.floor(Math.min(w,S))),M=l(t.model),k=t.getExtent(),T=M.lastAutoInterval,C=M.lastTickCount;return null!=T&&null!=C&&1>=Math.abs(T-A)&&1>=Math.abs(C-h)&&T>A&&M.axisExtent0===k[0]&&M.axisExtent1===k[1]?A=T:(M.lastTickCount=h,M.lastAutoInterval=A,M.axisExtent0=k[0],M.axisExtent1=k[1]),A}(this)},t}()},58741(t,e,r){"use strict";r.d(e,{f$:()=>D,PN:()=>j,Dt:()=>P,wq:()=>z,Rx:()=>E,ry:()=>L,Og:()=>B,JJ:()=>R,j2:()=>F,af:()=>I,PJ:()=>N});var n=r(60969),i=r(65959),o=r(54203),a=r(33461),s=r(29557),l=function(t){function e(e){var r=t.call(this,e)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new a.A({})),(0,n.isArray)(i)&&(i=new a.A({categories:(0,n.map)(i,function(t){return(0,n.isObject)(t)?t.value:t})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return(0,i.C6)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,n.isString)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.lP(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.S8(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.hs(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,r=e[0];r<=e[1];)t.push({value:r}),r++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,r=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);i<a;++i){var s=e[i];r[i]=s,n[s]=i}for(var l=0;i<o;++i){for(;null!=n[l];)l++;r.push(l),n[l]=i}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),r=this._ordinalMeta.categories[e];return null==r?"":r+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},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}(o.A);o.A.registerClass(l);var u=r(53224),c=r(68518),h=r(87443),f=r(30296),p=r(31940),d=function(t,e,r,n){for(;r<n;){var i=r+n>>>1;t[i][1]<e?r=i+1:n=i}return r},g=function(t){function e(e){var r=t.call(this,e)||this;return r.type="time",r}return(0,i.C6)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,p.GP)(t.value,p.Lm[(0,p.$9)((0,p.ym)(this._minLevelUnit))]||p.Lm.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,r){var n=this.getSetting("useUTC"),i=this.getSetting("locale");return(0,p.X_)(t,e,r,i,n)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,r=[];if(!t)return r;r.push({value:e[0],level:0});var i=this.getSetting("useUTC"),o=function(t,e,r,i){for(var o=p.F7,a=0,s=[],l=[],u=0,c=0,h=0;h<o.length&&a++<1e4;++h){var d=(0,p.ym)(o[h]);if((0,p.ce)(o[h])&&(!function(t,n,o){var a=[],s=!n.length;if(!function(t,e,r,n){var i=f._U(e),o=f._U(r),a=function(t){return(0,p.g0)(i,t,n)===(0,p.g0)(o,t,n)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},d=function(){return h()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return d()&&a("millisecond")}}((0,p.ym)(t),i[0],i[1],r)){s&&(n=[{value:function(t,e,r){var n=new Date(t);switch((0,p.ym)(e)){case"year":case"month":n[(0,p.xu)(r)](0);case"day":n[(0,p.ti)(r)](1);case"hour":n[(0,p.Yd)(r)](0);case"minute":n[(0,p.KF)(r)](0);case"second":n[(0,p.ww)(r)](0),n[(0,p.FP)(r)](0)}return n.getTime()}(new Date(i[0]),t,r)},{value:i[1]}]);for(var l=0;l<n.length-1;l++){var u=n[l].value,c=n[l+1].value;if(u!==c){var h,d,g,y=void 0,m=void 0,_=void 0;switch(t){case"year":y=Math.max(1,Math.round(e/p.CZ/365)),m=(0,p.hY)(r),_=(0,p.tM)(r);break;case"half-year":case"quarter":case"month":y=(h=e/(30*p.CZ))>6?6:h>3?3:h>2?2:1,m=(0,p.jJ)(r),_=(0,p.xu)(r);break;case"week":case"half-week":case"day":y=(d=e/p.CZ)>16?16:d>7.5?7:d>3.5?4:d>1.5?2:1,m=(0,p.bP)(r),_=(0,p.ti)(r);break;case"half-day":case"quarter-day":case"hour":y=(g=e/p.MA)>12?12:g>6?6:g>3.5?4:g>2?2:1,m=(0,p.iC)(r),_=(0,p.Yd)(r);break;case"minute":y=v(e,!0),m=(0,p.yB)(r),_=(0,p.KF)(r);break;case"second":y=v(e,!1),m=(0,p.Wf)(r),_=(0,p.ww)(r);break;case"millisecond":y=f.Cm(e,!0),m=(0,p.Zz)(r),_=(0,p.FP)(r)}!function(t,e,r,n,o,a,s){for(var l=new Date(e),u=e,c=l[n]();u<r&&u<=i[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}(y,u,c,m,_,0,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-y})}}for(var l=0;l<a.length;l++)o.push(a[l])}}(o[h],s[s.length-1]||[],l),d!==(o[h+1]?(0,p.ym)(o[h+1]):null))){if(l.length){c=u,l.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<l.length;++y){var m=l[y].value;(0===y||l[y-1].value!==m)&&(g.push(l[y]),m>=i[0]&&m<=i[1]&&u++)}var _=(i[1]-i[0])/e;if(u>1.5*_&&c>_/1.5||(s.push(g),u>_||t===o[h]))break}l=[]}}for(var b=(0,n.filter)((0,n.map)(s,function(t){return(0,n.filter)(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),x=[],w=b.length-1,h=0;h<b.length;++h)for(var S=b[h],A=0;A<S.length;++A)x.push({value:S[A].value,level:w-h});x.sort(function(t,e){return t.value-e.value});for(var M=[],h=0;h<x.length;++h)(0===h||x[h].value!==x[h-1].value)&&M.push(x[h]);return M}(this._minLevelUnit,this._approxInterval,i,e);return(r=r.concat(o)).push({value:e[1],level:0}),r},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=p.CZ,e[1]+=p.CZ),e[1]===-1/0&&e[0]===1/0){var r=new Date;e[1]=+new Date(r.getFullYear(),r.getMonth(),r.getDate()),e[0]=e[1]-p.CZ}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,r){t=t||10;var n=this._extent,i=n[1]-n[0];this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=r&&this._approxInterval>r&&(this._approxInterval=r);var o=y.length,a=Math.min(d(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,n.isNumber)(t)?t:+f._U(t)},e.prototype.contain=function(t){return s.lP(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.S8(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.hs(t,this._extent)},e.type="time",e}(u.A),y=[["second",p.OY],["minute",p.iW],["hour",p.MA],["quarter-day",6*p.MA],["half-day",12*p.MA],["day",1.2*p.CZ],["half-week",3.5*p.CZ],["week",7*p.CZ],["month",31*p.CZ],["quarter",95*p.CZ],["half-year",p.$H/2],["year",p.$H]];function v(t,e){return(t/=e?p.iW:p.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.A.registerClass(g);var m=o.A.prototype,_=u.A.prototype,b=f.LI,x=Math.floor,w=Math.ceil,S=Math.pow,A=Math.log,M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.A,e._interval=0,e}return(0,i.C6)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,r=this._extent,i=e.getExtent(),o=_.getTicks.call(this,t);return n.map(o,function(t){var e=t.value,n=f.LI(S(this.base,e));return n=e===r[0]&&this._fixMin?T(n,i[0]):n,{value:n=e===r[1]&&this._fixMax?T(n,i[1]):n}},this)},e.prototype.setExtent=function(t,e){var r=A(this.base);t=A(Math.max(0,t))/r,e=A(Math.max(0,e))/r,_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=m.getExtent.call(this);e[0]=S(t,e[0]),e[1]=S(t,e[1]);var r=this._originalScale.getExtent();return this._fixMin&&(e[0]=T(e[0],r[0])),this._fixMax&&(e[1]=T(e[1],r[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=A(t[0])/A(e),t[1]=A(t[1])/A(e),m.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,r=e[1]-e[0];if(r!==1/0&&!(r<=0)){var n=f.au(r);for(t/r*n<=.5&&(n*=10);!isNaN(n)&&1>Math.abs(n)&&Math.abs(n)>0;)n*=10;var i=[f.LI(w(e[0]/n)*n),f.LI(x(e[1]/n)*n)];this._interval=n,this._niceExtent=i}},e.prototype.calcNiceExtent=function(t){_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=A(t)/A(this.base),s.lP(t,this._extent)},e.prototype.normalize=function(t){return t=A(t)/A(this.base),s.S8(t,this._extent)},e.prototype.scale=function(t){return t=s.hs(t,this._extent),S(this.base,t)},e.type="log",e}(o.A),k=M.prototype;function T(t,e){return b(t,f.XV(e))}k.getMinorTicks=_.getMinorTicks,k.getLabel=_.getLabel,o.A.registerClass(M);var C=r(32750),O=r(40176);function E(t,e){var r=t.type,i=(0,O.Tc)(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var o=i.min,a=i.max,s=e.ecModel;if(s&&"time"===r){var l=(0,c.GL)("bar",s),u=!1;if(n.each(l,function(t){u=u||t.getBaseAxis()===e.axis}),u){var h=function(t,e,r,i){var o=r.axis.getExtent(),a=Math.abs(o[1]-o[0]),s=(0,c.VA)(i,r.axis);if(void 0===s)return{min:t,max:e};var l=1/0;n.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;n.each(s,function(t){u=Math.max(t.offset+t.width,u)});var h=(l=Math.abs(l))+(u=Math.abs(u)),f=e-t,p=f/(1-(l+u)/a)-f;return e+=u/h*p,{min:t-=l/h*p,max:e}}(o,a,e,(0,c.vq)(l));o=h.min,a=h.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function I(t,e){var r=E(t,e),n=r.extent,i=e.get("splitNumber");t instanceof M&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(n[0],n[1]),t.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function D(t,e){if(e=e||t.get("type"))switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new g({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.A.getClass(e)||u.A)}}function R(t){var e=t.scale.getExtent(),r=e[0],n=e[1];return!(r>0&&n>0||r<0&&n<0)}function L(t){var e=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(r,n){return t.scale.getFormattedLabel(r,n,e)}:n.isString(e)?function(r){var n=t.scale.getLabel(r);return e.replace("{value}",null!=n?n:"")}:n.isFunction(e)?function(n,i){return null!=r&&(i=n.value-r),e(P(t,n),i,null!=n.level?{level:n.level}:null)}:function(e){return t.scale.getLabel(e)}}function P(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function B(t){var e,r,n,i=t.model,o=t.scale;if(!(!i.get(["axisLabel","show"])||o.isBlank())){var a=o.getExtent();r=o instanceof l?o.count():(e=o.getTicks()).length;var s=t.getLabelModel(),u=L(t),c=1;r>40&&(c=Math.ceil(r/40));for(var f=0;f<r;f+=c){var p=u(e?e[f]:{value:a[0]+f},f),d=function(t,e){var r=e*Math.PI/180,n=t.width,i=t.height,o=n*Math.abs(Math.cos(r))+Math.abs(i*Math.sin(r)),a=n*Math.abs(Math.sin(r))+Math.abs(i*Math.cos(r));return new h.A(t.x,t.y,o,a)}(s.getTextRect(p),s.get("rotate")||0);n?n.union(d):n=d}return n}}function F(t){var e=t.get("interval");return null==e?"auto":e}function N(t){return"category"===t.type&&0===F(t.getLabelModel())}function z(t,e){var r={};return n.each(t.mapDimensionsAll(e),function(e){r[(0,C.me)(t,e)]=!0}),n.keys(r)}function j(t,e,r){e&&n.each(z(e,r),function(r){var n=e.getApproximateExtent(r);n[0]<t[0]&&(t[0]=n[0]),n[1]>t[1]&&(t[1]=n[1])})}},43724(t,e,r){"use strict";r.d(e,{L:()=>n});var n=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},14952(t,e,r){"use strict";r.d(e,{LR:()=>s,Zp:()=>o,gO:()=>a});var n=r(60969),i=r(31592);function o(t,e,r){r=r||{};var i=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,h=i.getRect(),f=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,g="x"===c?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[p.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===c?g[p[u]]:f[0],"x"===c?g[p[u]]:f[3]],a.rotation=Math.PI/2*("x"!==c),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[p[l]]-g[p.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),n.retrieve(r.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return n.each(e,function(r,n){var o=n.replace(/Model$/,""),a=t.getReferringComponents(o,i.US).models[0];e[n]=a}),e}},40176(t,e,r){"use strict";r.d(e,{Tc:()=>l});var n=r(60969),i=r(76479),o=function(){function t(t,e,r){this._prepareParams(t,e,r)}return t.prototype._prepareParams=function(t,e,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=e.get("min",!0);null==a&&(a=e.get("startValue",!0));var s=this._modelMinRaw=a;(0,n.isFunction)(s)?this._modelMinNum=u(t,s({min:r[0],max:r[1]})):"dataMin"!==s&&(this._modelMinNum=u(t,s));var l=this._modelMaxRaw=e.get("max",!0);if((0,n.isFunction)(l)?this._modelMaxNum=u(t,l({min:r[0],max:r[1]})):"dataMax"!==l&&(this._modelMaxNum=u(t,l)),o)this._axisDataLen=e.getCategories().length;else{var c=e.get("boundaryGap"),h=(0,n.isArray)(c)?c:[c||0,c||0];"boolean"==typeof h[0]||"boolean"==typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,i.lo)(h[0],1),(0,i.lo)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,r=this._dataMax,i=this._axisDataLen,o=this._boundaryGapInner,a=t?null:r-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?r:this._modelMaxNum,u=null!=s,c=null!=l;null==s&&(s=t?i?0:NaN:e-o[0]*a),null==l&&(l=t?i?i-1:NaN:r+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var h=(0,n.eqNaN)(s)||(0,n.eqNaN)(l)||t&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var f=this._determinedMin,p=this._determinedMax;return null!=f&&(s=f,u=!0),null!=p&&(l=p,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,r){var n=t.rawExtentInfo;return n||(n=new o(t,e,r),t.rawExtentInfo=n),n}function u(t,e){return null==e?null:(0,n.eqNaN)(e)?NaN:t.parse(e)}},42399(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(60969),i={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var r=[];n.each(i,function(n,i){var o=n.create(t,e);r=r.concat(o||[])}),this._coordinateSystems=r},t.prototype.update=function(t,e){n.each(this._coordinateSystems,function(r){r.update&&r.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){i[t]=e},t.get=function(t){return i[t]},t}()},8737(t,e,r){"use strict";r.d(e,{AS:()=>eH,El:()=>ec,OH:()=>eX,aQ:()=>eU,E:()=>en.E,mz:()=>e6,qg:()=>eZ,ZB:()=>e4,bf:()=>eW,zm:()=>ej,lP:()=>eq,rE:()=>eu,xV:()=>eY,cf:()=>eG,Ej:()=>e5,Ng:()=>eN,Oh:()=>eQ,Bo:()=>eJ,AF:()=>e0,Ts:()=>eF,iY:()=>e8,FQ:()=>eh,pX:()=>eK,vV:()=>e3,p5:()=>e9,tb:()=>e$,FP:()=>eV,Zf:()=>ez});var n,i,o,a,s,l,u,c,h,f,p,d,g,y,v,m,_,b,x,w,S,A,M=r(65959),k=r(36587),T=r(60969),C=r(88934),O=r(31223),E=r(54714),I=r(31592),D=r(8350),R=r(77993),L="";"u">typeof navigator&&(L=navigator.platform||"");var P="rgba(0, 0, 0, 0.2)";let B={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:P,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:P,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:P,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:P,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:P,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:P,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:L.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 F=r(87013),N=(0,T.createHashMap)(),z=r(36127),j="\0_ec_inner",H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.C6)(e,t),e.prototype.init=function(t,e,r,n,i,o){n=n||{},this.option=null,this._theme=new D.A(n),this._locale=new D.A(i),this._optionManager=o},e.prototype.setOption=function(t,e,r){var n=W(e);this._optionManager.setOption(t,r,n),this._resetOption(null,n)},e.prototype.resetOption=function(t,e){return this._resetOption(t,W(e))},e.prototype._resetOption=function(t,e){var r=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):o(this,i),r=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(r=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=n.getMediaOption(this);s.length&&(0,T.each)(s,function(t){r=!0,this._mergeOption(t,e)},this)}return r},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var r=this.option,i=this._componentsMap,o=this._componentsCount,a=[],s=(0,T.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,F.ps)(this),(0,T.each)(t,function(t,e){null!=t&&(R.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):r[e]=null==r[e]?(0,T.clone)(t):(0,T.merge)(r[e],t,!0))}),l&&l.each(function(t,e){R.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),R.A.topologicalTravel(a,R.A.getAllClassMainTypes(),function(e){var a,s=function(t,e,r){var n=N.get(e);if(!n)return r;var i=n(t);return i?r.concat(i):r}(this,e,I.qB(t[e])),u=i.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=I.O2(u,s,c);I.GX(h,e,R.A),r[e]=null,i.set(e,null),o.set(e,0);var f=[],p=[],d=0;(0,T.each)(h,function(t,r){var n=t.existing,i=t.newOption;if(i){var o="series"===e,s=R.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(n&&n.constructor===s)n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1);else{var l=(0,T.extend)({componentIndex:r},t.keyInfo);n=new s(i,this,this,l),(0,T.extend)(n,l),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0)}}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(f.push(n.option),p.push(n),d++):(f.push(void 0),p.push(void 0))},this),r[e]=f,i.set(e,p),o.set(e,d),"series"===e&&n(this)},this),this._seriesIndices||n(this)},e.prototype.getOption=function(){var t=(0,T.clone)(this.option);return(0,T.each)(t,function(e,r){if(R.A.hasClass(r)){for(var n=I.qB(e),i=n.length,o=!1,a=i-1;a>=0;a--)n[a]&&!I.oh(n[a])?o=!0:(n[a]=null,!o&&i--);n.length=i,t[r]=n}}),delete t[j],t},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,e){var r=this._componentsMap.get(t);if(r){var n=r[e||0];if(n)return n;if(null==e){for(var i=0;i<r.length;i++)if(r[i])return r[i]}}},e.prototype.queryComponents=function(t){var e,r=t.mainType;if(!r)return[];var n=t.index,i=t.id,o=t.name,a=this._componentsMap.get(r);return a&&a.length?(null!=n?(e=[],(0,T.each)(I.qB(n),function(t){a[t]&&e.push(a[t])})):e=null!=i?V("id",i,a):null!=o?V("name",o,a):(0,T.filter)(a,function(t){return!!t}),U(e,t)):[]},e.prototype.findComponents=function(t){var e,r,n,i,o,a=t.query,s=t.mainType,l=(e=a,r=s+"Index",n=s+"Id",i=s+"Name",e&&(null!=e[r]||null!=e[n]||null!=e[i])?{mainType:s,index:e[r],id:e[n],name:e[i]}:null);return o=U(l?this.queryComponents(l):(0,T.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,T.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,r){var n=this._componentsMap;if((0,T.isFunction)(t))n.each(function(r,n){for(var i=0;r&&i<r.length;i++){var o=r[i];o&&t.call(e,n,o,o.componentIndex)}});else for(var i=(0,T.isString)(t)?n.get(t):(0,T.isObject)(t)?this.findComponents(t):null,o=0;i&&o<i.length;o++){var a=i[o];a&&e.call(r,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=I.vS(t,null);return(0,T.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,T.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,T.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){i(this),(0,T.each)(this._seriesIndices,function(r){var n=this._componentsMap.get("series")[r];t.call(e,n,r)},this)},e.prototype.eachRawSeries=function(t,e){(0,T.each)(this._componentsMap.get("series"),function(r){r&&t.call(e,r,r.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,r){i(this),(0,T.each)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];i.subType===t&&e.call(r,i,n)},this)},e.prototype.eachRawSeriesByType=function(t,e,r){return(0,T.each)(this.getSeriesByType(t),e,r)},e.prototype.isSeriesFiltered=function(t){return i(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){i(this);var r=[];(0,T.each)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)&&r.push(n)},this),this._seriesIndices=r,this._seriesIndicesMap=(0,T.createHashMap)(r)},e.prototype.restoreData=function(t){n(this);var e=this._componentsMap,r=[];e.each(function(t,e){R.A.hasClass(e)&&r.push(e)}),R.A.topologicalTravel(r,R.A.getAllClassMainTypes(),function(r){(0,T.each)(e.get(r),function(e){e&&("series"!==r||!function(t,e){if(e){var r=e.seriesIndex,n=e.seriesId,i=e.seriesName;return null!=r&&t.componentIndex!==r||null!=n&&t.id!==n||null!=i&&t.name!==i}}(e,t))&&e.restoreData()})})},e.internalField=void(n=function(t){var e=t._seriesIndices=[];(0,T.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,T.createHashMap)(e)},i=function(t){},o=function(t,e){t.option={},t.option[j]=1,t._componentsMap=(0,T.createHashMap)({series:[]}),t._componentsCount=(0,T.createHashMap)();var r,n,i,o=e.aria;(0,T.isObject)(o)&&null==o.enabled&&(o.enabled=!0),r=e,n=t._theme.option,i=r.color&&!r.colorLayer,(0,T.each)(n,function(t,e){("colorLayer"!==e||!i)&&(R.A.hasClass(e)||("object"==typeof t?r[e]=r[e]?(0,T.merge)(r[e],t,!1):(0,T.clone)(t):null==r[e]&&(r[e]=t)))}),(0,T.merge)(e,B,!1),t._mergeOption(e,null)}),e}(D.A);function V(t,e,r){if((0,T.isArray)(e)){var n=(0,T.createHashMap)();return(0,T.each)(e,function(t){null!=t&&null!=I.vS(t,null)&&n.set(t,!0)}),(0,T.filter)(r,function(e){return e&&n.get(e[t])})}var i=I.vS(e,null);return(0,T.filter)(r,function(e){return e&&null!=i&&e[t]===i})}function U(t,e){return e.hasOwnProperty("subType")?(0,T.filter)(t,function(t){return t&&t.subType===e.subType}):t}function W(t){var e=(0,T.createHashMap)();return t&&(0,T.each)(I.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,T.mixin)(H,z.X);var q=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let Z=function(t){T.each(q,function(e){this[e]=T.bind(t[e],t)},this)};var G=r(42399),$=/^(min|max)?(.+)$/,Y=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,r){t&&((0,T.each)((0,I.qB)(t.series),function(t){t&&t.data&&(0,T.isTypedArray)(t.data)&&(0,T.setAsPrimitive)(t.data)}),(0,T.each)((0,I.qB)(t.dataset),function(t){t&&t.source&&(0,T.isTypedArray)(t.source)&&(0,T.setAsPrimitive)(t.source)})),t=(0,T.clone)(t);var n=this._optionBackup,i=function(t,e,r){var n,i,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);function f(t){(0,T.each)(e,function(e){e(t,r)})}return a?(i=a).timeline||(i.timeline=s):((h||c)&&(t.options=t.media=null),i=t),c&&(0,T.isArray)(u)&&(0,T.each)(u,function(t){t&&t.option&&(t.query?o.push(t):n||(n=t))}),f(i),(0,T.each)(l,function(t){return f(t)}),(0,T.each)(o,function(t){return f(t.option)}),{baseOption:i,timelineOptions:l||[],mediaDefault:n,mediaList:o}}(t,e,!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(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,T.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,r=this._timelineOptions;if(r.length){var n=t.getComponent("timeline");n&&(e=(0,T.clone)(r[n.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,r,n=this._api.getWidth(),i=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)(function(t,e,r){var n={width:e,height:r,aspectratio:e/r},i=!0;return(0,T.each)(t,function(t,e){var r=e.match($);if(r&&r[1]&&r[2]){var o,a,s,l=r[1];o=n[r[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(i=!1)}}),i})(o[u].query,n,i)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,r=this._currentMediaIndices,e.join(",")!==r.join(","))&&(l=(0,T.map)(s,function(t){return(0,T.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),X=T.each,K=T.isObject,J=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Q(t){var e=t&&t.itemStyle;if(e)for(var r=0,n=J.length;r<n;r++){var i=J[r],o=e.normal,a=e.emphasis;o&&o[i]&&(t[i]=t[i]||{},t[i].normal?T.merge(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(t[i]=t[i]||{},t[i].emphasis?T.merge(t[i].emphasis,a[i]):t[i].emphasis=a[i],a[i]=null)}}function tt(t,e,r){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,i=t[e].emphasis;n&&(r?(t[e].normal=t[e].emphasis=null,T.defaults(t[e],n)):t[e]=n),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function te(t){tt(t,"itemStyle"),tt(t,"lineStyle"),tt(t,"areaStyle"),tt(t,"label"),tt(t,"labelLine"),tt(t,"upperLabel"),tt(t,"edgeLabel")}function tr(t,e){var r=K(t)&&t[e],n=K(r)&&r.textStyle;if(n)for(var i=0,o=I.JS.length;i<o;i++){var a=I.JS[i];n.hasOwnProperty(a)&&(r[a]=n[a])}}function tn(t){t&&(te(t),tr(t,"label"),t.emphasis&&tr(t.emphasis,"label"))}function ti(t){return T.isArray(t)?t:t?[t]:[]}function to(t){return(T.isArray(t)?t[0]:t)||{}}function ta(t){t&&(0,T.each)(ts,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var ts=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tl=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tu=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tc(t){var e=t&&t.itemStyle;if(e)for(var r=0;r<tu.length;r++){var n=tu[r][1],i=tu[r][0];null!=e[n]&&(e[i]=e[n])}}function th(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tf(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tp(t,e){var r;X(ti(t.series),function(t){K(t)&&function(t){if(K(t)){Q(t),te(t),tr(t,"label"),tr(t,"upperLabel"),tr(t,"edgeLabel"),t.emphasis&&(tr(t.emphasis,"label"),tr(t.emphasis,"upperLabel"),tr(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Q(e),tn(e));var r=t.markLine;r&&(Q(r),tn(r));var n=t.markArea;n&&tn(n);var i=t.data;if("graph"===t.type){i=i||t.nodes;var o=t.links||t.edges;if(o&&!T.isTypedArray(o))for(var a=0;a<o.length;a++)tn(o[a]);T.each(t.categories,function(t){te(t)})}if(i&&!T.isTypedArray(i))for(var a=0;a<i.length;a++)tn(i[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tn(s[a]);if((r=t.markLine)&&r.data)for(var l=r.data,a=0;a<l.length;a++)T.isArray(l[a])?(tn(l[a][0]),tn(l[a][1])):tn(l[a]);"gauge"===t.type?(tr(t,"axisLabel"),tr(t,"title"),tr(t,"detail")):"treemap"===t.type?(tt(t.breadcrumb,"itemStyle"),T.each(t.levels,function(t){te(t)})):"tree"===t.type&&te(t.leaves)}}(t)}),r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),X(r,function(e){X(ti(t[e]),function(t){t&&(tr(t,"axisLabel"),tr(t.axisPointer,"label"))})}),X(ti(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tr(e,"axisLabel"),tr(e&&e.axisPointer,"label")}),X(ti(t.calendar),function(t){tt(t,"itemStyle"),tr(t,"dayLabel"),tr(t,"monthLabel"),tr(t,"yearLabel")}),X(ti(t.radar),function(t){tr(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),X(ti(t.geo),function(t){K(t)&&(tn(t),X(ti(t.regions),function(t){tn(t)}))}),X(ti(t.timeline),function(t){tn(t),tt(t,"label"),tt(t,"itemStyle"),tt(t,"controlStyle",!0);var e=t.data;T.isArray(e)&&T.each(e,function(t){T.isObject(t)&&(tt(t,"label"),tt(t,"itemStyle"))})}),X(ti(t.toolbox),function(t){tt(t,"iconStyle"),X(t.feature,function(t){tt(t,"iconStyle")})}),tr(to(t.axisPointer),"label"),tr(to(t.tooltip).axisPointer,"label"),t.series=(0,I.qB)(t.series),(0,T.each)(t.series,function(t){if((0,T.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),th(t.label);var r=t.data;if(r&&!(0,T.isTypedArray)(r))for(var n=0;n<r.length;n++)th(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var i=function(t,e){for(var r=e.split(","),n=t,i=0;i<r.length&&null!=(n=n&&n[r[i]]);i++);return n}(t,"pointer.color");null!=i&&function(t,e,r,n){for(var i,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[i=o[s]]&&(a[i]={}),a=a[i];null==a[o[s]]&&(a[o[s]]=r)}(t,"itemStyle.color",i)}else if("bar"===e){tc(t),tc(t.backgroundStyle),tc(t.emphasis);var r=t.data;if(r&&!(0,T.isTypedArray)(r))for(var n=0;n<r.length;n++)"object"==typeof r[n]&&(tc(r[n]),tc(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tf(t),function t(e,r){if(e)for(var n=0;n<e.length;n++)r(e[n]),e[n]&&t(e[n].children,r)}(t.data,tf)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,T.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),ta(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,T.each)(tl,function(e){var r=t[e];r&&((0,T.isArray)(r)||(r=[r]),(0,T.each)(r,function(t){ta(t)}))})}var td=r(30296);function tg(t){(0,T.each)(t,function(e,r){var n=[],i=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,f,p=a.get(e.stackedDimension,c);if(isNaN(p))return i;s?f=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var d=NaN,g=r-1;g>=0;g--){var y=t[g];if(s||(f=y.data.rawIndexOf(y.stackedByDimension,h)),f>=0){var v=y.data.getByRawIndex(y.stackResultDimension,f);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&p>=0&&v>0||"samesign"===l&&p<=0&&v<0){p=(0,td.Tr)(p,v),d=v;break}}}return n[0]=p,n[1]=d,n})})}var ty=r(51296),tv=r(60987),tm=r(49927),t_=r(71734),tb=r(62963),tx=r(65336),tw=r(60358),tS=r(23764),tA=r(73327),tM=r(62813),tk=r(27750),tT=r(31064),tC=r(66895),tO=(0,I.$r)(),tE={itemStyle:(0,tk.A)(tT.L,!0),lineStyle:(0,tk.A)(tC.m,!0)},tI={lineStyle:"stroke",itemStyle:"fill"};function tD(t,e){var r=t.visualStyleMapper||tE[e];return r||(console.warn("Unknown style type '"+e+"'."),tE.itemStyle)}function tR(t,e){var r=t.visualDrawType||tI[e];return r||(console.warn("Unknown style type '"+e+"'."),"fill")}var tL=new D.A,tP=r(58377),tB=r(50583),tF=r(38464),tN=Math.PI,tz=r(7713),tj=r(96358),tH=function(){function t(t,e,r,n){this._stageTaskMap=(0,T.createHashMap)(),this.ecInstance=t,this.api=e,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),n=r.context,i=!e&&r.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>r.blockIndex?r.step:null,o=n&&n.modDataCount,a=null!=o?Math.ceil(o/i):null;return{step:i,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var r=this._pipelineMap.get(t.uid),n=t.getData().count(),i=r.progressiveEnabled&&e.incrementalPrepareRender&&n>=r.threshold,o=t.get("large")&&n>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=r.context={progressiveRender:i,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,r=e._pipelineMap=(0,T.createHashMap)();t.eachSeries(function(t){var n=t.getProgressive(),i=t.uid;r.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),r=this.api;(0,T.each)(this._allHandlers,function(n){var i=t.get(n.uid)||t.set(n.uid,{});(0,T.assert)(!(n.reset&&n.overallReset),""),n.reset&&this._createSeriesStageTask(n,i,e,r),n.overallReset&&this._createOverallStageTask(n,i,e,r)},this)},t.prototype.prepareView=function(t,e,r,n){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=r,o.api=n,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,r){this._performStageTasks(this._visualHandlers,t,e,r)},t.prototype._performStageTasks=function(t,e,r,n){n=n||{};var i=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,T.each)(t,function(t,s){if(!n.visualType||n.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,f=c.agentStubMap;f.each(function(t){a(n,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,r);var p=o.getPerformArgs(c,n.block);f.each(function(t){t.perform(p)}),c.perform(p)&&(i=!0)}else u&&u.each(function(s,l){a(n,s)&&s.dirty();var u=o.getPerformArgs(s,n.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,r),s.perform(u)&&(i=!0)})}}),this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,r,n){var i=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,T.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tz.U)({plan:tZ,reset:tG,count:tX}));l.context={model:e,ecModel:r,api:n,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}t.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,n).each(u)},t.prototype._createOverallStageTask=function(t,e,r,n){var i=this,o=e.overallTask=e.overallTask||(0,tz.U)({reset:tV});o.context={ecModel:r,api:n,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=(0,T.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function f(t){var e=t.uid,r=s.set(e,a&&a.get(e)||(h=!0,(0,tz.U)({reset:tU,onDirty:tq})));r.context={model:t,overallProgress:c},r.agent=o,r.__block=c,i._pipe(t,r)}(0,T.assert)(!t.createOnAllSeries,""),l?r.eachRawSeriesByType(l,f):u?u(r,n).each(f):(c=!1,(0,T.each)(r.getSeries(),f)),h&&o.dirty()},t.prototype._pipe=function(t,e){var r=t.uid,n=this._pipelineMap.get(r);n.head||(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return(0,T.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){a=null;try{t(tK,tJ)}catch(t){}return a}(t)}),t.uid=(0,tj.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tV(t){t.overallReset(t.ecModel,t.api,t.payload)}function tU(t){return t.overallProgress&&tW}function tW(){this.agent.dirty(),this.getDownstream().dirty()}function tq(){this.agent&&this.agent.dirty()}function tZ(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tG(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,I.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,T.map)(e,function(t,e){return tY(e)}):t$}var t$=tY(0);function tY(t){return function(e,r){var n=r.data,i=r.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o<e.end;o++)i.dataEach(n,o);else i&&i.progress&&i.progress(e,n)}}function tX(t){return t.data.count()}var tK={},tJ={};function tQ(t,e){for(var r in e.prototype)t[r]=T.noop}tQ(tK,H),tQ(tJ,Z),tK.eachSeriesByType=tK.eachRawSeriesByType=function(t){a=t},tK.eachComponent=function(t){"series"===t.mainType&&t.subType&&(a=t.subType)};var t0=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t1="#B9B8CE",t2="#100C2A",t5=function(){return{axisLine:{lineStyle:{color:t1}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t3=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t6={darkMode:!0,color:t3,backgroundColor:t2,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t1},pageTextStyle:{color:t1}},textStyle:{color:t1},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t1}},dataZoom:{borderColor:"#71708A",textStyle:{color:t1},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:t1}},timeline:{lineStyle:{color:t1},label:{color:t1},controlStyle:{color:t1,borderColor:t1}},calendar:{itemStyle:{color:t2},dayLabel:{color:t1},monthLabel:{color:t1},yearLabel:{color:t1}},timeAxis:t5(),logAxis:t5(),valueAxis:t5(),categoryAxis:t5(),line:{symbol:"circle"},graph:{color:t3},gauge:{title:{color:t1},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t1},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t6.categoryAxis.splitLine.show=!1;var t4=r(99803),t8=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},r={},n={};if(T.isString(t)){var i=(0,t4.CC)(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};T.each(t,function(t,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var h=i.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(i)&&(r[i]=t,s=!0),s||(n[i]=t)})}return{cptQuery:e,dataQuery:r,otherQuery:n}},t.prototype.filter=function(t,e){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,o=r.model,a=r.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,n,i));function u(t,e,r,n){return null==t[r]||e[n||r]===t[r]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),t9=["symbol","symbolSize","symbolRotate","symbolOffset"],t7=t9.concat(["symbolKeepAspect"]),et=r(46755);function ee(t,e,r,n,i){var o=t+e;r.isSilent(o)||n.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,n=t.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=(0,I.le)(l,i.fromActionPayload);r.trigger(o,{type:o,seriesId:t.id,name:(0,T.isArray)(u)?l.getName(u[0]):l.getName(u),selected:(0,T.isString)(n)?n:(0,T.extend)({},n)})}})}var er=r(45158),en=r(16410),ei=r(97781),eo=r(33290),ea=new E.A,es=r(17578),el=r(33842),eu="5.6.0",ec={zrender:"5.6.1"},eh={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ef="__flagInMainProcess",ep="__pendingUpdate",ed="__needsUpdateStatus",eg=/^[a-zA-Z0-9_]+$/,ey="__connectUpdateStatus";function ev(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.isDisposed()?void this.id:e_(this,t,e)}}function em(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e_(this,t,e)}}function e_(t,e,r){return r[0]=r[0]&&r[0].toLowerCase(),E.A.prototype[e].apply(t,r)}var eb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.C6)(e,t),e}(E.A),ex=eb.prototype;ex.on=em("on"),ex.off=em("off");var ew=function(t){function e(e,r,n){var i=t.call(this,new t8)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},(0,T.isString)(r)&&(r=eE[r]),i._dom=e,n.ssr&&k.registerSSRDataGetter(function(t){var e=(0,tS.z)(t),r=e.dataIndex;if(null!=r){var n=(0,T.createHashMap)();return n.set("series_index",e.seriesIndex),n.set("data_index",r),e.ssrType&&n.set("ssr_type",e.ssrType),n}});var o=i._zr=k.init(e,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:(0,T.retrieve2)(n.useDirtyRect,!1),useCoarsePointer:(0,T.retrieve2)(n.useCoarsePointer,"auto"),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=(0,tM.nF)((0,T.bind)(o.flush,o),17),(r=(0,T.clone)(r))&&tp(r,!0),i._theme=r,i._locale=(0,en.A$)(n.locale||en.Lv),i._coordSysMgr=new G.A;var a=i._api=x(i);function s(t,e){return t.__prio-e.__prio}return(0,O.A)(eO,s),(0,O.A)(eT,s),i._scheduler=new tH(i,a,eT,eO),i._messageCenter=new eb,i._initEvents(),i.resize=(0,T.bind)(i.resize,i),o.animation.on("frame",i._onframe,i),y(o,i),v(o,i),(0,T.setAsPrimitive)(i),i}return(0,M.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){A(this);var t=this._scheduler;if(this[ep]){var e=this[ep].silent;this[ef]=!0;try{s(this),c.update.call(this,null,this[ep].updateParams)}catch(t){throw this[ef]=!1,this[ep]=null,t}this._zr.flush(),this[ef]=!1,this[ep]=null,d.call(this,e),g.call(this,e)}else if(t.unfinished){var r=1,n=this._model,i=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),f(this,n),t.performVisualTasks(n),b(this,this._model,i,"remain",{}),r-=new Date-o}while(r>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,e,r){if(!this[ef]){if(this._disposed)return void this.id;if((0,T.isObject)(e)&&(r=e.lazyUpdate,n=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[ef]=!0,!this._model||e){var n,i,o,a=new Y(this._api),l=this._theme,u=this._model=new H;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:i},eC);var h={seriesTransition:o,optionChanged:!0};if(r)this[ep]={silent:n,updateParams:h},this[ef]=!1,this.getZr().wakeUp();else{try{s(this),c.update.call(this,null,h)}catch(t){throw this[ep]=null,this[ef]=!1,t}this._ssr||this._zr.flush(),this[ep]=null,this[ef]=!1,d.call(this,n),g.call(this,n)}}},e.prototype.setTheme=function(){(0,et.aT)("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||C.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(C.A.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,T.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,r=this._model,n=[],i=this;(0,T.each)(e,function(t){r.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,T.each)(n,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,r=this.group,n=Math.min,i=Math.max,o=1/0;if(!eR[r])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();(0,T.each)(eD,function(o,h){if(o.group===r){var f=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,T.clone)(t)),p=o.getDom().getBoundingClientRect();a=n(p.left,a),s=n(p.top,s),l=i(p.right,l),u=i(p.bottom,u),c.push({dom:f,left:p.left,top:p.top})}}),a*=h,s*=h,l*=h,u*=h;var f=l-a,p=u-s,d=es.yh.createCanvas(),g=k.init(d,{renderer:e?"svg":"canvas"});if(g.resize({width:f,height:p}),!e)return t.connectedBackgroundColor&&g.add(new t_.A({shape:{x:0,y:0,width:f,height:p},style:{fill:t.connectedBackgroundColor}})),(0,T.each)(c,function(t){var e=new tb.Ay({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,T.each)(c,function(t){var e=t.left-a,r=t.top-s;y+='<g transform="translate('+e+","+r+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return h(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return h(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var r,n=this._model,i=I._e(n,t);return(0,T.each)(i,function(t,n){n.indexOf("Models")>=0&&(0,T.each)(t,function(t){var i=t.coordinateSystem;if(i&&i.containPoint)r=r||!!i.containPoint(e);else if("seriesModels"===n){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(r=r||o.containPoint(e,t))}},this)},this),!!r},e.prototype.getVisual=function(t,e){var r=this._model,n=I._e(r,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=o?function(t,e,r){switch(r){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,r)}}(i,o,e):function(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}(i,e)},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,e,r,n=this;(0,T.each)(eA,function(t){var e=function(e){var r,i=n.getModel(),o=e.target;if("globalout"===t?r={}:o&&(0,ei.R)(o,function(t){var e=(0,tS.z)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return r=(0,T.extend)({},e.eventData),!0},!0),r){var a=r.componentType,s=r.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=r.seriesIndex);var l=a&&null!=s&&i.getComponent(a,s),u=l&&n["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];r.event=e,r.type=t,n._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:l,view:u},n.trigger(t,r)}};e.zrEventfulCallAtLast=!0,n._zr.on(t,e,n)}),(0,T.each)(ek,function(t,e){n._messageCenter.on(e,function(t){this.trigger(e,t)},n)}),(0,T.each)(["selectchanged"],function(t){n._messageCenter.on(t,function(e){this.trigger(t,e)},n)}),t=this._messageCenter,e=this,r=this._api,t.on("selectchanged",function(t){var n=r.getModel();t.isFromClick?(ee("map","selectchanged",e,n,t),ee("pie","selectchanged",e,n,t)):"select"===t.fromAction?(ee("map","selected",e,n,t),ee("pie","selected",e,n,t)):"unselect"===t.fromAction&&(ee("map","unselected",e,n,t),ee("pie","unselected",e,n,t))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&I.Bq(this.getDom(),eB,"");var t=this._api,e=this._model;(0,T.each)(this._componentsViews,function(r){r.dispose(e,t)}),(0,T.each)(this._chartsViews,function(r){r.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eD[this.id]},e.prototype.resize=function(t){if(!this[ef]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var r=e.resetOption("media"),n=t&&t.silent;this[ep]&&(null==n&&(n=this[ep].silent),r=!0,this[ep]=null),this[ef]=!0;try{r&&s(this),c.update.call(this,{type:"resize",animation:(0,T.extend)({duration:0},t&&t.animation)})}catch(t){throw this[ef]=!1,t}this[ef]=!1,d.call(this,n),g.call(this,n)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,T.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eI[t]){var r=eI[t](this._api,e),n=this._zr;this._loadingFX=r,n.add(r)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,T.extend)({},t);return e.type=ek[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,T.isObject)(e)||(e={silent:!!e}),eM[t.type])&&this._model){if(this[ef])return void this._pendingActions.push(t);var r=e.silent;p.call(this,t,r);var n=e.flush;n?this._zr.flush():!1!==n&&C.A.browser.weChat&&this._throttledZrFlush(),d.call(this,r),g.call(this,r)}},e.prototype.updateLabelLayout=function(){ea.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],r=t.currentStates,n=0;n<r.length;n++){var i=r[n];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tA.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tA.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function r(t,e){if(!t.preventAutoZ){var r=t.get("z")||0,n=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,r,n,i){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)i=Math.max(t(s[l],r,n,i),i);else e.z=r,e.zlevel=n,i=Math.max(e.z2,i);if(o&&(o.z=r,o.zlevel=n,isFinite(i)&&(o.z2=i+2)),a){var u=e.textGuideLineConfig;a.z=r,a.zlevel=n,isFinite(i)&&(a.z2=i+(u&&u.showAbove?1:-1))}return i}(t,r,n,-1/0),!0})}}function n(t,e){e.eachRendered(function(t){if(!tx.LR(t)){var e=t.getTextContent(),r=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),r&&r.stateTransition&&(r.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function i(t,r){var n=t.getModel("stateAnimation"),i=t.isAnimationEnabled(),o=n.get("duration"),a=o>0?{duration:o,delay:n.get("delay"),easing:n.get("easing")}:null;r.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tx.LR(t)){if(t instanceof tw.Ay&&(0,tA.fz)(t),t.__dirty){var r=t.prevStates;r&&t.useStates(r)}if(i){t.stateTransition=a;var n=t.getTextContent(),o=t.getTextGuideLine();n&&(n.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}s=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),l(t,!0),l(t,!1),e.plan()},l=function(t,e){for(var r=t._model,n=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=(0,t4.CC)(t.type);(c=new(e?tv.A.getClass(h.main,h.sub):tm.A.getClass(h.sub))).init(r,s),o[u]=c,i.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||n.prepareView(c,t,r,s)}e?r.eachComponent(function(t,e){"series"!==t&&u(e)}):r.eachSeries(u);for(var l=0;l<i.length;){var c=i[l];c.__alive?l++:(e||c.renderTask.dispose(),a.remove(c.group),c.dispose(r,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},u=function(t,e,r,n,i){var o,a=t._model;if(a.setUpdatePayload(r),!n)return void(0,T.each)([].concat(t._componentsViews).concat(t._chartsViews),c);var s={};s[n+"Id"]=r[n+"Id"],s[n+"Index"]=r[n+"Index"],s[n+"Name"]=r[n+"Name"];var l={mainType:n,query:s};i&&(l.subType=i);var u=r.excludeSeriesId;function c(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,r)}null!=u&&(o=(0,T.createHashMap)(),(0,T.each)(I.qB(u),function(t){var e=I.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tA.T$)(r))if(e instanceof ty.A)r.type!==tA.h5||r.notBlur||e.get(["emphasis","disabled"])||(0,tA.lV)(e,r,t._api);else{var n=(0,tA.Tl)(e.mainType,e.componentIndex,r.name,t._api),i=n.focusSelf,a=n.dispatchers;r.type===tA.h5&&i&&!r.notBlur&&(0,tA.Du)(e.mainType,e.componentIndex,t._api),a&&(0,T.each)(a,function(t){r.type===tA.h5?(0,tA.HY)(t):(0,tA.SD)(t)})}else(0,tA.Lx)(r)&&e instanceof ty.A&&((0,tA.t6)(e,r,t._api),(0,tA.jA)(e),S(t))},t),a&&a.eachComponent(l,function(e){o&&null!=o.get(e.id)||c(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)},c={prepareAndUpdate:function(t){s(this),c.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,r){var n=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(n){n.setUpdatePayload(e),s.restoreData(n,e),s.performSeriesTasks(n),a.create(n,i),s.performDataProcessorTasks(n,e),f(this,n),a.update(n,i),t(n),s.performVisualTasks(n,e),m(this,n,i,e,r);var l=n.get("backgroundColor")||"transparent",u=n.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),ea.trigger("afterupdate",n,i)}},updateTransform:function(e){var r=this,n=this._model,i=this._api;if(n){n.setUpdatePayload(e);var o=[];n.eachComponent(function(t,a){if("series"!==t){var s=r.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,i,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=(0,T.createHashMap)();n.eachSeries(function(t){var o=r._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,n,i,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0,dirtyMap:a}),b(this,n,i,e,{},a),ea.trigger("afterupdate",n,i)}},updateView:function(e){var r=this._model;r&&(r.setUpdatePayload(e),tm.A.markUpdateMethod(e,"updateView"),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0}),m(this,r,this._api,e,{}),ea.trigger("afterupdate",r,this._api))},updateVisual:function(e){var r=this,n=this._model;n&&(n.setUpdatePayload(e),n.eachSeries(function(t){t.getData().clearAllVisual()}),tm.A.markUpdateMethod(e,"updateVisual"),t(n),this._scheduler.performVisualTasks(n,e,{visualType:"visual",setDirty:!0}),n.eachComponent(function(t,i){if("series"!==t){var o=r.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,n,r._api,e)}}),n.eachSeries(function(t){r._chartsMap[t.__viewId].updateVisual(t,n,r._api,e)}),ea.trigger("afterupdate",n,this._api))},updateLayout:function(t){c.update.call(this,t)}},h=function(t,e,r,n){if(t._disposed)return void t.id;for(var i,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=I._e(o,r),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(i=u[e](o,s,n)))return i}},f=function(t,e){var r=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,r[t.__viewId])})},p=function(t,e){var r,n=this,i=this.getModel(),o=t.type,a=t.escapeConnect,l=eM[o],h=l.actionInfo,f=(h.update||"update").split(":"),p=f.pop(),d=null!=f[0]&&(0,t4.CC)(f[0]);this[ef]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,T.map)(t.batch,function(e){return(e=(0,T.defaults)((0,T.extend)({},e),t)).batch=null,e}));var v=[],m=(0,tA.Lx)(t),_=(0,tA.T$)(t);if(_&&(0,tA.qR)(this._api),(0,T.each)(g,function(e){if((r=(r=l.action(e,n._model,n._api))||(0,T.extend)({},e)).type=h.event||r.type,v.push(r),_){var i=I.HB(t),o=i.queryOptionMap;u(n,p,e,i.mainTypeSpecified?o.keys()[0]:"series"),S(n)}else m?(u(n,p,e,"series"),S(n)):d&&u(n,p,e,d.main,d.sub)}),"none"!==p&&!_&&!m&&!d)try{this[ep]?(s(this),c.update.call(this,t),this[ep]=null):c[p].call(this,t)}catch(t){throw this[ef]=!1,t}if(r=y?{type:h.event||o,escapeConnect:a,batch:v}:v[0],this[ef]=!1,!e){var b=this._messageCenter;if(b.trigger(r.type,r),m){var x={type:"selectchanged",escapeConnect:a,selected:(0,tA.mc)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};b.trigger(x.type,x)}}},d=function(t){for(var e=this._pendingActions;e.length;){var r=e.shift();p.call(this,r,t)}},g=function(t){t||this.trigger("updated")},y=function(t,e){t.on("rendered",function(r){e.trigger("rendered",r),!t.animation.isFinished()||e[ep]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},v=function(t,e){t.on("mouseover",function(t){var r=t.target,n=(0,ei.R)(r,tA.u6);n&&((0,tA._m)(n,t,e._api),S(e))}).on("mouseout",function(t){var r=t.target,n=(0,ei.R)(r,tA.u6);n&&((0,tA.Iz)(n,t,e._api),S(e))}).on("click",function(t){var r=t.target,n=(0,ei.R)(r,function(t){return null!=(0,tS.z)(t).dataIndex},!0);if(n){var i=n.selected?"unselect":"select",o=(0,tS.z)(n);e._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},m=function(t,e,r,n,i){!function(t){var e=[],r=[],n=!1;if(t.eachComponent(function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();n=n||!!s,("series"===t?r:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})}),n){var i,o,a=e.concat(r);(0,O.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,T.each)(a,function(e){var r=t.getComponent(e.type,e.idx),n=e.zlevel,a=e.key;null!=i&&(n=Math.max(i,n)),a?(n===i&&a!==o&&n++,o=a):o&&(n===i&&n++,o=""),i=n,r.setZLevel(n)})}}(e),_(t,e,r,n,i),(0,T.each)(t._chartsViews,function(t){t.__alive=!1}),b(t,e,r,n,i),(0,T.each)(t._chartsViews,function(t){t.__alive||t.remove(e,r)})},_=function(t,e,o,a,s,l){(0,T.each)(l||t._componentsViews,function(t){var s=t.__model;n(s,t),t.render(s,e,o,a),r(s,t),i(s,t)})},b=function(t,e,o,a,s,l){var u,c,h,f,p=t._scheduler;s=(0,T.extend)(s||{},{updatedSeries:e.getSeries()}),ea.trigger("series:beforeupdate",e,o,s);var d=!1;e.eachSeries(function(e){var r,i,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var u=s.renderTask;p.updatePayload(u,a),n(e,s),l&&l.get(e.uid)&&u.dirty(),u.perform(p.getPerformArgs(u))&&(d=!0),s.group.silent=!!e.get("silent"),r=e,i=s,o=r.get("blendMode")||null,i.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tA.jA)(e)}),p.unfinished=d||p.unfinished,ea.trigger("series:layoutlabels",e,o,s),ea.trigger("series:transition",e,o,s),e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];r(e,n),i(e,n)}),u=t,c=e,h=u._zr.storage,f=0,h.traverse(function(t){!t.isGroup&&f++}),!(f>c.get("hoverLayerThreshold"))||C.A.node||C.A.worker||c.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),ea.trigger("series:afterupdate",e,o,s)},S=function(t){t[ed]=!0,t.getZr().wakeUp()},A=function(t){t[ed]&&(t.getZr().storage.traverse(function(t){tx.LR(t)||e(t)}),t[ed]=!1)},x=function(t){return new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return(0,M.C6)(r,e),r.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},r.prototype.getComponentByElement=function(e){for(;e;){var r=e.__ecComponentInfo;if(null!=r)return t._model.getComponent(r.mainType,r.index);e=e.parent}},r.prototype.enterEmphasis=function(e,r){(0,tA.HY)(e,r),S(t)},r.prototype.leaveEmphasis=function(e,r){(0,tA.SD)(e,r),S(t)},r.prototype.enterBlur=function(e){(0,tA.QX)(e),S(t)},r.prototype.leaveBlur=function(e){(0,tA.JC)(e),S(t)},r.prototype.enterSelect=function(e){(0,tA.JI)(e),S(t)},r.prototype.leaveSelect=function(e){(0,tA.gd)(e),S(t)},r.prototype.getModel=function(){return t.getModel()},r.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},r.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},r}(Z))(t)},w=function(t){function e(t,e){for(var r=0;r<t.length;r++)t[r][ey]=e}(0,T.each)(ek,function(r,n){t._messageCenter.on(n,function(r){if(eR[t.group]&&0!==t[ey]&&(!r||!r.escapeConnect)){var n=t.makeActionFromEvent(r),i=[];(0,T.each)(eD,function(e){e!==t&&e.group===t.group&&i.push(e)}),e(i,0),(0,T.each)(i,function(t){1!==t[ey]&&t.dispatchAction(n)}),e(i,2)}})})}}(),e}(E.A),eS=ew.prototype;eS.on=ev("on"),eS.off=ev("off"),eS.one=function(t,e,r){var n=this;(0,et.aT)("ECharts#one is deprecated."),this.on.call(this,t,function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];e&&e.apply&&e.apply(this,i),n.off(t,r)},r)};var eA=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eM={},ek={},eT=[],eC=[],eO=[],eE={},eI={},eD={},eR={},eL=new Date-0,eP=new Date-0,eB="_echarts_instance_";function eF(t,e,r){var n=!(r&&r.ssr);if(n){var i=eV(t);if(i)return i}var o=new ew(t,e,r);return o.id="ec_"+eL++,eD[o.id]=o,n&&I.Bq(t,eB,o.id),w(o),ea.trigger("afterinit",o),o}function eN(t){if((0,T.isArray)(t)){var e=t;t=null,(0,T.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eP++,(0,T.each)(e,function(e){e.group=t})}return eR[t]=!0,t}function ez(t){eR[t]=!1}var ej=ez;function eH(t){(0,T.isString)(t)?t=eD[t]:t instanceof ew||(t=eV(t)),t instanceof ew&&!t.isDisposed()&&t.dispose()}function eV(t){return eD[I.D$(t,eB)]}function eU(t){return eD[t]}function eW(t,e){eE[t]=e}function eq(t){0>(0,T.indexOf)(eC,t)&&eC.push(t)}function eZ(t,e){e2(eT,t,e,2e3)}function eG(t){eY("afterinit",t)}function e$(t){eY("afterupdate",t)}function eY(t,e){ea.on(t,e)}function eX(t,e,r){(0,T.isFunction)(e)&&(r=e,e="");var n=(0,T.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),ek[e=t.event]||((0,T.assert)(eg.test(n)&&eg.test(e)),eM[n]||(eM[n]={action:r,actionInfo:t}),ek[e]=n)}function eK(t,e){G.A.register(t,e)}function eJ(t){var e=G.A.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function eQ(t,e){e2(eO,t,e,1e3,"layout")}function e0(t,e){e2(eO,t,e,3e3,"visual")}var e1=[];function e2(t,e,r,n,i){if(((0,T.isFunction)(e)||(0,T.isObject)(e))&&(r=e,e=n),!((0,T.indexOf)(e1,r)>=0)){e1.push(r);var o=tH.wrapStageHandler(r,i);o.__prio=e,o.__raw=r,t.push(o)}}function e5(t,e){eI[t]=e}function e3(t){(0,es.Gs)({createCanvas:t})}function e6(t,e,r){var n=(0,el.v)("registerMap");n&&n(t,e,r)}function e4(t){var e=(0,el.v)("getMap");return e&&e(t)}var e8=er.v5;e0(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=t.getModel(n),o=tD(t,n)(i),a=i.getShallow("decal");a&&(r.setVisual("decal",a),a.dirty=!0);var s=tR(t,n),l=o[s],u=(0,T.isFunction)(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,r.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,T.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,T.isFunction)(o.stroke)?h:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return r.setVisual("colorFromPalette",!1),{dataEach:function(e,r){var n=t.getDataParams(r),i=(0,T.extend)({},o);i[s]=u(n),e.setItemVisual(r,"style",i)}}}}),e0(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=tD(t,n),o=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(t,e){var r=t.getRawDataItem(e);if(r&&r[n]){tL.option=r[n];var a=i(tL),s=t.ensureUniqueItemVisual(e,"style");(0,T.extend)(s,a),tL.option.decal&&(t.setItemVisual(e,"decal",tL.option.decal),tL.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),e0(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,T.createHashMap)();t.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)),tO(t).scope=i}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var r=e.getRawData(),n={},i=e.getData(),o=tO(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tR(e,a);i.each(function(t){n[i.getRawIndex(t)]=t}),r.each(function(t){var a=n[t];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),u=r.getName(t)||t+"",c=r.count();l[s]=e.getColorFromPalette(u,o,c)}})}})}}),e0(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData();if(t.legendIcon&&r.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var n={},i={},o=!1,a=0;a<t9.length;a++){var s=t9[a],l=t.get(s);(0,T.isFunction)(l)?(o=!0,i[s]=l):n[s]=l}if(n.symbol=n.symbol||t.defaultSymbol,r.setVisual((0,T.extend)({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),!e.isSeriesFiltered(t)){var u=(0,T.keys)(i);return{dataEach:o?function(e,r){for(var n=t.getRawValue(r),o=t.getDataParams(r),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(r,s,i[s](n,o))}}:null}}}}}),e0(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var r=t.getItemModel(e),n=0;n<t7.length;n++){var i=t7[n],o=r.getShallow(i,!0);null!=o&&t.setItemVisual(e,i,o)}}:null}}}),e0(7e3,function(t,e){t.eachRawSeries(function(r){if(!t.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(t){var r=n.getItemVisual(t,"decal");r&&(n.ensureUniqueItemVisual(t,"style").decal=(0,eo.w)(r,e))});var i=n.getVisual("decal");i&&(n.getVisual("style").decal=(0,eo.w)(i,e))}})}),eq(tp),eZ(900,function(t){var e=(0,T.createHashMap)();t.eachSeries(function(t){var r=t.get("stack");if(r){var n=e.get(r)||e.set(r,[]),i=t.getData(),o={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(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;n.length&&i.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}}),e.each(tg)}),eI.default=function(t,e){e=e||{},T.defaults(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 r,n=new tP.A,i=new t_.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var o=new tB.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new t_.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new tF.A({shape:{startAngle:-tN/2,endAngle:-tN/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tN/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*tN/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n},eX({type:tA.h5,event:tA.h5,update:tA.h5},T.noop),eX({type:tA.PW,event:tA.PW,update:tA.PW},T.noop),eX({type:tA.Lv,event:tA.Lv,update:tA.Lv},T.noop),eX({type:tA.U2,event:tA.U2,update:tA.U2},T.noop),eX({type:tA.Q6,event:tA.Q6,update:tA.Q6},T.noop),eE.light={color:t0,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t0]},eE.dark=t6;var e9={}},33842(t,e,r){"use strict";r.d(e,{m:()=>i,v:()=>o});var n={};function i(t,e){n[t]=e}function o(t){return n[t]}},16410(t,e,r){"use strict";r.d(e,{A4:()=>h,pr:()=>f,E:()=>u,Lv:()=>l,A$:()=>c});var n=r(8350),i=r(88934),o=r(60969),a={},s={},l=i.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new n.A(e),a[t]=e}function c(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function h(t){return s[t]}function f(){return s.EN}u("EN",{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:". "}}}}),u("ZH",{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:""}}}})},7713(t,e,r){"use strict";r.d(e,{U:()=>i});var n=r(60969);function i(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,r,i,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(i=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),c=this._modDataCount||0,h=((r=t&&t.modBy)>=1||(r=1),r),f=t&&t.modDataCount||0;(u!==h||c!==f)&&(i="reset"),(this._dirty||"reset"===i)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=f;var p=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,g=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!s&&(o||d<g)){var y=this._progress;if((0,n.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],d,g,h,f);else this._doProgress(y,d,g,h,f)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,r,n,i){a.reset(e,r,n,i),this._callingProgress=t,this._callingProgress({start:e,end:r,count:r-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(r=e.forceFirstProgress,e=e.progress),(0,n.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,r,i=this._downstream;return i&&i.dirty(),r},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.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(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,r,n,i,o={reset:function(l,u,c,h){e=l,t=u,r=c,i=Math.ceil((n=h)/r),o.next=r>1&&n>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%i*r+Math.ceil(e/i),a=e>=t?null:o<n?o:e;return e++,a}}()},19621(t,e,r){"use strict";function n(t){return null==t?0:t.length||1}function i(t){return t}r.d(e,{A:()=>o});let o=function(){function t(t,e,r,n,o,a){this._old=t,this._new=e,this._oldKeyGetter=r||i,this._newKeyGetter=n||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,r={},i=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,r,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],l=r[s],u=n(l);if(u>1){var c=l.shift();1===l.length&&(r[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(r[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=r[l],c=i[l],h=n(u),f=n(c);if(h>1&&1===f)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===h&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===h&&1===f)this._update&&this._update(c,u),i[l]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(h>1)for(var p=0;p<h;p++)this._remove&&this._remove(u[p]);else this._remove&&this._remove(u)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var r=0;r<t.length;r++){var i=t[r],o=e[i],a=n(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[i]=null}},t.prototype._initIndexMap=function(t,e,r,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(r[a]=s),e){var l=e[s],u=n(l);0===u?(e[s]=a,o&&r.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},1416(t,e,r){"use strict";r.d(e,{A_:()=>c,Ay:()=>y});var n,i=r(60969),o=r(89927),a=r(19684),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,c=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,f={float:h,int:c,ordinal:Array,number:Array,time:h};function p(t){return t>65535?l:u}function d(){return[1/0,-1/0]}function g(t,e,r,n,i){var o=f[r||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==n){for(var l=new o(n),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(n)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,i.createHashMap)()}return t.prototype.initData=function(t,e,r){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=n[o.sourceFormat];this._dimValueGetter=r||s,this._rawExtent=[],(0,a.O0)(o),this._dimensions=(0,i.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(t);if(null!=i){if(n[i].type===e)return i}else i=n.length;return n[i]={type:e},r.set(t,i),this._chunks[i]=new f[e||"float"](this._rawCount),this._rawExtent[i]=d(),i},t.prototype.collectOrdinalMeta=function(t,e){var r=this._chunks[t],n=this._dimensions[t],i=this._rawExtent,o=n.ordinalOffset||0,a=r.length;0===o&&(i[t]=d());for(var s=i[t],l=o;l<a;l++){var u=r[l]=e.parseAndCollect(r[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=e,n.ordinalOffset=a,n.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,r=this.count();e.appendData(t);var n=e.count();return e.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},t.prototype.appendValues=function(t,e){for(var r=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var c=i[u];g(r,u,c.type,l,!0)}for(var h=[],f=s;f<l;f++)for(var p=f-s,d=0;d<o;d++){var c=i[d],y=n.arrayRows.call(this,t[p]||h,c.property,p,d);r[d][f]=y;var v=a[d];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,r){for(var n=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,i.map)(a,function(t){return t.property}),c=0;c<s;c++){var h=a[c];l[c]||(l[c]=d()),g(o,c,h.type,e,r)}if(n.fillStorage)n.fillStorage(t,e,o,l);else for(var f=[],p=t;p<e;p++){f=n.getItem(p,f);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(f,u[y],p,y);v[p]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var r=this._chunks[t];return r?r[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var r=[],n=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=t;for(var i=0,o=n.length;i<o;i++)r.push(this.get(n[i],e));return r},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var r=this._chunks[t];return r?r[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],r=0;if(e)for(var n=0,i=this.count();n<i;n++){var o=this.get(t,n);isNaN(o)||(r+=o)}return r},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var r=e.sort(function(t,e){return t-e}),n=this.count();return 0===n?0:n%2==1?r[(n-1)/2]:(r[n/2]+r[n/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,r=e[t];if(null!=r&&r<this._count&&r===t)return t;for(var n=0,i=this._count-1;n<=i;){var o=(n+i)/2|0;if(e[o]<t)n=o+1;else{if(!(e[o]>t))return o;i=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,r){var n=this._chunks[t],i=[];if(!n)return i;null==r&&(r=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-n[this.getRawIndex(l)],h=Math.abs(c);h<=r&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var r=e.constructor,n=this._count;if(r===Array){t=new r(n);for(var i=0;i<n;i++)t[i]=e[i]}else t=new r(e.buffer,0,n)}else{var r=p(this._rawCount);t=new r(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var r=this.clone(),n=r.count(),i=new(p(r._rawCount))(n),o=[],a=t.length,s=0,l=t[0],u=r._chunks,c=0;c<n;c++){var h=void 0,f=r.getRawIndex(c);if(0===a)h=e(c);else if(1===a)h=e(u[l][f],c);else{for(var d=0;d<a;d++)o[d]=u[t[d]][f];o[d]=c,h=e.apply(null,o)}h&&(i[s++]=f)}return s<n&&(r._indices=i),r._count=s,r._extent=[],r._updateGetRawIdx(),r},t.prototype.selectRange=function(t){var e=this.clone(),r=e._count;if(!r)return this;var n=(0,i.keys)(t),o=n.length;if(!o)return this;var a=e.count(),s=new(p(e._rawCount))(a),l=0,u=n[0],c=t[u][0],h=t[u][1],f=e._chunks,d=!1;if(!e._indices){var g=0;if(1===o){for(var y=f[n[0]],v=0;v<r;v++){var m=y[v];(m>=c&&m<=h||isNaN(m))&&(s[l++]=g),g++}d=!0}else if(2===o){for(var y=f[n[0]],_=f[n[1]],b=t[n[1]][0],x=t[n[1]][1],v=0;v<r;v++){var m=y[v],w=_[v];(m>=c&&m<=h||isNaN(m))&&(w>=b&&w<=x||isNaN(w))&&(s[l++]=g),g++}d=!0}}if(!d)if(1===o)for(var v=0;v<a;v++){var S=e.getRawIndex(v),m=f[n[0]][S];(m>=c&&m<=h||isNaN(m))&&(s[l++]=S)}else for(var v=0;v<a;v++){for(var A=!0,S=e.getRawIndex(v),M=0;M<o;M++){var k=n[M],m=f[k][S];(m<t[k][0]||m>t[k][1])&&(A=!1)}A&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var r=this.clone(t);return this._updateDims(r,t,e),r},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,r){for(var n=t._chunks,i=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=d();for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),f=0;f<o;f++)s[f]=n[e[f]][h];s[o]=c;var p=r&&r.apply(null,s);if(null!=p){"object"!=typeof p&&(i[0]=p,p=i);for(var u=0;u<p.length;u++){var g=e[u],y=p[u],v=l[g],m=n[g];m&&(m[h]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var r,n,i,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(p(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));h[l++]=c;for(var f=1;f<s-1;f+=u){for(var d=Math.min(f+u,s-1),g=Math.min(f+2*u,s),y=(g+d)/2,v=0,m=d;m<g;m++){var _=this.getRawIndex(m),b=a[_];isNaN(b)||(v+=b)}v/=g-d;var x=f,w=Math.min(f+u,s),S=f-1,A=a[c];r=-1,i=x;for(var M=-1,k=0,m=x;m<w;m++){var _=this.getRawIndex(m),b=a[_];if(isNaN(b)){k++,M<0&&(M=_);continue}(n=Math.abs((S-y)*(b-A)-(S-m)*(v-A)))>r&&(r=n,i=_)}k>0&&k<w-x&&(h[l++]=Math.min(M,i),i=Math.max(M,i)),h[l++]=i,c=i}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var r=this.clone([t],!0),n=r._chunks,i=Math.floor(1/e),o=n[t],a=this.count(),s=new(p(this._rawCount))(2*Math.ceil(a/i)),l=0,u=0;u<a;u+=i){var c=u,h=o[this.getRawIndex(c)],f=u,d=o[this.getRawIndex(f)],g=i;u+i>a&&(g=a-u);for(var y=0;y<g;y++){var v=o[this.getRawIndex(u+y)];v<h&&(h=v,c=u+y),v>d&&(d=v,f=u+y)}var m=this.getRawIndex(c),_=this.getRawIndex(f);c<f?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return r._count=l,r._indices=s,r._updateGetRawIdx(),r},t.prototype.downSample=function(t,e,r,n){for(var i=this.clone([t],!0),o=i._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=i._rawExtent[t]=d(),h=new(p(this._rawCount))(Math.ceil(u/s)),f=0,g=0;g<u;g+=s){s>u-g&&(a.length=s=u-g);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=r(a),_=this.getRawIndex(Math.min(g+n(a,m)||0,u-1));l[_]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[f++]=_}return i._count=f,i._indices=h,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var r=t.length,n=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(r){case 0:e(i);break;case 1:e(n[t[0]][a],i);break;case 2:e(n[t[0]][a],n[t[1]][a],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[t[s]][a];l[s]=i,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,r=this._chunks[t],n=d();if(!r)return n;var i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=n)[0],a=e[1],s=0;s<i;s++){var l=r[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][e]);return r},t.prototype.clone=function(e,r){var n=new t,o=this._chunks,a=e&&(0,i.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)n._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else n._chunks=o;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,i.clone)(this._extent),t._rawExtent=(0,i.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var r=this._indices.length;e=new t(r);for(var n=0;n<r;n++)e[n]=this._indices[n]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,r,n){return(0,o.Pn)(t[n],this._dimensions[n])}n={arrayRows:t,objectRows:function(t,e,r,n){return(0,o.Pn)(t[e],this._dimensions[n])},keyedColumns:t,original:function(t,e,r,n){var i=t&&(null==t.value?t:t.value);return(0,o.Pn)(i instanceof Array?i[n]:i,this._dimensions[n])},typedArray:function(t,e,r,n){return t[n]}}}(),t}()},33461(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(60969),i=0;function o(t){return(0,n.isObject)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++i}return t.createByAxisModel=function(e){var r=e.option,i=r.data,a=i&&(0,n.map)(i,o);return new t({categories:a,needCollect:!a,deduplication:!1!==r.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,r=this._needCollect;if(!(0,n.isString)(t)&&!r)return t;if(r&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(r?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,n.createHashMap)(this.categories))},t}()},70984(t,e,r){"use strict";r.d(e,{A:()=>T});var n,i,o,a,s,l,u,c=r(60969),h=r(8350),f=r(19621),p=r(24589),d=r(90318),g=r(95213),y=r(52116),v=r(31592),m=r(23764),_=r(19684),b=r(1416),x=r(70598),w=c.isObject,S=c.map,A="u"<typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],k=["_approximateExtent"];let T=function(){function t(t,e){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;(0,x.fg)(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(n=!0,r=t),r=r||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<r.length;u++){var h=r[u],f=c.isString(h)?new g.A({name:h}):h instanceof g.A?h:new g.A(h),p=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=p,f.coordDimIndex=0);var d=f.otherDims=f.otherDims||{};o.push(p),i[p]=f,null!=l[p]&&(s=!0),f.createInvertedIndices&&(a[p]=[]),0===d.itemName&&(this._nameDimIdx=u),0===d.itemId&&(this._idDimIdx=u),n&&(f.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=c.createHashMap();c.each(o,function(t){y.set(i[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var r=this._dimIdxToName.get(e);if(null!=r)return r;var n=this._schema.getSourceDimension(e);if(n)return n.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var r=this._getDimInfo(t);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var r=this._dimSummary;if(null==e)return r.encodeFirstDimNotExtra[t];var n=r.encode[t];return n?n[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,r){var n,i=this;if(t instanceof b.Ay&&(n=t),!n){var o=this.dimensions,a=(0,_.tP)(t)||c.isArrayLike(t)?new p.d1(t,o.length):t;n=new b.Ay;var s=S(o,function(t){return{type:i._dimInfos[t].type,property:t}});n.initData(a,s,r)}this._store=n,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,n.count()),this._dimSummary=(0,d.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var r=this._store.appendValues(t,e&&e.length),n=r.start,i=r.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=n;a<i;a++){var s=a-n;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,r=0;r<e.length;r++){var n=this._dimInfos[e[r]];n.ordinalMeta&&t.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var r=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(r.getSource().sourceFormat===y.mK&&!r.pure)for(var a=[],s=t;s<e;s++){var l=r.getItem(s,a);if(!this.hasItemOption&&(0,v.zu)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==i[s]&&null!=c&&(i[s]=(0,v.vS)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,v.vS)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);n(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){w(t)?c.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),r=this._nameList[e];return null==r&&null!=this._nameDimIdx&&(r=o(this,this._nameDimIdx,e)),null==r&&(r=""),r},t.prototype._getCategory=function(t,e){var r=this._store.get(t,e),n=this._store.getOrdinalMeta(t);return n?n.categories[r]:r},t.prototype.getId=function(t){return i(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var r=this._store,n=this._dimInfos[t];if(n)return r.get(n.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var r=this._store,n=this._dimInfos[t];if(n)return r.getByRawIndex(n.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var r=this,n=this._store;return c.isArray(t)?n.getValues(S(t,function(t){return r._getStoreDimIndex(t)}),e):n.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,r=0,n=e.length;r<n;r++)if(isNaN(this._store.get(e[r],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,r=this._store.count();e<r;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var r=t&&this._invertedIndicesMap[t],n=r&&r[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,r){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,r)},t.prototype.each=function(t,e,r){c.isFunction(t)&&(r=e,e=t,t=[]);var n=r||this,i=S(a(t),this._getStoreDimIndex,this);this._store.each(i,n?c.bind(e,n):e)},t.prototype.filterSelf=function(t,e,r){c.isFunction(t)&&(r=e,e=t,t=[]);var n=r||this,i=S(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?c.bind(e,n):e),this},t.prototype.selectRange=function(t){var e=this,r={},n=c.keys(t),i=[];return c.each(n,function(n){var o=e._getStoreDimIndex(n);r[o]=t[n],i.push(o)}),this._store=this._store.selectRange(r),this},t.prototype.mapArray=function(t,e,r){c.isFunction(t)&&(r=e,e=t,t=[]),r=r||this;var n=[];return this.each(t,function(){n.push(e&&e.apply(this,arguments))},r),n},t.prototype.map=function(t,e,r,n){var i=r||n||this,o=S(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,i?c.bind(e,i):e),s},t.prototype.modify=function(t,e,r,n){var i=r||n||this,o=S(a(t),this._getStoreDimIndex,this);this._store.modify(o,i?c.bind(e,i):e)},t.prototype.downSample=function(t,e,r,n){var i=l(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,r,n),i},t.prototype.minmaxDownSample=function(t,e){var r=l(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),r},t.prototype.lttbDownSample=function(t,e){var r=l(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),r},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,r=this.getRawDataItem(t);return new h.A(r,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return i(t,e)},function(t){return i(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},w(t)?c.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var r=this._itemVisuals[t],n=r&&r[e];return null==n?this.getVisual(e):n},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var r=this._itemVisuals,n=r[t];n||(n=r[t]={});var i=n[e];return null==i&&(i=this.getVisual(e),c.isArray(i)?i=i.slice():w(i)&&(i=c.extend({},i)),n[e]=i),i},t.prototype.setItemVisual=function(t,e,r){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,w(e)?c.extend(n,e):n[e]=r},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?c.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,r){this._itemLayouts[t]=r?c.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var r=this.hostModel&&this.hostModel.seriesIndex;(0,m.a)(r,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.each(this._graphicEls,function(r,n){r&&t&&t.call(e,r,n)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var r=this[t];c.isFunction(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=r.apply(this,arguments);return e.apply(this,[t].concat(c.slice(arguments)))})},t.internalField=void(n=function(t){var e=t._invertedIndicesMap;c.each(e,function(r,n){var i=t._dimInfos[n],o=i.ordinalMeta,a=t._store;if(o){r=e[n]=new A(o.categories.length);for(var s=0;s<r.length;s++)r[s]=-1;for(var s=0;s<a.count();s++)r[a.get(i.storeDimIndex,s)]=s}})},o=function(t,e,r){return(0,v.vS)(t._getCategory(e,r),null)},i=function(t,e){var r=t._idList[e];return null==r&&null!=t._idDimIdx&&(r=o(t,t._idDimIdx,e)),null==r&&(r="e\0\0"+e),r},a=function(t){return c.isArray(t)||(t=null!=t?[t]:[]),t},l=function(e){var r=new t(e._schema?e._schema:S(e.dimensions,e._getDimInfo,e),e.hostModel);return s(r,e),r},s=function(t,e){c.each(M.concat(e.__wrappedMethods||[]),function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t.__wrappedMethods=e.__wrappedMethods,c.each(k,function(r){t[r]=c.clone(e[r])}),t._calculationInfo=c.extend({},e._calculationInfo)},u=function(t,e){var r=t._nameList,n=t._idList,i=t._nameDimIdx,a=t._idDimIdx,s=r[e],l=n[e];if(null==s&&null!=i&&(r[e]=s=o(t,i,e)),null==l&&null!=a&&(n[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),n[e]=l}}),t}()},95213(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(60969);let i=function(t){this.otherDims={},null!=t&&n.extend(this,t)}},19684(t,e,r){"use strict";r.d(e,{AF:()=>c,BE:()=>h,O0:()=>g,gV:()=>u,tP:()=>l,wZ:()=>f});var n=r(60969),i=r(52116),o=r(31592),a=r(87013),s=function(t){this.data=t.data||(t.sourceFormat===i.t1?{}:[]),this.sourceFormat=t.sourceFormat||i.vm,this.seriesLayoutBy=t.seriesLayoutBy||i.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var r=0;r<e.length;r++){var n=e[r];null==n.type&&(0,a.PU)(this,r)===a.sc.Must&&(n.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,r){r=r||f(t);var a=e.seriesLayoutBy,l=function(t,e,r,a,s){if(!t)return{dimensionsDefine:p(s),startIndex:u,dimensionsDetectedCount:l};if(e===i.Km){var l,u;"auto"===a||null==a?d(function(t){null!=t&&"-"!==t&&((0,n.isString)(t)?null==u&&(u=1):u=0)},r,t,10):u=(0,n.isNumber)(a)?a:+!!a,s||1!==u||(s=[],d(function(t,e){s[e]=null!=t?t+"":""},r,t,1/0)),l=s?s.length:r===i.oC?t.length:t[0]?t[0].length:null}else if(e===i.Wk)s||(s=function(t){for(var e,r=0;r<t.length&&!(e=t[r++]););if(e)return(0,n.keys)(e)}(t));else if(e===i.t1)s||(s=[],(0,n.each)(t,function(t,e){s.push(e)}));else if(e===i.mK){var c=(0,o.vj)(t[0]);l=(0,n.isArray)(c)&&c.length||1}else i.XO;return{startIndex:u,dimensionsDefine:p(s),dimensionsDetectedCount:l}}(t,r,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:r,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,n.clone)(e)})}function c(t){return new s({data:t,sourceFormat:(0,n.isTypedArray)(t)?i.XO:i.mK})}function h(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,n.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function f(t){var e=i.vm;if((0,n.isTypedArray)(t))e=i.XO;else if((0,n.isArray)(t)){0===t.length&&(e=i.Km);for(var r=0,o=t.length;r<o;r++){var a=t[r];if(null!=a){if((0,n.isArray)(a)||(0,n.isTypedArray)(a)){e=i.Km;break}else if((0,n.isObject)(a)){e=i.Wk;break}}}}else if((0,n.isObject)(t)){for(var s in t)if((0,n.hasOwn)(t,s)&&(0,n.isArrayLike)(t[s])){e=i.t1;break}}return e}function p(t){if(t){var e=(0,n.createHashMap)();return(0,n.map)(t,function(t,r){var i={name:(t=(0,n.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var o=e.get(i.name);return o?i.name+="-"+o.count++:e.set(i.name,{count:1}),i})}}function d(t,e,r,n){if(e===i.oC)for(var o=0;o<r.length&&o<n;o++)t(r[o]?r[o][0]:null,o);else for(var a=r[0]||[],o=0;o<a.length&&o<n;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===i.Wk||e===i.t1}},70598(t,e,r){"use strict";r.d(e,{Tc:()=>l,eS:()=>f,fg:()=>u,io:()=>c,j_:()=>h});var n=r(60969),i=r(31592),o=r(19684),a=(0,i.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=h(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,n.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),r=!f(t),n="",i=[],a=0,l=0;a<t;a++){var u=void 0,c=void 0,h=void 0,p=this.dimensions[l];if(p&&p.storeDimIndex===a)u=e?p.name:null,c=p.type,h=p.ordinalMeta,l++;else{var d=this.getSourceDimension(a);d&&(u=e?d.name:null,c=d.type)}i.push({property:u,type:c,ordinalMeta:h}),!e||null==u||p&&p.isCalculationCoord||(n+=r?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),n+="$",n+=s[c]||"f",h&&(n+=h.uid),n+="$"}var g=this.source;return{dimensions:i,hash:[g.seriesLayoutBy,g.startIndex,n].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,r=0;e<this._fullDimCount;e++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(n=i.name),r++;else{var o=this.getSourceDimension(e);o&&(n=o.name)}t.push(n)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function c(t){for(var e=(0,n.createHashMap)(),r=0;r<(t||[]).length;r++){var i=t[r],o=(0,n.isObject)(i)?i.name:i;null!=o&&null==e.get(o)&&e.set(o,r)}return e}function h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=c(t.dimensionsDefine))}function f(t){return t>30}},35037(t,e,r){"use strict";r.d(e,{A:()=>f,M:()=>h});var n=r(52116),i=r(95213),o=r(60969),a=r(19684),s=r(1416),l=r(31592),u=r(87013),c=r(70598);function h(t,e){return f(t,e).dimensions}function f(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var r,h,f,p,d,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(r=t,h=g,f=y,p=e.dimensionsCount,d=Math.max(r.dimensionsDetectedCount||1,h.length,f.length,p||0),(0,o.each)(h,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(d=Math.max(d,e.length))}),d),b=e.canOmitUnusedDimensions&&(0,c.eS)(_),x=y===t.dimensionsDefine,w=x?(0,c.j_)(t):(0,c.io)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,_));for(var A=(0,o.createHashMap)(S),M=new s.A_(_),k=0;k<M.length;k++)M[k]=-1;function T(t){var e=M[t];if(e<0){var r=y[t],n=(0,o.isObject)(r)?r:{name:r},a=new i.A,s=n.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=n.type&&(a.type=n.type),null!=n.displayName&&(a.displayName=n.displayName);var l=m.length;return M[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!b)for(var k=0;k<_;k++)T(k);A.each(function(t,e){var r=(0,l.qB)(t).slice();if(1===r.length&&!(0,o.isString)(r[0])&&r[0]<0)return void A.set(e,!1);var n=A.set(e,[]);(0,o.each)(r,function(t,r){var i=(0,o.isString)(t)?w.get(t):t;null!=i&&i<_&&(n[r]=i,O(T(i),e,r))})});var C=0;function O(t,e,r){null!=n.Pe.get(e)?t.otherDims[e]=r:(t.coordDim=e,t.coordDimIndex=r,v.set(e,!0))}(0,o.each)(g,function(t){if((0,o.isString)(t))i=t,n={};else{var e,r,n,i=(n=t).name,a=n.ordinalMeta;n.ordinalMeta=null,(n=(0,o.extend)({},n)).ordinalMeta=a,e=n.dimsDef,r=n.otherDims,n.name=n.coordDim=n.coordDimIndex=n.dimsDef=n.otherDims=null}var s=A.get(i);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;C<_&&null!=T(C).coordDim;)C++;C<_&&s.push(C++)}(0,o.each)(s,function(t,a){var s=T(t);if(x&&null!=n.type&&(s.type=n.type),O((0,o.defaults)(s,n),i,a),null==s.name&&e){var l=e[a];(0,o.isObject)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}r&&(0,o.defaults)(s.otherDims,r)})}});var E=e.generateCoord,I=e.generateCoordCount,D=null!=I;I=E?I||1:0;var R=E||"value";function L(t){null==t.name&&(t.name=t.coordDim)}if(b)(0,o.each)(m,function(t){L(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var P=0;P<_;P++){var B=T(P);null==B.coordDim&&(B.coordDim=function(t,e,r){if(r||e.hasKey(t)){for(var n=0;e.hasKey(t+n);)n++;t+=n}return e.set(t,!0),t}(R,v,D),B.coordDimIndex=0,(!E||I<=0)&&(B.isExtraCoord=!0),I--),L(B),null==B.type&&((0,u.PU)(t,P)===u.sc.Must||B.isExtraCoord&&(null!=B.otherDims.itemName||null!=B.otherDims.seriesName))&&(B.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),r=0;r<t.length;r++){var n=t[r],i=n.name,a=e.get(i)||0;a>0&&(n.name=i+(a-1)),a++,e.set(i,a)}}(m),new c.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:b})}},24589(t,e,r){"use strict";r.d(e,{Kd:()=>m,QE:()=>S,d1:()=>f,sC:()=>g,uQ:()=>x});var n,i,o,a,s,l=r(60969),u=r(31592),c=r(19684),h=r(52116),f=function(){var t;function e(t,e){var r=(0,c.tP)(t)?t:(0,c.AF)(t);this._source=r;var n=this._data=r.data;r.sourceFormat===h.XO&&(this._offset=0,this._dimSize=e,this._data=n),s(this,n,r)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,f=o.dimensionsDefine,p=a[w(s,u)];if((0,l.extend)(t,p),s===h.XO)t.getItem=e,t.count=n,t.fillStorage=r;else{var d=g(s,u);t.getItem=(0,l.bind)(d,null,i,c,f);var y=m(s,u);t.count=(0,l.bind)(y,null,i,c,f)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var r=this._data,n=this._dimSize,i=n*t,o=0;o<n;o++)e[o]=r[i+o];return e},r=function(t,e,r,n){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=n[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=r[a],f=0;f<c;f++){var p=i[f*o+a];h[t+f]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},n=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[h.Km+"_"+h.i_]={pure:!0,appendData:i},t[h.Km+"_"+h.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h.Wk]={pure:!0,appendData:i},t[h.t1]={pure:!0,appendData:function(t){var e=this._data;(0,l.each)(t,function(t,r){for(var n=e[r]||(e[r]=[]),i=0;i<(t||[]).length;i++)n.push(t[i])})}},t[h.mK]={appendData:i},t[h.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),p=function(t,e,r,n){return t[n]},d=((n={})[h.Km+"_"+h.i_]=function(t,e,r,n){return t[n+e]},n[h.Km+"_"+h.oC]=function(t,e,r,n,i){n+=e;for(var o=i||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[n]:null}return o},n[h.Wk]=p,n[h.t1]=function(t,e,r,n,i){for(var o=i||[],a=0;a<r.length;a++){var s=t[r[a].name];o[a]=s?s[n]:null}return o},n[h.mK]=p,n);function g(t,e){return d[w(t,e)]}var y=function(t,e,r){return t.length},v=((i={})[h.Km+"_"+h.i_]=function(t,e,r){return Math.max(0,t.length-e)},i[h.Km+"_"+h.oC]=function(t,e,r){var n=t[0];return n?Math.max(0,n.length-e):0},i[h.Wk]=y,i[h.t1]=function(t,e,r){var n=t[r[0].name];return n?n.length:0},i[h.mK]=y,i);function m(t,e){return v[w(t,e)]}var _=function(t,e,r){return t[e]},b=((o={})[h.Km]=_,o[h.Wk]=function(t,e,r){return t[r]},o[h.t1]=_,o[h.mK]=function(t,e,r){var n=(0,u.vj)(t);return n instanceof Array?n[e]:n},o[h.XO]=_,o);function x(t){return b[t]}function w(t,e){return t===h.Km?t+"_"+e:t}function S(t,e,r){if(t){var n=t.getRawDataItem(e);if(null!=n){var i=t.getStore(),o=i.getSource().sourceFormat;if(null!=r){var a=t.getDimensionIndex(r),s=i.getDimensionProperty(a);return b[o](n,a,s)}var l=n;return o===h.mK&&(l=(0,u.vj)(n)),l}}}},32750(t,e,r){"use strict";r.d(e,{iJ:()=>o,me:()=>s,sJ:()=>a});var n=r(60969),i=r(70598);function o(t,e,r){var o,a,s,l,u,c,h,f,p=(r=r||{}).byIndex,d=r.stackedCoordDimension;(o=e,(0,i.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,n.each)(a,function(t,e){(0,n.isString)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(p||u||!t.ordinalMeta||(u=t),c||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(c=t))}),!c||p||u||(p=!0),c){h="__\0ecstackresult_"+t.id,f="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=c.coordDim,v=c.type,m=0;(0,n.each)(a,function(t){t.coordDim===y&&m++});var _={name:h,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},b={name:f,coordDim:f,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(f,v),b.storeDimIndex=l.ensureCalculationDimension(h,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(b)):(a.push(_),a.push(b))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:p,stackedOverDimension:f,stackResultDimension:h}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},89927(t,e,r){"use strict";r.d(e,{Fl:()=>l,Pn:()=>a});var n=r(30296),i=r(60969),o=r(46755);function a(t,e){var r=e&&e.type;return"ordinal"===r?t:("time"!==r||(0,i.isNumber)(t)||null==t||"-"===t||(t=+(0,n._U)(t)),null==t||""===t?NaN:Number(t))}(0,i.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,n._U)(t)},trim:function(t){return(0,i.isString)(t)?(0,i.trim)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}};(function(t,e){(0,i.isNumber)(e)||(0,o.$8)(""),this._opFn=s[t],this._rvalFloat=(0,n.Sm)(e)}).prototype.evaluate=function(t){return(0,i.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,n.Sm)(t),this._rvalFloat)};var l=function(){function t(t,e){var r="desc"===t;this._resultLT=r?1:-1,null==e&&(e=r?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var r=(0,i.isNumber)(t)?t:(0,n.Sm)(t),o=(0,i.isNumber)(e)?e:(0,n.Sm)(e),a=isNaN(r),s=isNaN(o);if(a&&(r=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,i.isString)(t),u=(0,i.isString)(e);l&&(r=u?t:0),u&&(o=l?e:0)}return r<o?this._resultLT:r>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,n.Sm)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var r=typeof t;r!==this._rvalTypeof&&("number"===r||"number"===this._rvalTypeof)&&(e=(0,n.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e}},90318(t,e,r){"use strict";r.d(e,{B:()=>l,l:()=>a});var n=r(60969),i=r(52116),o=function(){function t(t,e){this._encode=t,this._schema=e}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 a(t,e){var r={},a=r.encode={},l=(0,n.createHashMap)(),u=[],c=[],h={};(0,n.each)(t.dimensions,function(e){var r=t.getDimensionInfo(e),n=r.coordDim;if(n){var o,f=r.coordDimIndex;s(a,n)[f]=e,r.isExtraCoord||(l.set(n,1),"ordinal"!==(o=r.type)&&"time"!==o&&(u[0]=e),s(h,n)[f]=t.getDimensionIndex(r.name)),r.defaultTooltip&&c.push(e)}i.Pe.each(function(t,e){var n=s(a,e),i=r.otherDims[e];null!=i&&!1!==i&&(n[i]=r.name)})});var f=[],p={};l.each(function(t,e){var r=a[e];p[e]=r[0],f=f.concat(r)}),r.dataDimsOnCoord=f,r.dataDimIndicesOnCoord=(0,n.map)(f,function(e){return t.getDimensionInfo(e).storeDimIndex}),r.encodeFirstDimNotExtra=p;var d=a.label;d&&d.length&&(u=d.slice());var g=a.tooltip;return g&&g.length?c=g.slice():c.length||(c=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=c,r.userOutput=new o(h,e),r}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},87013(t,e,r){"use strict";r.d(e,{G9:()=>c,Gt:()=>h,OC:()=>u,PU:()=>f,ps:()=>l,sc:()=>a});var n=r(31592),i=r(60969),o=r(52116),a={Must:1,Might:2,Not:3},s=(0,n.$r)();function l(t){s(t).datasetMap=(0,i.createHashMap)()}function u(t,e,r){var n,o,a={},l=c(e);if(!l||!t)return a;var u=[],h=[],f=s(e.ecModel).datasetMap,p=l.uid+"_"+r.seriesLayoutBy;t=t.slice(),(0,i.each)(t,function(e,r){var s=(0,i.isObject)(e)?e:t[r]={name:e};"ordinal"===s.type&&null==n&&(n=r,o=y(s)),a[s.name]=[]});var d=f.get(p)||f.set(p,{categoryWayDim:o,valueWayDim:0});function g(t,e,r){for(var n=0;n<r;n++)t.push(e+n)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,i.each)(t,function(t,e){var r=t.name,i=y(t);if(null==n){var o=d.valueWayDim;g(a[r],o,i),g(h,o,i),d.valueWayDim+=i}else if(n===e)g(a[r],0,i),g(u,0,i);else{var o=d.categoryWayDim;g(a[r],o,i),g(h,o,i),d.categoryWayDim+=i}}),u.length&&(a.itemName=u),h.length&&(a.seriesName=h),a}function c(t){if(!t.get("data",!0))return(0,n.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},n.US).models[0]}function h(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,n.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},n.US).models:[]}function f(t,e){return function(t,e,r,s,l,u){var c,h,f;if((0,i.isTypedArray)(t))return a.Not;if(s){var p=s[u];(0,i.isObject)(p)?(h=p.name,f=p.type):(0,i.isString)(p)&&(h=p)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(e===o.Km)if(r===o.oC){for(var d=t[u],g=0;g<(d||[]).length&&g<5;g++)if(null!=(c=_(d[l+g])))return c}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(c=_(y[u])))return c}else if(e===o.Wk){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(c=_(v[h])))return c}}else if(e===o.t1){if(!h)return a.Not;var d=t[h];if(!d||(0,i.isTypedArray)(d))return a.Not;for(var g=0;g<d.length&&g<5;g++)if(null!=(c=_(d[g])))return c}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,n.vj)(v);if(!(0,i.isArray)(m))return a.Not;if(null!=(c=_(m[u])))return c}function _(t){var e=(0,i.isString)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},45158(t,e,r){"use strict";r.d(e,{py:()=>v,v5:()=>y});var n=r(52116),i=r(31592),o=r(60969),a=r(24589),s=r(89927),l=r(46755),u=r(19684),c=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function h(t){return m(t.sourceFormat)||(0,l.$8)(""),t.data}function f(t){var e=t.sourceFormat,r=t.data;if(m(e)||(0,l.$8)(""),e===n.Km){for(var i=[],a=0,s=r.length;a<s;a++)i.push(r[a].slice());return i}if(e===n.Wk){for(var i=[],a=0,s=r.length;a<s;a++)i.push((0,o.extend)({},r[a]));return i}}function p(t,e,r){if(null!=r){if((0,o.isNumber)(r)||!isNaN(r)&&!(0,o.hasOwn)(e,r))return t[r];else if((0,o.hasOwn)(e,r))return e[r]}}function d(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function y(t){var e=(t=(0,o.clone)(t)).type;e||(0,l.$8)("");var r=e.split(":");2!==r.length&&(0,l.$8)("");var n=!1;"echarts"===r[0]&&(e=r[1],n=!0),t.__isBuiltIn=n,g.set(e,t)}function v(t,e,r){var s=(0,i.qB)(t),y=s.length;y||(0,l.$8)("");for(var v=0;v<y;v++)e=function(t,e,r,s){e.length||(0,l.$8)(""),(0,o.isObject)(t)||(0,l.$8)("");var y=t.type,v=g.get(y);v||(0,l.$8)("");var _=(0,o.map)(e,function(t){return function(t,e){var r=new c,i=t.data,s=r.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==n.i_&&(0,l.$8)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var r=t.name,n={index:e,name:r,displayName:t.displayName};g.push(n),null!=r&&((0,o.hasOwn)(y,r)&&(0,l.$8)(""),y[r]=n)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a.sC)(s,n.i_);e.__isBuiltIn&&(r.getRawDataItem=function(t){return _(i,u,g,t)},r.getRawData=(0,o.bind)(h,null,t)),r.cloneRawData=(0,o.bind)(f,null,t);var b=(0,a.Kd)(s,n.i_);r.count=(0,o.bind)(b,null,i,u,g);var x=(0,a.uQ)(s);r.retrieveValue=function(t,e){return w(_(i,u,g,t),e)};var w=r.retrieveValueFromItem=function(t,e){if(null!=t){var r=g[e];if(r)return x(t,e,r.name)}};return r.getDimensionInfo=(0,o.bind)(p,null,g,y),r.cloneAllDimensionInfo=(0,o.bind)(d,null,g),r}(t,v)}),b=(0,i.qB)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.clone)(t.config)}));return(0,o.map)(b,function(t,r){(0,o.isObject)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),m((0,u.wZ)(t.data))||(0,l.$8)("");var i,a=e[0];if(a&&0===r&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),i={seriesLayoutBy:n.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:n.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,i,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===n.Km||t===n.Wk}},36473(t,e,r){"use strict";r.d(e,{Y:()=>function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(h,e)>=0||(h.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(f))}});var n=r(8737),i=r(60987),o=r(49927),a=r(77993),s=r(51296),l=r(60969),u=r(33842),c=r(36587),h=[],f={registerPreprocessor:n.lP,registerProcessor:n.qg,registerPostInit:n.cf,registerPostUpdate:n.tb,registerUpdateLifecycle:n.xV,registerAction:n.OH,registerCoordinateSystem:n.pX,registerLayout:n.Oh,registerVisual:n.AF,registerTransform:n.iY,registerLoading:n.Ej,registerMap:n.mz,registerImpl:u.m,PRIORITY:n.FQ,ComponentModel:a.A,ComponentView:i.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){i.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}}},73581(t,e,r){"use strict";r.d(e,{If:()=>u,QX:()=>s,Xe:()=>l,os:()=>o});var n=r(37959),i=r(87443);function o(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];if(!i.defaultAttr.ignore){var o=i.label,a=o.getComputedTransform(),s=o.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,u=o.style.margin||0,c=s.clone();c.applyTransform(a),c.x-=u/2,c.y-=u/2,c.width+=u,c.height+=u;var h=l?new n.A(s,a):null;e.push({label:o,labelLine:i.labelLine,rect:c,localRect:s,obb:h,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:l,transform:a})}}return e}function a(t,e,r,n,i,o){var a,s,l,u=t.length;if(!(u<2)){t.sort(function(t,r){return t.rect[e]-r.rect[e]});for(var c=0,h=!1,f=[],p=0,d=0;d<u;d++){var g=t[d],y=g.rect;(a=y[e]-c)<0&&(y[e]-=a,g.label[e]-=a,h=!0);var v=Math.max(-a,0);f.push(v),p+=v,c=y[e]+y[r]}p>0&&o&&w(-p/u,0,u);var m=t[0],_=t[u-1];return b(),s<0&&S(-s,.8),l<0&&S(l,.8),b(),x(s,l,1),x(l,s,-1),b(),s<0&&A(-s),l<0&&A(l),h}function b(){s=m.rect[e]-n,l=i-_.rect[e]-_.rect[r]}function x(t,e,r){if(t<0){var n=Math.min(e,-t);if(n>0){w(n*r,0,u);var i=n+t;i<0&&S(-i*r,1)}else S(-t*r,1)}}function w(r,n,i){0!==r&&(h=!0);for(var o=n;o<i;o++){var a=t[o],s=a.rect;s[e]+=r,a.label[e]+=r}}function S(n,i){for(var o=[],a=0,s=1;s<u;s++){var l=t[s-1].rect,c=Math.max(t[s].rect[e]-l[e]-l[r],0);o.push(c),a+=c}if(a){var h=Math.min(Math.abs(n)/a,i);if(n>0)for(var s=0;s<u-1;s++){var f=o[s]*h;w(f,0,s+1)}else for(var s=u-1;s>0;s--){var f=o[s-1]*h;w(-f,s,u)}}}function A(t){for(var e=t<0?-1:1,r=Math.ceil((t=Math.abs(t))/(u-1)),n=0;n<u-1;n++)if(e>0?w(r,0,n+1):w(-r,u-n-1,u),(t-=r)<=0)return}}function s(t,e,r,n){return a(t,"x","width",e,r,n)}function l(t,e,r,n){return a(t,"y","height",e,r,n)}function u(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var r=new i.A(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],l=s.axisAligned,u=s.localRect,c=s.transform,h=s.label,f=s.labelLine;r.copy(s.rect),r.width-=.1,r.height-=.1,r.x+=.05,r.y+=.05;for(var p=s.obb,d=!1,g=0;g<e.length;g++){var y=e[g];if(r.intersect(y.rect)&&(l&&y.axisAligned||(y.obb||(y.obb=new n.A(y.localRect,y.transform)),p||(p=new n.A(u,c)),p.intersect(y.obb)))){d=!0;break}}d?(o(h),f&&o(f)):(h.attr("ignore",s.defaultAttr.ignore),f&&f.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},5606(t,e,r){"use strict";r.d(e,{Lu:()=>b,VB:()=>p,c8:()=>_,lx:()=>f,qM:()=>h,sD:()=>d,xb:()=>x});var n=r(50583),i=r(60969),o=r(73327),a=r(31592),s=r(65336),l={};function u(t,e){for(var r=0;r<o.BV.length;r++){var n=o.BV[r],i=e[n],a=t.ensureState(n);a.style=a.style||{},a.style.text=i}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,r){var n,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(n=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=r?{interpolatedValue:r}:null)),null==n&&(n=(0,i.isFunction)(t.defaultText)?t.defaultText(s,t,r):t.defaultText);for(var c={normal:n},h=0;h<o.BV.length;h++){var f=o.BV[h],p=e[f];c[f]=(0,i.retrieve2)(a?a.getFormattedLabel(s,f,null,l,p&&p.get("formatter")):null,n)}return c}function h(t,e,r,a){r=r||l;for(var s=t instanceof n.Ay,h=!1,f=0;f<o.wV.length;f++){var g=e[o.wV[f]];if(g&&g.getShallow("show")){h=!0;break}}var y=s?t:t.getTextContent();if(h){!s&&(y||(y=new n.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=c(r,e),m=e.normal,_=!!m.getShallow("show"),x=p(m,a&&a.normal,r,!1,!s);x.text=v.normal,s||t.setTextConfig(d(m,r,!1));for(var f=0;f<o.BV.length;f++){var w=o.BV[f],g=e[w];if(g){var S=y.ensureState(w),A=!!(0,i.retrieve2)(g.getShallow("show"),_);A!==_&&(S.ignore=!A),S.style=p(g,a&&a[w],r,!0,!s),S.style.text=v[w],s||(t.ensureState(w).textConfig=d(g,r,!0))}}y.silent=!!m.getShallow("silent"),null!=y.style.x&&(x.x=y.style.x),null!=y.style.y&&(x.y=y.style.y),y.ignore=!_,y.useStyle(x),y.dirty(),r.enableTextSetter&&(b(y).setLabelText=function(t){var n=c(r,e,t);u(y,n)})}else y&&(y.ignore=!0);t.dirty()}function f(t,e){e=e||"label";for(var r={normal:t.getModel(e)},n=0;n<o.BV.length;n++){var i=o.BV[n];r[i]=t.getModel([i,e])}return r}function p(t,e,r,n,o){var a={};return function(t,e,r,n,o){r=r||l;var a,s=e.ecModel,u=s&&s.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var r=(t.option||l).rich;if(r){e=e||{};for(var n=(0,i.keys)(r),o=0;o<n.length;o++)e[n[o]]=1}t=t.parentModel}return e}(e);if(c){for(var h in a={},c)if(c.hasOwnProperty(h)){var f=e.getModel(["rich",h]);m(a[h]={},f,u,r,n,o,!1,!0)}}a&&(t.rich=a);var p=e.get("overflow");p&&(t.overflow=p);var d=e.get("minMargin");null!=d&&(t.margin=d),m(t,e,u,r,n,o,!0,!1)}(a,t,r,n,o),e&&(0,i.extend)(a,e),a}function d(t,e,r){e=e||{};var n,o={},a=t.getShallow("rotate"),s=(0,i.retrieve2)(t.getShallow("distance"),r?null:5),l=t.getShallow("offset");return"outside"===(n=t.getShallow("position")||(r?null:"inside"))&&(n=e.defaultOutsidePosition||"top"),null!=n&&(o.position=n),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],v=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,r,n,o,a,s,u){r=!o&&r||l;var c=n&&n.inheritColor,h=e.getShallow("color"),f=e.getShallow("textBorderColor"),p=(0,i.retrieve2)(e.getShallow("opacity"),r.opacity);("inherit"===h||"auto"===h)&&(h=c||null),("inherit"===f||"auto"===f)&&(f=c||null),a||(h=h||r.color,f=f||r.textBorderColor),null!=h&&(t.fill=h),null!=f&&(t.stroke=f);var d=(0,i.retrieve2)(e.getShallow("textBorderWidth"),r.textBorderWidth);null!=d&&(t.lineWidth=d);var m=(0,i.retrieve2)(e.getShallow("textBorderType"),r.textBorderType);null!=m&&(t.lineDash=m);var _=(0,i.retrieve2)(e.getShallow("textBorderDashOffset"),r.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=p||u||(p=n&&n.defaultOpacity),null!=p&&(t.opacity=p),o||a||null!=t.fill||!n.inheritColor||(t.fill=n.inheritColor);for(var b=0;b<g.length;b++){var x=g[b],w=(0,i.retrieve2)(e.getShallow(x),r[x]);null!=w&&(t[x]=w)}for(var b=0;b<y.length;b++){var x=y[b],w=e.getShallow(x);null!=w&&(t[x]=w)}if(null==t.verticalAlign){var S=e.getShallow("baseline");null!=S&&(t.verticalAlign=S)}if(!s||!n.disableBox){for(var b=0;b<v.length;b++){var x=v[b],w=e.getShallow(x);null!=w&&(t[x]=w)}var A=e.getShallow("borderType");null!=A&&(t.borderDash=A),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&c&&(t.backgroundColor=c),("auto"===t.borderColor||"inherit"===t.borderColor)&&c&&(t.borderColor=c)}}function _(t,e){var r=e&&e.getModel("textStyle");return(0,i.trim)([t.fontStyle||r&&r.getShallow("fontStyle")||"",t.fontWeight||r&&r.getShallow("fontWeight")||"",(t.fontSize||r&&r.getShallow("fontSize")||12)+"px",t.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var b=(0,a.$r)();function x(t,e,r,n,o){var l=b(t);if(l.valueAnimation&&l.prevValue!==l.value){var h=l.defaultInterpolatedText,f=(0,i.retrieve2)(l.interpolatedValue,l.prevValue),p=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},n,e,null,function(n){var i=(0,a.Il)(r,l.precision,f,p,n);l.interpolatedValue=1===n?null:i,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(i):i+""},l.statesModels,i))})}}},68518(t,e,r){"use strict";r.d(e,{DL:()=>l,GL:()=>u,VA:()=>f,vq:()=>c});var n=r(60969),i=r(30296),o="__ec_stack_";function a(t){return t.get("stack")||o+t.seriesIndex}function s(t){return t.dim+t.index}function l(t){var e=[],r=t.axis,i="axis0";if("category"===r.type){for(var a=r.getBandWidth(),s=0;s<t.count||0;s++)e.push((0,n.defaults)({bandWidth:a,axisKey:i,stackId:o+s},t));for(var l=h(e),u=[],s=0;s<t.count;s++){var c=l[i][o+s];c.offsetCenter=c.offset+c.width/2,u.push(c)}return u}}function u(t,e){var r=[];return e.eachSeriesByType(t,function(t){var e;(e=t).coordinateSystem&&"cartesian2d"===e.coordinateSystem.type&&r.push(t)}),r}function c(t){var e=function(t){var e={};(0,n.each)(t,function(t){var r=t.coordinateSystem.getBaseAxis();if("time"===r.type||"value"===r.type)for(var n=t.getData(),i=r.dim+"_"+r.index,o=n.getDimensionIndex(n.mapDimension(r.dim)),a=n.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[i]?e[i].push(u):e[i]=[u]}});var r={};for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}r[i]=a}}return r}(t),r=[];return(0,n.each)(t,function(t){var n,o,l=t.coordinateSystem.getBaseAxis(),u=l.getExtent();if("category"===l.type)o=l.getBandWidth();else if("value"===l.type||"time"===l.type){var c=e[l.dim+"_"+l.index],h=Math.abs(u[1]-u[0]),f=l.scale.getExtent(),p=Math.abs(f[1]-f[0]);o=c?h/p*c:h}else{var d=t.getData();o=Math.abs(u[1]-u[0])/d.count()}var g=(0,i.lo)(t.get("barWidth"),o),y=(0,i.lo)(t.get("barMaxWidth"),o),v=(0,i.lo)(t.get("barMinWidth")||((n=t).pipelineContext&&n.pipelineContext.large?.5:1),o),m=t.get("barGap"),_=t.get("barCategoryGap");r.push({bandWidth:o,barWidth:g,barMaxWidth:y,barMinWidth:v,barGap:m,barCategoryGap:_,axisKey:s(l),stackId:a(t)})}),h(r)}function h(t){var e={};(0,n.each)(t,function(t,r){var n=t.axisKey,i=t.bandWidth,o=e[n]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[n]=o;var s=t.stackId;!a[s]&&o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var f=t.barCategoryGap;null!=f&&(o.categoryGap=f)});var r={};return(0,n.each)(e,function(t,e){r[e]={};var o,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,n.keys)(a).length,15)+"%");var u=(0,i.lo)(l,s),c=(0,i.lo)(t.gap,1),h=t.remainedWidth,f=t.autoWidthCount,p=(h-u)/(f+(f-1)*c);p=Math.max(p,0),(0,n.each)(a,function(t){var e=t.maxWidth,r=t.minWidth;if(t.width){var n=t.width;e&&(n=Math.min(n,e)),r&&(n=Math.max(n,r)),t.width=n,h-=n+c*n,f--}else{var n=p;e&&e<n&&(n=Math.min(e,h)),r&&r>n&&(n=r),n!==p&&(t.width=n,h-=n+c*n,f--)}}),p=Math.max(p=(h-u)/(f+(f-1)*c),0);var d=0;(0,n.each)(a,function(t,e){t.width||(t.width=p),o=t,d+=t.width*(1+c)}),o&&(d-=o.width*c);var g=-d/2;(0,n.each)(a,function(t,n){r[e][n]=r[e][n]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+c)})}),r}function f(t,e,r){if(t&&e){var n=t[s(e)];return null!=n&&null!=r?n[a(r)]:n}}},77993(t,e,r){"use strict";r.d(e,{A:()=>f});var n=r(65959),i=r(60969),o=r(8350),a=r(96358),s=r(99803),l=r(31592),u=r(45263),c=(0,l.$r)(),h=function(t){var e;function r(e,r,n){var i=t.call(this,e,r,n)||this;return i.uid=a.$Q("ec_cpt_model"),i}return(0,n.C6)(r,t),r.prototype.init=function(t,e,r){this.mergeDefaultAndTheme(t,r)},r.prototype.mergeDefaultAndTheme=function(t,e){var r=u.ad(this),n=r?u.vs(t):{},o=e.getTheme();i.merge(t,o.get(this.mainType)),i.merge(t,this.getDefaultOption()),r&&u.YA(t,n,r)},r.prototype.mergeOption=function(t,e){i.merge(this.option,t,!0);var r=u.ad(this);r&&u.YA(this.option,t,r)},r.prototype.optionUpdated=function(t,e){},r.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var r=[],n=t;n;){var o=n.prototype.defaultOption;o&&r.push(o),n=n.superClass}for(var a={},l=r.length-1;l>=0;l--)a=i.merge(a,r[l],!0);e.defaultOption=a}return e.defaultOption},r.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},r.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function(t){this.option.zlevel=t},r.protoInitialize=void((e=r.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),r}(o.A);(0,s.q7)(h,o.A),(0,s.tQ)(h),a.A6(h),a.vf(h,function(t){var e=[];return i.each(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=i.map(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=i.indexOf(e,"dataset")&&e.unshift("dataset"),e});let f=h},8350(t,e,r){"use strict";r.d(e,{A:()=>v});var n=r(88934),i=r(99803),o=(0,r(27750).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=r(5606),l=r(50583),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.Ay,f=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<c.length;r++)e[c[r]]=this.getShallow(c[r]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),p=r(66895),d=r(31064),g=r(60969),y=function(){function t(t,e,r){this.parentModel=e,this.ecModel=r,this.option=t}return t.prototype.init=function(t,e,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var r=this.option,n=null==r?r:r[t];if(null==n&&!e){var i=this.parentModel;i&&(n=i.getShallow(t))}return n},t.prototype.getModel=function(e,r){var n=null!=e,i=n?this.parsePath(e):null;return new t(n?this._doGet(i):this.option,r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!n.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var r=this.option;if(!t)return r;for(var n=0;n<t.length&&(!t[n]||null!=(r=r&&"object"==typeof r?r[t[n]]:null));n++);return null==r&&e&&(r=e._doGet(this.resolveParentPath(t),e.parentModel)),r},t}();(0,i.gq)(y),(0,i.Od)(y),(0,g.mixin)(y,p.J),(0,g.mixin)(y,d.s),(0,g.mixin)(y,a),(0,g.mixin)(y,f);let v=y},51296(t,e,r){"use strict";r.d(e,{A:()=>R});var n=r(65959),i=r(60969),o=r(88934),a=r(31592),s=r(77993),l=r(36127),u=r(75493),c=r(45263),h=r(7713),f=r(99803),p=r(19684),d=r(52116),g=r(87013),y=r(45158),v=r(1416),m=r(24589),_=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,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 t,e,r=this._sourceHost,n=this._getUpstreamSourceManagers(),o=!!n.length;if(b(r)){var a=void 0,s=void 0,l=void 0;if(o){var u=n[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=r.get("data",!0),s=(0,i.isTypedArray)(a)?d.XO:d.mK,e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},f=(0,i.retrieve2)(c.seriesLayoutBy,h.seriesLayoutBy)||null,g=(0,i.retrieve2)(c.sourceHeader,h.sourceHeader),y=(0,i.retrieve2)(c.dimensions,h.dimensions);t=f!==h.seriesLayoutBy||!!g!=!!h.sourceHeader||y?[(0,p.gV)(a,{seriesLayoutBy:f,sourceHeader:g,dimensions:y},s)]:[]}else if(o){var v=this._applyTransform(n);t=v.sourceList,e=v.upstreamSignList}else{var m=r.get("source",!0);t=[(0,p.gV)(m,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,r=this._sourceHost,n=r.get("transform",!0),o=r.get("fromTransformResult",!0);null!=o&&1!==t.length&&x("");var a=[],s=[];return(0,i.each)(t,function(t){t.prepareSource();var e=t.getSource(o||0);null==o||e||x(""),a.push(e),s.push(t._getVersionSign())}),n?e=(0,y.py)(n,a,{datasetIndex:r.componentIndex}):null!=o&&(e=[(0,p.BE)(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var r=t[e];if(r._isDirty()||this._upstreamSignList[e]!==r._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,r){var n=this._storeList,i=n[0];i||(i=n[0]={});var o=i[r];if(!o){var a=this._getUpstreamSourceManagers()[0];b(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,r):(o=new v.Ay).initData(new m.d1(e,t.length),t),i[r]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!b(t))return(0,i.map)((0,g.Gt)(t),function(t){return t.getSourceManager()});var e=(0,g.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,r,n=this._sourceHost;return b(n)?(t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),r=n.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),r=n.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:r}},t}();function b(t){return"series"===t.mainType}function x(t){throw Error(t)}var w=r(69511),S=a.$r();function A(t,e){return t.getName(e)||t.getId(e)}var M=function(t){var e;function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,n.C6)(r,t),r.prototype.init=function(t,e,r){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.U)({count:T,reset:C}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,r),(S(this).sourceManager=new _(this)).prepareSource();var n=this.getInitialData(t,r);E(n,this),this.dataTask.context.data=n,S(this).dataBeforeProcessed=n,k(this),this._initSelectedMapFromData(n)},r.prototype.mergeDefaultAndTheme=function(t,e){var r=(0,c.ad)(this),n=r?(0,c.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),r&&(0,c.YA)(t,n,r)},r.prototype.mergeOption=function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var r=(0,c.ad)(this);r&&(0,c.YA)(this.option,t,r);var n=S(this).sourceManager;n.dirty(),n.prepareSource();var o=this.getInitialData(t,e);E(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,S(this).dataBeforeProcessed=o,k(this),this._initSelectedMapFromData(o)},r.prototype.fillDataTextStyle=function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],r=0;r<t.length;r++)t[r]&&t[r].label&&a.M5(t[r],"label",e)},r.prototype.getInitialData=function(t,e){},r.prototype.appendData=function(t){this.getRawData().appendData(t.data)},r.prototype.getData=function(t){var e=D(this);if(!e)return S(this).data;var r=e.context.data;return null!=t&&r.getLinkedData?r.getLinkedData(t):r},r.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},r.prototype.setData=function(t){var e=D(this);if(e){var r=e.context;r.outputData=t,e!==this.dataTask&&(r.data=t)}S(this).data=t},r.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.createHashMap(t)},r.prototype.getSourceManager=function(){return S(this).sourceManager},r.prototype.getSource=function(){return this.getSourceManager().getSource()},r.prototype.getRawData=function(){return S(this).dataBeforeProcessed},r.prototype.getColorBy=function(){return this.get("colorBy")||"series"},r.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},r.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},r.prototype.formatTooltip=function(t,e,r){return function(t){var e,r,n,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,c=s.getData(),h=c.mapDimensionsAll("defaultedTooltip"),f=h.length,p=s.getRawValue(l),d=(0,i.isArray)(p),g=(0,w.aw)(s,l);if(f>1||d&&!f){var y=function(t,e,r,n,o){var a=e.getData(),s=(0,i.reduce)(t,function(t,e,r){var n=a.getDimensionInfo(r);return t||n&&!1!==n.tooltip&&null!=n.displayName},!1),l=[],u=[],c=[];function h(t,e){var r=a.getDimensionInfo(e);r&&!1!==r.otherDims.tooltip&&(s?c.push((0,w.Qx)("nameValue",{markerType:"subItem",markerColor:o,name:r.displayName,value:t,valueType:r.type})):(l.push(t),u.push(r.type)))}return n.length?(0,i.each)(n,function(t){h((0,m.QE)(a,r,t),t)}):(0,i.each)(t,h),{inlineValues:l,inlineValueTypes:u,blocks:c}}(p,s,l,h,g);e=y.inlineValues,r=y.inlineValueTypes,n=y.blocks,o=y.inlineValues[0]}else if(f){var v=c.getDimensionInfo(h[0]);o=e=(0,m.QE)(c,l,h[0]),r=v.type}else o=e=d?p[0]:p;var _=(0,a.O0)(s),b=_&&s.name||"",x=c.getName(l),S=u?b:x;return(0,w.Qx)("section",{header:b,noHeader:u||!_,sortParam:o,blocks:[(0,w.Qx)("nameValue",{markerType:"item",markerColor:g,name:S,noName:!(0,i.trim)(S),value:e,valueType:r,dataIndex:l})].concat(n||[])})}({series:this,dataIndex:t,multipleSeries:e})},r.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(t,e,r){var n=this.ecModel,i=l.X.prototype.getColorFromPalette.call(this,t,e,r);return i||(i=n.getColorFromPalette(t,e,r)),i},r.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},r.prototype.unselect=function(t,e){var r=this.option.selectedMap;if(r){var n=this.option.selectedMode,i=this.getData(e);if("series"===n||"all"===r){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=A(i,t[o]);r[a]=!1,this._selectedDataIndicesMap[a]=-1}}},r.prototype.toggleSelect=function(t,e){for(var r=[],n=0;n<t.length;n++)r[0]=t[n],this.isSelected(t[n],e)?this.unselect(r,e):this.select(r,e)},r.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=i.keys(t),r=[],n=0;n<e.length;n++){var o=t[e[n]];o>=0&&r.push(o)}return r},r.prototype.isSelected=function(t,e){var r=this.option.selectedMap;if(!r)return!1;var n=this.getData(e);return("all"===r||r[A(n,t)])&&!n.getItemModel(t).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},r.prototype._innerSelect=function(t,e){var r,n,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){i.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=e[u],h=A(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var f=e[s-1],h=A(t,f);(r={})[h]=!0,o.selectedMap=r,this._selectedDataIndicesMap=((n={})[h]=t.getRawIndex(f),n)}}},r.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(r){var n=t.getRawDataItem(r);n&&n.selected&&e.push(r)}),e.length>0&&this._innerSelect(t,e)}},r.registerClass=function(t){return s.A.registerClass(t)},r.protoInitialize=void((e=r.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),r}(s.A);function k(t){var e,r,n,o=t.name;a.O0(t)||(t.name=(r=(e=t.getRawData()).mapDimensionsAll("seriesName"),n=[],i.each(r,function(t){var r=e.getDimensionInfo(t);r.displayName&&n.push(r.displayName)}),n.join(" ")||o))}function T(t){return t.model.getRawData().count()}function C(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function E(t,e){i.each(i.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(r){t.wrapMethod(r,i.curry(I,e))})}function I(t,e){var r=D(t);return r&&r.setOutputEnd((e||this).count()),e}function D(t){var e=(t.ecModel||{}).scheduler,r=e&&e.getPipeline(t.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(t.uid))}return n}}i.mixin(M,u.J),i.mixin(M,l.X),(0,f.q7)(M,s.A);let R=M},75493(t,e,r){"use strict";r.d(e,{J:()=>s,L:()=>l});var n=r(60969),i=r(24589),o=r(41606),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var r=this.getData(e),n=this.getRawValue(t,e),i=r.getRawIndex(t),o=r.getName(t),a=r.getRawDataItem(t),s=r.getItemVisual(t,"style"),l=s&&s[r.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,f=r.userOutput&&r.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:a,dataType:e,value:n,color:l,borderColor:u,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,r,s,l,u){e=e||"normal";var c=this.getData(r),h=this.getDataParams(t,r);return(u&&(h.value=u.interpolatedValue),null!=s&&n.isArray(h.value)&&(h.value=h.value[s]),l||(l=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),n.isFunction(l))?(h.status=e,h.dimensionIndex=s,l(h)):n.isString(l)?(0,o.YK)(l,h).replace(a,function(e,r){var o=r.length,a=r;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,i.QE)(c,t,a);if(u&&n.isArray(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,i.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,r){},t}();function l(t){var e,r;return n.isObject(t)?t.type&&(r=t):e=t,{text:e,frag:r}}},31064(t,e,r){"use strict";r.d(e,{L:()=>i,s:()=>a});var n=r(27750),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,n.A)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},66895(t,e,r){"use strict";r.d(e,{J:()=>a,m:()=>i});var n=r(27750),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,n.A)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},27750(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(60969);function i(t,e){for(var r=0;r<t.length;r++)t[r][1]||(t[r][1]=t[r][0]);return e=e||!1,function(r,i,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(i&&n.indexOf(i,l)>=0||o&&0>n.indexOf(o,l))){var u=r.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},36127(t,e,r){"use strict";r.d(e,{X:()=>a,x:()=>s});var n=r(31592),i=(0,n.$r)(),o=(0,n.$r)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,r){return l(this,i,(0,n.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,r)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=i)(t).paletteIdx=0,e(t).paletteNameMap={}},t}();function s(t,e,r,i){var a=(0,n.qB)(t.get(["aria","decal","decals"]));return l(t,o,a,null,e,r,i)}function l(t,e,r,n,i,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&n?function(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n].length>e)return t[n];return t[r-1]}(n,a):r;if((c=c||r)&&c.length){var h=c[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%c.length,h}}},61223(t,e,r){"use strict";r.d(e,{a:()=>v});var n=r(7551),i=r(60969),o=r(65959),a=r(54714),s=r(7544),l=r(23623),u=r(87443),c=r(15663),h=r(17578);function f(t,e,r){var n=h.yh.createCanvas(),i=e.getWidth(),o=e.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=i*r,n.height=o*r,n}var p=function(t){function e(e,r,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||n.Y5,"string"==typeof e?a=f(e,r,o):i.isObject(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(i.disableUserSelect(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=r,s.dpr=o,s}return(0,o.C6)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,r,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.A(0,0,0,0);function h(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}else{for(var r=!1,n=1/0,i=0,c=0;c<o.length;++c){var h=o[c];if(h.intersect(t)){var f=new u.A(0,0,0,0);f.copy(h),f.union(t),o[c]=f,r=!0;break}if(s){l.copy(t),l.union(h);var p=t.width*t.height,d=h.width*h.height,g=l.width*l.height-p-d;g<n&&(n=g,i=c)}}if(s&&(o[i].union(t),r=!0),!r){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var p=t[f];if(p){var d=p.shouldBePainted(r,n,!0,!0),g=p.__isRendered&&(p.__dirty&c.M||!d)?p.getPrevPaintRect():null;g&&h(g);var y=d&&(p.__dirty&c.M||!p.__isRendered)?p.getPaintRect():null;y&&h(y)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var p=e[f],d=p&&p.shouldBePainted(r,n,!0,!0);if(p&&(!d||!p.__zr)&&p.__isRendered){var g=p.getPrevPaintRect();g&&h(g)}}do{i=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var v=f+1;v<o.length;)o[f].intersect(o[v])?(i=!0,o[f].union(o[v]),o.splice(v,1)):v++;f++}}while(i);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var r=this.dpr,n=this.dom,i=n.style,o=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),n.width=t*r,n.height=e*r,o&&(o.width=t*r,o.height=e*r,1!==r&&this.ctxBack.scale(r,r))},e.prototype.clear=function(t,e,r){var n=this.dom,o=this.ctx,a=n.width,u=n.height;e=e||this.clearColor;var c=this.motionBlur&&!t,h=this.lastFrameAlpha,f=this.dpr,p=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,a/f,u/f));var d=this.domBack;function g(t,r,n,a){if(o.clearRect(t,r,n,a),e&&"transparent"!==e){var u=void 0;i.isGradientObject(e)?(u=(e.global||e.__width===n&&e.__height===a)&&e.__canvasGradient||(0,s.Ff)(o,e,{x:0,y:0,width:n,height:a}),e.__canvasGradient=u,e.__width=n,e.__height=a):i.isImagePatternObject(e)&&(e.scaleX=e.scaleX||f,e.scaleY=e.scaleY||f,u=(0,l.ZQ)(o,e,{dirty:function(){p.setUnpainted(),p.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,r,n,a),o.restore()}c&&(o.save(),o.globalAlpha=h,o.drawImage(d,t,r,n,a),o.restore())}!r||c?g(0,0,a,u):r.length&&i.each(r,function(t){g(t.x*f,t.y*f,t.width*f,t.height*f)})},e}(a.A),d=r(58933),g=r(88934),y=function(){function t(t,e,r,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=r=i.extend({},r||{}),this.dpr=r.devicePixelRatio||n.Y5,this._singleCanvas=a,this.root=t,t.style&&(i.disableUserSelect(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var c=t.width,h=t.height;null!=r.width&&(c=r.width),null!=r.height&&(h=r.height),this.dpr=r.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var f=new p(t,this,this.dpr);f.__builtin__=!0,f.initContext(),u[314159]=f,f.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.YC)(t,0,r),this._height=(0,s.YC)(t,1,r);var d,g,y,v=this._domRoot=(d=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+d+"px","height:"+g+"px","padding:0;margin:0;border-width:0"].join(";")+";",y);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),r=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,r,t,this._redrawId);for(var i=0;i<n.length;i++){var o=n[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,r=t.length,n=this._hoverlayer;if(n&&n.clear(),r){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<r;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(1e5)),e||(e=n.ctx).save(),(0,l.V$)(e,a,i,o===r-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.Xi)(t,e)},t.prototype._paintList=function(t,e,r,n){if(this._redrawId===n){r=r||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,r),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,d.A)(function(){s._paintList(t,e,r,n)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,e,r),this.eachBuiltinLayer(function(n){n.virtual&&t.drawImage(n.dom,0,0,e,r)})},t.prototype._doPaintList=function(t,e,r){for(var n=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||r)&&o.push(u)}for(var c=!0,h=!1,f=this,p=0;p<o.length;p++)!function(i){var s,l=o[i],u=l.ctx,p=a&&l.createRepaintRects(t,e,f._width,f._height),d=r?l.__startIndex:l.__drawIndex,g=!r&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,p);else if(d===l.__startIndex){var m=t[d];m.incremental&&m.notClear&&!r||l.clear(!1,v,p)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=l.__startIndex);var _=function(e){var r={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(s=d;s<l.__endIndex;s++){var i=t[s];if(i.__inHover&&(h=!0),n._doPaintEl(i,l,a,e,r,s===l.__endIndex-1),g&&Date.now()-y>15)break}r.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var b=f.dpr,x=0;x<p.length;++x){var w=p[x];u.save(),u.beginPath(),u.rect(w.x*b,w.y*b,w.width*b,w.height*b),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)}(p);return g.A.wxa&&i.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:c,needsRefreshHover:h}},t.prototype._doPaintEl=function(t,e,r,n,i,o){var a=e.ctx;if(r){var s=t.getPaintRect();(!n||s&&s.intersect(n))&&((0,l.V$)(a,t,i,o),t.setPrevPaintRect(s))}else(0,l.V$)(a,t,i,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var r=this._layers[t];return r||((r=new p("zr_"+t,this,this.dpr)).zlevel=t,r.__builtin__=!0,this._layerConfig[t]?i.merge(r,this._layerConfig[t],!0):this._layerConfig[t-.01]&&i.merge(r,this._layerConfig[t-.01],!0),e&&(r.virtual=e),this.insertLayer(t,r),r.initContext()),r},t.prototype.insertLayer=function(t,e){var r=this._layers,n=this._zlevelList,i=n.length,o=this._domRoot,a=null,s=-1;if(!r[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(i>0&&t>n[0]){for(s=0;s<i-1&&(!(n[s]<t)||!(n[s+1]>t));s++);a=r[n[s]]}if(n.splice(s+1,0,t),r[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n];t.call(e,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(t,e){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],o=this._layers[i];o.__builtin__&&t.call(e,o,i)}},t.prototype.eachOtherLayer=function(t,e){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],o=this._layers[i];o.__builtin__||t.call(e,o,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var r,n,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(n=0;n<t.length;n++){var a=t[n],u=a.zlevel,h=void 0;r!==u&&(r=u,l=0),a.incremental?((h=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):h=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),h.__builtin__||i.logError("ZLevel "+u+" has been used by unkown layer "+h.id),h!==s&&(h.__used=!0,h.__startIndex!==n&&(h.__dirty=!0),h.__startIndex=n,h.incremental?h.__drawIndex=-1:h.__drawIndex=n,e(n),s=h),a.__dirty&c.M&&!a.__inHover&&(h.__dirty=!0,h.incremental&&h.__drawIndex<0&&(h.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,i.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?i.merge(r[t],e,!0):r[t]=e;for(var n=0;n<this._zlevelList.length;n++){var o=this._zlevelList[n];if(o===t||o===t+.01){var a=this._layers[o];i.merge(a,r[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,r=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],r.splice(i.indexOf(r,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=(0,s.YC)(i,0,n),e=(0,s.YC)(i,1,n),r.style.display="",this._width!==t||e!==this._height){for(var o in r.style.width=t+"px",r.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new p("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var r=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height;this.eachLayer(function(t){t.__builtin__?r.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(r.save(),t.renderToCanvas(r),r.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var c=a[s];(0,l.V$)(r,c,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},53224(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r(65959),i=r(30296),o=r(41606),a=r(54203),s=r(29557),l=i.LI,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,n.C6)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.lP(t,this._extent)},e.prototype.normalize=function(t){return s.S8(t,this._extent)},e.prototype.scale=function(t){return s.hs(t,this._extent)},e.prototype.setExtent=function(t,e){var r=this._extent;isNaN(t)||(r[0]=parseFloat(t)),isNaN(e)||(r[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(t)},e.prototype.getTicks=function(t){var e=this._interval,r=this._extent,n=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;r[0]<n[0]&&(t?o.push({value:l(n[0]-e,i)}):o.push({value:r[0]}));for(var a=n[0];a<=n[1]&&(o.push({value:a}),(a=l(a+e,i))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:n[1];return r[1]>s&&(t?o.push({value:l(s+e,i)}):o.push({value:r[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),r=[],n=this.getExtent(),i=1;i<e.length;i++){for(var o=e[i],a=e[i-1],s=0,u=[],c=(o.value-a.value)/t;s<t-1;){var h=l(a.value+(s+1)*c);h>n[0]&&h<n[1]&&u.push(h),s++}r.push(u)}return r},e.prototype.getLabel=function(t,e){if(null==t)return"";var r=e&&e.precision;null==r?r=i.XV(t.value)||0:"auto"===r&&(r=this._intervalPrecision);var n=l(t.value,r,!0);return o.ob(n)},e.prototype.calcNiceTicks=function(t,e,r){t=t||5;var n=this._extent,i=n[1]-n[0];if(isFinite(i)){i<0&&(i=-i,n.reverse());var o=s.xh(n,t,e,r);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var r=Math.abs(e[0]);t.fixMax||(e[1]+=r/2),e[0]-=r/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/n)*n)),t.fixMax||(e[1]=l(Math.ceil(e[1]/n)*n))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.A);a.A.registerClass(u);let c=u},54203(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(99803),i=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(e)||(r[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();n.tQ(i);let o=i},29557(t,e,r){"use strict";r.d(e,{S8:()=>c,hs:()=>h,kH:()=>a,lP:()=>u,rf:()=>i,u$:()=>s,xh:()=>o});var n=r(30296);function i(t){return"interval"===t.type||"log"===t.type}function o(t,e,r,i){var o,a,u={},c=t[1]-t[0],h=u.interval=(0,n.Cm)(c/e,!0);null!=r&&h<r&&(h=u.interval=r),null!=i&&h>i&&(h=u.interval=i);var f=u.intervalPrecision=s(h);return o=u.niceTickExtent=[(0,n.LI)(Math.ceil(t[0]/h)*h,f),(0,n.LI)(Math.floor(t[1]/h)*h,f)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,n.NX)(t)),r=t/e;return r?2===r?r=3:3===r?r=5:r*=2:r=1,(0,n.LI)(r*e)}function s(t){return(0,n.XV)(t)+2}function l(t,e,r){t[e]=Math.max(Math.min(t[e],r[1]),r[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function c(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function h(t,e){return t*(e[1]-e[0])+e[0]}},99803(t,e,r){"use strict";r.d(e,{CC:()=>s,Od:()=>f,_E:()=>l,gq:()=>u,q7:()=>c,tQ:()=>g});var n=r(65959),i=r(60969),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var r=t.split(".");e.main=r[0]||"",e.sub=r[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,r,o=this;return(e=o,i.isFunction(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?r=function(t){function e(){return t.apply(this,arguments)||this}return(0,n.C6)(e,t),e}(o):(r=function(){(t.$constructor||o).apply(this,arguments)},i.inherits(r,this)),i.extend(r.prototype,t),r[a]=!0,r.extend=this.extend,r.superCall=p,r.superApply=d,r.superClass=o,r}}function c(t,e){t.extend=e.extend}var h=Math.round(10*Math.random());function f(t){var e=["__\0is_clz",h++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function p(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[e].apply(t,r)}function d(t,e,r){return this.superClass.prototype[e].apply(t,r)}function g(t){var e={};t.registerClass=function(t){var r=t.type||t.prototype.type;if(r){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal'),t.prototype.type=r;var n,a,l=s(r);l.sub?l.sub!==o&&(((a=e[(n=l).main])&&a[o]||((a=e[n.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,r,n){var i=e[t];if(i&&i[o]&&(i=r?i[r]:null),n&&!i)throw Error(r?"Component "+t+"."+(r||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var r=s(t),n=[],a=e[r.main];return a&&a[o]?i.each(a,function(t,e){e!==o&&n.push(t)}):n.push(a),n},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return i.each(e,function(e,r){t.push(r)}),t},t.hasSubTypes=function(t){var r=e[s(t).main];return r&&r[o]}}},96358(t,e,r){"use strict";r.d(e,{$Q:()=>a,A6:()=>s,G_:()=>u,vf:()=>l});var n=r(60969),i=r(99803),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,r){e[(0,i.CC)(t).main]=r},t.determineSubType=function(r,n){var o=n.type;if(!o){var a=(0,i.CC)(r).main;t.hasSubTypes(r)&&e[a]&&(o=e[a](n))}return o}}function l(t,e){t.topologicalTravel=function(t,i,o,a){if(t.length){var s,l,u,c=(s=i,l={},u=[],n.each(s,function(t){var i,o,a,c=r(l,t),h=(i=c.originalDeps=e(t),o=s,a=[],n.each(i,function(t){n.indexOf(o,t)>=0&&a.push(t)}),a);c.entryCount=h.length,0===c.entryCount&&u.push(t),n.each(h,function(e){0>n.indexOf(c.predecessor,e)&&c.predecessor.push(e);var i=r(l,e);0>n.indexOf(i.successor,e)&&i.successor.push(t)})}),{graph:l,noEntryList:u}),h=c.graph,f=c.noEntryList,p={};for(n.each(t,function(t){p[t]=!0});f.length;){var d=f.pop(),g=h[d],y=!!p[d];y&&(o.call(a,d,g.originalDeps.slice()),delete p[d]),n.each(g.successor,y?m:v)}n.each(p,function(){throw Error("")})}function v(t){h[t].entryCount--,0===h[t].entryCount&&f.push(t)}function m(t){p[t]=!0,v(t)}};function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return n.merge(n.merge({},t,!0),e,!0)}},33290(t,e,r){"use strict";r.d(e,{w:()=>g});var n=Math.round(9*Math.random()),i="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+n++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var r=this._guard(t);return i?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=r(8684),s=r(60969),l=r(30296),u=r(27137),c=r(23623),h=r(17578),f=new o,p=new a.Ay(100),d=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var r=e.getDevicePixelRatio(),n=e.getZr(),i="svg"===n.painter.type;t.dirty&&f.delete(t);var o=f.get(t);if(o)return o;var a=(0,s.defaults)(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});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,f,g=[r],v=!0,m=0;m<d.length;++m){var _=a[d[m]];if(null!=_&&!(0,s.isArray)(_)&&!(0,s.isString)(_)&&!(0,s.isNumber)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(i?"-svg":"");var b=p.get(o);b&&(i?t.svgElement=b:t.image=b)}var x=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.isNumber)(e)){var r=Math.ceil(e);return[[r,r]]}for(var n=!0,i=0;i<e.length;++i)if(!(0,s.isNumber)(e[i])){n=!1;break}if(n)return t([e]);for(var o=[],i=0;i<e.length;++i)if((0,s.isNumber)(e[i])){var r=Math.ceil(e[i]);o.push([r,r])}else{var r=(0,s.map)(e[i],function(t){return Math.ceil(t)});r.length%2==1?o.push(r.concat(r)):o.push(r)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var r=(0,s.map)(t,function(t){return Math.ceil(t)});return t.length%2?r.concat(r):r}(a.dashArrayY),S=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.isString)(e))return[[e]];for(var r=!0,n=0;n<e.length;++n)if(!(0,s.isString)(e[n])){r=!1;break}if(r)return t([e]);for(var i=[],n=0;n<e.length;++n)(0,s.isString)(e[n])?i.push([e[n]]):i.push(e[n]);return i}(a.symbol),A=(e=x,(0,s.map)(e,function(t){return y(t)})),M=y(w),k=!i&&h.yh.createCanvas(),T=i&&{tag:"g",attrs:{},key:"dcl",children:[]},C=function(){for(var t=1,e=0,r=A.length;e<r;++e)t=(0,l.lQ)(t,A[e]);for(var n=1,e=0,r=S.length;e<r;++e)n=(0,l.lQ)(n,S[e].length);t*=n;var i=M*A.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();k&&(k.width=C.width*r,k.height=C.height*r,f=k.getContext("2d")),function(){f&&(f.clearRect(0,0,k.width,k.height),a.backgroundColor&&(f.fillStyle=a.backgroundColor,f.fillRect(0,0,k.width,k.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-M,s=0,l=0,h=0;o<C.height;){if(s%2==0){for(var p=l/2%S.length,d=0,g=0,y=0;d<2*C.width;){for(var v=0,e=0;e<x[h].length;++e)v+=x[h][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=d+x[h][g]*m,b=o+w[s]*m,A=x[h][g]*a.symbolSize,O=w[s]*a.symbolSize,E=y/2%S[p].length;!function(t,e,o,s,l){var h=i?1:r,p=(0,u.v5)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(i){var d=n.painter.renderOneToVNode(p);d&&T.children.push(d)}else(0,c.Xi)(f,p)}(_,b,A,O,S[p][E])}d+=x[h][g],++y,++g===x[h].length&&(g=0)}++h===x.length&&(h=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&p.put(o,k||T),t.image=k,t.svgElement=T,t.svgWidth=C.width,t.svgHeight=C.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=i?1:1/r,f.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,r=0;r<t.length;++r)e+=t[r];return t.length%2==1?2*e:e}},97781(t,e,r){"use strict";function n(t,e,r){for(var n;t&&(!e(t)||(n=t,!r));)t=t.__hostTarget||t.parent;return n}r.d(e,{R:()=>n})},41606(t,e,r){"use strict";r.d(e,{Cb:()=>l,JW:()=>m,QX:()=>u,YK:()=>p,fU:()=>g,he:()=>v,ob:()=>s,qg:()=>d,x5:()=>y,yC:()=>c});var n=r(60969),i=r(45175),o=r(30296),a=r(31940);function s(t){if(!(0,o.kf)(t))return n.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=n.normalizeCssArray;function c(t,e,r){function i(t){return t&&n.trim(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,c=t instanceof Date;if(u||c){var h=u?(0,o._U)(t):t;if(!isNaN(+h))return(0,a.GP)(h,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",r);if(c)return"-"}if("ordinal"===e)return n.isStringSafe(t)?i(t):n.isNumber(t)&&l(t)?t+"":"-";var f=(0,o.Sm)(t);return l(f)?s(f):n.isStringSafe(t)?i(t):"boolean"==typeof t?t+"":"-"}var h=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,r){n.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=h[s];t=t.replace(f(l),f(l,0))}for(var u=0;u<o;u++)for(var c=0;c<a.length;c++){var p=e[u][a[c]];t=t.replace(f(h[c],u),r?(0,i.Me)(p):p)}return t}function d(t,e){var r=n.isString(t)?{color:t,extraCssText:e}:t||{},o=r.color,a=r.type;e=r.extraCssText;var s=r.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,i.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(r.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e,r){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var n=(0,o._U)(e),i=r?"getUTC":"get",s=n[i+"FullYear"](),l=n[i+"Month"]()+1,u=n[i+"Date"](),c=n[i+"Hours"](),h=n[i+"Minutes"](),f=n[i+"Seconds"](),p=n[i+"Milliseconds"]();return t.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(u,2)).replace("d",u).replace("hh",(0,a.eV)(c,2)).replace("h",c).replace("mm",(0,a.eV)(h,2)).replace("m",h).replace("ss",(0,a.eV)(f,2)).replace("s",f).replace("SSS",(0,a.eV)(p,3))}function y(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function v(t,e){return e=e||"transparent",n.isString(t)?t:n.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function m(t,e){if("_blank"===e||"blank"===e){var r=window.open();r.opener=null,r.location.href=t}else window.open(t,e)}},36443(t,e,r){"use strict";r.r(e),r.d(e,{subPixelOptimize:()=>th,CompoundPath:()=>j.A,removeElement:()=>Y.Nz,Line:()=>F.A,Ring:()=>R.A,createIcon:()=>tm,Ellipse:()=>I.A,subPixelOptimizeLine:()=>tu,mergePath:()=>ts,getShapeClass:()=>tn,makePath:()=>ti,Path:()=>i.Ay,Image:()=>T.Ay,RadialGradient:()=>V.A,isElementRemoved:()=>Y.LR,Circle:()=>E.A,Text:()=>O.Ay,makeImage:()=>to,subPixelOptimizeRect:()=>tc,applyTransform:()=>tp,linePolygonIntersect:()=>t_,transformDirection:()=>td,traverseElements:()=>tS,updateProps:()=>Y.oi,Polyline:()=>P.A,extendShape:()=>Q,BezierCurve:()=>N.A,IncrementalDisplayable:()=>Z.A,getTransform:()=>tf,BoundingRect:()=>U.A,OrientedBoundingRect:()=>W.A,Rect:()=>B.A,clipRectByRect:()=>tv,groupTransition:()=>tg,LinearGradient:()=>H.A,clipPointsByRect:()=>ty,Arc:()=>z.A,Sector:()=>D.A,initProps:()=>Y.LW,Polygon:()=>L.A,Group:()=>C.A,Point:()=>q.A,extendPath:()=>te,registerShape:()=>tr,removeElementWithFadeOut:()=>Y.t5,lineLineIntersect:()=>tb,resizePath:()=>tl,setTooltipConfig:()=>tx});var n=r(65959),i=r(60358),o=r(71874),a=r(20914),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2,h=r(60969),f=Math.sqrt,p=Math.sin,d=Math.cos,g=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function v(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))}function _(t,e,r,n,i,o,a,s,l,u,c){var h=g/180*l,y=d(h)*(t-r)/2+p(h)*(e-n)/2,_=-1*p(h)*(t-r)/2+d(h)*(e-n)/2,b=y*y/(a*a)+_*_/(s*s);b>1&&(a*=f(b),s*=f(b));var x=(i===o?-1:1)*f((a*a*(s*s)-a*a*(_*_)-s*s*(y*y))/(a*a*(_*_)+s*s*(y*y)))||0,w=x*a*_/s,S=-(x*s)*y/a,A=(t+r)/2+d(h)*w-p(h)*S,M=(e+n)/2+p(h)*w+d(h)*S,k=m([1,0],[(y-w)/a,(_-S)/s]),T=[(y-w)/a,(_-S)/s],C=[(-1*y-w)/a,(-1*_-S)/s],O=m(T,C);if(-1>=v(T,C)&&(O=g),v(T,C)>=1&&(O=0),O<0){var E=Math.round(O/g*1e6)/1e6;O=2*g+E%2*g}c.addData(u,A,M,a,s,k,O,h,o)}var b=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,x=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.applyTransform=function(t){},e}(i.Ay);function S(t){return null!=t.setData}function A(t,e){var r=function(t){var e,r=new o.A;if(!t)return r;var n=0,i=0,a=0,s=0,l=o.A.CMD,u=t.match(b);if(!u)return r;for(var c=0;c<u.length;c++){for(var h=u[c],f=h.charAt(0),p=void 0,d=h.match(x)||[],g=d.length,y=0;y<g;y++)d[y]=parseFloat(d[y]);for(var v=0;v<g;){var m=void 0,w=void 0,S=void 0,A=void 0,M=void 0,k=void 0,T=void 0,C=n,O=i,E=void 0,I=void 0;switch(f){case"l":n+=d[v++],i+=d[v++],p=l.L,r.addData(p,n,i);break;case"L":n=d[v++],i=d[v++],p=l.L,r.addData(p,n,i);break;case"m":n+=d[v++],i+=d[v++],p=l.M,r.addData(p,n,i),a=n,s=i,f="l";break;case"M":n=d[v++],i=d[v++],p=l.M,r.addData(p,n,i),a=n,s=i,f="L";break;case"h":n+=d[v++],p=l.L,r.addData(p,n,i);break;case"H":n=d[v++],p=l.L,r.addData(p,n,i);break;case"v":i+=d[v++],p=l.L,r.addData(p,n,i);break;case"V":i=d[v++],p=l.L,r.addData(p,n,i);break;case"C":p=l.C,r.addData(p,d[v++],d[v++],d[v++],d[v++],d[v++],d[v++]),n=d[v-2],i=d[v-1];break;case"c":p=l.C,r.addData(p,d[v++]+n,d[v++]+i,d[v++]+n,d[v++]+i,d[v++]+n,d[v++]+i),n+=d[v-2],i+=d[v-1];break;case"S":m=n,w=i,E=r.len(),I=r.data,e===l.C&&(m+=n-I[E-4],w+=i-I[E-3]),p=l.C,C=d[v++],O=d[v++],n=d[v++],i=d[v++],r.addData(p,m,w,C,O,n,i);break;case"s":m=n,w=i,E=r.len(),I=r.data,e===l.C&&(m+=n-I[E-4],w+=i-I[E-3]),p=l.C,C=n+d[v++],O=i+d[v++],n+=d[v++],i+=d[v++],r.addData(p,m,w,C,O,n,i);break;case"Q":C=d[v++],O=d[v++],n=d[v++],i=d[v++],p=l.Q,r.addData(p,C,O,n,i);break;case"q":C=d[v++]+n,O=d[v++]+i,n+=d[v++],i+=d[v++],p=l.Q,r.addData(p,C,O,n,i);break;case"T":m=n,w=i,E=r.len(),I=r.data,e===l.Q&&(m+=n-I[E-4],w+=i-I[E-3]),n=d[v++],i=d[v++],p=l.Q,r.addData(p,m,w,n,i);break;case"t":m=n,w=i,E=r.len(),I=r.data,e===l.Q&&(m+=n-I[E-4],w+=i-I[E-3]),n+=d[v++],i+=d[v++],p=l.Q,r.addData(p,m,w,n,i);break;case"A":S=d[v++],A=d[v++],M=d[v++],k=d[v++],T=d[v++],C=n,O=i,n=d[v++],_(C,O,n,i=d[v++],k,T,S,A,M,p=l.A,r);break;case"a":S=d[v++],A=d[v++],M=d[v++],k=d[v++],T=d[v++],C=n,O=i,n+=d[v++],_(C,O,n,i+=d[v++],k,T,S,A,M,p=l.A,r)}}("z"===f||"Z"===f)&&(p=l.Z,r.addData(p),n=a,i=s),e=p}return r.toStatic(),r}(t),n=(0,h.extend)({},e);return n.buildPath=function(t){if(S(t)){t.setData(r.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;r.rebuildPath(e,1)}},n.applyTransform=function(t){!function(t,e){if(e){var r,n,i,o,h,f,p=t.data,d=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,b=s.Q;for(i=0,o=0;i<d;){switch(r=p[i++],o=i,n=0,r){case g:case v:n=1;break;case y:n=3;break;case b:n=2;break;case _:var x=e[4],w=e[5],S=u(e[0]*e[0]+e[1]*e[1]),A=u(e[2]*e[2]+e[3]*e[3]),M=c(-e[1]/A,e[0]/S);p[i]*=S,p[i++]+=x,p[i]*=A,p[i++]+=w,p[i++]*=S,p[i++]*=A,p[i++]+=M,p[i++]+=M,i+=2,o=i;break;case m:f[0]=p[i++],f[1]=p[i++],(0,a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1],f[0]+=p[i++],f[1]+=p[i++],(0,a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1]}for(h=0;h<n;h++){var k=l[h];k[0]=p[i++],k[1]=p[i++],(0,a.applyTransform)(k,k,e),p[o++]=k[0],p[o++]=k[1]}}t.increaseVersion()}}(r,t),this.dirtyShape()},n}var M=r(67612),k=r(82393),T=r(62963),C=r(58377),O=r(50583),E=r(97642),I=r(92170),D=r(90473),R=r(14328),L=r(80618),P=r(14870),B=r(71734),F=r(40964),N=r(58730),z=r(38464),j=r(34742),H=r(75241),V=r(72243),U=r(87443),W=r(37959),q=r(92443),Z=r(30682),G=r(52586),$=r(23764),Y=r(65336),X=Math.max,K=Math.min,J={};function Q(t){return i.Ay.extend(t)}var tt=function(t,e){var r=A(t,e),i=w;function o(t){var e=i.call(this,t)||this;return e.applyTransform=r.applyTransform,e.buildPath=r.buildPath,e}return(0,n.C6)(o,i),o};function te(t,e){return tt(t,e)}function tr(t,e){J[t]=e}function tn(t){if(J.hasOwnProperty(t))return J[t]}function ti(t,e,r,n){var i=new w(A(t,e));return r&&("center"===n&&(r=ta(r,i.getBoundingRect())),tl(i,r)),i}function to(t,e,r){var n=new T.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===r){var i={width:t.width,height:t.height};n.setStyle(ta(e,i))}}});return n}function ta(t,e){var r,n=e.width/e.height,i=t.height*n;return r=i<=t.width?t.height:(i=t.width)/n,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-r/2,width:i,height:r}}var ts=function(t,e){for(var r=[],n=t.length,o=0;o<n;o++){var a=t[o];r.push(a.getUpdatedPathProxy(!0))}var s=new i.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(S(t)){t.appendPath(r);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function tl(t,e){if(t.applyTransform){var r=t.getBoundingRect().calculateTransform(e);t.applyTransform(r)}}function tu(t,e){return G.eB(t,t,{lineWidth:e}),t}function tc(t){return G.Op(t.shape,t.shape,t.style),t}var th=G.M7;function tf(t,e){for(var r=M.identity([]);t&&t!==e;)M.mul(r,t.getLocalTransform(),r),t=t.parent;return r}function tp(t,e,r){return e&&!(0,h.isArrayLike)(e)&&(e=k.Ay.getLocalTransform(e)),r&&(e=M.invert([],e)),a.applyTransform([],t,e)}function td(t,e,r){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-i:"bottom"===t?i:0];return Math.abs((o=tp(o,e,r))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tg(t,e,r){if(t&&e){var n,i=(n={},t.traverse(function(t){!t.isGroup&&t.anid&&(n[t.anid]=t)}),n);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=i[t.anid];if(e){var n=o(t);t.attr(o(e)),(0,Y.oi)(t,n,r,(0,$.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,h.extend)({},t.shape)),e}}function ty(t,e){return(0,h.map)(t,function(t){var r=t[0];r=K(r=X(r,e.x),e.x+e.width);var n=t[1];return[r,n=K(n=X(n,e.y),e.y+e.height)]})}function tv(t,e){var r=X(t.x,e.x),n=K(t.x+t.width,e.x+e.width),i=X(t.y,e.y),o=K(t.y+t.height,e.y+e.height);if(n>=r&&o>=i)return{x:r,y:i,width:n-r,height:o-i}}function tm(t,e,r){var n=(0,h.extend)({rectHover:!0},e),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),(0,h.defaults)(i,r),new T.Ay(n)):ti(t.replace("path://",""),n,r,"center")}function t_(t,e,r,n,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(tb(t,e,r,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function tb(t,e,r,n,i,o,a,s){var l,u=r-t,c=n-e,h=a-i,f=s-o,p=h*c-u*f;if((l=p)<=1e-6&&l>=-1e-6)return!1;var d=t-i,g=e-o,y=(d*c-u*g)/p;if(y<0||y>1)return!1;var v=(d*f-h*g)/p;return!(v<0)&&!(v>1)}function tx(t){var e=t.itemTooltipOption,r=t.componentModel,n=t.itemName,i=(0,h.isString)(e)?{formatter:e}:e,o=r.mainType,a=r.componentIndex,s={componentType:o,name:n,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,h.each)((0,h.keys)(l),function(t){(0,h.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,$.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:n,option:(0,h.defaults)({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function tw(t,e){var r;t.isGroup&&(r=e(t)),r||t.traverse(e)}function tS(t,e){if(t)if((0,h.isArray)(t))for(var r=0;r<t.length;r++)tw(t[r],e);else tw(t,e)}J.circle=E.A,J.ellipse=I.A,J.sector=D.A,J.ring=R.A,J.polygon=L.A,J.polyline=P.A,J.rect=B.A,J.line=F.A,J.bezierCurve=N.A,J.arc=z.A},23764(t,e,r){"use strict";r.d(e,{a:()=>i,z:()=>n});var n=(0,r(31592).$r)(),i=function(t,e,r,i){if(i){var o=n(i);o.dataIndex=r,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse(function(i){var o=n(i);o.seriesIndex=t,o.dataIndex=r,o.dataType=e,o.ssrType="chart"})}}},45263(t,e,r){"use strict";r.d(e,{HU:()=>h,YA:()=>g,ad:()=>d,dV:()=>f,m$:()=>p,vs:()=>y});var n=r(60969),i=r(87443),o=r(30296),a=r(41606),s=n.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(t,e,r,n,i){var o=0,a=0;null==n&&(n=1/0),null==i&&(i=1/0);var s=0;e.eachChild(function(l,u){var c,h,f=l.getBoundingRect(),p=e.childAt(u+1),d=p&&p.getBoundingRect();if("horizontal"===t){var g=f.width+(d?-d.x+f.x:0);(c=o+g)>n||l.newline?(o=0,c=g,a+=s+r,s=f.height):s=Math.max(s,f.height)}else{var y=f.height+(d?-d.y+f.y:0);(h=a+y)>i||l.newline?(o+=s+r,a=0,h=y,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+r:a=h+r)})}function h(t,e,r){var n=e.width,i=e.height,s=(0,o.lo)(t.left,n),l=(0,o.lo)(t.top,i),u=(0,o.lo)(t.right,n),c=(0,o.lo)(t.bottom,i);return(isNaN(s)||isNaN(parseFloat(t.left)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.right)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.top)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.bottom)))&&(c=i),{width:Math.max(u-s-(r=a.QX(r||0))[1]-r[3],0),height:Math.max(c-l-r[0]-r[2],0)}}function f(t,e,r){r=a.QX(r||0);var n=e.width,s=e.height,l=(0,o.lo)(t.left,n),u=(0,o.lo)(t.top,s),c=(0,o.lo)(t.right,n),h=(0,o.lo)(t.bottom,s),f=(0,o.lo)(t.width,n),p=(0,o.lo)(t.height,s),d=r[2]+r[0],g=r[1]+r[3],y=t.aspect;switch(isNaN(f)&&(f=n-c-g-l),isNaN(p)&&(p=s-h-d-u),null!=y&&(isNaN(f)&&isNaN(p)&&(y>n/s?f=.8*n:p=.8*s),isNaN(f)&&(f=y*p),isNaN(p)&&(p=f/y)),isNaN(l)&&(l=n-c-f-g),isNaN(u)&&(u=s-h-p-d),t.left||t.right){case"center":l=n/2-f/2-r[3];break;case"right":l=n-f-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-r[0];break;case"bottom":u=s-p-d}l=l||0,u=u||0,isNaN(f)&&(f=n-g-l-(c||0)),isNaN(p)&&(p=s-d-u-(h||0));var v=new i.A(l+r[3],u+r[0],f,p);return v.margin=r,v}function p(t,e,r,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!c)return!1;if("raw"===h)l="group"===t.type?new i.A(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var p=t.getLocalTransform();(l=l.clone()).applyTransform(p)}var d=f(n.defaults({width:l.width,height:l.height},e),r,o),g=u?d.x-l.x:0,y=c?d.y-l.y:0;return"raw"===h?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return n.isObject(e)?e:e?{type:e}:null}function g(t,e,r){var i=r&&r.ignoreSize;n.isArray(i)||(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(r,n){var o={},a=0,l={},u=0;if(s(r,function(e){l[e]=t[e]}),s(r,function(t){c(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&u++}),i[n])return h(e,r[1])?l[r[2]]=null:h(e,r[2])&&(l[r[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var f=0;f<r.length;f++){var p=r[f];if(!c(o,p)&&c(t,p)){o[p]=t[p];break}}return o}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,r){s(t,function(t){e[t]=r[t]})}f(u[0],t,o),f(u[1],t,a)}function y(t){var e,r;return e={},(r=t)&&e&&s(l,function(t){r.hasOwnProperty(t)&&(e[t]=r[t])}),e}n.curry(c,"vertical"),n.curry(c,"horizontal")},46755(t,e,r){"use strict";function n(t){}function i(t){throw Error(t)}r.d(e,{$8:()=>i,aT:()=>n})},31592(t,e,r){"use strict";r.d(e,{$r:()=>b,Bq:()=>T,D$:()=>C,GX:()=>m,HB:()=>S,Il:()=>E,JO:()=>k,JS:()=>u,M5:()=>l,O0:()=>y,O2:()=>f,US:()=>A,UW:()=>M,XJ:()=>O,_e:()=>w,le:()=>_,oh:()=>v,qB:()=>s,vS:()=>g,vj:()=>c,zu:()=>h});var n=r(60969),i=r(88934),o=r(30296),a="series\0";function s(t){return t instanceof Array?t:null==t?[]:[t]}function l(t,e,r){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,i=r.length;n<i;n++){var o=r[n];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var u=["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 c(t){return!(0,n.isObject)(t)||(0,n.isArray)(t)||t instanceof Date?t:t.value}function h(t){return(0,n.isObject)(t)&&!(t instanceof Array)}function f(t,e,r){var i,o,s,l,u,c,h,f,g,y,m,_,b,x="normalMerge"===r,w="replaceMerge"===r,S="replaceAll"===r;t=t||[],e=(e||[]).slice();var A=(0,n.createHashMap)();(0,n.each)(e,function(t,r){if(!(0,n.isObject)(t)){e[r]=null;return}});var M=function(t,e,r){var n=[];if("replaceAll"===r)return n;for(var i=0;i<t.length;i++){var o=t[i];o&&null!=o.id&&e.set(o.id,i),n.push({existing:"replaceMerge"===r||v(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}(t,A,r);return(x||w)&&(i=M,o=t,s=A,l=e,(0,n.each)(l,function(t,e){if(t&&null!=t.id){var r=d(t.id),a=s.get(r);if(null!=a){var u=i[a];(0,n.assert)(!u.newOption,'Duplicated option on id "'+r+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),x&&(u=M,c=e,(0,n.each)(c,function(t,e){if(t&&null!=t.name)for(var r=0;r<u.length;r++){var n=u[r].existing;if(!u[r].newOption&&n&&(null==n.id||null==t.id)&&!v(t)&&!v(n)&&p("name",n,t)){u[r].newOption=t,c[e]=null;return}}})),x||w?(h=M,f=e,g=w,(0,n.each)(f,function(t){if(t){for(var e,r=0;(e=h[r])&&(e.newOption||v(e.existing)||e.existing&&null!=t.id&&!p("id",t,e.existing));)r++;e?(e.newOption=t,e.brandNew=g):h.push({newOption:t,brandNew:g,existing:null,keyInfo:null}),r++}})):S&&(y=M,m=e,(0,n.each)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=M,b=(0,n.createHashMap)(),(0,n.each)(_,function(t){var e=t.existing;e&&b.set(e.id,t)}),(0,n.each)(_,function(t){var e=t.newOption;(0,n.assert)(!e||null==e.id||!b.get(e.id)||b.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&b.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,n.each)(_,function(t,e){var r=t.existing,i=t.newOption,o=t.keyInfo;if((0,n.isObject)(i)){if(o.name=null!=i.name?d(i.name):r?r.name:a+e,r)o.id=d(r.id);else if(null!=i.id)o.id=d(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(b.get(o.id))}b.set(o.id,t)}}),M}function p(t,e,r){var n=g(e[t],null),i=g(r[t],null);return null!=n&&null!=i&&n===i}function d(t){return g(t,"")}function g(t,e){return null==t?e:(0,n.isString)(t)?t:(0,n.isNumber)(t)||(0,n.isStringSafe)(t)?t+"":e}function y(t){var e=t.name;return!!(e&&e.indexOf(a))}function v(t){return t&&null!=t.id&&0===d(t.id).indexOf("\0_ec_\0")}function m(t,e,r){(0,n.each)(t,function(t){var i,o,a,s,l=t.newOption;(0,n.isObject)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(i=e,o=l,a=t.existing,s=r,o.type?o.type:a?a.subType:s.determineSubType(i,o)))})}function _(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,n.isArray)(e.dataIndex)?(0,n.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,n.isArray)(e.name)?(0,n.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function b(){var t="__ec_inner_"+x++;return function(e){return e[t]||(e[t]={})}}var x=(0,o.IH)();function w(t,e,r){var n=S(e,r),i=n.mainTypeSpecified,o=n.queryOptionMap,a=n.others,s=r?r.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each(function(e,n){var i=k(t,n,e,{useDefault:s===n,enableAll:!r||null==r.enableAll||r.enableAll,enableNone:!r||null==r.enableNone||r.enableNone});a[n+"Models"]=i.models,a[n+"Model"]=i.models[0]}),a}function S(t,e){if((0,n.isString)(t)){var r,i={};i[t+"Index"]=0,r=i}else r=t;var o=(0,n.createHashMap)(),a={},s=!1;return(0,n.each)(r,function(t,r){if("dataIndex"===r||"dataIndexInside"===r){a[r]=t;return}var i=r.match(/^(\w+)(Index|Id|Name)$/)||[],l=i[1],u=(i[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,n.indexOf)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var A={useDefault:!0,enableAll:!1,enableNone:!1},M={useDefault:!1,enableAll:!0,enableNone:!0};function k(t,e,r,i){i=i||A;var o=r.index,a=r.id,s=r.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=i.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,n.assert)(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,n.assert)(i.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function T(t,e,r){t.setAttribute?t.setAttribute(e,r):t[e]=r}function C(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function O(t){return"auto"===t?i.A.domSupported?"html":"richText":t||"html"}function E(t,e,r,i,a){var s=null==e||"auto"===e;if(null==i)return i;if((0,n.isNumber)(i)){var l,u=(i-(l=r||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(r||0),(0,o.XV)(i)):e)}if((0,n.isString)(i))return a<1?r:i;for(var c=[],h=Math.max(r?r.length:0,i.length),f=0;f<h;++f){var p=t.getDimensionInfo(f);if(p&&"ordinal"===p.type)c[f]=(a<1&&r?r:i)[f];else{var d=r&&r[f]?r[f]:0,g=i[f],u=(g-d)*a+d;c[f]=(0,o.LI)(u,s?Math.max((0,o.XV)(d),(0,o.XV)(g)):e)}}return c}},30296(t,e,r){"use strict";r.d(e,{Cb:()=>i,Cm:()=>b,IH:()=>M,Is:()=>p,LI:()=>a,NX:()=>_,Sm:()=>S,Tr:()=>f,XV:()=>l,Y6:()=>s,YV:()=>x,_7:()=>d,_U:()=>v,au:()=>m,dh:()=>g,hb:()=>c,kf:()=>A,lQ:()=>k,lo:()=>o,sL:()=>w,wp:()=>h,y6:()=>u});var n=r(60969);function i(t,e,r,n){var i=e[0],o=e[1],a=r[0],s=r[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(n){if(l>0){if(t<=i)return a;else if(t>=o)return s}else if(t>=i)return a;else if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/l*u+a}function o(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return n.isString(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,r){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),r?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,r=0;r<15;r++,e*=10)if(Math.round(t*e)/e===t)return r}return u(t)}function u(t){var e=t.toString().toLowerCase(),r=e.indexOf("e"),n=r>0?+e.slice(r+1):0,i=r>0?r:e.length,o=e.indexOf(".");return Math.max(0,(o<0?0:i-1-o)-n)}function c(t,e){var r=Math.log,n=Math.LN10,i=Math.min(Math.max(-Math.floor(r(t[1]-t[0])/n)+Math.round(r(Math.abs(e[1]-e[0]))/n),0),20);return isFinite(i)?i:20}function h(t,e,r){return t[e]&&function(t,e){var r=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===r)return[];for(var i=Math.pow(10,e),o=n.map(t,function(t){return(isNaN(t)?0:t)/r*i*100}),a=100*i,s=n.map(o,function(t){return Math.floor(t)}),l=n.reduce(s,function(t,e){return t+e},0),u=n.map(o,function(t,e){return t-s[e]});l<a;){for(var c=-1/0,h=null,f=0,p=u.length;f<p;++f)u[f]>c&&(c=u[f],h=f);++s[h],u[h]=0,++l}return n.map(s,function(t){return t/i})}(t,r)[e]||0}function f(t,e){var r=Math.max(l(t),l(e)),n=t+e;return r>20?n:a(n,r)}var p=0x1fffffffffffff;function d(t){var e=2*Math.PI;return(t%e+e)%e}function g(t){return t>-1e-4&&t<1e-4}var y=/^(?:(\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 v(t){if(t instanceof Date)return t;if(n.isString(t)){var e=y.exec(t);if(!e)return new Date(NaN);if(!e[8])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);var r=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(r-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,r,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function m(t){return Math.pow(10,_(t))}function _(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function b(t,e){var r=_(t),n=Math.pow(10,r),i=t/n;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*n,r>=-20?+t.toFixed(r<0?-r:0):t}function x(t,e){var r=(t.length-1)*e+1,n=Math.floor(r),i=+t[n-1],o=r-n;return o?i+o*(t[n]-i):i}function w(t){t.sort(function(t,e){return!function t(e,r,n){return e.interval[n]<r.interval[n]||e.interval[n]===r.interval[n]&&(e.close[n]-r.close[n]==(n?-1:1)||!n&&t(e,r,1))}(t,e,0)?1:-1});for(var e=-1/0,r=1,n=0;n<t.length;){for(var i=t[n].interval,o=t[n].close,a=0;a<2;a++)i[a]<=e&&(i[a]=e,o[a]=a?1:1-r),e=i[a],r=o[a];i[0]===i[1]&&o[0]*o[1]!=1?t.splice(n,1):n++}return t}function S(t){var e=parseFloat(t);return e==t&&(0!==e||!n.isString(t)||0>=t.indexOf("x"))?e:NaN}function A(t){return!isNaN(S(t))}function M(){return Math.round(9*Math.random())}function k(t,e){return null==t?e:null==e?t:t*e/function t(e,r){return 0===r?e:t(r,e%r)}(t,e)}},73327(t,e,r){"use strict";r.d(e,{BV:()=>d,CA:()=>y,DW:()=>D,Du:()=>W,HY:()=>P,Iz:()=>$,JC:()=>N,JI:()=>z,Lm:()=>Q,Lv:()=>_,Lx:()=>ti,PW:()=>m,Q6:()=>x,QX:()=>F,SD:()=>B,T$:()=>to,Tl:()=>Z,U2:()=>b,_m:()=>G,_n:()=>tn,e3:()=>p,fz:()=>ta,gR:()=>tt,gd:()=>j,h5:()=>v,iJ:()=>J,ix:()=>te,jA:()=>X,lV:()=>q,mc:()=>K,qR:()=>V,t6:()=>Y,u6:()=>tr,wV:()=>g,zX:()=>f});var n=r(60969),i=r(23764),o=r(4783),a=r(31592),s=r(60358),l=1,u={},c=(0,a.$r)(),h=(0,a.$r)(),f=1,p=2,d=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y=10,v="highlight",m="downplay",_="select",b="unselect",x="toggleSelect";function w(t){return null!=t&&"none"!==t}function S(t,e,r){t.onHoverStateChange&&(t.hoverState||0)!==r&&t.onHoverStateChange(e),t.hoverState=r}function A(t){S(t,"emphasis",p)}function M(t){t.hoverState===p&&S(t,"normal",0)}function k(t){S(t,"blur",f)}function T(t){t.hoverState===f&&S(t,"normal",0)}function C(t){t.selected=!0}function O(t){t.selected=!1}function E(t,e,r){e(t,r),t.isGroup&&t.traverse(function(t){e(t,r)})}function I(t,e){var r,i,a,l,u,h=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,r,i){var a=r&&(0,n.indexOf)(r,"select")>=0,l=!1;if(t instanceof s.Ay){var u=c(t),h=a&&u.selectFill||u.normalFill,f=a&&u.selectStroke||u.normalStroke;if(w(h)||w(f)){var p=(i=i||{}).style||{};"inherit"===p.fill?(l=!0,i=(0,n.extend)({},i),(p=(0,n.extend)({},p)).fill=h):!w(p.fill)&&w(h)?(l=!0,i=(0,n.extend)({},i),(p=(0,n.extend)({},p)).fill=(0,o.liftColor)(h)):!w(p.stroke)&&w(f)&&(l||(i=(0,n.extend)({},i),p=(0,n.extend)({},p)),p.stroke=(0,o.liftColor)(f)),i.style=p}}if(i&&null==i.z2){l||(i=(0,n.extend)({},i));var d=t.z2EmphasisLift;i.z2=t.z2+(null!=d?d:y)}return i}(this,0,e,h);else if("blur"===t)return r=h,i=(0,n.indexOf)(this.currentStates,t)>=0,a=this.style.opacity,l=i?null:function(t,e,r,n){for(var i=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=i[s];o[s]=null==l?n&&n[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(r)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(r=r||{}).style||{}).opacity&&(r=(0,n.extend)({},r),u=(0,n.extend)({opacity:i?a:.1*l.opacity},u),r.style=u),r;else if("select"===t){var f=h;if(f&&null==f.z2){f=(0,n.extend)({},f);var p=this.z2SelectLift;f.z2=this.z2+(null!=p?p:9)}return f}}return h}function D(t){t.stateProxy=I;var e=t.getTextContent(),r=t.getTextGuideLine();e&&(e.stateProxy=I),r&&(r.stateProxy=I)}function R(t,e){H(t,e)||t.__highByOuter||E(t,A)}function L(t,e){H(t,e)||t.__highByOuter||E(t,M)}function P(t,e){t.__highByOuter|=1<<(e||0),E(t,A)}function B(t,e){(t.__highByOuter&=~(1<<(e||0)))||E(t,M)}function F(t){E(t,k)}function N(t){E(t,T)}function z(t){E(t,C)}function j(t){E(t,O)}function H(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function V(t){var e=t.getModel(),r=[],i=[];e.eachComponent(function(e,n){var o=h(n),a="series"===e,s=a?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);a||i.push(s),o.isBlured&&(s.group.traverse(function(t){T(t)}),a&&r.push(n)),o.isBlured=!1}),(0,n.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(r,!1,e)})}function U(t,e,r,i){var o=i.getModel();function a(t,e){for(var r=0;r<e.length;r++){var n=t.getItemGraphicEl(e[r]);n&&N(n)}}if((r=r||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var f=c&&l?c===l:o;if(!("series"===r&&!o||"coordinateSystem"===r&&!f||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||k(t)}),(0,n.isArrayLike)(e))a(t.getData(),e);else if((0,n.isObject)(e))for(var p=(0,n.keys)(e),d=0;d<p.length;d++)a(t.getData(p[d]),e[p[d]]);u.push(t),h(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var r=i.getViewOfComponentModel(e);r&&r.toggleBlurSeries&&r.toggleBlurSeries(u,!0,o)}})}}function W(t,e,r){if(null!=t&&null!=e){var n=r.getModel().getComponent(t,e);if(n){h(n).isBlured=!0;var i=r.getViewOfComponentModel(n);i&&i.focusBlurEnabled&&i.group.traverse(function(t){k(t)})}}}function q(t,e,r){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,n.isArray)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var c=s.count(),h=0;!u&&h<c;)u=s.getItemGraphicEl(h++);if(u){var f=(0,i.z)(u);U(o,f.focus,f.blurScope,r)}else{var p=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=p&&U(o,p,d,r)}}}function Z(t,e,r,n){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==r)return a;var s=n.getModel().getComponent(t,e);if(!s)return a;var l=n.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(r),c=0;c<u.length;c++)if("self"===(0,i.z)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function G(t,e,r){var o=(0,i.z)(t),a=Z(o.componentMainType,o.componentIndex,o.componentHighDownName,r),s=a.dispatchers,l=a.focusSelf;s?(l&&W(o.componentMainType,o.componentIndex,r),(0,n.each)(s,function(t){return R(t,e)})):(U(o.seriesIndex,o.focus,o.blurScope,r),"self"===o.focus&&W(o.componentMainType,o.componentIndex,r),R(t,e))}function $(t,e,r){V(r);var o=(0,i.z)(t),a=Z(o.componentMainType,o.componentIndex,o.componentHighDownName,r).dispatchers;a?(0,n.each)(a,function(t){return L(t,e)}):L(t,e)}function Y(t,e,r){if(ti(e)){var i=e.dataType,o=t.getData(i),s=(0,a.le)(o,e);(0,n.isArray)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===_?"select":"unselect"](s,i)}}function X(t){var e=t.getAllData();(0,n.each)(e,function(e){var r=e.data,n=e.type;r.eachItemGraphicEl(function(e,r){t.isSelected(r,n)?z(e):j(e)})})}function K(t){var e=[];return t.eachSeries(function(t){var r=t.getAllData();(0,n.each)(r,function(r){r.data;var n=r.type,i=t.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=n&&(o.dataType=n),e.push(o)}})}),e}function J(t,e,r){te(t,!0),E(t,D),tt(t,e,r)}function Q(t,e,r,n){n?te(t,!1):J(t,e,r)}function tt(t,e,r){var n=(0,i.z)(t);null!=e?(n.focus=e,n.blurScope=r):n.focus&&(n.focus=null)}function te(t,e){var r=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!r||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!r)}function tr(t){return!!(t&&t.__highDownDispatcher)}function tn(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ti(t){var e=t.type;return e===_||e===b||e===x}function to(t){var e=t.type;return e===v||e===m}function ta(t){var e=c(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var r=t.states.select||{};e.selectFill=r.style&&r.style.fill||null,e.selectStroke=r.style&&r.style.stroke||null}},27137(t,e,r){"use strict";r.d(e,{$V:()=>m,hV:()=>w,v5:()=>x});var n=r(60969),i=r(60358),o=r(40964),a=r(71734),s=r(97642),l=r(36443),u=r(87443),c=r(76479),h=r(30296),f=i.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var r=e.cx,n=e.cy,i=e.width/2,o=e.height/2;t.moveTo(r,n-o),t.lineTo(r+i,n+o),t.lineTo(r-i,n+o),t.closePath()}}),p=i.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var r=e.cx,n=e.cy,i=e.width/2,o=e.height/2;t.moveTo(r,n-o),t.lineTo(r+i,n),t.lineTo(r,n+o),t.lineTo(r-i,n),t.closePath()}}),d=i.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var r=e.x,n=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=n-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),f=Math.cos(u),p=.6*a,d=.7*a;t.moveTo(r-c,l+s),t.arc(r,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(r+c-h*p,l+s+f*p,r,n-d,r,n),t.bezierCurveTo(r,n-d,r-c+h*p,l+s+f*p,r-c,l+s),t.closePath()}}),g=i.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var r=e.height,n=e.width,i=e.x,o=e.y,a=n/3*2;t.moveTo(i,o),t.lineTo(i+a,o+r),t.lineTo(i,o+r/4*3),t.lineTo(i-a,o+r),t.lineTo(i,o),t.closePath()}}),y={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:p,pin:d,arrow:g,triangle:f},v={line:function(t,e,r,n,i){i.x1=t,i.y1=e+n/2,i.x2=t+r,i.y2=e+n/2},rect:function(t,e,r,n,i){i.x=t,i.y=e,i.width=r,i.height=n},roundRect:function(t,e,r,n,i){i.x=t,i.y=e,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(t,e,r,n,i){var o=Math.min(r,n);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.r=Math.min(r,n)/2},diamond:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.width=r,i.height=n},pin:function(t,e,r,n,i){i.x=t+r/2,i.y=e+n/2,i.width=r,i.height=n},arrow:function(t,e,r,n,i){i.x=t+r/2,i.y=e+n/2,i.width=r,i.height=n},triangle:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.width=r,i.height=n}},m={};(0,n.each)(y,function(t,e){m[e]=new t});var _=i.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,r){var n=(0,c.X4)(t,e,r),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(n.y=r.y+.4*r.height),n},buildPath:function(t,e,r){var n=e.symbolType;if("none"!==n){var i=m[n];i||(i=m[n="rect"]),v[n](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,r)}}});function b(t,e){if("image"!==this.type){var r=this.style;this.__isEmptyBrush?(r.stroke=t,r.fill=e||"#fff",r.lineWidth=2):"line"===this.shape.symbolType?r.stroke=t:r.fill=t,this.markRedraw()}}function x(t,e,r,n,i,o,a){var s,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.A(e,r,n,i),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.A(e,r,n,i),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:r,width:n,height:i}})).__isEmptyBrush=c,s.setColor=b,o&&s.setColor(o),s}function w(t,e){if(null!=t)return(0,n.isArray)(t)||(t=[t,t]),[(0,h.lo)(t[0],e[0])||0,(0,h.lo)((0,n.retrieve2)(t[1],t[0]),e[1])||0]}},62813(t,e,r){"use strict";r.d(e,{IU:()=>l,N:()=>s,nF:()=>a});var n="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,r){var n,i,o,a,s,l=0,u=0,c=null;function h(){u=new Date().getTime(),c=null,t.apply(o,a||[])}e=e||0;var f=function(){for(var t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];n=new Date().getTime(),o=this,a=t;var p=s||e,d=s||r;s=null,i=n-(d?l:u)-p,clearTimeout(c),d?c=setTimeout(h,p):i>=0?h():c=setTimeout(h,-i),l=n};return f.clear=function(){c&&(clearTimeout(c),c=null)},f.debounceNextCall=function(t){s=t},f}function s(t,e,r,s){var l=t[e];if(l){var u=l[n]||l,c=l[o];if(l[i]!==r||c!==s){if(null==r||!s)return t[e]=u;(l=t[e]=a(u,r,"debounce"===s))[n]=u,l[o]=s,l[i]=r}return l}}function l(t,e){var r=t[e];r&&r[n]&&(r.clear&&r.clear(),t[e]=r[n])}},31940(t,e,r){"use strict";r.d(e,{$9:()=>b,$H:()=>h,CZ:()=>c,F7:()=>y,FP:()=>N,GP:()=>x,KF:()=>B,Lm:()=>d,MA:()=>u,OY:()=>s,Wf:()=>E,X_:()=>w,Yd:()=>P,Zz:()=>I,bP:()=>T,ce:()=>_,eV:()=>v,g0:()=>A,hY:()=>M,iC:()=>C,iW:()=>l,jJ:()=>k,tM:()=>D,ti:()=>L,ww:()=>F,xu:()=>R,yB:()=>O,ym:()=>m});var n=r(60969),i=r(30296),o=r(16410),a=r(8350),s=1e3,l=6e4,u=36e5,c=864e5,h=31536e6,f={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}"},p="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:p,hour:p+" "+f.hour,minute:p+" "+f.minute,second:p+" "+f.second,millisecond:f.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(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 _(t){return t===m(t)}function b(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function x(t,e,r,n){var s=i._U(t),l=s[M(r)](),u=s[k(r)]()+1,c=Math.floor((u-1)/3)+1,h=s[T(r)](),f=s["get"+(r?"UTC":"")+"Day"](),p=s[C(r)](),d=(p-1)%12+1,g=s[O(r)](),y=s[E(r)](),m=s[I(r)](),_=p>=12?"pm":"am",b=_.toUpperCase(),x=(n instanceof a.A?n:(0,o.A4)(n||o.Lv)||(0,o.pr)()).getModel("time"),w=x.get("month"),S=x.get("monthAbbr"),A=x.get("dayOfWeek"),D=x.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,b+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,w[u-1]).replace(/{MMM}/g,S[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,A[f]).replace(/{ee}/g,D[f]).replace(/{e}/g,f+"").replace(/{HH}/g,v(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,v(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function w(t,e,r,i,o){var a=null;if(n.isString(r))a=r;else if(n.isFunction(r))a=r(t.value,e,{level:t.level});else{var s=n.extend({},f);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=r?!1===r.inherit?r:n.defaults(r,s):s,c=S(t.value,o);if(u[c])a=u[c];else if(u.inherit){for(var h=y.indexOf(c),l=h-1;l>=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(n.isArray(a)){var p=null==t.level?0:t.level>=0?t.level:a.length+t.level;p=Math.min(p,a.length-1),a=a[p]}}return x(new Date(t.value),a,o,i)}function S(t,e){var r=i._U(t),n=r[k(e)]()+1,o=r[T(e)](),a=r[C(e)](),s=r[O(e)](),l=r[E(e)](),u=0===r[I(e)](),c=u&&0===l,h=c&&0===s,f=h&&0===a,p=f&&1===o;if(p&&1===n)return"year";if(p)return"month";if(f)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function A(t,e,r){var o=n.isNumber(t)?i._U(t):t;switch(e=e||S(t,r)){case"year":return o[M(r)]();case"half-year":return+(o[k(r)]()>=6);case"quarter":return Math.floor((o[k(r)]()+1)/4);case"month":return o[k(r)]();case"day":return o[T(r)]();case"half-day":return o[C(r)]()/24;case"hour":return o[C(r)]();case"minute":return o[O(r)]();case"second":return o[E(r)]();case"millisecond":return o[I(r)]()}}function M(t){return t?"getUTCFullYear":"getFullYear"}function k(t){return t?"getUTCMonth":"getMonth"}function T(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function O(t){return t?"getUTCMinutes":"getMinutes"}function E(t){return t?"getUTCSeconds":"getSeconds"}function I(t){return t?"getUTCMilliseconds":"getMilliseconds"}function D(t){return t?"setUTCFullYear":"setFullYear"}function R(t){return t?"setUTCMonth":"setMonth"}function L(t){return t?"setUTCDate":"setDate"}function P(t){return t?"setUTCHours":"setHours"}function B(t){return t?"setUTCMinutes":"setMinutes"}function F(t){return t?"setUTCSeconds":"setSeconds"}function N(t){return t?"setUTCMilliseconds":"setMilliseconds"}},52116(t,e,r){"use strict";r.d(e,{Km:()=>o,Pe:()=>n,Wk:()=>a,XO:()=>l,i_:()=>c,mK:()=>i,oC:()=>h,t1:()=>s,vm:()=>u});var n=(0,r(60969).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),i="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",c="column",h="row"},49927(t,e,r){"use strict";r.d(e,{A:()=>b});var n,i=r(60969),o=r(58377),a=r(96358),s=r(99803),l=r(31592),u=r(73327),c=r(7713),h=r(36443),f=l.$r(),p=(n=(0,l.$r)(),function(t){var e=n(t),r=t.pipelineContext,i=!!e.large,o=!!e.progressiveRender,a=e.large=!!(r&&r.large),s=e.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==s)&&"reset"}),d=function(){function t(){this.group=new o.A,this.uid=a.$Q("viewChart"),this.renderTask=(0,c.U)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,r,n){},t.prototype.highlight=function(t,e,r,n){var i=t.getData(n&&n.dataType);i&&y(i,n,"emphasis")},t.prototype.downplay=function(t,e,r,n){var i=t.getData(n&&n.dataType);i&&y(i,n,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,r,n){this.render(t,e,r,n)},t.prototype.updateLayout=function(t,e,r,n){this.render(t,e,r,n)},t.prototype.updateVisual=function(t,e,r,n){this.render(t,e,r,n)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,r){t&&(0,u.u6)(t)&&("emphasis"===e?u.HY:u.SD)(t,r)}function y(t,e,r){var n=l.le(t,e),o=e&&null!=e.highlightKey?(0,u._n)(e.highlightKey):null;null!=n?(0,i.each)(l.qB(n),function(e){g(t.getItemGraphicEl(e),r,o)}):t.eachItemGraphicEl(function(t){g(t,r,o)})}function v(t){return p(t.model)}function m(t){var e=t.model,r=t.ecModel,n=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&f(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,r,n,i),_[l]}s.gq(d,["dispose"]),s.tQ(d);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let b=d},60987(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(58377),i=r(96358),o=r(99803),a=function(){function t(){this.group=new n.A,this.uid=i.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,r,n){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,r,n){},t.prototype.updateLayout=function(t,e,r,n){},t.prototype.updateVisual=function(t,e,r,n){},t.prototype.toggleBlurSeries=function(t,e,r){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a);let s=a},41846(t,e,r){"use strict";let n,i,o;r.d(e,{qg:()=>$,_7:()=>O,dY:()=>A,yQ:()=>Q});let a=Object.create(null);a.open="0",a.close="1",a.ping="2",a.pong="3",a.message="4",a.upgrade="5",a.noop="6";let s=Object.create(null);Object.keys(a).forEach(t=>{s[a[t]]=t});let l={type:"error",data:"parser error"},u="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),c="function"==typeof ArrayBuffer,h=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,f=({type:t,data:e},r,n)=>{if(u&&e instanceof Blob)if(r)return n(e);else return p(e,n);if(c&&(e instanceof ArrayBuffer||h(e)))if(r)return n(e);else return p(new Blob([e]),n);return n(a[t]+(e||""))},p=(t,e)=>{let r=new FileReader;return r.onload=function(){e("b"+(r.result.split(",")[1]||""))},r.readAsDataURL(t)};function d(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="u"<typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<g.length;t++)y[g.charCodeAt(t)]=t;let v="function"==typeof ArrayBuffer,m=(t,e)=>{if("string"!=typeof t)return{type:"message",data:b(t,e)};let r=t.charAt(0);return"b"===r?{type:"message",data:_(t.substring(1),e)}:s[r]?t.length>1?{type:s[r],data:t.substring(1)}:{type:s[r]}:l},_=(t,e)=>v?b((t=>{let e=.75*t.length,r=t.length,n,i=0,o,a,s,l;"="===t[t.length-1]&&(e--,"="===t[t.length-2]&&e--);let u=new ArrayBuffer(e),c=new Uint8Array(u);for(n=0;n<r;n+=4)o=y[t.charCodeAt(n)],a=y[t.charCodeAt(n+1)],s=y[t.charCodeAt(n+2)],l=y[t.charCodeAt(n+3)],c[i++]=o<<2|a>>4,c[i++]=(15&a)<<4|s>>2,c[i++]=(3&s)<<6|63&l;return u})(t),e):{base64:!0,data:t},b=(t,e)=>"blob"===e?t instanceof Blob?t:new Blob([t]):t instanceof ArrayBuffer?t:t.buffer;function x(t){return t.reduce((t,e)=>t+e.length,0)}function w(t,e){if(t[0].length===e)return t.shift();let r=new Uint8Array(e),n=0;for(let i=0;i<e;i++)r[i]=t[0][n++],n===t[0].length&&(t.shift(),n=0);return t.length&&n<t[0].length&&(t[0]=t[0].slice(n)),r}var S=r(35779);let A="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,e)=>e(t,0),M="u">typeof self?self:"u">typeof window?window:Function("return this")();function k(t,...e){return e.reduce((e,r)=>(t.hasOwnProperty(r)&&(e[r]=t[r]),e),{})}let T=M.setTimeout,C=M.clearTimeout;function O(t,e){e.useNativeTimers?(t.setTimeoutFn=T.bind(M),t.clearTimeoutFn=C.bind(M)):(t.setTimeoutFn=M.setTimeout.bind(M),t.clearTimeoutFn=M.clearTimeout.bind(M))}function E(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class I extends Error{constructor(t,e,r){super(t),this.description=e,this.context=r,this.type="TransportError"}}class D extends S.v{constructor(t){super(),this.writable=!1,O(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,e,r){return super.emitReserved("error",new I(t,e,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(t){"open"===this.readyState&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let e=m(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){let t=this.opts.hostname;return -1===t.indexOf(":")?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(t){let e=function(t){let e="";for(let r in t)t.hasOwnProperty(r)&&(e.length&&(e+="&"),e+=encodeURIComponent(r)+"="+encodeURIComponent(t[r]));return e}(t);return e.length?"?"+e:""}}class R extends D{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";let e=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let t=0;this._polling&&(t++,this.once("pollComplete",function(){--t||e()})),this.writable||(t++,this.once("drain",function(){--t||e()}))}else e()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){let e=t=>{if("opening"===this.readyState&&"open"===t.type&&this.onOpen(),"close"===t.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)};((t,e)=>{let r=t.split("\x1e"),n=[];for(let t=0;t<r.length;t++){let i=m(r[t],e);if(n.push(i),"error"===i.type)break}return n})(t,this.socket.binaryType).forEach(e),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}write(t){var e;let r,n,i;this.writable=!1,e=t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})},n=Array(r=t.length),i=0,t.forEach((t,o)=>{f(t,!1,t=>{n[o]=t,++i===r&&e(n.join("\x1e"))})})}uri(){let t=this.opts.secure?"https":"http",e=this.query||{};return!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=E()),this.supportsBinary||e.sid||(e.b64=1),this.createUri(t,e)}}let L=!1;try{L="u">typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let P=L;function B(){}class F extends R{constructor(t){if(super(t),"u">typeof location){const e="https:"===location.protocol;let r=location.port;r||(r=e?"443":"80"),this.xd="u">typeof location&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,e){let r=this.request({method:"POST",data:t});r.on("success",e),r.on("error",(t,e)=>{this.onError("xhr post error",t,e)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(t,e)=>{this.onError("xhr poll error",t,e)}),this.pollXhr=t}}class N extends S.v{constructor(t,e,r){super(),this.createRequest=t,O(this,r),this._opts=r,this._method=r.method||"GET",this._uri=e,this._data=void 0!==r.data?r.data:null,this._create()}_create(){var t;let e=k(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this._opts.xd;let r=this._xhr=this.createRequest(e);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let t in r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(t)&&r.setRequestHeader(t,this._opts.extraHeaders[t])}catch(t){}if("POST"===this._method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{r.setRequestHeader("Accept","*/*")}catch(t){}null==(t=this._opts.cookieJar)||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var t;3===r.readyState&&(null==(t=this._opts.cookieJar)||t.parseCookies(r.getResponseHeader("set-cookie"))),4===r.readyState&&(200===r.status||1223===r.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof r.status?r.status:0)},0))},r.send(this._data)}catch(t){this.setTimeoutFn(()=>{this._onError(t)},0);return}"u">typeof document&&(this._index=N.requestsCount++,N.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=B,t)try{this._xhr.abort()}catch(t){}"u">typeof document&&delete N.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;null!==t&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function z(){for(let t in N.requests)N.requests.hasOwnProperty(t)&&N.requests[t].abort()}N.requestsCount=0,N.requests={},"u">typeof document&&("function"==typeof attachEvent?attachEvent("onunload",z):"function"==typeof addEventListener&&addEventListener("onpagehide"in M?"pagehide":"unload",z,!1));let j=(o=H({xdomain:!1}))&&null!==o.responseType;function H(t){let e=t.xdomain;try{if("u">typeof XMLHttpRequest&&(!e||P))return new XMLHttpRequest}catch(t){}if(!e)try{return new M[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}let V="u">typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class U extends D{get name(){return"websocket"}doOpen(){let t=this.uri(),e=this.opts.protocols,r=V?{}:k(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,e,r)}catch(t){return this.emitReserved("error",t)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let r=t[e],n=e===t.length-1;f(r,this.supportsBinary,t=>{try{this.doWrite(r,t)}catch(t){}n&&A(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",e=this.query||{};return this.opts.timestampRequests&&(e[this.opts.timestampParam]=E()),this.supportsBinary||(e.b64=1),this.createUri(t,e)}}let W=M.WebSocket||M.MozWebSocket,q={websocket:class extends U{createSocket(t,e,r){return V?new W(t,e,r):e?new W(t,e):new W(t)}doWrite(t,e){this.ws.send(e)}},webtransport:class extends D{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{var e,r;let o,a,s,p,g=(e=Number.MAX_SAFE_INTEGER,r=this.socket.binaryType,i||(i=new TextDecoder),o=[],a=0,s=-1,p=!1,new TransformStream({transform(t,n){for(o.push(t);;){if(0===a){if(1>x(o))break;let t=w(o,1);p=(128&t[0])==128,a=(s=127&t[0])<126?3:126===s?1:2}else if(1===a){if(2>x(o))break;let t=w(o,2);s=new DataView(t.buffer,t.byteOffset,t.length).getUint16(0),a=3}else if(2===a){if(8>x(o))break;let t=w(o,8),e=new DataView(t.buffer,t.byteOffset,t.length),r=e.getUint32(0);if(r>2097151){n.enqueue(l);break}s=0x100000000*r+e.getUint32(4),a=3}else{if(x(o)<s)break;let t=w(o,s);n.enqueue(m(p?t:i.decode(t),r)),a=0}if(0===s||s>e){n.enqueue(l);break}}}})),y=t.readable.pipeThrough(g).getReader(),v=new TransformStream({transform(t,e){var r;r=r=>{let n,i=r.length;if(i<126)new DataView((n=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let t=new DataView((n=new Uint8Array(3)).buffer);t.setUint8(0,126),t.setUint16(1,i)}else{let t=new DataView((n=new Uint8Array(9)).buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(i))}t.data&&"string"!=typeof t.data&&(n[0]|=128),e.enqueue(n),e.enqueue(r)},u&&t.data instanceof Blob?t.data.arrayBuffer().then(d).then(r):c&&(t.data instanceof ArrayBuffer||h(t.data))?r(d(t.data)):f(t,!1,t=>{n||(n=new TextEncoder),r(n.encode(t))})}});v.readable.pipeTo(t.writable),this._writer=v.writable.getWriter();let _=()=>{y.read().then(({done:t,value:e})=>{t||(this.onPacket(e),_())}).catch(t=>{})};_();let b={type:"open"};this.query.sid&&(b.data=`{"sid":"${this.query.sid}"}`),this._writer.write(b).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let r=t[e],n=e===t.length-1;this._writer.write(r).then(()=>{n&&A(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;null==(t=this._transport)||t.close()}},polling:class extends F{constructor(t){super(t);const e=t&&t.forceBase64;this.supportsBinary=j&&!e}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new N(H,this.uri(),t)}}},Z=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,G=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function $(t){var e,r;let n,i;if(t.length>8e3)throw"URI too long";let o=t,a=t.indexOf("["),s=t.indexOf("]");-1!=a&&-1!=s&&(t=t.substring(0,a)+t.substring(a,s).replace(/:/g,";")+t.substring(s,t.length));let l=Z.exec(t||""),u={},c=14;for(;c--;)u[G[c]]=l[c]||"";return -1!=a&&-1!=s&&(u.source=o,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),n=(e=u.path).replace(/\/{2,9}/g,"/").split("/"),("/"==e.slice(0,1)||0===e.length)&&n.splice(0,1),"/"==e.slice(-1)&&n.splice(n.length-1,1),u.pathNames=n,r=u.query,i={},r.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,r){e&&(i[e]=r)}),u.queryKey=i,u}let Y="function"==typeof addEventListener&&"function"==typeof removeEventListener,X=[];Y&&addEventListener("offline",()=>{X.forEach(t=>t())},!1);class K extends S.v{constructor(t,e){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&"object"==typeof t&&(e=t,t=null),t){const r=$(t);e.hostname=r.host,e.secure="https"===r.protocol||"wss"===r.protocol,e.port=r.port,r.query&&(e.query=r.query)}else e.host&&(e.hostname=$(e.host).host);O(this,e),this.secure=null!=e.secure?e.secure:"u">typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||("u">typeof location?location.hostname:"localhost"),this.port=e.port||("u">typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},e.transports.forEach(t=>{let e=t.prototype.name;this.transports.push(e),this._transportsByName[e]=t}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(t){let e={},r=t.split("&");for(let t=0,n=r.length;t<n;t++){let n=r[t].split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}(this.opts.query)),Y&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},X.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let e=Object.assign({},this.opts.query);e.EIO=4,e.transport=t,this.id&&(e.sid=this.id);let r=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let t=this.opts.rememberUpgrade&&K.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let e=this.createTransport(t);e.open(),this.setTransport(e)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",K.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let e=Error("server error");e.code=t.data,this._onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let e=0;e<this.writeBuffer.length;e++){let r=this.writeBuffer[e].data;if(r&&(t+="string"==typeof r?function(t){let e=0,r=0;for(let n=0,i=t.length;n<i;n++)(e=t.charCodeAt(n))<128?r+=1:e<2048?r+=2:e<55296||e>=57344?r+=3:(n++,r+=4);return r}(r):Math.ceil(1.33*(r.byteLength||r.size))),e>0&&t>this._maxPayload)return this.writeBuffer.slice(0,e);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,A(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,e,r){return this._sendPacket("message",t,e,r),this}send(t,e,r){return this._sendPacket("message",t,e,r),this}_sendPacket(t,e,r,n){if("function"==typeof e&&(n=e,e=void 0),"function"==typeof r&&(n=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;let i={type:t,data:e,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),n&&this.once("flush",n),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},r=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(K.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Y&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let t=X.indexOf(this._offlineEventListener);-1!==t&&X.splice(t,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this._prevBufferLen=0}}}K.protocol=4;class J extends K{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let e=this.createTransport(t),r=!1;K.priorWebsocketSuccess=!1;let n=()=>{r||(e.send([{type:"ping",data:"probe"}]),e.once("packet",t=>{if(!r)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;K.priorWebsocketSuccess="websocket"===e.name,this.transport.pause(()=>{r||"closed"!==this.readyState&&(u(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{let t=Error("probe error");t.transport=e.name,this.emitReserved("upgradeError",t)}}))};function i(){r||(r=!0,u(),e.close(),e=null)}let o=t=>{let r=Error("probe error: "+t);r.transport=e.name,i(),this.emitReserved("upgradeError",r)};function a(){o("transport closed")}function s(){o("socket closed")}function l(t){e&&t.name!==e.name&&i()}let u=()=>{e.removeListener("open",n),e.removeListener("error",o),e.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};e.once("open",n),e.once("error",o),e.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn(()=>{r||e.open()},200):e.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let e=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&e.push(t[r]);return e}}class Q extends J{constructor(t,e={}){const r="object"==typeof t?t:e;(!r.transports||r.transports&&"string"==typeof r.transports[0])&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(t=>q[t]).filter(t=>!!t)),super(t,r)}}Q.protocol},66289(t,e,r){"use strict";function n(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}r.d(e,{b:()=>n})},80947(t,e,r){"use strict";function n(t){return[...new Set(t)]}r.d(e,{s:()=>n})},37264(t,e,r){"use strict";function n(t,e){let r=new Map;for(let n=0;n<t.length;n++){let i=t[n],o=e(i,n,t);r.has(o)||r.set(o,i)}return Array.from(r.values())}r.d(e,{h:()=>n})},45731(t,e,r){"use strict";function n(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}r.d(e,{O:()=>n})},63740(t,e,r){"use strict";function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}r.d(e,{b:()=>n})},25783(t,e,r){"use strict";function n(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}r.d(e,{A:()=>n})},4544(t,e,r){"use strict";r.d(e,{n:()=>i});let n=/^(?:0|[1-9]\d*)$/;function i(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return n.test(t)}}},15399(t,e,r){"use strict";r.d(e,{$V:()=>a,Av:()=>n,GX:()=>g,ML:()=>C,N1:()=>y,NA:()=>h,OG:()=>i,Qb:()=>m,R_:()=>s,Uw:()=>f,VP:()=>l,XZ:()=>S,ZR:()=>x,_u:()=>M,cT:()=>d,g5:()=>w,i1:()=>A,iq:()=>v,kj:()=>o,pj:()=>c,q:()=>_,ri:()=>T,tx:()=>p,vC:()=>u,x6:()=>b,xh:()=>k});let n="[object RegExp]",i="[object String]",o="[object Number]",a="[object Boolean]",s="[object Arguments]",l="[object Symbol]",u="[object Date]",c="[object Map]",h="[object Set]",f="[object Array]",p="[object Function]",d="[object ArrayBuffer]",g="[object Object]",y="[object Error]",v="[object DataView]",m="[object Uint8Array]",_="[object Uint8ClampedArray]",b="[object Uint16Array]",x="[object Uint32Array]",w="[object BigUint64Array]",S="[object Int8Array]",A="[object Int16Array]",M="[object Int32Array]",k="[object BigInt64Array]",T="[object Float32Array]",C="[object Float64Array]"},94044(t,e,r){"use strict";function n(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}r.d(e,{f:()=>n})},23276(t,e,r){"use strict";r.d(e,{$:()=>a});var n=r(76951),i=r(64181),o=r(87339);function a(t,e){if(null==t)return{};let r=(0,i.X)(t)?Array.from(t):Object.values(t),a=(0,o.c)(e??n.D),s={};for(let t=0;t<r.length;t++){let e=r[t],n=a(e,t,r);Object.hasOwn(s,n)||(s[n]=[]),s[n].push(e)}return s}},87908(t,e,r){"use strict";r.d(e,{R:()=>l});var n=r(80947),i=r(37264),o=r(59429),a=r(40696),s=r(87339);function l(...t){let e=t[t.length-1],r=function(t){let e=[];for(let r=0;r<t.length;r++){let n=t[r];if((0,a.U)(n))for(let t=0;t<n.length;t++)e.push(n[t])}return e}(t);return(0,a.U)(e)||null==e?(0,n.s)(r):(0,i.h)(r,(0,o.J)((0,s.c)(e),1))}},5330(t,e,r){"use strict";r.d(e,{s:()=>o});var n=r(80947),i=r(64181);function o(t){return(0,i.X)(t)?(0,n.s)(Array.from(t)):[]}},57629(t,e,r){"use strict";r.d(e,{h:()=>l});var n=r(37264),i=r(59429),o=r(76951),a=r(40696),s=r(87339);function l(t,e=o.D){return(0,a.U)(t)?(0,n.h)(Array.from(t),(0,i.J)((0,s.c)(e),1)):[]}},86084(t,e,r){"use strict";r.d(e,{S:()=>o});var n=r(76951),i=r(87339);function o(t,e){if(null!=t)return function(t,e){if(0===t.length)return;let r=t[0],n=e(r,0,t);for(let i=1;i<t.length;i++){let o=t[i],a=e(o,i,t);a>n&&(n=a,r=o)}return r}(Array.from(t),(0,i.c)(e??n.D))}},6883(t,e,r){"use strict";r.d(e,{w:()=>o});var n=r(76951),i=r(87339);function o(t,e){if(null!=t)return function(t,e){if(0===t.length)return;let r=t[0],n=e(r,0,t);for(let i=1;i<t.length;i++){let o=t[i],a=e(o,i,t);a<n&&(n=a,r=o)}return r}(Array.from(t),(0,i.c)(e??n.D))}},92554(t,e,r){"use strict";r.d(e,{x:()=>i});var n=r(87339);function i(t,e){let r;if(!t||!t.length)return 0;null!=e&&(e=(0,n.c)(e));for(let n=0;n<t.length;n++){let i=e?e(t[n]):t[n];void 0!==i&&(void 0===r?r=i:r+=i)}return r}},26581(t,e,r){"use strict";r.d(e,{N:()=>s});var n=r(4544),i=r(64181),o=r(72708),a=r(66289);function s(t,...e){var r,l;t=Object(t);let u=Object.prototype,c=e.length,h=c>2?e[2]:void 0;h&&(r=e[0],l=e[1],(0,o.G)(h)&&("number"==typeof l&&(0,i.X)(h)&&(0,n.n)(l)&&l<h.length||"string"==typeof l&&l in h)&&(0,a.b)(h[l],r))&&(c=1);for(let r=0;r<c;r++){if(null==e[r])continue;let n=e[r],i=Object.keys(n);for(let e=0;e<i.length;e++){let r=i[e],o=t[r];(void 0===o||!Object.hasOwn(t,r)&&(0,a.b)(o,u[r]))&&(t[r]=n[r])}}return t}},66450(t,e,r){"use strict";function n(t){return"__proto__"===t}r.d(e,{J:()=>function t(e,r,s){if(null==e)return s;switch(typeof r){case"string":{if(n(r))return s;let o=e[r];if(void 0===o)if((0,i.A)(r))return t(e,(0,a.b)(r),s);else return s;return o}case"number":case"symbol":{"number"==typeof r&&(r=(0,o.f)(r));let t=e[r];if(void 0===t)return s;return t}default:{if(Array.isArray(r)){var l=e,u=r,c=s;if(0===u.length)return c;let t=l;for(let e=0;e<u.length;e++){if(null==t||n(u[e]))return c;t=t[u[e]]}return void 0===t?c:t}if(n(r=Object.is(r?.valueOf(),-0)?"-0":String(r)))return s;let t=e[r];if(void 0===t)return s;return t}}}});var i=r(25783),o=r(94044),a=r(83244)},64181(t,e,r){"use strict";function n(t){var e;return null!=t&&"function"!=typeof t&&Number.isSafeInteger(e=t.length)&&e>=0}r.d(e,{X:()=>n})},40696(t,e,r){"use strict";r.d(e,{U:()=>i});var n=r(64181);function i(t){return"object"==typeof t&&null!==t&&(0,n.X)(t)}},72708(t,e,r){"use strict";function n(t){return null!==t&&("object"==typeof t||"function"==typeof t)}r.d(e,{G:()=>n})},90549(t,e,r){"use strict";r.d(e,{i:()=>o});let n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};var i=r(66310);function o(t){return(0,i.d)(t).replace(/[&<>"']/g,t=>n[t])}},4949(t,e,r){"use strict";r.d(e,{Z:()=>i});var n=r(66310);function i(t){var e;return(e=(0,n.d)(t)).substring(0,1).toUpperCase()+e.substring(1)}},87339(t,e,r){"use strict";r.d(e,{c:()=>w});var n=r(76951),i=r(66450),o=r(72708);function a(t){return null==t||"object"!=typeof t&&"function"!=typeof t}var s=r(66289);function l(t,e,r,n){if(e===t)return!0;switch(typeof e){case"object":return function(t,e,r,n){if(null==e)return!0;if(Array.isArray(e))return u(t,e,r,n);if(e instanceof Map){var i,o,s,l,c=t,h=e,f=r,p=n;if(0===h.size)return!0;if(!(c instanceof Map))return!1;for(let[t,e]of h.entries())if(!1===f(c.get(t),e,t,c,h,p))return!1;return!0}if(e instanceof Set){return i=t,o=e,s=r,l=n,0===o.size||i instanceof Set&&u([...i],[...o],s,l)}let d=Object.keys(e);if(null==t||a(t))return 0===d.length;if(0===d.length)return!0;if(n?.has(e))return n.get(e)===t;n?.set(e,t);try{for(let i=0;i<d.length;i++){let o=d[i];if(!a(t)&&!(o in t)||void 0===e[o]&&void 0!==t[o]||null===e[o]&&null!==t[o]||!r(t[o],e[o],o,t,e,n))return!1}return!0}finally{n?.delete(e)}}(t,e,r,n);case"function":if(Object.keys(e).length>0)return l(t,{...e},r,n);return(0,s.b)(t,e);default:if(!(0,o.G)(t))return(0,s.b)(t,e);if("string"==typeof e)return""===e;return!0}}function u(t,e,r,n){if(0===e.length)return!0;if(!Array.isArray(t))return!1;let i=new Set;for(let o=0;o<e.length;o++){let a=e[o],s=!1;for(let l=0;l<t.length;l++){if(i.has(l))continue;let u=t[l],c=!1;if(r(u,a,o,t,e,n)&&(c=!0),c){i.add(l),s=!0;break}}if(!s)return!1}return!0}function c(t,e){return function t(e,r,n){return"function"!=typeof n?t(e,r,()=>void 0):l(e,r,function t(e,r,i,o,a,s){let u=n(e,r,i,o,a,s);return void 0!==u?!!u:l(e,r,t,s)},new Map)}(t,e,()=>void 0)}var h=r(45731),f=r(63740),p=r(15399),d=r(60731),g=r(8963).Buffer;function y(t,e,r,n=new Map,i){let o=i?.(t,e,r,n);if(void 0!==o)return o;if(a(t))return t;if(n.has(t))return n.get(t);if(Array.isArray(t)){let e=Array(t.length);n.set(t,e);for(let o=0;o<t.length;o++)e[o]=y(t[o],o,r,n,i);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){let e=new Map;for(let[o,a]of(n.set(t,e),t))e.set(o,y(a,o,r,n,i));return e}if(t instanceof Set){let e=new Set;for(let o of(n.set(t,e),t))e.add(y(o,void 0,r,n,i));return e}if(void 0!==g&&g.isBuffer(t))return t.subarray();if((0,d.i)(t)){let e=new(Object.getPrototypeOf(t)).constructor(t.length);n.set(t,e);for(let o=0;o<t.length;o++)e[o]=y(t[o],o,r,n,i);return e}if(t instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){let e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),v(e,t,r,n,i),e}if("u">typeof File&&t instanceof File){let e=new File([t],t.name,{type:t.type});return n.set(t,e),v(e,t,r,n,i),e}if("u">typeof Blob&&t instanceof Blob){let e=new Blob([t],{type:t.type});return n.set(t,e),v(e,t,r,n,i),e}if(t instanceof Error){let e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,v(e,t,r,n,i),e}if(t instanceof Boolean){let e=new Boolean(t.valueOf());return n.set(t,e),v(e,t,r,n,i),e}if(t instanceof Number){let e=new Number(t.valueOf());return n.set(t,e),v(e,t,r,n,i),e}if(t instanceof String){let e=new String(t.valueOf());return n.set(t,e),v(e,t,r,n,i),e}if("object"==typeof t&&function(t){switch((0,f.b)(t)){case p.R_:case p.Uw:case p.cT:case p.iq:case p.$V:case p.vC:case p.ri:case p.ML:case p.XZ:case p.i1:case p._u:case p.pj:case p.kj:case p.GX:case p.Av:case p.NA:case p.OG:case p.VP:case p.Qb:case p.q:case p.x6:case p.ZR:return!0;default:return!1}}(t)){let e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),v(e,t,r,n,i),e}return t}function v(t,e,r=t,n,i){let o=[...Object.keys(e),...(0,h.O)(e)];for(let a=0;a<o.length;a++){let s=o[a],l=Object.getOwnPropertyDescriptor(t,s);(null==l||l.writable)&&(t[s]=y(e[s],s,r,n,i))}}var m=r(94044),_=r(25783),b=r(4544),x=r(83244);function w(t){var e,r;if(null==t)return n.D;switch(typeof t){case"function":return t;case"object":if(Array.isArray(t)&&2===t.length)return function(t,e){var r,n,o;switch(typeof t){case"object":Object.is(t?.valueOf(),-0)&&(t="-0");break;case"number":t=(0,m.f)(t)}return n=r=e,o=(t,e,n,i)=>{let o;if(void 0!==o)return o;if("object"==typeof r){if((0,f.b)(r)===p.GX&&"function"!=typeof r.constructor){let t={};return i.set(r,t),v(t,r,n,i),t}switch(Object.prototype.toString.call(r)){case p.kj:case p.OG:case p.$V:{let t=new r.constructor(r?.valueOf());return v(t,r),t}case p.R_:{let t={};return v(t,r),t.length=r.length,t[Symbol.iterator]=r[Symbol.iterator],t}default:return}}},e=y(n,void 0,n,new Map,o),function(r){let n=(0,i.J)(r,t);return void 0===n?function(t,e){let r;if(0===(r=Array.isArray(e)?e:"string"==typeof e&&(0,_.A)(e)&&t?.[e]==null?(0,x.b)(e):[e]).length)return!1;let n=t;for(let t=0;t<r.length;t++){let e=r[t];if(null==n||!Object.hasOwn(n,e)){var i;if(!((Array.isArray(n)||null!==(i=n)&&"object"==typeof i&&"[object Arguments]"===(0,f.b)(i))&&(0,b.n)(e)&&e<n.length))return!1}n=n[e]}return!0}(r,t):void 0===e?void 0===n:c(n,e)}}(t[0],t[1]);return e=y(r=e=t,void 0,r,new Map,void 0),t=>c(t,e);case"string":case"symbol":case"number":return function(e){return(0,i.J)(e,t)}}}},83244(t,e,r){"use strict";r.d(e,{b:()=>o});var n=r(66310),i=r(94044);function o(t){if(Array.isArray(t))return t.map(i.f);if("symbol"==typeof t)return[t];t=(0,n.d)(t);let e=[],r=t.length;if(0===r)return e;let o=0,a="",s="",l=!1;for(46===t.charCodeAt(0)&&(e.push(""),o++);o<r;){let n=t[o];s?"\\"===n&&o+1<r?a+=t[++o]:n===s?s="":a+=n:l?'"'===n||"'"===n?s=n:"]"===n?(l=!1,e.push(a),a=""):a+=n:"["===n?(l=!0,a&&(e.push(a),a="")):"."===n?a&&(e.push(a),a=""):a+=n,o++}return a&&e.push(a),e}},66310(t,e,r){"use strict";function n(t){if(null==t)return"";if("string"==typeof t)return t;if(Array.isArray(t))return t.map(n).join(",");let e=String(t);return"0"===e&&Object.is(Number(t),-0)?"-0":e}r.d(e,{d:()=>n})},59429(t,e,r){"use strict";function n(t,e){return function(...r){return t.apply(this,r.slice(0,e))}}r.d(e,{J:()=>n})},76951(t,e,r){"use strict";function n(t){return t}r.d(e,{D:()=>n})},46006(t,e,r){"use strict";function n(t){if(!t||"object"!=typeof t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}r.d(e,{n:()=>c});var i=r(45731),o=r(63740),a=r(15399),s=r(66289),l=r(8963).Buffer;function u(){}function c(t,e){return function t(e,r,u,c,h,f,p){let d=p(e,r,u,c,h,f);if(void 0!==d)return d;if(typeof e==typeof r)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return e===r;case"number":return e===r||Object.is(e,r)}return function e(r,u,c,h){if(Object.is(r,u))return!0;let f=(0,o.b)(r),p=(0,o.b)(u);if(f===a.R_&&(f=a.GX),p===a.R_&&(p=a.GX),f!==p)return!1;switch(f){case a.OG:return r.toString()===u.toString();case a.kj:{let t=r.valueOf(),e=u.valueOf();return(0,s.b)(t,e)}case a.$V:case a.vC:case a.VP:return Object.is(r.valueOf(),u.valueOf());case a.Av:return r.source===u.source&&r.flags===u.flags;case a.tx:return r===u}let d=(c=c??new Map).get(r),g=c.get(u);if(null!=d&&null!=g)return d===u;c.set(r,u),c.set(u,r);try{switch(f){case a.pj:if(r.size!==u.size)return!1;for(let[e,n]of r.entries())if(!u.has(e)||!t(n,u.get(e),e,r,u,c,h))return!1;return!0;case a.NA:{if(r.size!==u.size)return!1;let e=Array.from(r.values()),n=Array.from(u.values());for(let i=0;i<e.length;i++){let o=e[i],a=n.findIndex(e=>t(o,e,void 0,r,u,c,h));if(-1===a)return!1;n.splice(a,1)}return!0}case a.Uw:case a.Qb:case a.q:case a.x6:case a.ZR:case a.g5:case a.XZ:case a.i1:case a._u:case a.xh:case a.ri:case a.ML:if(void 0!==l&&l.isBuffer(r)!==l.isBuffer(u)||r.length!==u.length)return!1;for(let e=0;e<r.length;e++)if(!t(r[e],u[e],e,r,u,c,h))return!1;return!0;case a.cT:if(r.byteLength!==u.byteLength)return!1;return e(new Uint8Array(r),new Uint8Array(u),c,h);case a.iq:if(r.byteLength!==u.byteLength||r.byteOffset!==u.byteOffset)return!1;return e(new Uint8Array(r),new Uint8Array(u),c,h);case a.N1:return r.name===u.name&&r.message===u.message;case a.GX:{if(!(e(r.constructor,u.constructor,c,h)||n(r)&&n(u)))return!1;let o=[...Object.keys(r),...(0,i.O)(r)],a=[...Object.keys(u),...(0,i.O)(u)];if(o.length!==a.length)return!1;for(let e=0;e<o.length;e++){let n=o[e],i=r[n];if(!Object.hasOwn(u,n))return!1;let a=u[n];if(!t(i,a,n,r,u,c,h))return!1}return!0}default:return!1}}finally{c.delete(r),c.delete(u)}}(e,r,f,p)}(t,e,void 0,void 0,void 0,void 0,u)}},60731(t,e,r){"use strict";function n(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}r.d(e,{i:()=>n})},66963(t,e,r){"use strict";let n;r.d(e,{h:()=>k,v:()=>T});var i=r(85409),o=r(35207),a=r(9741);function s(t,e=globalThis.Deno?globalThis.Deno.args:i.argv){let r=t.startsWith("-")?"":1===t.length?"-":"--",n=e.indexOf(r+t),o=e.indexOf("--");return -1!==n&&(-1===o||n<o)}let{env:l}=i;function u(t,e={}){var r;return 0!==(r=function(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let a=function(){if(!("FORCE_COLOR"in l))return;if("true"===l.FORCE_COLOR)return 1;if("false"===l.FORCE_COLOR)return 0;if(0===l.FORCE_COLOR.length)return 1;let t=Math.min(Number.parseInt(l.FORCE_COLOR,10),3);if([0,1,2,3].includes(t))return t}();void 0!==a&&(n=a);let u=r?n:a;if(0===u)return 0;if(r){if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2}if("TF_BUILD"in l&&"AGENT_NAME"in l)return 1;if(t&&!e&&void 0===u)return 0;let c=u||0;if("dumb"===l.TERM)return c;if("win32"===i.platform){let t=o.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in l)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(t=>t in l)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(t=>t in l)||"codeship"===l.CI_NAME?1:c;if("TEAMCITY_VERSION"in l)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(l.TEAMCITY_VERSION);if("truecolor"===l.COLORTERM||"xterm-kitty"===l.TERM||"xterm-ghostty"===l.TERM)return 3;if("TERM_PROGRAM"in l){let t=Number.parseInt((l.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(l.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(l.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(l.TERM)||"COLORTERM"in l?1:c}(t,{streamIsTTY:t&&t.isTTY,...e}))&&{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?n=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(n=1);let c={stdout:u({isTTY:a.isatty(1)}),stderr:u({isTTY:a.isatty(2)})},h=c.stdout?c.stdout.level:0,f=/at\s.*:\d+:\d+[\s\)]*$/,p=/at\s.*\(<anonymous>\)$/,d=(t,e,r=t)=>h>=2?n=>{let i=""+n,o=i.indexOf(e,t.length);return~o?t+g(i,e,r,o)+e:t+i+e}:String,g=(t,e,r,n)=>{let i=t.substring(0,n)+r,o=t.substring(n+e.length),a=o.indexOf(e);return~a?i+g(o,e,r,a):i+o},y=d("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),v=d("\x1b[31m","\x1b[39m"),m=d("\x1b[32m","\x1b[39m"),_=d("\x1b[33m","\x1b[39m"),b=d("\x1b[35m","\x1b[39m"),x=d("\x1b[36m","\x1b[39m"),w=d("\x1b[90m","\x1b[39m"),S=t=>!/[\s\n]/.test(t),A={silent:-1,error:0,warn:1,info:2,log:2,verbose:3},M={error:{label:"error",level:"error",color:v},warn:{label:"warn",level:"warn",color:_},info:{label:"info",level:"info",color:x},start:{label:"start",level:"info",color:x},ready:{label:"ready",level:"info",color:m},success:{label:"success",level:"info",color:m},log:{level:"info"},debug:{label:"debug",level:"verbose",color:b}},k=(t={})=>{let e=t.level||"info",r=(t,r,...n)=>{if(A[M[t].level]>A[e])return;if(null==r)return console.log();let i=M[t],o="",a="";if("label"in i&&(o=(i.label||"").padEnd(7),o=y(i.color?i.color(o):o)),r instanceof Error)if(r.stack){let[t,...e]=r.stack.split("\n");t.startsWith("Error: ")&&(t=t.slice(7)),a=`${t}
2
+ ${w(e.join("\n"))}`}else a=r.message;else a="error"===i.level&&"string"==typeof r?r.split("\n").map(t=>f.test(t)||p.test(t)?w(t):t).join("\n"):`${r}`;console.log(o.length?`${o} ${a}`:a,...n)},n={greet:t=>r("log",(t=>{if(h<3)return 2===h?y(x(t)):t;let e=[...t],r=e.filter(S).length,n=189,i=255,o=243,a=-115/r,s=-61/r,l=-89/r,u="";for(let t of e)S(t)&&(n+=a,i+=s,o+=l),u+=`\x1b[38;2;${Math.round(n)};${Math.round(i)};${Math.round(o)}m${t}\x1b[39m`;return y(u)})(t))};return Object.keys(M).forEach(t=>{n[t]=(...e)=>r(t,...e)}),Object.defineProperty(n,"level",{get:()=>e,set(t){e=t}}),n.override=t=>{Object.assign(n,t)},n},T=k()},24032(t,e,r){"use strict";function n(t,e,r){var n=(r||{}).atBegin;return function(t,e,r){var n,i=r||{},o=i.noTrailing,a=void 0!==o&&o,s=i.noLeading,l=void 0!==s&&s,u=i.debounceMode,c=void 0===u?void 0:u,h=!1,f=0;function p(){n&&clearTimeout(n)}function d(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=this,u=Date.now()-f;function d(){f=Date.now(),e.apply(s,i)}function g(){n=void 0}!h&&(l||!c||n||d(),p(),void 0===c&&u>t?l?(f=Date.now(),a||(n=setTimeout(c?g:d,t))):d():!0!==a&&(n=setTimeout(c?g:d,void 0===c?t-u:t)))}return d.cancel=function(t){var e=(t||{}).upcomingOnly;p(),h=!(void 0!==e&&e)},d}(t,e,{debounceMode:!1!==(void 0!==n&&n)})}r.d(e,{s:()=>n})},65959(t,e,r){"use strict";r.d(e,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>l,sH:()=>s});var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var o=function(){return(o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function s(t,e,r,n){return new(r||(r=Promise))(function(i,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof r?e:new r(function(t){t(e)})).then(a,s)}l((n=n.apply(t,e||[])).next())})}function l(t,e){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}},1641(t,e,r){"use strict";r.d(e,{A:()=>b});var n=r(82393),i=r(21542),o=r(87443),a=r(54714),s=r(76479),l=r(60969),u=r(7551),c=r(4783),h=r(15663),f="__zr_normal__",p=n.Wx.concat(["ignore"]),d=(0,l.reduce)(n.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.A(0,0,0,0),v=function(){function t(t){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,r){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=e.innerTransformable,o=void 0,a=void 0,l=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(e),null!=r.position){r.layoutRect?y.copy(r.layoutRect):y.copy(this.getBoundingRect()),n||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,r,y):(0,s.X4)(g,r,y),i.x=g.x,i.y=g.y,o=g.align,a=g.verticalAlign;var c=r.origin;if(c&&null!=r.rotation){var f=void 0,p=void 0;"center"===c?(f=.5*y.width,p=.5*y.height):(f=(0,s.lo)(c[0],y.width),p=(0,s.lo)(c[1],y.height)),u=!0,i.originX=-i.x+f+(n?0:y.x),i.originY=-i.y+p+(n?0:y.y)}}null!=r.rotation&&(i.rotation=r.rotation);var d=r.offset;d&&(i.x+=d[0],i.y+=d[1],u||(i.originX=-d[0],i.originY=-d[1]));var v=null==r.inside?"string"==typeof r.position&&r.position.indexOf("inside")>=0:r.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,b=void 0,x=void 0;v&&this.canBeInsideText()?(_=r.insideFill,b=r.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==b||"auto"===b)&&(b=this.getInsideTextStroke(_),x=!0)):(_=r.outsideFill,b=r.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==b||"auto"===b)&&(b=this.getOutsideStroke(_),x=!0)),((_=_||"#000")!==m.fill||b!==m.stroke||x!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=b,m.autoStroke=x,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=h.M,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r="string"==typeof e&&(0,c.parse)(e);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*n+255*!i*(1-n);return r[3]=1,(0,c.stringify)(r,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.isObject)(t))for(var r=(0,l.keys)(t),n=0;n<r.length;n++){var i=r[n];this.attrKV(i,t[i])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!n.getLoop()&&(!i||i===f)){var o=n.targetName,a=o?e[o]:e;n.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,p)},t.prototype._savePrimaryToNormal=function(t,e,r){for(var n=0;n<r.length;n++){var i=r[n];null==t[i]||i in e||(e[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,r,n){var i,o=t===f;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(i=this.stateProxy(t)),i||(i=this.states&&this.states[t]),!i&&!o)return void(0,l.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(i);var u=!!(i&&i.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,i,this._normalState,e,!r&&!this.__inHover&&s&&s.duration>0,s);var c=this._textContent,p=this._textGuide;return c&&c.useState(t,e,r,u),p&&p.useState(t,e,r,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.M),i}}},t.prototype.useStates=function(t,e,r){if(t.length){var n=[],i=this.currentStates,o=t.length,a=o===i.length;if(a){for(var s=0;s<o;s++)if(t[s]!==i[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&n.push(u)}var c=n[o-1],f=!!(c&&c.hoverLayer||r);f&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(n),d=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,f),y&&y.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.indexOf)(this.currentStates,t);if(e>=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},t.prototype.replaceState=function(t,e,r){var n=this.currentStates.slice(),i=(0,l.indexOf)(n,t),o=(0,l.indexOf)(n,e)>=0;i>=0?o?n.splice(i,1):n[i]=e:r&&!o&&n.push(e),this.useStates(n)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,r={},n=0;n<t.length;n++){var i=t[n];(0,l.extend)(r,i),i.textConfig&&(e=e||{},(0,l.extend)(e,i.textConfig))}return e&&(r.textConfig=e),r},t.prototype._applyStateObj=function(t,e,r,n,i,o){var a=!(e&&n);e&&e.textConfig?(this.textConfig=(0,l.extend)({},n?this.textConfig:r.textConfig),(0,l.extend)(this.textConfig,e.textConfig)):a&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},u=!1,c=0;c<p.length;c++){var h=p[c],f=i&&d[h];e&&null!=e[h]?f?(u=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=r[h]&&(f?(u=!0,s[h]=r[h]):this[h]=r[h])}if(!i)for(var c=0;c<this.animators.length;c++){var g=this.animators[c],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||r)[y]:e||r)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new n.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=h.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,r=this._textGuide;e&&(e.__inHover=t),r&&(r.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.addAnimator(e[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.removeAnimator(e[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,r){var n=t?this[t]:this,o=new i.A(n,e,r);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var r=this.__zr,n=this;t.during(function(){n.updateDuringAnimation(e)}).done(function(){var e=n.animators,r=(0,l.indexOf)(e,t);r>=0&&e.splice(r,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var r=this.animators,n=r.length,i=[],o=0;o<n;o++){var a=r[o];t&&t!==a.scope?i.push(a):a.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,r){m(this,t,e,r)},t.prototype.animateFrom=function(t,e,r){m(this,t,e,r,!0)},t.prototype._transitionState=function(t,e,r,n){for(var i=m(this,e,r,n),o=0;o<i.length;o++)i[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function r(t,r,n,i){Object.defineProperty(e,t,{get:function(){return this[r]||o(this,this[r]=[]),this[r]},set:function(t){this[n]=t[0],this[i]=t[1],this[r]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=e}}),Object.defineProperty(e,1,{get:function(){return t[i]},set:function(e){t[i]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=h.M,Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,r,n,o){var a=[];!function t(e,r,n,o,a,s,u,c){for(var h=(0,l.keys)(o),f=a.duration,p=a.delay,d=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],b=0;b<h.length;b++){var x=h[b],w=o[x];if(null!=w&&null!=n[x]&&(y||s[x]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))m.push(x);else{if(r){c||(n[x]=w,e.updateDuringAnimation(r));continue}t(e,x,n[x],w,a,s&&s[x],u,c)}else c||(n[x]=w,e.updateDuringAnimation(r),m.push(x))}var S=m.length;if(!d&&S)for(var A=0;A<v.length;A++){var M=v[A];if(M.targetName===r&&M.stopTracks(m)){var k=(0,l.indexOf)(v,M);v.splice(k,1)}}if(a.force||(S=(m=(0,l.filter)(m,function(t){var e,r;return!((e=o[t])===(r=n[t])||(0,l.isArrayLike)(e)&&(0,l.isArrayLike)(r)&&function(t,e){var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}(e,r))})).length),S>0||a.force&&!u.length){var T=void 0,C=void 0,O=void 0;if(c){C={},g&&(T={});for(var A=0;A<S;A++){var x=m[A];C[x]=n[x],g?T[x]=o[x]:n[x]=o[x]}}else if(g){O={};for(var A=0;A<S;A++){var x=m[A];O[x]=(0,i.F)(n[x]),function(t,e,r){if((0,l.isArrayLike)(e[r]))if((0,l.isArrayLike)(t[r])||(t[r]=[]),(0,l.isTypedArray)(e[r])){var n=e[r].length;t[r].length!==n&&(t[r]=new e[r].constructor(n),_(t[r],e[r],n))}else{var i=e[r],o=t[r],a=i.length;if((0,l.isArrayLike)(i[0]))for(var s=i[0].length,u=0;u<a;u++)o[u]?_(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else _(o,i,a);o.length=i.length}else t[r]=e[r]}(n,o,x)}}var M=new i.A(n,!1,!1,d?(0,l.filter)(v,function(t){return t.targetName===r}):null);M.targetName=r,a.scope&&(M.scope=a.scope),g&&T&&M.whenWithKeys(0,T,m),O&&M.whenWithKeys(0,O,m),M.whenWithKeys(null==f?500:f,c?C:o,m).delay(p||0),e.addAnimator(M,r),u.push(M)}}(t,"",t,e,r=r||{},n,a,o);var s=a.length,u=!1,c=r.done,h=r.aborted,f=function(){u=!0,--s<=0&&(u?c&&c():h&&h())},p=function(){--s<=0&&(u?c&&c():h&&h())};!s&&c&&c(),a.length>0&&r.during&&a[0].during(function(t,e){r.during(e)});for(var d=0;d<a.length;d++){var g=a[d];f&&g.done(f),p&&g.aborted(p),r.force&&g.duration(r.duration),g.start(r.easing)}return a}function _(t,e,r){for(var n=0;n<r;n++)t[n]=e[n]}(0,l.mixin)(v,a.A),(0,l.mixin)(v,n.Ay);let b=v},21542(t,e,r){"use strict";r.d(e,{F:()=>y,A:()=>w});var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),(t*=2)<1)?-.5*(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):r*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},i=r(60969),o=r(46854),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var r=e[1].split(","),n=+(0,i.trim)(r[0]),s=+(0,i.trim)(r[1]),l=+(0,i.trim)(r[2]),u=+(0,i.trim)(r[3]);if(isNaN(n+s+l+u))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,o._E)(0,n,l,1,t,c)&&(0,o.Yb)(0,s,u,1,c[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||i.noop,this.ondestroy=t.ondestroy||i.noop,this.onrestart=t.onrestart||i.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var r=this._life,n=t-this._startTime-this._pausedTime,i=n/r;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i)if(!this.loop)return!0;else this._startTime=t-n%r,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,i.isFunction)(t)?t:n[t]||s(t)},t}(),u=r(4783),c=r(88934),h=r(8963).Buffer;c.A.hasGlobalWindow&&(0,i.isFunction)(window.btoa);var f=Array.prototype.slice;function p(t,e,r,n){for(var i,o=e.length,a=0;a<o;a++)t[a]=(i=e[a],(r[a]-i)*n+i);return t}function d(t,e,r,n){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+r[o]*n;return t}function g(t,e,r,n){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+r[a][s]*n}return t}function y(t){if((0,i.isArrayLike)(t)){var e=t.length;if((0,i.isArrayLike)(t[0])){for(var r=[],n=0;n<e;n++)r.push(f.call(t[n]));return r}return f.call(t)}return t}function v(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function m(t){return 4===t||5===t}function _(t){return 1===t||2===t}var b=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,r){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,c=6,h=e;if((0,i.isArrayLike)(e)){var f=(0,i.isArrayLike)(e&&e[0])?2:1;c=f,(1!==f||(0,i.isNumber)(e[0]))&&(2!==f||(0,i.isNumber)(e[0][0]))||(l=!0)}else if((0,i.isNumber)(e)&&!(0,i.eqNaN)(e))c=0;else if((0,i.isString)(e))if(isNaN(+e)){var p=u.parse(e);p&&(h=p,c=3)}else c=0;else if((0,i.isGradientObject)(e)){var d=(0,i.extend)({},h);(d.colorStops=(0,i.map)(e.colorStops,function(t){return{offset:t.offset,color:u.parse(t.color)}}),"linear"===e.type)?c=4:"radial"===e.type&&(c=5),h=d}0===a?this.valType=c:(c!==this.valType||6===c)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:h,rawValue:e,percent:0};return r&&(g.easing=r,g.easingFunc=(0,i.isFunction)(r)?r:n[r]||s(r)),o.push(g),g},t.prototype.prepare=function(t,e){var r=this.keyframes;this._needsSort&&r.sort(function(t,e){return t.time-e.time});for(var n=this.valType,i=r.length,o=r[i-1],a=this.discrete,s=_(n),l=m(n),u=0;u<i;u++){var c=r[u],h=c.value,p=o.value;c.percent=c.time/t,!a&&(s&&u!==i-1?function(t,e,r){if(t.push&&e.push){var n=t.length,i=e.length;if(n!==i)if(n>i)t.length=i;else for(var o=n;o<i;o++)t.push(1===r?e[o]:f.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===r)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(h,p,n):l&&function(t,e){for(var r=t.length,n=e.length,i=r>n?e:t,o=Math.min(r,n),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(r,n);s++)i.push({offset:a.offset,color:a.color.slice()})}(h.colorStops,p.colorStops))}if(!a&&5!==n&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;for(var y=r[0].value,u=0;u<i;u++)0===n?r[u].additiveValue=r[u].value-y:3===n?r[u].additiveValue=d([],r[u].value,y,-1):_(n)&&(r[u].additiveValue=1===n?d([],r[u].value,y,-1):g([],r[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r,n,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,h=this.propName,f=3===l,d=this._lastFr,g=Math.min;if(1===c)n=o=u[0];else{if(e<0)r=0;else if(e<this._lastFrP){for(r=g(d+1,c-1);r>=0&&!(u[r].percent<=e);r--);r=g(r,c-2)}else{for(r=d;r<c&&!(u[r].percent>e);r++);r=g(r-1,c-2)}o=u[r+1],n=u[r]}if(n&&o){this._lastFr=r,this._lastFrP=e;var y=o.percent-n.percent,x=0===y?1:g((e-n.percent)/y,1);o.easingFunc&&(x=o.easingFunc(x));var w=a?this._additiveValue:f?b:t[h];if((_(l)||f)&&!w&&(w=this._additiveValue=[]),this.discrete)t[h]=x<1?n.rawValue:o.rawValue;else if(_(l))1===l?p(w,n[s],o[s],x):function(t,e,r,n){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(r[a][l]-s)*n+s)}}(w,n[s],o[s],x);else if(m(l)){var S,A,M,k,T,C=n[s],O=o[s],E=4===l;(t[h]={type:E?"linear":"radial",x:(S=C.x,(O.x-S)*x+S),y:(A=C.y,(O.y-A)*x+A),colorStops:(0,i.map)(C.colorStops,function(t,e){var r,n=O.colorStops[e];return{offset:(r=t.offset,(n.offset-r)*x+r),color:v(p([],t.color,n.color,x))}}),global:O.global},E)?(t[h].x2=(M=C.x2,(O.x2-M)*x+M),t[h].y2=(k=C.y2,(O.y2-k)*x+k)):t[h].r=(T=C.r,(O.r-T)*x+T)}else if(f)p(w,n[s],o[s],x),a||(t[h]=v(w));else{var I,D=(I=n[s],(o[s]-I)*x+I);a?this._additiveValue=D:t[h]=D}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,r=this.propName,n=this._additiveValue;0===e?t[r]=t[r]+n:3===e?(u.parse(t[r],b),d(b,b,n,1),t[r]=v(b)):1===e?d(t[r],t[r],n,1):2===e&&g(t[r],t[r],n,1)},t}();let w=function(){function t(t,e,r,n){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n)?(0,i.logError)("Can' use additive animation on looped animation."):(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(t){this._target=t},t.prototype.when=function(t,e,r){return this.whenWithKeys(t,e,(0,i.keys)(e),r)},t.prototype.whenWithKeys=function(t,e,r,n){for(var i=this._tracks,o=0;o<r.length;o++){var a=r[o],s=i[a];if(!s){s=i[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=v(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,y(l),n),this._trackKeys.push(a)}s.addKeyframe(t,y(e[a]),n)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,r=0;r<e;r++)t[r].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var r=0;r<e.length;r++)e[r].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,r=0;r<e.length;r++)t[e[r]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,r=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,c=u.length;if(a.prepare(n,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=u[c-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else r.push(a)}if(r.length||this._force){var f=new l({life:n,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var n=e._additiveAnimators;if(n){for(var i=!1,o=0;o<n.length;o++)if(n[o]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(var o=0;o<r.length;o++)r[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,i.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<t.length;i++){var o=r[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,i=0;i<n.length;i++)if(!r[n[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,r){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[r?0:a.length-1];s&&(t[i]=y(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,i.keys)(t);for(var r=0;r<e.length;r++){var n=e[r],o=this._tracks[n];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[n]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},58933(t,e,r){"use strict";r.d(e,{A:()=>n});let n=r(88934).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},23623(t,e,r){"use strict";r.d(e,{ZQ:()=>b,V$:()=>O,Xi:()=>C});var n=r(48504),i=r(71874),o=r(17474),a=r(7544),s=r(60358),l=r(62963),u=r(43190),c=r(60969);function h(t){var e,r,n=t.style,i=n.lineDash&&n.lineWidth>0&&(e=n.lineDash,r=n.lineWidth,e&&"solid"!==e&&r>0?"dashed"===e?[4*r,2*r]:"dotted"===e?[r]:(0,c.isNumber)(e)?[e]:(0,c.isArray)(e)?e:null:null),o=n.lineDashOffset;if(i){var a=n.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(i=(0,c.map)(i,function(t){return t/a}),o/=a)}return[i,o]}var f=r(15663),p=r(17578),d=new i.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function b(t,e,r){var n=(0,o.OD)(e.image,e.__image,r);if((0,o.xA)(n)){var i=t.createPattern(n,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*c.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}var x=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,r,i,o){var a=!1;if(!i&&e===(r=r||{}))return!1;if(i||e.opacity!==r.opacity){k(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?n.oN.opacity:s}(i||e.blend!==r.blend)&&(a||(k(t,o),a=!0),t.globalCompositeOperation=e.blend||n.oN.blend);for(var l=0;l<x.length;l++){var u=x[l];(i||e[u]!==r[u])&&(a||(k(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(i||e.shadowColor!==r.shadowColor)&&(a||(k(t,o),a=!0),t.shadowColor=e.shadowColor||n.oN.shadowColor),a}function A(t,e,r,n,i){var o=T(e,i.inHover),a=n?null:r&&T(r,i.inHover)||{};if(o===a)return!1;var s=S(t,o,a,n,i);if((n||o.fill!==a.fill)&&(s||(k(t,i),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(k(t,i),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(n||o.opacity!==a.opacity)&&(s||(k(t,i),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(k(t,i),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var c=w[u],h=c[0];(n||o[h]!==a[h])&&(s||(k(t,i),s=!0),t[h]=o[h]||c[1])}return s}function M(t,e){var r=e.transform,n=t.dpr||1;r?t.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):t.setTransform(n,0,0,n,0,0)}function k(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function T(t,e){return e&&t.__hoverStyle||t.style}function C(t,e){O(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function O(t,e,r,n){var i,c=e.transform;if(!e.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){e.__dirty&=~f.M,e.__isRendered=!1;return}var y=e.__clipPaths,x=r.prevElClipPaths,w=!1,C=!1;if(!x||(0,a.KU)(y,x)){if(x&&x.length&&(k(t,r),t.restore(),C=w=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),y&&y.length){k(t,r),t.save();for(var E=!1,I=0;I<y.length;I++){var D=y[I];E=E||D.isZeroArea(),M(t,D),t.beginPath(),D.buildPath(t,D.shape),t.clip()}r.allClipped=E,w=!0}r.prevElClipPaths=y}if(r.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var R=r.prevEl;R||(C=w=!0);var L=e instanceof s.Ay&&e.autoBatch&&(F=v(B=e.style),N=g(B),!(B.lineDash||!(F^N)||F&&"string"!=typeof B.fill||N&&"string"!=typeof B.stroke||B.strokePercent<1||B.strokeOpacity<1||B.fillOpacity<1));!w&&(z=R.transform,c&&z?c[0]===z[0]&&c[1]===z[1]&&c[2]===z[2]&&c[3]===z[3]&&c[4]===z[4]&&c[5]===z[5]:+(!c&&!z))?L||k(t,r):(k(t,r),M(t,e));var P=T(e,r.inHover);if(e instanceof s.Ay)1!==r.lastDrawType&&(C=!0,r.lastDrawType=1),A(t,e,R,C,r),L&&(r.batchFill||r.batchStroke)||t.beginPath(),function(t,e,r,n){var i,o,s,l=g(r),u=v(r),c=r.strokePercent,p=c<1,y=!e.path;(!e.silent||p)&&y&&e.createPathProxy();var x=e.path||d,w=e.__dirty;if(!n){var S=r.fill,A=r.stroke,M=u&&!!S.colorStops,k=l&&!!A.colorStops,T=u&&!!S.image,C=l&&!!A.image,O=void 0,E=void 0,I=void 0,D=void 0,R=void 0;(M||k)&&(R=e.getBoundingRect()),M&&(O=w?(0,a.Ff)(t,S,R):e.__canvasFillGradient,e.__canvasFillGradient=O),k&&(E=w?(0,a.Ff)(t,A,R):e.__canvasStrokeGradient,e.__canvasStrokeGradient=E),T&&(I=w||!e.__canvasFillPattern?b(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=I),C&&(D=w||!e.__canvasStrokePattern?b(t,A,e):e.__canvasStrokePattern,e.__canvasStrokePattern=I),M?t.fillStyle=O:T&&(I?t.fillStyle=I:u=!1),k?t.strokeStyle=E:C&&(D?t.strokeStyle=D:l=!1)}var L=e.getGlobalScale();x.setScale(L[0],L[1],e.segmentIgnoreThreshold),t.setLineDash&&r.lineDash&&(o=(i=h(e))[0],s=i[1]);var P=!0;(y||w&f.Dl)&&(x.setDPR(t.dpr),p?x.setContext(null):(x.setContext(t),P=!1),x.reset(),e.buildPath(x,e.shape,n),x.toStatic(),e.pathUpdated()),P&&x.rebuildPath(t,p?c:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!n&&(r.strokeFirst?(l&&_(t,r),u&&m(t,r)):(u&&m(t,r),l&&_(t,r))),o&&t.setLineDash([])}(t,e,P,L),L&&(r.batchFill=P.fill||"",r.batchStroke=P.stroke||"");else if(e instanceof u.A){3!==r.lastDrawType&&(C=!0,r.lastDrawType=3),A(t,e,R,C,r);var B,F,N,z,j,H=P.text;if(null!=H&&(H+=""),H){t.font=P.font||p.OH,t.textAlign=P.textAlign,t.textBaseline=P.textBaseline;var V=void 0,U=void 0;t.setLineDash&&P.lineDash&&(V=(j=h(e))[0],U=j[1]),V&&(t.setLineDash(V),t.lineDashOffset=U),P.strokeFirst?(g(P)&&t.strokeText(H,P.x,P.y),v(P)&&t.fillText(H,P.x,P.y)):(v(P)&&t.fillText(H,P.x,P.y),g(P)&&t.strokeText(H,P.x,P.y)),V&&t.setLineDash([])}}else e instanceof l.Ay?(2!==r.lastDrawType&&(C=!0,r.lastDrawType=2),i=C,S(t,T(e,r.inHover),R&&T(R,r.inHover),i,r),function(t,e,r){var n=e.__image=(0,o.OD)(r.image,e.__image,e,e.onload);if(n&&(0,o.xA)(n)){var i=r.x||0,a=r.y||0,s=e.getWidth(),l=e.getHeight(),u=n.width/n.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=n.width,l=n.height),r.sWidth&&r.sHeight){var c=r.sx||0,h=r.sy||0;t.drawImage(n,c,h,r.sWidth,r.sHeight,i,a,s,l)}else if(r.sx&&r.sy){var c=r.sx,h=r.sy,f=s-c,p=l-h;t.drawImage(n,c,h,f,p,i,a,s,l)}else t.drawImage(n,i,a,s,l)}}(t,e,P)):e.getTemporalDisplayables&&(4!==r.lastDrawType&&(C=!0,r.lastDrawType=4),function(t,e,r){var n,i,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover};for(n=e.getCursor(),i=o.length;n<i;n++){var l=o[n];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),O(t,l,s,n===i-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),O(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,r));L&&n&&k(t,r),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),r.prevEl=e,e.__dirty=0,e.__isRendered=!0}},7544(t,e,r){"use strict";function n(t){return isFinite(t)}function i(t,e,r){for(var i,o,a,s,l,u,c,h,f,p,d="radial"===e.type?(a=Math.min(i=r.width,o=r.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*i+r.x,l=l*o+r.y,u*=a),s=n(s)?s:.5,l=n(l)?l:.5,u=u>=0&&n(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(c=null==e.x?0:e.x,h=null==e.x2?1:e.x2,f=null==e.y?0:e.y,p=null==e.y2?0:e.y2,e.global||(c=c*r.width+r.x,h=h*r.width+r.x,f=f*r.height+r.y,p=p*r.height+r.y),c=n(c)?c:0,h=n(h)?h:1,f=n(f)?f:0,p=n(p)?p:0,t.createLinearGradient(c,f,h,p)),g=e.colorStops,y=0;y<g.length;y++)d.addColorStop(g[y].offset,g[y].color);return d}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,r){var n=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=r[n]&&"auto"!==r[n])return parseFloat(r[n]);var l=document.defaultView.getComputedStyle(t);return(t[i]||a(l[n])||a(t.style[n]))-(a(l[o])||0)-(a(l[s])||0)|0}r.d(e,{Ff:()=>i,KU:()=>o,YC:()=>s})},7551(t,e,r){"use strict";r.d(e,{Y5:()=>o,_S:()=>s,el:()=>l,ps:()=>a,tY:()=>u});var n=r(88934),i=1;n.A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i,a=.4,s="#333",l="#ccc",u="#eee"},76479(t,e,r){"use strict";r.d(e,{NO:()=>u,RG:()=>s,X4:()=>d,ks:()=>f,ll:()=>c,lo:()=>p,sZ:()=>h});var n=r(87443),i=r(8684),o=r(17578),a={};function s(t,e){var r=a[e=e||o.OH];r||(r=a[e]=new i.Ay(500));var n=r.get(t);return null==n&&(n=o.yh.measureText(t,e).width,r.put(t,n)),n}function l(t,e,r,i){var o=s(t,e),a=f(e),l=c(0,o,r),u=h(0,a,i);return new n.A(l,u,o,a)}function u(t,e,r,i){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,r,i);for(var a=new n.A(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,r,i);0===s?a.copy(u):a.union(u)}return a}function c(t,e,r){return"right"===r?t-=e:"center"===r&&(t-=e/2),t}function h(t,e,r){return"middle"===r?t-=e/2:"bottom"===r&&(t-=e),t}function f(t){return s("国",t)}function p(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,r){var n=e.position||"inside",i=null!=e.distance?e.distance:5,o=r.height,a=r.width,s=o/2,l=r.x,u=r.y,c="left",h="top";if(n instanceof Array)l+=p(n[0],r.width),u+=p(n[1],r.height),c=null,h=null;else switch(n){case"left":l-=i,u+=s,c="right",h="middle";break;case"right":l+=i+a,u+=s,h="middle";break;case"top":l+=a/2,u-=i,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=a-i,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,h="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}},98504(t,e,r){"use strict";r.d(e,{n:()=>i});var n=2*Math.PI;function i(t){return(t%=n)<0&&(t+=n),t}},56638(t,e,r){"use strict";function n(t,e,r,n,i,o){if(o>e&&o>n||o<e&&o<n||n===e)return 0;var a=(o-e)/(n-e),s=n<e?1:-1;(1===a||0===a)&&(s=n<e?.5:-.5);var l=a*(r-t)+t;return l===i?1/0:l>i?s:0}r.d(e,{A:()=>n})},87443(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r(67612),i=r(92443),o=Math.min,a=Math.max,s=new i.A,l=new i.A,u=new i.A,c=new i.A,h=new i.A,f=new i.A;let p=function(){function t(t,e,r,n){r<0&&(t+=r,r=-r),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=r,this.height=n}return t.prototype.union=function(t){var e=o(t.x,this.x),r=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,r=t.height/this.height,i=n.create();return n.translate(i,i,[-this.x,-this.y]),n.scale(i,i,[e,r]),n.translate(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,r){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,c=e.y,p=e.y+e.height,d=!(o<l||u<n||s<c||p<a);if(r){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-n),_=Math.abs(s-c),b=Math.abs(p-a),x=Math.min(v,m),w=Math.min(_,b);o<l||u<n?x>y&&(y=x,v<m?i.A.set(f,-v,0):i.A.set(f,m,0)):x<g&&(g=x,v<m?i.A.set(h,v,0):i.A.set(h,-m,0)),s<c||p<a?w>y&&(y=w,_<b?i.A.set(f,0,-_):i.A.set(f,0,b)):x<g&&(g=x,_<b?i.A.set(h,0,_):i.A.set(h,0,-b))}return r&&i.A.copy(r,d?h:f),d},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,r,n){if(!n){e!==r&&t.copy(e,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],h=n[3],f=n[4],p=n[5];e.x=r.x*i+f,e.y=r.y*h+p,e.width=r.width*i,e.height=r.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=r.x,s.y=c.y=r.y,l.x=c.x=r.x+r.width,l.y=u.y=r.y+r.height,s.transform(n),c.transform(n),l.transform(n),u.transform(n),e.x=o(s.x,l.x,u.x,c.x),e.y=o(s.y,l.y,u.y,c.y);var d=a(s.x,l.x,u.x,c.x),g=a(s.y,l.y,u.y,c.y);e.width=d-e.x,e.height=g-e.y},t}()},54714(t,e,r){"use strict";r.d(e,{A:()=>n});let n=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(n=r,r=e,e=null),!r||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a<i[t].length;a++)if(i[t][a].h===r)return this;var s={h:r,query:e,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=i[t].length-1,u=i[t][l];return u&&u.callAtLast?i[t].splice(l,0,s):i[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var n=[],i=0,o=r[t].length;i<o;i++)r[t][i].h!==e&&n.push(r[t][i]);r[t]=n}r[t]&&0===r[t].length&&delete r[t]}else delete r[t];return this},t.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],i=this._$eventProcessor;if(n)for(var o=e.length,a=n.length,s=0;s<a;s++){var l=n[s];if(!i||!i.filter||null==l.query||i.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],i=this._$eventProcessor;if(n)for(var o=e.length,a=e[o-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}()},8684(t,e,r){"use strict";r.d(e,{Ay:()=>o});var n=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();let o=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,i=this._map,o=null;if(null==i[t]){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=r.head;r.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,r.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},37959(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(92443),i=[0,0],o=[0,0],a=new n.A,s=new n.A;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new n.A;for(var r=0;r<2;r++)this._axes[r]=new n.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var r=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,l),r[3].set(o,l),e)for(var u=0;u<4;u++)r[u].transform(e);n.A.sub(i[0],r[1],r[0]),n.A.sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(r[0])},t.prototype.intersect=function(t,e){var r=!0,i=!e;return(a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(r=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(r=!1,i))?r:(i||n.A.copy(e,r?a:s),r)},t.prototype._intersectCheckOneSide=function(t,e,r,a,s,l){for(var u=!0,c=0;c<2;c++){var h=this._axes[c];if(this._getProjMinMaxOnAxis(c,t._corners,i),this._getProjMinMaxOnAxis(c,e._corners,o),i[1]<o[0]||i[0]>o[1]){if(u=!1,s)return u;var f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)>a.len()&&(f<p?n.A.scale(a,h,-f*l):n.A.scale(a,h,p*l))}else if(r){var f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)<r.len()&&(f<p?n.A.scale(r,h,f*l):n.A.scale(r,h,-p*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var n=this._axes[t],i=this._origin,o=e[0].dot(n)+i[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(n)+i[t];a=Math.min(u,a),s=Math.max(u,s)}r[0]=a,r[1]=s},t}()},71874(t,e,r){"use strict";r.d(e,{A:()=>P});var n=r(20914),i=r(87443),o=r(7551),a=r(46854),s=Math.min,l=Math.max,u=Math.sin,c=Math.cos,h=2*Math.PI,f=n.create(),p=n.create(),d=n.create();function g(t,e,r,n,i,o){i[0]=s(t,r),i[1]=s(e,n),o[0]=l(t,r),o[1]=l(e,n)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],b=[],x=[],w=[],S=[],A=[],M=Math.min,k=Math.max,T=Math.cos,C=Math.sin,O=Math.abs,E=Math.PI,I=2*E,D="u">typeof Float32Array,R=[];function L(t){return Math.round(t/E*1e8)/1e8%2*E}let P=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,r){(r=r||0)>0&&(this._ux=O(r/o.Y5/t)||0,this._uy=O(r/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var r=O(t-this._xi),n=O(e-this._yi),i=r>this._ux||n>this._uy;if(this.addData(m.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=r*r+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,r,n,i,o){return this._drawPendingPt(),this.addData(m.C,t,e,r,n,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,r,n,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,r,n){return this._drawPendingPt(),this.addData(m.Q,t,e,r,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,n),this._xi=r,this._yi=n,this},e.prototype.arc=function(t,e,r,n,i,o){this._drawPendingPt(),R[0]=n,R[1]=i,(a=L(R[0]))<0&&(a+=I),s=a-R[0],l=R[1]+s,!o&&l-a>=I?l=a+I:o&&a-l>=I?l=a-I:!o&&a>l?l=a+(I-L(a-l)):o&&a<l&&(l=a-(I-L(l-a))),R[0]=a,R[1]=l,n=R[0];var a,s,l,u=(i=R[1])-n;return this.addData(m.A,t,e,r,r,n,u,0,+!o),this._ctx&&this._ctx.arc(t,e,r,n,i,o),this._xi=T(i)*r+t,this._yi=C(i)*r+e,this},e.prototype.arcTo=function(t,e,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,n,i),this},e.prototype.rect=function(t,e,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,n),this.addData(m.R,t,e,r,n),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&D&&(this.data=new Float32Array(e));for(var r=0;r<e;r++)this.data[r]=t[r];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,r=0,n=this._len,i=0;i<e;i++)r+=t[i].len();D&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+r));for(var i=0;i<e;i++)for(var o=t[i].data,a=0;a<o.length;a++)this.data[n++]=o[a];this._len=n},e.prototype.addData=function(t,e,r,n,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,D&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){x[0]=x[1]=S[0]=S[1]=Number.MAX_VALUE,w[0]=w[1]=A[0]=A[1]=-Number.MAX_VALUE;var t,e=this.data,r=0,o=0,_=0,b=0;for(t=0;t<this._len;){var M=e[t++],k=1===t;switch(k&&(r=e[t],o=e[t+1],_=r,b=o),M){case m.M:r=_=e[t++],o=b=e[t++],S[0]=_,S[1]=b,A[0]=_,A[1]=b;break;case m.L:g(r,o,e[t],e[t+1],S,A),r=e[t++],o=e[t++];break;case m.C:!function(t,e,r,n,i,o,u,c,h,f){var p=a.lX,d=a.Yb,g=p(t,r,i,u,y);h[0]=1/0,h[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var m=0;m<g;m++){var _=d(t,r,i,u,y[m]);h[0]=s(_,h[0]),f[0]=l(_,f[0])}g=p(e,n,o,c,v);for(var m=0;m<g;m++){var b=d(e,n,o,c,v[m]);h[1]=s(b,h[1]),f[1]=l(b,f[1])}h[0]=s(t,h[0]),f[0]=l(t,f[0]),h[0]=s(u,h[0]),f[0]=l(u,f[0]),h[1]=s(e,h[1]),f[1]=l(e,f[1]),h[1]=s(c,h[1]),f[1]=l(c,f[1])}(r,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],S,A),r=e[t++],o=e[t++];break;case m.Q:!function(t,e,r,n,i,o,u,c){var h=a.gC,f=a.k3,p=l(s(h(t,r,i),1),0),d=l(s(h(e,n,o),1),0),g=f(t,r,i,p),y=f(e,n,o,d);u[0]=s(t,i,g),u[1]=s(e,o,y),c[0]=l(t,i,g),c[1]=l(e,o,y)}(r,o,e[t++],e[t++],e[t],e[t+1],S,A),r=e[t++],o=e[t++];break;case m.A:var O=e[t++],E=e[t++],I=e[t++],D=e[t++],R=e[t++],L=e[t++]+R;t+=1;var P=!e[t++];k&&(_=T(R)*I+O,b=C(R)*D+E),function(t,e,r,i,o,a,s,l,g){var y=n.min,v=n.max,m=Math.abs(o-a);if(m%h<1e-4&&m>1e-4){l[0]=t-r,l[1]=e-i,g[0]=t+r,g[1]=e+i;return}if(f[0]=c(o)*r+t,f[1]=u(o)*i+e,p[0]=c(a)*r+t,p[1]=u(a)*i+e,y(l,f,p),v(g,f,p),(o%=h)<0&&(o+=h),(a%=h)<0&&(a+=h),o>a&&!s?a+=h:o<a&&s&&(o+=h),s){var _=a;a=o,o=_}for(var b=0;b<a;b+=Math.PI/2)b>o&&(d[0]=c(b)*r+t,d[1]=u(b)*i+e,y(l,d,l),v(g,d,g))}(O,E,I,D,R,L,P,S,A),r=T(L)*I+O,o=C(L)*D+E;break;case m.R:g(_=r=e[t++],b=o=e[t++],_+e[t++],b+e[t++],S,A);break;case m.Z:r=_,o=b}n.min(x,x,S),n.max(w,w,A)}return 0===t&&(x[0]=x[1]=w[0]=w[1]=0),new i.A(x[0],x[1],w[0]-x[0],w[1]-x[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,r=this._ux,n=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,h=0,f=0;f<e;){var p=t[f++],d=1===f;d&&(i=t[f],o=t[f+1],s=i,l=o);var g=-1;switch(p){case m.M:i=s=t[f++],o=l=t[f++];break;case m.L:var y=t[f++],v=t[f++],_=y-i,b=v-o;(O(_)>r||O(b)>n||f===e-1)&&(g=Math.sqrt(_*_+b*b),i=y,o=v);break;case m.C:var x=t[f++],w=t[f++],y=t[f++],v=t[f++],S=t[f++],A=t[f++];g=(0,a.h0)(i,o,x,w,y,v,S,A,10),i=S,o=A;break;case m.Q:var x=t[f++],w=t[f++],y=t[f++],v=t[f++];g=(0,a.d8)(i,o,x,w,y,v,10),i=y,o=v;break;case m.A:var E=t[f++],D=t[f++],R=t[f++],L=t[f++],P=t[f++],B=t[f++],F=B+P;f+=1,d&&(s=T(P)*R+E,l=C(P)*L+D),g=k(R,L)*M(I,Math.abs(B)),i=T(F)*R+E,o=C(F)*L+D;break;case m.R:s=i=t[f++],l=o=t[f++],g=2*t[f++]+2*t[f++];break;case m.Z:var _=s-i,b=l-o;g=Math.sqrt(_*_+b*b),i=s,o=l}g>=0&&(u[h++]=g,c+=g)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,e){var r,n,i,o,s,l,u,c,h,f,p=this.data,d=this._ux,g=this._uy,y=this._len,v=e<1,x=0,w=0,S=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,c=e*this._pathLen))n:for(var A=0;A<y;){var E=p[A++],I=1===A;switch(I&&(i=p[A],o=p[A+1],r=i,n=o),E!==m.L&&S>0&&(t.lineTo(h,f),S=0),E){case m.M:r=i=p[A++],n=o=p[A++],t.moveTo(i,o);break;case m.L:s=p[A++],l=p[A++];var D=O(s-i),R=O(l-o);if(D>d||R>g){if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;t.lineTo(i*(1-P)+s*P,o*(1-P)+l*P);break n}x+=L}t.lineTo(s,l),i=s,o=l,S=0}else{var B=D*D+R*R;B>S&&(h=s,f=l,S=B)}break;case m.C:var F=p[A++],N=p[A++],z=p[A++],j=p[A++],H=p[A++],V=p[A++];if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;(0,a.YT)(i,F,z,H,P,_),(0,a.YT)(o,N,j,V,P,b),t.bezierCurveTo(_[1],b[1],_[2],b[2],_[3],b[3]);break n}x+=L}t.bezierCurveTo(F,N,z,j,H,V),i=H,o=V;break;case m.Q:var F=p[A++],N=p[A++],z=p[A++],j=p[A++];if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;(0,a.kx)(i,F,z,P,_),(0,a.kx)(o,N,j,P,b),t.quadraticCurveTo(_[1],b[1],_[2],b[2]);break n}x+=L}t.quadraticCurveTo(F,N,z,j),i=z,o=j;break;case m.A:var U=p[A++],W=p[A++],q=p[A++],Z=p[A++],G=p[A++],$=p[A++],Y=p[A++],X=!p[A++],K=q>Z?q:Z,J=O(q-Z)>.001,Q=G+$,tt=!1;if(v){var L=u[w++];x+L>c&&(Q=G+$*(c-x)/L,tt=!0),x+=L}if(J&&t.ellipse?t.ellipse(U,W,q,Z,Y,G,Q,X):t.arc(U,W,K,G,Q,X),tt)break n;I&&(r=T(G)*q+U,n=C(G)*Z+W),i=T(Q)*q+U,o=C(Q)*Z+W;break;case m.R:r=i=p[A],n=o=p[A+1],s=p[A++],l=p[A++];var te=p[A++],tr=p[A++];if(v){var L=u[w++];if(x+L>c){var tn=c-x;t.moveTo(s,l),t.lineTo(s+M(tn,te),l),(tn-=te)>0&&t.lineTo(s+te,l+M(tn,tr)),(tn-=tr)>0&&t.lineTo(s+k(te-tn,0),l+tr),(tn-=te)>0&&t.lineTo(s,l+k(tr-tn,0));break n}x+=L}t.rect(s,l,te,tr);break;case m.Z:if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;t.lineTo(i*(1-P)+r*P,o*(1-P)+n*P);break n}x+=L}t.closePath(),i=r,o=n}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},92443(t,e,r){"use strict";r.d(e,{A:()=>n});let n=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,r){t.x=e,t.y=r},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,r){t.x=e.x+r.x,t.y=e.y+r.y},t.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},t.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},t.scaleAndAdd=function(t,e,r,n){t.x=e.x+r.x*n,t.y=e.y+r.y*n},t.lerp=function(t,e,r,n){var i=1-n;t.x=i*e.x+n*r.x,t.y=i*e.y+n*r.y},t}()},82393(t,e,r){"use strict";r.d(e,{Ay:()=>p,Wx:()=>f});var n=r(67612),i=r(20914),o=n.identity;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=n.create(),c=Math.abs,h=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;if(!(e||t)){r&&(o(r),this.invTransform=null);return}r=r||n.create(),e?this.getLocalTransform(r):o(r),t&&(e?n.mul(r,t,r):n.copy(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var r=s[0]<0?-1:1,i=s[1]<0?-1:1,o=((s[0]-r)*e+r)/s[0]||0,a=((s[1]-i)*e+i)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),i=Math.PI/2+n-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||n.create(),n.mul(l,t.invTransform,e),e=l);var r=this.originX,i=this.originY;(r||i)&&(u[4]=r,u[5]=i,n.mul(l,e,u),l[4]-=r,l[5]-=i,e=l),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var r=[t,e],n=this.invTransform;return n&&i.applyTransform(r,r,n),r},e.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&i.applyTransform(r,r,n),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){for(var e=this,r=t,n=0;n<f.length;n++){var i=f[n];e[i]=r[i]}},e.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||l){var d=r+s,g=i+l;e[4]=-d*o-f*g*a,e[5]=-g*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,u&&n.rotate(e,e,u),e[4]+=r+c,e[5]+=i+h,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let p=h},46854(t,e,r){"use strict";r.d(e,{Et:()=>m,YT:()=>v,Yb:()=>p,_E:()=>g,d8:()=>k,gC:()=>S,h0:()=>_,k3:()=>b,kh:()=>M,kx:()=>A,lX:()=>y,qY:()=>w,rD:()=>d,z7:()=>x});var n=r(20914),i=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,n.create)(),u=(0,n.create)(),c=(0,n.create)();function h(t){return t>-1e-8&&t<1e-8}function f(t){return t>1e-8||t<-1e-8}function p(t,e,r,n,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*n+3*o*r)}function d(t,e,r,n,i){var o=1-i;return 3*(((e-t)*o+2*(r-e)*i)*o+(n-r)*i*i)}function g(t,e,r,n,l,u){var c=n+3*(e-r)-t,f=3*(r-2*e+t),p=3*(e-t),d=t-l,g=f*f-3*c*p,y=f*p-9*c*d,v=p*p-3*f*d,m=0;if(h(g)&&h(y))if(h(f))u[0]=0;else{var _=-p/f;_>=0&&_<=1&&(u[m++]=_)}else{var b=y*y-4*g*v;if(h(b)){var x=y/g,_=-f/c+x,w=-x/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(b>0){var S=o(b),A=g*f+1.5*c*(-y+S),M=g*f+1.5*c*(-y-S),_=(-f-((A=A<0?-i(-A,s):i(A,s))+(M=M<0?-i(-M,s):i(M,s))))/(3*c);_>=0&&_<=1&&(u[m++]=_)}else{var k=Math.acos((2*g*f-3*c*y)/(2*o(g*g*g)))/3,T=o(g),C=Math.cos(k),_=(-f-2*T*C)/(3*c),w=(-f+T*(C+a*Math.sin(k)))/(3*c),O=(-f+T*(C-a*Math.sin(k)))/(3*c);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),O>=0&&O<=1&&(u[m++]=O)}}return m}function y(t,e,r,n,i){var a=6*r-12*e+6*t,s=9*e+3*n-3*t-9*r,l=3*e-3*t,u=0;if(h(s)){if(f(a)){var c=-l/a;c>=0&&c<=1&&(i[u++]=c)}}else{var p=a*a-4*s*l;if(h(p))i[0]=-a/(2*s);else if(p>0){var d=o(p),c=(-a+d)/(2*s),g=(-a-d)/(2*s);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u}function v(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,l=(n-r)*i+r,u=(s-a)*i+a,c=(l-s)*i+s,h=(c-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=n}function m(t,e,r,i,a,s,h,f,d,g,y){var v,m,_,b,x,w=.005,S=1/0;l[0]=d,l[1]=g;for(var A=0;A<1;A+=.05)u[0]=p(t,r,a,h,A),u[1]=p(e,i,s,f,A),(b=(0,n.distSquare)(l,u))<S&&(v=A,S=b);S=1/0;for(var M=0;M<32&&!(w<1e-4);M++)m=v-w,_=v+w,u[0]=p(t,r,a,h,m),u[1]=p(e,i,s,f,m),b=(0,n.distSquare)(u,l),m>=0&&b<S?(v=m,S=b):(c[0]=p(t,r,a,h,_),c[1]=p(e,i,s,f,_),x=(0,n.distSquare)(c,l),_<=1&&x<S?(v=_,S=x):w*=.5);return y&&(y[0]=p(t,r,a,h,v),y[1]=p(e,i,s,f,v)),o(S)}function _(t,e,r,n,i,o,a,s,l){for(var u=t,c=e,h=0,f=1/l,d=1;d<=l;d++){var g=d*f,y=p(t,r,i,a,g),v=p(e,n,o,s,g),m=y-u,_=v-c;h+=Math.sqrt(m*m+_*_),u=y,c=v}return h}function b(t,e,r,n){var i=1-n;return i*(i*t+2*n*e)+n*n*r}function x(t,e,r,n){return 2*((1-n)*(e-t)+n*(r-e))}function w(t,e,r,n,i){var a=t-2*e+r,s=2*(e-t),l=t-n,u=0;if(h(a)){if(f(s)){var c=-l/s;c>=0&&c<=1&&(i[u++]=c)}}else{var p=s*s-4*a*l;if(h(p)){var c=-s/(2*a);c>=0&&c<=1&&(i[u++]=c)}else if(p>0){var d=o(p),c=(-s+d)/(2*a),g=(-s-d)/(2*a);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u}function S(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function A(t,e,r,n,i){var o=(e-t)*n+t,a=(r-e)*n+e,s=(a-o)*n+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=r}function M(t,e,r,i,a,s,h,f,p){var d,g=.005,y=1/0;l[0]=h,l[1]=f;for(var v=0;v<1;v+=.05){u[0]=b(t,r,a,v),u[1]=b(e,i,s,v);var m=(0,n.distSquare)(l,u);m<y&&(d=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var x=d-g,w=d+g;u[0]=b(t,r,a,x),u[1]=b(e,i,s,x);var m=(0,n.distSquare)(u,l);if(x>=0&&m<y)d=x,y=m;else{c[0]=b(t,r,a,w),c[1]=b(e,i,s,w);var S=(0,n.distSquare)(c,l);w<=1&&S<y?(d=w,y=S):g*=.5}}return p&&(p[0]=b(t,r,a,d),p[1]=b(e,i,s,d)),o(y)}function k(t,e,r,n,i,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var f=h*c,p=b(t,r,i,f),d=b(e,n,o,f),g=p-s,y=d-l;u+=Math.sqrt(g*g+y*y),s=p,l=d}return u}},45175(t,e,r){"use strict";r.d(e,{lJ:()=>u,Me:()=>d,ot:()=>h,oq:()=>c});var n=r(88934),i=Math.log(2);function o(t,e,r,n,a,s){var l=n+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<<u)-1&~a)/i);return t[r][c]}for(var h=n|1<<r,f=r+1;n&1<<f;)f++;for(var p=0,d=0,g=0;d<u;d++){var y=1<<d;!(y&a)&&(p+=(g%2?-1:1)*t[r][d]*o(t,e-1,f,h,a|y,s),g++)}return s[l]=p,p}function a(t,e){var r=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},i=o(r,8,0,0,0,n);if(0!==i){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(r,7,+(0===s),1<<s,1<<l,n)/i*e[s];return function(t,e,r){var n=e*a[6]+r*a[7]+1;t[0]=(e*a[0]+r*a[1]+a[2])/n,t[1]=(e*a[3]+r*a[4]+a[5])/n}}}var s="___zrEVENTSAVED",l=[];function u(t,e,r,n,i){return c(l,e,n,i,!0)&&c(t,r,l[0],l[1])}function c(t,e,r,i,o){if(e.getBoundingClientRect&&n.A.domSupported&&!h(e)){var l=e[s]||(e[s]={}),u=function(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],o=e.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),f=2*c,p=h.left,d=h.top;s.push(p,d),u=u&&o&&p===o[f]&&d===o[f+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return u&&i?i:(e.srcCoords=s,e[n]=r?a(l,s):a(s,l))}(function(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var n=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}(e,l),l,o);if(u)return u(t,r,i),!0}return!1}function h(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function d(t){return null==t?"":(t+"").replace(f,function(t,e){return p[e]})}},88934(t,e,r){"use strict";r.d(e,{A:()=>p});var n,i,o,a,s,l,u,c,h=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},f=new function(){this.browser=new h,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="u">typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(f.wxa=!0,f.touchEventsSupported=!0):"u"<typeof document&&"u">typeof self?f.worker=!0:!f.hasGlobalWindow||"Deno"in window?(f.node=!0,f.svgSupported=!0):(n=navigator.userAgent,o=(i=f).browser,a=n.match(/Firefox\/([\d.]+)/),s=n.match(/MSIE\s([\d.]+)/)||n.match(/Trident\/.+?rv:(([\d.]+))/),l=n.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(n),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),i.svgSupported="u">typeof SVGRect,i.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,i.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),i.domSupported="u">typeof document,c=document.documentElement.style,i.transform3dSupported=(o.ie&&"transition"in c||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in c)&&!("OTransition"in c),i.transformSupported=i.transform3dSupported||o.ie&&+o.version>=9);let p=f},59433(t,e,r){"use strict";r.d(e,{W5:()=>g,Yo:()=>l,ds:()=>d,e0:()=>h,f:()=>p,mK:()=>c,q2:()=>f});var n=r(88934),i=r(45175),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=n.A.browser.firefox&&39>+n.A.browser.version.split(".")[0];function l(t,e,r,n){return r=r||{},n?u(t,e,r):s&&null!=e.layerX&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):null!=e.offsetX?(r.zrX=e.offsetX,r.zrY=e.offsetY):u(t,e,r),r}function u(t,e,r){if(n.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.ot)(t)){var l=t.getBoundingClientRect();r.zrX=o-l.left,r.zrY=s-l.top;return}if((0,i.oq)(a,t,o,s)){r.zrX=a[0],r.zrY=a[1];return}}r.zrX=r.zrY=0}function c(t){return t||window.event}function h(t,e,r){if(null!=(e=c(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var i="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];i&&l(t,i,e,r)}else{l(t,e,e,r);var a=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;return null==r||null==n?e:3*(0!==n?Math.abs(n):Math.abs(r))*(n>0?-1:n<0?1:r>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function f(t,e,r,n){t.addEventListener(e,r,n)}function p(t,e,r,n){t.removeEventListener(e,r,n)}var d=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},67612(t,e,r){"use strict";function n(){return[1,0,0,1,0,0]}function i(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,r){var n=e[0]*r[0]+e[2]*r[1],i=e[1]*r[0]+e[3]*r[1],o=e[0]*r[2]+e[2]*r[3],a=e[1]*r[2]+e[3]*r[3],s=e[0]*r[4]+e[2]*r[5]+e[4],l=e[1]*r[4]+e[3]*r[5]+e[5];return t[0]=n,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,r){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+r[0],t[5]=e[5]+r[1],t}function l(t,e,r,n){void 0===n&&(n=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(r),h=Math.cos(r);return t[0]=i*h+s*c,t[1]=-i*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-n[0])+c*(u-n[1])+n[0],t[5]=h*(u-n[1])-c*(a-n[0])+n[1],t}function u(t,e,r){var n=r[0],i=r[1];return t[0]=e[0]*n,t[1]=e[1]*i,t[2]=e[2]*n,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*i,t}function c(t,e){var r=e[0],n=e[2],i=e[4],o=e[1],a=e[3],s=e[5],l=r*a-o*n;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-n*l,t[3]=r*l,t[4]=(n*s-a*i)*l,t[5]=(o*i-r*s)*l,t):null}function h(t){var e=n();return o(e,t),e}r.r(e),r.d(e,{clone:()=>h,copy:()=>o,create:()=>n,identity:()=>i,invert:()=>c,mul:()=>a,rotate:()=>l,scale:()=>u,translate:()=>s})},17578(t,e,r){"use strict";r.d(e,{Gs:()=>u,OH:()=>a,gI:()=>o,yh:()=>l});var n,i,o=12,a="12px sans-serif",s=function(t){var e={};if("u"<typeof JSON)return e;for(var r=0;r<t.length;r++){var n=String.fromCharCode(r+32),i=(t.charCodeAt(r)-20)/100;e[n]=i}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"u">typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!n){var r=l.createCanvas();n=r&&r.getContext("2d")}if(n)return i!==e&&(i=n.font=e||a),n.measureText(t);t=t||"",e=e||a;var u=/((?:\d+)?\.?\d*)px/.exec(e),c=u&&+u[1]||o,h=0;if(e.indexOf("mono")>=0)h=c*t.length;else for(var f=0;f<t.length;f++){var p=s[t[f]];h+=null==p?c:p*c}return{width:h}},loadImage:function(t,e,r){var n=new Image;return n.onload=e,n.onerror=r,n.src=t,n}};function u(t){for(var e in l)t[e]&&(l[e]=t[e])}},31223(t,e,r){"use strict";function n(t,e,r,n){var i=e+1;if(i===r)return 1;if(0>n(t[i++],t[e])){for(;i<r&&0>n(t[i],t[i-1]);)i++;var o=t,a=e,s=i;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;i<r&&n(t[i],t[i-1])>=0;)i++;return i-e}function i(t,e,r,n,i){for(n===e&&n++;n<r;n++){for(var o,a=t[n],s=e,l=n;s<l;)0>i(a,t[o=s+l>>>1])?l=o:s=o+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,r,n,i,o){var a=0,s=0,l=1;if(o(t,e[r+i])>0){for(s=n-i;l<s&&o(t,e[r+i+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&0>=o(t,e[r+i-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[r+c])>0?a=c+1:l=c}return l}function a(t,e,r,n,i,o){var a=0,s=0,l=1;if(0>o(t,e[r+i])){for(s=i+1;l<s&&0>o(t,e[r+i-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=n-i;l<s&&o(t,e[r+i+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var c=a+(l-a>>>1);0>o(t,e[r+c])?l=c:a=c+1}return l}function s(t,e,r,s){r||(r=0),s||(s=t.length);var l=s-r;if(!(l<2)){var u=0;if(l<32){u=n(t,r,s,e),i(t,r,s,r+u,e);return}var c=function(t,e){var r,n,i=7,s=0,l=[];function u(u){var c=r[u],h=n[u],f=r[u+1],p=n[u+1];n[u]=h+p,u===s-3&&(r[u+1]=r[u+2],n[u+1]=n[u+2]),s--;var d=a(t[f],t,c,h,0,e);c+=d,0==(h-=d)||0!==(p=o(t[c+h-1],t,f,p,p-1,e))&&(h<=p?function(r,n,s,u){var c,h,f,p=0;for(p=0;p<n;p++)l[p]=t[r+p];var d=0,g=s,y=r;if(t[y++]=t[g++],0==--u){for(p=0;p<n;p++)t[y+p]=l[d+p];return}if(1===n){for(p=0;p<u;p++)t[y+p]=t[g+p];t[y+u]=l[d];return}for(var v=i;;){c=0,h=0,f=!1;do if(0>e(t[g],l[d])){if(t[y++]=t[g++],h++,c=0,0==--u){f=!0;break}}else if(t[y++]=l[d++],c++,h=0,1==--n){f=!0;break}while((c|h)<v);if(f)break;do{if(0!==(c=a(t[g],l,d,n,0,e))){for(p=0;p<c;p++)t[y+p]=l[d+p];if(y+=c,d+=c,(n-=c)<=1){f=!0;break}}if(t[y++]=t[g++],0==--u){f=!0;break}if(0!==(h=o(l[d],t,g,u,0,e))){for(p=0;p<h;p++)t[y+p]=t[g+p];if(y+=h,g+=h,0==(u-=h)){f=!0;break}}if(t[y++]=l[d++],1==--n){f=!0;break}v--}while(c>=7||h>=7);if(f)break;v<0&&(v=0),v+=2}if((i=v)<1&&(i=1),1===n){for(p=0;p<u;p++)t[y+p]=t[g+p];t[y+u]=l[d]}else if(0===n)throw Error();else for(p=0;p<n;p++)t[y+p]=l[d+p]}(c,h,f,p):function(r,n,s,u){var c=0;for(c=0;c<u;c++)l[c]=t[s+c];var h=r+n-1,f=u-1,p=s+u-1,d=0,g=0;if(t[p--]=t[h--],0==--n){for(c=0,d=p-(u-1);c<u;c++)t[d+c]=l[c];return}if(1===u){for(p-=n,h-=n,g=p+1,d=h+1,c=n-1;c>=0;c--)t[g+c]=t[d+c];t[p]=l[f];return}for(var y=i;;){var v=0,m=0,_=!1;do if(0>e(l[f],t[h])){if(t[p--]=t[h--],v++,m=0,0==--n){_=!0;break}}else if(t[p--]=l[f--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=n-a(l[f],t,r,n,n-1,e))){for(p-=v,h-=v,n-=v,g=p+1,d=h+1,c=v-1;c>=0;c--)t[g+c]=t[d+c];if(0===n){_=!0;break}}if(t[p--]=l[f--],1==--u){_=!0;break}if(0!=(m=u-o(t[h],l,0,u,u-1,e))){for(p-=m,f-=m,u-=m,g=p+1,d=f+1,c=0;c<m;c++)t[g+c]=l[d+c];if(u<=1){_=!0;break}}if(t[p--]=t[h--],0==--n){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((i=y)<1&&(i=1),1===u){for(p-=n,h-=n,g=p+1,d=h+1,c=n-1;c>=0;c--)t[g+c]=t[d+c];t[p]=l[f]}else if(0===u)throw Error();else for(c=0,d=p-(u-1);c<u;c++)t[d+c]=l[c]}(c,h,f,p))}return r=[],n=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]<n[t+1]&&t--;else if(n[t]>n[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&n[t-1]<n[t+1]&&t--,u(t)}},pushRun:function(t,e){r[s]=t,n[s]=e,s+=1}}}(t,e),h=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=n(t,r,s,e))<h){var f=l;f>h&&(f=h),i(t,r,r+f,r+u,e),u=f}c.pushRun(r,u),c.mergeRuns(),l-=u,r+=u}while(0!==l);c.forceMergeRuns()}}r.d(e,{A:()=>s})},60969(t,e,r){"use strict";r.r(e),r.d(e,{HashMap:()=>ts,RADIAN_TO_DEGREE:()=>td,assert:()=>tt,bind:()=>L,clone:()=>m,concatArray:()=>tu,createCanvas:()=>S,createHashMap:()=>tl,createObject:()=>tc,curry:()=>P,defaults:()=>w,disableUserSelect:()=>th,each:()=>C,eqNaN:()=>$,extend:()=>x,filter:()=>I,find:()=>D,guid:()=>y,hasOwn:()=>tf,indexOf:()=>A,inherits:()=>M,isArray:()=>B,isArrayLike:()=>T,isBuiltInObject:()=>V,isDom:()=>W,isFunction:()=>F,isGradientObject:()=>q,isImagePatternObject:()=>Z,isNumber:()=>j,isObject:()=>H,isPrimitive:()=>ti,isRegExp:()=>G,isString:()=>N,isStringSafe:()=>z,isTypedArray:()=>U,keys:()=>R,logError:()=>v,map:()=>O,merge:()=>_,mergeAll:()=>b,mixin:()=>k,noop:()=>tp,normalizeCssArray:()=>Q,reduce:()=>E,retrieve:()=>Y,retrieve2:()=>X,retrieve3:()=>K,setAsPrimitive:()=>tn,slice:()=>J,trim:()=>te});var n=r(17578),i=E(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=E(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,f=(function(){}).constructor,p=f?f.prototype:null,d="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"u">typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!t[tr]){e=[];for(var n=0,s=t.length;n<s;n++)e[n]=m(t[n])}}else if(o[r]){if(!t[tr]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var n=0,s=t.length;n<s;n++)e[n]=t[n]}}}else if(!i[r]&&!t[tr]&&!W(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==d&&(e[u]=m(t[u]));return e}function _(t,e,r){if(!H(e)||!H(t))return r?m(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==d){var i=t[n],o=e[n];!(H(o)&&H(i))||B(o)||B(i)||W(o)||W(i)||V(o)||V(i)||o[tr]||i[tr]?!r&&n in t||(t[n]=m(e[n])):_(i,o,r)}return t}function b(t,e){for(var r=t[0],n=1,i=t.length;n<i;n++)r=_(r,t[n],e);return r}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var r in e)e.hasOwnProperty(r)&&r!==d&&(t[r]=e[r]);return t}function w(t,e,r){for(var n=R(e),i=0,o=n.length;i<o;i++){var a=n[i];(r?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var S=n.yh.createCanvas;function A(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r}return -1}function M(t,e){var r=t.prototype;function n(){}for(var i in n.prototype=e.prototype,t.prototype=new n,r)r.hasOwnProperty(i)&&(t.prototype[i]=r[i]);t.prototype.constructor=t,t.superClass=e}function k(t,e,r){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var o=n[i];"constructor"!==o&&(r?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,r)}function T(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function C(t,e,r){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,r);else if(t.length===+t.length)for(var n=0,i=t.length;n<i;n++)e.call(r,t[n],n,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(r,t[o],o,t)}function O(t,e,r){if(!t)return[];if(!e)return J(t);if(t.map&&t.map===h)return t.map(e,r);for(var n=[],i=0,o=t.length;i<o;i++)n.push(e.call(r,t[i],i,t));return n}function E(t,e,r,n){if(t&&e){for(var i=0,o=t.length;i<o;i++)r=e.call(n,r,t[i],i,t);return r}}function I(t,e,r){if(!t)return[];if(!e)return J(t);if(t.filter&&t.filter===u)return t.filter(e,r);for(var n=[],i=0,o=t.length;i<o;i++)e.call(r,t[i],i,t)&&n.push(t[i]);return n}function D(t,e,r){if(t&&e){for(var n=0,i=t.length;n<i;n++)if(e.call(r,t[n],n,t))return t[n]}}function R(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}var L=p&&F(p.bind)?p.call.bind(p.bind):function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return t.apply(e,r.concat(c.call(arguments)))}};function P(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function B(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function F(t){return"function"==typeof t}function N(t){return"string"==typeof t}function z(t){return"[object String]"===a.call(t)}function j(t){return"number"==typeof t}function H(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function V(t){return!!i[a.call(t)]}function U(t){return!!o[a.call(t)]}function W(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function q(t){return null!=t.colorStops}function Z(t){return null!=t.image}function G(t){return"[object RegExp]"===a.call(t)}function $(t){return t!=t}function Y(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0,n=t.length;r<n;r++)if(null!=t[r])return t[r]}function X(t,e){return null!=t?t:e}function K(t,e,r){return null!=t?t:null!=e?e:r}function J(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return c.apply(t,e)}function Q(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw Error(e)}function te(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var tr="__ec_primitive__";function tn(t){t[tr]=!0}function ti(t){return t[tr]}var to=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return R(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)},t}(),ta="function"==typeof Map,ts=function(){function t(e){var r=B(e);this.data=ta?new Map:new to;var n=this;function i(t,e){r?n.set(t,e):n.set(e,t)}e instanceof t?e.each(i):e&&C(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(r,n){t.call(e,r,n)})},t.prototype.keys=function(){var t=this.data.keys();return ta?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tl(t){return new ts(t)}function tu(t,e){for(var r=new t.constructor(t.length+e.length),n=0;n<t.length;n++)r[n]=t[n];for(var i=t.length,n=0;n<e.length;n++)r[n+i]=e[n];return r}function tc(t,e){var r;if(Object.create)r=Object.create(t);else{var n=function(){};n.prototype=t,r=new n}return e&&x(r,e),r}function th(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tf(t,e){return t.hasOwnProperty(e)}function tp(){}var td=180/Math.PI},20914(t,e,r){"use strict";function n(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,r){return t[0]=e,t[1]=r,t}function s(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function l(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t}function u(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function c(t){return Math.sqrt(f(t))}r.r(e),r.d(e,{add:()=>s,applyTransform:()=>M,clone:()=>o,copy:()=>i,create:()=>n,dist:()=>b,distSquare:()=>w,distance:()=>_,distanceSquare:()=>x,div:()=>g,dot:()=>y,len:()=>c,lenSquare:()=>f,length:()=>h,lengthSquare:()=>p,lerp:()=>A,max:()=>T,min:()=>k,mul:()=>d,negate:()=>S,normalize:()=>m,scale:()=>v,scaleAndAdd:()=>l,set:()=>a,sub:()=>u});var h=c;function f(t){return t[0]*t[0]+t[1]*t[1]}var p=f;function d(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t}function g(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function v(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function m(t,e){var r=c(e);return 0===r?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var b=_;function x(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=x;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function A(t,e,r,n){return t[0]=e[0]+n*(r[0]-e[0]),t[1]=e[1]+n*(r[1]-e[1]),t}function M(t,e,r){var n=e[0],i=e[1];return t[0]=r[0]*n+r[2]*i+r[4],t[1]=r[1]*n+r[3]*i+r[5],t}function k(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function T(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}},34742(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(65959),i=r(60358);let o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,n.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),r=0;r<t.length;r++)e=e||t[r].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),r=0;r<t.length;r++)t[r].path||t[r].createPathProxy(),t[r].path.setScale(e[0],e[1],t[r].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var r=e.paths||[],n=0;n<r.length;n++)r[n].buildPath(t,r[n].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),i.Ay.prototype.getBoundingRect.call(this)},e}(i.Ay)},48504(t,e,r){"use strict";r.d(e,{Ay:()=>y,oN:()=>u,sW:()=>c});var n=r(65959),i=r(1641),o=r(87443),a=r(60969),s=r(15663),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var h=["z","z2","invisible"],f=["invisible"],p=function(t){var e;function r(e){return t.call(this,e)||this}return(0,n.C6)(r,t),r.prototype._init=function(e){for(var r=(0,a.keys)(e),n=0;n<r.length;n++){var i=r[n];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},r.prototype.beforeBrush=function(){},r.prototype.afterBrush=function(){},r.prototype.innerBeforeBrush=function(){},r.prototype.innerAfterBrush=function(){},r.prototype.shouldBePainted=function(t,e,r,n){var i,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(i=this,o=t,a=e,d.copy(i.getBoundingRect()),i.transform&&d.applyTransform(i.transform),g.width=o,g.height=a,!d.intersect(g))||s&&!s[0]&&!s[3])return!1;if(r&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(n&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},r.prototype.contain=function(t,e){return this.rectContain(t,e)},r.prototype.traverse=function(t,e){t.call(e,this)},r.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(r[0],r[1])},r.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),n=this.style,i=n.shadowBlur||0,a=n.shadowOffsetX||0,s=n.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.A(0,0,0,0)),e?o.A.applyTransform(t,r,e):t.copy(r),(i||a||s)&&(t.width+=2*i+Math.abs(a),t.height+=2*i+Math.abs(s),t.x=Math.min(t.x,t.x+a-i),t.y=Math.min(t.y,t.y+s-i));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+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},r.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.A(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},r.prototype.getPrevPaintRect=function(){return this._prevPaintRect},r.prototype.animateStyle=function(t){return this.animate("style",t)},r.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},r.prototype.attrKV=function(e,r){"style"!==e?t.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},r.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},r.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},r.prototype.dirty=function(){this.dirtyStyle()},r.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},r.prototype.styleUpdated=function(){this.__dirty&=~s.pO},r.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},r.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},r.prototype.isStyleObject=function(t){return t[l]},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,h)},r.prototype._applyStateObj=function(e,r,n,i,o,s){t.prototype._applyStateObj.call(this,e,r,n,i,o,s);var l,u=!(r&&i);if(r&&r.style?o?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)):u&&(l=n.style),l)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var p=(0,a.keys)(c),d=0;d<p.length;d++){var g=p[d];g in l&&(l[g]=l[g],this.style[g]=c[g])}for(var y=(0,a.keys)(l),d=0;d<y.length;d++){var g=y[d];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?f:h,d=0;d<v.length;d++){var g=v[d];r&&null!=r[g]?this[g]=r[g]:u&&null!=n[g]&&(this[g]=n[g])}},r.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(n.style=r),n},r.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},r.prototype.getAnimationStyleProps=function(){return c},r.initDefaultProps=void((e=r.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),r}(i.A),d=new o.A(0,0,0,0),g=new o.A(0,0,0,0);let y=p},19720(t,e,r){"use strict";r.d(e,{A:()=>n});let n=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},58377(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(65959),i=r(60969),o=r(1641),a=r(87443),s=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,r=0;r<e.length;r++)if(e[r].name===t)return e[r]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var r=this._children,n=r.indexOf(e);n>=0&&(r.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=i.indexOf(this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,n=r[e];if(t&&t!==this&&t.parent!==this&&t!==n){r[e]=t,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,r=this._children,n=i.indexOf(r,t);return n<0||(r.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,r=0;r<t.length;r++){var n=t[r];e&&n.removeSelfFromZr(e),n.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var r=this._children,n=0;n<r.length;n++){var i=r[n];t.call(e,i,n)}return this},e.prototype.traverse=function(t,e){for(var r=0;r<this._children.length;r++){var n=this._children[r],i=t.call(e,n);n.isGroup&&!i&&n.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.A(0,0,0,0),r=t||this._children,n=[],i=null,o=0;o<r.length;o++){var s=r[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(n);u?(a.A.applyTransform(e,l,u),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(o.A);s.prototype.type="group";let l=s},62963(t,e,r){"use strict";r.d(e,{Ay:()=>c});var n=r(65959),i=r(48504),o=r(87443),a=r(60969),s=(0,a.defaults)({x:0,y:0},i.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,r=this.style,n=r[t];if(null!=n)return n;var i=(e=r.image)&&"string"!=typeof e&&e.width&&e.height?r.image:this.__image;if(!i)return 0;var o="width"===t?"height":"width",a=r[o];return null==a?i[t]:i[t]/i[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.A(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.Ay);u.prototype.type="image";let c=u},30682(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(65959),i=r(48504),o=r(87443),a=[];let s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,n.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var r=0;r<t.length;r++)this.addDisplayable(t[r],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.A(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var r=this._displayables[e],n=r.getBoundingRect().clone();r.needLocalTransform()&&n.applyTransform(r.getLocalTransform(a)),t.union(n)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(r[0],r[1])){for(var n=0;n<this._displayables.length;n++)if(this._displayables[n].contain(t,e))return!0}return!1},e}(i.Ay)},75241(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(65959);let i=function(t){function e(e,r,n,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==r?0:r,s.x2=null==n?1:n,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return(0,n.C6)(e,t),e}(r(19720).A)},60358(t,e,r){"use strict";r.d(e,{MW:()=>x,Ay:()=>A});var n=r(65959),i=r(48504),o=r(71874);function a(t,e,r,n,i,o,a){if(0===i)return!1;var s=0,l=t;if(a>e+i&&a>n+i||a<e-i&&a<n-i||o>t+i&&o>r+i||o<t-i&&o<r-i)return!1;if(t===r)return Math.abs(o-t)<=i/2;s=(e-n)/(t-r);var u=s*o-a+(l=(t*n-r*e)/(t-r));return u*u/(s*s+1)<=i/2*i/2}var s=r(46854),l=r(98504),u=2*Math.PI,c=r(56638),h=o.A.CMD,f=2*Math.PI,p=[-1,-1,-1],d=[-1,-1];function g(t,e,r,n,i){for(var o,g,y=t.data,v=t.len(),m=0,_=0,b=0,x=0,w=0,S=0;S<v;){var A,M,k,T,C,O,E,I,D,R,L,P,B,F,N=y[S++],z=1===S;switch(N===h.M&&S>1&&!r&&(m+=(0,c.A)(_,b,x,w,n,i)),z&&(_=y[S],b=y[S+1],x=_,w=b),N){case h.M:x=y[S++],w=y[S++],_=x,b=w;break;case h.L:if(r){if(a(_,b,y[S],y[S+1],e,n,i))return!0}else m+=(0,c.A)(_,b,y[S],y[S+1],n,i)||0;_=y[S++],b=y[S++];break;case h.C:if(r){if(A=_,M=b,k=y[S++],T=y[S++],C=y[S++],O=y[S++],E=y[S],I=y[S+1],0!==e&&(!(i>M+e)||!(i>T+e)||!(i>O+e)||!(i>I+e))&&(!(i<M-e)||!(i<T-e)||!(i<O-e)||!(i<I-e))&&(!(n>A+e)||!(n>k+e)||!(n>C+e)||!(n>E+e))&&(!(n<A-e)||!(n<k-e)||!(n<C-e)||!(n<E-e))&&s.Et(A,M,k,T,C,O,E,I,n,i,null)<=e/2)return!0}else m+=function(t,e,r,n,i,o,a,l,u,c){if(c>e&&c>n&&c>o&&c>l||c<e&&c<n&&c<o&&c<l)return 0;var h=s._E(e,n,o,l,c,p);if(0===h)return 0;for(var f=0,g=-1,y=void 0,v=void 0,m=0;m<h;m++){var _=p[m],b=0===_||1===_?.5:1;s.Yb(t,r,i,a,_)<u||(g<0&&(g=s.lX(e,n,o,l,d),d[1]<d[0]&&g>1&&function(){var t=d[0];d[0]=d[1],d[1]=t}(),y=s.Yb(e,n,o,l,d[0]),g>1&&(v=s.Yb(e,n,o,l,d[1]))),2===g?_<d[0]?f+=y<e?b:-b:_<d[1]?f+=v<y?b:-b:f+=l<v?b:-b:_<d[0]?f+=y<e?b:-b:f+=l<y?b:-b)}return f}(_,b,y[S++],y[S++],y[S++],y[S++],y[S],y[S+1],n,i)||0;_=y[S++],b=y[S++];break;case h.Q:if(r){if(D=_,R=b,L=y[S++],P=y[S++],B=y[S],F=y[S+1],0!==e&&(!(i>R+e)||!(i>P+e)||!(i>F+e))&&(!(i<R-e)||!(i<P-e)||!(i<F-e))&&(!(n>D+e)||!(n>L+e)||!(n>B+e))&&(!(n<D-e)||!(n<L-e)||!(n<B-e))&&(0,s.kh)(D,R,L,P,B,F,n,i,null)<=e/2)return!0}else m+=function(t,e,r,n,i,o,a,l){if(l>e&&l>n&&l>o||l<e&&l<n&&l<o)return 0;var u=s.qY(e,n,o,l,p);if(0===u)return 0;var c=s.gC(e,n,o);if(c>=0&&c<=1){for(var h=0,f=s.k3(e,n,o,c),d=0;d<u;d++){var g=0===p[d]||1===p[d]?.5:1,y=s.k3(t,r,i,p[d]);y<a||(p[d]<c?h+=f<e?g:-g:h+=o<f?g:-g)}return h}var g=0===p[0]||1===p[0]?.5:1,y=s.k3(t,r,i,p[0]);return y<a?0:o<e?g:-g}(_,b,y[S++],y[S++],y[S],y[S+1],n,i)||0;_=y[S++],b=y[S++];break;case h.A:var j=y[S++],H=y[S++],V=y[S++],U=y[S++],W=y[S++],q=y[S++];S+=1;var Z=!!(1-y[S++]);o=Math.cos(W)*V+j,g=Math.sin(W)*U+H,z?(x=o,w=g):m+=(0,c.A)(_,b,o,g,n,i);var G=(n-j)*U/V+j;if(r){if(function(t,e,r,n,i,o,a,s,c){if(0===a)return!1;var h=Math.sqrt((s-=t)*s+(c-=e)*c);if(h-a>r||h+a<r)return!1;if(Math.abs(n-i)%u<1e-4)return!0;if(o){var f=n;n=(0,l.n)(i),i=(0,l.n)(f)}else n=(0,l.n)(n),i=(0,l.n)(i);n>i&&(i+=u);var p=Math.atan2(c,s);return p<0&&(p+=u),p>=n&&p<=i||p+u>=n&&p+u<=i}(j,H,U,W,W+q,Z,e,G,i))return!0}else m+=function(t,e,r,n,i,o,a,s){if((s-=e)>r||s<-r)return 0;var l=Math.sqrt(r*r-s*s);p[0]=-l,p[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=f-1e-4){n=0,i=f;var c=o?1:-1;return a>=p[0]+t&&a<=p[1]+t?c:0}if(n>i){var h=n;n=i,i=h}n<0&&(n+=f,i+=f);for(var d=0,g=0;g<2;g++){var y=p[g];if(y+t>a){var v=Math.atan2(s,y),c=o?1:-1;v<0&&(v=f+v),(v>=n&&v<=i||v+f>=n&&v+f<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),d+=c)}}return d}(j,H,U,W,W+q,Z,G,i);_=Math.cos(W+q)*V+j,b=Math.sin(W+q)*U+H;break;case h.R:x=_=y[S++],w=b=y[S++];var $=y[S++],Y=y[S++];if(o=x+$,g=w+Y,r){if(a(x,w,o,w,e,n,i)||a(o,w,o,g,e,n,i)||a(o,g,x,g,e,n,i)||a(x,g,x,w,e,n,i))return!0}else m+=(0,c.A)(o,w,o,g,n,i),m+=(0,c.A)(x,g,x,w,n,i);break;case h.Z:if(r){if(a(_,b,x,w,e,n,i))return!0}else m+=(0,c.A)(_,b,x,w,n,i);_=x,b=w}}return r||1e-4>Math.abs(b-w)||(m+=(0,c.A)(_,b,x,w,n,i)||0),0!==m}var y=r(60969),v=r(4783),m=r(7551),_=r(15663),b=r(82393),x=(0,y.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),w={style:(0,y.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},S=b.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);let A=function(t){var e;function r(e){return t.call(this,e)||this}return(0,n.C6)(r,t),r.prototype.update=function(){var e=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new r;i.buildPath===r.prototype.buildPath&&(i.buildPath=function(t){e.buildPath(t,e.shape)}),i.silent=!0;var o=i.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s<S.length;++s)i[S[s]]=this[S[s]];i.__dirty|=_.M}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(e){var r=(0,y.keys)(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var o=r[i],a=e[o];"style"===o?this.style?(0,y.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,y.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,y.isString)(t)){var e=(0,v.lum)(t,0);return e>.5?m._S:e>.2?m.tY:m.el}else if(t)return m.el}return m._S},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,y.isString)(e)){var r=this.__zr;if(!!(r&&r.isDarkMode())==(0,v.lum)(t,0)<m.ps)return e}},r.prototype.buildPath=function(t,e,r){},r.prototype.pathUpdated=function(){this.__dirty&=~_.Dl},r.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},r.prototype.createPathProxy=function(){this.path=new o.A(!1)},r.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},r.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},r.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,r=!t;if(r){var n=!1;this.path||(n=!0,this.createPathProxy());var i=this.path;(n||this.__dirty&_.Dl)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||r){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},r.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),i=this.style;if(t=r[0],e=r[1],n.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),g(o,a/s,!0,t,e)))return!0}if(this.hasFill())return g(o,0,!1,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=_.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(t){return this.animate("shape",t)},r.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},r.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"==typeof t?r[t]=e:(0,y.extend)(r,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&_.Dl)},r.prototype.createStyle=function(t){return(0,y.createObject)(x,t)},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=(0,y.extend)({},this.shape))},r.prototype._applyStateObj=function(e,r,n,i,o,a){t.prototype._applyStateObj.call(this,e,r,n,i,o,a);var s,l=!(r&&i);if(r&&r.shape?o?i?s=r.shape:(s=(0,y.extend)({},n.shape),(0,y.extend)(s,r.shape)):(s=(0,y.extend)({},i?this.shape:n.shape),(0,y.extend)(s,r.shape)):l&&(s=n.shape),s)if(o){this.shape=(0,y.extend)({},this.shape);for(var u={},c=(0,y.keys)(s),h=0;h<c.length;h++){var f=c[h];"object"==typeof s[f]?this.shape[f]=s[f]:u[f]=s[f]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},r.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(n.shape=r),n},r.prototype.getAnimationStyleProps=function(){return w},r.prototype.isZeroArea=function(){return!1},r.extend=function(t){var e=function(e){function r(r){var n=e.call(this,r)||this;return t.init&&t.init.call(n,r),n}return(0,n.C6)(r,e),r.prototype.getDefaultStyle=function(){return(0,y.clone)(t.style)},r.prototype.getDefaultShape=function(){return(0,y.clone)(t.shape)},r}(r);for(var i in t)"function"==typeof t[i]&&(e.prototype[i]=t[i]);return e},r.initDefaultProps=void((e=r.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=_.M|_.pO|_.Dl),r}(i.Ay)},72243(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(65959);let i=function(t){function e(e,r,n,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==r?.5:r,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return(0,n.C6)(e,t),e}(r(19720).A)},43190(t,e,r){"use strict";r.d(e,{A:()=>h});var n=r(65959),i=r(48504),o=r(76479),a=r(60358),s=r(60969),l=r(17578),u=(0,s.defaults)({strokeFirst:!0,font:l.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.createObject)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var r=(0,o.NO)(e,t.font,t.textAlign,t.textBaseline);if(r.x+=t.x||0,r.y+=t.y||0,this.hasStroke()){var n=t.lineWidth;r.x-=n/2,r.y-=n/2,r.width+=n,r.height+=n}this._rect=r}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);c.prototype.type="tspan";let h=c},50583(t,e,r){"use strict";r.d(e,{Ay:()=>k});var n=r(65959),i=r(37083),o=r(43190),a=r(60969),s=r(76479),l=r(62963),u=r(71734),c=r(87443),h=r(48504),f=r(17578),p={fill:"#000"},d={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.sW.style)},g=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=p,r.attr(e),r}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var r=this._children[e];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var r=this.innerTransformable;return r?r.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,b(t=this.style),(0,a.each)(t.rich,b),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.A(0,0,0,0),e=this._children,r=[],n=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),s=o.getLocalTransform(r);s?(t.copy(a),t.applyTransform(s),(n=n||t.clone()).union(t)):(n=n||a.clone()).union(a)}this._rect=n||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||p},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var r=e.rich,n=t.rich||r&&{};return(0,a.extend)(t,e),r&&n?(this._mergeRich(n,r),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var r=(0,a.keys)(e),n=0;n<r.length;n++){var i=r[n];t[i]=t[i]||{},(0,a.extend)(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return d},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||f.OH,r=t.padding,n=A(t),a=(0,i.j_)(n,t),l=M(t),u=!!t.backgroundColor,h=a.outerHeight,p=a.outerWidth,d=a.contentWidth,g=a.lines,y=a.lineHeight,v=this._defaultStyle;this.isTruncated=!!a.isTruncated;var m=t.x||0,b=t.y||0,k=t.align||v.align||"left",T=t.verticalAlign||v.verticalAlign||"top",C=m,O=(0,s.sZ)(b,a.contentHeight,T);if(l||r){var E=(0,s.ll)(m,p,k),I=(0,s.sZ)(b,h,T);l&&this._renderBackground(t,t,E,I,p,h)}O+=y/2,r&&(C=S(m,k,r),"top"===T?O+=r[0]:"bottom"===T&&(O-=r[2]));for(var D=0,R=!1,L=w("fill"in t?t.fill:(R=!0,v.fill)),P=x("stroke"in t?t.stroke:u||v.autoStroke&&!R?null:(D=2,v.stroke)),B=t.textShadowBlur>0,F=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),N=a.calculatedLineHeight,z=0;z<g.length;z++){var j=this._getOrCreateChild(o.A),H=j.createStyle();j.useStyle(H),H.text=g[z],H.x=C,H.y=O,k&&(H.textAlign=k),H.textBaseline="middle",H.opacity=t.opacity,H.strokeFirst=!0,B&&(H.shadowBlur=t.textShadowBlur||0,H.shadowColor=t.textShadowColor||"transparent",H.shadowOffsetX=t.textShadowOffsetX||0,H.shadowOffsetY=t.textShadowOffsetY||0),H.stroke=P,H.fill=L,P&&(H.lineWidth=t.lineWidth||D,H.lineDash=t.lineDash,H.lineDashOffset=t.lineDashOffset||0),H.font=e,_(H,t),O+=y,F&&j.setBoundingRect(new c.A((0,s.ll)(H.x,d,H.textAlign),(0,s.sZ)(H.y,N,H.textBaseline),d,N))}},e.prototype._updateRichTexts=function(){var t=this.style,e=A(t),r=(0,i.FQ)(e,t),n=r.width,o=r.outerWidth,a=r.outerHeight,l=t.padding,u=t.x||0,c=t.y||0,h=this._defaultStyle,f=t.align||h.align,p=t.verticalAlign||h.verticalAlign;this.isTruncated=!!r.isTruncated;var d=(0,s.ll)(u,o,f),g=(0,s.sZ)(c,a,p),y=d,v=g;l&&(y+=l[3],v+=l[0]);var m=y+n;M(t)&&this._renderBackground(t,t,d,g,o,a);for(var _=!!t.backgroundColor,b=0;b<r.lines.length;b++){for(var x=r.lines[b],w=x.tokens,S=w.length,k=x.lineHeight,T=x.width,C=0,O=y,E=m,I=S-1,D=void 0;C<S&&(!(D=w[C]).align||"left"===D.align);)this._placeToken(D,t,k,v,O,"left",_),T-=D.width,O+=D.width,C++;for(;I>=0&&"right"===(D=w[I]).align;)this._placeToken(D,t,k,v,E,"right",_),T-=D.width,E-=D.width,I--;for(O+=(n-(O-y)-(m-E)-T)/2;C<=I;)D=w[C],this._placeToken(D,t,k,v,O+D.width/2,"center",_),O+=D.width,C++;v+=k}},e.prototype._placeToken=function(t,e,r,n,i,l,u){var h=e.rich[t.styleName]||{};h.text=t.text;var p=t.verticalAlign,d=n+r/2;"top"===p?d=n+t.height/2:"bottom"===p&&(d=n+r-t.height/2),!t.isLineHolder&&M(h)&&this._renderBackground(h,e,"right"===l?i-t.width:"center"===l?i-t.width/2:i,d-t.height/2,t.width,t.height);var g=!!h.backgroundColor,y=t.textPadding;y&&(i=S(i,l,y),d-=t.height/2-y[0]-t.innerHeight/2);var v=this._getOrCreateChild(o.A),m=v.createStyle();v.useStyle(m);var b=this._defaultStyle,A=!1,k=0,T=w("fill"in h?h.fill:"fill"in e?e.fill:(A=!0,b.fill)),C=x("stroke"in h?h.stroke:"stroke"in e?e.stroke:g||u||b.autoStroke&&!A?null:(k=2,b.stroke)),O=h.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=i,m.y=d,O&&(m.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,m.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",m.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,m.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),m.textAlign=l,m.textBaseline="middle",m.font=t.font||f.OH,m.opacity=(0,a.retrieve3)(h.opacity,e.opacity,1),_(m,h),C&&(m.lineWidth=(0,a.retrieve3)(h.lineWidth,e.lineWidth,k),m.lineDash=(0,a.retrieve2)(h.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=C),T&&(m.fill=T);var E=t.contentWidth,I=t.contentHeight;v.setBoundingRect(new c.A((0,s.ll)(m.x,E,m.textAlign),(0,s.sZ)(m.y,I,m.textBaseline),E,I))},e.prototype._renderBackground=function(t,e,r,n,i,o){var s,c,h=t.backgroundColor,f=t.borderWidth,p=t.borderColor,d=h&&h.image,g=h&&!d,y=t.borderRadius,v=this;if(g||t.lineHeight||f&&p){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=r,m.y=n,m.width=i,m.height=o,m.r=y,s.dirtyShape()}if(g){var _=s.style;_.fill=h||null,_.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(d){(c=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var b=c.style;b.image=h.image,b.x=r,b.y=n,b.width=i,b.height=o}if(f&&p){var _=s.style;_.lineWidth=f,_.stroke=p,_.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var x=(s||c).style;x.shadowBlur=t.shadowBlur||0,x.shadowColor=t.shadowColor||"transparent",x.shadowOffsetX=t.shadowOffsetX||0,x.shadowOffsetY=t.shadowOffsetY||0,x.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,r,n="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(n=[t.fontStyle,t.fontWeight,"string"==typeof(r=t.fontSize)&&(-1!==r.indexOf("px")||-1!==r.indexOf("rem")||-1!==r.indexOf("em"))?r:isNaN(+r)?f.gI+"px":r+"px",t.fontFamily||"sans-serif"].join(" ")),n&&(0,a.trim)(n)||t.textFont||t.font},e}(h.Ay),y={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t,e){for(var r=0;r<m.length;r++){var n=m[r],i=e[n];null!=i&&(t[n]=i)}}function b(t){if(t){t.font=g.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||y[e]?e:"left";var r=t.verticalAlign;"center"===r&&(r="middle"),t.verticalAlign=null==r||v[r]?r:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function x(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function w(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function S(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function A(t){var e=t.text;return null!=e&&(e+=""),e}function M(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let k=g},15663(t,e,r){"use strict";r.d(e,{Dl:()=>o,M:()=>n,pO:()=>i});var n=1,i=2,o=4},17474(t,e,r){"use strict";r.d(e,{OD:()=>s,SR:()=>a,xA:()=>u});var n=r(8684),i=r(17578),o=new n.Ay(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,r,n,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!r)return e;var s=o.get(t),c={hostEl:r,cb:n,cbPayload:a};return s?u(e=s.image)||s.pending.push(c):((e=i.yh.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var r=t.pending[e],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},37083(t,e,r){"use strict";r.d(e,{EJ:()=>s,FQ:()=>g,j_:()=>h});var n=r(17474),i=r(60969),o=r(76479),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,r,n,i){var o={};return l(o,t,e,r,n,i),o.text}function l(t,e,r,n,i,o){if(!r){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=u(r,n,i,o);for(var s=!1,l={},h=0,f=a.length;h<f;h++)c(l,a[h],o),a[h]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function u(t,e,r,n){n=n||{};var a=(0,i.extend)({},n);a.font=e,r=(0,i.retrieve2)(r,"..."),a.maxIterations=(0,i.retrieve2)(n.maxIterations,2);var s=a.minChar=(0,i.retrieve2)(n.minChar,0);a.cnCharWidth=(0,o.RG)("国",e);var l=a.ascCharWidth=(0,o.RG)("a",e);a.placeholder=(0,i.retrieve2)(n.placeholder,"");for(var u=t=Math.max(0,t-1),c=0;c<s&&u>=l;c++)u-=l;var h=(0,o.RG)(r,e);return h>u&&(r="",h=0),u=t-h,a.ellipsis=r,a.ellipsisWidth=h,a.contentWidth=u,a.containerWidth=t,a}function c(t,e,r){var n=r.containerWidth,i=r.font,a=r.contentWidth;if(!n){t.textLine="",t.isTruncated=!1;return}var s=(0,o.RG)(e,i);if(s<=n){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=a||l>=r.maxIterations){e+=r.ellipsis;break}var u=0===l?function(t,e,r,n){for(var i=0,o=0,a=t.length;o<a&&i<e;o++){var s=t.charCodeAt(o);i+=0<=s&&s<=127?r:n}return o}(e,a,r.ascCharWidth,r.cnCharWidth):s>0?Math.floor(e.length*a/s):0;e=e.substr(0,u),s=(0,o.RG)(e,i)}""===e&&(e=r.placeholder),t.textLine=e,t.isTruncated=!0}function h(t,e){null!=t&&(t+="");var r,n=e.overflow,a=e.padding,s=e.font,l=(0,o.ks)(s),h=(0,i.retrieve2)(e.lineHeight,l),f=!!e.backgroundColor,p="truncate"===e.lineOverflow,d=!1,g=e.width,y=(r=null!=g&&("break"===n||"breakAll"===n)?t?m(t,e.font,g,"breakAll"===n,0).lines:[]:t?t.split("\n"):[]).length*h,v=(0,i.retrieve2)(e.height,y);if(y>v&&p){var _=Math.floor(v/h);d=d||r.length>_,r=r.slice(0,_)}if(t&&"truncate"===n&&null!=g)for(var b=u(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x={},w=0;w<r.length;w++)c(x,r[w],b),r[w]=x.textLine,d=d||x.isTruncated;for(var S=v,A=0,w=0;w<r.length;w++)A=Math.max((0,o.RG)(r[w],s),A);null==g&&(g=A);var M=A;return a&&(S+=a[0]+a[2],M+=a[1]+a[3],g+=a[1]+a[3]),f&&(M=g),{lines:r,height:v,outerWidth:M,outerHeight:S,lineHeight:h,calculatedLineHeight:l,contentWidth:A,contentHeight:y,width:g,isTruncated:d}}var f=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},d=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function g(t,e){var r,s=new d;if(null!=t&&(t+=""),!t)return s;for(var u=e.width,c=e.height,h=e.overflow,f=("break"===h||"breakAll"===h)&&null!=u?{width:u,accumWidth:0,breakAll:"breakAll"===h}:null,p=a.lastIndex=0;null!=(r=a.exec(t));){var g=r.index;g>p&&y(s,t.substring(p,g),e,f),y(s,r[2],e,f,r[1]),p=a.lastIndex}p<t.length&&y(s,t.substring(p,t.length),e,f);var v=[],m=0,_=0,b=e.padding,x="truncate"===h,w="truncate"===e.lineOverflow,S={};function A(t,e,r){t.width=e,t.lineHeight=r,m+=r,_=Math.max(_,e)}i:for(var M=0;M<s.lines.length;M++){for(var k=s.lines[M],T=0,C=0,O=0;O<k.tokens.length;O++){var E=k.tokens[O],I=E.styleName&&e.rich[E.styleName]||{},D=E.textPadding=I.padding,R=D?D[1]+D[3]:0,L=E.font=I.font||e.font;E.contentHeight=(0,o.ks)(L);var P=(0,i.retrieve2)(I.height,E.contentHeight);if(E.innerHeight=P,D&&(P+=D[0]+D[2]),E.height=P,E.lineHeight=(0,i.retrieve3)(I.lineHeight,e.lineHeight,P),E.align=I&&I.align||e.align,E.verticalAlign=I&&I.verticalAlign||"middle",w&&null!=c&&m+E.lineHeight>c){var B=s.lines.length;O>0?(k.tokens=k.tokens.slice(0,O),A(k,C,T),s.lines=s.lines.slice(0,M+1)):s.lines=s.lines.slice(0,M),s.isTruncated=s.isTruncated||s.lines.length<B;break i}var F=I.width,N=null==F||"auto"===F;if("string"==typeof F&&"%"===F.charAt(F.length-1))E.percentWidth=F,v.push(E),E.contentWidth=(0,o.RG)(E.text,L);else{if(N){var z=I.backgroundColor,j=z&&z.image;j&&(j=n.SR(j),n.xA(j)&&(E.width=Math.max(E.width,j.width*P/j.height)))}var H=x&&null!=u?u-C:null;null!=H&&H<E.width?!N||H<R?(E.text="",E.width=E.contentWidth=0):(l(S,E.text,H-R,L,e.ellipsis,{minChar:e.truncateMinChar}),E.text=S.text,s.isTruncated=s.isTruncated||S.isTruncated,E.width=E.contentWidth=(0,o.RG)(E.text,L)):E.contentWidth=(0,o.RG)(E.text,L)}E.width+=R,C+=E.width,I&&(T=Math.max(T,E.lineHeight))}A(k,C,T)}s.outerWidth=s.width=(0,i.retrieve2)(u,_),s.outerHeight=s.height=(0,i.retrieve2)(c,m),s.contentHeight=m,s.contentWidth=_,b&&(s.outerWidth+=b[1]+b[3],s.outerHeight+=b[0]+b[2]);for(var M=0;M<v.length;M++){var E=v[M],V=E.percentWidth;E.width=parseInt(V,10)/100*s.width}return s}function y(t,e,r,n,i){var a,s,l=""===e,u=i&&r.rich[i]||{},c=t.lines,h=u.font||r.font,d=!1;if(n){var g=u.padding,y=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var v=(0,o.lo)(u.width,n.width)+y;c.length>0&&v+n.accumWidth>n.width&&(a=e.split("\n"),d=!0),n.accumWidth=v}else{var _=m(e,h,n.width,n.breakAll,n.accumWidth);n.accumWidth=_.accumWidth+y,s=_.linesWidths,a=_.lines}}else a=e.split("\n");for(var b=0;b<a.length;b++){var x=a[b],w=new f;if(w.styleName=i,w.text=x,w.isLineHolder=!x&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[b]:(0,o.RG)(x,h),b||d)c.push(new p([w]));else{var S=(c[c.length-1]||(c[0]=new p)).tokens,A=S.length;1===A&&S[0].isLineHolder?S[0]=w:(x||!A||l)&&S.push(w)}}}var v=(0,i.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function m(t,e,r,n,i){for(var a=[],s=[],l="",u="",c=0,h=0,f=0;f<t.length;f++){var p=t.charAt(f);if("\n"===p){u&&(l+=u,h+=c),a.push(l),s.push(h),l="",u="",c=0,h=0;continue}var d=(0,o.RG)(p,e),g=!n&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!v[t]}(p);if(a.length?h+d>r:i+h+d>r){h?(l||u)&&(g?(l||(l=u,u="",h=c=0),a.push(l),s.push(h-c),u+=p,c+=d,l="",h=c):(u&&(l+=u,u="",c=0),a.push(l),s.push(h),l=p,h=d)):g?(a.push(u),s.push(c),u=p,c=d):(a.push(p),s.push(d));continue}h+=d,g?(u+=p,c+=d):(u&&(l+=u,u="",c=0),l+=p)}return a.length||l||(l=t,u="",c=0),u&&(l+=u),l&&(a.push(l),s.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:s}}},27241(t,e,r){"use strict";r.d(e,{U:()=>i});var n=r(20914);function i(t,e,r){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=function(t,e,r,i){var o,a,s,l,u=[],c=[],h=[],f=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)(0,n.min)(s,s,t[p]),(0,n.max)(l,l,t[p]);(0,n.min)(s,s,i[0]),(0,n.max)(l,l,i[1])}for(var p=0,d=t.length;p<d;p++){var g=t[p];if(r)o=t[p?p-1:d-1],a=t[(p+1)%d];else if(0===p||p===d-1){u.push((0,n.clone)(t[p]));continue}else o=t[p-1],a=t[p+1];(0,n.sub)(c,a,o),(0,n.scale)(c,c,e);var y=(0,n.distance)(g,o),v=(0,n.distance)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,n.scale)(h,c,-y),(0,n.scale)(f,c,v);var _=(0,n.add)([],g,h),b=(0,n.add)([],g,f);i&&((0,n.max)(_,_,s),(0,n.min)(_,_,l),(0,n.max)(b,b,s),(0,n.min)(b,b,l)),u.push(_),u.push(b)}return r&&u.push(u.shift()),u}(o,i,r,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(r?s:s-1);l++){var u=a[2*l],c=a[2*l+1],h=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,f=o.length;l<f;l++)t.lineTo(o[l][0],o[l][1])}r&&t.closePath()}}},52586(t,e,r){"use strict";r.d(e,{M7:()=>a,Op:()=>o,eB:()=>i});var n=Math.round;function i(t,e,r){if(e){var i=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=l;var u=r&&r.lineWidth;return u&&(n(2*i)===n(2*o)&&(t.x1=t.x2=a(i,u,!0)),n(2*s)===n(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,r){if(e){var n=e.x,i=e.y,o=e.width,s=e.height;t.x=n,t.y=i,t.width=o,t.height=s;var l=r&&r.lineWidth;return l&&(t.x=a(n,l,!0),t.y=a(i,l,!0),t.width=Math.max(a(n+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(i+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,r){if(!e)return t;var i=n(2*t);return(i+n(e))%2==0?i/2:(i+(r?1:-1))/2}},38464(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(65959),i=r(60358),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*i+r,u*i+n),t.arc(r,n,i,o,a,!s)},e}(i.Ay);a.prototype.type="arc";let s=a},58730(t,e,r){"use strict";r.d(e,{A:()=>h});var n=r(65959),i=r(60358),o=r(20914),a=r(46854),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,r){var n=t.cpx2,i=t.cpy2;return null!=n||null!=i?[(r?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(r?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var r=e.x1,n=e.y1,i=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(r,n),null==c||null==h?(f<1&&((0,a.kx)(r,l,i,f,s),l=s[1],i=s[2],(0,a.kx)(n,u,o,f,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,i,o)):(f<1&&((0,a.YT)(r,l,c,i,f,s),l=s[1],c=s[2],i=s[3],(0,a.YT)(n,u,h,o,f,s),u=s[1],h=s[2],o=s[3]),t.bezierCurveTo(l,u,c,h,i,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(i.Ay);c.prototype.type="bezier-curve";let h=c},97642(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(65959),i=r(60358),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(i.Ay);a.prototype.type="circle";let s=a},92170(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(65959),i=r(60358),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=e.rx,o=e.ry,a=.5522848*i,s=.5522848*o;t.moveTo(r-i,n),t.bezierCurveTo(r-i,n-s,r-a,n-o,r,n-o),t.bezierCurveTo(r+a,n-o,r+i,n-s,r+i,n),t.bezierCurveTo(r+i,n+s,r+a,n+o,r,n+o),t.bezierCurveTo(r-a,n+o,r-i,n+s,r-i,n),t.closePath()},e}(i.Ay);a.prototype.type="ellipse";let s=a},40964(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(65959),i=r(60358),o=r(52586),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var r,n,i,s,l=(0,o.eB)(a,e,this.style);r=l.x1,n=l.y1,i=l.x2,s=l.y2}else r=e.x1,n=e.y1,i=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(r,n),u<1&&(i=r*(1-u)+i*u,s=n*(1-u)+s*u),t.lineTo(i,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(i.Ay);l.prototype.type="line";let u=l},80618(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(65959),i=r(60358),o=r(27241),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(i.Ay);s.prototype.type="polygon";let l=s},14870(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(65959),i=r(60358),o=r(27241),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(i.Ay);s.prototype.type="polyline";let l=s},71734(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(65959),i=r(60358),o=r(52586),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var r,n,i,a,l,u,c,h,f,p,d,g,y,v,m,_=(0,o.Op)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(c=(r=e).x,h=r.y,f=r.width,p=r.height,d=r.r,f<0&&(c+=f,f=-f),p<0&&(h+=p,p=-p),"number"==typeof d?n=i=a=l=d:d instanceof Array?1===d.length?n=i=a=l=d[0]:2===d.length?(n=a=d[0],i=l=d[1]):3===d.length?(n=d[0],i=l=d[1],a=d[2]):(n=d[0],i=d[1],a=d[2],l=d[3]):n=i=a=l=0,n+i>f&&(u=n+i,n*=f/u,i*=f/u),a+l>f&&(u=a+l,a*=f/u,l*=f/u),i+a>p&&(u=i+a,i*=p/u,a*=p/u),n+l>p&&(u=n+l,n*=p/u,l*=p/u),t.moveTo(c+n,h),t.lineTo(c+f-i,h),0!==i&&t.arc(c+f-i,h+i,i,-Math.PI/2,0),t.lineTo(c+f,h+p-a),0!==a&&t.arc(c+f-a,h+p-a,a,0,Math.PI/2),t.lineTo(c+l,h+p),0!==l&&t.arc(c+l,h+p-l,l,Math.PI/2,Math.PI),t.lineTo(c,h+n),0!==n&&t.arc(c+n,h+n,n,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);l.prototype.type="rect";let u=l},14328(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(65959),i=r(60358),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=2*Math.PI;t.moveTo(r+e.r,n),t.arc(r,n,e.r,0,i,!1),t.moveTo(r+e.r0,n),t.arc(r,n,e.r0,0,i,!0)},e}(i.Ay);a.prototype.type="ring";let s=a},90473(t,e,r){"use strict";r.d(e,{A:()=>_});var n=r(65959),i=r(60358),o=r(60969),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,g=Math.min;function y(t,e,r,n,i,o,a){var s=t-r,l=e-n,u=(a?o:-o)/p(s*s+l*l),c=u*l,h=-u*s,f=t+c,g=e+h,y=r+c,v=n+h,m=(f+y)/2,_=(g+v)/2,b=y-f,x=v-g,w=b*b+x*x,S=i-o,A=f*v-y*g,M=(x<0?-1:1)*p(d(0,S*S*w-A*A)),k=(A*x-b*M)/w,T=(-A*b-x*M)/w,C=(A*x+b*M)/w,O=(-A*b+x*M)/w,E=k-m,I=T-_,D=C-m,R=O-_;return E*E+I*I>D*D+R*R&&(k=C,T=O),{cx:k,cy:T,x0:-c,y0:-h,x1:k*(i/S-1),y1:T*(i/S-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},m=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var r,n=d(e.r,0),i=d(e.r0||0,0),v=n>0,m=i>0;if(v||m){if(v||(n=i,i=0),i>n){var _=n;n=i,i=_}var b=e.startAngle,x=e.endAngle;if(!(isNaN(b)||isNaN(x))){var w=e.cx,S=e.cy,A=!!e.clockwise,M=f(x-b),k=M>s&&M%s;if(k>1e-4&&(M=k),n>1e-4)if(M>s-1e-4)t.moveTo(w+n*u(b),S+n*l(b)),t.arc(w,S,n,b,x,!A),i>1e-4&&(t.moveTo(w+i*u(x),S+i*l(x)),t.arc(w,S,i,x,b,A));else{var T=void 0,C=void 0,O=void 0,E=void 0,I=void 0,D=void 0,R=void 0,L=void 0,P=void 0,B=void 0,F=void 0,N=void 0,z=void 0,j=void 0,H=void 0,V=void 0,U=n*u(b),W=n*l(b),q=i*u(x),Z=i*l(x),G=M>1e-4;if(G){var $=e.cornerRadius;$&&(T=(r=function(t){var e;if((0,o.isArray)(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}($))[0],C=r[1],O=r[2],E=r[3]);var Y=f(n-i)/2;if(I=g(Y,O),D=g(Y,E),R=g(Y,T),L=g(Y,C),F=P=d(I,D),N=B=d(R,L),(P>1e-4||B>1e-4)&&(z=n*u(x),j=n*l(x),H=i*u(b),V=i*l(b),M<a)){var X=function(t,e,r,n,i,o,a,s){var l=r-t,u=n-e,c=a-i,h=s-o,f=h*l-c*u;if(!(f*f<1e-4))return f=(c*(e-o)-h*(t-i))/f,[t+f*l,e+f*u]}(U,W,H,V,z,j,q,Z);if(X){var K=U-X[0],J=W-X[1],Q=z-X[0],tt=j-X[1],te=1/l(c((K*Q+J*tt)/(p(K*K+J*J)*p(Q*Q+tt*tt)))/2),tr=p(X[0]*X[0]+X[1]*X[1]);F=g(P,(n-tr)/(te+1)),N=g(B,(i-tr)/(te-1))}}}if(G)if(F>1e-4){var tn=g(O,F),ti=g(E,F),to=y(H,V,U,W,n,tn,A),ta=y(z,j,q,Z,n,ti,A);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),F<P&&tn===ti?t.arc(w+to.cx,S+to.cy,F,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(tn>0&&t.arc(w+to.cx,S+to.cy,tn,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,n,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!A),ti>0&&t.arc(w+ta.cx,S+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.moveTo(w+U,S+W),t.arc(w,S,n,b,x,!A);else t.moveTo(w+U,S+W);if(i>1e-4&&G)if(N>1e-4){var tn=g(T,N),ti=g(C,N),to=y(q,Z,z,j,i,-ti,A),ta=y(U,W,H,V,i,-tn,A);t.lineTo(w+to.cx+to.x0,S+to.cy+to.y0),N<B&&tn===ti?t.arc(w+to.cx,S+to.cy,N,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(ti>0&&t.arc(w+to.cx,S+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),A),tn>0&&t.arc(w+ta.cx,S+ta.cy,tn,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.lineTo(w+q,S+Z),t.arc(w,S,i,x,b,A);else t.lineTo(w+q,S+Z)}else t.moveTo(w,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i.Ay);m.prototype.type="sector";let _=m},4783(t,e,r){"use strict";r.r(e),r.d(e,{fastLerp:()=>b,fastMapToColor:()=>x,lerp:()=>w,lift:()=>m,liftColor:()=>E,lum:()=>T,mapToColor:()=>S,modifyAlpha:()=>M,modifyHSL:()=>A,parse:()=>y,random:()=>C,stringify:()=>k,toHex:()=>_});var n=r(8684),i=r(60969),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,r){return(r<0?r+=1:r>1&&(r-=1),6*r<1)?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function h(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new n.Ay(20),d=null;function g(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function y(t,e){if(t){e=e||[];var r=p.get(t);if(r)return f(e,r);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in o)return f(e,o[n]),g(t,e),e;var i=n.length;if("#"===n.charAt(0)){if(4===i||5===i){var a=parseInt(n.slice(1,4),16);return a>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===i?parseInt(n.slice(4),16)/15:1),g(t,e),e):void h(e,0,0,0,1)}if(7===i||9===i){var a=parseInt(n.slice(1,7),16);return a>=0&&a<=0xffffff?(h(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===i?parseInt(n.slice(7),16)/255:1),g(t,e),e):void h(e,0,0,0,1)}return}var s=n.indexOf("("),c=n.indexOf(")");if(-1!==s&&c+1===i){var d=n.substr(0,s),y=n.substr(s+1,c-(s+1)).split(","),m=1;switch(d){case"rgba":if(4!==y.length)return 3===y.length?h(e,+y[0],+y[1],+y[2],1):h(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return h(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void h(e,0,0,0,1);case"hsla":if(4!==y.length)return void h(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void h(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}h(e,0,0,0,1)}}function v(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),i=u(t[2]),o=i<=.5?i*(n+1):i+n-i*n,s=2*i-o;return h(e=e||[],a(255*c(s,o,r+1/3)),a(255*c(s,o,r)),a(255*c(s,o,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var r=y(t);if(r){for(var n=0;n<3;n++)e<0?r[n]=r[n]*(1-e)|0:r[n]=(255-r[n])*e+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return k(r,4===r.length?"rgba":"rgb")}}function _(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function b(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var n,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),f=e[c],p=e[h],d=u-c;return r[0]=a((n=f[0],n+(p[0]-n)*d)),r[1]=a((i=f[1],i+(p[1]-i)*d)),r[2]=a((o=f[2],o+(p[2]-o)*d)),r[3]=s((l=f[3],l+(p[3]-l)*d)),r}}var x=b;function w(t,e,r){if(e&&e.length&&t>=0&&t<=1){var n,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),f=y(e[c]),p=y(e[h]),d=u-c,g=k([a((n=f[0],n+(p[0]-n)*d)),a((i=f[1],i+(p[1]-i)*d)),a((o=f[2],o+(p[2]-o)*d)),s((l=f[3],l+(p[3]-l)*d))],"rgba");return r?{color:g,leftIndex:c,rightIndex:h,value:u}:g}}var S=w;function A(t,e,r,n){var i,o=y(t);if(t)return o=function(t){if(t){var e,r,n=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,h=((s-i)/6+l/2)/l,f=((s-o)/6+l/2)/l;n===s?e=f-h:i===s?e=1/3+c-f:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,r,u];return null!=t[3]&&p.push(t[3]),p}}(o),null!=e&&(o[0]=(i=Math.round(i=e))<0?0:i>360?360:i),null!=r&&(o[1]=u(r)),null!=n&&(o[2]=u(n)),k(v(o),"rgba")}function M(t,e){var r=y(t);if(r&&null!=e)return r[3]=s(e),k(r,"rgba")}function k(t,e){if(t&&t.length){var r=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(r+=","+t[3]),e+"("+r+")"}}function T(t,e){var r=y(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}function C(){return k([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var O=new n.Ay(100);function E(t){if((0,i.isString)(t)){var e=O.get(t);return e||(e=m(t,-.1),O.put(t,e)),e}if((0,i.isGradientObject)(t)){var r=(0,i.extend)({},t);return r.colorStops=(0,i.map)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),r}return t}},36587(t,e,r){"use strict";r.r(e),r.d(e,{disposeAll:()=>ts,registerSSRDataGetter:()=>th,dispose:()=>ta,registerPainter:()=>tu,init:()=>to,getElementSSRData:()=>tc,getInstance:()=>tl,version:()=>tf});var n,i,o,a,s=r(88934),l=r(60969),u=r(65959),c=r(20914),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},f=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,n=t.offsetY,i=r-this._x,o=n-this._y;this._x=r,this._y=n,e.drift(i,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(r,n,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=r(54714),d=r(59433),g=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,r){var n=t.touches;if(n){for(var i={points:[],touches:[],target:e,event:t},o=0,a=n.length;o<a;o++){var s=n[o],l=d.Yo(r,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in v)if(v.hasOwnProperty(e)){var r=v[e](this._track,t);if(r)return r}},t}();function y(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}var v={pinch:function(t,e){var r=t.length;if(r){var n=(t[r-1]||{}).points,i=(t[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var o=y(n)/y(i);isFinite(o)||(o=1),e.pinchScale=o;var a=[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=r(87443),_="silent";function b(){d.ds(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,u.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.A),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],A=new m.A(0,0,0,0),M=function(t){function e(e,r,n,i,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=r,a.painterRoot=i,a._pointerSize=o,n=n||new x,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new f(a),a}return(0,u.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.each(S,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,r=t.zrY,n=T(this,e,r),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=n?new w(e,r):this.findHover(e,r),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new w(0,0)},e.prototype.dispatch=function(t,e){var r=this[t];r&&r.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,r){var n=(t=t||{}).target;if(!n||!n.silent){for(var i,o="on"+e,a={type:e,event:r,target:(i=t).target,topTarget:i.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:b};n&&(n[o]&&(a.cancelBubble=!!n[o].call(n,a)),n.trigger(e,a),n=n.__hostTarget?n.__hostTarget:n.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,r){var n=this.storage.getDisplayList(),i=new w(t,e);if(k(n,i,t,e,r),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.A(t-s,e-s,a,a),u=n.length-1;u>=0;u--){var c=n[u];c===r||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(A.copy(c.getBoundingRect()),c.transform&&A.applyTransform(c.transform),A.intersect(l)&&o.push(c))}if(o.length){for(var h=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=4)for(var d=0;d<f;d+=h)if(k(o,i,t+p*Math.cos(d),e+p*Math.sin(d),r),i.target)return i}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new g);var r=this._gestureMgr;"start"===e&&r.clear();var n=r.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&r.clear(),n){var i=n.type;t.gestureEvent=i;var o=new w;o.target=n.target,this.dispatchToElement(o,i,n.event)}},e}(p.A);function k(t,e,r,n,i){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=function(t,e,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var n=t,i=void 0,o=!1;n;){if(n.ignoreClip&&(o=!0),!o){var a=n.getClipPath();if(a&&!a.contain(e,r))return!1}n.silent&&(i=!0),n=n.__hostTarget||n.parent}return!i||_}return!1}(a,r,n))&&(e.topTarget||(e.topTarget=a),s!==_)){e.target=a;break}}}function T(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}l.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var r,n,i=e.zrX,o=e.zrY,a=T(this,i,o);if("mouseup"===t&&a||(n=(r=this.findHover(i,o)).target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||c.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}});var C=r(31223),O=r(15663),E=!1;function I(){E||(E=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function D(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var R=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=D}return t.prototype.traverse=function(t,e){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(e),r},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,r=this._displayList,n=0,i=e.length;n<i;n++)this._updateAndAddDisplayable(e[n],null,t);r.length=this._displayListLen,(0,C.A)(r,D)},t.prototype._updateAndAddDisplayable=function(t,e,r){if(!t.ignore||r){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath();if(t.ignoreClip)e=null;else if(n){e=e?e.slice():[];for(var i=n,o=t;i;)i.parent=o,i.updateTransform(),e.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=O.M),this._updateAndAddDisplayable(l,e,r)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(I(),t.z=0),isNaN(t.z2)&&(I(),t.z2=0),isNaN(t.zlevel)&&(I(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,r);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,r)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,r=t.length;e<r;e++)this.delRoot(t[e]);return}var n=l.indexOf(this._roots,t);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}(),L=r(58933),P=r(21542);function B(){return new Date().getTime()}var F=function(t){function e(e){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,r.stage=(e=e||{}).stage||{},r}return(0,u.C6)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,r=t.next;e?e.next=r:this._head=r,r?r.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=B()-this._pausedTime,r=e-this._time,n=this._head;n;){var i=n.next;n.step(e,r)&&(n.ondestroy(),this.removeClip(n)),n=i}this._time=e,!t&&(this.trigger("frame",r),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,L.A)(function e(){t._running&&((0,L.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=B(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=B(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=B()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var r=new P.A(t,e.loop);return this.addAnimator(r),r},e}(p.A),N=s.A.domSupported,z=(n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=l.map(n,function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}),{mouse:n,touch:["touchstart","touchend","touchmove"],pointer:o}),j=["mousemove","mouseup"],H=["pointermove","pointerup"],V=!1;function U(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(t){t&&(t.zrByTouch=!0)}function q(t,e){for(var r=e,n=!1;r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return n}var Z=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},G={mousedown:function(t){t=(0,d.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.e0)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,d.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){q(this,(t=(0,d.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){V=!0,t=(0,d.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){V||(t=(0,d.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,d.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),G.mousemove.call(this,t),G.mousedown.call(this,t)},touchmove:function(t){W(t=(0,d.e0)(this.dom,t)),this.handler.processGesture(t,"change"),G.mousemove.call(this,t)},touchend:function(t){W(t=(0,d.e0)(this.dom,t)),this.handler.processGesture(t,"end"),G.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&G.click.call(this,t)},pointerdown:function(t){G.mousedown.call(this,t)},pointermove:function(t){U(t)||G.mousemove.call(this,t)},pointerup:function(t){G.mouseup.call(this,t)},pointerout:function(t){U(t)||G.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){G[t]=function(e){e=(0,d.e0)(this.dom,e),this.trigger(t,e)}});var $={pointermove:function(t){U(t)||$.mousemove.call(this,t)},pointerup:function(t){$.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 Y(t,e,r,n){t.mounted[e]=r,t.listenerOpts[e]=n,(0,d.q2)(t.domTarget,e,r,n)}function X(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&(0,d.f)(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},J=function(t){function e(e,r){var n,i,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=r,o._localHandlerScope=new K(e,G),N&&(o._globalHandlerScope=new K(document,$)),i=(n=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(z.pointer,function(t){Y(n,t,function(e){i[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(z.touch,function(t){Y(n,t,function(e){i[t].call(o,e),n.touching=!0,null!=n.touchTimer&&(clearTimeout(n.touchTimer),n.touchTimer=null),n.touchTimer=setTimeout(function(){n.touching=!1,n.touchTimer=null},700)})}),l.each(z.mouse,function(t){Y(n,t,function(e){e=(0,d.mK)(e),n.touching||i[t].call(o,e)})})),o}return(0,u.C6)(e,t),e.prototype.dispose=function(){X(this._localHandlerScope),N&&X(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,N&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.A.pointerEventsSupported?l.each(H,r):s.A.touchEventsSupported||l.each(j,r);function r(r){Y(e,r,function(n){if(!q(t,(n=(0,d.mK)(n)).target)){var i;i=n,n=(0,d.e0)(t.dom,new Z(t,i),!0),e.domHandlers[r].call(t,n)}},{capture:!0})}}(this,e):X(e)}},e}(p.A),Q=r(4783),tt=r(7551),te=r(58377),tr={},tn={},ti=function(){function t(t,e,r){var n,i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=e,this.id=t;var o=new R,a=r.renderer||"canvas";tr[a]||(a=l.keys(tr)[0]),r.useDirtyRect=null!=r.useDirtyRect&&r.useDirtyRect;var u=new tr[a](e,o,r,t),c=r.ssr||u.ssrOnly;this.storage=o,this.painter=u;var h=s.A.node||s.A.worker||c?null:new J(u.getViewportRoot(),u.root),f=r.useCoarsePointer;(null==f||"auto"===f?s.A.touchEventsSupported:!!f)&&(n=l.retrieve2(r.pointerSize,44)),this.handler=new M(o,u,h,u.root,n),this.animation=new F({stage:{update:c?null:function(){return i._flush(!0)}}}),c||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,Q.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,r=0,n=e.length,i=0;i<n;i++)r+=(0,Q.lum)(e[i].color,1);return(r/=n)<tt.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,r=B();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=B();e?(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(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,r){return this._disposed||this.handler.on(t,e,r),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete tn[t]}},t}();function to(t,e){var r=new ti(l.guid(),t,e);return tn[r.id]=r,r}function ta(t){t.dispose()}function ts(){for(var t in tn)tn.hasOwnProperty(t)&&tn[t].dispose();tn={}}function tl(t){return tn[t]}function tu(t,e){tr[t]=e}function tc(t){if("function"==typeof a)return a(t)}function th(t){a=t}var tf="5.6.1"}}]);