@rsdoctor/client 2.0.0-alpha.0 → 2.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/diff.html +1 -1
- package/dist/index.html +1 -1
- package/dist/resource/css/907.6e95b0049a.css +1 -0
- package/dist/resource/js/533.e56eaf911f.js +1 -0
- package/dist/resource/js/540.6a0046eda5.js +399 -0
- package/dist/resource/js/760.028ee920da.js +1 -0
- package/dist/resource/js/907.7091b9e220.js +112 -0
- package/dist/resource/js/ant-design-0.4653249cbc.js +81 -0
- package/dist/resource/js/ant-design-1.1695063c62.js +305 -0
- package/dist/resource/js/ant-design-icons.7b432ca17d.js +57 -0
- package/dist/resource/js/diff.41096a3b71.js +57 -0
- package/dist/resource/js/index.3de7da7cae.js +91 -0
- package/dist/resource/js/rc.806d75fd9c.js +1 -0
- package/dist/resource/js/react.a45650f262.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +34 -12
- package/dist/config/constants.d.cts +0 -7
- package/dist/config/constants.d.ts +0 -7
- package/dist/resource/css/523.63628dfed2.css +0 -1
- package/dist/resource/js/494.345d38694e.js +0 -1
- package/dist/resource/js/508.72f1420008.js +0 -399
- package/dist/resource/js/523.16512be1dd.js +0 -112
- package/dist/resource/js/654.b07b8694e7.js +0 -2
- package/dist/resource/js/ant-design-0.d899709d82.js +0 -124
- package/dist/resource/js/ant-design-1.6a36dac960.js +0 -262
- package/dist/resource/js/ant-design-2.afa6fe81d0.js +0 -133
- package/dist/resource/js/ant-design-3.0f9f01b96d.js +0 -128
- package/dist/resource/js/ant-design-4.daa0320cc8.js +0 -190
- package/dist/resource/js/ant-design-icons.f0e8a5e979.js +0 -57
- package/dist/resource/js/diff.d73db911d5.js +0 -57
- package/dist/resource/js/index.bc1ffed759.js +0 -91
- package/dist/resource/js/rc-0.4870b78668.js +0 -1
- package/dist/resource/js/rc-1.b43035e064.js +0 -1
- package/dist/resource/js/react.cb9d29a506.js +0 -1
- package/dist/src/App.d.cts +0 -3
- package/dist/src/App.d.ts +0 -3
- package/dist/src/DiffApp.d.cts +0 -3
- package/dist/src/DiffApp.d.ts +0 -3
- package/dist/src/DiffRouter.d.cts +0 -2
- package/dist/src/DiffRouter.d.ts +0 -2
- package/dist/src/components/BaseApp.d.cts +0 -8
- package/dist/src/components/BaseApp.d.ts +0 -8
- package/dist/src/diff.d.cts +0 -2
- package/dist/src/diff.d.ts +0 -2
- package/dist/src/index.d.cts +0 -2
- package/dist/src/index.d.ts +0 -2
- package/dist/src/router.d.cts +0 -2
- package/dist/src/router.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.rspackChunk_rsdoctor_client=self.rspackChunk_rsdoctor_client||[]).push([[533],{71627(t,e,r){"use strict";r.d(e,{z1:()=>S,cM:()=>d,bK:()=>m,UA:()=>C,uy:()=>p});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 d(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 d=new l({h:c(i,s),s:h(i,s),v:f(i,s)});r.push(d)}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 p={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 k=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];k.primary=k[5];var M=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];M.primary=M[5];var T=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];T.primary=T[5];var C={red:g,volcano:y,orange:v,gold:m,yellow:_,lime:b,green:x,cyan:w,blue:S,geekblue:A,purple:k,magenta:M,grey:T},O=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];O.primary=O[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 E=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];E.primary=E[5];var L=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];L.primary=L[5];var R=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];R.primary=R[5];var P=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];P.primary=P[5];var z=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];z.primary=z[5];var B=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];B.primary=B[5];var N=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];N.primary=N[5];var F=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];F.primary=F[5];var j=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];j.primary=j[5];var H=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];H.primary=H[5]},53725(t,e,r){"use strict";r.d(e,{A:()=>d});var n={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"};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{isValid=!0;r=0;g=0;b=0;a=1;_h;_hsl_s;_hsv_s;_l;_v;_max;_min;_brightness;constructor(t){function e(e){return e[0]in t&&e[1]in t&&e[2]in t}if(t)if("string"==typeof t){const e=t.trim();function r(t){return e.startsWith(t)}if(/^#?[A-F\d]{3,8}$/i.test(e))this.fromHexString(e);else if(r("rgb"))this.fromRgbString(e);else if(r("hsl"))this.fromHslString(e);else if(r("hsv")||r("hsb"))this.fromHsvString(e);else{const t=n[e.toLowerCase()];t&&this.fromHexString(parseInt(t,36).toString(16).padStart(6,"0"))}}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._hsl_s=t._hsl_s,this._hsv_s=t._hsv_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(){return this.getHSVSaturation()}getHSVSaturation(){if(void 0===this._hsv_s){let t=this.getMax()-this.getMin();0===t?this._hsv_s=0:this._hsv_s=t/this.getMax()}return this._hsv_s}getHSLSaturation(){if(void 0===this._hsl_s){let t=this.getMax()-this.getMin();if(0===t)this._hsl_s=0;else{let e=this.getLightness();this._hsl_s=t/255/(1-Math.abs(2*e-1))}}return this._hsl_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.getHSLSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),e=i(100*this.getHSLSaturation()),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.getHSVSaturation(),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}){let o=(t%360+360)%360;if(this._h=o,this._hsl_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;return}let a=0,s=0,l=0,u=o/60,c=(1-Math.abs(2*r-1))*e,h=c*(1-Math.abs(u%2-1));u>=0&&u<1?(a=c,s=h):u>=1&&u<2?(a=h,s=c):u>=2&&u<3?(s=c,l=h):u>=3&&u<4?(s=h,l=c):u>=4&&u<5?(a=h,l=c):u>=5&&u<6&&(a=c,l=h);let f=r-c/2;this.r=i((a+f)*255),this.g=i((s+f)*255),this.b=i((l+f)*255)}fromHsv({h:t,s:e,v:r,a:n}){let o=(t%360+360)%360;this._h=o,this._hsv_s=e,this._v=r,this.a="number"==typeof n?n:1;let a=i(255*r);if(this.r=a,this.g=a,this.b=a,e<=0)return;let s=o/60,l=Math.floor(s),u=s-l,c=i(r*(1-e)*255),h=i(r*(1-e*u)*255),f=i(r*(1-e*(1-u))*255);switch(l){case 0:this.g=f,this.b=c;break;case 1:this.r=h,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=h;break;case 4:this.r=f,this.g=c;break;default:this.g=c,this.b=h}}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]}}let 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){let 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){let 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 d(t,e={}){let r=[],n=new l(t),i=n.toHsv();for(let t=5;t>0;t-=1){let e=new l({h:c(i,t,!0),s:h(i,t,!0),v:f(i,t,!0)});r.push(e)}r.push(n);for(let t=1;t<=4;t+=1){let e=new l({h:c(i,t),s:h(i,t),v:f(i,t)});r.push(e)}return"dark"===e.theme?u.map(({index:t,amount:n})=>new l(e.backgroundColor||"#141414").mix(r[t],n).toHexString()):r.map(t=>t.toHexString())}},50630(t,e,r){"use strict";r.d(e,{z1:()=>h});let n=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];n.primary=n[5];let i=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];i.primary=i[5];let o=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];o.primary=o[5];let a=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];a.primary=a[5];let s=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];s.primary=s[5];let l=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];l.primary=l[5];let u=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];u.primary=u[5];let c=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];c.primary=c[5];let h=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];h.primary=h[5];let f=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];f.primary=f[5];let d=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];d.primary=d[5];let p=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];p.primary=p[5];let g=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];g.primary=g[5];let y=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];y.primary=y[5];let v=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];v.primary=v[5];let m=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];m.primary=m[5];let _=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];_.primary=_[5];let b=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];b.primary=b[5];let x=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];x.primary=x[5];let w=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];w.primary=w[5];let S=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];S.primary=S[5];let A=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];A.primary=A[5];let k=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];k.primary=k[5];let M=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];M.primary=M[5];let T=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];T.primary=T[5];let C=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];C.primary=C[5]},43426(t,e,r){"use strict";r.d(e,{Mo:()=>tZ,an:()=>N,Q7:()=>E,lO:()=>tr,Ki:()=>G,zA:()=>Z,RC:()=>tW,hV:()=>ti,IV:()=>tV});var n,i,o=r(5908),a=r(27289),s=r(7262),l=r(57970),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)},c=r(31044),h=r(1102),f=r.t(h,2);r(2779),r(19709);var d=r(23850),p=r(45804);function g(t){return t.join("%")}var y=function(){function t(e){(0,d.A)(this,t),(0,o.A)(this,"instanceId",void 0),(0,o.A)(this,"cache",new Map),this.instanceId=e}return(0,p.A)(t,[{key:"get",value:function(t){return this.opGet(g(t))}},{key:"opGet",value:function(t){return this.cache.get(t)||null}},{key:"update",value:function(t,e){return this.opUpdate(g(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}(),v="data-token-hash",m="data-css-hash",_="__cssinjs_instance__",b=h.createContext({hashPriority:"low",cache:function(){var t=Math.random().toString(12).slice(2);if("u">typeof document&&document.head&&document.body){var e=document.body.querySelectorAll("style[".concat(m,"]"))||[],r=document.head.firstChild;Array.from(e).forEach(function(e){e[_]=e[_]||t,e[_]===t&&document.head.insertBefore(e,r)});var n={};Array.from(document.querySelectorAll("style[".concat(m,"]"))).forEach(function(e){var r,i=e.getAttribute(m);n[i]?e[_]===t&&(null==(r=e.parentNode)||r.removeChild(e)):n[i]=!0})}return new y(t)}(),defaultCache:!0}),x=r(45983),w=r(80517),S=r(9548),A=r(60410),k=r(80451),M=(0,p.A)(function t(){(0,d.A)(this,t)}),T="CALC_UNIT",C=RegExp(T,"g");function O(t){return"number"==typeof t?"".concat(t).concat(T):t}var I=function(t){(0,A.A)(r,t);var e=(0,k.A)(r);function r(t,n){(0,d.A)(this,r),i=e.call(this),(0,o.A)((0,S.A)(i),"result",""),(0,o.A)((0,S.A)(i),"unitlessCssVar",void 0),(0,o.A)((0,S.A)(i),"lowPriority",void 0);var i,a=(0,x.A)(t);return i.unitlessCssVar=n,t instanceof r?i.result="(".concat(t.result,")"):"number"===a?i.result=O(t):"string"===a&&(i.result=t),i}return(0,p.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(O(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(O(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(C,n?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),r}(M),D=function(t){(0,A.A)(r,t);var e=(0,k.A)(r);function r(t){var n;return(0,d.A)(this,r),n=e.call(this),(0,o.A)((0,S.A)(n),"result",0),t instanceof r?n.result=t.result:"number"==typeof t&&(n.result=t),n}return(0,p.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}(M),E=function(t,e){var r="css"===t?I:D;return function(t){return new r(t,e)}},L=function(){function t(){(0,d.A)(this,t),(0,o.A)(this,"cache",void 0),(0,o.A)(this,"keys",void 0),(0,o.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,p.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,a.A)(t,2)[1];return n.internalGet(e)[1]<r?[e,n.internalGet(e)[1]]:t},[this.keys[0],this.cacheCallTimes]),o=(0,a.A)(i,1)[0];this.delete(o)}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,o.A)(L,"MAX_CACHE_SIZE",20),(0,o.A)(L,"MAX_CACHE_OFFSET",5);var R=r(56865),P=0,z=function(){function t(e){(0,d.A)(this,t),(0,o.A)(this,"derivatives",void 0),(0,o.A)(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=P,0===e.length&&(0,R.$e)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),P+=1}return(0,p.A)(t,[{key:"getDerivativeToken",value:function(t){return this.derivatives.reduce(function(e,r){return r(t,e)},void 0)}}]),t}(),B=new L;function N(t){var e=Array.isArray(t)?t:[t];return B.has(e)||B.set(e,new z(e)),B.get(e)}var F=new WeakMap,j={},H=new WeakMap;function V(t){var e=H.get(t)||"";return e||(Object.keys(t).forEach(function(r){var n=t[r];e+=r,n instanceof z?e+=n.id:n&&"object"===(0,x.A)(n)?e+=V(n):e+=n}),e=u(e),H.set(t,e)),e}function U(t,e){return u("".concat(e,"_").concat(V(t)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var W=(0,w.A)();function Z(t){return"number"==typeof t?"".concat(t,"px"):t}function q(t,e,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(a)return t;var s=(0,l.A)((0,l.A)({},i),{},(n={},(0,o.A)(n,v,e),(0,o.A)(n,m,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 G=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()},Y=function(t,e,r){var n,i={},o={};return Object.entries(t).forEach(function(t){var e=(0,a.A)(t,2),n=e[0],s=e[1];if(null!=r&&null!=(l=r.preserve)&&l[n])o[n]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=r&&null!=(u=r.ignore)&&u[n])){var l,u,c,h=G(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"),o[n]="var(".concat(h,")")}}),[o,(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,a.A)(t,2),r=e[0],n=e[1];return"".concat(r,":").concat(n,";")}).join(""),"}"):"")]},$=r(2690),X=(0,l.A)({},f).useInsertionEffect,K=X?function(t,e,r){return X(function(){return t(),e()},r)}:function(t,e,r){h.useMemo(t,r),(0,$.A)(function(){return e(!0)},r)},Q=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 J(t,e,r,n,i){var o=h.useContext(b).cache,l=g([t].concat((0,s.A)(e))),u=Q([l]),c=function(t){o.opUpdate(l,function(e){var n=(0,a.A)(e||[void 0,void 0],2),i=n[0],o=[void 0===i?0:i,n[1]||r()];return t?t(o):o})};h.useMemo(function(){c()},[l]);var f=o.opGet(l)[1];return K(function(){null==i||i(f)},function(t){return c(function(e){var r=(0,a.A)(e,2),n=r[0],o=r[1];return t&&0===n&&(null==i||i(f)),[n+1,o]}),function(){o.opUpdate(l,function(e){var r=(0,a.A)(e||[],2),i=r[0],s=void 0===i?0:i,c=r[1];return 0==s-1?(u(function(){(t||!o.opGet(l))&&(null==n||n(c,!1))}),null):[s-1,c]})}},[l]),f}var tt={},te=new Map,tr=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},tn="token";function ti(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(0,h.useContext)(b),i=n.cache.instanceId,o=n.container,f=r.salt,d=void 0===f?"":f,p=r.override,g=void 0===p?tt:p,y=r.formatToken,x=r.getComputedToken,w=r.cssVar,S=function(t,e){for(var r=F,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(j)||r.set(j,t()),r.get(j)}(function(){return Object.assign.apply(Object,[{}].concat((0,s.A)(e)))},e),A=V(S),k=V(g),M=w?V(w):"";return J(tn,[d,t.id,A,k,M],function(){var e,r=x?x(S,g,t):tr(S,g,t,y),n=(0,l.A)({},r),i="";if(w){var o=Y(r,w.key,{prefix:w.prefix,ignore:w.ignore,unitless:w.unitless,preserve:w.preserve}),s=(0,a.A)(o,2);r=s[0],i=s[1]}var c=U(r,d);r._tokenKey=c,n._tokenKey=U(n,d);var h=null!=(e=null==w?void 0:w.key)?e:c;r._themeKey=h,te.set(h,(te.get(h)||0)+1);var f="".concat("css","-").concat(u(c));return r._hashId=f,[r,f,n,i,(null==w?void 0:w.key)||""]},function(t){var e,r,n;e=t[0]._themeKey,te.set(e,(te.get(e)||0)-1),n=(r=Array.from(te.keys())).filter(function(t){return 0>=(te.get(t)||0)}),r.length-n.length>0&&n.forEach(function(t){"u">typeof document&&document.querySelectorAll("style[".concat(v,'="').concat(t,'"]')).forEach(function(t){if(t[_]===i){var e;null==(e=t.parentNode)||e.removeChild(t)}}),te.delete(t)})},function(t){var e=(0,a.A)(t,4),r=e[0],n=e[3];if(w&&n){var s=(0,c.BD)(n,u("css-variables-".concat(r._themeKey)),{mark:m,prepend:"queue",attachTo:o,priority:-999});s[_]=i,s.setAttribute(v,r._themeKey)}})}var to=r(77161),ta={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},ts="comm",tl="rule",tu="decl",tc=Math.abs,th=String.fromCharCode;function tf(t,e,r){return t.replace(e,r)}function td(t,e){return 0|t.charCodeAt(e)}function tp(t,e,r){return t.slice(e,r)}function tg(t){return t.length}function ty(t,e){return e.push(t),t}function tv(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function tm(t,e,r,n){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case tu:return t.return=t.return||t.value;case ts:return"";case"@keyframes":return t.return=t.value+"{"+tv(t.children,n)+"}";case tl:if(!tg(t.value=t.props.join(",")))return""}return tg(r=tv(t.children,n))?t.return=t.value+"{"+r+"}":""}var t_=1,tb=1,tx=0,tw=0,tS=0,tA="";function tk(t,e,r,n,i,o,a,s){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:t_,column:tb,length:a,return:"",siblings:s}}function tM(){return tS=tw<tx?td(tA,tw++):0,tb++,10===tS&&(tb=1,t_++),tS}function tT(){return td(tA,tw)}function tC(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 tO(t){var e,r;return(e=tw-1,r=function t(e){for(;tM();)switch(tS){case e:return tw;case 34:case 39:34!==e&&39!==e&&t(tS);break;case 40:41===e&&t(e);break;case 92:tM()}return tw}(91===t?t+2:40===t?t+1:t),tp(tA,e,r)).trim()}function tI(t,e,r,n,i,o,a,s,l,u,c,h){for(var f=i-1,d=0===i?o:[""],p=d.length,g=0,y=0,v=0;g<n;++g)for(var m=0,_=tp(t,f+1,f=tc(y=a[g])),b=t;m<p;++m)(b=(y>0?d[m]+" "+_:tf(_,/&\f/g,d[m])).trim())&&(l[v++]=b);return tk(t,e,r,0===i?tl:s,l,u,c,h)}function tD(t,e,r,n,i){return tk(t,e,r,tu,tp(t,0,n),tp(t,n+1,-1),n,i)}var tE="data-ant-cssinjs-cache-path",tL="_FILE_STYLE__",tR=!0,tP="_multi_value_";function tz(t){var e,r,n;return tv((n=function t(e,r,n,i,o,a,s,l,u){for(var c,h,f,d,p,g,y=0,v=0,m=s,_=0,b=0,x=0,w=1,S=1,A=1,k=0,M="",T=o,C=a,O=i,I=M;S;)switch(x=k,k=tM()){case 40:if(108!=x&&58==td(I,m-1)){-1!=(p=I+=tf(tO(k),"&","&\f"),g=tc(y?l[y-1]:0),p.indexOf("&\f",g))&&(A=-1);break}case 34:case 39:case 91:I+=tO(k);break;case 9:case 10:case 13:case 32:I+=function(t){for(;tS=tT();)if(tS<33)tM();else break;return tC(t)>2||tC(tS)>3?"":" "}(x);break;case 92:I+=function(t,e){for(var r;--e&&tM()&&!(tS<48)&&!(tS>102)&&(!(tS>57)||!(tS<65))&&(!(tS>70)||!(tS<97)););return r=tw+(e<6&&32==tT()&&32==tM()),tp(tA,t,r)}(tw-1,7);continue;case 47:switch(tT()){case 42:case 47:ty((c=function(t,e){for(;tM();)if(t+tS===57)break;else if(t+tS===84&&47===tT())break;return"/*"+tp(tA,e,tw-1)+"*"+th(47===t?t:tM())}(tM(),tw),h=r,f=n,d=u,tk(c,h,f,ts,th(tS),tp(c,2,-2),0,d)),u),(5==tC(x||1)||5==tC(tT()||1))&&tg(I)&&" "!==tp(I,-1,void 0)&&(I+=" ");break;default:I+="/"}break;case 123*w:l[y++]=tg(I)*A;case 125*w:case 59:case 0:switch(k){case 0:case 125:S=0;case 59+v:-1==A&&(I=tf(I,/\f/g,"")),b>0&&(tg(I)-m||0===w&&47===x)&&ty(b>32?tD(I+";",i,n,m-1,u):tD(tf(I," ","")+";",i,n,m-2,u),u);break;case 59:I+=";";default:if(ty(O=tI(I,r,n,y,v,o,l,M,T=[],C=[],m,a),a),123===k)if(0===v)t(I,r,O,O,T,a,m,l,C);else switch(99===_&&110===td(I,3)?100:_){case 100:case 108:case 109:case 115:t(e,O,O,i&&ty(tI(e,O,O,0,0,o,l,M,o,T=[],m,C),C),o,C,m,l,i?T:C);break;default:t(I,O,O,O,[""],C,0,l,C)}}y=v=b=0,w=A=1,M=I="",m=s;break;case 58:m=1+tg(I),b=x;default:if(w<1){if(123==k)--w;else if(125==k&&0==w++&&125==(tS=tw>0?td(tA,--tw):0,tb--,10===tS&&(tb=1,t_--),tS))continue}switch(I+=th(k),k*w){case 38:A=v>0?1:(I+="\f",-1);break;case 44:l[y++]=(tg(I)-1)*A,A=1;break;case 64:45===tT()&&(I+=tO(tM())),_=tT(),v=m=tg(M=I+=function(t){for(;!tC(tT());)tM();return tp(tA,t,tw)}(tw)),k++;break;case 45:45===x&&2==tg(I)&&(w=0)}}return a}("",null,null,null,[""],(r=e=t,t_=tb=1,tx=tg(tA=r),tw=0,e=[]),0,[0],e),tA="",n),tm).replace(/\{%%%\:[^;];}/g,";")}function tB(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 tN=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,o=n.injectHash,u=n.parentSelectors,c=r.hashId,h=r.layer,f=(r.path,r.hashPriority),d=r.transformers,p=void 0===d?[]:d,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}),o=(0,a.A)(i,1)[0];y[n]="@keyframes ".concat(e.getName(c)).concat(o)}}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=p.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,x.A)(n)||!n||"animationName"===e&&n._keyframe||"object"===(0,x.A)(n)&&n&&("_skip_check_"in n||tP in n)){function d(t,e){var r=t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())}),n=e;ta[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 p,m=null!=(p=null==n?void 0:n.value)?p:n;"object"===(0,x.A)(n)&&null!=n&&n[tP]&&Array.isArray(m)?m.forEach(function(t){d(e,t)}):d(e,m)}else{var _=!1,b=e.trim(),w=!1;(i||o)&&c?b.startsWith("@")?_=!0:b="&"===b?tB("",c,f):tB(e,c,f):i&&!c&&("&"===b||""===b)&&(b="",w=!0);var S=t(n,r,{root:w,injectHash:_,parentSelectors:[].concat((0,s.A)(u),[b])}),A=(0,a.A)(S,2),k=A[0],M=A[1];y=(0,l.A)((0,l.A)({},y),M),g+="".concat(b).concat(k)}})}}),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 tF(t,e){return u("".concat(t.join("%")).concat(e))}function tj(){return null}var tH="style";function tV(t,e){var r=t.token,i=t.path,u=t.hashId,f=t.layer,d=t.nonce,p=t.clientOnly,g=t.order,y=void 0===g?0:g,x=h.useContext(b),S=x.autoClear,A=(x.mock,x.defaultCache),k=x.hashPriority,M=x.container,T=x.ssrInline,C=x.transformers,O=x.linters,I=x.cache,D=x.layer,E=r._tokenKey,L=[E];D&&L.push("layer"),L.push.apply(L,(0,s.A)(i));var R=J(tH,L,function(){var t=L.join("|");if(function(t){if(!n&&(n={},(0,w.A)())){var e,r=document.createElement("div");r.className=tE,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,a.A)(e,2),i=r[0],o=r[1];n[i]=o});var o=document.querySelector("style[".concat(tE,"]"));o&&(tR=!1,null==(e=o.parentNode)||e.removeChild(o)),document.body.removeChild(r)}return!!n[t]}(t)){var r=function(t){var e=n[t],r=null;if(e&&(0,w.A)())if(tR)r=tL;else{var i=document.querySelector("style[".concat(m,'="').concat(n[t],'"]'));i?r=i.innerHTML:delete n[t]}return[r,e]}(t),o=(0,a.A)(r,2),s=o[0],l=o[1];if(s)return[s,E,l,{},p,y]}var c=tN(e(),{hashId:u,hashPriority:k,layer:D?f:void 0,path:i.join("-"),transformers:C,linters:O}),h=(0,a.A)(c,2),d=h[0],g=h[1],v=tz(d),_=tF(L,v);return[v,E,_,g,p,y]},function(t,e){var r=(0,a.A)(t,3)[2];(e||S)&&W&&(0,c.m6)(r,{mark:m})},function(t){var e=(0,a.A)(t,4),r=e[0],n=(e[1],e[2]),i=e[3];if(W&&r!==tL){var o={mark:m,prepend:!D&&"queue",attachTo:M,priority:y},s="function"==typeof d?d():d;s&&(o.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)(tz(i[t]),"_layer-".concat(t),(0,l.A)((0,l.A)({},o),{},{prepend:!0}))});var f=(0,c.BD)(r,n,o);f[_]=I.instanceId,f.setAttribute(v,E),h.forEach(function(t){(0,c.BD)(tz(i[t]),"_effect-".concat(t),o)})}}),P=(0,a.A)(R,3),z=P[0],B=P[1],N=P[2];return function(t){var e,r;return e=T&&!W&&A?h.createElement("style",(0,to.A)({},(r={},(0,o.A)(r,v,B),(0,o.A)(r,m,N),r),{dangerouslySetInnerHTML:{__html:z}})):h.createElement(tj,null),h.createElement(h.Fragment,null,e,t)}}var tU="cssVar",tW=function(t,e){var r=t.key,n=t.prefix,i=t.unitless,o=t.ignore,l=t.token,u=t.scope,f=void 0===u?"":u,d=(0,h.useContext)(b),p=d.cache.instanceId,g=d.container,y=l._tokenKey,x=[].concat((0,s.A)(t.path),[r,f,y]);return J(tU,x,function(){var t=Y(e(),r,{prefix:n,unitless:i,ignore:o,scope:f}),s=(0,a.A)(t,2),l=s[0],u=s[1],c=tF(x,u);return[l,u,c,r]},function(t){var e=(0,a.A)(t,3)[2];W&&(0,c.m6)(e,{mark:m})},function(t){var e=(0,a.A)(t,3),n=e[1],i=e[2];if(n){var o=(0,c.BD)(n,i,{mark:m,prepend:"queue",attachTo:g,priority:-999});o[_]=p,o.setAttribute(v,r)}})};i={},(0,o.A)(i,tH,function(t,e,r){var n=(0,a.A)(t,6),i=n[0],o=n[1],s=n[2],l=n[3],u=n[4],c=n[5],h=(r||{}).plain;if(u)return null;var f=i,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return f=q(i,o,s,d,h),l&&Object.keys(l).forEach(function(t){if(!e[t]){e[t]=!0;var r=q(tz(l[t]),o,"_effect-".concat(t),d,h);t.startsWith("@layer")?f=r+f:f+=r}}),[c,s,f]}),(0,o.A)(i,tn,function(t,e,r){var n=(0,a.A)(t,5),i=n[2],o=n[3],s=n[4],l=(r||{}).plain;if(!o)return null;var u=i._tokenKey,c=q(o,s,u,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,u,c]}),(0,o.A)(i,tU,function(t,e,r){var n=(0,a.A)(t,4),i=n[1],o=n[2],s=n[3],l=(r||{}).plain;if(!i)return null;var u=q(i,s,o,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,o,u]});var tZ=function(){function t(e,r){(0,d.A)(this,t),(0,o.A)(this,"name",void 0),(0,o.A)(this,"style",void 0),(0,o.A)(this,"_keyframe",!0),this.name=e,this.style=r}return(0,p.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 tq(t){return t.notSplit=!0,t}tq(["borderTop","borderBottom"]),tq(["borderTop"]),tq(["borderBottom"]),tq(["borderLeft","borderRight"]),tq(["borderLeft"]),tq(["borderRight"])},20046(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)}function l(t,e,r){t=n(t,255);var i=Math.max(t,e=n(e,255),r=n(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 u(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 c(t,e,r){t=n(t,255);var i=Math.max(t,e=n(e,255),r=n(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 h(t,e,r,n){var i=[s(Math.round(t).toString(16)),s(Math.round(e).toString(16)),s(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}r.d(e,{q:()=>_});function f(t){return parseInt(t,16)}var d={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"},p="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),g="[\\s|\\(]+(".concat(p,")[,|\\s]+(").concat(p,")[,|\\s]+(").concat(p,")\\s*\\)?"),y="[\\s|\\(]+(".concat(p,")[,|\\s]+(").concat(p,")[,|\\s]+(").concat(p,")[,|\\s]+(").concat(p,")\\s*\\)?"),v={CSS_UNIT:new RegExp(p),rgb:RegExp("rgb"+g),rgba:RegExp("rgba"+y),hsl:RegExp("hsl"+g),hsla:RegExp("hsla"+y),hsv:RegExp("hsv"+g),hsva:RegExp("hsva"+y),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 m(t){return!!v.CSS_UNIT.exec(String(t))}var _=function(){function t(e,r){if(void 0===e&&(e=""),void 0===r&&(r={}),e instanceof t)return e;"number"==typeof e&&(e={r:(D=e)>>16,g:(65280&D)>>8,b:255&D}),this.originalInput=e;var i,s,l,c,h,p,g,y,_,b,x,w,S,A,k,M,T,C,O,I,D,E,L=(A={r:0,g:0,b:0},k=1,M=null,T=null,C=null,O=!1,I=!1,"string"==typeof(i=e)&&(i=function(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(d[t])t=d[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var r=v.rgb.exec(t);return r?{r:r[1],g:r[2],b:r[3]}:(r=v.rgba.exec(t))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=v.hsl.exec(t))?{h:r[1],s:r[2],l:r[3]}:(r=v.hsla.exec(t))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=v.hsv.exec(t))?{h:r[1],s:r[2],v:r[3]}:(r=v.hsva.exec(t))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=v.hex8.exec(t))?{r:f(r[1]),g:f(r[2]),b:f(r[3]),a:f(r[4])/255,format:e?"name":"hex8"}:(r=v.hex6.exec(t))?{r:f(r[1]),g:f(r[2]),b:f(r[3]),format:e?"name":"hex"}:(r=v.hex4.exec(t))?{r:f(r[1]+r[1]),g:f(r[2]+r[2]),b:f(r[3]+r[3]),a:f(r[4]+r[4])/255,format:e?"name":"hex8"}:!!(r=v.hex3.exec(t))&&{r:f(r[1]+r[1]),g:f(r[2]+r[2]),b:f(r[3]+r[3]),format:e?"name":"hex"}}(i)),"object"==typeof i&&(m(i.r)&&m(i.g)&&m(i.b)?(s=i.r,l=i.g,c=i.b,A={r:255*n(s,255),g:255*n(l,255),b:255*n(c,255)},O=!0,I="%"===String(i.r).substr(-1)?"prgb":"rgb"):m(i.h)&&m(i.s)&&m(i.v)?(M=a(i.s),T=a(i.v),h=i.h,p=M,g=T,h=6*n(h,360),p=n(p,100),g=n(g,100),y=Math.floor(h),_=h-y,b=g*(1-p),x=g*(1-_*p),w=g*(1-(1-_)*p),A={r:255*[g,x,b,b,w,g][S=y%6],g:255*[w,g,g,x,b,b][S],b:255*[b,b,w,g,g,x][S]},O=!0,I="hsv"):m(i.h)&&m(i.s)&&m(i.l)&&(M=a(i.s),C=a(i.l),A=function(t,e,r){if(t=n(t,360),e=n(e,100),r=n(r,100),0===e)o=r,a=r,i=r;else{var i,o,a,s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;i=u(l,s,t+1/3),o=u(l,s,t),a=u(l,s,t-1/3)}return{r:255*i,g:255*o,b:255*a}}(i.h,M,C),O=!0,I="hsl"),Object.prototype.hasOwnProperty.call(i,"a")&&(k=i.a)),k=o(k),{ok:O,format:i.format||I,r:Math.min(255,Math.max(A.r,0)),g:Math.min(255,Math.max(A.g,0)),b:Math.min(255,Math.max(A.b,0)),a:k});this.originalInput=e,this.r=L.r,this.g=L.g,this.b=L.b,this.a=L.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(E=r.format)?E:L.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=L.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=o(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=c(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=c(this.r,this.g,this.b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(r,"%, ").concat(n,"%)"):"hsva(".concat(e,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=l(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=l(this.r,this.g,this.b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(r,"%, ").concat(n,"%)"):"hsla(".concat(e,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),h(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){var e,r,n,i,o,a;return void 0===t&&(t=!1),e=this.r,r=this.g,n=this.b,i=this.a,o=t,a=[s(Math.round(e).toString(16)),s(Math.round(r).toString(16)),s(Math.round(n).toString(16)),s(Math.round(255*parseFloat(i)).toString(16))],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("")},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*n(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*n(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="#"+h(this.r,this.g,this.b,!1),e=0,r=Object.entries(d);e<r.length;e++){var n=r[e],i=n[0];if(t===n[1])return i}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=i(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=i(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=i(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=i(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}()},96028(t,e,r){"use strict";r.d(e,{A:()=>U});var n,i=r(57970),o=r(7262),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),d=r(60410),p=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 k=function(t){(0,d.A)(r,t);var e=(0,p.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 M(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",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))},I=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,d="(?:".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(d,"$)"),"i")},D=/^(([^<>()\[\]\\.,;:\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,}))$/,E=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,L={integer:function(t){return L.number(t)&&parseInt(t,10)===t},float:function(t){return L.number(t)&&!L.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)&&!L.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&t.length<=320&&!!t.match(D)},url:function(t){return"string"==typeof t&&t.length<=2048&&!!t.match(I())},hex:function(t){return"string"==typeof t&&!!t.match(E)}},R=O,P=function(t,e,r,n,i){(/^\s+$/.test(e)||""===e)&&n.push(w(i.messages.whitespace,t.fullField))},z=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?L[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))},B=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(", ")))},F=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();R(t,e,n,a,i,o),S(e,o)||z(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();R(t,e,n,o,i,"string"),S(e,"string")||(z(t,e,n,o,i),B(t,e,n,o,i),F(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();R(t,e,n,o,i),void 0!==e&&z(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();R(t,e,n,o,i),void 0!==e&&(z(t,e,n,o,i),B(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();R(t,e,n,o,i),void 0!==e&&z(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();R(t,e,n,o,i),S(e)||z(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();R(t,e,n,o,i),void 0!==e&&(z(t,e,n,o,i),B(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();R(t,e,n,o,i),void 0!==e&&(z(t,e,n,o,i),B(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();R(t,e,n,o,i,"array"),null!=e&&(z(t,e,n,o,i),B(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();R(t,e,n,o,i),void 0!==e&&z(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();R(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();R(t,e,n,o,i),S(e,"string")||F(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();R(t,e,n,a,i),!S(e,"date")&&(o=e instanceof Date?e:new Date(e),z(t,o,n,a,i),o&&B(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);R(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();R(t,e,n,o,i)}r(o)}},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 d=this.messages();d===h&&(d=c()),T(d,u.messages),u.messages=d}else u.messages=this.messages();var p={};(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),p[t]=p[t]||[],p[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 k(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 k(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}(p,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 d(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 p(){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(M(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(M(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 p={};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];p[t]=r.map(d.bind(null,t))});var y=new t(p);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,p,e.source,u);else if(h.validator){try{n=h.validator(h,e.value,p,e.source,u)}catch(t){null==(s=(c=console).error)||s.call(c,t),u.suppressValidatorError||setTimeout(function(){throw t},0),p(t.message)}!0===n?p():!1===n?p("function"==typeof h.message?h.message(h.fullField||h.field):h.message||"".concat(h.fullField||h.field," fails")):n instanceof Array?p(n):n instanceof Error&&p(n.message)}n&&n.then&&n.then(function(){return p()},function(t){return p(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);var U=V},4946(t,e,r){"use strict";r.d(e,{q6:()=>u,Ho:()=>d,NT:()=>c});var n=r(27289),i=r(66917),o=r(2690),a=r(19709),s=r(1102),l=r(2450);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 d=s.useState({}),p=(0,n.A)(d,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)||p({})}},[l]),f.current}var h=r(77161),f=r(56216);function d(){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 p=d();p.makeImmutable,p.responseImmutable,p.useImmutableMark},73644(t,e,r){"use strict";r.d(e,{A:()=>v});var n=r(27289),i=r(1102),o=r(2450),a=r(80517);r(56865);var s=r(56216),l=i.createContext(null),u=r(7262),c=r(2690),h=[],f=r(31044),d=r(51138),p="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)},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,k=i.useState(_),M=(0,n.A)(k,2),T=M[0],C=M[1],O=T||_;i.useEffect(function(){(S||_)&&C(_)},[_,S]);var I=i.useState(function(){return y(x)}),D=(0,n.A)(I,2),E=D[0],L=D[1];i.useEffect(function(){var t=y(x);L(null!=t?t:null)});var R=function(t){var e=i.useState(function(){return(0,a.A)()?document.createElement("div"):null}),r=(0,n.A)(e,1)[0],o=i.useRef(!1),s=i.useContext(l),f=i.useState(h),d=(0,n.A)(f,2),p=d[0],g=d[1],y=s||(o.current?void 0:function(t){g(function(e){return[t].concat((0,u.A)(e))})});function v(){r.parentElement||document.body.appendChild(r),o.current=!0}function m(){var t;null==(t=r.parentElement)||t.removeChild(r),o.current=!1}return(0,c.A)(function(){return t?s?s(v):v():m(),m},[t]),(0,c.A)(function(){p.length&&(p.forEach(function(t){return t()}),g(h))},[p]),[r,y]}(O&&!E),P=(0,n.A)(R,2),z=P[0],B=P[1],N=null!=E?E:z;r=!!(b&&_&&(0,a.A)()&&(N===z||N===document.body)),v=i.useState(function(){return g+=1,"".concat(p,"_").concat(g)}),m=(0,n.A)(v,1)[0],(0,c.A)(function(){if(r){var t=(0,d.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 F=null;A&&(0,s.f3)(A)&&e&&(F=A.ref);var j=(0,s.xK)(F,e);if(!O||!(0,a.A)()||void 0===E)return null;var H=!1===N,V=A;return e&&(V=i.cloneElement(A,{ref:j})),i.createElement(l.Provider,{value:B},H?V:(0,o.createPortal)(V,N))})},81958(t,e,r){"use strict";r.d(e,{A:()=>H});var n=r(57970),i=r(27289),o=r(45521),a=r(73644),s=r(30395),l=r.n(s),u=r(72471),c=r(91679),h=r(8928),f=r(66917),d=r(99912),p=r(2690),g=r(78871),y=r(1102),v=r(77161),m=r(29843),_=r(56216);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 d=r.points[0],p=r.points[1],g=d[0],v=d[1],m=p[0],_=p[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.Ay,(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,d=t.keepDom,g=t.fresh,S=t.onClick,A=t.mask,k=t.arrow,M=t.arrowPos,T=t.align,C=t.motion,O=t.maskMotion,I=t.forceRender,D=t.getPopupContainer,E=t.autoDestroy,L=t.portal,R=t.zIndex,P=t.onMouseEnter,z=t.onMouseLeave,B=t.onPointerEnter,N=t.onPointerDownCapture,F=t.ready,j=t.offsetX,H=t.offsetY,V=t.offsetR,U=t.offsetB,W=t.onAlign,Z=t.onPrepare,q=t.stretch,G=t.targetWidth,Y=t.targetHeight,$="function"==typeof r?r():r,X=f||d,K=(null==D?void 0:D.length)>0,Q=y.useState(!D||!K),J=(0,i.A)(Q,2),tt=J[0],te=J[1];if((0,p.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(F||!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 q&&(q.includes("height")&&Y?tu.height=Y:q.includes("minHeight")&&Y&&(tu.minHeight=Y),q.includes("width")&&G?tu.width=G:q.includes("minWidth")&&G&&(tu.minWidth=G)),f||(tu.pointerEvents="none"),y.createElement(L,{open:I||X,getContainer:D&&function(){return D(c)},autoDestroy:E},y.createElement(x,{prefixCls:a,open:f,zIndex:R,mask:A,motion:O}),y.createElement(u.A,{onResize:W,disabled:!f},function(t){return y.createElement(m.Ay,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:I,leavedClassName:"".concat(a,"-hidden")},C,{onAppearPrepare:Z,onEnterPrepare:Z,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(M.x||0,"px"),"--arrow-y":"".concat(M.y||0,"px")},tn),tu),c),{},{boxSizing:"border-box",zIndex:R},s),onMouseEnter:P,onMouseLeave:z,onPointerEnter:B,onClick:S,onPointerDownCapture:N},k&&y.createElement(b,{prefixCls:a,arrow:k,arrowPos:M,align:T}),y.createElement(w,{cache:!f&&!g},$))})}))}),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}),k=y.createContext(null);function M(t){return t?Array.isArray(t)?t:[t]:[]}var T=r(94944);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 I(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 D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function E(t){return D(parseFloat(t),0)}function L(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,d=t.clientWidth,p=E(o),g=E(a),y=E(s),v=E(l),m=D(Math.round(u.width/f*1e3)/1e3),_=D(Math.round(u.height/c*1e3)/1e3),b=p*_,x=y*m,w=0,S=0;if("clip"===n){var A=E(i);w=A*m,S=A*_}var k=u.x+x-w,M=u.y+b-S,T=k+u.width+2*w-x-v*m-(f-d-y-v)*m,C=M+u.height+2*S-b-g*_-(c-h-p-g)*_;r.left=Math.max(r.left,k),r.top=Math.max(r.top,M),r.right=Math.min(r.right,T),r.bottom=Math.min(r.bottom,C)}}),r}function R(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[R(t.width,n),R(t.height,o)]}function z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function B(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 F=r(7262);r(56865);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"],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,E,R,H,V,U,W,Z,q,G,Y=e.prefixCls,$=void 0===Y?"rc-trigger-popup":Y,X=e.children,K=e.action,Q=e.showAction,J=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,td=e.autoDestroy,tp=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,tk=e.fresh,tM=e.alignPoint,tT=e.onPopupClick,tC=e.onPopupAlign,tO=e.arrow,tI=e.popupMotion,tD=e.maskMotion,tE=e.popupTransitionName,tL=e.popupAnimation,tR=e.maskTransitionName,tP=e.maskAnimation,tz=e.className,tB=e.getTriggerDOMNode,tN=(0,o.A)(e,j),tF=y.useState(!1),tj=(0,i.A)(tF,2),tH=tj[0],tV=tj[1];(0,p.A)(function(){tV((0,g.A)())},[]);var tU=y.useRef({}),tW=y.useContext(k),tZ=y.useMemo(function(){return{registerSubPopup:function(t,e){tU.current[t]=e,null==tW||tW.registerSubPopup(t,e)}}},[tW]),tq=(0,d.A)(),tG=y.useState(null),tY=(0,i.A)(tG,2),t$=tY[0],tX=tY[1],tK=y.useRef(null),tQ=(0,f.A)(function(t){tK.current=t,(0,c.fk)(t)&&t$!==t&&tX(t),null==tW||tW.registerSubPopup(tq,t)}),tJ=y.useState(null),t0=(0,i.A)(tJ,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==t$?void 0:t$.contains(t))||(null==(r=(0,h.j)(t$))?void 0:r.host)===t||t===t$||Object.values(tU.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t7=C($,tI,tL,tE),et=C($,tD,tP,tR),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,p.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 ed=y.useState(!1),ep=(0,i.A)(ed,2),eg=ep[0],ey=ep[1];(0,p.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],ek=function(t){eA([t.clientX,t.clientY])},eM=(a=tM&&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 t$?I(t$):[]},[t$]),w=y.useRef({}),eo||(w.current={}),E=(0,f.A)(function(){if(t$&&a&&eo){var t=t$.ownerDocument,e=O(t$).getComputedStyle(t$),r=e.width,o=e.height,s=e.position,l=t$.style.left,u=t$.style.top,h=t$.style.right,f=t$.style.bottom,d=t$.style.overflow,p=(0,n.A)((0,n.A)({},tb[tm]),tx),g=t.createElement("div");if(null==(S=t$.parentElement)||S.appendChild(g),g.style.left="".concat(t$.offsetLeft,"px"),g.style.top="".concat(t$.offsetTop,"px"),g.style.position=s,g.style.height="".concat(t$.offsetHeight,"px"),g.style.width="".concat(t$.offsetWidth,"px"),t$.style.left="0",t$.style.top="0",t$.style.right="auto",t$.style.bottom="auto",t$.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,k,M,C,I,E,R=a.getBoundingClientRect();R.x=null!=(I=R.x)?I:R.left,R.y=null!=(E=R.y)?E:R.top,C={x:R.x,y:R.y,width:R.width,height:R.height}}var F=t$.getBoundingClientRect();F.x=null!=(A=F.x)?A:F.left,F.y=null!=(k=F.y)?k:F.top;var j=t.documentElement,H=j.clientWidth,V=j.clientHeight,U=j.scrollWidth,W=j.scrollHeight,Z=j.scrollTop,q=j.scrollLeft,G=F.height,Y=F.width,$=C.height,X=C.width,K=p.htmlRegion,Q="visible",J="visibleFirst";"scroll"!==K&&K!==J&&(K=Q);var tt=K===J,te=L({left:-q,top:-Z,right:U-q,bottom:W-Z},x),tr=L({left:0,top:0,right:H,bottom:V},x),tn=K===Q?tr:te,ti=tt?tr:tn;t$.style.left="auto",t$.style.top="auto",t$.style.right="0",t$.style.bottom="0";var to=t$.getBoundingClientRect();t$.style.left=l,t$.style.top=u,t$.style.right=h,t$.style.bottom=f,t$.style.overflow=d,null==(M=t$.parentElement)||M.removeChild(g);var ta=D(Math.round(Y/parseFloat(r)*1e3)/1e3),ts=D(Math.round(G/parseFloat(o)*1e3)/1e3);if(!(0===ta||0===ts||(0,c.fk)(a)&&!(0,T.A)(a))){var tl=p.offset,tu=p.targetOffset,tc=P(F,tl),th=(0,i.A)(tc,2),tf=th[0],td=th[1],tp=P(C,tu),tg=(0,i.A)(tp,2),ty=tg[0],tv=tg[1];C.x-=ty,C.y-=tv;var t_=p.points||[],tw=(0,i.A)(t_,2),tS=tw[0],tA=z(tw[1]),tk=z(tS),tM=B(C,tA),tT=B(F,tk),tO=(0,n.A)({},p),tI=tM.x-tT.x+tf,tD=tM.y-tT.y+td,tE=ec(tI,tD),tL=ec(tI,tD,tr),tR=B(C,["t","l"]),tP=B(F,["t","l"]),tz=B(C,["b","r"]),tB=B(F,["b","r"]),tN=p.overflow||{},tF=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),tZ=tk[0]===tA[0];if(tW&&"t"===tk[0]&&(v>ti.bottom||w.current.bt)){var tq=tD;tZ?tq-=G-$:tq=tR.y-tB.y-td;var tG=ec(tI,tq),tY=ec(tI,tq,tr);tG>tE||tG===tE&&(!tt||tY>=tL)?(w.current.bt=!0,tD=tq,td=-td,tO.points=[N(tk,0),N(tA,0)]):w.current.bt=!1}if(tW&&"b"===tk[0]&&(y<ti.top||w.current.tb)){var tX=tD;tZ?tX+=G-$:tX=tz.y-tP.y-td;var tK=ec(tI,tX),tQ=ec(tI,tX,tr);tK>tE||tK===tE&&(!tt||tQ>=tL)?(w.current.tb=!0,tD=tX,td=-td,tO.points=[N(tk,0),N(tA,0)]):w.current.tb=!1}var tJ=tU(tF),t0=tk[1]===tA[1];if(tJ&&"l"===tk[1]&&(b>ti.right||w.current.rl)){var t1=tI;t0?t1-=Y-X:t1=tR.x-tB.x-tf;var t2=ec(t1,tD),t5=ec(t1,tD,tr);t2>tE||t2===tE&&(!tt||t5>=tL)?(w.current.rl=!0,tI=t1,tf=-tf,tO.points=[N(tk,1),N(tA,1)]):w.current.rl=!1}if(tJ&&"r"===tk[1]&&(m<ti.left||w.current.lr)){var t3=tI;t0?t3+=Y-X:t3=tz.x-tP.x-tf;var t6=ec(t3,tD),t4=ec(t3,tD,tr);t6>tE||t6===tE&&(!tt||t4>=tL)?(w.current.lr=!0,tI=t3,tf=-tf,tO.points=[N(tk,1),N(tA,1)]):w.current.lr=!1}eh();var t8=!0===tH?0:tH;"number"==typeof t8&&(m<tr.left&&(tI-=m-tr.left-tf,C.x+X<tr.left+t8&&(tI+=C.x-tr.left+X-t8)),b>tr.right&&(tI-=b-tr.right-tf,C.x>tr.right-t8&&(tI+=C.x-tr.right+t8)));var t9=!0===tV?0:tV;"number"==typeof t9&&(y<tr.top&&(tD-=y-tr.top-td,C.y+$<tr.top+t9&&(tD+=C.y-tr.top+$-t9)),v>tr.bottom&&(tD-=v-tr.bottom-td,C.y>tr.bottom-t9&&(tD+=C.y-tr.bottom+t9)));var t7=F.x+tI,et=F.y+tD,ee=C.x,er=C.y,en=Math.max(t7,ee),ei=Math.min(t7+Y,ee+X),ea=Math.max(et,er),es=Math.min(et+G,er+$);null==tC||tC(t$,tO);var el=to.right-F.x-(tI+F.width),eu=to.bottom-F.y-(tD+F.height);1===ta&&(tI=Math.round(tI),el=Math.round(el)),1===ts&&(tD=Math.round(tD),eu=Math.round(eu)),_({ready:!0,offsetX:tI/ta,offsetY:tD/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=F.x+t,i=F.y+e,o=Math.max(n,r.left),a=Math.max(i,r.top);return Math.max(0,(Math.min(n+Y,r.right)-o)*(Math.min(i+G,r.bottom)-a))}function eh(){v=(y=F.y+tD)+G,b=(m=F.x+tI)+Y}}}),R=function(){_(function(t){return(0,n.A)((0,n.A)({},t),{},{ready:!1})})},(0,p.A)(R,[tm]),(0,p.A)(function(){eo||R()},[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&&E()})}]),eT=(0,i.A)(eM,11),eC=eT[0],eO=eT[1],eI=eT[2],eD=eT[3],eE=eT[4],eL=eT[5],eR=eT[6],eP=eT[7],ez=eT[8],eB=eT[9],eN=eT[10],eF=(H=void 0===K?"hover":K,y.useMemo(function(){var t=M(null!=Q?Q:H),e=M(null!=J?J: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,Q,J])),ej=(0,i.A)(eF,2),eH=ej[0],eV=ej[1],eU=eH.has("click"),eW=eV.has("click")||eV.has("contextMenu"),eZ=(0,f.A)(function(){eg||eN()});V=function(){es.current&&tM&&eW&&ef(!1)},(0,p.A)(function(){if(eo&&t1&&t$){var t=I(t1),e=I(t$),r=O(t$),n=new Set([r].concat((0,F.A)(t),(0,F.A)(e)));function i(){eZ(),V()}return n.forEach(function(t){t.addEventListener("scroll",i,{passive:!0})}),r.addEventListener("resize",i,{passive:!0}),eZ(),function(){n.forEach(function(t){t.removeEventListener("scroll",i),r.removeEventListener("resize",i)})}}},[eo,t1,t$]),(0,p.A)(function(){eZ()},[eS,tm]),(0,p.A)(function(){eo&&!(null!=tb&&tb[tm])&&eZ()},[JSON.stringify(tx)]);var eq=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,$,eB,tM);return l()(t,null==tA?void 0:tA(eB))},[eB,tA,tb,$,tM]);y.useImperativeHandle(r,function(){return{nativeElement:t5.current,popupElement:tK.current,forceAlign:eZ}});var eG=y.useState(0),eY=(0,i.A)(eG,2),e$=eY[0],eX=eY[1],eK=y.useState(0),eQ=(0,i.A)(eK,2),eJ=eQ[0],e0=eQ[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,p.A)(function(){e_&&(eN(),e_(),eb(null))},[e_]),(eU||eW)&&(t8.onClick=function(t){var e;es.current&&eW?ef(!1):!es.current&&eU&&(ek(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,Z=y.useRef(!1),y.useEffect(function(){if(eW&&t$&&(!tu||U)){var t=function(){Z.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)||Z.current||ef(!1)},r=O(t$);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,t$,tu,U]),function(){Z.current=!0}),e3=eH.has("hover"),e6=eV.has("hover");e3&&(e2("onMouseEnter",!0,ti,function(t){ek(t)}),e2("onPointerEnter",!0,ti,function(t){ek(t)}),q=function(t){(eo||eg)&&null!=t$&&t$.contains(t.target)&&ef(!0,ti)},tM&&(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):(ek(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))}),tz&&(t8.className=l()(t4.className,tz));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.A,{disabled:!eo,ref:t3,onResize:function(){e1(),eZ()}},y.createElement(A,{getTriggerDOMNode:tB},e9)),y.createElement(k.Provider,{value:tZ},y.createElement(S,{portal:t,ref:tQ,prefixCls:$,popup:tg,className:l()(ty,eq),style:tv,target:t1,onMouseEnter:q,onMouseLeave:G,onPointerEnter:q,zIndex:tw,open:eo,keepDom:eg,fresh:tk,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:td||tp||!1,getPopupContainer:th,align:eB,arrow:e7,arrowPos:{x:eL,y:eR},ready:eC,offsetX:eO,offsetY:eI,offsetR:eD,offsetB:eE,onAlign:eZ,stretch:tS,targetWidth:e$/eP,targetHeight:eJ/ez})))})}(a.A)},26131(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)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(null,arguments)}(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:p(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=d(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=d(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),d("",{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:p(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 d(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 p(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 d=T([i,f.relativePath]),p=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 "'+d+'".'),t(e.children,r,p,d)),(null!=e.path||e.index)&&r.push({path:d,score:(s=d,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:p})};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,s=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);for(let t=0;null==a&&t<o.length;++t)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:T([o,c.pathname]),pathnameBase:C(T([o,c.pathnameBase])),route:h}),"/"!==c.pathnameBase&&(o=T([o,c.pathnameBase]))}return a}(o[t],s,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"),d=u.slice(1);return{params:l.reduce((t,e,r)=>{let{paramName:n,isOptional:i}=e;if("*"===n){let t=d[r]||"";f=c.slice(0,c.length-t.length).replace(/(.)\/+$/,"$1")}let o=d[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 k(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=M(n))),r=n.startsWith("/")?w(n.substring(1),"/"):w(n,e))}else r=e;return{pathname:r,search:O(i),hash:I(o)}}(i,o),f=l&&"/"!==l&&l.endsWith("/"),d=(a||"."===l)&&r.endsWith("/");return!u.pathname.endsWith("/")&&(f||d)&&(u.pathname+="/"),u}let M=t=>t.replace(/\/\/+/g,"/"),T=t=>M(t.join("/")),C=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),O=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",I=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";class D extends Error{}function E(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}Symbol("deferred"),r.d(e,{Gh:()=>k,Oi:()=>c,Rr:()=>g,TM:()=>u,pX:()=>E,pb:()=>b,rc:()=>n,tH:()=>D,ue:()=>y,yD:()=>A},{HS:T})},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#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;t.exports=class t{static escapeForHtml(e){return new t().escapeForHtml(e)}static linkify(e){return new t().linkify(e)}static ansiToHtml(e,r){return new t().ansiToHtml(e,r)}static ansiToJson(e,r){return new t().ansiToJson(e,r)}static ansiToText(e){return new t().ansiToText(e)}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?"&":'"'==t?""":"<"==t?"<":">"==t?">":"")}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)}}},87932(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(1102));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,d=l.ERR_MISSING_ARGS,p=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,k={};function M(t){if(t.message instanceof Error)throw t.message;throw new p(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 p({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 p(u);throw s&&(c.message=s,c.generatedMessage=!0),c},A.AssertionError=p,A.ok=C,A.equal=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");e!=r&&M({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},A.notEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");e==r&&M({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},A.deepEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),i(e,r)||M({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},A.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),i(e,r)&&M({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},A.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),o(e,r)||M({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},A.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),o(e,r)&&M({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},A.strictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");b(e,r)||M({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},A.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new d("actual","expected");b(e,r)&&M({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 I(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 p({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 p({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}M({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 D(t){if("function"!=typeof t)throw new c("fn","Function",t);try{t()}catch(t){return t}return k}function E(t){return v(t)||null!==t&&"object"===s(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function L(t){return Promise.resolve().then(function(){var e;if("function"==typeof t){if(!E(e=t()))throw new f("instance of Promise","promiseFn",e)}else if(E(t))e=t;else throw new c("promiseFn",["Function","Promise"],t);return Promise.resolve().then(function(){return e}).then(function(){return k}).catch(function(t){return t})})}function R(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===k){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var o="rejects"===t.name?"rejection":"exception";M({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:t})}if(r&&!I(e,r,n,t))throw e}function P(t,e,r,n){if(e!==k){if("string"==typeof r&&(n=r,r=void 0),!r||I(e,r)){var i=n?": ".concat(n):".",o="doesNotReject"===t.name?"rejection":"exception";M({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 z(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 p({actual:t,expected:e,message:r,operator:i,stackStartFn:n});throw l.generatedMessage=a,l}}function B(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];T.apply(void 0,[B,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];R.apply(void 0,[t,D(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 L(e).then(function(e){return R.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,D(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 L(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 p({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){z(e,r,n,t,"match")},A.doesNotMatch=function t(e,r,n){z(e,r,n,t,"doesNotMatch")},A.strict=_(B,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"!==p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===p(e)?e:String(e)}function s(t,e){if(e&&("object"===p(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,d(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 d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){return(p="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=d(c);return t=r?Reflect.construct(e,arguments,d(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"!==p(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"===p(a)&&null!==a&&"object"===p(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,d="";if("strictEqual"===r&&"object"===p(t)&&"object"===p(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"!==p(t)||null===t)&&("object"!==p(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&&(d="\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 k=Math.max(c.length,h.length);if(0===k){var M=u.split("\n");if(M.length>30)for(M[26]="".concat(m,"...").concat(x);M.length>27;)M.pop();return"".concat(w.notIdentical,"\n\n").concat(M.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<k;f++){var I=f-a;if(c.length<f+1)I>1&&f>2&&(I>4?(o+="\n".concat(m,"...").concat(x),l=!0):I>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)I>1&&f>2&&(I>4?(o+="\n".concat(m,"...").concat(x),l=!0):I>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 D=h[f],E=c[f],L=E!==D&&(!v(E,",")||E.slice(0,-1)!==D);L&&v(D,",")&&D.slice(0,-1)===E&&(L=!1,E+=","),L?(I>1&&f>2&&(I>4?(o+="\n".concat(m,"...").concat(x),l=!0):I>3&&(o+="\n ".concat(c[f-2]),T++),o+="\n ".concat(c[f-1]),T++),a=f,o+="\n".concat(_,"+").concat(x," ").concat(E),i+="\n".concat(b,"-").concat(x," ").concat(D),T+=2):(o+=i,i="",(1===I||0===f)&&(o+="\n ".concat(E),T++))}if(T>20&&f<k-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(d)}(a,h,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var d=w[i],g=A(a).split("\n");if("notStrictEqual"===i&&"object"===p(a)&&null!==a&&(d=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(d," ").concat(g[0])):u.call(this,"".concat(d,"\n\n").concat(g.join("\n"),"\n"))}else{var k=A(a),M="",T=w[i];"notDeepEqual"===i||"notEqual"===i?(k="".concat(w[i],"\n\n").concat(k)).length>1024&&(k="".concat(k.slice(0,1021),"...")):(M="".concat(A(h)),k.length>512&&(k="".concat(k.slice(0,509),"...")),M.length>512&&(M="".concat(M.slice(0,509),"...")),"deepEqual"===i||"equal"===i?k="".concat(T,"\n\n").concat(k,"\n\nshould equal\n\n"):M=" ".concat(i," ").concat(M)),e=u.call(this,"".concat(k).concat(M))}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,d=("number"!=typeof u&&(u=0),u+1>t.length||-1===t.indexOf(".",u))?"argument":"property";f='The "'.concat(t,'" ').concat(d," ").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 d=f(Object.prototype.hasOwnProperty),p=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,k=y.isNumberObject,M=y.isStringObject,T=y.isBooleanObject,C=y.isBigIntObject,O=y.isSymbolObject,I=y.isFloat32Array,D=y.isFloat64Array;function E(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 L(t){return Object.keys(t).filter(E).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function R(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)}function P(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=L(t),l=L(e);return s.length===l.length&&B(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&&(I(t)||D(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!==R(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)))return!1;var c=L(t),f=L(e);return c.length===f.length&&B(t,e,r,n,0,c)}else if(w(t))return!!w(e)&&t.size===e.size&&B(t,e,r,n,2);else if(b(t))return!!b(e)&&t.size===e.size&&B(t,e,r,n,3);else if(v(t)){if(t.byteLength!==e.byteLength||0!==R(new Uint8Array(t),new Uint8Array(e)))return!1}else if(A(t)&&(k(t)?!(k(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e))):M(t)?!M(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 B(t,e,r,n,0)}function z(t,e){return e.filter(function(e){return p(t,e)})}function B(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(!d(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(p(t,v)){if(!p(e,v))return!1;u.push(v),y++}else if(p(e,v))return!1}var m=c(e);if(g.length!==m.length&&z(e,m).length!==y)return!1}else{var _=c(e);if(0!==_.length&&0!==z(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=F(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(!N(i,f,r,n))return!1}else if(!r&&!t.has(f)&&!N(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 d=e.get(h);if(void 0===d&&!e.has(h)||!P(f,d,r,i)){if(r||!function(t,e,r,n,i){var o=F(r);if(null!=o)return o;var a=e.get(o);return(void 0!==a||!!e.has(o))&&!!P(n,a,!1,i)&&!t.has(o)&&P(n,a,!1,i)}(t,e,h,f,i))return!1;null===a&&(a=new Set),a.add(h)}}}if(null!==a){for(var p=l(e),g=0;g<p.length;g++){var y=n(p[g],2),v=y[0],m=y[1];if("object"===o(v)&&null!==v){if(!j(a,t,v,m,r,i))return!1}else if(!r&&(!t.has(v)||!P(t.get(v),m,!1,i))&&!j(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(d(t,c)){if(!d(e,c)||!P(t[c],e[c],r,a))return!1}else{if(d(e,c))return!1;for(var h=Object.keys(t);c<h.length;c++){var f=h[c];if(!d(e,f)||!P(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 p=i[c];if(!P(t[p],e[p],r,a))return!1}return!0}(t,e,r,u,i,a);return i.val1.delete(t),i.val2.delete(e),w}function N(t,e,r,n){for(var i=s(t),o=0;o<i.length;o++){var a=i[o];if(P(e,a,r,n))return t.delete(a),!0}return!1}function F(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 j(t,e,r,n,i,o){for(var a=s(t),l=0;l<a.length;l++){var u=a[l];if(P(r,u,i,o)&&P(n,e.get(u),i,o))return t.delete(u),!0}return!1}t.exports={isDeepEqual:function(t,e){return P(t,e,!1)},isDeepStrictEqual:function(t,e){return P(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).hp,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(36533).Buffer,o=r(43803).Transform,a=r(46025),s=r(1344),l=r(46732).ok,u=r(36533).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 d=h[f];d.match(/^Z/)&&Object.defineProperty(e,d,{enumerable:!0,value:a[d],writable:!1})}for(var p={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(p),y=0;y<g.length;y++){var v=g[y];p[p[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 k(t){if(!(this instanceof k))return new k(t);C.call(this,t,a.INFLATERAW)}function M(t){if(!(this instanceof M))return new M(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 I(t){t.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),e.Deflate=b,e.Inflate=x,e.Gzip=w,e.Gunzip=S,e.DeflateRaw=A,e.InflateRaw=k,e.Unzip=M,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 k(t)},e.createGzip=function(t){return new w(t)},e.createGunzip=function(t){return new S(t)},e.createUnzip=function(t){return new M(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 M(e),t,r)},e.unzipSync=function(t,e){return _(new M(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 k(e),t,r)},e.inflateRawSync=function(t,e){return _(new k(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(I,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,d=[],p=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(p>=u)throw O(this),RangeError(c);var y=i.concat(d,p);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):(d.push(g),p+=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(k,C),s.inherits(M,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|p(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|d(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|d(t))}function h(t){for(var e=t.length<0?0:0|d(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 d(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(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 M(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:M(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+=I[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,d=f.length;if(d<=4096)return String.fromCharCode.apply(String,f);for(var p="",g=0;g<d;)p+=String.fromCharCode.apply(String,f.slice(g,g+=4096));return p}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.hp=s,e.IS=50,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=p,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.IS;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 d=!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(M(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(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!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 k=/[^+/0-9A-Za-z-_]/g;function M(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(k,"")).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 I=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}},79595(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=/\[([^\]]+)]|YYYY|YY|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},d="en",p={};p[d]={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 d;if("string"==typeof e){var o=e.toLowerCase();p[o]&&(i=o),r&&(p[o]=r,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;p[s]=e,i=s}return!n&&i&&(d=i),i||!n&&d},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 d=f.prototype;return d.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()},d.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()},d.$utils=function(){return _},d.isValid=function(){return this.$d.toString()!==u},d.isSame=function(t,e){var r=m(t);return this.startOf(e)<=r&&r<=this.endOf(e)},d.isAfter=function(t,e){return m(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<m(t)},d.$g=function(t,e,r){return _.u(t)?this[e]:this.set(r,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.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")},d=function(t,e){return _.w(u.toDate()[t].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),u)},p=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=(p<m?p+7:p)-m;return f(c?y-b:y+(6-b),g);case"day":case l:return d(v+"Hours",0);case n:return d(v+"Minutes",1);case r:return d(v+"Seconds",2);case e:return d(v+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$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],d="day"===c?this.$D+(a-this.$W):a;if(c===o||c===s){var p=this.clone().set(l,1);p.$d[f](d),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](d);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[_.p(t)]()},d.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,d=this.$d.getTime()+t*f;return _.w(d,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.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,d=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].slice(0,o)},p=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 d(r.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return e.$D;case"DD":return _.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(r.weekdaysMin,e.$W,l,2);case"ddd":return d(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 p(1);case"hh":return p(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(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(t,l,u){var c,h=this,f=_.p(l),d=m(t),p=(d.utcOffset()-this.utcOffset())*6e4,g=this-d,y=function(){return _.m(h,d)};switch(f){case s:c=y()/12;break;case o:c=y();break;case a:c=y()/3;break;case i:c=(g-p)/6048e5;break;case"day":c=(g-p)/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)},d.daysInMonth=function(){return this.endOf(o).$D},d.$locale=function(){return p[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=v(t,e,!0);return n&&(r.$L=n),r},d.clone=function(){return _.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.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=p[d],m.Ls=p,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))}},81045(t,e,r){"use strict";var n=r(67371),i=r.n(n);r.d(e,{n:()=>i.a})},33877(t,e,r){"use strict";function n(t){return"function"==typeof t}r.d(e,{T:()=>n})},8420(t,e,r){"use strict";function n(t){return"string"==typeof t}r.d(e,{K:()=>n})},82241(t,e,r){"use strict";function n(t,e){var r={};return e.forEach(function(e){r[e]=t[e]}),r}r.d(e,{U:()=>n})},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},33254(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):p(i,i.length)}function d(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 p(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=p(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):d.call(t,e)},o.prototype.listenerCount=d,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(33254),o=r(41488),a=r(38004),s=r(96469),l=r(12557),u=r(63429),c=r(71102),h=r(85966),f=r(77412),d=r(52418),p=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,k=r(21514)(),M=r(14252),T=r(23752),C=r(60248),O=r(64811),I=r(46255),D={},E="u">typeof Uint8Array&&M?M(Uint8Array):n,L={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":k&&M?M([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%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%":D,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k&&M?M(M([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&k&&M?M(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&&k&&M?M(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&M?M(""[Symbol.iterator]()):n,"%Symbol%":k?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":A,"%TypedArray%":E,"%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%":I,"%Function.prototype.apply%":O,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":T,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":v,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(M)try{null.error}catch(t){var R=M(M(t));L["%Error.prototype%"]=R}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&&M&&(r=M(i.prototype))}return L[e]=r,r},z={__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"]},B=r(79524),N=r(72740),F=B.call(I,Array.prototype.concat),j=B.call(O,Array.prototype.splice),H=B.call(I,String.prototype.replace),V=B.call(I,String.prototype.slice),U=B.call(I,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Z=/\\(\\)?/g,q=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,Z,"$1"):e||t}),n},G=function(t,e){var r,n=t;if(N(z,n)&&(n="%"+(r=z[n])[0]+"%"),N(L,n)){var i=L[n];if(i===D&&(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=q(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,F([0,1],l)));for(var h=1,f=!0;h<r.length;h+=1){var d=r[h],p=V(d,0,1),g=V(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===g||"'"===g||"`"===g)&&p!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),n+="."+d,N(L,o="%"+n+"%"))a=L[o];else if(null!=a){if(!(d 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,d);a=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[d]}else f=N(a,d),a=a[d];f&&!s&&(L[o]=a)}}return a}},23752(t,e,r){"use strict";t.exports=r(33254).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}},72740(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,d=t[e+h];for(h+=f,o=d&(1<<-c)-1,d>>=-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*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-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),d=n?0:o-1,p=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+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+d]=255&a,d+=p,a/=256,u-=8);t[r+d-p]|=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(72740),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 d(t,e){var r=new f(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function p(t,e){if(!(this instanceof p))return new p(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)}p.prototype.add=function(t,e){return this.__schemas__[t]=e,h(this),this},p.prototype.set=function(t){return this.__opts__=n(this.__opts__,t),this},p.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},p.prototype.pretest=function(t){return this.re.pretest.test(t)},p.prototype.testSchemaAt=function(t,e,r){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,r,this):0},p.prototype.match=function(t){var e=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(d(this,e)),e=this.__last_index__);for(var n=e?t.slice(e):t;this.test(n);)r.push(d(this,e)),n=n.slice(this.__last_index__),e+=this.__last_index__;return r.length?r:null},p.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},p.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},p.prototype.onCompile=function(){},t.exports=p},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},d=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}(),p=function(t){if("u"<typeof window||!d)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 d=0;d<t.length;++d)h.push(String(d));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=p(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(33254),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 d=f(c),p=0;p<d.length;++p){var g=d[p];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}},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(a=new Uint8Array(n),i=0,e=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 d(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 p(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,d(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,d=u[o+a-1],p=u[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(r=e)+a]!==p||u[r+a-1]!==d||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;d=u[o+a-1],p=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&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=t.strstart<2?t.strstart:2,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(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&&(p(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]))&&p(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)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(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 k(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,p(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:(t.strstart>t.block_start&&(p(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 k(t,e,8,15,8,0)},e.deflateInit2=k,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)),d(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)),d(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)),d(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&&d(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(d(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&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(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&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(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))),d(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)),d(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,d=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,d,0)),r.wrap=0,d>=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,d-r.w_size,r.w_size,0),e=h,d=r.w_size),l=t.avail_in,u=t.next_in,c=t.input,t.avail_in=d,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,d,p,g,y,v,m,_,b,x,w,S,A,k,M;r=t.state,n=t.next_in,k=t.input,i=n+(t.avail_in-5),o=t.next_out,M=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,d=r.hold,p=r.bits,g=r.lencode,y=r.distcode,v=(1<<r.lenbits)-1,m=(1<<r.distbits)-1;t:do for(p<15&&(d+=k[n++]<<p,p+=8,d+=k[n++]<<p,p+=8),_=g[d&v];;){if(d>>>=b=_>>>24,p-=b,0==(b=_>>>16&255))M[o++]=65535&_;else if(16&b)for(x=65535&_,(b&=15)&&(p<b&&(d+=k[n++]<<p,p+=8),x+=d&(1<<b)-1,d>>>=b,p-=b),p<15&&(d+=k[n++]<<p,p+=8,d+=k[n++]<<p,p+=8),_=y[d&m];;){if(d>>>=b=_>>>24,p-=b,16&(b=_>>>16&255)){if(w=65535&_,p<(b&=15)&&(d+=k[n++]<<p,(p+=8)<b&&(d+=k[n++]<<p,p+=8)),(w+=d&(1<<b)-1)>l){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=b,p-=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 M[o++]=f[S++];while(--b)S=o-w,A=M}}else if(h<b){if(S+=u+h-b,(b-=h)<x){x-=b;do M[o++]=f[S++];while(--b)if(S=0,h<x){x-=b=h;do M[o++]=f[S++];while(--b)S=o-w,A=M}}}else if(S+=h-b,b<x){x-=b;do M[o++]=f[S++];while(--b)S=o-w,A=M}for(;x>2;)M[o++]=A[S++],M[o++]=A[S++],M[o++]=A[S++],x-=3;x&&(M[o++]=A[S++],x>1&&(M[o++]=A[S++]))}else{S=o-w;do M[o++]=M[S++],M[o++]=M[S++],M[o++]=M[S++],x-=3;while(x>2)x&&(M[o++]=M[S++],x>1&&(M[o++]=M[S++]))}}else if((64&b)==0){_=y[(65535&_)+(d&(1<<b)-1)];continue}else{t.msg="invalid distance code",r.mode=30;break t}break}else if((64&b)==0){_=g[(65535&_)+(d&(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=p>>3,p-=x<<3,d&=(1<<p)-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=d,r.bits=p}},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 d(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,f(t)):-2}function p(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,d(t)):-2}function g(t,e){var r,n;return t?(t.state=n=new h,n.window=null,0!==(r=p(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=d,e.inflateReset2=p,e.inflateResetKeep=f,e.inflateInit=function(t){return g(t,15)},e.inflateInit2=g,e.inflate=function(t,e){var r,h,f,d,p,g,m,_,b,x,w,S,A,k,M,T,C,O,I,D,E,L,R,P,z=0,B=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),p=t.next_out,f=t.output,m=t.avail_out,d=t.next_in,h=t.input,g=t.avail_in,_=r.hold,b=r.bits,x=g,w=m,L=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[d++]<<b,b+=8}if(2&r.wrap&&35615===_){r.check=0,B[0]=255&_,B[1]=_>>>8&255,r.check=s(r.check,B,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,E=(15&_)+8,0===r.wbits)r.wbits=E;else if(E>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<E,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[d++]<<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&&(B[0]=255&_,B[1]=_>>>8&255,r.check=s(r.check,B,2,0)),_=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}r.head&&(r.head.time=_),512&r.flags&&(B[0]=255&_,B[1]=_>>>8&255,B[2]=_>>>16&255,B[3]=_>>>24&255,r.check=s(r.check,B,4,0)),_=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}r.head&&(r.head.xflags=255&_,r.head.os=_>>8),512&r.flags&&(B[0]=255&_,B[1]=_>>>8&255,r.check=s(r.check,B,2,0)),_=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}r.length=_,r.head&&(r.head.extra_len=_),512&r.flags&&(B[0]=255&_,B[1]=_>>>8&255,r.check=s(r.check,B,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&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),o.arraySet(r.head.extra,h,d,S,E)),512&r.flags&&(r.check=s(r.check,h,S,d)),g-=S,d+=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 E=h[d+S++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&S<g)if(512&r.flags&&(r.check=s(r.check,h,S,d)),g-=S,d+=S,E)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 E=h[d+S++],r.head&&E&&r.length<65536&&(r.head.comment+=String.fromCharCode(E));while(E&&S<g)if(512&r.flags&&(r.check=s(r.check,h,S,d)),g-=S,d+=S,E)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[d++]<<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[d++]<<b,b+=8}t.adler=r.check=c(_),_=0,b=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=p,t.avail_out=m,t.next_in=d,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[d++]<<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[d++]<<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,d,S,p),g-=S,d+=S,m-=S,p+=S,r.length-=S;break}r.mode=12;break;case 17:for(;b<14;){if(0===g)break e;g--,_+=h[d++]<<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[d++]<<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,R={bits:r.lenbits},L=u(0,r.lens,0,19,r.lencode,0,r.work,R),r.lenbits=R.bits,L){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(;M=(z=r.lencode[_&(1<<r.lenbits)-1])>>>24,T=z>>>16&255,C=65535&z,!(M<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(C<16)_>>>=M,b-=M,r.lens[r.have++]=C;else{if(16===C){for(P=M+2;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(_>>>=M,b-=M,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}E=r.lens[r.have-1],S=3+(3&_),_>>>=2,b-=2}else if(17===C){for(P=M+3;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=M,b-=M,E=0,S=3+(7&_),_>>>=3,b-=3}else{for(P=M+7;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=M,b-=M,E=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++]=E}}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,R={bits:r.lenbits},L=u(1,r.lens,0,r.nlen,r.lencode,0,r.work,R),r.lenbits=R.bits,L){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,R={bits:r.distbits},L=u(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,R),r.distbits=R.bits,L){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=p,t.avail_out=m,t.next_in=d,t.avail_in=g,r.hold=_,r.bits=b,l(t,w),p=t.next_out,f=t.output,m=t.avail_out,d=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;M=(z=r.lencode[_&(1<<r.lenbits)-1])>>>24,T=z>>>16&255,C=65535&z,!(M<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(T&&(240&T)==0){for(O=M,I=T,D=C;M=(z=r.lencode[D+((_&(1<<O+I)-1)>>O)])>>>24,T=z>>>16&255,C=65535&z,!(O+M<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=O,b-=O,r.back+=O}if(_>>>=M,b-=M,r.back+=M,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[d++]<<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(;M=(z=r.distcode[_&(1<<r.distbits)-1])>>>24,T=z>>>16&255,C=65535&z,!(M<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if((240&T)==0){for(O=M,I=T,D=C;M=(z=r.distcode[D+((_&(1<<O+I)-1)>>O)])>>>24,T=z>>>16&255,C=65535&z,!(O+M<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=O,b-=O,r.back+=O}if(_>>>=M,b-=M,r.back+=M,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[d++]<<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),k=r.window}else k=f,A=p-r.offset,S=r.length;S>m&&(S=m),m-=S,r.length-=S;do f[p++]=k[A++];while(--S)0===r.length&&(r.mode=21);break;case 26:if(0===m)break e;f[p++]=r.length,m--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===g)break e;g--,_|=h[d++]<<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,p-w):a(r.check,f,w,p-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[d++]<<b,b+=8}if(_!==(0|r.total)){t.msg="incorrect length check",r.mode=30;break}_=0,b=0}r.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return -4;default:return -2}return(t.next_out=p,t.avail_out=m,t.next_in=d,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===L&&(L=-5),L)},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 d,p,g,y,v,m,_,b,x,w=f.bits,S=0,A=0,k=0,M=0,T=0,C=0,O=0,I=0,D=0,E=0,L=null,R=0,P=new n.Buf16(16),z=new n.Buf16(16),B=null,N=0;for(S=0;S<=15;S++)P[S]=0;for(A=0;A<l;A++)P[e[r+A]]++;for(T=w,M=15;M>=1&&0===P[M];M--);if(T>M&&(T=M),0===M)return u[c++]=0x1400000,u[c++]=0x1400000,f.bits=1,0;for(k=1;k<M&&0===P[k];k++);for(T<k&&(T=k),I=1,S=1;S<=15;S++)if(I<<=1,(I-=P[S])<0)return -1;if(I>0&&(0===t||1!==M))return -1;for(z[1]=0,S=1;S<15;S++)z[S+1]=z[S]+P[S];for(A=0;A<l;A++)0!==e[r+A]&&(h[z[e[r+A]]++]=A);if(0===t?(L=B=h,m=19):1===t?(L=i,R-=257,B=o,N-=257,m=256):(L=a,B=s,m=-1),E=0,A=0,S=k,v=c,C=T,O=0,g=-1,y=(D=1<<T)-1,1===t&&D>852||2===t&&D>592)return 1;for(;;){_=S-O,h[A]<m?(b=0,x=h[A]):h[A]>m?(b=B[N+h[A]],x=L[R+h[A]]):(b=96,x=0),d=1<<S-O,k=p=1<<C;do u[v+(E>>O)+(p-=d)]=_<<24|b<<16|x;while(0!==p)for(d=1<<S-1;E&d;)d>>=1;if(0!==d?(E&=d-1,E+=d):E=0,A++,0==--P[S]){if(S===M)break;S=e[r+h[A]]}if(S>T&&(E&y)!==g){for(0===O&&(O=T),v+=k,I=1<<(C=S-O);C+O<M&&!((I-=P[C+O])<=0);)C++,I<<=1;if(D+=1<<C,1===t&&D>852||2===t&&D>592)return 1;u[g=E&y]=T<<24|C<<16|v-c}}return 0!==E&&(u[v+E]=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],d=Array(576);s(d);var p=Array(60);s(p);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 k(t,e){var r=0;do r|=1&t,t>>>=1,r<<=1;while(--e>0)return r>>>1}function M(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]=k(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 I(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 D(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 E(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(t.heap_len=0,t.heap_max=l,r=0;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--)I(t,o,r);i=u;do r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],I(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++,I(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,d=e.stat_desc.extra_bits,p=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>=p&&(a=d[n-p]),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),M(o,c,t.bl_count)}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),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 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),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 z(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(v[a]=r,t=0;t<1<<u[a];t++)y[r++]=a;for(y[r-1]=a,s=0,a=0;a<16;a++)for(m[a]=s,t=0;t<1<<c[a];t++)g[s++]=a;for(s>>=7;a<30;a++)for(m[a]=s<<7,t=0;t<1<<c[a]-7;t++)g[256+s++]=a;for(e=0;e<=15;e++)l[e]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,l[8]++;for(;t<=255;)d[2*t+1]=9,t++,l[9]++;for(;t<=279;)d[2*t+1]=7,t++,l[7]++;for(;t<=287;)d[2*t+1]=8,t++,l[8]++;for(M(d,287,l),t=0;t<30;t++)p[2*t+1]=5,p[2*t]=k(t,5);n=new _(d,u,257,286,15),i=new _(p,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=z,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)),E(t,t.l_desc),E(t,t.d_desc),a=function(t){var e;for(L(t,t.dyn_ltree,t.l_desc.max_code),L(t,t.dyn_dtree,t.d_desc.max_code),E(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?z(t,e,r,n):4===t.strategy||o===i?(S(t,2+ +!!n,3),D(t,d,p)):(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);R(t,t.dyn_ltree,e-1),R(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),D(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,d),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 d="";for(h=r+c+1;h<=n;++h)(h===n||47===t.charCodeAt(h))&&(0===d.length?d+="..":d+="/..");return d.length>0?d+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},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 d(t,e){this.fun=t,this.array=e}function p(){}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 d(t,e)),1!==l.length||u||s(f)},d.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=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,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.F=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=k,k.ReadableState=A,r(80381).EventEmitter;var u=function(t,e){return t.listeners(e).length},c=r(82534),h=r(36533).Buffer,f=(void 0!==r.g?r.g:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},d=r(3710);i=d&&d.debuglog?d.debuglog("stream"):function(){};var p=r(70020),g=r(50917),y=r(65750).getHighWaterMark,v=r(20289).F,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)(k,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 p,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).I),this.decoder=new o(t.encoding),this.encoding=t.encoding)}function k(t){if(n=n||r(35707),!(this instanceof k))return new k(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 M(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,I(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):D(t,l)):T(t,l,e,!1)}else n||(l.reading=!1,D(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)),D(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(I,t))}function I(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,z(t)}function D(t,e){e.readingMore||(e.readingMore=!0,l.nextTick(E,t,e))}function E(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 L(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 R(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"),z(t),e.flowing&&!e.reading&&t.read(0)}function z(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function B(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(F,e,t))}function F(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(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=g.destroy,k.prototype._undestroy=g.undestroy,k.prototype._destroy=function(t,e){e(t)},k.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),M(this,t,e,!1,r)},k.prototype.unshift=function(t){return M(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){o||(o=r(86704).I);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},k.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?B(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},k.prototype._read=function(t){w(this,new b("_read()"))},k.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",p),t.removeListener("finish",g),t.removeListener("drain",c),t.removeListener("error",d),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,z(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 d(e){i("onerror",e),y(),t.removeListener("error",d),0===u(t,"error")&&w(t,e)}function p(){t.removeListener("finish",g),y()}function g(){i("onfinish"),t.removeListener("close",p),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",d),t.once("close",p),t.once("finish",g),t.emit("pipe",n),o.flowing||(i("pipe resume"),n.resume()),t},k.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},k.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(R,this)),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,e){var r=c.prototype.removeListener.call(this,t,e);return"readable"===t&&l.nextTick(L,this),r},k.prototype.removeAllListeners=function(t){var e=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&l.nextTick(L,this),e},k.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},k.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},k.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&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===a&&(a=r(39536)),a(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=B,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(t,e){return void 0===s&&(s=r(34918)),s(k,t,e)})},50141(t,e,r){"use strict";t.exports=c;var n=r(20289).F,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=k,k.WritableState=A;var s={deprecate:r(91947)},l=r(82534),u=r(36533).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,d=r(20289).F,p=d.ERR_INVALID_ARG_TYPE,g=d.ERR_METHOD_NOT_IMPLEMENTED,y=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,m=d.ERR_STREAM_DESTROYED,_=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,x=d.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(D,t,r),t._writableState.errorEmitted=!0,w(t,e)):(i(e),t._writableState.errorEmitted=!0,w(t,e),D(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)(k,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 k(t){var e=this instanceof(n=n||r(35707));if(!e&&!i.call(k,this))return new k(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 M(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(),D(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,M(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(M(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 I(t,e){t._final(function(r){e.pendingcb--,r&&w(t,r),e.prefinished=!0,t.emit("prefinish"),D(t,e)})}function D(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(I,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(k,Symbol.hasInstance,{value:function(t){return!!i.call(this,t)||this===k&&t&&t._writableState instanceof A}})):i=function(t){return t instanceof this},k.prototype.pipe=function(){w(this,new v)},k.prototype.write=function(t,e,r){var n,i,a,s,l,h,f,d=this._writableState,g=!1,y=!d.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=d.defaultEncoding),"function"!=typeof r&&(r=S),d.ending)?(a=r,w(this,s=new b),o.nextTick(a,s)):(y||(l=t,h=r,null===l?f=new _:"string"==typeof l||d.objectMode||(f=new p("chunk",["string","Buffer"],l)),!f||(w(this,f),o.nextTick(h,f),0)))&&(d.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 M(t,e,!1,c,n,i,o);return h}(this,d,y,t,e,r)),g},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.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(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new g("_write()"))},k.prototype._writev=null,k.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,D(n,i),a&&(i.finished?o.nextTick(a):n.once("finish",a)),i.ended=!0,n.writable=!1),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=h.destroy,k.prototype._undestroy=h.undestroy,k.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"),d=Symbol("stream");function p(t,e){return{value:t,done:e}}function g(t){var e=t[s];if(null!==e){var r=t[d].read();null!==r&&(t[h]=null,t[s]=null,t[l]=null,e(p(r,!1)))}}function y(t){i.nextTick(g,t)}var v=Object.getPrototypeOf(function(){}),m=Object.setPrototypeOf((o(n={get stream(){return this[d]},next:function(){var t,e,r=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(p(void 0,!0));if(this[d].destroyed)return new Promise(function(t,e){i.nextTick(function(){r[u]?e(r[u]):t(p(void 0,!0))})});var o=this[h];if(o)e=new Promise((t=this,function(e,r){o.then(function(){t[c]?e(p(void 0,!0)):t[f](e,r)},r)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(p(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[d].destroy(null,function(t){t?r(t):e(p(void 0,!0))})})}),n),v);t.exports=function(t){var e,r=Object.create(m,(o(e={},d,{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[d].read();n?(r[h]=null,r[s]=null,r[l]=null,t(p(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(p(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(36533).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).F.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)},d=e._readableState&&e._readableState.endEmitted,p=function(){l=!1,d=!0,u||o.call(e)},g=function(t){o.call(e,t)},y=function(){var t;return l&&!d?(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",p),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",p),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).F,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 d=c.map(function(t,i){var o,s,u,h,p,g,y=i<c.length-1;return o=i>0,u=s=function(t){e||(e=t),t&&d.forEach(l),y||(d.forEach(l),f(e))},h=!1,s=function(){h||(h=!0,u.apply(void 0,arguments))},p=!1,t.on("close",function(){p=!0}),void 0===n&&(n=r(32339)),n(t,{readable:y,writable:o},function(t){if(t)return s(t);p=!0,s()}),g=!1,function(e){if(!p&&!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).F.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";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){var e=!1,r=!1,n=0;function i(){e&&(e=!1,t()),r&&s()}function o(){a(i)}function s(){var t=Date.now();if(e){if(t-n<2)return;r=!0}else e=!0,r=!1,setTimeout(o,20);n=t}return s}(this.refresh.bind(this))}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 d(t){return parseFloat(t)||0}function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce(function(e,r){return e+d(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]=d(o)}return e}(i),a=o.left+o.right,s=o.top+o.bottom,l=d(i.width),u=d(i.height);if("border-box"===i.boxSizing&&(Math.round(l+a)!==r&&(l-=p(i,"left","right")+a),Math.round(u+s)!==n&&(u-=p(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)}}),e.A=void 0!==o.ResizeObserver?o.ResizeObserver:x},56608(t,e,r){var n=r(36533),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)}}},57146(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(e.unstable_now=void 0,"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,d=null,p=3,g=!1,y=!1,v=!1,m=!1,_="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,x="u">typeof setImmediate?setImmediate:null;function w(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 S(t){if(v=!1,w(t),!y)if(null!==n(c))y=!0,A||(A=!0,a());else{var e=n(h);null!==e&&E(S,e.startTime-t)}}var A=!1,k=-1,M=5,T=-1;function C(){return!!m||!(e.unstable_now()-T<M)}function O(){if(m=!1,A){var t=e.unstable_now();T=t;var r=!0;try{r:{y=!1,v&&(v=!1,b(k),k=-1),g=!0;var o=p;try{n:{for(w(t),d=n(c);null!==d&&!(d.expirationTime>t&&C());){var s=d.callback;if("function"==typeof s){d.callback=null,p=d.priorityLevel;var l=s(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof l){d.callback=l,w(t),r=!0;break n}d===n(c)&&i(c),w(t)}else i(c);d=n(c)}if(null!==d)r=!0;else{var u=n(h);null!==u&&E(S,u.startTime-t),r=!1}}break r}finally{d=null,p=o,g=!1}}}finally{r?a():A=!1}}}if("function"==typeof x)a=function(){x(O)};else if("u">typeof MessageChannel){var I=new MessageChannel,D=I.port2;I.port1.onmessage=O,a=function(){D.postMessage(null)}}else a=function(){_(O,0)};function E(t,r){k=_(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_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"):M=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_next=function(t){switch(p){case 1:case 2:case 3:var e=3;break;default:e=p}var r=p;p=e;try{return t()}finally{p=r}},e.unstable_requestPaint=function(){m=!0},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=p;p=t;try{return e()}finally{p=r}},e.unstable_scheduleCallback=function(t,i,o){var s=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,t){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,t={id:f++,callback:i,priorityLevel:t,startTime:o,expirationTime:l,sortIndex:-1},o>s?(t.sortIndex=o,r(h,t),null===n(c)&&t===n(h)&&(v?(b(k),k=-1):v=!0,E(S,o-s))):(t.sortIndex=l,r(c,t),y||g||(y=!0,A||(A=!0,a()))),t},e.unstable_shouldYield=C,e.unstable_wrapCallback=function(t){var e=p;return function(){var r=p;p=e;try{return t.apply(this,arguments)}finally{p=r}}}},41099(t,e,r){"use strict";t.exports=r(57146)},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.IU=e.oI=void 0;var n=r(4105);e.oI=function(t,e){var r=(0,n.getSensor)(t);return r.bind(e),function(){r.unbind(e)}},e.IU=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=d;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){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);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 d(t){return t&&t.length?this.write(t):""}e.I=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()}}},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]],d={hash:1,query:1};function p(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,{}),d)delete i[e];else if("object"===o){for(e in t)e in d||(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,d,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=p(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?~(d="@"===l?t.lastIndexOf(l):t.indexOf(l))&&("number"==typeof u[2]?(this[m]=t.slice(0,d),t=t.slice(d+u[2])):(this[m]=t.slice(d),t=t.slice(0,d))):(d=l.exec(t))&&(this[m]=d[1],t=t.slice(0,d.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&&(~(d=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,d),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(d+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=p,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),d=s(Boolean.prototype.valueOf);if(l)var p=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 k="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function M(t){return"[object SharedArrayBuffer]"===c(t)}function T(t){return void 0!==k&&(void 0===M.working&&(M.working=M(new k)),M.working?M(t):t instanceof k)}function C(t){return y(t,h)}function O(t){return y(t,f)}function I(t){return y(t,d)}function D(t){return l&&y(t,p)}function E(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=I,e.isBigIntObject=D,e.isSymbolObject=E,e.isBoxedPrimitive=function(t){return C(t)||O(t)||I(t)||D(t)||E(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 k=Object.keys(r),M=(l={},k.forEach(function(t,e){l[t]=!0}),l);if(t.showHidden&&(k=Object.getOwnPropertyNames(r)),S(r)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return f(r);if(0===k.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="",I=!1,D=["{","}"];if(p(r)&&(I=!0,D=["[","]"]),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===k.length&&(!I||0==r.length))return D[0]+O+D[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=I?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)C(e,String(a))?o.push(d(t,e,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(d(t,e,r,n,i,!0))}),o}(t,r,n,M,k):k.map(function(e){return d(t,r,n,M,e,I)}),t.seen.pop(),i=u,o=O,a=D,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 d(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 p(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]"===k(t)}function x(t){return"object"==typeof t&&null!==t}function w(t){return x(t)&&"[object Date]"===k(t)}function S(t){return x(t)&&("[object Error]"===k(t)||t instanceof Error)}function A(t){return"function"==typeof t}function k(t){return Object.prototype.toString.call(t)}function M(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=p,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=[M((t=new Date).getHours()),M(t.getMinutes()),M(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 I(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(I.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"),d=Object.getPrototypeOf,p=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&&d?n(h,function(t){var e=new c[t];if(Symbol.toStringTag in e){var r=d(e),n=s(r,Symbol.toStringTag);n||(n=s(d(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 p(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";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))}r.d(e,{A:()=>a})},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";var n=r(13383);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}r.d(e,{A:()=>o})},80451(t,e,r){"use strict";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)}}r.d(e,{A:()=>a})},5908(t,e,r){"use strict";var n=r(13383);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}r.d(e,{A:()=>i})},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";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)}r.d(e,{A:()=>i})},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";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}r.d(e,{A:()=>o})},45521(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";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)}r.d(e,{A:()=>o})},18760(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:d,f:d.bind(t,4),d:function(e,r){return o=e,a=0,s=t,f.n=r,l}};function d(r,n){for(a=r,s=n,e=0;!h&&u&&!i&&e<c.length;e++){var i,o=c[e],d=f.p,p=o[2];r>3?(i=p===n)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=r<2&&d<o[1])?(a=0,f.v=n,f.n=o[1]):d<p&&(i=r<3||o[0]>n||n>p)&&(o[4]=r,o[5]=n,f.n=p,a=0))}if(i||r>1)return l;throw h=!0,n}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(h&&1===c&&d(c,p),a=c,s=p;(e=a<2?t:s)||!h;){o||(a?a<3?(a>1&&(f.n=-1),d(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 d(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:d}})()}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})},27289(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";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)()}r.d(e,{A:()=>s})},7262(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.")}()}},13383(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";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}}r.d(e,{A:()=>i})},89797(t,e,r){"use strict";r.d(e,{zC:()=>Z,KE:()=>Y,Ay:()=>$});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},d=function(t){l(t)||h("selectorType")},p=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))}})(_),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)}},w={type:"cancelation",msg:"operation is manually canceled"},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},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),p(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 d(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){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var e=[],r=!0,n=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(e.push(o.value),2!==e.length);r=!0);}catch(t){n=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw i}}return e}}(c)||function(t){if(t){if("string"==typeof t)return n(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,2)}}(c)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),k=A[0],M=A[1];function T(t){return document.body.appendChild(t)}function C(t){var e,r,n=k(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=k(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){I(e),t.resolve(e)},function(e){t.reject(e)})}function I(t){k().monaco||M({monaco:t})}var D=new Promise(function(t,e){return M({resolve:t,reject:e})}),E=function(){var t=k(function(t){return{monaco:t.monaco,isInitialized:t.isInitialized,resolve:t.resolve}});if(!t.isInitialized){if(M({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),S(D);if(window.monaco&&window.monaco.editor)return I(window.monaco),t.resolve(window.monaco),S(D);x(T,C)(O)}return S(D)},L=r(1102),R={display:"flex",position:"relative",textAlign:"initial"},P={width:"100%"},z={display:"none"},B={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},N=function({children:t}){return L.createElement("div",{style:B},t)},F=(0,L.memo)(function({width:t,height:e,isEditorReady:r,loading:n,_ref:i,className:o,wrapperProps:a}){return L.createElement("section",{style:{...R,width:t,height:e},...a},!r&&L.createElement(N,null,n),L.createElement("div",{ref:i,style:{...P,...!r&&z},className:o}))}),j=function(t){(0,L.useEffect)(t,[])},H=function(t,e,r=!0){let n=(0,L.useRef)(!0);(0,L.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 Z=(0,L.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:d="100%",className:p,wrapperProps:g={},beforeMount:y=V,onMount:v=V}){let[m,_]=(0,L.useState)(!1),[b,x]=(0,L.useState)(!0),w=(0,L.useRef)(null),S=(0,L.useRef)(null),A=(0,L.useRef)(null),k=(0,L.useRef)(v),M=(0,L.useRef)(y),T=(0,L.useRef)(!1);j(()=>{let t=E();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,L.useCallback)(()=>{if(!S.current)return;M.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,L.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,L.useEffect)(()=>{m&&k.current(w.current,S.current)},[m]),(0,L.useEffect)(()=>{b||m||O()},[b,m,O]),L.createElement(F,{width:d,height:f,isEditorReady:m,loading:c,_ref:A,className:p,wrapperProps:g})}),q=function(t){let e=(0,L.useRef)();return(0,L.useEffect)(()=>{e.current=t},[t]),e.current},G=new Map,Y=(0,L.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:d="100%",height:p="100%",className:g,wrapperProps:y={},beforeMount:v=V,onMount:m=V,onChange:_,onValidate:b=V}){let[x,w]=(0,L.useState)(!1),[S,A]=(0,L.useState)(!0),k=(0,L.useRef)(null),M=(0,L.useRef)(null),T=(0,L.useRef)(null),C=(0,L.useRef)(m),O=(0,L.useRef)(v),I=(0,L.useRef)(),D=(0,L.useRef)(n),R=q(o),P=(0,L.useRef)(!1),z=(0,L.useRef)(!1);j(()=>{let t=E();return t.then(t=>(k.current=t)&&A(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>M.current?void(I.current?.dispose(),f?h&&G.set(o,M.current.saveViewState()):M.current.getModel()?.dispose(),M.current.dispose()):t.cancel()}),H(()=>{let a=U(k.current,t||n||"",e||i||"",o||r||"");a!==M.current?.getModel()&&(h&&G.set(R,M.current?.saveViewState()),M.current?.setModel(a),h&&M.current?.restoreViewState(G.get(o)))},[o],x),H(()=>{M.current?.updateOptions(u)},[u],x),H(()=>{M.current&&void 0!==n&&(M.current.getOption(k.current.editor.EditorOption.readOnly)?M.current.setValue(n):n!==M.current.getValue()&&(z.current=!0,M.current.executeEdits("",[{range:M.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),M.current.pushUndoStop(),z.current=!1))},[n],x),H(()=>{let t=M.current?.getModel();t&&i&&k.current?.editor.setModelLanguage(t,i)},[i],x),H(()=>{void 0!==s&&M.current?.revealLine(s)},[s],x),H(()=>{k.current?.editor.setTheme(a)},[a],x);let B=(0,L.useCallback)(()=>{if(!(!T.current||!k.current)&&!P.current){O.current(k.current);let l=o||r,f=U(k.current,n||t||"",e||i||"",l||"");M.current=k.current?.editor.create(T.current,{model:f,automaticLayout:!0,...u},c),h&&M.current.restoreViewState(G.get(l)),k.current.editor.setTheme(a),void 0!==s&&M.current.revealLine(s),w(!0),P.current=!0}},[t,e,r,n,i,o,u,c,h,a,s]);return(0,L.useEffect)(()=>{x&&C.current(M.current,k.current)},[x]),(0,L.useEffect)(()=>{S||x||B()},[S,x,B]),D.current=n,(0,L.useEffect)(()=>{x&&_&&(I.current?.dispose(),I.current=M.current?.onDidChangeModelContent(t=>{z.current||_(M.current.getValue(),t)}))},[x,_]),(0,L.useEffect)(()=>{if(x){let t=k.current.editor.onDidChangeMarkers(t=>{let e=M.current.getModel()?.uri;if(e&&t.find(t=>t.path===e.path)){let t=k.current.editor.getModelMarkers({resource:e});b?.(t)}});return()=>{t?.dispose()}}return()=>{}},[x,b]),L.createElement(F,{width:d,height:p,isEditorReady:x,loading:l,_ref:T,className:g,wrapperProps:y})}),$=Y},70851(t,e,r){"use strict";function n(){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}e.A=n,r.d(e,{$:()=>n})},74008(t,e,r){"use strict";r.r(e),r.d(e,{Axis:()=>tC.A,ChartView:()=>d.A,ComponentModel:()=>c.A,ComponentView:()=>h.A,List:()=>p.A,Model:()=>A.A,PRIORITY:()=>u.FQ,SeriesModel:()=>f.A,color:()=>_,connect:()=>u.Ng,dataTool:()=>u.p5,dependencies:()=>u.El,disConnect:()=>u.zm,disconnect:()=>u.Zf,dispose:()=>u.AS,env:()=>tT.A,extendChartView:()=>tL,extendComponentModel:()=>tI,extendComponentView:()=>tD,extendSeriesModel:()=>tE,format:()=>s,getCoordinateSystemDimensions:()=>u.Bo,getInstanceByDom:()=>u.FP,getInstanceById:()=>u.aQ,getMap:()=>u.ZB,graphic:()=>a,helper:()=>n,init:()=>u.Ts,innerDrawElementOnCanvas:()=>tO.Xi,matrix:()=>y,number:()=>i,parseGeoJSON:()=>te,parseGeoJson:()=>te,registerAction:()=>u.OH,registerCoordinateSystem:()=>u.pX,registerCustomSeries:()=>u.mx,registerLayout:()=>u.Oh,registerLoading:()=>u.Ej,registerLocale:()=>u.E,registerMap:()=>u.mz,registerPostInit:()=>u.cf,registerPostUpdate:()=>u.tb,registerPreprocessor:()=>u.lP,registerProcessor:()=>u.qg,registerTheme:()=>u.bf,registerTransform:()=>u.iY,registerUpdateLifecycle:()=>u.xV,registerVisual:()=>u.AF,setCanvasCreator:()=>u.vV,setPlatformAPI:()=>F.Gs,throttle:()=>b.nF,time:()=>o,use:()=>N.Y,util:()=>l,vector:()=>v,version:()=>u.rE,zrUtil:()=>m,zrender:()=>g});var n={};r.r(n),r.d(n,{createDimensions:()=>I.M,createList:()=>L,createScale:()=>P,createSymbol:()=>D.v5,createTextStyle:()=>B,dataStack:()=>R,enableHoverEmphasis:()=>E.iJ,getECData:()=>T.z,getLayoutRect:()=>k.dV,mixinAxisModelCommonMethods:()=>z});var i={};r.r(i),r.d(i,{MAX_SAFE_INTEGER:()=>tr.Is,asc:()=>tr.Y6,getPercentWithPrecision:()=>tr.wp,getPixelPrecision:()=>tr.hb,getPrecision:()=>tr.XV,getPrecisionSafe:()=>tr.y6,isNumeric:()=>tr.kf,isRadianAroundZero:()=>tr.dh,linearMap:()=>tr.Cb,nice:()=>tr.Cm,numericToNumber:()=>tr.Sm,parseDate:()=>tr._U,parsePercent:()=>tr.lo,quantile:()=>tr.YV,quantity:()=>tr.au,quantityExponent:()=>tr.NX,reformIntervals:()=>tr.sL,remRadian:()=>tr._7,round:()=>tr.eq});var o={};r.r(o),r.d(o,{format:()=>tn.GP,parse:()=>tr._U,roundTime:()=>tn._l});var a={};r.r(a),r.d(a,{Arc:()=>tm.A,BezierCurve:()=>tv.A,BoundingRect:()=>H.Ay,Circle:()=>tu.A,CompoundPath:()=>tb.A,Ellipse:()=>tc.A,Group:()=>ta.A,Image:()=>ts.Ay,IncrementalDisplayable:()=>t_.A,Line:()=>ty.A,LinearGradient:()=>tx.A,Polygon:()=>td.A,Polyline:()=>tp.A,RadialGradient:()=>tw.A,Rect:()=>tg.A,Ring:()=>tf.A,Sector:()=>th.A,Text:()=>tl.Ay,clipPointsByRect:()=>ti.clipPointsByRect,clipRectByRect:()=>ti.clipRectByRect,createIcon:()=>ti.createIcon,extendPath:()=>ti.extendPath,extendShape:()=>ti.extendShape,getShapeClass:()=>ti.getShapeClass,getTransform:()=>ti.getTransform,initProps:()=>to.LW,makeImage:()=>ti.makeImage,makePath:()=>ti.makePath,mergePath:()=>ti.mergePath,registerShape:()=>ti.registerShape,resizePath:()=>ti.resizePath,updateProps:()=>to.oi});var s={};r.r(s),r.d(s,{addCommas:()=>tS.ob,capitalFirst:()=>tS.x5,encodeHTML:()=>tA.Me,formatTime:()=>tS.fU,formatTpl:()=>tS.YK,getTextRect:()=>tM,getTooltipMarker:()=>tS.qg,normalizeCssArray:()=>tS.QX,toCamelCase:()=>tS.Cb,truncateText:()=>tk.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(9019),c=r(4121),h=r(11307),f=r(98090),d=r(50417),p=r(75352),g=r(10029),y=r(52669),v=r(67003),m=r(44176),_=r(50968),b=r(76525),x=r(95544),w=r(41333),S=r(38300),A=r(33870),k=r(57983),M=r(98846),T=r(81124),C=r(36438),O=r(24760),I=r(22989),D=r(38929),E=r(92159);function L(t){return(0,x.A)(null,t)}var R={isDimensionStacked:M.sJ,enableDataStack:M.iJ,getStackedDimension:M.me};function P(t,e){var r=e;e instanceof A.A||(r=new A.A(e));var n=w.J5(r),i=w.f$(r,n,!1);return t[1]<t[0]&&(t=t.slice().reverse()),(0,O.NY)(i,r,null,null,t),i}function z(t){m.mixin(t,S.L)}function B(t,e){return e=e||{},(0,C.VB)(t,null,null,"normal"!==e.state)}var N=r(91241),F=r(3311),j=r(65959),H=r(63406),V=r(37959);function U(t,e){return 1e-8>Math.abs(t-e)}function W(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,V.A)(i[0],i[1],a[0],a[1],e,r),i=a}var s=t[0];return U(i[0],s[0])&&U(i[1],s[1])||(n+=(0,V.A)(i[0],i[1],s[0],s[1],e,r)),0!==n}var Z=[];function q(t,e){for(var r=0;r<t.length;r++)v.applyTransform(t[r],t[r],e)}function G(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 Y=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},X=function(t){this.type="linestring",this.points=t},K=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,j.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?G(e.exterior,r,n,t):(0,m.each)(e.points,function(e){G(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 H.Ay(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;i: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(W(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(W(s[l],t[0],t[1]))continue i;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 H.Ay(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}(Y);function Q(t,e){var r=Y.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]=tt(t[n],e[n],r)}function tt(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 te(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=tt(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 X([n.coordinates]));break;case"MultiLineString":i.push(new X(n.coordinates))}var a=new K(r[e||"name"],i,r.cp);return a.properties=r,a})}(0,j.C6)(Q,Y),Q.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(Z),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 tr=r(32936),tn=r(74900),ti=r(88523),to=r(2728),ta=r(59528),ts=r(72590),tl=r(80812),tu=r(55089),tc=r(7883),th=r(86007),tf=r(47611),td=r(17759),tp=r(94965),tg=r(47732),ty=r(62019),tv=r(40143),tm=r(81349),t_=r(40917),tb=r(13345),tx=r(48234),tw=r(54580),tS=r(58742),tA=r(89950),tk=r(46152);function tM(t,e,r,n,i,o,a,s){return new tl.Ay({style:{text:t,font:e,align:r,verticalAlign:n,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}var tT=r(84957),tC=r(71669),tO=r(45781);function tI(t){var e=c.A.extend(t);return c.A.registerClass(e),e}function tD(t){var e=h.A.extend(t);return h.A.registerClass(e),e}function tE(t){var e=f.A.extend(t);return f.A.registerClass(e),e}function tL(t){var e=d.A.extend(t);return d.A.registerClass(e),e}var tR=r(13496),tP=r(97778),tz=r(27116),tB=r(95283),tN=r(1229),tF=r(33563),tj=r(96481),tH=2*Math.PI,tV=tN.A.CMD,tU=["top","right","bottom","left"];function tW(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,d=a[1]=e+h*u;return Math.sqrt((f-i)*(f-i)+(d-o)*(d-o))}function tZ(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=[],tG=new tz.A,tY=new tz.A,t$=new tz.A,tX=new tz.A,tK=new tz.A;function tQ(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||tU,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 d=0;d<a.length;d++){!function(t,e,r,n){var i=e.width,o=e.height;switch(t){case"top":r.set(e.x+i/2,e.y-0),n.set(0,-1);break;case"bottom":r.set(e.x+i/2,e.y+o+0),n.set(0,1);break;case"left":r.set(e.x-0,e.y+o/2),n.set(-1,0);break;case"right":r.set(e.x+i+0,e.y+o/2),n.set(1,0)}}(a[d],s,tG,tX),tz.A.scaleAndAdd(tY,tG,tX,f),tY.transform(h);var p=t.getBoundingRect(),g=u?u.distance(tY):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,d=0;d<c.length;){var p=c[d++];1===d&&(o=c[d],a=c[d+1],s=o,l=a);var g=u;switch(p){case tV.M:s=c[d++],l=c[d++],o=s,a=l;break;case tV.L:g=tW(o,a,c[d],c[d+1],h,f,tq,!0),o=c[d++],a=c[d++];break;case tV.C:g=(0,tj.Et)(o,a,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],h,f,tq),o=c[d++],a=c[d++];break;case tV.Q:g=(0,tj.kh)(o,a,c[d++],c[d++],c[d],c[d+1],h,f,tq),o=c[d++],a=c[d++];break;case tV.A:var y=c[d++],v=c[d++],m=c[d++],_=c[d++],b=c[d++],x=c[d++];d+=1;var w=!!(1-c[d++]);n=Math.cos(b)*m+y,i=Math.sin(b)*_+v,d<=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)%tH<1e-4)return l[0]=c,l[1]=h,u-r;if(o){var f=n;n=(0,tF.n)(i),i=(0,tF.n)(f)}else n=(0,tF.n)(n),i=(0,tF.n)(i);n>i&&(i+=tH);var d=Math.atan2(s,a);if(d<0&&(d+=tH),d>=n&&d<=i||d+tH>=n&&d+tH<=i)return l[0]=c,l[1]=h,u-r;var p=r*Math.cos(n)+t,g=r*Math.sin(n)+e,y=r*Math.cos(i)+t,v=r*Math.sin(i)+e,m=(p-a)*(p-a)+(g-s)*(g-s),_=(y-a)*(y-a)+(v-s)*(v-s);return m<_?(l[0]=p,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 tV.R:g=tZ(s=o=c[d++],l=a=c[d++],c[d++],c[d++],h,f,tq);break;case tV.Z:g=tW(o,a,s,l,h,f,tq,!0),o=s,a=l}g<u&&(u=g,r.set(tq[0],tq[1]))}return u}(tY,t.path,t$):function(t,e,r){var n=tZ(e.x,e.y,e.width,e.height,t.x,t.y,tq);return r.set(tq[0],tq[1]),n}(tY,p,t$);g<l&&(l=g,tY.transform(c),t$.transform(c),t$.toArray(o[0]),tY.toArray(o[1]),tG.toArray(o[2]))}(function(t,e){if(e<=180&&e>0){e=e/180*Math.PI,tG.fromArray(t[0]),tY.fromArray(t[1]),t$.fromArray(t[2]),tz.A.sub(tX,tG,tY),tz.A.sub(tK,t$,tY);var r=tX.len(),n=tK.len();if(!(r<.001)&&!(n<.001)&&(tX.scale(1/r),tK.scale(1/n),Math.cos(e)<tX.dot(tK))){var i=tW(tY.x,tY.y,t$.x,t$.y,tG.x,tG.y,tJ,!1);t0.fromArray(tJ),t0.scaleAndAdd(tK,i/Math.tan(Math.PI-e));var o=t$.x!==tY.x?(t0.x-tY.x)/(t$.x-tY.x):(t0.y-tY.y)/(t$.y-tY.y);if(isNaN(o))return;o<0?tz.A.copy(t0,tY):o>1&&tz.A.copy(t0,t$),t0.toArray(t[1])}}})(o,e.get("minTurnAngle")),r.setShape({points:o})}}}var tJ=[],t0=new tz.A;function t1(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?.3:Math.max(+a,0)||0,o.shape=o.shape||{},o.shape.smooth=a;var s=n.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function t2(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 t5=r(65213),t3=["align","verticalAlign","width","height","fontSize"],t6=new tP.Ay,t4=(0,tR.$r)(),t8=(0,tR.$r)();function t9(t,e,r){for(var n=0;n<r.length;n++){var i=r[n];null!=e[i]&&(t[i]=e[i])}}var t7=["x","y","rotation"],et=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();H.Ay.applyTransform(u,u,l),l?t6.setLocalTransform(l):(t6.x=t6.y=t6.rotation=t6.originX=t6.originY=0,t6.scaleX=t6.scaleY=1),t6.rotation=(0,tF.n)(t6.rotation);var c=n.__hostTarget;if(c){o=c.getBoundingRect().plain();var h=c.getComputedTransform();H.Ay.applyTransform(o,o,h)}var f=o&&c.getTextGuideLine();this._labelList.push({label:n,labelLine:f,seriesModel:r,dataIndex:t,dataType:e,layoutOptionOrCb:i,layoutOption:null,rect:u,hostRect:o,priority:o?o.width*o.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:f&&f.ignore,x:t6.x,y:t6.y,scaleX:t6.scaleX,scaleY:t6.scaleY,rotation:t6.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.layoutOptionOrCb)?i.layoutOptionOrCb(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.layoutOptionOrCb)||{},i.layoutOption=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,tr.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,tr.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)}t4(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<t3.length;f++){var d=t3[f];o.setStyle(d,null!=l[d]?l[d]:s.style[d])}if(l.draggable){if(o.draggable=!0,o.cursor="move",a){var p=i.seriesModel;null!=i.dataIndex&&(p=i.seriesModel.getData(i.dataType).getItemModel(i.dataIndex)),o.on("drag",function(t,e){return function(){tQ(t,e)}}(a,p.getModel("labelLine")))}}else o.off("drag"),o.cursor=s.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),r=t.getHeight(),n=[];(0,m.each)(this._labelList,function(t){t.defaultAttr.ignore||n.push((0,t5.PG)({},t))});var 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,t5.Zv)(i,0,0,e),(0,t5.Zv)(o,1,0,r);var a=(0,m.filter)(n,function(t){return t.layoutOption.hideOverlap});(0,t5.vS)(a),(0,t5.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=t4(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<E.wV.length;l++){var u=E.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 d=h?n:n&&n.states[u];d&&(d.ignore=!0),n&&t1(n,!0,u,c);continue}!n&&(n=new tp.A,t.setTextGuideLine(n),h||!s&&a||t1(n,!0,"normal",e.normal),t.stateProxy&&(n.stateProxy=t.stateProxy)),t1(n,!1,u,c)}}if(n){(0,m.defaults)(n.style,r),n.style.fill=null;var p=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,n.buildPath=t2}}(t,function(t,e){e=e||"labelLine";for(var r={normal:t.getModel(e)},n=0;n<E.BV.length;n++){var i=E.BV[n];r[i]=t.getModel([i,e])}return r}(a),s),tQ(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,to.LR)(t))){var i=t4(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,to.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,to.LW)(r,{style:{opacity:h}},e,s)}if(i.oldLayout=l,r.states.select){var f=i.oldLayoutSelect={};t9(f,l,t7),t9(f,r.states.select,t7)}if(r.states.emphasis){var d=i.oldLayoutEmphasis={};t9(d,l,t7),t9(d,r.states.emphasis,t7)}(0,C.xb)(r,s,u,e,e)}if(n&&!n.ignore&&!n.invisible){var i=t8(n),o=i.oldLayout,p={points:n.shape.points};o?(n.attr({shape:o}),(0,to.oi)(n,{shape:p},e)):(n.setShape(p),n.style.strokePercent=0,(0,to.LW)(n,{style:{strokePercent:1}},e)),i.oldLayout=p}},t}(),ee=(0,tR.$r)();(0,N.Y)(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,r){var n=ee(e).labelManager;n||(n=ee(e).labelManager=new et),n.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,r){var n=ee(e).labelManager;(0,m.each)(r.updatedSeries,function(t){n.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),n.updateLayoutConfig(e),n.layout(e),n.processLabelsOverall()})})},2728(t,e,r){"use strict";var n=r(44176);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 d={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,d):e.animateTo(r,d)}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(13496).$r)(),r.d(e,{Jw:()=>i,LR:()=>l,LW:()=>s,Nz:()=>u,oi:()=>a,t5:()=>h})},76452(t,e,r){"use strict";var n={};function i(t,e){n[t]=e}function o(t){return n[t]}r.d(e,{Z:()=>o,m:()=>i})},77731(t,e,r){"use strict";r.d(e,{a:()=>tL});var n=r(65959),i=r(95544),o=r(13496),a=r(98090),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","matrix"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(a.A),h=r(44176),f=r(95283),d=r(88523),p=r(72590),g=r(80812),y=r(59528),v=r(13345),m=r(92159),_=r(36438),b=r(31805);function x(t,e){var r=t.mapDimensionsAll("defaultedLabel"),n=r.length;if(1===n){var i=(0,b.QE)(t,e,r[0]);return null!=i?i+"":null}if(n){for(var o=[],a=0;a<r.length;a++)o.push((0,b.QE)(t,e,r[a]));return o.join(" ")}}var w=r(32936),S=r(27058),A=r(61858);(0,o.EV)();var k="__ec_stack_",M=r(76181),T=r(50417),C=r(47732),O=r(2728),I=r(86007);function D(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?(0,A.D)(i).w:Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))},this)}var E=r(71885);function L(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 R(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?(0,A.D)(r).w:Math.abs(r.dataToCoord(n-i)-r.dataToCoord(n+i))}function P(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?(0,A.D)(i).w:Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===r&&(s=s*Math.PI/180),s},this)}var z=r(7709),B=r(53471);function N(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 F(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||B.A.color.neutral99;j(t,e);var o=null==t.textFill;return n?o&&(t.textFill=r.insideFill||B.A.color.neutral00,!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||B.A.color.neutral00),!t.textStroke&&r.outsideStroke&&(t.textStroke=r.outsideStroke)),t.text=e.text,t.rich=e.rich,(0,h.each)(e.rich,function(t){j(t,t)}),t}function j(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 H=r(87827),V=r(30982),U=r(83587),W=r(97778),Z={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},q=(0,h.keys)(Z);(0,h.reduce)(W.Wx,function(t,e){return t[e]=1,t},{}),W.Wx.join(", ");var G=["","style","shape","extra"],Y=(0,o.$r)();function $(t,e,r,n,i){var o=t+"Animation",a=(0,O.Jw)(t,n,i)||{},s=Y(e).userDuring;return a.duration>0&&(a.during=s?(0,h.bind)(tt,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),(0,h.extend)(a,r[o]),a}function X(t,e,r,n){if(t){var i=t.parent,o=Y(t).leaveToProps;if(o){var a=$("update",t,e,r,0);a.done=function(){i&&i.remove(t),n&&n()},t.animateTo(o,a)}else i&&i.remove(t),n&&n()}}function K(t){return"all"===t}var Q={},J={setTransform:function(t,e){return Q.el[t]=e,this},getTransform:function(t){return Q.el[t]},setShape:function(t,e){var r=Q.el;return(r.shape||(r.shape={}))[t]=e,r.dirtyShape&&r.dirtyShape(),this},getShape:function(t){var e=Q.el.shape;if(e)return e[t]},setStyle:function(t,e){var r=Q.el,n=r.style;return n&&(n[t]=e,r.dirtyStyle&&r.dirtyStyle()),this},getStyle:function(t){var e=Q.el.style;if(e)return e[t]},setExtra:function(t,e){return(Q.el.extra||(Q.el.extra={}))[t]=e,this},getExtra:function(t){var e=Q.el.extra;if(e)return e[t]}};function tt(){var t=this.el;if(t){var e=Y(t).userDuring,r=this.userDuring;if(e!==r){this.el=this.userDuring=null;return}Q.el=t,r(J)}}function te(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]={}),K(u))(0,h.extend)(i,s);else for(var c=(0,o.qB)(u),f=0;f<c.length;f++){var d=c[f],p=s[d];i[d]=p}else if(K(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,d=g[f],p=s[d];y=a[d],v=p,((0,h.isArrayLike)(y)?y!==v:null!=y&&isFinite(y))&&(i[d]=p)}}}}}function tr(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,U.F)(n[s])}}var tn=(0,o.$r)(),ti=["percent","easing","shape","style","extra"],to=r(76452),ta="emphasis",ts="normal",tl="blur",tu="select",tc=[ts,ta,tl,tu],th={normal:["itemStyle"],emphasis:[ta,"itemStyle"],blur:[tl,"itemStyle"],select:[tu,"itemStyle"]},tf={normal:["label"],emphasis:[ta,"label"],blur:[tl,"label"],select:[tu,"label"]},td=["x","y"],tp={normal:{},emphasis:{},blur:{},select:{}},tg={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(D,t)}}},geo:function(t){var e=t.view,r=e.getBoundingRect();return{coordSys:{type:"geo",x:r.x,y:r.y,width:r.width,height:r.height,zoom:(0,E._)(e)},api:{coord:function(e){return t.dataToPoint(e)},size:h.bind(L,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)(R,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(P,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)},layout:function(e,r){return t.dataToLayout(e,r)}}}},matrix:function(t){var e=t.getRect();return{coordSys:{type:"matrix",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e,r){return t.dataToPoint(e,r)},layout:function(e,r){return t.dataToLayout(e,r)}}}}};function ty(t){return t instanceof f.Ay}function tv(t){return t instanceof z.Ay}var tm=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=tw(t,o,e,r);i||a.removeAll(),o.diff(i).add(function(e){tS(r,null,e,s(e,n),t,a,o)}).remove(function(e){var r=i.getItemGraphicEl(e);r&&X(r,u(r).option,t)}).update(function(e,l){tS(r,i.getItemGraphicEl(l),e,s(e,n),t,a,o)}).execute();var l=t.get("clip",!0)?function(t,e,r){if(t){if("polar"===t.type){var n,i,o,a;return n=t.getArea(),i=(0,w.LI)(n.r0,1),o=(0,w.LI)(n.r,1),a=new I.A({shape:{cx:(0,w.LI)(t.cx,1),cy:(0,w.LI)(t.cy,1),r0:i,r:o,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}),e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=n.startAngle:a.shape.r=i,O.LW(a,{shape:{endAngle:n.endAngle,r:o}},r)),a}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 C.A({shape:{x:a,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),p=d.isHorizontal(),g=d.inverse;p?(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;O.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 a=e.getData(),s=tw(e,a,r,n),l=this._progressiveEls=[];function u(t){t.isGroup||(t.incremental=(0,o.i2)(e),t.ensureState("emphasis").hoverLayer=d.HOVER_LAYER_FOR_INCREMENTAL)}for(var c=t.start;c<t.end;c++){var h=tS(null,null,c,s(c,i),e,this.group,a);h&&(h.traverse(u),l.push(h))}},e.prototype.eachRendered=function(t){d.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}(T.A);function t_(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=tE(n);u(e=d.makePath(o,null,i,n.layout||"center")).customPathData=o}else if("image"===r)u(e=new p.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){var n=t.shape;if(!n||!n.paths){var a="";(0,H.$8)(a)}var s=(0,h.map)(n.paths,function(t){if("path"===t.type)return d.makePath(t.shape.pathData,t,null);var e=d.getShapeClass(t.type);return e||(0,H.$8)(""),new e});e=new v.A({shape:{paths:s}})}else{var l=d.getShapeClass(r);if(!l){var a="";(0,H.$8)(a)}e=new l}return u(e).customGraphicType=r,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function tb(t,e,r,n,i,a,s){e.stopAnimation("keyframe"),e.attr(tn(e));var l=i&&i.normal.cfg;l&&e.setTextConfig(l),n&&null==n.transition&&(n.transition=td);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,d=ty(e)?u.decal:null;t&&d&&(d.dirty=!0,c=(0,V.w)(d,t)),u.__decalPattern=c}if(tv(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(),d=Y(t),p=e.style;d.userDuring=e.during;var g={},y={};if(function(t,e){for(var r=0;r<q.length;r++){var n=q[r],i=Z[n],o=t[n];o&&(e[i[0]]=o[0],e[i[1]]=o[1])}for(var r=0;r<W.Wx.length;r++){var a=W.Wx[r];null!=t[a]&&(e[a]=t[a])}}(e,y),"compound"===t.type)for(var v=t.shape.paths,m=e.shape.paths,_=0;_<m.length;_++)tr("shape",m[_],v[_]);else tr("shape",e,y),tr("extra",e,y);if(!l&&c&&(function(t,e,r){for(var n=e.transition,i=K(n)?W.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),te("shape",t,e,g),te("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&&!K(s)){var u=(0,o.qB)(s);i||(i=n.style={});for(var c=0;c<u.length;c++){var f=u[c],d=a[f];i[f]=d}}else if(t.getAnimationStyleProps&&(K(l)||K(s)||(0,h.indexOf)(l,"style")>=0)){var p=t.getAnimationStyleProps(),g=p?p.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 d=a[f];i[f]=d}}}}}}}(t,e,p,g)),y.style=p,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 z.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 b={};(0,h.each)(G,function(t){var r=t?e[t]:e;r&&r.enterFrom&&(t&&(b[t]=b[t]||{}),(0,h.extend)(t?b[t]:b,r.enterFrom))});var x=$("enter",t,e,r,s);x.duration>0&&t.animateFrom(b,x)}else{var w=t,S=e,A=s||0,k=r,M=g;if(M){var T=$("update",w,S,k,A);T.duration>0&&w.animateFrom(M,T)}}(function(t,e){for(var r=Y(t).leaveToProps,n=0;n<G.length;n++){var i=G[n],o=i?e[i]:e;o&&o.leaveTo&&(r||(r=Y(t).leaveToProps={}),i&&(r[i]=r[i]||{}),(0,h.extend)(i?r[i]:r,o.leaveTo))}})(t,e),p?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,O.Jw)("enter",n,0);o=a&&a.duration}if(i&&o){var s=tn(e);(0,h.each)(G,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)(ti,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 tx(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,m.DW)(o)}}function tw(t,e,r,n){var i,o,a,u,c=t.get("renderItem");if("string"==typeof c){var f=(0,to.Z)(c);f&&(c=f)}var d=t.coordinateSystem,p={};d&&(p=d.prepareCustoms?d.prepareCustoms(d):tg[d.type](d));for(var g=(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=I(n,ts).getItemStyle();null!=o&&(l.fill=o),null!=s&&(l.opacity=s);var u={inheritColor:(0,h.isString)(o)?o:B.A.color.neutral99},c=D(n,ts),f=_.VB(c,null,u,!1,!0);f.text=c.getShallow("show")?(0,h.retrieve2)(t.getFormattedLabel(n,ts),x(e,n)):null;var d=_.sD(c,u,!1);return L(r,l),l=F(l,f,d),r&&E(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=I(n,ta).getItemStyle(),o=D(n,ta),s=_.VB(o,null,null,!0,!0);s.text=o.getShallow("show")?(0,h.retrieve3)(t.getFormattedLabel(n,ta),t.getFormattedLabel(n,ts),x(e,n)):null;var l=_.sD(o,null,!0);return L(r,i),i=F(i,s,l),r&&E(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"===d.type){var e=d.getBaseAxis();return function(t){if((0,S.wl)(t.axis.scale)){for(var e,r,n,i,o,a,s,l,u,c,f,d,p,g,y,v=(0,A.D)(t.axis),m=[],_=0;_<t.count||0;_++)m.push((0,h.defaults)({stackId:k+_},t));for(var b=(a=o=(e={bandWidthResult:v,seriesInfo:m}).bandWidthResult.w,s=0,l=[],u={},(0,h.each)(e.seriesInfo,function(t,e){e||(n=t.defaultBarGap||0);var i=t.stackId;!(0,h.hasOwn)(u,i)&&s++;var o=u[i];o||(o=u[i]={width:0,maxWidth:0},l.push(i));var c=t.barWidth;c&&!o.width&&(o.width=c,c=(0,w.rp)(a,c),a-=c);var f=t.barMaxWidth;f&&(o.maxWidth=f);var d=t.barMinWidth;d&&(o.minWidth=d);var p=t.barGap;null!=p&&(n=p);var g=t.barCategoryGap;null!=g&&(r=g)}),null==r&&(r=(0,w.JB)(35-4*l.length,15)+"%"),c=(0,w.lo)(r,o),f=(0,w.lo)(n,1),d=(a-c)/(s+(s-1)*f),d=(0,w.JB)(d,0),(0,h.each)(l,function(t){var e=u[t],r=e.maxWidth,n=e.minWidth;if(e.width){var i=e.width;r&&(i=(0,w.rp)(i,r)),n&&(i=(0,w.JB)(i,n)),e.width=i,a-=i+f*i,s--}else{var i=d;r&&r<i&&(i=(0,w.rp)(r,a)),n&&n>i&&(i=n),i!==d&&(e.width=i,a-=i+f*i,s--)}}),d=(a-c)/(s+(s-1)*f),d=(0,w.JB)(d,0),p=0,(0,h.each)(l,function(t){var e=u[t];e.width||(e.width=d),i=e,p+=e.width*(1+f)}),i&&(p-=i.width*f),g={},y=-p/2,(0,h.each)(l,function(t){var e=u[t];g[t]=g[t]||{bandWidth:o,offset:y,width:e.width},y+=e.width*(1+f)}),g),x=[],_=0;_<t.count;_++){var M=b[k+_];M.offsetCenter=M.offset+M.width/2,x.push(M)}return x}}((0,h.defaults)({axis:e},t))}},currentSeriesIndices:function(){return r.getCurrentSeriesIndices()},font:function(t){return _.c8(t,r)}},p.api||{}),y={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),itemPayload:t.get("itemPayload")||{}},v={},m={},b={},M={},T=0;T<tc.length;T++){var C=tc[T];b[C]=t.getModel(th[C]),M[C]=t.getModel(tf[C])}function O(t){return t===a?u||(u=e.getItemModel(t)):e.getItemModel(t)}function I(t,r){return e.hasItemOption?t===a?v[r]||(v[r]=O(t).getModel(th[r])):O(t).getModel(th[r]):b[r]}function D(t,r){return e.hasItemOption?t===a?m[r]||(m[r]=O(t).getModel(tf[r])):O(t).getModel(tf[r]):M[r]}return function(t,r){return a=t,u=null,v={},m={},c&&c((0,h.defaults)({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:r?r.type:null},y),g)};function E(t,e){for(var r in e)(0,h.hasOwn)(e,r)&&(t[r]=e[r])}function L(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function tS(t,e,r,n,i,o,a){if(!n)return void o.remove(e);var s=tA(t,e,r,n,i,o);return s&&a.setItemGraphicEl(r,s),s&&(0,m.Lm)(s,n.focus,n.blurScope,n.emphasisDisabled),s}function tA(t,e,r,n,i,o){var a,s=-1,l=e;e&&tk(e,n,i)&&(s=(0,h.indexOf)(o.childrenRef(),e),e=null);var c=!e,f=e;f?f.clearStates():(f=t_(n),l&&((a=f).copyTransform(l),tv(a)&&tv(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,ty(a)&&ty(l)&&a.setShape(l.shape)))),!1===n.morph?f.disableMorphing=!0:f.disableMorphing&&(f.disableMorphing=!1),n.tooltipDisabled&&(f.tooltipDisabled=!0),tp.normal.cfg=tp.normal.conOpt=tp.emphasis.cfg=tp.emphasis.conOpt=tp.blur.cfg=tp.blur.conOpt=tp.select.cfg=tp.select.conOpt=null,tp.isLegacy=!1,function(t,e,r,n,i,o){if(!t.isGroup&&"compoundPath"!==t.type){tM(r,null,o),tM(r,ta,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=t_(a),t.setTextContent(c)),tb(null,c,e,a,null,n,i);for(var h=a&&a.style,f=0;f<tc.length;f++){var d=tc[f];if(d!==ts){var p=o[d].conOpt;tx(d,c,p,tC(a,p,d),null)}}h?c.dirty():c.markRedraw()}}}}(f,r,n,i,c,tp),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&&tk(a,o,n)&&(a=null),a||(a=t_(o),t.setClipPath(a)),tb(null,a,e,o,null,n,i)}}(f,r,n,i,c),tb(t,f,r,n,tp,i,c),(0,h.hasOwn)(n,"info")&&(u(f).info=n.info);for(var d=0;d<tc.length;d++){var p=tc[d];if(p!==ts){var g=tT(n,p),y=tC(n,g,p);tx(p,f,g,y,tp)}}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<tc.length;x++)!function(t,e,r){var n=r===ts,i=n?e:tT(e,r),o=i?i.z2:null;null!=o&&((n?t:t.ensureState(r)).z2=o||0)}(v,n,tc[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 M.A(g.oldChildren,g.newChildren,tO,tO,g).add(tI).update(tI).remove(tD).execute()}c&&e.removeAll();for(var h=0;h<a;h++){var f=o[h],d=e.childAt(h);f?(null==f.ignore&&(f.ignore=!1),tA(t,d,r,f,i,e)):d.ignore=!0}for(var p=e.childCount()-1;p>=h;p--){var g,y,v,m,_=e.childAt(p);y=e,v=_,m=i,v&&X(v,u(y).option,m)}}}(t,f,r,n,i),s>=0?o.replaceAt(f,s):o.add(f),f}function tk(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"))&&tE(a)!==i.customPathData||"image"===o&&(0,h.hasOwn)(s,"image")&&s.image!==i.customImagePath}function tM(t,e,r){var n,i,o=e?tT(t,e):t,a=e?tC(t,o,ta):t.style,s=t.type,l=o?o.textConfig:null,u=t.textContent,c=u?e?tT(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 N(o,t),(0,h.each)(o.rich,function(t){N(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 d=c;d.type||(d.type="text")}var p=e?r[e]:r.normal;p.cfg=l,p.conOpt=c}function tT(t,e){return e?t?t[e]:null:t}function tC(t,e,r){var n=e&&e.style;return null==n&&r===ta&&t&&(n=t.styleEmphasis),n}function tO(t,e){var r=t&&t.name;return null!=r?r:"e\0\0"+e}function tI(t,e){var r=this.context,n=null!=t?r.newChildren[t]:null,i=null!=e?r.oldChildren[e]:null;tA(r.api,i,r.dataIndex,n,r.seriesModel,r.group)}function tD(t){var e=this.context,r=e.oldChildren[t];r&&X(r,u(r).option,e.seriesModel)}function tE(t){return t&&(t.pathData||t.d)}function tL(t){t.registerChartView(tm),t.registerSeriesModel(c)}},95544(t,e,r){"use strict";r.d(e,{A:()=>y});var n=r(44176),i=r(75352),o=r(22989),a=r(50302),s=r(13496),l=r(90063),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))})},matrix:function(t,e,r,n){var i=t.getReferringComponents("matrix",s.US).models[0];e.coordSysDims=["x","y"];var o=i.getDimensionModel("x"),a=i.getDimensionModel("y");r.set("x",o),r.set("y",a),n.set("x",o),n.set("y",a)}};function h(t){return"category"===t.get("type")}var f=r(45684),d=r(98846),p=r(24917),g=r(14660),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 k=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),M=(y=e.get("coordinateSystem"),v=l.Ay.get(y),k&&k.coordSysDims&&(h=n.map(k.coordSysDims,function(t){var e={name:t},r=k.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(p.OC,M,e):null,O={coordDimensions:M,generateCoord:r.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:C,canOmitUnusedDimensions:!A},I=(0,o.A)(w,O),D=(m=I.dimensions,_=r.createInvertedIndices,k&&n.each(m,function(t,e){var r=t.coordDim,n=k.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),E=A?null:S.getSharedDataStore(I),L=(0,d.iJ)(e,{schema:I,store:E}),R=new i.A(I,e);R.setCalculationInfo(L);var P=null!=D&&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===D?r:this.defaultDimValueGetter(t,e,r,n)}:null;return R.hasItemOption=!1,R.initData(A?w:E,null,P),R}},37585(t,e,r){"use strict";r.d(e,{a:()=>tF});var n=r(44176);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(98090),h=r(13496),f=(0,h.$r)();function d(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 p(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}var 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)(d,t))})}),e.wrapMethod("cloneShallow",(0,n.curry)(g,t)),(0,n.each)(e.CHANGABLE_METHODS,function(r){e.wrapMethod(r,(0,n.curry)(p,t))}),(0,n.assert)(r[e.dataType]===e)},x=r(75352),w=r(22989),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 d=e.children;if(d)for(var p=0;p<d.length;p++)t(d[p],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}(),k=r(33870),M=r(98423),T=r(10543),C=r(53471),O=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 k.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 k.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 k.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,M.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,coordinateSystemUsage:"box",left:C.A.size.l,top:C.A.size.xxxl,right:C.A.size.l,bottom:C.A.size.xxxl,sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:{max:5,min:.2},roam:!0,roamTrigger:"global",nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",bottom:C.A.size.m,emptyItemWidth:25,itemStyle:{color:C.A.color.backgroundShade,textStyle:{color:C.A.color.secondary}},emphasis:{itemStyle:{color:C.A.color.background}}},label:{show:!0,distance:0,padding:5,position:"inside",color:C.A.color.neutral00,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:C.A.color.neutral00,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),I=r(59528),D=r(47732),E=r(81124),L=r(92159),R=r(76181),P=r(17759),z=r(80812),B=r(57983),N=r(36438),F=function(){function t(t){this.group=new I.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=B.Lj(t,e).refContainer,h={left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},f={emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]},d=B.dV(h,c);this._prepare(r,f,l),this._renderContent(t,f,d,a,s,l,u,n),B.m$(o,h,c)}},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,u){for(var c=0,h=e.emptyItemWidth,f=t.get(["breadcrumb","height"]),d=e.totalWidth,p=e.renderList,g=o.getModel("itemStyle").getItemStyle(),y=p.length-1;y>=0;y--){var v,m,_,b=p[y],x=b.node,w=b.width,S=b.text;d>r.width&&(d-=w-h,w=h,S=null);var A=new P.A({shape:{points:function(t,e,r,n,i){var o=[[n?t:t-5,0],[t+e,0],[t+e,0+r],[n?t:t-5,0+r]];return i||o.splice(2,0,[t+e+5,0+r/2]),n||o.push([t,0+r/2]),o}(c,w,f,y===p.length-1,0===y)},style:(0,n.defaults)(i.getItemStyle(),{lineJoin:"bevel"}),textContent:new z.Ay({style:(0,N.VB)(a,{text:S})}),textConfig:{position:"inside"},z2:1e4*L.CA,onclick:(0,n.curry)(u,x)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=(0,N.VB)(l,{text:S}),A.ensureState("emphasis").style=g,(0,L.Lm)(A,o.get("focus"),o.get("blurScope"),o.get("disabled")),this.group.add(A),v=A,m=t,_=x,(0,E.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)},c+=w+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),j=r(74979),H=r(63406),V=r(52669),U=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}(),W=r(37654),Z=r(50417),q=r(32936),G=r(71885),Y=Math.max,$=Math.min,X=n.each,K=["itemStyle","borderWidth"],Q=["itemStyle","gapWidth"],J=["upperLabel","show"],tt=["upperLabel","height"],te={seriesType:"treemap",reset:function(t,e,r,a){var s=t.option,l=B.Lj(t,r).refContainer,u=B.dV(t.getBoxLayoutParams(),l),c=a&&a.type,f=i(a,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?a.rootRect:null,p=t.getViewRoot(),g=o(p);if("treemapMove"!==c){var y=!1,v="treemapZoomToNode"===c?(y=!0,function(t,e,r,i){var o,a=(e||{}).node,s=i.width,l=i.height,u=n.extend({},i);if(!a||a===r)return u;for(var c=s*l,h=c*t.option.zoomToNodeRatio;o=a.parentNode;){for(var f=0,d=o.children,p=0,g=d.length;p<g;p++)f+=d[p].getValue();var y=a.getValue();if(0===y)return u;h*=f/y;var v=o.getModel(),m=v.get(K),_=Math.max(m,tn(v));(h+=4*m*m+(3*m+_)*Math.pow(h,.5))>q.Is&&(h=q.Is),a=o}h<c&&(h=c);var b=Math.pow(h/c,.5);return{width:s*b,height:l*b}}(t,f,p,u)):d?(y=!0,n.extend({},d)):n.extend({},u);if(y){var m=ti(u,v);m=to(m,t),v.width=u.width*m,v.height=u.height*m}var _=s.sort;_&&"asc"!==_&&"desc"!==_&&(_="desc");var b={squareRatio:s.squareRatio,sort:_,leafDepth:s.leafDepth};p.hostTree.clearLayouts();var x={x:0,y:0,width:v.width,height:v.height,area:v.width*v.height};p.setLayout(x),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(K),f=u.get(Q)/2,d=tn(u),p=Math.max(c,d),g=c-f,y=p-f;e.setLayout({borderWidth:c,upperHeight:p,upperLabelHeight:d},!0);var v=(a=Y(a-2*g,0))*(s=Y(s-g-y,0)),m=function(t,e,r,i,o,a){var s,l,u=t.children||[],c=i.sort;"asc"!==c&&"desc"!==c&&(c=null);var f=null!=i.leafDepth&&i.leafDepth<=a;if(o&&!f)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 d=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=(0,h.X1)(),X(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===d.sum||(d.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,d.sum,c,u),0===d.sum))return t.viewChildren=[];for(var p=0,g=u.length;p<g;p++){var y=u[p].getValue()/d.sum*r;u[p].setLayout({area:y})}return f&&(u.length&&t.setLayout({isLeafRoot:!0},!0),u.length=0),t.viewChildren=u,t.setLayout({dataExtent:d.dataExtent},!0),u}(e,u,v,r,i,o);if(m.length){var _={x:g,y:y,width:a,height:s},b=$(a,s),x=1/0,w=[];w.area=0;for(var S=0,A=m.length;S<A;){var k=m[S];w.push(k),w.area+=k.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?Y(u*n/l,l/(u*i)):1/0}(w,b,r.squareRatio);M<=x?(S++,x=M):(w.area-=w.pop().getLayout().area,tr(w,b,_,f,!1),b=$(_.width,_.height),w.length=w.area=0,x=1/0)}if(w.length&&tr(w,b,_,f,!0),!i){var T=u.get("childrenVisibleMin");null!=T&&v<T&&(i=!0)}for(var S=0,A=m.length;S<A;S++)t(m[S],r,i,o+1)}}}(p,b,!1,0),x=p.getLayout(),X(g,function(t,e){var r=(g[e+1]||p).getValue();t.setLayout(n.extend({dataExtent:[r,r],borderWidth:0,upperHeight:0},x))})}var w=t.getData().tree.root;w.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]}}(u,d,f),!0),t.setLayoutInfo(u),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 H.Ay(r.x-a.x,r.y-a.y,r.width,r.height);X(e.viewChildren||[],function(e){t(e,u,n,i,o+1)})}}(w,new H.Ay(-u.x,-u.y,r.getWidth(),r.getHeight()),g,p,0)}};function tr(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 d=t[h],p={},g=c?d.getLayout().area/c:0,y=p[l[a]]=Y(c-2*n,0),v=r[s[o]]+r[l[o]]-u,m=h===f-1||v<g?v:g,_=p[l[o]]=Y(m-2*n,0);p[s[a]]=r[s[a]]+$(n,y/2),p[s[o]]=u+$(n,_/2),u+=m,d.setLayout(p,!0)}r[s[a]]+=c,r[l[a]]-=c}function tn(t){return t.get(J)?t.get(tt):0}function ti(t,e){return e.width/t.width||e.height/t.height||1}function to(t,e){return(0,G.T$)(t,e.get("scaleLimit",!0))}var ta=r(7709),ts=r(58742),tl=I.A,tu=D.A,tc="label",th="upperLabel",tf=10*L.CA,td=2*L.CA,tp=3*L.CA,tg=(0,W.A)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),ty=function(t){var e=tg(t);return e.stroke=e.fill=e.lineWidth=null,e},tv=(0,h.$r)(),tm=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r._state="ready",r._storage=t_(),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,d=this._giveContainerGroup(u),p=t.get("animation"),g=this._doRender(d,t,f);!p||c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?g.renderFinally():this._doAnimation(d,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 tl,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=t_(),u=t_(),c=this._storage,f=[];!function t(i,o,a,s,d){function p(t){return t.getId()}function g(p,g){var y=null!=p?i[p]: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(),d=t.getData(),p=s.getModel();if(d.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=p.getModel("itemStyle"),k=p.getModel(["emphasis","itemStyle"]),M=p.getModel(["blur","itemStyle"]),T=p.getModel(["select","itemStyle"]),C=A.get("borderRadius")||0,O=Z("nodeGroup",tl);if(O){if(u.add(O),O.x=f.x||0,O.y=f.y||0,O.markRedraw(),tv(O).nodeWidth=g,tv(O).nodeHeight=y,f.isAboveViewRoot)return O;var D=Z("background",tu,c,td);D&&function(e,r,n){var i=(0,E.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=ty(A);l.fill=a;var u=tg(k);u.fill=k.get("borderColor");var c=tg(M);c.fill=M.get("borderColor");var h=tg(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,L.DW)(r)}e.add(r)}(O,D,S&&f.upperLabelHeight);var R=p.getModel("emphasis"),P=R.get("focus"),z=R.get("blurScope"),B=R.get("disabled"),F="ancestor"===P?s.getAncestorsIndices():"descendant"===P?s.getDescendantIndices():P;if(S)(0,L.u6)(O)&&(0,L.ix)(O,!1),D&&((0,L.ix)(D,!B),d.setItemGraphicEl(s.dataIndex,D),(0,L.gR)(D,F,z));else{var j=Z("content",tu,c,tp);j&&function(e,r){var n=(0,E.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=ty(A);u.fill=l,u.decal=a.decal;var c=tg(k),h=tg(M),f=tg(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,L.DW)(r)}e.add(r)}(O,j),D.disableMorphing=!0,D&&(0,L.u6)(D)&&(0,L.ix)(D,!1),(0,L.ix)(O,!B),d.setItemGraphicEl(s.dataIndex,O);var H=p.getShallow("cursor");H&&j.attr("cursor",H),(0,L.gR)(O,F,z)}return O}}}function V(t){t.invisible||a.push(t)}function U(e,r,i,o){var a=p.getModel(o?th:tc),l=(0,h.vS)(p.get("name"),null),u=a.getShallow("show");(0,N.qM)(e,(0,N.lx)(p,o?th:tc),{defaultText:u?l:null,inheritColor:r,defaultOpacity:i,labelFetcher:t,labelDataIndex:s.dataIndex});var c=e.getTextContent();if(c){var d=c.style,g=(0,n.normalizeCssArray)(d.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);(d.width!==t||d.height!==r)&&c.setStyle({width:t,height:r})},d.truncateMinChar=2,d.lineOverflow="truncate",W(d,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,d=null!=b&&r[t][b],p=o[t];return d?(r[t][b]=null,c=p,h=d,f=c[_]={},h instanceof tl?(f.oldX=h.x,f.oldY=h.y):f.oldShape=(0,n.extend)({},h.shape)):m||((d=new a)instanceof ta.Ay&&(d.z2=l*tf+u),function(t,e){var r=t[_]={},n=s.parentNode,a=e instanceof I.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}(p,d)),e[t][_]=d}}(e,u,c,r,l,f,y,v,a,d);m&&t(y&&y.viewChildren||[],v&&v.viewChildren||[],m,s,d+1)}s?(o=i,(0,n.each)(i,function(t,e){t.isRemoved()||g(e,e)})):new R.A(o,i,p,p).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 d=(i=c,o=t_(),i&&(0,n.each)(i,function(t,e){var r=o[e];(0,n.each)(t,function(t){t&&(r.push(t),tv(t).willDelete=!0)})}),o);return this._oldTree=a,this._storage=u,{lastsForAnimation:l,willDeleteEls:d,renderFinally:function(){(0,n.each)(d,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 U;(0,n.each)(e.willDeleteEls,function(t,e){(0,n.each)(t,function(t,r){if(!t.invisible){var n,o=t.parent,a=tv(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 I.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,r=this.seriesModel,i=this._controller;i||((i=this._controller=new j.A(t.getZr())).on("pan",(0,n.bind)(this._onPan,this)),i.on("zoom",(0,n.bind)(this._onZoom,this))),i.enable(r.get("roam"),{api:t,zInfo:{component:r},triggerInfo:{roamTrigger:r.get("roamTrigger"),isInSelf:function(t,r,n){var i=e._containerGroup;return!!i&&i.getBoundingRect().contain(r-i.x,n-i.y)}}})},e.prototype._clearController=function(){var t=this._controller;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,i=this.seriesModel;if("animating"!==this._state){var o=i.getData().tree.root;if(!o)return;var a=o.getLayout();if(!a)return;var s=new H.Ay(a.x,a.y,a.width,a.height),l=i.layoutInfo,u=ti(l,a),c=u*n,h=(c=to(c,i))/u;e-=l.x,r-=l.y;var f=V.create();V.translate(f,f,[-e,-r]),V.scale(f,f,[h,h]),V.translate(f,f,[e,r]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.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,ts.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 F(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=t_(),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}(Z.A);function t_(){return{nodeGroup:[],background:[],content:[]}}var tb=r(50968),tx=n.each,tw=n.isObject,tS=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=tL[o];var l=t.visualHandlers[a];this.applyVisual=l.applyVisual,this.getColorMapper=l.getColorMapper,this._normalizedToVisual=l._normalizedToVisual[o],"piecewise"===o?(tA(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(tx(e,function(t,e){r[t]=e}),!n.isArray(i)){var o=[];n.isObject(i)?tx(i,function(t,e){var n=r[e];o[null!=n?n:-1]=t}):o[-1]=i,i=tE(t,o)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete r[e[a]],e.pop())}(s):tA(s,!0):(n.assert("linear"!==o||s.dataExtent),tA(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&&tx(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(!tw(t))return[];var e=[];tx(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,d,p,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],d=w[0],p=t,f?d<=p:d<p)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:tT("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),tC.call(this,t)}:function(e,r,n){var i=!!n;return r||(e=this._normalizeData(e)),n=tb.fastLerp(e,t.parsedVisual,n),i?n:tb.stringify(n,"rgba")},this)},_normalizedToVisual:{linear:function(t){return tb.stringify(tb.fastLerp(t,this.option.parsedVisual),"rgba")},category:tC,piecewise:function(t,e){var r=tD.call(this,e);return null==r&&(r=tb.stringify(tb.fastLerp(t,this.option.parsedVisual),"rgba")),r},fixed:tO}},colorHue:tk(function(t,e){return tb.modifyHSL(t,e)}),colorSaturation:tk(function(t,e){return tb.modifyHSL(t,null,e)}),colorLightness:tk(function(t,e){return tb.modifyHSL(t,null,null,e)}),colorAlpha:tk(function(t,e){return tb.modifyAlpha(t,e)}),decal:{applyVisual:tT("decal"),_normalizedToVisual:{linear:null,category:tC,piecewise:null,fixed:null}},opacity:{applyVisual:tT("opacity"),_normalizedToVisual:tI([0,1])},liftZ:{applyVisual:tT("liftZ"),_normalizedToVisual:{linear:tO,category:tO,piecewise:tO,fixed:tO}},symbol:{applyVisual:function(t,e,r){r("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:tM,category:tC,piecewise:function(t,e){var r=tD.call(this,e);return null==r&&(r=tM.call(this,t)),r},fixed:tO}},symbolSize:{applyVisual:tT("symbolSize"),_normalizedToVisual:tI([0,1])}},t}();function tA(t,e){var r=t.visual,i=[];n.isObject(r)?tx(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]),tE(t,i)}function tk(t){return{applyVisual:function(e,r,n){var i=this.mapValueToVisual(e);n("color",t(r("color"),i))},_normalizedToVisual:tI([0,1])}}function tM(t){var e=this.option.visual;return e[Math.round((0,q.Cb)(t,[0,1],[0,e.length-1],!0))]||{}}function tT(t){return function(e,r,n){n(t,this.mapValueToVisual(e))}}function tC(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function tO(){return this.option.visual[0]}function tI(t){return{linear:function(e){return(0,q.Cb)(e,t,this.option.visual,!0)},category:tC,piecewise:function(e,r){var n=tD.call(this,r);return null==n&&(n=(0,q.Cb)(e,t,this.option.visual,!0)),n},fixed:tO}}function tD(t){var e=this.option,r=e.pieceList;if(e.hasSpecialVisual){var n=tS.findPieceIndex(t,r),i=r[n];if(i&&i.visual)return i.visual[this.type]}}function tE(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return tb.parse(t)||[0,0,0,1]})),e}var tL={linear:function(t){return(0,q.Cb)(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,r=tS.findPieceIndex(t,e,!0);if(null!=r)return(0,q.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},tR=(0,h.$r)(),tP={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,d,p,g,y=a.getModel("itemStyle"),v=(u=y,c=r,h=o,f=(0,n.extend)({},c),d=h.designatedVisualItemStyle,(0,n.each)(["color","colorAlpha","colorSaturation"],function(t){d[t]=c[t];var e=u.get(t);d[t]=null,null!=e&&(f[t]=e)}),f),m=l.ensureUniqueItemVisual(e.dataIndex,"style"),_=y.get("borderColor"),b=y.get("borderColorSaturation");null!=b&&(p=b,_=null!=(g=tz(v))?(0,tb.modifyHSL)(g,null,null,p):null),m.stroke=_;var x=e.viewChildren;if(x&&x.length){var w=function(t,e,r,n){if(n&&n.length){var i=tN(t,"color")||null!=r.color&&"none"!==r.color&&(tN(t,"colorAlpha")||tN(t,"colorSaturation"));if(i){var o=t.get("visualMin"),a=t.get("visualMax"),s=e.dataExtent.slice();null!=o&&o<s[0]&&(s[0]=o),null!=a&&a>s[1]&&(s[1]=a);var l=t.get("colorMappingBy"),u={type:i.name,dataExtent:s,visual:i.range};"color"===u.type&&("index"===l||"id"===l)?(u.mappingMethod="category",u.loop=!0):u.mappingMethod="linear";var c=new tS(u);return tR(c).drColorMappingBy=l,c}}}(a,s,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&&tR(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=tz(v)}}(e,{},t.getViewRoot().getAncestors(),t)}};function tz(t){var e=tB(t,"color");if(e){var r=tB(t,"colorAlpha"),n=tB(t,"colorSaturation");return n&&(e=(0,tb.modifyHSL)(e,null,null,n)),r&&(e=(0,tb.modifyAlpha)(e,r)),e}}function tB(t,e){var r=t[e];if(null!=r&&"none"!==r)return r}function tN(t,e){var r=t.get(e);return(0,n.isArray)(r)&&r.length?{name:e,range:r}:null}function tF(t){t.registerSeriesModel(O),t.registerChartView(tm),t.registerVisual(tP),t.registerLayout(te);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)}})})}},95298(t,e,r){"use strict";r.d(e,{ts:()=>D,Ay:()=>Y,Z0:()=>O,RC:()=>z,x:()=>R});var n=r(44176),i=r(59528),o=r(62019),a=r(88523),s=r(80812),l=r(47732),u=r(81124),c=r(36438),h=r(33870),f=r(32936),d=r(38929),p=r(52669),g=r(67003),y=r(41333),v=r(65213),m=r(13496),_=r(43764),b=r(12070),x=r(63406),w=r(27116),S=r(97778),A=r(64081),k=r(27058),M=Math.PI,T=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],C=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],O=(0,m.$r)(),I=(0,m.$r)(),D=function(){function t(t){this.recordMap={},this.resolveAxisNameOverlap=t}return t.prototype.ensureRecord=function(t){var e=t.axis.dim,r=t.componentIndex,n=this.recordMap,i=n[e]||(n[e]=[]);return i[r]||(i[r]={ready:{}})},t}(),E=p.create(),L=new x.Ay(0,0,0,0),R=function(t,e,r,n,i,o){if((0,y.SS)(t.nameLocation)){var a=o.stOccupiedRect;a&&P((0,v.AS)({},a,o.transGroup.transform),n,i)}else z(o.labelInfoList,o.dirVec,n,i)};function P(t,e,r){var n=new w.A;(0,v.EA)(t,e,n,{direction:Math.atan2(r.y,r.x),bidirectional:!1,touchThreshold:.05})&&(0,v.Gm)(e,n)}function z(t,e,r,n){for(var i=w.A.dot(n,e)>=0,o=0,a=t.length;o<a;o++){var s=t[i?o:a-1-o];s.label.ignore||P(s,r,n)}}var B=function(){function t(t,e,r,n){this.group=new i.A,this._axisModel=t,this._api=e,this._local={},this._shared=n||new D(R),this._resetCfgDetermined(r)}return t.prototype.updateCfg=function(t){var e=this._cfg.raw;e.position=t.position,e.labelOffset=t.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(t){var e=this._axisModel,r=e.getDefaultOption?e.getDefaultOption():{},o=(0,n.retrieve2)(t.axisName,e.get("name")),a=e.get("nameMoveOverlap");(null==a||"auto"===a)&&(a=(0,n.retrieve2)(t.defaultNameMoveOverlap,!0));var s={raw:t,position:t.position,rotation:t.rotation,nameDirection:(0,n.retrieve2)(t.nameDirection,1),tickDirection:(0,n.retrieve2)(t.tickDirection,1),labelDirection:(0,n.retrieve2)(t.labelDirection,1),labelOffset:(0,n.retrieve2)(t.labelOffset,0),silent:(0,n.retrieve2)(t.silent,!0),axisName:o,nameLocation:(0,n.retrieve3)(e.get("nameLocation"),r.nameLocation,"end"),shouldNameMoveOverlap:!!o&&a,optionHideOverlap:e.get(["axisLabel","hideOverlap"]),showMinorTicks:e.get(["minorTick","show"])};this._cfg=s;var l=new i.A({x:s.position[0],y:s.position[1],rotation:s.rotation});l.updateTransform(),this._transformGroup=l;var u=this._shared.ensureRecord(e);u.transGroup=this._transformGroup,u.dirVec=new w.A(Math.cos(-s.rotation),Math.sin(-s.rotation))},t.prototype.build=function(t,e){var r=this;return t||(t={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),(0,n.each)(N,function(n){t[n]&&F[n](r._cfg,r._local,r._shared,r._axisModel,r.group,r._transformGroup,r._api,e||{})}),this},t.innerTextLayout=function(t,e,r){var n,i,o=(0,f._7)(e-t);return(0,f.dh)(o)?(i=r>0?"top":"bottom",n="center"):(0,f.dh)(o-M)?(i=r>0?"bottom":"top",n="center"):(i="middle",n=o>0&&o<M?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}(),N=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],F={axisLine:function(t,e,r,i,s,l,u){var c=i.get(["axisLine","show"]);if("auto"===c&&(c=!0,null!=t.raw.axisLineAutoShow&&(c=!!t.raw.axisLineAutoShow)),c){var h=i.axis.getExtent(),f=l.transform,p=[h[0],0],y=[h[1],0],v=p[0]>y[0];f&&((0,g.applyTransform)(p,p,f),(0,g.applyTransform)(y,y,f));var m=(0,n.extend)({lineCap:"round"},i.getModel(["axisLine","lineStyle"]).getLineStyle()),x={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:m};if(i.get(["axisLine","breakLine"])&&(0,b.Bd)(i.axis.scale))(0,_.D)().buildAxisBreakLine(i,s,l,x);else{var w=new o.A((0,n.extend)({shape:{x1:p[0],y1:p[1],x2:y[0],y2:y[1]}},x));a.subPixelOptimizeLine(w.shape,w.style.lineWidth),w.anid="line",s.add(w)}var S=i.get(["axisLine","symbol"]);if(null!=S){var A=i.get(["axisLine","symbolSize"]);(0,n.isString)(S)&&(S=[S,S]),((0,n.isString)(A)||(0,n.isNumber)(A))&&(A=[A,A]);var k=(0,d.hV)(i.get(["axisLine","symbolOffset"])||0,A),M=A[0],T=A[1];(0,n.each)([{rotate:t.rotation+Math.PI/2,offset:k[0],r:0},{rotate:t.rotation-Math.PI/2,offset:k[1],r:Math.sqrt((p[0]-y[0])*(p[0]-y[0])+(p[1]-y[1])*(p[1]-y[1]))}],function(e,r){if("none"!==S[r]&&null!=S[r]){var n=(0,d.v5)(S[r],-M/2,-T/2,M,T,m.stroke,!0),i=e.r+e.offset,o=v?y:p;n.attr({rotation:e.rotate,x:o[0]+i*Math.cos(t.rotation),y:o[1]-i*Math.sin(t.rotation),silent:!0,z2:11}),s.add(n)}})}}},axisTickLabelEstimate:function(t,e,r,n,i,o,a,s){U(e,i,s)&&j(t,e,r,n,i,o,a,A.fm.estimate)},axisTickLabelDetermine:function(t,e,r,i,o,a,s,l){U(e,o,l)&&j(t,e,r,i,o,a,s,A.fm.determine);var u,c,h,f=function(t,e,r,i){var o=i.axis,a=i.getModel("axisTick"),s=a.get("show");if("auto"===s&&(s=!0,null!=t.raw.axisTickAutoShow&&(s=!!t.raw.axisTickAutoShow)),!s||o.scale.isBlank())return[];for(var l=a.getModel("lineStyle"),u=t.tickDirection*a.get("length"),c=V(o.getTicksCoords(),r.transform,u,(0,n.defaults)(l.getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)e.add(c[h]);return c}(t,o,a,i);u=t,c=e.labelLayoutList,h=f,u.showMinorTicks||(0,n.each)(c,function(t){if(t&&t.label.ignore)for(var e=0;e<h.length;e++){var r=h[e],n=I(r),i=O(t.label);if(null!=n.tickValue&&!n.onBand&&n.tickValue===i.labelInfo.tick.value)return void H(r)}}),function(t,e,r,i,o){var a=i.axis,s=i.getModel("minorTick");if(!(!t.showMinorTicks||a.scale.isBlank())){var l=a.getMinorTicksCoords();if(l.length)for(var u=s.getModel("lineStyle"),c=o*s.get("length"),h=(0,n.defaults)(u.getLineStyle(),(0,n.defaults)(i.getModel("axisTick").getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])})),f=0;f<l.length;f++)for(var d=V(l[f],r.transform,c,h,"minorticks_"+f),p=0;p<d.length;p++)e.add(d[p])}}(t,o,a,i,t.tickDirection)},axisName:function(t,e,r,i,o,l,h,d){var g,m,_=r.ensureRecord(i);e.nameEl&&(o.remove(e.nameEl),e.nameEl=_.nameLayout=_.nameLocation=null);var b=t.axisName;if(b){var x,S,A,k,O,I,D,E,L,R=t.nameLocation,P=t.nameDirection,z=i.getModel("nameTextStyle"),N=i.get("nameGap")||0,F=i.axis.getExtent(),j=i.axis.inverse?-1:1,H=new w.A(0,0),V=new w.A(0,0);"start"===R?(H.x=F[0]-j*N,V.x=-j):"end"===R?(H.x=F[1]+j*N,V.x=j):(H.x=(F[0]+F[1])/2,H.y=t.labelOffset+P*N,V.y=P);var U=p.create();V.transform(p.rotate(U,U,t.rotation));var W=i.get("nameRotate");null!=W&&(W=W*M/180),(0,y.SS)(R)?g=B.innerTextLayout(t.rotation,null!=W?W:t.rotation,P):(x=t.rotation,S=R,A=W||0,k=F,D=(0,f._7)(A-x),E=k[0]>k[1],L="start"===S&&!E||"start"!==S&&E,(0,f.dh)(D-M/2)?(I=L?"bottom":"top",O="center"):(0,f.dh)(D-1.5*M)?(I=L?"top":"bottom",O="center"):(I="middle",O=D<1.5*M&&D>M/2?L?"left":"right":L?"right":"left"),g={rotation:D,textAlign:O,textVerticalAlign:I},null!=(m=t.raw.axisNameAvailableWidth)&&(isFinite(m=Math.abs(m/Math.sin(g.rotation)))||(m=null)));var Z=z.getFont(),q=i.get("nameTruncate",!0)||{},G=q.ellipsis,Y=(0,n.retrieve)(t.raw.nameTruncateMaxWidth,q.maxWidth,m),$=d.nameMarginLevel||0,X=new s.Ay({x:H.x,y:H.y,rotation:g.rotation,silent:B.isLabelSilent(i),style:(0,c.VB)(z,{text:b,font:Z,overflow:"truncate",width:Y,ellipsis:G,fill:z.getTextColor()||i.get(["axisLine","lineStyle","color"]),align:z.get("align")||g.textAlign,verticalAlign:z.get("verticalAlign")||g.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:X,componentModel:i,itemName:b}),X.__fullText=b,X.anid="name",i.get("triggerEvent")){var K=B.makeAxisEventDataBase(i);K.targetType="axisName",K.name=b,(0,u.z)(X).eventData=K}l.add(X),X.updateTransform(),e.nameEl=X;var Q=_.nameLayout=(0,v.jj)({label:X,priority:X.z2,defaultAttr:{ignore:X.ignore},marginDefault:(0,y.SS)(R)?T[$]:C[$]});if(_.nameLocation=R,o.add(X),X.decomposeTransform(),t.shouldNameMoveOverlap&&Q){var J=r.ensureRecord(i);r.resolveAxisNameOverlap(t,r,i,Q,V,J)}}}};function j(t,e,r,o,l,f,d,g){W(e)||function(t,e,r,o,l,f){var d=l.axis,p=(0,n.retrieve)(t.raw.axisLabelShow,l.get(["axisLabel","show"])),g=new i.A;r.add(g);var v=(0,A.eP)(o);if(!p||d.scale.isBlank())return Z(e,[],g,v);var m=l.getModel("axisLabel"),_=d.getViewLabels(v),b=((0,n.retrieve)(t.raw.labelRotate,m.get("rotate"))||0)*M/180,x=B.innerTextLayout(t.rotation,b,t.labelDirection),w=l.getCategories&&l.getCategories(!0),S=[],k=l.get("triggerEvent"),T=1/0,C=-1/0;(0,n.each)(_,function(t,e){var r,i=t.tick,o=t.formattedLabel,p=t.rawLabel,v=m,b=(0,y.NQ)(d.scale,i);if(w&&w[b]){var A=w[b];(0,n.isObject)(A)&&A.textStyle&&(v=new h.A(A.textStyle,m,l.ecModel))}var M=v.getTextColor()||l.get(["axisLine","lineStyle","color"]),I=v.getShallow("align",!0)||x.textAlign,D=(0,n.retrieve2)(v.getShallow("alignMinLabel",!0),I),E=(0,n.retrieve2)(v.getShallow("alignMaxLabel",!0),I),L=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||x.textVerticalAlign,R=(0,n.retrieve2)(v.getShallow("verticalAlignMinLabel",!0),L),P=(0,n.retrieve2)(v.getShallow("verticalAlignMaxLabel",!0),L),z=10+((null==(r=i.time)?void 0:r.level)||0);T=Math.min(T,z),C=Math.max(C,z);var N=new s.Ay({x:0,y:0,rotation:0,silent:B.isLabelSilent(l),z2:z,style:(0,c.VB)(v,{text:o,align:0===e?D:e===_.length-1?E:I,verticalAlign:0===e?R:e===_.length-1?P:L,fill:(0,n.isFunction)(M)?M("category"===d.type?p:"value"===d.type?b+"":b,e):M})});N.anid="label_"+b;var F=O(N);if(F.labelInfo=t,F.layoutRotation=x.rotation,a.setTooltipConfig({el:N,componentModel:l,itemName:o,formatterParamsExtra:{isTruncated:function(){return N.isTruncated},value:p,tickIndex:e}}),k){var j,H,V,U,W=B.makeAxisEventDataBase(l);W.targetType="axisLabel",W.value=p,W.tickIndex=e;var Z=t.tick.break;if(Z){var q=Z.parsedBreak;W.break={start:q.vmin,end:q.vmax}}"category"===d.type&&(W.dataIndex=b),(0,u.z)(N).eventData=W,Z&&(j=l,H=f,V=N,U=Z,V.on("click",function(t){var e={type:"expandAxisBreak",breaks:[{start:U.parsedBreak.breakOption.start,end:U.parsedBreak.breakOption.end}]};e[j.axis.dim+"AxisIndex"]=j.componentIndex,H.dispatchAction(e)}))}S.push(N),g.add(N)}),Z(e,(0,n.map)(S,function(t){return{label:t,priority:O(t).labelInfo.tick.break?t.z2+(C-T+1):t.z2,defaultAttr:{ignore:t.ignore}}}),g,v)}(t,e,l,g,o,d);var m,w,T,C,I,D=e.labelLayoutList;m=t,w=o,T=D,C=f,I=w.get(["axisLabel","margin"]),(0,n.each)(T,function(t,e){var r=(0,v.jj)(t);if(r){var n=r.label,i=O(n);r.suggestIgnore=n.ignore,n.ignore=!1,(0,S.IT)(q,G);var o=w.axis;q.x=o.dataToCoord((0,y.NQ)(o.scale,i.labelInfo.tick)),q.y=m.labelOffset+m.labelDirection*I,q.rotation=i.layoutRotation,C.add(q),q.updateTransform(),C.remove(q),q.decomposeTransform(),(0,S.IT)(n,q),n.markRedraw(),(0,v.LC)(r,!0),(0,v.jj)(r)}}),function(t,e,r){var i=(0,b.mn)();if(i){var o=i.retrieveAxisBreakPairs(r,function(t){return t&&O(t.label).labelInfo.tick.break},!0),a=t.get(["breakLabelLayout","moveOverlap"],!0);(!0===a||"auto"===a)&&(0,n.each)(o,function(n){(0,_.D)().adjustBreakLabelPair(t.axis.inverse,e,[(0,v.jj)(r[n[0]]),(0,v.jj)(r[n[1]])])})}}(o,t.rotation,D);var R=t.optionHideOverlap;(function(t,e,r){var n=t.axis,i=t.get(["axisLabel","customValues"]);if(!(0,y.PJ)(n)){var o=t.get(["axisLabel","showMinLabel"]),a=t.get(["axisLabel","showMaxLabel"]),s=e.length;l(o,0,1),l(a,s-1,s-2)}function l(t,o,a){var s=(0,v.jj)(e[o]),l=(0,v.jj)(e[a]),u=n.scale;if(s&&l){if(null==t){if(!r&&i)return;var c=O(s.label).labelInfo.tick;if((0,k.oY)(u)&&c.notNice||(0,k.wl)(u)&&c.offInterval)return void H(s.label)}if(!1===t||s.suggestIgnore)return void H(s.label);if(l.suggestIgnore)return void H(l.label);if(!r){var h=[0,0,0,0];s=(0,v.PG)({marginForce:h},s),l=(0,v.PG)({marginForce:h},l)}(0,v.EA)(s,l,null,{touchThreshold:.1})&&(t?H(l.label):H(s.label))}}})(o,D,R),R&&(0,v.If)((0,n.filter)(D,function(t){return t&&!t.label.ignore})),function(t,e,r,i){var o,a=r.axis,s=e.ensureRecord(r),l=[],u=!!t.axisName&&(0,y.SS)(t.nameLocation);(0,n.each)(i,function(t){var e=(0,v.jj)(t);if(e&&!e.label.ignore){l.push(e);var r=s.transGroup;u&&(r.transform?p.invert(E,r.transform):p.identity(E),e.transform&&p.mul(E,E,e.transform),x.Ay.copy(L,e.localRect),L.applyTransform(E),o?o.union(L):x.Ay.copy(o=new x.Ay(0,0,0,0),L))}});var c=Math.abs(s.dirVec.x)>.1?"x":"y",h=s.transGroup[c];if(l.sort(function(t,e){return Math.abs(t.label[c]-h)-Math.abs(e.label[c]-h)}),u&&o){var f=a.getExtent(),d=Math.min(f[0],f[1]),g=Math.max(f[0],f[1])-d;o.union(new x.Ay(d,0,g,1))}s.stOccupiedRect=o,s.labelInfoList=l}(t,r,o,D)}function H(t){t&&(t.ignore=!0)}function V(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,g.applyTransform)(l,l,e),(0,g.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);var d=I(f);d.onBand=!!t[c].onBand,d.tickValue=t[c].tickValue}return s}function U(t,e,r){if(W(t)){var n=t.axisLabelsCreationContext.out.noPxChangeTryDetermine;if(r.noPxChange){for(var i=!0,o=0;o<n.length;o++)i=i&&n[o]();if(i)return!1}n.length&&(e.remove(t.labelGroup),Z(t,null,null,null))}return!0}function W(t){return!!t.labelLayoutList}function Z(t,e,r,n){t.labelLayoutList=e,t.labelGroup=r,t.axisLabelsCreationContext=n}var q=new l.A,G=new l.A,Y=B},65214(t,e,r){"use strict";var n=r(65959),i=r(17624),o=r(11307),a={};e.A=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)},43764(t,e,r){"use strict";function n(){return null}r.d(e,{D:()=>n})},81147(t,e,r){"use strict";var n=r(44176),i=r(13496);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,d=h.dim,p=+("x"===f||"radius"===f),g=s.mapDimension(d),y=[];y[p]=s.get(g,l),y[1-p]=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}}r.d(e,{A:()=>o})},52874(t,e,r){"use strict";var n=r(44176),i=r(84957),o=(0,r(13496).$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("mousewheel",n.curry(u,"mousewheel")),r("globalout",l));function r(r,n){t.on(r,function(r){var i,s,l,u,c,h,f,d,p=(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,p.dispatchAction)}),u=p.pendings,c=e,f=u.showTip.length,d=u.hideTip.length,f?h=u.showTip[f-1]:d&&(h=u.hideTip[d-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)}}r.d(e,{h:()=>c,k:()=>s})},3722(t,e,r){"use strict";r.d(e,{a:()=>U});var n=r(65214),i=r(65959),o=r(44176),a=r(59528),s=r(88523),l=r(80812),u=r(2728),c=r(17624),h=r(68022),f=r(76525),d=r(13496),p=r(61858),g=(0,d.$r)(),y=o.clone,v=o.bind,m=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 d=o.curry(_,e,f);this.updatePointerEl(l,c,d),this.updateLabelEl(l,c,d,e)}else l=this._group=new a.A,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),r.getZr().add(l);w(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&&(0,p.D)(n).w>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=g(t).pointerEl=new s[i.type](y(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,r,n){if(e.label){var i=g(t).labelEl=new l.Ay(y(e.label));t.add(i),b(i,n)}},t.prototype.updatePointerEl=function(t,e,r){var n=g(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=g(t).labelEl;i&&(i.setStyle(e.label.style),r(i,{x:e.label.x,y:e.label.y}),b(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:v(this._onHandleDragMove,this,0,0),drift:v(this._onHandleDragMove,this),ondragend:v(this._onHandleDragEnd,this)}),n.add(i)),w(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){_(this._axisPointerModel,!e&&this._moveAnimation,this._handle,x(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(x(r),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(x(n)),g(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 _(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}(g(r).lastProp,n)&&(g(r).lastProp=n,e?u.oi(r,n,t):(r.stopAnimation(),r.attr(n)))}function b(t,e){t[e.get(["label","show"])?"show":"hide"]()}function x(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function w(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 S=r(54220),A=r(19480),k=r(32936),M=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=o.getGlobalExtent(),u=T(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=S.bY(n),f=C[s](o,c,l,u,n.get("seriesDataIndices"),n.ecModel);f.style=h,t.graphicKey=f.type,t.pointer=f}var d=A.Zp(a.getRect(),r);S.DA(e,t,d,r,n,i)},e.prototype.getHandleTransform=function(t,e,r){var n=A.Zp(e.axis.grid.getRect(),e,{labelInside:!1});n.labelMargin=r.get(["handle","margin"]);var i=S.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=T(o,i).getOtherAxis(i).getGlobalExtent(),l=+("x"!==i.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=(0,k.rp)(a[1],u[l]),u[l]=(0,k.JB)(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}(m);function T(t,e){var r={};return r[e.dim+"AxisIndex"]=e.index,t.getCartesian(r)}var C={line:function(t,e,r,n){return{type:"Line",subPixelOptimize:!0,shape:S.MU([e,n[0]],[e,n[1]],O(t))}},shadow:function(t,e,r,n,i,o){var a=S.Z5(t,i,o),s=n[1]-n[0],l=S.YN(e,r,a),u=l[0],c=l[1];return{type:"Rect",shape:S.cU([u,n[0]],[c-u,s],O(t))}}};function O(t){return+("x"!==t.dim)}var I=r(4121),D=r(53471),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.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:D.A.color.border,width:1,type:"dashed"},shadowStyle:{color:D.A.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:D.A.color.neutral00,padding:[5,7,5,7],backgroundColor:D.A.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:D.A.color.accent40,throttle:40}},e}(I.A),L=r(52874),R=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|mousewheel";L.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){L.h("axisPointer",e)},e.prototype.dispose=function(t,e){L.h("axisPointer",e)},e.type="axisPointer",e}(r(11307).A),P=r(81147),z=(0,d.$r)();function B(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){V(i)&&(i=(0,P.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,c,h=V(i),f=t.axesInfo,d=s.axesInfo,p="leave"===n||V(i),g={},y={},v={list:[],map:{}},m={showPointer:(0,o.curry)(F,y),showTooltip:(0,o.curry)(j,v)};(0,o.each)(s.coordSysMap,function(t,e){var r=h||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}}(f,t);if(!p&&r&&(!f||o)){var a=o&&o.value;null!=a||h||(a=n.pointToData(i)),null!=a&&N(t,a,m,!1,g)}})});var _={};return(0,o.each)(d,function(t,e){var r=t.linkGroup;r&&!y[e]&&(0,o.each)(r.axesInfo,function(e,n){var i=y[n];if(e!==t&&i){var o=i.value;r.mapper&&(o=t.axis.scale.parse(r.mapper(o,H(e),H(t)))),_[t.key]=o}})}),(0,o.each)(_,function(t,e){N(d[e],t,m,!0,g)}),l=y,u=d,c=g.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(V(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})}(v,i,t,a),function(t,e){var r=e.getZr(),n="axisPointerLastHighlights",i=z(r)[n]||{},a=z(r)[n]={};(0,o.each)(t,function(t,e){var r=t.axisPointerModel.option;"show"===r.status&&t.triggerEmphasis&&(0,o.each)(r.seriesDataIndices,function(t){a[t.seriesIndex+"|"+t.dataIndex]=t})});var s=[],l=[];function u(t){return{seriesIndex:t.seriesIndex,dataIndex:t.dataIndex}}(0,o.each)(i,function(t,e){a[e]||l.push(u(t))}),(0,o.each)(a,function(t,e){i[e]||s.push(u(t))}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(d,r),g}}function N(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,d,p,g=(s=e,c=(u=(l=t).axis).dim,h=s,f=[],d=Number.MAX_VALUE,p=-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.indicesOfNearest(c,i[0],s,"category"===u.type?.5:null)).length)return;r=t.getData().get(i[0],n[0])}if((0,k.YC)(r)){var l=s-r,g=Math.abs(l);g<=d&&((g<d||l>=0&&p<0)&&(d=g,p=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 F(t,e,r,n){t[e.key]={value:r,payloadBatch:n}}function j(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 H(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 V(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function U(t){n.A.registerAxisPointerClass("CartesianAxisPointer",M),t.registerComponentModel(E),t.registerComponentView(R),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,{overallReset:function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,c.Fo)(t,e)}}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},B)}},17624(t,e,r){"use strict";var n=r(33870),i=r(44176);function o(t,e){var r,o,s,l,u,f,d,p,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)||[],d=[],(0,i.each)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=h(t.model),s=r.coordSysAxesInfo[e]={};r.coordSysMap[e]=t;var p=t.model.getModel("tooltip",l);if((0,i.each)(t.getAxes(),(0,i.curry)(m,!1,null)),t.getTooltipAxes&&l&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get(["axisPointer","type"]),v=t.getTooltipAxes(p.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,p,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=d[S]||(d[S]={axesInfo:{}});A.axesInfo[b]=w,A.mapper=f[S].mapper,w.linkGroup=A}}}}),g.seriesInvolved&&(p=g,t.eachSeries(function(t){var e=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),n=t.get(["tooltip","show"],!0);e&&e.model&&"none"!==r&&!1!==r&&"item"!==r&&!1!==n&&!1!==t.get(["axisPointer","show"],!0)&&(0,i.each)(p.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();(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}r.d(e,{Fo:()=>o,Yc:()=>l,h_:()=>s,mg:()=>u,og:()=>h})},54220(t,e,r){"use strict";var n=r(44176),i=r(88523),o=r(26812),a=r(58742),s=r(52669),l=r(41333),u=r(95298),c=r(36438),h=r(61858),f=r(32936);function d(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 p(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 g(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 y(t,e,r,n,i,s){var l,h,f,d,y,v,m,_,b,x,w,S,A,k,M,T,C,O,I=u.Ay.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),m={position:g(n.axis,t,r),align:I.textAlign,verticalAlign:I.textVerticalAlign},_=p(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,k=S.width+x[1]+x[3],M=S.height+x[0]+x[2],"right"===(T=m.align)&&(A[0]-=k),"center"===T&&(A[0]-=k/2),"bottom"===(C=m.verticalAlign)&&(A[1]-=M),"middle"===C&&(A[1]-=M/2),l=A,h=k,f=M,y=(d=s).getWidth(),v=d.getHeight(),l[0]=Math.min(l[0]+h,y)-h,l[1]=Math.min(l[1]+f,v)-f,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 v(t,e,r){return{x1:t[r=r||0],y1:t[1-r],x2:e[r],y2:e[1-r]}}function m(t,e,r){return{x:t[r=r||0],y:t[1-r],width:e[r],height:e[1-r]}}function _(t,e,r){return(0,h.D)(t,{fromStat:{sers:n.map(e,function(t){return r.getSeriesByIndex(t.seriesIndex)})},min:1}).w}function b(t,e,r){return[(0,f.JB)((0,f.rp)(e[0],e[1]),t-r/2),(0,f.rp)(t+r/2,(0,f.JB)(e[0],e[1]))]}r.d(e,{DA:()=>y,MU:()=>v,Tc:()=>g,YN:()=>b,Z5:()=>_,_F:()=>p,bY:()=>d,cU:()=>m})},6750(t,e,r){"use strict";r.d(e,{a:()=>tf});var n=r(91241),i=r(65959),o=r(44176),a=r(4121),s=r(13496),l=r(45725),u=["x","y","radius","angle","single"],c=(0,s.$r)(),h=["cartesian2d","polar","singleAxis"];function f(t){return t+"Axis"}function d(t){var e=t.ecModel,r={infoList:[],infoMap:(0,o.createHashMap)()};return t.eachTargetAxis(function(t,n){var i=e.getComponent(f(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}function p(t){var e=c((0,l.jN)(t));return e.axisProxyMap||(e.axisProxyMap=(0,o.createHashMap)())}function g(t){if(t)return p(t.ecModel).get(t.uid)}function y(t,e){var r=e.getAxisModel().axis.__alignTo;return r&&t.getAxisProxy(r.dim,r.model.componentIndex)?g(r.model):null}var v=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}(),m=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=_(t);this.settledOption=n,this.mergeDefaultAndTheme(t,r),this._doInit(n)},e.prototype.mergeOption=function(t){var e=_(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)(u,function(r){var n=this.getReferringComponents(f(r),s.UW);if(n.specified){e=!0;var i=new v;(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 v;if(a.add(i.componentIndex),t.set(r,a),n=!1,"x"===r||"y"===r){var l=i.getReferringComponents("grid",s.US).models[0];l&&(0,o.each)(e,function(t){i.componentIndex!==t.componentIndex&&l===t.getReferringComponents("grid",s.US).models[0]&&a.add(t.componentIndex)})}}}n&&(0,o.each)(u,function(e){if(n){var i=r.findComponents({mainType:f(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new v;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(f(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){return g(this.getAxisModel(t,e))},e.prototype.getAxisModel=function(t,e){var r=this._targetAxisInfoMap.get(t);if(r&&r.indexMap[e])return this.ecModel.getComponent(f(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.getWindow().percent},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getWindow().value;var r=this.findRepresentativeAxisProxy();if(r)return r.getWindow().value},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return g(t);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 _(t){var e={};return(0,o.each)(["start","end","startValue","endValue","throttle"],function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var b=r(84310),x=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,b.G_)(m.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(m),w=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(11307).A),S=r(32936);function A(t,e,r,n,i,o){t=t||0;var a,s=(0,S.Tr)(r[1],-r[0]);if(null!=i&&(i=M(i,[0,s])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===n){var l=Math.abs((0,S.Tr)(e[1],-e[0]));l=M(l,[0,s]),i=o=M(l,[i,o]),n=0}e[0]=M(e[0],r),e[1]=M(e[1],r);var u=k(e,n);e[n]+=t;var c=i||0,h=r.slice();return u.sign<0?h[0]=(0,S.Tr)(h[0],c):h[1]=(0,S.Tr)(h[1],-c),e[n]=M(e[n],h),a=k(e,n),null!=i&&(a.sign!==u.sign||a.span<i)&&(e[1-n]=(0,S.Tr)(e[n],u.sign*i)),a=k(e,n),null!=o&&a.span>o&&(e[1-n]=(0,S.Tr)(e[n],a.sign*o)),e}function k(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 M(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var T=r(74979),C=r(76525),O=(0,s.$r)();function I(t,e){if(e){t.removeKey(e.model.uid);var r=e.controller;r&&r.dispose()}}function D(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function E(t,e,r,n){return t.coordinateSystem.containPoint([r,n])}var L=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)(R.pan,this),zoom:(0,o.bind)(R.zoom,this),scrollMove:(0,o.bind)(R.scrollMove,this)},O(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=O(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||I(r,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(w),R={zoom:function(t,e,r,n){var i=this.range,o=i.slice(),a=t.axisModels[0];if(a){var s=z[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(A(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:P(function(t,e,r,n,i,o){var a=z[n]([o.oldX,o.oldY],[o.newX,o.newY],e,i,r);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:P(function(t,e,r,n,i,o){return z[n]([0,0],[o.scrollDelta,o.scrollDelta],e,i,r).signal*(t[1]-t[0])*o.scrollDelta})};function P(t){return function(e,r,n,i){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s&&(A(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 z={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}},B=r(27058),N=r(17920),F=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.getWindow=function(){return(0,o.clone)(this._window)},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(r=e.get("coordinateSystem"),(0,o.indexOf)(h,r)>=0){var r,n=f(this._dimName),i=e.getReferringComponents(n,s.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(0,o.clone)(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,r=this._extent,n=this.getAxisModel().axis,i=n.scale,a=this._dataZoomModel.getRangePropMode(),l=[0,100],u=[],c=[],h=[!1,!1];(0,o.each)(["start","end"],function(n,o){var s=t[n],f=t[n+"Value"];"percent"===a[o]?(null==s&&(s=l[o]),f=(0,S.Cb)(s,l,r),h[o]=!0):(e=!0,null==f?f=r[o]:(f=i.parse(f),i.sanitize&&(f=i.sanitize(f,r))),s=(0,S.Cb)(f,r,l)),c[o]=null==f||isNaN(f)?r[o]:f,u[o]=null==s||isNaN(s)?l[o]:s}),(0,S.Y6)(c),(0,S.Y6)(u);var f=this._minMaxSpan;function d(t,e,r,n,i){var o=i?"Span":"ValueSpan";A(0,t,r,"all",f["min"+o],f["max"+o]);for(var a=0;a<2;a++)e[a]=(0,S.Cb)(t[a],r,n,!0),i&&(e[a]=e[a],h[a]=!0);(0,s.U2)(e)}e?d(c,u,r,l,!1):d(u,c,l,r,!0);var p=(0,B.wl)(i)||(0,B.oY)(i),g=n.getExtent(),y=(0,S.NY)(g[1]-g[0]),v=p?0:(0,S.EO)(c,y,.5);(0,o.each)([[0,S.ih],[1,S.Zr]],function(t){var e=t[0],n=t[1];h[e]&&isFinite(v)&&(c[e]=(0,S.LI)(c[e],v),c[e]=(0,S.rp)(r[1],(0,S.JB)(r[0],c[e])),u[e]===l[e]&&(c[e]=r[e],p&&(c[e]=n(c[e]))))}),(0,s.U2)(c);var m=[(0,S.Cb)(c[0],r,l,!0),(0,S.Cb)(c[1],r,l,!0)];return(0,s.U2)(m),{value:c,percent:u,percentInverted:m,valuePrecision:v}},t.prototype.reset=function(t,e){if(this.hostedBy(t)){var r=this.getAxisModel().axis;(0,N.DT)(r,N.fK);var n=r.scale.rawExtentInfo;this._extent=n.makeNoZoom(),this._updateMinMaxSpan();var i=t.settledOption;e&&(i=(0,o.defaults)({start:e[0],end:e[1]},i));var a=this._window=this.calculateDataWindow(i),s=a.percent,l=a.value;0!==s[0]&&n.setZoomMM(0,l[0]),100!==s[1]&&n.setZoomMM(1,l[1])}},t.prototype.filterData=function(t,e){if(this.hostedBy(t)){var r=this._dimName,n=this.getTargetSeriesModels(),i=t.get("filterMode"),a=this._window.value;"none"!==i&&(0,o.each)(n,function(t){var e=t.getData(),n=e.mapDimensionsAll(r);if(n.length){if("weakFilter"===i){var s=e.getStore(),l=(0,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(0,o.each)(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)}});(0,o.each)(n,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,r=this._extent;(0,o.each)(["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=(0,S.Cb)(r[0]+o,r,[0,100],!0):null!=i&&(o=(0,S.Cb)(i,[0,100],r,!0)-r[0]),t[n+"Span"]=i,t[n+"ValueSpan"]=o},this)},t}(),j={dirtyOnOverallProgress:!0,getTargetSeries:function(t){var e,r=[];e=function(e,n,i,o){if(!g(i)){var a=new F(e,n,o,t);r.push(a),p(i.ecModel).set(i.uid,a)}},t.eachComponent("dataZoom",function(r){r.eachTargetAxis(function(n,i){var o=t.getComponent(f(n),i);e(n,i,o,r)})});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){var r=[];t.eachTargetAxis(function(e,n){var i=t.getAxisProxy(e,n),o=y(t,i);o?r.push([i,o]):i.reset(t,null)}),(0,o.each)(r,function(e){e[0].reset(t,e[1].getWindow().percentInverted)}),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.getWindow(),n=r.percent,i=r.value;t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}},H=(0,s.EV)();function V(t){H(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,j),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 U(t){V(t),t.registerComponentModel(x),t.registerComponentView(L),t.registerUpdateLifecycle("coordsys:aftercreate",function(t,e){var r=O(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=d(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)(E,i),dispatchAction:(0,o.curry)(D,e),dataZoomInfoMap:null,controller:null}).controller=new T.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 r,i,a,s,l,u,c,h=t.controller,f=t.dataZoomInfoMap;if(f){var d=f.keys()[0];null!=d&&(c=f.get(d))}if(!c)return void I(n,t);var p=(s="type_",l={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0,f.each(function(t){var e=t.model,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");l[s+n]>l[s+r]&&(r=n),u=u&&e.get("preventDefaultMouseMove",!0),i=(0,o.retrieve2)(e.get("cursorGrab",!0),i),a=(0,o.retrieve2)(e.get("cursorGrabbing",!0),a)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u,api:e,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint},cursorGrab:i,cursorGrabbing:a}});h.enable(p.controlType,p.opt),C.N(t,"dispatchAction",c.model.get("throttle",!0),"fixRate")})})}var W=r(53471),Z=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,b.G_)(m.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:W.A.color.accent10,borderRadius:0,backgroundColor:W.A.color.transparent,dataBackground:{lineStyle:{color:W.A.color.accent30,width:.5},areaStyle:{color:W.A.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:W.A.color.accent40,width:.5},areaStyle:{color:W.A.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:W.A.color.neutral00,borderColor:W.A.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:W.A.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:W.A.color.tertiary},brushSelect:!0,brushStyle:{color:W.A.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:W.A.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e}(m),q=r(68022),G=r(47732),Y=r(59528),$=r(17759),X=r(94965),K=r(80812),Q=r(88523),J=r(27116),tt=r(57983),te=r(92159),tr=r(38929),tn=r(36438),ti=G.A,to="horizontal",ta="vertical",ts=["line","bar","candlestick","scatter"],tl={easing:"cubicOut",duration:100,delay:0},tu=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),C.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(){C.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 Y.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=tt.Lj(t,e).refContainer,i=this._findCoordRect(),a=t.get("defaultLocationEdgeGap",!0)||0,s=this._orient===to?{right:n.width-i.x-i.width,top:n.height-30-a-7*!!r,width:i.width,height:30}:{right:a,top:i.y,width:30,height:i.height},l=tt.vs(t.option);(0,o.each)(["right","top","width","height"],function(t){"ph"===l[t]&&(l[t]=s[t])});var u=tt.dV(l,n);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===ta&&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!==to||i?r===to&&i?{scaleY:a?1:-1,scaleX:-1}:r!==ta||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]),l=isNaN(s.x)?0:s.x,u=isNaN(s.y)?0:s.y;t.x=e.x-l,t.y=e.y-u,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 ti({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new ti({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(t.thisDim),h=i.getDataExtent(a),f=(h[1]-h[0])*.3;h=[h[0]-f,h[1]+f];var d=[0,e[1]],p=[0,e[0]],g=[[e[0],0],[0,0]],y=[],v=p[1]/Math.max(1,i.count()-1),m=e[0]/(c[1]-c[0]),_="time"===t.thisAxis.type,b=-v,x=Math.round(i.count()/e[0]);i.each([t.thisDim,a],function(t,e,r){if(x>0&&r%x){_||(b+=v);return}b=_?(t-c[0])*m:b+v;var n=null==e||isNaN(e)||""===e,i=n?0:(0,S.Cb)(e,h,d,!0);n&&!u&&r?(g.push([g[g.length-1][0],0]),y.push([y[y.length-1][0],0])):!n&&u&&(g.push([b,0]),y.push([b,0])),n||(g.push([b,i]),y.push([b,i])),u=n}),s=this._shadowPolygonPts=g,l=this._shadowPolylinePts=y}this._shadowData=i,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var w=this.dataZoomModel,A=0;A<3;A++){var k=function(t){var e=w.getModel(t?"selectedDataBackground":"dataBackground"),r=new Y.A,n=new $.A({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new X.A({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return r.add(n),r.add(i),r}(1===A);this._displayables.sliderGroup.add(k),this._displayables.dataShadowSegs.push(k)}}}},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)(ts,e.get("type")))){var s,l=n.getComponent(f(i),a).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[i],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u);var h=e.getData().mapDimension(i);t={thisAxis:l,series:e,thisDim:h,otherDim:u,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 ti({silent:c,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});i.add(h),i.add(new ti({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:W.A.color.transparent}})),(0,o.each)([0,1],function(e){var a=s.get("handleIcon");!tr.$V[a]&&0>a.indexOf("path://")&&0>a.indexOf("image://")&&(a="path://"+a);var l=(0,tr.v5)(a,-1,0,2,2,null,!0);l.attr({cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:(0,o.bind)(this._onDragMove,this,e),ondragend:(0,o.bind)(this._onDragEnd,this),onmouseover:(0,o.bind)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,o.bind)(this._onOverDataInfoTriggerArea,this,!1),z2:5});var u=l.getBoundingRect(),c=s.get("handleSize");this._handleHeight=(0,S.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,te.iJ)(l);var h=s.get("handleColor");null!=h&&(l.style.fill=h),i.add(r[e]=l);var f=s.getModel("textStyle"),d=(s.get("handleLabel")||{}).show||!1;t.add(n[e]=new K.Ay({silent:!0,invisible:!d,style:(0,tn.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 d=(0,S.lo)(s.get("moveHandleSize"),a[1]),p=e.moveHandle=new G.A({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:d}}),g=.8*d,y=e.moveHandleIcon=(0,tr.v5)(s.get("moveHandleIcon"),-g/2,-g/2,g,g,W.A.color.neutral00,!0);y.silent=!0,y.y=a[1]+d/2-.5,p.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(a[1]/2,Math.max(d,10));(f=e.moveZone=new G.A({invisible:!0,shape:{y:a[1]-v,height:d+v}})).on("mouseover",function(){l.enterEmphasis(p)}).on("mouseout",function(){l.leaveEmphasis(p)}),i.add(p),i.add(y),i.add(f)}f.attr({draggable:!0,cursor:"grab",drift:(0,o.bind)(this._onActualMoveZoneDrift,this),ondragstart:(0,o.bind)(this._onActualMoveZoneDragStart,this),ondragend:(0,o.bind)(this._onActualMoveZoneDragEnd,this),onmouseover:(0,o.bind)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,o.bind)(this._onOverDataInfoTriggerArea,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,S.Cb)(t[0],[0,100],e,!0),(0,S.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];A(e,n,i,r.get("zoomLock")?"all":t,null!=o.minSpan?(0,S.Cb)(o.minSpan,a,i,!0):null,null!=o.maxSpan?(0,S.Cb)(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=(0,S.Y6)([(0,S.Cb)(n[0],i,a,!0),(0,S.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,S.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 G.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(),s=a.getAxisModel().axis.scale;if(a){var l,u=this._range;if(t){var c={start:u[0],end:u[1]},h=y(e,a);if(h){var f=h.calculateDataWindow(c).percentInverted;c={start:f[0],end:f[1]}}l=a.calculateDataWindow(c)}else l=a.getWindow();o=[tc(e,0,l,s),tc(e,1,l,s)]}}var d=(0,S.Y6)(this._handleEnds.slice());function p(t){var e=Q.getTransform(r.handles[t].parent,this.group),a=Q.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=Q.applyTransform([d[t]+(0===t?-s:s),this._size[1]/2],e);n[t].setStyle({x:l[0],y:l[1],verticalAlign:i===to?"middle":a,align:i===to?a:"center",text:o[t]})}p.call(this,0),p.call(this,1)},e.prototype._onOverDataInfoTriggerArea=function(t){this._isOverDataInfoTriggerArea=t,this._showDataInfo(t)},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._onActualMoveZoneDrift=function(t,e,r){this.api.getZr().setCursorStyle("grabbing"),this._onDragMove("all",t,e,r)},e.prototype._onActualMoveZoneDragStart=function(t){t.target.attr("cursor","grabbing"),this._showDataInfo(!0)},e.prototype._onActualMoveZoneDragEnd=function(t){t.target.attr("cursor","grab"),this._onDragEnd()},e.prototype._onDragMove=function(t,e,r,n){this._dragging=!0,q.ds(n.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=Q.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._isOverDataInfoTriggerArea||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 J.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],o=this._handleEnds=[r.x,r.x+r.width],a=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();A(0,o,n,0,null!=a.minSpan?(0,S.Cb)(a.minSpan,i,n,!0):null,null!=a.maxSpan?(0,S.Cb)(a.maxSpan,i,n,!0):null),this._range=(0,S.Y6)([(0,S.Cb)(o[0],n,i,!0),(0,S.Cb)(o[1],n,i,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(q.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 ti({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?tl:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=d(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}(w);function tc(t,e,r,n){var i=t.get("labelFormatter"),a=t.get("labelPrecision");(null==a||"auto"===a)&&(a=r.valuePrecision);var s=r.value[e],l=null==s||isNaN(s)?"":(0,B.wl)(n)||(0,B.oY)(n)?n.getLabel({value:Math.round(s)}):isFinite(a)?(0,S.LI)(s,a,!0):s+"";return(0,o.isFunction)(i)?i(s,l):(0,o.isString)(i)?i.replace("{value}",l):l}function th(t){t.registerComponentModel(Z),t.registerComponentView(tu),V(t)}function tf(t){(0,n.Y)(U),(0,n.Y)(th)}},96308(t,e,r){"use strict";r.d(e,{a:()=>tx});var n,i=r(65959),o=r(11307),a=r(4121),s=r(57983),l=r(53471),u={left:0,right:0,top:0,bottom:0},c=["25%","25%"],h="cartesian2d",f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.mergeDefaultAndTheme=function(e,r){var n=(0,s.vs)(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),n&&e.outerBounds&&(0,s.YA)(e.outerBounds,n)},e.prototype.mergeOption=function(e,r){t.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&(0,s.YA)(this.option.outerBounds,e.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:u,outerBoundsContain:"all",outerBoundsClampWidth:"25%",outerBoundsClampHeight:"25%",backgroundColor:l.A.color.transparent,borderWidth:1,borderColor:l.A.color.neutral30},e}(a.A),d=r(47732),p=r(44176),g=r(38300),y=r(13496),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",y.US).models[0]},e.type="cartesian2dAxis",e}(a.A);p.mixin(v,g.L);var m={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:"auto",onZeroAxisIndex:null,lineStyle:{color:l.A.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:l.A.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:l.A.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[l.A.color.backgroundTint,l.A.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:l.A.color.neutral00,borderColor:l.A.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},_=p.merge({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},m),b=p.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:l.A.color.axisMinorSplitLine,width:1}}},m),x=p.merge({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},b),w=p.defaults({logBase:10},b),S={category:_,value:b,time:x,log:w},A=r(79333),k=r(95343),M=r(43764);function T(t,e,r,n){(0,p.each)(k.U,function(o,a){var l=(0,p.merge)((0,p.merge)({},S[a],!0),n,!0),u=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e+"Axis."+a,r}return(0,i.C6)(r,t),r.prototype.mergeDefaultAndTheme=function(t,e){var r=(0,s.ad)(this),n=r?(0,s.vs)(t):{},i=e.getTheme();(0,p.merge)(t,i.get(a+"Axis")),(0,p.merge)(t,this.getDefaultOption()),t.type=C(t),r&&(0,s.YA)(t,n,r)},r.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=A.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.prototype.updateAxisBreaks=function(t){var e=(0,M.D)();return e?e.updateModelAxisBreak(this,t):{breaks:[]}},r.type=e+"Axis."+a,r.defaultOption=l,r}(r);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",C)}function C(t){return t.type||(t.data?"category":"value")}var O=r(41333),I=r(63406),D=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 p.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),p.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}(),E=r(52669),L=r(67003),R=r(48898),P=r(12070),z=["x","y"];function B(t){return("interval"===t.type||"time"===t.type)&&!(0,P.Bd)(t)}var N=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=h,e.dimensions=z,e}return(0,i.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(B(t)&&B(e)){var r=(0,R.Gj)(t,null),n=(0,R.Gj)(e,null),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,E.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 I.Ay(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,L.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,r){if(r=r||[],this._invTransform)return(0,L.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 I.Ay(n,i,o,a)},e}(D),F=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,i.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(71669).A),j=r(19480),H=r(27058),V=r(32936),U=r(17920),W=r(88523),Z=r(95298),q=r(64081),G=r(90063),Y=r(24760),$=r(35561),X=r(38574),K=[[3,1],[0,2]],Q=function(){function t(t,e,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=z,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){for(var e=(0,p.keys)(t),r=[],n=e.length-1;n>=0;n--){var i=t[+e[n]];i.__alignTo?r.push(i):(0,Y.Z0)(i)}(0,p.each)(r,function(t){var e,r;(e=t,r=t.__alignTo,(0,P.Bd)(e.scale)||(0,P.Bd)(r.scale)||r.scale.getTicks().length<2)?(0,Y.Z0)(t):function(t,e){var r,n,i,o,a,s,l,u,c,h=t.scale,f=t.model,d=(0,U.zT)(h,f,f.ecModel,t,null),p=(0,H.F)(h),g=(0,H.F)(e)?e.intervalStub:e,y=p?h.intervalStub:h,v=h.base,m=g.getTicks(),_=g.getTicks({expandToNicedExtent:!0}),b=m.length-1;if(1===b)r=n=0,i=1;else if(2===b){var x=(0,V.NY)(m[0].value-m[1].value),w=(0,V.NY)(m[1].value-m[2].value);r=n=0,x===w?i=2:(i=1,x<w?r=x/w:n=w/x)}else{var S=g.getConfig().interval;r=(1-(m[0].value-_[0].value)/S)%1,n=(1-(_[b].value-m[b].value)/S)%1,i=b-!!r-!!n}var A=d.zoomFixMM,k=A[0]||A[1],M=[d.fixMM[0]||k,d.fixMM[1]||k],T=h.getExtent(),C=y.getExtent(),I=(0,H.Ob)(C,M);function D(t){for(var e=0;e<50&&!t();e++)s=p?s*(0,V.JB)(v,2):(0,H.kH)(s),l=(0,H.u$)(s)}function E(){o=(0,V.LI)(c-s*r,l)}function L(){a=(0,V.LI)(u+s*n,l)}function R(){c=r?(0,V.LI)(o+s*r,l):o}function P(){u=n?(0,V.LI)(a-s*n,l):a}if(M[0]&&M[1]){o=I[0],s=((a=I[1])-o)/(i+r+n);var z=t.getExtent(),B=(0,V.NY)(z[1]-z[0]);l=(0,V.EO)([a,o],B,.5/i),R(),P(),(0,V.YC)(l)&&(s=(0,V.LI)(s,l))}else{var N=I[1]-I[0];s=p?(0,V.JB)((0,V.au)(N),1):(0,V.Cm)(N/i,V.Dx),l=(0,H.u$)(s),M[0]?(o=I[0],D(function(){if(R(),u=(0,V.LI)(c+s*i,l),L(),a>=I[1])return!0})):M[1]?(a=I[1],D(function(){if(P(),c=(0,V.LI)(u-s*i,l),E(),o<=I[0])return!0})):D(function(){c=(0,V.LI)((0,V.ih)(I[0]/s)*s,l),u=(0,V.LI)((0,V.Zr)(I[1]/s)*s,l);var t=(0,V.jn)((u-c)/s);if(t<=i){var e=i-t,r=void 0,n=d.incl0||p;if(n&&0===I[0])r=[0,e];else if(n&&0===I[1])r=[e,0];else{var h=(0,V.Zr)(e/2);r=e%2==0?[h,h]:o+a<I[0]+I[1]?[h,h+1]:[h+1,h]}if(c=(0,V.LI)(c-s*r[0],l),u=(0,V.LI)(u+s*r[1],l),E(),L(),o<=I[0]&&a>=I[1])return!0}})}(0,O.H1)(h,M,C,[o,a],T,{interval:s,intervalCount:i,intervalPrecision:l,niceExtent:[c,u]})}(t,t.__alignTo.scale)})}(0,p.each)(this._axesList,function(t){(0,U.DT)(t,U.ex);var e=t.scale;(0,H.wl)(e)&&e.setSortInfo(t.model.get("categorySortInfo"))}),n(r.x),n(r.y);var i={};(0,p.each)(r.x,function(t){J(r,"y",t,i)}),(0,p.each)(r.y,function(t){J(r,"x",t,i)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,r){var i=(0,s.Lj)(t,e),o=this._rect=(0,s.dV)(t.getBoxLayoutParams(),i.refContainer),a=this._axesMap,l=this._coordsList,h=t.get("containLabel");if(tr(a,o),!r){var f=(g=o,y=l,v=a,m=h,_=e,b=new Z.ts(ta),(0,p.each)(v,function(t){return(0,p.each)(t,function(t){(0,O.Qs)(t.model)&&(t.axisBuilder=(0,j.oj)(g,y,t.model,_,b,!m))})}),b),d=void 0;if(h)n?(n(this._axesList,o),tr(a,o)):d=ti(o.clone(),"axisLabel",null,o,a,f,i);else{var g,y,v,m,_,b,x,w,S,A,k,M,T=(x=t,w=o,S=i,"same"===(k=x.get("outerBoundsMode",!0))?A=w.clone():(null==k||"auto"===k)&&(A=(0,s.dV)(x.get("outerBounds",!0)||u,S.refContainer)),{outerBoundsRect:A,parsedOuterBoundsContain:null==(M=x.get("outerBoundsContain",!0))||"auto"===M||0>(0,p.indexOf)(["all","axisLabel"],M)?"all":M,outerBoundsClamp:[(0,V.LQ)((0,p.retrieve2)(x.get("outerBoundsClampWidth",!0),c["0"]),w.width),(0,V.LQ)((0,p.retrieve2)(x.get("outerBoundsClampHeight",!0),c["1"]),w.height)]}),C=T.outerBoundsRect,I=T.parsedOuterBoundsContain,D=T.outerBoundsClamp;C&&(d=ti(C,I,D,o,a,f,i))}to(o,a,q.fm.determine,null,d,i),(0,p.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,p.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",y.US).models[0],o=t.yAxisModel||n&&n.getReferringComponents("yAxis",y.US).models[0],a=t.gridModel,s=this._coordsList;return n?(e=n.coordinateSystem,0>(0,p.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",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function l(e){return function(r,n){var l,u;if(l=r,u=t,l.getCoordSysModel()===u){var c=r.get("position");"x"===e?"top"!==c&&"bottom"!==c&&(c=o.bottom?"top":"bottom"):"left"!==c&&"right"!==c&&(c=o.left?"right":"left"),o[c]=!0;var h=(0,O.J5)(r),f=new F(e,(0,O.f$)(r,h,!0),[0,0],h,c);f.onBand=(0,O.M2)(f.scale,r),f.inverse=r.get("inverse"),r.axis=f,f.model=r,f.grid=i,f.index=n,i._axesList.push(f),a[e][n]=f,s[e]++}}}this._axesMap=a,(0,p.each)(a.x,function(e,r){(0,p.each)(a.y,function(i,o){var a="x"+r+"y"+o,s=new N(a);s.master=n,s.model=t,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(e),s.addAxis(i)})}),te(a.x),te(a.y)},t.prototype.getTooltipAxes=function(t){var e=[],r=[];return(0,p.each)(this.getCartesians(),function(n){var i=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),o=n.getOtherAxis(i);0>(0,p.indexOf)(e,i)&&e.push(i),0>(0,p.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),(0,p.each)(a._axesList,function(e){(0,U.y)(e,t.dimIdxMap)})}),e.eachSeries(function(t){var e,r;(0,G.m7)({targetModel:t,coordSysType:h,coordSysProvider:function(){var n=(0,j.LR)(t),i=n.xAxisModel,o=n.yAxisModel;return e=i.axis,r=o.axis,i.getCoordSysModel().coordinateSystem.getCartesian(i.componentIndex,o.componentIndex)}}),e&&r&&((0,X.Lb)(e,t,h),(0,X.Lb)(r,t,h))},this),n},t.dimensions=z,t.dimIdxMap=(0,$.io)(z),t}();function J(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)tt(s,o[l])&&(i=o[l]);else for(var u in o)if((0,p.hasOwn)(o,u)&&tt(s,o[u])&&!n[c(o[u])]){i=o[u];break}i&&(n[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function tt(t,e){if(!e)return!1;var r=e.scale,n=(0,O.$h)(r,0,!1),i=e&&"category"!==e.type&&"time"!==e.type&&n!==O.M8;return i&&"auto"===t&&(0,O.P5)(e)&&(i=!1),i}function te(t){for(var e,r=(0,p.keys)(t),n=[],i=r.length-1;i>=0;i--){var o=t[+r[i]];(0,H.rf)(o.scale)&&null==(0,O.PP)(o.model,o.type,!0)&&(o.model.get("alignTicks")&&null==o.model.get("interval")?n.push(o):e=o)}e||(e=n.pop()),e&&(0,p.each)(n,function(t){t.__alignTo=e})}function tr(t,e){(0,p.each)(t.x,function(t){return tn(t,e.x,e.width)}),(0,p.each)(t.y,function(t){return tn(t,e.y,e.height)})}function tn(t,e,r){var n,i,o=[0,r],a=+!!t.inverse;t.setExtent(o[a],o[1-a]),i=(n=t.getExtent())[0]+n[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}function ti(t,e,r,n,i,o,a){to(n,i,q.fm.estimate,e,!1,a);var s=[0,0,0,0];u(0),u(1),c(n,0,NaN),c(n,1,NaN);var l=null==(0,p.find)(s,function(t){return t>0});return(0,W.expandOrShrinkRect)(n,s,!0,!0,r),tr(i,n),l;function u(t){(0,p.each)(i[W.XY[t]],function(e){if((0,O.Qs)(e.model)){var r=o.ensureRecord(e.model),n=r.labelInfoList;if(n)for(var i=0;i<n.length;i++){var a=n[i],s=e.scale.normalize((0,O.NQ)(e.scale,(0,Z.Z0)(a.label).labelInfo.tick));s=1===t?1-s:s,c(a.rect,t,s),c(a.rect,1-t,NaN)}var l=r.nameLayout;if(l){var s=(0,O.SS)(r.nameLocation)?.5:NaN;c(l.rect,t,s),c(l.rect,1-t,NaN)}}})}function c(e,r,n){var i=t[W.XY[r]]-e[W.XY[r]],o=e[W.WH[r]]+e[W.XY[r]]-(t[W.WH[r]]+t[W.XY[r]]);i=h(i,1-n),o=h(o,n);var a=K[r][0],l=K[r][1];s[a]=(0,V.JB)(s[a],i),s[l]=(0,V.JB)(s[l],o)}function h(t,e){return t>0&&!(0,p.eqNaN)(e)&&e>1e-4&&(t/=e),t}}function to(t,e,r,n,i,o){var a=r===q.fm.determine;(0,p.each)(e,function(e){return(0,p.each)(e,function(e){(0,O.Qs)(e.model)&&((0,j.Pd)(e.axisBuilder,t,e.model),e.axisBuilder.build(a?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:i}))})});var s={x:0,y:0};function l(e){s[W.XY[1-e]]=t[W.WH[e]]<=.5*o.refContainer[W.WH[e]]?0:1-e==1?2:1}l(0),l(1),(0,p.each)(e,function(t,e){return(0,p.each)(t,function(t){(0,O.Qs)(t.model)&&(("all"===n||a)&&t.axisBuilder.build({axisName:!0},{nameMarginLevel:s[e]}),a&&t.axisBuilder.build({axisLine:!0}))})})}var ta=function(t,e,r,n,i,o){var a="x"===r.axis.dim?"y":"x";(0,Z.x)(t,e,r,n,i,o),(0,O.SS)(t.nameLocation)||(0,p.each)(e.recordMap[a],function(t){t&&t.labelInfoList&&t.dirVec&&(0,Z.RC)(t.labelInfoList,t.dirVec,n,i)})},ts=r(59528),tl=r(62019),tu=r(65214),tc=(0,y.$r)(),th=["splitArea","splitLine","minorSplitLine","breakArea"],tf=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="CartesianAxisPointer",r}return(0,i.C6)(e,t),e.prototype.render=function(e,r,n,i){this.group.removeAll();var o=this._axisGroup;this._axisGroup=new ts.A,this.group.add(this._axisGroup),(0,O.Qs)(e)&&(this._axisGroup.add(e.axis.axisBuilder.group),p.each(th,function(t){e.get([t,"show"])&&td[t](this,this._axisGroup,e,e.getCoordSysModel(),n)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||W.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,r,n,i))},e.prototype.remove=function(){tc(this).splitAreaColors=null},e.type="cartesianAxis",e}(tu.A),td={splitLine:function(t,e,r,n,i){var o=r.axis;if(!o.scale.isBlank()){var a=r.getModel("splitLine"),s=a.getModel("lineStyle"),l=s.get("color"),u=!1!==a.get("showMinLine"),c=!1!==a.get("showMaxLine");l=p.isArray(l)?l:[l];for(var h=n.coordinateSystem.getRect(),f=o.isHorizontal(),d=0,g=o.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),y=[],v=[],m=s.getLineStyle(),_=0;_<g.length;_++){var b=o.toGlobalCoord(g[_].coord);if((0!==_||u)&&(_!==g.length-1||c)){var x=g[_].tickValue;f?(y[0]=b,y[1]=h.y,v[0]=b,v[1]=h.y+h.height):(y[0]=h.x,y[1]=b,v[0]=h.x+h.width,v[1]=b);var w=d++%l.length,S=new tl.A({anid:null!=x?"line_"+x:null,autoBatch:!0,shape:{x1:y[0],y1:y[1],x2:v[0],y2:v[1]},style:p.defaults({stroke:l[w]},m),silent:!0});W.subPixelOptimizeLine(S.shape,m.lineWidth),e.add(S)}}}},minorSplitLine:function(t,e,r,n,i){var o=r.axis,a=r.getModel("minorSplitLine").getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=o.isHorizontal(),u=o.getMinorTicksCoords();if(u.length)for(var c=[],h=[],f=a.getLineStyle(),d=0;d<u.length;d++)for(var p=0;p<u[d].length;p++){var g=o.toGlobalCoord(u[d][p].coord);l?(c[0]=g,c[1]=s.y,h[0]=g,h[1]=s.y+s.height):(c[0]=s.x,c[1]=g,h[0]=s.x+s.width,h[1]=g);var y=new tl.A({anid:"minor_line_"+u[d][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:f,silent:!0});W.subPixelOptimizeLine(y.shape,f.lineWidth),e.add(y)}},splitArea:function(t,e,r,n,i){!function(t,e,r,n){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=n.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:o,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(u.length){var c=s.length,h=tc(t).splitAreaColors,f=p.createHashMap(),g=0;if(h)for(var y=0;y<u.length;y++){var v=h.get(u[y].tickValue);if(null!=v){g=(v+(c-1)*y)%c;break}}var m=i.toGlobalCoord(u[0].coord),_=a.getAreaStyle();s=p.isArray(s)?s:[s];for(var y=1;y<u.length;y++){var b=i.toGlobalCoord(u[y].coord),x=void 0,w=void 0,S=void 0,A=void 0;i.isHorizontal()?(x=m,w=l.y,S=b-x,A=l.height,m=x+S):(x=l.x,w=m,S=l.width,A=b-w,m=w+A);var k=u[y-1].tickValue;null!=k&&f.set(k,g),e.add(new d.A({anid:null!=k?"area_"+k:null,shape:{x:x,y:w,width:S,height:A},style:p.defaults({fill:s[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%c}tc(t).splitAreaColors=f}}}(t,e,r,n)},breakArea:function(t,e,r,n,i){var o=(0,M.D)(),a=r.axis.scale;o&&"ordinal"!==a.type&&o.rectCoordBuildBreakAxis(e,t,r,n.coordinateSystem.getRect(),i)}},tp=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="xAxis",e}(tf),tg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=tp.type,e}return(0,i.C6)(e,t),e.type="yAxis",e}(tf),ty=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new d.A({shape:t.coordinateSystem.getRect(),style:(0,p.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(o.A),tv={offset:0};function tm(t){t.registerComponentView(ty),t.registerComponentModel(f),t.registerCoordinateSystem("cartesian2d",Q),T(t,"x",v,tv),T(t,"y",v,tv),t.registerComponentView(tp),t.registerComponentView(tg),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var t_=r(3722),tb=r(91241);function tx(t){(0,tb.Y)(tm),(0,tb.Y)(t_.a)}},74979(t,e,r){"use strict";r.d(e,{A:()=>b});var n=r(65959),i=r(30231),o=r(68022),a=r(9019),s=r(44176),l=r(13496),u=(0,l.$r)();a.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},s.noop);var c=r(88523),h={axisPointer:1,tooltip:1,brush:1},f=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){var u=r.zInfo,h=(0,c.retrieveZInfo)(u.component),f=h.z,d=h.zlevel,p={component:u.component,z:f,zlevel:d,z2:(0,s.retrieve2)(u.z2,-1/0)},g=(0,s.extend)({},r.triggerInfo);this._opt=(0,s.defaults)((0,s.extend)({},r),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:p,triggerInfo:g,cursorGrab:"grab",cursorGrabbing:"grabbing"}),null==t&&(t=!0),this._enabled&&this._controlType===t||(this.disable(),this._enabled=!0,(!0===t||"move"===t||"pan"===t)&&(y(e,"mousedown",n,p),y(e,"mousemove",i,p),y(e,"mouseup",o,p)),(!0===t||"scale"===t||"zoom"===t)&&(y(e,"mousewheel",a,p),y(e,"pinch",l,p)))},r.disable=function(){this._enabled&&(this._enabled=!1,v(e,"mousedown",n),v(e,"mousemove",i),v(e,"mouseup",o),v(e,"mousewheel",a),v(e,"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._checkPointer=function(t,e,r){var n=this._opt,i=n.zInfoParsed;if(function(t,e,r){var n=e.getComponentByElement(t.topTarget);if(!n||n===r||h.hasOwnProperty(n.mainType))return!1;var i=n.coordinateSystem;if(!i||i.model===r)return!1;var o=(0,c.retrieveZInfo)(n),a=(0,c.retrieveZInfo)(r);return!(0>=(o.zlevel-a.zlevel||o.z-a.z))}(t,n.api,i.component))return!1;var o=n.triggerInfo,a=o.roamTrigger,s=!1;return"global"===a&&(s=!0),s||(s=o.isInSelf(t,e,r)),s&&o.isInClip&&!o.isInClip(t,e,r)&&(s=!1),s},e.prototype._decideCursorStyle=function(t,e,r,n){var i=t.target;return!i&&this._checkPointer(t,e,r)?this._opt.cursorGrab:n?i&&i.cursor||"default":void 0},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(o.W5(t)||d(t))){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var r=t.offsetX,n=t.offsetY;this._checkPointer(t,r,n)&&(this._x=r,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var e=this._zr;if(!("pinch"===t.gestureEvent||u(e).globalPan||d(t))){var r=t.offsetX,n=t.offsetY;if(!this._dragging||!_("moveOnMouseMove",t,this._opt)){var i=this._decideCursorStyle(t,r,n,!1);i&&e.setCursorStyle(i);return}e.setCursorStyle(this._opt.cursorGrabbing);var a=this._x,s=this._y,l=r-a,c=n-s;this._x=r,this._y=n,this._opt.preventDefaultMouseMove&&o.ds(t.event),t.__ecRoamConsumed=!0,m(this,"pan","moveOnMouseMove",t,{dx:l,dy:c,oldX:a,oldY:s,newX:r,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!d(t)){var e=this._zr;if(!o.W5(t)){this._dragging=!1;var r=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);r&&e.setCursorStyle(r)}}},e.prototype._mousewheelHandler=function(t){if(!d(t)){var e=_("zoomOnMouseWheel",t,this._opt),r=_("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;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:n>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(r){var l=Math.abs(n);this._checkTriggerMoveZoom(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||d(t))){var e=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,e,r,n,i){t._checkPointer(n,i.originX,i.originY)&&(o.ds(n.event),n.__ecRoamConsumed=!0,m(t,e,r,n,i))},e}(i.A);function d(t){return t.__ecRoamConsumed}var p=(0,l.$r)();function g(t){var e=p(t);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function y(t,e,r,n){for(var i,o,a,s=g(t).roam,l=s[e]=s[e]||[],u=0;u<l.length;u++){var c=l[u].zInfoParsed;if(0>=(c.zlevel-n.zlevel||c.z-n.z||c.z2-n.z2))break}l.splice(u,0,{listener:r,zInfoParsed:n}),i=t,o=e,(a=g(i)).uniform[o]||i.on(o,a.uniform[o]=function(t){var e=a.roam[o];if(e)for(var r=0;r<e.length;r++)e[r].listener(t)})}function v(t,e,r){for(var n=g(t).roam[e]||[],i=0;i<n.length;i++)if(n[i].listener===r){n.splice(i,1),n.length||function(t,e){var r=g(t).uniform;r[e]&&(t.off(e,r[e]),r[e]=null)}(t,e);return}}function m(t,e,r,n,i){i.isAvailableBehavior=(0,s.bind)(_,null,r,n),t.trigger(e,i)}function _(t,e,r){var n=r[t];return!t||n&&(!(0,s.isString)(n)||e.event[n+"Key"])}var b=f},95838(t,e,r){"use strict";var n=r(65959),i=r(44176),o=r(80812),a=r(47732),s=r(81124),l=r(36438),u=r(57983),c=r(4121),h=r(11307),f=r(58742),d=r(53471),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:"center",top:d.A.size.m,backgroundColor:d.A.color.transparent,borderColor:d.A.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:d.A.color.primary},subtextStyle:{fontSize:12,color:d.A.color.quaternary}},e}(c.A),g=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"),d=t.get("textAlign"),p=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.Lj)(t,r),k=(0,u.dV)(S,A.refContainer,t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?k.x+=k.width:"center"===d&&(k.x+=k.width/2)),p||("center"===(p=t.get("top")||t.get("bottom"))&&(p="middle"),"bottom"===p?k.y+=k.height:"middle"===p&&(k.y+=k.height/2),p=p||"top"),n.x=k.x,n.y=k.y,n.markRedraw();var M={align:d,verticalAlign:p};g.setStyle(M),m.setStyle(M),w=n.getBoundingRect();var T=k.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var O=new a.A({shape:{x:w.x-T[3],y:w.y-T[0],width:w.width+T[1]+T[3],height:w.height+T[0]+T[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});n.add(O)}},e.type="title",e}(h.A);function y(t){t.registerComponentModel(p),t.registerComponentView(g)}r.d(e,{a:()=>y})},3935(t,e,r){"use strict";r.d(e,{a:()=>Q});var n=r(3722),i=r(91241),o=r(65959),a=r(4121),s=r(53471),l=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|mousewheel",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:s.A.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:s.A.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:s.A.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:s.A.color.tertiary,fontSize:14}},e}(a.A),u=r(44176),c=r(84957),h=r(68022),f=r(89950),d=r(58742);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function g(t){if(c.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 y=g(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),v=g(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function m(t,e){if(!t)return e;e=(0,d.Cb)(e,!0);var r=t.indexOf(e);return(t=-1===r?e:"-"+t.slice(0,r)+"-"+e).toLowerCase()}var _=r(98423),b=m(v,"transition"),x=m(y,"transform"),w="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(c.A.transform3dSupported?"will-change:transform;":"");function S(t,e,r){var n=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!c.A.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var o=c.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+n+","+i+(o?",0":"")+")";return r?"top:0;left:0;"+x+":"+a+";":[["top",0],["left",0],[y,a]]}function A(t,e,r,n,i){var o=e&&e.painter;if(r){var a=o&&o.getViewportRoot();a&&(0,f.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 k=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,c.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,u.isString)(i)?document.querySelector(i):(0,u.isDom)(i)?i:(0,u.isFunction)(i)&&i(t.getDom()));A(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,h.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._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r,n,i,o,a,s,l,h,f,p,g,y,v,m,A,k,M,T,C,O,I,D,E,L,R=this.el,P=R.style,z=this._styleCoord;R.innerHTML?P.cssText=w+(r=!this._firstShow,n=this._longHide,i=this._enableDisplayTransition,o=[],a=t.get("transitionDuration"),s=t.get("backgroundColor"),l=t.get("shadowBlur"),h=t.get("shadowColor"),f=t.get("shadowOffsetX"),p=t.get("shadowOffsetY"),g=t.getModel("textStyle"),y=(0,_.CO)(t,"html"),v=f+"px "+p+"px "+l+"px "+h,o.push("box-shadow:"+v),r&&a>0&&o.push((m="cubic-bezier(0.23,1,0.32,1)",A="",k="",i&&(k="opacity"+(A=" "+a/2+"s "+m)+",visibility"+A),n||(A=" "+a+"s "+m,k+=(k.length?",":"")+(c.A.transformSupported?""+x+A:",left"+A+",top"+A)),b+":"+k)),s&&o.push("background-color:"+s),(0,u.each)(["width","color","radius"],function(e){var r="border-"+e,n=(0,d.Cb)(r),i=t.get(n);null!=i&&o.push(r+":"+i+("color"===e?"":"px"))}),o.push((M=[],T=g.get("fontSize"),(C=g.getTextColor())&&M.push("color:"+C),M.push("font:"+g.getFont()),O=(0,u.retrieve2)(g.get("lineHeight"),Math.round(3*T/2)),T&&M.push("line-height:"+O+"px"),I=g.get("textShadowColor"),D=g.get("textShadowBlur")||0,E=g.get("textShadowOffsetX")||0,L=g.get("textShadowOffsetY")||0,I&&D&&M.push("text-shadow:"+E+"px "+L+"px "+D+"px "+I),(0,u.each)(["decoration","align"],function(t){var e=g.get(t);e&&M.push("text-"+t+":"+e)}),M.join(";"))),null!=y&&o.push("padding:"+(0,d.QX)(y).join("px ")+"px"),o.join(";")+";")+S(z[0],z[1],!0)+"border-color:"+(0,d.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):P.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,u.isString)(i)&&"item"===r.get("trigger")&&!p(r)&&(a=function(t,e,r){if(!(0,u.isString)(r)||"inside"===r)return"";var n,i,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,d.he)(e);var s=n="left"===(n=r)?"right":"right"===n?"left":"top"===n?"bottom":"top",l=Math.max(1.5*Math.round(a),6),c="",h=x+":";(0,u.indexOf)(["left","right"],s)>-1?(c+="top:50%",h+="translateY(-50%) rotate("+(i="left"===s?-225:-45)+"deg)"):(c+="left:50%",h+="translateX(-50%) rotate("+(i="top"===s?225:45)+"deg)");var f=i*Math.PI/180,p=l+a,g=p*Math.abs(Math.cos(f))+p*Math.abs(Math.sin(f));c+=";"+s+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-p)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",c+";"+h+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(r,n,i)),(0,u.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,u.isArray)(t)||(t=[t]);for(var s=0;s<t.length;s++)(0,u.isDom)(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}},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(A(r,this._zr,this._container,t,e),null!=r[0]&&null!=r[1]){var n=this.el.style,i=S(r[0],r[1]);(0,u.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;this._enableDisplayTransition?(e.visibility="hidden",e.opacity="0"):e.display="none",c.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,u.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._zr;(0,f.Yn)(t&&t.painter&&t.painter.getViewportRoot(),this._container);var e=this.el;if(e){e.onmouseenter=e.onmousemove=e.onmouseleave=null;var r=e.parentNode;r&&r.removeChild(e)}this.el=this._container=null},t}(),M=r(80812),T=r(87827),C=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),D(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;u.isObject(t)&&(0,T.$8)(""),this.el&&this._zr.remove(this.el);var a=r.getModel("textStyle");this.el=new M.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:a.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:(0,_.CO)(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),u.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=r.get(t)}),u.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),r=I(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;D(n,this._zr,t,e),t=n[0],e=n[1];var i=r.style,o=O(i.borderWidth||0),a=I(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(u.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 O(t){return Math.max(0,t)}function I(t){var e=O(t.shadowBlur||0),r=O(t.shadowOffsetX||0),n=O(t.shadowOffsetY||0);return{left:O(e-r),right:O(e+r),top:O(e-n),bottom:O(e+n)}}function D(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(32936),L=r(47732),R=r(81147),P=r(57983),z=r(33870),B=r(52874),N=r(41333),F=r(54220),j=r(13496),H=r(11307),V=r(74900),U=r(81124),W=r(90613),Z=r(64485),q=r(76525),G=new L.A({shape:{x:-1,y:-1,width:2,height:2}}),Y=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(!c.A.node&&e.getDom()){var r=t.getComponent("tooltip"),n=this._renderMode=(0,j.XJ)(r.get("renderMode"));this._tooltipContent="richText"===n?new C(e):new k(e,{appendTo:r.get("appendToBody",!0)?"body":r.get("appendTo",!0)})}},e.prototype.render=function(t,e,r){if(!c.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,q.N)(this,"_updatePosition",50,"fixRate"):(0,q.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");B.k("itemTooltip",this._api,(0,u.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("axis"!==t.get("trigger")&&(this._lastDataByCoordSys=null,this._cbParamsList=null),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&&!c.A.node&&r.getDom()){var i=X(n,r);this._ticket="";var o=n.dataByCoordSys,a=function(t,e,r){var n,i=(0,j.HB)(t).queryOptionMap,o=i.keys()[0];if(o&&"series"!==o){var a=(0,j.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,U.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)G.x=n.x,G.y=n.y,G.update(),(0,U.z)(G).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:G},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 l=(0,R.A)(n,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,target:l.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,this._cbParamsList=null,n.from!==this.uid&&this._hide(X(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"===$([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,U.z)(r).ssrType)return;this._lastDataByCoordSys=null,this._cbParamsList=null,(0,Z.R)(r,function(t){if(t.tooltipDisabled)return n=i=null,!0;n||i||(null!=(0,U.z)(t).dataIndex?n=t:null!=(0,U.z)(t).tooltipConfig&&(i=t))},!0),n?this._showSeriesItemTooltip(t,n,e):i?this._showComponentItemTooltip(t,i,e):this._hide(e)}else this._lastDataByCoordSys=null,this._cbParamsList=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var r=t.get("showDelay");e=(0,u.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=$([e.tooltipOption],n),a=this._renderMode,s=[],l=(0,_.Qx)("section",{blocks:[],noHeader:!0}),c=[],h=new _.lb;(0,u.each)(t,function(t){(0,u.each)(t.dataByAxis,function(t){var e=r.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,o=e.axis,f=o.scale.parse(i);if(e&&null!=i){var p=F._F(i,o,r,t.seriesDataIndices,t.valueLabelOpt),g=(0,_.Qx)("section",{header:p,noHeader:!(0,u.trim)(p),sortBlocks:!0,blocks:[]});l.blocks.push(g),(0,u.each)(t.seriesDataIndices,function(i){var o=r.getSeriesByIndex(i.seriesIndex),l=i.dataIndexInside,y=o.getDataParams(l);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=N.Dt(e.axis,{value:f}),y.axisValueLabel=p,y.marker=h.makeTooltipMarker("item",(0,d.he)(y.color),a);var v=(0,W.L)(o.formatTooltip(l,!0,null)),m=v.frag;if(m){var _=$([o],n).get("valueFormatter");g.blocks.push(_?(0,u.extend)({valueFormatter:_},m):m)}v.text&&c.push(v.text),s.push(y)}})}})}),l.blocks.reverse(),c.reverse();var f=e.position,p=o.get("order"),g=(0,_.Yu)(l,h,a,p,r.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var y="richText"===a?"\n\n":"<br/>",v=c.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,f,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",i[0],i[1],f,null,h)})},e.prototype._showSeriesItemTooltip=function(t,e,r){var n=this._ecModel,i=(0,U.z)(e),o=i.seriesIndex,a=n.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,c=i.dataType,h=s.getData(c),f=this._renderMode,p=t.positionDefault,g=$([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),y=g.get("trigger");if(null==y||"item"===y){var v=s.getDataParams(l,c),m=new _.lb;v.marker=m.makeTooltipMarker("item",(0,d.he)(v.color),f);var b=(0,W.L)(s.formatTooltip(l,!1,c)),x=g.get("order"),w=g.get("valueFormatter"),S=b.frag,A=S?(0,_.Yu)(w?(0,u.extend)({valueFormatter:w},S):S,m,f,x,n.get("useUTC"),g.get("textStyle")):b.text,k="item_"+s.name+"_"+l;this._showOrMove(g,function(){this._showTooltipContent(g,A,v,k,t.offsetX,t.offsetY,t.position,t.target,m)}),r({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,r){var n="html"===this._renderMode,i=(0,U.z)(e),o=i.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,u.isString)(o)){var s=o;o={content:s,formatter:s},a=!0}a&&n&&o.content&&((o=(0,u.clone)(o)).content=(0,f.Me)(o.content));var l=[o],c=this._ecModel.getComponent(i.componentMainType,i.componentIndex);c&&l.push(c),l.push({formatter:o.content});var h=t.positionDefault,d=$(l,this._tooltipModel,h?{position:h}:null),p=d.get("content"),g=Math.random()+"",y=new _.lb;this._showOrMove(d,function(){var r=(0,u.clone)(d.get("formatterParams")||{});this._showTooltipContent(d,p,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,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var f=e,p=this._getNearestPoint([i,o],r,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)).color;if(h)if((0,u.isString)(h)){var g=t.ecModel.get("useUTC"),y=(0,u.isArray)(r)?r[0]:r,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=h,v&&(f=(0,V.GP)(y.axisValue,f,g)),f=(0,d.YK)(f,r,!0)}else if((0,u.isFunction)(h)){var m=(0,u.bind)(function(e,n){e===this._ticket&&(c.setContent(n,l,t,p,a),this._updatePosition(t,a,i,o,c,r,s))},this);this._ticket=n,f=h(r,n,m)}else f=h;c.setContent(f,l,t,p,a),c.show(t,p),this._updatePosition(t,a,i,o,c,r,s)}},e.prototype._getNearestPoint=function(t,e,r,n,i){return"axis"===r||(0,u.isArray)(e)?{color:n||i}:(0,u.isArray)(e)?void 0:{color:n||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,r,n,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=i.getSize(),h=t.get("align"),f=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,u.isFunction)(e)&&(e=e([r,n],o,i.el,d,{viewSize:[s,l],contentSize:c.slice()})),(0,u.isArray)(e))r=(0,E.lo)(e[0],s),n=(0,E.lo)(e[1],l);else if((0,u.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var y=(0,P.dV)(g,{width:s,height:l});r=y.x,n=y.y,h=null,f=null}else if((0,u.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,k,M,T,v=(m=r,_=n,b=i,x=s,w=l,S=h?null:20,A=f?null:20,M=(k=b.getSize())[0],T=k[1],null!=S&&(m+M+S+2>x?m-=M+S:m+=S),null!=A&&(_+T+A>w?_-=T+A:_+=A),[m,_]);r=v[0],n=v[1]}if(h&&(r-=K(h)?c[0]/2:"right"===h?c[0]:0),f&&(n-=K(f)?c[1]/2:"bottom"===f?c[1]:0),p(t)){var C,O,I,D,L,R,z,B,v=(C=r,O=n,I=i,D=s,L=l,z=(R=I.getSize())[0],B=R[1],C=Math.min(C+z,D)-z,O=Math.min(O+B,L)-B,[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,u.each)(r,function(r,o){var a=r.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(i=i&&a.length===s.length)&&(0,u.each)(a,function(t,r){var o=s[r]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&(0,u.each)(a,function(t,e){var r=l[e];i=i&&t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex}),n&&(0,u.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,this._cbParamsList=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!c.A.node&&e.getDom()&&((0,q.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),B.h("itemTooltip",e),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},e.type="tooltip",e}(H.A);function $(t,e,r){var n,i=e.ecModel;r?(n=new z.A(r,i,i),n=new z.A(e.option,n,i)):n=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof z.A&&(a=a.get("tooltip",!0)),(0,u.isString)(a)&&(a={formatter:a}),a&&(n=new z.A(a,n,i)))}return n}function X(t,e){return t.dispatchAction||(0,u.bind)(e.dispatchAction,e)}function K(t){return"center"===t||"middle"===t}function Q(t){(0,i.Y)(n.a),t.registerComponentModel(l),t.registerComponentView(Y),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},u.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},u.noop)}},98423(t,e,r){"use strict";var n=r(89950),i=r(58742),o=r(44176),a=r(87191),s=r(32936),l=r(53471);function u(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,n.Me)(e+"")+"px"}function c(t,e){var r=t.color||l.A.color.tertiary,i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||l.A.color.secondary,s=t.fontSize||14,u=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)(u+"")}:{nameStyle:{fontSize:i,fill:r,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var h=[0,10,20,30],f=["","\n","\n\n","\n\n\n"];function d(t,e){return e.type=t,e}function p(t){return"section"===t.type}function g(t,e,r,s){var l,d=e.noHeader,v={html:h[l=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:f[l]},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)?g:y)(i?(0,o.extend)((0,o.extend)({},t),{valueFormatter:i}):t,r,n>0?v.html:0,s);null!=a&&b.push(a)});var k="richText"===t.renderMode?b.join(v.richText):m(s,b.join(""),d?r:v.html);if(d)return k;var M=(0,i.yC)(e.header,"ordinal",t.useUTC),T=c(s,t.renderMode).nameStyle,C=u(s);return"richText"===t.renderMode?_(t,M,T)+v.richText+k:m(s,'<div style="'+T+";"+C+';">'+(0,n.Me)(M)+"</div>"+k,r)}function y(t,e,r,a){var s=t.renderMode,u=e.noName,h=e.noValue,f=!e.markerType,d=e.name,p=t.useUTC,g=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)(I)?I[e]:I,p)})};if(!u||!h){var y,v,b,x,w,S,A,k,M,T,C=f?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||l.A.color.secondary,s),O=u?"":(0,i.yC)(d,"ordinal",p),I=e.valueType,D=h?[]:g(e.value,e.rawDataIndex),E=!f||!u,L=!f&&u,R=c(a,s),P=R.nameStyle,z=R.valueStyle;return"richText"===s?(f?"":C)+(u?"":_(t,O,P))+(h?"":(y=t,v=D,b=E,x=L,w=[z],b&&w.push({padding:[0,0,0,x?10:20],align:"right"}),y.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(v)?v.join(" "):v,w))):m(a,(f?"":C)+(u?"":(S=O,'<span style="'+P+";"+(f?"":"margin-left:2px")+'">'+(0,n.Me)(S)+"</span>"))+(h?"":(A=D,k=E,M=L,T=z,A=(0,o.isArray)(A)?A:[A],'<span style="'+(k?"float:right;margin-left:"+(M?"10px":"20px"):"")+";"+T+'">'+(0,o.map)(A,function(t){return(0,n.Me)(t)}).join(" ")+"</span>")),r)}}function v(t,e,r,n,i,o){if(t)return(p(t)?g:y)({useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function m(t,e,r){return'<div style="margin: '+r+"px 0 0;"+u(t)+';">'+e+'<div style="clear:both"></div></div>'}function _(t,e,r){return t.markupStyleCreator.wrapRichTextStyle(e,r)}function b(t,e){var r=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.he)(r)}function x(t,e){var r=t.get("padding");return null!=r?r:"richText"===e?[8,10]:10}var w=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}();r.d(e,{CO:()=>x,Qx:()=>d,Yu:()=>v,aw:()=>b,lb:()=>w})},71669(t,e,r){"use strict";var n=r(44176),i=r(32936),o=r(64081),a=r(27058),s=r(61858),l=r(41333),u=[0,1];function c(t){var e=t.getExtent();if(t.onBand){var r=(e[1]-e[0])/t.scale.count()/2;e[0]+=r,e[1]-=r}return e}e.A=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(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},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.scale;return t=r.normalize(r.parse(t)),(0,i.Cb)(t,u,c(this),e)},t.prototype.coordToData=function(t,e){var r=(0,i.Cb)(t,c(this),u,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),r=(0,o.MI)(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),i=(0,n.map)(r.ticks,function(t){return{coord:this.dataToCoord((0,l.NQ)(this.scale,t)),tick:t}},this),a=function(t,e,r){var i=e.length;if(!t.onBand||r||!i)return!1;var o=(0,s.D)(t).w;if(!o)return!1;(0,n.each)(e,function(t){t.coord-=o/2});var a=t.scale.getExtent(),l=e[i-1];return l.tick.offInterval&&e.pop(),e.push({coord:l.coord+o,tick:{value:a[1]+1}}),!0}(this,i,e.get("alignWithLabel"));return(0,n.map)(i,function(t){return{coord:t.coord,tickValue:t.tick.value,onBand:a}})},t.prototype.getMinorTicksCoords=function(){if((0,a.wl)(this.scale))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(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.vI)(this,t).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){return(0,s.D)(this,{min:1}).w},t.prototype.calculateCategoryInterval=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.EO)(this,t)},t}()},71885(t,e,r){"use strict";var n=r(65959),i=r(63406),o=r(97778),a=r(52669),s=r(67003),l=o.Ay;function u(t,e,r){var n=l.call(this)||this;n.type="view",n.dimensions=["x","y"],n.invertY=t,n.lgCt=e,n.lgGeo=r;var i=n.trans=[];return i[0]=(0,o.Rd)(),i[1]=(0,o.Rd)(),i[2]=(0,o.Rd)(),n.mtRaw=(0,a.create)(),n.mtRawInv=(0,a.create)(),n.mtOverall=(0,a.create)(),n.mtOverallInv=(0,a.create)(),n.zoom=1,n}(0,n.C6)(u,l),u.prototype.getBoundingRect=function(){var t;return t=this,(0,i.iZ)((0,i.r_)(),t.dataRect)},u.prototype.getViewRect=function(){var t;return t=this,(0,i.iZ)((0,i.r_)(),t.viewRect)},u.prototype.getRoamTransform=function(){return(0,o.Ed)(this.trans[1])},u.prototype.dataToPoint=function(t,e,r){var n=e?this.mtRaw:this.mtOverall;return r=r||[],n?(0,s.applyTransform)(r,t,n):(0,s.copy)(r,t)},u.prototype.pointToData=function(t,e,r){r=r||[];var n=this.mtOverallInv;return n?(0,s.applyTransform)(r,t,n):(0,s.copy)(r,t)},u.prototype.convertToPixel=function(t,e,r){var n=f(e);return n===this?n.dataToPoint(r):null},u.prototype.convertFromPixel=function(t,e,r){var n=f(e);return n===this?n.pointToData(r):null},u.prototype.containPoint=function(t){return(0,i.iZ)(c,this.dataRect),(0,i.zQ)(c,c,this.mtOverall),(0,i.rd)(c,t[0],t[1])},u.dimensions=["x","y"];var c=(0,i.r_)();function h(t){return t.zoom}function f(t){var e=t.seriesModel;return e?e.coordinateSystem:null}function d(t,e){if(e){var r=e.min||0;t=Math.max(Math.min(e.max||1/0,t),r)}return t}(0,i.r_)(),(0,o.Rd)(),(0,o.Rd)(),r.d(e,{T$:()=>d,_:()=>h})},61858(t,e,r){"use strict";var n=r(44176),i=r(27058),o=r(32936),a=r(38574),s=r(48898);function l(t,e){e=e||{};var r,l,u,c,h,f,d,p,g,y,v,m,_,b={w:NaN,w2:NaN},x=t.scale,w=e.fromStat,S=e.min,A=(0,s.N2)(x);(0,o.YC)(A)||(A=NaN);var k=t.getExtent(),M=(0,o.NY)(k[1]-k[0]);return(0,i.wl)(x)?(r=b,l=t,u=A,c=M,0===(f=u+ +!!(h=l.onBand))&&(f=1),r.w=c/f,!h&&u&&c&&(r.w2=r.w*u/c)):w&&(d=b,p=t,g=A,y=M,v=w,m=!1,_=-1/0,(0,n.each)(v.key?[(0,a.C6)(p,v.key)]:(0,a.O8)(p,v.sers||[]),function(t){var e=t.liPosMinGap;null!=e&&(e>0?(e>_&&(_=e),m=!1):e===a.e2&&(m=!0))}),(0,o.YC)(g)&&g>0&&(0,o.YC)(_)?(d.w=y/g*_,d.w2=_):m&&(d.w=.8*y,d.w2=d.w*g/y)),null!=S&&(b.w=(0,o.YC)(b.w)?(0,o.JB)(S,b.w):S),b}r.d(e,{D:()=>l})},95343(t,e,r){"use strict";var n={value:1,category:1,time:1,log:1};r.d(e,{U:()=>n})},41333(t,e,r){"use strict";r.d(e,{M8:()=>I,f$:()=>M,J5:()=>k,n8:()=>D,Dt:()=>R,wq:()=>B,j2:()=>P,$h:()=>T,NQ:()=>V,M2:()=>U,SS:()=>N,P5:()=>E,ry:()=>L,PP:()=>j,Qs:()=>F,PJ:()=>z,H1:()=>H});var n=r(44176),i=r(65959),o=r(65387),a=r(79333),s=r(32936),l=r(48898),u=r(27058),c=function(t){function e(r){var i=t.call(this)||this;i.type="ordinal",i.parse=e.parse,(0,l.Z0)(i,e.decoratedMethods);var o=r.ordinalMeta;o||(o=new a.A({})),(0,n.isArray)(o)&&(o=new a.A({categories:(0,n.map)(o,function(t){return(0,n.isObject)(t)?t.value:t})})),i._ordinalMeta=o;var s=(0,l.zk)(null,null,r.extent||[0,o.categories.length-1]);return i._mapper=s.mapper,(0,l.w2)(i,s.mapper),i}return(0,i.C6)(e,t),e.parse=function(t){return null==t?t=NaN:(0,n.isString)(t)?null==(t=this._ordinalMeta.getOrdinal(t))&&(t=NaN):t=(0,s.jn)(t),t},e.prototype.getTicks=function(){var t=[];return(0,u.gQ)(this,0,function(e){t.push(e)}),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=(0,s.rp)(o,e.length);i<a;++i)n[r[i]=e[i]]=i;for(var l=0;i<o;++i){for(;null!=n[l];)l++;r[i]=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(){var t=(0,l.nl)(this._mapper);return t[1]-t[0]+1},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.type="ordinal",e.decoratedMethods={needTransform:function(){return this._mapper.needTransform()},contain:function(t){return this._mapper.contain(this._getTickNumber(t))&&t>=0&&t<this._ordinalMeta.categories.length},normalize:function(t){return this._mapper.normalize(this._getTickNumber(t))},scale:function(t){return this.getRawOrdinalNumber((0,s.jn)(this._mapper.scale(t)))},transformIn:function(t,e){return this._mapper.transformIn(this._getTickNumber(t),e)},transformOut:function(t,e){return this.getRawOrdinalNumber(this._mapper.transformOut(t,e))},getExtent:function(){return this._mapper.getExtent()},getExtentUnsafe:function(t,e){return this._mapper.getExtentUnsafe(t,e)},setExtent:function(t,e){return this._mapper.setExtent(t,e)},setExtent2:function(t,e,r){return this._mapper.setExtent2(t,e,r)}},e}(o.A);o.A.registerClass(c);var h=r(58742),f=r(12070),d=r(1628),p=function(t){function e(r){var n=t.call(this)||this;n.type="interval",n.parse=e.parse,r=r||{};var i=(0,f.yM)(n,r),o=(0,l.zk)(n,i,null);return n.brk=o.brk,n._cfg={interval:0,intervalPrecision:2,intervalCount:void 0,niceExtent:void 0},n}return(0,i.C6)(e,t),e.parse=function(t){return null==t||""===t?NaN:Number(t)},e.prototype.getConfig=function(){return(0,n.clone)(this._cfg)},e.prototype.setConfig=function(t){var e=(0,l.nl)(this);this._cfg=t=(0,n.clone)(t),null==t.niceExtent&&(t.niceExtent=e.slice()),null==t.intervalPrecision&&(t.intervalPrecision=(0,u.u$)(t.interval))},e.prototype.getTicks=function(t){t=t||{};var e=this._cfg,r=e.interval,n=(0,l.nl)(this),i=e.niceExtent,o=e.intervalPrecision,a=(0,f.mn)(),u=this.brk,c=a&&u,h=[];if(!r)return h;if("only_break"===t.breakTicks&&c)return a.addBreaksToTicks(h,u.breaks,n),h;n[0]<i[0]&&h.push({value:t.expandToNicedExtent?(0,s.LI)(i[0]-r,o):n[0]});for(var d=function(t,e){return(0,s.jn)((e-t)/r)},p=e.intervalCount,g=i[0],y=0;;y++){if(null==p){if(g>i[1]||!isFinite(g)||!isFinite(i[1]))break}else{if(y>p)break;g=(0,s.rp)(g,i[1]),y===p&&(g=i[1])}if(h.push({value:g}),g=(0,s.LI)(g+r,o),u){var v=u.calcNiceTickMultiple(g,d);v>=0&&(g=(0,s.LI)(g+v*r,o))}if(h.length>0&&g===h[h.length-1].value)break;if(h.length>3e3)return[]}var m=h.length?h[h.length-1].value:i[1];return n[1]>m&&h.push({value:t.expandToNicedExtent?(0,s.LI)(m+r,o):n[1]}),c&&a.pruneTicksByBreak(t.pruneByBreak,h,u.breaks,function(t){return t.value},e.interval,n),c&&"none"!==t.breakTicks&&a.addBreaksToTicks(h,u.breaks,n),h},e.prototype.getMinorTicks=function(t){return(0,d.a)(this,t,(0,f.DL)(this),this._cfg.interval)},e.prototype.getLabel=function(t,e){if(null==t)return"";var r=e&&e.precision;null==r?r=(0,s.XV)(t.value)||0:"auto"===r&&(r=this._cfg.intervalPrecision);var n=(0,s.LI)(t.value,r,!0);return(0,h.ob)(n)},e.type="interval",e}(o.A);o.A.registerClass(p);var g=r(76092),y=r(13496),v=function(t){function e(r){var n=t.call(this)||this;n.type="log",n.parse=p.parse,n.base=r.logBase||10;var i=[],o=[],a=n._lookup={from:i,to:o};i[0]=i[1]=o[0]=o[1]=NaN,(0,l.Z0)(n,e.mapperMethods);var s=(0,f.mn)(),u=r.breakOption,c={lookup:a};return s&&s.parseAxisBreakOptionInwardTransform(u,n,{noNegative:!0},2,c),n.powStub=new p({breakParsed:c.original}),n.intervalStub=new p({breakParsed:c.transformed}),(0,l.w2)(n,n.intervalStub),n}return(0,i.C6)(e,t),e.prototype.getTicks=function(t){var e=this.base,r=this.powStub,i=(0,f.mn)(),o=this.intervalStub,a={lookup:{from:o.getExtent(),to:r.getExtent()}};return(0,n.map)(o.getTicks(t||{}),function(t){var n,o=t.value,s=(0,u.Mj)(o,e,a);if(i){var l=i.getTicksBreakOutwardTransform(this,t,(0,f.DL)(r),this._lookup);l&&(n=l.vBreak,s=l.tickVal)}return{value:s,break:n}},this)},e.prototype.getMinorTicks=function(t){return(0,d.a)(this,t,(0,f.DL)(this.powStub),this.intervalStub.getConfig().interval)},e.prototype.getLabel=function(t,e){return this.intervalStub.getLabel(t,e)},e.type="log",e.mapperMethods={needTransform:function(){return!0},normalize:function(t){return this.intervalStub.normalize((0,u.qe)(t,this.base))},scale:function(t){return(0,u.Mj)(this.intervalStub.scale(t),this.base,null)},transformIn:function(t,e){return t=(0,u.qe)(t,this.base),e&&e.depth===l.QO?t:this.intervalStub.transformIn(t,e)},transformOut:function(t,e){var r=e?e.depth:null;return m.depth=r,_.lookup=this._lookup,(0,u.Mj)(r===l.QO?t:this.intervalStub.transformOut(t,m),this.base,_)},contain:function(t){return this.powStub.contain(t)},setExtent:function(t,e){this.setExtent2(l.fU,t,e)},setExtent2:function(t,e,r){if((0,y.Xe)(e,r)&&!(e<=0)&&!(r<=0)){var n=b,i=b;if(t===l.fU){var o=this._lookup;n=o.to,i=o.from}this.powStub.setExtent2(t,n[0]=e,n[1]=r);var a=this.base;this.intervalStub.setExtent2(t,i[0]=(0,u.qe)(e,a),i[1]=(0,u.qe)(r,a))}},getFilter:function(){return{g:0}},sanitize:function(t,e){return(0,y.Xe)(e[0],e[1])&&(0,s.YC)(t)&&t<=0&&(t=e[0]),t},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(t,e){return null===e?this.powStub.getExtentUnsafe(t,null):this.intervalStub.getExtentUnsafe(t,e)}},e}(o.A);o.A.registerClass(v);var m={},_={},b=[],x=r(95343),w=r(98846),S=r(74900),A=(0,y.$r)();function k(t){var e=t.get("type");return null!=e&&(n.hasOwn(x.U,e)||o.A.getClass(e))||(e="value"),e}function M(t,e,r){var n;switch((0,f.mn)()&&(n=j(t,e,r)),e){case"category":return new c({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:(0,y.X1)()});case"time":return new g.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC"),breakOption:n});case"log":return new v({logBase:t.get("logBase"),breakOption:n});case"value":return new p({breakOption:n});default:return new(o.A.getClass(e)||p)({})}}function T(t,e,r){var n=r?(0,l.Gj)(t,null):t.getExtentUnsafe(l.fU,null),i=n[0],o=n[1];return(0,y.Xe)(i,o)?i===e||o===e?O:i<e&&o>e?C:I:I}var C=1,O=2,I=3;function D(t){A(t).noOnMyZero=!0}function E(t){return A(t).noOnMyZero}function L(t){var e=t.getLabelModel().get("formatter");if("time"===t.type){var r=(0,S._O)(e);return function(e,n){return t.scale.getFormattedLabel(e,n,r)}}if(n.isString(e))return function(r){var n=t.scale.getLabel(r);return e.replace("{value}",null!=n?n:"")};if(!n.isFunction(e))return function(e){return t.scale.getLabel(e)};if("category"===t.type)return function(r,n){return e(R(t,r),r.value-t.scale.getExtent()[0],null)};var i=(0,f.mn)();return function(r,n){var o=null;return i&&(o=i.makeAxisLabelFormatterParamBreak(o,r.break)),e(R(t,r),n,o)}}function R(t,e){var r=t.scale;return(0,u.wl)(r)?r.getLabel(e):e.value}function P(t){var e=t.get("interval");return null==e?"auto":e}function z(t){return"category"===t.type&&0===P(t.getLabelModel())}function B(t,e){var r={};return n.each(t.mapDimensionsAll(e),function(e){r[(0,w.me)(t,e)]=!0}),n.keys(r)}function N(t){return"middle"===t||"center"===t}function F(t){return t.getShallow("show")}function j(t,e,r){var n=t.get("breaks",!0);if(null!=n)return(0,f.mn)()&&r&&"category"!==e?n:void 0}function H(t,e,r,n,i,o){var a=(0,u.F)(t),s=a?t.intervalStub:t;if(s.setExtent(n[0],n[1]),a){var c=t.powStub,h={depth:l.QO},f=t.transformOut(n[0],h),d=t.transformOut(n[1],h),p=(0,u._v)(r,n);e[0]&&!p[0]&&(f=i[0]),e[1]&&!p[1]&&(d=i[1]),c.setExtent(f,d)}s.setConfig(o)}function V(t,e){return(0,u.wl)(t)?t.getRawOrdinalNumber(e.value):e.value}function U(t,e){return(0,u.wl)(t)&&!!e.get("boundaryGap")}},38300(t,e,r){"use strict";var n=function(){function t(){}return t.prototype.needIncludeZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();r.d(e,{L:()=>n})},24760(t,e,r){"use strict";var n=r(44176),i=r(27058),o=r(32936),a=r(41333),s=r(76092),l=r(17920),u=r(48898);function c(t,e){var r,n,s,l,c,h,f,d,p,g,y,v,m,_,b,x,w,S,A=(0,i.F)(t),k=A?t.intervalStub:t,M=e.fixMinMax||[],T=A?t.getExtent():null,C=k.getExtent(),O=(0,i.Ob)(C,M,e.rawExtentResult);k.setExtent(O[0],O[1]),O=k.getExtent();var I=A?(r=k,n=e,s=(0,i.Ev)(n.splitNumber,10),l=r.getExtent(),c=(0,u.t5)(r),h=(0,o.JB)((0,o.au)(c),1),s/c*h<=.5&&(h*=10),f=(0,i.u$)(h),d=[(0,o.LI)((0,o.ih)(l[0]/h)*h,f),(0,o.LI)((0,o.Zr)(l[1]/h)*h,f)],{intervalPrecision:f,interval:h,niceExtent:d}):(p=k,g=e,y=(0,i.Ev)(g.splitNumber,5),v=(0,u.t5)(p),m=g.minInterval,_=g.maxInterval,b=(0,o.Cm)(v/y,!0),null!=m&&b<m&&(b=m),null!=_&&b>_&&(b=_),x=(0,i.u$)(b),w=p.getExtent(),S=[(0,o.LI)((0,o.ih)(w[0]/b)*b,x),(0,o.LI)((0,o.Zr)(w[1]/b)*b,x)],{interval:b,intervalPrecision:x,niceExtent:S}),D=I.intervalPrecision,E=I.interval,L=e.userInterval;null!=L&&(I.interval=L,I.intervalPrecision=(0,i.u$)(L)),M[0]||(O[0]=(0,o.LI)((0,o.Zr)(O[0]/E)*E,D)),M[1]||(O[1]=(0,o.LI)((0,o.ih)(O[1]/E)*E,D)),null!=L&&(I.niceExtent=O.slice()),(0,a.H1)(t,M,C,O,T,I)}function h(t){var e=t.scale,r=t.model,n=r.axis,i=r.ecModel;f(e,r,n,i,null)}function f(t,e,r,n,o){var a,s,u=(0,l.zT)(t,e,n,r,o),c=(0,i.Qw)(t)||(0,i.oY)(t);a=t,s={splitNumber:e.get("splitNumber"),fixMinMax:u.fixMM,userInterval:e.get("interval"),minInterval:c?e.get("minInterval"):null,maxInterval:c?e.get("maxInterval"):null,rawExtentResult:u},d[a.type](a,s),r&&n&&(0,l.Pu)(r,t,u,n)}var d={interval:c,log:c,time:s.R,ordinal:n.noop};r.d(e,{NY:()=>f,Z0:()=>h})},38574(t,e,r){"use strict";var n=r(44176),i=r(13496),o=r(45725);(0,i.EV)();var a=(0,i.$r)();function s(t,e){var r,n,i;return u((r=t.model,(i=(n=a((0,o.US)(r.ecModel)).keyed)&&n.get(e))&&i.get(r.uid)))}function l(t,e){var r,n,i,s=[];return r=t.model.ecModel,n=function(t){for(var r=0;r<e.length;r++)e[r]&&t.serByIdx[e[r].seriesIndex]&&s.push(u(t))},(i=a((0,o.US)(r)).keyed)&&i.each(function(t,e){t.each(function(t,r){n(t,e,r)})}),s}function u(t){return{liPosMinGap:t?t.liPosMinGap:void 0}}function c(t,e){var r=t.model.ecModel,n=a((0,o.US)(r)).axSer;n&&function(t,e,r){if(e)for(var n=0;n<e.length;n++){var i=e[n];t.isSeriesFiltered(i)||r(i)}}(r,n.get(t.model.uid),e)}function h(t,e){var r=t.model,i=a((0,o.US)(r.ecModel)).keys;i&&(0,n.each)(i.get(r.uid),function(t){e(t)})}function f(t,e,r){if(t){var i=e.ecModel,s=a((0,o.US)(i)),l=t.model.uid,u=s.axSer||(s.axSer=(0,n.createHashMap)());(u.get(l)||u.set(l,[])).push(e);var c=e.subType,h=e.getBaseAxis()===t,f=p.get(d(c,h,r))||p.get(d(c,h,null));if(f){var g=s.keyed||(s.keyed=(0,n.createHashMap)()),y=s.keys||(s.keys=(0,n.createHashMap)()),v=f.key,m=g.get(v)||g.set(v,(0,n.createHashMap)()),_=m.get(l);_||((_=m.set(l,{axis:t,sers:[],serByIdx:[]})).metrics=f.getMetrics(t),(y.get(l)||y.set(l,[])).push(v)),_.sers.push(e),_.serByIdx[e.seriesIndex]=e}}}function d(t,e,r){return t+"|&"+(0,n.retrieve2)(e,!0)+"|&"+(r||"")}(0,i.$r)();var p=(0,n.createHashMap)();r.d(e,{BV:()=>h,C6:()=>s,Lb:()=>f,O8:()=>l,e2:()=>-2,tO:()=>c})},64081(t,e,r){"use strict";var n=r(44176),i=r(26812),o=r(13496),a=r(41333),s=r(32936),l=r(27058),u=(0,o.$r)(),c=(0,o.$r)(),h={estimate:1,determine:2};function f(t){return{out:{noPxChangeTryDetermine:[]},kind:t}}function d(t,e){var r,i,o,s,l,u,c,h=t.getLabelModel().get("customValues");if(h){var f=t.scale;return{labels:n.map(g(h,f),function(e,r){return{formattedLabel:(0,a.ry)(t)(e,r),rawLabel:f.getLabel(e),tick:e}})}}return"category"===t.type?(r=t,i=e,o=r.getLabelModel(),s=y(r,o,i),!o.get("show")||r.scale.isBlank()?{labels:[]}:s):(u=(l=t).scale.getTicks(),c=(0,a.ry)(l),{labels:n.map(u,function(t,e){return{formattedLabel:c(t,e),rawLabel:l.scale.getLabel(t),tick:t}})})}function p(t,e,r){var i=t.scale,o=t.getTickModel().get("customValues");return o?{ticks:g(o,i)}:"category"===t.type?function(t,e){var r,i,o=v(t),s=(0,a.j2)(e),l=b(o,s);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(r=[]),n.isFunction(s))r=k(t,s,!0);else if("auto"===s){var u=y(t,t.getLabelModel(),f(h.determine));i=u.labelCategoryInterval,r=n.map(u.labels,function(t){return t.tick})}else r=k(t,i=s,!0);return x(o,s,{ticks:r,tickCategoryInterval:i})}(t,e):{ticks:i.getTicks(r)}}function g(t,e){var r=e.getExtent(),i=[];return n.each(t,function(t){(t=e.parse(t))>=r[0]&&t<=r[1]&&i.push(t)}),(0,o.R3)(i,o.cd,null),(0,s.Y6)(i),n.map(i,function(t){return{value:t}})}function y(t,e,r){var i,o,s=m(t),l=(0,a.j2)(e),u=r.kind===h.estimate;if(!u){var f=b(s,l);if(f)return f}n.isFunction(l)?i=k(t,l,!1):(o="auto"===l?function(t,e){if(e.kind===h.estimate){var r=t.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return c(t).autoInterval=r,!0}),r}var n=c(t).autoInterval;return null!=n?n:c(t).autoInterval=t.calculateCategoryInterval(e)}(t,r):l,i=k(t,o,!1));var d={labels:i,labelCategoryInterval:o};return u?r.out.noPxChangeTryDetermine.push(function(){return x(s,l,d),!0}):x(s,l,d),d}var v=_("axisTick"),m=_("axisLabel");function _(t){return function(e){return c(e)[t]||(c(e)[t]={list:[]})}}function b(t,e){for(var r=0;r<t.list.length;r++)if(t.list[r].key===e)return t.list[r].value}function x(t,e,r){return t.list.push({key:e,value:r}),r}function w(t,e){var r,o,s=e.kind,l=(o=(r=t).getLabelModel(),{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:o.get("rotate")||0,font:o.getFont()}),u=(0,a.ry)(t),c=(l.axisRotate-l.labelRotate)/180*Math.PI,f=t.scale,d=f.getExtent(),p=f.count();if(d[1]-d[0]<1)return 0;var g=1;p>40&&(g=Math.max(1,Math.floor(p/40)));for(var y=d[0],v=t.dataToCoord(y+1)-t.dataToCoord(y),m=Math.abs(v*Math.cos(c)),_=Math.abs(v*Math.sin(c)),b=0,x=0;y<=d[1];y+=g){var w=0,k=0,M=i.NO(u({value:y}),l.font,"center","top");w=1.3*M.width,k=1.3*M.height,b=Math.max(b,w,7),x=Math.max(x,k,7)}var T=b/m,C=x/_;isNaN(T)&&(T=1/0),isNaN(C)&&(C=1/0);var O=Math.max(0,Math.floor(Math.min(T,C)));if(s===h.estimate)return e.out.noPxChangeTryDetermine.push(n.bind(S,null,t,O,p)),O;var I=A(t,O,p);return null!=I?I:O}function S(t,e,r){return null==A(t,e,r)}function A(t,e,r){var n=u(t.model),i=t.getExtent(),o=n.lastAutoInterval,a=n.lastTickCount;if(null!=o&&null!=a&&1>=Math.abs(o-e)&&1>=Math.abs(a-r)&&o>e&&n.axisExtent0===i[0]&&n.axisExtent1===i[1])return o;n.lastTickCount=r,n.lastAutoInterval=e,n.axisExtent0=i[0],n.axisExtent1=i[1]}function k(t,e,r){var i=(0,a.ry)(t),o=t.scale,s=[],u=n.isFunction(e);return(0,l.gQ)(o,u?0:e,function(t,n){var a=o.getLabel(t);if(u){var l=!!e(t.value,a);if(t.offInterval=!l,!l&&!n)return}s.push(r?t:{formattedLabel:i(t),rawLabel:a,tick:t})}),s}r.d(e,{EO:()=>w,MI:()=>p,eP:()=>f,fm:()=>h,vI:()=>d})},19480(t,e,r){"use strict";var n=r(44176),i=r(13496),o=r(95298),a=r(27058);function s(t,e,r){r=r||{};var i=e.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=[t.x,t.x+t.width,t.y,t.y+t.height],h={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,d="x"===u?[c[2]-f,c[3]+f]:[c[0]-f,c[1]+f];if(a){var p=a.toGlobalCoord(a.dataToCoord(0));d[h.onZero]=Math.max(Math.min(p,d[1]),d[0])}o.position=["y"===u?d[h[l]]:c[0],"x"===u?d[h[l]]:c[3]],o.rotation=Math.PI/2*("x"!==u),o.labelDirection=o.tickDirection=o.nameDirection=({top:-1,bottom:1,left:-1,right:1})[s],o.labelOffset=a?d[h[s]]-d[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),n.retrieve(r.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var g=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-g:g,o.z2=1,o}function l(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}function u(t,e,r,n,i,l){for(var u=s(t,r),c=!1,h=!1,f=0;f<e.length;f++)(0,a.rf)(e[f].getOtherAxis(r.axis).scale)&&(c=h=!0,"category"===r.axis.type&&r.axis.onBand&&(h=!1));return u.axisLineAutoShow=c,u.axisTickAutoShow=h,u.defaultNameMoveOverlap=l,new o.Ay(r,n,u,i)}function c(t,e,r){var n=s(e,r);t.updateCfg(n)}r.d(e,{LR:()=>l,Pd:()=>c,Zp:()=>s,oj:()=>u})},17920(t,e,r){"use strict";var n=r(44176),i=r(26812),o=r(27058),a=r(13496),s=r(41333),l=r(90063),u=r(32936),c=r(48898),h=r(38574),f=(0,a.$r)(),d=function(){function t(t,e,r,i,s){var l,c=(0,o.wl)(t),h=c?e.getCategories().length:null;if(c){var f=e.getCategories(!0);l=f&&!f.length}var d=r.slice();((0,o.Qw)(t)||(0,o.F)(t)||(0,o.oY)(t))&&((0,a.FM)(d,g(t,e.get("dataMin",!0))),(0,a.i_)(d,g(t,e.get("dataMax",!0)))),(0,a.o1)(d)||(d[0]=d[1]=NaN);var v=[],m=[!1,!1],_=e.get("min",!0);"dataMin"===_?(v[0]=d[0],m[0]=!0):(v[0]=g(t,(0,n.isFunction)(_)?_({min:d[0],max:d[1]}):_),m[0]=null!=v[0]);var b=e.get("max",!0);"dataMax"===b?(v[1]=d[1],m[1]=!0):(v[1]=g(t,(0,n.isFunction)(b)?b({min:d[0],max:d[1]}):b),m[1]=null!=v[1]);var x=function(t,e){var r;if((0,o.wl)(t))r=[0,0];else{var i=e.get("boundaryGap");"boolean"==typeof i&&(i=null),r=(0,n.isArray)(i)?i:[i,i]}return[y(r[0]),y(r[1])]}(t,e),w=c?null:d[1]-d[0]||Math.abs(d[0]);null==v[0]&&(v[0]=c?l?d[0]:h?0:NaN:d[0]-x[0]*w),null==v[1]&&(v[1]=c?l?d[1]:h?h-1:NaN:d[1]+x[1]*w),(0,a.fA)(v[0])||(v[0]=NaN),(0,a.fA)(v[1])||(v[1]=NaN);var S=l||(0,n.eqNaN)(v[0])||(0,n.eqNaN)(v[1])||c&&!h,A=(0,o.Qw)(t),k=A&&e.needIncludeZero&&e.needIncludeZero();k&&(v[0]>0&&v[1]>0&&!m[0]&&(v[0]=0),v[0]<0&&v[1]<0&&!m[1]&&(v[1]=0));var M=!1;v[0]>v[1]&&(v.reverse(),M=!0);var T=g(t,e.get("startValue",!0)),C=null!=T;!(0,u.YC)(T)&&i&&(T=t.getDefaultStartValue?t.getDefaultStartValue():0),(0,u.YC)(T)&&(C||!A||k)&&(T<v[0]&&!m[0]?(v[0]=T,m[0]=!0):T>v[1]&&!m[1]&&(v[1]=T,m[1]=!0)),p(this._i={scale:t,dataMM:d,noZoomEffMM:v,zoomMM:[],fixMM:m,zoomFixMM:[!1,!1],startValue:T,isBlank:S,incl0:k,tggAxInv:M,ctnShp:s},v)}return t.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},t.prototype.makeFinal=function(){var t=this._i,e=t.zoomMM,r=t.noZoomEffMM,n=t.zoomFixMM,i=t.fixMM,o={fixMM:i,zoomFixMM:n,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:r.slice()},a=o.effMM;return null!=e[0]&&(a[0]=e[0],i[0]=n[0]=!0),null!=e[1]&&(a[1]=e[1],i[1]=n[1]=!0),p(t,a),o},t.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},t.prototype.setZoomMM=function(t,e){this._i.zoomMM[t]=e},t}();function p(t,e){var r=t.scale,n=t.dataMM;r.sanitize&&(e[0]=r.sanitize(e[0],n),e[1]=r.sanitize(e[1],n),(0,a.U2)(e))}function g(t,e){return null==e?null:(0,n.eqNaN)(e)?NaN:t.parse(e)}function y(t){return(0,i.lo)("boolean"==typeof t?0:t,1)||0}function v(t){var e=f(t.scale);return e.extent||(e.extent=(0,a.X1)()),e}function m(t,e){v(t).dimIdxInCoord=e.get(t.dim)}function _(t,e){var r,i,o,u,c,f,p,g,y,m,_=t.scale,w=t.model,S=t.dim;_.rawExtentInfo||(r=_,i=t,o=S,u=w,c=e,p=(f=v(i)).extent,g=!1,(0,h.tO)(i,function(t){if(t.boxCoordinateSystem){var e=(0,l.fE)(t).coord,u=f.dimIdxInCoord;if(u>=0&&(0,n.isArray)(e)){var c=e[u];null==c||(0,n.isArray)(c)||(0,a.vx)(p,r.parse(c))}}else if(t.coordinateSystem){var h=t.getData();if(h){var d=r.getFilter?r.getFilter():null;(0,n.each)((0,s.wq)(h,o),function(t){(0,a.Ax)(p,h.getApproximateExtent(t,d))})}t.__requireStartValue&&t.__requireStartValue(i)&&(g=!0)}}),y=function(t,e,r){var n=(0,s.M2)(t,r),i=r.get("containShape",!0);if(null!=i||n||(i=!0),!i)return!1;var o=!1;return(0,h.BV)(e,function(t){o=!!x.get(t)||o}),o}(r,i,u),m=new d(r,u,p,g,y),b(r,m,c),f.extent=null)}function b(t,e,r){t.rawExtentInfo=e,e.from=r}var x=(0,n.createHashMap)();function w(t,e,r,n,i){t.rawExtentInfo||(o={scale:t,model:e},s=i||(0,a.X1)(),b(l=o.scale,new d(l,o.model,s,!1,!1),3));var o,s,l,u=t.rawExtentInfo.makeFinal(),c=u.effMM;return t.setExtent(c[0],c[1]),t.setBlank(u.isBlank),n&&u.tggAxInv&&r&&!r.get("legacyMinMaxDontInverseAxis")&&(n.inverse=!n.inverse),u}function S(t,e,r,n){if(r.ctnShp&&((0,h.BV)(t,function(e){var r=x.get(e);if(r){var o=r(t,n);o&&(i=i||[0,0],(0,a.FM)(i,o[0]),(0,a.i_)(i,o[1]),(0,s.n8)(t))}}),i)){var i,l=e.getExtent();if((0,o.wl)(e))t.onBand||e.setExtent2(c.GU,(0,u.rp)(l[0],l[0]+i[0]),(0,u.JB)(l[1],l[1]+i[1]));else{var f=l.slice();r.zoomFixMM[0]||(f[0]=(0,u.rp)(f[0],e.transformOut(e.transformIn(f[0],null)+i[0],null))),r.zoomFixMM[1]||(f[1]=(0,u.JB)(f[1],e.transformOut(e.transformIn(f[1],null)+i[1],null))),(f[0]<l[0]||f[1]>l[1])&&e.setExtent2(c.GU,f[0],f[1])}}}r.d(e,{DT:()=>_,Pu:()=>S,ex:()=>1,fK:()=>2,y:()=>m,zT:()=>w})},90063(t,e,r){"use strict";var n=r(44176),i={},o={},a=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function r(r,i){var o=[];return n.each(r,function(r,n){var i=r.create(t,e);o=o.concat(i||[])}),o}this._nonSeriesBoxMasterList=r(i,!0),this._normalMasterList=r(o,!1)},t.prototype.update=function(t,e){n.each(this._normalMasterList,function(r){r.update&&r.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){if("matrix"===t||"calendar"===t){i[t]=e;return}o[t]=e},t.get=function(t){return o[t]||i[t]},t}(),s=n.createHashMap();function l(t){var e=t.getShallow("coord",!0),r=1;if(null==e){var n=s.get(t.type);n&&n.getCoord2&&(r=2,e=n.getCoord2(t))}return{coord:e,from:r}}function u(t){var e=t.targetModel,r=t.coordSysType,n=t.coordSysProvider,o=t.isDefaultDataCoordSys;t.allowNotFound;var a=function(t){var e=t.getShallow("coordinateSystem"),r=t.getShallow("coordinateSystemUsage",!0),n=0;if(e){var o="series"===t.mainType;(null==r&&(r=o?"data":"box"),"data"===r)?(n=1,o||(n=0)):"box"!==r||(n=2,o||i[e])||(n=0)}return{coordSysType:e,kind:n}}(e),s=a.kind,l=a.coordSysType;if(o&&1!==s&&(s=1,l=r),0===s||l!==r)return 0;var u=n(r,e);return u?(1===s?e.coordinateSystem=u:e.boxCoordinateSystem=u,s):0}e.Ay=a,r.d(e,{fE:()=>l,m7:()=>u})},81615(t,e,r){"use strict";var n=r(44176),i=r(14660),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];function a(t,e){return e.mainType===i.t7?t.getViewOfSeriesModel(e):t.getViewOfComponentModel(e)}e.A=function(t){n.each(o,function(e){this[e]=n.bind(t[e],t)},this)},r.d(e,{k:()=>a})},9019(t,e,r){"use strict";r.d(e,{FQ:()=>eb,Ng:()=>e$,p5:()=>rh,El:()=>e_,zm:()=>eK,Zf:()=>eX,AS:()=>eQ,Bo:()=>e7,FP:()=>eJ,aQ:()=>e0,ZB:()=>rl,Ts:()=>eY,OH:()=>e8,pX:()=>e9,mx:()=>rt,Oh:()=>re,Ej:()=>ro,E:()=>eu.E,mz:()=>rs,cf:()=>e3,tb:()=>e6,lP:()=>e2,qg:()=>e5,bf:()=>e1,iY:()=>ru,xV:()=>e4,AF:()=>rr,vV:()=>ra,rE:()=>em});var n,i,o,a,s,l,u,c,h,f,d,p,g,y,v,m,_,b,x,w,S,A,k,M,T=r(65959),C=r(10029),O=r(44176),I=r(84957),D=r(15588),E=r(30231),L=r(13496),R=r(33870),P=r(4121),z=r(50968),B=r(53471),N="";"u">typeof navigator&&(N=navigator.platform||"");var F="rgba(0, 0, 0, 0.2)",j=B.A.color.theme["0"],H=(0,z.modifyHSL)(j,null,null,.9),V={darkMode:"auto",colorBy:"series",color:B.A.color.theme,gradientColor:[H,j],aria:{decal:{decals:[{color:F,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:F,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:F,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:F,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:F,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:F,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:N.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},U=r(24917),W=(0,O.createHashMap)(),Z=r(10543),q="\0_ec_inner",G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,T.C6)(e,t),e.prototype.init=function(t,e,r,n,i,o){n=n||{},this.option=null,this._theme=new R.A(n),this._locale=new R.A(i),this._optionManager=o},e.prototype.setOption=function(t,e,r){var n=X(e);this._optionManager.setOption(t,r,n),this._resetOption(null,n)},e.prototype.resetOption=function(t,e){return this._resetOption(t,X(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)):a(this,i),r=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(r=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var s=n.getMediaOption(this);s.length&&(0,O.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,n=this._componentsMap,o=this._componentsCount,a=[],s=(0,O.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,U.ps)(this),(0,O.each)(t,function(t,e){null!=t&&(P.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):r[e]=null==r[e]?(0,O.clone)(t):(0,O.merge)(r[e],t,!0))}),l&&l.each(function(t,e){P.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),P.A.topologicalTravel(a,P.A.getAllClassMainTypes(),function(e){var a,s=function(t,e,r){var n=W.get(e);if(!n)return r;var i=n(t);return i?r.concat(i):r}(this,e,L.qB(t[e])),u=n.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=L.O2(u,s,c);L.GX(h,e,P.A),r[e]=null,n.set(e,null),o.set(e,0);var f=[],d=[],p=0;(0,O.each)(h,function(t,r){var n=t.existing,i=t.newOption;if(i){var o="series"===e,s=P.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,O.extend)({componentIndex:r},t.keyInfo);n=new s(i,this,this,l),(0,O.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),d.push(n),p++):(f.push(void 0),d.push(void 0))},this),r[e]=f,n.set(e,d),o.set(e,p),"series"===e&&i(this)},this),this._seriesIndices||i(this)},e.prototype.getOption=function(){var t=(0,O.clone)(this.option);return(0,O.each)(t,function(e,r){if(P.A.hasClass(r)){for(var n=L.qB(e),i=n.length,o=!1,a=i-1;a>=0;a--)n[a]&&!L.oh(n[a])?o=!0:(n[a]=null,!o&&i--);n.length=i,t[r]=n}}),delete t[q],t},e.prototype.setTheme=function(t){this._theme=new R.A(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,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,O.each)(L.qB(n),function(t){a[t]&&e.push(a[t])})):e=null!=i?Y("id",i,a):null!=o?Y("name",o,a):(0,O.filter)(a,function(t){return!!t}),$(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=$(l?this.queryComponents(l):(0,O.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,O.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,r){var n=this._componentsMap;if((0,O.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,O.isString)(t)?n.get(t):(0,O.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=L.vS(t,null);return(0,O.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,O.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,O.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){o(this),(0,O.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,O.each)(this._componentsMap.get("series"),function(r){r&&t.call(e,r,r.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,r){o(this),(0,O.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,O.each)(this.getSeriesByType(t),e,r)},e.prototype.isSeriesFiltered=function(t){return o(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){o(this);var r=[];(0,O.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,O.createHashMap)(r)},e.prototype.restoreData=function(t){i(this);var e=this._componentsMap,r=[];e.each(function(t,e){P.A.hasClass(e)&&r.push(e)}),P.A.topologicalTravel(r,P.A.getAllClassMainTypes(),function(r){(0,O.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(i=function(t){var e=t._seriesIndices=[];(0,O.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,O.createHashMap)(e)},o=function(t){},a=function(t,e){t.option={},t.option[q]=1,t._componentsMap=(0,O.createHashMap)({series:[]}),t._componentsCount=(0,O.createHashMap)();var r,n,i,o=e.aria;(0,O.isObject)(o)&&null==o.enabled&&(o.enabled=!0),r=e,n=t._theme.option,i=r.color&&!r.colorLayer,(0,O.each)(n,function(t,e){"colorLayer"===e&&i||"color"===e&&r.color||P.A.hasClass(e)||("object"==typeof t?r[e]=r[e]?(0,O.merge)(r[e],t,!1):(0,O.clone)(t):null==r[e]&&(r[e]=t))}),(0,O.merge)(e,V,!1),t._mergeOption(e,null)}),e}(R.A);function Y(t,e,r){if((0,O.isArray)(e)){var n=(0,O.createHashMap)();return(0,O.each)(e,function(t){null!=t&&null!=L.vS(t,null)&&n.set(t,!0)}),(0,O.filter)(r,function(e){return e&&n.get(e[t])})}var i=L.vS(e,null);return(0,O.filter)(r,function(e){return e&&null!=i&&e[t]===i})}function $(t,e){return e.hasOwnProperty("subType")?(0,O.filter)(t,function(t){return t&&t.subType===e.subType}):t}function X(t){var e=(0,O.createHashMap)();return t&&(0,O.each)(L.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,O.mixin)(G,Z.X);var K=r(81615),Q=r(90063),J=/^(min|max)?(.+)$/,tt=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,r){t&&((0,O.each)((0,L.qB)(t.series),function(t){t&&t.data&&(0,O.isTypedArray)(t.data)&&(0,O.setAsPrimitive)(t.data)}),(0,O.each)((0,L.qB)(t.dataset),function(t){t&&t.source&&(0,O.isTypedArray)(t.source)&&(0,O.setAsPrimitive)(t.source)})),t=(0,O.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,O.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,O.isArray)(u)&&(0,O.each)(u,function(t){t&&t.option&&(t.query?o.push(t):n||(n=t))}),f(i),(0,O.each)(l,function(t){return f(t)}),(0,O.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,O.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,O.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,O.each)(t,function(t,e){var r=e.match(J);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,O.map)(s,function(t){return(0,O.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),te=O.each,tr=O.isObject,tn=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ti(t){var e=t&&t.itemStyle;if(e)for(var r=0,n=tn.length;r<n;r++){var i=tn[r],o=e.normal,a=e.emphasis;o&&o[i]&&(t[i]=t[i]||{},t[i].normal?O.merge(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(t[i]=t[i]||{},t[i].emphasis?O.merge(t[i].emphasis,a[i]):t[i].emphasis=a[i],a[i]=null)}}function to(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,O.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 ta(t){to(t,"itemStyle"),to(t,"lineStyle"),to(t,"areaStyle"),to(t,"label"),to(t,"labelLine"),to(t,"upperLabel"),to(t,"edgeLabel")}function ts(t,e){var r=tr(t)&&t[e],n=tr(r)&&r.textStyle;if(n)for(var i=0,o=L.JS.length;i<o;i++){var a=L.JS[i];n.hasOwnProperty(a)&&(r[a]=n[a])}}function tl(t){t&&(ta(t),ts(t,"label"),t.emphasis&&ts(t.emphasis,"label"))}function tu(t){return O.isArray(t)?t:t?[t]:[]}function tc(t){return(O.isArray(t)?t[0]:t)||{}}function th(t){t&&(0,O.each)(tf,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tf=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],td=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tp=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tg(t){var e=t&&t.itemStyle;if(e)for(var r=0;r<tp.length;r++){var n=tp[r][1],i=tp[r][0];null!=e[n]&&(e[i]=e[n])}}function ty(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tv(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tm(t,e){var r;te(tu(t.series),function(t){tr(t)&&function(t){if(tr(t)){ti(t),ta(t),ts(t,"label"),ts(t,"upperLabel"),ts(t,"edgeLabel"),t.emphasis&&(ts(t.emphasis,"label"),ts(t.emphasis,"upperLabel"),ts(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(ti(e),tl(e));var r=t.markLine;r&&(ti(r),tl(r));var n=t.markArea;n&&tl(n);var i=t.data;if("graph"===t.type){i=i||t.nodes;var o=t.links||t.edges;if(o&&!O.isTypedArray(o))for(var a=0;a<o.length;a++)tl(o[a]);O.each(t.categories,function(t){ta(t)})}if(i&&!O.isTypedArray(i))for(var a=0;a<i.length;a++)tl(i[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tl(s[a]);if((r=t.markLine)&&r.data)for(var l=r.data,a=0;a<l.length;a++)O.isArray(l[a])?(tl(l[a][0]),tl(l[a][1])):tl(l[a]);"gauge"===t.type?(ts(t,"axisLabel"),ts(t,"title"),ts(t,"detail")):"treemap"===t.type?(to(t.breadcrumb,"itemStyle"),O.each(t.levels,function(t){ta(t)})):"tree"===t.type&&ta(t.leaves)}}(t)}),r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),te(r,function(e){te(tu(t[e]),function(t){t&&(ts(t,"axisLabel"),ts(t.axisPointer,"label"))})}),te(tu(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ts(e,"axisLabel"),ts(e&&e.axisPointer,"label")}),te(tu(t.calendar),function(t){to(t,"itemStyle"),ts(t,"dayLabel"),ts(t,"monthLabel"),ts(t,"yearLabel")}),te(tu(t.radar),function(t){ts(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)}),te(tu(t.geo),function(t){tr(t)&&(tl(t),te(tu(t.regions),function(t){tl(t)}))}),te(tu(t.timeline),function(t){tl(t),to(t,"label"),to(t,"itemStyle"),to(t,"controlStyle",!0);var e=t.data;O.isArray(e)&&O.each(e,function(t){O.isObject(t)&&(to(t,"label"),to(t,"itemStyle"))})}),te(tu(t.toolbox),function(t){to(t,"iconStyle"),te(t.feature,function(t){to(t,"iconStyle")})}),ts(tc(t.axisPointer),"label"),ts(tc(t.tooltip).axisPointer,"label"),t.series=(0,L.qB)(t.series),(0,O.each)(t.series,function(t){if((0,O.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),ty(t.label);var r=t.data;if(r&&!(0,O.isTypedArray)(r))for(var n=0;n<r.length;n++)ty(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){for(var n,i=e.split(","),o=t,a=0;a<i.length-1;a++)null==o[n=i[a]]&&(o[n]={}),o=o[n];null==o[i[a]]&&(o[i[a]]=r)}(t,"itemStyle.color",i)}else if("bar"===e){tg(t),tg(t.backgroundStyle),tg(t.emphasis);var r=t.data;if(r&&!(0,O.isTypedArray)(r))for(var n=0;n<r.length;n++)"object"==typeof r[n]&&(tg(r[n]),tg(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)),tv(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,tv)}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,O.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),th(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,O.each)(td,function(e){var r=t[e];r&&((0,O.isArray)(r)||(r=[r]),(0,O.each)(r,function(t){th(t)}))})}var t_=r(32936),tb=(0,L.uQ)(function(t){var e=(0,O.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.push(o)}}),e.each(function(t){var e;0!==t.length&&("seriesDesc"===(t[0].seriesModel.get("stackOrder")||"seriesAsc")&&t.reverse(),(0,O.each)(t,function(e,r){e.data.setCalculationInfo("stackedOnSeries",r>0?t[r-1].seriesModel:null)}),e=t,(0,O.each)(e,function(t,r){var n=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,f,d=a.get(t.stackedDimension,c);if(isNaN(d))return i;s?f=a.getRawIndex(c):h=a.get(t.stackedByDimension,c);for(var p=NaN,g=r-1;g>=0;g--){var y=e[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&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=(0,t_.Tr)(d,v),p=v;break}}}return n[0]=d,n[1]=p,n})}))})}),tx=r(98090),tw=r(11307),tS=r(50417),tA=r(47732),tk=r(72590),tM=r(2728),tT=r(88523),tC=r(95283),tO=r(81124),tI=r(92159),tD=r(76525),tE=r(37654),tL=r(56840),tR=r(7583),tP=(0,L.$r)(),tz={itemStyle:(0,tE.A)(tL.L,!0),lineStyle:(0,tE.A)(tR.m,!0)},tB={lineStyle:"stroke",itemStyle:"fill"};function tN(t,e){var r=t.visualStyleMapper||tz[e];return r||(console.warn("Unknown style type '"+e+"'."),tz.itemStyle)}function tF(t,e){var r=t.visualDrawType||tB[e];return r||(console.warn("Unknown style type '"+e+"'."),"fill")}var tj=new R.A,tH=r(59528),tV=r(80812),tU=r(81349),tW=Math.PI,tZ=r(5265),tq=r(84310),tG=function(){function t(t,e,r,n){this._stageTaskMap=(0,O.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.__preparePipelineContext?t.__preparePipelineContext(e,r):(0,L.Zk)(t,e,r);t.pipelineContext=r.context=n},t.prototype.restorePipelines=function(t,e){var r=this,n=r._pipelineMap=(0,O.createHashMap)();e.eachSeries(function(e){var i="canvas"===t.painter.type&&e.getProgressive(),o=e.uid;n.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:i&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),r._pipe(e,e.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),r=this.api;(0,O.each)(this._allHandlers,function(n){var i=t.get(n.uid)||t.set(n.uid,{});(0,O.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,O.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 d=o.getPerformArgs(c,n.block);f.each(function(t){t.perform(d)}),c.perform(d)&&(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,O.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:tQ,reset:tJ,count:t2}));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:tY});o.context={ecModel:r,api:n,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=(0,O.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,c=t.dirtyOnOverallProgress,h=!1;function f(t){var e=t.uid,r=s.set(e,a&&a.get(e)||(h=!0,(0,tZ.U)({reset:t$,onDirty:tK})));r.context={model:t,dirtyOnOverallProgress:c},r.agent=o,r.__block=c,i._pipe(t,r)}(0,O.assert)(!t.createOnAllSeries,""),l?r.eachRawSeriesByType(l,f):u?u(r,n).each(f):(0,O.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,O.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){s=null;try{t(t5,t3)}catch(t){}return s}(t)}),t.uid=(0,tq.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tY(t){t.overallReset(t.ecModel,t.api,t.payload)}function t$(t){return t.dirtyOnOverallProgress&&tX}function tX(){this.agent.dirty(),this.getDownstream().dirty()}function tK(){this.agent&&this.agent.dirty()}function tQ(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tJ(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,L.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,O.map)(e,function(t,e){return t1(e)}):t0}var t0=t1(0);function t1(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 t2(t){return t.data.count()}var t5={},t3={};function t6(t,e){for(var r in e.prototype)t[r]=O.noop}t6(t5,G),t6(t3,K.A),t5.eachSeriesByType=t5.eachRawSeriesByType=function(t){s=t},t5.eachComponent=function(t){"series"===t.mainType&&t.subType&&(s=t.subType)};var t4=B.A.darkColor,t8=t4.background,t9=function(){return{axisLine:{lineStyle:{color:t4.axisLine}},splitLine:{lineStyle:{color:t4.axisSplitLine}},splitArea:{areaStyle:{color:[t4.backgroundTint,t4.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:t4.axisMinorSplitLine}},axisLabel:{color:t4.axisLabel},axisName:{}}},t7={label:{color:t4.secondary},itemStyle:{borderColor:t4.borderTint},dividerLineStyle:{color:t4.border}},et={darkMode:!0,color:t4.theme,backgroundColor:t8,axisPointer:{lineStyle:{color:t4.border},crossStyle:{color:t4.borderShade},label:{color:t4.tertiary}},legend:{textStyle:{color:t4.secondary},pageTextStyle:{color:t4.tertiary}},textStyle:{color:t4.secondary},title:{textStyle:{color:t4.primary},subtextStyle:{color:t4.quaternary}},toolbox:{iconStyle:{borderColor:t4.accent50},feature:{dataView:{backgroundColor:t8,textColor:t4.primary,textareaColor:t4.background,textareaBorderColor:t4.border,buttonColor:t4.accent50,buttonTextColor:t4.neutral00}}},tooltip:{backgroundColor:t4.neutral20,defaultBorderColor:t4.border,textStyle:{color:t4.tertiary}},dataZoom:{borderColor:t4.accent10,textStyle:{color:t4.tertiary},brushStyle:{color:t4.backgroundTint},handleStyle:{color:t4.neutral00,borderColor:t4.accent20},moveHandleStyle:{color:t4.accent40},emphasis:{handleStyle:{borderColor:t4.accent50}},dataBackground:{lineStyle:{color:t4.accent30},areaStyle:{color:t4.accent20}},selectedDataBackground:{lineStyle:{color:t4.accent50},areaStyle:{color:t4.accent30}}},visualMap:{textStyle:{color:t4.secondary},handleStyle:{borderColor:t4.neutral30}},timeline:{lineStyle:{color:t4.accent10},label:{color:t4.tertiary},controlStyle:{color:t4.accent30,borderColor:t4.accent30}},calendar:{itemStyle:{color:t4.neutral00,borderColor:t4.neutral20},dayLabel:{color:t4.tertiary},monthLabel:{color:t4.secondary},yearLabel:{color:t4.secondary}},matrix:{x:t7,y:t7,backgroundColor:{borderColor:t4.axisLine},body:{itemStyle:{borderColor:t4.borderTint}}},timeAxis:t9(),logAxis:t9(),valueAxis:t9(),categoryAxis:t9(),line:{symbol:"circle"},graph:{color:t4.theme},gauge:{title:{color:t4.secondary},axisLine:{lineStyle:{color:[[1,t4.neutral05]]}},axisLabel:{color:t4.axisLabel},detail:{color:t4.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:t4.background}},radar:((n=t9()).axisName={color:t4.axisLabel},n.axisLine.lineStyle.color=t4.neutral20,n),treemap:{breadcrumb:{itemStyle:{color:t4.neutral20,textStyle:{color:t4.secondary}},emphasis:{itemStyle:{color:t4.neutral30}}}},sunburst:{itemStyle:{borderColor:t4.background}},map:{itemStyle:{borderColor:t4.border,areaColor:t4.neutral10},label:{color:t4.tertiary},emphasis:{label:{color:t4.primary},itemStyle:{areaColor:t4.highlight}},select:{label:{color:t4.primary},itemStyle:{areaColor:t4.highlight}}},geo:{itemStyle:{borderColor:t4.border,areaColor:t4.neutral10},emphasis:{label:{color:t4.primary},itemStyle:{areaColor:t4.highlight}},select:{label:{color:t4.primary},itemStyle:{color:t4.highlight}}}};et.categoryAxis.splitLine.show=!1;var ee=r(89899),er=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},r={},n={};if(O.isString(t)){var i=(0,ee.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};O.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}(),en=r(14660),ei=["symbol","symbolSize","symbolRotate","symbolOffset"],eo=ei.concat(["symbolKeepAspect"]),ea=r(87827);function es(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,L.le)(l,i.fromActionPayload);r.trigger(o,{type:o,seriesId:t.id,name:(0,O.isArray)(u)?l.getName(u[0]):l.getName(u),selected:(0,O.isString)(n)?n:(0,O.extend)({},n)})}})}var el=r(49814),eu=r(62260),ec=r(64485),eh=new E.A,ef=r(3311),ed=r(15298),ep=r(76452),eg=r(45725),ey=r(30982),ev=(0,L.uQ)(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,ey.w)(r,e))});var i=n.getVisual("decal");i&&(n.getVisual("style").decal=(0,ey.w)(i,e))}})}),em="6.1.0",e_={zrender:"6.1.0"},eb={PROCESSOR:{SERIES_FILTER:800,AXIS_STATISTICS:920,FILTER:1e3,STATISTIC:5e3,STATISTICS: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}},ex="__flagInMainProcess",ew="__mainProcessVersion",eS="__pendingUpdate",eA="__needsUpdateStatus",ek=/^[a-zA-Z0-9_]+$/,eM="__connectUpdateStatus";function eT(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.isDisposed()?void this.id:eO(this,t,e)}}function eC(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return eO(this,t,e)}}function eO(t,e,r){return r[0]=r[0]&&r[0].toLowerCase(),E.A.prototype[e].apply(t,r)}var eI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,T.C6)(e,t),e}(E.A),eD=eI.prototype;eD.on=eC("on"),eD.off=eC("off");var eE=function(t){function e(e,r,n){var i=t.call(this,new er)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},i.__v_skip=!0,i._dom=e,i[ew]=1,n.ssr&&C.registerSSRDataGetter(function(t){var e=(0,tO.z)(t),r=e.dataIndex;if(null!=r){var n=(0,O.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=C.init(e,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:(0,O.retrieve2)(n.useDirtyRect,!1),useCoarsePointer:(0,O.retrieve2)(n.useCoarsePointer,"auto"),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=(0,tD.nF)((0,O.bind)(o.flush,o),17),i._updateTheme(r),i._locale=(0,eu.A$)(n.locale||eu.Lv),i._coordSysMgr=new Q.Ay;var a=i._api=w(i);function s(t,e){return t.__prio-e.__prio}return(0,D.A)(ej,s),(0,D.A)(eN,s),i._scheduler=new tG(i,a,eN,ej),i._messageCenter=new eI,i._initEvents(),i.resize=(0,O.bind)(i.resize,i),o.animation.on("frame",i._onframe,i),v(o,i),m(o,i),(0,O.setAsPrimitive)(i),i}return(0,T.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){var t=this._scheduler,e=this._model,r=this._api;if(k(this),this[eS]){var n=this[eS].silent;this[ex]=!0,M(this);try{l(this),h.update.call(this,null,this[eS].updateParams)}catch(t){throw this[ex]=!1,this[eS]=null,t}this._zr.flush(),this[ex]=!1,this[eS]=null,g.call(this,n),y.call(this,n)}else if(t.unfinished){var i=1;do{t.unfinished=!1;var o=ef.yh.getTime();t.performSeriesTasks(e),t.performDataProcessorTasks(e),d(this,e),t.performVisualTasks(e),x(this,this._model,r,"remain",{}),i-=ef.yh.getTime()-o}while(i>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[ex]){if(this._disposed)return void this.id;if((0,O.isObject)(e)&&(r=e.lazyUpdate,n=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[ex]=!0,M(this),!this._model||e){var n,i,o,a=new tt(this._api),s=this._theme,u=this._model=new G;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:i},eF);var c={seriesTransition:o,optionChanged:!0};if(r)this[eS]={silent:n,updateParams:c},this[ex]=!1,this.getZr().wakeUp();else{try{l(this),h.update.call(this,null,c)}catch(t){throw this[eS]=null,this[ex]=!1,t}this._ssr||this._zr.flush(),this[eS]=null,this[ex]=!1,g.call(this,n),y.call(this,n)}}},e.prototype.setTheme=function(t,e){if(!this[ex]){if(this._disposed)return void this.id;var r=this._model;if(r){var n=e&&e.silent,i=null;this[eS]&&(null==n&&(n=this[eS].silent),i=this[eS].updateParams,this[eS]=null),this[ex]=!0,M(this);try{this._updateTheme(t),r.setTheme(this._theme),l(this),h.update.call(this,{type:"setTheme"},i)}catch(t){throw this[ex]=!1,t}this[ex]=!1,g.call(this,n),y.call(this,n)}}},e.prototype._updateTheme=function(t){(0,O.isString)(t)&&(t=eH[t]),t&&((t=(0,O.clone)(t))&&tm(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||I.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(){var t=this._zr,e=t.storage.getDisplayList();return(0,O.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,O.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,O.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(!eW[r])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();(0,O.each)(eU,function(o,h){if(o.group===r){var f=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,O.clone)(t)),d=o.getDom().getBoundingClientRect();a=n(d.left,a),s=n(d.top,s),l=i(d.right,l),u=i(d.bottom,u),c.push({dom:f,left:d.left,top:d.top})}}),a*=h,s*=h,l*=h,u*=h;var f=l-a,d=u-s,p=ef.yh.createCanvas(),g=C.init(p,{renderer:e?"svg":"canvas"});if(g.resize({width:f,height:d}),!e)return t.connectedBackgroundColor&&g.add(new tA.A({shape:{x:0,y:0,width:f,height:d},style:{fill:t.connectedBackgroundColor}})),(0,O.each)(c,function(t){var e=new tk.Ay({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,O.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,r){return f(this,"convertToPixel",t,e,r)},e.prototype.convertToLayout=function(t,e,r){return f(this,"convertToLayout",t,e,r)},e.prototype.convertFromPixel=function(t,e,r){return f(this,"convertFromPixel",t,e,r)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var r,n=this._model,i=L._e(n,t);return(0,O.each)(i,function(t,n){n.indexOf("Models")>=0&&(0,O.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=L._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=this;(0,O.each)(eR,function(t){var e=function(e){var n,i=r.getModel(),o=e.target;if("globalout"===t?n={}:o&&(0,ec.R)(o,function(t){var e=(0,tO.z)(t);if(e&&null!=e.dataIndex){var r=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return n=r&&r.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=(0,O.extend)({},e.eventData),!0},!0),n){var a=n.componentType,s=n.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=n.seriesIndex);var l=a&&null!=s&&i.getComponent(a,s),u=l&&r["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,r._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},r.trigger(t,n)}};e.zrEventfulCallAtLast=!0,r._zr.on(t,e,r)});var n=this._messageCenter;(0,O.each)(eB,function(t,e){n.on(e,function(t){r.trigger(e,t)})}),t=this,e=this._api,n.on("selectchanged",function(r){var n=e.getModel();r.isFromClick?(es("map","selectchanged",t,n,r),es("pie","selectchanged",t,n,r)):"select"===r.fromAction?(es("map","selected",t,n,r),es("pie","selected",t,n,r)):"unselect"===r.fromAction&&(es("map","unselected",t,n,r),es("pie","unselected",t,n,r))})},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()&&L.Bq(this.getDom(),eG,"");var t=this._api,e=this._model;(0,O.each)(this._componentsViews,function(r){r.dispose(e,t)}),(0,O.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 eU[this.id]},e.prototype.resize=function(t){if(!this[ex]){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[eS]&&(null==n&&(n=this[eS].silent),r=!0,this[eS]=null),this[ex]=!0,M(this);try{r&&l(this),h.update.call(this,{type:"resize",animation:(0,O.extend)({duration:0},t&&t.animation)})}catch(t){throw this[ex]=!1,t}this[ex]=!1,g.call(this,n),y.call(this,n)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,O.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eV[t]){var r=eV[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,O.extend)({},t);return e.type=ez[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,O.isObject)(e)||(e={silent:!!e}),eP[t.type])&&this._model){if(this[ex])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&&I.A.browser.weChat&&this._throttledZrFlush(),g.call(this,r),y.call(this,r)}},e.prototype.updateLabelLayout=function(){eh.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===tI.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tI.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function r(t,e){if(!t.preventAutoZ){var r=tT.retrieveZInfo(t);e.eachRendered(function(t){return tT.traverseUpdateZ(t,r.z,r.zlevel),!0})}}function n(t,e){e.eachRendered(function(t){if(!tM.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&&!tM.LR(t)){if(t instanceof tC.Ay&&(0,tI.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)}})}l=function(t){(0,eg.Q3)(t._model);var e=t._scheduler;e.restorePipelines(t._zr,t._model),e.prepareStageTasks(),u(t,!0),u(t,!1),e.plan()},u=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,ee.CC)(t.type);(c=new(e?tw.A.getClass(h.main,h.sub):tS.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)}},c=function(t,e,r,n,i){var o,a=t._model;if(a.setUpdatePayload(r),!n)return void(0,O.each)([].concat(t._componentsViews).concat(t._chartsViews),u);var s=L.dr(r,n,i),l=r.excludeSeriesId;function u(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,r)}null!=l&&(o=(0,O.createHashMap)(),(0,O.each)(L.qB(l),function(t){var e=L.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(s,function(e){if(!(o&&null!=o.get(e.id)))if((0,tI.T$)(r))if(e instanceof tx.A)r.type!==tI.h5||r.notBlur||e.get(["emphasis","disabled"])||(0,tI.lV)(e,r,t._api);else{var n=(0,tI.Tl)(e.mainType,e.componentIndex,r.name,t._api),i=n.focusSelf,a=n.dispatchers;r.type===tI.h5&&i&&!r.notBlur&&(0,tI.Du)(e.mainType,e.componentIndex,t._api),a&&(0,O.each)(a,function(t){r.type===tI.h5?(0,tI.HY)(t):(0,tI.SD)(t)})}else(0,tI.Lx)(r)&&e instanceof tx.A&&((0,tI.t6)(e,r,t._api),(0,tI.jA)(e),A(t))},t),a&&a.eachComponent(s,function(e){o&&null!=o.get(e.id)||u(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){l(this),h.update.call(this,t,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){(0,eg.n$)(n),n.setUpdatePayload(e),s.restoreData(n,e),s.performSeriesTasks(n),a.create(n,i),eh.trigger("coordsys:aftercreate",n,i),s.performDataProcessorTasks(n,e),d(this,n),a.update(n,i),t(n),s.performVisualTasks(n,e);var l=n.get("backgroundColor")||"transparent";o.setBackgroundColor(l);var u=n.get("darkMode");null!=u&&"auto"!==u&&o.setDarkMode(u),_(this,n,i,e,r),eh.trigger("afterupdate",n,i)}},updateTransform:function(t){var e=this,r=e._model,n=e._api;if(r){r.setUpdatePayload(t);var i=[];r.eachComponent(function(o,a){if(o!==en.t7){var s=e.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,n,t);l&&l.update&&i.push(s)}else i.push(s)}});var o=(0,O.createHashMap)();r.eachSeries(function(i){var a=e._chartsMap[i.__viewId],s=i.pipelineContext;if(a.updateTransform&&!s.progressiveRender){var l=a.updateTransform(i,r,n,t);l&&l.update&&o.set(i.uid,1)}else o.set(i.uid,1)}),e._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:o}),x(e,r,n,t,{},o),eh.trigger("afterupdate",r,n)}},updateView:function(e){var r=this._model;r&&(r.setUpdatePayload(e),tS.A.markUpdateMethod(e,"updateView"),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0}),_(this,r,this._api,e,{}),eh.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()}),tS.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)}),eh.trigger("afterupdate",n,this._api))},updateLayout:function(t){h.update.call(this,t)}},f=function(t,e,r,n,i){if(t._disposed)return void t.id;for(var o,a=t._model,s=t._coordSysMgr.getCoordinateSystems(),l=L._e(a,r),u=0;u<s.length;u++){var c=s[u];if(c[e]&&null!=(o=c[e](a,l,n,i)))return o}},d=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,s=eP[o],u=(s.update||"update").split(":"),f=u.pop(),d=null!=u[0]&&(0,ee.CC)(u[0]);this[ex]=!0,M(this);var p=[t],g=!1;t.batch&&(g=!0,p=(0,O.map)(t.batch,function(e){return(e=(0,O.defaults)((0,O.extend)({},e),t)).batch=null,e}));var y=[],v=[],m=s.nonRefinedEventType,_=(0,tI.Lx)(t),b=(0,tI.T$)(t);if(b&&(0,tI.qR)(this._api),(0,O.each)(p,function(e){var o=s.action(e,i,n._api);if(s.refineEvent?v.push(o):r=o,(r=r||(0,O.extend)({},e)).type=m,y.push(r),b){var a=L.HB(t),l=a.queryOptionMap;c(n,f,e,a.mainTypeSpecified?l.keys()[0]:"series"),A(n)}else _?(c(n,f,e,"series"),A(n)):d&&c(n,f,e,d.main,d.sub)}),"none"!==f&&!b&&!_&&!d)try{this[eS]?(l(this),h.update.call(this,t),this[eS]=null):h[f].call(this,t)}catch(t){throw this[ex]=!1,t}if(r=g?{type:m,escapeConnect:a,batch:y}:y[0],this[ex]=!1,!e){var x=void 0;if(s.refineEvent){var w=s.refineEvent(v,t,i,this._api).eventContent;(0,O.assert)((0,O.isObject)(w)),(x=(0,O.defaults)({type:s.refinedEventType},w)).fromAction=t.type,x.fromActionPayload=t,x.escapeConnect=!0}var S=this._messageCenter;S.trigger(r.type,r),x&&S.trigger(x.type,x)}},g=function(t){for(var e=this._pendingActions;e.length;){var r=e.shift();p.call(this,r,t)}},y=function(t){t||this.trigger("updated")},v=function(t,e){t.on("rendered",function(r){e.trigger("rendered",r),!t.animation.isFinished()||e[eS]||e._scheduler.unfinished||e._pendingActions.length?t.refresh():e.trigger("finished")})},m=function(t,e){t.on("mouseover",function(t){var r=t.target,n=(0,ec.R)(r,tI.u6);n&&((0,tI._m)(n,t,e._api),A(e))}).on("mouseout",function(t){var r=t.target,n=(0,ec.R)(r,tI.u6);n&&((0,tI.Iz)(n,t,e._api),A(e))}).on("click",function(t){var r=t.target,n=(0,ec.R)(r,function(t){return null!=(0,tO.z)(t).dataIndex},!0);if(n){var i=n.selected?"unselect":"select",o=(0,tO.z)(n);e._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},_=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,D.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,O.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),b(t,e,r,n,i),(0,O.each)(t._chartsViews,function(t){t.__alive=!1}),x(t,e,r,n,i),(0,O.each)(t._chartsViews,function(t){t.__alive||t.remove(e,r)})},b=function(t,e,o,a,s,l){(0,O.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)})},x=function(t,e,o,a,s,l){var u=t._scheduler;s=(0,O.extend)(s||{},{updatedSeries:e.getSeries()}),eh.trigger("series:beforeupdate",e,o,s);var c=!1;e.eachSeries(function(e){var r,i,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var h=s.renderTask;u.updatePayload(h,a),n(e,s),l&&l.get(e.uid)&&h.dirty(),h.perform(u.getPerformArgs(h))&&(c=!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,tI.jA)(e)}),u.unfinished=c||u.unfinished,eh.trigger("series:layoutlabels",e,o,s),eh.trigger("series:transition",e,o,s),e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];r(e,n),i(e,n)}),function(t,e){var r=t._zr;if("canvas"===r.painter.type){var n=r.storage,i=0;n.traverse(function(t){!t.isGroup&&i++});var o=i>(0,O.retrieve2)(e.get("hoverLayerThreshold"),V.hoverLayerThreshold)&&!I.A.node&&!I.A.worker;(t._usingTHL||o)&&(e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var r=t._chartsMap[e.__viewId];r.__alive&&r.eachRendered(function(t){var e=t.states.emphasis;e&&e.hoverLayer!==tT.HOVER_LAYER_FOR_INCREMENTAL&&(e.hoverLayer=o?tT.HOVER_LAYER_FROM_THRESHOLD:tT.HOVER_LAYER_NO)})}}),t._usingTHL=o)}}(t,e),eh.trigger("series:afterupdate",e,o,s)},A=function(t){t[eA]=!0,t.getZr().wakeUp()},M=function(t){t[ew]=(t[ew]+1)%1e6},k=function(t){t[eA]&&(t.getZr().storage.traverse(function(t){tM.LR(t)||e(t)}),t[eA]=!1)},w=function(t){return new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return(0,T.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,tI.HY)(e,r),A(t)},r.prototype.leaveEmphasis=function(e,r){(0,tI.SD)(e,r),A(t)},r.prototype.enterBlur=function(e){(0,tI.QX)(e),A(t)},r.prototype.leaveBlur=function(e){(0,tI.JC)(e),A(t)},r.prototype.enterSelect=function(e){(0,tI.JI)(e),A(t)},r.prototype.leaveSelect=function(e){(0,tI.gd)(e),A(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.prototype.getECUpdateCycleVersion=function(){return t[ew]},r.prototype.usingTHL=function(){return t._usingTHL},r}(K.A))(t)},S=function(t){function e(t,e){for(var r=0;r<t.length;r++)t[r][eM]=e}(0,O.each)(ez,function(r,n){t._messageCenter.on(n,function(r){if(eW[t.group]&&0!==t[eM]&&(!r||!r.escapeConnect)){var n=t.makeActionFromEvent(r),i=[];(0,O.each)(eU,function(e){e!==t&&e.group===t.group&&i.push(e)}),e(i,0),(0,O.each)(i,function(t){1!==t[eM]&&t.dispatchAction(n)}),e(i,2)}})})}}(),e}(E.A),eL=eE.prototype;eL.on=eT("on"),eL.off=eT("off"),eL.one=function(t,e,r){var n=this;(0,ea.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 eR=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eP={},ez={},eB={},eN=[],eF=[],ej=[],eH={},eV={},eU={},eW={},eZ=new Date-0,eq=new Date-0,eG="_echarts_instance_";function eY(t,e,r){var n=!(r&&r.ssr);if(n){var i=eJ(t);if(i)return i}var o=new eE(t,e,r);return o.id="ec_"+eZ++,eU[o.id]=o,n&&L.Bq(t,eG,o.id),S(o),eh.trigger("afterinit",o),o}function e$(t){if((0,O.isArray)(t)){var e=t;t=null,(0,O.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eq++,(0,O.each)(e,function(e){e.group=t})}return eW[t]=!0,t}function eX(t){eW[t]=!1}var eK=eX;function eQ(t){(0,O.isString)(t)?t=eU[t]:t instanceof eE||(t=eJ(t)),t instanceof eE&&!t.isDisposed()&&t.dispose()}function eJ(t){return eU[L.D$(t,eG)]}function e0(t){return eU[t]}function e1(t,e){eH[t]=e}function e2(t){0>(0,O.indexOf)(eF,t)&&eF.push(t)}function e5(t,e){ri(eN,t,e,2e3)}function e3(t){e4("afterinit",t)}function e6(t){e4("afterupdate",t)}function e4(t,e){eh.on(t,e)}function e8(t,e,r){function n(t){return t.toLowerCase()}(0,O.isFunction)(e)&&(r=e,e=""),(0,O.isObject)(t)?(i=t.type,l=t.event,a=t.update,s=t.publishNonRefinedEvent,r||(r=t.action),o=t.refineEvent):(i=t,l=e);var i,o,a,s,l=n(l||i),u=o?n(i):l;eP[i]||((0,O.assert)(ek.test(i)&&ek.test(l)),o&&(0,O.assert)(l!==i),eP[i]={actionType:i,refinedEventType:l,nonRefinedEventType:u,update:a,action:r,refineEvent:o},eB[l]=1,o&&s&&(eB[u]=1),ez[u]=i)}function e9(t,e){Q.Ay.register(t,e)}function e7(t){var e=Q.Ay.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function rt(t,e){(0,ep.m)(t,e)}function re(t,e){ri(ej,t,e,1e3,"layout",!0)}function rr(t,e){ri(ej,t,e,3e3,"visual",!0)}var rn=[];function ri(t,e,r,n,i,o){if(((0,O.isFunction)(e)||(0,O.isObject)(e))&&(r=e,e=n),!((0,O.indexOf)(rn,r)>=0)){rn.push(r);var a=tG.wrapStageHandler(r,i);a.__prio=e,a.__raw=r,t.push(a)}}function ro(t,e){eV[t]=e}function ra(t){(0,ef.Gs)({createCanvas:t})}function rs(t,e,r){var n=(0,ed.v)("registerMap");n&&n(t,e,r)}function rl(t){var e=(0,ed.v)("getMap");return e&&e(t)}var ru=el.v5;function rc(t,e,r,n){return{eventContent:{selected:(0,tI.mc)(r),isFromClick:e.isFromClick||!1}}}rr(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=t.getModel(n),o=tN(t,n)(i),a=i.getShallow("decal");a&&(r.setVisual("decal",a),a.dirty=!0);var s=tF(t,n),l=o[s],u=(0,O.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,O.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,O.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,O.extend)({},o);i[s]=u(n),e.setItemVisual(r,"style",i)}}}}),rr(4500,{createOnAllSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=tN(t,n),o=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(t,e){var r=t.getRawDataItem(e);if(r&&r[n]){tj.option=r[n];var a=i(tj),s=t.ensureUniqueItemVisual(e,"style");(0,O.extend)(s,a),tj.option.decal&&(t.setItemVisual(e,"decal",tj.option.decal),tj.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),rr(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,O.createHashMap)();t.eachSeries(function(t){if(!t.isColorBySeries()){var r=t.type+"-"+t.getColorBy();tP(t).scope=e.get(r)||e.set(r,{})}}),t.eachSeries(function(t){if(!t.isColorBySeries()){var e=t.getRawData(),r={},n=t.getData(),i=tP(t).scope,o=t.visualStyleAccessPath||"itemStyle",a=tF(t,o);n.each(function(t){r[n.getRawIndex(t)]=t}),e.each(function(o){var s=r[o];if(n.getItemVisual(s,"colorFromPalette")){var l=n.ensureUniqueItemVisual(s,"style"),u=e.getName(o)||o+"",c=e.count();l[a]=t.getColorFromPalette(u,i,c)}})}})}}),rr(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<ei.length;a++){var s=ei[a],l=t.get(s);(0,O.isFunction)(l)?(o=!0,i[s]=l):n[s]=l}if(n.symbol=n.symbol||t.defaultSymbol,r.setVisual((0,O.extend)({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),!e.isSeriesFiltered(t)){var u=(0,O.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}}}}}),rr(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<eo.length;n++){var i=eo[n],o=r.getShallow(i,!0);null!=o&&t.setItemVisual(e,i,o)}}:null}}}),rr(7e3,ev),e2(tm),e5(900,tb),eV.default=function(t,e){e=e||{},O.defaults(e,{text:"loading",textColor:B.A.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:B.A.color.theme["0"],spinnerRadius:10,lineWidth:5,zlevel:0});var r,n=new tH.A,i=new tA.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var o=new tV.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 tA.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new tU.A({shape:{startAngle:-tW/2,endAngle:-tW/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*tW/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*tW/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},e8({type:tI.h5,event:tI.h5,update:tI.h5},O.noop),e8({type:tI.PW,event:tI.PW,update:tI.PW},O.noop),e8({type:tI.Lv,event:tI.gM,update:tI.Lv,action:O.noop,refineEvent:rc,publishNonRefinedEvent:!0}),e8({type:tI.U2,event:tI.gM,update:tI.U2,action:O.noop,refineEvent:rc,publishNonRefinedEvent:!0}),e8({type:tI.Q6,event:tI.gM,update:tI.Q6,action:O.noop,refineEvent:rc,publishNonRefinedEvent:!0}),eH.default={},eH.dark=et;var rh={}},15298(t,e,r){"use strict";var n={};function i(t,e){n[t]=e}function o(t){return n[t]}r.d(e,{m:()=>i,v:()=>o})},62260(t,e,r){"use strict";r.d(e,{Lv:()=>l,A$:()=>c,pr:()=>f,A4:()=>h,E:()=>u});var n=r(33870),i=r(84957),o=r(44176),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:""}}}})},5265(t,e,r){"use strict";var n=r(44176);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 d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||p<g)){var y=this._progress;if((0,n.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],p,g,h,f);else this._doProgress(y,p,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}}();r.d(e,{U:()=>i})},76181(t,e){"use strict";function r(t){return null==t?0:t.length||1}function n(t){return t}e.A=function(){function t(t,e,r,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=r||n,this._newKeyGetter=i||n,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,n={},i=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],l=n[s],u=r(l);if(u>1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=n[l],c=i[l],h=r(u),f=r(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 d=0;d<h;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=e[i],a=r(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,n,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(n[a]=s),e){var l=e[s],u=r(l);0===u?(e[s]=a,o&&n.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},40024(t,e,r){"use strict";var n,i=r(44176),o=r(14660),a=r(87191),s=r(45684),l=r(13496),u=r(32936),c=typeof Uint32Array===o.nk?Array:Uint32Array,h=typeof Uint16Array===o.nk?Array:Uint16Array,f=typeof Int32Array===o.nk?Array:Int32Array,d=typeof Float64Array===o.nk?Array:Float64Array,p={float:d,int:f,ordinal:Array,number:Array,time:d};function g(t){return t>65535?c:h}function y(t,e,r,n,i){var o=p[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)}e.Ay=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(),a=this.defaultDimValueGetter=n[o.sourceFormat];this._dimValueGetter=r||a,this._rawExtent=[],(0,s.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 p[e||"float"](this._rawCount),this._rawExtent[i]=(0,l.X1)(),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]=(0,l.X1)());for(var s=i[t],u=o;u<a;u++){var c=r[u]=e.parseAndCollect(r[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,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];y(r,u,c.type,l,!0)}for(var h=[],f=s;f<l;f++)for(var d=f-s,p=0;p<o;p++){var c=i[p],g=n.arrayRows.call(this,t[d]||h,c.property,d,p);r[p][f]=g;var v=a[p];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}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,u=this._rawExtent,c=(0,i.map)(a,function(t){return t.property}),h=0;h<s;h++){var f=a[h];u[h]||(u[h]=(0,l.X1)()),y(o,h,f.type,e,r)}if(n.fillStorage)n.fillStorage(t,e,o,u);else for(var d=[],p=t;p<e;p++){d=n.getItem(p,d);for(var g=0;g<s;g++){var v=o[g],m=this._dimValueGetter(d,c[g],p,g);v[p]=m;var _=u[g];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)}),(0,u.Y6)(e);var r=this.count();return 0===r?0:r%2==1?e[(r-1)/2]:(e[r/2]+e[r/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.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=g(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(g(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(g(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 p=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++]=p),p++}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++]=p),p++}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),k=0;k<o;k++){var M=n[k],m=f[M][S];(m<t[M][0]||m>t[M][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=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=(0,l.X1)();for(var h=0;h<a;h++){for(var f=t.getRawIndex(h),d=0;d<o;d++)s[d]=n[e[d]][f];s[o]=h;var p=r&&r.apply(null,s);if(null!=p){"object"!=typeof p&&(i[0]=p,p=i);for(var c=0;c<p.length;c++){var g=e[c],y=p[c],v=u[g],m=n[g];m&&(m[f]=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(g(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),p=Math.min(f+2*u,s),y=(p+d)/2,v=0,m=d;m<p;m++){var _=this.getRawIndex(m),b=a[_];isNaN(b)||(v+=b)}v/=p-d;var x=f,w=Math.min(f+u,s),S=f-1,A=a[c];r=-1,i=x;for(var k=-1,M=0,m=x;m<w;m++){var _=this.getRawIndex(m),b=a[_];if(isNaN(b)){M++,k<0&&(k=_);continue}(n=Math.abs((S-y)*(b-A)-(S-m)*(v-A)))>r&&(r=n,i=_)}M>0&&M<w-x&&(h[l++]=Math.min(k,i),i=Math.max(k,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(g(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)],p=i;u+i>a&&(p=a-u);for(var y=0;y<p;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),u=o[t],c=this.count(),h=i._rawExtent[t]=(0,l.X1)(),f=new(g(this._rawCount))(Math.ceil(c/s)),d=0,p=0;p<c;p+=s){s>c-p&&(a.length=s=c-p);for(var y=0;y<s;y++){var v=this.getRawIndex(p+y);a[y]=u[v]}var m=r(a),_=this.getRawIndex(Math.min(p+n(a,m)||0,c-1));u[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),f[d++]=_}return i._count=d,i._indices=f,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,e){var r=this._chunks[t],n=(0,l.X1)();if(!r)return n;var i=this.count();if(!this._indices&&!e)return this._rawExtent[t].slice();var o=this._extent,s=o[t]||(o[t]={}),u=(0,a.$6)(e),c=u.key,h=s[c];if(h)return h.slice();for(var f=n[0],d=n[1],p=0;p<i;p++){var g=r[this.getRawIndex(p)];(!e||(0,a.V7)(u,g))&&(g<f&&(f=g),g>d&&(d=g))}return s[c]=[f,d]},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,a.Pn)(t[n],this._dimensions[n])}n={arrayRows:t,objectRows:function(t,e,r,n){return(0,a.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,a.Pn)(i instanceof Array?i[n]:i,this._dimensions[n])},typedArray:function(t,e,r,n){return t[n]}}}(),t}(),r.d(e,{A_:()=>f})},79333(t,e,r){"use strict";var n=r(44176),i=0;function o(t){return(0,n.isObject)(t)&&null!=t.value?t.value:t+""}e.A=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++i,this._onCollect=t.onCollect}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,this._onCollect&&this._onCollect(t,e),e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(r?(e=this.categories.length,this.categories[e]=t,i.set(t,e),this._onCollect&&this._onCollect(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,n.createHashMap)(this.categories))},t}()},75352(t,e,r){"use strict";var n,i,o,a,s,l,u,c=r(44176),h=r(33870),f=r(76181),d=r(31805),p=r(50302),g=r(50461),y=r(14660),v=r(13496),m=r(81124),_=r(45684),b=r(40024),x=r(35561),w=c.isObject,S=c.map,A="u"<typeof Int32Array?Array:Int32Array,k=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],M=["_approximateExtent"];e.A=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),d=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=d,f.coordDimIndex=0);var p=f.otherDims=f.otherDims||{};o.push(d),i[d]=f,null!=l[d]&&(s=!0),f.createInvertedIndices&&(a[d]=[]),n&&(f.storeDimIndex=u),0===p.itemName&&(this._nameDimIdx=f.storeDimIndex),0===p.itemId&&(this._idDimIdx=f.storeDimIndex)}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 d.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,p.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,e){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t),e)},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),null)},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.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(k.concat(e.__wrappedMethods||[]),function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t.__wrappedMethods=e.__wrappedMethods,c.each(M,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}()},50461(t,e,r){"use strict";var n=r(44176);e.A=function(t){this.otherDims={},null!=t&&n.extend(this,t)}},45684(t,e,r){"use strict";var n=r(44176),i=r(14660),o=r(13496),a=r(24917),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:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===i.Km){var l,u;"auto"===a||null==a?p(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=[],p(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:d(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 d(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 p(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}r.d(e,{AF:()=>c,BE:()=>h,O0:()=>g,gV:()=>u,tP:()=>l,wZ:()=>f})},35561(t,e,r){"use strict";var n=r(44176),i=r(13496),o=r(45684),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,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,c=d.type,h=d.ordinalMeta,l++;else{var p=this.getSourceDimension(a);p&&(u=e?p.name:null,c=p.type)}i.push({property:u,type:c,ordinalMeta:h}),!e||null==u||d&&d.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}r.d(e,{Tc:()=>l,eS:()=>f,fg:()=>u,io:()=>c,j_:()=>h})},22989(t,e,r){"use strict";var n=r(14660),i=r(50461),o=r(44176),a=r(45684),s=r(40024),l=r(13496),u=r(24917),c=r(35561);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,d,p,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(r=t,h=g,f=y,d=e.dimensionsCount,p=Math.max(r.dimensionsDetectedCount||1,h.length,f.length,d||0),(0,o.each)(h,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(p=Math.max(p,e.length))}),p),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),k=new s.A_(_),M=0;M<k.length;M++)k[M]=-1;function T(t){var e=k[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 k[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!b)for(var M=0;M<_;M++)T(M);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 I=e.generateCoord,D=e.generateCoordCount,E=null!=D;D=I?D||1:0;var L=I||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(b)(0,o.each)(m,function(t){R(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var P=0;P<_;P++){var z=T(P);null==z.coordDim&&(z.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}(L,v,E),z.coordDimIndex=0,(!I||D<=0)&&(z.isExtraCoord=!0),D--),R(z),null==z.type&&((0,u.PU)(t,P)===u.sc.Must||z.isExtraCoord&&(null!=z.otherDims.itemName||null!=z.otherDims.seriesName))&&(z.type="ordinal")}return(0,l.R3)(m,function(t){return t.name},function(t,e){e>0&&(t.name=t.name+(e-1))}),new c.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:b})}r.d(e,{A:()=>f,M:()=>h})},31805(t,e,r){"use strict";var n,i,o,a,s,l,u=r(44176),c=r(13496),h=r(45684),f=r(14660),d=r(87827),p=function(){var t;function e(t,e){var r=(0,h.tP)(t)?t:(0,h.AF)(t);this._source=r;var n=this._data=r.data,i=r.sourceFormat;r.seriesLayoutBy,i===f.XO&&(this._offset=0,this._dimSize=e,this._data=n),l(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(){l=function(t,i,o){var a=o.sourceFormat,l=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,d=s[k(a,l)];if((0,u.extend)(t,d),a===f.XO)t.getItem=e,t.count=n,t.fillStorage=r;else{var p=m(a,l);t.getItem=(0,u.bind)(p,null,i,c,h);var g=x(a,l);t.count=(0,u.bind)(g,null,i,c,h)}};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 d=i[f*o+a];h[t+f]=d,d<l&&(l=d),d>u&&(u=d)}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={})[f.Km+"_"+f.i_]={pure:!0,appendData:i},t[f.Km+"_"+f.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[f.Wk]={pure:!0,appendData:i},t[f.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,function(t,r){for(var n=e[r]||(e[r]=[]),i=0;i<(t||[]).length;i++)n.push(t[i])})}},t[f.mK]={appendData:i},t[f.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},s=t}(),e}(),g=function(t){(0,u.isArray)(t)||(0,d.z3)("series.data or dataset.source must be an array.")};(n={})[f.Km+"_"+f.i_]=g,n[f.Km+"_"+f.oC]=g,n[f.Wk]=g,n[f.t1]=function(t,e){for(var r=0;r<e.length;r++)null==e[r].name&&(0,d.z3)("dimension name must not be null/undefined.")},n[f.mK]=g;var y=function(t,e,r,n){return t[n]},v=((i={})[f.Km+"_"+f.i_]=function(t,e,r,n){return t[n+e]},i[f.Km+"_"+f.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},i[f.Wk]=y,i[f.t1]=function(t,e,r,n,i){for(var o=i||[],a=0;a<r.length;a++){var s=r[a].name,l=null!=s?t[s]:null;o[a]=l?l[n]:null}return o},i[f.mK]=y,i);function m(t,e){return v[k(t,e)]}var _=function(t,e,r){return t.length},b=((o={})[f.Km+"_"+f.i_]=function(t,e,r){return Math.max(0,t.length-e)},o[f.Km+"_"+f.oC]=function(t,e,r){var n=t[0];return n?Math.max(0,n.length-e):0},o[f.Wk]=_,o[f.t1]=function(t,e,r){var n=r[0].name,i=null!=n?t[n]:null;return i?i.length:0},o[f.mK]=_,o);function x(t,e){return b[k(t,e)]}var w=function(t,e,r){return t[e]},S=((a={})[f.Km]=w,a[f.Wk]=function(t,e,r){return t[r]},a[f.t1]=w,a[f.mK]=function(t,e,r){var n=(0,c.vj)(t);return n instanceof Array?n[e]:n},a[f.XO]=w,a);function A(t){return S[t]}function k(t,e){return t===f.Km?t+"_"+e:t}function M(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 S[o](n,a,s)}var l=n;return o===f.mK&&(l=(0,c.vj)(n)),l}}}r.d(e,{Kd:()=>x,QE:()=>M,d1:()=>p,sC:()=>m,uQ:()=>A})},98846(t,e,r){"use strict";var n=r(44176),i=r(35561);function o(t,e,r){var o,a,s,l,u,c,h,f,d=(r=r||{}).byIndex,p=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")),y=!0;function v(t){return"ordinal"!==t.type&&"time"!==t.type}if((0,n.each)(a,function(t,e){(0,n.isString)(t)&&(a[e]=t={name:t}),v(t)||(y=!1)}),(0,n.each)(a,function(t,e){g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),!c&&v(t)&&(!y||"x"!==t.coordDim&&"angle"!==t.coordDim)&&(!p||p===t.coordDim)&&(c=t))}),!c||d||u||(d=!0),c){h="__\0ecstackresult_"+t.id,f="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var m=c.coordDim,_=c.type,b=0;(0,n.each)(a,function(t){t.coordDim===m&&b++});var x={name:h,coordDim:m,coordDimIndex:b,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},w={name:f,coordDim:f,coordDimIndex:b+1,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(x.storeDimIndex=l.ensureCalculationDimension(f,_),w.storeDimIndex=l.ensureCalculationDimension(h,_)),s.appendCalculationDimension(x),s.appendCalculationDimension(w)):(a.push(x),a.push(w))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:d,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}r.d(e,{iJ:()=>o,me:()=>s,sJ:()=>a})},87191(t,e,r){"use strict";var n=r(32936),i=r(44176),o=r(87827);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 u(t){var e="",r=-1/0,n=-1/0,i=1/0,o=1/0;return t&&(null!=t.g&&(e+="G"+t.g,r=t.g),null!=t.ge&&(e+="GE"+t.ge,n=t.ge),null!=t.l&&(e+="L"+t.l,i=t.l),null!=t.le&&(e+="LE"+t.le,o=t.le)),{key:e,g:r,ge:n,l:i,le:o}}function c(t,e){return e>t.g&&e>=t.ge&&e<t.l&&e<=t.le}(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},r.d(e,{$6:()=>u,Fl:()=>l,Pn:()=>a,V7:()=>c})},50302(t,e,r){"use strict";var n=r(44176),i=r(14660),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=[],d={};l.each(function(t,e){var r=a[e];d[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=d;var p=a.label;p&&p.length&&(u=p.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"}r.d(e,{B:()=>l,l:()=>a})},24917(t,e,r){"use strict";var n=r(13496),i=r(44176),o=r(14660),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,d=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 p=f.get(d)||f.set(d,{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=p.valueWayDim;g(a[r],o,i),g(h,o,i),p.valueWayDim+=i}else if(n===e)g(a[r],0,i),g(u,0,i);else{var o=p.categoryWayDim;g(a[r],o,i),g(h,o,i),p.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 d=s[u];(0,i.isObject)(d)?(h=d.name,f=d.type):(0,i.isString)(d)&&(h=d)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(e===o.Km)if(r===o.oC){for(var p=t[u],g=0;g<(p||[]).length&&g<5;g++)if(null!=(c=_(p[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 p=t[h];if(!p||(0,i.isTypedArray)(p))return a.Not;for(var g=0;g<p.length&&g<5;g++)if(null!=(c=_(p[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&&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)}r.d(e,{G9:()=>c,Gt:()=>h,OC:()=>u,PU:()=>f,ps:()=>l,sc:()=>a})},49814(t,e,r){"use strict";var n=r(14660),i=r(13496),o=r(44176),a=r(31805),s=r(87191),l=r(87827),u=r(45684),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 d(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 p(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){e.length||(0,l.$8)(""),(0,o.isObject)(t)||(0,l.$8)("");var r=t.type,s=g.get(r);s||(0,l.$8)("");var y=(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)(d,null,g,y),r.cloneAllDimensionInfo=(0,o.bind)(p,null,g),r}(t,s)}),v=(0,i.qB)(s.transform({upstream:y[0],upstreamList:y,config:(0,o.clone)(t.config)}));return(0,o.map)(v,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),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===n.Km||t===n.Wk}r.d(e,{py:()=>v,v5:()=>y})},91241(t,e,r){"use strict";var n=r(9019),i=r(11307),o=r(50417),a=r(4121),s=r(98090),l=r(44176),u=r(15298),c=r(10029),h=r(76452),f=[],d={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)},registerCustomSeries:function(t,e){(0,h.m)(t,e)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}};r.d(e,{Y:()=>function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(f,e)>=0||(f.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(d))}})},65213(t,e,r){"use strict";var n=r(88523),i=r(78938),o=r(36438),a=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"];function s(t,e,r){r=r||3,e?t.dirty|=r:t.dirty&=~r}function l(t,e){return e=e||3,null==t.dirty||!!(t.dirty&e)}function u(t){if(t)return l(t)&&function(t,e,r){var i=e.getComputedTransform();t.transform=(0,n.ensureCopyTransform)(t.transform,i);var a=t.localRect=(0,n.ensureCopyRect)(t.localRect,e.getBoundingRect()),l=e.style,u=l.margin,h=r&&r.marginForce,f=r&&r.minMarginForce,d=r&&r.marginDefault,p=l.__marginType;null==p&&d&&(u=d,p=o.Br.textMargin);for(var g=0;g<4;g++)c[g]=p===o.Br.minMargin&&f&&null!=f[g]?f[g]:h&&null!=h[g]?h[g]:u?u[g]:0;p===o.Br.textMargin&&(0,n.expandOrShrinkRect)(a,c,!1,!1);var y=t.rect=(0,n.ensureCopyRect)(t.rect,a);i&&y.applyTransform(i),p===o.Br.minMargin&&(0,n.expandOrShrinkRect)(y,c,!1,!1),t.axisAligned=(0,n.isBoundingRectAxisAligned)(i),(t.label=t.label||{}).ignore=e.ignore,s(t,!1),s(t,!0,2)}(t,t.label,t),t}var c=[0,0,0,0];function h(t,e,r){return t.transform=(0,n.ensureCopyTransform)(t.transform,r),t.localRect=(0,n.ensureCopyRect)(t.localRect,e),t.rect=(0,n.ensureCopyRect)(t.rect,e),r&&t.rect.applyTransform(r),t.axisAligned=(0,n.isBoundingRectAxisAligned)(r),t.obb=void 0,(t.label=t.label||{}).ignore=!1,t}function f(t,e){if(t){t.label.x+=e.x,t.label.y+=e.y,t.label.markRedraw();var r=t.transform;r&&(r[4]+=e.x,r[5]+=e.y);var n=t.rect;n&&(n.x+=e.x,n.y+=e.y);var i=t.obb;i&&i.fromBoundingRect(t.localRect,r)}}function d(t,e){for(var r=0;r<a.length;r++){var n=a[r];null==t[n]&&(t[n]=e[n])}return u(t)}function p(t){var e=t.obb;return(!e||l(t,2))&&(t.obb=e=e||new i.A,e.fromBoundingRect(t.localRect,t.transform),s(t,!1,2)),e}function g(t,e,r,i,o){var a,s,l,u=t.length,c=n.XY[e],h=n.WH[e];if(u<2)return!1;t.sort(function(t,e){return t.rect[c]-e.rect[c]});for(var f=0,d=!1,p=0,g=0;g<u;g++){var y=t[g],v=y.rect;(a=v[c]-f)<0&&(v[c]-=a,y.label[c]-=a,d=!0),p+=Math.max(-a,0),f=v[c]+v[h]}p>0&&o&&w(-p/u,0,u);var m=t[0],_=t[u-1];function b(){s=m.rect[c]-r,l=i-_.rect[c]-_.rect[h]}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(e,r,n){0!==e&&(d=!0);for(var i=r;i<n;i++){var o=t[i],a=o.rect;a[c]+=e,o.label[c]+=e}}function S(e,r){for(var n=[],i=0,o=1;o<u;o++){var a=t[o-1].rect,s=Math.max(t[o].rect[c]-a[c]-a[h],0);n.push(s),i+=s}if(i){var l=Math.min(Math.abs(e)/i,r);if(e>0)for(var o=0;o<u-1;o++){var f=n[o]*l;w(f,0,o+1)}else for(var o=u-1;o>0;o--){var f=n[o-1]*l;w(-f,o,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}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),d}function y(t){for(var e=0;e<t.length;e++){var r=t[e],n=r.defaultAttr,i=r.labelLine;r.label.attr("ignore",n.ignore),i&&i.attr("ignore",n.labelGuideIgnore)}}function v(t){var e=[];function r(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}t.sort(function(t,e){return!!e.suggestIgnore-!!t.suggestIgnore||e.priority-t.priority});for(var n=0;n<t.length;n++){var i=u(t[n]);if(!i.label.ignore){for(var o=i.label,a=i.labelLine,s=!1,l=0;l<e.length;l++)if(m(i,e[l],null,{touchThreshold:.05})){s=!0;break}s?(r(o),a&&r(a)):e.push(i)}}}function m(t,e,r,n){return!!t&&!!e&&(!t.label||!t.label.ignore)&&(!e.label||!e.label.ignore)&&!!t.rect.intersect(e.rect,r,n)&&(!!t.axisAligned&&!!e.axisAligned||p(t).intersect(p(e),r,n))}r.d(e,{AS:()=>h,EA:()=>m,Gm:()=>f,If:()=>v,LC:()=>s,PG:()=>d,Zv:()=>g,jj:()=>u,vS:()=>y})},36438(t,e,r){"use strict";var n=r(80812),i=r(44176),o=r(92159),a=r(13496),s=r(2728),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],d=e[f];c[f]=(0,i.retrieve2)(a?a.getFormattedLabel(s,f,null,l,d&&d.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=d(m,a&&a.normal,r,!1,!s);x.text=v.normal,s||t.setTextConfig(p(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=d(g,a&&a[w],r,!0,!s),S.style.text=v[w],s||(t.ensureState(w).textConfig=p(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 d(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){a={};var h="richInheritPlainLabel",f=(0,i.retrieve2)(e.get(h),s?s.get(h):void 0);for(var d in c)if(c.hasOwnProperty(d)){var p=e.getModel(["rich",d]);m(a[d]={},p,u,e,f,r,n,o,!1,!0)}}a&&(t.rich=a);var g=e.get("overflow");g&&(t.overflow=g);var y=e.get("lineOverflow");y&&(t.lineOverflow=y);var v=e.get("minMargin");if(null!=v)t.margin=[v=(0,i.isNumber)(v)?v/2:0,v,v,v],t.__marginType=w.minMargin;else{var _=e.get("textMargin");null!=_&&(t.margin=(0,i.normalizeCssArray)(_),t.__marginType=w.textMargin)}m(t,e,u,null,null,r,n,o,!0,!1)}(a,t,r,n,o),e&&(0,i.extend)(a,e),a}function p(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",null!=e.autoOverflowArea&&(o.autoOverflowArea=e.autoOverflowArea),null!=e.layoutRect&&(o.layoutRect=e.layoutRect),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,c,h){r=!s&&r||l;var f=a&&a.inheritColor,d=e.getShallow("color"),p=e.getShallow("textBorderColor"),m=(0,i.retrieve2)(e.getShallow("opacity"),r.opacity);("inherit"===d||"auto"===d)&&(d=f||null),("inherit"===p||"auto"===p)&&(p=f||null),u||(d=d||r.color,p=p||r.textBorderColor),null!=d&&(t.fill=d),null!=p&&(t.stroke=p);var _=(0,i.retrieve2)(e.getShallow("textBorderWidth"),r.textBorderWidth);null!=_&&(t.lineWidth=_);var b=(0,i.retrieve2)(e.getShallow("textBorderType"),r.textBorderType);null!=b&&(t.lineDash=b);var x=(0,i.retrieve2)(e.getShallow("textBorderDashOffset"),r.textBorderDashOffset);null!=x&&(t.lineDashOffset=x),s||null!=m||h||(m=a&&a.defaultOpacity),null!=m&&(t.opacity=m),s||u||null!=t.fill||!a.inheritColor||(t.fill=a.inheritColor);for(var w=0;w<g.length;w++){var S=g[w],A=!1!==o&&n?(0,i.retrieve3)(e.getShallow(S),n.getShallow(S),r[S]):(0,i.retrieve2)(e.getShallow(S),r[S]);null!=A&&(t[S]=A)}for(var w=0;w<y.length;w++){var S=y[w],A=e.getShallow(S);null!=A&&(t[S]=A)}if(null==t.verticalAlign){var k=e.getShallow("baseline");null!=k&&(t.verticalAlign=k)}if(!c||!a.disableBox){for(var w=0;w<v.length;w++){var S=v[w],A=e.getShallow(S);null!=A&&(t[S]=A)}var M=e.getShallow("borderType");null!=M&&(t.borderDash=M),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&f&&(t.backgroundColor=f),("auto"===t.borderColor||"inherit"===t.borderColor)&&f&&(t.borderColor=f)}}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),d=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,d,n);l.interpolatedValue=1===n?null:i,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(i):i+""},l.statesModels,i))})}}var w={minMargin:1,textMargin:2};r.d(e,{Br:()=>w,Lu:()=>b,VB:()=>d,c8:()=>_,lx:()=>f,qM:()=>h,sD:()=>p,xb:()=>x})},4121(t,e,r){"use strict";var n=r(65959),i=r(44176),o=r(33870),a=r(84310),s=r(89899),l=r(13496),u=r(57983),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 u.io(this,!1)},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}),e.A=h},33870(t,e,r){"use strict";r.d(e,{A:()=>v});var n=r(84957),i=r(89899),o=(0,r(37654).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(36438),l=r(80812),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}(),d=r(7583),p=r(56840),g=r(44176),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,d.J),(0,g.mixin)(y,p.s),(0,g.mixin)(y,a),(0,g.mixin)(y,f);var v=y},98090(t,e,r){"use strict";r.d(e,{A:()=>L});var n=r(65959),i=r(44176),o=r(84957),a=r(13496),s=r(4121),l=r(10543),u=r(90613),c=r(57983),h=r(5265),f=r(89899),d=r(45684),p=r(14660),g=r(24917),y=r(49814),v=r(40024),m=r(31805),_=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)?p.XO:p.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,d.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,d.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,d.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(98423),S=a.$r();function A(t,e){return t.getName(e)||t.getId(e)}var k=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);I(n,this),this.dataTask.context.data=n,S(this).dataBeforeProcessed=n,M(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);I(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,S(this).dataBeforeProcessed=o,M(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=E(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=E(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.indicesOfNearest=function(t,e,r,n){var i=this.getData(),o=this.coordinateSystem,a=o&&o.getAxis(t);if(!o||!a)return[];var s=a.dataToCoord(r);null==n&&(n=1/0);for(var l=[],u=1/0,c=-1,h=0,f=i.getDimensionIndex(e),d=i.getStore(),p=0,g=d.count();p<g;p++){var y=d.get(f,p),v=s-a.dataToCoord(y),m=Math.abs(v);m<=n&&((m<u||m===u&&v>=0&&c<0)&&(u=m,c=v,h=0),v===c&&(l[h++]=p))}return l.length=h,l},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,d=s.getRawValue(l),p=(0,i.isArray)(d),g=(0,w.aw)(s,l);if(f>1||p&&!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}}(d,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=p?d[0]:d;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,rawDataIndex:c.getRawIndex(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 M(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 I(t,e){i.each(i.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(r){t.wrapMethod(r,i.curry(D,e))})}function D(t,e){var r=E(t);return r&&r.setOutputEnd((e||this).count()),e}function E(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(k,u.J),i.mixin(k,l.X),(0,f.q7)(k,s.A);var L=k},90613(t,e,r){"use strict";var n=r(44176),i=r(31805),o=r(58742),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}}r.d(e,{J:()=>s,L:()=>l})},56840(t,e,r){"use strict";var n=r(37654),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}();r.d(e,{L:()=>i,s:()=>a})},7583(t,e,r){"use strict";var n=r(37654),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}();r.d(e,{J:()=>a,m:()=>i})},37654(t,e,r){"use strict";var n=r(44176);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}}r.d(e,{A:()=>i})},10543(t,e,r){"use strict";var n=r(13496),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}}r.d(e,{X:()=>a,x:()=>s})},51199(t,e,r){"use strict";r.d(e,{a:()=>O});var n=r(21424),i=r(44176),o=r(65959),a=r(94547),s=r(30231),l=r(59365),u=r(45781),c=r(63406),h=r(71302),f=r(3311);function d(t,e,r){var n=f.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}function p(t){return!t.__cursors.get(a.$z)}function g(t){var e=t.__cursors.get(a.$z);return{startIdx:e?e.startIdx:0,endIdx:e?e.endIdx:0}}var y=function(t){function e(e,r,o){var s,l=t.call(this)||this;l.motionBlur=!1,l.lastFrameAlpha=.7,l.dpr=1,l.virtual=!1,l.config={},l.zlevel=0,l.zlevel2=a.r4,l.maxRepaintRectCount=5,l.__dirty=!0,l.__firstTimePaint=!0,l.__prevIdx={startIdx:0,endIdx:0},o=o||n.Y5,"string"==typeof e?s=d(e,r,o):i.isObject(e)&&(e=(s=e).id),l.id=e,l.dom=s;var u=s.style;return u&&(i.disableUserSelect(s),s.onselectstart=function(){return!1},u.padding="0",u.margin="0",u.borderWidth="0"),l.painter=r,l.dpr=o,l}return(0,o.C6)(e,t),e.prototype.afterBrush=function(){this.__prevIdx=g(this)},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=d("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),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 c.Ay(0,0,0,0);function u(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}else{for(var r=!1,n=1/0,i=0,u=0;u<o.length;++u){var h=o[u];if(h.intersect(t)){var f=new c.Ay(0,0,0,0);f.copy(h),f.union(t),o[u]=f,r=!0;break}if(s){l.copy(t),l.union(h);var d=t.width*t.height,p=h.width*h.height,g=l.width*l.height-d-p;g<n&&(n=g,i=u)}}if(s&&(o[i].union(t),r=!0),!r){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var f=g(this),d=f.startIdx;d<f.endIdx;++d){var p=t[d];if(p){var y=p.shouldBePainted(r,n,!0,!0),v=p.__isRendered&&(p.__dirty&h.M||!y)?p.getPrevPaintRect():null;v&&u(v);var m=y&&(p.__dirty&h.M||!p.__isRendered)?p.getPaintRect():null;m&&u(m)}}for(var _=this.__prevIdx,d=_.startIdx;d<_.endIdx;++d){var p=e[d],y=p&&p.shouldBePainted(r,n,!0,!0);if(p&&(!y||!p.__zr)&&p.__isRendered){var v=p.getPrevPaintRect();v&&u(v)}}do{i=!1;for(var d=0;d<o.length;){if(o[d].isZero()){o.splice(d,1);continue}for(var b=d+1;b<o.length;)o[d].intersect(o[b])?(i=!0,o[d].union(o[b]),o.splice(b,1)):b++;d++}}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,s=n.height;e=e||this.clearColor;var c=this.motionBlur&&!t,h=this.lastFrameAlpha,f=this.dpr,d=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,a/f,s/f));var p=this.domBack;function g(t,r,n,a){if(o.clearRect(t,r,n,a),e&&"transparent"!==e){var s=void 0;i.isGradientObject(e)?(s=(e.global||e.__width===n&&e.__height===a)&&e.__canvasGradient||(0,l.Ff)(o,e,{x:0,y:0,width:n,height:a}),e.__canvasGradient=s,e.__width=n,e.__height=a):i.isImagePatternObject(e)&&(e.scaleX=e.scaleX||f,e.scaleY=e.scaleY||f,s=(0,u.ZQ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=s||e,o.fillRect(t,r,n,a),o.restore()}c&&(o.save(),o.globalAlpha=h,o.drawImage(p,t,r,n,a),o.restore())}!r||c?g(0,0,a,s):r.length&&i.each(r,function(t){g(t.x*f,t.y*f,t.width*f,t.height*f)})},e}(s.A),v=r(96515),m=r(84957),_=void 0;function b(t,e,r,n){var i=new y(t,e,e.dpr);return i.zlevel=r,i.zlevel2=n,i.__builtin__=!0,x(i),i}function x(t){t.__cursorStack=[],t.__cursors=i.createHashMap()}function w(t,e){for(var r=t.__cursorStack,n=0;n<r.length;n++)e(t.__cursors.get(r[n]))}function S(t,e){var r=t.layers;return r[e]||(r[e]=[,,,])}function A(t,e,r){for(var n=t.layerStack,i=0;i<n.length;i++){var o=n[i].zl,a=n[i].zl2,s=t.layers[o][a];r&&(r&k&&!s.__builtin__||r&M&&s.__builtin__||r&T&&s===t.hoverlayer)||e(s,o,a,i)}}var k=1,M=2,T=4,C=function(){function t(t,e,r,o){this.type="canvas",this._prevDisplayList=[],this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas",this._i={layerStack:[],layers:[]};var s=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();if(this._opts=r=i.extend({},r||{}),this.dpr=r.devicePixelRatio||n.Y5,this._singleCanvas=s,this.root=t,t.style&&(i.disableUserSelect(t),t.innerHTML=""),this.storage=e,this._prevDisplayList=[],s){var u=t.width,c=t.height;null!=r.width&&(u=r.width),null!=r.height&&(c=r.height),this.dpr=r.devicePixelRatio||1,t.width=u*this.dpr,t.height=c*this.dpr,this._width=u,this._height=c;var h=b(t,this,314159,a.r4);h.initContext(),this._insertLayer(h,314159,a.r4,!0),this._domRoot=t}else{this._width=(0,l.YC)(t,0,r),this._height=(0,l.YC)(t,1,r);var f,d,p,g=this._domRoot=(f=this._width,d=this._height,(p=document.createElement("div")).style.cssText=["position:relative","width:"+f+"px","height:"+d+"px","padding:0;margin:0;border-width:0"].join(";")+";",p);t.appendChild(g)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=t&&!i.isObject(t)?{paintAll:!!t}:t||{},r=i.retrieve2(e.refresh,!0),n=i.retrieve2(e.refreshHover,!1);if(n&&(this._hoverLayerDirty=2),!r)return n&&this._paintHoverList(this.storage.getDisplayList(!1)),this;var o=this.storage.getDisplayList(!0);this._updateLayerStatus(o,e.paintAll),this._redrawId=Math.random();var a=this._prevDisplayList;this._paintList(o,a,this._redrawId);var s=this._backgroundColor;return A(this._i,function(t,e,r,n){t.refresh&&t.refresh(0===n?s:null)},M),this._opts.useDirtyRect&&(this._prevDisplayList=o.slice()),this},t.prototype._paintHoverList=function(t){var e,r=this._i.hoverlayer,n=this._hoverLayerDirty;if((this._hoverLayerDirty=_,n!==_)&&(r||2!==n||(r=this._i.hoverlayer=this._ensureLayer(1e5)),r)){r.clear();for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},o=0,a=t.length;o<a;o++){var s=t[o];if(s.__inHover){e||(e=r.ctx).save();var l=s.__hoverStyle,c=void 0;l&&(c=s.style,s.style=l),(0,u.V$)(e,s,i),l&&(s.style=c)}}e&&((0,u.v6)(e,i),e.restore())}},t.prototype.getHoverLayer=function(){return this._ensureLayer(1e5)},t.prototype.paintOne=function(t,e){(0,u.Xi)(t,e)},t.prototype._paintList=function(t,e,r){if(this._redrawId===r){var n=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),n)A(this._i,function(t){t.afterBrush&&t.afterBrush()},5),this._paintHoverList(t);else{var i=this;(0,v.A)(function(){i._paintList(t,e,r)})}}},t.prototype._compositeManually=function(){var t=this._ensureLayer(314159).ctx,e=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,e,r),A(this._i,function(n){n.virtual&&t.drawImage(n.dom,0,0,e,r)},k)},t.prototype._doPaintList=function(t,e){var r=this,n=!0;return A(this._i,function(i){var o=!1;if(w(i,function(t){(t.drawIdx<t.endIdx||t.notClearIdx>=0)&&(o=!0)}),o||i.__dirty){var a=r._opts.useDirtyRect&&!p(i)?i.createRepaintRects(t,e,r._width,r._height):null,s=r._i.layerStack[0],l=!0;if(i.__dirty){l=!1,i.__dirty=!1;var u=i.zlevel===s.zl&&i.zlevel2===s.zl2?r._backgroundColor:null;i.clear(!1,u,a)}w(i,function(e){var o=r._paintPerCursor(i,e,t,a,l);n=n&&o})}},5),m.A.wxa&&A(this._i,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),n},t.prototype._paintPerCursor=function(t,e,r,n,i){var o=t.ctx;if(n)if(n.length)for(var a=this.dpr,s=0;s<n.length;++s){var l=n[s];o.save(),o.beginPath(),o.rect(l.x*a,l.y*a,l.width*a,l.height*a),o.clip(),this._paintPerCursorInRect(t,e,r,l,i),o.restore()}else e.drawIdx=e.endIdx;else o.save(),this._paintPerCursorInRect(t,e,r,null,i),o.restore();return e.drawIdx>=e.endIdx},t.prototype._paintPerCursorInRect=function(t,e,r,n,i){for(var o={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:i}},a=t.ctx,s=p(t),l=s&&f.yh.getTime(),c=e.drawIdx,h=e.notClearIdx,d=h>=0?Math.min(h,c):c;d<e.endIdx;d++){var g=r[d];if(!(d<c)||g.notClear){if(g.__inHover&&(this._hoverLayerDirty=2),null!=n){var y=g.getPaintRect();y&&y.intersect(n)&&((0,u.V$)(a,g,o),g.setPrevPaintRect(y))}else(0,u.V$)(a,g,o);if(s&&f.yh.getTime()-l>15){d++;break}}}(0,u.v6)(a,o),e.drawIdx=Math.max(d,c)},t.prototype.getLayer=function(t,e){return this._ensureLayer(t,0,e)},t.prototype._ensureLayer=function(t,e,r){e=e||0;var n=this._singleCanvas;n&&!this._needsManuallyCompositing&&(t=314159,e=0);var o=S(this._i,t)[e];return o||(o=b("zr_"+t+"."+e,this,t,e),this._layerConfig[t]&&i.merge(o,this._layerConfig[t],!0),(r||n&&314159!==t)&&(o.virtual=!0),this._insertLayer(o,t,e,!1),o.initContext()),o},t.prototype.insertLayer=function(t,e){this._insertLayer(e,t,0,!1)},t.prototype._insertLayer=function(t,e,r,n){var i=this._i,o=i.layers,a=i.layerStack,s=this._domRoot,l=null;if(!o[e]||!o[e][r]){if(t&&(t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh&&1)){for(var u=a.length,c=0;c<u&&(a[c].zl<e||a[c].zl===e&&a[c].zl2<r);)c++;if(c>0&&(l=S(i,a[c-1].zl)[a[c-1].zl2]),a.splice(c,0,{zl:e,zl2:r}),S(i,e)[r]=t,!n&&!t.virtual)if(l){var h=l.dom;h.nextSibling?s.insertBefore(t.dom,h.nextSibling):s.appendChild(t.dom)}else s.firstChild?s.insertBefore(t.dom,s.firstChild):s.appendChild(t.dom);t.painter||(t.painter=this)}}},t.prototype.eachLayer=function(t,e){return A(this._i,function(r,n){t.call(e,r,n)})},t.prototype.eachBuiltinLayer=function(t,e){return A(this._i,function(r,n){t.call(e,r,n)},k)},t.prototype.eachOtherLayer=function(t,e){return A(this._i,function(r,n){t.call(e,r,n)},M)},t.prototype.getLayers=function(){var t={};return A(this._i,function(e,r,n){t[e.id]=e}),t},t.prototype._updateLayerStatus=function(t,e){var r,n=this;if(n._singleCanvas)for(var o=1;o<t.length;o++){var s=t[o];if(s.zlevel!==t[o-1].zlevel||s.incremental){n._needsManuallyCompositing=!0;break}}A(n._i,function(t){t.__dirty=!1,w(t,function(t){t.used=!1,t.endIdxNew=0,t.notClearIdx=-1})},5);for(var l=null,u=null,c=!1,f=0,d=t.length;f<d;f++){var s=t[f],g=s.zlevel,y=s.incremental,v=void 0;if(r!==g&&(r=g,c=!1),y?(c=!0,v=a.cw):v=c?a.XM:a.r4,(!l||g!==l.zlevel||v!==l.zlevel2)&&(l=n._ensureLayer(g,v),u=null,!l.__builtin__)){i.logError("ZLevel "+g+" has been used by unknown layer "+l.id);continue}if((!u||y!==u.key)&&!(u=function(t,e){var r,n=t.__cursors,i=+e;return n.get(i)||(t.__cursorStack.push(i),n.set(i,((r={key:i}).startIdx=r.drawIdx=r.endIdx=r.endIdxNew=0,r.used=!1,r.first=r.last=NaN,r.notClearIdx=-1,r)))}(l,y)).used)if(u.used=!0,e||u.first!==s.id)l.__dirty=!0,u.first=s.id,u.startIdx=u.drawIdx=f,u.endIdx=f+1;else{var m=f-u.startIdx;u.startIdx=f,u.drawIdx+=m,u.endIdx+=m}u.endIdxNew=f+1,s.__dirty&h.M&&!s.__inHover&&(y&&(s.notClear||!(f<u.drawIdx))||(l.__dirty=!0),y&&s.notClear&&u.notClearIdx<0&&(u.notClearIdx=f))}A(n._i,function(e){for(var r=e.__cursorStack,i=e.__cursors,o=r.length-1;o>=0;o--){var a=i.get(r[o]);if(a.used){var s=a.endIdxNew;(p(e)?s<a.drawIdx:s!==a.endIdx||!s||t[s-1].id!==a.last)&&(e.__dirty=!0),a.endIdx=a.endIdxNew,a.last=s?t[s-1].id:NaN}else e.__dirty=!0,i.removeKey(r[o]),r.splice(o,1)}e.__dirty&&(w(e,function(t){t.drawIdx=t.startIdx}),n._hoverLayerDirty===_&&(n._hoverLayerDirty=1))},5)},t.prototype.clear=function(){return A(this._i,function(t){t.clear(),x(t)},k),this},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,A(this._i,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,A(this._i,function(t,e){i.merge(t,r[e],!0)})}},t.prototype.delLayer=function(t){for(var e=this._i.layerStack,r=this._i.layers,n=e.length-1;n>=0;n--){var i=e[n];if(i.zl===t){var o=r[t][i.zl2];if(o.__builtin__)continue;if(e.splice(n,1),r[t][i.zl2]=void 0,!o.virtual){var a=o.dom.parentNode;a&&a.removeChild(o.dom)}}}},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;null!=t&&(n.width=t),null!=e&&(n.height=e),t=(0,l.YC)(i,0,n),e=(0,l.YC)(i,1,n),r.style.display="",(this._width!==t||e!==this._height)&&(r.style.width=t+"px",r.style.height=e+"px",A(this._i,function(r){r.resize(t,e)}),this.refresh({paintAll:!0})),this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this._ensureLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){i.each(this._i.layers[t],function(t){t&&!t.__builtin__&&t.clear()})},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._i=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[314159][0].dom;var e=new y("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;A(this._i,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,beforeBrushParam:{}},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var c=a[s];(0,u.V$)(r,c,o)}(0,u.v6)(r,o)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function O(t){t.registerPainter("canvas",C)}},65387(t,e,r){"use strict";var n=r(89899),i=function(){function t(){}return t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();n.tQ(i),e.A=i},76092(t,e,r){"use strict";var n=r(65959),i=r(32936),o=r(74900),a=r(27058),s=r(65387),l=r(44176),u=r(12070),c=r(1628),h=r(48898),f=r(13496),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},p=function(t){function e(r){var n=t.call(this)||this;n.type="time",n.parse=e.parse,n._locale=r.locale,n._useUTC=r.useUTC,n._interval=0;var i=(0,u.yM)(n,r),o=(0,h.zk)(n,i,null);return n.brk=o.brk,n}return(0,n.C6)(e,t),e.prototype.getLabel=function(t){return(0,o.GP)(t.value,o.Lm[(0,o.$9)((0,o.ym)(this._minLevelUnit))]||o.Lm.second,this._useUTC,this._locale)},e.prototype.getFormattedLabel=function(t,e,r){return(0,o.X_)(t,e,r,this._locale,this._useUTC)},e.prototype.getTicks=function(t){t=t||{};var e=this._interval,r=(0,h.nl)(this),n=(0,u.mn)(),a=this.brk,s=n&&a,c=[];if(!e)return c;var d=this._useUTC;if(s&&"only_break"===t.breakTicks)return(0,u.mn)().addBreaksToTicks(c,a.breaks,r),c;c=function(t,e,r,n,a,s){for(var u=o.F7,c=0,h=[],d=[],p=0,g=0,m=0;m<u.length;++m){var _=(0,o.ym)(u[m]);if((0,o.ce)(u[m])&&(!function(t,a,u){var h=[],f=!a.length;if(!y((0,o.ym)(t),n[0],n[1],r)){f&&(a=[{value:(m=n[0],_=Math.max(0,(0,l.indexOf)(o.vy,t)-1),(0,o._l)(new Date(m),o.vy[_],r).getTime())},{value:n[1]}]);for(var d=0;d<a.length-1;d++){var p=a[d].value,g=a[d+1].value;if(p!==g){var m,_,b,x,w,S=void 0,A=void 0,k=void 0;switch(t){case"year":S=Math.max(1,Math.round(e/o.CZ/365)),A=(0,o.hY)(r),k=(0,o.tM)(r);break;case"half-year":case"quarter":case"month":S=(b=e/(30*o.CZ))>6?6:b>3?3:b>2?2:1,A=(0,o.jJ)(r),k=(0,o.xu)(r);break;case"week":case"half-week":case"day":S=(x=e/o.CZ)>16?16:x>7.5?7:x>3.5?4:x>1.5?2:1,A=(0,o.bP)(r),k=(0,o.ti)(r);break;case"half-day":case"quarter-day":case"hour":S=(w=e/o.MA)>12?12:w>6?6:w>3.5?4:w>2?2:1,A=(0,o.iC)(r),k=(0,o.Yd)(r);break;case"minute":S=v(e,!0),A=(0,o.yB)(r),k=(0,o.KF)(r);break;case"second":S=v(e,!1),A=(0,o.Wf)(r),k=(0,o.ww)(r);break;case"millisecond":S=i.JB(i.Cm(e,!0),1),A=(0,o.Zz)(r),k=(0,o.FP)(r)}g>=n[0]&&p<=n[1]&&function(t,e,r,i,o,a){for(var l,u,h,f=((l=new Date(0))[o](1),u=l.getTime(),l[o](1+t),h=l.getTime()-u,function(t,e){return Math.max(0,Math.round((e-t)/h))}),d=e,p=new Date(d);d<r&&d<=n[1]&&(a.push({value:d}),!(c++>3e3));)if(p[o](p[i]()+t),d=p.getTime(),s){var g=s.calcNiceTickMultiple(d,f);g>0&&(p[o](p[i]()+g*t),d=p.getTime())}a.push({value:d,notAdd:d>n[1]})}(S,p,g,A,k,h),"year"===t&&u.length>1&&0===d&&u.unshift({value:u[0].value-S})}}for(var d=0;d<h.length;d++)u.push(h[d])}}(u[m],h[h.length-1]||[],d),_!==(u[m+1]?(0,o.ym)(u[m+1]):null))){if(d.length){g=p,d.sort(function(t,e){return t.value-e.value});for(var b=[],x=0;x<d.length;++x){var w=d[x].value;(0===x||d[x-1].value!==w)&&(b.push(d[x]),w>=n[0]&&w<=n[1]&&p++)}var S=a/e;if(p>1.5*S&&g>S/1.5||(h.push(b),p>S||t===u[m]))break}d=[]}}for(var A=(0,l.filter)((0,l.map)(h,function(t){return(0,l.filter)(t,function(t){return t.value>=n[0]&&t.value<=n[1]&&!t.notAdd})}),function(t){return t.length>0}),k=A.length-1,M=[],m=0;m<A.length;++m)for(var T=A[m],C=0;C<T.length;++C){var O=(0,o.WD)(T[C].value,r);M.push({value:T[C].value,time:{level:k-m,upperTimeUnit:O,lowerTimeUnit:O}})}(0,f.R3)(M,f.qQ,null),M.sort(function(t,e){return t.value-e.value});var I=M[0],D=M[M.length-1],E=(0,o.WD)(n[0],r),L=(0,o.WD)(n[1],r);return(!I||I.value>n[0])&&M.unshift({value:n[0],time:{level:0,upperTimeUnit:E,lowerTimeUnit:E},notNice:!0}),(!D||D.value<n[1])&&M.push({value:n[1],time:{level:0,upperTimeUnit:L,lowerTimeUnit:L},notNice:!0}),M}(this._minLevelUnit,this._approxInterval,d,r,(0,h.t5)(this),a);var p=o.vy.length-1,g=0;return(0,l.each)(c,function(t){t.time&&(p=Math.min(p,(0,l.indexOf)(o.vy,t.time.upperTimeUnit)),g=Math.max(g,t.time.level))}),s&&(0,u.mn)().pruneTicksByBreak(t.pruneByBreak,c,a.breaks,function(t){return t.value},this._approxInterval,r),s&&"none"!==t.breakTicks&&(0,u.mn)().addBreaksToTicks(c,a.breaks,r,function(t){for(var e=Math.max((0,l.indexOf)(o.vy,(0,o.WD)(t.vmin,d)),(0,l.indexOf)(o.vy,(0,o.WD)(t.vmax,d))),r=0,n=0;n<o.vy.length;n++)if(!y(o.vy[n],t.vmin,t.vmax,d)){r=n;break}var i=Math.min(r,p),a=Math.max(i,e);return{level:g,lowerTimeUnit:o.vy[a],upperTimeUnit:o.vy[i]}}),c},e.prototype.getMinorTicks=function(t){return(0,c.a)(this,t,(0,u.DL)(this),this._interval)},e.prototype.setTimeInterval=function(t){this._interval=t.interval,this._approxInterval=t.approxInterval,this._minLevelUnit=t.minLevelUnit},e.parse=function(t){return(0,l.isNumber)(t)?Math.round(t):+i._U(t)},e.type="time",e}(s.A),g=[["second",o.OY],["minute",o.iW],["hour",o.MA],["quarter-day",6*o.MA],["half-day",12*o.MA],["day",1.2*o.CZ],["half-week",3.5*o.CZ],["week",7*o.CZ],["month",31*o.CZ],["quarter",95*o.CZ],["half-year",o.$H/2],["year",o.$H]];function y(t,e,r,n){return(0,o._l)(new Date(e),t,n).getTime()===(0,o._l)(new Date(r),t,n).getTime()}function v(t,e){return(t/=e?o.iW:o.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}var m=function(t,e){var r=t.getExtent();if(r[0]===r[1]&&(r[0]-=o.CZ,r[1]+=o.CZ),r[1]===-1/0&&r[0]===1/0){var n=new Date;r[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),r[0]=r[1]-o.CZ}t.setExtent(r[0],r[1]);var i=(0,a.Ev)(e.splitNumber,10),s=(0,h.t5)(t)/i,l=e.minInterval,u=e.maxInterval;null!=l&&s<l&&(s=l),null!=u&&s>u&&(s=u);var c=g.length,f=Math.min(d(g,s,0,c),c-1),p=g[f][1],y=g[Math.max(f-1,0)][0];t.setTimeInterval({approxInterval:s,interval:p,minLevelUnit:y})};s.A.registerClass(p),e.A=p,r.d(e,{R:()=>m})},12070(t,e,r){"use strict";function n(){return null}function i(t,e){var r=n(),i=e.breakOption,o=e.breakParsed;return!o&&r&&(o=r.parseAxisBreakOption(i,t)),o}function o(t){var e=t.brk;return e?e.breaks:[]}function a(t){var e=t.brk;return!!e&&e.hasBreaks()}r.d(e,{Bd:()=>a,DL:()=>o,mn:()=>n,yM:()=>i})},27058(t,e,r){"use strict";var n=r(32936),i=r(13496),o=r(48898);function a(t){return s(t)||u(t)}function s(t){return"interval"===t.type}function l(t){return"time"===t.type}function u(t){return"log"===t.type}function c(t){return"ordinal"===t.type}function h(t){var e=(0,n.NX)(t),r=(0,n.z4)(10,e),i=(0,n.jn)(t/r);return i?2===i?i=3:3===i?i=5:i*=2:i=1,(0,n.LI)(i*r,-e)}function f(t){return(0,n.XV)(t)+2}function d(t,e){return(0,n.tV)(t)/(0,n.tV)(e)}function p(t,e,r){var i=r&&r.lookup;if(i){for(var o=0;o<i.from.length;o++)if(t===i.from[o])return i.to[o]}return(0,n.z4)(e,t)}function g(t,e,r){var o=t.slice();if(o[0]===o[1]){var a=r&&r.ctnShp;if(0!==o[0]){var s=(0,n.NY)(o[0]);e[1]||(o[1]+=s/2),o[0]-=s/2}else a&&(o[0]=-1),o[1]=1}return(0,i.fA)(o[0])&&(0,i.fA)(o[1])||(o[0]=0,o[1]=1),o[1]<o[0]&&o.reverse(),o}function y(t,e){return[t[0]!==e[0],t[1]!==e[1]]}function v(t,e){return t=t||e,(0,n.jn)((0,n.JB)(t,1))}function m(t,e,r){var n=(0,o.nl)(t),i=n[0],a=t.count(),s=Math.max((e||0)+1,1);0!==i&&s>1&&a/s>2&&(i=Math.round(Math.ceil(i/s)*s)),i!==n[0]&&u(n[0],!0,!0);for(var l=i;l<=n[1];l+=s)u(l,!1,l===n[0]||l===n[1]);function u(t,e,n){r({value:t,offInterval:e},n)}l-s!==n[1]&&u(n[1],!0,!0)}r.d(e,{Ev:()=>v,F:()=>u,Mj:()=>p,Ob:()=>g,Qw:()=>s,_v:()=>y,gQ:()=>m,kH:()=>h,oY:()=>l,qe:()=>d,rf:()=>a,u$:()=>f,wl:()=>c})},1628(t,e,r){"use strict";var n=r(32936),i=r(12070),o=r(27058);function a(t,e,r,a){for(var s=t.getTicks({expandToNicedExtent:!0}),l=[],u=t.getExtent(),c=1;c<s.length;c++){var h=s[c],f=s[c-1];if(!f.break&&!h.break){for(var d=0,p=[],g=(h.value-f.value)/e,y=(0,o.u$)(g);d<e-1;){var v=(0,n.LI)(f.value+(d+1)*g,y);v>u[0]&&v<u[1]&&p.push(v),d++}var m=(0,i.mn)();m&&m.pruneTicksByBreak("auto",p,r,function(t){return t},a,u),l.push(p)}}return l}r.d(e,{a:()=>a})},48898(t,e,r){"use strict";var n=r(44176),i=r(13496),o=r(12070),a=(0,n.keys)({needTransform:1,normalize:1,scale:1,transformIn:1,transformOut:1,contain:1,getExtent:1,getExtentUnsafe:1,setExtent:1,setExtent2:1,getFilter:1,sanitize:1,getDefaultStartValue:1,freeze:1});function s(t,e,r){t=t||{};var s,l,u,c,h,f=(0,o.mn)();if(f){var d=f.createBreakScaleMapper(e,r);d.hasBreaks()&&((0,n.each)(a,function(e){d[e]&&(t[e]=(0,n.bind)(d[e],d))}),h=d)}return null==h&&(s=t,l=r,c=[],(u=s||{})._extents=c,c[0]=l?l.slice():(0,i.X1)(),(0,n.extend)(u,p)),{brk:h,mapper:t}}function l(t,e){(0,n.each)(a,function(r){t[r]=e[r]})}function u(t,e){t.freeze=n.noop}function c(t){return t.getExtentUnsafe(0,2)}function h(t,e){return t.getExtentUnsafe(1,e)||t.getExtentUnsafe(0,e)}function f(t){var e=h(t,3);return e[1]-e[0]}function d(t){var e=t.getExtentUnsafe(0,3);return e[1]-e[0]}var p={needTransform:function(){return!1},normalize:function(t){var e=this._extents[1]||this._extents[0];return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},scale:function(t){var e=this._extents[1]||this._extents[0];return t*(e[1]-e[0])+e[0]},transformIn:function(t){return t},transformOut:function(t){return t},contain:function(t){var e=h(this,null);return t>=e[0]&&t<=e[1]},getExtent:function(){return this._extents[0].slice()},getExtentUnsafe:function(t){return this._extents[t]},setExtent:function(t,e){g(this._extents,0,t,e)},setExtent2:function(t,e,r){var n=this._extents;n[t]||(n[t]=n[0].slice()),g(n,t,e,r)},freeze:function(){}};function g(t,e,r,n){(0,i.Xe)(r,n)&&(t[e][0]=r,t[e][1]=n)}r.d(e,{GU:()=>1,Gj:()=>h,N2:()=>f,QO:()=>2,Z0:()=>l,fU:()=>0,nl:()=>c,t5:()=>d,w2:()=>u,zk:()=>s})},89899(t,e,r){"use strict";var n=r(65959),i=r(44176),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=d,r.superApply=p,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 d(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 p(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]}}r.d(e,{CC:()=>s,Od:()=>f,_E:()=>l,gq:()=>u,q7:()=>c,tQ:()=>g})},84310(t,e,r){"use strict";var n=r(44176),i=r(89899),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,d={};for(n.each(t,function(t){d[t]=!0});f.length;){var p=f.pop(),g=h[p],y=!!d[p];y&&(o.call(a,p,g.originalDeps.slice()),delete d[p]),n.each(g.successor,y?m:v)}n.each(d,function(){throw Error("")})}function v(t){h[t].entryCount--,0===h[t].entryCount&&f.push(t)}function m(t){d[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)}r.d(e,{$Q:()=>a,A6:()=>s,G_:()=>u,vf:()=>l})},45725(t,e,r){"use strict";var n=(0,r(13496).$r)();function i(t){n(t).prepare={}}function o(t){n(t).fullUpdate={}}function a(t){return n(t).prepare}function s(t){return n(t).fullUpdate}r.d(e,{Q3:()=>i,US:()=>s,jN:()=>a,n$:()=>o})},30982(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(27283),s=r(44176),l=r(32936),u=r(38929),c=r(45781),h=r(3311),f=new o,d=new a.Ay(100),p=["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<p.length;++m){var _=a[p[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=d.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)})),k=y(w),M=!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=k*A.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();M&&(M.width=C.width*r,M.height=C.height*r,f=M.getContext("2d")),function(){f&&(f.clearRect(0,0,M.width,M.height),a.backgroundColor&&(f.fillStyle=a.backgroundColor,f.fillRect(0,0,M.width,M.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-k,s=0,l=0,h=0;o<C.height;){if(s%2==0){for(var d=l/2%S.length,p=0,g=0,y=0;p<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,_=p+x[h][g]*m,b=o+w[s]*m,A=x[h][g]*a.symbolSize,O=w[s]*a.symbolSize,I=y/2%S[d].length;!function(t,e,o,s,l){var h=i?1:r,d=(0,u.v5)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(i){var p=n.painter.renderOneToVNode(d);p&&T.children.push(p)}else(0,c.Xi)(f,d)}(_,b,A,O,S[d][I])}p+=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&&d.put(o,M||T),t.image=M,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}},64485(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})},58742(t,e,r){"use strict";var n=r(44176),i=r(89950),o=r(32936),a=r(74900);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:"-"}var l="time"===e,u=t instanceof Date;if(l||u){var c=l?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",r);if(u)return"-"}if("ordinal"===e)return n.isStringSafe(t)?i(t):n.isNumber(t)&&(0,o.YC)(t)?t+"":"-";var h=(0,o.Sm)(t);return(0,o.YC)(h)?s(h):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 d(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 d=e[u][a[c]];t=t.replace(f(h[c],u),r?(0,i.Me)(d):d)}return t}function p(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"](),d=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)(d,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)}r.d(e,{Cb:()=>l,JW:()=>m,QX:()=>u,YK:()=>d,fU:()=>g,he:()=>v,ob:()=>s,qg:()=>p,x5:()=>y,yC:()=>c})},88523(t,e,r){"use strict";r.r(e),r.d(e,{Arc:()=>F.A,BezierCurve:()=>N.A,BoundingRect:()=>U.Ay,Circle:()=>I.A,CompoundPath:()=>j.A,Ellipse:()=>D.A,Group:()=>C.A,HOVER_LAYER_FOR_INCREMENTAL:()=>tr,HOVER_LAYER_FROM_THRESHOLD:()=>te,HOVER_LAYER_NO:()=>tt,Image:()=>T.Ay,IncrementalDisplayable:()=>q.A,Line:()=>B.A,LinearGradient:()=>H.A,OrientedBoundingRect:()=>W.A,Path:()=>i.Ay,Point:()=>Z.A,Polygon:()=>R.A,Polyline:()=>P.A,RadialGradient:()=>V.A,Rect:()=>z.A,Ring:()=>L.A,Sector:()=>E.A,Text:()=>O.Ay,WH:()=>J,XY:()=>Q,applyTransform:()=>tv,calcZ2Range:()=>tz,clipPointsByRect:()=>tb,clipRectByRect:()=>tx,createIcon:()=>tw,decomposeTransform:()=>tF,ensureCopyRect:()=>tL,ensureCopyTransform:()=>tR,expandOrShrinkRect:()=>tk,extendPath:()=>to,extendShape:()=>tn,getCurrentCanvasPainter:()=>tH,getShapeClass:()=>ts,getTransform:()=>ty,groupTransition:()=>t_,initProps:()=>$.LW,isBoundingRectAxisAligned:()=>tD,isElementRemoved:()=>$.LR,lineLineIntersect:()=>tA,linePolygonIntersect:()=>tS,makeImage:()=>tu,makePath:()=>tl,mergePath:()=>th,payloadDisableAnimation:()=>tN,registerShape:()=>ta,removeElement:()=>$.Nz,removeElementWithFadeOut:()=>$.t5,resizePath:()=>tf,retrieveZInfo:()=>tP,setTooltipConfig:()=>tC,subPixelOptimize:()=>tg,subPixelOptimizeLine:()=>td,subPixelOptimizeRect:()=>tp,transformDirection:()=>tm,traverseElements:()=>tI,traverseUpdateZ:()=>tB,updateProps:()=>$.oi});var n=r(65959),i=r(95283),o=r(1229),a=r(67003),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2,h=r(44176),f=Math.sqrt,d=Math.sin,p=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=p(h)*(t-r)/2+d(h)*(e-n)/2,_=-1*d(h)*(t-r)/2+p(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+p(h)*w-d(h)*S,k=(e+n)/2+d(h)*w+p(h)*S,M=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 I=Math.round(O/g*1e6)/1e6;O=2*g+I%2*g}c.addData(u,A,k,a,s,M,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),d=void 0,p=h.match(x)||[],g=p.length,y=0;y<g;y++)p[y]=parseFloat(p[y]);for(var v=0;v<g;){var m=void 0,w=void 0,S=void 0,A=void 0,k=void 0,M=void 0,T=void 0,C=n,O=i,I=void 0,D=void 0;switch(f){case"l":n+=p[v++],i+=p[v++],d=l.L,r.addData(d,n,i);break;case"L":n=p[v++],i=p[v++],d=l.L,r.addData(d,n,i);break;case"m":n+=p[v++],i+=p[v++],d=l.M,r.addData(d,n,i),a=n,s=i,f="l";break;case"M":n=p[v++],i=p[v++],d=l.M,r.addData(d,n,i),a=n,s=i,f="L";break;case"h":n+=p[v++],d=l.L,r.addData(d,n,i);break;case"H":n=p[v++],d=l.L,r.addData(d,n,i);break;case"v":i+=p[v++],d=l.L,r.addData(d,n,i);break;case"V":i=p[v++],d=l.L,r.addData(d,n,i);break;case"C":d=l.C,r.addData(d,p[v++],p[v++],p[v++],p[v++],p[v++],p[v++]),n=p[v-2],i=p[v-1];break;case"c":d=l.C,r.addData(d,p[v++]+n,p[v++]+i,p[v++]+n,p[v++]+i,p[v++]+n,p[v++]+i),n+=p[v-2],i+=p[v-1];break;case"S":m=n,w=i,I=r.len(),D=r.data,e===l.C&&(m+=n-D[I-4],w+=i-D[I-3]),d=l.C,C=p[v++],O=p[v++],n=p[v++],i=p[v++],r.addData(d,m,w,C,O,n,i);break;case"s":m=n,w=i,I=r.len(),D=r.data,e===l.C&&(m+=n-D[I-4],w+=i-D[I-3]),d=l.C,C=n+p[v++],O=i+p[v++],n+=p[v++],i+=p[v++],r.addData(d,m,w,C,O,n,i);break;case"Q":C=p[v++],O=p[v++],n=p[v++],i=p[v++],d=l.Q,r.addData(d,C,O,n,i);break;case"q":C=p[v++]+n,O=p[v++]+i,n+=p[v++],i+=p[v++],d=l.Q,r.addData(d,C,O,n,i);break;case"T":m=n,w=i,I=r.len(),D=r.data,e===l.Q&&(m+=n-D[I-4],w+=i-D[I-3]),n=p[v++],i=p[v++],d=l.Q,r.addData(d,m,w,n,i);break;case"t":m=n,w=i,I=r.len(),D=r.data,e===l.Q&&(m+=n-D[I-4],w+=i-D[I-3]),n+=p[v++],i+=p[v++],d=l.Q,r.addData(d,m,w,n,i);break;case"A":S=p[v++],A=p[v++],k=p[v++],M=p[v++],T=p[v++],C=n,O=i,n=p[v++],_(C,O,n,i=p[v++],M,T,S,A,k,d=l.A,r);break;case"a":S=p[v++],A=p[v++],k=p[v++],M=p[v++],T=p[v++],C=n,O=i,n+=p[v++],_(C,O,n,i+=p[v++],M,T,S,A,k,d=l.A,r)}}("z"===f||"Z"===f)&&(d=l.Z,r.addData(d),n=a,i=s),e=d}return r.toStatic(),r}(t),n=(0,h.extend)({},e);return n.buildPath=function(t){var e=S(t);if(e&&t.canSave()){t.appendPath(r);var n=t.getContext();n&&t.rebuildPath(n,1)}else{var n=e?t.getContext():t;n&&r.rebuildPath(n,1)}},n.applyTransform=function(t){!function(t,e){if(e){var r,n,i,o,h,f,d=t.data,p=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<p;){switch(r=d[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]),k=c(-e[1]/A,e[0]/S);d[i]*=S,d[i++]+=x,d[i]*=A,d[i++]+=w,d[i++]*=S,d[i++]*=A,d[i++]+=k,d[i++]+=k,i+=2,o=i;break;case m:f[0]=d[i++],f[1]=d[i++],(0,a.applyTransform)(f,f,e),d[o++]=f[0],d[o++]=f[1],f[0]+=d[i++],f[1]+=d[i++],(0,a.applyTransform)(f,f,e),d[o++]=f[0],d[o++]=f[1]}for(h=0;h<n;h++){var M=l[h];M[0]=d[i++],M[1]=d[i++],(0,a.applyTransform)(M,M,e),d[o++]=M[0],d[o++]=M[1]}}t.increaseVersion()}}(r,t),this.dirtyShape()},n}var k=r(52669),M=r(97778),T=r(72590),C=r(59528),O=r(80812),I=r(55089),D=r(7883),E=r(86007),L=r(47611),R=r(17759),P=r(94965),z=r(47732),B=r(62019),N=r(40143),F=r(81349),j=r(13345),H=r(48234),V=r(54580),U=r(63406),W=r(78938),Z=r(27116),q=r(40917),G=r(89887),Y=r(81124),$=r(2728),X=r(32936),K={},Q=["x","y"],J=["width","height"],tt=0,te=1,tr=2;function tn(t){return i.Ay.extend(t)}var ti=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 to(t,e){return ti(t,e)}function ta(t,e){K[t]=e}function ts(t){if(K.hasOwnProperty(t))return K[t]}function tl(t,e,r,n){var i=new w(A(t,e));return r&&("center"===n&&(r=tc(r,i.getBoundingRect())),tf(i,r)),i}function tu(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(tc(e,i))}}});return n}function tc(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 th=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 tf(t,e){if(t.applyTransform){var r=t.getBoundingRect().calculateTransform(e);t.applyTransform(r)}}function td(t,e){return G.eB(t,t,{lineWidth:e}),t}function tp(t,e){return G.Op(t,t,e),t}var tg=G.M7;function ty(t,e){for(var r=k.identity([]);t&&t!==e;)k.mul(r,t.getLocalTransform(),r),t=t.parent;return r}function tv(t,e,r){return e&&!(0,h.isArrayLike)(e)&&(e=M.Ay.getLocalTransform(e)),r&&(e=k.invert([],e)),a.applyTransform([],t,e)}function tm(t,e,r){var n=0===e[4]||0===e[5]||0===e[0]?1:(0,X.NY)(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:(0,X.NY)(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-i:"bottom"===t?i:0];return o=tv(o,e,r),(0,X.NY)(o[0])>(0,X.NY)(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function t_(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,$.oi)(t,n,r,(0,Y.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.clone)(t.shape)),e}}function tb(t,e){return(0,h.map)(t,function(t){var r=t[0];r=(0,X.JB)(r,e.x),r=(0,X.rp)(r,e.x+e.width);var n=t[1];return n=(0,X.JB)(n,e.y),[r,n=(0,X.rp)(n,e.y+e.height)]})}function tx(t,e){var r=(0,X.JB)(t.x,e.x),n=(0,X.rp)(t.x+t.width,e.x+e.width),i=(0,X.JB)(t.y,e.y),o=(0,X.rp)(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 tw(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)):tl(t.replace("path://",""),n,r,"center")}function tS(t,e,r,n,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(tA(t,e,r,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function tA(t,e,r,n,i,o,a,s){var l,u=r-t,c=n-e,h=a-i,f=s-o,d=h*c-u*f;if((l=d)<=1e-6&&l>=-1e-6)return!1;var p=t-i,g=e-o,y=(p*c-u*g)/d;if(y<0||y>1)return!1;var v=(p*f-h*g)/d;return!(v<0)&&!(v>1)}function tk(t,e,r,n,i){return null==e||((0,h.isNumber)(e)?tM[0]=tM[1]=tM[2]=tM[3]=e:(tM[0]=e[0],tM[1]=e[1],tM[2]=e[2],tM[3]=e[3]),n&&(tM[0]=(0,X.JB)(0,tM[0]),tM[1]=(0,X.JB)(0,tM[1]),tM[2]=(0,X.JB)(0,tM[2]),tM[3]=(0,X.JB)(0,tM[3])),r&&(tM[0]=-tM[0],tM[1]=-tM[1],tM[2]=-tM[2],tM[3]=-tM[3]),tT(t,tM,"x","width",3,1,i&&i[0]||0),tT(t,tM,"y","height",0,2,i&&i[1]||0)),t}var tM=[0,0,0,0];function tT(t,e,r,n,i,o,a){var s=e[o]+e[i],l=t[n];t[n]+=s,a=(0,X.JB)(0,(0,X.rp)(a,l)),t[n]<a?(t[n]=a,t[r]+=e[i]>=0?-e[i]:e[o]>=0?l+e[o]:(0,X.NY)(s)>1e-8?(l-a)*e[i]/s:0):t[r]-=e[i]}function tC(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,Y.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 tO(t,e){var r;t.isGroup&&(r=e(t)),r||t.traverse(e)}function tI(t,e){if(t)if((0,h.isArray)(t))for(var r=0;r<t.length;r++)tO(t[r],e);else tO(t,e)}function tD(t){return!t||(0,X.NY)(t[1])<tE&&(0,X.NY)(t[2])<tE||(0,X.NY)(t[0])<tE&&(0,X.NY)(t[3])<tE}var tE=1e-5;function tL(t,e){return t?U.Ay.copy(t,e):e.clone()}function tR(t,e){return e?k.copy(t||k.create(),e):void 0}function tP(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}}function tz(t){var e=-1/0,r=1/0;function n(t){if(t&&!t.isGroup){var e=t.currentStates;if(e.length)for(var r=0;r<e.length;r++)i(t.states[e[r]]);i(t)}}function i(t){if(t){var n=t.z2;n>e&&(e=n),n<r&&(r=n)}}return tO(t,function(t){n(t),n(t.getTextContent()),n(t.getTextGuideLine())}),r>e&&(r=e=0),{min:r,max:e}}function tB(t,e,r){!function t(e,r,n,i){if(e.ignoreModelZ)return i;var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)i=(0,X.JB)(t(s[l],r,n,i),i);else e.z=r,e.zlevel=n,i=(0,X.JB)(e.z2||0,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,e,r,-1/0)}function tN(t){return t.animation={duration:0},t}function tF(t,e){return e?k.copy(tj.transform,e):k.identity(tj.transform),tj.decomposeTransform(),(0,M.IT)(t,tj),t}var tj=new M.Ay;function tH(t){var e=t.getZr().painter;return"canvas"===e.getType()?e:null}tj.transform=k.create(),K.circle=I.A,K.ellipse=D.A,K.sector=E.A,K.ring=L.A,K.polygon=R.A,K.polyline=P.A,K.rect=z.A,K.line=B.A,K.bezierCurve=N.A,K.arc=F.A},81124(t,e,r){"use strict";var n=(0,r(13496).$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"})}};r.d(e,{a:()=>i,z:()=>n})},57983(t,e,r){"use strict";var n=r(44176),i=r(63406),o=r(32936),a=r(58742),s=r(90063),l=n.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(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(),d=e.childAt(u+1),p=d&&d.getBoundingRect();if("horizontal"===t){var g=f.width+(p?-p.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+(p?-p.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 f(t,e){return{left:t.getShallow("left",e),top:t.getShallow("top",e),right:t.getShallow("right",e),bottom:t.getShallow("bottom",e),width:t.getShallow("width",e),height:t.getShallow("height",e)}}function d(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),d=(0,o.lo)(t.height,s),p=r[2]+r[0],g=r[1]+r[3],y=t.aspect;switch(isNaN(f)&&(f=n-c-g-l),isNaN(d)&&(d=s-h-p-u),null!=y&&(isNaN(f)&&isNaN(d)&&(y>n/s?f=.8*n:d=.8*s),isNaN(f)&&(f=y*d),isNaN(d)&&(d=f/y)),isNaN(l)&&(l=n-c-f-g),isNaN(u)&&(u=s-h-d-p),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-d/2-r[0];break;case"bottom":u=s-d-p}l=l||0,u=u||0,isNaN(f)&&(f=n-g-l-(c||0)),isNaN(d)&&(d=s-p-u-(h||0));var v=new i.Ay((e.x||0)+l+r[3],(e.y||0)+u+r[0],f,d);return v.margin=r,v}n.curry(h,"vertical"),n.curry(h,"horizontal");function p(t,e,r){var n,i,o,a,l=t.boxCoordinateSystem;if(l){var u=(0,s.fE)(t),c=u.coord,h=u.from;if(l.dataToLayout){o=1,a=h;var f=l.dataToLayout(c);n=f.contentRect||f.rect}else r&&r.enableLayoutOnlyByCenter&&l.dataToPoint&&(o=2,a=h,i=l.dataToPoint(c))}return null==o&&(o=1),1===o&&(n||(n={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),i=[n.x+n.width/2,n.y+n.height/2]),{type:o,refContainer:n,refPoint:i,boxCoordFrom:a}}function g(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.Ay(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();(l=l.clone()).applyTransform(f)}var p=d(n.defaults({width:l.width,height:l.height},e),r,o),g=u?p.x-l.x:0,y=c?p.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 y(t){var e=t.layoutMode||t.constructor.layoutMode;return n.isObject(e)?e:e?{type:e}:null}function v(t,e,r){var i=r&&r.ignoreSize;n.isArray(i)||(i=[i,i]);var o=s(c[0],0),a=s(c[1],1);function s(r,o){var a={},s=0,c={},h=0;if(l(r,function(e){c[e]=t[e]}),l(r,function(t){n.hasOwn(e,t)&&(a[t]=c[t]=e[t]),u(a,t)&&s++,u(c,t)&&h++}),i[o])return u(e,r[1])?c[r[2]]=null:u(e,r[2])&&(c[r[1]]=null),c;if(2===h||!s)return c;if(s>=2)return a;for(var f=0;f<r.length;f++){var d=r[f];if(!n.hasOwn(a,d)&&n.hasOwn(t,d)){a[d]=t[d];break}}return a}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function h(t,e,r){l(t,function(t){e[t]=r[t]})}h(c[0],t,o),h(c[1],t,a)}function m(t){var e,r;return e={},(r=t)&&e&&l(u,function(t){n.hasOwn(r,t)&&(e[t]=r[t])}),e}r.d(e,{Lj:()=>p,YA:()=>v,ad:()=>y,dV:()=>d,io:()=>f,m$:()=>g,vs:()=>m})},87827(t,e,r){"use strict";var n={},i="u">typeof console&&console.warn&&console.log;function o(t,e){!function(t,e,r){if(i){if(r){if(n[e])return;n[e]=!0}console[t]("[ECharts] "+e)}}("error",t,e)}function a(t){}function s(t){throw Error(t)}r.d(e,{$8:()=>s,aT:()=>a,z3:()=>o})},13496(t,e,r){"use strict";var n=r(44176),i=r(84957),o=r(32936),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 k=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=k,o=t,s=A,l=e,(0,n.each)(l,function(t,e){if(t&&null!=t.id){var r=p(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=k,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)&&d("name",n,t)){u[r].newOption=t,c[e]=null;return}}})),x||w?(h=k,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&&!d("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=k,m=e,(0,n.each)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=k,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?p(i.name):r?r.name:a+e,r)o.id=p(r.id);else if(null!=i.id)o.id=p(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(b.get(o.id))}b.set(o.id,t)}}),k}function d(t,e,r){var n=g(e[t],null),i=g(r[t],null);return null!=n&&null!=i&&n===i}function p(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===p(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=M(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},k={useDefault:!1,enableAll:!0,enableNone:!0};function M(t,e,r,n){n=n||A;var i=r.index,o=r.id,a=r.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=t.getComponent(e))?[l]:[],s}if("none"===i||!1===i)if(n.enableNone)return s.models=[],s;else i=-1;return"all"===i&&(i=n.enableAll?o=a=null:-1),s.models=t.queryComponents({mainType:e,index:i,id:o,name:a}),s}function T(t,e,r){var n={};n[e+"Id"]=t[e+"Id"],n[e+"Index"]=t[e+"Index"],n[e+"Name"]=t[e+"Name"];var i={mainType:e,query:n};return r&&(i.subType=r),i}function C(t,e,r){t.setAttribute?t.setAttribute(e,r):t[e]=r}function O(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function I(t){return"auto"===t?i.A.domSupported?"html":"richText":t||"html"}function D(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 d=t.getDimensionInfo(f);if(d&&"ordinal"===d.type)c[f]=(a<1&&r?r:i)[f];else{var p=r&&r[f]?r[f]:0,g=i[f],u=(g-p)*a+p;c[f]=(0,o.LI)(u,s?Math.max((0,o.XV)(p),(0,o.XV)(g)):e)}}return c}function E(){}function L(){return[1/0,-1/0]}function R(t,e){N(e)&&(e<t[0]&&(t[0]=e),e>t[1]&&(t[1]=e))}function P(t,e){N(e)&&e<t[0]&&(t[0]=e)}function z(t,e){N(e)&&e>t[1]&&(t[1]=e)}function B(t,e){F(e[0],e[1])&&(e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]))}function N(t){return null!=t&&isFinite(t)}function F(t,e){return N(t)&&N(e)&&t<=e}function j(t){var e=t[1]-t[0];return isFinite(e)&&e>=0}function H(t){F(t[0],t[1])&&t[0]>t[1]&&(t[0]=t[1])}function V(){var t="__ec_once_"+U++;return function(e,r){(0,n.hasOwn)(e,t)||(e[t]=1,r())}}E.prototype.reset=function(t,e,r,n){return this._list=t,this._step=n=n||1,this._idx=e,this._end=null!=r?r:n>0?t.length:0,this.item=null,this.key=NaN,this},E.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)};var U=(0,o.IH)();function W(t,e,r){var i=(0,n.createHashMap)(),o=0;(0,n.each)(t,function(n){var a=e(n),s=i.get(a)||0;r&&r(n,s),s||r||(t[o++]=n),i.set(a,s+1)}),r||(t.length=o)}function Z(t){return t.value+""}function q(t){return t+""}function G(t,e){return(0,n.retrieve2)(e,!0)?t.seriesIndex+2:0}function Y(t,e,r){var n=t.getData().count();return{progressiveRender:r.progressiveEnabled&&e.incrementalPrepareRender&&n>=r.threshold,large:t.get("large")&&n>=t.get("largeThreshold"),modDataCount:"mod"===t.get("progressiveChunkMode")?t.getData().count():null}}function $(t){return{overallReset:t}}r.d(e,{$r:()=>b,Ax:()=>B,Bq:()=>C,D$:()=>O,EV:()=>V,FM:()=>P,GX:()=>m,HB:()=>S,Il:()=>D,JO:()=>M,JS:()=>u,M5:()=>l,O0:()=>y,O2:()=>f,R3:()=>W,U2:()=>H,US:()=>A,UW:()=>k,X1:()=>L,XJ:()=>I,Xe:()=>F,Zk:()=>Y,_e:()=>w,cd:()=>q,dr:()=>T,fA:()=>N,i2:()=>G,i_:()=>z,le:()=>_,o1:()=>j,oh:()=>v,qB:()=>s,qQ:()=>Z,uQ:()=>$,vS:()=>g,vj:()=>c,vx:()=>R,zu:()=>h})},32936(t,e,r){"use strict";var n=r(44176),i=Math.min,o=Math.max,a=Math.abs,s=Math.round,l=Math.floor,u=Math.ceil,c=Math.pow,h=Math.log,f=Math.LN10,d=Math.PI,p=Math.random;function g(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 y(t,e,r){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return v(t,e,r)}function v(t,e,r){if(n.isString(t))return t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e+(r||0):parseFloat(t);return null==t?NaN:+t}function m(t,e,r){return isNaN(e)?r?""+t:+t:(e=i(o(0,e),20),t=(+t).toFixed(e),r?t:+t)}function _(t,e,r){return null==e&&(e=10),m(t,e,r)}function b(t){return t.sort(function(t,e){return t-e}),t}function x(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,r=0;r<15;r++,e*=10)if(s(t*e)/e===t)return r}return w(t)}function w(t){var e=t.toString().toLowerCase(),r=e.indexOf("e"),n=r>0?+e.slice(r+1):0,i=r>0?r:e.length,a=e.indexOf(".");return o(0,(a<0?0:i-1-a)-n)}function S(t,e){var r=i(o(-l(h(t[1]-t[0])/f)+s(h(a(e[1]-e[0]))/f),0),20);return isFinite(r)?r:20}function A(t,e,r){var n=a(t[1]-t[0]);if(!isFinite(n)||0===n)return NaN;var i=o(0,u(-(h(2*a(r||1)*a(n))/f)+h(a(e))/f));return isFinite(i)||(i=NaN),i}function k(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=c(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 l(t)}),u=n.reduce(s,function(t,e){return t+e},0),h=n.map(o,function(t,e){return t-s[e]});u<a;){for(var f=-1/0,d=null,p=0,g=h.length;p<g;++p)h[p]>f&&(f=h[p],d=p);++s[d],h[d]=0,++u}return n.map(s,function(t){return t/i})}(t,r)[e]||0}function M(t,e){var r=o(x(t),x(e)),n=t+e;return r>20?n:m(n,r)}var T=c(2,53)-1;function C(t){var e=2*d;return(t%e+e)%e}function O(t){return t>-1e-4&&t<1e-4}var I=/^(?:(\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 D(t){if(t instanceof Date)return t;if(n.isString(t)){var e=I.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(s(t))}function E(t){return c(10,L(t))}function L(t){if(0===t)return 0;var e=l(h(t)/f);return t/c(10,e)>=10&&e++,e}function R(t,e){var r=L(t),n=c(10,r),i=t/n;return m(t=(2===e?1: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)}function P(t,e){var r=(t.length-1)*e+1,n=l(r),i=+t[n-1],o=r-n;return o?i+o*(t[n]-i):i}function z(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 B(t){var e=parseFloat(t);return e==t&&(0!==e||!n.isString(t)||0>=t.indexOf("x"))?e:NaN}function N(t){return!isNaN(B(t))}function F(){return s(9*p())}function j(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)}function H(t){return null!=t&&isFinite(t)}r.d(e,{Cb:()=>g,Cm:()=>R,Dx:()=>2,EO:()=>A,IH:()=>F,Is:()=>T,JB:()=>o,LI:()=>m,LQ:()=>v,NX:()=>L,NY:()=>a,Sm:()=>B,Tr:()=>M,XV:()=>x,Y6:()=>b,YC:()=>H,YV:()=>P,Zr:()=>l,_7:()=>C,_U:()=>D,au:()=>E,dh:()=>O,eq:()=>_,hb:()=>S,ih:()=>u,jn:()=>s,kf:()=>N,lQ:()=>j,lo:()=>y,rp:()=>i,sL:()=>z,tV:()=>h,wp:()=>k,y6:()=>w,z4:()=>c})},92159(t,e,r){"use strict";var n=r(44176),i=r(81124),o=r(50968),a=r(13496),s=r(95283),l=r(81615),u=1,c={},h=(0,a.$r)(),f=(0,a.$r)(),d=["emphasis","blur","select"],p=["normal","emphasis","blur","select"],g="highlight",y="downplay",v="select",m="unselect",_="toggleSelect";function b(t){return null!=t&&"none"!==t}function x(t,e,r){t.onHoverStateChange&&(t.hoverState||0)!==r&&t.onHoverStateChange(e),t.hoverState=r}function w(t){x(t,"emphasis",2)}function S(t){2===t.hoverState&&x(t,"normal",0)}function A(t){x(t,"blur",1)}function k(t){1===t.hoverState&&x(t,"normal",0)}function M(t){t.selected=!0}function T(t){t.selected=!1}function C(t,e,r){e(t,r),t.isGroup&&t.traverse(function(t){e(t,r)})}function O(t,e){var r,i,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,r){var i=e&&(0,n.indexOf)(e,"select")>=0,a=!1;if(t instanceof s.Ay){var l=h(t),u=i&&l.selectFill||l.normalFill,c=i&&l.selectStroke||l.normalStroke;if(b(u)||b(c)){var f=(r=r||{}).style||{};"inherit"===f.fill?(a=!0,r=(0,n.extend)({},r),(f=(0,n.extend)({},f)).fill=u):!b(f.fill)&&b(u)?(a=!0,r=(0,n.extend)({},r),(f=(0,n.extend)({},f)).fill=(0,o.liftColor)(u)):!b(f.stroke)&&b(c)&&(a||(r=(0,n.extend)({},r),f=(0,n.extend)({},f)),f.stroke=(0,o.liftColor)(c)),r.style=f}}if(r&&null==r.z2){a||(r=(0,n.extend)({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:10)}return r}(this,e,c);else if("blur"===t)return r=c,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=c;if(f&&null==f.z2){f=(0,n.extend)({},f);var d=this.z2SelectLift;f.z2=this.z2+(null!=d?d:9)}return f}}return c}function I(t){t.stateProxy=O;var e=t.getTextContent(),r=t.getTextGuideLine();e&&(e.stateProxy=O),r&&(r.stateProxy=O)}function D(t,e){F(t,e)||t.__highByOuter||C(t,w)}function E(t,e){F(t,e)||t.__highByOuter||C(t,S)}function L(t,e){t.__highByOuter|=1<<(e||0),C(t,w)}function R(t,e){(t.__highByOuter&=~(1<<(e||0)))||C(t,S)}function P(t){C(t,A)}function z(t){C(t,k)}function B(t){C(t,M)}function N(t){C(t,T)}function F(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function j(t){var e=t.getModel(),r=[],i=[];e.eachComponent(function(e,n){var o=f(n),a=(0,l.k)(t,n),s="series"===e;s||i.push(a),o.isBlured&&(a.group.traverse(function(t){k(t)}),s&&r.push(n)),o.isBlured=!1}),(0,n.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(r,!1,e)})}function H(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&&z(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 h=c&&l?c===l:o;if(!("series"===r&&!o||"coordinateSystem"===r&&!h||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||A(t)}),(0,n.isArrayLike)(e))a(t.getData(),e);else if((0,n.isObject)(e))for(var d=(0,n.keys)(e),p=0;p<d.length;p++)a(t.getData(d[p]),e[d[p]]);u.push(t),f(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 V(t,e,r){if(null!=t&&null!=e){var n=r.getModel().getComponent(t,e);if(n){f(n).isBlured=!0;var i=r.getViewOfComponentModel(n);i&&i.focusBlurEnabled&&i.group.traverse(function(t){A(t)})}}}function U(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);H(o,f.focus,f.blurScope,r)}else{var d=t.get(["emphasis","focus"]),p=t.get(["emphasis","blurScope"]);null!=d&&H(o,d,p,r)}}}function W(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 Z(t,e,r){var o=(0,i.z)(t),a=W(o.componentMainType,o.componentIndex,o.componentHighDownName,r),s=a.dispatchers,l=a.focusSelf;s?(l&&V(o.componentMainType,o.componentIndex,r),(0,n.each)(s,function(t){return D(t,e)})):(H(o.seriesIndex,o.focus,o.blurScope,r),"self"===o.focus&&V(o.componentMainType,o.componentIndex,r),D(t,e))}function q(t,e,r){j(r);var o=(0,i.z)(t),a=W(o.componentMainType,o.componentIndex,o.componentHighDownName,r).dispatchers;a?(0,n.each)(a,function(t){return E(t,e)}):E(t,e)}function G(t,e,r){if(tr(e)){var i=e.dataType,o=t.getData(i),s=(0,a.le)(o,e);(0,n.isArray)(s)||(s=[s]),t[e.type===_?"toggleSelect":e.type===v?"select":"unselect"](s,i)}}function Y(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)?B(e):N(e)})})}function $(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 X(t,e,r){J(t,!0),C(t,I),Q(t,e,r)}function K(t,e,r,n){n?J(t,!1):X(t,e,r)}function Q(t,e,r){var n=(0,i.z)(t);null!=e?(n.focus=e,n.blurScope=r):n.focus&&(n.focus=null)}function J(t,e){var r=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!r||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!r)}function tt(t){return!!(t&&t.__highDownDispatcher)}function te(t){var e=c[t];return null==e&&u<=32&&(e=c[t]=u++),e}function tr(t){var e=t.type;return e===v||e===m||e===_}function tn(t){var e=t.type;return e===g||e===y}function ti(t){var e=h(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}r.d(e,{BV:()=>d,CA:()=>10,DW:()=>I,Du:()=>V,HY:()=>L,Iz:()=>q,JC:()=>z,JI:()=>B,Lm:()=>K,Lv:()=>v,Lx:()=>tr,PW:()=>y,Q6:()=>_,QX:()=>P,SD:()=>R,T$:()=>tn,Tl:()=>W,U2:()=>m,_m:()=>Z,_n:()=>te,e3:()=>2,fz:()=>ti,gM:()=>"selectchanged",gR:()=>Q,gd:()=>N,h5:()=>g,iJ:()=>X,ix:()=>J,jA:()=>Y,lV:()=>U,mc:()=>$,qR:()=>j,t6:()=>G,u6:()=>tt,wV:()=>p,zX:()=>1})},38929(t,e,r){"use strict";var n=r(44176),i=r(95283),o=r(62019),a=r(47732),s=r(55089),l=r(88523),u=r(63406),c=r(26812),h=r(32936),f=r(53471),d=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()}}),g=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),d=.6*a,p=.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*d,l+s+f*d,r,n-p,r,n),t.bezierCurveTo(r,n-p,r-c+h*d,l+s+f*d,r-c,l+s),t.closePath()}}),y=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()}}),v={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:p,pin:g,arrow:y,triangle:d},m={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}},_={};(0,n.each)(v,function(t,e){_[e]=new t});var b=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=_[n];i||(i=_[n="rect"]),m[n](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,r)}}});function x(t,e){if("image"!==this.type){var r=this.style;this.__isEmptyBrush?(r.stroke=t,r.fill=e||f.A.color.neutral00,r.lineWidth=2):"line"===this.shape.symbolType?r.stroke=t:r.fill=t,this.markRedraw()}}function w(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.Ay(e,r,n,i),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Ay(e,r,n,i),a?"center":"cover"):new b({shape:{symbolType:t,x:e,y:r,width:n,height:i}})).__isEmptyBrush=c,s.setColor=x,o&&s.setColor(o),s}function S(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]}r.d(e,{$V:()=>_,hV:()=>S,v5:()=>w})},76525(t,e,r){"use strict";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 d=s||e,p=s||r;s=null,i=n-(p?l:u)-d,clearTimeout(c),p?c=setTimeout(h,d):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])}r.d(e,{IU:()=>l,N:()=>s,nF:()=>a})},74900(t,e,r){"use strict";var n=r(44176),i=r(32936),o=r(62260),a=r(33870),s=r(12070),l={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},u={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},c="{yyyy}-{MM}-{dd}",h={year:"{yyyy}",month:"{yyyy}-{MM}",day:c,hour:c+" "+u.hour,minute:c+" "+u.minute,second:c+" "+u.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},f=["year","month","day","hour","minute","second","millisecond"],d=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function p(t){var e,r,i;return n.isString(t)||n.isFunction(t)?t:(e=(e=t)||{},r={},i=!0,n.each(f,function(t){i&&(i=null==e[t])}),n.each(f,function(t,o){var a=e[t];r[t]={};for(var s=null,c=o;c>=0;c--){var h=f[c],d=n.isObject(a)&&!n.isArray(a)?a[h]:a,p=void 0;n.isArray(d)?s=(p=d.slice())[0]||"":n.isString(d)?p=[s=d]:(null==s?s=u[t]:l[h].test(s)||(s=r[h][h][0]+" "+s),p=[s],i&&(p[1]="{primary|"+s+"}")),r[t][h]=p}}),r)}function g(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(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 v(t){return t===y(t)}function m(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _(t,e,r,n){var s=i._U(t),l=s[S(r)](),u=s[A(r)]()+1,c=Math.floor((u-1)/3)+1,h=s[k(r)](),f=s["get"+(r?"UTC":"")+"Day"](),d=s[M(r)](),p=(d-1)%12+1,y=s[T(r)](),v=s[C(r)](),m=s[O(r)](),_=d>=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"),I=x.get("monthAbbr"),D=x.get("dayOfWeek"),E=x.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,b+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,g(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,w[u-1]).replace(/{MMM}/g,I[u-1]).replace(/{MM}/g,g(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,g(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,D[f]).replace(/{ee}/g,E[f]).replace(/{e}/g,f+"").replace(/{HH}/g,g(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,g(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,g(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,g(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,g(m,3)).replace(/{S}/g,m+"")}function b(t,e,r,i,o){var a=null;if(n.isString(r))a=r;else if(n.isFunction(r)){var l={time:t.time,level:t.time?t.time.level:0},u=(0,s.mn)();u&&u.makeAxisLabelFormatterParamBreak(l,t.break),a=r(t.value,e,l)}else{var c=t.time;if(c){var h=r[c.lowerTimeUnit][c.upperTimeUnit];a=h[Math.min(c.level,h.length-1)]||""}else{var f=x(t.value,o);a=r[f][f][0]}}return _(new Date(t.value),a,o,i)}function x(t,e){var r=i._U(t),n=r[A(e)]()+1,o=r[k(e)](),a=r[M(e)](),s=r[T(e)](),l=r[C(e)](),u=0===r[O(e)](),c=u&&0===l,h=c&&0===s,f=h&&0===a,d=f&&1===o;if(d&&1===n)return"year";if(d)return"month";if(f)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function w(t,e,r){switch(e){case"year":t[D(r)](0);case"month":t[E(r)](1);case"day":t[L(r)](0);case"hour":t[R(r)](0);case"minute":t[P(r)](0);case"second":t[z(r)](0)}return t}function S(t){return t?"getUTCFullYear":"getFullYear"}function A(t){return t?"getUTCMonth":"getMonth"}function k(t){return t?"getUTCDate":"getDate"}function M(t){return t?"getUTCHours":"getHours"}function T(t){return t?"getUTCMinutes":"getMinutes"}function C(t){return t?"getUTCSeconds":"getSeconds"}function O(t){return t?"getUTCMilliseconds":"getMilliseconds"}function I(t){return t?"setUTCFullYear":"setFullYear"}function D(t){return t?"setUTCMonth":"setMonth"}function E(t){return t?"setUTCDate":"setDate"}function L(t){return t?"setUTCHours":"setHours"}function R(t){return t?"setUTCMinutes":"setMinutes"}function P(t){return t?"setUTCSeconds":"setSeconds"}function z(t){return t?"setUTCMilliseconds":"setMilliseconds"}r.d(e,{$9:()=>m,$H:()=>31536e6,CZ:()=>864e5,F7:()=>d,FP:()=>z,GP:()=>_,KF:()=>R,Lm:()=>h,MA:()=>36e5,OY:()=>1e3,WD:()=>x,Wf:()=>C,X_:()=>b,Yd:()=>L,Zz:()=>O,_O:()=>p,_l:()=>w,bP:()=>k,ce:()=>v,eV:()=>g,hY:()=>S,iC:()=>M,iW:()=>6e4,jJ:()=>A,tM:()=>I,ti:()=>E,vy:()=>f,ww:()=>P,xu:()=>D,yB:()=>T,ym:()=>y})},14660(t,e,r){"use strict";var n=(0,r(44176).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]);r.d(e,{Km:()=>"arrayRows",Pe:()=>n,Wk:()=>"objectRows",XO:()=>"typedArray",i_:()=>"column",mK:()=>"original",nk:()=>"undefined",oC:()=>"row",t1:()=>"keyedColumns",t7:()=>"series",vm:()=>"unknown"})},50417(t,e,r){"use strict";r.d(e,{A:()=>b});var n,i=r(44176),o=r(59528),a=r(84310),s=r(89899),l=r(13496),u=r(92159),c=r(5265),h=r(88523),f=l.$r(),d=(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"}),p=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.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 d(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(p,["dispose"]),s.tQ(p);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)}}},b=p},11307(t,e,r){"use strict";var n=r(59528),i=r(84310),o=r(89899),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),e.A=a},53471(t,e,r){"use strict";var n=r(44176),i=r(50968),o={color:{},darkColor:{},size:{}},a=o.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};for(var s in(0,n.extend)(a,{primary:a.neutral80,secondary:a.neutral70,tertiary:a.neutral60,quaternary:a.neutral50,disabled:a.neutral20,border:a.neutral30,borderTint:a.neutral20,borderShade:a.neutral40,background:a.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:a.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:a.neutral70,axisLineTint:a.neutral40,axisTick:a.neutral70,axisTickMinor:a.neutral60,axisLabel:a.neutral70,axisSplitLine:a.neutral15,axisMinorSplitLine:a.neutral05}),a)if(a.hasOwnProperty(s)){var l=a[s];"theme"===s?o.darkColor.theme=a.theme.slice():"highlight"===s?o.darkColor.highlight="rgba(255,231,130,0.4)":0===s.indexOf("accent")?o.darkColor[s]=(0,i.modifyHSL)(l,null,function(t){return .5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[s]=(0,i.modifyHSL)(l,null,function(t){return .9*t},function(t){return 1-Math.pow(t,1.5)})}o.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50},e.A=o},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 d(){n&&clearTimeout(n)}function p(){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 p(){f=Date.now(),e.apply(s,i)}function g(){n=void 0}!h&&(l||!c||n||p(),d(),void 0===c&&u>t?l?(f=Date.now(),a||(n=setTimeout(c?g:p,t))):p():!0!==a&&(n=setTimeout(c?g:p,void 0===c?t-u:t)))}return p.cancel=function(t){var e=(t||{}).upcomingOnly;d(),h=!(void 0!==e&&e)},p}(t,e,{debounceMode:!1!==(void 0!==n&&n)})}r.d(e,{s:()=>n})},65959(t,e,r){"use strict";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}}}}r.d(e,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>l,sH:()=>s})},40960(t,e,r){"use strict";var n=r(97778),i=r(83587),o=r(63406),a=r(30231),s=r(26812),l=r(44176),u=r(21424),c=r(50968),h=r(71302),f=r(52669),d="__zr_normal__",p=n.Wx.concat(["ignore"]),g=(0,l.reduce)(n.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),y={},v=new o.Ay(0,0,0,0),m=[],_=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,a=void 0,l=void 0,u=!1;i.parent=n?this:null;var c=!1;i.copyTransform(e);var d=null!=r.position,p=r.autoOverflowArea,g=void 0;if((p||d)&&(g=v,r.layoutRect?g.copy(r.layoutRect):g.copy(this.getBoundingRect()),n||g.applyTransform(this.transform)),d){this.calculateTextPosition?this.calculateTextPosition(y,r,g):(0,s.X4)(y,r,g),i.x=y.x,i.y=y.y,a=y.align,l=y.verticalAlign;var _=r.origin;if(_&&null!=r.rotation){var b=void 0,x=void 0;"center"===_?(b=.5*g.width,x=.5*g.height):(b=(0,s.lo)(_[0],g.width),x=(0,s.lo)(_[1],g.height)),c=!0,i.originX=-i.x+b+(n?0:g.x),i.originY=-i.y+x+(n?0:g.y)}}null!=r.rotation&&(i.rotation=r.rotation);var w=r.offset;w&&(i.x+=w[0],i.y+=w[1],c||(i.originX=-w[0],i.originY=-w[1]));var S=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(p){var A=S.overflowRect=S.overflowRect||new o.Ay(0,0,0,0);i.getLocalTransform(m),(0,f.invert)(m,m),o.Ay.copy(A,g),A.applyTransform(m)}else S.overflowRect=null;var k=null==r.inside?"string"==typeof r.position&&r.position.indexOf("inside")>=0:r.inside,M=void 0,T=void 0,C=void 0;k&&this.canBeInsideText()?(M=r.insideFill,T=r.insideStroke,(null==M||"auto"===M)&&(M=this.getInsideTextFill()),(null==T||"auto"===T)&&(T=this.getInsideTextStroke(M),C=!0)):(M=r.outsideFill,T=r.outsideStroke,(null==M||"auto"===M)&&(M=this.getOutsideFill()),(null==T||"auto"===T)&&(T=this.getOutsideStroke(M),C=!0)),((M=M||"#000")!==S.fill||T!==S.stroke||C!==S.autoStroke||a!==S.align||l!==S.verticalAlign)&&(u=!0,S.fill=M,S.stroke=T,S.autoStroke=C,S.align=a,S.verticalAlign=l,e.setDefaultTextStyle(S)),e.__dirty|=h.M,u&&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===d)){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(d,!1,t)},t.prototype.useState=function(t,e,r,n){var i,o=t===d;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=this._textContent,c=w(this,u,i,n);c&&!this.__inHover&&(this.__inHover=c),this._applyStateObj(t,i,this._normalState,e,A(this,r,s),s);var f=this._textGuide;return u&&u.useState(t,e,r,!!c),f&&f.useState(t,e,r,!!c),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this.__inHover=0,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=this._textContent,d=w(this,f,c,r);d&&!this.__inHover&&(this.__inHover=d);var p=this._mergeStates(n),g=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,A(this,e,g),g);var y=this._textGuide;f&&f.useStates(t,e,!!d),y&&y.useStates(t,e,!!d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},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){if(1!==this.__inHover){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&&g[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 d=this.animators[c],y=d.targetName;d.getLoop()||d.__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.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){b(this,t,e,r)},t.prototype.animateFrom=function(t,e,r){b(this,t,e,r,!0)},t.prototype._transitionState=function(t,e,r,n){for(var i=b(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.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=!1,e.__inHover=0,e.__dirty=h.M,Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function b(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,d=a.delay,p=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],_=0;_<h.length;_++){var b=h[_],w=o[b];if(null!=w&&null!=n[b]&&(y||s[b]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))m.push(b);else{if(r){c||(n[b]=w,e.updateDuringAnimation(r));continue}t(e,b,n[b],w,a,s&&s[b],u,c)}else c||(n[b]=w,e.updateDuringAnimation(r),m.push(b))}var S=m.length;if(!p&&S)for(var A=0;A<v.length;A++){var k=v[A];if(k.targetName===r&&k.stopTracks(m)){var M=(0,l.indexOf)(v,k);v.splice(M,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 b=m[A];C[b]=n[b],g?T[b]=o[b]:n[b]=o[b]}}else if(g){O={};for(var A=0;A<S;A++){var b=m[A];O[b]=(0,i.F)(n[b]),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),x(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]?x(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else x(o,i,a);o.length=i.length}else t[r]=e[r]}(n,o,b)}}var k=new i.A(n,!1,!1,p?(0,l.filter)(v,function(t){return t.targetName===r}):null);k.targetName=r,a.scope&&(k.scope=a.scope),g&&T&&k.whenWithKeys(0,T,m),O&&k.whenWithKeys(0,O,m),k.whenWithKeys(null==f?500:f,c?C:o,m).delay(d||0),e.addAnimator(k,r),u.push(k)}}(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())},d=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 p=0;p<a.length;p++){var g=a[p];f&&g.done(f),d&&g.aborted(d),r.force&&g.duration(r.duration),g.start(r.easing)}return a}function x(t,e,r){for(var n=0;n<r;n++)t[n]=e[n]}function w(t,e,r,n){return!(r&&r.hoverLayer||n)||S(t)||e&&S(e)?0:1}function S(t){return"text"===t.type||"tspan"===t.type}function A(t,e,r){return!e&&!t.__inHover&&r&&r.duration>0}(0,l.mixin)(_,a.A),(0,l.mixin)(_,n.Ay),e.Ay=_,r.d(e,{yx:()=>1})},83587(t,e,r){"use strict";r.d(e,{F:()=>g,A:()=>x});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(44176),o=r(96481),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(50968),c=r(8963).hp;void 0!==c&&c.from;var h=Array.prototype.slice;function f(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 p(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 g(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(h.call(t[n]));return r}return h.call(t)}return t}function y(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 v(t){return 4===t||5===t}function m(t){return 1===t||2===t}var _=[0,0,0,0],b=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 d=u.parse(e);d&&(h=d,c=3)}else c=0;else if((0,i.isGradientObject)(e)){var p=(0,i.extend)({},h);(p.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=p}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=m(n),l=v(n),u=0;u<i;u++){var c=r[u],f=c.value,g=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]:h.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])}}(f,g,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()})}(f.colorStops,g.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):m(n)&&(r[u].additiveValue=1===n?d([],r[u].value,y,-1):p([],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,d=3===l,p=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(p+1,c-1);r>=0&&!(u[r].percent<=e);r--);r=g(r,c-2)}else{for(r=p;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 b=o.percent-n.percent,x=0===b?1:g((e-n.percent)/b,1);o.easingFunc&&(x=o.easingFunc(x));var w=a?this._additiveValue:d?_:t[h];if((m(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[h]=x<1?n.rawValue:o.rawValue;else if(m(l))1===l?f(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(v(l)){var S,A,k,M,T,C=n[s],O=o[s],I=4===l;(t[h]={type:I?"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:y(f([],t.color,n.color,x))}}),global:O.global},I)?(t[h].x2=(k=C.x2,(O.x2-k)*x+k),t[h].y2=(M=C.y2,(O.y2-M)*x+M)):t[h].r=(T=C.r,(O.r-T)*x+T)}else if(d)f(w,n[s],o[s],x),a||(t[h]=y(w));else{var D,E=(D=n[s],(o[s]-D)*x+D);a?this._additiveValue=E:t[h]=E}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],_),d(_,_,n,1),t[r]=y(_)):1===e?d(t[r],t[r],n,1):2===e&&p(t[r],t[r],n,1)},t}(),x=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 b(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=y(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,g(l),n),this._trackKeys.push(a)}s.addKeyframe(t,g(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]=g(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}()},96515(t,e,r){"use strict";e.A=r(84957).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},45781(t,e,r){"use strict";r.d(e,{V$:()=>C,v6:()=>O,Xi:()=>T,ZQ:()=>b});var n=r(7709),i=r(1229),o=r(14013),a=r(59365),s=r(95283),l=r(72590),u=r(61683),c=r(44176);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(71302),d=r(3311),p=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){M(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||(M(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||(M(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(i||e.shadowColor!==r.shadowColor)&&(a||(M(t,o),a=!0),t.shadowColor=e.shadowColor||n.oN.shadowColor),a}function A(t,e,r,n,i){var o=e.style,a=n?null:r&&r.style||{};if(o===a)return!1;var s=S(t,o,a,n,i);if((n||o.fill!==a.fill)&&(s||(M(t,i),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(M(t,i),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(n||o.opacity!==a.opacity)&&(s||(M(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||(M(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||(M(t,i),s=!0),t[h]=o[h]||c[1])}return s}function k(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 M(t,e){e.batchFill&&(e.batchFill=!1,t.fill()),e.batchStroke&&(e.batchStroke=!1,t.stroke())}function T(t,e){var r={inHover:!1,viewWidth:0,viewHeight:0,beforeBrushParam:{}};C(t,e,r),O(t,r)}function C(t,e,r){var n,i=e.transform;if(!e.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){e.__dirty&=~f.M,e.__isRendered=!1;return}var c=e.__clipPaths,y=r.prevElClipPaths,x=e.style,w=!1,T=!1;if((!y||(0,a.KU)(c,y))&&(y&&(M(t,r),t.restore(),T=w=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),c&&c.length)){M(t,r),t.save();for(var I=!1,D=0;D<c.length;D++){var E=c[D];I=I||E.isZeroArea(),k(t,E),t.beginPath(),E.buildPath(t,E.shape),t.clip()}r.allClipped=I,w=!0,r.prevElClipPaths=c}if(r.allClipped){e.__dirty&=~f.M,e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(r.beforeBrushParam),e.innerBeforeBrush();var L=r.prevEl;L||(T=w=!0);var R=e instanceof s.Ay&&e.autoBatch&&(P=v(x),z=g(x),!(x.lineDash||!(P^z)||P&&"string"!=typeof x.fill||z&&"string"!=typeof x.stroke||x.strokePercent<1||x.strokeOpacity<1||x.fillOpacity<1));if(!w&&(B=L.transform,i&&B?i[0]===B[0]&&i[1]===B[1]&&i[2]===B[2]&&i[3]===B[3]&&i[4]===B[4]&&i[5]===B[5]:+(!i&&!B))?R||M(t,r):(M(t,r),k(t,e)),e instanceof s.Ay)1!==r.lastDrawType&&(T=!0,r.lastDrawType=1),A(t,e,L,T,r),R&&(r.batchFill||r.batchStroke)||t.beginPath(),function(t,e,r,n,i){var o,s,l,u=g(r),c=v(r),d=r.strokePercent,y=d<1,x=!e.path;(!e.silent||y)&&x&&e.createPathProxy();var w=e.path||p,S=e.__dirty;if(!n){var A=r.fill,k=r.stroke,M=c&&!!A.colorStops,T=u&&!!k.colorStops,C=c&&!!A.image,O=u&&!!k.image,I=void 0,D=void 0,E=void 0,L=void 0,R=void 0;(M||T)&&(R=e.getBoundingRect()),M&&(I=S?(0,a.Ff)(t,A,R):e.__canvasFillGradient,e.__canvasFillGradient=I),T&&(D=S?(0,a.Ff)(t,k,R):e.__canvasStrokeGradient,e.__canvasStrokeGradient=D),C&&(E=S||!e.__canvasFillPattern?b(t,A,e):e.__canvasFillPattern,e.__canvasFillPattern=E),O&&(L=S||!e.__canvasStrokePattern?b(t,k,e):e.__canvasStrokePattern,e.__canvasStrokePattern=L),M?t.fillStyle=I:C&&(E?t.fillStyle=E:c=!1),T?t.strokeStyle=D:O&&(L?t.strokeStyle=L:u=!1)}var P=e.getGlobalScale();w.setScale(P[0],P[1],e.segmentIgnoreThreshold),t.setLineDash&&r.lineDash&&(s=(o=h(e))[0],l=o[1]);var z=!0;(x||S&f.Dl)&&(w.setDPR(t.dpr),y?w.setContext(null):(w.setContext(t),z=!1),w.reset(),e.buildPath(w,e.shape,n),w.toStatic(),e.pathUpdated()),z&&w.rebuildPath(t,y?d:1),s&&(t.setLineDash(s),t.lineDashOffset=l),n?(i.batchFill=c,i.batchStroke=u):r.strokeFirst?(u&&_(t,r),c&&m(t,r)):(c&&m(t,r),u&&_(t,r)),s&&t.setLineDash([])}(t,e,x,R,r);else if(e instanceof u.A){3!==r.lastDrawType&&(T=!0,r.lastDrawType=3),A(t,e,L,T,r);var P,z,B,N,F=x.text;if(null!=F&&(F+=""),F){t.font=x.font||d.OH,t.textAlign=x.textAlign,t.textBaseline=x.textBaseline;var j=void 0,H=void 0;t.setLineDash&&x.lineDash&&(j=(N=h(e))[0],H=N[1]),j&&(t.setLineDash(j),t.lineDashOffset=H),x.strokeFirst?(g(x)&&t.strokeText(F,x.x,x.y),v(x)&&t.fillText(F,x.x,x.y)):(v(x)&&t.fillText(F,x.x,x.y),g(x)&&t.strokeText(F,x.x,x.y)),j&&t.setLineDash([])}}else e instanceof l.Ay?(2!==r.lastDrawType&&(T=!0,r.lastDrawType=2),n=T,S(t,e.style,L&&L.style,n,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,d=l-h;t.drawImage(n,c,h,f,d,i,a,s,l)}else t.drawImage(n,i,a,s,l)}}(t,e,x)):e.getTemporalDisplayables&&(4!==r.lastDrawType&&(T=!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,beforeBrushParam:{}};for(n=e.getCursor(),i=o.length;n<i;n++){var l=o[n];l.beforeBrush&&l.beforeBrush(r.beforeBrushParam),l.innerBeforeBrush(),C(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}O(t,s);for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(r.beforeBrushParam),l.innerBeforeBrush(),C(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}O(t,s),e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,r));e.innerAfterBrush(),e.afterBrush&&(R&&M(t,r),e.afterBrush()),r.prevEl=e,e.__dirty=0,e.__isRendered=!0}function O(t,e){M(t,e),e.prevElClipPaths&&t.restore()}},59365(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,d,p="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,d=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,d=d*r.height+r.y),c=n(c)?c:0,h=n(h)?h:1,f=n(f)?f:0,d=n(d)?d:0,t.createLinearGradient(c,f,h,d)),g=e.colorStops,y=0;y<g.length;y++)p.addColorStop(g[y].offset,g[y].color);return p}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})},21424(t,e,r){"use strict";var n=r(84957),i=1;n.A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i;r.d(e,{Y5:()=>o,_S:()=>"#333",el:()=>"#ccc",ps:()=>.4,tY:()=>"#eee"})},26812(t,e,r){"use strict";var n,i=r(63406),o=r(27283),a=r(3311);function s(t){n||(n=new o.Ay(100)),t=t||a.OH;var e=n.get(t);return e||(e={font:t,strWidthCache:new o.Ay(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:a.yh.measureText("国",t).width,asciiCharWidth:a.yh.measureText("a",t).width},n.put(t,e)),e}var l=0;function u(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(l>=5)){t=t||a.OH;for(var e=[],r=+new Date,n=0;n<=127;n++)e[n]=a.yh.measureText(String.fromCharCode(n),t).width;var i=new Date-r;return i>16?l=5:i>2&&l++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth}function c(t,e){var r=t.strWidthCache,n=r.get(e);return null==n&&(n=a.yh.measureText(e,t.font).width,r.put(e,n)),n}function h(t,e,r,n){var o=c(s(e),t),a=g(e),l=d(0,o,r),u=p(0,a,n);return new i.Ay(l,u,o,a)}function f(t,e,r,n){var o=((t||"")+"").split("\n");if(1===o.length)return h(o[0],e,r,n);for(var a=new i.Ay(0,0,0,0),s=0;s<o.length;s++){var l=h(o[s],e,r,n);0===s?a.copy(l):a.union(l)}return a}function d(t,e,r,n){return"right"===r?n?t+=e:t-=e:"center"===r&&(n?t+=e/2:t-=e/2),t}function p(t,e,r,n){return"middle"===r?n?t+=e/2:t-=e/2:"bottom"===r&&(n?t+=e:t-=e),t}function g(t){return s(t).stWideCharWidth}function y(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function v(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+=y(n[0],r.width),u+=y(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}r.d(e,{JK:()=>u,NO:()=>f,Qw:()=>s,X4:()=>v,ks:()=>g,l8:()=>c,ll:()=>d,lo:()=>y,sZ:()=>p})},33563(t,e,r){"use strict";var n=2*Math.PI;function i(t){return(t%=n)<0&&(t+=n),t}r.d(e,{n:()=>i})},37959(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})},63406(t,e,r){"use strict";var n=r(52669),i=r(67003),o=r(27116),a=Math.min,s=Math.max,l=Math.abs,u=["x","y"],c=["width","height"],h=new o.A,f=new o.A,d=new o.A,p=new o.A,g=I(),y=g.minTv,v=g.maxTv,m=[0,0],_=function(){function t(t,e,r,n){x(this,t,e,r,n)}return t.set=function(t,e,r,n,i){return n<0&&(e+=n,n=-n),i<0&&(r+=i,i=-i),t.x=e,t.y=r,t.width=n,t.height=i,t},t.prototype.union=function(t){var e=a(t.x,this.x),r=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=s(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=s(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){return S(n.create(),this,t)},t.prototype.intersect=function(e,r,n){return t.intersect(this,e,r,n)},t.intersect=function(e,r,n,i){n&&o.A.set(n,0,0);var a=i&&i.outIntersectRect||null,s=i&&i.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!e||!r)return!1;e instanceof t||(e=x(M,e.x,e.y,e.width,e.height)),r instanceof t||(r=x(T,r.x,r.y,r.width,r.height));var l=!!n;g.reset(i,l);var u=g.touchThreshold,c=e.x+u,h=e.x+e.width-u,f=e.y+u,d=e.y+e.height-u,p=r.x+u,_=r.x+r.width-u,b=r.y+u,w=r.y+r.height-u;if(c>h||f>d||p>_||b>w)return!1;var S=!(h<p||_<c||d<b||w<f);return(l||a)&&(m[0]=1/0,m[1]=0,O(c,h,p,_,0,l,a,s),O(f,d,b,w,1,l,a,s),l&&o.A.copy(n,S?g.useDir?g.dirMinTv:y:v)),S},t.contain=function(t,e,r){return e>=t.x&&e<=t.x+t.width&&r>=t.y&&r<=t.y+t.height},t.prototype.contain=function(e,r){return t.contain(this,e,r)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){w(this,t)},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?e.x:0,e?e.y:0,e?e.width:0,e?e.height:0)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(t,e,r){if(!r){t!==e&&w(t,e);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],i=r[3],o=r[4],l=r[5];t.x=e.x*n+o,t.y=e.y*i+l,t.width=e.width*n,t.height=e.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}h.x=d.x=e.x,h.y=p.y=e.y,f.x=p.x=e.x+e.width,f.y=d.y=e.y+e.height,h.transform(r),p.transform(r),f.transform(r),d.transform(r),t.x=a(h.x,f.x,d.x,p.x),t.y=a(h.y,f.y,d.y,p.y);var u=s(h.x,f.x,d.x,p.x),c=s(h.y,f.y,d.y,p.y);t.width=u-t.x,t.height=c-t.y},t.calculateTransform=function(t,e,r){var o=r.width/e.width,a=r.height/e.height;return t=n.identity(t||[]),n.translate(t,t,i.set(C,-e.x,-e.y)),n.scale(t,t,i.set(C,o,a)),n.translate(t,t,i.set(C,r.x,r.y)),t},t}(),b=_.create,x=_.set,w=_.copy,S=_.calculateTransform,A=_.applyTransform,k=_.contain,M=new _(0,0,0,0),T=new _(0,0,0,0),C=[];function O(t,e,r,n,i,o,h,f){var d=l(e-r),p=l(n-t),_=a(d,p),b=u[i],x=u[1-i],w=c[i];e<r||n<t?d<p?(o&&(v[b]=-d),f&&(h[b]=e,h[w]=0)):(o&&(v[b]=p),f&&(h[b]=t,h[w]=0)):(h&&(h[b]=s(t,r),h[w]=a(e,n)-h[b]),o&&(_<m[0]||g.useDir)&&(m[0]=a(_,m[0]),(d<p||!g.bidirectional)&&(y[b]=d,y[x]=0,g.useDir&&g.calcDirMTV()),(d>=p||!g.bidirectional)&&(y[b]=-p,y[x]=0,g.useDir&&g.calcDirMTV())))}function I(){var t=0,e=new o.A,r=new o.A,n={minTv:new o.A,maxTv:new o.A,useDir:!1,dirMinTv:new o.A,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,o){n.touchThreshold=0,i&&null!=i.touchThreshold&&(n.touchThreshold=s(0,i.touchThreshold)),n.negativeSize=!1,o&&(n.minTv.set(1/0,1/0),n.maxTv.set(0,0),n.useDir=!1,i&&null!=i.direction&&(n.useDir=!0,n.dirMinTv.copy(n.minTv),r.copy(n.minTv),t=i.direction,n.bidirectional=null==i.bidirectional||!!i.bidirectional,n.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var o=n.minTv,a=n.dirMinTv,s=o.y*o.y+o.x*o.x,l=Math.sin(t),u=Math.cos(t),c=l*o.y+u*o.x;if(i(c)){i(o.x)&&i(o.y)&&a.set(0,0);return}(r.x=s*u/c,r.y=s*l/c,i(r.x)&&i(r.y))?a.set(0,0):(n.bidirectional||e.dot(r)>0)&&r.len()<a.len()&&a.copy(r)}};function i(t){return 1e-10>l(t)}return n}e.Ay=_,r.d(e,{bV:()=>I,iZ:()=>w,r_:()=>b,rd:()=>k,zQ:()=>A})},30231(t,e){"use strict";e.A=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}()},27283(t,e){"use strict";var r=function(t){this.value=t},n=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new r(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}();e.Ay=function(){function t(t){this._list=new n,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.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}()},78938(t,e,r){"use strict";var n=r(27116),i=r(63406),o=Math.min,a=Math.max,s=Math.abs,l=[0,0],u=[0,0],c=(0,i.bV)(),h=c.minTv,f=c.maxTv;e.A=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,r){var i=!0,o=!e;return(e&&n.A.set(e,0,0),c.reset(r,!o),!this._intersectCheckOneSide(this,t,o,1)&&(i=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(i=!1,o))?i:(o||c.negativeSize||n.A.copy(e,i?c.useDir?c.dirMinTv:h:f),i)},t.prototype._intersectCheckOneSide=function(t,e,r,i){for(var a=!0,d=0;d<2;d++){var p=t._axes[d];if(t._getProjMinMaxOnAxis(d,t._corners,l),t._getProjMinMaxOnAxis(d,e._corners,u),c.negativeSize||l[1]<u[0]||l[0]>u[1]){if(a=!1,c.negativeSize||r)return a;var g=s(u[0]-l[1]),y=s(l[0]-u[1]);o(g,y)>f.len()&&(g<y?n.A.scale(f,p,-g*i):n.A.scale(f,p,y*i))}else if(!r){var g=s(u[0]-l[1]),y=s(l[0]-u[1]);(c.useDir||o(g,y)<h.len())&&((g<y||!c.bidirectional)&&(n.A.scale(h,p,g*i),c.useDir&&c.calcDirMTV()),(g>=y||!c.bidirectional)&&(n.A.scale(h,p,-y*i),c.useDir&&c.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var n=this._axes[t],i=this._origin,s=e[0].dot(n)+i[t],l=s,u=s,h=1;h<e.length;h++){var f=e[h].dot(n)+i[t];l=o(f,l),u=a(f,u)}r[0]=l+c.touchThreshold,r[1]=u-c.touchThreshold,c.negativeSize=r[1]<r[0]},t}()},1229(t,e,r){"use strict";r.d(e,{A:()=>P});var n=r(67003),i=r(63406),o=r(21424),a=r(96481),s=Math.min,l=Math.max,u=Math.sin,c=Math.cos,h=2*Math.PI,f=n.create(),d=n.create(),p=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=[],k=Math.min,M=Math.max,T=Math.cos,C=Math.sin,O=Math.abs,I=Math.PI,D=2*I,E="u">typeof Float32Array,L=[];function R(t){return Math.round(t/I*1e8)/1e8%2*I}var 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(),L[0]=n,L[1]=i,(a=R(L[0]))<0&&(a+=D),s=a-L[0],l=L[1]+s,!o&&l-a>=D?l=a+D:o&&a-l>=D?l=a-D:!o&&a>l?l=a+(D-R(a-l)):o&&a<l&&(l=a-(D-R(l-a))),L[0]=a,L[1]=l,n=L[0];var a,s,l,u=(i=L[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){if(this._saveData){var e=t.length;!(this.data&&this.data.length===e)&&E&&(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){if(this._saveData){t instanceof Array||(t=[t]);for(var e=t.length,r=0,n=this._len,i=0;i<e;i++)r+=t[i].len();var o=this.data;if(E&&(o instanceof Float32Array||!o)&&(this.data=new Float32Array(n+r),n>0&&o))for(var a=0;a<n;a++)this.data[a]=o[a];for(var i=0;i<e;i++)for(var s=t[i].data,a=0;a<s.length;a++)this.data[n++]=s[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,E&&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 k=e[t++],M=1===t;switch(M&&(r=e[t],o=e[t+1],_=r,b=o),k){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 d=a.lX,p=a.Yb,g=d(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 _=p(t,r,i,u,y[m]);h[0]=s(_,h[0]),f[0]=l(_,f[0])}g=d(e,n,o,c,v);for(var m=0;m<g;m++){var b=p(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,d=l(s(h(t,r,i),1),0),p=l(s(h(e,n,o),1),0),g=f(t,r,i,d),y=f(e,n,o,p);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++],I=e[t++],D=e[t++],E=e[t++],L=e[t++],R=e[t++]+L;t+=1;var P=!e[t++];M&&(_=T(L)*D+O,b=C(L)*E+I),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,d[0]=c(a)*r+t,d[1]=u(a)*i+e,y(l,f,d),v(g,f,d),(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&&(p[0]=c(b)*r+t,p[1]=u(b)*i+e,y(l,p,l),v(g,p,g))}(O,I,D,E,L,R,P,S,A),r=T(R)*D+O,o=C(R)*E+I;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.Ay(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 d=t[f++],p=1===f;p&&(i=t[f],o=t[f+1],s=i,l=o);var g=-1;switch(d){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 I=t[f++],E=t[f++],L=t[f++],R=t[f++],P=t[f++],z=t[f++],B=z+P;f+=1,p&&(s=T(P)*L+I,l=C(P)*R+E),g=M(L,R)*k(D,Math.abs(z)),i=T(B)*L+I,o=C(B)*R+E;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,d=this.data,p=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))o:for(var A=0;A<y;){var I=d[A++],D=1===A;switch(D&&(i=d[A],o=d[A+1],r=i,n=o),I!==m.L&&S>0&&(t.lineTo(h,f),S=0),I){case m.M:r=i=d[A++],n=o=d[A++],t.moveTo(i,o);break;case m.L:s=d[A++],l=d[A++];var E=O(s-i),L=O(l-o);if(E>p||L>g){if(v){var R=u[w++];if(x+R>c){var P=(c-x)/R;t.lineTo(i*(1-P)+s*P,o*(1-P)+l*P);break o}x+=R}t.lineTo(s,l),i=s,o=l,S=0}else{var z=E*E+L*L;z>S&&(h=s,f=l,S=z)}break;case m.C:var B=d[A++],N=d[A++],F=d[A++],j=d[A++],H=d[A++],V=d[A++];if(v){var R=u[w++];if(x+R>c){var P=(c-x)/R;(0,a.YT)(i,B,F,H,P,_),(0,a.YT)(o,N,j,V,P,b),t.bezierCurveTo(_[1],b[1],_[2],b[2],_[3],b[3]);break o}x+=R}t.bezierCurveTo(B,N,F,j,H,V),i=H,o=V;break;case m.Q:var B=d[A++],N=d[A++],F=d[A++],j=d[A++];if(v){var R=u[w++];if(x+R>c){var P=(c-x)/R;(0,a.kx)(i,B,F,P,_),(0,a.kx)(o,N,j,P,b),t.quadraticCurveTo(_[1],b[1],_[2],b[2]);break o}x+=R}t.quadraticCurveTo(B,N,F,j),i=F,o=j;break;case m.A:var U=d[A++],W=d[A++],Z=d[A++],q=d[A++],G=d[A++],Y=d[A++],$=d[A++],X=!d[A++],K=Z>q?Z:q,Q=O(Z-q)>.001,J=G+Y,tt=!1;if(v){var R=u[w++];x+R>c&&(J=G+Y*(c-x)/R,tt=!0),x+=R}if(Q&&t.ellipse?t.ellipse(U,W,Z,q,$,G,J,X):t.arc(U,W,K,G,J,X),tt)break o;D&&(r=T(G)*Z+U,n=C(G)*q+W),i=T(J)*Z+U,o=C(J)*q+W;break;case m.R:r=i=d[A],n=o=d[A+1],s=d[A++],l=d[A++];var te=d[A++],tr=d[A++];if(v){var R=u[w++];if(x+R>c){var tn=c-x;t.moveTo(s,l),t.lineTo(s+k(tn,te),l),(tn-=te)>0&&t.lineTo(s+te,l+k(tn,tr)),(tn-=tr)>0&&t.lineTo(s+M(te-tn,0),l+tr),(tn-=te)>0&&t.lineTo(s,l+M(tr-tn,0));break o}x+=R}t.rect(s,l,te,tr);break;case m.Z:if(v){var R=u[w++];if(x+R>c){var P=(c-x)/R;t.lineTo(i*(1-P)+r*P,o*(1-P)+n*P);break o}x+=R}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.prototype.canSave=function(){return!!this._saveData},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},27116(t,e){"use strict";e.A=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}()},97778(t,e,r){"use strict";var n=r(52669),i=r(44176),o=r(67003),a=n.identity;function s(t){return t>5e-5||t<-5e-5}var l=[],u=[],c=n.create(),h=Math.abs,f=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return d(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 s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;if(!(e||t)){r&&(a(r),this.invTransform=null);return}r=r||n.create(),e?this.getLocalTransform(r):a(r),t&&(e?n.mul(r,t,r):n.copy(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r),this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,r)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var r=l[0]<0?-1:1,n=l[1]<0?-1:1,i=((l[0]-r)*e+r)/l[0]||0,o=((l[1]-n)*e+n)/l[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}},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(u,t.invTransform,e),e=u);var r=this.originX,i=this.originY;(r||i)&&(c[4]=r,c[5]=i,n.mul(u,e,c),u[4]-=r,u[5]-=i,e=u),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&&o.applyTransform(r,r,n),r},e.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&o.applyTransform(r,r,n),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){y(this,t)},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,d=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||l){var p=r+s,g=i+l;e[4]=-p*o-f*g*a,e[5]=-g*a-d*p*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*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}(),d=f.getLocalTransform;function p(){return new f}var g=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function y(t,e){return(0,i.assignProps)(t,e,g)}e.Ay=f,r.d(e,{Ed:()=>d,IT:()=>y,Rd:()=>p,Wx:()=>g})},96481(t,e,r){"use strict";var n=r(67003),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 d(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 p(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),d=3*(e-t),p=t-l,g=f*f-3*c*d,y=f*d-9*c*p,v=d*d-3*f*p,m=0;if(h(g)&&h(y))if(h(f))u[0]=0;else{var _=-d/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),k=g*f+1.5*c*(-y-S),_=(-f-((A=A<0?-i(-A,s):i(A,s))+(k=k<0?-i(-k,s):i(k,s))))/(3*c);_>=0&&_<=1&&(u[m++]=_)}else{var M=Math.acos((2*g*f-3*c*y)/(2*o(g*g*g)))/3,T=o(g),C=Math.cos(M),_=(-f-2*T*C)/(3*c),w=(-f+T*(C+a*Math.sin(M)))/(3*c),O=(-f+T*(C-a*Math.sin(M)))/(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 d=a*a-4*s*l;if(h(d))i[0]=-a/(2*s);else if(d>0){var p=o(d),c=(-a+p)/(2*s),g=(-a-p)/(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,p,g,y){var v,m,_,b,x,w=.005,S=1/0;l[0]=p,l[1]=g;for(var A=0;A<1;A+=.05)u[0]=d(t,r,a,h,A),u[1]=d(e,i,s,f,A),(b=(0,n.distSquare)(l,u))<S&&(v=A,S=b);S=1/0;for(var k=0;k<32&&!(w<1e-4);k++)m=v-w,_=v+w,u[0]=d(t,r,a,h,m),u[1]=d(e,i,s,f,m),b=(0,n.distSquare)(u,l),m>=0&&b<S?(v=m,S=b):(c[0]=d(t,r,a,h,_),c[1]=d(e,i,s,f,_),x=(0,n.distSquare)(c,l),_<=1&&x<S?(v=_,S=x):w*=.5);return y&&(y[0]=d(t,r,a,h,v),y[1]=d(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,p=1;p<=l;p++){var g=p*f,y=d(t,r,i,a,g),v=d(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 d=s*s-4*a*l;if(h(d)){var c=-s/(2*a);c>=0&&c<=1&&(i[u++]=c)}else if(d>0){var p=o(d),c=(-s+p)/(2*a),g=(-s-p)/(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 k(t,e,r,i,a,s,h,f,d){var p,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&&(p=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var x=p-g,w=p+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)p=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?(p=w,y=S):g*=.5}}return d&&(d[0]=b(t,r,a,p),d[1]=b(e,i,s,p)),o(y)}function M(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,d=b(t,r,i,f),p=b(e,n,o,f),g=d-s,y=p-l;u+=Math.sqrt(g*g+y*y),s=d,l=p}return u}r.d(e,{Et:()=>m,YT:()=>v,Yb:()=>d,_E:()=>g,d8:()=>M,gC:()=>S,h0:()=>_,k3:()=>b,kh:()=>k,kx:()=>A,lX:()=>y,qY:()=>w,rD:()=>p,z7:()=>x})},89950(t,e,r){"use strict";r.d(e,{Me:()=>y,ot:()=>d,oq:()=>f,lJ:()=>c,Yn:()=>h});var n=r(84957),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 d=0,p=0,g=0;p<u;p++){var y=1<<p;!(y&a)&&(d+=(g%2?-1:1)*t[r][p]*o(t,e-1,f,h,a|y,s),g++)}return s[l]=d,d}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=r(44176),l="___zrEVENTSAVED",u=[];function c(t,e,r,n,i){return f(u,e,n,i,!0)&&f(t,r,u[0],u[1])}function h(t,e){function r(t){var e=t[l];e&&(e.clearMarkers&&e.clearMarkers(),delete t[l])}t&&r(t),e&&r(e)}function f(t,e,r,i,o){if(e.getBoundingClientRect&&n.A.domSupported&&!d(e)){var u=e[l]||(e[l]={}),c=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,d=h.left,p=h.top;s.push(d,p),u=u&&o&&d===o[f]&&p===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"),l=a.style,u=o%2,c=(o>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[c]+":0",n[1-u]+":auto",i[1-c]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return e.clearMarkers=function(){(0,s.each)(r,function(t){t.parentNode&&t.parentNode.removeChild(t)})},r}(e,u),u,o);if(c)return c(t,r,i),!0}return!1}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,g={"&":"&","<":"<",">":">",'"':""","'":"'"};function y(t){return null==t?"":(t+"").replace(p,function(t,e){return g[e]})}},84957(t,e){"use strict";var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},n=new function(){this.browser=new r,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?(n.wxa=!0,n.touchEventsSupported=!0):"u"<typeof document&&"u">typeof self?n.worker=!0:!n.hasGlobalWindow||"Deno"in window||"u">typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(n.node=!0,n.svgSupported=!0):function(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);if(n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),o&&(r.edge=!0,r.version=o[1],r.newEdge=+o[1].split(".")[0]>18),a&&(r.weChat=!0),e.svgSupported="u">typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported="u">typeof document){var s=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}}(navigator.userAgent,n),e.A=n},68022(t,e,r){"use strict";var n=r(84957),i=r(89950),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 d(t,e,r,n){t.removeEventListener(e,r,n)}var p=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}r.d(e,{W5:()=>g,Yo:()=>l,ds:()=>p,e0:()=>h,f:()=>d,mK:()=>c,q2:()=>f})},52669(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})},3311(t,e,r){"use strict";var n,i,o="12px sans-serif",a=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"),s={createCanvas:function(){return"u">typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!n){var r=s.createCanvas();n=r&&r.getContext("2d")}if(n)return i!==e&&(i=n.font=e||o),n.measureText(t);t=t||"",e=e||o;var l=/((?:\d+)?\.?\d*)px/.exec(e),u=l&&+l[1]||12,c=0;if(e.indexOf("mono")>=0)c=u*t.length;else for(var h=0;h<t.length;h++){var f=a[t[h]];c+=null==f?u:f*u}return{width:c}},loadImage:function(t,e,r){var n=new Image;return n.onload=e,n.onerror=r,n.src=t,n},getTime:function(){return Date.now?Date.now():+new Date}};function l(t){for(var e in s)s.hasOwnProperty(e)&&t[e]&&(s[e]=t[e])}r.d(e,{Gs:()=>l,OH:()=>o,gI:()=>12,yh:()=>s})},15588(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],d=n[u+1];n[u]=h+d,u===s-3&&(r[u+1]=r[u+2],n[u+1]=n[u+2]),s--;var p=a(t[f],t,c,h,0,e);c+=p,0==(h-=p)||0!==(d=o(t[c+h-1],t,f,d,d-1,e))&&(h<=d?function(r,n,s,u){var c,h,f,d=0;for(d=0;d<n;d++)l[d]=t[r+d];var p=0,g=s,y=r;if(t[y++]=t[g++],0==--u){for(d=0;d<n;d++)t[y+d]=l[p+d];return}if(1===n){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[p];return}for(var v=i;;){c=0,h=0,f=!1;do if(0>e(t[g],l[p])){if(t[y++]=t[g++],h++,c=0,0==--u){f=!0;break}}else if(t[y++]=l[p++],c++,h=0,1==--n){f=!0;break}while((c|h)<v)if(f)break;do{if(0!==(c=a(t[g],l,p,n,0,e))){for(d=0;d<c;d++)t[y+d]=l[p+d];if(y+=c,p+=c,(n-=c)<=1){f=!0;break}}if(t[y++]=t[g++],0==--u){f=!0;break}if(0!==(h=o(l[p],t,g,u,0,e))){for(d=0;d<h;d++)t[y+d]=t[g+d];if(y+=h,g+=h,0==(u-=h)){f=!0;break}}if(t[y++]=l[p++],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(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[p]}else if(0===n)throw Error();else for(d=0;d<n;d++)t[y+d]=l[p+d]}(c,h,f,d):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,d=s+u-1,p=0,g=0;if(t[d--]=t[h--],0==--n){for(p=d-(u-1),c=0;c<u;c++)t[p+c]=l[c];return}if(1===u){for(d-=n,h-=n,g=d+1,p=h+1,c=n-1;c>=0;c--)t[g+c]=t[p+c];t[d]=l[f];return}for(var y=i;;){var v=0,m=0,_=!1;do if(0>e(l[f],t[h])){if(t[d--]=t[h--],v++,m=0,0==--n){_=!0;break}}else if(t[d--]=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(d-=v,h-=v,n-=v,g=d+1,p=h+1,c=v-1;c>=0;c--)t[g+c]=t[p+c];if(0===n){_=!0;break}}if(t[d--]=l[f--],1==--u){_=!0;break}if(0!=(m=u-o(t[h],l,0,u,u-1,e))){for(d-=m,f-=m,u-=m,g=d+1,p=f+1,c=0;c<m;c++)t[g+c]=l[p+c];if(u<=1){_=!0;break}}if(t[d--]=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(d-=n,h-=n,g=d+1,p=h+1,c=n-1;c>=0;c--)t[g+c]=t[p+c];t[d]=l[f]}else if(0===u)throw Error();else for(p=d-(u-1),c=0;c<u;c++)t[p+c]=l[c]}(c,h,f,d))}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})},94547(t,e,r){"use strict";r.d(e,{$z:()=>0,XM:()=>2,cw:()=>1,jP:()=>1,r4:()=>0})},44176(t,e,r){"use strict";r.r(e);var n=r(3311),i=D(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=D(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,f=(function(){}).constructor,d=f?f.prototype:null,p="__proto__",g=2311;function y(){return g>=0x1fffffffffffff&&(g=0),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[tn]){e=[];for(var n=0,s=t.length;n<s;n++)e[n]=m(t[n])}}else if(o[r]){if(!t[tn]){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[tn]&&!Z(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==p&&(e[u]=m(t[u]));return e}function _(t,e,r){if(!V(e)||!V(t))return r?m(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==p){var i=t[n],o=e[n];!(V(o)&&V(i))||B(o)||B(i)||Z(o)||Z(i)||U(o)||U(i)||o[tn]||i[tn]?!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!==p&&(t[r]=e[r]);return t}function w(t,e,r){t=t||{};for(var n=0;n<r.length;n++){var i=r[n];t[i]=e[i]}return t}function S(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 A=n.yh.createCanvas;function k(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 T(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 S(t,e,r)}function C(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function O(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 I(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 D(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 E(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 L(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 P=d&&N(d.bind)?d.call.bind(d.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 z(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 N(t){return"function"==typeof t}function F(t){return"string"==typeof t}function j(t){return"[object String]"===a.call(t)}function H(t){return"number"==typeof t}function V(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function U(t){return!!i[a.call(t)]}function W(t){return!!o[a.call(t)]}function Z(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function q(t){return null!=t.colorStops}function G(t){return null!=t.image}function Y(t){return"[object RegExp]"===a.call(t)}function $(t){return t!=t}function X(){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 K(t,e){return null!=t?t:e}function Q(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 tt(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 te(t,e){if(!t)throw Error(e)}function tr(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var tn="__ec_primitive__";function ti(t){t[tn]=!0}function to(t){return t[tn]}var ta=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}(),ts="function"==typeof Map,tl=function(){function t(e){var r=B(e);this.data=ts?new Map:new ta;var n=this;function i(t,e){r?n.set(t,e):n.set(e,t)}e instanceof t?e.each(i):e&&O(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 ts?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tu(t){return new tl(t)}function tc(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 th(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 tf(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function td(t,e){return t.hasOwnProperty(e)}function tp(){}var tg=180/Math.PI,ty=Number.EPSILON||2220446049250313e-31;r.d(e,{EPSILON:()=>ty,HashMap:()=>tl,RADIAN_TO_DEGREE:()=>tg,assert:()=>te,assignProps:()=>w,bind:()=>P,clone:()=>m,concatArray:()=>tc,createCanvas:()=>A,createHashMap:()=>tu,createObject:()=>th,curry:()=>z,defaults:()=>S,disableUserSelect:()=>tf,each:()=>O,eqNaN:()=>$,extend:()=>x,filter:()=>E,find:()=>L,guid:()=>y,hasOwn:()=>td,indexOf:()=>k,inherits:()=>M,isArray:()=>B,isArrayLike:()=>C,isBuiltInObject:()=>U,isDom:()=>Z,isFunction:()=>N,isGradientObject:()=>q,isImagePatternObject:()=>G,isNumber:()=>H,isObject:()=>V,isPrimitive:()=>to,isRegExp:()=>Y,isString:()=>F,isStringSafe:()=>j,isTypedArray:()=>W,keys:()=>R,logError:()=>v,map:()=>I,merge:()=>_,mergeAll:()=>b,mixin:()=>T,noop:()=>tp,normalizeCssArray:()=>tt,reduce:()=>D,retrieve:()=>X,retrieve2:()=>K,retrieve3:()=>Q,setAsPrimitive:()=>ti,slice:()=>J,trim:()=>tr})},67003(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(h(t))}function h(t){return t[0]*t[0]+t[1]*t[1]}function f(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t}function d(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t}function p(t,e){return t[0]*e[0]+t[1]*e[1]}function g(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function y(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 v(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function m(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function _(t,e){return t[0]=-e[0],t[1]=-e[1],t}function b(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 x(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 w(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function S(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}r.r(e),r.d(e,{add:()=>s,applyTransform:()=>x,clone:()=>o,copy:()=>i,create:()=>n,dist:()=>v,distSquare:()=>m,distance:()=>v,distanceSquare:()=>m,div:()=>d,dot:()=>p,len:()=>c,lenSquare:()=>h,length:()=>c,lengthSquare:()=>h,lerp:()=>b,max:()=>S,min:()=>w,mul:()=>f,negate:()=>_,normalize:()=>y,scale:()=>g,scaleAndAdd:()=>l,set:()=>a,sub:()=>u})},13345(t,e,r){"use strict";var n=r(65959),i=r(95283);e.A=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)},7709(t,e,r){"use strict";var n=r(65959),i=r(40960),o=r(63406),a=r(44176),s=r(71302),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"],d=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(t){},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,p.copy(i.getBoundingRect()),i.transform&&p.applyTransform(i.transform),g.width=o,g.height=a,!p.intersect(g))||s&&!s[0]&&!s[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){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.Ay(0,0,0,0)),e?o.Ay.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.Ay(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.style=t,this.dirtyStyle()},r.prototype._useHoverStyle=function(t){this.__hoverStyle=t},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,o,s,l){t.prototype._applyStateObj.call(this,e,r,n,o,s,l);var u,c=!(r&&o),d=this.__inHover===i.yx;if(r&&r.style?s?o?u=r.style:(u=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(u,r.style)):(u=this._mergeStyle(this.createStyle(),o?this.style:n.style),this._mergeStyle(u,r.style)):c&&(u=n.style),u)if(s){var p=this.style;if(this.style=this.createStyle(c?{}:p),c)for(var g=(0,a.keys)(p),y=0;y<g.length;y++){var v=g[y];v in u&&(u[v]=u[v],this.style[v]=p[v])}for(var m=(0,a.keys)(u),y=0;y<m.length;y++){var v=m[y];this.style[v]=this.style[v]}this._transitionState(e,{style:u},l,this.getAnimationStyleProps())}else d?this._useHoverStyle(u):this.useStyle(u);if(!d)for(var _=this.__inHover?f:h,y=0;y<_.length;y++){var v=_[y];r&&null!=r[v]?this[v]=r[v]:c&&null!=n[v]&&(this[v]=n[v])}},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=0,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),r}(i.Ay),p=new o.Ay(0,0,0,0),g=new o.Ay(0,0,0,0);e.Ay=d,r.d(e,{oN:()=>u,sW:()=>c})},54791(t,e){"use strict";e.A=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},59528(t,e,r){"use strict";var n=r(65959),i=r(44176),o=r(40960),a=r(63406),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.Ay(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.Ay.applyTransform(e,l,u),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(o.Ay);s.prototype.type="group",e.A=s},72590(t,e,r){"use strict";var n=r(65959),i=r(7709),o=r(63406),a=r(44176),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.Ay(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.Ay);u.prototype.type="image",e.Ay=u},40917(t,e,r){"use strict";var n=r(65959),i=r(7709),o=r(63406),a=r(94547),s=[];e.A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=a.jP,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._useHoverStyle=function(){this.__hoverStyle=null},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.Ay(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(s)),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)},48234(t,e,r){"use strict";var n=r(65959);e.A=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(54791).A)},95283(t,e,r){"use strict";r.d(e,{MW:()=>w,Ay:()=>k});var n=r(65959),i=r(7709),o=r(40960),a=r(1229);function s(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 l=r(96481),u=r(33563),c=2*Math.PI,h=r(37959),f=a.A.CMD,d=2*Math.PI,p=[-1,-1,-1],g=[-1,-1];function y(t,e,r,n,i){for(var o,a,y=t.data,v=t.len(),m=0,_=0,b=0,x=0,w=0,S=0;S<v;){var A,k,M,T,C,O,I,D,E,L,R,P,z,B,N=y[S++],F=1===S;switch(N===f.M&&S>1&&!r&&(m+=(0,h.A)(_,b,x,w,n,i)),F&&(_=y[S],b=y[S+1],x=_,w=b),N){case f.M:x=y[S++],w=y[S++],_=x,b=w;break;case f.L:if(r){if(s(_,b,y[S],y[S+1],e,n,i))return!0}else m+=(0,h.A)(_,b,y[S],y[S+1],n,i)||0;_=y[S++],b=y[S++];break;case f.C:if(r){if(A=_,k=b,M=y[S++],T=y[S++],C=y[S++],O=y[S++],I=y[S],D=y[S+1],0!==e&&(!(i>k+e)||!(i>T+e)||!(i>O+e)||!(i>D+e))&&(!(i<k-e)||!(i<T-e)||!(i<O-e)||!(i<D-e))&&(!(n>A+e)||!(n>M+e)||!(n>C+e)||!(n>I+e))&&(!(n<A-e)||!(n<M-e)||!(n<C-e)||!(n<I-e))&&l.Et(A,k,M,T,C,O,I,D,n,i,null)<=e/2)return!0}else m+=function(t,e,r,n,i,o,a,s,u,c){if(c>e&&c>n&&c>o&&c>s||c<e&&c<n&&c<o&&c<s)return 0;var h=l._E(e,n,o,s,c,p);if(0===h)return 0;for(var f=0,d=-1,y=void 0,v=void 0,m=0;m<h;m++){var _=p[m],b=0===_||1===_?.5:1;l.Yb(t,r,i,a,_)<u||(d<0&&(d=l.lX(e,n,o,s,g),g[1]<g[0]&&d>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=l.Yb(e,n,o,s,g[0]),d>1&&(v=l.Yb(e,n,o,s,g[1]))),2===d?_<g[0]?f+=y<e?b:-b:_<g[1]?f+=v<y?b:-b:f+=s<v?b:-b:_<g[0]?f+=y<e?b:-b:f+=s<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 f.Q:if(r){if(E=_,L=b,R=y[S++],P=y[S++],z=y[S],B=y[S+1],0!==e&&(!(i>L+e)||!(i>P+e)||!(i>B+e))&&(!(i<L-e)||!(i<P-e)||!(i<B-e))&&(!(n>E+e)||!(n>R+e)||!(n>z+e))&&(!(n<E-e)||!(n<R-e)||!(n<z-e))&&(0,l.kh)(E,L,R,P,z,B,n,i,null)<=e/2)return!0}else m+=function(t,e,r,n,i,o,a,s){if(s>e&&s>n&&s>o||s<e&&s<n&&s<o)return 0;var u=l.qY(e,n,o,s,p);if(0===u)return 0;var c=l.gC(e,n,o);if(c>=0&&c<=1){for(var h=0,f=l.k3(e,n,o,c),d=0;d<u;d++){var g=0===p[d]||1===p[d]?.5:1,y=l.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=l.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 f.A:var j=y[S++],H=y[S++],V=y[S++],U=y[S++],W=y[S++],Z=y[S++];S+=1;var q=!!(1-y[S++]);o=Math.cos(W)*V+j,a=Math.sin(W)*U+H,F?(x=o,w=a):m+=(0,h.A)(_,b,o,a,n,i);var G=(n-j)*U/V+j;if(r){if(function(t,e,r,n,i,o,a,s,l){if(0===a)return!1;var h=Math.sqrt((s-=t)*s+(l-=e)*l);if(h-a>r||h+a<r)return!1;if(Math.abs(n-i)%c<1e-4)return!0;if(o){var f=n;n=(0,u.n)(i),i=(0,u.n)(f)}else n=(0,u.n)(n),i=(0,u.n)(i);n>i&&(i+=c);var d=Math.atan2(l,s);return d<0&&(d+=c),d>=n&&d<=i||d+c>=n&&d+c<=i}(j,H,U,W,W+Z,q,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>=d-1e-4){n=0,i=d;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+=d,i+=d);for(var f=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=d+v),(v>=n&&v<=i||v+d>=n&&v+d<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),f+=c)}}return f}(j,H,U,W,W+Z,q,G,i);_=Math.cos(W+Z)*V+j,b=Math.sin(W+Z)*U+H;break;case f.R:x=_=y[S++],w=b=y[S++];var Y=y[S++],$=y[S++];if(o=x+Y,a=w+$,r){if(s(x,w,o,w,e,n,i)||s(o,w,o,a,e,n,i)||s(o,a,x,a,e,n,i)||s(x,a,x,w,e,n,i))return!0}else m+=(0,h.A)(o,w,o,a,n,i),m+=(0,h.A)(x,a,x,w,n,i);break;case f.Z:if(r){if(s(_,b,x,w,e,n,i))return!0}else m+=(0,h.A)(_,b,x,w,n,i);_=x,b=w}}return r||1e-4>Math.abs(b-w)||(m+=(0,h.A)(_,b,x,w,n,i)||0),0!==m}var v=r(44176),m=r(50968),_=r(21424),b=r(71302),x=r(97778),w=(0,v.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),S={style:(0,v.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},A=x.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),k=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<A.length;++s)i[A[s]]=this[A[s]];i.__dirty|=b.M}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(e){var r=(0,v.keys)(e);this.shape=this.getDefaultShape();var 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,v.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,v.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.isString)(t)){var e=(0,m.lum)(t,0);return e>.5?_._S:e>.2?_.tY:_.el}else if(t)return _.el}return _._S},r.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.isString)(e)){var r=this.__zr;if(!!(r&&r.isDarkMode())==(0,m.lum)(t,0)<_.ps)return e}},r.prototype.buildPath=function(t,e,r){},r.prototype.pathUpdated=function(){this.__dirty&=~b.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 a.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&b.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)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=b.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,v.extend)(r,t),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&b.Dl)},r.prototype.createStyle=function(t){return(0,v.createObject)(w,t)},r.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=(0,v.extend)({},this.shape))},r.prototype._applyStateObj=function(e,r,n,i,a,s){if(t.prototype._applyStateObj.call(this,e,r,n,i,a,s),this.__inHover!==o.yx){var l,u=!(r&&i);if(r&&r.shape?a?i?l=r.shape:(l=(0,v.extend)({},n.shape),(0,v.extend)(l,r.shape)):(l=(0,v.extend)({},i?this.shape:n.shape),(0,v.extend)(l,r.shape)):u&&(l=n.shape),l)if(a){this.shape=(0,v.extend)({},this.shape);for(var c={},h=(0,v.keys)(l),f=0;f<h.length;f++){var d=h[f];"object"==typeof l[d]?this.shape[d]=l[d]:c[d]=l[d]}this._transitionState(e,{shape:c},s)}else this.shape=l,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 S},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,v.clone)(t.style)},r.prototype.getDefaultShape=function(){return(0,v.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=b.M|b.pO|b.Dl),r}(i.Ay)},54580(t,e,r){"use strict";var n=r(65959);e.A=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(54791).A)},61683(t,e,r){"use strict";var n=r(65959),i=r(7709),o=r(95283),a=r(44176),s=r(3311),l=r(46152),u=(0,a.defaults)({strokeFirst:!0,font:s.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.hasStroke=function(){return(0,l.n7)(this.style)},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=(0,l.Xf)(this.style)),this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);c.prototype.type="tspan",e.A=c},80812(t,e,r){"use strict";var n=r(65959),i=r(46152),o=r(61683),a=r(44176),s=r(26812),l=r(72590),u=r(47732),c=r(63406),h=r(7709),f=r(3311),d={fill:"#000"},p={},g={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)},y=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=d,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,x(t=this.style),(0,a.each)(t.rich,x),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.Ay(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||d},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 g},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=this._defaultStyle,a=t.x||0,l=t.y||0,u=t.align||n.align||"left",c=t.verticalAlign||n.verticalAlign||"top";(0,i.Ss)(p,n.overflowRect,a,l,u,c),a=p.baseX,l=p.baseY;var h=k(t),d=(0,i.j_)(h,t,p.outerWidth,p.outerHeight),g=M(t),y=!!t.backgroundColor,v=d.outerHeight,m=d.outerWidth,_=d.lines,x=d.lineHeight;this.isTruncated=!!d.isTruncated;var T=a,C=(0,s.sZ)(l,d.contentHeight,c);if(g||r){var O=(0,s.ll)(a,m,u),I=(0,s.sZ)(l,v,c);g&&this._renderBackground(t,t,O,I,m,v)}C+=x/2,r&&(T=A(a,u,r),"top"===c?C+=r[0]:"bottom"===c&&(C-=r[2]));for(var D=0,E=!1,L=!1,R=S("fill"in t?t.fill:(L=!0,n.fill)),P=w("stroke"in t?t.stroke:y||n.autoStroke&&!L?null:(D=2,E=!0,n.stroke)),z=t.textShadowBlur>0,B=0;B<_.length;B++){var N=this._getOrCreateChild(o.A),F=N.createStyle();N.useStyle(F),F.text=_[B],F.x=T,F.y=C,u&&(F.textAlign=u),F.textBaseline="middle",F.opacity=t.opacity,F.strokeFirst=!0,z&&(F.shadowBlur=t.textShadowBlur||0,F.shadowColor=t.textShadowColor||"transparent",F.shadowOffsetX=t.textShadowOffsetX||0,F.shadowOffsetY=t.textShadowOffsetY||0),F.stroke=P,F.fill=R,P&&(F.lineWidth=t.lineWidth||D,F.lineDash=t.lineDash,F.lineDashOffset=t.lineDashOffset||0),F.font=e,b(F,t),C+=x,N.setBoundingRect((0,i.xu)(F,d.contentWidth,d.calculatedLineHeight,E?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,e=this._defaultStyle,r=t.align||e.align,n=t.verticalAlign||e.verticalAlign,o=t.x||0,a=t.y||0;(0,i.Ss)(p,e.overflowRect,o,a,r,n),o=p.baseX,a=p.baseY;var l=k(t),u=(0,i.FQ)(l,t,p.outerWidth,p.outerHeight,r),c=u.width,h=u.outerWidth,f=u.outerHeight,d=t.padding;this.isTruncated=!!u.isTruncated;var g=(0,s.ll)(o,h,r),y=(0,s.sZ)(a,f,n),v=g,m=y;d&&(v+=d[3],m+=d[0]);var _=v+c;M(t)&&this._renderBackground(t,t,g,y,h,f);for(var b=!!t.backgroundColor,x=0;x<u.lines.length;x++){for(var w=u.lines[x],S=w.tokens,A=S.length,T=w.lineHeight,C=w.width,O=0,I=v,D=_,E=A-1,L=void 0;O<A&&(!(L=S[O]).align||"left"===L.align);)this._placeToken(L,t,T,m,I,"left",b),C-=L.width,I+=L.width,O++;for(;E>=0&&"right"===(L=S[E]).align;)this._placeToken(L,t,T,m,D,"right",b),C-=L.width,D-=L.width,E--;for(I+=(c-(I-v)-(_-D)-C)/2;O<=E;)L=S[O],this._placeToken(L,t,T,m,I+L.width/2,"center",b),I+=L.width,O++;m+=T}},e.prototype._placeToken=function(t,e,r,n,s,l,u){var c=e.rich[t.styleName]||{};c.text=t.text;var h=t.verticalAlign,d=n+r/2;"top"===h?d=n+t.height/2:"bottom"===h&&(d=n+r-t.height/2),!t.isLineHolder&&M(c)&&this._renderBackground(c,e,"right"===l?s-t.width:"center"===l?s-t.width/2:s,d-t.height/2,t.width,t.height);var p=!!c.backgroundColor,g=t.textPadding;g&&(s=A(s,l,g),d-=t.height/2-g[0]-t.innerHeight/2);var y=this._getOrCreateChild(o.A),v=y.createStyle();y.useStyle(v);var m=this._defaultStyle,_=!1,x=0,k=!1,T=S("fill"in c?c.fill:"fill"in e?e.fill:(_=!0,m.fill)),C=w("stroke"in c?c.stroke:"stroke"in e?e.stroke:p||u||m.autoStroke&&!_?null:(x=2,k=!0,m.stroke)),O=c.textShadowBlur>0||e.textShadowBlur>0;v.text=t.text,v.x=s,v.y=d,O&&(v.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,v.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",v.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,v.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=t.font||f.OH,v.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),b(v,c),C&&(v.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,x),v.lineDash=(0,a.retrieve2)(c.lineDash,e.lineDash),v.lineDashOffset=e.lineDashOffset||0,v.stroke=C),T&&(v.fill=T),y.setBoundingRect((0,i.xu)(v,t.contentWidth,t.contentHeight,k?0:null))},e.prototype._renderBackground=function(t,e,r,n,i,o){var s,c,h=t.backgroundColor,f=t.borderWidth,d=t.borderColor,p=h&&h.image,g=h&&!p,y=t.borderRadius,v=this;if(g||t.lineHeight||f&&d){(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(p){(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&&d){var _=s.style;_.lineWidth=f,_.stroke=d,_.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),v={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function b(t,e){for(var r=0;r<_.length;r++){var n=_[r],i=e[n];null!=i&&(t[n]=i)}}function x(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var r=t.verticalAlign;"center"===r&&(r="middle"),t.verticalAlign=null==r||m[r]?r:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function w(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function S(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function A(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function k(t){var e=t.text;return null!=e&&(e+=""),e}function M(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}e.Ay=y},71302(t,e,r){"use strict";r.d(e,{Dl:()=>4,M:()=>1,pO:()=>2})},14013(t,e,r){"use strict";var n=r(27283),i=r(3311),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}r.d(e,{OD:()=>s,SR:()=>a,xA:()=>u})},46152(t,e,r){"use strict";var n=r(14013),i=r(44176),o=r(26812),a=r(63406),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,r,n,i){var o={};return u(o,t,e,r,n,i),o.text}function u(t,e,r,n,i,o){if(!r){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=c(r,n,i,o);for(var s=!1,l={},u=0,f=a.length;u<f;u++)h(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function c(t,e,r,n){n=n||{};var a=(0,i.extend)({},n);r=(0,i.retrieve2)(r,"..."),a.maxIterations=(0,i.retrieve2)(n.maxIterations,2);var s=a.minChar=(0,i.retrieve2)(n.minChar,0),l=a.fontMeasureInfo=(0,o.Qw)(e),u=l.asciiCharWidth;a.placeholder=(0,i.retrieve2)(n.placeholder,"");for(var c=t=Math.max(0,t-1),h=0;h<s&&c>=u;h++)c-=u;var f=(0,o.l8)(l,r);return f>c&&(r="",f=0),c=t-f,a.ellipsis=r,a.ellipsisWidth=f,a.contentWidth=c,a.containerWidth=t,a}function h(t,e,r){var n=r.containerWidth,i=r.contentWidth,a=r.fontMeasureInfo;if(!n){t.textLine="",t.isTruncated=!1;return}var s=(0,o.l8)(a,e);if(s<=n){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=i||l>=r.maxIterations){e+=r.ellipsis;break}var u=0===l?function(t,e,r){for(var n=0,i=0,a=t.length;i<a&&n<e;i++)n+=(0,o.JK)(r,t.charCodeAt(i));return i}(e,i,a):s>0?Math.floor(e.length*i/s):0;e=e.substr(0,u),s=(0,o.l8)(a,e)}""===e&&(e=r.placeholder),t.textLine=e,t.isTruncated=!0}function f(t,e,r,n){var a,s=S(t),l=e.overflow,u=e.padding,f=u?u[1]+u[3]:0,d=u?u[0]+u[2]:0,p=e.font,g=(0,o.ks)(p),y=(0,i.retrieve2)(e.lineHeight,g),v="truncate"===e.lineOverflow,m=!1,b=e.width;null==b&&null!=r&&(b=r-f);var x=e.height;null==x&&null!=n&&(x=n-d);var w=(a=null!=b&&("break"===l||"breakAll"===l)?s?_(s,e.font,b,"breakAll"===l,0).lines:[]:s?s.split("\n"):[]).length*y;if(null==x&&(x=w),w>x&&v){var A=Math.floor(x/y);m=m||a.length>A,w=(a=a.slice(0,A)).length*y}if(s&&"truncate"===l&&null!=b)for(var k=c(b,p,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),M={},T=0;T<a.length;T++)h(M,a[T],k),a[T]=M.textLine,m=m||M.isTruncated;for(var C=x,O=0,I=(0,o.Qw)(p),T=0;T<a.length;T++)O=Math.max((0,o.l8)(I,a[T]),O);null==b&&(b=O);var D=b;return C+=d,{lines:a,height:x,outerWidth:D+=f,outerHeight:C,lineHeight:y,calculatedLineHeight:g,contentWidth:O,contentHeight:w,width:b,isTruncated:m}}var d=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},g=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function y(t,e,r,a,l){var c,h=new g,f=S(t);if(!f)return h;var d=e.padding,p=d?d[1]+d[3]:0,y=d?d[0]+d[2]:0,m=e.width;null==m&&null!=r&&(m=r-p);var _=e.height;null==_&&null!=a&&(_=a-y);for(var b=e.overflow,x=("break"===b||"breakAll"===b)&&null!=m?{width:m,accumWidth:0,breakAll:"breakAll"===b}:null,w=s.lastIndex=0;null!=(c=s.exec(f));){var A=c.index;A>w&&v(h,f.substring(w,A),e,x),v(h,c[2],e,x,c[1]),w=s.lastIndex}w<f.length&&v(h,f.substring(w,f.length),e,x);var k=[],M=0,T=0,C="truncate"===b,O="truncate"===e.lineOverflow,I={};function D(t,e,r){t.width=e,t.lineHeight=r,M+=r,T=Math.max(T,e)}a:for(var E=0;E<h.lines.length;E++){for(var L=h.lines[E],R=0,P=0,z=0;z<L.tokens.length;z++){var B=L.tokens[z],N=B.styleName&&e.rich[B.styleName]||{},F=B.textPadding=N.padding,j=F?F[1]+F[3]:0,H=B.font=N.font||e.font;B.contentHeight=(0,o.ks)(H);var V=(0,i.retrieve2)(N.height,B.contentHeight);if(B.innerHeight=V,F&&(V+=F[0]+F[2]),B.height=V,B.lineHeight=(0,i.retrieve3)(N.lineHeight,e.lineHeight,V),B.align=N&&N.align||l,B.verticalAlign=N&&N.verticalAlign||"middle",O&&null!=_&&M+B.lineHeight>_){var U=h.lines.length;z>0?(L.tokens=L.tokens.slice(0,z),D(L,P,R),h.lines=h.lines.slice(0,E+1)):h.lines=h.lines.slice(0,E),h.isTruncated=h.isTruncated||h.lines.length<U;break a}var W=N.width,Z=null==W||"auto"===W;if("string"==typeof W&&"%"===W.charAt(W.length-1))B.percentWidth=W,k.push(B),B.contentWidth=(0,o.l8)((0,o.Qw)(H),B.text);else{if(Z){var q=N.backgroundColor,G=q&&q.image;G&&(G=n.SR(G),n.xA(G)&&(B.width=Math.max(B.width,G.width*V/G.height)))}var Y=C&&null!=m?m-P:null;null!=Y&&Y<B.width?!Z||Y<j?(B.text="",B.width=B.contentWidth=0):(u(I,B.text,Y-j,H,e.ellipsis,{minChar:e.truncateMinChar}),B.text=I.text,h.isTruncated=h.isTruncated||I.isTruncated,B.width=B.contentWidth=(0,o.l8)((0,o.Qw)(H),B.text)):B.contentWidth=(0,o.l8)((0,o.Qw)(H),B.text)}B.width+=j,P+=B.width,N&&(R=Math.max(R,B.lineHeight))}D(L,P,R)}h.outerWidth=h.width=(0,i.retrieve2)(m,T),h.outerHeight=h.height=(0,i.retrieve2)(_,M),h.contentHeight=M,h.contentWidth=T,h.outerWidth+=p,h.outerHeight+=y;for(var E=0;E<k.length;E++){var B=k[E],$=B.percentWidth;B.width=parseInt($,10)/100*h.width}return h}function v(t,e,r,n,i){var a,s,l=""===e,u=i&&r.rich[i]||{},c=t.lines,h=u.font||r.font,f=!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"),f=!0),n.accumWidth=v}else{var m=_(e,h,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+y,s=m.linesWidths,a=m.lines}}a||(a=e.split("\n"));for(var b=(0,o.Qw)(h),x=0;x<a.length;x++){var w=a[x],S=new d;if(S.styleName=i,S.text=w,S.isLineHolder=!w&&!l,"number"==typeof u.width?S.width=u.width:S.width=s?s[x]:(0,o.l8)(b,w),x||f)c.push(new p([S]));else{var A=(c[c.length-1]||(c[0]=new p)).tokens,k=A.length;1===k&&A[0].isLineHolder?A[0]=S:(w||!k||l)&&A.push(S)}}}var m=(0,i.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function _(t,e,r,n,i){for(var a=[],s=[],l="",u="",c=0,h=0,f=(0,o.Qw)(e),d=0;d<t.length;d++){var p=t.charAt(d);if("\n"===p){u&&(l+=u,h+=c),a.push(l),s.push(h),l="",u="",c=0,h=0;continue}var g=(0,o.JK)(f,p.charCodeAt(0)),y=!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))||!!m[t]}(p);if(a.length?h+g>r:i+h+g>r){h?(l||u)&&(y?(l||(l=u,u="",h=c=0),a.push(l),s.push(h-c),u+=p,c+=g,l="",h=c):(u&&(l+=u,u="",c=0),a.push(l),s.push(h),l=p,h=g)):y?(a.push(u),s.push(c),u=p,c=g):(a.push(p),s.push(g));continue}h+=g,y?(u+=p,c+=g):(u&&(l+=u,u="",c=0),l+=p)}return u&&(l+=u),l&&(a.push(l),s.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:s}}function b(t,e,r,n,i,s){if(t.baseX=r,t.baseY=n,t.outerWidth=t.outerHeight=null,e){var l=2*e.width,u=2*e.height;a.Ay.set(x,(0,o.ll)(r,l,i),(0,o.sZ)(n,u,s),l,u),a.Ay.intersect(e,x,null,w);var c=w.outIntersectRect;t.outerWidth=c.width,t.outerHeight=c.height,t.baseX=(0,o.ll)(c.x,c.width,i,!0),t.baseY=(0,o.sZ)(c.y,c.height,s,!0)}}var x=new a.Ay(0,0,0,0),w={outIntersectRect:{},clamp:!0};function S(t){return null!=t?t+="":t=""}function A(t){var e=S(t.text),r=t.font;return k(t,(0,o.l8)((0,o.Qw)(r),e),(0,o.ks)(r),null)}function k(t,e,r,n){var i=new a.Ay((0,o.ll)(t.x||0,e,t.textAlign),(0,o.sZ)(t.y||0,r,t.textBaseline),e,r),s=null!=n?n:M(t)?t.lineWidth:0;return s>0&&(i.x-=s/2,i.y-=s/2,i.width+=s,i.height+=s),i}function M(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}r.d(e,{EJ:()=>l,FQ:()=>y,Ss:()=>b,Xf:()=>A,j_:()=>f,n7:()=>M,xu:()=>k})},98772(t,e,r){"use strict";r.d(e,{U:()=>i});var n=r(67003);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 d=0,p=t.length;d<p;d++)(0,n.min)(s,s,t[d]),(0,n.max)(l,l,t[d]);(0,n.min)(s,s,i[0]),(0,n.max)(l,l,i[1])}for(var d=0,p=t.length;d<p;d++){var g=t[d];if(r)o=t[d?d-1:p-1],a=t[(d+1)%p];else if(0===d||d===p-1){u.push((0,n.clone)(t[d]));continue}else o=t[d-1],a=t[d+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()}}},89887(t,e,r){"use strict";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}r.d(e,{M7:()=>a,Op:()=>o,eB:()=>i})},81349(t,e,r){"use strict";var n=r(65959),i=r(95283),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",e.A=a},40143(t,e,r){"use strict";var n=r(65959),i=r(95283),o=r(67003),a=r(96481),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",e.A=c},55089(t,e,r){"use strict";var n=r(65959),i=r(95283),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",e.A=a},7883(t,e,r){"use strict";var n=r(65959),i=r(95283),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",e.A=a},62019(t,e,r){"use strict";var n=r(65959),i=r(95283),o=r(89887),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",e.A=l},17759(t,e,r){"use strict";var n=r(65959),i=r(95283),o=r(98772),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",e.A=s},94965(t,e,r){"use strict";var n=r(65959),i=r(95283),o=r(98772),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",e.A=s},47732(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(65959),i=r(95283),o=r(89887),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,d,p,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,d=r.height,p=r.r,f<0&&(c+=f,f=-f),d<0&&(h+=d,d=-d),"number"==typeof p?n=i=a=l=p:p instanceof Array?1===p.length?n=i=a=l=p[0]:2===p.length?(n=a=p[0],i=l=p[1]):3===p.length?(n=p[0],i=l=p[1],a=p[2]):(n=p[0],i=p[1],a=p[2],l=p[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>d&&(u=i+a,i*=d/u,a*=d/u),n+l>d&&(u=n+l,n*=d/u,l*=d/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+d-a),0!==a&&t.arc(c+f-a,h+d-a,a,0,Math.PI/2),t.lineTo(c+l,h+d),0!==l&&t.arc(c+l,h+d-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.closePath()):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);l.prototype.type="rect";var u=l},47611(t,e,r){"use strict";var n=r(65959),i=r(95283),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",e.A=a},86007(t,e,r){"use strict";r.d(e,{A:()=>_});var n=r(65959),i=r(95283),o=r(44176),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,f=Math.abs,d=Math.sqrt,p=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)/d(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,k=(x<0?-1:1)*d(p(0,S*S*w-A*A)),M=(A*x-b*k)/w,T=(-A*b-x*k)/w,C=(A*x+b*k)/w,O=(-A*b+x*k)/w,I=M-m,D=T-_,E=C-m,L=O-_;return I*I+D*D>E*E+L*L&&(M=C,T=O),{cx:M,cy:T,x0:-c,y0:-h,x1:M*(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=p(e.r,0),i=p(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,k=f(x-b),M=k>s&&k%s;if(M>1e-4&&(k=M),n>1e-4)if(k>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,I=void 0,D=void 0,E=void 0,L=void 0,R=void 0,P=void 0,z=void 0,B=void 0,N=void 0,F=void 0,j=void 0,H=void 0,V=void 0,U=n*u(b),W=n*l(b),Z=i*u(x),q=i*l(x),G=k>1e-4;if(G){var Y=e.cornerRadius;Y&&(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}(Y))[0],C=r[1],O=r[2],I=r[3]);var $=f(n-i)/2;if(D=g($,O),E=g($,I),L=g($,T),R=g($,C),B=P=p(D,E),N=z=p(L,R),(P>1e-4||z>1e-4)&&(F=n*u(x),j=n*l(x),H=i*u(b),V=i*l(b),k<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,F,j,Z,q);if(X){var K=U-X[0],Q=W-X[1],J=F-X[0],tt=j-X[1],te=1/l(c((K*J+Q*tt)/(d(K*K+Q*Q)*d(J*J+tt*tt)))/2),tr=d(X[0]*X[0]+X[1]*X[1]);B=g(P,(n-tr)/(te+1)),N=g(z,(i-tr)/(te-1))}}}if(G)if(B>1e-4){var tn=g(O,B),ti=g(I,B),to=y(H,V,U,W,n,tn,A),ta=y(F,j,Z,q,n,ti,A);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),B<P&&tn===ti?t.arc(w+to.cx,S+to.cy,B,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(Z,q,F,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<z&&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+Z,S+q),t.arc(w,S,i,x,b,A);else t.lineTo(w+Z,S+q)}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";var _=m},50968(t,e,r){"use strict";r.r(e);var n=r(27283),i=r(44176),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 d=new n.Ay(20),p=null;function g(t,e){p&&f(p,e),p=d.put(t,p||e.slice())}function y(t,e){if(t){e=e||[];var r=d.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 p=n.substr(0,s),y=n.substr(s+1,c-(s+1)).split(","),m=1;switch(p){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 A(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],d=e[h],p=u-c;return r[0]=a((n=f[0],n+(d[0]-n)*p)),r[1]=a((i=f[1],i+(d[1]-i)*p)),r[2]=a((o=f[2],o+(d[2]-o)*p)),r[3]=s((l=f[3],l+(d[3]-l)*p)),r}}function x(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]),d=y(e[h]),p=u-c,g=A([a((n=f[0],n+(d[0]-n)*p)),a((i=f[1],i+(d[1]-i)*p)),a((o=f[2],o+(d[2]-o)*p)),s((l=f[3],l+(d[3]-l)*p))],"rgba");return r?{color:g,leftIndex:c,rightIndex:h,value:u}:g}}function w(t,e,r,n){var o,a=y(t);if(t)return a=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 d=[360*e,r,u];return null!=t[3]&&d.push(t[3]),d}}(a),null!=e&&(a[0]=(o=Math.round(o=(0,i.isFunction)(e)?e(a[0]):e))<0?0:o>360?360:o),null!=r&&(a[1]=u((0,i.isFunction)(r)?r(a[1]):r)),null!=n&&(a[2]=u((0,i.isFunction)(n)?n(a[2]):n)),A(v(a),"rgba")}function S(t,e){var r=y(t);if(r&&null!=e)return r[3]=s(e),A(r,"rgba")}function A(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 k(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 M(){return A([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var T=new n.Ay(100);function C(t){if((0,i.isString)(t)){var e=T.get(t);return e||(e=m(t,-.1),T.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}r.d(e,{fastLerp:()=>b,fastMapToColor:()=>b,lerp:()=>x,lift:()=>m,liftColor:()=>C,lum:()=>k,mapToColor:()=>x,modifyAlpha:()=>S,modifyHSL:()=>w,parse:()=>y,parseCssFloat:()=>u,parseCssInt:()=>l,random:()=>M,stringify:()=>A,toHex:()=>_})},10029(t,e,r){"use strict";r.r(e),r.d(e,{dispose:()=>ta,disposeAll:()=>ts,getElementSSRData:()=>tc,getInstance:()=>tl,init:()=>to,registerPainter:()=>tu,registerSSRDataGetter:()=>th,version:()=>tf});var n,i,o,a,s=r(84957),l=r(44176),u=r(65959),c=r(67003),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}(),d=r(30231),p=r(68022),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=p.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(63406),_="silent";function b(){p.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}(d.A),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],A=new m.Ay(0,0,0,0),k=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(M(n,i,t,e,r),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.Ay(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,d=0;d<s;d+=4)for(var p=0;p<f;p+=h)if(M(o,i,t+d*Math.cos(p),e+d*Math.sin(p),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}(d.A);function M(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);var s=n.__hostTarget;n=s?n.ignoreHostSilent?null:s: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){k.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(15588),O=r(71302),I=!1;function D(){I||(I=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function E(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=E}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,E)},t.prototype._updateAndAddDisplayable=function(t,e,r){if(!t.ignore||r){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath(),i=e&&e.length,o=0,a=t.__clipPaths;if(!t.ignoreClip&&(i||n)){if(a||(a=t.__clipPaths=[]),i)for(var s=0;s<e.length;s++)a[o++]=e[s];for(var l=n,u=t;l;)l.parent=u,l.updateTransform(),a[o++]=l,u=l,l=l.getClipPath()}if(a&&(a.length=o),t.childrenRef){for(var c=t.childrenRef(),h=0;h<c.length;h++){var f=c[h];t.__dirty&&(f.__dirty|=O.M),this._updateAndAddDisplayable(f,a,r)}t.__dirty=0}else isNaN(t.z)&&(D(),t.z=0),isNaN(t.z2)&&(D(),t.z2=0),isNaN(t.zlevel)&&(D(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,a,r);var p=t.getTextGuideLine();p&&this._updateAndAddDisplayable(p,a,r);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,a,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}(),R=r(96515),P=r(83587);function z(){return new Date().getTime()}var B=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=z()-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,R.A)(function e(){t._running&&((0,R.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=z()-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}(d.A),N=s.A.domSupported,F=(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 Z(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 q=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,p.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,p.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,p.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Z(this,(t=(0,p.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){V=!0,t=(0,p.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){V||(t=(0,p.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,p.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,p.e0)(this.dom,t)),this.handler.processGesture(t,"change"),G.mousemove.call(this,t)},touchend:function(t){W(t=(0,p.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,p.e0)(this.dom,e),this.trigger(t,e)}});var Y={pointermove:function(t){U(t)||Y.mousemove.call(this,t)},pointerup:function(t){Y.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 $(t,e,r,n){t.mounted[e]=r,t.listenerOpts[e]=n,(0,p.q2)(t.domTarget,e,r,n)}function X(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&(0,p.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},Q=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,Y)),i=(n=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(F.pointer,function(t){$(n,t,function(e){i[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(F.touch,function(t){$(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(F.mouse,function(t){$(n,t,function(e){e=(0,p.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){$(e,r,function(n){if(!Z(t,(n=(0,p.mK)(n)).target)){var i;i=n,n=(0,p.e0)(t.dom,new q(t,i),!0),e.domHandlers[r].call(t,n)}},{capture:!0})}}(this,e):X(e)}},e}(d.A),J=r(50968),tt=r(21424),te=r(59528),tr={},tn={},ti=function(){function t(t,e,r){var n,i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,r=r||{},this.dom=e,this.id=t;var o=new L,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 Q(u.getViewportRoot(),u.root),f=r.useCoarsePointer;(null==f||"auto"===f?s.A.touchEventsSupported:!!f)&&(n=l.retrieve2(r.pointerSize,44)),this.handler=new k(o,u,h,u.root,n),this.animation=new B({stage:{update:c?null:function(){return i._flush(!1)}}}),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,J.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,J.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||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},t.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!0)},t.prototype._flush=function(t){var e,r=z(),n=this._needsRefresh,i=this._needsRefreshHover;(n||i)&&(e=!0,this._refresh({animUpdate:t,refresh:n,refreshHover:i}));var o=z();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-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._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},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="6.1.0"}}]);
|